@modern-js/module-tools-docs 2.0.0-beta.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +144 -0
- package/docs/.island/config.ts +245 -0
- package/docs/.island/dist/404.html +41 -0
- package/docs/.island/dist/assets/before-getting-started.1b82b538.js +87 -0
- package/docs/.island/dist/assets/before-getting-started.582a31cc.js +87 -0
- package/docs/.island/dist/assets/build-config.72eb0918.js +804 -0
- package/docs/.island/dist/assets/build-config.d8bb1658.js +809 -0
- package/docs/.island/dist/assets/build-preset.96805d7d.js +256 -0
- package/docs/.island/dist/assets/build-preset.c20dcd40.js +256 -0
- package/docs/.island/dist/assets/build-your-ui.7f349247.js +2 -0
- package/docs/.island/dist/assets/build-your-ui.a8361604.js +2 -0
- package/docs/.island/dist/assets/command-preview.2d45fc82.js +264 -0
- package/docs/.island/dist/assets/command-preview.dc51b953.js +264 -0
- package/docs/.island/dist/assets/components.esm.03560353.js +9 -0
- package/docs/.island/dist/assets/design-system.86694ff5.js +1254 -0
- package/docs/.island/dist/assets/design-system.c4745cce.js +639 -0
- package/docs/.island/dist/assets/dev.1d326a37.js +37 -0
- package/docs/.island/dist/assets/dev.1fd06000.js +37 -0
- package/docs/.island/dist/assets/down.f35427d3.svg +1 -0
- package/docs/.island/dist/assets/extension.12299fd6.js +2 -0
- package/docs/.island/dist/assets/extension.96dc63a4.js +2 -0
- package/docs/.island/dist/assets/getting-started.40e9218d.js +117 -0
- package/docs/.island/dist/assets/getting-started.b1ed3f10.js +114 -0
- package/docs/.island/dist/assets/github.3bf8ccee.svg +1 -0
- package/docs/.island/dist/assets/index.2b2347ea.js +33 -0
- package/docs/.island/dist/assets/index.6cef6f5f.js +4 -0
- package/docs/.island/dist/assets/index.cb118238.js +36 -0
- package/docs/.island/dist/assets/index.ccb6ce27.js +4 -0
- package/docs/.island/dist/assets/island_inject.11a12ecc.js +1 -0
- package/docs/.island/dist/assets/island_inject.b13deaee.js +1 -0
- package/docs/.island/dist/assets/loading.8c9bb911.svg +1 -0
- package/docs/.island/dist/assets/modify-output-product.7f6bff35.js +100 -0
- package/docs/.island/dist/assets/modify-output-product.b91eff1f.js +100 -0
- package/docs/.island/dist/assets/moon.6b705924.svg +3 -0
- package/docs/.island/dist/assets/plugin.895932d8.js +42 -0
- package/docs/.island/dist/assets/plugin.d2fbc531.js +42 -0
- package/docs/.island/dist/assets/publish-your-project.21b8309f.js +164 -0
- package/docs/.island/dist/assets/publish-your-project.8d398b17.js +166 -0
- package/docs/.island/dist/assets/right.89674cd7.svg +1 -0
- package/docs/.island/dist/assets/search.0aea6901.svg +1 -0
- package/docs/.island/dist/assets/search.1c85d17c.js +3 -0
- package/docs/.island/dist/assets/search.484eca11.js +222 -0
- package/docs/.island/dist/assets/search.54fca8d0.js +3 -0
- package/docs/.island/dist/assets/style.09015a4b.css +1 -0
- package/docs/.island/dist/assets/style.2e5f7bc2.css +1970 -0
- package/docs/.island/dist/assets/sun.841dac10.svg +11 -0
- package/docs/.island/dist/assets/test-your-project.18bd4582.js +190 -0
- package/docs/.island/dist/assets/test-your-project.f53bebf7.js +190 -0
- package/docs/.island/dist/assets/test.0da1f99f.js +67 -0
- package/docs/.island/dist/assets/test.0e81f002.js +66 -0
- package/docs/.island/dist/assets/translator.b1077c44.svg +1 -0
- package/docs/.island/dist/assets/use-micro-generator.7d9e4016.js +60 -0
- package/docs/.island/dist/assets/use-micro-generator.db5520c1.js +60 -0
- package/docs/.island/dist/assets/using-storybook.57ea6b77.js +260 -0
- package/docs/.island/dist/assets/using-storybook.a2212f2e.js +260 -0
- package/docs/.island/dist/assets/welcome.0449a9c8.js +13 -0
- package/docs/.island/dist/assets/welcome.a8448931.js +13 -0
- package/docs/.island/dist/assets/why-module-engineering-solution.6ae8c0e3.js +26 -0
- package/docs/.island/dist/assets/why-module-engineering-solution.c9a45cbd.js +26 -0
- package/docs/.island/dist/chunk-COLCRJ2V.js +1 -0
- package/docs/.island/dist/chunk-K5FMOYDC.js +10 -0
- package/docs/.island/dist/chunk-WE42KMYS.js +26 -0
- package/docs/.island/dist/client-entry.js +3 -0
- package/docs/.island/dist/en/api/build-config.html +344 -0
- package/docs/.island/dist/en/api/build-preset.html +82 -0
- package/docs/.island/dist/en/api/design-system.html +155 -0
- package/docs/.island/dist/en/api/dev.html +45 -0
- package/docs/.island/dist/en/api/index.html +41 -0
- package/docs/.island/dist/en/api/plugin.html +48 -0
- package/docs/.island/dist/en/api/test.html +58 -0
- package/docs/.island/dist/en/guide/before-getting-started.html +127 -0
- package/docs/.island/dist/en/guide/build-your-ui.html +41 -0
- package/docs/.island/dist/en/guide/command-preview.html +100 -0
- package/docs/.island/dist/en/guide/extension.html +41 -0
- package/docs/.island/dist/en/guide/getting-started.html +76 -0
- package/docs/.island/dist/en/guide/modify-output-product.html +140 -0
- package/docs/.island/dist/en/guide/publish-your-project.html +91 -0
- package/docs/.island/dist/en/guide/test-your-project.html +72 -0
- package/docs/.island/dist/en/guide/use-micro-generator.html +65 -0
- package/docs/.island/dist/en/guide/using-storybook.html +113 -0
- package/docs/.island/dist/en/guide/welcome.html +53 -0
- package/docs/.island/dist/en/guide/why-module-engineering-solution.html +49 -0
- package/docs/.island/dist/en/index.html +42 -0
- package/docs/.island/dist/react-dom.js +1 -0
- package/docs/.island/dist/react-dom_client.js +1 -0
- package/docs/.island/dist/react.js +1 -0
- package/docs/.island/dist/react_jsx-runtime.js +10 -0
- package/docs/.island/dist/ssr-manifest.json +57 -0
- package/docs/.island/dist/test-result.png +0 -0
- package/docs/.island/dist/why-module-solution.png +0 -0
- package/docs/.island/dist/zh/api/build-config.html +347 -0
- package/docs/.island/dist/zh/api/build-preset.html +82 -0
- package/docs/.island/dist/zh/api/design-system.html +149 -0
- package/docs/.island/dist/zh/api/dev.html +46 -0
- package/docs/.island/dist/zh/api/index.html +41 -0
- package/docs/.island/dist/zh/api/plugin.html +48 -0
- package/docs/.island/dist/zh/api/test.html +59 -0
- package/docs/.island/dist/zh/guide/before-getting-started.html +127 -0
- package/docs/.island/dist/zh/guide/build-your-ui.html +41 -0
- package/docs/.island/dist/zh/guide/command-preview.html +100 -0
- package/docs/.island/dist/zh/guide/extension.html +41 -0
- package/docs/.island/dist/zh/guide/getting-started.html +79 -0
- package/docs/.island/dist/zh/guide/modify-output-product.html +140 -0
- package/docs/.island/dist/zh/guide/publish-your-project.html +92 -0
- package/docs/.island/dist/zh/guide/test-your-project.html +72 -0
- package/docs/.island/dist/zh/guide/use-micro-generator.html +65 -0
- package/docs/.island/dist/zh/guide/using-storybook.html +114 -0
- package/docs/.island/dist/zh/guide/welcome.html +53 -0
- package/docs/.island/dist/zh/guide/why-module-engineering-solution.html +49 -0
- package/docs/.island/dist/zh/index.html +42 -0
- package/docs/.island/index.html +39 -0
- package/docs/.island/styles/index.css +10 -0
- package/docs/en/api/build-config.md +501 -0
- package/docs/en/api/build-preset.md +214 -0
- package/docs/en/api/design-system.md +524 -0
- package/docs/en/api/dev.md +32 -0
- package/docs/en/api/index.md +3 -0
- package/docs/en/api/plugin.md +34 -0
- package/docs/en/api/test.md +48 -0
- package/docs/en/guide/advance/asset.mdx +132 -0
- package/docs/en/guide/advance/build-umd.mdx +241 -0
- package/docs/en/guide/advance/copy.md +235 -0
- package/docs/en/guide/advance/external-dependency.mdx +125 -0
- package/docs/en/guide/advance/in-depth-about-build.md +266 -0
- package/docs/en/guide/advance/in-depth-about-dev-command.md +22 -0
- package/docs/en/guide/basic/before-getting-started.md +187 -0
- package/docs/en/guide/basic/command-preview.md +204 -0
- package/docs/en/guide/basic/modify-output-product.md +145 -0
- package/docs/en/guide/basic/publish-your-project.md +115 -0
- package/docs/en/guide/basic/test-your-project.mdx +158 -0
- package/docs/en/guide/basic/use-micro-generator.md +35 -0
- package/docs/en/guide/basic/using-storybook.mdx +187 -0
- package/docs/en/guide/intro/getting-started.md +78 -0
- package/docs/en/guide/intro/welcome.md +14 -0
- package/docs/en/guide/intro/why-module-engineering-solution.md +17 -0
- package/docs/en/index.md +35 -0
- package/docs/public/test-result.png +0 -0
- package/docs/public/why-module-solution.png +0 -0
- package/docs/zh/api/build-config.md +570 -0
- package/docs/zh/api/build-preset.md +220 -0
- package/docs/zh/api/design-system.md +1147 -0
- package/docs/zh/api/dev.md +33 -0
- package/docs/zh/api/index.md +3 -0
- package/docs/zh/api/plugins.md +108 -0
- package/docs/zh/api/testing.md +52 -0
- package/docs/zh/guide/advance/asset.mdx +132 -0
- package/docs/zh/guide/advance/build-umd.mdx +232 -0
- package/docs/zh/guide/advance/copy.md +235 -0
- package/docs/zh/guide/advance/external-dependency.mdx +125 -0
- package/docs/zh/guide/advance/in-depth-about-build.md +267 -0
- package/docs/zh/guide/advance/in-depth-about-dev-command.md +26 -0
- package/docs/zh/guide/basic/before-getting-started.md +187 -0
- package/docs/zh/guide/basic/command-preview.md +204 -0
- package/docs/zh/guide/basic/modify-output-product.md +144 -0
- package/docs/zh/guide/basic/publish-your-project.md +112 -0
- package/docs/zh/guide/basic/test-your-project.mdx +158 -0
- package/docs/zh/guide/basic/use-micro-generator.md +35 -0
- package/docs/zh/guide/basic/using-storybook.mdx +186 -0
- package/docs/zh/guide/intro/getting-started.md +78 -0
- package/docs/zh/guide/intro/welcome.md +14 -0
- package/docs/zh/guide/intro/why-module-engineering-solution.md +17 -0
- package/docs/zh/index.md +29 -0
- package/package.json +19 -0
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
var Nt=(t,e,s)=>{if(!e.has(t))throw TypeError("Cannot "+s)};var st=(t,e,s)=>(Nt(t,e,"read from private field"),s?s.call(t):e.get(t)),rt=(t,e,s)=>{if(e.has(t))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(t):e.set(t,s)},gt=(t,e,s,a)=>(Nt(t,e,"write to private field"),a?a.call(t,s):e.set(t,s),s);var Et=(t,e,s)=>(Nt(t,e,"access private method"),s);import"react";import"react/jsx-runtime";import{S as Ct,i as Jt,a as Xt,b as Tt,r as nt,c as vt,f as tr,g as er,n as ie,w as rr}from"./island_inject.11a12ecc.js";function nr(t,e){for(var s=-1,a=t==null?0:t.length,u=Array(a);++s<a;)u[s]=e(t[s],s,t);return u}var ir=Array.isArray;const q=ir;var sr=1/0,se=Ct?Ct.prototype:void 0,oe=se?se.toString:void 0;function Ee(t){if(typeof t=="string")return t;if(q(t))return nr(t,Ee)+"";if(Jt(t))return oe?oe.call(t):"";var e=t+"";return e=="0"&&1/t==-sr?"-0":e}function or(t){return t}var fr="[object AsyncFunction]",ar="[object Function]",ur="[object GeneratorFunction]",hr="[object Proxy]";function Se(t){if(!Xt(t))return!1;var e=Tt(t);return e==ar||e==ur||e==fr||e==hr}var lr=nt["__core-js_shared__"];const Bt=lr;var fe=function(){var t=/[^.]+$/.exec(Bt&&Bt.keys&&Bt.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();function cr(t){return!!fe&&fe in t}var dr=Function.prototype,pr=dr.toString;function at(t){if(t!=null){try{return pr.call(t)}catch{}try{return t+""}catch{}}return""}var gr=/[\\^$.*+?()[\]{}|]/g,yr=/^\[object .+?Constructor\]$/,vr=Function.prototype,_r=Object.prototype,wr=vr.toString,xr=_r.hasOwnProperty,Ar=RegExp("^"+wr.call(xr).replace(gr,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Or(t){if(!Xt(t)||cr(t))return!1;var e=Se(t)?Ar:yr;return e.test(at(t))}function Tr(t,e){return t==null?void 0:t[e]}function dt(t,e){var s=Tr(t,e);return Or(s)?s:void 0}var Pr=dt(nt,"WeakMap");const bt=Pr;function $r(){}function Ir(t,e,s,a){for(var u=t.length,l=s+(a?1:-1);a?l--:++l<u;)if(e(t[l],l,t))return l;return-1}function mr(t){return t!==t}function Er(t,e,s){for(var a=s-1,u=t.length;++a<u;)if(t[a]===e)return a;return-1}function Sr(t,e,s){return e===e?Er(t,e,s):Ir(t,mr,s)}function Cr(t,e){var s=t==null?0:t.length;return!!s&&Sr(t,e,0)>-1}var jr=9007199254740991,Mr=/^(?:0|[1-9]\d*)$/;function Ce(t,e){var s=typeof t;return e=e==null?jr:e,!!e&&(s=="number"||s!="symbol"&&Mr.test(t))&&t>-1&&t%1==0&&t<e}function je(t,e){return t===e||t!==t&&e!==e}var Rr=9007199254740991;function Zt(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=Rr}function Fr(t){return t!=null&&Zt(t.length)&&!Se(t)}var Lr=Object.prototype;function Dr(t){var e=t&&t.constructor,s=typeof e=="function"&&e.prototype||Lr;return t===s}function Gr(t,e){for(var s=-1,a=Array(t);++s<t;)a[s]=e(s);return a}var Hr="[object Arguments]";function ae(t){return vt(t)&&Tt(t)==Hr}var Me=Object.prototype,Nr=Me.hasOwnProperty,Br=Me.propertyIsEnumerable,Ur=ae(function(){return arguments}())?ae:function(t){return vt(t)&&Nr.call(t,"callee")&&!Br.call(t,"callee")};const Re=Ur;function zr(){return!1}var Fe=typeof exports=="object"&&exports&&!exports.nodeType&&exports,ue=Fe&&typeof module=="object"&&module&&!module.nodeType&&module,br=ue&&ue.exports===Fe,he=br?nt.Buffer:void 0,Wr=he?he.isBuffer:void 0,Kr=Wr||zr;const Wt=Kr;var Yr="[object Arguments]",Jr="[object Array]",Xr="[object Boolean]",Zr="[object Date]",Qr="[object Error]",Vr="[object Function]",qr="[object Map]",kr="[object Number]",tn="[object Object]",en="[object RegExp]",rn="[object Set]",nn="[object String]",sn="[object WeakMap]",on="[object ArrayBuffer]",fn="[object DataView]",an="[object Float32Array]",un="[object Float64Array]",hn="[object Int8Array]",ln="[object Int16Array]",cn="[object Int32Array]",dn="[object Uint8Array]",pn="[object Uint8ClampedArray]",gn="[object Uint16Array]",yn="[object Uint32Array]",j={};j[an]=j[un]=j[hn]=j[ln]=j[cn]=j[dn]=j[pn]=j[gn]=j[yn]=!0;j[Yr]=j[Jr]=j[on]=j[Xr]=j[fn]=j[Zr]=j[Qr]=j[Vr]=j[qr]=j[kr]=j[tn]=j[en]=j[rn]=j[nn]=j[sn]=!1;function vn(t){return vt(t)&&Zt(t.length)&&!!j[Tt(t)]}function _n(t){return function(e){return t(e)}}var Le=typeof exports=="object"&&exports&&!exports.nodeType&&exports,yt=Le&&typeof module=="object"&&module&&!module.nodeType&&module,wn=yt&&yt.exports===Le,Ut=wn&&tr.process,xn=function(){try{var t=yt&&yt.require&&yt.require("util").types;return t||Ut&&Ut.binding&&Ut.binding("util")}catch{}}();const le=xn;var ce=le&&le.isTypedArray,An=ce?_n(ce):vn;const De=An;var On=Object.prototype,Tn=On.hasOwnProperty;function Pn(t,e){var s=q(t),a=!s&&Re(t),u=!s&&!a&&Wt(t),l=!s&&!a&&!u&&De(t),_=s||a||u||l,x=_?Gr(t.length,String):[],T=x.length;for(var I in t)(e||Tn.call(t,I))&&!(_&&(I=="length"||u&&(I=="offset"||I=="parent")||l&&(I=="buffer"||I=="byteLength"||I=="byteOffset")||Ce(I,T)))&&x.push(I);return x}function $n(t,e){return function(s){return t(e(s))}}var In=$n(Object.keys,Object);const mn=In;var En=Object.prototype,Sn=En.hasOwnProperty;function Cn(t){if(!Dr(t))return mn(t);var e=[];for(var s in Object(t))Sn.call(t,s)&&s!="constructor"&&e.push(s);return e}function Ge(t){return Fr(t)?Pn(t):Cn(t)}var jn=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Mn=/^\w*$/;function Qt(t,e){if(q(t))return!1;var s=typeof t;return s=="number"||s=="symbol"||s=="boolean"||t==null||Jt(t)?!0:Mn.test(t)||!jn.test(t)||e!=null&&t in Object(e)}var Rn=dt(Object,"create");const _t=Rn;function Fn(){this.__data__=_t?_t(null):{},this.size=0}function Ln(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}var Dn="__lodash_hash_undefined__",Gn=Object.prototype,Hn=Gn.hasOwnProperty;function Nn(t){var e=this.__data__;if(_t){var s=e[t];return s===Dn?void 0:s}return Hn.call(e,t)?e[t]:void 0}var Bn=Object.prototype,Un=Bn.hasOwnProperty;function zn(t){var e=this.__data__;return _t?e[t]!==void 0:Un.call(e,t)}var bn="__lodash_hash_undefined__";function Wn(t,e){var s=this.__data__;return this.size+=this.has(t)?0:1,s[t]=_t&&e===void 0?bn:e,this}function ft(t){var e=-1,s=t==null?0:t.length;for(this.clear();++e<s;){var a=t[e];this.set(a[0],a[1])}}ft.prototype.clear=Fn;ft.prototype.delete=Ln;ft.prototype.get=Nn;ft.prototype.has=zn;ft.prototype.set=Wn;function Kn(){this.__data__=[],this.size=0}function Ft(t,e){for(var s=t.length;s--;)if(je(t[s][0],e))return s;return-1}var Yn=Array.prototype,Jn=Yn.splice;function Xn(t){var e=this.__data__,s=Ft(e,t);if(s<0)return!1;var a=e.length-1;return s==a?e.pop():Jn.call(e,s,1),--this.size,!0}function Zn(t){var e=this.__data__,s=Ft(e,t);return s<0?void 0:e[s][1]}function Qn(t){return Ft(this.__data__,t)>-1}function Vn(t,e){var s=this.__data__,a=Ft(s,t);return a<0?(++this.size,s.push([t,e])):s[a][1]=e,this}function k(t){var e=-1,s=t==null?0:t.length;for(this.clear();++e<s;){var a=t[e];this.set(a[0],a[1])}}k.prototype.clear=Kn;k.prototype.delete=Xn;k.prototype.get=Zn;k.prototype.has=Qn;k.prototype.set=Vn;var qn=dt(nt,"Map");const wt=qn;function kn(){this.size=0,this.__data__={hash:new ft,map:new(wt||k),string:new ft}}function ti(t){var e=typeof t;return e=="string"||e=="number"||e=="symbol"||e=="boolean"?t!=="__proto__":t===null}function Lt(t,e){var s=t.__data__;return ti(e)?s[typeof e=="string"?"string":"hash"]:s.map}function ei(t){var e=Lt(this,t).delete(t);return this.size-=e?1:0,e}function ri(t){return Lt(this,t).get(t)}function ni(t){return Lt(this,t).has(t)}function ii(t,e){var s=Lt(this,t),a=s.size;return s.set(t,e),this.size+=s.size==a?0:1,this}function tt(t){var e=-1,s=t==null?0:t.length;for(this.clear();++e<s;){var a=t[e];this.set(a[0],a[1])}}tt.prototype.clear=kn;tt.prototype.delete=ei;tt.prototype.get=ri;tt.prototype.has=ni;tt.prototype.set=ii;var si="Expected a function";function Vt(t,e){if(typeof t!="function"||e!=null&&typeof e!="function")throw new TypeError(si);var s=function(){var a=arguments,u=e?e.apply(this,a):a[0],l=s.cache;if(l.has(u))return l.get(u);var _=t.apply(this,a);return s.cache=l.set(u,_)||l,_};return s.cache=new(Vt.Cache||tt),s}Vt.Cache=tt;var oi=500;function fi(t){var e=Vt(t,function(a){return s.size===oi&&s.clear(),a}),s=e.cache;return e}var ai=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ui=/\\(\\)?/g,hi=fi(function(t){var e=[];return t.charCodeAt(0)===46&&e.push(""),t.replace(ai,function(s,a,u,l){e.push(u?l.replace(ui,"$1"):a||s)}),e});const li=hi;function ci(t){return t==null?"":Ee(t)}function He(t,e){return q(t)?t:Qt(t,e)?[t]:li(ci(t))}var di=1/0;function Dt(t){if(typeof t=="string"||Jt(t))return t;var e=t+"";return e=="0"&&1/t==-di?"-0":e}function Ne(t,e){e=He(e,t);for(var s=0,a=e.length;t!=null&&s<a;)t=t[Dt(e[s++])];return s&&s==a?t:void 0}function pi(t,e,s){var a=t==null?void 0:Ne(t,e);return a===void 0?s:a}function gi(t,e){for(var s=-1,a=e.length,u=t.length;++s<a;)t[u+s]=e[s];return t}function yi(){this.__data__=new k,this.size=0}function vi(t){var e=this.__data__,s=e.delete(t);return this.size=e.size,s}function _i(t){return this.__data__.get(t)}function wi(t){return this.__data__.has(t)}var xi=200;function Ai(t,e){var s=this.__data__;if(s instanceof k){var a=s.__data__;if(!wt||a.length<xi-1)return a.push([t,e]),this.size=++s.size,this;s=this.__data__=new tt(a)}return s.set(t,e),this.size=s.size,this}function V(t){var e=this.__data__=new k(t);this.size=e.size}V.prototype.clear=yi;V.prototype.delete=vi;V.prototype.get=_i;V.prototype.has=wi;V.prototype.set=Ai;function Oi(t,e){for(var s=-1,a=t==null?0:t.length,u=0,l=[];++s<a;){var _=t[s];e(_,s,t)&&(l[u++]=_)}return l}function Ti(){return[]}var Pi=Object.prototype,$i=Pi.propertyIsEnumerable,de=Object.getOwnPropertySymbols,Ii=de?function(t){return t==null?[]:(t=Object(t),Oi(de(t),function(e){return $i.call(t,e)}))}:Ti;const mi=Ii;function Ei(t,e,s){var a=e(t);return q(t)?a:gi(a,s(t))}function pe(t){return Ei(t,Ge,mi)}var Si=dt(nt,"DataView");const Kt=Si;var Ci=dt(nt,"Promise");const Yt=Ci;var ji=dt(nt,"Set");const ht=ji;var ge="[object Map]",Mi="[object Object]",ye="[object Promise]",ve="[object Set]",_e="[object WeakMap]",we="[object DataView]",Ri=at(Kt),Fi=at(wt),Li=at(Yt),Di=at(ht),Gi=at(bt),ot=Tt;(Kt&&ot(new Kt(new ArrayBuffer(1)))!=we||wt&&ot(new wt)!=ge||Yt&&ot(Yt.resolve())!=ye||ht&&ot(new ht)!=ve||bt&&ot(new bt)!=_e)&&(ot=function(t){var e=Tt(t),s=e==Mi?t.constructor:void 0,a=s?at(s):"";if(a)switch(a){case Ri:return we;case Fi:return ge;case Li:return ye;case Di:return ve;case Gi:return _e}return e});const xe=ot;var Hi=nt.Uint8Array;const Ae=Hi;var Ni="__lodash_hash_undefined__";function Bi(t){return this.__data__.set(t,Ni),this}function Ui(t){return this.__data__.has(t)}function xt(t){var e=-1,s=t==null?0:t.length;for(this.__data__=new tt;++e<s;)this.add(t[e])}xt.prototype.add=xt.prototype.push=Bi;xt.prototype.has=Ui;function zi(t,e){for(var s=-1,a=t==null?0:t.length;++s<a;)if(e(t[s],s,t))return!0;return!1}function Be(t,e){return t.has(e)}var bi=1,Wi=2;function Ue(t,e,s,a,u,l){var _=s&bi,x=t.length,T=e.length;if(x!=T&&!(_&&T>x))return!1;var I=l.get(t),v=l.get(e);if(I&&v)return I==e&&v==t;var S=-1,E=!0,N=s&Wi?new xt:void 0;for(l.set(t,e),l.set(e,t);++S<x;){var L=t[S],B=e[S];if(a)var K=_?a(B,L,S,e,t,l):a(L,B,S,t,e,l);if(K!==void 0){if(K)continue;E=!1;break}if(N){if(!zi(e,function(Z,b){if(!Be(N,b)&&(L===Z||u(L,Z,s,a,l)))return N.push(b)})){E=!1;break}}else if(!(L===B||u(L,B,s,a,l))){E=!1;break}}return l.delete(t),l.delete(e),E}function Ki(t){var e=-1,s=Array(t.size);return t.forEach(function(a,u){s[++e]=[u,a]}),s}function qt(t){var e=-1,s=Array(t.size);return t.forEach(function(a){s[++e]=a}),s}var Yi=1,Ji=2,Xi="[object Boolean]",Zi="[object Date]",Qi="[object Error]",Vi="[object Map]",qi="[object Number]",ki="[object RegExp]",ts="[object Set]",es="[object String]",rs="[object Symbol]",ns="[object ArrayBuffer]",is="[object DataView]",Oe=Ct?Ct.prototype:void 0,zt=Oe?Oe.valueOf:void 0;function ss(t,e,s,a,u,l,_){switch(s){case is:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case ns:return!(t.byteLength!=e.byteLength||!l(new Ae(t),new Ae(e)));case Xi:case Zi:case qi:return je(+t,+e);case Qi:return t.name==e.name&&t.message==e.message;case ki:case es:return t==e+"";case Vi:var x=Ki;case ts:var T=a&Yi;if(x||(x=qt),t.size!=e.size&&!T)return!1;var I=_.get(t);if(I)return I==e;a|=Ji,_.set(t,e);var v=Ue(x(t),x(e),a,u,l,_);return _.delete(t),v;case rs:if(zt)return zt.call(t)==zt.call(e)}return!1}var os=1,fs=Object.prototype,as=fs.hasOwnProperty;function us(t,e,s,a,u,l){var _=s&os,x=pe(t),T=x.length,I=pe(e),v=I.length;if(T!=v&&!_)return!1;for(var S=T;S--;){var E=x[S];if(!(_?E in e:as.call(e,E)))return!1}var N=l.get(t),L=l.get(e);if(N&&L)return N==e&&L==t;var B=!0;l.set(t,e),l.set(e,t);for(var K=_;++S<T;){E=x[S];var Z=t[E],b=e[E];if(a)var pt=_?a(b,Z,E,e,t,l):a(Z,b,E,t,e,l);if(!(pt===void 0?Z===b||u(Z,b,s,a,l):pt)){B=!1;break}K||(K=E=="constructor")}if(B&&!K){var U=t.constructor,G=e.constructor;U!=G&&"constructor"in t&&"constructor"in e&&!(typeof U=="function"&&U instanceof U&&typeof G=="function"&&G instanceof G)&&(B=!1)}return l.delete(t),l.delete(e),B}var hs=1,Te="[object Arguments]",Pe="[object Array]",St="[object Object]",ls=Object.prototype,$e=ls.hasOwnProperty;function cs(t,e,s,a,u,l){var _=q(t),x=q(e),T=_?Pe:xe(t),I=x?Pe:xe(e);T=T==Te?St:T,I=I==Te?St:I;var v=T==St,S=I==St,E=T==I;if(E&&Wt(t)){if(!Wt(e))return!1;_=!0,v=!1}if(E&&!v)return l||(l=new V),_||De(t)?Ue(t,e,s,a,u,l):ss(t,e,T,s,a,u,l);if(!(s&hs)){var N=v&&$e.call(t,"__wrapped__"),L=S&&$e.call(e,"__wrapped__");if(N||L){var B=N?t.value():t,K=L?e.value():e;return l||(l=new V),u(B,K,s,a,l)}}return E?(l||(l=new V),us(t,e,s,a,u,l)):!1}function kt(t,e,s,a,u){return t===e?!0:t==null||e==null||!vt(t)&&!vt(e)?t!==t&&e!==e:cs(t,e,s,a,kt,u)}var ds=1,ps=2;function gs(t,e,s,a){var u=s.length,l=u,_=!a;if(t==null)return!l;for(t=Object(t);u--;){var x=s[u];if(_&&x[2]?x[1]!==t[x[0]]:!(x[0]in t))return!1}for(;++u<l;){x=s[u];var T=x[0],I=t[T],v=x[1];if(_&&x[2]){if(I===void 0&&!(T in t))return!1}else{var S=new V;if(a)var E=a(I,v,T,t,e,S);if(!(E===void 0?kt(v,I,ds|ps,a,S):E))return!1}}return!0}function ze(t){return t===t&&!Xt(t)}function ys(t){for(var e=Ge(t),s=e.length;s--;){var a=e[s],u=t[a];e[s]=[a,u,ze(u)]}return e}function be(t,e){return function(s){return s==null?!1:s[t]===e&&(e!==void 0||t in Object(s))}}function vs(t){var e=ys(t);return e.length==1&&e[0][2]?be(e[0][0],e[0][1]):function(s){return s===t||gs(s,t,e)}}function _s(t,e){return t!=null&&e in Object(t)}function ws(t,e,s){e=He(e,t);for(var a=-1,u=e.length,l=!1;++a<u;){var _=Dt(e[a]);if(!(l=t!=null&&s(t,_)))break;t=t[_]}return l||++a!=u?l:(u=t==null?0:t.length,!!u&&Zt(u)&&Ce(_,u)&&(q(t)||Re(t)))}function xs(t,e){return t!=null&&ws(t,e,_s)}var As=1,Os=2;function Ts(t,e){return Qt(t)&&ze(e)?be(Dt(t),e):function(s){var a=pi(s,t);return a===void 0&&a===e?xs(s,t):kt(e,a,As|Os)}}function Ps(t){return function(e){return e==null?void 0:e[t]}}function $s(t){return function(e){return Ne(e,t)}}function Is(t){return Qt(t)?Ps(Dt(t)):$s(t)}function ms(t){return typeof t=="function"?t:t==null?or:typeof t=="object"?q(t)?Ts(t[0],t[1]):vs(t):Is(t)}function Es(t,e,s){for(var a=-1,u=t==null?0:t.length;++a<u;)if(s(e,t[a]))return!0;return!1}var Ss=1/0,Cs=ht&&1/qt(new ht([,-0]))[1]==Ss?function(t){return new ht(t)}:$r;const js=Cs;var Ms=200;function Rs(t,e,s){var a=-1,u=Cr,l=t.length,_=!0,x=[],T=x;if(s)_=!1,u=Es;else if(l>=Ms){var I=e?null:js(t);if(I)return qt(I);_=!1,u=Be,T=new xt}else T=e?[]:x;t:for(;++a<l;){var v=t[a],S=e?e(v):v;if(v=s||v!==0?v:0,_&&S===S){for(var E=T.length;E--;)if(T[E]===S)continue t;e&&T.push(S),x.push(v)}else u(T,S,s)||(T!==x&&T.push(S),x.push(v))}return x}function Fs(t,e){return t&&t.length?Rs(t,ms(e)):[]}var Ls=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},We={exports:{}};(function(t,e){(function(s,a,u){let l;(l=u.define)&&l.amd?l([],function(){return a}):(l=u.modules)?l[s.toLowerCase()]=a:t.exports=a})("FlexSearch",function s(a){function u(r,i){const n=i?i.id:r&&r.id;this.id=n||n===0?n:Qe++,this.init(r,i),I(this,"index",function(){return this.a?Object.keys(this.a.index[this.a.keys[0]].c):Object.keys(this.c)}),I(this,"length",function(){return this.index.length})}function l(r,i,n,o){return this.u!==this.g&&(this.o=this.o.concat(n),this.u++,o&&this.o.length>=o&&(this.u=this.g),this.u===this.g&&(this.cache&&this.j.set(i,this.o),this.F&&this.F(this.o))),this}function _(r){const i=D();for(const n in r)if(r.hasOwnProperty(n)){const o=r[n];G(o)?i[n]=o.slice(0):Y(o)?i[n]=_(o):i[n]=o}return i}function x(r,i){const n=r.length,o=it(i),f=[];for(let h=0,d=0;h<n;h++){const c=r[h];(o&&i(c)||!o&&!i[c])&&(f[d++]=c)}return f}function T(r,i,n,o,f,h,d,c,p,g){n=pt(n,d?0:f,c,h,i,p,g);let A;if(c&&(c=n.page,A=n.next,n=n.result),d)i=this.where(d,null,f,n);else{for(i=n,n=this.l,f=i.length,h=Array(f),d=0;d<f;d++)h[d]=n[i[d]];i=h}return n=i,o&&(it(o)||(Q=o.split(":"),1<Q.length?o=Z:(Q=Q[0],o=K)),n.sort(o)),n=b(c,A,n),this.cache&&this.j.set(r,n),n}function I(r,i,n){Object.defineProperty(r,i,{get:n})}function v(r){return new RegExp(r,"g")}function S(r,i){for(let n=0;n<i.length;n+=2)r=r.replace(i[n],i[n+1]);return r}function E(r,i,n,o,f,h,d,c){return i[n]?i[n]:(f=f?(c-(d||c/1.5))*h+(d||c/1.5)*f:h,i[n]=f,f>=d&&(r=r[c-(f+.5>>0)],r=r[n]||(r[n]=[]),r[r.length]=o),f)}function N(r,i){if(r){const n=Object.keys(r);for(let o=0,f=n.length;o<f;o++){const h=n[o],d=r[h];if(d)for(let c=0,p=d.length;c<p;c++)if(d[c]===i){p===1?delete r[h]:d.splice(c,1);break}else Y(d[c])&&N(d[c],i)}}}function L(r){let i="",n="";var o="";for(let f=0;f<r.length;f++){const h=r[f];h!==n&&(f&&h==="h"?(o=o==="a"||o==="e"||o==="i"||o==="o"||o==="u"||o==="y",((n==="a"||n==="e"||n==="i"||n==="o"||n==="u"||n==="y")&&o||n===" ")&&(i+=h)):i+=h),o=f===r.length-1?"":r[f+1],n=h}return i}function B(r,i){return r=r.length-i.length,0>r?1:r?-1:0}function K(r,i){return r=r[Q],i=i[Q],r<i?-1:r>i?1:0}function Z(r,i){const n=Q.length;for(let o=0;o<n;o++)r=r[Q[o]],i=i[Q[o]];return r<i?-1:r>i?1:0}function b(r,i,n){return r?{page:r,next:i?""+i:null,result:n}:n}function pt(r,i,n,o,f,h,d){let c,p=[];if(n===!0){n="0";var g=""}else g=n&&n.split(":");const A=r.length;if(1<A){const R=D(),$=[];let m,C;var w=0,y;let X;var P=!0;let z,W=0,et,Gt,$t,Ht;if(g&&(g.length===2?($t=g,g=!1):g=Ht=parseInt(g[0],10)),d){for(m=D();w<A;w++)if(f[w]==="not")for(C=r[w],X=C.length,y=0;y<X;y++)m["@"+C[y]]=1;else Gt=w+1;if(H(Gt))return b(n,c,p);w=0}else et=U(f)&&f;let It;for(;w<A;w++){const ke=w===(Gt||A)-1;if(!et||!w)if((y=et||f&&f[w])&&y!=="and")if(y==="or")It=!1;else continue;else It=h=!0;if(C=r[w],X=C.length){if(P)if(z){var O=z.length;for(y=0;y<O;y++){P=z[y];var F="@"+P;d&&m[F]||(R[F]=1,h||(p[W++]=P))}z=null,P=!1}else{z=C;continue}for(F=!1,y=0;y<X;y++){O=C[y];var M="@"+O;const mt=h?R[M]||0:w;if(!(!mt&&!o||d&&m[M]||!h&&R[M]))if(mt===w){if(ke){if((!Ht||--Ht<W)&&(p[W++]=O,i&&W===i))return b(n,W+(g||0),p)}else R[M]=w+1;F=!0}else o&&(M=$[mt]||($[mt]=[]),M[M.length]=O)}if(It&&!F&&!o)break}else if(It&&!o)return b(n,c,C)}if(z)if(w=z.length,d)for(y=g?parseInt(g,10):0;y<w;y++)r=z[y],m["@"+r]||(p[W++]=r);else p=z;if(o){for(W=p.length,$t?(w=parseInt($t[0],10)+1,y=parseInt($t[1],10)+1):(w=$.length,y=0);w--;)if(O=$[w]){for(X=O.length;y<X;y++)if(o=O[y],(!d||!m["@"+o])&&(p[W++]=o,i&&W===i))return b(n,w+":"+y,p);y=0}}}else!A||f&&f[0]==="not"||(p=r[0],g&&(g=parseInt(g[0],10)));return i&&(d=p.length,g&&g>d&&(g=0),g=g||0,c=g+i,c<d?p=p.slice(g,c):(c=0,g&&(p=p.slice(g)))),b(n,c,p)}function U(r){return typeof r=="string"}function G(r){return r.constructor===Array}function it(r){return typeof r=="function"}function Y(r){return typeof r=="object"}function H(r){return typeof r>"u"}function te(r){const i=Array(r);for(let n=0;n<r;n++)i[n]=D();return i}function D(){return Object.create(null)}function Xe(){let r,i;self.onmessage=function(n){if(n=n.data)if(n.search){const o=i.search(n.content,n.threshold?{limit:n.limit,threshold:n.threshold,where:n.where}:n.limit);self.postMessage({id:r,content:n.content,limit:n.limit,result:o})}else n.add?i.add(n.id,n.content):n.update?i.update(n.id,n.content):n.remove?i.remove(n.id):n.clear?i.clear():n.info?(n=i.info(),n.worker=r,console.log(n)):n.register&&(r=n.id,n.options.cache=!1,n.options.async=!1,n.options.worker=!1,i=new Function(n.register.substring(n.register.indexOf("{")+1,n.register.lastIndexOf("}")))(),i=new i(n.options))}}function Ze(r,i,n,o){r=a("flexsearch","id"+r,Xe,function(h){(h=h.data)&&h.result&&o(h.id,h.content,h.result,h.limit,h.where,h.cursor,h.suggest)},i);const f=s.toString();return n.id=i,r.postMessage({register:f,options:n,id:i}),r}const J={encode:"icase",f:"forward",split:/\W+/,cache:!1,async:!1,g:!1,D:!1,a:!1,b:9,threshold:0,depth:0},ee={memory:{encode:"extra",f:"strict",threshold:0,b:1},speed:{encode:"icase",f:"strict",threshold:1,b:3,depth:2},match:{encode:"extra",f:"full",threshold:1,b:3},score:{encode:"extra",f:"strict",threshold:1,b:9,depth:4},balance:{encode:"balance",f:"strict",threshold:0,b:3,depth:3},fast:{encode:"icase",f:"strict",threshold:8,b:9,depth:1}},Pt=[];let Qe=0;const re={},ne={};u.create=function(r,i){return new u(r,i)},u.registerMatcher=function(r){for(const i in r)r.hasOwnProperty(i)&&Pt.push(v(i),r[i]);return this},u.registerEncoder=function(r,i){return ut[r]=i.bind(ut),this},u.registerLanguage=function(r,i){return re[r]=i.filter,ne[r]=i.stemmer,this},u.encode=function(r,i){return ut[r](i)},u.prototype.init=function(r,i){if(this.v=[],i){var n=i.preset;r=i}else r||(r=J),n=r.preset;if(i={},U(r)?(i=ee[r],r={}):n&&(i=ee[n]),n=r.worker)if(typeof Worker>"u")r.worker=!1,this.m=null;else{var o=parseInt(n,10)||4;this.C=-1,this.u=0,this.o=[],this.F=null,this.m=Array(o);for(var f=0;f<o;f++)this.m[f]=Ze(this.id,f,r,l.bind(this))}if(this.f=r.tokenize||i.f||this.f||J.f,this.split=H(n=r.split)?this.split||J.split:U(n)?v(n):n,this.D=r.rtl||this.D||J.D,this.async=typeof Promise>"u"||H(n=r.async)?this.async||J.async:n,this.g=H(n=r.worker)?this.g||J.g:n,this.threshold=H(n=r.threshold)?i.threshold||this.threshold||J.threshold:n,this.b=H(n=r.resolution)?n=i.b||this.b||J.b:n,n<=this.threshold&&(this.b=this.threshold+1),this.depth=this.f!=="strict"||H(n=r.depth)?i.depth||this.depth||J.depth:n,this.w=(n=H(n=r.encode)?i.encode||J.encode:n)&&ut[n]&&ut[n].bind(ut)||(it(n)?n:this.w||!1),(n=r.matcher)&&this.addMatcher(n),n=(i=r.lang)||r.filter){if(U(n)&&(n=re[n]),G(n)){o=this.w,f=D();for(var h=0;h<n.length;h++){var d=o?o(n[h]):n[h];f[d]=1}n=f}this.filter=n}if(n=i||r.stemmer){var c;i=U(n)?ne[n]:n,o=this.w,f=[];for(c in i)i.hasOwnProperty(c)&&(h=o?o(c):c,f.push(v(h+"($|\\W)"),o?o(i[c]):i[c]));this.stemmer=c=f}if(this.a=f=(n=r.doc)?_(n):this.a||J.a,this.i=te(this.b-(this.threshold||0)),this.h=D(),this.c=D(),f){if(this.l=D(),r.doc=null,c=f.index={},i=f.keys=[],o=f.field,h=f.tag,d=f.store,G(f.id)||(f.id=f.id.split(":")),d){var p=D();if(U(d))p[d]=1;else if(G(d))for(let g=0;g<d.length;g++)p[d[g]]=1;else Y(d)&&(p=d);f.store=p}if(h){if(this.G=D(),d=D(),o)if(U(o))d[o]=r;else if(G(o))for(p=0;p<o.length;p++)d[o[p]]=r;else Y(o)&&(d=o);for(G(h)||(f.tag=h=[h]),o=0;o<h.length;o++)this.G[h[o]]=D();this.I=h,o=d}if(o){let g;for(G(o)||(Y(o)?(g=o,f.field=o=Object.keys(o)):f.field=o=[o]),f=0;f<o.length;f++)h=o[f],G(h)||(g&&(r=g[h]),i[f]=h,o[f]=h.split(":")),c[h]=new u(r)}r.doc=n}return this.B=!0,this.j=(this.cache=n=H(n=r.cache)?this.cache||J.cache:n)?new qe(n):!1,this},u.prototype.encode=function(r){return r&&(Pt.length&&(r=S(r,Pt)),this.v.length&&(r=S(r,this.v)),this.w&&(r=this.w(r)),this.stemmer&&(r=S(r,this.stemmer))),r},u.prototype.addMatcher=function(r){const i=this.v;for(const n in r)r.hasOwnProperty(n)&&i.push(v(n),r[n]);return this},u.prototype.add=function(r,i,n,o,f){if(this.a&&Y(r))return this.A("add",r,i);if(i&&U(i)&&(r||r===0)){var h="@"+r;if(this.c[h]&&!o)return this.update(r,i);if(this.g)return++this.C>=this.m.length&&(this.C=0),this.m[this.C].postMessage({add:!0,id:r,content:i}),this.c[h]=""+this.C,n&&n(),this;if(!f){if(this.async&&typeof importScripts!="function"){let $=this;if(h=new Promise(function(m){setTimeout(function(){$.add(r,i,null,o,!0),$=null,m()})}),n)h.then(n);else return h;return this}if(n)return this.add(r,i,null,o,!0),n(),this}if(i=this.encode(i),!i.length)return this;n=this.f,f=it(n)?n(i):i.split(this.split),this.filter&&(f=x(f,this.filter));const w=D();w._ctx=D();const y=f.length,P=this.threshold,O=this.depth,F=this.b,M=this.i,R=this.D;for(let $=0;$<y;$++){var d=f[$];if(d){var c=d.length,p=(R?$+1:y-$)/y,g="";switch(n){case"reverse":case"both":for(var A=c;--A;)g=d[A]+g,E(M,w,g,r,R?1:(c-A)/c,p,P,F-1);g="";case"forward":for(A=0;A<c;A++)g+=d[A],E(M,w,g,r,R?(A+1)/c:1,p,P,F-1);break;case"full":for(A=0;A<c;A++){const m=(R?A+1:c-A)/c;for(let C=c;C>A;C--)g=d.substring(A,C),E(M,w,g,r,m,p,P,F-1)}break;default:if(c=E(M,w,d,r,1,p,P,F-1),O&&1<y&&c>=P)for(c=w._ctx[d]||(w._ctx[d]=D()),d=this.h[d]||(this.h[d]=te(F-(P||0))),p=$-O,g=$+O+1,0>p&&(p=0),g>y&&(g=y);p<g;p++)p!==$&&E(d,c,f[p],r,0,F-(p<$?$-p:p-$),P,F-1)}}}this.c[h]=1,this.B=!1}return this},u.prototype.A=function(r,i,n){if(G(i)){var o=i.length;if(o--){for(var f=0;f<o;f++)this.A(r,i[f]);return this.A(r,i[o],n)}}else{var h=this.a.index,d=this.a.keys,c=this.a.tag;f=this.a.store;var p,g=this.a.id;o=i;for(var A=0;A<g.length;A++)o=o[g[A]];if(r==="remove"&&(delete this.l[o],g=d.length,g--)){for(i=0;i<g;i++)h[d[i]].remove(o);return h[d[g]].remove(o,n)}if(c){for(p=0;p<c.length;p++){var w=c[p],y=i;for(g=w.split(":"),A=0;A<g.length;A++)y=y[g[A]];y="@"+y}p=this.G[w],p=p[y]||(p[y]=[])}g=this.a.field;for(let P=0,O=g.length;P<O;P++){for(w=g[P],c=i,y=0;y<w.length;y++)c=c[w[y]];w=h[d[P]],y=r==="add"?w.add:w.update,P===O-1?y.call(w,o,c,n):y.call(w,o,c)}if(f){for(n=Object.keys(f),r=D(),h=0;h<n.length;h++)if(d=n[h],f[d]){d=d.split(":");let P,O;for(g=0;g<d.length;g++)c=d[g],P=(P||i)[c],O=(O||r)[c]=P}i=r}p&&(p[p.length]=i),this.l[o]=i}return this},u.prototype.update=function(r,i,n){return this.a&&Y(r)?this.A("update",r,i):(this.c["@"+r]&&U(i)&&(this.remove(r),this.add(r,i,n,!0)),this)},u.prototype.remove=function(r,i,n){if(this.a&&Y(r))return this.A("remove",r,i);var o="@"+r;if(this.c[o]){if(this.g)return this.m[this.c[o]].postMessage({remove:!0,id:r}),delete this.c[o],i&&i(),this;if(!n){if(this.async&&typeof importScripts!="function"){let f=this;if(o=new Promise(function(h){setTimeout(function(){f.remove(r,null,!0),f=null,h()})}),i)o.then(i);else return o;return this}if(i)return this.remove(r,null,!0),i(),this}for(i=0;i<this.b-(this.threshold||0);i++)N(this.i[i],r);this.depth&&N(this.h,r),delete this.c[o],this.B=!1}return this};let Q;u.prototype.search=function(r,i,n,o){if(Y(i)){if(G(i))for(var f=0;f<i.length;f++)i[f].query=r;else i.query=r;r=i,i=1e3}else i&&it(i)?(n=i,i=1e3):i||i===0||(i=1e3);if(this.g){this.F=n,this.u=0,this.o=[];for(var h=0;h<this.g;h++)this.m[h].postMessage({search:!0,limit:i,content:r})}else{var d=[],c=r;if(Y(r)&&!G(r)){n||(n=r.callback)&&(c.callback=null);var p=r.sort,g=r.page;i=r.limit,h=r.threshold;var A=r.suggest;r=r.query}if(this.a){h=this.a.index;const R=c.where;var w=c.bool||"or",y=c.field;let $=w,m,C;if(y)G(y)||(y=[y]);else if(G(c)){var P=c;y=[],$=[];for(var O=0;O<c.length;O++)o=c[O],f=o.bool||w,y[O]=o.field,$[O]=f,f==="not"?m=!0:f==="and"&&(C=!0)}else y=this.a.keys;for(w=y.length,O=0;O<w;O++)P&&(c=P[O]),g&&!U(c)&&(c.page=null,c.limit=0),d[O]=h[y[O]].search(c,0);if(n)return n(T.call(this,r,$,d,p,i,A,R,g,C,m));if(this.async){const X=this;return new Promise(function(z){Promise.all(d).then(function(W){z(T.call(X,r,$,W,p,i,A,R,g,C,m))})})}return T.call(this,r,$,d,p,i,A,R,g,C,m)}if(h||(h=this.threshold||0),!o){if(this.async&&typeof importScripts!="function"){let R=this;if(h=new Promise(function($){setTimeout(function(){$(R.search(c,i,null,!0)),R=null})}),n)h.then(n);else return h;return this}if(n)return n(this.search(c,i,null,!0)),this}if(!r||!U(r))return d;if(c=r,this.cache)if(this.B){if(n=this.j.get(r))return n}else this.j.clear(),this.B=!0;if(c=this.encode(c),!c.length)return d;n=this.f,n=it(n)?n(c):c.split(this.split),this.filter&&(n=x(n,this.filter)),P=n.length,o=!0,f=[];var F=D(),M=0;if(1<P&&(this.depth&&this.f==="strict"?w=!0:n.sort(B)),!w||(O=this.h)){const R=this.b;for(;M<P;M++){let $=n[M];if($){if(w){if(!y){if(O[$])y=$,F[$]=1;else if(!A)return d}if(A&&M===P-1&&!f.length)w=!1,$=y||$,F[$]=0;else if(!y)continue}if(!F[$]){const m=[];let C=!1,X=0;const z=w?O[y]:this.i;if(z){let W;for(let et=0;et<R-h;et++)(W=z[et]&&z[et][$])&&(m[X++]=W,C=!0)}if(C)y=$,f[f.length]=1<X?m.concat.apply([],m):m[0];else if(!A){o=!1;break}F[$]=1}}}}else o=!1;return o&&(d=pt(f,i,g,A)),this.cache&&this.j.set(r,d),d}},u.prototype.find=function(r,i){return this.where(r,i,1)[0]||null},u.prototype.where=function(r,i,n,o){const f=this.l,h=[];let d=0,c;var p;let g;if(Y(r)){n||(n=i);var A=Object.keys(r),w=A.length;if(c=!1,w===1&&A[0]==="id")return[f[r.id]];if((p=this.I)&&!o)for(var y=0;y<p.length;y++){var P=p[y],O=r[P];if(!H(O)){if(g=this.G[P]["@"+O],--w===0)return g;A.splice(A.indexOf(P),1),delete r[P];break}}for(p=Array(w),y=0;y<w;y++)p[y]=A[y].split(":")}else{if(it(r)){for(i=o||Object.keys(f),n=i.length,A=0;A<n;A++)w=f[i[A]],r(w)&&(h[d++]=w);return h}if(H(i))return[f[r]];if(r==="id")return[f[i]];A=[r],w=1,p=[r.split(":")],c=!0}for(o=g||o||Object.keys(f),y=o.length,P=0;P<y;P++){O=g?o[P]:f[o[P]];let F=!0;for(let M=0;M<w;M++){c||(i=r[A[M]]);const R=p[M],$=R.length;let m=O;if(1<$)for(let C=0;C<$;C++)m=m[R[C]];else m=m[R[0]];if(m!==i){F=!1;break}}if(F&&(h[d++]=O,n&&d===n))break}return h},u.prototype.info=function(){if(this.g)for(let r=0;r<this.g;r++)this.m[r].postMessage({info:!0,id:this.id});else return{id:this.id,items:this.length,cache:this.cache&&this.cache.s?this.cache.s.length:!1,matcher:Pt.length+(this.v?this.v.length:0),worker:this.g,threshold:this.threshold,depth:this.depth,resolution:this.b,contextual:this.depth&&this.f==="strict"}},u.prototype.clear=function(){return this.destroy().init()},u.prototype.destroy=function(){if(this.cache&&(this.j.clear(),this.j=null),this.i=this.h=this.c=null,this.a){const r=this.a.keys;for(let i=0;i<r.length;i++)this.a.index[r[i]].destroy();this.a=this.l=null}return this},u.prototype.export=function(r){const i=!r||H(r.serialize)||r.serialize;if(this.a){const o=!r||H(r.doc)||r.doc;var n=!r||H(r.index)||r.index;r=[];let f=0;if(n)for(n=this.a.keys;f<n.length;f++){const h=this.a.index[n[f]];r[f]=[h.i,h.h,Object.keys(h.c)]}o&&(r[f]=this.l)}else r=[this.i,this.h,Object.keys(this.c)];return i&&(r=JSON.stringify(r)),r},u.prototype.import=function(r,i){(!i||H(i.serialize)||i.serialize)&&(r=JSON.parse(r));const n=D();if(this.a){var o=!i||H(i.doc)||i.doc,f=0;if(!i||H(i.index)||i.index){i=this.a.keys;const d=i.length;for(var h=r[0][2];f<h.length;f++)n[h[f]]=1;for(f=0;f<d;f++){h=this.a.index[i[f]];const c=r[f];c&&(h.i=c[0],h.h=c[1],h.c=n)}}o&&(this.l=Y(o)?o:r[f])}else{for(o=r[2],f=0;f<o.length;f++)n[o[f]]=1;this.i=r[0],this.h=r[1],this.c=n}};const Ve=function(){const r=v("\\s+"),i=v("[^a-z0-9 ]"),n=[v("[-/]")," ",i,"",r," "];return function(o){return L(S(o.toLowerCase(),n))}}(),ut={icase:function(r){return r.toLowerCase()},simple:function(){const r=v("\\s+"),i=v("[^a-z0-9 ]"),n=v("[-/]"),o=v("[\xE0\xE1\xE2\xE3\xE4\xE5]"),f=v("[\xE8\xE9\xEA\xEB]"),h=v("[\xEC\xED\xEE\xEF]"),d=v("[\xF2\xF3\xF4\xF5\xF6\u0151]"),c=v("[\xF9\xFA\xFB\xFC\u0171]"),p=v("[\xFD\u0177\xFF]"),g=v("\xF1"),A=v("[\xE7c]"),w=v("\xDF"),y=v(" & "),P=[o,"a",f,"e",h,"i",d,"o",c,"u",p,"y",g,"n",A,"k",w,"s",y," and ",n," ",i,"",r," "];return function(O){return O=S(O.toLowerCase(),P),O===" "?"":O}}(),advanced:function(){const r=v("ae"),i=v("ai"),n=v("ay"),o=v("ey"),f=v("oe"),h=v("ue"),d=v("ie"),c=v("sz"),p=v("zs"),g=v("ck"),A=v("cc"),w=v("sh"),y=v("th"),P=v("dt"),O=v("ph"),F=v("pf"),M=v("ou"),R=v("uo"),$=[r,"a",i,"ei",n,"ei",o,"ei",f,"o",h,"u",d,"i",c,"s",p,"s",w,"s",g,"k",A,"k",y,"t",P,"t",O,"f",F,"f",M,"o",R,"u"];return function(m,C){return m&&(m=this.simple(m),2<m.length&&(m=S(m,$)),C||1<m.length&&(m=L(m)),m)}}(),extra:function(){const r=v("p"),i=v("z"),n=v("[cgq]"),o=v("n"),f=v("d"),h=v("[vw]"),d=v("[aeiouy]"),c=[r,"b",i,"s",n,"k",o,"m",f,"t",h,"f",d,""];return function(p){if(!p)return p;if(p=this.advanced(p,!0),1<p.length){p=p.split(" ");for(let g=0;g<p.length;g++){const A=p[g];1<A.length&&(p[g]=A[0]+S(A.substring(1),c))}p=p.join(" "),p=L(p)}return p}}(),balance:Ve},qe=function(){function r(i){this.clear(),this.H=i!==!0&&i}return r.prototype.clear=function(){this.cache=D(),this.count=D(),this.index=D(),this.s=[]},r.prototype.set=function(i,n){if(this.H&&H(this.cache[i])){let o=this.s.length;if(o===this.H){o--;const f=this.s[o];delete this.cache[f],delete this.count[f],delete this.index[f]}this.index[i]=o,this.s[o]=i,this.count[i]=-1,this.cache[i]=n,this.get(i)}else this.cache[i]=n},r.prototype.get=function(i){const n=this.cache[i];if(this.H&&n){var o=++this.count[i];const h=this.index;let d=h[i];if(0<d){const c=this.s;for(var f=d;this.count[c[--d]]<=o&&d!==-1;);if(d++,d!==f){for(o=f;o>d;o--)f=c[o-1],c[o]=f,h[f]=o;c[d]=i,h[i]=d}}}return n},r}();return u}(function(){const s={},a=typeof Blob<"u"&&typeof URL<"u"&&URL.createObjectURL;return function(u,l,_,x,T){return _=a?URL.createObjectURL(new Blob(["("+_.toString()+")()"],{type:"text/javascript"})):u+".min.js",u+="-"+l,s[u]||(s[u]=[]),s[u][T]=new Worker(_),s[u][T].onmessage=x,s[u][T]}}()),Ls)})(We);const Ie=We.exports;function Ds(t,e){let s=t[e],a=e;const u=[s];for(;s&&s.depth>2;){let l=!1;for(let _=a-1;_>=0;_--){const x=t[_];if(x.depth>1&&x.depth===s.depth-1){s=x,a=_,u.unshift(s),l=!0;break}}if(!l)break}return u}const me=100,Gs=/[\u3131-\u314e|\u314f-\u3163|\uac00-\ud7a3]|[\u4E00-\u9FCC\u3400-\u4DB5\uFA0E\uFA0F\uFA11\uFA13\uFA14\uFA1F\uFA21\uFA23\uFA24\uFA27-\uFA29]|[\ud840-\ud868][\udc00-\udfff]|\ud869[\udc00-\uded6\udf00-\udfff]|[\ud86a-\ud86c][\udc00-\udfff]|\ud86d[\udc00-\udf34\udf40-\udfff]|\ud86e[\udc00-\udc1d]|[\u3041-\u3096]|[\u30A1-\u30FA]/giu,Hs=["home","api","404","custom"];var lt,ct,At,Ot,jt,Ke,Mt,Ye,Rt,Je;class bs{constructor(e=""){rt(this,jt);rt(this,Mt);rt(this,Rt);rt(this,lt,void 0);rt(this,ct,void 0);rt(this,At,{});rt(this,Ot,void 0);gt(this,Ot,e)}async init(e={}){const s=await er(l=>l.path.startsWith(rr(st(this,Ot)))),a=s.filter(l=>{var _;return!Hs.includes(((_=l.frontmatter)==null?void 0:_.pageType)||"")}).map(l=>({title:l.title,headers:(l.toc||[]).map(_=>_.text),content:l.content||"",path:l.routePath,rawHeaders:l.toc||[]}));gt(this,At,s.reduce((l,_)=>((_.toc||[]).forEach(x=>{l[_.routePath+x.text]=x.id}),l),{}));const u={encode:"simple",tokenize:"forward",split:/\W+/,async:!0,doc:{id:"path",field:["title","headers","content"]},...e};gt(this,lt,Ie.create(u)),gt(this,ct,Ie.create({...u,encode:!1,tokenize(l){const _=[];let x=null;do x=Gs.exec(l),x&&_.push(x[0]);while(x);return _}})),st(this,lt).add(a),st(this,ct).add(a)}async match(e,s=7){var x,T;const u=(await Promise.all([(x=st(this,lt))==null?void 0:x.search({query:e,limit:s}),(T=st(this,ct))==null?void 0:T.search(e,s)])).flat(2).filter(Boolean),l=[];return u.forEach(I=>{Et(this,jt,Ke).call(this,I,e,l)||Et(this,Mt,Ye).call(this,I,e,l)}),Fs(l,"link")}}lt=new WeakMap,ct=new WeakMap,At=new WeakMap,Ot=new WeakMap,jt=new WeakSet,Ke=function(e,s,a){const{headers:u,rawHeaders:l}=e;for(const[_,x]of u.entries())if(x.includes(s)){const T=st(this,At)[e.path+x],v=Ds(l,_).map(S=>S.text).join(" > ");return a.push({type:"header",title:e.title,header:v,headerHighlightIndex:v.indexOf(s),link:`${ie(e.path)}#${T}`}),!0}return!1},Mt=new WeakSet,Ye=function(e,s,a){var N;const{content:u,headers:l}=e,_=u.indexOf(s);if(_===-1)return;const x=l.map(L=>u.indexOf(L)),T=x.findIndex((L,B)=>{if(B<l.length-1){const K=x[B+1];if(L<=_&&K>=_)return!0}else return L<_}),I=(N=l[T])!=null?N:e.title;let v=u.slice(0,_).lastIndexOf(`
|
|
2
|
+
`);v=v===-1?0:v;const S=u.indexOf(`
|
|
3
|
+
`,_+s.length);let E=u.slice(v,S);E.length>me&&(E=Et(this,Rt,Je).call(this,E,s)),a.push({type:"content",title:e.title,header:I,statement:E,statementHighlightIndex:E.indexOf(s),link:`${ie(e.path)}#${I}`})},Rt=new WeakSet,Je=function(e,s){const a=e.indexOf(s),u=Math.floor((me-s.length)/2);let l=e.slice(0,a);l.length>u&&(l="..."+e.slice(a-u+3,a));let _=e.slice(a+s.length);return _.length>u&&(_=e.slice(a+s.length,a+u-3)+"..."),l+s+_};export{bs as PageSearcher};
|
|
@@ -0,0 +1,222 @@
|
|
|
1
|
+
var __accessCheck = (obj, member, msg) => {
|
|
2
|
+
if (!member.has(obj))
|
|
3
|
+
throw TypeError("Cannot " + msg);
|
|
4
|
+
};
|
|
5
|
+
var __privateGet = (obj, member, getter) => {
|
|
6
|
+
__accessCheck(obj, member, "read from private field");
|
|
7
|
+
return getter ? getter.call(obj) : member.get(obj);
|
|
8
|
+
};
|
|
9
|
+
var __privateAdd = (obj, member, value) => {
|
|
10
|
+
if (member.has(obj))
|
|
11
|
+
throw TypeError("Cannot add the same private member more than once");
|
|
12
|
+
member instanceof WeakSet ? member.add(obj) : member.set(obj, value);
|
|
13
|
+
};
|
|
14
|
+
var __privateSet = (obj, member, value, setter) => {
|
|
15
|
+
__accessCheck(obj, member, "write to private field");
|
|
16
|
+
setter ? setter.call(obj, value) : member.set(obj, value);
|
|
17
|
+
return value;
|
|
18
|
+
};
|
|
19
|
+
var __privateMethod = (obj, member, method) => {
|
|
20
|
+
__accessCheck(obj, member, "access private method");
|
|
21
|
+
return method;
|
|
22
|
+
};
|
|
23
|
+
var _index, _cjkIndex, _headerToIdMap, _langRoutePrefix, _matchHeader, matchHeader_fn, _matchContent, matchContent_fn, _normalizeStatement, normalizeStatement_fn;
|
|
24
|
+
import FlexSearch from "flexsearch";
|
|
25
|
+
import { uniqBy } from "lodash-es";
|
|
26
|
+
import "react";
|
|
27
|
+
import "react/jsx-runtime";
|
|
28
|
+
import { g as getAllPages, n as normalizeHref, w as withBase } from "../ssr-entry.mjs";
|
|
29
|
+
import "react-dom/server";
|
|
30
|
+
import "react-router-dom";
|
|
31
|
+
import "@code-hike/mdx/dist/components.cjs.js";
|
|
32
|
+
import "copy-to-clipboard";
|
|
33
|
+
import "body-scroll-lock";
|
|
34
|
+
import "react-helmet-async";
|
|
35
|
+
import "b-tween";
|
|
36
|
+
import "react-router-dom/server.mjs";
|
|
37
|
+
function backTrackHeaders(rawHeaders, index) {
|
|
38
|
+
let current = rawHeaders[index];
|
|
39
|
+
let currentIndex = index;
|
|
40
|
+
const res = [current];
|
|
41
|
+
while (current && current.depth > 2) {
|
|
42
|
+
let matchedParent = false;
|
|
43
|
+
for (let i = currentIndex - 1; i >= 0; i--) {
|
|
44
|
+
const header = rawHeaders[i];
|
|
45
|
+
if (header.depth > 1 && header.depth === current.depth - 1) {
|
|
46
|
+
current = header;
|
|
47
|
+
currentIndex = i;
|
|
48
|
+
res.unshift(current);
|
|
49
|
+
matchedParent = true;
|
|
50
|
+
break;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
if (!matchedParent) {
|
|
54
|
+
break;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
return res;
|
|
58
|
+
}
|
|
59
|
+
const THRESHOLD_CONTENT_LENGTH = 100;
|
|
60
|
+
const cjkRegex = /[\u3131-\u314e|\u314f-\u3163|\uac00-\ud7a3]|[\u4E00-\u9FCC\u3400-\u4DB5\uFA0E\uFA0F\uFA11\uFA13\uFA14\uFA1F\uFA21\uFA23\uFA24\uFA27-\uFA29]|[\ud840-\ud868][\udc00-\udfff]|\ud869[\udc00-\uded6\udf00-\udfff]|[\ud86a-\ud86c][\udc00-\udfff]|\ud86d[\udc00-\udf34\udf40-\udfff]|\ud86e[\udc00-\udc1d]|[\u3041-\u3096]|[\u30A1-\u30FA]/giu;
|
|
61
|
+
const WHITE_PAGE_TYPES = ["home", "api", "404", "custom"];
|
|
62
|
+
class PageSearcher {
|
|
63
|
+
constructor(langRoutePrefix = "") {
|
|
64
|
+
__privateAdd(this, _matchHeader);
|
|
65
|
+
__privateAdd(this, _matchContent);
|
|
66
|
+
__privateAdd(this, _normalizeStatement);
|
|
67
|
+
__privateAdd(this, _index, void 0);
|
|
68
|
+
__privateAdd(this, _cjkIndex, void 0);
|
|
69
|
+
__privateAdd(this, _headerToIdMap, {});
|
|
70
|
+
__privateAdd(this, _langRoutePrefix, void 0);
|
|
71
|
+
__privateSet(this, _langRoutePrefix, langRoutePrefix);
|
|
72
|
+
}
|
|
73
|
+
async init(options = {}) {
|
|
74
|
+
const pages = await getAllPages((route) => route.path.startsWith(withBase(__privateGet(this, _langRoutePrefix))));
|
|
75
|
+
const pagesForSearch = pages.filter((page) => {
|
|
76
|
+
var _a;
|
|
77
|
+
return !WHITE_PAGE_TYPES.includes(((_a = page.frontmatter) == null ? void 0 : _a.pageType) || "");
|
|
78
|
+
}).map((page) => ({
|
|
79
|
+
title: page.title,
|
|
80
|
+
headers: (page.toc || []).map((header) => header.text),
|
|
81
|
+
content: page.content || "",
|
|
82
|
+
path: page.routePath,
|
|
83
|
+
rawHeaders: page.toc || []
|
|
84
|
+
}));
|
|
85
|
+
__privateSet(this, _headerToIdMap, pages.reduce((acc, page) => {
|
|
86
|
+
(page.toc || []).forEach((header) => {
|
|
87
|
+
acc[page.routePath + header.text] = header.id;
|
|
88
|
+
});
|
|
89
|
+
return acc;
|
|
90
|
+
}, {}));
|
|
91
|
+
const createOptions = {
|
|
92
|
+
encode: "simple",
|
|
93
|
+
tokenize: "forward",
|
|
94
|
+
split: /\W+/,
|
|
95
|
+
async: true,
|
|
96
|
+
doc: {
|
|
97
|
+
id: "path",
|
|
98
|
+
field: ["title", "headers", "content"]
|
|
99
|
+
},
|
|
100
|
+
...options
|
|
101
|
+
};
|
|
102
|
+
__privateSet(this, _index, FlexSearch.create(createOptions));
|
|
103
|
+
__privateSet(this, _cjkIndex, FlexSearch.create({
|
|
104
|
+
...createOptions,
|
|
105
|
+
encode: false,
|
|
106
|
+
tokenize(str) {
|
|
107
|
+
const cjkWords = [];
|
|
108
|
+
let m = null;
|
|
109
|
+
do {
|
|
110
|
+
m = cjkRegex.exec(str);
|
|
111
|
+
if (m) {
|
|
112
|
+
cjkWords.push(m[0]);
|
|
113
|
+
}
|
|
114
|
+
} while (m);
|
|
115
|
+
return cjkWords;
|
|
116
|
+
}
|
|
117
|
+
}));
|
|
118
|
+
__privateGet(this, _index).add(pagesForSearch);
|
|
119
|
+
__privateGet(this, _cjkIndex).add(pagesForSearch);
|
|
120
|
+
}
|
|
121
|
+
async match(query, limit = 7) {
|
|
122
|
+
var _a, _b;
|
|
123
|
+
const searchResult = await Promise.all([(_a = __privateGet(this, _index)) == null ? void 0 : _a.search({
|
|
124
|
+
query,
|
|
125
|
+
limit
|
|
126
|
+
}), (_b = __privateGet(this, _cjkIndex)) == null ? void 0 : _b.search(query, limit)]);
|
|
127
|
+
const flattenSearchResult = searchResult.flat(2).filter(Boolean);
|
|
128
|
+
const matchedResult = [];
|
|
129
|
+
flattenSearchResult.forEach((item) => {
|
|
130
|
+
const matchedHeader = __privateMethod(this, _matchHeader, matchHeader_fn).call(this, item, query, matchedResult);
|
|
131
|
+
if (matchedHeader) {
|
|
132
|
+
return;
|
|
133
|
+
}
|
|
134
|
+
__privateMethod(this, _matchContent, matchContent_fn).call(this, item, query, matchedResult);
|
|
135
|
+
});
|
|
136
|
+
const res = uniqBy(matchedResult, "link");
|
|
137
|
+
return res;
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
_index = new WeakMap();
|
|
141
|
+
_cjkIndex = new WeakMap();
|
|
142
|
+
_headerToIdMap = new WeakMap();
|
|
143
|
+
_langRoutePrefix = new WeakMap();
|
|
144
|
+
_matchHeader = new WeakSet();
|
|
145
|
+
matchHeader_fn = function(item, query, matchedResult) {
|
|
146
|
+
const {
|
|
147
|
+
headers,
|
|
148
|
+
rawHeaders
|
|
149
|
+
} = item;
|
|
150
|
+
for (const [index, header] of headers.entries()) {
|
|
151
|
+
if (header.includes(query)) {
|
|
152
|
+
const headerAnchor = __privateGet(this, _headerToIdMap)[item.path + header];
|
|
153
|
+
const headerGroup = backTrackHeaders(rawHeaders, index);
|
|
154
|
+
const headerStr = headerGroup.map((item2) => item2.text).join(" > ");
|
|
155
|
+
matchedResult.push({
|
|
156
|
+
type: "header",
|
|
157
|
+
title: item.title,
|
|
158
|
+
header: headerStr,
|
|
159
|
+
headerHighlightIndex: headerStr.indexOf(query),
|
|
160
|
+
link: `${normalizeHref(item.path)}#${headerAnchor}`
|
|
161
|
+
});
|
|
162
|
+
return true;
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
return false;
|
|
166
|
+
};
|
|
167
|
+
_matchContent = new WeakSet();
|
|
168
|
+
matchContent_fn = function(item, query, matchedResult) {
|
|
169
|
+
var _a;
|
|
170
|
+
const {
|
|
171
|
+
content,
|
|
172
|
+
headers
|
|
173
|
+
} = item;
|
|
174
|
+
const queryIndex = content.indexOf(query);
|
|
175
|
+
if (queryIndex === -1) {
|
|
176
|
+
return;
|
|
177
|
+
}
|
|
178
|
+
const headersIndex = headers.map((h) => content.indexOf(h));
|
|
179
|
+
const currentHeaderIndex = headersIndex.findIndex((hIndex, position) => {
|
|
180
|
+
if (position < headers.length - 1) {
|
|
181
|
+
const next = headersIndex[position + 1];
|
|
182
|
+
if (hIndex <= queryIndex && next >= queryIndex) {
|
|
183
|
+
return true;
|
|
184
|
+
}
|
|
185
|
+
} else {
|
|
186
|
+
return hIndex < queryIndex;
|
|
187
|
+
}
|
|
188
|
+
});
|
|
189
|
+
const currentHeader = (_a = headers[currentHeaderIndex]) != null ? _a : item.title;
|
|
190
|
+
let statementStartIndex = content.slice(0, queryIndex).lastIndexOf("\n");
|
|
191
|
+
statementStartIndex = statementStartIndex === -1 ? 0 : statementStartIndex;
|
|
192
|
+
const statementEndIndex = content.indexOf("\n", queryIndex + query.length);
|
|
193
|
+
let statement = content.slice(statementStartIndex, statementEndIndex);
|
|
194
|
+
if (statement.length > THRESHOLD_CONTENT_LENGTH) {
|
|
195
|
+
statement = __privateMethod(this, _normalizeStatement, normalizeStatement_fn).call(this, statement, query);
|
|
196
|
+
}
|
|
197
|
+
matchedResult.push({
|
|
198
|
+
type: "content",
|
|
199
|
+
title: item.title,
|
|
200
|
+
header: currentHeader,
|
|
201
|
+
statement,
|
|
202
|
+
statementHighlightIndex: statement.indexOf(query),
|
|
203
|
+
link: `${normalizeHref(item.path)}#${currentHeader}`
|
|
204
|
+
});
|
|
205
|
+
};
|
|
206
|
+
_normalizeStatement = new WeakSet();
|
|
207
|
+
normalizeStatement_fn = function(statement, query) {
|
|
208
|
+
const queryIndex = statement.indexOf(query);
|
|
209
|
+
const maxPrefixOrSuffix = Math.floor((THRESHOLD_CONTENT_LENGTH - query.length) / 2);
|
|
210
|
+
let prefix = statement.slice(0, queryIndex);
|
|
211
|
+
if (prefix.length > maxPrefixOrSuffix) {
|
|
212
|
+
prefix = "..." + statement.slice(queryIndex - maxPrefixOrSuffix + 3, queryIndex);
|
|
213
|
+
}
|
|
214
|
+
let suffix = statement.slice(queryIndex + query.length);
|
|
215
|
+
if (suffix.length > maxPrefixOrSuffix) {
|
|
216
|
+
suffix = statement.slice(queryIndex + query.length, queryIndex + maxPrefixOrSuffix - 3) + "...";
|
|
217
|
+
}
|
|
218
|
+
return prefix + query + suffix;
|
|
219
|
+
};
|
|
220
|
+
export {
|
|
221
|
+
PageSearcher
|
|
222
|
+
};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
var Nt=(t,e,s)=>{if(!e.has(t))throw TypeError("Cannot "+s)};var st=(t,e,s)=>(Nt(t,e,"read from private field"),s?s.call(t):e.get(t)),rt=(t,e,s)=>{if(e.has(t))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(t):e.set(t,s)},gt=(t,e,s,a)=>(Nt(t,e,"write to private field"),a?a.call(t,s):e.set(t,s),s);var Et=(t,e,s)=>(Nt(t,e,"access private method"),s);import"react";import"react/jsx-runtime";import{S as Ct,i as Jt,a as Xt,b as Tt,r as nt,c as vt,f as tr,g as er,n as ie,w as rr}from"./island_inject.b13deaee.js";function nr(t,e){for(var s=-1,a=t==null?0:t.length,u=Array(a);++s<a;)u[s]=e(t[s],s,t);return u}var ir=Array.isArray;const q=ir;var sr=1/0,se=Ct?Ct.prototype:void 0,oe=se?se.toString:void 0;function Ee(t){if(typeof t=="string")return t;if(q(t))return nr(t,Ee)+"";if(Jt(t))return oe?oe.call(t):"";var e=t+"";return e=="0"&&1/t==-sr?"-0":e}function or(t){return t}var fr="[object AsyncFunction]",ar="[object Function]",ur="[object GeneratorFunction]",hr="[object Proxy]";function Se(t){if(!Xt(t))return!1;var e=Tt(t);return e==ar||e==ur||e==fr||e==hr}var lr=nt["__core-js_shared__"];const Bt=lr;var fe=function(){var t=/[^.]+$/.exec(Bt&&Bt.keys&&Bt.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();function cr(t){return!!fe&&fe in t}var dr=Function.prototype,pr=dr.toString;function at(t){if(t!=null){try{return pr.call(t)}catch{}try{return t+""}catch{}}return""}var gr=/[\\^$.*+?()[\]{}|]/g,yr=/^\[object .+?Constructor\]$/,vr=Function.prototype,_r=Object.prototype,wr=vr.toString,xr=_r.hasOwnProperty,Ar=RegExp("^"+wr.call(xr).replace(gr,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Or(t){if(!Xt(t)||cr(t))return!1;var e=Se(t)?Ar:yr;return e.test(at(t))}function Tr(t,e){return t==null?void 0:t[e]}function dt(t,e){var s=Tr(t,e);return Or(s)?s:void 0}var Pr=dt(nt,"WeakMap");const bt=Pr;function $r(){}function Ir(t,e,s,a){for(var u=t.length,l=s+(a?1:-1);a?l--:++l<u;)if(e(t[l],l,t))return l;return-1}function mr(t){return t!==t}function Er(t,e,s){for(var a=s-1,u=t.length;++a<u;)if(t[a]===e)return a;return-1}function Sr(t,e,s){return e===e?Er(t,e,s):Ir(t,mr,s)}function Cr(t,e){var s=t==null?0:t.length;return!!s&&Sr(t,e,0)>-1}var jr=9007199254740991,Mr=/^(?:0|[1-9]\d*)$/;function Ce(t,e){var s=typeof t;return e=e==null?jr:e,!!e&&(s=="number"||s!="symbol"&&Mr.test(t))&&t>-1&&t%1==0&&t<e}function je(t,e){return t===e||t!==t&&e!==e}var Rr=9007199254740991;function Zt(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=Rr}function Fr(t){return t!=null&&Zt(t.length)&&!Se(t)}var Lr=Object.prototype;function Dr(t){var e=t&&t.constructor,s=typeof e=="function"&&e.prototype||Lr;return t===s}function Gr(t,e){for(var s=-1,a=Array(t);++s<t;)a[s]=e(s);return a}var Hr="[object Arguments]";function ae(t){return vt(t)&&Tt(t)==Hr}var Me=Object.prototype,Nr=Me.hasOwnProperty,Br=Me.propertyIsEnumerable,Ur=ae(function(){return arguments}())?ae:function(t){return vt(t)&&Nr.call(t,"callee")&&!Br.call(t,"callee")};const Re=Ur;function zr(){return!1}var Fe=typeof exports=="object"&&exports&&!exports.nodeType&&exports,ue=Fe&&typeof module=="object"&&module&&!module.nodeType&&module,br=ue&&ue.exports===Fe,he=br?nt.Buffer:void 0,Wr=he?he.isBuffer:void 0,Kr=Wr||zr;const Wt=Kr;var Yr="[object Arguments]",Jr="[object Array]",Xr="[object Boolean]",Zr="[object Date]",Qr="[object Error]",Vr="[object Function]",qr="[object Map]",kr="[object Number]",tn="[object Object]",en="[object RegExp]",rn="[object Set]",nn="[object String]",sn="[object WeakMap]",on="[object ArrayBuffer]",fn="[object DataView]",an="[object Float32Array]",un="[object Float64Array]",hn="[object Int8Array]",ln="[object Int16Array]",cn="[object Int32Array]",dn="[object Uint8Array]",pn="[object Uint8ClampedArray]",gn="[object Uint16Array]",yn="[object Uint32Array]",j={};j[an]=j[un]=j[hn]=j[ln]=j[cn]=j[dn]=j[pn]=j[gn]=j[yn]=!0;j[Yr]=j[Jr]=j[on]=j[Xr]=j[fn]=j[Zr]=j[Qr]=j[Vr]=j[qr]=j[kr]=j[tn]=j[en]=j[rn]=j[nn]=j[sn]=!1;function vn(t){return vt(t)&&Zt(t.length)&&!!j[Tt(t)]}function _n(t){return function(e){return t(e)}}var Le=typeof exports=="object"&&exports&&!exports.nodeType&&exports,yt=Le&&typeof module=="object"&&module&&!module.nodeType&&module,wn=yt&&yt.exports===Le,Ut=wn&&tr.process,xn=function(){try{var t=yt&&yt.require&&yt.require("util").types;return t||Ut&&Ut.binding&&Ut.binding("util")}catch{}}();const le=xn;var ce=le&&le.isTypedArray,An=ce?_n(ce):vn;const De=An;var On=Object.prototype,Tn=On.hasOwnProperty;function Pn(t,e){var s=q(t),a=!s&&Re(t),u=!s&&!a&&Wt(t),l=!s&&!a&&!u&&De(t),_=s||a||u||l,x=_?Gr(t.length,String):[],T=x.length;for(var I in t)(e||Tn.call(t,I))&&!(_&&(I=="length"||u&&(I=="offset"||I=="parent")||l&&(I=="buffer"||I=="byteLength"||I=="byteOffset")||Ce(I,T)))&&x.push(I);return x}function $n(t,e){return function(s){return t(e(s))}}var In=$n(Object.keys,Object);const mn=In;var En=Object.prototype,Sn=En.hasOwnProperty;function Cn(t){if(!Dr(t))return mn(t);var e=[];for(var s in Object(t))Sn.call(t,s)&&s!="constructor"&&e.push(s);return e}function Ge(t){return Fr(t)?Pn(t):Cn(t)}var jn=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Mn=/^\w*$/;function Qt(t,e){if(q(t))return!1;var s=typeof t;return s=="number"||s=="symbol"||s=="boolean"||t==null||Jt(t)?!0:Mn.test(t)||!jn.test(t)||e!=null&&t in Object(e)}var Rn=dt(Object,"create");const _t=Rn;function Fn(){this.__data__=_t?_t(null):{},this.size=0}function Ln(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}var Dn="__lodash_hash_undefined__",Gn=Object.prototype,Hn=Gn.hasOwnProperty;function Nn(t){var e=this.__data__;if(_t){var s=e[t];return s===Dn?void 0:s}return Hn.call(e,t)?e[t]:void 0}var Bn=Object.prototype,Un=Bn.hasOwnProperty;function zn(t){var e=this.__data__;return _t?e[t]!==void 0:Un.call(e,t)}var bn="__lodash_hash_undefined__";function Wn(t,e){var s=this.__data__;return this.size+=this.has(t)?0:1,s[t]=_t&&e===void 0?bn:e,this}function ft(t){var e=-1,s=t==null?0:t.length;for(this.clear();++e<s;){var a=t[e];this.set(a[0],a[1])}}ft.prototype.clear=Fn;ft.prototype.delete=Ln;ft.prototype.get=Nn;ft.prototype.has=zn;ft.prototype.set=Wn;function Kn(){this.__data__=[],this.size=0}function Ft(t,e){for(var s=t.length;s--;)if(je(t[s][0],e))return s;return-1}var Yn=Array.prototype,Jn=Yn.splice;function Xn(t){var e=this.__data__,s=Ft(e,t);if(s<0)return!1;var a=e.length-1;return s==a?e.pop():Jn.call(e,s,1),--this.size,!0}function Zn(t){var e=this.__data__,s=Ft(e,t);return s<0?void 0:e[s][1]}function Qn(t){return Ft(this.__data__,t)>-1}function Vn(t,e){var s=this.__data__,a=Ft(s,t);return a<0?(++this.size,s.push([t,e])):s[a][1]=e,this}function k(t){var e=-1,s=t==null?0:t.length;for(this.clear();++e<s;){var a=t[e];this.set(a[0],a[1])}}k.prototype.clear=Kn;k.prototype.delete=Xn;k.prototype.get=Zn;k.prototype.has=Qn;k.prototype.set=Vn;var qn=dt(nt,"Map");const wt=qn;function kn(){this.size=0,this.__data__={hash:new ft,map:new(wt||k),string:new ft}}function ti(t){var e=typeof t;return e=="string"||e=="number"||e=="symbol"||e=="boolean"?t!=="__proto__":t===null}function Lt(t,e){var s=t.__data__;return ti(e)?s[typeof e=="string"?"string":"hash"]:s.map}function ei(t){var e=Lt(this,t).delete(t);return this.size-=e?1:0,e}function ri(t){return Lt(this,t).get(t)}function ni(t){return Lt(this,t).has(t)}function ii(t,e){var s=Lt(this,t),a=s.size;return s.set(t,e),this.size+=s.size==a?0:1,this}function tt(t){var e=-1,s=t==null?0:t.length;for(this.clear();++e<s;){var a=t[e];this.set(a[0],a[1])}}tt.prototype.clear=kn;tt.prototype.delete=ei;tt.prototype.get=ri;tt.prototype.has=ni;tt.prototype.set=ii;var si="Expected a function";function Vt(t,e){if(typeof t!="function"||e!=null&&typeof e!="function")throw new TypeError(si);var s=function(){var a=arguments,u=e?e.apply(this,a):a[0],l=s.cache;if(l.has(u))return l.get(u);var _=t.apply(this,a);return s.cache=l.set(u,_)||l,_};return s.cache=new(Vt.Cache||tt),s}Vt.Cache=tt;var oi=500;function fi(t){var e=Vt(t,function(a){return s.size===oi&&s.clear(),a}),s=e.cache;return e}var ai=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ui=/\\(\\)?/g,hi=fi(function(t){var e=[];return t.charCodeAt(0)===46&&e.push(""),t.replace(ai,function(s,a,u,l){e.push(u?l.replace(ui,"$1"):a||s)}),e});const li=hi;function ci(t){return t==null?"":Ee(t)}function He(t,e){return q(t)?t:Qt(t,e)?[t]:li(ci(t))}var di=1/0;function Dt(t){if(typeof t=="string"||Jt(t))return t;var e=t+"";return e=="0"&&1/t==-di?"-0":e}function Ne(t,e){e=He(e,t);for(var s=0,a=e.length;t!=null&&s<a;)t=t[Dt(e[s++])];return s&&s==a?t:void 0}function pi(t,e,s){var a=t==null?void 0:Ne(t,e);return a===void 0?s:a}function gi(t,e){for(var s=-1,a=e.length,u=t.length;++s<a;)t[u+s]=e[s];return t}function yi(){this.__data__=new k,this.size=0}function vi(t){var e=this.__data__,s=e.delete(t);return this.size=e.size,s}function _i(t){return this.__data__.get(t)}function wi(t){return this.__data__.has(t)}var xi=200;function Ai(t,e){var s=this.__data__;if(s instanceof k){var a=s.__data__;if(!wt||a.length<xi-1)return a.push([t,e]),this.size=++s.size,this;s=this.__data__=new tt(a)}return s.set(t,e),this.size=s.size,this}function V(t){var e=this.__data__=new k(t);this.size=e.size}V.prototype.clear=yi;V.prototype.delete=vi;V.prototype.get=_i;V.prototype.has=wi;V.prototype.set=Ai;function Oi(t,e){for(var s=-1,a=t==null?0:t.length,u=0,l=[];++s<a;){var _=t[s];e(_,s,t)&&(l[u++]=_)}return l}function Ti(){return[]}var Pi=Object.prototype,$i=Pi.propertyIsEnumerable,de=Object.getOwnPropertySymbols,Ii=de?function(t){return t==null?[]:(t=Object(t),Oi(de(t),function(e){return $i.call(t,e)}))}:Ti;const mi=Ii;function Ei(t,e,s){var a=e(t);return q(t)?a:gi(a,s(t))}function pe(t){return Ei(t,Ge,mi)}var Si=dt(nt,"DataView");const Kt=Si;var Ci=dt(nt,"Promise");const Yt=Ci;var ji=dt(nt,"Set");const ht=ji;var ge="[object Map]",Mi="[object Object]",ye="[object Promise]",ve="[object Set]",_e="[object WeakMap]",we="[object DataView]",Ri=at(Kt),Fi=at(wt),Li=at(Yt),Di=at(ht),Gi=at(bt),ot=Tt;(Kt&&ot(new Kt(new ArrayBuffer(1)))!=we||wt&&ot(new wt)!=ge||Yt&&ot(Yt.resolve())!=ye||ht&&ot(new ht)!=ve||bt&&ot(new bt)!=_e)&&(ot=function(t){var e=Tt(t),s=e==Mi?t.constructor:void 0,a=s?at(s):"";if(a)switch(a){case Ri:return we;case Fi:return ge;case Li:return ye;case Di:return ve;case Gi:return _e}return e});const xe=ot;var Hi=nt.Uint8Array;const Ae=Hi;var Ni="__lodash_hash_undefined__";function Bi(t){return this.__data__.set(t,Ni),this}function Ui(t){return this.__data__.has(t)}function xt(t){var e=-1,s=t==null?0:t.length;for(this.__data__=new tt;++e<s;)this.add(t[e])}xt.prototype.add=xt.prototype.push=Bi;xt.prototype.has=Ui;function zi(t,e){for(var s=-1,a=t==null?0:t.length;++s<a;)if(e(t[s],s,t))return!0;return!1}function Be(t,e){return t.has(e)}var bi=1,Wi=2;function Ue(t,e,s,a,u,l){var _=s&bi,x=t.length,T=e.length;if(x!=T&&!(_&&T>x))return!1;var I=l.get(t),v=l.get(e);if(I&&v)return I==e&&v==t;var S=-1,E=!0,N=s&Wi?new xt:void 0;for(l.set(t,e),l.set(e,t);++S<x;){var L=t[S],B=e[S];if(a)var K=_?a(B,L,S,e,t,l):a(L,B,S,t,e,l);if(K!==void 0){if(K)continue;E=!1;break}if(N){if(!zi(e,function(Z,b){if(!Be(N,b)&&(L===Z||u(L,Z,s,a,l)))return N.push(b)})){E=!1;break}}else if(!(L===B||u(L,B,s,a,l))){E=!1;break}}return l.delete(t),l.delete(e),E}function Ki(t){var e=-1,s=Array(t.size);return t.forEach(function(a,u){s[++e]=[u,a]}),s}function qt(t){var e=-1,s=Array(t.size);return t.forEach(function(a){s[++e]=a}),s}var Yi=1,Ji=2,Xi="[object Boolean]",Zi="[object Date]",Qi="[object Error]",Vi="[object Map]",qi="[object Number]",ki="[object RegExp]",ts="[object Set]",es="[object String]",rs="[object Symbol]",ns="[object ArrayBuffer]",is="[object DataView]",Oe=Ct?Ct.prototype:void 0,zt=Oe?Oe.valueOf:void 0;function ss(t,e,s,a,u,l,_){switch(s){case is:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case ns:return!(t.byteLength!=e.byteLength||!l(new Ae(t),new Ae(e)));case Xi:case Zi:case qi:return je(+t,+e);case Qi:return t.name==e.name&&t.message==e.message;case ki:case es:return t==e+"";case Vi:var x=Ki;case ts:var T=a&Yi;if(x||(x=qt),t.size!=e.size&&!T)return!1;var I=_.get(t);if(I)return I==e;a|=Ji,_.set(t,e);var v=Ue(x(t),x(e),a,u,l,_);return _.delete(t),v;case rs:if(zt)return zt.call(t)==zt.call(e)}return!1}var os=1,fs=Object.prototype,as=fs.hasOwnProperty;function us(t,e,s,a,u,l){var _=s&os,x=pe(t),T=x.length,I=pe(e),v=I.length;if(T!=v&&!_)return!1;for(var S=T;S--;){var E=x[S];if(!(_?E in e:as.call(e,E)))return!1}var N=l.get(t),L=l.get(e);if(N&&L)return N==e&&L==t;var B=!0;l.set(t,e),l.set(e,t);for(var K=_;++S<T;){E=x[S];var Z=t[E],b=e[E];if(a)var pt=_?a(b,Z,E,e,t,l):a(Z,b,E,t,e,l);if(!(pt===void 0?Z===b||u(Z,b,s,a,l):pt)){B=!1;break}K||(K=E=="constructor")}if(B&&!K){var U=t.constructor,G=e.constructor;U!=G&&"constructor"in t&&"constructor"in e&&!(typeof U=="function"&&U instanceof U&&typeof G=="function"&&G instanceof G)&&(B=!1)}return l.delete(t),l.delete(e),B}var hs=1,Te="[object Arguments]",Pe="[object Array]",St="[object Object]",ls=Object.prototype,$e=ls.hasOwnProperty;function cs(t,e,s,a,u,l){var _=q(t),x=q(e),T=_?Pe:xe(t),I=x?Pe:xe(e);T=T==Te?St:T,I=I==Te?St:I;var v=T==St,S=I==St,E=T==I;if(E&&Wt(t)){if(!Wt(e))return!1;_=!0,v=!1}if(E&&!v)return l||(l=new V),_||De(t)?Ue(t,e,s,a,u,l):ss(t,e,T,s,a,u,l);if(!(s&hs)){var N=v&&$e.call(t,"__wrapped__"),L=S&&$e.call(e,"__wrapped__");if(N||L){var B=N?t.value():t,K=L?e.value():e;return l||(l=new V),u(B,K,s,a,l)}}return E?(l||(l=new V),us(t,e,s,a,u,l)):!1}function kt(t,e,s,a,u){return t===e?!0:t==null||e==null||!vt(t)&&!vt(e)?t!==t&&e!==e:cs(t,e,s,a,kt,u)}var ds=1,ps=2;function gs(t,e,s,a){var u=s.length,l=u,_=!a;if(t==null)return!l;for(t=Object(t);u--;){var x=s[u];if(_&&x[2]?x[1]!==t[x[0]]:!(x[0]in t))return!1}for(;++u<l;){x=s[u];var T=x[0],I=t[T],v=x[1];if(_&&x[2]){if(I===void 0&&!(T in t))return!1}else{var S=new V;if(a)var E=a(I,v,T,t,e,S);if(!(E===void 0?kt(v,I,ds|ps,a,S):E))return!1}}return!0}function ze(t){return t===t&&!Xt(t)}function ys(t){for(var e=Ge(t),s=e.length;s--;){var a=e[s],u=t[a];e[s]=[a,u,ze(u)]}return e}function be(t,e){return function(s){return s==null?!1:s[t]===e&&(e!==void 0||t in Object(s))}}function vs(t){var e=ys(t);return e.length==1&&e[0][2]?be(e[0][0],e[0][1]):function(s){return s===t||gs(s,t,e)}}function _s(t,e){return t!=null&&e in Object(t)}function ws(t,e,s){e=He(e,t);for(var a=-1,u=e.length,l=!1;++a<u;){var _=Dt(e[a]);if(!(l=t!=null&&s(t,_)))break;t=t[_]}return l||++a!=u?l:(u=t==null?0:t.length,!!u&&Zt(u)&&Ce(_,u)&&(q(t)||Re(t)))}function xs(t,e){return t!=null&&ws(t,e,_s)}var As=1,Os=2;function Ts(t,e){return Qt(t)&&ze(e)?be(Dt(t),e):function(s){var a=pi(s,t);return a===void 0&&a===e?xs(s,t):kt(e,a,As|Os)}}function Ps(t){return function(e){return e==null?void 0:e[t]}}function $s(t){return function(e){return Ne(e,t)}}function Is(t){return Qt(t)?Ps(Dt(t)):$s(t)}function ms(t){return typeof t=="function"?t:t==null?or:typeof t=="object"?q(t)?Ts(t[0],t[1]):vs(t):Is(t)}function Es(t,e,s){for(var a=-1,u=t==null?0:t.length;++a<u;)if(s(e,t[a]))return!0;return!1}var Ss=1/0,Cs=ht&&1/qt(new ht([,-0]))[1]==Ss?function(t){return new ht(t)}:$r;const js=Cs;var Ms=200;function Rs(t,e,s){var a=-1,u=Cr,l=t.length,_=!0,x=[],T=x;if(s)_=!1,u=Es;else if(l>=Ms){var I=e?null:js(t);if(I)return qt(I);_=!1,u=Be,T=new xt}else T=e?[]:x;t:for(;++a<l;){var v=t[a],S=e?e(v):v;if(v=s||v!==0?v:0,_&&S===S){for(var E=T.length;E--;)if(T[E]===S)continue t;e&&T.push(S),x.push(v)}else u(T,S,s)||(T!==x&&T.push(S),x.push(v))}return x}function Fs(t,e){return t&&t.length?Rs(t,ms(e)):[]}var Ls=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},We={exports:{}};(function(t,e){(function(s,a,u){let l;(l=u.define)&&l.amd?l([],function(){return a}):(l=u.modules)?l[s.toLowerCase()]=a:t.exports=a})("FlexSearch",function s(a){function u(r,i){const n=i?i.id:r&&r.id;this.id=n||n===0?n:Qe++,this.init(r,i),I(this,"index",function(){return this.a?Object.keys(this.a.index[this.a.keys[0]].c):Object.keys(this.c)}),I(this,"length",function(){return this.index.length})}function l(r,i,n,o){return this.u!==this.g&&(this.o=this.o.concat(n),this.u++,o&&this.o.length>=o&&(this.u=this.g),this.u===this.g&&(this.cache&&this.j.set(i,this.o),this.F&&this.F(this.o))),this}function _(r){const i=D();for(const n in r)if(r.hasOwnProperty(n)){const o=r[n];G(o)?i[n]=o.slice(0):Y(o)?i[n]=_(o):i[n]=o}return i}function x(r,i){const n=r.length,o=it(i),f=[];for(let h=0,d=0;h<n;h++){const c=r[h];(o&&i(c)||!o&&!i[c])&&(f[d++]=c)}return f}function T(r,i,n,o,f,h,d,c,p,g){n=pt(n,d?0:f,c,h,i,p,g);let A;if(c&&(c=n.page,A=n.next,n=n.result),d)i=this.where(d,null,f,n);else{for(i=n,n=this.l,f=i.length,h=Array(f),d=0;d<f;d++)h[d]=n[i[d]];i=h}return n=i,o&&(it(o)||(Q=o.split(":"),1<Q.length?o=Z:(Q=Q[0],o=K)),n.sort(o)),n=b(c,A,n),this.cache&&this.j.set(r,n),n}function I(r,i,n){Object.defineProperty(r,i,{get:n})}function v(r){return new RegExp(r,"g")}function S(r,i){for(let n=0;n<i.length;n+=2)r=r.replace(i[n],i[n+1]);return r}function E(r,i,n,o,f,h,d,c){return i[n]?i[n]:(f=f?(c-(d||c/1.5))*h+(d||c/1.5)*f:h,i[n]=f,f>=d&&(r=r[c-(f+.5>>0)],r=r[n]||(r[n]=[]),r[r.length]=o),f)}function N(r,i){if(r){const n=Object.keys(r);for(let o=0,f=n.length;o<f;o++){const h=n[o],d=r[h];if(d)for(let c=0,p=d.length;c<p;c++)if(d[c]===i){p===1?delete r[h]:d.splice(c,1);break}else Y(d[c])&&N(d[c],i)}}}function L(r){let i="",n="";var o="";for(let f=0;f<r.length;f++){const h=r[f];h!==n&&(f&&h==="h"?(o=o==="a"||o==="e"||o==="i"||o==="o"||o==="u"||o==="y",((n==="a"||n==="e"||n==="i"||n==="o"||n==="u"||n==="y")&&o||n===" ")&&(i+=h)):i+=h),o=f===r.length-1?"":r[f+1],n=h}return i}function B(r,i){return r=r.length-i.length,0>r?1:r?-1:0}function K(r,i){return r=r[Q],i=i[Q],r<i?-1:r>i?1:0}function Z(r,i){const n=Q.length;for(let o=0;o<n;o++)r=r[Q[o]],i=i[Q[o]];return r<i?-1:r>i?1:0}function b(r,i,n){return r?{page:r,next:i?""+i:null,result:n}:n}function pt(r,i,n,o,f,h,d){let c,p=[];if(n===!0){n="0";var g=""}else g=n&&n.split(":");const A=r.length;if(1<A){const R=D(),$=[];let m,C;var w=0,y;let X;var P=!0;let z,W=0,et,Gt,$t,Ht;if(g&&(g.length===2?($t=g,g=!1):g=Ht=parseInt(g[0],10)),d){for(m=D();w<A;w++)if(f[w]==="not")for(C=r[w],X=C.length,y=0;y<X;y++)m["@"+C[y]]=1;else Gt=w+1;if(H(Gt))return b(n,c,p);w=0}else et=U(f)&&f;let It;for(;w<A;w++){const ke=w===(Gt||A)-1;if(!et||!w)if((y=et||f&&f[w])&&y!=="and")if(y==="or")It=!1;else continue;else It=h=!0;if(C=r[w],X=C.length){if(P)if(z){var O=z.length;for(y=0;y<O;y++){P=z[y];var F="@"+P;d&&m[F]||(R[F]=1,h||(p[W++]=P))}z=null,P=!1}else{z=C;continue}for(F=!1,y=0;y<X;y++){O=C[y];var M="@"+O;const mt=h?R[M]||0:w;if(!(!mt&&!o||d&&m[M]||!h&&R[M]))if(mt===w){if(ke){if((!Ht||--Ht<W)&&(p[W++]=O,i&&W===i))return b(n,W+(g||0),p)}else R[M]=w+1;F=!0}else o&&(M=$[mt]||($[mt]=[]),M[M.length]=O)}if(It&&!F&&!o)break}else if(It&&!o)return b(n,c,C)}if(z)if(w=z.length,d)for(y=g?parseInt(g,10):0;y<w;y++)r=z[y],m["@"+r]||(p[W++]=r);else p=z;if(o){for(W=p.length,$t?(w=parseInt($t[0],10)+1,y=parseInt($t[1],10)+1):(w=$.length,y=0);w--;)if(O=$[w]){for(X=O.length;y<X;y++)if(o=O[y],(!d||!m["@"+o])&&(p[W++]=o,i&&W===i))return b(n,w+":"+y,p);y=0}}}else!A||f&&f[0]==="not"||(p=r[0],g&&(g=parseInt(g[0],10)));return i&&(d=p.length,g&&g>d&&(g=0),g=g||0,c=g+i,c<d?p=p.slice(g,c):(c=0,g&&(p=p.slice(g)))),b(n,c,p)}function U(r){return typeof r=="string"}function G(r){return r.constructor===Array}function it(r){return typeof r=="function"}function Y(r){return typeof r=="object"}function H(r){return typeof r>"u"}function te(r){const i=Array(r);for(let n=0;n<r;n++)i[n]=D();return i}function D(){return Object.create(null)}function Xe(){let r,i;self.onmessage=function(n){if(n=n.data)if(n.search){const o=i.search(n.content,n.threshold?{limit:n.limit,threshold:n.threshold,where:n.where}:n.limit);self.postMessage({id:r,content:n.content,limit:n.limit,result:o})}else n.add?i.add(n.id,n.content):n.update?i.update(n.id,n.content):n.remove?i.remove(n.id):n.clear?i.clear():n.info?(n=i.info(),n.worker=r,console.log(n)):n.register&&(r=n.id,n.options.cache=!1,n.options.async=!1,n.options.worker=!1,i=new Function(n.register.substring(n.register.indexOf("{")+1,n.register.lastIndexOf("}")))(),i=new i(n.options))}}function Ze(r,i,n,o){r=a("flexsearch","id"+r,Xe,function(h){(h=h.data)&&h.result&&o(h.id,h.content,h.result,h.limit,h.where,h.cursor,h.suggest)},i);const f=s.toString();return n.id=i,r.postMessage({register:f,options:n,id:i}),r}const J={encode:"icase",f:"forward",split:/\W+/,cache:!1,async:!1,g:!1,D:!1,a:!1,b:9,threshold:0,depth:0},ee={memory:{encode:"extra",f:"strict",threshold:0,b:1},speed:{encode:"icase",f:"strict",threshold:1,b:3,depth:2},match:{encode:"extra",f:"full",threshold:1,b:3},score:{encode:"extra",f:"strict",threshold:1,b:9,depth:4},balance:{encode:"balance",f:"strict",threshold:0,b:3,depth:3},fast:{encode:"icase",f:"strict",threshold:8,b:9,depth:1}},Pt=[];let Qe=0;const re={},ne={};u.create=function(r,i){return new u(r,i)},u.registerMatcher=function(r){for(const i in r)r.hasOwnProperty(i)&&Pt.push(v(i),r[i]);return this},u.registerEncoder=function(r,i){return ut[r]=i.bind(ut),this},u.registerLanguage=function(r,i){return re[r]=i.filter,ne[r]=i.stemmer,this},u.encode=function(r,i){return ut[r](i)},u.prototype.init=function(r,i){if(this.v=[],i){var n=i.preset;r=i}else r||(r=J),n=r.preset;if(i={},U(r)?(i=ee[r],r={}):n&&(i=ee[n]),n=r.worker)if(typeof Worker>"u")r.worker=!1,this.m=null;else{var o=parseInt(n,10)||4;this.C=-1,this.u=0,this.o=[],this.F=null,this.m=Array(o);for(var f=0;f<o;f++)this.m[f]=Ze(this.id,f,r,l.bind(this))}if(this.f=r.tokenize||i.f||this.f||J.f,this.split=H(n=r.split)?this.split||J.split:U(n)?v(n):n,this.D=r.rtl||this.D||J.D,this.async=typeof Promise>"u"||H(n=r.async)?this.async||J.async:n,this.g=H(n=r.worker)?this.g||J.g:n,this.threshold=H(n=r.threshold)?i.threshold||this.threshold||J.threshold:n,this.b=H(n=r.resolution)?n=i.b||this.b||J.b:n,n<=this.threshold&&(this.b=this.threshold+1),this.depth=this.f!=="strict"||H(n=r.depth)?i.depth||this.depth||J.depth:n,this.w=(n=H(n=r.encode)?i.encode||J.encode:n)&&ut[n]&&ut[n].bind(ut)||(it(n)?n:this.w||!1),(n=r.matcher)&&this.addMatcher(n),n=(i=r.lang)||r.filter){if(U(n)&&(n=re[n]),G(n)){o=this.w,f=D();for(var h=0;h<n.length;h++){var d=o?o(n[h]):n[h];f[d]=1}n=f}this.filter=n}if(n=i||r.stemmer){var c;i=U(n)?ne[n]:n,o=this.w,f=[];for(c in i)i.hasOwnProperty(c)&&(h=o?o(c):c,f.push(v(h+"($|\\W)"),o?o(i[c]):i[c]));this.stemmer=c=f}if(this.a=f=(n=r.doc)?_(n):this.a||J.a,this.i=te(this.b-(this.threshold||0)),this.h=D(),this.c=D(),f){if(this.l=D(),r.doc=null,c=f.index={},i=f.keys=[],o=f.field,h=f.tag,d=f.store,G(f.id)||(f.id=f.id.split(":")),d){var p=D();if(U(d))p[d]=1;else if(G(d))for(let g=0;g<d.length;g++)p[d[g]]=1;else Y(d)&&(p=d);f.store=p}if(h){if(this.G=D(),d=D(),o)if(U(o))d[o]=r;else if(G(o))for(p=0;p<o.length;p++)d[o[p]]=r;else Y(o)&&(d=o);for(G(h)||(f.tag=h=[h]),o=0;o<h.length;o++)this.G[h[o]]=D();this.I=h,o=d}if(o){let g;for(G(o)||(Y(o)?(g=o,f.field=o=Object.keys(o)):f.field=o=[o]),f=0;f<o.length;f++)h=o[f],G(h)||(g&&(r=g[h]),i[f]=h,o[f]=h.split(":")),c[h]=new u(r)}r.doc=n}return this.B=!0,this.j=(this.cache=n=H(n=r.cache)?this.cache||J.cache:n)?new qe(n):!1,this},u.prototype.encode=function(r){return r&&(Pt.length&&(r=S(r,Pt)),this.v.length&&(r=S(r,this.v)),this.w&&(r=this.w(r)),this.stemmer&&(r=S(r,this.stemmer))),r},u.prototype.addMatcher=function(r){const i=this.v;for(const n in r)r.hasOwnProperty(n)&&i.push(v(n),r[n]);return this},u.prototype.add=function(r,i,n,o,f){if(this.a&&Y(r))return this.A("add",r,i);if(i&&U(i)&&(r||r===0)){var h="@"+r;if(this.c[h]&&!o)return this.update(r,i);if(this.g)return++this.C>=this.m.length&&(this.C=0),this.m[this.C].postMessage({add:!0,id:r,content:i}),this.c[h]=""+this.C,n&&n(),this;if(!f){if(this.async&&typeof importScripts!="function"){let $=this;if(h=new Promise(function(m){setTimeout(function(){$.add(r,i,null,o,!0),$=null,m()})}),n)h.then(n);else return h;return this}if(n)return this.add(r,i,null,o,!0),n(),this}if(i=this.encode(i),!i.length)return this;n=this.f,f=it(n)?n(i):i.split(this.split),this.filter&&(f=x(f,this.filter));const w=D();w._ctx=D();const y=f.length,P=this.threshold,O=this.depth,F=this.b,M=this.i,R=this.D;for(let $=0;$<y;$++){var d=f[$];if(d){var c=d.length,p=(R?$+1:y-$)/y,g="";switch(n){case"reverse":case"both":for(var A=c;--A;)g=d[A]+g,E(M,w,g,r,R?1:(c-A)/c,p,P,F-1);g="";case"forward":for(A=0;A<c;A++)g+=d[A],E(M,w,g,r,R?(A+1)/c:1,p,P,F-1);break;case"full":for(A=0;A<c;A++){const m=(R?A+1:c-A)/c;for(let C=c;C>A;C--)g=d.substring(A,C),E(M,w,g,r,m,p,P,F-1)}break;default:if(c=E(M,w,d,r,1,p,P,F-1),O&&1<y&&c>=P)for(c=w._ctx[d]||(w._ctx[d]=D()),d=this.h[d]||(this.h[d]=te(F-(P||0))),p=$-O,g=$+O+1,0>p&&(p=0),g>y&&(g=y);p<g;p++)p!==$&&E(d,c,f[p],r,0,F-(p<$?$-p:p-$),P,F-1)}}}this.c[h]=1,this.B=!1}return this},u.prototype.A=function(r,i,n){if(G(i)){var o=i.length;if(o--){for(var f=0;f<o;f++)this.A(r,i[f]);return this.A(r,i[o],n)}}else{var h=this.a.index,d=this.a.keys,c=this.a.tag;f=this.a.store;var p,g=this.a.id;o=i;for(var A=0;A<g.length;A++)o=o[g[A]];if(r==="remove"&&(delete this.l[o],g=d.length,g--)){for(i=0;i<g;i++)h[d[i]].remove(o);return h[d[g]].remove(o,n)}if(c){for(p=0;p<c.length;p++){var w=c[p],y=i;for(g=w.split(":"),A=0;A<g.length;A++)y=y[g[A]];y="@"+y}p=this.G[w],p=p[y]||(p[y]=[])}g=this.a.field;for(let P=0,O=g.length;P<O;P++){for(w=g[P],c=i,y=0;y<w.length;y++)c=c[w[y]];w=h[d[P]],y=r==="add"?w.add:w.update,P===O-1?y.call(w,o,c,n):y.call(w,o,c)}if(f){for(n=Object.keys(f),r=D(),h=0;h<n.length;h++)if(d=n[h],f[d]){d=d.split(":");let P,O;for(g=0;g<d.length;g++)c=d[g],P=(P||i)[c],O=(O||r)[c]=P}i=r}p&&(p[p.length]=i),this.l[o]=i}return this},u.prototype.update=function(r,i,n){return this.a&&Y(r)?this.A("update",r,i):(this.c["@"+r]&&U(i)&&(this.remove(r),this.add(r,i,n,!0)),this)},u.prototype.remove=function(r,i,n){if(this.a&&Y(r))return this.A("remove",r,i);var o="@"+r;if(this.c[o]){if(this.g)return this.m[this.c[o]].postMessage({remove:!0,id:r}),delete this.c[o],i&&i(),this;if(!n){if(this.async&&typeof importScripts!="function"){let f=this;if(o=new Promise(function(h){setTimeout(function(){f.remove(r,null,!0),f=null,h()})}),i)o.then(i);else return o;return this}if(i)return this.remove(r,null,!0),i(),this}for(i=0;i<this.b-(this.threshold||0);i++)N(this.i[i],r);this.depth&&N(this.h,r),delete this.c[o],this.B=!1}return this};let Q;u.prototype.search=function(r,i,n,o){if(Y(i)){if(G(i))for(var f=0;f<i.length;f++)i[f].query=r;else i.query=r;r=i,i=1e3}else i&&it(i)?(n=i,i=1e3):i||i===0||(i=1e3);if(this.g){this.F=n,this.u=0,this.o=[];for(var h=0;h<this.g;h++)this.m[h].postMessage({search:!0,limit:i,content:r})}else{var d=[],c=r;if(Y(r)&&!G(r)){n||(n=r.callback)&&(c.callback=null);var p=r.sort,g=r.page;i=r.limit,h=r.threshold;var A=r.suggest;r=r.query}if(this.a){h=this.a.index;const R=c.where;var w=c.bool||"or",y=c.field;let $=w,m,C;if(y)G(y)||(y=[y]);else if(G(c)){var P=c;y=[],$=[];for(var O=0;O<c.length;O++)o=c[O],f=o.bool||w,y[O]=o.field,$[O]=f,f==="not"?m=!0:f==="and"&&(C=!0)}else y=this.a.keys;for(w=y.length,O=0;O<w;O++)P&&(c=P[O]),g&&!U(c)&&(c.page=null,c.limit=0),d[O]=h[y[O]].search(c,0);if(n)return n(T.call(this,r,$,d,p,i,A,R,g,C,m));if(this.async){const X=this;return new Promise(function(z){Promise.all(d).then(function(W){z(T.call(X,r,$,W,p,i,A,R,g,C,m))})})}return T.call(this,r,$,d,p,i,A,R,g,C,m)}if(h||(h=this.threshold||0),!o){if(this.async&&typeof importScripts!="function"){let R=this;if(h=new Promise(function($){setTimeout(function(){$(R.search(c,i,null,!0)),R=null})}),n)h.then(n);else return h;return this}if(n)return n(this.search(c,i,null,!0)),this}if(!r||!U(r))return d;if(c=r,this.cache)if(this.B){if(n=this.j.get(r))return n}else this.j.clear(),this.B=!0;if(c=this.encode(c),!c.length)return d;n=this.f,n=it(n)?n(c):c.split(this.split),this.filter&&(n=x(n,this.filter)),P=n.length,o=!0,f=[];var F=D(),M=0;if(1<P&&(this.depth&&this.f==="strict"?w=!0:n.sort(B)),!w||(O=this.h)){const R=this.b;for(;M<P;M++){let $=n[M];if($){if(w){if(!y){if(O[$])y=$,F[$]=1;else if(!A)return d}if(A&&M===P-1&&!f.length)w=!1,$=y||$,F[$]=0;else if(!y)continue}if(!F[$]){const m=[];let C=!1,X=0;const z=w?O[y]:this.i;if(z){let W;for(let et=0;et<R-h;et++)(W=z[et]&&z[et][$])&&(m[X++]=W,C=!0)}if(C)y=$,f[f.length]=1<X?m.concat.apply([],m):m[0];else if(!A){o=!1;break}F[$]=1}}}}else o=!1;return o&&(d=pt(f,i,g,A)),this.cache&&this.j.set(r,d),d}},u.prototype.find=function(r,i){return this.where(r,i,1)[0]||null},u.prototype.where=function(r,i,n,o){const f=this.l,h=[];let d=0,c;var p;let g;if(Y(r)){n||(n=i);var A=Object.keys(r),w=A.length;if(c=!1,w===1&&A[0]==="id")return[f[r.id]];if((p=this.I)&&!o)for(var y=0;y<p.length;y++){var P=p[y],O=r[P];if(!H(O)){if(g=this.G[P]["@"+O],--w===0)return g;A.splice(A.indexOf(P),1),delete r[P];break}}for(p=Array(w),y=0;y<w;y++)p[y]=A[y].split(":")}else{if(it(r)){for(i=o||Object.keys(f),n=i.length,A=0;A<n;A++)w=f[i[A]],r(w)&&(h[d++]=w);return h}if(H(i))return[f[r]];if(r==="id")return[f[i]];A=[r],w=1,p=[r.split(":")],c=!0}for(o=g||o||Object.keys(f),y=o.length,P=0;P<y;P++){O=g?o[P]:f[o[P]];let F=!0;for(let M=0;M<w;M++){c||(i=r[A[M]]);const R=p[M],$=R.length;let m=O;if(1<$)for(let C=0;C<$;C++)m=m[R[C]];else m=m[R[0]];if(m!==i){F=!1;break}}if(F&&(h[d++]=O,n&&d===n))break}return h},u.prototype.info=function(){if(this.g)for(let r=0;r<this.g;r++)this.m[r].postMessage({info:!0,id:this.id});else return{id:this.id,items:this.length,cache:this.cache&&this.cache.s?this.cache.s.length:!1,matcher:Pt.length+(this.v?this.v.length:0),worker:this.g,threshold:this.threshold,depth:this.depth,resolution:this.b,contextual:this.depth&&this.f==="strict"}},u.prototype.clear=function(){return this.destroy().init()},u.prototype.destroy=function(){if(this.cache&&(this.j.clear(),this.j=null),this.i=this.h=this.c=null,this.a){const r=this.a.keys;for(let i=0;i<r.length;i++)this.a.index[r[i]].destroy();this.a=this.l=null}return this},u.prototype.export=function(r){const i=!r||H(r.serialize)||r.serialize;if(this.a){const o=!r||H(r.doc)||r.doc;var n=!r||H(r.index)||r.index;r=[];let f=0;if(n)for(n=this.a.keys;f<n.length;f++){const h=this.a.index[n[f]];r[f]=[h.i,h.h,Object.keys(h.c)]}o&&(r[f]=this.l)}else r=[this.i,this.h,Object.keys(this.c)];return i&&(r=JSON.stringify(r)),r},u.prototype.import=function(r,i){(!i||H(i.serialize)||i.serialize)&&(r=JSON.parse(r));const n=D();if(this.a){var o=!i||H(i.doc)||i.doc,f=0;if(!i||H(i.index)||i.index){i=this.a.keys;const d=i.length;for(var h=r[0][2];f<h.length;f++)n[h[f]]=1;for(f=0;f<d;f++){h=this.a.index[i[f]];const c=r[f];c&&(h.i=c[0],h.h=c[1],h.c=n)}}o&&(this.l=Y(o)?o:r[f])}else{for(o=r[2],f=0;f<o.length;f++)n[o[f]]=1;this.i=r[0],this.h=r[1],this.c=n}};const Ve=function(){const r=v("\\s+"),i=v("[^a-z0-9 ]"),n=[v("[-/]")," ",i,"",r," "];return function(o){return L(S(o.toLowerCase(),n))}}(),ut={icase:function(r){return r.toLowerCase()},simple:function(){const r=v("\\s+"),i=v("[^a-z0-9 ]"),n=v("[-/]"),o=v("[\xE0\xE1\xE2\xE3\xE4\xE5]"),f=v("[\xE8\xE9\xEA\xEB]"),h=v("[\xEC\xED\xEE\xEF]"),d=v("[\xF2\xF3\xF4\xF5\xF6\u0151]"),c=v("[\xF9\xFA\xFB\xFC\u0171]"),p=v("[\xFD\u0177\xFF]"),g=v("\xF1"),A=v("[\xE7c]"),w=v("\xDF"),y=v(" & "),P=[o,"a",f,"e",h,"i",d,"o",c,"u",p,"y",g,"n",A,"k",w,"s",y," and ",n," ",i,"",r," "];return function(O){return O=S(O.toLowerCase(),P),O===" "?"":O}}(),advanced:function(){const r=v("ae"),i=v("ai"),n=v("ay"),o=v("ey"),f=v("oe"),h=v("ue"),d=v("ie"),c=v("sz"),p=v("zs"),g=v("ck"),A=v("cc"),w=v("sh"),y=v("th"),P=v("dt"),O=v("ph"),F=v("pf"),M=v("ou"),R=v("uo"),$=[r,"a",i,"ei",n,"ei",o,"ei",f,"o",h,"u",d,"i",c,"s",p,"s",w,"s",g,"k",A,"k",y,"t",P,"t",O,"f",F,"f",M,"o",R,"u"];return function(m,C){return m&&(m=this.simple(m),2<m.length&&(m=S(m,$)),C||1<m.length&&(m=L(m)),m)}}(),extra:function(){const r=v("p"),i=v("z"),n=v("[cgq]"),o=v("n"),f=v("d"),h=v("[vw]"),d=v("[aeiouy]"),c=[r,"b",i,"s",n,"k",o,"m",f,"t",h,"f",d,""];return function(p){if(!p)return p;if(p=this.advanced(p,!0),1<p.length){p=p.split(" ");for(let g=0;g<p.length;g++){const A=p[g];1<A.length&&(p[g]=A[0]+S(A.substring(1),c))}p=p.join(" "),p=L(p)}return p}}(),balance:Ve},qe=function(){function r(i){this.clear(),this.H=i!==!0&&i}return r.prototype.clear=function(){this.cache=D(),this.count=D(),this.index=D(),this.s=[]},r.prototype.set=function(i,n){if(this.H&&H(this.cache[i])){let o=this.s.length;if(o===this.H){o--;const f=this.s[o];delete this.cache[f],delete this.count[f],delete this.index[f]}this.index[i]=o,this.s[o]=i,this.count[i]=-1,this.cache[i]=n,this.get(i)}else this.cache[i]=n},r.prototype.get=function(i){const n=this.cache[i];if(this.H&&n){var o=++this.count[i];const h=this.index;let d=h[i];if(0<d){const c=this.s;for(var f=d;this.count[c[--d]]<=o&&d!==-1;);if(d++,d!==f){for(o=f;o>d;o--)f=c[o-1],c[o]=f,h[f]=o;c[d]=i,h[i]=d}}}return n},r}();return u}(function(){const s={},a=typeof Blob<"u"&&typeof URL<"u"&&URL.createObjectURL;return function(u,l,_,x,T){return _=a?URL.createObjectURL(new Blob(["("+_.toString()+")()"],{type:"text/javascript"})):u+".min.js",u+="-"+l,s[u]||(s[u]=[]),s[u][T]=new Worker(_),s[u][T].onmessage=x,s[u][T]}}()),Ls)})(We);const Ie=We.exports;function Ds(t,e){let s=t[e],a=e;const u=[s];for(;s&&s.depth>2;){let l=!1;for(let _=a-1;_>=0;_--){const x=t[_];if(x.depth>1&&x.depth===s.depth-1){s=x,a=_,u.unshift(s),l=!0;break}}if(!l)break}return u}const me=100,Gs=/[\u3131-\u314e|\u314f-\u3163|\uac00-\ud7a3]|[\u4E00-\u9FCC\u3400-\u4DB5\uFA0E\uFA0F\uFA11\uFA13\uFA14\uFA1F\uFA21\uFA23\uFA24\uFA27-\uFA29]|[\ud840-\ud868][\udc00-\udfff]|\ud869[\udc00-\uded6\udf00-\udfff]|[\ud86a-\ud86c][\udc00-\udfff]|\ud86d[\udc00-\udf34\udf40-\udfff]|\ud86e[\udc00-\udc1d]|[\u3041-\u3096]|[\u30A1-\u30FA]/giu,Hs=["home","api","404","custom"];var lt,ct,At,Ot,jt,Ke,Mt,Ye,Rt,Je;class bs{constructor(e=""){rt(this,jt);rt(this,Mt);rt(this,Rt);rt(this,lt,void 0);rt(this,ct,void 0);rt(this,At,{});rt(this,Ot,void 0);gt(this,Ot,e)}async init(e={}){const s=await er(l=>l.path.startsWith(rr(st(this,Ot)))),a=s.filter(l=>{var _;return!Hs.includes(((_=l.frontmatter)==null?void 0:_.pageType)||"")}).map(l=>({title:l.title,headers:(l.toc||[]).map(_=>_.text),content:l.content||"",path:l.routePath,rawHeaders:l.toc||[]}));gt(this,At,s.reduce((l,_)=>((_.toc||[]).forEach(x=>{l[_.routePath+x.text]=x.id}),l),{}));const u={encode:"simple",tokenize:"forward",split:/\W+/,async:!0,doc:{id:"path",field:["title","headers","content"]},...e};gt(this,lt,Ie.create(u)),gt(this,ct,Ie.create({...u,encode:!1,tokenize(l){const _=[];let x=null;do x=Gs.exec(l),x&&_.push(x[0]);while(x);return _}})),st(this,lt).add(a),st(this,ct).add(a)}async match(e,s=7){var x,T;const u=(await Promise.all([(x=st(this,lt))==null?void 0:x.search({query:e,limit:s}),(T=st(this,ct))==null?void 0:T.search(e,s)])).flat(2).filter(Boolean),l=[];return u.forEach(I=>{Et(this,jt,Ke).call(this,I,e,l)||Et(this,Mt,Ye).call(this,I,e,l)}),Fs(l,"link")}}lt=new WeakMap,ct=new WeakMap,At=new WeakMap,Ot=new WeakMap,jt=new WeakSet,Ke=function(e,s,a){const{headers:u,rawHeaders:l}=e;for(const[_,x]of u.entries())if(x.includes(s)){const T=st(this,At)[e.path+x],v=Ds(l,_).map(S=>S.text).join(" > ");return a.push({type:"header",title:e.title,header:v,headerHighlightIndex:v.indexOf(s),link:`${ie(e.path)}#${T}`}),!0}return!1},Mt=new WeakSet,Ye=function(e,s,a){var N;const{content:u,headers:l}=e,_=u.indexOf(s);if(_===-1)return;const x=l.map(L=>u.indexOf(L)),T=x.findIndex((L,B)=>{if(B<l.length-1){const K=x[B+1];if(L<=_&&K>=_)return!0}else return L<_}),I=(N=l[T])!=null?N:e.title;let v=u.slice(0,_).lastIndexOf(`
|
|
2
|
+
`);v=v===-1?0:v;const S=u.indexOf(`
|
|
3
|
+
`,_+s.length);let E=u.slice(v,S);E.length>me&&(E=Et(this,Rt,Je).call(this,E,s)),a.push({type:"content",title:e.title,header:I,statement:E,statementHighlightIndex:E.indexOf(s),link:`${ie(e.path)}#${I}`})},Rt=new WeakSet,Je=function(e,s){const a=e.indexOf(s),u=Math.floor((me-s.length)/2);let l=e.slice(0,a);l.length>u&&(l="..."+e.slice(a-u+3,a));let _=e.slice(a+s.length);return _.length>u&&(_=e.slice(a+s.length,a+u-3)+"..."),l+s+_};export{bs as PageSearcher};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
*,:before,:after{box-sizing:border-box}html{line-height:1.4;font-size:16px;-webkit-text-size-adjust:100%}html.dark{color-scheme:dark}body{margin:0;width:100%;min-width:320px;min-height:100vh;line-height:24px;font-family:var(--island-font-family-base);font-size:16px;font-weight:400;color:var(--island-c-text-1);background-color:var(--island-c-bg);direction:ltr;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}main{display:block}h1,h2,h3,h4,h5,h6{margin:0;line-height:24px;font-size:16px;font-weight:400}p{margin:0}strong,b{font-weight:600}a,area,button,[role=button],input,label,select,summary,textarea{touch-action:manipulation}a{color:inherit;text-decoration:inherit}ol,ul{list-style:none;margin:0;padding:0}blockquote{margin:0}pre,code,kbd,samp{font-family:var(--island-font-family-mono)}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}figure{margin:0}img,video{max-width:100%;height:auto}button,input,optgroup,select,textarea{border:0;padding:0;line-height:inherit;color:inherit}button{padding:0;font-family:inherit;background-color:transparent;background-image:none}button,[role=button]{cursor:pointer}button:focus,button:focus-visible{outline:1px dotted;outline:4px auto -webkit-focus-ring-color}button:focus:not(:focus-visible){outline:none!important}input:focus,textarea:focus,select:focus{outline:none}table{border-collapse:collapse}input{background-color:transparent}input:-ms-input-placeholder,textarea:-ms-input-placeholder{color:var(--island-c-text-3)}input::-ms-input-placeholder,textarea::-ms-input-placeholder{color:var(--island-c-text-3)}input::placeholder,textarea::placeholder{color:var(--island-c-text-3)}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}textarea{resize:vertical}select{-webkit-appearance:none}fieldset{margin:0;padding:0}.visually-hidden{visibility:hidden}.medium-zoom-overlay,.medium-zoom-image--opened{z-index:999}:root{--island-c-white: #ffffff;--island-c-white-soft: #f9f9f9;--island-c-white-mute: #f1f1f1;--island-c-black: #1a1a1a;--island-c-black-pure: #000000;--island-c-black-soft: #242424;--island-c-black-mute: #2f2f2f;--island-c-gray: #8e8e8e;--island-c-gray-light-1: #aeaeae;--island-c-gray-light-2: #c7c7c7;--island-c-gray-light-3: #d1d1d1;--island-c-gray-light-4: #e5e5e5;--island-c-gray-light-5: #f2f2f2;--island-c-gray-dark-1: #636363;--island-c-gray-dark-2: #484848;--island-c-gray-dark-3: #3a3a3a;--island-c-gray-dark-4: #282828;--island-c-gray-dark-5: #202020;--island-c-divider-light-1: rgba(60, 60, 60, .29);--island-c-divider-light-2: rgba(60, 60, 60, .12);--island-c-divider-dark-1: rgba(84, 84, 84, .65);--island-c-divider-dark-2: rgba(84, 84, 84, .48);--island-c-indigo: #213547;--island-c-indigo-soft: #476582;--island-c-indigo-light: #aac8e4;--island-c-indigo-lighter: #c9def1;--island-c-indigo-dark: #1d2f3f;--island-c-indigo-darker: #14212e;--island-c-text-light-1: var(--island-c-indigo);--island-c-text-light-2: rgba(60, 60, 60, .7);--island-c-text-light-3: rgba(60, 60, 60, .33);--island-c-text-light-4: rgba(60, 60, 60, .18);--island-c-text-dark-1: rgba(255, 255, 255, .87);--island-c-text-dark-2: rgba(235, 235, 235, .6);--island-c-text-dark-3: rgba(235, 235, 235, .38);--island-c-text-dark-4: rgba(235, 235, 235, .18);--island-c-green: #21b8a3;--island-c-green-light: #41c6b0;--island-c-green-lighter: #41c6b0;--island-c-green-dark: #149684;--island-c-green-darker: #149684;--island-c-green-dimm: #062521;--island-c-green-dimm-1: rgba(66, 184, 131, .5);--island-c-green-dimm-2: rgba(66, 184, 131, .25);--island-c-green-dimm-3: rgba(66, 184, 131, .05);--island-c-blue: #646cff;--island-c-blue-light: #747bff;--island-c-blue-lighter: #9499ff;--island-c-blue-lightest: #bcc0ff;--island-c-blue-dark: #535bf2;--island-c-blue-darker: #454ce1;--island-c-blue-dimm: rgba(100, 108, 255, .08);--island-c-yellow: #ffc517;--island-c-yellow-light: #fcd253;--island-c-yellow-lighter: #fcfc7c;--island-c-yellow-darker: #ad850e;--island-c-yellow-dimm-1: rgba(255, 197, 23, .5);--island-c-yellow-dimm-2: rgba(255, 197, 23, .25);--island-c-yellow-dimm-3: rgba(255, 197, 23, .05);--island-c-red: #ed3c50;--island-c-red-light: #f54e82;--island-c-red-lighter: #fd1d7c;--island-c-red-darker: #ab2131;--island-c-red-dimm-1: rgba(237, 60, 80, .5);--island-c-red-dimm-2: rgba(237, 60, 80, .25);--island-c-red-dimm-3: rgba(237, 60, 80, .05)}:root{--island-c-bg: var(--island-c-white);--island-c-bg-soft: var(--island-c-white-soft);--island-c-bg-mute: var(--island-c-white-mute);--island-c-bg-alt: var(--island-c-white-soft);--island-c-divider: var(--island-c-divider-light-1);--island-c-divider-light: var(--island-c-divider-light-2);--island-c-text-1: var(--island-c-text-light-1);--island-c-text-2: var(--island-c-text-light-2);--island-c-text-3: var(--island-c-text-light-3);--island-c-text-4: var(--island-c-text-light-4);--island-c-text-code: var(--island-c-indigo-soft);--island-c-brand: var(--island-c-green);--island-c-brand-light: var(--island-c-green-light);--island-c-brand-lighter: var(--island-c-green-lighter);--island-c-brand-dark: var(--island-c-green-dark);--island-c-brand-darker: var(--island-c-green-darker)}.dark{--island-c-bg: var(--island-c-black-soft);--island-c-bg-soft: var(--island-c-black-mute);--island-c-bg-mute: var(--island-c-gray-dark-3);--island-c-bg-alt: var(--island-c-black);--island-c-divider: var(--island-c-divider-dark-1);--island-c-divider-light: var(--island-c-divider-dark-2);--island-c-divider-inverse: var(--island-c-divider-light-1);--island-c-divider-inverse-light: var(--island-c-divider-light-2);--island-c-text-1: var(--island-c-text-dark-1);--island-c-text-2: var(--island-c-text-dark-2);--island-c-text-3: var(--island-c-text-dark-3);--island-c-text-4: var(--island-c-text-dark-4);--island-c-text-inverse-1: var(--island-c-text-light-1);--island-c-text-inverse-2: var(--island-c-text-light-2);--island-c-text-inverse-3: var(--island-c-text-light-3);--island-c-text-inverse-4: var(--island-c-text-light-4);--island-c-text-code: var(--island-c-indigo-lighter)}:root{--island-font-family-base: "Inter var experimental", "Inter var", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;--island-font-family-mono: Menlo, Monaco, Consolas, "Courier New", monospace}:root{--island-layout-max-width: 1440px}:root{--island-code-line-height: 1.7;--island-code-font-size: .875em;--island-code-block-color: var(--island-c-text-dark-1);--island-code-block-bg: #292d3e;--island-code-line-highlight-color: rgba(0, 0, 0, .5);--island-code-line-number-color: var(--island-c-text-dark-3);--island-code-copy-code-hover-bg: rgba(255, 255, 255, .05);--island-code-copy-code-active-text: var(--island-c-text-dark-2)}:root{--island-icon-copy: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' height='20' width='20' stroke='rgba(128,128,128,1)' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M9 5H7a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2h-2M9 5a2 2 0 0 0 2 2h2a2 2 0 0 0 2-2M9 5a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2'/%3E%3C/svg%3E");--island-icon-copied: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' height='20' width='20' stroke='rgba(128,128,128,1)' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M9 5H7a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2h-2M9 5a2 2 0 0 0 2 2h2a2 2 0 0 0 2-2M9 5a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2m-6 9 2 2 4-4'/%3E%3C/svg%3E");--island-icon-tip: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M512 960C264.58 960 64 759.42 64 512S264.58 64 512 64s448 200.58 448 448-200.58 448-448 448z m0-832c-212.08 0-384 171.92-384 384s171.92 384 384 384 384-171.92 384-384-171.92-384-384-384z m0 112c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48-21.49-48-48-48z m0 160c-17.67 0-32 14.33-32 32v320c0 17.67 14.33 32 32 32 17.67 0 32-14.33 32-32V432c0-17.67-14.33-32-32-32z' fill='%2321b8a3'/%3E%3C/svg%3E")}.dark{--island-code-block-bg: var(--island-c-bg-alt)}:root{--island-z-index-local-nav: 10;--island-z-index-nav: 20;--island-z-index-layout-top: 30;--island-z-index-backdrop: 40;--island-z-index-sidebar: 50;--island-z-index-footer: 60}:root{--island-button-brand-border: var(--island-c-brand-light);--island-button-brand-text: var(--island-c-text-dark-1);--island-button-brand-bg: var(--island-c-brand);--island-button-brand-hover-border: var(--island-c-brand-light);--island-button-brand-hover-text: var(--island-c-text-dark-1);--island-button-brand-hover-bg: var(--island-c-brand-light);--island-button-brand-active-border: var(--island-c-brand-light);--island-button-brand-active-text: var(--island-c-text-dark-1);--island-button-brand-active-bg: var(--island-button-brand-bg);--island-button-alt-border: var(--island-c-gray-light-3);--island-button-alt-text: var(--island-c-text-light-1);--island-button-alt-bg: var(--island-c-gray-light-5);--island-button-alt-hover-border: var(--island-c-gray-light-3);--island-button-alt-hover-text: var(--island-c-text-light-1);--island-button-alt-hover-bg: var(--island-c-gray-light-4);--island-button-alt-active-border: var(--island-c-gray-light-3);--island-button-alt-active-text: var(--island-c-text-light-1);--island-button-alt-active-bg: var(--island-c-gray-light-3);--island-button-sponsor-border: var(--island-c-gray-light-3);--island-button-sponsor-text: var(--island-c-text-light-2);--island-button-sponsor-bg: transparent;--island-button-sponsor-hover-border: var(--island-c-sponsor);--island-button-sponsor-hover-text: var(--island-c-sponsor);--island-button-sponsor-hover-bg: transparent;--island-button-sponsor-active-border: var(--island-c-sponsor);--island-button-sponsor-active-text: var(--island-c-sponsor);--island-button-sponsor-active-bg: transparent}.dark{--island-button-brand-border: var(--island-c-brand-light);--island-button-brand-text: var(--island-c-text-dark-1);--island-button-brand-bg: var(--island-c-brand-dark);--island-button-brand-hover-border: var(--island-c-brand-lighter);--island-button-brand-hover-text: var(--island-c-text-dark-1);--island-button-brand-hover-bg: var(--island-c-brand);--island-button-brand-active-border: var(--island-c-brand-lighter);--island-button-brand-active-text: var(--island-c-text-dark-1);--island-button-brand-active-bg: var(--island-button-brand-bg);--island-button-alt-border: var(--island-c-gray-dark-2);--island-button-alt-text: var(--island-c-text-dark-1);--island-button-alt-bg: var(--island-c-bg-mute);--island-button-alt-hover-border: var(--island-c-gray-dark-2);--island-button-alt-hover-text: var(--island-c-text-dark-1);--island-button-alt-hover-bg: var(--island-c-gray-dark-2);--island-button-alt-active-border: var(--island-c-gray-dark-2);--island-button-alt-active-text: var(--island-c-text-dark-1);--island-button-alt-active-bg: var(--island-button-alt-bg);--island-button-sponsor-border: var(--island-c-gray-dark-1);--island-button-sponsor-text: var(--island-c-text-dark-2)}:root{--island-custom-block-code-font-size: 13px;--island-custom-block-info-border: var(--island-c-divider-light);--island-custom-block-info-text: var(--island-c-text-2);--island-custom-block-info-bg: var(--island-c-white-soft);--island-custom-block-info-code-bg: var(--island-c-gray-light-4);--island-custom-block-tip-border: var(--island-c-green-dimm-1);--island-custom-block-tip-text: var(--island-c-green-darker);--island-custom-block-tip-bg: var(--island-c-green-dimm-3);--island-custom-block-tip-code-bg: var(--island-custom-block-tip-bg);--island-custom-block-warning-border: var(--island-c-yellow-dimm-1);--island-custom-block-warning-text: var(--island-c-yellow-darker);--island-custom-block-warning-bg: var(--island-c-yellow-dimm-3);--island-custom-block-warning-code-bg: var(--island-custom-block-warning-bg);--island-custom-block-danger-border: var(--island-c-red-dimm-1);--island-custom-block-danger-text: var(--island-c-red-darker);--island-custom-block-danger-bg: var(--island-c-red-dimm-3);--island-custom-block-danger-code-bg: var(--island-custom-block-danger-bg)}.dark{--island-custom-block-info-border: var(--island-c-divider-light);--island-custom-block-info-bg: var(--island-c-black-mute);--island-custom-block-info-code-bg: var(--island-c-gray-dark-4);--island-custom-block-tip-border: var(--island-c-green-dimm-2);--island-custom-block-tip-text: var(--island-c-green-light);--island-custom-block-warning-border: var(--island-c-yellow-dimm-2);--island-custom-block-warning-text: var(--island-c-yellow-light);--island-custom-block-danger-border: var(--island-c-red-dimm-2);--island-custom-block-danger-text: var(--island-c-red-light)}:root{--island-nav-height: var(--island-nav-height-mobile);--island-nav-height-mobile: 56px;--island-nav-height-desktop: 60px}@media (min-width: 960px){:root{--island-nav-height: var(--island-nav-height-desktop)}}:root{--island-sidebar-width: 272px}:root{--island-home-hero-name-color: transparent;--island-home-hero-name-background: -webkit-linear-gradient( 120deg, var(--island-c-brand) 30%, #41d1ff );--island-home-hero-image-background-image: none;--island-home-hero-image-filter: none}:root{--island-shadow-1: 0 1px 2px rgba(0, 0, 0, .04), 0 1px 2px rgba(0, 0, 0, .06);--island-shadow-2: 0 3px 12px rgba(0, 0, 0, .07), 0 1px 4px rgba(0, 0, 0, .07);--island-shadow-3: 0 12px 32px rgba(0, 0, 0, .1), 0 2px 6px rgba(0, 0, 0, .08);--island-shadow-4: 0 14px 44px rgba(0, 0, 0, .12), 0 3px 9px rgba(0, 0, 0, .12);--island-shadow-5: 0 18px 56px rgba(0, 0, 0, .16), 0 4px 12px rgba(0, 0, 0, .16)}.island-doc h1,.island-doc h2,.island-doc h3,.island-doc h4,.island-doc h5,.island-doc h6{position:relative;font-weight:600;outline:none}.island-doc h1:before,.island-doc h2:before,.island-doc h3:before,.island-doc h4:before,.island-doc h5:before,.island-doc h6:before{display:block;content:"";margin-top:-56px;height:56px;visibility:hidden;pointer-events:none}.island-doc h1{letter-spacing:-.02em;line-height:40px;font-size:28px;margin-bottom:40px}.island-doc h2{margin:48px 0 16px;letter-spacing:-.02em;line-height:32px;font-size:24px}.island-doc h3{margin:32px 0 0;letter-spacing:-.01em;line-height:28px;font-size:20px}.island-doc .header-anchor{float:left;margin-left:-.87em;padding-right:.23em;font-weight:500;opacity:0;transition:color .25s,opacity .25s}.island-doc h1:hover .header-anchor,.island-doc h1 .header-anchor:focus,.island-doc h2:hover .header-anchor,.island-doc h2 .header-anchor:focus,.island-doc h3:hover .header-anchor,.island-doc h3 .header-anchor:focus,.island-doc h4:hover .header-anchor,.island-doc h4 .header-anchor:focus,.island-doc h5:hover .header-anchor,.island-doc h5 .header-anchor:focus,.island-doc h6:hover .header-anchor,.island-doc h6 .header-anchor:focus{opacity:1}@media (min-width: 768px){.island-doc h1{letter-spacing:-.02em;line-height:40px;font-size:32px}}.island-doc p,.island-doc summary{margin:16px 0}.island-doc p{z-index:2;line-height:28px}.island-doc blockquote{margin:16px 0;border-left:2px solid var(--island-c-divider);padding-left:16px;transition:border-color .5s}.island-doc blockquote>p{margin:0;font-size:16px;color:var(--island-c-text-2);transition:color .5s}.island-doc a{font-weight:500;color:var(--island-c-brand);text-decoration-style:dotted;transition:color .25s}.island-doc a:hover{color:var(--island-c-brand-dark)}.island-doc strong{font-weight:600}.island-doc ul,.island-doc ol{padding-left:1.25rem;margin:16px 0}.island-doc ul{list-style:disc}.island-doc ol{list-style:decimal}.island-doc li+li{margin-top:8px}.island-doc li>ol,.island-doc li>ul{margin:8px 0 0}.island-doc table{display:block;border-collapse:collapse;margin:20px 0;overflow-x:auto}.island-doc tr{border-top:1px solid var(--island-c-divider);transition:background-color .5s}.island-doc tr:nth-child(2n){background-color:var(--island-c-bg-soft)}.island-doc th,.island-doc td{border:1px solid var(--island-c-divider);padding:12px 16px}.island-doc th{font-size:16px;font-weight:600;background-color:var(--island-c-white-soft)}.dark .island-doc th{background-color:var(--island-c-black)}.island-doc hr{margin:16px 0;border:none;border-top:1px solid var(--island-c-divider-light)}.island-doc .custom-block{margin:16px 0}.island-doc .custom-block p{margin:8px 0;line-height:24px}.island-doc .custom-block p:first-child{margin:0}.island-doc .custom-block a{color:inherit;font-weight:600;text-decoration:underline;transition:opacity .25s}.island-doc .custom-block a:hover{opacity:.6}.island-doc .custom-block code{font-size:var(--island-custom-block-code-font-size);font-weight:700;color:inherit}.island-doc .custom-block div[class*=language-]{margin:8px 0}.island-doc .custom-block div[class*=language-] code{font-weight:400;background-color:transparent}.island-doc :not(pre,h1,h2,h3,h4,h5,h6)>code{font-size:var(--island-code-font-size)}.island-doc :not(pre,div)>code{border-radius:4px;padding:3px 6px;color:var(--island-c-text-code);background-color:var(--island-c-bg-mute);transition:color .5s,background-color .5s}.island-doc h1>code,.island-doc h2>code,.island-doc h3>code{font-size:.9em}.island-doc a>code{color:var(--island-c-brand);transition:color .25s}.island-doc a:hover>code{color:var(--island-c-brand-dark)}.island-doc div[class*=language-]{position:relative;margin:16px -24px;background-color:var(--island-code-block-bg);overflow-x:auto;transition:background-color .5s}@media (min-width: 640px){.island-doc div[class*=language-]{border-radius:8px;margin:16px 0}}@media (max-width: 639px){.island-doc li div[class*=language-]{border-radius:8px 0 0 8px}}.island-doc div[class*=language-]+div[class*=language-],.island-doc div[class$=-api]+div[class*=language-],.island-doc div[class*=language-]+div[class$=-api]>div[class*=language-]{margin-top:-8px}.island-doc [class*=language-] pre,.island-doc [class*=language-] code{text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-hyphens:none;-moz-hyphens:none;-ms-hyphens:none;hyphens:none}.island-doc [class*=language-] pre{position:relative;z-index:1;margin:0;padding:16px 0;background:transparent;overflow-x:auto}.island-doc [class*=language-] code{display:block;padding:0 24px;width:fit-content;min-width:100%;line-height:var(--island-code-line-height);font-size:var(--island-code-font-size);color:var(--island-code-block-color);transition:color .5s}.island-doc [class*=language-] code .highlighted{background-color:var(--island-code-line-highlight-color);transition:background-color .5s;margin:0 -24px;padding:0 24px;width:calc(100% + 48px);display:inline-block}.island-doc div[class*=language-].line-numbers-mode{padding-left:32px}.island-doc.line-number-disable div[class*=language-].line-numbers-mode{padding-left:0}.island-doc .line-numbers-wrapper{position:absolute;top:0;bottom:0;left:0;z-index:3;padding-top:16px;width:36px;text-align:center;font-family:var(--island-font-family-mono);line-height:var(--island-code-line-height);font-size:var(--island-code-font-size);color:var(--island-code-line-number-color);transition:border-color .5s,color .5s;display:flex;flex-direction:column}.island-doc.line-number-disable .line-numbers-wrapper{display:none}.island-doc [class*=language-]>button.copy{position:absolute;top:8px;right:8px;z-index:3;display:block;justify-content:center;align-items:center;border-radius:4px;width:40px;height:40px;background-color:var(--island-code-block-bg);opacity:0;cursor:pointer;background-image:var(--island-icon-copy);background-position:50%;background-size:20px;background-repeat:no-repeat;transition:opacity .4s}.island-doc [class*=language-]:hover>button.copy,.island-doc [class*=language-]>button.copy:focus{opacity:1}.island-doc [class*=language-]>button.copy:hover{background-color:var(--island-code-copy-code-hover-bg)}.island-doc [class*=language-]>button.copy.copied,.island-doc [class*=language-]>button.copy:hover.copied{border-radius:0 4px 4px 0;background-color:var(--island-code-copy-code-hover-bg);background-image:var(--island-icon-copied)}.island-doc [class*=language-]>button.copy.copied:before,.island-doc [class*=language-]>button.copy:hover.copied:before{position:relative;left:-65px;display:block;border-radius:4px 0 0 4px;padding-top:8px;width:64px;height:40px;text-align:center;font-size:12px;font-weight:500;color:var(--island-code-copy-code-active-text);background-color:var(--island-code-copy-code-hover-bg);white-space:nowrap;content:"Copied"}.island-doc [class*=language-]>span.lang{position:absolute;top:6px;right:12px;z-index:2;font-size:12px;font-weight:500;color:var(--island-c-text-dark-3);transition:color .4s,opacity .4s}.island-doc [class*=language-]:hover>button.copy+span.lang,.island-doc [class*=language-]>button.copy:focus+span.lang{opacity:0}.island-doc .island-directive{border:1px solid transparent;border-radius:8px;padding:16px 16px 8px;line-height:24px;font-size:14px;margin:16px 0}.island-doc .island-directive .island-directive-title{font-weight:700;margin:0}.island-doc .island-directive .island-directive-content p{margin:8px 0}.island-doc .island-directive .island-directive-icon{display:inline-block;width:20px;height:20px;margin-right:3px;background-image:var(--island-icon-tip)}.island-doc .island-directive.tip{border-color:var(--island-custom-block-tip-border);color:var(--island-custom-block-tip-text);background-color:var(--island-custom-block-tip-bg)}.island-doc .island-directive.info{border-color:var(--island-custom-block-info-border);color:var(--island-custom-block-info-text);background-color:var(--island-custom-block-info-bg)}.island-doc .island-directive.warning{border-color:var(--island-custom-block-warning-border);color:var(--island-custom-block-warning-text);background-color:var(--island-custom-block-warning-bg)}.island-doc .island-directive.danger{border-color:var(--island-custom-block-danger-border);color:var(--island-custom-block-danger-text);background-color:var(--island-custom-block-danger-bg)}*,::before,::after{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgba(0,0,0,0);--un-ring-shadow:0 0 rgba(0,0,0,0);--un-shadow-inset: ;--un-shadow:0 0 rgba(0,0,0,0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgba(147,197,253,0.5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: ;}::backdrop{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgba(0,0,0,0);--un-ring-shadow:0 0 rgba(0,0,0,0);--un-shadow-inset: ;--un-shadow:0 0 rgba(0,0,0,0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgba(147,197,253,0.5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: ;}.i-carbon-chevron-down{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 32 32' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M16 22L6 12l1.4-1.4l8.6 8.6l8.6-8.6L26 12z'/%3E%3C/svg%3E");mask:var(--un-icon) no-repeat;mask-size:100% 100%;-webkit-mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;background-color:currentColor;width:1em;height:1em;}.i-carbon-chevron-right{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 32 32' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M22 16L12 26l-1.4-1.4l8.6-8.6l-8.6-8.6L12 6z'/%3E%3C/svg%3E");mask:var(--un-icon) no-repeat;mask-size:100% 100%;-webkit-mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;background-color:currentColor;width:1em;height:1em;}.i-carbon-chevron-sort-down{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 32 32' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='m16 28l-7-7l1.4-1.4l5.6 5.6l5.6-5.6L23 21z'/%3E%3C/svg%3E");mask:var(--un-icon) no-repeat;mask-size:100% 100%;-webkit-mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;background-color:currentColor;width:1em;height:1em;}.i-carbon-chevron-up{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 32 32' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='m16 10l10 10l-1.4 1.4l-8.6-8.6l-8.6 8.6L6 20z'/%3E%3C/svg%3E");mask:var(--un-icon) no-repeat;mask-size:100% 100%;-webkit-mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;background-color:currentColor;width:1em;height:1em;}.i-carbon\:menu{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 32 32' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M4 6h24v2H4zm0 18h24v2H4zm0-12h24v2H4zm0 6h24v2H4z'/%3E%3C/svg%3E");mask:var(--un-icon) no-repeat;mask-size:100% 100%;-webkit-mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;background-color:currentColor;width:1em;height:1em;}[container=""]{max-width:100%;}.menu,[menu=""]{display:flex;align-items:center;justify-content:space-around;font-size:0.875rem;line-height:1.25rem;font-weight:700;}[flex~="center"]{display:flex;align-items:center;justify-content:center;}@media (min-width: 640px){[container=""]{max-width:640px;}}@media (min-width: 768px){[container=""]{max-width:768px;}}@media (min-width: 960px){[container=""]{max-width:960px;}[flex~="md\:center"]{display:flex;align-items:center;justify-content:center;}}@media (min-width: 1280px){[container=""]{max-width:1280px;}}.visible,[visible=""]{visibility:visible;}.absolute,[absolute=""]{position:absolute;}.fixed,[pos~="fixed"]{position:fixed;}.relative,[relative=""],[relative~="\~"]{position:relative;}.static{position:static;}.bottom-10{bottom:2.5rem;}.left-0,[pos~="left-0"]{left:0rem;}.right-0,[pos~="right-0"]{right:0rem;}.right-30{right:7.5rem;}.top-0{top:0rem;}.top-12,[pos~="top-12"]{top:3rem;}.top-13,[pos~="top-13"]{top:3.25rem;}.top-33px,[pos~="top-33px"]{top:33px;}.z-10{z-index:10;}[z~="\31 "]{z-index:1;}[z~="\34 "]{z-index:4;}[z~="\36 0"]{z-index:60;}[order~="\31 "]{order:1;}[order~="\32 "]{order:2;}.m12\.344{margin:3.086rem;}.m233\.325{margin:58.33125rem;}[m~="-\31 \.5"]{margin:-0.375rem;}[m~="\30 "]{margin:0rem;}[m~="auto"]{margin:auto;}[m~="x-0\.8"]{margin-left:0.2rem;margin-right:0.2rem;}[m~="x-1\.5"]{margin-left:0.375rem;margin-right:0.375rem;}[m~="x-3"]{margin-left:0.75rem;margin-right:0.75rem;}[m~="x-auto"]{margin-left:auto;margin-right:auto;}.mb{margin-bottom:1rem;}.me{margin-inline-end:1rem;}.ml{margin-left:1rem;}.ml-1{margin-left:0.25rem;}.mr{margin-right:1rem;}.mr-0,[last~="mr-0"]:last-child{margin-right:0rem;}.mt,.mt-4,[not-first~="mt-4"]:not(:first-child){margin-top:1rem;}[m~="b-2"]{margin-bottom:0.5rem;}[m~="b-4\.5"]{margin-bottom:1.125rem;}[m~="r-1"],[mr~="\31 "]{margin-right:0.25rem;}[m~="r-3"]{margin-right:0.75rem;}[m~="t-1"]{margin-top:0.25rem;}[m~="t-3"]{margin-top:0.75rem;}[m~="t-50"]{margin-top:12.5rem;}[m~="t-6"]{margin-top:1.5rem;}[mb~="\31 \.4"]{margin-bottom:0.35rem;}[mb~="\31 6"]{margin-bottom:4rem;}[mb~="\35 "]{margin-bottom:1.25rem;}[mr~="\32 "]{margin-right:0.5rem;}[mt~="\38 "]{margin-top:2rem;}.inline{display:inline;}.block,[block=""],[block~="\~"]{display:block;}.inline-block,[inline-block=""]{display:inline-block;}.contents{display:contents;}.hidden,[display~="none"],[hidden=""]{display:none;}.flex,[display~="flex"],[flex=""],[flex~="\~"]{display:flex;}.h-0\.5{height:0.125rem;}.h-10{height:2.5rem;}.h-40{height:10rem;}.h-60{height:15rem;}.h-8{height:2rem;}.h1{height:0.25rem;}.max-h-100vh{max-height:100vh;}.max-w-100\%{max-width:100%;}.max-w-1024px{max-width:1024px;}.max-w-1152px{max-width:1152px;}.max-w-256px{max-width:256px;}.max-w-392px{max-width:392px;}.max-w-592px{max-width:592px;}.min-w-128px{min-width:128px;}.w-10,[w~="\31 0"]{width:2.5rem;}.w-100\%,[w-100\%=""],[w~="\31 00\%"]{width:100%;}.w-50,[w~="\35 0"]{width:12.5rem;}.w-8{width:2rem;}[h~="\31 00\%"]{height:100%;}[h~="\31 1px"]{height:11px;}[h~="\31 2"]{height:3rem;}[h~="\31 8px"]{height:18px;}[h~="\35 "]{height:1.25rem;}[h~="\36 "]{height:1.5rem;}[w~="\31 1px"]{width:11px;}[w~="\31 2"]{width:3rem;}[w~="\31 6"]{width:4rem;}[w~="\31 8px"]{width:18px;}[w~="\31 px"]{width:1px;}[w~="\33 2"]{width:8rem;}[w~="\33 5\%"]{width:35%;}[w~="\35 "]{width:1.25rem;}[flex~="\31 "]{flex:1 1 0%;}.shrink{flex-shrink:1;}.shrink-0,[flex~="shrink-0"],[shrink~="\30 "]{flex-shrink:0;}[flex~="col"]{flex-direction:column;}[flex~="wrap"]{flex-wrap:wrap;}.table,[table=""]{display:table;}.table-cell,[table-cell=""]{display:table-cell;}.border-collapse{border-collapse:collapse;}.transform{transform:translateX(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotateZ(var(--un-rotate-z)) skewX(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z));}[cursor~="focus\:auto"]:focus{cursor:auto;}.cursor-pointer,[cursor-pointer~="\~"],[cursor~="pointer"]{cursor:pointer;}[cursor~="text"]{cursor:text;}[list~="none"]{list-style-type:none;}.items-start,[items-start~="\~"]{align-items:flex-start;}.items-center,[items-center=""],[items-center~="\~"]{align-items:center;}[justify~="end"]{justify-content:flex-end;}[justify~="center"]{justify-content:center;}[justify~="between"]{justify-content:space-between;}[justify~="around"]{justify-content:space-around;}.gap-4,[gap~="\34 "]{grid-gap:1rem;gap:1rem;}[gap~="\32 "]{grid-gap:0.5rem;gap:0.5rem;}[gap~="x-4"]{grid-column-gap:1rem;column-gap:1rem;}.whitespace-normal{white-space:normal;}.whitespace-pre-wrap{white-space:pre-wrap;}[break~="all"]{word-break:break-all;}.b-0{border-width:0px;border-style:solid;}.b-1,.border,[border~="\~"],[border~="\31 px"]{border-width:1px;border-style:solid;}.b-12{border-width:12px;border-style:solid;}.b-2{border-width:2px;border-style:solid;}.b-24{border-width:24px;border-style:solid;}.b-4\.5{border-width:4.5px;border-style:solid;}.b-40{border-width:40px;border-style:solid;}.b-5{border-width:5px;border-style:solid;}.b-8{border-width:8px;border-style:solid;}.border-b-1,[border-b-1=""],[border~="b-1"]{border-bottom-width:1px;border-bottom-style:solid;}.border-r-1,[border-r-1=""]{border-right-width:1px;border-right-style:solid;}.border-t-1,[border-t-1=""],[border~="t-1"]{border-top-width:1px;border-top-style:solid;}[border~="b-0"]{border-bottom-width:0px;border-bottom-style:solid;}[border~="t-0"]{border-top-width:0px;border-top-style:solid;}.border-\[\#eaecef\]{--un-border-opacity:1;border-color:rgba(234,236,239,var(--un-border-opacity));}.border-color-brand-dark,[hover~="border-color-brand-dark"]:hover{border-color:var(--island-c-brand-dark);}[border~="bg-soft"]{border-color:var(--island-c-bg-soft);}[border~="brand"]{border-color:var(--island-c-brand);}[border~="divider-light"]{border-color:var(--island-c-divider-light);}[border~="gray-light-3"]{border-color:var(--island-c-gray-light-3);}[border~="transparent"]{border-color:transparent;}.rounded{border-radius:0.25rem;}.rounded-2{border-radius:0.5rem;}.rounded-50{border-radius:12.5rem;}.rounded-full{border-radius:9999px;}.rounded-sm,[rounded-sm=""],[rounded~="sm"]{border-radius:0.125rem;}[rounded~="\32 xl"]{border-radius:1rem;}[rounded~="md"]{border-radius:0.375rem;}[rounded~="xl"]{border-radius:0.75rem;}.border-solid,[border~="solid"]{border-style:solid;}[border~="none"]{border-style:none;}.bg-\[\#f3f4f5\],[hover~="bg-\[\#f3f4f5\]"]:hover{--un-bg-opacity:1;background-color:rgba(243,244,245,var(--un-bg-opacity));}.bg-\[\#f5f5f5\]{--un-bg-opacity:1;background-color:rgba(245,245,245,var(--un-bg-opacity));}.bg-bg-mute,[hover~="bg-bg-mute"]:hover{background-color:var(--island-c-bg-mute);}.bg-gray{--un-bg-opacity:1;background-color:rgba(156,163,175,var(--un-bg-opacity));}.bg-white,[bg-white=""]{--un-bg-opacity:1;background-color:rgba(255,255,255,var(--un-bg-opacity));}.dark .dark\:hover\:bg-\#21b8a3:hover{--un-bg-opacity:1;background-color:rgba(33,184,163,var(--un-bg-opacity));}.dark [bg~="dark\:bg-default"],[bg~="bg-default"]{background-color:var(--island-c-bg);}[bg~="bg-soft"]{background-color:var(--island-c-bg-soft);}[bg~="brand-light"]{background-color:var(--island-c-brand-light);}[bg~="brand"]{background-color:var(--island-c-brand);}[bg~="divider-default"]{background-color:var(--island-c-divider);}[bg~="gray-200"]{--un-bg-opacity:1;background-color:rgba(229,231,235,var(--un-bg-opacity));}[bg~="gray-light-4"]{background-color:var(--island-c-gray-light-4);}[bg~="hover\:gray-300"]:hover{--un-bg-opacity:1;background-color:rgba(209,213,219,var(--un-bg-opacity));}.p-4{padding:1rem;}.pa-1,[p~="\31 "]{padding:0.25rem;}.pa-2,[p~="\32 "],[pa-2=""]{padding:0.5rem;}[p~="\31 \.2"]{padding:0.3rem;}[p~="\33 "]{padding:0.75rem;}[p~="\36 "]{padding:1.5rem;}.px,[p~="x-4"],[px=""]{padding-left:1rem;padding-right:1rem;}.px-2{padding-left:0.5rem;padding-right:0.5rem;}[p~="x-0\.8"]{padding-left:0.2rem;padding-right:0.2rem;}[p~="x-1\.5"]{padding-left:0.375rem;padding-right:0.375rem;}[p~="x-3"]{padding-left:0.75rem;padding-right:0.75rem;}[p~="x-6"]{padding-left:1.5rem;padding-right:1.5rem;}[p~="x-8"]{padding-left:2rem;padding-right:2rem;}[p~="y-0\.4"]{padding-top:0.1rem;padding-bottom:0.1rem;}[p~="y-1"]{padding-top:0.25rem;padding-bottom:0.25rem;}[p~="y-1\.6"]{padding-top:0.4rem;padding-bottom:0.4rem;}[p~="y-16"]{padding-top:4rem;padding-bottom:4rem;}[p~="y-2"]{padding-top:0.5rem;padding-bottom:0.5rem;}[p~="y-8"]{padding-top:2rem;padding-bottom:2rem;}.pb,[pb~="\34 "]{padding-bottom:1rem;}.pb-12,[p~="b-12"]{padding-bottom:3rem;}.pl,[p~="l-4"]{padding-left:1rem;}.pr{padding-right:1rem;}.pt{padding-top:1rem;}[p~="b-0"]{padding-bottom:0rem;}[p~="b-24"]{padding-bottom:6rem;}[p~="b-40"]{padding-bottom:10rem;}[p~="b-5"]{padding-bottom:1.25rem;}[p~="b-8"]{padding-bottom:2rem;}[p~="l-2"]{padding-left:0.5rem;}[p~="l-3"]{padding-left:0.75rem;}[p~="l-8"]{padding-left:2rem;}[p~="r-2"]{padding-right:0.5rem;}[p~="t-0"]{padding-top:0rem;}[p~="t-12"]{padding-top:3rem;}[p~="t-16"]{padding-top:4rem;}[p~="t-3"],[pt~="\33 "]{padding-top:0.75rem;}[p~="t-8"]{padding-top:2rem;}[pr~="\30 "]{padding-right:0rem;}[pt~="\32 "]{padding-top:0.5rem;}[pt~="\35 "]{padding-top:1.25rem;}[pt~="\36 "]{padding-top:1.5rem;}.text-center,[text~="center"]{text-align:center;}[text~="right"]{text-align:right;}[align~="middle"]{vertical-align:middle;}.hover\:text-2:hover,.text-2{font-size:0.5rem;}.text-1{font-size:0.25rem;}.text-3{font-size:0.75rem;}[text~="\31 3px"]{font-size:13px;}[text~="\31 rem"]{font-size:1rem;}[text~="\33 xl"]{font-size:1.875rem;line-height:2.25rem;}[text~="\36 xl"]{font-size:3.5rem;line-height:4rem;}[text~="sm"]{font-size:0.875rem;line-height:1.25rem;}[text~="xl"]{font-size:1.25rem;line-height:1.75rem;}[text~="xs"]{font-size:0.75rem;line-height:1rem;}.font-medium,[font-medium=""],[font-medium~="\~"],[font~="medium"]{font-weight:500;}[font~="bold"]{font-weight:700;}[font~="normal"]{font-weight:400;}[font~="semibold"]{font-weight:600;}.leading-5,[leading-5=""]{line-height:1.25rem;}.leading-6,[leading-6=""],[leading-6~="\~"]{line-height:1.5rem;}.leading-7,[leading-7=""]{line-height:1.75rem;}.leading-8,[leading-8=""]{line-height:2rem;}.color-brand-dark,.text-brand-dark,[hover~="color-brand-dark"]:hover,[hover~="text-brand-dark"]:hover{color:var(--island-c-brand-dark);}[color~="gray"]{--un-text-opacity:1;color:rgba(156,163,175,var(--un-text-opacity));}[color~="hover\:gray-500"]:hover{--un-text-opacity:1;color:rgba(107,114,128,var(--un-text-opacity));}.dark .dark\:text-gray-200{--un-text-opacity:1;color:rgba(229,231,235,var(--un-text-opacity));}.text-brand,[text-brand=""],[text~="brand"]{color:var(--island-c-brand);}.text-gray-700{--un-text-opacity:1;color:rgba(55,65,81,var(--un-text-opacity));}.text-text-1,[hover~="text-text-1"]:hover,[text~="text-1"]{color:var(--island-c-text-1);}.text-text-2,[text-text-2=""],[text~="hover\:text-2"]:hover,[text~="text-2"]{color:var(--island-c-text-2);}[text~="\[\#000\]"]{--un-text-opacity:1;color:rgba(0,0,0,var(--un-text-opacity));}[text~="\[\#2c3e50\]"],[text~="\#2c3e50"]{--un-text-opacity:1;color:rgba(44,62,80,var(--un-text-opacity));}[text~="gray-light-3"]{color:var(--island-c-gray-light-3);}[text~="text-3"]{color:var(--island-c-text-3);}.opacity-60,[hover~="opacity-60"]:hover{opacity:0.6;}[opacity~="\30 "]{opacity:0;}.shadow{--un-shadow:var(--un-shadow-inset) 0 1px 3px 0 var(--un-shadow-color, rgba(0,0,0,0.1)),var(--un-shadow-inset) 0 1px 2px -1px var(--un-shadow-color, rgba(0,0,0,0.1));box-shadow:var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow);}[shadow~="hover\:md"]:hover{--un-shadow:var(--un-shadow-inset) 0 4px 6px -1px var(--un-shadow-color, rgba(0,0,0,0.1)),var(--un-shadow-inset) 0 2px 4px -2px var(--un-shadow-color, rgba(0,0,0,0.1));box-shadow:var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow);}[shadow~="sm"]{--un-shadow:var(--un-shadow-inset) 0 1px 2px 0 var(--un-shadow-color, rgba(0,0,0,0.05));box-shadow:var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow);}.outline{outline-style:solid;}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms;}[transition~="all"]{transition-property:all;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms;}[transition~="background-color"]{transition-property:background-color;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms;}[transition~="border-color"]{transition-property:border-color;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms;}[transition~="color"]{transition-property:color;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms;}[transition~="opacity"]{transition-property:opacity;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms;}.duration-200,[transition~="duration-200"]{transition-duration:200ms;}.duration-300,[transition~="duration-300"]{transition-duration:300ms;}.duration-500,[transition~="duration-500"]{transition-duration:500ms;}.ease,[transition~="ease"]{transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);}.border-1,[border-1=""]{border:1px solid var(--island-c-divider-light);}.divider-bottom{border-bottom:1px solid var(--island-c-divider-light);}.divider-default{border-default:1px solid var(--island-c-divider-light);}.divider-left,[divider-left=""]{border-left:1px solid var(--island-c-divider-light);}.divider-light{border-light:1px solid var(--island-c-divider-light);}.divider-top,[divider-top=""],[not-first~="divider-top"]:not(:first-child){border-top:1px solid var(--island-c-divider-light);}[nav-h~="mobile"]{height:var(--island-nav-height-mobile);}.menu-item-before,[before~="menu-item-before"]::before{margin-right:12px;margin-left:12px;width:1px;height:24px;background-color:var(--island-c-divider-light);content:" ";}.avoid-text-overflow,[avoid-text-overflow=""]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}@media print{.print\:text-black{--un-text-opacity:1;color:rgba(0,0,0,var(--un-text-opacity));}}@media (min-width: 640px){.xs\:flex{display:flex;}}@media (min-width: 768px){.sm\:absolute,[pos~="sm\:absolute"]{position:absolute;}.sm\:top-8,[pos~="sm\:top-8"]{top:2rem;}[mb~="sm\:1"]{margin-bottom:0.25rem;}.sm\:flex,[display~="sm\:flex"]{display:flex;}.sm\:max-w-576px{max-width:576px;}.sm\:max-w-700px{max-width:700px;}.sm\:min-w-500px{min-width:500px;}[flex~="sm\:1"]{flex:1 1 0%;}[flex~="sm\:row"]{flex-direction:row;}[justify~="sm\:around"]{justify-content:space-around;}[p~="sm\:6"]{padding:1.5rem;}[p~="sm\:8"]{padding:2rem;}[p~="sm\:x-16"]{padding-left:4rem;padding-right:4rem;}[p~="sm\:x-8"]{padding-left:2rem;padding-right:2rem;}[p~="sm\:t-0"]{padding-top:0rem;}[p~="sm\:t-24"]{padding-top:6rem;}[pl~="sm\:8"]{padding-left:2rem;}[text~="sm\:5xl"]{font-size:3rem;line-height:1;}[text~="sm\:xl"]{font-size:1.25rem;line-height:1.75rem;}[leading-8~="sm\:\~"]{line-height:2rem;}[nav-h~="sm\:desktop"]{height:var(--island-nav-height-desktop);}}@media (min-width: 960px){[fixed~="md\:\~"]{position:fixed;}[order~="md\:1"]{order:1;}[order~="md\:2"]{order:2;}[m~="md\:0"]{margin:0rem;}.md\:block,[display~="md\:block"]{display:block;}[display~="md\:none"]{display:none;}.md\:max-w-712px,[md\:max-w-712px=""]{max-width:712px;}[flex~="md\:row"]{flex-direction:row;}[justify~="md\:start"]{justify-content:flex-start;}.md\:b-16{border-width:16px;border-style:solid;}.md\:border-b-transparent{border-bottom-color:transparent;}[p~="md\:x-16"]{padding-left:4rem;padding-right:4rem;}[p~="md\:b-16"]{padding-bottom:4rem;}[p~="md\:t-20"]{padding-top:5rem;}[pr~="md\:4"]{padding-right:1rem;}.md\:text-center{text-align:center;}[text~="md\:left"]{text-align:left;}[text~="md\:2xl"]{font-size:1.5rem;line-height:2rem;}[text~="md\:6xl"]{font-size:3.5rem;line-height:4rem;}.dark .md\:dark\:text-gray-300{--un-text-opacity:1;color:rgba(209,213,219,var(--un-text-opacity));}}@media (min-width: 1280px){.lg\:block,[display~="lg\:block"],[lg\:block=""]{display:block;}.lg\:flex,[display~="lg\:flex"]{display:flex;}.lg\:min-w-640px,[lg\:min-w-640px=""]{min-width:640px;}.lg\:border-b-transparent{border-bottom-color:transparent;}[nav-h~="lg\:desktop"]{height:var(--island-nav-height-desktop);}}@media (min-width: 960px){._nav_1ic07_2{-webkit-backdrop-filter:saturate(50%) blur(8px);backdrop-filter:saturate(50%) blur(8px)}@supports not (backdrop-filter: saturate(50%) blur(8px)){._nav_1ic07_2{background:rgba(255,255,255,.95)}.dark ._nav_1ic07_2{background:rgba(36,36,36,.95)}}}@media (min-width: 960px){._has-sidebar_1ic07_16 ._nav-bar-title_1ic07_16{margin-right:32px;width:calc(var(--island-sidebar-width) - 64px);border-bottom-color:var(--island-c-divider-light);background-color:var(--island-c-bg-alt)}}@media (min-width: 960px){._content_1ic07_24{margin-right:-32px;padding-right:32px;-webkit-backdrop-filter:saturate(50%) blur(8px);backdrop-filter:saturate(50%) blur(8px)}.dark ._has-sidebar_1ic07_16 ._content_1ic07_24{background:rgba(36,36,36,.7)}@supports not (backdrop-filter: saturate(50%) blur(8px)){._has-sidebar_1ic07_16 ._content_1ic07_24{background:rgba(255,255,255,.95)}.dark ._has-sidebar_1ic07_16 ._content_1ic07_24{background:rgba(36,36,36,.95)}}}._rightNav_1ic07_42{display:none}@media (min-width: 768px){._rightNav_1ic07_42{display:flex;align-items:center}}._container_1ic07_52{max-width:calc(var(--island-layout-max-width) - 64px)}._container_1ic07_52 :deep(*){pointer-events:all}._social-links-icon_1ic07_60{width:20px;height:100%;display:flex;fill:currentColor;color:var(--island-c-text-2)}._social-links-icon_1ic07_60:hover{color:var(--island-c-text-1)}._switch_1tqe3_1{position:relative;border-radius:11px;display:block;width:40px;height:22px;flex-shrink:0;border:1px solid var(--island-c-divider);background-color:var(--island-c-bg-mute);transition:border-color .25s,background-color .25s}._switch_1tqe3_1:hover{border-color:var(--island-c-gray)}._check_1tqe3_17{position:absolute;top:1px;left:1px;width:18px;height:18px;border-radius:50%;background-color:var(--island-c-white);box-shadow:var(--island-shadow-1);transition:background-color .25s,transform .25s}.dark ._check_1tqe3_17{background-color:var(--island-c-black);transform:translate(18px)}._icon_1tqe3_34{position:relative;display:block;width:18px;height:18px;border-radius:50%;overflow:hidden}._icon_1tqe3_34 svg{position:absolute;top:3px;left:3px;width:12px;height:12px;fill:var(--island-c-text-2)}._dark_1tqe3_29 ._icon_1tqe3_34 svg{fill:var(--island-c-text-1);transition:opacity .25s}._sun_8e60k_1{opacity:1}._moon_8e60k_5,.dark ._sun_8e60k_1{opacity:0}.dark ._moon_8e60k_5{opacity:1}._searchInput_y03a3_1{width:8.6rem;transition:width .3s}@media (max-width: 768px){._searchCommand_y03a3_7{display:none}._searchInput_y03a3_1{width:0;padding:0}._searchInput_y03a3_1._focus_y03a3_14{width:8.6rem;padding:0 .5rem}}._link_r3fql_1:hover{color:var(--island-c-brand);transition:color .2s}._link_r3fql_1{display:block;font-size:14px;font-weight:500}._social-links-icon_wx6p9_1{width:20px;height:100%;display:flex;fill:currentColor;color:var(--island-c-text-2)}._social-links-icon_wx6p9_1:hover{color:var(--island-c-text-1)}._navHamburger_14nz8_1{display:flex;justify-content:center;align-items:center;width:48px;height:56px}@media (min-width: 768px){._navHamburger_14nz8_1{display:none}}._container_14nz8_14{position:relative;width:16px;height:14px;overflow:hidden}._navHamburger_14nz8_1:hover ._top_14nz8_21{top:0;left:0;transform:translate(4px)}._navHamburger_14nz8_1:hover ._middle_14nz8_27{top:6px;left:0;transform:translate(0)}._navHamburger_14nz8_1:hover ._bottom_14nz8_33{top:12px;left:0;transform:translate(8px)}._navHamburger_14nz8_1._active_14nz8_39 ._top_14nz8_21{top:6px;transform:translate(0) rotate(225deg)}._navHamburger_14nz8_1._active_14nz8_39 ._middle_14nz8_27{top:6px;transform:translate(16px)}._navHamburger_14nz8_1._active_14nz8_39 ._bottom_14nz8_33{top:6px;transform:translate(0) rotate(135deg)}._navHamburger_14nz8_1._active_14nz8_39:hover ._top_14nz8_21,._navHamburger_14nz8_1._active_14nz8_39:hover ._middle_14nz8_27,._navHamburger_14nz8_1._active_14nz8_39:hover ._bottom_14nz8_33{transition:top .25s,background-color .25s,transform .25s}._top_14nz8_21,._middle_14nz8_27,._bottom_14nz8_33{position:absolute;width:16px;height:2px;background-color:var(--island-c-text-2);transition:top .25s,background-color .5s,transform .25s}._top_14nz8_21{top:0;left:0;transform:translate(0)}._middle_14nz8_27{top:6px;left:0;transform:translate(8px)}._bottom_14nz8_33{top:12px;left:0;transform:translate(4px)}._navScreen_1mkpq_1{display:none;position:fixed;top:var(--island-nav-height-mobile);right:0;bottom:0;left:0;padding:0 32px;width:100%;background-color:var(--island-c-bg);overflow-y:auto;transition:background-color .5s;pointer-events:auto;z-index:20}._active_1mkpq_17{display:block}._container_1mkpq_21{margin:0 auto;padding:24px 0 96px;max-width:248px}._navMenu_1mkpq_27{display:flex;justify-content:center;align-items:center;flex-direction:column}._navMenuItem_1mkpq_34{display:flex;justify-content:center;padding:12px 0 11px;line-height:24px;font-size:14px;font-weight:500;color:var(--island-c-text-1);border-bottom:1px solid var(--island-c-divider-light);transition:border-color .5s,color .25s}._navAppearance_1mkpq_46{padding-right:0}._socialAndAppearance_1mkpq_50{border-bottom:1px solid var(--island-c-divider-light);padding:8px 0 7px}._navScreenMenuGroup_1xte3_1{height:39px;overflow:hidden;transition:border-color .5s}._navScreenMenuGroup_1xte3_1._open_1xte3_7{padding-bottom:10px;height:auto}._button_1xte3_12{display:flex;justify-content:center;align-items:center;padding:8px 4px 7px 0;width:100%;line-height:24px;font-size:14px;font-weight:500;color:var(--vp-c-text-1);transition:color .25s}._buttonSpan_1xte3_25{display:flex;align-items:center;height:24px;padding-right:4px}._navScreenMenuGroup_1xte3_1 ._items_1xte3_32{visibility:hidden}._navScreenMenuGroup_1xte3_1._open_1xte3_7 ._items_1xte3_32{visibility:visible}._down_1xte3_40{transition:all .5s}._open_1xte3_7._down_1xte3_40{transform:rotate(180deg)}@media (min-width: 960px){._content_5cssi_2{margin:0;padding-left:var(--island-sidebar-width)}}@media (max-width: 960px){._docLayout_5cssi_8{position:relative;top:-80px}._content_5cssi_2{padding-top:12px}}@media (max-width: 768px){._docLayout_5cssi_8{top:-56px}}@media (min-width: 1280px){._contentArticle_5cssi_22{padding-left:72px}}@media (min-width: 1440px){._content_5cssi_2{padding-right:calc((100vw - var(--island-layout-max-width)) / 2);padding-left:calc((100vw - var(--island-layout-max-width)) / 2 + var(--island-sidebar-width))}}._aside-container_5cssi_32{position:sticky;top:0;margin-top:calc(var(--island-nav-height-desktop) * -1 - 32px);padding-top:calc(var(--island-nav-height-desktop) + 32px);height:100vh;overflow-x:hidden;overflow-y:auto;scrollbar-width:none}._aside-container_5cssi_32::-webkit-scrollbar{display:none}@media (min-width: 640px){._pager_1f77m_2{display:flex;flex-direction:column;width:50%}._pager_1f77m_2._has-next_1f77m_7{padding-top:0;padding-left:16px}}@media (min-width: 768px){._prev_1f77m_13,._next_1f77m_16{width:50%}}._pager-link_1f77m_20{display:block;border:1px solid var(--island-c-divider-light);border-radius:8px;padding:8px 16px;width:100%;height:100%;transition:border-color .25s}._pager-link_1f77m_20:hover{border-color:var(--island-c-brand)}._pager-link_1f77m_20:hover ._title_1f77m_34{color:var(--island-c-brand-dark)}._pager-link_1f77m_20._next_1f77m_16{margin-left:auto;text-align:right}._desc_1f77m_43{display:block;line-height:20px;font-size:12px;font-weight:500;color:var(--island-c-text-2)}._title_1f77m_34{display:block;line-height:20px;font-size:14px;font-weight:500;color:var(--island-c-brand);transition:color .25s}._localNav_ncerp_1{position:sticky;top:0;left:0;z-index:2;display:flex;justify-content:space-between;align-items:center;transform:translate(-24px);border-bottom:1px solid var(--island-c-divider-light);width:calc(100% + 48px);color:var(--island-c-text-1);transition:border-color .5s,background-color .5s,color .5s;background-color:var(--island-c-bg)}._localNav_ncerp_1 ._menu_ncerp_16{padding:12px 28px 11px;transition:color .5s}._localNav_ncerp_1 ._menu_ncerp_16:hover{color:var(--island-c-text-3)}@media (min-width: 960px){._localNav_ncerp_1,._backDrop_ncerp_28{display:none}}._backDrop_ncerp_28{position:fixed;top:0;right:0;bottom:0;left:0;z-index:var(--island-z-index-backdrop);background:rgba(0,0,0,.6)}._sidebar_iav29_1{position:fixed;top:0;bottom:0;left:0;z-index:var(--island-z-index-sidebar);padding:32px 32px 96px;width:calc(100vw - 64px);max-width:320px;background-color:var(--island-c-bg);opacity:0;box-shadow:var(--island-c-shadow-3);overflow-x:hidden;overflow-y:auto;transform:translate(-100%);transition:opacity .5s,transform .25s ease}.dark ._sidebar_iav29_1{box-shadow:var(--island-shadow-1)}._sidebar_iav29_1._open_iav29_23{opacity:1;visibility:visible;transform:translate(0);transition:opacity .25s,transform .5s cubic-bezier(.19,1,.22,1)}@media (min-width: 960px){._sidebar_iav29_1{z-index:1;padding-top:var(--island-nav-height-desktop);padding-bottom:128px;width:var(--island-sidebar-width);max-width:100%;background-color:var(--island-c-bg-alt);opacity:1;visibility:visible;box-shadow:none;transform:translate(0)}}@media (min-width: 1440px){._sidebar_iav29_1{padding-left:max(32px,32px + (100% - var(--island-layout-max-width)) / 2);width:calc(var(--island-sidebar-width) + (100% - var(--island-layout-max-width)) / 2)}}.api-index h1,.api-index h2,.api-index h3{font-weight:600;line-height:1}.api-index h1,.api-index h2{letter-spacing:-.02em}.api-index h1{font-size:38px}.api-index h2{font-size:24px;color:var(--island-c-text-1);margin:36px 0;transition:color .5s;padding-top:36px;border-top:1px solid var(--island-c-divider-light)}.api-index h3,.api-index h3>a{letter-spacing:-.01em;color:var(--island-c-brand);font-size:18px;margin-bottom:1em;transition:color .5s}.api-index h3>a{margin:0;line-height:1}.api-index h3>a:hover{transition:color .5s;color:var(--island-c-brand-dark)}.api-index h3:before{display:none}.api-index h1:hover ._header-anchor_j6pkj_41,.api-index h1:focus ._header-anchor_j6pkj_41,.api-index h2:hover ._header-anchor_j6pkj_41,.api-index h2:focus ._header-anchor_j6pkj_41,.api-index h3:hover ._header-anchor_j6pkj_41,.api-index h3:focus ._header-anchor_j6pkj_41,.api-index h4:hover ._header-anchor_j6pkj_41,.api-index h4:focus ._header-anchor_j6pkj_41,.api-index h5:hover ._header-anchor_j6pkj_41,.api-index h5:focus ._header-anchor_j6pkj_41,.api-index h6:hover ._header-anchor_j6pkj_41,.api-index h6:focus ._header-anchor_j6pkj_41{opacity:1}.api-index a._header-anchor_j6pkj_41{float:left;margin-top:.125em;margin-left:-.87em;padding-right:.23em;font-size:.85em;opacity:0;font-weight:500;color:var(--island-c-brand);transition:color .25s;text-decoration-style:dotted}.api-index a._header-anchor_j6pkj_41:hover,.api-index a._header-anchor_j6pkj_41:focus{text-decoration:none}._api-groups_j6pkj_72 a{font-size:15px;font-weight:500;line-height:2;color:var(--island-c-text-code);transition:color .5s}._api-group-li_j6pkj_80{position:relative}._api-group-li_j6pkj_80._level-2_j6pkj_83{padding-left:1rem}._api-group-li_j6pkj_80._level-2_j6pkj_83:before{left:-.25rem}._api-group-li_j6pkj_80:before{content:"";position:absolute;width:5px;height:5px;border-radius:50%;background-color:#3c3c3c54;transition:background-color .5s;left:-1.25rem;top:.9rem}.dark api-groups a{font-weight:400}._api-group_j6pkj_72{break-inside:avoid;margin-bottom:20px;background-color:var(--island-c-bg-soft);border-radius:8px;padding:28px 32px;transition:background-color .5s}@media (max-width: 768px){.api-index{padding:42px 24px}.api-index h1{font-size:32px;margin-bottom:24px}.api-index h2{font-size:22px;margin:42px 0 32px;padding-top:32px}._api-groups_j6pkj_72 a{font-size:14px}._header_j6pkj_41{display:block}}@media (min-width: 768px){._api-groups_j6pkj_72{columns:2}}@media (min-width: 1024px){._api-groups_j6pkj_72{columns:3}}.ch-terminal{font-size:14px;height:100%;box-sizing:border-box;background:#1e1e1e;color:#fafafa;overflow:hidden;padding:0 8px 8px;font-family:Ubuntu,Droid Sans,-apple-system,BlinkMacSystemFont,Segoe WPC,Segoe UI,sans-serif}.ch-terminal-container .ch-frame-content{background-color:inherit}.ch-terminal-prompt{color:#8fa2db;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ch-terminal-content{margin:0}.ch-terminal-output{opacity:.66}.ch-code-line-number{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;text-align:right;display:inline-block;box-sizing:border-box;padding-right:1.5ch;font-variant-numeric:tabular-nums}.ch-code-scroll-parent{display:block;font-weight:400;font-size:14px;line-height:19px;letter-spacing:0;border-radius:0;background-color:unset;color:unset;padding:0;box-sizing:content-box;border:none}.ch-code-scroll-parent ::-moz-selection{background-color:var(--ch-selection-background);color:inherit}.ch-code-scroll-parent ::selection{background-color:var(--ch-selection-background);color:inherit}.ch-code-button{position:absolute;top:10px;right:10px;width:1.1em;height:1.1em;cursor:pointer}.ch-no-scroll{overflow:hidden}.ch-expand-dialog{height:100vh;width:100vw;max-width:900px;border:0;background-color:transparent}.ch-expand-dialog::-webkit-backdrop{background-color:#000c}.ch-expand-dialog::backdrop{background-color:#000c}.ch-expand-close{position:absolute;top:10px;right:10px;cursor:pointer;color:#fff;width:26px;height:26px}.ch-expand-dialog-content{color:#fff;position:absolute;inset:40px;overflow:hidden;border-radius:8px;border:1px solid}.ch-code-browser{display:flex;height:100%;font-family:Ubuntu,Droid Sans,-apple-system,BlinkMacSystemFont,Segoe WPC,Segoe UI,sans-serif}.ch-code-browser-sidebar{border-right:1px solid;min-width:100px;padding:1em 0;font-size:.95rem}.ch-code-browser-content{overflow:auto;flex:1;padding:1em;white-space:pre;font-family:monospace;font-weight:400;font-size:1rem;line-height:1.2rem;letter-spacing:0;position:relative}.ch-code-browser-content ::-moz-selection{background-color:var(--ch-selection-background);color:inherit}.ch-code-browser-content ::selection{background-color:var(--ch-selection-background);color:inherit}.ch-code-browser-sidebar-file,.ch-code-browser-sidebar-folder{padding:.1em 1em}.ch-code-browser-sidebar-file{cursor:pointer}.ch-code-browser-sidebar-file:hover{background-color:var(--ch-hover-background);color:var(--ch-hover-foreground)}.ch-code-browser-button{width:1.5em;height:1.5em;cursor:pointer;min-width:1.5em;min-height:1.5em;position:absolute;right:.8em;top:.8em}.ch-editor-tab{border-right:1px solid #252526;min-width:-webkit-fit-content;min-width:-moz-fit-content;min-width:fit-content;flex-shrink:1;position:relative;display:flex;white-space:nowrap;cursor:pointer;height:100%;box-sizing:border-box;padding-left:15px;padding-right:15px;background-color:#2d2d2d;color:#ffffff80;min-width:0;border-bottom:1px solid}.ch-editor-tab-active{background-color:#1e1e1e;color:#fff;min-width:unset}.ch-editor-tab>div{margin-top:auto;margin-bottom:auto;font-size:12px;line-height:1.4em;text-overflow:ellipsis;overflow:hidden}.ch-editor-frame{display:flex;flex-direction:column;position:relative;overflow:hidden;font-family:Ubuntu,Droid Sans,-apple-system,BlinkMacSystemFont,Segoe WPC,Segoe UI,sans-serif;-moz-column-break-inside:avoid;break-inside:avoid;--ch-title-bar-height:30px;height:100%}.ch-editor-frame .ch-frame-title-bar{background:none}.ch-editor-terminal{position:absolute;overflow:hidden;bottom:0;width:100%;background-color:#1e1e1e;color:#e7e7e7;border-top:1px solid hsla(0,0%,50.2%,.35);padding:0 8px;box-sizing:border-box}.ch-editor-terminal-tab{text-transform:uppercase;padding:4px 10px 3px;font-size:11px;line-height:24px;display:flex}.ch-editor-terminal-tab>span{border-bottom:1px solid #e7e7e7}.ch-editor-terminal-content{margin-top:8px;height:calc(100% - 40px);box-sizing:border-box}.ch-editor-terminal-content .ch-terminal{font-size:12px;margin:0}.ch-editor-button{width:1.5em;height:1.5em;cursor:pointer;min-width:1.5em;min-height:1.5em;margin-right:.8em}.ch-frame{height:100%;display:flex;flex-direction:column}.ch-frame,.ch-simple-frame{font-family:Ubuntu,Droid Sans,-apple-system,BlinkMacSystemFont,Segoe WPC,Segoe UI,sans-serif;-moz-column-break-inside:avoid;break-inside:avoid;--ch-title-bar-height:30px}.ch-simple-frame{border-radius:6px;overflow:hidden;box-shadow:0 13px 27px -5px #32325d40,0 8px 16px -8px #0000004d,0 -6px 16px -6px #00000006}.ch-frame-content{background-color:var(--ch-content-background,#fafafa);flex-grow:1;flex-shrink:1;flex-basis:0;min-height:0}.ch-frame-zoom{--ch-frame-zoom:1;overflow:auto;position:relative;width:calc(100%/var(--ch-frame-zoom));height:calc(100%/var(--ch-frame-zoom));transform:scale(var(--ch-frame-zoom));transform-origin:left top}.ch-frame-title-bar{font-size:12px;width:100%;height:var(--ch-title-bar-height);min-height:var(--ch-title-bar-height);flex-grow:0;flex-shrink:0;display:flex;align-items:center;background-color:var(--ch-content-background,#252526);color:#ebebed;position:relative}.ch-frame-middle-bar{text-overflow:ellipsis;overflow:hidden;white-space:nowrap;font-size:1.2em}.ch-frame-left-bar,.ch-frame-right-bar{flex-grow:1;flex-basis:1em;height:100%;display:flex;align-items:center;width:-webkit-max-content;width:-moz-max-content;width:max-content}.ch-frame-buttons{margin:0 .8em;flex-shrink:0;height:1em;width:4.16em;display:flex}.ch-frame-button{width:1em;height:1em;border:.08em solid;border-radius:50%;display:inline-block;box-sizing:border-box}.ch-frame-button-space{width:.56em}.ch-frame-button-left{border-color:#ce5347;background-color:#ed6b60}.ch-frame-button-middle{border-color:#d6a243;background-color:#f5be4f}.ch-frame-button-right{border-color:#58a942;background-color:#62c554}.ch-mini-browser{height:100%}.ch-mini-browser .ch-frame-content iframe,.ch-mini-browser .ch-frame-content video{border:none;position:absolute;height:100%;width:100%}.ch-mini-browser .ch-frame-title-bar input{height:1.4em;font-size:1em;border-radius:.5em;border:none;box-shadow:none;flex:1;padding:0 10px;color:#544;min-width:5px;width:5px}.ch-browser-button{margin:0 1em;color:#999}.ch-browser-back-button{margin-left:.2em}.ch-browser-forward-button{margin-left:0}.ch-browser-open-button{color:inherit}.ch-browser-open-icon{display:block}.ch-spotlight{display:flex;gap:1.1rem;margin:1rem 0}.ch-spotlight-tabs{display:flex;flex-flow:column;flex:1;gap:.5rem;align-items:stretch}.ch-spotlight-tab{border-radius:.25rem;margin:0 -.5rem;padding:0 .5rem;border:1px solid #e3e3e3}.ch-spotlight-tab:hover{border-color:#222}.ch-spotlight-tab[data-selected]{border-color:#0070f3}.ch-spotlight-sticker{position:-webkit-sticky;position:sticky;top:10vh;display:flex;align-self:stretch;flex-flow:column;justify-content:center;width:420px;min-height:min(100%,80vh);max-height:80vh}.ch-spotlight-sticker .ch-codeblock,.ch-spotlight-sticker .ch-codegroup{width:100%;min-width:100%;min-height:min(100%,80vh);max-height:80vh;margin-top:0;margin-bottom:0;flex:1}.ch-spotlight-with-preview .ch-spotlight-sticker{height:80vh;gap:.5rem}.ch-spotlight-with-preview .ch-spotlight-sticker .ch-codeblock,.ch-spotlight-with-preview .ch-spotlight-sticker .ch-codegroup{min-height:0;flex:1}.ch-spotlight-with-preview .ch-spotlight-preview{height:280px}.ch-scrollycoding{display:flex;position:relative;margin:1rem 0;gap:1rem}.ch-scrollycoding-content{box-sizing:border-box;flex:1}.ch-scrollycoding-step-content{border-radius:8px;margin:0 -.5rem;padding:1rem .5rem;border:1.5px solid transparent;min-height:180px}.ch-scrollycoding-step-content[data-selected]{border-color:#0070f3}.ch-scrollycoding-step-content>:first-child{margin-top:0}.ch-scrollycoding-step-content>:last-child{margin-bottom:0}.ch-scrollycoding-sticker{position:-webkit-sticky;position:sticky;top:10vh;display:flex;align-self:start;flex-flow:column;justify-content:center;width:var(--ch-scrollycoding-sticker-width,420px);max-height:80vh}.ch-scrollycoding-with-preview .ch-scrollycoding-sticker{height:80vh;gap:.5rem}.ch-scrollycoding-with-preview .ch-scrollycoding-sticker .ch-codeblock,.ch-scrollycoding-with-preview .ch-scrollycoding-sticker .ch-codegroup{flex:1}.ch-scrollycoding-with-preview .ch-scrollycoding-preview{height:280px}.ch-scrollycoding-sticker .ch-codeblock,.ch-scrollycoding-sticker .ch-codegroup{width:100%;min-width:100%;min-height:var(--ch-scrollycoding-code-min-height,200px);max-height:80vh;margin-top:0;margin-bottom:0}.ch-scrollycoding-static .ch-preview{height:150px}.ch-slideshow{margin:1rem 0}.ch-slideshow-slide{display:flex;flex-flow:row;gap:.5rem;align-items:stretch;aspect-ratio:16/9}.ch-slideshow-slide .ch-codeblock,.ch-slideshow-slide .ch-codegroup{flex:2;margin-top:0;margin-bottom:0;height:auto}.ch-slideshow .ch-slideshow-preview{flex:1;height:auto;min-width:0}.ch-slideshow-range{display:flex;flex-flow:row;gap:.5rem}.ch-slideshow-range input{flex:1}.ch-slideshow-notes{border-radius:.25rem;margin-top:1rem;padding:1rem;border:1px solid #e3e3e3}.ch-slideshow-note{min-height:140px;max-height:140px;padding:.05px;overflow:auto}.ch-codeblock,.ch-codegroup,.ch-preview{border-radius:6px;overflow:hidden;height:-webkit-max-content;height:-moz-max-content;height:max-content;box-shadow:0 13px 27px -5px #32325d40,0 8px 16px -8px #0000004d,0 -6px 16px -6px #00000006;-webkit-print-color-adjust:exact;print-color-adjust:exact}.ch-codeblock>*,.ch-codegroup>*,.ch-preview>*{height:100%;max-height:inherit;min-height:inherit}.ch-codeblock,.ch-codegroup{margin-top:1.25em;margin-bottom:1.25em}.ch-inline-code>code{padding:.2em .15em;margin:.1em -.05em;border-radius:.25em;font-size:.9rem}.ch-section-link,.ch-section-link *{text-decoration:underline;-webkit-text-decoration-style:dotted;text-decoration-style:dotted;text-decoration-thickness:1px;-webkit-text-decoration-color:var(--ch-code-foreground,currentColor);text-decoration-color:var(--ch-code-foreground,currentColor)}.ch-section-link[data-active=true]{background-color:#bae6fd66}.ch-section-link[data-active=true],.ch-section-link[data-active=true] *{text-decoration-thickness:1.5px}.ch-code-inline-mark{border-radius:.25rem;padding:.2rem .15rem .1rem;margin:0 -.15rem}.ch-code-multiline-mark-border{width:3px;height:100%;position:absolute;left:0}.ch-code-inline-link,.ch-code-link :not(span)>span{text-decoration:underline;-webkit-text-decoration-style:dotted;text-decoration-style:dotted;color:inherit}.ch-scrollycoding .header-anchor,.ch-spotlight .header-anchor{display:none}._button_togsy_1{display:inline-block;border:1px solid transparent;text-align:center;font-weight:500;white-space:nowrap;transition:color .25s,border-color .25s,background-color .25s}._button_togsy_1:active{transition:color .1s,border-color .1s,background-color .1s}._button_togsy_1._medium_togsy_14{border-radius:20px;padding:0 20px;line-height:38px;font-size:14px}._button_togsy_1._big_togsy_21{border-radius:24px;padding:0 24px;line-height:46px;font-size:16px}._button_togsy_1._brand_togsy_28{border-color:var(--island-button-brand-border);color:var(--island-button-brand-text);background-color:var(--island-button-brand-bg)}._button_togsy_1._brand_togsy_28:hover{opacity:1;border-color:var(--island-button-brand-hover-border);color:var(--island-button-brand-hover-text);background-color:var(--island-button-brand-hover-bg)}._button_togsy_1._brand_togsy_28:active{border-color:var(--island-button-brand-active-border);color:var(--island-button-brand-active-text);background-color:var(--island-button-brand-active-bg)}._button_togsy_1._alt_togsy_47{border-color:var(--island-button-alt-border);color:var(--island-button-alt-text);background-color:var(--island-button-alt-bg)}._button_togsy_1._alt_togsy_47:hover{border-color:var(--island-button-alt-hover-border);color:var(--island-button-alt-hover-text);background-color:var(--island-button-alt-hover-bg)}._button_togsy_1._alt_togsy_47:active{border-color:var(--island-button-alt-active-border);color:var(--island-button-alt-active-text);background-color:var(--island-button-alt-active-bg)}._clip_zensi_1{background:var(--island-home-hero-name-background);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:var(--island-home-hero-name-color)}@media (min-width: 640px){._grid-2_aoqy8_2,._grid-4_aoqy8_3,._grid-6_aoqy8_4{width:50%}}@media (min-width: 768px){._grid-2_aoqy8_2,._grid-4_aoqy8_3{width:50%}._grid-3_aoqy8_13,._grid-6_aoqy8_4{width:33.3333333333%}}@media (min-width: 960px){._grid-4_aoqy8_3{width:33.3333333333%}}
|