var uc=Object.defineProperty,fc=Object.defineProperties;var dc=Object.getOwnPropertyDescriptors;var To=Object.getOwnPropertySymbols;var pc=Object.prototype.hasOwnProperty,mc=Object.prototype.propertyIsEnumerable;var wr=(e,t,n)=>t in e?uc(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Pe=(e,t)=>{for(var n in t||(t={}))pc.call(t,n)&&wr(e,n,t[n]);if(To)for(var n of To(t))mc.call(t,n)&&wr(e,n,t[n]);return e},Tt=(e,t)=>fc(e,dc(t));var mt=(e,t,n)=>(wr(e,typeof t!="symbol"?t+"":t,n),n);import{d as Ds,c as hc}from"./chunk/pinia.js";import{K as _c,L as W,I as Se,A as kt,y as ct,G as vc,M as z,O as re,P as Nn,v as q,z as Kn,Q as k,R as T,S as g,T as Ce,U as ne,V as gc,W as oe,X as fe,Y,Z as yc,F as Ns,_ as Ie,$ as lo,a0 as He,a1 as M,a2 as Te,a3 as nt,B as bc,x as Gt,a4 as Ms,a5 as xo,a6 as wc,a7 as lt,a8 as ut,a9 as Sc,aa as me,ab as Ot,ac as De,ad as zs,ae as Fs,af as On,ag as Ec}from"./chunk/vue.js";import{c as Oc}from"./chunk/tinymce.js";import{g as Pc}from"./chunk/tinymce-plugin-routes.js";function sv(){import("data:text/javascript,")}const kc=function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const a of o)if(a.type==="childList")for(const s of a.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).observe(document,{childList:!0,subtree:!0});function n(o){const a={};return o.integrity&&(a.integrity=o.integrity),o.referrerpolicy&&(a.referrerPolicy=o.referrerpolicy),o.crossorigin==="use-credentials"?a.credentials="include":o.crossorigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function r(o){if(o.ep)return;o.ep=!0;const a=n(o);fetch(o.href,a)}};kc();(function(e,t){function n(i){if(typeof i=="undefined")throw new Error('Pathformer [constructor]: "element" parameter is required');if(i.constructor===String&&(i=t.getElementById(i),!i))throw new Error('Pathformer [constructor]: "element" parameter is not related to an existing ID');if(i.constructor instanceof e.SVGElement||/^svg$/i.test(i.nodeName))this.el=i;else throw new Error('Pathformer [constructor]: "element" parameter must be a string or a SVGelement');this.scan(i)}n.prototype.TYPES=["line","ellipse","circle","polygon","polyline","rect"],n.prototype.ATTR_WATCH=["cx","cy","points","r","rx","ry","x","x1","x2","y","y1","y2"],n.prototype.scan=function(i){for(var f,d,m,p,h=i.querySelectorAll(this.TYPES.join(",")),v=0;v=this.duration)throw new Error("Vivus [constructor]: delay must be shorter than duration")},s.prototype.setCallback=function(i){if(!!i&&i.constructor!==Function)throw new Error('Vivus [constructor]: "callback" parameter must be a function');this.callback=i||function(){}},s.prototype.mapping=function(){var i,f,d,m,p,h,v,b;for(b=h=v=0,f=this.el.querySelectorAll("path"),i=0;i1?f.length-1:1),i=0;i-1)&&l(this.el.parentNode,"animated"),this.currentFrame<=0?(this.stop(),this.reset(),this.callback(this)):this.currentFrame>=this.frameLength?(this.stop(),this.currentFrame=this.frameLength,this.trace(),this.selfDestroy&&this.destroy(),this.callback(this)):(this.trace(),this.handle=r(function(){i.drawer()}))},s.prototype.trace=function(){var i,f,d,m;for(m=this.animTimingFunction(this.currentFrame/this.frameLength)*this.frameLength,i=0;i=d},s.prototype.docElem=e.document.documentElement,s.prototype.getViewportH=function(){var i=this.docElem.clientHeight,f=e.innerHeight;return i=0?d:f},typeof define=="function"&&define.amd?define([],function(){return s}):typeof exports=="object"?module.exports=s:e.Vivus=s})(window,document);var Ro=Vivus;/*! * vue-router v4.0.14 * (c) 2022 Eduardo San Martin Morote * @license MIT */const Bs=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol",Jt=e=>Bs?Symbol(e):"_vr_"+e,Cc=Jt("rvlm"),Ao=Jt("rvd"),lr=Jt("r"),uo=Jt("rl"),Nr=Jt("rvl"),Lt=typeof window!="undefined";function Ic(e){return e.__esModule||Bs&&e[Symbol.toStringTag]==="Module"}const te=Object.assign;function Sr(e,t){const n={};for(const r in t){const o=t[r];n[r]=Array.isArray(o)?o.map(e):e(o)}return n}const cn=()=>{},Tc=/\/$/,xc=e=>e.replace(Tc,"");function Er(e,t,n="/"){let r,o={},a="",s="";const c=t.indexOf("?"),l=t.indexOf("#",c>-1?c:0);return c>-1&&(r=t.slice(0,c),a=t.slice(c+1,l>-1?l:t.length),o=e(a)),l>-1&&(r=r||t.slice(0,l),s=t.slice(l,t.length)),r=$c(r!=null?r:t,n),{fullPath:r+(a&&"?")+a+s,path:r,query:o,hash:s}}function Rc(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function jo(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Ac(e,t,n){const r=t.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&Vt(t.matched[r],n.matched[o])&&Hs(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Vt(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Hs(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!jc(e[n],t[n]))return!1;return!0}function jc(e,t){return Array.isArray(e)?$o(e,t):Array.isArray(t)?$o(t,e):e===t}function $o(e,t){return Array.isArray(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function $c(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/");let o=n.length-1,a,s;for(a=0;a({left:window.pageXOffset,top:window.pageYOffset});function zc(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),o=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;t=Mc(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function Lo(e,t){return(history.state?history.state.position-t:-1)+e}const Mr=new Map;function Fc(e,t){Mr.set(e,t)}function Bc(e){const t=Mr.get(e);return Mr.delete(e),t}let Hc=()=>location.protocol+"//"+location.host;function qs(e,t){const{pathname:n,search:r,hash:o}=t,a=e.indexOf("#");if(a>-1){let c=o.includes(e.slice(a))?e.slice(a).length:1,l=o.slice(c);return l[0]!=="/"&&(l="/"+l),jo(l,"")}return jo(n,e)+r+o}function qc(e,t,n,r){let o=[],a=[],s=null;const c=({state:d})=>{const m=qs(e,location),p=n.value,h=t.value;let v=0;if(d){if(n.value=m,t.value=d,s&&s===p){s=null;return}v=h?d.position-h.position:0}else r(m);o.forEach(b=>{b(n.value,p,{delta:v,type:_n.pop,direction:v?v>0?ln.forward:ln.back:ln.unknown})})};function l(){s=n.value}function u(d){o.push(d);const m=()=>{const p=o.indexOf(d);p>-1&&o.splice(p,1)};return a.push(m),m}function i(){const{history:d}=window;!d.state||d.replaceState(te({},d.state,{scroll:ur()}),"")}function f(){for(const d of a)d();a=[],window.removeEventListener("popstate",c),window.removeEventListener("beforeunload",i)}return window.addEventListener("popstate",c),window.addEventListener("beforeunload",i),{pauseListeners:l,listen:u,destroy:f}}function Do(e,t,n,r=!1,o=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:o?ur():null}}function Vc(e){const{history:t,location:n}=window,r={value:qs(e,n)},o={value:t.state};o.value||a(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function a(l,u,i){const f=e.indexOf("#"),d=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+l:Hc()+e+l;try{t[i?"replaceState":"pushState"](u,"",d),o.value=u}catch(m){console.error(m),n[i?"replace":"assign"](d)}}function s(l,u){const i=te({},t.state,Do(o.value.back,l,o.value.forward,!0),u,{position:o.value.position});a(l,i,!0),r.value=l}function c(l,u){const i=te({},o.value,t.state,{forward:l,scroll:ur()});a(i.current,i,!0);const f=te({},Do(r.value,l,null),{position:i.position+1},u);a(l,f,!1),r.value=l}return{location:r,state:o,push:c,replace:s}}function Uc(e){e=Lc(e);const t=Vc(e),n=qc(e,t.state,t.location,t.replace);function r(a,s=!0){s||n.pauseListeners(),history.go(a)}const o=te({location:"",base:e,go:r,createHref:Nc.bind(null,e)},t,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}function Wc(e){return typeof e=="string"||e&&typeof e=="object"}function Vs(e){return typeof e=="string"||typeof e=="symbol"}const ht={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Us=Jt("nf");var No;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(No||(No={}));function Ut(e,t){return te(new Error,{type:e,[Us]:!0},t)}function _t(e,t){return e instanceof Error&&Us in e&&(t==null||!!(e.type&t))}const Mo="[^/]+?",Kc={sensitive:!1,strict:!1,start:!0,end:!0},Gc=/[.+*?^${}()[\]/\\]/g;function Jc(e,t){const n=te({},Kc,t),r=[];let o=n.start?"^":"";const a=[];for(const u of e){const i=u.length?[]:[90];n.strict&&!u.length&&(o+="/");for(let f=0;ft.length?t.length===1&&t[0]===40+40?1:-1:0}function Yc(e,t){let n=0;const r=e.score,o=t.score;for(;n1&&(l==="*"||l==="+")&&t(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),a.push({type:1,value:u,regexp:i,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),u="")}function d(){u+=l}for(;c{s(w)}:cn}function s(i){if(Vs(i)){const f=r.get(i);f&&(r.delete(i),n.splice(n.indexOf(f),1),f.children.forEach(s),f.alias.forEach(s))}else{const f=n.indexOf(i);f>-1&&(n.splice(f,1),i.record.name&&r.delete(i.record.name),i.children.forEach(s),i.alias.forEach(s))}}function c(){return n}function l(i){let f=0;for(;f=0&&(i.record.path!==n[f].record.path||!Ws(i,n[f]));)f++;n.splice(f,0,i),i.record.name&&!zo(i)&&r.set(i.record.name,i)}function u(i,f){let d,m={},p,h;if("name"in i&&i.name){if(d=r.get(i.name),!d)throw Ut(1,{location:i});h=d.record.name,m=te(rl(f.params,d.keys.filter(w=>!w.optional).map(w=>w.name)),i.params),p=d.stringify(m)}else if("path"in i)p=i.path,d=n.find(w=>w.re.test(p)),d&&(m=d.parse(p),h=d.record.name);else{if(d=f.name?r.get(f.name):n.find(w=>w.re.test(f.path)),!d)throw Ut(1,{location:i,currentLocation:f});h=d.record.name,m=te({},f.params,i.params),p=d.stringify(m)}const v=[];let b=d;for(;b;)v.unshift(b.record),b=b.parent;return{name:h,path:p,params:m,matched:v,meta:sl(v)}}return e.forEach(i=>a(i)),{addRoute:a,resolve:u,removeRoute:s,getRoutes:c,getRecordMatcher:o}}function rl(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function ol(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:al(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||{}:{default:e.component}}}function al(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="boolean"?n:n[r];return t}function zo(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function sl(e){return e.reduce((t,n)=>te(t,n.meta),{})}function Fo(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function Ws(e,t){return t.children.some(n=>n===e||Ws(e,n))}const Ks=/#/g,il=/&/g,cl=/\//g,ll=/=/g,ul=/\?/g,Gs=/\+/g,fl=/%5B/g,dl=/%5D/g,Js=/%5E/g,pl=/%60/g,Qs=/%7B/g,ml=/%7C/g,Ys=/%7D/g,hl=/%20/g;function fo(e){return encodeURI(""+e).replace(ml,"|").replace(fl,"[").replace(dl,"]")}function _l(e){return fo(e).replace(Qs,"{").replace(Ys,"}").replace(Js,"^")}function zr(e){return fo(e).replace(Gs,"%2B").replace(hl,"+").replace(Ks,"%23").replace(il,"%26").replace(pl,"`").replace(Qs,"{").replace(Ys,"}").replace(Js,"^")}function vl(e){return zr(e).replace(ll,"%3D")}function gl(e){return fo(e).replace(Ks,"%23").replace(ul,"%3F")}function yl(e){return e==null?"":gl(e).replace(cl,"%2F")}function Gn(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function bl(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let o=0;oa&&zr(a)):[r&&zr(r)]).forEach(a=>{a!==void 0&&(t+=(t.length?"&":"")+n,a!=null&&(t+="="+a))})}return t}function wl(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=Array.isArray(r)?r.map(o=>o==null?null:""+o):r==null?r:""+r)}return t}function Zt(){let e=[];function t(r){return e.push(r),()=>{const o=e.indexOf(r);o>-1&&e.splice(o,1)}}function n(){e=[]}return{add:t,list:()=>e,reset:n}}function vt(e,t,n,r,o){const a=r&&(r.enterCallbacks[o]=r.enterCallbacks[o]||[]);return()=>new Promise((s,c)=>{const l=f=>{f===!1?c(Ut(4,{from:n,to:t})):f instanceof Error?c(f):Wc(f)?c(Ut(2,{from:t,to:f})):(a&&r.enterCallbacks[o]===a&&typeof f=="function"&&a.push(f),s())},u=e.call(r&&r.instances[o],t,n,l);let i=Promise.resolve(u);e.length<3&&(i=i.then(l)),i.catch(f=>c(f))})}function Or(e,t,n,r){const o=[];for(const a of e)for(const s in a.components){let c=a.components[s];if(!(t!=="beforeRouteEnter"&&!a.instances[s]))if(Sl(c)){const u=(c.__vccOpts||c)[t];u&&o.push(vt(u,n,r,a,s))}else{let l=c();o.push(()=>l.then(u=>{if(!u)return Promise.reject(new Error(`Couldn't resolve component "${s}" at "${a.path}"`));const i=Ic(u)?u.default:u;a.components[s]=i;const d=(i.__vccOpts||i)[t];return d&&vt(d,n,r,a,s)()}))}}return o}function Sl(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Ho(e){const t=ct(lr),n=ct(uo),r=Se(()=>t.resolve(W(e.to))),o=Se(()=>{const{matched:l}=r.value,{length:u}=l,i=l[u-1],f=n.matched;if(!i||!f.length)return-1;const d=f.findIndex(Vt.bind(null,i));if(d>-1)return d;const m=qo(l[u-2]);return u>1&&qo(i)===m&&f[f.length-1].path!==m?f.findIndex(Vt.bind(null,l[u-2])):d}),a=Se(()=>o.value>-1&&Tl(n.params,r.value.params)),s=Se(()=>o.value>-1&&o.value===n.matched.length-1&&Hs(n.params,r.value.params));function c(l={}){return Il(l)?t[W(e.replace)?"replace":"push"](W(e.to)).catch(cn):Promise.resolve()}return{route:r,href:Se(()=>r.value.href),isActive:a,isExactActive:s,navigate:c}}function El(e){return"?"+Object.keys(e).map(t=>{const n=e[t];return n==null?"":Array.isArray(n)?n.map(r=>`${encodeURIComponent(t)}=${encodeURIComponent(r)}`).join("&"):`${encodeURIComponent(t)}=${encodeURIComponent(n)}`}).filter(Boolean).join("&")}function Ol(e){const{path:t,params:n}=e,r=Object.keys(n).reduce((a,s)=>(a[s]=n[s],a),{});return`${t.replace(/\:(\w+)/g,(a,s)=>{const c=r[s];return c==null?":"+s:Array.isArray(c)?c.map(l=>encodeURIComponent(l)).join("/"):encodeURIComponent(c)})}`}function Pl(e){if(typeof e=="string"&&e.startsWith("http"))return{isExternalLink:!0,href:e,isJavascript:!1};if(typeof e=="string"&&e.startsWith("javascript:")||typeof e.path=="string"&&e.path.startsWith("javascript:"))return{isExternalLink:!1,href:e,isJavascript:!0};if(typeof e=="object"&&typeof e.path=="string"&&e.path.startsWith("http")){let t=typeof e.params=="object"?Ol(e):e.path,n=typeof e.query=="object"?El(e.query):"";return{isExternalLink:!0,href:t+n+(e.hash?e.hash:""),isJavascript:!1}}return{isExternalLink:!1,href:"",isJavascript:!1}}const kl=z({name:"RouterLink",props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Ho,setup(e,{slots:t}){const{options:n}=ct(lr),{isExternalLink:r,href:o,isJavascript:a}=Pl(e.to),s=!r&&!a?kt(Ho(e)):{href:o,isActive:!1,isExactActive:!1,route:"",navigate:()=>Promise.resolve()},c=Se(()=>({[Vo(e.activeClass,n.linkActiveClass,"router-link-active")]:s.isActive,[Vo(e.exactActiveClass,n.linkExactActiveClass,"router-link-exact-active")]:s.isExactActive}));return()=>{const l=t.default&&t.default(s);return e.custom?l:r?re("a",{href:s.href,target:a?null:"_blank",class:c.value},l):re("a",{"aria-current":s.isExactActive?e.ariaCurrentValue:null,href:s.href,onClick:s.navigate,class:c.value},l)}}}),Cl=kl;function Il(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function Tl(e,t){for(const n in t){const r=t[n],o=e[n];if(typeof r=="string"){if(r!==o)return!1}else if(!Array.isArray(o)||o.length!==r.length||r.some((a,s)=>a!==o[s]))return!1}return!0}function qo(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Vo=(e,t,n)=>e!=null?e:t!=null?t:n,xl=z({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},setup(e,{attrs:t,slots:n}){const r=ct(Nr),o=Se(()=>e.route||r.value),a=ct(Ao,0),s=Se(()=>o.value.matched[a]);Nn(Ao,a+1),Nn(Cc,s),Nn(Nr,o);const c=q();return Kn(()=>[c.value,s.value,e.name],([l,u,i],[f,d,m])=>{u&&(u.instances[i]=l,d&&d!==u&&l&&l===f&&(u.leaveGuards.size||(u.leaveGuards=d.leaveGuards),u.updateGuards.size||(u.updateGuards=d.updateGuards))),l&&u&&(!d||!Vt(u,d)||!f)&&(u.enterCallbacks[i]||[]).forEach(p=>p(l))},{flush:"post"}),()=>{const l=o.value,u=s.value,i=u&&u.components[e.name],f=e.name;if(!i)return Uo(n.default,{Component:i,route:l});const d=u.props[e.name],m=d?d===!0?l.params:typeof d=="function"?d(l):d:null,h=re(i,te({},m,t,{onVnodeUnmounted:v=>{v.component.isUnmounted&&(u.instances[f]=null)},ref:c}));return Uo(n.default,{Component:h,route:l})||h}}});function Uo(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Rl=xl;function Al(e){const t=nl(e.routes,e),n=e.parseQuery||bl,r=e.stringifyQuery||Bo,o=e.history,a=Zt(),s=Zt(),c=Zt(),l=_c(ht);let u=ht;Lt&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const i=Sr.bind(null,E=>""+E),f=Sr.bind(null,yl),d=Sr.bind(null,Gn);function m(E,x){let I,R;return Vs(E)?(I=t.getRecordMatcher(E),R=x):R=E,t.addRoute(R,I)}function p(E){const x=t.getRecordMatcher(E);x&&t.removeRoute(x)}function h(){return t.getRoutes().map(E=>E.record)}function v(E){return!!t.getRecordMatcher(E)}function b(E,x){if(x=te({},x||l.value),typeof E=="string"){const N=Er(n,E,x.path),j=t.resolve({path:N.path},x),J=o.createHref(N.fullPath);return te(N,j,{params:d(j.params),hash:Gn(N.hash),redirectedFrom:void 0,href:J})}let I;if("path"in E)I=te({},E,{path:Er(n,E.path,x.path).path});else{const N=te({},E.params);for(const j in N)N[j]==null&&delete N[j];I=te({},E,{params:f(E.params)}),x.params=f(x.params)}const R=t.resolve(I,x),K=E.hash||"";R.params=i(d(R.params));const se=Rc(r,te({},E,{hash:_l(K),path:R.path})),F=o.createHref(se);return te({fullPath:se,hash:K,query:r===Bo?wl(E.query):E.query||{}},R,{redirectedFrom:void 0,href:F})}function w(E){return typeof E=="string"?Er(n,E,l.value.path):te({},E)}function O(E,x){if(u!==E)return Ut(8,{from:x,to:E})}function y(E){return V(E)}function S(E){return y(te(w(E),{replace:!0}))}function A(E){const x=E.matched[E.matched.length-1];if(x&&x.redirect){const{redirect:I}=x;let R=typeof I=="function"?I(E):I;return typeof R=="string"&&(R=R.includes("?")||R.includes("#")?R=w(R):{path:R},R.params={}),te({query:E.query,hash:E.hash,params:E.params},R)}}function V(E,x){const I=u=b(E),R=l.value,K=E.state,se=E.force,F=E.replace===!0,N=A(I);if(N)return V(te(w(N),{state:K,force:se,replace:F}),x||I);const j=I;j.redirectedFrom=x;let J;return!se&&Ac(r,R,I)&&(J=Ut(16,{to:j,from:R}),at(R,R,!0,!1)),(J?Promise.resolve(J):X(j,R)).catch(Z=>_t(Z)?_t(Z,2)?Z:dt(Z):Ke(Z,j,R)).then(Z=>{if(Z){if(_t(Z,2))return V(te(w(Z.to),{state:K,force:se,replace:F}),x||j)}else Z=je(j,R,!0,F,K);return ae(j,R,Z),Z})}function G(E,x){const I=O(E,x);return I?Promise.reject(I):Promise.resolve()}function X(E,x){let I;const[R,K,se]=jl(E,x);I=Or(R.reverse(),"beforeRouteLeave",E,x);for(const N of R)N.leaveGuards.forEach(j=>{I.push(vt(j,E,x))});const F=G.bind(null,E,x);return I.push(F),xt(I).then(()=>{I=[];for(const N of a.list())I.push(vt(N,E,x));return I.push(F),xt(I)}).then(()=>{I=Or(K,"beforeRouteUpdate",E,x);for(const N of K)N.updateGuards.forEach(j=>{I.push(vt(j,E,x))});return I.push(F),xt(I)}).then(()=>{I=[];for(const N of E.matched)if(N.beforeEnter&&!x.matched.includes(N))if(Array.isArray(N.beforeEnter))for(const j of N.beforeEnter)I.push(vt(j,E,x));else I.push(vt(N.beforeEnter,E,x));return I.push(F),xt(I)}).then(()=>(E.matched.forEach(N=>N.enterCallbacks={}),I=Or(se,"beforeRouteEnter",E,x),I.push(F),xt(I))).then(()=>{I=[];for(const N of s.list())I.push(vt(N,E,x));return I.push(F),xt(I)}).catch(N=>_t(N,8)?N:Promise.reject(N))}function ae(E,x,I){for(const R of c.list())R(E,x,I)}function je(E,x,I,R,K){const se=O(E,x);if(se)return se;const F=x===ht,N=Lt?history.state:{};I&&(R||F?o.replace(E.fullPath,te({scroll:F&&N&&N.scroll},K)):o.push(E.fullPath,K)),l.value=E,at(E,x,I,F),dt()}let pe;function $e(){pe=o.listen((E,x,I)=>{const R=b(E),K=A(R);if(K){V(te(K,{replace:!0}),R).catch(cn);return}u=R;const se=l.value;Lt&&Fc(Lo(se.fullPath,I.delta),ur()),X(R,se).catch(F=>_t(F,12)?F:_t(F,2)?(V(F.to,R).then(N=>{_t(N,20)&&!I.delta&&I.type===_n.pop&&o.go(-1,!1)}).catch(cn),Promise.reject()):(I.delta&&o.go(-I.delta,!1),Ke(F,R,se))).then(F=>{F=F||je(R,se,!1),F&&(I.delta?o.go(-I.delta,!1):I.type===_n.pop&&_t(F,20)&&o.go(-1,!1)),ae(R,se,F)}).catch(cn)})}let le=Zt(),Ve=Zt(),Oe;function Ke(E,x,I){dt(E);const R=Ve.list();return R.length?R.forEach(K=>K(E,x,I)):console.error(E),Promise.reject(E)}function Ye(){return Oe&&l.value!==ht?Promise.resolve():new Promise((E,x)=>{le.add([E,x])})}function dt(E){return Oe||(Oe=!E,$e(),le.list().forEach(([x,I])=>E?I(E):x()),le.reset()),E}function at(E,x,I,R){const{scrollBehavior:K}=e;if(!Lt||!K)return Promise.resolve();const se=!I&&Bc(Lo(E.fullPath,0))||(R||!I)&&history.state&&history.state.scroll||null;return vc().then(()=>K(E,x,se)).then(F=>F&&zc(F)).catch(F=>Ke(F,E,x))}const Ge=E=>o.go(E);let Me;const pt=new Set;return{currentRoute:l,addRoute:m,removeRoute:p,hasRoute:v,getRoutes:h,resolve:b,options:e,push:y,replace:S,go:Ge,back:()=>Ge(-1),forward:()=>Ge(1),beforeEach:a.add,beforeResolve:s.add,afterEach:c.add,onError:Ve.add,isReady:Ye,install(E){const x=this;E.component("RouterLink",Cl),E.component("RouterView",Rl),E.config.globalProperties.$router=x,Object.defineProperty(E.config.globalProperties,"$route",{enumerable:!0,get:()=>W(l)}),Lt&&!Me&&l.value===ht&&(Me=!0,y(o.location).catch(K=>{}));const I={};for(const K in ht)I[K]=Se(()=>l.value[K]);E.provide(lr,x),E.provide(uo,kt(I)),E.provide(Nr,l);const R=E.unmount;pt.add(E),E.unmount=function(){pt.delete(E),pt.size<1&&(u=ht,pe&&pe(),l.value=ht,Me=!1,Oe=!1),R()}}}}function xt(e){return e.reduce((t,n)=>t.then(()=>n()),Promise.resolve())}function jl(e,t){const n=[],r=[],o=[],a=Math.max(t.matched.length,e.matched.length);for(let s=0;sVt(u,c))?r.push(c):n.push(c));const l=e.matched[s];l&&(t.matched.find(u=>Vt(u,l))||o.push(l))}return[n,r,o]}function $l(){return ct(lr)}function Ll(){return ct(uo)}const Ct=()=>({theme:{footer:{message:"sdsd",copyright:"copyright"},value:{sidebar:{}},localeLinks:{items:[{link:"zh",text:"\u7B80\u4F53\u4E2D\u6587"},{link:"en",text:"EngLish"}]},socialLinks:[{link:"https://github.com/tinymce-plugin",icon:"github"}]},site:{appearance:{}},page:{value:{relativePath:""}},frontmatter:{value:{sidebar:!0}}}),Dl=typeof window!="undefined";q(Dl?location.hash:"");function Nl(){const e=q(!1);function t(){e.value=!0,window.addEventListener("resize",o)}function n(){e.value=!1,window.removeEventListener("resize",o)}function r(){e.value?n():t()}function o(){window.outerWidth>=768&&n()}return{isScreenOpen:e,openScreen:t,closeScreen:n,toggleScreen:r}}var B=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n};const Ml={},zl={class:"TPSwitch",type:"button",role:"switch"},Fl={class:"check"},Bl={key:0,class:"icon"};function Hl(e,t){return k(),T("button",zl,[g("span",Fl,[e.$slots.default?(k(),T("span",Bl,[Ce(e.$slots,"default",{},void 0,!0)])):ne("",!0)])])}var ql=B(Ml,[["render",Hl],["__scopeId","data-v-4ce27f65"]]);const Vl={},Ul={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},Wl=gc('',9),Kl=[Wl];function Gl(e,t){return k(),T("svg",Ul,Kl)}var Jl=B(Vl,[["render",Gl]]);const Ql={},Yl={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},Xl=g("path",{d:"M12.1,22c-0.3,0-0.6,0-0.9,0c-5.5-0.5-9.5-5.4-9-10.9c0.4-4.8,4.2-8.6,9-9c0.4,0,0.8,0.2,1,0.5c0.2,0.3,0.2,0.8-0.1,1.1c-2,2.7-1.4,6.4,1.3,8.4c2.1,1.6,5,1.6,7.1,0c0.3-0.2,0.7-0.3,1.1-0.1c0.3,0.2,0.5,0.6,0.5,1c-0.2,2.7-1.5,5.1-3.6,6.8C16.6,21.2,14.4,22,12.1,22zM9.3,4.4c-2.9,1-5,3.6-5.2,6.8c-0.4,4.4,2.8,8.3,7.2,8.7c2.1,0.2,4.2-0.4,5.8-1.8c1.1-0.9,1.9-2.1,2.4-3.4c-2.5,0.9-5.3,0.5-7.5-1.1C9.2,11.4,8.1,7.7,9.3,4.4z"},null,-1),Zl=[Xl];function eu(e,t){return k(),T("svg",Yl,Zl)}var tu=B(Ql,[["render",eu]]);const nu=z({__name:"TPSwitchAppearance",setup(e){const t="APPEARANCE_KEY",n=typeof localStorage!="undefined"?r():()=>{};function r(){var i;const o=window.matchMedia("(prefers-color-scheme: dark)"),a=document.documentElement.classList;let s=localStorage.getItem(t)||"auto",c=s==="auto"?o.matches:s==="dark";o.onchange=f=>{s==="auto"&&u(c=f.matches)},(i=document.querySelector('meta[name="color-scheme"]'))==null||i.setAttribute("content",s),u(c);function l(){var f;u(c=!c),s=c?o.matches?"auto":"dark":o.matches?"light":"auto",(f=document.querySelector('meta[name="color-scheme"]'))==null||f.setAttribute("content",s),localStorage.setItem(t,s)}function u(f){a[f?"add":"remove"]("dark")}return l}return(o,a)=>(k(),oe(ql,{class:"TPSwitchAppearance","aria-label":"toggle dark mode",onClick:W(n)},{default:fe(()=>[Y(Jl,{class:"sun"}),Y(tu,{class:"moon"})]),_:1},8,["onClick"]))}});var po=B(nu,[["__scopeId","data-v-435aa640"]]);const ru={class:"TPNavBarAppearance"},ou=z({__name:"TPNavBarAppearance",setup(e){return(t,n)=>(k(),T("div",ru,[Y(po)]))}});var au=B(ou,[["__scopeId","data-v-1597de3c"]]);const su={},iu={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},cu=g("path",{d:"M0 0h24v24H0z",fill:"none"},null,-1),lu=g("path",{d:" M12.87 15.07l-2.54-2.51.03-.03c1.74-1.94 2.98-4.17 3.71-6.53H17V4h-7V2H8v2H1v1.99h11.17C11.5 7.92 10.44 9.75 9 11.35 8.07 10.32 7.3 9.19 6.69 8h-2c.73 1.63 1.73 3.17 2.98 4.56l-5.09 5.02L4 19l5-5 3.11 3.11.76-2.04zM18.5 10h-2L12 22h2l1.12-3h4.75L21 22h2l-4.5-12zm-2.62 7l1.62-4.33L19.12 17h-3.24z ",class:"css-c4d79v"},null,-1),uu=[cu,lu];function fu(e,t){return k(),T("svg",iu,uu)}var Xs=B(su,[["render",fu]]);const mo=q();let Zs=!1,Pr=0;function du(e){const t=q(!1);if(typeof window!="undefined"){!Zs&&pu(),Pr++;const n=Kn(mo,r=>{var o,a,s;r===e.el.value||((o=e.el.value)==null?void 0:o.contains(r))?(t.value=!0,(a=e.onFocus)==null||a.call(e)):(t.value=!1,(s=e.onBlur)==null||s.call(e))});Ns(()=>{n(),Pr--,Pr||mu()})}return yc(t)}function pu(){document.addEventListener("focusin",ei),Zs=!0,mo.value=document.activeElement}function mu(){document.removeEventListener("focusin",ei)}function ei(){mo.value=document.activeElement}const hu={},_u={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},vu=g("path",{d:"M12,16c-0.3,0-0.5-0.1-0.7-0.3l-6-6c-0.4-0.4-0.4-1,0-1.4s1-0.4,1.4,0l5.3,5.3l5.3-5.3c0.4-0.4,1-0.4,1.4,0s0.4,1,0,1.4l-6,6C12.5,15.9,12.3,16,12,16z"},null,-1),gu=[vu];function yu(e,t){return k(),T("svg",_u,gu)}var ti=B(hu,[["render",yu]]);const bu={},wu={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},Su=g("circle",{cx:"12",cy:"12",r:"2"},null,-1),Eu=g("circle",{cx:"19",cy:"12",r:"2"},null,-1),Ou=g("circle",{cx:"5",cy:"12",r:"2"},null,-1),Pu=[Su,Eu,Ou];function ku(e,t){return k(),T("svg",wu,Pu)}var Cu=B(bu,[["render",ku]]);const ni=/#.*$/,Iu=/(index)?\.(md|html)$/,Tu=/^[a-z]+:/i,xu=typeof window!="undefined",Ru=q(xu?location.hash:"");function Au(e){return Tu.test(e)}function Wo(e,t,n=!1){if(t===void 0)return!1;if(e=Ko(`/${e}`),n)return new RegExp(t).test(e);if(Ko(t)!==e)return!1;const r=t.match(ni);return r?Ru.value===r[0]:!0}function Ko(e){return decodeURI(e).replace(ni,"").replace(Iu,"")}function ju(e){if(Au(e))return e;const{pathname:t,search:n,hash:r}=new URL(e,"http://example.com");return t.endsWith("/")||t.endsWith(".html")?e:`${t.replace(/(\.md)?$/,".html")}${n}${r}`}const $u={},Lu={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",height:"24px",viewBox:"0 0 24 24",width:"24px"},Du=g("path",{d:"M0 0h24v24H0V0z",fill:"none"},null,-1),Nu=g("path",{d:"M9 5v2h6.59L4 18.59 5.41 20 17 8.41V15h2V5H9z"},null,-1),Mu=[Du,Nu];function zu(e,t){return k(),T("svg",Lu,Mu)}var Fu=B($u,[["render",zu]]);const Bu=z({__name:"TPLink",props:{href:null,noIcon:{type:Boolean}},setup(e){const t=e,n=Se(()=>t.href&&/^[a-z]+:/i.test(t.href));return(r,o)=>(k(),oe(lo((e.href,"a")),{class:Ie(["TPLink",{link:e.href}]),href:e.href?W(ju)(e.href):void 0,target:W(n)?"_blank":void 0,rel:W(n)?"noopener noreferrer":void 0},{default:fe(()=>[Ce(r.$slots,"default",{},void 0,!0),W(n)&&!e.noIcon?(k(),oe(Fu,{key:0,class:"icon"})):ne("",!0)]),_:3},8,["class","href","target","rel"]))}});var Go=B(Bu,[["__scopeId","data-v-7bc4271e"]]);const Hu={class:"TPMenuLink"},qu=z({__name:"TPMenuLink",props:{item:null,isLang:null},setup(e){const{page:t}=Ct();return(n,r)=>(k(),T("div",Hu,[e.isLang?(k(),oe(Go,{key:1,class:Ie({active:W(Wo)(W(t).relativePath,e.item.activeMatch||e.item.link),link:!0})},{default:fe(()=>[He(M(e.item.text),1)]),_:1},8,["class"])):(k(),oe(Go,{key:0,class:Ie({active:W(Wo)(W(t).relativePath,e.item.activeMatch||e.item.link)}),href:e.item.link},{default:fe(()=>[He(M(e.item.text),1)]),_:1},8,["class","href"]))]))}});var fr=B(qu,[["__scopeId","data-v-22c93d82"]]);const Vu={class:"TPMenuGroup"},Uu={key:0,class:"title"},Wu=z({__name:"TPMenuGroup",props:{text:null,items:null},setup(e){return(t,n)=>(k(),T("div",Vu,[e.text?(k(),T("p",Uu,M(e.text),1)):ne("",!0),(k(!0),T(Te,null,nt(e.items,r=>(k(),T(Te,null,["link"in r?(k(),oe(fr,{key:0,item:r},null,8,["item"])):ne("",!0)],64))),256))]))}});var Ku=B(Wu,[["__scopeId","data-v-ddd05356"]]);const Gu={class:"TPMenu"},Ju={key:0,class:"items"},Qu=z({__name:"TPMenu",props:{items:null},setup(e){return(t,n)=>(k(),T("div",Gu,[e.items?(k(),T("div",Ju,[(k(!0),T(Te,null,nt(e.items,r=>(k(),T(Te,{key:r.text},["link"in r?(k(),oe(fr,{key:0,item:r},null,8,["item"])):(k(),oe(Ku,{key:1,text:r.text,items:r.items},null,8,["text","items"]))],64))),128))])):ne("",!0),Ce(t.$slots,"default",{},void 0,!0)]))}});var Yu=B(Qu,[["__scopeId","data-v-6df05e12"]]);const Xu=["aria-expanded","aria-label"],Zu={key:0,class:"text"},ef={class:"menu"},tf=z({__name:"TPFlyout",props:{icon:null,button:null,label:null,items:null},setup(e){const t=q(!1),n=q();du({el:n,onBlur:r});function r(){t.value=!1}return(o,a)=>(k(),T("div",{class:"TPFlyout",ref_key:"el",ref:n,onMouseenter:a[1]||(a[1]=s=>t.value=!0),onMouseleave:a[2]||(a[2]=s=>t.value=!1)},[g("button",{type:"button",class:"button","aria-haspopup":"true","aria-expanded":t.value,"aria-label":e.label,onClick:a[0]||(a[0]=s=>t.value=!t.value)},[e.button||e.icon?(k(),T("span",Zu,[e.icon?(k(),oe(lo(e.icon),{key:0,class:"option-icon"})):ne("",!0),He(" "+M(e.button)+" ",1),Y(ti,{class:"text-icon"})])):(k(),oe(Cu,{key:1,class:"icon"}))],8,Xu),g("div",ef,[Y(Yu,{items:e.items},{default:fe(()=>[Ce(o.$slots,"default",{},void 0,!0)]),_:3},8,["items"])])],544))}});var ri=B(tf,[["__scopeId","data-v-5a64643a"]]);/*! * @intlify/shared v9.1.10 * (c) 2022 kazuya kawaguchi * Released under the MIT License. */const nf=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol",ft=e=>nf?Symbol(e):e,rf=(e,t,n)=>of({l:e,k:t,s:n}),of=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),ve=e=>typeof e=="number"&&isFinite(e),af=e=>ho(e)==="[object Date]",Jn=e=>ho(e)==="[object RegExp]",dr=e=>U(e)&&Object.keys(e).length===0;function sf(e,t){typeof console!="undefined"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const Ne=Object.assign;function Jo(e){return e.replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}const cf=Object.prototype.hasOwnProperty;function oi(e,t){return cf.call(e,t)}const Ee=Array.isArray,ke=e=>typeof e=="function",L=e=>typeof e=="string",de=e=>typeof e=="boolean",xe=e=>e!==null&&typeof e=="object",ai=Object.prototype.toString,ho=e=>ai.call(e),U=e=>ho(e)==="[object Object]",lf=e=>e==null?"":Ee(e)||U(e)&&e.toString===ai?JSON.stringify(e,null,2):String(e);/*! * @intlify/message-resolver v9.1.10 * (c) 2022 kazuya kawaguchi * Released under the MIT License. */const uf=Object.prototype.hasOwnProperty;function ff(e,t){return uf.call(e,t)}const Mn=e=>e!==null&&typeof e=="object",yt=[];yt[0]={w:[0],i:[3,0],["["]:[4],o:[7]};yt[1]={w:[1],["."]:[2],["["]:[4],o:[7]};yt[2]={w:[2],i:[3,0],[0]:[3,0]};yt[3]={i:[3,0],[0]:[3,0],w:[1,1],["."]:[2,1],["["]:[4,1],o:[7,1]};yt[4]={["'"]:[5,0],['"']:[6,0],["["]:[4,2],["]"]:[1,3],o:8,l:[4,0]};yt[5]={["'"]:[4,0],o:8,l:[5,0]};yt[6]={['"']:[4,0],o:8,l:[6,0]};const df=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function pf(e){return df.test(e)}function mf(e){const t=e.charCodeAt(0),n=e.charCodeAt(e.length-1);return t===n&&(t===34||t===39)?e.slice(1,-1):e}function hf(e){if(e==null)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function _f(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:pf(t)?mf(t):"*"+t}function vf(e){const t=[];let n=-1,r=0,o=0,a,s,c,l,u,i,f;const d=[];d[0]=()=>{s===void 0?s=c:s+=c},d[1]=()=>{s!==void 0&&(t.push(s),s=void 0)},d[2]=()=>{d[0](),o++},d[3]=()=>{if(o>0)o--,r=4,d[0]();else{if(o=0,s===void 0||(s=_f(s),s===!1))return!1;d[1]()}};function m(){const p=e[n+1];if(r===5&&p==="'"||r===6&&p==='"')return n++,c="\\"+p,d[0](),!0}for(;r!==null;)if(n++,a=e[n],!(a==="\\"&&m())){if(l=hf(a),f=yt[r],u=f[l]||f.l||8,u===8||(r=u[0],u[1]!==void 0&&(i=d[u[1]],i&&(c=a,i()===!1))))return;if(r===7)return t}}const Qo=new Map;function Qn(e,t){if(!Mn(e))return null;let n=Qo.get(t);if(n||(n=vf(t),n&&Qo.set(t,n)),!n)return null;const r=n.length;let o=e,a=0;for(;ae,yf=e=>"",bf="text",wf=e=>e.length===0?"":e.join(""),Sf=lf;function Yo(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function Ef(e){const t=ve(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(ve(e.named.count)||ve(e.named.n))?ve(e.named.count)?e.named.count:ve(e.named.n)?e.named.n:t:t}function Of(e,t){t.count||(t.count=e),t.n||(t.n=e)}function Pf(e={}){const t=e.locale,n=Ef(e),r=xe(e.pluralRules)&&L(t)&&ke(e.pluralRules[t])?e.pluralRules[t]:Yo,o=xe(e.pluralRules)&&L(t)&&ke(e.pluralRules[t])?Yo:void 0,a=v=>v[r(n,v.length,o)],s=e.list||[],c=v=>s[v],l=e.named||{};ve(e.pluralIndex)&&Of(n,l);const u=v=>l[v];function i(v){const b=ke(e.messages)?e.messages(v):xe(e.messages)?e.messages[v]:!1;return b||(e.parent?e.parent.message(v):yf)}const f=v=>e.modifiers?e.modifiers[v]:gf,d=U(e.processor)&&ke(e.processor.normalize)?e.processor.normalize:wf,m=U(e.processor)&&ke(e.processor.interpolate)?e.processor.interpolate:Sf,p=U(e.processor)&&L(e.processor.type)?e.processor.type:bf,h={list:c,named:u,plural:a,linked:(v,b)=>{const w=i(v)(h);return L(b)?f(b)(w):w},message:i,type:p,interpolate:m,normalize:d};return h}/*! * @intlify/message-compiler v9.1.10 * (c) 2022 kazuya kawaguchi * Released under the MIT License. */function si(e,t,n={}){const{domain:r,messages:o,args:a}=n,s=e,c=new SyntaxError(String(s));return c.code=e,t&&(c.location=t),c.domain=r,c}/*! * @intlify/devtools-if v9.1.10 * (c) 2022 kazuya kawaguchi * Released under the MIT License. */const kf={I18nInit:"i18n:init",FunctionTranslate:"function:translate"};/*! * @intlify/core-base v9.1.10 * (c) 2022 kazuya kawaguchi * Released under the MIT License. */let Cf=null;kf.FunctionTranslate;function If(e){return t=>Cf}const Tf="9.1.10",pr=-1,Xo="";function xf(){return{upper:e=>L(e)?e.toUpperCase():e,lower:e=>L(e)?e.toLowerCase():e,capitalize:e=>L(e)?`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`:e}}let Rf,Zo=0;function Af(e={}){const t=L(e.version)?e.version:Tf,n=L(e.locale)?e.locale:"en-US",r=Ee(e.fallbackLocale)||U(e.fallbackLocale)||L(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:n,o=U(e.messages)?e.messages:{[n]:{}},a=U(e.datetimeFormats)?e.datetimeFormats:{[n]:{}},s=U(e.numberFormats)?e.numberFormats:{[n]:{}},c=Ne({},e.modifiers||{},xf()),l=e.pluralRules||{},u=ke(e.missing)?e.missing:null,i=de(e.missingWarn)||Jn(e.missingWarn)?e.missingWarn:!0,f=de(e.fallbackWarn)||Jn(e.fallbackWarn)?e.fallbackWarn:!0,d=!!e.fallbackFormat,m=!!e.unresolving,p=ke(e.postTranslation)?e.postTranslation:null,h=U(e.processor)?e.processor:null,v=de(e.warnHtmlMessage)?e.warnHtmlMessage:!0,b=!!e.escapeParameter,w=ke(e.messageCompiler)?e.messageCompiler:Rf,O=ke(e.onWarn)?e.onWarn:sf,y=e,S=xe(y.__datetimeFormatters)?y.__datetimeFormatters:new Map,A=xe(y.__numberFormatters)?y.__numberFormatters:new Map,V=xe(y.__meta)?y.__meta:{};return Zo++,{version:t,cid:Zo,locale:n,fallbackLocale:r,messages:o,datetimeFormats:a,numberFormats:s,modifiers:c,pluralRules:l,missing:u,missingWarn:i,fallbackWarn:f,fallbackFormat:d,unresolving:m,postTranslation:p,processor:h,warnHtmlMessage:v,escapeParameter:b,messageCompiler:w,onWarn:O,__datetimeFormatters:S,__numberFormatters:A,__meta:V}}function _o(e,t,n,r,o){const{missing:a,onWarn:s}=e;if(a!==null){const c=a(e,n,t,o);return L(c)?c:t}else return t}function Sn(e,t,n){const r=e;r.__localeChainCache||(r.__localeChainCache=new Map);let o=r.__localeChainCache.get(n);if(!o){o=[];let a=[n];for(;Ee(a);)a=ea(o,a,t);const s=Ee(t)?t:U(t)?t.default?t.default:null:t;a=L(s)?[s]:s,Ee(a)&&ea(o,a,!1),r.__localeChainCache.set(n,o)}return o}function ea(e,t,n){let r=!0;for(let o=0;o"",Et=e=>ke(e);function na(e,...t){const{fallbackFormat:n,postTranslation:r,unresolving:o,fallbackLocale:a,messages:s}=e,[c,l]=Br(...t),u=de(l.missingWarn)?l.missingWarn:e.missingWarn,i=de(l.fallbackWarn)?l.fallbackWarn:e.fallbackWarn,f=de(l.escapeParameter)?l.escapeParameter:e.escapeParameter,d=!!l.resolvedMessage,m=L(l.default)||de(l.default)?de(l.default)?c:l.default:n?c:"",p=n||m!=="",h=L(l.locale)?l.locale:e.locale;f&&Lf(l);let[v,b,w]=d?[c,h,s[h]||{}]:Df(e,c,h,a,i,u),O=c;if(!d&&!(L(v)||Et(v))&&p&&(v=m,O=v),!d&&(!(L(v)||Et(v))||!L(b)))return o?pr:c;let y=!1;const S=()=>{y=!0},A=Et(v)?v:ii(e,c,b,v,O,S);if(y)return v;const V=zf(e,b,w,l),G=Pf(V),X=Nf(e,A,G);return r?r(X):X}function Lf(e){Ee(e.list)?e.list=e.list.map(t=>L(t)?Jo(t):t):xe(e.named)&&Object.keys(e.named).forEach(t=>{L(e.named[t])&&(e.named[t]=Jo(e.named[t]))})}function Df(e,t,n,r,o,a){const{messages:s,onWarn:c}=e,l=Sn(e,r,n);let u={},i,f=null;const d="translate";for(let m=0;m{throw a&&a(s),s},onCacheKey:s=>rf(t,n,s)}}function zf(e,t,n,r){const{modifiers:o,pluralRules:a}=e,c={locale:t,modifiers:o,pluralRules:a,messages:l=>{const u=Qn(n,l);if(L(u)){let i=!1;const d=ii(e,l,t,u,l,()=>{i=!0});return i?ta:d}else return Et(u)?u:ta}};return e.processor&&(c.processor=e.processor),r.list&&(c.list=r.list),r.named&&(c.named=r.named),ve(r.plural)&&(c.pluralIndex=r.plural),c}function ra(e,...t){const{datetimeFormats:n,unresolving:r,fallbackLocale:o,onWarn:a}=e,{__datetimeFormatters:s}=e,[c,l,u,i]=Hr(...t),f=de(u.missingWarn)?u.missingWarn:e.missingWarn;de(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const d=!!u.part,m=L(u.locale)?u.locale:e.locale,p=Sn(e,o,m);if(!L(c)||c==="")return new Intl.DateTimeFormat(m).format(l);let h={},v,b=null;const w="datetime format";for(let S=0;Se(n,r,Gt()||void 0,o)}function li(e,t){const{messages:n,__i18n:r}=t,o=U(n)?n:Ee(r)?{}:{[e]:{}};if(Ee(r)&&r.forEach(({locale:a,resource:s})=>{a?(o[a]=o[a]||{},Yn(s,o[a])):Yn(s,o)}),t.flatJson)for(const a in o)oi(o,a)&&Fr(o[a]);return o}const Pn=e=>!xe(e)||Ee(e);function Yn(e,t){if(Pn(e)||Pn(t))throw We(20);for(const n in e)oi(e,n)&&(Pn(e[n])||Pn(t[n])?t[n]=e[n]:Yn(e[n],t[n]))}function ui(e={}){const{__root:t}=e,n=t===void 0;let r=de(e.inheritLocale)?e.inheritLocale:!0;const o=q(t&&r?t.locale.value:L(e.locale)?e.locale:"en-US"),a=q(t&&r?t.fallbackLocale.value:L(e.fallbackLocale)||Ee(e.fallbackLocale)||U(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:o.value),s=q(li(o.value,e)),c=q(U(e.datetimeFormats)?e.datetimeFormats:{[o.value]:{}}),l=q(U(e.numberFormats)?e.numberFormats:{[o.value]:{}});let u=t?t.missingWarn:de(e.missingWarn)||Jn(e.missingWarn)?e.missingWarn:!0,i=t?t.fallbackWarn:de(e.fallbackWarn)||Jn(e.fallbackWarn)?e.fallbackWarn:!0,f=t?t.fallbackRoot:de(e.fallbackRoot)?e.fallbackRoot:!0,d=!!e.fallbackFormat,m=ke(e.missing)?e.missing:null,p=ke(e.missing)?ca(e.missing):null,h=ke(e.postTranslation)?e.postTranslation:null,v=de(e.warnHtmlMessage)?e.warnHtmlMessage:!0,b=!!e.escapeParameter;const w=t?t.modifiers:U(e.modifiers)?e.modifiers:{};let O=e.pluralRules||t&&t.pluralRules,y;function S(){return Af({version:Ff,locale:o.value,fallbackLocale:a.value,messages:s.value,datetimeFormats:c.value,numberFormats:l.value,modifiers:w,pluralRules:O,missing:p===null?void 0:p,missingWarn:u,fallbackWarn:i,fallbackFormat:d,unresolving:!0,postTranslation:h===null?void 0:h,warnHtmlMessage:v,escapeParameter:b,__datetimeFormatters:U(y)?y.__datetimeFormatters:void 0,__numberFormatters:U(y)?y.__numberFormatters:void 0,__v_emitter:U(y)?y.__v_emitter:void 0,__meta:{framework:"vue"}})}y=S(),en(y,o.value,a.value);function A(){return[o.value,a.value,s.value,c.value,l.value]}const V=Se({get:()=>o.value,set:P=>{o.value=P,y.locale=o.value}}),G=Se({get:()=>a.value,set:P=>{a.value=P,y.fallbackLocale=a.value,en(y,o.value,P)}}),X=Se(()=>s.value),ae=Se(()=>c.value),je=Se(()=>l.value);function pe(){return ke(h)?h:null}function $e(P){h=P,y.postTranslation=P}function le(){return m}function Ve(P){P!==null&&(p=ca(P)),m=P,y.missing=p}function Oe(P,C,Le,he,Fe,et){A();let Ue;if(Ue=P(y),ve(Ue)&&Ue===pr){const[lc,ov]=C();return t&&f?he(t):Fe(lc)}else{if(et(Ue))return Ue;throw We(14)}}function Ke(...P){return Oe(C=>na(C,...P),()=>Br(...P),"translate",C=>C.t(...P),C=>C,C=>L(C))}function Ye(...P){const[C,Le,he]=P;if(he&&!xe(he))throw We(15);return Ke(C,Le,Ne({resolvedMessage:!0},he||{}))}function dt(...P){return Oe(C=>ra(C,...P),()=>Hr(...P),"datetime format",C=>C.d(...P),()=>Xo,C=>L(C))}function at(...P){return Oe(C=>aa(C,...P),()=>qr(...P),"number format",C=>C.n(...P),()=>Xo,C=>L(C))}function Ge(P){return P.map(C=>L(C)?Y(xo,null,C,0):C)}const pt={normalize:Ge,interpolate:P=>P,type:"vnode"};function Xe(...P){return Oe(C=>{let Le;const he=C;try{he.processor=pt,Le=na(he,...P)}finally{he.processor=null}return Le},()=>Br(...P),"translate",C=>C[Vr](...P),C=>[Y(xo,null,C,0)],C=>Ee(C))}function E(...P){return Oe(C=>aa(C,...P),()=>qr(...P),"number format",C=>C[Wr](...P),()=>[],C=>L(C)||Ee(C))}function x(...P){return Oe(C=>ra(C,...P),()=>Hr(...P),"datetime format",C=>C[Ur](...P),()=>[],C=>L(C)||Ee(C))}function I(P){O=P,y.pluralRules=O}function R(P,C){const Le=L(C)?C:o.value,he=F(Le);return Qn(he,P)!==null}function K(P){let C=null;const Le=Sn(y,a.value,o.value);for(let he=0;he{r&&(o.value=P,y.locale=P,en(y,o.value,a.value))}),Kn(t.fallbackLocale,P=>{r&&(a.value=P,y.fallbackLocale=P,en(y,o.value,a.value))})),{id:ia,locale:V,fallbackLocale:G,get inheritLocale(){return r},set inheritLocale(P){r=P,P&&t&&(o.value=t.locale.value,a.value=t.fallbackLocale.value,en(y,o.value,a.value))},get availableLocales(){return Object.keys(s.value).sort()},messages:X,datetimeFormats:ae,numberFormats:je,get modifiers(){return w},get pluralRules(){return O||{}},get isGlobal(){return n},get missingWarn(){return u},set missingWarn(P){u=P,y.missingWarn=u},get fallbackWarn(){return i},set fallbackWarn(P){i=P,y.fallbackWarn=i},get fallbackRoot(){return f},set fallbackRoot(P){f=P},get fallbackFormat(){return d},set fallbackFormat(P){d=P,y.fallbackFormat=d},get warnHtmlMessage(){return v},set warnHtmlMessage(P){v=P,y.warnHtmlMessage=P},get escapeParameter(){return b},set escapeParameter(P){b=P,y.escapeParameter=P},t:Ke,rt:Ye,d:dt,n:at,te:R,tm:se,getLocaleMessage:F,setLocaleMessage:N,mergeLocaleMessage:j,getDateTimeFormat:J,setDateTimeFormat:Z,mergeDateTimeFormat:ge,getNumberFormat:Ze,setNumberFormat:ce,mergeNumberFormat:ye,getPostTranslationHandler:pe,setPostTranslationHandler:$e,getMissingHandler:le,setMissingHandler:Ve,[Vr]:Xe,[Wr]:E,[Ur]:x,[Bf]:I,[ci]:e.__injectWithOption}}const vo={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}},la={name:"i18n-t",props:Ne({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>ve(e)||!isNaN(e)}},vo),setup(e,t){const{slots:n,attrs:r}=t,o=e.i18n||Qt({useScope:e.scope,__useComponent:!0}),a=Object.keys(n).filter(s=>s!=="_");return()=>{const s={};e.locale&&(s.locale=e.locale),e.plural!==void 0&&(s.plural=L(e.plural)?+e.plural:e.plural);const c=Hf(t,a),l=o[Vr](e.keypath,c,s),u=Ne({},r);return L(e.tag)?re(e.tag,u,l):xe(e.tag)?re(e.tag,u,l):re(Te,u,l)}}};function Hf({slots:e},t){return t.length===1&&t[0]==="default"?e.default?e.default():[]:t.reduce((n,r)=>{const o=e[r];return o&&(n[r]=o()),n},{})}function fi(e,t,n,r){const{slots:o,attrs:a}=t;return()=>{const s={part:!0};let c={};e.locale&&(s.locale=e.locale),L(e.format)?s.key=e.format:xe(e.format)&&(L(e.format.key)&&(s.key=e.format.key),c=Object.keys(e.format).reduce((f,d)=>n.includes(d)?Ne({},f,{[d]:e.format[d]}):f,{}));const l=r(e.value,s,c);let u=[s.key];Ee(l)?u=l.map((f,d)=>{const m=o[f.type];return m?m({[f.type]:f.value,index:d,parts:l}):[f.value]}):L(l)&&(u=[l]);const i=Ne({},a);return L(e.tag)?re(e.tag,i,u):xe(e.tag)?re(e.tag,i,u):re(Te,i,u)}}const qf=["localeMatcher","style","unit","unitDisplay","currency","currencyDisplay","useGrouping","numberingSystem","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","notation","formatMatcher"],ua={name:"i18n-n",props:Ne({value:{type:Number,required:!0},format:{type:[String,Object]}},vo),setup(e,t){const n=e.i18n||Qt({useScope:"parent",__useComponent:!0});return fi(e,t,qf,(...r)=>n[Wr](...r))}},Vf=["dateStyle","timeStyle","fractionalSecondDigits","calendar","dayPeriod","numberingSystem","localeMatcher","timeZone","hour12","hourCycle","formatMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName"],fa={name:"i18n-d",props:Ne({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},vo),setup(e,t){const n=e.i18n||Qt({useScope:"parent",__useComponent:!0});return fi(e,t,Vf,(...r)=>n[Ur](...r))}};function Uf(e,t){const n=e;if(e.mode==="composition")return n.__getInstance(t)||e.global;{const r=n.__getInstance(t);return r!=null?r.__composer:e.global.__composer}}function Wf(e){const t=(n,{instance:r,value:o,modifiers:a})=>{if(!r||!r.$)throw We(22);const s=Uf(e,r.$),c=Kf(o);n.textContent=s.t(...Gf(c))};return{beforeMount:t,beforeUpdate:t}}function Kf(e){if(L(e))return{path:e};if(U(e)){if(!("path"in e))throw We(19,"path");return e}else throw We(20)}function Gf(e){const{path:t,locale:n,args:r,choice:o,plural:a}=e,s={},c=r||{};return L(n)&&(s.locale=n),ve(o)&&(s.plural=o),ve(a)&&(s.plural=a),[t,c,s]}function Jf(e,t,...n){const r=U(n[0])?n[0]:{},o=!!r.useI18nComponentName;(de(r.globalInstall)?r.globalInstall:!0)&&(e.component(o?"i18n":la.name,la),e.component(ua.name,ua),e.component(fa.name,fa)),e.directive("t",Wf(t))}function Qf(e={}){const t=!!e.globalInjection,n=new Map,r=ui(e),o=ft(""),a={get mode(){return"composition"},async install(s,...c){s.__VUE_I18N_SYMBOL__=o,s.provide(s.__VUE_I18N_SYMBOL__,a),t&&td(s,a.global),Jf(s,a,...c)},get global(){return r},__instances:n,__getInstance(s){return n.get(s)||null},__setInstance(s,c){n.set(s,c)},__deleteInstance(s){n.delete(s)}};return a}function Qt(e={}){const t=Gt();if(t==null)throw We(16);if(!t.appContext.app.__VUE_I18N_SYMBOL__)throw We(17);const n=ct(t.appContext.app.__VUE_I18N_SYMBOL__);if(!n)throw We(22);const r=n.mode==="composition"?n.global:n.global.__composer,o=dr(e)?"__i18n"in t.type?"local":"global":e.useScope?e.useScope:"local";if(o==="global"){let c=xe(e.messages)?e.messages:{};"__i18nGlobal"in t.type&&(c=li(r.locale.value,{messages:c,__i18n:t.type.__i18nGlobal}));const l=Object.keys(c);if(l.length&&l.forEach(u=>{r.mergeLocaleMessage(u,c[u])}),xe(e.datetimeFormats)){const u=Object.keys(e.datetimeFormats);u.length&&u.forEach(i=>{r.mergeDateTimeFormat(i,e.datetimeFormats[i])})}if(xe(e.numberFormats)){const u=Object.keys(e.numberFormats);u.length&&u.forEach(i=>{r.mergeNumberFormat(i,e.numberFormats[i])})}return r}if(o==="parent"){let c=Yf(n,t,e.__useComponent);return c==null&&(c=r),c}if(n.mode==="legacy")throw We(18);const a=n;let s=a.__getInstance(t);if(s==null){const c=t.type,l=Ne({},e);c.__i18n&&(l.__i18n=c.__i18n),r&&(l.__root=r),s=ui(l),Xf(a,t),a.__setInstance(t,s)}return s}function Yf(e,t,n=!1){let r=null;const o=t.root;let a=t.parent;for(;a!=null;){const s=e;if(e.mode==="composition")r=s.__getInstance(a);else{const c=s.__getInstance(a);c!=null&&(r=c.__composer),n&&r&&!r[ci]&&(r=null)}if(r!=null||o===a)break;a=a.parent}return r}function Xf(e,t,n){Ms(()=>{},t),Ns(()=>{e.__deleteInstance(t)},t)}const Zf=["locale","fallbackLocale","availableLocales"],ed=["t","rt","d","n","tm"];function td(e,t){const n=Object.create(null);Zf.forEach(r=>{const o=Object.getOwnPropertyDescriptor(t,r);if(!o)throw We(22);const a=bc(o.value)?{get(){return o.value.value},set(s){o.value.value=s}}:{get(){return o.get&&o.get()}};Object.defineProperty(n,r,a)}),e.config.globalProperties.$i18n=n,ed.forEach(r=>{const o=Object.getOwnPropertyDescriptor(t,r);if(!o||!o.value)throw We(22);Object.defineProperty(e.config.globalProperties,`$${r}`,o)})}class di{constructor(t){mt(this,"storage");this.storage=t}setItem(t,n){this.storage.setItem(t,JSON.stringify(n))}getItem(t){return JSON.parse(this.storage.getItem(t))}removeItem(t){this.storage.removeItem(t)}clear(){this.storage.clear()}}class nd extends di{constructor(t){super(t)}}new di(sessionStorage);const zt=new nd(localStorage),rd="modulepreload",da={},od="/",D=function(t,n){return!n||n.length===0?t():Promise.all(n.map(r=>{if(r=`${od}${r}`,r in da)return;da[r]=!0;const o=r.endsWith(".css"),a=o?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${r}"]${a}`))return;const s=document.createElement("link");if(s.rel=o?"stylesheet":rd,o||(s.as="script",s.crossOrigin=""),s.href=r,document.head.appendChild(s),o)return new Promise((c,l)=>{s.addEventListener("load",c),s.addEventListener("error",()=>l(new Error(`Unable to preload CSS for ${r}`)))})})).then(()=>t())};var pi={exports:{}};/* NProgress, (c) 2013, 2014 Rico Sta. Cruz - http://ricostacruz.com/nprogress * @license MIT */(function(e,t){(function(n,r){e.exports=r()})(Oc,function(){var n={};n.version="0.2.0";var r=n.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'
'};n.configure=function(p){var h,v;for(h in p)v=p[h],v!==void 0&&p.hasOwnProperty(h)&&(r[h]=v);return this},n.status=null,n.set=function(p){var h=n.isStarted();p=o(p,r.minimum,1),n.status=p===1?null:p;var v=n.render(!h),b=v.querySelector(r.barSelector),w=r.speed,O=r.easing;return v.offsetWidth,c(function(y){r.positionUsing===""&&(r.positionUsing=n.getPositioningCSS()),l(b,s(p,w,O)),p===1?(l(v,{transition:"none",opacity:1}),v.offsetWidth,setTimeout(function(){l(v,{transition:"all "+w+"ms linear",opacity:0}),setTimeout(function(){n.remove(),y()},w)},w)):setTimeout(y,w)}),this},n.isStarted=function(){return typeof n.status=="number"},n.start=function(){n.status||n.set(0);var p=function(){setTimeout(function(){!n.status||(n.trickle(),p())},r.trickleSpeed)};return r.trickle&&p(),this},n.done=function(p){return!p&&!n.status?this:n.inc(.3+.5*Math.random()).set(1)},n.inc=function(p){var h=n.status;return h?(typeof p!="number"&&(p=(1-h)*o(Math.random()*h,.1,.95)),h=o(h+p,0,.994),n.set(h)):n.start()},n.trickle=function(){return n.inc(Math.random()*r.trickleRate)},function(){var p=0,h=0;n.promise=function(v){return!v||v.state()==="resolved"?this:(h===0&&n.start(),p++,h++,v.always(function(){h--,h===0?(p=0,n.done()):n.set((p-h)/p)}),this)}}(),n.render=function(p){if(n.isRendered())return document.getElementById("nprogress");i(document.documentElement,"nprogress-busy");var h=document.createElement("div");h.id="nprogress",h.innerHTML=r.template;var v=h.querySelector(r.barSelector),b=p?"-100":a(n.status||0),w=document.querySelector(r.parent),O;return l(v,{transition:"all 0 linear",transform:"translate3d("+b+"%,0,0)"}),r.showSpinner||(O=h.querySelector(r.spinnerSelector),O&&m(O)),w!=document.body&&i(w,"nprogress-custom-parent"),w.appendChild(h),h},n.remove=function(){f(document.documentElement,"nprogress-busy"),f(document.querySelector(r.parent),"nprogress-custom-parent");var p=document.getElementById("nprogress");p&&m(p)},n.isRendered=function(){return!!document.getElementById("nprogress")},n.getPositioningCSS=function(){var p=document.body.style,h="WebkitTransform"in p?"Webkit":"MozTransform"in p?"Moz":"msTransform"in p?"ms":"OTransform"in p?"O":"";return h+"Perspective"in p?"translate3d":h+"Transform"in p?"translate":"margin"};function o(p,h,v){return pv?v:p}function a(p){return(-1+p)*100}function s(p,h,v){var b;return r.positionUsing==="translate3d"?b={transform:"translate3d("+a(p)+"%,0,0)"}:r.positionUsing==="translate"?b={transform:"translate("+a(p)+"%,0)"}:b={"margin-left":a(p)+"%"},b.transition="all "+h+"ms "+v,b}var c=function(){var p=[];function h(){var v=p.shift();v&&v(h)}return function(v){p.push(v),p.length==1&&h()}}(),l=function(){var p=["Webkit","O","Moz","ms"],h={};function v(y){return y.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(S,A){return A.toUpperCase()})}function b(y){var S=document.body.style;if(y in S)return y;for(var A=p.length,V=y.charAt(0).toUpperCase()+y.slice(1),G;A--;)if(G=p[A]+V,G in S)return G;return y}function w(y){return y=v(y),h[y]||(h[y]=b(y))}function O(y,S,A){S=w(S),y.style[S]=A}return function(y,S){var A=arguments,V,G;if(A.length==2)for(V in S)G=S[V],G!==void 0&&S.hasOwnProperty(V)&&O(y,V,G);else O(y,A[1],A[2])}}();function u(p,h){var v=typeof p=="string"?p:d(p);return v.indexOf(" "+h+" ")>=0}function i(p,h){var v=d(p),b=v+h;u(v,h)||(p.className=b.substring(1))}function f(p,h){var v=d(p),b;!u(p,h)||(b=v.replace(" "+h+" "," "),p.className=b.substring(1,b.length-1))}function d(p){return(" "+(p.className||"")+" ").replace(/\s+/gi," ")}function m(p){p&&p.parentNode&&p.parentNode.removeChild(p)}return n})})(pi);var Kr=pi.exports;const ad={template:'
'};let on=".html",sd="/introduction"+on,go=[{path:"/",name:"redirect",redirect:e=>({path:e.query.redirect||sd,query:Object.assign({},e.query,{redirect:void 0}),hash:e.hash})},{path:"/supportandfeedback"+on,name:"supportandfeedback",component:()=>D(()=>import("./chunk/supportandfeedback.js"),["assets/chunk/supportandfeedback.js","assets/chunk/pinia.js","assets/chunk/vue.js"]),meta:{title:"\u652F\u6301\u4E0E\u53CD\u9988"}},{path:"/nextplan",name:"nextplan",component:ad,meta:{title:"@next\u8BA1\u5212"},children:[{path:"info"+on,name:"nextplainfo",meta:{title:"\u8BA1\u5212\u770B\u677F"},component:()=>D(()=>import("./chunk/nextplan.js"),["assets/chunk/nextplan.js","assets/chunk/pinia.js","assets/chunk/vue.js"])},{path:"demoall"+on,name:"demoall",meta:{title:"@next Demo"},component:()=>D(()=>import("./chunk/demoAll.js"),["assets/chunk/demoAll.js","assets/demoAll.css","assets/chunk/pinia.js","assets/chunk/vue.js","assets/chunk/tinymce.js","assets/chunk/tinymce-plugin-routes.js"])},{path:"vuedemo"+on,name:"vuedemo",meta:{title:"@next vueDemo"},component:()=>D(()=>import("./chunk/index.js"),["assets/chunk/index.js","assets/index2.css","assets/chunk/tinymce.js","assets/chunk/Editor.js","assets/chunk/pinia.js","assets/chunk/vue.js","assets/chunk/tinymce-plugin-routes.js"])}]}];JSON.parse(JSON.stringify(go));const Pt=Al({history:Uc(""),routes:go,scrollBehavior(e,t,n){if(e.hash)return new Promise((r,o)=>{setTimeout(()=>{r({el:e.hash,top:210})},e.name!==t.name?500:100)})}});Pt.beforeEach((e,t,n)=>{Kr.start(),n()});Pt.afterEach((e,t)=>{let n=Yt();if(n.setPagePath(e.name,e.query,e),e.name==="404"&&t.name!=="404"){let r=".html",o=(n.language==="en"?"/en":"")+"/introduction"+r;Pt.push(o.trim()),Kr.done()}else Kr.done()});var yo={exports:{}},mi=function(t,n){return function(){for(var o=new Array(arguments.length),a=0;a=0)return;r==="set-cookie"?n[r]=(n[r]?n[r]:[]).concat([o]):n[r]=n[r]?n[r]+", "+o:o}}),n},ma=qe,Md=ma.isStandardBrowserEnv()?function(){var t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a"),r;function o(a){var s=a;return t&&(n.setAttribute("href",s),s=n.href),n.setAttribute("href",s),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=o(window.location.href),function(s){var c=ma.isString(s)?o(s):s;return c.protocol===r.protocol&&c.host===r.host}}():function(){return function(){return!0}}();function So(e){this.message=e}So.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")};So.prototype.__CANCEL__=!0;var hr=So,Cn=qe,zd=Td,Fd=xd,Bd=vi,Hd=Ld,qd=Nd,Vd=Md,Cr=yi,Ud=vr,Wd=hr,ha=function(t){return new Promise(function(r,o){var a=t.data,s=t.headers,c=t.responseType,l;function u(){t.cancelToken&&t.cancelToken.unsubscribe(l),t.signal&&t.signal.removeEventListener("abort",l)}Cn.isFormData(a)&&delete s["Content-Type"];var i=new XMLHttpRequest;if(t.auth){var f=t.auth.username||"",d=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";s.Authorization="Basic "+btoa(f+":"+d)}var m=Hd(t.baseURL,t.url);i.open(t.method.toUpperCase(),Bd(m,t.params,t.paramsSerializer),!0),i.timeout=t.timeout;function p(){if(!!i){var v="getAllResponseHeaders"in i?qd(i.getAllResponseHeaders()):null,b=!c||c==="text"||c==="json"?i.responseText:i.response,w={data:b,status:i.status,statusText:i.statusText,headers:v,config:t,request:i};zd(function(y){r(y),u()},function(y){o(y),u()},w),i=null}}if("onloadend"in i?i.onloadend=p:i.onreadystatechange=function(){!i||i.readyState!==4||i.status===0&&!(i.responseURL&&i.responseURL.indexOf("file:")===0)||setTimeout(p)},i.onabort=function(){!i||(o(Cr("Request aborted",t,"ECONNABORTED",i)),i=null)},i.onerror=function(){o(Cr("Network Error",t,null,i)),i=null},i.ontimeout=function(){var b=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded",w=t.transitional||Ud.transitional;t.timeoutErrorMessage&&(b=t.timeoutErrorMessage),o(Cr(b,t,w.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",i)),i=null},Cn.isStandardBrowserEnv()){var h=(t.withCredentials||Vd(m))&&t.xsrfCookieName?Fd.read(t.xsrfCookieName):void 0;h&&(s[t.xsrfHeaderName]=h)}"setRequestHeader"in i&&Cn.forEach(s,function(b,w){typeof a=="undefined"&&w.toLowerCase()==="content-type"?delete s[w]:i.setRequestHeader(w,b)}),Cn.isUndefined(t.withCredentials)||(i.withCredentials=!!t.withCredentials),c&&c!=="json"&&(i.responseType=t.responseType),typeof t.onDownloadProgress=="function"&&i.addEventListener("progress",t.onDownloadProgress),typeof t.onUploadProgress=="function"&&i.upload&&i.upload.addEventListener("progress",t.onUploadProgress),(t.cancelToken||t.signal)&&(l=function(v){!i||(o(!v||v&&v.type?new Wd("canceled"):v),i.abort(),i=null)},t.cancelToken&&t.cancelToken.subscribe(l),t.signal&&(t.signal.aborted?l():t.signal.addEventListener("abort",l))),a||(a=null),i.send(a)})},_e=qe,_a=kd,Kd=gi,Gd={"Content-Type":"application/x-www-form-urlencoded"};function va(e,t){!_e.isUndefined(e)&&_e.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}function Jd(){var e;return(typeof XMLHttpRequest!="undefined"||typeof process!="undefined"&&Object.prototype.toString.call(process)==="[object process]")&&(e=ha),e}function Qd(e,t,n){if(_e.isString(e))try{return(t||JSON.parse)(e),_e.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}var _r={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:Jd(),transformRequest:[function(t,n){return _a(n,"Accept"),_a(n,"Content-Type"),_e.isFormData(t)||_e.isArrayBuffer(t)||_e.isBuffer(t)||_e.isStream(t)||_e.isFile(t)||_e.isBlob(t)?t:_e.isArrayBufferView(t)?t.buffer:_e.isURLSearchParams(t)?(va(n,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):_e.isObject(t)||n&&n["Content-Type"]==="application/json"?(va(n,"application/json"),Qd(t)):t}],transformResponse:[function(t){var n=this.transitional||_r.transitional,r=n&&n.silentJSONParsing,o=n&&n.forcedJSONParsing,a=!r&&this.responseType==="json";if(a||o&&_e.isString(t)&&t.length)try{return JSON.parse(t)}catch(s){if(a)throw s.name==="SyntaxError"?Kd(s,this,"E_JSON_PARSE"):s}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};_e.forEach(["delete","get","head"],function(t){_r.headers[t]={}});_e.forEach(["post","put","patch"],function(t){_r.headers[t]=_e.merge(Gd)});var vr=_r,Yd=qe,Xd=vr,Zd=function(t,n,r){var o=this||Xd;return Yd.forEach(r,function(s){t=s.call(o,t,n)}),t},bi=function(t){return!!(t&&t.__CANCEL__)},ga=qe,Ir=Zd,ep=bi,tp=vr,np=hr;function Tr(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new np("canceled")}var rp=function(t){Tr(t),t.headers=t.headers||{},t.data=Ir.call(t,t.data,t.headers,t.transformRequest),t.headers=ga.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),ga.forEach(["delete","get","head","post","put","patch","common"],function(o){delete t.headers[o]});var n=t.adapter||tp.adapter;return n(t).then(function(o){return Tr(t),o.data=Ir.call(t,o.data,o.headers,t.transformResponse),o},function(o){return ep(o)||(Tr(t),o&&o.response&&(o.response.data=Ir.call(t,o.response.data,o.response.headers,t.transformResponse))),Promise.reject(o)})},Be=qe,wi=function(t,n){n=n||{};var r={};function o(i,f){return Be.isPlainObject(i)&&Be.isPlainObject(f)?Be.merge(i,f):Be.isPlainObject(f)?Be.merge({},f):Be.isArray(f)?f.slice():f}function a(i){if(Be.isUndefined(n[i])){if(!Be.isUndefined(t[i]))return o(void 0,t[i])}else return o(t[i],n[i])}function s(i){if(!Be.isUndefined(n[i]))return o(void 0,n[i])}function c(i){if(Be.isUndefined(n[i])){if(!Be.isUndefined(t[i]))return o(void 0,t[i])}else return o(void 0,n[i])}function l(i){if(i in n)return o(t[i],n[i]);if(i in t)return o(void 0,t[i])}var u={url:s,method:s,data:s,baseURL:c,transformRequest:c,transformResponse:c,paramsSerializer:c,timeout:c,timeoutMessage:c,withCredentials:c,adapter:c,responseType:c,xsrfCookieName:c,xsrfHeaderName:c,onUploadProgress:c,onDownloadProgress:c,decompress:c,maxContentLength:c,maxBodyLength:c,transport:c,httpAgent:c,httpsAgent:c,cancelToken:c,socketPath:c,responseEncoding:c,validateStatus:l};return Be.forEach(Object.keys(t).concat(Object.keys(n)),function(f){var d=u[f]||a,m=d(f);Be.isUndefined(m)&&d!==l||(r[f]=m)}),r},Si={version:"0.24.0"},op=Si.version,Eo={};["object","boolean","number","function","string","symbol"].forEach(function(e,t){Eo[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});var ya={};Eo.transitional=function(t,n,r){function o(a,s){return"[Axios v"+op+"] Transitional option '"+a+"'"+s+(r?". "+r:"")}return function(a,s,c){if(t===!1)throw new Error(o(s," has been removed"+(n?" in "+n:"")));return n&&!ya[s]&&(ya[s]=!0,console.warn(o(s," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(a,s,c):!0}};function ap(e,t,n){if(typeof e!="object")throw new TypeError("options must be an object");for(var r=Object.keys(e),o=r.length;o-- >0;){var a=r[o],s=t[a];if(s){var c=e[a],l=c===void 0||s(c,a,e);if(l!==!0)throw new TypeError("option "+a+" must be "+l);continue}if(n!==!0)throw Error("Unknown option "+a)}}var sp={assertOptions:ap,validators:Eo},Ei=qe,ip=vi,ba=Od,wa=rp,gr=wi,Oi=sp,At=Oi.validators;function En(e){this.defaults=e,this.interceptors={request:new ba,response:new ba}}En.prototype.request=function(t){typeof t=="string"?(t=arguments[1]||{},t.url=arguments[0]):t=t||{},t=gr(this.defaults,t),t.method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var n=t.transitional;n!==void 0&&Oi.assertOptions(n,{silentJSONParsing:At.transitional(At.boolean),forcedJSONParsing:At.transitional(At.boolean),clarifyTimeoutError:At.transitional(At.boolean)},!1);var r=[],o=!0;this.interceptors.request.forEach(function(d){typeof d.runWhen=="function"&&d.runWhen(t)===!1||(o=o&&d.synchronous,r.unshift(d.fulfilled,d.rejected))});var a=[];this.interceptors.response.forEach(function(d){a.push(d.fulfilled,d.rejected)});var s;if(!o){var c=[wa,void 0];for(Array.prototype.unshift.apply(c,r),c=c.concat(a),s=Promise.resolve(t);c.length;)s=s.then(c.shift(),c.shift());return s}for(var l=t;r.length;){var u=r.shift(),i=r.shift();try{l=u(l)}catch(f){i(f);break}}try{s=wa(l)}catch(f){return Promise.reject(f)}for(;a.length;)s=s.then(a.shift(),a.shift());return s};En.prototype.getUri=function(t){return t=gr(this.defaults,t),ip(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")};Ei.forEach(["delete","get","head","options"],function(t){En.prototype[t]=function(n,r){return this.request(gr(r||{},{method:t,url:n,data:(r||{}).data}))}});Ei.forEach(["post","put","patch"],function(t){En.prototype[t]=function(n,r,o){return this.request(gr(o||{},{method:t,url:n,data:r}))}});var cp=En,lp=hr;function Wt(e){if(typeof e!="function")throw new TypeError("executor must be a function.");var t;this.promise=new Promise(function(o){t=o});var n=this;this.promise.then(function(r){if(!!n._listeners){var o,a=n._listeners.length;for(o=0;o!t.includes(n)).reduce((n,r)=>(n[r]=e[r],n),{})}function vp(e,t){const{method:n}=t,r=["delete","get","head","options"].includes(n.toLocaleLowerCase())?"params":"data";return Tt(Pe({},t),{[r]:e})}function gp(e){if(!e)return In;const{headers:t}=e;return t&&typeof t=="object"&&(In.headers=Pe(Pe({},In.headers),t)),Pe(Pe({},_p(e,"headers")),In)}const Je=class{constructor(){mt(this,"CancelToken",xr.CancelToken);mt(this,"sourceTokenList",[]);mt(this,"currentCancelTokenKey","");this.httpInterceptorsRequest(),this.httpInterceptorsResponse()}get cancelTokenList(){return this.sourceTokenList}set cancelTokenList(t){throw new Error("cancelTokenList\u4E0D\u5141\u8BB8\u8D4B\u503C")}static genUniqueKey(t){let n=t.data;return/GET/i.test(t.method+"")&&(n=t.params),`${t.url+""+Math.round(Math.random()*100)}--${JSON.stringify(n)}`}cancelRepeatRequest(){const t={};this.sourceTokenList=this.sourceTokenList.reduce((n,r)=>{const{cancelKey:o,cancelExecutor:a}=r;return t[o]?a():(t[o]=!0,n.push(r)),n},[])}deleteCancelTokenByCancelKey(t){this.sourceTokenList=this.sourceTokenList.length<1?this.sourceTokenList.filter(n=>n.cancelKey!==t):[]}httpInterceptorsRequest(){Je.axiosInstance.interceptors.request.use(t=>{const n=t,r=Je.genUniqueKey(n);return n.cancelToken=new this.CancelToken(o=>{this.sourceTokenList.push({cancelKey:r,cancelExecutor:o})}),this.cancelRepeatRequest(),this.currentCancelTokenKey=r,typeof t.beforeRequestCallback=="function"?(t.beforeRequestCallback(n),n):(Je.initConfig.beforeRequestCallback&&Je.initConfig.beforeRequestCallback(n),n)},t=>Promise.reject(t))}clearCancelTokenList(){this.sourceTokenList.length=0}httpInterceptorsResponse(){Je.axiosInstance.interceptors.response.use(n=>{const r=n.config,o=Je.genUniqueKey(r);return this.deleteCancelTokenByCancelKey(o),typeof r.beforeResponseCallback=="function"?(r.beforeResponseCallback(n),n.data):(Je.initConfig.beforeResponseCallback&&Je.initConfig.beforeResponseCallback(n),n.data)},n=>{const r=n;return this.currentCancelTokenKey&&this.sourceTokenList.filter(a=>a.cancelKey===this.currentCancelTokenKey).length&&(this.sourceTokenList=this.sourceTokenList.filter(a=>a.cancelKey!==this.currentCancelTokenKey),this.currentCancelTokenKey=""),r.isCancelRequest=xr.isCancel(r),Promise.reject(r)})}request(t,n,r,o){const a=vp(r,Pe({method:t,url:n},o));return new Promise((s,c)=>{Je.axiosInstance.request(a).then(l=>{s(l)}).catch(l=>{c(l)})})}post(t,n,r){return this.request("post",t,n,r)}get(t,n,r){return this.request("get",t,n,r)}};let Dt=Je;mt(Dt,"initConfig",{}),mt(Dt,"axiosInstance",xr.create(gp())),mt(Dt,"EnclosureHttpInstance");const we=new Dt,ee={github:{api:"https://api.github.com",org:"tinymce-plugin"},gitee:{api:"https://api.github.com",org:"tinymce-plugin"},jsdelivrApi:"https://cdn.jsdelivr.net/gh/tinymce-plugin"};var yp={async getRepos(){return await we.request("get",`${ee.github.api}/orgs/${ee.github.org}/repos?org=org&type=public&page=1&per_page=100`)},async getRepo(e){return await we.request("get",`${ee.github.api}/repos/${ee.github.org}/${e}`)},async getContributors(e){return await we.request("get",`${ee.github.api}/repos/${ee.github.org}/${e}/contributors?page=1&per_page=100`)},async getTags(e){return await we.request("get",`${ee.github.api}/repos/${ee.github.org}/${e}/tags`)},async getTopics(e){return await we.request("get",`${ee.github.api}/repos/${ee.github.org}/${e}/topics`)},async getPages(e){return await we.request("get",`${ee.github.api}/repos/${ee.github.org}/${e}/pages`)},async getCommitsList(e){return await we.request("get",`${ee.github.api}/repos/${ee.github.org}/${e}/commits?page=1&per_page=100`)},async getIssues(e){return await we.request("get",`${ee.github.api}/repos/${ee.github.org}/${e}/issues?page=1&per_page=100`)},async getViews(e){return await we.request("get",`${ee.github.api}/repos/${ee.github.org}/${e}/traffic/views`)},async getReleases(e){return await we.request("get",`${ee.github.api}/repos/${ee.github.org}/${e}/releases`)},async getReleasesLatest(e){return await we.request("get",`${ee.github.api}/repos/${ee.github.org}/${e}/releases/latest`)},async getContributorsList(e,t){return await we.request("get",`https://github.com/${ee.github.org}/${e}/contributors-list/main/${t}`)},async getContents(e,t=""){return await we.request("get",`${ee.github.api}/repos/${ee.github.org}/${e}/contents/${t}`)},async getTrees(e,t=""){return await we.request("get",`${ee.github.api}/repos/${ee.github.org}/${e}/git/trees/${t}`)}};const bp=Ds({id:"githubApi",state:()=>({}),actions:Pe({async getSiteMap(){return await we.request("get","/siteMap.json")||{}}},yp)}),Yt=Ds({id:"store",state:()=>{var e,t;return{pagePath:"index",pageRoute:[],language:(t=(e=zt.getItem("responsive-locale"))==null?void 0:e.locale)!=null?t:"zh",menuList:[],menuList_en:[],pagesObj:{_pagesPrev:{}},pagesObj_en:{_pagesPrev:{}},siteMap:{},openMenu:!1,completeMenu:!1}},actions:{async initRouter(){let e=this;const n=await bp().getSiteMap();e.siteMap=n.siteMap,window.__PRERENDER_ROUTES__=Pt.getRoutes();let r="_pagesPrev";n.routes.forEach(a=>{e.menuList.push(a)}),go.forEach(a=>{a.name!="redirect"&&e.menuList.push(a)}),JSON.parse(JSON.stringify(e.menuList)).forEach(a=>{a.children?a.children.forEach(s=>{s.children&&s.children.length>0?s.children.forEach(c=>{c.path=a.path+"/"+s.path.replace("/","")+"/"+c.path.replace("/",""),e.pagesObj[r].pagesNext=c.name,c.pagesPrev=r,r=c.name,e.pagesObj[c.name]=c}):(s.path=a.path+"/"+s.path.replace("/",""),e.pagesObj[r].pagesNext=s.name,s.pagesPrev=r,r=s.name,e.pagesObj[s.name]=s)}):(e.pagesObj[r].pagesNext=a.name,a.pagesPrev=r,e.pagesObj[a.name]=a,r=a.name)}),n.routes_en.forEach(a=>{e.menuList_en.push(a)});let o="_pagesPrev";JSON.parse(JSON.stringify(e.menuList_en)).forEach(a=>{a.children?a.children.forEach(s=>{s.children&&s.children.length>0?s.children.forEach(c=>{c.path=a.path+"/"+s.path.replace("/","")+"/"+c.path.replace("/",""),e.pagesObj_en[o].pagesNext=c.name,c.pagesPrev=o,o=c.name,e.pagesObj_en[c.name]=c}):(s.path=a.path+"/"+s.path.replace("/",""),e.pagesObj_en[o].pagesNext=s.name,s.pagesPrev=o,o=s.name,e.pagesObj_en[s.name]=s)}):(e.pagesObj_en[o].pagesNext=a.name,a.pagesPrev=o,e.pagesObj_en[a.name]=a,o=a.name)}),setTimeout(()=>{e.completeMenu=!0},300)},initStore(){this.initRouter()},setPagePath(e,t,n){let r=this;r.pagePath=e,r.pageRoute=n},getPagePath(e){let t=this;t.isShow=wc(e,"value")},chanageLanguage(e){this.$patch({language:e});let t=window.location.pathname;t=(e==="en"?"/en":"")+t.replace(/^\/en/,""),Pt.push(t)}}});const wp={class:"items"},Sp={class:"title"},Ep=z({__name:"TPNavBarTranslations",setup(e){const{theme:t}=Ct(),{locale:n}=Qt(),r=Yt(),o=Gt().appContext.config.globalProperties.$storage;function a(s){o.locale={locale:s},n.value=s,r.chanageLanguage(s)}return o.locale={locale:r.language},n.value=r.language,(s,c)=>W(t).localeLinks?(k(),oe(ri,{key:0,class:"TPNavBarTranslations",icon:Xs},{default:fe(()=>[g("div",wp,[g("p",Sp,M(W(t).localeLinks.text),1),(k(!0),T(Te,null,nt(W(t).localeLinks.items,l=>(k(),oe(fr,{key:l.link,item:l,isLang:!0,class:Ie(l.link==W(r).language?"active-lang":""),onClick:u=>a(l.link)},null,8,["item","class","onClick"]))),128))])]),_:1})):ne("",!0)}});var Op=B(Ep,[["__scopeId","data-v-66e6cf4c"]]);const Pp={},kp={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},Cp=g("path",{d:"M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-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-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"},null,-1),Ip=[Cp];function Tp(e,t){return k(),T("svg",kp,Ip)}var xp=B(Pp,[["render",Tp]]);const Rp=["href","title"],Ap={class:"visually-hidden"},jp=z({__name:"TPSocialLink",props:{icon:null,link:null},setup(e){const t={github:xp};return(n,r)=>(k(),T("a",{class:"TPSocialLink",href:e.link,title:e.icon,target:"_blank",rel:"noopener noreferrer"},[(k(),oe(lo(t[e.icon]),{class:"icon"})),g("span",Ap,M(e.icon),1)],8,Rp))}});var $p=B(jp,[["__scopeId","data-v-726b0561"]]);const Lp={class:"TPSocialLinks"},Dp=z({__name:"TPSocialLinks",props:{links:null},setup(e){return(t,n)=>(k(),T("div",Lp,[(k(!0),T(Te,null,nt(e.links,({link:r,icon:o})=>(k(),oe($p,{key:r,icon:o,link:r},null,8,["icon","link"]))),128))]))}});var ki=B(Dp,[["__scopeId","data-v-0d39b266"]]);const Np=z({__name:"TPNavBarSocialLinks",setup(e){const{theme:t}=Ct();return(n,r)=>W(t).socialLinks?(k(),oe(ki,{key:0,class:"TPNavBarSocialLinks",links:W(t).socialLinks},null,8,["links"])):ne("",!0)}});var Ci=B(Np,[["__scopeId","data-v-20895bda"]]);const Mp=e=>(lt("data-v-56499ac6"),e=e(),ut(),e),zp={key:0,class:"group"},Fp={class:"trans-title"},Bp={key:1,class:"group"},Hp={class:"item appearance"},qp=Mp(()=>g("p",{class:"label"},"Appearance",-1)),Vp={class:"appearance-action"},Up={key:2,class:"group"},Wp={class:"item social-links"},Kp=z({__name:"TPNavBarExtra",setup(e){const{locale:t}=Qt(),n=Gt().appContext.config.globalProperties.$storage,r=Yt();function o(c){n.locale={locale:c},t.value=c}n.locale={locale:r.language},t.value=r.language;const{site:a,theme:s}=Ct();return(c,l)=>(k(),oe(ri,{class:"TPNavBarExtra",label:"extra navigation"},{default:fe(()=>[W(s).localeLinks?(k(),T("div",zp,[g("p",Fp,M(W(s).localeLinks.text),1),(k(!0),T(Te,null,nt(W(s).localeLinks.items,u=>(k(),oe(fr,{key:u.link,item:u,isLang:!0,class:Ie(u.link==W(r).language?"active-lang":""),onClick:i=>o(u.link)},null,8,["item","class","onClick"]))),128))])):ne("",!0),W(a).appearance?(k(),T("div",Bp,[g("div",Hp,[qp,g("div",Vp,[Y(po)])])])):ne("",!0),W(s).socialLinks?(k(),T("div",Up,[g("div",Wp,[Y(Ci,{class:"social-links-list",links:W(s).socialLinks},null,8,["links"])])])):ne("",!0)]),_:1}))}});var Gp=B(Kp,[["__scopeId","data-v-56499ac6"]]);function Jp(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t1),qt=[],Zn=!1,Po=-1,un=void 0,St=void 0,fn=void 0,Ii=function(t){return qt.some(function(n){return!!(n.options.allowTouchMove&&n.options.allowTouchMove(t))})},er=function(t){var n=t||window.event;return Ii(n.target)||n.touches.length>1?!0:(n.preventDefault&&n.preventDefault(),!1)},Qp=function(t){if(fn===void 0){var n=!!t&&t.reserveScrollBarGap===!0,r=window.innerWidth-document.documentElement.clientWidth;if(n&&r>0){var o=parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right"),10);fn=document.body.style.paddingRight,document.body.style.paddingRight=o+r+"px"}}un===void 0&&(un=document.body.style.overflow,document.body.style.overflow="hidden")},Yp=function(){fn!==void 0&&(document.body.style.paddingRight=fn,fn=void 0),un!==void 0&&(document.body.style.overflow=un,un=void 0)},Xp=function(){return window.requestAnimationFrame(function(){if(St===void 0){St={position:document.body.style.position,top:document.body.style.top,left:document.body.style.left};var t=window,n=t.scrollY,r=t.scrollX,o=t.innerHeight;document.body.style.position="fixed",document.body.style.top=-n,document.body.style.left=-r,setTimeout(function(){return window.requestAnimationFrame(function(){var a=o-window.innerHeight;a&&n>=o&&(document.body.style.top=-(n+a))})},300)}})},Zp=function(){if(St!==void 0){var t=-parseInt(document.body.style.top,10),n=-parseInt(document.body.style.left,10);document.body.style.position=St.position,document.body.style.top=St.top,document.body.style.left=St.left,window.scrollTo(n,t),St=void 0}},e0=function(t){return t?t.scrollHeight-t.scrollTop<=t.clientHeight:!1},t0=function(t,n){var r=t.targetTouches[0].clientY-Po;return Ii(t.target)?!1:n&&n.scrollTop===0&&r>0||e0(n)&&r<0?er(t):(t.stopPropagation(),!0)},n0=function(t,n){if(!t){console.error("disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.");return}if(!qt.some(function(o){return o.targetElement===t})){var r={targetElement:t,options:n||{}};qt=[].concat(Jp(qt),[r]),Xn?Xp():Qp(n),Xn&&(t.ontouchstart=function(o){o.targetTouches.length===1&&(Po=o.targetTouches[0].clientY)},t.ontouchmove=function(o){o.targetTouches.length===1&&t0(o,t)},Zn||(document.addEventListener("touchmove",er,Oo?{passive:!1}:void 0),Zn=!0))}},r0=function(){Xn&&(qt.forEach(function(t){t.targetElement.ontouchstart=null,t.targetElement.ontouchmove=null}),Zn&&(document.removeEventListener("touchmove",er,Oo?{passive:!1}:void 0),Zn=!1),Po=-1),Xn?Zp():Yp(),qt=[]};const o0=e=>(lt("data-v-4366e6fc"),e=e(),ut(),e),a0={key:0,class:"TPNavScreenAppearance"},s0=o0(()=>g("p",{class:"text"},"Appearance",-1)),i0=z({__name:"TPNavScreenAppearance",setup(e){const{site:t}=Ct();return(n,r)=>W(t).appearance?(k(),T("div",a0,[s0,Y(po)])):ne("",!0)}});var c0=B(i0,[["__scopeId","data-v-4366e6fc"]]);const l0={class:"list"},u0=["onClick"],f0=z({__name:"TPNavScreenTranslations",setup(e){const{locale:t}=Qt(),n=Gt().appContext.config.globalProperties.$storage,r=Yt();function o(l){n.locale={locale:l},t.value=l,r.chanageLanguage(l)}const{theme:a}=Ct(),s=q(!1);n.locale={locale:r.language},t.value=r.language;function c(){s.value=!s.value}return(l,u)=>W(a).localeLinks?(k(),T("div",{key:0,class:Ie(["TPNavScreenTranslations",{open:s.value}])},[g("button",{class:"title",onClick:c},[Y(Xs,{class:"icon lang"}),He(" "+M(W(a).localeLinks.text)+" ",1),Y(ti,{class:"icon chevron"})]),g("ul",l0,[(k(!0),T(Te,null,nt(W(a).localeLinks.items,i=>(k(),T("li",{key:i.link,class:"item"},[g("a",{class:Ie(["link",i.link==W(r).language?"active-lang":""]),onClick:f=>o(i.link)},M(i.text),11,u0)]))),128))])],2)):ne("",!0)}});var d0=B(f0,[["__scopeId","data-v-3d897805"]]);const p0=z({__name:"TPNavScreenSocialLinks",setup(e){const{theme:t}=Ct();return(n,r)=>W(t).socialLinks?(k(),oe(ki,{key:0,class:"TPNavScreenSocialLinks",links:W(t).socialLinks},null,8,["links"])):ne("",!0)}});const m0={class:"container"},h0=z({__name:"TPNavScreen",props:{open:{type:Boolean}},setup(e){const t=q(null);function n(){n0(t.value,{reserveScrollBarGap:!0})}function r(){r0()}return(o,a)=>(k(),oe(Sc,{name:"fade",onEnter:n,onAfterLeave:r},{default:fe(()=>[e.open?(k(),T("div",{key:0,class:"TPNavScreen",ref_key:"screen",ref:t},[g("div",m0,[Y(d0,{class:"translations"}),Y(c0,{class:"appearance"}),Y(p0,{class:"social-links"})])],512)):ne("",!0)]),_:1}))}});var _0=B(h0,[["__scopeId","data-v-d978e206"]]);const v0=e=>(lt("data-v-5da7a721"),e=e(),ut(),e),g0=["aria-expanded"],y0=v0(()=>g("span",{class:"container"},[g("span",{class:"top"}),g("span",{class:"middle"}),g("span",{class:"bottom"})],-1)),b0=[y0],w0=z({__name:"TPNavBarHamburger",props:{active:{type:Boolean}},emits:["click"],setup(e){return(t,n)=>(k(),T("button",{type:"button",class:Ie(["TPNavBarHamburger",{active:e.active}]),"aria-label":"mobile navigation","aria-expanded":e.active,"aria-controls":"TPNavScreen",onClick:n[0]||(n[0]=r=>t.$emit("click"))},b0,10,g0))}});var S0=B(w0,[["__scopeId","data-v-5da7a721"]]);/*! @docsearch/js 3.1.0 | MIT License | © Algolia, Inc. and contributors | https://docsearch.algolia.com */function Oa(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function Q(e){for(var t=1;t=0||(i[l]=s[l]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function tr(e,t){return function(n){if(Array.isArray(n))return n}(e)||function(n,r){var o=n==null?null:typeof Symbol!="undefined"&&n[Symbol.iterator]||n["@@iterator"];if(o!=null){var a,s,c=[],l=!0,u=!1;try{for(o=o.call(n);!(l=(a=o.next()).done)&&(c.push(a.value),!r||c.length!==r);l=!0);}catch(i){u=!0,s=i}finally{try{l||o.return==null||o.return()}finally{if(u)throw s}}return c}}(e,t)||Ti(e,t)||function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function nr(e){return function(t){if(Array.isArray(t))return Yr(t)}(e)||function(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}(e)||Ti(e)||function(){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 Ti(e,t){if(e){if(typeof e=="string")return Yr(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Yr(e,t):void 0}}function Yr(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n3)for(n=[n],a=3;a0?pn(m.type,m.props,m.key,null,m.__v):m)!=null){if(m.__=n,m.__b=n.__b+1,(d=b[i])===null||d&&m.key==d.key&&m.type===d.type)b[i]=void 0;else for(f=0;f3)for(n=[n],a=3;a=n.__.length&&n.__.push({}),n.__[e]}function La(e,t,n){var r=bn(Kt++,2);return r.t=e,r.__c||(r.__=[n?n(t):Bi(void 0,t),function(o){var a=r.t(r.__[0],o);r.__[0]!==a&&(r.__=[a,r.__[1]],r.__c.setState({}))}],r.__c=Re),r.__}function Da(e,t){var n=bn(Kt++,4);!$.__s&&Io(n.__H,t)&&(n.__=e,n.__H=t,Re.__h.push(n))}function Bn(e,t){var n=bn(Kt++,7);return Io(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function T0(){Zr.forEach(function(e){if(e.__P)try{e.__H.__h.forEach(Hn),e.__H.__h.forEach(eo),e.__H.__h=[]}catch(t){e.__H.__h=[],$.__e(t,e.__v)}}),Zr=[]}$.__b=function(e){Re=null,xa&&xa(e)},$.__r=function(e){Ra&&Ra(e),Kt=0;var t=(Re=e.__c).__H;t&&(t.__h.forEach(Hn),t.__h.forEach(eo),t.__h=[])},$.diffed=function(e){Aa&&Aa(e);var t=e.__c;t&&t.__H&&t.__H.__h.length&&(Zr.push(t)!==1&&Ta===$.requestAnimationFrame||((Ta=$.requestAnimationFrame)||function(n){var r,o=function(){clearTimeout(a),Na&&cancelAnimationFrame(r),setTimeout(n)},a=setTimeout(o,100);Na&&(r=requestAnimationFrame(o))})(T0)),Re=void 0},$.__c=function(e,t){t.some(function(n){try{n.__h.forEach(Hn),n.__h=n.__h.filter(function(r){return!r.__||eo(r)})}catch(r){t.some(function(o){o.__h&&(o.__h=[])}),t=[],$.__e(r,n.__v)}}),ja&&ja(e,t)},$.unmount=function(e){$a&&$a(e);var t=e.__c;if(t&&t.__H)try{t.__H.__.forEach(Hn)}catch(n){$.__e(n,t.__v)}};var Na=typeof requestAnimationFrame=="function";function Hn(e){var t=Re;typeof e.__c=="function"&&e.__c(),Re=t}function eo(e){var t=Re;e.__c=e.__(),Re=t}function Io(e,t){return!e||e.length!==t.length||t.some(function(n,r){return n!==e[r]})}function Bi(e,t){return typeof t=="function"?t(e):t}function Hi(e,t){for(var n in t)e[n]=t[n];return e}function to(e,t){for(var n in e)if(n!=="__source"&&!(n in t))return!0;for(var r in t)if(r!=="__source"&&e[r]!==t[r])return!0;return!1}function no(e){this.props=e}(no.prototype=new rt).isPureReactComponent=!0,no.prototype.shouldComponentUpdate=function(e,t){return to(this.props,e)||to(this.state,t)};var Ma=$.__b;$.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),Ma&&Ma(e)};var x0=typeof Symbol!="undefined"&&Symbol.for&&Symbol.for("react.forward_ref")||3911,za=function(e,t){return e==null?null:it(it(e).map(t))},R0={map:za,forEach:za,count:function(e){return e?it(e).length:0},only:function(e){var t=it(e);if(t.length!==1)throw"Children.only";return t[0]},toArray:it},A0=$.__e;function qn(){this.__u=0,this.t=null,this.__b=null}function qi(e){var t=e.__.__c;return t&&t.__e&&t.__e(e)}function an(){this.u=null,this.o=null}$.__e=function(e,t,n){if(e.then){for(var r,o=t;o=o.__;)if((r=o.__c)&&r.__c)return t.__e==null&&(t.__e=n.__e,t.__k=n.__k),r.__c(e,t)}A0(e,t,n)},(qn.prototype=new rt).__c=function(e,t){var n=t.__c,r=this;r.t==null&&(r.t=[]),r.t.push(n);var o=qi(r.__v),a=!1,s=function(){a||(a=!0,n.componentWillUnmount=n.__c,o?o(c):c())};n.__c=n.componentWillUnmount,n.componentWillUnmount=function(){s(),n.__c&&n.__c()};var c=function(){if(!--r.__u){if(r.state.__e){var u=r.state.__e;r.__v.__k[0]=function f(d,m,p){return d&&(d.__v=null,d.__k=d.__k&&d.__k.map(function(h){return f(h,m,p)}),d.__c&&d.__c.__P===m&&(d.__e&&p.insertBefore(d.__e,d.__d),d.__c.__e=!0,d.__c.__P=p)),d}(u,u.__c.__P,u.__c.__O)}var i;for(r.setState({__e:r.__b=null});i=r.t.pop();)i.forceUpdate()}},l=t.__h===!0;r.__u++||l||r.setState({__e:r.__b=r.__v.__k[0]}),e.then(s,s)},qn.prototype.componentWillUnmount=function(){this.t=[]},qn.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=function a(s,c,l){return s&&(s.__c&&s.__c.__H&&(s.__c.__H.__.forEach(function(u){typeof u.__c=="function"&&u.__c()}),s.__c.__H=null),(s=Hi({},s)).__c!=null&&(s.__c.__P===l&&(s.__c.__P=c),s.__c=null),s.__k=s.__k&&s.__k.map(function(u){return a(u,c,l)})),s}(this.__b,n,r.__O=r.__P)}this.__b=null}var o=t.__e&&tt(gt,null,e.fallback);return o&&(o.__h=null),[tt(gt,null,t.__e?null:e.children),o]};var Fa=function(e,t,n){if(++n[1]===n[0]&&e.o.delete(t),e.props.revealOrder&&(e.props.revealOrder[0]!=="t"||!e.o.size))for(n=e.u;n;){for(;n.length>3;)n.pop()();if(n[1]>>1,1),t.i.removeChild(r)}}),yn(tt(j0,{context:t.context},e.__v),t.l)):t.l&&t.componentWillUnmount()}function Vi(e,t){return tt($0,{__v:e,i:t})}(an.prototype=new rt).__e=function(e){var t=this,n=qi(t.__v),r=t.o.get(e);return r[0]++,function(o){var a=function(){t.props.revealOrder?(r.push(o),Fa(t,e,r)):o()};n?n(a):a()}},an.prototype.render=function(e){this.u=null,this.o=new Map;var t=it(e.children);e.revealOrder&&e.revealOrder[0]==="b"&&t.reverse();for(var n=t.length;n--;)this.o.set(t[n],this.u=[1,0,this.u]);return e.children},an.prototype.componentDidUpdate=an.prototype.componentDidMount=function(){var e=this;this.o.forEach(function(t,n){Fa(e,n,t)})};var Ui=typeof Symbol!="undefined"&&Symbol.for&&Symbol.for("react.element")||60103,L0=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|fill|flood|font|glyph(?!R)|horiz|marker(?!H|W|U)|overline|paint|stop|strikethrough|stroke|text(?!L)|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,D0=function(e){return(typeof Symbol!="undefined"&&vn(Symbol())=="symbol"?/fil|che|rad/i:/fil|che|ra/i).test(e)};function Wi(e,t,n){return t.__k==null&&(t.textContent=""),yn(e,t),typeof n=="function"&&n(),e?e.__c:null}rt.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(rt.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var Ba=$.event;function N0(){}function M0(){return this.cancelBubble}function z0(){return this.defaultPrevented}$.event=function(e){return Ba&&(e=Ba(e)),e.persist=N0,e.isPropagationStopped=M0,e.isDefaultPrevented=z0,e.nativeEvent=e};var Ki,Ha={configurable:!0,get:function(){return this.class}},qa=$.vnode;$.vnode=function(e){var t=e.type,n=e.props,r=n;if(typeof t=="string"){for(var o in r={},n){var a=n[o];o==="value"&&"defaultValue"in n&&a==null||(o==="defaultValue"&&"value"in n&&n.value==null?o="value":o==="download"&&a===!0?a="":/ondoubleclick/i.test(o)?o="ondblclick":/^onchange(textarea|input)/i.test(o+t)&&!D0(n.type)?o="oninput":/^on(Ani|Tra|Tou|BeforeInp)/.test(o)?o=o.toLowerCase():L0.test(o)?o=o.replace(/[A-Z0-9]/,"-$&").toLowerCase():a===null&&(a=void 0),r[o]=a)}t=="select"&&r.multiple&&Array.isArray(r.value)&&(r.value=it(n.children).forEach(function(s){s.props.selected=r.value.indexOf(s.props.value)!=-1})),t=="select"&&r.defaultValue!=null&&(r.value=it(n.children).forEach(function(s){s.props.selected=r.multiple?r.defaultValue.indexOf(s.props.value)!=-1:r.defaultValue==s.props.value})),e.props=r}t&&n.class!=n.className&&(Ha.enumerable="className"in n,n.className!=null&&(r.class=n.className),Object.defineProperty(r,"className",Ha)),e.$$typeof=Ui,qa&&qa(e)};var Va=$.__r;$.__r=function(e){Va&&Va(e),Ki=e.__c};var F0={ReactCurrentDispatcher:{current:{readContext:function(e){return Ki.__n[e.__c].props.value}}}};(typeof performance=="undefined"?"undefined":vn(performance))=="object"&&typeof performance.now=="function"&&performance.now.bind(performance);function Ua(e){return!!e&&e.$$typeof===Ui}var _={useState:function(e){return Ft=1,La(Bi,e)},useReducer:La,useEffect:function(e,t){var n=bn(Kt++,3);!$.__s&&Io(n.__H,t)&&(n.__=e,n.__H=t,Re.__H.__h.push(n))},useLayoutEffect:Da,useRef:function(e){return Ft=5,Bn(function(){return{current:e}},[])},useImperativeHandle:function(e,t,n){Ft=6,Da(function(){typeof e=="function"?e(t()):e&&(e.current=t())},n==null?n:n.concat(e))},useMemo:Bn,useCallback:function(e,t){return Ft=8,Bn(function(){return e},t)},useContext:function(e){var t=Re.context[e.__c],n=bn(Kt++,9);return n.__c=e,t?(n.__==null&&(n.__=!0,t.sub(Re)),t.props.value):e.__},useDebugValue:function(e,t){$.useDebugValue&&$.useDebugValue(t?t(e):e)},version:"16.8.0",Children:R0,render:Wi,hydrate:function(e,t,n){return Fi(e,t),typeof n=="function"&&n(),e?e.__c:null},unmountComponentAtNode:function(e){return!!e.__k&&(yn(null,e),!0)},createPortal:Vi,createElement:tt,createContext:function(e,t){var n={__c:t="__cC"+Ri++,__:e,Consumer:function(r,o){return r.children(o)},Provider:function(r){var o,a;return this.getChildContext||(o=[],(a={})[t]=this,this.getChildContext=function(){return a},this.shouldComponentUpdate=function(s){this.props.value!==s.value&&o.some(Xr)},this.sub=function(s){o.push(s);var c=s.componentWillUnmount;s.componentWillUnmount=function(){o.splice(o.indexOf(s),1),c&&c.call(s)}}),r.children}};return n.Provider.__=n.Consumer.contextType=n},createFactory:function(e){return tt.bind(null,e)},cloneElement:function(e){return Ua(e)?I0.apply(null,arguments):e},createRef:function(){return{current:null}},Fragment:gt,isValidElement:Ua,findDOMNode:function(e){return e&&(e.base||e.nodeType===1&&e)||null},Component:rt,PureComponent:no,memo:function(e,t){function n(o){var a=this.props.ref,s=a==o.ref;return!s&&a&&(a.call?a(null):a.current=null),t?!t(this.props,o)||!s:to(this.props,o)}function r(o){return this.shouldComponentUpdate=n,tt(e,o)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r},forwardRef:function(e){function t(n,r){var o=Hi({},n);return delete o.ref,e(o,(r=n.ref||r)&&(vn(r)!="object"||"current"in r)?r:null)}return t.$$typeof=x0,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t},unstable_batchedUpdates:function(e,t){return e(t)},StrictMode:gt,Suspense:qn,SuspenseList:an,lazy:function(e){var t,n,r;function o(a){if(t||(t=e()).then(function(s){n=s.default||s},function(s){r=s}),r)throw r;if(!n)throw t;return tt(n,a)}return o.displayName="Lazy",o.__f=!0,o},__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:F0};function B0(){return _.createElement("svg",{width:"15",height:"15",className:"DocSearch-Control-Key-Icon"},_.createElement("path",{d:"M4.505 4.496h2M5.505 5.496v5M8.216 4.496l.055 5.993M10 7.5c.333.333.5.667.5 1v2M12.326 4.5v5.996M8.384 4.496c1.674 0 2.116 0 2.116 1.5s-.442 1.5-2.116 1.5M3.205 9.303c-.09.448-.277 1.21-1.241 1.203C1 10.5.5 9.513.5 8V7c0-1.57.5-2.5 1.464-2.494.964.006 1.134.598 1.24 1.342M12.553 10.5h1.953",strokeWidth:"1.2",stroke:"currentColor",fill:"none",strokeLinecap:"square"}))}function Gi(){return _.createElement("svg",{width:"20",height:"20",className:"DocSearch-Search-Icon",viewBox:"0 0 20 20"},_.createElement("path",{d:"M14.386 14.386l4.0877 4.0877-4.0877-4.0877c-2.9418 2.9419-7.7115 2.9419-10.6533 0-2.9419-2.9418-2.9419-7.7115 0-10.6533 2.9418-2.9419 7.7115-2.9419 10.6533 0 2.9419 2.9418 2.9419 7.7115 0 10.6533z",stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round"}))}var H0=["translations"];function ro(){return ro=Object.assign||function(e){for(var t=1;t=0||(i[l]=s[l]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var V0=_.forwardRef(function(e,t){var n=e.translations,r=n===void 0?{}:n,o=q0(e,H0),a=r.buttonText,s=a===void 0?"Search":a,c=r.buttonAriaLabel,l=c===void 0?"Search":c,u=Bn(function(){return typeof navigator!="undefined"?/(Mac|iPhone|iPod|iPad)/i.test(navigator.platform)?"\u2318":"Ctrl":null},[]);return _.createElement("button",ro({type:"button",className:"DocSearch DocSearch-Button","aria-label":l},o,{ref:t}),_.createElement("span",{className:"DocSearch-Button-Container"},_.createElement(Gi,null),_.createElement("span",{className:"DocSearch-Button-Placeholder"},s)),_.createElement("span",{className:"DocSearch-Button-Keys"},u!==null&&_.createElement(_.Fragment,null,_.createElement("kbd",{className:"DocSearch-Button-Key"},u==="Ctrl"?_.createElement(B0,null):u),_.createElement("kbd",{className:"DocSearch-Button-Key"},"K"))))});function wn(e){return e.reduce(function(t,n){return t.concat(n)},[])}var U0=0;function oo(e){return e.collections.length===0?0:e.collections.reduce(function(t,n){return t+n.items.length},0)}var W0=function(){},K0=[{segment:"autocomplete-core",version:"1.6.3"}];function Vn(e,t){var n=t;return{then:function(r,o){return Vn(e.then(xn(r,n,e),xn(o,n,e)),n)},catch:function(r){return Vn(e.catch(xn(r,n,e)),n)},finally:function(r){return r&&n.onCancelList.push(r),Vn(e.finally(xn(r&&function(){return n.onCancelList=[],r()},n,e)),n)},cancel:function(){n.isCanceled=!0;var r=n.onCancelList;n.onCancelList=[],r.forEach(function(o){o()})},isCanceled:function(){return n.isCanceled===!0}}}function Wa(e){return Vn(e,{isCanceled:!1,onCancelList:[]})}function xn(e,t,n){return e?function(r){return t.isCanceled?r:e(r)}:n}function Ka(e,t,n,r){if(!n)return null;if(e<0&&(t===null||r!==null&&t===0))return n+e;var o=(t===null?-1:t)+e;return o<=-1||o>=n?r===null?null:0:o}function Ga(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function G0(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function J0(e,t){var n=[];return Promise.resolve(e(t)).then(function(r){return Promise.all(r.filter(function(o){return Boolean(o)}).map(function(o){if(o.sourceId,n.includes(o.sourceId))throw new Error("[Autocomplete] The `sourceId` ".concat(JSON.stringify(o.sourceId)," is not unique."));n.push(o.sourceId);var a=function(s){for(var c=1;ce.length)&&(t=e.length);for(var n=0,r=new Array(t);ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0||(i[l]=s[l]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var rs,jr,Ln,nn=null,os=(rs=-1,jr=-1,Ln=void 0,function(e){var t=++rs;return Promise.resolve(e).then(function(n){return Ln&&t=0||(i[l]=s[l]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var m1=["props","refresh","store"],h1=["inputElement","formElement","panelElement"],_1=["inputElement"],v1=["inputElement","maxLength"],g1=["item","source"];function ss(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function be(e){for(var t=1;t=0||(i[l]=s[l]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function b1(e){var t=e.props,n=e.refresh,r=e.store,o=rn(e,m1);return{getEnvironmentProps:function(a){var s=a.inputElement,c=a.formElement,l=a.panelElement;return be({onTouchStart:function(u){!r.getState().isOpen&&r.pendingRequests.isEmpty()||u.target===s||[c,l].some(function(i){return f=i,d=u.target,f===d||f.contains(d);var f,d})===!1&&(r.dispatch("blur",null),t.debug||r.pendingRequests.cancelAll())},onTouchMove:function(u){r.getState().isOpen!==!1&&s===t.environment.document.activeElement&&u.target!==s&&s.blur()}},rn(a,h1))},getRootProps:function(a){return be({role:"combobox","aria-expanded":r.getState().isOpen,"aria-haspopup":"listbox","aria-owns":r.getState().isOpen?"".concat(t.id,"-list"):void 0,"aria-labelledby":"".concat(t.id,"-label")},a)},getFormProps:function(a){return a.inputElement,be({action:"",noValidate:!0,role:"search",onSubmit:function(s){var c;s.preventDefault(),t.onSubmit(be({event:s,refresh:n,state:r.getState()},o)),r.dispatch("submit",null),(c=a.inputElement)===null||c===void 0||c.blur()},onReset:function(s){var c;s.preventDefault(),t.onReset(be({event:s,refresh:n,state:r.getState()},o)),r.dispatch("reset",null),(c=a.inputElement)===null||c===void 0||c.focus()}},rn(a,_1))},getLabelProps:function(a){return be({htmlFor:"".concat(t.id,"-input"),id:"".concat(t.id,"-label")},a)},getInputProps:function(a){var s;function c(v){(t.openOnFocus||Boolean(r.getState().query))&&Nt(be({event:v,props:t,query:r.getState().completion||r.getState().query,refresh:n,store:r},o)),r.dispatch("focus",null)}var l="ontouchstart"in t.environment,u=a||{},i=(u.inputElement,u.maxLength),f=i===void 0?512:i,d=rn(u,v1),m=Bt(r.getState()),p=function(v){return Boolean(v&&v.match(Q0))}((s=t.environment.navigator)===null||s===void 0?void 0:s.userAgent),h=m!=null&&m.itemUrl&&!p?"go":"search";return be({"aria-autocomplete":"both","aria-activedescendant":r.getState().isOpen&&r.getState().activeItemId!==null?"".concat(t.id,"-item-").concat(r.getState().activeItemId):void 0,"aria-controls":r.getState().isOpen?"".concat(t.id,"-list"):void 0,"aria-labelledby":"".concat(t.id,"-label"),value:r.getState().completion||r.getState().query,id:"".concat(t.id,"-input"),autoComplete:"off",autoCorrect:"off",autoCapitalize:"off",enterKeyHint:h,spellCheck:"false",autoFocus:t.autoFocus,placeholder:t.placeholder,maxLength:f,type:"search",onChange:function(v){Nt(be({event:v,props:t,query:v.currentTarget.value.slice(0,f),refresh:n,store:r},o))},onKeyDown:function(v){(function(b){var w=b.event,O=b.props,y=b.refresh,S=b.store,A=p1(b,f1);if(w.key==="ArrowUp"||w.key==="ArrowDown"){var V=function(){var le=O.environment.document.getElementById("".concat(O.id,"-item-").concat(S.getState().activeItemId));le&&(le.scrollIntoViewIfNeeded?le.scrollIntoViewIfNeeded(!1):le.scrollIntoView(!1))},G=function(){var le=Bt(S.getState());if(S.getState().activeItemId!==null&&le){var Ve=le.item,Oe=le.itemInputValue,Ke=le.itemUrl,Ye=le.source;Ye.onActive(bt({event:w,item:Ve,itemInputValue:Oe,itemUrl:Ke,refresh:y,source:Ye,state:S.getState()},A))}};w.preventDefault(),S.getState().isOpen===!1&&(O.openOnFocus||Boolean(S.getState().query))?Nt(bt({event:w,props:O,query:S.getState().query,refresh:y,store:S},A)).then(function(){S.dispatch(w.key,{nextActiveItemId:O.defaultActiveItemId}),G(),setTimeout(V,0)}):(S.dispatch(w.key,{}),G(),V())}else if(w.key==="Escape")w.preventDefault(),S.dispatch(w.key,null),S.pendingRequests.cancelAll();else if(w.key==="Enter"){if(S.getState().activeItemId===null||S.getState().collections.every(function(le){return le.items.length===0}))return;w.preventDefault();var X=Bt(S.getState()),ae=X.item,je=X.itemInputValue,pe=X.itemUrl,$e=X.source;if(w.metaKey||w.ctrlKey)pe!==void 0&&($e.onSelect(bt({event:w,item:ae,itemInputValue:je,itemUrl:pe,refresh:y,source:$e,state:S.getState()},A)),O.navigator.navigateNewTab({itemUrl:pe,item:ae,state:S.getState()}));else if(w.shiftKey)pe!==void 0&&($e.onSelect(bt({event:w,item:ae,itemInputValue:je,itemUrl:pe,refresh:y,source:$e,state:S.getState()},A)),O.navigator.navigateNewWindow({itemUrl:pe,item:ae,state:S.getState()}));else if(!w.altKey){if(pe!==void 0)return $e.onSelect(bt({event:w,item:ae,itemInputValue:je,itemUrl:pe,refresh:y,source:$e,state:S.getState()},A)),void O.navigator.navigate({itemUrl:pe,item:ae,state:S.getState()});Nt(bt({event:w,nextState:{isOpen:!1},props:O,query:je,refresh:y,store:S},A)).then(function(){$e.onSelect(bt({event:w,item:ae,itemInputValue:je,itemUrl:pe,refresh:y,source:$e,state:S.getState()},A))})}}})(be({event:v,props:t,refresh:n,store:r},o))},onFocus:c,onBlur:function(){l||(r.dispatch("blur",null),t.debug||r.pendingRequests.cancelAll())},onClick:function(v){a.inputElement!==t.environment.document.activeElement||r.getState().isOpen||c(v)}},d)},getPanelProps:function(a){return be({onMouseDown:function(s){s.preventDefault()},onMouseLeave:function(){r.dispatch("mouseleave",null)}},a)},getListProps:function(a){return be({role:"listbox","aria-labelledby":"".concat(t.id,"-label"),id:"".concat(t.id,"-list")},a)},getItemProps:function(a){var s=a.item,c=a.source,l=rn(a,g1);return be({id:"".concat(t.id,"-item-").concat(s.__autocomplete_id),role:"option","aria-selected":r.getState().activeItemId===s.__autocomplete_id,onMouseMove:function(u){if(s.__autocomplete_id!==r.getState().activeItemId){r.dispatch("mousemove",s.__autocomplete_id);var i=Bt(r.getState());if(r.getState().activeItemId!==null&&i){var f=i.item,d=i.itemInputValue,m=i.itemUrl,p=i.source;p.onActive(be({event:u,item:f,itemInputValue:d,itemUrl:m,refresh:n,source:p,state:r.getState()},o))}}},onMouseDown:function(u){u.preventDefault()},onClick:function(u){var i=c.getItemInputValue({item:s,state:r.getState()}),f=c.getItemUrl({item:s,state:r.getState()});(f?Promise.resolve():Nt(be({event:u,nextState:{isOpen:!1},props:t,query:i,refresh:n,store:r},o))).then(function(){c.onSelect(be({event:u,item:s,itemInputValue:i,itemUrl:f,refresh:n,source:c,state:r.getState()},o))})}},l)}}}function is(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function w1(e){for(var t=1;t0},reshape:function(d){return d.sources}},c),{},{id:(u=c.id)!==null&&u!==void 0?u:"autocomplete-".concat(U0++),plugins:f,initialState:jt({activeItemId:null,query:"",completion:null,collections:[],isOpen:!1,status:"idle",context:{}},c.initialState),onStateChange:function(d){var m;(m=c.onStateChange)===null||m===void 0||m.call(c,d),f.forEach(function(p){var h;return(h=p.onStateChange)===null||h===void 0?void 0:h.call(p,d)})},onSubmit:function(d){var m;(m=c.onSubmit)===null||m===void 0||m.call(c,d),f.forEach(function(p){var h;return(h=p.onSubmit)===null||h===void 0?void 0:h.call(p,d)})},onReset:function(d){var m;(m=c.onReset)===null||m===void 0||m.call(c,d),f.forEach(function(p){var h;return(h=p.onReset)===null||h===void 0?void 0:h.call(p,d)})},getSources:function(d){return Promise.all([].concat(t1(f.map(function(m){return m.getSources})),[c.getSources]).filter(Boolean).map(function(m){return J0(m,d)})).then(function(m){return wn(m)}).then(function(m){return m.map(function(p){return jt(jt({},p),{},{onSelect:function(h){p.onSelect(h),l.forEach(function(v){var b;return(b=v.onSelect)===null||b===void 0?void 0:b.call(v,h)})},onActive:function(h){p.onActive(h),l.forEach(function(v){var b;return(b=v.onActive)===null||b===void 0?void 0:b.call(v,h)})}})})})},navigator:jt({navigate:function(d){var m=d.itemUrl;i.location.assign(m)},navigateNewTab:function(d){var m=d.itemUrl,p=i.open(m,"_blank","noopener");p==null||p.focus()},navigateNewWindow:function(d){var m=d.itemUrl;i.open(m,"_blank","noopener")}},c.navigator)})}(e,t),r=Z0(O1,n,function(c){var l=c.prevState,u=c.state;n.onStateChange(wt({prevState:l,state:u,refresh:s},o))}),o=function(c){var l=c.store;return{setActiveItemId:function(u){l.dispatch("setActiveItemId",u)},setQuery:function(u){l.dispatch("setQuery",u)},setCollections:function(u){var i=0,f=u.map(function(d){return An(An({},d),{},{items:wn(d.items).map(function(m){return An(An({},m),{},{__autocomplete_id:i++})})})});l.dispatch("setCollections",f)},setIsOpen:function(u){l.dispatch("setIsOpen",u)},setStatus:function(u){l.dispatch("setStatus",u)},setContext:function(u){l.dispatch("setContext",u)}}}({store:r}),a=b1(wt({props:n,refresh:s,store:r},o));function s(){return Nt(wt({event:new Event("input"),nextState:{isOpen:r.getState().isOpen},props:n,query:r.getState().query,refresh:s,store:r},o))}return n.plugins.forEach(function(c){var l;return(l=c.subscribe)===null||l===void 0?void 0:l.call(c,wt(wt({},o),{},{refresh:s,onSelect:function(u){t.push({onSelect:u})},onActive:function(u){t.push({onActive:u})}}))}),function(c){var l,u=c.metadata,i=c.environment;if(!((l=i.navigator)===null||l===void 0)&&l.userAgent.includes("Algolia Crawler")){var f=i.document.createElement("meta"),d=i.document.querySelector("head");f.name="algolia:metadata",setTimeout(function(){f.content=JSON.stringify(u),d.appendChild(f)},0)}}({metadata:S1({plugins:n.plugins,options:e}),environment:n.environment}),wt(wt({refresh:s},a),o)}function C1(e){var t=e.translations,n=(t===void 0?{}:t).searchByText,r=n===void 0?"Search by":n;return _.createElement("a",{href:"https://www.algolia.com/ref/docsearch/?utm_source=".concat(window.location.hostname,"&utm_medium=referral&utm_content=powered_by&utm_campaign=docsearch"),target:"_blank",rel:"noopener noreferrer"},_.createElement("span",{className:"DocSearch-Label"},r),_.createElement("svg",{width:"77",height:"19","aria-label":"Algolia",role:"img"},_.createElement("path",{d:"M2.5067 0h14.0245c1.384.001 2.5058 1.1205 2.5068 2.5017V16.5c-.0014 1.3808-1.1232 2.4995-2.5068 2.5H2.5067C1.1232 18.9995.0014 17.8808 0 16.5V2.4958A2.495 2.495 0 01.735.7294 2.505 2.505 0 012.5068 0zM37.95 15.0695c-3.7068.0168-3.7068-2.986-3.7068-3.4634L34.2372.3576 36.498 0v11.1794c0 .2715 0 1.9889 1.452 1.994v1.8961zm-9.1666-1.8388c.694 0 1.2086-.0397 1.5678-.1088v-2.2934a5.3639 5.3639 0 00-1.3303-.1679 4.8283 4.8283 0 00-.758.0582 2.2845 2.2845 0 00-.688.2024c-.2029.0979-.371.2362-.4919.4142-.1268.1788-.185.2826-.185.5533 0 .5297.185.8359.5205 1.0375.3355.2016.7928.3053 1.365.3053v-.0008zm-.1969-8.1817c.7463 0 1.3768.092 1.8856.2767.5088.1838.9195.4428 1.2204.7717.3068.334.5147.7777.6423 1.251.1327.4723.196.991.196 1.5603v5.798c-.5235.1036-1.05.192-1.5787.2649-.7048.1037-1.4976.156-2.3774.156-.5832 0-1.1215-.0582-1.6016-.167a3.385 3.385 0 01-1.2432-.5364 2.6034 2.6034 0 01-.8037-.9565c-.191-.3922-.29-.9447-.29-1.5208 0-.5533.11-.905.3246-1.2863a2.7351 2.7351 0 01.8849-.9329c.376-.242.8029-.415 1.2948-.5187a7.4517 7.4517 0 011.5381-.156 7.1162 7.1162 0 011.6667.2024V8.886c0-.259-.0296-.5061-.093-.7372a1.5847 1.5847 0 00-.3245-.6158 1.5079 1.5079 0 00-.6119-.4158 2.6788 2.6788 0 00-.966-.173c-.5206 0-.9948.0634-1.4283.1384a6.5481 6.5481 0 00-1.065.259l-.2712-1.849c.2831-.0986.7048-.1964 1.2491-.2943a9.2979 9.2979 0 011.752-.1501v.0008zm44.6597 8.1193c.6947 0 1.2086-.0405 1.567-.1097v-2.2942a5.3743 5.3743 0 00-1.3303-.1679c-.2485 0-.503.0177-.7573.0582a2.2853 2.2853 0 00-.688.2024 1.2333 1.2333 0 00-.4918.4142c-.1268.1788-.1843.2826-.1843.5533 0 .5297.1843.8359.5198 1.0375.3414.2066.7927.3053 1.365.3053v.0009zm-.191-8.1767c.7463 0 1.3768.0912 1.8856.2759.5087.1847.9195.4436 1.2204.7717.3.329.5147.7786.6414 1.251a5.7248 5.7248 0 01.197 1.562v5.7972c-.3466.0742-.874.1602-1.5788.2648-.7049.1038-1.4976.1552-2.3774.1552-.5832 0-1.1215-.0573-1.6016-.167a3.385 3.385 0 01-1.2432-.5356 2.6034 2.6034 0 01-.8038-.9565c-.191-.3922-.2898-.9447-.2898-1.5216 0-.5533.1098-.905.3245-1.2854a2.7373 2.7373 0 01.8849-.9338c.376-.2412.8029-.4141 1.2947-.5178a7.4545 7.4545 0 012.325-.1097c.2781.0287.5672.081.879.156v-.3686a2.7781 2.7781 0 00-.092-.738 1.5788 1.5788 0 00-.3246-.6166 1.5079 1.5079 0 00-.612-.415 2.6797 2.6797 0 00-.966-.1729c-.5205 0-.9947.0633-1.4282.1384a6.5608 6.5608 0 00-1.065.259l-.2712-1.8498c.283-.0979.7048-.1957 1.2491-.2935a9.8597 9.8597 0 011.752-.1494zm-6.79-1.072c-.7576.001-1.373-.6103-1.3759-1.3664 0-.755.6128-1.3664 1.376-1.3664.764 0 1.3775.6115 1.3775 1.3664s-.6195 1.3664-1.3776 1.3664zm1.1393 11.1507h-2.2726V5.3409l2.2734-.3568v10.0845l-.0008.0017zm-3.984 0c-3.707.0168-3.707-2.986-3.707-3.4642L59.7069.3576 61.9685 0v11.1794c0 .2715 0 1.9889 1.452 1.994V15.0703zm-7.3512-4.979c0-.975-.2138-1.7873-.6305-2.3516-.4167-.571-.9998-.852-1.747-.852-.7454 0-1.3302.281-1.7452.852-.4166.5702-.6195 1.3765-.6195 2.3516 0 .9851.208 1.6473.6254 2.2183.4158.576.9998.8587 1.7461.8587.7454 0 1.3303-.2885 1.747-.8595.4158-.5761.6237-1.2315.6237-2.2184v.0009zm2.3132-.006c0 .7609-.1099 1.3361-.3356 1.9654a4.654 4.654 0 01-.9533 1.6076A4.214 4.214 0 0155.613 14.69c-.579.2412-1.4697.3795-1.9143.3795-.4462-.005-1.3303-.1324-1.9033-.3795a4.307 4.307 0 01-1.474-1.0316c-.4115-.4445-.7293-.9801-.9609-1.6076a5.3423 5.3423 0 01-.3465-1.9653c0-.7608.104-1.493.3356-2.1155a4.683 4.683 0 01.9719-1.5958 4.3383 4.3383 0 011.479-1.0257c.5739-.242 1.2043-.3567 1.8864-.3567.6829 0 1.3125.1197 1.8906.3567a4.1245 4.1245 0 011.4816 1.0257 4.7587 4.7587 0 01.9592 1.5958c.2426.6225.3643 1.3547.3643 2.1155zm-17.0198 0c0 .9448.208 1.9932.6238 2.431.4166.4386.955.6579 1.6142.6579.3584 0 .6998-.0523 1.0176-.1502.3186-.0978.5721-.2134.775-.3517V7.0784a8.8706 8.8706 0 00-1.4926-.1906c-.8206-.0236-1.4452.312-1.8847.8468-.4335.5365-.6533 1.476-.6533 2.3516v-.0008zm6.2863 4.4485c0 1.5385-.3938 2.662-1.1866 3.3773-.791.7136-2.0005 1.0712-3.6308 1.0712-.5958 0-1.834-.1156-2.8228-.334l.3643-1.7865c.8282.173 1.9202.2193 2.4932.2193.9077 0 1.555-.1847 1.943-.5533.388-.3686.578-.916.578-1.643v-.3687a6.8289 6.8289 0 01-.8848.3349c-.3634.1096-.786.167-1.261.167-.6246 0-1.1917-.0979-1.7055-.2944a3.5554 3.5554 0 01-1.3244-.8645c-.3642-.3796-.6541-.8579-.8561-1.4289-.2028-.571-.3068-1.59-.3068-2.339 0-.7034.1099-1.5856.3245-2.1735.2198-.5871.5316-1.0949.9542-1.515.4167-.42.9255-.743 1.5213-.98a5.5923 5.5923 0 012.052-.3855c.7353 0 1.4114.092 2.0707.2024.6592.1088 1.2204.2236 1.6776.35v8.945-.0008zM11.5026 4.2418v-.6511c-.0005-.4553-.3704-.8241-.8266-.8241H8.749c-.4561 0-.826.3688-.8265.824v.669c0 .0742.0693.1264.1445.1096a6.0346 6.0346 0 011.6768-.2362 6.125 6.125 0 011.6202.2185.1116.1116 0 00.1386-.1097zm-5.2806.852l-.3296-.3282a.8266.8266 0 00-1.168 0l-.393.3922a.8199.8199 0 000 1.164l.3237.323c.0524.0515.1268.0397.1733-.0117.191-.259.3989-.507.6305-.7372.2374-.2362.48-.4437.7462-.6335.0575-.0354.0634-.1155.017-.1687zm3.5159 2.069v2.818c0 .081.0879.1392.1622.0987l2.5102-1.2964c.0574-.0287.0752-.0987.0464-.1552a3.1237 3.1237 0 00-2.603-1.574c-.0575 0-.115.0456-.115.1097l-.0008-.0009zm.0008 6.789c-2.0933.0005-3.7915-1.6912-3.7947-3.7804C5.9468 8.0821 7.6452 6.39 9.7387 6.391c2.0932-.0005 3.7911 1.6914 3.794 3.7804a3.7783 3.7783 0 01-1.1124 2.675 3.7936 3.7936 0 01-2.6824 1.1054h.0008zM9.738 4.8002c-1.9218 0-3.6975 1.0232-4.6584 2.6841a5.359 5.359 0 000 5.3683c.9609 1.661 2.7366 2.6841 4.6584 2.6841a5.3891 5.3891 0 003.8073-1.5725 5.3675 5.3675 0 001.578-3.7987 5.3574 5.3574 0 00-1.5771-3.797A5.379 5.379 0 009.7387 4.801l-.0008-.0008z",fill:"currentColor",fillRule:"evenodd"})))}function Dn(e){return _.createElement("svg",{width:"15",height:"15","aria-label":e.ariaLabel,role:"img"},_.createElement("g",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.2"},e.children))}function I1(e){var t=e.translations,n=t===void 0?{}:t,r=n.selectText,o=r===void 0?"to select":r,a=n.selectKeyAriaLabel,s=a===void 0?"Enter key":a,c=n.navigateText,l=c===void 0?"to navigate":c,u=n.navigateUpKeyAriaLabel,i=u===void 0?"Arrow up":u,f=n.navigateDownKeyAriaLabel,d=f===void 0?"Arrow down":f,m=n.closeText,p=m===void 0?"to close":m,h=n.closeKeyAriaLabel,v=h===void 0?"Escape key":h,b=n.searchByText,w=b===void 0?"Search by":b;return _.createElement(_.Fragment,null,_.createElement("div",{className:"DocSearch-Logo"},_.createElement(C1,{translations:{searchByText:w}})),_.createElement("ul",{className:"DocSearch-Commands"},_.createElement("li",null,_.createElement("kbd",{className:"DocSearch-Commands-Key"},_.createElement(Dn,{ariaLabel:s},_.createElement("path",{d:"M12 3.53088v3c0 1-1 2-2 2H4M7 11.53088l-3-3 3-3"}))),_.createElement("span",{className:"DocSearch-Label"},o)),_.createElement("li",null,_.createElement("kbd",{className:"DocSearch-Commands-Key"},_.createElement(Dn,{ariaLabel:d},_.createElement("path",{d:"M7.5 3.5v8M10.5 8.5l-3 3-3-3"}))),_.createElement("kbd",{className:"DocSearch-Commands-Key"},_.createElement(Dn,{ariaLabel:i},_.createElement("path",{d:"M7.5 11.5v-8M10.5 6.5l-3-3-3 3"}))),_.createElement("span",{className:"DocSearch-Label"},l)),_.createElement("li",null,_.createElement("kbd",{className:"DocSearch-Commands-Key"},_.createElement(Dn,{ariaLabel:v},_.createElement("path",{d:"M13.6167 8.936c-.1065.3583-.6883.962-1.4875.962-.7993 0-1.653-.9165-1.653-2.1258v-.5678c0-1.2548.7896-2.1016 1.653-2.1016.8634 0 1.3601.4778 1.4875 1.0724M9 6c-.1352-.4735-.7506-.9219-1.46-.8972-.7092.0246-1.344.57-1.344 1.2166s.4198.8812 1.3445.9805C8.465 7.3992 8.968 7.9337 9 8.5c.032.5663-.454 1.398-1.4595 1.398C6.6593 9.898 6 9 5.963 8.4851m-1.4748.5368c-.2635.5941-.8099.876-1.5443.876s-1.7073-.6248-1.7073-2.204v-.4603c0-1.0416.721-2.131 1.7073-2.131.9864 0 1.6425 1.031 1.5443 2.2492h-2.956"}))),_.createElement("span",{className:"DocSearch-Label"},p))))}function T1(e){var t=e.hit,n=e.children;return _.createElement("a",{href:t.url},n)}function x1(){return _.createElement("svg",{viewBox:"0 0 38 38",stroke:"currentColor",strokeOpacity:".5"},_.createElement("g",{fill:"none",fillRule:"evenodd"},_.createElement("g",{transform:"translate(1 1)",strokeWidth:"2"},_.createElement("circle",{strokeOpacity:".3",cx:"18",cy:"18",r:"18"}),_.createElement("path",{d:"M36 18c0-9.94-8.06-18-18-18"},_.createElement("animateTransform",{attributeName:"transform",type:"rotate",from:"0 18 18",to:"360 18 18",dur:"1s",repeatCount:"indefinite"})))))}function R1(){return _.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20"},_.createElement("g",{stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round"},_.createElement("path",{d:"M3.18 6.6a8.23 8.23 0 1112.93 9.94h0a8.23 8.23 0 01-11.63 0"}),_.createElement("path",{d:"M6.44 7.25H2.55V3.36M10.45 6v5.6M10.45 11.6L13 13"})))}function ao(){return _.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20"},_.createElement("path",{d:"M10 10l5.09-5.09L10 10l5.09 5.09L10 10zm0 0L4.91 4.91 10 10l-5.09 5.09L10 10z",stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round"}))}function A1(){return _.createElement("svg",{className:"DocSearch-Hit-Select-Icon",width:"20",height:"20",viewBox:"0 0 20 20"},_.createElement("g",{stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round"},_.createElement("path",{d:"M18 3v4c0 2-2 4-4 4H2"}),_.createElement("path",{d:"M8 17l-6-6 6-6"})))}var j1=function(){return _.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20"},_.createElement("path",{d:"M17 6v12c0 .52-.2 1-1 1H4c-.7 0-1-.33-1-1V2c0-.55.42-1 1-1h8l5 5zM14 8h-3.13c-.51 0-.87-.34-.87-.87V4",stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinejoin:"round"}))};function $1(e){switch(e.type){case"lvl1":return _.createElement(j1,null);case"content":return _.createElement(D1,null);default:return _.createElement(L1,null)}}function L1(){return _.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20"},_.createElement("path",{d:"M13 13h4-4V8H7v5h6v4-4H7V8H3h4V3v5h6V3v5h4-4v5zm-6 0v4-4H3h4z",stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round"}))}function D1(){return _.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20"},_.createElement("path",{d:"M17 5H3h14zm0 5H3h14zm0 5H3h14z",stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinejoin:"round"}))}function fs(){return _.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20"},_.createElement("path",{d:"M10 14.2L5 17l1-5.6-4-4 5.5-.7 2.5-5 2.5 5 5.6.8-4 4 .9 5.5z",stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinejoin:"round"}))}function N1(){return _.createElement("svg",{width:"40",height:"40",viewBox:"0 0 20 20",fill:"none",fillRule:"evenodd",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"},_.createElement("path",{d:"M19 4.8a16 16 0 00-2-1.2m-3.3-1.2A16 16 0 001.1 4.7M16.7 8a12 12 0 00-2.8-1.4M10 6a12 12 0 00-6.7 2M12.3 14.7a4 4 0 00-4.5 0M14.5 11.4A8 8 0 0010 10M3 16L18 2M10 18h0"}))}function M1(){return _.createElement("svg",{width:"40",height:"40",viewBox:"0 0 20 20",fill:"none",fillRule:"evenodd",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"},_.createElement("path",{d:"M15.5 4.8c2 3 1.7 7-1 9.7h0l4.3 4.3-4.3-4.3a7.8 7.8 0 01-9.8 1m-2.2-2.2A7.8 7.8 0 0113.2 2.4M2 18L18 2"}))}function z1(e){var t=e.translations,n=t===void 0?{}:t,r=n.titleText,o=r===void 0?"Unable to fetch results":r,a=n.helpText,s=a===void 0?"You might want to check your network connection.":a;return _.createElement("div",{className:"DocSearch-ErrorScreen"},_.createElement("div",{className:"DocSearch-Screen-Icon"},_.createElement(N1,null)),_.createElement("p",{className:"DocSearch-Title"},o),_.createElement("p",{className:"DocSearch-Help"},s))}var F1=["translations"];function B1(e){return function(t){if(Array.isArray(t))return $r(t)}(e)||function(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}(e)||function(t,n){if(!!t){if(typeof t=="string")return $r(t,n);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return $r(t,n)}}(e)||function(){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 $r(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0||(i[l]=s[l]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function q1(e){var t=e.translations,n=t===void 0?{}:t,r=H1(e,F1),o=n.noResultsText,a=o===void 0?"No results for":o,s=n.suggestedQueryText,c=s===void 0?"Try searching for":s,l=n.reportMissingResultsText,u=l===void 0?"Believe this query should return results?":l,i=n.reportMissingResultsLinkText,f=i===void 0?"Let us know.":i,d=r.state.context.searchSuggestions;return _.createElement("div",{className:"DocSearch-NoResults"},_.createElement("div",{className:"DocSearch-Screen-Icon"},_.createElement(M1,null)),_.createElement("p",{className:"DocSearch-Title"},a,' "',_.createElement("strong",null,r.state.query),'"'),d&&d.length>0&&_.createElement("div",{className:"DocSearch-NoResults-Prefill-List"},_.createElement("p",{className:"DocSearch-Help"},c,":"),_.createElement("ul",null,d.slice(0,3).reduce(function(m,p){return[].concat(B1(m),[_.createElement("li",{key:p},_.createElement("button",{className:"DocSearch-Prefill",key:p,type:"button",onClick:function(){r.setQuery(p.toLowerCase()+" "),r.refresh(),r.inputRef.current.focus()}},p))])},[]))),r.getMissingResultsUrl&&_.createElement("p",{className:"DocSearch-Help"},"".concat(u," "),_.createElement("a",{href:r.getMissingResultsUrl({query:r.state.query}),target:"_blank",rel:"noopener noreferrer"},f)))}var V1=["hit","attribute","tagName"];function ds(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function ps(e){for(var t=1;t=0||(i[l]=s[l]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function ms(e,t){return t.split(".").reduce(function(n,r){return n!=null&&n[r]?n[r]:null},e)}function $t(e){var t=e.hit,n=e.attribute,r=e.tagName;return tt(r===void 0?"span":r,ps(ps({},W1(e,V1)),{},{dangerouslySetInnerHTML:{__html:ms(t,"_snippetResult.".concat(n,".value"))||ms(t,n)}}))}function hs(e,t){return function(n){if(Array.isArray(n))return n}(e)||function(n,r){var o=n==null?null:typeof Symbol!="undefined"&&n[Symbol.iterator]||n["@@iterator"];if(o!=null){var a,s,c=[],l=!0,u=!1;try{for(o=o.call(n);!(l=(a=o.next()).done)&&(c.push(a.value),!r||c.length!==r);l=!0);}catch(i){u=!0,s=i}finally{try{l||o.return==null||o.return()}finally{if(u)throw s}}return c}}(e,t)||function(n,r){if(!!n){if(typeof n=="string")return _s(n,r);var o=Object.prototype.toString.call(n).slice(8,-1);if(o==="Object"&&n.constructor&&(o=n.constructor.name),o==="Map"||o==="Set")return Array.from(n);if(o==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return _s(n,r)}}(e,t)||function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function _s(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n|<\/mark>)/g,J1=RegExp(Yi.source);function Xi(e){var t,n,r,o,a,s=e;if(!s.__docsearch_parent&&!e._highlightResult)return e.hierarchy.lvl0;var c=((s.__docsearch_parent?(t=s.__docsearch_parent)===null||t===void 0||(n=t._highlightResult)===null||n===void 0||(r=n.hierarchy)===null||r===void 0?void 0:r.lvl0:(o=e._highlightResult)===null||o===void 0||(a=o.hierarchy)===null||a===void 0?void 0:a.lvl0)||{}).value;return c&&J1.test(c)?c.replace(Yi,""):c}function io(){return io=Object.assign||function(e){for(var t=1;t=0||(i[l]=s[l]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function Z1(e){var t=e.translations,n=t===void 0?{}:t,r=X1(e,Y1),o=n.recentSearchesTitle,a=o===void 0?"Recent":o,s=n.noRecentSearchesText,c=s===void 0?"No recent searches":s,l=n.saveRecentSearchButtonTitle,u=l===void 0?"Save this search":l,i=n.removeRecentSearchButtonTitle,f=i===void 0?"Remove this search from history":i,d=n.favoriteSearchesTitle,m=d===void 0?"Favorite":d,p=n.removeFavoriteSearchButtonTitle,h=p===void 0?"Remove this search from favorites":p;return r.state.status==="idle"&&r.hasCollections===!1?r.disableUserPersonalization?null:_.createElement("div",{className:"DocSearch-StartScreen"},_.createElement("p",{className:"DocSearch-Help"},c)):r.hasCollections===!1?null:_.createElement("div",{className:"DocSearch-Dropdown-Container"},_.createElement(so,sr({},r,{title:a,collection:r.state.collections[0],renderIcon:function(){return _.createElement("div",{className:"DocSearch-Hit-icon"},_.createElement(R1,null))},renderAction:function(v){var b=v.item,w=v.runFavoriteTransition,O=v.runDeleteTransition;return _.createElement(_.Fragment,null,_.createElement("div",{className:"DocSearch-Hit-action"},_.createElement("button",{className:"DocSearch-Hit-action-button",title:u,type:"submit",onClick:function(y){y.preventDefault(),y.stopPropagation(),w(function(){r.favoriteSearches.add(b),r.recentSearches.remove(b),r.refresh()})}},_.createElement(fs,null))),_.createElement("div",{className:"DocSearch-Hit-action"},_.createElement("button",{className:"DocSearch-Hit-action-button",title:f,type:"submit",onClick:function(y){y.preventDefault(),y.stopPropagation(),O(function(){r.recentSearches.remove(b),r.refresh()})}},_.createElement(ao,null))))}})),_.createElement(so,sr({},r,{title:m,collection:r.state.collections[1],renderIcon:function(){return _.createElement("div",{className:"DocSearch-Hit-icon"},_.createElement(fs,null))},renderAction:function(v){var b=v.item,w=v.runDeleteTransition;return _.createElement("div",{className:"DocSearch-Hit-action"},_.createElement("button",{className:"DocSearch-Hit-action-button",title:h,type:"submit",onClick:function(O){O.preventDefault(),O.stopPropagation(),w(function(){r.favoriteSearches.remove(b),r.refresh()})}},_.createElement(ao,null)))}})))}var em=["translations"];function ir(){return ir=Object.assign||function(e){for(var t=1;t=0||(i[l]=s[l]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var nm=_.memo(function(e){var t=e.translations,n=t===void 0?{}:t,r=tm(e,em);if(r.state.status==="error")return _.createElement(z1,{translations:n==null?void 0:n.errorScreen});var o=r.state.collections.some(function(a){return a.items.length>0});return r.state.query?o===!1?_.createElement(q1,ir({},r,{translations:n==null?void 0:n.noResultsScreen})):_.createElement(Q1,r):_.createElement(Z1,ir({},r,{hasCollections:o,translations:n==null?void 0:n.startScreen}))},function(e,t){return t.state.status==="loading"||t.state.status==="stalled"}),rm=["translations"];function cr(){return cr=Object.assign||function(e){for(var t=1;t=0||(i[l]=s[l]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function am(e){var t=e.translations,n=t===void 0?{}:t,r=om(e,rm),o=n.resetButtonTitle,a=o===void 0?"Clear the query":o,s=n.resetButtonAriaLabel,c=s===void 0?"Clear the query":s,l=n.cancelButtonText,u=l===void 0?"Cancel":l,i=n.cancelButtonAriaLabel,f=i===void 0?"Cancel":i,d=r.getFormProps({inputElement:r.inputRef.current}).onReset;return _.useEffect(function(){r.autoFocus&&r.inputRef.current&&r.inputRef.current.focus()},[r.autoFocus,r.inputRef]),_.useEffect(function(){r.isFromSelection&&r.inputRef.current&&r.inputRef.current.select()},[r.isFromSelection,r.inputRef]),_.createElement(_.Fragment,null,_.createElement("form",{className:"DocSearch-Form",onSubmit:function(m){m.preventDefault()},onReset:d},_.createElement("label",cr({className:"DocSearch-MagnifierLabel"},r.getLabelProps()),_.createElement(Gi,null)),_.createElement("div",{className:"DocSearch-LoadingIndicator"},_.createElement(x1,null)),_.createElement("input",cr({className:"DocSearch-Input",ref:r.inputRef},r.getInputProps({inputElement:r.inputRef.current,autoFocus:r.autoFocus,maxLength:64}))),_.createElement("button",{type:"reset",title:a,className:"DocSearch-Reset","aria-label":c,hidden:!r.state.query},_.createElement(ao,null))),_.createElement("button",{className:"DocSearch-Cancel",type:"reset","aria-label":f,onClick:r.onClose},u))}var sm=["_highlightResult","_snippetResult"];function im(e,t){if(e==null)return{};var n,r,o=function(s,c){if(s==null)return{};var l,u,i={},f=Object.keys(s);for(u=0;u=0||(i[l]=s[l]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function cm(e){return function(){var t="__TEST_KEY__";try{return localStorage.setItem(t,""),localStorage.removeItem(t),!0}catch{return!1}}()===!1?{setItem:function(){},getItem:function(){return[]}}:{setItem:function(t){return window.localStorage.setItem(e,JSON.stringify(t))},getItem:function(){var t=window.localStorage.getItem(e);return t?JSON.parse(t):[]}}}function ys(e){var t=e.key,n=e.limit,r=n===void 0?5:n,o=cm(t),a=o.getItem().slice(0,r);return{add:function(s){var c=s,l=(c._highlightResult,c._snippetResult,im(c,sm)),u=a.findIndex(function(i){return i.objectID===l.objectID});u>-1&&a.splice(u,1),a.unshift(l),a=a.slice(0,r),o.setItem(a)},remove:function(s){a=a.filter(function(c){return c.objectID!==s.objectID}),o.setItem(a)},getAll:function(){return a}}}var lm=["facetName","facetQuery"];function um(e){var t,n="algoliasearch-client-js-".concat(e.key),r=function(){return t===void 0&&(t=e.localStorage||window.localStorage),t},o=function(){return JSON.parse(r().getItem(n)||"{}")};return{get:function(a,s){var c=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{miss:function(){return Promise.resolve()}};return Promise.resolve().then(function(){var l=JSON.stringify(a),u=o()[l];return Promise.all([u||s(),u!==void 0])}).then(function(l){var u=tr(l,2),i=u[0],f=u[1];return Promise.all([i,f||c.miss(i)])}).then(function(l){return tr(l,1)[0]})},set:function(a,s){return Promise.resolve().then(function(){var c=o();return c[JSON.stringify(a)]=s,r().setItem(n,JSON.stringify(c)),s})},delete:function(a){return Promise.resolve().then(function(){var s=o();delete s[JSON.stringify(a)],r().setItem(n,JSON.stringify(s))})},clear:function(){return Promise.resolve().then(function(){r().removeItem(n)})}}}function sn(e){var t=nr(e.caches),n=t.shift();return n===void 0?{get:function(r,o){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{miss:function(){return Promise.resolve()}};return o().then(function(s){return Promise.all([s,a.miss(s)])}).then(function(s){return tr(s,1)[0]})},set:function(r,o){return Promise.resolve(o)},delete:function(r){return Promise.resolve()},clear:function(){return Promise.resolve()}}:{get:function(r,o){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{miss:function(){return Promise.resolve()}};return n.get(r,o,a).catch(function(){return sn({caches:t}).get(r,o,a)})},set:function(r,o){return n.set(r,o).catch(function(){return sn({caches:t}).set(r,o)})},delete:function(r){return n.delete(r).catch(function(){return sn({caches:t}).delete(r)})},clear:function(){return n.clear().catch(function(){return sn({caches:t}).clear()})}}}function Lr(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{serializable:!0},t={};return{get:function(n,r){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{miss:function(){return Promise.resolve()}},a=JSON.stringify(n);if(a in t)return Promise.resolve(e.serializable?JSON.parse(t[a]):t[a]);var s=r(),c=o&&o.miss||function(){return Promise.resolve()};return s.then(function(l){return c(l)}).then(function(){return s})},set:function(n,r){return t[JSON.stringify(n)]=e.serializable?JSON.stringify(r):r,Promise.resolve(r)},delete:function(n){return delete t[JSON.stringify(n)],Promise.resolve()},clear:function(){return t={},Promise.resolve()}}}function fm(e){for(var t=e.length-1;t>0;t--){var n=Math.floor(Math.random()*(t+1)),r=e[t];e[t]=e[n],e[n]=r}return e}function Zi(e,t){return t&&Object.keys(t).forEach(function(n){e[n]=t[n](e)}),e}function yr(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r0?r:void 0,timeout:n.timeout||t,headers:n.headers||{},queryParameters:n.queryParameters||{},cacheable:n.cacheable}}var Ht={Read:1,Write:2,Any:3},ec=1,dm=2,tc=3;function nc(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ec;return Q(Q({},e),{},{status:t,lastUpdate:Date.now()})}function rc(e){return typeof e=="string"?{protocol:"https",url:e,accept:Ht.Any}:{protocol:e.protocol||"https",url:e.url,accept:e.accept||Ht.Any}}var ws="GET",br="POST";function pm(e,t){return Promise.all(t.map(function(n){return e.get(n,function(){return Promise.resolve(nc(n))})})).then(function(n){var r=n.filter(function(s){return function(c){return c.status===ec||Date.now()-c.lastUpdate>12e4}(s)}),o=n.filter(function(s){return function(c){return c.status===tc&&Date.now()-c.lastUpdate<=12e4}(s)}),a=[].concat(nr(r),nr(o));return{getTimeout:function(s,c){return(o.length===0&&s===0?1:o.length+3+s)*c},statelessHosts:a.length>0?a.map(function(s){return rc(s)}):t}})}function Ss(e,t,n,r){var o=[],a=function(d,m){if(!(d.method===ws||d.data===void 0&&m.data===void 0)){var p=Array.isArray(d.data)?d.data:Q(Q({},d.data),m.data);return JSON.stringify(p)}}(n,r),s=function(d,m){var p=Q(Q({},d.headers),m.headers),h={};return Object.keys(p).forEach(function(v){var b=p[v];h[v.toLowerCase()]=b}),h}(e,r),c=n.method,l=n.method!==ws?{}:Q(Q({},n.data),r.data),u=Q(Q(Q({"x-algolia-agent":e.userAgent.value},e.queryParameters),l),r.queryParameters),i=0,f=function d(m,p){var h=m.pop();if(h===void 0)throw{name:"RetryError",message:"Unreachable hosts - your application id may be incorrect. If the error persists, contact support@algolia.com.",transporterStackTrace:Es(o)};var v={data:a,headers:s,method:c,url:hm(h,n.path,u),connectTimeout:p(i,e.timeouts.connect),responseTimeout:p(i,r.timeout)},b=function(O){var y={request:v,response:O,host:h,triesLeft:m.length};return o.push(y),y},w={onSucess:function(O){return function(y){try{return JSON.parse(y.content)}catch(S){throw function(A,V){return{name:"DeserializationError",message:A,response:V}}(S.message,y)}}(O)},onRetry:function(O){var y=b(O);return O.isTimedOut&&i++,Promise.all([e.logger.info("Retryable failure",ac(y)),e.hostsCache.set(h,nc(h,O.isTimedOut?tc:dm))]).then(function(){return d(m,p)})},onFail:function(O){throw b(O),function(y,S){var A=y.content,V=y.status,G=A;try{G=JSON.parse(A).message}catch{}return function(X,ae,je){return{name:"ApiError",message:X,status:ae,transporterStackTrace:je}}(G,V,S)}(O,Es(o))}};return e.requester.send(v).then(function(O){return function(y,S){return function(A){var V=A.status;return A.isTimedOut||function(G){var X=G.isTimedOut,ae=G.status;return!X&&~~ae==0}(A)||~~(V/100)!=2&&~~(V/100)!=4}(y)?S.onRetry(y):~~(y.status/100)==2?S.onSucess(y):S.onFail(y)}(O,w)})};return pm(e.hostsCache,t).then(function(d){return f(nr(d.statelessHosts).reverse(),d.getTimeout)})}function mm(e){var t={value:"Algolia for JavaScript (".concat(e,")"),add:function(n){var r="; ".concat(n.segment).concat(n.version!==void 0?" (".concat(n.version,")"):"");return t.value.indexOf(r)===-1&&(t.value="".concat(t.value).concat(r)),t}};return t}function hm(e,t,n){var r=oc(n),o="".concat(e.protocol,"://").concat(e.url,"/").concat(t.charAt(0)==="/"?t.substr(1):t);return r.length&&(o+="?".concat(r)),o}function oc(e){return Object.keys(e).map(function(t){return yr("%s=%s",t,(n=e[t],Object.prototype.toString.call(n)==="[object Object]"||Object.prototype.toString.call(n)==="[object Array]"?JSON.stringify(e[t]):e[t]));var n}).join("&")}function Es(e){return e.map(function(t){return ac(t)})}function ac(e){var t=e.request.headers["x-algolia-api-key"]?{"x-algolia-api-key":"*****"}:{};return Q(Q({},e),{},{request:Q(Q({},e.request),{},{headers:Q(Q({},e.request.headers),t)})})}var _m=function(e){var t=e.appId,n=function(a,s,c){var l={"x-algolia-api-key":c,"x-algolia-application-id":s};return{headers:function(){return a===Un.WithinHeaders?l:{}},queryParameters:function(){return a===Un.WithinQueryParameters?l:{}}}}(e.authMode!==void 0?e.authMode:Un.WithinHeaders,t,e.apiKey),r=function(a){var s=a.hostsCache,c=a.logger,l=a.requester,u=a.requestsCache,i=a.responsesCache,f=a.timeouts,d=a.userAgent,m=a.hosts,p=a.queryParameters,h={hostsCache:s,logger:c,requester:l,requestsCache:u,responsesCache:i,timeouts:f,userAgent:d,headers:a.headers,queryParameters:p,hosts:m.map(function(v){return rc(v)}),read:function(v,b){var w=bs(b,h.timeouts.read),O=function(){return Ss(h,h.hosts.filter(function(S){return(S.accept&Ht.Read)!=0}),v,w)};if((w.cacheable!==void 0?w.cacheable:v.cacheable)!==!0)return O();var y={request:v,mappedRequestOptions:w,transporter:{queryParameters:h.queryParameters,headers:h.headers}};return h.responsesCache.get(y,function(){return h.requestsCache.get(y,function(){return h.requestsCache.set(y,O()).then(function(S){return Promise.all([h.requestsCache.delete(y),S])},function(S){return Promise.all([h.requestsCache.delete(y),Promise.reject(S)])}).then(function(S){var A=tr(S,2);return A[0],A[1]})})},{miss:function(S){return h.responsesCache.set(y,S)}})},write:function(v,b){return Ss(h,h.hosts.filter(function(w){return(w.accept&Ht.Write)!=0}),v,bs(b,h.timeouts.write))}};return h}(Q(Q({hosts:[{url:"".concat(t,"-dsn.algolia.net"),accept:Ht.Read},{url:"".concat(t,".algolia.net"),accept:Ht.Write}].concat(fm([{url:"".concat(t,"-1.algolianet.com")},{url:"".concat(t,"-2.algolianet.com")},{url:"".concat(t,"-3.algolianet.com")}]))},e),{},{headers:Q(Q(Q({},n.headers()),{"content-type":"application/x-www-form-urlencoded"}),e.headers),queryParameters:Q(Q({},n.queryParameters()),e.queryParameters)})),o={transporter:r,appId:t,addAlgoliaAgent:function(a,s){r.userAgent.add({segment:a,version:s})},clearCache:function(){return Promise.all([r.requestsCache.clear(),r.responsesCache.clear()]).then(function(){})}};return Zi(o,e.methods)},sc=function(e){return function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r={transporter:e.transporter,appId:e.appId,indexName:t};return Zi(r,n.methods)}},Os=function(e){return function(t,n){var r=t.map(function(o){return Q(Q({},o),{},{params:oc(o.params||{})})});return e.transporter.read({method:br,path:"1/indexes/*/queries",data:{requests:r},cacheable:!0},n)}},Ps=function(e){return function(t,n){return Promise.all(t.map(function(r){var o=r.params,a=o.facetName,s=o.facetQuery,c=O0(o,lm);return sc(e)(r.indexName,{methods:{searchForFacetValues:ic}}).searchForFacetValues(a,s,Q(Q({},n),c))}))}},vm=function(e){return function(t,n,r){return e.transporter.read({method:br,path:yr("1/answers/%s/prediction",e.indexName),data:{query:t,queryLanguages:n},cacheable:!0},r)}},gm=function(e){return function(t,n){return e.transporter.read({method:br,path:yr("1/indexes/%s/query",e.indexName),data:{query:t},cacheable:!0},n)}},ic=function(e){return function(t,n,r){return e.transporter.read({method:br,path:yr("1/indexes/%s/facets/%s/query",e.indexName,t),data:{facetQuery:n},cacheable:!0},r)}},ym=1,bm=2,wm=3;function cc(e,t,n){var r,o={appId:e,apiKey:t,timeouts:{connect:1,read:2,write:30},requester:{send:function(a){return new Promise(function(s){var c=new XMLHttpRequest;c.open(a.method,a.url,!0),Object.keys(a.headers).forEach(function(f){return c.setRequestHeader(f,a.headers[f])});var l,u=function(f,d){return setTimeout(function(){c.abort(),s({status:0,content:d,isTimedOut:!0})},1e3*f)},i=u(a.connectTimeout,"Connection timeout");c.onreadystatechange=function(){c.readyState>c.OPENED&&l===void 0&&(clearTimeout(i),l=u(a.responseTimeout,"Socket timeout"))},c.onerror=function(){c.status===0&&(clearTimeout(i),clearTimeout(l),s({content:c.responseText||"Network request failed",status:c.status,isTimedOut:!1}))},c.onload=function(){clearTimeout(i),clearTimeout(l),s({content:c.responseText,status:c.status,isTimedOut:!1})},c.send(a.data)})}},logger:(r=wm,{debug:function(a,s){return ym>=r&&console.debug(a,s),Promise.resolve()},info:function(a,s){return bm>=r&&console.info(a,s),Promise.resolve()},error:function(a,s){return console.error(a,s),Promise.resolve()}}),responsesCache:Lr(),requestsCache:Lr({serializable:!1}),hostsCache:sn({caches:[um({key:"".concat("4.8.5","-").concat(e)}),Lr()]}),userAgent:mm("4.8.5").add({segment:"Browser",version:"lite"}),authMode:Un.WithinQueryParameters};return _m(Q(Q(Q({},o),n),{},{methods:{search:Os,searchForFacetValues:Ps,multipleQueries:Os,multipleSearchForFacetValues:Ps,initIndex:function(a){return function(s){return sc(a)(s,{methods:{search:gm,searchForFacetValues:ic,findAnswers:vm}})}}}}))}cc.version="4.8.5";var Sm=["footer","searchBox"];function mn(){return mn=Object.assign||function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0||(i[l]=s[l]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function km(e){var t=e.appId,n=e.apiKey,r=e.indexName,o=e.placeholder,a=o===void 0?"Search docs":o,s=e.searchParameters,c=e.onClose,l=c===void 0?G1:c,u=e.transformItems,i=u===void 0?gs:u,f=e.hitComponent,d=f===void 0?T1:f,m=e.resultsFooterComponent,p=m===void 0?function(){return null}:m,h=e.navigator,v=e.initialScrollY,b=v===void 0?0:v,w=e.transformSearchClient,O=w===void 0?gs:w,y=e.disableUserPersonalization,S=y!==void 0&&y,A=e.initialQuery,V=A===void 0?"":A,G=e.translations,X=G===void 0?{}:G,ae=e.getMissingResultsUrl,je=X.footer,pe=X.searchBox,$e=Pm(X,Sm),le=Om(_.useState({query:"",collections:[],completion:null,context:{},isOpen:!1,activeItemId:null,status:"idle"}),2),Ve=le[0],Oe=le[1],Ke=_.useRef(null),Ye=_.useRef(null),dt=_.useRef(null),at=_.useRef(null),Ge=_.useRef(null),Me=_.useRef(10),pt=_.useRef(typeof window!="undefined"?window.getSelection().toString().slice(0,64):"").current,Xe=_.useRef(V||pt).current,E=function(j,J,Z){return _.useMemo(function(){var ge=cc(j,J);return ge.addAlgoliaAgent("docsearch","3.1.0"),/docsearch.js \(.*\)/.test(ge.transporter.userAgent.value)===!1&&ge.addAlgoliaAgent("docsearch-react","3.1.0"),Z(ge)},[j,J,Z])}(t,n,O),x=_.useRef(ys({key:"__DOCSEARCH_FAVORITE_SEARCHES__".concat(r),limit:10})).current,I=_.useRef(ys({key:"__DOCSEARCH_RECENT_SEARCHES__".concat(r),limit:x.getAll().length===0?7:4})).current,R=_.useCallback(function(j){if(!S){var J=j.type==="content"?j.__docsearch_parent:j;J&&x.getAll().findIndex(function(Z){return Z.objectID===J.objectID})===-1&&I.add(J)}},[x,I,S]),K=_.useMemo(function(){return k1({id:"docsearch",defaultActiveItemId:0,placeholder:a,openOnFocus:!0,initialState:{query:Xe,context:{searchSuggestions:[]}},navigator:h,onStateChange:function(j){Oe(j.state)},getSources:function(j){var J=j.query,Z=j.state,ge=j.setContext,Ze=j.setStatus;return J?E.search([{query:J,indexName:r,params:Dr({attributesToRetrieve:["hierarchy.lvl0","hierarchy.lvl1","hierarchy.lvl2","hierarchy.lvl3","hierarchy.lvl4","hierarchy.lvl5","hierarchy.lvl6","content","type","url"],attributesToSnippet:["hierarchy.lvl1:".concat(Me.current),"hierarchy.lvl2:".concat(Me.current),"hierarchy.lvl3:".concat(Me.current),"hierarchy.lvl4:".concat(Me.current),"hierarchy.lvl5:".concat(Me.current),"hierarchy.lvl6:".concat(Me.current),"content:".concat(Me.current)],snippetEllipsisText:"\u2026",highlightPreTag:"",highlightPostTag:"",hitsPerPage:20},s)}]).catch(function(ce){throw ce.name==="RetryError"&&Ze("error"),ce}).then(function(ce){var ye=ce.results[0],ze=ye.hits,P=ye.nbHits,C=vs(ze,function(Le){return Xi(Le)});return Z.context.searchSuggestions.length0&&(N(),Ge.current&&Ge.current.focus())},[Xe,N]),_.useEffect(function(){function j(){if(Ye.current){var J=.01*window.innerHeight;Ye.current.style.setProperty("--docsearch-vh","".concat(J,"px"))}}return j(),window.addEventListener("resize",j),function(){window.removeEventListener("resize",j)}},[]),_.createElement("div",mn({ref:Ke},F({"aria-expanded":!0}),{className:["DocSearch","DocSearch-Container",Ve.status==="stalled"&&"DocSearch-Container--Stalled",Ve.status==="error"&&"DocSearch-Container--Errored"].filter(Boolean).join(" "),role:"button",tabIndex:0,onMouseDown:function(j){j.target===j.currentTarget&&l()}}),_.createElement("div",{className:"DocSearch-Modal",ref:Ye},_.createElement("header",{className:"DocSearch-SearchBar",ref:dt},_.createElement(am,mn({},K,{state:Ve,autoFocus:Xe.length===0,inputRef:Ge,isFromSelection:Boolean(Xe)&&Xe===pt,translations:pe,onClose:l}))),_.createElement("div",{className:"DocSearch-Dropdown",ref:at},_.createElement(nm,mn({},K,{indexName:r,state:Ve,hitComponent:d,resultsFooterComponent:p,disableUserPersonalization:S,recentSearches:I,favoriteSearches:x,inputRef:Ge,translations:$e,getMissingResultsUrl:ae,onItemClick:function(j){R(j),l()}}))),_.createElement("footer",{className:"DocSearch-Footer"},_.createElement(I1,{translations:je}))))}function co(){return co=Object.assign||function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n1&&arguments[1]!==void 0?arguments[1]:window;return typeof t=="string"?n.document.querySelector(t):t}(e.container,e.environment))}var Tm={tp:{editPage:e=>{const{normalize:t}=e;return t(["Edit Page"])},editPageInGithub:e=>{const{normalize:t}=e;return t(["Edit this page on GitHub"])},editPageInGitee:e=>{const{normalize:t}=e;return t(["Edit this page on Gitee"])},upTime:e=>{const{normalize:t}=e;return t(["Update Time"])},editContributors:e=>{const{normalize:t}=e;return t(["Contributors"])},QandAarea:e=>{const{normalize:t}=e;return t(["Mutual help Q & A area"])},codeCopySuccess:e=>{const{normalize:t}=e;return t(["Code copied successfully"])},searchButtonText:e=>{const{normalize:t}=e;return t(["Search"])},searchPlaceholder:e=>{const{normalize:t}=e;return t(["Search Docs"])},searchClear:e=>{const{normalize:t}=e;return t(["Clear the query"])},searchCancel:e=>{const{normalize:t}=e;return t(["Cancel"])},searchRecentSearches:e=>{const{normalize:t}=e;return t(["Recent Searches"])},searchNoRecentSearches:e=>{const{normalize:t}=e;return t(["No Recent Searches"])},searchSaveRecentSearch:e=>{const{normalize:t}=e;return t(["Save Recent Search"])},searchRemoveRecentSearch:e=>{const{normalize:t}=e;return t([" Remove Recent Search"])},searchFavoriteSearches:e=>{const{normalize:t}=e;return t(["Favorite Searches"])},searchRemoveFavoriteSearch:e=>{const{normalize:t}=e;return t(["Remove Favorite Search"])},searchErrorScreen:e=>{const{normalize:t}=e;return t(["Error Screen"])},searchHelp:e=>{const{normalize:t}=e;return t(["You may need to check your network connection."])},searchSelect:e=>{const{normalize:t}=e;return t(["Select"])},searchNavigate:e=>{const{normalize:t}=e;return t(["Switch"])},searchClose:e=>{const{normalize:t}=e;return t(["Close"])},searchSearchBy:e=>{const{normalize:t}=e;return t([" SearchBy"])},searchNoResultsText:e=>{const{normalize:t}=e;return t(["There is no result you want for the time being"])},searchSuggestedQuery:e=>{const{normalize:t}=e;return t(["Can try searching"])},searchReportMissingResults:e=>{const{normalize:t}=e;return t(["Not what you want?"])},searchReportMissingResultsLink:e=>{const{normalize:t}=e;return t(["Please let us know."])}}},xm=Object.freeze(Object.defineProperty({__proto__:null,default:Tm},Symbol.toStringTag,{value:"Module"})),Rm={tp:{editPage:e=>{const{normalize:t}=e;return t(["\u7F16\u8F91\u6B64\u9875"])},editPageInGithub:e=>{const{normalize:t}=e;return t(["Github\u4E0A\u7F16\u8F91\u6B64\u9875"])},editPageInGitee:e=>{const{normalize:t}=e;return t(["Gitee\u4E0A\u7F16\u8F91\u6B64\u9875"])},upTime:e=>{const{normalize:t}=e;return t(["\u66F4\u65B0\u65F6\u95F4"])},editContributors:e=>{const{normalize:t}=e;return t(["\u8D21\u732E\u8005"])},QandAarea:e=>{const{normalize:t}=e;return t(["\u4E92\u52A9\u95EE\u7B54\u533A"])},codeCopySuccess:e=>{const{normalize:t}=e;return t(["\u4EE3\u7801\u590D\u5236\u6210\u529F"])},searchButtonText:e=>{const{normalize:t}=e;return t(["\u641C\u7D22"])},searchPlaceholder:e=>{const{normalize:t}=e;return t(["\u8BF7\u8F93\u5165\u8981\u641C\u7D22\u7684\u5185\u5BB9"])},searchClear:e=>{const{normalize:t}=e;return t(["\u6E05\u9664\u67E5\u8BE2"])},searchCancel:e=>{const{normalize:t}=e;return t(["\u53D6\u6D88"])},searchRecentSearches:e=>{const{normalize:t}=e;return t(["\u6700\u8FD1\u641C\u7D22"])},searchNoRecentSearches:e=>{const{normalize:t}=e;return t(["\u6700\u8FD1\u6CA1\u6709\u641C\u7D22"])},searchSaveRecentSearch:e=>{const{normalize:t}=e;return t(["\u4FDD\u5B58\u6B64\u641C\u7D22"])},searchRemoveRecentSearch:e=>{const{normalize:t}=e;return t(["\u4ECE\u5386\u53F2\u8BB0\u5F55\u4E2D\u5220\u9664\u6B64\u641C\u7D22"])},searchFavoriteSearches:e=>{const{normalize:t}=e;return t(["\u6536\u85CF\u5939"])},searchRemoveFavoriteSearch:e=>{const{normalize:t}=e;return t(["\u4ECE\u6536\u85CF\u5939\u4E2D\u5220\u9664\u6B64\u641C\u7D22"])},searchErrorScreen:e=>{const{normalize:t}=e;return t(["\u65E0\u6CD5\u83B7\u53D6\u76F8\u5173\u7684\u7ED3\u679C"])},searchHelp:e=>{const{normalize:t}=e;return t(["\u60A8\u53EF\u80FD\u9700\u8981\u68C0\u67E5\u7F51\u7EDC\u8FDE\u63A5"])},searchSelect:e=>{const{normalize:t}=e;return t(["\u9009\u62E9"])},searchNavigate:e=>{const{normalize:t}=e;return t(["\u5207\u6362"])},searchClose:e=>{const{normalize:t}=e;return t(["\u5173\u95ED"])},searchSearchBy:e=>{const{normalize:t}=e;return t(["\u641C\u7D22\u63D0\u4F9B\u8005"])},searchNoResultsText:e=>{const{normalize:t}=e;return t(["\u6682\u65F6\u6CA1\u6709\u60A8\u60F3\u8981\u7684\u7ED3\u679C"])},searchSuggestedQuery:e=>{const{normalize:t}=e;return t(["\u53EF\u4EE5\u5C1D\u8BD5\u641C\u7D22"])},searchReportMissingResults:e=>{const{normalize:t}=e;return t(["\u6CA1\u6709\u4F60\u60F3\u8981\u7684\u7ED3\u679C\uFF1F"])},searchReportMissingResultsLink:e=>{const{normalize:t}=e;return t(["\u8BF7\u544A\u8BC9\u6211\u4EEC\u77E5\u9053\u3002"])}}},Am=Object.freeze(Object.defineProperty({__proto__:null,default:Rm},Symbol.toStringTag,{value:"Module"}));function xs(e="zh-CN"){return Object.fromEntries(Object.entries({"../../locales/en.yaml":xm,"../../locales/zh-CN.yaml":Am}).map(([t,n])=>[t.match(/([A-Za-z0-9-_]+)\./i)[1],n.default]))[e]}const jm={zh:Pe({},xs("zh-CN")),en:Pe({},xs("en"))};function ie(e="",t=!0,n){if(!e)return"";if(typeof e=="object"){const r=Wn.global.locale;return e[r==null?void 0:r.value]}return t?Wn.global.t.call(Wn.global.locale,e,n):e}const ue=e=>e;var $s,Ls;const Wn=Qf({legacy:!1,locale:(Ls=($s=zt.getItem("responsive-locale"))==null?void 0:$s.locale)!=null?Ls:"zh",fallbackLocale:"en",messages:jm});function $m(e){e.use(Wn)}function Lm(e){return e.button===1||e.altKey||e.ctrlKey||e.metaKey||e.shiftKey}function Dm(e){const{pathname:t,hash:n}=new URL(e);return t+n}function Nm(e,t=100){let n=null;return function(...r){const o=this;return new Promise((a,s)=>{n&&clearTimeout(n),n=setTimeout(()=>{n=null,Promise.resolve(e.apply(o,r)).then(a).catch(s)},t)})}}const Mm=z({name:"SearchBox",setup(){const e=Ll(),t=$l();return{route:e,router:t}},mounted(){Im({container:"#docsearch",appId:"LIXBD9IHZ6",apiKey:"d6925092b4555ac6b68e70fcbf4faf7e",indexName:"tinymce-plugin-dev",placeholder:ie(ue("tp.searchPlaceholder")),context:["five-great"],searchParameters:{hitsPerPage:10},transformSearchClient:e=>Tt(Pe({},e),{search:Nm(e.search,500)}),getMissingResultsUrl:e=>`https://github.com/tinymce-plugin/tinymce-plugin.github.io/discussions?discussions_q=${e}`,translations:{button:{buttonText:ie(ue("tp.searchButtonText")),buttonAriaLabel:"Search"},modal:{searchBox:{resetButtonTitle:ie(ue("tp.searchClear")),resetButtonAriaLabel:"Clear the query",cancelButtonText:ie(ue("tp.searchCancel")),cancelButtonAriaLabel:"Cancel"},startScreen:{recentSearchesTitle:ie(ue("tp.searchRecentSearches")),noRecentSearchesText:ie(ue("tp.searchNoRecentSearches")),saveRecentSearchButtonTitle:ie(ue("tp.searchSaveRecentSearch")),removeRecentSearchButtonTitle:ie(ue("tp.searchRemoveRecentSearch")),favoriteSearchesTitle:ie(ue("tp.searchFavoriteSearches")),removeFavoriteSearchButtonTitle:ie(ue("tp.searchRemoveFavoriteSearch"))},errorScreen:{titleText:ie(ue("tp.searchErrorScreen")),helpText:ie(ue("tp.searchHelp"))},footer:{selectText:ie(ue("tp.searchSelect")),selectKeyAriaLabel:"Enter key",navigateText:ie(ue("tp.searchNavigate")),navigateUpKeyAriaLabel:"Arrow up",navigateDownKeyAriaLabel:"Arrow down",closeText:ie(ue("tp.searchClose")),closeKeyAriaLabel:"Escape key",searchByText:ie(ue("tp.searchSearchBy"))},noResultsScreen:{noResultsText:ie(ue("tp.searchNoResultsText")),suggestedQueryText:ie(ue("tp.searchSuggestedQuery")),reportMissingResultsText:ie(ue("tp.searchReportMissingResults")),reportMissingResultsLinkText:ie(ue("tp.searchReportMissingResultsLink"))}}},navigator:{navigate:({itemUrl:e})=>{const{pathname:t}=new URL(window.location.origin+e);this.route.path===t?window.location.assign(window.location.origin+e):this.router.push(e)}},hitComponent:({hit:e,children:t})=>{const n=e.url.startsWith("http")?Dm(e.url):e.url;return{type:"a",ref:void 0,constructor:void 0,key:void 0,props:{href:e.url,onClick:r=>{var o,a;Lm(r)||((o=this.route)==null?void 0:o.path)!==n&&(((a=this.route)==null?void 0:a.path)!==n&&r.preventDefault(),this.router.push(n))},children:t},__v:null}}})}}),zm={class:"search-box"},Fm=g("div",{id:"docsearch"},null,-1),Bm=[Fm];function Hm(e,t,n,r,o,a){return k(),T("div",zm,Bm)}var qm=B(Mm,[["render",Hm]]);const Vm=z({name:"Header",components:{TPNavBarAppearance:au,TPNavBarTranslations:Op,TPNavBarSocialLinks:Ci,TPNavBarExtra:Gp,TPNavScreen:_0,TPNavBarHamburger:S0,SearchBox:qm},props:{dWidth:{type:Number,default:document.documentElement.clientWidth}},data(){return{pola:2,polaTop:0,scrolltop:document.documentElement.scrollTop,IsFixed:!1,IsFixedM:!1,IsMobile:!1}},setup(e){const{isScreenOpen:t,closeScreen:n,toggleScreen:r}=Nl();return{isScreenOpen:t,closeScreen:n,toggleScreen:r}},created(){this.info()},mounted(){var e=this;window.onscroll=function(){e.scrolltop=document.documentElement.scrollTop,e.IsFixed=e.scrolltop>=55,e.scrolltop<55&&!e.IsFixed&&(e.polaTop=e.scrolltop),e.IsFixedM=e.scrolltop>=1}},methods:{info(){let e=this,t=setInterval(function(){if(document.getElementById("logoSvgId")){var n={type:"scenario-sync",duration:100,forceRender:!1,pathTimingFunction:Ro.EASE_IN,animatedTime:80};e.pola=new Ro("logoSvgId",n),clearInterval(t)}},200)},resetPola(){let e=this;e.pola.play(-3),setTimeout(()=>{e.pola.reset().play()},1e3)}}}),Xt=e=>(lt("data-v-1e239cdb"),e=e(),ut(),e),Um=Xt(()=>g("div",{style:{height:"152px"}},null,-1)),Wm={class:"header-search-Box"},Km={class:"header-centent"},Gm={class:"header-box_logo"},Jm=Xt(()=>g("span",{class:"tinymce_color"},"Tinymce",-1)),Qm=Xt(()=>g("path",{transform:"translate(868,2070) scale(2.1,2.1) rotate(180)",fill:"none","fill-opacity":"null","stroke-opacity":"null","stroke-width":"16",stroke:"#335FFF",d:"m203.108398,645.3192c33.99355,0.20039 67.58717,28.4558 67.58717,69.63654c0,0 0.22086,11.0003 0.23698,24.09619l0.00048,2.53102c-0.0025,2.83556 -0.0155,5.74026 -0.04309,8.62832l-0.01835,1.73016c-0.12767,10.93632 -0.47796,21.38476 -1.27581,26.63907c-4.69911,31.46169 -28.19465,53.20432 -60.5885,58.71512c-29.19446,5.7112 -46.49118,9.01769 -52.09012,10.11985c-1.41149,0.29469 -5.65982,0.90142 -9.85524,1.35111l-0.83752,0.08771c-2.6445,0.27022 -5.1905,0.46491 -6.9039,0.46491c-35.59324,0 -67.88711,-26.65226 -68.38702,-69.63654l0.00088,-2.15162c0.00007,-0.10585 0.00014,-0.21526 0.00022,-0.32814l0.00086,-1.10755c0.00451,-5.18721 0.01936,-15.29461 0.06827,-25.59709l0.01191,-2.3788l0,0l0.00864,-1.58335c0.05803,-10.27482 0.15317,-20.13893 0.30914,-24.8672c1.19978,-31.3615 22.89566,-56.7112 64.18782,-64.82712l0.0598,-0.01163c1.94046,-0.37737 50.47261,-9.81564 52.53022,-10.20841c4.79909,-0.90176 10.09809,-1.30255 14.99716,-1.30255zm23.79548,36.57171l-79.98482,15.53045l0,31.2613l-31.99393,6.21218l0,77.95285l79.98482,-15.53046l0,-31.26129l31.99393,-6.21218l0,-77.95285zm-31.99393,37.47348l0,46.69155l-47.99089,9.31827l0,-46.69155l47.99089,-9.31827z"},null,-1)),Ym=Xt(()=>g("path",{id:"logoSvgBottom",fill:"#34435C",transform:"translate(-100,-100) scale(1.1,1.1)","fill-opacity":"0.75","stroke-opacity":"null","stroke-width":"32",stroke:"#34435C",d:"M547.0208 823.650987L301.615787 681.970347V398.677333l245.405013-141.748906L792.41216 398.677333v283.293014z"},null,-1)),Xm=Xt(()=>g("path",{fill:"none","fill-opacity":"null","stroke-opacity":"null","stroke-width":"24",stroke:"#43B984",transform:"translate(-26,-36) scale(1.03,1.03)",d:"M782.595413 700.66176l-38.352213 22.1184a9.721173 9.721173 0 0 1-4.942507 1.365333 9.91232 9.91232 0 0 1-4.942506-18.445653l38.324906-22.145707a34.73408 34.73408 0 0 0 17.298774-29.969066v-281.258667a34.69312 34.69312 0 0 0-17.28512-29.928107l-243.698347-140.629333a34.638507 34.638507 0 0 0-34.583893 0L409.6 250.729813a46.789973 46.789973 0 0 1 2.402987 14.103894 47.786667 47.786667 0 1 1-12.151467-31.3344l84.650667-48.837974a54.613333 54.613333 0 0 1 54.381226 0l243.698347 140.629334a54.613333 54.613333 0 0 1 27.19744 47.076693v281.258667a54.504107 54.504107 0 0 1-27.183787 47.035733zM388.819627 251.849387a9.325227 9.325227 0 0 1-0.477867-0.873814 26.528427 26.528427 0 1 0 3.8912 13.871787 27.129173 27.129173 0 0 0-3.413333-12.997973z m350.467413 472.255146z m-105.417387-249.856c0-0.2048-0.12288-0.314027-0.12288-0.49152a9.079467 9.079467 0 0 1 2.49856-8.178346 8.533333 8.533333 0 0 1 3.76832-2.198187 8.833707 8.833707 0 0 1 9.161387 2.198187l48.16896 48.141653-3.467947 3.467947-57.01632 56.97536 1.59744-1.59744-13.653333-5.85728 55.391573-55.391574s-23.01952-23.497387-31.402666-31.402666c-3.085653-2.90816 5.802667 55.978667-47.14496 62.805333-28.808533 3.713707-54.463147-23.10144-55.00928-55.00928-0.65536-38.597973 51.6096-50.7904 47.14496-55.00928-23.688533-22.377813-55.00928-55.00928-55.00928-55.00928L397.312 519.099733l83.1488 78.52032-26.487467 26.46016a29.24544 29.24544 0 1 0 5.36576 5.69344h0.109227l26.70592-26.70592 52.578987 49.5616 86.016-86.016-7.468374 7.468374h19.510614l-99.669334 99.587413-51.336533-51.4048a9.106773 9.106773 0 0 0-15.428267 8.192c0 0.177493 0.095573 0.28672 0.095574 0.49152a4.696747 4.696747 0 0 0 0.77824 1.952427 39.594667 39.594667 0 1 1-23.552-23.770454 6.116693 6.116693 0 0 0 1.365333 0.505174 9.106773 9.106773 0 0 0 9.038507-15.209814l-77.4144-77.37344 65.672533-65.645226a9.106773 9.106773 0 0 0-8.27392-15.414614c-0.2048 0-0.28672 0.109227-0.49152 0.109227A4.724053 4.724053 0 0 0 435.541333 436.906667a39.594667 39.594667 0 1 1 23.784107-23.552 9.106773 9.106773 0 0 0 14.731947 10.349226l66.68288-66.64192 80.677546 80.636587a9.270613 9.270613 0 0 1 0 12.929707 9.106773 9.106773 0 0 1-9.024853 2.280106 4.096 4.096 0 0 1-1.365333-0.505173 39.471787 39.471787 0 0 0-41.7792 9.147733 39.594667 39.594667 0 1 0 65.37216 14.62272 5.188267 5.188267 0 0 1-0.764587-1.897813zM289.05472 320.279893l-38.352213 22.145707a34.69312 34.69312 0 0 0-17.230507 29.928107v281.258666a34.679467 34.679467 0 0 0 17.28512 29.914454l243.698347 140.629333a34.679467 34.679467 0 0 0 34.583893 0l84.759893-48.919893a46.803627 46.803627 0 0 1-2.389333-14.09024 47.786667 47.786667 0 1 1 12.151467 31.3344l-84.650667 48.837973a54.613333 54.613333 0 0 1-54.381227 0l-243.712-140.629333a54.490453 54.490453 0 0 1-27.19744-47.06304v-281.258667a54.613333 54.613333 0 0 1 27.19744-47.076693l38.324907-22.186667a9.898667 9.898667 0 1 1 9.91232 17.175893z m369.62304 468.309334a27.552427 27.552427 0 1 0-26.528427-27.470507 27.552427 27.552427 0 0 0 26.528427 27.52512z"},null,-1)),Zm=[Qm,Ym,Xm],eh=Xt(()=>g("span",{class:"plugin_color"},"Plugin",-1)),th={class:"content"};function nh(e,t,n,r,o,a){const s=De("search-box"),c=De("TPNavBarTranslations"),l=De("TPNavBarAppearance"),u=De("TPNavBarSocialLinks"),i=De("TPNavBarExtra"),f=De("TPNavBarHamburger"),d=De("TPNavScreen");return k(),T(Te,null,[Um,g("div",{class:Ie(["header-box",[e.IsFixed?"IsFixed":"",e.dWidth<=750?"IsMobile":""]])},[g("div",Wm,[Y(s)]),g("div",Km,[g("h1",Gm,[Jm,g("span",{class:"header_logo",onClick:t[0]||(t[0]=me((...m)=>e.resetPola&&e.resetPola(...m),["stop"]))},[(k(),T("svg",{class:"icon",id:"logoSvgId",viewBox:"0 0 1024 1024",style:Ot({top:e.polaTop+"px"}),version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5863",width:"120",height:"120"},Zm,4))]),g("span",{class:"line",style:Ot({width:30+e.polaTop*1.2+"px"})},"-",4),eh]),g("div",th,[Y(c,{class:"translations"}),Y(l,{class:"assppearance"}),Y(u,{class:"social-links"}),Y(i,{class:"extra"}),Y(f,{class:"hamburger",active:e.isScreenOpen,onClick:e.toggleScreen},null,8,["active","onClick"])])]),Y(d,{open:e.isScreenOpen},null,8,["open"])],2)],64)}var rh=B(Vm,[["render",nh],["__scopeId","data-v-1e239cdb"]]);const oh=z({name:"Sidebar",data(){return{sidebarList:[]}},setup(){const e=Yt(),t=q(0),n=q(),r=Se(()=>{let a=0;return e[e.language=="en"?"menuList_en":"menuList"].some((s,c)=>{var l;return e.pageRoute&&e.pageRoute.matched&&s.path===((l=e.pageRoute.matched[0])==null?void 0:l.path)?(e.pageRoute.matched.length>1&&s.children.some((u,i)=>{if(s.path+"/"+u.path===e.pageRoute.matched[1].path)return t.value=i,!0}),a=c,!0):!1}),a});return{store:e,seletIdx:r,seletcIdx:t,closeOpen:()=>{n.value.clickCloseFn()},transformI18n:ie}}}),Qe=e=>(lt("data-v-77b6ee9d"),e=e(),ut(),e),ah=Qe(()=>g("div",{class:"top-bage"},[g("p",{class:"Sponsor"},[g("a",{href:"https://github.com/Five-great",title:"Sponsor Li Haolong"},[g("img",{src:"https://avatars.githubusercontent.com/u/43601963?s=60&v=4",alt:""})])])],-1)),sh={class:"sidebar-ul"},ih=["data-ison"],ch={key:0},lh={class:"sidebar-cUl"},uh=["data-ison"],fh={key:0},dh={class:"sidebar-ccUl"},ph={class:"sidebar-li outline outlink"},mh={class:"sidebar-title"},hh=Qe(()=>g("svg",{class:"icon outbound icon",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",x:"0px",y:"0px",viewBox:"0 0 100 100",width:"20",height:"20","data-v-1501f284":""},[g("path",{fill:"currentColor",d:"M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"}),g("polygon",{fill:"currentColor",points:"45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"})],-1)),_h={class:"edit-page_box"},vh=Qe(()=>g("svg",{height:"128","aria-hidden":"true",viewBox:"0 0 16 16",version:"1.1",width:"128","data-view-component":"true",class:"octicon octicon-mark-github v-align-middle"},[g("path",{"fill-rule":"evenodd",d:"M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0016 8c0-4.42-3.58-8-8-8z"})],-1)),gh=Qe(()=>g("br",null,null,-1)),yh=Qe(()=>g("br",null,null,-1)),bh=Qe(()=>g("svg",{class:"icon outbound icon",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",x:"0px",y:"0px",viewBox:"0 0 100 100",width:"15",height:"15","data-v-1501f284":""},[g("path",{fill:"currentColor",d:"M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"}),g("polygon",{fill:"currentColor",points:"45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"})],-1)),wh=Qe(()=>g("svg",{t:"1648028102473",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"2405",width:"128",height:"128"},[g("path",{d:"M512 1024C229.222 1024 0 794.778 0 512S229.222 0 512 0s512 229.222 512 512-229.222 512-512 512z m259.149-568.883h-290.74a25.293 25.293 0 0 0-25.292 25.293l-0.026 63.206c0 13.952 11.315 25.293 25.267 25.293h177.024c13.978 0 25.293 11.315 25.293 25.267v12.646a75.853 75.853 0 0 1-75.853 75.853h-240.23a25.293 25.293 0 0 1-25.267-25.293V417.203a75.853 75.853 0 0 1 75.827-75.853h353.946a25.293 25.293 0 0 0 25.267-25.292l0.077-63.207a25.293 25.293 0 0 0-25.268-25.293H417.152a189.62 189.62 0 0 0-189.62 189.645V771.15c0 13.977 11.316 25.293 25.294 25.293h372.94a170.65 170.65 0 0 0 170.65-170.65V480.384a25.293 25.293 0 0 0-25.293-25.267z",fill:"#C71D23"})],-1)),Sh=Qe(()=>g("br",null,null,-1)),Eh=Qe(()=>g("br",null,null,-1)),Oh=Qe(()=>g("svg",{class:"icon outbound icon",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",x:"0px",y:"0px",viewBox:"0 0 100 100",width:"15",height:"15","data-v-1501f284":""},[g("path",{fill:"currentColor",d:"M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"}),g("polygon",{fill:"currentColor",points:"45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"})],-1)),Ph=Qe(()=>g("li",{class:"sidebar-li"},[g("img",{style:{width:"100%","max-width":"200px","margin-top":"30px"},src:"https://img-blog.csdnimg.cn/3f6bfbf7766c4619a2af584dd6e9f12c.png",alt:""})],-1));function kh(e,t,n,r,o,a){var l;const s=De("router-link"),c=De("modalBox");return((l=e.store[e.store.language=="en"?"menuList_en":"menuList"])==null?void 0:l.length)>0?(k(),T("div",{key:0,class:"sidebar-Box",onClick:t[2]||(t[2]=me(()=>{},["stop"]))},[ah,g("ul",sh,[(k(!0),T(Te,null,nt(e.store[e.store.language=="en"?"menuList_en":"menuList"],(u,i)=>(k(),T("li",{key:i,class:"sidebar-li","data-ison":e.seletIdx===i},[u.children&&u.children.length>0?(k(),T("div",ch,[Y(s,{to:u.path+"/"+u.children[0].path,class:"sidebar-title"},{default:fe(()=>[He(M(e.store.language=="en"?u.name.replace(/\/en$/,""):u.meta?u.meta.title:u.name),1)]),_:2},1032,["to"]),g("ul",lh,[(k(!0),T(Te,null,nt(u.children,(f,d)=>(k(),T("li",{key:d,class:"sidebar-cLi","data-ison":e.seletcIdx===d},[f.children&&f.children.length>0?(k(),T("div",fh,[Y(s,{to:u.path+"/"+f.path+"/"+f.children[0].path,class:"sidebar-cTitle"},{default:fe(()=>[g("span",null,M(f.meta?f.meta.title:f.name),1),g("em",null,M(f.meta&&f.meta.remark?" | "+f.meta.remark:""),1)]),_:2},1032,["to"]),g("ul",dh,[(k(!0),T(Te,null,nt(f.children,(m,p)=>(k(),T("li",{key:p,class:"sidebar-ccLi"},[Y(s,{to:u.path+"/"+f.path+"/"+m.path,class:"sidebar-ccTitle"},{default:fe(()=>[He(M(m.meta?m.meta.title:m.name),1)]),_:2},1032,["to"])]))),128))])])):(k(),oe(s,{key:1,to:u.path+"/"+f.path,class:"sidebar-cTitle"},{default:fe(()=>[g("span",null,M(f.meta?f.meta.title:f.name),1),g("em",null,M(f.meta&&f.meta.pluginName?" | "+f.meta.pluginName:""),1)]),_:2},1032,["to"]))],8,uh))),128))])])):(k(),oe(s,{key:1,class:"sidebar-title",to:u.path},{default:fe(()=>[He(M(u.meta?u.meta.title:u.name),1)]),_:2},1032,["to"]))],8,ih))),128)),g("li",ph,[Y(c,{ref:"outLinkQABox",title:"\u4E92\u52A9\u95EE\u7B54\u533A"},{show:fe(()=>[g("div",mh,[g("span",null,M(e.transformI18n("tp.QandAarea")),1),hh])]),default:fe(()=>[g("div",_h,[g("a",{href:"https://github.com/tinymce-plugin/tinymce-plugin.github.io/discussions/categories/q-a",target:"_blank",onClick:t[0]||(t[0]=me((...u)=>e.closeOpen&&e.closeOpen(...u),["stop"]))},[vh,gh,yh,g("span",null,"Github"+M(e.transformI18n("tp.QandAarea")),1),bh]),g("a",{href:"https://gitee.com/tinymce-plugin/tinymce-plugin/issues",target:"_blank",onClick:t[1]||(t[1]=me((...u)=>e.closeOpen&&e.closeOpen(...u),["stop"]))},[wh,Sh,Eh,g("span",null,"Gitee"+M(e.transformI18n("tp.QandAarea")),1),Oh])])]),_:1},512)]),Ph])])):ne("",!0)}var Ch=B(oh,[["render",kh],["__scopeId","data-v-77b6ee9d"]]);const Ih=z({components:{Header:rh,Sidebar:Ch},data(){return{_resize:document.documentElement.clientWidth,showToc:!1}},name:"App",created(){window.addEventListener("resize",this.resizeFun,!1)},setup(){var n,r;Ms(()=>{document.dispatchEvent(new Event("render-event"))}),/^\/en/.test(window.location.pathname)?((n=zt.getItem("responsive-locale"))==null?void 0:n.locale)!=="en"&&zt.setItem("responsive-locale",{locale:"en"}):((r=zt.getItem("responsive-locale"))==null?void 0:r.locale)==="en"&&zt.setItem("responsive-locale",{locale:"zh"});const e=Gt().appContext.config.globalProperties.$storage;let t=Yt();return t.initStore(),Nn("store",q(t)),{store:t,instance:e}},methods:{resizeFun(e){this._resize=document.documentElement.clientWidth},screenTopFn(){document.documentElement.scrollTop=0},closeMenu(){this._resize<959&&(this.store.openMenu=!1)},listenerFun(e){if(/fv-hljs/.test(e.target.className)){let t=document.getElementById("inputCopy");t.value=e.target.children[0].tagName==="CODE"?e.target.children[0].innerText:e.target.children[1].innerText,t.select(),document.execCommand("copy"),this.showTips(ie("tp.codeCopySuccess"),"ok",60,3)}},showTips(e,t,n,r){let o=document.getElementById("tips");o.innerHTML='
'+e+"
",this._resize<750?n=n/100+"rem":n=n+"px",o.children[0].style.top=n,o.children[0].style.display="block",setTimeout(function(){o.children[0].style.display="none"},r*1e3)}},destroy(){window.removeEventListener("resize",this.resizeFun)}}),Th=g("svg",{class:"icon",t:"1628149369842",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4051",width:"30",height:"30"},[g("path",{d:"M789.12 210.56H42.88a35.2 35.2 0 0 1-35.2-35.2 35.2 35.2 0 0 1 35.2-34.56h746.24a34.56 34.56 0 0 1 35.2 34.56 35.2 35.2 0 0 1-35.2 35.2zM981.12 544.64H42.88a35.2 35.2 0 1 1 0-69.76h938.24a35.2 35.2 0 1 1 0 69.76zM981.12 878.72H42.88a35.2 35.2 0 0 1-35.2-34.56 35.2 35.2 0 0 1 35.2-35.2h938.24a35.2 35.2 0 0 1 35.2 35.2 35.2 35.2 0 0 1-35.2 34.56z","p-id":"4052"}),g("path",{d:"M949.12 175.36m-32 0a32 32 0 1 0 64 0 32 32 0 1 0-64 0Z","p-id":"4053"})],-1),xh=[Th],Rh={id:"nav-right"},Ah=g("div",{id:"repos"},null,-1),jh=g("div",{id:"fv-tocBox"},null,-1),$h=g("div",null,null,-1),Lh=g("svg",{t:"1657001043035",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3013",width:"36",height:"36"},[g("path",{d:"M528.968975 162.41916c-4.493338-4.493338-10.600429-7.045463-16.969487-7.045463-6.370081 0-12.43317 2.552126-16.97051 7.045463L320.358797 337.024873c-9.335622 9.401114-9.335622 24.559349 0 33.938973 9.422603 9.358135 24.604374 9.358135 33.938973 0l157.700695-157.700695 157.699672 157.700695c4.668323 4.64581 10.818393 6.978948 17.013489 6.978948 6.064113 0 12.258185-2.333138 16.926508-6.978948 9.335622-9.379625 9.335622-24.537859 0-33.938973L528.968975 162.41916 528.968975 162.41916zM528.968975 162.41916","p-id":"3014"}),g("path",{d:"M65.290517 606.881974l102.55984 0L167.850357 868.626303l47.89994 0L215.750297 606.881974l102.55984 0 0-47.942919L65.290517 558.939055 65.290517 606.881974zM65.290517 606.881974","p-id":"3015"}),g("path",{d:"M582.713017 558.939055l-127.033231 0c-15.311731 0-30.667463 5.866614-42.315758 17.537422-11.778254 11.735275-17.624403 27.047006-17.624403 42.380226l0 189.873442c0 15.312754 5.846148 30.645974 17.624403 42.35976 11.648294 11.691273 27.004027 17.537422 42.315758 17.537422l127.033231 0c15.22475 0 30.624485-5.846148 42.35976-17.537422 11.691273-11.712763 17.536398-27.047006 17.536398-42.35976L642.609175 618.856703c0-15.33322-5.845125-30.644951-17.536398-42.380226C613.337501 564.806693 597.937766 558.939055 582.713017 558.939055L582.713017 558.939055zM594.666256 808.730145c0 2.26867-0.610914 5.54018-3.533476 8.463766-2.835581 2.87856-6.195096 3.489474-8.419763 3.489474l-127.033231 0c-2.26867 0-5.584182-0.610914-8.463766-3.489474-2.87856-2.922563-3.489474-6.195096-3.489474-8.463766L443.726545 618.856703c0-2.26867 0.610914-5.54018 3.489474-8.463766 2.87856-2.921539 6.195096-3.511987 8.463766-3.511987l127.033231 0c2.224668 0 5.584182 0.589424 8.419763 3.511987 2.922563 2.922563 3.533476 6.195096 3.533476 8.463766L594.666256 808.730145 594.666256 808.730145zM594.666256 808.730145","p-id":"3016"}),g("path",{d:"M941.21504 576.476477c-11.779278-11.669784-27.091008-17.537422-42.402739-17.537422L734.481605 558.939055 734.481605 868.626303l47.898917 0L782.380522 732.802872l116.432803 0c15.311731 0 30.623461-5.845125 42.402739-17.557888 11.647271-11.691273 17.493419-27.025517 17.493419-42.337247l0-54.05001C958.70846 603.523483 952.862311 588.211752 941.21504 576.476477L941.21504 576.476477zM910.765541 672.906713c0 2.224668-0.610914 5.54018-3.490497 8.463766-2.921539 2.87856-6.238075 3.489474-8.462742 3.489474L782.380522 684.859953l0-77.977979 116.432803 0c2.224668 0 5.54018 0.589424 8.462742 3.511987 2.879584 2.922563 3.490497 6.195096 3.490497 8.463766L910.766564 672.906713 910.765541 672.906713zM910.765541 672.906713","p-id":"3017"})],-1),Dh=[Lh];function Nh(e,t,n,r,o,a){var u;const s=De("Header"),c=De("Sidebar"),l=De("router-view");return k(),T("div",{class:Ie(["appBox",((u=e.instance)==null?void 0:u.locale)&&e.instance.locale.locale?e.instance.locale.locale:""]),onClick:t[3]||(t[3]=me((...i)=>e.closeMenu&&e.closeMenu(...i),["stop"]))},[Y(s,{dWidth:e._resize},null,8,["dWidth"]),g("div",{class:"menu_icon",onClick:t[0]||(t[0]=me(i=>e.store.openMenu=!e.store.openMenu,["stop"]))},xh),g("aside",{class:Ie([e.store.openMenu?"openMenu":""]),style:Ot({transform:`translateX(${e.store.completeMenu?"0":"-100%"})`})},[Y(c)],6),g("div",{id:"main-box",class:Ie(e.showToc?"":"noshow")},[g("main",{onClick:t[1]||(t[1]=(...i)=>e.listenerFun&&e.listenerFun(...i))},[Y(l)]),g("div",Rh,[Ah,jh,$h,g("div",{class:"scroll-top",onClick:t[2]||(t[2]=(...i)=>e.screenTopFn&&e.screenTopFn(...i))},Dh)])],2)],2)}var Mh=B(Ih,[["render",Nh]]);const zh=z({name:"Preview",props:{source:{type:String,default:""}},setup(e,{slots:t,attrs:n}){const r=q(),o=kt({codeHeight:0}),a=zs,s=!!t.description;return{toggleCode:()=>{var l;o.codeHeight===0?o.codeHeight=((l=r.value)==null?void 0:l.offsetHeight)||0:o.codeHeight=0},slots:t,state:o,codeRef:r,slotDescription:s,versionVal:a}}}),Fh=e=>(lt("data-v-420babac"),e=e(),ut(),e),Bh={class:"preview demo-block"},Hh={class:"topBox"},qh=Fh(()=>g("img",{class:"icon",src:"https://cn.vuejs.org/images/logo.svg",alt:""},null,-1)),Vh={class:"text"},Uh=He("V"),Wh={class:"preview__card"},Kh={class:"preview__demo source"},Gh={ref:"codeRef",class:"preview__coderef"},Jh={key:0,class:"preview__description description"},Qh=["innerHTML"];function Yh(e,t,n,r,o,a){return k(),T("div",Bh,[g("div",Hh,[qh,g("p",Vh,[Uh,g("span",null,M(e.versionVal),1)])]),g("div",Wh,[g("div",Kh,[g("div",null,[Ce(e.$slots,"demo1",{},void 0,!0)]),g("div",null,[Ce(e.$slots,"demo",{},void 0,!0)])]),g("div",{style:Ot({height:`${e.state.codeHeight}px`}),class:"preview__code meta"},[g("div",{class:"preview__footer demo-block-control",onClick:t[0]||(t[0]=me((...s)=>e.toggleCode&&e.toggleCode(...s),["stop"]))},M(e.state.codeHeight>0?"\u9690\u85CF\u4EE3\u7801":"\u663E\u793A\u4EE3\u7801"),1),g("div",Gh,[e.slotDescription?(k(),T("div",Jh,[Ce(e.$slots,"description",{},void 0,!0)])):ne("",!0),g("div",{class:"preview__coder highlight",innerHTML:e.source},null,8,Qh)],512)],4),g("div",{class:"preview__footer demo-block-control",onClick:t[1]||(t[1]=me((...s)=>e.toggleCode&&e.toggleCode(...s),["stop"]))},M(e.state.codeHeight>0?"\u9690\u85CF\u4EE3\u7801":"\u663E\u793A\u4EE3\u7801"),1)])])}var Xh=B(zh,[["render",Yh],["__scopeId","data-v-420babac"]]);const Zh=z({name:"PreviewVue2",props:{source:{type:String,default:""},template:{type:String,default:""},demoID:{type:String,default:"demoVue2"+new Date().getTime()+Math.round(Math.random()*10)},versionVal:{type:String,default:"2.6.14"}},created(){this.init()},methods:{init(){let e=Vue2.component("TinymceVue",{props:{value:{type:[String,Number],default:"dsd"},show:{type:Boolean,default:!1},init:{type:Object,default:{}}},data(){return{tinymceID:"tinymce-"+new Date().getTime()+Math.floor(Math.random()*10)+Math.floor(Math.random()*10),tinymceTimerID:null,tinymce_width:"100%",tinymce_height:200,tinymce_loading:"loading",editorFn:""}},created(){setTimeout(()=>{if(typeof tinymce=="undefined")throw clearInterval(this.tinymceTimerID),new Error("tinymce undefined")},3e3),this.tinymceTimerID=setInterval(()=>{typeof tinymce!="undefined"&&tp$State&&(this.ceateInit(JSON.stringify({base_url:"/tinymce",language:"zh_CN",schema:"html5",plugins:"code hr",table_default_attributes:{border:"1"},table_default_styles:{"border-collapse":"collapse",width:"100%"},table_header_type:"sectionCells",table_responsive_width:!0,skeletonScreen:!0,file_picker_types:"file img media",fontsize_formats:"12px 14px 16px 18px 24px 36px 48px 56px 72px"})),clearInterval(this.tinymceTimerID))},50)},methods:{importantFn(){this.editor.execCommand("mceImportword")},xhrOnProgress(r){return this.xhrOnProgress.onprogress=r,function(){var o=this.createXHR();return typeof xhrOnProgress.onprogress!="function"||xhrOnProgress.onprogress&&o.upload&&(o.upload.onprogress=xhrOnProgress.onprogress),o}},createXHR(){return window.XMLHttpRequest?new XMLHttpRequest:window.ActiveXobiect?new ActiveXobiect("Microsoft.XMLHTTP"):""},ceateInit(r){let o=this,a=JSON.parse(r);a.selector="#"+o.tinymceID,a.setup=s=>{o.editorFn=s,s.on("init",()=>{s.setTpContent(o.value),tinymce.activeEditor.setProgressState(!1,50)}),s.on("input NodeChange",()=>{o.$emit("input",s.getTpContent())})},Object.assign(a,this.init||{}),o.tinymce_height=a.min_height,tinymce.init(a)}},template:`
`}),t=this.$parent.sourceCode();t.components||(t.components={}),t.components.TinymceVue=e;let n=new Vue2(Pe({template:this.template},t));setTimeout(()=>{n.$mount("#"+this.demoID)},0)}},setup(e,{slots:t,attrs:n}){const r=q(),o=q(),a=kt({codeHeight:0}),s=!!t.description;return{toggleCode:()=>{var l;a.codeHeight===0?a.codeHeight=((l=r.value)==null?void 0:l.offsetHeight)||0:a.codeHeight=0},slots:t,state:a,codeRef:r,demoVueRef:o,slotDescription:s}}}),e_=e=>(lt("data-v-b67b66da"),e=e(),ut(),e),t_={class:"preview vue2 demo-block"},n_={class:"topBox"},r_=e_(()=>g("img",{class:"icon",src:"https://v3.cn.vuejs.org/logo.png",alt:""},null,-1)),o_={class:"text"},a_=He("V"),s_={class:"preview__card"},i_={class:"preview__demo source"},c_=["id"],l_={ref:"codeRef",class:"preview__coderef"},u_={key:0,class:"preview__description description"},f_=["innerHTML"];function d_(e,t,n,r,o,a){return k(),T("div",t_,[g("div",n_,[r_,g("p",o_,[a_,g("span",null,M(e.versionVal||"2.6.14"),1)])]),g("div",s_,[g("div",i_,[g("div",{id:e.demoID},null,8,c_)]),g("div",{style:Ot({height:`${e.state.codeHeight}px`}),class:"preview__code meta"},[g("div",{class:"preview__footer demo-block-control",onClick:t[0]||(t[0]=me((...s)=>e.toggleCode&&e.toggleCode(...s),["stop"]))},M(e.state.codeHeight>0?"\u9690\u85CF\u4EE3\u7801":"\u663E\u793A\u4EE3\u7801"),1),g("div",l_,[e.slotDescription?(k(),T("div",u_,[Ce(e.$slots,"description",{},void 0,!0)])):ne("",!0),g("div",{class:"preview__coder highlight",innerHTML:e.source},null,8,f_)],512)],4),g("div",{class:"preview__footer demo-block-control",onClick:t[1]||(t[1]=me((...s)=>e.toggleCode&&e.toggleCode(...s),["stop"]))},M(e.state.codeHeight>0?"\u9690\u85CF\u4EE3\u7801":"\u663E\u793A\u4EE3\u7801"),1)])])}var p_=B(Zh,[["render",d_],["__scopeId","data-v-b67b66da"]]);const m_=z({name:"PreviewReact",props:{source:{type:String,default:""},idx:{type:String,default:"demo0"},template:{type:String,default:""},demoID:{type:String,default:"demoReact"+new Date().getTime()},versionVal:{type:String,default:"17.0.2"}},created(){this.init()},methods:{init(){setTimeout(()=>{this.$parent.sourceCode(document.getElementById(""+this.demoID+"_"+this.idx))},10)}},setup(e,{slots:t,attrs:n}){const r=q(),o=q(),a=kt({codeHeight:0}),s=!!t.description;return{toggleCode:()=>{var l;a.codeHeight===0?a.codeHeight=((l=r.value)==null?void 0:l.offsetHeight)||0:a.codeHeight=0},slots:t,state:a,codeRef:r,demoVueRef:o,slotDescription:s}}}),h_=e=>(lt("data-v-5deb7d50"),e=e(),ut(),e),__={class:"preview react demo-block"},v_={class:"topBox"},g_=h_(()=>g("img",{class:"icon",src:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9Ii0xMS41IC0xMC4yMzE3NCAyMyAyMC40NjM0OCI+CiAgPHRpdGxlPlJlYWN0IExvZ288L3RpdGxlPgogIDxjaXJjbGUgY3g9IjAiIGN5PSIwIiByPSIyLjA1IiBmaWxsPSIjNjFkYWZiIi8+CiAgPGcgc3Ryb2tlPSIjNjFkYWZiIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiPgogICAgPGVsbGlwc2Ugcng9IjExIiByeT0iNC4yIi8+CiAgICA8ZWxsaXBzZSByeD0iMTEiIHJ5PSI0LjIiIHRyYW5zZm9ybT0icm90YXRlKDYwKSIvPgogICAgPGVsbGlwc2Ugcng9IjExIiByeT0iNC4yIiB0cmFuc2Zvcm09InJvdGF0ZSgxMjApIi8+CiAgPC9nPgo8L3N2Zz4K",alt:""},null,-1)),y_={class:"text"},b_=He("V"),w_={class:"preview__card"},S_={class:"preview__demo source"},E_=["id"],O_={ref:"codeRef",class:"preview__coderef"},P_={key:0,class:"preview__description description"},k_=["innerHTML"];function C_(e,t,n,r,o,a){return k(),T("div",__,[g("div",v_,[g_,g("p",y_,[b_,g("span",null,M(e.versionVal||"17.0.2"),1)])]),g("div",w_,[g("div",S_,[g("div",{id:e.demoID+"_"+e.idx},null,8,E_)]),g("div",{style:Ot({height:`${e.state.codeHeight}px`}),class:"preview__code meta"},[g("div",{class:"preview__footer demo-block-control",onClick:t[0]||(t[0]=me((...s)=>e.toggleCode&&e.toggleCode(...s),["stop"]))},M(e.state.codeHeight>0?"\u9690\u85CF\u4EE3\u7801":"\u663E\u793A\u4EE3\u7801"),1),g("div",O_,[e.slotDescription?(k(),T("div",P_,[Ce(e.$slots,"description",{},void 0,!0)])):ne("",!0),g("div",{class:"preview__coder highlight",innerHTML:e.source},null,8,k_)],512)],4),g("div",{class:"preview__footer demo-block-control",onClick:t[1]||(t[1]=me((...s)=>e.toggleCode&&e.toggleCode(...s),["stop"]))},M(e.state.codeHeight>0?"\u9690\u85CF\u4EE3\u7801":"\u663E\u793A\u4EE3\u7801"),1)])])}var I_=B(m_,[["render",C_],["__scopeId","data-v-5deb7d50"]]);const T_=z({name:"PreviewIframe",props:{source:{type:String,default:""},sourceCode:{type:String,default:""}},setup(e,{slots:t,attrs:n}){const r=q(),o=kt({codeHeight:0}),a=zs,s=!!t.description;return{toggleCode:()=>{var l;o.codeHeight===0?o.codeHeight=((l=r.value)==null?void 0:l.offsetHeight)||0:o.codeHeight=0},slots:t,state:o,codeRef:r,slotDescription:s,versionVal:a}}}),x_={class:"preview iframe demo-block"},R_={class:"preview__card"},A_={class:"preview__demo source"},j_=["innerHTML"],$_={ref:"codeRef",class:"preview__coderef"},L_={key:0,class:"preview__description description"},D_=["innerHTML"];function N_(e,t,n,r,o,a){return k(),T("div",x_,[g("div",R_,[g("div",A_,[g("div",{innerHTML:e.sourceCode},null,8,j_)]),g("div",{style:Ot({height:`${e.state.codeHeight}px`}),class:"preview__code meta"},[g("div",{class:"preview__footer demo-block-control",onClick:t[0]||(t[0]=me((...s)=>e.toggleCode&&e.toggleCode(...s),["stop"]))},M(e.state.codeHeight>0?"\u9690\u85CF\u4EE3\u7801":"\u663E\u793A\u4EE3\u7801"),1),g("div",$_,[e.slotDescription?(k(),T("div",L_,[Ce(e.$slots,"description",{},void 0,!0)])):ne("",!0),g("div",{class:"preview__coder highlight",innerHTML:e.source},null,8,D_)],512)],4),g("div",{class:"preview__footer demo-block-control",onClick:t[1]||(t[1]=me((...s)=>e.toggleCode&&e.toggleCode(...s),["stop"]))},M(e.state.codeHeight>0?"\u9690\u85CF\u4EE3\u7801":"\u663E\u793A\u4EE3\u7801"),1)])])}var M_=B(T_,[["render",N_],["__scopeId","data-v-4e538f47"]]);const z_=z({name:"PagesRouter",props:{pagesName:{type:String,default:""},mapType:{type:String,default:"docsMap"},docRepo:{type:String,default:""},docPath:{type:String,default:""}},created(){this.init()},setup(e){const t={gitee:"https://gitee.com/tinymce-plugin/",github:"https://github.com/tinymce-plugin/"},n=q({}),r=q({}),o=ct("store"),a=q(""),s=q([]),c=q("");return t.gitee+e.docRepo+""+e.docPath,{closeOpen:()=>{a.value.clickCloseFn()},prefix:t,store:o,init:()=>{let i,f=setInterval(()=>{var d;if(i=o.value[o.value.language=="en"?"pagesObj_en":"pagesObj"],i[e.pagesName]||i[e.docRepo]){clearInterval(f);let m=i?i[e.pagesName]:i[e.docRepo];if(n.value=i[m.pagesNext],r.value=i[m.pagesPrev],e.docRepo&&o.value.siteMap[e.mapType+"Map"]){let p=o.value.siteMap[e.mapType+"Map"][e.docRepo][e.docPath.replace(/\.md$/,"")];p.upTime&&(c.value=new Date(p.upTime).toLocaleString()),s.value=(d=p["contributors-list"])==null?void 0:d.slice(0,12)}}},200);setTimeout(()=>{clearInterval(f)},6e4)},contributorsList:s,upTime:c,editBox:a,pagesPrev:r,pagesNext:n,transformI18n:ie}}}),F_={class:"edit-page"},B_={key:0,class:"contributors-list-box"},H_={class:"contributors-title"},q_=g("svg",{t:"1648096750538",class:"icon",viewBox:"0 0 1195 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"2178",width:"18",height:"18"},[g("path",{fill:"#344a85",d:"M1192.262422 246.651345a39.828914 39.828914 0 0 0-39.691809-40.034571 39.211943 39.211943 0 0 0-27.420939 11.105481v-1.096838l-266.600078 241.989785L644.254958 27.352387a54.841878 54.841878 0 0 0-46.684148-27.420939A55.801611 55.801611 0 0 0 548.418777 29.751719L335.358082 458.272441 63.753683 212.238067a38.320762 38.320762 0 0 0-22.553722-7.746415 39.897466 39.897466 0 0 0-39.691809 40.03457c0 1.371047-0.754076 0.754076-1.233943 1.233943l84.456492 634.246315v-2.604989a118.252799 118.252799 0 0 0 74.996268 96.453153 1463.661164 1463.661164 0 0 0 435.033195 48.397957 1450.567666 1450.567666 0 0 0 442.094087-58.4066 117.978589 117.978589 0 0 0 71.979964-94.807896 60.326065 60.326065 0 0 0 0.479867 9.117462l83.83952-630.681594c-0.342762-0.411314-0.891181 0.411314-0.89118-0.822628zM596.40542 936.425062L426.395599 681.547435 596.40542 426.669809l170.009821 254.877626z","p-id":"2179"})],-1),V_={class:"contributors-list-ul"},U_=["href","title"],W_=["src"],K_=g("svg",{t:"1648027203716",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"2193",width:"16",height:"16"},[g("path",{fill:"#344A85",d:"M678.854949 37.925925 151.913033 37.925925C67.776878 37.925925 0 105.939719 0 189.838987L0 872.086938C0 956.223137 68.013787 1024 151.913033 1024L834.161006 1024C918.297234 1024 986.074039 955.986205 986.074039 872.086938L986.074039 352.876954 910.22219 428.728803 910.22219 872.086938C910.22219 914.194593 876.305262 948.148151 834.161006 948.148151L151.913033 948.148151C109.805422 948.148151 75.851849 914.231172 75.851849 872.086938L75.851849 189.838987C75.851849 147.731332 109.76885 113.777781 151.913033 113.777781L603.003099 113.777781 678.854949 37.925925ZM320.679497 698.854934 550.775881 633.528042 386.423442 470.180586 320.679497 698.854934ZM935.236535 251.412619 770.882048 88.063035 409.297774 447.421923 573.650213 610.755591 935.236535 251.412619ZM1011.623351 114.198462 908.897353 12.111338C891.877742-4.806437 863.36629-3.885305 845.211136 14.152038L795.896832 63.146942 960.252416 226.495459 1009.563575 177.485707C1027.718729 159.447296 1028.639817 131.118358 1011.623351 114.198462Z"})],-1),G_={class:"edit-page_box"},J_=["href"],Q_=g("svg",{height:"128","aria-hidden":"true",viewBox:"0 0 16 16",version:"1.1",width:"128","data-view-component":"true",class:"octicon octicon-mark-github v-align-middle"},[g("path",{"fill-rule":"evenodd",d:"M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0016 8c0-4.42-3.58-8-8-8z"})],-1),Y_=g("br",null,null,-1),X_=g("br",null,null,-1),Z_=g("svg",{class:"icon outbound icon",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",x:"0px",y:"0px",viewBox:"0 0 100 100",width:"15",height:"15","data-v-1501f284":""},[g("path",{fill:"currentColor",d:"M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"}),g("polygon",{fill:"currentColor",points:"45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"})],-1),e2=["href"],t2=g("svg",{t:"1648028102473",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"2405",width:"128",height:"128"},[g("path",{d:"M512 1024C229.222 1024 0 794.778 0 512S229.222 0 512 0s512 229.222 512 512-229.222 512-512 512z m259.149-568.883h-290.74a25.293 25.293 0 0 0-25.292 25.293l-0.026 63.206c0 13.952 11.315 25.293 25.267 25.293h177.024c13.978 0 25.293 11.315 25.293 25.267v12.646a75.853 75.853 0 0 1-75.853 75.853h-240.23a25.293 25.293 0 0 1-25.267-25.293V417.203a75.853 75.853 0 0 1 75.827-75.853h353.946a25.293 25.293 0 0 0 25.267-25.292l0.077-63.207a25.293 25.293 0 0 0-25.268-25.293H417.152a189.62 189.62 0 0 0-189.62 189.645V771.15c0 13.977 11.316 25.293 25.294 25.293h372.94a170.65 170.65 0 0 0 170.65-170.65V480.384a25.293 25.293 0 0 0-25.293-25.267z",fill:"#C71D23"})],-1),n2=g("br",null,null,-1),r2=g("br",null,null,-1),o2=g("svg",{class:"icon outbound icon",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",x:"0px",y:"0px",viewBox:"0 0 100 100",width:"15",height:"15","data-v-1501f284":""},[g("path",{fill:"currentColor",d:"M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"}),g("polygon",{fill:"currentColor",points:"45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"})],-1),a2=["href"],s2={class:"edit-page-text"},i2=g("svg",{class:"icon outbound icon",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",x:"0px",y:"0px",viewBox:"0 0 100 100",width:"15",height:"15","data-v-1501f284":""},[g("path",{fill:"currentColor",d:"M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"}),g("polygon",{fill:"currentColor",points:"45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"})],-1),c2={key:3,class:"upDate"},l2={class:"pages-router"},u2={key:0,class:"pages-prev"},f2=g("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",class:"icon icon-prev","data-v-01ae7502":""},[g("path",{d:"M19,11H7.4l5.3-5.3c0.4-0.4,0.4-1,0-1.4s-1-0.4-1.4,0l-7,7c-0.1,0.1-0.2,0.2-0.2,0.3c-0.1,0.2-0.1,0.5,0,0.8c0.1,0.1,0.1,0.2,0.2,0.3l7,7c0.2,0.2,0.5,0.3,0.7,0.3s0.5-0.1,0.7-0.3c0.4-0.4,0.4-1,0-1.4L7.4,13H19c0.6,0,1-0.4,1-1S19.6,11,19,11z"})],-1),d2={key:1,class:"pages-next"},p2=g("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",class:"icon icon-next","data-v-01ae7502":""},[g("path",{d:"M19.9,12.4c0.1-0.2,0.1-0.5,0-0.8c-0.1-0.1-0.1-0.2-0.2-0.3l-7-7c-0.4-0.4-1-0.4-1.4,0s-0.4,1,0,1.4l5.3,5.3H5c-0.6,0-1,0.4-1,1s0.4,1,1,1h11.6l-5.3,5.3c-0.4,0.4-0.4,1,0,1.4c0.2,0.2,0.5,0.3,0.7,0.3s0.5-0.1,0.7-0.3l7-7C19.8,12.6,19.9,12.5,19.9,12.4z"})],-1);function m2(e,t,n,r,o,a){var l;const s=De("modalBox"),c=De("router-link");return k(),T("div",null,[g("div",F_,[((l=e.contributorsList)==null?void 0:l.length)>0?(k(),T("div",B_,[g("span",H_,M(e.transformI18n("tp.editContributors")),1),q_,g("ul",V_,[(k(!0),T(Te,null,nt(e.contributorsList,(u,i)=>(k(),T("li",{key:i},[g("a",{href:"https://github.com"+u.repo,title:u.name},[g("img",{src:u.logo,alt:""},null,8,W_)],8,U_)]))),128))])])):ne("",!0),e.docRepo&&e.docRepo=="tinymce-plugin-docs"?(k(),oe(s,{key:1,ref:"editBox",title:"\u7F16\u8F91\u6B64\u9875"},{show:fe(()=>[g("span",null,[He(M(e.transformI18n("tp.editPage"))+" ",1),K_])]),default:fe(()=>[g("div",G_,[e.docRepo?(k(),T("a",{key:0,href:e.prefix.github+e.docRepo+"/edit/main/"+e.docPath,target:"_blank",onClick:t[0]||(t[0]=me((...u)=>e.closeOpen&&e.closeOpen(...u),["stop"]))},[Q_,Y_,X_,g("span",null,M(e.transformI18n("tp.editPageInGithub")),1),Z_],8,J_)):ne("",!0),g("a",{href:e.prefix.gitee+e.docRepo+"/edit/main/"+e.docPath,target:"_blank",onClick:t[1]||(t[1]=me((...u)=>e.closeOpen&&e.closeOpen(...u),["stop"]))},[t2,n2,r2,g("span",null,M(e.transformI18n("tp.editPageInGitee")),1),o2],8,e2)])]),_:1},512)):e.docRepo&&e.docPath.length>5?(k(),T("a",{key:2,href:e.prefix.github+e.docRepo+"/edit/main/"+e.docPath,target:"_blank"},[g("span",s2,M(e.transformI18n("tp.editPageInGithub")),1),i2],8,a2)):ne("",!0),e.upTime?(k(),T("div",c2,M(e.transformI18n("tp.upTime"))+"\uFF1A"+M(e.upTime),1)):ne("",!0)]),g("div",l2,[e.pagesPrev&&e.pagesPrev.path?(k(),T("div",u2,[Y(c,{to:e.pagesPrev.path},{default:fe(()=>[f2,g("span",null,M(e.pagesPrev.meta?e.pagesPrev.meta.title:e.pagesPrev.name),1)]),_:1},8,["to"])])):ne("",!0),e.pagesNext&&e.pagesNext.path?(k(),T("div",d2,[Y(c,{to:e.pagesNext.path},{default:fe(()=>[g("span",null,M(e.pagesNext.meta?e.pagesNext.meta.title:e.pagesNext.name),1),p2]),_:1},8,["to"])])):ne("",!0)])])}var h2=B(z_,[["render",m2]]);const _2=z({name:"modalBox",props:{title:{type:String,default:"\u6309\u94AE"}},data(){return{modalOpen:!1}},methods:{clickCloseFn(){this.modalOpen=!1}}}),v2=e=>(lt("data-v-274ff3b9"),e=e(),ut(),e),g2=v2(()=>g("svg",{t:"1648029396299",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3858",width:"35",height:"35"},[g("path",{d:"M512 128C300.8 128 128 300.8 128 512s172.8 384 384 384 384-172.8 384-384S723.2 128 512 128zM672 627.2c12.8 12.8 12.8 32 0 44.8s-32 12.8-44.8 0L512 556.8l-115.2 115.2c-12.8 12.8-32 12.8-44.8 0s-12.8-32 0-44.8L467.2 512 352 396.8C339.2 384 339.2 364.8 352 352s32-12.8 44.8 0L512 467.2l115.2-115.2c12.8-12.8 32-12.8 44.8 0s12.8 32 0 44.8L556.8 512 672 627.2z","p-id":"3859"})],-1)),y2=[g2];function b2(e,t,n,r,o,a){return k(),T("div",null,[g("a",{onClick:t[0]||(t[0]=s=>e.modalOpen=!0),class:"modal-button"},[Ce(e.$slots,"show",{},()=>[He(M(e.title),1)],!0)]),(k(),oe(Fs,{to:"body"},[e.modalOpen?(k(),T("div",{key:0,class:"modal-box",onClick:t[3]||(t[3]=me((...s)=>e.clickCloseFn&&e.clickCloseFn(...s),["stop"]))},[g("div",{class:"modal-box-body",onClick:t[2]||(t[2]=me(()=>{},["stop"]))},[Ce(e.$slots,"default",{},void 0,!0),g("a",{onClick:t[1]||(t[1]=s=>e.modalOpen=!1),class:"close-button"},y2)])])):ne("",!0)]))])}var w2=B(_2,[["render",b2],["__scopeId","data-v-274ff3b9"]]);const S2=z({name:"fvToc",props:{title:{type:String,default:"\u6309\u94AE"}},data(){return{modalOpen:!1}},methods:{clickCloseFn(){this.modalOpen=!1}},created(){setTimeout(()=>{this.$root.showToc=!0,tocbot.init({tocSelector:"#fv-toc",contentSelector:"#main-box main",headingSelector:"h1, h2, h3",scrollSmooth:!0,scrollSmoothDuration:120,scrollSmoothOffset:120,hasInnerContainers:!0,orderedList:!1,headingsOffset:210,collapseDepth:Number("2")})},200)},beforeUnmount(){this.$root.showToc=!1,tocbot.destroy()}}),E2=g("p",{class:"toc-title"},"\u76EE\u5F55",-1),O2=g("div",{id:"fv-toc"},null,-1);function P2(e,t,n,r,o,a){return k(),T("div",null,[(k(),oe(Fs,{to:"div#fv-tocBox"},[E2,O2]))])}var k2=B(S2,[["render",P2]]),C2=z({name:"CodeGroup",setup(e,{slots:t}){const n=q(-1),r=q([]),o=(c=n.value)=>{c{c>0?n.value=c-1:n.value=r.value.length-1,r.value[n.value].focus()},s=(c,l)=>{c.key===" "||c.key==="Enter"?(c.preventDefault(),n.value=l):c.key==="ArrowRight"?(c.preventDefault(),o(l)):c.key==="ArrowLeft"&&(c.preventDefault(),a(l))};return()=>{var l;const c=(((l=t.default)==null?void 0:l.call(t))||[]).filter(u=>u.type.name==="CodeGroupItem").map(u=>(u.props===null&&(u.props={}),u));return c.length===0?null:(n.value<0||n.value>c.length-1?(n.value=c.findIndex(u=>u.props.active===""||u.props.active===!0),n.value===-1&&(n.value=0)):c.forEach((u,i)=>{u.props.active=i===n.value}),re("div",{class:"code-group"},[re("div",{class:"code-group__nav"},re("ul",{class:"code-group__ul"},c.map((u,i)=>{const f=i===n.value;return re("li",{class:"code-group__li"},re("button",{ref:d=>{d&&(r.value[i]=d)},class:{"code-group__nav-tab":!0,"code-group__nav-tab-active":f},ariaPressed:f,ariaExpanded:f,onClick:()=>n.value=i,onKeydown:d=>s(d,i)},u.props.title))}))),c]))}}});const I2=["aria-selected"],T2=z({name:"CodeGroupItem"}),x2=z(Tt(Pe({},T2),{props:{title:{type:String,required:!0},active:{type:Boolean,required:!1,default:!1}},setup(e){return(t,n)=>(k(),T("div",{class:Ie(["code-group-item",{"code-group-item__active":e.active}]),"aria-selected":e.active},[Ce(t.$slots,"default")],10,I2))}}));const R2={},A2={class:"lazyload-wrapper"},j2=g("div",{style:{display:"flex"},class:"css-vem7w7 e10ne1lt2"},[g("div",{class:"fv-loading"},[g("svg",{class:"icon",id:"logoSvgId",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5863",width:"120",height:"120"},[g("path",{transform:"translate(868,2070) scale(2.1,2.1) rotate(180)",fill:"none","fill-opacity":"null","stroke-opacity":"null","stroke-width":"16",stroke:"#335FFF",d:"m203.108398,645.3192c33.99355,0.20039 67.58717,28.4558 67.58717,69.63654c0,0 0.22086,11.0003 0.23698,24.09619l0.00048,2.53102c-0.0025,2.83556 -0.0155,5.74026 -0.04309,8.62832l-0.01835,1.73016c-0.12767,10.93632 -0.47796,21.38476 -1.27581,26.63907c-4.69911,31.46169 -28.19465,53.20432 -60.5885,58.71512c-29.19446,5.7112 -46.49118,9.01769 -52.09012,10.11985c-1.41149,0.29469 -5.65982,0.90142 -9.85524,1.35111l-0.83752,0.08771c-2.6445,0.27022 -5.1905,0.46491 -6.9039,0.46491c-35.59324,0 -67.88711,-26.65226 -68.38702,-69.63654l0.00088,-2.15162c0.00007,-0.10585 0.00014,-0.21526 0.00022,-0.32814l0.00086,-1.10755c0.00451,-5.18721 0.01936,-15.29461 0.06827,-25.59709l0.01191,-2.3788l0,0l0.00864,-1.58335c0.05803,-10.27482 0.15317,-20.13893 0.30914,-24.8672c1.19978,-31.3615 22.89566,-56.7112 64.18782,-64.82712l0.0598,-0.01163c1.94046,-0.37737 50.47261,-9.81564 52.53022,-10.20841c4.79909,-0.90176 10.09809,-1.30255 14.99716,-1.30255zm23.79548,36.57171l-79.98482,15.53045l0,31.2613l-31.99393,6.21218l0,77.95285l79.98482,-15.53046l0,-31.26129l31.99393,-6.21218l0,-77.95285zm-31.99393,37.47348l0,46.69155l-47.99089,9.31827l0,-46.69155l47.99089,-9.31827z"}),g("path",{id:"logoSvgBottom",fill:"#34435C",transform:"translate(-100,-100) scale(1.1,1.1)","fill-opacity":"0.75","stroke-opacity":"null","stroke-width":"32",stroke:"#34435C",d:"M547.0208 823.650987L301.615787 681.970347V398.677333l245.405013-141.748906L792.41216 398.677333v283.293014z"}),g("path",{fill:"none","fill-opacity":"null","stroke-opacity":"null","stroke-width":"24",stroke:"#43B984",transform:"translate(-26,-36) scale(1.03,1.03)",d:"M782.595413 700.66176l-38.352213 22.1184a9.721173 9.721173 0 0 1-4.942507 1.365333 9.91232 9.91232 0 0 1-4.942506-18.445653l38.324906-22.145707a34.73408 34.73408 0 0 0 17.298774-29.969066v-281.258667a34.69312 34.69312 0 0 0-17.28512-29.928107l-243.698347-140.629333a34.638507 34.638507 0 0 0-34.583893 0L409.6 250.729813a46.789973 46.789973 0 0 1 2.402987 14.103894 47.786667 47.786667 0 1 1-12.151467-31.3344l84.650667-48.837974a54.613333 54.613333 0 0 1 54.381226 0l243.698347 140.629334a54.613333 54.613333 0 0 1 27.19744 47.076693v281.258667a54.504107 54.504107 0 0 1-27.183787 47.035733zM388.819627 251.849387a9.325227 9.325227 0 0 1-0.477867-0.873814 26.528427 26.528427 0 1 0 3.8912 13.871787 27.129173 27.129173 0 0 0-3.413333-12.997973z m350.467413 472.255146z m-105.417387-249.856c0-0.2048-0.12288-0.314027-0.12288-0.49152a9.079467 9.079467 0 0 1 2.49856-8.178346 8.533333 8.533333 0 0 1 3.76832-2.198187 8.833707 8.833707 0 0 1 9.161387 2.198187l48.16896 48.141653-3.467947 3.467947-57.01632 56.97536 1.59744-1.59744-13.653333-5.85728 55.391573-55.391574s-23.01952-23.497387-31.402666-31.402666c-3.085653-2.90816 5.802667 55.978667-47.14496 62.805333-28.808533 3.713707-54.463147-23.10144-55.00928-55.00928-0.65536-38.597973 51.6096-50.7904 47.14496-55.00928-23.688533-22.377813-55.00928-55.00928-55.00928-55.00928L397.312 519.099733l83.1488 78.52032-26.487467 26.46016a29.24544 29.24544 0 1 0 5.36576 5.69344h0.109227l26.70592-26.70592 52.578987 49.5616 86.016-86.016-7.468374 7.468374h19.510614l-99.669334 99.587413-51.336533-51.4048a9.106773 9.106773 0 0 0-15.428267 8.192c0 0.177493 0.095573 0.28672 0.095574 0.49152a4.696747 4.696747 0 0 0 0.77824 1.952427 39.594667 39.594667 0 1 1-23.552-23.770454 6.116693 6.116693 0 0 0 1.365333 0.505174 9.106773 9.106773 0 0 0 9.038507-15.209814l-77.4144-77.37344 65.672533-65.645226a9.106773 9.106773 0 0 0-8.27392-15.414614c-0.2048 0-0.28672 0.109227-0.49152 0.109227A4.724053 4.724053 0 0 0 435.541333 436.906667a39.594667 39.594667 0 1 1 23.784107-23.552 9.106773 9.106773 0 0 0 14.731947 10.349226l66.68288-66.64192 80.677546 80.636587a9.270613 9.270613 0 0 1 0 12.929707 9.106773 9.106773 0 0 1-9.024853 2.280106 4.096 4.096 0 0 1-1.365333-0.505173 39.471787 39.471787 0 0 0-41.7792 9.147733 39.594667 39.594667 0 1 0 65.37216 14.62272 5.188267 5.188267 0 0 1-0.764587-1.897813zM289.05472 320.279893l-38.352213 22.145707a34.69312 34.69312 0 0 0-17.230507 29.928107v281.258666a34.679467 34.679467 0 0 0 17.28512 29.914454l243.698347 140.629333a34.679467 34.679467 0 0 0 34.583893 0l84.759893-48.919893a46.803627 46.803627 0 0 1-2.389333-14.09024 47.786667 47.786667 0 1 1 12.151467 31.3344l-84.650667 48.837973a54.613333 54.613333 0 0 1-54.381227 0l-243.712-140.629333a54.490453 54.490453 0 0 1-27.19744-47.06304v-281.258667a54.613333 54.613333 0 0 1 27.19744-47.076693l38.324907-22.186667a9.898667 9.898667 0 1 1 9.91232 17.175893z m369.62304 468.309334a27.552427 27.552427 0 1 0-26.528427-27.470507 27.552427 27.552427 0 0 0 26.528427 27.52512z"})])])],-1),$2=[j2];function L2(e,t){return k(),T("div",A2,$2)}var D2=B(R2,[["render",L2]]);const N2={},M2={class:"lazyload-wrapper"},z2=g("div",{style:{display:"flex"},class:"css-vem7w7 e10ne1lt2"},[He(" errr "),g("div",{class:"css-0 e10ne1lt0"})],-1),F2=[z2];function B2(e,t){return k(),T("div",M2,F2)}var H2=B(N2,[["render",B2]]);const q2={"../../../build/site/docs/tinymce-plugin-docs/resources/README_t_swfskv1665394502088_p_.md":()=>D(()=>import("./chunk/README_t_swfskv1665394502088_p_.js"),["assets/chunk/README_t_swfskv1665394502088_p_.js","assets/chunk/pinia.js","assets/chunk/vue.js"]),"../../../build/site/docs/tp-importword/resources/README_t_b46qy61665394502088_p_.md":()=>D(()=>import("./chunk/README_t_b46qy61665394502088_p_.js"),["assets/chunk/README_t_b46qy61665394502088_p_.js","assets/chunk/pinia.js","assets/chunk/vue.js"]),"../../../build/site/docs/tp-indent2em/resources/README_t_8xxjnl1665394502088_p_.md":()=>D(()=>import("./chunk/README_t_8xxjnl1665394502088_p_.js"),["assets/chunk/README_t_8xxjnl1665394502088_p_.js","assets/chunk/pinia.js","assets/chunk/vue.js"]),"../../../build/site/docs/tp-layout/resources/README_t_j2r83t1665394502088_p_.md":()=>D(()=>import("./chunk/README_t_j2r83t1665394502088_p_.js"),["assets/chunk/README_t_j2r83t1665394502088_p_.js","assets/chunk/pinia.js","assets/chunk/vue.js"]),"../../../build/site/docs/tinymce-plugin-docs/resources/guide/introduction_t_qb8j2z1665394502088_p_.md":()=>D(()=>import("./chunk/introduction_t_qb8j2z1665394502088_p_.js"),["assets/chunk/introduction_t_qb8j2z1665394502088_p_.js","assets/chunk/pinia.js","assets/chunk/vue.js","assets/chunk/tinymce.js","assets/chunk/Editor.js","assets/chunk/plugin.js","assets/chunk/plugin2.js"]),"../../../build/site/docs/tinymce-plugin-docs/resources/guide/quickStart_t_h4f91d1665394502088_p_.md":()=>D(()=>import("./chunk/quickStart_t_h4f91d1665394502088_p_.js"),["assets/chunk/quickStart_t_h4f91d1665394502088_p_.js","assets/chunk/pinia.js","assets/chunk/vue.js"]),"../../../build/site/docs/tp-importword/resources/__docs__/configure_t_bqz2hc1665394502088_p_.md":()=>D(()=>import("./chunk/configure_t_bqz2hc1665394502088_p_.js"),["assets/chunk/configure_t_bqz2hc1665394502088_p_.js","assets/chunk/pinia.js","assets/chunk/vue.js"]),"../../../build/site/docs/tp-importword/resources/__docs__/introduction_t_97yacm1665394502088_p_.md":()=>D(()=>import("./chunk/introduction_t_97yacm1665394502088_p_.js"),["assets/chunk/introduction_t_97yacm1665394502088_p_.js","assets/chunk/pinia.js","assets/chunk/vue.js"]),"../../../build/site/docs/tp-importword/resources/__docs__/quickStart_t_r6c26y1665394502088_p_.md":()=>D(()=>import("./chunk/quickStart_t_r6c26y1665394502088_p_.js"),["assets/chunk/quickStart_t_r6c26y1665394502088_p_.js","assets/chunk/pinia.js","assets/chunk/vue.js"]),"../../../build/site/docs/tp-importword/resources/__docs__/tpImporatwordDemo_t_fx11vi1665394502088_p_.md":()=>D(()=>import("./chunk/tpImporatwordDemo_t_fx11vi1665394502088_p_.js"),["assets/chunk/tpImporatwordDemo_t_fx11vi1665394502088_p_.js","assets/chunk/pinia.js","assets/chunk/vue.js","assets/chunk/tinymce.js","assets/chunk/Editor.js","assets/chunk/plugin2.js","assets/chunk/Editor2.js","assets/chunk/plugin.js"]),"../../../build/site/docs/tp-indent2em/resources/__docs__/tpIndent2em_t_jaucoy1665394502088_p_.md":()=>D(()=>import("./chunk/tpIndent2em_t_jaucoy1665394502088_p_.js"),["assets/chunk/tpIndent2em_t_jaucoy1665394502088_p_.js","assets/chunk/pinia.js","assets/chunk/vue.js","assets/chunk/tinymce.js","assets/chunk/Editor.js","assets/chunk/plugin.js","assets/chunk/Editor2.js"]),"../../../build/site/docs/tp-layout/resources/__docs__/configure_t_36dk4e1665394502088_p_.md":()=>D(()=>import("./chunk/configure_t_36dk4e1665394502088_p_.js"),["assets/chunk/configure_t_36dk4e1665394502088_p_.js","assets/chunk/pinia.js","assets/chunk/vue.js"]),"../../../build/site/docs/tp-layout/resources/__docs__/introduction_t_na1ruk1665394502088_p_.md":()=>D(()=>import("./chunk/introduction_t_na1ruk1665394502088_p_.js"),["assets/chunk/introduction_t_na1ruk1665394502088_p_.js","assets/chunk/pinia.js","assets/chunk/vue.js"]),"../../../build/site/docs/tp-layout/resources/__docs__/tpLayoutDemo_t_8ubuzi1665394502088_p_.md":()=>D(()=>import("./chunk/tpLayoutDemo_t_8ubuzi1665394502088_p_.js"),["assets/chunk/tpLayoutDemo_t_8ubuzi1665394502088_p_.js","assets/chunk/pinia.js","assets/chunk/vue.js","assets/chunk/tinymce.js","assets/chunk/Editor.js"]),"../../../build/site/docs/tinymce-plugin-docs/resources/en/guide/introduction_t_kr9g5x1665394502088_p_.md":()=>D(()=>import("./chunk/introduction_t_kr9g5x1665394502088_p_.js"),["assets/chunk/introduction_t_kr9g5x1665394502088_p_.js","assets/chunk/pinia.js","assets/chunk/vue.js"]),"../../../build/site/docs/tinymce-plugin-docs/resources/en/guide/quickStart_t_zfwpm31665394502088_p_.md":()=>D(()=>import("./chunk/quickStart_t_zfwpm31665394502088_p_.js"),["assets/chunk/quickStart_t_zfwpm31665394502088_p_.js","assets/chunk/pinia.js","assets/chunk/vue.js"]),"../../../build/site/docs/tinymce-plugin-docs/resources/guide/commonproblem/images_t_8c7a2k1665394502088_p_.md":()=>D(()=>import("./chunk/images_t_8c7a2k1665394502088_p_.js"),["assets/chunk/images_t_8c7a2k1665394502088_p_.js","assets/chunk/pinia.js","assets/chunk/vue.js"]),"../../../build/site/docs/tinymce-plugin-docs/resources/guide/contributing/plugin_t_za896y1665394502088_p_.md":()=>D(()=>import("./chunk/plugin_t_za896y1665394502088_p_.js"),["assets/chunk/plugin_t_za896y1665394502088_p_.js","assets/chunk/pinia.js","assets/chunk/vue.js"]),"../../../build/site/docs/tinymce-plugin-docs/resources/guide/customize/images_t_66zw3k1665394502088_p_.md":()=>D(()=>import("./chunk/images_t_66zw3k1665394502088_p_.js"),["assets/chunk/images_t_66zw3k1665394502088_p_.js","assets/chunk/pinia.js","assets/chunk/vue.js"]),"../../../build/site/docs/tinymce-plugin-docs/resources/guide/customize/table_t_mursq01665394502088_p_.md":()=>D(()=>import("./chunk/table_t_mursq01665394502088_p_.js"),["assets/chunk/table_t_mursq01665394502088_p_.js","assets/chunk/pinia.js","assets/chunk/vue.js"]),"../../../build/site/docs/tinymce-plugin-docs/resources/guide/examples/advanced_t_5rg2rp1665394502088_p_.md":()=>D(()=>import("./chunk/advanced_t_5rg2rp1665394502088_p_.js"),["assets/chunk/advanced_t_5rg2rp1665394502088_p_.js","assets/chunk/pinia.js","assets/chunk/vue.js"]),"../../../build/site/docs/tinymce-plugin-docs/resources/guide/examples/basic_t_enjqcq1665394502088_p_.md":()=>D(()=>import("./chunk/basic_t_enjqcq1665394502088_p_.js"),["assets/chunk/basic_t_enjqcq1665394502088_p_.js","assets/chunk/pinia.js","assets/chunk/vue.js"]),"../../../build/site/docs/tinymce-plugin-docs/resources/guide/skill/skeleton_t_ooya2s1665394502088_p_.md":()=>D(()=>import("./chunk/skeleton_t_ooya2s1665394502088_p_.js"),["assets/chunk/skeleton_t_ooya2s1665394502088_p_.js","assets/chunk/pinia.js","assets/chunk/vue.js"]),"../../../build/site/docs/tp-importword/resources/__docs__/en/quickStart_t_78b6sl1665394502088_p_.md":()=>D(()=>import("./chunk/quickStart_t_78b6sl1665394502088_p_.js"),["assets/chunk/quickStart_t_78b6sl1665394502088_p_.js","assets/chunk/pinia.js","assets/chunk/vue.js"]),"../../../build/site/docs/tinymce-plugin-docs/resources/en/guide/commonproblem/images_t_2o7mfm1665394502088_p_.md":()=>D(()=>import("./chunk/images_t_2o7mfm1665394502088_p_.js"),["assets/chunk/images_t_2o7mfm1665394502088_p_.js","assets/chunk/pinia.js","assets/chunk/vue.js"]),"../../../build/site/docs/tinymce-plugin-docs/resources/en/guide/contributing/plugin_t_0n1z9x1665394502088_p_.md":()=>D(()=>import("./chunk/plugin_t_0n1z9x1665394502088_p_.js"),["assets/chunk/plugin_t_0n1z9x1665394502088_p_.js","assets/chunk/pinia.js","assets/chunk/vue.js"]),"../../../build/site/docs/tinymce-plugin-docs/resources/en/guide/customize/images_t_aeapdc1665394502088_p_.md":()=>D(()=>import("./chunk/images_t_aeapdc1665394502088_p_.js"),["assets/chunk/images_t_aeapdc1665394502088_p_.js","assets/chunk/pinia.js","assets/chunk/vue.js"]),"../../../build/site/docs/tinymce-plugin-docs/resources/en/guide/customize/table_t_qc18oq1665394502088_p_.md":()=>D(()=>import("./chunk/table_t_qc18oq1665394502088_p_.js"),["assets/chunk/table_t_qc18oq1665394502088_p_.js","assets/chunk/pinia.js","assets/chunk/vue.js"]),"../../../build/site/docs/tinymce-plugin-docs/resources/en/guide/examples/basic_t_d57vz31665394502088_p_.md":()=>D(()=>import("./chunk/basic_t_d57vz31665394502088_p_.js"),["assets/chunk/basic_t_d57vz31665394502088_p_.js","assets/chunk/pinia.js","assets/chunk/vue.js"]),"../../../build/site/docs/tinymce-plugin-docs/resources/en/guide/skill/skeleton_t_caq98h1665394502088_p_.md":()=>D(()=>import("./chunk/skeleton_t_caq98h1665394502088_p_.js"),["assets/chunk/skeleton_t_caq98h1665394502088_p_.js","assets/chunk/pinia.js","assets/chunk/vue.js"]),"../../../build/site/docs/tinymce-plugin-docs/resources/guide/contributing/syntax/link-images_t_xcbg2h1665394502088_p_.md":()=>D(()=>import("./chunk/link-images_t_xcbg2h1665394502088_p_.js"),["assets/chunk/link-images_t_xcbg2h1665394502088_p_.js","assets/chunk/pinia.js","assets/chunk/vue.js"]),"../../../build/site/docs/tinymce-plugin-docs/resources/guide/contributing/syntax/tip-code_t_h04xot1665394502088_p_.md":()=>D(()=>import("./chunk/tip-code_t_h04xot1665394502088_p_.js"),["assets/chunk/tip-code_t_h04xot1665394502088_p_.js","assets/chunk/pinia.js","assets/chunk/vue.js"]),"../../../build/site/docs/tinymce-plugin-docs/resources/guide/contributing/writing-guide/grammar-demo_t_nl7li31665394502088_p_.md":()=>D(()=>import("./chunk/grammar-demo_t_nl7li31665394502088_p_.js"),["assets/chunk/grammar-demo_t_nl7li31665394502088_p_.js","assets/chunk/pinia.js","assets/chunk/vue.js","assets/chunk/tinymce.js","assets/chunk/Editor.js","assets/chunk/plugin.js","assets/chunk/plugin2.js","assets/chunk/Editor2.js"]),"../../../build/site/docs/tinymce-plugin-docs/resources/guide/contributing/writing-guide/grammar_t_a7xzht1665394502088_p_.md":()=>D(()=>import("./chunk/grammar_t_a7xzht1665394502088_p_.js"),["assets/chunk/grammar_t_a7xzht1665394502088_p_.js","assets/chunk/pinia.js","assets/chunk/vue.js"]),"../../../build/site/docs/tinymce-plugin-docs/resources/guide/contributing/writing-guide/guide_t_dv6zfb1665394502088_p_.md":()=>D(()=>import("./chunk/guide_t_dv6zfb1665394502088_p_.js"),["assets/chunk/guide_t_dv6zfb1665394502088_p_.js","assets/chunk/pinia.js","assets/chunk/vue.js"]),"../../../build/site/docs/tp-importword/resources/public/tinymce/langs/readme_t_d15jh21665394502088_p_.md":()=>D(()=>import("./chunk/readme_t_d15jh21665394502088_p_.js"),["assets/chunk/readme_t_d15jh21665394502088_p_.js","assets/chunk/pinia.js","assets/chunk/vue.js"]),"../../../build/site/docs/tinymce-plugin-docs/resources/en/guide/contributing/syntax/link-images_t_5gj6wx1665394502088_p_.md":()=>D(()=>import("./chunk/link-images_t_5gj6wx1665394502088_p_.js"),["assets/chunk/link-images_t_5gj6wx1665394502088_p_.js","assets/chunk/pinia.js","assets/chunk/vue.js"]),"../../../build/site/docs/tinymce-plugin-docs/resources/en/guide/contributing/syntax/tip-code_t_dxir121665394502088_p_.md":()=>D(()=>import("./chunk/tip-code_t_dxir121665394502088_p_.js"),["assets/chunk/tip-code_t_dxir121665394502088_p_.js","assets/chunk/pinia.js","assets/chunk/vue.js"]),"../../../build/site/docs/tinymce-plugin-docs/resources/en/guide/contributing/writing-guide/grammar-demo_t_oejlki1665394502088_p_.md":()=>D(()=>import("./chunk/grammar-demo_t_oejlki1665394502088_p_.js"),["assets/chunk/grammar-demo_t_oejlki1665394502088_p_.js","assets/chunk/pinia.js","assets/chunk/vue.js","assets/chunk/tinymce.js","assets/chunk/Editor.js","assets/chunk/plugin.js","assets/chunk/plugin2.js","assets/chunk/Editor2.js"]),"../../../build/site/docs/tinymce-plugin-docs/resources/en/guide/contributing/writing-guide/grammar_t_p2efn71665394502088_p_.md":()=>D(()=>import("./chunk/grammar_t_p2efn71665394502088_p_.js"),["assets/chunk/grammar_t_p2efn71665394502088_p_.js","assets/chunk/pinia.js","assets/chunk/vue.js"]),"../../../build/site/docs/tinymce-plugin-docs/resources/en/guide/contributing/writing-guide/guide_t_tkrcbo1665394502088_p_.md":()=>D(()=>import("./chunk/guide_t_tkrcbo1665394502088_p_.js"),["assets/chunk/guide_t_tkrcbo1665394502088_p_.js","assets/chunk/pinia.js","assets/chunk/vue.js"])},V2=e=>{we.request("get","/siteMap.json").then(t=>{Pc(e,t,q2,D2,H2),e.push(e.currentRoute.value.fullPath).catch(()=>{})})};var U2=z({name:"demoGroup",setup(e,{slots:t}){const n=q(-1),r=q(null),o=q([]),a=(l=n.value)=>{l{l>0?n.value=l-1:n.value=o.value.length-1,o.value[n.value].focus()},c=(l,u)=>{l.key===" "||l.key==="Enter"?(l.preventDefault(),n.value=u):l.key==="ArrowRight"?(l.preventDefault(),a(u)):l.key==="ArrowLeft"&&(l.preventDefault(),s(u))};return()=>{var u;const l=(((u=t.default)==null?void 0:u.call(t))||[]).filter(i=>i.type.name==="DemoGroupItem").map(i=>(i.props===null&&(i.props={}),i));return l.length===0?null:(n.value<0||n.value>l.length-1?(n.value=l.findIndex(i=>i.props.active===""||i.props.active===!0),n.value===-1&&(n.value=0)):l.forEach((i,f)=>{i.props.active=f===n.value}),re("div",{class:"demo-group"},[re("div",{class:"demo-group__nav",ref:i=>{i&&(!r.value||r.value>i.clientWidth)&&(r.value=i.clientWidth)}},re("ul",{class:"demo-group__ul"},l.map((i,f)=>{const d=f===n.value;return re("li",{class:"demo-group__li"},re("button",{ref:m=>{m&&(o.value[f]=m)},class:{"demo-group__nav-tab":!0,"demo-group__nav-tab-active":d},ariaPressed:d,ariaExpanded:d,onClick:()=>n.value=f,onKeydown:m=>c(m,f)},i.props.title))}))),re("div",{class:"demo-group__content",style:{width:"calc(100% - "+(r.value-5)+"px)"}},l)]))}}});const W2=["aria-selected"],K2=z({name:"DemoGroupItem"}),G2=z(Tt(Pe({},K2),{props:{title:{type:String,required:!0},active:{type:Boolean,required:!1,default:!1}},setup(e){return(t,n)=>(k(),T("div",{class:Ie(["demo-group-item",{"demo-group-item__active":e.active}]),"aria-selected":e.active},[Ce(t.$slots,"default")],10,W2))}}));var J2=z({name:"CodeBox",setup(e,{slots:t}){const n=q(-1),r=q([]),o=(c=n.value)=>{c{c>0?n.value=c-1:n.value=r.value.length-1,r.value[n.value].focus()},s=(c,l)=>{c.key===" "||c.key==="Enter"?(c.preventDefault(),n.value=l):c.key==="ArrowRight"?(c.preventDefault(),o(l)):c.key==="ArrowLeft"&&(c.preventDefault(),a(l))};return()=>{var i;let c=(((i=t.default)==null?void 0:i.call(t))||[]).filter(f=>f.type.name==="CodeBoxItem").map(f=>(f.props===null&&(f.props={}),f));if(c.length===0)return null;const u=[c.pop(),...c];return n.value<0||n.value>u.length-1?(n.value=u.findIndex(f=>f.props.active===""||f.props.active===!0),n.value===-1&&(n.value=0)):u.forEach((f,d)=>{f.props.active=d===n.value}),re("div",{class:"code-box"},[re("div",{class:"code-box__nav"},re("ul",{class:"code-box__ul"},u.map((f,d)=>{const m=d===n.value;return re("li",{class:{"code-box__li":!0,"code-box__li-active":m},ariaPressed:m,ariaExpanded:m,onClick:()=>n.value=d,onKeydown:p=>s(p,d)},re("button",{ref:p=>{p&&(r.value[d]=p)},class:{"code-box__nav-tab":!0}},f.props.title))}))),u])}}});const Q2=["aria-selected"],Y2=z({name:"CodeBoxItem"}),X2=z(Tt(Pe({},Y2),{props:{title:{type:String,required:!0},active:{type:Boolean,required:!1,default:!1}},setup(e){return(t,n)=>(k(),T("div",{class:Ie(["code-box-item",{"code-box-item__active":e.active}]),"aria-selected":e.active},[Ce(t.$slots,"default")],10,Q2))}}));var Z2=Object.defineProperty,Rs=Object.getOwnPropertySymbols,ev=Object.prototype.hasOwnProperty,tv=Object.prototype.propertyIsEnumerable,As=(e,t,n)=>t in e?Z2(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,js=(e,t)=>{for(var n in t||(t={}))ev.call(t,n)&&As(e,n,t[n]);if(Rs)for(var n of Rs(t))tv.call(t,n)&&As(e,n,t[n]);return e},hn=class{constructor(e,t="responsive",n={}){this.nameSpace="",this.options={},this.storage={},this._getKey=l=>this.nameSpace+l;const r=this;this.nameSpace=`${t}-`,this.options=n;const o=Object.keys(window.localStorage).filter(l=>new RegExp(`^${this.nameSpace}`).test(l)).reduce((l,u)=>Object.assign(l,{[u.replace(this.nameSpace,"")]:window.localStorage[u]}),{}),a=[[String,""],[Boolean,!1],[Number,0],[Array,[]],[Object,{}]],s=this.typeMap=new Map(a);let c=kt(this.storage=js(js({},Object.keys(n).reduce((l,u)=>{const{type:i,default:f}=n[u];return i?Object.assign(l,{[u]:f===void 0?s.get(i):f}):(On("type of the field 'key' is required!"),l)},{})),o));Object.keys(c).length===0&&On("responsive key can not be empty empty!"),Object.keys(c).forEach(l=>{try{const u=c[l];this.set(l,u)}catch(u){console.log(u)}Reflect.defineProperty(c,l,{get:()=>r.get(l),set:u=>r.set(l,u),configurable:!0})}),Reflect.defineProperty(e.config.globalProperties,"$storage",{get:()=>c}),Reflect.defineProperty(e.config.globalProperties,"$storager",{get:()=>r}),e.storage=c,e.storager=r}static clearAll(e="responsive",t){Object.keys(t).forEach(n=>{const r=`${e}-${n}`;Object.prototype.hasOwnProperty.call(window.localStorage,r)&&window.localStorage.removeItem(r)})}static install(e,t,n){return typeof t=="object"&&(n=t,t="responsive"),hn.clearAll(t,n),new hn(e,t,n)}static getData(e="responsive",t){const n=`${e}-${t}`;if(Object.prototype.hasOwnProperty.call(window.localStorage,n)){let r=window.localStorage.getItem(n);try{r=JSON.parse(r)}catch(o){console.log(o,r)}return r}}get(e){let t=window.localStorage.getItem(this._getKey(e));try{t=JSON.parse(t)}catch(n){On(n)}return t}set(e,t){try{t=typeof t=="object"?JSON.stringify(t):t,window.localStorage.setItem(this._getKey(e),t)}catch{On("storage setting fail, please check the value")}}remove(e){window.localStorage.removeItem(this._getKey(e))}clear(){Object.keys(this.storage).forEach(e=>{const t=this._getKey(e);Object.prototype.hasOwnProperty.call(window.localStorage,t)&&window.localStorage.removeItem(t)})}};const nv=(e,t)=>{var r,o,a;const n=Object.assign({locale:{type:Object,default:(o=hn.getData(void 0,"locale"))!=null?o:{locale:(r=t.Locale)!=null?r:"zh"}}},t.MultiTagsCache?{tags:{type:Array,default:(a=hn.getData(void 0,"tags"))!=null?a:[{path:"/welcome",parentPath:"/",meta:{title:"menus.hshome",i18n:!0,icon:"home-filled"}}]}}:{});e.use(hn,n)};let rv={Locale:"zh"};const Ae=Ec(Mh);V2(Pt);Ae.component("modalBox",w2);Ae.component("fvToc",k2);Ae.component("codeGroup",C2);Ae.component("codeGroupItem",x2);Ae.component("demoGroup",U2);Ae.component("demoGroupItem",G2);Ae.component("codeBox",J2);Ae.component("codeBoxItem",X2);Ae.component("Preview",Xh);Ae.component("PreviewVue2",p_);Ae.component("PreviewReact",I_);Ae.component("PreviewIframe",M_);Ae.component("PagesRouter",h2);nv(Ae,rv);Ae.use(Pt).use($m).use(hc()).mount("#app");export{B as _,sv as __vite_legacy_guard};