diff --git a/Documentation/.vitepress/cache/deps/_metadata.json b/Documentation/.vitepress/cache/deps/_metadata.json index 9c62921..c34ee45 100644 --- a/Documentation/.vitepress/cache/deps/_metadata.json +++ b/Documentation/.vitepress/cache/deps/_metadata.json @@ -1,11 +1,11 @@ { - "hash": "c32c40ee", - "browserHash": "8bb4da6e", + "hash": "8c80eb0e", + "browserHash": "11652ff9", "optimized": { "vue": { "src": "../../../node_modules/vue/dist/vue.runtime.esm-bundler.js", "file": "vue.js", - "fileHash": "a4a8559a", + "fileHash": "363b117a", "needsInterop": false } }, diff --git a/Documentation/.vitepress/config.js b/Documentation/.vitepress/config.js index 409184d..2ee9f67 100644 --- a/Documentation/.vitepress/config.js +++ b/Documentation/.vitepress/config.js @@ -186,10 +186,18 @@ function sidebar() { text: 'Distances', link: '/core/converters/distances' }, + { + text: 'Energies', + link: '/core/converters/energies' + }, { text: 'Masses', link: '/core/converters/masses' }, + { + text: 'Speeds', + link: '/core/converters/speeds' + }, { text: 'Storage', link: '/core/converters/storage' diff --git a/Documentation/core/converters/energies.md b/Documentation/core/converters/energies.md new file mode 100644 index 0000000..7b130e1 --- /dev/null +++ b/Documentation/core/converters/energies.md @@ -0,0 +1,66 @@ +# Energies +This page is about the `Energies` class available in [`PeyrSharp.Core.Converters`](/core/converters.md). +You can find here all of its methods. + +::: info +This class is `static`. +::: + +## Compatibility + +The `Energies` class is part of the `PeyrSharp.Core` module, which is compatible with all of these frameworks and platforms: + +| Package/Platform | Windows | macOS | Linux + others | +|------------------ |--------- |------- |---------------- | +| Core | ✅ | ✅ | ✅ | +| **Framework** | **.NET 5** | **.NET 6** | **.NET 7** | +| Core | ✅ | ✅ | ✅ | + +## Methods +### CaloriesToJoules(calories) +#### Definition + +Converts calories to joules. + +#### Arguments + +| Type | Name | Meaning | +|----------|------------|-----------------------------------------------------| +| `double` | `calories` | The amount of energy in calories to be converted. | + +#### Returns + +The equivalent amount of energy in joules. + +#### Usage + +~~~ c# +using PeyrSharp.Core.Converters; + +double calories = 100.0; +double joules = Energies.CaloriesToJoules(calories); +~~~ + +### JoulesToCalories(joules) +#### Definition + +Converts joules to calories. + +#### Arguments + +| Type | Name | Meaning | +| -------- | -------- | ---------------------------- | +| `double` | `joules` | The amount of energy in joules. | + +#### Returns + +The equivalent amount of energy in calories. + +#### Usage + +~~~ c# +using PeyrSharp.Core.Converters; + +double joules = 1000.0; +double calories = Energies.JoulesToCalories(joules); +~~~ diff --git a/Documentation/core/converters/speeds.md b/Documentation/core/converters/speeds.md new file mode 100644 index 0000000..caaf839 --- /dev/null +++ b/Documentation/core/converters/speeds.md @@ -0,0 +1,217 @@ +# Speeds +This page is about the `Speeds` class available in [`PeyrSharp.Core.Converters`](/core/converters.md). +You can find here all of its methods. + +::: info +This class is `static`. +::: + +## Compatibility + +The `Speeds` class is part of the `PeyrSharp.Core` module, which is compatible with all of these frameworks and platforms: + +| Package/Platform | Windows | macOS | Linux + others | +|------------------ |--------- |------- |---------------- | +| Core | ✅ | ✅ | ✅ | +| **Framework** | **.NET 5** | **.NET 6** | **.NET 7** | +| Core | ✅ | ✅ | ✅ | + +## Methods +### KnotsToKilometersPerHour(knots) +#### Definition + +Converts knots to kilometers per hour. + +#### Arguments + +| Type | Name | Meaning | +|----------- |----------- |--------------------------------- | +| `double` | `knots` | The speed in knots. | + +#### Returns + +The equivalent speed in kilometers per hour. + +#### Usage + +~~~ c# +using PeyrSharp.Core.Converters; + +double speedInKnots = 20.0; +double speedInKilometersPerHour = Speeds.KnotsToKilometersPerHour(speedInKnots); +Console.WriteLine($"{speedInKnots} knots is equivalent to {speedInKilometersPerHour} km/h"); +~~~ + +### KilometersPerHourToKnots(kilometersPerHour) + +#### Definition + +Converts kilometers per hour to knots. + +#### Arguments + +| Type | Name | Description | +|----------- |---------------------- |--------------------------------- | +| `double` | `kilometersPerHour` | The speed in kilometers per hour. | + +#### Returns + +The equivalent speed in knots. + +#### Usage + +~~~ c# +using PeyrSharp.Core.Converters; + +double speedInKilometersPerHour = 40.0; +double speedInKnots = Speeds.KilometersPerHourToKnots(speedInKilometersPerHour); +Console.WriteLine($"{speedInKilometersPerHour} km/h is equivalent to {speedInKnots} knots"); +~~~ + +### KnotsToMilesPerHour(knots) + +#### Definition +Converts knots to miles per hour. + +#### Arguments +| Type | Name | Description | +|-----------|-------|--------------------| +| `double` | `knots` | The speed in knots. | + +#### Returns +The equivalent speed in miles per hour. + +#### Usage +~~~ c# +using PeyrSharp.Core.Converters; + +double speedInKnots = 20.0; +double speedInMilesPerHour = Speeds.KnotsToMilesPerHour(speedInKnots); +Console.WriteLine($"{speedInKnots} knots is equivalent to {speedInMilesPerHour} mph"); +~~~ + +### MilesPerHourToKnots(milesPerHour) +#### Definition + +Converts miles per hour to knots. + +#### Arguments + +| Type | Name | Description | +|----------- |--------------- |--------------------------- | +| `double` | `milesPerHour` | The speed in miles per hour.| + +#### Returns + +The equivalent speed in knots. + +#### Usage + +~~~ c# +using PeyrSharp.Core.Converters; + +double speedInMilesPerHour = 60.0; +double speedInKnots = Speeds.MilesPerHourToKnots(speedInMilesPerHour); +Console.WriteLine($"{speedInMilesPerHour} miles/hour is equivalent to {speedInKnots} knots"); +~~~ + +### KilometersPerHourToMetersPerSecond(kilometersPerHour) + +#### Definition + +Converts kilometers per hour to meters per second. + +#### Arguments + +| Type | Name | Description | +|---------------------------|---------------------|-----------------------------------------------------| +| `double` | `kilometersPerHour` | The speed in kilometers per hour. | + +#### Returns + +The equivalent speed in meters per second. + +#### Usage + +~~~ c# +using PeyrSharp.Core.Converters; + +double speedInKilometersPerHour = 100.0; +double speedInMetersPerSecond = Speeds.KilometersPerHourToMetersPerSecond(speedInKilometersPerHour); +Console.WriteLine($"{speedInKilometersPerHour} km/h is equivalent to {speedInMetersPerSecond} m/s"); +~~~ + +### MetersPerSecondToKilometersPerHour(metersPerSecond) +#### Definition + +Converts meters per second to kilometers per hour. + +#### Arguments + +| Type | Name | Meaning | +|---------------|-------------------|-----------------------------| +| `double` | `metersPerSecond` | The speed in meters per second. | + +#### Returns + +The equivalent speed in kilometers per hour. + +#### Usage + +~~~ c# +using PeyrSharp.Core.Converters; + +double speedInMetersPerSecond = 10.0; +double speedInKilometersPerHour = Speeds.MetersPerSecondToKilometersPerHour(speedInMetersPerSecond); +Console.WriteLine($"{speedInMetersPerSecond} m/s is equivalent to {speedInKilometersPerHour} km/h"); +~~~ + +### MilesPerHourToKilometersPerHour(milesPerHour) +#### Definition + +Converts miles per hour to kilometers per hour. + +#### Arguments + +| Type | Name | Description | +|----------- |--------------- |-------------------------------- | +| `double` | `milesPerHour` | The speed in miles per hour. | + +#### Returns + +The equivalent speed in kilometers per hour. + +#### Usage + +~~~ c# +using PeyrSharp.Core.Converters; + +double speedInMilesPerHour = 60.0; +double speedInKilometersPerHour = Speeds.MilesPerHourToKilometersPerHour(speedInMilesPerHour); +Console.WriteLine($"{speedInMilesPerHour} mph is equivalent to {speedInKilometersPerHour} km/h"); +~~~ + +### KilometersPerHourToMilesPerHour(kilometersPerHour) +#### Definition + +Converts kilometers per hour to miles per hour. + +#### Arguments + +| Type | Name | Description | +|----------- |--------------------- |--------------------------------------- | +| `double` | `kilometersPerHour` | The speed in kilometers per hour. | + +#### Returns + +The equivalent speed in miles per hour. + +#### Usage + +~~~ c# +using PeyrSharp.Core.Converters; + +double speedInKilometersPerHour = 50.0; +double speedInMilesPerHour = Speeds.KilometersPerHourToMilesPerHour(speedInKilometersPerHour); +Console.WriteLine($"{speedInKilometersPerHour} km/h is equivalent to {speedInMilesPerHour} mph"); +~~~ \ No newline at end of file diff --git a/Documentation/extensions/string.md b/Documentation/extensions/string.md index c481a94..ae822e1 100644 --- a/Documentation/extensions/string.md +++ b/Documentation/extensions/string.md @@ -215,3 +215,26 @@ string str = "test"; string upper = str.ToUpperAt(); // Uppercase the first letter of the string // upper = "Test" ~~~ +### Reverse(input) +#### Definition + +Reverses a `string`. + +#### Arguments + +| Type | Name | Description | +|------------|---------|----------------------| +| `string` | `input` | The string to reverse. | + +#### Returns + +A `string` representing the reversed input. + +#### Usage + +~~~ c# +using PeyrSharp.Extensions; + +string reversed = "Hello, world!".Reverse(); +// Output: "!dlrow ,olleH" +~~~ \ No newline at end of file diff --git a/Documentation/reference.md b/Documentation/reference.md index 8f5faec..7d2a616 100644 --- a/Documentation/reference.md +++ b/Documentation/reference.md @@ -10,7 +10,9 @@ The reference of PeyrSharp. - [HEX](/core/converters/colors/hex.md) - [HSV](/core/converters/colors/hsv.md) - [Distances](/core/converters/distances.md) + - [Energies](/core/converters/energies.md) - [Masses](/core/converters/masses.md) + - [Speeds](/core/converters/speeds.md) - [Storage](/core/converters/storage.md) - [Temperatures](/core/converters/temperatures.md) - [Time](/core/converters/time.md) diff --git a/docs/404.html b/docs/404.html index 4b08381..87d0a51 100644 --- a/docs/404.html +++ b/docs/404.html @@ -6,15 +6,15 @@ 404 | PeyrSharp - +
Skip to content

404

PAGE NOT FOUND

But if you don't change your direction, and if you keep looking, you may end up where you are heading.

Released under the MIT License.

- - + + \ No newline at end of file diff --git a/docs/assets/app.411d0108.js b/docs/assets/app.14bef1c5.js similarity index 65% rename from docs/assets/app.411d0108.js rename to docs/assets/app.14bef1c5.js index 1a9b1a3..ad3db81 100644 --- a/docs/assets/app.411d0108.js +++ b/docs/assets/app.14bef1c5.js @@ -1,8 +1,8 @@ -function Ds(e,t){const n=Object.create(null),s=e.split(",");for(let o=0;o!!n[o.toLowerCase()]:o=>!!n[o]}function Us(e){if(q(e)){const t={};for(let n=0;n{if(n){const s=n.split(Bi);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function me(e){let t="";if(be(e))t=e;else if(q(e))for(let n=0;nbe(e)?e:e==null?"":q(e)||ve(e)&&(e.toString===gr||!Q(e.toString))?JSON.stringify(e,_r,2):String(e),_r=(e,t)=>t&&t.__v_isRef?_r(e,t.value):Bt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,o])=>(n[`${s} =>`]=o,n),{})}:mr(t)?{[`Set(${t.size})`]:[...t.values()]}:ve(t)&&!q(t)&&!xr(t)?String(t):t,ge={},Ot=[],Ke=()=>{},zi=()=>!1,ji=/^on[^a-z]/,vn=e=>ji.test(e),zs=e=>e.startsWith("onUpdate:"),we=Object.assign,js=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Ki=Object.prototype.hasOwnProperty,re=(e,t)=>Ki.call(e,t),q=Array.isArray,Bt=e=>Gn(e)==="[object Map]",mr=e=>Gn(e)==="[object Set]",Q=e=>typeof e=="function",be=e=>typeof e=="string",Ks=e=>typeof e=="symbol",ve=e=>e!==null&&typeof e=="object",vr=e=>ve(e)&&Q(e.then)&&Q(e.catch),gr=Object.prototype.toString,Gn=e=>gr.call(e),Gi=e=>Gn(e).slice(8,-1),xr=e=>Gn(e)==="[object Object]",Gs=e=>be(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,nn=Ds(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Wn=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Wi=/-(\w)/g,Qe=Wn(e=>e.replace(Wi,(t,n)=>n?n.toUpperCase():"")),qi=/\B([A-Z])/g,Xt=Wn(e=>e.replace(qi,"-$1").toLowerCase()),qn=Wn(e=>e.charAt(0).toUpperCase()+e.slice(1)),us=Wn(e=>e?`on${qn(e)}`:""),cn=(e,t)=>!Object.is(e,t),fs=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Yi=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Xi=e=>{const t=be(e)?Number(e):NaN;return isNaN(t)?e:t};let wo;const Ji=()=>wo||(wo=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});let Ne;class Qi{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Ne,!t&&Ne&&(this.index=(Ne.scopes||(Ne.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=Ne;try{return Ne=this,t()}finally{Ne=n}}}on(){Ne=this}off(){Ne=this.parent}stop(t){if(this._active){let n,s;for(n=0,s=this.effects.length;n{const t=new Set(e);return t.w=0,t.n=0,t},br=e=>(e.w&pt)>0,kr=e=>(e.n&pt)>0,tl=({deps:e})=>{if(e.length)for(let t=0;t{const{deps:t}=e;if(t.length){let n=0;for(let s=0;s{(d==="length"||d>=a)&&l.push(u)})}else switch(n!==void 0&&l.push(i.get(n)),t){case"add":q(e)?Gs(n)&&l.push(i.get("length")):(l.push(i.get(Et)),Bt(e)&&l.push(i.get($s)));break;case"delete":q(e)||(l.push(i.get(Et)),Bt(e)&&l.push(i.get($s)));break;case"set":Bt(e)&&l.push(i.get(Et));break}if(l.length===1)l[0]&&Ps(l[0]);else{const a=[];for(const u of l)u&&a.push(...u);Ps(Ws(a))}}function Ps(e,t){const n=q(e)?e:[...e];for(const s of n)s.computed&&Po(s);for(const s of n)s.computed||Po(s)}function Po(e,t){(e!==ze||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}const sl=Ds("__proto__,__v_isRef,__isVue"),Pr=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Ks)),ol=Ys(),rl=Ys(!1,!0),il=Ys(!0),Co=ll();function ll(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const s=ce(this);for(let r=0,i=this.length;r{e[t]=function(...n){Jt();const s=ce(this)[t].apply(this,n);return Qt(),s}}),e}function al(e){const t=ce(this);return Ae(t,"has",e),t.hasOwnProperty(e)}function Ys(e=!1,t=!1){return function(s,o,r){if(o==="__v_isReactive")return!e;if(o==="__v_isReadonly")return e;if(o==="__v_isShallow")return t;if(o==="__v_raw"&&r===(e?t?$l:Vr:t?Er:Tr).get(s))return s;const i=q(s);if(!e){if(i&&re(Co,o))return Reflect.get(Co,o,r);if(o==="hasOwnProperty")return al}const l=Reflect.get(s,o,r);return(Ks(o)?Pr.has(o):sl(o))||(e||Ae(s,"get",o),t)?l:Ce(l)?i&&Gs(o)?l:l.value:ve(l)?e?Qs(l):Xn(l):l}}const cl=Cr(),ul=Cr(!0);function Cr(e=!1){return function(n,s,o,r){let i=n[s];if(Gt(i)&&Ce(i)&&!Ce(o))return!1;if(!e&&(!Nn(o)&&!Gt(o)&&(i=ce(i),o=ce(o)),!q(n)&&Ce(i)&&!Ce(o)))return i.value=o,!0;const l=q(n)&&Gs(s)?Number(s)e,Yn=e=>Reflect.getPrototypeOf(e);function $n(e,t,n=!1,s=!1){e=e.__v_raw;const o=ce(e),r=ce(t);n||(t!==r&&Ae(o,"get",t),Ae(o,"get",r));const{has:i}=Yn(o),l=s?Xs:n?eo:un;if(i.call(o,t))return l(e.get(t));if(i.call(o,r))return l(e.get(r));e!==o&&e.get(t)}function Pn(e,t=!1){const n=this.__v_raw,s=ce(n),o=ce(e);return t||(e!==o&&Ae(s,"has",e),Ae(s,"has",o)),e===o?n.has(e):n.has(e)||n.has(o)}function Cn(e,t=!1){return e=e.__v_raw,!t&&Ae(ce(e),"iterate",Et),Reflect.get(e,"size",e)}function So(e){e=ce(e);const t=ce(this);return Yn(t).has.call(t,e)||(t.add(e),st(t,"add",e,e)),this}function To(e,t){t=ce(t);const n=ce(this),{has:s,get:o}=Yn(n);let r=s.call(n,e);r||(e=ce(e),r=s.call(n,e));const i=o.call(n,e);return n.set(e,t),r?cn(t,i)&&st(n,"set",e,t):st(n,"add",e,t),this}function Eo(e){const t=ce(this),{has:n,get:s}=Yn(t);let o=n.call(t,e);o||(e=ce(e),o=n.call(t,e)),s&&s.call(t,e);const r=t.delete(e);return o&&st(t,"delete",e,void 0),r}function Vo(){const e=ce(this),t=e.size!==0,n=e.clear();return t&&st(e,"clear",void 0,void 0),n}function Sn(e,t){return function(s,o){const r=this,i=r.__v_raw,l=ce(i),a=t?Xs:e?eo:un;return!e&&Ae(l,"iterate",Et),i.forEach((u,d)=>s.call(o,a(u),a(d),r))}}function Tn(e,t,n){return function(...s){const o=this.__v_raw,r=ce(o),i=Bt(r),l=e==="entries"||e===Symbol.iterator&&i,a=e==="keys"&&i,u=o[e](...s),d=n?Xs:t?eo:un;return!t&&Ae(r,"iterate",a?$s:Et),{next(){const{value:_,done:v}=u.next();return v?{value:_,done:v}:{value:l?[d(_[0]),d(_[1])]:d(_),done:v}},[Symbol.iterator](){return this}}}}function it(e){return function(...t){return e==="delete"?!1:this}}function ml(){const e={get(r){return $n(this,r)},get size(){return Cn(this)},has:Pn,add:So,set:To,delete:Eo,clear:Vo,forEach:Sn(!1,!1)},t={get(r){return $n(this,r,!1,!0)},get size(){return Cn(this)},has:Pn,add:So,set:To,delete:Eo,clear:Vo,forEach:Sn(!1,!0)},n={get(r){return $n(this,r,!0)},get size(){return Cn(this,!0)},has(r){return Pn.call(this,r,!0)},add:it("add"),set:it("set"),delete:it("delete"),clear:it("clear"),forEach:Sn(!0,!1)},s={get(r){return $n(this,r,!0,!0)},get size(){return Cn(this,!0)},has(r){return Pn.call(this,r,!0)},add:it("add"),set:it("set"),delete:it("delete"),clear:it("clear"),forEach:Sn(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(r=>{e[r]=Tn(r,!1,!1),n[r]=Tn(r,!0,!1),t[r]=Tn(r,!1,!0),s[r]=Tn(r,!0,!0)}),[e,n,t,s]}const[vl,gl,xl,yl]=ml();function Js(e,t){const n=t?e?yl:xl:e?gl:vl;return(s,o,r)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?s:Reflect.get(re(n,o)&&o in s?n:s,o,r)}const bl={get:Js(!1,!1)},kl={get:Js(!1,!0)},wl={get:Js(!0,!1)},Tr=new WeakMap,Er=new WeakMap,Vr=new WeakMap,$l=new WeakMap;function Pl(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Cl(e){return e.__v_skip||!Object.isExtensible(e)?0:Pl(Gi(e))}function Xn(e){return Gt(e)?e:Zs(e,!1,Sr,bl,Tr)}function Sl(e){return Zs(e,!1,_l,kl,Er)}function Qs(e){return Zs(e,!0,pl,wl,Vr)}function Zs(e,t,n,s,o){if(!ve(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const r=o.get(e);if(r)return r;const i=Cl(e);if(i===0)return e;const l=new Proxy(e,i===2?s:n);return o.set(e,l),l}function Ft(e){return Gt(e)?Ft(e.__v_raw):!!(e&&e.__v_isReactive)}function Gt(e){return!!(e&&e.__v_isReadonly)}function Nn(e){return!!(e&&e.__v_isShallow)}function Lr(e){return Ft(e)||Gt(e)}function ce(e){const t=e&&e.__v_raw;return t?ce(t):e}function sn(e){return Hn(e,"__v_skip",!0),e}const un=e=>ve(e)?Xn(e):e,eo=e=>ve(e)?Qs(e):e;function Ar(e){dt&&ze&&(e=ce(e),$r(e.dep||(e.dep=Ws())))}function Ir(e,t){e=ce(e);const n=e.dep;n&&Ps(n)}function Ce(e){return!!(e&&e.__v_isRef===!0)}function le(e){return Mr(e,!1)}function Tl(e){return Mr(e,!0)}function Mr(e,t){return Ce(e)?e:new El(e,t)}class El{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:ce(t),this._value=n?t:un(t)}get value(){return Ar(this),this._value}set value(t){const n=this.__v_isShallow||Nn(t)||Gt(t);t=n?t:ce(t),cn(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:un(t),Ir(this))}}function p(e){return Ce(e)?e.value:e}const Vl={get:(e,t,n)=>p(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const o=e[t];return Ce(o)&&!Ce(n)?(o.value=n,!0):Reflect.set(e,t,n,s)}};function Hr(e){return Ft(e)?e:new Proxy(e,Vl)}var Nr;class Ll{constructor(t,n,s,o){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this[Nr]=!1,this._dirty=!0,this.effect=new qs(t,()=>{this._dirty||(this._dirty=!0,Ir(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=s}get value(){const t=ce(this);return Ar(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}Nr="__v_isReadonly";function Al(e,t,n=!1){let s,o;const r=Q(e);return r?(s=e,o=Ke):(s=e.get,o=e.set),new Ll(s,o,r||!o,n)}function ht(e,t,n,s){let o;try{o=s?e(...s):e()}catch(r){gn(r,t,n)}return o}function Re(e,t,n,s){if(Q(e)){const r=ht(e,t,n,s);return r&&vr(r)&&r.catch(i=>{gn(i,t,n)}),r}const o=[];for(let r=0;r>>1;dn(Pe[s])Xe&&Pe.splice(t,1)}function Nl(e){q(e)?Rt.push(...e):(!nt||!nt.includes(e,e.allowRecurse?Pt+1:Pt))&&Rt.push(e),Br()}function Lo(e,t=fn?Xe+1:0){for(;tdn(n)-dn(s)),Pt=0;Pte.id==null?1/0:e.id,Ol=(e,t)=>{const n=dn(e)-dn(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Fr(e){Cs=!1,fn=!0,Pe.sort(Ol);const t=Ke;try{for(Xe=0;Xebe(w)?w.trim():w)),_&&(o=n.map(Yi))}let l,a=s[l=us(t)]||s[l=us(Qe(t))];!a&&r&&(a=s[l=us(Xt(t))]),a&&Re(a,e,6,o);const u=s[l+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Re(u,e,6,o)}}function Rr(e,t,n=!1){const s=t.emitsCache,o=s.get(e);if(o!==void 0)return o;const r=e.emits;let i={},l=!1;if(!Q(e)){const a=u=>{const d=Rr(u,t,!0);d&&(l=!0,we(i,d))};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}return!r&&!l?(ve(e)&&s.set(e,null),null):(q(r)?r.forEach(a=>i[a]=null):we(i,r),ve(e)&&s.set(e,i),i)}function Qn(e,t){return!e||!vn(t)?!1:(t=t.slice(2).replace(/Once$/,""),re(e,t[0].toLowerCase()+t.slice(1))||re(e,Xt(t))||re(e,t))}let Se=null,Zn=null;function Bn(e){const t=Se;return Se=e,Zn=e&&e.type.__scopeId||null,t}function Ze(e){Zn=e}function et(){Zn=null}function M(e,t=Se,n){if(!t||e._n)return e;const s=(...o)=>{s._d&&Do(-1);const r=Bn(t);let i;try{i=e(...o)}finally{Bn(r),s._d&&Do(1)}return i};return s._n=!0,s._c=!0,s._d=!0,s}function ds(e){const{type:t,vnode:n,proxy:s,withProxy:o,props:r,propsOptions:[i],slots:l,attrs:a,emit:u,render:d,renderCache:_,data:v,setupState:w,ctx:V,inheritAttrs:A}=e;let G,x;const P=Bn(e);try{if(n.shapeFlag&4){const X=o||s;G=Ue(d.call(X,X,_,r,w,v,V)),x=a}else{const X=t;G=Ue(X.length>1?X(r,{attrs:a,slots:l,emit:u}):X(r,null)),x=t.props?a:Fl(a)}}catch(X){rn.length=0,gn(X,e,1),G=E(Oe)}let N=G;if(x&&A!==!1){const X=Object.keys(x),{shapeFlag:te}=N;X.length&&te&7&&(i&&X.some(zs)&&(x=Rl(x,i)),N=_t(N,x))}return n.dirs&&(N=_t(N),N.dirs=N.dirs?N.dirs.concat(n.dirs):n.dirs),n.transition&&(N.transition=n.transition),G=N,Bn(P),G}const Fl=e=>{let t;for(const n in e)(n==="class"||n==="style"||vn(n))&&((t||(t={}))[n]=e[n]);return t},Rl=(e,t)=>{const n={};for(const s in e)(!zs(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function Dl(e,t,n){const{props:s,children:o,component:r}=e,{props:i,children:l,patchFlag:a}=t,u=r.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&a>=0){if(a&1024)return!0;if(a&16)return s?Ao(s,i,u):!!i;if(a&8){const d=t.dynamicProps;for(let _=0;_e.__isSuspense;function Dr(e,t){t&&t.pendingBranch?q(e)?t.effects.push(...e):t.effects.push(e):Nl(e)}function Dt(e,t){if(ye){let n=ye.provides;const s=ye.parent&&ye.parent.provides;s===n&&(n=ye.provides=Object.create(s)),n[e]=t}}function Ge(e,t,n=!1){const s=ye||Se;if(s){const o=s.parent==null?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides;if(o&&e in o)return o[e];if(arguments.length>1)return n&&Q(t)?t.call(s.proxy):t}}function Lt(e,t){return es(e,null,t)}function Ur(e,t){return es(e,null,{flush:"post"})}const En={};function Je(e,t,n){return es(e,t,n)}function es(e,t,{immediate:n,deep:s,flush:o,onTrack:r,onTrigger:i}=ge){const l=yr()===(ye==null?void 0:ye.scope)?ye:null;let a,u=!1,d=!1;if(Ce(e)?(a=()=>e.value,u=Nn(e)):Ft(e)?(a=()=>e,s=!0):q(e)?(d=!0,u=e.some(N=>Ft(N)||Nn(N)),a=()=>e.map(N=>{if(Ce(N))return N.value;if(Ft(N))return Nt(N);if(Q(N))return ht(N,l,2)})):Q(e)?t?a=()=>ht(e,l,2):a=()=>{if(!(l&&l.isUnmounted))return _&&_(),Re(e,l,3,[v])}:a=Ke,t&&s){const N=a;a=()=>Nt(N())}let _,v=N=>{_=x.onStop=()=>{ht(N,l,4)}},w;if(Yt)if(v=Ke,t?n&&Re(t,l,3,[a(),d?[]:void 0,v]):a(),o==="sync"){const N=Na();w=N.__watcherHandles||(N.__watcherHandles=[])}else return Ke;let V=d?new Array(e.length).fill(En):En;const A=()=>{if(x.active)if(t){const N=x.run();(s||u||(d?N.some((X,te)=>cn(X,V[te])):cn(N,V)))&&(_&&_(),Re(t,l,3,[N,V===En?void 0:d&&V[0]===En?[]:V,v]),V=N)}else x.run()};A.allowRecurse=!!t;let G;o==="sync"?G=A:o==="post"?G=()=>Le(A,l&&l.suspense):(A.pre=!0,l&&(A.id=l.uid),G=()=>Jn(A));const x=new qs(a,G);t?n?A():V=x.run():o==="post"?Le(x.run.bind(x),l&&l.suspense):x.run();const P=()=>{x.stop(),l&&l.scope&&js(l.scope.effects,x)};return w&&w.push(P),P}function jl(e,t,n){const s=this.proxy,o=be(e)?e.includes(".")?zr(s,e):()=>s[e]:e.bind(s,s);let r;Q(t)?r=t:(r=t.handler,n=t);const i=ye;qt(this);const l=es(o,r.bind(s),n);return i?qt(i):Vt(),l}function zr(e,t){const n=t.split(".");return()=>{let s=e;for(let o=0;o{Nt(n,t)});else if(xr(e))for(const n in e)Nt(e[n],t);return e}function Kl(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Ie(()=>{e.isMounted=!0}),qr(()=>{e.isUnmounting=!0}),e}const Be=[Function,Array],Gl={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Be,onEnter:Be,onAfterEnter:Be,onEnterCancelled:Be,onBeforeLeave:Be,onLeave:Be,onAfterLeave:Be,onLeaveCancelled:Be,onBeforeAppear:Be,onAppear:Be,onAfterAppear:Be,onAppearCancelled:Be},setup(e,{slots:t}){const n=ss(),s=Kl();let o;return()=>{const r=t.default&&Gr(t.default(),!0);if(!r||!r.length)return;let i=r[0];if(r.length>1){for(const A of r)if(A.type!==Oe){i=A;break}}const l=ce(e),{mode:a}=l;if(s.isLeaving)return hs(i);const u=Io(i);if(!u)return hs(i);const d=Ss(u,l,s,n);Ts(u,d);const _=n.subTree,v=_&&Io(_);let w=!1;const{getTransitionKey:V}=u.type;if(V){const A=V();o===void 0?o=A:A!==o&&(o=A,w=!0)}if(v&&v.type!==Oe&&(!Ct(u,v)||w)){const A=Ss(v,l,s,n);if(Ts(v,A),a==="out-in")return s.isLeaving=!0,A.afterLeave=()=>{s.isLeaving=!1,n.update.active!==!1&&n.update()},hs(i);a==="in-out"&&u.type!==Oe&&(A.delayLeave=(G,x,P)=>{const N=Kr(s,v);N[String(v.key)]=v,G._leaveCb=()=>{x(),G._leaveCb=void 0,delete d.delayedLeave},d.delayedLeave=P})}return i}}},jr=Gl;function Kr(e,t){const{leavingVNodes:n}=e;let s=n.get(t.type);return s||(s=Object.create(null),n.set(t.type,s)),s}function Ss(e,t,n,s){const{appear:o,mode:r,persisted:i=!1,onBeforeEnter:l,onEnter:a,onAfterEnter:u,onEnterCancelled:d,onBeforeLeave:_,onLeave:v,onAfterLeave:w,onLeaveCancelled:V,onBeforeAppear:A,onAppear:G,onAfterAppear:x,onAppearCancelled:P}=t,N=String(e.key),X=Kr(n,e),te=(H,ee)=>{H&&Re(H,s,9,ee)},he=(H,ee)=>{const J=ee[1];te(H,ee),q(H)?H.every(ae=>ae.length<=1)&&J():H.length<=1&&J()},oe={mode:r,persisted:i,beforeEnter(H){let ee=l;if(!n.isMounted)if(o)ee=A||l;else return;H._leaveCb&&H._leaveCb(!0);const J=X[N];J&&Ct(e,J)&&J.el._leaveCb&&J.el._leaveCb(),te(ee,[H])},enter(H){let ee=a,J=u,ae=d;if(!n.isMounted)if(o)ee=G||a,J=x||u,ae=P||d;else return;let O=!1;const ne=H._enterCb=D=>{O||(O=!0,D?te(ae,[H]):te(J,[H]),oe.delayedLeave&&oe.delayedLeave(),H._enterCb=void 0)};ee?he(ee,[H,ne]):ne()},leave(H,ee){const J=String(e.key);if(H._enterCb&&H._enterCb(!0),n.isUnmounting)return ee();te(_,[H]);let ae=!1;const O=H._leaveCb=ne=>{ae||(ae=!0,ee(),ne?te(V,[H]):te(w,[H]),H._leaveCb=void 0,X[J]===e&&delete X[J])};X[J]=e,v?he(v,[H,O]):O()},clone(H){return Ss(H,t,n,s)}};return oe}function hs(e){if(xn(e))return e=_t(e),e.children=null,e}function Io(e){return xn(e)?e.children?e.children[0]:void 0:e}function Ts(e,t){e.shapeFlag&6&&e.component?Ts(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Gr(e,t=!1,n){let s=[],o=0;for(let r=0;r1)for(let r=0;r!!e.type.__asyncLoader;function Wl(e){Q(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:s,delay:o=200,timeout:r,suspensible:i=!0,onError:l}=e;let a=null,u,d=0;const _=()=>(d++,a=null,v()),v=()=>{let w;return a||(w=a=t().catch(V=>{if(V=V instanceof Error?V:new Error(String(V)),l)return new Promise((A,G)=>{l(V,()=>A(_()),()=>G(V),d+1)});throw V}).then(V=>w!==a&&a?a:(V&&(V.__esModule||V[Symbol.toStringTag]==="Module")&&(V=V.default),u=V,V)))};return R({name:"AsyncComponentWrapper",__asyncLoader:v,get __asyncResolved(){return u},setup(){const w=ye;if(u)return()=>ps(u,w);const V=P=>{a=null,gn(P,w,13,!s)};if(i&&w.suspense||Yt)return v().then(P=>()=>ps(P,w)).catch(P=>(V(P),()=>s?E(s,{error:P}):null));const A=le(!1),G=le(),x=le(!!o);return o&&setTimeout(()=>{x.value=!1},o),r!=null&&setTimeout(()=>{if(!A.value&&!G.value){const P=new Error(`Async component timed out after ${r}ms.`);V(P),G.value=P}},r),v().then(()=>{A.value=!0,w.parent&&xn(w.parent.vnode)&&Jn(w.parent.update)}).catch(P=>{V(P),G.value=P}),()=>{if(A.value&&u)return ps(u,w);if(G.value&&s)return E(s,{error:G.value});if(n&&!x.value)return E(n)}}})}function ps(e,t){const{ref:n,props:s,children:o,ce:r}=t.vnode,i=E(e,s,o);return i.ref=n,i.ce=r,delete t.vnode.ce,i}const xn=e=>e.type.__isKeepAlive;function ql(e,t){Wr(e,"a",t)}function Yl(e,t){Wr(e,"da",t)}function Wr(e,t,n=ye){const s=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(ts(t,s,n),n){let o=n.parent;for(;o&&o.parent;)xn(o.parent.vnode)&&Xl(s,t,n,o),o=o.parent}}function Xl(e,t,n,s){const o=ts(t,e,s,!0);mt(()=>{js(s[t],o)},n)}function ts(e,t,n=ye,s=!1){if(n){const o=n[e]||(n[e]=[]),r=t.__weh||(t.__weh=(...i)=>{if(n.isUnmounted)return;Jt(),qt(n);const l=Re(t,n,e,i);return Vt(),Qt(),l});return s?o.unshift(r):o.push(r),r}}const ot=e=>(t,n=ye)=>(!Yt||e==="sp")&&ts(e,(...s)=>t(...s),n),Jl=ot("bm"),Ie=ot("m"),Ql=ot("bu"),so=ot("u"),qr=ot("bum"),mt=ot("um"),Zl=ot("sp"),ea=ot("rtg"),ta=ot("rtc");function na(e,t=ye){ts("ec",e,t)}function Ye(e,t,n,s){const o=e.dirs,r=t&&t.dirs;for(let i=0;it(i,l,void 0,r&&r[l]));else{const i=Object.keys(e);o=new Array(i.length);for(let l=0,a=i.length;lDn(t)?!(t.type===Oe||t.type===Z&&!Jr(t.children)):!0)?e:null}const Es=e=>e?ai(e)?ao(e)||e.proxy:Es(e.parent):null,on=we(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Es(e.parent),$root:e=>Es(e.root),$emit:e=>e.emit,$options:e=>ro(e),$forceUpdate:e=>e.f||(e.f=()=>Jn(e.update)),$nextTick:e=>e.n||(e.n=no.bind(e.proxy)),$watch:e=>jl.bind(e)}),_s=(e,t)=>e!==ge&&!e.__isScriptSetup&&re(e,t),sa={get({_:e},t){const{ctx:n,setupState:s,data:o,props:r,accessCache:i,type:l,appContext:a}=e;let u;if(t[0]!=="$"){const w=i[t];if(w!==void 0)switch(w){case 1:return s[t];case 2:return o[t];case 4:return n[t];case 3:return r[t]}else{if(_s(s,t))return i[t]=1,s[t];if(o!==ge&&re(o,t))return i[t]=2,o[t];if((u=e.propsOptions[0])&&re(u,t))return i[t]=3,r[t];if(n!==ge&&re(n,t))return i[t]=4,n[t];Vs&&(i[t]=0)}}const d=on[t];let _,v;if(d)return t==="$attrs"&&Ae(e,"get",t),d(e);if((_=l.__cssModules)&&(_=_[t]))return _;if(n!==ge&&re(n,t))return i[t]=4,n[t];if(v=a.config.globalProperties,re(v,t))return v[t]},set({_:e},t,n){const{data:s,setupState:o,ctx:r}=e;return _s(o,t)?(o[t]=n,!0):s!==ge&&re(s,t)?(s[t]=n,!0):re(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(r[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:o,propsOptions:r}},i){let l;return!!n[i]||e!==ge&&re(e,i)||_s(t,i)||(l=r[0])&&re(l,i)||re(s,i)||re(on,i)||re(o.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:re(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};let Vs=!0;function oa(e){const t=ro(e),n=e.proxy,s=e.ctx;Vs=!1,t.beforeCreate&&Ho(t.beforeCreate,e,"bc");const{data:o,computed:r,methods:i,watch:l,provide:a,inject:u,created:d,beforeMount:_,mounted:v,beforeUpdate:w,updated:V,activated:A,deactivated:G,beforeDestroy:x,beforeUnmount:P,destroyed:N,unmounted:X,render:te,renderTracked:he,renderTriggered:oe,errorCaptured:H,serverPrefetch:ee,expose:J,inheritAttrs:ae,components:O,directives:ne,filters:D}=t;if(u&&ra(u,s,null,e.appContext.config.unwrapInjectedRef),i)for(const xe in i){const pe=i[xe];Q(pe)&&(s[xe]=pe.bind(n))}if(o){const xe=o.call(n,n);ve(xe)&&(e.data=Xn(xe))}if(Vs=!0,r)for(const xe in r){const pe=r[xe],xt=Q(pe)?pe.bind(n,n):Q(pe.get)?pe.get.bind(n,n):Ke,kn=!Q(pe)&&Q(pe.set)?pe.set.bind(n):Ke,yt=K({get:xt,set:kn});Object.defineProperty(s,xe,{enumerable:!0,configurable:!0,get:()=>yt.value,set:We=>yt.value=We})}if(l)for(const xe in l)Qr(l[xe],s,n,xe);if(a){const xe=Q(a)?a.call(n):a;Reflect.ownKeys(xe).forEach(pe=>{Dt(pe,xe[pe])})}d&&Ho(d,e,"c");function fe(xe,pe){q(pe)?pe.forEach(xt=>xe(xt.bind(n))):pe&&xe(pe.bind(n))}if(fe(Jl,_),fe(Ie,v),fe(Ql,w),fe(so,V),fe(ql,A),fe(Yl,G),fe(na,H),fe(ta,he),fe(ea,oe),fe(qr,P),fe(mt,X),fe(Zl,ee),q(J))if(J.length){const xe=e.exposed||(e.exposed={});J.forEach(pe=>{Object.defineProperty(xe,pe,{get:()=>n[pe],set:xt=>n[pe]=xt})})}else e.exposed||(e.exposed={});te&&e.render===Ke&&(e.render=te),ae!=null&&(e.inheritAttrs=ae),O&&(e.components=O),ne&&(e.directives=ne)}function ra(e,t,n=Ke,s=!1){q(e)&&(e=Ls(e));for(const o in e){const r=e[o];let i;ve(r)?"default"in r?i=Ge(r.from||o,r.default,!0):i=Ge(r.from||o):i=Ge(r),Ce(i)&&s?Object.defineProperty(t,o,{enumerable:!0,configurable:!0,get:()=>i.value,set:l=>i.value=l}):t[o]=i}}function Ho(e,t,n){Re(q(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function Qr(e,t,n,s){const o=s.includes(".")?zr(n,s):()=>n[s];if(be(e)){const r=t[e];Q(r)&&Je(o,r)}else if(Q(e))Je(o,e.bind(n));else if(ve(e))if(q(e))e.forEach(r=>Qr(r,t,n,s));else{const r=Q(e.handler)?e.handler.bind(n):t[e.handler];Q(r)&&Je(o,r,e)}}function ro(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:o,optionsCache:r,config:{optionMergeStrategies:i}}=e.appContext,l=r.get(t);let a;return l?a=l:!o.length&&!n&&!s?a=t:(a={},o.length&&o.forEach(u=>Fn(a,u,i,!0)),Fn(a,t,i)),ve(t)&&r.set(t,a),a}function Fn(e,t,n,s=!1){const{mixins:o,extends:r}=t;r&&Fn(e,r,n,!0),o&&o.forEach(i=>Fn(e,i,n,!0));for(const i in t)if(!(s&&i==="expose")){const l=ia[i]||n&&n[i];e[i]=l?l(e[i],t[i]):t[i]}return e}const ia={data:No,props:$t,emits:$t,methods:$t,computed:$t,beforeCreate:Ee,created:Ee,beforeMount:Ee,mounted:Ee,beforeUpdate:Ee,updated:Ee,beforeDestroy:Ee,beforeUnmount:Ee,destroyed:Ee,unmounted:Ee,activated:Ee,deactivated:Ee,errorCaptured:Ee,serverPrefetch:Ee,components:$t,directives:$t,watch:aa,provide:No,inject:la};function No(e,t){return t?e?function(){return we(Q(e)?e.call(this,this):e,Q(t)?t.call(this,this):t)}:t:e}function la(e,t){return $t(Ls(e),Ls(t))}function Ls(e){if(q(e)){const t={};for(let n=0;n0)&&!(i&16)){if(i&8){const d=e.vnode.dynamicProps;for(let _=0;_{a=!0;const[v,w]=ei(_,t,!0);we(i,v),w&&l.push(...w)};!n&&t.mixins.length&&t.mixins.forEach(d),e.extends&&d(e.extends),e.mixins&&e.mixins.forEach(d)}if(!r&&!a)return ve(e)&&s.set(e,Ot),Ot;if(q(r))for(let d=0;d-1,w[1]=A<0||V-1||re(w,"default"))&&l.push(_)}}}const u=[i,l];return ve(e)&&s.set(e,u),u}function Oo(e){return e[0]!=="$"}function Bo(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function Fo(e,t){return Bo(e)===Bo(t)}function Ro(e,t){return q(t)?t.findIndex(n=>Fo(n,e)):Q(t)&&Fo(t,e)?0:-1}const ti=e=>e[0]==="_"||e==="$stable",io=e=>q(e)?e.map(Ue):[Ue(e)],fa=(e,t,n)=>{if(t._n)return t;const s=M((...o)=>io(t(...o)),n);return s._c=!1,s},ni=(e,t,n)=>{const s=e._ctx;for(const o in e){if(ti(o))continue;const r=e[o];if(Q(r))t[o]=fa(o,r,s);else if(r!=null){const i=io(r);t[o]=()=>i}}},si=(e,t)=>{const n=io(t);e.slots.default=()=>n},da=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=ce(t),Hn(t,"_",n)):ni(t,e.slots={})}else e.slots={},t&&si(e,t);Hn(e.slots,ns,1)},ha=(e,t,n)=>{const{vnode:s,slots:o}=e;let r=!0,i=ge;if(s.shapeFlag&32){const l=t._;l?n&&l===1?r=!1:(we(o,t),!n&&l===1&&delete o._):(r=!t.$stable,ni(t,o)),i=t}else t&&(si(e,t),i={default:1});if(r)for(const l in o)!ti(l)&&!(l in i)&&delete o[l]};function oi(){return{app:null,config:{isNativeTag:zi,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let pa=0;function _a(e,t){return function(s,o=null){Q(s)||(s=Object.assign({},s)),o!=null&&!ve(o)&&(o=null);const r=oi(),i=new Set;let l=!1;const a=r.app={_uid:pa++,_component:s,_props:o,_container:null,_context:r,_instance:null,version:Oa,get config(){return r.config},set config(u){},use(u,...d){return i.has(u)||(u&&Q(u.install)?(i.add(u),u.install(a,...d)):Q(u)&&(i.add(u),u(a,...d))),a},mixin(u){return r.mixins.includes(u)||r.mixins.push(u),a},component(u,d){return d?(r.components[u]=d,a):r.components[u]},directive(u,d){return d?(r.directives[u]=d,a):r.directives[u]},mount(u,d,_){if(!l){const v=E(s,o);return v.appContext=r,d&&t?t(v,u):e(v,u,_),l=!0,a._container=u,u.__vue_app__=a,ao(v.component)||v.component.proxy}},unmount(){l&&(e(null,a._container),delete a._container.__vue_app__)},provide(u,d){return r.provides[u]=d,a}};return a}}function Rn(e,t,n,s,o=!1){if(q(e)){e.forEach((v,w)=>Rn(v,t&&(q(t)?t[w]:t),n,s,o));return}if(Ut(s)&&!o)return;const r=s.shapeFlag&4?ao(s.component)||s.component.proxy:s.el,i=o?null:r,{i:l,r:a}=e,u=t&&t.r,d=l.refs===ge?l.refs={}:l.refs,_=l.setupState;if(u!=null&&u!==a&&(be(u)?(d[u]=null,re(_,u)&&(_[u]=null)):Ce(u)&&(u.value=null)),Q(a))ht(a,l,12,[i,d]);else{const v=be(a),w=Ce(a);if(v||w){const V=()=>{if(e.f){const A=v?re(_,a)?_[a]:d[a]:a.value;o?q(A)&&js(A,r):q(A)?A.includes(r)||A.push(r):v?(d[a]=[r],re(_,a)&&(_[a]=d[a])):(a.value=[r],e.k&&(d[e.k]=a.value))}else v?(d[a]=i,re(_,a)&&(_[a]=i)):w&&(a.value=i,e.k&&(d[e.k]=i))};i?(V.id=-1,Le(V,n)):V()}}}let lt=!1;const Vn=e=>/svg/.test(e.namespaceURI)&&e.tagName!=="foreignObject",Ln=e=>e.nodeType===8;function ma(e){const{mt:t,p:n,o:{patchProp:s,createText:o,nextSibling:r,parentNode:i,remove:l,insert:a,createComment:u}}=e,d=(x,P)=>{if(!P.hasChildNodes()){n(null,x,P),On(),P._vnode=x;return}lt=!1,_(P.firstChild,x,null,null,null),On(),P._vnode=x,lt&&console.error("Hydration completed but contains mismatches.")},_=(x,P,N,X,te,he=!1)=>{const oe=Ln(x)&&x.data==="[",H=()=>A(x,P,N,X,te,oe),{type:ee,ref:J,shapeFlag:ae,patchFlag:O}=P;let ne=x.nodeType;P.el=x,O===-2&&(he=!1,P.dynamicChildren=null);let D=null;switch(ee){case Wt:ne!==3?P.children===""?(a(P.el=o(""),i(x),x),D=x):D=H():(x.data!==P.children&&(lt=!0,x.data=P.children),D=r(x));break;case Oe:ne!==8||oe?D=H():D=r(x);break;case zt:if(oe&&(x=r(x),ne=x.nodeType),ne===1||ne===3){D=x;const Me=!P.children.length;for(let fe=0;fe{he=he||!!P.dynamicChildren;const{type:oe,props:H,patchFlag:ee,shapeFlag:J,dirs:ae}=P,O=oe==="input"&&ae||oe==="option";if(O||ee!==-1){if(ae&&Ye(P,null,N,"created"),H)if(O||!he||ee&48)for(const D in H)(O&&D.endsWith("value")||vn(D)&&!nn(D))&&s(x,D,null,H[D],!1,void 0,N);else H.onClick&&s(x,"onClick",null,H.onClick,!1,void 0,N);let ne;if((ne=H&&H.onVnodeBeforeMount)&&Fe(ne,N,P),ae&&Ye(P,null,N,"beforeMount"),((ne=H&&H.onVnodeMounted)||ae)&&Dr(()=>{ne&&Fe(ne,N,P),ae&&Ye(P,null,N,"mounted")},X),J&16&&!(H&&(H.innerHTML||H.textContent))){let D=w(x.firstChild,P,x,N,X,te,he);for(;D;){lt=!0;const Me=D;D=D.nextSibling,l(Me)}}else J&8&&x.textContent!==P.children&&(lt=!0,x.textContent=P.children)}return x.nextSibling},w=(x,P,N,X,te,he,oe)=>{oe=oe||!!P.dynamicChildren;const H=P.children,ee=H.length;for(let J=0;J{const{slotScopeIds:oe}=P;oe&&(te=te?te.concat(oe):oe);const H=i(x),ee=w(r(x),P,H,N,X,te,he);return ee&&Ln(ee)&&ee.data==="]"?r(P.anchor=ee):(lt=!0,a(P.anchor=u("]"),H,ee),ee)},A=(x,P,N,X,te,he)=>{if(lt=!0,P.el=null,he){const ee=G(x);for(;;){const J=r(x);if(J&&J!==ee)l(J);else break}}const oe=r(x),H=i(x);return l(x),n(null,P,H,oe,N,X,Vn(H),te),oe},G=x=>{let P=0;for(;x;)if(x=r(x),x&&Ln(x)&&(x.data==="["&&P++,x.data==="]")){if(P===0)return r(x);P--}return x};return[d,_]}const Le=Dr;function va(e){return ga(e,ma)}function ga(e,t){const n=Ji();n.__VUE__=!0;const{insert:s,remove:o,patchProp:r,createElement:i,createText:l,createComment:a,setText:u,setElementText:d,parentNode:_,nextSibling:v,setScopeId:w=Ke,insertStaticContent:V}=e,A=(c,f,m,k=null,b=null,S=null,I=!1,C=null,L=!!f.dynamicChildren)=>{if(c===f)return;c&&!Ct(c,f)&&(k=wn(c),We(c,b,S,!0),c=null),f.patchFlag===-2&&(L=!1,f.dynamicChildren=null);const{type:$,ref:z,shapeFlag:B}=f;switch($){case Wt:G(c,f,m,k);break;case Oe:x(c,f,m,k);break;case zt:c==null&&P(f,m,k,I);break;case Z:O(c,f,m,k,b,S,I,C,L);break;default:B&1?te(c,f,m,k,b,S,I,C,L):B&6?ne(c,f,m,k,b,S,I,C,L):(B&64||B&128)&&$.process(c,f,m,k,b,S,I,C,L,Mt)}z!=null&&b&&Rn(z,c&&c.ref,S,f||c,!f)},G=(c,f,m,k)=>{if(c==null)s(f.el=l(f.children),m,k);else{const b=f.el=c.el;f.children!==c.children&&u(b,f.children)}},x=(c,f,m,k)=>{c==null?s(f.el=a(f.children||""),m,k):f.el=c.el},P=(c,f,m,k)=>{[c.el,c.anchor]=V(c.children,f,m,k,c.el,c.anchor)},N=({el:c,anchor:f},m,k)=>{let b;for(;c&&c!==f;)b=v(c),s(c,m,k),c=b;s(f,m,k)},X=({el:c,anchor:f})=>{let m;for(;c&&c!==f;)m=v(c),o(c),c=m;o(f)},te=(c,f,m,k,b,S,I,C,L)=>{I=I||f.type==="svg",c==null?he(f,m,k,b,S,I,C,L):ee(c,f,b,S,I,C,L)},he=(c,f,m,k,b,S,I,C)=>{let L,$;const{type:z,props:B,shapeFlag:j,transition:Y,dirs:se}=c;if(L=c.el=i(c.type,S,B&&B.is,B),j&8?d(L,c.children):j&16&&H(c.children,L,null,k,b,S&&z!=="foreignObject",I,C),se&&Ye(c,null,k,"created"),oe(L,c,c.scopeId,I,k),B){for(const de in B)de!=="value"&&!nn(de)&&r(L,de,null,B[de],S,c.children,k,b,tt);"value"in B&&r(L,"value",null,B.value),($=B.onVnodeBeforeMount)&&Fe($,k,c)}se&&Ye(c,null,k,"beforeMount");const _e=(!b||b&&!b.pendingBranch)&&Y&&!Y.persisted;_e&&Y.beforeEnter(L),s(L,f,m),(($=B&&B.onVnodeMounted)||_e||se)&&Le(()=>{$&&Fe($,k,c),_e&&Y.enter(L),se&&Ye(c,null,k,"mounted")},b)},oe=(c,f,m,k,b)=>{if(m&&w(c,m),k)for(let S=0;S{for(let $=L;${const C=f.el=c.el;let{patchFlag:L,dynamicChildren:$,dirs:z}=f;L|=c.patchFlag&16;const B=c.props||ge,j=f.props||ge;let Y;m&&bt(m,!1),(Y=j.onVnodeBeforeUpdate)&&Fe(Y,m,f,c),z&&Ye(f,c,m,"beforeUpdate"),m&&bt(m,!0);const se=b&&f.type!=="foreignObject";if($?J(c.dynamicChildren,$,C,m,k,se,S):I||pe(c,f,C,null,m,k,se,S,!1),L>0){if(L&16)ae(C,f,B,j,m,k,b);else if(L&2&&B.class!==j.class&&r(C,"class",null,j.class,b),L&4&&r(C,"style",B.style,j.style,b),L&8){const _e=f.dynamicProps;for(let de=0;de<_e.length;de++){const ke=_e[de],De=B[ke],Ht=j[ke];(Ht!==De||ke==="value")&&r(C,ke,De,Ht,b,c.children,m,k,tt)}}L&1&&c.children!==f.children&&d(C,f.children)}else!I&&$==null&&ae(C,f,B,j,m,k,b);((Y=j.onVnodeUpdated)||z)&&Le(()=>{Y&&Fe(Y,m,f,c),z&&Ye(f,c,m,"updated")},k)},J=(c,f,m,k,b,S,I)=>{for(let C=0;C{if(m!==k){if(m!==ge)for(const C in m)!nn(C)&&!(C in k)&&r(c,C,m[C],null,I,f.children,b,S,tt);for(const C in k){if(nn(C))continue;const L=k[C],$=m[C];L!==$&&C!=="value"&&r(c,C,$,L,I,f.children,b,S,tt)}"value"in k&&r(c,"value",m.value,k.value)}},O=(c,f,m,k,b,S,I,C,L)=>{const $=f.el=c?c.el:l(""),z=f.anchor=c?c.anchor:l("");let{patchFlag:B,dynamicChildren:j,slotScopeIds:Y}=f;Y&&(C=C?C.concat(Y):Y),c==null?(s($,m,k),s(z,m,k),H(f.children,m,z,b,S,I,C,L)):B>0&&B&64&&j&&c.dynamicChildren?(J(c.dynamicChildren,j,m,b,S,I,C),(f.key!=null||b&&f===b.subTree)&&ri(c,f,!0)):pe(c,f,m,z,b,S,I,C,L)},ne=(c,f,m,k,b,S,I,C,L)=>{f.slotScopeIds=C,c==null?f.shapeFlag&512?b.ctx.activate(f,m,k,I,L):D(f,m,k,b,S,I,L):Me(c,f,L)},D=(c,f,m,k,b,S,I)=>{const C=c.component=Sa(c,k,b);if(xn(c)&&(C.ctx.renderer=Mt),Ta(C),C.asyncDep){if(b&&b.registerDep(C,fe),!c.el){const L=C.subTree=E(Oe);x(null,L,f,m)}return}fe(C,c,f,m,b,S,I)},Me=(c,f,m)=>{const k=f.component=c.component;if(Dl(c,f,m))if(k.asyncDep&&!k.asyncResolved){xe(k,f,m);return}else k.next=f,Hl(k.update),k.update();else f.el=c.el,k.vnode=f},fe=(c,f,m,k,b,S,I)=>{const C=()=>{if(c.isMounted){let{next:z,bu:B,u:j,parent:Y,vnode:se}=c,_e=z,de;bt(c,!1),z?(z.el=se.el,xe(c,z,I)):z=se,B&&fs(B),(de=z.props&&z.props.onVnodeBeforeUpdate)&&Fe(de,Y,z,se),bt(c,!0);const ke=ds(c),De=c.subTree;c.subTree=ke,A(De,ke,_(De.el),wn(De),c,b,S),z.el=ke.el,_e===null&&Ul(c,ke.el),j&&Le(j,b),(de=z.props&&z.props.onVnodeUpdated)&&Le(()=>Fe(de,Y,z,se),b)}else{let z;const{el:B,props:j}=f,{bm:Y,m:se,parent:_e}=c,de=Ut(f);if(bt(c,!1),Y&&fs(Y),!de&&(z=j&&j.onVnodeBeforeMount)&&Fe(z,_e,f),bt(c,!0),B&&cs){const ke=()=>{c.subTree=ds(c),cs(B,c.subTree,c,b,null)};de?f.type.__asyncLoader().then(()=>!c.isUnmounted&&ke()):ke()}else{const ke=c.subTree=ds(c);A(null,ke,m,k,c,b,S),f.el=ke.el}if(se&&Le(se,b),!de&&(z=j&&j.onVnodeMounted)){const ke=f;Le(()=>Fe(z,_e,ke),b)}(f.shapeFlag&256||_e&&Ut(_e.vnode)&&_e.vnode.shapeFlag&256)&&c.a&&Le(c.a,b),c.isMounted=!0,f=m=k=null}},L=c.effect=new qs(C,()=>Jn($),c.scope),$=c.update=()=>L.run();$.id=c.uid,bt(c,!0),$()},xe=(c,f,m)=>{f.component=c;const k=c.vnode.props;c.vnode=f,c.next=null,ua(c,f.props,k,m),ha(c,f.children,m),Jt(),Lo(),Qt()},pe=(c,f,m,k,b,S,I,C,L=!1)=>{const $=c&&c.children,z=c?c.shapeFlag:0,B=f.children,{patchFlag:j,shapeFlag:Y}=f;if(j>0){if(j&128){kn($,B,m,k,b,S,I,C,L);return}else if(j&256){xt($,B,m,k,b,S,I,C,L);return}}Y&8?(z&16&&tt($,b,S),B!==$&&d(m,B)):z&16?Y&16?kn($,B,m,k,b,S,I,C,L):tt($,b,S,!0):(z&8&&d(m,""),Y&16&&H(B,m,k,b,S,I,C,L))},xt=(c,f,m,k,b,S,I,C,L)=>{c=c||Ot,f=f||Ot;const $=c.length,z=f.length,B=Math.min($,z);let j;for(j=0;jz?tt(c,b,S,!0,!1,B):H(f,m,k,b,S,I,C,L,B)},kn=(c,f,m,k,b,S,I,C,L)=>{let $=0;const z=f.length;let B=c.length-1,j=z-1;for(;$<=B&&$<=j;){const Y=c[$],se=f[$]=L?ut(f[$]):Ue(f[$]);if(Ct(Y,se))A(Y,se,m,null,b,S,I,C,L);else break;$++}for(;$<=B&&$<=j;){const Y=c[B],se=f[j]=L?ut(f[j]):Ue(f[j]);if(Ct(Y,se))A(Y,se,m,null,b,S,I,C,L);else break;B--,j--}if($>B){if($<=j){const Y=j+1,se=Yj)for(;$<=B;)We(c[$],b,S,!0),$++;else{const Y=$,se=$,_e=new Map;for($=se;$<=j;$++){const He=f[$]=L?ut(f[$]):Ue(f[$]);He.key!=null&&_e.set(He.key,$)}let de,ke=0;const De=j-se+1;let Ht=!1,yo=0;const Zt=new Array(De);for($=0;$=De){We(He,b,S,!0);continue}let qe;if(He.key!=null)qe=_e.get(He.key);else for(de=se;de<=j;de++)if(Zt[de-se]===0&&Ct(He,f[de])){qe=de;break}qe===void 0?We(He,b,S,!0):(Zt[qe-se]=$+1,qe>=yo?yo=qe:Ht=!0,A(He,f[qe],m,null,b,S,I,C,L),ke++)}const bo=Ht?xa(Zt):Ot;for(de=bo.length-1,$=De-1;$>=0;$--){const He=se+$,qe=f[He],ko=He+1{const{el:S,type:I,transition:C,children:L,shapeFlag:$}=c;if($&6){yt(c.component.subTree,f,m,k);return}if($&128){c.suspense.move(f,m,k);return}if($&64){I.move(c,f,m,Mt);return}if(I===Z){s(S,f,m);for(let B=0;BC.enter(S),b);else{const{leave:B,delayLeave:j,afterLeave:Y}=C,se=()=>s(S,f,m),_e=()=>{B(S,()=>{se(),Y&&Y()})};j?j(S,se,_e):_e()}else s(S,f,m)},We=(c,f,m,k=!1,b=!1)=>{const{type:S,props:I,ref:C,children:L,dynamicChildren:$,shapeFlag:z,patchFlag:B,dirs:j}=c;if(C!=null&&Rn(C,null,m,c,!0),z&256){f.ctx.deactivate(c);return}const Y=z&1&&j,se=!Ut(c);let _e;if(se&&(_e=I&&I.onVnodeBeforeUnmount)&&Fe(_e,f,c),z&6)Ni(c.component,m,k);else{if(z&128){c.suspense.unmount(m,k);return}Y&&Ye(c,null,f,"beforeUnmount"),z&64?c.type.remove(c,f,m,b,Mt,k):$&&(S!==Z||B>0&&B&64)?tt($,f,m,!1,!0):(S===Z&&B&384||!b&&z&16)&&tt(L,f,m),k&&go(c)}(se&&(_e=I&&I.onVnodeUnmounted)||Y)&&Le(()=>{_e&&Fe(_e,f,c),Y&&Ye(c,null,f,"unmounted")},m)},go=c=>{const{type:f,el:m,anchor:k,transition:b}=c;if(f===Z){Hi(m,k);return}if(f===zt){X(c);return}const S=()=>{o(m),b&&!b.persisted&&b.afterLeave&&b.afterLeave()};if(c.shapeFlag&1&&b&&!b.persisted){const{leave:I,delayLeave:C}=b,L=()=>I(m,S);C?C(c.el,S,L):L()}else S()},Hi=(c,f)=>{let m;for(;c!==f;)m=v(c),o(c),c=m;o(f)},Ni=(c,f,m)=>{const{bum:k,scope:b,update:S,subTree:I,um:C}=c;k&&fs(k),b.stop(),S&&(S.active=!1,We(I,c,f,m)),C&&Le(C,f),Le(()=>{c.isUnmounted=!0},f),f&&f.pendingBranch&&!f.isUnmounted&&c.asyncDep&&!c.asyncResolved&&c.suspenseId===f.pendingId&&(f.deps--,f.deps===0&&f.resolve())},tt=(c,f,m,k=!1,b=!1,S=0)=>{for(let I=S;Ic.shapeFlag&6?wn(c.component.subTree):c.shapeFlag&128?c.suspense.next():v(c.anchor||c.el),xo=(c,f,m)=>{c==null?f._vnode&&We(f._vnode,null,null,!0):A(f._vnode||null,c,f,null,null,null,m),Lo(),On(),f._vnode=c},Mt={p:A,um:We,m:yt,r:go,mt:D,mc:H,pc:pe,pbc:J,n:wn,o:e};let as,cs;return t&&([as,cs]=t(Mt)),{render:xo,hydrate:as,createApp:_a(xo,as)}}function bt({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function ri(e,t,n=!1){const s=e.children,o=t.children;if(q(s)&&q(o))for(let r=0;r>1,e[n[l]]0&&(t[s]=n[r-1]),n[r]=s)}}for(r=n.length,i=n[r-1];r-- >0;)n[r]=i,i=t[i];return n}const ya=e=>e.__isTeleport,Z=Symbol(void 0),Wt=Symbol(void 0),Oe=Symbol(void 0),zt=Symbol(void 0),rn=[];let je=null;function h(e=!1){rn.push(je=e?null:[])}function ba(){rn.pop(),je=rn[rn.length-1]||null}let pn=1;function Do(e){pn+=e}function ii(e){return e.dynamicChildren=pn>0?je||Ot:null,ba(),pn>0&&je&&je.push(e),e}function g(e,t,n,s,o,r){return ii(y(e,t,n,s,o,r,!0))}function W(e,t,n,s,o){return ii(E(e,t,n,s,o,!0))}function Dn(e){return e?e.__v_isVNode===!0:!1}function Ct(e,t){return e.type===t.type&&e.key===t.key}const ns="__vInternal",li=({key:e})=>e??null,In=({ref:e,ref_key:t,ref_for:n})=>e!=null?be(e)||Ce(e)||Q(e)?{i:Se,r:e,k:t,f:!!n}:e:null;function y(e,t=null,n=null,s=0,o=null,r=e===Z?0:1,i=!1,l=!1){const a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&li(t),ref:t&&In(t),scopeId:Zn,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:r,patchFlag:s,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:Se};return l?(lo(a,n),r&128&&e.normalize(a)):n&&(a.shapeFlag|=be(n)?8:16),pn>0&&!i&&je&&(a.patchFlag>0||r&6)&&a.patchFlag!==32&&je.push(a),a}const E=ka;function ka(e,t=null,n=null,s=0,o=null,r=!1){if((!e||e===Yr)&&(e=Oe),Dn(e)){const l=_t(e,t,!0);return n&&lo(l,n),pn>0&&!r&&je&&(l.shapeFlag&6?je[je.indexOf(e)]=l:je.push(l)),l.patchFlag|=-2,l}if(Aa(e)&&(e=e.__vccOpts),t){t=wa(t);let{class:l,style:a}=t;l&&!be(l)&&(t.class=me(l)),ve(a)&&(Lr(a)&&!q(a)&&(a=we({},a)),t.style=Us(a))}const i=be(e)?1:zl(e)?128:ya(e)?64:ve(e)?4:Q(e)?2:0;return y(e,t,n,s,o,i,r,!0)}function wa(e){return e?Lr(e)||ns in e?we({},e):e:null}function _t(e,t,n=!1){const{props:s,ref:o,patchFlag:r,children:i}=e,l=t?Mn(s||{},t):s;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&li(l),ref:t&&t.ref?n&&o?q(o)?o.concat(In(t)):[o,In(t)]:In(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Z?r===-1?16:r|16:r,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&_t(e.ssContent),ssFallback:e.ssFallback&&_t(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function Te(e=" ",t=0){return E(Wt,null,e,t)}function $a(e,t){const n=E(zt,null,e);return n.staticCount=t,n}function U(e="",t=!1){return t?(h(),W(Oe,null,e)):E(Oe,null,e)}function Ue(e){return e==null||typeof e=="boolean"?E(Oe):q(e)?E(Z,null,e.slice()):typeof e=="object"?ut(e):E(Wt,null,String(e))}function ut(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:_t(e)}function lo(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(q(t))n=16;else if(typeof t=="object")if(s&65){const o=t.default;o&&(o._c&&(o._d=!1),lo(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!(ns in t)?t._ctx=Se:o===3&&Se&&(Se.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Q(t)?(t={default:t,_ctx:Se},n=32):(t=String(t),s&64?(n=16,t=[Te(t)]):n=8);e.children=t,e.shapeFlag|=n}function Mn(...e){const t={};for(let n=0;nye||Se,qt=e=>{ye=e,e.scope.on()},Vt=()=>{ye&&ye.scope.off(),ye=null};function ai(e){return e.vnode.shapeFlag&4}let Yt=!1;function Ta(e,t=!1){Yt=t;const{props:n,children:s}=e.vnode,o=ai(e);ca(e,n,o,t),da(e,s);const r=o?Ea(e,t):void 0;return Yt=!1,r}function Ea(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=sn(new Proxy(e.ctx,sa));const{setup:s}=n;if(s){const o=e.setupContext=s.length>1?ui(e):null;qt(e),Jt();const r=ht(s,e,0,[e.props,o]);if(Qt(),Vt(),vr(r)){if(r.then(Vt,Vt),t)return r.then(i=>{Uo(e,i,t)}).catch(i=>{gn(i,e,0)});e.asyncDep=r}else Uo(e,r,t)}else ci(e,t)}function Uo(e,t,n){Q(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ve(t)&&(e.setupState=Hr(t)),ci(e,n)}let zo;function ci(e,t,n){const s=e.type;if(!e.render){if(!t&&zo&&!s.render){const o=s.template||ro(e).template;if(o){const{isCustomElement:r,compilerOptions:i}=e.appContext.config,{delimiters:l,compilerOptions:a}=s,u=we(we({isCustomElement:r,delimiters:l},i),a);s.render=zo(o,u)}}e.render=s.render||Ke}qt(e),Jt(),oa(e),Qt(),Vt()}function Va(e){return new Proxy(e.attrs,{get(t,n){return Ae(e,"get","$attrs"),t[n]}})}function ui(e){const t=s=>{e.exposed=s||{}};let n;return{get attrs(){return n||(n=Va(e))},slots:e.slots,emit:e.emit,expose:t}}function ao(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Hr(sn(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in on)return on[n](e)},has(t,n){return n in t||n in on}}))}function La(e,t=!0){return Q(e)?e.displayName||e.name:e.name||t&&e.__name}function Aa(e){return Q(e)&&"__vccOpts"in e}const K=(e,t)=>Al(e,t,Yt);function Ia(){return Ma().slots}function Ma(){const e=ss();return e.setupContext||(e.setupContext=ui(e))}function Un(e,t,n){const s=arguments.length;return s===2?ve(t)&&!q(t)?Dn(t)?E(e,null,[t]):E(e,t):E(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&Dn(n)&&(n=[n]),E(e,t,n))}const Ha=Symbol(""),Na=()=>Ge(Ha),Oa="3.2.47",Ba="http://www.w3.org/2000/svg",St=typeof document<"u"?document:null,jo=St&&St.createElement("template"),Fa={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const o=t?St.createElementNS(Ba,e):St.createElement(e,n?{is:n}:void 0);return e==="select"&&s&&s.multiple!=null&&o.setAttribute("multiple",s.multiple),o},createText:e=>St.createTextNode(e),createComment:e=>St.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>St.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,o,r){const i=n?n.previousSibling:t.lastChild;if(o&&(o===r||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===r||!(o=o.nextSibling)););else{jo.innerHTML=s?`${e}`:e;const l=jo.content;if(s){const a=l.firstChild;for(;a.firstChild;)l.appendChild(a.firstChild);l.removeChild(a)}t.insertBefore(l,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function Ra(e,t,n){const s=e._vtc;s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}function Da(e,t,n){const s=e.style,o=be(n);if(n&&!o){if(t&&!be(t))for(const r in t)n[r]==null&&Is(s,r,"");for(const r in n)Is(s,r,n[r])}else{const r=s.display;o?t!==n&&(s.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(s.display=r)}}const Ko=/\s*!important$/;function Is(e,t,n){if(q(n))n.forEach(s=>Is(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=Ua(e,t);Ko.test(n)?e.setProperty(Xt(s),n.replace(Ko,""),"important"):e[s]=n}}const Go=["Webkit","Moz","ms"],ms={};function Ua(e,t){const n=ms[t];if(n)return n;let s=Qe(t);if(s!=="filter"&&s in e)return ms[t]=s;s=qn(s);for(let o=0;ovs||(Ya.then(()=>vs=0),vs=Date.now());function Ja(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;Re(Qa(s,n.value),t,5,[s])};return n.value=e,n.attached=Xa(),n}function Qa(e,t){if(q(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>o=>!o._stopped&&s&&s(o))}else return t}const Yo=/^on[a-z]/,Za=(e,t,n,s,o=!1,r,i,l,a)=>{t==="class"?Ra(e,s,o):t==="style"?Da(e,n,s):vn(t)?zs(t)||Wa(e,t,n,s,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):ec(e,t,s,o))?ja(e,t,s,r,i,l,a):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),za(e,t,s,o))};function ec(e,t,n,s){return s?!!(t==="innerHTML"||t==="textContent"||t in e&&Yo.test(t)&&Q(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||Yo.test(t)&&be(n)?!1:t in e}function tc(e){const t=ss();if(!t)return;const n=t.ut=(o=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(r=>Hs(r,o))},s=()=>{const o=e(t.proxy);Ms(t.subTree,o),n(o)};Ur(s),Ie(()=>{const o=new MutationObserver(s);o.observe(t.subTree.el.parentNode,{childList:!0}),mt(()=>o.disconnect())})}function Ms(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{Ms(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)Hs(e.el,t);else if(e.type===Z)e.children.forEach(n=>Ms(n,t));else if(e.type===zt){let{el:n,anchor:s}=e;for(;n&&(Hs(n,t),n!==s);)n=n.nextSibling}}function Hs(e,t){if(e.nodeType===1){const n=e.style;for(const s in t)n.setProperty(`--${s}`,t[s])}}const at="transition",en="animation",os=(e,{slots:t})=>Un(jr,nc(e),t);os.displayName="Transition";const fi={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String};os.props=we({},jr.props,fi);const kt=(e,t=[])=>{q(e)?e.forEach(n=>n(...t)):e&&e(...t)},Xo=e=>e?q(e)?e.some(t=>t.length>1):e.length>1:!1;function nc(e){const t={};for(const O in e)O in fi||(t[O]=e[O]);if(e.css===!1)return t;const{name:n="v",type:s,duration:o,enterFromClass:r=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:a=r,appearActiveClass:u=i,appearToClass:d=l,leaveFromClass:_=`${n}-leave-from`,leaveActiveClass:v=`${n}-leave-active`,leaveToClass:w=`${n}-leave-to`}=e,V=sc(o),A=V&&V[0],G=V&&V[1],{onBeforeEnter:x,onEnter:P,onEnterCancelled:N,onLeave:X,onLeaveCancelled:te,onBeforeAppear:he=x,onAppear:oe=P,onAppearCancelled:H=N}=t,ee=(O,ne,D)=>{wt(O,ne?d:l),wt(O,ne?u:i),D&&D()},J=(O,ne)=>{O._isLeaving=!1,wt(O,_),wt(O,w),wt(O,v),ne&&ne()},ae=O=>(ne,D)=>{const Me=O?oe:P,fe=()=>ee(ne,O,D);kt(Me,[ne,fe]),Jo(()=>{wt(ne,O?a:r),ct(ne,O?d:l),Xo(Me)||Qo(ne,s,A,fe)})};return we(t,{onBeforeEnter(O){kt(x,[O]),ct(O,r),ct(O,i)},onBeforeAppear(O){kt(he,[O]),ct(O,a),ct(O,u)},onEnter:ae(!1),onAppear:ae(!0),onLeave(O,ne){O._isLeaving=!0;const D=()=>J(O,ne);ct(O,_),ic(),ct(O,v),Jo(()=>{O._isLeaving&&(wt(O,_),ct(O,w),Xo(X)||Qo(O,s,G,D))}),kt(X,[O,D])},onEnterCancelled(O){ee(O,!1),kt(N,[O])},onAppearCancelled(O){ee(O,!0),kt(H,[O])},onLeaveCancelled(O){J(O),kt(te,[O])}})}function sc(e){if(e==null)return null;if(ve(e))return[gs(e.enter),gs(e.leave)];{const t=gs(e);return[t,t]}}function gs(e){return Xi(e)}function ct(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e._vtc||(e._vtc=new Set)).add(t)}function wt(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const{_vtc:n}=e;n&&(n.delete(t),n.size||(e._vtc=void 0))}function Jo(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let oc=0;function Qo(e,t,n,s){const o=e._endId=++oc,r=()=>{o===e._endId&&s()};if(n)return setTimeout(r,n);const{type:i,timeout:l,propCount:a}=rc(e,t);if(!i)return s();const u=i+"end";let d=0;const _=()=>{e.removeEventListener(u,v),r()},v=w=>{w.target===e&&++d>=a&&_()};setTimeout(()=>{d(n[V]||"").split(", "),o=s(`${at}Delay`),r=s(`${at}Duration`),i=Zo(o,r),l=s(`${en}Delay`),a=s(`${en}Duration`),u=Zo(l,a);let d=null,_=0,v=0;t===at?i>0&&(d=at,_=i,v=r.length):t===en?u>0&&(d=en,_=u,v=a.length):(_=Math.max(i,u),d=_>0?i>u?at:en:null,v=d?d===at?r.length:a.length:0);const w=d===at&&/\b(transform|all)(,|$)/.test(s(`${at}Property`).toString());return{type:d,timeout:_,propCount:v,hasTransform:w}}function Zo(e,t){for(;e.lengther(n)+er(e[s])))}function er(e){return Number(e.slice(0,-1).replace(",","."))*1e3}function ic(){return document.body.offsetHeight}const lc=["ctrl","shift","alt","meta"],ac={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>lc.some(n=>e[`${n}Key`]&&!t.includes(n))},cc=(e,t)=>(n,...s)=>{for(let o=0;o{const t=fc().createApp(...e),{mount:n}=t;return t.mount=s=>{const o=hc(s);if(o)return n(o,!0,o instanceof SVGElement)},t};function hc(e){return be(e)?document.querySelector(e):e}const F=(e,t)=>{const n=e.__vccOpts||e;for(const[s,o]of t)n[s]=o;return n},pc="modulepreload",_c=function(e){return"/"+e},nr={},di=function(t,n,s){if(!n||n.length===0)return t();const o=document.getElementsByTagName("link");return Promise.all(n.map(r=>{if(r=_c(r),r in nr)return;nr[r]=!0;const i=r.endsWith(".css"),l=i?'[rel="stylesheet"]':"";if(!!s)for(let d=o.length-1;d>=0;d--){const _=o[d];if(_.href===r&&(!i||_.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${r}"]${l}`))return;const u=document.createElement("link");if(u.rel=i?"stylesheet":pc,i||(u.as="script",u.crossOrigin=""),u.href=r,document.head.appendChild(u),i)return new Promise((d,_)=>{u.addEventListener("load",d),u.addEventListener("error",()=>_(new Error(`Unable to preload CSS for ${r}`)))})})).then(()=>t())};const mc=R({__name:"VPBadge",props:{text:null,type:null},setup(e){return(t,n)=>(h(),g("span",{class:me(["VPBadge",e.type??"tip"])},[T(t.$slots,"default",{},()=>[Te(ie(e.text),1)],!0)],2))}});const vc=F(mc,[["__scopeId","data-v-ce917cfb"]]),gc=JSON.parse(`{"lang":"en-US","dir":"ltr","title":"PeyrSharp","description":"A C# library designed to make developers' job easier.","base":"/","head":[],"appearance":true,"themeConfig":{"nav":[{"text":"Guide","link":"/get-started"},{"text":"Reference","link":"/reference"}],"repo":"Leo-Corporation/PeyrSharp","docsDir":"documentation","docsBranch":"main","editLink":{"pattern":"https://github.com/Leo-Corporation/PeyrSharp/edit/main/Documentation/:path","text":"Edit this page on GitHub"},"footer":{"message":"Released under the MIT License.","copyright":"Copyright © 2023 Devyus/Léo Corporation"},"algolia":{"appId":"JVAJ1JZ6HO","apiKey":"0ef6a29a84fc5698ce54fde4381bf281","indexName":"peyrsharp"},"socialLinks":[{"icon":"github","link":"https://github.com/Leo-Corporation/PeyrSharp"},{"icon":"twitter","link":"https://twitter.com/LeoCorpNews"},{"icon":"youtube","link":"https://www.youtube.com/channel/UC283Dtf6EJ8eKfRoo0ISmqg"}],"outline":[1,3],"sidebar":{"/core/":[{"text":"Converters","collapsed":false,"items":[{"text":"Home","link":"/core/converters"},{"text":"Angle","link":"/core/converters/angle"},{"text":"Colors","collapsed":true,"items":[{"text":"RGB","link":"/core/converters/colors/rgb"},{"text":"HEX","link":"/core/converters/colors/hex"},{"text":"HSV","link":"/core/converters/colors/hsv"}]},{"text":"Distances","link":"/core/converters/distances"},{"text":"Masses","link":"/core/converters/masses"},{"text":"Storage","link":"/core/converters/storage"},{"text":"Temperatures","link":"/core/converters/temperatures"},{"text":"Time","link":"/core/converters/time"},{"text":"Volumes","link":"/core/converters/volumes"}]},{"text":"Crypt","collapsed":false,"items":[{"text":"Crypt","link":"/core/crypt"}]},{"text":"Guid","collapsed":false,"items":[{"text":"GuidGen","link":"/core/guid"},{"text":"GuidOptions","link":"/core/guid-options"}]},{"text":"Internet","collapsed":false,"items":[{"text":"Internet","link":"/core/internet"}]},{"text":"Maths","collapsed":false,"items":[{"text":"Home","link":"/core/maths"},{"text":"Algebra","link":"/core/maths/algebra"},{"text":"Geometry","collapsed":true,"link":"/core/maths/geometry","items":[{"text":"Circle","link":"/core/maths/geometry/circle"},{"text":"Cone","link":"/core/maths/geometry/cone"},{"text":"Cube","link":"/core/maths/geometry/cube"},{"text":"Cylinder","link":"/core/maths/geometry/cylinder"},{"text":"Diamond","link":"/core/maths/geometry/diamond"},{"text":"Hexagon","link":"/core/maths/geometry/hexagon"},{"text":"Pyramid","link":"/core/maths/geometry/pyramid"},{"text":"Rectangle","link":"/core/maths/geometry/rectangle"},{"text":"Sphere","link":"/core/maths/geometry/sphere"},{"text":"Triangle","link":"/core/maths/geometry/triangle"}]},{"text":"Percentages","link":"/core/maths/percentages"},{"text":"Proba","link":"/core/maths/proba"},{"text":"Stats","link":"/core/maths/stats"},{"text":"Trigonometry","link":"/core/maths/trigonometry"}]},{"text":"Password","collapsed":false,"items":[{"text":"Password","link":"/core/password"}]}],"core":[{"text":"Converters","collapsed":false,"items":[{"text":"Home","link":"/core/converters"},{"text":"Angle","link":"/core/converters/angle"},{"text":"Colors","collapsed":true,"items":[{"text":"RGB","link":"/core/converters/colors/rgb"},{"text":"HEX","link":"/core/converters/colors/hex"},{"text":"HSV","link":"/core/converters/colors/hsv"}]},{"text":"Distances","link":"/core/converters/distances"},{"text":"Masses","link":"/core/converters/masses"},{"text":"Storage","link":"/core/converters/storage"},{"text":"Temperatures","link":"/core/converters/temperatures"},{"text":"Time","link":"/core/converters/time"},{"text":"Volumes","link":"/core/converters/volumes"}]},{"text":"Crypt","collapsed":false,"items":[{"text":"Crypt","link":"/core/crypt"}]},{"text":"Guid","collapsed":false,"items":[{"text":"GuidGen","link":"/core/guid"},{"text":"GuidOptions","link":"/core/guid-options"}]},{"text":"Internet","collapsed":false,"items":[{"text":"Internet","link":"/core/internet"}]},{"text":"Maths","collapsed":false,"items":[{"text":"Home","link":"/core/maths"},{"text":"Algebra","link":"/core/maths/algebra"},{"text":"Geometry","collapsed":true,"link":"/core/maths/geometry","items":[{"text":"Circle","link":"/core/maths/geometry/circle"},{"text":"Cone","link":"/core/maths/geometry/cone"},{"text":"Cube","link":"/core/maths/geometry/cube"},{"text":"Cylinder","link":"/core/maths/geometry/cylinder"},{"text":"Diamond","link":"/core/maths/geometry/diamond"},{"text":"Hexagon","link":"/core/maths/geometry/hexagon"},{"text":"Pyramid","link":"/core/maths/geometry/pyramid"},{"text":"Rectangle","link":"/core/maths/geometry/rectangle"},{"text":"Sphere","link":"/core/maths/geometry/sphere"},{"text":"Triangle","link":"/core/maths/geometry/triangle"}]},{"text":"Percentages","link":"/core/maths/percentages"},{"text":"Proba","link":"/core/maths/proba"},{"text":"Stats","link":"/core/maths/stats"},{"text":"Trigonometry","link":"/core/maths/trigonometry"}]},{"text":"Password","collapsed":false,"items":[{"text":"Password","link":"/core/password"}]}],"get-started":[{"text":"Core","collapsed":false,"items":[{"text":"Converters","collapsed":false,"items":[{"text":"Home","link":"/core/converters"},{"text":"Angle","link":"/core/converters/angle"},{"text":"Colors","collapsed":true,"items":[{"text":"RGB","link":"/core/converters/colors/rgb"},{"text":"HEX","link":"/core/converters/colors/hex"},{"text":"HSV","link":"/core/converters/colors/hsv"}]},{"text":"Distances","link":"/core/converters/distances"},{"text":"Masses","link":"/core/converters/masses"},{"text":"Storage","link":"/core/converters/storage"},{"text":"Temperatures","link":"/core/converters/temperatures"},{"text":"Time","link":"/core/converters/time"},{"text":"Volumes","link":"/core/converters/volumes"}]},{"text":"Crypt","collapsed":false,"items":[{"text":"Crypt","link":"/core/crypt"}]},{"text":"Guid","collapsed":false,"items":[{"text":"GuidGen","link":"/core/guid"},{"text":"GuidOptions","link":"/core/guid-options"}]},{"text":"Internet","collapsed":false,"items":[{"text":"Internet","link":"/core/internet"}]},{"text":"Maths","collapsed":false,"items":[{"text":"Home","link":"/core/maths"},{"text":"Algebra","link":"/core/maths/algebra"},{"text":"Geometry","collapsed":true,"link":"/core/maths/geometry","items":[{"text":"Circle","link":"/core/maths/geometry/circle"},{"text":"Cone","link":"/core/maths/geometry/cone"},{"text":"Cube","link":"/core/maths/geometry/cube"},{"text":"Cylinder","link":"/core/maths/geometry/cylinder"},{"text":"Diamond","link":"/core/maths/geometry/diamond"},{"text":"Hexagon","link":"/core/maths/geometry/hexagon"},{"text":"Pyramid","link":"/core/maths/geometry/pyramid"},{"text":"Rectangle","link":"/core/maths/geometry/rectangle"},{"text":"Sphere","link":"/core/maths/geometry/sphere"},{"text":"Triangle","link":"/core/maths/geometry/triangle"}]},{"text":"Percentages","link":"/core/maths/percentages"},{"text":"Proba","link":"/core/maths/proba"},{"text":"Stats","link":"/core/maths/stats"},{"text":"Trigonometry","link":"/core/maths/trigonometry"}]},{"text":"Password","collapsed":false,"items":[{"text":"Password","link":"/core/password"}]}]},{"text":"Env","collapsed":false,"items":[{"text":"Home","link":"/env"},{"text":"FileSys","link":"/env/filesys"},{"text":"Logger","link":"/env/logger"},{"text":"Sys","link":"/env/system"},{"text":"Update","link":"/env/update"}]},{"text":"Enums","collapsed":false,"items":[{"text":"Home","link":"/enumerations"}]},{"text":"Exceptions","collapsed":false,"items":[{"text":"Home","link":"/exceptions"}]},{"text":"Extensions","collapsed":false,"items":[{"text":"Home","link":"/extensions"},{"text":"Array","link":"/extensions/array"},{"text":"Double","link":"/extensions/double"},{"text":"Int","link":"/extensions/int"},{"text":"String","link":"/extensions/string"}]},{"text":"UiHelpers","collapsed":false,"items":[{"text":"Home","link":"/ui-helpers"},{"text":"Screen","link":"/ui-helpers/screen"},{"text":"WinForms","link":"/ui-helpers/winforms"},{"text":"WPF","link":"/ui-helpers/wpf"}]}],"/ui-helpers/":[{"text":"UiHelpers","collapsed":false,"items":[{"text":"Home","link":"/ui-helpers"},{"text":"Screen","link":"/ui-helpers/screen"},{"text":"WinForms","link":"/ui-helpers/winforms"},{"text":"WPF","link":"/ui-helpers/wpf"}]}],"ui-helpers":[{"text":"UiHelpers","collapsed":false,"items":[{"text":"Home","link":"/ui-helpers"},{"text":"Screen","link":"/ui-helpers/screen"},{"text":"WinForms","link":"/ui-helpers/winforms"},{"text":"WPF","link":"/ui-helpers/wpf"}]}],"/env/":[{"text":"Env","collapsed":false,"items":[{"text":"Home","link":"/env"},{"text":"FileSys","link":"/env/filesys"},{"text":"Logger","link":"/env/logger"},{"text":"Sys","link":"/env/system"},{"text":"Update","link":"/env/update"}]}],"env":[{"text":"Env","collapsed":false,"items":[{"text":"Home","link":"/env"},{"text":"FileSys","link":"/env/filesys"},{"text":"Logger","link":"/env/logger"},{"text":"Sys","link":"/env/system"},{"text":"Update","link":"/env/update"}]}],"/extensions/":[{"text":"Extensions","collapsed":false,"items":[{"text":"Home","link":"/extensions"},{"text":"Array","link":"/extensions/array"},{"text":"Double","link":"/extensions/double"},{"text":"Int","link":"/extensions/int"},{"text":"String","link":"/extensions/string"}]}],"/extension":[{"text":"Extensions","collapsed":false,"items":[{"text":"Home","link":"/extensions"},{"text":"Array","link":"/extensions/array"},{"text":"Double","link":"/extensions/double"},{"text":"Int","link":"/extensions/int"},{"text":"String","link":"/extensions/string"}]}],"reference":[{"text":"Core","collapsed":false,"items":[{"text":"Converters","collapsed":false,"items":[{"text":"Home","link":"/core/converters"},{"text":"Angle","link":"/core/converters/angle"},{"text":"Colors","collapsed":true,"items":[{"text":"RGB","link":"/core/converters/colors/rgb"},{"text":"HEX","link":"/core/converters/colors/hex"},{"text":"HSV","link":"/core/converters/colors/hsv"}]},{"text":"Distances","link":"/core/converters/distances"},{"text":"Masses","link":"/core/converters/masses"},{"text":"Storage","link":"/core/converters/storage"},{"text":"Temperatures","link":"/core/converters/temperatures"},{"text":"Time","link":"/core/converters/time"},{"text":"Volumes","link":"/core/converters/volumes"}]},{"text":"Crypt","collapsed":false,"items":[{"text":"Crypt","link":"/core/crypt"}]},{"text":"Guid","collapsed":false,"items":[{"text":"GuidGen","link":"/core/guid"},{"text":"GuidOptions","link":"/core/guid-options"}]},{"text":"Internet","collapsed":false,"items":[{"text":"Internet","link":"/core/internet"}]},{"text":"Maths","collapsed":false,"items":[{"text":"Home","link":"/core/maths"},{"text":"Algebra","link":"/core/maths/algebra"},{"text":"Geometry","collapsed":true,"link":"/core/maths/geometry","items":[{"text":"Circle","link":"/core/maths/geometry/circle"},{"text":"Cone","link":"/core/maths/geometry/cone"},{"text":"Cube","link":"/core/maths/geometry/cube"},{"text":"Cylinder","link":"/core/maths/geometry/cylinder"},{"text":"Diamond","link":"/core/maths/geometry/diamond"},{"text":"Hexagon","link":"/core/maths/geometry/hexagon"},{"text":"Pyramid","link":"/core/maths/geometry/pyramid"},{"text":"Rectangle","link":"/core/maths/geometry/rectangle"},{"text":"Sphere","link":"/core/maths/geometry/sphere"},{"text":"Triangle","link":"/core/maths/geometry/triangle"}]},{"text":"Percentages","link":"/core/maths/percentages"},{"text":"Proba","link":"/core/maths/proba"},{"text":"Stats","link":"/core/maths/stats"},{"text":"Trigonometry","link":"/core/maths/trigonometry"}]},{"text":"Password","collapsed":false,"items":[{"text":"Password","link":"/core/password"}]}]},{"text":"Env","collapsed":false,"items":[{"text":"Home","link":"/env"},{"text":"FileSys","link":"/env/filesys"},{"text":"Logger","link":"/env/logger"},{"text":"Sys","link":"/env/system"},{"text":"Update","link":"/env/update"}]},{"text":"Enums","collapsed":false,"items":[{"text":"Home","link":"/enumerations"}]},{"text":"Exceptions","collapsed":false,"items":[{"text":"Home","link":"/exceptions"}]},{"text":"Extensions","collapsed":false,"items":[{"text":"Home","link":"/extensions"},{"text":"Array","link":"/extensions/array"},{"text":"Double","link":"/extensions/double"},{"text":"Int","link":"/extensions/int"},{"text":"String","link":"/extensions/string"}]},{"text":"UiHelpers","collapsed":false,"items":[{"text":"Home","link":"/ui-helpers"},{"text":"Screen","link":"/ui-helpers/screen"},{"text":"WinForms","link":"/ui-helpers/winforms"},{"text":"WPF","link":"/ui-helpers/wpf"}]}],"enumerations":[{"text":"Core","collapsed":false,"items":[{"text":"Converters","collapsed":false,"items":[{"text":"Home","link":"/core/converters"},{"text":"Angle","link":"/core/converters/angle"},{"text":"Colors","collapsed":true,"items":[{"text":"RGB","link":"/core/converters/colors/rgb"},{"text":"HEX","link":"/core/converters/colors/hex"},{"text":"HSV","link":"/core/converters/colors/hsv"}]},{"text":"Distances","link":"/core/converters/distances"},{"text":"Masses","link":"/core/converters/masses"},{"text":"Storage","link":"/core/converters/storage"},{"text":"Temperatures","link":"/core/converters/temperatures"},{"text":"Time","link":"/core/converters/time"},{"text":"Volumes","link":"/core/converters/volumes"}]},{"text":"Crypt","collapsed":false,"items":[{"text":"Crypt","link":"/core/crypt"}]},{"text":"Guid","collapsed":false,"items":[{"text":"GuidGen","link":"/core/guid"},{"text":"GuidOptions","link":"/core/guid-options"}]},{"text":"Internet","collapsed":false,"items":[{"text":"Internet","link":"/core/internet"}]},{"text":"Maths","collapsed":false,"items":[{"text":"Home","link":"/core/maths"},{"text":"Algebra","link":"/core/maths/algebra"},{"text":"Geometry","collapsed":true,"link":"/core/maths/geometry","items":[{"text":"Circle","link":"/core/maths/geometry/circle"},{"text":"Cone","link":"/core/maths/geometry/cone"},{"text":"Cube","link":"/core/maths/geometry/cube"},{"text":"Cylinder","link":"/core/maths/geometry/cylinder"},{"text":"Diamond","link":"/core/maths/geometry/diamond"},{"text":"Hexagon","link":"/core/maths/geometry/hexagon"},{"text":"Pyramid","link":"/core/maths/geometry/pyramid"},{"text":"Rectangle","link":"/core/maths/geometry/rectangle"},{"text":"Sphere","link":"/core/maths/geometry/sphere"},{"text":"Triangle","link":"/core/maths/geometry/triangle"}]},{"text":"Percentages","link":"/core/maths/percentages"},{"text":"Proba","link":"/core/maths/proba"},{"text":"Stats","link":"/core/maths/stats"},{"text":"Trigonometry","link":"/core/maths/trigonometry"}]},{"text":"Password","collapsed":false,"items":[{"text":"Password","link":"/core/password"}]}]},{"text":"Env","collapsed":false,"items":[{"text":"Home","link":"/env"},{"text":"FileSys","link":"/env/filesys"},{"text":"Logger","link":"/env/logger"},{"text":"Sys","link":"/env/system"},{"text":"Update","link":"/env/update"}]},{"text":"Enums","collapsed":false,"items":[{"text":"Home","link":"/enumerations"}]},{"text":"Exceptions","collapsed":false,"items":[{"text":"Home","link":"/exceptions"}]},{"text":"Extensions","collapsed":false,"items":[{"text":"Home","link":"/extensions"},{"text":"Array","link":"/extensions/array"},{"text":"Double","link":"/extensions/double"},{"text":"Int","link":"/extensions/int"},{"text":"String","link":"/extensions/string"}]},{"text":"UiHelpers","collapsed":false,"items":[{"text":"Home","link":"/ui-helpers"},{"text":"Screen","link":"/ui-helpers/screen"},{"text":"WinForms","link":"/ui-helpers/winforms"},{"text":"WPF","link":"/ui-helpers/wpf"}]}],"exceptions":[{"text":"Core","collapsed":false,"items":[{"text":"Converters","collapsed":false,"items":[{"text":"Home","link":"/core/converters"},{"text":"Angle","link":"/core/converters/angle"},{"text":"Colors","collapsed":true,"items":[{"text":"RGB","link":"/core/converters/colors/rgb"},{"text":"HEX","link":"/core/converters/colors/hex"},{"text":"HSV","link":"/core/converters/colors/hsv"}]},{"text":"Distances","link":"/core/converters/distances"},{"text":"Masses","link":"/core/converters/masses"},{"text":"Storage","link":"/core/converters/storage"},{"text":"Temperatures","link":"/core/converters/temperatures"},{"text":"Time","link":"/core/converters/time"},{"text":"Volumes","link":"/core/converters/volumes"}]},{"text":"Crypt","collapsed":false,"items":[{"text":"Crypt","link":"/core/crypt"}]},{"text":"Guid","collapsed":false,"items":[{"text":"GuidGen","link":"/core/guid"},{"text":"GuidOptions","link":"/core/guid-options"}]},{"text":"Internet","collapsed":false,"items":[{"text":"Internet","link":"/core/internet"}]},{"text":"Maths","collapsed":false,"items":[{"text":"Home","link":"/core/maths"},{"text":"Algebra","link":"/core/maths/algebra"},{"text":"Geometry","collapsed":true,"link":"/core/maths/geometry","items":[{"text":"Circle","link":"/core/maths/geometry/circle"},{"text":"Cone","link":"/core/maths/geometry/cone"},{"text":"Cube","link":"/core/maths/geometry/cube"},{"text":"Cylinder","link":"/core/maths/geometry/cylinder"},{"text":"Diamond","link":"/core/maths/geometry/diamond"},{"text":"Hexagon","link":"/core/maths/geometry/hexagon"},{"text":"Pyramid","link":"/core/maths/geometry/pyramid"},{"text":"Rectangle","link":"/core/maths/geometry/rectangle"},{"text":"Sphere","link":"/core/maths/geometry/sphere"},{"text":"Triangle","link":"/core/maths/geometry/triangle"}]},{"text":"Percentages","link":"/core/maths/percentages"},{"text":"Proba","link":"/core/maths/proba"},{"text":"Stats","link":"/core/maths/stats"},{"text":"Trigonometry","link":"/core/maths/trigonometry"}]},{"text":"Password","collapsed":false,"items":[{"text":"Password","link":"/core/password"}]}]},{"text":"Env","collapsed":false,"items":[{"text":"Home","link":"/env"},{"text":"FileSys","link":"/env/filesys"},{"text":"Logger","link":"/env/logger"},{"text":"Sys","link":"/env/system"},{"text":"Update","link":"/env/update"}]},{"text":"Enums","collapsed":false,"items":[{"text":"Home","link":"/enumerations"}]},{"text":"Exceptions","collapsed":false,"items":[{"text":"Home","link":"/exceptions"}]},{"text":"Extensions","collapsed":false,"items":[{"text":"Home","link":"/extensions"},{"text":"Array","link":"/extensions/array"},{"text":"Double","link":"/extensions/double"},{"text":"Int","link":"/extensions/int"},{"text":"String","link":"/extensions/string"}]},{"text":"UiHelpers","collapsed":false,"items":[{"text":"Home","link":"/ui-helpers"},{"text":"Screen","link":"/ui-helpers/screen"},{"text":"WinForms","link":"/ui-helpers/winforms"},{"text":"WPF","link":"/ui-helpers/wpf"}]}]}},"locales":{},"scrollOffset":90,"cleanUrls":false}`),rs=/^[a-z]+:/i,xc=/^pathname:\/\//,sr="vitepress-theme-appearance",hi=/#.*$/,yc=/(index)?\.(md|html)$/,$e=typeof document<"u",pi={relativePath:"",title:"404",description:"Not Found",headers:[],frontmatter:{sidebar:!1,layout:"page"},lastUpdated:0};function It(e,t,n=!1){if(t===void 0)return!1;if(e=or(`/${e}`),n)return new RegExp(t).test(e);if(or(t)!==e)return!1;const s=t.match(hi);return s?($e?location.hash:"")===s[0]:!0}function or(e){return decodeURI(e).replace(hi,"").replace(yc,"")}function _i(e){return rs.test(e)}function bc(e,t){var s,o,r,i,l,a,u;const n=Object.keys(e.locales).find(d=>d!=="root"&&!_i(d)&&It(t,`/${d}/`,!0))||"root";return Object.assign({},e,{localeIndex:n,lang:((s=e.locales[n])==null?void 0:s.lang)??e.lang,dir:((o=e.locales[n])==null?void 0:o.dir)??e.dir,title:((r=e.locales[n])==null?void 0:r.title)??e.title,titleTemplate:((i=e.locales[n])==null?void 0:i.titleTemplate)??e.titleTemplate,description:((l=e.locales[n])==null?void 0:l.description)??e.description,head:vi(e.head,((a=e.locales[n])==null?void 0:a.head)??[]),themeConfig:{...e.themeConfig,...(u=e.locales[n])==null?void 0:u.themeConfig}})}function mi(e,t){const n=t.title||e.title,s=t.titleTemplate??e.titleTemplate;if(typeof s=="string"&&s.includes(":title"))return s.replace(/:title/g,n);const o=kc(e.title,s);return`${n}${o}`}function kc(e,t){return t===!1?"":t===!0||t===void 0?` | ${e}`:e===t?"":` | ${t}`}function wc(e,t){const[n,s]=t;if(n!=="meta")return!1;const o=Object.entries(s)[0];return o==null?!1:e.some(([r,i])=>r===n&&i[o[0]]===o[1])}function vi(e,t){return[...e.filter(n=>!wc(t,n)),...t]}const $c=/[\u0000-\u001F"#$&*+,:;<=>?[\]^`{|}\u007F]/g,Pc=/^[a-z]:/i;function rr(e){const t=Pc.exec(e),n=t?t[0]:"";return n+e.slice(n.length).replace($c,"_").replace(/(^|\/)_+(?=[^/]*$)/,"$1")}const gi=Symbol(),ft=Tl(gc);function Cc(e){const t=K(()=>bc(ft.value,e.data.relativePath));return{site:t,theme:K(()=>t.value.themeConfig),page:K(()=>e.data),frontmatter:K(()=>e.data.frontmatter),lang:K(()=>t.value.lang),dir:K(()=>t.value.dir),localeIndex:K(()=>t.value.localeIndex||"root"),title:K(()=>mi(t.value,e.data)),description:K(()=>e.data.description||t.value.description),isDark:le(!1)}}function xi(){const e=Ge(gi);if(!e)throw new Error("vitepress data not properly injected in app");return e}function Sc(e,t){return`${e}${t}`.replace(/\/+/g,"/")}function _n(e){return rs.test(e)||e.startsWith(".")?e:Sc(ft.value.base,e)}function yi(e){let t=e.replace(/\.html$/,"");if(t=decodeURIComponent(t),t=t.replace(/\/$/,"/index"),$e){const n="/";t=rr(t.slice(n.length).replace(/\//g,"_")||"index")+".md";let s=__VP_HASH_MAP__[t.toLowerCase()];s||(t=t.endsWith("_index.md")?t.slice(0,-9)+".md":t.slice(0,-3)+"_index.md",s=__VP_HASH_MAP__[t.toLowerCase()]),t=`${n}assets/${t}.${s}.js`}else t=`./${rr(t.slice(1).replace(/\//g,"_"))}.md.js`;return t}const bi=Symbol(),ir="http://a.com",Tc=()=>({path:"/",component:null,data:pi});function Ec(e,t){const n=Xn(Tc()),s={route:n,go:o};async function o(l=$e?location.href:"/"){var u,d;await((u=s.onBeforeRouteChange)==null?void 0:u.call(s,l));const a=new URL(l,ir);ft.value.cleanUrls||!a.pathname.endsWith("/")&&!a.pathname.endsWith(".html")&&(a.pathname+=".html",l=a.pathname+a.search+a.hash),$e&&l!==location.href&&(history.replaceState({scrollPosition:window.scrollY},document.title),history.pushState(null,"",l)),await i(l),await((d=s.onAfterRouteChanged)==null?void 0:d.call(s,l))}let r=null;async function i(l,a=0,u=!1){const d=new URL(l,ir),_=r=d.pathname;try{let v=await e(_);if(r===_){r=null;const{default:w,__pageData:V}=v;if(!w)throw new Error(`Invalid route component: ${w}`);n.path=$e?_:_n(_),n.component=sn(w),n.data=sn(V),$e&&no(()=>{let A=ft.value.base+V.relativePath.replace(/(?:(^|\/)index)?\.md$/,"$1");if(!ft.value.cleanUrls&&!A.endsWith("/")&&(A+=".html"),A!==d.pathname&&(d.pathname=A,l=A+d.search+d.hash,history.replaceState(null,"",l)),d.hash&&!a){let G=null;try{G=document.querySelector(decodeURIComponent(d.hash))}catch(x){console.warn(x)}if(G){lr(G,d.hash);return}}window.scrollTo(0,a)})}}catch(v){if(!/fetch/.test(v.message)&&!/^\/404(\.html|\/)?$/.test(l)&&console.error(v),!u)try{const w=await fetch(ft.value.base+"hashmap.json");window.__VP_HASH_MAP__=await w.json(),await i(l,a,!0);return}catch{}r===_&&(r=null,n.path=$e?_:_n(_),n.component=t?sn(t):null,n.data=pi)}}return $e&&(window.addEventListener("click",l=>{if(l.target.closest("button"))return;const u=l.target.closest("a");if(u&&!u.closest(".vp-raw")&&(u instanceof SVGElement||!u.download)){const{target:d}=u,{href:_,origin:v,pathname:w,hash:V,search:A}=new URL(u.href instanceof SVGAnimatedString?u.href.animVal:u.href,u.baseURI),G=window.location,x=w.match(/\.\w+$/);!l.ctrlKey&&!l.shiftKey&&!l.altKey&&!l.metaKey&&d!=="_blank"&&v===G.origin&&!(x&&x[0]!==".html")&&(l.preventDefault(),w===G.pathname&&A===G.search?V&&V!==G.hash&&(history.pushState(null,"",V),window.dispatchEvent(new Event("hashchange")),lr(u,V,u.classList.contains("header-anchor"))):o(_))}},{capture:!0}),window.addEventListener("popstate",l=>{i(location.href,l.state&&l.state.scrollPosition||0)}),window.addEventListener("hashchange",l=>{l.preventDefault()})),s}function Vc(){const e=Ge(bi);if(!e)throw new Error("useRouter() is called without provider.");return e}function vt(){return Vc().route}function lr(e,t,n=!1){let s=null;try{s=e.classList.contains("header-anchor")?e:document.querySelector(decodeURIComponent(t))}catch(o){console.warn(o)}if(s){let o=ft.value.scrollOffset;typeof o=="string"&&(o=document.querySelector(o).getBoundingClientRect().bottom+24);const r=parseInt(window.getComputedStyle(s).paddingTop,10),i=window.scrollY+s.getBoundingClientRect().top-o+r;!n||Math.abs(i-window.scrollY)>window.innerHeight?window.scrollTo(0,i):window.scrollTo({left:0,top:i,behavior:"smooth"})}}const Lc=R({name:"VitePressContent",props:{onContentUpdated:Function},setup(e){const t=vt();return so(()=>{var n;(n=e.onContentUpdated)==null||n.call(e)}),()=>Un("div",{style:{position:"relative"}},[t.component?Un(t.component):null])}}),ue=xi;var ar;const yn=typeof window<"u",Ac=e=>typeof e=="string",Ic=()=>{};yn&&((ar=window==null?void 0:window.navigator)!=null&&ar.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function Mc(e){return typeof e=="function"?e():p(e)}function Hc(e){return e}function ki(e){return yr()?(el(e),!0):!1}function Nc(e){return typeof e=="function"?K(e):le(e)}function Oc(e,t=!0){ss()?Ie(e):t?e():no(e)}function Bc(e){var t;const n=Mc(e);return(t=n==null?void 0:n.$el)!=null?t:n}const co=yn?window:void 0;yn&&window.document;yn&&window.navigator;yn&&window.location;function Fc(...e){let t,n,s,o;if(Ac(e[0])||Array.isArray(e[0])?([n,s,o]=e,t=co):[t,n,s,o]=e,!t)return Ic;Array.isArray(n)||(n=[n]),Array.isArray(s)||(s=[s]);const r=[],i=()=>{r.forEach(d=>d()),r.length=0},l=(d,_,v)=>(d.addEventListener(_,v,o),()=>d.removeEventListener(_,v,o)),a=Je(()=>Bc(t),d=>{i(),d&&r.push(...n.flatMap(_=>s.map(v=>l(d,_,v))))},{immediate:!0,flush:"post"}),u=()=>{a(),i()};return ki(u),u}function Rc(e,t=!1){const n=le(),s=()=>n.value=Boolean(e());return s(),Oc(s,t),n}function Ns(e,t={}){const{window:n=co}=t,s=Rc(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let o;const r=le(!1),i=()=>{o&&("removeEventListener"in o?o.removeEventListener("change",l):o.removeListener(l))},l=()=>{s.value&&(i(),o=n.matchMedia(Nc(e).value),r.value=o.matches,"addEventListener"in o?o.addEventListener("change",l):o.addListener(l))};return Lt(l),ki(()=>i()),r}const Os=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Bs="__vueuse_ssr_handlers__";Os[Bs]=Os[Bs]||{};Os[Bs];var cr;(function(e){e.UP="UP",e.RIGHT="RIGHT",e.DOWN="DOWN",e.LEFT="LEFT",e.NONE="NONE"})(cr||(cr={}));var Dc=Object.defineProperty,ur=Object.getOwnPropertySymbols,Uc=Object.prototype.hasOwnProperty,zc=Object.prototype.propertyIsEnumerable,fr=(e,t,n)=>t in e?Dc(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,jc=(e,t)=>{for(var n in t||(t={}))Uc.call(t,n)&&fr(e,n,t[n]);if(ur)for(var n of ur(t))zc.call(t,n)&&fr(e,n,t[n]);return e};const Kc={easeInSine:[.12,0,.39,0],easeOutSine:[.61,1,.88,1],easeInOutSine:[.37,0,.63,1],easeInQuad:[.11,0,.5,0],easeOutQuad:[.5,1,.89,1],easeInOutQuad:[.45,0,.55,1],easeInCubic:[.32,0,.67,0],easeOutCubic:[.33,1,.68,1],easeInOutCubic:[.65,0,.35,1],easeInQuart:[.5,0,.75,0],easeOutQuart:[.25,1,.5,1],easeInOutQuart:[.76,0,.24,1],easeInQuint:[.64,0,.78,0],easeOutQuint:[.22,1,.36,1],easeInOutQuint:[.83,0,.17,1],easeInExpo:[.7,0,.84,0],easeOutExpo:[.16,1,.3,1],easeInOutExpo:[.87,0,.13,1],easeInCirc:[.55,0,1,.45],easeOutCirc:[0,.55,.45,1],easeInOutCirc:[.85,0,.15,1],easeInBack:[.36,0,.66,-.56],easeOutBack:[.34,1.56,.64,1],easeInOutBack:[.68,-.6,.32,1.6]};jc({linear:Hc},Kc);function Gc({window:e=co}={}){if(!e)return{x:le(0),y:le(0)};const t=le(e.pageXOffset),n=le(e.pageYOffset);return Fc(e,"scroll",()=>{t.value=e.pageXOffset,n.value=e.pageYOffset},{capture:!1,passive:!0}),{x:t,y:n}}function Wc(e,t){let n,s=!1;return()=>{n&&clearTimeout(n),s?n=setTimeout(e,t):(e(),s=!0,setTimeout(()=>{s=!1},t))}}function Fs(e){return/^\//.test(e)?e:`/${e}`}function mn(e){if(_i(e))return e.replace(xc,"");const{site:t}=ue(),{pathname:n,search:s,hash:o}=new URL(e,"http://example.com"),r=n.endsWith("/")||n.endsWith(".html")?e:e.replace(/(?:(^\.+)\/)?.*$/,`$1${n.replace(/(\.md)?$/,t.value.cleanUrls?"":".html")}${s}${o}`);return _n(r)}function wi(e,t){if(Array.isArray(e))return e;if(e==null)return[];t=Fs(t);const n=Object.keys(e).sort((s,o)=>o.split("/").length-s.split("/").length).find(s=>t.startsWith(Fs(s)));return n?e[n]:[]}function qc(e){const t=[];let n=0;for(const s in e){const o=e[s];if(o.items){n=t.push(o);continue}t[n]||t.push({items:[]}),t[n].items.push(o)}return t}function Yc(e){const t=[];function n(s){for(const o of s)o.text&&o.link&&t.push({text:o.text,link:o.link}),o.items&&n(o.items)}return n(e),t}function Rs(e,t){return Array.isArray(t)?t.some(n=>Rs(e,n)):It(e,t.link)?!0:t.items?Rs(e,t.items):!1}function rt(){const e=vt(),{theme:t,frontmatter:n}=ue(),s=Ns("(min-width: 960px)"),o=le(!1),r=K(()=>{const w=t.value.sidebar,V=e.data.relativePath;return w?wi(w,V):[]}),i=K(()=>n.value.sidebar!==!1&&r.value.length>0&&n.value.layout!=="home"),l=K(()=>n.value.layout!=="home"&&n.value.aside!==!1),a=K(()=>i.value&&s.value),u=K(()=>i.value?qc(r.value):[]);function d(){o.value=!0}function _(){o.value=!1}function v(){o.value?_():d()}return{isOpen:o,sidebar:r,sidebarGroups:u,hasSidebar:i,hasAside:l,isSidebarEnabled:a,open:d,close:_,toggle:v}}function Xc(e,t){let n;Lt(()=>{n=e.value?document.activeElement:void 0}),Ie(()=>{window.addEventListener("keyup",s)}),mt(()=>{window.removeEventListener("keyup",s)});function s(o){o.key==="Escape"&&e.value&&(t(),n==null||n.focus())}}function Jc(e){const{page:t}=ue(),n=le(!1),s=K(()=>e.value.collapsed!=null),o=K(()=>!!e.value.link),r=K(()=>It(t.value.relativePath,e.value.link)),i=K(()=>r.value?!0:e.value.items?Rs(t.value.relativePath,e.value.items):!1),l=K(()=>!!(e.value.items&&e.value.items.length));Lt(()=>{n.value=!!(s.value&&e.value.collapsed)}),Lt(()=>{(r.value||i.value)&&(n.value=!1)});function a(){s.value&&(n.value=!n.value)}return{collapsed:n,collapsible:s,isLink:o,isActiveLink:r,hasActiveLink:i,hasChildren:l,toggle:a}}const Qc=R({__name:"VPSkipLink",setup(e){const t=vt(),n=le();Je(()=>t.path,()=>n.value.focus());function s({target:o}){const r=document.querySelector(o.hash);if(r){const i=()=>{r.removeAttribute("tabindex"),r.removeEventListener("blur",i)};r.setAttribute("tabindex","-1"),r.addEventListener("blur",i),r.focus(),window.scrollTo(0,0)}}return(o,r)=>(h(),g(Z,null,[y("span",{ref_key:"backToTop",ref:n,tabindex:"-1"},null,512),y("a",{href:"#VPContent",class:"VPSkipLink visually-hidden",onClick:s}," Skip to content ")],64))}});const Zc=F(Qc,[["__scopeId","data-v-f637ee78"]]),eu={key:0,class:"VPBackdrop"},tu=R({__name:"VPBackdrop",props:{show:{type:Boolean}},setup(e){return(t,n)=>(h(),W(os,{name:"fade"},{default:M(()=>[e.show?(h(),g("div",eu)):U("",!0)]),_:1}))}});const nu=F(tu,[["__scopeId","data-v-54a304ca"]]);function su(){const e=le(!1);function t(){e.value=!0,window.addEventListener("resize",o)}function n(){e.value=!1,window.removeEventListener("resize",o)}function s(){e.value?n():t()}function o(){window.outerWidth>=768&&n()}const r=vt();return Je(()=>r.path,n),{isScreenOpen:e,openScreen:t,closeScreen:n,toggleScreen:s}}function bn({removeCurrent:e=!0,correspondingLink:t=!1}={}){const{site:n,localeIndex:s,page:o,theme:r}=ue(),i=K(()=>{var a,u;return{label:(a=n.value.locales[s.value])==null?void 0:a.label,link:((u=n.value.locales[s.value])==null?void 0:u.link)||(s.value==="root"?"/":`/${s.value}/`)}});return{localeLinks:K(()=>Object.entries(n.value.locales).flatMap(([a,u])=>e&&i.value.label===u.label?[]:{text:u.label,link:ou(u.link||(a==="root"?"/":`/${a}/`),r.value.i18nRouting!==!1&&t,o.value.relativePath.slice(i.value.link.length-1),!n.value.cleanUrls)})),currentLang:i}}function ou(e,t,n,s){return t?e.replace(/\/$/,"")+Fs(n.replace(/(^|\/)?index.md$/,"$1").replace(/\.md$/,s?".html":"")):e}const ru=["src","alt"],iu={inheritAttrs:!1},lu=R({...iu,__name:"VPImage",props:{image:null,alt:null},setup(e){return(t,n)=>{const s=At("VPImage",!0);return e.image?(h(),g(Z,{key:0},[typeof e.image=="string"||"src"in e.image?(h(),g("img",Mn({key:0,class:"VPImage"},typeof e.image=="string"?t.$attrs:{...e.image,...t.$attrs},{src:p(_n)(typeof e.image=="string"?e.image:e.image.src),alt:e.alt??(typeof e.image=="string"?"":e.image.alt||"")}),null,16,ru)):(h(),g(Z,{key:1},[E(s,Mn({class:"dark",image:e.image.dark,alt:e.image.alt},t.$attrs),null,16,["image","alt"]),E(s,Mn({class:"light",image:e.image.light,alt:e.image.alt},t.$attrs),null,16,["image","alt"])],64))],64)):U("",!0)}}});const uo=F(lu,[["__scopeId","data-v-dc109a54"]]),au=["href"],cu=R({__name:"VPNavBarTitle",setup(e){const{site:t,theme:n}=ue(),{hasSidebar:s}=rt(),{currentLang:o}=bn();return(r,i)=>(h(),g("div",{class:me(["VPNavBarTitle",{"has-sidebar":p(s)}])},[y("a",{class:"title",href:p(mn)(p(o).link)},[T(r.$slots,"nav-bar-title-before",{},void 0,!0),p(n).logo?(h(),W(uo,{key:0,class:"logo",image:p(n).logo},null,8,["image"])):U("",!0),p(n).siteTitle?(h(),g(Z,{key:1},[Te(ie(p(n).siteTitle),1)],64)):p(n).siteTitle===void 0?(h(),g(Z,{key:2},[Te(ie(p(t).title),1)],64)):U("",!0),T(r.$slots,"nav-bar-title-after",{},void 0,!0)],8,au)],2))}});const uu=F(cu,[["__scopeId","data-v-a6217f33"]]);const fu={key:0,class:"VPNavBarSearch"},du={type:"button",class:"DocSearch DocSearch-Button","aria-label":"Search"},hu={class:"DocSearch-Button-Container"},pu=y("svg",{class:"DocSearch-Search-Icon",width:"20",height:"20",viewBox:"0 0 20 20"},[y("path",{d:"M14.386 14.386l4.0877 4.0877-4.0877-4.0877c-2.9418 2.9419-7.7115 2.9419-10.6533 0-2.9419-2.9418-2.9419-7.7115 0-10.6533 2.9418-2.9419 7.7115-2.9419 10.6533 0 2.9419 2.9418 2.9419 7.7115 0 10.6533z",stroke:"currentColor",fill:"none","fill-rule":"evenodd","stroke-linecap":"round","stroke-linejoin":"round"})],-1),_u={class:"DocSearch-Button-Placeholder"},mu=y("span",{class:"DocSearch-Button-Keys"},[y("kbd",{class:"DocSearch-Button-Key"}),y("kbd",{class:"DocSearch-Button-Key"},"K")],-1),vu=R({__name:"VPNavBarSearch",setup(e){tc(u=>({"1b653234":r.value}));const t=Wl(()=>di(()=>import("./chunks/VPAlgoliaSearchBox.00fedfd3.js"),[])),{theme:n,localeIndex:s}=ue(),o=le(!1),r=le("'Meta'"),i=K(()=>{var u,d,_,v,w,V,A,G;return((w=(v=(_=(d=(u=n.value.algolia)==null?void 0:u.locales)==null?void 0:d[s.value])==null?void 0:_.translations)==null?void 0:v.button)==null?void 0:w.buttonText)||((G=(A=(V=n.value.algolia)==null?void 0:V.translations)==null?void 0:A.button)==null?void 0:G.buttonText)||"Search"});Ie(()=>{if(!n.value.algolia)return;r.value=/(Mac|iPhone|iPod|iPad)/i.test(navigator.platform)?"'⌘'":"'Ctrl'";const u=_=>{_.key==="k"&&(_.ctrlKey||_.metaKey)&&(_.preventDefault(),l(),d())},d=()=>{window.removeEventListener("keydown",u)};window.addEventListener("keydown",u),mt(d)});function l(){o.value||(o.value=!0,setTimeout(a,16))}function a(){const u=new Event("keydown");u.key="k",u.metaKey=!0,window.dispatchEvent(u),setTimeout(()=>{document.querySelector(".DocSearch-Modal")||a()},16)}return Ie(()=>{const u="VPAlgoliaPreconnect";(window.requestIdleCallback||setTimeout)(()=>{if(!n.value.algolia||document.head.querySelector(`#${u}`))return;const _=document.createElement("link");_.id=u,_.rel="preconnect",_.href=`https://${n.value.algolia.appId}-dsn.algolia.net`,_.crossOrigin="",document.head.appendChild(_)})}),(u,d)=>p(n).algolia?(h(),g("div",fu,[o.value?(h(),W(p(t),{key:0,algolia:p(n).algolia},null,8,["algolia"])):(h(),g("div",{key:1,id:"docsearch",onClick:l},[y("button",du,[y("span",hu,[pu,y("span",_u,ie(p(i)),1)]),mu])]))])):U("",!0)}});const gu={},xu={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",height:"24px",viewBox:"0 0 24 24",width:"24px"},yu=y("path",{d:"M0 0h24v24H0V0z",fill:"none"},null,-1),bu=y("path",{d:"M9 5v2h6.59L4 18.59 5.41 20 17 8.41V15h2V5H9z"},null,-1),ku=[yu,bu];function wu(e,t){return h(),g("svg",xu,ku)}const $u=F(gu,[["render",wu]]),Pu=R({__name:"VPLink",props:{tag:null,href:null,noIcon:{type:Boolean}},setup(e){const t=e,n=K(()=>t.tag??t.href?"a":"span"),s=K(()=>t.href&&rs.test(t.href));return(o,r)=>(h(),W(hn(p(n)),{class:me(["VPLink",{link:e.href}]),href:e.href?p(mn)(e.href):void 0,target:p(s)?"_blank":void 0,rel:p(s)?"noreferrer":void 0},{default:M(()=>[T(o.$slots,"default",{},void 0,!0),p(s)&&!e.noIcon?(h(),W($u,{key:0,class:"icon"})):U("",!0)]),_:3},8,["class","href","target","rel"]))}});const gt=F(Pu,[["__scopeId","data-v-b9e985a1"]]),Cu=R({__name:"VPNavBarMenuLink",props:{item:null},setup(e){const{page:t}=ue();return(n,s)=>(h(),W(gt,{class:me({VPNavBarMenuLink:!0,active:p(It)(p(t).relativePath,e.item.activeMatch||e.item.link,!!e.item.activeMatch)}),href:e.item.link,noIcon:!0},{default:M(()=>[Te(ie(e.item.text),1)]),_:1},8,["class","href"]))}});const Su=F(Cu,[["__scopeId","data-v-9d7efd51"]]),fo=le();let $i=!1,ys=0;function Tu(e){const t=le(!1);if($e){!$i&&Eu(),ys++;const n=Je(fo,s=>{var o,r,i;s===e.el.value||(o=e.el.value)!=null&&o.contains(s)?(t.value=!0,(r=e.onFocus)==null||r.call(e)):(t.value=!1,(i=e.onBlur)==null||i.call(e))});mt(()=>{n(),ys--,ys||Vu()})}return Qs(t)}function Eu(){document.addEventListener("focusin",Pi),$i=!0,fo.value=document.activeElement}function Vu(){document.removeEventListener("focusin",Pi)}function Pi(){fo.value=document.activeElement}const Lu={},Au={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},Iu=y("path",{d:"M12,16c-0.3,0-0.5-0.1-0.7-0.3l-6-6c-0.4-0.4-0.4-1,0-1.4s1-0.4,1.4,0l5.3,5.3l5.3-5.3c0.4-0.4,1-0.4,1.4,0s0.4,1,0,1.4l-6,6C12.5,15.9,12.3,16,12,16z"},null,-1),Mu=[Iu];function Hu(e,t){return h(),g("svg",Au,Mu)}const Ci=F(Lu,[["render",Hu]]),Nu={},Ou={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},Bu=y("circle",{cx:"12",cy:"12",r:"2"},null,-1),Fu=y("circle",{cx:"19",cy:"12",r:"2"},null,-1),Ru=y("circle",{cx:"5",cy:"12",r:"2"},null,-1),Du=[Bu,Fu,Ru];function Uu(e,t){return h(),g("svg",Ou,Du)}const zu=F(Nu,[["render",Uu]]),ju={class:"VPMenuLink"},Ku=R({__name:"VPMenuLink",props:{item:null},setup(e){const{page:t}=ue();return(n,s)=>(h(),g("div",ju,[E(gt,{class:me({active:p(It)(p(t).relativePath,e.item.activeMatch||e.item.link,!!e.item.activeMatch)}),href:e.item.link},{default:M(()=>[Te(ie(e.item.text),1)]),_:1},8,["class","href"])]))}});const is=F(Ku,[["__scopeId","data-v-f43299a3"]]),Gu={class:"VPMenuGroup"},Wu={key:0,class:"title"},qu=R({__name:"VPMenuGroup",props:{text:null,items:null},setup(e){return(t,n)=>(h(),g("div",Gu,[e.text?(h(),g("p",Wu,ie(e.text),1)):U("",!0),(h(!0),g(Z,null,Ve(e.items,s=>(h(),g(Z,null,["link"in s?(h(),W(is,{key:0,item:s},null,8,["item"])):U("",!0)],64))),256))]))}});const Yu=F(qu,[["__scopeId","data-v-83b576f3"]]),Xu={class:"VPMenu"},Ju={key:0,class:"items"},Qu=R({__name:"VPMenu",props:{items:null},setup(e){return(t,n)=>(h(),g("div",Xu,[e.items?(h(),g("div",Ju,[(h(!0),g(Z,null,Ve(e.items,s=>(h(),g(Z,{key:s.text},["link"in s?(h(),W(is,{key:0,item:s},null,8,["item"])):(h(),W(Yu,{key:1,text:s.text,items:s.items},null,8,["text","items"]))],64))),128))])):U("",!0),T(t.$slots,"default",{},void 0,!0)]))}});const Zu=F(Qu,[["__scopeId","data-v-e42ed9b3"]]),ef=["aria-expanded","aria-label"],tf={key:0,class:"text"},nf={class:"menu"},sf=R({__name:"VPFlyout",props:{icon:null,button:null,label:null,items:null},setup(e){const t=le(!1),n=le();Tu({el:n,onBlur:s});function s(){t.value=!1}return(o,r)=>(h(),g("div",{class:"VPFlyout",ref_key:"el",ref:n,onMouseenter:r[1]||(r[1]=i=>t.value=!0),onMouseleave:r[2]||(r[2]=i=>t.value=!1)},[y("button",{type:"button",class:"button","aria-haspopup":"true","aria-expanded":t.value,"aria-label":e.label,onClick:r[0]||(r[0]=i=>t.value=!t.value)},[e.button||e.icon?(h(),g("span",tf,[e.icon?(h(),W(hn(e.icon),{key:0,class:"option-icon"})):U("",!0),Te(" "+ie(e.button)+" ",1),E(Ci,{class:"text-icon"})])):(h(),W(zu,{key:1,class:"icon"}))],8,ef),y("div",nf,[E(Zu,{items:e.items},{default:M(()=>[T(o.$slots,"default",{},void 0,!0)]),_:3},8,["items"])])],544))}});const ho=F(sf,[["__scopeId","data-v-226768c1"]]),of=R({__name:"VPNavBarMenuGroup",props:{item:null},setup(e){const{page:t}=ue();return(n,s)=>(h(),W(ho,{class:me({VPNavBarMenuGroup:!0,active:p(It)(p(t).relativePath,e.item.activeMatch,!!e.item.activeMatch)}),button:e.item.text,items:e.item.items},null,8,["class","button","items"]))}}),rf=e=>(Ze("data-v-066fd012"),e=e(),et(),e),lf={key:0,"aria-labelledby":"main-nav-aria-label",class:"VPNavBarMenu"},af=rf(()=>y("span",{id:"main-nav-aria-label",class:"visually-hidden"},"Main Navigation",-1)),cf=R({__name:"VPNavBarMenu",setup(e){const{theme:t}=ue();return(n,s)=>p(t).nav?(h(),g("nav",lf,[af,(h(!0),g(Z,null,Ve(p(t).nav,o=>(h(),g(Z,{key:o.text},["link"in o?(h(),W(Su,{key:0,item:o},null,8,["item"])):(h(),W(of,{key:1,item:o},null,8,["item"]))],64))),128))])):U("",!0)}});const uf=F(cf,[["__scopeId","data-v-066fd012"]]),ff={},df={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},hf=y("path",{d:"M0 0h24v24H0z",fill:"none"},null,-1),pf=y("path",{d:" M12.87 15.07l-2.54-2.51.03-.03c1.74-1.94 2.98-4.17 3.71-6.53H17V4h-7V2H8v2H1v1.99h11.17C11.5 7.92 10.44 9.75 9 11.35 8.07 10.32 7.3 9.19 6.69 8h-2c.73 1.63 1.73 3.17 2.98 4.56l-5.09 5.02L4 19l5-5 3.11 3.11.76-2.04zM18.5 10h-2L12 22h2l1.12-3h4.75L21 22h2l-4.5-12zm-2.62 7l1.62-4.33L19.12 17h-3.24z ",class:"css-c4d79v"},null,-1),_f=[hf,pf];function mf(e,t){return h(),g("svg",df,_f)}const Si=F(ff,[["render",mf]]),vf={class:"items"},gf={class:"title"},xf=R({__name:"VPNavBarTranslations",setup(e){const{localeLinks:t,currentLang:n}=bn({correspondingLink:!0});return(s,o)=>p(t).length&&p(n).label?(h(),W(ho,{key:0,class:"VPNavBarTranslations",icon:Si},{default:M(()=>[y("div",vf,[y("p",gf,ie(p(n).label),1),(h(!0),g(Z,null,Ve(p(t),r=>(h(),W(is,{key:r.link,item:r},null,8,["item"]))),128))])]),_:1})):U("",!0)}});const yf=F(xf,[["__scopeId","data-v-3a432f21"]]);const bf={},kf={class:"VPSwitch",type:"button",role:"switch"},wf={class:"check"},$f={key:0,class:"icon"};function Pf(e,t){return h(),g("button",kf,[y("span",wf,[e.$slots.default?(h(),g("span",$f,[T(e.$slots,"default",{},void 0,!0)])):U("",!0)])])}const Cf=F(bf,[["render",Pf],["__scopeId","data-v-92d8f6fb"]]),Sf={},Tf={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},Ef=$a('',9),Vf=[Ef];function Lf(e,t){return h(),g("svg",Tf,Vf)}const Af=F(Sf,[["render",Lf]]),If={},Mf={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},Hf=y("path",{d:"M12.1,22c-0.3,0-0.6,0-0.9,0c-5.5-0.5-9.5-5.4-9-10.9c0.4-4.8,4.2-8.6,9-9c0.4,0,0.8,0.2,1,0.5c0.2,0.3,0.2,0.8-0.1,1.1c-2,2.7-1.4,6.4,1.3,8.4c2.1,1.6,5,1.6,7.1,0c0.3-0.2,0.7-0.3,1.1-0.1c0.3,0.2,0.5,0.6,0.5,1c-0.2,2.7-1.5,5.1-3.6,6.8C16.6,21.2,14.4,22,12.1,22zM9.3,4.4c-2.9,1-5,3.6-5.2,6.8c-0.4,4.4,2.8,8.3,7.2,8.7c2.1,0.2,4.2-0.4,5.8-1.8c1.1-0.9,1.9-2.1,2.4-3.4c-2.5,0.9-5.3,0.5-7.5-1.1C9.2,11.4,8.1,7.7,9.3,4.4z"},null,-1),Nf=[Hf];function Of(e,t){return h(),g("svg",Mf,Nf)}const Bf=F(If,[["render",Of]]),Ff=R({__name:"VPSwitchAppearance",setup(e){const{site:t,isDark:n}=ue(),s=le(!1),o=typeof localStorage<"u"?r():()=>{};Ie(()=>{s.value=document.documentElement.classList.contains("dark")});function r(){const i=window.matchMedia("(prefers-color-scheme: dark)"),l=document.documentElement.classList;let a=localStorage.getItem(sr),u=t.value.appearance==="dark"&&a==null||(a==="auto"||a==null?i.matches:a==="dark");i.onchange=v=>{a==="auto"&&_(u=v.matches)};function d(){_(u=!u),a=u?i.matches?"auto":"dark":i.matches?"light":"auto",localStorage.setItem(sr,a)}function _(v){const w=document.createElement("style");w.type="text/css",w.appendChild(document.createTextNode(`:not(.VPSwitchAppearance):not(.VPSwitchAppearance *) { +function Ds(e,t){const n=Object.create(null),s=e.split(",");for(let o=0;o!!n[o.toLowerCase()]:o=>!!n[o]}function Us(e){if(q(e)){const t={};for(let n=0;n{if(n){const s=n.split(Bi);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function me(e){let t="";if(be(e))t=e;else if(q(e))for(let n=0;nbe(e)?e:e==null?"":q(e)||ve(e)&&(e.toString===gr||!Q(e.toString))?JSON.stringify(e,_r,2):String(e),_r=(e,t)=>t&&t.__v_isRef?_r(e,t.value):Bt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,o])=>(n[`${s} =>`]=o,n),{})}:mr(t)?{[`Set(${t.size})`]:[...t.values()]}:ve(t)&&!q(t)&&!xr(t)?String(t):t,ge={},Ot=[],Ke=()=>{},zi=()=>!1,ji=/^on[^a-z]/,vn=e=>ji.test(e),zs=e=>e.startsWith("onUpdate:"),we=Object.assign,js=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Ki=Object.prototype.hasOwnProperty,re=(e,t)=>Ki.call(e,t),q=Array.isArray,Bt=e=>Gn(e)==="[object Map]",mr=e=>Gn(e)==="[object Set]",Q=e=>typeof e=="function",be=e=>typeof e=="string",Ks=e=>typeof e=="symbol",ve=e=>e!==null&&typeof e=="object",vr=e=>ve(e)&&Q(e.then)&&Q(e.catch),gr=Object.prototype.toString,Gn=e=>gr.call(e),Gi=e=>Gn(e).slice(8,-1),xr=e=>Gn(e)==="[object Object]",Gs=e=>be(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,nn=Ds(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Wn=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Wi=/-(\w)/g,Qe=Wn(e=>e.replace(Wi,(t,n)=>n?n.toUpperCase():"")),qi=/\B([A-Z])/g,Xt=Wn(e=>e.replace(qi,"-$1").toLowerCase()),qn=Wn(e=>e.charAt(0).toUpperCase()+e.slice(1)),us=Wn(e=>e?`on${qn(e)}`:""),cn=(e,t)=>!Object.is(e,t),fs=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Yi=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Xi=e=>{const t=be(e)?Number(e):NaN;return isNaN(t)?e:t};let wo;const Ji=()=>wo||(wo=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});let Ne;class Qi{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Ne,!t&&Ne&&(this.index=(Ne.scopes||(Ne.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=Ne;try{return Ne=this,t()}finally{Ne=n}}}on(){Ne=this}off(){Ne=this.parent}stop(t){if(this._active){let n,s;for(n=0,s=this.effects.length;n{const t=new Set(e);return t.w=0,t.n=0,t},br=e=>(e.w&pt)>0,kr=e=>(e.n&pt)>0,tl=({deps:e})=>{if(e.length)for(let t=0;t{const{deps:t}=e;if(t.length){let n=0;for(let s=0;s{(d==="length"||d>=a)&&l.push(u)})}else switch(n!==void 0&&l.push(i.get(n)),t){case"add":q(e)?Gs(n)&&l.push(i.get("length")):(l.push(i.get(Tt)),Bt(e)&&l.push(i.get($s)));break;case"delete":q(e)||(l.push(i.get(Tt)),Bt(e)&&l.push(i.get($s)));break;case"set":Bt(e)&&l.push(i.get(Tt));break}if(l.length===1)l[0]&&Ps(l[0]);else{const a=[];for(const u of l)u&&a.push(...u);Ps(Ws(a))}}function Ps(e,t){const n=q(e)?e:[...e];for(const s of n)s.computed&&Po(s);for(const s of n)s.computed||Po(s)}function Po(e,t){(e!==ze||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}const sl=Ds("__proto__,__v_isRef,__isVue"),Pr=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Ks)),ol=Ys(),rl=Ys(!1,!0),il=Ys(!0),Co=ll();function ll(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const s=ce(this);for(let r=0,i=this.length;r{e[t]=function(...n){Jt();const s=ce(this)[t].apply(this,n);return Qt(),s}}),e}function al(e){const t=ce(this);return Ae(t,"has",e),t.hasOwnProperty(e)}function Ys(e=!1,t=!1){return function(s,o,r){if(o==="__v_isReactive")return!e;if(o==="__v_isReadonly")return e;if(o==="__v_isShallow")return t;if(o==="__v_raw"&&r===(e?t?$l:Vr:t?Tr:Er).get(s))return s;const i=q(s);if(!e){if(i&&re(Co,o))return Reflect.get(Co,o,r);if(o==="hasOwnProperty")return al}const l=Reflect.get(s,o,r);return(Ks(o)?Pr.has(o):sl(o))||(e||Ae(s,"get",o),t)?l:Ce(l)?i&&Gs(o)?l:l.value:ve(l)?e?Qs(l):Xn(l):l}}const cl=Cr(),ul=Cr(!0);function Cr(e=!1){return function(n,s,o,r){let i=n[s];if(Gt(i)&&Ce(i)&&!Ce(o))return!1;if(!e&&(!Nn(o)&&!Gt(o)&&(i=ce(i),o=ce(o)),!q(n)&&Ce(i)&&!Ce(o)))return i.value=o,!0;const l=q(n)&&Gs(s)?Number(s)e,Yn=e=>Reflect.getPrototypeOf(e);function $n(e,t,n=!1,s=!1){e=e.__v_raw;const o=ce(e),r=ce(t);n||(t!==r&&Ae(o,"get",t),Ae(o,"get",r));const{has:i}=Yn(o),l=s?Xs:n?eo:un;if(i.call(o,t))return l(e.get(t));if(i.call(o,r))return l(e.get(r));e!==o&&e.get(t)}function Pn(e,t=!1){const n=this.__v_raw,s=ce(n),o=ce(e);return t||(e!==o&&Ae(s,"has",e),Ae(s,"has",o)),e===o?n.has(e):n.has(e)||n.has(o)}function Cn(e,t=!1){return e=e.__v_raw,!t&&Ae(ce(e),"iterate",Tt),Reflect.get(e,"size",e)}function So(e){e=ce(e);const t=ce(this);return Yn(t).has.call(t,e)||(t.add(e),st(t,"add",e,e)),this}function Eo(e,t){t=ce(t);const n=ce(this),{has:s,get:o}=Yn(n);let r=s.call(n,e);r||(e=ce(e),r=s.call(n,e));const i=o.call(n,e);return n.set(e,t),r?cn(t,i)&&st(n,"set",e,t):st(n,"add",e,t),this}function To(e){const t=ce(this),{has:n,get:s}=Yn(t);let o=n.call(t,e);o||(e=ce(e),o=n.call(t,e)),s&&s.call(t,e);const r=t.delete(e);return o&&st(t,"delete",e,void 0),r}function Vo(){const e=ce(this),t=e.size!==0,n=e.clear();return t&&st(e,"clear",void 0,void 0),n}function Sn(e,t){return function(s,o){const r=this,i=r.__v_raw,l=ce(i),a=t?Xs:e?eo:un;return!e&&Ae(l,"iterate",Tt),i.forEach((u,d)=>s.call(o,a(u),a(d),r))}}function En(e,t,n){return function(...s){const o=this.__v_raw,r=ce(o),i=Bt(r),l=e==="entries"||e===Symbol.iterator&&i,a=e==="keys"&&i,u=o[e](...s),d=n?Xs:t?eo:un;return!t&&Ae(r,"iterate",a?$s:Tt),{next(){const{value:_,done:v}=u.next();return v?{value:_,done:v}:{value:l?[d(_[0]),d(_[1])]:d(_),done:v}},[Symbol.iterator](){return this}}}}function it(e){return function(...t){return e==="delete"?!1:this}}function ml(){const e={get(r){return $n(this,r)},get size(){return Cn(this)},has:Pn,add:So,set:Eo,delete:To,clear:Vo,forEach:Sn(!1,!1)},t={get(r){return $n(this,r,!1,!0)},get size(){return Cn(this)},has:Pn,add:So,set:Eo,delete:To,clear:Vo,forEach:Sn(!1,!0)},n={get(r){return $n(this,r,!0)},get size(){return Cn(this,!0)},has(r){return Pn.call(this,r,!0)},add:it("add"),set:it("set"),delete:it("delete"),clear:it("clear"),forEach:Sn(!0,!1)},s={get(r){return $n(this,r,!0,!0)},get size(){return Cn(this,!0)},has(r){return Pn.call(this,r,!0)},add:it("add"),set:it("set"),delete:it("delete"),clear:it("clear"),forEach:Sn(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(r=>{e[r]=En(r,!1,!1),n[r]=En(r,!0,!1),t[r]=En(r,!1,!0),s[r]=En(r,!0,!0)}),[e,n,t,s]}const[vl,gl,xl,yl]=ml();function Js(e,t){const n=t?e?yl:xl:e?gl:vl;return(s,o,r)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?s:Reflect.get(re(n,o)&&o in s?n:s,o,r)}const bl={get:Js(!1,!1)},kl={get:Js(!1,!0)},wl={get:Js(!0,!1)},Er=new WeakMap,Tr=new WeakMap,Vr=new WeakMap,$l=new WeakMap;function Pl(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Cl(e){return e.__v_skip||!Object.isExtensible(e)?0:Pl(Gi(e))}function Xn(e){return Gt(e)?e:Zs(e,!1,Sr,bl,Er)}function Sl(e){return Zs(e,!1,_l,kl,Tr)}function Qs(e){return Zs(e,!0,pl,wl,Vr)}function Zs(e,t,n,s,o){if(!ve(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const r=o.get(e);if(r)return r;const i=Cl(e);if(i===0)return e;const l=new Proxy(e,i===2?s:n);return o.set(e,l),l}function Ft(e){return Gt(e)?Ft(e.__v_raw):!!(e&&e.__v_isReactive)}function Gt(e){return!!(e&&e.__v_isReadonly)}function Nn(e){return!!(e&&e.__v_isShallow)}function Lr(e){return Ft(e)||Gt(e)}function ce(e){const t=e&&e.__v_raw;return t?ce(t):e}function sn(e){return Hn(e,"__v_skip",!0),e}const un=e=>ve(e)?Xn(e):e,eo=e=>ve(e)?Qs(e):e;function Ar(e){dt&&ze&&(e=ce(e),$r(e.dep||(e.dep=Ws())))}function Ir(e,t){e=ce(e);const n=e.dep;n&&Ps(n)}function Ce(e){return!!(e&&e.__v_isRef===!0)}function le(e){return Mr(e,!1)}function El(e){return Mr(e,!0)}function Mr(e,t){return Ce(e)?e:new Tl(e,t)}class Tl{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:ce(t),this._value=n?t:un(t)}get value(){return Ar(this),this._value}set value(t){const n=this.__v_isShallow||Nn(t)||Gt(t);t=n?t:ce(t),cn(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:un(t),Ir(this))}}function p(e){return Ce(e)?e.value:e}const Vl={get:(e,t,n)=>p(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const o=e[t];return Ce(o)&&!Ce(n)?(o.value=n,!0):Reflect.set(e,t,n,s)}};function Hr(e){return Ft(e)?e:new Proxy(e,Vl)}var Nr;class Ll{constructor(t,n,s,o){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this[Nr]=!1,this._dirty=!0,this.effect=new qs(t,()=>{this._dirty||(this._dirty=!0,Ir(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=s}get value(){const t=ce(this);return Ar(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}Nr="__v_isReadonly";function Al(e,t,n=!1){let s,o;const r=Q(e);return r?(s=e,o=Ke):(s=e.get,o=e.set),new Ll(s,o,r||!o,n)}function ht(e,t,n,s){let o;try{o=s?e(...s):e()}catch(r){gn(r,t,n)}return o}function Re(e,t,n,s){if(Q(e)){const r=ht(e,t,n,s);return r&&vr(r)&&r.catch(i=>{gn(i,t,n)}),r}const o=[];for(let r=0;r>>1;dn(Pe[s])Xe&&Pe.splice(t,1)}function Nl(e){q(e)?Rt.push(...e):(!nt||!nt.includes(e,e.allowRecurse?Pt+1:Pt))&&Rt.push(e),Br()}function Lo(e,t=fn?Xe+1:0){for(;tdn(n)-dn(s)),Pt=0;Pte.id==null?1/0:e.id,Ol=(e,t)=>{const n=dn(e)-dn(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Fr(e){Cs=!1,fn=!0,Pe.sort(Ol);const t=Ke;try{for(Xe=0;Xebe(w)?w.trim():w)),_&&(o=n.map(Yi))}let l,a=s[l=us(t)]||s[l=us(Qe(t))];!a&&r&&(a=s[l=us(Xt(t))]),a&&Re(a,e,6,o);const u=s[l+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Re(u,e,6,o)}}function Rr(e,t,n=!1){const s=t.emitsCache,o=s.get(e);if(o!==void 0)return o;const r=e.emits;let i={},l=!1;if(!Q(e)){const a=u=>{const d=Rr(u,t,!0);d&&(l=!0,we(i,d))};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}return!r&&!l?(ve(e)&&s.set(e,null),null):(q(r)?r.forEach(a=>i[a]=null):we(i,r),ve(e)&&s.set(e,i),i)}function Qn(e,t){return!e||!vn(t)?!1:(t=t.slice(2).replace(/Once$/,""),re(e,t[0].toLowerCase()+t.slice(1))||re(e,Xt(t))||re(e,t))}let Se=null,Zn=null;function Bn(e){const t=Se;return Se=e,Zn=e&&e.type.__scopeId||null,t}function Ze(e){Zn=e}function et(){Zn=null}function M(e,t=Se,n){if(!t||e._n)return e;const s=(...o)=>{s._d&&Do(-1);const r=Bn(t);let i;try{i=e(...o)}finally{Bn(r),s._d&&Do(1)}return i};return s._n=!0,s._c=!0,s._d=!0,s}function ds(e){const{type:t,vnode:n,proxy:s,withProxy:o,props:r,propsOptions:[i],slots:l,attrs:a,emit:u,render:d,renderCache:_,data:v,setupState:w,ctx:V,inheritAttrs:A}=e;let G,x;const P=Bn(e);try{if(n.shapeFlag&4){const X=o||s;G=Ue(d.call(X,X,_,r,w,v,V)),x=a}else{const X=t;G=Ue(X.length>1?X(r,{attrs:a,slots:l,emit:u}):X(r,null)),x=t.props?a:Fl(a)}}catch(X){rn.length=0,gn(X,e,1),G=T(Oe)}let N=G;if(x&&A!==!1){const X=Object.keys(x),{shapeFlag:te}=N;X.length&&te&7&&(i&&X.some(zs)&&(x=Rl(x,i)),N=_t(N,x))}return n.dirs&&(N=_t(N),N.dirs=N.dirs?N.dirs.concat(n.dirs):n.dirs),n.transition&&(N.transition=n.transition),G=N,Bn(P),G}const Fl=e=>{let t;for(const n in e)(n==="class"||n==="style"||vn(n))&&((t||(t={}))[n]=e[n]);return t},Rl=(e,t)=>{const n={};for(const s in e)(!zs(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function Dl(e,t,n){const{props:s,children:o,component:r}=e,{props:i,children:l,patchFlag:a}=t,u=r.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&a>=0){if(a&1024)return!0;if(a&16)return s?Ao(s,i,u):!!i;if(a&8){const d=t.dynamicProps;for(let _=0;_e.__isSuspense;function Dr(e,t){t&&t.pendingBranch?q(e)?t.effects.push(...e):t.effects.push(e):Nl(e)}function Dt(e,t){if(ye){let n=ye.provides;const s=ye.parent&&ye.parent.provides;s===n&&(n=ye.provides=Object.create(s)),n[e]=t}}function Ge(e,t,n=!1){const s=ye||Se;if(s){const o=s.parent==null?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides;if(o&&e in o)return o[e];if(arguments.length>1)return n&&Q(t)?t.call(s.proxy):t}}function Lt(e,t){return es(e,null,t)}function Ur(e,t){return es(e,null,{flush:"post"})}const Tn={};function Je(e,t,n){return es(e,t,n)}function es(e,t,{immediate:n,deep:s,flush:o,onTrack:r,onTrigger:i}=ge){const l=yr()===(ye==null?void 0:ye.scope)?ye:null;let a,u=!1,d=!1;if(Ce(e)?(a=()=>e.value,u=Nn(e)):Ft(e)?(a=()=>e,s=!0):q(e)?(d=!0,u=e.some(N=>Ft(N)||Nn(N)),a=()=>e.map(N=>{if(Ce(N))return N.value;if(Ft(N))return Nt(N);if(Q(N))return ht(N,l,2)})):Q(e)?t?a=()=>ht(e,l,2):a=()=>{if(!(l&&l.isUnmounted))return _&&_(),Re(e,l,3,[v])}:a=Ke,t&&s){const N=a;a=()=>Nt(N())}let _,v=N=>{_=x.onStop=()=>{ht(N,l,4)}},w;if(Yt)if(v=Ke,t?n&&Re(t,l,3,[a(),d?[]:void 0,v]):a(),o==="sync"){const N=Na();w=N.__watcherHandles||(N.__watcherHandles=[])}else return Ke;let V=d?new Array(e.length).fill(Tn):Tn;const A=()=>{if(x.active)if(t){const N=x.run();(s||u||(d?N.some((X,te)=>cn(X,V[te])):cn(N,V)))&&(_&&_(),Re(t,l,3,[N,V===Tn?void 0:d&&V[0]===Tn?[]:V,v]),V=N)}else x.run()};A.allowRecurse=!!t;let G;o==="sync"?G=A:o==="post"?G=()=>Le(A,l&&l.suspense):(A.pre=!0,l&&(A.id=l.uid),G=()=>Jn(A));const x=new qs(a,G);t?n?A():V=x.run():o==="post"?Le(x.run.bind(x),l&&l.suspense):x.run();const P=()=>{x.stop(),l&&l.scope&&js(l.scope.effects,x)};return w&&w.push(P),P}function jl(e,t,n){const s=this.proxy,o=be(e)?e.includes(".")?zr(s,e):()=>s[e]:e.bind(s,s);let r;Q(t)?r=t:(r=t.handler,n=t);const i=ye;qt(this);const l=es(o,r.bind(s),n);return i?qt(i):Vt(),l}function zr(e,t){const n=t.split(".");return()=>{let s=e;for(let o=0;o{Nt(n,t)});else if(xr(e))for(const n in e)Nt(e[n],t);return e}function Kl(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Ie(()=>{e.isMounted=!0}),qr(()=>{e.isUnmounting=!0}),e}const Be=[Function,Array],Gl={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Be,onEnter:Be,onAfterEnter:Be,onEnterCancelled:Be,onBeforeLeave:Be,onLeave:Be,onAfterLeave:Be,onLeaveCancelled:Be,onBeforeAppear:Be,onAppear:Be,onAfterAppear:Be,onAppearCancelled:Be},setup(e,{slots:t}){const n=ss(),s=Kl();let o;return()=>{const r=t.default&&Gr(t.default(),!0);if(!r||!r.length)return;let i=r[0];if(r.length>1){for(const A of r)if(A.type!==Oe){i=A;break}}const l=ce(e),{mode:a}=l;if(s.isLeaving)return hs(i);const u=Io(i);if(!u)return hs(i);const d=Ss(u,l,s,n);Es(u,d);const _=n.subTree,v=_&&Io(_);let w=!1;const{getTransitionKey:V}=u.type;if(V){const A=V();o===void 0?o=A:A!==o&&(o=A,w=!0)}if(v&&v.type!==Oe&&(!Ct(u,v)||w)){const A=Ss(v,l,s,n);if(Es(v,A),a==="out-in")return s.isLeaving=!0,A.afterLeave=()=>{s.isLeaving=!1,n.update.active!==!1&&n.update()},hs(i);a==="in-out"&&u.type!==Oe&&(A.delayLeave=(G,x,P)=>{const N=Kr(s,v);N[String(v.key)]=v,G._leaveCb=()=>{x(),G._leaveCb=void 0,delete d.delayedLeave},d.delayedLeave=P})}return i}}},jr=Gl;function Kr(e,t){const{leavingVNodes:n}=e;let s=n.get(t.type);return s||(s=Object.create(null),n.set(t.type,s)),s}function Ss(e,t,n,s){const{appear:o,mode:r,persisted:i=!1,onBeforeEnter:l,onEnter:a,onAfterEnter:u,onEnterCancelled:d,onBeforeLeave:_,onLeave:v,onAfterLeave:w,onLeaveCancelled:V,onBeforeAppear:A,onAppear:G,onAfterAppear:x,onAppearCancelled:P}=t,N=String(e.key),X=Kr(n,e),te=(H,ee)=>{H&&Re(H,s,9,ee)},he=(H,ee)=>{const J=ee[1];te(H,ee),q(H)?H.every(ae=>ae.length<=1)&&J():H.length<=1&&J()},oe={mode:r,persisted:i,beforeEnter(H){let ee=l;if(!n.isMounted)if(o)ee=A||l;else return;H._leaveCb&&H._leaveCb(!0);const J=X[N];J&&Ct(e,J)&&J.el._leaveCb&&J.el._leaveCb(),te(ee,[H])},enter(H){let ee=a,J=u,ae=d;if(!n.isMounted)if(o)ee=G||a,J=x||u,ae=P||d;else return;let O=!1;const ne=H._enterCb=D=>{O||(O=!0,D?te(ae,[H]):te(J,[H]),oe.delayedLeave&&oe.delayedLeave(),H._enterCb=void 0)};ee?he(ee,[H,ne]):ne()},leave(H,ee){const J=String(e.key);if(H._enterCb&&H._enterCb(!0),n.isUnmounting)return ee();te(_,[H]);let ae=!1;const O=H._leaveCb=ne=>{ae||(ae=!0,ee(),ne?te(V,[H]):te(w,[H]),H._leaveCb=void 0,X[J]===e&&delete X[J])};X[J]=e,v?he(v,[H,O]):O()},clone(H){return Ss(H,t,n,s)}};return oe}function hs(e){if(xn(e))return e=_t(e),e.children=null,e}function Io(e){return xn(e)?e.children?e.children[0]:void 0:e}function Es(e,t){e.shapeFlag&6&&e.component?Es(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Gr(e,t=!1,n){let s=[],o=0;for(let r=0;r1)for(let r=0;r!!e.type.__asyncLoader;function Wl(e){Q(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:s,delay:o=200,timeout:r,suspensible:i=!0,onError:l}=e;let a=null,u,d=0;const _=()=>(d++,a=null,v()),v=()=>{let w;return a||(w=a=t().catch(V=>{if(V=V instanceof Error?V:new Error(String(V)),l)return new Promise((A,G)=>{l(V,()=>A(_()),()=>G(V),d+1)});throw V}).then(V=>w!==a&&a?a:(V&&(V.__esModule||V[Symbol.toStringTag]==="Module")&&(V=V.default),u=V,V)))};return R({name:"AsyncComponentWrapper",__asyncLoader:v,get __asyncResolved(){return u},setup(){const w=ye;if(u)return()=>ps(u,w);const V=P=>{a=null,gn(P,w,13,!s)};if(i&&w.suspense||Yt)return v().then(P=>()=>ps(P,w)).catch(P=>(V(P),()=>s?T(s,{error:P}):null));const A=le(!1),G=le(),x=le(!!o);return o&&setTimeout(()=>{x.value=!1},o),r!=null&&setTimeout(()=>{if(!A.value&&!G.value){const P=new Error(`Async component timed out after ${r}ms.`);V(P),G.value=P}},r),v().then(()=>{A.value=!0,w.parent&&xn(w.parent.vnode)&&Jn(w.parent.update)}).catch(P=>{V(P),G.value=P}),()=>{if(A.value&&u)return ps(u,w);if(G.value&&s)return T(s,{error:G.value});if(n&&!x.value)return T(n)}}})}function ps(e,t){const{ref:n,props:s,children:o,ce:r}=t.vnode,i=T(e,s,o);return i.ref=n,i.ce=r,delete t.vnode.ce,i}const xn=e=>e.type.__isKeepAlive;function ql(e,t){Wr(e,"a",t)}function Yl(e,t){Wr(e,"da",t)}function Wr(e,t,n=ye){const s=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(ts(t,s,n),n){let o=n.parent;for(;o&&o.parent;)xn(o.parent.vnode)&&Xl(s,t,n,o),o=o.parent}}function Xl(e,t,n,s){const o=ts(t,e,s,!0);mt(()=>{js(s[t],o)},n)}function ts(e,t,n=ye,s=!1){if(n){const o=n[e]||(n[e]=[]),r=t.__weh||(t.__weh=(...i)=>{if(n.isUnmounted)return;Jt(),qt(n);const l=Re(t,n,e,i);return Vt(),Qt(),l});return s?o.unshift(r):o.push(r),r}}const ot=e=>(t,n=ye)=>(!Yt||e==="sp")&&ts(e,(...s)=>t(...s),n),Jl=ot("bm"),Ie=ot("m"),Ql=ot("bu"),so=ot("u"),qr=ot("bum"),mt=ot("um"),Zl=ot("sp"),ea=ot("rtg"),ta=ot("rtc");function na(e,t=ye){ts("ec",e,t)}function Ye(e,t,n,s){const o=e.dirs,r=t&&t.dirs;for(let i=0;it(i,l,void 0,r&&r[l]));else{const i=Object.keys(e);o=new Array(i.length);for(let l=0,a=i.length;lDn(t)?!(t.type===Oe||t.type===Z&&!Jr(t.children)):!0)?e:null}const Ts=e=>e?ai(e)?ao(e)||e.proxy:Ts(e.parent):null,on=we(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Ts(e.parent),$root:e=>Ts(e.root),$emit:e=>e.emit,$options:e=>ro(e),$forceUpdate:e=>e.f||(e.f=()=>Jn(e.update)),$nextTick:e=>e.n||(e.n=no.bind(e.proxy)),$watch:e=>jl.bind(e)}),_s=(e,t)=>e!==ge&&!e.__isScriptSetup&&re(e,t),sa={get({_:e},t){const{ctx:n,setupState:s,data:o,props:r,accessCache:i,type:l,appContext:a}=e;let u;if(t[0]!=="$"){const w=i[t];if(w!==void 0)switch(w){case 1:return s[t];case 2:return o[t];case 4:return n[t];case 3:return r[t]}else{if(_s(s,t))return i[t]=1,s[t];if(o!==ge&&re(o,t))return i[t]=2,o[t];if((u=e.propsOptions[0])&&re(u,t))return i[t]=3,r[t];if(n!==ge&&re(n,t))return i[t]=4,n[t];Vs&&(i[t]=0)}}const d=on[t];let _,v;if(d)return t==="$attrs"&&Ae(e,"get",t),d(e);if((_=l.__cssModules)&&(_=_[t]))return _;if(n!==ge&&re(n,t))return i[t]=4,n[t];if(v=a.config.globalProperties,re(v,t))return v[t]},set({_:e},t,n){const{data:s,setupState:o,ctx:r}=e;return _s(o,t)?(o[t]=n,!0):s!==ge&&re(s,t)?(s[t]=n,!0):re(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(r[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:o,propsOptions:r}},i){let l;return!!n[i]||e!==ge&&re(e,i)||_s(t,i)||(l=r[0])&&re(l,i)||re(s,i)||re(on,i)||re(o.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:re(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};let Vs=!0;function oa(e){const t=ro(e),n=e.proxy,s=e.ctx;Vs=!1,t.beforeCreate&&Ho(t.beforeCreate,e,"bc");const{data:o,computed:r,methods:i,watch:l,provide:a,inject:u,created:d,beforeMount:_,mounted:v,beforeUpdate:w,updated:V,activated:A,deactivated:G,beforeDestroy:x,beforeUnmount:P,destroyed:N,unmounted:X,render:te,renderTracked:he,renderTriggered:oe,errorCaptured:H,serverPrefetch:ee,expose:J,inheritAttrs:ae,components:O,directives:ne,filters:D}=t;if(u&&ra(u,s,null,e.appContext.config.unwrapInjectedRef),i)for(const xe in i){const pe=i[xe];Q(pe)&&(s[xe]=pe.bind(n))}if(o){const xe=o.call(n,n);ve(xe)&&(e.data=Xn(xe))}if(Vs=!0,r)for(const xe in r){const pe=r[xe],xt=Q(pe)?pe.bind(n,n):Q(pe.get)?pe.get.bind(n,n):Ke,kn=!Q(pe)&&Q(pe.set)?pe.set.bind(n):Ke,yt=K({get:xt,set:kn});Object.defineProperty(s,xe,{enumerable:!0,configurable:!0,get:()=>yt.value,set:We=>yt.value=We})}if(l)for(const xe in l)Qr(l[xe],s,n,xe);if(a){const xe=Q(a)?a.call(n):a;Reflect.ownKeys(xe).forEach(pe=>{Dt(pe,xe[pe])})}d&&Ho(d,e,"c");function fe(xe,pe){q(pe)?pe.forEach(xt=>xe(xt.bind(n))):pe&&xe(pe.bind(n))}if(fe(Jl,_),fe(Ie,v),fe(Ql,w),fe(so,V),fe(ql,A),fe(Yl,G),fe(na,H),fe(ta,he),fe(ea,oe),fe(qr,P),fe(mt,X),fe(Zl,ee),q(J))if(J.length){const xe=e.exposed||(e.exposed={});J.forEach(pe=>{Object.defineProperty(xe,pe,{get:()=>n[pe],set:xt=>n[pe]=xt})})}else e.exposed||(e.exposed={});te&&e.render===Ke&&(e.render=te),ae!=null&&(e.inheritAttrs=ae),O&&(e.components=O),ne&&(e.directives=ne)}function ra(e,t,n=Ke,s=!1){q(e)&&(e=Ls(e));for(const o in e){const r=e[o];let i;ve(r)?"default"in r?i=Ge(r.from||o,r.default,!0):i=Ge(r.from||o):i=Ge(r),Ce(i)&&s?Object.defineProperty(t,o,{enumerable:!0,configurable:!0,get:()=>i.value,set:l=>i.value=l}):t[o]=i}}function Ho(e,t,n){Re(q(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function Qr(e,t,n,s){const o=s.includes(".")?zr(n,s):()=>n[s];if(be(e)){const r=t[e];Q(r)&&Je(o,r)}else if(Q(e))Je(o,e.bind(n));else if(ve(e))if(q(e))e.forEach(r=>Qr(r,t,n,s));else{const r=Q(e.handler)?e.handler.bind(n):t[e.handler];Q(r)&&Je(o,r,e)}}function ro(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:o,optionsCache:r,config:{optionMergeStrategies:i}}=e.appContext,l=r.get(t);let a;return l?a=l:!o.length&&!n&&!s?a=t:(a={},o.length&&o.forEach(u=>Fn(a,u,i,!0)),Fn(a,t,i)),ve(t)&&r.set(t,a),a}function Fn(e,t,n,s=!1){const{mixins:o,extends:r}=t;r&&Fn(e,r,n,!0),o&&o.forEach(i=>Fn(e,i,n,!0));for(const i in t)if(!(s&&i==="expose")){const l=ia[i]||n&&n[i];e[i]=l?l(e[i],t[i]):t[i]}return e}const ia={data:No,props:$t,emits:$t,methods:$t,computed:$t,beforeCreate:Te,created:Te,beforeMount:Te,mounted:Te,beforeUpdate:Te,updated:Te,beforeDestroy:Te,beforeUnmount:Te,destroyed:Te,unmounted:Te,activated:Te,deactivated:Te,errorCaptured:Te,serverPrefetch:Te,components:$t,directives:$t,watch:aa,provide:No,inject:la};function No(e,t){return t?e?function(){return we(Q(e)?e.call(this,this):e,Q(t)?t.call(this,this):t)}:t:e}function la(e,t){return $t(Ls(e),Ls(t))}function Ls(e){if(q(e)){const t={};for(let n=0;n0)&&!(i&16)){if(i&8){const d=e.vnode.dynamicProps;for(let _=0;_{a=!0;const[v,w]=ei(_,t,!0);we(i,v),w&&l.push(...w)};!n&&t.mixins.length&&t.mixins.forEach(d),e.extends&&d(e.extends),e.mixins&&e.mixins.forEach(d)}if(!r&&!a)return ve(e)&&s.set(e,Ot),Ot;if(q(r))for(let d=0;d-1,w[1]=A<0||V-1||re(w,"default"))&&l.push(_)}}}const u=[i,l];return ve(e)&&s.set(e,u),u}function Oo(e){return e[0]!=="$"}function Bo(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function Fo(e,t){return Bo(e)===Bo(t)}function Ro(e,t){return q(t)?t.findIndex(n=>Fo(n,e)):Q(t)&&Fo(t,e)?0:-1}const ti=e=>e[0]==="_"||e==="$stable",io=e=>q(e)?e.map(Ue):[Ue(e)],fa=(e,t,n)=>{if(t._n)return t;const s=M((...o)=>io(t(...o)),n);return s._c=!1,s},ni=(e,t,n)=>{const s=e._ctx;for(const o in e){if(ti(o))continue;const r=e[o];if(Q(r))t[o]=fa(o,r,s);else if(r!=null){const i=io(r);t[o]=()=>i}}},si=(e,t)=>{const n=io(t);e.slots.default=()=>n},da=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=ce(t),Hn(t,"_",n)):ni(t,e.slots={})}else e.slots={},t&&si(e,t);Hn(e.slots,ns,1)},ha=(e,t,n)=>{const{vnode:s,slots:o}=e;let r=!0,i=ge;if(s.shapeFlag&32){const l=t._;l?n&&l===1?r=!1:(we(o,t),!n&&l===1&&delete o._):(r=!t.$stable,ni(t,o)),i=t}else t&&(si(e,t),i={default:1});if(r)for(const l in o)!ti(l)&&!(l in i)&&delete o[l]};function oi(){return{app:null,config:{isNativeTag:zi,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let pa=0;function _a(e,t){return function(s,o=null){Q(s)||(s=Object.assign({},s)),o!=null&&!ve(o)&&(o=null);const r=oi(),i=new Set;let l=!1;const a=r.app={_uid:pa++,_component:s,_props:o,_container:null,_context:r,_instance:null,version:Oa,get config(){return r.config},set config(u){},use(u,...d){return i.has(u)||(u&&Q(u.install)?(i.add(u),u.install(a,...d)):Q(u)&&(i.add(u),u(a,...d))),a},mixin(u){return r.mixins.includes(u)||r.mixins.push(u),a},component(u,d){return d?(r.components[u]=d,a):r.components[u]},directive(u,d){return d?(r.directives[u]=d,a):r.directives[u]},mount(u,d,_){if(!l){const v=T(s,o);return v.appContext=r,d&&t?t(v,u):e(v,u,_),l=!0,a._container=u,u.__vue_app__=a,ao(v.component)||v.component.proxy}},unmount(){l&&(e(null,a._container),delete a._container.__vue_app__)},provide(u,d){return r.provides[u]=d,a}};return a}}function Rn(e,t,n,s,o=!1){if(q(e)){e.forEach((v,w)=>Rn(v,t&&(q(t)?t[w]:t),n,s,o));return}if(Ut(s)&&!o)return;const r=s.shapeFlag&4?ao(s.component)||s.component.proxy:s.el,i=o?null:r,{i:l,r:a}=e,u=t&&t.r,d=l.refs===ge?l.refs={}:l.refs,_=l.setupState;if(u!=null&&u!==a&&(be(u)?(d[u]=null,re(_,u)&&(_[u]=null)):Ce(u)&&(u.value=null)),Q(a))ht(a,l,12,[i,d]);else{const v=be(a),w=Ce(a);if(v||w){const V=()=>{if(e.f){const A=v?re(_,a)?_[a]:d[a]:a.value;o?q(A)&&js(A,r):q(A)?A.includes(r)||A.push(r):v?(d[a]=[r],re(_,a)&&(_[a]=d[a])):(a.value=[r],e.k&&(d[e.k]=a.value))}else v?(d[a]=i,re(_,a)&&(_[a]=i)):w&&(a.value=i,e.k&&(d[e.k]=i))};i?(V.id=-1,Le(V,n)):V()}}}let lt=!1;const Vn=e=>/svg/.test(e.namespaceURI)&&e.tagName!=="foreignObject",Ln=e=>e.nodeType===8;function ma(e){const{mt:t,p:n,o:{patchProp:s,createText:o,nextSibling:r,parentNode:i,remove:l,insert:a,createComment:u}}=e,d=(x,P)=>{if(!P.hasChildNodes()){n(null,x,P),On(),P._vnode=x;return}lt=!1,_(P.firstChild,x,null,null,null),On(),P._vnode=x,lt&&console.error("Hydration completed but contains mismatches.")},_=(x,P,N,X,te,he=!1)=>{const oe=Ln(x)&&x.data==="[",H=()=>A(x,P,N,X,te,oe),{type:ee,ref:J,shapeFlag:ae,patchFlag:O}=P;let ne=x.nodeType;P.el=x,O===-2&&(he=!1,P.dynamicChildren=null);let D=null;switch(ee){case Wt:ne!==3?P.children===""?(a(P.el=o(""),i(x),x),D=x):D=H():(x.data!==P.children&&(lt=!0,x.data=P.children),D=r(x));break;case Oe:ne!==8||oe?D=H():D=r(x);break;case zt:if(oe&&(x=r(x),ne=x.nodeType),ne===1||ne===3){D=x;const Me=!P.children.length;for(let fe=0;fe{he=he||!!P.dynamicChildren;const{type:oe,props:H,patchFlag:ee,shapeFlag:J,dirs:ae}=P,O=oe==="input"&&ae||oe==="option";if(O||ee!==-1){if(ae&&Ye(P,null,N,"created"),H)if(O||!he||ee&48)for(const D in H)(O&&D.endsWith("value")||vn(D)&&!nn(D))&&s(x,D,null,H[D],!1,void 0,N);else H.onClick&&s(x,"onClick",null,H.onClick,!1,void 0,N);let ne;if((ne=H&&H.onVnodeBeforeMount)&&Fe(ne,N,P),ae&&Ye(P,null,N,"beforeMount"),((ne=H&&H.onVnodeMounted)||ae)&&Dr(()=>{ne&&Fe(ne,N,P),ae&&Ye(P,null,N,"mounted")},X),J&16&&!(H&&(H.innerHTML||H.textContent))){let D=w(x.firstChild,P,x,N,X,te,he);for(;D;){lt=!0;const Me=D;D=D.nextSibling,l(Me)}}else J&8&&x.textContent!==P.children&&(lt=!0,x.textContent=P.children)}return x.nextSibling},w=(x,P,N,X,te,he,oe)=>{oe=oe||!!P.dynamicChildren;const H=P.children,ee=H.length;for(let J=0;J{const{slotScopeIds:oe}=P;oe&&(te=te?te.concat(oe):oe);const H=i(x),ee=w(r(x),P,H,N,X,te,he);return ee&&Ln(ee)&&ee.data==="]"?r(P.anchor=ee):(lt=!0,a(P.anchor=u("]"),H,ee),ee)},A=(x,P,N,X,te,he)=>{if(lt=!0,P.el=null,he){const ee=G(x);for(;;){const J=r(x);if(J&&J!==ee)l(J);else break}}const oe=r(x),H=i(x);return l(x),n(null,P,H,oe,N,X,Vn(H),te),oe},G=x=>{let P=0;for(;x;)if(x=r(x),x&&Ln(x)&&(x.data==="["&&P++,x.data==="]")){if(P===0)return r(x);P--}return x};return[d,_]}const Le=Dr;function va(e){return ga(e,ma)}function ga(e,t){const n=Ji();n.__VUE__=!0;const{insert:s,remove:o,patchProp:r,createElement:i,createText:l,createComment:a,setText:u,setElementText:d,parentNode:_,nextSibling:v,setScopeId:w=Ke,insertStaticContent:V}=e,A=(c,f,m,k=null,b=null,S=null,I=!1,C=null,L=!!f.dynamicChildren)=>{if(c===f)return;c&&!Ct(c,f)&&(k=wn(c),We(c,b,S,!0),c=null),f.patchFlag===-2&&(L=!1,f.dynamicChildren=null);const{type:$,ref:z,shapeFlag:B}=f;switch($){case Wt:G(c,f,m,k);break;case Oe:x(c,f,m,k);break;case zt:c==null&&P(f,m,k,I);break;case Z:O(c,f,m,k,b,S,I,C,L);break;default:B&1?te(c,f,m,k,b,S,I,C,L):B&6?ne(c,f,m,k,b,S,I,C,L):(B&64||B&128)&&$.process(c,f,m,k,b,S,I,C,L,Mt)}z!=null&&b&&Rn(z,c&&c.ref,S,f||c,!f)},G=(c,f,m,k)=>{if(c==null)s(f.el=l(f.children),m,k);else{const b=f.el=c.el;f.children!==c.children&&u(b,f.children)}},x=(c,f,m,k)=>{c==null?s(f.el=a(f.children||""),m,k):f.el=c.el},P=(c,f,m,k)=>{[c.el,c.anchor]=V(c.children,f,m,k,c.el,c.anchor)},N=({el:c,anchor:f},m,k)=>{let b;for(;c&&c!==f;)b=v(c),s(c,m,k),c=b;s(f,m,k)},X=({el:c,anchor:f})=>{let m;for(;c&&c!==f;)m=v(c),o(c),c=m;o(f)},te=(c,f,m,k,b,S,I,C,L)=>{I=I||f.type==="svg",c==null?he(f,m,k,b,S,I,C,L):ee(c,f,b,S,I,C,L)},he=(c,f,m,k,b,S,I,C)=>{let L,$;const{type:z,props:B,shapeFlag:j,transition:Y,dirs:se}=c;if(L=c.el=i(c.type,S,B&&B.is,B),j&8?d(L,c.children):j&16&&H(c.children,L,null,k,b,S&&z!=="foreignObject",I,C),se&&Ye(c,null,k,"created"),oe(L,c,c.scopeId,I,k),B){for(const de in B)de!=="value"&&!nn(de)&&r(L,de,null,B[de],S,c.children,k,b,tt);"value"in B&&r(L,"value",null,B.value),($=B.onVnodeBeforeMount)&&Fe($,k,c)}se&&Ye(c,null,k,"beforeMount");const _e=(!b||b&&!b.pendingBranch)&&Y&&!Y.persisted;_e&&Y.beforeEnter(L),s(L,f,m),(($=B&&B.onVnodeMounted)||_e||se)&&Le(()=>{$&&Fe($,k,c),_e&&Y.enter(L),se&&Ye(c,null,k,"mounted")},b)},oe=(c,f,m,k,b)=>{if(m&&w(c,m),k)for(let S=0;S{for(let $=L;${const C=f.el=c.el;let{patchFlag:L,dynamicChildren:$,dirs:z}=f;L|=c.patchFlag&16;const B=c.props||ge,j=f.props||ge;let Y;m&&bt(m,!1),(Y=j.onVnodeBeforeUpdate)&&Fe(Y,m,f,c),z&&Ye(f,c,m,"beforeUpdate"),m&&bt(m,!0);const se=b&&f.type!=="foreignObject";if($?J(c.dynamicChildren,$,C,m,k,se,S):I||pe(c,f,C,null,m,k,se,S,!1),L>0){if(L&16)ae(C,f,B,j,m,k,b);else if(L&2&&B.class!==j.class&&r(C,"class",null,j.class,b),L&4&&r(C,"style",B.style,j.style,b),L&8){const _e=f.dynamicProps;for(let de=0;de<_e.length;de++){const ke=_e[de],De=B[ke],Ht=j[ke];(Ht!==De||ke==="value")&&r(C,ke,De,Ht,b,c.children,m,k,tt)}}L&1&&c.children!==f.children&&d(C,f.children)}else!I&&$==null&&ae(C,f,B,j,m,k,b);((Y=j.onVnodeUpdated)||z)&&Le(()=>{Y&&Fe(Y,m,f,c),z&&Ye(f,c,m,"updated")},k)},J=(c,f,m,k,b,S,I)=>{for(let C=0;C{if(m!==k){if(m!==ge)for(const C in m)!nn(C)&&!(C in k)&&r(c,C,m[C],null,I,f.children,b,S,tt);for(const C in k){if(nn(C))continue;const L=k[C],$=m[C];L!==$&&C!=="value"&&r(c,C,$,L,I,f.children,b,S,tt)}"value"in k&&r(c,"value",m.value,k.value)}},O=(c,f,m,k,b,S,I,C,L)=>{const $=f.el=c?c.el:l(""),z=f.anchor=c?c.anchor:l("");let{patchFlag:B,dynamicChildren:j,slotScopeIds:Y}=f;Y&&(C=C?C.concat(Y):Y),c==null?(s($,m,k),s(z,m,k),H(f.children,m,z,b,S,I,C,L)):B>0&&B&64&&j&&c.dynamicChildren?(J(c.dynamicChildren,j,m,b,S,I,C),(f.key!=null||b&&f===b.subTree)&&ri(c,f,!0)):pe(c,f,m,z,b,S,I,C,L)},ne=(c,f,m,k,b,S,I,C,L)=>{f.slotScopeIds=C,c==null?f.shapeFlag&512?b.ctx.activate(f,m,k,I,L):D(f,m,k,b,S,I,L):Me(c,f,L)},D=(c,f,m,k,b,S,I)=>{const C=c.component=Sa(c,k,b);if(xn(c)&&(C.ctx.renderer=Mt),Ea(C),C.asyncDep){if(b&&b.registerDep(C,fe),!c.el){const L=C.subTree=T(Oe);x(null,L,f,m)}return}fe(C,c,f,m,b,S,I)},Me=(c,f,m)=>{const k=f.component=c.component;if(Dl(c,f,m))if(k.asyncDep&&!k.asyncResolved){xe(k,f,m);return}else k.next=f,Hl(k.update),k.update();else f.el=c.el,k.vnode=f},fe=(c,f,m,k,b,S,I)=>{const C=()=>{if(c.isMounted){let{next:z,bu:B,u:j,parent:Y,vnode:se}=c,_e=z,de;bt(c,!1),z?(z.el=se.el,xe(c,z,I)):z=se,B&&fs(B),(de=z.props&&z.props.onVnodeBeforeUpdate)&&Fe(de,Y,z,se),bt(c,!0);const ke=ds(c),De=c.subTree;c.subTree=ke,A(De,ke,_(De.el),wn(De),c,b,S),z.el=ke.el,_e===null&&Ul(c,ke.el),j&&Le(j,b),(de=z.props&&z.props.onVnodeUpdated)&&Le(()=>Fe(de,Y,z,se),b)}else{let z;const{el:B,props:j}=f,{bm:Y,m:se,parent:_e}=c,de=Ut(f);if(bt(c,!1),Y&&fs(Y),!de&&(z=j&&j.onVnodeBeforeMount)&&Fe(z,_e,f),bt(c,!0),B&&cs){const ke=()=>{c.subTree=ds(c),cs(B,c.subTree,c,b,null)};de?f.type.__asyncLoader().then(()=>!c.isUnmounted&&ke()):ke()}else{const ke=c.subTree=ds(c);A(null,ke,m,k,c,b,S),f.el=ke.el}if(se&&Le(se,b),!de&&(z=j&&j.onVnodeMounted)){const ke=f;Le(()=>Fe(z,_e,ke),b)}(f.shapeFlag&256||_e&&Ut(_e.vnode)&&_e.vnode.shapeFlag&256)&&c.a&&Le(c.a,b),c.isMounted=!0,f=m=k=null}},L=c.effect=new qs(C,()=>Jn($),c.scope),$=c.update=()=>L.run();$.id=c.uid,bt(c,!0),$()},xe=(c,f,m)=>{f.component=c;const k=c.vnode.props;c.vnode=f,c.next=null,ua(c,f.props,k,m),ha(c,f.children,m),Jt(),Lo(),Qt()},pe=(c,f,m,k,b,S,I,C,L=!1)=>{const $=c&&c.children,z=c?c.shapeFlag:0,B=f.children,{patchFlag:j,shapeFlag:Y}=f;if(j>0){if(j&128){kn($,B,m,k,b,S,I,C,L);return}else if(j&256){xt($,B,m,k,b,S,I,C,L);return}}Y&8?(z&16&&tt($,b,S),B!==$&&d(m,B)):z&16?Y&16?kn($,B,m,k,b,S,I,C,L):tt($,b,S,!0):(z&8&&d(m,""),Y&16&&H(B,m,k,b,S,I,C,L))},xt=(c,f,m,k,b,S,I,C,L)=>{c=c||Ot,f=f||Ot;const $=c.length,z=f.length,B=Math.min($,z);let j;for(j=0;jz?tt(c,b,S,!0,!1,B):H(f,m,k,b,S,I,C,L,B)},kn=(c,f,m,k,b,S,I,C,L)=>{let $=0;const z=f.length;let B=c.length-1,j=z-1;for(;$<=B&&$<=j;){const Y=c[$],se=f[$]=L?ut(f[$]):Ue(f[$]);if(Ct(Y,se))A(Y,se,m,null,b,S,I,C,L);else break;$++}for(;$<=B&&$<=j;){const Y=c[B],se=f[j]=L?ut(f[j]):Ue(f[j]);if(Ct(Y,se))A(Y,se,m,null,b,S,I,C,L);else break;B--,j--}if($>B){if($<=j){const Y=j+1,se=Yj)for(;$<=B;)We(c[$],b,S,!0),$++;else{const Y=$,se=$,_e=new Map;for($=se;$<=j;$++){const He=f[$]=L?ut(f[$]):Ue(f[$]);He.key!=null&&_e.set(He.key,$)}let de,ke=0;const De=j-se+1;let Ht=!1,yo=0;const Zt=new Array(De);for($=0;$=De){We(He,b,S,!0);continue}let qe;if(He.key!=null)qe=_e.get(He.key);else for(de=se;de<=j;de++)if(Zt[de-se]===0&&Ct(He,f[de])){qe=de;break}qe===void 0?We(He,b,S,!0):(Zt[qe-se]=$+1,qe>=yo?yo=qe:Ht=!0,A(He,f[qe],m,null,b,S,I,C,L),ke++)}const bo=Ht?xa(Zt):Ot;for(de=bo.length-1,$=De-1;$>=0;$--){const He=se+$,qe=f[He],ko=He+1{const{el:S,type:I,transition:C,children:L,shapeFlag:$}=c;if($&6){yt(c.component.subTree,f,m,k);return}if($&128){c.suspense.move(f,m,k);return}if($&64){I.move(c,f,m,Mt);return}if(I===Z){s(S,f,m);for(let B=0;BC.enter(S),b);else{const{leave:B,delayLeave:j,afterLeave:Y}=C,se=()=>s(S,f,m),_e=()=>{B(S,()=>{se(),Y&&Y()})};j?j(S,se,_e):_e()}else s(S,f,m)},We=(c,f,m,k=!1,b=!1)=>{const{type:S,props:I,ref:C,children:L,dynamicChildren:$,shapeFlag:z,patchFlag:B,dirs:j}=c;if(C!=null&&Rn(C,null,m,c,!0),z&256){f.ctx.deactivate(c);return}const Y=z&1&&j,se=!Ut(c);let _e;if(se&&(_e=I&&I.onVnodeBeforeUnmount)&&Fe(_e,f,c),z&6)Ni(c.component,m,k);else{if(z&128){c.suspense.unmount(m,k);return}Y&&Ye(c,null,f,"beforeUnmount"),z&64?c.type.remove(c,f,m,b,Mt,k):$&&(S!==Z||B>0&&B&64)?tt($,f,m,!1,!0):(S===Z&&B&384||!b&&z&16)&&tt(L,f,m),k&&go(c)}(se&&(_e=I&&I.onVnodeUnmounted)||Y)&&Le(()=>{_e&&Fe(_e,f,c),Y&&Ye(c,null,f,"unmounted")},m)},go=c=>{const{type:f,el:m,anchor:k,transition:b}=c;if(f===Z){Hi(m,k);return}if(f===zt){X(c);return}const S=()=>{o(m),b&&!b.persisted&&b.afterLeave&&b.afterLeave()};if(c.shapeFlag&1&&b&&!b.persisted){const{leave:I,delayLeave:C}=b,L=()=>I(m,S);C?C(c.el,S,L):L()}else S()},Hi=(c,f)=>{let m;for(;c!==f;)m=v(c),o(c),c=m;o(f)},Ni=(c,f,m)=>{const{bum:k,scope:b,update:S,subTree:I,um:C}=c;k&&fs(k),b.stop(),S&&(S.active=!1,We(I,c,f,m)),C&&Le(C,f),Le(()=>{c.isUnmounted=!0},f),f&&f.pendingBranch&&!f.isUnmounted&&c.asyncDep&&!c.asyncResolved&&c.suspenseId===f.pendingId&&(f.deps--,f.deps===0&&f.resolve())},tt=(c,f,m,k=!1,b=!1,S=0)=>{for(let I=S;Ic.shapeFlag&6?wn(c.component.subTree):c.shapeFlag&128?c.suspense.next():v(c.anchor||c.el),xo=(c,f,m)=>{c==null?f._vnode&&We(f._vnode,null,null,!0):A(f._vnode||null,c,f,null,null,null,m),Lo(),On(),f._vnode=c},Mt={p:A,um:We,m:yt,r:go,mt:D,mc:H,pc:pe,pbc:J,n:wn,o:e};let as,cs;return t&&([as,cs]=t(Mt)),{render:xo,hydrate:as,createApp:_a(xo,as)}}function bt({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function ri(e,t,n=!1){const s=e.children,o=t.children;if(q(s)&&q(o))for(let r=0;r>1,e[n[l]]0&&(t[s]=n[r-1]),n[r]=s)}}for(r=n.length,i=n[r-1];r-- >0;)n[r]=i,i=t[i];return n}const ya=e=>e.__isTeleport,Z=Symbol(void 0),Wt=Symbol(void 0),Oe=Symbol(void 0),zt=Symbol(void 0),rn=[];let je=null;function h(e=!1){rn.push(je=e?null:[])}function ba(){rn.pop(),je=rn[rn.length-1]||null}let pn=1;function Do(e){pn+=e}function ii(e){return e.dynamicChildren=pn>0?je||Ot:null,ba(),pn>0&&je&&je.push(e),e}function g(e,t,n,s,o,r){return ii(y(e,t,n,s,o,r,!0))}function W(e,t,n,s,o){return ii(T(e,t,n,s,o,!0))}function Dn(e){return e?e.__v_isVNode===!0:!1}function Ct(e,t){return e.type===t.type&&e.key===t.key}const ns="__vInternal",li=({key:e})=>e??null,In=({ref:e,ref_key:t,ref_for:n})=>e!=null?be(e)||Ce(e)||Q(e)?{i:Se,r:e,k:t,f:!!n}:e:null;function y(e,t=null,n=null,s=0,o=null,r=e===Z?0:1,i=!1,l=!1){const a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&li(t),ref:t&&In(t),scopeId:Zn,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:r,patchFlag:s,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:Se};return l?(lo(a,n),r&128&&e.normalize(a)):n&&(a.shapeFlag|=be(n)?8:16),pn>0&&!i&&je&&(a.patchFlag>0||r&6)&&a.patchFlag!==32&&je.push(a),a}const T=ka;function ka(e,t=null,n=null,s=0,o=null,r=!1){if((!e||e===Yr)&&(e=Oe),Dn(e)){const l=_t(e,t,!0);return n&&lo(l,n),pn>0&&!r&&je&&(l.shapeFlag&6?je[je.indexOf(e)]=l:je.push(l)),l.patchFlag|=-2,l}if(Aa(e)&&(e=e.__vccOpts),t){t=wa(t);let{class:l,style:a}=t;l&&!be(l)&&(t.class=me(l)),ve(a)&&(Lr(a)&&!q(a)&&(a=we({},a)),t.style=Us(a))}const i=be(e)?1:zl(e)?128:ya(e)?64:ve(e)?4:Q(e)?2:0;return y(e,t,n,s,o,i,r,!0)}function wa(e){return e?Lr(e)||ns in e?we({},e):e:null}function _t(e,t,n=!1){const{props:s,ref:o,patchFlag:r,children:i}=e,l=t?Mn(s||{},t):s;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&li(l),ref:t&&t.ref?n&&o?q(o)?o.concat(In(t)):[o,In(t)]:In(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Z?r===-1?16:r|16:r,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&_t(e.ssContent),ssFallback:e.ssFallback&&_t(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function Ee(e=" ",t=0){return T(Wt,null,e,t)}function $a(e,t){const n=T(zt,null,e);return n.staticCount=t,n}function U(e="",t=!1){return t?(h(),W(Oe,null,e)):T(Oe,null,e)}function Ue(e){return e==null||typeof e=="boolean"?T(Oe):q(e)?T(Z,null,e.slice()):typeof e=="object"?ut(e):T(Wt,null,String(e))}function ut(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:_t(e)}function lo(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(q(t))n=16;else if(typeof t=="object")if(s&65){const o=t.default;o&&(o._c&&(o._d=!1),lo(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!(ns in t)?t._ctx=Se:o===3&&Se&&(Se.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Q(t)?(t={default:t,_ctx:Se},n=32):(t=String(t),s&64?(n=16,t=[Ee(t)]):n=8);e.children=t,e.shapeFlag|=n}function Mn(...e){const t={};for(let n=0;nye||Se,qt=e=>{ye=e,e.scope.on()},Vt=()=>{ye&&ye.scope.off(),ye=null};function ai(e){return e.vnode.shapeFlag&4}let Yt=!1;function Ea(e,t=!1){Yt=t;const{props:n,children:s}=e.vnode,o=ai(e);ca(e,n,o,t),da(e,s);const r=o?Ta(e,t):void 0;return Yt=!1,r}function Ta(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=sn(new Proxy(e.ctx,sa));const{setup:s}=n;if(s){const o=e.setupContext=s.length>1?ui(e):null;qt(e),Jt();const r=ht(s,e,0,[e.props,o]);if(Qt(),Vt(),vr(r)){if(r.then(Vt,Vt),t)return r.then(i=>{Uo(e,i,t)}).catch(i=>{gn(i,e,0)});e.asyncDep=r}else Uo(e,r,t)}else ci(e,t)}function Uo(e,t,n){Q(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ve(t)&&(e.setupState=Hr(t)),ci(e,n)}let zo;function ci(e,t,n){const s=e.type;if(!e.render){if(!t&&zo&&!s.render){const o=s.template||ro(e).template;if(o){const{isCustomElement:r,compilerOptions:i}=e.appContext.config,{delimiters:l,compilerOptions:a}=s,u=we(we({isCustomElement:r,delimiters:l},i),a);s.render=zo(o,u)}}e.render=s.render||Ke}qt(e),Jt(),oa(e),Qt(),Vt()}function Va(e){return new Proxy(e.attrs,{get(t,n){return Ae(e,"get","$attrs"),t[n]}})}function ui(e){const t=s=>{e.exposed=s||{}};let n;return{get attrs(){return n||(n=Va(e))},slots:e.slots,emit:e.emit,expose:t}}function ao(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Hr(sn(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in on)return on[n](e)},has(t,n){return n in t||n in on}}))}function La(e,t=!0){return Q(e)?e.displayName||e.name:e.name||t&&e.__name}function Aa(e){return Q(e)&&"__vccOpts"in e}const K=(e,t)=>Al(e,t,Yt);function Ia(){return Ma().slots}function Ma(){const e=ss();return e.setupContext||(e.setupContext=ui(e))}function Un(e,t,n){const s=arguments.length;return s===2?ve(t)&&!q(t)?Dn(t)?T(e,null,[t]):T(e,t):T(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&Dn(n)&&(n=[n]),T(e,t,n))}const Ha=Symbol(""),Na=()=>Ge(Ha),Oa="3.2.47",Ba="http://www.w3.org/2000/svg",St=typeof document<"u"?document:null,jo=St&&St.createElement("template"),Fa={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const o=t?St.createElementNS(Ba,e):St.createElement(e,n?{is:n}:void 0);return e==="select"&&s&&s.multiple!=null&&o.setAttribute("multiple",s.multiple),o},createText:e=>St.createTextNode(e),createComment:e=>St.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>St.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,o,r){const i=n?n.previousSibling:t.lastChild;if(o&&(o===r||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===r||!(o=o.nextSibling)););else{jo.innerHTML=s?`${e}`:e;const l=jo.content;if(s){const a=l.firstChild;for(;a.firstChild;)l.appendChild(a.firstChild);l.removeChild(a)}t.insertBefore(l,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function Ra(e,t,n){const s=e._vtc;s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}function Da(e,t,n){const s=e.style,o=be(n);if(n&&!o){if(t&&!be(t))for(const r in t)n[r]==null&&Is(s,r,"");for(const r in n)Is(s,r,n[r])}else{const r=s.display;o?t!==n&&(s.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(s.display=r)}}const Ko=/\s*!important$/;function Is(e,t,n){if(q(n))n.forEach(s=>Is(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=Ua(e,t);Ko.test(n)?e.setProperty(Xt(s),n.replace(Ko,""),"important"):e[s]=n}}const Go=["Webkit","Moz","ms"],ms={};function Ua(e,t){const n=ms[t];if(n)return n;let s=Qe(t);if(s!=="filter"&&s in e)return ms[t]=s;s=qn(s);for(let o=0;ovs||(Ya.then(()=>vs=0),vs=Date.now());function Ja(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;Re(Qa(s,n.value),t,5,[s])};return n.value=e,n.attached=Xa(),n}function Qa(e,t){if(q(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>o=>!o._stopped&&s&&s(o))}else return t}const Yo=/^on[a-z]/,Za=(e,t,n,s,o=!1,r,i,l,a)=>{t==="class"?Ra(e,s,o):t==="style"?Da(e,n,s):vn(t)?zs(t)||Wa(e,t,n,s,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):ec(e,t,s,o))?ja(e,t,s,r,i,l,a):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),za(e,t,s,o))};function ec(e,t,n,s){return s?!!(t==="innerHTML"||t==="textContent"||t in e&&Yo.test(t)&&Q(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||Yo.test(t)&&be(n)?!1:t in e}function tc(e){const t=ss();if(!t)return;const n=t.ut=(o=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(r=>Hs(r,o))},s=()=>{const o=e(t.proxy);Ms(t.subTree,o),n(o)};Ur(s),Ie(()=>{const o=new MutationObserver(s);o.observe(t.subTree.el.parentNode,{childList:!0}),mt(()=>o.disconnect())})}function Ms(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{Ms(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)Hs(e.el,t);else if(e.type===Z)e.children.forEach(n=>Ms(n,t));else if(e.type===zt){let{el:n,anchor:s}=e;for(;n&&(Hs(n,t),n!==s);)n=n.nextSibling}}function Hs(e,t){if(e.nodeType===1){const n=e.style;for(const s in t)n.setProperty(`--${s}`,t[s])}}const at="transition",en="animation",os=(e,{slots:t})=>Un(jr,nc(e),t);os.displayName="Transition";const fi={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String};os.props=we({},jr.props,fi);const kt=(e,t=[])=>{q(e)?e.forEach(n=>n(...t)):e&&e(...t)},Xo=e=>e?q(e)?e.some(t=>t.length>1):e.length>1:!1;function nc(e){const t={};for(const O in e)O in fi||(t[O]=e[O]);if(e.css===!1)return t;const{name:n="v",type:s,duration:o,enterFromClass:r=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:a=r,appearActiveClass:u=i,appearToClass:d=l,leaveFromClass:_=`${n}-leave-from`,leaveActiveClass:v=`${n}-leave-active`,leaveToClass:w=`${n}-leave-to`}=e,V=sc(o),A=V&&V[0],G=V&&V[1],{onBeforeEnter:x,onEnter:P,onEnterCancelled:N,onLeave:X,onLeaveCancelled:te,onBeforeAppear:he=x,onAppear:oe=P,onAppearCancelled:H=N}=t,ee=(O,ne,D)=>{wt(O,ne?d:l),wt(O,ne?u:i),D&&D()},J=(O,ne)=>{O._isLeaving=!1,wt(O,_),wt(O,w),wt(O,v),ne&&ne()},ae=O=>(ne,D)=>{const Me=O?oe:P,fe=()=>ee(ne,O,D);kt(Me,[ne,fe]),Jo(()=>{wt(ne,O?a:r),ct(ne,O?d:l),Xo(Me)||Qo(ne,s,A,fe)})};return we(t,{onBeforeEnter(O){kt(x,[O]),ct(O,r),ct(O,i)},onBeforeAppear(O){kt(he,[O]),ct(O,a),ct(O,u)},onEnter:ae(!1),onAppear:ae(!0),onLeave(O,ne){O._isLeaving=!0;const D=()=>J(O,ne);ct(O,_),ic(),ct(O,v),Jo(()=>{O._isLeaving&&(wt(O,_),ct(O,w),Xo(X)||Qo(O,s,G,D))}),kt(X,[O,D])},onEnterCancelled(O){ee(O,!1),kt(N,[O])},onAppearCancelled(O){ee(O,!0),kt(H,[O])},onLeaveCancelled(O){J(O),kt(te,[O])}})}function sc(e){if(e==null)return null;if(ve(e))return[gs(e.enter),gs(e.leave)];{const t=gs(e);return[t,t]}}function gs(e){return Xi(e)}function ct(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e._vtc||(e._vtc=new Set)).add(t)}function wt(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const{_vtc:n}=e;n&&(n.delete(t),n.size||(e._vtc=void 0))}function Jo(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let oc=0;function Qo(e,t,n,s){const o=e._endId=++oc,r=()=>{o===e._endId&&s()};if(n)return setTimeout(r,n);const{type:i,timeout:l,propCount:a}=rc(e,t);if(!i)return s();const u=i+"end";let d=0;const _=()=>{e.removeEventListener(u,v),r()},v=w=>{w.target===e&&++d>=a&&_()};setTimeout(()=>{d(n[V]||"").split(", "),o=s(`${at}Delay`),r=s(`${at}Duration`),i=Zo(o,r),l=s(`${en}Delay`),a=s(`${en}Duration`),u=Zo(l,a);let d=null,_=0,v=0;t===at?i>0&&(d=at,_=i,v=r.length):t===en?u>0&&(d=en,_=u,v=a.length):(_=Math.max(i,u),d=_>0?i>u?at:en:null,v=d?d===at?r.length:a.length:0);const w=d===at&&/\b(transform|all)(,|$)/.test(s(`${at}Property`).toString());return{type:d,timeout:_,propCount:v,hasTransform:w}}function Zo(e,t){for(;e.lengther(n)+er(e[s])))}function er(e){return Number(e.slice(0,-1).replace(",","."))*1e3}function ic(){return document.body.offsetHeight}const lc=["ctrl","shift","alt","meta"],ac={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>lc.some(n=>e[`${n}Key`]&&!t.includes(n))},cc=(e,t)=>(n,...s)=>{for(let o=0;o{const t=fc().createApp(...e),{mount:n}=t;return t.mount=s=>{const o=hc(s);if(o)return n(o,!0,o instanceof SVGElement)},t};function hc(e){return be(e)?document.querySelector(e):e}const F=(e,t)=>{const n=e.__vccOpts||e;for(const[s,o]of t)n[s]=o;return n},pc="modulepreload",_c=function(e){return"/"+e},nr={},di=function(t,n,s){if(!n||n.length===0)return t();const o=document.getElementsByTagName("link");return Promise.all(n.map(r=>{if(r=_c(r),r in nr)return;nr[r]=!0;const i=r.endsWith(".css"),l=i?'[rel="stylesheet"]':"";if(!!s)for(let d=o.length-1;d>=0;d--){const _=o[d];if(_.href===r&&(!i||_.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${r}"]${l}`))return;const u=document.createElement("link");if(u.rel=i?"stylesheet":pc,i||(u.as="script",u.crossOrigin=""),u.href=r,document.head.appendChild(u),i)return new Promise((d,_)=>{u.addEventListener("load",d),u.addEventListener("error",()=>_(new Error(`Unable to preload CSS for ${r}`)))})})).then(()=>t())};const mc=R({__name:"VPBadge",props:{text:null,type:null},setup(e){return(t,n)=>(h(),g("span",{class:me(["VPBadge",e.type??"tip"])},[E(t.$slots,"default",{},()=>[Ee(ie(e.text),1)],!0)],2))}});const vc=F(mc,[["__scopeId","data-v-ce917cfb"]]),gc=JSON.parse(`{"lang":"en-US","dir":"ltr","title":"PeyrSharp","description":"A C# library designed to make developers' job easier.","base":"/","head":[],"appearance":true,"themeConfig":{"nav":[{"text":"Guide","link":"/get-started"},{"text":"Reference","link":"/reference"}],"repo":"Leo-Corporation/PeyrSharp","docsDir":"documentation","docsBranch":"main","editLink":{"pattern":"https://github.com/Leo-Corporation/PeyrSharp/edit/main/Documentation/:path","text":"Edit this page on GitHub"},"footer":{"message":"Released under the MIT License.","copyright":"Copyright © 2023 Devyus/Léo Corporation"},"algolia":{"appId":"JVAJ1JZ6HO","apiKey":"0ef6a29a84fc5698ce54fde4381bf281","indexName":"peyrsharp"},"socialLinks":[{"icon":"github","link":"https://github.com/Leo-Corporation/PeyrSharp"},{"icon":"twitter","link":"https://twitter.com/LeoCorpNews"},{"icon":"youtube","link":"https://www.youtube.com/channel/UC283Dtf6EJ8eKfRoo0ISmqg"}],"outline":[1,3],"sidebar":{"/core/":[{"text":"Converters","collapsed":false,"items":[{"text":"Home","link":"/core/converters"},{"text":"Angle","link":"/core/converters/angle"},{"text":"Colors","collapsed":true,"items":[{"text":"RGB","link":"/core/converters/colors/rgb"},{"text":"HEX","link":"/core/converters/colors/hex"},{"text":"HSV","link":"/core/converters/colors/hsv"}]},{"text":"Distances","link":"/core/converters/distances"},{"text":"Energies","link":"/core/converters/energies"},{"text":"Masses","link":"/core/converters/masses"},{"text":"Speeds","link":"/core/converters/speeds"},{"text":"Storage","link":"/core/converters/storage"},{"text":"Temperatures","link":"/core/converters/temperatures"},{"text":"Time","link":"/core/converters/time"},{"text":"Volumes","link":"/core/converters/volumes"}]},{"text":"Crypt","collapsed":false,"items":[{"text":"Crypt","link":"/core/crypt"}]},{"text":"Guid","collapsed":false,"items":[{"text":"GuidGen","link":"/core/guid"},{"text":"GuidOptions","link":"/core/guid-options"}]},{"text":"Internet","collapsed":false,"items":[{"text":"Internet","link":"/core/internet"}]},{"text":"Maths","collapsed":false,"items":[{"text":"Home","link":"/core/maths"},{"text":"Algebra","link":"/core/maths/algebra"},{"text":"Geometry","collapsed":true,"link":"/core/maths/geometry","items":[{"text":"Circle","link":"/core/maths/geometry/circle"},{"text":"Cone","link":"/core/maths/geometry/cone"},{"text":"Cube","link":"/core/maths/geometry/cube"},{"text":"Cylinder","link":"/core/maths/geometry/cylinder"},{"text":"Diamond","link":"/core/maths/geometry/diamond"},{"text":"Hexagon","link":"/core/maths/geometry/hexagon"},{"text":"Pyramid","link":"/core/maths/geometry/pyramid"},{"text":"Rectangle","link":"/core/maths/geometry/rectangle"},{"text":"Sphere","link":"/core/maths/geometry/sphere"},{"text":"Triangle","link":"/core/maths/geometry/triangle"}]},{"text":"Percentages","link":"/core/maths/percentages"},{"text":"Proba","link":"/core/maths/proba"},{"text":"Stats","link":"/core/maths/stats"},{"text":"Trigonometry","link":"/core/maths/trigonometry"}]},{"text":"Password","collapsed":false,"items":[{"text":"Password","link":"/core/password"}]}],"core":[{"text":"Converters","collapsed":false,"items":[{"text":"Home","link":"/core/converters"},{"text":"Angle","link":"/core/converters/angle"},{"text":"Colors","collapsed":true,"items":[{"text":"RGB","link":"/core/converters/colors/rgb"},{"text":"HEX","link":"/core/converters/colors/hex"},{"text":"HSV","link":"/core/converters/colors/hsv"}]},{"text":"Distances","link":"/core/converters/distances"},{"text":"Energies","link":"/core/converters/energies"},{"text":"Masses","link":"/core/converters/masses"},{"text":"Speeds","link":"/core/converters/speeds"},{"text":"Storage","link":"/core/converters/storage"},{"text":"Temperatures","link":"/core/converters/temperatures"},{"text":"Time","link":"/core/converters/time"},{"text":"Volumes","link":"/core/converters/volumes"}]},{"text":"Crypt","collapsed":false,"items":[{"text":"Crypt","link":"/core/crypt"}]},{"text":"Guid","collapsed":false,"items":[{"text":"GuidGen","link":"/core/guid"},{"text":"GuidOptions","link":"/core/guid-options"}]},{"text":"Internet","collapsed":false,"items":[{"text":"Internet","link":"/core/internet"}]},{"text":"Maths","collapsed":false,"items":[{"text":"Home","link":"/core/maths"},{"text":"Algebra","link":"/core/maths/algebra"},{"text":"Geometry","collapsed":true,"link":"/core/maths/geometry","items":[{"text":"Circle","link":"/core/maths/geometry/circle"},{"text":"Cone","link":"/core/maths/geometry/cone"},{"text":"Cube","link":"/core/maths/geometry/cube"},{"text":"Cylinder","link":"/core/maths/geometry/cylinder"},{"text":"Diamond","link":"/core/maths/geometry/diamond"},{"text":"Hexagon","link":"/core/maths/geometry/hexagon"},{"text":"Pyramid","link":"/core/maths/geometry/pyramid"},{"text":"Rectangle","link":"/core/maths/geometry/rectangle"},{"text":"Sphere","link":"/core/maths/geometry/sphere"},{"text":"Triangle","link":"/core/maths/geometry/triangle"}]},{"text":"Percentages","link":"/core/maths/percentages"},{"text":"Proba","link":"/core/maths/proba"},{"text":"Stats","link":"/core/maths/stats"},{"text":"Trigonometry","link":"/core/maths/trigonometry"}]},{"text":"Password","collapsed":false,"items":[{"text":"Password","link":"/core/password"}]}],"get-started":[{"text":"Core","collapsed":false,"items":[{"text":"Converters","collapsed":false,"items":[{"text":"Home","link":"/core/converters"},{"text":"Angle","link":"/core/converters/angle"},{"text":"Colors","collapsed":true,"items":[{"text":"RGB","link":"/core/converters/colors/rgb"},{"text":"HEX","link":"/core/converters/colors/hex"},{"text":"HSV","link":"/core/converters/colors/hsv"}]},{"text":"Distances","link":"/core/converters/distances"},{"text":"Energies","link":"/core/converters/energies"},{"text":"Masses","link":"/core/converters/masses"},{"text":"Speeds","link":"/core/converters/speeds"},{"text":"Storage","link":"/core/converters/storage"},{"text":"Temperatures","link":"/core/converters/temperatures"},{"text":"Time","link":"/core/converters/time"},{"text":"Volumes","link":"/core/converters/volumes"}]},{"text":"Crypt","collapsed":false,"items":[{"text":"Crypt","link":"/core/crypt"}]},{"text":"Guid","collapsed":false,"items":[{"text":"GuidGen","link":"/core/guid"},{"text":"GuidOptions","link":"/core/guid-options"}]},{"text":"Internet","collapsed":false,"items":[{"text":"Internet","link":"/core/internet"}]},{"text":"Maths","collapsed":false,"items":[{"text":"Home","link":"/core/maths"},{"text":"Algebra","link":"/core/maths/algebra"},{"text":"Geometry","collapsed":true,"link":"/core/maths/geometry","items":[{"text":"Circle","link":"/core/maths/geometry/circle"},{"text":"Cone","link":"/core/maths/geometry/cone"},{"text":"Cube","link":"/core/maths/geometry/cube"},{"text":"Cylinder","link":"/core/maths/geometry/cylinder"},{"text":"Diamond","link":"/core/maths/geometry/diamond"},{"text":"Hexagon","link":"/core/maths/geometry/hexagon"},{"text":"Pyramid","link":"/core/maths/geometry/pyramid"},{"text":"Rectangle","link":"/core/maths/geometry/rectangle"},{"text":"Sphere","link":"/core/maths/geometry/sphere"},{"text":"Triangle","link":"/core/maths/geometry/triangle"}]},{"text":"Percentages","link":"/core/maths/percentages"},{"text":"Proba","link":"/core/maths/proba"},{"text":"Stats","link":"/core/maths/stats"},{"text":"Trigonometry","link":"/core/maths/trigonometry"}]},{"text":"Password","collapsed":false,"items":[{"text":"Password","link":"/core/password"}]}]},{"text":"Env","collapsed":false,"items":[{"text":"Home","link":"/env"},{"text":"FileSys","link":"/env/filesys"},{"text":"Logger","link":"/env/logger"},{"text":"Sys","link":"/env/system"},{"text":"Update","link":"/env/update"}]},{"text":"Enums","collapsed":false,"items":[{"text":"Home","link":"/enumerations"}]},{"text":"Exceptions","collapsed":false,"items":[{"text":"Home","link":"/exceptions"}]},{"text":"Extensions","collapsed":false,"items":[{"text":"Home","link":"/extensions"},{"text":"Array","link":"/extensions/array"},{"text":"Double","link":"/extensions/double"},{"text":"Int","link":"/extensions/int"},{"text":"String","link":"/extensions/string"}]},{"text":"UiHelpers","collapsed":false,"items":[{"text":"Home","link":"/ui-helpers"},{"text":"Screen","link":"/ui-helpers/screen"},{"text":"WinForms","link":"/ui-helpers/winforms"},{"text":"WPF","link":"/ui-helpers/wpf"}]}],"/ui-helpers/":[{"text":"UiHelpers","collapsed":false,"items":[{"text":"Home","link":"/ui-helpers"},{"text":"Screen","link":"/ui-helpers/screen"},{"text":"WinForms","link":"/ui-helpers/winforms"},{"text":"WPF","link":"/ui-helpers/wpf"}]}],"ui-helpers":[{"text":"UiHelpers","collapsed":false,"items":[{"text":"Home","link":"/ui-helpers"},{"text":"Screen","link":"/ui-helpers/screen"},{"text":"WinForms","link":"/ui-helpers/winforms"},{"text":"WPF","link":"/ui-helpers/wpf"}]}],"/env/":[{"text":"Env","collapsed":false,"items":[{"text":"Home","link":"/env"},{"text":"FileSys","link":"/env/filesys"},{"text":"Logger","link":"/env/logger"},{"text":"Sys","link":"/env/system"},{"text":"Update","link":"/env/update"}]}],"env":[{"text":"Env","collapsed":false,"items":[{"text":"Home","link":"/env"},{"text":"FileSys","link":"/env/filesys"},{"text":"Logger","link":"/env/logger"},{"text":"Sys","link":"/env/system"},{"text":"Update","link":"/env/update"}]}],"/extensions/":[{"text":"Extensions","collapsed":false,"items":[{"text":"Home","link":"/extensions"},{"text":"Array","link":"/extensions/array"},{"text":"Double","link":"/extensions/double"},{"text":"Int","link":"/extensions/int"},{"text":"String","link":"/extensions/string"}]}],"/extension":[{"text":"Extensions","collapsed":false,"items":[{"text":"Home","link":"/extensions"},{"text":"Array","link":"/extensions/array"},{"text":"Double","link":"/extensions/double"},{"text":"Int","link":"/extensions/int"},{"text":"String","link":"/extensions/string"}]}],"reference":[{"text":"Core","collapsed":false,"items":[{"text":"Converters","collapsed":false,"items":[{"text":"Home","link":"/core/converters"},{"text":"Angle","link":"/core/converters/angle"},{"text":"Colors","collapsed":true,"items":[{"text":"RGB","link":"/core/converters/colors/rgb"},{"text":"HEX","link":"/core/converters/colors/hex"},{"text":"HSV","link":"/core/converters/colors/hsv"}]},{"text":"Distances","link":"/core/converters/distances"},{"text":"Energies","link":"/core/converters/energies"},{"text":"Masses","link":"/core/converters/masses"},{"text":"Speeds","link":"/core/converters/speeds"},{"text":"Storage","link":"/core/converters/storage"},{"text":"Temperatures","link":"/core/converters/temperatures"},{"text":"Time","link":"/core/converters/time"},{"text":"Volumes","link":"/core/converters/volumes"}]},{"text":"Crypt","collapsed":false,"items":[{"text":"Crypt","link":"/core/crypt"}]},{"text":"Guid","collapsed":false,"items":[{"text":"GuidGen","link":"/core/guid"},{"text":"GuidOptions","link":"/core/guid-options"}]},{"text":"Internet","collapsed":false,"items":[{"text":"Internet","link":"/core/internet"}]},{"text":"Maths","collapsed":false,"items":[{"text":"Home","link":"/core/maths"},{"text":"Algebra","link":"/core/maths/algebra"},{"text":"Geometry","collapsed":true,"link":"/core/maths/geometry","items":[{"text":"Circle","link":"/core/maths/geometry/circle"},{"text":"Cone","link":"/core/maths/geometry/cone"},{"text":"Cube","link":"/core/maths/geometry/cube"},{"text":"Cylinder","link":"/core/maths/geometry/cylinder"},{"text":"Diamond","link":"/core/maths/geometry/diamond"},{"text":"Hexagon","link":"/core/maths/geometry/hexagon"},{"text":"Pyramid","link":"/core/maths/geometry/pyramid"},{"text":"Rectangle","link":"/core/maths/geometry/rectangle"},{"text":"Sphere","link":"/core/maths/geometry/sphere"},{"text":"Triangle","link":"/core/maths/geometry/triangle"}]},{"text":"Percentages","link":"/core/maths/percentages"},{"text":"Proba","link":"/core/maths/proba"},{"text":"Stats","link":"/core/maths/stats"},{"text":"Trigonometry","link":"/core/maths/trigonometry"}]},{"text":"Password","collapsed":false,"items":[{"text":"Password","link":"/core/password"}]}]},{"text":"Env","collapsed":false,"items":[{"text":"Home","link":"/env"},{"text":"FileSys","link":"/env/filesys"},{"text":"Logger","link":"/env/logger"},{"text":"Sys","link":"/env/system"},{"text":"Update","link":"/env/update"}]},{"text":"Enums","collapsed":false,"items":[{"text":"Home","link":"/enumerations"}]},{"text":"Exceptions","collapsed":false,"items":[{"text":"Home","link":"/exceptions"}]},{"text":"Extensions","collapsed":false,"items":[{"text":"Home","link":"/extensions"},{"text":"Array","link":"/extensions/array"},{"text":"Double","link":"/extensions/double"},{"text":"Int","link":"/extensions/int"},{"text":"String","link":"/extensions/string"}]},{"text":"UiHelpers","collapsed":false,"items":[{"text":"Home","link":"/ui-helpers"},{"text":"Screen","link":"/ui-helpers/screen"},{"text":"WinForms","link":"/ui-helpers/winforms"},{"text":"WPF","link":"/ui-helpers/wpf"}]}],"enumerations":[{"text":"Core","collapsed":false,"items":[{"text":"Converters","collapsed":false,"items":[{"text":"Home","link":"/core/converters"},{"text":"Angle","link":"/core/converters/angle"},{"text":"Colors","collapsed":true,"items":[{"text":"RGB","link":"/core/converters/colors/rgb"},{"text":"HEX","link":"/core/converters/colors/hex"},{"text":"HSV","link":"/core/converters/colors/hsv"}]},{"text":"Distances","link":"/core/converters/distances"},{"text":"Energies","link":"/core/converters/energies"},{"text":"Masses","link":"/core/converters/masses"},{"text":"Speeds","link":"/core/converters/speeds"},{"text":"Storage","link":"/core/converters/storage"},{"text":"Temperatures","link":"/core/converters/temperatures"},{"text":"Time","link":"/core/converters/time"},{"text":"Volumes","link":"/core/converters/volumes"}]},{"text":"Crypt","collapsed":false,"items":[{"text":"Crypt","link":"/core/crypt"}]},{"text":"Guid","collapsed":false,"items":[{"text":"GuidGen","link":"/core/guid"},{"text":"GuidOptions","link":"/core/guid-options"}]},{"text":"Internet","collapsed":false,"items":[{"text":"Internet","link":"/core/internet"}]},{"text":"Maths","collapsed":false,"items":[{"text":"Home","link":"/core/maths"},{"text":"Algebra","link":"/core/maths/algebra"},{"text":"Geometry","collapsed":true,"link":"/core/maths/geometry","items":[{"text":"Circle","link":"/core/maths/geometry/circle"},{"text":"Cone","link":"/core/maths/geometry/cone"},{"text":"Cube","link":"/core/maths/geometry/cube"},{"text":"Cylinder","link":"/core/maths/geometry/cylinder"},{"text":"Diamond","link":"/core/maths/geometry/diamond"},{"text":"Hexagon","link":"/core/maths/geometry/hexagon"},{"text":"Pyramid","link":"/core/maths/geometry/pyramid"},{"text":"Rectangle","link":"/core/maths/geometry/rectangle"},{"text":"Sphere","link":"/core/maths/geometry/sphere"},{"text":"Triangle","link":"/core/maths/geometry/triangle"}]},{"text":"Percentages","link":"/core/maths/percentages"},{"text":"Proba","link":"/core/maths/proba"},{"text":"Stats","link":"/core/maths/stats"},{"text":"Trigonometry","link":"/core/maths/trigonometry"}]},{"text":"Password","collapsed":false,"items":[{"text":"Password","link":"/core/password"}]}]},{"text":"Env","collapsed":false,"items":[{"text":"Home","link":"/env"},{"text":"FileSys","link":"/env/filesys"},{"text":"Logger","link":"/env/logger"},{"text":"Sys","link":"/env/system"},{"text":"Update","link":"/env/update"}]},{"text":"Enums","collapsed":false,"items":[{"text":"Home","link":"/enumerations"}]},{"text":"Exceptions","collapsed":false,"items":[{"text":"Home","link":"/exceptions"}]},{"text":"Extensions","collapsed":false,"items":[{"text":"Home","link":"/extensions"},{"text":"Array","link":"/extensions/array"},{"text":"Double","link":"/extensions/double"},{"text":"Int","link":"/extensions/int"},{"text":"String","link":"/extensions/string"}]},{"text":"UiHelpers","collapsed":false,"items":[{"text":"Home","link":"/ui-helpers"},{"text":"Screen","link":"/ui-helpers/screen"},{"text":"WinForms","link":"/ui-helpers/winforms"},{"text":"WPF","link":"/ui-helpers/wpf"}]}],"exceptions":[{"text":"Core","collapsed":false,"items":[{"text":"Converters","collapsed":false,"items":[{"text":"Home","link":"/core/converters"},{"text":"Angle","link":"/core/converters/angle"},{"text":"Colors","collapsed":true,"items":[{"text":"RGB","link":"/core/converters/colors/rgb"},{"text":"HEX","link":"/core/converters/colors/hex"},{"text":"HSV","link":"/core/converters/colors/hsv"}]},{"text":"Distances","link":"/core/converters/distances"},{"text":"Energies","link":"/core/converters/energies"},{"text":"Masses","link":"/core/converters/masses"},{"text":"Speeds","link":"/core/converters/speeds"},{"text":"Storage","link":"/core/converters/storage"},{"text":"Temperatures","link":"/core/converters/temperatures"},{"text":"Time","link":"/core/converters/time"},{"text":"Volumes","link":"/core/converters/volumes"}]},{"text":"Crypt","collapsed":false,"items":[{"text":"Crypt","link":"/core/crypt"}]},{"text":"Guid","collapsed":false,"items":[{"text":"GuidGen","link":"/core/guid"},{"text":"GuidOptions","link":"/core/guid-options"}]},{"text":"Internet","collapsed":false,"items":[{"text":"Internet","link":"/core/internet"}]},{"text":"Maths","collapsed":false,"items":[{"text":"Home","link":"/core/maths"},{"text":"Algebra","link":"/core/maths/algebra"},{"text":"Geometry","collapsed":true,"link":"/core/maths/geometry","items":[{"text":"Circle","link":"/core/maths/geometry/circle"},{"text":"Cone","link":"/core/maths/geometry/cone"},{"text":"Cube","link":"/core/maths/geometry/cube"},{"text":"Cylinder","link":"/core/maths/geometry/cylinder"},{"text":"Diamond","link":"/core/maths/geometry/diamond"},{"text":"Hexagon","link":"/core/maths/geometry/hexagon"},{"text":"Pyramid","link":"/core/maths/geometry/pyramid"},{"text":"Rectangle","link":"/core/maths/geometry/rectangle"},{"text":"Sphere","link":"/core/maths/geometry/sphere"},{"text":"Triangle","link":"/core/maths/geometry/triangle"}]},{"text":"Percentages","link":"/core/maths/percentages"},{"text":"Proba","link":"/core/maths/proba"},{"text":"Stats","link":"/core/maths/stats"},{"text":"Trigonometry","link":"/core/maths/trigonometry"}]},{"text":"Password","collapsed":false,"items":[{"text":"Password","link":"/core/password"}]}]},{"text":"Env","collapsed":false,"items":[{"text":"Home","link":"/env"},{"text":"FileSys","link":"/env/filesys"},{"text":"Logger","link":"/env/logger"},{"text":"Sys","link":"/env/system"},{"text":"Update","link":"/env/update"}]},{"text":"Enums","collapsed":false,"items":[{"text":"Home","link":"/enumerations"}]},{"text":"Exceptions","collapsed":false,"items":[{"text":"Home","link":"/exceptions"}]},{"text":"Extensions","collapsed":false,"items":[{"text":"Home","link":"/extensions"},{"text":"Array","link":"/extensions/array"},{"text":"Double","link":"/extensions/double"},{"text":"Int","link":"/extensions/int"},{"text":"String","link":"/extensions/string"}]},{"text":"UiHelpers","collapsed":false,"items":[{"text":"Home","link":"/ui-helpers"},{"text":"Screen","link":"/ui-helpers/screen"},{"text":"WinForms","link":"/ui-helpers/winforms"},{"text":"WPF","link":"/ui-helpers/wpf"}]}]}},"locales":{},"scrollOffset":90,"cleanUrls":false}`),rs=/^[a-z]+:/i,xc=/^pathname:\/\//,sr="vitepress-theme-appearance",hi=/#.*$/,yc=/(index)?\.(md|html)$/,$e=typeof document<"u",pi={relativePath:"",title:"404",description:"Not Found",headers:[],frontmatter:{sidebar:!1,layout:"page"},lastUpdated:0};function It(e,t,n=!1){if(t===void 0)return!1;if(e=or(`/${e}`),n)return new RegExp(t).test(e);if(or(t)!==e)return!1;const s=t.match(hi);return s?($e?location.hash:"")===s[0]:!0}function or(e){return decodeURI(e).replace(hi,"").replace(yc,"")}function _i(e){return rs.test(e)}function bc(e,t){var s,o,r,i,l,a,u;const n=Object.keys(e.locales).find(d=>d!=="root"&&!_i(d)&&It(t,`/${d}/`,!0))||"root";return Object.assign({},e,{localeIndex:n,lang:((s=e.locales[n])==null?void 0:s.lang)??e.lang,dir:((o=e.locales[n])==null?void 0:o.dir)??e.dir,title:((r=e.locales[n])==null?void 0:r.title)??e.title,titleTemplate:((i=e.locales[n])==null?void 0:i.titleTemplate)??e.titleTemplate,description:((l=e.locales[n])==null?void 0:l.description)??e.description,head:vi(e.head,((a=e.locales[n])==null?void 0:a.head)??[]),themeConfig:{...e.themeConfig,...(u=e.locales[n])==null?void 0:u.themeConfig}})}function mi(e,t){const n=t.title||e.title,s=t.titleTemplate??e.titleTemplate;if(typeof s=="string"&&s.includes(":title"))return s.replace(/:title/g,n);const o=kc(e.title,s);return`${n}${o}`}function kc(e,t){return t===!1?"":t===!0||t===void 0?` | ${e}`:e===t?"":` | ${t}`}function wc(e,t){const[n,s]=t;if(n!=="meta")return!1;const o=Object.entries(s)[0];return o==null?!1:e.some(([r,i])=>r===n&&i[o[0]]===o[1])}function vi(e,t){return[...e.filter(n=>!wc(t,n)),...t]}const $c=/[\u0000-\u001F"#$&*+,:;<=>?[\]^`{|}\u007F]/g,Pc=/^[a-z]:/i;function rr(e){const t=Pc.exec(e),n=t?t[0]:"";return n+e.slice(n.length).replace($c,"_").replace(/(^|\/)_+(?=[^/]*$)/,"$1")}const gi=Symbol(),ft=El(gc);function Cc(e){const t=K(()=>bc(ft.value,e.data.relativePath));return{site:t,theme:K(()=>t.value.themeConfig),page:K(()=>e.data),frontmatter:K(()=>e.data.frontmatter),lang:K(()=>t.value.lang),dir:K(()=>t.value.dir),localeIndex:K(()=>t.value.localeIndex||"root"),title:K(()=>mi(t.value,e.data)),description:K(()=>e.data.description||t.value.description),isDark:le(!1)}}function xi(){const e=Ge(gi);if(!e)throw new Error("vitepress data not properly injected in app");return e}function Sc(e,t){return`${e}${t}`.replace(/\/+/g,"/")}function _n(e){return rs.test(e)||e.startsWith(".")?e:Sc(ft.value.base,e)}function yi(e){let t=e.replace(/\.html$/,"");if(t=decodeURIComponent(t),t=t.replace(/\/$/,"/index"),$e){const n="/";t=rr(t.slice(n.length).replace(/\//g,"_")||"index")+".md";let s=__VP_HASH_MAP__[t.toLowerCase()];s||(t=t.endsWith("_index.md")?t.slice(0,-9)+".md":t.slice(0,-3)+"_index.md",s=__VP_HASH_MAP__[t.toLowerCase()]),t=`${n}assets/${t}.${s}.js`}else t=`./${rr(t.slice(1).replace(/\//g,"_"))}.md.js`;return t}const bi=Symbol(),ir="http://a.com",Ec=()=>({path:"/",component:null,data:pi});function Tc(e,t){const n=Xn(Ec()),s={route:n,go:o};async function o(l=$e?location.href:"/"){var u,d;await((u=s.onBeforeRouteChange)==null?void 0:u.call(s,l));const a=new URL(l,ir);ft.value.cleanUrls||!a.pathname.endsWith("/")&&!a.pathname.endsWith(".html")&&(a.pathname+=".html",l=a.pathname+a.search+a.hash),$e&&l!==location.href&&(history.replaceState({scrollPosition:window.scrollY},document.title),history.pushState(null,"",l)),await i(l),await((d=s.onAfterRouteChanged)==null?void 0:d.call(s,l))}let r=null;async function i(l,a=0,u=!1){const d=new URL(l,ir),_=r=d.pathname;try{let v=await e(_);if(r===_){r=null;const{default:w,__pageData:V}=v;if(!w)throw new Error(`Invalid route component: ${w}`);n.path=$e?_:_n(_),n.component=sn(w),n.data=sn(V),$e&&no(()=>{let A=ft.value.base+V.relativePath.replace(/(?:(^|\/)index)?\.md$/,"$1");if(!ft.value.cleanUrls&&!A.endsWith("/")&&(A+=".html"),A!==d.pathname&&(d.pathname=A,l=A+d.search+d.hash,history.replaceState(null,"",l)),d.hash&&!a){let G=null;try{G=document.querySelector(decodeURIComponent(d.hash))}catch(x){console.warn(x)}if(G){lr(G,d.hash);return}}window.scrollTo(0,a)})}}catch(v){if(!/fetch/.test(v.message)&&!/^\/404(\.html|\/)?$/.test(l)&&console.error(v),!u)try{const w=await fetch(ft.value.base+"hashmap.json");window.__VP_HASH_MAP__=await w.json(),await i(l,a,!0);return}catch{}r===_&&(r=null,n.path=$e?_:_n(_),n.component=t?sn(t):null,n.data=pi)}}return $e&&(window.addEventListener("click",l=>{if(l.target.closest("button"))return;const u=l.target.closest("a");if(u&&!u.closest(".vp-raw")&&(u instanceof SVGElement||!u.download)){const{target:d}=u,{href:_,origin:v,pathname:w,hash:V,search:A}=new URL(u.href instanceof SVGAnimatedString?u.href.animVal:u.href,u.baseURI),G=window.location,x=w.match(/\.\w+$/);!l.ctrlKey&&!l.shiftKey&&!l.altKey&&!l.metaKey&&d!=="_blank"&&v===G.origin&&!(x&&x[0]!==".html")&&(l.preventDefault(),w===G.pathname&&A===G.search?V&&V!==G.hash&&(history.pushState(null,"",V),window.dispatchEvent(new Event("hashchange")),lr(u,V,u.classList.contains("header-anchor"))):o(_))}},{capture:!0}),window.addEventListener("popstate",l=>{i(location.href,l.state&&l.state.scrollPosition||0)}),window.addEventListener("hashchange",l=>{l.preventDefault()})),s}function Vc(){const e=Ge(bi);if(!e)throw new Error("useRouter() is called without provider.");return e}function vt(){return Vc().route}function lr(e,t,n=!1){let s=null;try{s=e.classList.contains("header-anchor")?e:document.querySelector(decodeURIComponent(t))}catch(o){console.warn(o)}if(s){let o=ft.value.scrollOffset;typeof o=="string"&&(o=document.querySelector(o).getBoundingClientRect().bottom+24);const r=parseInt(window.getComputedStyle(s).paddingTop,10),i=window.scrollY+s.getBoundingClientRect().top-o+r;!n||Math.abs(i-window.scrollY)>window.innerHeight?window.scrollTo(0,i):window.scrollTo({left:0,top:i,behavior:"smooth"})}}const Lc=R({name:"VitePressContent",props:{onContentUpdated:Function},setup(e){const t=vt();return so(()=>{var n;(n=e.onContentUpdated)==null||n.call(e)}),()=>Un("div",{style:{position:"relative"}},[t.component?Un(t.component):null])}}),ue=xi;var ar;const yn=typeof window<"u",Ac=e=>typeof e=="string",Ic=()=>{};yn&&((ar=window==null?void 0:window.navigator)!=null&&ar.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function Mc(e){return typeof e=="function"?e():p(e)}function Hc(e){return e}function ki(e){return yr()?(el(e),!0):!1}function Nc(e){return typeof e=="function"?K(e):le(e)}function Oc(e,t=!0){ss()?Ie(e):t?e():no(e)}function Bc(e){var t;const n=Mc(e);return(t=n==null?void 0:n.$el)!=null?t:n}const co=yn?window:void 0;yn&&window.document;yn&&window.navigator;yn&&window.location;function Fc(...e){let t,n,s,o;if(Ac(e[0])||Array.isArray(e[0])?([n,s,o]=e,t=co):[t,n,s,o]=e,!t)return Ic;Array.isArray(n)||(n=[n]),Array.isArray(s)||(s=[s]);const r=[],i=()=>{r.forEach(d=>d()),r.length=0},l=(d,_,v)=>(d.addEventListener(_,v,o),()=>d.removeEventListener(_,v,o)),a=Je(()=>Bc(t),d=>{i(),d&&r.push(...n.flatMap(_=>s.map(v=>l(d,_,v))))},{immediate:!0,flush:"post"}),u=()=>{a(),i()};return ki(u),u}function Rc(e,t=!1){const n=le(),s=()=>n.value=Boolean(e());return s(),Oc(s,t),n}function Ns(e,t={}){const{window:n=co}=t,s=Rc(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let o;const r=le(!1),i=()=>{o&&("removeEventListener"in o?o.removeEventListener("change",l):o.removeListener(l))},l=()=>{s.value&&(i(),o=n.matchMedia(Nc(e).value),r.value=o.matches,"addEventListener"in o?o.addEventListener("change",l):o.addListener(l))};return Lt(l),ki(()=>i()),r}const Os=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Bs="__vueuse_ssr_handlers__";Os[Bs]=Os[Bs]||{};Os[Bs];var cr;(function(e){e.UP="UP",e.RIGHT="RIGHT",e.DOWN="DOWN",e.LEFT="LEFT",e.NONE="NONE"})(cr||(cr={}));var Dc=Object.defineProperty,ur=Object.getOwnPropertySymbols,Uc=Object.prototype.hasOwnProperty,zc=Object.prototype.propertyIsEnumerable,fr=(e,t,n)=>t in e?Dc(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,jc=(e,t)=>{for(var n in t||(t={}))Uc.call(t,n)&&fr(e,n,t[n]);if(ur)for(var n of ur(t))zc.call(t,n)&&fr(e,n,t[n]);return e};const Kc={easeInSine:[.12,0,.39,0],easeOutSine:[.61,1,.88,1],easeInOutSine:[.37,0,.63,1],easeInQuad:[.11,0,.5,0],easeOutQuad:[.5,1,.89,1],easeInOutQuad:[.45,0,.55,1],easeInCubic:[.32,0,.67,0],easeOutCubic:[.33,1,.68,1],easeInOutCubic:[.65,0,.35,1],easeInQuart:[.5,0,.75,0],easeOutQuart:[.25,1,.5,1],easeInOutQuart:[.76,0,.24,1],easeInQuint:[.64,0,.78,0],easeOutQuint:[.22,1,.36,1],easeInOutQuint:[.83,0,.17,1],easeInExpo:[.7,0,.84,0],easeOutExpo:[.16,1,.3,1],easeInOutExpo:[.87,0,.13,1],easeInCirc:[.55,0,1,.45],easeOutCirc:[0,.55,.45,1],easeInOutCirc:[.85,0,.15,1],easeInBack:[.36,0,.66,-.56],easeOutBack:[.34,1.56,.64,1],easeInOutBack:[.68,-.6,.32,1.6]};jc({linear:Hc},Kc);function Gc({window:e=co}={}){if(!e)return{x:le(0),y:le(0)};const t=le(e.pageXOffset),n=le(e.pageYOffset);return Fc(e,"scroll",()=>{t.value=e.pageXOffset,n.value=e.pageYOffset},{capture:!1,passive:!0}),{x:t,y:n}}function Wc(e,t){let n,s=!1;return()=>{n&&clearTimeout(n),s?n=setTimeout(e,t):(e(),s=!0,setTimeout(()=>{s=!1},t))}}function Fs(e){return/^\//.test(e)?e:`/${e}`}function mn(e){if(_i(e))return e.replace(xc,"");const{site:t}=ue(),{pathname:n,search:s,hash:o}=new URL(e,"http://example.com"),r=n.endsWith("/")||n.endsWith(".html")?e:e.replace(/(?:(^\.+)\/)?.*$/,`$1${n.replace(/(\.md)?$/,t.value.cleanUrls?"":".html")}${s}${o}`);return _n(r)}function wi(e,t){if(Array.isArray(e))return e;if(e==null)return[];t=Fs(t);const n=Object.keys(e).sort((s,o)=>o.split("/").length-s.split("/").length).find(s=>t.startsWith(Fs(s)));return n?e[n]:[]}function qc(e){const t=[];let n=0;for(const s in e){const o=e[s];if(o.items){n=t.push(o);continue}t[n]||t.push({items:[]}),t[n].items.push(o)}return t}function Yc(e){const t=[];function n(s){for(const o of s)o.text&&o.link&&t.push({text:o.text,link:o.link}),o.items&&n(o.items)}return n(e),t}function Rs(e,t){return Array.isArray(t)?t.some(n=>Rs(e,n)):It(e,t.link)?!0:t.items?Rs(e,t.items):!1}function rt(){const e=vt(),{theme:t,frontmatter:n}=ue(),s=Ns("(min-width: 960px)"),o=le(!1),r=K(()=>{const w=t.value.sidebar,V=e.data.relativePath;return w?wi(w,V):[]}),i=K(()=>n.value.sidebar!==!1&&r.value.length>0&&n.value.layout!=="home"),l=K(()=>n.value.layout!=="home"&&n.value.aside!==!1),a=K(()=>i.value&&s.value),u=K(()=>i.value?qc(r.value):[]);function d(){o.value=!0}function _(){o.value=!1}function v(){o.value?_():d()}return{isOpen:o,sidebar:r,sidebarGroups:u,hasSidebar:i,hasAside:l,isSidebarEnabled:a,open:d,close:_,toggle:v}}function Xc(e,t){let n;Lt(()=>{n=e.value?document.activeElement:void 0}),Ie(()=>{window.addEventListener("keyup",s)}),mt(()=>{window.removeEventListener("keyup",s)});function s(o){o.key==="Escape"&&e.value&&(t(),n==null||n.focus())}}function Jc(e){const{page:t}=ue(),n=le(!1),s=K(()=>e.value.collapsed!=null),o=K(()=>!!e.value.link),r=K(()=>It(t.value.relativePath,e.value.link)),i=K(()=>r.value?!0:e.value.items?Rs(t.value.relativePath,e.value.items):!1),l=K(()=>!!(e.value.items&&e.value.items.length));Lt(()=>{n.value=!!(s.value&&e.value.collapsed)}),Lt(()=>{(r.value||i.value)&&(n.value=!1)});function a(){s.value&&(n.value=!n.value)}return{collapsed:n,collapsible:s,isLink:o,isActiveLink:r,hasActiveLink:i,hasChildren:l,toggle:a}}const Qc=R({__name:"VPSkipLink",setup(e){const t=vt(),n=le();Je(()=>t.path,()=>n.value.focus());function s({target:o}){const r=document.querySelector(o.hash);if(r){const i=()=>{r.removeAttribute("tabindex"),r.removeEventListener("blur",i)};r.setAttribute("tabindex","-1"),r.addEventListener("blur",i),r.focus(),window.scrollTo(0,0)}}return(o,r)=>(h(),g(Z,null,[y("span",{ref_key:"backToTop",ref:n,tabindex:"-1"},null,512),y("a",{href:"#VPContent",class:"VPSkipLink visually-hidden",onClick:s}," Skip to content ")],64))}});const Zc=F(Qc,[["__scopeId","data-v-f637ee78"]]),eu={key:0,class:"VPBackdrop"},tu=R({__name:"VPBackdrop",props:{show:{type:Boolean}},setup(e){return(t,n)=>(h(),W(os,{name:"fade"},{default:M(()=>[e.show?(h(),g("div",eu)):U("",!0)]),_:1}))}});const nu=F(tu,[["__scopeId","data-v-54a304ca"]]);function su(){const e=le(!1);function t(){e.value=!0,window.addEventListener("resize",o)}function n(){e.value=!1,window.removeEventListener("resize",o)}function s(){e.value?n():t()}function o(){window.outerWidth>=768&&n()}const r=vt();return Je(()=>r.path,n),{isScreenOpen:e,openScreen:t,closeScreen:n,toggleScreen:s}}function bn({removeCurrent:e=!0,correspondingLink:t=!1}={}){const{site:n,localeIndex:s,page:o,theme:r}=ue(),i=K(()=>{var a,u;return{label:(a=n.value.locales[s.value])==null?void 0:a.label,link:((u=n.value.locales[s.value])==null?void 0:u.link)||(s.value==="root"?"/":`/${s.value}/`)}});return{localeLinks:K(()=>Object.entries(n.value.locales).flatMap(([a,u])=>e&&i.value.label===u.label?[]:{text:u.label,link:ou(u.link||(a==="root"?"/":`/${a}/`),r.value.i18nRouting!==!1&&t,o.value.relativePath.slice(i.value.link.length-1),!n.value.cleanUrls)})),currentLang:i}}function ou(e,t,n,s){return t?e.replace(/\/$/,"")+Fs(n.replace(/(^|\/)?index.md$/,"$1").replace(/\.md$/,s?".html":"")):e}const ru=["src","alt"],iu={inheritAttrs:!1},lu=R({...iu,__name:"VPImage",props:{image:null,alt:null},setup(e){return(t,n)=>{const s=At("VPImage",!0);return e.image?(h(),g(Z,{key:0},[typeof e.image=="string"||"src"in e.image?(h(),g("img",Mn({key:0,class:"VPImage"},typeof e.image=="string"?t.$attrs:{...e.image,...t.$attrs},{src:p(_n)(typeof e.image=="string"?e.image:e.image.src),alt:e.alt??(typeof e.image=="string"?"":e.image.alt||"")}),null,16,ru)):(h(),g(Z,{key:1},[T(s,Mn({class:"dark",image:e.image.dark,alt:e.image.alt},t.$attrs),null,16,["image","alt"]),T(s,Mn({class:"light",image:e.image.light,alt:e.image.alt},t.$attrs),null,16,["image","alt"])],64))],64)):U("",!0)}}});const uo=F(lu,[["__scopeId","data-v-dc109a54"]]),au=["href"],cu=R({__name:"VPNavBarTitle",setup(e){const{site:t,theme:n}=ue(),{hasSidebar:s}=rt(),{currentLang:o}=bn();return(r,i)=>(h(),g("div",{class:me(["VPNavBarTitle",{"has-sidebar":p(s)}])},[y("a",{class:"title",href:p(mn)(p(o).link)},[E(r.$slots,"nav-bar-title-before",{},void 0,!0),p(n).logo?(h(),W(uo,{key:0,class:"logo",image:p(n).logo},null,8,["image"])):U("",!0),p(n).siteTitle?(h(),g(Z,{key:1},[Ee(ie(p(n).siteTitle),1)],64)):p(n).siteTitle===void 0?(h(),g(Z,{key:2},[Ee(ie(p(t).title),1)],64)):U("",!0),E(r.$slots,"nav-bar-title-after",{},void 0,!0)],8,au)],2))}});const uu=F(cu,[["__scopeId","data-v-a6217f33"]]);const fu={key:0,class:"VPNavBarSearch"},du={type:"button",class:"DocSearch DocSearch-Button","aria-label":"Search"},hu={class:"DocSearch-Button-Container"},pu=y("svg",{class:"DocSearch-Search-Icon",width:"20",height:"20",viewBox:"0 0 20 20"},[y("path",{d:"M14.386 14.386l4.0877 4.0877-4.0877-4.0877c-2.9418 2.9419-7.7115 2.9419-10.6533 0-2.9419-2.9418-2.9419-7.7115 0-10.6533 2.9418-2.9419 7.7115-2.9419 10.6533 0 2.9419 2.9418 2.9419 7.7115 0 10.6533z",stroke:"currentColor",fill:"none","fill-rule":"evenodd","stroke-linecap":"round","stroke-linejoin":"round"})],-1),_u={class:"DocSearch-Button-Placeholder"},mu=y("span",{class:"DocSearch-Button-Keys"},[y("kbd",{class:"DocSearch-Button-Key"}),y("kbd",{class:"DocSearch-Button-Key"},"K")],-1),vu=R({__name:"VPNavBarSearch",setup(e){tc(u=>({"1b653234":r.value}));const t=Wl(()=>di(()=>import("./chunks/VPAlgoliaSearchBox.0b3d41b3.js"),[])),{theme:n,localeIndex:s}=ue(),o=le(!1),r=le("'Meta'"),i=K(()=>{var u,d,_,v,w,V,A,G;return((w=(v=(_=(d=(u=n.value.algolia)==null?void 0:u.locales)==null?void 0:d[s.value])==null?void 0:_.translations)==null?void 0:v.button)==null?void 0:w.buttonText)||((G=(A=(V=n.value.algolia)==null?void 0:V.translations)==null?void 0:A.button)==null?void 0:G.buttonText)||"Search"});Ie(()=>{if(!n.value.algolia)return;r.value=/(Mac|iPhone|iPod|iPad)/i.test(navigator.platform)?"'⌘'":"'Ctrl'";const u=_=>{_.key==="k"&&(_.ctrlKey||_.metaKey)&&(_.preventDefault(),l(),d())},d=()=>{window.removeEventListener("keydown",u)};window.addEventListener("keydown",u),mt(d)});function l(){o.value||(o.value=!0,setTimeout(a,16))}function a(){const u=new Event("keydown");u.key="k",u.metaKey=!0,window.dispatchEvent(u),setTimeout(()=>{document.querySelector(".DocSearch-Modal")||a()},16)}return Ie(()=>{const u="VPAlgoliaPreconnect";(window.requestIdleCallback||setTimeout)(()=>{if(!n.value.algolia||document.head.querySelector(`#${u}`))return;const _=document.createElement("link");_.id=u,_.rel="preconnect",_.href=`https://${n.value.algolia.appId}-dsn.algolia.net`,_.crossOrigin="",document.head.appendChild(_)})}),(u,d)=>p(n).algolia?(h(),g("div",fu,[o.value?(h(),W(p(t),{key:0,algolia:p(n).algolia},null,8,["algolia"])):(h(),g("div",{key:1,id:"docsearch",onClick:l},[y("button",du,[y("span",hu,[pu,y("span",_u,ie(p(i)),1)]),mu])]))])):U("",!0)}});const gu={},xu={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",height:"24px",viewBox:"0 0 24 24",width:"24px"},yu=y("path",{d:"M0 0h24v24H0V0z",fill:"none"},null,-1),bu=y("path",{d:"M9 5v2h6.59L4 18.59 5.41 20 17 8.41V15h2V5H9z"},null,-1),ku=[yu,bu];function wu(e,t){return h(),g("svg",xu,ku)}const $u=F(gu,[["render",wu]]),Pu=R({__name:"VPLink",props:{tag:null,href:null,noIcon:{type:Boolean}},setup(e){const t=e,n=K(()=>t.tag??t.href?"a":"span"),s=K(()=>t.href&&rs.test(t.href));return(o,r)=>(h(),W(hn(p(n)),{class:me(["VPLink",{link:e.href}]),href:e.href?p(mn)(e.href):void 0,target:p(s)?"_blank":void 0,rel:p(s)?"noreferrer":void 0},{default:M(()=>[E(o.$slots,"default",{},void 0,!0),p(s)&&!e.noIcon?(h(),W($u,{key:0,class:"icon"})):U("",!0)]),_:3},8,["class","href","target","rel"]))}});const gt=F(Pu,[["__scopeId","data-v-b9e985a1"]]),Cu=R({__name:"VPNavBarMenuLink",props:{item:null},setup(e){const{page:t}=ue();return(n,s)=>(h(),W(gt,{class:me({VPNavBarMenuLink:!0,active:p(It)(p(t).relativePath,e.item.activeMatch||e.item.link,!!e.item.activeMatch)}),href:e.item.link,noIcon:!0},{default:M(()=>[Ee(ie(e.item.text),1)]),_:1},8,["class","href"]))}});const Su=F(Cu,[["__scopeId","data-v-9d7efd51"]]),fo=le();let $i=!1,ys=0;function Eu(e){const t=le(!1);if($e){!$i&&Tu(),ys++;const n=Je(fo,s=>{var o,r,i;s===e.el.value||(o=e.el.value)!=null&&o.contains(s)?(t.value=!0,(r=e.onFocus)==null||r.call(e)):(t.value=!1,(i=e.onBlur)==null||i.call(e))});mt(()=>{n(),ys--,ys||Vu()})}return Qs(t)}function Tu(){document.addEventListener("focusin",Pi),$i=!0,fo.value=document.activeElement}function Vu(){document.removeEventListener("focusin",Pi)}function Pi(){fo.value=document.activeElement}const Lu={},Au={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},Iu=y("path",{d:"M12,16c-0.3,0-0.5-0.1-0.7-0.3l-6-6c-0.4-0.4-0.4-1,0-1.4s1-0.4,1.4,0l5.3,5.3l5.3-5.3c0.4-0.4,1-0.4,1.4,0s0.4,1,0,1.4l-6,6C12.5,15.9,12.3,16,12,16z"},null,-1),Mu=[Iu];function Hu(e,t){return h(),g("svg",Au,Mu)}const Ci=F(Lu,[["render",Hu]]),Nu={},Ou={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},Bu=y("circle",{cx:"12",cy:"12",r:"2"},null,-1),Fu=y("circle",{cx:"19",cy:"12",r:"2"},null,-1),Ru=y("circle",{cx:"5",cy:"12",r:"2"},null,-1),Du=[Bu,Fu,Ru];function Uu(e,t){return h(),g("svg",Ou,Du)}const zu=F(Nu,[["render",Uu]]),ju={class:"VPMenuLink"},Ku=R({__name:"VPMenuLink",props:{item:null},setup(e){const{page:t}=ue();return(n,s)=>(h(),g("div",ju,[T(gt,{class:me({active:p(It)(p(t).relativePath,e.item.activeMatch||e.item.link,!!e.item.activeMatch)}),href:e.item.link},{default:M(()=>[Ee(ie(e.item.text),1)]),_:1},8,["class","href"])]))}});const is=F(Ku,[["__scopeId","data-v-f43299a3"]]),Gu={class:"VPMenuGroup"},Wu={key:0,class:"title"},qu=R({__name:"VPMenuGroup",props:{text:null,items:null},setup(e){return(t,n)=>(h(),g("div",Gu,[e.text?(h(),g("p",Wu,ie(e.text),1)):U("",!0),(h(!0),g(Z,null,Ve(e.items,s=>(h(),g(Z,null,["link"in s?(h(),W(is,{key:0,item:s},null,8,["item"])):U("",!0)],64))),256))]))}});const Yu=F(qu,[["__scopeId","data-v-83b576f3"]]),Xu={class:"VPMenu"},Ju={key:0,class:"items"},Qu=R({__name:"VPMenu",props:{items:null},setup(e){return(t,n)=>(h(),g("div",Xu,[e.items?(h(),g("div",Ju,[(h(!0),g(Z,null,Ve(e.items,s=>(h(),g(Z,{key:s.text},["link"in s?(h(),W(is,{key:0,item:s},null,8,["item"])):(h(),W(Yu,{key:1,text:s.text,items:s.items},null,8,["text","items"]))],64))),128))])):U("",!0),E(t.$slots,"default",{},void 0,!0)]))}});const Zu=F(Qu,[["__scopeId","data-v-e42ed9b3"]]),ef=["aria-expanded","aria-label"],tf={key:0,class:"text"},nf={class:"menu"},sf=R({__name:"VPFlyout",props:{icon:null,button:null,label:null,items:null},setup(e){const t=le(!1),n=le();Eu({el:n,onBlur:s});function s(){t.value=!1}return(o,r)=>(h(),g("div",{class:"VPFlyout",ref_key:"el",ref:n,onMouseenter:r[1]||(r[1]=i=>t.value=!0),onMouseleave:r[2]||(r[2]=i=>t.value=!1)},[y("button",{type:"button",class:"button","aria-haspopup":"true","aria-expanded":t.value,"aria-label":e.label,onClick:r[0]||(r[0]=i=>t.value=!t.value)},[e.button||e.icon?(h(),g("span",tf,[e.icon?(h(),W(hn(e.icon),{key:0,class:"option-icon"})):U("",!0),Ee(" "+ie(e.button)+" ",1),T(Ci,{class:"text-icon"})])):(h(),W(zu,{key:1,class:"icon"}))],8,ef),y("div",nf,[T(Zu,{items:e.items},{default:M(()=>[E(o.$slots,"default",{},void 0,!0)]),_:3},8,["items"])])],544))}});const ho=F(sf,[["__scopeId","data-v-226768c1"]]),of=R({__name:"VPNavBarMenuGroup",props:{item:null},setup(e){const{page:t}=ue();return(n,s)=>(h(),W(ho,{class:me({VPNavBarMenuGroup:!0,active:p(It)(p(t).relativePath,e.item.activeMatch,!!e.item.activeMatch)}),button:e.item.text,items:e.item.items},null,8,["class","button","items"]))}}),rf=e=>(Ze("data-v-066fd012"),e=e(),et(),e),lf={key:0,"aria-labelledby":"main-nav-aria-label",class:"VPNavBarMenu"},af=rf(()=>y("span",{id:"main-nav-aria-label",class:"visually-hidden"},"Main Navigation",-1)),cf=R({__name:"VPNavBarMenu",setup(e){const{theme:t}=ue();return(n,s)=>p(t).nav?(h(),g("nav",lf,[af,(h(!0),g(Z,null,Ve(p(t).nav,o=>(h(),g(Z,{key:o.text},["link"in o?(h(),W(Su,{key:0,item:o},null,8,["item"])):(h(),W(of,{key:1,item:o},null,8,["item"]))],64))),128))])):U("",!0)}});const uf=F(cf,[["__scopeId","data-v-066fd012"]]),ff={},df={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},hf=y("path",{d:"M0 0h24v24H0z",fill:"none"},null,-1),pf=y("path",{d:" M12.87 15.07l-2.54-2.51.03-.03c1.74-1.94 2.98-4.17 3.71-6.53H17V4h-7V2H8v2H1v1.99h11.17C11.5 7.92 10.44 9.75 9 11.35 8.07 10.32 7.3 9.19 6.69 8h-2c.73 1.63 1.73 3.17 2.98 4.56l-5.09 5.02L4 19l5-5 3.11 3.11.76-2.04zM18.5 10h-2L12 22h2l1.12-3h4.75L21 22h2l-4.5-12zm-2.62 7l1.62-4.33L19.12 17h-3.24z ",class:"css-c4d79v"},null,-1),_f=[hf,pf];function mf(e,t){return h(),g("svg",df,_f)}const Si=F(ff,[["render",mf]]),vf={class:"items"},gf={class:"title"},xf=R({__name:"VPNavBarTranslations",setup(e){const{localeLinks:t,currentLang:n}=bn({correspondingLink:!0});return(s,o)=>p(t).length&&p(n).label?(h(),W(ho,{key:0,class:"VPNavBarTranslations",icon:Si},{default:M(()=>[y("div",vf,[y("p",gf,ie(p(n).label),1),(h(!0),g(Z,null,Ve(p(t),r=>(h(),W(is,{key:r.link,item:r},null,8,["item"]))),128))])]),_:1})):U("",!0)}});const yf=F(xf,[["__scopeId","data-v-3a432f21"]]);const bf={},kf={class:"VPSwitch",type:"button",role:"switch"},wf={class:"check"},$f={key:0,class:"icon"};function Pf(e,t){return h(),g("button",kf,[y("span",wf,[e.$slots.default?(h(),g("span",$f,[E(e.$slots,"default",{},void 0,!0)])):U("",!0)])])}const Cf=F(bf,[["render",Pf],["__scopeId","data-v-92d8f6fb"]]),Sf={},Ef={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},Tf=$a('',9),Vf=[Tf];function Lf(e,t){return h(),g("svg",Ef,Vf)}const Af=F(Sf,[["render",Lf]]),If={},Mf={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},Hf=y("path",{d:"M12.1,22c-0.3,0-0.6,0-0.9,0c-5.5-0.5-9.5-5.4-9-10.9c0.4-4.8,4.2-8.6,9-9c0.4,0,0.8,0.2,1,0.5c0.2,0.3,0.2,0.8-0.1,1.1c-2,2.7-1.4,6.4,1.3,8.4c2.1,1.6,5,1.6,7.1,0c0.3-0.2,0.7-0.3,1.1-0.1c0.3,0.2,0.5,0.6,0.5,1c-0.2,2.7-1.5,5.1-3.6,6.8C16.6,21.2,14.4,22,12.1,22zM9.3,4.4c-2.9,1-5,3.6-5.2,6.8c-0.4,4.4,2.8,8.3,7.2,8.7c2.1,0.2,4.2-0.4,5.8-1.8c1.1-0.9,1.9-2.1,2.4-3.4c-2.5,0.9-5.3,0.5-7.5-1.1C9.2,11.4,8.1,7.7,9.3,4.4z"},null,-1),Nf=[Hf];function Of(e,t){return h(),g("svg",Mf,Nf)}const Bf=F(If,[["render",Of]]),Ff=R({__name:"VPSwitchAppearance",setup(e){const{site:t,isDark:n}=ue(),s=le(!1),o=typeof localStorage<"u"?r():()=>{};Ie(()=>{s.value=document.documentElement.classList.contains("dark")});function r(){const i=window.matchMedia("(prefers-color-scheme: dark)"),l=document.documentElement.classList;let a=localStorage.getItem(sr),u=t.value.appearance==="dark"&&a==null||(a==="auto"||a==null?i.matches:a==="dark");i.onchange=v=>{a==="auto"&&_(u=v.matches)};function d(){_(u=!u),a=u?i.matches?"auto":"dark":i.matches?"light":"auto",localStorage.setItem(sr,a)}function _(v){const w=document.createElement("style");w.type="text/css",w.appendChild(document.createTextNode(`:not(.VPSwitchAppearance):not(.VPSwitchAppearance *) { -webkit-transition: none !important; -moz-transition: none !important; -o-transition: none !important; -ms-transition: none !important; transition: none !important; -}`)),document.head.appendChild(w),s.value=v,l[v?"add":"remove"]("dark"),window.getComputedStyle(w).opacity,document.head.removeChild(w)}return d}return Je(s,i=>{n.value=i}),(i,l)=>(h(),W(Cf,{class:"VPSwitchAppearance","aria-label":"toggle dark mode","aria-checked":s.value,onClick:p(o)},{default:M(()=>[E(Af,{class:"sun"}),E(Bf,{class:"moon"})]),_:1},8,["aria-checked","onClick"]))}});const po=F(Ff,[["__scopeId","data-v-e9403e01"]]),Rf={key:0,class:"VPNavBarAppearance"},Df=R({__name:"VPNavBarAppearance",setup(e){const{site:t}=ue();return(n,s)=>p(t).appearance?(h(),g("div",Rf,[E(po)])):U("",!0)}});const Uf=F(Df,[["__scopeId","data-v-b8c1dd96"]]),zf={discord:'Discord',facebook:'Facebook',github:'GitHub',instagram:'Instagram',linkedin:'LinkedIn',mastodon:'Mastodon',slack:'Slack',twitter:'Twitter',youtube:'YouTube'},jf=["href","innerHTML"],Kf=R({__name:"VPSocialLink",props:{icon:null,link:null},setup(e){const t=e,n=K(()=>typeof t.icon=="object"?t.icon.svg:zf[t.icon]);return(s,o)=>(h(),g("a",{class:"VPSocialLink",href:e.link,target:"_blank",rel:"noopener",innerHTML:p(n)},null,8,jf))}});const Gf=F(Kf,[["__scopeId","data-v-179ad0ea"]]),Wf={class:"VPSocialLinks"},qf=R({__name:"VPSocialLinks",props:{links:null},setup(e){return(t,n)=>(h(),g("div",Wf,[(h(!0),g(Z,null,Ve(e.links,({link:s,icon:o})=>(h(),W(Gf,{key:s,icon:o,link:s},null,8,["icon","link"]))),128))]))}});const _o=F(qf,[["__scopeId","data-v-b8f6762d"]]),Yf=R({__name:"VPNavBarSocialLinks",setup(e){const{theme:t}=ue();return(n,s)=>p(t).socialLinks?(h(),W(_o,{key:0,class:"VPNavBarSocialLinks",links:p(t).socialLinks},null,8,["links"])):U("",!0)}});const Xf=F(Yf,[["__scopeId","data-v-c854324a"]]),Jf={key:0,class:"group"},Qf={class:"trans-title"},Zf={key:1,class:"group"},ed={class:"item appearance"},td={class:"label"},nd={class:"appearance-action"},sd={key:2,class:"group"},od={class:"item social-links"},rd=R({__name:"VPNavBarExtra",setup(e){const{site:t,theme:n}=ue(),{localeLinks:s,currentLang:o}=bn({correspondingLink:!0}),r=K(()=>s.value.length&&o.value.label||t.value.appearance||n.value.socialLinks);return(i,l)=>p(r)?(h(),W(ho,{key:0,class:"VPNavBarExtra",label:"extra navigation"},{default:M(()=>[p(s).length&&p(o).label?(h(),g("div",Jf,[y("p",Qf,ie(p(o).label),1),(h(!0),g(Z,null,Ve(p(s),a=>(h(),W(is,{key:a.link,item:a},null,8,["item"]))),128))])):U("",!0),p(t).appearance?(h(),g("div",Zf,[y("div",ed,[y("p",td,ie(p(n).darkModeSwitchLabel||"Appearance"),1),y("div",nd,[E(po)])])])):U("",!0),p(n).socialLinks?(h(),g("div",sd,[y("div",od,[E(_o,{class:"social-links-list",links:p(n).socialLinks},null,8,["links"])])])):U("",!0)]),_:1})):U("",!0)}});const id=F(rd,[["__scopeId","data-v-0d671bd4"]]),ld=e=>(Ze("data-v-6bee1efd"),e=e(),et(),e),ad=["aria-expanded"],cd=ld(()=>y("span",{class:"container"},[y("span",{class:"top"}),y("span",{class:"middle"}),y("span",{class:"bottom"})],-1)),ud=[cd],fd=R({__name:"VPNavBarHamburger",props:{active:{type:Boolean}},emits:["click"],setup(e){return(t,n)=>(h(),g("button",{type:"button",class:me(["VPNavBarHamburger",{active:e.active}]),"aria-label":"mobile navigation","aria-expanded":e.active,"aria-controls":"VPNavScreen",onClick:n[0]||(n[0]=s=>t.$emit("click"))},ud,10,ad))}});const dd=F(fd,[["__scopeId","data-v-6bee1efd"]]),hd=e=>(Ze("data-v-77090745"),e=e(),et(),e),pd={class:"container"},_d={class:"title"},md={class:"content"},vd=hd(()=>y("div",{class:"curtain"},null,-1)),gd={class:"content-body"},xd=R({__name:"VPNavBar",props:{isScreenOpen:{type:Boolean}},emits:["toggle-screen"],setup(e){const{y:t}=Gc(),{hasSidebar:n}=rt(),s=K(()=>({"has-sidebar":n.value,fill:t.value>0}));return(o,r)=>(h(),g("div",{class:me(["VPNavBar",p(s)])},[y("div",pd,[y("div",_d,[E(uu,null,{"nav-bar-title-before":M(()=>[T(o.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":M(()=>[T(o.$slots,"nav-bar-title-after",{},void 0,!0)]),_:3})]),y("div",md,[vd,y("div",gd,[T(o.$slots,"nav-bar-content-before",{},void 0,!0),E(vu,{class:"search"}),E(uf,{class:"menu"}),E(yf,{class:"translations"}),E(Uf,{class:"appearance"}),E(Xf,{class:"social-links"}),E(id,{class:"extra"}),T(o.$slots,"nav-bar-content-after",{},void 0,!0),E(dd,{class:"hamburger",active:e.isScreenOpen,onClick:r[0]||(r[0]=i=>o.$emit("toggle-screen"))},null,8,["active"])])])])],2))}});const yd=F(xd,[["__scopeId","data-v-77090745"]]);function bd(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t1),jt=[],jn=!1,vo=-1,ln=void 0,Tt=void 0,an=void 0,Ti=function(t){return jt.some(function(n){return!!(n.options.allowTouchMove&&n.options.allowTouchMove(t))})},Kn=function(t){var n=t||window.event;return Ti(n.target)||n.touches.length>1?!0:(n.preventDefault&&n.preventDefault(),!1)},kd=function(t){if(an===void 0){var n=!!t&&t.reserveScrollBarGap===!0,s=window.innerWidth-document.documentElement.clientWidth;if(n&&s>0){var o=parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right"),10);an=document.body.style.paddingRight,document.body.style.paddingRight=o+s+"px"}}ln===void 0&&(ln=document.body.style.overflow,document.body.style.overflow="hidden")},wd=function(){an!==void 0&&(document.body.style.paddingRight=an,an=void 0),ln!==void 0&&(document.body.style.overflow=ln,ln=void 0)},$d=function(){return window.requestAnimationFrame(function(){if(Tt===void 0){Tt={position:document.body.style.position,top:document.body.style.top,left:document.body.style.left};var t=window,n=t.scrollY,s=t.scrollX,o=t.innerHeight;document.body.style.position="fixed",document.body.style.top=-n,document.body.style.left=-s,setTimeout(function(){return window.requestAnimationFrame(function(){var r=o-window.innerHeight;r&&n>=o&&(document.body.style.top=-(n+r))})},300)}})},Pd=function(){if(Tt!==void 0){var t=-parseInt(document.body.style.top,10),n=-parseInt(document.body.style.left,10);document.body.style.position=Tt.position,document.body.style.top=Tt.top,document.body.style.left=Tt.left,window.scrollTo(n,t),Tt=void 0}},Cd=function(t){return t?t.scrollHeight-t.scrollTop<=t.clientHeight:!1},Sd=function(t,n){var s=t.targetTouches[0].clientY-vo;return Ti(t.target)?!1:n&&n.scrollTop===0&&s>0||Cd(n)&&s<0?Kn(t):(t.stopPropagation(),!0)},Ei=function(t,n){if(!t){console.error("disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.");return}if(!jt.some(function(o){return o.targetElement===t})){var s={targetElement:t,options:n||{}};jt=[].concat(bd(jt),[s]),zn?$d():kd(n),zn&&(t.ontouchstart=function(o){o.targetTouches.length===1&&(vo=o.targetTouches[0].clientY)},t.ontouchmove=function(o){o.targetTouches.length===1&&Sd(o,t)},jn||(document.addEventListener("touchmove",Kn,mo?{passive:!1}:void 0),jn=!0))}},Vi=function(){zn&&(jt.forEach(function(t){t.targetElement.ontouchstart=null,t.targetElement.ontouchmove=null}),jn&&(document.removeEventListener("touchmove",Kn,mo?{passive:!1}:void 0),jn=!1),vo=-1),zn?Pd():wd(),jt=[]};const Td=R({__name:"VPNavScreenMenuLink",props:{text:null,link:null},setup(e){const t=Ge("close-screen");return(n,s)=>(h(),W(gt,{class:"VPNavScreenMenuLink",href:e.link,onClick:p(t)},{default:M(()=>[Te(ie(e.text),1)]),_:1},8,["href","onClick"]))}});const Ed=F(Td,[["__scopeId","data-v-a3572c96"]]),Vd={},Ld={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},Ad=y("path",{d:"M18.9,10.9h-6v-6c0-0.6-0.4-1-1-1s-1,0.4-1,1v6h-6c-0.6,0-1,0.4-1,1s0.4,1,1,1h6v6c0,0.6,0.4,1,1,1s1-0.4,1-1v-6h6c0.6,0,1-0.4,1-1S19.5,10.9,18.9,10.9z"},null,-1),Id=[Ad];function Md(e,t){return h(),g("svg",Ld,Id)}const Hd=F(Vd,[["render",Md]]),Nd=R({__name:"VPNavScreenMenuGroupLink",props:{text:null,link:null},setup(e){const t=Ge("close-screen");return(n,s)=>(h(),W(gt,{class:"VPNavScreenMenuGroupLink",href:e.link,onClick:p(t)},{default:M(()=>[Te(ie(e.text),1)]),_:1},8,["href","onClick"]))}});const Li=F(Nd,[["__scopeId","data-v-d67c9e09"]]),Od={class:"VPNavScreenMenuGroupSection"},Bd={key:0,class:"title"},Fd=R({__name:"VPNavScreenMenuGroupSection",props:{text:null,items:null},setup(e){return(t,n)=>(h(),g("div",Od,[e.text?(h(),g("p",Bd,ie(e.text),1)):U("",!0),(h(!0),g(Z,null,Ve(e.items,s=>(h(),W(Li,{key:s.text,text:s.text,link:s.link},null,8,["text","link"]))),128))]))}});const Rd=F(Fd,[["__scopeId","data-v-1f191989"]]),Dd=["aria-controls","aria-expanded"],Ud={class:"button-text"},zd=["id"],jd={key:1,class:"group"},Kd=R({__name:"VPNavScreenMenuGroup",props:{text:null,items:null},setup(e){const t=e,n=le(!1),s=K(()=>`NavScreenGroup-${t.text.replace(" ","-").toLowerCase()}`);function o(){n.value=!n.value}return(r,i)=>(h(),g("div",{class:me(["VPNavScreenMenuGroup",{open:n.value}])},[y("button",{class:"button","aria-controls":p(s),"aria-expanded":n.value,onClick:o},[y("span",Ud,ie(e.text),1),E(Hd,{class:"button-icon"})],8,Dd),y("div",{id:p(s),class:"items"},[(h(!0),g(Z,null,Ve(e.items,l=>(h(),g(Z,{key:l.text},["link"in l?(h(),g("div",{key:l.text,class:"item"},[E(Li,{text:l.text,link:l.link},null,8,["text","link"])])):(h(),g("div",jd,[E(Rd,{text:l.text,items:l.items},null,8,["text","items"])]))],64))),128))],8,zd)],2))}});const Gd=F(Kd,[["__scopeId","data-v-76b97020"]]),Wd={key:0,class:"VPNavScreenMenu"},qd=R({__name:"VPNavScreenMenu",setup(e){const{theme:t}=ue();return(n,s)=>p(t).nav?(h(),g("nav",Wd,[(h(!0),g(Z,null,Ve(p(t).nav,o=>(h(),g(Z,{key:o.text},["link"in o?(h(),W(Ed,{key:0,text:o.text,link:o.link},null,8,["text","link"])):(h(),W(Gd,{key:1,text:o.text||"",items:o.items},null,8,["text","items"]))],64))),128))])):U("",!0)}}),Yd={key:0,class:"VPNavScreenAppearance"},Xd={class:"text"},Jd=R({__name:"VPNavScreenAppearance",setup(e){const{site:t,theme:n}=ue();return(s,o)=>p(t).appearance?(h(),g("div",Yd,[y("p",Xd,ie(p(n).darkModeSwitchLabel||"Appearance"),1),E(po)])):U("",!0)}});const Qd=F(Jd,[["__scopeId","data-v-e29b7438"]]),Zd={class:"list"},eh=R({__name:"VPNavScreenTranslations",setup(e){const{localeLinks:t,currentLang:n}=bn({correspondingLink:!0}),s=le(!1);function o(){s.value=!s.value}return(r,i)=>p(t).length&&p(n).label?(h(),g("div",{key:0,class:me(["VPNavScreenTranslations",{open:s.value}])},[y("button",{class:"title",onClick:o},[E(Si,{class:"icon lang"}),Te(" "+ie(p(n).label)+" ",1),E(Ci,{class:"icon chevron"})]),y("ul",Zd,[(h(!0),g(Z,null,Ve(p(t),l=>(h(),g("li",{key:l.link,class:"item"},[E(gt,{class:"link",href:l.link},{default:M(()=>[Te(ie(l.text),1)]),_:2},1032,["href"])]))),128))])],2)):U("",!0)}});const th=F(eh,[["__scopeId","data-v-6aaaae90"]]),nh=R({__name:"VPNavScreenSocialLinks",setup(e){const{theme:t}=ue();return(n,s)=>p(t).socialLinks?(h(),W(_o,{key:0,class:"VPNavScreenSocialLinks",links:p(t).socialLinks},null,8,["links"])):U("",!0)}}),sh={class:"container"},oh=R({__name:"VPNavScreen",props:{open:{type:Boolean}},setup(e){const t=le(null);function n(){Ei(t.value,{reserveScrollBarGap:!0})}function s(){Vi()}return(o,r)=>(h(),W(os,{name:"fade",onEnter:n,onAfterLeave:s},{default:M(()=>[e.open?(h(),g("div",{key:0,class:"VPNavScreen",ref_key:"screen",ref:t},[y("div",sh,[T(o.$slots,"nav-screen-content-before",{},void 0,!0),E(qd,{class:"menu"}),E(th,{class:"translations"}),E(Qd,{class:"appearance"}),E(nh,{class:"social-links"}),T(o.$slots,"nav-screen-content-after",{},void 0,!0)])],512)):U("",!0)]),_:3}))}});const rh=F(oh,[["__scopeId","data-v-183ec3ec"]]),ih={class:"VPNav"},lh=R({__name:"VPNav",setup(e){const{isScreenOpen:t,closeScreen:n,toggleScreen:s}=su();return Dt("close-screen",n),(o,r)=>(h(),g("header",ih,[E(yd,{"is-screen-open":p(t),onToggleScreen:p(s)},{"nav-bar-title-before":M(()=>[T(o.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":M(()=>[T(o.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":M(()=>[T(o.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":M(()=>[T(o.$slots,"nav-bar-content-after",{},void 0,!0)]),_:3},8,["is-screen-open","onToggleScreen"]),E(rh,{open:p(t)},{"nav-screen-content-before":M(()=>[T(o.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":M(()=>[T(o.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3},8,["open"])]))}});const ah=F(lh,[["__scopeId","data-v-97571dac"]]),ch={},uh={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},fh=y("path",{d:"M17,11H3c-0.6,0-1-0.4-1-1s0.4-1,1-1h14c0.6,0,1,0.4,1,1S17.6,11,17,11z"},null,-1),dh=y("path",{d:"M21,7H3C2.4,7,2,6.6,2,6s0.4-1,1-1h18c0.6,0,1,0.4,1,1S21.6,7,21,7z"},null,-1),hh=y("path",{d:"M21,15H3c-0.6,0-1-0.4-1-1s0.4-1,1-1h18c0.6,0,1,0.4,1,1S21.6,15,21,15z"},null,-1),ph=y("path",{d:"M17,19H3c-0.6,0-1-0.4-1-1s0.4-1,1-1h14c0.6,0,1,0.4,1,1S17.6,19,17,19z"},null,-1),_h=[fh,dh,hh,ph];function mh(e,t){return h(),g("svg",uh,_h)}const vh=F(ch,[["render",mh]]),gh={key:0,class:"VPLocalNav"},xh=["aria-expanded"],yh={class:"menu-text"},bh=R({__name:"VPLocalNav",props:{open:{type:Boolean}},emits:["open-menu"],setup(e){const{theme:t}=ue(),{hasSidebar:n}=rt();function s(){window.scrollTo({top:0,left:0,behavior:"smooth"})}return(o,r)=>p(n)?(h(),g("div",gh,[y("button",{class:"menu","aria-expanded":e.open,"aria-controls":"VPSidebarNav",onClick:r[0]||(r[0]=i=>o.$emit("open-menu"))},[E(vh,{class:"menu-icon"}),y("span",yh,ie(p(t).sidebarMenuLabel||"Menu"),1)],8,xh),y("a",{class:"top-link",href:"#",onClick:s},ie(p(t).returnToTopLabel||"Return to top"),1)])):U("",!0)}});const kh=F(bh,[["__scopeId","data-v-8569b9cc"]]),wh={},$h={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},Ph=y("path",{d:"M9,19c-0.3,0-0.5-0.1-0.7-0.3c-0.4-0.4-0.4-1,0-1.4l5.3-5.3L8.3,6.7c-0.4-0.4-0.4-1,0-1.4s1-0.4,1.4,0l6,6c0.4,0.4,0.4,1,0,1.4l-6,6C9.5,18.9,9.3,19,9,19z"},null,-1),Ch=[Ph];function Sh(e,t){return h(),g("svg",$h,Ch)}const Th=F(wh,[["render",Sh]]),Eh=e=>(Ze("data-v-970d372b"),e=e(),et(),e),Vh=["role"],Lh=Eh(()=>y("div",{class:"indicator"},null,-1)),Ah={key:1,class:"items"},Ih=R({__name:"VPSidebarItem",props:{item:null,depth:null},setup(e){const t=e,{collapsed:n,collapsible:s,isLink:o,isActiveLink:r,hasActiveLink:i,hasChildren:l,toggle:a}=Jc(K(()=>t.item)),u=K(()=>l.value?"section":"div"),d=K(()=>o.value?"a":"div"),_=K(()=>l.value?t.depth+2===7?"p":`h${t.depth+2}`:"p"),v=K(()=>o.value?void 0:"button"),w=K(()=>[[`level-${t.depth}`],{collapsible:s.value},{collapsed:n.value},{"is-link":o.value},{"is-active":r.value},{"has-active":i.value}]);function V(){!t.item.link&&a()}function A(){t.item.link&&a()}return(G,x)=>{const P=At("VPSidebarItem",!0);return h(),W(hn(p(u)),{class:me(["VPSidebarItem",p(w)])},{default:M(()=>[e.item.text?(h(),g("div",{key:0,class:"item",role:p(v),onClick:V},[Lh,E(gt,{tag:p(d),class:"link",href:e.item.link},{default:M(()=>[(h(),W(hn(p(_)),{class:"text",innerHTML:e.item.text},null,8,["innerHTML"]))]),_:1},8,["tag","href"]),e.item.collapsed!=null?(h(),g("div",{key:0,class:"caret",role:"button",onClick:A},[E(Th,{class:"caret-icon"})])):U("",!0)],8,Vh)):U("",!0),e.item.items&&e.item.items.length?(h(),g("div",Ah,[e.depth<5?(h(!0),g(Z,{key:0},Ve(e.item.items,N=>(h(),W(P,{key:N.text,item:N,depth:e.depth+1},null,8,["item","depth"]))),128)):U("",!0)])):U("",!0)]),_:1},8,["class"])}}});const Mh=F(Ih,[["__scopeId","data-v-970d372b"]]),Ai=e=>(Ze("data-v-7277aec8"),e=e(),et(),e),Hh=Ai(()=>y("div",{class:"curtain"},null,-1)),Nh={class:"nav",id:"VPSidebarNav","aria-labelledby":"sidebar-aria-label",tabindex:"-1"},Oh=Ai(()=>y("span",{class:"visually-hidden",id:"sidebar-aria-label"}," Sidebar Navigation ",-1)),Bh=R({__name:"VPSidebar",props:{open:{type:Boolean}},setup(e){const t=e,{sidebarGroups:n,hasSidebar:s}=rt();let o=le(null);function r(){Ei(o.value,{reserveScrollBarGap:!0})}function i(){Vi()}return Ur(async()=>{var l;t.open?(r(),(l=o.value)==null||l.focus()):i()}),(l,a)=>p(s)?(h(),g("aside",{key:0,class:me(["VPSidebar",{open:e.open}]),ref_key:"navEl",ref:o,onClick:a[0]||(a[0]=cc(()=>{},["stop"]))},[Hh,y("nav",Nh,[Oh,T(l.$slots,"sidebar-nav-before",{},void 0,!0),(h(!0),g(Z,null,Ve(p(n),u=>(h(),g("div",{key:u.text,class:"group"},[E(Mh,{item:u,depth:0},null,8,["item"])]))),128)),T(l.$slots,"sidebar-nav-after",{},void 0,!0)])],2)):U("",!0)}});const Fh=F(Bh,[["__scopeId","data-v-7277aec8"]]),Rh={},Dh={class:"VPPage"};function Uh(e,t){const n=At("Content");return h(),g("div",Dh,[E(n)])}const zh=F(Rh,[["render",Uh]]),jh=R({__name:"VPButton",props:{tag:null,size:null,theme:null,text:null,href:null},setup(e){const t=e,n=K(()=>[t.size??"medium",t.theme??"brand"]),s=K(()=>t.href&&rs.test(t.href)),o=K(()=>t.tag?t.tag:t.href?"a":"button");return(r,i)=>(h(),W(hn(p(o)),{class:me(["VPButton",p(n)]),href:e.href?p(mn)(e.href):void 0,target:p(s)?"_blank":void 0,rel:p(s)?"noreferrer":void 0},{default:M(()=>[Te(ie(e.text),1)]),_:1},8,["class","href","target","rel"]))}});const Kh=F(jh,[["__scopeId","data-v-86af4dce"]]),Gh=e=>(Ze("data-v-f527dad4"),e=e(),et(),e),Wh={class:"container"},qh={class:"main"},Yh={key:0,class:"name"},Xh={class:"clip"},Jh={key:1,class:"text"},Qh={key:2,class:"tagline"},Zh={key:3,class:"actions"},ep={key:0,class:"image"},tp={class:"image-container"},np=Gh(()=>y("div",{class:"image-bg"},null,-1)),sp=R({__name:"VPHero",props:{name:null,text:null,tagline:null,image:null,actions:null},setup(e){const t=Ge("hero-image-slot-exists");return(n,s)=>(h(),g("div",{class:me(["VPHero",{"has-image":e.image||p(t)}])},[y("div",Wh,[y("div",qh,[e.name?(h(),g("h1",Yh,[y("span",Xh,ie(e.name),1)])):U("",!0),e.text?(h(),g("p",Jh,ie(e.text),1)):U("",!0),e.tagline?(h(),g("p",Qh,ie(e.tagline),1)):U("",!0),e.actions?(h(),g("div",Zh,[(h(!0),g(Z,null,Ve(e.actions,o=>(h(),g("div",{key:o.link,class:"action"},[E(Kh,{tag:"a",size:"medium",theme:o.theme,text:o.text,href:o.link},null,8,["theme","text","href"])]))),128))])):U("",!0)]),e.image||p(t)?(h(),g("div",ep,[y("div",tp,[np,T(n.$slots,"home-hero-image",{},()=>[e.image?(h(),W(uo,{key:0,class:"image-src",image:e.image},null,8,["image"])):U("",!0)],!0)])])):U("",!0)])],2))}});const op=F(sp,[["__scopeId","data-v-f527dad4"]]),rp=R({__name:"VPHomeHero",setup(e){const{frontmatter:t}=ue();return(n,s)=>p(t).hero?(h(),W(op,{key:0,class:"VPHomeHero",name:p(t).hero.name,text:p(t).hero.text,tagline:p(t).hero.tagline,image:p(t).hero.image,actions:p(t).hero.actions},{"home-hero-image":M(()=>[T(n.$slots,"home-hero-image")]),_:3},8,["name","text","tagline","image","actions"])):U("",!0)}}),ip={},lp={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},ap=y("path",{d:"M19.9,12.4c0.1-0.2,0.1-0.5,0-0.8c-0.1-0.1-0.1-0.2-0.2-0.3l-7-7c-0.4-0.4-1-0.4-1.4,0s-0.4,1,0,1.4l5.3,5.3H5c-0.6,0-1,0.4-1,1s0.4,1,1,1h11.6l-5.3,5.3c-0.4,0.4-0.4,1,0,1.4c0.2,0.2,0.5,0.3,0.7,0.3s0.5-0.1,0.7-0.3l7-7C19.8,12.6,19.9,12.5,19.9,12.4z"},null,-1),cp=[ap];function up(e,t){return h(),g("svg",lp,cp)}const fp=F(ip,[["render",up]]),dp={class:"box"},hp={key:1,class:"icon"},pp={class:"title"},_p={class:"details"},mp={key:2,class:"link-text"},vp={class:"link-text-value"},gp=R({__name:"VPFeature",props:{icon:null,title:null,details:null,link:null,linkText:null},setup(e){return(t,n)=>(h(),W(gt,{class:"VPFeature",href:e.link,"no-icon":!0},{default:M(()=>[y("article",dp,[typeof e.icon=="object"?(h(),W(uo,{key:0,image:e.icon,alt:e.icon.alt,height:e.icon.height,width:e.icon.width},null,8,["image","alt","height","width"])):e.icon?(h(),g("div",hp,ie(e.icon),1)):U("",!0),y("h2",pp,ie(e.title),1),y("p",_p,ie(e.details),1),e.linkText?(h(),g("div",mp,[y("p",vp,[Te(ie(e.linkText)+" ",1),E(fp,{class:"link-text-icon"})])])):U("",!0)])]),_:1},8,["href"]))}});const xp=F(gp,[["__scopeId","data-v-aa9e8143"]]),yp={key:0,class:"VPFeatures"},bp={class:"container"},kp={class:"items"},wp=R({__name:"VPFeatures",props:{features:null},setup(e){const t=e,n=K(()=>{const s=t.features.length;if(s){if(s===2)return"grid-2";if(s===3)return"grid-3";if(s%3===0)return"grid-6";if(s%2===0)return"grid-4"}else return});return(s,o)=>e.features?(h(),g("div",yp,[y("div",bp,[y("div",kp,[(h(!0),g(Z,null,Ve(e.features,r=>(h(),g("div",{key:r.title,class:me(["item",[p(n)]])},[E(xp,{icon:r.icon,title:r.title,details:r.details,link:r.link,"link-text":r.linkText},null,8,["icon","title","details","link","link-text"])],2))),128))])])])):U("",!0)}});const $p=F(wp,[["__scopeId","data-v-5df66ecb"]]),Pp=R({__name:"VPHomeFeatures",setup(e){const{frontmatter:t}=ue();return(n,s)=>p(t).features?(h(),W($p,{key:0,class:"VPHomeFeatures",features:p(t).features},null,8,["features"])):U("",!0)}}),Cp={class:"VPHome"},Sp=R({__name:"VPHome",setup(e){return(t,n)=>{const s=At("Content");return h(),g("div",Cp,[T(t.$slots,"home-hero-before",{},void 0,!0),E(rp,null,{"home-hero-image":M(()=>[T(t.$slots,"home-hero-image",{},void 0,!0)]),_:3}),T(t.$slots,"home-hero-after",{},void 0,!0),T(t.$slots,"home-features-before",{},void 0,!0),E(Pp),T(t.$slots,"home-features-after",{},void 0,!0),E(s)])}}});const Tp=F(Sp,[["__scopeId","data-v-f954a7f0"]]);function Ep(){const{hasSidebar:e}=rt(),t=Ns("(min-width: 960px)"),n=Ns("(min-width: 1280px)");return{isAsideEnabled:K(()=>!n.value&&!t.value?!1:e.value?n.value:t.value)}}const Vp=71;function Lp(e,t){if(e===!1)return[];let n=[];return document.querySelectorAll("h2, h3, h4, h5, h6").forEach(s=>{if(s.textContent&&s.id){let o=s.textContent;if(t===!1){const r=s.cloneNode(!0);for(const i of r.querySelectorAll(".VPBadge"))i.remove();o=r.textContent||""}n.push({level:Number(s.tagName[1]),title:o.replace(/\s+#\s*$/,""),link:`#${s.id}`})}}),Ap(n,e)}function Ap(e,t){const n=(typeof t=="object"&&!Array.isArray(t)?t.level:t)||2;return Ip(e,typeof n=="number"?[n,n]:n==="deep"?[2,6]:n)}function Ip(e,t){const n=[];return e=e.map(s=>({...s})),e.forEach((s,o)=>{s.level>=t[0]&&s.level<=t[1]&&Mp(o,e,t)&&n.push(s)}),n}function Mp(e,t,n){if(e===0)return!0;const s=t[e];for(let o=e-1;o>=0;o--){const r=t[o];if(r.level=n[0]&&r.level<=n[1])return r.children==null&&(r.children=[]),r.children.push(s),!1}return!0}function Hp(e,t){const{isAsideEnabled:n}=Ep(),s=Wc(r,100);let o=null;Ie(()=>{requestAnimationFrame(r),window.addEventListener("scroll",s)}),so(()=>{i(location.hash)}),mt(()=>{window.removeEventListener("scroll",s)});function r(){if(!n.value)return;const l=[].slice.call(e.value.querySelectorAll(".outline-link")),a=[].slice.call(document.querySelectorAll(".content .header-anchor")).filter(w=>l.some(V=>V.hash===w.hash&&w.offsetParent!==null)),u=window.scrollY,d=window.innerHeight,_=document.body.offsetHeight,v=Math.abs(u+d-_)<1;if(a.length&&v){i(a[a.length-1].hash);return}for(let w=0;w{const s=At("VPDocAsideOutlineItem",!0);return h(),g("ul",{class:me(e.root?"root":"nested")},[(h(!0),g(Z,null,Ve(e.headers,({children:o,link:r,title:i})=>(h(),g("li",null,[y("a",{class:"outline-link",href:r,onClick:n[0]||(n[0]=(...l)=>e.onClick&&e.onClick(...l))},ie(i),9,Op),o!=null&&o.length?(h(),W(s,{key:0,headers:o,onClick:e.onClick},null,8,["headers","onClick"])):U("",!0)]))),256))],2)}}});const Fp=F(Bp,[["__scopeId","data-v-f1f7b818"]]),Rp=e=>(Ze("data-v-3eaaa935"),e=e(),et(),e),Dp={class:"content"},Up={class:"outline-title"},zp={"aria-labelledby":"doc-outline-aria-label"},jp=Rp(()=>y("span",{class:"visually-hidden",id:"doc-outline-aria-label"}," Table of Contents for current page ",-1)),Kp=R({__name:"VPDocAsideOutline",setup(e){const{frontmatter:t,theme:n}=ue(),s=K(()=>t.value.outline??n.value.outline),o=Ge("onContentUpdated");o.value=()=>{r.value=Lp(s.value,n.value.outlineBadges)};const r=le([]),i=K(()=>r.value.length>0),l=le(),a=le();Hp(l,a);function u({target:d}){const _="#"+d.href.split("#")[1],v=document.querySelector(decodeURIComponent(_));v==null||v.focus()}return(d,_)=>(h(),g("div",{class:me(["VPDocAsideOutline",{"has-outline":p(i)}]),ref_key:"container",ref:l},[y("div",Dp,[y("div",{class:"outline-marker",ref_key:"marker",ref:a},null,512),y("div",Up,ie(typeof p(n).outline=="object"&&!Array.isArray(p(n).outline)&&p(n).outline.label||p(n).outlineTitle||"On this page"),1),y("nav",zp,[jp,E(Fp,{headers:r.value,root:!0,onClick:u},null,8,["headers"])])])],2))}});const Gp=F(Kp,[["__scopeId","data-v-3eaaa935"]]),Wp={class:"VPDocAsideCarbonAds"},qp=R({__name:"VPDocAsideCarbonAds",props:{carbonAds:null},setup(e){const t=()=>null;return(n,s)=>(h(),g("div",Wp,[E(p(t),{"carbon-ads":e.carbonAds},null,8,["carbon-ads"])]))}}),Yp=e=>(Ze("data-v-4bd7d5c6"),e=e(),et(),e),Xp={class:"VPDocAside"},Jp=Yp(()=>y("div",{class:"spacer"},null,-1)),Qp=R({__name:"VPDocAside",setup(e){const{theme:t}=ue();return(n,s)=>(h(),g("div",Xp,[T(n.$slots,"aside-top",{},void 0,!0),T(n.$slots,"aside-outline-before",{},void 0,!0),E(Gp),T(n.$slots,"aside-outline-after",{},void 0,!0),Jp,T(n.$slots,"aside-ads-before",{},void 0,!0),p(t).carbonAds?(h(),W(qp,{key:0,"carbon-ads":p(t).carbonAds},null,8,["carbon-ads"])):U("",!0),T(n.$slots,"aside-ads-after",{},void 0,!0),T(n.$slots,"aside-bottom",{},void 0,!0)]))}});const Zp=F(Qp,[["__scopeId","data-v-4bd7d5c6"]]);function e0(){const{theme:e,page:t}=ue();return K(()=>{const{text:n="Edit this page",pattern:s=""}=e.value.editLink||{},{relativePath:o}=t.value;return{url:s.replace(/:path/g,o),text:n}})}function t0(){const{page:e,theme:t,frontmatter:n}=ue();return K(()=>{const s=wi(t.value.sidebar,e.value.relativePath),o=Yc(s),r=o.findIndex(i=>It(e.value.relativePath,i.link));return{prev:n.value.prev?{...o[r-1],text:n.value.prev}:o[r-1],next:n.value.next?{...o[r+1],text:n.value.next}:o[r+1]}})}const n0={},s0={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o0=y("path",{d:"M18,23H4c-1.7,0-3-1.3-3-3V6c0-1.7,1.3-3,3-3h7c0.6,0,1,0.4,1,1s-0.4,1-1,1H4C3.4,5,3,5.4,3,6v14c0,0.6,0.4,1,1,1h14c0.6,0,1-0.4,1-1v-7c0-0.6,0.4-1,1-1s1,0.4,1,1v7C21,21.7,19.7,23,18,23z"},null,-1),r0=y("path",{d:"M8,17c-0.3,0-0.5-0.1-0.7-0.3C7,16.5,6.9,16.1,7,15.8l1-4c0-0.2,0.1-0.3,0.3-0.5l9.5-9.5c1.2-1.2,3.2-1.2,4.4,0c1.2,1.2,1.2,3.2,0,4.4l-9.5,9.5c-0.1,0.1-0.3,0.2-0.5,0.3l-4,1C8.2,17,8.1,17,8,17zM9.9,12.5l-0.5,2.1l2.1-0.5l9.3-9.3c0.4-0.4,0.4-1.1,0-1.6c-0.4-0.4-1.2-0.4-1.6,0l0,0L9.9,12.5z M18.5,2.5L18.5,2.5L18.5,2.5z"},null,-1),i0=[o0,r0];function l0(e,t){return h(),g("svg",s0,i0)}const a0=F(n0,[["render",l0]]),c0={class:"VPLastUpdated"},u0=["datetime"],f0=R({__name:"VPDocFooterLastUpdated",setup(e){const{theme:t,page:n}=ue(),s=K(()=>new Date(n.value.lastUpdated)),o=K(()=>s.value.toISOString()),r=le("");return Ie(()=>{Lt(()=>{r.value=s.value.toLocaleString(window.navigator.language)})}),(i,l)=>(h(),g("p",c0,[Te(ie(p(t).lastUpdatedText||"Last updated")+": ",1),y("time",{datetime:p(o)},ie(r.value),9,u0)]))}});const d0=F(f0,[["__scopeId","data-v-4678a00d"]]),h0={key:0,class:"VPDocFooter"},p0={key:0,class:"edit-info"},_0={key:0,class:"edit-link"},m0={key:1,class:"last-updated"},v0={key:1,class:"prev-next"},g0={class:"pager"},x0=["href"],y0=["innerHTML"],b0=["innerHTML"],k0=["href"],w0=["innerHTML"],$0=["innerHTML"],P0=R({__name:"VPDocFooter",setup(e){const{theme:t,page:n,frontmatter:s}=ue(),o=e0(),r=t0(),i=K(()=>t.value.editLink&&s.value.editLink!==!1),l=K(()=>n.value.lastUpdated&&s.value.lastUpdated!==!1),a=K(()=>i.value||l.value||r.value.prev||r.value.next);return(u,d)=>{var _,v;return p(a)?(h(),g("footer",h0,[p(i)||p(l)?(h(),g("div",p0,[p(i)?(h(),g("div",_0,[E(gt,{class:"edit-link-button",href:p(o).url,"no-icon":!0},{default:M(()=>[E(a0,{class:"edit-link-icon"}),Te(" "+ie(p(o).text),1)]),_:1},8,["href"])])):U("",!0),p(l)?(h(),g("div",m0,[E(d0)])):U("",!0)])):U("",!0),p(r).prev||p(r).next?(h(),g("div",v0,[y("div",g0,[p(r).prev?(h(),g("a",{key:0,class:"pager-link prev",href:p(mn)(p(r).prev.link)},[y("span",{class:"desc",innerHTML:((_=p(t).docFooter)==null?void 0:_.prev)||"Previous page"},null,8,y0),y("span",{class:"title",innerHTML:p(r).prev.text},null,8,b0)],8,x0)):U("",!0)]),y("div",{class:me(["pager",{"has-prev":p(r).prev}])},[p(r).next?(h(),g("a",{key:0,class:"pager-link next",href:p(mn)(p(r).next.link)},[y("span",{class:"desc",innerHTML:((v=p(t).docFooter)==null?void 0:v.next)||"Next page"},null,8,w0),y("span",{class:"title",innerHTML:p(r).next.text},null,8,$0)],8,k0)):U("",!0)],2)])):U("",!0)])):U("",!0)}}});const C0=F(P0,[["__scopeId","data-v-ba0c6c51"]]),S0=e=>(Ze("data-v-8c2b58c8"),e=e(),et(),e),T0={class:"container"},E0={key:0,class:"aside"},V0=S0(()=>y("div",{class:"aside-curtain"},null,-1)),L0={class:"aside-container"},A0={class:"aside-content"},I0={class:"content"},M0={class:"content-container"},H0={class:"main"},N0=R({__name:"VPDoc",setup(e){const t=vt(),{hasSidebar:n,hasAside:s}=rt(),o=K(()=>t.path.replace(/[./]+/g,"_").replace(/_html$/,"")),r=le();return Dt("onContentUpdated",r),(i,l)=>{const a=At("Content");return h(),g("div",{class:me(["VPDoc",{"has-sidebar":p(n),"has-aside":p(s)}])},[y("div",T0,[p(s)?(h(),g("div",E0,[V0,y("div",L0,[y("div",A0,[E(Zp,null,{"aside-top":M(()=>[T(i.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":M(()=>[T(i.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":M(()=>[T(i.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":M(()=>[T(i.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":M(()=>[T(i.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":M(()=>[T(i.$slots,"aside-ads-after",{},void 0,!0)]),_:3})])])])):U("",!0),y("div",I0,[y("div",M0,[T(i.$slots,"doc-before",{},void 0,!0),y("main",H0,[E(a,{class:me(["vp-doc",p(o)]),onContentUpdated:r.value},null,8,["class","onContentUpdated"])]),T(i.$slots,"doc-footer-before",{},void 0,!0),E(C0),T(i.$slots,"doc-after",{},void 0,!0)])])])],2)}}});const O0=F(N0,[["__scopeId","data-v-8c2b58c8"]]),B0=R({__name:"VPContent",setup(e){const t=vt(),{frontmatter:n}=ue(),{hasSidebar:s}=rt(),o=Ge("NotFound");return(r,i)=>(h(),g("div",{class:me(["VPContent",{"has-sidebar":p(s),"is-home":p(n).layout==="home"}]),id:"VPContent"},[p(t).component===p(o)?(h(),W(p(o),{key:0})):p(n).layout==="page"?(h(),W(zh,{key:1})):p(n).layout==="home"?(h(),W(Tp,{key:2},{"home-hero-before":M(()=>[T(r.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-image":M(()=>[T(r.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":M(()=>[T(r.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":M(()=>[T(r.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":M(()=>[T(r.$slots,"home-features-after",{},void 0,!0)]),_:3})):(h(),W(O0,{key:3},{"doc-footer-before":M(()=>[T(r.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":M(()=>[T(r.$slots,"doc-before",{},void 0,!0)]),"doc-after":M(()=>[T(r.$slots,"doc-after",{},void 0,!0)]),"aside-top":M(()=>[T(r.$slots,"aside-top",{},void 0,!0)]),"aside-outline-before":M(()=>[T(r.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":M(()=>[T(r.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":M(()=>[T(r.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":M(()=>[T(r.$slots,"aside-ads-after",{},void 0,!0)]),"aside-bottom":M(()=>[T(r.$slots,"aside-bottom",{},void 0,!0)]),_:3}))],2))}});const F0=F(B0,[["__scopeId","data-v-5a40893c"]]),R0={class:"container"},D0=["innerHTML"],U0=["innerHTML"],z0=R({__name:"VPFooter",setup(e){const{theme:t}=ue(),{hasSidebar:n}=rt();return(s,o)=>p(t).footer?(h(),g("footer",{key:0,class:me(["VPFooter",{"has-sidebar":p(n)}])},[y("div",R0,[p(t).footer.message?(h(),g("p",{key:0,class:"message",innerHTML:p(t).footer.message},null,8,D0)):U("",!0),p(t).footer.copyright?(h(),g("p",{key:1,class:"copyright",innerHTML:p(t).footer.copyright},null,8,U0)):U("",!0)])],2)):U("",!0)}});const j0=F(z0,[["__scopeId","data-v-337c2740"]]),K0={key:0,class:"Layout"},G0=R({__name:"Layout",setup(e){const{isOpen:t,open:n,close:s}=rt(),o=vt();Je(()=>o.path,s),Xc(t,s),Dt("close-sidebar",s),Dt("is-sidebar-open",t);const{frontmatter:r}=ue(),i=Ia(),l=K(()=>!!i["home-hero-image"]);return Dt("hero-image-slot-exists",l),(a,u)=>{const d=At("Content");return p(r).layout!==!1?(h(),g("div",K0,[T(a.$slots,"layout-top",{},void 0,!0),E(Zc),E(nu,{class:"backdrop",show:p(t),onClick:p(s)},null,8,["show","onClick"]),E(ah,null,{"nav-bar-title-before":M(()=>[T(a.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":M(()=>[T(a.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":M(()=>[T(a.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":M(()=>[T(a.$slots,"nav-bar-content-after",{},void 0,!0)]),"nav-screen-content-before":M(()=>[T(a.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":M(()=>[T(a.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3}),E(kh,{open:p(t),onOpenMenu:p(n)},null,8,["open","onOpenMenu"]),E(Fh,{open:p(t)},{"sidebar-nav-before":M(()=>[T(a.$slots,"sidebar-nav-before",{},void 0,!0)]),"sidebar-nav-after":M(()=>[T(a.$slots,"sidebar-nav-after",{},void 0,!0)]),_:3},8,["open"]),E(F0,null,{"home-hero-before":M(()=>[T(a.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-image":M(()=>[T(a.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":M(()=>[T(a.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":M(()=>[T(a.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":M(()=>[T(a.$slots,"home-features-after",{},void 0,!0)]),"doc-footer-before":M(()=>[T(a.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":M(()=>[T(a.$slots,"doc-before",{},void 0,!0)]),"doc-after":M(()=>[T(a.$slots,"doc-after",{},void 0,!0)]),"aside-top":M(()=>[T(a.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":M(()=>[T(a.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":M(()=>[T(a.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":M(()=>[T(a.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":M(()=>[T(a.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":M(()=>[T(a.$slots,"aside-ads-after",{},void 0,!0)]),_:3}),E(j0),T(a.$slots,"layout-bottom",{},void 0,!0)])):(h(),W(d,{key:1}))}}});const W0=F(G0,[["__scopeId","data-v-94370507"]]),ls=e=>(Ze("data-v-b1fdfd4d"),e=e(),et(),e),q0={class:"NotFound"},Y0=ls(()=>y("p",{class:"code"},"404",-1)),X0=ls(()=>y("h1",{class:"title"},"PAGE NOT FOUND",-1)),J0=ls(()=>y("div",{class:"divider"},null,-1)),Q0=ls(()=>y("blockquote",{class:"quote"}," But if you don't change your direction, and if you keep looking, you may end up where you are heading. ",-1)),Z0={class:"action"},e1=["href"],t1=R({__name:"NotFound",setup(e){const{site:t}=ue(),{localeLinks:n}=bn({removeCurrent:!1}),s=le("/");return Ie(()=>{var r;const o=window.location.pathname.replace(t.value.base,"").replace(/(^.*?\/).*$/,"/$1");n.value.length&&(s.value=((r=n.value.find(({link:i})=>i.startsWith(o)))==null?void 0:r.link)||n.value[0].link)}),(o,r)=>(h(),g("div",q0,[Y0,X0,J0,Q0,y("div",Z0,[y("a",{class:"link",href:p(_n)(s.value),"aria-label":"go to home"}," Take me home ",8,e1)])]))}});const n1=F(t1,[["__scopeId","data-v-b1fdfd4d"]]);const Kt={Layout:W0,NotFound:n1,enhanceApp:({app:e})=>{e.component("Badge",vc)}};function s1(e,t){let n=[],s=!0;const o=r=>{if(s){s=!1;return}n.forEach(i=>document.head.removeChild(i)),n=[],r.forEach(i=>{const l=o1(i);document.head.appendChild(l),n.push(l)})};Lt(()=>{const r=e.data,i=t.value,l=r&&r.description,a=r&&r.frontmatter.head||[];document.title=mi(i,r),document.querySelector("meta[name=description]").setAttribute("content",l||i.description),o(vi(i.head,i1(a)))})}function o1([e,t,n]){const s=document.createElement(e);for(const o in t)s.setAttribute(o,t[o]);return n&&(s.innerHTML=n),s}function r1(e){return e[0]==="meta"&&e[1]&&e[1].name==="description"}function i1(e){return e.filter(t=>!r1(t))}const bs=new Set,Ii=()=>document.createElement("link"),l1=e=>{const t=Ii();t.rel="prefetch",t.href=e,document.head.appendChild(t)},a1=e=>{const t=new XMLHttpRequest;t.open("GET",e,t.withCredentials=!0),t.send()};let An;const c1=$e&&(An=Ii())&&An.relList&&An.relList.supports&&An.relList.supports("prefetch")?l1:a1;function u1(){if(!$e||!window.IntersectionObserver)return;let e;if((e=navigator.connection)&&(e.saveData||/2g/.test(e.effectiveType)))return;const t=window.requestIdleCallback||setTimeout;let n=null;const s=()=>{n&&n.disconnect(),n=new IntersectionObserver(r=>{r.forEach(i=>{if(i.isIntersecting){const l=i.target;n.unobserve(l);const{pathname:a}=l;if(!bs.has(a)){bs.add(a);const u=yi(a);c1(u)}}})}),t(()=>{document.querySelectorAll("#app a").forEach(r=>{const{target:i}=r,{hostname:l,pathname:a}=new URL(r.href instanceof SVGAnimatedString?r.href.animVal:r.href,r.baseURI),u=a.match(/\.\w+$/);u&&u[0]!==".html"||i!=="_blank"&&l===location.hostname&&(a!==location.pathname?n.observe(r):bs.add(a))})})};Ie(s);const o=vt();Je(()=>o.path,s),mt(()=>{n&&n.disconnect()})}const f1=R({setup(e,{slots:t}){const n=le(!1);return Ie(()=>{n.value=!0}),()=>n.value&&t.default?t.default():null}});function d1(){if($e){const e=new Map;window.addEventListener("click",t=>{var s;const n=t.target;if(n.matches('div[class*="language-"] > button.copy')){const o=n.parentElement,r=(s=n.nextElementSibling)==null?void 0:s.nextElementSibling;if(!o||!r)return;const i=/language-(shellscript|shell|bash|sh|zsh)/.test(o.className);let l="";r.querySelectorAll("span.line:not(.diff.remove)").forEach(a=>l+=(a.textContent||"")+` -`),l=l.slice(0,-1),i&&(l=l.replace(/^ *(\$|>) /gm,"").trim()),h1(l).then(()=>{n.classList.add("copied"),clearTimeout(e.get(n));const a=setTimeout(()=>{n.classList.remove("copied"),n.blur(),e.delete(n)},2e3);e.set(n,a)})}})}}async function h1(e){try{return navigator.clipboard.writeText(e)}catch{const t=document.createElement("textarea"),n=document.activeElement;t.value=e,t.setAttribute("readonly",""),t.style.contain="strict",t.style.position="absolute",t.style.left="-9999px",t.style.fontSize="12pt";const s=document.getSelection(),o=s?s.rangeCount>0&&s.getRangeAt(0):null;document.body.appendChild(t),t.select(),t.selectionStart=0,t.selectionEnd=e.length,document.execCommand("copy"),document.body.removeChild(t),o&&(s.removeAllRanges(),s.addRange(o)),n&&n.focus()}}function p1(){$e&&window.addEventListener("click",e=>{var n,s;const t=e.target;if(t.matches(".vp-code-group input")){const o=(n=t.parentElement)==null?void 0:n.parentElement,r=Array.from((o==null?void 0:o.querySelectorAll("input"))||[]).indexOf(t),i=o==null?void 0:o.querySelector('div[class*="language-"].active'),l=(s=o==null?void 0:o.querySelectorAll('div[class*="language-"]'))==null?void 0:s[r];i&&l&&i!==l&&(i.classList.remove("active"),l.classList.add("active"))}})}const Mi=Kt.NotFound||(()=>"404 Not Found"),_1=R({name:"VitePressApp",setup(){const{site:e}=xi();return Ie(()=>{Lt(()=>{document.documentElement.lang=e.value.lang,document.documentElement.dir=e.value.dir})}),u1(),d1(),p1(),Kt.setup&&Kt.setup(),()=>Un(Kt.Layout)}});async function m1(){const e=g1(),t=v1();t.provide(bi,e);const n=Cc(e.route);return t.provide(gi,n),t.provide("NotFound",Mi),t.component("Content",Lc),t.component("ClientOnly",f1),Object.defineProperty(t.config.globalProperties,"$frontmatter",{get(){return n.frontmatter.value}}),Kt.enhanceApp&&await Kt.enhanceApp({app:t,router:e,siteData:ft}),{app:t,router:e,data:n}}function v1(){return dc(_1)}function g1(){let e=$e,t;return Ec(n=>{let s=yi(n);return e&&(t=s),(e||t===s)&&(s=s.replace(/\.js$/,".lean.js")),$e&&(e=!1),di(()=>import(s),[])},Mi)}$e&&m1().then(({app:e,router:t,data:n})=>{t.go().then(()=>{s1(t.route,n.site),e.mount("#app")})});export{F as _,$a as a,vt as b,g as c,m1 as createApp,R as d,ue as e,Ie as f,h as o,Vc as u,Je as w}; +}`)),document.head.appendChild(w),s.value=v,l[v?"add":"remove"]("dark"),window.getComputedStyle(w).opacity,document.head.removeChild(w)}return d}return Je(s,i=>{n.value=i}),(i,l)=>(h(),W(Cf,{class:"VPSwitchAppearance","aria-label":"toggle dark mode","aria-checked":s.value,onClick:p(o)},{default:M(()=>[T(Af,{class:"sun"}),T(Bf,{class:"moon"})]),_:1},8,["aria-checked","onClick"]))}});const po=F(Ff,[["__scopeId","data-v-e9403e01"]]),Rf={key:0,class:"VPNavBarAppearance"},Df=R({__name:"VPNavBarAppearance",setup(e){const{site:t}=ue();return(n,s)=>p(t).appearance?(h(),g("div",Rf,[T(po)])):U("",!0)}});const Uf=F(Df,[["__scopeId","data-v-b8c1dd96"]]),zf={discord:'Discord',facebook:'Facebook',github:'GitHub',instagram:'Instagram',linkedin:'LinkedIn',mastodon:'Mastodon',slack:'Slack',twitter:'Twitter',youtube:'YouTube'},jf=["href","innerHTML"],Kf=R({__name:"VPSocialLink",props:{icon:null,link:null},setup(e){const t=e,n=K(()=>typeof t.icon=="object"?t.icon.svg:zf[t.icon]);return(s,o)=>(h(),g("a",{class:"VPSocialLink",href:e.link,target:"_blank",rel:"noopener",innerHTML:p(n)},null,8,jf))}});const Gf=F(Kf,[["__scopeId","data-v-179ad0ea"]]),Wf={class:"VPSocialLinks"},qf=R({__name:"VPSocialLinks",props:{links:null},setup(e){return(t,n)=>(h(),g("div",Wf,[(h(!0),g(Z,null,Ve(e.links,({link:s,icon:o})=>(h(),W(Gf,{key:s,icon:o,link:s},null,8,["icon","link"]))),128))]))}});const _o=F(qf,[["__scopeId","data-v-b8f6762d"]]),Yf=R({__name:"VPNavBarSocialLinks",setup(e){const{theme:t}=ue();return(n,s)=>p(t).socialLinks?(h(),W(_o,{key:0,class:"VPNavBarSocialLinks",links:p(t).socialLinks},null,8,["links"])):U("",!0)}});const Xf=F(Yf,[["__scopeId","data-v-c854324a"]]),Jf={key:0,class:"group"},Qf={class:"trans-title"},Zf={key:1,class:"group"},ed={class:"item appearance"},td={class:"label"},nd={class:"appearance-action"},sd={key:2,class:"group"},od={class:"item social-links"},rd=R({__name:"VPNavBarExtra",setup(e){const{site:t,theme:n}=ue(),{localeLinks:s,currentLang:o}=bn({correspondingLink:!0}),r=K(()=>s.value.length&&o.value.label||t.value.appearance||n.value.socialLinks);return(i,l)=>p(r)?(h(),W(ho,{key:0,class:"VPNavBarExtra",label:"extra navigation"},{default:M(()=>[p(s).length&&p(o).label?(h(),g("div",Jf,[y("p",Qf,ie(p(o).label),1),(h(!0),g(Z,null,Ve(p(s),a=>(h(),W(is,{key:a.link,item:a},null,8,["item"]))),128))])):U("",!0),p(t).appearance?(h(),g("div",Zf,[y("div",ed,[y("p",td,ie(p(n).darkModeSwitchLabel||"Appearance"),1),y("div",nd,[T(po)])])])):U("",!0),p(n).socialLinks?(h(),g("div",sd,[y("div",od,[T(_o,{class:"social-links-list",links:p(n).socialLinks},null,8,["links"])])])):U("",!0)]),_:1})):U("",!0)}});const id=F(rd,[["__scopeId","data-v-0d671bd4"]]),ld=e=>(Ze("data-v-6bee1efd"),e=e(),et(),e),ad=["aria-expanded"],cd=ld(()=>y("span",{class:"container"},[y("span",{class:"top"}),y("span",{class:"middle"}),y("span",{class:"bottom"})],-1)),ud=[cd],fd=R({__name:"VPNavBarHamburger",props:{active:{type:Boolean}},emits:["click"],setup(e){return(t,n)=>(h(),g("button",{type:"button",class:me(["VPNavBarHamburger",{active:e.active}]),"aria-label":"mobile navigation","aria-expanded":e.active,"aria-controls":"VPNavScreen",onClick:n[0]||(n[0]=s=>t.$emit("click"))},ud,10,ad))}});const dd=F(fd,[["__scopeId","data-v-6bee1efd"]]),hd=e=>(Ze("data-v-77090745"),e=e(),et(),e),pd={class:"container"},_d={class:"title"},md={class:"content"},vd=hd(()=>y("div",{class:"curtain"},null,-1)),gd={class:"content-body"},xd=R({__name:"VPNavBar",props:{isScreenOpen:{type:Boolean}},emits:["toggle-screen"],setup(e){const{y:t}=Gc(),{hasSidebar:n}=rt(),s=K(()=>({"has-sidebar":n.value,fill:t.value>0}));return(o,r)=>(h(),g("div",{class:me(["VPNavBar",p(s)])},[y("div",pd,[y("div",_d,[T(uu,null,{"nav-bar-title-before":M(()=>[E(o.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":M(()=>[E(o.$slots,"nav-bar-title-after",{},void 0,!0)]),_:3})]),y("div",md,[vd,y("div",gd,[E(o.$slots,"nav-bar-content-before",{},void 0,!0),T(vu,{class:"search"}),T(uf,{class:"menu"}),T(yf,{class:"translations"}),T(Uf,{class:"appearance"}),T(Xf,{class:"social-links"}),T(id,{class:"extra"}),E(o.$slots,"nav-bar-content-after",{},void 0,!0),T(dd,{class:"hamburger",active:e.isScreenOpen,onClick:r[0]||(r[0]=i=>o.$emit("toggle-screen"))},null,8,["active"])])])])],2))}});const yd=F(xd,[["__scopeId","data-v-77090745"]]);function bd(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t1),jt=[],jn=!1,vo=-1,ln=void 0,Et=void 0,an=void 0,Ei=function(t){return jt.some(function(n){return!!(n.options.allowTouchMove&&n.options.allowTouchMove(t))})},Kn=function(t){var n=t||window.event;return Ei(n.target)||n.touches.length>1?!0:(n.preventDefault&&n.preventDefault(),!1)},kd=function(t){if(an===void 0){var n=!!t&&t.reserveScrollBarGap===!0,s=window.innerWidth-document.documentElement.clientWidth;if(n&&s>0){var o=parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right"),10);an=document.body.style.paddingRight,document.body.style.paddingRight=o+s+"px"}}ln===void 0&&(ln=document.body.style.overflow,document.body.style.overflow="hidden")},wd=function(){an!==void 0&&(document.body.style.paddingRight=an,an=void 0),ln!==void 0&&(document.body.style.overflow=ln,ln=void 0)},$d=function(){return window.requestAnimationFrame(function(){if(Et===void 0){Et={position:document.body.style.position,top:document.body.style.top,left:document.body.style.left};var t=window,n=t.scrollY,s=t.scrollX,o=t.innerHeight;document.body.style.position="fixed",document.body.style.top=-n,document.body.style.left=-s,setTimeout(function(){return window.requestAnimationFrame(function(){var r=o-window.innerHeight;r&&n>=o&&(document.body.style.top=-(n+r))})},300)}})},Pd=function(){if(Et!==void 0){var t=-parseInt(document.body.style.top,10),n=-parseInt(document.body.style.left,10);document.body.style.position=Et.position,document.body.style.top=Et.top,document.body.style.left=Et.left,window.scrollTo(n,t),Et=void 0}},Cd=function(t){return t?t.scrollHeight-t.scrollTop<=t.clientHeight:!1},Sd=function(t,n){var s=t.targetTouches[0].clientY-vo;return Ei(t.target)?!1:n&&n.scrollTop===0&&s>0||Cd(n)&&s<0?Kn(t):(t.stopPropagation(),!0)},Ti=function(t,n){if(!t){console.error("disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.");return}if(!jt.some(function(o){return o.targetElement===t})){var s={targetElement:t,options:n||{}};jt=[].concat(bd(jt),[s]),zn?$d():kd(n),zn&&(t.ontouchstart=function(o){o.targetTouches.length===1&&(vo=o.targetTouches[0].clientY)},t.ontouchmove=function(o){o.targetTouches.length===1&&Sd(o,t)},jn||(document.addEventListener("touchmove",Kn,mo?{passive:!1}:void 0),jn=!0))}},Vi=function(){zn&&(jt.forEach(function(t){t.targetElement.ontouchstart=null,t.targetElement.ontouchmove=null}),jn&&(document.removeEventListener("touchmove",Kn,mo?{passive:!1}:void 0),jn=!1),vo=-1),zn?Pd():wd(),jt=[]};const Ed=R({__name:"VPNavScreenMenuLink",props:{text:null,link:null},setup(e){const t=Ge("close-screen");return(n,s)=>(h(),W(gt,{class:"VPNavScreenMenuLink",href:e.link,onClick:p(t)},{default:M(()=>[Ee(ie(e.text),1)]),_:1},8,["href","onClick"]))}});const Td=F(Ed,[["__scopeId","data-v-a3572c96"]]),Vd={},Ld={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},Ad=y("path",{d:"M18.9,10.9h-6v-6c0-0.6-0.4-1-1-1s-1,0.4-1,1v6h-6c-0.6,0-1,0.4-1,1s0.4,1,1,1h6v6c0,0.6,0.4,1,1,1s1-0.4,1-1v-6h6c0.6,0,1-0.4,1-1S19.5,10.9,18.9,10.9z"},null,-1),Id=[Ad];function Md(e,t){return h(),g("svg",Ld,Id)}const Hd=F(Vd,[["render",Md]]),Nd=R({__name:"VPNavScreenMenuGroupLink",props:{text:null,link:null},setup(e){const t=Ge("close-screen");return(n,s)=>(h(),W(gt,{class:"VPNavScreenMenuGroupLink",href:e.link,onClick:p(t)},{default:M(()=>[Ee(ie(e.text),1)]),_:1},8,["href","onClick"]))}});const Li=F(Nd,[["__scopeId","data-v-d67c9e09"]]),Od={class:"VPNavScreenMenuGroupSection"},Bd={key:0,class:"title"},Fd=R({__name:"VPNavScreenMenuGroupSection",props:{text:null,items:null},setup(e){return(t,n)=>(h(),g("div",Od,[e.text?(h(),g("p",Bd,ie(e.text),1)):U("",!0),(h(!0),g(Z,null,Ve(e.items,s=>(h(),W(Li,{key:s.text,text:s.text,link:s.link},null,8,["text","link"]))),128))]))}});const Rd=F(Fd,[["__scopeId","data-v-1f191989"]]),Dd=["aria-controls","aria-expanded"],Ud={class:"button-text"},zd=["id"],jd={key:1,class:"group"},Kd=R({__name:"VPNavScreenMenuGroup",props:{text:null,items:null},setup(e){const t=e,n=le(!1),s=K(()=>`NavScreenGroup-${t.text.replace(" ","-").toLowerCase()}`);function o(){n.value=!n.value}return(r,i)=>(h(),g("div",{class:me(["VPNavScreenMenuGroup",{open:n.value}])},[y("button",{class:"button","aria-controls":p(s),"aria-expanded":n.value,onClick:o},[y("span",Ud,ie(e.text),1),T(Hd,{class:"button-icon"})],8,Dd),y("div",{id:p(s),class:"items"},[(h(!0),g(Z,null,Ve(e.items,l=>(h(),g(Z,{key:l.text},["link"in l?(h(),g("div",{key:l.text,class:"item"},[T(Li,{text:l.text,link:l.link},null,8,["text","link"])])):(h(),g("div",jd,[T(Rd,{text:l.text,items:l.items},null,8,["text","items"])]))],64))),128))],8,zd)],2))}});const Gd=F(Kd,[["__scopeId","data-v-76b97020"]]),Wd={key:0,class:"VPNavScreenMenu"},qd=R({__name:"VPNavScreenMenu",setup(e){const{theme:t}=ue();return(n,s)=>p(t).nav?(h(),g("nav",Wd,[(h(!0),g(Z,null,Ve(p(t).nav,o=>(h(),g(Z,{key:o.text},["link"in o?(h(),W(Td,{key:0,text:o.text,link:o.link},null,8,["text","link"])):(h(),W(Gd,{key:1,text:o.text||"",items:o.items},null,8,["text","items"]))],64))),128))])):U("",!0)}}),Yd={key:0,class:"VPNavScreenAppearance"},Xd={class:"text"},Jd=R({__name:"VPNavScreenAppearance",setup(e){const{site:t,theme:n}=ue();return(s,o)=>p(t).appearance?(h(),g("div",Yd,[y("p",Xd,ie(p(n).darkModeSwitchLabel||"Appearance"),1),T(po)])):U("",!0)}});const Qd=F(Jd,[["__scopeId","data-v-e29b7438"]]),Zd={class:"list"},eh=R({__name:"VPNavScreenTranslations",setup(e){const{localeLinks:t,currentLang:n}=bn({correspondingLink:!0}),s=le(!1);function o(){s.value=!s.value}return(r,i)=>p(t).length&&p(n).label?(h(),g("div",{key:0,class:me(["VPNavScreenTranslations",{open:s.value}])},[y("button",{class:"title",onClick:o},[T(Si,{class:"icon lang"}),Ee(" "+ie(p(n).label)+" ",1),T(Ci,{class:"icon chevron"})]),y("ul",Zd,[(h(!0),g(Z,null,Ve(p(t),l=>(h(),g("li",{key:l.link,class:"item"},[T(gt,{class:"link",href:l.link},{default:M(()=>[Ee(ie(l.text),1)]),_:2},1032,["href"])]))),128))])],2)):U("",!0)}});const th=F(eh,[["__scopeId","data-v-6aaaae90"]]),nh=R({__name:"VPNavScreenSocialLinks",setup(e){const{theme:t}=ue();return(n,s)=>p(t).socialLinks?(h(),W(_o,{key:0,class:"VPNavScreenSocialLinks",links:p(t).socialLinks},null,8,["links"])):U("",!0)}}),sh={class:"container"},oh=R({__name:"VPNavScreen",props:{open:{type:Boolean}},setup(e){const t=le(null);function n(){Ti(t.value,{reserveScrollBarGap:!0})}function s(){Vi()}return(o,r)=>(h(),W(os,{name:"fade",onEnter:n,onAfterLeave:s},{default:M(()=>[e.open?(h(),g("div",{key:0,class:"VPNavScreen",ref_key:"screen",ref:t},[y("div",sh,[E(o.$slots,"nav-screen-content-before",{},void 0,!0),T(qd,{class:"menu"}),T(th,{class:"translations"}),T(Qd,{class:"appearance"}),T(nh,{class:"social-links"}),E(o.$slots,"nav-screen-content-after",{},void 0,!0)])],512)):U("",!0)]),_:3}))}});const rh=F(oh,[["__scopeId","data-v-183ec3ec"]]),ih={class:"VPNav"},lh=R({__name:"VPNav",setup(e){const{isScreenOpen:t,closeScreen:n,toggleScreen:s}=su();return Dt("close-screen",n),(o,r)=>(h(),g("header",ih,[T(yd,{"is-screen-open":p(t),onToggleScreen:p(s)},{"nav-bar-title-before":M(()=>[E(o.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":M(()=>[E(o.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":M(()=>[E(o.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":M(()=>[E(o.$slots,"nav-bar-content-after",{},void 0,!0)]),_:3},8,["is-screen-open","onToggleScreen"]),T(rh,{open:p(t)},{"nav-screen-content-before":M(()=>[E(o.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":M(()=>[E(o.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3},8,["open"])]))}});const ah=F(lh,[["__scopeId","data-v-97571dac"]]),ch={},uh={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},fh=y("path",{d:"M17,11H3c-0.6,0-1-0.4-1-1s0.4-1,1-1h14c0.6,0,1,0.4,1,1S17.6,11,17,11z"},null,-1),dh=y("path",{d:"M21,7H3C2.4,7,2,6.6,2,6s0.4-1,1-1h18c0.6,0,1,0.4,1,1S21.6,7,21,7z"},null,-1),hh=y("path",{d:"M21,15H3c-0.6,0-1-0.4-1-1s0.4-1,1-1h18c0.6,0,1,0.4,1,1S21.6,15,21,15z"},null,-1),ph=y("path",{d:"M17,19H3c-0.6,0-1-0.4-1-1s0.4-1,1-1h14c0.6,0,1,0.4,1,1S17.6,19,17,19z"},null,-1),_h=[fh,dh,hh,ph];function mh(e,t){return h(),g("svg",uh,_h)}const vh=F(ch,[["render",mh]]),gh={key:0,class:"VPLocalNav"},xh=["aria-expanded"],yh={class:"menu-text"},bh=R({__name:"VPLocalNav",props:{open:{type:Boolean}},emits:["open-menu"],setup(e){const{theme:t}=ue(),{hasSidebar:n}=rt();function s(){window.scrollTo({top:0,left:0,behavior:"smooth"})}return(o,r)=>p(n)?(h(),g("div",gh,[y("button",{class:"menu","aria-expanded":e.open,"aria-controls":"VPSidebarNav",onClick:r[0]||(r[0]=i=>o.$emit("open-menu"))},[T(vh,{class:"menu-icon"}),y("span",yh,ie(p(t).sidebarMenuLabel||"Menu"),1)],8,xh),y("a",{class:"top-link",href:"#",onClick:s},ie(p(t).returnToTopLabel||"Return to top"),1)])):U("",!0)}});const kh=F(bh,[["__scopeId","data-v-8569b9cc"]]),wh={},$h={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},Ph=y("path",{d:"M9,19c-0.3,0-0.5-0.1-0.7-0.3c-0.4-0.4-0.4-1,0-1.4l5.3-5.3L8.3,6.7c-0.4-0.4-0.4-1,0-1.4s1-0.4,1.4,0l6,6c0.4,0.4,0.4,1,0,1.4l-6,6C9.5,18.9,9.3,19,9,19z"},null,-1),Ch=[Ph];function Sh(e,t){return h(),g("svg",$h,Ch)}const Eh=F(wh,[["render",Sh]]),Th=e=>(Ze("data-v-970d372b"),e=e(),et(),e),Vh=["role"],Lh=Th(()=>y("div",{class:"indicator"},null,-1)),Ah={key:1,class:"items"},Ih=R({__name:"VPSidebarItem",props:{item:null,depth:null},setup(e){const t=e,{collapsed:n,collapsible:s,isLink:o,isActiveLink:r,hasActiveLink:i,hasChildren:l,toggle:a}=Jc(K(()=>t.item)),u=K(()=>l.value?"section":"div"),d=K(()=>o.value?"a":"div"),_=K(()=>l.value?t.depth+2===7?"p":`h${t.depth+2}`:"p"),v=K(()=>o.value?void 0:"button"),w=K(()=>[[`level-${t.depth}`],{collapsible:s.value},{collapsed:n.value},{"is-link":o.value},{"is-active":r.value},{"has-active":i.value}]);function V(){!t.item.link&&a()}function A(){t.item.link&&a()}return(G,x)=>{const P=At("VPSidebarItem",!0);return h(),W(hn(p(u)),{class:me(["VPSidebarItem",p(w)])},{default:M(()=>[e.item.text?(h(),g("div",{key:0,class:"item",role:p(v),onClick:V},[Lh,T(gt,{tag:p(d),class:"link",href:e.item.link},{default:M(()=>[(h(),W(hn(p(_)),{class:"text",innerHTML:e.item.text},null,8,["innerHTML"]))]),_:1},8,["tag","href"]),e.item.collapsed!=null?(h(),g("div",{key:0,class:"caret",role:"button",onClick:A},[T(Eh,{class:"caret-icon"})])):U("",!0)],8,Vh)):U("",!0),e.item.items&&e.item.items.length?(h(),g("div",Ah,[e.depth<5?(h(!0),g(Z,{key:0},Ve(e.item.items,N=>(h(),W(P,{key:N.text,item:N,depth:e.depth+1},null,8,["item","depth"]))),128)):U("",!0)])):U("",!0)]),_:1},8,["class"])}}});const Mh=F(Ih,[["__scopeId","data-v-970d372b"]]),Ai=e=>(Ze("data-v-7277aec8"),e=e(),et(),e),Hh=Ai(()=>y("div",{class:"curtain"},null,-1)),Nh={class:"nav",id:"VPSidebarNav","aria-labelledby":"sidebar-aria-label",tabindex:"-1"},Oh=Ai(()=>y("span",{class:"visually-hidden",id:"sidebar-aria-label"}," Sidebar Navigation ",-1)),Bh=R({__name:"VPSidebar",props:{open:{type:Boolean}},setup(e){const t=e,{sidebarGroups:n,hasSidebar:s}=rt();let o=le(null);function r(){Ti(o.value,{reserveScrollBarGap:!0})}function i(){Vi()}return Ur(async()=>{var l;t.open?(r(),(l=o.value)==null||l.focus()):i()}),(l,a)=>p(s)?(h(),g("aside",{key:0,class:me(["VPSidebar",{open:e.open}]),ref_key:"navEl",ref:o,onClick:a[0]||(a[0]=cc(()=>{},["stop"]))},[Hh,y("nav",Nh,[Oh,E(l.$slots,"sidebar-nav-before",{},void 0,!0),(h(!0),g(Z,null,Ve(p(n),u=>(h(),g("div",{key:u.text,class:"group"},[T(Mh,{item:u,depth:0},null,8,["item"])]))),128)),E(l.$slots,"sidebar-nav-after",{},void 0,!0)])],2)):U("",!0)}});const Fh=F(Bh,[["__scopeId","data-v-7277aec8"]]),Rh={},Dh={class:"VPPage"};function Uh(e,t){const n=At("Content");return h(),g("div",Dh,[T(n)])}const zh=F(Rh,[["render",Uh]]),jh=R({__name:"VPButton",props:{tag:null,size:null,theme:null,text:null,href:null},setup(e){const t=e,n=K(()=>[t.size??"medium",t.theme??"brand"]),s=K(()=>t.href&&rs.test(t.href)),o=K(()=>t.tag?t.tag:t.href?"a":"button");return(r,i)=>(h(),W(hn(p(o)),{class:me(["VPButton",p(n)]),href:e.href?p(mn)(e.href):void 0,target:p(s)?"_blank":void 0,rel:p(s)?"noreferrer":void 0},{default:M(()=>[Ee(ie(e.text),1)]),_:1},8,["class","href","target","rel"]))}});const Kh=F(jh,[["__scopeId","data-v-86af4dce"]]),Gh=e=>(Ze("data-v-f527dad4"),e=e(),et(),e),Wh={class:"container"},qh={class:"main"},Yh={key:0,class:"name"},Xh={class:"clip"},Jh={key:1,class:"text"},Qh={key:2,class:"tagline"},Zh={key:3,class:"actions"},ep={key:0,class:"image"},tp={class:"image-container"},np=Gh(()=>y("div",{class:"image-bg"},null,-1)),sp=R({__name:"VPHero",props:{name:null,text:null,tagline:null,image:null,actions:null},setup(e){const t=Ge("hero-image-slot-exists");return(n,s)=>(h(),g("div",{class:me(["VPHero",{"has-image":e.image||p(t)}])},[y("div",Wh,[y("div",qh,[e.name?(h(),g("h1",Yh,[y("span",Xh,ie(e.name),1)])):U("",!0),e.text?(h(),g("p",Jh,ie(e.text),1)):U("",!0),e.tagline?(h(),g("p",Qh,ie(e.tagline),1)):U("",!0),e.actions?(h(),g("div",Zh,[(h(!0),g(Z,null,Ve(e.actions,o=>(h(),g("div",{key:o.link,class:"action"},[T(Kh,{tag:"a",size:"medium",theme:o.theme,text:o.text,href:o.link},null,8,["theme","text","href"])]))),128))])):U("",!0)]),e.image||p(t)?(h(),g("div",ep,[y("div",tp,[np,E(n.$slots,"home-hero-image",{},()=>[e.image?(h(),W(uo,{key:0,class:"image-src",image:e.image},null,8,["image"])):U("",!0)],!0)])])):U("",!0)])],2))}});const op=F(sp,[["__scopeId","data-v-f527dad4"]]),rp=R({__name:"VPHomeHero",setup(e){const{frontmatter:t}=ue();return(n,s)=>p(t).hero?(h(),W(op,{key:0,class:"VPHomeHero",name:p(t).hero.name,text:p(t).hero.text,tagline:p(t).hero.tagline,image:p(t).hero.image,actions:p(t).hero.actions},{"home-hero-image":M(()=>[E(n.$slots,"home-hero-image")]),_:3},8,["name","text","tagline","image","actions"])):U("",!0)}}),ip={},lp={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},ap=y("path",{d:"M19.9,12.4c0.1-0.2,0.1-0.5,0-0.8c-0.1-0.1-0.1-0.2-0.2-0.3l-7-7c-0.4-0.4-1-0.4-1.4,0s-0.4,1,0,1.4l5.3,5.3H5c-0.6,0-1,0.4-1,1s0.4,1,1,1h11.6l-5.3,5.3c-0.4,0.4-0.4,1,0,1.4c0.2,0.2,0.5,0.3,0.7,0.3s0.5-0.1,0.7-0.3l7-7C19.8,12.6,19.9,12.5,19.9,12.4z"},null,-1),cp=[ap];function up(e,t){return h(),g("svg",lp,cp)}const fp=F(ip,[["render",up]]),dp={class:"box"},hp={key:1,class:"icon"},pp={class:"title"},_p={class:"details"},mp={key:2,class:"link-text"},vp={class:"link-text-value"},gp=R({__name:"VPFeature",props:{icon:null,title:null,details:null,link:null,linkText:null},setup(e){return(t,n)=>(h(),W(gt,{class:"VPFeature",href:e.link,"no-icon":!0},{default:M(()=>[y("article",dp,[typeof e.icon=="object"?(h(),W(uo,{key:0,image:e.icon,alt:e.icon.alt,height:e.icon.height,width:e.icon.width},null,8,["image","alt","height","width"])):e.icon?(h(),g("div",hp,ie(e.icon),1)):U("",!0),y("h2",pp,ie(e.title),1),y("p",_p,ie(e.details),1),e.linkText?(h(),g("div",mp,[y("p",vp,[Ee(ie(e.linkText)+" ",1),T(fp,{class:"link-text-icon"})])])):U("",!0)])]),_:1},8,["href"]))}});const xp=F(gp,[["__scopeId","data-v-aa9e8143"]]),yp={key:0,class:"VPFeatures"},bp={class:"container"},kp={class:"items"},wp=R({__name:"VPFeatures",props:{features:null},setup(e){const t=e,n=K(()=>{const s=t.features.length;if(s){if(s===2)return"grid-2";if(s===3)return"grid-3";if(s%3===0)return"grid-6";if(s%2===0)return"grid-4"}else return});return(s,o)=>e.features?(h(),g("div",yp,[y("div",bp,[y("div",kp,[(h(!0),g(Z,null,Ve(e.features,r=>(h(),g("div",{key:r.title,class:me(["item",[p(n)]])},[T(xp,{icon:r.icon,title:r.title,details:r.details,link:r.link,"link-text":r.linkText},null,8,["icon","title","details","link","link-text"])],2))),128))])])])):U("",!0)}});const $p=F(wp,[["__scopeId","data-v-5df66ecb"]]),Pp=R({__name:"VPHomeFeatures",setup(e){const{frontmatter:t}=ue();return(n,s)=>p(t).features?(h(),W($p,{key:0,class:"VPHomeFeatures",features:p(t).features},null,8,["features"])):U("",!0)}}),Cp={class:"VPHome"},Sp=R({__name:"VPHome",setup(e){return(t,n)=>{const s=At("Content");return h(),g("div",Cp,[E(t.$slots,"home-hero-before",{},void 0,!0),T(rp,null,{"home-hero-image":M(()=>[E(t.$slots,"home-hero-image",{},void 0,!0)]),_:3}),E(t.$slots,"home-hero-after",{},void 0,!0),E(t.$slots,"home-features-before",{},void 0,!0),T(Pp),E(t.$slots,"home-features-after",{},void 0,!0),T(s)])}}});const Ep=F(Sp,[["__scopeId","data-v-f954a7f0"]]);function Tp(){const{hasSidebar:e}=rt(),t=Ns("(min-width: 960px)"),n=Ns("(min-width: 1280px)");return{isAsideEnabled:K(()=>!n.value&&!t.value?!1:e.value?n.value:t.value)}}const Vp=71;function Lp(e,t){if(e===!1)return[];let n=[];return document.querySelectorAll("h2, h3, h4, h5, h6").forEach(s=>{if(s.textContent&&s.id){let o=s.textContent;if(t===!1){const r=s.cloneNode(!0);for(const i of r.querySelectorAll(".VPBadge"))i.remove();o=r.textContent||""}n.push({level:Number(s.tagName[1]),title:o.replace(/\s+#\s*$/,""),link:`#${s.id}`})}}),Ap(n,e)}function Ap(e,t){const n=(typeof t=="object"&&!Array.isArray(t)?t.level:t)||2;return Ip(e,typeof n=="number"?[n,n]:n==="deep"?[2,6]:n)}function Ip(e,t){const n=[];return e=e.map(s=>({...s})),e.forEach((s,o)=>{s.level>=t[0]&&s.level<=t[1]&&Mp(o,e,t)&&n.push(s)}),n}function Mp(e,t,n){if(e===0)return!0;const s=t[e];for(let o=e-1;o>=0;o--){const r=t[o];if(r.level=n[0]&&r.level<=n[1])return r.children==null&&(r.children=[]),r.children.push(s),!1}return!0}function Hp(e,t){const{isAsideEnabled:n}=Tp(),s=Wc(r,100);let o=null;Ie(()=>{requestAnimationFrame(r),window.addEventListener("scroll",s)}),so(()=>{i(location.hash)}),mt(()=>{window.removeEventListener("scroll",s)});function r(){if(!n.value)return;const l=[].slice.call(e.value.querySelectorAll(".outline-link")),a=[].slice.call(document.querySelectorAll(".content .header-anchor")).filter(w=>l.some(V=>V.hash===w.hash&&w.offsetParent!==null)),u=window.scrollY,d=window.innerHeight,_=document.body.offsetHeight,v=Math.abs(u+d-_)<1;if(a.length&&v){i(a[a.length-1].hash);return}for(let w=0;w{const s=At("VPDocAsideOutlineItem",!0);return h(),g("ul",{class:me(e.root?"root":"nested")},[(h(!0),g(Z,null,Ve(e.headers,({children:o,link:r,title:i})=>(h(),g("li",null,[y("a",{class:"outline-link",href:r,onClick:n[0]||(n[0]=(...l)=>e.onClick&&e.onClick(...l))},ie(i),9,Op),o!=null&&o.length?(h(),W(s,{key:0,headers:o,onClick:e.onClick},null,8,["headers","onClick"])):U("",!0)]))),256))],2)}}});const Fp=F(Bp,[["__scopeId","data-v-f1f7b818"]]),Rp=e=>(Ze("data-v-3eaaa935"),e=e(),et(),e),Dp={class:"content"},Up={class:"outline-title"},zp={"aria-labelledby":"doc-outline-aria-label"},jp=Rp(()=>y("span",{class:"visually-hidden",id:"doc-outline-aria-label"}," Table of Contents for current page ",-1)),Kp=R({__name:"VPDocAsideOutline",setup(e){const{frontmatter:t,theme:n}=ue(),s=K(()=>t.value.outline??n.value.outline),o=Ge("onContentUpdated");o.value=()=>{r.value=Lp(s.value,n.value.outlineBadges)};const r=le([]),i=K(()=>r.value.length>0),l=le(),a=le();Hp(l,a);function u({target:d}){const _="#"+d.href.split("#")[1],v=document.querySelector(decodeURIComponent(_));v==null||v.focus()}return(d,_)=>(h(),g("div",{class:me(["VPDocAsideOutline",{"has-outline":p(i)}]),ref_key:"container",ref:l},[y("div",Dp,[y("div",{class:"outline-marker",ref_key:"marker",ref:a},null,512),y("div",Up,ie(typeof p(n).outline=="object"&&!Array.isArray(p(n).outline)&&p(n).outline.label||p(n).outlineTitle||"On this page"),1),y("nav",zp,[jp,T(Fp,{headers:r.value,root:!0,onClick:u},null,8,["headers"])])])],2))}});const Gp=F(Kp,[["__scopeId","data-v-3eaaa935"]]),Wp={class:"VPDocAsideCarbonAds"},qp=R({__name:"VPDocAsideCarbonAds",props:{carbonAds:null},setup(e){const t=()=>null;return(n,s)=>(h(),g("div",Wp,[T(p(t),{"carbon-ads":e.carbonAds},null,8,["carbon-ads"])]))}}),Yp=e=>(Ze("data-v-4bd7d5c6"),e=e(),et(),e),Xp={class:"VPDocAside"},Jp=Yp(()=>y("div",{class:"spacer"},null,-1)),Qp=R({__name:"VPDocAside",setup(e){const{theme:t}=ue();return(n,s)=>(h(),g("div",Xp,[E(n.$slots,"aside-top",{},void 0,!0),E(n.$slots,"aside-outline-before",{},void 0,!0),T(Gp),E(n.$slots,"aside-outline-after",{},void 0,!0),Jp,E(n.$slots,"aside-ads-before",{},void 0,!0),p(t).carbonAds?(h(),W(qp,{key:0,"carbon-ads":p(t).carbonAds},null,8,["carbon-ads"])):U("",!0),E(n.$slots,"aside-ads-after",{},void 0,!0),E(n.$slots,"aside-bottom",{},void 0,!0)]))}});const Zp=F(Qp,[["__scopeId","data-v-4bd7d5c6"]]);function e0(){const{theme:e,page:t}=ue();return K(()=>{const{text:n="Edit this page",pattern:s=""}=e.value.editLink||{},{relativePath:o}=t.value;return{url:s.replace(/:path/g,o),text:n}})}function t0(){const{page:e,theme:t,frontmatter:n}=ue();return K(()=>{const s=wi(t.value.sidebar,e.value.relativePath),o=Yc(s),r=o.findIndex(i=>It(e.value.relativePath,i.link));return{prev:n.value.prev?{...o[r-1],text:n.value.prev}:o[r-1],next:n.value.next?{...o[r+1],text:n.value.next}:o[r+1]}})}const n0={},s0={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},o0=y("path",{d:"M18,23H4c-1.7,0-3-1.3-3-3V6c0-1.7,1.3-3,3-3h7c0.6,0,1,0.4,1,1s-0.4,1-1,1H4C3.4,5,3,5.4,3,6v14c0,0.6,0.4,1,1,1h14c0.6,0,1-0.4,1-1v-7c0-0.6,0.4-1,1-1s1,0.4,1,1v7C21,21.7,19.7,23,18,23z"},null,-1),r0=y("path",{d:"M8,17c-0.3,0-0.5-0.1-0.7-0.3C7,16.5,6.9,16.1,7,15.8l1-4c0-0.2,0.1-0.3,0.3-0.5l9.5-9.5c1.2-1.2,3.2-1.2,4.4,0c1.2,1.2,1.2,3.2,0,4.4l-9.5,9.5c-0.1,0.1-0.3,0.2-0.5,0.3l-4,1C8.2,17,8.1,17,8,17zM9.9,12.5l-0.5,2.1l2.1-0.5l9.3-9.3c0.4-0.4,0.4-1.1,0-1.6c-0.4-0.4-1.2-0.4-1.6,0l0,0L9.9,12.5z M18.5,2.5L18.5,2.5L18.5,2.5z"},null,-1),i0=[o0,r0];function l0(e,t){return h(),g("svg",s0,i0)}const a0=F(n0,[["render",l0]]),c0={class:"VPLastUpdated"},u0=["datetime"],f0=R({__name:"VPDocFooterLastUpdated",setup(e){const{theme:t,page:n}=ue(),s=K(()=>new Date(n.value.lastUpdated)),o=K(()=>s.value.toISOString()),r=le("");return Ie(()=>{Lt(()=>{r.value=s.value.toLocaleString(window.navigator.language)})}),(i,l)=>(h(),g("p",c0,[Ee(ie(p(t).lastUpdatedText||"Last updated")+": ",1),y("time",{datetime:p(o)},ie(r.value),9,u0)]))}});const d0=F(f0,[["__scopeId","data-v-4678a00d"]]),h0={key:0,class:"VPDocFooter"},p0={key:0,class:"edit-info"},_0={key:0,class:"edit-link"},m0={key:1,class:"last-updated"},v0={key:1,class:"prev-next"},g0={class:"pager"},x0=["href"],y0=["innerHTML"],b0=["innerHTML"],k0=["href"],w0=["innerHTML"],$0=["innerHTML"],P0=R({__name:"VPDocFooter",setup(e){const{theme:t,page:n,frontmatter:s}=ue(),o=e0(),r=t0(),i=K(()=>t.value.editLink&&s.value.editLink!==!1),l=K(()=>n.value.lastUpdated&&s.value.lastUpdated!==!1),a=K(()=>i.value||l.value||r.value.prev||r.value.next);return(u,d)=>{var _,v;return p(a)?(h(),g("footer",h0,[p(i)||p(l)?(h(),g("div",p0,[p(i)?(h(),g("div",_0,[T(gt,{class:"edit-link-button",href:p(o).url,"no-icon":!0},{default:M(()=>[T(a0,{class:"edit-link-icon"}),Ee(" "+ie(p(o).text),1)]),_:1},8,["href"])])):U("",!0),p(l)?(h(),g("div",m0,[T(d0)])):U("",!0)])):U("",!0),p(r).prev||p(r).next?(h(),g("div",v0,[y("div",g0,[p(r).prev?(h(),g("a",{key:0,class:"pager-link prev",href:p(mn)(p(r).prev.link)},[y("span",{class:"desc",innerHTML:((_=p(t).docFooter)==null?void 0:_.prev)||"Previous page"},null,8,y0),y("span",{class:"title",innerHTML:p(r).prev.text},null,8,b0)],8,x0)):U("",!0)]),y("div",{class:me(["pager",{"has-prev":p(r).prev}])},[p(r).next?(h(),g("a",{key:0,class:"pager-link next",href:p(mn)(p(r).next.link)},[y("span",{class:"desc",innerHTML:((v=p(t).docFooter)==null?void 0:v.next)||"Next page"},null,8,w0),y("span",{class:"title",innerHTML:p(r).next.text},null,8,$0)],8,k0)):U("",!0)],2)])):U("",!0)])):U("",!0)}}});const C0=F(P0,[["__scopeId","data-v-ba0c6c51"]]),S0=e=>(Ze("data-v-8c2b58c8"),e=e(),et(),e),E0={class:"container"},T0={key:0,class:"aside"},V0=S0(()=>y("div",{class:"aside-curtain"},null,-1)),L0={class:"aside-container"},A0={class:"aside-content"},I0={class:"content"},M0={class:"content-container"},H0={class:"main"},N0=R({__name:"VPDoc",setup(e){const t=vt(),{hasSidebar:n,hasAside:s}=rt(),o=K(()=>t.path.replace(/[./]+/g,"_").replace(/_html$/,"")),r=le();return Dt("onContentUpdated",r),(i,l)=>{const a=At("Content");return h(),g("div",{class:me(["VPDoc",{"has-sidebar":p(n),"has-aside":p(s)}])},[y("div",E0,[p(s)?(h(),g("div",T0,[V0,y("div",L0,[y("div",A0,[T(Zp,null,{"aside-top":M(()=>[E(i.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":M(()=>[E(i.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":M(()=>[E(i.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":M(()=>[E(i.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":M(()=>[E(i.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":M(()=>[E(i.$slots,"aside-ads-after",{},void 0,!0)]),_:3})])])])):U("",!0),y("div",I0,[y("div",M0,[E(i.$slots,"doc-before",{},void 0,!0),y("main",H0,[T(a,{class:me(["vp-doc",p(o)]),onContentUpdated:r.value},null,8,["class","onContentUpdated"])]),E(i.$slots,"doc-footer-before",{},void 0,!0),T(C0),E(i.$slots,"doc-after",{},void 0,!0)])])])],2)}}});const O0=F(N0,[["__scopeId","data-v-8c2b58c8"]]),B0=R({__name:"VPContent",setup(e){const t=vt(),{frontmatter:n}=ue(),{hasSidebar:s}=rt(),o=Ge("NotFound");return(r,i)=>(h(),g("div",{class:me(["VPContent",{"has-sidebar":p(s),"is-home":p(n).layout==="home"}]),id:"VPContent"},[p(t).component===p(o)?(h(),W(p(o),{key:0})):p(n).layout==="page"?(h(),W(zh,{key:1})):p(n).layout==="home"?(h(),W(Ep,{key:2},{"home-hero-before":M(()=>[E(r.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-image":M(()=>[E(r.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":M(()=>[E(r.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":M(()=>[E(r.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":M(()=>[E(r.$slots,"home-features-after",{},void 0,!0)]),_:3})):(h(),W(O0,{key:3},{"doc-footer-before":M(()=>[E(r.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":M(()=>[E(r.$slots,"doc-before",{},void 0,!0)]),"doc-after":M(()=>[E(r.$slots,"doc-after",{},void 0,!0)]),"aside-top":M(()=>[E(r.$slots,"aside-top",{},void 0,!0)]),"aside-outline-before":M(()=>[E(r.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":M(()=>[E(r.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":M(()=>[E(r.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":M(()=>[E(r.$slots,"aside-ads-after",{},void 0,!0)]),"aside-bottom":M(()=>[E(r.$slots,"aside-bottom",{},void 0,!0)]),_:3}))],2))}});const F0=F(B0,[["__scopeId","data-v-5a40893c"]]),R0={class:"container"},D0=["innerHTML"],U0=["innerHTML"],z0=R({__name:"VPFooter",setup(e){const{theme:t}=ue(),{hasSidebar:n}=rt();return(s,o)=>p(t).footer?(h(),g("footer",{key:0,class:me(["VPFooter",{"has-sidebar":p(n)}])},[y("div",R0,[p(t).footer.message?(h(),g("p",{key:0,class:"message",innerHTML:p(t).footer.message},null,8,D0)):U("",!0),p(t).footer.copyright?(h(),g("p",{key:1,class:"copyright",innerHTML:p(t).footer.copyright},null,8,U0)):U("",!0)])],2)):U("",!0)}});const j0=F(z0,[["__scopeId","data-v-337c2740"]]),K0={key:0,class:"Layout"},G0=R({__name:"Layout",setup(e){const{isOpen:t,open:n,close:s}=rt(),o=vt();Je(()=>o.path,s),Xc(t,s),Dt("close-sidebar",s),Dt("is-sidebar-open",t);const{frontmatter:r}=ue(),i=Ia(),l=K(()=>!!i["home-hero-image"]);return Dt("hero-image-slot-exists",l),(a,u)=>{const d=At("Content");return p(r).layout!==!1?(h(),g("div",K0,[E(a.$slots,"layout-top",{},void 0,!0),T(Zc),T(nu,{class:"backdrop",show:p(t),onClick:p(s)},null,8,["show","onClick"]),T(ah,null,{"nav-bar-title-before":M(()=>[E(a.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":M(()=>[E(a.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":M(()=>[E(a.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":M(()=>[E(a.$slots,"nav-bar-content-after",{},void 0,!0)]),"nav-screen-content-before":M(()=>[E(a.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":M(()=>[E(a.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3}),T(kh,{open:p(t),onOpenMenu:p(n)},null,8,["open","onOpenMenu"]),T(Fh,{open:p(t)},{"sidebar-nav-before":M(()=>[E(a.$slots,"sidebar-nav-before",{},void 0,!0)]),"sidebar-nav-after":M(()=>[E(a.$slots,"sidebar-nav-after",{},void 0,!0)]),_:3},8,["open"]),T(F0,null,{"home-hero-before":M(()=>[E(a.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-image":M(()=>[E(a.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":M(()=>[E(a.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":M(()=>[E(a.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":M(()=>[E(a.$slots,"home-features-after",{},void 0,!0)]),"doc-footer-before":M(()=>[E(a.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":M(()=>[E(a.$slots,"doc-before",{},void 0,!0)]),"doc-after":M(()=>[E(a.$slots,"doc-after",{},void 0,!0)]),"aside-top":M(()=>[E(a.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":M(()=>[E(a.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":M(()=>[E(a.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":M(()=>[E(a.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":M(()=>[E(a.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":M(()=>[E(a.$slots,"aside-ads-after",{},void 0,!0)]),_:3}),T(j0),E(a.$slots,"layout-bottom",{},void 0,!0)])):(h(),W(d,{key:1}))}}});const W0=F(G0,[["__scopeId","data-v-94370507"]]),ls=e=>(Ze("data-v-b1fdfd4d"),e=e(),et(),e),q0={class:"NotFound"},Y0=ls(()=>y("p",{class:"code"},"404",-1)),X0=ls(()=>y("h1",{class:"title"},"PAGE NOT FOUND",-1)),J0=ls(()=>y("div",{class:"divider"},null,-1)),Q0=ls(()=>y("blockquote",{class:"quote"}," But if you don't change your direction, and if you keep looking, you may end up where you are heading. ",-1)),Z0={class:"action"},e1=["href"],t1=R({__name:"NotFound",setup(e){const{site:t}=ue(),{localeLinks:n}=bn({removeCurrent:!1}),s=le("/");return Ie(()=>{var r;const o=window.location.pathname.replace(t.value.base,"").replace(/(^.*?\/).*$/,"/$1");n.value.length&&(s.value=((r=n.value.find(({link:i})=>i.startsWith(o)))==null?void 0:r.link)||n.value[0].link)}),(o,r)=>(h(),g("div",q0,[Y0,X0,J0,Q0,y("div",Z0,[y("a",{class:"link",href:p(_n)(s.value),"aria-label":"go to home"}," Take me home ",8,e1)])]))}});const n1=F(t1,[["__scopeId","data-v-b1fdfd4d"]]);const Kt={Layout:W0,NotFound:n1,enhanceApp:({app:e})=>{e.component("Badge",vc)}};function s1(e,t){let n=[],s=!0;const o=r=>{if(s){s=!1;return}n.forEach(i=>document.head.removeChild(i)),n=[],r.forEach(i=>{const l=o1(i);document.head.appendChild(l),n.push(l)})};Lt(()=>{const r=e.data,i=t.value,l=r&&r.description,a=r&&r.frontmatter.head||[];document.title=mi(i,r),document.querySelector("meta[name=description]").setAttribute("content",l||i.description),o(vi(i.head,i1(a)))})}function o1([e,t,n]){const s=document.createElement(e);for(const o in t)s.setAttribute(o,t[o]);return n&&(s.innerHTML=n),s}function r1(e){return e[0]==="meta"&&e[1]&&e[1].name==="description"}function i1(e){return e.filter(t=>!r1(t))}const bs=new Set,Ii=()=>document.createElement("link"),l1=e=>{const t=Ii();t.rel="prefetch",t.href=e,document.head.appendChild(t)},a1=e=>{const t=new XMLHttpRequest;t.open("GET",e,t.withCredentials=!0),t.send()};let An;const c1=$e&&(An=Ii())&&An.relList&&An.relList.supports&&An.relList.supports("prefetch")?l1:a1;function u1(){if(!$e||!window.IntersectionObserver)return;let e;if((e=navigator.connection)&&(e.saveData||/2g/.test(e.effectiveType)))return;const t=window.requestIdleCallback||setTimeout;let n=null;const s=()=>{n&&n.disconnect(),n=new IntersectionObserver(r=>{r.forEach(i=>{if(i.isIntersecting){const l=i.target;n.unobserve(l);const{pathname:a}=l;if(!bs.has(a)){bs.add(a);const u=yi(a);c1(u)}}})}),t(()=>{document.querySelectorAll("#app a").forEach(r=>{const{target:i}=r,{hostname:l,pathname:a}=new URL(r.href instanceof SVGAnimatedString?r.href.animVal:r.href,r.baseURI),u=a.match(/\.\w+$/);u&&u[0]!==".html"||i!=="_blank"&&l===location.hostname&&(a!==location.pathname?n.observe(r):bs.add(a))})})};Ie(s);const o=vt();Je(()=>o.path,s),mt(()=>{n&&n.disconnect()})}const f1=R({setup(e,{slots:t}){const n=le(!1);return Ie(()=>{n.value=!0}),()=>n.value&&t.default?t.default():null}});function d1(){if($e){const e=new Map;window.addEventListener("click",t=>{var s;const n=t.target;if(n.matches('div[class*="language-"] > button.copy')){const o=n.parentElement,r=(s=n.nextElementSibling)==null?void 0:s.nextElementSibling;if(!o||!r)return;const i=/language-(shellscript|shell|bash|sh|zsh)/.test(o.className);let l="";r.querySelectorAll("span.line:not(.diff.remove)").forEach(a=>l+=(a.textContent||"")+` +`),l=l.slice(0,-1),i&&(l=l.replace(/^ *(\$|>) /gm,"").trim()),h1(l).then(()=>{n.classList.add("copied"),clearTimeout(e.get(n));const a=setTimeout(()=>{n.classList.remove("copied"),n.blur(),e.delete(n)},2e3);e.set(n,a)})}})}}async function h1(e){try{return navigator.clipboard.writeText(e)}catch{const t=document.createElement("textarea"),n=document.activeElement;t.value=e,t.setAttribute("readonly",""),t.style.contain="strict",t.style.position="absolute",t.style.left="-9999px",t.style.fontSize="12pt";const s=document.getSelection(),o=s?s.rangeCount>0&&s.getRangeAt(0):null;document.body.appendChild(t),t.select(),t.selectionStart=0,t.selectionEnd=e.length,document.execCommand("copy"),document.body.removeChild(t),o&&(s.removeAllRanges(),s.addRange(o)),n&&n.focus()}}function p1(){$e&&window.addEventListener("click",e=>{var n,s;const t=e.target;if(t.matches(".vp-code-group input")){const o=(n=t.parentElement)==null?void 0:n.parentElement,r=Array.from((o==null?void 0:o.querySelectorAll("input"))||[]).indexOf(t),i=o==null?void 0:o.querySelector('div[class*="language-"].active'),l=(s=o==null?void 0:o.querySelectorAll('div[class*="language-"]'))==null?void 0:s[r];i&&l&&i!==l&&(i.classList.remove("active"),l.classList.add("active"))}})}const Mi=Kt.NotFound||(()=>"404 Not Found"),_1=R({name:"VitePressApp",setup(){const{site:e}=xi();return Ie(()=>{Lt(()=>{document.documentElement.lang=e.value.lang,document.documentElement.dir=e.value.dir})}),u1(),d1(),p1(),Kt.setup&&Kt.setup(),()=>Un(Kt.Layout)}});async function m1(){const e=g1(),t=v1();t.provide(bi,e);const n=Cc(e.route);return t.provide(gi,n),t.provide("NotFound",Mi),t.component("Content",Lc),t.component("ClientOnly",f1),Object.defineProperty(t.config.globalProperties,"$frontmatter",{get(){return n.frontmatter.value}}),Kt.enhanceApp&&await Kt.enhanceApp({app:t,router:e,siteData:ft}),{app:t,router:e,data:n}}function v1(){return dc(_1)}function g1(){let e=$e,t;return Tc(n=>{let s=yi(n);return e&&(t=s),(e||t===s)&&(s=s.replace(/\.js$/,".lean.js")),$e&&(e=!1),di(()=>import(s),[])},Mi)}$e&&m1().then(({app:e,router:t,data:n})=>{t.go().then(()=>{s1(t.route,n.site),e.mount("#app")})});export{F as _,$a as a,vt as b,g as c,m1 as createApp,R as d,ue as e,Ie as f,h as o,Vc as u,Je as w}; diff --git a/docs/assets/chunks/VPAlgoliaSearchBox.00fedfd3.js b/docs/assets/chunks/VPAlgoliaSearchBox.0b3d41b3.js similarity index 99% rename from docs/assets/chunks/VPAlgoliaSearchBox.00fedfd3.js rename to docs/assets/chunks/VPAlgoliaSearchBox.0b3d41b3.js index 8391c84..e094068 100644 --- a/docs/assets/chunks/VPAlgoliaSearchBox.00fedfd3.js +++ b/docs/assets/chunks/VPAlgoliaSearchBox.0b3d41b3.js @@ -1,4 +1,4 @@ -import{d as Pr,u as Ir,b as kr,e as Dr,f as Cr,w as Ar,o as xr,c as Nr}from"../app.411d0108.js";/*! @docsearch/js 3.3.2 | MIT License | © Algolia, Inc. and contributors | https://docsearch.algolia.com */function Ct(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function P(e){for(var t=1;t=0||(i[l]=c[l]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function Ve(e,t){return function(n){if(Array.isArray(n))return n}(e)||function(n,r){var o=n==null?null:typeof Symbol<"u"&&n[Symbol.iterator]||n["@@iterator"];if(o!=null){var a,c,u=[],l=!0,s=!1;try{for(o=o.call(n);!(l=(a=o.next()).done)&&(u.push(a.value),!r||u.length!==r);l=!0);}catch(i){s=!0,c=i}finally{try{l||o.return==null||o.return()}finally{if(s)throw c}}return u}}(e,t)||Mn(e,t)||function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. +import{d as Pr,u as Ir,b as kr,e as Dr,f as Cr,w as Ar,o as xr,c as Nr}from"../app.14bef1c5.js";/*! @docsearch/js 3.3.2 | MIT License | © Algolia, Inc. and contributors | https://docsearch.algolia.com */function Ct(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function P(e){for(var t=1;t=0||(i[l]=c[l]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function Ve(e,t){return function(n){if(Array.isArray(n))return n}(e)||function(n,r){var o=n==null?null:typeof Symbol<"u"&&n[Symbol.iterator]||n["@@iterator"];if(o!=null){var a,c,u=[],l=!0,s=!1;try{for(o=o.call(n);!(l=(a=o.next()).done)&&(u.push(a.value),!r||u.length!==r);l=!0);}catch(i){s=!0,c=i}finally{try{l||o.return==null||o.return()}finally{if(s)throw c}}return u}}(e,t)||Mn(e,t)||function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function We(e){return function(t){if(Array.isArray(t))return ft(t)}(e)||function(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}(e)||Mn(e)||function(){throw new TypeError(`Invalid attempt to spread non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function Mn(e,t){if(e){if(typeof e=="string")return ft(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ft(e,t):void 0}}function ft(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n3)for(n=[n],a=3;a0?Se(p.type,p.props,p.key,null,p.__v):p)!=null){if(p.__=n,p.__b=n.__b+1,(d=y[i])===null||d&&p.key==d.key&&p.type===d.type)y[i]=void 0;else for(m=0;m3)for(n=[n],a=3;a=n.__.length&&n.__.push({}),n.__[e]}function Zn(e){return ue=1,Yn(Xn,e)}function Yn(e,t,n){var r=ke(le++,2);return r.t=e,r.__c||(r.__=[n?n(t):Xn(void 0,t),function(o){var a=r.t(r.__[0],o);r.__[0]!==a&&(r.__=[a,r.__[1]],r.__c.setState({}))}],r.__c=T),r.__}function Gn(e,t){var n=ke(le++,3);!w.__s&&jt(n.__H,t)&&(n.__=e,n.__H=t,T.__H.__h.push(n))}function Ft(e,t){var n=ke(le++,4);!w.__s&&jt(n.__H,t)&&(n.__=e,n.__H=t,T.__h.push(n))}function rt(e,t){var n=ke(le++,7);return jt(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function Ur(){mt.forEach(function(e){if(e.__P)try{e.__H.__h.forEach(He),e.__H.__h.forEach(dt),e.__H.__h=[]}catch(t){e.__H.__h=[],w.__e(t,e.__v)}}),mt=[]}w.__b=function(e){T=null,Lt&&Lt(e)},w.__r=function(e){qt&&qt(e),le=0;var t=(T=e.__c).__H;t&&(t.__h.forEach(He),t.__h.forEach(dt),t.__h=[])},w.diffed=function(e){Mt&&Mt(e);var t=e.__c;t&&t.__H&&t.__H.__h.length&&(mt.push(t)!==1&&Tt===w.requestAnimationFrame||((Tt=w.requestAnimationFrame)||function(n){var r,o=function(){clearTimeout(a),Bt&&cancelAnimationFrame(r),setTimeout(n)},a=setTimeout(o,100);Bt&&(r=requestAnimationFrame(o))})(Ur)),T=void 0},w.__c=function(e,t){t.some(function(n){try{n.__h.forEach(He),n.__h=n.__h.filter(function(r){return!r.__||dt(r)})}catch(r){t.some(function(o){o.__h&&(o.__h=[])}),t=[],w.__e(r,n.__v)}}),Ht&&Ht(e,t)},w.unmount=function(e){Ut&&Ut(e);var t=e.__c;if(t&&t.__H)try{t.__H.__.forEach(He)}catch(n){w.__e(n,t.__v)}};var Bt=typeof requestAnimationFrame=="function";function He(e){var t=T;typeof e.__c=="function"&&e.__c(),T=t}function dt(e){var t=T;e.__c=e.__(),T=t}function jt(e,t){return!e||e.length!==t.length||t.some(function(n,r){return n!==e[r]})}function Xn(e,t){return typeof t=="function"?t(e):t}function er(e,t){for(var n in t)e[n]=t[n];return e}function ht(e,t){for(var n in e)if(n!=="__source"&&!(n in t))return!0;for(var r in t)if(r!=="__source"&&e[r]!==t[r])return!0;return!1}function vt(e){this.props=e}(vt.prototype=new W).isPureReactComponent=!0,vt.prototype.shouldComponentUpdate=function(e,t){return ht(this.props,e)||ht(this.state,t)};var Vt=w.__b;w.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),Vt&&Vt(e)};var Fr=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911,Wt=function(e,t){return e==null?null:J(J(e).map(t))},Br={map:Wt,forEach:Wt,count:function(e){return e?J(e).length:0},only:function(e){var t=J(e);if(t.length!==1)throw"Children.only";return t[0]},toArray:J},Vr=w.__e;function Ue(){this.__u=0,this.t=null,this.__b=null}function tr(e){var t=e.__.__c;return t&&t.__e&&t.__e(e)}function ge(){this.u=null,this.o=null}w.__e=function(e,t,n){if(e.then){for(var r,o=t;o=o.__;)if((r=o.__c)&&r.__c)return t.__e==null&&(t.__e=n.__e,t.__k=n.__k),r.__c(e,t)}Vr(e,t,n)},(Ue.prototype=new W).__c=function(e,t){var n=t.__c,r=this;r.t==null&&(r.t=[]),r.t.push(n);var o=tr(r.__v),a=!1,c=function(){a||(a=!0,n.componentWillUnmount=n.__c,o?o(u):u())};n.__c=n.componentWillUnmount,n.componentWillUnmount=function(){c(),n.__c&&n.__c()};var u=function(){if(!--r.__u){if(r.state.__e){var s=r.state.__e;r.__v.__k[0]=function m(d,p,v){return d&&(d.__v=null,d.__k=d.__k&&d.__k.map(function(h){return m(h,p,v)}),d.__c&&d.__c.__P===p&&(d.__e&&v.insertBefore(d.__e,d.__d),d.__c.__e=!0,d.__c.__P=v)),d}(s,s.__c.__P,s.__c.__O)}var i;for(r.setState({__e:r.__b=null});i=r.t.pop();)i.forceUpdate()}},l=t.__h===!0;r.__u++||l||r.setState({__e:r.__b=r.__v.__k[0]}),e.then(c,c)},Ue.prototype.componentWillUnmount=function(){this.t=[]},Ue.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=function a(c,u,l){return c&&(c.__c&&c.__c.__H&&(c.__c.__H.__.forEach(function(s){typeof s.__c=="function"&&s.__c()}),c.__c.__H=null),(c=er({},c)).__c!=null&&(c.__c.__P===l&&(c.__c.__P=u),c.__c=null),c.__k=c.__k&&c.__k.map(function(s){return a(s,u,l)})),c}(this.__b,n,r.__O=r.__P)}this.__b=null}var o=t.__e&&V(Z,null,e.fallback);return o&&(o.__h=null),[V(Z,null,t.__e?null:e.children),o]};var Kt=function(e,t,n){if(++n[1]===n[0]&&e.o.delete(t),e.props.revealOrder&&(e.props.revealOrder[0]!=="t"||!e.o.size))for(n=e.u;n;){for(;n.length>3;)n.pop()();if(n[1]>>1,1),t.i.removeChild(r)}}),Pe(V(Wr,{context:t.context},e.__v),t.l)):t.l&&t.componentWillUnmount()}function nr(e,t){return V(Kr,{__v:e,i:t})}(ge.prototype=new W).__e=function(e){var t=this,n=tr(t.__v),r=t.o.get(e);return r[0]++,function(o){var a=function(){t.props.revealOrder?(r.push(o),Kt(t,e,r)):o()};n?n(a):a()}},ge.prototype.render=function(e){this.u=null,this.o=new Map;var t=J(e.children);e.revealOrder&&e.revealOrder[0]==="b"&&t.reverse();for(var n=t.length;n--;)this.o.set(t[n],this.u=[1,0,this.u]);return e.children},ge.prototype.componentDidUpdate=ge.prototype.componentDidMount=function(){var e=this;this.o.forEach(function(t,n){Kt(e,n,t)})};var rr=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,zr=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|fill|flood|font|glyph(?!R)|horiz|marker(?!H|W|U)|overline|paint|stop|strikethrough|stroke|text(?!L)|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,Jr=function(e){return(typeof Symbol<"u"&&Ee(Symbol())=="symbol"?/fil|che|rad/i:/fil|che|ra/i).test(e)};function or(e,t,n){return t.__k==null&&(t.textContent=""),Pe(e,t),typeof n=="function"&&n(),e?e.__c:null}W.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(W.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var zt=w.event;function $r(){}function Qr(){return this.cancelBubble}function Zr(){return this.defaultPrevented}w.event=function(e){return zt&&(e=zt(e)),e.persist=$r,e.isPropagationStopped=Qr,e.isDefaultPrevented=Zr,e.nativeEvent=e};var ar,Jt={configurable:!0,get:function(){return this.class}},$t=w.vnode;w.vnode=function(e){var t=e.type,n=e.props,r=n;if(typeof t=="string"){for(var o in r={},n){var a=n[o];o==="value"&&"defaultValue"in n&&a==null||(o==="defaultValue"&&"value"in n&&n.value==null?o="value":o==="download"&&a===!0?a="":/ondoubleclick/i.test(o)?o="ondblclick":/^onchange(textarea|input)/i.test(o+t)&&!Jr(n.type)?o="oninput":/^on(Ani|Tra|Tou|BeforeInp)/.test(o)?o=o.toLowerCase():zr.test(o)?o=o.replace(/[A-Z0-9]/,"-$&").toLowerCase():a===null&&(a=void 0),r[o]=a)}t=="select"&&r.multiple&&Array.isArray(r.value)&&(r.value=J(n.children).forEach(function(c){c.props.selected=r.value.indexOf(c.props.value)!=-1})),t=="select"&&r.defaultValue!=null&&(r.value=J(n.children).forEach(function(c){c.props.selected=r.multiple?r.defaultValue.indexOf(c.props.value)!=-1:r.defaultValue==c.props.value})),e.props=r}t&&n.class!=n.className&&(Jt.enumerable="className"in n,n.className!=null&&(r.class=n.className),Object.defineProperty(r,"className",Jt)),e.$$typeof=rr,$t&&$t(e)};var Qt=w.__r;w.__r=function(e){Qt&&Qt(e),ar=e.__c};var Yr={ReactCurrentDispatcher:{current:{readContext:function(e){return ar.__n[e.__c].props.value}}}};(typeof performance>"u"?"undefined":Ee(performance))=="object"&&typeof performance.now=="function"&&performance.now.bind(performance);function Zt(e){return!!e&&e.$$typeof===rr}var f={useState:Zn,useReducer:Yn,useEffect:Gn,useLayoutEffect:Ft,useRef:function(e){return ue=5,rt(function(){return{current:e}},[])},useImperativeHandle:function(e,t,n){ue=6,Ft(function(){typeof e=="function"?e(t()):e&&(e.current=t())},n==null?n:n.concat(e))},useMemo:rt,useCallback:function(e,t){return ue=8,rt(function(){return e},t)},useContext:function(e){var t=T.context[e.__c],n=ke(le++,9);return n.__c=e,t?(n.__==null&&(n.__=!0,t.sub(T)),t.props.value):e.__},useDebugValue:function(e,t){w.useDebugValue&&w.useDebugValue(t?t(e):e)},version:"16.8.0",Children:Br,render:or,hydrate:function(e,t,n){return Qn(e,t),typeof n=="function"&&n(),e?e.__c:null},unmountComponentAtNode:function(e){return!!e.__k&&(Pe(null,e),!0)},createPortal:nr,createElement:V,createContext:function(e,t){var n={__c:t="__cC"+Un++,__:e,Consumer:function(r,o){return r.children(o)},Provider:function(r){var o,a;return this.getChildContext||(o=[],(a={})[t]=this,this.getChildContext=function(){return a},this.shouldComponentUpdate=function(c){this.props.value!==c.value&&o.some(pt)},this.sub=function(c){o.push(c);var u=c.componentWillUnmount;c.componentWillUnmount=function(){o.splice(o.indexOf(c),1),u&&u.call(c)}}),r.children}};return n.Provider.__=n.Consumer.contextType=n},createFactory:function(e){return V.bind(null,e)},cloneElement:function(e){return Zt(e)?Hr.apply(null,arguments):e},createRef:function(){return{current:null}},Fragment:Z,isValidElement:Zt,findDOMNode:function(e){return e&&(e.base||e.nodeType===1&&e)||null},Component:W,PureComponent:vt,memo:function(e,t){function n(o){var a=this.props.ref,c=a==o.ref;return!c&&a&&(a.call?a(null):a.current=null),t?!t(this.props,o)||!c:ht(this.props,o)}function r(o){return this.shouldComponentUpdate=n,V(e,o)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r},forwardRef:function(e){function t(n,r){var o=er({},n);return delete o.ref,e(o,(r=n.ref||r)&&(Ee(r)!="object"||"current"in r)?r:null)}return t.$$typeof=Fr,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t},unstable_batchedUpdates:function(e,t){return e(t)},StrictMode:Z,Suspense:Ue,SuspenseList:ge,lazy:function(e){var t,n,r;function o(a){if(t||(t=e()).then(function(c){n=c.default||c},function(c){r=c}),r)throw r;if(!n)throw t;return V(n,a)}return o.displayName="Lazy",o.__f=!0,o},__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Yr};function Gr(){return f.createElement("svg",{width:"15",height:"15",className:"DocSearch-Control-Key-Icon"},f.createElement("path",{d:"M4.505 4.496h2M5.505 5.496v5M8.216 4.496l.055 5.993M10 7.5c.333.333.5.667.5 1v2M12.326 4.5v5.996M8.384 4.496c1.674 0 2.116 0 2.116 1.5s-.442 1.5-2.116 1.5M3.205 9.303c-.09.448-.277 1.21-1.241 1.203C1 10.5.5 9.513.5 8V7c0-1.57.5-2.5 1.464-2.494.964.006 1.134.598 1.24 1.342M12.553 10.5h1.953",strokeWidth:"1.2",stroke:"currentColor",fill:"none",strokeLinecap:"square"}))}function cr(){return f.createElement("svg",{width:"20",height:"20",className:"DocSearch-Search-Icon",viewBox:"0 0 20 20"},f.createElement("path",{d:"M14.386 14.386l4.0877 4.0877-4.0877-4.0877c-2.9418 2.9419-7.7115 2.9419-10.6533 0-2.9419-2.9418-2.9419-7.7115 0-10.6533 2.9418-2.9419 7.7115-2.9419 10.6533 0 2.9419 2.9418 2.9419 7.7115 0 10.6533z",stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round"}))}var Xr=["translations"];function yt(){return yt=Object.assign||function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0||(i[l]=c[l]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var no=f.forwardRef(function(e,t){var n=e.translations,r=n===void 0?{}:n,o=to(e,Xr),a=r.buttonText,c=a===void 0?"Search":a,u=r.buttonAriaLabel,l=u===void 0?"Search":u,s=eo(Zn(null),2),i=s[0],m=s[1];return Gn(function(){typeof navigator<"u"&&(/(Mac|iPhone|iPod|iPad)/i.test(navigator.platform)?m("⌘"):m("Ctrl"))},[]),f.createElement("button",yt({type:"button",className:"DocSearch DocSearch-Button","aria-label":l},o,{ref:t}),f.createElement("span",{className:"DocSearch-Button-Container"},f.createElement(cr,null),f.createElement("span",{className:"DocSearch-Button-Placeholder"},c)),f.createElement("span",{className:"DocSearch-Button-Keys"},i!==null&&f.createElement(f.Fragment,null,f.createElement("kbd",{className:"DocSearch-Button-Key"},i==="Ctrl"?f.createElement(Gr,null):i),f.createElement("kbd",{className:"DocSearch-Button-Key"},"K"))))});function Ie(e){return e.reduce(function(t,n){return t.concat(n)},[])}var ro=0;function _t(e){return e.collections.length===0?0:e.collections.reduce(function(t,n){return t+n.items.length},0)}var ir=function(){},oo=[{segment:"autocomplete-core",version:"1.7.4"}];function Fe(e,t){var n=t;return{then:function(r,o){return Fe(e.then(xe(r,n,e),xe(o,n,e)),n)},catch:function(r){return Fe(e.catch(xe(r,n,e)),n)},finally:function(r){return r&&n.onCancelList.push(r),Fe(e.finally(xe(r&&function(){return n.onCancelList=[],r()},n,e)),n)},cancel:function(){n.isCanceled=!0;var r=n.onCancelList;n.onCancelList=[],r.forEach(function(o){o()})},isCanceled:function(){return n.isCanceled===!0}}}function Gt(e){return Fe(e,{isCanceled:!1,onCancelList:[]})}function xe(e,t,n){return e?function(r){return t.isCanceled?r:e(r)}:n}function Xt(e,t,n,r){if(!n)return null;if(e<0&&(t===null||r!==null&&t===0))return n+e;var o=(t===null?-1:t)+e;return o<=-1||o>=n?r===null?null:0:o}function en(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function ao(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function co(e,t){var n=[];return Promise.resolve(e(t)).then(function(r){return Promise.all(r.filter(function(o){return Boolean(o)}).map(function(o){if(o.sourceId,n.includes(o.sourceId))throw new Error("[Autocomplete] The `sourceId` ".concat(JSON.stringify(o.sourceId)," is not unique."));n.push(o.sourceId);var a=function(c){for(var u=1;uCore

This page is about the PeyrSharp.Core module.

Compatibility

The PeyrSharp.Core module is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Namespaces

The Core namespace contains other namespaces:

Classes

',10),i=[o];function l(d,h,c,n,m,p){return a(),t("div",null,i)}const f=e(s,[["render",l]]);export{u as __pageData,f as default}; +import{_ as e,c as t,o as a,a as r}from"./app.14bef1c5.js";const u=JSON.parse('{"title":"Core","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Namespaces","slug":"namespaces","link":"#namespaces","children":[]},{"level":2,"title":"Classes","slug":"classes","link":"#classes","children":[]}],"relativePath":"core.md","lastUpdated":1666705294000}'),s={name:"core.md"},o=r('

Core

This page is about the PeyrSharp.Core module.

Compatibility

The PeyrSharp.Core module is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Namespaces

The Core namespace contains other namespaces:

Classes

',10),i=[o];function l(d,h,c,n,m,p){return a(),t("div",null,i)}const f=e(s,[["render",l]]);export{u as __pageData,f as default}; diff --git a/docs/assets/core.md.61afda0b.lean.js b/docs/assets/core.md.4c5769d2.lean.js similarity index 89% rename from docs/assets/core.md.61afda0b.lean.js rename to docs/assets/core.md.4c5769d2.lean.js index 37cdcaa..3bf31c4 100644 --- a/docs/assets/core.md.61afda0b.lean.js +++ b/docs/assets/core.md.4c5769d2.lean.js @@ -1 +1 @@ -import{_ as e,c as t,o as a,a as r}from"./app.411d0108.js";const u=JSON.parse('{"title":"Core","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Namespaces","slug":"namespaces","link":"#namespaces","children":[]},{"level":2,"title":"Classes","slug":"classes","link":"#classes","children":[]}],"relativePath":"core.md","lastUpdated":1666705294000}'),s={name:"core.md"},o=r("",10),i=[o];function l(d,h,c,n,m,p){return a(),t("div",null,i)}const f=e(s,[["render",l]]);export{u as __pageData,f as default}; +import{_ as e,c as t,o as a,a as r}from"./app.14bef1c5.js";const u=JSON.parse('{"title":"Core","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Namespaces","slug":"namespaces","link":"#namespaces","children":[]},{"level":2,"title":"Classes","slug":"classes","link":"#classes","children":[]}],"relativePath":"core.md","lastUpdated":1666705294000}'),s={name:"core.md"},o=r("",10),i=[o];function l(d,h,c,n,m,p){return a(),t("div",null,i)}const f=e(s,[["render",l]]);export{u as __pageData,f as default}; diff --git a/docs/assets/core_converters.md.208ac152.js b/docs/assets/core_converters.md.b77286f0.js similarity index 97% rename from docs/assets/core_converters.md.208ac152.js rename to docs/assets/core_converters.md.b77286f0.js index efe69c1..5e084e7 100644 --- a/docs/assets/core_converters.md.208ac152.js +++ b/docs/assets/core_converters.md.b77286f0.js @@ -1 +1 @@ -import{_ as e,c as t,o as r,a}from"./app.411d0108.js";const _=JSON.parse('{"title":"Converters","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Classes","slug":"classes","link":"#classes","children":[]}],"relativePath":"core/converters.md","lastUpdated":1666629081000}'),o={name:"core/converters.md"},s=a('

Converters

This page is about the Converters namespace available in PeyrSharp.Core. You can find here all of its classes.

Compatibility

The Converters namespace is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Classes

',7),l=[s];function i(c,d,h,n,m,p){return r(),t("div",null,l)}const v=e(o,[["render",i]]);export{_ as __pageData,v as default}; +import{_ as e,c as t,o as r,a}from"./app.14bef1c5.js";const _=JSON.parse('{"title":"Converters","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Classes","slug":"classes","link":"#classes","children":[]}],"relativePath":"core/converters.md","lastUpdated":1666629081000}'),o={name:"core/converters.md"},s=a('

Converters

This page is about the Converters namespace available in PeyrSharp.Core. You can find here all of its classes.

Compatibility

The Converters namespace is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Classes

',7),l=[s];function i(c,d,h,n,m,p){return r(),t("div",null,l)}const v=e(o,[["render",i]]);export{_ as __pageData,v as default}; diff --git a/docs/assets/core_converters.md.208ac152.lean.js b/docs/assets/core_converters.md.b77286f0.lean.js similarity index 88% rename from docs/assets/core_converters.md.208ac152.lean.js rename to docs/assets/core_converters.md.b77286f0.lean.js index 0de5300..a8d14a2 100644 --- a/docs/assets/core_converters.md.208ac152.lean.js +++ b/docs/assets/core_converters.md.b77286f0.lean.js @@ -1 +1 @@ -import{_ as e,c as t,o as r,a}from"./app.411d0108.js";const _=JSON.parse('{"title":"Converters","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Classes","slug":"classes","link":"#classes","children":[]}],"relativePath":"core/converters.md","lastUpdated":1666629081000}'),o={name:"core/converters.md"},s=a("",7),l=[s];function i(c,d,h,n,m,p){return r(),t("div",null,l)}const v=e(o,[["render",i]]);export{_ as __pageData,v as default}; +import{_ as e,c as t,o as r,a}from"./app.14bef1c5.js";const _=JSON.parse('{"title":"Converters","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Classes","slug":"classes","link":"#classes","children":[]}],"relativePath":"core/converters.md","lastUpdated":1666629081000}'),o={name:"core/converters.md"},s=a("",7),l=[s];function i(c,d,h,n,m,p){return r(),t("div",null,l)}const v=e(o,[["render",i]]);export{_ as __pageData,v as default}; diff --git a/docs/assets/core_converters_angle.md.a13ad9f0.js b/docs/assets/core_converters_angle.md.1168232a.js similarity index 98% rename from docs/assets/core_converters_angle.md.a13ad9f0.js rename to docs/assets/core_converters_angle.md.1168232a.js index b8954ab..690a3a7 100644 --- a/docs/assets/core_converters_angle.md.a13ad9f0.js +++ b/docs/assets/core_converters_angle.md.1168232a.js @@ -1,4 +1,4 @@ -import{_ as e,c as a,o as s,a as t}from"./app.411d0108.js";const y=JSON.parse('{"title":"Angle","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"DegreesToRadians(degrees)","slug":"degreestoradians-degrees","link":"#degreestoradians-degrees","children":[]},{"level":3,"title":"RadiansToDegrees(radians)","slug":"radianstodegrees-radians","link":"#radianstodegrees-radians","children":[]}]}],"relativePath":"core/converters/angle.md","lastUpdated":1666626451000}'),n={name:"core/converters/angle.md"},r=t(`

Angle

This page is about the Angle class available in PeyrSharp.Core.Converters. You can find here all of its methods.

INFO

This class is static.

Compatibility

The Angle class is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Methods

DegreesToRadians(degrees)

Definition

Converts degrees to radians. Returns a double value.

Arguments

TypeNameMeaning
doubledegreesNumber of degrees to convert.

Usage

c#
using PeyrSharp.Core.Converters;
+import{_ as e,c as a,o as s,a as t}from"./app.14bef1c5.js";const y=JSON.parse('{"title":"Angle","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"DegreesToRadians(degrees)","slug":"degreestoradians-degrees","link":"#degreestoradians-degrees","children":[]},{"level":3,"title":"RadiansToDegrees(radians)","slug":"radianstodegrees-radians","link":"#radianstodegrees-radians","children":[]}]}],"relativePath":"core/converters/angle.md","lastUpdated":1666626451000}'),n={name:"core/converters/angle.md"},r=t(`

Angle

This page is about the Angle class available in PeyrSharp.Core.Converters. You can find here all of its methods.

INFO

This class is static.

Compatibility

The Angle class is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Methods

DegreesToRadians(degrees)

Definition

Converts degrees to radians. Returns a double value.

Arguments

TypeNameMeaning
doubledegreesNumber of degrees to convert.

Usage

c#
using PeyrSharp.Core.Converters;
 
 double radians = Angle.DegreesToRadians(90);
 // radians = 1.5707963271535559
diff --git a/docs/assets/core_converters_angle.md.a13ad9f0.lean.js b/docs/assets/core_converters_angle.md.1168232a.lean.js
similarity index 92%
rename from docs/assets/core_converters_angle.md.a13ad9f0.lean.js
rename to docs/assets/core_converters_angle.md.1168232a.lean.js
index 321d276..f206e9d 100644
--- a/docs/assets/core_converters_angle.md.a13ad9f0.lean.js
+++ b/docs/assets/core_converters_angle.md.1168232a.lean.js
@@ -1 +1 @@
-import{_ as e,c as a,o as s,a as t}from"./app.411d0108.js";const y=JSON.parse('{"title":"Angle","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"DegreesToRadians(degrees)","slug":"degreestoradians-degrees","link":"#degreestoradians-degrees","children":[]},{"level":3,"title":"RadiansToDegrees(radians)","slug":"radianstodegrees-radians","link":"#radianstodegrees-radians","children":[]}]}],"relativePath":"core/converters/angle.md","lastUpdated":1666626451000}'),n={name:"core/converters/angle.md"},r=t("",21),o=[r];function d(l,i,c,p,h,g){return s(),a("div",null,o)}const b=e(n,[["render",d]]);export{y as __pageData,b as default};
+import{_ as e,c as a,o as s,a as t}from"./app.14bef1c5.js";const y=JSON.parse('{"title":"Angle","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"DegreesToRadians(degrees)","slug":"degreestoradians-degrees","link":"#degreestoradians-degrees","children":[]},{"level":3,"title":"RadiansToDegrees(radians)","slug":"radianstodegrees-radians","link":"#radianstodegrees-radians","children":[]}]}],"relativePath":"core/converters/angle.md","lastUpdated":1666626451000}'),n={name:"core/converters/angle.md"},r=t("",21),o=[r];function d(l,i,c,p,h,g){return s(),a("div",null,o)}const b=e(n,[["render",d]]);export{y as __pageData,b as default};
diff --git a/docs/assets/core_converters_colors_hex.md.f7081e85.js b/docs/assets/core_converters_colors_hex.md.0273f5df.js
similarity index 99%
rename from docs/assets/core_converters_colors_hex.md.f7081e85.js
rename to docs/assets/core_converters_colors_hex.md.0273f5df.js
index 9bffb77..cfce1fa 100644
--- a/docs/assets/core_converters_colors_hex.md.f7081e85.js
+++ b/docs/assets/core_converters_colors_hex.md.0273f5df.js
@@ -1,4 +1,4 @@
-import{_ as e,c as a,o as s,a as t}from"./app.411d0108.js";const C=JSON.parse('{"title":"HEX","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Constructors","slug":"constructors","link":"#constructors","children":[{"level":3,"title":"HEX(hex)","slug":"hex-hex","link":"#hex-hex","children":[]}]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"ToRgb()","slug":"torgb","link":"#torgb","children":[]},{"level":3,"title":"ToHsv()","slug":"tohsv","link":"#tohsv","children":[]}]},{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"Value","slug":"value","link":"#value","children":[]}]}],"relativePath":"core/converters/colors/hex.md","lastUpdated":1666628903000}'),n={name:"core/converters/colors/hex.md"},o=t(`

HEX

This page is about the HEX class available in PeyrSharp.Core.Converters. You can find here all of its methods and properties.

Compatibility

The HEX class is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Constructors

HEX(hex)

Initializes a hexadecimal class from a hexadecimal value.

Arguments

TypeNameMeaning
stringhexThe hexadecimal value (with or without #).

WARNING

If you specify a non-hexadecimal value, a HEXInvalidValueException will be thrown.

Usage

c#
using PeyrSharp.Core.Converters;
+import{_ as e,c as a,o as s,a as t}from"./app.14bef1c5.js";const C=JSON.parse('{"title":"HEX","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Constructors","slug":"constructors","link":"#constructors","children":[{"level":3,"title":"HEX(hex)","slug":"hex-hex","link":"#hex-hex","children":[]}]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"ToRgb()","slug":"torgb","link":"#torgb","children":[]},{"level":3,"title":"ToHsv()","slug":"tohsv","link":"#tohsv","children":[]}]},{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"Value","slug":"value","link":"#value","children":[]}]}],"relativePath":"core/converters/colors/hex.md","lastUpdated":1666628903000}'),n={name:"core/converters/colors/hex.md"},o=t(`

HEX

This page is about the HEX class available in PeyrSharp.Core.Converters. You can find here all of its methods and properties.

Compatibility

The HEX class is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Constructors

HEX(hex)

Initializes a hexadecimal class from a hexadecimal value.

Arguments

TypeNameMeaning
stringhexThe hexadecimal value (with or without #).

WARNING

If you specify a non-hexadecimal value, a HEXInvalidValueException will be thrown.

Usage

c#
using PeyrSharp.Core.Converters;
 
 HEX hex = new("#FF0A17");
 

Methods

ToRgb()

Definition

Converts the HEX color to RGB. Returns a RGB class.

Arguments

This method has no arguments.

Usage

c#
using PeyrSharp.Core.Converters;
diff --git a/docs/assets/core_converters_colors_hex.md.f7081e85.lean.js b/docs/assets/core_converters_colors_hex.md.0273f5df.lean.js
similarity index 93%
rename from docs/assets/core_converters_colors_hex.md.f7081e85.lean.js
rename to docs/assets/core_converters_colors_hex.md.0273f5df.lean.js
index a007b68..d5668f9 100644
--- a/docs/assets/core_converters_colors_hex.md.f7081e85.lean.js
+++ b/docs/assets/core_converters_colors_hex.md.0273f5df.lean.js
@@ -1 +1 @@
-import{_ as e,c as a,o as s,a as t}from"./app.411d0108.js";const C=JSON.parse('{"title":"HEX","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Constructors","slug":"constructors","link":"#constructors","children":[{"level":3,"title":"HEX(hex)","slug":"hex-hex","link":"#hex-hex","children":[]}]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"ToRgb()","slug":"torgb","link":"#torgb","children":[]},{"level":3,"title":"ToHsv()","slug":"tohsv","link":"#tohsv","children":[]}]},{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"Value","slug":"value","link":"#value","children":[]}]}],"relativePath":"core/converters/colors/hex.md","lastUpdated":1666628903000}'),n={name:"core/converters/colors/hex.md"},o=t("",33),r=[o];function l(c,i,p,h,d,u){return s(),a("div",null,r)}const F=e(n,[["render",l]]);export{C as __pageData,F as default};
+import{_ as e,c as a,o as s,a as t}from"./app.14bef1c5.js";const C=JSON.parse('{"title":"HEX","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Constructors","slug":"constructors","link":"#constructors","children":[{"level":3,"title":"HEX(hex)","slug":"hex-hex","link":"#hex-hex","children":[]}]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"ToRgb()","slug":"torgb","link":"#torgb","children":[]},{"level":3,"title":"ToHsv()","slug":"tohsv","link":"#tohsv","children":[]}]},{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"Value","slug":"value","link":"#value","children":[]}]}],"relativePath":"core/converters/colors/hex.md","lastUpdated":1666628903000}'),n={name:"core/converters/colors/hex.md"},o=t("",33),r=[o];function l(c,i,p,h,d,u){return s(),a("div",null,r)}const F=e(n,[["render",l]]);export{C as __pageData,F as default};
diff --git a/docs/assets/core_converters_colors_hsv.md.294632d5.js b/docs/assets/core_converters_colors_hsv.md.85c1fdfd.js
similarity index 99%
rename from docs/assets/core_converters_colors_hsv.md.294632d5.js
rename to docs/assets/core_converters_colors_hsv.md.85c1fdfd.js
index 8bdf50a..6eedf6f 100644
--- a/docs/assets/core_converters_colors_hsv.md.294632d5.js
+++ b/docs/assets/core_converters_colors_hsv.md.85c1fdfd.js
@@ -1,4 +1,4 @@
-import{_ as e,c as a,o as t,a as s}from"./app.411d0108.js";const C=JSON.parse('{"title":"HSV","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Constructors","slug":"constructors","link":"#constructors","children":[{"level":3,"title":"HSV(hue, saturation, value)","slug":"hsv-hue-saturation-value","link":"#hsv-hue-saturation-value","children":[]}]},{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"Hue","slug":"hue","link":"#hue","children":[]},{"level":3,"title":"Saturation","slug":"saturation","link":"#saturation","children":[]},{"level":3,"title":"Value","slug":"value","link":"#value","children":[]}]}],"relativePath":"core/converters/colors/hsv.md","lastUpdated":1666628914000}'),n={name:"core/converters/colors/hsv.md"},o=s(`

HSV

This page is about the HSV class available in PeyrSharp.Core.Converters. You can find here all of its methods and properties.

Compatibility

The HSV class is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Constructors

HSV(hue, saturation, value)

Definition

Initializes a HSV color from its hue, saturation, and value.

Arguments

TypeNameMeaning
inthueThe Hue of the color.
intsaturationThe saturation percentage.
intvalueThe value/brightness percentage.

Usage

c#
using PeyrSharp.Core.Converters;
+import{_ as e,c as a,o as t,a as s}from"./app.14bef1c5.js";const C=JSON.parse('{"title":"HSV","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Constructors","slug":"constructors","link":"#constructors","children":[{"level":3,"title":"HSV(hue, saturation, value)","slug":"hsv-hue-saturation-value","link":"#hsv-hue-saturation-value","children":[]}]},{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"Hue","slug":"hue","link":"#hue","children":[]},{"level":3,"title":"Saturation","slug":"saturation","link":"#saturation","children":[]},{"level":3,"title":"Value","slug":"value","link":"#value","children":[]}]}],"relativePath":"core/converters/colors/hsv.md","lastUpdated":1666628914000}'),n={name:"core/converters/colors/hsv.md"},o=s(`

HSV

This page is about the HSV class available in PeyrSharp.Core.Converters. You can find here all of its methods and properties.

Compatibility

The HSV class is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Constructors

HSV(hue, saturation, value)

Definition

Initializes a HSV color from its hue, saturation, and value.

Arguments

TypeNameMeaning
inthueThe Hue of the color.
intsaturationThe saturation percentage.
intvalueThe value/brightness percentage.

Usage

c#
using PeyrSharp.Core.Converters;
 
 HSV hsv = new(50, 75, 100);
 

Properties

Hue

Definition

c#
public int Hue { get; init; }
diff --git a/docs/assets/core_converters_colors_hsv.md.294632d5.lean.js b/docs/assets/core_converters_colors_hsv.md.85c1fdfd.lean.js
similarity index 93%
rename from docs/assets/core_converters_colors_hsv.md.294632d5.lean.js
rename to docs/assets/core_converters_colors_hsv.md.85c1fdfd.lean.js
index e4f85b6..965fbe1 100644
--- a/docs/assets/core_converters_colors_hsv.md.294632d5.lean.js
+++ b/docs/assets/core_converters_colors_hsv.md.85c1fdfd.lean.js
@@ -1 +1 @@
-import{_ as e,c as a,o as t,a as s}from"./app.411d0108.js";const C=JSON.parse('{"title":"HSV","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Constructors","slug":"constructors","link":"#constructors","children":[{"level":3,"title":"HSV(hue, saturation, value)","slug":"hsv-hue-saturation-value","link":"#hsv-hue-saturation-value","children":[]}]},{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"Hue","slug":"hue","link":"#hue","children":[]},{"level":3,"title":"Saturation","slug":"saturation","link":"#saturation","children":[]},{"level":3,"title":"Value","slug":"value","link":"#value","children":[]}]}],"relativePath":"core/converters/colors/hsv.md","lastUpdated":1666628914000}'),n={name:"core/converters/colors/hsv.md"},o=s("",26),r=[o];function l(i,c,d,p,h,u){return t(),a("div",null,r)}const D=e(n,[["render",l]]);export{C as __pageData,D as default};
+import{_ as e,c as a,o as t,a as s}from"./app.14bef1c5.js";const C=JSON.parse('{"title":"HSV","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Constructors","slug":"constructors","link":"#constructors","children":[{"level":3,"title":"HSV(hue, saturation, value)","slug":"hsv-hue-saturation-value","link":"#hsv-hue-saturation-value","children":[]}]},{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"Hue","slug":"hue","link":"#hue","children":[]},{"level":3,"title":"Saturation","slug":"saturation","link":"#saturation","children":[]},{"level":3,"title":"Value","slug":"value","link":"#value","children":[]}]}],"relativePath":"core/converters/colors/hsv.md","lastUpdated":1666628914000}'),n={name:"core/converters/colors/hsv.md"},o=s("",26),r=[o];function l(i,c,d,p,h,u){return t(),a("div",null,r)}const D=e(n,[["render",l]]);export{C as __pageData,D as default};
diff --git a/docs/assets/core_converters_colors_rgb.md.a2d7683a.js b/docs/assets/core_converters_colors_rgb.md.0d0753c5.js
similarity index 99%
rename from docs/assets/core_converters_colors_rgb.md.a2d7683a.js
rename to docs/assets/core_converters_colors_rgb.md.0d0753c5.js
index c43bd15..641b480 100644
--- a/docs/assets/core_converters_colors_rgb.md.a2d7683a.js
+++ b/docs/assets/core_converters_colors_rgb.md.0d0753c5.js
@@ -1,4 +1,4 @@
-import{_ as s,c as a,o as e,a as n}from"./app.411d0108.js";const F=JSON.parse('{"title":"RGB","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Constructors","slug":"constructors","link":"#constructors","children":[{"level":3,"title":"RGB(color)","slug":"rgb-color","link":"#rgb-color","children":[]},{"level":3,"title":"RGB(r, g, b)","slug":"rgb-r-g-b","link":"#rgb-r-g-b","children":[]}]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"ToHex()","slug":"tohex","link":"#tohex","children":[]},{"level":3,"title":"ToHsv()","slug":"tohsv","link":"#tohsv","children":[]}]},{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"Color","slug":"color","link":"#color","children":[]}]}],"relativePath":"core/converters/colors/rgb.md","lastUpdated":1666628921000}'),o={name:"core/converters/colors/rgb.md"},t=n(`

RGB

This page is about the RGB class available in PeyrSharp.Core.Converters. You can find here all of its methods and properties.

Compatibility

The RGB class is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Constructors

RGB(color)

Definition

Initializes a RGB class from a System.Drawing.Color. Returns a RGB class.

Arguments

TypeNameMeaning
ColorcolorThe RGB color.

Usage

c#
using PeyrSharp.Core.Converters;
+import{_ as s,c as a,o as e,a as n}from"./app.14bef1c5.js";const F=JSON.parse('{"title":"RGB","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Constructors","slug":"constructors","link":"#constructors","children":[{"level":3,"title":"RGB(color)","slug":"rgb-color","link":"#rgb-color","children":[]},{"level":3,"title":"RGB(r, g, b)","slug":"rgb-r-g-b","link":"#rgb-r-g-b","children":[]}]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"ToHex()","slug":"tohex","link":"#tohex","children":[]},{"level":3,"title":"ToHsv()","slug":"tohsv","link":"#tohsv","children":[]}]},{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"Color","slug":"color","link":"#color","children":[]}]}],"relativePath":"core/converters/colors/rgb.md","lastUpdated":1666628921000}'),o={name:"core/converters/colors/rgb.md"},t=n(`

RGB

This page is about the RGB class available in PeyrSharp.Core.Converters. You can find here all of its methods and properties.

Compatibility

The RGB class is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Constructors

RGB(color)

Definition

Initializes a RGB class from a System.Drawing.Color. Returns a RGB class.

Arguments

TypeNameMeaning
ColorcolorThe RGB color.

Usage

c#
using PeyrSharp.Core.Converters;
 using System.Drawing;
 
 RGB rgb = new(Color.FromArgb(255, 150, 120));
diff --git a/docs/assets/core_converters_colors_rgb.md.a2d7683a.lean.js b/docs/assets/core_converters_colors_rgb.md.0d0753c5.lean.js
similarity index 94%
rename from docs/assets/core_converters_colors_rgb.md.a2d7683a.lean.js
rename to docs/assets/core_converters_colors_rgb.md.0d0753c5.lean.js
index 3c61a6b..40ee64d 100644
--- a/docs/assets/core_converters_colors_rgb.md.a2d7683a.lean.js
+++ b/docs/assets/core_converters_colors_rgb.md.0d0753c5.lean.js
@@ -1 +1 @@
-import{_ as s,c as a,o as e,a as n}from"./app.411d0108.js";const F=JSON.parse('{"title":"RGB","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Constructors","slug":"constructors","link":"#constructors","children":[{"level":3,"title":"RGB(color)","slug":"rgb-color","link":"#rgb-color","children":[]},{"level":3,"title":"RGB(r, g, b)","slug":"rgb-r-g-b","link":"#rgb-r-g-b","children":[]}]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"ToHex()","slug":"tohex","link":"#tohex","children":[]},{"level":3,"title":"ToHsv()","slug":"tohsv","link":"#tohsv","children":[]}]},{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"Color","slug":"color","link":"#color","children":[]}]}],"relativePath":"core/converters/colors/rgb.md","lastUpdated":1666628921000}'),o={name:"core/converters/colors/rgb.md"},t=n("",41),r=[t];function l(c,p,i,d,h,C){return e(),a("div",null,r)}const g=s(o,[["render",l]]);export{F as __pageData,g as default};
+import{_ as s,c as a,o as e,a as n}from"./app.14bef1c5.js";const F=JSON.parse('{"title":"RGB","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Constructors","slug":"constructors","link":"#constructors","children":[{"level":3,"title":"RGB(color)","slug":"rgb-color","link":"#rgb-color","children":[]},{"level":3,"title":"RGB(r, g, b)","slug":"rgb-r-g-b","link":"#rgb-r-g-b","children":[]}]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"ToHex()","slug":"tohex","link":"#tohex","children":[]},{"level":3,"title":"ToHsv()","slug":"tohsv","link":"#tohsv","children":[]}]},{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"Color","slug":"color","link":"#color","children":[]}]}],"relativePath":"core/converters/colors/rgb.md","lastUpdated":1666628921000}'),o={name:"core/converters/colors/rgb.md"},t=n("",41),r=[t];function l(c,p,i,d,h,C){return e(),a("div",null,r)}const g=s(o,[["render",l]]);export{F as __pageData,g as default};
diff --git a/docs/assets/core_converters_distances.md.0b27765f.js b/docs/assets/core_converters_distances.md.50bdb5aa.js
similarity index 99%
rename from docs/assets/core_converters_distances.md.0b27765f.js
rename to docs/assets/core_converters_distances.md.50bdb5aa.js
index f990805..ac1a363 100644
--- a/docs/assets/core_converters_distances.md.0b27765f.js
+++ b/docs/assets/core_converters_distances.md.50bdb5aa.js
@@ -1,4 +1,4 @@
-import{_ as e,c as s,o as a,a as t}from"./app.411d0108.js";const u=JSON.parse('{"title":"Distances","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"MilesToKm(miles)","slug":"milestokm-miles","link":"#milestokm-miles","children":[]},{"level":3,"title":"KmToMiles(km)","slug":"kmtomiles-km","link":"#kmtomiles-km","children":[]},{"level":3,"title":"FeetToMeters(feet)","slug":"feettometers-feet","link":"#feettometers-feet","children":[]},{"level":3,"title":"MetersToFeet(meters)","slug":"meterstofeet-meters","link":"#meterstofeet-meters","children":[]}]}],"relativePath":"core/converters/distances.md","lastUpdated":1666511609000}'),n={name:"core/converters/distances.md"},o=t(`

Distances

This page is about the Distances class available in PeyrSharp.Core.Converters. You can find here all of its methods.

INFO

This class is static.

Compatibility

The Distances class is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Methods

MilesToKm(miles)

Definition

Converts miles to kilometers. Returns a double value.

Arguments

TypeNameMeaning
doublemilesNumber of mile(s) to convert.

Usage

c#
using PeyrSharp.Core.Converters;
+import{_ as e,c as s,o as a,a as t}from"./app.14bef1c5.js";const u=JSON.parse('{"title":"Distances","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"MilesToKm(miles)","slug":"milestokm-miles","link":"#milestokm-miles","children":[]},{"level":3,"title":"KmToMiles(km)","slug":"kmtomiles-km","link":"#kmtomiles-km","children":[]},{"level":3,"title":"FeetToMeters(feet)","slug":"feettometers-feet","link":"#feettometers-feet","children":[]},{"level":3,"title":"MetersToFeet(meters)","slug":"meterstofeet-meters","link":"#meterstofeet-meters","children":[]}]}],"relativePath":"core/converters/distances.md","lastUpdated":1666511609000}'),n={name:"core/converters/distances.md"},o=t(`

Distances

This page is about the Distances class available in PeyrSharp.Core.Converters. You can find here all of its methods.

INFO

This class is static.

Compatibility

The Distances class is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Methods

MilesToKm(miles)

Definition

Converts miles to kilometers. Returns a double value.

Arguments

TypeNameMeaning
doublemilesNumber of mile(s) to convert.

Usage

c#
using PeyrSharp.Core.Converters;
 
 double km = Distances.MilesToKm(10);
 // km = 16.09344
diff --git a/docs/assets/core_converters_distances.md.0b27765f.lean.js b/docs/assets/core_converters_distances.md.50bdb5aa.lean.js
similarity index 93%
rename from docs/assets/core_converters_distances.md.0b27765f.lean.js
rename to docs/assets/core_converters_distances.md.50bdb5aa.lean.js
index c5eea5b..cf4faff 100644
--- a/docs/assets/core_converters_distances.md.0b27765f.lean.js
+++ b/docs/assets/core_converters_distances.md.50bdb5aa.lean.js
@@ -1 +1 @@
-import{_ as e,c as s,o as a,a as t}from"./app.411d0108.js";const u=JSON.parse('{"title":"Distances","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"MilesToKm(miles)","slug":"milestokm-miles","link":"#milestokm-miles","children":[]},{"level":3,"title":"KmToMiles(km)","slug":"kmtomiles-km","link":"#kmtomiles-km","children":[]},{"level":3,"title":"FeetToMeters(feet)","slug":"feettometers-feet","link":"#feettometers-feet","children":[]},{"level":3,"title":"MetersToFeet(meters)","slug":"meterstofeet-meters","link":"#meterstofeet-meters","children":[]}]}],"relativePath":"core/converters/distances.md","lastUpdated":1666511609000}'),n={name:"core/converters/distances.md"},o=t("",35),l=[o];function r(i,d,c,p,h,m){return a(),s("div",null,l)}const C=e(n,[["render",r]]);export{u as __pageData,C as default};
+import{_ as e,c as s,o as a,a as t}from"./app.14bef1c5.js";const u=JSON.parse('{"title":"Distances","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"MilesToKm(miles)","slug":"milestokm-miles","link":"#milestokm-miles","children":[]},{"level":3,"title":"KmToMiles(km)","slug":"kmtomiles-km","link":"#kmtomiles-km","children":[]},{"level":3,"title":"FeetToMeters(feet)","slug":"feettometers-feet","link":"#feettometers-feet","children":[]},{"level":3,"title":"MetersToFeet(meters)","slug":"meterstofeet-meters","link":"#meterstofeet-meters","children":[]}]}],"relativePath":"core/converters/distances.md","lastUpdated":1666511609000}'),n={name:"core/converters/distances.md"},o=t("",35),l=[o];function r(i,d,c,p,h,m){return a(),s("div",null,l)}const C=e(n,[["render",r]]);export{u as __pageData,C as default};
diff --git a/docs/assets/core_converters_energies.md.ef21c88c.js b/docs/assets/core_converters_energies.md.ef21c88c.js
new file mode 100644
index 0000000..cf0ee5b
--- /dev/null
+++ b/docs/assets/core_converters_energies.md.ef21c88c.js
@@ -0,0 +1,9 @@
+import{_ as e,c as s,o as a,a as o}from"./app.14bef1c5.js";const C=JSON.parse('{"title":"Energies","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"CaloriesToJoules(calories)","slug":"caloriestojoules-calories","link":"#caloriestojoules-calories","children":[]},{"level":3,"title":"JoulesToCalories(joules)","slug":"joulestocalories-joules","link":"#joulestocalories-joules","children":[]}]}],"relativePath":"core/converters/energies.md","lastUpdated":1678016186000}'),t={name:"core/converters/energies.md"},n=o(`

Energies

This page is about the Energies class available in PeyrSharp.Core.Converters. You can find here all of its methods.

INFO

This class is static.

Compatibility

The Energies class is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Methods

CaloriesToJoules(calories)

Definition

Converts calories to joules.

Arguments

TypeNameMeaning
doublecaloriesThe amount of energy in calories to be converted.

Returns

The equivalent amount of energy in joules.

Usage

c#
using PeyrSharp.Core.Converters;
+
+double calories = 100.0;
+double joules = Energies.CaloriesToJoules(calories);
+

JoulesToCalories(joules)

Definition

Converts joules to calories.

Arguments

TypeNameMeaning
doublejoulesThe amount of energy in joules.

Returns

The equivalent amount of energy in calories.

Usage

c#
using PeyrSharp.Core.Converters;
+
+double joules = 1000.0;
+double calories = Energies.JoulesToCalories(joules);
+
`,25),l=[n];function r(i,c,d,p,h,u){return a(),s("div",null,l)}const D=e(t,[["render",r]]);export{C as __pageData,D as default}; diff --git a/docs/assets/core_converters_energies.md.ef21c88c.lean.js b/docs/assets/core_converters_energies.md.ef21c88c.lean.js new file mode 100644 index 0000000..e953ae9 --- /dev/null +++ b/docs/assets/core_converters_energies.md.ef21c88c.lean.js @@ -0,0 +1 @@ +import{_ as e,c as s,o as a,a as o}from"./app.14bef1c5.js";const C=JSON.parse('{"title":"Energies","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"CaloriesToJoules(calories)","slug":"caloriestojoules-calories","link":"#caloriestojoules-calories","children":[]},{"level":3,"title":"JoulesToCalories(joules)","slug":"joulestocalories-joules","link":"#joulestocalories-joules","children":[]}]}],"relativePath":"core/converters/energies.md","lastUpdated":1678016186000}'),t={name:"core/converters/energies.md"},n=o("",25),l=[n];function r(i,c,d,p,h,u){return a(),s("div",null,l)}const D=e(t,[["render",r]]);export{C as __pageData,D as default}; diff --git a/docs/assets/core_converters_masses.md.dc308869.js b/docs/assets/core_converters_masses.md.45fd008c.js similarity index 98% rename from docs/assets/core_converters_masses.md.dc308869.js rename to docs/assets/core_converters_masses.md.45fd008c.js index a1de01c..6659760 100644 --- a/docs/assets/core_converters_masses.md.dc308869.js +++ b/docs/assets/core_converters_masses.md.45fd008c.js @@ -1,4 +1,4 @@ -import{_ as s,c as a,o as e,a as t}from"./app.411d0108.js";const g=JSON.parse('{"title":"Masses","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"PoundsToKilograms(pounds)","slug":"poundstokilograms-pounds","link":"#poundstokilograms-pounds","children":[]},{"level":3,"title":"KilogramsToPounds(kilograms)","slug":"kilogramstopounds-kilograms","link":"#kilogramstopounds-kilograms","children":[]}]}],"relativePath":"core/converters/masses.md","lastUpdated":1666511609000}'),o={name:"core/converters/masses.md"},n=t(`

Masses

This page is about the Masses class available in PeyrSharp.Core.Converters. You can find here all of its methods.

INFO

This class is static.

Compatibility

The Masses class is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Methods

PoundsToKilograms(pounds)

Definition

Converts pounds to kilograms. Returns a double value.

Arguments

TypeNameMeaning
doublepoundsNumber of pounds to convert.

Usage

c#
using PeyrSharp.Core.Converters;
+import{_ as s,c as a,o as e,a as t}from"./app.14bef1c5.js";const g=JSON.parse('{"title":"Masses","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"PoundsToKilograms(pounds)","slug":"poundstokilograms-pounds","link":"#poundstokilograms-pounds","children":[]},{"level":3,"title":"KilogramsToPounds(kilograms)","slug":"kilogramstopounds-kilograms","link":"#kilogramstopounds-kilograms","children":[]}]}],"relativePath":"core/converters/masses.md","lastUpdated":1666511609000}'),o={name:"core/converters/masses.md"},n=t(`

Masses

This page is about the Masses class available in PeyrSharp.Core.Converters. You can find here all of its methods.

INFO

This class is static.

Compatibility

The Masses class is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Methods

PoundsToKilograms(pounds)

Definition

Converts pounds to kilograms. Returns a double value.

Arguments

TypeNameMeaning
doublepoundsNumber of pounds to convert.

Usage

c#
using PeyrSharp.Core.Converters;
 
 double kg = Masses.PoundsToKilograms(10);
 // kg = 4.535923703803784
diff --git a/docs/assets/core_converters_masses.md.dc308869.lean.js b/docs/assets/core_converters_masses.md.45fd008c.lean.js
similarity index 92%
rename from docs/assets/core_converters_masses.md.dc308869.lean.js
rename to docs/assets/core_converters_masses.md.45fd008c.lean.js
index dd634be..9baa080 100644
--- a/docs/assets/core_converters_masses.md.dc308869.lean.js
+++ b/docs/assets/core_converters_masses.md.45fd008c.lean.js
@@ -1 +1 @@
-import{_ as s,c as a,o as e,a as t}from"./app.411d0108.js";const g=JSON.parse('{"title":"Masses","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"PoundsToKilograms(pounds)","slug":"poundstokilograms-pounds","link":"#poundstokilograms-pounds","children":[]},{"level":3,"title":"KilogramsToPounds(kilograms)","slug":"kilogramstopounds-kilograms","link":"#kilogramstopounds-kilograms","children":[]}]}],"relativePath":"core/converters/masses.md","lastUpdated":1666511609000}'),o={name:"core/converters/masses.md"},n=t("",21),r=[n];function l(d,i,c,p,h,u){return e(),a("div",null,r)}const y=s(o,[["render",l]]);export{g as __pageData,y as default};
+import{_ as s,c as a,o as e,a as t}from"./app.14bef1c5.js";const g=JSON.parse('{"title":"Masses","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"PoundsToKilograms(pounds)","slug":"poundstokilograms-pounds","link":"#poundstokilograms-pounds","children":[]},{"level":3,"title":"KilogramsToPounds(kilograms)","slug":"kilogramstopounds-kilograms","link":"#kilogramstopounds-kilograms","children":[]}]}],"relativePath":"core/converters/masses.md","lastUpdated":1666511609000}'),o={name:"core/converters/masses.md"},n=t("",21),r=[n];function l(d,i,c,p,h,u){return e(),a("div",null,r)}const y=s(o,[["render",l]]);export{g as __pageData,y as default};
diff --git a/docs/assets/core_converters_speeds.md.d558da31.js b/docs/assets/core_converters_speeds.md.d558da31.js
new file mode 100644
index 0000000..ed497bd
--- /dev/null
+++ b/docs/assets/core_converters_speeds.md.d558da31.js
@@ -0,0 +1,41 @@
+import{_ as e,c as s,o as a,a as o}from"./app.14bef1c5.js";const F=JSON.parse('{"title":"Speeds","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"KnotsToKilometersPerHour(knots)","slug":"knotstokilometersperhour-knots","link":"#knotstokilometersperhour-knots","children":[]},{"level":3,"title":"KilometersPerHourToKnots(kilometersPerHour)","slug":"kilometersperhourtoknots-kilometersperhour","link":"#kilometersperhourtoknots-kilometersperhour","children":[]},{"level":3,"title":"KnotsToMilesPerHour(knots)","slug":"knotstomilesperhour-knots","link":"#knotstomilesperhour-knots","children":[]},{"level":3,"title":"MilesPerHourToKnots(milesPerHour)","slug":"milesperhourtoknots-milesperhour","link":"#milesperhourtoknots-milesperhour","children":[]},{"level":3,"title":"KilometersPerHourToMetersPerSecond(kilometersPerHour)","slug":"kilometersperhourtometerspersecond-kilometersperhour","link":"#kilometersperhourtometerspersecond-kilometersperhour","children":[]},{"level":3,"title":"MetersPerSecondToKilometersPerHour(metersPerSecond)","slug":"meterspersecondtokilometersperhour-meterspersecond","link":"#meterspersecondtokilometersperhour-meterspersecond","children":[]},{"level":3,"title":"MilesPerHourToKilometersPerHour(milesPerHour)","slug":"milesperhourtokilometersperhour-milesperhour","link":"#milesperhourtokilometersperhour-milesperhour","children":[]},{"level":3,"title":"KilometersPerHourToMilesPerHour(kilometersPerHour)","slug":"kilometersperhourtomilesperhour-kilometersperhour","link":"#kilometersperhourtomilesperhour-kilometersperhour","children":[]}]}],"relativePath":"core/converters/speeds.md","lastUpdated":1678016192000}'),n={name:"core/converters/speeds.md"},r=o(`

Speeds

This page is about the Speeds class available in PeyrSharp.Core.Converters. You can find here all of its methods.

INFO

This class is static.

Compatibility

The Speeds class is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Methods

KnotsToKilometersPerHour(knots)

Definition

Converts knots to kilometers per hour.

Arguments

TypeNameMeaning
doubleknotsThe speed in knots.

Returns

The equivalent speed in kilometers per hour.

Usage

c#
using PeyrSharp.Core.Converters;
+
+double speedInKnots = 20.0;
+double speedInKilometersPerHour = Speeds.KnotsToKilometersPerHour(speedInKnots);
+Console.WriteLine($"{speedInKnots} knots is equivalent to {speedInKilometersPerHour} km/h");
+

KilometersPerHourToKnots(kilometersPerHour)

Definition

Converts kilometers per hour to knots.

Arguments

TypeNameDescription
doublekilometersPerHourThe speed in kilometers per hour.

Returns

The equivalent speed in knots.

Usage

c#
using PeyrSharp.Core.Converters;
+
+double speedInKilometersPerHour = 40.0;
+double speedInKnots = Speeds.KilometersPerHourToKnots(speedInKilometersPerHour);
+Console.WriteLine($"{speedInKilometersPerHour} km/h is equivalent to {speedInKnots} knots");
+

KnotsToMilesPerHour(knots)

Definition

Converts knots to miles per hour.

Arguments

TypeNameDescription
doubleknotsThe speed in knots.

Returns

The equivalent speed in miles per hour.

Usage

c#
using PeyrSharp.Core.Converters;
+
+double speedInKnots = 20.0;
+double speedInMilesPerHour = Speeds.KnotsToMilesPerHour(speedInKnots);
+Console.WriteLine($"{speedInKnots} knots is equivalent to {speedInMilesPerHour} mph");
+

MilesPerHourToKnots(milesPerHour)

Definition

Converts miles per hour to knots.

Arguments

TypeNameDescription
doublemilesPerHourThe speed in miles per hour.

Returns

The equivalent speed in knots.

Usage

c#
using PeyrSharp.Core.Converters;
+
+double speedInMilesPerHour = 60.0;
+double speedInKnots = Speeds.MilesPerHourToKnots(speedInMilesPerHour);
+Console.WriteLine($"{speedInMilesPerHour} miles/hour is equivalent to {speedInKnots} knots");
+

KilometersPerHourToMetersPerSecond(kilometersPerHour)

Definition

Converts kilometers per hour to meters per second.

Arguments

TypeNameDescription
doublekilometersPerHourThe speed in kilometers per hour.

Returns

The equivalent speed in meters per second.

Usage

c#
using PeyrSharp.Core.Converters;
+
+double speedInKilometersPerHour = 100.0;
+double speedInMetersPerSecond = Speeds.KilometersPerHourToMetersPerSecond(speedInKilometersPerHour);
+Console.WriteLine($"{speedInKilometersPerHour} km/h is equivalent to {speedInMetersPerSecond} m/s");
+

MetersPerSecondToKilometersPerHour(metersPerSecond)

Definition

Converts meters per second to kilometers per hour.

Arguments

TypeNameMeaning
doublemetersPerSecondThe speed in meters per second.

Returns

The equivalent speed in kilometers per hour.

Usage

c#
using PeyrSharp.Core.Converters;
+
+double speedInMetersPerSecond = 10.0;
+double speedInKilometersPerHour = Speeds.MetersPerSecondToKilometersPerHour(speedInMetersPerSecond);
+Console.WriteLine($"{speedInMetersPerSecond} m/s is equivalent to {speedInKilometersPerHour} km/h");
+

MilesPerHourToKilometersPerHour(milesPerHour)

Definition

Converts miles per hour to kilometers per hour.

Arguments

TypeNameDescription
doublemilesPerHourThe speed in miles per hour.

Returns

The equivalent speed in kilometers per hour.

Usage

c#
using PeyrSharp.Core.Converters;
+
+double speedInMilesPerHour = 60.0;
+double speedInKilometersPerHour = Speeds.MilesPerHourToKilometersPerHour(speedInMilesPerHour);
+Console.WriteLine($"{speedInMilesPerHour} mph is equivalent to {speedInKilometersPerHour} km/h");
+

KilometersPerHourToMilesPerHour(kilometersPerHour)

Definition

Converts kilometers per hour to miles per hour.

Arguments

TypeNameDescription
doublekilometersPerHourThe speed in kilometers per hour.

Returns

The equivalent speed in miles per hour.

Usage

c#
using PeyrSharp.Core.Converters;
+
+double speedInKilometersPerHour = 50.0;
+double speedInMilesPerHour = Speeds.KilometersPerHourToMilesPerHour(speedInKilometersPerHour);
+Console.WriteLine($"{speedInKilometersPerHour} km/h is equivalent to {speedInMilesPerHour} mph");
+
`,79),t=[r];function l(p,i,c,d,h,D){return a(),s("div",null,t)}const y=e(n,[["render",l]]);export{F as __pageData,y as default}; diff --git a/docs/assets/core_converters_speeds.md.d558da31.lean.js b/docs/assets/core_converters_speeds.md.d558da31.lean.js new file mode 100644 index 0000000..04a57e2 --- /dev/null +++ b/docs/assets/core_converters_speeds.md.d558da31.lean.js @@ -0,0 +1 @@ +import{_ as e,c as s,o as a,a as o}from"./app.14bef1c5.js";const F=JSON.parse('{"title":"Speeds","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"KnotsToKilometersPerHour(knots)","slug":"knotstokilometersperhour-knots","link":"#knotstokilometersperhour-knots","children":[]},{"level":3,"title":"KilometersPerHourToKnots(kilometersPerHour)","slug":"kilometersperhourtoknots-kilometersperhour","link":"#kilometersperhourtoknots-kilometersperhour","children":[]},{"level":3,"title":"KnotsToMilesPerHour(knots)","slug":"knotstomilesperhour-knots","link":"#knotstomilesperhour-knots","children":[]},{"level":3,"title":"MilesPerHourToKnots(milesPerHour)","slug":"milesperhourtoknots-milesperhour","link":"#milesperhourtoknots-milesperhour","children":[]},{"level":3,"title":"KilometersPerHourToMetersPerSecond(kilometersPerHour)","slug":"kilometersperhourtometerspersecond-kilometersperhour","link":"#kilometersperhourtometerspersecond-kilometersperhour","children":[]},{"level":3,"title":"MetersPerSecondToKilometersPerHour(metersPerSecond)","slug":"meterspersecondtokilometersperhour-meterspersecond","link":"#meterspersecondtokilometersperhour-meterspersecond","children":[]},{"level":3,"title":"MilesPerHourToKilometersPerHour(milesPerHour)","slug":"milesperhourtokilometersperhour-milesperhour","link":"#milesperhourtokilometersperhour-milesperhour","children":[]},{"level":3,"title":"KilometersPerHourToMilesPerHour(kilometersPerHour)","slug":"kilometersperhourtomilesperhour-kilometersperhour","link":"#kilometersperhourtomilesperhour-kilometersperhour","children":[]}]}],"relativePath":"core/converters/speeds.md","lastUpdated":1678016192000}'),n={name:"core/converters/speeds.md"},r=o("",79),t=[r];function l(p,i,c,d,h,D){return a(),s("div",null,t)}const y=e(n,[["render",l]]);export{F as __pageData,y as default}; diff --git a/docs/assets/core_converters_storage.md.40076c1b.js b/docs/assets/core_converters_storage.md.7a5a0f3f.js similarity index 99% rename from docs/assets/core_converters_storage.md.40076c1b.js rename to docs/assets/core_converters_storage.md.7a5a0f3f.js index ea0c3f8..c7eca56 100644 --- a/docs/assets/core_converters_storage.md.40076c1b.js +++ b/docs/assets/core_converters_storage.md.7a5a0f3f.js @@ -1,4 +1,4 @@ -import{_ as e,c as a,o as t,a as s}from"./app.411d0108.js";const g=JSON.parse('{"title":"Storage","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"ToByte(value, storageUnit)","slug":"tobyte-value-storageunit","link":"#tobyte-value-storageunit","children":[]},{"level":3,"title":"ToKilobyte(value, storageUnit)","slug":"tokilobyte-value-storageunit","link":"#tokilobyte-value-storageunit","children":[]},{"level":3,"title":"ToMegabyte(value, storageUnit)","slug":"tomegabyte-value-storageunit","link":"#tomegabyte-value-storageunit","children":[]},{"level":3,"title":"ToGigabyte(value, storageUnit)","slug":"togigabyte-value-storageunit","link":"#togigabyte-value-storageunit","children":[]},{"level":3,"title":"ToTerabyte(value, storageUnit)","slug":"toterabyte-value-storageunit","link":"#toterabyte-value-storageunit","children":[]},{"level":3,"title":"ToPetabyte(value, storageUnit)","slug":"topetabyte-value-storageunit","link":"#topetabyte-value-storageunit","children":[]}]}],"relativePath":"core/converters/storage.md","lastUpdated":1667468567000}'),o={name:"core/converters/storage.md"},n=s(`

Storage

This page is about the Storage class available in PeyrSharp.Core.Converters. You can find here all of its methods.

INFO

This class is static.

Compatibility

The Storage class is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Methods

ToByte(value, storageUnit)

Definition

Converts a size (kb, mb, ...) to byte. Returns a double value.

INFO

This method can also be used in PeyrSharp.Extensions.

Arguments

TypeNameMeaning
doublevalueThe value to convert.
StorageUnitsstorageUnitThe unit of the value. (ex: kilobyte, gigabyte...)

Usage

c#
using PeyrSharp.Core.Converters;
+import{_ as e,c as a,o as t,a as s}from"./app.14bef1c5.js";const g=JSON.parse('{"title":"Storage","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"ToByte(value, storageUnit)","slug":"tobyte-value-storageunit","link":"#tobyte-value-storageunit","children":[]},{"level":3,"title":"ToKilobyte(value, storageUnit)","slug":"tokilobyte-value-storageunit","link":"#tokilobyte-value-storageunit","children":[]},{"level":3,"title":"ToMegabyte(value, storageUnit)","slug":"tomegabyte-value-storageunit","link":"#tomegabyte-value-storageunit","children":[]},{"level":3,"title":"ToGigabyte(value, storageUnit)","slug":"togigabyte-value-storageunit","link":"#togigabyte-value-storageunit","children":[]},{"level":3,"title":"ToTerabyte(value, storageUnit)","slug":"toterabyte-value-storageunit","link":"#toterabyte-value-storageunit","children":[]},{"level":3,"title":"ToPetabyte(value, storageUnit)","slug":"topetabyte-value-storageunit","link":"#topetabyte-value-storageunit","children":[]}]}],"relativePath":"core/converters/storage.md","lastUpdated":1667468567000}'),o={name:"core/converters/storage.md"},n=s(`

Storage

This page is about the Storage class available in PeyrSharp.Core.Converters. You can find here all of its methods.

INFO

This class is static.

Compatibility

The Storage class is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Methods

ToByte(value, storageUnit)

Definition

Converts a size (kb, mb, ...) to byte. Returns a double value.

INFO

This method can also be used in PeyrSharp.Extensions.

Arguments

TypeNameMeaning
doublevalueThe value to convert.
StorageUnitsstorageUnitThe unit of the value. (ex: kilobyte, gigabyte...)

Usage

c#
using PeyrSharp.Core.Converters;
 
 double byte = Storage.ToByte(1, StorageUnits.Kilobyte);
 // byte = 1000
diff --git a/docs/assets/core_converters_storage.md.40076c1b.lean.js b/docs/assets/core_converters_storage.md.7a5a0f3f.lean.js
similarity index 95%
rename from docs/assets/core_converters_storage.md.40076c1b.lean.js
rename to docs/assets/core_converters_storage.md.7a5a0f3f.lean.js
index 93c1721..dc6a981 100644
--- a/docs/assets/core_converters_storage.md.40076c1b.lean.js
+++ b/docs/assets/core_converters_storage.md.7a5a0f3f.lean.js
@@ -1 +1 @@
-import{_ as e,c as a,o as t,a as s}from"./app.411d0108.js";const g=JSON.parse('{"title":"Storage","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"ToByte(value, storageUnit)","slug":"tobyte-value-storageunit","link":"#tobyte-value-storageunit","children":[]},{"level":3,"title":"ToKilobyte(value, storageUnit)","slug":"tokilobyte-value-storageunit","link":"#tokilobyte-value-storageunit","children":[]},{"level":3,"title":"ToMegabyte(value, storageUnit)","slug":"tomegabyte-value-storageunit","link":"#tomegabyte-value-storageunit","children":[]},{"level":3,"title":"ToGigabyte(value, storageUnit)","slug":"togigabyte-value-storageunit","link":"#togigabyte-value-storageunit","children":[]},{"level":3,"title":"ToTerabyte(value, storageUnit)","slug":"toterabyte-value-storageunit","link":"#toterabyte-value-storageunit","children":[]},{"level":3,"title":"ToPetabyte(value, storageUnit)","slug":"topetabyte-value-storageunit","link":"#topetabyte-value-storageunit","children":[]}]}],"relativePath":"core/converters/storage.md","lastUpdated":1667468567000}'),o={name:"core/converters/storage.md"},n=s("",55),l=[n];function r(i,d,c,p,h,u){return t(),a("div",null,l)}const b=e(o,[["render",r]]);export{g as __pageData,b as default};
+import{_ as e,c as a,o as t,a as s}from"./app.14bef1c5.js";const g=JSON.parse('{"title":"Storage","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"ToByte(value, storageUnit)","slug":"tobyte-value-storageunit","link":"#tobyte-value-storageunit","children":[]},{"level":3,"title":"ToKilobyte(value, storageUnit)","slug":"tokilobyte-value-storageunit","link":"#tokilobyte-value-storageunit","children":[]},{"level":3,"title":"ToMegabyte(value, storageUnit)","slug":"tomegabyte-value-storageunit","link":"#tomegabyte-value-storageunit","children":[]},{"level":3,"title":"ToGigabyte(value, storageUnit)","slug":"togigabyte-value-storageunit","link":"#togigabyte-value-storageunit","children":[]},{"level":3,"title":"ToTerabyte(value, storageUnit)","slug":"toterabyte-value-storageunit","link":"#toterabyte-value-storageunit","children":[]},{"level":3,"title":"ToPetabyte(value, storageUnit)","slug":"topetabyte-value-storageunit","link":"#topetabyte-value-storageunit","children":[]}]}],"relativePath":"core/converters/storage.md","lastUpdated":1667468567000}'),o={name:"core/converters/storage.md"},n=s("",55),l=[n];function r(i,d,c,p,h,u){return t(),a("div",null,l)}const b=e(o,[["render",r]]);export{g as __pageData,b as default};
diff --git a/docs/assets/core_converters_temperatures.md.d9263d26.js b/docs/assets/core_converters_temperatures.md.93c34b05.js
similarity index 98%
rename from docs/assets/core_converters_temperatures.md.d9263d26.js
rename to docs/assets/core_converters_temperatures.md.93c34b05.js
index dcf4159..51e959a 100644
--- a/docs/assets/core_converters_temperatures.md.d9263d26.js
+++ b/docs/assets/core_converters_temperatures.md.93c34b05.js
@@ -1,4 +1,4 @@
-import{_ as e,c as a,o as t,a as s}from"./app.411d0108.js";const f=JSON.parse('{"title":"Temperatures","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"CelsiusToFahrenheit(celsius)","slug":"celsiustofahrenheit-celsius","link":"#celsiustofahrenheit-celsius","children":[]},{"level":3,"title":"FahrenheitToCelsius(fahrenheit)","slug":"fahrenheittocelsius-fahrenheit","link":"#fahrenheittocelsius-fahrenheit","children":[]}]}],"relativePath":"core/converters/temperatures.md","lastUpdated":1666511987000}'),n={name:"core/converters/temperatures.md"},r=s(`

Temperatures

This page is about the Temperatures class available in PeyrSharp.Core.Converters. You can find here all of its methods.

INFO

This class is static.

Compatibility

The Temperatures class is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Methods

CelsiusToFahrenheit(celsius)

Definition

Converts Celsius (°C) to Fahrenheit (°F). Returns a double value.

Arguments

TypeNameMeaning
doublecelsiusNumber of Celsius to convert.

Usage

c#
using PeyrSharp.Core.Converters;
+import{_ as e,c as a,o as t,a as s}from"./app.14bef1c5.js";const f=JSON.parse('{"title":"Temperatures","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"CelsiusToFahrenheit(celsius)","slug":"celsiustofahrenheit-celsius","link":"#celsiustofahrenheit-celsius","children":[]},{"level":3,"title":"FahrenheitToCelsius(fahrenheit)","slug":"fahrenheittocelsius-fahrenheit","link":"#fahrenheittocelsius-fahrenheit","children":[]}]}],"relativePath":"core/converters/temperatures.md","lastUpdated":1666511987000}'),n={name:"core/converters/temperatures.md"},r=s(`

Temperatures

This page is about the Temperatures class available in PeyrSharp.Core.Converters. You can find here all of its methods.

INFO

This class is static.

Compatibility

The Temperatures class is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Methods

CelsiusToFahrenheit(celsius)

Definition

Converts Celsius (°C) to Fahrenheit (°F). Returns a double value.

Arguments

TypeNameMeaning
doublecelsiusNumber of Celsius to convert.

Usage

c#
using PeyrSharp.Core.Converters;
 
 double f = Temperatures.CelsiusToFahrenheit(22);
 // f = 71.6
diff --git a/docs/assets/core_converters_temperatures.md.d9263d26.lean.js b/docs/assets/core_converters_temperatures.md.93c34b05.lean.js
similarity index 92%
rename from docs/assets/core_converters_temperatures.md.d9263d26.lean.js
rename to docs/assets/core_converters_temperatures.md.93c34b05.lean.js
index f093640..9f58ed2 100644
--- a/docs/assets/core_converters_temperatures.md.d9263d26.lean.js
+++ b/docs/assets/core_converters_temperatures.md.93c34b05.lean.js
@@ -1 +1 @@
-import{_ as e,c as a,o as t,a as s}from"./app.411d0108.js";const f=JSON.parse('{"title":"Temperatures","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"CelsiusToFahrenheit(celsius)","slug":"celsiustofahrenheit-celsius","link":"#celsiustofahrenheit-celsius","children":[]},{"level":3,"title":"FahrenheitToCelsius(fahrenheit)","slug":"fahrenheittocelsius-fahrenheit","link":"#fahrenheittocelsius-fahrenheit","children":[]}]}],"relativePath":"core/converters/temperatures.md","lastUpdated":1666511987000}'),n={name:"core/converters/temperatures.md"},r=s("",21),o=[r];function l(i,h,d,c,p,u){return t(),a("div",null,o)}const m=e(n,[["render",l]]);export{f as __pageData,m as default};
+import{_ as e,c as a,o as t,a as s}from"./app.14bef1c5.js";const f=JSON.parse('{"title":"Temperatures","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"CelsiusToFahrenheit(celsius)","slug":"celsiustofahrenheit-celsius","link":"#celsiustofahrenheit-celsius","children":[]},{"level":3,"title":"FahrenheitToCelsius(fahrenheit)","slug":"fahrenheittocelsius-fahrenheit","link":"#fahrenheittocelsius-fahrenheit","children":[]}]}],"relativePath":"core/converters/temperatures.md","lastUpdated":1666511987000}'),n={name:"core/converters/temperatures.md"},r=s("",21),o=[r];function l(i,h,d,c,p,u){return t(),a("div",null,o)}const m=e(n,[["render",l]]);export{f as __pageData,m as default};
diff --git a/docs/assets/core_converters_time.md.08c6b723.js b/docs/assets/core_converters_time.md.bad1b8a2.js
similarity index 99%
rename from docs/assets/core_converters_time.md.08c6b723.js
rename to docs/assets/core_converters_time.md.bad1b8a2.js
index 001acad..848d368 100644
--- a/docs/assets/core_converters_time.md.08c6b723.js
+++ b/docs/assets/core_converters_time.md.bad1b8a2.js
@@ -1,4 +1,4 @@
-import{_ as e,c as s,o as a,a as t}from"./app.411d0108.js";const y=JSON.parse('{"title":"Time","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"ToSeconds(d, timeUnits)","slug":"toseconds-d-timeunits","link":"#toseconds-d-timeunits","children":[]},{"level":3,"title":"ToMinutes(d, timeUnits)","slug":"tominutes-d-timeunits","link":"#tominutes-d-timeunits","children":[]},{"level":3,"title":"ToHours(d, timeUnits)","slug":"tohours-d-timeunits","link":"#tohours-d-timeunits","children":[]},{"level":3,"title":"ToDays(d, timeUnits)","slug":"todays-d-timeunits","link":"#todays-d-timeunits","children":[]},{"level":3,"title":"UnixTimeToDateTime(unixTime)","slug":"unixtimetodatetime-unixtime","link":"#unixtimetodatetime-unixtime","children":[]},{"level":3,"title":"DateTimeToUnixTime(dateTime)","slug":"datetimetounixtime-datetime","link":"#datetimetounixtime-datetime","children":[]}]}],"relativePath":"core/converters/time.md","lastUpdated":1670145438000}'),n={name:"core/converters/time.md"},o=t(`

Time

This page is about the Time class available in PeyrSharp.Core.Converters. You can find here all of its methods.

INFO

This class is static.

Compatibility

The Time class is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Methods

ToSeconds(d, timeUnits)

Definition

Converts a specified time unit value to seconds. For instance, you can convert days, hours or minutes to seconds. It returns a double value.

INFO

This method can also be used in PeyrSharp.Extensions.

Arguments

TypeNameMeaning
doubledThe time unit to convert.
TimeUnitstimeUnitsThe unit of the time. (ex: minutes, hours...)

Usage

c#
using PeyrSharp.Core.Converters;
+import{_ as e,c as s,o as a,a as t}from"./app.14bef1c5.js";const y=JSON.parse('{"title":"Time","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"ToSeconds(d, timeUnits)","slug":"toseconds-d-timeunits","link":"#toseconds-d-timeunits","children":[]},{"level":3,"title":"ToMinutes(d, timeUnits)","slug":"tominutes-d-timeunits","link":"#tominutes-d-timeunits","children":[]},{"level":3,"title":"ToHours(d, timeUnits)","slug":"tohours-d-timeunits","link":"#tohours-d-timeunits","children":[]},{"level":3,"title":"ToDays(d, timeUnits)","slug":"todays-d-timeunits","link":"#todays-d-timeunits","children":[]},{"level":3,"title":"UnixTimeToDateTime(unixTime)","slug":"unixtimetodatetime-unixtime","link":"#unixtimetodatetime-unixtime","children":[]},{"level":3,"title":"DateTimeToUnixTime(dateTime)","slug":"datetimetounixtime-datetime","link":"#datetimetounixtime-datetime","children":[]}]}],"relativePath":"core/converters/time.md","lastUpdated":1670145438000}'),n={name:"core/converters/time.md"},o=t(`

Time

This page is about the Time class available in PeyrSharp.Core.Converters. You can find here all of its methods.

INFO

This class is static.

Compatibility

The Time class is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Methods

ToSeconds(d, timeUnits)

Definition

Converts a specified time unit value to seconds. For instance, you can convert days, hours or minutes to seconds. It returns a double value.

INFO

This method can also be used in PeyrSharp.Extensions.

Arguments

TypeNameMeaning
doubledThe time unit to convert.
TimeUnitstimeUnitsThe unit of the time. (ex: minutes, hours...)

Usage

c#
using PeyrSharp.Core.Converters;
 using PeyrSharp.Enums;
 
 double seconds = Time.ToSeconds(5, TimeUnits.Minutes);
diff --git a/docs/assets/core_converters_time.md.08c6b723.lean.js b/docs/assets/core_converters_time.md.bad1b8a2.lean.js
similarity index 95%
rename from docs/assets/core_converters_time.md.08c6b723.lean.js
rename to docs/assets/core_converters_time.md.bad1b8a2.lean.js
index 365b25a..0bbc6cd 100644
--- a/docs/assets/core_converters_time.md.08c6b723.lean.js
+++ b/docs/assets/core_converters_time.md.bad1b8a2.lean.js
@@ -1 +1 @@
-import{_ as e,c as s,o as a,a as t}from"./app.411d0108.js";const y=JSON.parse('{"title":"Time","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"ToSeconds(d, timeUnits)","slug":"toseconds-d-timeunits","link":"#toseconds-d-timeunits","children":[]},{"level":3,"title":"ToMinutes(d, timeUnits)","slug":"tominutes-d-timeunits","link":"#tominutes-d-timeunits","children":[]},{"level":3,"title":"ToHours(d, timeUnits)","slug":"tohours-d-timeunits","link":"#tohours-d-timeunits","children":[]},{"level":3,"title":"ToDays(d, timeUnits)","slug":"todays-d-timeunits","link":"#todays-d-timeunits","children":[]},{"level":3,"title":"UnixTimeToDateTime(unixTime)","slug":"unixtimetodatetime-unixtime","link":"#unixtimetodatetime-unixtime","children":[]},{"level":3,"title":"DateTimeToUnixTime(dateTime)","slug":"datetimetounixtime-datetime","link":"#datetimetounixtime-datetime","children":[]}]}],"relativePath":"core/converters/time.md","lastUpdated":1670145438000}'),n={name:"core/converters/time.md"},o=t("",55),i=[o];function l(r,d,c,p,h,u){return a(),s("div",null,i)}const C=e(n,[["render",l]]);export{y as __pageData,C as default};
+import{_ as e,c as s,o as a,a as t}from"./app.14bef1c5.js";const y=JSON.parse('{"title":"Time","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"ToSeconds(d, timeUnits)","slug":"toseconds-d-timeunits","link":"#toseconds-d-timeunits","children":[]},{"level":3,"title":"ToMinutes(d, timeUnits)","slug":"tominutes-d-timeunits","link":"#tominutes-d-timeunits","children":[]},{"level":3,"title":"ToHours(d, timeUnits)","slug":"tohours-d-timeunits","link":"#tohours-d-timeunits","children":[]},{"level":3,"title":"ToDays(d, timeUnits)","slug":"todays-d-timeunits","link":"#todays-d-timeunits","children":[]},{"level":3,"title":"UnixTimeToDateTime(unixTime)","slug":"unixtimetodatetime-unixtime","link":"#unixtimetodatetime-unixtime","children":[]},{"level":3,"title":"DateTimeToUnixTime(dateTime)","slug":"datetimetounixtime-datetime","link":"#datetimetounixtime-datetime","children":[]}]}],"relativePath":"core/converters/time.md","lastUpdated":1670145438000}'),n={name:"core/converters/time.md"},o=t("",55),i=[o];function l(r,d,c,p,h,u){return a(),s("div",null,i)}const C=e(n,[["render",l]]);export{y as __pageData,C as default};
diff --git a/docs/assets/core_converters_volumes.md.02f95916.js b/docs/assets/core_converters_volumes.md.08ea23f9.js
similarity index 98%
rename from docs/assets/core_converters_volumes.md.02f95916.js
rename to docs/assets/core_converters_volumes.md.08ea23f9.js
index 15c632c..f5b9ca2 100644
--- a/docs/assets/core_converters_volumes.md.02f95916.js
+++ b/docs/assets/core_converters_volumes.md.08ea23f9.js
@@ -1,4 +1,4 @@
-import{_ as e,c as t,o as a,a as s}from"./app.411d0108.js";const y=JSON.parse('{"title":"Volumes","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"M3ToLitre(m3)","slug":"m3tolitre-m3","link":"#m3tolitre-m3","children":[]},{"level":3,"title":"LitreToM3(m3)","slug":"litretom3-m3","link":"#litretom3-m3","children":[]}]}],"relativePath":"core/converters/volumes.md","lastUpdated":1666513063000}'),o={name:"core/converters/volumes.md"},n=s(`

Volumes

This page is about the Volumes class available in PeyrSharp.Core.Converters. You can find here all of its methods.

INFO

This class is static.

Compatibility

The Volumes class is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Methods

M3ToLitre(m3)

Definition

Converts Cubic Meters (m³) to Litre (L). Returns a double value.

Arguments

TypeNameMeaning
doublem3Number of cubic meters to convert.

Usage

c#
using PeyrSharp.Core.Converters;
+import{_ as e,c as t,o as a,a as s}from"./app.14bef1c5.js";const y=JSON.parse('{"title":"Volumes","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"M3ToLitre(m3)","slug":"m3tolitre-m3","link":"#m3tolitre-m3","children":[]},{"level":3,"title":"LitreToM3(m3)","slug":"litretom3-m3","link":"#litretom3-m3","children":[]}]}],"relativePath":"core/converters/volumes.md","lastUpdated":1666513063000}'),o={name:"core/converters/volumes.md"},n=s(`

Volumes

This page is about the Volumes class available in PeyrSharp.Core.Converters. You can find here all of its methods.

INFO

This class is static.

Compatibility

The Volumes class is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Methods

M3ToLitre(m3)

Definition

Converts Cubic Meters (m³) to Litre (L). Returns a double value.

Arguments

TypeNameMeaning
doublem3Number of cubic meters to convert.

Usage

c#
using PeyrSharp.Core.Converters;
 
 double litre = Volumes.M3ToLitre(10);
 // litre = 10000
diff --git a/docs/assets/core_converters_volumes.md.02f95916.lean.js b/docs/assets/core_converters_volumes.md.08ea23f9.lean.js
similarity index 91%
rename from docs/assets/core_converters_volumes.md.02f95916.lean.js
rename to docs/assets/core_converters_volumes.md.08ea23f9.lean.js
index 4b5dade..b307b1c 100644
--- a/docs/assets/core_converters_volumes.md.02f95916.lean.js
+++ b/docs/assets/core_converters_volumes.md.08ea23f9.lean.js
@@ -1 +1 @@
-import{_ as e,c as t,o as a,a as s}from"./app.411d0108.js";const y=JSON.parse('{"title":"Volumes","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"M3ToLitre(m3)","slug":"m3tolitre-m3","link":"#m3tolitre-m3","children":[]},{"level":3,"title":"LitreToM3(m3)","slug":"litretom3-m3","link":"#litretom3-m3","children":[]}]}],"relativePath":"core/converters/volumes.md","lastUpdated":1666513063000}'),o={name:"core/converters/volumes.md"},n=s("",21),r=[n];function l(i,d,c,p,h,m){return a(),t("div",null,r)}const b=e(o,[["render",l]]);export{y as __pageData,b as default};
+import{_ as e,c as t,o as a,a as s}from"./app.14bef1c5.js";const y=JSON.parse('{"title":"Volumes","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"M3ToLitre(m3)","slug":"m3tolitre-m3","link":"#m3tolitre-m3","children":[]},{"level":3,"title":"LitreToM3(m3)","slug":"litretom3-m3","link":"#litretom3-m3","children":[]}]}],"relativePath":"core/converters/volumes.md","lastUpdated":1666513063000}'),o={name:"core/converters/volumes.md"},n=s("",21),r=[n];function l(i,d,c,p,h,m){return a(),t("div",null,r)}const b=e(o,[["render",l]]);export{y as __pageData,b as default};
diff --git a/docs/assets/core_crypt.md.1ef3b08e.js b/docs/assets/core_crypt.md.2fee6d2c.js
similarity index 99%
rename from docs/assets/core_crypt.md.1ef3b08e.js
rename to docs/assets/core_crypt.md.2fee6d2c.js
index 94ffcd4..fce0f13 100644
--- a/docs/assets/core_crypt.md.1ef3b08e.js
+++ b/docs/assets/core_crypt.md.2fee6d2c.js
@@ -1,4 +1,4 @@
-import{_ as s,c as e,o as a,a as t}from"./app.411d0108.js";const F=JSON.parse('{"title":"Crypt","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"EncryptAes(str, key)","slug":"encryptaes-str-key","link":"#encryptaes-str-key","children":[]},{"level":3,"title":"EncryptRsa(str, rsaParameters)","slug":"encryptrsa-str-rsaparameters","link":"#encryptrsa-str-rsaparameters","children":[]},{"level":3,"title":"Encrypt3Des(source, key)","slug":"encrypt3des-source-key","link":"#encrypt3des-source-key","children":[]},{"level":3,"title":"DecryptAes(str, key)","slug":"decryptaes-str-key","link":"#decryptaes-str-key","children":[]},{"level":3,"title":"DecryptRsa(encrypted, rsaParameters)","slug":"decryptrsa-encrypted-rsaparameters","link":"#decryptrsa-encrypted-rsaparameters","children":[]},{"level":3,"title":"Decrypt3Des(str, key)","slug":"decrypt3des-str-key","link":"#decrypt3des-str-key","children":[]}]}],"relativePath":"core/crypt.md","lastUpdated":1666705294000}'),n={name:"core/crypt.md"},r=t(`

Crypt

This page is about the Crypt class available in PeyrSharp.Core. You can find here all of its methods.

INFO

This class is static.

Compatibility

The Crypt class is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Methods

EncryptAes(str, key)

Definitions

Encrypts a string using AES encryption. Returns the encrypted content as a string as well.

Arguments

TypeNameMeaning
stringstrThe text to encrypt.
stringkeyThe encryption key. This is the same key that will be used to decrypt the text.

Usage

c#
using PeyrSharp.Core;
+import{_ as s,c as e,o as a,a as t}from"./app.14bef1c5.js";const F=JSON.parse('{"title":"Crypt","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"EncryptAes(str, key)","slug":"encryptaes-str-key","link":"#encryptaes-str-key","children":[]},{"level":3,"title":"EncryptRsa(str, rsaParameters)","slug":"encryptrsa-str-rsaparameters","link":"#encryptrsa-str-rsaparameters","children":[]},{"level":3,"title":"Encrypt3Des(source, key)","slug":"encrypt3des-source-key","link":"#encrypt3des-source-key","children":[]},{"level":3,"title":"DecryptAes(str, key)","slug":"decryptaes-str-key","link":"#decryptaes-str-key","children":[]},{"level":3,"title":"DecryptRsa(encrypted, rsaParameters)","slug":"decryptrsa-encrypted-rsaparameters","link":"#decryptrsa-encrypted-rsaparameters","children":[]},{"level":3,"title":"Decrypt3Des(str, key)","slug":"decrypt3des-str-key","link":"#decrypt3des-str-key","children":[]}]}],"relativePath":"core/crypt.md","lastUpdated":1666705294000}'),n={name:"core/crypt.md"},r=t(`

Crypt

This page is about the Crypt class available in PeyrSharp.Core. You can find here all of its methods.

INFO

This class is static.

Compatibility

The Crypt class is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Methods

EncryptAes(str, key)

Definitions

Encrypts a string using AES encryption. Returns the encrypted content as a string as well.

Arguments

TypeNameMeaning
stringstrThe text to encrypt.
stringkeyThe encryption key. This is the same key that will be used to decrypt the text.

Usage

c#
using PeyrSharp.Core;
 
 string text = "Hello, world!";
 string encrypted = Crypt.EncryptAes(text, "password");
diff --git a/docs/assets/core_crypt.md.1ef3b08e.lean.js b/docs/assets/core_crypt.md.2fee6d2c.lean.js
similarity index 95%
rename from docs/assets/core_crypt.md.1ef3b08e.lean.js
rename to docs/assets/core_crypt.md.2fee6d2c.lean.js
index ec0f641..1a2b1c1 100644
--- a/docs/assets/core_crypt.md.1ef3b08e.lean.js
+++ b/docs/assets/core_crypt.md.2fee6d2c.lean.js
@@ -1 +1 @@
-import{_ as s,c as e,o as a,a as t}from"./app.411d0108.js";const F=JSON.parse('{"title":"Crypt","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"EncryptAes(str, key)","slug":"encryptaes-str-key","link":"#encryptaes-str-key","children":[]},{"level":3,"title":"EncryptRsa(str, rsaParameters)","slug":"encryptrsa-str-rsaparameters","link":"#encryptrsa-str-rsaparameters","children":[]},{"level":3,"title":"Encrypt3Des(source, key)","slug":"encrypt3des-source-key","link":"#encrypt3des-source-key","children":[]},{"level":3,"title":"DecryptAes(str, key)","slug":"decryptaes-str-key","link":"#decryptaes-str-key","children":[]},{"level":3,"title":"DecryptRsa(encrypted, rsaParameters)","slug":"decryptrsa-encrypted-rsaparameters","link":"#decryptrsa-encrypted-rsaparameters","children":[]},{"level":3,"title":"Decrypt3Des(str, key)","slug":"decrypt3des-str-key","link":"#decrypt3des-str-key","children":[]}]}],"relativePath":"core/crypt.md","lastUpdated":1666705294000}'),n={name:"core/crypt.md"},r=t("",49),o=[r];function p(l,c,d,y,i,h){return a(),e("div",null,o)}const C=s(n,[["render",p]]);export{F as __pageData,C as default};
+import{_ as s,c as e,o as a,a as t}from"./app.14bef1c5.js";const F=JSON.parse('{"title":"Crypt","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"EncryptAes(str, key)","slug":"encryptaes-str-key","link":"#encryptaes-str-key","children":[]},{"level":3,"title":"EncryptRsa(str, rsaParameters)","slug":"encryptrsa-str-rsaparameters","link":"#encryptrsa-str-rsaparameters","children":[]},{"level":3,"title":"Encrypt3Des(source, key)","slug":"encrypt3des-source-key","link":"#encrypt3des-source-key","children":[]},{"level":3,"title":"DecryptAes(str, key)","slug":"decryptaes-str-key","link":"#decryptaes-str-key","children":[]},{"level":3,"title":"DecryptRsa(encrypted, rsaParameters)","slug":"decryptrsa-encrypted-rsaparameters","link":"#decryptrsa-encrypted-rsaparameters","children":[]},{"level":3,"title":"Decrypt3Des(str, key)","slug":"decrypt3des-str-key","link":"#decrypt3des-str-key","children":[]}]}],"relativePath":"core/crypt.md","lastUpdated":1666705294000}'),n={name:"core/crypt.md"},r=t("",49),o=[r];function p(l,c,d,y,i,h){return a(),e("div",null,o)}const C=s(n,[["render",p]]);export{F as __pageData,C as default};
diff --git a/docs/assets/core_guid-options.md.815e80a9.js b/docs/assets/core_guid-options.md.ed8b2a25.js
similarity index 99%
rename from docs/assets/core_guid-options.md.815e80a9.js
rename to docs/assets/core_guid-options.md.ed8b2a25.js
index b9b899a..c5b4330 100644
--- a/docs/assets/core_guid-options.md.815e80a9.js
+++ b/docs/assets/core_guid-options.md.ed8b2a25.js
@@ -1,4 +1,4 @@
-import{_ as s,c as e,o as a,a as n}from"./app.411d0108.js";const C=JSON.parse('{"title":"GuidOptions","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Constructors","slug":"constructors","link":"#constructors","children":[{"level":3,"title":"GuidOptions()","slug":"guidoptions-1","link":"#guidoptions-1","children":[]},{"level":3,"title":"GuidOptions(length, hyphens, braces, upperCaseOnly)","slug":"guidoptions-length-hyphens-braces-uppercaseonly","link":"#guidoptions-length-hyphens-braces-uppercaseonly","children":[]}]},{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"Length","slug":"length","link":"#length","children":[]},{"level":3,"title":"Hyphens","slug":"hyphens","link":"#hyphens","children":[]},{"level":3,"title":"Braces","slug":"braces","link":"#braces","children":[]},{"level":3,"title":"UpperCaseOnly","slug":"uppercaseonly","link":"#uppercaseonly","children":[]}]}],"relativePath":"core/guid-options.md","lastUpdated":1665313649000}'),t={name:"core/guid-options.md"},o=n(`

GuidOptions

This page is about the GuidOptions class available in PeyrSharp.Core. You can find here all of its properties.

Compatibility

The GuidOptions class is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Constructors

GuidOptions()

Definition

Initializes GuidOptions with default values for its properties.

Usage

c#
using PeyrSharp.Core;
+import{_ as s,c as e,o as a,a as n}from"./app.14bef1c5.js";const C=JSON.parse('{"title":"GuidOptions","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Constructors","slug":"constructors","link":"#constructors","children":[{"level":3,"title":"GuidOptions()","slug":"guidoptions-1","link":"#guidoptions-1","children":[]},{"level":3,"title":"GuidOptions(length, hyphens, braces, upperCaseOnly)","slug":"guidoptions-length-hyphens-braces-uppercaseonly","link":"#guidoptions-length-hyphens-braces-uppercaseonly","children":[]}]},{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"Length","slug":"length","link":"#length","children":[]},{"level":3,"title":"Hyphens","slug":"hyphens","link":"#hyphens","children":[]},{"level":3,"title":"Braces","slug":"braces","link":"#braces","children":[]},{"level":3,"title":"UpperCaseOnly","slug":"uppercaseonly","link":"#uppercaseonly","children":[]}]}],"relativePath":"core/guid-options.md","lastUpdated":1665313649000}'),t={name:"core/guid-options.md"},o=n(`

GuidOptions

This page is about the GuidOptions class available in PeyrSharp.Core. You can find here all of its properties.

Compatibility

The GuidOptions class is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Constructors

GuidOptions()

Definition

Initializes GuidOptions with default values for its properties.

Usage

c#
using PeyrSharp.Core;
 
 var options = new GuidOptions();
 /*
diff --git a/docs/assets/core_guid-options.md.815e80a9.lean.js b/docs/assets/core_guid-options.md.ed8b2a25.lean.js
similarity index 95%
rename from docs/assets/core_guid-options.md.815e80a9.lean.js
rename to docs/assets/core_guid-options.md.ed8b2a25.lean.js
index c7133f7..8fda0d5 100644
--- a/docs/assets/core_guid-options.md.815e80a9.lean.js
+++ b/docs/assets/core_guid-options.md.ed8b2a25.lean.js
@@ -1 +1 @@
-import{_ as s,c as e,o as a,a as n}from"./app.411d0108.js";const C=JSON.parse('{"title":"GuidOptions","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Constructors","slug":"constructors","link":"#constructors","children":[{"level":3,"title":"GuidOptions()","slug":"guidoptions-1","link":"#guidoptions-1","children":[]},{"level":3,"title":"GuidOptions(length, hyphens, braces, upperCaseOnly)","slug":"guidoptions-length-hyphens-braces-uppercaseonly","link":"#guidoptions-length-hyphens-braces-uppercaseonly","children":[]}]},{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"Length","slug":"length","link":"#length","children":[]},{"level":3,"title":"Hyphens","slug":"hyphens","link":"#hyphens","children":[]},{"level":3,"title":"Braces","slug":"braces","link":"#braces","children":[]},{"level":3,"title":"UpperCaseOnly","slug":"uppercaseonly","link":"#uppercaseonly","children":[]}]}],"relativePath":"core/guid-options.md","lastUpdated":1665313649000}'),t={name:"core/guid-options.md"},o=n("",41),l=[o];function p(i,c,r,d,h,y){return a(),e("div",null,l)}const g=s(t,[["render",p]]);export{C as __pageData,g as default};
+import{_ as s,c as e,o as a,a as n}from"./app.14bef1c5.js";const C=JSON.parse('{"title":"GuidOptions","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Constructors","slug":"constructors","link":"#constructors","children":[{"level":3,"title":"GuidOptions()","slug":"guidoptions-1","link":"#guidoptions-1","children":[]},{"level":3,"title":"GuidOptions(length, hyphens, braces, upperCaseOnly)","slug":"guidoptions-length-hyphens-braces-uppercaseonly","link":"#guidoptions-length-hyphens-braces-uppercaseonly","children":[]}]},{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"Length","slug":"length","link":"#length","children":[]},{"level":3,"title":"Hyphens","slug":"hyphens","link":"#hyphens","children":[]},{"level":3,"title":"Braces","slug":"braces","link":"#braces","children":[]},{"level":3,"title":"UpperCaseOnly","slug":"uppercaseonly","link":"#uppercaseonly","children":[]}]}],"relativePath":"core/guid-options.md","lastUpdated":1665313649000}'),t={name:"core/guid-options.md"},o=n("",41),l=[o];function p(i,c,r,d,h,y){return a(),e("div",null,l)}const g=s(t,[["render",p]]);export{C as __pageData,g as default};
diff --git a/docs/assets/core_guid.md.0dd4df84.js b/docs/assets/core_guid.md.375a4bd5.js
similarity index 99%
rename from docs/assets/core_guid.md.0dd4df84.js
rename to docs/assets/core_guid.md.375a4bd5.js
index b2c71e2..b837fa4 100644
--- a/docs/assets/core_guid.md.0dd4df84.js
+++ b/docs/assets/core_guid.md.375a4bd5.js
@@ -1,4 +1,4 @@
-import{_ as e,c as a,o as s,a as t}from"./app.411d0108.js";const y=JSON.parse('{"title":"GuidGen","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"Generate()","slug":"generate","link":"#generate","children":[]},{"level":3,"title":"Generate(length)","slug":"generate-length","link":"#generate-length","children":[]},{"level":3,"title":"Generate(fromString)","slug":"generate-fromstring","link":"#generate-fromstring","children":[]},{"level":3,"title":"Generate(guidOptions)","slug":"generate-guidoptions","link":"#generate-guidoptions","children":[]}]}],"relativePath":"core/guid.md","lastUpdated":1665311928000}'),n={name:"core/guid.md"},o=t(`

GuidGen

This page is about the GuidGen class available in PeyrSharp.Core. You can find here all of its methods and properties.

INFO

This class is static.

Compatibility

The GuidGen class is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Methods

Generate()

Definition

The Generate() method generates a Guid and will return it as a string.

INFO

This method has different overloads.

Arguments

This method has no arguments.

Usage

c#
using PeyrSharp.Core;
+import{_ as e,c as a,o as s,a as t}from"./app.14bef1c5.js";const y=JSON.parse('{"title":"GuidGen","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"Generate()","slug":"generate","link":"#generate","children":[]},{"level":3,"title":"Generate(length)","slug":"generate-length","link":"#generate-length","children":[]},{"level":3,"title":"Generate(fromString)","slug":"generate-fromstring","link":"#generate-fromstring","children":[]},{"level":3,"title":"Generate(guidOptions)","slug":"generate-guidoptions","link":"#generate-guidoptions","children":[]}]}],"relativePath":"core/guid.md","lastUpdated":1665311928000}'),n={name:"core/guid.md"},o=t(`

GuidGen

This page is about the GuidGen class available in PeyrSharp.Core. You can find here all of its methods and properties.

INFO

This class is static.

Compatibility

The GuidGen class is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Methods

Generate()

Definition

The Generate() method generates a Guid and will return it as a string.

INFO

This method has different overloads.

Arguments

This method has no arguments.

Usage

c#
using PeyrSharp.Core;
 
 string guid = GuidGen.Generate();
 // guid = 7992acdd-1c9a-4985-92df-04599d560bbc (example)
diff --git a/docs/assets/core_guid.md.0dd4df84.lean.js b/docs/assets/core_guid.md.375a4bd5.lean.js
similarity index 93%
rename from docs/assets/core_guid.md.0dd4df84.lean.js
rename to docs/assets/core_guid.md.375a4bd5.lean.js
index 83e2cc9..c62c4c4 100644
--- a/docs/assets/core_guid.md.0dd4df84.lean.js
+++ b/docs/assets/core_guid.md.375a4bd5.lean.js
@@ -1 +1 @@
-import{_ as e,c as a,o as s,a as t}from"./app.411d0108.js";const y=JSON.parse('{"title":"GuidGen","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"Generate()","slug":"generate","link":"#generate","children":[]},{"level":3,"title":"Generate(length)","slug":"generate-length","link":"#generate-length","children":[]},{"level":3,"title":"Generate(fromString)","slug":"generate-fromstring","link":"#generate-fromstring","children":[]},{"level":3,"title":"Generate(guidOptions)","slug":"generate-guidoptions","link":"#generate-guidoptions","children":[]}]}],"relativePath":"core/guid.md","lastUpdated":1665311928000}'),n={name:"core/guid.md"},o=t("",43),l=[o];function r(i,d,c,p,h,g){return s(),a("div",null,l)}const F=e(n,[["render",r]]);export{y as __pageData,F as default};
+import{_ as e,c as a,o as s,a as t}from"./app.14bef1c5.js";const y=JSON.parse('{"title":"GuidGen","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"Generate()","slug":"generate","link":"#generate","children":[]},{"level":3,"title":"Generate(length)","slug":"generate-length","link":"#generate-length","children":[]},{"level":3,"title":"Generate(fromString)","slug":"generate-fromstring","link":"#generate-fromstring","children":[]},{"level":3,"title":"Generate(guidOptions)","slug":"generate-guidoptions","link":"#generate-guidoptions","children":[]}]}],"relativePath":"core/guid.md","lastUpdated":1665311928000}'),n={name:"core/guid.md"},o=t("",43),l=[o];function r(i,d,c,p,h,g){return s(),a("div",null,l)}const F=e(n,[["render",r]]);export{y as __pageData,F as default};
diff --git a/docs/assets/core_internet.md.4ff06698.js b/docs/assets/core_internet.md.8175550b.js
similarity index 99%
rename from docs/assets/core_internet.md.4ff06698.js
rename to docs/assets/core_internet.md.8175550b.js
index 0b5cd53..e1edfc4 100644
--- a/docs/assets/core_internet.md.4ff06698.js
+++ b/docs/assets/core_internet.md.8175550b.js
@@ -1,4 +1,4 @@
-import{_ as s,c as a,o as n,a as e}from"./app.411d0108.js";const F=JSON.parse('{"title":"Internet","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"IsAvailableAsync()","slug":"isavailableasync","link":"#isavailableasync","children":[]},{"level":3,"title":"IsAvailableAsync(url)","slug":"isavailableasync-url","link":"#isavailableasync-url","children":[]},{"level":3,"title":"GetStatusCodeAsync(url)","slug":"getstatuscodeasync-url","link":"#getstatuscodeasync-url","children":[]},{"level":3,"title":"GetStatusDescriptionAsync(url)","slug":"getstatusdescriptionasync-url","link":"#getstatusdescriptionasync-url","children":[]},{"level":3,"title":"GetStatusCodeType(statusCode)","slug":"getstatuscodetype-statuscode","link":"#getstatuscodetype-statuscode","children":[]},{"level":3,"title":"GetUrlProtocol(url)","slug":"geturlprotocol-url","link":"#geturlprotocol-url","children":[]},{"level":3,"title":"IsUrlValid(url)","slug":"isurlvalid-url","link":"#isurlvalid-url","children":[]}]}],"relativePath":"core/internet.md","lastUpdated":1666703360000}'),t={name:"core/internet.md"},l=e(`

Internet

This page is about the Internet class available in PeyrSharp.Core. You can find here all of its methods.

INFO

This class is static.

Compatibility

The Internet class is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Methods

IsAvailableAsync()

Definition

Checks if a connection to the Internet is available. Returns a bool value.

INFO

This method is asynchronous and awaitable.

Arguments

This method has no arguments

Usage

c#
using PeyrSharp.Core;
+import{_ as s,c as a,o as n,a as e}from"./app.14bef1c5.js";const F=JSON.parse('{"title":"Internet","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"IsAvailableAsync()","slug":"isavailableasync","link":"#isavailableasync","children":[]},{"level":3,"title":"IsAvailableAsync(url)","slug":"isavailableasync-url","link":"#isavailableasync-url","children":[]},{"level":3,"title":"GetStatusCodeAsync(url)","slug":"getstatuscodeasync-url","link":"#getstatuscodeasync-url","children":[]},{"level":3,"title":"GetStatusDescriptionAsync(url)","slug":"getstatusdescriptionasync-url","link":"#getstatusdescriptionasync-url","children":[]},{"level":3,"title":"GetStatusCodeType(statusCode)","slug":"getstatuscodetype-statuscode","link":"#getstatuscodetype-statuscode","children":[]},{"level":3,"title":"GetUrlProtocol(url)","slug":"geturlprotocol-url","link":"#geturlprotocol-url","children":[]},{"level":3,"title":"IsUrlValid(url)","slug":"isurlvalid-url","link":"#isurlvalid-url","children":[]}]}],"relativePath":"core/internet.md","lastUpdated":1666703360000}'),t={name:"core/internet.md"},l=e(`

Internet

This page is about the Internet class available in PeyrSharp.Core. You can find here all of its methods.

INFO

This class is static.

Compatibility

The Internet class is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Methods

IsAvailableAsync()

Definition

Checks if a connection to the Internet is available. Returns a bool value.

INFO

This method is asynchronous and awaitable.

Arguments

This method has no arguments

Usage

c#
using PeyrSharp.Core;
 
 public static async void Main()
 {
diff --git a/docs/assets/core_internet.md.4ff06698.lean.js b/docs/assets/core_internet.md.8175550b.lean.js
similarity index 95%
rename from docs/assets/core_internet.md.4ff06698.lean.js
rename to docs/assets/core_internet.md.8175550b.lean.js
index caa6ed8..c47888a 100644
--- a/docs/assets/core_internet.md.4ff06698.lean.js
+++ b/docs/assets/core_internet.md.8175550b.lean.js
@@ -1 +1 @@
-import{_ as s,c as a,o as n,a as e}from"./app.411d0108.js";const F=JSON.parse('{"title":"Internet","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"IsAvailableAsync()","slug":"isavailableasync","link":"#isavailableasync","children":[]},{"level":3,"title":"IsAvailableAsync(url)","slug":"isavailableasync-url","link":"#isavailableasync-url","children":[]},{"level":3,"title":"GetStatusCodeAsync(url)","slug":"getstatuscodeasync-url","link":"#getstatuscodeasync-url","children":[]},{"level":3,"title":"GetStatusDescriptionAsync(url)","slug":"getstatusdescriptionasync-url","link":"#getstatusdescriptionasync-url","children":[]},{"level":3,"title":"GetStatusCodeType(statusCode)","slug":"getstatuscodetype-statuscode","link":"#getstatuscodetype-statuscode","children":[]},{"level":3,"title":"GetUrlProtocol(url)","slug":"geturlprotocol-url","link":"#geturlprotocol-url","children":[]},{"level":3,"title":"IsUrlValid(url)","slug":"isurlvalid-url","link":"#isurlvalid-url","children":[]}]}],"relativePath":"core/internet.md","lastUpdated":1666703360000}'),t={name:"core/internet.md"},l=e("",62),o=[l];function p(r,c,i,d,y,h){return n(),a("div",null,o)}const C=s(t,[["render",p]]);export{F as __pageData,C as default};
+import{_ as s,c as a,o as n,a as e}from"./app.14bef1c5.js";const F=JSON.parse('{"title":"Internet","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"IsAvailableAsync()","slug":"isavailableasync","link":"#isavailableasync","children":[]},{"level":3,"title":"IsAvailableAsync(url)","slug":"isavailableasync-url","link":"#isavailableasync-url","children":[]},{"level":3,"title":"GetStatusCodeAsync(url)","slug":"getstatuscodeasync-url","link":"#getstatuscodeasync-url","children":[]},{"level":3,"title":"GetStatusDescriptionAsync(url)","slug":"getstatusdescriptionasync-url","link":"#getstatusdescriptionasync-url","children":[]},{"level":3,"title":"GetStatusCodeType(statusCode)","slug":"getstatuscodetype-statuscode","link":"#getstatuscodetype-statuscode","children":[]},{"level":3,"title":"GetUrlProtocol(url)","slug":"geturlprotocol-url","link":"#geturlprotocol-url","children":[]},{"level":3,"title":"IsUrlValid(url)","slug":"isurlvalid-url","link":"#isurlvalid-url","children":[]}]}],"relativePath":"core/internet.md","lastUpdated":1666703360000}'),t={name:"core/internet.md"},l=e("",62),o=[l];function p(r,c,i,d,y,h){return n(),a("div",null,o)}const C=s(t,[["render",p]]);export{F as __pageData,C as default};
diff --git a/docs/assets/core_maths.md.6e32568b.js b/docs/assets/core_maths.md.09c7dd16.js
similarity index 97%
rename from docs/assets/core_maths.md.6e32568b.js
rename to docs/assets/core_maths.md.09c7dd16.js
index 7c8cb0e..b04ea60 100644
--- a/docs/assets/core_maths.md.6e32568b.js
+++ b/docs/assets/core_maths.md.09c7dd16.js
@@ -1 +1 @@
-import{_ as e,c as t,o as a,a as r}from"./app.411d0108.js";const p=JSON.parse('{"title":"Maths","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Classes","slug":"classes","link":"#classes","children":[]}],"relativePath":"core/maths.md","lastUpdated":1675590267000}'),l={name:"core/maths.md"},h=r('

Maths

This page is about the Maths namespace available in PeyrSharp.Core. You can find here all of its classes.

Compatibility

The Maths namespace is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Classes

',7),o=[h];function i(s,c,m,d,n,g){return a(),t("div",null,o)}const y=e(l,[["render",i]]);export{p as __pageData,y as default}; +import{_ as e,c as t,o as a,a as r}from"./app.14bef1c5.js";const p=JSON.parse('{"title":"Maths","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Classes","slug":"classes","link":"#classes","children":[]}],"relativePath":"core/maths.md","lastUpdated":1675590267000}'),l={name:"core/maths.md"},h=r('

Maths

This page is about the Maths namespace available in PeyrSharp.Core. You can find here all of its classes.

Compatibility

The Maths namespace is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Classes

',7),o=[h];function i(s,c,m,d,n,g){return a(),t("div",null,o)}const y=e(l,[["render",i]]);export{p as __pageData,y as default}; diff --git a/docs/assets/core_maths.md.6e32568b.lean.js b/docs/assets/core_maths.md.09c7dd16.lean.js similarity index 88% rename from docs/assets/core_maths.md.6e32568b.lean.js rename to docs/assets/core_maths.md.09c7dd16.lean.js index c3e4ee8..268d423 100644 --- a/docs/assets/core_maths.md.6e32568b.lean.js +++ b/docs/assets/core_maths.md.09c7dd16.lean.js @@ -1 +1 @@ -import{_ as e,c as t,o as a,a as r}from"./app.411d0108.js";const p=JSON.parse('{"title":"Maths","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Classes","slug":"classes","link":"#classes","children":[]}],"relativePath":"core/maths.md","lastUpdated":1675590267000}'),l={name:"core/maths.md"},h=r("",7),o=[h];function i(s,c,m,d,n,g){return a(),t("div",null,o)}const y=e(l,[["render",i]]);export{p as __pageData,y as default}; +import{_ as e,c as t,o as a,a as r}from"./app.14bef1c5.js";const p=JSON.parse('{"title":"Maths","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Classes","slug":"classes","link":"#classes","children":[]}],"relativePath":"core/maths.md","lastUpdated":1675590267000}'),l={name:"core/maths.md"},h=r("",7),o=[h];function i(s,c,m,d,n,g){return a(),t("div",null,o)}const y=e(l,[["render",i]]);export{p as __pageData,y as default}; diff --git a/docs/assets/core_maths_algebra.md.da74351b.js b/docs/assets/core_maths_algebra.md.fe772d84.js similarity index 99% rename from docs/assets/core_maths_algebra.md.da74351b.js rename to docs/assets/core_maths_algebra.md.fe772d84.js index 360c3bb..84e3554 100644 --- a/docs/assets/core_maths_algebra.md.da74351b.js +++ b/docs/assets/core_maths_algebra.md.fe772d84.js @@ -1,4 +1,4 @@ -import{_ as s,c as a,o as e,a as n}from"./app.411d0108.js";const C=JSON.parse('{"title":"Algebra","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"Sum(numbers) (double)","slug":"sum-numbers-double","link":"#sum-numbers-double","children":[]},{"level":3,"title":"Sum(numbers) (int)","slug":"sum-numbers-int","link":"#sum-numbers-int","children":[]},{"level":3,"title":"IsInt(number)","slug":"isint-number","link":"#isint-number","children":[]},{"level":3,"title":"GetOpposite(number)","slug":"getopposite-number","link":"#getopposite-number","children":[]},{"level":3,"title":"Factorial(number)","slug":"factorial-number","link":"#factorial-number","children":[]},{"level":3,"title":"PositiveOf(number)","slug":"positiveof-number","link":"#positiveof-number","children":[]},{"level":3,"title":"NegativeOf(number)","slug":"negativeof-number","link":"#negativeof-number","children":[]},{"level":3,"title":"GetResultsOf(function, numbers)","slug":"getresultsof-function-numbers","link":"#getresultsof-function-numbers","children":[]}]}],"relativePath":"core/maths/algebra.md","lastUpdated":1666370076000}'),t={name:"core/maths/algebra.md"},l=n(`

Algebra

This page is about the Algebra class available in PeyrSharp.Core.Maths. You can find here all of its methods.

INFO

This class is static.

Compatibility

The Algebra class is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Methods

Sum(numbers) (double)

Definition

Returns the sum of specified double numbers. It returns a double value.

Arguments

TypeNameMeaning
params double[]numbersThe numbers to do the sum of.

Usage

c#
using PeyrSharp.Core.Maths;
+import{_ as s,c as a,o as e,a as n}from"./app.14bef1c5.js";const C=JSON.parse('{"title":"Algebra","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"Sum(numbers) (double)","slug":"sum-numbers-double","link":"#sum-numbers-double","children":[]},{"level":3,"title":"Sum(numbers) (int)","slug":"sum-numbers-int","link":"#sum-numbers-int","children":[]},{"level":3,"title":"IsInt(number)","slug":"isint-number","link":"#isint-number","children":[]},{"level":3,"title":"GetOpposite(number)","slug":"getopposite-number","link":"#getopposite-number","children":[]},{"level":3,"title":"Factorial(number)","slug":"factorial-number","link":"#factorial-number","children":[]},{"level":3,"title":"PositiveOf(number)","slug":"positiveof-number","link":"#positiveof-number","children":[]},{"level":3,"title":"NegativeOf(number)","slug":"negativeof-number","link":"#negativeof-number","children":[]},{"level":3,"title":"GetResultsOf(function, numbers)","slug":"getresultsof-function-numbers","link":"#getresultsof-function-numbers","children":[]}]}],"relativePath":"core/maths/algebra.md","lastUpdated":1666370076000}'),t={name:"core/maths/algebra.md"},l=n(`

Algebra

This page is about the Algebra class available in PeyrSharp.Core.Maths. You can find here all of its methods.

INFO

This class is static.

Compatibility

The Algebra class is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Methods

Sum(numbers) (double)

Definition

Returns the sum of specified double numbers. It returns a double value.

Arguments

TypeNameMeaning
params double[]numbersThe numbers to do the sum of.

Usage

c#
using PeyrSharp.Core.Maths;
 
 // Usage 1
 double sum = Algebra.Sum(12, 1.5, 45, 2.2);
diff --git a/docs/assets/core_maths_algebra.md.da74351b.lean.js b/docs/assets/core_maths_algebra.md.fe772d84.lean.js
similarity index 95%
rename from docs/assets/core_maths_algebra.md.da74351b.lean.js
rename to docs/assets/core_maths_algebra.md.fe772d84.lean.js
index c8c4f15..6abbd15 100644
--- a/docs/assets/core_maths_algebra.md.da74351b.lean.js
+++ b/docs/assets/core_maths_algebra.md.fe772d84.lean.js
@@ -1 +1 @@
-import{_ as s,c as a,o as e,a as n}from"./app.411d0108.js";const C=JSON.parse('{"title":"Algebra","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"Sum(numbers) (double)","slug":"sum-numbers-double","link":"#sum-numbers-double","children":[]},{"level":3,"title":"Sum(numbers) (int)","slug":"sum-numbers-int","link":"#sum-numbers-int","children":[]},{"level":3,"title":"IsInt(number)","slug":"isint-number","link":"#isint-number","children":[]},{"level":3,"title":"GetOpposite(number)","slug":"getopposite-number","link":"#getopposite-number","children":[]},{"level":3,"title":"Factorial(number)","slug":"factorial-number","link":"#factorial-number","children":[]},{"level":3,"title":"PositiveOf(number)","slug":"positiveof-number","link":"#positiveof-number","children":[]},{"level":3,"title":"NegativeOf(number)","slug":"negativeof-number","link":"#negativeof-number","children":[]},{"level":3,"title":"GetResultsOf(function, numbers)","slug":"getresultsof-function-numbers","link":"#getresultsof-function-numbers","children":[]}]}],"relativePath":"core/maths/algebra.md","lastUpdated":1666370076000}'),t={name:"core/maths/algebra.md"},l=n("",63),o=[l];function p(r,c,i,d,h,u){return e(),a("div",null,o)}const F=s(t,[["render",p]]);export{C as __pageData,F as default};
+import{_ as s,c as a,o as e,a as n}from"./app.14bef1c5.js";const C=JSON.parse('{"title":"Algebra","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"Sum(numbers) (double)","slug":"sum-numbers-double","link":"#sum-numbers-double","children":[]},{"level":3,"title":"Sum(numbers) (int)","slug":"sum-numbers-int","link":"#sum-numbers-int","children":[]},{"level":3,"title":"IsInt(number)","slug":"isint-number","link":"#isint-number","children":[]},{"level":3,"title":"GetOpposite(number)","slug":"getopposite-number","link":"#getopposite-number","children":[]},{"level":3,"title":"Factorial(number)","slug":"factorial-number","link":"#factorial-number","children":[]},{"level":3,"title":"PositiveOf(number)","slug":"positiveof-number","link":"#positiveof-number","children":[]},{"level":3,"title":"NegativeOf(number)","slug":"negativeof-number","link":"#negativeof-number","children":[]},{"level":3,"title":"GetResultsOf(function, numbers)","slug":"getresultsof-function-numbers","link":"#getresultsof-function-numbers","children":[]}]}],"relativePath":"core/maths/algebra.md","lastUpdated":1666370076000}'),t={name:"core/maths/algebra.md"},l=n("",63),o=[l];function p(r,c,i,d,h,u){return e(),a("div",null,o)}const F=s(t,[["render",p]]);export{C as __pageData,F as default};
diff --git a/docs/assets/core_maths_geometry.md.3c0f6ca8.js b/docs/assets/core_maths_geometry.md.81cbe2ef.js
similarity index 97%
rename from docs/assets/core_maths_geometry.md.3c0f6ca8.js
rename to docs/assets/core_maths_geometry.md.81cbe2ef.js
index 8a9ee09..68e47f5 100644
--- a/docs/assets/core_maths_geometry.md.3c0f6ca8.js
+++ b/docs/assets/core_maths_geometry.md.81cbe2ef.js
@@ -1 +1 @@
-import{_ as e,c as t,o as a,a as r}from"./app.411d0108.js";const y=JSON.parse('{"title":"Geometry","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Classes","slug":"classes","link":"#classes","children":[]}],"relativePath":"core/maths/geometry.md","lastUpdated":1665756355000}'),o={name:"core/maths/geometry.md"},i=r('

Geometry

This page is about the Geometry namespace available in PeyrSharp.Core.Maths. This namespace includes several classes to get and calculates various aspects of different shapes, like the area, perimeter, volume and more.

Compatibility

The namespace is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Classes

',7),s=[i];function l(h,d,c,m,n,p){return a(),t("div",null,s)}const f=e(o,[["render",l]]);export{y as __pageData,f as default}; +import{_ as e,c as t,o as a,a as r}from"./app.14bef1c5.js";const y=JSON.parse('{"title":"Geometry","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Classes","slug":"classes","link":"#classes","children":[]}],"relativePath":"core/maths/geometry.md","lastUpdated":1665756355000}'),o={name:"core/maths/geometry.md"},i=r('

Geometry

This page is about the Geometry namespace available in PeyrSharp.Core.Maths. This namespace includes several classes to get and calculates various aspects of different shapes, like the area, perimeter, volume and more.

Compatibility

The namespace is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Classes

',7),s=[i];function l(h,d,c,m,n,p){return a(),t("div",null,s)}const f=e(o,[["render",l]]);export{y as __pageData,f as default}; diff --git a/docs/assets/core_maths_geometry.md.3c0f6ca8.lean.js b/docs/assets/core_maths_geometry.md.81cbe2ef.lean.js similarity index 88% rename from docs/assets/core_maths_geometry.md.3c0f6ca8.lean.js rename to docs/assets/core_maths_geometry.md.81cbe2ef.lean.js index b8fa462..04af40f 100644 --- a/docs/assets/core_maths_geometry.md.3c0f6ca8.lean.js +++ b/docs/assets/core_maths_geometry.md.81cbe2ef.lean.js @@ -1 +1 @@ -import{_ as e,c as t,o as a,a as r}from"./app.411d0108.js";const y=JSON.parse('{"title":"Geometry","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Classes","slug":"classes","link":"#classes","children":[]}],"relativePath":"core/maths/geometry.md","lastUpdated":1665756355000}'),o={name:"core/maths/geometry.md"},i=r("",7),s=[i];function l(h,d,c,m,n,p){return a(),t("div",null,s)}const f=e(o,[["render",l]]);export{y as __pageData,f as default}; +import{_ as e,c as t,o as a,a as r}from"./app.14bef1c5.js";const y=JSON.parse('{"title":"Geometry","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Classes","slug":"classes","link":"#classes","children":[]}],"relativePath":"core/maths/geometry.md","lastUpdated":1665756355000}'),o={name:"core/maths/geometry.md"},i=r("",7),s=[i];function l(h,d,c,m,n,p){return a(),t("div",null,s)}const f=e(o,[["render",l]]);export{y as __pageData,f as default}; diff --git a/docs/assets/core_maths_geometry_circle.md.3c91ea9b.js b/docs/assets/core_maths_geometry_circle.md.622ecf04.js similarity index 99% rename from docs/assets/core_maths_geometry_circle.md.3c91ea9b.js rename to docs/assets/core_maths_geometry_circle.md.622ecf04.js index 72525af..826a1bb 100644 --- a/docs/assets/core_maths_geometry_circle.md.3c91ea9b.js +++ b/docs/assets/core_maths_geometry_circle.md.622ecf04.js @@ -1,4 +1,4 @@ -import{_ as e,c as a,o as s,a as n}from"./app.411d0108.js";const u=JSON.parse('{"title":"Circle","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Constructors","slug":"constructors","link":"#constructors","children":[{"level":3,"title":"Circle(radius)","slug":"circle-radius","link":"#circle-radius","children":[]}]},{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"Area","slug":"area","link":"#area","children":[]},{"level":3,"title":"Perimeter","slug":"perimeter","link":"#perimeter","children":[]}]}],"relativePath":"core/maths/geometry/circle.md","lastUpdated":1665756380000}'),t={name:"core/maths/geometry/circle.md"},l=n(`

Circle

This page is about the Circle class available in PeyrSharp.Core.Maths.Geometry. You can find here all of its constructors and properties.

Compatibility

The Circle class is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Constructors

Circle(radius)

Definition

Initializes a Circle class from a specific radius.

Arguments

TypeNameMeaning
doubleradiusThe radius of the circle.

WARNING

If radius ≤ 0, a DivideByZeroException will be thrown.

Usage

c#
using PeyrSharp.Core.Maths.Geometry;
+import{_ as e,c as a,o as s,a as n}from"./app.14bef1c5.js";const u=JSON.parse('{"title":"Circle","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Constructors","slug":"constructors","link":"#constructors","children":[{"level":3,"title":"Circle(radius)","slug":"circle-radius","link":"#circle-radius","children":[]}]},{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"Area","slug":"area","link":"#area","children":[]},{"level":3,"title":"Perimeter","slug":"perimeter","link":"#perimeter","children":[]}]}],"relativePath":"core/maths/geometry/circle.md","lastUpdated":1665756380000}'),t={name:"core/maths/geometry/circle.md"},l=n(`

Circle

This page is about the Circle class available in PeyrSharp.Core.Maths.Geometry. You can find here all of its constructors and properties.

Compatibility

The Circle class is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Constructors

Circle(radius)

Definition

Initializes a Circle class from a specific radius.

Arguments

TypeNameMeaning
doubleradiusThe radius of the circle.

WARNING

If radius ≤ 0, a DivideByZeroException will be thrown.

Usage

c#
using PeyrSharp.Core.Maths.Geometry;
 
 Circle circle = new(10); // Creates a circle with a radius of 10
 

Properties

Area

Definition

c#
public double Area { get; }
diff --git a/docs/assets/core_maths_geometry_circle.md.3c91ea9b.lean.js b/docs/assets/core_maths_geometry_circle.md.622ecf04.lean.js
similarity index 93%
rename from docs/assets/core_maths_geometry_circle.md.3c91ea9b.lean.js
rename to docs/assets/core_maths_geometry_circle.md.622ecf04.lean.js
index 81ebb18..87df2b4 100644
--- a/docs/assets/core_maths_geometry_circle.md.3c91ea9b.lean.js
+++ b/docs/assets/core_maths_geometry_circle.md.622ecf04.lean.js
@@ -1 +1 @@
-import{_ as e,c as a,o as s,a as n}from"./app.411d0108.js";const u=JSON.parse('{"title":"Circle","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Constructors","slug":"constructors","link":"#constructors","children":[{"level":3,"title":"Circle(radius)","slug":"circle-radius","link":"#circle-radius","children":[]}]},{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"Area","slug":"area","link":"#area","children":[]},{"level":3,"title":"Perimeter","slug":"perimeter","link":"#perimeter","children":[]}]}],"relativePath":"core/maths/geometry/circle.md","lastUpdated":1665756380000}'),t={name:"core/maths/geometry/circle.md"},l=n("",27),r=[l];function o(c,p,i,d,h,y){return s(),a("div",null,r)}const D=e(t,[["render",o]]);export{u as __pageData,D as default};
+import{_ as e,c as a,o as s,a as n}from"./app.14bef1c5.js";const u=JSON.parse('{"title":"Circle","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Constructors","slug":"constructors","link":"#constructors","children":[{"level":3,"title":"Circle(radius)","slug":"circle-radius","link":"#circle-radius","children":[]}]},{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"Area","slug":"area","link":"#area","children":[]},{"level":3,"title":"Perimeter","slug":"perimeter","link":"#perimeter","children":[]}]}],"relativePath":"core/maths/geometry/circle.md","lastUpdated":1665756380000}'),t={name:"core/maths/geometry/circle.md"},l=n("",27),r=[l];function o(c,p,i,d,h,y){return s(),a("div",null,r)}const D=e(t,[["render",o]]);export{u as __pageData,D as default};
diff --git a/docs/assets/core_maths_geometry_cone.md.5b7b2d78.js b/docs/assets/core_maths_geometry_cone.md.26054aa4.js
similarity index 99%
rename from docs/assets/core_maths_geometry_cone.md.5b7b2d78.js
rename to docs/assets/core_maths_geometry_cone.md.26054aa4.js
index 410361a..1580958 100644
--- a/docs/assets/core_maths_geometry_cone.md.5b7b2d78.js
+++ b/docs/assets/core_maths_geometry_cone.md.26054aa4.js
@@ -1,4 +1,4 @@
-import{_ as s,c as a,o as e,a as n}from"./app.411d0108.js";const D=JSON.parse('{"title":"Cone","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Constructors","slug":"constructors","link":"#constructors","children":[{"level":3,"title":"Cone(radius, height)","slug":"cone-radius-height","link":"#cone-radius-height","children":[]}]},{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"Volume","slug":"volume","link":"#volume","children":[]},{"level":3,"title":"Radius","slug":"radius","link":"#radius","children":[]},{"level":3,"title":"Height","slug":"height","link":"#height","children":[]}]}],"relativePath":"core/maths/geometry/cone.md","lastUpdated":1665652653000}'),o={name:"core/maths/geometry/cone.md"},l=n(`

Cone

This page is about the Cone class available in PeyrSharp.Core.Maths.Geometry. You can find here all of its constructors and properties.

Compatibility

The Cone class is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Constructors

Cone(radius, height)

Definition

Initializes a Cone class from a specific radius and height.

Arguments

TypeNameMeaning
doubleradiusThe radius of the cone.
doubleheightThe height of the cone.

WARNING

If radius or height ≤ 0, a DivideByZeroException will be thrown.

Usage

c#
using PeyrSharp.Core.Maths.Geometry;
+import{_ as s,c as a,o as e,a as n}from"./app.14bef1c5.js";const D=JSON.parse('{"title":"Cone","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Constructors","slug":"constructors","link":"#constructors","children":[{"level":3,"title":"Cone(radius, height)","slug":"cone-radius-height","link":"#cone-radius-height","children":[]}]},{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"Volume","slug":"volume","link":"#volume","children":[]},{"level":3,"title":"Radius","slug":"radius","link":"#radius","children":[]},{"level":3,"title":"Height","slug":"height","link":"#height","children":[]}]}],"relativePath":"core/maths/geometry/cone.md","lastUpdated":1665652653000}'),o={name:"core/maths/geometry/cone.md"},l=n(`

Cone

This page is about the Cone class available in PeyrSharp.Core.Maths.Geometry. You can find here all of its constructors and properties.

Compatibility

The Cone class is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Constructors

Cone(radius, height)

Definition

Initializes a Cone class from a specific radius and height.

Arguments

TypeNameMeaning
doubleradiusThe radius of the cone.
doubleheightThe height of the cone.

WARNING

If radius or height ≤ 0, a DivideByZeroException will be thrown.

Usage

c#
using PeyrSharp.Core.Maths.Geometry;
 
 Cone cone = new(10, 20); // Creates a cone with a radius of 10, and a height of 20
 

Properties

Volume

Definition

c#
public double Volume { get; }
diff --git a/docs/assets/core_maths_geometry_cone.md.5b7b2d78.lean.js b/docs/assets/core_maths_geometry_cone.md.26054aa4.lean.js
similarity index 93%
rename from docs/assets/core_maths_geometry_cone.md.5b7b2d78.lean.js
rename to docs/assets/core_maths_geometry_cone.md.26054aa4.lean.js
index 2528f6d..a65f43d 100644
--- a/docs/assets/core_maths_geometry_cone.md.5b7b2d78.lean.js
+++ b/docs/assets/core_maths_geometry_cone.md.26054aa4.lean.js
@@ -1 +1 @@
-import{_ as s,c as a,o as e,a as n}from"./app.411d0108.js";const D=JSON.parse('{"title":"Cone","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Constructors","slug":"constructors","link":"#constructors","children":[{"level":3,"title":"Cone(radius, height)","slug":"cone-radius-height","link":"#cone-radius-height","children":[]}]},{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"Volume","slug":"volume","link":"#volume","children":[]},{"level":3,"title":"Radius","slug":"radius","link":"#radius","children":[]},{"level":3,"title":"Height","slug":"height","link":"#height","children":[]}]}],"relativePath":"core/maths/geometry/cone.md","lastUpdated":1665652653000}'),o={name:"core/maths/geometry/cone.md"},l=n("",33),t=[l];function p(r,c,i,d,h,y){return e(),a("div",null,t)}const u=s(o,[["render",p]]);export{D as __pageData,u as default};
+import{_ as s,c as a,o as e,a as n}from"./app.14bef1c5.js";const D=JSON.parse('{"title":"Cone","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Constructors","slug":"constructors","link":"#constructors","children":[{"level":3,"title":"Cone(radius, height)","slug":"cone-radius-height","link":"#cone-radius-height","children":[]}]},{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"Volume","slug":"volume","link":"#volume","children":[]},{"level":3,"title":"Radius","slug":"radius","link":"#radius","children":[]},{"level":3,"title":"Height","slug":"height","link":"#height","children":[]}]}],"relativePath":"core/maths/geometry/cone.md","lastUpdated":1665652653000}'),o={name:"core/maths/geometry/cone.md"},l=n("",33),t=[l];function p(r,c,i,d,h,y){return e(),a("div",null,t)}const u=s(o,[["render",p]]);export{D as __pageData,u as default};
diff --git a/docs/assets/core_maths_geometry_cube.md.fc31c497.js b/docs/assets/core_maths_geometry_cube.md.c4f83871.js
similarity index 99%
rename from docs/assets/core_maths_geometry_cube.md.fc31c497.js
rename to docs/assets/core_maths_geometry_cube.md.c4f83871.js
index 811ec6f..4e120bc 100644
--- a/docs/assets/core_maths_geometry_cube.md.fc31c497.js
+++ b/docs/assets/core_maths_geometry_cube.md.c4f83871.js
@@ -1,4 +1,4 @@
-import{_ as s,c as a,o as e,a as n}from"./app.411d0108.js";const D=JSON.parse('{"title":"Cube","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Constructors","slug":"constructors","link":"#constructors","children":[{"level":3,"title":"Cube(side)","slug":"cube-side","link":"#cube-side","children":[]},{"level":3,"title":"Cube(width, length, height)","slug":"cube-width-length-height","link":"#cube-width-length-height","children":[]}]},{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"Area","slug":"area","link":"#area","children":[]},{"level":3,"title":"Edge","slug":"edge","link":"#edge","children":[]},{"level":3,"title":"Length","slug":"length","link":"#length","children":[]},{"level":3,"title":"Height","slug":"height","link":"#height","children":[]},{"level":3,"title":"Side","slug":"side","link":"#side","children":[]},{"level":3,"title":"Volume","slug":"volume","link":"#volume","children":[]},{"level":3,"title":"Width","slug":"width","link":"#width","children":[]}]}],"relativePath":"core/maths/geometry/cube.md","lastUpdated":1665652653000}'),l={name:"core/maths/geometry/cube.md"},o=n(`

Cube

This page is about the Cube class available in PeyrSharp.Core.Maths.Geometry. You can find here all of its constructors and properties.

Compatibility

The Cube class is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Constructors

Cube(side)

Definition

Initializes a Cube class from the length of the side of the cube.

Arguments

TypeNameMeaning
doublesideThe length of the side of the cube.

WARNING

If side ≤ 0, a DivideByZeroException will be thrown.

Usage

c#
using PeyrSharp.Core.Maths.Geometry;
+import{_ as s,c as a,o as e,a as n}from"./app.14bef1c5.js";const D=JSON.parse('{"title":"Cube","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Constructors","slug":"constructors","link":"#constructors","children":[{"level":3,"title":"Cube(side)","slug":"cube-side","link":"#cube-side","children":[]},{"level":3,"title":"Cube(width, length, height)","slug":"cube-width-length-height","link":"#cube-width-length-height","children":[]}]},{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"Area","slug":"area","link":"#area","children":[]},{"level":3,"title":"Edge","slug":"edge","link":"#edge","children":[]},{"level":3,"title":"Length","slug":"length","link":"#length","children":[]},{"level":3,"title":"Height","slug":"height","link":"#height","children":[]},{"level":3,"title":"Side","slug":"side","link":"#side","children":[]},{"level":3,"title":"Volume","slug":"volume","link":"#volume","children":[]},{"level":3,"title":"Width","slug":"width","link":"#width","children":[]}]}],"relativePath":"core/maths/geometry/cube.md","lastUpdated":1665652653000}'),l={name:"core/maths/geometry/cube.md"},o=n(`

Cube

This page is about the Cube class available in PeyrSharp.Core.Maths.Geometry. You can find here all of its constructors and properties.

Compatibility

The Cube class is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Constructors

Cube(side)

Definition

Initializes a Cube class from the length of the side of the cube.

Arguments

TypeNameMeaning
doublesideThe length of the side of the cube.

WARNING

If side ≤ 0, a DivideByZeroException will be thrown.

Usage

c#
using PeyrSharp.Core.Maths.Geometry;
 
 Cube cube = new(10); // Creates a 10x10x10 cube
 

Cube(width, length, height)

Definition

Initializes a Cube class from the width, the length and the height of the cuboidal.

Arguments

TypeNameMeaning
doublewidthThe width of the cuboidal.
doublelengthThe length of the cuboidal.
doubleheightThe height of the cuboidal.

WARNING

If width, length or height ≤ 0, a DivideByZeroException will be thrown.

Usage

c#
using PeyrSharp.Core.Maths.Geometry;
diff --git a/docs/assets/core_maths_geometry_cube.md.fc31c497.lean.js b/docs/assets/core_maths_geometry_cube.md.c4f83871.lean.js
similarity index 95%
rename from docs/assets/core_maths_geometry_cube.md.fc31c497.lean.js
rename to docs/assets/core_maths_geometry_cube.md.c4f83871.lean.js
index 7044acc..a17e6f0 100644
--- a/docs/assets/core_maths_geometry_cube.md.fc31c497.lean.js
+++ b/docs/assets/core_maths_geometry_cube.md.c4f83871.lean.js
@@ -1 +1 @@
-import{_ as s,c as a,o as e,a as n}from"./app.411d0108.js";const D=JSON.parse('{"title":"Cube","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Constructors","slug":"constructors","link":"#constructors","children":[{"level":3,"title":"Cube(side)","slug":"cube-side","link":"#cube-side","children":[]},{"level":3,"title":"Cube(width, length, height)","slug":"cube-width-length-height","link":"#cube-width-length-height","children":[]}]},{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"Area","slug":"area","link":"#area","children":[]},{"level":3,"title":"Edge","slug":"edge","link":"#edge","children":[]},{"level":3,"title":"Length","slug":"length","link":"#length","children":[]},{"level":3,"title":"Height","slug":"height","link":"#height","children":[]},{"level":3,"title":"Side","slug":"side","link":"#side","children":[]},{"level":3,"title":"Volume","slug":"volume","link":"#volume","children":[]},{"level":3,"title":"Width","slug":"width","link":"#width","children":[]}]}],"relativePath":"core/maths/geometry/cube.md","lastUpdated":1665652653000}'),l={name:"core/maths/geometry/cube.md"},o=n("",66),t=[o];function p(c,r,i,d,h,y){return e(),a("div",null,t)}const u=s(l,[["render",p]]);export{D as __pageData,u as default};
+import{_ as s,c as a,o as e,a as n}from"./app.14bef1c5.js";const D=JSON.parse('{"title":"Cube","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Constructors","slug":"constructors","link":"#constructors","children":[{"level":3,"title":"Cube(side)","slug":"cube-side","link":"#cube-side","children":[]},{"level":3,"title":"Cube(width, length, height)","slug":"cube-width-length-height","link":"#cube-width-length-height","children":[]}]},{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"Area","slug":"area","link":"#area","children":[]},{"level":3,"title":"Edge","slug":"edge","link":"#edge","children":[]},{"level":3,"title":"Length","slug":"length","link":"#length","children":[]},{"level":3,"title":"Height","slug":"height","link":"#height","children":[]},{"level":3,"title":"Side","slug":"side","link":"#side","children":[]},{"level":3,"title":"Volume","slug":"volume","link":"#volume","children":[]},{"level":3,"title":"Width","slug":"width","link":"#width","children":[]}]}],"relativePath":"core/maths/geometry/cube.md","lastUpdated":1665652653000}'),l={name:"core/maths/geometry/cube.md"},o=n("",66),t=[o];function p(c,r,i,d,h,y){return e(),a("div",null,t)}const u=s(l,[["render",p]]);export{D as __pageData,u as default};
diff --git a/docs/assets/core_maths_geometry_cylinder.md.00c0788a.js b/docs/assets/core_maths_geometry_cylinder.md.0e79668f.js
similarity index 99%
rename from docs/assets/core_maths_geometry_cylinder.md.00c0788a.js
rename to docs/assets/core_maths_geometry_cylinder.md.0e79668f.js
index a10be4e..a29a8c6 100644
--- a/docs/assets/core_maths_geometry_cylinder.md.00c0788a.js
+++ b/docs/assets/core_maths_geometry_cylinder.md.0e79668f.js
@@ -1,4 +1,4 @@
-import{_ as s,c as a,o as e,a as n}from"./app.411d0108.js";const D=JSON.parse('{"title":"Cylinder","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Constructors","slug":"constructors","link":"#constructors","children":[{"level":3,"title":"Cylinder(radius, height)","slug":"cylinder-radius-height","link":"#cylinder-radius-height","children":[]}]},{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"Volume","slug":"volume","link":"#volume","children":[]},{"level":3,"title":"BaseArea","slug":"basearea","link":"#basearea","children":[]},{"level":3,"title":"Radius","slug":"radius","link":"#radius","children":[]},{"level":3,"title":"Height","slug":"height","link":"#height","children":[]}]}],"relativePath":"core/maths/geometry/cylinder.md","lastUpdated":1665652653000}'),l={name:"core/maths/geometry/cylinder.md"},o=n(`

Cylinder

This page is about the Cylinder class available in PeyrSharp.Core.Maths.Geometry. You can find here all of its constructors and properties.

Compatibility

The Cylinder class is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Constructors

Cylinder(radius, height)

Definition

Initializes a Cylinder class from a specific radius and height.

Arguments

TypeNameMeaning
doubleradiusThe radius of the cylinder.
doubleheightThe height of the cylinder.

WARNING

If radius or height ≤ 0, a DivideByZeroException will be thrown.

Usage

c#
using PeyrSharp.Core.Maths.Geometry;
+import{_ as s,c as a,o as e,a as n}from"./app.14bef1c5.js";const D=JSON.parse('{"title":"Cylinder","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Constructors","slug":"constructors","link":"#constructors","children":[{"level":3,"title":"Cylinder(radius, height)","slug":"cylinder-radius-height","link":"#cylinder-radius-height","children":[]}]},{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"Volume","slug":"volume","link":"#volume","children":[]},{"level":3,"title":"BaseArea","slug":"basearea","link":"#basearea","children":[]},{"level":3,"title":"Radius","slug":"radius","link":"#radius","children":[]},{"level":3,"title":"Height","slug":"height","link":"#height","children":[]}]}],"relativePath":"core/maths/geometry/cylinder.md","lastUpdated":1665652653000}'),l={name:"core/maths/geometry/cylinder.md"},o=n(`

Cylinder

This page is about the Cylinder class available in PeyrSharp.Core.Maths.Geometry. You can find here all of its constructors and properties.

Compatibility

The Cylinder class is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Constructors

Cylinder(radius, height)

Definition

Initializes a Cylinder class from a specific radius and height.

Arguments

TypeNameMeaning
doubleradiusThe radius of the cylinder.
doubleheightThe height of the cylinder.

WARNING

If radius or height ≤ 0, a DivideByZeroException will be thrown.

Usage

c#
using PeyrSharp.Core.Maths.Geometry;
 
 Cylinder cylinder = new(20, 10); // Creates a cylinder with a radius of 20, and a height of 10
 

Properties

Volume

Definition

c#
public double Volume { get; }
diff --git a/docs/assets/core_maths_geometry_cylinder.md.00c0788a.lean.js b/docs/assets/core_maths_geometry_cylinder.md.0e79668f.lean.js
similarity index 94%
rename from docs/assets/core_maths_geometry_cylinder.md.00c0788a.lean.js
rename to docs/assets/core_maths_geometry_cylinder.md.0e79668f.lean.js
index 1f3e2d4..994833c 100644
--- a/docs/assets/core_maths_geometry_cylinder.md.00c0788a.lean.js
+++ b/docs/assets/core_maths_geometry_cylinder.md.0e79668f.lean.js
@@ -1 +1 @@
-import{_ as s,c as a,o as e,a as n}from"./app.411d0108.js";const D=JSON.parse('{"title":"Cylinder","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Constructors","slug":"constructors","link":"#constructors","children":[{"level":3,"title":"Cylinder(radius, height)","slug":"cylinder-radius-height","link":"#cylinder-radius-height","children":[]}]},{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"Volume","slug":"volume","link":"#volume","children":[]},{"level":3,"title":"BaseArea","slug":"basearea","link":"#basearea","children":[]},{"level":3,"title":"Radius","slug":"radius","link":"#radius","children":[]},{"level":3,"title":"Height","slug":"height","link":"#height","children":[]}]}],"relativePath":"core/maths/geometry/cylinder.md","lastUpdated":1665652653000}'),l={name:"core/maths/geometry/cylinder.md"},o=n("",39),t=[o];function p(r,c,i,d,h,y){return e(),a("div",null,t)}const F=s(l,[["render",p]]);export{D as __pageData,F as default};
+import{_ as s,c as a,o as e,a as n}from"./app.14bef1c5.js";const D=JSON.parse('{"title":"Cylinder","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Constructors","slug":"constructors","link":"#constructors","children":[{"level":3,"title":"Cylinder(radius, height)","slug":"cylinder-radius-height","link":"#cylinder-radius-height","children":[]}]},{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"Volume","slug":"volume","link":"#volume","children":[]},{"level":3,"title":"BaseArea","slug":"basearea","link":"#basearea","children":[]},{"level":3,"title":"Radius","slug":"radius","link":"#radius","children":[]},{"level":3,"title":"Height","slug":"height","link":"#height","children":[]}]}],"relativePath":"core/maths/geometry/cylinder.md","lastUpdated":1665652653000}'),l={name:"core/maths/geometry/cylinder.md"},o=n("",39),t=[o];function p(r,c,i,d,h,y){return e(),a("div",null,t)}const F=s(l,[["render",p]]);export{D as __pageData,F as default};
diff --git a/docs/assets/core_maths_geometry_diamond.md.9a70f7ed.js b/docs/assets/core_maths_geometry_diamond.md.bc39b351.js
similarity index 99%
rename from docs/assets/core_maths_geometry_diamond.md.9a70f7ed.js
rename to docs/assets/core_maths_geometry_diamond.md.bc39b351.js
index 14d42f2..ecb01b3 100644
--- a/docs/assets/core_maths_geometry_diamond.md.9a70f7ed.js
+++ b/docs/assets/core_maths_geometry_diamond.md.bc39b351.js
@@ -1,4 +1,4 @@
-import{_ as a,c as s,o as e,a as n}from"./app.411d0108.js";const D=JSON.parse('{"title":"Diamond","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Constructors","slug":"constructors","link":"#constructors","children":[{"level":3,"title":"Diamond(side)","slug":"diamond-side","link":"#diamond-side","children":[]},{"level":3,"title":"Diamond(diagonal1, diagonal2)","slug":"diamond-diagonal1-diagonal2","link":"#diamond-diagonal1-diagonal2","children":[]}]},{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"Area","slug":"area","link":"#area","children":[]},{"level":3,"title":"Perimeter","slug":"perimeter","link":"#perimeter","children":[]},{"level":3,"title":"Side","slug":"side","link":"#side","children":[]},{"level":3,"title":"Diagonals","slug":"diagonals","link":"#diagonals","children":[]}]}],"relativePath":"core/maths/geometry/diamond.md","lastUpdated":1666360764000}'),o={name:"core/maths/geometry/diamond.md"},l=n(`

Diamond

This page is about the Diamond class available in PeyrSharp.Core.Maths.Geometry. You can find here all of its constructors and properties.

Compatibility

The Diamond class is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Constructors

Diamond(side)

Definition

Initializes a Diamond class from the length of its side.

Arguments

TypeNameMeaning
doublesideThe length of the side.

WARNING

If side ≤ 0, a DivideByZeroException will be thrown.

Usage

c#
using PeyrSharp.Core.Maths.Geometry;
+import{_ as a,c as s,o as e,a as n}from"./app.14bef1c5.js";const D=JSON.parse('{"title":"Diamond","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Constructors","slug":"constructors","link":"#constructors","children":[{"level":3,"title":"Diamond(side)","slug":"diamond-side","link":"#diamond-side","children":[]},{"level":3,"title":"Diamond(diagonal1, diagonal2)","slug":"diamond-diagonal1-diagonal2","link":"#diamond-diagonal1-diagonal2","children":[]}]},{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"Area","slug":"area","link":"#area","children":[]},{"level":3,"title":"Perimeter","slug":"perimeter","link":"#perimeter","children":[]},{"level":3,"title":"Side","slug":"side","link":"#side","children":[]},{"level":3,"title":"Diagonals","slug":"diagonals","link":"#diagonals","children":[]}]}],"relativePath":"core/maths/geometry/diamond.md","lastUpdated":1666360764000}'),o={name:"core/maths/geometry/diamond.md"},l=n(`

Diamond

This page is about the Diamond class available in PeyrSharp.Core.Maths.Geometry. You can find here all of its constructors and properties.

Compatibility

The Diamond class is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Constructors

Diamond(side)

Definition

Initializes a Diamond class from the length of its side.

Arguments

TypeNameMeaning
doublesideThe length of the side.

WARNING

If side ≤ 0, a DivideByZeroException will be thrown.

Usage

c#
using PeyrSharp.Core.Maths.Geometry;
 
 Diamond diamond = new(5); // Creates a diamond where all the sides equals to 5.
 

Diamond(diagonal1, diagonal2)

Definition

Initializes a Diamond class from the length of its diagonals.

Arguments

TypeNameMeaning
doublediagonal1The length of the first diagonal.
doublediagonal2The side of the second diagonal.

WARNING

If diagonal1 or diagonal2 ≤ 0, a DivideByZeroException will be thrown.

Usage

c#
using PeyrSharp.Core.Maths.Geometry;
diff --git a/docs/assets/core_maths_geometry_diamond.md.9a70f7ed.lean.js b/docs/assets/core_maths_geometry_diamond.md.bc39b351.lean.js
similarity index 94%
rename from docs/assets/core_maths_geometry_diamond.md.9a70f7ed.lean.js
rename to docs/assets/core_maths_geometry_diamond.md.bc39b351.lean.js
index feca94d..dd7c29d 100644
--- a/docs/assets/core_maths_geometry_diamond.md.9a70f7ed.lean.js
+++ b/docs/assets/core_maths_geometry_diamond.md.bc39b351.lean.js
@@ -1 +1 @@
-import{_ as a,c as s,o as e,a as n}from"./app.411d0108.js";const D=JSON.parse('{"title":"Diamond","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Constructors","slug":"constructors","link":"#constructors","children":[{"level":3,"title":"Diamond(side)","slug":"diamond-side","link":"#diamond-side","children":[]},{"level":3,"title":"Diamond(diagonal1, diagonal2)","slug":"diamond-diagonal1-diagonal2","link":"#diamond-diagonal1-diagonal2","children":[]}]},{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"Area","slug":"area","link":"#area","children":[]},{"level":3,"title":"Perimeter","slug":"perimeter","link":"#perimeter","children":[]},{"level":3,"title":"Side","slug":"side","link":"#side","children":[]},{"level":3,"title":"Diagonals","slug":"diagonals","link":"#diagonals","children":[]}]}],"relativePath":"core/maths/geometry/diamond.md","lastUpdated":1666360764000}'),o={name:"core/maths/geometry/diamond.md"},l=n("",49),t=[l];function p(i,r,c,d,h,y){return e(),s("div",null,t)}const F=a(o,[["render",p]]);export{D as __pageData,F as default};
+import{_ as a,c as s,o as e,a as n}from"./app.14bef1c5.js";const D=JSON.parse('{"title":"Diamond","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Constructors","slug":"constructors","link":"#constructors","children":[{"level":3,"title":"Diamond(side)","slug":"diamond-side","link":"#diamond-side","children":[]},{"level":3,"title":"Diamond(diagonal1, diagonal2)","slug":"diamond-diagonal1-diagonal2","link":"#diamond-diagonal1-diagonal2","children":[]}]},{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"Area","slug":"area","link":"#area","children":[]},{"level":3,"title":"Perimeter","slug":"perimeter","link":"#perimeter","children":[]},{"level":3,"title":"Side","slug":"side","link":"#side","children":[]},{"level":3,"title":"Diagonals","slug":"diagonals","link":"#diagonals","children":[]}]}],"relativePath":"core/maths/geometry/diamond.md","lastUpdated":1666360764000}'),o={name:"core/maths/geometry/diamond.md"},l=n("",49),t=[l];function p(i,r,c,d,h,y){return e(),s("div",null,t)}const F=a(o,[["render",p]]);export{D as __pageData,F as default};
diff --git a/docs/assets/core_maths_geometry_hexagon.md.d81e4ccc.js b/docs/assets/core_maths_geometry_hexagon.md.06dcaf3d.js
similarity index 99%
rename from docs/assets/core_maths_geometry_hexagon.md.d81e4ccc.js
rename to docs/assets/core_maths_geometry_hexagon.md.06dcaf3d.js
index a8f217f..cbc5230 100644
--- a/docs/assets/core_maths_geometry_hexagon.md.d81e4ccc.js
+++ b/docs/assets/core_maths_geometry_hexagon.md.06dcaf3d.js
@@ -1,4 +1,4 @@
-import{_ as s,c as a,o as e,a as n}from"./app.411d0108.js";const D=JSON.parse('{"title":"Hexagon","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Constructors","slug":"constructors","link":"#constructors","children":[{"level":3,"title":"Hexagon(side)","slug":"hexagon-side","link":"#hexagon-side","children":[]}]},{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"Area","slug":"area","link":"#area","children":[]},{"level":3,"title":"Perimeter","slug":"perimeter","link":"#perimeter","children":[]},{"level":3,"title":"Side","slug":"side","link":"#side","children":[]}]}],"relativePath":"core/maths/geometry/hexagon.md","lastUpdated":1665753720000}'),o={name:"core/maths/geometry/hexagon.md"},t=n(`

Hexagon

This page is about the Hexagon class available in PeyrSharp.Core.Maths.Geometry. You can find here all of its constructors and properties.

Compatibility

The Hexagon class is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Constructors

Hexagon(side)

Definition

Initializes a Hexagon class from the length of its side.

Arguments

TypeNameMeaning
doublesideThe length of the side of the hexagon.

WARNING

If side ≤ 0, a DivideByZeroException will be thrown.

Usage

c#
using PeyrSharp.Core.Maths.Geometry;
+import{_ as s,c as a,o as e,a as n}from"./app.14bef1c5.js";const D=JSON.parse('{"title":"Hexagon","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Constructors","slug":"constructors","link":"#constructors","children":[{"level":3,"title":"Hexagon(side)","slug":"hexagon-side","link":"#hexagon-side","children":[]}]},{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"Area","slug":"area","link":"#area","children":[]},{"level":3,"title":"Perimeter","slug":"perimeter","link":"#perimeter","children":[]},{"level":3,"title":"Side","slug":"side","link":"#side","children":[]}]}],"relativePath":"core/maths/geometry/hexagon.md","lastUpdated":1665753720000}'),o={name:"core/maths/geometry/hexagon.md"},t=n(`

Hexagon

This page is about the Hexagon class available in PeyrSharp.Core.Maths.Geometry. You can find here all of its constructors and properties.

Compatibility

The Hexagon class is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Constructors

Hexagon(side)

Definition

Initializes a Hexagon class from the length of its side.

Arguments

TypeNameMeaning
doublesideThe length of the side of the hexagon.

WARNING

If side ≤ 0, a DivideByZeroException will be thrown.

Usage

c#
using PeyrSharp.Core.Maths.Geometry;
 
 Hexagon hexagon = new(12); // Creates a hexagon with a length of 12
 

Properties

Area

Definition

c#
public double Area { get; }
diff --git a/docs/assets/core_maths_geometry_hexagon.md.d81e4ccc.lean.js b/docs/assets/core_maths_geometry_hexagon.md.06dcaf3d.lean.js
similarity index 93%
rename from docs/assets/core_maths_geometry_hexagon.md.d81e4ccc.lean.js
rename to docs/assets/core_maths_geometry_hexagon.md.06dcaf3d.lean.js
index ef1f27d..d3121d3 100644
--- a/docs/assets/core_maths_geometry_hexagon.md.d81e4ccc.lean.js
+++ b/docs/assets/core_maths_geometry_hexagon.md.06dcaf3d.lean.js
@@ -1 +1 @@
-import{_ as s,c as a,o as e,a as n}from"./app.411d0108.js";const D=JSON.parse('{"title":"Hexagon","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Constructors","slug":"constructors","link":"#constructors","children":[{"level":3,"title":"Hexagon(side)","slug":"hexagon-side","link":"#hexagon-side","children":[]}]},{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"Area","slug":"area","link":"#area","children":[]},{"level":3,"title":"Perimeter","slug":"perimeter","link":"#perimeter","children":[]},{"level":3,"title":"Side","slug":"side","link":"#side","children":[]}]}],"relativePath":"core/maths/geometry/hexagon.md","lastUpdated":1665753720000}'),o={name:"core/maths/geometry/hexagon.md"},t=n("",33),l=[t];function p(r,c,i,d,h,y){return e(),a("div",null,l)}const g=s(o,[["render",p]]);export{D as __pageData,g as default};
+import{_ as s,c as a,o as e,a as n}from"./app.14bef1c5.js";const D=JSON.parse('{"title":"Hexagon","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Constructors","slug":"constructors","link":"#constructors","children":[{"level":3,"title":"Hexagon(side)","slug":"hexagon-side","link":"#hexagon-side","children":[]}]},{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"Area","slug":"area","link":"#area","children":[]},{"level":3,"title":"Perimeter","slug":"perimeter","link":"#perimeter","children":[]},{"level":3,"title":"Side","slug":"side","link":"#side","children":[]}]}],"relativePath":"core/maths/geometry/hexagon.md","lastUpdated":1665753720000}'),o={name:"core/maths/geometry/hexagon.md"},t=n("",33),l=[t];function p(r,c,i,d,h,y){return e(),a("div",null,l)}const g=s(o,[["render",p]]);export{D as __pageData,g as default};
diff --git a/docs/assets/core_maths_geometry_pyramid.md.a51ccb18.js b/docs/assets/core_maths_geometry_pyramid.md.bd0d6815.js
similarity index 99%
rename from docs/assets/core_maths_geometry_pyramid.md.a51ccb18.js
rename to docs/assets/core_maths_geometry_pyramid.md.bd0d6815.js
index 33e29d8..e597efc 100644
--- a/docs/assets/core_maths_geometry_pyramid.md.a51ccb18.js
+++ b/docs/assets/core_maths_geometry_pyramid.md.bd0d6815.js
@@ -1,4 +1,4 @@
-import{_ as a,c as s,o as e,a as n}from"./app.411d0108.js";const F=JSON.parse('{"title":"Pyramid","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Constructors","slug":"constructors","link":"#constructors","children":[{"level":3,"title":"Pyramid(width, length, height)","slug":"pyramid-width-length-height","link":"#pyramid-width-length-height","children":[]}]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"FromVolumeAndSize(volume, width, length)","slug":"fromvolumeandsize-volume-width-length","link":"#fromvolumeandsize-volume-width-length","children":[]},{"level":3,"title":"FromAreaAndLength(area, length, height)","slug":"fromareaandlength-area-length-height","link":"#fromareaandlength-area-length-height","children":[]},{"level":3,"title":"FromAreaAndWidth(area, width, height)","slug":"fromareaandwidth-area-width-height","link":"#fromareaandwidth-area-width-height","children":[]}]},{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"AreaBase","slug":"areabase","link":"#areabase","children":[]},{"level":3,"title":"Volume","slug":"volume","link":"#volume","children":[]},{"level":3,"title":"LengthBase","slug":"lengthbase","link":"#lengthbase","children":[]},{"level":3,"title":"WidthBase","slug":"widthbase","link":"#widthbase","children":[]},{"level":3,"title":"Width","slug":"width","link":"#width","children":[]},{"level":3,"title":"Length","slug":"length","link":"#length","children":[]},{"level":3,"title":"Height","slug":"height","link":"#height","children":[]}]}],"relativePath":"core/maths/geometry/pyramid.md","lastUpdated":1665753720000}'),l={name:"core/maths/geometry/pyramid.md"},o=n(`

Pyramid

This page is about the Pyramid class available in PeyrSharp.Core.Maths.Geometry. You can find here all of its constructors, methods and properties.

Compatibility

The Pyramid class is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Constructors

Pyramid(width, length, height)

Definition

Initializes a Pyramid class from a specific width, length, and height.

Arguments

TypeNameMeaning
doublewidthThe width of the pyramid.
doublelengthThe length of the pyramid.
doubleheightThe height of the pyramid.

Usage

c#
using PeyrSharp.Core.Maths.Geometry;
+import{_ as a,c as s,o as e,a as n}from"./app.14bef1c5.js";const F=JSON.parse('{"title":"Pyramid","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Constructors","slug":"constructors","link":"#constructors","children":[{"level":3,"title":"Pyramid(width, length, height)","slug":"pyramid-width-length-height","link":"#pyramid-width-length-height","children":[]}]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"FromVolumeAndSize(volume, width, length)","slug":"fromvolumeandsize-volume-width-length","link":"#fromvolumeandsize-volume-width-length","children":[]},{"level":3,"title":"FromAreaAndLength(area, length, height)","slug":"fromareaandlength-area-length-height","link":"#fromareaandlength-area-length-height","children":[]},{"level":3,"title":"FromAreaAndWidth(area, width, height)","slug":"fromareaandwidth-area-width-height","link":"#fromareaandwidth-area-width-height","children":[]}]},{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"AreaBase","slug":"areabase","link":"#areabase","children":[]},{"level":3,"title":"Volume","slug":"volume","link":"#volume","children":[]},{"level":3,"title":"LengthBase","slug":"lengthbase","link":"#lengthbase","children":[]},{"level":3,"title":"WidthBase","slug":"widthbase","link":"#widthbase","children":[]},{"level":3,"title":"Width","slug":"width","link":"#width","children":[]},{"level":3,"title":"Length","slug":"length","link":"#length","children":[]},{"level":3,"title":"Height","slug":"height","link":"#height","children":[]}]}],"relativePath":"core/maths/geometry/pyramid.md","lastUpdated":1665753720000}'),l={name:"core/maths/geometry/pyramid.md"},o=n(`

Pyramid

This page is about the Pyramid class available in PeyrSharp.Core.Maths.Geometry. You can find here all of its constructors, methods and properties.

Compatibility

The Pyramid class is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Constructors

Pyramid(width, length, height)

Definition

Initializes a Pyramid class from a specific width, length, and height.

Arguments

TypeNameMeaning
doublewidthThe width of the pyramid.
doublelengthThe length of the pyramid.
doubleheightThe height of the pyramid.

Usage

c#
using PeyrSharp.Core.Maths.Geometry;
 
 Pyramid pyramid = new(12, 10, 15); // Creates a pyramid with a width of 12, a length of 10, and a height of 15
 

Methods

FromVolumeAndSize(volume, width, length)

Definition

Initializes a Pyramid class from a specific volume, width, and length.

Arguments

TypeNameMeaning
doublevolumeThe volume of the pyramid.
doublewidthThe width of the pyramid.
doublelengthThe length of the pyramid.

Usage

c#
using PeyrSharp.Core.Maths.Geometry;
diff --git a/docs/assets/core_maths_geometry_pyramid.md.a51ccb18.lean.js b/docs/assets/core_maths_geometry_pyramid.md.bd0d6815.lean.js
similarity index 96%
rename from docs/assets/core_maths_geometry_pyramid.md.a51ccb18.lean.js
rename to docs/assets/core_maths_geometry_pyramid.md.bd0d6815.lean.js
index 3eedbed..c52f9e9 100644
--- a/docs/assets/core_maths_geometry_pyramid.md.a51ccb18.lean.js
+++ b/docs/assets/core_maths_geometry_pyramid.md.bd0d6815.lean.js
@@ -1 +1 @@
-import{_ as a,c as s,o as e,a as n}from"./app.411d0108.js";const F=JSON.parse('{"title":"Pyramid","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Constructors","slug":"constructors","link":"#constructors","children":[{"level":3,"title":"Pyramid(width, length, height)","slug":"pyramid-width-length-height","link":"#pyramid-width-length-height","children":[]}]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"FromVolumeAndSize(volume, width, length)","slug":"fromvolumeandsize-volume-width-length","link":"#fromvolumeandsize-volume-width-length","children":[]},{"level":3,"title":"FromAreaAndLength(area, length, height)","slug":"fromareaandlength-area-length-height","link":"#fromareaandlength-area-length-height","children":[]},{"level":3,"title":"FromAreaAndWidth(area, width, height)","slug":"fromareaandwidth-area-width-height","link":"#fromareaandwidth-area-width-height","children":[]}]},{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"AreaBase","slug":"areabase","link":"#areabase","children":[]},{"level":3,"title":"Volume","slug":"volume","link":"#volume","children":[]},{"level":3,"title":"LengthBase","slug":"lengthbase","link":"#lengthbase","children":[]},{"level":3,"title":"WidthBase","slug":"widthbase","link":"#widthbase","children":[]},{"level":3,"title":"Width","slug":"width","link":"#width","children":[]},{"level":3,"title":"Length","slug":"length","link":"#length","children":[]},{"level":3,"title":"Height","slug":"height","link":"#height","children":[]}]}],"relativePath":"core/maths/geometry/pyramid.md","lastUpdated":1665753720000}'),l={name:"core/maths/geometry/pyramid.md"},o=n("",78),t=[o];function p(r,c,i,d,h,y){return e(),s("div",null,t)}const D=a(l,[["render",p]]);export{F as __pageData,D as default};
+import{_ as a,c as s,o as e,a as n}from"./app.14bef1c5.js";const F=JSON.parse('{"title":"Pyramid","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Constructors","slug":"constructors","link":"#constructors","children":[{"level":3,"title":"Pyramid(width, length, height)","slug":"pyramid-width-length-height","link":"#pyramid-width-length-height","children":[]}]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"FromVolumeAndSize(volume, width, length)","slug":"fromvolumeandsize-volume-width-length","link":"#fromvolumeandsize-volume-width-length","children":[]},{"level":3,"title":"FromAreaAndLength(area, length, height)","slug":"fromareaandlength-area-length-height","link":"#fromareaandlength-area-length-height","children":[]},{"level":3,"title":"FromAreaAndWidth(area, width, height)","slug":"fromareaandwidth-area-width-height","link":"#fromareaandwidth-area-width-height","children":[]}]},{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"AreaBase","slug":"areabase","link":"#areabase","children":[]},{"level":3,"title":"Volume","slug":"volume","link":"#volume","children":[]},{"level":3,"title":"LengthBase","slug":"lengthbase","link":"#lengthbase","children":[]},{"level":3,"title":"WidthBase","slug":"widthbase","link":"#widthbase","children":[]},{"level":3,"title":"Width","slug":"width","link":"#width","children":[]},{"level":3,"title":"Length","slug":"length","link":"#length","children":[]},{"level":3,"title":"Height","slug":"height","link":"#height","children":[]}]}],"relativePath":"core/maths/geometry/pyramid.md","lastUpdated":1665753720000}'),l={name:"core/maths/geometry/pyramid.md"},o=n("",78),t=[o];function p(r,c,i,d,h,y){return e(),s("div",null,t)}const D=a(l,[["render",p]]);export{F as __pageData,D as default};
diff --git a/docs/assets/core_maths_geometry_rectangle.md.dcc3fb10.js b/docs/assets/core_maths_geometry_rectangle.md.21a49f5e.js
similarity index 99%
rename from docs/assets/core_maths_geometry_rectangle.md.dcc3fb10.js
rename to docs/assets/core_maths_geometry_rectangle.md.21a49f5e.js
index 9482793..d51e9fa 100644
--- a/docs/assets/core_maths_geometry_rectangle.md.dcc3fb10.js
+++ b/docs/assets/core_maths_geometry_rectangle.md.21a49f5e.js
@@ -1,4 +1,4 @@
-import{_ as s,c as a,o as e,a as n}from"./app.411d0108.js";const D=JSON.parse('{"title":"Rectangle","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Constructors","slug":"constructors","link":"#constructors","children":[{"level":3,"title":"Rectangle(width, length)","slug":"rectangle-width-length","link":"#rectangle-width-length","children":[]}]},{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"Area","slug":"area","link":"#area","children":[]},{"level":3,"title":"Perimeter","slug":"perimeter","link":"#perimeter","children":[]},{"level":3,"title":"Diagonal","slug":"diagonal","link":"#diagonal","children":[]},{"level":3,"title":"Width","slug":"width","link":"#width","children":[]},{"level":3,"title":"Length","slug":"length","link":"#length","children":[]}]}],"relativePath":"core/maths/geometry/rectangle.md","lastUpdated":1665754402000}'),l={name:"core/maths/geometry/rectangle.md"},t=n(`

Rectangle

This page is about the Rectangle class available in PeyrSharp.Core.Maths.Geometry. You can find here all of its constructors and properties.

Compatibility

The Rectangle class is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Constructors

Rectangle(width, length)

Definition

Initializes a Rectangle class from a specific length and width.

Arguments

TypeNameMeaning
doublewidthThe width of the rectangle.
doublelengthThe length of the rectangle.

WARNING

If width or length ≤ 0, a DivideByZeroException will be thrown.

Usage

c#
using PeyrSharp.Core.Maths.Geometry;
+import{_ as s,c as a,o as e,a as n}from"./app.14bef1c5.js";const D=JSON.parse('{"title":"Rectangle","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Constructors","slug":"constructors","link":"#constructors","children":[{"level":3,"title":"Rectangle(width, length)","slug":"rectangle-width-length","link":"#rectangle-width-length","children":[]}]},{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"Area","slug":"area","link":"#area","children":[]},{"level":3,"title":"Perimeter","slug":"perimeter","link":"#perimeter","children":[]},{"level":3,"title":"Diagonal","slug":"diagonal","link":"#diagonal","children":[]},{"level":3,"title":"Width","slug":"width","link":"#width","children":[]},{"level":3,"title":"Length","slug":"length","link":"#length","children":[]}]}],"relativePath":"core/maths/geometry/rectangle.md","lastUpdated":1665754402000}'),l={name:"core/maths/geometry/rectangle.md"},t=n(`

Rectangle

This page is about the Rectangle class available in PeyrSharp.Core.Maths.Geometry. You can find here all of its constructors and properties.

Compatibility

The Rectangle class is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Constructors

Rectangle(width, length)

Definition

Initializes a Rectangle class from a specific length and width.

Arguments

TypeNameMeaning
doublewidthThe width of the rectangle.
doublelengthThe length of the rectangle.

WARNING

If width or length ≤ 0, a DivideByZeroException will be thrown.

Usage

c#
using PeyrSharp.Core.Maths.Geometry;
 
 Rectangle rectangle = new(10, 20); // Creates a 10x20 rectangle
 

Properties

Area

Definition

c#
public double Area { get; }
diff --git a/docs/assets/core_maths_geometry_rectangle.md.dcc3fb10.lean.js b/docs/assets/core_maths_geometry_rectangle.md.21a49f5e.lean.js
similarity index 94%
rename from docs/assets/core_maths_geometry_rectangle.md.dcc3fb10.lean.js
rename to docs/assets/core_maths_geometry_rectangle.md.21a49f5e.lean.js
index e30d04b..98ef34b 100644
--- a/docs/assets/core_maths_geometry_rectangle.md.dcc3fb10.lean.js
+++ b/docs/assets/core_maths_geometry_rectangle.md.21a49f5e.lean.js
@@ -1 +1 @@
-import{_ as s,c as a,o as e,a as n}from"./app.411d0108.js";const D=JSON.parse('{"title":"Rectangle","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Constructors","slug":"constructors","link":"#constructors","children":[{"level":3,"title":"Rectangle(width, length)","slug":"rectangle-width-length","link":"#rectangle-width-length","children":[]}]},{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"Area","slug":"area","link":"#area","children":[]},{"level":3,"title":"Perimeter","slug":"perimeter","link":"#perimeter","children":[]},{"level":3,"title":"Diagonal","slug":"diagonal","link":"#diagonal","children":[]},{"level":3,"title":"Width","slug":"width","link":"#width","children":[]},{"level":3,"title":"Length","slug":"length","link":"#length","children":[]}]}],"relativePath":"core/maths/geometry/rectangle.md","lastUpdated":1665754402000}'),l={name:"core/maths/geometry/rectangle.md"},t=n("",45),o=[t];function p(r,c,i,d,h,y){return e(),a("div",null,o)}const F=s(l,[["render",p]]);export{D as __pageData,F as default};
+import{_ as s,c as a,o as e,a as n}from"./app.14bef1c5.js";const D=JSON.parse('{"title":"Rectangle","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Constructors","slug":"constructors","link":"#constructors","children":[{"level":3,"title":"Rectangle(width, length)","slug":"rectangle-width-length","link":"#rectangle-width-length","children":[]}]},{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"Area","slug":"area","link":"#area","children":[]},{"level":3,"title":"Perimeter","slug":"perimeter","link":"#perimeter","children":[]},{"level":3,"title":"Diagonal","slug":"diagonal","link":"#diagonal","children":[]},{"level":3,"title":"Width","slug":"width","link":"#width","children":[]},{"level":3,"title":"Length","slug":"length","link":"#length","children":[]}]}],"relativePath":"core/maths/geometry/rectangle.md","lastUpdated":1665754402000}'),l={name:"core/maths/geometry/rectangle.md"},t=n("",45),o=[t];function p(r,c,i,d,h,y){return e(),a("div",null,o)}const F=s(l,[["render",p]]);export{D as __pageData,F as default};
diff --git a/docs/assets/core_maths_geometry_sphere.md.dcc16c8e.js b/docs/assets/core_maths_geometry_sphere.md.0c08689a.js
similarity index 99%
rename from docs/assets/core_maths_geometry_sphere.md.dcc16c8e.js
rename to docs/assets/core_maths_geometry_sphere.md.0c08689a.js
index b608c04..a2d7c95 100644
--- a/docs/assets/core_maths_geometry_sphere.md.dcc16c8e.js
+++ b/docs/assets/core_maths_geometry_sphere.md.0c08689a.js
@@ -1,4 +1,4 @@
-import{_ as s,c as a,o as e,a as n}from"./app.411d0108.js";const u=JSON.parse('{"title":"Sphere","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Constructors","slug":"constructors","link":"#constructors","children":[{"level":3,"title":"Sphere(radius)","slug":"sphere-radius","link":"#sphere-radius","children":[]}]},{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"Area","slug":"area","link":"#area","children":[]},{"level":3,"title":"Volume","slug":"volume","link":"#volume","children":[]},{"level":3,"title":"Radius","slug":"radius","link":"#radius","children":[]}]}],"relativePath":"core/maths/geometry/sphere.md","lastUpdated":1665754815000}'),l={name:"core/maths/geometry/sphere.md"},o=n(`

Sphere

This page is about the Sphere class available in PeyrSharp.Core.Maths.Geometry. You can find here all of its constructors and properties.

Compatibility

The Sphere class is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Constructors

Sphere(radius)

Definition

Initializes a Sphere class from a specific radius.

Arguments

TypeNameMeaning
doubleradiusThe radius of the sphere.

WARNING

If radius ≤ 0, a DivideByZeroException will be thrown.

Usage

c#
using PeyrSharp.Core.Maths.Geometry;
+import{_ as s,c as a,o as e,a as n}from"./app.14bef1c5.js";const u=JSON.parse('{"title":"Sphere","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Constructors","slug":"constructors","link":"#constructors","children":[{"level":3,"title":"Sphere(radius)","slug":"sphere-radius","link":"#sphere-radius","children":[]}]},{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"Area","slug":"area","link":"#area","children":[]},{"level":3,"title":"Volume","slug":"volume","link":"#volume","children":[]},{"level":3,"title":"Radius","slug":"radius","link":"#radius","children":[]}]}],"relativePath":"core/maths/geometry/sphere.md","lastUpdated":1665754815000}'),l={name:"core/maths/geometry/sphere.md"},o=n(`

Sphere

This page is about the Sphere class available in PeyrSharp.Core.Maths.Geometry. You can find here all of its constructors and properties.

Compatibility

The Sphere class is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Constructors

Sphere(radius)

Definition

Initializes a Sphere class from a specific radius.

Arguments

TypeNameMeaning
doubleradiusThe radius of the sphere.

WARNING

If radius ≤ 0, a DivideByZeroException will be thrown.

Usage

c#
using PeyrSharp.Core.Maths.Geometry;
 
 Sphere sphere = new(10); // Creates a sphere with a radius of 10
 

Properties

Area

Definition

c#
public double Area { get; }
diff --git a/docs/assets/core_maths_geometry_sphere.md.dcc16c8e.lean.js b/docs/assets/core_maths_geometry_sphere.md.0c08689a.lean.js
similarity index 93%
rename from docs/assets/core_maths_geometry_sphere.md.dcc16c8e.lean.js
rename to docs/assets/core_maths_geometry_sphere.md.0c08689a.lean.js
index d168d27..e2e23ad 100644
--- a/docs/assets/core_maths_geometry_sphere.md.dcc16c8e.lean.js
+++ b/docs/assets/core_maths_geometry_sphere.md.0c08689a.lean.js
@@ -1 +1 @@
-import{_ as s,c as a,o as e,a as n}from"./app.411d0108.js";const u=JSON.parse('{"title":"Sphere","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Constructors","slug":"constructors","link":"#constructors","children":[{"level":3,"title":"Sphere(radius)","slug":"sphere-radius","link":"#sphere-radius","children":[]}]},{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"Area","slug":"area","link":"#area","children":[]},{"level":3,"title":"Volume","slug":"volume","link":"#volume","children":[]},{"level":3,"title":"Radius","slug":"radius","link":"#radius","children":[]}]}],"relativePath":"core/maths/geometry/sphere.md","lastUpdated":1665754815000}'),l={name:"core/maths/geometry/sphere.md"},o=n("",33),t=[o];function p(r,c,i,d,h,y){return e(),a("div",null,t)}const D=s(l,[["render",p]]);export{u as __pageData,D as default};
+import{_ as s,c as a,o as e,a as n}from"./app.14bef1c5.js";const u=JSON.parse('{"title":"Sphere","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Constructors","slug":"constructors","link":"#constructors","children":[{"level":3,"title":"Sphere(radius)","slug":"sphere-radius","link":"#sphere-radius","children":[]}]},{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"Area","slug":"area","link":"#area","children":[]},{"level":3,"title":"Volume","slug":"volume","link":"#volume","children":[]},{"level":3,"title":"Radius","slug":"radius","link":"#radius","children":[]}]}],"relativePath":"core/maths/geometry/sphere.md","lastUpdated":1665754815000}'),l={name:"core/maths/geometry/sphere.md"},o=n("",33),t=[o];function p(r,c,i,d,h,y){return e(),a("div",null,t)}const D=s(l,[["render",p]]);export{u as __pageData,D as default};
diff --git a/docs/assets/core_maths_geometry_triangle.md.4250f88f.js b/docs/assets/core_maths_geometry_triangle.md.e7310ace.js
similarity index 99%
rename from docs/assets/core_maths_geometry_triangle.md.4250f88f.js
rename to docs/assets/core_maths_geometry_triangle.md.e7310ace.js
index aa4550c..741bc30 100644
--- a/docs/assets/core_maths_geometry_triangle.md.4250f88f.js
+++ b/docs/assets/core_maths_geometry_triangle.md.e7310ace.js
@@ -1,4 +1,4 @@
-import{_ as s,c as a,o as e,a as n}from"./app.411d0108.js";const D=JSON.parse('{"title":"Triangle","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Constructors","slug":"constructors","link":"#constructors","children":[{"level":3,"title":"Triangle(side1, side2, side3)","slug":"triangle-side1-side2-side3","link":"#triangle-side1-side2-side3","children":[]},{"level":3,"title":"Triangle(width, height)","slug":"triangle-width-height","link":"#triangle-width-height","children":[]}]},{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"Area","slug":"area","link":"#area","children":[]},{"level":3,"title":"Perimeter","slug":"perimeter","link":"#perimeter","children":[]},{"level":3,"title":"Hypotenuse","slug":"hypotenuse","link":"#hypotenuse","children":[]},{"level":3,"title":"IsRight","slug":"isright","link":"#isright","children":[]},{"level":3,"title":"CanBeBuilt","slug":"canbebuilt","link":"#canbebuilt","children":[]},{"level":3,"title":"Width","slug":"width","link":"#width","children":[]},{"level":3,"title":"Height","slug":"height","link":"#height","children":[]},{"level":3,"title":"Side1","slug":"side1","link":"#side1","children":[]},{"level":3,"title":"Side2","slug":"side2","link":"#side2","children":[]},{"level":3,"title":"Side3","slug":"side3","link":"#side3","children":[]}]}],"relativePath":"core/maths/geometry/triangle.md","lastUpdated":1665755989000}'),l={name:"core/maths/geometry/triangle.md"},o=n(`

Triangle

This page is about the Triangle class available in PeyrSharp.Core.Maths.Geometry. You can find here all of its constructors and properties.

Compatibility

The Triangle class is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Constructors

Triangle(side1, side2, side3)

Definition

Initializes a Triangle class from the length of its sides.

Arguments

TypeNameMeaning
doubleside1The length of the first side of the triangle.
doubleside2The length of the second side of the triangle.
doubleside3The length of the third side of the triangle.

WARNING

If side1, side2, or side3 ≤ 0, a DivideByZeroException will be thrown.

Usage

c#
using PeyrSharp.Core.Maths.Geometry;
+import{_ as s,c as a,o as e,a as n}from"./app.14bef1c5.js";const D=JSON.parse('{"title":"Triangle","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Constructors","slug":"constructors","link":"#constructors","children":[{"level":3,"title":"Triangle(side1, side2, side3)","slug":"triangle-side1-side2-side3","link":"#triangle-side1-side2-side3","children":[]},{"level":3,"title":"Triangle(width, height)","slug":"triangle-width-height","link":"#triangle-width-height","children":[]}]},{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"Area","slug":"area","link":"#area","children":[]},{"level":3,"title":"Perimeter","slug":"perimeter","link":"#perimeter","children":[]},{"level":3,"title":"Hypotenuse","slug":"hypotenuse","link":"#hypotenuse","children":[]},{"level":3,"title":"IsRight","slug":"isright","link":"#isright","children":[]},{"level":3,"title":"CanBeBuilt","slug":"canbebuilt","link":"#canbebuilt","children":[]},{"level":3,"title":"Width","slug":"width","link":"#width","children":[]},{"level":3,"title":"Height","slug":"height","link":"#height","children":[]},{"level":3,"title":"Side1","slug":"side1","link":"#side1","children":[]},{"level":3,"title":"Side2","slug":"side2","link":"#side2","children":[]},{"level":3,"title":"Side3","slug":"side3","link":"#side3","children":[]}]}],"relativePath":"core/maths/geometry/triangle.md","lastUpdated":1665755989000}'),l={name:"core/maths/geometry/triangle.md"},o=n(`

Triangle

This page is about the Triangle class available in PeyrSharp.Core.Maths.Geometry. You can find here all of its constructors and properties.

Compatibility

The Triangle class is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Constructors

Triangle(side1, side2, side3)

Definition

Initializes a Triangle class from the length of its sides.

Arguments

TypeNameMeaning
doubleside1The length of the first side of the triangle.
doubleside2The length of the second side of the triangle.
doubleside3The length of the third side of the triangle.

WARNING

If side1, side2, or side3 ≤ 0, a DivideByZeroException will be thrown.

Usage

c#
using PeyrSharp.Core.Maths.Geometry;
 
 Triangle triangle = new(10, 20, 10); // Creates a triangle
 

Triangle(width, height)

Definition

Initializes a Triangle class from a width and height.

Arguments

TypeNameMeaning
doublewidthThe width of the triangle.
doubleheightThe height of the triangle.

Usage

c#
using PeyrSharp.Core.Maths.Geometry;
diff --git a/docs/assets/core_maths_geometry_triangle.md.4250f88f.lean.js b/docs/assets/core_maths_geometry_triangle.md.e7310ace.lean.js
similarity index 96%
rename from docs/assets/core_maths_geometry_triangle.md.4250f88f.lean.js
rename to docs/assets/core_maths_geometry_triangle.md.e7310ace.lean.js
index 4f6cc87..916fdd6 100644
--- a/docs/assets/core_maths_geometry_triangle.md.4250f88f.lean.js
+++ b/docs/assets/core_maths_geometry_triangle.md.e7310ace.lean.js
@@ -1 +1 @@
-import{_ as s,c as a,o as e,a as n}from"./app.411d0108.js";const D=JSON.parse('{"title":"Triangle","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Constructors","slug":"constructors","link":"#constructors","children":[{"level":3,"title":"Triangle(side1, side2, side3)","slug":"triangle-side1-side2-side3","link":"#triangle-side1-side2-side3","children":[]},{"level":3,"title":"Triangle(width, height)","slug":"triangle-width-height","link":"#triangle-width-height","children":[]}]},{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"Area","slug":"area","link":"#area","children":[]},{"level":3,"title":"Perimeter","slug":"perimeter","link":"#perimeter","children":[]},{"level":3,"title":"Hypotenuse","slug":"hypotenuse","link":"#hypotenuse","children":[]},{"level":3,"title":"IsRight","slug":"isright","link":"#isright","children":[]},{"level":3,"title":"CanBeBuilt","slug":"canbebuilt","link":"#canbebuilt","children":[]},{"level":3,"title":"Width","slug":"width","link":"#width","children":[]},{"level":3,"title":"Height","slug":"height","link":"#height","children":[]},{"level":3,"title":"Side1","slug":"side1","link":"#side1","children":[]},{"level":3,"title":"Side2","slug":"side2","link":"#side2","children":[]},{"level":3,"title":"Side3","slug":"side3","link":"#side3","children":[]}]}],"relativePath":"core/maths/geometry/triangle.md","lastUpdated":1665755989000}'),l={name:"core/maths/geometry/triangle.md"},o=n("",87),t=[o];function p(i,r,c,d,h,y){return e(),a("div",null,t)}const F=s(l,[["render",p]]);export{D as __pageData,F as default};
+import{_ as s,c as a,o as e,a as n}from"./app.14bef1c5.js";const D=JSON.parse('{"title":"Triangle","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Constructors","slug":"constructors","link":"#constructors","children":[{"level":3,"title":"Triangle(side1, side2, side3)","slug":"triangle-side1-side2-side3","link":"#triangle-side1-side2-side3","children":[]},{"level":3,"title":"Triangle(width, height)","slug":"triangle-width-height","link":"#triangle-width-height","children":[]}]},{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"Area","slug":"area","link":"#area","children":[]},{"level":3,"title":"Perimeter","slug":"perimeter","link":"#perimeter","children":[]},{"level":3,"title":"Hypotenuse","slug":"hypotenuse","link":"#hypotenuse","children":[]},{"level":3,"title":"IsRight","slug":"isright","link":"#isright","children":[]},{"level":3,"title":"CanBeBuilt","slug":"canbebuilt","link":"#canbebuilt","children":[]},{"level":3,"title":"Width","slug":"width","link":"#width","children":[]},{"level":3,"title":"Height","slug":"height","link":"#height","children":[]},{"level":3,"title":"Side1","slug":"side1","link":"#side1","children":[]},{"level":3,"title":"Side2","slug":"side2","link":"#side2","children":[]},{"level":3,"title":"Side3","slug":"side3","link":"#side3","children":[]}]}],"relativePath":"core/maths/geometry/triangle.md","lastUpdated":1665755989000}'),l={name:"core/maths/geometry/triangle.md"},o=n("",87),t=[o];function p(i,r,c,d,h,y){return e(),a("div",null,t)}const F=s(l,[["render",p]]);export{D as __pageData,F as default};
diff --git a/docs/assets/core_maths_percentages.md.77d6acbf.js b/docs/assets/core_maths_percentages.md.90396ab6.js
similarity index 99%
rename from docs/assets/core_maths_percentages.md.77d6acbf.js
rename to docs/assets/core_maths_percentages.md.90396ab6.js
index cac4c83..02d0da5 100644
--- a/docs/assets/core_maths_percentages.md.77d6acbf.js
+++ b/docs/assets/core_maths_percentages.md.90396ab6.js
@@ -1,4 +1,4 @@
-import{_ as e,c as a,o as t,a as s}from"./app.411d0108.js";const g=JSON.parse('{"title":"Percentages","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"IncreaseBy(value, increaseRate)","slug":"increaseby-value-increaserate","link":"#increaseby-value-increaserate","children":[]},{"level":3,"title":"DecreaseBy(value, decreaseRate)","slug":"decreaseby-value-decreaserate","link":"#decreaseby-value-decreaserate","children":[]},{"level":3,"title":"GetInvertedEvolutionRate(evolutionRate)","slug":"getinvertedevolutionrate-evolutionrate","link":"#getinvertedevolutionrate-evolutionrate","children":[]},{"level":3,"title":"ProportionToPercentageString(proportion)","slug":"proportiontopercentagestring-proportion","link":"#proportiontopercentagestring-proportion","children":[]}]}],"relativePath":"core/maths/percentages.md","lastUpdated":1666371130000}'),n={name:"core/maths/percentages.md"},o=s(`

Percentages

This page is about the Percentages class available in PeyrSharp.Core.Maths. You can find here all of its methods.

INFO

This class is static.

Compatibility

The Percentages class is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Methods

IncreaseBy(value, increaseRate)

Definition

Returns the value after an increase of x% as a double.

Arguments

TypeNameMeaning
doublevalueThe original value.
doubleincreaseRateThe increase percentage (as x/100d).

Usage

c#
using PeyrSharp.Core.Maths;
+import{_ as e,c as a,o as t,a as s}from"./app.14bef1c5.js";const g=JSON.parse('{"title":"Percentages","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"IncreaseBy(value, increaseRate)","slug":"increaseby-value-increaserate","link":"#increaseby-value-increaserate","children":[]},{"level":3,"title":"DecreaseBy(value, decreaseRate)","slug":"decreaseby-value-decreaserate","link":"#decreaseby-value-decreaserate","children":[]},{"level":3,"title":"GetInvertedEvolutionRate(evolutionRate)","slug":"getinvertedevolutionrate-evolutionrate","link":"#getinvertedevolutionrate-evolutionrate","children":[]},{"level":3,"title":"ProportionToPercentageString(proportion)","slug":"proportiontopercentagestring-proportion","link":"#proportiontopercentagestring-proportion","children":[]}]}],"relativePath":"core/maths/percentages.md","lastUpdated":1666371130000}'),n={name:"core/maths/percentages.md"},o=s(`

Percentages

This page is about the Percentages class available in PeyrSharp.Core.Maths. You can find here all of its methods.

INFO

This class is static.

Compatibility

The Percentages class is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Methods

IncreaseBy(value, increaseRate)

Definition

Returns the value after an increase of x% as a double.

Arguments

TypeNameMeaning
doublevalueThe original value.
doubleincreaseRateThe increase percentage (as x/100d).

Usage

c#
using PeyrSharp.Core.Maths;
 
 double price = Percentages.IncreaseBy(100, 10/100d); // Increase the price by 10%
 // price = 110
diff --git a/docs/assets/core_maths_percentages.md.77d6acbf.lean.js b/docs/assets/core_maths_percentages.md.90396ab6.lean.js
similarity index 94%
rename from docs/assets/core_maths_percentages.md.77d6acbf.lean.js
rename to docs/assets/core_maths_percentages.md.90396ab6.lean.js
index e0fb0a5..f306601 100644
--- a/docs/assets/core_maths_percentages.md.77d6acbf.lean.js
+++ b/docs/assets/core_maths_percentages.md.90396ab6.lean.js
@@ -1 +1 @@
-import{_ as e,c as a,o as t,a as s}from"./app.411d0108.js";const g=JSON.parse('{"title":"Percentages","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"IncreaseBy(value, increaseRate)","slug":"increaseby-value-increaserate","link":"#increaseby-value-increaserate","children":[]},{"level":3,"title":"DecreaseBy(value, decreaseRate)","slug":"decreaseby-value-decreaserate","link":"#decreaseby-value-decreaserate","children":[]},{"level":3,"title":"GetInvertedEvolutionRate(evolutionRate)","slug":"getinvertedevolutionrate-evolutionrate","link":"#getinvertedevolutionrate-evolutionrate","children":[]},{"level":3,"title":"ProportionToPercentageString(proportion)","slug":"proportiontopercentagestring-proportion","link":"#proportiontopercentagestring-proportion","children":[]}]}],"relativePath":"core/maths/percentages.md","lastUpdated":1666371130000}'),n={name:"core/maths/percentages.md"},o=s("",35),r=[o];function l(c,i,d,p,h,y){return t(),a("div",null,r)}const C=e(n,[["render",l]]);export{g as __pageData,C as default};
+import{_ as e,c as a,o as t,a as s}from"./app.14bef1c5.js";const g=JSON.parse('{"title":"Percentages","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"IncreaseBy(value, increaseRate)","slug":"increaseby-value-increaserate","link":"#increaseby-value-increaserate","children":[]},{"level":3,"title":"DecreaseBy(value, decreaseRate)","slug":"decreaseby-value-decreaserate","link":"#decreaseby-value-decreaserate","children":[]},{"level":3,"title":"GetInvertedEvolutionRate(evolutionRate)","slug":"getinvertedevolutionrate-evolutionrate","link":"#getinvertedevolutionrate-evolutionrate","children":[]},{"level":3,"title":"ProportionToPercentageString(proportion)","slug":"proportiontopercentagestring-proportion","link":"#proportiontopercentagestring-proportion","children":[]}]}],"relativePath":"core/maths/percentages.md","lastUpdated":1666371130000}'),n={name:"core/maths/percentages.md"},o=s("",35),r=[o];function l(c,i,d,p,h,y){return t(),a("div",null,r)}const C=e(n,[["render",l]]);export{g as __pageData,C as default};
diff --git a/docs/assets/core_maths_proba.md.4ae3fd10.js b/docs/assets/core_maths_proba.md.91605011.js
similarity index 98%
rename from docs/assets/core_maths_proba.md.4ae3fd10.js
rename to docs/assets/core_maths_proba.md.91605011.js
index 94fc03f..236941f 100644
--- a/docs/assets/core_maths_proba.md.4ae3fd10.js
+++ b/docs/assets/core_maths_proba.md.91605011.js
@@ -1,4 +1,4 @@
-import{_ as a,c as s,o as e,a as t}from"./app.411d0108.js";const b=JSON.parse('{"title":"Proba","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"GetRandomValue(probabilities)","slug":"getrandomvalue-probabilities","link":"#getrandomvalue-probabilities","children":[]}]}],"relativePath":"core/maths/proba.md","lastUpdated":1675590267000}'),o={name:"core/maths/proba.md"},n=t(`

Proba

This page is about the Proba class available in PeyrSharp.Core.Maths. You can find here all of its methods.

INFO

This class is static.

Compatibility

The Proba class is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Methods

GetRandomValue(probabilities)

Definition

Gets a random value based on the specified probabilities. Returns a randomly selected value.

Type parameters

TypeNameMeaning
T-The type of the values to select from.

Parameters

TypeNameMeaning
Dictionary<T, double>probabilitiesA dictionary containing the probability of getting each value.

Exceptions

  • ArgumentException: Thrown if the sum of probabilities is not equal to 1.
  • Exception: Thrown if an unexpected error occurs while selecting a random value.

Usage

c#
using PeyrSharp.Core.Maths;
+import{_ as a,c as s,o as e,a as t}from"./app.14bef1c5.js";const b=JSON.parse('{"title":"Proba","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"GetRandomValue(probabilities)","slug":"getrandomvalue-probabilities","link":"#getrandomvalue-probabilities","children":[]}]}],"relativePath":"core/maths/proba.md","lastUpdated":1675590267000}'),o={name:"core/maths/proba.md"},n=t(`

Proba

This page is about the Proba class available in PeyrSharp.Core.Maths. You can find here all of its methods.

INFO

This class is static.

Compatibility

The Proba class is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Methods

GetRandomValue(probabilities)

Definition

Gets a random value based on the specified probabilities. Returns a randomly selected value.

Type parameters

TypeNameMeaning
T-The type of the values to select from.

Parameters

TypeNameMeaning
Dictionary<T, double>probabilitiesA dictionary containing the probability of getting each value.

Exceptions

  • ArgumentException: Thrown if the sum of probabilities is not equal to 1.
  • Exception: Thrown if an unexpected error occurs while selecting a random value.

Usage

c#
using PeyrSharp.Core.Maths;
 
 Dictionary<string, double> probabilities = new Dictionary<string, double>
 {
diff --git a/docs/assets/core_maths_proba.md.4ae3fd10.lean.js b/docs/assets/core_maths_proba.md.91605011.lean.js
similarity index 90%
rename from docs/assets/core_maths_proba.md.4ae3fd10.lean.js
rename to docs/assets/core_maths_proba.md.91605011.lean.js
index 206fb7f..845c355 100644
--- a/docs/assets/core_maths_proba.md.4ae3fd10.lean.js
+++ b/docs/assets/core_maths_proba.md.91605011.lean.js
@@ -1 +1 @@
-import{_ as a,c as s,o as e,a as t}from"./app.411d0108.js";const b=JSON.parse('{"title":"Proba","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"GetRandomValue(probabilities)","slug":"getrandomvalue-probabilities","link":"#getrandomvalue-probabilities","children":[]}]}],"relativePath":"core/maths/proba.md","lastUpdated":1675590267000}'),o={name:"core/maths/proba.md"},n=t("",18),l=[n];function r(p,i,c,d,h,y){return e(),s("div",null,l)}const C=a(o,[["render",r]]);export{b as __pageData,C as default};
+import{_ as a,c as s,o as e,a as t}from"./app.14bef1c5.js";const b=JSON.parse('{"title":"Proba","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"GetRandomValue(probabilities)","slug":"getrandomvalue-probabilities","link":"#getrandomvalue-probabilities","children":[]}]}],"relativePath":"core/maths/proba.md","lastUpdated":1675590267000}'),o={name:"core/maths/proba.md"},n=t("",18),l=[n];function r(p,i,c,d,h,y){return e(),s("div",null,l)}const C=a(o,[["render",r]]);export{b as __pageData,C as default};
diff --git a/docs/assets/core_maths_stats.md.311546d5.js b/docs/assets/core_maths_stats.md.1f44f5ce.js
similarity index 99%
rename from docs/assets/core_maths_stats.md.311546d5.js
rename to docs/assets/core_maths_stats.md.1f44f5ce.js
index 70d0ec8..6ec3fe7 100644
--- a/docs/assets/core_maths_stats.md.311546d5.js
+++ b/docs/assets/core_maths_stats.md.1f44f5ce.js
@@ -1,4 +1,4 @@
-import{_ as a,c as s,o as e,a as t}from"./app.411d0108.js";const D=JSON.parse('{"title":"Stats","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"Mean(values)","slug":"mean-values","link":"#mean-values","children":[]},{"level":3,"title":"Median(values)","slug":"median-values","link":"#median-values","children":[]},{"level":3,"title":"Mode(values)","slug":"mode-values","link":"#mode-values","children":[]}]}],"relativePath":"core/maths/stats.md","lastUpdated":1673177412000}'),n={name:"core/maths/stats.md"},l=t(`

Stats

This page is about the Stats class available in PeyrSharp.Core.Maths. You can find here all of its methods.

INFO

This class is static.

Compatibility

The Stats class is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Methods

Mean(values)

Definition

Returns the mean of a dataset as a double.

Arguments

TypeNameMeaning
List<double>valuesThe dataset to calculate.

Exceptions

TypeMeaning
ArgumentExceptionThrown if the dataset is empty.

Usage

c#
using PeyrSharp.Core.Maths;
+import{_ as a,c as s,o as e,a as t}from"./app.14bef1c5.js";const D=JSON.parse('{"title":"Stats","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"Mean(values)","slug":"mean-values","link":"#mean-values","children":[]},{"level":3,"title":"Median(values)","slug":"median-values","link":"#median-values","children":[]},{"level":3,"title":"Mode(values)","slug":"mode-values","link":"#mode-values","children":[]}]}],"relativePath":"core/maths/stats.md","lastUpdated":1673177412000}'),n={name:"core/maths/stats.md"},l=t(`

Stats

This page is about the Stats class available in PeyrSharp.Core.Maths. You can find here all of its methods.

INFO

This class is static.

Compatibility

The Stats class is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Methods

Mean(values)

Definition

Returns the mean of a dataset as a double.

Arguments

TypeNameMeaning
List<double>valuesThe dataset to calculate.

Exceptions

TypeMeaning
ArgumentExceptionThrown if the dataset is empty.

Usage

c#
using PeyrSharp.Core.Maths;
 
 List<double> dataset = new List<double> { 1, 2, 3, 4, 5 };
 double mean = Stats.Mean(dataset); // Calculate the mean of the dataset
diff --git a/docs/assets/core_maths_stats.md.311546d5.lean.js b/docs/assets/core_maths_stats.md.1f44f5ce.lean.js
similarity index 92%
rename from docs/assets/core_maths_stats.md.311546d5.lean.js
rename to docs/assets/core_maths_stats.md.1f44f5ce.lean.js
index 1dbedd5..6f71db4 100644
--- a/docs/assets/core_maths_stats.md.311546d5.lean.js
+++ b/docs/assets/core_maths_stats.md.1f44f5ce.lean.js
@@ -1 +1 @@
-import{_ as a,c as s,o as e,a as t}from"./app.411d0108.js";const D=JSON.parse('{"title":"Stats","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"Mean(values)","slug":"mean-values","link":"#mean-values","children":[]},{"level":3,"title":"Median(values)","slug":"median-values","link":"#median-values","children":[]},{"level":3,"title":"Mode(values)","slug":"mode-values","link":"#mode-values","children":[]}]}],"relativePath":"core/maths/stats.md","lastUpdated":1673177412000}'),n={name:"core/maths/stats.md"},l=t("",34),o=[l];function p(r,c,d,i,h,y){return e(),s("div",null,o)}const F=a(n,[["render",p]]);export{D as __pageData,F as default};
+import{_ as a,c as s,o as e,a as t}from"./app.14bef1c5.js";const D=JSON.parse('{"title":"Stats","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"Mean(values)","slug":"mean-values","link":"#mean-values","children":[]},{"level":3,"title":"Median(values)","slug":"median-values","link":"#median-values","children":[]},{"level":3,"title":"Mode(values)","slug":"mode-values","link":"#mode-values","children":[]}]}],"relativePath":"core/maths/stats.md","lastUpdated":1673177412000}'),n={name:"core/maths/stats.md"},l=t("",34),o=[l];function p(r,c,d,i,h,y){return e(),s("div",null,o)}const F=a(n,[["render",p]]);export{D as __pageData,F as default};
diff --git a/docs/assets/core_maths_trigonometry.md.6c8afe8f.js b/docs/assets/core_maths_trigonometry.md.9478a332.js
similarity index 99%
rename from docs/assets/core_maths_trigonometry.md.6c8afe8f.js
rename to docs/assets/core_maths_trigonometry.md.9478a332.js
index c39248d..72cf286 100644
--- a/docs/assets/core_maths_trigonometry.md.6c8afe8f.js
+++ b/docs/assets/core_maths_trigonometry.md.9478a332.js
@@ -1,4 +1,4 @@
-import{_ as e,c as a,o as s,a as t}from"./app.411d0108.js";const u=JSON.parse('{"title":"Trigonometry","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"GetOpposedSideFrom(triangleSide, angle, value)","slug":"getopposedsidefrom-triangleside-angle-value","link":"#getopposedsidefrom-triangleside-angle-value","children":[]},{"level":3,"title":"GetAdjacentSideFrom(triangleSide, angle, value)","slug":"getadjacentsidefrom-triangleside-angle-value","link":"#getadjacentsidefrom-triangleside-angle-value","children":[]},{"level":3,"title":"GetHypotenuseFrom(triangleSide, angle, value)","slug":"gethypotenusefrom-triangleside-angle-value","link":"#gethypotenusefrom-triangleside-angle-value","children":[]}]}],"relativePath":"core/maths/trigonometry.md","lastUpdated":1666370076000}'),n={name:"core/maths/trigonometry.md"},o=t(`

Trigonometry

This page is about the Trigonometry class available in PeyrSharp.Core.Maths. You can find here all of its methods.

INFO

This class is static.

Compatibility

The Trigonometry class is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Methods

GetOpposedSideFrom(triangleSide, angle, value)

Definition

Gets the length of the opposed side of a specific angle, from the length of either the hypotenuse or the adjacent side of the angle.

Arguments

TypeNameMeaning
TriangleSidestriangleSideThe side of the triangle.
doubleangleThe value of the angle.
doublevalueThe length of the chosen side.

WARNING

If triangleSide is equal to TriangleSides.Opposed, an Exception will be thrown.

Usage

c#
using PeyrSharp.Core.Maths;
+import{_ as e,c as a,o as s,a as t}from"./app.14bef1c5.js";const u=JSON.parse('{"title":"Trigonometry","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"GetOpposedSideFrom(triangleSide, angle, value)","slug":"getopposedsidefrom-triangleside-angle-value","link":"#getopposedsidefrom-triangleside-angle-value","children":[]},{"level":3,"title":"GetAdjacentSideFrom(triangleSide, angle, value)","slug":"getadjacentsidefrom-triangleside-angle-value","link":"#getadjacentsidefrom-triangleside-angle-value","children":[]},{"level":3,"title":"GetHypotenuseFrom(triangleSide, angle, value)","slug":"gethypotenusefrom-triangleside-angle-value","link":"#gethypotenusefrom-triangleside-angle-value","children":[]}]}],"relativePath":"core/maths/trigonometry.md","lastUpdated":1666370076000}'),n={name:"core/maths/trigonometry.md"},o=t(`

Trigonometry

This page is about the Trigonometry class available in PeyrSharp.Core.Maths. You can find here all of its methods.

INFO

This class is static.

Compatibility

The Trigonometry class is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Methods

GetOpposedSideFrom(triangleSide, angle, value)

Definition

Gets the length of the opposed side of a specific angle, from the length of either the hypotenuse or the adjacent side of the angle.

Arguments

TypeNameMeaning
TriangleSidestriangleSideThe side of the triangle.
doubleangleThe value of the angle.
doublevalueThe length of the chosen side.

WARNING

If triangleSide is equal to TriangleSides.Opposed, an Exception will be thrown.

Usage

c#
using PeyrSharp.Core.Maths;
 using PeyrSharp.Enums;
 
 double opposed = Trigonometry.GetOpposedSideFrom(TriangleSides.Adjacent, 1.05, 5);
diff --git a/docs/assets/core_maths_trigonometry.md.6c8afe8f.lean.js b/docs/assets/core_maths_trigonometry.md.9478a332.lean.js
similarity index 94%
rename from docs/assets/core_maths_trigonometry.md.6c8afe8f.lean.js
rename to docs/assets/core_maths_trigonometry.md.9478a332.lean.js
index 0edf5bb..faef1ae 100644
--- a/docs/assets/core_maths_trigonometry.md.6c8afe8f.lean.js
+++ b/docs/assets/core_maths_trigonometry.md.9478a332.lean.js
@@ -1 +1 @@
-import{_ as e,c as a,o as s,a as t}from"./app.411d0108.js";const u=JSON.parse('{"title":"Trigonometry","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"GetOpposedSideFrom(triangleSide, angle, value)","slug":"getopposedsidefrom-triangleside-angle-value","link":"#getopposedsidefrom-triangleside-angle-value","children":[]},{"level":3,"title":"GetAdjacentSideFrom(triangleSide, angle, value)","slug":"getadjacentsidefrom-triangleside-angle-value","link":"#getadjacentsidefrom-triangleside-angle-value","children":[]},{"level":3,"title":"GetHypotenuseFrom(triangleSide, angle, value)","slug":"gethypotenusefrom-triangleside-angle-value","link":"#gethypotenusefrom-triangleside-angle-value","children":[]}]}],"relativePath":"core/maths/trigonometry.md","lastUpdated":1666370076000}'),n={name:"core/maths/trigonometry.md"},o=t("",31),l=[o];function d(r,i,p,c,h,g){return s(),a("div",null,l)}const m=e(n,[["render",d]]);export{u as __pageData,m as default};
+import{_ as e,c as a,o as s,a as t}from"./app.14bef1c5.js";const u=JSON.parse('{"title":"Trigonometry","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"GetOpposedSideFrom(triangleSide, angle, value)","slug":"getopposedsidefrom-triangleside-angle-value","link":"#getopposedsidefrom-triangleside-angle-value","children":[]},{"level":3,"title":"GetAdjacentSideFrom(triangleSide, angle, value)","slug":"getadjacentsidefrom-triangleside-angle-value","link":"#getadjacentsidefrom-triangleside-angle-value","children":[]},{"level":3,"title":"GetHypotenuseFrom(triangleSide, angle, value)","slug":"gethypotenusefrom-triangleside-angle-value","link":"#gethypotenusefrom-triangleside-angle-value","children":[]}]}],"relativePath":"core/maths/trigonometry.md","lastUpdated":1666370076000}'),n={name:"core/maths/trigonometry.md"},o=t("",31),l=[o];function d(r,i,p,c,h,g){return s(),a("div",null,l)}const m=e(n,[["render",d]]);export{u as __pageData,m as default};
diff --git a/docs/assets/core_password.md.25b0476c.js b/docs/assets/core_password.md.1a5accef.js
similarity index 99%
rename from docs/assets/core_password.md.25b0476c.js
rename to docs/assets/core_password.md.1a5accef.js
index a296268..fee3f34 100644
--- a/docs/assets/core_password.md.25b0476c.js
+++ b/docs/assets/core_password.md.1a5accef.js
@@ -1,4 +1,4 @@
-import{_ as s,c as a,o as e,a as n}from"./app.411d0108.js";const F=JSON.parse('{"title":"Password","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"GenerateAsync(length, chars, separator)","slug":"generateasync-length-chars-separator","link":"#generateasync-length-chars-separator","children":[]},{"level":3,"title":"GenerateAsync(length, passwordPresets)","slug":"generateasync-length-passwordpresets","link":"#generateasync-length-passwordpresets","children":[]},{"level":3,"title":"GenerateAsync(amount, length, chars, separator)","slug":"generateasync-amount-length-chars-separator","link":"#generateasync-amount-length-chars-separator","children":[]},{"level":3,"title":"GenerateAsync(amount, length, passwordPresets)","slug":"generateasync-amount-length-passwordpresets","link":"#generateasync-amount-length-passwordpresets","children":[]}]}],"relativePath":"core/password.md","lastUpdated":1665311928000}'),t={name:"core/password.md"},o=n(`

Password

This page is about the Password class available in PeyrSharp.Core. You can find here all of its methods.

INFO

This class is static.

Compatibility

The Password class is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Methods

GenerateAsync(length, chars, separator)

Definition

The GenerateAsync() method generates a password of a specific length, with specific characters asynchronously.

Arguments

TypeNameMeaning
intlengthThe length of the password.
stringcharactersThe characters that can be included in the password. Separated with a unique separator.
stringseparatorThe separator used to separate the specified characters.

Usage

c#
using PeyrSharp.Core;
+import{_ as s,c as a,o as e,a as n}from"./app.14bef1c5.js";const F=JSON.parse('{"title":"Password","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"GenerateAsync(length, chars, separator)","slug":"generateasync-length-chars-separator","link":"#generateasync-length-chars-separator","children":[]},{"level":3,"title":"GenerateAsync(length, passwordPresets)","slug":"generateasync-length-passwordpresets","link":"#generateasync-length-passwordpresets","children":[]},{"level":3,"title":"GenerateAsync(amount, length, chars, separator)","slug":"generateasync-amount-length-chars-separator","link":"#generateasync-amount-length-chars-separator","children":[]},{"level":3,"title":"GenerateAsync(amount, length, passwordPresets)","slug":"generateasync-amount-length-passwordpresets","link":"#generateasync-amount-length-passwordpresets","children":[]}]}],"relativePath":"core/password.md","lastUpdated":1665311928000}'),t={name:"core/password.md"},o=n(`

Password

This page is about the Password class available in PeyrSharp.Core. You can find here all of its methods.

INFO

This class is static.

Compatibility

The Password class is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Methods

GenerateAsync(length, chars, separator)

Definition

The GenerateAsync() method generates a password of a specific length, with specific characters asynchronously.

Arguments

TypeNameMeaning
intlengthThe length of the password.
stringcharactersThe characters that can be included in the password. Separated with a unique separator.
stringseparatorThe separator used to separate the specified characters.

Usage

c#
using PeyrSharp.Core;
 
 private async void Main()
 {
diff --git a/docs/assets/core_password.md.25b0476c.lean.js b/docs/assets/core_password.md.1a5accef.lean.js
similarity index 94%
rename from docs/assets/core_password.md.25b0476c.lean.js
rename to docs/assets/core_password.md.1a5accef.lean.js
index c39f0d1..2fe53be 100644
--- a/docs/assets/core_password.md.25b0476c.lean.js
+++ b/docs/assets/core_password.md.1a5accef.lean.js
@@ -1 +1 @@
-import{_ as s,c as a,o as e,a as n}from"./app.411d0108.js";const F=JSON.parse('{"title":"Password","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"GenerateAsync(length, chars, separator)","slug":"generateasync-length-chars-separator","link":"#generateasync-length-chars-separator","children":[]},{"level":3,"title":"GenerateAsync(length, passwordPresets)","slug":"generateasync-length-passwordpresets","link":"#generateasync-length-passwordpresets","children":[]},{"level":3,"title":"GenerateAsync(amount, length, chars, separator)","slug":"generateasync-amount-length-chars-separator","link":"#generateasync-amount-length-chars-separator","children":[]},{"level":3,"title":"GenerateAsync(amount, length, passwordPresets)","slug":"generateasync-amount-length-passwordpresets","link":"#generateasync-amount-length-passwordpresets","children":[]}]}],"relativePath":"core/password.md","lastUpdated":1665311928000}'),t={name:"core/password.md"},o=n("",35),r=[o];function l(p,c,d,i,h,y){return e(),a("div",null,r)}const C=s(t,[["render",l]]);export{F as __pageData,C as default};
+import{_ as s,c as a,o as e,a as n}from"./app.14bef1c5.js";const F=JSON.parse('{"title":"Password","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"GenerateAsync(length, chars, separator)","slug":"generateasync-length-chars-separator","link":"#generateasync-length-chars-separator","children":[]},{"level":3,"title":"GenerateAsync(length, passwordPresets)","slug":"generateasync-length-passwordpresets","link":"#generateasync-length-passwordpresets","children":[]},{"level":3,"title":"GenerateAsync(amount, length, chars, separator)","slug":"generateasync-amount-length-chars-separator","link":"#generateasync-amount-length-chars-separator","children":[]},{"level":3,"title":"GenerateAsync(amount, length, passwordPresets)","slug":"generateasync-amount-length-passwordpresets","link":"#generateasync-amount-length-passwordpresets","children":[]}]}],"relativePath":"core/password.md","lastUpdated":1665311928000}'),t={name:"core/password.md"},o=n("",35),r=[o];function l(p,c,d,i,h,y){return e(),a("div",null,r)}const C=s(t,[["render",l]]);export{F as __pageData,C as default};
diff --git a/docs/assets/enumerations.md.28ad747b.js b/docs/assets/enumerations.md.bdc50c02.js
similarity index 99%
rename from docs/assets/enumerations.md.28ad747b.js
rename to docs/assets/enumerations.md.bdc50c02.js
index dd65e58..fe844a5 100644
--- a/docs/assets/enumerations.md.28ad747b.js
+++ b/docs/assets/enumerations.md.bdc50c02.js
@@ -1,4 +1,4 @@
-import{_ as s,c as a,o as e,a as n}from"./app.411d0108.js";const F=JSON.parse('{"title":"Enumerations","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Converters","slug":"converters","link":"#converters","children":[{"level":3,"title":"StorageUnits","slug":"storageunits","link":"#storageunits","children":[]},{"level":3,"title":"TimeUnits","slug":"timeunits","link":"#timeunits","children":[]}]},{"level":2,"title":"Environment","slug":"environment","link":"#environment","children":[{"level":3,"title":"OperatingSystems","slug":"operatingsystems","link":"#operatingsystems","children":[]},{"level":3,"title":"SystemThemes","slug":"systemthemes","link":"#systemthemes","children":[]},{"level":3,"title":"WindowsVersion","slug":"windowsversion","link":"#windowsversion","children":[]}]},{"level":2,"title":"Geometry","slug":"geometry","link":"#geometry","children":[{"level":3,"title":"TriangleSides","slug":"trianglesides","link":"#trianglesides","children":[]}]},{"level":2,"title":"Internet","slug":"internet","link":"#internet","children":[{"level":3,"title":"StatusCodes","slug":"statuscodes","link":"#statuscodes","children":[]}]},{"level":2,"title":"Password","slug":"password","link":"#password","children":[{"level":3,"title":"PasswordPresets","slug":"passwordpresets","link":"#passwordpresets","children":[]},{"level":3,"title":"PasswordStrength","slug":"passwordstrength","link":"#passwordstrength","children":[]}]},{"level":2,"title":"UserInterface","slug":"userinterface","link":"#userinterface","children":[{"level":3,"title":"ControlAlignment","slug":"controlalignment","link":"#controlalignment","children":[]}]}],"relativePath":"enumerations.md","lastUpdated":1665311928000}'),t={name:"enumerations.md"},l=n(`

Enumerations

This page is about the enumerations available in PeyrSharp.Enums. They are grouped by category.

Compatibility

Enumerations are part of the PeyrSharp.Enums module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Enums
Framework.NET 5.NET 6.NET 7
Enums

Converters

StorageUnits

Definition

The StorageUnits enumeration represents all possible numeric storage units. It contains the following values:

ValueNameMeaning
0ByteThe byte unit. (b)
1KilobyteThe kilobyte unit. (kb)
2MegabyteThe megabyte unit. (mb)
3GigabyteThe gigabyte unit. (gb)
4TerabyteThe terabyte unit. (tb)
5PetabyteThe petabyte unit. (pb)

Example

c#
public static double ToPetabyte(double value, StorageUnits unit) 
+import{_ as s,c as a,o as e,a as n}from"./app.14bef1c5.js";const F=JSON.parse('{"title":"Enumerations","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Converters","slug":"converters","link":"#converters","children":[{"level":3,"title":"StorageUnits","slug":"storageunits","link":"#storageunits","children":[]},{"level":3,"title":"TimeUnits","slug":"timeunits","link":"#timeunits","children":[]}]},{"level":2,"title":"Environment","slug":"environment","link":"#environment","children":[{"level":3,"title":"OperatingSystems","slug":"operatingsystems","link":"#operatingsystems","children":[]},{"level":3,"title":"SystemThemes","slug":"systemthemes","link":"#systemthemes","children":[]},{"level":3,"title":"WindowsVersion","slug":"windowsversion","link":"#windowsversion","children":[]}]},{"level":2,"title":"Geometry","slug":"geometry","link":"#geometry","children":[{"level":3,"title":"TriangleSides","slug":"trianglesides","link":"#trianglesides","children":[]}]},{"level":2,"title":"Internet","slug":"internet","link":"#internet","children":[{"level":3,"title":"StatusCodes","slug":"statuscodes","link":"#statuscodes","children":[]}]},{"level":2,"title":"Password","slug":"password","link":"#password","children":[{"level":3,"title":"PasswordPresets","slug":"passwordpresets","link":"#passwordpresets","children":[]},{"level":3,"title":"PasswordStrength","slug":"passwordstrength","link":"#passwordstrength","children":[]}]},{"level":2,"title":"UserInterface","slug":"userinterface","link":"#userinterface","children":[{"level":3,"title":"ControlAlignment","slug":"controlalignment","link":"#controlalignment","children":[]}]}],"relativePath":"enumerations.md","lastUpdated":1665311928000}'),t={name:"enumerations.md"},l=n(`

Enumerations

This page is about the enumerations available in PeyrSharp.Enums. They are grouped by category.

Compatibility

Enumerations are part of the PeyrSharp.Enums module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Enums
Framework.NET 5.NET 6.NET 7
Enums

Converters

StorageUnits

Definition

The StorageUnits enumeration represents all possible numeric storage units. It contains the following values:

ValueNameMeaning
0ByteThe byte unit. (b)
1KilobyteThe kilobyte unit. (kb)
2MegabyteThe megabyte unit. (mb)
3GigabyteThe gigabyte unit. (gb)
4TerabyteThe terabyte unit. (tb)
5PetabyteThe petabyte unit. (pb)

Example

c#
public static double ToPetabyte(double value, StorageUnits unit) 
 {
     if (unit == StorageUnits.Terabyte)
     {
diff --git a/docs/assets/enumerations.md.28ad747b.lean.js b/docs/assets/enumerations.md.bdc50c02.lean.js
similarity index 96%
rename from docs/assets/enumerations.md.28ad747b.lean.js
rename to docs/assets/enumerations.md.bdc50c02.lean.js
index 0354e42..8edef8a 100644
--- a/docs/assets/enumerations.md.28ad747b.lean.js
+++ b/docs/assets/enumerations.md.bdc50c02.lean.js
@@ -1 +1 @@
-import{_ as s,c as a,o as e,a as n}from"./app.411d0108.js";const F=JSON.parse('{"title":"Enumerations","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Converters","slug":"converters","link":"#converters","children":[{"level":3,"title":"StorageUnits","slug":"storageunits","link":"#storageunits","children":[]},{"level":3,"title":"TimeUnits","slug":"timeunits","link":"#timeunits","children":[]}]},{"level":2,"title":"Environment","slug":"environment","link":"#environment","children":[{"level":3,"title":"OperatingSystems","slug":"operatingsystems","link":"#operatingsystems","children":[]},{"level":3,"title":"SystemThemes","slug":"systemthemes","link":"#systemthemes","children":[]},{"level":3,"title":"WindowsVersion","slug":"windowsversion","link":"#windowsversion","children":[]}]},{"level":2,"title":"Geometry","slug":"geometry","link":"#geometry","children":[{"level":3,"title":"TriangleSides","slug":"trianglesides","link":"#trianglesides","children":[]}]},{"level":2,"title":"Internet","slug":"internet","link":"#internet","children":[{"level":3,"title":"StatusCodes","slug":"statuscodes","link":"#statuscodes","children":[]}]},{"level":2,"title":"Password","slug":"password","link":"#password","children":[{"level":3,"title":"PasswordPresets","slug":"passwordpresets","link":"#passwordpresets","children":[]},{"level":3,"title":"PasswordStrength","slug":"passwordstrength","link":"#passwordstrength","children":[]}]},{"level":2,"title":"UserInterface","slug":"userinterface","link":"#userinterface","children":[{"level":3,"title":"ControlAlignment","slug":"controlalignment","link":"#controlalignment","children":[]}]}],"relativePath":"enumerations.md","lastUpdated":1665311928000}'),t={name:"enumerations.md"},l=n("",71),o=[l];function p(r,c,d,i,y,D){return e(),a("div",null,o)}const C=s(t,[["render",p]]);export{F as __pageData,C as default};
+import{_ as s,c as a,o as e,a as n}from"./app.14bef1c5.js";const F=JSON.parse('{"title":"Enumerations","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Converters","slug":"converters","link":"#converters","children":[{"level":3,"title":"StorageUnits","slug":"storageunits","link":"#storageunits","children":[]},{"level":3,"title":"TimeUnits","slug":"timeunits","link":"#timeunits","children":[]}]},{"level":2,"title":"Environment","slug":"environment","link":"#environment","children":[{"level":3,"title":"OperatingSystems","slug":"operatingsystems","link":"#operatingsystems","children":[]},{"level":3,"title":"SystemThemes","slug":"systemthemes","link":"#systemthemes","children":[]},{"level":3,"title":"WindowsVersion","slug":"windowsversion","link":"#windowsversion","children":[]}]},{"level":2,"title":"Geometry","slug":"geometry","link":"#geometry","children":[{"level":3,"title":"TriangleSides","slug":"trianglesides","link":"#trianglesides","children":[]}]},{"level":2,"title":"Internet","slug":"internet","link":"#internet","children":[{"level":3,"title":"StatusCodes","slug":"statuscodes","link":"#statuscodes","children":[]}]},{"level":2,"title":"Password","slug":"password","link":"#password","children":[{"level":3,"title":"PasswordPresets","slug":"passwordpresets","link":"#passwordpresets","children":[]},{"level":3,"title":"PasswordStrength","slug":"passwordstrength","link":"#passwordstrength","children":[]}]},{"level":2,"title":"UserInterface","slug":"userinterface","link":"#userinterface","children":[{"level":3,"title":"ControlAlignment","slug":"controlalignment","link":"#controlalignment","children":[]}]}],"relativePath":"enumerations.md","lastUpdated":1665311928000}'),t={name:"enumerations.md"},l=n("",71),o=[l];function p(r,c,d,i,y,D){return e(),a("div",null,o)}const C=s(t,[["render",p]]);export{F as __pageData,C as default};
diff --git a/docs/assets/env.md.ecb47db7.js b/docs/assets/env.md.0d17efb2.js
similarity index 96%
rename from docs/assets/env.md.ecb47db7.js
rename to docs/assets/env.md.0d17efb2.js
index c035c5c..d8fd4c8 100644
--- a/docs/assets/env.md.ecb47db7.js
+++ b/docs/assets/env.md.0d17efb2.js
@@ -1 +1 @@
-import{_ as t,c as e,o as a,a as s}from"./app.411d0108.js";const v=JSON.parse('{"title":"Env","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Classes","slug":"classes","link":"#classes","children":[]}],"relativePath":"env.md","lastUpdated":1673089222000}'),r={name:"env.md"},l=s('

Env

This page is about the PeyrSharp.Env module.

Compatibility

The PeyrSharp.Env module is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Env⚠️⚠️
Framework.NET 5.NET 6.NET 7
Env

WARNING

Some methods, classes or features of PeyrSharp.Env might not be available in all platforms.

Classes

',8),d=[l];function i(o,n,h,c,p,m){return a(),e("div",null,d)}const f=t(r,[["render",i]]);export{v as __pageData,f as default}; +import{_ as t,c as e,o as a,a as s}from"./app.14bef1c5.js";const v=JSON.parse('{"title":"Env","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Classes","slug":"classes","link":"#classes","children":[]}],"relativePath":"env.md","lastUpdated":1673089222000}'),r={name:"env.md"},l=s('

Env

This page is about the PeyrSharp.Env module.

Compatibility

The PeyrSharp.Env module is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Env⚠️⚠️
Framework.NET 5.NET 6.NET 7
Env

WARNING

Some methods, classes or features of PeyrSharp.Env might not be available in all platforms.

Classes

',8),d=[l];function i(o,n,h,c,p,m){return a(),e("div",null,d)}const f=t(r,[["render",i]]);export{v as __pageData,f as default}; diff --git a/docs/assets/env.md.ecb47db7.lean.js b/docs/assets/env.md.0d17efb2.lean.js similarity index 87% rename from docs/assets/env.md.ecb47db7.lean.js rename to docs/assets/env.md.0d17efb2.lean.js index 065cf87..44589ca 100644 --- a/docs/assets/env.md.ecb47db7.lean.js +++ b/docs/assets/env.md.0d17efb2.lean.js @@ -1 +1 @@ -import{_ as t,c as e,o as a,a as s}from"./app.411d0108.js";const v=JSON.parse('{"title":"Env","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Classes","slug":"classes","link":"#classes","children":[]}],"relativePath":"env.md","lastUpdated":1673089222000}'),r={name:"env.md"},l=s("",8),d=[l];function i(o,n,h,c,p,m){return a(),e("div",null,d)}const f=t(r,[["render",i]]);export{v as __pageData,f as default}; +import{_ as t,c as e,o as a,a as s}from"./app.14bef1c5.js";const v=JSON.parse('{"title":"Env","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Classes","slug":"classes","link":"#classes","children":[]}],"relativePath":"env.md","lastUpdated":1673089222000}'),r={name:"env.md"},l=s("",8),d=[l];function i(o,n,h,c,p,m){return a(),e("div",null,d)}const f=t(r,[["render",i]]);export{v as __pageData,f as default}; diff --git a/docs/assets/env_filesys.md.346e8ea3.js b/docs/assets/env_filesys.md.f69d4e20.js similarity index 99% rename from docs/assets/env_filesys.md.346e8ea3.js rename to docs/assets/env_filesys.md.f69d4e20.js index a02779f..0f05d23 100644 --- a/docs/assets/env_filesys.md.346e8ea3.js +++ b/docs/assets/env_filesys.md.f69d4e20.js @@ -1,4 +1,4 @@ -import{_ as s,c as a,o as e,a as n}from"./app.411d0108.js";const F=JSON.parse('{"title":"FileSys","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"GetAvailableSpace(drive, unit)","slug":"getavailablespace-drive-unit","link":"#getavailablespace-drive-unit","children":[]},{"level":3,"title":"GetAvailableSpace(driveInfo, unit)","slug":"getavailablespace-driveinfo-unit","link":"#getavailablespace-driveinfo-unit","children":[]},{"level":3,"title":"GetOccupiedSpace(drive, unit)","slug":"getoccupiedspace-drive-unit","link":"#getoccupiedspace-drive-unit","children":[]},{"level":3,"title":"GetOccupiedSpace(driveInfo, unit)","slug":"getoccupiedspace-driveinfo-unit","link":"#getoccupiedspace-driveinfo-unit","children":[]},{"level":3,"title":"GetTotalSpace(drive, unit)","slug":"gettotalspace-drive-unit","link":"#gettotalspace-drive-unit","children":[]},{"level":3,"title":"GetTotalSpace(driveInfo, unit)","slug":"gettotalspace-driveinfo-unit","link":"#gettotalspace-driveinfo-unit","children":[]},{"level":3,"title":"CountFileCharactersAsync(fileName)","slug":"countfilecharactersasync-filename","link":"#countfilecharactersasync-filename","children":[]},{"level":3,"title":"CanWriteFile(filePath)","slug":"canwritefile-filepath","link":"#canwritefile-filepath","children":[]},{"level":3,"title":"IsDriveOpticalDrive(driveInfo)","slug":"isdriveopticaldrive-driveinfo","link":"#isdriveopticaldrive-driveinfo","children":[]},{"level":3,"title":"GetDriveStorageUnit(driveInfo)","slug":"getdrivestorageunit-driveinfo","link":"#getdrivestorageunit-driveinfo","children":[]}]},{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"AppDataPath","slug":"appdatapath","link":"#appdatapath","children":[]},{"level":3,"title":"CurrentAppDirectory","slug":"currentappdirectory","link":"#currentappdirectory","children":[]},{"level":3,"title":"DriveWithHighestFreeSpace","slug":"drivewithhighestfreespace","link":"#drivewithhighestfreespace","children":[]},{"level":3,"title":"DriveWithLowestFreeSpace","slug":"drivewithlowestfreespace","link":"#drivewithlowestfreespace","children":[]},{"level":3,"title":"SystemDrive","slug":"systemdrive","link":"#systemdrive","children":[]},{"level":3,"title":"CurrentDirectory","slug":"currentdirectory","link":"#currentdirectory","children":[]},{"level":3,"title":"ComputerName","slug":"computername","link":"#computername","children":[]}]}],"relativePath":"env/filesys.md","lastUpdated":1675590267000}'),t={name:"env/filesys.md"},l=n(`

FileSys

This page is about the FileSys class available in PeyrSharp.Env. You can find here all of its methods and properties.

INFO

This class is static.

Compatibility

The FileSys class is part of the PeyrSharp.Env module, and is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Env
Framework.NET 5.NET 6.NET 7
Env

WARNING

Some methods, classes or features of PeyrSharp.Env might not be available in all platforms.

Methods

GetAvailableSpace(drive, unit)

Definition

Gets the amount of available storage on a specified drive. It returns double.

Arguments

TypeNameMeaning
stringdriveThe drive letter or name to get the amount of available space.
StorageUnitsunitThe unit of the returned result.

Usage

c#
using PeyrSharp.Enums;
+import{_ as s,c as a,o as e,a as n}from"./app.14bef1c5.js";const F=JSON.parse('{"title":"FileSys","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"GetAvailableSpace(drive, unit)","slug":"getavailablespace-drive-unit","link":"#getavailablespace-drive-unit","children":[]},{"level":3,"title":"GetAvailableSpace(driveInfo, unit)","slug":"getavailablespace-driveinfo-unit","link":"#getavailablespace-driveinfo-unit","children":[]},{"level":3,"title":"GetOccupiedSpace(drive, unit)","slug":"getoccupiedspace-drive-unit","link":"#getoccupiedspace-drive-unit","children":[]},{"level":3,"title":"GetOccupiedSpace(driveInfo, unit)","slug":"getoccupiedspace-driveinfo-unit","link":"#getoccupiedspace-driveinfo-unit","children":[]},{"level":3,"title":"GetTotalSpace(drive, unit)","slug":"gettotalspace-drive-unit","link":"#gettotalspace-drive-unit","children":[]},{"level":3,"title":"GetTotalSpace(driveInfo, unit)","slug":"gettotalspace-driveinfo-unit","link":"#gettotalspace-driveinfo-unit","children":[]},{"level":3,"title":"CountFileCharactersAsync(fileName)","slug":"countfilecharactersasync-filename","link":"#countfilecharactersasync-filename","children":[]},{"level":3,"title":"CanWriteFile(filePath)","slug":"canwritefile-filepath","link":"#canwritefile-filepath","children":[]},{"level":3,"title":"IsDriveOpticalDrive(driveInfo)","slug":"isdriveopticaldrive-driveinfo","link":"#isdriveopticaldrive-driveinfo","children":[]},{"level":3,"title":"GetDriveStorageUnit(driveInfo)","slug":"getdrivestorageunit-driveinfo","link":"#getdrivestorageunit-driveinfo","children":[]}]},{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"AppDataPath","slug":"appdatapath","link":"#appdatapath","children":[]},{"level":3,"title":"CurrentAppDirectory","slug":"currentappdirectory","link":"#currentappdirectory","children":[]},{"level":3,"title":"DriveWithHighestFreeSpace","slug":"drivewithhighestfreespace","link":"#drivewithhighestfreespace","children":[]},{"level":3,"title":"DriveWithLowestFreeSpace","slug":"drivewithlowestfreespace","link":"#drivewithlowestfreespace","children":[]},{"level":3,"title":"SystemDrive","slug":"systemdrive","link":"#systemdrive","children":[]},{"level":3,"title":"CurrentDirectory","slug":"currentdirectory","link":"#currentdirectory","children":[]},{"level":3,"title":"ComputerName","slug":"computername","link":"#computername","children":[]}]}],"relativePath":"env/filesys.md","lastUpdated":1675590267000}'),t={name:"env/filesys.md"},l=n(`

FileSys

This page is about the FileSys class available in PeyrSharp.Env. You can find here all of its methods and properties.

INFO

This class is static.

Compatibility

The FileSys class is part of the PeyrSharp.Env module, and is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Env
Framework.NET 5.NET 6.NET 7
Env

WARNING

Some methods, classes or features of PeyrSharp.Env might not be available in all platforms.

Methods

GetAvailableSpace(drive, unit)

Definition

Gets the amount of available storage on a specified drive. It returns double.

Arguments

TypeNameMeaning
stringdriveThe drive letter or name to get the amount of available space.
StorageUnitsunitThe unit of the returned result.

Usage

c#
using PeyrSharp.Enums;
 using PeyrSharp.Env;
 
 double space = FileSys.GetAvailableSpace("C:/", StorageUnits.Gigabyte);
diff --git a/docs/assets/env_filesys.md.346e8ea3.lean.js b/docs/assets/env_filesys.md.f69d4e20.lean.js
similarity index 97%
rename from docs/assets/env_filesys.md.346e8ea3.lean.js
rename to docs/assets/env_filesys.md.f69d4e20.lean.js
index cde94d1..391fab8 100644
--- a/docs/assets/env_filesys.md.346e8ea3.lean.js
+++ b/docs/assets/env_filesys.md.f69d4e20.lean.js
@@ -1 +1 @@
-import{_ as s,c as a,o as e,a as n}from"./app.411d0108.js";const F=JSON.parse('{"title":"FileSys","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"GetAvailableSpace(drive, unit)","slug":"getavailablespace-drive-unit","link":"#getavailablespace-drive-unit","children":[]},{"level":3,"title":"GetAvailableSpace(driveInfo, unit)","slug":"getavailablespace-driveinfo-unit","link":"#getavailablespace-driveinfo-unit","children":[]},{"level":3,"title":"GetOccupiedSpace(drive, unit)","slug":"getoccupiedspace-drive-unit","link":"#getoccupiedspace-drive-unit","children":[]},{"level":3,"title":"GetOccupiedSpace(driveInfo, unit)","slug":"getoccupiedspace-driveinfo-unit","link":"#getoccupiedspace-driveinfo-unit","children":[]},{"level":3,"title":"GetTotalSpace(drive, unit)","slug":"gettotalspace-drive-unit","link":"#gettotalspace-drive-unit","children":[]},{"level":3,"title":"GetTotalSpace(driveInfo, unit)","slug":"gettotalspace-driveinfo-unit","link":"#gettotalspace-driveinfo-unit","children":[]},{"level":3,"title":"CountFileCharactersAsync(fileName)","slug":"countfilecharactersasync-filename","link":"#countfilecharactersasync-filename","children":[]},{"level":3,"title":"CanWriteFile(filePath)","slug":"canwritefile-filepath","link":"#canwritefile-filepath","children":[]},{"level":3,"title":"IsDriveOpticalDrive(driveInfo)","slug":"isdriveopticaldrive-driveinfo","link":"#isdriveopticaldrive-driveinfo","children":[]},{"level":3,"title":"GetDriveStorageUnit(driveInfo)","slug":"getdrivestorageunit-driveinfo","link":"#getdrivestorageunit-driveinfo","children":[]}]},{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"AppDataPath","slug":"appdatapath","link":"#appdatapath","children":[]},{"level":3,"title":"CurrentAppDirectory","slug":"currentappdirectory","link":"#currentappdirectory","children":[]},{"level":3,"title":"DriveWithHighestFreeSpace","slug":"drivewithhighestfreespace","link":"#drivewithhighestfreespace","children":[]},{"level":3,"title":"DriveWithLowestFreeSpace","slug":"drivewithlowestfreespace","link":"#drivewithlowestfreespace","children":[]},{"level":3,"title":"SystemDrive","slug":"systemdrive","link":"#systemdrive","children":[]},{"level":3,"title":"CurrentDirectory","slug":"currentdirectory","link":"#currentdirectory","children":[]},{"level":3,"title":"ComputerName","slug":"computername","link":"#computername","children":[]}]}],"relativePath":"env/filesys.md","lastUpdated":1675590267000}'),t={name:"env/filesys.md"},l=n("",126),o=[l];function p(r,i,c,d,h,y){return e(),a("div",null,o)}const u=s(t,[["render",p]]);export{F as __pageData,u as default};
+import{_ as s,c as a,o as e,a as n}from"./app.14bef1c5.js";const F=JSON.parse('{"title":"FileSys","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"GetAvailableSpace(drive, unit)","slug":"getavailablespace-drive-unit","link":"#getavailablespace-drive-unit","children":[]},{"level":3,"title":"GetAvailableSpace(driveInfo, unit)","slug":"getavailablespace-driveinfo-unit","link":"#getavailablespace-driveinfo-unit","children":[]},{"level":3,"title":"GetOccupiedSpace(drive, unit)","slug":"getoccupiedspace-drive-unit","link":"#getoccupiedspace-drive-unit","children":[]},{"level":3,"title":"GetOccupiedSpace(driveInfo, unit)","slug":"getoccupiedspace-driveinfo-unit","link":"#getoccupiedspace-driveinfo-unit","children":[]},{"level":3,"title":"GetTotalSpace(drive, unit)","slug":"gettotalspace-drive-unit","link":"#gettotalspace-drive-unit","children":[]},{"level":3,"title":"GetTotalSpace(driveInfo, unit)","slug":"gettotalspace-driveinfo-unit","link":"#gettotalspace-driveinfo-unit","children":[]},{"level":3,"title":"CountFileCharactersAsync(fileName)","slug":"countfilecharactersasync-filename","link":"#countfilecharactersasync-filename","children":[]},{"level":3,"title":"CanWriteFile(filePath)","slug":"canwritefile-filepath","link":"#canwritefile-filepath","children":[]},{"level":3,"title":"IsDriveOpticalDrive(driveInfo)","slug":"isdriveopticaldrive-driveinfo","link":"#isdriveopticaldrive-driveinfo","children":[]},{"level":3,"title":"GetDriveStorageUnit(driveInfo)","slug":"getdrivestorageunit-driveinfo","link":"#getdrivestorageunit-driveinfo","children":[]}]},{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"AppDataPath","slug":"appdatapath","link":"#appdatapath","children":[]},{"level":3,"title":"CurrentAppDirectory","slug":"currentappdirectory","link":"#currentappdirectory","children":[]},{"level":3,"title":"DriveWithHighestFreeSpace","slug":"drivewithhighestfreespace","link":"#drivewithhighestfreespace","children":[]},{"level":3,"title":"DriveWithLowestFreeSpace","slug":"drivewithlowestfreespace","link":"#drivewithlowestfreespace","children":[]},{"level":3,"title":"SystemDrive","slug":"systemdrive","link":"#systemdrive","children":[]},{"level":3,"title":"CurrentDirectory","slug":"currentdirectory","link":"#currentdirectory","children":[]},{"level":3,"title":"ComputerName","slug":"computername","link":"#computername","children":[]}]}],"relativePath":"env/filesys.md","lastUpdated":1675590267000}'),t={name:"env/filesys.md"},l=n("",126),o=[l];function p(r,i,c,d,h,y){return e(),a("div",null,o)}const u=s(t,[["render",p]]);export{F as __pageData,u as default};
diff --git a/docs/assets/env_logger.md.8c6098c4.js b/docs/assets/env_logger.md.6ca267bc.js
similarity index 98%
rename from docs/assets/env_logger.md.8c6098c4.js
rename to docs/assets/env_logger.md.6ca267bc.js
index 526b40c..f6053c4 100644
--- a/docs/assets/env_logger.md.8c6098c4.js
+++ b/docs/assets/env_logger.md.6ca267bc.js
@@ -1,4 +1,4 @@
-import{_ as e,c as t,o as a,a as s}from"./app.411d0108.js";const f=JSON.parse('{"title":"Logger","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"Log(message, filePath, dateTime)","slug":"log-message-filepath-datetime","link":"#log-message-filepath-datetime","children":[]}]}],"relativePath":"env/logger.md","lastUpdated":1673088608000}'),o={name:"env/logger.md"},l=s(`

Logger

This page is about the Logger class available in PeyrSharp.Env. You can find here all of its methods.

INFO

This class is static.

Compatibility

The Logger class is part of the PeyrSharp.Env module, and is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Env
Framework.NET 5.NET 6.NET 7
Env

WARNING

Some methods, classes or features of PeyrSharp.Env might not be available in all platforms.

Methods

Log(message, filePath, dateTime)

Definition

The Log() method logs a specific message alongside a timestamp into a file. This method does not return a value (void).

INFO

You can call this method multiple times on the same file and it will append the message to it.

Arguments

TypeNameMeaning
stringmessageThe message or text that needs to be logged.
stringfilePathThe path where the file should be written.
DateTimedateTimeThe timestamp of the log, the time when the log was made.

Usage

c#
using PeyrSharp.Env;
+import{_ as e,c as t,o as a,a as s}from"./app.14bef1c5.js";const f=JSON.parse('{"title":"Logger","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"Log(message, filePath, dateTime)","slug":"log-message-filepath-datetime","link":"#log-message-filepath-datetime","children":[]}]}],"relativePath":"env/logger.md","lastUpdated":1673088608000}'),o={name:"env/logger.md"},l=s(`

Logger

This page is about the Logger class available in PeyrSharp.Env. You can find here all of its methods.

INFO

This class is static.

Compatibility

The Logger class is part of the PeyrSharp.Env module, and is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Env
Framework.NET 5.NET 6.NET 7
Env

WARNING

Some methods, classes or features of PeyrSharp.Env might not be available in all platforms.

Methods

Log(message, filePath, dateTime)

Definition

The Log() method logs a specific message alongside a timestamp into a file. This method does not return a value (void).

INFO

You can call this method multiple times on the same file and it will append the message to it.

Arguments

TypeNameMeaning
stringmessageThe message or text that needs to be logged.
stringfilePathThe path where the file should be written.
DateTimedateTimeThe timestamp of the log, the time when the log was made.

Usage

c#
using PeyrSharp.Env;
 
 Logger.Log("Hello", @"C:\\Logs\\log1.txt", DateTime.Now)
 // The line above will generate a file with the following content:
diff --git a/docs/assets/env_logger.md.8c6098c4.lean.js b/docs/assets/env_logger.md.6ca267bc.lean.js
similarity index 90%
rename from docs/assets/env_logger.md.8c6098c4.lean.js
rename to docs/assets/env_logger.md.6ca267bc.lean.js
index c0f16e8..2d8f53a 100644
--- a/docs/assets/env_logger.md.8c6098c4.lean.js
+++ b/docs/assets/env_logger.md.6ca267bc.lean.js
@@ -1 +1 @@
-import{_ as e,c as t,o as a,a as s}from"./app.411d0108.js";const f=JSON.parse('{"title":"Logger","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"Log(message, filePath, dateTime)","slug":"log-message-filepath-datetime","link":"#log-message-filepath-datetime","children":[]}]}],"relativePath":"env/logger.md","lastUpdated":1673088608000}'),o={name:"env/logger.md"},l=s("",16),n=[l];function d(i,r,c,h,p,g){return a(),t("div",null,n)}const u=e(o,[["render",d]]);export{f as __pageData,u as default};
+import{_ as e,c as t,o as a,a as s}from"./app.14bef1c5.js";const f=JSON.parse('{"title":"Logger","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"Log(message, filePath, dateTime)","slug":"log-message-filepath-datetime","link":"#log-message-filepath-datetime","children":[]}]}],"relativePath":"env/logger.md","lastUpdated":1673088608000}'),o={name:"env/logger.md"},l=s("",16),n=[l];function d(i,r,c,h,p,g){return a(),t("div",null,n)}const u=e(o,[["render",d]]);export{f as __pageData,u as default};
diff --git a/docs/assets/env_system.md.6990eaa0.js b/docs/assets/env_system.md.31029601.js
similarity index 99%
rename from docs/assets/env_system.md.6990eaa0.js
rename to docs/assets/env_system.md.31029601.js
index 70032d3..e3d01ae 100644
--- a/docs/assets/env_system.md.6990eaa0.js
+++ b/docs/assets/env_system.md.31029601.js
@@ -1,4 +1,4 @@
-import{_ as s,c as a,o as n,a as e}from"./app.411d0108.js";const F=JSON.parse('{"title":"Sys","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"ExecuteAsAdmin(process)","slug":"executeasadmin-process","link":"#executeasadmin-process","children":[]},{"level":3,"title":"ExecuteAsAdmin(fileName)","slug":"executeasadmin-filename","link":"#executeasadmin-filename","children":[]},{"level":3,"title":"LaunchUWPApp(packageFamilyName, applicationID)","slug":"launchuwpapp-packagefamilyname-applicationid","link":"#launchuwpapp-packagefamilyname-applicationid","children":[]},{"level":3,"title":"IsProcessRunning(processName)","slug":"isprocessrunning-processname","link":"#isprocessrunning-processname","children":[]},{"level":3,"title":"TerminateProcess(processId)","slug":"terminateprocess-processid","link":"#terminateprocess-processid","children":[]}]},{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"CurrentOperatingSystem","slug":"currentoperatingsystem","link":"#currentoperatingsystem","children":[]},{"level":3,"title":"CurrentWindowsVersion","slug":"currentwindowsversion","link":"#currentwindowsversion","children":[]},{"level":3,"title":"IsDarkThemeSupported","slug":"isdarkthemesupported","link":"#isdarkthemesupported","children":[]},{"level":3,"title":"RunningProcesses","slug":"runningprocesses","link":"#runningprocesses","children":[]},{"level":3,"title":"RunningProcessesNames","slug":"runningprocessesnames","link":"#runningprocessesnames","children":[]},{"level":3,"title":"UnixTime","slug":"unixtime","link":"#unixtime","children":[]}]}],"relativePath":"env/system.md","lastUpdated":1675590267000}'),l={name:"env/system.md"},o=e(`

Sys

This page is about the Sys class available in PeyrSharp.Env. You can find here all of its methods and properties.

INFO

This class is static.

Compatibility

The Sys class is part of the PeyrSharp.Env module, and is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Env⚠️⚠️
Framework.NET 5.NET 6.NET 7
Env

WARNING

Some methods, classes or features of PeyrSharp.Env might not be available in all platforms.

Methods

ExecuteAsAdmin(process)

Definition

Executes a program in administrator mode.

WARNING

This method only works on Windows.

Arguments

TypeNameMeaning
ProcessprocessThe process to launch as admin.

Usage

c#
using PeyrSharp.Env;
+import{_ as s,c as a,o as n,a as e}from"./app.14bef1c5.js";const F=JSON.parse('{"title":"Sys","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"ExecuteAsAdmin(process)","slug":"executeasadmin-process","link":"#executeasadmin-process","children":[]},{"level":3,"title":"ExecuteAsAdmin(fileName)","slug":"executeasadmin-filename","link":"#executeasadmin-filename","children":[]},{"level":3,"title":"LaunchUWPApp(packageFamilyName, applicationID)","slug":"launchuwpapp-packagefamilyname-applicationid","link":"#launchuwpapp-packagefamilyname-applicationid","children":[]},{"level":3,"title":"IsProcessRunning(processName)","slug":"isprocessrunning-processname","link":"#isprocessrunning-processname","children":[]},{"level":3,"title":"TerminateProcess(processId)","slug":"terminateprocess-processid","link":"#terminateprocess-processid","children":[]}]},{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"CurrentOperatingSystem","slug":"currentoperatingsystem","link":"#currentoperatingsystem","children":[]},{"level":3,"title":"CurrentWindowsVersion","slug":"currentwindowsversion","link":"#currentwindowsversion","children":[]},{"level":3,"title":"IsDarkThemeSupported","slug":"isdarkthemesupported","link":"#isdarkthemesupported","children":[]},{"level":3,"title":"RunningProcesses","slug":"runningprocesses","link":"#runningprocesses","children":[]},{"level":3,"title":"RunningProcessesNames","slug":"runningprocessesnames","link":"#runningprocessesnames","children":[]},{"level":3,"title":"UnixTime","slug":"unixtime","link":"#unixtime","children":[]}]}],"relativePath":"env/system.md","lastUpdated":1675590267000}'),l={name:"env/system.md"},o=e(`

Sys

This page is about the Sys class available in PeyrSharp.Env. You can find here all of its methods and properties.

INFO

This class is static.

Compatibility

The Sys class is part of the PeyrSharp.Env module, and is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Env⚠️⚠️
Framework.NET 5.NET 6.NET 7
Env

WARNING

Some methods, classes or features of PeyrSharp.Env might not be available in all platforms.

Methods

ExecuteAsAdmin(process)

Definition

Executes a program in administrator mode.

WARNING

This method only works on Windows.

Arguments

TypeNameMeaning
ProcessprocessThe process to launch as admin.

Usage

c#
using PeyrSharp.Env;
 
 // Define a process
 Process p = new();
diff --git a/docs/assets/env_system.md.6990eaa0.lean.js b/docs/assets/env_system.md.31029601.lean.js
similarity index 96%
rename from docs/assets/env_system.md.6990eaa0.lean.js
rename to docs/assets/env_system.md.31029601.lean.js
index 41de53e..8d309fa 100644
--- a/docs/assets/env_system.md.6990eaa0.lean.js
+++ b/docs/assets/env_system.md.31029601.lean.js
@@ -1 +1 @@
-import{_ as s,c as a,o as n,a as e}from"./app.411d0108.js";const F=JSON.parse('{"title":"Sys","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"ExecuteAsAdmin(process)","slug":"executeasadmin-process","link":"#executeasadmin-process","children":[]},{"level":3,"title":"ExecuteAsAdmin(fileName)","slug":"executeasadmin-filename","link":"#executeasadmin-filename","children":[]},{"level":3,"title":"LaunchUWPApp(packageFamilyName, applicationID)","slug":"launchuwpapp-packagefamilyname-applicationid","link":"#launchuwpapp-packagefamilyname-applicationid","children":[]},{"level":3,"title":"IsProcessRunning(processName)","slug":"isprocessrunning-processname","link":"#isprocessrunning-processname","children":[]},{"level":3,"title":"TerminateProcess(processId)","slug":"terminateprocess-processid","link":"#terminateprocess-processid","children":[]}]},{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"CurrentOperatingSystem","slug":"currentoperatingsystem","link":"#currentoperatingsystem","children":[]},{"level":3,"title":"CurrentWindowsVersion","slug":"currentwindowsversion","link":"#currentwindowsversion","children":[]},{"level":3,"title":"IsDarkThemeSupported","slug":"isdarkthemesupported","link":"#isdarkthemesupported","children":[]},{"level":3,"title":"RunningProcesses","slug":"runningprocesses","link":"#runningprocesses","children":[]},{"level":3,"title":"RunningProcessesNames","slug":"runningprocessesnames","link":"#runningprocessesnames","children":[]},{"level":3,"title":"UnixTime","slug":"unixtime","link":"#unixtime","children":[]}]}],"relativePath":"env/system.md","lastUpdated":1675590267000}'),l={name:"env/system.md"},o=e("",90),p=[o];function t(c,r,i,d,y,D){return n(),a("div",null,p)}const C=s(l,[["render",t]]);export{F as __pageData,C as default};
+import{_ as s,c as a,o as n,a as e}from"./app.14bef1c5.js";const F=JSON.parse('{"title":"Sys","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"ExecuteAsAdmin(process)","slug":"executeasadmin-process","link":"#executeasadmin-process","children":[]},{"level":3,"title":"ExecuteAsAdmin(fileName)","slug":"executeasadmin-filename","link":"#executeasadmin-filename","children":[]},{"level":3,"title":"LaunchUWPApp(packageFamilyName, applicationID)","slug":"launchuwpapp-packagefamilyname-applicationid","link":"#launchuwpapp-packagefamilyname-applicationid","children":[]},{"level":3,"title":"IsProcessRunning(processName)","slug":"isprocessrunning-processname","link":"#isprocessrunning-processname","children":[]},{"level":3,"title":"TerminateProcess(processId)","slug":"terminateprocess-processid","link":"#terminateprocess-processid","children":[]}]},{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"CurrentOperatingSystem","slug":"currentoperatingsystem","link":"#currentoperatingsystem","children":[]},{"level":3,"title":"CurrentWindowsVersion","slug":"currentwindowsversion","link":"#currentwindowsversion","children":[]},{"level":3,"title":"IsDarkThemeSupported","slug":"isdarkthemesupported","link":"#isdarkthemesupported","children":[]},{"level":3,"title":"RunningProcesses","slug":"runningprocesses","link":"#runningprocesses","children":[]},{"level":3,"title":"RunningProcessesNames","slug":"runningprocessesnames","link":"#runningprocessesnames","children":[]},{"level":3,"title":"UnixTime","slug":"unixtime","link":"#unixtime","children":[]}]}],"relativePath":"env/system.md","lastUpdated":1675590267000}'),l={name:"env/system.md"},o=e("",90),p=[o];function t(c,r,i,d,y,D){return n(),a("div",null,p)}const C=s(l,[["render",t]]);export{F as __pageData,C as default};
diff --git a/docs/assets/env_update.md.e863723d.js b/docs/assets/env_update.md.fa40c5fb.js
similarity index 99%
rename from docs/assets/env_update.md.e863723d.js
rename to docs/assets/env_update.md.fa40c5fb.js
index 63e3544..50dbf3e 100644
--- a/docs/assets/env_update.md.e863723d.js
+++ b/docs/assets/env_update.md.fa40c5fb.js
@@ -1,4 +1,4 @@
-import{_ as s,c as a,o as e,a as n}from"./app.411d0108.js";const F=JSON.parse('{"title":"Update","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"GetLastVersionAsync(url)","slug":"getlastversionasync-url","link":"#getlastversionasync-url","children":[]},{"level":3,"title":"IsAvailable(currentVersion, remoteVersion)","slug":"isavailable-currentversion-remoteversion","link":"#isavailable-currentversion-remoteversion","children":[]}]}],"relativePath":"env/update.md","lastUpdated":1673088608000}'),t={name:"env/update.md"},o=n(`

Update

This page is about the Update class available in PeyrSharp.Env. You can find here all of its methods.

INFO

This class is static.

Compatibility

The Update class is part of the PeyrSharp.Env module, and is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Env
Framework.NET 5.NET 6.NET 7
Env

WARNING

Some methods, classes or features of PeyrSharp.Env might not be available in all platforms.

Methods

GetLastVersionAsync(url)

Definition

Downloads the content of remote file as string. The remote file should contain the last version text. Do not provide the URL of an HTML page.

INFO

This method is asynchronous and awaitable.

Arguments

TypeNameMeaning
stringurlLink of the file where the latest version is stored.

Usage

c#
using PeyrSharp.Env;
+import{_ as s,c as a,o as e,a as n}from"./app.14bef1c5.js";const F=JSON.parse('{"title":"Update","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"GetLastVersionAsync(url)","slug":"getlastversionasync-url","link":"#getlastversionasync-url","children":[]},{"level":3,"title":"IsAvailable(currentVersion, remoteVersion)","slug":"isavailable-currentversion-remoteversion","link":"#isavailable-currentversion-remoteversion","children":[]}]}],"relativePath":"env/update.md","lastUpdated":1673088608000}'),t={name:"env/update.md"},o=n(`

Update

This page is about the Update class available in PeyrSharp.Env. You can find here all of its methods.

INFO

This class is static.

Compatibility

The Update class is part of the PeyrSharp.Env module, and is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Env
Framework.NET 5.NET 6.NET 7
Env

WARNING

Some methods, classes or features of PeyrSharp.Env might not be available in all platforms.

Methods

GetLastVersionAsync(url)

Definition

Downloads the content of remote file as string. The remote file should contain the last version text. Do not provide the URL of an HTML page.

INFO

This method is asynchronous and awaitable.

Arguments

TypeNameMeaning
stringurlLink of the file where the latest version is stored.

Usage

c#
using PeyrSharp.Env;
 
 private async void Main()
 {
diff --git a/docs/assets/env_update.md.e863723d.lean.js b/docs/assets/env_update.md.fa40c5fb.lean.js
similarity index 92%
rename from docs/assets/env_update.md.e863723d.lean.js
rename to docs/assets/env_update.md.fa40c5fb.lean.js
index 04a6053..ddbbda2 100644
--- a/docs/assets/env_update.md.e863723d.lean.js
+++ b/docs/assets/env_update.md.fa40c5fb.lean.js
@@ -1 +1 @@
-import{_ as s,c as a,o as e,a as n}from"./app.411d0108.js";const F=JSON.parse('{"title":"Update","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"GetLastVersionAsync(url)","slug":"getlastversionasync-url","link":"#getlastversionasync-url","children":[]},{"level":3,"title":"IsAvailable(currentVersion, remoteVersion)","slug":"isavailable-currentversion-remoteversion","link":"#isavailable-currentversion-remoteversion","children":[]}]}],"relativePath":"env/update.md","lastUpdated":1673088608000}'),t={name:"env/update.md"},o=n("",24),l=[o];function r(p,c,i,d,h,y){return e(),a("div",null,l)}const u=s(t,[["render",r]]);export{F as __pageData,u as default};
+import{_ as s,c as a,o as e,a as n}from"./app.14bef1c5.js";const F=JSON.parse('{"title":"Update","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"GetLastVersionAsync(url)","slug":"getlastversionasync-url","link":"#getlastversionasync-url","children":[]},{"level":3,"title":"IsAvailable(currentVersion, remoteVersion)","slug":"isavailable-currentversion-remoteversion","link":"#isavailable-currentversion-remoteversion","children":[]}]}],"relativePath":"env/update.md","lastUpdated":1673088608000}'),t={name:"env/update.md"},o=n("",24),l=[o];function r(p,c,i,d,h,y){return e(),a("div",null,l)}const u=s(t,[["render",r]]);export{F as __pageData,u as default};
diff --git a/docs/assets/exceptions.md.cec75bf5.js b/docs/assets/exceptions.md.301c0fc6.js
similarity index 99%
rename from docs/assets/exceptions.md.cec75bf5.js
rename to docs/assets/exceptions.md.301c0fc6.js
index ccb9f76..595c396 100644
--- a/docs/assets/exceptions.md.cec75bf5.js
+++ b/docs/assets/exceptions.md.301c0fc6.js
@@ -1,4 +1,4 @@
-import{_ as e,c as a,o as n,a as s}from"./app.411d0108.js";const D=JSON.parse('{"title":"Exceptions","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Converters","slug":"converters","link":"#converters","children":[{"level":3,"title":"RGBInvalidValueException","slug":"rgbinvalidvalueexception","link":"#rgbinvalidvalueexception","children":[]},{"level":3,"title":"HEXInvalidValueException","slug":"hexinvalidvalueexception","link":"#hexinvalidvalueexception","children":[]}]},{"level":2,"title":"Guid","slug":"guid","link":"#guid","children":[{"level":3,"title":"InvalidGuidLengthException","slug":"invalidguidlengthexception","link":"#invalidguidlengthexception","children":[]}]}],"relativePath":"exceptions.md","lastUpdated":1665311928000}'),t={name:"exceptions.md"},l=s(`

Exceptions

This page is about the exceptions available in PeyrSharp.Exceptions. They are grouped by category.

Compatibility

Exceptions are part of the PeyrSharp.Exceptions module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Exceptions
Framework.NET 5.NET 6.NET 7
Exceptions

Converters

RGBInvalidValueException

Definition

The RGBInvalidValueException is an exception used in the Converters class when you provide an invalid value for a RGB color.

Usage

c#
using PeyrSharp.Exceptions;
+import{_ as e,c as a,o as n,a as s}from"./app.14bef1c5.js";const D=JSON.parse('{"title":"Exceptions","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Converters","slug":"converters","link":"#converters","children":[{"level":3,"title":"RGBInvalidValueException","slug":"rgbinvalidvalueexception","link":"#rgbinvalidvalueexception","children":[]},{"level":3,"title":"HEXInvalidValueException","slug":"hexinvalidvalueexception","link":"#hexinvalidvalueexception","children":[]}]},{"level":2,"title":"Guid","slug":"guid","link":"#guid","children":[{"level":3,"title":"InvalidGuidLengthException","slug":"invalidguidlengthexception","link":"#invalidguidlengthexception","children":[]}]}],"relativePath":"exceptions.md","lastUpdated":1665311928000}'),t={name:"exceptions.md"},l=s(`

Exceptions

This page is about the exceptions available in PeyrSharp.Exceptions. They are grouped by category.

Compatibility

Exceptions are part of the PeyrSharp.Exceptions module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Exceptions
Framework.NET 5.NET 6.NET 7
Exceptions

Converters

RGBInvalidValueException

Definition

The RGBInvalidValueException is an exception used in the Converters class when you provide an invalid value for a RGB color.

Usage

c#
using PeyrSharp.Exceptions;
 
 throw new RGBInvalidValueException("Please provide correct RGB values.");
 

HEXInvalidValueException

Definition

The HEXInvalidValueException is an exception used in the Converters class when you provide an invalid value for a HEX color.

Usage

c#
using PeyrSharp.Exceptions;
diff --git a/docs/assets/exceptions.md.cec75bf5.lean.js b/docs/assets/exceptions.md.301c0fc6.lean.js
similarity index 93%
rename from docs/assets/exceptions.md.cec75bf5.lean.js
rename to docs/assets/exceptions.md.301c0fc6.lean.js
index 97f9902..baebd5e 100644
--- a/docs/assets/exceptions.md.cec75bf5.lean.js
+++ b/docs/assets/exceptions.md.301c0fc6.lean.js
@@ -1 +1 @@
-import{_ as e,c as a,o as n,a as s}from"./app.411d0108.js";const D=JSON.parse('{"title":"Exceptions","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Converters","slug":"converters","link":"#converters","children":[{"level":3,"title":"RGBInvalidValueException","slug":"rgbinvalidvalueexception","link":"#rgbinvalidvalueexception","children":[]},{"level":3,"title":"HEXInvalidValueException","slug":"hexinvalidvalueexception","link":"#hexinvalidvalueexception","children":[]}]},{"level":2,"title":"Guid","slug":"guid","link":"#guid","children":[{"level":3,"title":"InvalidGuidLengthException","slug":"invalidguidlengthexception","link":"#invalidguidlengthexception","children":[]}]}],"relativePath":"exceptions.md","lastUpdated":1665311928000}'),t={name:"exceptions.md"},l=s("",22),o=[l];function i(p,c,r,d,h,u){return n(),a("div",null,o)}const C=e(t,[["render",i]]);export{D as __pageData,C as default};
+import{_ as e,c as a,o as n,a as s}from"./app.14bef1c5.js";const D=JSON.parse('{"title":"Exceptions","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Converters","slug":"converters","link":"#converters","children":[{"level":3,"title":"RGBInvalidValueException","slug":"rgbinvalidvalueexception","link":"#rgbinvalidvalueexception","children":[]},{"level":3,"title":"HEXInvalidValueException","slug":"hexinvalidvalueexception","link":"#hexinvalidvalueexception","children":[]}]},{"level":2,"title":"Guid","slug":"guid","link":"#guid","children":[{"level":3,"title":"InvalidGuidLengthException","slug":"invalidguidlengthexception","link":"#invalidguidlengthexception","children":[]}]}],"relativePath":"exceptions.md","lastUpdated":1665311928000}'),t={name:"exceptions.md"},l=s("",22),o=[l];function i(p,c,r,d,h,u){return n(),a("div",null,o)}const C=e(t,[["render",i]]);export{D as __pageData,C as default};
diff --git a/docs/assets/extensions.md.59dc1d1a.js b/docs/assets/extensions.md.3f3fc972.js
similarity index 96%
rename from docs/assets/extensions.md.59dc1d1a.js
rename to docs/assets/extensions.md.3f3fc972.js
index 433fd28..f7be173 100644
--- a/docs/assets/extensions.md.59dc1d1a.js
+++ b/docs/assets/extensions.md.3f3fc972.js
@@ -1 +1 @@
-import{_ as t,c as e,o as s,a}from"./app.411d0108.js";const x=JSON.parse('{"title":"Extensions","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Classes","slug":"classes","link":"#classes","children":[]}],"relativePath":"extensions.md","lastUpdated":1667468707000}'),i={name:"extensions.md"},n=a('

Extensions

This page is about the PeyrSharp.Extensions module.

Compatibility

The PeyrSharp.Extensions module is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Extensions
Framework.NET 5.NET 6.NET 7
Extensions

Classes

',7),r=[n];function o(d,l,h,c,p,_){return s(),e("div",null,r)}const f=t(i,[["render",o]]);export{x as __pageData,f as default}; +import{_ as t,c as e,o as s,a}from"./app.14bef1c5.js";const x=JSON.parse('{"title":"Extensions","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Classes","slug":"classes","link":"#classes","children":[]}],"relativePath":"extensions.md","lastUpdated":1667468707000}'),i={name:"extensions.md"},n=a('

Extensions

This page is about the PeyrSharp.Extensions module.

Compatibility

The PeyrSharp.Extensions module is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Extensions
Framework.NET 5.NET 6.NET 7
Extensions

Classes

',7),r=[n];function o(d,l,h,c,p,_){return s(),e("div",null,r)}const f=t(i,[["render",o]]);export{x as __pageData,f as default}; diff --git a/docs/assets/extensions.md.59dc1d1a.lean.js b/docs/assets/extensions.md.3f3fc972.lean.js similarity index 88% rename from docs/assets/extensions.md.59dc1d1a.lean.js rename to docs/assets/extensions.md.3f3fc972.lean.js index aff36f6..09f0ac3 100644 --- a/docs/assets/extensions.md.59dc1d1a.lean.js +++ b/docs/assets/extensions.md.3f3fc972.lean.js @@ -1 +1 @@ -import{_ as t,c as e,o as s,a}from"./app.411d0108.js";const x=JSON.parse('{"title":"Extensions","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Classes","slug":"classes","link":"#classes","children":[]}],"relativePath":"extensions.md","lastUpdated":1667468707000}'),i={name:"extensions.md"},n=a("",7),r=[n];function o(d,l,h,c,p,_){return s(),e("div",null,r)}const f=t(i,[["render",o]]);export{x as __pageData,f as default}; +import{_ as t,c as e,o as s,a}from"./app.14bef1c5.js";const x=JSON.parse('{"title":"Extensions","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Classes","slug":"classes","link":"#classes","children":[]}],"relativePath":"extensions.md","lastUpdated":1667468707000}'),i={name:"extensions.md"},n=a("",7),r=[n];function o(d,l,h,c,p,_){return s(),e("div",null,r)}const f=t(i,[["render",o]]);export{x as __pageData,f as default}; diff --git a/docs/assets/extensions_array.md.601190ae.js b/docs/assets/extensions_array.md.f7468d5f.js similarity index 99% rename from docs/assets/extensions_array.md.601190ae.js rename to docs/assets/extensions_array.md.f7468d5f.js index 3414132..0dbf9b4 100644 --- a/docs/assets/extensions_array.md.601190ae.js +++ b/docs/assets/extensions_array.md.f7468d5f.js @@ -1,4 +1,4 @@ -import{_ as s,c as a,o as e,a as n}from"./app.411d0108.js";const F=JSON.parse('{"title":"ArrayExtensions","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"Append(item)","slug":"append-item","link":"#append-item","children":[]},{"level":3,"title":"Append(items)","slug":"append-items","link":"#append-items","children":[]},{"level":3,"title":"RemoveElement(item)","slug":"removeelement-item","link":"#removeelement-item","children":[]},{"level":3,"title":"RemoveElement(items)","slug":"removeelement-items","link":"#removeelement-items","children":[]},{"level":3,"title":"UnSplit(array, separator)","slug":"unsplit-array-separator","link":"#unsplit-array-separator","children":[]}]}],"relativePath":"extensions/array.md","lastUpdated":1673177468000}'),t={name:"extensions/array.md"},o=n(`

ArrayExtensions

This page is about the ArrayExtensions class available in PeyrSharp.Extensions. You can find here all of its extension methods.

INFO

This class is static.

Compatibility

The ArrayExtensions class is part of the PeyrSharp.Extensions module, and is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Extensions
Framework.NET 5.NET 6.NET 7
Extensions

Methods

Append(item)

Definition

The Append<T>() method adds an item to an existing array of any type. It returns an array of the chosen type (T[]).

Arguments

TypeNameMeaning
TitemThe item to append in the array.

Usage

c#
using PeyrSharp.Extensions;
+import{_ as s,c as a,o as e,a as n}from"./app.14bef1c5.js";const F=JSON.parse('{"title":"ArrayExtensions","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"Append(item)","slug":"append-item","link":"#append-item","children":[]},{"level":3,"title":"Append(items)","slug":"append-items","link":"#append-items","children":[]},{"level":3,"title":"RemoveElement(item)","slug":"removeelement-item","link":"#removeelement-item","children":[]},{"level":3,"title":"RemoveElement(items)","slug":"removeelement-items","link":"#removeelement-items","children":[]},{"level":3,"title":"UnSplit(array, separator)","slug":"unsplit-array-separator","link":"#unsplit-array-separator","children":[]}]}],"relativePath":"extensions/array.md","lastUpdated":1673177468000}'),t={name:"extensions/array.md"},o=n(`

ArrayExtensions

This page is about the ArrayExtensions class available in PeyrSharp.Extensions. You can find here all of its extension methods.

INFO

This class is static.

Compatibility

The ArrayExtensions class is part of the PeyrSharp.Extensions module, and is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Extensions
Framework.NET 5.NET 6.NET 7
Extensions

Methods

Append(item)

Definition

The Append<T>() method adds an item to an existing array of any type. It returns an array of the chosen type (T[]).

Arguments

TypeNameMeaning
TitemThe item to append in the array.

Usage

c#
using PeyrSharp.Extensions;
 
 int[] numbers = { 1, 2, 3, 4 };
 int[] appendNumbers = numbers.Append(5);
diff --git a/docs/assets/extensions_array.md.601190ae.lean.js b/docs/assets/extensions_array.md.f7468d5f.lean.js
similarity index 94%
rename from docs/assets/extensions_array.md.601190ae.lean.js
rename to docs/assets/extensions_array.md.f7468d5f.lean.js
index 660608d..d8f7b6b 100644
--- a/docs/assets/extensions_array.md.601190ae.lean.js
+++ b/docs/assets/extensions_array.md.f7468d5f.lean.js
@@ -1 +1 @@
-import{_ as s,c as a,o as e,a as n}from"./app.411d0108.js";const F=JSON.parse('{"title":"ArrayExtensions","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"Append(item)","slug":"append-item","link":"#append-item","children":[]},{"level":3,"title":"Append(items)","slug":"append-items","link":"#append-items","children":[]},{"level":3,"title":"RemoveElement(item)","slug":"removeelement-item","link":"#removeelement-item","children":[]},{"level":3,"title":"RemoveElement(items)","slug":"removeelement-items","link":"#removeelement-items","children":[]},{"level":3,"title":"UnSplit(array, separator)","slug":"unsplit-array-separator","link":"#unsplit-array-separator","children":[]}]}],"relativePath":"extensions/array.md","lastUpdated":1673177468000}'),t={name:"extensions/array.md"},o=n("",42),l=[o];function p(r,c,i,d,y,h){return e(),a("div",null,l)}const C=s(t,[["render",p]]);export{F as __pageData,C as default};
+import{_ as s,c as a,o as e,a as n}from"./app.14bef1c5.js";const F=JSON.parse('{"title":"ArrayExtensions","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"Append(item)","slug":"append-item","link":"#append-item","children":[]},{"level":3,"title":"Append(items)","slug":"append-items","link":"#append-items","children":[]},{"level":3,"title":"RemoveElement(item)","slug":"removeelement-item","link":"#removeelement-item","children":[]},{"level":3,"title":"RemoveElement(items)","slug":"removeelement-items","link":"#removeelement-items","children":[]},{"level":3,"title":"UnSplit(array, separator)","slug":"unsplit-array-separator","link":"#unsplit-array-separator","children":[]}]}],"relativePath":"extensions/array.md","lastUpdated":1673177468000}'),t={name:"extensions/array.md"},o=n("",42),l=[o];function p(r,c,i,d,y,h){return e(),a("div",null,l)}const C=s(t,[["render",p]]);export{F as __pageData,C as default};
diff --git a/docs/assets/extensions_double.md.14b4fe90.js b/docs/assets/extensions_double.md.b911130a.js
similarity index 99%
rename from docs/assets/extensions_double.md.14b4fe90.js
rename to docs/assets/extensions_double.md.b911130a.js
index 882302f..94392f4 100644
--- a/docs/assets/extensions_double.md.14b4fe90.js
+++ b/docs/assets/extensions_double.md.b911130a.js
@@ -1,4 +1,4 @@
-import{_ as e,c as s,o as a,a as t}from"./app.411d0108.js";const b=JSON.parse('{"title":"DoubleExtensions","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"ToInt()","slug":"toint","link":"#toint","children":[]},{"level":3,"title":"ToSeconds(timeUnits)","slug":"toseconds-timeunits","link":"#toseconds-timeunits","children":[]},{"level":3,"title":"ToMinutes(timeUnits)","slug":"tominutes-timeunits","link":"#tominutes-timeunits","children":[]},{"level":3,"title":"ToHours(timeUnits)","slug":"tohours-timeunits","link":"#tohours-timeunits","children":[]},{"level":3,"title":"ToDays(timeUnits)","slug":"todays-timeunits","link":"#todays-timeunits","children":[]},{"level":3,"title":"ToByte(storageUnit)","slug":"tobyte-storageunit","link":"#tobyte-storageunit","children":[]},{"level":3,"title":"ToKilobyte(storageUnit)","slug":"tokilobyte-storageunit","link":"#tokilobyte-storageunit","children":[]},{"level":3,"title":"ToMegabyte(storageUnit)","slug":"tomegabyte-storageunit","link":"#tomegabyte-storageunit","children":[]},{"level":3,"title":"ToGigabyte(storageUnit)","slug":"togigabyte-storageunit","link":"#togigabyte-storageunit","children":[]},{"level":3,"title":"ToTerabyte(storageUnit)","slug":"toterabyte-storageunit","link":"#toterabyte-storageunit","children":[]},{"level":3,"title":"ToPetabyte(storageUnit)","slug":"topetabyte-storageunit","link":"#topetabyte-storageunit","children":[]}]}],"relativePath":"extensions/double.md","lastUpdated":1673088608000}'),n={name:"extensions/double.md"},o=t(`

DoubleExtensions

This page is about the DoubleExtensions class available in PeyrSharp.Extensions. You can find here all of its extension methods.

INFO

This class is static.

Compatibility

The DoubleExtensions class is part of the PeyrSharp.Extensions module, and is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Extensions
Framework.NET 5.NET 6.NET 7
Extensions

Methods

ToInt()

Definition

Converts a double value to an int. To achieve it, it uses the Math.Round() method.

Arguments

This method has no arguments.

Usage

c#
using PeyrSharp.Extensions;
+import{_ as e,c as s,o as a,a as t}from"./app.14bef1c5.js";const b=JSON.parse('{"title":"DoubleExtensions","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"ToInt()","slug":"toint","link":"#toint","children":[]},{"level":3,"title":"ToSeconds(timeUnits)","slug":"toseconds-timeunits","link":"#toseconds-timeunits","children":[]},{"level":3,"title":"ToMinutes(timeUnits)","slug":"tominutes-timeunits","link":"#tominutes-timeunits","children":[]},{"level":3,"title":"ToHours(timeUnits)","slug":"tohours-timeunits","link":"#tohours-timeunits","children":[]},{"level":3,"title":"ToDays(timeUnits)","slug":"todays-timeunits","link":"#todays-timeunits","children":[]},{"level":3,"title":"ToByte(storageUnit)","slug":"tobyte-storageunit","link":"#tobyte-storageunit","children":[]},{"level":3,"title":"ToKilobyte(storageUnit)","slug":"tokilobyte-storageunit","link":"#tokilobyte-storageunit","children":[]},{"level":3,"title":"ToMegabyte(storageUnit)","slug":"tomegabyte-storageunit","link":"#tomegabyte-storageunit","children":[]},{"level":3,"title":"ToGigabyte(storageUnit)","slug":"togigabyte-storageunit","link":"#togigabyte-storageunit","children":[]},{"level":3,"title":"ToTerabyte(storageUnit)","slug":"toterabyte-storageunit","link":"#toterabyte-storageunit","children":[]},{"level":3,"title":"ToPetabyte(storageUnit)","slug":"topetabyte-storageunit","link":"#topetabyte-storageunit","children":[]}]}],"relativePath":"extensions/double.md","lastUpdated":1673088608000}'),n={name:"extensions/double.md"},o=t(`

DoubleExtensions

This page is about the DoubleExtensions class available in PeyrSharp.Extensions. You can find here all of its extension methods.

INFO

This class is static.

Compatibility

The DoubleExtensions class is part of the PeyrSharp.Extensions module, and is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Extensions
Framework.NET 5.NET 6.NET 7
Extensions

Methods

ToInt()

Definition

Converts a double value to an int. To achieve it, it uses the Math.Round() method.

Arguments

This method has no arguments.

Usage

c#
using PeyrSharp.Extensions;
 
 int n = 45.6.ToInt();
 // n = 46
diff --git a/docs/assets/extensions_double.md.14b4fe90.lean.js b/docs/assets/extensions_double.md.b911130a.lean.js
similarity index 96%
rename from docs/assets/extensions_double.md.14b4fe90.lean.js
rename to docs/assets/extensions_double.md.b911130a.lean.js
index b0f8ff1..9799cd7 100644
--- a/docs/assets/extensions_double.md.14b4fe90.lean.js
+++ b/docs/assets/extensions_double.md.b911130a.lean.js
@@ -1 +1 @@
-import{_ as e,c as s,o as a,a as t}from"./app.411d0108.js";const b=JSON.parse('{"title":"DoubleExtensions","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"ToInt()","slug":"toint","link":"#toint","children":[]},{"level":3,"title":"ToSeconds(timeUnits)","slug":"toseconds-timeunits","link":"#toseconds-timeunits","children":[]},{"level":3,"title":"ToMinutes(timeUnits)","slug":"tominutes-timeunits","link":"#tominutes-timeunits","children":[]},{"level":3,"title":"ToHours(timeUnits)","slug":"tohours-timeunits","link":"#tohours-timeunits","children":[]},{"level":3,"title":"ToDays(timeUnits)","slug":"todays-timeunits","link":"#todays-timeunits","children":[]},{"level":3,"title":"ToByte(storageUnit)","slug":"tobyte-storageunit","link":"#tobyte-storageunit","children":[]},{"level":3,"title":"ToKilobyte(storageUnit)","slug":"tokilobyte-storageunit","link":"#tokilobyte-storageunit","children":[]},{"level":3,"title":"ToMegabyte(storageUnit)","slug":"tomegabyte-storageunit","link":"#tomegabyte-storageunit","children":[]},{"level":3,"title":"ToGigabyte(storageUnit)","slug":"togigabyte-storageunit","link":"#togigabyte-storageunit","children":[]},{"level":3,"title":"ToTerabyte(storageUnit)","slug":"toterabyte-storageunit","link":"#toterabyte-storageunit","children":[]},{"level":3,"title":"ToPetabyte(storageUnit)","slug":"topetabyte-storageunit","link":"#topetabyte-storageunit","children":[]}]}],"relativePath":"extensions/double.md","lastUpdated":1673088608000}'),n={name:"extensions/double.md"},o=t("",94),l=[o];function i(r,c,p,d,h,u){return a(),s("div",null,l)}const g=e(n,[["render",i]]);export{b as __pageData,g as default};
+import{_ as e,c as s,o as a,a as t}from"./app.14bef1c5.js";const b=JSON.parse('{"title":"DoubleExtensions","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"ToInt()","slug":"toint","link":"#toint","children":[]},{"level":3,"title":"ToSeconds(timeUnits)","slug":"toseconds-timeunits","link":"#toseconds-timeunits","children":[]},{"level":3,"title":"ToMinutes(timeUnits)","slug":"tominutes-timeunits","link":"#tominutes-timeunits","children":[]},{"level":3,"title":"ToHours(timeUnits)","slug":"tohours-timeunits","link":"#tohours-timeunits","children":[]},{"level":3,"title":"ToDays(timeUnits)","slug":"todays-timeunits","link":"#todays-timeunits","children":[]},{"level":3,"title":"ToByte(storageUnit)","slug":"tobyte-storageunit","link":"#tobyte-storageunit","children":[]},{"level":3,"title":"ToKilobyte(storageUnit)","slug":"tokilobyte-storageunit","link":"#tokilobyte-storageunit","children":[]},{"level":3,"title":"ToMegabyte(storageUnit)","slug":"tomegabyte-storageunit","link":"#tomegabyte-storageunit","children":[]},{"level":3,"title":"ToGigabyte(storageUnit)","slug":"togigabyte-storageunit","link":"#togigabyte-storageunit","children":[]},{"level":3,"title":"ToTerabyte(storageUnit)","slug":"toterabyte-storageunit","link":"#toterabyte-storageunit","children":[]},{"level":3,"title":"ToPetabyte(storageUnit)","slug":"topetabyte-storageunit","link":"#topetabyte-storageunit","children":[]}]}],"relativePath":"extensions/double.md","lastUpdated":1673088608000}'),n={name:"extensions/double.md"},o=t("",94),l=[o];function i(r,c,p,d,h,u){return a(),s("div",null,l)}const g=e(n,[["render",i]]);export{b as __pageData,g as default};
diff --git a/docs/assets/extensions_int.md.0142a952.js b/docs/assets/extensions_int.md.1d17f472.js
similarity index 98%
rename from docs/assets/extensions_int.md.0142a952.js
rename to docs/assets/extensions_int.md.1d17f472.js
index f9ad417..eba943c 100644
--- a/docs/assets/extensions_int.md.0142a952.js
+++ b/docs/assets/extensions_int.md.1d17f472.js
@@ -1,4 +1,4 @@
-import{_ as s,c as e,o as a,a as n}from"./app.411d0108.js";const g=JSON.parse('{"title":"IntExtensions","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"GetDivisors()","slug":"getdivisors","link":"#getdivisors","children":[]},{"level":3,"title":"IsEven()","slug":"iseven","link":"#iseven","children":[]},{"level":3,"title":"ToDouble()","slug":"todouble","link":"#todouble","children":[]}]}],"relativePath":"extensions/int.md","lastUpdated":1673088608000}'),t={name:"extensions/int.md"},o=n(`

IntExtensions

This page is about the IntExtensions class available in PeyrSharp.Extensions. You can find here all of its extension methods.

INFO

This class is static.

Compatibility

The IntExtensions class is part of the PeyrSharp.Extensions module, and is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Extensions
Framework.NET 5.NET 6.NET 7
Extensions

Methods

GetDivisors()

Definition

Gets all divisors of a specific number. Returns an array of int[].

Arguments

This method does not have any arguments.

Usage

c#
using PeyrSharp.Extensions;
+import{_ as s,c as e,o as a,a as n}from"./app.14bef1c5.js";const g=JSON.parse('{"title":"IntExtensions","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"GetDivisors()","slug":"getdivisors","link":"#getdivisors","children":[]},{"level":3,"title":"IsEven()","slug":"iseven","link":"#iseven","children":[]},{"level":3,"title":"ToDouble()","slug":"todouble","link":"#todouble","children":[]}]}],"relativePath":"extensions/int.md","lastUpdated":1673088608000}'),t={name:"extensions/int.md"},o=n(`

IntExtensions

This page is about the IntExtensions class available in PeyrSharp.Extensions. You can find here all of its extension methods.

INFO

This class is static.

Compatibility

The IntExtensions class is part of the PeyrSharp.Extensions module, and is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Extensions
Framework.NET 5.NET 6.NET 7
Extensions

Methods

GetDivisors()

Definition

Gets all divisors of a specific number. Returns an array of int[].

Arguments

This method does not have any arguments.

Usage

c#
using PeyrSharp.Extensions;
 
 int[] divs = 16.GetDivisors(); // { 1, 2, 4, 8, 16 }
 

IsEven()

Definition

Checks if the number is even. Returns a bool.

Arguments

This method does not have any arguments.

Usage

c#
using PeyrSharp.Extensions;
diff --git a/docs/assets/extensions_int.md.0142a952.lean.js b/docs/assets/extensions_int.md.1d17f472.lean.js
similarity index 92%
rename from docs/assets/extensions_int.md.0142a952.lean.js
rename to docs/assets/extensions_int.md.1d17f472.lean.js
index b5d0fe0..143b698 100644
--- a/docs/assets/extensions_int.md.0142a952.lean.js
+++ b/docs/assets/extensions_int.md.1d17f472.lean.js
@@ -1 +1 @@
-import{_ as s,c as e,o as a,a as n}from"./app.411d0108.js";const g=JSON.parse('{"title":"IntExtensions","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"GetDivisors()","slug":"getdivisors","link":"#getdivisors","children":[]},{"level":3,"title":"IsEven()","slug":"iseven","link":"#iseven","children":[]},{"level":3,"title":"ToDouble()","slug":"todouble","link":"#todouble","children":[]}]}],"relativePath":"extensions/int.md","lastUpdated":1673088608000}'),t={name:"extensions/int.md"},o=n("",28),i=[o];function l(r,d,c,p,h,u){return a(),e("div",null,i)}const m=s(t,[["render",l]]);export{g as __pageData,m as default};
+import{_ as s,c as e,o as a,a as n}from"./app.14bef1c5.js";const g=JSON.parse('{"title":"IntExtensions","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"GetDivisors()","slug":"getdivisors","link":"#getdivisors","children":[]},{"level":3,"title":"IsEven()","slug":"iseven","link":"#iseven","children":[]},{"level":3,"title":"ToDouble()","slug":"todouble","link":"#todouble","children":[]}]}],"relativePath":"extensions/int.md","lastUpdated":1673088608000}'),t={name:"extensions/int.md"},o=n("",28),i=[o];function l(r,d,c,p,h,u){return a(),e("div",null,i)}const m=s(t,[["render",l]]);export{g as __pageData,m as default};
diff --git a/docs/assets/extensions_string.md.3e188166.js b/docs/assets/extensions_string.md.2ac5e57a.js
similarity index 84%
rename from docs/assets/extensions_string.md.3e188166.js
rename to docs/assets/extensions_string.md.2ac5e57a.js
index df9ca53..e691769 100644
--- a/docs/assets/extensions_string.md.3e188166.js
+++ b/docs/assets/extensions_string.md.2ac5e57a.js
@@ -1,4 +1,4 @@
-import{_ as s,c as a,o as e,a as n}from"./app.411d0108.js";const u=JSON.parse('{"title":"StringExtensions","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"CountWords()","slug":"countwords","link":"#countwords","children":[]},{"level":3,"title":"CountWords(wordSeparator)","slug":"countwords-wordseparator","link":"#countwords-wordseparator","children":[]},{"level":3,"title":"EndsWithSamePunctuation(stringToCheck)","slug":"endswithsamepunctuation-stringtocheck","link":"#endswithsamepunctuation-stringtocheck","children":[]},{"level":3,"title":"EndsWithSamePunctuation(stringToCheck, punctuationToCheck)","slug":"endswithsamepunctuation-stringtocheck-punctuationtocheck","link":"#endswithsamepunctuation-stringtocheck-punctuationtocheck","children":[]},{"level":3,"title":"EncryptAes(key)","slug":"encryptaes-key","link":"#encryptaes-key","children":[]},{"level":3,"title":"DecryptAes(key)","slug":"decryptaes-key","link":"#decryptaes-key","children":[]},{"level":3,"title":"HasRepeatedCharacters()","slug":"hasrepeatedcharacters","link":"#hasrepeatedcharacters","children":[]},{"level":3,"title":"SplitLines()","slug":"splitlines","link":"#splitlines","children":[]},{"level":3,"title":"ToUpperAt(str, r)","slug":"toupperat-str-r","link":"#toupperat-str-r","children":[]},{"level":3,"title":"ToUpperAt(s)","slug":"toupperat-s","link":"#toupperat-s","children":[]}]}],"relativePath":"extensions/string.md","lastUpdated":1673177468000}'),t={name:"extensions/string.md"},o=n(`

StringExtensions

This page is about the StringExtensions class available in PeyrSharp.Extensions. You can find here all of its extension methods.

INFO

This class is static.

Compatibility

The StringExtensions class is part of the PeyrSharp.Extensions module, and is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Extensions
Framework.NET 5.NET 6.NET 7
Extensions

Methods

CountWords()

Definition

Counts the number of words in a string. Returns int.

Arguments

This method has no arguments.

Usage

c#
using PeyrSharp.Extensions;
+import{_ as s,c as a,o as e,a as n}from"./app.14bef1c5.js";const u=JSON.parse('{"title":"StringExtensions","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"CountWords()","slug":"countwords","link":"#countwords","children":[]},{"level":3,"title":"CountWords(wordSeparator)","slug":"countwords-wordseparator","link":"#countwords-wordseparator","children":[]},{"level":3,"title":"EndsWithSamePunctuation(stringToCheck)","slug":"endswithsamepunctuation-stringtocheck","link":"#endswithsamepunctuation-stringtocheck","children":[]},{"level":3,"title":"EndsWithSamePunctuation(stringToCheck, punctuationToCheck)","slug":"endswithsamepunctuation-stringtocheck-punctuationtocheck","link":"#endswithsamepunctuation-stringtocheck-punctuationtocheck","children":[]},{"level":3,"title":"EncryptAes(key)","slug":"encryptaes-key","link":"#encryptaes-key","children":[]},{"level":3,"title":"DecryptAes(key)","slug":"decryptaes-key","link":"#decryptaes-key","children":[]},{"level":3,"title":"HasRepeatedCharacters()","slug":"hasrepeatedcharacters","link":"#hasrepeatedcharacters","children":[]},{"level":3,"title":"SplitLines()","slug":"splitlines","link":"#splitlines","children":[]},{"level":3,"title":"ToUpperAt(str, r)","slug":"toupperat-str-r","link":"#toupperat-str-r","children":[]},{"level":3,"title":"ToUpperAt(s)","slug":"toupperat-s","link":"#toupperat-s","children":[]},{"level":3,"title":"Reverse(input)","slug":"reverse-input","link":"#reverse-input","children":[]}]}],"relativePath":"extensions/string.md","lastUpdated":1673177468000}'),t={name:"extensions/string.md"},o=n(`

StringExtensions

This page is about the StringExtensions class available in PeyrSharp.Extensions. You can find here all of its extension methods.

INFO

This class is static.

Compatibility

The StringExtensions class is part of the PeyrSharp.Extensions module, and is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Extensions
Framework.NET 5.NET 6.NET 7
Extensions

Methods

CountWords()

Definition

Counts the number of words in a string. Returns int.

Arguments

This method has no arguments.

Usage

c#
using PeyrSharp.Extensions;
 
 int numberOfWords = "Hello, this is a test sentence!".CountWords();
 // numberOfWords = 6
@@ -44,4 +44,8 @@ import{_ as s,c as a,o as e,a as n}from"./app.411d0108.js";const u=JSON.parse('{
 string str = "test";
 string upper = str.ToUpperAt(); // Uppercase the first letter of the string
 // upper = "Test"
-
`,79),l=[o];function r(p,c,i,d,h,y){return e(),a("div",null,l)}const F=s(t,[["render",r]]);export{u as __pageData,F as default}; +

Reverse(input)

Definition

Reverses a string.

Arguments

TypeNameDescription
stringinputThe string to reverse.

Returns

A string representing the reversed input.

Usage

c#
using PeyrSharp.Extensions;
+
+string reversed = "Hello, world!".Reverse();
+// Output: "!dlrow ,olleH"
+
`,88),l=[o];function r(p,c,i,d,h,y){return e(),a("div",null,l)}const F=s(t,[["render",r]]);export{u as __pageData,F as default}; diff --git a/docs/assets/extensions_string.md.3e188166.lean.js b/docs/assets/extensions_string.md.2ac5e57a.lean.js similarity index 77% rename from docs/assets/extensions_string.md.3e188166.lean.js rename to docs/assets/extensions_string.md.2ac5e57a.lean.js index dadcb06..91717b6 100644 --- a/docs/assets/extensions_string.md.3e188166.lean.js +++ b/docs/assets/extensions_string.md.2ac5e57a.lean.js @@ -1 +1 @@ -import{_ as s,c as a,o as e,a as n}from"./app.411d0108.js";const u=JSON.parse('{"title":"StringExtensions","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"CountWords()","slug":"countwords","link":"#countwords","children":[]},{"level":3,"title":"CountWords(wordSeparator)","slug":"countwords-wordseparator","link":"#countwords-wordseparator","children":[]},{"level":3,"title":"EndsWithSamePunctuation(stringToCheck)","slug":"endswithsamepunctuation-stringtocheck","link":"#endswithsamepunctuation-stringtocheck","children":[]},{"level":3,"title":"EndsWithSamePunctuation(stringToCheck, punctuationToCheck)","slug":"endswithsamepunctuation-stringtocheck-punctuationtocheck","link":"#endswithsamepunctuation-stringtocheck-punctuationtocheck","children":[]},{"level":3,"title":"EncryptAes(key)","slug":"encryptaes-key","link":"#encryptaes-key","children":[]},{"level":3,"title":"DecryptAes(key)","slug":"decryptaes-key","link":"#decryptaes-key","children":[]},{"level":3,"title":"HasRepeatedCharacters()","slug":"hasrepeatedcharacters","link":"#hasrepeatedcharacters","children":[]},{"level":3,"title":"SplitLines()","slug":"splitlines","link":"#splitlines","children":[]},{"level":3,"title":"ToUpperAt(str, r)","slug":"toupperat-str-r","link":"#toupperat-str-r","children":[]},{"level":3,"title":"ToUpperAt(s)","slug":"toupperat-s","link":"#toupperat-s","children":[]}]}],"relativePath":"extensions/string.md","lastUpdated":1673177468000}'),t={name:"extensions/string.md"},o=n("",79),l=[o];function r(p,c,i,d,h,y){return e(),a("div",null,l)}const F=s(t,[["render",r]]);export{u as __pageData,F as default}; +import{_ as s,c as a,o as e,a as n}from"./app.14bef1c5.js";const u=JSON.parse('{"title":"StringExtensions","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"CountWords()","slug":"countwords","link":"#countwords","children":[]},{"level":3,"title":"CountWords(wordSeparator)","slug":"countwords-wordseparator","link":"#countwords-wordseparator","children":[]},{"level":3,"title":"EndsWithSamePunctuation(stringToCheck)","slug":"endswithsamepunctuation-stringtocheck","link":"#endswithsamepunctuation-stringtocheck","children":[]},{"level":3,"title":"EndsWithSamePunctuation(stringToCheck, punctuationToCheck)","slug":"endswithsamepunctuation-stringtocheck-punctuationtocheck","link":"#endswithsamepunctuation-stringtocheck-punctuationtocheck","children":[]},{"level":3,"title":"EncryptAes(key)","slug":"encryptaes-key","link":"#encryptaes-key","children":[]},{"level":3,"title":"DecryptAes(key)","slug":"decryptaes-key","link":"#decryptaes-key","children":[]},{"level":3,"title":"HasRepeatedCharacters()","slug":"hasrepeatedcharacters","link":"#hasrepeatedcharacters","children":[]},{"level":3,"title":"SplitLines()","slug":"splitlines","link":"#splitlines","children":[]},{"level":3,"title":"ToUpperAt(str, r)","slug":"toupperat-str-r","link":"#toupperat-str-r","children":[]},{"level":3,"title":"ToUpperAt(s)","slug":"toupperat-s","link":"#toupperat-s","children":[]},{"level":3,"title":"Reverse(input)","slug":"reverse-input","link":"#reverse-input","children":[]}]}],"relativePath":"extensions/string.md","lastUpdated":1673177468000}'),t={name:"extensions/string.md"},o=n("",88),l=[o];function r(p,c,i,d,h,y){return e(),a("div",null,l)}const F=s(t,[["render",r]]);export{u as __pageData,F as default}; diff --git a/docs/assets/get-started.md.73a3e687.js b/docs/assets/get-started.md.3bfc0231.js similarity index 99% rename from docs/assets/get-started.md.73a3e687.js rename to docs/assets/get-started.md.3bfc0231.js index 361a670..1304a51 100644 --- a/docs/assets/get-started.md.73a3e687.js +++ b/docs/assets/get-started.md.3bfc0231.js @@ -1,4 +1,4 @@ -import{_ as e,c as a,o as s,a as t}from"./app.411d0108.js";const m=JSON.parse('{"title":"Get Started","description":"","frontmatter":{},"headers":[{"level":2,"title":"Packages and modules","slug":"packages-and-modules","link":"#packages-and-modules","children":[]},{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[{"level":3,"title":"Platforms","slug":"platforms","link":"#platforms","children":[]},{"level":3,"title":"Frameworks","slug":"frameworks","link":"#frameworks","children":[]}]},{"level":2,"title":"Installation methods","slug":"installation-methods","link":"#installation-methods","children":[{"level":3,"title":".NET CLI","slug":"net-cli","link":"#net-cli","children":[]},{"level":3,"title":"Package Manager","slug":"package-manager","link":"#package-manager","children":[]},{"level":3,"title":"Package Reference","slug":"package-reference","link":"#package-reference","children":[]}]},{"level":2,"title":"Start coding","slug":"start-coding","link":"#start-coding","children":[]}],"relativePath":"get-started.md","lastUpdated":1667837430000}'),l={name:"get-started.md"},n=t(`

Get Started

Packages and modules

Before installing PeyrSharp, you may want to consider what features you will actually need to use in your project. Indeed, PeyrSharp is divided in multiple modules and packages.

If you think you need all the features of PeyrSharp, you can directly install the PeyrSharp NuGet package. However, you can also install the packages that you only need in your project. Here's a list of all the packages and their features:

PeyrSharp, the main package, that contains all of the followings:

PeyrSharp.Core, the basic methods and features of C#
  • Maths
  • Password
  • Guid
  • Converters
  • Internet
  • Crypt
PeyrSharp.Env, methods related to the file system and to the current execution environment.
  • FileSys
  • Logger
  • Update
  • System
PeyrSharp.Enums, all enumerations used by PeyrSharp
  • WindowsVersion
  • TimeUnits
  • SystemThemes
  • OperatingSystems
  • StorageUnits
  • ControlAlignment
  • PasswordPresets
  • PasswordStrength
PeyrSharp.Exceptions, all exceptions used by PeyrSharp
  • RGBInvalidValueException
  • HEXInvalidValueException
  • InvalidGuidLengthException
PeyrSharp.Extensions, extension methods, that extends basic types, such as string, int, double or arrays (T[]).
  • String
  • Int
  • Double
  • Array (T[])
PeyrSharp.UiHelpers, methods related to Windows Forms or to the Windows Presentation Framework (WPF).
  • WinForms
  • Screen
  • WPF

Compatibility

Platforms

Some modules of PeyrSharp are targeting features only available in specific operating systems. Thus, some packages aren't available on all platforms.

Package/PlatformWindowsmacOSLinux + others
Core
Env⚠️⚠️
Enums
Exceptions
Extensions
UiHelpers

Caption:

  • ✅ Full Support
  • ⚠️ Partial Support
  • ❌ Unsupported platform

Frameworks

PeyrSharp is available in the following frameworks

  • .NET 5
  • .NET 6
  • .NET 7 (soon)

INFO

.NET Framework and .NET Core are not targeted by PeyrSharp, since they are no longer supported.

Installation methods

PeyrShall is available on NuGet, you can install it by running the following command:

.NET CLI

You can add PeyrSharp to your project the .NET CLI.

powershell
dotnet add package PeyrSharp --version 1.0.0.2211
+import{_ as e,c as a,o as s,a as t}from"./app.14bef1c5.js";const m=JSON.parse('{"title":"Get Started","description":"","frontmatter":{},"headers":[{"level":2,"title":"Packages and modules","slug":"packages-and-modules","link":"#packages-and-modules","children":[]},{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[{"level":3,"title":"Platforms","slug":"platforms","link":"#platforms","children":[]},{"level":3,"title":"Frameworks","slug":"frameworks","link":"#frameworks","children":[]}]},{"level":2,"title":"Installation methods","slug":"installation-methods","link":"#installation-methods","children":[{"level":3,"title":".NET CLI","slug":"net-cli","link":"#net-cli","children":[]},{"level":3,"title":"Package Manager","slug":"package-manager","link":"#package-manager","children":[]},{"level":3,"title":"Package Reference","slug":"package-reference","link":"#package-reference","children":[]}]},{"level":2,"title":"Start coding","slug":"start-coding","link":"#start-coding","children":[]}],"relativePath":"get-started.md","lastUpdated":1667837430000}'),l={name:"get-started.md"},n=t(`

Get Started

Packages and modules

Before installing PeyrSharp, you may want to consider what features you will actually need to use in your project. Indeed, PeyrSharp is divided in multiple modules and packages.

If you think you need all the features of PeyrSharp, you can directly install the PeyrSharp NuGet package. However, you can also install the packages that you only need in your project. Here's a list of all the packages and their features:

PeyrSharp, the main package, that contains all of the followings:

PeyrSharp.Core, the basic methods and features of C#
  • Maths
  • Password
  • Guid
  • Converters
  • Internet
  • Crypt
PeyrSharp.Env, methods related to the file system and to the current execution environment.
  • FileSys
  • Logger
  • Update
  • System
PeyrSharp.Enums, all enumerations used by PeyrSharp
  • WindowsVersion
  • TimeUnits
  • SystemThemes
  • OperatingSystems
  • StorageUnits
  • ControlAlignment
  • PasswordPresets
  • PasswordStrength
PeyrSharp.Exceptions, all exceptions used by PeyrSharp
  • RGBInvalidValueException
  • HEXInvalidValueException
  • InvalidGuidLengthException
PeyrSharp.Extensions, extension methods, that extends basic types, such as string, int, double or arrays (T[]).
  • String
  • Int
  • Double
  • Array (T[])
PeyrSharp.UiHelpers, methods related to Windows Forms or to the Windows Presentation Framework (WPF).
  • WinForms
  • Screen
  • WPF

Compatibility

Platforms

Some modules of PeyrSharp are targeting features only available in specific operating systems. Thus, some packages aren't available on all platforms.

Package/PlatformWindowsmacOSLinux + others
Core
Env⚠️⚠️
Enums
Exceptions
Extensions
UiHelpers

Caption:

  • ✅ Full Support
  • ⚠️ Partial Support
  • ❌ Unsupported platform

Frameworks

PeyrSharp is available in the following frameworks

  • .NET 5
  • .NET 6
  • .NET 7 (soon)

INFO

.NET Framework and .NET Core are not targeted by PeyrSharp, since they are no longer supported.

Installation methods

PeyrShall is available on NuGet, you can install it by running the following command:

.NET CLI

You can add PeyrSharp to your project the .NET CLI.

powershell
dotnet add package PeyrSharp --version 1.0.0.2211
 

Package Manager

sh
NuGet\\Install-Package PeyrSharp -Version 1.0.0.2211
 

Package Reference

You can specify in your project file that it is dependent on PeyrSharp.

xml
<PackageReference Include="PeyrSharp" Version="1.0.0.2211" />
 

Start coding

To call methods and classes included in PeyrSharp, you will need to add the corresponding using directives in your code file.

c#
using PeyrSharp.Core;
diff --git a/docs/assets/get-started.md.73a3e687.lean.js b/docs/assets/get-started.md.3bfc0231.lean.js
similarity index 94%
rename from docs/assets/get-started.md.73a3e687.lean.js
rename to docs/assets/get-started.md.3bfc0231.lean.js
index 09649d1..f465374 100644
--- a/docs/assets/get-started.md.73a3e687.lean.js
+++ b/docs/assets/get-started.md.3bfc0231.lean.js
@@ -1 +1 @@
-import{_ as e,c as a,o as s,a as t}from"./app.411d0108.js";const m=JSON.parse('{"title":"Get Started","description":"","frontmatter":{},"headers":[{"level":2,"title":"Packages and modules","slug":"packages-and-modules","link":"#packages-and-modules","children":[]},{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[{"level":3,"title":"Platforms","slug":"platforms","link":"#platforms","children":[]},{"level":3,"title":"Frameworks","slug":"frameworks","link":"#frameworks","children":[]}]},{"level":2,"title":"Installation methods","slug":"installation-methods","link":"#installation-methods","children":[{"level":3,"title":".NET CLI","slug":"net-cli","link":"#net-cli","children":[]},{"level":3,"title":"Package Manager","slug":"package-manager","link":"#package-manager","children":[]},{"level":3,"title":"Package Reference","slug":"package-reference","link":"#package-reference","children":[]}]},{"level":2,"title":"Start coding","slug":"start-coding","link":"#start-coding","children":[]}],"relativePath":"get-started.md","lastUpdated":1667837430000}'),l={name:"get-started.md"},n=t("",35),r=[n];function o(i,p,d,c,h,u){return s(),a("div",null,r)}const g=e(l,[["render",o]]);export{m as __pageData,g as default};
+import{_ as e,c as a,o as s,a as t}from"./app.14bef1c5.js";const m=JSON.parse('{"title":"Get Started","description":"","frontmatter":{},"headers":[{"level":2,"title":"Packages and modules","slug":"packages-and-modules","link":"#packages-and-modules","children":[]},{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[{"level":3,"title":"Platforms","slug":"platforms","link":"#platforms","children":[]},{"level":3,"title":"Frameworks","slug":"frameworks","link":"#frameworks","children":[]}]},{"level":2,"title":"Installation methods","slug":"installation-methods","link":"#installation-methods","children":[{"level":3,"title":".NET CLI","slug":"net-cli","link":"#net-cli","children":[]},{"level":3,"title":"Package Manager","slug":"package-manager","link":"#package-manager","children":[]},{"level":3,"title":"Package Reference","slug":"package-reference","link":"#package-reference","children":[]}]},{"level":2,"title":"Start coding","slug":"start-coding","link":"#start-coding","children":[]}],"relativePath":"get-started.md","lastUpdated":1667837430000}'),l={name:"get-started.md"},n=t("",35),r=[n];function o(i,p,d,c,h,u){return s(),a("div",null,r)}const g=e(l,[["render",o]]);export{m as __pageData,g as default};
diff --git a/docs/assets/index.md.383dec15.js b/docs/assets/index.md.46db3f62.js
similarity index 94%
rename from docs/assets/index.md.383dec15.js
rename to docs/assets/index.md.46db3f62.js
index f4d08d7..7ae546c 100644
--- a/docs/assets/index.md.383dec15.js
+++ b/docs/assets/index.md.46db3f62.js
@@ -1 +1 @@
-import{_ as e,c as t,o as a}from"./app.411d0108.js";const m=JSON.parse(`{"title":"PeyrSharp","titleTemplate":"A C# library designed to make developers' job easier.","description":"","frontmatter":{"layout":"home","title":"PeyrSharp","titleTemplate":"A C# library designed to make developers' job easier.","hero":{"name":"PeyrSharp","text":"Made for you.","tagline":"A C# library designed to make developers' job easier.","image":{"src":"/logo.png","alt":"PeyrSharp"},"actions":[{"theme":"brand","text":"Get Started","link":"/get-started"},{"theme":"alt","text":"Reference","link":"/reference"}]},"features":[{"title":"Easy-to-use","details":"Using PeyrSharp in a project is very easy and intuitive.","icon":"✅"},{"title":".NET Powered","details":"PeyrSharp is built using C# and .NET. It's available for projects targeting .NET 5 and higher.","icon":"🚀"},{"title":"Cross-Platform","details":"PeyrSharp is compatible with every operating systems that .NET supports.","icon":"🖥️"}]},"headers":[],"relativePath":"index.md","lastUpdated":1665305917000}`),r={name:"index.md"};function i(s,o,n,l,d,p){return a(),t("div")}const h=e(r,[["render",i]]);export{m as __pageData,h as default};
+import{_ as e,c as t,o as a}from"./app.14bef1c5.js";const m=JSON.parse(`{"title":"PeyrSharp","titleTemplate":"A C# library designed to make developers' job easier.","description":"","frontmatter":{"layout":"home","title":"PeyrSharp","titleTemplate":"A C# library designed to make developers' job easier.","hero":{"name":"PeyrSharp","text":"Made for you.","tagline":"A C# library designed to make developers' job easier.","image":{"src":"/logo.png","alt":"PeyrSharp"},"actions":[{"theme":"brand","text":"Get Started","link":"/get-started"},{"theme":"alt","text":"Reference","link":"/reference"}]},"features":[{"title":"Easy-to-use","details":"Using PeyrSharp in a project is very easy and intuitive.","icon":"✅"},{"title":".NET Powered","details":"PeyrSharp is built using C# and .NET. It's available for projects targeting .NET 5 and higher.","icon":"🚀"},{"title":"Cross-Platform","details":"PeyrSharp is compatible with every operating systems that .NET supports.","icon":"🖥️"}]},"headers":[],"relativePath":"index.md","lastUpdated":1665305917000}`),r={name:"index.md"};function i(s,o,n,l,d,p){return a(),t("div")}const h=e(r,[["render",i]]);export{m as __pageData,h as default};
diff --git a/docs/assets/index.md.383dec15.lean.js b/docs/assets/index.md.46db3f62.lean.js
similarity index 94%
rename from docs/assets/index.md.383dec15.lean.js
rename to docs/assets/index.md.46db3f62.lean.js
index f4d08d7..7ae546c 100644
--- a/docs/assets/index.md.383dec15.lean.js
+++ b/docs/assets/index.md.46db3f62.lean.js
@@ -1 +1 @@
-import{_ as e,c as t,o as a}from"./app.411d0108.js";const m=JSON.parse(`{"title":"PeyrSharp","titleTemplate":"A C# library designed to make developers' job easier.","description":"","frontmatter":{"layout":"home","title":"PeyrSharp","titleTemplate":"A C# library designed to make developers' job easier.","hero":{"name":"PeyrSharp","text":"Made for you.","tagline":"A C# library designed to make developers' job easier.","image":{"src":"/logo.png","alt":"PeyrSharp"},"actions":[{"theme":"brand","text":"Get Started","link":"/get-started"},{"theme":"alt","text":"Reference","link":"/reference"}]},"features":[{"title":"Easy-to-use","details":"Using PeyrSharp in a project is very easy and intuitive.","icon":"✅"},{"title":".NET Powered","details":"PeyrSharp is built using C# and .NET. It's available for projects targeting .NET 5 and higher.","icon":"🚀"},{"title":"Cross-Platform","details":"PeyrSharp is compatible with every operating systems that .NET supports.","icon":"🖥️"}]},"headers":[],"relativePath":"index.md","lastUpdated":1665305917000}`),r={name:"index.md"};function i(s,o,n,l,d,p){return a(),t("div")}const h=e(r,[["render",i]]);export{m as __pageData,h as default};
+import{_ as e,c as t,o as a}from"./app.14bef1c5.js";const m=JSON.parse(`{"title":"PeyrSharp","titleTemplate":"A C# library designed to make developers' job easier.","description":"","frontmatter":{"layout":"home","title":"PeyrSharp","titleTemplate":"A C# library designed to make developers' job easier.","hero":{"name":"PeyrSharp","text":"Made for you.","tagline":"A C# library designed to make developers' job easier.","image":{"src":"/logo.png","alt":"PeyrSharp"},"actions":[{"theme":"brand","text":"Get Started","link":"/get-started"},{"theme":"alt","text":"Reference","link":"/reference"}]},"features":[{"title":"Easy-to-use","details":"Using PeyrSharp in a project is very easy and intuitive.","icon":"✅"},{"title":".NET Powered","details":"PeyrSharp is built using C# and .NET. It's available for projects targeting .NET 5 and higher.","icon":"🚀"},{"title":"Cross-Platform","details":"PeyrSharp is compatible with every operating systems that .NET supports.","icon":"🖥️"}]},"headers":[],"relativePath":"index.md","lastUpdated":1665305917000}`),r={name:"index.md"};function i(s,o,n,l,d,p){return a(),t("div")}const h=e(r,[["render",i]]);export{m as __pageData,h as default};
diff --git a/docs/assets/intro.md.8a85d646.js b/docs/assets/intro.md.ce085772.js
similarity index 98%
rename from docs/assets/intro.md.8a85d646.js
rename to docs/assets/intro.md.ce085772.js
index 0c2b599..1c7f0ca 100644
--- a/docs/assets/intro.md.8a85d646.js
+++ b/docs/assets/intro.md.ce085772.js
@@ -1 +1 @@
-import{_ as e,c as t,o as r,a}from"./app.411d0108.js";const y=JSON.parse('{"title":"Introduction","description":"","frontmatter":{},"headers":[{"level":2,"title":"The roots","slug":"the-roots","link":"#the-roots","children":[]},{"level":2,"title":"Our next product","slug":"our-next-product","link":"#our-next-product","children":[]},{"level":2,"title":"Platforms","slug":"platforms","link":"#platforms","children":[]},{"level":2,"title":"Frameworks","slug":"frameworks","link":"#frameworks","children":[]}],"relativePath":"intro.md","lastUpdated":1665225647000}'),i={name:"intro.md"},s=a('

Introduction

The roots

In March 2020, we published LeoCorpLibrary, which was also a C# library that contains useful methods. When we started the development of it, we didn't know where the project will go yet. Over the releases, we've added more and more methods and new features. However, the meaning and the purpose of LeoCorpLibrary was becoming less clear for everyone; it was becoming a mess. This is why we decided to rather not release v5, but instead, we decided to make a brand new .NET Library, PeyrSharp.

Our next product

PeyrSharp is a C# written library designed to make developers' life easier. We've all written code that we wish we hadn't. PeyrSharp is here to respond to this need; by implementing useful methods in various domains: Mathematics, Web/HTTP requests, unit converters, extensions, environment-related operations, and more!

Modules

PeyrSharp is divided in multiple packages:

PeyrSharp, the main package, that contains all of the followings:

PeyrSharp.Core, the basic methods and features of C#
  • Maths
  • Password
  • Guid
  • Converters
  • Internet
  • Crypt
PeyrSharp.Env, methods related to the file system and to the current execution environment.
  • FileSys
  • Logger
  • Update
  • System
PeyrSharp.Enums, all enumerations used by PeyrSharp
  • WindowsVersion
  • TimeUnits
  • SystemThemes
  • OperatingSystems
  • StorageUnits
  • ControlAlignment
  • PasswordPresets
  • PasswordStrength
PeyrSharp.Exceptions, all exceptions used by PeyrSharp
  • RGBInvalidValueException
  • HEXInvalidValueException
  • InvalidGuidLengthException
PeyrSharp.Extensions, extension methods, that extends basic types, such as string, int, double or arrays (T[]).
  • String
  • Int
  • Double
  • Array (T[])
PeyrSharp.UiHelpers, methods related to Windows Forms or to the Windows Presentation Framework (WPF).
  • WinForms
  • Screen
  • WPF

Compatibility

Platforms

Some modules of PeyrSharp are targeting features only available in specific operating systems. Thus, some packages aren't available on all platform.

Package/PlatformWindowsmacOSLinux + others
Core
Env⚠️⚠️
Enums
Exceptions
Extensions
UiHelpers

Caption:

  • ✅ Full Support
  • ⚠️ Partial Support
  • ❌ Unsupported platform

Frameworks

PeyrSharp is available in the following frameworks

  • .NET 5
  • .NET 6
  • .NET 7 (soon)

NOTE

.NET Framework and .NET Core are not targeted by PeyrSharp, since they are no longer supported.

',24),o=[s];function l(d,n,h,c,u,m){return r(),t("div",null,o)}const f=e(i,[["render",l]]);export{y as __pageData,f as default}; +import{_ as e,c as t,o as r,a}from"./app.14bef1c5.js";const y=JSON.parse('{"title":"Introduction","description":"","frontmatter":{},"headers":[{"level":2,"title":"The roots","slug":"the-roots","link":"#the-roots","children":[]},{"level":2,"title":"Our next product","slug":"our-next-product","link":"#our-next-product","children":[]},{"level":2,"title":"Platforms","slug":"platforms","link":"#platforms","children":[]},{"level":2,"title":"Frameworks","slug":"frameworks","link":"#frameworks","children":[]}],"relativePath":"intro.md","lastUpdated":1665225647000}'),i={name:"intro.md"},s=a('

Introduction

The roots

In March 2020, we published LeoCorpLibrary, which was also a C# library that contains useful methods. When we started the development of it, we didn't know where the project will go yet. Over the releases, we've added more and more methods and new features. However, the meaning and the purpose of LeoCorpLibrary was becoming less clear for everyone; it was becoming a mess. This is why we decided to rather not release v5, but instead, we decided to make a brand new .NET Library, PeyrSharp.

Our next product

PeyrSharp is a C# written library designed to make developers' life easier. We've all written code that we wish we hadn't. PeyrSharp is here to respond to this need; by implementing useful methods in various domains: Mathematics, Web/HTTP requests, unit converters, extensions, environment-related operations, and more!

Modules

PeyrSharp is divided in multiple packages:

PeyrSharp, the main package, that contains all of the followings:

PeyrSharp.Core, the basic methods and features of C#
  • Maths
  • Password
  • Guid
  • Converters
  • Internet
  • Crypt
PeyrSharp.Env, methods related to the file system and to the current execution environment.
  • FileSys
  • Logger
  • Update
  • System
PeyrSharp.Enums, all enumerations used by PeyrSharp
  • WindowsVersion
  • TimeUnits
  • SystemThemes
  • OperatingSystems
  • StorageUnits
  • ControlAlignment
  • PasswordPresets
  • PasswordStrength
PeyrSharp.Exceptions, all exceptions used by PeyrSharp
  • RGBInvalidValueException
  • HEXInvalidValueException
  • InvalidGuidLengthException
PeyrSharp.Extensions, extension methods, that extends basic types, such as string, int, double or arrays (T[]).
  • String
  • Int
  • Double
  • Array (T[])
PeyrSharp.UiHelpers, methods related to Windows Forms or to the Windows Presentation Framework (WPF).
  • WinForms
  • Screen
  • WPF

Compatibility

Platforms

Some modules of PeyrSharp are targeting features only available in specific operating systems. Thus, some packages aren't available on all platform.

Package/PlatformWindowsmacOSLinux + others
Core
Env⚠️⚠️
Enums
Exceptions
Extensions
UiHelpers

Caption:

  • ✅ Full Support
  • ⚠️ Partial Support
  • ❌ Unsupported platform

Frameworks

PeyrSharp is available in the following frameworks

  • .NET 5
  • .NET 6
  • .NET 7 (soon)

NOTE

.NET Framework and .NET Core are not targeted by PeyrSharp, since they are no longer supported.

',24),o=[s];function l(d,n,h,c,u,m){return r(),t("div",null,o)}const f=e(i,[["render",l]]);export{y as __pageData,f as default}; diff --git a/docs/assets/intro.md.8a85d646.lean.js b/docs/assets/intro.md.ce085772.lean.js similarity index 91% rename from docs/assets/intro.md.8a85d646.lean.js rename to docs/assets/intro.md.ce085772.lean.js index 41eb95d..e3e722d 100644 --- a/docs/assets/intro.md.8a85d646.lean.js +++ b/docs/assets/intro.md.ce085772.lean.js @@ -1 +1 @@ -import{_ as e,c as t,o as r,a}from"./app.411d0108.js";const y=JSON.parse('{"title":"Introduction","description":"","frontmatter":{},"headers":[{"level":2,"title":"The roots","slug":"the-roots","link":"#the-roots","children":[]},{"level":2,"title":"Our next product","slug":"our-next-product","link":"#our-next-product","children":[]},{"level":2,"title":"Platforms","slug":"platforms","link":"#platforms","children":[]},{"level":2,"title":"Frameworks","slug":"frameworks","link":"#frameworks","children":[]}],"relativePath":"intro.md","lastUpdated":1665225647000}'),i={name:"intro.md"},s=a("",24),o=[s];function l(d,n,h,c,u,m){return r(),t("div",null,o)}const f=e(i,[["render",l]]);export{y as __pageData,f as default}; +import{_ as e,c as t,o as r,a}from"./app.14bef1c5.js";const y=JSON.parse('{"title":"Introduction","description":"","frontmatter":{},"headers":[{"level":2,"title":"The roots","slug":"the-roots","link":"#the-roots","children":[]},{"level":2,"title":"Our next product","slug":"our-next-product","link":"#our-next-product","children":[]},{"level":2,"title":"Platforms","slug":"platforms","link":"#platforms","children":[]},{"level":2,"title":"Frameworks","slug":"frameworks","link":"#frameworks","children":[]}],"relativePath":"intro.md","lastUpdated":1665225647000}'),i={name:"intro.md"},s=a("",24),o=[s];function l(d,n,h,c,u,m){return r(),t("div",null,o)}const f=e(i,[["render",l]]);export{y as __pageData,f as default}; diff --git a/docs/assets/reference.md.4b442623.js b/docs/assets/reference.md.4b442623.js new file mode 100644 index 0000000..e781140 --- /dev/null +++ b/docs/assets/reference.md.4b442623.js @@ -0,0 +1 @@ +import{_ as e,c as r,o as a,a as l}from"./app.14bef1c5.js";const u=JSON.parse('{"title":"Reference","description":"","frontmatter":{},"headers":[{"level":2,"title":"PeyrSharp.Core","slug":"peyrsharp-core","link":"#peyrsharp-core","children":[]},{"level":2,"title":"PeyrSharp.Env","slug":"peyrsharp-env","link":"#peyrsharp-env","children":[]},{"level":2,"title":"PeyrSharp.Enums","slug":"peyrsharp-enums","link":"#peyrsharp-enums","children":[]},{"level":2,"title":"PeyrSharp.Exceptions","slug":"peyrsharp-exceptions","link":"#peyrsharp-exceptions","children":[]},{"level":2,"title":"PeyrSharp.Extensions","slug":"peyrsharp-extensions","link":"#peyrsharp-extensions","children":[]},{"level":2,"title":"PeyrSharp.UiHelpers","slug":"peyrsharp-uihelpers","link":"#peyrsharp-uihelpers","children":[]}],"relativePath":"reference.md","lastUpdated":1673177457000}'),i={name:"reference.md"},h=l('

Reference

The reference of PeyrSharp.

PeyrSharp.Core

PeyrSharp.Env

PeyrSharp.Enums

PeyrSharp.Exceptions

PeyrSharp.Extensions

PeyrSharp.UiHelpers

',14),t=[h];function s(n,o,c,m,p,f){return a(),r("div",null,t)}const y=e(i,[["render",s]]);export{u as __pageData,y as default}; diff --git a/docs/assets/reference.md.5a9bbb16.lean.js b/docs/assets/reference.md.4b442623.lean.js similarity index 75% rename from docs/assets/reference.md.5a9bbb16.lean.js rename to docs/assets/reference.md.4b442623.lean.js index 4c84676..e2a69a1 100644 --- a/docs/assets/reference.md.5a9bbb16.lean.js +++ b/docs/assets/reference.md.4b442623.lean.js @@ -1 +1 @@ -import{_ as e,c as r,o as a,a as l}from"./app.411d0108.js";const u=JSON.parse('{"title":"Reference","description":"","frontmatter":{},"headers":[{"level":2,"title":"PeyrSharp.Core","slug":"peyrsharp-core","link":"#peyrsharp-core","children":[]},{"level":2,"title":"PeyrSharp.Env","slug":"peyrsharp-env","link":"#peyrsharp-env","children":[]},{"level":2,"title":"PeyrSharp.Enums","slug":"peyrsharp-enums","link":"#peyrsharp-enums","children":[]},{"level":2,"title":"PeyrSharp.Exceptions","slug":"peyrsharp-exceptions","link":"#peyrsharp-exceptions","children":[]},{"level":2,"title":"PeyrSharp.Extensions","slug":"peyrsharp-extensions","link":"#peyrsharp-extensions","children":[]},{"level":2,"title":"PeyrSharp.UiHelpers","slug":"peyrsharp-uihelpers","link":"#peyrsharp-uihelpers","children":[]}],"relativePath":"reference.md","lastUpdated":1673177457000}'),h={name:"reference.md"},i=l("",14),t=[i];function s(n,o,c,m,p,f){return a(),r("div",null,t)}const y=e(h,[["render",s]]);export{u as __pageData,y as default}; +import{_ as e,c as r,o as a,a as l}from"./app.14bef1c5.js";const u=JSON.parse('{"title":"Reference","description":"","frontmatter":{},"headers":[{"level":2,"title":"PeyrSharp.Core","slug":"peyrsharp-core","link":"#peyrsharp-core","children":[]},{"level":2,"title":"PeyrSharp.Env","slug":"peyrsharp-env","link":"#peyrsharp-env","children":[]},{"level":2,"title":"PeyrSharp.Enums","slug":"peyrsharp-enums","link":"#peyrsharp-enums","children":[]},{"level":2,"title":"PeyrSharp.Exceptions","slug":"peyrsharp-exceptions","link":"#peyrsharp-exceptions","children":[]},{"level":2,"title":"PeyrSharp.Extensions","slug":"peyrsharp-extensions","link":"#peyrsharp-extensions","children":[]},{"level":2,"title":"PeyrSharp.UiHelpers","slug":"peyrsharp-uihelpers","link":"#peyrsharp-uihelpers","children":[]}],"relativePath":"reference.md","lastUpdated":1673177457000}'),i={name:"reference.md"},h=l("",14),t=[h];function s(n,o,c,m,p,f){return a(),r("div",null,t)}const y=e(i,[["render",s]]);export{u as __pageData,y as default}; diff --git a/docs/assets/reference.md.5a9bbb16.js b/docs/assets/reference.md.5a9bbb16.js deleted file mode 100644 index 7f93ccc..0000000 --- a/docs/assets/reference.md.5a9bbb16.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as e,c as r,o as a,a as l}from"./app.411d0108.js";const u=JSON.parse('{"title":"Reference","description":"","frontmatter":{},"headers":[{"level":2,"title":"PeyrSharp.Core","slug":"peyrsharp-core","link":"#peyrsharp-core","children":[]},{"level":2,"title":"PeyrSharp.Env","slug":"peyrsharp-env","link":"#peyrsharp-env","children":[]},{"level":2,"title":"PeyrSharp.Enums","slug":"peyrsharp-enums","link":"#peyrsharp-enums","children":[]},{"level":2,"title":"PeyrSharp.Exceptions","slug":"peyrsharp-exceptions","link":"#peyrsharp-exceptions","children":[]},{"level":2,"title":"PeyrSharp.Extensions","slug":"peyrsharp-extensions","link":"#peyrsharp-extensions","children":[]},{"level":2,"title":"PeyrSharp.UiHelpers","slug":"peyrsharp-uihelpers","link":"#peyrsharp-uihelpers","children":[]}],"relativePath":"reference.md","lastUpdated":1673177457000}'),h={name:"reference.md"},i=l('

Reference

The reference of PeyrSharp.

PeyrSharp.Core

PeyrSharp.Env

PeyrSharp.Enums

PeyrSharp.Exceptions

PeyrSharp.Extensions

PeyrSharp.UiHelpers

',14),t=[i];function s(n,o,c,m,p,f){return a(),r("div",null,t)}const y=e(h,[["render",s]]);export{u as __pageData,y as default}; diff --git a/docs/assets/ui-helpers.md.7e42d982.js b/docs/assets/ui-helpers.md.b6c56fb7.js similarity index 96% rename from docs/assets/ui-helpers.md.7e42d982.js rename to docs/assets/ui-helpers.md.b6c56fb7.js index 588d64f..248cda7 100644 --- a/docs/assets/ui-helpers.md.7e42d982.js +++ b/docs/assets/ui-helpers.md.b6c56fb7.js @@ -1 +1 @@ -import{_ as e,c as t,o as a,a as r}from"./app.411d0108.js";const u=JSON.parse('{"title":"UiHelpers","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Classes","slug":"classes","link":"#classes","children":[]}],"relativePath":"ui-helpers.md","lastUpdated":1673177457000}'),s={name:"ui-helpers.md"},i=r('

UiHelpers

This page is about the exceptions available in PeyrSharp.UiHelpers. They are grouped by category.

Compatibility

UiHelpers are part of the PeyrSharp.UiHelpers module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
UiHelpers
Framework.NET 5.NET 6.NET 7
UiHelpers

Classes

',7),l=[i];function d(o,h,n,c,p,_){return a(),t("div",null,l)}const f=e(s,[["render",d]]);export{u as __pageData,f as default}; +import{_ as e,c as t,o as a,a as r}from"./app.14bef1c5.js";const u=JSON.parse('{"title":"UiHelpers","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Classes","slug":"classes","link":"#classes","children":[]}],"relativePath":"ui-helpers.md","lastUpdated":1673177457000}'),s={name:"ui-helpers.md"},i=r('

UiHelpers

This page is about the exceptions available in PeyrSharp.UiHelpers. They are grouped by category.

Compatibility

UiHelpers are part of the PeyrSharp.UiHelpers module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
UiHelpers
Framework.NET 5.NET 6.NET 7
UiHelpers

Classes

',7),l=[i];function d(o,h,n,c,p,_){return a(),t("div",null,l)}const f=e(s,[["render",d]]);export{u as __pageData,f as default}; diff --git a/docs/assets/ui-helpers.md.7e42d982.lean.js b/docs/assets/ui-helpers.md.b6c56fb7.lean.js similarity index 88% rename from docs/assets/ui-helpers.md.7e42d982.lean.js rename to docs/assets/ui-helpers.md.b6c56fb7.lean.js index 15850d8..6ec210c 100644 --- a/docs/assets/ui-helpers.md.7e42d982.lean.js +++ b/docs/assets/ui-helpers.md.b6c56fb7.lean.js @@ -1 +1 @@ -import{_ as e,c as t,o as a,a as r}from"./app.411d0108.js";const u=JSON.parse('{"title":"UiHelpers","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Classes","slug":"classes","link":"#classes","children":[]}],"relativePath":"ui-helpers.md","lastUpdated":1673177457000}'),s={name:"ui-helpers.md"},i=r("",7),l=[i];function d(o,h,n,c,p,_){return a(),t("div",null,l)}const f=e(s,[["render",d]]);export{u as __pageData,f as default}; +import{_ as e,c as t,o as a,a as r}from"./app.14bef1c5.js";const u=JSON.parse('{"title":"UiHelpers","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Classes","slug":"classes","link":"#classes","children":[]}],"relativePath":"ui-helpers.md","lastUpdated":1673177457000}'),s={name:"ui-helpers.md"},i=r("",7),l=[i];function d(o,h,n,c,p,_){return a(),t("div",null,l)}const f=e(s,[["render",d]]);export{u as __pageData,f as default}; diff --git a/docs/assets/ui-helpers_screen.md.c0437561.js b/docs/assets/ui-helpers_screen.md.c61eda88.js similarity index 99% rename from docs/assets/ui-helpers_screen.md.c0437561.js rename to docs/assets/ui-helpers_screen.md.c61eda88.js index ec73d69..74469a7 100644 --- a/docs/assets/ui-helpers_screen.md.c0437561.js +++ b/docs/assets/ui-helpers_screen.md.c61eda88.js @@ -1,4 +1,4 @@ -import{_ as s,c as a,o as n,a as e}from"./app.411d0108.js";const C=JSON.parse('{"title":"Screen","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"GetDpi(form)","slug":"getdpi-form","link":"#getdpi-form","children":[]},{"level":3,"title":"GetDpi(window)","slug":"getdpi-window","link":"#getdpi-window","children":[]},{"level":3,"title":"GetScreenScaling(form)","slug":"getscreenscaling-form","link":"#getscreenscaling-form","children":[]},{"level":3,"title":"GetScreenScaling(window)","slug":"getscreenscaling-window","link":"#getscreenscaling-window","children":[]}]}],"relativePath":"ui-helpers/screen.md","lastUpdated":1673177478000}'),l={name:"ui-helpers/screen.md"},o=e(`

Screen

This page is about the ScreenHelpers class available in PeyrSharp.UiHelpers. This page is about all of its methods.

Compatibility

ScreenHelpers are part of the PeyrSharp.UiHelpers module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
UiHelpers
Framework.NET 5.NET 6.NET 7
UiHelpers

Methods

GetDpi(form)

Definition

Gets the DPI of the screen where the Windows Form is located. It returns a double value.

Arguments

TypeNameMeaning
FormformThe form to get the DPI of.

Usage

c#
using PeyrSharp.UiHelpers;
+import{_ as s,c as a,o as n,a as e}from"./app.14bef1c5.js";const C=JSON.parse('{"title":"Screen","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"GetDpi(form)","slug":"getdpi-form","link":"#getdpi-form","children":[]},{"level":3,"title":"GetDpi(window)","slug":"getdpi-window","link":"#getdpi-window","children":[]},{"level":3,"title":"GetScreenScaling(form)","slug":"getscreenscaling-form","link":"#getscreenscaling-form","children":[]},{"level":3,"title":"GetScreenScaling(window)","slug":"getscreenscaling-window","link":"#getscreenscaling-window","children":[]}]}],"relativePath":"ui-helpers/screen.md","lastUpdated":1673177478000}'),l={name:"ui-helpers/screen.md"},o=e(`

Screen

This page is about the ScreenHelpers class available in PeyrSharp.UiHelpers. This page is about all of its methods.

Compatibility

ScreenHelpers are part of the PeyrSharp.UiHelpers module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
UiHelpers
Framework.NET 5.NET 6.NET 7
UiHelpers

Methods

GetDpi(form)

Definition

Gets the DPI of the screen where the Windows Form is located. It returns a double value.

Arguments

TypeNameMeaning
FormformThe form to get the DPI of.

Usage

c#
using PeyrSharp.UiHelpers;
 using System;
 using System.Windows.Forms;
 
diff --git a/docs/assets/ui-helpers_screen.md.c0437561.lean.js b/docs/assets/ui-helpers_screen.md.c61eda88.lean.js
similarity index 93%
rename from docs/assets/ui-helpers_screen.md.c0437561.lean.js
rename to docs/assets/ui-helpers_screen.md.c61eda88.lean.js
index 68fe229..312cd2e 100644
--- a/docs/assets/ui-helpers_screen.md.c0437561.lean.js
+++ b/docs/assets/ui-helpers_screen.md.c61eda88.lean.js
@@ -1 +1 @@
-import{_ as s,c as a,o as n,a as e}from"./app.411d0108.js";const C=JSON.parse('{"title":"Screen","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"GetDpi(form)","slug":"getdpi-form","link":"#getdpi-form","children":[]},{"level":3,"title":"GetDpi(window)","slug":"getdpi-window","link":"#getdpi-window","children":[]},{"level":3,"title":"GetScreenScaling(form)","slug":"getscreenscaling-form","link":"#getscreenscaling-form","children":[]},{"level":3,"title":"GetScreenScaling(window)","slug":"getscreenscaling-window","link":"#getscreenscaling-window","children":[]}]}],"relativePath":"ui-helpers/screen.md","lastUpdated":1673177478000}'),l={name:"ui-helpers/screen.md"},o=e("",38),t=[o];function p(r,c,i,d,y,h){return n(),a("div",null,t)}const D=s(l,[["render",p]]);export{C as __pageData,D as default};
+import{_ as s,c as a,o as n,a as e}from"./app.14bef1c5.js";const C=JSON.parse('{"title":"Screen","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"GetDpi(form)","slug":"getdpi-form","link":"#getdpi-form","children":[]},{"level":3,"title":"GetDpi(window)","slug":"getdpi-window","link":"#getdpi-window","children":[]},{"level":3,"title":"GetScreenScaling(form)","slug":"getscreenscaling-form","link":"#getscreenscaling-form","children":[]},{"level":3,"title":"GetScreenScaling(window)","slug":"getscreenscaling-window","link":"#getscreenscaling-window","children":[]}]}],"relativePath":"ui-helpers/screen.md","lastUpdated":1673177478000}'),l={name:"ui-helpers/screen.md"},o=e("",38),t=[o];function p(r,c,i,d,y,h){return n(),a("div",null,t)}const D=s(l,[["render",p]]);export{C as __pageData,D as default};
diff --git a/docs/assets/ui-helpers_winforms.md.95067b73.js b/docs/assets/ui-helpers_winforms.md.eb41587d.js
similarity index 99%
rename from docs/assets/ui-helpers_winforms.md.95067b73.js
rename to docs/assets/ui-helpers_winforms.md.eb41587d.js
index 7553d8b..c38ba4d 100644
--- a/docs/assets/ui-helpers_winforms.md.95067b73.js
+++ b/docs/assets/ui-helpers_winforms.md.eb41587d.js
@@ -1,4 +1,4 @@
-import{_ as s,c as n,o as a,a as o}from"./app.411d0108.js";const h=JSON.parse('{"title":"WinForms","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"CenterControl(control, form)","slug":"centercontrol-control-form","link":"#centercontrol-control-form","children":[]},{"level":3,"title":"CenterControl(control, form, controlAlignment)","slug":"centercontrol-control-form-controlalignment","link":"#centercontrol-control-form-controlalignment","children":[]},{"level":3,"title":"CenterForm(form)","slug":"centerform-form","link":"#centerform-form","children":[]}]}],"relativePath":"ui-helpers/winforms.md","lastUpdated":1673177478000}'),e={name:"ui-helpers/winforms.md"},l=o(`

WinForms

This page is about the WinFormsHelpers class available in PeyrSharp.UiHelpers. This page is about all of its methods.

Compatibility

WinFormsHelpers are part of the PeyrSharp.UiHelpers module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
UiHelpers
Framework.NET 5.NET 6.NET 7
UiHelpers

Methods

CenterControl(control, form)

Definition

Centers horizontally and vertically a Control on a Form.

Arguments

TypeNameMeaning
ControlcontrolThe control to center.
FormformThe form where the control needs to be centered.

Usage

c#
using PeyrSharp.UiHelpers;
+import{_ as s,c as n,o as a,a as o}from"./app.14bef1c5.js";const h=JSON.parse('{"title":"WinForms","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"CenterControl(control, form)","slug":"centercontrol-control-form","link":"#centercontrol-control-form","children":[]},{"level":3,"title":"CenterControl(control, form, controlAlignment)","slug":"centercontrol-control-form-controlalignment","link":"#centercontrol-control-form-controlalignment","children":[]},{"level":3,"title":"CenterForm(form)","slug":"centerform-form","link":"#centerform-form","children":[]}]}],"relativePath":"ui-helpers/winforms.md","lastUpdated":1673177478000}'),e={name:"ui-helpers/winforms.md"},l=o(`

WinForms

This page is about the WinFormsHelpers class available in PeyrSharp.UiHelpers. This page is about all of its methods.

Compatibility

WinFormsHelpers are part of the PeyrSharp.UiHelpers module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
UiHelpers
Framework.NET 5.NET 6.NET 7
UiHelpers

Methods

CenterControl(control, form)

Definition

Centers horizontally and vertically a Control on a Form.

Arguments

TypeNameMeaning
ControlcontrolThe control to center.
FormformThe form where the control needs to be centered.

Usage

c#
using PeyrSharp.UiHelpers;
 using System;
 using System.Windows.Forms;
 
diff --git a/docs/assets/ui-helpers_winforms.md.95067b73.lean.js b/docs/assets/ui-helpers_winforms.md.eb41587d.lean.js
similarity index 93%
rename from docs/assets/ui-helpers_winforms.md.95067b73.lean.js
rename to docs/assets/ui-helpers_winforms.md.eb41587d.lean.js
index bcf583d..d757020 100644
--- a/docs/assets/ui-helpers_winforms.md.95067b73.lean.js
+++ b/docs/assets/ui-helpers_winforms.md.eb41587d.lean.js
@@ -1 +1 @@
-import{_ as s,c as n,o as a,a as o}from"./app.411d0108.js";const h=JSON.parse('{"title":"WinForms","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"CenterControl(control, form)","slug":"centercontrol-control-form","link":"#centercontrol-control-form","children":[]},{"level":3,"title":"CenterControl(control, form, controlAlignment)","slug":"centercontrol-control-form-controlalignment","link":"#centercontrol-control-form-controlalignment","children":[]},{"level":3,"title":"CenterForm(form)","slug":"centerform-form","link":"#centerform-form","children":[]}]}],"relativePath":"ui-helpers/winforms.md","lastUpdated":1673177478000}'),e={name:"ui-helpers/winforms.md"},l=o("",27),t=[l];function p(r,c,i,d,C,y){return a(),n("div",null,t)}const D=s(e,[["render",p]]);export{h as __pageData,D as default};
+import{_ as s,c as n,o as a,a as o}from"./app.14bef1c5.js";const h=JSON.parse('{"title":"WinForms","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"CenterControl(control, form)","slug":"centercontrol-control-form","link":"#centercontrol-control-form","children":[]},{"level":3,"title":"CenterControl(control, form, controlAlignment)","slug":"centercontrol-control-form-controlalignment","link":"#centercontrol-control-form-controlalignment","children":[]},{"level":3,"title":"CenterForm(form)","slug":"centerform-form","link":"#centerform-form","children":[]}]}],"relativePath":"ui-helpers/winforms.md","lastUpdated":1673177478000}'),e={name:"ui-helpers/winforms.md"},l=o("",27),t=[l];function p(r,c,i,d,C,y){return a(),n("div",null,t)}const D=s(e,[["render",p]]);export{h as __pageData,D as default};
diff --git a/docs/assets/ui-helpers_wpf.md.3b2a1ef3.js b/docs/assets/ui-helpers_wpf.md.9d31d410.js
similarity index 98%
rename from docs/assets/ui-helpers_wpf.md.3b2a1ef3.js
rename to docs/assets/ui-helpers_wpf.md.9d31d410.js
index 928d9a8..fb5c97d 100644
--- a/docs/assets/ui-helpers_wpf.md.3b2a1ef3.js
+++ b/docs/assets/ui-helpers_wpf.md.9d31d410.js
@@ -1,4 +1,4 @@
-import{_ as e,c as t,o as a,a as s}from"./app.411d0108.js";const m=JSON.parse('{"title":"WPF","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"CenterWindow(window)","slug":"centerwindow-window","link":"#centerwindow-window","children":[]}]}],"relativePath":"ui-helpers/wpf.md","lastUpdated":1673177430000}'),n={name:"ui-helpers/wpf.md"},o=s(`

WPF

This page is about the WpfHelpers class available in PeyrSharp.UiHelpers. This page is about all of its methods.

Compatibility

WinFormsHelpers are part of the PeyrSharp.UiHelpers module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
UiHelpers
Framework.NET 5.NET 6.NET 7
UiHelpers

Methods

CenterWindow(window)

Definition

Centers a Window on the primary screen.

Arguments

TypeNameMeaning
WindowwindowThe Window to center.

Usage

c#
using PeyrSharp.UiHelpers;
+import{_ as e,c as t,o as a,a as s}from"./app.14bef1c5.js";const m=JSON.parse('{"title":"WPF","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"CenterWindow(window)","slug":"centerwindow-window","link":"#centerwindow-window","children":[]}]}],"relativePath":"ui-helpers/wpf.md","lastUpdated":1673177430000}'),n={name:"ui-helpers/wpf.md"},o=s(`

WPF

This page is about the WpfHelpers class available in PeyrSharp.UiHelpers. This page is about all of its methods.

Compatibility

WinFormsHelpers are part of the PeyrSharp.UiHelpers module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
UiHelpers
Framework.NET 5.NET 6.NET 7
UiHelpers

Methods

CenterWindow(window)

Definition

Centers a Window on the primary screen.

Arguments

TypeNameMeaning
WindowwindowThe Window to center.

Usage

c#
using PeyrSharp.UiHelpers;
 
 Window window = new Window();
 WpfHelpers.CenterWindow(window); // Center the window on the primary screen
diff --git a/docs/assets/ui-helpers_wpf.md.3b2a1ef3.lean.js b/docs/assets/ui-helpers_wpf.md.9d31d410.lean.js
similarity index 90%
rename from docs/assets/ui-helpers_wpf.md.3b2a1ef3.lean.js
rename to docs/assets/ui-helpers_wpf.md.9d31d410.lean.js
index 098fb8d..0dafac5 100644
--- a/docs/assets/ui-helpers_wpf.md.3b2a1ef3.lean.js
+++ b/docs/assets/ui-helpers_wpf.md.9d31d410.lean.js
@@ -1 +1 @@
-import{_ as e,c as t,o as a,a as s}from"./app.411d0108.js";const m=JSON.parse('{"title":"WPF","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"CenterWindow(window)","slug":"centerwindow-window","link":"#centerwindow-window","children":[]}]}],"relativePath":"ui-helpers/wpf.md","lastUpdated":1673177430000}'),n={name:"ui-helpers/wpf.md"},o=s("",13),r=[o];function d(i,l,p,c,h,w){return a(),t("div",null,r)}const C=e(n,[["render",d]]);export{m as __pageData,C as default};
+import{_ as e,c as t,o as a,a as s}from"./app.14bef1c5.js";const m=JSON.parse('{"title":"WPF","description":"","frontmatter":{},"headers":[{"level":2,"title":"Compatibility","slug":"compatibility","link":"#compatibility","children":[]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"CenterWindow(window)","slug":"centerwindow-window","link":"#centerwindow-window","children":[]}]}],"relativePath":"ui-helpers/wpf.md","lastUpdated":1673177430000}'),n={name:"ui-helpers/wpf.md"},o=s("",13),r=[o];function d(i,l,p,c,h,w){return a(),t("div",null,r)}const C=e(n,[["render",d]]);export{m as __pageData,C as default};
diff --git a/docs/core.html b/docs/core.html
index c2e6225..428bb70 100644
--- a/docs/core.html
+++ b/docs/core.html
@@ -6,17 +6,17 @@
     Core | PeyrSharp
     
     
-    
-    
-    
+    
+    
+    
     
     
   
   
   
-    
Skip to content
On this page

Core

This page is about the PeyrSharp.Core module.

Compatibility

The PeyrSharp.Core module is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Namespaces

The Core namespace contains other namespaces:

Classes

Released under the MIT License.

- - +
Skip to content
On this page

Core

This page is about the PeyrSharp.Core module.

Compatibility

The PeyrSharp.Core module is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Namespaces

The Core namespace contains other namespaces:

Classes

Released under the MIT License.

+ + \ No newline at end of file diff --git a/docs/core/converters.html b/docs/core/converters.html index 06a0210..4d70dc1 100644 --- a/docs/core/converters.html +++ b/docs/core/converters.html @@ -6,17 +6,17 @@ Converters | PeyrSharp - - - + + + -
Skip to content
On this page

Converters

This page is about the Converters namespace available in PeyrSharp.Core. You can find here all of its classes.

Compatibility

The Converters namespace is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Classes

Released under the MIT License.

- - +
Skip to content
On this page

Converters

This page is about the Converters namespace available in PeyrSharp.Core. You can find here all of its classes.

Compatibility

The Converters namespace is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Classes

Released under the MIT License.

+ + \ No newline at end of file diff --git a/docs/core/converters/angle.html b/docs/core/converters/angle.html index 1fd12af..064df2d 100644 --- a/docs/core/converters/angle.html +++ b/docs/core/converters/angle.html @@ -6,15 +6,15 @@ Angle | PeyrSharp - - - + + + -
Skip to content
On this page

Angle

This page is about the Angle class available in PeyrSharp.Core.Converters. You can find here all of its methods.

INFO

This class is static.

Compatibility

The Angle class is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Methods

DegreesToRadians(degrees)

Definition

Converts degrees to radians. Returns a double value.

Arguments

TypeNameMeaning
doubledegreesNumber of degrees to convert.

Usage

c#
using PeyrSharp.Core.Converters;
+    
Skip to content
On this page

Angle

This page is about the Angle class available in PeyrSharp.Core.Converters. You can find here all of its methods.

INFO

This class is static.

Compatibility

The Angle class is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Methods

DegreesToRadians(degrees)

Definition

Converts degrees to radians. Returns a double value.

Arguments

TypeNameMeaning
doubledegreesNumber of degrees to convert.

Usage

c#
using PeyrSharp.Core.Converters;
 
 double radians = Angle.DegreesToRadians(90);
 // radians = 1.5707963271535559
@@ -23,8 +23,8 @@
 double deg = Angle.RadiansToDegrees(1.2);
 // deg = 68.7549354
 

Released under the MIT License.

- - + + \ No newline at end of file diff --git a/docs/core/converters/colors/hex.html b/docs/core/converters/colors/hex.html index 0e20941..61f7121 100644 --- a/docs/core/converters/colors/hex.html +++ b/docs/core/converters/colors/hex.html @@ -6,15 +6,15 @@ HEX | PeyrSharp - - - + + + -
Skip to content
On this page

HEX

This page is about the HEX class available in PeyrSharp.Core.Converters. You can find here all of its methods and properties.

Compatibility

The HEX class is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Constructors

HEX(hex)

Initializes a hexadecimal class from a hexadecimal value.

Arguments

TypeNameMeaning
stringhexThe hexadecimal value (with or without #).

WARNING

If you specify a non-hexadecimal value, a HEXInvalidValueException will be thrown.

Usage

c#
using PeyrSharp.Core.Converters;
+    
Skip to content
On this page

HEX

This page is about the HEX class available in PeyrSharp.Core.Converters. You can find here all of its methods and properties.

Compatibility

The HEX class is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Constructors

HEX(hex)

Initializes a hexadecimal class from a hexadecimal value.

Arguments

TypeNameMeaning
stringhexThe hexadecimal value (with or without #).

WARNING

If you specify a non-hexadecimal value, a HEXInvalidValueException will be thrown.

Usage

c#
using PeyrSharp.Core.Converters;
 
 HEX hex = new("#FF0A17");
 

Methods

ToRgb()

Definition

Converts the HEX color to RGB. Returns a RGB class.

Arguments

This method has no arguments.

Usage

c#
using PeyrSharp.Core.Converters;
@@ -25,8 +25,8 @@
 HSV hsv = new HEX("#E1077B").ToHsv();
 

Properties

Value

Definition

c#
public string Value { get; init; }
 

The Value property contains the hexadecimal value of the HEX color. You can only get this property.

Released under the MIT License.

- - + + \ No newline at end of file diff --git a/docs/core/converters/colors/hsv.html b/docs/core/converters/colors/hsv.html index f83fa6c..7ae5d52 100644 --- a/docs/core/converters/colors/hsv.html +++ b/docs/core/converters/colors/hsv.html @@ -6,23 +6,23 @@ HSV | PeyrSharp - - - + + + -
Skip to content
On this page

HSV

This page is about the HSV class available in PeyrSharp.Core.Converters. You can find here all of its methods and properties.

Compatibility

The HSV class is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Constructors

HSV(hue, saturation, value)

Definition

Initializes a HSV color from its hue, saturation, and value.

Arguments

TypeNameMeaning
inthueThe Hue of the color.
intsaturationThe saturation percentage.
intvalueThe value/brightness percentage.

Usage

c#
using PeyrSharp.Core.Converters;
+    
Skip to content
On this page

HSV

This page is about the HSV class available in PeyrSharp.Core.Converters. You can find here all of its methods and properties.

Compatibility

The HSV class is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Constructors

HSV(hue, saturation, value)

Definition

Initializes a HSV color from its hue, saturation, and value.

Arguments

TypeNameMeaning
inthueThe Hue of the color.
intsaturationThe saturation percentage.
intvalueThe value/brightness percentage.

Usage

c#
using PeyrSharp.Core.Converters;
 
 HSV hsv = new(50, 75, 100);
 

Properties

Hue

Definition

c#
public int Hue { get; init; }
 

The Hue property contains the hue of the HSV color. You can only get this property.

Saturation

Definition

c#
public int Saturation { get; init; }
 

The Value property contains the saturation percentage of the HSV color. You can only get this property.

Value

Definition

c#
public int Value { get; init; }
 

The Value property contains the value/brightness percentage of the HSV color. You can only get this property.

Released under the MIT License.

- - + + \ No newline at end of file diff --git a/docs/core/converters/colors/rgb.html b/docs/core/converters/colors/rgb.html index 8d69ecc..e262f97 100644 --- a/docs/core/converters/colors/rgb.html +++ b/docs/core/converters/colors/rgb.html @@ -6,15 +6,15 @@ RGB | PeyrSharp - - - + + + -
Skip to content
On this page

RGB

This page is about the RGB class available in PeyrSharp.Core.Converters. You can find here all of its methods and properties.

Compatibility

The RGB class is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Constructors

RGB(color)

Definition

Initializes a RGB class from a System.Drawing.Color. Returns a RGB class.

Arguments

TypeNameMeaning
ColorcolorThe RGB color.

Usage

c#
using PeyrSharp.Core.Converters;
+    
Skip to content
On this page

RGB

This page is about the RGB class available in PeyrSharp.Core.Converters. You can find here all of its methods and properties.

Compatibility

The RGB class is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Constructors

RGB(color)

Definition

Initializes a RGB class from a System.Drawing.Color. Returns a RGB class.

Arguments

TypeNameMeaning
ColorcolorThe RGB color.

Usage

c#
using PeyrSharp.Core.Converters;
 using System.Drawing;
 
 RGB rgb = new(Color.FromArgb(255, 150, 120));
@@ -29,8 +29,8 @@
 HSV hsv = new RGB(255, 0, 0).ToHsv();
 

Properties

Color

Definition

c#
public Color Color { get; init; }
 

The Color property contains the RGB color as a System.Drawing.Color. You can only get this property.

Released under the MIT License.

- - + + \ No newline at end of file diff --git a/docs/core/converters/distances.html b/docs/core/converters/distances.html index fa5a0e1..51ff2dc 100644 --- a/docs/core/converters/distances.html +++ b/docs/core/converters/distances.html @@ -6,15 +6,15 @@ Distances | PeyrSharp - - - + + + -
Skip to content
On this page

Distances

This page is about the Distances class available in PeyrSharp.Core.Converters. You can find here all of its methods.

INFO

This class is static.

Compatibility

The Distances class is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Methods

MilesToKm(miles)

Definition

Converts miles to kilometers. Returns a double value.

Arguments

TypeNameMeaning
doublemilesNumber of mile(s) to convert.

Usage

c#
using PeyrSharp.Core.Converters;
+    
Skip to content
On this page

Distances

This page is about the Distances class available in PeyrSharp.Core.Converters. You can find here all of its methods.

INFO

This class is static.

Compatibility

The Distances class is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Methods

MilesToKm(miles)

Definition

Converts miles to kilometers. Returns a double value.

Arguments

TypeNameMeaning
doublemilesNumber of mile(s) to convert.

Usage

c#
using PeyrSharp.Core.Converters;
 
 double km = Distances.MilesToKm(10);
 // km = 16.09344
@@ -30,9 +30,9 @@
 
 double feet = Distances.MetersToFeet(3.657599994440448);
 // feet = 12
-

Released under the MIT License.

- - +

Released under the MIT License.

+ + \ No newline at end of file diff --git a/docs/core/converters/energies.html b/docs/core/converters/energies.html new file mode 100644 index 0000000..fa03cb0 --- /dev/null +++ b/docs/core/converters/energies.html @@ -0,0 +1,30 @@ + + + + + + Energies | PeyrSharp + + + + + + + + + + +
Skip to content
On this page

Energies

This page is about the Energies class available in PeyrSharp.Core.Converters. You can find here all of its methods.

INFO

This class is static.

Compatibility

The Energies class is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Methods

CaloriesToJoules(calories)

Definition

Converts calories to joules.

Arguments

TypeNameMeaning
doublecaloriesThe amount of energy in calories to be converted.

Returns

The equivalent amount of energy in joules.

Usage

c#
using PeyrSharp.Core.Converters;
+
+double calories = 100.0;
+double joules = Energies.CaloriesToJoules(calories);
+

JoulesToCalories(joules)

Definition

Converts joules to calories.

Arguments

TypeNameMeaning
doublejoulesThe amount of energy in joules.

Returns

The equivalent amount of energy in calories.

Usage

c#
using PeyrSharp.Core.Converters;
+
+double joules = 1000.0;
+double calories = Energies.JoulesToCalories(joules);
+

Released under the MIT License.

+ + + + + \ No newline at end of file diff --git a/docs/core/converters/masses.html b/docs/core/converters/masses.html index b9dda56..c6a3764 100644 --- a/docs/core/converters/masses.html +++ b/docs/core/converters/masses.html @@ -6,15 +6,15 @@ Masses | PeyrSharp - - - + + + -
Skip to content
On this page

Masses

This page is about the Masses class available in PeyrSharp.Core.Converters. You can find here all of its methods.

INFO

This class is static.

Compatibility

The Masses class is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Methods

PoundsToKilograms(pounds)

Definition

Converts pounds to kilograms. Returns a double value.

Arguments

TypeNameMeaning
doublepoundsNumber of pounds to convert.

Usage

c#
using PeyrSharp.Core.Converters;
+    
Skip to content
On this page

Masses

This page is about the Masses class available in PeyrSharp.Core.Converters. You can find here all of its methods.

INFO

This class is static.

Compatibility

The Masses class is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Methods

PoundsToKilograms(pounds)

Definition

Converts pounds to kilograms. Returns a double value.

Arguments

TypeNameMeaning
doublepoundsNumber of pounds to convert.

Usage

c#
using PeyrSharp.Core.Converters;
 
 double kg = Masses.PoundsToKilograms(10);
 // kg = 4.535923703803784
@@ -22,9 +22,9 @@
 
 double pounds = Masses.KilogramsToPounds(25);
 // pounds = 55.115565499999995
-

Released under the MIT License.

- - +

Released under the MIT License.

+ + \ No newline at end of file diff --git a/docs/core/converters/speeds.html b/docs/core/converters/speeds.html new file mode 100644 index 0000000..fd5bf85 --- /dev/null +++ b/docs/core/converters/speeds.html @@ -0,0 +1,62 @@ + + + + + + Speeds | PeyrSharp + + + + + + + + + + +
Skip to content
On this page

Speeds

This page is about the Speeds class available in PeyrSharp.Core.Converters. You can find here all of its methods.

INFO

This class is static.

Compatibility

The Speeds class is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Methods

KnotsToKilometersPerHour(knots)

Definition

Converts knots to kilometers per hour.

Arguments

TypeNameMeaning
doubleknotsThe speed in knots.

Returns

The equivalent speed in kilometers per hour.

Usage

c#
using PeyrSharp.Core.Converters;
+
+double speedInKnots = 20.0;
+double speedInKilometersPerHour = Speeds.KnotsToKilometersPerHour(speedInKnots);
+Console.WriteLine($"{speedInKnots} knots is equivalent to {speedInKilometersPerHour} km/h");
+

KilometersPerHourToKnots(kilometersPerHour)

Definition

Converts kilometers per hour to knots.

Arguments

TypeNameDescription
doublekilometersPerHourThe speed in kilometers per hour.

Returns

The equivalent speed in knots.

Usage

c#
using PeyrSharp.Core.Converters;
+
+double speedInKilometersPerHour = 40.0;
+double speedInKnots = Speeds.KilometersPerHourToKnots(speedInKilometersPerHour);
+Console.WriteLine($"{speedInKilometersPerHour} km/h is equivalent to {speedInKnots} knots");
+

KnotsToMilesPerHour(knots)

Definition

Converts knots to miles per hour.

Arguments

TypeNameDescription
doubleknotsThe speed in knots.

Returns

The equivalent speed in miles per hour.

Usage

c#
using PeyrSharp.Core.Converters;
+
+double speedInKnots = 20.0;
+double speedInMilesPerHour = Speeds.KnotsToMilesPerHour(speedInKnots);
+Console.WriteLine($"{speedInKnots} knots is equivalent to {speedInMilesPerHour} mph");
+

MilesPerHourToKnots(milesPerHour)

Definition

Converts miles per hour to knots.

Arguments

TypeNameDescription
doublemilesPerHourThe speed in miles per hour.

Returns

The equivalent speed in knots.

Usage

c#
using PeyrSharp.Core.Converters;
+
+double speedInMilesPerHour = 60.0;
+double speedInKnots = Speeds.MilesPerHourToKnots(speedInMilesPerHour);
+Console.WriteLine($"{speedInMilesPerHour} miles/hour is equivalent to {speedInKnots} knots");
+

KilometersPerHourToMetersPerSecond(kilometersPerHour)

Definition

Converts kilometers per hour to meters per second.

Arguments

TypeNameDescription
doublekilometersPerHourThe speed in kilometers per hour.

Returns

The equivalent speed in meters per second.

Usage

c#
using PeyrSharp.Core.Converters;
+
+double speedInKilometersPerHour = 100.0;
+double speedInMetersPerSecond = Speeds.KilometersPerHourToMetersPerSecond(speedInKilometersPerHour);
+Console.WriteLine($"{speedInKilometersPerHour} km/h is equivalent to {speedInMetersPerSecond} m/s");
+

MetersPerSecondToKilometersPerHour(metersPerSecond)

Definition

Converts meters per second to kilometers per hour.

Arguments

TypeNameMeaning
doublemetersPerSecondThe speed in meters per second.

Returns

The equivalent speed in kilometers per hour.

Usage

c#
using PeyrSharp.Core.Converters;
+
+double speedInMetersPerSecond = 10.0;
+double speedInKilometersPerHour = Speeds.MetersPerSecondToKilometersPerHour(speedInMetersPerSecond);
+Console.WriteLine($"{speedInMetersPerSecond} m/s is equivalent to {speedInKilometersPerHour} km/h");
+

MilesPerHourToKilometersPerHour(milesPerHour)

Definition

Converts miles per hour to kilometers per hour.

Arguments

TypeNameDescription
doublemilesPerHourThe speed in miles per hour.

Returns

The equivalent speed in kilometers per hour.

Usage

c#
using PeyrSharp.Core.Converters;
+
+double speedInMilesPerHour = 60.0;
+double speedInKilometersPerHour = Speeds.MilesPerHourToKilometersPerHour(speedInMilesPerHour);
+Console.WriteLine($"{speedInMilesPerHour} mph is equivalent to {speedInKilometersPerHour} km/h");
+

KilometersPerHourToMilesPerHour(kilometersPerHour)

Definition

Converts kilometers per hour to miles per hour.

Arguments

TypeNameDescription
doublekilometersPerHourThe speed in kilometers per hour.

Returns

The equivalent speed in miles per hour.

Usage

c#
using PeyrSharp.Core.Converters;
+
+double speedInKilometersPerHour = 50.0;
+double speedInMilesPerHour = Speeds.KilometersPerHourToMilesPerHour(speedInKilometersPerHour);
+Console.WriteLine($"{speedInKilometersPerHour} km/h is equivalent to {speedInMilesPerHour} mph");
+

Released under the MIT License.

+ + + + + \ No newline at end of file diff --git a/docs/core/converters/storage.html b/docs/core/converters/storage.html index f085beb..b4d7a47 100644 --- a/docs/core/converters/storage.html +++ b/docs/core/converters/storage.html @@ -6,15 +6,15 @@ Storage | PeyrSharp - - - + + + -
Skip to content
On this page

Storage

This page is about the Storage class available in PeyrSharp.Core.Converters. You can find here all of its methods.

INFO

This class is static.

Compatibility

The Storage class is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Methods

ToByte(value, storageUnit)

Definition

Converts a size (kb, mb, ...) to byte. Returns a double value.

INFO

This method can also be used in PeyrSharp.Extensions.

Arguments

TypeNameMeaning
doublevalueThe value to convert.
StorageUnitsstorageUnitThe unit of the value. (ex: kilobyte, gigabyte...)

Usage

c#
using PeyrSharp.Core.Converters;
+    
Skip to content
On this page

Storage

This page is about the Storage class available in PeyrSharp.Core.Converters. You can find here all of its methods.

INFO

This class is static.

Compatibility

The Storage class is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Methods

ToByte(value, storageUnit)

Definition

Converts a size (kb, mb, ...) to byte. Returns a double value.

INFO

This method can also be used in PeyrSharp.Extensions.

Arguments

TypeNameMeaning
doublevalueThe value to convert.
StorageUnitsstorageUnitThe unit of the value. (ex: kilobyte, gigabyte...)

Usage

c#
using PeyrSharp.Core.Converters;
 
 double byte = Storage.ToByte(1, StorageUnits.Kilobyte);
 // byte = 1000
@@ -38,9 +38,9 @@
 
 double petabyte = Storage.ToPetabyte(1000, StorageUnits.Terabyte);
 // petabyte = 1
-

Released under the MIT License.

- - +

Released under the MIT License.

+ + \ No newline at end of file diff --git a/docs/core/converters/temperatures.html b/docs/core/converters/temperatures.html index 579dd7e..278e66c 100644 --- a/docs/core/converters/temperatures.html +++ b/docs/core/converters/temperatures.html @@ -6,15 +6,15 @@ Temperatures | PeyrSharp - - - + + + -
Skip to content
On this page

Temperatures

This page is about the Temperatures class available in PeyrSharp.Core.Converters. You can find here all of its methods.

INFO

This class is static.

Compatibility

The Temperatures class is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Methods

CelsiusToFahrenheit(celsius)

Definition

Converts Celsius (°C) to Fahrenheit (°F). Returns a double value.

Arguments

TypeNameMeaning
doublecelsiusNumber of Celsius to convert.

Usage

c#
using PeyrSharp.Core.Converters;
+    
Skip to content
On this page

Temperatures

This page is about the Temperatures class available in PeyrSharp.Core.Converters. You can find here all of its methods.

INFO

This class is static.

Compatibility

The Temperatures class is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Methods

CelsiusToFahrenheit(celsius)

Definition

Converts Celsius (°C) to Fahrenheit (°F). Returns a double value.

Arguments

TypeNameMeaning
doublecelsiusNumber of Celsius to convert.

Usage

c#
using PeyrSharp.Core.Converters;
 
 double f = Temperatures.CelsiusToFahrenheit(22);
 // f = 71.6
@@ -23,8 +23,8 @@
 double c = Temperatures.FahrenheitToCelsius(75);
 // c = 23.88888888888889
 

Released under the MIT License.

- - + + \ No newline at end of file diff --git a/docs/core/converters/time.html b/docs/core/converters/time.html index 06381be..28499a4 100644 --- a/docs/core/converters/time.html +++ b/docs/core/converters/time.html @@ -6,15 +6,15 @@ Time | PeyrSharp - - - + + + -
Skip to content
On this page

Time

This page is about the Time class available in PeyrSharp.Core.Converters. You can find here all of its methods.

INFO

This class is static.

Compatibility

The Time class is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Methods

ToSeconds(d, timeUnits)

Definition

Converts a specified time unit value to seconds. For instance, you can convert days, hours or minutes to seconds. It returns a double value.

INFO

This method can also be used in PeyrSharp.Extensions.

Arguments

TypeNameMeaning
doubledThe time unit to convert.
TimeUnitstimeUnitsThe unit of the time. (ex: minutes, hours...)

Usage

c#
using PeyrSharp.Core.Converters;
+    
Skip to content
On this page

Time

This page is about the Time class available in PeyrSharp.Core.Converters. You can find here all of its methods.

INFO

This class is static.

Compatibility

The Time class is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Methods

ToSeconds(d, timeUnits)

Definition

Converts a specified time unit value to seconds. For instance, you can convert days, hours or minutes to seconds. It returns a double value.

INFO

This method can also be used in PeyrSharp.Extensions.

Arguments

TypeNameMeaning
doubledThe time unit to convert.
TimeUnitstimeUnitsThe unit of the time. (ex: minutes, hours...)

Usage

c#
using PeyrSharp.Core.Converters;
 using PeyrSharp.Enums;
 
 double seconds = Time.ToSeconds(5, TimeUnits.Minutes);
@@ -42,8 +42,8 @@
 int unix = Time.DateTimeToUnixTime(new(2022, 12, 4, 8, 57, 48, DateTimeKind.Utc)); 
 // unix = 1670144268
 

Released under the MIT License.

- - + + \ No newline at end of file diff --git a/docs/core/converters/volumes.html b/docs/core/converters/volumes.html index d205c49..31b20b2 100644 --- a/docs/core/converters/volumes.html +++ b/docs/core/converters/volumes.html @@ -6,15 +6,15 @@ Volumes | PeyrSharp - - - + + + -
Skip to content
On this page

Volumes

This page is about the Volumes class available in PeyrSharp.Core.Converters. You can find here all of its methods.

INFO

This class is static.

Compatibility

The Volumes class is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Methods

M3ToLitre(m3)

Definition

Converts Cubic Meters (m³) to Litre (L). Returns a double value.

Arguments

TypeNameMeaning
doublem3Number of cubic meters to convert.

Usage

c#
using PeyrSharp.Core.Converters;
+    
Skip to content
On this page

Volumes

This page is about the Volumes class available in PeyrSharp.Core.Converters. You can find here all of its methods.

INFO

This class is static.

Compatibility

The Volumes class is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Methods

M3ToLitre(m3)

Definition

Converts Cubic Meters (m³) to Litre (L). Returns a double value.

Arguments

TypeNameMeaning
doublem3Number of cubic meters to convert.

Usage

c#
using PeyrSharp.Core.Converters;
 
 double litre = Volumes.M3ToLitre(10);
 // litre = 10000
@@ -23,8 +23,8 @@
 double m3 = Volumes.LitreToM3(500);
 // m3 = 0.5
 

Released under the MIT License.

- - + + \ No newline at end of file diff --git a/docs/core/crypt.html b/docs/core/crypt.html index 12faa7a..781d2d8 100644 --- a/docs/core/crypt.html +++ b/docs/core/crypt.html @@ -6,15 +6,15 @@ Crypt | PeyrSharp - - - + + + -
Skip to content
On this page

Crypt

This page is about the Crypt class available in PeyrSharp.Core. You can find here all of its methods.

INFO

This class is static.

Compatibility

The Crypt class is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Methods

EncryptAes(str, key)

Definitions

Encrypts a string using AES encryption. Returns the encrypted content as a string as well.

Arguments

TypeNameMeaning
stringstrThe text to encrypt.
stringkeyThe encryption key. This is the same key that will be used to decrypt the text.

Usage

c#
using PeyrSharp.Core;
+    
Skip to content
On this page

Crypt

This page is about the Crypt class available in PeyrSharp.Core. You can find here all of its methods.

INFO

This class is static.

Compatibility

The Crypt class is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Methods

EncryptAes(str, key)

Definitions

Encrypts a string using AES encryption. Returns the encrypted content as a string as well.

Arguments

TypeNameMeaning
stringstrThe text to encrypt.
stringkeyThe encryption key. This is the same key that will be used to decrypt the text.

Usage

c#
using PeyrSharp.Core;
 
 string text = "Hello, world!";
 string encrypted = Crypt.EncryptAes(text, "password");
@@ -53,8 +53,8 @@
 string text = Crypt.Decrypt3Des(encrypted, "123");
 // text = Hello
 

Released under the MIT License.

- - + + \ No newline at end of file diff --git a/docs/core/guid-options.html b/docs/core/guid-options.html index 3dd2439..102d499 100644 --- a/docs/core/guid-options.html +++ b/docs/core/guid-options.html @@ -6,15 +6,15 @@ GuidOptions | PeyrSharp - - - + + + -
Skip to content
On this page

GuidOptions

This page is about the GuidOptions class available in PeyrSharp.Core. You can find here all of its properties.

Compatibility

The GuidOptions class is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Constructors

GuidOptions()

Definition

Initializes GuidOptions with default values for its properties.

Usage

c#
using PeyrSharp.Core;
+    
Skip to content
On this page

GuidOptions

This page is about the GuidOptions class available in PeyrSharp.Core. You can find here all of its properties.

Compatibility

The GuidOptions class is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Constructors

GuidOptions()

Definition

Initializes GuidOptions with default values for its properties.

Usage

c#
using PeyrSharp.Core;
 
 var options = new GuidOptions();
 /*
@@ -39,8 +39,8 @@
 

The Hyphens property is a bool, which will determine if you want hyphens in the Guid that will be generated if used with GuidGen.Generate().

INFO

This property can be initialized when using the GuidOptions(length, hyphens, braces, upperCaseOnly) constructor.

You can get and set this property after initializing the class.

Braces

Definition

c#
public bool Braces { get; set; }
 

The Braces property is a bool, which will determine if you want braces in the Guid that will be generated if used with GuidGen.Generate().

INFO

This property can be initialized when using the GuidOptions(length, hyphens, braces, upperCaseOnly) constructor.

You can get and set this property after initializing the class.

UpperCaseOnly

Definition

c#
public bool UpperCaseOnly { get; set; }
 

The UpperCaseOnly property is a bool, which will determine if you want to only have upper cases in the Guid that will be generated if used with GuidGen.Generate().

INFO

This property can be initialized when using the GuidOptions(length, hyphens, braces, upperCaseOnly) constructor.

You can get and set this property after initializing the class.

Released under the MIT License.

- - + + \ No newline at end of file diff --git a/docs/core/guid.html b/docs/core/guid.html index 442d415..12795ba 100644 --- a/docs/core/guid.html +++ b/docs/core/guid.html @@ -6,15 +6,15 @@ GuidGen | PeyrSharp - - - + + + -
Skip to content
On this page

GuidGen

This page is about the GuidGen class available in PeyrSharp.Core. You can find here all of its methods and properties.

INFO

This class is static.

Compatibility

The GuidGen class is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Methods

Generate()

Definition

The Generate() method generates a Guid and will return it as a string.

INFO

This method has different overloads.

Arguments

This method has no arguments.

Usage

c#
using PeyrSharp.Core;
+    
Skip to content
On this page

GuidGen

This page is about the GuidGen class available in PeyrSharp.Core. You can find here all of its methods and properties.

INFO

This class is static.

Compatibility

The GuidGen class is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Methods

Generate()

Definition

The Generate() method generates a Guid and will return it as a string.

INFO

This method has different overloads.

Arguments

This method has no arguments.

Usage

c#
using PeyrSharp.Core;
 
 string guid = GuidGen.Generate();
 // guid = 7992acdd-1c9a-4985-92df-04599d560bbc (example)
@@ -31,8 +31,8 @@
 string guid = Guid.Generate(new GuidOptions(32, true, true, false));
 // guid = {35c3ab90-7636-4d34-a439-bc65eb3c} (example)
 

Released under the MIT License.

- - + + \ No newline at end of file diff --git a/docs/core/internet.html b/docs/core/internet.html index d2ca642..70335b4 100644 --- a/docs/core/internet.html +++ b/docs/core/internet.html @@ -6,15 +6,15 @@ Internet | PeyrSharp - - - + + + -
Skip to content
On this page

Internet

This page is about the Internet class available in PeyrSharp.Core. You can find here all of its methods.

INFO

This class is static.

Compatibility

The Internet class is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Methods

IsAvailableAsync()

Definition

Checks if a connection to the Internet is available. Returns a bool value.

INFO

This method is asynchronous and awaitable.

Arguments

This method has no arguments

Usage

c#
using PeyrSharp.Core;
+    
Skip to content
On this page

Internet

This page is about the Internet class available in PeyrSharp.Core. You can find here all of its methods.

INFO

This class is static.

Compatibility

The Internet class is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Methods

IsAvailableAsync()

Definition

Checks if a connection to the Internet is available. Returns a bool value.

INFO

This method is asynchronous and awaitable.

Arguments

This method has no arguments

Usage

c#
using PeyrSharp.Core;
 
 public static async void Main()
 {
@@ -74,8 +74,8 @@
 bool valid = Internet.GetUrlProtocol("a/test");
 // valid = false
 

Released under the MIT License.

- - + + \ No newline at end of file diff --git a/docs/core/maths.html b/docs/core/maths.html index f0c0052..ae220a0 100644 --- a/docs/core/maths.html +++ b/docs/core/maths.html @@ -6,17 +6,17 @@ Maths | PeyrSharp - - - + + + -
Skip to content
On this page

Maths

This page is about the Maths namespace available in PeyrSharp.Core. You can find here all of its classes.

Compatibility

The Maths namespace is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Classes

Released under the MIT License.

- - +
Skip to content
On this page

Maths

This page is about the Maths namespace available in PeyrSharp.Core. You can find here all of its classes.

Compatibility

The Maths namespace is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Classes

Released under the MIT License.

+ + \ No newline at end of file diff --git a/docs/core/maths/algebra.html b/docs/core/maths/algebra.html index 21bb5ea..fd5ad1b 100644 --- a/docs/core/maths/algebra.html +++ b/docs/core/maths/algebra.html @@ -6,15 +6,15 @@ Algebra | PeyrSharp - - - + + + -
Skip to content
On this page

Algebra

This page is about the Algebra class available in PeyrSharp.Core.Maths. You can find here all of its methods.

INFO

This class is static.

Compatibility

The Algebra class is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Methods

Sum(numbers) (double)

Definition

Returns the sum of specified double numbers. It returns a double value.

Arguments

TypeNameMeaning
params double[]numbersThe numbers to do the sum of.

Usage

c#
using PeyrSharp.Core.Maths;
+    
Skip to content
On this page

Algebra

This page is about the Algebra class available in PeyrSharp.Core.Maths. You can find here all of its methods.

INFO

This class is static.

Compatibility

The Algebra class is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Methods

Sum(numbers) (double)

Definition

Returns the sum of specified double numbers. It returns a double value.

Arguments

TypeNameMeaning
params double[]numbersThe numbers to do the sum of.

Usage

c#
using PeyrSharp.Core.Maths;
 
 // Usage 1
 double sum = Algebra.Sum(12, 1.5, 45, 2.2);
@@ -61,8 +61,8 @@
 double res = Algebra.GetResultsOf(x => x * x, 1, 2, 3, 4);
 // res = double[] { 1, 4, 9, 16 }
 

Released under the MIT License.

- - + + \ No newline at end of file diff --git a/docs/core/maths/geometry.html b/docs/core/maths/geometry.html index 251ceae..a5d77f5 100644 --- a/docs/core/maths/geometry.html +++ b/docs/core/maths/geometry.html @@ -6,17 +6,17 @@ Geometry | PeyrSharp - - - + + + -
Skip to content
On this page

Geometry

This page is about the Geometry namespace available in PeyrSharp.Core.Maths. This namespace includes several classes to get and calculates various aspects of different shapes, like the area, perimeter, volume and more.

Compatibility

The namespace is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Classes

Released under the MIT License.

- - +
Skip to content
On this page

Geometry

This page is about the Geometry namespace available in PeyrSharp.Core.Maths. This namespace includes several classes to get and calculates various aspects of different shapes, like the area, perimeter, volume and more.

Compatibility

The namespace is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Classes

Released under the MIT License.

+ + \ No newline at end of file diff --git a/docs/core/maths/geometry/circle.html b/docs/core/maths/geometry/circle.html index 92f5698..1ce7d30 100644 --- a/docs/core/maths/geometry/circle.html +++ b/docs/core/maths/geometry/circle.html @@ -6,15 +6,15 @@ Circle | PeyrSharp - - - + + + -
Skip to content
On this page

Circle

This page is about the Circle class available in PeyrSharp.Core.Maths.Geometry. You can find here all of its constructors and properties.

Compatibility

The Circle class is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Constructors

Circle(radius)

Definition

Initializes a Circle class from a specific radius.

Arguments

TypeNameMeaning
doubleradiusThe radius of the circle.

WARNING

If radius ≤ 0, a DivideByZeroException will be thrown.

Usage

c#
using PeyrSharp.Core.Maths.Geometry;
+    
Skip to content
On this page

Circle

This page is about the Circle class available in PeyrSharp.Core.Maths.Geometry. You can find here all of its constructors and properties.

Compatibility

The Circle class is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Constructors

Circle(radius)

Definition

Initializes a Circle class from a specific radius.

Arguments

TypeNameMeaning
doubleradiusThe radius of the circle.

WARNING

If radius ≤ 0, a DivideByZeroException will be thrown.

Usage

c#
using PeyrSharp.Core.Maths.Geometry;
 
 Circle circle = new(10); // Creates a circle with a radius of 10
 

Properties

Area

Definition

c#
public double Area { get; }
@@ -32,8 +32,8 @@
 var perimeter = circle.Perimeter;
 // perimeter = 62.83185307179586
 

Released under the MIT License.

- - + + \ No newline at end of file diff --git a/docs/core/maths/geometry/cone.html b/docs/core/maths/geometry/cone.html index 25d482f..f385696 100644 --- a/docs/core/maths/geometry/cone.html +++ b/docs/core/maths/geometry/cone.html @@ -6,15 +6,15 @@ Cone | PeyrSharp - - - + + + -
Skip to content
On this page

Cone

This page is about the Cone class available in PeyrSharp.Core.Maths.Geometry. You can find here all of its constructors and properties.

Compatibility

The Cone class is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Constructors

Cone(radius, height)

Definition

Initializes a Cone class from a specific radius and height.

Arguments

TypeNameMeaning
doubleradiusThe radius of the cone.
doubleheightThe height of the cone.

WARNING

If radius or height ≤ 0, a DivideByZeroException will be thrown.

Usage

c#
using PeyrSharp.Core.Maths.Geometry;
+    
Skip to content
On this page

Cone

This page is about the Cone class available in PeyrSharp.Core.Maths.Geometry. You can find here all of its constructors and properties.

Compatibility

The Cone class is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Constructors

Cone(radius, height)

Definition

Initializes a Cone class from a specific radius and height.

Arguments

TypeNameMeaning
doubleradiusThe radius of the cone.
doubleheightThe height of the cone.

WARNING

If radius or height ≤ 0, a DivideByZeroException will be thrown.

Usage

c#
using PeyrSharp.Core.Maths.Geometry;
 
 Cone cone = new(10, 20); // Creates a cone with a radius of 10, and a height of 20
 

Properties

Volume

Definition

c#
public double Volume { get; }
@@ -39,8 +39,8 @@
 var height = cone.Height;
 // height = 40
 

Released under the MIT License.

- - + + \ No newline at end of file diff --git a/docs/core/maths/geometry/cube.html b/docs/core/maths/geometry/cube.html index 7e1e23b..a3208b1 100644 --- a/docs/core/maths/geometry/cube.html +++ b/docs/core/maths/geometry/cube.html @@ -6,15 +6,15 @@ Cube | PeyrSharp - - - + + + -
Skip to content
On this page

Cube

This page is about the Cube class available in PeyrSharp.Core.Maths.Geometry. You can find here all of its constructors and properties.

Compatibility

The Cube class is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Constructors

Cube(side)

Definition

Initializes a Cube class from the length of the side of the cube.

Arguments

TypeNameMeaning
doublesideThe length of the side of the cube.

WARNING

If side ≤ 0, a DivideByZeroException will be thrown.

Usage

c#
using PeyrSharp.Core.Maths.Geometry;
+    
Skip to content
On this page

Cube

This page is about the Cube class available in PeyrSharp.Core.Maths.Geometry. You can find here all of its constructors and properties.

Compatibility

The Cube class is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Constructors

Cube(side)

Definition

Initializes a Cube class from the length of the side of the cube.

Arguments

TypeNameMeaning
doublesideThe length of the side of the cube.

WARNING

If side ≤ 0, a DivideByZeroException will be thrown.

Usage

c#
using PeyrSharp.Core.Maths.Geometry;
 
 Cube cube = new(10); // Creates a 10x10x10 cube
 

Cube(width, length, height)

Definition

Initializes a Cube class from the width, the length and the height of the cuboidal.

Arguments

TypeNameMeaning
doublewidthThe width of the cuboidal.
doublelengthThe length of the cuboidal.
doubleheightThe height of the cuboidal.

WARNING

If width, length or height ≤ 0, a DivideByZeroException will be thrown.

Usage

c#
using PeyrSharp.Core.Maths.Geometry;
@@ -70,8 +70,8 @@
 var width = cube.Width;
 // width = 10
 

Released under the MIT License.

- - + + \ No newline at end of file diff --git a/docs/core/maths/geometry/cylinder.html b/docs/core/maths/geometry/cylinder.html index cef5fbd..b7ccebe 100644 --- a/docs/core/maths/geometry/cylinder.html +++ b/docs/core/maths/geometry/cylinder.html @@ -6,15 +6,15 @@ Cylinder | PeyrSharp - - - + + + -
Skip to content
On this page

Cylinder

This page is about the Cylinder class available in PeyrSharp.Core.Maths.Geometry. You can find here all of its constructors and properties.

Compatibility

The Cylinder class is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Constructors

Cylinder(radius, height)

Definition

Initializes a Cylinder class from a specific radius and height.

Arguments

TypeNameMeaning
doubleradiusThe radius of the cylinder.
doubleheightThe height of the cylinder.

WARNING

If radius or height ≤ 0, a DivideByZeroException will be thrown.

Usage

c#
using PeyrSharp.Core.Maths.Geometry;
+    
Skip to content
On this page

Cylinder

This page is about the Cylinder class available in PeyrSharp.Core.Maths.Geometry. You can find here all of its constructors and properties.

Compatibility

The Cylinder class is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Constructors

Cylinder(radius, height)

Definition

Initializes a Cylinder class from a specific radius and height.

Arguments

TypeNameMeaning
doubleradiusThe radius of the cylinder.
doubleheightThe height of the cylinder.

WARNING

If radius or height ≤ 0, a DivideByZeroException will be thrown.

Usage

c#
using PeyrSharp.Core.Maths.Geometry;
 
 Cylinder cylinder = new(20, 10); // Creates a cylinder with a radius of 20, and a height of 10
 

Properties

Volume

Definition

c#
public double Volume { get; }
@@ -46,8 +46,8 @@
 var height = cylinder.Height;
 // height = 40
 

Released under the MIT License.

- - + + \ No newline at end of file diff --git a/docs/core/maths/geometry/diamond.html b/docs/core/maths/geometry/diamond.html index 8414351..19dcd5e 100644 --- a/docs/core/maths/geometry/diamond.html +++ b/docs/core/maths/geometry/diamond.html @@ -6,15 +6,15 @@ Diamond | PeyrSharp - - - + + + -
Skip to content
On this page

Diamond

This page is about the Diamond class available in PeyrSharp.Core.Maths.Geometry. You can find here all of its constructors and properties.

Compatibility

The Diamond class is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Constructors

Diamond(side)

Definition

Initializes a Diamond class from the length of its side.

Arguments

TypeNameMeaning
doublesideThe length of the side.

WARNING

If side ≤ 0, a DivideByZeroException will be thrown.

Usage

c#
using PeyrSharp.Core.Maths.Geometry;
+    
Skip to content
On this page

Diamond

This page is about the Diamond class available in PeyrSharp.Core.Maths.Geometry. You can find here all of its constructors and properties.

Compatibility

The Diamond class is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Constructors

Diamond(side)

Definition

Initializes a Diamond class from the length of its side.

Arguments

TypeNameMeaning
doublesideThe length of the side.

WARNING

If side ≤ 0, a DivideByZeroException will be thrown.

Usage

c#
using PeyrSharp.Core.Maths.Geometry;
 
 Diamond diamond = new(5); // Creates a diamond where all the sides equals to 5.
 

Diamond(diagonal1, diagonal2)

Definition

Initializes a Diamond class from the length of its diagonals.

Arguments

TypeNameMeaning
doublediagonal1The length of the first diagonal.
doublediagonal2The side of the second diagonal.

WARNING

If diagonal1 or diagonal2 ≤ 0, a DivideByZeroException will be thrown.

Usage

c#
using PeyrSharp.Core.Maths.Geometry;
@@ -50,8 +50,8 @@
 var side = diamond.Diagonals;
 // side = { 10, 14 }
 

Released under the MIT License.

- - + + \ No newline at end of file diff --git a/docs/core/maths/geometry/hexagon.html b/docs/core/maths/geometry/hexagon.html index 029b80a..7429e5e 100644 --- a/docs/core/maths/geometry/hexagon.html +++ b/docs/core/maths/geometry/hexagon.html @@ -6,15 +6,15 @@ Hexagon | PeyrSharp - - - + + + -
Skip to content
On this page

Hexagon

This page is about the Hexagon class available in PeyrSharp.Core.Maths.Geometry. You can find here all of its constructors and properties.

Compatibility

The Hexagon class is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Constructors

Hexagon(side)

Definition

Initializes a Hexagon class from the length of its side.

Arguments

TypeNameMeaning
doublesideThe length of the side of the hexagon.

WARNING

If side ≤ 0, a DivideByZeroException will be thrown.

Usage

c#
using PeyrSharp.Core.Maths.Geometry;
+    
Skip to content
On this page

Hexagon

This page is about the Hexagon class available in PeyrSharp.Core.Maths.Geometry. You can find here all of its constructors and properties.

Compatibility

The Hexagon class is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Constructors

Hexagon(side)

Definition

Initializes a Hexagon class from the length of its side.

Arguments

TypeNameMeaning
doublesideThe length of the side of the hexagon.

WARNING

If side ≤ 0, a DivideByZeroException will be thrown.

Usage

c#
using PeyrSharp.Core.Maths.Geometry;
 
 Hexagon hexagon = new(12); // Creates a hexagon with a length of 12
 

Properties

Area

Definition

c#
public double Area { get; }
@@ -38,8 +38,8 @@
 
 var side = hexagon.Side; // side = 10
 

Released under the MIT License.

- - + + \ No newline at end of file diff --git a/docs/core/maths/geometry/pyramid.html b/docs/core/maths/geometry/pyramid.html index c147b71..9da71af 100644 --- a/docs/core/maths/geometry/pyramid.html +++ b/docs/core/maths/geometry/pyramid.html @@ -6,15 +6,15 @@ Pyramid | PeyrSharp - - - + + + -
Skip to content
On this page

Pyramid

This page is about the Pyramid class available in PeyrSharp.Core.Maths.Geometry. You can find here all of its constructors, methods and properties.

Compatibility

The Pyramid class is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Constructors

Pyramid(width, length, height)

Definition

Initializes a Pyramid class from a specific width, length, and height.

Arguments

TypeNameMeaning
doublewidthThe width of the pyramid.
doublelengthThe length of the pyramid.
doubleheightThe height of the pyramid.

Usage

c#
using PeyrSharp.Core.Maths.Geometry;
+    
Skip to content
On this page

Pyramid

This page is about the Pyramid class available in PeyrSharp.Core.Maths.Geometry. You can find here all of its constructors, methods and properties.

Compatibility

The Pyramid class is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Constructors

Pyramid(width, length, height)

Definition

Initializes a Pyramid class from a specific width, length, and height.

Arguments

TypeNameMeaning
doublewidthThe width of the pyramid.
doublelengthThe length of the pyramid.
doubleheightThe height of the pyramid.

Usage

c#
using PeyrSharp.Core.Maths.Geometry;
 
 Pyramid pyramid = new(12, 10, 15); // Creates a pyramid with a width of 12, a length of 10, and a height of 15
 

Methods

FromVolumeAndSize(volume, width, length)

Definition

Initializes a Pyramid class from a specific volume, width, and length.

Arguments

TypeNameMeaning
doublevolumeThe volume of the pyramid.
doublewidthThe width of the pyramid.
doublelengthThe length of the pyramid.

Usage

c#
using PeyrSharp.Core.Maths.Geometry;
@@ -76,8 +76,8 @@
 var height = pyramid.Height;
 // height = 30
 

Released under the MIT License.

- - + + \ No newline at end of file diff --git a/docs/core/maths/geometry/rectangle.html b/docs/core/maths/geometry/rectangle.html index dd6c556..6fb403b 100644 --- a/docs/core/maths/geometry/rectangle.html +++ b/docs/core/maths/geometry/rectangle.html @@ -6,15 +6,15 @@ Rectangle | PeyrSharp - - - + + + -
Skip to content
On this page

Rectangle

This page is about the Rectangle class available in PeyrSharp.Core.Maths.Geometry. You can find here all of its constructors and properties.

Compatibility

The Rectangle class is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Constructors

Rectangle(width, length)

Definition

Initializes a Rectangle class from a specific length and width.

Arguments

TypeNameMeaning
doublewidthThe width of the rectangle.
doublelengthThe length of the rectangle.

WARNING

If width or length ≤ 0, a DivideByZeroException will be thrown.

Usage

c#
using PeyrSharp.Core.Maths.Geometry;
+    
Skip to content
On this page

Rectangle

This page is about the Rectangle class available in PeyrSharp.Core.Maths.Geometry. You can find here all of its constructors and properties.

Compatibility

The Rectangle class is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Constructors

Rectangle(width, length)

Definition

Initializes a Rectangle class from a specific length and width.

Arguments

TypeNameMeaning
doublewidthThe width of the rectangle.
doublelengthThe length of the rectangle.

WARNING

If width or length ≤ 0, a DivideByZeroException will be thrown.

Usage

c#
using PeyrSharp.Core.Maths.Geometry;
 
 Rectangle rectangle = new(10, 20); // Creates a 10x20 rectangle
 

Properties

Area

Definition

c#
public double Area { get; }
@@ -53,8 +53,8 @@
 var length = rectangle.Length;
 // length = 20
 

Released under the MIT License.

- - + + \ No newline at end of file diff --git a/docs/core/maths/geometry/sphere.html b/docs/core/maths/geometry/sphere.html index 6138aec..5129def 100644 --- a/docs/core/maths/geometry/sphere.html +++ b/docs/core/maths/geometry/sphere.html @@ -6,15 +6,15 @@ Sphere | PeyrSharp - - - + + + -
Skip to content
On this page

Sphere

This page is about the Sphere class available in PeyrSharp.Core.Maths.Geometry. You can find here all of its constructors and properties.

Compatibility

The Sphere class is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Constructors

Sphere(radius)

Definition

Initializes a Sphere class from a specific radius.

Arguments

TypeNameMeaning
doubleradiusThe radius of the sphere.

WARNING

If radius ≤ 0, a DivideByZeroException will be thrown.

Usage

c#
using PeyrSharp.Core.Maths.Geometry;
+    
Skip to content
On this page

Sphere

This page is about the Sphere class available in PeyrSharp.Core.Maths.Geometry. You can find here all of its constructors and properties.

Compatibility

The Sphere class is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Constructors

Sphere(radius)

Definition

Initializes a Sphere class from a specific radius.

Arguments

TypeNameMeaning
doubleradiusThe radius of the sphere.

WARNING

If radius ≤ 0, a DivideByZeroException will be thrown.

Usage

c#
using PeyrSharp.Core.Maths.Geometry;
 
 Sphere sphere = new(10); // Creates a sphere with a radius of 10
 

Properties

Area

Definition

c#
public double Area { get; }
@@ -39,8 +39,8 @@
 var radius = sphere.Radius;
 // radius = 10
 

Released under the MIT License.

- - + + \ No newline at end of file diff --git a/docs/core/maths/geometry/triangle.html b/docs/core/maths/geometry/triangle.html index 06fd2e8..b65ebfa 100644 --- a/docs/core/maths/geometry/triangle.html +++ b/docs/core/maths/geometry/triangle.html @@ -6,15 +6,15 @@ Triangle | PeyrSharp - - - + + + -
Skip to content
On this page

Triangle

This page is about the Triangle class available in PeyrSharp.Core.Maths.Geometry. You can find here all of its constructors and properties.

Compatibility

The Triangle class is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Constructors

Triangle(side1, side2, side3)

Definition

Initializes a Triangle class from the length of its sides.

Arguments

TypeNameMeaning
doubleside1The length of the first side of the triangle.
doubleside2The length of the second side of the triangle.
doubleside3The length of the third side of the triangle.

WARNING

If side1, side2, or side3 ≤ 0, a DivideByZeroException will be thrown.

Usage

c#
using PeyrSharp.Core.Maths.Geometry;
+    
Skip to content
On this page

Triangle

This page is about the Triangle class available in PeyrSharp.Core.Maths.Geometry. You can find here all of its constructors and properties.

Compatibility

The Triangle class is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Constructors

Triangle(side1, side2, side3)

Definition

Initializes a Triangle class from the length of its sides.

Arguments

TypeNameMeaning
doubleside1The length of the first side of the triangle.
doubleside2The length of the second side of the triangle.
doubleside3The length of the third side of the triangle.

WARNING

If side1, side2, or side3 ≤ 0, a DivideByZeroException will be thrown.

Usage

c#
using PeyrSharp.Core.Maths.Geometry;
 
 Triangle triangle = new(10, 20, 10); // Creates a triangle
 

Triangle(width, height)

Definition

Initializes a Triangle class from a width and height.

Arguments

TypeNameMeaning
doublewidthThe width of the triangle.
doubleheightThe height of the triangle.

Usage

c#
using PeyrSharp.Core.Maths.Geometry;
@@ -92,8 +92,8 @@
 var side3 = triangle.Side3;
 // side3 = 15
 

Released under the MIT License.

- - + + \ No newline at end of file diff --git a/docs/core/maths/percentages.html b/docs/core/maths/percentages.html index 43d8d79..3737a51 100644 --- a/docs/core/maths/percentages.html +++ b/docs/core/maths/percentages.html @@ -6,15 +6,15 @@ Percentages | PeyrSharp - - - + + + -
Skip to content
On this page

Percentages

This page is about the Percentages class available in PeyrSharp.Core.Maths. You can find here all of its methods.

INFO

This class is static.

Compatibility

The Percentages class is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Methods

IncreaseBy(value, increaseRate)

Definition

Returns the value after an increase of x% as a double.

Arguments

TypeNameMeaning
doublevalueThe original value.
doubleincreaseRateThe increase percentage (as x/100d).

Usage

c#
using PeyrSharp.Core.Maths;
+    
Skip to content
On this page

Percentages

This page is about the Percentages class available in PeyrSharp.Core.Maths. You can find here all of its methods.

INFO

This class is static.

Compatibility

The Percentages class is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Methods

IncreaseBy(value, increaseRate)

Definition

Returns the value after an increase of x% as a double.

Arguments

TypeNameMeaning
doublevalueThe original value.
doubleincreaseRateThe increase percentage (as x/100d).

Usage

c#
using PeyrSharp.Core.Maths;
 
 double price = Percentages.IncreaseBy(100, 10/100d); // Increase the price by 10%
 // price = 110
@@ -31,8 +31,8 @@
 double proportion = Percentages.ProportionToPercentageString(0.5);
 // proportion = 50%
 

Released under the MIT License.

- - + + \ No newline at end of file diff --git a/docs/core/maths/proba.html b/docs/core/maths/proba.html index 41d30bf..cc90775 100644 --- a/docs/core/maths/proba.html +++ b/docs/core/maths/proba.html @@ -6,15 +6,15 @@ Proba | PeyrSharp - - - + + + -
Skip to content
On this page

Proba

This page is about the Proba class available in PeyrSharp.Core.Maths. You can find here all of its methods.

INFO

This class is static.

Compatibility

The Proba class is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Methods

GetRandomValue(probabilities)

Definition

Gets a random value based on the specified probabilities. Returns a randomly selected value.

Type parameters

TypeNameMeaning
T-The type of the values to select from.

Parameters

TypeNameMeaning
Dictionary<T, double>probabilitiesA dictionary containing the probability of getting each value.

Exceptions

  • ArgumentException: Thrown if the sum of probabilities is not equal to 1.
  • Exception: Thrown if an unexpected error occurs while selecting a random value.

Usage

c#
using PeyrSharp.Core.Maths;
+    
Skip to content
On this page

Proba

This page is about the Proba class available in PeyrSharp.Core.Maths. You can find here all of its methods.

INFO

This class is static.

Compatibility

The Proba class is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Methods

GetRandomValue(probabilities)

Definition

Gets a random value based on the specified probabilities. Returns a randomly selected value.

Type parameters

TypeNameMeaning
T-The type of the values to select from.

Parameters

TypeNameMeaning
Dictionary<T, double>probabilitiesA dictionary containing the probability of getting each value.

Exceptions

  • ArgumentException: Thrown if the sum of probabilities is not equal to 1.
  • Exception: Thrown if an unexpected error occurs while selecting a random value.

Usage

c#
using PeyrSharp.Core.Maths;
 
 Dictionary<string, double> probabilities = new Dictionary<string, double>
 {
@@ -24,8 +24,8 @@
 
 string result = Proba.GetRandomValue(probabilities);
 

Released under the MIT License.

- - + + \ No newline at end of file diff --git a/docs/core/maths/stats.html b/docs/core/maths/stats.html index e1e6006..072a382 100644 --- a/docs/core/maths/stats.html +++ b/docs/core/maths/stats.html @@ -6,15 +6,15 @@ Stats | PeyrSharp - - - + + + -
Skip to content
On this page

Stats

This page is about the Stats class available in PeyrSharp.Core.Maths. You can find here all of its methods.

INFO

This class is static.

Compatibility

The Stats class is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Methods

Mean(values)

Definition

Returns the mean of a dataset as a double.

Arguments

TypeNameMeaning
List<double>valuesThe dataset to calculate.

Exceptions

TypeMeaning
ArgumentExceptionThrown if the dataset is empty.

Usage

c#
using PeyrSharp.Core.Maths;
+    
Skip to content
On this page

Stats

This page is about the Stats class available in PeyrSharp.Core.Maths. You can find here all of its methods.

INFO

This class is static.

Compatibility

The Stats class is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Methods

Mean(values)

Definition

Returns the mean of a dataset as a double.

Arguments

TypeNameMeaning
List<double>valuesThe dataset to calculate.

Exceptions

TypeMeaning
ArgumentExceptionThrown if the dataset is empty.

Usage

c#
using PeyrSharp.Core.Maths;
 
 List<double> dataset = new List<double> { 1, 2, 3, 4, 5 };
 double mean = Stats.Mean(dataset); // Calculate the mean of the dataset
@@ -30,8 +30,8 @@
 double mode = Stats.Mode(dataset); // Calculate the mode of the dataset
 // mode = 3
 

Released under the MIT License.

- - + + \ No newline at end of file diff --git a/docs/core/maths/trigonometry.html b/docs/core/maths/trigonometry.html index 00ff26e..4705e57 100644 --- a/docs/core/maths/trigonometry.html +++ b/docs/core/maths/trigonometry.html @@ -6,15 +6,15 @@ Trigonometry | PeyrSharp - - - + + + -
Skip to content
On this page

Trigonometry

This page is about the Trigonometry class available in PeyrSharp.Core.Maths. You can find here all of its methods.

INFO

This class is static.

Compatibility

The Trigonometry class is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Methods

GetOpposedSideFrom(triangleSide, angle, value)

Definition

Gets the length of the opposed side of a specific angle, from the length of either the hypotenuse or the adjacent side of the angle.

Arguments

TypeNameMeaning
TriangleSidestriangleSideThe side of the triangle.
doubleangleThe value of the angle.
doublevalueThe length of the chosen side.

WARNING

If triangleSide is equal to TriangleSides.Opposed, an Exception will be thrown.

Usage

c#
using PeyrSharp.Core.Maths;
+    
Skip to content
On this page

Trigonometry

This page is about the Trigonometry class available in PeyrSharp.Core.Maths. You can find here all of its methods.

INFO

This class is static.

Compatibility

The Trigonometry class is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Methods

GetOpposedSideFrom(triangleSide, angle, value)

Definition

Gets the length of the opposed side of a specific angle, from the length of either the hypotenuse or the adjacent side of the angle.

Arguments

TypeNameMeaning
TriangleSidestriangleSideThe side of the triangle.
doubleangleThe value of the angle.
doublevalueThe length of the chosen side.

WARNING

If triangleSide is equal to TriangleSides.Opposed, an Exception will be thrown.

Usage

c#
using PeyrSharp.Core.Maths;
 using PeyrSharp.Enums;
 
 double opposed = Trigonometry.GetOpposedSideFrom(TriangleSides.Adjacent, 1.05, 5);
@@ -30,8 +30,8 @@
 double hypotenuse = Trigonometry.GetHypotenuseFrom(TriangleSides.Opposed, 1.05, 8.71);
 // hypotenuse = 10.041234478169912
 

Released under the MIT License.

- - + + \ No newline at end of file diff --git a/docs/core/password.html b/docs/core/password.html index 1501226..2a27715 100644 --- a/docs/core/password.html +++ b/docs/core/password.html @@ -6,15 +6,15 @@ Password | PeyrSharp - - - + + + -
Skip to content
On this page

Password

This page is about the Password class available in PeyrSharp.Core. You can find here all of its methods.

INFO

This class is static.

Compatibility

The Password class is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Methods

GenerateAsync(length, chars, separator)

Definition

The GenerateAsync() method generates a password of a specific length, with specific characters asynchronously.

Arguments

TypeNameMeaning
intlengthThe length of the password.
stringcharactersThe characters that can be included in the password. Separated with a unique separator.
stringseparatorThe separator used to separate the specified characters.

Usage

c#
using PeyrSharp.Core;
+    
Skip to content
On this page

Password

This page is about the Password class available in PeyrSharp.Core. You can find here all of its methods.

INFO

This class is static.

Compatibility

The Password class is part of the PeyrSharp.Core module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Core
Framework.NET 5.NET 6.NET 7
Core

Methods

GenerateAsync(length, chars, separator)

Definition

The GenerateAsync() method generates a password of a specific length, with specific characters asynchronously.

Arguments

TypeNameMeaning
intlengthThe length of the password.
stringcharactersThe characters that can be included in the password. Separated with a unique separator.
stringseparatorThe separator used to separate the specified characters.

Usage

c#
using PeyrSharp.Core;
 
 private async void Main()
 {
@@ -47,8 +47,8 @@
     List<string> passwords = await Password.GenerateAsync(10, 10, PasswordPresets.Simple);
 }
 

Released under the MIT License.

- - + + \ No newline at end of file diff --git a/docs/enumerations.html b/docs/enumerations.html index bfc31b7..4ef4ce9 100644 --- a/docs/enumerations.html +++ b/docs/enumerations.html @@ -6,15 +6,15 @@ Enumerations | PeyrSharp - - - + + + -
Skip to content
On this page

Enumerations

This page is about the enumerations available in PeyrSharp.Enums. They are grouped by category.

Compatibility

Enumerations are part of the PeyrSharp.Enums module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Enums
Framework.NET 5.NET 6.NET 7
Enums

Converters

StorageUnits

Definition

The StorageUnits enumeration represents all possible numeric storage units. It contains the following values:

ValueNameMeaning
0ByteThe byte unit. (b)
1KilobyteThe kilobyte unit. (kb)
2MegabyteThe megabyte unit. (mb)
3GigabyteThe gigabyte unit. (gb)
4TerabyteThe terabyte unit. (tb)
5PetabyteThe petabyte unit. (pb)

Example

c#
public static double ToPetabyte(double value, StorageUnits unit) 
+    
Skip to content
On this page

Enumerations

This page is about the enumerations available in PeyrSharp.Enums. They are grouped by category.

Compatibility

Enumerations are part of the PeyrSharp.Enums module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Enums
Framework.NET 5.NET 6.NET 7
Enums

Converters

StorageUnits

Definition

The StorageUnits enumeration represents all possible numeric storage units. It contains the following values:

ValueNameMeaning
0ByteThe byte unit. (b)
1KilobyteThe kilobyte unit. (kb)
2MegabyteThe megabyte unit. (mb)
3GigabyteThe gigabyte unit. (gb)
4TerabyteThe terabyte unit. (tb)
5PetabyteThe petabyte unit. (pb)

Example

c#
public static double ToPetabyte(double value, StorageUnits unit) 
 {
     if (unit == StorageUnits.Terabyte)
     {
@@ -84,8 +84,8 @@
     }
 }
 

Released under the MIT License.

- - + + \ No newline at end of file diff --git a/docs/env.html b/docs/env.html index 2647ba6..c14ecc7 100644 --- a/docs/env.html +++ b/docs/env.html @@ -6,17 +6,17 @@ Env | PeyrSharp - - - + + +
Skip to content
On this page

Env

This page is about the PeyrSharp.Env module.

Compatibility

The PeyrSharp.Env module is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Env⚠️⚠️
Framework.NET 5.NET 6.NET 7
Env

WARNING

Some methods, classes or features of PeyrSharp.Env might not be available in all platforms.

Classes

Released under the MIT License.

- - + + \ No newline at end of file diff --git a/docs/env/filesys.html b/docs/env/filesys.html index 9785b65..c4842b9 100644 --- a/docs/env/filesys.html +++ b/docs/env/filesys.html @@ -6,9 +6,9 @@ FileSys | PeyrSharp - - - + + + @@ -110,8 +110,8 @@ string computerName = FileSys.ComputerName;

Released under the MIT License.

- - + + \ No newline at end of file diff --git a/docs/env/logger.html b/docs/env/logger.html index 8b19614..7fb93fa 100644 --- a/docs/env/logger.html +++ b/docs/env/logger.html @@ -6,9 +6,9 @@ Logger | PeyrSharp - - - + + + @@ -20,8 +20,8 @@ // The line above will generate a file with the following content: // [10/31/2022 09:23:18] Hello

Released under the MIT License.

- - + + \ No newline at end of file diff --git a/docs/env/system.html b/docs/env/system.html index 63b8119..57ae4a5 100644 --- a/docs/env/system.html +++ b/docs/env/system.html @@ -6,9 +6,9 @@ Sys | PeyrSharp - - - + + + @@ -99,8 +99,8 @@ int unixTime = Sys.UnixTime;

Released under the MIT License.

- - + + \ No newline at end of file diff --git a/docs/env/update.html b/docs/env/update.html index e6780e8..605525a 100644 --- a/docs/env/update.html +++ b/docs/env/update.html @@ -6,9 +6,9 @@ Update | PeyrSharp - - - + + + @@ -33,8 +33,8 @@ : "You are up-to-date."); }

Released under the MIT License.

- - + + \ No newline at end of file diff --git a/docs/exceptions.html b/docs/exceptions.html index 92a7de2..172e16c 100644 --- a/docs/exceptions.html +++ b/docs/exceptions.html @@ -6,15 +6,15 @@ Exceptions | PeyrSharp - - - + + + -
Skip to content
On this page

Exceptions

This page is about the exceptions available in PeyrSharp.Exceptions. They are grouped by category.

Compatibility

Exceptions are part of the PeyrSharp.Exceptions module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Exceptions
Framework.NET 5.NET 6.NET 7
Exceptions

Converters

RGBInvalidValueException

Definition

The RGBInvalidValueException is an exception used in the Converters class when you provide an invalid value for a RGB color.

Usage

c#
using PeyrSharp.Exceptions;
+    
Skip to content
On this page

Exceptions

This page is about the exceptions available in PeyrSharp.Exceptions. They are grouped by category.

Compatibility

Exceptions are part of the PeyrSharp.Exceptions module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Exceptions
Framework.NET 5.NET 6.NET 7
Exceptions

Converters

RGBInvalidValueException

Definition

The RGBInvalidValueException is an exception used in the Converters class when you provide an invalid value for a RGB color.

Usage

c#
using PeyrSharp.Exceptions;
 
 throw new RGBInvalidValueException("Please provide correct RGB values.");
 

HEXInvalidValueException

Definition

The HEXInvalidValueException is an exception used in the Converters class when you provide an invalid value for a HEX color.

Usage

c#
using PeyrSharp.Exceptions;
@@ -30,8 +30,8 @@
     throw new InvalidGuidLengthException("The length of a Guid must be between 1 and 32.");
 }
 

Released under the MIT License.

- - + + \ No newline at end of file diff --git a/docs/extensions.html b/docs/extensions.html index ce67c7a..0d13947 100644 --- a/docs/extensions.html +++ b/docs/extensions.html @@ -6,17 +6,17 @@ Extensions | PeyrSharp - - - + + +
Skip to content
On this page

Extensions

This page is about the PeyrSharp.Extensions module.

Compatibility

The PeyrSharp.Extensions module is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
Extensions
Framework.NET 5.NET 6.NET 7
Extensions

Classes

Released under the MIT License.

- - + + \ No newline at end of file diff --git a/docs/extensions/array.html b/docs/extensions/array.html index 0b6b360..70462a4 100644 --- a/docs/extensions/array.html +++ b/docs/extensions/array.html @@ -6,9 +6,9 @@ ArrayExtensions | PeyrSharp - - - + + + @@ -40,8 +40,8 @@ string final = array.UnSplit(", "); // Concatenate the elements of the array with a comma and a space as a separator // final = "a, b, c, d"

Released under the MIT License.

- - + + \ No newline at end of file diff --git a/docs/extensions/double.html b/docs/extensions/double.html index 0c073ac..7a3de32 100644 --- a/docs/extensions/double.html +++ b/docs/extensions/double.html @@ -6,9 +6,9 @@ DoubleExtensions | PeyrSharp - - - + + + @@ -63,8 +63,8 @@ double petabyte = 1000.ToPetabyte(StorageUnits.Terabyte); // petabyte = 1

Released under the MIT License.

- - + + \ No newline at end of file diff --git a/docs/extensions/int.html b/docs/extensions/int.html index 62562fe..4f063a9 100644 --- a/docs/extensions/int.html +++ b/docs/extensions/int.html @@ -6,9 +6,9 @@ IntExtensions | PeyrSharp - - - + + + @@ -24,8 +24,8 @@ double d = 16.ToDouble(); // 16.0d

Released under the MIT License.

- - + + \ No newline at end of file diff --git a/docs/extensions/string.html b/docs/extensions/string.html index 946849d..fcb2593 100644 --- a/docs/extensions/string.html +++ b/docs/extensions/string.html @@ -6,9 +6,9 @@ StringExtensions | PeyrSharp - - - + + + @@ -60,9 +60,13 @@ string str = "test"; string upper = str.ToUpperAt(); // Uppercase the first letter of the string // upper = "Test" +

Reverse(input)

Definition

Reverses a string.

Arguments

TypeNameDescription
stringinputThe string to reverse.

Returns

A string representing the reversed input.

Usage

c#
using PeyrSharp.Extensions;
+
+string reversed = "Hello, world!".Reverse();
+// Output: "!dlrow ,olleH"
 

Released under the MIT License.

- - + + \ No newline at end of file diff --git a/docs/get-started.html b/docs/get-started.html index a810460..65ec907 100644 --- a/docs/get-started.html +++ b/docs/get-started.html @@ -6,15 +6,15 @@ Get Started | PeyrSharp - - - + + + -
Skip to content
On this page

Get Started

Packages and modules

Before installing PeyrSharp, you may want to consider what features you will actually need to use in your project. Indeed, PeyrSharp is divided in multiple modules and packages.

If you think you need all the features of PeyrSharp, you can directly install the PeyrSharp NuGet package. However, you can also install the packages that you only need in your project. Here's a list of all the packages and their features:

PeyrSharp, the main package, that contains all of the followings:

PeyrSharp.Core, the basic methods and features of C#
  • Maths
  • Password
  • Guid
  • Converters
  • Internet
  • Crypt
PeyrSharp.Env, methods related to the file system and to the current execution environment.
  • FileSys
  • Logger
  • Update
  • System
PeyrSharp.Enums, all enumerations used by PeyrSharp
  • WindowsVersion
  • TimeUnits
  • SystemThemes
  • OperatingSystems
  • StorageUnits
  • ControlAlignment
  • PasswordPresets
  • PasswordStrength
PeyrSharp.Exceptions, all exceptions used by PeyrSharp
  • RGBInvalidValueException
  • HEXInvalidValueException
  • InvalidGuidLengthException
PeyrSharp.Extensions, extension methods, that extends basic types, such as string, int, double or arrays (T[]).
  • String
  • Int
  • Double
  • Array (T[])
PeyrSharp.UiHelpers, methods related to Windows Forms or to the Windows Presentation Framework (WPF).
  • WinForms
  • Screen
  • WPF

Compatibility

Platforms

Some modules of PeyrSharp are targeting features only available in specific operating systems. Thus, some packages aren't available on all platforms.

Package/PlatformWindowsmacOSLinux + others
Core
Env⚠️⚠️
Enums
Exceptions
Extensions
UiHelpers

Caption:

  • ✅ Full Support
  • ⚠️ Partial Support
  • ❌ Unsupported platform

Frameworks

PeyrSharp is available in the following frameworks

  • .NET 5
  • .NET 6
  • .NET 7 (soon)

INFO

.NET Framework and .NET Core are not targeted by PeyrSharp, since they are no longer supported.

Installation methods

PeyrShall is available on NuGet, you can install it by running the following command:

.NET CLI

You can add PeyrSharp to your project the .NET CLI.

powershell
dotnet add package PeyrSharp --version 1.0.0.2211
+    
Skip to content
On this page

Get Started

Packages and modules

Before installing PeyrSharp, you may want to consider what features you will actually need to use in your project. Indeed, PeyrSharp is divided in multiple modules and packages.

If you think you need all the features of PeyrSharp, you can directly install the PeyrSharp NuGet package. However, you can also install the packages that you only need in your project. Here's a list of all the packages and their features:

PeyrSharp, the main package, that contains all of the followings:

PeyrSharp.Core, the basic methods and features of C#
  • Maths
  • Password
  • Guid
  • Converters
  • Internet
  • Crypt
PeyrSharp.Env, methods related to the file system and to the current execution environment.
  • FileSys
  • Logger
  • Update
  • System
PeyrSharp.Enums, all enumerations used by PeyrSharp
  • WindowsVersion
  • TimeUnits
  • SystemThemes
  • OperatingSystems
  • StorageUnits
  • ControlAlignment
  • PasswordPresets
  • PasswordStrength
PeyrSharp.Exceptions, all exceptions used by PeyrSharp
  • RGBInvalidValueException
  • HEXInvalidValueException
  • InvalidGuidLengthException
PeyrSharp.Extensions, extension methods, that extends basic types, such as string, int, double or arrays (T[]).
  • String
  • Int
  • Double
  • Array (T[])
PeyrSharp.UiHelpers, methods related to Windows Forms or to the Windows Presentation Framework (WPF).
  • WinForms
  • Screen
  • WPF

Compatibility

Platforms

Some modules of PeyrSharp are targeting features only available in specific operating systems. Thus, some packages aren't available on all platforms.

Package/PlatformWindowsmacOSLinux + others
Core
Env⚠️⚠️
Enums
Exceptions
Extensions
UiHelpers

Caption:

  • ✅ Full Support
  • ⚠️ Partial Support
  • ❌ Unsupported platform

Frameworks

PeyrSharp is available in the following frameworks

  • .NET 5
  • .NET 6
  • .NET 7 (soon)

INFO

.NET Framework and .NET Core are not targeted by PeyrSharp, since they are no longer supported.

Installation methods

PeyrShall is available on NuGet, you can install it by running the following command:

.NET CLI

You can add PeyrSharp to your project the .NET CLI.

powershell
dotnet add package PeyrSharp --version 1.0.0.2211
 

Package Manager

sh
NuGet\Install-Package PeyrSharp -Version 1.0.0.2211
 

Package Reference

You can specify in your project file that it is dependent on PeyrSharp.

xml
<PackageReference Include="PeyrSharp" Version="1.0.0.2211" />
 

Start coding

To call methods and classes included in PeyrSharp, you will need to add the corresponding using directives in your code file.

c#
using PeyrSharp.Core;
@@ -24,8 +24,8 @@
 using PeyrSharp.Extensions;
 using PeyrSharp.UiHelpers; // Windows only
 

For more information, you can check the reference

Released under the MIT License.

- - + + \ No newline at end of file diff --git a/docs/hashmap.json b/docs/hashmap.json index 2c82a0f..e381652 100644 --- a/docs/hashmap.json +++ b/docs/hashmap.json @@ -1 +1 @@ -{"core_maths_geometry_cone.md":"5b7b2d78","intro.md":"8a85d646","exceptions.md":"cec75bf5","core_maths.md":"6e32568b","core_converters_distances.md":"0b27765f","extensions_double.md":"14b4fe90","index.md":"383dec15","core_converters_temperatures.md":"d9263d26","env_logger.md":"8c6098c4","core_maths_geometry_circle.md":"3c91ea9b","core_maths_geometry_triangle.md":"4250f88f","core_converters_volumes.md":"02f95916","core_converters_angle.md":"a13ad9f0","ui-helpers.md":"7e42d982","core_maths_trigonometry.md":"6c8afe8f","env.md":"ecb47db7","core_maths_proba.md":"4ae3fd10","core_maths_algebra.md":"da74351b","core_maths_geometry_sphere.md":"dcc16c8e","ui-helpers_screen.md":"c0437561","core_converters_colors_rgb.md":"a2d7683a","core_maths_geometry_diamond.md":"9a70f7ed","extensions.md":"59dc1d1a","core_maths_geometry_hexagon.md":"d81e4ccc","env_update.md":"e863723d","extensions_string.md":"3e188166","core_maths_geometry.md":"3c0f6ca8","core_converters.md":"208ac152","reference.md":"5a9bbb16","core_converters_storage.md":"40076c1b","extensions_int.md":"0142a952","core_guid.md":"0dd4df84","core_maths_percentages.md":"77d6acbf","core.md":"61afda0b","core_maths_geometry_rectangle.md":"dcc3fb10","core_converters_colors_hex.md":"f7081e85","ui-helpers_wpf.md":"3b2a1ef3","core_converters_masses.md":"dc308869","core_internet.md":"4ff06698","get-started.md":"73a3e687","core_guid-options.md":"815e80a9","core_maths_geometry_pyramid.md":"a51ccb18","extensions_array.md":"601190ae","core_maths_stats.md":"311546d5","core_converters_time.md":"08c6b723","core_password.md":"25b0476c","core_converters_colors_hsv.md":"294632d5","core_crypt.md":"1ef3b08e","core_maths_geometry_cylinder.md":"00c0788a","env_system.md":"6990eaa0","enumerations.md":"28ad747b","core_maths_geometry_cube.md":"fc31c497","ui-helpers_winforms.md":"95067b73","env_filesys.md":"346e8ea3"} +{"core.md":"4c5769d2","ui-helpers_wpf.md":"9d31d410","index.md":"46db3f62","reference.md":"4b442623","core_converters_masses.md":"45fd008c","ui-helpers.md":"b6c56fb7","core_converters_colors_rgb.md":"0d0753c5","extensions_string.md":"2ac5e57a","core_converters_time.md":"bad1b8a2","exceptions.md":"301c0fc6","env_logger.md":"6ca267bc","extensions_int.md":"1d17f472","env.md":"0d17efb2","core_internet.md":"8175550b","intro.md":"ce085772","get-started.md":"3bfc0231","core_maths_stats.md":"1f44f5ce","core_maths_geometry.md":"81cbe2ef","core_maths_geometry_hexagon.md":"06dcaf3d","ui-helpers_winforms.md":"eb41587d","extensions.md":"3f3fc972","core_maths_geometry_sphere.md":"0c08689a","core_maths_trigonometry.md":"9478a332","core_converters.md":"b77286f0","core_password.md":"1a5accef","core_maths_geometry_circle.md":"622ecf04","env_system.md":"31029601","enumerations.md":"bdc50c02","core_maths_algebra.md":"fe772d84","core_maths_geometry_cylinder.md":"0e79668f","core_converters_colors_hex.md":"0273f5df","core_converters_angle.md":"1168232a","core_maths.md":"09c7dd16","extensions_array.md":"f7468d5f","core_guid.md":"375a4bd5","extensions_double.md":"b911130a","env_filesys.md":"f69d4e20","core_maths_percentages.md":"90396ab6","env_update.md":"fa40c5fb","core_maths_geometry_diamond.md":"bc39b351","core_converters_storage.md":"7a5a0f3f","core_guid-options.md":"ed8b2a25","core_maths_proba.md":"91605011","core_maths_geometry_pyramid.md":"bd0d6815","core_maths_geometry_rectangle.md":"21a49f5e","core_converters_distances.md":"50bdb5aa","core_maths_geometry_triangle.md":"e7310ace","core_converters_speeds.md":"d558da31","core_maths_geometry_cone.md":"26054aa4","core_converters_temperatures.md":"93c34b05","core_crypt.md":"2fee6d2c","core_converters_volumes.md":"08ea23f9","core_converters_energies.md":"ef21c88c","core_converters_colors_hsv.md":"85c1fdfd","ui-helpers_screen.md":"c61eda88","core_maths_geometry_cube.md":"c4f83871"} diff --git a/docs/index.html b/docs/index.html index f94773a..129a72e 100644 --- a/docs/index.html +++ b/docs/index.html @@ -6,17 +6,17 @@ PeyrSharp | A C# library designed to make developers' job easier. - - - + + +
Skip to content

PeyrSharp

Made for you.

A C# library designed to make developers' job easier.

PeyrSharp

Easy-to-use

Using PeyrSharp in a project is very easy and intuitive.

🚀

.NET Powered

PeyrSharp is built using C# and .NET. It's available for projects targeting .NET 5 and higher.

🖥️

Cross-Platform

PeyrSharp is compatible with every operating systems that .NET supports.

Released under the MIT License.

- - + + \ No newline at end of file diff --git a/docs/intro.html b/docs/intro.html index 221aec3..3654aa4 100644 --- a/docs/intro.html +++ b/docs/intro.html @@ -6,17 +6,17 @@ Introduction | PeyrSharp - - - + + +
Skip to content
On this page

Introduction

The roots

In March 2020, we published LeoCorpLibrary, which was also a C# library that contains useful methods. When we started the development of it, we didn't know where the project will go yet. Over the releases, we've added more and more methods and new features. However, the meaning and the purpose of LeoCorpLibrary was becoming less clear for everyone; it was becoming a mess. This is why we decided to rather not release v5, but instead, we decided to make a brand new .NET Library, PeyrSharp.

Our next product

PeyrSharp is a C# written library designed to make developers' life easier. We've all written code that we wish we hadn't. PeyrSharp is here to respond to this need; by implementing useful methods in various domains: Mathematics, Web/HTTP requests, unit converters, extensions, environment-related operations, and more!

Modules

PeyrSharp is divided in multiple packages:

PeyrSharp, the main package, that contains all of the followings:

PeyrSharp.Core, the basic methods and features of C#
  • Maths
  • Password
  • Guid
  • Converters
  • Internet
  • Crypt
PeyrSharp.Env, methods related to the file system and to the current execution environment.
  • FileSys
  • Logger
  • Update
  • System
PeyrSharp.Enums, all enumerations used by PeyrSharp
  • WindowsVersion
  • TimeUnits
  • SystemThemes
  • OperatingSystems
  • StorageUnits
  • ControlAlignment
  • PasswordPresets
  • PasswordStrength
PeyrSharp.Exceptions, all exceptions used by PeyrSharp
  • RGBInvalidValueException
  • HEXInvalidValueException
  • InvalidGuidLengthException
PeyrSharp.Extensions, extension methods, that extends basic types, such as string, int, double or arrays (T[]).
  • String
  • Int
  • Double
  • Array (T[])
PeyrSharp.UiHelpers, methods related to Windows Forms or to the Windows Presentation Framework (WPF).
  • WinForms
  • Screen
  • WPF

Compatibility

Platforms

Some modules of PeyrSharp are targeting features only available in specific operating systems. Thus, some packages aren't available on all platform.

Package/PlatformWindowsmacOSLinux + others
Core
Env⚠️⚠️
Enums
Exceptions
Extensions
UiHelpers

Caption:

  • ✅ Full Support
  • ⚠️ Partial Support
  • ❌ Unsupported platform

Frameworks

PeyrSharp is available in the following frameworks

  • .NET 5
  • .NET 6
  • .NET 7 (soon)

NOTE

.NET Framework and .NET Core are not targeted by PeyrSharp, since they are no longer supported.

Released under the MIT License.

- - + + \ No newline at end of file diff --git a/docs/reference.html b/docs/reference.html index 766c318..9b86585 100644 --- a/docs/reference.html +++ b/docs/reference.html @@ -6,17 +6,17 @@ Reference | PeyrSharp - - - + + + - - - + + + \ No newline at end of file diff --git a/docs/ui-helpers.html b/docs/ui-helpers.html index 3419467..b968d91 100644 --- a/docs/ui-helpers.html +++ b/docs/ui-helpers.html @@ -6,17 +6,17 @@ UiHelpers | PeyrSharp - - - + + +
Skip to content
On this page

UiHelpers

This page is about the exceptions available in PeyrSharp.UiHelpers. They are grouped by category.

Compatibility

UiHelpers are part of the PeyrSharp.UiHelpers module, which is compatible with all of these frameworks and platforms:

Package/PlatformWindowsmacOSLinux + others
UiHelpers
Framework.NET 5.NET 6.NET 7
UiHelpers

Classes

Released under the MIT License.

- - + + \ No newline at end of file diff --git a/docs/ui-helpers/screen.html b/docs/ui-helpers/screen.html index 65d0386..5e756b3 100644 --- a/docs/ui-helpers/screen.html +++ b/docs/ui-helpers/screen.html @@ -6,9 +6,9 @@ Screen | PeyrSharp - - - + + + @@ -59,8 +59,8 @@ } }

Released under the MIT License.

- - + + \ No newline at end of file diff --git a/docs/ui-helpers/winforms.html b/docs/ui-helpers/winforms.html index 0ef5742..a5f8897 100644 --- a/docs/ui-helpers/winforms.html +++ b/docs/ui-helpers/winforms.html @@ -6,9 +6,9 @@ WinForms | PeyrSharp - - - + + + @@ -54,8 +54,8 @@ } }

Released under the MIT License.

- - + + \ No newline at end of file diff --git a/docs/ui-helpers/wpf.html b/docs/ui-helpers/wpf.html index 2cb248d..87e908f 100644 --- a/docs/ui-helpers/wpf.html +++ b/docs/ui-helpers/wpf.html @@ -6,9 +6,9 @@ WPF | PeyrSharp - - - + + + @@ -19,8 +19,8 @@ Window window = new Window(); WpfHelpers.CenterWindow(window); // Center the window on the primary screen

Released under the MIT License.

- - + + \ No newline at end of file