@tanglemedia/directus-collection-testimonial 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js ADDED
@@ -0,0 +1,34 @@
1
+ "use strict";var e=require("url"),t=require("util"),n=require("stream"),i=require("path"),a=require("http"),r=require("https"),o=require("fs"),s=require("crypto"),c=require("assert"),l=require("tty"),u=require("os"),p=require("zlib"),d=require("events"),f=require("child_process"),m=require("node:path");function h(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function g(e){if(e.__esModule)return e;var t=e.default;if("function"==typeof t){var n=function e(){return this instanceof e?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(t){var i=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,i.get?i:{enumerable:!0,get:function(){return e[t]}})}),n}
2
+ /**
3
+ * @vue/shared v3.5.13
4
+ * (c) 2018-present Yuxi (Evan) You and Vue contributors
5
+ * @license MIT
6
+ **/
7
+ /*! #__NO_SIDE_EFFECTS__ */function v(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return e=>e in t}const b={},y=()=>{},x=Object.assign,_=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},w=Object.prototype.hasOwnProperty,O=(e,t)=>w.call(e,t),A=Array.isArray,R=e=>"[object Map]"===N(e),k=e=>"[object Set]"===N(e),S=e=>"function"==typeof e,E=e=>"string"==typeof e,j=e=>"symbol"==typeof e,T=e=>null!==e&&"object"==typeof e,C=Object.prototype.toString,N=e=>C.call(e),$=e=>"[object Object]"===N(e),F=e=>E(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,I=(e,t)=>!Object.is(e,t);let L;const P=()=>L||(L="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{});
8
+ /**
9
+ * @vue/reactivity v3.5.13
10
+ * (c) 2018-present Yuxi (Evan) You and Vue contributors
11
+ * @license MIT
12
+ **/
13
+ let D,U;class B{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=D,!e&&D&&(this.index=(D.scopes||(D.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){let e,t;if(this._isPaused=!0,this.scopes)for(e=0,t=this.scopes.length;e<t;e++)this.scopes[e].pause();for(e=0,t=this.effects.length;e<t;e++)this.effects[e].pause()}}resume(){if(this._active&&this._isPaused){let e,t;if(this._isPaused=!1,this.scopes)for(e=0,t=this.scopes.length;e<t;e++)this.scopes[e].resume();for(e=0,t=this.effects.length;e<t;e++)this.effects[e].resume()}}run(e){if(this._active){const t=D;try{return D=this,e()}finally{D=t}}}on(){D=this}off(){D=this.parent}stop(e){if(this._active){let t,n;for(this._active=!1,t=0,n=this.effects.length;t<n;t++)this.effects[t].stop();for(this.effects.length=0,t=0,n=this.cleanups.length;t<n;t++)this.cleanups[t]();if(this.cleanups.length=0,this.scopes){for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!e){const e=this.parent.scopes.pop();e&&e!==this&&(this.parent.scopes[this.index]=e,e.index=this.index)}this.parent=void 0}}}function M(){return D}const z=new WeakSet;class q{constructor(e){this.fn=e,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,D&&D.active&&D.effects.push(this)}pause(){this.flags|=64}resume(){64&this.flags&&(this.flags&=-65,z.has(this)&&(z.delete(this),this.trigger()))}notify(){2&this.flags&&!(32&this.flags)||8&this.flags||V(this)}run(){if(!(1&this.flags))return this.fn();this.flags|=2,oe(this),X(this);const e=U,t=ne;U=this,ne=!0;try{return this.fn()}finally{Y(this),U=e,ne=t,this.flags&=-3}}stop(){if(1&this.flags){for(let e=this.deps;e;e=e.nextDep)ee(e);this.deps=this.depsTail=void 0,oe(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){64&this.flags?z.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){J(this)&&this.run()}get dirty(){return J(this)}}let G,H,W=0;function V(e,t=!1){if(e.flags|=8,t)return e.next=H,void(H=e);e.next=G,G=e}function Z(){W++}function K(){if(--W>0)return;if(H){let e=H;for(H=void 0;e;){const t=e.next;e.next=void 0,e.flags&=-9,e=t}}let e;for(;G;){let t=G;for(G=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,1&t.flags)try{t.trigger()}catch(t){e||(e=t)}t=n}}if(e)throw e}function X(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Y(e){let t,n=e.depsTail,i=n;for(;i;){const e=i.prevDep;-1===i.version?(i===n&&(n=e),ee(i),te(i)):t=i,i.dep.activeLink=i.prevActiveLink,i.prevActiveLink=void 0,i=e}e.deps=t,e.depsTail=n}function J(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Q(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Q(e){if(4&e.flags&&!(16&e.flags))return;if(e.flags&=-17,e.globalVersion===se)return;e.globalVersion=se;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!J(e))return void(e.flags&=-3);const n=U,i=ne;U=e,ne=!0;try{X(e);const n=e.fn(e._value);(0===t.version||I(n,e._value))&&(e._value=n,t.version++)}catch(e){throw t.version++,e}finally{U=n,ne=i,Y(e),e.flags&=-3}}function ee(e,t=!1){const{dep:n,prevSub:i,nextSub:a}=e;if(i&&(i.nextSub=a,e.prevSub=void 0),a&&(a.prevSub=i,e.nextSub=void 0),n.subs===e&&(n.subs=i,!i&&n.computed)){n.computed.flags&=-5;for(let e=n.computed.deps;e;e=e.nextDep)ee(e,!0)}t||--n.sc||!n.map||n.map.delete(n.key)}function te(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let ne=!0;const ie=[];function ae(){ie.push(ne),ne=!1}function re(){const e=ie.pop();ne=void 0===e||e}function oe(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const e=U;U=void 0;try{t()}finally{U=e}}}let se=0;class ce{constructor(e,t){this.sub=e,this.dep=t,this.version=t.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class le{constructor(e){this.computed=e,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0}track(e){if(!U||!ne||U===this.computed)return;let t=this.activeLink;if(void 0===t||t.sub!==U)t=this.activeLink=new ce(U,this),U.deps?(t.prevDep=U.depsTail,U.depsTail.nextDep=t,U.depsTail=t):U.deps=U.depsTail=t,ue(t);else if(-1===t.version&&(t.version=this.version,t.nextDep)){const e=t.nextDep;e.prevDep=t.prevDep,t.prevDep&&(t.prevDep.nextDep=e),t.prevDep=U.depsTail,t.nextDep=void 0,U.depsTail.nextDep=t,U.depsTail=t,U.deps===t&&(U.deps=e)}return t}trigger(e){this.version++,se++,this.notify(e)}notify(e){Z();try{0;for(let e=this.subs;e;e=e.prevSub)e.sub.notify()&&e.sub.dep.notify()}finally{K()}}}function ue(e){if(e.dep.sc++,4&e.sub.flags){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let e=t.deps;e;e=e.nextDep)ue(e)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const pe=new WeakMap,de=Symbol(""),fe=Symbol(""),me=Symbol("");function he(e,t,n){if(ne&&U){let t=pe.get(e);t||pe.set(e,t=new Map);let i=t.get(n);i||(t.set(n,i=new le),i.map=t,i.key=n),i.track()}}function ge(e,t,n,i,a,r){const o=pe.get(e);if(!o)return void se++;const s=e=>{e&&e.trigger()};if(Z(),"clear"===t)o.forEach(s);else{const a=A(e),r=a&&F(n);if(a&&"length"===n){const e=Number(i);o.forEach((t,n)=>{("length"===n||n===me||!j(n)&&n>=e)&&s(t)})}else switch((void 0!==n||o.has(void 0))&&s(o.get(n)),r&&s(o.get(me)),t){case"add":a?r&&s(o.get("length")):(s(o.get(de)),R(e)&&s(o.get(fe)));break;case"delete":a||(s(o.get(de)),R(e)&&s(o.get(fe)));break;case"set":R(e)&&s(o.get(de))}}K()}function ve(e){const t=Qe(e);return t===e?t:(he(t,0,me),Ye(e)?t:t.map(tt))}function be(e){return he(e=Qe(e),0,me),e}const ye={__proto__:null,[Symbol.iterator](){return xe(this,Symbol.iterator,tt)},concat(...e){return ve(this).concat(...e.map(e=>A(e)?ve(e):e))},entries(){return xe(this,"entries",e=>(e[1]=tt(e[1]),e))},every(e,t){return we(this,"every",e,t,void 0,arguments)},filter(e,t){return we(this,"filter",e,t,e=>e.map(tt),arguments)},find(e,t){return we(this,"find",e,t,tt,arguments)},findIndex(e,t){return we(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return we(this,"findLast",e,t,tt,arguments)},findLastIndex(e,t){return we(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return we(this,"forEach",e,t,void 0,arguments)},includes(...e){return Ae(this,"includes",e)},indexOf(...e){return Ae(this,"indexOf",e)},join(e){return ve(this).join(e)},lastIndexOf(...e){return Ae(this,"lastIndexOf",e)},map(e,t){return we(this,"map",e,t,void 0,arguments)},pop(){return Re(this,"pop")},push(...e){return Re(this,"push",e)},reduce(e,...t){return Oe(this,"reduce",e,t)},reduceRight(e,...t){return Oe(this,"reduceRight",e,t)},shift(){return Re(this,"shift")},some(e,t){return we(this,"some",e,t,void 0,arguments)},splice(...e){return Re(this,"splice",e)},toReversed(){return ve(this).toReversed()},toSorted(e){return ve(this).toSorted(e)},toSpliced(...e){return ve(this).toSpliced(...e)},unshift(...e){return Re(this,"unshift",e)},values(){return xe(this,"values",tt)}};function xe(e,t,n){const i=be(e),a=i[t]();return i===e||Ye(e)||(a._next=a.next,a.next=()=>{const e=a._next();return e.value&&(e.value=n(e.value)),e}),a}const _e=Array.prototype;function we(e,t,n,i,a,r){const o=be(e),s=o!==e&&!Ye(e),c=o[t];if(c!==_e[t]){const t=c.apply(e,r);return s?tt(t):t}let l=n;o!==e&&(s?l=function(t,i){return n.call(this,tt(t),i,e)}:n.length>2&&(l=function(t,i){return n.call(this,t,i,e)}));const u=c.call(o,l,i);return s&&a?a(u):u}function Oe(e,t,n,i){const a=be(e);let r=n;return a!==e&&(Ye(e)?n.length>3&&(r=function(t,i,a){return n.call(this,t,i,a,e)}):r=function(t,i,a){return n.call(this,t,tt(i),a,e)}),a[t](r,...i)}function Ae(e,t,n){const i=Qe(e);he(i,0,me);const a=i[t](...n);return-1!==a&&!1!==a||!Je(n[0])?a:(n[0]=Qe(n[0]),i[t](...n))}function Re(e,t,n=[]){ae(),Z();const i=Qe(e)[t].apply(e,n);return K(),re(),i}const ke=v("__proto__,__v_isRef,__isVue"),Se=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>"arguments"!==e&&"caller"!==e).map(e=>Symbol[e]).filter(j));function Ee(e){j(e)||(e=String(e));const t=Qe(this);return he(t,0,e),t.hasOwnProperty(e)}class je{constructor(e=!1,t=!1){this._isReadonly=e,this._isShallow=t}get(e,t,n){if("__v_skip"===t)return e.__v_skip;const i=this._isReadonly,a=this._isShallow;if("__v_isReactive"===t)return!i;if("__v_isReadonly"===t)return i;if("__v_isShallow"===t)return a;if("__v_raw"===t)return n===(i?a?Ge:qe:a?ze:Me).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;const r=A(e);if(!i){let e;if(r&&(e=ye[t]))return e;if("hasOwnProperty"===t)return Ee}const o=Reflect.get(e,t,it(e)?e:n);return(j(t)?Se.has(t):ke(t))?o:(i||he(e,0,t),a?o:it(o)?r&&F(t)?o:o.value:T(o)?i?Ve(o):We(o):o)}}class Te extends je{constructor(e=!1){super(!1,e)}set(e,t,n,i){let a=e[t];if(!this._isShallow){const t=Xe(a);if(Ye(n)||Xe(n)||(a=Qe(a),n=Qe(n)),!A(e)&&it(a)&&!it(n))return!t&&(a.value=n,!0)}const r=A(e)&&F(t)?Number(t)<e.length:O(e,t),o=Reflect.set(e,t,n,it(e)?e:i);return e===Qe(i)&&(r?I(n,a)&&ge(e,"set",t,n):ge(e,"add",t,n)),o}deleteProperty(e,t){const n=O(e,t);e[t];const i=Reflect.deleteProperty(e,t);return i&&n&&ge(e,"delete",t,void 0),i}has(e,t){const n=Reflect.has(e,t);return j(t)&&Se.has(t)||he(e,0,t),n}ownKeys(e){return he(e,0,A(e)?"length":de),Reflect.ownKeys(e)}}class Ce extends je{constructor(e=!1){super(!0,e)}set(e,t){return!0}deleteProperty(e,t){return!0}}const Ne=new Te,$e=new Ce,Fe=e=>e,Ie=e=>Reflect.getPrototypeOf(e);function Le(e){return function(...t){return"delete"!==e&&("clear"===e?void 0:this)}}function Pe(e,t){const n={get(n){const i=this.__v_raw,a=Qe(i),r=Qe(n);e||(I(n,r)&&he(a,0,n),he(a,0,r));const{has:o}=Ie(a),s=t?Fe:e?nt:tt;return o.call(a,n)?s(i.get(n)):o.call(a,r)?s(i.get(r)):void(i!==a&&i.get(n))},get size(){const t=this.__v_raw;return!e&&he(Qe(t),0,de),Reflect.get(t,"size",t)},has(t){const n=this.__v_raw,i=Qe(n),a=Qe(t);return e||(I(t,a)&&he(i,0,t),he(i,0,a)),t===a?n.has(t):n.has(t)||n.has(a)},forEach(n,i){const a=this,r=a.__v_raw,o=Qe(r),s=t?Fe:e?nt:tt;return!e&&he(o,0,de),r.forEach((e,t)=>n.call(i,s(e),s(t),a))}};x(n,e?{add:Le("add"),set:Le("set"),delete:Le("delete"),clear:Le("clear")}:{add(e){t||Ye(e)||Xe(e)||(e=Qe(e));const n=Qe(this);return Ie(n).has.call(n,e)||(n.add(e),ge(n,"add",e,e)),this},set(e,n){t||Ye(n)||Xe(n)||(n=Qe(n));const i=Qe(this),{has:a,get:r}=Ie(i);let o=a.call(i,e);o||(e=Qe(e),o=a.call(i,e));const s=r.call(i,e);return i.set(e,n),o?I(n,s)&&ge(i,"set",e,n):ge(i,"add",e,n),this},delete(e){const t=Qe(this),{has:n,get:i}=Ie(t);let a=n.call(t,e);a||(e=Qe(e),a=n.call(t,e)),i&&i.call(t,e);const r=t.delete(e);return a&&ge(t,"delete",e,void 0),r},clear(){const e=Qe(this),t=0!==e.size,n=e.clear();return t&&ge(e,"clear",void 0,void 0),n}});return["keys","values","entries",Symbol.iterator].forEach(i=>{n[i]=function(e,t,n){return function(...i){const a=this.__v_raw,r=Qe(a),o=R(r),s="entries"===e||e===Symbol.iterator&&o,c="keys"===e&&o,l=a[e](...i),u=n?Fe:t?nt:tt;return!t&&he(r,0,c?fe:de),{next(){const{value:e,done:t}=l.next();return t?{value:e,done:t}:{value:s?[u(e[0]),u(e[1])]:u(e),done:t}},[Symbol.iterator](){return this}}}}(i,e,t)}),n}function De(e,t){const n=Pe(e,t);return(t,i,a)=>"__v_isReactive"===i?!e:"__v_isReadonly"===i?e:"__v_raw"===i?t:Reflect.get(O(n,i)&&i in t?n:t,i,a)}const Ue={get:De(!1,!1)},Be={get:De(!0,!1)},Me=new WeakMap,ze=new WeakMap,qe=new WeakMap,Ge=new WeakMap;function He(e){return e.__v_skip||!Object.isExtensible(e)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}((e=>N(e).slice(8,-1))(e))}function We(e){return Xe(e)?e:Ze(e,!1,Ne,Ue,Me)}function Ve(e){return Ze(e,!0,$e,Be,qe)}function Ze(e,t,n,i,a){if(!T(e))return e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const r=a.get(e);if(r)return r;const o=He(e);if(0===o)return e;const s=new Proxy(e,2===o?i:n);return a.set(e,s),s}function Ke(e){return Xe(e)?Ke(e.__v_raw):!(!e||!e.__v_isReactive)}function Xe(e){return!(!e||!e.__v_isReadonly)}function Ye(e){return!(!e||!e.__v_isShallow)}function Je(e){return!!e&&!!e.__v_raw}function Qe(e){const t=e&&e.__v_raw;return t?Qe(t):e}function et(e){return!O(e,"__v_skip")&&Object.isExtensible(e)&&((e,t,n,i=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:i,value:n})})(e,"__v_skip",!0),e}const tt=e=>T(e)?We(e):e,nt=e=>T(e)?Ve(e):e;function it(e){return!!e&&!0===e.__v_isRef}function at(e){return function(e,t){if(it(e))return e;return new rt(e,t)}(e,!1)}class rt{constructor(e,t){this.dep=new le,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=t?e:Qe(e),this._value=t?e:tt(e),this.__v_isShallow=t}get value(){return this.dep.track(),this._value}set value(e){const t=this._rawValue,n=this.__v_isShallow||Ye(e)||Xe(e);e=n?e:Qe(e),I(e,t)&&(this._rawValue=e,this._value=n?e:tt(e),this.dep.trigger())}}function ot(e){return it(e)?e.value:e}function st(e){const t=A(e)?new Array(e.length):{};for(const n in e)t[n]=pt(e,n);return t}class ct{constructor(e,t,n){this._object=e,this._key=t,this._defaultValue=n,this.__v_isRef=!0,this._value=void 0}get value(){const e=this._object[this._key];return this._value=void 0===e?this._defaultValue:e}set value(e){this._object[this._key]=e}get dep(){return function(e,t){const n=pe.get(e);return n&&n.get(t)}(Qe(this._object),this._key)}}class lt{constructor(e){this._getter=e,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function ut(e,t,n){return it(e)?e:S(e)?new lt(e):T(e)&&arguments.length>1?pt(e,t,n):at(e)}function pt(e,t,n){const i=e[t];return it(i)?i:new ct(e,t,n)}class dt{constructor(e,t,n){this.fn=e,this.setter=t,this._value=void 0,this.dep=new le(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=se-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!t,this.isSSR=n}notify(){if(this.flags|=16,!(8&this.flags)&&U!==this)return V(this,!0),!0}get value(){const e=this.dep.track();return Q(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}}const ft={},mt=new WeakMap;let ht;function gt(e,t,n=b){const{immediate:i,deep:a,once:r,scheduler:o,augmentJob:s,call:c}=n,l=e=>a?e:Ye(e)||!1===a||0===a?vt(e,1):vt(e);let u,p,d,f,m=!1,h=!1;if(it(e)?(p=()=>e.value,m=Ye(e)):Ke(e)?(p=()=>l(e),m=!0):A(e)?(h=!0,m=e.some(e=>Ke(e)||Ye(e)),p=()=>e.map(e=>it(e)?e.value:Ke(e)?l(e):S(e)?c?c(e,2):e():void 0)):p=S(e)?t?c?()=>c(e,2):e:()=>{if(d){ae();try{d()}finally{re()}}const t=ht;ht=u;try{return c?c(e,3,[f]):e(f)}finally{ht=t}}:y,t&&a){const e=p,t=!0===a?1/0:a;p=()=>vt(e(),t)}const g=M(),v=()=>{u.stop(),g&&g.active&&_(g.effects,u)};if(r&&t){const e=t;t=(...t)=>{e(...t),v()}}let x=h?new Array(e.length).fill(ft):ft;const w=e=>{if(1&u.flags&&(u.dirty||e))if(t){const e=u.run();if(a||m||(h?e.some((e,t)=>I(e,x[t])):I(e,x))){d&&d();const n=ht;ht=u;try{const n=[e,x===ft?void 0:h&&x[0]===ft?[]:x,f];c?c(t,3,n):t(...n),x=e}finally{ht=n}}}else u.run()};return s&&s(w),u=new q(p),u.scheduler=o?()=>o(w,!1):w,f=e=>function(e,t=!1,n=ht){if(n){let t=mt.get(n);t||mt.set(n,t=[]),t.push(e)}}(e,!1,u),d=u.onStop=()=>{const e=mt.get(u);if(e){if(c)c(e,4);else for(const t of e)t();mt.delete(u)}},t?i?w(!0):x=u.run():o?o(w.bind(null,!0),!0):u.run(),v.pause=u.pause.bind(u),v.resume=u.resume.bind(u),v.stop=v,v}function vt(e,t=1/0,n){if(t<=0||!T(e)||e.__v_skip)return e;if((n=n||new Set).has(e))return e;if(n.add(e),t--,it(e))vt(e.value,t,n);else if(A(e))for(let i=0;i<e.length;i++)vt(e[i],t,n);else if(k(e)||R(e))e.forEach(e=>{vt(e,t,n)});else if($(e)){for(const i in e)vt(e[i],t,n);for(const i of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,i)&&vt(e[i],t,n)}return e}
14
+ /**
15
+ * @vue/runtime-core v3.5.13
16
+ * (c) 2018-present Yuxi (Evan) You and Vue contributors
17
+ * @license MIT
18
+ **/function bt(e,t,n,i){try{return i?e(...i):e()}catch(e){xt(e,t,n)}}function yt(e,t,n,i){if(S(e)){const r=bt(e,t,n,i);return r&&((T(a=r)||S(a))&&S(a.then)&&S(a.catch))&&r.catch(e=>{xt(e,t,n)}),r}var a;if(A(e)){const a=[];for(let r=0;r<e.length;r++)a.push(yt(e[r],t,n,i));return a}}function xt(e,t,n,i=!0){t&&t.vnode;const{errorHandler:a,throwUnhandledErrorInProduction:r}=t&&t.appContext.config||b;if(t){let i=t.parent;const r=t.proxy,o=`https://vuejs.org/error-reference/#runtime-${n}`;for(;i;){const t=i.ec;if(t)for(let n=0;n<t.length;n++)if(!1===t[n](e,r,o))return;i=i.parent}if(a)return ae(),bt(a,null,10,[e,r,o]),void re()}!function(e,t,n,i=!0,a=!1){if(a)throw e;console.error(e)}(e,0,0,i,r)}const _t=[];let wt=-1;const Ot=[];let At=null,Rt=0;const kt=Promise.resolve();let St=null;function Et(e){if(!(1&e.flags)){const t=Tt(e),n=_t[_t.length-1];!n||!(2&e.flags)&&t>=Tt(n)?_t.push(e):_t.splice(function(e){let t=wt+1,n=_t.length;for(;t<n;){const i=t+n>>>1,a=_t[i],r=Tt(a);r<e||r===e&&2&a.flags?t=i+1:n=i}return t}(t),0,e),e.flags|=1,jt()}}function jt(){St||(St=kt.then(Ct))}const Tt=e=>null==e.id?2&e.flags?-1:1/0:e.id;function Ct(e){try{for(wt=0;wt<_t.length;wt++){const e=_t[wt];!e||8&e.flags||(4&e.flags&&(e.flags&=-2),bt(e,e.i,e.i?15:14),4&e.flags||(e.flags&=-2))}}finally{for(;wt<_t.length;wt++){const e=_t[wt];e&&(e.flags&=-2)}wt=-1,_t.length=0,function(){if(Ot.length){const e=[...new Set(Ot)].sort((e,t)=>Tt(e)-Tt(t));if(Ot.length=0,At)return void At.push(...e);for(At=e,Rt=0;Rt<At.length;Rt++){const e=At[Rt];4&e.flags&&(e.flags&=-2),8&e.flags||e(),e.flags&=-2}At=null,Rt=0}}(),St=null,(_t.length||Ot.length)&&Ct()}}let Nt=null;Symbol("_vte");
19
+ /*! #__NO_SIDE_EFFECTS__ */
20
+ function $t(e,t){return S(e)?(()=>x({name:e.name},t,{setup:e}))():e}P().requestIdleCallback,P().cancelIdleCallback;function Ft(e,t,n=Mt,i=!1){if(n){const a=n[e]||(n[e]=[]),r=t.__weh||(t.__weh=(...i)=>{ae();const a=qt(n),r=yt(t,n,e,i);return a(),re(),r});return i?a.unshift(r):a.push(r),r}}const It=e=>(t,n=Mt)=>{Gt&&"sp"!==e||Ft(e,(...e)=>t(...e),n)};It("bum"),It("um"),Symbol.for("v-ndc");function Lt(e,t,n=!1){const i=Mt||Nt;if(i){const a=i?null==i.parent?i.vnode.appContext&&i.vnode.appContext.provides:i.parent.provides:void 0;if(a&&e in a)return a[e];if(arguments.length>1)return n&&S(t)?t.call(i&&i.proxy):t}}const Pt=function(e,t){t&&t.pendingBranch?A(e)?t.effects.push(...e):t.effects.push(e):(A(n=e)?Ot.push(...n):At&&-1===n.id?At.splice(Rt+1,0,n):1&n.flags||(Ot.push(n),n.flags|=1),jt());var n};const Dt=Symbol.for("v-scx");function Ut(e,t,n){return Bt(e,t,n)}function Bt(e,t,n=b){const{immediate:i,deep:a,flush:r,once:o}=n,s=x({},n),c=t&&i||!t&&"post"!==r;let l;if(Gt)if("sync"===r){const e=Lt(Dt);l=e.__watcherHandles||(e.__watcherHandles=[])}else if(!c){const e=()=>{};return e.stop=y,e.resume=y,e.pause=y,e}const u=Mt;s.call=(e,t,n)=>yt(e,u,t,n);let p=!1;"post"===r?s.scheduler=e=>{Pt(e,u&&u.suspense)}:"sync"!==r&&(p=!0,s.scheduler=(e,t)=>{t?e():Et(e)}),s.augmentJob=e=>{t&&(e.flags|=4),p&&(e.flags|=2,u&&(e.id=u.uid,e.i=u))};const d=gt(e,t,s);return Gt&&(l?l.push(d):c&&d()),d}Symbol.for("v-fgt"),Symbol.for("v-txt"),Symbol.for("v-cmt");let Mt=null;let zt;{const e=P(),t=(t,n)=>{let i;return(i=e[t])||(i=e[t]=[]),i.push(n),e=>{i.length>1?i.forEach(t=>t(e)):i[0](e)}};zt=t("__VUE_INSTANCE_SETTERS__",e=>Mt=e),t("__VUE_SSR_SETTERS__",e=>Gt=e)}const qt=e=>{const t=Mt;return zt(e),e.scope.on(),()=>{e.scope.off(),zt(t)}};let Gt=!1;const Ht=(e,t)=>{const n=function(e,t,n=!1){let i,a;return S(e)?i=e:(i=e.get,a=e.set),new dt(i,a,n)}(e,0,Gt);return n};var Wt="object"==typeof global&&global&&global.Object===Object&&global,Vt="object"==typeof self&&self&&self.Object===Object&&self,Zt=Wt||Vt||Function("return this")(),Kt=Zt.Symbol,Xt=Object.prototype,Yt=Xt.hasOwnProperty,Jt=Xt.toString,Qt=Kt?Kt.toStringTag:void 0;var en=Object.prototype.toString;var tn=Kt?Kt.toStringTag:void 0;function nn(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":tn&&tn in Object(e)?function(e){var t=Yt.call(e,Qt),n=e[Qt];try{e[Qt]=void 0;var i=!0}catch(e){}var a=Jt.call(e);return i&&(t?e[Qt]=n:delete e[Qt]),a}(e):function(e){return en.call(e)}(e)}function an(e){return null!=e&&"object"==typeof e}function rn(e){return"symbol"==typeof e||an(e)&&"[object Symbol]"==nn(e)}var on=Array.isArray,sn=Kt?Kt.prototype:void 0;sn&&sn.toString;var cn=/\s/;var ln=/^\s+/;function un(e){return e?e.slice(0,function(e){for(var t=e.length;t--&&cn.test(e.charAt(t)););return t}(e)+1).replace(ln,""):e}function pn(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}var dn=/^[-+]0x[0-9a-f]+$/i,fn=/^0b[01]+$/i,mn=/^0o[0-7]+$/i,hn=parseInt;function gn(e){if("number"==typeof e)return e;if(rn(e))return NaN;if(pn(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=pn(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=un(e);var n=fn.test(e);return n||mn.test(e)?hn(e.slice(2),n?2:8):dn.test(e)?NaN:+e}function vn(e){return e}function bn(e){if(!pn(e))return!1;var t=nn(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}var yn,xn=Zt["__core-js_shared__"],_n=(yn=/[^.]+$/.exec(xn&&xn.keys&&xn.keys.IE_PROTO||""))?"Symbol(src)_1."+yn:"";var wn=Function.prototype.toString;function On(e){if(null!=e){try{return wn.call(e)}catch(e){}try{return e+""}catch(e){}}return""}var An=/^\[object .+?Constructor\]$/,Rn=Function.prototype,kn=Object.prototype,Sn=Rn.toString,En=kn.hasOwnProperty,jn=RegExp("^"+Sn.call(En).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Tn(e){return!(!pn(e)||(t=e,_n&&_n in t))&&(bn(e)?jn:An).test(On(e));var t}function Cn(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return Tn(n)?n:void 0}var Nn=Cn(Zt,"WeakMap"),$n=Object.create,Fn=function(){function e(){}return function(t){if(!pn(t))return{};if($n)return $n(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();var In=Date.now;var Ln,Pn,Dn,Un=function(){try{var e=Cn(Object,"defineProperty");return e({},"",{}),e}catch(e){}}(),Bn=Un?function(e,t){return Un(e,"toString",{configurable:!0,enumerable:!1,value:(n=t,function(){return n}),writable:!0});var n}:vn,Mn=(Ln=Bn,Pn=0,Dn=0,function(){var e=In(),t=16-(e-Dn);if(Dn=e,t>0){if(++Pn>=800)return arguments[0]}else Pn=0;return Ln.apply(void 0,arguments)}),zn=/^(?:0|[1-9]\d*)$/;function qn(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&zn.test(e))&&e>-1&&e%1==0&&e<t}function Gn(e,t,n){"__proto__"==t&&Un?Un(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function Hn(e,t){return e===t||e!=e&&t!=t}var Wn=Object.prototype.hasOwnProperty;function Vn(e,t,n){var i=e[t];Wn.call(e,t)&&Hn(i,n)&&(void 0!==n||t in e)||Gn(e,t,n)}var Zn=Math.max;function Kn(e,t){return Mn(function(e,t,n){return t=Zn(void 0===t?e.length-1:t,0),function(){for(var i=arguments,a=-1,r=Zn(i.length-t,0),o=Array(r);++a<r;)o[a]=i[t+a];a=-1;for(var s=Array(t+1);++a<t;)s[a]=i[a];return s[t]=n(o),function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}(e,this,s)}}(e,t,vn),e+"")}function Xn(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}function Yn(e){return null!=e&&Xn(e.length)&&!bn(e)}var Jn=Object.prototype;function Qn(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||Jn)}function ei(e){return an(e)&&"[object Arguments]"==nn(e)}var ti=Object.prototype,ni=ti.hasOwnProperty,ii=ti.propertyIsEnumerable,ai=ei(function(){return arguments}())?ei:function(e){return an(e)&&ni.call(e,"callee")&&!ii.call(e,"callee")};var ri="object"==typeof exports&&exports&&!exports.nodeType&&exports,oi=ri&&"object"==typeof module&&module&&!module.nodeType&&module,si=oi&&oi.exports===ri?Zt.Buffer:void 0,ci=(si?si.isBuffer:void 0)||function(){return!1},li={};li["[object Float32Array]"]=li["[object Float64Array]"]=li["[object Int8Array]"]=li["[object Int16Array]"]=li["[object Int32Array]"]=li["[object Uint8Array]"]=li["[object Uint8ClampedArray]"]=li["[object Uint16Array]"]=li["[object Uint32Array]"]=!0,li["[object Arguments]"]=li["[object Array]"]=li["[object ArrayBuffer]"]=li["[object Boolean]"]=li["[object DataView]"]=li["[object Date]"]=li["[object Error]"]=li["[object Function]"]=li["[object Map]"]=li["[object Number]"]=li["[object Object]"]=li["[object RegExp]"]=li["[object Set]"]=li["[object String]"]=li["[object WeakMap]"]=!1;var ui="object"==typeof exports&&exports&&!exports.nodeType&&exports,pi=ui&&"object"==typeof module&&module&&!module.nodeType&&module,di=pi&&pi.exports===ui&&Wt.process,fi=function(){try{var e=pi&&pi.require&&pi.require("util").types;return e||di&&di.binding&&di.binding("util")}catch(e){}}(),mi=fi&&fi.isTypedArray,hi=mi?function(e){return function(t){return e(t)}}(mi):function(e){return an(e)&&Xn(e.length)&&!!li[nn(e)]},gi=Object.prototype.hasOwnProperty;function vi(e,t){var n=on(e),i=!n&&ai(e),a=!n&&!i&&ci(e),r=!n&&!i&&!a&&hi(e),o=n||i||a||r,s=o?function(e,t){for(var n=-1,i=Array(e);++n<e;)i[n]=t(n);return i}(e.length,String):[],c=s.length;for(var l in e)!t&&!gi.call(e,l)||o&&("length"==l||a&&("offset"==l||"parent"==l)||r&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||qn(l,c))||s.push(l);return s}function bi(e,t){return function(n){return e(t(n))}}var yi=bi(Object.keys,Object),xi=Object.prototype.hasOwnProperty;function _i(e){return Yn(e)?vi(e):function(e){if(!Qn(e))return yi(e);var t=[];for(var n in Object(e))xi.call(e,n)&&"constructor"!=n&&t.push(n);return t}(e)}var wi=Object.prototype.hasOwnProperty;function Oi(e){if(!pn(e))return function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}(e);var t=Qn(e),n=[];for(var i in e)("constructor"!=i||!t&&wi.call(e,i))&&n.push(i);return n}function Ai(e){return Yn(e)?vi(e,!0):Oi(e)}var Ri=Cn(Object,"create");var ki=Object.prototype.hasOwnProperty;var Si=Object.prototype.hasOwnProperty;function Ei(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}function ji(e,t){for(var n=e.length;n--;)if(Hn(e[n][0],t))return n;return-1}Ei.prototype.clear=function(){this.__data__=Ri?Ri(null):{},this.size=0},Ei.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},Ei.prototype.get=function(e){var t=this.__data__;if(Ri){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return ki.call(t,e)?t[e]:void 0},Ei.prototype.has=function(e){var t=this.__data__;return Ri?void 0!==t[e]:Si.call(t,e)},Ei.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=Ri&&void 0===t?"__lodash_hash_undefined__":t,this};var Ti=Array.prototype.splice;function Ci(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}Ci.prototype.clear=function(){this.__data__=[],this.size=0},Ci.prototype.delete=function(e){var t=this.__data__,n=ji(t,e);return!(n<0)&&(n==t.length-1?t.pop():Ti.call(t,n,1),--this.size,!0)},Ci.prototype.get=function(e){var t=this.__data__,n=ji(t,e);return n<0?void 0:t[n][1]},Ci.prototype.has=function(e){return ji(this.__data__,e)>-1},Ci.prototype.set=function(e,t){var n=this.__data__,i=ji(n,e);return i<0?(++this.size,n.push([e,t])):n[i][1]=t,this};var Ni=Cn(Zt,"Map");function $i(e,t){var n=e.__data__;return function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}(t)?n["string"==typeof t?"string":"hash"]:n.map}function Fi(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}Fi.prototype.clear=function(){this.size=0,this.__data__={hash:new Ei,map:new(Ni||Ci),string:new Ei}},Fi.prototype.delete=function(e){var t=$i(this,e).delete(e);return this.size-=t?1:0,t},Fi.prototype.get=function(e){return $i(this,e).get(e)},Fi.prototype.has=function(e){return $i(this,e).has(e)},Fi.prototype.set=function(e,t){var n=$i(this,e),i=n.size;return n.set(e,t),this.size+=n.size==i?0:1,this};function Ii(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var i=arguments,a=t?t.apply(this,i):i[0],r=n.cache;if(r.has(a))return r.get(a);var o=e.apply(this,i);return n.cache=r.set(a,o)||r,o};return n.cache=new(Ii.Cache||Fi),n}Ii.Cache=Fi;var Li=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Pi=/\\(\\)?/g;!function(e){var t=Ii(e,function(e){return 500===n.size&&n.clear(),e}),n=t.cache}(function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(Li,function(e,n,i,a){t.push(i?a.replace(Pi,"$1"):n||e)}),t});var Di=bi(Object.getPrototypeOf,Object),Ui=Function.prototype,Bi=Object.prototype,Mi=Ui.toString,zi=Bi.hasOwnProperty,qi=Mi.call(Object);function Gi(e){var t=this.__data__=new Ci(e);this.size=t.size}Gi.prototype.clear=function(){this.__data__=new Ci,this.size=0},Gi.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Gi.prototype.get=function(e){return this.__data__.get(e)},Gi.prototype.has=function(e){return this.__data__.has(e)},Gi.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Ci){var i=n.__data__;if(!Ni||i.length<199)return i.push([e,t]),this.size=++n.size,this;n=this.__data__=new Fi(i)}return n.set(e,t),this.size=n.size,this};var Hi="object"==typeof exports&&exports&&!exports.nodeType&&exports,Wi=Hi&&"object"==typeof module&&module&&!module.nodeType&&module,Vi=Wi&&Wi.exports===Hi?Zt.Buffer:void 0,Zi=Vi?Vi.allocUnsafe:void 0;var Ki=Object.prototype.propertyIsEnumerable,Xi=Object.getOwnPropertySymbols,Yi=Xi?function(e){return null==e?[]:(e=Object(e),function(e,t){for(var n=-1,i=null==e?0:e.length,a=0,r=[];++n<i;){var o=e[n];t(o,n,e)&&(r[a++]=o)}return r}(Xi(e),function(t){return Ki.call(e,t)}))}:function(){return[]};function Ji(e){return function(e,t,n){var i=t(e);return on(e)?i:function(e,t){for(var n=-1,i=t.length,a=e.length;++n<i;)e[a+n]=t[n];return e}(i,n(e))}(e,_i,Yi)}var Qi=Cn(Zt,"DataView"),ea=Cn(Zt,"Promise"),ta=Cn(Zt,"Set"),na="[object Map]",ia="[object Promise]",aa="[object Set]",ra="[object WeakMap]",oa="[object DataView]",sa=On(Qi),ca=On(Ni),la=On(ea),ua=On(ta),pa=On(Nn),da=nn;(Qi&&da(new Qi(new ArrayBuffer(1)))!=oa||Ni&&da(new Ni)!=na||ea&&da(ea.resolve())!=ia||ta&&da(new ta)!=aa||Nn&&da(new Nn)!=ra)&&(da=function(e){var t=nn(e),n="[object Object]"==t?e.constructor:void 0,i=n?On(n):"";if(i)switch(i){case sa:return oa;case ca:return na;case la:return ia;case ua:return aa;case pa:return ra}return t});var fa=da,ma=Zt.Uint8Array;function ha(e,t){var n,i,a=t?(n=e.buffer,i=new n.constructor(n.byteLength),new ma(i).set(new ma(n)),i):e.buffer;return new e.constructor(a,e.byteOffset,e.length)}function ga(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new Fi;++t<n;)this.add(e[t])}function va(e,t){for(var n=-1,i=null==e?0:e.length;++n<i;)if(t(e[n],n,e))return!0;return!1}function ba(e,t){return e.has(t)}ga.prototype.add=ga.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},ga.prototype.has=function(e){return this.__data__.has(e)};function ya(e,t,n,i,a,r){var o=1&n,s=e.length,c=t.length;if(s!=c&&!(o&&c>s))return!1;var l=r.get(e),u=r.get(t);if(l&&u)return l==t&&u==e;var p=-1,d=!0,f=2&n?new ga:void 0;for(r.set(e,t),r.set(t,e);++p<s;){var m=e[p],h=t[p];if(i)var g=o?i(h,m,p,t,e,r):i(m,h,p,e,t,r);if(void 0!==g){if(g)continue;d=!1;break}if(f){if(!va(t,function(e,t){if(!ba(f,t)&&(m===e||a(m,e,n,i,r)))return f.push(t)})){d=!1;break}}else if(m!==h&&!a(m,h,n,i,r)){d=!1;break}}return r.delete(e),r.delete(t),d}function xa(e){var t=-1,n=Array(e.size);return e.forEach(function(e,i){n[++t]=[i,e]}),n}function _a(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}var wa=Kt?Kt.prototype:void 0,Oa=wa?wa.valueOf:void 0;var Aa=Object.prototype.hasOwnProperty;var Ra="[object Arguments]",ka="[object Array]",Sa="[object Object]",Ea=Object.prototype.hasOwnProperty;function ja(e,t,n,i,a,r){var o=on(e),s=on(t),c=o?ka:fa(e),l=s?ka:fa(t),u=(c=c==Ra?Sa:c)==Sa,p=(l=l==Ra?Sa:l)==Sa,d=c==l;if(d&&ci(e)){if(!ci(t))return!1;o=!0,u=!1}if(d&&!u)return r||(r=new Gi),o||hi(e)?ya(e,t,n,i,a,r):function(e,t,n,i,a,r,o){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!r(new ma(e),new ma(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return Hn(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var s=xa;case"[object Set]":var c=1&i;if(s||(s=_a),e.size!=t.size&&!c)return!1;var l=o.get(e);if(l)return l==t;i|=2,o.set(e,t);var u=ya(s(e),s(t),i,a,r,o);return o.delete(e),u;case"[object Symbol]":if(Oa)return Oa.call(e)==Oa.call(t)}return!1}(e,t,c,n,i,a,r);if(!(1&n)){var f=u&&Ea.call(e,"__wrapped__"),m=p&&Ea.call(t,"__wrapped__");if(f||m){var h=f?e.value():e,g=m?t.value():t;return r||(r=new Gi),a(h,g,n,i,r)}}return!!d&&(r||(r=new Gi),function(e,t,n,i,a,r){var o=1&n,s=Ji(e),c=s.length;if(c!=Ji(t).length&&!o)return!1;for(var l=c;l--;){var u=s[l];if(!(o?u in t:Aa.call(t,u)))return!1}var p=r.get(e),d=r.get(t);if(p&&d)return p==t&&d==e;var f=!0;r.set(e,t),r.set(t,e);for(var m=o;++l<c;){var h=e[u=s[l]],g=t[u];if(i)var v=o?i(g,h,u,t,e,r):i(h,g,u,e,t,r);if(!(void 0===v?h===g||a(h,g,n,i,r):v)){f=!1;break}m||(m="constructor"==u)}if(f&&!m){var b=e.constructor,y=t.constructor;b==y||!("constructor"in e)||!("constructor"in t)||"function"==typeof b&&b instanceof b&&"function"==typeof y&&y instanceof y||(f=!1)}return r.delete(e),r.delete(t),f}(e,t,n,i,a,r))}function Ta(e,t,n,i,a){return e===t||(null==e||null==t||!an(e)&&!an(t)?e!=e&&t!=t:ja(e,t,n,i,Ta,a))}var Ca,Na=function(e,t,n){for(var i=-1,a=Object(e),r=n(e),o=r.length;o--;){var s=r[Ca?o:++i];if(!1===t(a[s],s,a))break}return e};var $a=function(){return Zt.Date.now()},Fa=Math.max,Ia=Math.min;function La(e,t,n){var i,a,r,o,s,c,l=0,u=!1,p=!1,d=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function f(t){var n=i,r=a;return i=a=void 0,l=t,o=e.apply(r,n)}function m(e){var n=e-c;return void 0===c||n>=t||n<0||p&&e-l>=r}function h(){var e=$a();if(m(e))return g(e);s=setTimeout(h,function(e){var n=t-(e-c);return p?Ia(n,r-(e-l)):n}(e))}function g(e){return s=void 0,d&&i?f(e):(i=a=void 0,o)}function v(){var e=$a(),n=m(e);if(i=arguments,a=this,c=e,n){if(void 0===s)return function(e){return l=e,s=setTimeout(h,t),u?f(e):o}(c);if(p)return clearTimeout(s),s=setTimeout(h,t),f(c)}return void 0===s&&(s=setTimeout(h,t)),o}return t=gn(t)||0,pn(n)&&(u=!!n.leading,r=(p="maxWait"in n)?Fa(gn(n.maxWait)||0,t):r,d="trailing"in n?!!n.trailing:d),v.cancel=function(){void 0!==s&&clearTimeout(s),l=0,i=c=a=s=void 0},v.flush=function(){return void 0===s?o:g($a())},v}function Pa(e,t,n){(void 0!==n&&!Hn(e[t],n)||void 0===n&&!(t in e))&&Gn(e,t,n)}function Da(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}function Ua(e){return function(e,t,n,i){var a=!n;n||(n={});for(var r=-1,o=t.length;++r<o;){var s=t[r],c=i?i(n[s],e[s],s,n,e):void 0;void 0===c&&(c=e[s]),a?Gn(n,s,c):Vn(n,s,c)}return n}(e,Ai(e))}function Ba(e,t,n,i,a,r,o){var s=Da(e,n),c=Da(t,n),l=o.get(c);if(l)Pa(e,n,l);else{var u,p=r?r(s,c,n+"",e,t,o):void 0,d=void 0===p;if(d){var f=on(c),m=!f&&ci(c),h=!f&&!m&&hi(c);p=c,f||m||h?on(s)?p=s:an(u=s)&&Yn(u)?p=function(e,t){var n=-1,i=e.length;for(t||(t=Array(i));++n<i;)t[n]=e[n];return t}(s):m?(d=!1,p=function(e,t){if(t)return e.slice();var n=e.length,i=Zi?Zi(n):new e.constructor(n);return e.copy(i),i}(c,!0)):h?(d=!1,p=ha(c,!0)):p=[]:function(e){if(!an(e)||"[object Object]"!=nn(e))return!1;var t=Di(e);if(null===t)return!0;var n=zi.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&Mi.call(n)==qi}(c)||ai(c)?(p=s,ai(s)?p=Ua(s):pn(s)&&!bn(s)||(p=function(e){return"function"!=typeof e.constructor||Qn(e)?{}:Fn(Di(e))}(c))):d=!1}d&&(o.set(c,p),a(p,c,i,r,o),o.delete(c)),Pa(e,n,p)}}function Ma(e,t,n,i,a){e!==t&&Na(t,function(r,o){if(a||(a=new Gi),pn(r))Ba(e,t,o,n,Ma,i,a);else{var s=i?i(Da(e,o),r,o+"",e,t,a):void 0;void 0===s&&(s=r),Pa(e,o,s)}},Ai)}function za(e,t){return Ta(e,t)}var qa;qa=function(e,t,n){Ma(e,t,n)},Kn(function(e,t){var n=-1,i=t.length,a=i>1?t[i-1]:void 0,r=i>2?t[2]:void 0;for(a=qa.length>3&&"function"==typeof a?(i--,a):void 0,r&&function(e,t,n){if(!pn(n))return!1;var i=typeof t;return!!("number"==i?Yn(n)&&qn(t,n.length):"string"==i&&t in n)&&Hn(n[t],e)}(t[0],t[1],r)&&(a=i<3?void 0:a,i=1),e=Object(e);++n<i;){var o=t[n];o&&qa(e,o,n,a)}return e});var Ga=(0).constructor;Ga.isFinite,Ga.isInteger,[].constructor.isArray;new(function(){function e(e){this.size=e,this.reset()}return e.prototype.reset=function(){this.oldestIndex=0,this.map={},this.cachedKeys=new Array(this.size)},e.prototype.get=function(e){return this.map[e]},e.prototype.set=function(e,t){this.map[e]=t;var n=this.cachedKeys[this.oldestIndex];void 0!==n&&delete this.map[n],this.cachedKeys[this.oldestIndex]=e,this.oldestIndex++,this.oldestIndex%=this.size},e}())(1e3);var Ha={exports:{}},Wa=function(...e){try{return JSON.stringify(...e)}catch(e){return"[Cannot display object: "+e.message+"]"}};!function(e,t){const n=Wa;Ha.exports=class extends Error{constructor(e){super(e.filter(e=>""!==e).map(e=>"string"==typeof e?e:e instanceof Error?e.message:n(e)).join(" ")||"Unknown error"),"function"==typeof Error.captureStackTrace&&Error.captureStackTrace(this,t.assert)}}}(0,Ha.exports);var Va=Ha.exports;const Za=Va;var Ka=function(e,...t){if(!e){if(1===t.length&&t[0]instanceof Error)throw t[0];throw new Za(t)}};const Xa=Ka,Ya={};var Ja=function(e,t,n){if(!1===t||null==t)return e;"string"==typeof(n=n||{})&&(n={separator:n});const i=Array.isArray(t);Xa(!i||!n.separator,"Separator option is not valid for array-based chain");const a=i?t:t.split(n.separator||".");let r=e;for(let e=0;e<a.length;++e){let i=a[e];const o=n.iterables&&Ya.iterables(r);if(Array.isArray(r)||"set"===o){const e=Number(i);Number.isInteger(e)&&(i=e<0?r.length+e:e)}if(!r||"function"==typeof r&&!1===n.functions||!o&&void 0===r[i]){Xa(!n.strict||e+1===a.length,"Missing segment",i,"in reach path ",t),Xa("object"==typeof r||!0===n.functions||"function"!=typeof r,"Invalid segment",i,"in reach path ",t),r=n.default;break}r=o?"set"===o?[...r][i]:r.get(i):r[i]}return r};Ya.iterables=function(e){return e instanceof Set?"set":e instanceof Map?"map":void 0};var Qa={exports:{}};!function(e,t){const n={};t=Qa.exports={array:Array.prototype,buffer:Buffer&&Buffer.prototype,date:Date.prototype,error:Error.prototype,generic:Object.prototype,map:Map.prototype,promise:Promise.prototype,regex:RegExp.prototype,set:Set.prototype,weakMap:WeakMap.prototype,weakSet:WeakSet.prototype},n.typeMap=new Map([["[object Error]",t.error],["[object Map]",t.map],["[object Promise]",t.promise],["[object Set]",t.set],["[object WeakMap]",t.weakMap],["[object WeakSet]",t.weakSet]]),t.getInternalProto=function(e){if(Array.isArray(e))return t.array;if(Buffer&&e instanceof Buffer)return t.buffer;if(e instanceof Date)return t.date;if(e instanceof RegExp)return t.regex;if(e instanceof Error)return t.error;const i=Object.prototype.toString.call(e);return n.typeMap.get(i)||t.generic}}(0,Qa.exports);var er=Qa.exports,tr={keys:function(e,t={}){return!1!==t.symbols?Reflect.ownKeys(e):Object.getOwnPropertyNames(e)}};const nr=Ja,ir=er,ar=tr,rr={needsProtoHack:new Set([ir.set,ir.map,ir.weakSet,ir.weakMap])};var or=rr.clone=function(e,t={},n=null){if("object"!=typeof e||null===e)return e;let i=rr.clone,a=n;if(t.shallow){if(!0!==t.shallow)return rr.cloneWithShallow(e,t);i=e=>e}else if(a){const t=a.get(e);if(t)return t}else a=new Map;const r=ir.getInternalProto(e);if(r===ir.buffer)return Buffer&&Buffer.from(e);if(r===ir.date)return new Date(e.getTime());if(r===ir.regex)return new RegExp(e);const o=rr.base(e,r,t);if(o===e)return e;if(a&&a.set(e,o),r===ir.set)for(const n of e)o.add(i(n,t,a));else if(r===ir.map)for(const[n,r]of e)o.set(n,i(r,t,a));const s=ar.keys(e,t);for(const n of s){if("__proto__"===n)continue;if(r===ir.array&&"length"===n){o.length=e.length;continue}const s=Object.getOwnPropertyDescriptor(e,n);s?s.get||s.set?Object.defineProperty(o,n,s):s.enumerable?o[n]=i(e[n],t,a):Object.defineProperty(o,n,{enumerable:!1,writable:!0,configurable:!0,value:i(e[n],t,a)}):Object.defineProperty(o,n,{enumerable:!0,writable:!0,configurable:!0,value:i(e[n],t,a)})}return o};rr.cloneWithShallow=function(e,t){const n=t.shallow;(t=Object.assign({},t)).shallow=!1;const i=new Map;for(const t of n){const n=nr(e,t);"object"!=typeof n&&"function"!=typeof n||i.set(n,n)}return rr.clone(e,t,i)},rr.base=function(e,t,n){if(!1===n.prototype)return rr.needsProtoHack.has(t)?new t.constructor:t===ir.array?[]:{};const i=Object.getPrototypeOf(e);if(i&&i.isImmutable)return e;if(t===ir.array){const e=[];return i!==t&&Object.setPrototypeOf(e,i),e}if(rr.needsProtoHack.has(t)){const e=new i.constructor;return i!==t&&Object.setPrototypeOf(e,i),e}return Object.create(i)};var sr,cr={},lr={},ur={name:"joi",description:"Object schema validation",version:"17.13.3",repository:"git://github.com/hapijs/joi",main:"lib/index.js",types:"lib/index.d.ts",browser:"dist/joi-browser.min.js",files:["lib/**/*","dist/*"],keywords:["schema","validation"],dependencies:{"@hapi/hoek":"^9.3.0","@hapi/topo":"^5.1.0","@sideway/address":"^4.1.5","@sideway/formula":"^3.0.1","@sideway/pinpoint":"^2.0.0"},devDependencies:{"@hapi/bourne":"2.x.x","@hapi/code":"8.x.x","@hapi/joi-legacy-test":"npm:@hapi/joi@15.x.x","@hapi/lab":"^25.1.3","@types/node":"^14.18.63",typescript:"4.3.x"},scripts:{prepublishOnly:"cd browser && npm install && npm run build",test:"lab -t 100 -a @hapi/code -L -Y","test-cov-html":"lab -r html -o coverage.html -a @hapi/code"},license:"BSD-3-Clause"},pr={};function dr(){if(sr)return pr;sr=1;const e=Es(),t={};return t.wrap=e.string().min(1).max(2).allow(!1),pr.preferences=e.object({allowUnknown:e.boolean(),abortEarly:e.boolean(),artifacts:e.boolean(),cache:e.boolean(),context:e.object(),convert:e.boolean(),dateFormat:e.valid("date","iso","string","time","utc"),debug:e.boolean(),errors:{escapeHtml:e.boolean(),label:e.valid("path","key",!1),language:[e.string(),e.object().ref()],render:e.boolean(),stack:e.boolean(),wrap:{label:t.wrap,array:t.wrap,string:t.wrap}},externals:e.boolean(),messages:e.object(),noDefaults:e.boolean(),nonEnumerables:e.boolean(),presence:e.valid("required","optional","forbidden"),skipFunctions:e.boolean(),stripUnknown:e.object({arrays:e.boolean(),objects:e.boolean()}).or("arrays","objects").allow(!0,!1),warnings:e.boolean()}).strict(),t.nameRx=/^[a-zA-Z0-9]\w*$/,t.rule=e.object({alias:e.array().items(e.string().pattern(t.nameRx)).single(),args:e.array().items(e.string(),e.object({name:e.string().pattern(t.nameRx).required(),ref:e.boolean(),assert:e.alternatives([e.function(),e.object().schema()]).conditional("ref",{is:!0,then:e.required()}),normalize:e.function(),message:e.string().when("assert",{is:e.function(),then:e.required()})})),convert:e.boolean(),manifest:e.boolean(),method:e.function().allow(!1),multi:e.boolean(),validate:e.function()}),pr.extension=e.object({type:e.alternatives([e.string(),e.object().regex()]).required(),args:e.function(),cast:e.object().pattern(t.nameRx,e.object({from:e.function().maxArity(1).required(),to:e.function().minArity(1).maxArity(2).required()})),base:e.object().schema().when("type",{is:e.object().regex(),then:e.forbidden()}),coerce:[e.function().maxArity(3),e.object({method:e.function().maxArity(3).required(),from:e.array().items(e.string()).single()})],flags:e.object().pattern(t.nameRx,e.object({setter:e.string(),default:e.any()})),manifest:{build:e.function().arity(2)},messages:[e.object(),e.string()],modifiers:e.object().pattern(t.nameRx,e.function().minArity(1).maxArity(2)),overrides:e.object().pattern(t.nameRx,e.function()),prepare:e.function().maxArity(3),rebuild:e.function().arity(1),rules:e.object().pattern(t.nameRx,t.rule),terms:e.object().pattern(t.nameRx,e.object({init:e.array().allow(null).required(),manifest:e.object().pattern(/.+/,[e.valid("schema","single"),e.object({mapped:e.object({from:e.string().required(),to:e.string().required()}).required()})])})),validate:e.function().maxArity(3)}).strict(),pr.extensions=e.array().items(e.object(),e.function().arity(1)).strict(),t.desc={buffer:e.object({buffer:e.string()}),func:e.object({function:e.function().required(),options:{literal:!0}}),override:e.object({override:!0}),ref:e.object({ref:e.object({type:e.valid("value","global","local"),path:e.array().required(),separator:e.string().length(1).allow(!1),ancestor:e.number().min(0).integer().allow("root"),map:e.array().items(e.array().length(2)).min(1),adjust:e.function(),iterables:e.boolean(),in:e.boolean(),render:e.boolean()}).required()}),regex:e.object({regex:e.string().min(3)}),special:e.object({special:e.valid("deep").required()}),template:e.object({template:e.string().required(),options:e.object()}),value:e.object({value:e.alternatives([e.object(),e.array()]).required()})},t.desc.entity=e.alternatives([e.array().items(e.link("...")),e.boolean(),e.function(),e.number(),e.string(),t.desc.buffer,t.desc.func,t.desc.ref,t.desc.regex,t.desc.special,t.desc.template,t.desc.value,e.link("/")]),t.desc.values=e.array().items(null,e.boolean(),e.function(),e.number().allow(1/0,-1/0),e.string().allow(""),e.symbol(),t.desc.buffer,t.desc.func,t.desc.override,t.desc.ref,t.desc.regex,t.desc.template,t.desc.value),t.desc.messages=e.object().pattern(/.+/,[e.string(),t.desc.template,e.object().pattern(/.+/,[e.string(),t.desc.template])]),pr.description=e.object({type:e.string().required(),flags:e.object({cast:e.string(),default:e.any(),description:e.string(),empty:e.link("/"),failover:t.desc.entity,id:e.string(),label:e.string(),only:!0,presence:["optional","required","forbidden"],result:["raw","strip"],strip:e.boolean(),unit:e.string()}).unknown(),preferences:{allowUnknown:e.boolean(),abortEarly:e.boolean(),artifacts:e.boolean(),cache:e.boolean(),convert:e.boolean(),dateFormat:["date","iso","string","time","utc"],errors:{escapeHtml:e.boolean(),label:["path","key"],language:[e.string(),t.desc.ref],wrap:{label:t.wrap,array:t.wrap}},externals:e.boolean(),messages:t.desc.messages,noDefaults:e.boolean(),nonEnumerables:e.boolean(),presence:["required","optional","forbidden"],skipFunctions:e.boolean(),stripUnknown:e.object({arrays:e.boolean(),objects:e.boolean()}).or("arrays","objects").allow(!0,!1),warnings:e.boolean()},allow:t.desc.values,invalid:t.desc.values,rules:e.array().min(1).items({name:e.string().required(),args:e.object().min(1),keep:e.boolean(),message:[e.string(),t.desc.messages],warn:e.boolean()}),keys:e.object().pattern(/.*/,e.link("/")),link:t.desc.ref}).pattern(/^[a-z]\w*$/,e.any()),pr}var fr={},mr={exports:{}};const hr={};var gr=function(e){if(!e)return"";let t="";for(let n=0;n<e.length;++n){const i=e.charCodeAt(n);hr.isSafe(i)?t+=e[n]:t+=hr.escapeHtmlChar(i)}return t};hr.escapeHtmlChar=function(e){const t=hr.namedHtml.get(e);if(t)return t;if(e>=256)return"&#"+e+";";return`&#x${e.toString(16).padStart(2,"0")};`},hr.isSafe=function(e){return hr.safeCharCodes.has(e)},hr.namedHtml=new Map([[38,"&amp;"],[60,"&lt;"],[62,"&gt;"],[34,"&quot;"],[160,"&nbsp;"],[162,"&cent;"],[163,"&pound;"],[164,"&curren;"],[169,"&copy;"],[174,"&reg;"]]),hr.safeCharCodes=function(){const e=new Set;for(let t=32;t<123;++t)(t>=97||t>=65&&t<=90||t>=48&&t<=57||32===t||46===t||44===t||45===t||58===t||95===t)&&e.add(t);return e}();var vr={};!function(e){const t={operators:["!","^","*","/","%","+","-","<","<=",">",">=","==","!=","&&","||","??"],operatorCharacters:["!","^","*","/","%","+","-","<","=",">","&","|","?"],operatorsOrder:[["^"],["*","/","%"],["+","-"],["<","<=",">",">="],["==","!="],["&&"],["||","??"]],operatorsPrefix:["!","n"],literals:{'"':'"',"`":"`","'":"'","[":"]"},numberRx:/^(?:[0-9]*(\.[0-9]*)?){1}$/,tokenRx:/^[\w\$\#\.\@\:\{\}]+$/,symbol:Symbol("formula"),settings:Symbol("settings")};e.Parser=class{constructor(e,n={}){if(!n[t.settings]&&n.constants)for(const e in n.constants){const t=n.constants[e];if(null!==t&&!["boolean","number","string"].includes(typeof t))throw new Error(`Formula constant ${e} contains invalid ${typeof t} value type`)}this.settings=n[t.settings]?n:Object.assign({[t.settings]:!0,constants:{},functions:{}},n),this.single=null,this._parts=null,this._parse(e)}_parse(n){let i=[],a="",r=0,o=!1;const s=n=>{if(r)throw new Error("Formula missing closing parenthesis");const s=i.length?i[i.length-1]:null;if(o||a||n){if(s&&"reference"===s.type&&")"===n)return s.type="function",s.value=this._subFormula(a,s.value),void(a="");if(")"===n){const t=new e.Parser(a,this.settings);i.push({type:"segment",value:t})}else if(o){if("]"===o)return i.push({type:"reference",value:a}),void(a="");i.push({type:"literal",value:a})}else if(t.operatorCharacters.includes(a))s&&"operator"===s.type&&t.operators.includes(s.value+a)?s.value+=a:i.push({type:"operator",value:a});else if(a.match(t.numberRx))i.push({type:"constant",value:parseFloat(a)});else if(void 0!==this.settings.constants[a])i.push({type:"constant",value:this.settings.constants[a]});else{if(!a.match(t.tokenRx))throw new Error(`Formula contains invalid token: ${a}`);i.push({type:"reference",value:a})}a=""}};for(const e of n)o?e===o?(s(),o=!1):a+=e:r?"("===e?(a+=e,++r):")"===e?(--r,r?a+=e:s(e)):a+=e:e in t.literals?o=t.literals[e]:"("===e?(s(),++r):t.operatorCharacters.includes(e)?(s(),a=e,s()):" "!==e?a+=e:s();s(),i=i.map((e,t)=>"operator"!==e.type||"-"!==e.value||t&&"operator"!==i[t-1].type?e:{type:"operator",value:"n"});let c=!1;for(const e of i){if("operator"===e.type){if(t.operatorsPrefix.includes(e.value))continue;if(!c)throw new Error("Formula contains an operator in invalid position");if(!t.operators.includes(e.value))throw new Error(`Formula contains an unknown operator ${e.value}`)}else if(c)throw new Error("Formula missing expected operator");c=!c}if(!c)throw new Error("Formula contains invalid trailing operator");1===i.length&&["reference","literal","constant"].includes(i[0].type)&&(this.single={type:"reference"===i[0].type?"reference":"value",value:i[0].value}),this._parts=i.map(e=>{if("operator"===e.type)return t.operatorsPrefix.includes(e.value)?e:e.value;if("reference"!==e.type)return e.value;if(this.settings.tokenRx&&!this.settings.tokenRx.test(e.value))throw new Error(`Formula contains invalid reference ${e.value}`);return this.settings.reference?this.settings.reference(e.value):t.reference(e.value)})}_subFormula(n,i){const a=this.settings.functions[i];if("function"!=typeof a)throw new Error(`Formula contains unknown function ${i}`);let r=[];if(n){let e="",a=0,o=!1;const s=()=>{if(!e)throw new Error(`Formula contains function ${i} with invalid arguments ${n}`);r.push(e),e=""};for(let i=0;i<n.length;++i){const r=n[i];o?(e+=r,r===o&&(o=!1)):r in t.literals&&!a?(e+=r,o=t.literals[r]):","!==r||a?(e+=r,"("===r?++a:")"===r&&--a):s()}s()}return r=r.map(t=>new e.Parser(t,this.settings)),function(e){const t=[];for(const n of r)t.push(n.evaluate(e));return a.call(e,...t)}}evaluate(e){const n=this._parts.slice();for(let i=n.length-2;i>=0;--i){const a=n[i];if(a&&"operator"===a.type){const r=n[i+1];n.splice(i+1,1);const o=t.evaluate(r,e);n[i]=t.single(a.value,o)}}return t.operatorsOrder.forEach(i=>{for(let a=1;a<n.length-1;)if(i.includes(n[a])){const i=n[a],r=t.evaluate(n[a-1],e),o=t.evaluate(n[a+1],e);n.splice(a,2);const s=t.calculate(i,r,o);n[a-1]=0===s?0:s}else a+=2}),t.evaluate(n[0],e)}},e.Parser.prototype[t.symbol]=!0,t.reference=function(e){return function(t){return t&&void 0!==t[e]?t[e]:null}},t.evaluate=function(e,n){return null===e?null:"function"==typeof e?e(n):e[t.symbol]?e.evaluate(n):e},t.single=function(e,t){if("!"===e)return!t;const n=-t;return 0===n?0:n},t.calculate=function(e,n,i){if("??"===e)return t.exists(n)?n:i;if("string"==typeof n||"string"==typeof i){if("+"===e)return(n=t.exists(n)?n:"")+(i=t.exists(i)?i:"")}else switch(e){case"^":return Math.pow(n,i);case"*":return n*i;case"/":return n/i;case"%":return n%i;case"+":return n+i;case"-":return n-i}switch(e){case"<":return n<i;case"<=":return n<=i;case">":return n>i;case">=":return n>=i;case"==":return n===i;case"!=":return n!==i;case"&&":return n&&i;case"||":return n||i}return null},t.exists=function(e){return null!=e}}(vr);var br,yr,xr={},_r={};function wr(){if(br)return _r;br=1;const e=or,t=$r(),n={annotations:Symbol("annotations")};return _r.error=function(i){if(!this._original||"object"!=typeof this._original)return this.details[0].message;const a=i?"":"",r=i?"":"",o=i?"":"",s=e(this._original);for(let e=this.details.length-1;e>=0;--e){const i=e+1,a=this.details[e],r=a.path;let o=s;for(let e=0;;++e){const s=r[e];if(t.isSchema(o)&&(o=o.clone()),!(e+1<r.length&&"string"!=typeof o[s])){const e=o[n.annotations]||{errors:{},missing:{}};o[n.annotations]=e;const t=s||a.context.key;void 0!==o[s]?(e.errors[t]=e.errors[t]||[],e.errors[t].push(i)):e.missing[t]=i;break}o=o[s]}}const c=/_\$key\$_([, \d]+)_\$end\$_"/g,l=/"_\$miss\$_([^|]+)\|(\d+)_\$end\$_": "__missing__"/g,u=/\s*"_\$idx\$_([, \d]+)_\$end\$_",?\n(.*)/g,p=/"\[(NaN|Symbol.*|-?Infinity|function.*|\(.*)]"/g;let d=n.safeStringify(s,2).replace(c,(e,t)=>`" ${a}[${t}]${o}`).replace(l,(e,t,n)=>`${r}"${t}"${o}${a} [${n}]: -- missing --${o}`).replace(u,(e,t,n)=>`\n${n} ${a}[${t}]${o}`).replace(p,(e,t)=>t);d=`${d}\n${a}`;for(let e=0;e<this.details.length;++e){d=`${d}\n[${e+1}] ${this.details[e].message}`}return d+=o,d},n.safeStringify=function(e,t){return JSON.stringify(e,n.serializer(),t)},n.serializer=function(){const e=[],t=[],i=(n,i)=>t[0]===i?"[Circular ~]":"[Circular ~."+e.slice(0,t.indexOf(i)).join(".")+"]";return function(a,r){if(t.length>0){const n=t.indexOf(this);~n?(t.length=n+1,e.length=n+1,e[n]=a):(t.push(this),e.push(a)),~t.indexOf(r)&&(r=i.call(this,a,r))}else t.push(r);if(r){const e=r[n.annotations];if(e){if(Array.isArray(r)){const t=[];for(let n=0;n<r.length;++n)e.errors[n]&&t.push(`_$idx$_${e.errors[n].sort().join(", ")}_$end$_`),t.push(r[n]);r=t}else{for(const t in e.errors)r[`${t}_$key$_${e.errors[t].sort().join(", ")}_$end$_`]=r[t],r[t]=void 0;for(const t in e.missing)r[`_$miss$_${t}|${e.missing[t]}_$end$_`]="__missing__"}return r}}return r===1/0||r===-1/0||Number.isNaN(r)||"function"==typeof r||"symbol"==typeof r?"["+r.toString()+"]":r}},_r}function Or(){return yr||(yr=1,function(e){const t=wr(),n=$r(),i=Cr();e.Report=class{constructor(t,n,i,a,r,o,s){if(this.code=t,this.flags=a,this.messages=r,this.path=o.path,this.prefs=s,this.state=o,this.value=n,this.message=null,this.template=null,this.local=i||{},this.local.label=e.label(this.flags,this.state,this.prefs,this.messages),void 0===this.value||this.local.hasOwnProperty("value")||(this.local.value=this.value),this.path.length){const e=this.path[this.path.length-1];"object"!=typeof e&&(this.local.key=e)}}_setTemplate(e){if(this.template=e,!this.flags.label&&0===this.path.length){const e=this._template(this.template,"root");e&&(this.local.label=e)}}toString(){if(this.message)return this.message;const e=this.code;if(!this.prefs.errors.render)return this.code;const t=this._template(this.template)||this._template(this.prefs.messages)||this._template(this.messages);return void 0===t?`Error code "${e}" is not defined, your custom type is missing the correct messages definition`:(this.message=t.render(this.value,this.state,this.prefs,this.local,{errors:this.prefs.errors,messages:[this.prefs.messages,this.messages]}),this.prefs.errors.label||(this.message=this.message.replace(/^"" /,"").trim()),this.message)}_template(t,n){return e.template(this.value,t,n||this.code,this.state,this.prefs)}},e.path=function(e){let t="";for(const n of e)"object"!=typeof n&&("string"==typeof n?(t&&(t+="."),t+=n):t+=`[${n}]`);return t},e.template=function(e,t,a,r,o){if(!t)return;if(i.isTemplate(t))return"root"!==a?t:null;let s=o.errors.language;if(n.isResolvable(s)&&(s=s.resolve(e,r,o)),s&&t[s]){if(void 0!==t[s][a])return t[s][a];if(void 0!==t[s]["*"])return t[s]["*"]}return t[a]?t[a]:t["*"]},e.label=function(t,n,i,a){if(!i.errors.label)return"";if(t.label)return t.label;let r=n.path;"key"===i.errors.label&&n.path.length>1&&(r=n.path.slice(-1));const o=e.path(r);return o||(e.template(null,i.messages,"root",n,i)||a&&e.template(null,a,"root",n,i)||"value")},e.process=function(t,n,i){if(!t)return null;const{override:a,message:r,details:o}=e.details(t);if(a)return a;if(i.errors.stack)return new e.ValidationError(r,o,n);const s=Error.stackTraceLimit;Error.stackTraceLimit=0;const c=new e.ValidationError(r,o,n);return Error.stackTraceLimit=s,c},e.details=function(e,t={}){let n=[];const i=[];for(const a of e){if(a instanceof Error){if(!1!==t.override)return{override:a};const e=a.toString();n.push(e),i.push({message:e,type:"override",context:{error:a}});continue}const e=a.toString();n.push(e),i.push({message:e,path:a.path.filter(e=>"object"!=typeof e),type:a.code,context:a.local})}return n.length>1&&(n=[...new Set(n)]),{message:n.join(". "),details:i}},e.ValidationError=class extends Error{constructor(e,t,n){super(e),this._original=n,this.details=t}static isError(t){return t instanceof e.ValidationError}},e.ValidationError.prototype.isJoi=!0,e.ValidationError.prototype.name="ValidationError",e.ValidationError.prototype.annotate=t.error}(xr)),xr}var Ar,Rr,kr,Sr,Er,jr={};function Tr(){return Ar||(Ar=1,function(e){const t=Ka,n=or,i=Ja,a=$r();let r;const o={symbol:Symbol("ref"),defaults:{adjust:null,in:!1,iterables:null,map:null,separator:".",type:"value"}};e.create=function(e,n={}){t("string"==typeof e,"Invalid reference key:",e),a.assertOptions(n,["adjust","ancestor","in","iterables","map","prefix","render","separator"]),t(!n.prefix||"object"==typeof n.prefix,"options.prefix must be of type object");const i=Object.assign({},o.defaults,n);delete i.prefix;const r=i.separator,s=o.context(e,r,n.prefix);if(i.type=s.type,e=s.key,"value"===i.type)if(s.root&&(t(!r||e[0]!==r,"Cannot specify relative path with root prefix"),i.ancestor="root",e||(e=null)),r&&r===e)e=null,i.ancestor=0;else if(void 0!==i.ancestor)t(!r||!e||e[0]!==r,"Cannot combine prefix with ancestor option");else{const[t,n]=o.ancestor(e,r);n&&""===(e=e.slice(n))&&(e=null),i.ancestor=t}return i.path=r?null===e?[]:e.split(r):[e],new o.Ref(i)},e.in=function(t,n={}){return e.create(t,{...n,in:!0})},e.isRef=function(e){return!!e&&!!e[a.symbols.ref]},o.Ref=class{constructor(e){t("object"==typeof e,"Invalid reference construction"),a.assertOptions(e,["adjust","ancestor","in","iterables","map","path","render","separator","type","depth","key","root","display"]),t([!1,void 0].includes(e.separator)||"string"==typeof e.separator&&1===e.separator.length,"Invalid separator"),t(!e.adjust||"function"==typeof e.adjust,"options.adjust must be a function"),t(!e.map||Array.isArray(e.map),"options.map must be an array"),t(!e.map||!e.adjust,"Cannot set both map and adjust options"),Object.assign(this,o.defaults,e),t("value"===this.type||void 0===this.ancestor,"Non-value references cannot reference ancestors"),Array.isArray(this.map)&&(this.map=new Map(this.map)),this.depth=this.path.length,this.key=this.path.length?this.path.join(this.separator):null,this.root=this.path[0],this.updateDisplay()}resolve(e,n,i,a,r={}){return t(!this.in||r.in,"Invalid in() reference usage"),"global"===this.type?this._resolve(i.context,n,r):"local"===this.type?this._resolve(a,n,r):this.ancestor?"root"===this.ancestor?this._resolve(n.ancestors[n.ancestors.length-1],n,r):(t(this.ancestor<=n.ancestors.length,"Invalid reference exceeds the schema root:",this.display),this._resolve(n.ancestors[this.ancestor-1],n,r)):this._resolve(e,n,r)}_resolve(e,t,n){let a;if("value"===this.type&&t.mainstay.shadow&&!1!==n.shadow&&(a=t.mainstay.shadow.get(this.absolute(t))),void 0===a&&(a=i(e,this.path,{iterables:this.iterables,functions:!0})),this.adjust&&(a=this.adjust(a)),this.map){const e=this.map.get(a);void 0!==e&&(a=e)}return t.mainstay&&t.mainstay.tracer.resolve(t,this,a),a}toString(){return this.display}absolute(e){return[...e.path.slice(0,-this.ancestor),...this.path]}clone(){return new o.Ref(this)}describe(){const e={path:this.path};"value"!==this.type&&(e.type=this.type),"."!==this.separator&&(e.separator=this.separator),"value"===this.type&&1!==this.ancestor&&(e.ancestor=this.ancestor),this.map&&(e.map=[...this.map]);for(const t of["adjust","iterables","render"])null!==this[t]&&void 0!==this[t]&&(e[t]=this[t]);return!1!==this.in&&(e.in=!0),{ref:e}}updateDisplay(){const e=null!==this.key?this.key:"";if("value"!==this.type)return void(this.display=`ref:${this.type}:${e}`);if(!this.separator)return void(this.display=`ref:${e}`);if(!this.ancestor)return void(this.display=`ref:${this.separator}${e}`);if("root"===this.ancestor)return void(this.display=`ref:root:${e}`);if(1===this.ancestor)return void(this.display=`ref:${e||".."}`);const t=new Array(this.ancestor+1).fill(this.separator).join("");this.display=`ref:${t}${e||""}`}},o.Ref.prototype[a.symbols.ref]=!0,e.build=function(e){return"value"===(e=Object.assign({},o.defaults,e)).type&&void 0===e.ancestor&&(e.ancestor=1),new o.Ref(e)},o.context=function(e,t,n={}){if(e=e.trim(),n){const i=void 0===n.global?"$":n.global;if(i!==t&&e.startsWith(i))return{key:e.slice(i.length),type:"global"};const a=void 0===n.local?"#":n.local;if(a!==t&&e.startsWith(a))return{key:e.slice(a.length),type:"local"};const r=void 0===n.root?"/":n.root;if(r!==t&&e.startsWith(r))return{key:e.slice(r.length),type:"value",root:!0}}return{key:e,type:"value"}},o.ancestor=function(e,t){if(!t)return[1,0];if(e[0]!==t)return[1,0];if(e[1]!==t)return[0,1];let n=2;for(;e[n]===t;)++n;return[n-1,n]},e.toSibling=0,e.toParent=1,e.Manager=class{constructor(){this.refs=[]}register(t,n){if(t)if(n=void 0===n?e.toParent:n,Array.isArray(t))for(const e of t)this.register(e,n);else if(a.isSchema(t))for(const e of t._refs.refs)e.ancestor-n>=0&&this.refs.push({ancestor:e.ancestor-n,root:e.root});else e.isRef(t)&&"value"===t.type&&t.ancestor-n>=0&&this.refs.push({ancestor:t.ancestor-n,root:t.root}),r=r||Cr(),r.isTemplate(t)&&this.register(t.refs(),n)}get length(){return this.refs.length}clone(){const t=new e.Manager;return t.refs=n(this.refs),t}reset(){this.refs=[]}roots(){return this.refs.filter(e=>!e.ancestor).map(e=>e.root)}}}(jr)),jr}function Cr(){return Rr||(Rr=1,function(e){const t=Ka,n=or,i=gr,a=vr,r=$r(),o=Or(),s=Tr(),c={symbol:Symbol("template"),opens:new Array(1e3).join("\0"),closes:new Array(1e3).join(""),dateFormat:{date:Date.prototype.toDateString,iso:Date.prototype.toISOString,string:Date.prototype.toString,time:Date.prototype.toTimeString,utc:Date.prototype.toUTCString}};e.exports=c.Template=class{constructor(e,i){if(t("string"==typeof e,"Template source must be a string"),t(!e.includes("\0")&&!e.includes(""),"Template source cannot contain reserved control characters"),this.source=e,this.rendered=e,this._template=null,i){const{functions:e,...a}=i;this._settings=Object.keys(a).length?n(a):void 0,this._functions=e,this._functions&&(t(Object.keys(this._functions).every(e=>"string"==typeof e),"Functions keys must be strings"),t(Object.values(this._functions).every(e=>"function"==typeof e),"Functions values must be functions"))}else this._settings=void 0,this._functions=void 0;this._parse()}_parse(){if(!this.source.includes("{"))return;const e=c.encode(this.source),t=c.split(e);let n=!1;const i=[],a=t.shift();a&&i.push(a);for(const e of t){const t="{"!==e[0],a=t?"}":"}}",r=e.indexOf(a);if(-1===r||"{"===e[1]){i.push(`{${c.decode(e)}`);continue}let o=e.slice(t?0:1,r);const s=":"===o[0];s&&(o=o.slice(1));const l=this._ref(c.decode(o),{raw:t,wrapped:s});i.push(l),"string"!=typeof l&&(n=!0);const u=e.slice(r+a.length);u&&i.push(c.decode(u))}n?this._template=i:this.rendered=i.join("")}static date(e,t){return c.dateFormat[t.dateFormat].call(e)}describe(e={}){if(!this._settings&&e.compact)return this.source;const t={template:this.source};return this._settings&&(t.options=this._settings),this._functions&&(t.functions=this._functions),t}static build(e){return new c.Template(e.template,e.options||e.functions?{...e.options,functions:e.functions}:void 0)}isDynamic(){return!!this._template}static isTemplate(e){return!!e&&!!e[r.symbols.template]}refs(){if(!this._template)return;const e=[];for(const t of this._template)"string"!=typeof t&&e.push(...t.refs);return e}resolve(e,t,n,i){return this._template&&1===this._template.length?this._part(this._template[0],e,t,n,i,{}):this.render(e,t,n,i)}_part(e,...t){return e.ref?e.ref.resolve(...t):e.formula.evaluate(t)}render(e,t,n,a,r={}){if(!this.isDynamic())return this.rendered;const o=[];for(const s of this._template)if("string"==typeof s)o.push(s);else{const l=this._part(s,e,t,n,a,r),u=c.stringify(l,e,t,n,a,r);if(void 0!==u){const e=s.raw||!1===(r.errors&&r.errors.escapeHtml)?u:i(u);o.push(c.wrap(e,s.wrapped&&n.errors.wrap.label))}}return o.join("")}_ref(e,{raw:t,wrapped:n}){const i=[],r=e=>{const t=s.create(e,this._settings);return i.push(t),e=>{const n=t.resolve(...e);return void 0!==n?n:null}};try{const t=this._functions?{...c.functions,...this._functions}:c.functions;var o=new a.Parser(e,{reference:r,functions:t,constants:c.constants})}catch(t){throw t.message=`Invalid template variable "${e}" fails due to: ${t.message}`,t}if(o.single){if("reference"===o.single.type){const e=i[0];return{ref:e,raw:t,refs:i,wrapped:n||"local"===e.type&&"label"===e.key}}return c.stringify(o.single.value)}return{formula:o,raw:t,refs:i}}toString(){return this.source}},c.Template.prototype[r.symbols.template]=!0,c.Template.prototype.isImmutable=!0,c.encode=function(e){return e.replace(/\\(\{+)/g,(e,t)=>c.opens.slice(0,t.length)).replace(/\\(\}+)/g,(e,t)=>c.closes.slice(0,t.length))},c.decode=function(e){return e.replace(/\u0000/g,"{").replace(/\u0001/g,"}")},c.split=function(e){const t=[];let n="";for(let i=0;i<e.length;++i){const a=e[i];if("{"===a){let a="";for(;i+1<e.length&&"{"===e[i+1];)a+="{",++i;t.push(n),n=a}else n+=a}return t.push(n),t},c.wrap=function(e,t){return t?1===t.length?`${t}${e}${t}`:`${t[0]}${e}${t[1]}`:e},c.stringify=function(e,t,n,i,a,r={}){const o=typeof e,l=i&&i.errors&&i.errors.wrap||{};let u=!1;if(s.isRef(e)&&e.render&&(u=e.in,e=e.resolve(t,n,i,a,{in:e.in,...r})),null===e)return"null";if("string"===o)return c.wrap(e,r.arrayItems&&l.string);if("number"===o||"function"===o||"symbol"===o)return e.toString();if("object"!==o)return JSON.stringify(e);if(e instanceof Date)return c.Template.date(e,i);if(e instanceof Map){const t=[];for(const[n,i]of e.entries())t.push(`${n.toString()} -> ${i.toString()}`);e=t}if(!Array.isArray(e))return e.toString();const p=[];for(const o of e)p.push(c.stringify(o,t,n,i,a,{arrayItems:!0,...r}));return c.wrap(p.join(", "),!u&&l.array)},c.constants={true:!0,false:!1,null:null,second:1e3,minute:6e4,hour:36e5,day:864e5},c.functions={if:(e,t,n)=>e?t:n,length:e=>"string"==typeof e?e.length:e&&"object"==typeof e?Array.isArray(e)?e.length:Object.keys(e).length:null,msg(e){const[t,n,i,a,r]=this,s=r.messages;if(!s)return"";const c=o.template(t,s[0],e,n,i)||o.template(t,s[1],e,n,i);return c?c.render(t,n,i,a,r):""},number:e=>"number"==typeof e?e:"string"==typeof e?parseFloat(e):"boolean"==typeof e?e?1:0:e instanceof Date?e.getTime():null}}(mr)),mr.exports}function Nr(){return kr||(kr=1,function(e){const t=Ka,n=or,i=Cr();e.compile=function(e,a){if("string"==typeof e)return t(!a,"Cannot set single message string"),new i(e);if(i.isTemplate(e))return t(!a,"Cannot set single message template"),e;t("object"==typeof e&&!Array.isArray(e),"Invalid message options"),a=a?n(a):{};for(let n in e){const r=e[n];if("root"===n||i.isTemplate(r)){a[n]=r;continue}if("string"==typeof r){a[n]=new i(r);continue}t("object"==typeof r&&!Array.isArray(r),"Invalid message for",n);const o=n;for(n in a[o]=a[o]||{},r){const e=r[n];"root"===n||i.isTemplate(e)?a[o][n]=e:(t("string"==typeof e,"Invalid message for",n,"in",o),a[o][n]=new i(e))}}return a},e.decompile=function(e){const t={};for(let n in e){const a=e[n];if("root"===n){t.root=a;continue}if(i.isTemplate(a)){t[n]=a.describe({compact:!0});continue}const r=n;for(n in t[r]={},a){const e=a[n];"root"!==n?t[r][n]=e.describe({compact:!0}):t[r].root=e}}return t},e.merge=function(a,r){if(!a)return e.compile(r);if(!r)return a;if("string"==typeof r)return new i(r);if(i.isTemplate(r))return r;const o=n(a);for(let e in r){const n=r[e];if("root"===e||i.isTemplate(n)){o[e]=n;continue}if("string"==typeof n){o[e]=new i(n);continue}t("object"==typeof n&&!Array.isArray(n),"Invalid message for",e);const a=e;for(e in o[a]=o[a]||{},n){const r=n[e];"root"===e||i.isTemplate(r)?o[a][e]=r:(t("string"==typeof r,"Invalid message for",e,"in",a),o[a][e]=new i(r))}}return o}}(fr)),fr}function $r(){return Sr||(Sr=1,function(e){const t=Ka,n=Va,i=ur;let a,r;const o={isoDate:/^(?:[-+]\d{2})?(?:\d{4}(?!\d{2}\b))(?:(-?)(?:(?:0[1-9]|1[0-2])(?:\1(?:[12]\d|0[1-9]|3[01]))?|W(?:[0-4]\d|5[0-2])(?:-?[1-7])?|(?:00[1-9]|0[1-9]\d|[12]\d{2}|3(?:[0-5]\d|6[1-6])))(?![T]$|[T][\d]+Z$)(?:[T\s](?:(?:(?:[01]\d|2[0-3])(?:(:?)[0-5]\d)?|24\:?00)(?:[.,]\d+(?!:))?)(?:\2[0-5]\d(?:[.,]\d+)?)?(?:[Z]|(?:[+-])(?:[01]\d|2[0-3])(?::?[0-5]\d)?)?)?)?$/};e.version=i.version,e.defaults={abortEarly:!0,allowUnknown:!1,artifacts:!1,cache:!0,context:null,convert:!0,dateFormat:"iso",errors:{escapeHtml:!1,label:"path",language:null,render:!0,stack:!1,wrap:{label:'"',array:"[]"}},externals:!0,messages:{},nonEnumerables:!1,noDefaults:!1,presence:"optional",skipFunctions:!1,stripUnknown:!1,warnings:!1},e.symbols={any:Symbol.for("@hapi/joi/schema"),arraySingle:Symbol("arraySingle"),deepDefault:Symbol("deepDefault"),errors:Symbol("errors"),literal:Symbol("literal"),override:Symbol("override"),parent:Symbol("parent"),prefs:Symbol("prefs"),ref:Symbol("ref"),template:Symbol("template"),values:Symbol("values")},e.assertOptions=function(e,n,i="Options"){t(e&&"object"==typeof e&&!Array.isArray(e),"Options must be of type object");const a=Object.keys(e).filter(e=>!n.includes(e));t(0===a.length,`${i} contain unknown keys: ${a}`)},e.checkPreferences=function(e){r=r||dr();const t=r.preferences.validate(e);if(t.error)throw new n([t.error.details[0].message])},e.compare=function(e,t,n){switch(n){case"=":return e===t;case">":return e>t;case"<":return e<t;case">=":return e>=t;case"<=":return e<=t}},e.default=function(e,t){return void 0===e?t:e},e.isIsoDate=function(e){return o.isoDate.test(e)},e.isNumber=function(e){return"number"==typeof e&&!isNaN(e)},e.isResolvable=function(t){return!!t&&(t[e.symbols.ref]||t[e.symbols.template])},e.isSchema=function(n,i={}){const a=n&&n[e.symbols.any];return!!a&&(t(i.legacy||a.version===e.version,"Cannot mix different versions of joi schemas"),!0)},e.isValues=function(t){return t[e.symbols.values]},e.limit=function(e){return Number.isSafeInteger(e)&&e>=0},e.preferences=function(t,n){a=a||Nr(),t=t||{},n=n||{};const i=Object.assign({},t,n);return n.errors&&t.errors&&(i.errors=Object.assign({},t.errors,n.errors),i.errors.wrap=Object.assign({},t.errors.wrap,n.errors.wrap)),n.messages&&(i.messages=a.compile(n.messages,t.messages)),delete i[e.symbols.prefs],i},e.tryWithPath=function(e,t,n={}){try{return e()}catch(e){throw void 0!==e.path?e.path=t+"."+e.path:e.path=t,n.append&&(e.message=`${e.message} (${e.path})`),e}},e.validateArg=function(t,n,{assert:i,message:a}){if(e.isSchema(i)){const e=i.validate(t);if(!e.error)return;return e.error.message}if(!i(t))return n?`${n} ${a}`:a},e.verifyFlat=function(e,n){for(const i of e)t(!Array.isArray(i),"Method no longer accepts array arguments:",n)}}(lr)),lr}function Fr(){if(Er)return cr;Er=1;const e=Ka,t=or,n=$r(),i={max:1e3,supported:new Set(["undefined","boolean","number","string"])};return cr.provider={provision:e=>new i.Cache(e)},i.Cache=class{constructor(t={}){n.assertOptions(t,["max"]),e(void 0===t.max||t.max&&t.max>0&&isFinite(t.max),"Invalid max cache size"),this._max=t.max||i.max,this._map=new Map,this._list=new i.List}get length(){return this._map.size}set(e,t){if(null!==e&&!i.supported.has(typeof e))return;let n=this._map.get(e);if(n)return n.value=t,void this._list.first(n);n=this._list.unshift({key:e,value:t}),this._map.set(e,n),this._compact()}get(e){const n=this._map.get(e);if(n)return this._list.first(n),t(n.value)}_compact(){if(this._map.size>this._max){const e=this._list.pop();this._map.delete(e.key)}}},i.List=class{constructor(){this.tail=null,this.head=null}unshift(e){return e.next=null,e.prev=this.head,this.head&&(this.head.next=e),this.head=e,this.tail||(this.tail=e),e}first(e){e!==this.head&&(this._remove(e),this.unshift(e))}pop(){return this._remove(this.tail)}_remove(e){const{next:t,prev:n}=e;return t.prev=n,n&&(n.next=t),e===this.tail&&(this.tail=t),e.prev=null,e.next=null,e}},cr}var Ir,Lr={};function Pr(){return Ir||(Ir=1,function(e){const t=Ka,n=$r(),i=Tr(),a={};e.schema=function(e,t,i={}){n.assertOptions(i,["appendPath","override"]);try{return a.schema(e,t,i)}catch(e){throw i.appendPath&&void 0!==e.path&&(e.message=`${e.message} (${e.path})`),e}},a.schema=function(e,i,r){t(void 0!==i,"Invalid undefined schema"),Array.isArray(i)&&(t(i.length,"Invalid empty array schema"),1===i.length&&(i=i[0]));const o=(t,...n)=>!1!==r.override?t.valid(e.override,...n):t.valid(...n);if(a.simple(i))return o(e,i);if("function"==typeof i)return e.custom(i);if(t("object"==typeof i,"Invalid schema content:",typeof i),n.isResolvable(i))return o(e,i);if(n.isSchema(i))return i;if(Array.isArray(i)){for(const t of i)if(!a.simple(t))return e.alternatives().try(...i);return o(e,...i)}return i instanceof RegExp?e.string().regex(i):i instanceof Date?o(e.date(),i):(t(Object.getPrototypeOf(i)===Object.getPrototypeOf({}),"Schema can only contain plain objects"),e.object().keys(i))},e.ref=function(e,t){return i.isRef(e)?e:i.create(e,t)},e.compile=function(i,r,o={}){n.assertOptions(o,["legacy"]);const s=r&&r[n.symbols.any];if(s)return t(o.legacy||s.version===n.version,"Cannot mix different versions of joi schemas:",s.version,n.version),r;if("object"!=typeof r||!o.legacy)return e.schema(i,r,{appendPath:!0});const c=a.walk(r);return c?c.compile(c.root,r):e.schema(i,r,{appendPath:!0})},a.walk=function(e){if("object"!=typeof e)return null;if(Array.isArray(e)){for(const t of e){const e=a.walk(t);if(e)return e}return null}const i=e[n.symbols.any];if(i)return{root:e[i.root],compile:i.compile};t(Object.getPrototypeOf(e)===Object.getPrototypeOf({}),"Schema can only contain plain objects");for(const t in e){const n=a.walk(e[t]);if(n)return n}return null},a.simple=function(e){return null===e||["boolean","string","number"].includes(typeof e)},e.when=function(r,o,s){if(void 0===s&&(t(o&&"object"==typeof o,"Missing options"),s=o,o=i.create(".")),Array.isArray(s)&&(s={switch:s}),n.assertOptions(s,["is","not","then","otherwise","switch","break"]),n.isSchema(o))return t(void 0===s.is,'"is" can not be used with a schema condition'),t(void 0===s.not,'"not" can not be used with a schema condition'),t(void 0===s.switch,'"switch" can not be used with a schema condition'),a.condition(r,{is:o,then:s.then,otherwise:s.otherwise,break:s.break});if(t(i.isRef(o)||"string"==typeof o,"Invalid condition:",o),t(void 0===s.not||void 0===s.is,'Cannot combine "is" with "not"'),void 0===s.switch){let c=s;void 0!==s.not&&(c={is:s.not,then:s.otherwise,otherwise:s.then,break:s.break});let l=void 0!==c.is?r.$_compile(c.is):r.$_root.invalid(null,!1,0,"").required();return t(void 0!==c.then||void 0!==c.otherwise,'options must have at least one of "then", "otherwise", or "switch"'),t(void 0===c.break||void 0===c.then||void 0===c.otherwise,"Cannot specify then, otherwise, and break all together"),void 0===s.is||i.isRef(s.is)||n.isSchema(s.is)||(l=l.required()),a.condition(r,{ref:e.ref(o),is:l,then:c.then,otherwise:c.otherwise,break:c.break})}t(Array.isArray(s.switch),'"switch" must be an array'),t(void 0===s.is,'Cannot combine "switch" with "is"'),t(void 0===s.not,'Cannot combine "switch" with "not"'),t(void 0===s.then,'Cannot combine "switch" with "then"');const c={ref:e.ref(o),switch:[],break:s.break};for(let e=0;e<s.switch.length;++e){const a=s.switch[e],o=e===s.switch.length-1;n.assertOptions(a,o?["is","then","otherwise"]:["is","then"]),t(void 0!==a.is,'Switch statement missing "is"'),t(void 0!==a.then,'Switch statement missing "then"');const l={is:r.$_compile(a.is),then:r.$_compile(a.then)};if(i.isRef(a.is)||n.isSchema(a.is)||(l.is=l.is.required()),o){t(void 0===s.otherwise||void 0===a.otherwise,'Cannot specify "otherwise" inside and outside a "switch"');const e=void 0!==s.otherwise?s.otherwise:a.otherwise;void 0!==e&&(t(void 0===c.break,"Cannot specify both otherwise and break"),l.otherwise=r.$_compile(e))}c.switch.push(l)}return c},a.condition=function(e,t){for(const n of["then","otherwise"])void 0===t[n]?delete t[n]:t[n]=e.$_compile(t[n]);return t}}(Lr)),Lr}var Dr,Ur={};function Br(){if(Dr)return Ur;Dr=1;const e=Ka,t=or,n=$r(),i=Nr(),a={};return Ur.type=function(r,o){const s=Object.getPrototypeOf(r),c=t(s),l=r._assign(Object.create(c)),u=Object.assign({},o);delete u.base,c._definition=u;const p=s._definition||{};u.messages=i.merge(p.messages,u.messages),u.properties=Object.assign({},p.properties,u.properties),l.type=u.type,u.flags=Object.assign({},p.flags,u.flags);const d=Object.assign({},p.terms);if(u.terms)for(const t in u.terms){const n=u.terms[t];e(void 0===l.$_terms[t],"Invalid term override for",u.type,t),l.$_terms[t]=n.init,d[t]=n}u.terms=d,u.args||(u.args=p.args),u.prepare=a.prepare(u.prepare,p.prepare),u.coerce&&("function"==typeof u.coerce&&(u.coerce={method:u.coerce}),u.coerce.from&&!Array.isArray(u.coerce.from)&&(u.coerce={method:u.coerce.method,from:[].concat(u.coerce.from)})),u.coerce=a.coerce(u.coerce,p.coerce),u.validate=a.validate(u.validate,p.validate);const f=Object.assign({},p.rules);if(u.rules)for(const t in u.rules){const i=u.rules[t];e("object"==typeof i,"Invalid rule definition for",u.type,t);let a=i.method;if(void 0===a&&(a=function(){return this.$_addRule(t)}),a&&(e(!c[t],"Rule conflict in",u.type,t),c[t]=a),e(!f[t],"Rule conflict in",u.type,t),f[t]=i,i.alias){const e=[].concat(i.alias);for(const t of e)c[t]=i.method}i.args&&(i.argsByName=new Map,i.args=i.args.map(t=>("string"==typeof t&&(t={name:t}),e(!i.argsByName.has(t.name),"Duplicated argument name",t.name),n.isSchema(t.assert)&&(t.assert=t.assert.strict().label(t.name)),i.argsByName.set(t.name,t),t)))}u.rules=f;const m=Object.assign({},p.modifiers);if(u.modifiers)for(const t in u.modifiers){e(!c[t],"Rule conflict in",u.type,t);const n=u.modifiers[t];e("function"==typeof n,"Invalid modifier definition for",u.type,t);const i=function(e){return this.rule({[t]:e})};c[t]=i,m[t]=n}if(u.modifiers=m,u.overrides){c._super=s,l.$_super={};for(const t in u.overrides)e(s[t],"Cannot override missing",t),u.overrides[t][n.symbols.parent]=s[t],l.$_super[t]=s[t].bind(l);Object.assign(c,u.overrides)}u.cast=Object.assign({},p.cast,u.cast);const h=Object.assign({},p.manifest,u.manifest);return h.build=a.build(u.manifest&&u.manifest.build,p.manifest&&p.manifest.build),u.manifest=h,u.rebuild=a.rebuild(u.rebuild,p.rebuild),l},a.build=function(e,t){return e&&t?function(n,i){return t(e(n,i),i)}:e||t},a.coerce=function(e,t){return e&&t?{from:e.from&&t.from?[...new Set([...e.from,...t.from])]:null,method(n,i){let a;if((!t.from||t.from.includes(typeof n))&&(a=t.method(n,i),a)){if(a.errors||void 0===a.value)return a;n=a.value}if(!e.from||e.from.includes(typeof n)){const t=e.method(n,i);if(t)return t}return a}}:e||t},a.prepare=function(e,t){return e&&t?function(n,i){const a=e(n,i);if(a){if(a.errors||void 0===a.value)return a;n=a.value}return t(n,i)||a}:e||t},a.rebuild=function(e,t){return e&&t?function(n){t(n),e(n)}:e||t},a.validate=function(e,t){return e&&t?function(n,i){const a=t(n,i);if(a){if(a.errors&&(!Array.isArray(a.errors)||a.errors.length))return a;n=a.value}return e(n,i)||a}:e||t},Ur}var Mr,zr={};function qr(){if(Mr)return zr;Mr=1;const e=Ka,t=or,n=$r(),i=Nr(),a=Tr(),r=Cr();let o;const s={};return zr.describe=function(a){const r=a._definition,o={type:a.type,flags:{},rules:[]};for(const e in a._flags)"_"!==e[0]&&(o.flags[e]=s.describe(a._flags[e]));Object.keys(o.flags).length||delete o.flags,a._preferences&&(o.preferences=t(a._preferences,{shallow:["messages"]}),delete o.preferences[n.symbols.prefs],o.preferences.messages&&(o.preferences.messages=i.decompile(o.preferences.messages))),a._valids&&(o.allow=a._valids.describe()),a._invalids&&(o.invalid=a._invalids.describe());for(const e of a._rules){if(!1===r.rules[e.name].manifest)continue;const t={name:e.name};for(const n in r.modifiers)void 0!==e[n]&&(t[n]=s.describe(e[n]));if(e.args){t.args={};for(const n in e.args){const i=e.args[n];("options"!==n||Object.keys(i).length)&&(t.args[n]=s.describe(i,{assign:n}))}Object.keys(t.args).length||delete t.args}o.rules.push(t)}o.rules.length||delete o.rules;for(const t in a.$_terms){if("_"===t[0])continue;e(!o[t],"Cannot describe schema due to internal name conflict with",t);const i=a.$_terms[t];if(!i)continue;if(i instanceof Map){i.size&&(o[t]=[...i.entries()]);continue}if(n.isValues(i)){o[t]=i.describe();continue}e(r.terms[t],"Term",t,"missing configuration");const c=r.terms[t].manifest,l="object"==typeof c;if(!i.length&&!l)continue;const u=[];for(const e of i)u.push(s.describe(e));if(l){const{from:e,to:n}=c.mapped;o[t]={};for(const i of u)o[t][i[n]]=i[e];continue}"single"!==c?o[t]=u:(e(1===u.length,"Term",t,"contains more than one item"),o[t]=u[0])}return s.validate(a.$_root,o),o},s.describe=function(e,i={}){if(Array.isArray(e))return e.map(s.describe);if(e===n.symbols.deepDefault)return{special:"deep"};if("object"!=typeof e||null===e)return e;if("options"===i.assign)return t(e);if(Buffer&&Buffer.isBuffer(e))return{buffer:e.toString("binary")};if(e instanceof Date)return e.toISOString();if(e instanceof Error)return e;if(e instanceof RegExp)return"regex"===i.assign?e.toString():{regex:e.toString()};if(e[n.symbols.literal])return{function:e.literal};if("function"==typeof e.describe)return"ref"===i.assign?e.describe().ref:e.describe();const a={};for(const t in e){const n=e[t];void 0!==n&&(a[t]=s.describe(n,{assign:t}))}return a},zr.build=function(e,t){return new s.Builder(e).parse(t)},s.Builder=class{constructor(e){this.joi=e}parse(t){s.validate(this.joi,t);let n=this.joi[t.type]()._bare();const i=n._definition;if(t.flags)for(const a in t.flags){const r=i.flags[a]&&i.flags[a].setter||a;e("function"==typeof n[r],"Invalid flag",a,"for type",t.type),n=n[r](this.build(t.flags[a]))}if(t.preferences&&(n=n.preferences(this.build(t.preferences))),t.allow&&(n=n.allow(...this.build(t.allow))),t.invalid&&(n=n.invalid(...this.build(t.invalid))),t.rules)for(const a of t.rules){e("function"==typeof n[a.name],"Invalid rule",a.name,"for type",t.type);const r=[];if(a.args){const n={};for(const e in a.args)n[e]=this.build(a.args[e],{assign:e});const o=Object.keys(n),s=i.rules[a.name].args;if(s){e(o.length<=s.length,"Invalid number of arguments for",t.type,a.name,"(expected up to",s.length,", found",o.length,")");for(const{name:e}of s)r.push(n[e])}else e(1===o.length,"Invalid number of arguments for",t.type,a.name,"(expected up to 1, found",o.length,")"),r.push(n[o[0]])}n=n[a.name](...r);const o={};for(const e in i.modifiers)void 0!==a[e]&&(o[e]=this.build(a[e]));Object.keys(o).length&&(n=n.rule(o))}const a={};for(const n in t){if(["allow","flags","invalid","whens","preferences","rules","type"].includes(n))continue;e(i.terms[n],"Term",n,"missing configuration");const r=i.terms[n].manifest;if("schema"!==r)if("values"!==r)if("single"!==r)if("object"!=typeof r)a[n]=this.build(t[n]);else{a[n]={};for(const e in t[n]){const i=t[n][e];a[n][e]=this.parse(i)}}else a[n]=this.build(t[n]);else a[n]=t[n].map(e=>this.build(e));else a[n]=t[n].map(e=>this.parse(e))}return t.whens&&(a.whens=t.whens.map(e=>this.build(e))),n=i.manifest.build(n,a),n.$_temp.ruleset=!1,n}build(i,o={}){if(null===i)return null;if(Array.isArray(i))return i.map(e=>this.build(e));if(i instanceof Error)return i;if("options"===o.assign)return t(i);if("regex"===o.assign)return s.regex(i);if("ref"===o.assign)return a.build(i);if("object"!=typeof i)return i;if(1===Object.keys(i).length){if(i.buffer)return e(Buffer,"Buffers are not supported"),Buffer&&Buffer.from(i.buffer,"binary");if(i.function)return{[n.symbols.literal]:!0,literal:i.function};if(i.override)return n.symbols.override;if(i.ref)return a.build(i.ref);if(i.regex)return s.regex(i.regex);if(i.special)return e(["deep"].includes(i.special),"Unknown special value",i.special),n.symbols.deepDefault;if(i.value)return t(i.value)}if(i.type)return this.parse(i);if(i.template)return r.build(i);const c={};for(const e in i)c[e]=this.build(i[e],{assign:e});return c}},s.regex=function(e){const t=e.lastIndexOf("/"),n=e.slice(1,t),i=e.slice(t+1);return new RegExp(n,i)},s.validate=function(e,t){o=o||dr(),e.assert(t,o.description)},zr}var Gr={};const Hr=er,Wr={mismatched:null};var Vr=function(e,t,n){return n=Object.assign({prototype:!0},n),!!Wr.isDeepEqual(e,t,n,[])};Wr.isDeepEqual=function(e,t,n,i){if(e===t)return 0!==e||1/e==1/t;const a=typeof e;if(a!==typeof t)return!1;if(null===e||null===t)return!1;if("function"===a){if(!n.deepFunction||e.toString()!==t.toString())return!1}else if("object"!==a)return e!=e&&t!=t;const r=Wr.getSharedType(e,t,!!n.prototype);switch(r){case Hr.buffer:return Buffer&&Buffer.prototype.equals.call(e,t);case Hr.promise:return e===t;case Hr.regex:return e.toString()===t.toString();case Wr.mismatched:return!1}for(let n=i.length-1;n>=0;--n)if(i[n].isSame(e,t))return!0;i.push(new Wr.SeenEntry(e,t));try{return!!Wr.isDeepEqualObj(r,e,t,n,i)}finally{i.pop()}},Wr.getSharedType=function(e,t,n){if(n)return Object.getPrototypeOf(e)!==Object.getPrototypeOf(t)?Wr.mismatched:Hr.getInternalProto(e);const i=Hr.getInternalProto(e);return i!==Hr.getInternalProto(t)?Wr.mismatched:i},Wr.valueOf=function(e){const t=e.valueOf;if(void 0===t)return e;try{return t.call(e)}catch(e){return e}},Wr.hasOwnEnumerableProperty=function(e,t){return Object.prototype.propertyIsEnumerable.call(e,t)},Wr.isSetSimpleEqual=function(e,t){for(const n of Set.prototype.values.call(e))if(!Set.prototype.has.call(t,n))return!1;return!0},Wr.isDeepEqualObj=function(e,t,n,i,a){const{isDeepEqual:r,valueOf:o,hasOwnEnumerableProperty:s}=Wr,{keys:c,getOwnPropertySymbols:l}=Object;if(e===Hr.array){if(!i.part){if(t.length!==n.length)return!1;for(let e=0;e<t.length;++e)if(!r(t[e],n[e],i,a))return!1;return!0}for(const e of t)for(const t of n)if(r(e,t,i,a))return!0}else if(e===Hr.set){if(t.size!==n.size)return!1;if(!Wr.isSetSimpleEqual(t,n)){const e=new Set(Set.prototype.values.call(n));for(const n of Set.prototype.values.call(t)){if(e.delete(n))continue;let t=!1;for(const o of e)if(r(n,o,i,a)){e.delete(o),t=!0;break}if(!t)return!1}}}else if(e===Hr.map){if(t.size!==n.size)return!1;for(const[e,o]of Map.prototype.entries.call(t)){if(void 0===o&&!Map.prototype.has.call(n,e))return!1;if(!r(o,Map.prototype.get.call(n,e),i,a))return!1}}else if(e===Hr.error&&(t.name!==n.name||t.message!==n.message))return!1;const u=o(t),p=o(n);if((t!==u||n!==p)&&!r(u,p,i,a))return!1;const d=c(t);if(!i.part&&d.length!==c(n).length&&!i.skip)return!1;let f=0;for(const e of d)if(i.skip&&i.skip.includes(e))void 0===n[e]&&++f;else{if(!s(n,e))return!1;if(!r(t[e],n[e],i,a))return!1}if(!i.part&&d.length-f!==c(n).length)return!1;if(!1!==i.symbols){const e=l(t),o=new Set(l(n));for(const c of e){if(!i.skip||!i.skip.includes(c))if(s(t,c)){if(!s(n,c))return!1;if(!r(t[c],n[c],i,a))return!1}else if(s(n,c))return!1;o.delete(c)}for(const e of o)if(s(n,e))return!1}return!0},Wr.SeenEntry=class{constructor(e,t){this.obj=e,this.ref=t}isSame(e,t){return this.obj===e&&this.ref===t}};var Zr,Kr={};function Xr(){if(Zr)return Gr;Zr=1;const e=Vr,t=Kr,n=Or(),i={codes:{error:1,pass:2,full:3},labels:{0:"never used",1:"always error",2:"always pass"}};return Gr.setup=function(e){const t=function(){return e._tracer=e._tracer||new i.Tracer,e._tracer};e.trace=t,e[Symbol.for("@hapi/lab/coverage/initialize")]=t,e.untrace=()=>{e._tracer=null}},Gr.location=function(e){return e.$_setFlag("_tracerLocation",t.location(2))},i.Tracer=class{constructor(){this.name="Joi",this._schemas=new Map}_register(e){const n=this._schemas.get(e);if(n)return n.store;const a=new i.Store(e),{filename:r,line:o}=e._flags._tracerLocation||t.location(5);return this._schemas.set(e,{filename:r,line:o,store:a}),a}_combine(e,t){for(const{store:n}of this._schemas.values())n._combine(e,t)}report(e){const t=[];for(const{filename:n,line:a,store:r}of this._schemas.values()){if(e&&e!==n)continue;const o=[],s=[];for(const[e,t]of r._sources.entries()){if(i.sub(t.paths,s))continue;if(!t.entry){o.push({status:"never reached",paths:[...t.paths]}),s.push(...t.paths);continue}for(const n of["valid","invalid"]){const i=e[`_${n}s`];if(!i)continue;const a=new Set(i._values),r=new Set(i._refs);for(const{value:e,ref:i}of t[n])a.delete(e),r.delete(i);(a.size||r.size)&&o.push({status:[...a,...[...r].map(e=>e.display)],rule:`${n}s`})}const n=e._rules.map(e=>e.name);for(const t of["default","failover"])void 0!==e._flags[t]&&n.push(t);for(const e of n){const n=i.labels[t.rule[e]||0];if(n){const i={rule:e,status:n};t.paths.size&&(i.paths=[...t.paths]),o.push(i)}}}o.length&&t.push({filename:n,line:a,missing:o,severity:"error",message:`Schema missing tests for ${o.map(i.message).join(", ")}`})}return t.length?t:null}},i.Store=class{constructor(e){this.active=!0,this._sources=new Map,this._combos=new Map,this._scan(e)}debug(e,t,n,i){e.mainstay.debug&&e.mainstay.debug.push({type:t,name:n,result:i,path:e.path})}entry(e,t){i.debug(t,{type:"entry"}),this._record(e,e=>{e.entry=!0})}filter(e,t,n,a){i.debug(t,{type:n,...a}),this._record(e,e=>{e[n].add(a)})}log(e,t,n,a,r){i.debug(t,{type:n,name:a,result:"full"===r?"pass":r}),this._record(e,e=>{e[n][a]=e[n][a]||0,e[n][a]|=i.codes[r]})}resolve(e,t,n){if(!e.mainstay.debug)return;const i={type:"resolve",ref:t.display,to:n,path:e.path};e.mainstay.debug.push(i)}value(t,n,i,a,r){if(!t.mainstay.debug||e(i,a))return;const o={type:"value",by:n,from:i,to:a,path:t.path};r&&(o.name=r),t.mainstay.debug.push(o)}_record(e,t){const n=this._sources.get(e);if(n)return void t(n);const i=this._combos.get(e);for(const e of i)this._record(e,t)}_scan(e,t){const n=t||[];let a=this._sources.get(e);a||(a={paths:new Set,entry:!1,rule:{},valid:new Set,invalid:new Set},this._sources.set(e,a)),n.length&&a.paths.add(n);e.$_modify({each:(e,t)=>{const a=i.id(e,t);this._scan(e,n.concat(a))},ref:!1})}_combine(e,t){this._combos.set(e,t)}},i.message=function(e){return`${e.paths?n.path(e.paths[0])+(e.rule?":":""):""}${e.rule||""} (${e.status})`},i.id=function(e,{source:t,name:n,path:i,key:a}){return e._flags.id?e._flags.id:a||(n=`@${n}`,"terms"===t?[n,i[Math.min(i.length-1,1)]]:n)},i.sub=function(t,n){for(const i of t)for(const t of n)if(e(i.slice(0,t.length),t))return!0;return!1},i.debug=function(e,t){e.mainstay.debug&&(t.path=e.debug?[...e.path,e.debug]:e.path,e.mainstay.debug.push(t))},Gr}Kr.location=function(e=0){const t=Error.prepareStackTrace;Error.prepareStackTrace=(e,t)=>t;const n={};Error.captureStackTrace(n,this);const i=n.stack[e+1];return Error.prepareStackTrace=t,{filename:i.getFileName(),line:i.getLineNumber()}};const Yr=Ka,Jr=or,Qr=tr,eo={};var to,no=eo.merge=function(e,t,n){if(Yr(e&&"object"==typeof e,"Invalid target value: must be an object"),Yr(null==t||"object"==typeof t,"Invalid source value: must be null, undefined, or an object"),!t)return e;if(n=Object.assign({nullOverride:!0,mergeArrays:!0},n),Array.isArray(t)){Yr(Array.isArray(e),"Cannot merge array onto an object"),n.mergeArrays||(e.length=0);for(let i=0;i<t.length;++i)e.push(Jr(t[i],{symbols:n.symbols}));return e}const i=Qr.keys(t,n);for(let a=0;a<i.length;++a){const r=i[a];if("__proto__"===r||!Object.prototype.propertyIsEnumerable.call(t,r))continue;const o=t[r];if(o&&"object"==typeof o){if(e[r]===o)continue;!e[r]||"object"!=typeof e[r]||Array.isArray(e[r])!==Array.isArray(o)||o instanceof Date||Buffer&&Buffer.isBuffer(o)||o instanceof RegExp?e[r]=Jr(o,{symbols:n.symbols}):eo.merge(e[r],o,n)}else(null!=o||n.nullOverride)&&(e[r]=o)}return e},io={};var ao,ro,oo,so,co,lo,uo,po,fo,mo,ho,go,vo,bo,yo,xo,_o,wo={},Oo=function(){};function Ao(){return oo||(oo=1,function(e){const t=Ka,n=or,i=Oo,a=Ja,r=$r(),o=Or(),s=function(){if(ro)return ao;ro=1;const e=or,t=Ja,n=$r(),i={value:Symbol("value")};return ao=i.State=class{constructor(e,t,n){this.path=e,this.ancestors=t,this.mainstay=n.mainstay,this.schemas=n.schemas,this.debug=null}localize(e,t=null,n=null){const a=new i.State(e,t,this);return n&&a.schemas&&(a.schemas=[i.schemas(n),...a.schemas]),a}nest(e,t){const n=new i.State(this.path,this.ancestors,this);return n.schemas=n.schemas&&[i.schemas(e),...n.schemas],n.debug=t,n}shadow(e,t){this.mainstay.shadow=this.mainstay.shadow||new i.Shadow,this.mainstay.shadow.set(this.path,e,t)}snapshot(){this.mainstay.shadow&&(this._snapshot=e(this.mainstay.shadow.node(this.path))),this.mainstay.snapshot()}restore(){this.mainstay.shadow&&(this.mainstay.shadow.override(this.path,this._snapshot),this._snapshot=void 0),this.mainstay.restore()}commit(){this.mainstay.shadow&&(this.mainstay.shadow.override(this.path,this._snapshot),this._snapshot=void 0),this.mainstay.commit()}},i.schemas=function(e){return n.isSchema(e)?{schema:e}:e},i.Shadow=class{constructor(){this._values=null}set(e,t,n){if(!e.length)return;if("strip"===n&&"number"==typeof e[e.length-1])return;this._values=this._values||new Map;let a=this._values;for(let t=0;t<e.length;++t){const n=e[t];let i=a.get(n);i||(i=new Map,a.set(n,i)),a=i}a[i.value]=t}get(e){const t=this.node(e);if(t)return t[i.value]}node(e){if(this._values)return t(this._values,e,{iterables:!0})}override(e,n){if(!this._values)return;const i=e.slice(0,-1),a=e[e.length-1],r=t(this._values,i,{iterables:!0});n?r.set(a,n):r&&r.delete(a)}},ao}(),c={result:Symbol("result")};e.entry=function(e,n,i){let a=r.defaults;i&&(t(void 0===i.warnings,"Cannot override warnings preference in synchronous validation"),t(void 0===i.artifacts,"Cannot override artifacts preference in synchronous validation"),a=r.preferences(r.defaults,i));const s=c.entry(e,n,a);t(!s.mainstay.externals.length,"Schema with external rules must use validateAsync()");const l={value:s.value};return s.error&&(l.error=s.error),s.mainstay.warnings.length&&(l.warning=o.details(s.mainstay.warnings)),s.mainstay.debug&&(l.debug=s.mainstay.debug),s.mainstay.artifacts&&(l.artifacts=s.mainstay.artifacts),l},e.entryAsync=async function(e,t,n){let i=r.defaults;n&&(i=r.preferences(r.defaults,n));const s=c.entry(e,t,i),l=s.mainstay;if(s.error)throw l.debug&&(s.error.debug=l.debug),s.error;if(l.externals.length){let t=s.value;const u=[];for(const s of l.externals){const p=s.state.path,d="link"===s.schema.type?l.links.get(s.schema):null;let f,m,h=t;const g=p.length?[t]:[],v=p.length?a(e,p):e;if(p.length){f=p[p.length-1];let e=t;for(const t of p.slice(0,-1))e=e[t],g.unshift(e);m=g[0],h=m[f]}try{const e=(e,t)=>(d||s.schema).$_createError(e,h,t,s.state,i),a=await s.method(h,{schema:s.schema,linked:d,state:s.state,prefs:n,original:v,error:e,errorsArray:c.errorsArray,warn:(e,t)=>l.warnings.push((d||s.schema).$_createError(e,h,t,s.state,i)),message:(e,t)=>(d||s.schema).$_createError("external",h,t,s.state,i,{messages:e})});if(void 0===a||a===h)continue;if(a instanceof o.Report){if(l.tracer.log(s.schema,s.state,"rule","external","error"),u.push(a),i.abortEarly)break;continue}if(Array.isArray(a)&&a[r.symbols.errors]){if(l.tracer.log(s.schema,s.state,"rule","external","error"),u.push(...a),i.abortEarly)break;continue}m?(l.tracer.value(s.state,"rule",h,a,"external"),m[f]=a):(l.tracer.value(s.state,"rule",t,a,"external"),t=a)}catch(e){throw i.errors.label&&(e.message+=` (${s.label})`),e}}if(s.value=t,u.length)throw s.error=o.process(u,e,i),l.debug&&(s.error.debug=l.debug),s.error}if(!i.warnings&&!i.debug&&!i.artifacts)return s.value;const u={value:s.value};return l.warnings.length&&(u.warning=o.details(l.warnings)),l.debug&&(u.debug=l.debug),l.artifacts&&(u.artifacts=l.artifacts),u},c.Mainstay=class{constructor(e,t,n){this.externals=[],this.warnings=[],this.tracer=e,this.debug=t,this.links=n,this.shadow=null,this.artifacts=null,this._snapshots=[]}snapshot(){this._snapshots.push({externals:this.externals.slice(),warnings:this.warnings.slice()})}restore(){const e=this._snapshots.pop();this.externals=e.externals,this.warnings=e.warnings}commit(){this._snapshots.pop()}},c.entry=function(t,n,i){const{tracer:a,cleanup:r}=c.tracer(n,i),l=i.debug?[]:null,u=n._ids._schemaChain?new Map:null,p=new c.Mainstay(a,l,u),d=n._ids._schemaChain?[{schema:n}]:null,f=new s([],[],{mainstay:p,schemas:d}),m=e.validate(t,n,f,i);r&&n.$_root.untrace();const h=o.process(m.errors,t,i);return{value:m.value,error:h,mainstay:p}},c.tracer=function(e,n){return e.$_root._tracer?{tracer:e.$_root._tracer._register(e)}:n.debug?(t(e.$_root.trace,"Debug mode not supported"),{tracer:e.$_root.trace()._register(e),cleanup:!0}):{tracer:c.ignore}},e.validate=function(e,t,n,i,a={}){if(t.$_terms.whens&&(t=t._generate(e,n,i).schema),t._preferences&&(i=c.prefs(t,i)),t._cache&&i.cache){const i=t._cache.get(e);if(n.mainstay.tracer.debug(n,"validate","cached",!!i),i)return i}const o=(a,r,o)=>t.$_createError(a,e,r,o||n,i),s={original:e,prefs:i,schema:t,state:n,error:o,errorsArray:c.errorsArray,warn:(e,t,i)=>n.mainstay.warnings.push(o(e,t,i)),message:(a,r)=>t.$_createError("custom",e,r,n,i,{messages:a})};n.mainstay.tracer.entry(t,n);const l=t._definition;if(l.prepare&&void 0!==e&&i.convert){const t=l.prepare(e,s);if(t){if(n.mainstay.tracer.value(n,"prepare",e,t.value),t.errors)return c.finalize(t.value,[].concat(t.errors),s);e=t.value}}if(l.coerce&&void 0!==e&&i.convert&&(!l.coerce.from||l.coerce.from.includes(typeof e))){const t=l.coerce.method(e,s);if(t){if(n.mainstay.tracer.value(n,"coerced",e,t.value),t.errors)return c.finalize(t.value,[].concat(t.errors),s);e=t.value}}const u=t._flags.empty;u&&u.$_match(c.trim(e,t),n.nest(u),r.defaults)&&(n.mainstay.tracer.value(n,"empty",e,void 0),e=void 0);const p=a.presence||t._flags.presence||(t._flags._endedSwitch?null:i.presence);if(void 0===e){if("forbidden"===p)return c.finalize(e,null,s);if("required"===p)return c.finalize(e,[t.$_createError("any.required",e,null,n,i)],s);if("optional"===p){if(t._flags.default!==r.symbols.deepDefault)return c.finalize(e,null,s);n.mainstay.tracer.value(n,"default",e,{}),e={}}}else if("forbidden"===p)return c.finalize(e,[t.$_createError("any.unknown",e,null,n,i)],s);const d=[];if(t._valids){const a=t._valids.get(e,n,i,t._flags.insensitive);if(a)return i.convert&&(n.mainstay.tracer.value(n,"valids",e,a.value),e=a.value),n.mainstay.tracer.filter(t,n,"valid",a),c.finalize(e,null,s);if(t._flags.only){const a=t.$_createError("any.only",e,{valids:t._valids.values({display:!0})},n,i);if(i.abortEarly)return c.finalize(e,[a],s);d.push(a)}}if(t._invalids){const a=t._invalids.get(e,n,i,t._flags.insensitive);if(a){n.mainstay.tracer.filter(t,n,"invalid",a);const r=t.$_createError("any.invalid",e,{invalids:t._invalids.values({display:!0})},n,i);if(i.abortEarly)return c.finalize(e,[r],s);d.push(r)}}if(l.validate){const t=l.validate(e,s);if(t&&(n.mainstay.tracer.value(n,"base",e,t.value),e=t.value,t.errors)){if(!Array.isArray(t.errors))return d.push(t.errors),c.finalize(e,d,s);if(t.errors.length)return d.push(...t.errors),c.finalize(e,d,s)}}return t._rules.length?c.rules(e,d,s):c.finalize(e,d,s)},c.rules=function(e,t,n){const{schema:i,state:a,prefs:o}=n;for(const s of i._rules){const l=i._definition.rules[s.method];if(l.convert&&o.convert){a.mainstay.tracer.log(i,a,"rule",s.name,"full");continue}let u,p=s.args;if(s._resolve.length){p=Object.assign({},p);for(const t of s._resolve){const n=l.argsByName.get(t),s=p[t].resolve(e,a,o),c=n.normalize?n.normalize(s):s,d=r.validateArg(c,null,n);if(d){u=i.$_createError("any.ref",s,{arg:t,ref:p[t],reason:d},a,o);break}p[t]=c}}u=u||l.validate(e,n,p,s);const d=c.rule(u,s);if(d.errors){if(a.mainstay.tracer.log(i,a,"rule",s.name,"error"),s.warn){a.mainstay.warnings.push(...d.errors);continue}if(o.abortEarly)return c.finalize(e,d.errors,n);t.push(...d.errors)}else a.mainstay.tracer.log(i,a,"rule",s.name,"pass"),a.mainstay.tracer.value(a,"rule",e,d.value,s.name),e=d.value}return c.finalize(e,t,n)},c.rule=function(e,t){return e instanceof o.Report?(c.error(e,t),{errors:[e],value:null}):Array.isArray(e)&&e[r.symbols.errors]?(e.forEach(e=>c.error(e,t)),{errors:e,value:null}):{errors:null,value:e}},c.error=function(e,t){return t.message&&e._setTemplate(t.message),e},c.finalize=function(e,n,i){n=n||[];const{schema:a,state:r,prefs:s}=i;if(n.length){const t=c.default("failover",void 0,n,i);void 0!==t&&(r.mainstay.tracer.value(r,"failover",e,t),e=t,n=[])}if(n.length&&a._flags.error)if("function"==typeof a._flags.error){n=a._flags.error(n),Array.isArray(n)||(n=[n]);for(const e of n)t(e instanceof Error||e instanceof o.Report,"error() must return an Error object")}else n=[a._flags.error];if(void 0===e){const t=c.default("default",e,n,i);r.mainstay.tracer.value(r,"default",e,t),e=t}if(a._flags.cast&&void 0!==e){const t=a._definition.cast[a._flags.cast];if(t.from(e)){const n=t.to(e,i);r.mainstay.tracer.value(r,"cast",e,n,a._flags.cast),e=n}}if(a.$_terms.externals&&s.externals&&!1!==s._externals)for(const{method:e}of a.$_terms.externals)r.mainstay.externals.push({method:e,schema:a,state:r,label:o.label(a._flags,r,s)});const l={value:e,errors:n.length?n:null};return a._flags.result&&(l.value="strip"===a._flags.result?void 0:i.original,r.mainstay.tracer.value(r,a._flags.result,e,l.value),r.shadow(e,a._flags.result)),a._cache&&!1!==s.cache&&!a._refs.length&&a._cache.set(i.original,l),void 0===e||l.errors||void 0===a._flags.artifact||(r.mainstay.artifacts=r.mainstay.artifacts||new Map,r.mainstay.artifacts.has(a._flags.artifact)||r.mainstay.artifacts.set(a._flags.artifact,[]),r.mainstay.artifacts.get(a._flags.artifact).push(r.path)),l},c.prefs=function(e,t){const n=t===r.defaults;return n&&e._preferences[r.symbols.prefs]?e._preferences[r.symbols.prefs]:(t=r.preferences(t,e._preferences),n&&(e._preferences[r.symbols.prefs]=t),t)},c.default=function(e,t,i,a){const{schema:o,state:s,prefs:c}=a,l=o._flags[e];if(c.noDefaults||void 0===l)return t;if(s.mainstay.tracer.log(o,s,"rule",e,"full"),!l)return l;if("function"==typeof l){const t=l.length?[n(s.ancestors[0]),a]:[];try{return l(...t)}catch(t){return void i.push(o.$_createError(`any.${e}`,null,{error:t},s,c))}}return"object"!=typeof l?l:l[r.symbols.literal]?l.literal:r.isResolvable(l)?l.resolve(t,s,c):n(l)},c.trim=function(e,t){if("string"!=typeof e)return e;const n=t.$_getRule("trim");return n&&n.args.enabled?e.trim():e},c.ignore={active:!1,debug:i,entry:i,filter:i,log:i,resolve:i,value:i},c.errorsArray=function(){const e=[];return e[r.symbols.errors]=!0,e}}(wo)),wo}function Ro(){if(co)return so;co=1;const e=Ka,t=Vr,n=$r(),i={};return so=i.Values=class{constructor(e,t){this._values=new Set(e),this._refs=new Set(t),this._lowercase=i.lowercases(e),this._override=!1}get length(){return this._values.size+this._refs.size}add(e,t){n.isResolvable(e)?this._refs.has(e)||(this._refs.add(e),t&&t.register(e)):this.has(e,null,null,!1)||(this._values.add(e),"string"==typeof e&&this._lowercase.set(e.toLowerCase(),e))}static merge(e,t,n){if(e=e||new i.Values,t){if(t._override)return t.clone();for(const n of[...t._values,...t._refs])e.add(n)}if(n)for(const t of[...n._values,...n._refs])e.remove(t);return e.length?e:null}remove(e){n.isResolvable(e)?this._refs.delete(e):(this._values.delete(e),"string"==typeof e&&this._lowercase.delete(e.toLowerCase()))}has(e,t,n,i){return!!this.get(e,t,n,i)}get(e,n,i,a){if(!this.length)return!1;if(this._values.has(e))return{value:e};if("string"==typeof e&&e&&a){const t=this._lowercase.get(e.toLowerCase());if(t)return{value:t}}if(!this._refs.size&&"object"!=typeof e)return!1;if("object"==typeof e)for(const n of this._values)if(t(n,e))return{value:n};if(n)for(const r of this._refs){const o=r.resolve(e,n,i,null,{in:!0});if(void 0===o)continue;const s=r.in&&"object"==typeof o?Array.isArray(o)?o:Object.keys(o):[o];for(const n of s)if(typeof n==typeof e)if(a&&e&&"string"==typeof e){if(n.toLowerCase()===e.toLowerCase())return{value:n,ref:r}}else if(t(n,e))return{value:n,ref:r}}return!1}override(){this._override=!0}values(e){if(e&&e.display){const e=[];for(const t of[...this._values,...this._refs])void 0!==t&&e.push(t);return e}return Array.from([...this._values,...this._refs])}clone(){const e=new i.Values(this._values,this._refs);return e._override=this._override,e}concat(t){e(!t._override,"Cannot concat override set of values");const n=new i.Values([...this._values,...t._values],[...this._refs,...t._refs]);return n._override=this._override,n}describe(){const e=[];this._override&&e.push({override:!0});for(const t of this._values.values())e.push(t&&"object"==typeof t?{value:t}:t);for(const t of this._refs.values())e.push(t.describe());return e}},i.Values.prototype[n.symbols.values]=!0,i.Values.prototype.slice=i.Values.prototype.clone,i.lowercases=function(e){const t=new Map;if(e)for(const n of e)"string"==typeof n&&t.set(n.toLowerCase(),n);return t},so}function ko(){if(uo)return lo;uo=1;const e=Ka,t=or,n=Vr,i=no,a=Fr(),r=$r(),o=Pr(),s=Or(),c=Br(),l=qr(),u=Nr(),p=(to||(to=1,function(e){const t=Ka,n=$r(),i=Tr(),a={};e.Ids=a.Ids=class{constructor(){this._byId=new Map,this._byKey=new Map,this._schemaChain=!1}clone(){const e=new a.Ids;return e._byId=new Map(this._byId),e._byKey=new Map(this._byKey),e._schemaChain=this._schemaChain,e}concat(e){e._schemaChain&&(this._schemaChain=!0);for(const[n,i]of e._byId.entries())t(!this._byKey.has(n),"Schema id conflicts with existing key:",n),this._byId.set(n,i);for(const[n,i]of e._byKey.entries())t(!this._byId.has(n),"Schema key conflicts with existing id:",n),this._byKey.set(n,i)}fork(e,i,r){const o=this._collect(e);o.push({schema:r});const s=o.shift();let c={id:s.id,schema:i(s.schema)};t(n.isSchema(c.schema),"adjuster function failed to return a joi schema type");for(const e of o)c={id:e.id,schema:a.fork(e.schema,c.id,c.schema)};return c.schema}labels(e,t=[]){const n=e[0],i=this._get(n);if(!i)return[...t,...e].join(".");const a=e.slice(1);return t=[...t,i.schema._flags.label||n],a.length?i.schema._ids.labels(a,t):t.join(".")}reach(e,n=[]){const i=e[0],a=this._get(i);t(a,"Schema does not contain path",[...n,...e].join("."));const r=e.slice(1);return r.length?a.schema._ids.reach(r,[...n,i]):a.schema}register(e,{key:i}={}){if(!e||!n.isSchema(e))return;(e.$_property("schemaChain")||e._ids._schemaChain)&&(this._schemaChain=!0);const a=e._flags.id;if(a){const n=this._byId.get(a);t(!n||n.schema===e,"Cannot add different schemas with the same id:",a),t(!this._byKey.has(a),"Schema id conflicts with existing key:",a),this._byId.set(a,{schema:e,id:a})}i&&(t(!this._byKey.has(i),"Schema already contains key:",i),t(!this._byId.has(i),"Schema key conflicts with existing id:",i),this._byKey.set(i,{schema:e,id:i}))}reset(){this._byId=new Map,this._byKey=new Map,this._schemaChain=!1}_collect(e,n=[],i=[]){const a=e[0],r=this._get(a);t(r,"Schema does not contain path",[...n,...e].join(".")),i=[r,...i];const o=e.slice(1);return o.length?r.schema._ids._collect(o,[...n,a],i):i}_get(e){return this._byId.get(e)||this._byKey.get(e)}},a.fork=function(t,n,i){const a=e.schema(t,{each:(e,{key:t})=>{if(n===(e._flags.id||t))return i},ref:!1});return a?a.$_mutateRebuild():t},e.schema=function(e,t){let n;for(const i in e._flags){if("_"===i[0])continue;const r=a.scan(e._flags[i],{source:"flags",name:i},t);void 0!==r&&(n=n||e.clone(),n._flags[i]=r)}for(let i=0;i<e._rules.length;++i){const r=e._rules[i],o=a.scan(r.args,{source:"rules",name:r.name},t);if(void 0!==o){n=n||e.clone();const t=Object.assign({},r);t.args=o,n._rules[i]=t,n._singleRules.get(r.name)===r&&n._singleRules.set(r.name,t)}}for(const i in e.$_terms){if("_"===i[0])continue;const r=a.scan(e.$_terms[i],{source:"terms",name:i},t);void 0!==r&&(n=n||e.clone(),n.$_terms[i]=r)}return n},a.scan=function(e,t,r,o,s){const c=o||[];if(null===e||"object"!=typeof e)return;let l;if(Array.isArray(e)){for(let n=0;n<e.length;++n){const i="terms"===t.source&&"keys"===t.name&&e[n].key,o=a.scan(e[n],t,r,[n,...c],i);void 0!==o&&(l=l||e.slice(),l[n]=o)}return l}if(!1!==r.schema&&n.isSchema(e)||!1!==r.ref&&i.isRef(e)){const n=r.each(e,{...t,path:c,key:s});if(n===e)return;return n}for(const n in e){if("_"===n[0])continue;const i=a.scan(e[n],t,r,[n,...c],s);void 0!==i&&(l=l||Object.assign({},e),l[n]=i)}return l}}(io)),io),d=Tr(),f=Xr(),m=Ao(),h=Ro(),g={Base:class{constructor(e){this.type=e,this.$_root=null,this._definition={},this._reset()}_reset(){this._ids=new p.Ids,this._preferences=null,this._refs=new d.Manager,this._cache=null,this._valids=null,this._invalids=null,this._flags={},this._rules=[],this._singleRules=new Map,this.$_terms={},this.$_temp={ruleset:null,whens:{}}}describe(){return e("function"==typeof l.describe,"Manifest functionality disabled"),l.describe(this)}allow(...e){return r.verifyFlat(e,"allow"),this._values(e,"_valids")}alter(t){e(t&&"object"==typeof t&&!Array.isArray(t),"Invalid targets argument"),e(!this._inRuleset(),"Cannot set alterations inside a ruleset");const n=this.clone();n.$_terms.alterations=n.$_terms.alterations||[];for(const i in t){const a=t[i];e("function"==typeof a,"Alteration adjuster for",i,"must be a function"),n.$_terms.alterations.push({target:i,adjuster:a})}return n.$_temp.ruleset=!1,n}artifact(t){return e(void 0!==t,"Artifact cannot be undefined"),e(!this._cache,"Cannot set an artifact with a rule cache"),this.$_setFlag("artifact",t)}cast(t){return e(!1===t||"string"==typeof t,"Invalid to value"),e(!1===t||this._definition.cast[t],"Type",this.type,"does not support casting to",t),this.$_setFlag("cast",!1===t?void 0:t)}default(e,t){return this._default("default",e,t)}description(t){return e(t&&"string"==typeof t,"Description must be a non-empty string"),this.$_setFlag("description",t)}empty(e){const t=this.clone();return void 0!==e&&(e=t.$_compile(e,{override:!1})),t.$_setFlag("empty",e,{clone:!1})}error(t){return e(t,"Missing error"),e(t instanceof Error||"function"==typeof t,"Must provide a valid Error object or a function"),this.$_setFlag("error",t)}example(t,n={}){return e(void 0!==t,"Missing example"),r.assertOptions(n,["override"]),this._inner("examples",t,{single:!0,override:n.override})}external(t,n){return"object"==typeof t&&(e(!n,"Cannot combine options with description"),n=t.description,t=t.method),e("function"==typeof t,"Method must be a function"),e(void 0===n||n&&"string"==typeof n,"Description must be a non-empty string"),this._inner("externals",{method:t,description:n},{single:!0})}failover(e,t){return this._default("failover",e,t)}forbidden(){return this.presence("forbidden")}id(t){return t?(e("string"==typeof t,"id must be a non-empty string"),e(/^[^\.]+$/.test(t),"id cannot contain period character"),this.$_setFlag("id",t)):this.$_setFlag("id",void 0)}invalid(...e){return this._values(e,"_invalids")}label(t){return e(t&&"string"==typeof t,"Label name must be a non-empty string"),this.$_setFlag("label",t)}meta(t){return e(void 0!==t,"Meta cannot be undefined"),this._inner("metas",t,{single:!0})}note(...t){e(t.length,"Missing notes");for(const n of t)e(n&&"string"==typeof n,"Notes must be non-empty strings");return this._inner("notes",t)}only(t=!0){return e("boolean"==typeof t,"Invalid mode:",t),this.$_setFlag("only",t)}optional(){return this.presence("optional")}prefs(t){e(t,"Missing preferences"),e(void 0===t.context,"Cannot override context"),e(void 0===t.externals,"Cannot override externals"),e(void 0===t.warnings,"Cannot override warnings"),e(void 0===t.debug,"Cannot override debug"),r.checkPreferences(t);const n=this.clone();return n._preferences=r.preferences(n._preferences,t),n}presence(t){return e(["optional","required","forbidden"].includes(t),"Unknown presence mode",t),this.$_setFlag("presence",t)}raw(e=!0){return this.$_setFlag("result",e?"raw":void 0)}result(t){return e(["raw","strip"].includes(t),"Unknown result mode",t),this.$_setFlag("result",t)}required(){return this.presence("required")}strict(e){const t=this.clone(),n=void 0!==e&&!e;return t._preferences=r.preferences(t._preferences,{convert:n}),t}strip(e=!0){return this.$_setFlag("result",e?"strip":void 0)}tag(...t){e(t.length,"Missing tags");for(const n of t)e(n&&"string"==typeof n,"Tags must be non-empty strings");return this._inner("tags",t)}unit(t){return e(t&&"string"==typeof t,"Unit name must be a non-empty string"),this.$_setFlag("unit",t)}valid(...e){r.verifyFlat(e,"valid");const t=this.allow(...e);return t.$_setFlag("only",!!t._valids,{clone:!1}),t}when(t,n){const i=this.clone();i.$_terms.whens||(i.$_terms.whens=[]);const a=o.when(i,t,n);if(!["any","link"].includes(i.type)){const t=a.is?[a]:a.switch;for(const n of t)e(!n.then||"any"===n.then.type||n.then.type===i.type,"Cannot combine",i.type,"with",n.then&&n.then.type),e(!n.otherwise||"any"===n.otherwise.type||n.otherwise.type===i.type,"Cannot combine",i.type,"with",n.otherwise&&n.otherwise.type)}return i.$_terms.whens.push(a),i.$_mutateRebuild()}cache(t){e(!this._inRuleset(),"Cannot set caching inside a ruleset"),e(!this._cache,"Cannot override schema cache"),e(void 0===this._flags.artifact,"Cannot cache a rule with an artifact");const n=this.clone();return n._cache=t||a.provider.provision(),n.$_temp.ruleset=!1,n}clone(){const e=Object.create(Object.getPrototypeOf(this));return this._assign(e)}concat(t){e(r.isSchema(t),"Invalid schema object"),e("any"===this.type||"any"===t.type||t.type===this.type,"Cannot merge type",this.type,"with another type:",t.type),e(!this._inRuleset(),"Cannot concatenate onto a schema with open ruleset"),e(!t._inRuleset(),"Cannot concatenate a schema with open ruleset");let n=this.clone();if("any"===this.type&&"any"!==t.type){const e=t.clone();for(const t of Object.keys(n))"type"!==t&&(e[t]=n[t]);n=e}n._ids.concat(t._ids),n._refs.register(t,d.toSibling),n._preferences=n._preferences?r.preferences(n._preferences,t._preferences):t._preferences,n._valids=h.merge(n._valids,t._valids,t._invalids),n._invalids=h.merge(n._invalids,t._invalids,t._valids);for(const e of t._singleRules.keys())n._singleRules.has(e)&&(n._rules=n._rules.filter(t=>t.keep||t.name!==e),n._singleRules.delete(e));for(const e of t._rules)t._definition.rules[e.method].multi||n._singleRules.set(e.name,e),n._rules.push(e);if(n._flags.empty&&t._flags.empty){n._flags.empty=n._flags.empty.concat(t._flags.empty);const e=Object.assign({},t._flags);delete e.empty,i(n._flags,e)}else if(t._flags.empty){n._flags.empty=t._flags.empty;const e=Object.assign({},t._flags);delete e.empty,i(n._flags,e)}else i(n._flags,t._flags);for(const e in t.$_terms){const i=t.$_terms[e];i?n.$_terms[e]?n.$_terms[e]=n.$_terms[e].concat(i):n.$_terms[e]=i.slice():n.$_terms[e]||(n.$_terms[e]=i)}return this.$_root._tracer&&this.$_root._tracer._combine(n,[this,t]),n.$_mutateRebuild()}extend(t){return e(!t.base,"Cannot extend type with another base"),c.type(this,t)}extract(e){return e=Array.isArray(e)?e:e.split("."),this._ids.reach(e)}fork(t,n){e(!this._inRuleset(),"Cannot fork inside a ruleset");let i=this;for(let e of[].concat(t))e=Array.isArray(e)?e:e.split("."),i=i._ids.fork(e,n,i);return i.$_temp.ruleset=!1,i}rule(n){const i=this._definition;r.assertOptions(n,Object.keys(i.modifiers)),e(!1!==this.$_temp.ruleset,"Cannot apply rules to empty ruleset or the last rule added does not support rule properties");const a=null===this.$_temp.ruleset?this._rules.length-1:this.$_temp.ruleset;e(a>=0&&a<this._rules.length,"Cannot apply rules to empty ruleset");const o=this.clone();for(let r=a;r<o._rules.length;++r){const a=o._rules[r],s=t(a);for(const t in n)i.modifiers[t](s,n[t]),e(s.name===a.name,"Cannot change rule name");o._rules[r]=s,o._singleRules.get(s.name)===a&&o._singleRules.set(s.name,s)}return o.$_temp.ruleset=!1,o.$_mutateRebuild()}get ruleset(){e(!this._inRuleset(),"Cannot start a new ruleset without closing the previous one");const t=this.clone();return t.$_temp.ruleset=t._rules.length,t}get $(){return this.ruleset}tailor(t){t=[].concat(t),e(!this._inRuleset(),"Cannot tailor inside a ruleset");let n=this;if(this.$_terms.alterations)for(const{target:i,adjuster:a}of this.$_terms.alterations)t.includes(i)&&(n=a(n),e(r.isSchema(n),"Alteration adjuster for",i,"failed to return a schema object"));return n=n.$_modify({each:e=>e.tailor(t),ref:!1}),n.$_temp.ruleset=!1,n.$_mutateRebuild()}tracer(){return f.location?f.location(this):this}validate(e,t){return m.entry(e,this,t)}validateAsync(e,t){return m.entryAsync(e,this,t)}$_addRule(t){"string"==typeof t&&(t={name:t}),e(t&&"object"==typeof t,"Invalid options"),e(t.name&&"string"==typeof t.name,"Invalid rule name");for(const n in t)e("_"!==n[0],"Cannot set private rule properties");const n=Object.assign({},t);n._resolve=[],n.method=n.method||n.name;const i=this._definition.rules[n.method],a=n.args;e(i,"Unknown rule",n.method);const o=this.clone();if(a){e(1===Object.keys(a).length||Object.keys(a).length===this._definition.rules[n.name].args.length,"Invalid rule definition for",this.type,n.name);for(const t in a){let s=a[t];if(i.argsByName){const c=i.argsByName.get(t);if(c.ref&&r.isResolvable(s))n._resolve.push(t),o.$_mutateRegister(s);else if(c.normalize&&(s=c.normalize(s),a[t]=s),c.assert){const n=r.validateArg(s,t,c);e(!n,n,"or reference")}}void 0!==s?a[t]=s:delete a[t]}}return i.multi||(o._ruleRemove(n.name,{clone:!1}),o._singleRules.set(n.name,n)),!1===o.$_temp.ruleset&&(o.$_temp.ruleset=null),i.priority?o._rules.unshift(n):o._rules.push(n),o}$_compile(e,t){return o.schema(this.$_root,e,t)}$_createError(e,t,n,i,a,r={}){const o=!1!==r.flags?this._flags:{},c=r.messages?u.merge(this._definition.messages,r.messages):this._definition.messages;return new s.Report(e,t,n,o,c,i,a)}$_getFlag(e){return this._flags[e]}$_getRule(e){return this._singleRules.get(e)}$_mapLabels(e){return e=Array.isArray(e)?e:e.split("."),this._ids.labels(e)}$_match(e,t,n,i){(n=Object.assign({},n)).abortEarly=!0,n._externals=!1,t.snapshot();const a=!m.validate(e,this,t,n,i).errors;return t.restore(),a}$_modify(e){return r.assertOptions(e,["each","once","ref","schema"]),p.schema(this,e)||this}$_mutateRebuild(){e(!this._inRuleset(),"Cannot add this rule inside a ruleset"),this._refs.reset(),this._ids.reset();return this.$_modify({each:(e,{source:t,name:n,path:i,key:a})=>{const r=this._definition[t][n]&&this._definition[t][n].register;!1!==r&&this.$_mutateRegister(e,{family:r,key:a})}}),this._definition.rebuild&&this._definition.rebuild(this),this.$_temp.ruleset=!1,this}$_mutateRegister(e,{family:t,key:n}={}){this._refs.register(e,t),this._ids.register(e,{key:n})}$_property(e){return this._definition.properties[e]}$_reach(e){return this._ids.reach(e)}$_rootReferences(){return this._refs.roots()}$_setFlag(t,i,a={}){e("_"===t[0]||!this._inRuleset(),"Cannot set flag inside a ruleset");const r=this._definition.flags[t]||{};if(n(i,r.default)&&(i=void 0),n(i,this._flags[t]))return this;const o=!1!==a.clone?this.clone():this;return void 0!==i?(o._flags[t]=i,o.$_mutateRegister(i)):delete o._flags[t],"_"!==t[0]&&(o.$_temp.ruleset=!1),o}$_parent(e,...t){return this[e][r.symbols.parent].call(this,...t)}$_validate(e,t,n){return m.validate(e,this,t,n)}_assign(e){e.type=this.type,e.$_root=this.$_root,e.$_temp=Object.assign({},this.$_temp),e.$_temp.whens={},e._ids=this._ids.clone(),e._preferences=this._preferences,e._valids=this._valids&&this._valids.clone(),e._invalids=this._invalids&&this._invalids.clone(),e._rules=this._rules.slice(),e._singleRules=t(this._singleRules,{shallow:!0}),e._refs=this._refs.clone(),e._flags=Object.assign({},this._flags),e._cache=null,e.$_terms={};for(const t in this.$_terms)e.$_terms[t]=this.$_terms[t]?this.$_terms[t].slice():null;e.$_super={};for(const t in this.$_super)e.$_super[t]=this._super[t].bind(e);return e}_bare(){const e=this.clone();e._reset();const t=e._definition.terms;for(const n in t){const i=t[n];e.$_terms[n]=i.init}return e.$_mutateRebuild()}_default(t,n,i={}){r.assertOptions(i,"literal"),e(void 0!==n,"Missing",t,"value"),e("function"==typeof n||!i.literal,"Only function value supports literal option"),"function"==typeof n&&i.literal&&(n={[r.symbols.literal]:!0,literal:n});return this.$_setFlag(t,n)}_generate(e,t,n){if(!this.$_terms.whens)return{schema:this};const i=[],a=[];for(let r=0;r<this.$_terms.whens.length;++r){const o=this.$_terms.whens[r];if(o.concat){i.push(o.concat),a.push(`${r}.concat`);continue}const s=o.ref?o.ref.resolve(e,t,n):e,c=o.is?[o]:o.switch,l=a.length;for(let l=0;l<c.length;++l){const{is:u,then:p,otherwise:d}=c[l],f=`${r}${o.switch?"."+l:""}`;if(u.$_match(s,t.nest(u,`${f}.is`),n)){if(p){const r=t.localize([...t.path,`${f}.then`],t.ancestors,t.schemas),{schema:o,id:s}=p._generate(e,r,n);i.push(o),a.push(`${f}.then${s?`(${s})`:""}`);break}}else if(d){const r=t.localize([...t.path,`${f}.otherwise`],t.ancestors,t.schemas),{schema:o,id:s}=d._generate(e,r,n);i.push(o),a.push(`${f}.otherwise${s?`(${s})`:""}`);break}}if(o.break&&a.length>l)break}const r=a.join(", ");if(t.mainstay.tracer.debug(t,"rule","when",r),!r)return{schema:this};if(!t.mainstay.tracer.active&&this.$_temp.whens[r])return{schema:this.$_temp.whens[r],id:r};let o=this;this._definition.generate&&(o=this._definition.generate(this,e,t,n));for(const e of i)o=o.concat(e);return this.$_root._tracer&&this.$_root._tracer._combine(o,[this,...i]),this.$_temp.whens[r]=o,{schema:o,id:r}}_inner(t,n,i={}){e(!this._inRuleset(),`Cannot set ${t} inside a ruleset`);const a=this.clone();return a.$_terms[t]&&!i.override||(a.$_terms[t]=[]),i.single?a.$_terms[t].push(n):a.$_terms[t].push(...n),a.$_temp.ruleset=!1,a}_inRuleset(){return null!==this.$_temp.ruleset&&!1!==this.$_temp.ruleset}_ruleRemove(e,t={}){if(!this._singleRules.has(e))return this;const n=!1!==t.clone?this.clone():this;n._singleRules.delete(e);const i=[];for(let t=0;t<n._rules.length;++t){const a=n._rules[t];a.name!==e||a.keep?i.push(a):n._inRuleset()&&t<n.$_temp.ruleset&&--n.$_temp.ruleset}return n._rules=i,n}_values(t,n){r.verifyFlat(t,n.slice(1,-1));const i=this.clone(),a=t[0]===r.symbols.override;if(a&&(t=t.slice(1)),!i[n]&&t.length?i[n]=new h:a&&(i[n]=t.length?new h:null,i.$_mutateRebuild()),!i[n])return i;a&&i[n].override();for(const a of t){e(void 0!==a,"Cannot call allow/valid/invalid with undefined"),e(a!==r.symbols.override,"Override must be the first value");const t="_invalids"===n?"_valids":"_invalids";i[t]&&(i[t].remove(a),i[t].length||(e("_valids"===n||!i._flags.only,"Setting invalid value",a,"leaves schema rejecting all values due to previous valid rule"),i[t]=null)),i[n].add(a,i._refs)}return i}}};return g.Base.prototype[r.symbols.any]={version:r.version,compile:o.compile,root:"$_root"},g.Base.prototype.isImmutable=!0,g.Base.prototype.deny=g.Base.prototype.invalid,g.Base.prototype.disallow=g.Base.prototype.invalid,g.Base.prototype.equal=g.Base.prototype.valid,g.Base.prototype.exist=g.Base.prototype.required,g.Base.prototype.not=g.Base.prototype.invalid,g.Base.prototype.options=g.Base.prototype.prefs,g.Base.prototype.preferences=g.Base.prototype.prefs,lo=new g.Base}function So(){if(fo)return po;fo=1;const e=Ka,t=ko(),n=$r(),i=Nr();return po=t.extend({type:"any",flags:{only:{default:!1}},terms:{alterations:{init:null},examples:{init:null},externals:{init:null},metas:{init:[]},notes:{init:[]},shared:{init:null},tags:{init:[]},whens:{init:null}},rules:{custom:{method(t,n){return e("function"==typeof t,"Method must be a function"),e(void 0===n||n&&"string"==typeof n,"Description must be a non-empty string"),this.$_addRule({name:"custom",args:{method:t,description:n}})},validate(e,t,{method:n}){try{return n(e,t)}catch(e){return t.error("any.custom",{error:e})}},args:["method","description"],multi:!0},messages:{method(e){return this.prefs({messages:e})}},shared:{method(t){e(n.isSchema(t)&&t._flags.id,"Schema must be a schema with an id");const i=this.clone();return i.$_terms.shared=i.$_terms.shared||[],i.$_terms.shared.push(t),i.$_mutateRegister(t),i}},warning:{method(t,n){return e(t&&"string"==typeof t,"Invalid warning code"),this.$_addRule({name:"warning",args:{code:t,local:n},warn:!0})},validate:(e,t,{code:n,local:i})=>t.error(n,i),args:["code","local"],multi:!0}},modifiers:{keep(e,t=!0){e.keep=t},message(e,t){e.message=i.compile(t)},warn(e,t=!0){e.warn=t}},manifest:{build(e,t){for(const n in t){const i=t[n];if(["examples","externals","metas","notes","tags"].includes(n))for(const t of i)e=e[n.slice(0,-1)](t);else{if("alterations"===n){const t={};for(const{target:e,adjuster:n}of i)t[e]=n;e=e.alter(t);continue}if("whens"!==n){if("shared"===n)for(const t of i)e=e.shared(t)}else for(const t of i){const{ref:n,is:i,not:a,then:r,otherwise:o,concat:s}=t;e=s?e.concat(s):n?e.when(n,{is:i,not:a,then:r,otherwise:o,switch:t.switch,break:t.break}):e.when(i,{then:r,otherwise:o,break:t.break})}}}return e}},messages:{"any.custom":"{{#label}} failed custom validation because {{#error.message}}","any.default":"{{#label}} threw an error when running default method","any.failover":"{{#label}} threw an error when running failover method","any.invalid":"{{#label}} contains an invalid value","any.only":'{{#label}} must be {if(#valids.length == 1, "", "one of ")}{{#valids}}',"any.ref":"{{#label}} {{#arg}} references {{:#ref}} which {{#reason}}","any.required":"{{#label}} is required","any.unknown":"{{#label}} is not allowed"}}),po}function Eo(){if(ho)return mo;ho=1;const e=Ka,t=no,n=So(),i=$r(),a=Pr(),r=Or(),o=Tr(),s={};return mo=n.extend({type:"alternatives",flags:{match:{default:"any"}},terms:{matches:{init:[],register:o.toSibling}},args:(e,...t)=>1===t.length&&Array.isArray(t[0])?e.try(...t[0]):e.try(...t),validate(e,n){const{schema:i,error:a,state:o,prefs:c}=n;if(i._flags.match){const n=[],s=[];for(let t=0;t<i.$_terms.matches.length;++t){const a=i.$_terms.matches[t],r=o.nest(a.schema,`match.${t}`);r.snapshot();const l=a.schema.$_validate(e,r,c);l.errors?(s.push(l.errors),r.restore()):(n.push(l.value),r.commit())}if(0===n.length){const e={details:s.map(e=>r.details(e,{override:!1}))};return{errors:a("alternatives.any",e)}}if("one"===i._flags.match)return 1===n.length?{value:n[0]}:{errors:a("alternatives.one")};if(n.length!==i.$_terms.matches.length){const e={details:s.map(e=>r.details(e,{override:!1}))};return{errors:a("alternatives.all",e)}}const l=e=>e.$_terms.matches.some(e=>"object"===e.schema.type||"alternatives"===e.schema.type&&l(e.schema));return l(i)?{value:n.reduce((e,n)=>t(e,n,{mergeArrays:!1}))}:{value:n[n.length-1]}}const l=[];for(let t=0;t<i.$_terms.matches.length;++t){const n=i.$_terms.matches[t];if(n.schema){const i=o.nest(n.schema,`match.${t}`);i.snapshot();const a=n.schema.$_validate(e,i,c);if(!a.errors)return i.commit(),a;i.restore(),l.push({schema:n.schema,reports:a.errors});continue}const a=n.ref?n.ref.resolve(e,o,c):e,r=n.is?[n]:n.switch;for(let i=0;i<r.length;++i){const s=r[i],{is:l,then:u,otherwise:p}=s,d=`match.${t}${n.switch?"."+i:""}`;if(l.$_match(a,o.nest(l,`${d}.is`),c)){if(u)return u.$_validate(e,o.nest(u,`${d}.then`),c)}else if(p)return p.$_validate(e,o.nest(p,`${d}.otherwise`),c)}}return s.errors(l,n)},rules:{conditional:{method(t,n){e(!this._flags._endedSwitch,"Unreachable condition"),e(!this._flags.match,"Cannot combine match mode",this._flags.match,"with conditional rule"),e(void 0===n.break,"Cannot use break option with alternatives conditional");const i=this.clone(),r=a.when(i,t,n),o=r.is?[r]:r.switch;for(const e of o)if(e.then&&e.otherwise){i.$_setFlag("_endedSwitch",!0,{clone:!1});break}return i.$_terms.matches.push(r),i.$_mutateRebuild()}},match:{method(t){if(e(["any","one","all"].includes(t),"Invalid alternatives match mode",t),"any"!==t)for(const n of this.$_terms.matches)e(n.schema,"Cannot combine match mode",t,"with conditional rules");return this.$_setFlag("match",t)}},try:{method(...t){e(t.length,"Missing alternative schemas"),i.verifyFlat(t,"try"),e(!this._flags._endedSwitch,"Unreachable condition");const n=this.clone();for(const e of t)n.$_terms.matches.push({schema:n.$_compile(e)});return n.$_mutateRebuild()}}},overrides:{label(e){return this.$_parent("label",e).$_modify({each:(t,n)=>"is"!==n.path[0]&&"string"!=typeof t._flags.label?t.label(e):void 0,ref:!1})}},rebuild(e){e.$_modify({each:t=>{i.isSchema(t)&&"array"===t.type&&e.$_setFlag("_arrayItems",!0,{clone:!1})}})},manifest:{build(e,t){if(t.matches)for(const n of t.matches){const{schema:t,ref:i,is:a,not:r,then:o,otherwise:s}=n;e=t?e.try(t):i?e.conditional(i,{is:a,then:o,not:r,otherwise:s,switch:n.switch}):e.conditional(a,{then:o,otherwise:s})}return e}},messages:{"alternatives.all":"{{#label}} does not match all of the required types","alternatives.any":"{{#label}} does not match any of the allowed types","alternatives.match":"{{#label}} does not match any of the allowed types","alternatives.one":"{{#label}} matches more than one allowed type","alternatives.types":"{{#label}} must be one of {{#types}}"}}),s.errors=function(e,{error:t,state:n}){if(!e.length)return{errors:t("alternatives.any")};if(1===e.length)return{errors:e[0].reports};const i=new Set,a=[];for(const{reports:o,schema:c}of e){if(o.length>1)return s.unmatched(e,t);const l=o[0];if(l instanceof r.Report==!1)return s.unmatched(e,t);if(l.state.path.length!==n.path.length){a.push({type:c.type,report:l});continue}if("any.only"===l.code){for(const e of l.local.valids)i.add(e);continue}const[u,p]=l.code.split(".");"base"!==p?a.push({type:c.type,report:l}):"object.base"===l.code?i.add(l.local.type):i.add(u)}return a.length?1===a.length?{errors:a[0].report}:s.unmatched(e,t):{errors:t("alternatives.types",{types:[...i]})}},s.unmatched=function(e,t){const n=[];for(const t of e)n.push(...t.reports);return{errors:t("alternatives.match",r.details(n,{override:!1}))}},mo}function jo(){if(vo)return go;vo=1;const e=Ka,t=Vr,n=Ja,i=So(),a=$r(),r=Pr(),o={};return go=i.extend({type:"array",flags:{single:{default:!1},sparse:{default:!1}},terms:{items:{init:[],manifest:"schema"},ordered:{init:[],manifest:"schema"},_exclusions:{init:[]},_inclusions:{init:[]},_requireds:{init:[]}},coerce:{from:"object",method(e,{schema:t,state:n,prefs:i}){if(!Array.isArray(e))return;const a=t.$_getRule("sort");return a?o.sort(t,e,a.args.options,n,i):void 0}},validate(e,{schema:t,error:n}){if(!Array.isArray(e)){if(t._flags.single){const t=[e];return t[a.symbols.arraySingle]=!0,{value:t}}return{errors:n("array.base")}}if(t.$_getRule("items")||t.$_terms.externals)return{value:e.slice()}},rules:{has:{method(e){e=this.$_compile(e,{appendPath:!0});const t=this.$_addRule({name:"has",args:{schema:e}});return t.$_mutateRegister(e),t},validate(e,{state:t,prefs:n,error:i},{schema:a}){const r=[e,...t.ancestors];for(let i=0;i<e.length;++i){const o=t.localize([...t.path,i],r,a);if(a.$_match(e[i],o,n))return e}const o=a._flags.label;return o?i("array.hasKnown",{patternLabel:o}):i("array.hasUnknown",null)},multi:!0},items:{method(...e){a.verifyFlat(e,"items");const t=this.$_addRule("items");for(let n=0;n<e.length;++n){const i=a.tryWithPath(()=>this.$_compile(e[n]),n,{append:!0});t.$_terms.items.push(i)}return t.$_mutateRebuild()},validate(e,{schema:t,error:n,state:i,prefs:r,errorsArray:s}){const c=t.$_terms._requireds.slice(),l=t.$_terms.ordered.slice(),u=[...t.$_terms._inclusions,...c],p=!e[a.symbols.arraySingle];delete e[a.symbols.arraySingle];const d=s();let f=e.length;for(let a=0;a<f;++a){const s=e[a];let m=!1,h=!1;const g=p?a:new Number(a),v=[...i.path,g];if(!t._flags.sparse&&void 0===s){if(d.push(n("array.sparse",{key:g,path:v,pos:a,value:void 0},i.localize(v))),r.abortEarly)return d;l.shift();continue}const b=[e,...i.ancestors];for(const e of t.$_terms._exclusions)if(e.$_match(s,i.localize(v,b,e),r,{presence:"ignore"})){if(d.push(n("array.excludes",{pos:a,value:s},i.localize(v))),r.abortEarly)return d;m=!0,l.shift();break}if(m)continue;if(t.$_terms.ordered.length){if(l.length){const c=l.shift(),u=c.$_validate(s,i.localize(v,b,c),r);if(u.errors){if(d.push(...u.errors),r.abortEarly)return d}else if("strip"===c._flags.result)o.fastSplice(e,a),--a,--f;else{if(!t._flags.sparse&&void 0===u.value){if(d.push(n("array.sparse",{key:g,path:v,pos:a,value:void 0},i.localize(v))),r.abortEarly)return d;continue}e[a]=u.value}continue}if(!t.$_terms.items.length){if(d.push(n("array.orderedLength",{pos:a,limit:t.$_terms.ordered.length})),r.abortEarly)return d;break}}const y=[];let x=c.length;for(let l=0;l<x;++l){const u=i.localize(v,b,c[l]);u.snapshot();const p=c[l].$_validate(s,u,r);if(y[l]=p,!p.errors){if(u.commit(),e[a]=p.value,h=!0,o.fastSplice(c,l),--l,--x,!t._flags.sparse&&void 0===p.value&&(d.push(n("array.sparse",{key:g,path:v,pos:a,value:void 0},i.localize(v))),r.abortEarly))return d;break}u.restore()}if(h)continue;const _=r.stripUnknown&&!!r.stripUnknown.arrays||!1;x=u.length;for(const l of u){let u;const p=c.indexOf(l);if(-1!==p)u=y[p];else{const c=i.localize(v,b,l);if(c.snapshot(),u=l.$_validate(s,c,r),!u.errors){c.commit(),"strip"===l._flags.result?(o.fastSplice(e,a),--a,--f):t._flags.sparse||void 0!==u.value?e[a]=u.value:(d.push(n("array.sparse",{key:g,path:v,pos:a,value:void 0},i.localize(v))),m=!0),h=!0;break}c.restore()}if(1===x){if(_){o.fastSplice(e,a),--a,--f,h=!0;break}if(d.push(...u.errors),r.abortEarly)return d;m=!0;break}}if(!m&&((t.$_terms._inclusions.length||t.$_terms._requireds.length)&&!h)){if(_){o.fastSplice(e,a),--a,--f;continue}if(d.push(n("array.includes",{pos:a,value:s},i.localize(v))),r.abortEarly)return d}}return c.length&&o.fillMissedErrors(t,d,c,e,i,r),l.length&&(o.fillOrderedErrors(t,d,l,e,i,r),d.length||o.fillDefault(l,e,i,r)),d.length?d:e},priority:!0,manifest:!1},length:{method(e){return this.$_addRule({name:"length",args:{limit:e},operator:"="})},validate:(e,t,{limit:n},{name:i,operator:r,args:o})=>a.compare(e.length,n,r)?e:t.error("array."+i,{limit:o.limit,value:e}),args:[{name:"limit",ref:!0,assert:a.limit,message:"must be a positive integer"}]},max:{method(e){return this.$_addRule({name:"max",method:"length",args:{limit:e},operator:"<="})}},min:{method(e){return this.$_addRule({name:"min",method:"length",args:{limit:e},operator:">="})}},ordered:{method(...e){a.verifyFlat(e,"ordered");const t=this.$_addRule("items");for(let n=0;n<e.length;++n){const i=a.tryWithPath(()=>this.$_compile(e[n]),n,{append:!0});o.validateSingle(i,t),t.$_mutateRegister(i),t.$_terms.ordered.push(i)}return t.$_mutateRebuild()}},single:{method(t){const n=void 0===t||!!t;return e(!n||!this._flags._arrayItems,"Cannot specify single rule when array has array items"),this.$_setFlag("single",n)}},sort:{method(t={}){a.assertOptions(t,["by","order"]);const n={order:t.order||"ascending"};return t.by&&(n.by=r.ref(t.by,{ancestor:0}),e(!n.by.ancestor,"Cannot sort by ancestor")),this.$_addRule({name:"sort",args:{options:n}})},validate(e,{error:t,state:n,prefs:i,schema:a},{options:r}){const{value:s,errors:c}=o.sort(a,e,r,n,i);if(c)return c;for(let n=0;n<e.length;++n)if(e[n]!==s[n])return t("array.sort",{order:r.order,by:r.by?r.by.key:"value"});return e},convert:!0},sparse:{method(e){const t=void 0===e||!!e;if(this._flags.sparse===t)return this;return(t?this.clone():this.$_addRule("items")).$_setFlag("sparse",t,{clone:!1})}},unique:{method(t,n={}){e(!t||"function"==typeof t||"string"==typeof t,"comparator must be a function or a string"),a.assertOptions(n,["ignoreUndefined","separator"]);const i={name:"unique",args:{options:n,comparator:t}};if(t)if("string"==typeof t){const e=a.default(n.separator,".");i.path=e?t.split(e):[t]}else i.comparator=t;return this.$_addRule(i)},validate(i,{state:a,error:r,schema:o},{comparator:s,options:c},{comparator:l,path:u}){const p={string:Object.create(null),number:Object.create(null),undefined:Object.create(null),boolean:Object.create(null),bigint:Object.create(null),object:new Map,function:new Map,custom:new Map},d=l||t,f=c.ignoreUndefined;for(let t=0;t<i.length;++t){const o=u?n(i[t],u):i[t],c=l?p.custom:p[typeof o];if(e(c,"Failed to find unique map container for type",typeof o),c instanceof Map){const e=c.entries();let n;for(;!(n=e.next()).done;)if(d(n.value[0],o)){const e=a.localize([...a.path,t],[i,...a.ancestors]),o={pos:t,value:i[t],dupePos:n.value[1],dupeValue:i[n.value[1]]};return u&&(o.path=s),r("array.unique",o,e)}c.set(o,t)}else{if((!f||void 0!==o)&&void 0!==c[o]){const e={pos:t,value:i[t],dupePos:c[o],dupeValue:i[c[o]]};u&&(e.path=s);return r("array.unique",e,a.localize([...a.path,t],[i,...a.ancestors]))}c[o]=t}}return i},args:["comparator","options"],multi:!0}},cast:{set:{from:Array.isArray,to:(e,t)=>new Set(e)}},rebuild(e){e.$_terms._inclusions=[],e.$_terms._exclusions=[],e.$_terms._requireds=[];for(const t of e.$_terms.items)o.validateSingle(t,e),"required"===t._flags.presence?e.$_terms._requireds.push(t):"forbidden"===t._flags.presence?e.$_terms._exclusions.push(t):e.$_terms._inclusions.push(t);for(const t of e.$_terms.ordered)o.validateSingle(t,e)},manifest:{build:(e,t)=>(t.items&&(e=e.items(...t.items)),t.ordered&&(e=e.ordered(...t.ordered)),e)},messages:{"array.base":"{{#label}} must be an array","array.excludes":"{{#label}} contains an excluded value","array.hasKnown":"{{#label}} does not contain at least one required match for type {:#patternLabel}","array.hasUnknown":"{{#label}} does not contain at least one required match","array.includes":"{{#label}} does not match any of the allowed types","array.includesRequiredBoth":"{{#label}} does not contain {{#knownMisses}} and {{#unknownMisses}} other required value(s)","array.includesRequiredKnowns":"{{#label}} does not contain {{#knownMisses}}","array.includesRequiredUnknowns":"{{#label}} does not contain {{#unknownMisses}} required value(s)","array.length":"{{#label}} must contain {{#limit}} items","array.max":"{{#label}} must contain less than or equal to {{#limit}} items","array.min":"{{#label}} must contain at least {{#limit}} items","array.orderedLength":"{{#label}} must contain at most {{#limit}} items","array.sort":"{{#label}} must be sorted in {#order} order by {{#by}}","array.sort.mismatching":"{{#label}} cannot be sorted due to mismatching types","array.sort.unsupported":"{{#label}} cannot be sorted due to unsupported type {#type}","array.sparse":"{{#label}} must not be a sparse array item","array.unique":"{{#label}} contains a duplicate value"}}),o.fillMissedErrors=function(e,t,n,i,a,r){const o=[];let s=0;for(const e of n){const t=e._flags.label;t?o.push(t):++s}o.length?s?t.push(e.$_createError("array.includesRequiredBoth",i,{knownMisses:o,unknownMisses:s},a,r)):t.push(e.$_createError("array.includesRequiredKnowns",i,{knownMisses:o},a,r)):t.push(e.$_createError("array.includesRequiredUnknowns",i,{unknownMisses:s},a,r))},o.fillOrderedErrors=function(e,t,n,i,a,r){const s=[];for(const e of n)"required"===e._flags.presence&&s.push(e);s.length&&o.fillMissedErrors(e,t,s,i,a,r)},o.fillDefault=function(e,t,n,i){const a=[];let r=!0;for(let o=e.length-1;o>=0;--o){const s=e[o],c=[t,...n.ancestors],l=s.$_validate(void 0,n.localize(n.path,c,s),i).value;if(r){if(void 0===l)continue;r=!1}a.unshift(l)}a.length&&t.push(...a)},o.fastSplice=function(e,t){let n=t;for(;n<e.length;)e[n++]=e[n];--e.length},o.validateSingle=function(t,n){("array"===t.type||t._flags._arrayItems)&&(e(!n._flags.single,"Cannot specify array item with single rule enabled"),n.$_setFlag("_arrayItems",!0,{clone:!1}))},o.sort=function(e,t,n,i,a){const r="ascending"===n.order?1:-1,s=-1*r,c=r,l=(l,u)=>{let p=o.compare(l,u,s,c);if(null!==p)return p;if(n.by&&(l=n.by.resolve(l,i,a),u=n.by.resolve(u,i,a)),p=o.compare(l,u,s,c),null!==p)return p;const d=typeof l;if(d!==typeof u)throw e.$_createError("array.sort.mismatching",t,null,i,a);if("number"!==d&&"string"!==d)throw e.$_createError("array.sort.unsupported",t,{type:d},i,a);return"number"===d?(l-u)*r:l<u?s:c};try{return{value:t.slice().sort(l)}}catch(e){return{errors:e}}},o.compare=function(e,t,n,i){return e===t?0:void 0===e?1:void 0===t?-1:null===e?i:null===t?n:null},go}function To(){if(yo)return bo;yo=1;const e=Ka,t=So(),n=$r(),i=Ro(),a={isBool:function(e){return"boolean"==typeof e}};return bo=t.extend({type:"boolean",flags:{sensitive:{default:!1}},terms:{falsy:{init:null,manifest:"values"},truthy:{init:null,manifest:"values"}},coerce(e,{schema:t}){if("boolean"!=typeof e){if("string"==typeof e){const n=t._flags.sensitive?e:e.toLowerCase();e="true"===n||"false"!==n&&e}return"boolean"!=typeof e&&(e=t.$_terms.truthy&&t.$_terms.truthy.has(e,null,null,!t._flags.sensitive)||(!t.$_terms.falsy||!t.$_terms.falsy.has(e,null,null,!t._flags.sensitive))&&e),{value:e}}},validate(e,{error:t}){if("boolean"!=typeof e)return{value:e,errors:t("boolean.base")}},rules:{truthy:{method(...t){n.verifyFlat(t,"truthy");const a=this.clone();a.$_terms.truthy=a.$_terms.truthy||new i;for(let n=0;n<t.length;++n){const i=t[n];e(void 0!==i,"Cannot call truthy with undefined"),a.$_terms.truthy.add(i)}return a}},falsy:{method(...t){n.verifyFlat(t,"falsy");const a=this.clone();a.$_terms.falsy=a.$_terms.falsy||new i;for(let n=0;n<t.length;++n){const i=t[n];e(void 0!==i,"Cannot call falsy with undefined"),a.$_terms.falsy.add(i)}return a}},sensitive:{method(e=!0){return this.$_setFlag("sensitive",e)}}},cast:{number:{from:a.isBool,to:(e,t)=>e?1:0},string:{from:a.isBool,to:(e,t)=>e?"true":"false"}},manifest:{build:(e,t)=>(t.truthy&&(e=e.truthy(...t.truthy)),t.falsy&&(e=e.falsy(...t.falsy)),e)},messages:{"boolean.base":"{{#label}} must be a boolean"}}),bo}function Co(){if(_o)return xo;_o=1;const e=Ka,t=So(),n=$r(),i=Cr(),a={isDate:function(e){return e instanceof Date}};return xo=t.extend({type:"date",coerce:{from:["number","string"],method:(e,{schema:t})=>({value:a.parse(e,t._flags.format)||e})},validate(e,{schema:t,error:n,prefs:i}){if(e instanceof Date&&!isNaN(e.getTime()))return;const a=t._flags.format;return i.convert&&a&&"string"==typeof e?{value:e,errors:n("date.format",{format:a})}:{value:e,errors:n("date.base")}},rules:{compare:{method:!1,validate(e,t,{date:i},{name:a,operator:r,args:o}){const s="now"===i?Date.now():i.getTime();return n.compare(e.getTime(),s,r)?e:t.error("date."+a,{limit:o.date,value:e})},args:[{name:"date",ref:!0,normalize:e=>"now"===e?e:a.parse(e),assert:e=>null!==e,message:"must have a valid date format"}]},format:{method(t){return e(["iso","javascript","unix"].includes(t),"Unknown date format",t),this.$_setFlag("format",t)}},greater:{method(e){return this.$_addRule({name:"greater",method:"compare",args:{date:e},operator:">"})}},iso:{method(){return this.format("iso")}},less:{method(e){return this.$_addRule({name:"less",method:"compare",args:{date:e},operator:"<"})}},max:{method(e){return this.$_addRule({name:"max",method:"compare",args:{date:e},operator:"<="})}},min:{method(e){return this.$_addRule({name:"min",method:"compare",args:{date:e},operator:">="})}},timestamp:{method(t="javascript"){return e(["javascript","unix"].includes(t),'"type" must be one of "javascript, unix"'),this.format(t)}}},cast:{number:{from:a.isDate,to:(e,t)=>e.getTime()},string:{from:a.isDate,to:(e,{prefs:t})=>i.date(e,t)}},messages:{"date.base":"{{#label}} must be a valid date","date.format":'{{#label}} must be in {msg("date.format." + #format) || #format} format',"date.greater":"{{#label}} must be greater than {{:#limit}}","date.less":"{{#label}} must be less than {{:#limit}}","date.max":"{{#label}} must be less than or equal to {{:#limit}}","date.min":"{{#label}} must be greater than or equal to {{:#limit}}","date.format.iso":"ISO 8601 date","date.format.javascript":"timestamp or number of milliseconds","date.format.unix":"timestamp or number of seconds"}}),a.parse=function(e,t){if(e instanceof Date)return e;if("string"!=typeof e&&(isNaN(e)||!isFinite(e)))return null;if(/^\s*$/.test(e))return null;if("iso"===t)return n.isIsoDate(e)?a.date(e.toString()):null;const i=e;if("string"==typeof e&&/^[+-]?\d+(\.\d+)?$/.test(e)&&(e=parseFloat(e)),t){if("javascript"===t)return a.date(1*e);if("unix"===t)return a.date(1e3*e);if("string"==typeof i)return null}return a.date(e)},a.date=function(e){const t=new Date(e);return isNaN(t.getTime())?null:t},xo}const No=Ka,$o=or,Fo=no,Io=Ja,Lo={};var Po=function(e,t,n={}){if(No(e&&"object"==typeof e,"Invalid defaults value: must be an object"),No(!t||!0===t||"object"==typeof t,"Invalid source value: must be true, falsy or an object"),No("object"==typeof n,"Invalid options: must be an object"),!t)return null;if(n.shallow)return Lo.applyToDefaultsWithShallow(e,t,n);const i=$o(e);if(!0===t)return i;const a=void 0!==n.nullOverride&&n.nullOverride;return Fo(i,t,{nullOverride:a,mergeArrays:!1})};Lo.applyToDefaultsWithShallow=function(e,t,n){const i=n.shallow;No(Array.isArray(i),"Invalid keys");const a=new Map,r=!0===t?null:new Set;for(let n of i){n=Array.isArray(n)?n:n.split(".");const i=Io(e,n);i&&"object"==typeof i?a.set(i,r&&Io(t,n)||i):r&&r.add(n)}const o=$o(e,{},a);if(!r)return o;for(const e of r)Lo.reachCopy(o,t,e);const s=void 0!==n.nullOverride&&n.nullOverride;return Fo(o,t,{nullOverride:s,mergeArrays:!1})},Lo.reachCopy=function(e,t,n){for(const e of n){if(!(e in t))return;const n=t[e];if("object"!=typeof n||null===n)return;t=n}const i=t;let a=e;for(let e=0;e<n.length-1;++e){const t=n[e];"object"!=typeof a[t]&&(a[t]={}),a=a[t]}a[n[n.length-1]]=i};var Do={};const Uo=Ka,Bo={};var Mo,zo,qo,Go,Ho,Wo,Vo,Zo,Ko,Xo;function Yo(){if(zo)return Mo;zo=1;const e=Po,t=Ka,n=or,i=Do,a=So(),r=$r(),o=Pr(),s=Or(),c=Tr(),l=Cr(),u={renameDefaults:{alias:!1,multiple:!1,override:!1}};return Mo=a.extend({type:"_keys",properties:{typeof:"object"},flags:{unknown:{default:void 0}},terms:{dependencies:{init:null},keys:{init:null,manifest:{mapped:{from:"schema",to:"key"}}},patterns:{init:null},renames:{init:null}},args:(e,t)=>e.keys(t),validate(e,{schema:t,error:n,state:i,prefs:a}){if(!e||typeof e!==t.$_property("typeof")||Array.isArray(e))return{value:e,errors:n("object.base",{type:t.$_property("typeof")})};if(!(t.$_terms.renames||t.$_terms.dependencies||t.$_terms.keys||t.$_terms.patterns||t.$_terms.externals))return;e=u.clone(e,a);const r=[];if(t.$_terms.renames&&!u.rename(t,e,i,a,r))return{value:e,errors:r};if(!t.$_terms.keys&&!t.$_terms.patterns&&!t.$_terms.dependencies)return{value:e,errors:r};const o=new Set(Object.keys(e));if(t.$_terms.keys){const n=[e,...i.ancestors];for(const s of t.$_terms.keys){const t=s.key,c=e[t];o.delete(t);const l=i.localize([...i.path,t],n,s),u=s.schema.$_validate(c,l,a);if(u.errors){if(a.abortEarly)return{value:e,errors:u.errors};void 0!==u.value&&(e[t]=u.value),r.push(...u.errors)}else"strip"===s.schema._flags.result||void 0===u.value&&void 0!==c?delete e[t]:void 0!==u.value&&(e[t]=u.value)}}if(o.size||t._flags._hasPatternMatch){const n=u.unknown(t,e,o,r,i,a);if(n)return n}if(t.$_terms.dependencies)for(const n of t.$_terms.dependencies){if(null!==n.key&&!1===u.isPresent(n.options)(n.key.resolve(e,i,a,null,{shadow:!1})))continue;const o=u.dependencies[n.rel](t,n,e,i,a);if(o){const n=t.$_createError(o.code,e,o.context,i,a);if(a.abortEarly)return{value:e,errors:n};r.push(n)}}return{value:e,errors:r}},rules:{and:{method(...e){return r.verifyFlat(e,"and"),u.dependency(this,"and",null,e)}},append:{method(e){return null==e||0===Object.keys(e).length?this:this.keys(e)}},assert:{method(e,n,i){l.isTemplate(e)||(e=o.ref(e)),t(void 0===i||"string"==typeof i,"Message must be a string"),n=this.$_compile(n,{appendPath:!0});const a=this.$_addRule({name:"assert",args:{subject:e,schema:n,message:i}});return a.$_mutateRegister(e),a.$_mutateRegister(n),a},validate(e,{error:t,prefs:n,state:i},{subject:a,schema:r,message:o}){const s=a.resolve(e,i,n),l=c.isRef(a)?a.absolute(i):[];return r.$_match(s,i.localize(l,[e,...i.ancestors],r),n)?e:t("object.assert",{subject:a,message:o})},args:["subject","schema","message"],multi:!0},instance:{method(e,n){return t("function"==typeof e,"constructor must be a function"),n=n||e.name,this.$_addRule({name:"instance",args:{constructor:e,name:n}})},validate:(e,t,{constructor:n,name:i})=>e instanceof n?e:t.error("object.instance",{type:i,value:e}),args:["constructor","name"]},keys:{method(e){t(void 0===e||"object"==typeof e,"Object schema must be a valid object"),t(!r.isSchema(e),"Object schema cannot be a joi schema");const n=this.clone();if(e)if(Object.keys(e).length){n.$_terms.keys=n.$_terms.keys?n.$_terms.keys.filter(t=>!e.hasOwnProperty(t.key)):new u.Keys;for(const t in e)r.tryWithPath(()=>n.$_terms.keys.push({key:t,schema:this.$_compile(e[t])}),t)}else n.$_terms.keys=new u.Keys;else n.$_terms.keys=null;return n.$_mutateRebuild()}},length:{method(e){return this.$_addRule({name:"length",args:{limit:e},operator:"="})},validate:(e,t,{limit:n},{name:i,operator:a,args:o})=>r.compare(Object.keys(e).length,n,a)?e:t.error("object."+i,{limit:o.limit,value:e}),args:[{name:"limit",ref:!0,assert:r.limit,message:"must be a positive integer"}]},max:{method(e){return this.$_addRule({name:"max",method:"length",args:{limit:e},operator:"<="})}},min:{method(e){return this.$_addRule({name:"min",method:"length",args:{limit:e},operator:">="})}},nand:{method(...e){return r.verifyFlat(e,"nand"),u.dependency(this,"nand",null,e)}},or:{method(...e){return r.verifyFlat(e,"or"),u.dependency(this,"or",null,e)}},oxor:{method(...e){return u.dependency(this,"oxor",null,e)}},pattern:{method(e,n,i={}){const a=e instanceof RegExp;a||(e=this.$_compile(e,{appendPath:!0})),t(void 0!==n,"Invalid rule"),r.assertOptions(i,["fallthrough","matches"]),a&&t(!e.flags.includes("g")&&!e.flags.includes("y"),"pattern should not use global or sticky mode"),n=this.$_compile(n,{appendPath:!0});const o=this.clone();o.$_terms.patterns=o.$_terms.patterns||[];const s={[a?"regex":"schema"]:e,rule:n};return i.matches&&(s.matches=this.$_compile(i.matches),"array"!==s.matches.type&&(s.matches=s.matches.$_root.array().items(s.matches)),o.$_mutateRegister(s.matches),o.$_setFlag("_hasPatternMatch",!0,{clone:!1})),i.fallthrough&&(s.fallthrough=!0),o.$_terms.patterns.push(s),o.$_mutateRegister(n),o}},ref:{method(){return this.$_addRule("ref")},validate:(e,t)=>c.isRef(e)?e:t.error("object.refType",{value:e})},regex:{method(){return this.$_addRule("regex")},validate:(e,t)=>e instanceof RegExp?e:t.error("object.regex",{value:e})},rename:{method(n,i,a={}){t("string"==typeof n||n instanceof RegExp,"Rename missing the from argument"),t("string"==typeof i||i instanceof l,"Invalid rename to argument"),t(i!==n,"Cannot rename key to same name:",n),r.assertOptions(a,["alias","ignoreUndefined","override","multiple"]);const o=this.clone();o.$_terms.renames=o.$_terms.renames||[];for(const e of o.$_terms.renames)t(e.from!==n,"Cannot rename the same key multiple times");return i instanceof l&&o.$_mutateRegister(i),o.$_terms.renames.push({from:n,to:i,options:e(u.renameDefaults,a)}),o}},schema:{method(e="any"){return this.$_addRule({name:"schema",args:{type:e}})},validate:(e,t,{type:n})=>!r.isSchema(e)||"any"!==n&&e.type!==n?t.error("object.schema",{type:n}):e},unknown:{method(e){return this.$_setFlag("unknown",!1!==e)}},with:{method(e,t,n={}){return u.dependency(this,"with",e,t,n)}},without:{method(e,t,n={}){return u.dependency(this,"without",e,t,n)}},xor:{method(...e){return r.verifyFlat(e,"xor"),u.dependency(this,"xor",null,e)}}},overrides:{default(e,t){return void 0===e&&(e=r.symbols.deepDefault),this.$_parent("default",e,t)}},rebuild(e){if(e.$_terms.keys){const t=new i.Sorter;for(const n of e.$_terms.keys)r.tryWithPath(()=>t.add(n,{after:n.schema.$_rootReferences(),group:n.key}),n.key);e.$_terms.keys=new u.Keys(...t.nodes)}},manifest:{build(e,t){if(t.keys&&(e=e.keys(t.keys)),t.dependencies)for(const{rel:n,key:i=null,peers:a,options:r}of t.dependencies)e=u.dependency(e,n,i,a,r);if(t.patterns)for(const{regex:n,schema:i,rule:a,fallthrough:r,matches:o}of t.patterns)e=e.pattern(n||i,a,{fallthrough:r,matches:o});if(t.renames)for(const{from:n,to:i,options:a}of t.renames)e=e.rename(n,i,a);return e}},messages:{"object.and":"{{#label}} contains {{#presentWithLabels}} without its required peers {{#missingWithLabels}}","object.assert":'{{#label}} is invalid because {if(#subject.key, `"` + #subject.key + `" failed to ` + (#message || "pass the assertion test"), #message || "the assertion failed")}',"object.base":"{{#label}} must be of type {{#type}}","object.instance":"{{#label}} must be an instance of {{:#type}}","object.length":'{{#label}} must have {{#limit}} key{if(#limit == 1, "", "s")}',"object.max":'{{#label}} must have less than or equal to {{#limit}} key{if(#limit == 1, "", "s")}',"object.min":'{{#label}} must have at least {{#limit}} key{if(#limit == 1, "", "s")}',"object.missing":"{{#label}} must contain at least one of {{#peersWithLabels}}","object.nand":"{{:#mainWithLabel}} must not exist simultaneously with {{#peersWithLabels}}","object.oxor":"{{#label}} contains a conflict between optional exclusive peers {{#peersWithLabels}}","object.pattern.match":"{{#label}} keys failed to match pattern requirements","object.refType":"{{#label}} must be a Joi reference","object.regex":"{{#label}} must be a RegExp object","object.rename.multiple":"{{#label}} cannot rename {{:#from}} because multiple renames are disabled and another key was already renamed to {{:#to}}","object.rename.override":"{{#label}} cannot rename {{:#from}} because override is disabled and target {{:#to}} exists","object.schema":"{{#label}} must be a Joi schema of {{#type}} type","object.unknown":"{{#label}} is not allowed","object.with":"{{:#mainWithLabel}} missing required peer {{:#peerWithLabel}}","object.without":"{{:#mainWithLabel}} conflict with forbidden peer {{:#peerWithLabel}}","object.xor":"{{#label}} contains a conflict between exclusive peers {{#peersWithLabels}}"}}),u.clone=function(e,t){if("object"==typeof e){if(t.nonEnumerables)return n(e,{shallow:!0});const i=Object.create(Object.getPrototypeOf(e));return Object.assign(i,e),i}const i=function(...t){return e.apply(this,t)};return i.prototype=n(e.prototype),Object.defineProperty(i,"name",{value:e.name,writable:!1}),Object.defineProperty(i,"length",{value:e.length,writable:!1}),Object.assign(i,e),i},u.dependency=function(e,n,i,a,s){t(null===i||"string"==typeof i,n,"key must be a strings"),s||(s=a.length>1&&"object"==typeof a[a.length-1]?a.pop():{}),r.assertOptions(s,["separator","isPresent"]),a=[].concat(a);const c=r.default(s.separator,"."),l=[];for(const e of a)t("string"==typeof e,n,"peers must be strings"),l.push(o.ref(e,{separator:c,ancestor:0,prefix:!1}));null!==i&&(i=o.ref(i,{separator:c,ancestor:0,prefix:!1}));const p=e.clone();return p.$_terms.dependencies=p.$_terms.dependencies||[],p.$_terms.dependencies.push(new u.Dependency(n,i,l,a,s)),p},u.dependencies={and(e,t,n,i,a){const r=[],o=[],s=t.peers.length,c=u.isPresent(t.options);for(const e of t.peers)!1===c(e.resolve(n,i,a,null,{shadow:!1}))?r.push(e.key):o.push(e.key);if(r.length!==s&&o.length!==s)return{code:"object.and",context:{present:o,presentWithLabels:u.keysToLabels(e,o),missing:r,missingWithLabels:u.keysToLabels(e,r)}}},nand(e,t,n,i,a){const r=[],o=u.isPresent(t.options);for(const e of t.peers)o(e.resolve(n,i,a,null,{shadow:!1}))&&r.push(e.key);if(r.length!==t.peers.length)return;const s=t.paths[0],c=t.paths.slice(1);return{code:"object.nand",context:{main:s,mainWithLabel:u.keysToLabels(e,s),peers:c,peersWithLabels:u.keysToLabels(e,c)}}},or(e,t,n,i,a){const r=u.isPresent(t.options);for(const e of t.peers)if(r(e.resolve(n,i,a,null,{shadow:!1})))return;return{code:"object.missing",context:{peers:t.paths,peersWithLabels:u.keysToLabels(e,t.paths)}}},oxor(e,t,n,i,a){const r=[],o=u.isPresent(t.options);for(const e of t.peers)o(e.resolve(n,i,a,null,{shadow:!1}))&&r.push(e.key);if(!r.length||1===r.length)return;const s={peers:t.paths,peersWithLabels:u.keysToLabels(e,t.paths)};return s.present=r,s.presentWithLabels=u.keysToLabels(e,r),{code:"object.oxor",context:s}},with(e,t,n,i,a){const r=u.isPresent(t.options);for(const o of t.peers)if(!1===r(o.resolve(n,i,a,null,{shadow:!1})))return{code:"object.with",context:{main:t.key.key,mainWithLabel:u.keysToLabels(e,t.key.key),peer:o.key,peerWithLabel:u.keysToLabels(e,o.key)}}},without(e,t,n,i,a){const r=u.isPresent(t.options);for(const o of t.peers)if(r(o.resolve(n,i,a,null,{shadow:!1})))return{code:"object.without",context:{main:t.key.key,mainWithLabel:u.keysToLabels(e,t.key.key),peer:o.key,peerWithLabel:u.keysToLabels(e,o.key)}}},xor(e,t,n,i,a){const r=[],o=u.isPresent(t.options);for(const e of t.peers)o(e.resolve(n,i,a,null,{shadow:!1}))&&r.push(e.key);if(1===r.length)return;const s={peers:t.paths,peersWithLabels:u.keysToLabels(e,t.paths)};return 0===r.length?{code:"object.missing",context:s}:(s.present=r,s.presentWithLabels=u.keysToLabels(e,r),{code:"object.xor",context:s})}},u.keysToLabels=function(e,t){return Array.isArray(t)?t.map(t=>e.$_mapLabels(t)):e.$_mapLabels(t)},u.isPresent=function(e){return"function"==typeof e.isPresent?e.isPresent:e=>void 0!==e},u.rename=function(e,t,n,i,a){const r={};for(const o of e.$_terms.renames){const s=[],c="string"!=typeof o.from;if(c)for(const e in t){if(void 0===t[e]&&o.options.ignoreUndefined)continue;if(e===o.to)continue;const n=o.from.exec(e);n&&s.push({from:e,to:o.to,match:n})}else!Object.prototype.hasOwnProperty.call(t,o.from)||void 0===t[o.from]&&o.options.ignoreUndefined||s.push(o);for(const u of s){const s=u.from;let p=u.to;if(p instanceof l&&(p=p.render(t,n,i,u.match)),s!==p){if(!o.options.multiple&&r[p]&&(a.push(e.$_createError("object.rename.multiple",t,{from:s,to:p,pattern:c},n,i)),i.abortEarly))return!1;if(Object.prototype.hasOwnProperty.call(t,p)&&!o.options.override&&!r[p]&&(a.push(e.$_createError("object.rename.override",t,{from:s,to:p,pattern:c},n,i)),i.abortEarly))return!1;void 0===t[s]?delete t[p]:t[p]=t[s],r[p]=!0,o.options.alias||delete t[s]}}}return!0},u.unknown=function(e,t,n,i,a,o){if(e.$_terms.patterns){let r=!1;const c=e.$_terms.patterns.map(e=>{if(e.matches)return r=!0,[]}),l=[t,...a.ancestors];for(const r of n){const s=t[r],u=[...a.path,r];for(let p=0;p<e.$_terms.patterns.length;++p){const d=e.$_terms.patterns[p];if(d.regex){const e=d.regex.test(r);if(a.mainstay.tracer.debug(a,"rule",`pattern.${p}`,e?"pass":"error"),!e)continue}else if(!d.schema.$_match(r,a.nest(d.schema,`pattern.${p}`),o))continue;n.delete(r);const f=a.localize(u,l,{schema:d.rule,key:r}),m=d.rule.$_validate(s,f,o);if(m.errors){if(o.abortEarly)return{value:t,errors:m.errors};i.push(...m.errors)}if(d.matches&&c[p].push(r),t[r]=m.value,!d.fallthrough)break}}if(r)for(let n=0;n<c.length;++n){const r=c[n];if(!r)continue;const u=e.$_terms.patterns[n].matches,p=a.localize(a.path,l,u),d=u.$_validate(r,p,o);if(d.errors){const n=s.details(d.errors,{override:!1});n.matches=r;const c=e.$_createError("object.pattern.match",t,n,a,o);if(o.abortEarly)return{value:t,errors:c};i.push(c)}}}if(!n.size||!e.$_terms.keys&&!e.$_terms.patterns)return;if(o.stripUnknown&&void 0===e._flags.unknown||o.skipFunctions){const e=!!o.stripUnknown&&(!0===o.stripUnknown||!!o.stripUnknown.objects);for(const i of n)e?(delete t[i],n.delete(i)):"function"==typeof t[i]&&n.delete(i)}if(!r.default(e._flags.unknown,o.allowUnknown))for(const r of n){const n=a.localize([...a.path,r],[]),s=e.$_createError("object.unknown",t[r],{child:r},n,o,{flags:!1});if(o.abortEarly)return{value:t,errors:s};i.push(s)}},u.Dependency=class{constructor(e,t,n,i,a){this.rel=e,this.key=t,this.peers=n,this.paths=i,this.options=a}describe(){const e={rel:this.rel,peers:this.paths};return null!==this.key&&(e.key=this.key.key),"."!==this.peers[0].separator&&(e.options={...e.options,separator:this.peers[0].separator}),this.options.isPresent&&(e.options={...e.options,isPresent:this.options.isPresent}),e}},u.Keys=class extends Array{concat(e){const t=this.slice(),n=new Map;for(let e=0;e<t.length;++e)n.set(t[e].key,e);for(const i of e){const e=i.key,a=n.get(e);void 0!==a?t[a]={key:e,schema:t[a].schema.concat(i.schema)}:t.push(i)}return t}},Mo}function Jo(){if(Go)return qo;Go=1;const e=Ka,t=Yo();return qo=t.extend({type:"function",properties:{typeof:"function"},rules:{arity:{method(t){return e(Number.isSafeInteger(t)&&t>=0,"n must be a positive integer"),this.$_addRule({name:"arity",args:{n:t}})},validate:(e,t,{n:n})=>e.length===n?e:t.error("function.arity",{n:n})},class:{method(){return this.$_addRule("class")},validate:(e,t)=>/^\s*class\s/.test(e.toString())?e:t.error("function.class",{value:e})},minArity:{method(t){return e(Number.isSafeInteger(t)&&t>0,"n must be a strict positive integer"),this.$_addRule({name:"minArity",args:{n:t}})},validate:(e,t,{n:n})=>e.length>=n?e:t.error("function.minArity",{n:n})},maxArity:{method(t){return e(Number.isSafeInteger(t)&&t>=0,"n must be a positive integer"),this.$_addRule({name:"maxArity",args:{n:t}})},validate:(e,t,{n:n})=>e.length<=n?e:t.error("function.maxArity",{n:n})}},messages:{"function.arity":"{{#label}} must have an arity of {{#n}}","function.class":"{{#label}} must be a class","function.maxArity":"{{#label}} must have an arity lesser or equal to {{#n}}","function.minArity":"{{#label}} must have an arity greater or equal to {{#n}}"}}),qo}function Qo(){if(Wo)return Ho;Wo=1;const e=Ka,t=So(),n=$r(),i=Pr(),a=Or(),r={};return Ho=t.extend({type:"link",properties:{schemaChain:!0},terms:{link:{init:null,manifest:"single",register:!1}},args:(e,t)=>e.ref(t),validate(t,{schema:n,state:i,prefs:a}){e(n.$_terms.link,"Uninitialized link schema");const o=r.generate(n,t,i,a),s=n.$_terms.link[0].ref;return o.$_validate(t,i.nest(o,`link:${s.display}:${o.type}`),a)},generate:(e,t,n,i)=>r.generate(e,t,n,i),rules:{ref:{method(t){e(!this.$_terms.link,"Cannot reinitialize schema"),t=i.ref(t),e("value"===t.type||"local"===t.type,"Invalid reference type:",t.type),e("local"===t.type||"root"===t.ancestor||t.ancestor>0,"Link cannot reference itself");const n=this.clone();return n.$_terms.link=[{ref:t}],n}},relative:{method(e=!0){return this.$_setFlag("relative",e)}}},overrides:{concat(t){e(this.$_terms.link,"Uninitialized link schema"),e(n.isSchema(t),"Invalid schema object"),e("link"!==t.type,"Cannot merge type link with another link");const i=this.clone();return i.$_terms.whens||(i.$_terms.whens=[]),i.$_terms.whens.push({concat:t}),i.$_mutateRebuild()}},manifest:{build:(t,n)=>(e(n.link,"Invalid link description missing link"),t.ref(n.link))}}),r.generate=function(e,t,n,i){let a=n.mainstay.links.get(e);if(a)return a._generate(t,n,i).schema;const o=e.$_terms.link[0].ref,{perspective:s,path:c}=r.perspective(o,n);r.assert(s,"which is outside of schema boundaries",o,e,n,i);try{a=c.length?s.$_reach(c):s}catch(t){r.assert(!1,"to non-existing schema",o,e,n,i)}return r.assert("link"!==a.type,"which is another link",o,e,n,i),e._flags.relative||n.mainstay.links.set(e,a),a._generate(t,n,i).schema},r.perspective=function(e,t){if("local"===e.type){for(const{schema:n,key:i}of t.schemas){if((n._flags.id||i)===e.path[0])return{perspective:n,path:e.path.slice(1)};if(n.$_terms.shared)for(const t of n.$_terms.shared)if(t._flags.id===e.path[0])return{perspective:t,path:e.path.slice(1)}}return{perspective:null,path:null}}return"root"===e.ancestor?{perspective:t.schemas[t.schemas.length-1].schema,path:e.path}:{perspective:t.schemas[e.ancestor]&&t.schemas[e.ancestor].schema,path:e.path}},r.assert=function(t,n,i,r,o,s){t||e(!1,`"${a.label(r._flags,o,s)}" contains link reference "${i.display}" ${n}`)},Ho}function es(){if(Zo)return Vo;Zo=1;const e=Ka,t=So(),n=$r(),i={numberRx:/^\s*[+-]?(?:(?:\d+(?:\.\d*)?)|(?:\.\d+))(?:e([+-]?\d+))?\s*$/i,precisionRx:/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/,exponentialPartRegex:/[eE][+-]?\d+$/,leadingSignAndZerosRegex:/^[+-]?(0*)?/,dotRegex:/\./,trailingZerosRegex:/0+$/,decimalPlaces(e){const t=e.toString(),n=t.indexOf("."),i=t.indexOf("e");return(n<0?0:(i<0?t.length:i)-n-1)+(i<0?0:Math.max(0,-parseInt(t.slice(i+1))))}};return Vo=t.extend({type:"number",flags:{unsafe:{default:!1}},coerce:{from:"string",method(e,{schema:t,error:n}){if(!e.match(i.numberRx))return;e=e.trim();const a={value:parseFloat(e)};if(0===a.value&&(a.value=0),!t._flags.unsafe)if(e.match(/e/i)){if(i.extractSignificantDigits(e)!==i.extractSignificantDigits(String(a.value)))return a.errors=n("number.unsafe"),a}else{const t=a.value.toString();if(t.match(/e/i))return a;if(t!==i.normalizeDecimal(e))return a.errors=n("number.unsafe"),a}return a}},validate(e,{schema:t,error:i,prefs:a}){if(e===1/0||e===-1/0)return{value:e,errors:i("number.infinity")};if(!n.isNumber(e))return{value:e,errors:i("number.base")};const r={value:e};if(a.convert){const e=t.$_getRule("precision");if(e){const t=Math.pow(10,e.args.limit);r.value=Math.round(r.value*t)/t}}return 0===r.value&&(r.value=0),!t._flags.unsafe&&(e>Number.MAX_SAFE_INTEGER||e<Number.MIN_SAFE_INTEGER)&&(r.errors=i("number.unsafe")),r},rules:{compare:{method:!1,validate:(e,t,{limit:i},{name:a,operator:r,args:o})=>n.compare(e,i,r)?e:t.error("number."+a,{limit:o.limit,value:e}),args:[{name:"limit",ref:!0,assert:n.isNumber,message:"must be a number"}]},greater:{method(e){return this.$_addRule({name:"greater",method:"compare",args:{limit:e},operator:">"})}},integer:{method(){return this.$_addRule("integer")},validate:(e,t)=>Math.trunc(e)-e===0?e:t.error("number.integer")},less:{method(e){return this.$_addRule({name:"less",method:"compare",args:{limit:e},operator:"<"})}},max:{method(e){return this.$_addRule({name:"max",method:"compare",args:{limit:e},operator:"<="})}},min:{method(e){return this.$_addRule({name:"min",method:"compare",args:{limit:e},operator:">="})}},multiple:{method(e){const t="number"==typeof e?i.decimalPlaces(e):null,n=Math.pow(10,t);return this.$_addRule({name:"multiple",args:{base:e,baseDecimalPlace:t,pfactor:n}})},validate:(e,t,{base:n,baseDecimalPlace:a,pfactor:r},o)=>i.decimalPlaces(e)>a?t.error("number.multiple",{multiple:o.args.base,value:e}):Math.round(r*e)%Math.round(r*n)===0?e:t.error("number.multiple",{multiple:o.args.base,value:e}),args:[{name:"base",ref:!0,assert:e=>"number"==typeof e&&isFinite(e)&&e>0,message:"must be a positive number"},"baseDecimalPlace","pfactor"],multi:!0},negative:{method(){return this.sign("negative")}},port:{method(){return this.$_addRule("port")},validate:(e,t)=>Number.isSafeInteger(e)&&e>=0&&e<=65535?e:t.error("number.port")},positive:{method(){return this.sign("positive")}},precision:{method(t){return e(Number.isSafeInteger(t),"limit must be an integer"),this.$_addRule({name:"precision",args:{limit:t}})},validate(e,t,{limit:n}){const a=e.toString().match(i.precisionRx);return Math.max((a[1]?a[1].length:0)-(a[2]?parseInt(a[2],10):0),0)<=n?e:t.error("number.precision",{limit:n,value:e})},convert:!0},sign:{method(t){return e(["negative","positive"].includes(t),"Invalid sign",t),this.$_addRule({name:"sign",args:{sign:t}})},validate:(e,t,{sign:n})=>"negative"===n&&e<0||"positive"===n&&e>0?e:t.error(`number.${n}`)},unsafe:{method(t=!0){return e("boolean"==typeof t,"enabled must be a boolean"),this.$_setFlag("unsafe",t)}}},cast:{string:{from:e=>"number"==typeof e,to:(e,t)=>e.toString()}},messages:{"number.base":"{{#label}} must be a number","number.greater":"{{#label}} must be greater than {{#limit}}","number.infinity":"{{#label}} cannot be infinity","number.integer":"{{#label}} must be an integer","number.less":"{{#label}} must be less than {{#limit}}","number.max":"{{#label}} must be less than or equal to {{#limit}}","number.min":"{{#label}} must be greater than or equal to {{#limit}}","number.multiple":"{{#label}} must be a multiple of {{#multiple}}","number.negative":"{{#label}} must be a negative number","number.port":"{{#label}} must be a valid port","number.positive":"{{#label}} must be a positive number","number.precision":"{{#label}} must have no more than {{#limit}} decimal places","number.unsafe":"{{#label}} must be a safe number"}}),i.extractSignificantDigits=function(e){return e.replace(i.exponentialPartRegex,"").replace(i.dotRegex,"").replace(i.trailingZerosRegex,"").replace(i.leadingSignAndZerosRegex,"")},i.normalizeDecimal=function(e){return(e=e.replace(/^\+/,"").replace(/\.0*$/,"").replace(/^(-?)\.([^\.]*)$/,"$10.$2").replace(/^(-?)0+([0-9])/,"$1$2")).includes(".")&&e.endsWith("0")&&(e=e.replace(/0+$/,"")),"-0"===e?"0":e},Vo}function ts(){if(Xo)return Ko;Xo=1;const e=Yo();return Ko=e.extend({type:"object",cast:{map:{from:e=>e&&"object"==typeof e,to:(e,t)=>new Map(Object.entries(e))}}})}Do.Sorter=class{constructor(){this._items=[],this.nodes=[]}add(e,t){const n=[].concat((t=t||{}).before||[]),i=[].concat(t.after||[]),a=t.group||"?",r=t.sort||0;Uo(!n.includes(a),`Item cannot come before itself: ${a}`),Uo(!n.includes("?"),"Item cannot come before unassociated items"),Uo(!i.includes(a),`Item cannot come after itself: ${a}`),Uo(!i.includes("?"),"Item cannot come after unassociated items"),Array.isArray(e)||(e=[e]);for(const t of e){const e={seq:this._items.length,sort:r,before:n,after:i,group:a,node:t};this._items.push(e)}if(!t.manual){const e=this._sort();Uo(e,"item","?"!==a?`added into group ${a}`:"","created a dependencies error")}return this.nodes}merge(e){Array.isArray(e)||(e=[e]);for(const t of e)if(t)for(const e of t._items)this._items.push(Object.assign({},e));this._items.sort(Bo.mergeSort);for(let e=0;e<this._items.length;++e)this._items[e].seq=e;const t=this._sort();return Uo(t,"merge created a dependencies error"),this.nodes}sort(){const e=this._sort();return Uo(e,"sort created a dependencies error"),this.nodes}_sort(){const e={},t=Object.create(null),n=Object.create(null);for(const i of this._items){const a=i.seq,r=i.group;n[r]=n[r]||[],n[r].push(a),e[a]=i.before;for(const e of i.after)t[e]=t[e]||[],t[e].push(a)}for(const t in e){const i=[];for(const a in e[t]){const r=e[t][a];n[r]=n[r]||[],i.push(...n[r])}e[t]=i}for(const i in t)if(n[i])for(const a of n[i])e[a].push(...t[i]);const i={};for(const t in e){const n=e[t];for(const e of n)i[e]=i[e]||[],i[e].push(t)}const a={},r=[];for(let e=0;e<this._items.length;++e){let t=e;if(i[e]){t=null;for(let e=0;e<this._items.length;++e){if(!0===a[e])continue;i[e]||(i[e]=[]);const n=i[e].length;let r=0;for(let t=0;t<n;++t)a[i[e][t]]&&++r;if(r===n){t=e;break}}}null!==t&&(a[t]=!0,r.push(t))}if(r.length!==this._items.length)return!1;const o={};for(const e of this._items)o[e.seq]=e;this._items=[],this.nodes=[];for(const e of r){const t=o[e];this.nodes.push(t.node),this._items.push(t)}return!0}},Bo.mergeSort=(e,t)=>e.sort===t.sort?0:e.sort<t.sort?-1:1;var ns={},is={};!function(e){e.codes={EMPTY_STRING:"Address must be a non-empty string",FORBIDDEN_UNICODE:"Address contains forbidden Unicode characters",MULTIPLE_AT_CHAR:"Address cannot contain more than one @ character",MISSING_AT_CHAR:"Address must contain one @ character",EMPTY_LOCAL:"Address local part cannot be empty",ADDRESS_TOO_LONG:"Address too long",LOCAL_TOO_LONG:"Address local part too long",EMPTY_LOCAL_SEGMENT:"Address local part contains empty dot-separated segment",INVALID_LOCAL_CHARS:"Address local part contains invalid character",DOMAIN_NON_EMPTY_STRING:"Domain must be a non-empty string",DOMAIN_TOO_LONG:"Domain too long",DOMAIN_INVALID_UNICODE_CHARS:"Domain contains forbidden Unicode characters",DOMAIN_INVALID_CHARS:"Domain contains invalid character",DOMAIN_INVALID_TLDS_CHARS:"Domain contains invalid tld character",DOMAIN_SEGMENTS_COUNT:"Domain lacks the minimum required number of segments",DOMAIN_SEGMENTS_COUNT_MAX:"Domain contains too many segments",DOMAIN_FORBIDDEN_TLDS:"Domain uses forbidden TLD",DOMAIN_EMPTY_SEGMENT:"Domain contains empty dot-separated segment",DOMAIN_LONG_SEGMENT:"Domain contains dot-separated segment that is too long"},e.code=function(t){return{code:t,error:e.codes[t]}}}(is),function(t){const n=is,i={minDomainSegments:2,nonAsciiRx:/[^\x00-\x7f]/,domainControlRx:/[\x00-\x20@\:\/\\#!\$&\'\(\)\*\+,;=\?]/,tldSegmentRx:/^[a-zA-Z](?:[a-zA-Z0-9\-]*[a-zA-Z0-9])?$/,domainSegmentRx:/^[a-zA-Z0-9](?:[a-zA-Z0-9\-]*[a-zA-Z0-9])?$/,URL:e.URL||URL};t.analyze=function(e,t={}){if(!e)return n.code("DOMAIN_NON_EMPTY_STRING");if("string"!=typeof e)throw new Error("Invalid input: domain must be a string");if(e.length>256)return n.code("DOMAIN_TOO_LONG");if(!!i.nonAsciiRx.test(e)){if(!1===t.allowUnicode)return n.code("DOMAIN_INVALID_UNICODE_CHARS");e=e.normalize("NFC")}if(i.domainControlRx.test(e))return n.code("DOMAIN_INVALID_CHARS");e=i.punycode(e),t.allowFullyQualified&&"."===e[e.length-1]&&(e=e.slice(0,-1));const a=t.minDomainSegments||i.minDomainSegments,r=e.split(".");if(r.length<a)return n.code("DOMAIN_SEGMENTS_COUNT");if(t.maxDomainSegments&&r.length>t.maxDomainSegments)return n.code("DOMAIN_SEGMENTS_COUNT_MAX");const o=t.tlds;if(o){const e=r[r.length-1].toLowerCase();if(o.deny&&o.deny.has(e)||o.allow&&!o.allow.has(e))return n.code("DOMAIN_FORBIDDEN_TLDS")}for(let e=0;e<r.length;++e){const t=r[e];if(!t.length)return n.code("DOMAIN_EMPTY_SEGMENT");if(t.length>63)return n.code("DOMAIN_LONG_SEGMENT");if(e<r.length-1){if(!i.domainSegmentRx.test(t))return n.code("DOMAIN_INVALID_CHARS")}else if(!i.tldSegmentRx.test(t))return n.code("DOMAIN_INVALID_TLDS_CHARS")}return null},t.isValid=function(e,n){return!t.analyze(e,n)},i.punycode=function(e){e.includes("%")&&(e=e.replace(/%/g,"%25"));try{return new i.URL(`http://${e}`).host}catch(t){return e}}}(ns);var as={};const rs=ns,os=is,ss={nonAsciiRx:/[^\x00-\x7f]/,encoder:new(t.TextEncoder||TextEncoder)};as.analyze=function(e,t){return ss.email(e,t)},as.isValid=function(e,t){return!ss.email(e,t)},ss.email=function(e,t={}){if("string"!=typeof e)throw new Error("Invalid input: email must be a string");if(!e)return os.code("EMPTY_STRING");const n=!ss.nonAsciiRx.test(e);if(!n){if(!1===t.allowUnicode)return os.code("FORBIDDEN_UNICODE");e=e.normalize("NFC")}const i=e.split("@");if(2!==i.length)return i.length>2?os.code("MULTIPLE_AT_CHAR"):os.code("MISSING_AT_CHAR");const[a,r]=i;if(!a)return os.code("EMPTY_LOCAL");if(!t.ignoreLength){if(e.length>254)return os.code("ADDRESS_TOO_LONG");if(ss.encoder.encode(a).length>64)return os.code("LOCAL_TOO_LONG")}return ss.local(a,n)||rs.analyze(r,t)},ss.local=function(e,t){const n=e.split(".");for(const e of n){if(!e.length)return os.code("EMPTY_LOCAL_SEGMENT");if(t){if(!ss.atextRx.test(e))return os.code("INVALID_LOCAL_CHARS")}else for(const t of e){if(ss.atextRx.test(t))continue;const e=ss.binary(t);if(!ss.atomRx.test(e))return os.code("INVALID_LOCAL_CHARS")}}},ss.binary=function(e){return Array.from(ss.encoder.encode(e)).map(e=>String.fromCharCode(e)).join("")},ss.atextRx=/^[\w!#\$%&'\*\+\-/=\?\^`\{\|\}~]+$/,ss.atomRx=new RegExp(["(?:[\\xc2-\\xdf][\\x80-\\xbf])","(?:\\xe0[\\xa0-\\xbf][\\x80-\\xbf])|(?:[\\xe1-\\xec][\\x80-\\xbf]{2})|(?:\\xed[\\x80-\\x9f][\\x80-\\xbf])|(?:[\\xee-\\xef][\\x80-\\xbf]{2})","(?:\\xf0[\\x90-\\xbf][\\x80-\\xbf]{2})|(?:[\\xf1-\\xf3][\\x80-\\xbf]{3})|(?:\\xf4[\\x80-\\x8f][\\x80-\\xbf]{2})"].join("|"));var cs={},ls={},us=function(e){return e.replace(/[\^\$\.\*\+\-\?\=\!\:\|\\\/\(\)\[\]\{\}\,]/g,"\\$&")};const ps=Ka,ds=us,fs={generate:function(){const e={},t="\\dA-Fa-f",n="["+t+"]",i="\\w-\\.~",a="!\\$&'\\(\\)\\*\\+,;=",r="%"+t,o=i+r+a+":@",s="["+o+"]",c="(?:0{0,2}\\d|0?[1-9]\\d|1\\d\\d|2[0-4]\\d|25[0-5])";e.ipv4address="(?:"+c+"\\.){3}"+c;const l=n+"{1,4}",u="(?:"+l+":"+l+"|"+e.ipv4address+")",p="(?:"+l+":){6}"+u,d="::(?:"+l+":){5}"+u,f="(?:"+l+")?::(?:"+l+":){4}"+u,m="(?:(?:"+l+":){0,1}"+l+")?::(?:"+l+":){3}"+u,h="(?:(?:"+l+":){0,2}"+l+")?::(?:"+l+":){2}"+u,g="(?:(?:"+l+":){0,3}"+l+")?::"+l+":"+u,v="(?:(?:"+l+":){0,4}"+l+")?::"+u,b="(?:(?:"+l+":){0,5}"+l+")?::"+l,y="(?:(?:"+l+":){0,6}"+l+")?::";e.ipv4Cidr="(?:\\d|[1-2]\\d|3[0-2])",e.ipv6Cidr="(?:0{0,2}\\d|0?[1-9]\\d|1[01]\\d|12[0-8])",e.ipv6address="(?:"+p+"|"+d+"|"+f+"|"+m+"|"+h+"|"+g+"|"+v+"|"+b+"|"+y+")",e.ipvFuture="v"+n+"+\\.["+i+a+":]+",e.scheme="[a-zA-Z][a-zA-Z\\d+-\\.]*",e.schemeRegex=new RegExp(e.scheme);const x="["+i+r+a+":]*",_="["+i+r+a+"]{1,255}",w="(?:"+("\\[(?:"+e.ipv6address+"|"+e.ipvFuture+")\\]")+"|"+e.ipv4address+"|"+_+")",O="(?:"+x+"@)?"+w+"(?::\\d*)?",A="(?:"+x+"@)?("+w+")(?::\\d*)?",R=s+"*",k=s+"+",S="(?:\\/"+R+")*",E="\\/(?:"+k+S+")?",j=k+S,T="["+i+r+a+"@]+"+S,C="(?:\\/\\/\\/"+R+S+")";return e.hierPart="(?:(?:\\/\\/"+O+S+")|"+E+"|"+j+"|"+C+")",e.hierPartCapture="(?:(?:\\/\\/"+A+S+")|"+E+"|"+j+")",e.relativeRef="(?:(?:\\/\\/"+O+S+")|"+E+"|"+T+"|)",e.relativeRefCapture="(?:(?:\\/\\/"+A+S+")|"+E+"|"+T+"|)",e.query="["+o+"\\/\\?]*(?=#|$)",e.queryWithSquareBrackets="["+o+"\\[\\]\\/\\?]*(?=#|$)",e.fragment="["+o+"\\/\\?]*",e}};fs.rfc3986=fs.generate(),ls.ip={v4Cidr:fs.rfc3986.ipv4Cidr,v6Cidr:fs.rfc3986.ipv6Cidr,ipv4:fs.rfc3986.ipv4address,ipv6:fs.rfc3986.ipv6address,ipvfuture:fs.rfc3986.ipvFuture},fs.createRegex=function(e){const t=fs.rfc3986,n="(?:\\?"+(e.allowQuerySquareBrackets?t.queryWithSquareBrackets:t.query)+")?(?:#"+t.fragment+")?",i=e.domain?t.relativeRefCapture:t.relativeRef;if(e.relativeOnly)return fs.wrap(i+n);let a="";if(e.scheme){ps(e.scheme instanceof RegExp||"string"==typeof e.scheme||Array.isArray(e.scheme),"scheme must be a RegExp, String, or Array");const n=[].concat(e.scheme);ps(n.length>=1,"scheme must have at least 1 scheme specified");const i=[];for(let e=0;e<n.length;++e){const a=n[e];ps(a instanceof RegExp||"string"==typeof a,"scheme at position "+e+" must be a RegExp or String"),a instanceof RegExp?i.push(a.source.toString()):(ps(t.schemeRegex.test(a),"scheme at position "+e+" must be a valid scheme"),i.push(ds(a)))}a=i.join("|")}const r="(?:"+(a?"(?:"+a+")":t.scheme)+":"+(e.domain?t.hierPartCapture:t.hierPart)+")",o=e.allowRelative?"(?:"+r+"|"+i+")":r;return fs.wrap(o+n,a)},fs.wrap=function(e,t){return{raw:e=`(?=.)(?!https?:/(?:$|[^/]))(?!https?:///)(?!https?:[^/])${e}`,regex:new RegExp(`^${e}$`),scheme:t}},fs.uriRegex=fs.createRegex({}),ls.regex=function(e={}){return e.scheme||e.allowRelative||e.relativeOnly||e.allowQuerySquareBrackets||e.domain?fs.createRegex(e):fs.uriRegex};const ms=Ka,hs=ls;cs.regex=function(e={}){ms(void 0===e.cidr||"string"==typeof e.cidr,"options.cidr must be a string");const t=e.cidr?e.cidr.toLowerCase():"optional";ms(["required","optional","forbidden"].includes(t),"options.cidr must be one of required, optional, forbidden"),ms(void 0===e.version||"string"==typeof e.version||Array.isArray(e.version),"options.version must be a string or an array of string");let n=e.version||["ipv4","ipv6","ipvfuture"];Array.isArray(n)||(n=[n]),ms(n.length>=1,"options.version must have at least 1 version specified");for(let e=0;e<n.length;++e)ms("string"==typeof n[e],"options.version must only contain strings"),n[e]=n[e].toLowerCase(),ms(["ipv4","ipv6","ipvfuture"].includes(n[e]),"options.version contains unknown version "+n[e]+" - must be one of ipv4, ipv6, ipvfuture");n=Array.from(new Set(n));const i=n.map(e=>{if("forbidden"===t)return hs.ip[e];const n=`\\/${"ipv4"===e?hs.ip.v4Cidr:hs.ip.v6Cidr}`;return"required"===t?`${hs.ip[e]}${n}`:`${hs.ip[e]}(?:${n})?`}),a=`(?:${i.join("|")})`,r=new RegExp(`^${a}$`);return{cidr:t,versions:n,regex:r,raw:a}};const gs={tlds:["AAA","AARP","ABB","ABBOTT","ABBVIE","ABC","ABLE","ABOGADO","ABUDHABI","AC","ACADEMY","ACCENTURE","ACCOUNTANT","ACCOUNTANTS","ACO","ACTOR","AD","ADS","ADULT","AE","AEG","AERO","AETNA","AF","AFL","AFRICA","AG","AGAKHAN","AGENCY","AI","AIG","AIRBUS","AIRFORCE","AIRTEL","AKDN","AL","ALIBABA","ALIPAY","ALLFINANZ","ALLSTATE","ALLY","ALSACE","ALSTOM","AM","AMAZON","AMERICANEXPRESS","AMERICANFAMILY","AMEX","AMFAM","AMICA","AMSTERDAM","ANALYTICS","ANDROID","ANQUAN","ANZ","AO","AOL","APARTMENTS","APP","APPLE","AQ","AQUARELLE","AR","ARAB","ARAMCO","ARCHI","ARMY","ARPA","ART","ARTE","AS","ASDA","ASIA","ASSOCIATES","AT","ATHLETA","ATTORNEY","AU","AUCTION","AUDI","AUDIBLE","AUDIO","AUSPOST","AUTHOR","AUTO","AUTOS","AVIANCA","AW","AWS","AX","AXA","AZ","AZURE","BA","BABY","BAIDU","BANAMEX","BAND","BANK","BAR","BARCELONA","BARCLAYCARD","BARCLAYS","BAREFOOT","BARGAINS","BASEBALL","BASKETBALL","BAUHAUS","BAYERN","BB","BBC","BBT","BBVA","BCG","BCN","BD","BE","BEATS","BEAUTY","BEER","BENTLEY","BERLIN","BEST","BESTBUY","BET","BF","BG","BH","BHARTI","BI","BIBLE","BID","BIKE","BING","BINGO","BIO","BIZ","BJ","BLACK","BLACKFRIDAY","BLOCKBUSTER","BLOG","BLOOMBERG","BLUE","BM","BMS","BMW","BN","BNPPARIBAS","BO","BOATS","BOEHRINGER","BOFA","BOM","BOND","BOO","BOOK","BOOKING","BOSCH","BOSTIK","BOSTON","BOT","BOUTIQUE","BOX","BR","BRADESCO","BRIDGESTONE","BROADWAY","BROKER","BROTHER","BRUSSELS","BS","BT","BUILD","BUILDERS","BUSINESS","BUY","BUZZ","BV","BW","BY","BZ","BZH","CA","CAB","CAFE","CAL","CALL","CALVINKLEIN","CAM","CAMERA","CAMP","CANON","CAPETOWN","CAPITAL","CAPITALONE","CAR","CARAVAN","CARDS","CARE","CAREER","CAREERS","CARS","CASA","CASE","CASH","CASINO","CAT","CATERING","CATHOLIC","CBA","CBN","CBRE","CC","CD","CENTER","CEO","CERN","CF","CFA","CFD","CG","CH","CHANEL","CHANNEL","CHARITY","CHASE","CHAT","CHEAP","CHINTAI","CHRISTMAS","CHROME","CHURCH","CI","CIPRIANI","CIRCLE","CISCO","CITADEL","CITI","CITIC","CITY","CK","CL","CLAIMS","CLEANING","CLICK","CLINIC","CLINIQUE","CLOTHING","CLOUD","CLUB","CLUBMED","CM","CN","CO","COACH","CODES","COFFEE","COLLEGE","COLOGNE","COM","COMCAST","COMMBANK","COMMUNITY","COMPANY","COMPARE","COMPUTER","COMSEC","CONDOS","CONSTRUCTION","CONSULTING","CONTACT","CONTRACTORS","COOKING","COOL","COOP","CORSICA","COUNTRY","COUPON","COUPONS","COURSES","CPA","CR","CREDIT","CREDITCARD","CREDITUNION","CRICKET","CROWN","CRS","CRUISE","CRUISES","CU","CUISINELLA","CV","CW","CX","CY","CYMRU","CYOU","CZ","DABUR","DAD","DANCE","DATA","DATE","DATING","DATSUN","DAY","DCLK","DDS","DE","DEAL","DEALER","DEALS","DEGREE","DELIVERY","DELL","DELOITTE","DELTA","DEMOCRAT","DENTAL","DENTIST","DESI","DESIGN","DEV","DHL","DIAMONDS","DIET","DIGITAL","DIRECT","DIRECTORY","DISCOUNT","DISCOVER","DISH","DIY","DJ","DK","DM","DNP","DO","DOCS","DOCTOR","DOG","DOMAINS","DOT","DOWNLOAD","DRIVE","DTV","DUBAI","DUNLOP","DUPONT","DURBAN","DVAG","DVR","DZ","EARTH","EAT","EC","ECO","EDEKA","EDU","EDUCATION","EE","EG","EMAIL","EMERCK","ENERGY","ENGINEER","ENGINEERING","ENTERPRISES","EPSON","EQUIPMENT","ER","ERICSSON","ERNI","ES","ESQ","ESTATE","ET","EU","EUROVISION","EUS","EVENTS","EXCHANGE","EXPERT","EXPOSED","EXPRESS","EXTRASPACE","FAGE","FAIL","FAIRWINDS","FAITH","FAMILY","FAN","FANS","FARM","FARMERS","FASHION","FAST","FEDEX","FEEDBACK","FERRARI","FERRERO","FI","FIDELITY","FIDO","FILM","FINAL","FINANCE","FINANCIAL","FIRE","FIRESTONE","FIRMDALE","FISH","FISHING","FIT","FITNESS","FJ","FK","FLICKR","FLIGHTS","FLIR","FLORIST","FLOWERS","FLY","FM","FO","FOO","FOOD","FOOTBALL","FORD","FOREX","FORSALE","FORUM","FOUNDATION","FOX","FR","FREE","FRESENIUS","FRL","FROGANS","FRONTIER","FTR","FUJITSU","FUN","FUND","FURNITURE","FUTBOL","FYI","GA","GAL","GALLERY","GALLO","GALLUP","GAME","GAMES","GAP","GARDEN","GAY","GB","GBIZ","GD","GDN","GE","GEA","GENT","GENTING","GEORGE","GF","GG","GGEE","GH","GI","GIFT","GIFTS","GIVES","GIVING","GL","GLASS","GLE","GLOBAL","GLOBO","GM","GMAIL","GMBH","GMO","GMX","GN","GODADDY","GOLD","GOLDPOINT","GOLF","GOO","GOODYEAR","GOOG","GOOGLE","GOP","GOT","GOV","GP","GQ","GR","GRAINGER","GRAPHICS","GRATIS","GREEN","GRIPE","GROCERY","GROUP","GS","GT","GU","GUARDIAN","GUCCI","GUGE","GUIDE","GUITARS","GURU","GW","GY","HAIR","HAMBURG","HANGOUT","HAUS","HBO","HDFC","HDFCBANK","HEALTH","HEALTHCARE","HELP","HELSINKI","HERE","HERMES","HIPHOP","HISAMITSU","HITACHI","HIV","HK","HKT","HM","HN","HOCKEY","HOLDINGS","HOLIDAY","HOMEDEPOT","HOMEGOODS","HOMES","HOMESENSE","HONDA","HORSE","HOSPITAL","HOST","HOSTING","HOT","HOTELS","HOTMAIL","HOUSE","HOW","HR","HSBC","HT","HU","HUGHES","HYATT","HYUNDAI","IBM","ICBC","ICE","ICU","ID","IE","IEEE","IFM","IKANO","IL","IM","IMAMAT","IMDB","IMMO","IMMOBILIEN","IN","INC","INDUSTRIES","INFINITI","INFO","ING","INK","INSTITUTE","INSURANCE","INSURE","INT","INTERNATIONAL","INTUIT","INVESTMENTS","IO","IPIRANGA","IQ","IR","IRISH","IS","ISMAILI","IST","ISTANBUL","IT","ITAU","ITV","JAGUAR","JAVA","JCB","JE","JEEP","JETZT","JEWELRY","JIO","JLL","JM","JMP","JNJ","JO","JOBS","JOBURG","JOT","JOY","JP","JPMORGAN","JPRS","JUEGOS","JUNIPER","KAUFEN","KDDI","KE","KERRYHOTELS","KERRYLOGISTICS","KERRYPROPERTIES","KFH","KG","KH","KI","KIA","KIDS","KIM","KINDLE","KITCHEN","KIWI","KM","KN","KOELN","KOMATSU","KOSHER","KP","KPMG","KPN","KR","KRD","KRED","KUOKGROUP","KW","KY","KYOTO","KZ","LA","LACAIXA","LAMBORGHINI","LAMER","LANCASTER","LAND","LANDROVER","LANXESS","LASALLE","LAT","LATINO","LATROBE","LAW","LAWYER","LB","LC","LDS","LEASE","LECLERC","LEFRAK","LEGAL","LEGO","LEXUS","LGBT","LI","LIDL","LIFE","LIFEINSURANCE","LIFESTYLE","LIGHTING","LIKE","LILLY","LIMITED","LIMO","LINCOLN","LINK","LIPSY","LIVE","LIVING","LK","LLC","LLP","LOAN","LOANS","LOCKER","LOCUS","LOL","LONDON","LOTTE","LOTTO","LOVE","LPL","LPLFINANCIAL","LR","LS","LT","LTD","LTDA","LU","LUNDBECK","LUXE","LUXURY","LV","LY","MA","MADRID","MAIF","MAISON","MAKEUP","MAN","MANAGEMENT","MANGO","MAP","MARKET","MARKETING","MARKETS","MARRIOTT","MARSHALLS","MATTEL","MBA","MC","MCKINSEY","MD","ME","MED","MEDIA","MEET","MELBOURNE","MEME","MEMORIAL","MEN","MENU","MERCKMSD","MG","MH","MIAMI","MICROSOFT","MIL","MINI","MINT","MIT","MITSUBISHI","MK","ML","MLB","MLS","MM","MMA","MN","MO","MOBI","MOBILE","MODA","MOE","MOI","MOM","MONASH","MONEY","MONSTER","MORMON","MORTGAGE","MOSCOW","MOTO","MOTORCYCLES","MOV","MOVIE","MP","MQ","MR","MS","MSD","MT","MTN","MTR","MU","MUSEUM","MUSIC","MV","MW","MX","MY","MZ","NA","NAB","NAGOYA","NAME","NATURA","NAVY","NBA","NC","NE","NEC","NET","NETBANK","NETFLIX","NETWORK","NEUSTAR","NEW","NEWS","NEXT","NEXTDIRECT","NEXUS","NF","NFL","NG","NGO","NHK","NI","NICO","NIKE","NIKON","NINJA","NISSAN","NISSAY","NL","NO","NOKIA","NORTON","NOW","NOWRUZ","NOWTV","NP","NR","NRA","NRW","NTT","NU","NYC","NZ","OBI","OBSERVER","OFFICE","OKINAWA","OLAYAN","OLAYANGROUP","OLLO","OM","OMEGA","ONE","ONG","ONL","ONLINE","OOO","OPEN","ORACLE","ORANGE","ORG","ORGANIC","ORIGINS","OSAKA","OTSUKA","OTT","OVH","PA","PAGE","PANASONIC","PARIS","PARS","PARTNERS","PARTS","PARTY","PAY","PCCW","PE","PET","PF","PFIZER","PG","PH","PHARMACY","PHD","PHILIPS","PHONE","PHOTO","PHOTOGRAPHY","PHOTOS","PHYSIO","PICS","PICTET","PICTURES","PID","PIN","PING","PINK","PIONEER","PIZZA","PK","PL","PLACE","PLAY","PLAYSTATION","PLUMBING","PLUS","PM","PN","PNC","POHL","POKER","POLITIE","PORN","POST","PR","PRAMERICA","PRAXI","PRESS","PRIME","PRO","PROD","PRODUCTIONS","PROF","PROGRESSIVE","PROMO","PROPERTIES","PROPERTY","PROTECTION","PRU","PRUDENTIAL","PS","PT","PUB","PW","PWC","PY","QA","QPON","QUEBEC","QUEST","RACING","RADIO","RE","READ","REALESTATE","REALTOR","REALTY","RECIPES","RED","REDSTONE","REDUMBRELLA","REHAB","REISE","REISEN","REIT","RELIANCE","REN","RENT","RENTALS","REPAIR","REPORT","REPUBLICAN","REST","RESTAURANT","REVIEW","REVIEWS","REXROTH","RICH","RICHARDLI","RICOH","RIL","RIO","RIP","RO","ROCKS","RODEO","ROGERS","ROOM","RS","RSVP","RU","RUGBY","RUHR","RUN","RW","RWE","RYUKYU","SA","SAARLAND","SAFE","SAFETY","SAKURA","SALE","SALON","SAMSCLUB","SAMSUNG","SANDVIK","SANDVIKCOROMANT","SANOFI","SAP","SARL","SAS","SAVE","SAXO","SB","SBI","SBS","SC","SCB","SCHAEFFLER","SCHMIDT","SCHOLARSHIPS","SCHOOL","SCHULE","SCHWARZ","SCIENCE","SCOT","SD","SE","SEARCH","SEAT","SECURE","SECURITY","SEEK","SELECT","SENER","SERVICES","SEVEN","SEW","SEX","SEXY","SFR","SG","SH","SHANGRILA","SHARP","SHAW","SHELL","SHIA","SHIKSHA","SHOES","SHOP","SHOPPING","SHOUJI","SHOW","SI","SILK","SINA","SINGLES","SITE","SJ","SK","SKI","SKIN","SKY","SKYPE","SL","SLING","SM","SMART","SMILE","SN","SNCF","SO","SOCCER","SOCIAL","SOFTBANK","SOFTWARE","SOHU","SOLAR","SOLUTIONS","SONG","SONY","SOY","SPA","SPACE","SPORT","SPOT","SR","SRL","SS","ST","STADA","STAPLES","STAR","STATEBANK","STATEFARM","STC","STCGROUP","STOCKHOLM","STORAGE","STORE","STREAM","STUDIO","STUDY","STYLE","SU","SUCKS","SUPPLIES","SUPPLY","SUPPORT","SURF","SURGERY","SUZUKI","SV","SWATCH","SWISS","SX","SY","SYDNEY","SYSTEMS","SZ","TAB","TAIPEI","TALK","TAOBAO","TARGET","TATAMOTORS","TATAR","TATTOO","TAX","TAXI","TC","TCI","TD","TDK","TEAM","TECH","TECHNOLOGY","TEL","TEMASEK","TENNIS","TEVA","TF","TG","TH","THD","THEATER","THEATRE","TIAA","TICKETS","TIENDA","TIPS","TIRES","TIROL","TJ","TJMAXX","TJX","TK","TKMAXX","TL","TM","TMALL","TN","TO","TODAY","TOKYO","TOOLS","TOP","TORAY","TOSHIBA","TOTAL","TOURS","TOWN","TOYOTA","TOYS","TR","TRADE","TRADING","TRAINING","TRAVEL","TRAVELERS","TRAVELERSINSURANCE","TRUST","TRV","TT","TUBE","TUI","TUNES","TUSHU","TV","TVS","TW","TZ","UA","UBANK","UBS","UG","UK","UNICOM","UNIVERSITY","UNO","UOL","UPS","US","UY","UZ","VA","VACATIONS","VANA","VANGUARD","VC","VE","VEGAS","VENTURES","VERISIGN","VERSICHERUNG","VET","VG","VI","VIAJES","VIDEO","VIG","VIKING","VILLAS","VIN","VIP","VIRGIN","VISA","VISION","VIVA","VIVO","VLAANDEREN","VN","VODKA","VOLVO","VOTE","VOTING","VOTO","VOYAGE","VU","WALES","WALMART","WALTER","WANG","WANGGOU","WATCH","WATCHES","WEATHER","WEATHERCHANNEL","WEBCAM","WEBER","WEBSITE","WED","WEDDING","WEIBO","WEIR","WF","WHOSWHO","WIEN","WIKI","WILLIAMHILL","WIN","WINDOWS","WINE","WINNERS","WME","WOLTERSKLUWER","WOODSIDE","WORK","WORKS","WORLD","WOW","WS","WTC","WTF","XBOX","XEROX","XFINITY","XIHUAN","XIN","XN--11B4C3D","XN--1CK2E1B","XN--1QQW23A","XN--2SCRJ9C","XN--30RR7Y","XN--3BST00M","XN--3DS443G","XN--3E0B707E","XN--3HCRJ9C","XN--3PXU8K","XN--42C2D9A","XN--45BR5CYL","XN--45BRJ9C","XN--45Q11C","XN--4DBRK0CE","XN--4GBRIM","XN--54B7FTA0CC","XN--55QW42G","XN--55QX5D","XN--5SU34J936BGSG","XN--5TZM5G","XN--6FRZ82G","XN--6QQ986B3XL","XN--80ADXHKS","XN--80AO21A","XN--80AQECDR1A","XN--80ASEHDB","XN--80ASWG","XN--8Y0A063A","XN--90A3AC","XN--90AE","XN--90AIS","XN--9DBQ2A","XN--9ET52U","XN--9KRT00A","XN--B4W605FERD","XN--BCK1B9A5DRE4C","XN--C1AVG","XN--C2BR7G","XN--CCK2B3B","XN--CCKWCXETD","XN--CG4BKI","XN--CLCHC0EA0B2G2A9GCD","XN--CZR694B","XN--CZRS0T","XN--CZRU2D","XN--D1ACJ3B","XN--D1ALF","XN--E1A4C","XN--ECKVDTC9D","XN--EFVY88H","XN--FCT429K","XN--FHBEI","XN--FIQ228C5HS","XN--FIQ64B","XN--FIQS8S","XN--FIQZ9S","XN--FJQ720A","XN--FLW351E","XN--FPCRJ9C3D","XN--FZC2C9E2C","XN--FZYS8D69UVGM","XN--G2XX48C","XN--GCKR3F0F","XN--GECRJ9C","XN--GK3AT1E","XN--H2BREG3EVE","XN--H2BRJ9C","XN--H2BRJ9C8C","XN--HXT814E","XN--I1B6B1A6A2E","XN--IMR513N","XN--IO0A7I","XN--J1AEF","XN--J1AMH","XN--J6W193G","XN--JLQ480N2RG","XN--JVR189M","XN--KCRX77D1X4A","XN--KPRW13D","XN--KPRY57D","XN--KPUT3I","XN--L1ACC","XN--LGBBAT1AD8J","XN--MGB9AWBF","XN--MGBA3A3EJT","XN--MGBA3A4F16A","XN--MGBA7C0BBN0A","XN--MGBAAM7A8H","XN--MGBAB2BD","XN--MGBAH1A3HJKRD","XN--MGBAI9AZGQP6J","XN--MGBAYH7GPA","XN--MGBBH1A","XN--MGBBH1A71E","XN--MGBC0A9AZCG","XN--MGBCA7DZDO","XN--MGBCPQ6GPA1A","XN--MGBERP4A5D4AR","XN--MGBGU82A","XN--MGBI4ECEXP","XN--MGBPL2FH","XN--MGBT3DHD","XN--MGBTX2B","XN--MGBX4CD0AB","XN--MIX891F","XN--MK1BU44C","XN--MXTQ1M","XN--NGBC5AZD","XN--NGBE9E0A","XN--NGBRX","XN--NODE","XN--NQV7F","XN--NQV7FS00EMA","XN--NYQY26A","XN--O3CW4H","XN--OGBPF8FL","XN--OTU796D","XN--P1ACF","XN--P1AI","XN--PGBS0DH","XN--PSSY2U","XN--Q7CE6A","XN--Q9JYB4C","XN--QCKA1PMC","XN--QXA6A","XN--QXAM","XN--RHQV96G","XN--ROVU88B","XN--RVC1E0AM3E","XN--S9BRJ9C","XN--SES554G","XN--T60B56A","XN--TCKWE","XN--TIQ49XQYJ","XN--UNUP4Y","XN--VERMGENSBERATER-CTB","XN--VERMGENSBERATUNG-PWB","XN--VHQUV","XN--VUQ861B","XN--W4R85EL8FHU5DNRA","XN--W4RS40L","XN--WGBH1C","XN--WGBL6A","XN--XHQ521B","XN--XKC2AL3HYE2A","XN--XKC2DL3A5EE0H","XN--Y9A3AQ","XN--YFRO4I67O","XN--YGBI2AMMX","XN--ZFR164B","XXX","XYZ","YACHTS","YAHOO","YAMAXUN","YANDEX","YE","YODOBASHI","YOGA","YOKOHAMA","YOU","YOUTUBE","YT","YUN","ZA","ZAPPOS","ZARA","ZERO","ZIP","ZM","ZONE","ZUERICH","ZW"]};var vs,bs,ys,xs,_s,ws,Os,As,Rs=new Set(gs.tlds.map(e=>e.toLowerCase()));function ks(){if(bs)return vs;bs=1;const e=Ka,t=ns,n=as,i=cs,a=us,r=Rs,o=ls,s=So(),c=$r(),l={tlds:r instanceof Set&&{tlds:{allow:r,deny:null}},base64Regex:{true:{true:/^(?:[\w\-]{2}[\w\-]{2})*(?:[\w\-]{2}==|[\w\-]{3}=)?$/,false:/^(?:[A-Za-z0-9+\/]{2}[A-Za-z0-9+\/]{2})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/},false:{true:/^(?:[\w\-]{2}[\w\-]{2})*(?:[\w\-]{2}(==)?|[\w\-]{3}=?)?$/,false:/^(?:[A-Za-z0-9+\/]{2}[A-Za-z0-9+\/]{2})*(?:[A-Za-z0-9+\/]{2}(==)?|[A-Za-z0-9+\/]{3}=?)?$/}},dataUriRegex:/^data:[\w+.-]+\/[\w+.-]+;((charset=[\w-]+|base64),)?(.*)$/,hexRegex:{withPrefix:/^0x[0-9a-f]+$/i,withOptionalPrefix:/^(?:0x)?[0-9a-f]+$/i,withoutPrefix:/^[0-9a-f]+$/i},ipRegex:i.regex({cidr:"forbidden"}).regex,isoDurationRegex:/^P(?!$)(\d+Y)?(\d+M)?(\d+W)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+S)?)?$/,guidBrackets:{"{":"}","[":"]","(":")","":""},guidVersions:{uuidv1:"1",uuidv2:"2",uuidv3:"3",uuidv4:"4",uuidv5:"5",uuidv6:"6",uuidv7:"7",uuidv8:"8"},guidSeparators:new Set([void 0,!0,!1,"-",":"]),normalizationForms:["NFC","NFD","NFKC","NFKD"]};return vs=s.extend({type:"string",flags:{insensitive:{default:!1},truncate:{default:!1}},terms:{replacements:{init:null}},coerce:{from:"string",method(e,{schema:t,state:n,prefs:i}){const a=t.$_getRule("normalize");a&&(e=e.normalize(a.args.form));const r=t.$_getRule("case");r&&(e="upper"===r.args.direction?e.toLocaleUpperCase():e.toLocaleLowerCase());const o=t.$_getRule("trim");if(o&&o.args.enabled&&(e=e.trim()),t.$_terms.replacements)for(const n of t.$_terms.replacements)e=e.replace(n.pattern,n.replacement);const s=t.$_getRule("hex");if(s&&s.args.options.byteAligned&&e.length%2!=0&&(e=`0${e}`),t.$_getRule("isoDate")){const t=l.isoDate(e);t&&(e=t)}if(t._flags.truncate){const a=t.$_getRule("max");if(a){let r=a.args.limit;if(c.isResolvable(r)&&(r=r.resolve(e,n,i),!c.limit(r)))return{value:e,errors:t.$_createError("any.ref",r,{ref:a.args.limit,arg:"limit",reason:"must be a positive integer"},n,i)};e=e.slice(0,r)}}return{value:e}}},validate(e,{schema:t,error:n}){if("string"!=typeof e)return{value:e,errors:n("string.base")};if(""===e){const i=t.$_getRule("min");if(i&&0===i.args.limit)return;return{value:e,errors:n("string.empty")}}},rules:{alphanum:{method(){return this.$_addRule("alphanum")},validate:(e,t)=>/^[a-zA-Z0-9]+$/.test(e)?e:t.error("string.alphanum")},base64:{method(t={}){return c.assertOptions(t,["paddingRequired","urlSafe"]),t={urlSafe:!1,paddingRequired:!0,...t},e("boolean"==typeof t.paddingRequired,"paddingRequired must be boolean"),e("boolean"==typeof t.urlSafe,"urlSafe must be boolean"),this.$_addRule({name:"base64",args:{options:t}})},validate:(e,t,{options:n})=>l.base64Regex[n.paddingRequired][n.urlSafe].test(e)?e:t.error("string.base64")},case:{method(t){return e(["lower","upper"].includes(t),"Invalid case:",t),this.$_addRule({name:"case",args:{direction:t}})},validate:(e,t,{direction:n})=>"lower"===n&&e===e.toLocaleLowerCase()||"upper"===n&&e===e.toLocaleUpperCase()?e:t.error(`string.${n}case`),convert:!0},creditCard:{method(){return this.$_addRule("creditCard")},validate(e,t){let n=e.length,i=0,a=1;for(;n--;){const t=e.charAt(n)*a;i+=t-9*(t>9),a^=3}return i>0&&i%10==0?e:t.error("string.creditCard")}},dataUri:{method(t={}){return c.assertOptions(t,["paddingRequired"]),t={paddingRequired:!0,...t},e("boolean"==typeof t.paddingRequired,"paddingRequired must be boolean"),this.$_addRule({name:"dataUri",args:{options:t}})},validate(e,t,{options:n}){const i=e.match(l.dataUriRegex);if(i){if(!i[2])return e;if("base64"!==i[2])return e;if(l.base64Regex[n.paddingRequired].false.test(i[3]))return e}return t.error("string.dataUri")}},domain:{method(e){e&&c.assertOptions(e,["allowFullyQualified","allowUnicode","maxDomainSegments","minDomainSegments","tlds"]);const t=l.addressOptions(e);return this.$_addRule({name:"domain",args:{options:e},address:t})},validate:(e,n,i,{address:a})=>t.isValid(e,a)?e:n.error("string.domain")},email:{method(t={}){c.assertOptions(t,["allowFullyQualified","allowUnicode","ignoreLength","maxDomainSegments","minDomainSegments","multiple","separator","tlds"]),e(void 0===t.multiple||"boolean"==typeof t.multiple,"multiple option must be an boolean");const n=l.addressOptions(t),i=new RegExp(`\\s*[${t.separator?a(t.separator):","}]\\s*`);return this.$_addRule({name:"email",args:{options:t},regex:i,address:n})},validate(e,t,{options:i},{regex:a,address:r}){const o=i.multiple?e.split(a):[e],s=[];for(const e of o)n.isValid(e,r)||s.push(e);return s.length?t.error("string.email",{value:e,invalids:s}):e}},guid:{alias:"uuid",method(t={}){c.assertOptions(t,["version","separator"]);let n="";if(t.version){const i=[].concat(t.version);e(i.length>=1,"version must have at least 1 valid version specified");const a=new Set;for(let t=0;t<i.length;++t){const r=i[t];e("string"==typeof r,"version at position "+t+" must be a string");const o=l.guidVersions[r.toLowerCase()];e(o,"version at position "+t+" must be one of "+Object.keys(l.guidVersions).join(", ")),e(!a.has(o),"version at position "+t+" must not be a duplicate"),n+=o,a.add(o)}}e(l.guidSeparators.has(t.separator),'separator must be one of true, false, "-", or ":"');const i=void 0===t.separator?"[:-]?":!0===t.separator?"[:-]":!1===t.separator?"[]?":`\\${t.separator}`,a=new RegExp(`^([\\[{\\(]?)[0-9A-F]{8}(${i})[0-9A-F]{4}\\2?[${n||"0-9A-F"}][0-9A-F]{3}\\2?[${n?"89AB":"0-9A-F"}][0-9A-F]{3}\\2?[0-9A-F]{12}([\\]}\\)]?)$`,"i");return this.$_addRule({name:"guid",args:{options:t},regex:a})},validate(e,t,n,{regex:i}){const a=i.exec(e);return a?l.guidBrackets[a[1]]!==a[a.length-1]?t.error("string.guid"):e:t.error("string.guid")}},hex:{method(t={}){return c.assertOptions(t,["byteAligned","prefix"]),t={byteAligned:!1,prefix:!1,...t},e("boolean"==typeof t.byteAligned,"byteAligned must be boolean"),e("boolean"==typeof t.prefix||"optional"===t.prefix,'prefix must be boolean or "optional"'),this.$_addRule({name:"hex",args:{options:t}})},validate:(e,t,{options:n})=>("optional"===n.prefix?l.hexRegex.withOptionalPrefix:!0===n.prefix?l.hexRegex.withPrefix:l.hexRegex.withoutPrefix).test(e)?n.byteAligned&&e.length%2!=0?t.error("string.hexAlign"):e:t.error("string.hex")},hostname:{method(){return this.$_addRule("hostname")},validate:(e,n)=>t.isValid(e,{minDomainSegments:1})||l.ipRegex.test(e)?e:n.error("string.hostname")},insensitive:{method(){return this.$_setFlag("insensitive",!0)}},ip:{method(e={}){c.assertOptions(e,["cidr","version"]);const{cidr:t,versions:n,regex:a}=i.regex(e),r=e.version?n:void 0;return this.$_addRule({name:"ip",args:{options:{cidr:t,version:r}},regex:a})},validate:(e,t,{options:n},{regex:i})=>i.test(e)?e:n.version?t.error("string.ipVersion",{value:e,cidr:n.cidr,version:n.version}):t.error("string.ip",{value:e,cidr:n.cidr})},isoDate:{method(){return this.$_addRule("isoDate")},validate:(e,{error:t})=>l.isoDate(e)?e:t("string.isoDate")},isoDuration:{method(){return this.$_addRule("isoDuration")},validate:(e,t)=>l.isoDurationRegex.test(e)?e:t.error("string.isoDuration")},length:{method(e,t){return l.length(this,"length",e,"=",t)},validate(e,t,{limit:n,encoding:i},{name:a,operator:r,args:o}){const s=i?Buffer&&Buffer.byteLength(e,i):e.length;return c.compare(s,n,r)?e:t.error("string."+a,{limit:o.limit,value:e,encoding:i})},args:[{name:"limit",ref:!0,assert:c.limit,message:"must be a positive integer"},"encoding"]},lowercase:{method(){return this.case("lower")}},max:{method(e,t){return l.length(this,"max",e,"<=",t)},args:["limit","encoding"]},min:{method(e,t){return l.length(this,"min",e,">=",t)},args:["limit","encoding"]},normalize:{method(t="NFC"){return e(l.normalizationForms.includes(t),"normalization form must be one of "+l.normalizationForms.join(", ")),this.$_addRule({name:"normalize",args:{form:t}})},validate:(e,{error:t},{form:n})=>e===e.normalize(n)?e:t("string.normalize",{value:e,form:n}),convert:!0},pattern:{alias:"regex",method(t,n={}){e(t instanceof RegExp,"regex must be a RegExp"),e(!t.flags.includes("g")&&!t.flags.includes("y"),"regex should not use global or sticky mode"),"string"==typeof n&&(n={name:n}),c.assertOptions(n,["invert","name"]);const i=["string.pattern",n.invert?".invert":"",n.name?".name":".base"].join("");return this.$_addRule({name:"pattern",args:{regex:t,options:n},errorCode:i})},validate:(e,t,{regex:n,options:i},{errorCode:a})=>n.test(e)^i.invert?e:t.error(a,{name:i.name,regex:n,value:e}),args:["regex","options"],multi:!0},replace:{method(t,n){"string"==typeof t&&(t=new RegExp(a(t),"g")),e(t instanceof RegExp,"pattern must be a RegExp"),e("string"==typeof n,"replacement must be a String");const i=this.clone();return i.$_terms.replacements||(i.$_terms.replacements=[]),i.$_terms.replacements.push({pattern:t,replacement:n}),i}},token:{method(){return this.$_addRule("token")},validate:(e,t)=>/^\w+$/.test(e)?e:t.error("string.token")},trim:{method(t=!0){return e("boolean"==typeof t,"enabled must be a boolean"),this.$_addRule({name:"trim",args:{enabled:t}})},validate:(e,t,{enabled:n})=>n&&e!==e.trim()?t.error("string.trim"):e,convert:!0},truncate:{method(t=!0){return e("boolean"==typeof t,"enabled must be a boolean"),this.$_setFlag("truncate",t)}},uppercase:{method(){return this.case("upper")}},uri:{method(e={}){c.assertOptions(e,["allowRelative","allowQuerySquareBrackets","domain","relativeOnly","scheme","encodeUri"]),e.domain&&c.assertOptions(e.domain,["allowFullyQualified","allowUnicode","maxDomainSegments","minDomainSegments","tlds"]);const{regex:t,scheme:n}=o.regex(e),i=e.domain?l.addressOptions(e.domain):null;return this.$_addRule({name:"uri",args:{options:e},regex:t,domain:i,scheme:n})},validate(e,n,{options:i},{regex:a,domain:r,scheme:o}){if(["http:/","https:/"].includes(e))return n.error("string.uri");let s=a.exec(e);if(!s&&n.prefs.convert&&i.encodeUri){const t=encodeURI(e);s=a.exec(t),s&&(e=t)}if(s){const a=s[1]||s[2];return!r||i.allowRelative&&!a||t.isValid(a,r)?e:n.error("string.domain",{value:a})}return i.relativeOnly?n.error("string.uriRelativeOnly"):i.scheme?n.error("string.uriCustomScheme",{scheme:o,value:e}):n.error("string.uri")}}},manifest:{build(e,t){if(t.replacements)for(const{pattern:n,replacement:i}of t.replacements)e=e.replace(n,i);return e}},messages:{"string.alphanum":"{{#label}} must only contain alpha-numeric characters","string.base":"{{#label}} must be a string","string.base64":"{{#label}} must be a valid base64 string","string.creditCard":"{{#label}} must be a credit card","string.dataUri":"{{#label}} must be a valid dataUri string","string.domain":"{{#label}} must contain a valid domain name","string.email":"{{#label}} must be a valid email","string.empty":"{{#label}} is not allowed to be empty","string.guid":"{{#label}} must be a valid GUID","string.hex":"{{#label}} must only contain hexadecimal characters","string.hexAlign":"{{#label}} hex decoded representation must be byte aligned","string.hostname":"{{#label}} must be a valid hostname","string.ip":"{{#label}} must be a valid ip address with a {{#cidr}} CIDR","string.ipVersion":"{{#label}} must be a valid ip address of one of the following versions {{#version}} with a {{#cidr}} CIDR","string.isoDate":"{{#label}} must be in iso format","string.isoDuration":"{{#label}} must be a valid ISO 8601 duration","string.length":"{{#label}} length must be {{#limit}} characters long","string.lowercase":"{{#label}} must only contain lowercase characters","string.max":"{{#label}} length must be less than or equal to {{#limit}} characters long","string.min":"{{#label}} length must be at least {{#limit}} characters long","string.normalize":"{{#label}} must be unicode normalized in the {{#form}} form","string.token":"{{#label}} must only contain alpha-numeric and underscore characters","string.pattern.base":"{{#label}} with value {:[.]} fails to match the required pattern: {{#regex}}","string.pattern.name":"{{#label}} with value {:[.]} fails to match the {{#name}} pattern","string.pattern.invert.base":"{{#label}} with value {:[.]} matches the inverted pattern: {{#regex}}","string.pattern.invert.name":"{{#label}} with value {:[.]} matches the inverted {{#name}} pattern","string.trim":"{{#label}} must not have leading or trailing whitespace","string.uri":"{{#label}} must be a valid uri","string.uriCustomScheme":"{{#label}} must be a valid uri with a scheme matching the {{#scheme}} pattern","string.uriRelativeOnly":"{{#label}} must be a valid relative uri","string.uppercase":"{{#label}} must only contain uppercase characters"}}),l.addressOptions=function(t){if(!t)return l.tlds||t;if(e(void 0===t.minDomainSegments||Number.isSafeInteger(t.minDomainSegments)&&t.minDomainSegments>0,"minDomainSegments must be a positive integer"),e(void 0===t.maxDomainSegments||Number.isSafeInteger(t.maxDomainSegments)&&t.maxDomainSegments>0,"maxDomainSegments must be a positive integer"),!1===t.tlds)return t;if(!0===t.tlds||void 0===t.tlds)return e(l.tlds,"Built-in TLD list disabled"),Object.assign({},t,l.tlds);e("object"==typeof t.tlds,"tlds must be true, false, or an object");const n=t.tlds.deny;if(n)return Array.isArray(n)&&(t=Object.assign({},t,{tlds:{deny:new Set(n)}})),e(t.tlds.deny instanceof Set,"tlds.deny must be an array, Set, or boolean"),e(!t.tlds.allow,"Cannot specify both tlds.allow and tlds.deny lists"),l.validateTlds(t.tlds.deny,"tlds.deny"),t;const i=t.tlds.allow;return i?!0===i?(e(l.tlds,"Built-in TLD list disabled"),Object.assign({},t,l.tlds)):(Array.isArray(i)&&(t=Object.assign({},t,{tlds:{allow:new Set(i)}})),e(t.tlds.allow instanceof Set,"tlds.allow must be an array, Set, or boolean"),l.validateTlds(t.tlds.allow,"tlds.allow"),t):t},l.validateTlds=function(n,i){for(const a of n)e(t.isValid(a,{minDomainSegments:1,maxDomainSegments:1}),`${i} must contain valid top level domain names`)},l.isoDate=function(e){if(!c.isIsoDate(e))return null;/.*T.*[+-]\d\d$/.test(e)&&(e+="00");const t=new Date(e);return isNaN(t.getTime())?null:t.toISOString()},l.length=function(t,n,i,a,r){return e(!r||Buffer&&Buffer.isEncoding(r),"Invalid encoding:",r),t.$_addRule({name:n,method:"length",args:{limit:i,encoding:r},operator:a})},vs}function Ss(){if(xs)return ys;xs=1;const e=Ka,t=So(),n={};return n.Map=class extends Map{slice(){return new n.Map(this)}},ys=t.extend({type:"symbol",terms:{map:{init:new n.Map}},coerce:{method(e,{schema:t,error:n}){const i=t.$_terms.map.get(e);return i&&(e=i),t._flags.only&&"symbol"!=typeof e?{value:e,errors:n("symbol.map",{map:t.$_terms.map})}:{value:e}}},validate(e,{error:t}){if("symbol"!=typeof e)return{value:e,errors:t("symbol.base")}},rules:{map:{method(t){t&&!t[Symbol.iterator]&&"object"==typeof t&&(t=Object.entries(t)),e(t&&t[Symbol.iterator],"Iterable must be an iterable or object");const n=this.clone(),i=[];for(const a of t){e(a&&a[Symbol.iterator],"Entry must be an iterable");const[t,r]=a;e("object"!=typeof t&&"function"!=typeof t&&"symbol"!=typeof t,"Key must not be of type object, function, or Symbol"),e("symbol"==typeof r,"Value must be a Symbol"),n.$_terms.map.set(t,r),i.push(r)}return n.valid(...i)}}},manifest:{build:(e,t)=>(t.map&&(e=e.map(t.map)),e)},messages:{"symbol.base":"{{#label}} must be a symbol","symbol.map":"{{#label}} must be one of {{#map}}"}}),ys}function Es(){if(As)return Os;As=1;const e=Ka,t=or,n=Fr(),i=$r(),a=Pr(),r=Or(),o=Br(),s=qr(),c=Tr(),l=Cr(),u=Xr();let p;const d={types:{alternatives:Eo(),any:So(),array:jo(),boolean:To(),date:Co(),function:Jo(),link:Qo(),number:es(),object:ts(),string:ks(),symbol:Ss()},aliases:{alt:"alternatives",bool:"boolean",func:"function"}};return Buffer&&(d.types.binary=function(){if(ws)return _s;ws=1;const e=Ka,t=So(),n=$r();return _s=t.extend({type:"binary",coerce:{from:["string","object"],method(e,{schema:t}){if("string"==typeof e||null!==e&&"Buffer"===e.type)try{return{value:Buffer.from(e,t._flags.encoding)}}catch(e){}}},validate(e,{error:t}){if(!Buffer.isBuffer(e))return{value:e,errors:t("binary.base")}},rules:{encoding:{method(t){return e(Buffer.isEncoding(t),"Invalid encoding:",t),this.$_setFlag("encoding",t)}},length:{method(e){return this.$_addRule({name:"length",method:"length",args:{limit:e},operator:"="})},validate:(e,t,{limit:i},{name:a,operator:r,args:o})=>n.compare(e.length,i,r)?e:t.error("binary."+a,{limit:o.limit,value:e}),args:[{name:"limit",ref:!0,assert:n.limit,message:"must be a positive integer"}]},max:{method(e){return this.$_addRule({name:"max",method:"length",args:{limit:e},operator:"<="})}},min:{method(e){return this.$_addRule({name:"min",method:"length",args:{limit:e},operator:">="})}}},cast:{string:{from:e=>Buffer.isBuffer(e),to:(e,t)=>e.toString()}},messages:{"binary.base":"{{#label}} must be a buffer or a string","binary.length":"{{#label}} must be {{#limit}} bytes","binary.max":"{{#label}} must be less than or equal to {{#limit}} bytes","binary.min":"{{#label}} must be at least {{#limit}} bytes"}}),_s}()),d.root=function(){const t={_types:new Set(Object.keys(d.types))};for(const n of t._types)t[n]=function(...t){return e(!t.length||["alternatives","link","object"].includes(n),"The",n,"type does not allow arguments"),d.generate(this,d.types[n],t)};for(const e of["allow","custom","disallow","equal","exist","forbidden","invalid","not","only","optional","options","prefs","preferences","required","strip","valid","when"])t[e]=function(...t){return this.any()[e](...t)};Object.assign(t,d.methods);for(const e in d.aliases){const n=d.aliases[e];t[e]=t[n]}return t.x=t.expression,u.setup&&u.setup(t),t},d.methods={ValidationError:r.ValidationError,version:i.version,cache:n.provider,assert(e,t,...n){d.assert(e,t,!0,n)},attempt:(e,t,...n)=>d.assert(e,t,!1,n),build(t){return e("function"==typeof s.build,"Manifest functionality disabled"),s.build(this,t)},checkPreferences(e){i.checkPreferences(e)},compile(e,t){return a.compile(this,e,t)},defaults(t){e("function"==typeof t,"modifier must be a function");const n=Object.assign({},this);for(const a of n._types){const r=t(n[a]());e(i.isSchema(r),"modifier must return a valid schema object"),n[a]=function(...e){return d.generate(this,r,e)}}return n},expression:(...e)=>new l(...e),extend(...t){i.verifyFlat(t,"extend"),p=p||dr(),e(t.length,"You need to provide at least one extension"),this.assert(t,p.extensions);const n=Object.assign({},this);n._types=new Set(n._types);for(let i of t){"function"==typeof i&&(i=i(n)),this.assert(i,p.extension);const t=d.expandExtension(i,n);for(const i of t){e(void 0===n[i.type]||n._types.has(i.type),"Cannot override name",i.type);const t=i.base||this.any(),a=o.type(t,i);n._types.add(i.type),n[i.type]=function(...e){return d.generate(this,a,e)}}}return n},isError:r.ValidationError.isError,isExpression:l.isTemplate,isRef:c.isRef,isSchema:i.isSchema,in:(...e)=>c.in(...e),override:i.symbols.override,ref:(...e)=>c.create(...e),types(){const e={};for(const t of this._types)e[t]=this[t]();for(const t in d.aliases)e[t]=this[t]();return e}},d.assert=function(e,n,a,o){const s=o[0]instanceof Error||"string"==typeof o[0]?o[0]:null,c=null!==s?o[1]:o[0],l=n.validate(e,i.preferences({errors:{stack:!0}},c||{}));let u=l.error;if(!u)return l.value;if(s instanceof Error)throw s;const p=a&&"function"==typeof u.annotate?u.annotate():u.message;throw u instanceof r.ValidationError==!1&&(u=t(u)),u.message=s?`${s} ${p}`:p,u},d.generate=function(t,n,i){return e(t,"Must be invoked on a Joi instance."),n.$_root=t,n._definition.args&&i.length?n._definition.args(n,...i):n},d.expandExtension=function(e,t){if("string"==typeof e.type)return[e];const n=[];for(const i of t._types)if(e.type.test(i)){const a=Object.assign({},e);a.type=i,a.base=t[i](),n.push(a)}return n},Os=d.root()}var js=h(Es()),Ts={table:"directus_collections",defaults:{collection:null,hidden:!1,singleton:!1,icon:null,note:null,translations:null,display_template:null,accountability:"all"},data:[{collection:"directus_access",icon:"admin_panel_settings",note:"$t:directus_collection.directus_access",display_template:"{{ policy.name }}",sort_field:"sort"},{collection:"directus_activity",note:"$t:directus_collection.directus_activity",accountability:null},{collection:"directus_collections",icon:"database",note:"$t:directus_collection.directus_collections"},{collection:"directus_comments",note:"$t:directus_collection.directus_comments"},{collection:"directus_fields",icon:"input",note:"$t:directus_collection.directus_fields"},{collection:"directus_files",icon:"folder",note:"$t:directus_collection.directus_files",display_template:"{{ $thumbnail }} {{ title }}"},{collection:"directus_folders",note:"$t:directus_collection.directus_folders",display_template:"{{ name }}"},{collection:"directus_migrations",note:"$t:directus_collection.directus_migrations"},{collection:"directus_permissions",icon:"admin_panel_settings",note:"$t:directus_collection.directus_permissions"},{collection:"directus_policies",icon:"admin_panel_settings",note:"$t:directus_collection.directus_policies"},{collection:"directus_presets",icon:"bookmark",note:"$t:directus_collection.directus_presets",accountability:null},{collection:"directus_relations",icon:"merge_type",note:"$t:directus_collection.directus_relations"},{collection:"directus_revisions",note:"$t:directus_collection.directus_revisions",accountability:null},{collection:"directus_roles",icon:"supervised_user_circle",note:"$t:directus_collection.directus_roles"},{collection:"directus_sessions",note:"$t:directus_collection.directus_sessions"},{collection:"directus_settings",singleton:!0,note:"$t:directus_collection.directus_settings"},{collection:"directus_users",archive_field:"status",archive_value:"archived",unarchive_value:"draft",icon:"people_alt",note:"$t:directus_collection.directus_users",display_template:"{{ first_name }} {{ last_name }}"},{collection:"directus_webhooks",note:"$t:directus_collection.directus_webhooks"},{collection:"directus_dashboards",note:"$t:directus_collection.directus_dashboards"},{collection:"directus_panels",note:"$t:directus_collection.directus_panels"},{collection:"directus_notifications",note:"$t:directus_collection.directus_notifications"},{collection:"directus_shares",icon:"share",note:"$t:directus_collection.directus_shares"},{collection:"directus_flows",note:"$t:directus_collection.directus_flows"},{collection:"directus_operations",note:"$t:directus_collection.directus_operations"},{collection:"directus_translations",note:"$t:directus_collection.directus_translations"},{collection:"directus_versions",note:"$t:directus_collection.directus_versions"},{collection:"directus_extensions",note:"$t:directus_collection.directus_extensions"}]};Ts.data.map(e=>({...Ts.defaults,...e,system:!0}));var Cs=Ts.data.map(e=>e.collection);var Ns={table:"directus_relations",defaults:{many_collection:"directus_users",many_field:null,one_collection:null,one_field:null,one_allowed_collections:null,one_collection_field:null,one_deselect_action:"nullify",junction_field:null,sort_field:null},data:[{many_collection:"directus_collections",many_field:"group",one_collection:"directus_collections"},{many_collection:"directus_comments",many_field:"collection",one_collection:"directus_collections"},{many_collection:"directus_comments",many_field:"user_created",one_collection:"directus_users"},{many_collection:"directus_comments",many_field:"user_updated",one_collection:"directus_users"},{many_collection:"directus_users",many_field:"role",one_collection:"directus_roles",one_field:"users"},{many_collection:"directus_users",many_field:"avatar",one_collection:"directus_files"},{many_collection:"directus_revisions",many_field:"activity",one_collection:"directus_activity",one_field:"revisions"},{many_collection:"directus_revisions",many_field:"parent",one_collection:"directus_revisions"},{many_collection:"directus_revisions",many_field:"version",one_collection:"directus_versions"},{many_collection:"directus_presets",many_field:"user",one_collection:"directus_users"},{many_collection:"directus_presets",many_field:"role",one_collection:"directus_roles"},{many_collection:"directus_folders",many_field:"parent",one_collection:"directus_folders"},{many_collection:"directus_files",many_field:"folder",one_collection:"directus_folders"},{many_collection:"directus_files",many_field:"uploaded_by",one_collection:"directus_users"},{many_collection:"directus_files",many_field:"modified_by",one_collection:"directus_users"},{many_collection:"directus_fields",many_field:"collection",one_collection:"directus_collections",one_field:"fields"},{many_collection:"directus_fields",many_field:"group",one_collection:"directus_fields"},{many_collection:"directus_activity",many_field:"user",one_collection:"directus_users"},{many_collection:"directus_settings",many_field:"project_logo",one_collection:"directus_files"},{many_collection:"directus_settings",many_field:"public_foreground",one_collection:"directus_files"},{many_collection:"directus_settings",many_field:"public_background",one_collection:"directus_files"},{many_collection:"directus_settings",many_field:"public_favicon",one_collection:"directus_files"},{many_collection:"directus_settings",many_field:"storage_default_folder",one_collection:"directus_folders"},{many_collection:"directus_settings",many_field:"public_registration_role",one_collection:"directus_roles"},{many_collection:"directus_panels",many_field:"dashboard",one_collection:"directus_dashboards",one_field:"panels"},{many_collection:"directus_panels",many_field:"user_created",one_collection:"directus_users"},{many_collection:"directus_flows",many_field:"operation",one_collection:"directus_operations"},{many_collection:"directus_flows",many_field:"user_created",one_collection:"directus_users"},{many_collection:"directus_operations",many_field:"flow",one_collection:"directus_flows",one_field:"operations",one_deselect_action:"delete"},{many_collection:"directus_operations",many_field:"resolve",one_collection:"directus_operations"},{many_collection:"directus_operations",many_field:"reject",one_collection:"directus_operations"},{many_collection:"directus_operations",many_field:"user_created",one_collection:"directus_users"},{many_collection:"directus_sessions",many_field:"user",one_collection:"directus_users"},{many_collection:"directus_sessions",many_field:"share",one_collection:"directus_shares"},{many_collection:"directus_dashboards",many_field:"user_created",one_collection:"directus_users"},{many_collection:"directus_notifications",many_field:"recipient",one_collection:"directus_users"},{many_collection:"directus_notifications",many_field:"sender",one_collection:"directus_users"},{many_collection:"directus_shares",many_field:"role",one_collection:"directus_roles"},{many_collection:"directus_shares",many_field:"collection",one_collection:"directus_collections"},{many_collection:"directus_shares",many_field:"user_created",one_collection:"directus_users"},{many_collection:"directus_versions",many_field:"collection",one_collection:"directus_collections"},{many_collection:"directus_versions",many_field:"user_created",one_collection:"directus_users"},{many_collection:"directus_versions",many_field:"user_updated",one_collection:"directus_users"},{many_collection:"directus_permissions",many_field:"policy",one_collection:"directus_policies",one_field:"permissions",one_deselect_action:"delete"},{many_collection:"directus_access",many_field:"policy",one_collection:"directus_policies",one_field:"roles",one_deselect_action:"delete",junction_field:"role"},{many_collection:"directus_access",many_field:"policy",one_collection:"directus_policies",one_field:"users",one_deselect_action:"delete",junction_field:"user"},{many_collection:"directus_access",many_field:"role",one_collection:"directus_roles",one_field:"policies",one_deselect_action:"delete",junction_field:"policy",sort_field:"sort"},{many_collection:"directus_access",many_field:"user",one_collection:"directus_users",one_field:"policies",one_deselect_action:"delete",junction_field:"policy",sort_field:"sort"},{many_collection:"directus_roles",many_field:"parent",one_collection:"directus_roles",one_field:"children"},{many_collection:"directus_webhooks",many_field:"migrated_flow",one_collection:"directus_flows"}]};Ns.data.map(e=>({...Ns.defaults,...e,system:!0}));var $s={collection:null,field:null,special:null,interface:null,options:null,display:null,display_options:null,readonly:!1,hidden:!1,sort:null,width:"full",group:null,translations:null,note:null,conditions:null,required:!1},Fs={table:"directus_settings",fields:[{field:"id",hidden:!0},{field:"project_name",interface:"input",options:{iconRight:"title",placeholder:"$t:field_options.directus_settings.project_name_placeholder"},width:"half"},{field:"project_descriptor",interface:"input",options:{iconRight:"title",placeholder:"$t:field_options.directus_settings.project_name_placeholder"},width:"half"},{field:"project_url",interface:"input",options:{iconRight:"link",placeholder:"https://example.com"},width:"half"},{field:"default_language",interface:"system-language",options:{iconRight:"language",placeholder:"en-US"},width:"half"},{field:"theming_group",interface:"group-raw",special:["alias","no-data","group"]},{field:"branding_divider",interface:"presentation-divider",options:{icon:"palette",title:"$t:fields.directus_settings.branding"},special:["alias","no-data"],width:"full",group:"theming_group"},{field:"project_color",interface:"select-color",note:"$t:field_options.directus_settings.project_color_note",width:"half",group:"theming_group"},{field:"project_logo",interface:"file",note:"$t:field_options.directus_settings.project_logo_note",width:"half",group:"theming_group"},{field:"public_foreground",interface:"file",width:"half",group:"theming_group"},{field:"public_background",interface:"file",width:"half",group:"theming_group"},{field:"public_favicon",interface:"file",note:"$t:field_options.directus_settings.project_favicon_note",width:"half",group:"theming_group"},{field:"public_note",interface:"input",options:{placeholder:"$t:field_options.directus_settings.public_note_placeholder",iconRight:"info"},width:"half",group:"theming_group"},{field:"theming_divider",interface:"presentation-divider",options:{icon:"palette",title:"$t:fields.directus_settings.theming"},special:["alias","no-data"],width:"full",group:"theming_group"},{field:"default_appearance",interface:"select-dropdown",width:"half",options:{choices:[{value:"auto",text:"$t:appearance_auto"},{value:"light",text:"$t:appearance_light"},{value:"dark",text:"$t:appearance_dark"}]},group:"theming_group"},{field:"default_theme_light",width:"full",interface:"system-theme",options:{appearance:"light"},group:"theming_group"},{field:"theme_light_overrides",width:"full",interface:"system-theme-overrides",options:{appearance:"light"},group:"theming_group",special:["cast-json"]},{field:"default_theme_dark",width:"full",interface:"system-theme",options:{appearance:"dark"},group:"theming_group"},{field:"theme_dark_overrides",width:"full",interface:"system-theme-overrides",options:{appearance:"dark"},group:"theming_group",special:["cast-json"]},{field:"custom_css",interface:"input-code",options:{language:"css",lineNumber:!0,template:"#app, #main-content, body {\n --v-button-background-color: #6644FF !important;\n --v-button-background-color-hover: #5E41EC !important;\n}\n"},width:"full",group:"theming_group"},{field:"modules_divider",interface:"presentation-divider",options:{icon:"menu_open",title:"$t:modules"},special:["alias","no-data"],width:"full"},{field:"module_bar",interface:"system-modules",special:["cast-json"]},{field:"security_divider",interface:"presentation-divider",options:{icon:"shield",title:"$t:security"},special:["alias","no-data"],width:"full"},{field:"auth_password_policy",interface:"select-dropdown",options:{choices:[{value:null,text:"$t:field_options.directus_settings.auth_password_policy.none_text"},{value:"/^.{8,}$/",text:"$t:field_options.directus_settings.auth_password_policy.weak_text"},{value:"/(?=^.{8,}$)(?=.*\\d)(?=.*[a-z])(?=.*[A-Z])(?=.*[!@#$%^&*()_+}{';'?>.<,])(?!.*\\s).*$/",text:"$t:field_options.directus_settings.auth_password_policy.strong_text"}],allowOther:!0},width:"half"},{field:"auth_login_attempts",interface:"input",options:{iconRight:"lock",placeholder:"$t:unlimited"},width:"half"},{field:"public_registration_divider",interface:"presentation-divider",options:{icon:"person_add",title:"$t:fields.directus_settings.public_registration"},special:["alias","no-data"],width:"full"},{field:"public_registration",interface:"boolean",note:"$t:fields.directus_settings.public_registration_note",width:"half",options:{label:"$t:enabled"},special:["cast-boolean"]},{field:"public_registration_role",interface:"select-dropdown-m2o",note:"$t:fields.directus_settings.public_registration_role_note",options:{template:"{{ name }}"},special:["m2o"],width:"half",display:"related-values",display_options:{template:"{{ name }}"}},{field:"public_registration_verify_email",interface:"boolean",note:"$t:fields.directus_settings.public_registration_verify_email_note",width:"half",options:{label:"$t:enabled"},special:["cast-boolean"]},{field:"public_registration_email_filter",interface:"system-filter",note:"$t:fields.directus_settings.public_registration_email_filter_note",options:{collectionName:"directus_users",collectionField:"email",fieldName:"email"},special:["cast-json"],width:"half"},{field:"files_divider",interface:"presentation-divider",options:{icon:"folder",title:"$t:fields.directus_settings.files_and_thumbnails"},special:["alias","no-data"],width:"full"},{field:"storage_asset_transform",interface:"select-dropdown",options:{choices:[{value:"all",text:"$t:fields.directus_settings.transformations_all"},{value:"none",text:"$t:fields.directus_settings.transformations_none"},{value:"presets",text:"$t:fields.directus_settings.transformations_presets"}]},width:"half"},{field:"storage_default_folder",interface:"system-folder",width:"half",note:"$t:interfaces.system-folder.field_hint"},{field:"storage_asset_presets",interface:"list",options:{fields:[{field:"key",name:"$t:key",type:"string",schema:{is_nullable:!1},meta:{interface:"input",options:{slug:!0,onlyOnCreate:!1},width:"full",required:!0}},{field:"fit",name:"$t:field_options.directus_settings.storage_asset_presets.fit_label",type:"string",schema:{is_nullable:!1},meta:{interface:"select-dropdown",options:{choices:[{value:"contain",text:"$t:field_options.directus_settings.storage_asset_presets.fit.contain_text"},{value:"cover",text:"$t:field_options.directus_settings.storage_asset_presets.fit.cover_text"},{value:"inside",text:"$t:field_options.directus_settings.storage_asset_presets.fit.fit_text"},{value:"outside",text:"$t:field_options.directus_settings.storage_asset_presets.fit.outside_text"}]},width:"half"}},{field:"width",name:"$t:width",type:"integer",schema:{is_nullable:!1},meta:{interface:"input",width:"half"}},{field:"height",name:"$t:height",type:"integer",schema:{is_nullable:!1},meta:{interface:"input",width:"half"}},{field:"quality",type:"integer",name:"$t:quality",schema:{default_value:80,is_nullable:!1},meta:{interface:"slider",options:{max:100,min:0,step:1},width:"half"}},{field:"withoutEnlargement",name:"$t:field_options.directus_settings.storage_asset_presets.upscaling",type:"boolean",schema:{default_value:!1},meta:{interface:"boolean",width:"half",options:{label:"$t:no_upscale"}}},{field:"format",name:"$t:format",type:"string",schema:{is_nullable:!1,default_value:""},meta:{interface:"select-dropdown",options:{allowNone:!0,choices:[{value:"auto",text:"Auto"},{value:"jpeg",text:"JPEG"},{value:"png",text:"PNG"},{value:"webp",text:"WebP"},{value:"tiff",text:"Tiff"},{value:"avif",text:"AVIF"}]},width:"half"}},{field:"transforms",name:"$t:field_options.directus_settings.additional_transforms",type:"json",schema:{is_nullable:!1,default_value:[]},meta:{note:"$t:field_options.directus_settings.transforms_note",interface:"json",options:{template:'[\n ["blur", 45],\n ["grayscale"],\n ["extend", { "right": 500, "background": "rgb(255, 0, 0)" }]\n]\n',placeholder:'[\n ["blur", 45],\n ["grayscale"],\n ["extend", { "right": 500, "background": "rgb(255, 0, 0)" }]\n]\n'},width:"full"}}],template:"{{key}}"},special:["cast-json"],width:"full"},{field:"reporting_divider",interface:"presentation-divider",options:{icon:"feedback",title:"$t:fields.directus_settings.reporting"},special:["alias","no-data"],width:"full"},{field:"report_feature_url",interface:"input",options:{iconRight:"link",placeholder:"https://example.com/feature"},width:"half"},{field:"report_bug_url",interface:"input",options:{iconRight:"link",placeholder:"https://example.com/bug"},width:"half"},{field:"report_error_url",interface:"system-display-template",options:{placeholder:"https://example.com/error",fields:[{name:"Error",field:"error",key:"error",path:"error",children:[{name:"Name",field:"name",key:"error.name",path:"error.name"},{name:"Message",field:"message",key:"error.message",path:"error.message"}]},{name:"Navigator",field:"navigator",key:"navigator",path:"navigator",children:[{name:"Language",field:"language",key:"navigator.language",path:"navigator.language"},{name:"User Agent",field:"userAgent",key:"navigator.userAgent",path:"navigator.userAgent"}]},{name:"Route",field:"route",key:"route",path:"route",children:[{name:"Full Path",field:"fullPath",key:"route.fullPath",path:"route.fullPath"},{name:"Hash",field:"hash",key:"route.hash",path:"route.hash"},{name:"Name",field:"name",key:"route.name",path:"route.name"},{name:"Path",field:"path",key:"route.path",path:"route.path"},{name:"Query",field:"query",key:"route.query",path:"route.query"}]},{name:"User",field:"user",key:"user",path:"user",children:[{name:"ID",field:"id",key:"user.id",path:"user.id"},{name:"First Name",field:"first_name",key:"user.first_name",path:"user.first_name"},{name:"Last Name",field:"last_name",key:"user.last_name",path:"user.last_name"},{name:"Status",field:"status",key:"user.status",path:"user.status"},{name:"Title",field:"title",key:"user.title",path:"user.title"},{name:"Description",field:"description",key:"user.description",path:"user.description"},{name:"Location",field:"location",key:"user.location",path:"user.location"}]},{name:"Role",field:"role",key:"role",path:"role",children:[{name:"ID",field:"id",key:"role.id",path:"role.id"},{name:"Name",field:"name",key:"role.name",path:"role.name"}]}]},width:"full"},{field:"map_divider",interface:"presentation-divider",options:{icon:"map",title:"$t:fields.directus_settings.mapping"},special:["alias","no-data"],width:"full"},{field:"mapbox_key",interface:"input",options:{icon:"key",title:"$t:field_options.directus_settings.mapbox_key",placeholder:"$t:field_options.directus_settings.mapbox_placeholder",iconLeft:"vpn_key",font:"monospace"},width:"full"},{field:"basemaps",interface:"list",special:["cast-json"],options:{template:"{{name}}",fields:[{field:"name",name:"$t:name",schema:{is_nullable:!1},meta:{interface:"text-input",required:!0,options:{placeholder:"$t:field_options.directus_settings.basemaps_name_placeholder"}}},{field:"type",name:"$t:type",meta:{interface:"select-dropdown",options:{choices:[{value:"raster",text:"$t:field_options.directus_settings.basemaps_raster"},{value:"tile",text:"$t:field_options.directus_settings.basemaps_tile"},{value:"style",text:"$t:field_options.directus_settings.basemaps_style"}]}}},{field:"url",name:"$t:url",schema:{is_nullable:!1},meta:{interface:"text-input",options:{placeholder:"http://{a-c}.tile.openstreetmap.org/{z}/{x}/{y}.png"}}},{field:"tileSize",name:"$t:tile_size",type:"integer",schema:{is_nullable:!0},meta:{interface:"input",options:{placeholder:"512"},conditions:[{name:"typeNeqRaster",rule:{type:{_neq:"raster"}},hidden:!0}]}},{field:"attribution",name:"$t:fields.directus_settings.attribution",type:"string",schema:{is_nullable:!0},meta:{interface:"input",options:{placeholder:"$t:fields.directus_settings.attribution_placeholder"}}}]}},{field:"image_editor",interface:"presentation-divider",options:{icon:"image",title:"$t:fields.directus_settings.image_editor"},special:["alias","no-data"],width:"full"},{field:"custom_aspect_ratios",interface:"list",special:["cast-json"],options:{template:"{{text}}",fields:[{field:"text",name:"$t:text",type:"string",meta:{interface:"text-input",width:"half",required:!0,options:{placeholder:"$t:text"}}},{field:"value",name:"$t:value",type:"float",meta:{interface:"input",width:"half",required:!0,options:{placeholder:"$t:value"}}}]}}]},Is=[];function Ls(e){let{fields:t,table:n}=e;t.forEach((e,t)=>{Is.push({system:!0,...$s,...e,collection:n,sort:t+1})})}Ls({table:"directus_access",fields:[{field:"id",special:["uuid"],hidden:!0,width:"half"},{field:"role",hidden:!0,width:"half",special:["m2o"]},{field:"user",hidden:!0,width:"half",special:["m2o"]},{field:"policy",hidden:!0,width:"half",special:["m2o"]},{field:"sort",hidden:!0,width:"half"}]}),Ls({table:"directus_activity",fields:[{field:"id",width:"half"},{field:"item",width:"half"},{field:"action",display:"labels",display_options:{choices:[{text:"$t:field_options.directus_activity.create",value:"create",foreground:"var(--theme--primary)",background:"var(--theme--primary-subdued)"},{text:"$t:field_options.directus_activity.update",value:"update",foreground:"var(--blue)",background:"var(--blue-25)"},{text:"$t:field_options.directus_activity.delete",value:"delete",foreground:"var(--theme--danger)",background:"var(--danger-25)"},{text:"$t:field_options.directus_activity.login",value:"login",foreground:"var(--purple)",background:"var(--purple-25)"}]},width:"half"},{field:"collection",display:"collection",display_options:{icon:!0},width:"half"},{field:"timestamp",display:"datetime",special:["date-created","cast-timestamp"],options:{relative:!0},width:"half"},{field:"user",display:"user",width:"half"},{field:"user_agent",display:"formatted-value",display_options:{font:"monospace"},width:"half"},{field:"origin",display:"formatted-value",display_options:{font:"monospace"},width:"half"},{field:"ip",display:"formatted-value",display_options:{font:"monospace"},width:"half"},{field:"revisions",interface:"list-o2m",special:["o2m"],options:{fields:["collection","item"]},width:"half"}]}),Ls({table:"directus_collections",fields:[{field:"collection_divider",special:["alias","no-data"],interface:"presentation-divider",options:{icon:"box",title:"$t:field_options.directus_collections.collection_setup"},width:"full"},{field:"collection",interface:"input",options:{font:"monospace"},readonly:!0,width:"half"},{field:"note",interface:"input",options:{placeholder:"$t:field_options.directus_collections.note_placeholder"},width:"half"},{field:"icon",interface:"select-icon",options:null,width:"half"},{field:"color",interface:"select-color",options:{placeholder:"$t:interfaces.select-color.placeholder"},width:"half"},{field:"display_template",interface:"system-display-template",options:{collectionField:"collection"},width:"full"},{field:"hidden",special:["cast-boolean"],interface:"boolean",options:{label:"$t:field_options.directus_collections.hidden_label"},width:"half"},{field:"singleton",special:["cast-boolean"],interface:"boolean",options:{label:"$t:singleton_label"},width:"half"},{field:"translations",special:["cast-json"],interface:"list",options:{template:"{{ translation }} ({{ language }})",fields:[{field:"language",name:"$t:language",type:"string",schema:{default_value:"en-US"},meta:{interface:"system-language",width:"half",required:!0}},{field:"translation",name:"$t:field_options.directus_collections.collection_name",type:"string",meta:{interface:"input",width:"half",required:!0,options:{placeholder:"$t:field_options.directus_collections.translation_placeholder"}}},{field:"singular",name:"$t:field_options.directus_collections.singular_unit",type:"string",meta:{interface:"input",width:"half",options:{placeholder:"$t:field_options.directus_collections.translation_placeholder"}}},{field:"plural",name:"$t:field_options.directus_collections.plural_unit",type:"string",meta:{interface:"input",width:"half",options:{placeholder:"$t:field_options.directus_collections.translation_placeholder"}}}]},width:"full"},{field:"preview_divider",special:["alias","no-data"],interface:"presentation-divider",options:{icon:"preview",title:"$t:field_options.directus_collections.preview_divider"},width:"full"},{field:"preview_url",interface:"system-display-template",options:{collectionField:"collection",injectVersionField:!0},width:"full"},{field:"content_versioning_divider",special:["alias","no-data"],interface:"presentation-divider",options:{icon:"published_with_changes",title:"$t:field_options.directus_collections.content_versioning_divider"},width:"full"},{field:"versioning",interface:"boolean",special:["cast-boolean"],options:{label:"$t:field_options.directus_collections.enable_versioning"},width:"half"},{field:"archive_divider",special:["alias","no-data"],interface:"presentation-divider",options:{icon:"archive",title:"$t:field_options.directus_collections.archive_divider"},width:"full"},{field:"archive_field",interface:"system-field",options:{collectionField:"collection",allowNone:!0,placeholder:"$t:field_options.directus_collections.archive_field_placeholder"},width:"half"},{field:"archive_app_filter",interface:"boolean",special:["cast-boolean"],options:{label:"$t:field_options.directus_collections.archive_app_filter"},width:"half"},{field:"archive_value",interface:"input",options:{font:"monospace",iconRight:"archive",placeholder:"$t:field_options.directus_collections.archive_value"},width:"half"},{field:"unarchive_value",interface:"input",options:{font:"monospace",iconRight:"unarchive",placeholder:"$t:field_options.directus_collections.unarchive_value"},width:"half"},{field:"sort_divider",special:["alias","no-data"],interface:"presentation-divider",options:{icon:"sort",title:"$t:field_options.directus_collections.sort_divider"},width:"full"},{field:"sort_field",interface:"system-field",options:{collectionField:"collection",placeholder:"$t:field_options.directus_collections.sort_field",typeAllowList:["float","decimal","integer"],allowNone:!0,allowPrimaryKey:!1,allowForeignKeys:!1},width:"half"},{field:"accountability_divider",special:["alias","no-data"],interface:"presentation-divider",options:{icon:"admin_panel_settings",title:"$t:field_options.directus_collections.accountability_divider"},width:"full"},{field:"accountability",interface:"select-dropdown",options:{choices:[{text:"$t:field_options.directus_collections.track_activity_revisions",value:"all"},{text:"$t:field_options.directus_collections.only_track_activity",value:"activity"},{text:"$t:field_options.directus_collections.do_not_track_anything",value:null}]},width:"half"},{field:"duplication_divider",special:["alias","no-data"],interface:"presentation-divider",options:{icon:"content_copy",title:"$t:field_options.directus_collections.duplication_divider"}},{field:"item_duplication_fields",special:["cast-json"],interface:"system-field-tree",options:{collectionField:"collection"}},{field:"sort",hidden:!0},{field:"group",hidden:!0},{field:"collapse",hidden:!0}]}),Ls({table:"directus_comments",fields:[{field:"id",special:["uuid"],readonly:!0,hidden:!0},{field:"collection"},{field:"item"},{field:"comment"},{field:"date_created",special:["date-created","cast-timestamp"]},{field:"date_updated",special:["date-updated","cast-timestamp"]},{field:"user_created",special:["user-created"]},{field:"user_updated",special:["user-updated"]}]}),Ls({table:"directus_dashboards",fields:[{field:"id",special:["uuid"]},{field:"name"},{field:"icon"},{field:"panels",special:["o2m"]},{field:"date_created",special:["date-created","cast-timestamp"]},{field:"user_created",special:["user-created"]},{field:"note"},{field:"color"}]}),Ls({table:"directus_extensions",fields:[{collection:"directus_extensions",field:"id",special:["uuid"]},{collection:"directus_extensions",field:"folder"},{collection:"directus_extensions",field:"source"},{collection:"directus_extensions",field:"bundle"},{collection:"directus_extensions",field:"enabled",special:["cast-boolean"]}]}),Ls({table:"directus_fields",fields:[{collection:"directus_fields",field:"id",width:"half"},{collection:"directus_fields",field:"collection",width:"half"},{collection:"directus_fields",field:"field",width:"half"},{collection:"directus_fields",field:"special",hidden:!0,special:["cast-csv"],width:"half"},{collection:"directus_fields",field:"interface",width:"half"},{collection:"directus_fields",field:"options",hidden:!0,special:["cast-json"],width:"half"},{collection:"directus_fields",field:"display",width:"half"},{collection:"directus_fields",field:"display_options",hidden:!0,special:["cast-json"],width:"half"},{collection:"directus_fields",field:"readonly",hidden:!0,special:["cast-boolean"],width:"half"},{collection:"directus_fields",field:"hidden",hidden:!0,special:["cast-boolean"],width:"half"},{collection:"directus_fields",field:"required",hidden:!0,special:["cast-boolean"],width:"half"},{collection:"directus_fields",field:"sort",width:"half"},{collection:"directus_fields",field:"width",width:"half"},{collection:"directus_fields",field:"group",width:"half"},{collection:"directus_fields",field:"translations",hidden:!0,special:["cast-json"],width:"half"},{collection:"directus_fields",field:"note",width:"half"},{collection:"directus_fields",field:"conditions",hidden:!0,special:["cast-json"]},{collection:"directus_fields",field:"validation",hidden:!0,special:["cast-json"]},{collection:"directus_fields",field:"validation_message",hidden:!0}]}),Ls({table:"directus_files",fields:[{field:"id",hidden:!0,interface:"input",special:["uuid"]},{field:"title",interface:"input",options:{iconRight:"title",placeholder:"$t:field_options.directus_files.title"},width:"full"},{field:"description",interface:"input-multiline",width:"full",options:{placeholder:"$t:field_options.directus_files.description"}},{field:"tags",interface:"tags",options:{iconRight:"local_offer"},special:["cast-json"],width:"full",display:"labels",display_options:{choices:null,format:!1}},{field:"location",interface:"input",options:{iconRight:"place",placeholder:"$t:field_options.directus_files.location"},width:"half"},{field:"storage",interface:"input",options:{iconRight:"storage"},width:"half",readonly:!0},{field:"focal_point_divider",interface:"presentation-divider",options:{icon:"image_search",title:"$t:field_options.directus_files.focal_point_divider"},special:["alias","no-data"],width:"full"},{field:"focal_point_x",width:"half"},{field:"focal_point_y",width:"half"},{field:"storage_divider",interface:"presentation-divider",options:{icon:"insert_drive_file",title:"$t:field_options.directus_files.storage_divider"},special:["alias","no-data"],width:"full"},{field:"filename_disk",interface:"input",options:{iconRight:"publish",placeholder:"$t:field_options.directus_files.filename_disk"},readonly:!0,width:"half"},{field:"filename_download",interface:"input",options:{iconRight:"get_app",placeholder:"$t:field_options.directus_files.filename_download"},width:"half"},{field:"metadata",hidden:!0,special:["cast-json"]},{field:"type",display:"mime-type",readonly:!0},{field:"filesize",display:"filesize",readonly:!0},{field:"created_on",interface:"datetime",display:"datetime",width:"half",special:["date-created"],readonly:!0},{field:"modified_by",interface:"select-dropdown-m2o",special:["user-updated"],width:"half",display:"user",readonly:!0,options:{template:"{{avatar.$thumbnail}} {{first_name}} {{last_name}}"}},{field:"modified_on",interface:"datetime",special:["date-updated"],width:"half",display:"datetime",readonly:!0},{field:"embed",width:"half",hidden:!0},{field:"uploaded_by",display:"user",width:"half",hidden:!0,special:["user-created"]},{field:"uploaded_on",display:"datetime",width:"half",hidden:!0},{field:"folder",width:"half",readonly:!0,special:["m2o"],display:"related-values",display_options:{template:"{{ name }}"}},{field:"width",width:"half",readonly:!0},{field:"height",width:"half",readonly:!0},{field:"charset",width:"half",readonly:!0},{field:"duration",width:"half",readonly:!0},{field:"tus_id",width:"half",hidden:!0},{field:"tus_data",width:"half",hidden:!0,special:["cast-json"]}]}),Ls({table:"directus_flows",fields:[{field:"id",special:["uuid"]},{field:"name"},{field:"icon"},{field:"color"},{field:"description"},{field:"status"},{field:"trigger"},{field:"accountability"},{field:"options",special:["cast-json"]},{field:"operation"},{field:"operations",special:["o2m"]},{field:"date_created",special:["date-created"]},{field:"user_created",special:["user-created"]}]}),Ls({table:"directus_folders",fields:[{field:"id",interface:"input",special:["uuid"],width:"half"},{field:"parent",width:"half"},{field:"name",width:"full"}]}),Ls({table:"directus_migrations",fields:[{collection:"directus_migrations",field:"version"},{collection:"directus_migrations",field:"name"},{collection:"directus_migrations",field:"timestamp"}]}),Ls({table:"directus_notifications",fields:[{field:"id"},{field:"timestamp",special:["date-created","cast-timestamp"]},{field:"status"},{field:"recipient"},{field:"sender"},{field:"subject"},{field:"message"},{field:"collection"},{field:"item"}]}),Ls({table:"directus_operations",fields:[{field:"id",special:["uuid"]},{field:"name"},{field:"key"},{field:"type"},{field:"position_x"},{field:"position_y"},{field:"options",special:["cast-json"]},{field:"resolve"},{field:"reject"},{field:"flow"},{field:"date_created",special:["date-created"]},{field:"user_created",special:["user-created"]}]}),Ls({table:"directus_panels",fields:[{field:"id",special:["uuid"]},{field:"name"},{field:"icon"},{field:"color"},{field:"note"},{field:"type"},{field:"show_header",special:["cast-boolean"]},{field:"position_x"},{field:"position_y"},{field:"width"},{field:"height"},{field:"options",special:["cast-json"]},{field:"date_created",special:["date-created","cast-timestamp"]},{field:"user_created",special:["user-created"]},{field:"dashboard"}]}),Ls({table:"directus_permissions",fields:[{field:"permissions",hidden:!0,special:["cast-json"],width:"half"},{field:"presets",hidden:!0,special:["cast-json"],width:"half"},{field:"policy",hidden:!0,interface:"select-dropdown-m2o",width:"half",special:["m2o"]},{field:"collection",width:"half"},{field:"id",width:"half"},{field:"fields",width:"half",special:["cast-csv"]},{field:"action",width:"half"},{field:"validation",width:"half",special:["cast-json"]}]}),Ls({table:"directus_policies",fields:[{field:"id",hidden:!0,special:["uuid"]},{field:"name",required:!0,width:"half",display:"formatted-value",display_options:{translate:!0}},{field:"icon",interface:"select-icon",display:"icon",width:"half"},{field:"description",interface:"input",options:{placeholder:"$t:field_options.directus_policies.description"},width:"full",display:"formatted-value",display_options:{translate:!0}},{field:"permissions",interface:"system-permissions",special:["o2m"]},{field:"app_access",interface:"boolean",special:["cast-boolean"],width:"half"},{field:"admin_access",interface:"boolean",special:["cast-boolean"],width:"half"},{field:"ip_access",interface:"tags",options:{placeholder:"$t:field_options.directus_policies.ip_access"},special:["cast-csv"],width:"full"},{field:"enforce_tfa",note:"$t:field_options.directus_policies.enforce_tfa",interface:"boolean",special:["cast-boolean"],width:"half"},{field:"assigned_to_divider",interface:"presentation-divider",options:{title:"$t:field_options.directus_policies.assigned_to"},special:["alias","no-data"],width:"full"},{field:"users",interface:"list-m2m",options:{template:"{{ user.first_name }} {{ user.last_name }}",junctionFilter:{user:{_nnull:!0}}},special:["m2m"]},{field:"roles",interface:"list-m2m",options:{template:"{{ role.name }}",junctionFilter:{role:{_nnull:!0}}},special:["m2m"]}]}),Ls({table:"directus_presets",fields:[{field:"filter",hidden:!0,special:["cast-json"]},{field:"layout_query",hidden:!0,special:["cast-json"]},{field:"layout_options",hidden:!0,special:["cast-json"]},{field:"role",width:"half",special:["m2o"],display:"related-values",display_options:{template:"{{ name }}"}},{field:"user",width:"half",special:["m2o"],display:"related-values",display_options:{template:"{{ email }}"}},{field:"id",width:"half"},{field:"bookmark",width:"half"},{field:"icon",width:"half",display:"icon"},{field:"color",width:"half",display:"color"},{field:"search",width:"half"},{field:"collection",width:"half"},{field:"layout",width:"half"},{field:"refresh_interval"}]}),Ls({table:"directus_relations",fields:[{field:"id",width:"half"},{field:"many_collection",width:"half"},{field:"many_field",width:"half"},{field:"one_collection",width:"half"},{field:"one_field",width:"half"},{field:"one_collection_field",width:"half"},{field:"one_allowed_collections",special:["cast-csv"],width:"half"},{field:"junction_field",width:"half"},{field:"sort_field",width:"half"},{field:"one_deselect_action",width:"half"}]}),Ls({table:"directus_revisions",fields:[{field:"id",width:"half"},{field:"activity",width:"half"},{field:"collection",width:"half"},{field:"item",width:"half"},{field:"data",hidden:!0,special:["cast-json"]},{field:"delta",hidden:!0,special:["cast-json"]},{field:"parent",width:"half"},{field:"version",width:"half"}]}),Ls({table:"directus_roles",fields:[{field:"id",hidden:!0,interface:"input",special:["uuid"]},{field:"name",required:!0,interface:"input",options:{placeholder:"$t:field_options.directus_roles.name"},width:"half",display:"formatted-value",display_options:{translate:!0}},{field:"icon",interface:"select-icon",display:"icon",width:"half"},{field:"description",interface:"input",options:{placeholder:"$t:field_options.directus_roles.description"},width:"full",display:"formatted-value",display_options:{translate:!0}},{field:"parent",interface:"select-dropdown-m2o",note:"$t:field_options.directus_roles.parent_note",options:{template:"{{ name }}",filter:{id:{_neq:"{{ id }}"}}},special:["m2o"],width:"half",display:"related-values",display_options:{template:"{{ name }}"}},{field:"children",hidden:!0,interface:"list-o2m-tree-view",note:"$t:field_options.directus_roles.children_note",special:["o2m"],options:{displayTemplate:"{{ name }}",enableCreate:!1,fields:["name"],filter:{id:{_neq:"{{ id }}"}}},display:"related-values",display_options:{template:"{{ name }}"},width:"full"},{field:"policies",interface:"list-m2m",options:{layout:"list"},display:"related-values",special:["m2m"],width:"full"},{field:"users_group",interface:"group-raw",special:["alias","no-data","group"]},{field:"users_divider",interface:"presentation-divider",options:{icon:"people_alt",title:"$t:users"},special:["alias","no-data"],width:"full",group:"users_group"},{field:"users",interface:"list-o2m",special:["o2m"],options:{fields:["first_name","last_name"]},width:"full",group:"users_group"}]}),Ls({table:"directus_sessions",fields:[{field:"token",width:"half"},{field:"user",width:"half"},{field:"expires",width:"half"},{field:"ip",width:"half"},{field:"user_agent",width:"half"},{field:"origin",width:"half"},{field:"share",width:"half"},{field:"next_token",width:"half"}]}),Ls(Fs),Ls({table:"directus_shares",fields:[{field:"id",special:["uuid"],readonly:!0,hidden:!0},{field:"name"},{field:"collection",width:"half",hidden:!0},{field:"item",width:"half",hidden:!0},{field:"role",interface:"select-dropdown-m2o",width:"half",options:{template:"{{name}}"}},{field:"password",special:["hash","conceal"],interface:"input-hash",options:{iconRight:"lock",masked:!0},width:"half",note:"$t:shared_leave_blank_for_passwordless_access"},{field:"date_start",width:"half",note:"$t:shared_leave_blank_for_unlimited"},{field:"date_end",width:"half",note:"$t:shared_leave_blank_for_unlimited"},{field:"max_uses",width:"half",note:"$t:shared_leave_blank_for_unlimited"},{field:"times_used",width:"half",readonly:!0},{field:"date_created",special:["date-created","cast-timestamp"],width:"half",readonly:!0,conditions:[{name:"notCreatedYet",rule:{id:{_null:!0}},hidden:!0}]},{field:"user_created",special:["user-created"],interface:"select-dropdown-m2o",width:"half",display:"user",options:{template:"{{avatar.$thumbnail}} {{first_name}} {{last_name}}"},readonly:!0,conditions:[{name:"notCreatedYet",rule:{id:{_null:!0}},hidden:!0}]}]}),Ls({table:"directus_translations",fields:[{field:"id",hidden:!0,sort:1,special:["uuid"]},{field:"key",width:"half",sort:2,required:!0,interface:"input",options:{font:"monospace",placeholder:"$t:translation_key_placeholder"}},{field:"language",interface:"system-language",width:"half",sort:3,required:!0},{field:"value",interface:"input-multiline",sort:4,required:!0,options:{placeholder:"$t:enter_a_value"}}]}),Ls({table:"directus_users",fields:[{field:"first_name",interface:"input",options:{iconRight:"account_circle"},width:"half"},{field:"last_name",interface:"input",options:{iconRight:"account_circle"},width:"half"},{field:"email",interface:"input",options:{iconRight:"email"},width:"half"},{field:"password",special:["hash","conceal"],interface:"input-hash",options:{iconRight:"lock",masked:!0},width:"half"},{field:"avatar",interface:"file",width:"full",display:"image"},{field:"location",interface:"input",options:{iconRight:"place"},width:"half"},{field:"title",interface:"input",options:{iconRight:"work"},width:"half"},{field:"description",interface:"input-multiline",width:"full"},{field:"tags",interface:"tags",special:["cast-json"],width:"full",options:{iconRight:"local_offer"},display:"labels",display_options:{choices:null,format:!1}},{field:"preferences_divider",interface:"presentation-divider",options:{icon:"face",title:"$t:fields.directus_users.user_preferences"},special:["alias","no-data"],width:"full"},{field:"language",interface:"system-language",width:"half",options:{includeProjectDefault:!0}},{field:"tfa_secret",interface:"system-mfa-setup",special:["conceal"],width:"half"},{field:"email_notifications",interface:"boolean",width:"half",special:["cast-boolean"]},{field:"theming_divider",interface:"presentation-divider",options:{icon:"palette",title:"$t:theme"},special:["alias","no-data"],width:"full"},{field:"appearance",interface:"select-dropdown",options:{choices:[{value:null,text:"$t:default_sync_with_project"},{value:"auto",text:"$t:appearance_auto"},{value:"light",text:"$t:appearance_light"},{value:"dark",text:"$t:appearance_dark"}]},width:"half"},{field:"theme_light",width:"full",interface:"system-theme",options:{appearance:"light",includeNull:!0}},{field:"theme_light_overrides",width:"full",interface:"system-theme-overrides",options:{appearance:"light"},special:["cast-json"]},{field:"theme_dark",width:"full",interface:"system-theme",options:{appearance:"dark",includeNull:!0}},{field:"theme_dark_overrides",width:"full",interface:"system-theme-overrides",options:{appearance:"dark"},special:["cast-json"]},{field:"admin_divider",interface:"presentation-divider",options:{icon:"verified_user",title:"$t:fields.directus_users.admin_options",color:"var(--theme--danger)"},special:["alias","no-data"],width:"full"},{field:"status",interface:"select-dropdown",options:{choices:[{text:"$t:fields.directus_users.status_draft",value:"draft"},{text:"$t:fields.directus_users.status_invited",value:"invited"},{text:"$t:fields.directus_users.status_unverified",value:"unverified"},{text:"$t:fields.directus_users.status_active",value:"active"},{text:"$t:fields.directus_users.status_suspended",value:"suspended"},{text:"$t:fields.directus_users.status_archived",value:"archived"}]},width:"half"},{field:"role",interface:"select-dropdown-m2o",options:{template:"{{ name }}"},special:["m2o"],width:"half",display:"related-values",display_options:{template:"{{ name }}"}},{field:"policies",interface:"list-m2m",options:{layout:"list"},display:"related-values",special:["m2m"],width:"full"},{field:"token",interface:"system-token",special:["conceal"],width:"full"},{field:"id",special:["uuid"],interface:"input",options:{iconRight:"vpn_key"},width:"full"},{field:"last_page",width:"half"},{field:"last_access",width:"half",display:"datetime",readonly:!0,display_options:{relative:!0}},{field:"provider",width:"half",interface:"select-dropdown",options:{choices:[{text:"$t:default_provider",value:"default"}]}},{field:"external_identifier",width:"half",options:{iconRight:"account_circle"},interface:"input"},{field:"auth_data",hidden:!0}]}),Ls({table:"directus_versions",fields:[{field:"id",special:["uuid"],readonly:!0,hidden:!0},{field:"key"},{field:"name"},{field:"collection"},{field:"item"},{field:"hash",readonly:!0,hidden:!0},{field:"date_created",special:["date-created","cast-timestamp"]},{field:"date_updated",special:["date-updated","cast-timestamp"]},{field:"user_created",special:["user-created"]},{field:"user_updated",special:["user-updated"]},{field:"delta",special:["cast-json"]}]}),Ls({table:"directus_webhooks",fields:[{field:"id",hidden:!0},{field:"name",interface:"input",options:{iconRight:"title"},width:"full"},{field:"method",interface:"select-dropdown",display:"labels",display_options:{choices:[{value:"POST",foreground:"var(--theme--primary)",background:"var(--theme--primary-subdued)"},{value:"GET",foreground:"var(--theme--secondary)",background:"var(--secondary-25)"}],format:!1},options:{choices:["GET","POST"]},width:"half"},{field:"url",interface:"input",options:{iconRight:"link"},width:"half"},{field:"status",interface:"select-dropdown",display:"labels",display_options:{showAsDot:!0,choices:[{text:"$t:field_options.directus_webhooks.status_options_active",value:"active",foreground:"var(--theme--primary-background)",background:"var(--theme--primary)"},{text:"$t:field_options.directus_webhooks.status_options_inactive",value:"inactive",foreground:"var(--theme--foreground)",background:"var(--background-normal-alt)"}]},options:{choices:[{text:"$t:field_options.directus_webhooks.status_options_active",value:"active"},{text:"$t:field_options.directus_webhooks.status_options_inactive",value:"inactive"}]},width:"half"},{field:"data",interface:"boolean",options:{label:"$t:fields.directus_webhooks.data_label"},special:["cast-boolean"],width:"half",display:"boolean"},{field:"headers",special:["cast-json"],interface:"list",options:{template:"{{ header }}: {{ value }}",addLabel:"$t:field_options.directus_webhooks.headers.add",fields:[{field:"header",name:"$t:field_options.directus_webhooks.headers.header",type:"string",meta:{interface:"input",width:"half"}},{field:"value",name:"$t:field_options.directus_webhooks.headers.value",type:"string",meta:{interface:"input",width:"half"}}]},width:"full"},{field:"triggers_divider",interface:"presentation-divider",options:{icon:"api",title:"$t:fields.directus_webhooks.triggers"},special:["alias","no-data"],width:"full"},{field:"actions",interface:"select-multiple-checkbox",options:{choices:[{text:"$t:create",value:"create"},{text:"$t:update",value:"update"},{text:"$t:delete_label",value:"delete"}]},special:["cast-csv"],width:"full",display:"labels",display_options:{choices:[{text:"$t:create",value:"create",foreground:"var(--theme--primary)",background:"var(--theme--primary-subdued)"},{text:"$t:update",value:"update",foreground:"var(--blue)",background:"var(--blue-25)"},{text:"$t:delete_label",value:"delete",foreground:"var(--theme--danger)",background:"var(--danger-25)"},{text:"$t:login",value:"login",foreground:"var(--purple)",background:"var(--purple-25)"}]}},{field:"collections",interface:"system-collections",special:["cast-csv"],width:"full",display:"labels",display_options:{choices:null,format:!1}},{field:"was_active_before_deprecation",hidden:!0},{field:"migrated_flow",hidden:!0}]});var Ps={policy:null,permissions:{},validation:null,presets:null,fields:["*"],system:!0},Ds=[{collection:"directus_collections",action:"read"},{collection:"directus_fields",action:"read"},{collection:"directus_relations",action:"read"},{collection:"directus_translations",action:"read"}].map(e=>({...Ps,...e}));function Us(e){return function(e){return Cs.includes(e)}(e)?`/${e.substring(9)}`:`/items/${e}`}function Bs(e,t){return function(){return e.apply(t,arguments)}}[...Ds,{collection:"directus_activity",action:"read",permissions:{user:{_eq:"$CURRENT_USER"}}},{collection:"directus_comments",action:"read",permissions:{user_created:{_eq:"$CURRENT_USER"}}},{collection:"directus_comments",action:"create",validation:{comment:{_nnull:!0}}},{collection:"directus_comments",action:"update",permissions:{user_created:{_eq:"$CURRENT_USER"}},fields:["comment"]},{collection:"directus_comments",action:"delete",permissions:{user_created:{_eq:"$CURRENT_USER"}}},{collection:"directus_presets",action:"read",permissions:{_or:[{user:{_eq:"$CURRENT_USER"}},{_and:[{user:{_null:!0}},{role:{_eq:"$CURRENT_ROLE"}}]},{_and:[{user:{_null:!0}},{role:{_null:!0}}]}]}},{collection:"directus_presets",action:"create",validation:{user:{_eq:"$CURRENT_USER"}}},{collection:"directus_presets",action:"update",permissions:{user:{_eq:"$CURRENT_USER"}},validation:{user:{_eq:"$CURRENT_USER"}}},{collection:"directus_presets",action:"delete",permissions:{user:{_eq:"$CURRENT_USER"}}},{collection:"directus_roles",action:"read",permissions:{id:{_in:"$CURRENT_ROLES"}}},{collection:"directus_settings",action:"read"},{collection:"directus_translations",action:"read"},{collection:"directus_notifications",action:"read",permissions:{recipient:{_eq:"$CURRENT_USER"}}},{collection:"directus_notifications",action:"update",permissions:{recipient:{_eq:"$CURRENT_USER"}},fields:["status"]},{collection:"directus_shares",action:"read",permissions:{user_created:{_eq:"$CURRENT_USER"}}},{collection:"directus_users",action:"read",permissions:{id:{_eq:"$CURRENT_USER"}},fields:["id","first_name","last_name","last_page","email","password","location","title","description","tags","preferences_divider","avatar","language","appearance","theme_light","theme_dark","tfa_secret","status","role"]}].map(e=>({...Ps,...e})),js.extend({type:"string",base:js.string(),messages:{"string.contains":"{{#label}} must contain [{{#substring}}]","string.icontains":"{{#label}} must contain case insensitive [{{#substring}}]","string.ncontains":"{{#label}} can't contain [{{#substring}}]"},rules:{contains:{args:[{name:"substring",ref:!0,assert:e=>"string"==typeof e,message:"must be a string"}],method(e){return this.$_addRule({name:"contains",args:{substring:e}})},validate:(e,t,{substring:n})=>!1===e.includes(n)?t.error("string.contains",{substring:n}):e},icontains:{args:[{name:"substring",ref:!0,assert:e=>"string"==typeof e,message:"must be a string"}],method(e){return this.$_addRule({name:"icontains",args:{substring:e}})},validate:(e,t,{substring:n})=>!1===e.toLowerCase().includes(n.toLowerCase())?t.error("string.icontains",{substring:n}):e},ncontains:{args:[{name:"substring",ref:!0,assert:e=>"string"==typeof e,message:"must be a string"}],method(e){return this.$_addRule({name:"ncontains",args:{substring:e}})},validate:(e,t,{substring:n})=>!0===e.includes(n)?t.error("string.ncontains",{substring:n}):e}}});const{toString:Ms}=Object.prototype,{getPrototypeOf:zs}=Object,qs=(e=>t=>{const n=Ms.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Gs=e=>(e=e.toLowerCase(),t=>qs(t)===e),Hs=e=>t=>typeof t===e,{isArray:Ws}=Array,Vs=Hs("undefined");const Zs=Gs("ArrayBuffer");const Ks=Hs("string"),Xs=Hs("function"),Ys=Hs("number"),Js=e=>null!==e&&"object"==typeof e,Qs=e=>{if("object"!==qs(e))return!1;const t=zs(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)},ec=Gs("Date"),tc=Gs("File"),nc=Gs("Blob"),ic=Gs("FileList"),ac=Gs("URLSearchParams"),[rc,oc,sc,cc]=["ReadableStream","Request","Response","Headers"].map(Gs);function lc(e,t,{allOwnKeys:n=!1}={}){if(null==e)return;let i,a;if("object"!=typeof e&&(e=[e]),Ws(e))for(i=0,a=e.length;i<a;i++)t.call(null,e[i],i,e);else{const a=n?Object.getOwnPropertyNames(e):Object.keys(e),r=a.length;let o;for(i=0;i<r;i++)o=a[i],t.call(null,e[o],o,e)}}function uc(e,t){t=t.toLowerCase();const n=Object.keys(e);let i,a=n.length;for(;a-- >0;)if(i=n[a],t===i.toLowerCase())return i;return null}const pc="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,dc=e=>!Vs(e)&&e!==pc;const fc=(e=>t=>e&&t instanceof e)("undefined"!=typeof Uint8Array&&zs(Uint8Array)),mc=Gs("HTMLFormElement"),hc=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),gc=Gs("RegExp"),vc=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),i={};lc(n,(n,a)=>{let r;!1!==(r=t(n,a,e))&&(i[a]=r||n)}),Object.defineProperties(e,i)},bc="abcdefghijklmnopqrstuvwxyz",yc="0123456789",xc={DIGIT:yc,ALPHA:bc,ALPHA_DIGIT:bc+bc.toUpperCase()+yc};const _c=Gs("AsyncFunction"),wc=(Oc="function"==typeof setImmediate,Ac=Xs(pc.postMessage),Oc?setImmediate:Ac?(Rc=`axios@${Math.random()}`,kc=[],pc.addEventListener("message",({source:e,data:t})=>{e===pc&&t===Rc&&kc.length&&kc.shift()()},!1),e=>{kc.push(e),pc.postMessage(Rc,"*")}):e=>setTimeout(e));var Oc,Ac,Rc,kc;const Sc="undefined"!=typeof queueMicrotask?queueMicrotask.bind(pc):"undefined"!=typeof process&&process.nextTick||wc;var Ec={isArray:Ws,isArrayBuffer:Zs,isBuffer:function(e){return null!==e&&!Vs(e)&&null!==e.constructor&&!Vs(e.constructor)&&Xs(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||Xs(e.append)&&("formdata"===(t=qs(e))||"object"===t&&Xs(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&Zs(e.buffer),t},isString:Ks,isNumber:Ys,isBoolean:e=>!0===e||!1===e,isObject:Js,isPlainObject:Qs,isReadableStream:rc,isRequest:oc,isResponse:sc,isHeaders:cc,isUndefined:Vs,isDate:ec,isFile:tc,isBlob:nc,isRegExp:gc,isFunction:Xs,isStream:e=>Js(e)&&Xs(e.pipe),isURLSearchParams:ac,isTypedArray:fc,isFileList:ic,forEach:lc,merge:function e(){const{caseless:t}=dc(this)&&this||{},n={},i=(i,a)=>{const r=t&&uc(n,a)||a;Qs(n[r])&&Qs(i)?n[r]=e(n[r],i):Qs(i)?n[r]=e({},i):Ws(i)?n[r]=i.slice():n[r]=i};for(let e=0,t=arguments.length;e<t;e++)arguments[e]&&lc(arguments[e],i);return n},extend:(e,t,n,{allOwnKeys:i}={})=>(lc(t,(t,i)=>{n&&Xs(t)?e[i]=Bs(t,n):e[i]=t},{allOwnKeys:i}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,n,i)=>{e.prototype=Object.create(t.prototype,i),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},toFlatObject:(e,t,n,i)=>{let a,r,o;const s={};if(t=t||{},null==e)return t;do{for(a=Object.getOwnPropertyNames(e),r=a.length;r-- >0;)o=a[r],i&&!i(o,e,t)||s[o]||(t[o]=e[o],s[o]=!0);e=!1!==n&&zs(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:qs,kindOfTest:Gs,endsWith:(e,t,n)=>{e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;const i=e.indexOf(t,n);return-1!==i&&i===n},toArray:e=>{if(!e)return null;if(Ws(e))return e;let t=e.length;if(!Ys(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},forEachEntry:(e,t)=>{const n=(e&&e[Symbol.iterator]).call(e);let i;for(;(i=n.next())&&!i.done;){const n=i.value;t.call(e,n[0],n[1])}},matchAll:(e,t)=>{let n;const i=[];for(;null!==(n=e.exec(t));)i.push(n);return i},isHTMLForm:mc,hasOwnProperty:hc,hasOwnProp:hc,reduceDescriptors:vc,freezeMethods:e=>{vc(e,(t,n)=>{if(Xs(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const i=e[n];Xs(i)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))})},toObjectSet:(e,t)=>{const n={},i=e=>{e.forEach(e=>{n[e]=!0})};return Ws(e)?i(e):i(String(e).split(t)),n},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(e,t,n){return t.toUpperCase()+n}),noop:()=>{},toFiniteNumber:(e,t)=>null!=e&&Number.isFinite(e=+e)?e:t,findKey:uc,global:pc,isContextDefined:dc,ALPHABET:xc,generateString:(e=16,t=xc.ALPHA_DIGIT)=>{let n="";const{length:i}=t;for(;e--;)n+=t[Math.random()*i|0];return n},isSpecCompliantForm:function(e){return!!(e&&Xs(e.append)&&"FormData"===e[Symbol.toStringTag]&&e[Symbol.iterator])},toJSONObject:e=>{const t=new Array(10),n=(e,i)=>{if(Js(e)){if(t.indexOf(e)>=0)return;if(!("toJSON"in e)){t[i]=e;const a=Ws(e)?[]:{};return lc(e,(e,t)=>{const r=n(e,i+1);!Vs(r)&&(a[t]=r)}),t[i]=void 0,a}}return e};return n(e,0)},isAsyncFn:_c,isThenable:e=>e&&(Js(e)||Xs(e))&&Xs(e.then)&&Xs(e.catch),setImmediate:wc,asap:Sc};function jc(e,t,n,i,a){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),i&&(this.request=i),a&&(this.response=a,this.status=a.status?a.status:null)}Ec.inherits(jc,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:Ec.toJSONObject(this.config),code:this.code,status:this.status}}});const Tc=jc.prototype,Cc={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{Cc[e]={value:e}}),Object.defineProperties(jc,Cc),Object.defineProperty(Tc,"isAxiosError",{value:!0}),jc.from=(e,t,n,i,a,r)=>{const o=Object.create(Tc);return Ec.toFlatObject(e,o,function(e){return e!==Error.prototype},e=>"isAxiosError"!==e),jc.call(o,e.message,t,n,i,a),o.cause=e,o.name=e.name,r&&Object.assign(o,r),o};var Nc=n.Stream,$c=Fc;function Fc(){this.source=null,this.dataSize=0,this.maxDataSize=1048576,this.pauseStream=!0,this._maxDataSizeExceeded=!1,this._released=!1,this._bufferedEvents=[]}t.inherits(Fc,Nc),Fc.create=function(e,t){var n=new this;for(var i in t=t||{})n[i]=t[i];n.source=e;var a=e.emit;return e.emit=function(){return n._handleEmit(arguments),a.apply(e,arguments)},e.on("error",function(){}),n.pauseStream&&e.pause(),n},Object.defineProperty(Fc.prototype,"readable",{configurable:!0,enumerable:!0,get:function(){return this.source.readable}}),Fc.prototype.setEncoding=function(){return this.source.setEncoding.apply(this.source,arguments)},Fc.prototype.resume=function(){this._released||this.release(),this.source.resume()},Fc.prototype.pause=function(){this.source.pause()},Fc.prototype.release=function(){this._released=!0,this._bufferedEvents.forEach(function(e){this.emit.apply(this,e)}.bind(this)),this._bufferedEvents=[]},Fc.prototype.pipe=function(){var e=Nc.prototype.pipe.apply(this,arguments);return this.resume(),e},Fc.prototype._handleEmit=function(e){this._released?this.emit.apply(this,e):("data"===e[0]&&(this.dataSize+=e[1].length,this._checkIfMaxDataSizeExceeded()),this._bufferedEvents.push(e))},Fc.prototype._checkIfMaxDataSizeExceeded=function(){if(!(this._maxDataSizeExceeded||this.dataSize<=this.maxDataSize)){this._maxDataSizeExceeded=!0;var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this.emit("error",new Error(e))}};var Ic=t,Lc=n.Stream,Pc=$c,Dc=Uc;function Uc(){this.writable=!1,this.readable=!0,this.dataSize=0,this.maxDataSize=2097152,this.pauseStreams=!0,this._released=!1,this._streams=[],this._currentStream=null,this._insideLoop=!1,this._pendingNext=!1}Ic.inherits(Uc,Lc),Uc.create=function(e){var t=new this;for(var n in e=e||{})t[n]=e[n];return t},Uc.isStreamLike=function(e){return"function"!=typeof e&&"string"!=typeof e&&"boolean"!=typeof e&&"number"!=typeof e&&!Buffer.isBuffer(e)},Uc.prototype.append=function(e){if(Uc.isStreamLike(e)){if(!(e instanceof Pc)){var t=Pc.create(e,{maxDataSize:1/0,pauseStream:this.pauseStreams});e.on("data",this._checkDataSize.bind(this)),e=t}this._handleErrors(e),this.pauseStreams&&e.pause()}return this._streams.push(e),this},Uc.prototype.pipe=function(e,t){return Lc.prototype.pipe.call(this,e,t),this.resume(),e},Uc.prototype._getNext=function(){if(this._currentStream=null,this._insideLoop)this._pendingNext=!0;else{this._insideLoop=!0;try{do{this._pendingNext=!1,this._realGetNext()}while(this._pendingNext)}finally{this._insideLoop=!1}}},Uc.prototype._realGetNext=function(){var e=this._streams.shift();void 0!==e?"function"==typeof e?e(function(e){Uc.isStreamLike(e)&&(e.on("data",this._checkDataSize.bind(this)),this._handleErrors(e)),this._pipeNext(e)}.bind(this)):this._pipeNext(e):this.end()},Uc.prototype._pipeNext=function(e){if(this._currentStream=e,Uc.isStreamLike(e))return e.on("end",this._getNext.bind(this)),void e.pipe(this,{end:!1});var t=e;this.write(t),this._getNext()},Uc.prototype._handleErrors=function(e){var t=this;e.on("error",function(e){t._emitError(e)})},Uc.prototype.write=function(e){this.emit("data",e)},Uc.prototype.pause=function(){this.pauseStreams&&(this.pauseStreams&&this._currentStream&&"function"==typeof this._currentStream.pause&&this._currentStream.pause(),this.emit("pause"))},Uc.prototype.resume=function(){this._released||(this._released=!0,this.writable=!0,this._getNext()),this.pauseStreams&&this._currentStream&&"function"==typeof this._currentStream.resume&&this._currentStream.resume(),this.emit("resume")},Uc.prototype.end=function(){this._reset(),this.emit("end")},Uc.prototype.destroy=function(){this._reset(),this.emit("close")},Uc.prototype._reset=function(){this.writable=!1,this._streams=[],this._currentStream=null},Uc.prototype._checkDataSize=function(){if(this._updateDataSize(),!(this.dataSize<=this.maxDataSize)){var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this._emitError(new Error(e))}},Uc.prototype._updateDataSize=function(){this.dataSize=0;var e=this;this._streams.forEach(function(t){t.dataSize&&(e.dataSize+=t.dataSize)}),this._currentStream&&this._currentStream.dataSize&&(this.dataSize+=this._currentStream.dataSize)},Uc.prototype._emitError=function(e){this._reset(),this.emit("error",e)};var Bc={},Mc={"application/1d-interleaved-parityfec":{source:"iana"},"application/3gpdash-qoe-report+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/3gpp-ims+xml":{source:"iana",compressible:!0},"application/3gpphal+json":{source:"iana",compressible:!0},"application/3gpphalforms+json":{source:"iana",compressible:!0},"application/a2l":{source:"iana"},"application/ace+cbor":{source:"iana"},"application/activemessage":{source:"iana"},"application/activity+json":{source:"iana",compressible:!0},"application/alto-costmap+json":{source:"iana",compressible:!0},"application/alto-costmapfilter+json":{source:"iana",compressible:!0},"application/alto-directory+json":{source:"iana",compressible:!0},"application/alto-endpointcost+json":{source:"iana",compressible:!0},"application/alto-endpointcostparams+json":{source:"iana",compressible:!0},"application/alto-endpointprop+json":{source:"iana",compressible:!0},"application/alto-endpointpropparams+json":{source:"iana",compressible:!0},"application/alto-error+json":{source:"iana",compressible:!0},"application/alto-networkmap+json":{source:"iana",compressible:!0},"application/alto-networkmapfilter+json":{source:"iana",compressible:!0},"application/alto-updatestreamcontrol+json":{source:"iana",compressible:!0},"application/alto-updatestreamparams+json":{source:"iana",compressible:!0},"application/aml":{source:"iana"},"application/andrew-inset":{source:"iana",extensions:["ez"]},"application/applefile":{source:"iana"},"application/applixware":{source:"apache",extensions:["aw"]},"application/at+jwt":{source:"iana"},"application/atf":{source:"iana"},"application/atfx":{source:"iana"},"application/atom+xml":{source:"iana",compressible:!0,extensions:["atom"]},"application/atomcat+xml":{source:"iana",compressible:!0,extensions:["atomcat"]},"application/atomdeleted+xml":{source:"iana",compressible:!0,extensions:["atomdeleted"]},"application/atomicmail":{source:"iana"},"application/atomsvc+xml":{source:"iana",compressible:!0,extensions:["atomsvc"]},"application/atsc-dwd+xml":{source:"iana",compressible:!0,extensions:["dwd"]},"application/atsc-dynamic-event-message":{source:"iana"},"application/atsc-held+xml":{source:"iana",compressible:!0,extensions:["held"]},"application/atsc-rdt+json":{source:"iana",compressible:!0},"application/atsc-rsat+xml":{source:"iana",compressible:!0,extensions:["rsat"]},"application/atxml":{source:"iana"},"application/auth-policy+xml":{source:"iana",compressible:!0},"application/bacnet-xdd+zip":{source:"iana",compressible:!1},"application/batch-smtp":{source:"iana"},"application/bdoc":{compressible:!1,extensions:["bdoc"]},"application/beep+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/calendar+json":{source:"iana",compressible:!0},"application/calendar+xml":{source:"iana",compressible:!0,extensions:["xcs"]},"application/call-completion":{source:"iana"},"application/cals-1840":{source:"iana"},"application/captive+json":{source:"iana",compressible:!0},"application/cbor":{source:"iana"},"application/cbor-seq":{source:"iana"},"application/cccex":{source:"iana"},"application/ccmp+xml":{source:"iana",compressible:!0},"application/ccxml+xml":{source:"iana",compressible:!0,extensions:["ccxml"]},"application/cdfx+xml":{source:"iana",compressible:!0,extensions:["cdfx"]},"application/cdmi-capability":{source:"iana",extensions:["cdmia"]},"application/cdmi-container":{source:"iana",extensions:["cdmic"]},"application/cdmi-domain":{source:"iana",extensions:["cdmid"]},"application/cdmi-object":{source:"iana",extensions:["cdmio"]},"application/cdmi-queue":{source:"iana",extensions:["cdmiq"]},"application/cdni":{source:"iana"},"application/cea":{source:"iana"},"application/cea-2018+xml":{source:"iana",compressible:!0},"application/cellml+xml":{source:"iana",compressible:!0},"application/cfw":{source:"iana"},"application/city+json":{source:"iana",compressible:!0},"application/clr":{source:"iana"},"application/clue+xml":{source:"iana",compressible:!0},"application/clue_info+xml":{source:"iana",compressible:!0},"application/cms":{source:"iana"},"application/cnrp+xml":{source:"iana",compressible:!0},"application/coap-group+json":{source:"iana",compressible:!0},"application/coap-payload":{source:"iana"},"application/commonground":{source:"iana"},"application/conference-info+xml":{source:"iana",compressible:!0},"application/cose":{source:"iana"},"application/cose-key":{source:"iana"},"application/cose-key-set":{source:"iana"},"application/cpl+xml":{source:"iana",compressible:!0,extensions:["cpl"]},"application/csrattrs":{source:"iana"},"application/csta+xml":{source:"iana",compressible:!0},"application/cstadata+xml":{source:"iana",compressible:!0},"application/csvm+json":{source:"iana",compressible:!0},"application/cu-seeme":{source:"apache",extensions:["cu"]},"application/cwt":{source:"iana"},"application/cybercash":{source:"iana"},"application/dart":{compressible:!0},"application/dash+xml":{source:"iana",compressible:!0,extensions:["mpd"]},"application/dash-patch+xml":{source:"iana",compressible:!0,extensions:["mpp"]},"application/dashdelta":{source:"iana"},"application/davmount+xml":{source:"iana",compressible:!0,extensions:["davmount"]},"application/dca-rft":{source:"iana"},"application/dcd":{source:"iana"},"application/dec-dx":{source:"iana"},"application/dialog-info+xml":{source:"iana",compressible:!0},"application/dicom":{source:"iana"},"application/dicom+json":{source:"iana",compressible:!0},"application/dicom+xml":{source:"iana",compressible:!0},"application/dii":{source:"iana"},"application/dit":{source:"iana"},"application/dns":{source:"iana"},"application/dns+json":{source:"iana",compressible:!0},"application/dns-message":{source:"iana"},"application/docbook+xml":{source:"apache",compressible:!0,extensions:["dbk"]},"application/dots+cbor":{source:"iana"},"application/dskpp+xml":{source:"iana",compressible:!0},"application/dssc+der":{source:"iana",extensions:["dssc"]},"application/dssc+xml":{source:"iana",compressible:!0,extensions:["xdssc"]},"application/dvcs":{source:"iana"},"application/ecmascript":{source:"iana",compressible:!0,extensions:["es","ecma"]},"application/edi-consent":{source:"iana"},"application/edi-x12":{source:"iana",compressible:!1},"application/edifact":{source:"iana",compressible:!1},"application/efi":{source:"iana"},"application/elm+json":{source:"iana",charset:"UTF-8",compressible:!0},"application/elm+xml":{source:"iana",compressible:!0},"application/emergencycalldata.cap+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/emergencycalldata.comment+xml":{source:"iana",compressible:!0},"application/emergencycalldata.control+xml":{source:"iana",compressible:!0},"application/emergencycalldata.deviceinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.ecall.msd":{source:"iana"},"application/emergencycalldata.providerinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.serviceinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.subscriberinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.veds+xml":{source:"iana",compressible:!0},"application/emma+xml":{source:"iana",compressible:!0,extensions:["emma"]},"application/emotionml+xml":{source:"iana",compressible:!0,extensions:["emotionml"]},"application/encaprtp":{source:"iana"},"application/epp+xml":{source:"iana",compressible:!0},"application/epub+zip":{source:"iana",compressible:!1,extensions:["epub"]},"application/eshop":{source:"iana"},"application/exi":{source:"iana",extensions:["exi"]},"application/expect-ct-report+json":{source:"iana",compressible:!0},"application/express":{source:"iana",extensions:["exp"]},"application/fastinfoset":{source:"iana"},"application/fastsoap":{source:"iana"},"application/fdt+xml":{source:"iana",compressible:!0,extensions:["fdt"]},"application/fhir+json":{source:"iana",charset:"UTF-8",compressible:!0},"application/fhir+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/fido.trusted-apps+json":{compressible:!0},"application/fits":{source:"iana"},"application/flexfec":{source:"iana"},"application/font-sfnt":{source:"iana"},"application/font-tdpfr":{source:"iana",extensions:["pfr"]},"application/font-woff":{source:"iana",compressible:!1},"application/framework-attributes+xml":{source:"iana",compressible:!0},"application/geo+json":{source:"iana",compressible:!0,extensions:["geojson"]},"application/geo+json-seq":{source:"iana"},"application/geopackage+sqlite3":{source:"iana"},"application/geoxacml+xml":{source:"iana",compressible:!0},"application/gltf-buffer":{source:"iana"},"application/gml+xml":{source:"iana",compressible:!0,extensions:["gml"]},"application/gpx+xml":{source:"apache",compressible:!0,extensions:["gpx"]},"application/gxf":{source:"apache",extensions:["gxf"]},"application/gzip":{source:"iana",compressible:!1,extensions:["gz"]},"application/h224":{source:"iana"},"application/held+xml":{source:"iana",compressible:!0},"application/hjson":{extensions:["hjson"]},"application/http":{source:"iana"},"application/hyperstudio":{source:"iana",extensions:["stk"]},"application/ibe-key-request+xml":{source:"iana",compressible:!0},"application/ibe-pkg-reply+xml":{source:"iana",compressible:!0},"application/ibe-pp-data":{source:"iana"},"application/iges":{source:"iana"},"application/im-iscomposing+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/index":{source:"iana"},"application/index.cmd":{source:"iana"},"application/index.obj":{source:"iana"},"application/index.response":{source:"iana"},"application/index.vnd":{source:"iana"},"application/inkml+xml":{source:"iana",compressible:!0,extensions:["ink","inkml"]},"application/iotp":{source:"iana"},"application/ipfix":{source:"iana",extensions:["ipfix"]},"application/ipp":{source:"iana"},"application/isup":{source:"iana"},"application/its+xml":{source:"iana",compressible:!0,extensions:["its"]},"application/java-archive":{source:"apache",compressible:!1,extensions:["jar","war","ear"]},"application/java-serialized-object":{source:"apache",compressible:!1,extensions:["ser"]},"application/java-vm":{source:"apache",compressible:!1,extensions:["class"]},"application/javascript":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["js","mjs"]},"application/jf2feed+json":{source:"iana",compressible:!0},"application/jose":{source:"iana"},"application/jose+json":{source:"iana",compressible:!0},"application/jrd+json":{source:"iana",compressible:!0},"application/jscalendar+json":{source:"iana",compressible:!0},"application/json":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["json","map"]},"application/json-patch+json":{source:"iana",compressible:!0},"application/json-seq":{source:"iana"},"application/json5":{extensions:["json5"]},"application/jsonml+json":{source:"apache",compressible:!0,extensions:["jsonml"]},"application/jwk+json":{source:"iana",compressible:!0},"application/jwk-set+json":{source:"iana",compressible:!0},"application/jwt":{source:"iana"},"application/kpml-request+xml":{source:"iana",compressible:!0},"application/kpml-response+xml":{source:"iana",compressible:!0},"application/ld+json":{source:"iana",compressible:!0,extensions:["jsonld"]},"application/lgr+xml":{source:"iana",compressible:!0,extensions:["lgr"]},"application/link-format":{source:"iana"},"application/load-control+xml":{source:"iana",compressible:!0},"application/lost+xml":{source:"iana",compressible:!0,extensions:["lostxml"]},"application/lostsync+xml":{source:"iana",compressible:!0},"application/lpf+zip":{source:"iana",compressible:!1},"application/lxf":{source:"iana"},"application/mac-binhex40":{source:"iana",extensions:["hqx"]},"application/mac-compactpro":{source:"apache",extensions:["cpt"]},"application/macwriteii":{source:"iana"},"application/mads+xml":{source:"iana",compressible:!0,extensions:["mads"]},"application/manifest+json":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["webmanifest"]},"application/marc":{source:"iana",extensions:["mrc"]},"application/marcxml+xml":{source:"iana",compressible:!0,extensions:["mrcx"]},"application/mathematica":{source:"iana",extensions:["ma","nb","mb"]},"application/mathml+xml":{source:"iana",compressible:!0,extensions:["mathml"]},"application/mathml-content+xml":{source:"iana",compressible:!0},"application/mathml-presentation+xml":{source:"iana",compressible:!0},"application/mbms-associated-procedure-description+xml":{source:"iana",compressible:!0},"application/mbms-deregister+xml":{source:"iana",compressible:!0},"application/mbms-envelope+xml":{source:"iana",compressible:!0},"application/mbms-msk+xml":{source:"iana",compressible:!0},"application/mbms-msk-response+xml":{source:"iana",compressible:!0},"application/mbms-protection-description+xml":{source:"iana",compressible:!0},"application/mbms-reception-report+xml":{source:"iana",compressible:!0},"application/mbms-register+xml":{source:"iana",compressible:!0},"application/mbms-register-response+xml":{source:"iana",compressible:!0},"application/mbms-schedule+xml":{source:"iana",compressible:!0},"application/mbms-user-service-description+xml":{source:"iana",compressible:!0},"application/mbox":{source:"iana",extensions:["mbox"]},"application/media-policy-dataset+xml":{source:"iana",compressible:!0,extensions:["mpf"]},"application/media_control+xml":{source:"iana",compressible:!0},"application/mediaservercontrol+xml":{source:"iana",compressible:!0,extensions:["mscml"]},"application/merge-patch+json":{source:"iana",compressible:!0},"application/metalink+xml":{source:"apache",compressible:!0,extensions:["metalink"]},"application/metalink4+xml":{source:"iana",compressible:!0,extensions:["meta4"]},"application/mets+xml":{source:"iana",compressible:!0,extensions:["mets"]},"application/mf4":{source:"iana"},"application/mikey":{source:"iana"},"application/mipc":{source:"iana"},"application/missing-blocks+cbor-seq":{source:"iana"},"application/mmt-aei+xml":{source:"iana",compressible:!0,extensions:["maei"]},"application/mmt-usd+xml":{source:"iana",compressible:!0,extensions:["musd"]},"application/mods+xml":{source:"iana",compressible:!0,extensions:["mods"]},"application/moss-keys":{source:"iana"},"application/moss-signature":{source:"iana"},"application/mosskey-data":{source:"iana"},"application/mosskey-request":{source:"iana"},"application/mp21":{source:"iana",extensions:["m21","mp21"]},"application/mp4":{source:"iana",extensions:["mp4s","m4p"]},"application/mpeg4-generic":{source:"iana"},"application/mpeg4-iod":{source:"iana"},"application/mpeg4-iod-xmt":{source:"iana"},"application/mrb-consumer+xml":{source:"iana",compressible:!0},"application/mrb-publish+xml":{source:"iana",compressible:!0},"application/msc-ivr+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/msc-mixer+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/msword":{source:"iana",compressible:!1,extensions:["doc","dot"]},"application/mud+json":{source:"iana",compressible:!0},"application/multipart-core":{source:"iana"},"application/mxf":{source:"iana",extensions:["mxf"]},"application/n-quads":{source:"iana",extensions:["nq"]},"application/n-triples":{source:"iana",extensions:["nt"]},"application/nasdata":{source:"iana"},"application/news-checkgroups":{source:"iana",charset:"US-ASCII"},"application/news-groupinfo":{source:"iana",charset:"US-ASCII"},"application/news-transmission":{source:"iana"},"application/nlsml+xml":{source:"iana",compressible:!0},"application/node":{source:"iana",extensions:["cjs"]},"application/nss":{source:"iana"},"application/oauth-authz-req+jwt":{source:"iana"},"application/oblivious-dns-message":{source:"iana"},"application/ocsp-request":{source:"iana"},"application/ocsp-response":{source:"iana"},"application/octet-stream":{source:"iana",compressible:!1,extensions:["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"]},"application/oda":{source:"iana",extensions:["oda"]},"application/odm+xml":{source:"iana",compressible:!0},"application/odx":{source:"iana"},"application/oebps-package+xml":{source:"iana",compressible:!0,extensions:["opf"]},"application/ogg":{source:"iana",compressible:!1,extensions:["ogx"]},"application/omdoc+xml":{source:"apache",compressible:!0,extensions:["omdoc"]},"application/onenote":{source:"apache",extensions:["onetoc","onetoc2","onetmp","onepkg"]},"application/opc-nodeset+xml":{source:"iana",compressible:!0},"application/oscore":{source:"iana"},"application/oxps":{source:"iana",extensions:["oxps"]},"application/p21":{source:"iana"},"application/p21+zip":{source:"iana",compressible:!1},"application/p2p-overlay+xml":{source:"iana",compressible:!0,extensions:["relo"]},"application/parityfec":{source:"iana"},"application/passport":{source:"iana"},"application/patch-ops-error+xml":{source:"iana",compressible:!0,extensions:["xer"]},"application/pdf":{source:"iana",compressible:!1,extensions:["pdf"]},"application/pdx":{source:"iana"},"application/pem-certificate-chain":{source:"iana"},"application/pgp-encrypted":{source:"iana",compressible:!1,extensions:["pgp"]},"application/pgp-keys":{source:"iana",extensions:["asc"]},"application/pgp-signature":{source:"iana",extensions:["asc","sig"]},"application/pics-rules":{source:"apache",extensions:["prf"]},"application/pidf+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/pidf-diff+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/pkcs10":{source:"iana",extensions:["p10"]},"application/pkcs12":{source:"iana"},"application/pkcs7-mime":{source:"iana",extensions:["p7m","p7c"]},"application/pkcs7-signature":{source:"iana",extensions:["p7s"]},"application/pkcs8":{source:"iana",extensions:["p8"]},"application/pkcs8-encrypted":{source:"iana"},"application/pkix-attr-cert":{source:"iana",extensions:["ac"]},"application/pkix-cert":{source:"iana",extensions:["cer"]},"application/pkix-crl":{source:"iana",extensions:["crl"]},"application/pkix-pkipath":{source:"iana",extensions:["pkipath"]},"application/pkixcmp":{source:"iana",extensions:["pki"]},"application/pls+xml":{source:"iana",compressible:!0,extensions:["pls"]},"application/poc-settings+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/postscript":{source:"iana",compressible:!0,extensions:["ai","eps","ps"]},"application/ppsp-tracker+json":{source:"iana",compressible:!0},"application/problem+json":{source:"iana",compressible:!0},"application/problem+xml":{source:"iana",compressible:!0},"application/provenance+xml":{source:"iana",compressible:!0,extensions:["provx"]},"application/prs.alvestrand.titrax-sheet":{source:"iana"},"application/prs.cww":{source:"iana",extensions:["cww"]},"application/prs.cyn":{source:"iana",charset:"7-BIT"},"application/prs.hpub+zip":{source:"iana",compressible:!1},"application/prs.nprend":{source:"iana"},"application/prs.plucker":{source:"iana"},"application/prs.rdf-xml-crypt":{source:"iana"},"application/prs.xsf+xml":{source:"iana",compressible:!0},"application/pskc+xml":{source:"iana",compressible:!0,extensions:["pskcxml"]},"application/pvd+json":{source:"iana",compressible:!0},"application/qsig":{source:"iana"},"application/raml+yaml":{compressible:!0,extensions:["raml"]},"application/raptorfec":{source:"iana"},"application/rdap+json":{source:"iana",compressible:!0},"application/rdf+xml":{source:"iana",compressible:!0,extensions:["rdf","owl"]},"application/reginfo+xml":{source:"iana",compressible:!0,extensions:["rif"]},"application/relax-ng-compact-syntax":{source:"iana",extensions:["rnc"]},"application/remote-printing":{source:"iana"},"application/reputon+json":{source:"iana",compressible:!0},"application/resource-lists+xml":{source:"iana",compressible:!0,extensions:["rl"]},"application/resource-lists-diff+xml":{source:"iana",compressible:!0,extensions:["rld"]},"application/rfc+xml":{source:"iana",compressible:!0},"application/riscos":{source:"iana"},"application/rlmi+xml":{source:"iana",compressible:!0},"application/rls-services+xml":{source:"iana",compressible:!0,extensions:["rs"]},"application/route-apd+xml":{source:"iana",compressible:!0,extensions:["rapd"]},"application/route-s-tsid+xml":{source:"iana",compressible:!0,extensions:["sls"]},"application/route-usd+xml":{source:"iana",compressible:!0,extensions:["rusd"]},"application/rpki-ghostbusters":{source:"iana",extensions:["gbr"]},"application/rpki-manifest":{source:"iana",extensions:["mft"]},"application/rpki-publication":{source:"iana"},"application/rpki-roa":{source:"iana",extensions:["roa"]},"application/rpki-updown":{source:"iana"},"application/rsd+xml":{source:"apache",compressible:!0,extensions:["rsd"]},"application/rss+xml":{source:"apache",compressible:!0,extensions:["rss"]},"application/rtf":{source:"iana",compressible:!0,extensions:["rtf"]},"application/rtploopback":{source:"iana"},"application/rtx":{source:"iana"},"application/samlassertion+xml":{source:"iana",compressible:!0},"application/samlmetadata+xml":{source:"iana",compressible:!0},"application/sarif+json":{source:"iana",compressible:!0},"application/sarif-external-properties+json":{source:"iana",compressible:!0},"application/sbe":{source:"iana"},"application/sbml+xml":{source:"iana",compressible:!0,extensions:["sbml"]},"application/scaip+xml":{source:"iana",compressible:!0},"application/scim+json":{source:"iana",compressible:!0},"application/scvp-cv-request":{source:"iana",extensions:["scq"]},"application/scvp-cv-response":{source:"iana",extensions:["scs"]},"application/scvp-vp-request":{source:"iana",extensions:["spq"]},"application/scvp-vp-response":{source:"iana",extensions:["spp"]},"application/sdp":{source:"iana",extensions:["sdp"]},"application/secevent+jwt":{source:"iana"},"application/senml+cbor":{source:"iana"},"application/senml+json":{source:"iana",compressible:!0},"application/senml+xml":{source:"iana",compressible:!0,extensions:["senmlx"]},"application/senml-etch+cbor":{source:"iana"},"application/senml-etch+json":{source:"iana",compressible:!0},"application/senml-exi":{source:"iana"},"application/sensml+cbor":{source:"iana"},"application/sensml+json":{source:"iana",compressible:!0},"application/sensml+xml":{source:"iana",compressible:!0,extensions:["sensmlx"]},"application/sensml-exi":{source:"iana"},"application/sep+xml":{source:"iana",compressible:!0},"application/sep-exi":{source:"iana"},"application/session-info":{source:"iana"},"application/set-payment":{source:"iana"},"application/set-payment-initiation":{source:"iana",extensions:["setpay"]},"application/set-registration":{source:"iana"},"application/set-registration-initiation":{source:"iana",extensions:["setreg"]},"application/sgml":{source:"iana"},"application/sgml-open-catalog":{source:"iana"},"application/shf+xml":{source:"iana",compressible:!0,extensions:["shf"]},"application/sieve":{source:"iana",extensions:["siv","sieve"]},"application/simple-filter+xml":{source:"iana",compressible:!0},"application/simple-message-summary":{source:"iana"},"application/simplesymbolcontainer":{source:"iana"},"application/sipc":{source:"iana"},"application/slate":{source:"iana"},"application/smil":{source:"iana"},"application/smil+xml":{source:"iana",compressible:!0,extensions:["smi","smil"]},"application/smpte336m":{source:"iana"},"application/soap+fastinfoset":{source:"iana"},"application/soap+xml":{source:"iana",compressible:!0},"application/sparql-query":{source:"iana",extensions:["rq"]},"application/sparql-results+xml":{source:"iana",compressible:!0,extensions:["srx"]},"application/spdx+json":{source:"iana",compressible:!0},"application/spirits-event+xml":{source:"iana",compressible:!0},"application/sql":{source:"iana"},"application/srgs":{source:"iana",extensions:["gram"]},"application/srgs+xml":{source:"iana",compressible:!0,extensions:["grxml"]},"application/sru+xml":{source:"iana",compressible:!0,extensions:["sru"]},"application/ssdl+xml":{source:"apache",compressible:!0,extensions:["ssdl"]},"application/ssml+xml":{source:"iana",compressible:!0,extensions:["ssml"]},"application/stix+json":{source:"iana",compressible:!0},"application/swid+xml":{source:"iana",compressible:!0,extensions:["swidtag"]},"application/tamp-apex-update":{source:"iana"},"application/tamp-apex-update-confirm":{source:"iana"},"application/tamp-community-update":{source:"iana"},"application/tamp-community-update-confirm":{source:"iana"},"application/tamp-error":{source:"iana"},"application/tamp-sequence-adjust":{source:"iana"},"application/tamp-sequence-adjust-confirm":{source:"iana"},"application/tamp-status-query":{source:"iana"},"application/tamp-status-response":{source:"iana"},"application/tamp-update":{source:"iana"},"application/tamp-update-confirm":{source:"iana"},"application/tar":{compressible:!0},"application/taxii+json":{source:"iana",compressible:!0},"application/td+json":{source:"iana",compressible:!0},"application/tei+xml":{source:"iana",compressible:!0,extensions:["tei","teicorpus"]},"application/tetra_isi":{source:"iana"},"application/thraud+xml":{source:"iana",compressible:!0,extensions:["tfi"]},"application/timestamp-query":{source:"iana"},"application/timestamp-reply":{source:"iana"},"application/timestamped-data":{source:"iana",extensions:["tsd"]},"application/tlsrpt+gzip":{source:"iana"},"application/tlsrpt+json":{source:"iana",compressible:!0},"application/tnauthlist":{source:"iana"},"application/token-introspection+jwt":{source:"iana"},"application/toml":{compressible:!0,extensions:["toml"]},"application/trickle-ice-sdpfrag":{source:"iana"},"application/trig":{source:"iana",extensions:["trig"]},"application/ttml+xml":{source:"iana",compressible:!0,extensions:["ttml"]},"application/tve-trigger":{source:"iana"},"application/tzif":{source:"iana"},"application/tzif-leap":{source:"iana"},"application/ubjson":{compressible:!1,extensions:["ubj"]},"application/ulpfec":{source:"iana"},"application/urc-grpsheet+xml":{source:"iana",compressible:!0},"application/urc-ressheet+xml":{source:"iana",compressible:!0,extensions:["rsheet"]},"application/urc-targetdesc+xml":{source:"iana",compressible:!0,extensions:["td"]},"application/urc-uisocketdesc+xml":{source:"iana",compressible:!0},"application/vcard+json":{source:"iana",compressible:!0},"application/vcard+xml":{source:"iana",compressible:!0},"application/vemmi":{source:"iana"},"application/vividence.scriptfile":{source:"apache"},"application/vnd.1000minds.decision-model+xml":{source:"iana",compressible:!0,extensions:["1km"]},"application/vnd.3gpp-prose+xml":{source:"iana",compressible:!0},"application/vnd.3gpp-prose-pc3ch+xml":{source:"iana",compressible:!0},"application/vnd.3gpp-v2x-local-service-information":{source:"iana"},"application/vnd.3gpp.5gnas":{source:"iana"},"application/vnd.3gpp.access-transfer-events+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.bsf+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.gmop+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.gtpc":{source:"iana"},"application/vnd.3gpp.interworking-data":{source:"iana"},"application/vnd.3gpp.lpp":{source:"iana"},"application/vnd.3gpp.mc-signalling-ear":{source:"iana"},"application/vnd.3gpp.mcdata-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-payload":{source:"iana"},"application/vnd.3gpp.mcdata-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-signalling":{source:"iana"},"application/vnd.3gpp.mcdata-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-floor-request+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-location-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-mbms-usage-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-signed+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-ue-init-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-affiliation-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-location-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-mbms-usage-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-transmission-request+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mid-call+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.ngap":{source:"iana"},"application/vnd.3gpp.pfcp":{source:"iana"},"application/vnd.3gpp.pic-bw-large":{source:"iana",extensions:["plb"]},"application/vnd.3gpp.pic-bw-small":{source:"iana",extensions:["psb"]},"application/vnd.3gpp.pic-bw-var":{source:"iana",extensions:["pvb"]},"application/vnd.3gpp.s1ap":{source:"iana"},"application/vnd.3gpp.sms":{source:"iana"},"application/vnd.3gpp.sms+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.srvcc-ext+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.srvcc-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.state-and-event-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.ussd+xml":{source:"iana",compressible:!0},"application/vnd.3gpp2.bcmcsinfo+xml":{source:"iana",compressible:!0},"application/vnd.3gpp2.sms":{source:"iana"},"application/vnd.3gpp2.tcap":{source:"iana",extensions:["tcap"]},"application/vnd.3lightssoftware.imagescal":{source:"iana"},"application/vnd.3m.post-it-notes":{source:"iana",extensions:["pwn"]},"application/vnd.accpac.simply.aso":{source:"iana",extensions:["aso"]},"application/vnd.accpac.simply.imp":{source:"iana",extensions:["imp"]},"application/vnd.acucobol":{source:"iana",extensions:["acu"]},"application/vnd.acucorp":{source:"iana",extensions:["atc","acutc"]},"application/vnd.adobe.air-application-installer-package+zip":{source:"apache",compressible:!1,extensions:["air"]},"application/vnd.adobe.flash.movie":{source:"iana"},"application/vnd.adobe.formscentral.fcdt":{source:"iana",extensions:["fcdt"]},"application/vnd.adobe.fxp":{source:"iana",extensions:["fxp","fxpl"]},"application/vnd.adobe.partial-upload":{source:"iana"},"application/vnd.adobe.xdp+xml":{source:"iana",compressible:!0,extensions:["xdp"]},"application/vnd.adobe.xfdf":{source:"iana",extensions:["xfdf"]},"application/vnd.aether.imp":{source:"iana"},"application/vnd.afpc.afplinedata":{source:"iana"},"application/vnd.afpc.afplinedata-pagedef":{source:"iana"},"application/vnd.afpc.cmoca-cmresource":{source:"iana"},"application/vnd.afpc.foca-charset":{source:"iana"},"application/vnd.afpc.foca-codedfont":{source:"iana"},"application/vnd.afpc.foca-codepage":{source:"iana"},"application/vnd.afpc.modca":{source:"iana"},"application/vnd.afpc.modca-cmtable":{source:"iana"},"application/vnd.afpc.modca-formdef":{source:"iana"},"application/vnd.afpc.modca-mediummap":{source:"iana"},"application/vnd.afpc.modca-objectcontainer":{source:"iana"},"application/vnd.afpc.modca-overlay":{source:"iana"},"application/vnd.afpc.modca-pagesegment":{source:"iana"},"application/vnd.age":{source:"iana",extensions:["age"]},"application/vnd.ah-barcode":{source:"iana"},"application/vnd.ahead.space":{source:"iana",extensions:["ahead"]},"application/vnd.airzip.filesecure.azf":{source:"iana",extensions:["azf"]},"application/vnd.airzip.filesecure.azs":{source:"iana",extensions:["azs"]},"application/vnd.amadeus+json":{source:"iana",compressible:!0},"application/vnd.amazon.ebook":{source:"apache",extensions:["azw"]},"application/vnd.amazon.mobi8-ebook":{source:"iana"},"application/vnd.americandynamics.acc":{source:"iana",extensions:["acc"]},"application/vnd.amiga.ami":{source:"iana",extensions:["ami"]},"application/vnd.amundsen.maze+xml":{source:"iana",compressible:!0},"application/vnd.android.ota":{source:"iana"},"application/vnd.android.package-archive":{source:"apache",compressible:!1,extensions:["apk"]},"application/vnd.anki":{source:"iana"},"application/vnd.anser-web-certificate-issue-initiation":{source:"iana",extensions:["cii"]},"application/vnd.anser-web-funds-transfer-initiation":{source:"apache",extensions:["fti"]},"application/vnd.antix.game-component":{source:"iana",extensions:["atx"]},"application/vnd.apache.arrow.file":{source:"iana"},"application/vnd.apache.arrow.stream":{source:"iana"},"application/vnd.apache.thrift.binary":{source:"iana"},"application/vnd.apache.thrift.compact":{source:"iana"},"application/vnd.apache.thrift.json":{source:"iana"},"application/vnd.api+json":{source:"iana",compressible:!0},"application/vnd.aplextor.warrp+json":{source:"iana",compressible:!0},"application/vnd.apothekende.reservation+json":{source:"iana",compressible:!0},"application/vnd.apple.installer+xml":{source:"iana",compressible:!0,extensions:["mpkg"]},"application/vnd.apple.keynote":{source:"iana",extensions:["key"]},"application/vnd.apple.mpegurl":{source:"iana",extensions:["m3u8"]},"application/vnd.apple.numbers":{source:"iana",extensions:["numbers"]},"application/vnd.apple.pages":{source:"iana",extensions:["pages"]},"application/vnd.apple.pkpass":{compressible:!1,extensions:["pkpass"]},"application/vnd.arastra.swi":{source:"iana"},"application/vnd.aristanetworks.swi":{source:"iana",extensions:["swi"]},"application/vnd.artisan+json":{source:"iana",compressible:!0},"application/vnd.artsquare":{source:"iana"},"application/vnd.astraea-software.iota":{source:"iana",extensions:["iota"]},"application/vnd.audiograph":{source:"iana",extensions:["aep"]},"application/vnd.autopackage":{source:"iana"},"application/vnd.avalon+json":{source:"iana",compressible:!0},"application/vnd.avistar+xml":{source:"iana",compressible:!0},"application/vnd.balsamiq.bmml+xml":{source:"iana",compressible:!0,extensions:["bmml"]},"application/vnd.balsamiq.bmpr":{source:"iana"},"application/vnd.banana-accounting":{source:"iana"},"application/vnd.bbf.usp.error":{source:"iana"},"application/vnd.bbf.usp.msg":{source:"iana"},"application/vnd.bbf.usp.msg+json":{source:"iana",compressible:!0},"application/vnd.bekitzur-stech+json":{source:"iana",compressible:!0},"application/vnd.bint.med-content":{source:"iana"},"application/vnd.biopax.rdf+xml":{source:"iana",compressible:!0},"application/vnd.blink-idb-value-wrapper":{source:"iana"},"application/vnd.blueice.multipass":{source:"iana",extensions:["mpm"]},"application/vnd.bluetooth.ep.oob":{source:"iana"},"application/vnd.bluetooth.le.oob":{source:"iana"},"application/vnd.bmi":{source:"iana",extensions:["bmi"]},"application/vnd.bpf":{source:"iana"},"application/vnd.bpf3":{source:"iana"},"application/vnd.businessobjects":{source:"iana",extensions:["rep"]},"application/vnd.byu.uapi+json":{source:"iana",compressible:!0},"application/vnd.cab-jscript":{source:"iana"},"application/vnd.canon-cpdl":{source:"iana"},"application/vnd.canon-lips":{source:"iana"},"application/vnd.capasystems-pg+json":{source:"iana",compressible:!0},"application/vnd.cendio.thinlinc.clientconf":{source:"iana"},"application/vnd.century-systems.tcp_stream":{source:"iana"},"application/vnd.chemdraw+xml":{source:"iana",compressible:!0,extensions:["cdxml"]},"application/vnd.chess-pgn":{source:"iana"},"application/vnd.chipnuts.karaoke-mmd":{source:"iana",extensions:["mmd"]},"application/vnd.ciedi":{source:"iana"},"application/vnd.cinderella":{source:"iana",extensions:["cdy"]},"application/vnd.cirpack.isdn-ext":{source:"iana"},"application/vnd.citationstyles.style+xml":{source:"iana",compressible:!0,extensions:["csl"]},"application/vnd.claymore":{source:"iana",extensions:["cla"]},"application/vnd.cloanto.rp9":{source:"iana",extensions:["rp9"]},"application/vnd.clonk.c4group":{source:"iana",extensions:["c4g","c4d","c4f","c4p","c4u"]},"application/vnd.cluetrust.cartomobile-config":{source:"iana",extensions:["c11amc"]},"application/vnd.cluetrust.cartomobile-config-pkg":{source:"iana",extensions:["c11amz"]},"application/vnd.coffeescript":{source:"iana"},"application/vnd.collabio.xodocuments.document":{source:"iana"},"application/vnd.collabio.xodocuments.document-template":{source:"iana"},"application/vnd.collabio.xodocuments.presentation":{source:"iana"},"application/vnd.collabio.xodocuments.presentation-template":{source:"iana"},"application/vnd.collabio.xodocuments.spreadsheet":{source:"iana"},"application/vnd.collabio.xodocuments.spreadsheet-template":{source:"iana"},"application/vnd.collection+json":{source:"iana",compressible:!0},"application/vnd.collection.doc+json":{source:"iana",compressible:!0},"application/vnd.collection.next+json":{source:"iana",compressible:!0},"application/vnd.comicbook+zip":{source:"iana",compressible:!1},"application/vnd.comicbook-rar":{source:"iana"},"application/vnd.commerce-battelle":{source:"iana"},"application/vnd.commonspace":{source:"iana",extensions:["csp"]},"application/vnd.contact.cmsg":{source:"iana",extensions:["cdbcmsg"]},"application/vnd.coreos.ignition+json":{source:"iana",compressible:!0},"application/vnd.cosmocaller":{source:"iana",extensions:["cmc"]},"application/vnd.crick.clicker":{source:"iana",extensions:["clkx"]},"application/vnd.crick.clicker.keyboard":{source:"iana",extensions:["clkk"]},"application/vnd.crick.clicker.palette":{source:"iana",extensions:["clkp"]},"application/vnd.crick.clicker.template":{source:"iana",extensions:["clkt"]},"application/vnd.crick.clicker.wordbank":{source:"iana",extensions:["clkw"]},"application/vnd.criticaltools.wbs+xml":{source:"iana",compressible:!0,extensions:["wbs"]},"application/vnd.cryptii.pipe+json":{source:"iana",compressible:!0},"application/vnd.crypto-shade-file":{source:"iana"},"application/vnd.cryptomator.encrypted":{source:"iana"},"application/vnd.cryptomator.vault":{source:"iana"},"application/vnd.ctc-posml":{source:"iana",extensions:["pml"]},"application/vnd.ctct.ws+xml":{source:"iana",compressible:!0},"application/vnd.cups-pdf":{source:"iana"},"application/vnd.cups-postscript":{source:"iana"},"application/vnd.cups-ppd":{source:"iana",extensions:["ppd"]},"application/vnd.cups-raster":{source:"iana"},"application/vnd.cups-raw":{source:"iana"},"application/vnd.curl":{source:"iana"},"application/vnd.curl.car":{source:"apache",extensions:["car"]},"application/vnd.curl.pcurl":{source:"apache",extensions:["pcurl"]},"application/vnd.cyan.dean.root+xml":{source:"iana",compressible:!0},"application/vnd.cybank":{source:"iana"},"application/vnd.cyclonedx+json":{source:"iana",compressible:!0},"application/vnd.cyclonedx+xml":{source:"iana",compressible:!0},"application/vnd.d2l.coursepackage1p0+zip":{source:"iana",compressible:!1},"application/vnd.d3m-dataset":{source:"iana"},"application/vnd.d3m-problem":{source:"iana"},"application/vnd.dart":{source:"iana",compressible:!0,extensions:["dart"]},"application/vnd.data-vision.rdz":{source:"iana",extensions:["rdz"]},"application/vnd.datapackage+json":{source:"iana",compressible:!0},"application/vnd.dataresource+json":{source:"iana",compressible:!0},"application/vnd.dbf":{source:"iana",extensions:["dbf"]},"application/vnd.debian.binary-package":{source:"iana"},"application/vnd.dece.data":{source:"iana",extensions:["uvf","uvvf","uvd","uvvd"]},"application/vnd.dece.ttml+xml":{source:"iana",compressible:!0,extensions:["uvt","uvvt"]},"application/vnd.dece.unspecified":{source:"iana",extensions:["uvx","uvvx"]},"application/vnd.dece.zip":{source:"iana",extensions:["uvz","uvvz"]},"application/vnd.denovo.fcselayout-link":{source:"iana",extensions:["fe_launch"]},"application/vnd.desmume.movie":{source:"iana"},"application/vnd.dir-bi.plate-dl-nosuffix":{source:"iana"},"application/vnd.dm.delegation+xml":{source:"iana",compressible:!0},"application/vnd.dna":{source:"iana",extensions:["dna"]},"application/vnd.document+json":{source:"iana",compressible:!0},"application/vnd.dolby.mlp":{source:"apache",extensions:["mlp"]},"application/vnd.dolby.mobile.1":{source:"iana"},"application/vnd.dolby.mobile.2":{source:"iana"},"application/vnd.doremir.scorecloud-binary-document":{source:"iana"},"application/vnd.dpgraph":{source:"iana",extensions:["dpg"]},"application/vnd.dreamfactory":{source:"iana",extensions:["dfac"]},"application/vnd.drive+json":{source:"iana",compressible:!0},"application/vnd.ds-keypoint":{source:"apache",extensions:["kpxx"]},"application/vnd.dtg.local":{source:"iana"},"application/vnd.dtg.local.flash":{source:"iana"},"application/vnd.dtg.local.html":{source:"iana"},"application/vnd.dvb.ait":{source:"iana",extensions:["ait"]},"application/vnd.dvb.dvbisl+xml":{source:"iana",compressible:!0},"application/vnd.dvb.dvbj":{source:"iana"},"application/vnd.dvb.esgcontainer":{source:"iana"},"application/vnd.dvb.ipdcdftnotifaccess":{source:"iana"},"application/vnd.dvb.ipdcesgaccess":{source:"iana"},"application/vnd.dvb.ipdcesgaccess2":{source:"iana"},"application/vnd.dvb.ipdcesgpdd":{source:"iana"},"application/vnd.dvb.ipdcroaming":{source:"iana"},"application/vnd.dvb.iptv.alfec-base":{source:"iana"},"application/vnd.dvb.iptv.alfec-enhancement":{source:"iana"},"application/vnd.dvb.notif-aggregate-root+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-container+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-generic+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-msglist+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-registration-request+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-registration-response+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-init+xml":{source:"iana",compressible:!0},"application/vnd.dvb.pfr":{source:"iana"},"application/vnd.dvb.service":{source:"iana",extensions:["svc"]},"application/vnd.dxr":{source:"iana"},"application/vnd.dynageo":{source:"iana",extensions:["geo"]},"application/vnd.dzr":{source:"iana"},"application/vnd.easykaraoke.cdgdownload":{source:"iana"},"application/vnd.ecdis-update":{source:"iana"},"application/vnd.ecip.rlp":{source:"iana"},"application/vnd.eclipse.ditto+json":{source:"iana",compressible:!0},"application/vnd.ecowin.chart":{source:"iana",extensions:["mag"]},"application/vnd.ecowin.filerequest":{source:"iana"},"application/vnd.ecowin.fileupdate":{source:"iana"},"application/vnd.ecowin.series":{source:"iana"},"application/vnd.ecowin.seriesrequest":{source:"iana"},"application/vnd.ecowin.seriesupdate":{source:"iana"},"application/vnd.efi.img":{source:"iana"},"application/vnd.efi.iso":{source:"iana"},"application/vnd.emclient.accessrequest+xml":{source:"iana",compressible:!0},"application/vnd.enliven":{source:"iana",extensions:["nml"]},"application/vnd.enphase.envoy":{source:"iana"},"application/vnd.eprints.data+xml":{source:"iana",compressible:!0},"application/vnd.epson.esf":{source:"iana",extensions:["esf"]},"application/vnd.epson.msf":{source:"iana",extensions:["msf"]},"application/vnd.epson.quickanime":{source:"iana",extensions:["qam"]},"application/vnd.epson.salt":{source:"iana",extensions:["slt"]},"application/vnd.epson.ssf":{source:"iana",extensions:["ssf"]},"application/vnd.ericsson.quickcall":{source:"iana"},"application/vnd.espass-espass+zip":{source:"iana",compressible:!1},"application/vnd.eszigno3+xml":{source:"iana",compressible:!0,extensions:["es3","et3"]},"application/vnd.etsi.aoc+xml":{source:"iana",compressible:!0},"application/vnd.etsi.asic-e+zip":{source:"iana",compressible:!1},"application/vnd.etsi.asic-s+zip":{source:"iana",compressible:!1},"application/vnd.etsi.cug+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvcommand+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvdiscovery+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvprofile+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-bc+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-cod+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-npvr+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvservice+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsync+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvueprofile+xml":{source:"iana",compressible:!0},"application/vnd.etsi.mcid+xml":{source:"iana",compressible:!0},"application/vnd.etsi.mheg5":{source:"iana"},"application/vnd.etsi.overload-control-policy-dataset+xml":{source:"iana",compressible:!0},"application/vnd.etsi.pstn+xml":{source:"iana",compressible:!0},"application/vnd.etsi.sci+xml":{source:"iana",compressible:!0},"application/vnd.etsi.simservs+xml":{source:"iana",compressible:!0},"application/vnd.etsi.timestamp-token":{source:"iana"},"application/vnd.etsi.tsl+xml":{source:"iana",compressible:!0},"application/vnd.etsi.tsl.der":{source:"iana"},"application/vnd.eu.kasparian.car+json":{source:"iana",compressible:!0},"application/vnd.eudora.data":{source:"iana"},"application/vnd.evolv.ecig.profile":{source:"iana"},"application/vnd.evolv.ecig.settings":{source:"iana"},"application/vnd.evolv.ecig.theme":{source:"iana"},"application/vnd.exstream-empower+zip":{source:"iana",compressible:!1},"application/vnd.exstream-package":{source:"iana"},"application/vnd.ezpix-album":{source:"iana",extensions:["ez2"]},"application/vnd.ezpix-package":{source:"iana",extensions:["ez3"]},"application/vnd.f-secure.mobile":{source:"iana"},"application/vnd.familysearch.gedcom+zip":{source:"iana",compressible:!1},"application/vnd.fastcopy-disk-image":{source:"iana"},"application/vnd.fdf":{source:"iana",extensions:["fdf"]},"application/vnd.fdsn.mseed":{source:"iana",extensions:["mseed"]},"application/vnd.fdsn.seed":{source:"iana",extensions:["seed","dataless"]},"application/vnd.ffsns":{source:"iana"},"application/vnd.ficlab.flb+zip":{source:"iana",compressible:!1},"application/vnd.filmit.zfc":{source:"iana"},"application/vnd.fints":{source:"iana"},"application/vnd.firemonkeys.cloudcell":{source:"iana"},"application/vnd.flographit":{source:"iana",extensions:["gph"]},"application/vnd.fluxtime.clip":{source:"iana",extensions:["ftc"]},"application/vnd.font-fontforge-sfd":{source:"iana"},"application/vnd.framemaker":{source:"iana",extensions:["fm","frame","maker","book"]},"application/vnd.frogans.fnc":{source:"iana",extensions:["fnc"]},"application/vnd.frogans.ltf":{source:"iana",extensions:["ltf"]},"application/vnd.fsc.weblaunch":{source:"iana",extensions:["fsc"]},"application/vnd.fujifilm.fb.docuworks":{source:"iana"},"application/vnd.fujifilm.fb.docuworks.binder":{source:"iana"},"application/vnd.fujifilm.fb.docuworks.container":{source:"iana"},"application/vnd.fujifilm.fb.jfi+xml":{source:"iana",compressible:!0},"application/vnd.fujitsu.oasys":{source:"iana",extensions:["oas"]},"application/vnd.fujitsu.oasys2":{source:"iana",extensions:["oa2"]},"application/vnd.fujitsu.oasys3":{source:"iana",extensions:["oa3"]},"application/vnd.fujitsu.oasysgp":{source:"iana",extensions:["fg5"]},"application/vnd.fujitsu.oasysprs":{source:"iana",extensions:["bh2"]},"application/vnd.fujixerox.art-ex":{source:"iana"},"application/vnd.fujixerox.art4":{source:"iana"},"application/vnd.fujixerox.ddd":{source:"iana",extensions:["ddd"]},"application/vnd.fujixerox.docuworks":{source:"iana",extensions:["xdw"]},"application/vnd.fujixerox.docuworks.binder":{source:"iana",extensions:["xbd"]},"application/vnd.fujixerox.docuworks.container":{source:"iana"},"application/vnd.fujixerox.hbpl":{source:"iana"},"application/vnd.fut-misnet":{source:"iana"},"application/vnd.futoin+cbor":{source:"iana"},"application/vnd.futoin+json":{source:"iana",compressible:!0},"application/vnd.fuzzysheet":{source:"iana",extensions:["fzs"]},"application/vnd.genomatix.tuxedo":{source:"iana",extensions:["txd"]},"application/vnd.gentics.grd+json":{source:"iana",compressible:!0},"application/vnd.geo+json":{source:"iana",compressible:!0},"application/vnd.geocube+xml":{source:"iana",compressible:!0},"application/vnd.geogebra.file":{source:"iana",extensions:["ggb"]},"application/vnd.geogebra.slides":{source:"iana"},"application/vnd.geogebra.tool":{source:"iana",extensions:["ggt"]},"application/vnd.geometry-explorer":{source:"iana",extensions:["gex","gre"]},"application/vnd.geonext":{source:"iana",extensions:["gxt"]},"application/vnd.geoplan":{source:"iana",extensions:["g2w"]},"application/vnd.geospace":{source:"iana",extensions:["g3w"]},"application/vnd.gerber":{source:"iana"},"application/vnd.globalplatform.card-content-mgt":{source:"iana"},"application/vnd.globalplatform.card-content-mgt-response":{source:"iana"},"application/vnd.gmx":{source:"iana",extensions:["gmx"]},"application/vnd.google-apps.document":{compressible:!1,extensions:["gdoc"]},"application/vnd.google-apps.presentation":{compressible:!1,extensions:["gslides"]},"application/vnd.google-apps.spreadsheet":{compressible:!1,extensions:["gsheet"]},"application/vnd.google-earth.kml+xml":{source:"iana",compressible:!0,extensions:["kml"]},"application/vnd.google-earth.kmz":{source:"iana",compressible:!1,extensions:["kmz"]},"application/vnd.gov.sk.e-form+xml":{source:"iana",compressible:!0},"application/vnd.gov.sk.e-form+zip":{source:"iana",compressible:!1},"application/vnd.gov.sk.xmldatacontainer+xml":{source:"iana",compressible:!0},"application/vnd.grafeq":{source:"iana",extensions:["gqf","gqs"]},"application/vnd.gridmp":{source:"iana"},"application/vnd.groove-account":{source:"iana",extensions:["gac"]},"application/vnd.groove-help":{source:"iana",extensions:["ghf"]},"application/vnd.groove-identity-message":{source:"iana",extensions:["gim"]},"application/vnd.groove-injector":{source:"iana",extensions:["grv"]},"application/vnd.groove-tool-message":{source:"iana",extensions:["gtm"]},"application/vnd.groove-tool-template":{source:"iana",extensions:["tpl"]},"application/vnd.groove-vcard":{source:"iana",extensions:["vcg"]},"application/vnd.hal+json":{source:"iana",compressible:!0},"application/vnd.hal+xml":{source:"iana",compressible:!0,extensions:["hal"]},"application/vnd.handheld-entertainment+xml":{source:"iana",compressible:!0,extensions:["zmm"]},"application/vnd.hbci":{source:"iana",extensions:["hbci"]},"application/vnd.hc+json":{source:"iana",compressible:!0},"application/vnd.hcl-bireports":{source:"iana"},"application/vnd.hdt":{source:"iana"},"application/vnd.heroku+json":{source:"iana",compressible:!0},"application/vnd.hhe.lesson-player":{source:"iana",extensions:["les"]},"application/vnd.hl7cda+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.hl7v2+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.hp-hpgl":{source:"iana",extensions:["hpgl"]},"application/vnd.hp-hpid":{source:"iana",extensions:["hpid"]},"application/vnd.hp-hps":{source:"iana",extensions:["hps"]},"application/vnd.hp-jlyt":{source:"iana",extensions:["jlt"]},"application/vnd.hp-pcl":{source:"iana",extensions:["pcl"]},"application/vnd.hp-pclxl":{source:"iana",extensions:["pclxl"]},"application/vnd.httphone":{source:"iana"},"application/vnd.hydrostatix.sof-data":{source:"iana",extensions:["sfd-hdstx"]},"application/vnd.hyper+json":{source:"iana",compressible:!0},"application/vnd.hyper-item+json":{source:"iana",compressible:!0},"application/vnd.hyperdrive+json":{source:"iana",compressible:!0},"application/vnd.hzn-3d-crossword":{source:"iana"},"application/vnd.ibm.afplinedata":{source:"iana"},"application/vnd.ibm.electronic-media":{source:"iana"},"application/vnd.ibm.minipay":{source:"iana",extensions:["mpy"]},"application/vnd.ibm.modcap":{source:"iana",extensions:["afp","listafp","list3820"]},"application/vnd.ibm.rights-management":{source:"iana",extensions:["irm"]},"application/vnd.ibm.secure-container":{source:"iana",extensions:["sc"]},"application/vnd.iccprofile":{source:"iana",extensions:["icc","icm"]},"application/vnd.ieee.1905":{source:"iana"},"application/vnd.igloader":{source:"iana",extensions:["igl"]},"application/vnd.imagemeter.folder+zip":{source:"iana",compressible:!1},"application/vnd.imagemeter.image+zip":{source:"iana",compressible:!1},"application/vnd.immervision-ivp":{source:"iana",extensions:["ivp"]},"application/vnd.immervision-ivu":{source:"iana",extensions:["ivu"]},"application/vnd.ims.imsccv1p1":{source:"iana"},"application/vnd.ims.imsccv1p2":{source:"iana"},"application/vnd.ims.imsccv1p3":{source:"iana"},"application/vnd.ims.lis.v2.result+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolconsumerprofile+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolproxy+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolproxy.id+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolsettings+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolsettings.simple+json":{source:"iana",compressible:!0},"application/vnd.informedcontrol.rms+xml":{source:"iana",compressible:!0},"application/vnd.informix-visionary":{source:"iana"},"application/vnd.infotech.project":{source:"iana"},"application/vnd.infotech.project+xml":{source:"iana",compressible:!0},"application/vnd.innopath.wamp.notification":{source:"iana"},"application/vnd.insors.igm":{source:"iana",extensions:["igm"]},"application/vnd.intercon.formnet":{source:"iana",extensions:["xpw","xpx"]},"application/vnd.intergeo":{source:"iana",extensions:["i2g"]},"application/vnd.intertrust.digibox":{source:"iana"},"application/vnd.intertrust.nncp":{source:"iana"},"application/vnd.intu.qbo":{source:"iana",extensions:["qbo"]},"application/vnd.intu.qfx":{source:"iana",extensions:["qfx"]},"application/vnd.iptc.g2.catalogitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.conceptitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.knowledgeitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.newsitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.newsmessage+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.packageitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.planningitem+xml":{source:"iana",compressible:!0},"application/vnd.ipunplugged.rcprofile":{source:"iana",extensions:["rcprofile"]},"application/vnd.irepository.package+xml":{source:"iana",compressible:!0,extensions:["irp"]},"application/vnd.is-xpr":{source:"iana",extensions:["xpr"]},"application/vnd.isac.fcs":{source:"iana",extensions:["fcs"]},"application/vnd.iso11783-10+zip":{source:"iana",compressible:!1},"application/vnd.jam":{source:"iana",extensions:["jam"]},"application/vnd.japannet-directory-service":{source:"iana"},"application/vnd.japannet-jpnstore-wakeup":{source:"iana"},"application/vnd.japannet-payment-wakeup":{source:"iana"},"application/vnd.japannet-registration":{source:"iana"},"application/vnd.japannet-registration-wakeup":{source:"iana"},"application/vnd.japannet-setstore-wakeup":{source:"iana"},"application/vnd.japannet-verification":{source:"iana"},"application/vnd.japannet-verification-wakeup":{source:"iana"},"application/vnd.jcp.javame.midlet-rms":{source:"iana",extensions:["rms"]},"application/vnd.jisp":{source:"iana",extensions:["jisp"]},"application/vnd.joost.joda-archive":{source:"iana",extensions:["joda"]},"application/vnd.jsk.isdn-ngn":{source:"iana"},"application/vnd.kahootz":{source:"iana",extensions:["ktz","ktr"]},"application/vnd.kde.karbon":{source:"iana",extensions:["karbon"]},"application/vnd.kde.kchart":{source:"iana",extensions:["chrt"]},"application/vnd.kde.kformula":{source:"iana",extensions:["kfo"]},"application/vnd.kde.kivio":{source:"iana",extensions:["flw"]},"application/vnd.kde.kontour":{source:"iana",extensions:["kon"]},"application/vnd.kde.kpresenter":{source:"iana",extensions:["kpr","kpt"]},"application/vnd.kde.kspread":{source:"iana",extensions:["ksp"]},"application/vnd.kde.kword":{source:"iana",extensions:["kwd","kwt"]},"application/vnd.kenameaapp":{source:"iana",extensions:["htke"]},"application/vnd.kidspiration":{source:"iana",extensions:["kia"]},"application/vnd.kinar":{source:"iana",extensions:["kne","knp"]},"application/vnd.koan":{source:"iana",extensions:["skp","skd","skt","skm"]},"application/vnd.kodak-descriptor":{source:"iana",extensions:["sse"]},"application/vnd.las":{source:"iana"},"application/vnd.las.las+json":{source:"iana",compressible:!0},"application/vnd.las.las+xml":{source:"iana",compressible:!0,extensions:["lasxml"]},"application/vnd.laszip":{source:"iana"},"application/vnd.leap+json":{source:"iana",compressible:!0},"application/vnd.liberty-request+xml":{source:"iana",compressible:!0},"application/vnd.llamagraphics.life-balance.desktop":{source:"iana",extensions:["lbd"]},"application/vnd.llamagraphics.life-balance.exchange+xml":{source:"iana",compressible:!0,extensions:["lbe"]},"application/vnd.logipipe.circuit+zip":{source:"iana",compressible:!1},"application/vnd.loom":{source:"iana"},"application/vnd.lotus-1-2-3":{source:"iana",extensions:["123"]},"application/vnd.lotus-approach":{source:"iana",extensions:["apr"]},"application/vnd.lotus-freelance":{source:"iana",extensions:["pre"]},"application/vnd.lotus-notes":{source:"iana",extensions:["nsf"]},"application/vnd.lotus-organizer":{source:"iana",extensions:["org"]},"application/vnd.lotus-screencam":{source:"iana",extensions:["scm"]},"application/vnd.lotus-wordpro":{source:"iana",extensions:["lwp"]},"application/vnd.macports.portpkg":{source:"iana",extensions:["portpkg"]},"application/vnd.mapbox-vector-tile":{source:"iana",extensions:["mvt"]},"application/vnd.marlin.drm.actiontoken+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.conftoken+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.license+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.mdcf":{source:"iana"},"application/vnd.mason+json":{source:"iana",compressible:!0},"application/vnd.maxar.archive.3tz+zip":{source:"iana",compressible:!1},"application/vnd.maxmind.maxmind-db":{source:"iana"},"application/vnd.mcd":{source:"iana",extensions:["mcd"]},"application/vnd.medcalcdata":{source:"iana",extensions:["mc1"]},"application/vnd.mediastation.cdkey":{source:"iana",extensions:["cdkey"]},"application/vnd.meridian-slingshot":{source:"iana"},"application/vnd.mfer":{source:"iana",extensions:["mwf"]},"application/vnd.mfmp":{source:"iana",extensions:["mfm"]},"application/vnd.micro+json":{source:"iana",compressible:!0},"application/vnd.micrografx.flo":{source:"iana",extensions:["flo"]},"application/vnd.micrografx.igx":{source:"iana",extensions:["igx"]},"application/vnd.microsoft.portable-executable":{source:"iana"},"application/vnd.microsoft.windows.thumbnail-cache":{source:"iana"},"application/vnd.miele+json":{source:"iana",compressible:!0},"application/vnd.mif":{source:"iana",extensions:["mif"]},"application/vnd.minisoft-hp3000-save":{source:"iana"},"application/vnd.mitsubishi.misty-guard.trustweb":{source:"iana"},"application/vnd.mobius.daf":{source:"iana",extensions:["daf"]},"application/vnd.mobius.dis":{source:"iana",extensions:["dis"]},"application/vnd.mobius.mbk":{source:"iana",extensions:["mbk"]},"application/vnd.mobius.mqy":{source:"iana",extensions:["mqy"]},"application/vnd.mobius.msl":{source:"iana",extensions:["msl"]},"application/vnd.mobius.plc":{source:"iana",extensions:["plc"]},"application/vnd.mobius.txf":{source:"iana",extensions:["txf"]},"application/vnd.mophun.application":{source:"iana",extensions:["mpn"]},"application/vnd.mophun.certificate":{source:"iana",extensions:["mpc"]},"application/vnd.motorola.flexsuite":{source:"iana"},"application/vnd.motorola.flexsuite.adsi":{source:"iana"},"application/vnd.motorola.flexsuite.fis":{source:"iana"},"application/vnd.motorola.flexsuite.gotap":{source:"iana"},"application/vnd.motorola.flexsuite.kmr":{source:"iana"},"application/vnd.motorola.flexsuite.ttc":{source:"iana"},"application/vnd.motorola.flexsuite.wem":{source:"iana"},"application/vnd.motorola.iprm":{source:"iana"},"application/vnd.mozilla.xul+xml":{source:"iana",compressible:!0,extensions:["xul"]},"application/vnd.ms-3mfdocument":{source:"iana"},"application/vnd.ms-artgalry":{source:"iana",extensions:["cil"]},"application/vnd.ms-asf":{source:"iana"},"application/vnd.ms-cab-compressed":{source:"iana",extensions:["cab"]},"application/vnd.ms-color.iccprofile":{source:"apache"},"application/vnd.ms-excel":{source:"iana",compressible:!1,extensions:["xls","xlm","xla","xlc","xlt","xlw"]},"application/vnd.ms-excel.addin.macroenabled.12":{source:"iana",extensions:["xlam"]},"application/vnd.ms-excel.sheet.binary.macroenabled.12":{source:"iana",extensions:["xlsb"]},"application/vnd.ms-excel.sheet.macroenabled.12":{source:"iana",extensions:["xlsm"]},"application/vnd.ms-excel.template.macroenabled.12":{source:"iana",extensions:["xltm"]},"application/vnd.ms-fontobject":{source:"iana",compressible:!0,extensions:["eot"]},"application/vnd.ms-htmlhelp":{source:"iana",extensions:["chm"]},"application/vnd.ms-ims":{source:"iana",extensions:["ims"]},"application/vnd.ms-lrm":{source:"iana",extensions:["lrm"]},"application/vnd.ms-office.activex+xml":{source:"iana",compressible:!0},"application/vnd.ms-officetheme":{source:"iana",extensions:["thmx"]},"application/vnd.ms-opentype":{source:"apache",compressible:!0},"application/vnd.ms-outlook":{compressible:!1,extensions:["msg"]},"application/vnd.ms-package.obfuscated-opentype":{source:"apache"},"application/vnd.ms-pki.seccat":{source:"apache",extensions:["cat"]},"application/vnd.ms-pki.stl":{source:"apache",extensions:["stl"]},"application/vnd.ms-playready.initiator+xml":{source:"iana",compressible:!0},"application/vnd.ms-powerpoint":{source:"iana",compressible:!1,extensions:["ppt","pps","pot"]},"application/vnd.ms-powerpoint.addin.macroenabled.12":{source:"iana",extensions:["ppam"]},"application/vnd.ms-powerpoint.presentation.macroenabled.12":{source:"iana",extensions:["pptm"]},"application/vnd.ms-powerpoint.slide.macroenabled.12":{source:"iana",extensions:["sldm"]},"application/vnd.ms-powerpoint.slideshow.macroenabled.12":{source:"iana",extensions:["ppsm"]},"application/vnd.ms-powerpoint.template.macroenabled.12":{source:"iana",extensions:["potm"]},"application/vnd.ms-printdevicecapabilities+xml":{source:"iana",compressible:!0},"application/vnd.ms-printing.printticket+xml":{source:"apache",compressible:!0},"application/vnd.ms-printschematicket+xml":{source:"iana",compressible:!0},"application/vnd.ms-project":{source:"iana",extensions:["mpp","mpt"]},"application/vnd.ms-tnef":{source:"iana"},"application/vnd.ms-windows.devicepairing":{source:"iana"},"application/vnd.ms-windows.nwprinting.oob":{source:"iana"},"application/vnd.ms-windows.printerpairing":{source:"iana"},"application/vnd.ms-windows.wsd.oob":{source:"iana"},"application/vnd.ms-wmdrm.lic-chlg-req":{source:"iana"},"application/vnd.ms-wmdrm.lic-resp":{source:"iana"},"application/vnd.ms-wmdrm.meter-chlg-req":{source:"iana"},"application/vnd.ms-wmdrm.meter-resp":{source:"iana"},"application/vnd.ms-word.document.macroenabled.12":{source:"iana",extensions:["docm"]},"application/vnd.ms-word.template.macroenabled.12":{source:"iana",extensions:["dotm"]},"application/vnd.ms-works":{source:"iana",extensions:["wps","wks","wcm","wdb"]},"application/vnd.ms-wpl":{source:"iana",extensions:["wpl"]},"application/vnd.ms-xpsdocument":{source:"iana",compressible:!1,extensions:["xps"]},"application/vnd.msa-disk-image":{source:"iana"},"application/vnd.mseq":{source:"iana",extensions:["mseq"]},"application/vnd.msign":{source:"iana"},"application/vnd.multiad.creator":{source:"iana"},"application/vnd.multiad.creator.cif":{source:"iana"},"application/vnd.music-niff":{source:"iana"},"application/vnd.musician":{source:"iana",extensions:["mus"]},"application/vnd.muvee.style":{source:"iana",extensions:["msty"]},"application/vnd.mynfc":{source:"iana",extensions:["taglet"]},"application/vnd.nacamar.ybrid+json":{source:"iana",compressible:!0},"application/vnd.ncd.control":{source:"iana"},"application/vnd.ncd.reference":{source:"iana"},"application/vnd.nearst.inv+json":{source:"iana",compressible:!0},"application/vnd.nebumind.line":{source:"iana"},"application/vnd.nervana":{source:"iana"},"application/vnd.netfpx":{source:"iana"},"application/vnd.neurolanguage.nlu":{source:"iana",extensions:["nlu"]},"application/vnd.nimn":{source:"iana"},"application/vnd.nintendo.nitro.rom":{source:"iana"},"application/vnd.nintendo.snes.rom":{source:"iana"},"application/vnd.nitf":{source:"iana",extensions:["ntf","nitf"]},"application/vnd.noblenet-directory":{source:"iana",extensions:["nnd"]},"application/vnd.noblenet-sealer":{source:"iana",extensions:["nns"]},"application/vnd.noblenet-web":{source:"iana",extensions:["nnw"]},"application/vnd.nokia.catalogs":{source:"iana"},"application/vnd.nokia.conml+wbxml":{source:"iana"},"application/vnd.nokia.conml+xml":{source:"iana",compressible:!0},"application/vnd.nokia.iptv.config+xml":{source:"iana",compressible:!0},"application/vnd.nokia.isds-radio-presets":{source:"iana"},"application/vnd.nokia.landmark+wbxml":{source:"iana"},"application/vnd.nokia.landmark+xml":{source:"iana",compressible:!0},"application/vnd.nokia.landmarkcollection+xml":{source:"iana",compressible:!0},"application/vnd.nokia.n-gage.ac+xml":{source:"iana",compressible:!0,extensions:["ac"]},"application/vnd.nokia.n-gage.data":{source:"iana",extensions:["ngdat"]},"application/vnd.nokia.n-gage.symbian.install":{source:"iana",extensions:["n-gage"]},"application/vnd.nokia.ncd":{source:"iana"},"application/vnd.nokia.pcd+wbxml":{source:"iana"},"application/vnd.nokia.pcd+xml":{source:"iana",compressible:!0},"application/vnd.nokia.radio-preset":{source:"iana",extensions:["rpst"]},"application/vnd.nokia.radio-presets":{source:"iana",extensions:["rpss"]},"application/vnd.novadigm.edm":{source:"iana",extensions:["edm"]},"application/vnd.novadigm.edx":{source:"iana",extensions:["edx"]},"application/vnd.novadigm.ext":{source:"iana",extensions:["ext"]},"application/vnd.ntt-local.content-share":{source:"iana"},"application/vnd.ntt-local.file-transfer":{source:"iana"},"application/vnd.ntt-local.ogw_remote-access":{source:"iana"},"application/vnd.ntt-local.sip-ta_remote":{source:"iana"},"application/vnd.ntt-local.sip-ta_tcp_stream":{source:"iana"},"application/vnd.oasis.opendocument.chart":{source:"iana",extensions:["odc"]},"application/vnd.oasis.opendocument.chart-template":{source:"iana",extensions:["otc"]},"application/vnd.oasis.opendocument.database":{source:"iana",extensions:["odb"]},"application/vnd.oasis.opendocument.formula":{source:"iana",extensions:["odf"]},"application/vnd.oasis.opendocument.formula-template":{source:"iana",extensions:["odft"]},"application/vnd.oasis.opendocument.graphics":{source:"iana",compressible:!1,extensions:["odg"]},"application/vnd.oasis.opendocument.graphics-template":{source:"iana",extensions:["otg"]},"application/vnd.oasis.opendocument.image":{source:"iana",extensions:["odi"]},"application/vnd.oasis.opendocument.image-template":{source:"iana",extensions:["oti"]},"application/vnd.oasis.opendocument.presentation":{source:"iana",compressible:!1,extensions:["odp"]},"application/vnd.oasis.opendocument.presentation-template":{source:"iana",extensions:["otp"]},"application/vnd.oasis.opendocument.spreadsheet":{source:"iana",compressible:!1,extensions:["ods"]},"application/vnd.oasis.opendocument.spreadsheet-template":{source:"iana",extensions:["ots"]},"application/vnd.oasis.opendocument.text":{source:"iana",compressible:!1,extensions:["odt"]},"application/vnd.oasis.opendocument.text-master":{source:"iana",extensions:["odm"]},"application/vnd.oasis.opendocument.text-template":{source:"iana",extensions:["ott"]},"application/vnd.oasis.opendocument.text-web":{source:"iana",extensions:["oth"]},"application/vnd.obn":{source:"iana"},"application/vnd.ocf+cbor":{source:"iana"},"application/vnd.oci.image.manifest.v1+json":{source:"iana",compressible:!0},"application/vnd.oftn.l10n+json":{source:"iana",compressible:!0},"application/vnd.oipf.contentaccessdownload+xml":{source:"iana",compressible:!0},"application/vnd.oipf.contentaccessstreaming+xml":{source:"iana",compressible:!0},"application/vnd.oipf.cspg-hexbinary":{source:"iana"},"application/vnd.oipf.dae.svg+xml":{source:"iana",compressible:!0},"application/vnd.oipf.dae.xhtml+xml":{source:"iana",compressible:!0},"application/vnd.oipf.mippvcontrolmessage+xml":{source:"iana",compressible:!0},"application/vnd.oipf.pae.gem":{source:"iana"},"application/vnd.oipf.spdiscovery+xml":{source:"iana",compressible:!0},"application/vnd.oipf.spdlist+xml":{source:"iana",compressible:!0},"application/vnd.oipf.ueprofile+xml":{source:"iana",compressible:!0},"application/vnd.oipf.userprofile+xml":{source:"iana",compressible:!0},"application/vnd.olpc-sugar":{source:"iana",extensions:["xo"]},"application/vnd.oma-scws-config":{source:"iana"},"application/vnd.oma-scws-http-request":{source:"iana"},"application/vnd.oma-scws-http-response":{source:"iana"},"application/vnd.oma.bcast.associated-procedure-parameter+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.drm-trigger+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.imd+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.ltkm":{source:"iana"},"application/vnd.oma.bcast.notification+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.provisioningtrigger":{source:"iana"},"application/vnd.oma.bcast.sgboot":{source:"iana"},"application/vnd.oma.bcast.sgdd+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.sgdu":{source:"iana"},"application/vnd.oma.bcast.simple-symbol-container":{source:"iana"},"application/vnd.oma.bcast.smartcard-trigger+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.sprov+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.stkm":{source:"iana"},"application/vnd.oma.cab-address-book+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-feature-handler+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-pcc+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-subs-invite+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-user-prefs+xml":{source:"iana",compressible:!0},"application/vnd.oma.dcd":{source:"iana"},"application/vnd.oma.dcdc":{source:"iana"},"application/vnd.oma.dd2+xml":{source:"iana",compressible:!0,extensions:["dd2"]},"application/vnd.oma.drm.risd+xml":{source:"iana",compressible:!0},"application/vnd.oma.group-usage-list+xml":{source:"iana",compressible:!0},"application/vnd.oma.lwm2m+cbor":{source:"iana"},"application/vnd.oma.lwm2m+json":{source:"iana",compressible:!0},"application/vnd.oma.lwm2m+tlv":{source:"iana"},"application/vnd.oma.pal+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.detailed-progress-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.final-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.groups+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.invocation-descriptor+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.optimized-progress-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.push":{source:"iana"},"application/vnd.oma.scidm.messages+xml":{source:"iana",compressible:!0},"application/vnd.oma.xcap-directory+xml":{source:"iana",compressible:!0},"application/vnd.omads-email+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omads-file+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omads-folder+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omaloc-supl-init":{source:"iana"},"application/vnd.onepager":{source:"iana"},"application/vnd.onepagertamp":{source:"iana"},"application/vnd.onepagertamx":{source:"iana"},"application/vnd.onepagertat":{source:"iana"},"application/vnd.onepagertatp":{source:"iana"},"application/vnd.onepagertatx":{source:"iana"},"application/vnd.openblox.game+xml":{source:"iana",compressible:!0,extensions:["obgx"]},"application/vnd.openblox.game-binary":{source:"iana"},"application/vnd.openeye.oeb":{source:"iana"},"application/vnd.openofficeorg.extension":{source:"apache",extensions:["oxt"]},"application/vnd.openstreetmap.data+xml":{source:"iana",compressible:!0,extensions:["osm"]},"application/vnd.opentimestamps.ots":{source:"iana"},"application/vnd.openxmlformats-officedocument.custom-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.customxmlproperties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawing+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.chart+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.extended-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.presentation":{source:"iana",compressible:!1,extensions:["pptx"]},"application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.presprops+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slide":{source:"iana",extensions:["sldx"]},"application/vnd.openxmlformats-officedocument.presentationml.slide+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slideshow":{source:"iana",extensions:["ppsx"]},"application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.tags+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.template":{source:"iana",extensions:["potx"]},"application/vnd.openxmlformats-officedocument.presentationml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{source:"iana",compressible:!1,extensions:["xlsx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.template":{source:"iana",extensions:["xltx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.theme+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.themeoverride+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.vmldrawing":{source:"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.document":{source:"iana",compressible:!1,extensions:["docx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.template":{source:"iana",extensions:["dotx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.core-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.relationships+xml":{source:"iana",compressible:!0},"application/vnd.oracle.resource+json":{source:"iana",compressible:!0},"application/vnd.orange.indata":{source:"iana"},"application/vnd.osa.netdeploy":{source:"iana"},"application/vnd.osgeo.mapguide.package":{source:"iana",extensions:["mgp"]},"application/vnd.osgi.bundle":{source:"iana"},"application/vnd.osgi.dp":{source:"iana",extensions:["dp"]},"application/vnd.osgi.subsystem":{source:"iana",extensions:["esa"]},"application/vnd.otps.ct-kip+xml":{source:"iana",compressible:!0},"application/vnd.oxli.countgraph":{source:"iana"},"application/vnd.pagerduty+json":{source:"iana",compressible:!0},"application/vnd.palm":{source:"iana",extensions:["pdb","pqa","oprc"]},"application/vnd.panoply":{source:"iana"},"application/vnd.paos.xml":{source:"iana"},"application/vnd.patentdive":{source:"iana"},"application/vnd.patientecommsdoc":{source:"iana"},"application/vnd.pawaafile":{source:"iana",extensions:["paw"]},"application/vnd.pcos":{source:"iana"},"application/vnd.pg.format":{source:"iana",extensions:["str"]},"application/vnd.pg.osasli":{source:"iana",extensions:["ei6"]},"application/vnd.piaccess.application-licence":{source:"iana"},"application/vnd.picsel":{source:"iana",extensions:["efif"]},"application/vnd.pmi.widget":{source:"iana",extensions:["wg"]},"application/vnd.poc.group-advertisement+xml":{source:"iana",compressible:!0},"application/vnd.pocketlearn":{source:"iana",extensions:["plf"]},"application/vnd.powerbuilder6":{source:"iana",extensions:["pbd"]},"application/vnd.powerbuilder6-s":{source:"iana"},"application/vnd.powerbuilder7":{source:"iana"},"application/vnd.powerbuilder7-s":{source:"iana"},"application/vnd.powerbuilder75":{source:"iana"},"application/vnd.powerbuilder75-s":{source:"iana"},"application/vnd.preminet":{source:"iana"},"application/vnd.previewsystems.box":{source:"iana",extensions:["box"]},"application/vnd.proteus.magazine":{source:"iana",extensions:["mgz"]},"application/vnd.psfs":{source:"iana"},"application/vnd.publishare-delta-tree":{source:"iana",extensions:["qps"]},"application/vnd.pvi.ptid1":{source:"iana",extensions:["ptid"]},"application/vnd.pwg-multiplexed":{source:"iana"},"application/vnd.pwg-xhtml-print+xml":{source:"iana",compressible:!0},"application/vnd.qualcomm.brew-app-res":{source:"iana"},"application/vnd.quarantainenet":{source:"iana"},"application/vnd.quark.quarkxpress":{source:"iana",extensions:["qxd","qxt","qwd","qwt","qxl","qxb"]},"application/vnd.quobject-quoxdocument":{source:"iana"},"application/vnd.radisys.moml+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-conf+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-conn+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-dialog+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-stream+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-conf+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-base+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-fax-detect+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-fax-sendrecv+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-group+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-speech+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-transform+xml":{source:"iana",compressible:!0},"application/vnd.rainstor.data":{source:"iana"},"application/vnd.rapid":{source:"iana"},"application/vnd.rar":{source:"iana",extensions:["rar"]},"application/vnd.realvnc.bed":{source:"iana",extensions:["bed"]},"application/vnd.recordare.musicxml":{source:"iana",extensions:["mxl"]},"application/vnd.recordare.musicxml+xml":{source:"iana",compressible:!0,extensions:["musicxml"]},"application/vnd.renlearn.rlprint":{source:"iana"},"application/vnd.resilient.logic":{source:"iana"},"application/vnd.restful+json":{source:"iana",compressible:!0},"application/vnd.rig.cryptonote":{source:"iana",extensions:["cryptonote"]},"application/vnd.rim.cod":{source:"apache",extensions:["cod"]},"application/vnd.rn-realmedia":{source:"apache",extensions:["rm"]},"application/vnd.rn-realmedia-vbr":{source:"apache",extensions:["rmvb"]},"application/vnd.route66.link66+xml":{source:"iana",compressible:!0,extensions:["link66"]},"application/vnd.rs-274x":{source:"iana"},"application/vnd.ruckus.download":{source:"iana"},"application/vnd.s3sms":{source:"iana"},"application/vnd.sailingtracker.track":{source:"iana",extensions:["st"]},"application/vnd.sar":{source:"iana"},"application/vnd.sbm.cid":{source:"iana"},"application/vnd.sbm.mid2":{source:"iana"},"application/vnd.scribus":{source:"iana"},"application/vnd.sealed.3df":{source:"iana"},"application/vnd.sealed.csf":{source:"iana"},"application/vnd.sealed.doc":{source:"iana"},"application/vnd.sealed.eml":{source:"iana"},"application/vnd.sealed.mht":{source:"iana"},"application/vnd.sealed.net":{source:"iana"},"application/vnd.sealed.ppt":{source:"iana"},"application/vnd.sealed.tiff":{source:"iana"},"application/vnd.sealed.xls":{source:"iana"},"application/vnd.sealedmedia.softseal.html":{source:"iana"},"application/vnd.sealedmedia.softseal.pdf":{source:"iana"},"application/vnd.seemail":{source:"iana",extensions:["see"]},"application/vnd.seis+json":{source:"iana",compressible:!0},"application/vnd.sema":{source:"iana",extensions:["sema"]},"application/vnd.semd":{source:"iana",extensions:["semd"]},"application/vnd.semf":{source:"iana",extensions:["semf"]},"application/vnd.shade-save-file":{source:"iana"},"application/vnd.shana.informed.formdata":{source:"iana",extensions:["ifm"]},"application/vnd.shana.informed.formtemplate":{source:"iana",extensions:["itp"]},"application/vnd.shana.informed.interchange":{source:"iana",extensions:["iif"]},"application/vnd.shana.informed.package":{source:"iana",extensions:["ipk"]},"application/vnd.shootproof+json":{source:"iana",compressible:!0},"application/vnd.shopkick+json":{source:"iana",compressible:!0},"application/vnd.shp":{source:"iana"},"application/vnd.shx":{source:"iana"},"application/vnd.sigrok.session":{source:"iana"},"application/vnd.simtech-mindmapper":{source:"iana",extensions:["twd","twds"]},"application/vnd.siren+json":{source:"iana",compressible:!0},"application/vnd.smaf":{source:"iana",extensions:["mmf"]},"application/vnd.smart.notebook":{source:"iana"},"application/vnd.smart.teacher":{source:"iana",extensions:["teacher"]},"application/vnd.snesdev-page-table":{source:"iana"},"application/vnd.software602.filler.form+xml":{source:"iana",compressible:!0,extensions:["fo"]},"application/vnd.software602.filler.form-xml-zip":{source:"iana"},"application/vnd.solent.sdkm+xml":{source:"iana",compressible:!0,extensions:["sdkm","sdkd"]},"application/vnd.spotfire.dxp":{source:"iana",extensions:["dxp"]},"application/vnd.spotfire.sfs":{source:"iana",extensions:["sfs"]},"application/vnd.sqlite3":{source:"iana"},"application/vnd.sss-cod":{source:"iana"},"application/vnd.sss-dtf":{source:"iana"},"application/vnd.sss-ntf":{source:"iana"},"application/vnd.stardivision.calc":{source:"apache",extensions:["sdc"]},"application/vnd.stardivision.draw":{source:"apache",extensions:["sda"]},"application/vnd.stardivision.impress":{source:"apache",extensions:["sdd"]},"application/vnd.stardivision.math":{source:"apache",extensions:["smf"]},"application/vnd.stardivision.writer":{source:"apache",extensions:["sdw","vor"]},"application/vnd.stardivision.writer-global":{source:"apache",extensions:["sgl"]},"application/vnd.stepmania.package":{source:"iana",extensions:["smzip"]},"application/vnd.stepmania.stepchart":{source:"iana",extensions:["sm"]},"application/vnd.street-stream":{source:"iana"},"application/vnd.sun.wadl+xml":{source:"iana",compressible:!0,extensions:["wadl"]},"application/vnd.sun.xml.calc":{source:"apache",extensions:["sxc"]},"application/vnd.sun.xml.calc.template":{source:"apache",extensions:["stc"]},"application/vnd.sun.xml.draw":{source:"apache",extensions:["sxd"]},"application/vnd.sun.xml.draw.template":{source:"apache",extensions:["std"]},"application/vnd.sun.xml.impress":{source:"apache",extensions:["sxi"]},"application/vnd.sun.xml.impress.template":{source:"apache",extensions:["sti"]},"application/vnd.sun.xml.math":{source:"apache",extensions:["sxm"]},"application/vnd.sun.xml.writer":{source:"apache",extensions:["sxw"]},"application/vnd.sun.xml.writer.global":{source:"apache",extensions:["sxg"]},"application/vnd.sun.xml.writer.template":{source:"apache",extensions:["stw"]},"application/vnd.sus-calendar":{source:"iana",extensions:["sus","susp"]},"application/vnd.svd":{source:"iana",extensions:["svd"]},"application/vnd.swiftview-ics":{source:"iana"},"application/vnd.sycle+xml":{source:"iana",compressible:!0},"application/vnd.syft+json":{source:"iana",compressible:!0},"application/vnd.symbian.install":{source:"apache",extensions:["sis","sisx"]},"application/vnd.syncml+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["xsm"]},"application/vnd.syncml.dm+wbxml":{source:"iana",charset:"UTF-8",extensions:["bdm"]},"application/vnd.syncml.dm+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["xdm"]},"application/vnd.syncml.dm.notification":{source:"iana"},"application/vnd.syncml.dmddf+wbxml":{source:"iana"},"application/vnd.syncml.dmddf+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["ddf"]},"application/vnd.syncml.dmtnds+wbxml":{source:"iana"},"application/vnd.syncml.dmtnds+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.syncml.ds.notification":{source:"iana"},"application/vnd.tableschema+json":{source:"iana",compressible:!0},"application/vnd.tao.intent-module-archive":{source:"iana",extensions:["tao"]},"application/vnd.tcpdump.pcap":{source:"iana",extensions:["pcap","cap","dmp"]},"application/vnd.think-cell.ppttc+json":{source:"iana",compressible:!0},"application/vnd.tmd.mediaflex.api+xml":{source:"iana",compressible:!0},"application/vnd.tml":{source:"iana"},"application/vnd.tmobile-livetv":{source:"iana",extensions:["tmo"]},"application/vnd.tri.onesource":{source:"iana"},"application/vnd.trid.tpt":{source:"iana",extensions:["tpt"]},"application/vnd.triscape.mxs":{source:"iana",extensions:["mxs"]},"application/vnd.trueapp":{source:"iana",extensions:["tra"]},"application/vnd.truedoc":{source:"iana"},"application/vnd.ubisoft.webplayer":{source:"iana"},"application/vnd.ufdl":{source:"iana",extensions:["ufd","ufdl"]},"application/vnd.uiq.theme":{source:"iana",extensions:["utz"]},"application/vnd.umajin":{source:"iana",extensions:["umj"]},"application/vnd.unity":{source:"iana",extensions:["unityweb"]},"application/vnd.uoml+xml":{source:"iana",compressible:!0,extensions:["uoml"]},"application/vnd.uplanet.alert":{source:"iana"},"application/vnd.uplanet.alert-wbxml":{source:"iana"},"application/vnd.uplanet.bearer-choice":{source:"iana"},"application/vnd.uplanet.bearer-choice-wbxml":{source:"iana"},"application/vnd.uplanet.cacheop":{source:"iana"},"application/vnd.uplanet.cacheop-wbxml":{source:"iana"},"application/vnd.uplanet.channel":{source:"iana"},"application/vnd.uplanet.channel-wbxml":{source:"iana"},"application/vnd.uplanet.list":{source:"iana"},"application/vnd.uplanet.list-wbxml":{source:"iana"},"application/vnd.uplanet.listcmd":{source:"iana"},"application/vnd.uplanet.listcmd-wbxml":{source:"iana"},"application/vnd.uplanet.signal":{source:"iana"},"application/vnd.uri-map":{source:"iana"},"application/vnd.valve.source.material":{source:"iana"},"application/vnd.vcx":{source:"iana",extensions:["vcx"]},"application/vnd.vd-study":{source:"iana"},"application/vnd.vectorworks":{source:"iana"},"application/vnd.vel+json":{source:"iana",compressible:!0},"application/vnd.verimatrix.vcas":{source:"iana"},"application/vnd.veritone.aion+json":{source:"iana",compressible:!0},"application/vnd.veryant.thin":{source:"iana"},"application/vnd.ves.encrypted":{source:"iana"},"application/vnd.vidsoft.vidconference":{source:"iana"},"application/vnd.visio":{source:"iana",extensions:["vsd","vst","vss","vsw"]},"application/vnd.visionary":{source:"iana",extensions:["vis"]},"application/vnd.vividence.scriptfile":{source:"iana"},"application/vnd.vsf":{source:"iana",extensions:["vsf"]},"application/vnd.wap.sic":{source:"iana"},"application/vnd.wap.slc":{source:"iana"},"application/vnd.wap.wbxml":{source:"iana",charset:"UTF-8",extensions:["wbxml"]},"application/vnd.wap.wmlc":{source:"iana",extensions:["wmlc"]},"application/vnd.wap.wmlscriptc":{source:"iana",extensions:["wmlsc"]},"application/vnd.webturbo":{source:"iana",extensions:["wtb"]},"application/vnd.wfa.dpp":{source:"iana"},"application/vnd.wfa.p2p":{source:"iana"},"application/vnd.wfa.wsc":{source:"iana"},"application/vnd.windows.devicepairing":{source:"iana"},"application/vnd.wmc":{source:"iana"},"application/vnd.wmf.bootstrap":{source:"iana"},"application/vnd.wolfram.mathematica":{source:"iana"},"application/vnd.wolfram.mathematica.package":{source:"iana"},"application/vnd.wolfram.player":{source:"iana",extensions:["nbp"]},"application/vnd.wordperfect":{source:"iana",extensions:["wpd"]},"application/vnd.wqd":{source:"iana",extensions:["wqd"]},"application/vnd.wrq-hp3000-labelled":{source:"iana"},"application/vnd.wt.stf":{source:"iana",extensions:["stf"]},"application/vnd.wv.csp+wbxml":{source:"iana"},"application/vnd.wv.csp+xml":{source:"iana",compressible:!0},"application/vnd.wv.ssp+xml":{source:"iana",compressible:!0},"application/vnd.xacml+json":{source:"iana",compressible:!0},"application/vnd.xara":{source:"iana",extensions:["xar"]},"application/vnd.xfdl":{source:"iana",extensions:["xfdl"]},"application/vnd.xfdl.webform":{source:"iana"},"application/vnd.xmi+xml":{source:"iana",compressible:!0},"application/vnd.xmpie.cpkg":{source:"iana"},"application/vnd.xmpie.dpkg":{source:"iana"},"application/vnd.xmpie.plan":{source:"iana"},"application/vnd.xmpie.ppkg":{source:"iana"},"application/vnd.xmpie.xlim":{source:"iana"},"application/vnd.yamaha.hv-dic":{source:"iana",extensions:["hvd"]},"application/vnd.yamaha.hv-script":{source:"iana",extensions:["hvs"]},"application/vnd.yamaha.hv-voice":{source:"iana",extensions:["hvp"]},"application/vnd.yamaha.openscoreformat":{source:"iana",extensions:["osf"]},"application/vnd.yamaha.openscoreformat.osfpvg+xml":{source:"iana",compressible:!0,extensions:["osfpvg"]},"application/vnd.yamaha.remote-setup":{source:"iana"},"application/vnd.yamaha.smaf-audio":{source:"iana",extensions:["saf"]},"application/vnd.yamaha.smaf-phrase":{source:"iana",extensions:["spf"]},"application/vnd.yamaha.through-ngn":{source:"iana"},"application/vnd.yamaha.tunnel-udpencap":{source:"iana"},"application/vnd.yaoweme":{source:"iana"},"application/vnd.yellowriver-custom-menu":{source:"iana",extensions:["cmp"]},"application/vnd.youtube.yt":{source:"iana"},"application/vnd.zul":{source:"iana",extensions:["zir","zirz"]},"application/vnd.zzazz.deck+xml":{source:"iana",compressible:!0,extensions:["zaz"]},"application/voicexml+xml":{source:"iana",compressible:!0,extensions:["vxml"]},"application/voucher-cms+json":{source:"iana",compressible:!0},"application/vq-rtcpxr":{source:"iana"},"application/wasm":{source:"iana",compressible:!0,extensions:["wasm"]},"application/watcherinfo+xml":{source:"iana",compressible:!0,extensions:["wif"]},"application/webpush-options+json":{source:"iana",compressible:!0},"application/whoispp-query":{source:"iana"},"application/whoispp-response":{source:"iana"},"application/widget":{source:"iana",extensions:["wgt"]},"application/winhlp":{source:"apache",extensions:["hlp"]},"application/wita":{source:"iana"},"application/wordperfect5.1":{source:"iana"},"application/wsdl+xml":{source:"iana",compressible:!0,extensions:["wsdl"]},"application/wspolicy+xml":{source:"iana",compressible:!0,extensions:["wspolicy"]},"application/x-7z-compressed":{source:"apache",compressible:!1,extensions:["7z"]},"application/x-abiword":{source:"apache",extensions:["abw"]},"application/x-ace-compressed":{source:"apache",extensions:["ace"]},"application/x-amf":{source:"apache"},"application/x-apple-diskimage":{source:"apache",extensions:["dmg"]},"application/x-arj":{compressible:!1,extensions:["arj"]},"application/x-authorware-bin":{source:"apache",extensions:["aab","x32","u32","vox"]},"application/x-authorware-map":{source:"apache",extensions:["aam"]},"application/x-authorware-seg":{source:"apache",extensions:["aas"]},"application/x-bcpio":{source:"apache",extensions:["bcpio"]},"application/x-bdoc":{compressible:!1,extensions:["bdoc"]},"application/x-bittorrent":{source:"apache",extensions:["torrent"]},"application/x-blorb":{source:"apache",extensions:["blb","blorb"]},"application/x-bzip":{source:"apache",compressible:!1,extensions:["bz"]},"application/x-bzip2":{source:"apache",compressible:!1,extensions:["bz2","boz"]},"application/x-cbr":{source:"apache",extensions:["cbr","cba","cbt","cbz","cb7"]},"application/x-cdlink":{source:"apache",extensions:["vcd"]},"application/x-cfs-compressed":{source:"apache",extensions:["cfs"]},"application/x-chat":{source:"apache",extensions:["chat"]},"application/x-chess-pgn":{source:"apache",extensions:["pgn"]},"application/x-chrome-extension":{extensions:["crx"]},"application/x-cocoa":{source:"nginx",extensions:["cco"]},"application/x-compress":{source:"apache"},"application/x-conference":{source:"apache",extensions:["nsc"]},"application/x-cpio":{source:"apache",extensions:["cpio"]},"application/x-csh":{source:"apache",extensions:["csh"]},"application/x-deb":{compressible:!1},"application/x-debian-package":{source:"apache",extensions:["deb","udeb"]},"application/x-dgc-compressed":{source:"apache",extensions:["dgc"]},"application/x-director":{source:"apache",extensions:["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"]},"application/x-doom":{source:"apache",extensions:["wad"]},"application/x-dtbncx+xml":{source:"apache",compressible:!0,extensions:["ncx"]},"application/x-dtbook+xml":{source:"apache",compressible:!0,extensions:["dtb"]},"application/x-dtbresource+xml":{source:"apache",compressible:!0,extensions:["res"]},"application/x-dvi":{source:"apache",compressible:!1,extensions:["dvi"]},"application/x-envoy":{source:"apache",extensions:["evy"]},"application/x-eva":{source:"apache",extensions:["eva"]},"application/x-font-bdf":{source:"apache",extensions:["bdf"]},"application/x-font-dos":{source:"apache"},"application/x-font-framemaker":{source:"apache"},"application/x-font-ghostscript":{source:"apache",extensions:["gsf"]},"application/x-font-libgrx":{source:"apache"},"application/x-font-linux-psf":{source:"apache",extensions:["psf"]},"application/x-font-pcf":{source:"apache",extensions:["pcf"]},"application/x-font-snf":{source:"apache",extensions:["snf"]},"application/x-font-speedo":{source:"apache"},"application/x-font-sunos-news":{source:"apache"},"application/x-font-type1":{source:"apache",extensions:["pfa","pfb","pfm","afm"]},"application/x-font-vfont":{source:"apache"},"application/x-freearc":{source:"apache",extensions:["arc"]},"application/x-futuresplash":{source:"apache",extensions:["spl"]},"application/x-gca-compressed":{source:"apache",extensions:["gca"]},"application/x-glulx":{source:"apache",extensions:["ulx"]},"application/x-gnumeric":{source:"apache",extensions:["gnumeric"]},"application/x-gramps-xml":{source:"apache",extensions:["gramps"]},"application/x-gtar":{source:"apache",extensions:["gtar"]},"application/x-gzip":{source:"apache"},"application/x-hdf":{source:"apache",extensions:["hdf"]},"application/x-httpd-php":{compressible:!0,extensions:["php"]},"application/x-install-instructions":{source:"apache",extensions:["install"]},"application/x-iso9660-image":{source:"apache",extensions:["iso"]},"application/x-iwork-keynote-sffkey":{extensions:["key"]},"application/x-iwork-numbers-sffnumbers":{extensions:["numbers"]},"application/x-iwork-pages-sffpages":{extensions:["pages"]},"application/x-java-archive-diff":{source:"nginx",extensions:["jardiff"]},"application/x-java-jnlp-file":{source:"apache",compressible:!1,extensions:["jnlp"]},"application/x-javascript":{compressible:!0},"application/x-keepass2":{extensions:["kdbx"]},"application/x-latex":{source:"apache",compressible:!1,extensions:["latex"]},"application/x-lua-bytecode":{extensions:["luac"]},"application/x-lzh-compressed":{source:"apache",extensions:["lzh","lha"]},"application/x-makeself":{source:"nginx",extensions:["run"]},"application/x-mie":{source:"apache",extensions:["mie"]},"application/x-mobipocket-ebook":{source:"apache",extensions:["prc","mobi"]},"application/x-mpegurl":{compressible:!1},"application/x-ms-application":{source:"apache",extensions:["application"]},"application/x-ms-shortcut":{source:"apache",extensions:["lnk"]},"application/x-ms-wmd":{source:"apache",extensions:["wmd"]},"application/x-ms-wmz":{source:"apache",extensions:["wmz"]},"application/x-ms-xbap":{source:"apache",extensions:["xbap"]},"application/x-msaccess":{source:"apache",extensions:["mdb"]},"application/x-msbinder":{source:"apache",extensions:["obd"]},"application/x-mscardfile":{source:"apache",extensions:["crd"]},"application/x-msclip":{source:"apache",extensions:["clp"]},"application/x-msdos-program":{extensions:["exe"]},"application/x-msdownload":{source:"apache",extensions:["exe","dll","com","bat","msi"]},"application/x-msmediaview":{source:"apache",extensions:["mvb","m13","m14"]},"application/x-msmetafile":{source:"apache",extensions:["wmf","wmz","emf","emz"]},"application/x-msmoney":{source:"apache",extensions:["mny"]},"application/x-mspublisher":{source:"apache",extensions:["pub"]},"application/x-msschedule":{source:"apache",extensions:["scd"]},"application/x-msterminal":{source:"apache",extensions:["trm"]},"application/x-mswrite":{source:"apache",extensions:["wri"]},"application/x-netcdf":{source:"apache",extensions:["nc","cdf"]},"application/x-ns-proxy-autoconfig":{compressible:!0,extensions:["pac"]},"application/x-nzb":{source:"apache",extensions:["nzb"]},"application/x-perl":{source:"nginx",extensions:["pl","pm"]},"application/x-pilot":{source:"nginx",extensions:["prc","pdb"]},"application/x-pkcs12":{source:"apache",compressible:!1,extensions:["p12","pfx"]},"application/x-pkcs7-certificates":{source:"apache",extensions:["p7b","spc"]},"application/x-pkcs7-certreqresp":{source:"apache",extensions:["p7r"]},"application/x-pki-message":{source:"iana"},"application/x-rar-compressed":{source:"apache",compressible:!1,extensions:["rar"]},"application/x-redhat-package-manager":{source:"nginx",extensions:["rpm"]},"application/x-research-info-systems":{source:"apache",extensions:["ris"]},"application/x-sea":{source:"nginx",extensions:["sea"]},"application/x-sh":{source:"apache",compressible:!0,extensions:["sh"]},"application/x-shar":{source:"apache",extensions:["shar"]},"application/x-shockwave-flash":{source:"apache",compressible:!1,extensions:["swf"]},"application/x-silverlight-app":{source:"apache",extensions:["xap"]},"application/x-sql":{source:"apache",extensions:["sql"]},"application/x-stuffit":{source:"apache",compressible:!1,extensions:["sit"]},"application/x-stuffitx":{source:"apache",extensions:["sitx"]},"application/x-subrip":{source:"apache",extensions:["srt"]},"application/x-sv4cpio":{source:"apache",extensions:["sv4cpio"]},"application/x-sv4crc":{source:"apache",extensions:["sv4crc"]},"application/x-t3vm-image":{source:"apache",extensions:["t3"]},"application/x-tads":{source:"apache",extensions:["gam"]},"application/x-tar":{source:"apache",compressible:!0,extensions:["tar"]},"application/x-tcl":{source:"apache",extensions:["tcl","tk"]},"application/x-tex":{source:"apache",extensions:["tex"]},"application/x-tex-tfm":{source:"apache",extensions:["tfm"]},"application/x-texinfo":{source:"apache",extensions:["texinfo","texi"]},"application/x-tgif":{source:"apache",extensions:["obj"]},"application/x-ustar":{source:"apache",extensions:["ustar"]},"application/x-virtualbox-hdd":{compressible:!0,extensions:["hdd"]},"application/x-virtualbox-ova":{compressible:!0,extensions:["ova"]},"application/x-virtualbox-ovf":{compressible:!0,extensions:["ovf"]},"application/x-virtualbox-vbox":{compressible:!0,extensions:["vbox"]},"application/x-virtualbox-vbox-extpack":{compressible:!1,extensions:["vbox-extpack"]},"application/x-virtualbox-vdi":{compressible:!0,extensions:["vdi"]},"application/x-virtualbox-vhd":{compressible:!0,extensions:["vhd"]},"application/x-virtualbox-vmdk":{compressible:!0,extensions:["vmdk"]},"application/x-wais-source":{source:"apache",extensions:["src"]},"application/x-web-app-manifest+json":{compressible:!0,extensions:["webapp"]},"application/x-www-form-urlencoded":{source:"iana",compressible:!0},"application/x-x509-ca-cert":{source:"iana",extensions:["der","crt","pem"]},"application/x-x509-ca-ra-cert":{source:"iana"},"application/x-x509-next-ca-cert":{source:"iana"},"application/x-xfig":{source:"apache",extensions:["fig"]},"application/x-xliff+xml":{source:"apache",compressible:!0,extensions:["xlf"]},"application/x-xpinstall":{source:"apache",compressible:!1,extensions:["xpi"]},"application/x-xz":{source:"apache",extensions:["xz"]},"application/x-zmachine":{source:"apache",extensions:["z1","z2","z3","z4","z5","z6","z7","z8"]},"application/x400-bp":{source:"iana"},"application/xacml+xml":{source:"iana",compressible:!0},"application/xaml+xml":{source:"apache",compressible:!0,extensions:["xaml"]},"application/xcap-att+xml":{source:"iana",compressible:!0,extensions:["xav"]},"application/xcap-caps+xml":{source:"iana",compressible:!0,extensions:["xca"]},"application/xcap-diff+xml":{source:"iana",compressible:!0,extensions:["xdf"]},"application/xcap-el+xml":{source:"iana",compressible:!0,extensions:["xel"]},"application/xcap-error+xml":{source:"iana",compressible:!0},"application/xcap-ns+xml":{source:"iana",compressible:!0,extensions:["xns"]},"application/xcon-conference-info+xml":{source:"iana",compressible:!0},"application/xcon-conference-info-diff+xml":{source:"iana",compressible:!0},"application/xenc+xml":{source:"iana",compressible:!0,extensions:["xenc"]},"application/xhtml+xml":{source:"iana",compressible:!0,extensions:["xhtml","xht"]},"application/xhtml-voice+xml":{source:"apache",compressible:!0},"application/xliff+xml":{source:"iana",compressible:!0,extensions:["xlf"]},"application/xml":{source:"iana",compressible:!0,extensions:["xml","xsl","xsd","rng"]},"application/xml-dtd":{source:"iana",compressible:!0,extensions:["dtd"]},"application/xml-external-parsed-entity":{source:"iana"},"application/xml-patch+xml":{source:"iana",compressible:!0},"application/xmpp+xml":{source:"iana",compressible:!0},"application/xop+xml":{source:"iana",compressible:!0,extensions:["xop"]},"application/xproc+xml":{source:"apache",compressible:!0,extensions:["xpl"]},"application/xslt+xml":{source:"iana",compressible:!0,extensions:["xsl","xslt"]},"application/xspf+xml":{source:"apache",compressible:!0,extensions:["xspf"]},"application/xv+xml":{source:"iana",compressible:!0,extensions:["mxml","xhvml","xvml","xvm"]},"application/yang":{source:"iana",extensions:["yang"]},"application/yang-data+json":{source:"iana",compressible:!0},"application/yang-data+xml":{source:"iana",compressible:!0},"application/yang-patch+json":{source:"iana",compressible:!0},"application/yang-patch+xml":{source:"iana",compressible:!0},"application/yin+xml":{source:"iana",compressible:!0,extensions:["yin"]},"application/zip":{source:"iana",compressible:!1,extensions:["zip"]},"application/zlib":{source:"iana"},"application/zstd":{source:"iana"},"audio/1d-interleaved-parityfec":{source:"iana"},"audio/32kadpcm":{source:"iana"},"audio/3gpp":{source:"iana",compressible:!1,extensions:["3gpp"]},"audio/3gpp2":{source:"iana"},"audio/aac":{source:"iana"},"audio/ac3":{source:"iana"},"audio/adpcm":{source:"apache",extensions:["adp"]},"audio/amr":{source:"iana",extensions:["amr"]},"audio/amr-wb":{source:"iana"},"audio/amr-wb+":{source:"iana"},"audio/aptx":{source:"iana"},"audio/asc":{source:"iana"},"audio/atrac-advanced-lossless":{source:"iana"},"audio/atrac-x":{source:"iana"},"audio/atrac3":{source:"iana"},"audio/basic":{source:"iana",compressible:!1,extensions:["au","snd"]},"audio/bv16":{source:"iana"},"audio/bv32":{source:"iana"},"audio/clearmode":{source:"iana"},"audio/cn":{source:"iana"},"audio/dat12":{source:"iana"},"audio/dls":{source:"iana"},"audio/dsr-es201108":{source:"iana"},"audio/dsr-es202050":{source:"iana"},"audio/dsr-es202211":{source:"iana"},"audio/dsr-es202212":{source:"iana"},"audio/dv":{source:"iana"},"audio/dvi4":{source:"iana"},"audio/eac3":{source:"iana"},"audio/encaprtp":{source:"iana"},"audio/evrc":{source:"iana"},"audio/evrc-qcp":{source:"iana"},"audio/evrc0":{source:"iana"},"audio/evrc1":{source:"iana"},"audio/evrcb":{source:"iana"},"audio/evrcb0":{source:"iana"},"audio/evrcb1":{source:"iana"},"audio/evrcnw":{source:"iana"},"audio/evrcnw0":{source:"iana"},"audio/evrcnw1":{source:"iana"},"audio/evrcwb":{source:"iana"},"audio/evrcwb0":{source:"iana"},"audio/evrcwb1":{source:"iana"},"audio/evs":{source:"iana"},"audio/flexfec":{source:"iana"},"audio/fwdred":{source:"iana"},"audio/g711-0":{source:"iana"},"audio/g719":{source:"iana"},"audio/g722":{source:"iana"},"audio/g7221":{source:"iana"},"audio/g723":{source:"iana"},"audio/g726-16":{source:"iana"},"audio/g726-24":{source:"iana"},"audio/g726-32":{source:"iana"},"audio/g726-40":{source:"iana"},"audio/g728":{source:"iana"},"audio/g729":{source:"iana"},"audio/g7291":{source:"iana"},"audio/g729d":{source:"iana"},"audio/g729e":{source:"iana"},"audio/gsm":{source:"iana"},"audio/gsm-efr":{source:"iana"},"audio/gsm-hr-08":{source:"iana"},"audio/ilbc":{source:"iana"},"audio/ip-mr_v2.5":{source:"iana"},"audio/isac":{source:"apache"},"audio/l16":{source:"iana"},"audio/l20":{source:"iana"},"audio/l24":{source:"iana",compressible:!1},"audio/l8":{source:"iana"},"audio/lpc":{source:"iana"},"audio/melp":{source:"iana"},"audio/melp1200":{source:"iana"},"audio/melp2400":{source:"iana"},"audio/melp600":{source:"iana"},"audio/mhas":{source:"iana"},"audio/midi":{source:"apache",extensions:["mid","midi","kar","rmi"]},"audio/mobile-xmf":{source:"iana",extensions:["mxmf"]},"audio/mp3":{compressible:!1,extensions:["mp3"]},"audio/mp4":{source:"iana",compressible:!1,extensions:["m4a","mp4a"]},"audio/mp4a-latm":{source:"iana"},"audio/mpa":{source:"iana"},"audio/mpa-robust":{source:"iana"},"audio/mpeg":{source:"iana",compressible:!1,extensions:["mpga","mp2","mp2a","mp3","m2a","m3a"]},"audio/mpeg4-generic":{source:"iana"},"audio/musepack":{source:"apache"},"audio/ogg":{source:"iana",compressible:!1,extensions:["oga","ogg","spx","opus"]},"audio/opus":{source:"iana"},"audio/parityfec":{source:"iana"},"audio/pcma":{source:"iana"},"audio/pcma-wb":{source:"iana"},"audio/pcmu":{source:"iana"},"audio/pcmu-wb":{source:"iana"},"audio/prs.sid":{source:"iana"},"audio/qcelp":{source:"iana"},"audio/raptorfec":{source:"iana"},"audio/red":{source:"iana"},"audio/rtp-enc-aescm128":{source:"iana"},"audio/rtp-midi":{source:"iana"},"audio/rtploopback":{source:"iana"},"audio/rtx":{source:"iana"},"audio/s3m":{source:"apache",extensions:["s3m"]},"audio/scip":{source:"iana"},"audio/silk":{source:"apache",extensions:["sil"]},"audio/smv":{source:"iana"},"audio/smv-qcp":{source:"iana"},"audio/smv0":{source:"iana"},"audio/sofa":{source:"iana"},"audio/sp-midi":{source:"iana"},"audio/speex":{source:"iana"},"audio/t140c":{source:"iana"},"audio/t38":{source:"iana"},"audio/telephone-event":{source:"iana"},"audio/tetra_acelp":{source:"iana"},"audio/tetra_acelp_bb":{source:"iana"},"audio/tone":{source:"iana"},"audio/tsvcis":{source:"iana"},"audio/uemclip":{source:"iana"},"audio/ulpfec":{source:"iana"},"audio/usac":{source:"iana"},"audio/vdvi":{source:"iana"},"audio/vmr-wb":{source:"iana"},"audio/vnd.3gpp.iufp":{source:"iana"},"audio/vnd.4sb":{source:"iana"},"audio/vnd.audiokoz":{source:"iana"},"audio/vnd.celp":{source:"iana"},"audio/vnd.cisco.nse":{source:"iana"},"audio/vnd.cmles.radio-events":{source:"iana"},"audio/vnd.cns.anp1":{source:"iana"},"audio/vnd.cns.inf1":{source:"iana"},"audio/vnd.dece.audio":{source:"iana",extensions:["uva","uvva"]},"audio/vnd.digital-winds":{source:"iana",extensions:["eol"]},"audio/vnd.dlna.adts":{source:"iana"},"audio/vnd.dolby.heaac.1":{source:"iana"},"audio/vnd.dolby.heaac.2":{source:"iana"},"audio/vnd.dolby.mlp":{source:"iana"},"audio/vnd.dolby.mps":{source:"iana"},"audio/vnd.dolby.pl2":{source:"iana"},"audio/vnd.dolby.pl2x":{source:"iana"},"audio/vnd.dolby.pl2z":{source:"iana"},"audio/vnd.dolby.pulse.1":{source:"iana"},"audio/vnd.dra":{source:"iana",extensions:["dra"]},"audio/vnd.dts":{source:"iana",extensions:["dts"]},"audio/vnd.dts.hd":{source:"iana",extensions:["dtshd"]},"audio/vnd.dts.uhd":{source:"iana"},"audio/vnd.dvb.file":{source:"iana"},"audio/vnd.everad.plj":{source:"iana"},"audio/vnd.hns.audio":{source:"iana"},"audio/vnd.lucent.voice":{source:"iana",extensions:["lvp"]},"audio/vnd.ms-playready.media.pya":{source:"iana",extensions:["pya"]},"audio/vnd.nokia.mobile-xmf":{source:"iana"},"audio/vnd.nortel.vbk":{source:"iana"},"audio/vnd.nuera.ecelp4800":{source:"iana",extensions:["ecelp4800"]},"audio/vnd.nuera.ecelp7470":{source:"iana",extensions:["ecelp7470"]},"audio/vnd.nuera.ecelp9600":{source:"iana",extensions:["ecelp9600"]},"audio/vnd.octel.sbc":{source:"iana"},"audio/vnd.presonus.multitrack":{source:"iana"},"audio/vnd.qcelp":{source:"iana"},"audio/vnd.rhetorex.32kadpcm":{source:"iana"},"audio/vnd.rip":{source:"iana",extensions:["rip"]},"audio/vnd.rn-realaudio":{compressible:!1},"audio/vnd.sealedmedia.softseal.mpeg":{source:"iana"},"audio/vnd.vmx.cvsd":{source:"iana"},"audio/vnd.wave":{compressible:!1},"audio/vorbis":{source:"iana",compressible:!1},"audio/vorbis-config":{source:"iana"},"audio/wav":{compressible:!1,extensions:["wav"]},"audio/wave":{compressible:!1,extensions:["wav"]},"audio/webm":{source:"apache",compressible:!1,extensions:["weba"]},"audio/x-aac":{source:"apache",compressible:!1,extensions:["aac"]},"audio/x-aiff":{source:"apache",extensions:["aif","aiff","aifc"]},"audio/x-caf":{source:"apache",compressible:!1,extensions:["caf"]},"audio/x-flac":{source:"apache",extensions:["flac"]},"audio/x-m4a":{source:"nginx",extensions:["m4a"]},"audio/x-matroska":{source:"apache",extensions:["mka"]},"audio/x-mpegurl":{source:"apache",extensions:["m3u"]},"audio/x-ms-wax":{source:"apache",extensions:["wax"]},"audio/x-ms-wma":{source:"apache",extensions:["wma"]},"audio/x-pn-realaudio":{source:"apache",extensions:["ram","ra"]},"audio/x-pn-realaudio-plugin":{source:"apache",extensions:["rmp"]},"audio/x-realaudio":{source:"nginx",extensions:["ra"]},"audio/x-tta":{source:"apache"},"audio/x-wav":{source:"apache",extensions:["wav"]},"audio/xm":{source:"apache",extensions:["xm"]},"chemical/x-cdx":{source:"apache",extensions:["cdx"]},"chemical/x-cif":{source:"apache",extensions:["cif"]},"chemical/x-cmdf":{source:"apache",extensions:["cmdf"]},"chemical/x-cml":{source:"apache",extensions:["cml"]},"chemical/x-csml":{source:"apache",extensions:["csml"]},"chemical/x-pdb":{source:"apache"},"chemical/x-xyz":{source:"apache",extensions:["xyz"]},"font/collection":{source:"iana",extensions:["ttc"]},"font/otf":{source:"iana",compressible:!0,extensions:["otf"]},"font/sfnt":{source:"iana"},"font/ttf":{source:"iana",compressible:!0,extensions:["ttf"]},"font/woff":{source:"iana",extensions:["woff"]},"font/woff2":{source:"iana",extensions:["woff2"]},"image/aces":{source:"iana",extensions:["exr"]},"image/apng":{compressible:!1,extensions:["apng"]},"image/avci":{source:"iana",extensions:["avci"]},"image/avcs":{source:"iana",extensions:["avcs"]},"image/avif":{source:"iana",compressible:!1,extensions:["avif"]},"image/bmp":{source:"iana",compressible:!0,extensions:["bmp"]},"image/cgm":{source:"iana",extensions:["cgm"]},"image/dicom-rle":{source:"iana",extensions:["drle"]},"image/emf":{source:"iana",extensions:["emf"]},"image/fits":{source:"iana",extensions:["fits"]},"image/g3fax":{source:"iana",extensions:["g3"]},"image/gif":{source:"iana",compressible:!1,extensions:["gif"]},"image/heic":{source:"iana",extensions:["heic"]},"image/heic-sequence":{source:"iana",extensions:["heics"]},"image/heif":{source:"iana",extensions:["heif"]},"image/heif-sequence":{source:"iana",extensions:["heifs"]},"image/hej2k":{source:"iana",extensions:["hej2"]},"image/hsj2":{source:"iana",extensions:["hsj2"]},"image/ief":{source:"iana",extensions:["ief"]},"image/jls":{source:"iana",extensions:["jls"]},"image/jp2":{source:"iana",compressible:!1,extensions:["jp2","jpg2"]},"image/jpeg":{source:"iana",compressible:!1,extensions:["jpeg","jpg","jpe"]},"image/jph":{source:"iana",extensions:["jph"]},"image/jphc":{source:"iana",extensions:["jhc"]},"image/jpm":{source:"iana",compressible:!1,extensions:["jpm"]},"image/jpx":{source:"iana",compressible:!1,extensions:["jpx","jpf"]},"image/jxr":{source:"iana",extensions:["jxr"]},"image/jxra":{source:"iana",extensions:["jxra"]},"image/jxrs":{source:"iana",extensions:["jxrs"]},"image/jxs":{source:"iana",extensions:["jxs"]},"image/jxsc":{source:"iana",extensions:["jxsc"]},"image/jxsi":{source:"iana",extensions:["jxsi"]},"image/jxss":{source:"iana",extensions:["jxss"]},"image/ktx":{source:"iana",extensions:["ktx"]},"image/ktx2":{source:"iana",extensions:["ktx2"]},"image/naplps":{source:"iana"},"image/pjpeg":{compressible:!1},"image/png":{source:"iana",compressible:!1,extensions:["png"]},"image/prs.btif":{source:"iana",extensions:["btif"]},"image/prs.pti":{source:"iana",extensions:["pti"]},"image/pwg-raster":{source:"iana"},"image/sgi":{source:"apache",extensions:["sgi"]},"image/svg+xml":{source:"iana",compressible:!0,extensions:["svg","svgz"]},"image/t38":{source:"iana",extensions:["t38"]},"image/tiff":{source:"iana",compressible:!1,extensions:["tif","tiff"]},"image/tiff-fx":{source:"iana",extensions:["tfx"]},"image/vnd.adobe.photoshop":{source:"iana",compressible:!0,extensions:["psd"]},"image/vnd.airzip.accelerator.azv":{source:"iana",extensions:["azv"]},"image/vnd.cns.inf2":{source:"iana"},"image/vnd.dece.graphic":{source:"iana",extensions:["uvi","uvvi","uvg","uvvg"]},"image/vnd.djvu":{source:"iana",extensions:["djvu","djv"]},"image/vnd.dvb.subtitle":{source:"iana",extensions:["sub"]},"image/vnd.dwg":{source:"iana",extensions:["dwg"]},"image/vnd.dxf":{source:"iana",extensions:["dxf"]},"image/vnd.fastbidsheet":{source:"iana",extensions:["fbs"]},"image/vnd.fpx":{source:"iana",extensions:["fpx"]},"image/vnd.fst":{source:"iana",extensions:["fst"]},"image/vnd.fujixerox.edmics-mmr":{source:"iana",extensions:["mmr"]},"image/vnd.fujixerox.edmics-rlc":{source:"iana",extensions:["rlc"]},"image/vnd.globalgraphics.pgb":{source:"iana"},"image/vnd.microsoft.icon":{source:"iana",compressible:!0,extensions:["ico"]},"image/vnd.mix":{source:"iana"},"image/vnd.mozilla.apng":{source:"iana"},"image/vnd.ms-dds":{compressible:!0,extensions:["dds"]},"image/vnd.ms-modi":{source:"iana",extensions:["mdi"]},"image/vnd.ms-photo":{source:"apache",extensions:["wdp"]},"image/vnd.net-fpx":{source:"iana",extensions:["npx"]},"image/vnd.pco.b16":{source:"iana",extensions:["b16"]},"image/vnd.radiance":{source:"iana"},"image/vnd.sealed.png":{source:"iana"},"image/vnd.sealedmedia.softseal.gif":{source:"iana"},"image/vnd.sealedmedia.softseal.jpg":{source:"iana"},"image/vnd.svf":{source:"iana"},"image/vnd.tencent.tap":{source:"iana",extensions:["tap"]},"image/vnd.valve.source.texture":{source:"iana",extensions:["vtf"]},"image/vnd.wap.wbmp":{source:"iana",extensions:["wbmp"]},"image/vnd.xiff":{source:"iana",extensions:["xif"]},"image/vnd.zbrush.pcx":{source:"iana",extensions:["pcx"]},"image/webp":{source:"apache",extensions:["webp"]},"image/wmf":{source:"iana",extensions:["wmf"]},"image/x-3ds":{source:"apache",extensions:["3ds"]},"image/x-cmu-raster":{source:"apache",extensions:["ras"]},"image/x-cmx":{source:"apache",extensions:["cmx"]},"image/x-freehand":{source:"apache",extensions:["fh","fhc","fh4","fh5","fh7"]},"image/x-icon":{source:"apache",compressible:!0,extensions:["ico"]},"image/x-jng":{source:"nginx",extensions:["jng"]},"image/x-mrsid-image":{source:"apache",extensions:["sid"]},"image/x-ms-bmp":{source:"nginx",compressible:!0,extensions:["bmp"]},"image/x-pcx":{source:"apache",extensions:["pcx"]},"image/x-pict":{source:"apache",extensions:["pic","pct"]},"image/x-portable-anymap":{source:"apache",extensions:["pnm"]},"image/x-portable-bitmap":{source:"apache",extensions:["pbm"]},"image/x-portable-graymap":{source:"apache",extensions:["pgm"]},"image/x-portable-pixmap":{source:"apache",extensions:["ppm"]},"image/x-rgb":{source:"apache",extensions:["rgb"]},"image/x-tga":{source:"apache",extensions:["tga"]},"image/x-xbitmap":{source:"apache",extensions:["xbm"]},"image/x-xcf":{compressible:!1},"image/x-xpixmap":{source:"apache",extensions:["xpm"]},"image/x-xwindowdump":{source:"apache",extensions:["xwd"]},"message/cpim":{source:"iana"},"message/delivery-status":{source:"iana"},"message/disposition-notification":{source:"iana",extensions:["disposition-notification"]},"message/external-body":{source:"iana"},"message/feedback-report":{source:"iana"},"message/global":{source:"iana",extensions:["u8msg"]},"message/global-delivery-status":{source:"iana",extensions:["u8dsn"]},"message/global-disposition-notification":{source:"iana",extensions:["u8mdn"]},"message/global-headers":{source:"iana",extensions:["u8hdr"]},"message/http":{source:"iana",compressible:!1},"message/imdn+xml":{source:"iana",compressible:!0},"message/news":{source:"iana"},"message/partial":{source:"iana",compressible:!1},"message/rfc822":{source:"iana",compressible:!0,extensions:["eml","mime"]},"message/s-http":{source:"iana"},"message/sip":{source:"iana"},"message/sipfrag":{source:"iana"},"message/tracking-status":{source:"iana"},"message/vnd.si.simp":{source:"iana"},"message/vnd.wfa.wsc":{source:"iana",extensions:["wsc"]},"model/3mf":{source:"iana",extensions:["3mf"]},"model/e57":{source:"iana"},"model/gltf+json":{source:"iana",compressible:!0,extensions:["gltf"]},"model/gltf-binary":{source:"iana",compressible:!0,extensions:["glb"]},"model/iges":{source:"iana",compressible:!1,extensions:["igs","iges"]},"model/mesh":{source:"iana",compressible:!1,extensions:["msh","mesh","silo"]},"model/mtl":{source:"iana",extensions:["mtl"]},"model/obj":{source:"iana",extensions:["obj"]},"model/step":{source:"iana"},"model/step+xml":{source:"iana",compressible:!0,extensions:["stpx"]},"model/step+zip":{source:"iana",compressible:!1,extensions:["stpz"]},"model/step-xml+zip":{source:"iana",compressible:!1,extensions:["stpxz"]},"model/stl":{source:"iana",extensions:["stl"]},"model/vnd.collada+xml":{source:"iana",compressible:!0,extensions:["dae"]},"model/vnd.dwf":{source:"iana",extensions:["dwf"]},"model/vnd.flatland.3dml":{source:"iana"},"model/vnd.gdl":{source:"iana",extensions:["gdl"]},"model/vnd.gs-gdl":{source:"apache"},"model/vnd.gs.gdl":{source:"iana"},"model/vnd.gtw":{source:"iana",extensions:["gtw"]},"model/vnd.moml+xml":{source:"iana",compressible:!0},"model/vnd.mts":{source:"iana",extensions:["mts"]},"model/vnd.opengex":{source:"iana",extensions:["ogex"]},"model/vnd.parasolid.transmit.binary":{source:"iana",extensions:["x_b"]},"model/vnd.parasolid.transmit.text":{source:"iana",extensions:["x_t"]},"model/vnd.pytha.pyox":{source:"iana"},"model/vnd.rosette.annotated-data-model":{source:"iana"},"model/vnd.sap.vds":{source:"iana",extensions:["vds"]},"model/vnd.usdz+zip":{source:"iana",compressible:!1,extensions:["usdz"]},"model/vnd.valve.source.compiled-map":{source:"iana",extensions:["bsp"]},"model/vnd.vtu":{source:"iana",extensions:["vtu"]},"model/vrml":{source:"iana",compressible:!1,extensions:["wrl","vrml"]},"model/x3d+binary":{source:"apache",compressible:!1,extensions:["x3db","x3dbz"]},"model/x3d+fastinfoset":{source:"iana",extensions:["x3db"]},"model/x3d+vrml":{source:"apache",compressible:!1,extensions:["x3dv","x3dvz"]},"model/x3d+xml":{source:"iana",compressible:!0,extensions:["x3d","x3dz"]},"model/x3d-vrml":{source:"iana",extensions:["x3dv"]},"multipart/alternative":{source:"iana",compressible:!1},"multipart/appledouble":{source:"iana"},"multipart/byteranges":{source:"iana"},"multipart/digest":{source:"iana"},"multipart/encrypted":{source:"iana",compressible:!1},"multipart/form-data":{source:"iana",compressible:!1},"multipart/header-set":{source:"iana"},"multipart/mixed":{source:"iana"},"multipart/multilingual":{source:"iana"},"multipart/parallel":{source:"iana"},"multipart/related":{source:"iana",compressible:!1},"multipart/report":{source:"iana"},"multipart/signed":{source:"iana",compressible:!1},"multipart/vnd.bint.med-plus":{source:"iana"},"multipart/voice-message":{source:"iana"},"multipart/x-mixed-replace":{source:"iana"},"text/1d-interleaved-parityfec":{source:"iana"},"text/cache-manifest":{source:"iana",compressible:!0,extensions:["appcache","manifest"]},"text/calendar":{source:"iana",extensions:["ics","ifb"]},"text/calender":{compressible:!0},"text/cmd":{compressible:!0},"text/coffeescript":{extensions:["coffee","litcoffee"]},"text/cql":{source:"iana"},"text/cql-expression":{source:"iana"},"text/cql-identifier":{source:"iana"},"text/css":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["css"]},"text/csv":{source:"iana",compressible:!0,extensions:["csv"]},"text/csv-schema":{source:"iana"},"text/directory":{source:"iana"},"text/dns":{source:"iana"},"text/ecmascript":{source:"iana"},"text/encaprtp":{source:"iana"},"text/enriched":{source:"iana"},"text/fhirpath":{source:"iana"},"text/flexfec":{source:"iana"},"text/fwdred":{source:"iana"},"text/gff3":{source:"iana"},"text/grammar-ref-list":{source:"iana"},"text/html":{source:"iana",compressible:!0,extensions:["html","htm","shtml"]},"text/jade":{extensions:["jade"]},"text/javascript":{source:"iana",compressible:!0},"text/jcr-cnd":{source:"iana"},"text/jsx":{compressible:!0,extensions:["jsx"]},"text/less":{compressible:!0,extensions:["less"]},"text/markdown":{source:"iana",compressible:!0,extensions:["markdown","md"]},"text/mathml":{source:"nginx",extensions:["mml"]},"text/mdx":{compressible:!0,extensions:["mdx"]},"text/mizar":{source:"iana"},"text/n3":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["n3"]},"text/parameters":{source:"iana",charset:"UTF-8"},"text/parityfec":{source:"iana"},"text/plain":{source:"iana",compressible:!0,extensions:["txt","text","conf","def","list","log","in","ini"]},"text/provenance-notation":{source:"iana",charset:"UTF-8"},"text/prs.fallenstein.rst":{source:"iana"},"text/prs.lines.tag":{source:"iana",extensions:["dsc"]},"text/prs.prop.logic":{source:"iana"},"text/raptorfec":{source:"iana"},"text/red":{source:"iana"},"text/rfc822-headers":{source:"iana"},"text/richtext":{source:"iana",compressible:!0,extensions:["rtx"]},"text/rtf":{source:"iana",compressible:!0,extensions:["rtf"]},"text/rtp-enc-aescm128":{source:"iana"},"text/rtploopback":{source:"iana"},"text/rtx":{source:"iana"},"text/sgml":{source:"iana",extensions:["sgml","sgm"]},"text/shaclc":{source:"iana"},"text/shex":{source:"iana",extensions:["shex"]},"text/slim":{extensions:["slim","slm"]},"text/spdx":{source:"iana",extensions:["spdx"]},"text/strings":{source:"iana"},"text/stylus":{extensions:["stylus","styl"]},"text/t140":{source:"iana"},"text/tab-separated-values":{source:"iana",compressible:!0,extensions:["tsv"]},"text/troff":{source:"iana",extensions:["t","tr","roff","man","me","ms"]},"text/turtle":{source:"iana",charset:"UTF-8",extensions:["ttl"]},"text/ulpfec":{source:"iana"},"text/uri-list":{source:"iana",compressible:!0,extensions:["uri","uris","urls"]},"text/vcard":{source:"iana",compressible:!0,extensions:["vcard"]},"text/vnd.a":{source:"iana"},"text/vnd.abc":{source:"iana"},"text/vnd.ascii-art":{source:"iana"},"text/vnd.curl":{source:"iana",extensions:["curl"]},"text/vnd.curl.dcurl":{source:"apache",extensions:["dcurl"]},"text/vnd.curl.mcurl":{source:"apache",extensions:["mcurl"]},"text/vnd.curl.scurl":{source:"apache",extensions:["scurl"]},"text/vnd.debian.copyright":{source:"iana",charset:"UTF-8"},"text/vnd.dmclientscript":{source:"iana"},"text/vnd.dvb.subtitle":{source:"iana",extensions:["sub"]},"text/vnd.esmertec.theme-descriptor":{source:"iana",charset:"UTF-8"},"text/vnd.familysearch.gedcom":{source:"iana",extensions:["ged"]},"text/vnd.ficlab.flt":{source:"iana"},"text/vnd.fly":{source:"iana",extensions:["fly"]},"text/vnd.fmi.flexstor":{source:"iana",extensions:["flx"]},"text/vnd.gml":{source:"iana"},"text/vnd.graphviz":{source:"iana",extensions:["gv"]},"text/vnd.hans":{source:"iana"},"text/vnd.hgl":{source:"iana"},"text/vnd.in3d.3dml":{source:"iana",extensions:["3dml"]},"text/vnd.in3d.spot":{source:"iana",extensions:["spot"]},"text/vnd.iptc.newsml":{source:"iana"},"text/vnd.iptc.nitf":{source:"iana"},"text/vnd.latex-z":{source:"iana"},"text/vnd.motorola.reflex":{source:"iana"},"text/vnd.ms-mediapackage":{source:"iana"},"text/vnd.net2phone.commcenter.command":{source:"iana"},"text/vnd.radisys.msml-basic-layout":{source:"iana"},"text/vnd.senx.warpscript":{source:"iana"},"text/vnd.si.uricatalogue":{source:"iana"},"text/vnd.sosi":{source:"iana"},"text/vnd.sun.j2me.app-descriptor":{source:"iana",charset:"UTF-8",extensions:["jad"]},"text/vnd.trolltech.linguist":{source:"iana",charset:"UTF-8"},"text/vnd.wap.si":{source:"iana"},"text/vnd.wap.sl":{source:"iana"},"text/vnd.wap.wml":{source:"iana",extensions:["wml"]},"text/vnd.wap.wmlscript":{source:"iana",extensions:["wmls"]},"text/vtt":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["vtt"]},"text/x-asm":{source:"apache",extensions:["s","asm"]},"text/x-c":{source:"apache",extensions:["c","cc","cxx","cpp","h","hh","dic"]},"text/x-component":{source:"nginx",extensions:["htc"]},"text/x-fortran":{source:"apache",extensions:["f","for","f77","f90"]},"text/x-gwt-rpc":{compressible:!0},"text/x-handlebars-template":{extensions:["hbs"]},"text/x-java-source":{source:"apache",extensions:["java"]},"text/x-jquery-tmpl":{compressible:!0},"text/x-lua":{extensions:["lua"]},"text/x-markdown":{compressible:!0,extensions:["mkd"]},"text/x-nfo":{source:"apache",extensions:["nfo"]},"text/x-opml":{source:"apache",extensions:["opml"]},"text/x-org":{compressible:!0,extensions:["org"]},"text/x-pascal":{source:"apache",extensions:["p","pas"]},"text/x-processing":{compressible:!0,extensions:["pde"]},"text/x-sass":{extensions:["sass"]},"text/x-scss":{extensions:["scss"]},"text/x-setext":{source:"apache",extensions:["etx"]},"text/x-sfv":{source:"apache",extensions:["sfv"]},"text/x-suse-ymp":{compressible:!0,extensions:["ymp"]},"text/x-uuencode":{source:"apache",extensions:["uu"]},"text/x-vcalendar":{source:"apache",extensions:["vcs"]},"text/x-vcard":{source:"apache",extensions:["vcf"]},"text/xml":{source:"iana",compressible:!0,extensions:["xml"]},"text/xml-external-parsed-entity":{source:"iana"},"text/yaml":{compressible:!0,extensions:["yaml","yml"]},"video/1d-interleaved-parityfec":{source:"iana"},"video/3gpp":{source:"iana",extensions:["3gp","3gpp"]},"video/3gpp-tt":{source:"iana"},"video/3gpp2":{source:"iana",extensions:["3g2"]},"video/av1":{source:"iana"},"video/bmpeg":{source:"iana"},"video/bt656":{source:"iana"},"video/celb":{source:"iana"},"video/dv":{source:"iana"},"video/encaprtp":{source:"iana"},"video/ffv1":{source:"iana"},"video/flexfec":{source:"iana"},"video/h261":{source:"iana",extensions:["h261"]},"video/h263":{source:"iana",extensions:["h263"]},"video/h263-1998":{source:"iana"},"video/h263-2000":{source:"iana"},"video/h264":{source:"iana",extensions:["h264"]},"video/h264-rcdo":{source:"iana"},"video/h264-svc":{source:"iana"},"video/h265":{source:"iana"},"video/iso.segment":{source:"iana",extensions:["m4s"]},"video/jpeg":{source:"iana",extensions:["jpgv"]},"video/jpeg2000":{source:"iana"},"video/jpm":{source:"apache",extensions:["jpm","jpgm"]},"video/jxsv":{source:"iana"},"video/mj2":{source:"iana",extensions:["mj2","mjp2"]},"video/mp1s":{source:"iana"},"video/mp2p":{source:"iana"},"video/mp2t":{source:"iana",extensions:["ts"]},"video/mp4":{source:"iana",compressible:!1,extensions:["mp4","mp4v","mpg4"]},"video/mp4v-es":{source:"iana"},"video/mpeg":{source:"iana",compressible:!1,extensions:["mpeg","mpg","mpe","m1v","m2v"]},"video/mpeg4-generic":{source:"iana"},"video/mpv":{source:"iana"},"video/nv":{source:"iana"},"video/ogg":{source:"iana",compressible:!1,extensions:["ogv"]},"video/parityfec":{source:"iana"},"video/pointer":{source:"iana"},"video/quicktime":{source:"iana",compressible:!1,extensions:["qt","mov"]},"video/raptorfec":{source:"iana"},"video/raw":{source:"iana"},"video/rtp-enc-aescm128":{source:"iana"},"video/rtploopback":{source:"iana"},"video/rtx":{source:"iana"},"video/scip":{source:"iana"},"video/smpte291":{source:"iana"},"video/smpte292m":{source:"iana"},"video/ulpfec":{source:"iana"},"video/vc1":{source:"iana"},"video/vc2":{source:"iana"},"video/vnd.cctv":{source:"iana"},"video/vnd.dece.hd":{source:"iana",extensions:["uvh","uvvh"]},"video/vnd.dece.mobile":{source:"iana",extensions:["uvm","uvvm"]},"video/vnd.dece.mp4":{source:"iana"},"video/vnd.dece.pd":{source:"iana",extensions:["uvp","uvvp"]},"video/vnd.dece.sd":{source:"iana",extensions:["uvs","uvvs"]},"video/vnd.dece.video":{source:"iana",extensions:["uvv","uvvv"]},"video/vnd.directv.mpeg":{source:"iana"},"video/vnd.directv.mpeg-tts":{source:"iana"},"video/vnd.dlna.mpeg-tts":{source:"iana"},"video/vnd.dvb.file":{source:"iana",extensions:["dvb"]},"video/vnd.fvt":{source:"iana",extensions:["fvt"]},"video/vnd.hns.video":{source:"iana"},"video/vnd.iptvforum.1dparityfec-1010":{source:"iana"},"video/vnd.iptvforum.1dparityfec-2005":{source:"iana"},"video/vnd.iptvforum.2dparityfec-1010":{source:"iana"},"video/vnd.iptvforum.2dparityfec-2005":{source:"iana"},"video/vnd.iptvforum.ttsavc":{source:"iana"},"video/vnd.iptvforum.ttsmpeg2":{source:"iana"},"video/vnd.motorola.video":{source:"iana"},"video/vnd.motorola.videop":{source:"iana"},"video/vnd.mpegurl":{source:"iana",extensions:["mxu","m4u"]},"video/vnd.ms-playready.media.pyv":{source:"iana",extensions:["pyv"]},"video/vnd.nokia.interleaved-multimedia":{source:"iana"},"video/vnd.nokia.mp4vr":{source:"iana"},"video/vnd.nokia.videovoip":{source:"iana"},"video/vnd.objectvideo":{source:"iana"},"video/vnd.radgamettools.bink":{source:"iana"},"video/vnd.radgamettools.smacker":{source:"iana"},"video/vnd.sealed.mpeg1":{source:"iana"},"video/vnd.sealed.mpeg4":{source:"iana"},"video/vnd.sealed.swf":{source:"iana"},"video/vnd.sealedmedia.softseal.mov":{source:"iana"},"video/vnd.uvvu.mp4":{source:"iana",extensions:["uvu","uvvu"]},"video/vnd.vivo":{source:"iana",extensions:["viv"]},"video/vnd.youtube.yt":{source:"iana"},"video/vp8":{source:"iana"},"video/vp9":{source:"iana"},"video/webm":{source:"apache",compressible:!1,extensions:["webm"]},"video/x-f4v":{source:"apache",extensions:["f4v"]},"video/x-fli":{source:"apache",extensions:["fli"]},"video/x-flv":{source:"apache",compressible:!1,extensions:["flv"]},"video/x-m4v":{source:"apache",extensions:["m4v"]},"video/x-matroska":{source:"apache",compressible:!1,extensions:["mkv","mk3d","mks"]},"video/x-mng":{source:"apache",extensions:["mng"]},"video/x-ms-asf":{source:"apache",extensions:["asf","asx"]},"video/x-ms-vob":{source:"apache",extensions:["vob"]},"video/x-ms-wm":{source:"apache",extensions:["wm"]},"video/x-ms-wmv":{source:"apache",compressible:!1,extensions:["wmv"]},"video/x-ms-wmx":{source:"apache",extensions:["wmx"]},"video/x-ms-wvx":{source:"apache",extensions:["wvx"]},"video/x-msvideo":{source:"apache",extensions:["avi"]},"video/x-sgi-movie":{source:"apache",extensions:["movie"]},"video/x-smv":{source:"apache",extensions:["smv"]},"x-conference/x-cooltalk":{source:"apache",extensions:["ice"]},"x-shader/x-fragment":{compressible:!0},"x-shader/x-vertex":{compressible:!0}};
21
+ /*!
22
+ * mime-types
23
+ * Copyright(c) 2014 Jonathan Ong
24
+ * Copyright(c) 2015 Douglas Christopher Wilson
25
+ * MIT Licensed
26
+ */
27
+ !function(e){var t=Mc,n=i.extname,a=/^\s*([^;\s]*)(?:;|\s|$)/,r=/^text\//i;function o(e){if(!e||"string"!=typeof e)return!1;var n=a.exec(e),i=n&&t[n[1].toLowerCase()];return i&&i.charset?i.charset:!(!n||!r.test(n[1]))&&"UTF-8"}e.charset=o,e.charsets={lookup:o},e.contentType=function(t){if(!t||"string"!=typeof t)return!1;var n=-1===t.indexOf("/")?e.lookup(t):t;if(!n)return!1;if(-1===n.indexOf("charset")){var i=e.charset(n);i&&(n+="; charset="+i.toLowerCase())}return n},e.extension=function(t){if(!t||"string"!=typeof t)return!1;var n=a.exec(t),i=n&&e.extensions[n[1].toLowerCase()];if(!i||!i.length)return!1;return i[0]},e.extensions=Object.create(null),e.lookup=function(t){if(!t||"string"!=typeof t)return!1;var i=n("x."+t).toLowerCase().substr(1);if(!i)return!1;return e.types[i]||!1},e.types=Object.create(null),function(e,n){var i=["nginx","apache",void 0,"iana"];Object.keys(t).forEach(function(a){var r=t[a],o=r.extensions;if(o&&o.length){e[a]=o;for(var s=0;s<o.length;s++){var c=o[s];if(n[c]){var l=i.indexOf(t[n[c]].source),u=i.indexOf(r.source);if("application/octet-stream"!==n[c]&&(l>u||l===u&&"application/"===n[c].substr(0,12)))continue}n[c]=a}}})}(e.extensions,e.types)}(Bc);var zc=function(e){var t="function"==typeof setImmediate?setImmediate:"object"==typeof process&&"function"==typeof process.nextTick?process.nextTick:null;t?t(e):setTimeout(e,0)};var qc=zc,Gc=function(e){var t=!1;return qc(function(){t=!0}),function(n,i){t?e(n,i):qc(function(){e(n,i)})}};var Hc=function(e){Object.keys(e.jobs).forEach(Wc.bind(e)),e.jobs={}};function Wc(e){"function"==typeof this.jobs[e]&&this.jobs[e]()}var Vc=Gc,Zc=Hc,Kc=function(e,t,n,i){var a=n.keyedList?n.keyedList[n.index]:n.index;n.jobs[a]=function(e,t,n,i){var a;a=2==e.length?e(n,Vc(i)):e(n,t,Vc(i));return a}(t,a,e[a],function(e,t){a in n.jobs&&(delete n.jobs[a],e?Zc(n):n.results[a]=t,i(e,n.results))})};var Xc=function(e,t){var n=!Array.isArray(e),i={index:0,keyedList:n||t?Object.keys(e):null,jobs:{},results:n?{}:[],size:n?Object.keys(e).length:e.length};t&&i.keyedList.sort(n?t:function(n,i){return t(e[n],e[i])});return i};var Yc=Hc,Jc=Gc,Qc=function(e){if(!Object.keys(this.jobs).length)return;this.index=this.size,Yc(this),Jc(e)(null,this.results)};var el=Kc,tl=Xc,nl=Qc,il=function(e,t,n){var i=tl(e);for(;i.index<(i.keyedList||e).length;)el(e,t,i,function(e,t){e?n(e,t):0!==Object.keys(i.jobs).length||n(null,i.results)}),i.index++;return nl.bind(i,n)};var al={exports:{}},rl=Kc,ol=Xc,sl=Qc;function cl(e,t){return e<t?-1:e>t?1:0}al.exports=function(e,t,n,i){var a=ol(e,n);return rl(e,t,a,function n(r,o){r?i(r,o):(a.index++,a.index<(a.keyedList||e).length?rl(e,t,a,n):i(null,a.results))}),sl.bind(a,i)},al.exports.ascending=cl,al.exports.descending=function(e,t){return-1*cl(e,t)};var ll=al.exports,ul=ll,pl=function(e,t,n){return ul(e,t,null,n)};var dl,fl,ml={parallel:il,serial:pl,serialOrdered:ll},hl=Object,gl=Error,vl=EvalError,bl=RangeError,yl=ReferenceError,xl=SyntaxError;function _l(){return fl?dl:(fl=1,dl=TypeError)}var wl=URIError,Ol=Math.abs,Al=Math.floor,Rl=Math.max,kl=Math.min,Sl=Math.pow,El=Math.round,jl=Number.isNaN||function(e){return e!=e},Tl=jl,Cl=Object.getOwnPropertyDescriptor;if(Cl)try{Cl([],"length")}catch(Ls){Cl=null}var Nl=Cl,$l=Object.defineProperty||!1;if($l)try{$l({},"a",{value:1})}catch(Ls){$l=!1}var Fl,Il,Ll,Pl,Dl,Ul,Bl,Ml,zl=$l;function ql(){return Il?Fl:(Il=1,Fl=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),n=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(var i in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var a=Object.getOwnPropertySymbols(e);if(1!==a.length||a[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var r=Object.getOwnPropertyDescriptor(e,t);if(42!==r.value||!0!==r.enumerable)return!1}return!0})}function Gl(){return Ul?Dl:(Ul=1,Dl="undefined"!=typeof Reflect&&Reflect.getPrototypeOf||null)}function Hl(){return Ml?Bl:(Ml=1,Bl=hl.getPrototypeOf||null)}var Wl,Vl,Zl,Kl,Xl,Yl,Jl,Ql,eu,tu,nu,iu,au,ru,ou=Object.prototype.toString,su=Math.max,cu=function(e,t){for(var n=[],i=0;i<e.length;i+=1)n[i]=e[i];for(var a=0;a<t.length;a+=1)n[a+e.length]=t[a];return n},lu=function(e){var t=this;if("function"!=typeof t||"[object Function]"!==ou.apply(t))throw new TypeError("Function.prototype.bind called on incompatible "+t);for(var n,i=function(e,t){for(var n=[],i=t||0,a=0;i<e.length;i+=1,a+=1)n[a]=e[i];return n}(arguments,1),a=su(0,t.length-i.length),r=[],o=0;o<a;o++)r[o]="$"+o;if(n=Function("binder","return function ("+function(e,t){for(var n="",i=0;i<e.length;i+=1)n+=e[i],i+1<e.length&&(n+=t);return n}(r,",")+"){ return binder.apply(this,arguments); }")(function(){if(this instanceof n){var a=t.apply(this,cu(i,arguments));return Object(a)===a?a:this}return t.apply(e,cu(i,arguments))}),t.prototype){var s=function(){};s.prototype=t.prototype,n.prototype=new s,s.prototype=null}return n},uu=Function.prototype.bind||lu;function pu(){return Vl?Wl:(Vl=1,Wl=Function.prototype.call)}function du(){return Kl?Zl:(Kl=1,Zl=Function.prototype.apply)}function fu(){if(Ql)return Jl;Ql=1;var e=uu,t=du(),n=pu(),i=Yl?Xl:(Yl=1,Xl="undefined"!=typeof Reflect&&Reflect&&Reflect.apply);return Jl=i||e.call(n,t)}function mu(){if(iu)return nu;iu=1;var e,t=function(){if(tu)return eu;tu=1;var e=uu,t=_l(),n=pu(),i=fu();return eu=function(a){if(a.length<1||"function"!=typeof a[0])throw new t("a function is required");return i(e,n,a)}}(),n=Nl;try{e=[].__proto__===Array.prototype}catch(e){if(!e||"object"!=typeof e||!("code"in e)||"ERR_PROTO_ACCESS"!==e.code)throw e}var i=!!e&&n&&n(Object.prototype,"__proto__"),a=Object,r=a.getPrototypeOf;return nu=i&&"function"==typeof i.get?t([i.get]):"function"==typeof r&&function(e){return r(null==e?e:a(e))}}var hu,gu=Function.prototype.call,vu=Object.prototype.hasOwnProperty,bu=uu.call(gu,vu),yu=hl,xu=gl,_u=vl,wu=bl,Ou=yl,Au=xl,Ru=_l(),ku=wl,Su=Ol,Eu=Al,ju=Rl,Tu=kl,Cu=Sl,Nu=El,$u=function(e){return Tl(e)||0===e?e:e<0?-1:1},Fu=Function,Iu=function(e){try{return Fu('"use strict"; return ('+e+").constructor;")()}catch(e){}},Lu=Nl,Pu=zl,Du=function(){throw new Ru},Uu=Lu?function(){try{return Du}catch(e){try{return Lu(arguments,"callee").get}catch(e){return Du}}}():Du,Bu=function(){if(Pl)return Ll;Pl=1;var e="undefined"!=typeof Symbol&&Symbol,t=ql();return Ll=function(){return"function"==typeof e&&("function"==typeof Symbol&&("symbol"==typeof e("foo")&&("symbol"==typeof Symbol("bar")&&t())))}}()(),Mu=function(){if(ru)return au;ru=1;var e=Gl(),t=Hl(),n=mu();return au=e?function(t){return e(t)}:t?function(e){if(!e||"object"!=typeof e&&"function"!=typeof e)throw new TypeError("getProto: not an object");return t(e)}:n?function(e){return n(e)}:null}(),zu=Hl(),qu=Gl(),Gu=du(),Hu=pu(),Wu={},Vu="undefined"!=typeof Uint8Array&&Mu?Mu(Uint8Array):hu,Zu={__proto__:null,"%AggregateError%":"undefined"==typeof AggregateError?hu:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?hu:ArrayBuffer,"%ArrayIteratorPrototype%":Bu&&Mu?Mu([][Symbol.iterator]()):hu,"%AsyncFromSyncIteratorPrototype%":hu,"%AsyncFunction%":Wu,"%AsyncGenerator%":Wu,"%AsyncGeneratorFunction%":Wu,"%AsyncIteratorPrototype%":Wu,"%Atomics%":"undefined"==typeof Atomics?hu:Atomics,"%BigInt%":"undefined"==typeof BigInt?hu:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?hu:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?hu:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?hu:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":xu,"%eval%":eval,"%EvalError%":_u,"%Float16Array%":"undefined"==typeof Float16Array?hu:Float16Array,"%Float32Array%":"undefined"==typeof Float32Array?hu:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?hu:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?hu:FinalizationRegistry,"%Function%":Fu,"%GeneratorFunction%":Wu,"%Int8Array%":"undefined"==typeof Int8Array?hu:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?hu:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?hu:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":Bu&&Mu?Mu(Mu([][Symbol.iterator]())):hu,"%JSON%":"object"==typeof JSON?JSON:hu,"%Map%":"undefined"==typeof Map?hu:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&Bu&&Mu?Mu((new Map)[Symbol.iterator]()):hu,"%Math%":Math,"%Number%":Number,"%Object%":yu,"%Object.getOwnPropertyDescriptor%":Lu,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?hu:Promise,"%Proxy%":"undefined"==typeof Proxy?hu:Proxy,"%RangeError%":wu,"%ReferenceError%":Ou,"%Reflect%":"undefined"==typeof Reflect?hu:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?hu:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&Bu&&Mu?Mu((new Set)[Symbol.iterator]()):hu,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?hu:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":Bu&&Mu?Mu(""[Symbol.iterator]()):hu,"%Symbol%":Bu?Symbol:hu,"%SyntaxError%":Au,"%ThrowTypeError%":Uu,"%TypedArray%":Vu,"%TypeError%":Ru,"%Uint8Array%":"undefined"==typeof Uint8Array?hu:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?hu:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?hu:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?hu:Uint32Array,"%URIError%":ku,"%WeakMap%":"undefined"==typeof WeakMap?hu:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?hu:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?hu:WeakSet,"%Function.prototype.call%":Hu,"%Function.prototype.apply%":Gu,"%Object.defineProperty%":Pu,"%Object.getPrototypeOf%":zu,"%Math.abs%":Su,"%Math.floor%":Eu,"%Math.max%":ju,"%Math.min%":Tu,"%Math.pow%":Cu,"%Math.round%":Nu,"%Math.sign%":$u,"%Reflect.getPrototypeOf%":qu};if(Mu)try{null.error}catch(Ls){var Ku=Mu(Mu(Ls));Zu["%Error.prototype%"]=Ku}var Xu,Yu,Ju=function e(t){var n;if("%AsyncFunction%"===t)n=Iu("async function () {}");else if("%GeneratorFunction%"===t)n=Iu("function* () {}");else if("%AsyncGeneratorFunction%"===t)n=Iu("async function* () {}");else if("%AsyncGenerator%"===t){var i=e("%AsyncGeneratorFunction%");i&&(n=i.prototype)}else if("%AsyncIteratorPrototype%"===t){var a=e("%AsyncGenerator%");a&&Mu&&(n=Mu(a.prototype))}return Zu[t]=n,n},Qu={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},ep=uu,tp=bu,np=ep.call(Hu,Array.prototype.concat),ip=ep.call(Gu,Array.prototype.splice),ap=ep.call(Hu,String.prototype.replace),rp=ep.call(Hu,String.prototype.slice),op=ep.call(Hu,RegExp.prototype.exec),sp=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,cp=/\\(\\)?/g,lp=function(e,t){var n,i=e;if(tp(Qu,i)&&(i="%"+(n=Qu[i])[0]+"%"),tp(Zu,i)){var a=Zu[i];if(a===Wu&&(a=Ju(i)),void 0===a&&!t)throw new Ru("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:n,name:i,value:a}}throw new Au("intrinsic "+e+" does not exist!")};var up=function(e,t){if("string"!=typeof e||0===e.length)throw new Ru("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new Ru('"allowMissing" argument must be a boolean');if(null===op(/^%?[^%]*%?$/,e))throw new Au("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=function(e){var t=rp(e,0,1),n=rp(e,-1);if("%"===t&&"%"!==n)throw new Au("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==t)throw new Au("invalid intrinsic syntax, expected opening `%`");var i=[];return ap(e,sp,function(e,t,n,a){i[i.length]=n?ap(a,cp,"$1"):t||e}),i}(e),i=n.length>0?n[0]:"",a=lp("%"+i+"%",t),r=a.name,o=a.value,s=!1,c=a.alias;c&&(i=c[0],ip(n,np([0,1],c)));for(var l=1,u=!0;l<n.length;l+=1){var p=n[l],d=rp(p,0,1),f=rp(p,-1);if(('"'===d||"'"===d||"`"===d||'"'===f||"'"===f||"`"===f)&&d!==f)throw new Au("property names with quotes must have matching quotes");if("constructor"!==p&&u||(s=!0),tp(Zu,r="%"+(i+="."+p)+"%"))o=Zu[r];else if(null!=o){if(!(p in o)){if(!t)throw new Ru("base intrinsic for "+e+" exists, but the property is not available.");return}if(Lu&&l+1>=n.length){var m=Lu(o,p);o=(u=!!m)&&"get"in m&&!("originalValue"in m.get)?m.get:o[p]}else u=tp(o,p),o=o[p];u&&!s&&(Zu[r]=o)}}return o},pp=up("%Object.defineProperty%",!0),dp=function(){if(Yu)return Xu;Yu=1;var e=ql();return Xu=function(){return e()&&!!Symbol.toStringTag}}()(),fp=bu,mp=_l(),hp=dp?Symbol.toStringTag:null,gp=Dc,vp=t,bp=i,yp=a,xp=r,_p=e.parse,wp=o,Op=n.Stream,Ap=s,Rp=Bc,kp=ml,Sp=function(e,t){var n=arguments.length>2&&!!arguments[2]&&arguments[2].force,i=arguments.length>2&&!!arguments[2]&&arguments[2].nonConfigurable;if(void 0!==n&&"boolean"!=typeof n||void 0!==i&&"boolean"!=typeof i)throw new mp("if provided, the `overrideIfSet` and `nonConfigurable` options must be booleans");!hp||!n&&fp(e,hp)||(pp?pp(e,hp,{configurable:!i,enumerable:!1,value:t,writable:!1}):e[hp]=t)},Ep=bu,jp=function(e,t){return Object.keys(t).forEach(function(n){e[n]=e[n]||t[n]}),e};function Tp(e){if(!(this instanceof Tp))return new Tp(e);for(var t in this._overheadLength=0,this._valueLength=0,this._valuesToMeasure=[],gp.call(this),e=e||{})this[t]=e[t]}vp.inherits(Tp,gp),Tp.LINE_BREAK="\r\n",Tp.DEFAULT_CONTENT_TYPE="application/octet-stream",Tp.prototype.append=function(e,t,n){"string"==typeof(n=n||{})&&(n={filename:n});var i=gp.prototype.append.bind(this);if("number"!=typeof t&&null!=t||(t=String(t)),Array.isArray(t))this._error(new Error("Arrays are not supported."));else{var a=this._multiPartHeader(e,t,n),r=this._multiPartFooter();i(a),i(t),i(r),this._trackLength(a,t,n)}},Tp.prototype._trackLength=function(e,t,n){var i=0;null!=n.knownLength?i+=Number(n.knownLength):Buffer.isBuffer(t)?i=t.length:"string"==typeof t&&(i=Buffer.byteLength(t)),this._valueLength+=i,this._overheadLength+=Buffer.byteLength(e)+Tp.LINE_BREAK.length,t&&(t.path||t.readable&&Ep(t,"httpVersion")||t instanceof Op)&&(n.knownLength||this._valuesToMeasure.push(t))},Tp.prototype._lengthRetriever=function(e,t){Ep(e,"fd")?null!=e.end&&e.end!=1/0&&null!=e.start?t(null,e.end+1-(e.start?e.start:0)):wp.stat(e.path,function(n,i){if(n)t(n);else{var a=i.size-(e.start?e.start:0);t(null,a)}}):Ep(e,"httpVersion")?t(null,Number(e.headers["content-length"])):Ep(e,"httpModule")?(e.on("response",function(n){e.pause(),t(null,Number(n.headers["content-length"]))}),e.resume()):t("Unknown stream")},Tp.prototype._multiPartHeader=function(e,t,n){if("string"==typeof n.header)return n.header;var i,a=this._getContentDisposition(t,n),r=this._getContentType(t,n),o="",s={"Content-Disposition":["form-data",'name="'+e+'"'].concat(a||[]),"Content-Type":[].concat(r||[])};for(var c in"object"==typeof n.header&&jp(s,n.header),s)if(Ep(s,c)){if(null==(i=s[c]))continue;Array.isArray(i)||(i=[i]),i.length&&(o+=c+": "+i.join("; ")+Tp.LINE_BREAK)}return"--"+this.getBoundary()+Tp.LINE_BREAK+o+Tp.LINE_BREAK},Tp.prototype._getContentDisposition=function(e,t){var n;if("string"==typeof t.filepath?n=bp.normalize(t.filepath).replace(/\\/g,"/"):t.filename||e&&(e.name||e.path)?n=bp.basename(t.filename||e&&(e.name||e.path)):e&&e.readable&&Ep(e,"httpVersion")&&(n=bp.basename(e.client._httpMessage.path||"")),n)return'filename="'+n+'"'},Tp.prototype._getContentType=function(e,t){var n=t.contentType;return!n&&e&&e.name&&(n=Rp.lookup(e.name)),!n&&e&&e.path&&(n=Rp.lookup(e.path)),!n&&e&&e.readable&&Ep(e,"httpVersion")&&(n=e.headers["content-type"]),n||!t.filepath&&!t.filename||(n=Rp.lookup(t.filepath||t.filename)),!n&&e&&"object"==typeof e&&(n=Tp.DEFAULT_CONTENT_TYPE),n},Tp.prototype._multiPartFooter=function(){return function(e){var t=Tp.LINE_BREAK;0===this._streams.length&&(t+=this._lastBoundary()),e(t)}.bind(this)},Tp.prototype._lastBoundary=function(){return"--"+this.getBoundary()+"--"+Tp.LINE_BREAK},Tp.prototype.getHeaders=function(e){var t,n={"content-type":"multipart/form-data; boundary="+this.getBoundary()};for(t in e)Ep(e,t)&&(n[t.toLowerCase()]=e[t]);return n},Tp.prototype.setBoundary=function(e){if("string"!=typeof e)throw new TypeError("FormData boundary must be a string");this._boundary=e},Tp.prototype.getBoundary=function(){return this._boundary||this._generateBoundary(),this._boundary},Tp.prototype.getBuffer=function(){for(var e=new Buffer.alloc(0),t=this.getBoundary(),n=0,i=this._streams.length;n<i;n++)"function"!=typeof this._streams[n]&&(e=Buffer.isBuffer(this._streams[n])?Buffer.concat([e,this._streams[n]]):Buffer.concat([e,Buffer.from(this._streams[n])]),"string"==typeof this._streams[n]&&this._streams[n].substring(2,t.length+2)===t||(e=Buffer.concat([e,Buffer.from(Tp.LINE_BREAK)])));return Buffer.concat([e,Buffer.from(this._lastBoundary())])},Tp.prototype._generateBoundary=function(){this._boundary="--------------------------"+Ap.randomBytes(12).toString("hex")},Tp.prototype.getLengthSync=function(){var e=this._overheadLength+this._valueLength;return this._streams.length&&(e+=this._lastBoundary().length),this.hasKnownLength()||this._error(new Error("Cannot calculate proper length in synchronous way.")),e},Tp.prototype.hasKnownLength=function(){var e=!0;return this._valuesToMeasure.length&&(e=!1),e},Tp.prototype.getLength=function(e){var t=this._overheadLength+this._valueLength;this._streams.length&&(t+=this._lastBoundary().length),this._valuesToMeasure.length?kp.parallel(this._valuesToMeasure,this._lengthRetriever,function(n,i){n?e(n):(i.forEach(function(e){t+=e}),e(null,t))}):process.nextTick(e.bind(this,null,t))},Tp.prototype.submit=function(e,t){var n,i,a={method:"post"};return"string"==typeof e?(e=_p(e),i=jp({port:e.port,path:e.pathname,host:e.hostname,protocol:e.protocol},a)):(i=jp(e,a)).port||(i.port="https:"===i.protocol?443:80),i.headers=this.getHeaders(e.headers),n="https:"===i.protocol?xp.request(i):yp.request(i),this.getLength(function(e,i){if(e&&"Unknown stream"!==e)this._error(e);else if(i&&n.setHeader("Content-Length",i),this.pipe(n),t){var a,r=function(e,i){return n.removeListener("error",r),n.removeListener("response",a),t.call(this,e,i)};a=r.bind(this,null),n.on("error",r),n.on("response",a)}}.bind(this)),n},Tp.prototype._error=function(e){this.error||(this.error=e,this.pause(),this.emit("error",e))},Tp.prototype.toString=function(){return"[object FormData]"},Sp(Tp,"FormData");var Cp=h(Tp);function Np(e){return Ec.isPlainObject(e)||Ec.isArray(e)}function $p(e){return Ec.endsWith(e,"[]")?e.slice(0,-2):e}function Fp(e,t,n){return e?e.concat(t).map(function(e,t){return e=$p(e),!n&&t?"["+e+"]":e}).join(n?".":""):t}const Ip=Ec.toFlatObject(Ec,{},null,function(e){return/^is[A-Z]/.test(e)});function Lp(e,t,n){if(!Ec.isObject(e))throw new TypeError("target must be an object");t=t||new(Cp||FormData);const i=(n=Ec.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(e,t){return!Ec.isUndefined(t[e])})).metaTokens,a=n.visitor||l,r=n.dots,o=n.indexes,s=(n.Blob||"undefined"!=typeof Blob&&Blob)&&Ec.isSpecCompliantForm(t);if(!Ec.isFunction(a))throw new TypeError("visitor must be a function");function c(e){if(null===e)return"";if(Ec.isDate(e))return e.toISOString();if(!s&&Ec.isBlob(e))throw new jc("Blob is not supported. Use a Buffer instead.");return Ec.isArrayBuffer(e)||Ec.isTypedArray(e)?s&&"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}function l(e,n,a){let s=e;if(e&&!a&&"object"==typeof e)if(Ec.endsWith(n,"{}"))n=i?n:n.slice(0,-2),e=JSON.stringify(e);else if(Ec.isArray(e)&&function(e){return Ec.isArray(e)&&!e.some(Np)}(e)||(Ec.isFileList(e)||Ec.endsWith(n,"[]"))&&(s=Ec.toArray(e)))return n=$p(n),s.forEach(function(e,i){!Ec.isUndefined(e)&&null!==e&&t.append(!0===o?Fp([n],i,r):null===o?n:n+"[]",c(e))}),!1;return!!Np(e)||(t.append(Fp(a,n,r),c(e)),!1)}const u=[],p=Object.assign(Ip,{defaultVisitor:l,convertValue:c,isVisitable:Np});if(!Ec.isObject(e))throw new TypeError("data must be an object");return function e(n,i){if(!Ec.isUndefined(n)){if(-1!==u.indexOf(n))throw Error("Circular reference detected in "+i.join("."));u.push(n),Ec.forEach(n,function(n,r){!0===(!(Ec.isUndefined(n)||null===n)&&a.call(t,n,Ec.isString(r)?r.trim():r,i,p))&&e(n,i?i.concat(r):[r])}),u.pop()}}(e),t}function Pp(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(e){return t[e]})}function Dp(e,t){this._pairs=[],e&&Lp(e,this,t)}const Up=Dp.prototype;function Bp(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Mp(e,t,n){if(!t)return e;const i=n&&n.encode||Bp;Ec.isFunction(n)&&(n={serialize:n});const a=n&&n.serialize;let r;if(r=a?a(t,n):Ec.isURLSearchParams(t)?t.toString():new Dp(t,n).toString(i),r){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+r}return e}Up.append=function(e,t){this._pairs.push([e,t])},Up.toString=function(e){const t=e?function(t){return e.call(this,t,Pp)}:Pp;return this._pairs.map(function(e){return t(e[0])+"="+t(e[1])},"").join("&")};class zp{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){Ec.forEach(this.handlers,function(t){null!==t&&e(t)})}}var qp={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Gp={isNode:!0,classes:{URLSearchParams:e.URLSearchParams,FormData:Cp,Blob:"undefined"!=typeof Blob&&Blob||null},protocols:["http","https","file","data"]};const Hp="undefined"!=typeof window&&"undefined"!=typeof document,Wp="object"==typeof navigator&&navigator||void 0,Vp=Hp&&(!Wp||["ReactNative","NativeScript","NS"].indexOf(Wp.product)<0),Zp="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,Kp=Hp&&window.location.href||"http://localhost";var Xp={...Object.freeze({__proto__:null,hasBrowserEnv:Hp,hasStandardBrowserEnv:Vp,hasStandardBrowserWebWorkerEnv:Zp,navigator:Wp,origin:Kp}),...Gp};function Yp(e){function t(e,n,i,a){let r=e[a++];if("__proto__"===r)return!0;const o=Number.isFinite(+r),s=a>=e.length;if(r=!r&&Ec.isArray(i)?i.length:r,s)return Ec.hasOwnProp(i,r)?i[r]=[i[r],n]:i[r]=n,!o;i[r]&&Ec.isObject(i[r])||(i[r]=[]);return t(e,n,i[r],a)&&Ec.isArray(i[r])&&(i[r]=function(e){const t={},n=Object.keys(e);let i;const a=n.length;let r;for(i=0;i<a;i++)r=n[i],t[r]=e[r];return t}(i[r])),!o}if(Ec.isFormData(e)&&Ec.isFunction(e.entries)){const n={};return Ec.forEachEntry(e,(e,i)=>{t(function(e){return Ec.matchAll(/\w+|\[(\w*)]/g,e).map(e=>"[]"===e[0]?"":e[1]||e[0])}(e),i,n,0)}),n}return null}const Jp={transitional:qp,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const n=t.getContentType()||"",i=n.indexOf("application/json")>-1,a=Ec.isObject(e);a&&Ec.isHTMLForm(e)&&(e=new FormData(e));if(Ec.isFormData(e))return i?JSON.stringify(Yp(e)):e;if(Ec.isArrayBuffer(e)||Ec.isBuffer(e)||Ec.isStream(e)||Ec.isFile(e)||Ec.isBlob(e)||Ec.isReadableStream(e))return e;if(Ec.isArrayBufferView(e))return e.buffer;if(Ec.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let r;if(a){if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return Lp(e,new Xp.classes.URLSearchParams,Object.assign({visitor:function(e,t,n,i){return Xp.isNode&&Ec.isBuffer(e)?(this.append(t,e.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},t))}(e,this.formSerializer).toString();if((r=Ec.isFileList(e))||n.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return Lp(r?{"files[]":e}:e,t&&new t,this.formSerializer)}}return a||i?(t.setContentType("application/json",!1),function(e,t,n){if(Ec.isString(e))try{return(t||JSON.parse)(e),Ec.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(n||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=this.transitional||Jp.transitional,n=t&&t.forcedJSONParsing,i="json"===this.responseType;if(Ec.isResponse(e)||Ec.isReadableStream(e))return e;if(e&&Ec.isString(e)&&(n&&!this.responseType||i)){const n=!(t&&t.silentJSONParsing)&&i;try{return JSON.parse(e)}catch(e){if(n){if("SyntaxError"===e.name)throw jc.from(e,jc.ERR_BAD_RESPONSE,this,null,this.response);throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Xp.classes.FormData,Blob:Xp.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};Ec.forEach(["delete","get","head","post","put","patch"],e=>{Jp.headers[e]={}});const Qp=Ec.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]);const ed=Symbol("internals");function td(e){return e&&String(e).trim().toLowerCase()}function nd(e){return!1===e||null==e?e:Ec.isArray(e)?e.map(nd):String(e)}function id(e,t,n,i,a){return Ec.isFunction(i)?i.call(this,t,n):(a&&(t=n),Ec.isString(t)?Ec.isString(i)?-1!==t.indexOf(i):Ec.isRegExp(i)?i.test(t):void 0:void 0)}class ad{constructor(e){e&&this.set(e)}set(e,t,n){const i=this;function a(e,t,n){const a=td(t);if(!a)throw new Error("header name must be a non-empty string");const r=Ec.findKey(i,a);(!r||void 0===i[r]||!0===n||void 0===n&&!1!==i[r])&&(i[r||t]=nd(e))}const r=(e,t)=>Ec.forEach(e,(e,n)=>a(e,n,t));if(Ec.isPlainObject(e)||e instanceof this.constructor)r(e,t);else if(Ec.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim()))r((e=>{const t={};let n,i,a;return e&&e.split("\n").forEach(function(e){a=e.indexOf(":"),n=e.substring(0,a).trim().toLowerCase(),i=e.substring(a+1).trim(),!n||t[n]&&Qp[n]||("set-cookie"===n?t[n]?t[n].push(i):t[n]=[i]:t[n]=t[n]?t[n]+", "+i:i)}),t})(e),t);else if(Ec.isHeaders(e))for(const[t,i]of e.entries())a(i,t,n);else null!=e&&a(t,e,n);return this}get(e,t){if(e=td(e)){const n=Ec.findKey(this,e);if(n){const e=this[n];if(!t)return e;if(!0===t)return function(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let i;for(;i=n.exec(e);)t[i[1]]=i[2];return t}(e);if(Ec.isFunction(t))return t.call(this,e,n);if(Ec.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=td(e)){const n=Ec.findKey(this,e);return!(!n||void 0===this[n]||t&&!id(0,this[n],n,t))}return!1}delete(e,t){const n=this;let i=!1;function a(e){if(e=td(e)){const a=Ec.findKey(n,e);!a||t&&!id(0,n[a],a,t)||(delete n[a],i=!0)}}return Ec.isArray(e)?e.forEach(a):a(e),i}clear(e){const t=Object.keys(this);let n=t.length,i=!1;for(;n--;){const a=t[n];e&&!id(0,this[a],a,e,!0)||(delete this[a],i=!0)}return i}normalize(e){const t=this,n={};return Ec.forEach(this,(i,a)=>{const r=Ec.findKey(n,a);if(r)return t[r]=nd(i),void delete t[a];const o=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,t,n)=>t.toUpperCase()+n)}(a):String(a).trim();o!==a&&delete t[a],t[o]=nd(i),n[o]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return Ec.forEach(this,(n,i)=>{null!=n&&!1!==n&&(t[i]=e&&Ec.isArray(n)?n.join(", "):n)}),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,t])=>e+": "+t).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const n=new this(e);return t.forEach(e=>n.set(e)),n}static accessor(e){const t=(this[ed]=this[ed]={accessors:{}}).accessors,n=this.prototype;function i(e){const i=td(e);t[i]||(!function(e,t){const n=Ec.toCamelCase(" "+t);["get","set","has"].forEach(i=>{Object.defineProperty(e,i+n,{value:function(e,n,a){return this[i].call(this,t,e,n,a)},configurable:!0})})}(n,e),t[i]=!0)}return Ec.isArray(e)?e.forEach(i):i(e),this}}function rd(e,t){const n=this||Jp,i=t||n,a=ad.from(i.headers);let r=i.data;return Ec.forEach(e,function(e){r=e.call(n,r,a.normalize(),t?t.status:void 0)}),a.normalize(),r}function od(e){return!(!e||!e.__CANCEL__)}function sd(e,t,n){jc.call(this,null==e?"canceled":e,jc.ERR_CANCELED,t,n),this.name="CanceledError"}function cd(e,t,n){const i=n.config.validateStatus;n.status&&i&&!i(n.status)?t(new jc("Request failed with status code "+n.status,[jc.ERR_BAD_REQUEST,jc.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}function ld(e,t){return e&&!function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}(t)?function(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}ad.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),Ec.reduceDescriptors(ad.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}}),Ec.freezeMethods(ad),Ec.inherits(sd,jc,{__CANCEL__:!0});var ud={},pd=e.parse,dd={ftp:21,gopher:70,http:80,https:443,ws:80,wss:443},fd=String.prototype.endsWith||function(e){return e.length<=this.length&&-1!==this.indexOf(e,this.length-e.length)};function md(e){return process.env[e.toLowerCase()]||process.env[e.toUpperCase()]||""}ud.getProxyForUrl=function(e){var t="string"==typeof e?pd(e):e||{},n=t.protocol,i=t.host,a=t.port;if("string"!=typeof i||!i||"string"!=typeof n)return"";if(n=n.split(":",1)[0],!function(e,t){var n=(md("npm_config_no_proxy")||md("no_proxy")).toLowerCase();if(!n)return!0;if("*"===n)return!1;return n.split(/[,\s]/).every(function(n){if(!n)return!0;var i=n.match(/^(.+):(\d+)$/),a=i?i[1]:n,r=i?parseInt(i[2]):0;return!(!r||r===t)||(/^[.*]/.test(a)?("*"===a.charAt(0)&&(a=a.slice(1)),!fd.call(e,a)):e!==a)})}(i=i.replace(/:\d*$/,""),a=parseInt(a)||dd[n]||0))return"";var r=md("npm_config_"+n+"_proxy")||md(n+"_proxy")||md("npm_config_proxy")||md("all_proxy");return r&&-1===r.indexOf("://")&&(r=n+"://"+r),r};var hd,gd,vd,bd,yd,xd={exports:{}},_d={exports:{}},wd={exports:{}};function Od(){if(gd)return hd;gd=1;var e=1e3,t=60*e,n=60*t,i=24*n,a=7*i,r=365.25*i;function o(e,t,n,i){var a=t>=1.5*n;return Math.round(e/n)+" "+i+(a?"s":"")}return hd=function(s,c){c=c||{};var l=typeof s;if("string"===l&&s.length>0)return function(o){if((o=String(o)).length>100)return;var s=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(o);if(!s)return;var c=parseFloat(s[1]);switch((s[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return c*r;case"weeks":case"week":case"w":return c*a;case"days":case"day":case"d":return c*i;case"hours":case"hour":case"hrs":case"hr":case"h":return c*n;case"minutes":case"minute":case"mins":case"min":case"m":return c*t;case"seconds":case"second":case"secs":case"sec":case"s":return c*e;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return c;default:return}}(s);if("number"===l&&isFinite(s))return c.long?function(a){var r=Math.abs(a);if(r>=i)return o(a,r,i,"day");if(r>=n)return o(a,r,n,"hour");if(r>=t)return o(a,r,t,"minute");if(r>=e)return o(a,r,e,"second");return a+" ms"}(s):function(a){var r=Math.abs(a);if(r>=i)return Math.round(a/i)+"d";if(r>=n)return Math.round(a/n)+"h";if(r>=t)return Math.round(a/t)+"m";if(r>=e)return Math.round(a/e)+"s";return a+"ms"}(s);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(s))},hd}function Ad(){if(bd)return vd;return bd=1,vd=function(e){function t(e){let i,a,r,o=null;function s(...e){if(!s.enabled)return;const n=s,a=Number(new Date),r=a-(i||a);n.diff=r,n.prev=i,n.curr=a,i=a,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let o=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,(i,a)=>{if("%%"===i)return"%";o++;const r=t.formatters[a];if("function"==typeof r){const t=e[o];i=r.call(n,t),e.splice(o,1),o--}return i}),t.formatArgs.call(n,e);(n.log||t.log).apply(n,e)}return s.namespace=e,s.useColors=t.useColors(),s.color=t.selectColor(e),s.extend=n,s.destroy=t.destroy,Object.defineProperty(s,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==o?o:(a!==t.namespaces&&(a=t.namespaces,r=t.enabled(e)),r),set:e=>{o=e}}),"function"==typeof t.init&&t.init(s),s}function n(e,n){const i=t(this.namespace+(void 0===n?":":n)+e);return i.log=this.log,i}function i(e,t){let n=0,i=0,a=-1,r=0;for(;n<e.length;)if(i<t.length&&(t[i]===e[n]||"*"===t[i]))"*"===t[i]?(a=i,r=n,i++):(n++,i++);else{if(-1===a)return!1;i=a+1,r++,n=r}for(;i<t.length&&"*"===t[i];)i++;return i===t.length}return t.debug=t,t.default=t,t.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},t.disable=function(){const e=[...t.names,...t.skips.map(e=>"-"+e)].join(",");return t.enable(""),e},t.enable=function(e){t.save(e),t.namespaces=e,t.names=[],t.skips=[];const n=("string"==typeof e?e:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(const e of n)"-"===e[0]?t.skips.push(e.slice(1)):t.names.push(e)},t.enabled=function(e){for(const n of t.skips)if(i(e,n))return!1;for(const n of t.names)if(i(e,n))return!0;return!1},t.humanize=Od(),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach(n=>{t[n]=e[n]}),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let n=0;for(let t=0;t<e.length;t++)n=(n<<5)-n+e.charCodeAt(t),n|=0;return t.colors[Math.abs(n)%t.colors.length]},t.enable(t.load()),t},vd}var Rd,kd,Sd,Ed,jd,Td,Cd,Nd={exports:{}};function $d(){return kd?Rd:(kd=1,Rd=(e,t=process.argv)=>{const n=e.startsWith("-")?"":1===e.length?"-":"--",i=t.indexOf(n+e),a=t.indexOf("--");return-1!==i&&(-1===a||i<a)})}function Fd(){return jd||(jd=1,function(e,n){const i=l,a=t;n.init=function(e){e.inspectOpts={};const t=Object.keys(n.inspectOpts);for(let i=0;i<t.length;i++)e.inspectOpts[t[i]]=n.inspectOpts[t[i]]},n.log=function(...e){return process.stderr.write(a.formatWithOptions(n.inspectOpts,...e)+"\n")},n.formatArgs=function(t){const{namespace:i,useColors:a}=this;if(a){const n=this.color,a="[3"+(n<8?n:"8;5;"+n),r=` ${a};1m${i} `;t[0]=r+t[0].split("\n").join("\n"+r),t.push(a+"m+"+e.exports.humanize(this.diff)+"")}else t[0]=function(){if(n.inspectOpts.hideDate)return"";return(new Date).toISOString()+" "}()+i+" "+t[0]},n.save=function(e){e?process.env.DEBUG=e:delete process.env.DEBUG},n.load=function(){return process.env.DEBUG},n.useColors=function(){return"colors"in n.inspectOpts?Boolean(n.inspectOpts.colors):i.isatty(process.stderr.fd)},n.destroy=a.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."),n.colors=[6,2,3,4,5,1];try{const e=function(){if(Ed)return Sd;Ed=1;const e=u,t=l,n=$d(),{env:i}=process;let a;function r(e){return 0!==e&&{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function o(t,r){if(0===a)return 0;if(n("color=16m")||n("color=full")||n("color=truecolor"))return 3;if(n("color=256"))return 2;if(t&&!r&&void 0===a)return 0;const o=a||0;if("dumb"===i.TERM)return o;if("win32"===process.platform){const t=e.release().split(".");return Number(t[0])>=10&&Number(t[2])>=10586?Number(t[2])>=14931?3:2:1}if("CI"in i)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some(e=>e in i)||"codeship"===i.CI_NAME?1:o;if("TEAMCITY_VERSION"in i)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(i.TEAMCITY_VERSION)?1:0;if("truecolor"===i.COLORTERM)return 3;if("TERM_PROGRAM"in i){const e=parseInt((i.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(i.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(i.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(i.TERM)||"COLORTERM"in i?1:o}return n("no-color")||n("no-colors")||n("color=false")||n("color=never")?a=0:(n("color")||n("colors")||n("color=true")||n("color=always"))&&(a=1),"FORCE_COLOR"in i&&(a="true"===i.FORCE_COLOR?1:"false"===i.FORCE_COLOR?0:0===i.FORCE_COLOR.length?1:Math.min(parseInt(i.FORCE_COLOR,10),3)),Sd={supportsColor:function(e){return r(o(e,e&&e.isTTY))},stdout:r(o(!0,t.isatty(1))),stderr:r(o(!0,t.isatty(2)))},Sd}();e&&(e.stderr||e).level>=2&&(n.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch(e){}n.inspectOpts=Object.keys(process.env).filter(e=>/^debug_/i.test(e)).reduce((e,t)=>{const n=t.substring(6).toLowerCase().replace(/_([a-z])/g,(e,t)=>t.toUpperCase());let i=process.env[t];return i=!!/^(yes|on|true|enabled)$/i.test(i)||!/^(no|off|false|disabled)$/i.test(i)&&("null"===i?null:Number(i)),e[n]=i,e},{}),e.exports=Ad()(n);const{formatters:r}=e.exports;r.o=function(e){return this.inspectOpts.colors=this.useColors,a.inspect(e,this.inspectOpts).split("\n").map(e=>e.trim()).join(" ")},r.O=function(e){return this.inspectOpts.colors=this.useColors,a.inspect(e,this.inspectOpts)}}(Nd,Nd.exports)),Nd.exports}function Id(){return Td||(Td=1,"undefined"==typeof process||"renderer"===process.type||!0===process.browser||process.__nwjs?_d.exports=(yd||(yd=1,function(e,t){t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const n="color: "+this.color;t.splice(1,0,n,"color: inherit");let i=0,a=0;t[0].replace(/%[a-zA-Z%]/g,e=>{"%%"!==e&&(i++,"%c"===e&&(a=i))}),t.splice(a,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")||t.storage.getItem("DEBUG")}catch(e){}return!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG),e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let e;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&(e=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(e[1],10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=Ad()(t);const{formatters:n}=e.exports;n.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}}(wd,wd.exports)),wd.exports):_d.exports=Fd()),_d.exports}var Ld,Pd,Dd,Ud=e,Bd=Ud.URL,Md=a,zd=r,qd=n.Writable,Gd=c,Hd=function(){if(!Cd){try{Cd=Id()("follow-redirects")}catch(e){}"function"!=typeof Cd&&(Cd=function(){})}Cd.apply(null,arguments)};Ld="undefined"!=typeof process,Pd="undefined"!=typeof window&&"undefined"!=typeof document,Dd=ff(Error.captureStackTrace),Ld||!Pd&&Dd||console.warn("The follow-redirects package should be excluded from browser builds.");var Wd=!1;try{Gd(new Bd(""))}catch(Ha){Wd="ERR_INVALID_URL"===Ha.code}var Vd=["auth","host","hostname","href","path","pathname","port","protocol","query","search","hash"],Zd=["abort","aborted","connect","error","socket","timeout"],Kd=Object.create(null);Zd.forEach(function(e){Kd[e]=function(t,n,i){this._redirectable.emit(e,t,n,i)}});var Xd=uf("ERR_INVALID_URL","Invalid URL",TypeError),Yd=uf("ERR_FR_REDIRECTION_FAILURE","Redirected request failed"),Jd=uf("ERR_FR_TOO_MANY_REDIRECTS","Maximum number of redirects exceeded",Yd),Qd=uf("ERR_FR_MAX_BODY_LENGTH_EXCEEDED","Request body larger than maxBodyLength limit"),ef=uf("ERR_STREAM_WRITE_AFTER_END","write after end"),tf=qd.prototype.destroy||rf;function nf(e,t){qd.call(this),this._sanitizeOptions(e),this._options=e,this._ended=!1,this._ending=!1,this._redirectCount=0,this._redirects=[],this._requestBodyLength=0,this._requestBodyBuffers=[],t&&this.on("response",t);var n=this;this._onNativeResponse=function(e){try{n._processResponse(e)}catch(e){n.emit("error",e instanceof Yd?e:new Yd({cause:e}))}},this._performRequest()}function af(e){var t={maxRedirects:21,maxBodyLength:10485760},n={};return Object.keys(e).forEach(function(i){var a=i+":",r=n[a]=e[i],o=t[i]=Object.create(r);Object.defineProperties(o,{request:{value:function(e,i,r){var o;return o=e,Bd&&o instanceof Bd?e=cf(e):df(e)?e=cf(of(e)):(r=i,i=sf(e),e={protocol:a}),ff(i)&&(r=i,i=null),(i=Object.assign({maxRedirects:t.maxRedirects,maxBodyLength:t.maxBodyLength},e,i)).nativeProtocols=n,df(i.host)||df(i.hostname)||(i.hostname="::1"),Gd.equal(i.protocol,a,"protocol mismatch"),Hd("options",i),new nf(i,r)},configurable:!0,enumerable:!0,writable:!0},get:{value:function(e,t,n){var i=o.request(e,t,n);return i.end(),i},configurable:!0,enumerable:!0,writable:!0}})}),t}function rf(){}function of(e){var t;if(Wd)t=new Bd(e);else if(!df((t=sf(Ud.parse(e))).protocol))throw new Xd({input:e});return t}function sf(e){if(/^\[/.test(e.hostname)&&!/^\[[:0-9a-f]+\]$/i.test(e.hostname))throw new Xd({input:e.href||e});if(/^\[/.test(e.host)&&!/^\[[:0-9a-f]+\](:\d+)?$/i.test(e.host))throw new Xd({input:e.href||e});return e}function cf(e,t){var n=t||{};for(var i of Vd)n[i]=e[i];return n.hostname.startsWith("[")&&(n.hostname=n.hostname.slice(1,-1)),""!==n.port&&(n.port=Number(n.port)),n.path=n.search?n.pathname+n.search:n.pathname,n}function lf(e,t){var n;for(var i in t)e.test(i)&&(n=t[i],delete t[i]);return null==n?void 0:String(n).trim()}function uf(e,t,n){function i(n){ff(Error.captureStackTrace)&&Error.captureStackTrace(this,this.constructor),Object.assign(this,n||{}),this.code=e,this.message=this.cause?t+": "+this.cause.message:t}return i.prototype=new(n||Error),Object.defineProperties(i.prototype,{constructor:{value:i,enumerable:!1},name:{value:"Error ["+e+"]",enumerable:!1}}),i}function pf(e,t){for(var n of Zd)e.removeListener(n,Kd[n]);e.on("error",rf),e.destroy(t)}function df(e){return"string"==typeof e||e instanceof String}function ff(e){return"function"==typeof e}nf.prototype=Object.create(qd.prototype),nf.prototype.abort=function(){pf(this._currentRequest),this._currentRequest.abort(),this.emit("abort")},nf.prototype.destroy=function(e){return pf(this._currentRequest,e),tf.call(this,e),this},nf.prototype.write=function(e,t,n){if(this._ending)throw new ef;if(!df(e)&&("object"!=typeof(i=e)||!("length"in i)))throw new TypeError("data should be a string, Buffer or Uint8Array");var i;ff(t)&&(n=t,t=null),0!==e.length?this._requestBodyLength+e.length<=this._options.maxBodyLength?(this._requestBodyLength+=e.length,this._requestBodyBuffers.push({data:e,encoding:t}),this._currentRequest.write(e,t,n)):(this.emit("error",new Qd),this.abort()):n&&n()},nf.prototype.end=function(e,t,n){if(ff(e)?(n=e,e=t=null):ff(t)&&(n=t,t=null),e){var i=this,a=this._currentRequest;this.write(e,t,function(){i._ended=!0,a.end(null,null,n)}),this._ending=!0}else this._ended=this._ending=!0,this._currentRequest.end(null,null,n)},nf.prototype.setHeader=function(e,t){this._options.headers[e]=t,this._currentRequest.setHeader(e,t)},nf.prototype.removeHeader=function(e){delete this._options.headers[e],this._currentRequest.removeHeader(e)},nf.prototype.setTimeout=function(e,t){var n=this;function i(t){t.setTimeout(e),t.removeListener("timeout",t.destroy),t.addListener("timeout",t.destroy)}function a(t){n._timeout&&clearTimeout(n._timeout),n._timeout=setTimeout(function(){n.emit("timeout"),r()},e),i(t)}function r(){n._timeout&&(clearTimeout(n._timeout),n._timeout=null),n.removeListener("abort",r),n.removeListener("error",r),n.removeListener("response",r),n.removeListener("close",r),t&&n.removeListener("timeout",t),n.socket||n._currentRequest.removeListener("socket",a)}return t&&this.on("timeout",t),this.socket?a(this.socket):this._currentRequest.once("socket",a),this.on("socket",i),this.on("abort",r),this.on("error",r),this.on("response",r),this.on("close",r),this},["flushHeaders","getHeader","setNoDelay","setSocketKeepAlive"].forEach(function(e){nf.prototype[e]=function(t,n){return this._currentRequest[e](t,n)}}),["aborted","connection","socket"].forEach(function(e){Object.defineProperty(nf.prototype,e,{get:function(){return this._currentRequest[e]}})}),nf.prototype._sanitizeOptions=function(e){if(e.headers||(e.headers={}),e.host&&(e.hostname||(e.hostname=e.host),delete e.host),!e.pathname&&e.path){var t=e.path.indexOf("?");t<0?e.pathname=e.path:(e.pathname=e.path.substring(0,t),e.search=e.path.substring(t))}},nf.prototype._performRequest=function(){var e=this._options.protocol,t=this._options.nativeProtocols[e];if(!t)throw new TypeError("Unsupported protocol "+e);if(this._options.agents){var n=e.slice(0,-1);this._options.agent=this._options.agents[n]}var i=this._currentRequest=t.request(this._options,this._onNativeResponse);for(var a of(i._redirectable=this,Zd))i.on(a,Kd[a]);if(this._currentUrl=/^\//.test(this._options.path)?Ud.format(this._options):this._options.path,this._isRedirect){var r=0,o=this,s=this._requestBodyBuffers;!function e(t){if(i===o._currentRequest)if(t)o.emit("error",t);else if(r<s.length){var n=s[r++];i.finished||i.write(n.data,n.encoding,e)}else o._ended&&i.end()}()}},nf.prototype._processResponse=function(e){var t=e.statusCode;this._options.trackRedirects&&this._redirects.push({url:this._currentUrl,headers:e.headers,statusCode:t});var n,i=e.headers.location;if(!i||!1===this._options.followRedirects||t<300||t>=400)return e.responseUrl=this._currentUrl,e.redirects=this._redirects,this.emit("response",e),void(this._requestBodyBuffers=[]);if(pf(this._currentRequest),e.destroy(),++this._redirectCount>this._options.maxRedirects)throw new Jd;var a=this._options.beforeRedirect;a&&(n=Object.assign({Host:e.req.getHeader("host")},this._options.headers));var r=this._options.method;((301===t||302===t)&&"POST"===this._options.method||303===t&&!/^(?:GET|HEAD)$/.test(this._options.method))&&(this._options.method="GET",this._requestBodyBuffers=[],lf(/^content-/i,this._options.headers));var o=lf(/^host$/i,this._options.headers),s=of(this._currentUrl),c=o||s.host,l=/^\w+:/.test(i)?this._currentUrl:Ud.format(Object.assign(s,{host:c})),u=function(e,t){return Wd?new Bd(e,t):of(Ud.resolve(t,e))}(i,l);if(Hd("redirecting to",u.href),this._isRedirect=!0,cf(u,this._options),(u.protocol!==s.protocol&&"https:"!==u.protocol||u.host!==c&&!function(e,t){Gd(df(e)&&df(t));var n=e.length-t.length-1;return n>0&&"."===e[n]&&e.endsWith(t)}(u.host,c))&&lf(/^(?:(?:proxy-)?authorization|cookie)$/i,this._options.headers),ff(a)){var p={headers:e.headers,statusCode:t},d={url:l,method:r,headers:n};a(this._options,p,d),this._sanitizeOptions(this._options)}this._performRequest()},xd.exports=af({http:Md,https:zd}),xd.exports.wrap=af;var mf=h(xd.exports);const hf="1.7.9";function gf(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}const vf=/^(?:([^;]+);)?(?:[^;]+;)?(base64|),([\s\S]*)$/;const bf=Symbol("internals");class yf extends n.Transform{constructor(e){super({readableHighWaterMark:(e=Ec.toFlatObject(e,{maxRate:0,chunkSize:65536,minChunkSize:100,timeWindow:500,ticksRate:2,samplesCount:15},null,(e,t)=>!Ec.isUndefined(t[e]))).chunkSize});const t=this[bf]={timeWindow:e.timeWindow,chunkSize:e.chunkSize,maxRate:e.maxRate,minChunkSize:e.minChunkSize,bytesSeen:0,isCaptured:!1,notifiedBytesLoaded:0,ts:Date.now(),bytes:0,onReadCallback:null};this.on("newListener",e=>{"progress"===e&&(t.isCaptured||(t.isCaptured=!0))})}_read(e){const t=this[bf];return t.onReadCallback&&t.onReadCallback(),super._read(e)}_transform(e,t,n){const i=this[bf],a=i.maxRate,r=this.readableHighWaterMark,o=i.timeWindow,s=a/(1e3/o),c=!1!==i.minChunkSize?Math.max(i.minChunkSize,.01*s):0,l=(e,t)=>{const n=Buffer.byteLength(e);i.bytesSeen+=n,i.bytes+=n,i.isCaptured&&this.emit("progress",i.bytesSeen),this.push(e)?process.nextTick(t):i.onReadCallback=()=>{i.onReadCallback=null,process.nextTick(t)}},u=(e,t)=>{const n=Buffer.byteLength(e);let u,p=null,d=r,f=0;if(a){const e=Date.now();(!i.ts||(f=e-i.ts)>=o)&&(i.ts=e,u=s-i.bytes,i.bytes=u<0?-u:0,f=0),u=s-i.bytes}if(a){if(u<=0)return setTimeout(()=>{t(null,e)},o-f);u<d&&(d=u)}d&&n>d&&n-d>c&&(p=e.subarray(d),e=e.subarray(0,d)),l(e,p?()=>{process.nextTick(t,null,p)}:t)};u(e,function e(t,i){if(t)return n(t);i?u(i,e):n(null)})}}const{asyncIterator:xf}=Symbol,_f=async function*(e){e.stream?yield*e.stream():e.arrayBuffer?yield await e.arrayBuffer():e[xf]?yield*e[xf]():yield e},wf=Ec.ALPHABET.ALPHA_DIGIT+"-_",Of="function"==typeof TextEncoder?new TextEncoder:new t.TextEncoder,Af="\r\n",Rf=Of.encode(Af);class kf{constructor(e,t){const{escapeName:n}=this.constructor,i=Ec.isString(t);let a=`Content-Disposition: form-data; name="${n(e)}"${!i&&t.name?`; filename="${n(t.name)}"`:""}${Af}`;i?t=Of.encode(String(t).replace(/\r?\n|\r\n?/g,Af)):a+=`Content-Type: ${t.type||"application/octet-stream"}${Af}`,this.headers=Of.encode(a+Af),this.contentLength=i?t.byteLength:t.size,this.size=this.headers.byteLength+this.contentLength+2,this.name=e,this.value=t}async*encode(){yield this.headers;const{value:e}=this;Ec.isTypedArray(e)?yield e:yield*_f(e),yield Rf}static escapeName(e){return String(e).replace(/[\r\n"]/g,e=>({"\r":"%0D","\n":"%0A",'"':"%22"}[e]))}}class Sf extends n.Transform{__transform(e,t,n){this.push(e),n()}_transform(e,t,n){if(0!==e.length&&(this._transform=this.__transform,120!==e[0])){const e=Buffer.alloc(2);e[0]=120,e[1]=156,this.push(e,t)}this.__transform(e,t,n)}}const Ef=(e,t)=>Ec.isAsyncFn(e)?function(...n){const i=n.pop();e.apply(this,n).then(e=>{try{t?i(null,...t(e)):i(null,e)}catch(e){i(e)}},i)}:e;const jf=(e,t,n=3)=>{let i=0;const a=function(e,t){e=e||10;const n=new Array(e),i=new Array(e);let a,r=0,o=0;return t=void 0!==t?t:1e3,function(s){const c=Date.now(),l=i[o];a||(a=c),n[r]=s,i[r]=c;let u=o,p=0;for(;u!==r;)p+=n[u++],u%=e;if(r=(r+1)%e,r===o&&(o=(o+1)%e),c-a<t)return;const d=l&&c-l;return d?Math.round(1e3*p/d):void 0}}(50,250);return function(e,t){let n,i,a=0,r=1e3/t;const o=(t,r=Date.now())=>{a=r,n=null,i&&(clearTimeout(i),i=null),e.apply(null,t)};return[(...e)=>{const t=Date.now(),s=t-a;s>=r?o(e,t):(n=e,i||(i=setTimeout(()=>{i=null,o(n)},r-s)))},()=>n&&o(n)]}(n=>{const r=n.loaded,o=n.lengthComputable?n.total:void 0,s=r-i,c=a(s);i=r;e({loaded:r,total:o,progress:o?r/o:void 0,bytes:s,rate:c||void 0,estimated:c&&o&&r<=o?(o-r)/c:void 0,event:n,lengthComputable:null!=o,[t?"download":"upload"]:!0})},n)},Tf=(e,t)=>{const n=null!=e;return[i=>t[0]({lengthComputable:n,total:e,loaded:i}),t[1]]},Cf=e=>(...t)=>Ec.asap(()=>e(...t)),Nf={flush:p.constants.Z_SYNC_FLUSH,finishFlush:p.constants.Z_SYNC_FLUSH},$f={flush:p.constants.BROTLI_OPERATION_FLUSH,finishFlush:p.constants.BROTLI_OPERATION_FLUSH},Ff=Ec.isFunction(p.createBrotliDecompress),{http:If,https:Lf}=mf,Pf=/https:?/,Df=Xp.protocols.map(e=>e+":"),Uf=(e,[t,n])=>(e.on("end",n).on("error",n),t);function Bf(e,t){e.beforeRedirects.proxy&&e.beforeRedirects.proxy(e),e.beforeRedirects.config&&e.beforeRedirects.config(e,t)}function Mf(e,t,n){let i=t;if(!i&&!1!==i){const e=ud.getProxyForUrl(n);e&&(i=new URL(e))}if(i){if(i.username&&(i.auth=(i.username||"")+":"+(i.password||"")),i.auth){(i.auth.username||i.auth.password)&&(i.auth=(i.auth.username||"")+":"+(i.auth.password||""));const t=Buffer.from(i.auth,"utf8").toString("base64");e.headers["Proxy-Authorization"]="Basic "+t}e.headers.host=e.hostname+(e.port?":"+e.port:"");const t=i.hostname||i.host;e.hostname=t,e.host=t,e.port=i.port,e.path=n,i.protocol&&(e.protocol=i.protocol.includes(":")?i.protocol:`${i.protocol}:`)}e.beforeRedirects.proxy=function(e){Mf(e,t,e.href)}}const zf="undefined"!=typeof process&&"process"===Ec.kindOf(process),qf=(e,t)=>(({address:e,family:t})=>{if(!Ec.isString(e))throw TypeError("address must be a string");return{address:e,family:t||(e.indexOf(".")<0?6:4)}})(Ec.isObject(e)?e:{address:e,family:t});var Gf=zf&&function(e){return i=async function(i,o,s){let{data:c,lookup:l,family:u}=e;const{responseType:f,responseEncoding:m}=e,h=e.method.toUpperCase();let g,v,b=!1;if(l){const e=Ef(l,e=>Ec.isArray(e)?e:[e]);l=(t,n,i)=>{e(t,n,(e,t,a)=>{if(e)return i(e);const r=Ec.isArray(t)?t.map(e=>qf(e)):[qf(t,a)];n.all?i(e,r):i(e,r[0].address,r[0].family)})}}const y=new d.EventEmitter,x=()=>{e.cancelToken&&e.cancelToken.unsubscribe(_),e.signal&&e.signal.removeEventListener("abort",_),y.removeAllListeners()};function _(t){y.emit("abort",!t||t.type?new sd(null,e,v):t)}s((e,t)=>{g=!0,t&&(b=!0,x())}),y.once("abort",o),(e.cancelToken||e.signal)&&(e.cancelToken&&e.cancelToken.subscribe(_),e.signal&&(e.signal.aborted?_():e.signal.addEventListener("abort",_)));const w=ld(e.baseURL,e.url),O=new URL(w,Xp.hasBrowserEnv?Xp.origin:void 0),A=O.protocol||Df[0];if("data:"===A){let t;if("GET"!==h)return cd(i,o,{status:405,statusText:"method not allowed",headers:{},config:e});try{t=function(e,t,n){const i=n&&n.Blob||Xp.classes.Blob,a=gf(e);if(void 0===t&&i&&(t=!0),"data"===a){e=a.length?e.slice(a.length+1):e;const n=vf.exec(e);if(!n)throw new jc("Invalid URL",jc.ERR_INVALID_URL);const r=n[1],o=n[2],s=n[3],c=Buffer.from(decodeURIComponent(s),o?"base64":"utf8");if(t){if(!i)throw new jc("Blob is not supported",jc.ERR_NOT_SUPPORT);return new i([c],{type:r})}return c}throw new jc("Unsupported protocol "+a,jc.ERR_NOT_SUPPORT)}(e.url,"blob"===f,{Blob:e.env&&e.env.Blob})}catch(t){throw jc.from(t,jc.ERR_BAD_REQUEST,e)}return"text"===f?(t=t.toString(m),m&&"utf8"!==m||(t=Ec.stripBOM(t))):"stream"===f&&(t=n.Readable.from(t)),cd(i,o,{data:t,status:200,statusText:"OK",headers:new ad,config:e})}if(-1===Df.indexOf(A))return o(new jc("Unsupported protocol "+A,jc.ERR_BAD_REQUEST,e));const R=ad.from(e.headers).normalize();R.set("User-Agent","axios/"+hf,!1);const{onUploadProgress:k,onDownloadProgress:S}=e,E=e.maxRate;let j,T;if(Ec.isSpecCompliantForm(c)){const e=R.getContentType(/boundary=([-_\w\d]{10,70})/i);c=((e,t,i)=>{const{tag:a="form-data-boundary",size:r=25,boundary:o=a+"-"+Ec.generateString(r,wf)}=i||{};if(!Ec.isFormData(e))throw TypeError("FormData instance required");if(o.length<1||o.length>70)throw Error("boundary must be 10-70 characters long");const s=Of.encode("--"+o+Af),c=Of.encode("--"+o+"--"+Af+Af);let l=c.byteLength;const u=Array.from(e.entries()).map(([e,t])=>{const n=new kf(e,t);return l+=n.size,n});l+=s.byteLength*u.length,l=Ec.toFiniteNumber(l);const p={"Content-Type":`multipart/form-data; boundary=${o}`};return Number.isFinite(l)&&(p["Content-Length"]=l),t&&t(p),n.Readable.from(async function*(){for(const e of u)yield s,yield*e.encode();yield c}())})(c,e=>{R.set(e)},{tag:`axios-${hf}-boundary`,boundary:e&&e[1]||void 0})}else if(Ec.isFormData(c)&&Ec.isFunction(c.getHeaders)){if(R.set(c.getHeaders()),!R.hasContentLength())try{const e=await t.promisify(c.getLength).call(c);Number.isFinite(e)&&e>=0&&R.setContentLength(e)}catch(e){}}else if(Ec.isBlob(c)||Ec.isFile(c))c.size&&R.setContentType(c.type||"application/octet-stream"),R.setContentLength(c.size||0),c=n.Readable.from(_f(c));else if(c&&!Ec.isStream(c)){if(Buffer.isBuffer(c));else if(Ec.isArrayBuffer(c))c=Buffer.from(new Uint8Array(c));else{if(!Ec.isString(c))return o(new jc("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",jc.ERR_BAD_REQUEST,e));c=Buffer.from(c,"utf-8")}if(R.setContentLength(c.length,!1),e.maxBodyLength>-1&&c.length>e.maxBodyLength)return o(new jc("Request body larger than maxBodyLength limit",jc.ERR_BAD_REQUEST,e))}const C=Ec.toFiniteNumber(R.getContentLength());let N,$;Ec.isArray(E)?(j=E[0],T=E[1]):j=T=E,c&&(k||j)&&(Ec.isStream(c)||(c=n.Readable.from(c,{objectMode:!1})),c=n.pipeline([c,new yf({maxRate:Ec.toFiniteNumber(j)})],Ec.noop),k&&c.on("progress",Uf(c,Tf(C,jf(Cf(k),!1,3))))),e.auth&&(N=(e.auth.username||"")+":"+(e.auth.password||"")),!N&&O.username&&(N=O.username+":"+O.password),N&&R.delete("authorization");try{$=Mp(O.pathname+O.search,e.params,e.paramsSerializer).replace(/^\?/,"")}catch(t){const n=new Error(t.message);return n.config=e,n.url=e.url,n.exists=!0,o(n)}R.set("Accept-Encoding","gzip, compress, deflate"+(Ff?", br":""),!1);const F={path:$,method:h,headers:R.toJSON(),agents:{http:e.httpAgent,https:e.httpsAgent},auth:N,protocol:A,family:u,beforeRedirect:Bf,beforeRedirects:{}};let I;!Ec.isUndefined(l)&&(F.lookup=l),e.socketPath?F.socketPath=e.socketPath:(F.hostname=O.hostname.startsWith("[")?O.hostname.slice(1,-1):O.hostname,F.port=O.port,Mf(F,e.proxy,A+"//"+O.hostname+(O.port?":"+O.port:"")+F.path));const L=Pf.test(F.protocol);if(F.agent=L?e.httpsAgent:e.httpAgent,e.transport?I=e.transport:0===e.maxRedirects?I=L?r:a:(e.maxRedirects&&(F.maxRedirects=e.maxRedirects),e.beforeRedirect&&(F.beforeRedirects.config=e.beforeRedirect),I=L?Lf:If),e.maxBodyLength>-1?F.maxBodyLength=e.maxBodyLength:F.maxBodyLength=1/0,e.insecureHTTPParser&&(F.insecureHTTPParser=e.insecureHTTPParser),v=I.request(F,function(t){if(v.destroyed)return;const a=[t],r=+t.headers["content-length"];if(S||T){const e=new yf({maxRate:Ec.toFiniteNumber(T)});S&&e.on("progress",Uf(e,Tf(r,jf(Cf(S),!0,3)))),a.push(e)}let s=t;const c=t.req||v;if(!1!==e.decompress&&t.headers["content-encoding"])switch("HEAD"!==h&&204!==t.statusCode||delete t.headers["content-encoding"],(t.headers["content-encoding"]||"").toLowerCase()){case"gzip":case"x-gzip":case"compress":case"x-compress":a.push(p.createUnzip(Nf)),delete t.headers["content-encoding"];break;case"deflate":a.push(new Sf),a.push(p.createUnzip(Nf)),delete t.headers["content-encoding"];break;case"br":Ff&&(a.push(p.createBrotliDecompress($f)),delete t.headers["content-encoding"])}s=a.length>1?n.pipeline(a,Ec.noop):a[0];const l=n.finished(s,()=>{l(),x()}),u={status:t.statusCode,statusText:t.statusMessage,headers:new ad(t.headers),config:e,request:c};if("stream"===f)u.data=s,cd(i,o,u);else{const t=[];let n=0;s.on("data",function(i){t.push(i),n+=i.length,e.maxContentLength>-1&&n>e.maxContentLength&&(b=!0,s.destroy(),o(new jc("maxContentLength size of "+e.maxContentLength+" exceeded",jc.ERR_BAD_RESPONSE,e,c)))}),s.on("aborted",function(){if(b)return;const t=new jc("stream has been aborted",jc.ERR_BAD_RESPONSE,e,c);s.destroy(t),o(t)}),s.on("error",function(t){v.destroyed||o(jc.from(t,null,e,c))}),s.on("end",function(){try{let e=1===t.length?t[0]:Buffer.concat(t);"arraybuffer"!==f&&(e=e.toString(m),m&&"utf8"!==m||(e=Ec.stripBOM(e))),u.data=e}catch(t){return o(jc.from(t,null,e,u.request,u))}cd(i,o,u)})}y.once("abort",e=>{s.destroyed||(s.emit("error",e),s.destroy())})}),y.once("abort",e=>{o(e),v.destroy(e)}),v.on("error",function(t){o(jc.from(t,null,e,v))}),v.on("socket",function(e){e.setKeepAlive(!0,6e4)}),e.timeout){const t=parseInt(e.timeout,10);if(Number.isNaN(t))return void o(new jc("error trying to parse `config.timeout` to int",jc.ERR_BAD_OPTION_VALUE,e,v));v.setTimeout(t,function(){if(g)return;let t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const n=e.transitional||qp;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),o(new jc(t,n.clarifyTimeoutError?jc.ETIMEDOUT:jc.ECONNABORTED,e,v)),_()})}if(Ec.isStream(c)){let t=!1,n=!1;c.on("end",()=>{t=!0}),c.once("error",e=>{n=!0,v.destroy(e)}),c.on("close",()=>{t||n||_(new sd("Request stream has been aborted",e,v))}),c.pipe(v)}else v.end(c)},new Promise((e,t)=>{let n,a;const r=(e,t)=>{a||(a=!0,n&&n(e,t))},o=e=>{r(e,!0),t(e)};i(t=>{r(t),e(t)},o,e=>n=e).catch(o)});var i},Hf=Xp.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,Xp.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(Xp.origin),Xp.navigator&&/(msie|trident)/i.test(Xp.navigator.userAgent)):()=>!0,Wf=Xp.hasStandardBrowserEnv?{write(e,t,n,i,a,r){const o=[e+"="+encodeURIComponent(t)];Ec.isNumber(n)&&o.push("expires="+new Date(n).toGMTString()),Ec.isString(i)&&o.push("path="+i),Ec.isString(a)&&o.push("domain="+a),!0===r&&o.push("secure"),document.cookie=o.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};const Vf=e=>e instanceof ad?{...e}:e;function Zf(e,t){t=t||{};const n={};function i(e,t,n,i){return Ec.isPlainObject(e)&&Ec.isPlainObject(t)?Ec.merge.call({caseless:i},e,t):Ec.isPlainObject(t)?Ec.merge({},t):Ec.isArray(t)?t.slice():t}function a(e,t,n,a){return Ec.isUndefined(t)?Ec.isUndefined(e)?void 0:i(void 0,e,0,a):i(e,t,0,a)}function r(e,t){if(!Ec.isUndefined(t))return i(void 0,t)}function o(e,t){return Ec.isUndefined(t)?Ec.isUndefined(e)?void 0:i(void 0,e):i(void 0,t)}function s(n,a,r){return r in t?i(n,a):r in e?i(void 0,n):void 0}const c={url:r,method:r,data:r,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,withXSRFToken:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:s,headers:(e,t,n)=>a(Vf(e),Vf(t),0,!0)};return Ec.forEach(Object.keys(Object.assign({},e,t)),function(i){const r=c[i]||a,o=r(e[i],t[i],i);Ec.isUndefined(o)&&r!==s||(n[i]=o)}),n}var Kf=e=>{const t=Zf({},e);let n,{data:i,withXSRFToken:a,xsrfHeaderName:r,xsrfCookieName:o,headers:s,auth:c}=t;if(t.headers=s=ad.from(s),t.url=Mp(ld(t.baseURL,t.url),e.params,e.paramsSerializer),c&&s.set("Authorization","Basic "+btoa((c.username||"")+":"+(c.password?unescape(encodeURIComponent(c.password)):""))),Ec.isFormData(i))if(Xp.hasStandardBrowserEnv||Xp.hasStandardBrowserWebWorkerEnv)s.setContentType(void 0);else if(!1!==(n=s.getContentType())){const[e,...t]=n?n.split(";").map(e=>e.trim()).filter(Boolean):[];s.setContentType([e||"multipart/form-data",...t].join("; "))}if(Xp.hasStandardBrowserEnv&&(a&&Ec.isFunction(a)&&(a=a(t)),a||!1!==a&&Hf(t.url))){const e=r&&o&&Wf.read(o);e&&s.set(r,e)}return t};var Xf="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise(function(t,n){const i=Kf(e);let a=i.data;const r=ad.from(i.headers).normalize();let o,s,c,l,u,{responseType:p,onUploadProgress:d,onDownloadProgress:f}=i;function m(){l&&l(),u&&u(),i.cancelToken&&i.cancelToken.unsubscribe(o),i.signal&&i.signal.removeEventListener("abort",o)}let h=new XMLHttpRequest;function g(){if(!h)return;const i=ad.from("getAllResponseHeaders"in h&&h.getAllResponseHeaders());cd(function(e){t(e),m()},function(e){n(e),m()},{data:p&&"text"!==p&&"json"!==p?h.response:h.responseText,status:h.status,statusText:h.statusText,headers:i,config:e,request:h}),h=null}h.open(i.method.toUpperCase(),i.url,!0),h.timeout=i.timeout,"onloadend"in h?h.onloadend=g:h.onreadystatechange=function(){h&&4===h.readyState&&(0!==h.status||h.responseURL&&0===h.responseURL.indexOf("file:"))&&setTimeout(g)},h.onabort=function(){h&&(n(new jc("Request aborted",jc.ECONNABORTED,e,h)),h=null)},h.onerror=function(){n(new jc("Network Error",jc.ERR_NETWORK,e,h)),h=null},h.ontimeout=function(){let t=i.timeout?"timeout of "+i.timeout+"ms exceeded":"timeout exceeded";const a=i.transitional||qp;i.timeoutErrorMessage&&(t=i.timeoutErrorMessage),n(new jc(t,a.clarifyTimeoutError?jc.ETIMEDOUT:jc.ECONNABORTED,e,h)),h=null},void 0===a&&r.setContentType(null),"setRequestHeader"in h&&Ec.forEach(r.toJSON(),function(e,t){h.setRequestHeader(t,e)}),Ec.isUndefined(i.withCredentials)||(h.withCredentials=!!i.withCredentials),p&&"json"!==p&&(h.responseType=i.responseType),f&&([c,u]=jf(f,!0),h.addEventListener("progress",c)),d&&h.upload&&([s,l]=jf(d),h.upload.addEventListener("progress",s),h.upload.addEventListener("loadend",l)),(i.cancelToken||i.signal)&&(o=t=>{h&&(n(!t||t.type?new sd(null,e,h):t),h.abort(),h=null)},i.cancelToken&&i.cancelToken.subscribe(o),i.signal&&(i.signal.aborted?o():i.signal.addEventListener("abort",o)));const v=gf(i.url);v&&-1===Xp.protocols.indexOf(v)?n(new jc("Unsupported protocol "+v+":",jc.ERR_BAD_REQUEST,e)):h.send(a||null)})};const Yf=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let n,i=new AbortController;const a=function(e){if(!n){n=!0,o();const t=e instanceof Error?e:this.reason;i.abort(t instanceof jc?t:new sd(t instanceof Error?t.message:t))}};let r=t&&setTimeout(()=>{r=null,a(new jc(`timeout ${t} of ms exceeded`,jc.ETIMEDOUT))},t);const o=()=>{e&&(r&&clearTimeout(r),r=null,e.forEach(e=>{e.unsubscribe?e.unsubscribe(a):e.removeEventListener("abort",a)}),e=null)};e.forEach(e=>e.addEventListener("abort",a));const{signal:s}=i;return s.unsubscribe=()=>Ec.asap(o),s}},Jf=function*(e,t){let n=e.byteLength;if(!t||n<t)return void(yield e);let i,a=0;for(;a<n;)i=a+t,yield e.slice(a,i),a=i},Qf=async function*(e){if(e[Symbol.asyncIterator])return void(yield*e);const t=e.getReader();try{for(;;){const{done:e,value:n}=await t.read();if(e)break;yield n}}finally{await t.cancel()}},em=(e,t,n,i)=>{const a=async function*(e,t){for await(const n of Qf(e))yield*Jf(n,t)}(e,t);let r,o=0,s=e=>{r||(r=!0,i&&i(e))};return new ReadableStream({async pull(e){try{const{done:t,value:i}=await a.next();if(t)return s(),void e.close();let r=i.byteLength;if(n){let e=o+=r;n(e)}e.enqueue(new Uint8Array(i))}catch(e){throw s(e),e}},cancel:e=>(s(e),a.return())},{highWaterMark:2})},tm="function"==typeof fetch&&"function"==typeof Request&&"function"==typeof Response,nm=tm&&"function"==typeof ReadableStream,im=tm&&("function"==typeof TextEncoder?(am=new TextEncoder,e=>am.encode(e)):async e=>new Uint8Array(await new Response(e).arrayBuffer()));var am;const rm=(e,...t)=>{try{return!!e(...t)}catch(e){return!1}},om=nm&&rm(()=>{let e=!1;const t=new Request(Xp.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),sm=nm&&rm(()=>Ec.isReadableStream(new Response("").body)),cm={stream:sm&&(e=>e.body)};var lm;tm&&(lm=new Response,["text","arrayBuffer","blob","formData","stream"].forEach(e=>{!cm[e]&&(cm[e]=Ec.isFunction(lm[e])?t=>t[e]():(t,n)=>{throw new jc(`Response type '${e}' is not supported`,jc.ERR_NOT_SUPPORT,n)})}));const um=async(e,t)=>{const n=Ec.toFiniteNumber(e.getContentLength());return null==n?(async e=>{if(null==e)return 0;if(Ec.isBlob(e))return e.size;if(Ec.isSpecCompliantForm(e)){const t=new Request(Xp.origin,{method:"POST",body:e});return(await t.arrayBuffer()).byteLength}return Ec.isArrayBufferView(e)||Ec.isArrayBuffer(e)?e.byteLength:(Ec.isURLSearchParams(e)&&(e+=""),Ec.isString(e)?(await im(e)).byteLength:void 0)})(t):n};var pm=tm&&(async e=>{let{url:t,method:n,data:i,signal:a,cancelToken:r,timeout:o,onDownloadProgress:s,onUploadProgress:c,responseType:l,headers:u,withCredentials:p="same-origin",fetchOptions:d}=Kf(e);l=l?(l+"").toLowerCase():"text";let f,m=Yf([a,r&&r.toAbortSignal()],o);const h=m&&m.unsubscribe&&(()=>{m.unsubscribe()});let g;try{if(c&&om&&"get"!==n&&"head"!==n&&0!==(g=await um(u,i))){let e,n=new Request(t,{method:"POST",body:i,duplex:"half"});if(Ec.isFormData(i)&&(e=n.headers.get("content-type"))&&u.setContentType(e),n.body){const[e,t]=Tf(g,jf(Cf(c)));i=em(n.body,65536,e,t)}}Ec.isString(p)||(p=p?"include":"omit");const a="credentials"in Request.prototype;f=new Request(t,{...d,signal:m,method:n.toUpperCase(),headers:u.normalize().toJSON(),body:i,duplex:"half",credentials:a?p:void 0});let r=await fetch(f);const o=sm&&("stream"===l||"response"===l);if(sm&&(s||o&&h)){const e={};["status","statusText","headers"].forEach(t=>{e[t]=r[t]});const t=Ec.toFiniteNumber(r.headers.get("content-length")),[n,i]=s&&Tf(t,jf(Cf(s),!0))||[];r=new Response(em(r.body,65536,n,()=>{i&&i(),h&&h()}),e)}l=l||"text";let v=await cm[Ec.findKey(cm,l)||"text"](r,e);return!o&&h&&h(),await new Promise((t,n)=>{cd(t,n,{data:v,headers:ad.from(r.headers),status:r.status,statusText:r.statusText,config:e,request:f})})}catch(t){if(h&&h(),t&&"TypeError"===t.name&&/fetch/i.test(t.message))throw Object.assign(new jc("Network Error",jc.ERR_NETWORK,e,f),{cause:t.cause||t});throw jc.from(t,t&&t.code,e,f)}});const dm={http:Gf,xhr:Xf,fetch:pm};Ec.forEach(dm,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}});const fm=e=>`- ${e}`,mm=e=>Ec.isFunction(e)||null===e||!1===e;var hm=e=>{e=Ec.isArray(e)?e:[e];const{length:t}=e;let n,i;const a={};for(let r=0;r<t;r++){let t;if(n=e[r],i=n,!mm(n)&&(i=dm[(t=String(n)).toLowerCase()],void 0===i))throw new jc(`Unknown adapter '${t}'`);if(i)break;a[t||"#"+r]=i}if(!i){const e=Object.entries(a).map(([e,t])=>`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build"));throw new jc("There is no suitable adapter to dispatch the request "+(t?e.length>1?"since :\n"+e.map(fm).join("\n"):" "+fm(e[0]):"as no adapter specified"),"ERR_NOT_SUPPORT")}return i};function gm(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new sd(null,e)}function vm(e){gm(e),e.headers=ad.from(e.headers),e.data=rd.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1);return hm(e.adapter||Jp.adapter)(e).then(function(t){return gm(e),t.data=rd.call(e,e.transformResponse,t),t.headers=ad.from(t.headers),t},function(t){return od(t)||(gm(e),t&&t.response&&(t.response.data=rd.call(e,e.transformResponse,t.response),t.response.headers=ad.from(t.response.headers))),Promise.reject(t)})}const bm={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{bm[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const ym={};bm.transitional=function(e,t,n){function i(e,t){return"[Axios v1.7.9] Transitional option '"+e+"'"+t+(n?". "+n:"")}return(n,a,r)=>{if(!1===e)throw new jc(i(a," has been removed"+(t?" in "+t:"")),jc.ERR_DEPRECATED);return t&&!ym[a]&&(ym[a]=!0,console.warn(i(a," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,a,r)}},bm.spelling=function(e){return(t,n)=>(console.warn(`${n} is likely a misspelling of ${e}`),!0)};var xm={assertOptions:function(e,t,n){if("object"!=typeof e)throw new jc("options must be an object",jc.ERR_BAD_OPTION_VALUE);const i=Object.keys(e);let a=i.length;for(;a-- >0;){const r=i[a],o=t[r];if(o){const t=e[r],n=void 0===t||o(t,r,e);if(!0!==n)throw new jc("option "+r+" must be "+n,jc.ERR_BAD_OPTION_VALUE);continue}if(!0!==n)throw new jc("Unknown option "+r,jc.ERR_BAD_OPTION)}},validators:bm};const _m=xm.validators;class wm{constructor(e){this.defaults=e,this.interceptors={request:new zp,response:new zp}}async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error){let t={};Error.captureStackTrace?Error.captureStackTrace(t):t=new Error;const n=t.stack?t.stack.replace(/^.+\n/,""):"";try{e.stack?n&&!String(e.stack).endsWith(n.replace(/^.+\n.+\n/,""))&&(e.stack+="\n"+n):e.stack=n}catch(e){}}throw e}}_request(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},t=Zf(this.defaults,t);const{transitional:n,paramsSerializer:i,headers:a}=t;void 0!==n&&xm.assertOptions(n,{silentJSONParsing:_m.transitional(_m.boolean),forcedJSONParsing:_m.transitional(_m.boolean),clarifyTimeoutError:_m.transitional(_m.boolean)},!1),null!=i&&(Ec.isFunction(i)?t.paramsSerializer={serialize:i}:xm.assertOptions(i,{encode:_m.function,serialize:_m.function},!0)),xm.assertOptions(t,{baseUrl:_m.spelling("baseURL"),withXsrfToken:_m.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let r=a&&Ec.merge(a.common,a[t.method]);a&&Ec.forEach(["delete","get","head","post","put","patch","common"],e=>{delete a[e]}),t.headers=ad.concat(r,a);const o=[];let s=!0;this.interceptors.request.forEach(function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(s=s&&e.synchronous,o.unshift(e.fulfilled,e.rejected))});const c=[];let l;this.interceptors.response.forEach(function(e){c.push(e.fulfilled,e.rejected)});let u,p=0;if(!s){const e=[vm.bind(this),void 0];for(e.unshift.apply(e,o),e.push.apply(e,c),u=e.length,l=Promise.resolve(t);p<u;)l=l.then(e[p++],e[p++]);return l}u=o.length;let d=t;for(p=0;p<u;){const e=o[p++],t=o[p++];try{d=e(d)}catch(e){t.call(this,e);break}}try{l=vm.call(this,d)}catch(e){return Promise.reject(e)}for(p=0,u=c.length;p<u;)l=l.then(c[p++],c[p++]);return l}getUri(e){return Mp(ld((e=Zf(this.defaults,e)).baseURL,e.url),e.params,e.paramsSerializer)}}Ec.forEach(["delete","get","head","options"],function(e){wm.prototype[e]=function(t,n){return this.request(Zf(n||{},{method:e,url:t,data:(n||{}).data}))}}),Ec.forEach(["post","put","patch"],function(e){function t(t){return function(n,i,a){return this.request(Zf(a||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:i}))}}wm.prototype[e]=t(),wm.prototype[e+"Form"]=t(!0)});class Om{constructor(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");let t;this.promise=new Promise(function(e){t=e});const n=this;this.promise.then(e=>{if(!n._listeners)return;let t=n._listeners.length;for(;t-- >0;)n._listeners[t](e);n._listeners=null}),this.promise.then=e=>{let t;const i=new Promise(e=>{n.subscribe(e),t=e}).then(e);return i.cancel=function(){n.unsubscribe(t)},i},e(function(e,i,a){n.reason||(n.reason=new sd(e,i,a),t(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}toAbortSignal(){const e=new AbortController,t=t=>{e.abort(t)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let e;const t=new Om(function(t){e=t});return{token:t,cancel:e}}}const Am={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Am).forEach(([e,t])=>{Am[t]=e});const Rm=function e(t){const n=new wm(t),i=Bs(wm.prototype.request,n);return Ec.extend(i,wm.prototype,n,{allOwnKeys:!0}),Ec.extend(i,n,null,{allOwnKeys:!0}),i.create=function(n){return e(Zf(t,n))},i}(Jp);Rm.Axios=wm,Rm.CanceledError=sd,Rm.CancelToken=Om,Rm.isCancel=od,Rm.VERSION=hf,Rm.toFormData=Lp,Rm.AxiosError=jc,Rm.Cancel=Rm.CanceledError,Rm.all=function(e){return Promise.all(e)},Rm.spread=function(e){return function(t){return e.apply(null,t)}},Rm.isAxiosError=function(e){return Ec.isObject(e)&&!0===e.isAxiosError},Rm.mergeConfig=Zf,Rm.AxiosHeaders=ad,Rm.formToJSON=e=>Yp(Ec.isHTMLForm(e)?new FormData(e):e),Rm.getAdapter=hm,Rm.HttpStatusCode=Am,Rm.default=Rm;var km=Rm;function Sm(){const e=Lt("stores");if(!e)throw new Error("[useStores]: The stores could not be found.");return e}function Em(){const e=Lt("api");if(!e)throw new Error("[useApi]: The api could not be found.");return e}function jm(){const e=Lt("extensions");if(!e)throw new Error("[useExtensions]: The extensions could not be found.");return e}function Tm(e){const{useCollectionsStore:t,useFieldsStore:n}=Sm(),i=t(),a=n(),r="string"==typeof e?at(e):e,o=Ht(()=>i.collections.find(({collection:e})=>e===r.value)||null),s=Ht(()=>r.value?a.getFieldsForCollectionSorted(r.value):[]),c=Ht(()=>{if(!s.value)return{};const e={};for(const t of s.value)null!==t.schema&&"default_value"in t.schema&&(e[t.field]=t.schema.default_value);return e}),l=Ht(()=>s.value.find(e=>e.collection===r.value&&!0===e.schema?.is_primary_key)||null),u=Ht(()=>s.value?.find(e=>(e.meta?.special||[]).includes("user_created"))||null),p=Ht(()=>o.value?.meta?.sort_field||null),d=Ht(()=>!0===o.value?.meta?.singleton),f=Ht(()=>o.value&&o.value.meta?o.value.meta.accountability:null);return{info:o,fields:s,defaults:c,primaryKeyField:l,userCreatedField:u,sortField:p,isSingleton:d,accountabilityScope:f}}var Cm,Nm,$m="wrapper",Fm=["selection","layoutOptions","layoutQuery"];!function(e){e.assertEqual=e=>e,e.assertIs=function(e){},e.assertNever=function(e){throw new Error},e.arrayToEnum=e=>{const t={};for(const n of e)t[n]=n;return t},e.getValidEnumValues=t=>{const n=e.objectKeys(t).filter(e=>"number"!=typeof t[t[e]]),i={};for(const e of n)i[e]=t[e];return e.objectValues(i)},e.objectValues=t=>e.objectKeys(t).map(function(e){return t[e]}),e.objectKeys="function"==typeof Object.keys?e=>Object.keys(e):e=>{const t=[];for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.push(n);return t},e.find=(e,t)=>{for(const n of e)if(t(n))return n},e.isInteger="function"==typeof Number.isInteger?e=>Number.isInteger(e):e=>"number"==typeof e&&isFinite(e)&&Math.floor(e)===e,e.joinValues=function(e,t=" | "){return e.map(e=>"string"==typeof e?`'${e}'`:e).join(t)},e.jsonStringifyReplacer=(e,t)=>"bigint"==typeof t?t.toString():t}(Cm||(Cm={})),function(e){e.mergeShapes=(e,t)=>({...e,...t})}(Nm||(Nm={}));const Im=Cm.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),Lm=e=>{switch(typeof e){case"undefined":return Im.undefined;case"string":return Im.string;case"number":return isNaN(e)?Im.nan:Im.number;case"boolean":return Im.boolean;case"function":return Im.function;case"bigint":return Im.bigint;case"symbol":return Im.symbol;case"object":return Array.isArray(e)?Im.array:null===e?Im.null:e.then&&"function"==typeof e.then&&e.catch&&"function"==typeof e.catch?Im.promise:"undefined"!=typeof Map&&e instanceof Map?Im.map:"undefined"!=typeof Set&&e instanceof Set?Im.set:"undefined"!=typeof Date&&e instanceof Date?Im.date:Im.object;default:return Im.unknown}},Pm=Cm.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]);class Dm extends Error{get errors(){return this.issues}constructor(e){super(),this.issues=[],this.addIssue=e=>{this.issues=[...this.issues,e]},this.addIssues=(e=[])=>{this.issues=[...this.issues,...e]};const t=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,t):this.__proto__=t,this.name="ZodError",this.issues=e}format(e){const t=e||function(e){return e.message},n={_errors:[]},i=e=>{for(const a of e.issues)if("invalid_union"===a.code)a.unionErrors.map(i);else if("invalid_return_type"===a.code)i(a.returnTypeError);else if("invalid_arguments"===a.code)i(a.argumentsError);else if(0===a.path.length)n._errors.push(t(a));else{let e=n,i=0;for(;i<a.path.length;){const n=a.path[i];i===a.path.length-1?(e[n]=e[n]||{_errors:[]},e[n]._errors.push(t(a))):e[n]=e[n]||{_errors:[]},e=e[n],i++}}};return i(this),n}static assert(e){if(!(e instanceof Dm))throw new Error(`Not a ZodError: ${e}`)}toString(){return this.message}get message(){return JSON.stringify(this.issues,Cm.jsonStringifyReplacer,2)}get isEmpty(){return 0===this.issues.length}flatten(e=e=>e.message){const t={},n=[];for(const i of this.issues)i.path.length>0?(t[i.path[0]]=t[i.path[0]]||[],t[i.path[0]].push(e(i))):n.push(e(i));return{formErrors:n,fieldErrors:t}}get formErrors(){return this.flatten()}}Dm.create=e=>new Dm(e);const Um=(e,t)=>{let n;switch(e.code){case Pm.invalid_type:n=e.received===Im.undefined?"Required":`Expected ${e.expected}, received ${e.received}`;break;case Pm.invalid_literal:n=`Invalid literal value, expected ${JSON.stringify(e.expected,Cm.jsonStringifyReplacer)}`;break;case Pm.unrecognized_keys:n=`Unrecognized key(s) in object: ${Cm.joinValues(e.keys,", ")}`;break;case Pm.invalid_union:n="Invalid input";break;case Pm.invalid_union_discriminator:n=`Invalid discriminator value. Expected ${Cm.joinValues(e.options)}`;break;case Pm.invalid_enum_value:n=`Invalid enum value. Expected ${Cm.joinValues(e.options)}, received '${e.received}'`;break;case Pm.invalid_arguments:n="Invalid function arguments";break;case Pm.invalid_return_type:n="Invalid function return type";break;case Pm.invalid_date:n="Invalid date";break;case Pm.invalid_string:"object"==typeof e.validation?"includes"in e.validation?(n=`Invalid input: must include "${e.validation.includes}"`,"number"==typeof e.validation.position&&(n=`${n} at one or more positions greater than or equal to ${e.validation.position}`)):"startsWith"in e.validation?n=`Invalid input: must start with "${e.validation.startsWith}"`:"endsWith"in e.validation?n=`Invalid input: must end with "${e.validation.endsWith}"`:Cm.assertNever(e.validation):n="regex"!==e.validation?`Invalid ${e.validation}`:"Invalid";break;case Pm.too_small:n="array"===e.type?`Array must contain ${e.exact?"exactly":e.inclusive?"at least":"more than"} ${e.minimum} element(s)`:"string"===e.type?`String must contain ${e.exact?"exactly":e.inclusive?"at least":"over"} ${e.minimum} character(s)`:"number"===e.type?`Number must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${e.minimum}`:"date"===e.type?`Date must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(e.minimum))}`:"Invalid input";break;case Pm.too_big:n="array"===e.type?`Array must contain ${e.exact?"exactly":e.inclusive?"at most":"less than"} ${e.maximum} element(s)`:"string"===e.type?`String must contain ${e.exact?"exactly":e.inclusive?"at most":"under"} ${e.maximum} character(s)`:"number"===e.type?`Number must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:"bigint"===e.type?`BigInt must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:"date"===e.type?`Date must be ${e.exact?"exactly":e.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(e.maximum))}`:"Invalid input";break;case Pm.custom:n="Invalid input";break;case Pm.invalid_intersection_types:n="Intersection results could not be merged";break;case Pm.not_multiple_of:n=`Number must be a multiple of ${e.multipleOf}`;break;case Pm.not_finite:n="Number must be finite";break;default:n=t.defaultError,Cm.assertNever(e)}return{message:n}};let Bm=Um;function Mm(){return Bm}const zm=e=>{const{data:t,path:n,errorMaps:i,issueData:a}=e,r=[...n,...a.path||[]],o={...a,path:r};if(void 0!==a.message)return{...a,path:r,message:a.message};let s="";const c=i.filter(e=>!!e).slice().reverse();for(const e of c)s=e(o,{data:t,defaultError:s}).message;return{...a,path:r,message:s}};function qm(e,t){const n=Mm(),i=zm({issueData:t,data:e.data,path:e.path,errorMaps:[e.common.contextualErrorMap,e.schemaErrorMap,n,n===Um?void 0:Um].filter(e=>!!e)});e.common.issues.push(i)}class Gm{constructor(){this.value="valid"}dirty(){"valid"===this.value&&(this.value="dirty")}abort(){"aborted"!==this.value&&(this.value="aborted")}static mergeArray(e,t){const n=[];for(const i of t){if("aborted"===i.status)return Hm;"dirty"===i.status&&e.dirty(),n.push(i.value)}return{status:e.value,value:n}}static async mergeObjectAsync(e,t){const n=[];for(const e of t){const t=await e.key,i=await e.value;n.push({key:t,value:i})}return Gm.mergeObjectSync(e,n)}static mergeObjectSync(e,t){const n={};for(const i of t){const{key:t,value:a}=i;if("aborted"===t.status)return Hm;if("aborted"===a.status)return Hm;"dirty"===t.status&&e.dirty(),"dirty"===a.status&&e.dirty(),"__proto__"===t.value||void 0===a.value&&!i.alwaysSet||(n[t.value]=a.value)}return{status:e.value,value:n}}}const Hm=Object.freeze({status:"aborted"}),Wm=e=>({status:"dirty",value:e}),Vm=e=>({status:"valid",value:e}),Zm=e=>"aborted"===e.status,Km=e=>"dirty"===e.status,Xm=e=>"valid"===e.status,Ym=e=>"undefined"!=typeof Promise&&e instanceof Promise;function Jm(e,t,n,i){if("a"===n&&!i)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!i:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?i:"a"===n?i.call(e):i?i.value:t.get(e)}function Qm(e,t,n,i,a){if("m"===i)throw new TypeError("Private method is not writable");if("a"===i&&!a)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!a:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===i?a.call(e,n):a?a.value=n:t.set(e,n),n}var eh,th,nh;"function"==typeof SuppressedError&&SuppressedError,function(e){e.errToObj=e=>"string"==typeof e?{message:e}:e||{},e.toString=e=>"string"==typeof e?e:null==e?void 0:e.message}(eh||(eh={}));class ih{constructor(e,t,n,i){this._cachedPath=[],this.parent=e,this.data=t,this._path=n,this._key=i}get path(){return this._cachedPath.length||(this._key instanceof Array?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}}const ah=(e,t)=>{if(Xm(t))return{success:!0,data:t.value};if(!e.common.issues.length)throw new Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;const t=new Dm(e.common.issues);return this._error=t,this._error}}};function rh(e){if(!e)return{};const{errorMap:t,invalid_type_error:n,required_error:i,description:a}=e;if(t&&(n||i))throw new Error('Can\'t use "invalid_type_error" or "required_error" in conjunction with custom error map.');if(t)return{errorMap:t,description:a};return{errorMap:(t,a)=>{var r,o;const{message:s}=e;return"invalid_enum_value"===t.code?{message:null!=s?s:a.defaultError}:void 0===a.data?{message:null!==(r=null!=s?s:i)&&void 0!==r?r:a.defaultError}:"invalid_type"!==t.code?{message:a.defaultError}:{message:null!==(o=null!=s?s:n)&&void 0!==o?o:a.defaultError}},description:a}}class oh{get description(){return this._def.description}_getType(e){return Lm(e.data)}_getOrReturnCtx(e,t){return t||{common:e.parent.common,data:e.data,parsedType:Lm(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}_processInputParams(e){return{status:new Gm,ctx:{common:e.parent.common,data:e.data,parsedType:Lm(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}}_parseSync(e){const t=this._parse(e);if(Ym(t))throw new Error("Synchronous parse encountered promise.");return t}_parseAsync(e){const t=this._parse(e);return Promise.resolve(t)}parse(e,t){const n=this.safeParse(e,t);if(n.success)return n.data;throw n.error}safeParse(e,t){var n;const i={common:{issues:[],async:null!==(n=null==t?void 0:t.async)&&void 0!==n&&n,contextualErrorMap:null==t?void 0:t.errorMap},path:(null==t?void 0:t.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:Lm(e)},a=this._parseSync({data:e,path:i.path,parent:i});return ah(i,a)}"~validate"(e){var t,n;const i={common:{issues:[],async:!!this["~standard"].async},path:[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:Lm(e)};if(!this["~standard"].async)try{const t=this._parseSync({data:e,path:[],parent:i});return Xm(t)?{value:t.value}:{issues:i.common.issues}}catch(e){(null===(n=null===(t=null==e?void 0:e.message)||void 0===t?void 0:t.toLowerCase())||void 0===n?void 0:n.includes("encountered"))&&(this["~standard"].async=!0),i.common={issues:[],async:!0}}return this._parseAsync({data:e,path:[],parent:i}).then(e=>Xm(e)?{value:e.value}:{issues:i.common.issues})}async parseAsync(e,t){const n=await this.safeParseAsync(e,t);if(n.success)return n.data;throw n.error}async safeParseAsync(e,t){const n={common:{issues:[],contextualErrorMap:null==t?void 0:t.errorMap,async:!0},path:(null==t?void 0:t.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:Lm(e)},i=this._parse({data:e,path:n.path,parent:n}),a=await(Ym(i)?i:Promise.resolve(i));return ah(n,a)}refine(e,t){const n=e=>"string"==typeof t||void 0===t?{message:t}:"function"==typeof t?t(e):t;return this._refinement((t,i)=>{const a=e(t),r=()=>i.addIssue({code:Pm.custom,...n(t)});return"undefined"!=typeof Promise&&a instanceof Promise?a.then(e=>!!e||(r(),!1)):!!a||(r(),!1)})}refinement(e,t){return this._refinement((n,i)=>!!e(n)||(i.addIssue("function"==typeof t?t(n,i):t),!1))}_refinement(e){return new cg({schema:this,typeName:xg.ZodEffects,effect:{type:"refinement",refinement:e}})}superRefine(e){return this._refinement(e)}constructor(e){this.spa=this.safeParseAsync,this._def=e,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this),this["~standard"]={version:1,vendor:"zod",validate:e=>this["~validate"](e)}}optional(){return lg.create(this,this._def)}nullable(){return ug.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return qh.create(this)}promise(){return sg.create(this,this._def)}or(e){return Wh.create([this,e],this._def)}and(e){return Xh.create(this,e,this._def)}transform(e){return new cg({...rh(this._def),schema:this,typeName:xg.ZodEffects,effect:{type:"transform",transform:e}})}default(e){const t="function"==typeof e?e:()=>e;return new pg({...rh(this._def),innerType:this,defaultValue:t,typeName:xg.ZodDefault})}brand(){return new hg({typeName:xg.ZodBranded,type:this,...rh(this._def)})}catch(e){const t="function"==typeof e?e:()=>e;return new dg({...rh(this._def),innerType:this,catchValue:t,typeName:xg.ZodCatch})}describe(e){return new(0,this.constructor)({...this._def,description:e})}pipe(e){return gg.create(this,e)}readonly(){return vg.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}const sh=/^c[^\s-]{8,}$/i,ch=/^[0-9a-z]+$/,lh=/^[0-9A-HJKMNP-TV-Z]{26}$/i,uh=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,ph=/^[a-z0-9_-]{21}$/i,dh=/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/,fh=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,mh=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i;let hh;const gh=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,vh=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/(3[0-2]|[12]?[0-9])$/,bh=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$/,yh=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,xh=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,_h=/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,wh="((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))",Oh=new RegExp(`^${wh}$`);function Ah(e){let t="([01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d";return e.precision?t=`${t}\\.\\d{${e.precision}}`:null==e.precision&&(t=`${t}(\\.\\d+)?`),t}function Rh(e){return new RegExp(`^${Ah(e)}$`)}function kh(e){let t=`${wh}T${Ah(e)}`;const n=[];return n.push(e.local?"Z?":"Z"),e.offset&&n.push("([+-]\\d{2}:?\\d{2})"),t=`${t}(${n.join("|")})`,new RegExp(`^${t}$`)}function Sh(e,t){return!("v4"!==t&&t||!gh.test(e))||!("v6"!==t&&t||!bh.test(e))}function Eh(e,t){if(!dh.test(e))return!1;try{const[n]=e.split("."),i=n.replace(/-/g,"+").replace(/_/g,"/").padEnd(n.length+(4-n.length%4)%4,"="),a=JSON.parse(atob(i));return"object"==typeof a&&null!==a&&(!(!a.typ||!a.alg)&&(!t||a.alg===t))}catch(e){return!1}}function jh(e,t){return!("v4"!==t&&t||!vh.test(e))||!("v6"!==t&&t||!yh.test(e))}class Th extends oh{_parse(e){this._def.coerce&&(e.data=String(e.data));if(this._getType(e)!==Im.string){const t=this._getOrReturnCtx(e);return qm(t,{code:Pm.invalid_type,expected:Im.string,received:t.parsedType}),Hm}const t=new Gm;let n;for(const i of this._def.checks)if("min"===i.kind)e.data.length<i.value&&(n=this._getOrReturnCtx(e,n),qm(n,{code:Pm.too_small,minimum:i.value,type:"string",inclusive:!0,exact:!1,message:i.message}),t.dirty());else if("max"===i.kind)e.data.length>i.value&&(n=this._getOrReturnCtx(e,n),qm(n,{code:Pm.too_big,maximum:i.value,type:"string",inclusive:!0,exact:!1,message:i.message}),t.dirty());else if("length"===i.kind){const a=e.data.length>i.value,r=e.data.length<i.value;(a||r)&&(n=this._getOrReturnCtx(e,n),a?qm(n,{code:Pm.too_big,maximum:i.value,type:"string",inclusive:!0,exact:!0,message:i.message}):r&&qm(n,{code:Pm.too_small,minimum:i.value,type:"string",inclusive:!0,exact:!0,message:i.message}),t.dirty())}else if("email"===i.kind)mh.test(e.data)||(n=this._getOrReturnCtx(e,n),qm(n,{validation:"email",code:Pm.invalid_string,message:i.message}),t.dirty());else if("emoji"===i.kind)hh||(hh=new RegExp("^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$","u")),hh.test(e.data)||(n=this._getOrReturnCtx(e,n),qm(n,{validation:"emoji",code:Pm.invalid_string,message:i.message}),t.dirty());else if("uuid"===i.kind)uh.test(e.data)||(n=this._getOrReturnCtx(e,n),qm(n,{validation:"uuid",code:Pm.invalid_string,message:i.message}),t.dirty());else if("nanoid"===i.kind)ph.test(e.data)||(n=this._getOrReturnCtx(e,n),qm(n,{validation:"nanoid",code:Pm.invalid_string,message:i.message}),t.dirty());else if("cuid"===i.kind)sh.test(e.data)||(n=this._getOrReturnCtx(e,n),qm(n,{validation:"cuid",code:Pm.invalid_string,message:i.message}),t.dirty());else if("cuid2"===i.kind)ch.test(e.data)||(n=this._getOrReturnCtx(e,n),qm(n,{validation:"cuid2",code:Pm.invalid_string,message:i.message}),t.dirty());else if("ulid"===i.kind)lh.test(e.data)||(n=this._getOrReturnCtx(e,n),qm(n,{validation:"ulid",code:Pm.invalid_string,message:i.message}),t.dirty());else if("url"===i.kind)try{new URL(e.data)}catch(a){n=this._getOrReturnCtx(e,n),qm(n,{validation:"url",code:Pm.invalid_string,message:i.message}),t.dirty()}else if("regex"===i.kind){i.regex.lastIndex=0;i.regex.test(e.data)||(n=this._getOrReturnCtx(e,n),qm(n,{validation:"regex",code:Pm.invalid_string,message:i.message}),t.dirty())}else if("trim"===i.kind)e.data=e.data.trim();else if("includes"===i.kind)e.data.includes(i.value,i.position)||(n=this._getOrReturnCtx(e,n),qm(n,{code:Pm.invalid_string,validation:{includes:i.value,position:i.position},message:i.message}),t.dirty());else if("toLowerCase"===i.kind)e.data=e.data.toLowerCase();else if("toUpperCase"===i.kind)e.data=e.data.toUpperCase();else if("startsWith"===i.kind)e.data.startsWith(i.value)||(n=this._getOrReturnCtx(e,n),qm(n,{code:Pm.invalid_string,validation:{startsWith:i.value},message:i.message}),t.dirty());else if("endsWith"===i.kind)e.data.endsWith(i.value)||(n=this._getOrReturnCtx(e,n),qm(n,{code:Pm.invalid_string,validation:{endsWith:i.value},message:i.message}),t.dirty());else if("datetime"===i.kind){kh(i).test(e.data)||(n=this._getOrReturnCtx(e,n),qm(n,{code:Pm.invalid_string,validation:"datetime",message:i.message}),t.dirty())}else if("date"===i.kind){Oh.test(e.data)||(n=this._getOrReturnCtx(e,n),qm(n,{code:Pm.invalid_string,validation:"date",message:i.message}),t.dirty())}else if("time"===i.kind){Rh(i).test(e.data)||(n=this._getOrReturnCtx(e,n),qm(n,{code:Pm.invalid_string,validation:"time",message:i.message}),t.dirty())}else"duration"===i.kind?fh.test(e.data)||(n=this._getOrReturnCtx(e,n),qm(n,{validation:"duration",code:Pm.invalid_string,message:i.message}),t.dirty()):"ip"===i.kind?Sh(e.data,i.version)||(n=this._getOrReturnCtx(e,n),qm(n,{validation:"ip",code:Pm.invalid_string,message:i.message}),t.dirty()):"jwt"===i.kind?Eh(e.data,i.alg)||(n=this._getOrReturnCtx(e,n),qm(n,{validation:"jwt",code:Pm.invalid_string,message:i.message}),t.dirty()):"cidr"===i.kind?jh(e.data,i.version)||(n=this._getOrReturnCtx(e,n),qm(n,{validation:"cidr",code:Pm.invalid_string,message:i.message}),t.dirty()):"base64"===i.kind?xh.test(e.data)||(n=this._getOrReturnCtx(e,n),qm(n,{validation:"base64",code:Pm.invalid_string,message:i.message}),t.dirty()):"base64url"===i.kind?_h.test(e.data)||(n=this._getOrReturnCtx(e,n),qm(n,{validation:"base64url",code:Pm.invalid_string,message:i.message}),t.dirty()):Cm.assertNever(i);return{status:t.value,value:e.data}}_regex(e,t,n){return this.refinement(t=>e.test(t),{validation:t,code:Pm.invalid_string,...eh.errToObj(n)})}_addCheck(e){return new Th({...this._def,checks:[...this._def.checks,e]})}email(e){return this._addCheck({kind:"email",...eh.errToObj(e)})}url(e){return this._addCheck({kind:"url",...eh.errToObj(e)})}emoji(e){return this._addCheck({kind:"emoji",...eh.errToObj(e)})}uuid(e){return this._addCheck({kind:"uuid",...eh.errToObj(e)})}nanoid(e){return this._addCheck({kind:"nanoid",...eh.errToObj(e)})}cuid(e){return this._addCheck({kind:"cuid",...eh.errToObj(e)})}cuid2(e){return this._addCheck({kind:"cuid2",...eh.errToObj(e)})}ulid(e){return this._addCheck({kind:"ulid",...eh.errToObj(e)})}base64(e){return this._addCheck({kind:"base64",...eh.errToObj(e)})}base64url(e){return this._addCheck({kind:"base64url",...eh.errToObj(e)})}jwt(e){return this._addCheck({kind:"jwt",...eh.errToObj(e)})}ip(e){return this._addCheck({kind:"ip",...eh.errToObj(e)})}cidr(e){return this._addCheck({kind:"cidr",...eh.errToObj(e)})}datetime(e){var t,n;return"string"==typeof e?this._addCheck({kind:"datetime",precision:null,offset:!1,local:!1,message:e}):this._addCheck({kind:"datetime",precision:void 0===(null==e?void 0:e.precision)?null:null==e?void 0:e.precision,offset:null!==(t=null==e?void 0:e.offset)&&void 0!==t&&t,local:null!==(n=null==e?void 0:e.local)&&void 0!==n&&n,...eh.errToObj(null==e?void 0:e.message)})}date(e){return this._addCheck({kind:"date",message:e})}time(e){return"string"==typeof e?this._addCheck({kind:"time",precision:null,message:e}):this._addCheck({kind:"time",precision:void 0===(null==e?void 0:e.precision)?null:null==e?void 0:e.precision,...eh.errToObj(null==e?void 0:e.message)})}duration(e){return this._addCheck({kind:"duration",...eh.errToObj(e)})}regex(e,t){return this._addCheck({kind:"regex",regex:e,...eh.errToObj(t)})}includes(e,t){return this._addCheck({kind:"includes",value:e,position:null==t?void 0:t.position,...eh.errToObj(null==t?void 0:t.message)})}startsWith(e,t){return this._addCheck({kind:"startsWith",value:e,...eh.errToObj(t)})}endsWith(e,t){return this._addCheck({kind:"endsWith",value:e,...eh.errToObj(t)})}min(e,t){return this._addCheck({kind:"min",value:e,...eh.errToObj(t)})}max(e,t){return this._addCheck({kind:"max",value:e,...eh.errToObj(t)})}length(e,t){return this._addCheck({kind:"length",value:e,...eh.errToObj(t)})}nonempty(e){return this.min(1,eh.errToObj(e))}trim(){return new Th({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new Th({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new Th({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(e=>"datetime"===e.kind)}get isDate(){return!!this._def.checks.find(e=>"date"===e.kind)}get isTime(){return!!this._def.checks.find(e=>"time"===e.kind)}get isDuration(){return!!this._def.checks.find(e=>"duration"===e.kind)}get isEmail(){return!!this._def.checks.find(e=>"email"===e.kind)}get isURL(){return!!this._def.checks.find(e=>"url"===e.kind)}get isEmoji(){return!!this._def.checks.find(e=>"emoji"===e.kind)}get isUUID(){return!!this._def.checks.find(e=>"uuid"===e.kind)}get isNANOID(){return!!this._def.checks.find(e=>"nanoid"===e.kind)}get isCUID(){return!!this._def.checks.find(e=>"cuid"===e.kind)}get isCUID2(){return!!this._def.checks.find(e=>"cuid2"===e.kind)}get isULID(){return!!this._def.checks.find(e=>"ulid"===e.kind)}get isIP(){return!!this._def.checks.find(e=>"ip"===e.kind)}get isCIDR(){return!!this._def.checks.find(e=>"cidr"===e.kind)}get isBase64(){return!!this._def.checks.find(e=>"base64"===e.kind)}get isBase64url(){return!!this._def.checks.find(e=>"base64url"===e.kind)}get minLength(){let e=null;for(const t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return e}get maxLength(){let e=null;for(const t of this._def.checks)"max"===t.kind&&(null===e||t.value<e)&&(e=t.value);return e}}function Ch(e,t){const n=(e.toString().split(".")[1]||"").length,i=(t.toString().split(".")[1]||"").length,a=n>i?n:i;return parseInt(e.toFixed(a).replace(".",""))%parseInt(t.toFixed(a).replace(".",""))/Math.pow(10,a)}Th.create=e=>{var t;return new Th({checks:[],typeName:xg.ZodString,coerce:null!==(t=null==e?void 0:e.coerce)&&void 0!==t&&t,...rh(e)})};class Nh extends oh{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(e){this._def.coerce&&(e.data=Number(e.data));if(this._getType(e)!==Im.number){const t=this._getOrReturnCtx(e);return qm(t,{code:Pm.invalid_type,expected:Im.number,received:t.parsedType}),Hm}let t;const n=new Gm;for(const i of this._def.checks)if("int"===i.kind)Cm.isInteger(e.data)||(t=this._getOrReturnCtx(e,t),qm(t,{code:Pm.invalid_type,expected:"integer",received:"float",message:i.message}),n.dirty());else if("min"===i.kind){(i.inclusive?e.data<i.value:e.data<=i.value)&&(t=this._getOrReturnCtx(e,t),qm(t,{code:Pm.too_small,minimum:i.value,type:"number",inclusive:i.inclusive,exact:!1,message:i.message}),n.dirty())}else if("max"===i.kind){(i.inclusive?e.data>i.value:e.data>=i.value)&&(t=this._getOrReturnCtx(e,t),qm(t,{code:Pm.too_big,maximum:i.value,type:"number",inclusive:i.inclusive,exact:!1,message:i.message}),n.dirty())}else"multipleOf"===i.kind?0!==Ch(e.data,i.value)&&(t=this._getOrReturnCtx(e,t),qm(t,{code:Pm.not_multiple_of,multipleOf:i.value,message:i.message}),n.dirty()):"finite"===i.kind?Number.isFinite(e.data)||(t=this._getOrReturnCtx(e,t),qm(t,{code:Pm.not_finite,message:i.message}),n.dirty()):Cm.assertNever(i);return{status:n.value,value:e.data}}gte(e,t){return this.setLimit("min",e,!0,eh.toString(t))}gt(e,t){return this.setLimit("min",e,!1,eh.toString(t))}lte(e,t){return this.setLimit("max",e,!0,eh.toString(t))}lt(e,t){return this.setLimit("max",e,!1,eh.toString(t))}setLimit(e,t,n,i){return new Nh({...this._def,checks:[...this._def.checks,{kind:e,value:t,inclusive:n,message:eh.toString(i)}]})}_addCheck(e){return new Nh({...this._def,checks:[...this._def.checks,e]})}int(e){return this._addCheck({kind:"int",message:eh.toString(e)})}positive(e){return this._addCheck({kind:"min",value:0,inclusive:!1,message:eh.toString(e)})}negative(e){return this._addCheck({kind:"max",value:0,inclusive:!1,message:eh.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:0,inclusive:!0,message:eh.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:0,inclusive:!0,message:eh.toString(e)})}multipleOf(e,t){return this._addCheck({kind:"multipleOf",value:e,message:eh.toString(t)})}finite(e){return this._addCheck({kind:"finite",message:eh.toString(e)})}safe(e){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:eh.toString(e)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:eh.toString(e)})}get minValue(){let e=null;for(const t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return e}get maxValue(){let e=null;for(const t of this._def.checks)"max"===t.kind&&(null===e||t.value<e)&&(e=t.value);return e}get isInt(){return!!this._def.checks.find(e=>"int"===e.kind||"multipleOf"===e.kind&&Cm.isInteger(e.value))}get isFinite(){let e=null,t=null;for(const n of this._def.checks){if("finite"===n.kind||"int"===n.kind||"multipleOf"===n.kind)return!0;"min"===n.kind?(null===t||n.value>t)&&(t=n.value):"max"===n.kind&&(null===e||n.value<e)&&(e=n.value)}return Number.isFinite(t)&&Number.isFinite(e)}}Nh.create=e=>new Nh({checks:[],typeName:xg.ZodNumber,coerce:(null==e?void 0:e.coerce)||!1,...rh(e)});class $h extends oh{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(e){if(this._def.coerce)try{e.data=BigInt(e.data)}catch(t){return this._getInvalidInput(e)}if(this._getType(e)!==Im.bigint)return this._getInvalidInput(e);let t;const n=new Gm;for(const i of this._def.checks)if("min"===i.kind){(i.inclusive?e.data<i.value:e.data<=i.value)&&(t=this._getOrReturnCtx(e,t),qm(t,{code:Pm.too_small,type:"bigint",minimum:i.value,inclusive:i.inclusive,message:i.message}),n.dirty())}else if("max"===i.kind){(i.inclusive?e.data>i.value:e.data>=i.value)&&(t=this._getOrReturnCtx(e,t),qm(t,{code:Pm.too_big,type:"bigint",maximum:i.value,inclusive:i.inclusive,message:i.message}),n.dirty())}else"multipleOf"===i.kind?e.data%i.value!==BigInt(0)&&(t=this._getOrReturnCtx(e,t),qm(t,{code:Pm.not_multiple_of,multipleOf:i.value,message:i.message}),n.dirty()):Cm.assertNever(i);return{status:n.value,value:e.data}}_getInvalidInput(e){const t=this._getOrReturnCtx(e);return qm(t,{code:Pm.invalid_type,expected:Im.bigint,received:t.parsedType}),Hm}gte(e,t){return this.setLimit("min",e,!0,eh.toString(t))}gt(e,t){return this.setLimit("min",e,!1,eh.toString(t))}lte(e,t){return this.setLimit("max",e,!0,eh.toString(t))}lt(e,t){return this.setLimit("max",e,!1,eh.toString(t))}setLimit(e,t,n,i){return new $h({...this._def,checks:[...this._def.checks,{kind:e,value:t,inclusive:n,message:eh.toString(i)}]})}_addCheck(e){return new $h({...this._def,checks:[...this._def.checks,e]})}positive(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:eh.toString(e)})}negative(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:eh.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:eh.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:eh.toString(e)})}multipleOf(e,t){return this._addCheck({kind:"multipleOf",value:e,message:eh.toString(t)})}get minValue(){let e=null;for(const t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return e}get maxValue(){let e=null;for(const t of this._def.checks)"max"===t.kind&&(null===e||t.value<e)&&(e=t.value);return e}}$h.create=e=>{var t;return new $h({checks:[],typeName:xg.ZodBigInt,coerce:null!==(t=null==e?void 0:e.coerce)&&void 0!==t&&t,...rh(e)})};class Fh extends oh{_parse(e){this._def.coerce&&(e.data=Boolean(e.data));if(this._getType(e)!==Im.boolean){const t=this._getOrReturnCtx(e);return qm(t,{code:Pm.invalid_type,expected:Im.boolean,received:t.parsedType}),Hm}return Vm(e.data)}}Fh.create=e=>new Fh({typeName:xg.ZodBoolean,coerce:(null==e?void 0:e.coerce)||!1,...rh(e)});class Ih extends oh{_parse(e){this._def.coerce&&(e.data=new Date(e.data));if(this._getType(e)!==Im.date){const t=this._getOrReturnCtx(e);return qm(t,{code:Pm.invalid_type,expected:Im.date,received:t.parsedType}),Hm}if(isNaN(e.data.getTime())){return qm(this._getOrReturnCtx(e),{code:Pm.invalid_date}),Hm}const t=new Gm;let n;for(const i of this._def.checks)"min"===i.kind?e.data.getTime()<i.value&&(n=this._getOrReturnCtx(e,n),qm(n,{code:Pm.too_small,message:i.message,inclusive:!0,exact:!1,minimum:i.value,type:"date"}),t.dirty()):"max"===i.kind?e.data.getTime()>i.value&&(n=this._getOrReturnCtx(e,n),qm(n,{code:Pm.too_big,message:i.message,inclusive:!0,exact:!1,maximum:i.value,type:"date"}),t.dirty()):Cm.assertNever(i);return{status:t.value,value:new Date(e.data.getTime())}}_addCheck(e){return new Ih({...this._def,checks:[...this._def.checks,e]})}min(e,t){return this._addCheck({kind:"min",value:e.getTime(),message:eh.toString(t)})}max(e,t){return this._addCheck({kind:"max",value:e.getTime(),message:eh.toString(t)})}get minDate(){let e=null;for(const t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return null!=e?new Date(e):null}get maxDate(){let e=null;for(const t of this._def.checks)"max"===t.kind&&(null===e||t.value<e)&&(e=t.value);return null!=e?new Date(e):null}}Ih.create=e=>new Ih({checks:[],coerce:(null==e?void 0:e.coerce)||!1,typeName:xg.ZodDate,...rh(e)});class Lh extends oh{_parse(e){if(this._getType(e)!==Im.symbol){const t=this._getOrReturnCtx(e);return qm(t,{code:Pm.invalid_type,expected:Im.symbol,received:t.parsedType}),Hm}return Vm(e.data)}}Lh.create=e=>new Lh({typeName:xg.ZodSymbol,...rh(e)});class Ph extends oh{_parse(e){if(this._getType(e)!==Im.undefined){const t=this._getOrReturnCtx(e);return qm(t,{code:Pm.invalid_type,expected:Im.undefined,received:t.parsedType}),Hm}return Vm(e.data)}}Ph.create=e=>new Ph({typeName:xg.ZodUndefined,...rh(e)});class Dh extends oh{_parse(e){if(this._getType(e)!==Im.null){const t=this._getOrReturnCtx(e);return qm(t,{code:Pm.invalid_type,expected:Im.null,received:t.parsedType}),Hm}return Vm(e.data)}}Dh.create=e=>new Dh({typeName:xg.ZodNull,...rh(e)});class Uh extends oh{constructor(){super(...arguments),this._any=!0}_parse(e){return Vm(e.data)}}Uh.create=e=>new Uh({typeName:xg.ZodAny,...rh(e)});class Bh extends oh{constructor(){super(...arguments),this._unknown=!0}_parse(e){return Vm(e.data)}}Bh.create=e=>new Bh({typeName:xg.ZodUnknown,...rh(e)});class Mh extends oh{_parse(e){const t=this._getOrReturnCtx(e);return qm(t,{code:Pm.invalid_type,expected:Im.never,received:t.parsedType}),Hm}}Mh.create=e=>new Mh({typeName:xg.ZodNever,...rh(e)});class zh extends oh{_parse(e){if(this._getType(e)!==Im.undefined){const t=this._getOrReturnCtx(e);return qm(t,{code:Pm.invalid_type,expected:Im.void,received:t.parsedType}),Hm}return Vm(e.data)}}zh.create=e=>new zh({typeName:xg.ZodVoid,...rh(e)});class qh extends oh{_parse(e){const{ctx:t,status:n}=this._processInputParams(e),i=this._def;if(t.parsedType!==Im.array)return qm(t,{code:Pm.invalid_type,expected:Im.array,received:t.parsedType}),Hm;if(null!==i.exactLength){const e=t.data.length>i.exactLength.value,a=t.data.length<i.exactLength.value;(e||a)&&(qm(t,{code:e?Pm.too_big:Pm.too_small,minimum:a?i.exactLength.value:void 0,maximum:e?i.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:i.exactLength.message}),n.dirty())}if(null!==i.minLength&&t.data.length<i.minLength.value&&(qm(t,{code:Pm.too_small,minimum:i.minLength.value,type:"array",inclusive:!0,exact:!1,message:i.minLength.message}),n.dirty()),null!==i.maxLength&&t.data.length>i.maxLength.value&&(qm(t,{code:Pm.too_big,maximum:i.maxLength.value,type:"array",inclusive:!0,exact:!1,message:i.maxLength.message}),n.dirty()),t.common.async)return Promise.all([...t.data].map((e,n)=>i.type._parseAsync(new ih(t,e,t.path,n)))).then(e=>Gm.mergeArray(n,e));const a=[...t.data].map((e,n)=>i.type._parseSync(new ih(t,e,t.path,n)));return Gm.mergeArray(n,a)}get element(){return this._def.type}min(e,t){return new qh({...this._def,minLength:{value:e,message:eh.toString(t)}})}max(e,t){return new qh({...this._def,maxLength:{value:e,message:eh.toString(t)}})}length(e,t){return new qh({...this._def,exactLength:{value:e,message:eh.toString(t)}})}nonempty(e){return this.min(1,e)}}function Gh(e){if(e instanceof Hh){const t={};for(const n in e.shape){const i=e.shape[n];t[n]=lg.create(Gh(i))}return new Hh({...e._def,shape:()=>t})}return e instanceof qh?new qh({...e._def,type:Gh(e.element)}):e instanceof lg?lg.create(Gh(e.unwrap())):e instanceof ug?ug.create(Gh(e.unwrap())):e instanceof Yh?Yh.create(e.items.map(e=>Gh(e))):e}qh.create=(e,t)=>new qh({type:e,minLength:null,maxLength:null,exactLength:null,typeName:xg.ZodArray,...rh(t)});class Hh extends oh{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(null!==this._cached)return this._cached;const e=this._def.shape(),t=Cm.objectKeys(e);return this._cached={shape:e,keys:t}}_parse(e){if(this._getType(e)!==Im.object){const t=this._getOrReturnCtx(e);return qm(t,{code:Pm.invalid_type,expected:Im.object,received:t.parsedType}),Hm}const{status:t,ctx:n}=this._processInputParams(e),{shape:i,keys:a}=this._getCached(),r=[];if(!(this._def.catchall instanceof Mh&&"strip"===this._def.unknownKeys))for(const e in n.data)a.includes(e)||r.push(e);const o=[];for(const e of a){const t=i[e],a=n.data[e];o.push({key:{status:"valid",value:e},value:t._parse(new ih(n,a,n.path,e)),alwaysSet:e in n.data})}if(this._def.catchall instanceof Mh){const e=this._def.unknownKeys;if("passthrough"===e)for(const e of r)o.push({key:{status:"valid",value:e},value:{status:"valid",value:n.data[e]}});else if("strict"===e)r.length>0&&(qm(n,{code:Pm.unrecognized_keys,keys:r}),t.dirty());else if("strip"!==e)throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else{const e=this._def.catchall;for(const t of r){const i=n.data[t];o.push({key:{status:"valid",value:t},value:e._parse(new ih(n,i,n.path,t)),alwaysSet:t in n.data})}}return n.common.async?Promise.resolve().then(async()=>{const e=[];for(const t of o){const n=await t.key,i=await t.value;e.push({key:n,value:i,alwaysSet:t.alwaysSet})}return e}).then(e=>Gm.mergeObjectSync(t,e)):Gm.mergeObjectSync(t,o)}get shape(){return this._def.shape()}strict(e){return eh.errToObj,new Hh({...this._def,unknownKeys:"strict",...void 0!==e?{errorMap:(t,n)=>{var i,a,r,o;const s=null!==(r=null===(a=(i=this._def).errorMap)||void 0===a?void 0:a.call(i,t,n).message)&&void 0!==r?r:n.defaultError;return"unrecognized_keys"===t.code?{message:null!==(o=eh.errToObj(e).message)&&void 0!==o?o:s}:{message:s}}}:{}})}strip(){return new Hh({...this._def,unknownKeys:"strip"})}passthrough(){return new Hh({...this._def,unknownKeys:"passthrough"})}extend(e){return new Hh({...this._def,shape:()=>({...this._def.shape(),...e})})}merge(e){return new Hh({unknownKeys:e._def.unknownKeys,catchall:e._def.catchall,shape:()=>({...this._def.shape(),...e._def.shape()}),typeName:xg.ZodObject})}setKey(e,t){return this.augment({[e]:t})}catchall(e){return new Hh({...this._def,catchall:e})}pick(e){const t={};return Cm.objectKeys(e).forEach(n=>{e[n]&&this.shape[n]&&(t[n]=this.shape[n])}),new Hh({...this._def,shape:()=>t})}omit(e){const t={};return Cm.objectKeys(this.shape).forEach(n=>{e[n]||(t[n]=this.shape[n])}),new Hh({...this._def,shape:()=>t})}deepPartial(){return Gh(this)}partial(e){const t={};return Cm.objectKeys(this.shape).forEach(n=>{const i=this.shape[n];e&&!e[n]?t[n]=i:t[n]=i.optional()}),new Hh({...this._def,shape:()=>t})}required(e){const t={};return Cm.objectKeys(this.shape).forEach(n=>{if(e&&!e[n])t[n]=this.shape[n];else{let e=this.shape[n];for(;e instanceof lg;)e=e._def.innerType;t[n]=e}}),new Hh({...this._def,shape:()=>t})}keyof(){return ag(Cm.objectKeys(this.shape))}}Hh.create=(e,t)=>new Hh({shape:()=>e,unknownKeys:"strip",catchall:Mh.create(),typeName:xg.ZodObject,...rh(t)}),Hh.strictCreate=(e,t)=>new Hh({shape:()=>e,unknownKeys:"strict",catchall:Mh.create(),typeName:xg.ZodObject,...rh(t)}),Hh.lazycreate=(e,t)=>new Hh({shape:e,unknownKeys:"strip",catchall:Mh.create(),typeName:xg.ZodObject,...rh(t)});class Wh extends oh{_parse(e){const{ctx:t}=this._processInputParams(e),n=this._def.options;if(t.common.async)return Promise.all(n.map(async e=>{const n={...t,common:{...t.common,issues:[]},parent:null};return{result:await e._parseAsync({data:t.data,path:t.path,parent:n}),ctx:n}})).then(function(e){for(const t of e)if("valid"===t.result.status)return t.result;for(const n of e)if("dirty"===n.result.status)return t.common.issues.push(...n.ctx.common.issues),n.result;const n=e.map(e=>new Dm(e.ctx.common.issues));return qm(t,{code:Pm.invalid_union,unionErrors:n}),Hm});{let e;const i=[];for(const a of n){const n={...t,common:{...t.common,issues:[]},parent:null},r=a._parseSync({data:t.data,path:t.path,parent:n});if("valid"===r.status)return r;"dirty"!==r.status||e||(e={result:r,ctx:n}),n.common.issues.length&&i.push(n.common.issues)}if(e)return t.common.issues.push(...e.ctx.common.issues),e.result;const a=i.map(e=>new Dm(e));return qm(t,{code:Pm.invalid_union,unionErrors:a}),Hm}}get options(){return this._def.options}}Wh.create=(e,t)=>new Wh({options:e,typeName:xg.ZodUnion,...rh(t)});const Vh=e=>e instanceof ng?Vh(e.schema):e instanceof cg?Vh(e.innerType()):e instanceof ig?[e.value]:e instanceof rg?e.options:e instanceof og?Cm.objectValues(e.enum):e instanceof pg?Vh(e._def.innerType):e instanceof Ph?[void 0]:e instanceof Dh?[null]:e instanceof lg?[void 0,...Vh(e.unwrap())]:e instanceof ug?[null,...Vh(e.unwrap())]:e instanceof hg||e instanceof vg?Vh(e.unwrap()):e instanceof dg?Vh(e._def.innerType):[];class Zh extends oh{_parse(e){const{ctx:t}=this._processInputParams(e);if(t.parsedType!==Im.object)return qm(t,{code:Pm.invalid_type,expected:Im.object,received:t.parsedType}),Hm;const n=this.discriminator,i=t.data[n],a=this.optionsMap.get(i);return a?t.common.async?a._parseAsync({data:t.data,path:t.path,parent:t}):a._parseSync({data:t.data,path:t.path,parent:t}):(qm(t,{code:Pm.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[n]}),Hm)}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(e,t,n){const i=new Map;for(const n of t){const t=Vh(n.shape[e]);if(!t.length)throw new Error(`A discriminator value for key \`${e}\` could not be extracted from all schema options`);for(const a of t){if(i.has(a))throw new Error(`Discriminator property ${String(e)} has duplicate value ${String(a)}`);i.set(a,n)}}return new Zh({typeName:xg.ZodDiscriminatedUnion,discriminator:e,options:t,optionsMap:i,...rh(n)})}}function Kh(e,t){const n=Lm(e),i=Lm(t);if(e===t)return{valid:!0,data:e};if(n===Im.object&&i===Im.object){const n=Cm.objectKeys(t),i=Cm.objectKeys(e).filter(e=>-1!==n.indexOf(e)),a={...e,...t};for(const n of i){const i=Kh(e[n],t[n]);if(!i.valid)return{valid:!1};a[n]=i.data}return{valid:!0,data:a}}if(n===Im.array&&i===Im.array){if(e.length!==t.length)return{valid:!1};const n=[];for(let i=0;i<e.length;i++){const a=Kh(e[i],t[i]);if(!a.valid)return{valid:!1};n.push(a.data)}return{valid:!0,data:n}}return n===Im.date&&i===Im.date&&+e===+t?{valid:!0,data:e}:{valid:!1}}class Xh extends oh{_parse(e){const{status:t,ctx:n}=this._processInputParams(e),i=(e,i)=>{if(Zm(e)||Zm(i))return Hm;const a=Kh(e.value,i.value);return a.valid?((Km(e)||Km(i))&&t.dirty(),{status:t.value,value:a.data}):(qm(n,{code:Pm.invalid_intersection_types}),Hm)};return n.common.async?Promise.all([this._def.left._parseAsync({data:n.data,path:n.path,parent:n}),this._def.right._parseAsync({data:n.data,path:n.path,parent:n})]).then(([e,t])=>i(e,t)):i(this._def.left._parseSync({data:n.data,path:n.path,parent:n}),this._def.right._parseSync({data:n.data,path:n.path,parent:n}))}}Xh.create=(e,t,n)=>new Xh({left:e,right:t,typeName:xg.ZodIntersection,...rh(n)});class Yh extends oh{_parse(e){const{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==Im.array)return qm(n,{code:Pm.invalid_type,expected:Im.array,received:n.parsedType}),Hm;if(n.data.length<this._def.items.length)return qm(n,{code:Pm.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),Hm;!this._def.rest&&n.data.length>this._def.items.length&&(qm(n,{code:Pm.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),t.dirty());const i=[...n.data].map((e,t)=>{const i=this._def.items[t]||this._def.rest;return i?i._parse(new ih(n,e,n.path,t)):null}).filter(e=>!!e);return n.common.async?Promise.all(i).then(e=>Gm.mergeArray(t,e)):Gm.mergeArray(t,i)}get items(){return this._def.items}rest(e){return new Yh({...this._def,rest:e})}}Yh.create=(e,t)=>{if(!Array.isArray(e))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new Yh({items:e,typeName:xg.ZodTuple,rest:null,...rh(t)})};class Jh extends oh{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){const{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==Im.object)return qm(n,{code:Pm.invalid_type,expected:Im.object,received:n.parsedType}),Hm;const i=[],a=this._def.keyType,r=this._def.valueType;for(const e in n.data)i.push({key:a._parse(new ih(n,e,n.path,e)),value:r._parse(new ih(n,n.data[e],n.path,e)),alwaysSet:e in n.data});return n.common.async?Gm.mergeObjectAsync(t,i):Gm.mergeObjectSync(t,i)}get element(){return this._def.valueType}static create(e,t,n){return new Jh(t instanceof oh?{keyType:e,valueType:t,typeName:xg.ZodRecord,...rh(n)}:{keyType:Th.create(),valueType:e,typeName:xg.ZodRecord,...rh(t)})}}class Qh extends oh{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){const{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==Im.map)return qm(n,{code:Pm.invalid_type,expected:Im.map,received:n.parsedType}),Hm;const i=this._def.keyType,a=this._def.valueType,r=[...n.data.entries()].map(([e,t],r)=>({key:i._parse(new ih(n,e,n.path,[r,"key"])),value:a._parse(new ih(n,t,n.path,[r,"value"]))}));if(n.common.async){const e=new Map;return Promise.resolve().then(async()=>{for(const n of r){const i=await n.key,a=await n.value;if("aborted"===i.status||"aborted"===a.status)return Hm;"dirty"!==i.status&&"dirty"!==a.status||t.dirty(),e.set(i.value,a.value)}return{status:t.value,value:e}})}{const e=new Map;for(const n of r){const i=n.key,a=n.value;if("aborted"===i.status||"aborted"===a.status)return Hm;"dirty"!==i.status&&"dirty"!==a.status||t.dirty(),e.set(i.value,a.value)}return{status:t.value,value:e}}}}Qh.create=(e,t,n)=>new Qh({valueType:t,keyType:e,typeName:xg.ZodMap,...rh(n)});class eg extends oh{_parse(e){const{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==Im.set)return qm(n,{code:Pm.invalid_type,expected:Im.set,received:n.parsedType}),Hm;const i=this._def;null!==i.minSize&&n.data.size<i.minSize.value&&(qm(n,{code:Pm.too_small,minimum:i.minSize.value,type:"set",inclusive:!0,exact:!1,message:i.minSize.message}),t.dirty()),null!==i.maxSize&&n.data.size>i.maxSize.value&&(qm(n,{code:Pm.too_big,maximum:i.maxSize.value,type:"set",inclusive:!0,exact:!1,message:i.maxSize.message}),t.dirty());const a=this._def.valueType;function r(e){const n=new Set;for(const i of e){if("aborted"===i.status)return Hm;"dirty"===i.status&&t.dirty(),n.add(i.value)}return{status:t.value,value:n}}const o=[...n.data.values()].map((e,t)=>a._parse(new ih(n,e,n.path,t)));return n.common.async?Promise.all(o).then(e=>r(e)):r(o)}min(e,t){return new eg({...this._def,minSize:{value:e,message:eh.toString(t)}})}max(e,t){return new eg({...this._def,maxSize:{value:e,message:eh.toString(t)}})}size(e,t){return this.min(e,t).max(e,t)}nonempty(e){return this.min(1,e)}}eg.create=(e,t)=>new eg({valueType:e,minSize:null,maxSize:null,typeName:xg.ZodSet,...rh(t)});class tg extends oh{constructor(){super(...arguments),this.validate=this.implement}_parse(e){const{ctx:t}=this._processInputParams(e);if(t.parsedType!==Im.function)return qm(t,{code:Pm.invalid_type,expected:Im.function,received:t.parsedType}),Hm;function n(e,n){return zm({data:e,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,Mm(),Um].filter(e=>!!e),issueData:{code:Pm.invalid_arguments,argumentsError:n}})}function i(e,n){return zm({data:e,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,Mm(),Um].filter(e=>!!e),issueData:{code:Pm.invalid_return_type,returnTypeError:n}})}const a={errorMap:t.common.contextualErrorMap},r=t.data;if(this._def.returns instanceof sg){const e=this;return Vm(async function(...t){const o=new Dm([]),s=await e._def.args.parseAsync(t,a).catch(e=>{throw o.addIssue(n(t,e)),o}),c=await Reflect.apply(r,this,s),l=await e._def.returns._def.type.parseAsync(c,a).catch(e=>{throw o.addIssue(i(c,e)),o});return l})}{const e=this;return Vm(function(...t){const o=e._def.args.safeParse(t,a);if(!o.success)throw new Dm([n(t,o.error)]);const s=Reflect.apply(r,this,o.data),c=e._def.returns.safeParse(s,a);if(!c.success)throw new Dm([i(s,c.error)]);return c.data})}}parameters(){return this._def.args}returnType(){return this._def.returns}args(...e){return new tg({...this._def,args:Yh.create(e).rest(Bh.create())})}returns(e){return new tg({...this._def,returns:e})}implement(e){return this.parse(e)}strictImplement(e){return this.parse(e)}static create(e,t,n){return new tg({args:e||Yh.create([]).rest(Bh.create()),returns:t||Bh.create(),typeName:xg.ZodFunction,...rh(n)})}}class ng extends oh{get schema(){return this._def.getter()}_parse(e){const{ctx:t}=this._processInputParams(e);return this._def.getter()._parse({data:t.data,path:t.path,parent:t})}}ng.create=(e,t)=>new ng({getter:e,typeName:xg.ZodLazy,...rh(t)});class ig extends oh{_parse(e){if(e.data!==this._def.value){const t=this._getOrReturnCtx(e);return qm(t,{received:t.data,code:Pm.invalid_literal,expected:this._def.value}),Hm}return{status:"valid",value:e.data}}get value(){return this._def.value}}function ag(e,t){return new rg({values:e,typeName:xg.ZodEnum,...rh(t)})}ig.create=(e,t)=>new ig({value:e,typeName:xg.ZodLiteral,...rh(t)});class rg extends oh{constructor(){super(...arguments),th.set(this,void 0)}_parse(e){if("string"!=typeof e.data){const t=this._getOrReturnCtx(e),n=this._def.values;return qm(t,{expected:Cm.joinValues(n),received:t.parsedType,code:Pm.invalid_type}),Hm}if(Jm(this,th,"f")||Qm(this,th,new Set(this._def.values),"f"),!Jm(this,th,"f").has(e.data)){const t=this._getOrReturnCtx(e),n=this._def.values;return qm(t,{received:t.data,code:Pm.invalid_enum_value,options:n}),Hm}return Vm(e.data)}get options(){return this._def.values}get enum(){const e={};for(const t of this._def.values)e[t]=t;return e}get Values(){const e={};for(const t of this._def.values)e[t]=t;return e}get Enum(){const e={};for(const t of this._def.values)e[t]=t;return e}extract(e,t=this._def){return rg.create(e,{...this._def,...t})}exclude(e,t=this._def){return rg.create(this.options.filter(t=>!e.includes(t)),{...this._def,...t})}}th=new WeakMap,rg.create=ag;class og extends oh{constructor(){super(...arguments),nh.set(this,void 0)}_parse(e){const t=Cm.getValidEnumValues(this._def.values),n=this._getOrReturnCtx(e);if(n.parsedType!==Im.string&&n.parsedType!==Im.number){const e=Cm.objectValues(t);return qm(n,{expected:Cm.joinValues(e),received:n.parsedType,code:Pm.invalid_type}),Hm}if(Jm(this,nh,"f")||Qm(this,nh,new Set(Cm.getValidEnumValues(this._def.values)),"f"),!Jm(this,nh,"f").has(e.data)){const e=Cm.objectValues(t);return qm(n,{received:n.data,code:Pm.invalid_enum_value,options:e}),Hm}return Vm(e.data)}get enum(){return this._def.values}}nh=new WeakMap,og.create=(e,t)=>new og({values:e,typeName:xg.ZodNativeEnum,...rh(t)});class sg extends oh{unwrap(){return this._def.type}_parse(e){const{ctx:t}=this._processInputParams(e);if(t.parsedType!==Im.promise&&!1===t.common.async)return qm(t,{code:Pm.invalid_type,expected:Im.promise,received:t.parsedType}),Hm;const n=t.parsedType===Im.promise?t.data:Promise.resolve(t.data);return Vm(n.then(e=>this._def.type.parseAsync(e,{path:t.path,errorMap:t.common.contextualErrorMap})))}}sg.create=(e,t)=>new sg({type:e,typeName:xg.ZodPromise,...rh(t)});class cg extends oh{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===xg.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(e){const{status:t,ctx:n}=this._processInputParams(e),i=this._def.effect||null,a={addIssue:e=>{qm(n,e),e.fatal?t.abort():t.dirty()},get path(){return n.path}};if(a.addIssue=a.addIssue.bind(a),"preprocess"===i.type){const e=i.transform(n.data,a);if(n.common.async)return Promise.resolve(e).then(async e=>{if("aborted"===t.value)return Hm;const i=await this._def.schema._parseAsync({data:e,path:n.path,parent:n});return"aborted"===i.status?Hm:"dirty"===i.status||"dirty"===t.value?Wm(i.value):i});{if("aborted"===t.value)return Hm;const i=this._def.schema._parseSync({data:e,path:n.path,parent:n});return"aborted"===i.status?Hm:"dirty"===i.status||"dirty"===t.value?Wm(i.value):i}}if("refinement"===i.type){const e=e=>{const t=i.refinement(e,a);if(n.common.async)return Promise.resolve(t);if(t instanceof Promise)throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return e};if(!1===n.common.async){const i=this._def.schema._parseSync({data:n.data,path:n.path,parent:n});return"aborted"===i.status?Hm:("dirty"===i.status&&t.dirty(),e(i.value),{status:t.value,value:i.value})}return this._def.schema._parseAsync({data:n.data,path:n.path,parent:n}).then(n=>"aborted"===n.status?Hm:("dirty"===n.status&&t.dirty(),e(n.value).then(()=>({status:t.value,value:n.value}))))}if("transform"===i.type){if(!1===n.common.async){const e=this._def.schema._parseSync({data:n.data,path:n.path,parent:n});if(!Xm(e))return e;const r=i.transform(e.value,a);if(r instanceof Promise)throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:t.value,value:r}}return this._def.schema._parseAsync({data:n.data,path:n.path,parent:n}).then(e=>Xm(e)?Promise.resolve(i.transform(e.value,a)).then(e=>({status:t.value,value:e})):e)}Cm.assertNever(i)}}cg.create=(e,t,n)=>new cg({schema:e,typeName:xg.ZodEffects,effect:t,...rh(n)}),cg.createWithPreprocess=(e,t,n)=>new cg({schema:t,effect:{type:"preprocess",transform:e},typeName:xg.ZodEffects,...rh(n)});class lg extends oh{_parse(e){return this._getType(e)===Im.undefined?Vm(void 0):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}lg.create=(e,t)=>new lg({innerType:e,typeName:xg.ZodOptional,...rh(t)});class ug extends oh{_parse(e){return this._getType(e)===Im.null?Vm(null):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}ug.create=(e,t)=>new ug({innerType:e,typeName:xg.ZodNullable,...rh(t)});class pg extends oh{_parse(e){const{ctx:t}=this._processInputParams(e);let n=t.data;return t.parsedType===Im.undefined&&(n=this._def.defaultValue()),this._def.innerType._parse({data:n,path:t.path,parent:t})}removeDefault(){return this._def.innerType}}pg.create=(e,t)=>new pg({innerType:e,typeName:xg.ZodDefault,defaultValue:"function"==typeof t.default?t.default:()=>t.default,...rh(t)});class dg extends oh{_parse(e){const{ctx:t}=this._processInputParams(e),n={...t,common:{...t.common,issues:[]}},i=this._def.innerType._parse({data:n.data,path:n.path,parent:{...n}});return Ym(i)?i.then(e=>({status:"valid",value:"valid"===e.status?e.value:this._def.catchValue({get error(){return new Dm(n.common.issues)},input:n.data})})):{status:"valid",value:"valid"===i.status?i.value:this._def.catchValue({get error(){return new Dm(n.common.issues)},input:n.data})}}removeCatch(){return this._def.innerType}}dg.create=(e,t)=>new dg({innerType:e,typeName:xg.ZodCatch,catchValue:"function"==typeof t.catch?t.catch:()=>t.catch,...rh(t)});class fg extends oh{_parse(e){if(this._getType(e)!==Im.nan){const t=this._getOrReturnCtx(e);return qm(t,{code:Pm.invalid_type,expected:Im.nan,received:t.parsedType}),Hm}return{status:"valid",value:e.data}}}fg.create=e=>new fg({typeName:xg.ZodNaN,...rh(e)});const mg=Symbol("zod_brand");class hg extends oh{_parse(e){const{ctx:t}=this._processInputParams(e),n=t.data;return this._def.type._parse({data:n,path:t.path,parent:t})}unwrap(){return this._def.type}}class gg extends oh{_parse(e){const{status:t,ctx:n}=this._processInputParams(e);if(n.common.async){return(async()=>{const e=await this._def.in._parseAsync({data:n.data,path:n.path,parent:n});return"aborted"===e.status?Hm:"dirty"===e.status?(t.dirty(),Wm(e.value)):this._def.out._parseAsync({data:e.value,path:n.path,parent:n})})()}{const e=this._def.in._parseSync({data:n.data,path:n.path,parent:n});return"aborted"===e.status?Hm:"dirty"===e.status?(t.dirty(),{status:"dirty",value:e.value}):this._def.out._parseSync({data:e.value,path:n.path,parent:n})}}static create(e,t){return new gg({in:e,out:t,typeName:xg.ZodPipeline})}}class vg extends oh{_parse(e){const t=this._def.innerType._parse(e),n=e=>(Xm(e)&&(e.value=Object.freeze(e.value)),e);return Ym(t)?t.then(e=>n(e)):n(t)}unwrap(){return this._def.innerType}}function bg(e,t={},n){return e?Uh.create().superRefine((i,a)=>{var r,o;if(!e(i)){const e="function"==typeof t?t(i):"string"==typeof t?{message:t}:t,s=null===(o=null!==(r=e.fatal)&&void 0!==r?r:n)||void 0===o||o,c="string"==typeof e?{message:e}:e;a.addIssue({code:"custom",...c,fatal:s})}}):Uh.create()}vg.create=(e,t)=>new vg({innerType:e,typeName:xg.ZodReadonly,...rh(t)});const yg={object:Hh.lazycreate};var xg;!function(e){e.ZodString="ZodString",e.ZodNumber="ZodNumber",e.ZodNaN="ZodNaN",e.ZodBigInt="ZodBigInt",e.ZodBoolean="ZodBoolean",e.ZodDate="ZodDate",e.ZodSymbol="ZodSymbol",e.ZodUndefined="ZodUndefined",e.ZodNull="ZodNull",e.ZodAny="ZodAny",e.ZodUnknown="ZodUnknown",e.ZodNever="ZodNever",e.ZodVoid="ZodVoid",e.ZodArray="ZodArray",e.ZodObject="ZodObject",e.ZodUnion="ZodUnion",e.ZodDiscriminatedUnion="ZodDiscriminatedUnion",e.ZodIntersection="ZodIntersection",e.ZodTuple="ZodTuple",e.ZodRecord="ZodRecord",e.ZodMap="ZodMap",e.ZodSet="ZodSet",e.ZodFunction="ZodFunction",e.ZodLazy="ZodLazy",e.ZodLiteral="ZodLiteral",e.ZodEnum="ZodEnum",e.ZodEffects="ZodEffects",e.ZodNativeEnum="ZodNativeEnum",e.ZodOptional="ZodOptional",e.ZodNullable="ZodNullable",e.ZodDefault="ZodDefault",e.ZodCatch="ZodCatch",e.ZodPromise="ZodPromise",e.ZodBranded="ZodBranded",e.ZodPipeline="ZodPipeline",e.ZodReadonly="ZodReadonly"}(xg||(xg={}));const _g=Th.create,wg=Nh.create,Og=fg.create,Ag=$h.create,Rg=Fh.create,kg=Ih.create,Sg=Lh.create,Eg=Ph.create,jg=Dh.create,Tg=Uh.create,Cg=Bh.create,Ng=Mh.create,$g=zh.create,Fg=qh.create,Ig=Hh.create,Lg=Hh.strictCreate,Pg=Wh.create,Dg=Zh.create,Ug=Xh.create,Bg=Yh.create,Mg=Jh.create,zg=Qh.create,qg=eg.create,Gg=tg.create,Hg=ng.create,Wg=ig.create,Vg=rg.create,Zg=og.create,Kg=sg.create,Xg=cg.create,Yg=lg.create,Jg=ug.create,Qg=cg.createWithPreprocess,ev=gg.create,tv={string:e=>Th.create({...e,coerce:!0}),number:e=>Nh.create({...e,coerce:!0}),boolean:e=>Fh.create({...e,coerce:!0}),bigint:e=>$h.create({...e,coerce:!0}),date:e=>Ih.create({...e,coerce:!0})},nv=Hm;var iv=Object.freeze({__proto__:null,defaultErrorMap:Um,setErrorMap:function(e){Bm=e},getErrorMap:Mm,makeIssue:zm,EMPTY_PATH:[],addIssueToContext:qm,ParseStatus:Gm,INVALID:Hm,DIRTY:Wm,OK:Vm,isAborted:Zm,isDirty:Km,isValid:Xm,isAsync:Ym,get util(){return Cm},get objectUtil(){return Nm},ZodParsedType:Im,getParsedType:Lm,ZodType:oh,datetimeRegex:kh,ZodString:Th,ZodNumber:Nh,ZodBigInt:$h,ZodBoolean:Fh,ZodDate:Ih,ZodSymbol:Lh,ZodUndefined:Ph,ZodNull:Dh,ZodAny:Uh,ZodUnknown:Bh,ZodNever:Mh,ZodVoid:zh,ZodArray:qh,ZodObject:Hh,ZodUnion:Wh,ZodDiscriminatedUnion:Zh,ZodIntersection:Xh,ZodTuple:Yh,ZodRecord:Jh,ZodMap:Qh,ZodSet:eg,ZodFunction:tg,ZodLazy:ng,ZodLiteral:ig,ZodEnum:rg,ZodNativeEnum:og,ZodPromise:sg,ZodEffects:cg,ZodTransformer:cg,ZodOptional:lg,ZodNullable:ug,ZodDefault:pg,ZodCatch:dg,ZodNaN:fg,BRAND:mg,ZodBranded:hg,ZodPipeline:gg,ZodReadonly:vg,custom:bg,Schema:oh,ZodSchema:oh,late:yg,get ZodFirstPartyTypeKind(){return xg},coerce:tv,any:Tg,array:Fg,bigint:Ag,boolean:Rg,date:kg,discriminatedUnion:Dg,effect:Xg,enum:Vg,function:Gg,instanceof:(e,t={message:`Input not instance of ${e.name}`})=>bg(t=>t instanceof e,t),intersection:Ug,lazy:Hg,literal:Wg,map:zg,nan:Og,nativeEnum:Zg,never:Ng,null:jg,nullable:Jg,number:wg,object:Ig,oboolean:()=>Rg().optional(),onumber:()=>wg().optional(),optional:Yg,ostring:()=>_g().optional(),pipeline:ev,preprocess:Qg,promise:Kg,record:Mg,set:qg,strictObject:Lg,string:_g,symbol:Sg,transformer:Xg,tuple:Bg,undefined:Eg,union:Pg,unknown:Cg,void:$g,NEVER:nv,ZodIssueCode:Pm,quotelessJson:e=>JSON.stringify(e,null,2).replace(/"([^"]+)":/g,"$1:"),ZodError:Dm}),av=["interface","display","layout","module","panel","theme"],rv=["hook","endpoint"],ov=["operation"],sv="directus:extension",cv=iv.object({app:iv.string(),api:iv.string()}),lv=iv.object({request:iv.optional(iv.object({urls:iv.array(iv.string()),methods:iv.array(iv.union([iv.literal("GET"),iv.literal("POST"),iv.literal("PATCH"),iv.literal("PUT"),iv.literal("DELETE")]))})),log:iv.optional(iv.object({})),sleep:iv.optional(iv.object({}))}),uv=iv.optional(iv.object({enabled:iv.boolean(),requestedScopes:lv})),pv=iv.union([iv.object({type:iv.enum(rv),name:iv.string(),source:iv.string()}),iv.object({type:iv.enum(av),name:iv.string(),source:iv.string()}),iv.object({type:iv.enum(ov),name:iv.string(),source:cv})]),dv=iv.object({host:iv.string(),hidden:iv.boolean().optional()}),fv=iv.object({type:iv.enum(av),path:iv.string(),source:iv.string()}),mv=iv.object({type:iv.enum(rv),path:iv.string(),source:iv.string(),sandbox:uv}),hv=iv.object({type:iv.enum(ov),path:cv,source:cv,sandbox:uv}),gv=iv.object({type:iv.literal("bundle"),partial:iv.boolean().optional(),path:cv,entries:iv.array(pv)});iv.array(pv);var vv=dv.and(iv.union([fv,mv,hv,gv]));iv.object({name:iv.string(),version:iv.string(),type:iv.union([iv.literal("module"),iv.literal("commonjs")]).optional(),description:iv.string().optional(),icon:iv.string().optional(),dependencies:iv.record(iv.string()).optional(),devDependencies:iv.record(iv.string()).optional(),[sv]:vv});"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self&&self;
28
+ /*!
29
+ * pinia v2.3.1
30
+ * (c) 2025 Eduardo San Martin Morote
31
+ * @license MIT
32
+ */
33
+ let bv;const yv=e=>bv=e,xv=Symbol();function _v(e){return e&&"object"==typeof e&&"[object Object]"===Object.prototype.toString.call(e)&&"function"!=typeof e.toJSON}var wv;!function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"}(wv||(wv={}));const Ov="undefined"!=typeof window,Av=()=>{};function Rv(e,t,n,i=Av){e.push(t);const a=()=>{const n=e.indexOf(t);n>-1&&(e.splice(n,1),i())};var r;return!n&&M()&&(r=a,D&&D.cleanups.push(r)),a}function kv(e,...t){e.slice().forEach(e=>{e(...t)})}const Sv=e=>e(),Ev=Symbol(),jv=Symbol();function Tv(e,t){e instanceof Map&&t instanceof Map?t.forEach((t,n)=>e.set(n,t)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const i=t[n],a=e[n];_v(a)&&_v(i)&&e.hasOwnProperty(n)&&!it(i)&&!Ke(i)?e[n]=Tv(a,i):e[n]=i}return e}const Cv=Symbol();function Nv(e){return!_v(e)||!e.hasOwnProperty(Cv)}const{assign:$v}=Object;function Fv(e){return!(!it(e)||!e.effect)}function Iv(e,t,n={},i,a,r){let o;const s=$v({actions:{}},n),c={deep:!0};let l,u,p,d=[],f=[];const m=i.state.value[e];r||m||(i.state.value[e]={});const h=at({});let g;function v(t){let n;l=u=!1,"function"==typeof t?(t(i.state.value[e]),n={type:wv.patchFunction,storeId:e,events:p}):(Tv(i.state.value[e],t),n={type:wv.patchObject,payload:t,storeId:e,events:p});const a=g=Symbol();(function(e){const t=St||kt;return e?t.then(this?e.bind(this):e):t})().then(()=>{g===a&&(l=!0)}),u=!0,kv(d,n,i.state.value[e])}const b=r?function(){const{state:e}=n,t=e?e():{};this.$patch(e=>{$v(e,t)})}:Av;const y=(t,n="")=>{if(Ev in t)return t[jv]=n,t;const a=function(){yv(i);const n=Array.from(arguments),r=[],o=[];let s;kv(f,{args:n,name:a[jv],store:w,after:function(e){r.push(e)},onError:function(e){o.push(e)}});try{s=t.apply(this&&this.$id===e?this:w,n)}catch(e){throw kv(o,e),e}return s instanceof Promise?s.then(e=>(kv(r,e),e)).catch(e=>(kv(o,e),Promise.reject(e))):(kv(r,s),s)};return a[Ev]=!0,a[jv]=n,a},x=et({actions:{},getters:{},state:[],hotState:h}),_={_p:i,$id:e,$onAction:Rv.bind(null,f),$patch:v,$reset:b,$subscribe(t,n={}){const a=Rv(d,t,n.detached,()=>r()),r=o.run(()=>Ut(()=>i.state.value[e],i=>{("sync"===n.flush?u:l)&&t({storeId:e,type:wv.direct,events:p},i)},$v({},c,n)));return a},$dispose:function(){o.stop(),d=[],f=[],i._s.delete(e)}},w=We("undefined"!=typeof __VUE_PROD_DEVTOOLS__&&__VUE_PROD_DEVTOOLS__&&Ov?$v({_hmrPayload:x,_customProperties:et(new Set)},_):_);i._s.set(e,w);const O=(i._a&&i._a.runWithContext||Sv)(()=>i._e.run(()=>{return(o=new B(e)).run(()=>t({action:y}));var e}));for(const t in O){const n=O[t];if(it(n)&&!Fv(n)||Ke(n))r||(m&&Nv(n)&&(it(n)?n.value=m[t]:Tv(n,m[t])),i.state.value[e][t]=n);else if("function"==typeof n){const e=y(n,t);O[t]=e,s.actions[t]=n}}if($v(w,O),$v(Qe(w),O),Object.defineProperty(w,"$state",{get:()=>i.state.value[e],set:e=>{v(t=>{$v(t,e)})}}),"undefined"!=typeof __VUE_PROD_DEVTOOLS__&&__VUE_PROD_DEVTOOLS__&&Ov){const e={writable:!0,configurable:!0,enumerable:!1};["_p","_hmrPayload","_getters","_customProperties"].forEach(t=>{Object.defineProperty(w,t,$v({value:w[t]},e))})}return i._p.forEach(e=>{if("undefined"!=typeof __VUE_PROD_DEVTOOLS__&&__VUE_PROD_DEVTOOLS__&&Ov){const t=o.run(()=>e({store:w,app:i._a,pinia:i,options:s}));Object.keys(t||{}).forEach(e=>w._customProperties.add(e)),$v(w,t)}else $v(w,o.run(()=>e({store:w,app:i._a,pinia:i,options:s})))}),m&&r&&n.hydrate&&n.hydrate(w.$state,m),l=!0,u=!0,w}
34
+ /*! #__NO_SIDE_EFFECTS__ */function Lv(e){return Array.isArray(e)}function Pv(e){return"bigint"==typeof e}function Dv(e){return"boolean"==typeof e}function Uv(e){return e instanceof globalThis.Date}function Bv(e){return"number"==typeof e}function Mv(e){return"object"==typeof e&&null!==e}function zv(e){return e instanceof globalThis.RegExp}function qv(e){return"string"==typeof e}function Gv(e){return e instanceof globalThis.Uint8Array}function Hv(e){return void 0===e}function Wv(e){return Lv(e)?function(e){return e.map(e=>Wv(e))}(e):Uv(e)?function(e){return new Date(e.getTime())}(e):Gv(e)?function(e){return new Uint8Array(e)}(e):zv(e)?function(e){return new RegExp(e.source,e.flags)}(e):Mv(e)?function(e){const t={};for(const n of Object.getOwnPropertyNames(e))t[n]=Wv(e[n]);for(const n of Object.getOwnPropertySymbols(e))t[n]=Wv(e[n]);return t}(e):e}function Vv(e){return Wv(e)}var Zv;function Kv(e){return Lv(e)?function(e){return globalThis.Object.freeze(e).map(e=>Kv(e))}(e):Uv(e)||Gv(e)||zv(e)?e:Mv(e)?function(e){const t={};for(const n of Object.getOwnPropertyNames(e))t[n]=Kv(e[n]);for(const n of Object.getOwnPropertySymbols(e))t[n]=Kv(e[n]);return globalThis.Object.freeze(t)}(e):e}function Xv(e,t){const n=void 0!==t?{...t,...e}:e;switch(Zv.InstanceMode){case"freeze":return Kv(n);case"clone":return Vv(n);default:return n}}!function(e){function t(t){const n=function(e){return null!==e&&"object"==typeof e}(t);return e.AllowArrayObject?n:n&&!function(e){return Array.isArray(e)&&!ArrayBuffer.isView(e)}(t)}e.InstanceMode="default",e.ExactOptionalPropertyTypes=!1,e.AllowArrayObject=!1,e.AllowNaN=!1,e.AllowNullVoid=!1,e.IsExactOptionalProperty=function(t,n){return e.ExactOptionalPropertyTypes?n in t:void 0!==t[n]},e.IsObjectLike=t,e.IsRecordLike=function(e){return t(e)&&!(e instanceof Date)&&!(e instanceof Uint8Array)},e.IsNumberLike=function(t){return e.AllowNaN?function(e){return"number"==typeof e}(t):Number.isFinite(t)},e.IsVoidLike=function(t){const n=function(e){return void 0===e}(t);return e.AllowNullVoid?n||null===t:n}}(Zv||(Zv={}));class Yv extends Error{constructor(e){super(e)}}const Jv=Symbol.for("TypeBox.Transform"),Qv=Symbol.for("TypeBox.Readonly"),eb=Symbol.for("TypeBox.Optional"),tb=Symbol.for("TypeBox.Hint"),nb=Symbol.for("TypeBox.Kind");function ib(e){return Mv(e)&&"Readonly"===e[Qv]}function ab(e){return Mv(e)&&"Optional"===e[eb]}function rb(e){return gb(e,"Any")}function ob(e){return gb(e,"Array")}function sb(e){return gb(e,"AsyncIterator")}function cb(e){return gb(e,"BigInt")}function lb(e){return gb(e,"Boolean")}function ub(e){return gb(e,"Computed")}function pb(e){return gb(e,"Constructor")}function db(e){return gb(e,"Function")}function fb(e){return gb(e,"Integer")}function mb(e){return gb(e,"Intersect")}function hb(e){return gb(e,"Iterator")}function gb(e,t){return Mv(e)&&nb in e&&e[nb]===t}function vb(e){return Dv(e)||Bv(e)||qv(e)}function bb(e){return gb(e,"Literal")}function yb(e){return gb(e,"MappedKey")}function xb(e){return gb(e,"MappedResult")}function _b(e){return gb(e,"Never")}function wb(e){return gb(e,"Number")}function Ob(e){return gb(e,"Object")}function Ab(e){return gb(e,"Promise")}function Rb(e){return gb(e,"Record")}function kb(e){return gb(e,"Ref")}function Sb(e){return gb(e,"RegExp")}function Eb(e){return gb(e,"String")}function jb(e){return gb(e,"TemplateLiteral")}function Tb(e){return Mv(e)&&Jv in e}function Cb(e){return gb(e,"Tuple")}function Nb(e){return gb(e,"Union")}function $b(e){return rb(e)||ob(e)||lb(e)||cb(e)||sb(e)||ub(e)||pb(e)||function(e){return gb(e,"Date")}(e)||db(e)||fb(e)||mb(e)||hb(e)||bb(e)||yb(e)||xb(e)||_b(e)||function(e){return gb(e,"Not")}(e)||function(e){return gb(e,"Null")}(e)||wb(e)||Ob(e)||Ab(e)||Rb(e)||kb(e)||Sb(e)||Eb(e)||function(e){return gb(e,"Symbol")}(e)||jb(e)||function(e){return gb(e,"This")}(e)||Cb(e)||function(e){return gb(e,"Undefined")}(e)||Nb(e)||function(e){return gb(e,"Uint8Array")}(e)||function(e){return gb(e,"Unknown")}(e)||function(e){return gb(e,"Unsafe")}(e)||function(e){return gb(e,"Void")}(e)||function(e){return Mv(e)&&nb in e&&qv(e[nb])}(e)}const Fb=["Any","Array","AsyncIterator","BigInt","Boolean","Computed","Constructor","Date","Enum","Function","Integer","Intersect","Iterator","Literal","MappedKey","MappedResult","Not","Null","Number","Object","Promise","Record","Ref","RegExp","String","Symbol","TemplateLiteral","This","Tuple","Undefined","Union","Uint8Array","Unknown","Void"];function Ib(e){try{return new RegExp(e),!0}catch{return!1}}function Lb(e){if(!qv(e))return!1;for(let t=0;t<e.length;t++){const n=e.charCodeAt(t);if(n>=7&&n<=13||27===n||127===n)return!1}return!0}function Pb(e){return Bb(e)||Ay(e)}function Db(e){return Hv(e)||Pv(e)}function Ub(e){return Hv(e)||Bv(e)}function Bb(e){return Hv(e)||Dv(e)}function Mb(e){return Hv(e)||qv(e)}function zb(e){return Hv(e)||Ay(e)}function qb(e){return Mv(e)&&"Optional"===e[eb]}function Gb(e){return ny(e,"Any")&&Mb(e.$id)}function Hb(e){return ny(e,"Array")&&"array"===e.type&&Mb(e.$id)&&Ay(e.items)&&Ub(e.minItems)&&Ub(e.maxItems)&&Bb(e.uniqueItems)&&zb(e.contains)&&Ub(e.minContains)&&Ub(e.maxContains)}function Wb(e){return ny(e,"AsyncIterator")&&"AsyncIterator"===e.type&&Mb(e.$id)&&Ay(e.items)}function Vb(e){return ny(e,"BigInt")&&"bigint"===e.type&&Mb(e.$id)&&Db(e.exclusiveMaximum)&&Db(e.exclusiveMinimum)&&Db(e.maximum)&&Db(e.minimum)&&Db(e.multipleOf)}function Zb(e){return ny(e,"Boolean")&&"boolean"===e.type&&Mb(e.$id)}function Kb(e){return ny(e,"Constructor")&&"Constructor"===e.type&&Mb(e.$id)&&Lv(e.parameters)&&e.parameters.every(e=>Ay(e))&&Ay(e.returns)}function Xb(e){return ny(e,"Date")&&"Date"===e.type&&Mb(e.$id)&&Ub(e.exclusiveMaximumTimestamp)&&Ub(e.exclusiveMinimumTimestamp)&&Ub(e.maximumTimestamp)&&Ub(e.minimumTimestamp)&&Ub(e.multipleOfTimestamp)}function Yb(e){return ny(e,"Function")&&"Function"===e.type&&Mb(e.$id)&&Lv(e.parameters)&&e.parameters.every(e=>Ay(e))&&Ay(e.returns)}function Jb(e){return ny(e,"Integer")&&"integer"===e.type&&Mb(e.$id)&&Ub(e.exclusiveMaximum)&&Ub(e.exclusiveMinimum)&&Ub(e.maximum)&&Ub(e.minimum)&&Ub(e.multipleOf)}function Qb(e){return Mv(e)&&Object.entries(e).every(([e,t])=>Lb(e)&&Ay(t))}function ey(e){return ny(e,"Intersect")&&(!qv(e.type)||"object"===e.type)&&Lv(e.allOf)&&e.allOf.every(e=>Ay(e)&&!function(e){return Mv(e)&&Jv in e}(e))&&Mb(e.type)&&(Bb(e.unevaluatedProperties)||zb(e.unevaluatedProperties))&&Mb(e.$id)}function ty(e){return ny(e,"Iterator")&&"Iterator"===e.type&&Mb(e.$id)&&Ay(e.items)}function ny(e,t){return Mv(e)&&nb in e&&e[nb]===t}function iy(e){return oy(e)&&qv(e.const)}function ay(e){return oy(e)&&Bv(e.const)}function ry(e){return oy(e)&&Dv(e.const)}function oy(e){return ny(e,"Literal")&&Mb(e.$id)&&function(e){return Dv(e)||Bv(e)||qv(e)}(e.const)}function sy(e){return ny(e,"Never")&&Mv(e.not)&&0===Object.getOwnPropertyNames(e.not).length}function cy(e){return ny(e,"Not")&&Ay(e.not)}function ly(e){return ny(e,"Null")&&"null"===e.type&&Mb(e.$id)}function uy(e){return ny(e,"Number")&&"number"===e.type&&Mb(e.$id)&&Ub(e.exclusiveMaximum)&&Ub(e.exclusiveMinimum)&&Ub(e.maximum)&&Ub(e.minimum)&&Ub(e.multipleOf)}function py(e){return ny(e,"Object")&&"object"===e.type&&Mb(e.$id)&&Qb(e.properties)&&Pb(e.additionalProperties)&&Ub(e.minProperties)&&Ub(e.maxProperties)}function dy(e){return ny(e,"Promise")&&"Promise"===e.type&&Mb(e.$id)&&Ay(e.item)}function fy(e){return ny(e,"Record")&&"object"===e.type&&Mb(e.$id)&&Pb(e.additionalProperties)&&Mv(e.patternProperties)&&(e=>{const t=Object.getOwnPropertyNames(e.patternProperties);return 1===t.length&&Ib(t[0])&&Mv(e.patternProperties)&&Ay(e.patternProperties[t[0]])})(e)}function my(e){return ny(e,"RegExp")&&Mb(e.$id)&&qv(e.source)&&qv(e.flags)&&Ub(e.maxLength)&&Ub(e.minLength)}function hy(e){return ny(e,"String")&&"string"===e.type&&Mb(e.$id)&&Ub(e.minLength)&&Ub(e.maxLength)&&function(e){return Hv(e)||qv(e)&&Lb(e)&&Ib(e)}(e.pattern)&&function(e){return Hv(e)||qv(e)&&Lb(e)}(e.format)}function gy(e){return ny(e,"Symbol")&&"symbol"===e.type&&Mb(e.$id)}function vy(e){return ny(e,"TemplateLiteral")&&"string"===e.type&&qv(e.pattern)&&"^"===e.pattern[0]&&"$"===e.pattern[e.pattern.length-1]}function by(e){return ny(e,"Tuple")&&"array"===e.type&&Mb(e.$id)&&Bv(e.minItems)&&Bv(e.maxItems)&&e.minItems===e.maxItems&&(Hv(e.items)&&Hv(e.additionalItems)&&0===e.minItems||Lv(e.items)&&e.items.every(e=>Ay(e)))}function yy(e){return ny(e,"Undefined")&&"undefined"===e.type&&Mb(e.$id)}function xy(e){return ny(e,"Union")&&Mb(e.$id)&&Mv(e)&&Lv(e.anyOf)&&e.anyOf.every(e=>Ay(e))}function _y(e){return ny(e,"Uint8Array")&&"Uint8Array"===e.type&&Mb(e.$id)&&Ub(e.minByteLength)&&Ub(e.maxByteLength)}function wy(e){return ny(e,"Unknown")&&Mb(e.$id)}function Oy(e){return ny(e,"Void")&&"void"===e.type&&Mb(e.$id)}function Ay(e){return Mv(e)&&(Gb(e)||Hb(e)||Zb(e)||Vb(e)||Wb(e)||function(e){return ny(e,"Computed")&&qv(e.target)&&Lv(e.parameters)&&e.parameters.every(e=>Ay(e))}(e)||Kb(e)||Xb(e)||Yb(e)||Jb(e)||ey(e)||ty(e)||oy(e)||function(e){return ny(e,"MappedKey")&&Lv(e.keys)&&e.keys.every(e=>Bv(e)||qv(e))}(e)||function(e){return ny(e,"MappedResult")&&Qb(e.properties)}(e)||sy(e)||cy(e)||ly(e)||uy(e)||py(e)||dy(e)||fy(e)||function(e){return ny(e,"Ref")&&Mb(e.$id)&&qv(e.$ref)}(e)||my(e)||hy(e)||gy(e)||vy(e)||function(e){return ny(e,"This")&&Mb(e.$id)&&qv(e.$ref)}(e)||by(e)||yy(e)||xy(e)||_y(e)||wy(e)||function(e){return ny(e,"Unsafe")}(e)||Oy(e)||function(e){return Mv(e)&&nb in e&&qv(e[nb])&&!Fb.includes(e[nb])}(e))}const Ry="(0|[1-9][0-9]*)",ky="(.*)",Sy=`^${Ry}$`,Ey=`^${ky}$`;function jy(e){return Xv({[nb]:"Any"},e)}function Ty(e,t){return Xv({[nb]:"Array",type:"array",items:e},t)}function Cy(e,t){return Xv({[nb]:"AsyncIterator",type:"AsyncIterator",items:e},t)}function Ny(e,t,n){return Xv({[nb]:"Computed",target:e,parameters:t},n)}function $y(e,t){return t.reduce((e,t)=>function(e,t){const{[t]:n,...i}=e;return i}(e,t),e)}function Fy(e){return Xv({[nb]:"Never",not:{}},e)}function Iy(e){return Xv({[nb]:"MappedResult",properties:e})}function Ly(e,t,n){return Xv({[nb]:"Constructor",type:"Constructor",parameters:e,returns:t},n)}function Py(e,t,n){return Xv({[nb]:"Function",type:"Function",parameters:e,returns:t},n)}function Dy(e,t){return Xv({[nb]:"Union",anyOf:e},t)}function Uy(e){return e.map(e=>ab(e)?function(e){return $y(e,[eb])}(e):e)}function By(e,t){const n=function(e){return e.some(e=>ab(e))}(e);return n?Bx(Dy(Uy(e),t)):Dy(Uy(e),t)}function My(e,t){return 1===e.length?Xv(e[0],t):0===e.length?Fy(t):By(e,t)}function zy(e,t){return 0===e.length?Fy(t):1===e.length?Xv(e[0],t):Dy(e,t)}class qy extends Yv{}function Gy(e){return e.replace(/\\\$/g,"$").replace(/\\\*/g,"*").replace(/\\\^/g,"^").replace(/\\\|/g,"|").replace(/\\\(/g,"(").replace(/\\\)/g,")")}function Hy(e,t,n){return e[t]===n&&92!==e.charCodeAt(t-1)}function Wy(e,t){return Hy(e,t,"(")}function Vy(e,t){return Hy(e,t,")")}function Zy(e,t){return Hy(e,t,"|")}function Ky(e){return function(e){if(!Wy(e,0)||!Vy(e,e.length-1))return!1;let t=0;for(let n=0;n<e.length;n++)if(Wy(e,n)&&(t+=1),Vy(e,n)&&(t-=1),0===t&&n!==e.length-1)return!1;return!0}(e)?Ky(function(e){return e.slice(1,e.length-1)}(e)):function(e){let t=0;for(let n=0;n<e.length;n++)if(Wy(e,n)&&(t+=1),Vy(e,n)&&(t-=1),Zy(e,n)&&0===t)return!0;return!1}(e)?function(e){let[t,n]=[0,0];const i=[];for(let a=0;a<e.length;a++)if(Wy(e,a)&&(t+=1),Vy(e,a)&&(t-=1),Zy(e,a)&&0===t){const t=e.slice(n,a);t.length>0&&i.push(Ky(t)),n=a+1}const a=e.slice(n);return a.length>0&&i.push(Ky(a)),0===i.length?{type:"const",const:""}:1===i.length?i[0]:{type:"or",expr:i}}(e):function(e){for(let t=0;t<e.length;t++)if(Wy(e,t))return!0;return!1}(e)?function(e){function t(e,t){if(!Wy(e,t))throw new qy("TemplateLiteralParser: Index must point to open parens");let n=0;for(let i=t;i<e.length;i++)if(Wy(e,i)&&(n+=1),Vy(e,i)&&(n-=1),0===n)return[t,i];throw new qy("TemplateLiteralParser: Unclosed group parens in expression")}function n(e,t){for(let n=t;n<e.length;n++)if(Wy(e,n))return[t,n];return[t,e.length]}const i=[];for(let a=0;a<e.length;a++)if(Wy(e,a)){const[n,r]=t(e,a),o=e.slice(n,r+1);i.push(Ky(o)),a=r}else{const[t,r]=n(e,a),o=e.slice(t,r);o.length>0&&i.push(Ky(o)),a=r-1}return 0===i.length?{type:"const",const:""}:1===i.length?i[0]:{type:"and",expr:i}}(e):{type:"const",const:Gy(e)}}function Xy(e){return Ky(e.slice(1,e.length-1))}class Yy extends Yv{}function Jy(e){return!function(e){return"or"===e.type&&2===e.expr.length&&"const"===e.expr[0].type&&"0"===e.expr[0].const&&"const"===e.expr[1].type&&"[1-9][0-9]*"===e.expr[1].const}(e)&&!function(e){return"const"===e.type&&".*"===e.const}(e)&&(!!function(e){return"or"===e.type&&2===e.expr.length&&"const"===e.expr[0].type&&"true"===e.expr[0].const&&"const"===e.expr[1].type&&"false"===e.expr[1].const}(e)||("and"===e.type||"or"===e.type?e.expr.every(e=>Jy(e)):"const"===e.type||(()=>{throw new Yy("Unknown expression type")})()))}class Qy extends Yv{}function*ex(e){if(1===e.length)return yield*e[0];for(const t of e[0])for(const n of ex(e.slice(1)))yield`${t}${n}`}function*tx(e){return yield*ex(e.expr.map(e=>[...nx(e)]))}function*nx(e){return"and"===e.type?yield*tx(e):"or"===e.type?yield*function*(e){for(const t of e.expr)yield*nx(t)}(e):"const"===e.type?yield*function*(e){return yield e.const}(e):(()=>{throw new Qy("Unknown expression")})()}function ix(e){const t=Xy(e.pattern);return Jy(t)?[...nx(t)]:[]}function ax(e,t){return Xv({[nb]:"Literal",const:e,type:typeof e},t)}function rx(e){return Xv({[nb]:"Boolean",type:"boolean"},e)}function ox(e){return Xv({[nb]:"BigInt",type:"bigint"},e)}function sx(e){return Xv({[nb]:"Number",type:"number"},e)}function cx(e){return Xv({[nb]:"String",type:"string"},e)}function*lx(e){const t=e.trim().replace(/"|'/g,"");return"boolean"===t?yield rx():"number"===t?yield sx():"bigint"===t?yield ox():"string"===t?yield cx():yield(()=>{const e=t.split("|").map(e=>ax(e.trim()));return 0===e.length?Fy():1===e.length?e[0]:My(e)})()}function*ux(e){if("{"!==e[1]){const t=ax("$"),n=px(e.slice(1));return yield*[t,...n]}for(let t=2;t<e.length;t++)if("}"===e[t]){const n=lx(e.slice(2,t)),i=px(e.slice(t+1));return yield*[...n,...i]}yield ax(e)}function*px(e){for(let t=0;t<e.length;t++)if("$"===e[t]){const n=ax(e.slice(0,t)),i=ux(e.slice(t));return yield*[n,...i]}yield ax(e)}class dx extends Yv{}function fx(e,t){return jb(e)?e.pattern.slice(1,e.pattern.length-1):Nb(e)?`(${e.anyOf.map(e=>fx(e,t)).join("|")})`:wb(e)||fb(e)||cb(e)?`${t}${Ry}`:Eb(e)?`${t}${ky}`:bb(e)?`${t}${n=e.const.toString(),n.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}`:lb(e)?`${t}(true|false)`:(()=>{throw new dx(`Unexpected Kind '${e[nb]}'`)})();var n}function mx(e){return`^${e.map(e=>fx(e,"")).join("")}$`}function hx(e){const t=ix(e).map(e=>ax(e));return My(t)}function gx(e,t){const n=qv(e)?mx(function(e){return[...px(e)]}(e)):mx(e);return Xv({[nb]:"TemplateLiteral",type:"string",pattern:n},t)}function vx(e){const t=[];for(const n of e)t.push(...bx(n));return t}function bx(e){return[...new Set(jb(e)?(n=e,ix(n).map(e=>e.toString())):Nb(e)?vx(e.anyOf):bb(e)?(t=e.const,[t.toString()]):wb(e)||fb(e)?["[number]"]:[])];var t,n}function yx(e,t,n){return function(e,t,n){const i={};for(const a of Object.getOwnPropertyNames(t))i[a]=kx(e,bx(t[a]),n);return i}(e,t.properties,n)}function xx(e,t){return e.map(e=>Ox(e,t))}function _x(e,t){return Gx(function(e){return e.filter(e=>!_b(e))}(xx(e,t)))}function wx(e,t){return My(function(e){return e.some(e=>_b(e))?[]:e}(xx(e,t)))}function Ox(e,t){return mb(e)?_x(e.allOf,t):Nb(e)?wx(e.anyOf,t):Cb(e)?function(e,t){return t in e?e[t]:"[number]"===t?My(e):Fy()}(e.items??[],t):ob(e)?function(e,t){return"[number]"===t?e:Fy()}(e.items,t):Ob(e)?function(e,t){return t in e?e[t]:Fy()}(e.properties,t):Fy()}function Ax(e,t){return t.map(t=>Ox(e,t))}function Rx(e,t){return My(Ax(e,t))}function kx(e,t,n){if(kb(e)||kb(t)){const n="Index types using Ref parameters require both Type and Key to be of TSchema";if(!$b(e)||!$b(t))throw new Yv(n);return Ny("Index",[e,t])}return xb(t)?function(e,t,n){return Iy(yx(e,t,n))}(e,t,n):yb(t)?function(e,t,n){const i=function(e,t,n){return function(e,t,n){return t.reduce((t,i)=>({...t,...Sx(e,i,n)}),{})}(e,t.keys,n)}(e,t,n);return Iy(i)}(e,t,n):Xv($b(t)?Rx(e,bx(t)):Rx(e,t),n)}function Sx(e,t,n){return{[t]:kx(e,[t],Vv(n))}}function Ex(e,t){return Xv({[nb]:"Iterator",type:"Iterator",items:e},t)}var jx,Tx=function(e,t){const n=function(e){const t=[];for(let n in e)ab(e[n])||t.push(n);return t}(e);return Xv(n.length>0?{[nb]:"Object",type:"object",properties:e,required:n}:{[nb]:"Object",type:"object",properties:e},t)};function Cx(e,t){return Xv({[nb]:"Promise",type:"Promise",item:e},t)}function Nx(e,t){return!1===t?function(e){return Xv($y(e,[Qv]))}(e):function(e){return Xv({...e,[Qv]:"Readonly"})}(e)}function $x(e,t){const n=t??!0;return xb(e)?function(e,t){const n=function(e,t){return function(e,t){const n={};for(const i of globalThis.Object.getOwnPropertyNames(e))n[i]=$x(e[i],t);return n}(e.properties,t)}(e,t);return Iy(n)}(e,n):Nx(e,n)}function Fx(e,t){return Xv(e.length>0?{[nb]:"Tuple",type:"array",items:e,additionalItems:!1,minItems:e.length,maxItems:e.length}:{[nb]:"Tuple",type:"array",minItems:e.length,maxItems:e.length},t)}function Ix(e,t){return e in t?Dx(e,t[e]):Iy(t)}function Lx(e,t){return function(e,t){return e.includes(t)}(t,e)?function(e){return{[e]:ax(e)}}(e):function(e){const t={};for(const n of e)t[n]=ax(n);return t}(t)}function Px(e,t){return t.map(t=>Dx(e,t))}function Dx(e,t){const n={...t};return ab(t)?Bx(Dx(e,$y(t,[eb]))):ib(t)?$x(Dx(e,$y(t,[Qv]))):xb(t)?Ix(e,t.properties):yb(t)?function(e,t){return Ix(e,Lx(e,t))}(e,t.keys):pb(t)?Ly(Px(e,t.parameters),Dx(e,t.returns),n):db(t)?Py(Px(e,t.parameters),Dx(e,t.returns),n):sb(t)?Cy(Dx(e,t.items),n):hb(t)?Ex(Dx(e,t.items),n):mb(t)?Hx(Px(e,t.allOf),n):Nb(t)?zy(Px(e,t.anyOf),n):Cb(t)?Fx(Px(e,t.items??[]),n):Ob(t)?Tx(function(e,t){const n={};for(const i of globalThis.Object.getOwnPropertyNames(t))n[i]=Dx(e,t[i]);return n}(e,t.properties),n):ob(t)?Ty(Dx(e,t.items),n):Ab(t)?Cx(Dx(e,t.item),n):t}function Ux(e,t){return!1===t?function(e){return Xv($y(e,[eb]))}(e):function(e){return Xv({...e,[eb]:"Optional"})}(e)}function Bx(e,t){const n=t??!0;return xb(e)?function(e,t){const n=function(e,t){return function(e,t){const n={};for(const i of globalThis.Object.getOwnPropertyNames(e))n[i]=Bx(e[i],t);return n}(e.properties,t)}(e,t);return Iy(n)}(e,n):Ux(e,n)}function Mx(e,t={}){const n=e.every(e=>Ob(e)),i=$b(t.unevaluatedProperties)?{unevaluatedProperties:t.unevaluatedProperties}:{};return Xv(!1===t.unevaluatedProperties||$b(t.unevaluatedProperties)||n?{...i,[nb]:"Intersect",type:"object",allOf:e}:{...i,[nb]:"Intersect",allOf:e},t)}function zx(e){return e.map(e=>ab(e)?function(e){return $y(e,[eb])}(e):e)}function qx(e,t){return function(e){return e.every(e=>ab(e))}(e)?Bx(Mx(zx(e),t)):Mx(zx(e),t)}function Gx(e,t={}){if(1===e.length)return Xv(e[0],t);if(0===e.length)return Fy(t);if(e.some(e=>Tb(e)))throw new Error("Cannot intersect transform types");return qx(e,t)}function Hx(e,t){if(1===e.length)return Xv(e[0],t);if(0===e.length)return Fy(t);if(e.some(e=>Tb(e)))throw new Error("Cannot intersect transform types");return Mx(e,t)}function Wx(...e){const[t,n]="string"==typeof e[0]?[e[0],e[1]]:[e[0].$id,e[1]];if("string"!=typeof t)throw new Yv("Ref: $ref must be a string");return Xv({[nb]:"Ref",$ref:t},n)}function Vx(e){return e.map(e=>Zx(e))}function Zx(e,t){return Xv(ub(e)?(n=e.target,i=e.parameters,Ny("Awaited",[Ny(n,i)])):mb(e)?function(e){return Hx(Vx(e))}(e.allOf):Nb(e)?function(e){return zy(Vx(e))}(e.anyOf):Ab(e)?function(e){return Zx(e)}(e.item):kb(e)?Ny("Awaited",[Wx(e.$ref)]):e,t);var n,i}function Kx(e){const t=[];for(const n of e)t.push(Xx(n));return t}function Xx(e){return mb(e)?function(e){const t=function(e){const t=[];for(const n of e)t.push(...n);return t}(Kx(e));return t}(e.allOf):Nb(e)?function(e){const t=function(e){return 1===e.length?e[0]:e.length>1?function(e,t){return e.reduce((e,t)=>function(e,t){return e.filter(e=>t.includes(e))}(e,t),t)}(e.slice(1),e[0]):[]}(Kx(e));return t}(e.anyOf):Cb(e)?function(e){return e.map((e,t)=>t.toString())}(e.items??[]):ob(e)?(e.items,["[number]"]):Ob(e)?function(e){return globalThis.Object.getOwnPropertyNames(e)}(e.properties):Rb(e)?(e.patternProperties,[]):[]}function Yx(e,t){const n=function(e){return e.map(e=>"[number]"===e?sx():ax(e))}(Xx(e));return Xv(My(n),t)}function Jx(e,t){return ub(e)?(n=e.target,i=e.parameters,Ny("KeyOf",[Ny(n,i)])):kb(e)?Ny("KeyOf",[Wx(e.$ref)]):xb(e)?function(e,t){const n=function(e,t){return function(e,t){const n={};for(const i of globalThis.Object.getOwnPropertyNames(e))n[i]=Jx(e[i],Vv(t));return n}(e.properties,t)}(e,t);return Iy(n)}(e,t):Yx(e,t);var n,i}function Qx(e){const t=[];for(const n of e)t.push(...Xx(n));return function(e){return[...new Set(e)]}(t)}function e_(e,t){const n=[];for(const i of e)n.push(...Ax(i,[t]));return function(e){return e.filter(e=>!_b(e))}(n)}function t_(e){return Xv({[nb]:"Date",type:"Date"},e)}function n_(e){return Xv({[nb]:"Null",type:"null"},e)}function i_(e){return Xv({[nb]:"Symbol",type:"symbol"},e)}function a_(e){return Xv({[nb]:"Undefined",type:"undefined"},e)}function r_(e){return Xv({[nb]:"Uint8Array",type:"Uint8Array"},e)}function o_(e){return Xv({[nb]:"Unknown"},e)}function s_(e,t){return!0===t?e:$x(e)}function c_(e,t){return function(e){return Mv(e)&&!Lv(e)&&!Gv(e)&&Symbol.asyncIterator in e}(e)||function(e){return Mv(e)&&!Lv(e)&&!Gv(e)&&Symbol.iterator in e}(e)?s_(jy(),t):Lv(e)?$x(Fx(function(e){return e.map(e=>c_(e,!1))}(e))):Gv(e)?r_():Uv(e)?t_():Mv(e)?s_(Tx(function(e){const t={};for(const n of globalThis.Object.getOwnPropertyNames(e))t[n]=$x(c_(e[n],!1));return t}(e)),t):function(e){return"function"==typeof e}(e)?s_(Py([],o_()),t):Hv(e)?a_():function(e){return null===e}(e)?n_():function(e){return"symbol"==typeof e}(e)?i_():Pv(e)?ox():Bv(e)||Dv(e)||qv(e)?ax(e):Tx({})}class l_ extends Yv{}function u_(e){return e===jx.False?e:jx.True}function p_(e){throw new l_(e)}function d_(e){return sy(e)||ey(e)||xy(e)||wy(e)||Gb(e)}function f_(e,t){return sy(t)?b_():ey(t)?v_(e,t):xy(t)?L_(e,t):wy(t)?P_():Gb(t)?m_():p_("StructuralRight")}function m_(e,t){return jx.True}function h_(e,t){return ry(e)||Zb(e)?jx.True:jx.False}function g_(e,t){return oy(e)&&Bv(e.const)||uy(e)||Jb(e)?jx.True:jx.False}function v_(e,t){return t.allOf.every(t=>U_(e,t)===jx.True)?jx.True:jx.False}function b_(e,t){return jx.False}function y_(e){let[t,n]=[e,0];for(;cy(t);)t=t.not,n+=1;return n%2==0?t:o_()}function x_(e,t){return ay(e)||uy(e)||Jb(e)?jx.True:jx.False}function __(e,t){return Object.getOwnPropertyNames(e.properties).length===t}function w_(e){return k_(e)}function O_(e){return __(e,0)||__(e,1)&&"description"in e.properties&&xy(e.properties.description)&&2===e.properties.description.anyOf.length&&(hy(e.properties.description.anyOf[0])&&yy(e.properties.description.anyOf[1])||hy(e.properties.description.anyOf[1])&&yy(e.properties.description.anyOf[0]))}function A_(e){return __(e,0)}function R_(e){return __(e,0)}function k_(e){const t=sx();return __(e,0)||__(e,1)&&"length"in e.properties&&u_(U_(e.properties.length,t))===jx.True}function S_(e,t){return U_(e,t)===jx.False||qb(e)&&!qb(t)?jx.False:jx.True}function E_(e,t){return wy(e)?jx.False:Gb(e)?jx.Union:sy(e)||iy(e)&&w_(t)||ay(e)&&A_(t)||ry(e)&&R_(t)||gy(e)&&O_(t)||Vb(e)&&__(t,0)||hy(e)&&w_(t)||gy(e)&&O_(t)||uy(e)&&A_(t)||Jb(e)&&A_(t)||Zb(e)&&R_(t)||_y(e)&&function(e){return k_(e)}(t)||Xb(e)&&function(e){return __(e,0)}(t)||Kb(e)&&function(e){return __(e,0)}(t)||Yb(e)&&function(e){const t=sx();return __(e,0)||__(e,1)&&"length"in e.properties&&u_(U_(e.properties.length,t))===jx.True}(t)?jx.True:fy(e)&&hy(T_(e))?"Record"===t[tb]?jx.True:jx.False:fy(e)&&uy(T_(e))&&__(t,0)?jx.True:jx.False}function j_(e,t){return d_(t)?f_(e,t):py(t)&&function(e){const t=Py([jy()],jy());return __(e,0)||__(e,1)&&"then"in e.properties&&u_(U_(e.properties.then,t))===jx.True}(t)?jx.True:dy(t)?u_(U_(e.item,t.item)):jx.False}function T_(e){return Sy in e.patternProperties?sx():Ey in e.patternProperties?cx():p_("Unknown record key pattern")}function C_(e){return Sy in e.patternProperties?e.patternProperties[Sy]:Ey in e.patternProperties?e.patternProperties[Ey]:p_("Unable to get record value schema")}function N_(e,t){const[n,i]=[T_(t),C_(t)];return iy(e)&&uy(n)&&u_(U_(e,i))===jx.True?jx.True:_y(e)&&uy(n)||hy(e)&&uy(n)||Hb(e)&&uy(n)?U_(e,i):py(e)?(()=>{for(const t of Object.getOwnPropertyNames(e.properties))if(S_(i,e.properties[t])===jx.False)return jx.False;return jx.True})():jx.False}function $_(e,t){return oy(e)&&qv(e.const)||hy(e)?jx.True:jx.False}function F_(e,t){return d_(t)?f_(e,t):py(t)&&k_(t)||Hb(t)&&function(e,t){return Hb(t)&&void 0!==e.items&&e.items.every(e=>U_(e,t.items)===jx.True)}(e,t)?jx.True:by(t)?Hv(e.items)&&!Hv(t.items)||!Hv(e.items)&&Hv(t.items)?jx.False:Hv(e.items)&&!Hv(t.items)||e.items.every((e,n)=>U_(e,t.items[n])===jx.True)?jx.True:jx.False:jx.False}function I_(e,t){return d_(t)?f_(e,t):py(t)?E_(e,t):fy(t)?N_(e,t):Oy(t)?function(e){return yy(e)||yy(e)?jx.True:jx.False}(e):yy(t)?jx.True:jx.False}function L_(e,t){return t.anyOf.some(t=>U_(e,t)===jx.True)?jx.True:jx.False}function P_(e,t){return jx.True}function D_(e,t){return sy(t)?b_():ey(t)?v_(e,t):xy(t)?L_(e,t):Gb(t)?m_():hy(t)?$_(e):uy(t)?x_(e):Jb(t)?g_(e):Zb(t)?h_(e):Hb(t)?function(e){return wy(e)?jx.False:Gb(e)?jx.Union:sy(e)?jx.True:jx.False}(e):by(t)?function(e){return sy(e)?jx.True:wy(e)?jx.False:Gb(e)?jx.Union:jx.False}(e):py(t)?E_(e,t):wy(t)?jx.True:jx.False}function U_(e,t){return vy(e)||vy(t)?function(e,t){return vy(e)?U_(hx(e),t):vy(t)?U_(e,hx(t)):p_("Invalid fallthrough for TemplateLiteral")}(e,t):my(e)||my(t)?function(e,t){return U_(my(e)?cx():e,my(t)?cx():t)}(e,t):cy(e)||cy(t)?function(e,t){return cy(e)?U_(y_(e),t):cy(t)?U_(e,y_(t)):p_("Invalid fallthrough for Not")}(e,t):Gb(e)?function(e,t){return ey(t)?v_(e,t):xy(t)&&t.anyOf.some(e=>Gb(e)||wy(e))?jx.True:xy(t)?jx.Union:wy(t)||Gb(t)?jx.True:jx.Union}(e,t):Hb(e)?function(e,t){return py(t)&&k_(t)?jx.True:d_(t)?f_(e,t):Hb(t)?u_(U_(e.items,t.items)):jx.False}(e,t):Vb(e)?function(e,t){return d_(t)?f_(e,t):py(t)?E_(e,t):fy(t)?N_(e,t):Vb(t)?jx.True:jx.False}(e,t):Zb(e)?function(e,t){return d_(t)?f_(e,t):py(t)?E_(e,t):fy(t)?N_(e,t):Zb(t)?jx.True:jx.False}(e,t):Wb(e)?function(e,t){return d_(t)?f_(e,t):Wb(t)?u_(U_(e.items,t.items)):jx.False}(e,t):Kb(e)?function(e,t){return d_(t)?f_(e,t):py(t)?E_(e,t):Kb(t)?e.parameters.length>t.parameters.length?jx.False:e.parameters.every((e,n)=>u_(U_(t.parameters[n],e))===jx.True)?u_(U_(e.returns,t.returns)):jx.False:jx.False}(e,t):Xb(e)?function(e,t){return d_(t)?f_(e,t):py(t)?E_(e,t):fy(t)?N_(e,t):Xb(t)?jx.True:jx.False}(e,t):Yb(e)?function(e,t){return d_(t)?f_(e,t):py(t)?E_(e,t):Yb(t)?e.parameters.length>t.parameters.length?jx.False:e.parameters.every((e,n)=>u_(U_(t.parameters[n],e))===jx.True)?u_(U_(e.returns,t.returns)):jx.False:jx.False}(e,t):Jb(e)?function(e,t){return Jb(t)||uy(t)?jx.True:d_(t)?f_(e,t):py(t)?E_(e,t):fy(t)?N_(e,t):jx.False}(e,t):ey(e)?function(e,t){return e.allOf.some(e=>U_(e,t)===jx.True)?jx.True:jx.False}(e,t):ty(e)?function(e,t){return d_(t)?f_(e,t):ty(t)?u_(U_(e.items,t.items)):jx.False}(e,t):oy(e)?function(e,t){return oy(t)&&t.const===e.const?jx.True:d_(t)?f_(e,t):py(t)?E_(e,t):fy(t)?N_(e,t):hy(t)?$_(e):uy(t)?x_(e):Jb(t)?g_(e):Zb(t)?h_(e):jx.False}(e,t):sy(e)?jx.True:ly(e)?function(e,t){return d_(t)?f_(e,t):py(t)?E_(e,t):fy(t)?N_(e,t):ly(t)?jx.True:jx.False}(e,t):uy(e)?function(e,t){return d_(t)?f_(e,t):py(t)?E_(e,t):fy(t)?N_(e,t):Jb(t)||uy(t)?jx.True:jx.False}(e,t):py(e)?function(e,t){return d_(t)?f_(e,t):fy(t)?N_(e,t):py(t)?(()=>{for(const n of Object.getOwnPropertyNames(t.properties)){if(!(n in e.properties)&&!qb(t.properties[n]))return jx.False;if(qb(t.properties[n]))return jx.True;if(S_(e.properties[n],t.properties[n])===jx.False)return jx.False}return jx.True})():jx.False}(e,t):fy(e)?function(e,t){return d_(t)?f_(e,t):py(t)?E_(e,t):fy(t)?U_(C_(e),C_(t)):jx.False}(e,t):hy(e)?function(e,t){return d_(t)?f_(e,t):py(t)?E_(e,t):fy(t)?N_(e,t):hy(t)?jx.True:jx.False}(e,t):gy(e)?function(e,t){return d_(t)?f_(e,t):py(t)?E_(e,t):fy(t)?N_(e,t):gy(t)?jx.True:jx.False}(e,t):by(e)?F_(e,t):dy(e)?j_(e,t):_y(e)?function(e,t){return d_(t)?f_(e,t):py(t)?E_(e,t):fy(t)?N_(e,t):_y(t)?jx.True:jx.False}(e,t):yy(e)?I_(e,t):xy(e)?function(e,t){return e.anyOf.every(e=>U_(e,t)===jx.True)?jx.True:jx.False}(e,t):wy(e)?D_(e,t):Oy(e)?function(e,t){return ey(t)?v_(e,t):xy(t)?L_(e,t):wy(t)?P_():Gb(t)?m_():py(t)?E_(e,t):Oy(t)?jx.True:jx.False}(e,t):p_(`Unknown left type operand '${e[nb]}'`)}function B_(e,t){return U_(e,t)}function M_(e,t,n,i,a){return function(e,t,n,i,a){const r={};for(const o of globalThis.Object.getOwnPropertyNames(e))r[o]=z_(e[o],t,n,i,Vv(a));return r}(e.properties,t,n,i,a)}function z_(e,t,n,i,a){return xb(e)?function(e,t,n,i,a){return Iy(M_(e,t,n,i,a))}(e,t,n,i,a):yb(e)?Xv(function(e,t,n,i,a){const r=function(e,t,n,i,a){return function(e,t,n,i,a){return e.reduce((e,r)=>({...e,...q_(r,t,n,i,a)}),{})}(e.keys,t,n,i,a)}(e,t,n,i,a);return Iy(r)}(e,t,n,i,a)):Xv(function(e,t,n,i){const a=B_(e,t);return a===jx.Union?zy([n,i]):a===jx.True?n:i}(e,t,n,i),a)}function q_(e,t,n,i,a){return{[e]:z_(ax(e),t,n,i,Vv(a))}}function G_(e,t,n={}){return jb(e)?Xv(function(e,t){return G_(hx(e),t)}(e,t),n):xb(e)?Xv(function(e,t){const n=function(e,t){return function(e,t){const n={};for(const i of globalThis.Object.getOwnPropertyNames(e))n[i]=G_(e[i],t);return n}(e.properties,t)}(e,t);return Iy(n)}(e,t),n):Xv(Nb(e)?function(e,t){const n=e.filter(e=>B_(e,t)===jx.False);return 1===n.length?n[0]:zy(n)}(e.anyOf,t):B_(e,t)!==jx.False?Fy():e,n)}function H_(e,t,n){return jb(e)?Xv(function(e,t){return H_(hx(e),t)}(e,t),n):xb(e)?Xv(function(e,t){const n=function(e,t){return function(e,t){const n={};for(const i of globalThis.Object.getOwnPropertyNames(e))n[i]=H_(e[i],t);return n}(e.properties,t)}(e,t);return Iy(n)}(e,t),n):Xv(Nb(e)?function(e,t){const n=e.filter(e=>B_(e,t)!==jx.False);return 1===n.length?n[0]:zy(n)}(e.anyOf,t):B_(e,t)!==jx.False?e:Fy(),n)}function W_(e,t,n){return{[e]:X_(ax(e),t,Vv(n))}}function V_(e,t,n){return function(e,t,n){return e.reduce((e,i)=>({...e,...W_(i,t,n)}),{})}(e.keys,t,n)}function Z_(e,t){return"string"==typeof e?"Uncapitalize"===t?function(e){const[t,n]=[e.slice(0,1),e.slice(1)];return[t.toLowerCase(),n].join("")}(e):"Capitalize"===t?function(e){const[t,n]=[e.slice(0,1),e.slice(1)];return[t.toUpperCase(),n].join("")}(e):"Uppercase"===t?function(e){return e.toUpperCase()}(e):"Lowercase"===t?function(e){return e.toLowerCase()}(e):e:e.toString()}function K_(e,t){return e.map(e=>X_(e,t))}function X_(e,t,n={}){return yb(e)?function(e,t,n){return Iy(V_(e,t,n))}(e,t,n):jb(e)?function(e,t,n){const i=Xy(e.pattern);return Jy(i)?gx([zy(K_([...nx(i)].map(e=>ax(e)),t))],n):{...e,pattern:Z_(e.pattern,t)}}(e,t,n):Nb(e)?zy(K_(e.anyOf,t),n):bb(e)?ax(Z_(e.const,t),n):Xv(e,n)}function Y_(e,t,n){return function(e,t,n){const i={};for(const a of globalThis.Object.getOwnPropertyNames(e))i[a]=Q_(e[a],t,Vv(n));return i}(e.properties,t,n)}function J_(e,t){return mb(e)?Hx(function(e,t){return e.map(e=>J_(e,t))}(e.allOf,t)):Nb(e)?zy(function(e,t){return e.map(e=>J_(e,t))}(e.anyOf,t)):Ob(e)?function(e,t){const n=$y(e,[Jv,"$id","required","properties"]),i=function(e,t){return t.reduce((e,t)=>function(e,t){const{[t]:n,...i}=e;return i}(e,t),e)}(e.properties,t);return Tx(i,n)}(e,t):Tx({})}function Q_(e,t,n){const i=Lv(t)?function(e){return zy(e.reduce((e,t)=>vb(t)?[...e,ax(t)]:e,[]))}(t):t,a=$b(t)?bx(t):t,r=kb(e),o=kb(t);return xb(e)?function(e,t,n){return Iy(Y_(e,t,n))}(e,a,n):yb(t)?function(e,t,n){const i=function(e,t,n){return function(e,t,n){return t.reduce((t,i)=>({...t,...ew(e,i,n)}),{})}(e,t.keys,n)}(e,t,n);return Iy(i)}(e,t,n):r&&o||!r&&o||r&&!o?Ny("Omit",[e,i],n):Xv({...J_(e,a),...n})}function ew(e,t,n){return{[t]:Q_(e,[t],Vv(n))}}function tw(e,t,n){return function(e,t,n){const i={};for(const a of globalThis.Object.getOwnPropertyNames(e))i[a]=iw(e[a],t,Vv(n));return i}(e.properties,t,n)}function nw(e,t){return mb(e)?Hx(function(e,t){return e.map(e=>nw(e,t))}(e.allOf,t)):Nb(e)?zy(function(e,t){return e.map(e=>nw(e,t))}(e.anyOf,t)):Ob(e)?function(e,t){const n=$y(e,[Jv,"$id","required","properties"]),i=function(e,t){const n={};for(const i of t)i in e&&(n[i]=e[i]);return n}(e.properties,t);return Tx(i,n)}(e,t):Tx({})}function iw(e,t,n){const i=Lv(t)?function(e){return zy(e.reduce((e,t)=>vb(t)?[...e,ax(t)]:e,[]))}(t):t,a=$b(t)?bx(t):t,r=kb(e),o=kb(t);return xb(e)?function(e,t,n){return Iy(tw(e,t,n))}(e,a,n):yb(t)?function(e,t,n){const i=function(e,t,n){return function(e,t,n){return t.reduce((t,i)=>({...t,...aw(e,i,n)}),{})}(e,t.keys,n)}(e,t,n);return Iy(i)}(e,t,n):r&&o||!r&&o||r&&!o?Ny("Pick",[e,i],n):Xv({...nw(e,a),...n})}function aw(e,t,n){return{[t]:iw(e,[t],Vv(n))}}function rw(e){const t=$y(e,[Jv,"$id","required","properties"]),n=function(e){const t={};for(const n of globalThis.Object.getOwnPropertyNames(e))t[n]=Bx(e[n]);return t}(e.properties);return Tx(n,t)}function ow(e){return e.map(e=>sw(e))}function sw(e){return ub(e)?(t=e.target,n=e.parameters,Ny("Partial",[Ny(t,n)])):kb(e)?Ny("Partial",[Wx(e.$ref)]):mb(e)?Hx(ow(e.allOf)):Nb(e)?zy(ow(e.anyOf)):Ob(e)?rw(e):Tx({});var t,n}function cw(e,t){return xb(e)?function(e,t){const n=function(e,t){return function(e,t){const n={};for(const i of globalThis.Object.getOwnPropertyNames(e))n[i]=cw(e[i],Vv(t));return n}(e.properties,t)}(e,t);return Iy(n)}(e,t):Xv({...sw(e),...t})}function lw(e,t,n){return Xv({[nb]:"Record",type:"object",patternProperties:{[e]:t}},n)}function uw(e,t,n){const i={};for(const n of e)i[n]=t;return Tx(i,{...n,[tb]:"Record"})}function pw(e,t,n){return Jy(Xy(e.pattern))?uw(bx(e),t,n):lw(e.pattern,t,n)}function dw(e,t,n={}){return ub(t)?Ny("Record",[e,Ny(t.target,t.parameters)],n):ub(e)?Ny("Record",[Ny(t.target,t.parameters),t],n):kb(e)?Ny("Record",[Wx(e.$ref),t]):Nb(e)?function(e,t,n){return uw(bx(zy(e)),t,n)}(e.anyOf,t,n):jb(e)?pw(e,t,n):bb(e)?function(e,t,n){return uw([e.toString()],t,n)}(e.const,t,n):fb(e)?function(e,t,n){return lw(Sy,t,n)}(0,t,n):wb(e)?function(e,t,n){return lw(Sy,t,n)}(0,t,n):Sb(e)?function(e,t,n){return lw(e.source,t,n)}(e,t,n):Eb(e)?function(e,t,n){return lw(Hv(e.pattern)?Ey:e.pattern,t,n)}(e,t,n):rb(e)?function(e,t,n){return lw(Ey,t,n)}(0,t,n):_b(e)?function(e,t,n){return lw("^(?!.*)$",t,n)}(0,t,n):Fy(n)}function fw(e){const t=$y(e,[Jv,"$id","required","properties"]),n=function(e){const t={};for(const n of globalThis.Object.getOwnPropertyNames(e))t[n]=$y(e[n],[eb]);return t}(e.properties);return Tx(n,t)}function mw(e){return e.map(e=>hw(e))}function hw(e){return ub(e)?(t=e.target,n=e.parameters,Ny("Required",[Ny(t,n)])):kb(e)?Ny("Required",[Wx(e.$ref)]):mb(e)?Hx(mw(e.allOf)):Nb(e)?zy(mw(e.anyOf)):Ob(e)?fw(e):Tx({});var t,n}function gw(e,t){return xb(e)?function(e,t){const n=function(e,t){return function(e,t){const n={};for(const i of globalThis.Object.getOwnPropertyNames(e))n[i]=gw(e[i],t);return n}(e.properties,t)}(e,t);return Iy(n)}(e,t):Xv({...hw(e),...t})}function vw(e,t){return t.map(t=>kb(t)?bw(e,t.$ref):_w(e,t))}function bw(e,t){return t in e?kb(e[t])?bw(e,e[t].$ref):_w(e,e[t]):Fy()}function yw(e,t,n){const i=vw(e,n);return"Awaited"===t?function(e){return Zx(e[0])}(i):"Index"===t?function(e){return kx(e[0],e[1])}(i):"KeyOf"===t?function(e){return Jx(e[0])}(i):"Partial"===t?function(e){return cw(e[0])}(i):"Omit"===t?function(e){return Q_(e[0],e[1])}(i):"Pick"===t?function(e){return iw(e[0],e[1])}(i):"Record"===t?function(e){return dw(e[0],e[1])}(i):"Required"===t?function(e){return gw(e[0])}(i):Fy()}function xw(e,t){return t.map(t=>_w(e,t))}function _w(e,t){return ab(t)?Xv(_w(e,$y(t,[eb])),t):ib(t)?Xv(_w(e,$y(t,[Qv])),t):ob(t)?Xv(function(e,t){return Ty(_w(e,t))}(e,t.items),t):sb(t)?Xv(function(e,t){return Cy(_w(e,t))}(e,t.items),t):ub(t)?Xv(yw(e,t.target,t.parameters)):pb(t)?Xv(function(e,t,n){return Ly(xw(e,t),_w(e,n))}(e,t.parameters,t.returns),t):db(t)?Xv(function(e,t,n){return Py(xw(e,t),_w(e,n))}(e,t.parameters,t.returns),t):mb(t)?Xv(function(e,t){return Hx(xw(e,t))}(e,t.allOf),t):hb(t)?Xv(function(e,t){return Ex(_w(e,t))}(e,t.items),t):Ob(t)?Xv(function(e,t){return Tx(globalThis.Object.keys(t).reduce((n,i)=>({...n,[i]:_w(e,t[i])}),{}))}(e,t.properties),t):Cb(t)?Xv(function(e,t){return Fx(xw(e,t))}(e,t.items||[]),t):Nb(t)?Xv(function(e,t){return zy(xw(e,t))}(e,t.anyOf),t):t}function ww(e,t){return t in e?_w(e,e[t]):Fy()}!function(e){e[e.Union=0]="Union",e[e.True=1]="True",e[e.False=2]="False"}(jx||(jx={}));class Ow{constructor(e){const t=(n=e,globalThis.Object.getOwnPropertyNames(n).reduce((e,t)=>({...e,[t]:ww(n,t)}),{}));var n;const i=this.WithIdentifiers(t);this.$defs=i}Import(e,t){const n={...this.$defs,[e]:Xv(this.$defs[e],t)};return Xv({[nb]:"Import",$defs:n,$ref:e})}WithIdentifiers(e){return globalThis.Object.getOwnPropertyNames(e).reduce((t,n)=>({...t,[n]:{...e[n],$id:n}}),{})}}let Aw=0;class Rw{constructor(e){this.schema=e}Decode(e){return new kw(this.schema,e)}}class kw{constructor(e,t){this.schema=e,this.decode=t}EncodeTransform(e,t){const n={Encode:n=>t[Jv].Encode(e(n)),Decode:e=>this.decode(t[Jv].Decode(e))};return{...t,[Jv]:n}}EncodeSchema(e,t){const n={Decode:this.decode,Encode:e};return{...t,[Jv]:n}}Encode(e){return Tb(this.schema)?this.EncodeTransform(e,this.schema):this.EncodeSchema(e,this.schema)}}var Sw=Object.freeze({__proto__:null,Any:jy,Array:Ty,AsyncIterator:Cy,Awaited:Zx,BigInt:ox,Boolean:rx,Capitalize:function(e,t={}){return X_(e,"Capitalize",t)},Composite:function(e,t){const n=function(e,t){const n={};for(const i of t)n[i]=Gx(e_(e,i));return n}(e,Qx(e));return Tx(n,t)},Const:function(e,t){return Xv(c_(e,!0),t)},Constructor:Ly,ConstructorParameters:function(e,t){return Fx(e.parameters,t)},Date:t_,Enum:function(e,t){if(Hv(e))throw new Error("Enum undefined or empty");const n=globalThis.Object.getOwnPropertyNames(e).filter(e=>isNaN(e)).map(t=>e[t]);return zy([...new Set(n)].map(e=>ax(e)),{...t,[tb]:"Enum"})},Exclude:G_,Extends:z_,Extract:H_,Function:Py,Index:kx,InstanceType:function(e,t){return Xv(e.returns,t)},Integer:function(e){return Xv({[nb]:"Integer",type:"integer"},e)},Intersect:Hx,Iterator:Ex,KeyOf:Jx,Literal:ax,Lowercase:function(e,t={}){return X_(e,"Lowercase",t)},Mapped:function(e,t,n){const i=$b(e)?bx(e):e,a=function(e,t){const n={};for(const i of e)n[i]=Dx(i,t);return n}(i,t({[nb]:"MappedKey",keys:i}));return Tx(a,n)},Module:function(e){return new Ow(e)},Never:Fy,Not:function(e,t){return Xv({[nb]:"Not",not:e},t)},Null:n_,Number:sx,Object:Tx,Omit:Q_,Optional:Bx,Parameters:function(e,t){return Fx(e.parameters,t)},Partial:cw,Pick:iw,Promise:Cx,Readonly:$x,ReadonlyOptional:function(e){return $x(Bx(e))},Record:dw,Recursive:function(e,t={}){Hv(t.$id)&&(t.$id="T"+Aw++);const n=function(e,t){return Vv(void 0===t?e:{...t,...e})}(e({[nb]:"This",$ref:`${t.$id}`}));return n.$id=t.$id,Xv({[tb]:"Recursive",...n},t)},Ref:Wx,RegExp:function(e,t){const n=qv(e)?new globalThis.RegExp(e):e;return Xv({[nb]:"RegExp",type:"RegExp",source:n.source,flags:n.flags},t)},Required:gw,Rest:function(e){return function(e){return mb(e)?e.allOf:Nb(e)?e.anyOf:Cb(e)?e.items??[]:[]}(e)},ReturnType:function(e,t){return Xv(e.returns,t)},String:cx,Symbol:i_,TemplateLiteral:gx,Transform:function(e){return new Rw(e)},Tuple:Fx,Uint8Array:r_,Uncapitalize:function(e,t={}){return X_(e,"Uncapitalize",t)},Undefined:a_,Union:zy,Unknown:o_,Unsafe:function(e={}){return Xv({[nb]:e[nb]??"Unsafe"},e)},Uppercase:function(e,t={}){return X_(e,"Uppercase",t)},Void:function(e){return Xv({[nb]:"Void",type:"void"},e)}});const Ew=Sw,jw=Ew.String({$id:"Color"}),Tw=Ew.String({$id:"FamilyName"}),Cw=Ew.String({$id:"FontWeight"}),Nw=Ew.String({$id:"Length"}),$w=Ew.String({$id:"Percentage"}),Fw=Ew.String({$id:"BoxShadow"}),Iw=Ew.String({$id:"Number"}),Lw=Ew.String({$id:"Size"}),Pw=Ew.Union([Ew.String(),Ew.Literal("thin"),Ew.Literal("medium"),Ew.Literal("thick")],{$id:"LineWidth"}),Dw=Ew.Optional(Ew.Object({columnGap:Ew.Optional(Ew.Union([Ew.Ref(Nw),Ew.Ref($w)])),rowGap:Ew.Optional(Ew.Union([Ew.Ref(Nw),Ew.Ref($w)])),field:Ew.Optional(Ew.Object({label:Ew.Optional(Ew.Object({foreground:Ew.Optional(Ew.Ref(jw)),fontFamily:Ew.Optional(Ew.Ref(Tw)),fontWeight:Ew.Optional(Ew.Ref(Cw))})),input:Ew.Optional(Ew.Object({background:Ew.Optional(Ew.Ref(jw)),backgroundSubdued:Ew.Optional(Ew.Ref(jw)),foreground:Ew.Optional(Ew.Ref(jw)),foregroundSubdued:Ew.Optional(Ew.Ref(jw)),borderColor:Ew.Optional(Ew.Ref(jw)),borderColorHover:Ew.Optional(Ew.Ref(jw)),borderColorFocus:Ew.Optional(Ew.Ref(jw)),boxShadow:Ew.Optional(Ew.Ref(Fw)),boxShadowHover:Ew.Optional(Ew.Ref(Fw)),boxShadowFocus:Ew.Optional(Ew.Ref(Fw)),height:Ew.Optional(Ew.Ref(Lw)),padding:Ew.Optional(Ew.Union([Ew.Ref(Nw),Ew.Ref($w)]))}))}))})),Uw=Ew.Object({borderRadius:Ew.Optional(Ew.Union([Ew.Ref(Nw),Ew.Ref($w)])),borderWidth:Ew.Optional(Ew.Ref(Pw)),foreground:Ew.Optional(Ew.Ref(jw)),foregroundSubdued:Ew.Optional(Ew.Ref(jw)),foregroundAccent:Ew.Optional(Ew.Ref(jw)),background:Ew.Optional(Ew.Ref(jw)),backgroundNormal:Ew.Optional(Ew.Ref(jw)),backgroundAccent:Ew.Optional(Ew.Ref(jw)),backgroundSubdued:Ew.Optional(Ew.Ref(jw)),borderColor:Ew.Optional(Ew.Ref(jw)),borderColorAccent:Ew.Optional(Ew.Ref(jw)),borderColorSubdued:Ew.Optional(Ew.Ref(jw)),primary:Ew.Optional(Ew.Ref(jw)),primaryBackground:Ew.Optional(Ew.Ref(jw)),primarySubdued:Ew.Optional(Ew.Ref(jw)),primaryAccent:Ew.Optional(Ew.Ref(jw)),secondary:Ew.Optional(Ew.Ref(jw)),secondaryBackground:Ew.Optional(Ew.Ref(jw)),secondarySubdued:Ew.Optional(Ew.Ref(jw)),secondaryAccent:Ew.Optional(Ew.Ref(jw)),success:Ew.Optional(Ew.Ref(jw)),successBackground:Ew.Optional(Ew.Ref(jw)),successSubdued:Ew.Optional(Ew.Ref(jw)),successAccent:Ew.Optional(Ew.Ref(jw)),warning:Ew.Optional(Ew.Ref(jw)),warningBackground:Ew.Optional(Ew.Ref(jw)),warningSubdued:Ew.Optional(Ew.Ref(jw)),warningAccent:Ew.Optional(Ew.Ref(jw)),danger:Ew.Optional(Ew.Ref(jw)),dangerBackground:Ew.Optional(Ew.Ref(jw)),dangerSubdued:Ew.Optional(Ew.Ref(jw)),dangerAccent:Ew.Optional(Ew.Ref(jw)),fonts:Ew.Optional(Ew.Object({display:Ew.Optional(Ew.Object({fontFamily:Ew.Optional(Ew.Ref(Tw)),fontWeight:Ew.Optional(Ew.Ref(Cw))})),sans:Ew.Optional(Ew.Object({fontFamily:Ew.Optional(Ew.Ref(Tw)),fontWeight:Ew.Optional(Ew.Ref(Cw))})),serif:Ew.Optional(Ew.Object({fontFamily:Ew.Optional(Ew.Ref(Tw)),fontWeight:Ew.Optional(Ew.Ref(Cw))})),monospace:Ew.Optional(Ew.Object({fontFamily:Ew.Optional(Ew.Ref(Tw)),fontWeight:Ew.Optional(Ew.Ref(Cw))}))})),navigation:Ew.Optional(Ew.Object({background:Ew.Optional(Ew.Ref(jw)),backgroundAccent:Ew.Optional(Ew.Ref(jw)),borderWidth:Ew.Optional(Ew.Ref(Pw)),borderColor:Ew.Optional(Ew.Ref(jw)),project:Ew.Optional(Ew.Object({background:Ew.Optional(Ew.Ref(jw)),foreground:Ew.Optional(Ew.Ref(jw)),fontFamily:Ew.Optional(Ew.Ref(Tw)),borderWidth:Ew.Optional(Ew.Ref(Pw)),borderColor:Ew.Optional(Ew.Ref(jw))})),modules:Ew.Optional(Ew.Object({background:Ew.Optional(Ew.Ref(jw)),borderWidth:Ew.Optional(Ew.Ref(Pw)),borderColor:Ew.Optional(Ew.Ref(jw)),button:Ew.Optional(Ew.Object({foreground:Ew.Optional(Ew.Ref(jw)),foregroundHover:Ew.Optional(Ew.Ref(jw)),foregroundActive:Ew.Optional(Ew.Ref(jw)),background:Ew.Optional(Ew.Ref(jw)),backgroundHover:Ew.Optional(Ew.Ref(jw)),backgroundActive:Ew.Optional(Ew.Ref(jw))}))})),list:Ew.Optional(Ew.Object({icon:Ew.Optional(Ew.Object({foreground:Ew.Optional(Ew.Ref(jw)),foregroundHover:Ew.Optional(Ew.Ref(jw)),foregroundActive:Ew.Optional(Ew.Ref(jw))})),foreground:Ew.Optional(Ew.Ref(jw)),foregroundHover:Ew.Optional(Ew.Ref(jw)),foregroundActive:Ew.Optional(Ew.Ref(jw)),background:Ew.Optional(Ew.Ref(jw)),backgroundHover:Ew.Optional(Ew.Ref(jw)),backgroundActive:Ew.Optional(Ew.Ref(jw)),fontFamily:Ew.Optional(Ew.Ref(Tw)),divider:Ew.Object({borderColor:Ew.Optional(Ew.Ref(jw)),borderWidth:Ew.Optional(Ew.Ref(Pw))})}))})),header:Ew.Optional(Ew.Object({background:Ew.Optional(Ew.Ref(jw)),borderWidth:Ew.Optional(Ew.Ref(Pw)),borderColor:Ew.Optional(Ew.Ref(jw)),boxShadow:Ew.Optional(Ew.Ref(Fw)),headline:Ew.Optional(Ew.Object({foreground:Ew.Optional(Ew.Ref(jw)),fontFamily:Ew.Optional(Ew.Ref(Tw))})),title:Ew.Optional(Ew.Object({foreground:Ew.Optional(Ew.Ref(jw)),fontFamily:Ew.Optional(Ew.Ref(Tw)),fontWeight:Ew.Optional(Ew.Ref(Cw))}))})),form:Dw,sidebar:Ew.Optional(Ew.Object({background:Ew.Optional(Ew.Ref(jw)),foreground:Ew.Optional(Ew.Ref(jw)),fontFamily:Ew.Optional(Ew.Ref(Tw)),borderWidth:Ew.Optional(Ew.Ref(Pw)),borderColor:Ew.Optional(Ew.Ref(jw)),section:Ew.Optional(Ew.Object({toggle:Ew.Optional(Ew.Object({icon:Ew.Optional(Ew.Object({foreground:Ew.Optional(Ew.Ref(jw)),foregroundHover:Ew.Optional(Ew.Ref(jw)),foregroundActive:Ew.Optional(Ew.Ref(jw))})),foreground:Ew.Optional(Ew.Ref(jw)),foregroundHover:Ew.Optional(Ew.Ref(jw)),foregroundActive:Ew.Optional(Ew.Ref(jw)),background:Ew.Optional(Ew.Ref(jw)),backgroundHover:Ew.Optional(Ew.Ref(jw)),backgroundActive:Ew.Optional(Ew.Ref(jw)),fontFamily:Ew.Optional(Ew.Ref(Tw)),borderWidth:Ew.Optional(Ew.Ref(Pw)),borderColor:Ew.Optional(Ew.Ref(jw))})),form:Dw}))})),public:Ew.Optional(Ew.Object({background:Ew.Optional(Ew.Ref(jw)),foreground:Ew.Optional(Ew.Ref(jw)),foregroundAccent:Ew.Optional(Ew.Ref(jw)),art:Ew.Optional(Ew.Object({background:Ew.Optional(Ew.Ref(jw)),primary:Ew.Optional(Ew.Ref(jw)),secondary:Ew.Optional(Ew.Ref(jw)),speed:Ew.Optional(Ew.Ref(Iw))})),form:Dw})),popover:Ew.Optional(Ew.Object({menu:Ew.Optional(Ew.Object({background:Ew.Optional(Ew.Ref(jw)),borderRadius:Ew.Optional(Ew.Optional(Ew.Union([Ew.Ref(Nw),Ew.Ref($w)]))),boxShadow:Ew.Optional(Ew.Ref(Fw))}))})),banner:Ew.Optional(Ew.Object({background:Ew.Optional(Ew.Ref(jw)),padding:Ew.Optional(Ew.Union([Ew.Ref(Nw),Ew.Ref($w)])),borderRadius:Ew.Optional(Ew.Optional(Ew.Union([Ew.Ref(Nw),Ew.Ref($w)]))),avatar:Ew.Optional(Ew.Object({background:Ew.Optional(Ew.Ref(jw)),foreground:Ew.Optional(Ew.Ref(jw)),borderRadius:Ew.Optional(Ew.Optional(Ew.Union([Ew.Ref(Nw),Ew.Ref($w)])))})),headline:Ew.Optional(Ew.Object({foreground:Ew.Optional(Ew.Ref(jw)),fontFamily:Ew.Optional(Ew.Ref(Tw)),fontWeight:Ew.Optional(Ew.Ref(Cw))})),title:Ew.Optional(Ew.Object({foreground:Ew.Optional(Ew.Ref(jw)),fontFamily:Ew.Optional(Ew.Ref(Tw)),fontWeight:Ew.Optional(Ew.Ref(Cw))})),subtitle:Ew.Optional(Ew.Object({foreground:Ew.Optional(Ew.Ref(jw)),fontFamily:Ew.Optional(Ew.Ref(Tw)),fontWeight:Ew.Optional(Ew.Ref(Cw))})),art:Ew.Optional(Ew.Object({foreground:Ew.Optional(Ew.Ref(jw))}))}))}),Bw=(Ew.Object({id:Ew.String(),name:Ew.String(),appearance:Ew.Union([Ew.Literal("light"),Ew.Literal("dark")]),rules:Uw}),e=>e),Mw={id:"Directus Default",name:"$t:theme_directus_default",appearance:"dark",rules:{borderRadius:"6px",borderWidth:"2px",foreground:"#c9d1d9",foregroundAccent:"#f0f6fc",foregroundSubdued:"#666672",background:"#0d1117",backgroundNormal:"#21262e",backgroundAccent:"#30363d",backgroundSubdued:"#161b22",borderColor:"#21262e",borderColorAccent:"#30363d",borderColorSubdued:"#21262d",primary:"var(--project-color)",primaryBackground:"color-mix(in srgb, var(--theme--background), var(--theme--primary) 10%)",primarySubdued:"color-mix(in srgb, var(--theme--background), var(--theme--primary) 50%)",primaryAccent:"color-mix(in srgb, var(--theme--primary), #16151a 25%)",secondary:"#ff99dd",secondaryBackground:"color-mix(in srgb, var(--theme--background), var(--theme--secondary) 10%)",secondarySubdued:"color-mix(in srgb, var(--theme--background), var(--theme--secondary) 50%)",secondaryAccent:"color-mix(in srgb, var(--theme--secondary), #16151a 25%)",success:"#2ecda7",successBackground:"color-mix(in srgb, var(--theme--background), var(--theme--success) 10%)",successSubdued:"color-mix(in srgb, var(--theme--background), var(--theme--success) 50%)",successAccent:"color-mix(in srgb, var(--theme--success), #16151a 25%)",warning:"#ffa439",warningBackground:"color-mix(in srgb, var(--theme--background), var(--theme--warning) 10%)",warningSubdued:"color-mix(in srgb, var(--theme--background), var(--theme--warning) 50%)",warningAccent:"color-mix(in srgb, var(--theme--warning), #16151a 25%)",danger:"#e35169",dangerBackground:"color-mix(in srgb, var(--theme--background), var(--theme--danger) 10%)",dangerSubdued:"color-mix(in srgb, var(--theme--background), var(--theme--danger) 50%)",dangerAccent:"color-mix(in srgb, var(--theme--danger), #16151a 25%)",fonts:{display:{fontFamily:'"Inter", system-ui',fontWeight:"700"},sans:{fontFamily:'"Inter", system-ui',fontWeight:"500"},serif:{fontFamily:'"Merriweather", serif',fontWeight:"500"},monospace:{fontFamily:'"Fira Mono", monospace',fontWeight:"500"}},navigation:{background:"#21262e",backgroundAccent:"#30363d",borderColor:"transparent",borderWidth:"0px",project:{borderColor:"transparent",borderWidth:"0px",background:"#30363d",foreground:"var(--theme--foreground-accent)",fontFamily:"var(--theme--fonts--sans--font-family)"},modules:{background:"var(--theme--background)",borderColor:"transparent",borderWidth:"0px",button:{foreground:"var(--theme--foreground-subdued)",foregroundHover:"#fff",foregroundActive:"var(--theme--foreground-accent)",background:"transparent",backgroundHover:"transparent",backgroundActive:"#21262e"}},list:{icon:{foreground:"var(--theme--primary)",foregroundHover:"var(--theme--navigation--list--icon--foreground)",foregroundActive:"var(--theme--navigation--list--icon--foreground)"},foreground:"var(--theme--foreground-accent)",foregroundHover:"var(--theme--navigation--list--foreground)",foregroundActive:"var(--theme--navigation--list--foreground)",background:"transparent",backgroundHover:"#30363d",backgroundActive:"#30363d",fontFamily:"var(--theme--fonts--sans--font-family)",divider:{borderColor:"#30363d",borderWidth:"var(--theme--border-width)"}}},header:{background:"var(--theme--background)",borderColor:"transparent",borderWidth:"0px",boxShadow:"0 4px 7px -4px rgb(var(--black) / 0.2)",headline:{foreground:"var(--theme--foreground-subdued)",fontFamily:"var(--theme--fonts--sans--font-family)"},title:{foreground:"var(--theme--foreground-accent)",fontFamily:"var(--theme--fonts--display--font-family)",fontWeight:"var(--theme--fonts--display--font-weight)"}},form:{columnGap:"32px",rowGap:"40px",field:{label:{foreground:"var(--theme--foreground-accent)",fontFamily:"var(--theme--fonts--sans--font-family)",fontWeight:"600"},input:{background:"var(--theme--background)",backgroundSubdued:"var(--theme--background-subdued)",foreground:"var(--theme--foreground)",foregroundSubdued:"var(--theme--foreground-subdued)",borderColor:"#21262e",borderColorHover:"#30363d",borderColorFocus:"var(--theme--primary)",boxShadow:"none",boxShadowHover:"none",boxShadowFocus:"0 0 16px -8px var(--theme--primary)",height:"60px",padding:"16px"}}},sidebar:{background:"#21262e",foreground:"var(--theme--foreground-subdued)",fontFamily:"var(--theme--fonts--sans--font-family)",borderColor:"transparent",borderWidth:"0px",section:{toggle:{icon:{foreground:"var(--theme--foreground-accent)",foregroundHover:"var(--theme--sidebar--section--toggle--icon--foreground)",foregroundActive:"var(--theme--sidebar--section--toggle--icon--foreground)"},foreground:"var(--theme--foreground-accent)",foregroundHover:"var(--theme--sidebar--section--toggle--foreground)",foregroundActive:"var(--theme--sidebar--section--toggle--foreground)",background:"#30363d",backgroundHover:"var(--theme--sidebar--section--toggle--background)",backgroundActive:"var(--theme--sidebar--section--toggle--background)",fontFamily:"var(--theme--fonts--sans--font-family)",borderColor:"transparent",borderWidth:"0px"},form:{columnGap:"var(--theme--form--column-gap)",rowGap:"var(--theme--form--row-gap)",label:{foreground:"var(--theme--form--field--label--foreground)",fontFamily:"var(--theme--form--field--label--font-family)"},field:{input:{background:"var(--theme--form--field--input--background)",foreground:"var(--theme--form--field--input--foreground)",foregroundSubdued:"var(--theme--form--field--input--foreground-subdued)",borderColor:"var(--theme--form--field--input--border-color)",borderColorHover:"var(--theme--form--field--input--border-color-hover)",borderColorFocus:"var(--theme--form--field--input--border-color-focus)",boxShadow:"var(--theme--form--field--input--box-shadow)",boxShadowHover:"var(--theme--form--field--input--box-shadow-hover)",boxShadowFocus:"var(--theme--form--field--input--box-shadow-focus)",height:"52px",padding:"12px"}}}}},public:{background:"var(--theme--background)",foreground:"var(--theme--foreground)",foregroundAccent:"var(--theme--foreground-accent)",art:{background:"#0e1c2f",primary:"var(--theme--primary)",secondary:"var(--theme--secondary)",speed:"1"},form:{columnGap:"var(--theme--form--column-gap)",rowGap:"var(--theme--form--row-gap)",field:{label:{foreground:"var(--theme--form--field--label--foreground)",fontFamily:"var(--theme--form--field--label--font-family)"},input:{background:"var(--theme--form--field--input--background)",foreground:"var(--theme--form--field--input--foreground)",foregroundSubdued:"var(--theme--form--field--input--foreground-subdued)",borderColor:"var(--theme--form--field--input--border-color)",borderColorHover:"var(--theme--form--field--input--border-color-hover)",borderColorFocus:"var(--theme--form--field--input--border-color-focus)",boxShadow:"var(--theme--form--field--input--box-shadow)",boxShadowHover:"var(--theme--form--field--input--box-shadow-hover)",boxShadowFocus:"var(--theme--form--field--input--box-shadow-focus)",height:"var(--theme--form--field--input--height)",padding:"var(--theme--form--field--input--padding)"}}}},popover:{menu:{background:"#161b22",borderRadius:"var(--theme--border-radius)",boxShadow:"0px 0px 6px 0px rgb(0, 0, 0, 0.2)"}},banner:{background:"#0e1c2f",padding:"40px",borderRadius:"var(--theme--border-radius)",avatar:{borderRadius:"50%",foreground:"var(--theme--primary)",background:"#ffffff"},headline:{foreground:"#ffffff",fontFamily:"var(--theme--fonts--sans--font-family)",fontWeight:"var(--theme--fonts--sans--font-weight)"},title:{foreground:"#ffffff",fontFamily:"var(--theme--fonts--display--font-family)",fontWeight:"var(--theme--fonts--display--font-weight)"},subtitle:{foreground:"#a2b5cd",fontFamily:"var(--theme--fonts--monospace--font-family)",fontWeight:"var(--theme--fonts--monospace--font-weight)"},art:{foreground:"#2e3a4d"}}}},zw={id:"Directus Default",name:"$t:theme_directus_default",appearance:"light",rules:{borderRadius:"6px",borderWidth:"2px",foreground:"#4f5464",foregroundAccent:"#172940",foregroundSubdued:"#a2b5cd",background:"#fff",backgroundNormal:"#f0f4f9",backgroundAccent:"#e4eaf1",backgroundSubdued:"#f7fafc",borderColor:"#e4eaf1",borderColorAccent:"#d3dae4",borderColorSubdued:"#f0f4f9",primary:"var(--project-color)",primaryBackground:"color-mix(in srgb, var(--theme--background), var(--theme--primary) 10%)",primarySubdued:"color-mix(in srgb, var(--theme--background), var(--theme--primary) 50%)",primaryAccent:"color-mix(in srgb, var(--theme--primary), #2e3c43 25%)",secondary:"#ff99dd",secondaryBackground:"color-mix(in srgb, var(--theme--background), var(--theme--secondary) 10%)",secondarySubdued:"color-mix(in srgb, var(--theme--background), var(--theme--secondary) 50%)",secondaryAccent:"color-mix(in srgb, var(--theme--secondary), #2e3c43 25%)",success:"#2ecda7",successBackground:"color-mix(in srgb, var(--theme--background), var(--theme--success) 10%)",successSubdued:"color-mix(in srgb, var(--theme--background), var(--theme--success) 50%)",successAccent:"color-mix(in srgb, var(--theme--success), #2e3c43 25%)",warning:"#ffa439",warningBackground:"color-mix(in srgb, var(--theme--background), var(--theme--warning) 10%)",warningSubdued:"color-mix(in srgb, var(--theme--background), var(--theme--warning) 50%)",warningAccent:"color-mix(in srgb, var(--theme--warning), #2e3c43 25%)",danger:"#e35169",dangerBackground:"color-mix(in srgb, var(--theme--background), var(--theme--danger) 10%)",dangerSubdued:"color-mix(in srgb, var(--theme--background), var(--theme--danger) 50%)",dangerAccent:"color-mix(in srgb, var(--theme--danger), #2e3c43 25%)",fonts:{display:{fontFamily:'"Inter", system-ui',fontWeight:"700"},sans:{fontFamily:'"Inter", system-ui',fontWeight:"500"},serif:{fontFamily:'"Merriweather", serif',fontWeight:"500"},monospace:{fontFamily:'"Fira Mono", monospace',fontWeight:"500"}},navigation:{background:"var(--theme--background-normal)",backgroundAccent:"var(--theme--background-accent)",borderColor:"transparent",borderWidth:"0px",project:{borderColor:"transparent",borderWidth:"0px",background:"var(--theme--navigation--background-accent)",foreground:"var(--theme--foreground-accent)",fontFamily:"var(--theme--font-family-sans-serif)"},modules:{background:"#0e1c2f",borderColor:"transparent",borderWidth:"0px",button:{foreground:"#8196b1",foregroundHover:"#fff",foregroundActive:"var(--theme--foreground-accent)",background:"transparent",backgroundHover:"transparent",backgroundActive:"var(--theme--background-normal)"}},list:{icon:{foreground:"var(--theme--primary)",foregroundHover:"var(--theme--navigation--list--icon--foreground)",foregroundActive:"var(--theme--navigation--list--icon--foreground)"},foreground:"var(--theme--foreground-accent)",foregroundHover:"var(--theme--navigation--list--foreground)",foregroundActive:"var(--theme--navigation--list--foreground)",background:"transparent",backgroundHover:"var(--theme--navigation--background-accent)",backgroundActive:"var(--theme--navigation--background-accent)",fontFamily:"var(--theme--fonts--sans--font-family)",divider:{borderColor:"var(--theme--border-color-accent)",borderWidth:"var(--theme--border-width)"}}},header:{background:"var(--theme--background)",borderColor:"transparent",borderWidth:"0px",boxShadow:"0 4px 7px -4px rgb(0 0 0 / 0.2)",headline:{foreground:"var(--theme--foreground-subdued)",fontFamily:"var(--theme--fonts--sans--font-family)"},title:{foreground:"var(--theme--foreground-accent)",fontFamily:"var(--theme--fonts--display--font-family)",fontWeight:"var(--theme--fonts--display--font-weight)"}},form:{columnGap:"32px",rowGap:"40px",field:{label:{foreground:"var(--theme--foreground-accent)",fontFamily:"var(--theme--fonts--sans--font-family)",fontWeight:"600"},input:{background:"var(--theme--background)",backgroundSubdued:"var(--theme--background-subdued)",foreground:"var(--theme--foreground)",foregroundSubdued:"var(--theme--foreground-subdued)",borderColor:"var(--theme--border-color)",borderColorHover:"var(--theme--border-color-accent)",borderColorFocus:"var(--theme--primary)",boxShadow:"none",boxShadowHover:"none",boxShadowFocus:"0 0 16px -8px var(--theme--primary)",height:"60px",padding:"16px"}}},sidebar:{background:"var(--theme--background-normal)",foreground:"var(--theme--foreground-subdued)",fontFamily:"var(--theme--fonts--sans--font-family)",borderColor:"transparent",borderWidth:"0px",section:{toggle:{icon:{foreground:"var(--theme--foreground-accent)",foregroundHover:"var(--theme--sidebar--section--toggle--icon--foreground)",foregroundActive:"var(--theme--sidebar--section--toggle--icon--foreground)"},foreground:"var(--theme--foreground-accent)",foregroundHover:"var(--theme--sidebar--section--toggle--foreground)",foregroundActive:"var(--theme--sidebar--section--toggle--foreground)",background:"var(--theme--background-accent)",backgroundHover:"var(--theme--sidebar--section--toggle--background)",backgroundActive:"var(--theme--sidebar--section--toggle--background)",fontFamily:"var(--theme--fonts--sans--font-family)",borderColor:"transparent",borderWidth:"0px"},form:{columnGap:"var(--theme--form--column-gap)",rowGap:"var(--theme--form--row-gap)",label:{foreground:"var(--theme--form--field--label--foreground)",fontFamily:"var(--theme--form--field--label--font-family)"},field:{input:{background:"var(--theme--form--field--input--background)",foreground:"var(--theme--form--field--input--foreground)",foregroundSubdued:"var(--theme--form--field--input--foreground-subdued)",borderColor:"var(--theme--form--field--input--border-color)",borderColorHover:"var(--theme--form--field--input--border-color-hover)",borderColorFocus:"var(--theme--form--field--input--border-color-focus)",boxShadow:"var(--theme--form--field--input--box-shadow)",boxShadowHover:"var(--theme--form--field--input--box-shadow-hover)",boxShadowFocus:"var(--theme--form--field--input--box-shadow-focus)",height:"52px",padding:"12px"}}}}},public:{background:"var(--theme--background)",foreground:"var(--theme--foreground)",foregroundAccent:"var(--theme--foreground-accent)",art:{background:"#0e1c2f",primary:"var(--theme--primary)",secondary:"var(--theme--secondary)",speed:"1"},form:{columnGap:"var(--theme--form--column-gap)",rowGap:"var(--theme--form--row-gap)",label:{foreground:"var(--theme--form--field--label--foreground)",fontFamily:"var(--theme--form--field--label--font-family)"},field:{input:{background:"var(--theme--form--field--input--background)",foreground:"var(--theme--form--field--input--foreground)",foregroundSubdued:"var(--theme--form--field--input--foreground-subdued)",borderColor:"var(--theme--form--field--input--border-color)",borderColorHover:"var(--theme--form--field--input--border-color-hover)",borderColorFocus:"var(--theme--form--field--input--border-color-focus)",boxShadow:"var(--theme--form--field--input--box-shadow)",boxShadowHover:"var(--theme--form--field--input--box-shadow-hover)",boxShadowFocus:"var(--theme--form--field--input--box-shadow-focus)",height:"var(--theme--form--field--input--height)",padding:"var(--theme--form--field--input--padding)"}}}},popover:{menu:{background:"#fafcfd",borderRadius:"var(--theme--border-radius)",boxShadow:"0px 0px 6px 0px rgb(23, 41, 64, 0.2), 0px 0px 12px 2px rgb(23, 41, 64, 0.05)"}},banner:{background:"#0e1c2f",padding:"40px",borderRadius:"var(--theme--border-radius)",avatar:{borderRadius:"50%",foreground:"var(--theme--primary)",background:"#ffffff"},headline:{foreground:"#ffffff",fontFamily:"var(--theme--fonts--sans--font-family)",fontWeight:"var(--theme--fonts--sans--font-weight)"},title:{foreground:"#ffffff",fontFamily:"var(--theme--fonts--display--font-family)",fontWeight:"var(--theme--fonts--display--font-weight)"},subtitle:{foreground:"#a2b5cd",fontFamily:"var(--theme--fonts--monospace--font-family)",fontWeight:"var(--theme--fonts--monospace--font-weight)"},art:{foreground:"#2e3a4d"}}}},qw=[Mw],Gw=[zw,{id:"Directus Minimal",name:"$t:theme_directus_minimal",appearance:"light",rules:{borderWidth:"1px",backgroundPage:"color-mix(in srgb, #FFFFFF, var(--theme--primary) 7%)",navigation:{background:"#FFFFFF",modules:{background:"#FFFFFF",button:{backgroundActive:"#F1F5F9",foreground:"var(--theme--foreground)",foregroundHover:"var(--theme--primary)",foregroundActive:"var(--theme--primary)",backgroundHover:"#F1F5F9",background:"#FFFFFF"},borderWidth:"1px",borderColor:"var(--theme--border-color)"},project:{borderWidth:"1px",background:"#FFFFFF",borderColor:"var(--theme--border-color)"},list:{icon:{foreground:"#0F172A"},divider:{borderColor:"var(--theme--border-color)"}},borderWidth:"1px",backgroundAccent:"#F1F5F9",borderColor:"var(--theme--border-color)"},header:{background:"#FFFFFF",borderWidth:"1px",borderColor:"var(--theme--border-color)",boxShadow:"0 4px 7px -4px rgba(0,102,102, 0.1)"},backgroundAccent:"#E2E8F0",backgroundSubdued:"#F8FAFC",background:"#FFFFFF",foreground:"#1E293B",foregroundAccent:"#0F172A",foregroundSubdued:"#94A3B8",borderRadius:"4px",borderColor:"#E2E8F0",borderColorAccent:"#CBD5E1",borderColorSubdued:"#F1F5F9",form:{rowGap:"32px",field:{input:{background:"#FFFFFF",backgroundSubdued:"#F8FAFC",boxShadowFocus:"none",height:"52px"}}},sidebar:{background:"#FFFFFF",borderWidth:"1px",borderColor:"var(--theme--border-color)",section:{toggle:{borderColor:"var(--theme--border-color)",borderWidth:"1px",background:"#FFFFFF",foreground:"var(--theme--foreground-subdued)",foregroundHover:"var(--theme--foreground)",foregroundActive:"var(--theme--foreground-accent)",icon:{foreground:"var(--theme--foreground)",foregroundHover:"var(--theme--foreground)",foregroundActive:"var(--theme--foreground-accent)"}},form:{field:{input:{height:"42px"}}}}},public:{art:{background:"color-mix(in srgb, #FFFFFF, var(--project-color) 10%)",primary:"color-mix(in srgb, #FFFFFF, var(--project-color) 70%)",secondary:"color-mix(in srgb, #FFFFFF, var(--project-color) 40%)"},background:"#FFFFFF"},backgroundNormal:"#F1F5F9",secondary:"#64748B",primary:"#0F172A",primaryBackground:"#F1F5F9",primarySubdued:"#F8FAFC",primaryAccent:"#E2E8F0",secondaryAccent:"#E2E8F0",secondaryBackground:"#F1F5F9",secondarySubdued:"#F8FAFC",fonts:{display:{fontFamily:"system-ui"}}}},{id:"Directus Color Match",name:"$t:theme_directus_colormatch",appearance:"light",rules:{background:"color-mix(in srgb, #FFFFFF, var(--theme--primary) 7%)",backgroundAccent:"color-mix(in srgb, #FFFFFF, var(--theme--primary) 20%)",backgroundNormal:"color-mix(in srgb, #FFFFFF, var(--theme--primary) 15%)",backgroundSubdued:"color-mix(in srgb, #FFFFFF, var(--theme--primary) 10%)",borderColor:"color-mix(in srgb, #FFFFFF, var(--theme--primary) 20%)",borderColorAccent:"color-mix(in srgb, #FFFFFF, var(--theme--primary) 40%)",borderColorSubdued:"color-mix(in srgb, #FFFFFF, var(--theme--primary) 15%)",borderRadius:"12px",borderWidth:"1px",foreground:"color-mix(in srgb, #000000, var(--theme--primary) 70%)",foregroundAccent:"color-mix(in srgb, #000000, var(--theme--primary) 50%)",foregroundSubdued:"color-mix(in srgb, #FFFFFF, var(--theme--primary) 60%)",fonts:{display:{fontFamily:'"Montserrat", system-ui',fontWeight:"400"}},form:{field:{input:{background:"#FFFFFF",backgroundSubdued:"color-mix(in srgb, #FFFFFF, var(--theme--primary) 13%)"}}},navigation:{background:"#FFFFFF",backgroundAccent:"var(--theme--background)",borderWidth:"var(--theme--border-width)",borderColor:"var(--theme--border-color-subdued)",modules:{background:"color-mix(in srgb, #000000, var(--theme--primary) 90%)",button:{backgroundActive:"#FFFFFF",foreground:"color-mix(in srgb, #FFFFFF, var(--theme--primary) 20%)",foregroundActive:"var(--theme--primary)"}},project:{borderWidth:"1px",background:"#FFFFFF",borderColor:"var(--theme--border-color-subdued)"},list:{divider:{borderColor:"var(--theme--border-color-subdued)"},icon:{foreground:"var(--theme--foreground)"},foreground:"var(--theme--foreground)",foregroundHover:"var(--theme--foreground)",foregroundActive:"var(--theme--foreground)"}},header:{background:"#FFFFFF",borderWidth:"1px",borderColor:"var(--theme--border-color-subdued)",boxShadow:"0 4px 7px -4px rgba(0,102,102, 0.2)"},sidebar:{background:"#FFFFFF",borderWidth:"1px",borderColor:"var(--theme--border-color-subdued)",section:{toggle:{borderColor:"var(--theme--border-color-subdued)",borderWidth:"1px",background:"#FFFFFF",foreground:"var(--theme--foreground)",foregroundHover:"var(--theme--foreground)",foregroundActive:"var(--theme--foreground-accent)",icon:{foreground:"var(--theme--foreground)",foregroundHover:"var(--theme--foreground)",foregroundActive:"var(--theme--foreground-accent)"}}}},public:{art:{background:"color-mix(in srgb, #FFFFFF, var(--theme--primary) 10%)",primary:"color-mix(in srgb, #FFFFFF, var(--theme--primary) 60%)",secondary:"color-mix(in srgb, #FFFFFF, var(--theme--secondary) 70%)"},background:"#FFFFFF"}}}];!function(e,t,n){let i,a;const r="function"==typeof t;function o(e,n){(e=e||(!!Mt?Lt(xv,null):null))&&yv(e),(e=bv)._s.has(i)||(r?Iv(i,t,a,e):function(e,t,n){const{state:i,actions:a,getters:r}=t,o=n.state.value[e];let s;s=Iv(e,function(){o||(n.state.value[e]=i?i():{});const t=st(n.state.value[e]);return $v(t,a,Object.keys(r||{}).reduce((t,i)=>(t[i]=et(Ht(()=>{yv(n);const t=n._s.get(e);return r[i].call(t,t)})),t),{}))},t,n,0,!0)}(i,a,e));return e._s.get(i)}"string"==typeof e?(i=e,a=r?n:t):(a=e,i=e.id),o.$id=i}("🎨 Themes",()=>{const e=We({light:Gw,dark:qw});return{themes:e,registerTheme:t=>{"light"===t.appearance?e.light.push(t):e.dark.push(t)}}});Boolean;var Hw=Object.freeze({__proto__:null,defineDisplay:function(e){return e},defineEndpoint:function(e){return e},defineHook:function(e){return e},defineInterface:function(e){return e},defineLayout:function(e){return e},defineModule:function(e){return e},defineOperationApi:function(e){return e},defineOperationApp:function(e){return e},definePanel:function(e){return e},defineTheme:Bw,getFieldsFromTemplate:function(e){if(null==e)return[];const t=e.match(/{{(.*?)}}/g);return Array.isArray(t)?t.map(e=>e.replace(/{{/g,"").replace(/}}/g,"").trim()):[]},getRelationType:function(e){const{relation:t,collection:n,field:i}=e;return t?t.collection===n&&t.field===i&&t.meta?.one_collection_field&&t.meta?.one_allowed_collections?"m2a":t.collection===n&&t.field===i?"m2o":t.related_collection===n&&t.meta?.one_field===i?"o2m":null:null},useApi:Em,useCollection:Tm,useExtensions:jm,useFilterFields:function(e,t){const n=Ht(()=>{const n={};for(const e in t)n[e]=[];return e.value.reduce((e,n)=>{for(const i in t)!1!==t[i](n)&&e[i].push(n);return e},n)});return{fieldGroups:n}},useItems:function(e,t){const n=Em(),{primaryKeyField:i}=Tm(e),{fields:a,limit:r,sort:o,search:s,filter:c,page:l,filterSystem:u,alias:p,deep:d}=t,f=Ht(()=>e.value?Us(e.value):null),m=at([]),h=at(!1),g=at(null),v=at(null),b=at(null),y=Ht(()=>null===v.value||v.value<(ot(r)??100)?1:Math.ceil(v.value/(ot(r)??100))),x={items:null,total:null,filter:null};let _=null;const w=function(e,t,n){var i=!0,a=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return pn(n)&&(i="leading"in n?!!n.leading:i,a="trailing"in n?!!n.trailing:a),La(e,t,{leading:i,maxWait:t,trailing:a})}(O,500);return Ut([e,r,o,s,c,a,l,ut(p),ut(d)],async(e,n)=>{if(za(e,n))return;const[i,a,r,o,s]=e,[c,u,p,d,f]=n;i&&t&&(i!==c&&(m.value=[],b.value=null,v.value=null),za(s,f)&&za(r,p)&&a===u&&o===d||c&&(l.value=1),i===c&&za(s,f)&&o===d||R(),w())},{deep:!0,immediate:!0}),Ut([e,ut(u)],async(e,t)=>{za(e,t)||A()},{deep:!0,immediate:!0}),{itemCount:v,totalCount:b,items:m,totalPages:y,loading:h,error:g,changeManualSort:async function({item:t,to:a}){const r=i.value?.field;if(!r)return;const o=m.value.findIndex(e=>e[r]===t),s=m.value.findIndex(e=>e[r]===a);m.value=function(e,t,n){const i=e[t],a=e.length,r=t-n;if(void 0===i)return e;if(r>0)return[...e.slice(0,n),i,...e.slice(n,t),...e.slice(t+1,a)];if(r<0){const r=n+1;return[...e.slice(0,t),...e.slice(t+1,r),i,...e.slice(r,a)]}return e}(m.value,o,s);const c=Ht(()=>`/utils/sort/${e.value}`);await n.post(c.value,{item:t,to:a})},getItems:O,getItemCount:R,getTotalCount:A};async function O(){if(!f.value)return;let t=!1;x.items&&x.items.abort(),x.items=new AbortController,g.value=null,_&&clearTimeout(_),_=setTimeout(()=>{h.value=!0},150);let u=[...ot(a)??[]];!ot(a)?.includes("*")&&i.value&&!1===u.includes(i.value.field)&&u.push(i.value.field),u=u.filter(e=>!1===e.startsWith("$"));try{let t=(await n.get(f.value,{params:{limit:ot(r),fields:u,...p?{alias:ot(p)}:{},sort:ot(o),page:ot(l),search:ot(s),filter:ot(c),deep:ot(d)},signal:x.items.signal})).data.data;x.items=null,"directus_files"===e.value&&(t=t.map(e=>({...e,$thumbnail:e}))),m.value=t,l&&0===t.length&&1!==l?.value&&(l.value=1)}catch(e){km.isCancel(e)?t=!0:g.value=e}finally{_&&!t&&(clearTimeout(_),_=null),_||(h.value=!1)}}async function A(){if(f.value)try{x.total&&x.total.abort(),x.total=new AbortController;const e=i.value?{countDistinct:i.value.field}:{count:"*"},t=await n.get(f.value,{params:{aggregate:e,filter:ot(u)},signal:x.total.signal}),a=i.value?Number(t.data.data[0].countDistinct[i.value.field]):Number(t.data.data[0].count);x.total=null,b.value=a}catch(e){if(!km.isCancel(e))throw e}}async function R(){if(f.value)try{x.filter&&x.filter.abort(),x.filter=new AbortController;const e=i.value?{countDistinct:i.value.field}:{count:"*"},t=await n.get(f.value,{params:{filter:ot(c),search:ot(s),aggregate:e},signal:x.filter.signal}),a=i.value?Number(t.data.data[0].countDistinct[i.value.field]):Number(t.data.data[0].count);x.filter=null,v.value=a}catch(e){if(!km.isCancel(e))throw e}}},useLayout:function(e){const{layouts:t}=jm(),n=Ht(()=>t.value.map(e=>function(e){return $t({name:`${e.id}-${$m}`,props:{collection:{type:String,required:!0},selection:{type:Array,default:()=>[]},layoutOptions:{type:Object,default:()=>({})},layoutQuery:{type:Object,default:()=>({})},layoutProps:{type:Object,default:()=>({})},filter:{type:Object,default:null},filterUser:{type:Object,default:null},filterSystem:{type:Object,default:null},search:{type:String,default:null},showSelect:{type:String,default:"multiple"},selectMode:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},resetPreset:{type:Function,default:null},clearFilters:{type:Function,default:null}},emits:Fm.map(e=>`update:${e}`),setup(t,{emit:n}){const i=We({...e.setup(t,{emit:n}),...st(t)});for(const e in i)i[`onUpdate:${e}`]=a=>{var r;r=e,Fm.includes(r)?n(`update:${e}`,a):Object.keys(t).includes(e)||(i[e]=a)};return{state:i}},render:e=>void 0!==e.$slots.default?e.$slots.default({layoutState:e.state}):null})}(e)));return{layoutWrapper:Ht(()=>{const t=n.value.find(t=>t.name===`${e.value}-${$m}`);return void 0===t?n.value.find(e=>e.name===`tabular-${$m}`):t})}},useSdk:function(){const e=Lt("sdk");if(!e)throw new Error("[useSdk]: The sdk could not be found.");return e},useStores:Sm,useSync:function(e,t,n){return Ht({get:()=>e[t],set(e){n(`update:${t}`,e)}})}}),Ww=g(Hw);const{exec:Vw}=f,{promisify:Zw}=t,Kw=m,Xw=Zw(Vw);var Yw=async e=>{const t=process.cwd();let n=__dirname.split("/");n.pop(),n.push("migrations"),n=Kw.join("/",...n);let i=t.split("/");i.push("migrations"),i=Kw.join("/",...i);let{stdout:a,stderr:r}=await Xw(`mkdir -p ${i}`);r||({stdout:a,stderr:r}=await Xw(`cp -r ${n}/* ${i}`))};const{defineHook:Jw}=Ww,Qw=Yw;var eO=h(Jw(async({action:e,init:t},{services:n,database:i,getSchema:a,logger:r})=>{await Qw()}));module.exports=eO;