@mythpe/quasar-ui-qui 0.5.38 → 0.5.39

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 CHANGED
@@ -1 +1 @@
1
- import{Fragment as e,Transition as t,TransitionGroup as r,computed as n,createBlock as o,createCommentVNode as a,createElementBlock as i,createElementVNode as s,createSlots as l,createTextVNode as c,createVNode as u,defineComponent as p,guardReactiveProps as f,inject as d,mergeProps as y,nextTick as h,normalizeClass as m,normalizeProps as g,normalizeStyle as b,onBeforeUnmount as v,openBlock as w,provide as S,reactive as O,ref as A,renderSlot as E,resolveComponent as R,resolveDynamicComponent as _,toDisplayString as x,toValue as C,unref as P,watchEffect as j,withCtx as T}from"vue";import{QBtn as k,QCard as B,QCardSection as $,QDialog as F,QIcon as N,QImg as D,QInnerLoading as L,QSeparator as M,QSkeleton as I,QSpace as U,QSpinner as q,QSpinnerAudio as z,QSpinnerBall as W,QSpinnerBars as H,QSpinnerBox as K,QSpinnerClock as V,QSpinnerComment as Q,QSpinnerCube as G,QSpinnerDots as J,QSpinnerFacebook as X,QSpinnerGears as Z,QSpinnerGrid as Y,QSpinnerHearts as ee,QSpinnerHourglass as te,QSpinnerInfinity as re,QSpinnerIos as ne,QSpinnerOrbit as oe,QSpinnerOval as ae,QSpinnerPie as ie,QSpinnerPuff as se,QSpinnerRadio as le,QSpinnerRings as ce,QSpinnerTail as ue,QTooltip as pe,colors as fe,copyToClipboard as de,extend as ye,is as he,openURL as me,patterns as ge,scroll as be,setCssVar as ve,useDialogPluginComponent as we,useMeta as Se,useQuasar as Oe}from"quasar";import{useI18n as Ae}from"vue-i18n";var Ee=Object.create,Re=Object.defineProperty,_e=Object.getOwnPropertyDescriptor,xe=Object.getOwnPropertyNames,Ce=Object.getPrototypeOf,Pe=Object.prototype.hasOwnProperty,je=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t),e=null),t.exports),Te=(e,t)=>{let r={};for(var n in e)Re(r,n,{get:e[n],enumerable:!0});return t||Re(r,Symbol.toStringTag,{value:"Module"}),r},ke=(e,t,r)=>(r=null!=e?Ee(Ce(e)):{},((e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(var o,a=xe(t),i=0,s=a.length;i<s;i++)o=a[i],Pe.call(e,o)||o===r||Re(e,o,{get:(e=>t[e]).bind(null,o),enumerable:!(n=_e(t,o))||n.enumerable});return e})(!t&&e&&e.__esModule?r:Re(r,"default",{value:e,enumerable:!0}),e)),Be=/* @__PURE__ */(e=>"undefined"!=typeof require?require:"undefined"!=typeof Proxy?new Proxy(e,{get:(e,t)=>("undefined"!=typeof require?require:e)[t]}):e)(function(e){if("undefined"!=typeof require)return require.apply(this,arguments);throw Error('Calling `require` for "'+e+"\" in an environment that doesn't expose the `require` function. See https://rolldown.rs/in-depth/bundling-cjs#require-external-modules for more details.")}),$e=/([\p{Ll}\d])(\p{Lu})/gu,Fe=/(\p{Lu})([\p{Lu}][\p{Ll}])/gu,Ne=/(\d)\p{Ll}|(\p{L})\d/u,De=/[^\p{L}\d]+/giu,Le="$1\0$2";function Me(e){let t=e.trim();t=t.replace($e,Le).replace(Fe,Le),t=t.replace(De,"\0");let r=0,n=t.length;for(;"\0"===t.charAt(r);)r++;if(r===n)return[];for(;"\0"===t.charAt(n-1);)n--;return t.slice(r,n).split(/\0/g)}function Ie(e){const t=Me(e);for(let r=0;r<t.length;r++){const e=t[r],n=Ne.exec(e);if(n){const o=n.index+(n[1]??n[2]).length;t.splice(r,1,e.slice(0,o),e.slice(o))}}return t}function Ue(e,t){const[r,n,o]=Je(e,t);return r+n.map(Ke(t?.locale)).join(t?.delimiter??" ")+o}function qe(e,t){const[r,n,o]=Je(e,t),a=Ke(t?.locale),i=Ve(t?.locale),s=t?.mergeAmbiguousCharacters?Qe(a,i):Ge(a,i);return r+n.map((e,t)=>0===t?a(e):s(e,t)).join(t?.delimiter??"")+o}function ze(e,t){const[r,n,o]=Je(e,t),a=Ke(t?.locale),i=Ve(t?.locale),s=t?.mergeAmbiguousCharacters?Qe(a,i):Ge(a,i);return r+n.map(s).join(t?.delimiter??"")+o}function We(e,t){return Ue(e,{delimiter:"-",...t})}function He(e,t){return Ue(e,{delimiter:"_",...t})}function Ke(e){return!1===e?e=>e.toLowerCase():t=>t.toLocaleLowerCase(e)}function Ve(e){return!1===e?e=>e.toUpperCase():t=>t.toLocaleUpperCase(e)}function Qe(e,t){return r=>`${t(r[0])}${e(r.slice(1))}`}function Ge(e,t){return(r,n)=>{const o=r[0];return(n>0&&o>="0"&&o<="9"?"_"+o:t(o))+e(r.slice(1))}}function Je(e,t={}){const r=t.split??(t.separateNumbers?Ie:Me),n=t.prefixCharacters??"",o=t.suffixCharacters??"";let a=0,i=e.length;for(;a<e.length;){const t=e.charAt(a);if(!n.includes(t))break;a++}for(;i>a;){const t=i-1,r=e.charAt(t);if(!o.includes(r))break;i=t}return[e.slice(0,a),r(e.slice(a,i)),e.slice(i)]}var Xe=/* @__PURE__ */je((e,t)=>{t.exports=TypeError}),Ze=/* @__PURE__ */je((e,t)=>{t.exports={}}),Ye=/* @__PURE__ */je((e,t)=>{var r="function"==typeof Map&&Map.prototype,n=Object.getOwnPropertyDescriptor&&r?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,o=r&&n&&"function"==typeof n.get?n.get:null,a=r&&Map.prototype.forEach,i="function"==typeof Set&&Set.prototype,s=Object.getOwnPropertyDescriptor&&i?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,l=i&&s&&"function"==typeof s.get?s.get:null,c=i&&Set.prototype.forEach,u="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,p="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,f="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,d=Boolean.prototype.valueOf,y=Object.prototype.toString,h=Function.prototype.toString,m=String.prototype.match,g=String.prototype.slice,b=String.prototype.replace,v=String.prototype.toUpperCase,w=String.prototype.toLowerCase,S=RegExp.prototype.test,O=Array.prototype.concat,A=Array.prototype.join,E=Array.prototype.slice,R=Math.floor,_="function"==typeof BigInt?BigInt.prototype.valueOf:null,x=Object.getOwnPropertySymbols,C="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,P="function"==typeof Symbol&&"object"==typeof Symbol.iterator,j="function"==typeof Symbol&&Symbol.toStringTag&&(typeof Symbol.toStringTag===P||"symbol")?Symbol.toStringTag:null,T=Object.prototype.propertyIsEnumerable,k=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function B(e,t){if(e===1/0||e===-1/0||e!=e||e&&e>-1e3&&e<1e3||S.call(/e/,t))return t;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof e){var n=e<0?-R(-e):R(e);if(n!==e){var o=String(n),a=g.call(t,o.length+1);return b.call(o,r,"$&_")+"."+b.call(b.call(a,/([0-9]{3})/g,"$&_"),/_$/,"")}}return b.call(t,r,"$&_")}var $=Ze(),F=$.custom,N=W(F)?F:null,D={__proto__:null,double:'"',single:"'"},L={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};function M(e,t,r){var n=D[r.quoteStyle||t];return n+e+n}function I(e){return b.call(String(e),/"/g,"&quot;")}function U(e){return!j||!("object"==typeof e&&(j in e||void 0!==e[j]))}function q(e){return"[object Array]"===V(e)&&U(e)}function z(e){return"[object RegExp]"===V(e)&&U(e)}function W(e){if(P)return e&&"object"==typeof e&&e instanceof Symbol;if("symbol"==typeof e)return!0;if(!e||"object"!=typeof e||!C)return!1;try{return C.call(e),!0}catch(Va){}return!1}t.exports=function e(t,r,n,i){var s=r||{};if(K(s,"quoteStyle")&&!K(D,s.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(K(s,"maxStringLength")&&("number"==typeof s.maxStringLength?s.maxStringLength<0&&s.maxStringLength!==1/0:null!==s.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var y=!K(s,"customInspect")||s.customInspect;if("boolean"!=typeof y&&"symbol"!==y)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(K(s,"indent")&&null!==s.indent&&"\t"!==s.indent&&!(parseInt(s.indent,10)===s.indent&&s.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(K(s,"numericSeparator")&&"boolean"!=typeof s.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var v=s.numericSeparator;if(void 0===t)return"undefined";if(null===t)return"null";if("boolean"==typeof t)return t?"true":"false";if("string"==typeof t)return G(t,s);if("number"==typeof t){if(0===t)return 1/0/t>0?"0":"-0";var S=String(t);return v?B(t,S):S}if("bigint"==typeof t){var R=String(t)+"n";return v?B(t,R):R}var x=void 0===s.depth?5:s.depth;if(void 0===n&&(n=0),n>=x&&x>0&&"object"==typeof t)return q(t)?"[Array]":"[Object]";var F,L=function(e,t){var r;if("\t"===e.indent)r="\t";else{if(!("number"==typeof e.indent&&e.indent>0))return null;r=A.call(Array(e.indent+1)," ")}return{base:r,prev:A.call(Array(t+1),r)}}(s,n);if(void 0===i)i=[];else if(Q(i,t)>=0)return"[Circular]";function H(t,r,o){if(r&&(i=E.call(i)).push(r),o){var a={depth:s.depth};return K(s,"quoteStyle")&&(a.quoteStyle=s.quoteStyle),e(t,a,n+1,i)}return e(t,s,n+1,i)}if("function"==typeof t&&!z(t)){var J=function(e){if(e.name)return e.name;var t=m.call(h.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}(t),re=te(t,H);return"[Function"+(J?": "+J:" (anonymous)")+"]"+(re.length>0?" { "+A.call(re,", ")+" }":"")}if(W(t)){var ne=P?b.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):C.call(t);return"object"!=typeof t||P?ne:X(ne)}if((F=t)&&"object"==typeof F&&("undefined"!=typeof HTMLElement&&F instanceof HTMLElement||"string"==typeof F.nodeName&&"function"==typeof F.getAttribute)){for(var oe="<"+w.call(String(t.nodeName)),ae=t.attributes||[],ie=0;ie<ae.length;ie++)oe+=" "+ae[ie].name+"="+M(I(ae[ie].value),"double",s);return oe+=">",t.childNodes&&t.childNodes.length&&(oe+="..."),oe+="</"+w.call(String(t.nodeName))+">"}if(q(t)){if(0===t.length)return"[]";var se=te(t,H);return L&&!function(e){for(var t=0;t<e.length;t++)if(Q(e[t],"\n")>=0)return!1;return!0}(se)?"["+ee(se,L)+"]":"[ "+A.call(se,", ")+" ]"}if(function(e){return"[object Error]"===V(e)&&U(e)}(t)){var le=te(t,H);return"cause"in Error.prototype||!("cause"in t)||T.call(t,"cause")?0===le.length?"["+String(t)+"]":"{ ["+String(t)+"] "+A.call(le,", ")+" }":"{ ["+String(t)+"] "+A.call(O.call("[cause]: "+H(t.cause),le),", ")+" }"}if("object"==typeof t&&y){if(N&&"function"==typeof t[N]&&$)return $(t,{depth:x-n});if("symbol"!==y&&"function"==typeof t.inspect)return t.inspect()}if(function(e){if(!o||!e||"object"!=typeof e)return!1;try{o.call(e);try{l.call(e)}catch(oe){return!0}return e instanceof Map}catch(Va){}return!1}(t)){var ce=[];return a&&a.call(t,function(e,r){ce.push(H(r,t,!0)+" => "+H(e,t))}),Y("Map",o.call(t),ce,L)}if(function(e){if(!l||!e||"object"!=typeof e)return!1;try{l.call(e);try{o.call(e)}catch(t){return!0}return e instanceof Set}catch(Va){}return!1}(t)){var ue=[];return c&&c.call(t,function(e){ue.push(H(e,t))}),Y("Set",l.call(t),ue,L)}if(function(e){if(!u||!e||"object"!=typeof e)return!1;try{u.call(e,u);try{p.call(e,p)}catch(oe){return!0}return e instanceof WeakMap}catch(Va){}return!1}(t))return Z("WeakMap");if(function(e){if(!p||!e||"object"!=typeof e)return!1;try{p.call(e,p);try{u.call(e,u)}catch(oe){return!0}return e instanceof WeakSet}catch(Va){}return!1}(t))return Z("WeakSet");if(function(e){if(!f||!e||"object"!=typeof e)return!1;try{return f.call(e),!0}catch(Va){}return!1}(t))return Z("WeakRef");if(function(e){return"[object Number]"===V(e)&&U(e)}(t))return X(H(Number(t)));if(function(e){if(!e||"object"!=typeof e||!_)return!1;try{return _.call(e),!0}catch(Va){}return!1}(t))return X(H(_.call(t)));if(function(e){return"[object Boolean]"===V(e)&&U(e)}(t))return X(d.call(t));if(function(e){return"[object String]"===V(e)&&U(e)}(t))return X(H(String(t)));if("undefined"!=typeof window&&t===window)return"{ [object Window] }";if("undefined"!=typeof globalThis&&t===globalThis||"undefined"!=typeof global&&t===global)return"{ [object globalThis] }";if(!function(e){return"[object Date]"===V(e)&&U(e)}(t)&&!z(t)){var pe=te(t,H),fe=k?k(t)===Object.prototype:t instanceof Object||t.constructor===Object,de=t instanceof Object?"":"null prototype",ye=!fe&&j&&Object(t)===t&&j in t?g.call(V(t),8,-1):de?"Object":"",he=(fe||"function"!=typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"")+(ye||de?"["+A.call(O.call([],ye||[],de||[]),": ")+"] ":"");return 0===pe.length?he+"{}":L?he+"{"+ee(pe,L)+"}":he+"{ "+A.call(pe,", ")+" }"}return String(t)};var H=Object.prototype.hasOwnProperty||function(e){return e in this};function K(e,t){return H.call(e,t)}function V(e){return y.call(e)}function Q(e,t){if(e.indexOf)return e.indexOf(t);for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1}function G(e,t){if(e.length>t.maxStringLength){var r=e.length-t.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return G(g.call(e,0,t.maxStringLength),t)+n}var o=L[t.quoteStyle||"single"];return o.lastIndex=0,M(b.call(b.call(e,o,"\\$1"),/[\x00-\x1f]/g,J),"single",t)}function J(e){var t=e.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return r?"\\"+r:"\\x"+(t<16?"0":"")+v.call(t.toString(16))}function X(e){return"Object("+e+")"}function Z(e){return e+" { ? }"}function Y(e,t,r,n){return e+" ("+t+") {"+(n?ee(r,n):A.call(r,", "))+"}"}function ee(e,t){if(0===e.length)return"";var r="\n"+t.prev+t.base;return r+A.call(e,","+r)+"\n"+t.prev}function te(e,t){var r=q(e),n=[];if(r){n.length=e.length;for(var o=0;o<e.length;o++)n[o]=K(e,o)?t(e[o],e):""}var a,i="function"==typeof x?x(e):[];if(P){a={};for(var s=0;s<i.length;s++)a["$"+i[s]]=i[s]}for(var l in e)K(e,l)&&(r&&String(Number(l))===l&&l<e.length||P&&a["$"+l]instanceof Symbol||(S.call(/[^\w$]/,l)?n.push(t(l,e)+": "+t(e[l],e)):n.push(l+": "+t(e[l],e))));if("function"==typeof x)for(var c=0;c<i.length;c++)T.call(e,i[c])&&n.push("["+t(i[c])+"]: "+t(e[i[c]],e));return n}}),et=/* @__PURE__ */je((e,t)=>{var r=Ye(),n=Xe(),o=function(e,t,r){for(var n,o=e;null!=(n=o.next);o=n)if(n.key===t)return o.next=n.next,r||(n.next=e.next,e.next=n),n};t.exports=function(){var e,t={assert:function(e){if(!t.has(e))throw new n("Side channel does not contain "+r(e))},delete:function(t){var r=function(e,t){if(e)return o(e,t,!0)}(e,t);return r&&e&&!e.next&&(e=void 0),!!r},get:function(t){return function(e,t){if(e){var r=o(e,t);return r&&r.value}}(e,t)},has:function(t){return function(e,t){return!!e&&!!o(e,t)}(e,t)},set:function(t,r){e||(e={next:void 0}),function(e,t,r){var n=o(e,t);n?n.value=r:e.next={key:t,next:e.next,value:r}}(e,t,r)}};return t}}),tt=/* @__PURE__ */je((e,t)=>{t.exports=Object}),rt=/* @__PURE__ */je((e,t)=>{t.exports=Error}),nt=/* @__PURE__ */je((e,t)=>{t.exports=EvalError}),ot=/* @__PURE__ */je((e,t)=>{t.exports=RangeError}),at=/* @__PURE__ */je((e,t)=>{t.exports=ReferenceError}),it=/* @__PURE__ */je((e,t)=>{t.exports=SyntaxError}),st=/* @__PURE__ */je((e,t)=>{t.exports=URIError}),lt=/* @__PURE__ */je((e,t)=>{t.exports=Math.abs}),ct=/* @__PURE__ */je((e,t)=>{t.exports=Math.floor}),ut=/* @__PURE__ */je((e,t)=>{t.exports=Math.max}),pt=/* @__PURE__ */je((e,t)=>{t.exports=Math.min}),ft=/* @__PURE__ */je((e,t)=>{t.exports=Math.pow}),dt=/* @__PURE__ */je((e,t)=>{t.exports=Math.round}),yt=/* @__PURE__ */je((e,t)=>{t.exports=Number.isNaN||function(e){return e!=e}}),ht=/* @__PURE__ */je((e,t)=>{var r=yt();t.exports=function(e){return r(e)||0===e?e:e<0?-1:1}}),mt=/* @__PURE__ */je((e,t)=>{t.exports=Object.getOwnPropertyDescriptor}),gt=/* @__PURE__ */je((e,t)=>{var r=mt();if(r)try{r([],"length")}catch(Va){r=null}t.exports=r}),bt=/* @__PURE__ */je((e,t)=>{var r=Object.defineProperty||!1;if(r)try{r({},"a",{value:1})}catch(Va){r=!1}t.exports=r}),vt=/* @__PURE__ */je((e,t)=>{t.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),r=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(r))return!1;for(var n 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 o=Object.getOwnPropertySymbols(e);if(1!==o.length||o[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var a=Object.getOwnPropertyDescriptor(e,t);if(42!==a.value||!0!==a.enumerable)return!1}return!0}}),wt=/* @__PURE__ */je((e,t)=>{var r="undefined"!=typeof Symbol&&Symbol,n=vt();t.exports=function(){return"function"==typeof r&&("function"==typeof Symbol&&("symbol"==typeof r("foo")&&("symbol"==typeof Symbol("bar")&&n())))}}),St=/* @__PURE__ */je((e,t)=>{t.exports="undefined"!=typeof Reflect&&Reflect.getPrototypeOf||null}),Ot=/* @__PURE__ */je((e,t)=>{var r=tt();t.exports=r.getPrototypeOf||null}),At=/* @__PURE__ */je((e,t)=>{var r=Object.prototype.toString,n=Math.max,o=function(e,t){for(var r=[],n=0;n<e.length;n+=1)r[n]=e[n];for(var o=0;o<t.length;o+=1)r[o+e.length]=t[o];return r};t.exports=function(e){var t=this;if("function"!=typeof t||"[object Function]"!==r.apply(t))throw new TypeError("Function.prototype.bind called on incompatible "+t);for(var a,i=function(e,t){for(var r=[],n=t||0,o=0;n<e.length;n+=1,o+=1)r[o]=e[n];return r}(arguments,1),s=n(0,t.length-i.length),l=[],c=0;c<s;c++)l[c]="$"+c;if(a=Function("binder","return function ("+function(e,t){for(var r="",n=0;n<e.length;n+=1)r+=e[n],n+1<e.length&&(r+=t);return r}(l,",")+"){ return binder.apply(this,arguments); }")(function(){if(this instanceof a){var r=t.apply(this,o(i,arguments));return Object(r)===r?r:this}return t.apply(e,o(i,arguments))}),t.prototype){var u=function(){};u.prototype=t.prototype,a.prototype=new u,u.prototype=null}return a}}),Et=/* @__PURE__ */je((e,t)=>{var r=At();t.exports=Function.prototype.bind||r}),Rt=/* @__PURE__ */je((e,t)=>{t.exports=Function.prototype.call}),_t=/* @__PURE__ */je((e,t)=>{t.exports=Function.prototype.apply}),xt=/* @__PURE__ */je((e,t)=>{t.exports="undefined"!=typeof Reflect&&Reflect&&Reflect.apply}),Ct=/* @__PURE__ */je((e,t)=>{var r=Et(),n=_t(),o=Rt(),a=xt();t.exports=a||r.call(o,n)}),Pt=/* @__PURE__ */je((e,t)=>{var r=Et(),n=Xe(),o=Rt(),a=Ct();t.exports=function(e){if(e.length<1||"function"!=typeof e[0])throw new n("a function is required");return a(r,o,e)}}),jt=/* @__PURE__ */je((e,t)=>{var r,n=Pt(),o=gt();try{r=[].__proto__===Array.prototype}catch(Va){if(!Va||"object"!=typeof Va||!("code"in Va)||"ERR_PROTO_ACCESS"!==Va.code)throw Va}var a=!!r&&o&&o(Object.prototype,"__proto__"),i=Object,s=i.getPrototypeOf;t.exports=a&&"function"==typeof a.get?n([a.get]):"function"==typeof s&&function(e){return s(null==e?e:i(e))}}),Tt=/* @__PURE__ */je((e,t)=>{var r=St(),n=Ot(),o=jt();t.exports=r?function(e){return r(e)}:n?function(e){if(!e||"object"!=typeof e&&"function"!=typeof e)throw new TypeError("getProto: not an object");return n(e)}:o?function(e){return o(e)}:null}),kt=/* @__PURE__ */je((e,t)=>{var r=Function.prototype.call,n=Object.prototype.hasOwnProperty,o=Et();t.exports=o.call(r,n)}),Bt=/* @__PURE__ */je((e,t)=>{var r,n=tt(),o=rt(),a=nt(),i=ot(),s=at(),l=it(),c=Xe(),u=st(),p=lt(),f=ct(),d=ut(),y=pt(),h=ft(),m=dt(),g=ht(),b=Function,v=function(e){try{return b('"use strict"; return ('+e+").constructor;")()}catch(Va){}},w=gt(),S=bt(),O=function(){throw new c},A=w?function(){try{return O}catch(e){try{return w(arguments,"callee").get}catch(t){return O}}}():O,E=wt()(),R=Tt(),_=Ot(),x=St(),C=_t(),P=Rt(),j={},T="undefined"!=typeof Uint8Array&&R?R(Uint8Array):r,k={__proto__:null,"%AggregateError%":"undefined"==typeof AggregateError?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?r:ArrayBuffer,"%ArrayIteratorPrototype%":E&&R?R([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":j,"%AsyncGenerator%":j,"%AsyncGeneratorFunction%":j,"%AsyncIteratorPrototype%":j,"%Atomics%":"undefined"==typeof Atomics?r:Atomics,"%BigInt%":"undefined"==typeof BigInt?r:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?r:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?r:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":o,"%eval%":eval,"%EvalError%":a,"%Float16Array%":"undefined"==typeof Float16Array?r:Float16Array,"%Float32Array%":"undefined"==typeof Float32Array?r:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?r:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?r:FinalizationRegistry,"%Function%":b,"%GeneratorFunction%":j,"%Int8Array%":"undefined"==typeof Int8Array?r:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?r:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":E&&R?R(R([][Symbol.iterator]())):r,"%JSON%":"object"==typeof JSON?JSON:r,"%Map%":"undefined"==typeof Map?r:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&E&&R?R(/* @__PURE__ */(new Map)[Symbol.iterator]()):r,"%Math%":Math,"%Number%":Number,"%Object%":n,"%Object.getOwnPropertyDescriptor%":w,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?r:Promise,"%Proxy%":"undefined"==typeof Proxy?r:Proxy,"%RangeError%":i,"%ReferenceError%":s,"%Reflect%":"undefined"==typeof Reflect?r:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?r:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&E&&R?R(/* @__PURE__ */(new Set)[Symbol.iterator]()):r,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":E&&R?R(""[Symbol.iterator]()):r,"%Symbol%":E?Symbol:r,"%SyntaxError%":l,"%ThrowTypeError%":A,"%TypedArray%":T,"%TypeError%":c,"%Uint8Array%":"undefined"==typeof Uint8Array?r:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?r:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?r:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?r:Uint32Array,"%URIError%":u,"%WeakMap%":"undefined"==typeof WeakMap?r:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?r:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?r:WeakSet,"%Function.prototype.call%":P,"%Function.prototype.apply%":C,"%Object.defineProperty%":S,"%Object.getPrototypeOf%":_,"%Math.abs%":p,"%Math.floor%":f,"%Math.max%":d,"%Math.min%":y,"%Math.pow%":h,"%Math.round%":m,"%Math.sign%":g,"%Reflect.getPrototypeOf%":x};if(R)try{null.error}catch(Va){k["%Error.prototype%"]=R(R(Va))}var B=function e(t){var r;if("%AsyncFunction%"===t)r=v("async function () {}");else if("%GeneratorFunction%"===t)r=v("function* () {}");else if("%AsyncGeneratorFunction%"===t)r=v("async function* () {}");else if("%AsyncGenerator%"===t){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===t){var o=e("%AsyncGenerator%");o&&R&&(r=R(o.prototype))}return k[t]=r,r},$={__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"]},F=Et(),N=kt(),D=F.call(P,Array.prototype.concat),L=F.call(C,Array.prototype.splice),M=F.call(P,String.prototype.replace),I=F.call(P,String.prototype.slice),U=F.call(P,RegExp.prototype.exec),q=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,z=/\\(\\)?/g,W=function(e,t){var r,n=e;if(N($,n)&&(n="%"+(r=$[n])[0]+"%"),N(k,n)){var o=k[n];if(o===j&&(o=B(n)),void 0===o&&!t)throw new c("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:o}}throw new l("intrinsic "+e+" does not exist!")};t.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new c("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new c('"allowMissing" argument must be a boolean');if(null===U(/^%?[^%]*%?$/,e))throw new l("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var r=function(e){var t=I(e,0,1),r=I(e,-1);if("%"===t&&"%"!==r)throw new l("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==t)throw new l("invalid intrinsic syntax, expected opening `%`");var n=[];return M(e,q,function(e,t,r,o){n[n.length]=r?M(o,z,"$1"):t||e}),n}(e),n=r.length>0?r[0]:"",o=W("%"+n+"%",t),a=o.name,i=o.value,s=!1,u=o.alias;u&&(n=u[0],L(r,D([0,1],u)));for(var p=1,f=!0;p<r.length;p+=1){var d=r[p],y=I(d,0,1),h=I(d,-1);if(('"'===y||"'"===y||"`"===y||'"'===h||"'"===h||"`"===h)&&y!==h)throw new l("property names with quotes must have matching quotes");if("constructor"!==d&&f||(s=!0),N(k,a="%"+(n+="."+d)+"%"))i=k[a];else if(null!=i){if(!(d in i)){if(!t)throw new c("base intrinsic for "+e+" exists, but the property is not available.");return}if(w&&p+1>=r.length){var m=w(i,d);i=(f=!!m)&&"get"in m&&!("originalValue"in m.get)?m.get:i[d]}else f=N(i,d),i=i[d];f&&!s&&(k[a]=i)}}return i}}),$t=/* @__PURE__ */je((e,t)=>{var r=Bt(),n=Pt(),o=n([r("%String.prototype.indexOf%")]);t.exports=function(e,t){var a=r(e,!!t);return"function"==typeof a&&o(e,".prototype.")>-1?n([a]):a}}),Ft=/* @__PURE__ */je((e,t)=>{var r=Bt(),n=$t(),o=Ye(),a=Xe(),i=r("%Map%",!0),s=n("Map.prototype.get",!0),l=n("Map.prototype.set",!0),c=n("Map.prototype.has",!0),u=n("Map.prototype.delete",!0),p=n("Map.prototype.size",!0);t.exports=!!i&&function(){var e,t={assert:function(e){if(!t.has(e))throw new a("Side channel does not contain "+o(e))},delete:function(t){if(e){var r=u(e,t);return 0===p(e)&&(e=void 0),r}return!1},get:function(t){if(e)return s(e,t)},has:function(t){return!!e&&c(e,t)},set:function(t,r){e||(e=new i),l(e,t,r)}};return t}}),Nt=/* @__PURE__ */je((e,t)=>{var r=Bt(),n=$t(),o=Ye(),a=Ft(),i=Xe(),s=r("%WeakMap%",!0),l=n("WeakMap.prototype.get",!0),c=n("WeakMap.prototype.set",!0),u=n("WeakMap.prototype.has",!0),p=n("WeakMap.prototype.delete",!0);t.exports=s?function(){var e,t,r={assert:function(e){if(!r.has(e))throw new i("Side channel does not contain "+o(e))},delete:function(r){if(s&&r&&("object"==typeof r||"function"==typeof r)){if(e)return p(e,r)}else if(a&&t)return t.delete(r);return!1},get:function(r){return s&&r&&("object"==typeof r||"function"==typeof r)&&e?l(e,r):t&&t.get(r)},has:function(r){return s&&r&&("object"==typeof r||"function"==typeof r)&&e?u(e,r):!!t&&t.has(r)},set:function(r,n){s&&r&&("object"==typeof r||"function"==typeof r)?(e||(e=new s),c(e,r,n)):a&&(t||(t=a()),t.set(r,n))}};return r}:a}),Dt=/* @__PURE__ */je((e,t)=>{var r=Xe(),n=Ye(),o=et(),a=Ft(),i=Nt()||a||o;t.exports=function(){var e,t={assert:function(e){if(!t.has(e))throw new r("Side channel does not contain "+n(e))},delete:function(t){return!!e&&e.delete(t)},get:function(t){return e&&e.get(t)},has:function(t){return!!e&&e.has(t)},set:function(t,r){e||(e=i()),e.set(t,r)}};return t}}),Lt=/* @__PURE__ */je((e,t)=>{var r=String.prototype.replace,n=/%20/g,o="RFC1738",a="RFC3986";t.exports={default:a,formatters:{RFC1738:function(e){return r.call(e,n,"+")},RFC3986:function(e){return String(e)}},RFC1738:o,RFC3986:a}}),Mt=/* @__PURE__ */je((e,t)=>{var r=Lt(),n=Dt(),o=Object.prototype.hasOwnProperty,a=Array.isArray,i=n(),s=function(e,t){return i.set(e,t),e},l=function(e){return i.has(e)},c=function(e){return i.get(e)},u=function(e,t){i.set(e,t)},p=function(){for(var e=[],t=0;t<256;++t)e[e.length]="%"+((t<16?"0":"")+t.toString(16)).toUpperCase();return e}(),f=function(e,t){for(var r=t&&t.plainObjects?{__proto__:null}:{},n=0;n<e.length;++n)void 0!==e[n]&&(r[n]=e[n]);return r},d=1024;t.exports={arrayToObject:f,assign:function(e,t){return Object.keys(t).reduce(function(e,r){return e[r]=t[r],e},e)},combine:function(e,t,r,n){if(l(e)){var o=c(e)+1;return e[o]=t,u(e,o),e}var a=[].concat(e,t);return a.length>r?s(f(a,{plainObjects:n}),a.length-1):a},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],r=[],n=0;n<t.length;++n)for(var o=t[n],i=o.obj[o.prop],s=Object.keys(i),l=0;l<s.length;++l){var c=s[l],u=i[c];"object"==typeof u&&null!==u&&-1===r.indexOf(u)&&(t[t.length]={obj:i,prop:c},r[r.length]=u)}return function(e){for(;e.length>1;){var t=e.pop(),r=t.obj[t.prop];if(a(r)){for(var n=[],o=0;o<r.length;++o)void 0!==r[o]&&(n[n.length]=r[o]);t.obj[t.prop]=n}}}(t),e},decode:function(e,t,r){var n=e.replace(/\+/g," ");if("iso-8859-1"===r)return n.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(n)}catch(Va){return n}},encode:function(e,t,n,o,a){if(0===e.length)return e;var i=e;if("symbol"==typeof e?i=Symbol.prototype.toString.call(e):"string"!=typeof e&&(i=String(e)),"iso-8859-1"===n)return escape(i).replace(/%u[0-9a-f]{4}/gi,function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"});for(var s="",l=0;l<i.length;l+=d){for(var c=i.length>=d?i.slice(l,l+d):i,u=[],f=0;f<c.length;++f){var y=c.charCodeAt(f);45===y||46===y||95===y||126===y||y>=48&&y<=57||y>=65&&y<=90||y>=97&&y<=122||a===r.RFC1738&&(40===y||41===y)?u[u.length]=c.charAt(f):y<128?u[u.length]=p[y]:y<2048?u[u.length]=p[192|y>>6]+p[128|63&y]:y<55296||y>=57344?u[u.length]=p[224|y>>12]+p[128|y>>6&63]+p[128|63&y]:(f+=1,y=65536+((1023&y)<<10|1023&c.charCodeAt(f)),u[u.length]=p[240|y>>18]+p[128|y>>12&63]+p[128|y>>6&63]+p[128|63&y])}s+=u.join("")}return s},isBuffer:function(e){return!(!e||"object"!=typeof e)&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isOverflow:l,isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},markOverflow:s,maybeMap:function(e,t){if(a(e)){for(var r=[],n=0;n<e.length;n+=1)r[r.length]=t(e[n]);return r}return t(e)},merge:function e(t,r,n){if(!r)return t;if("object"!=typeof r&&"function"!=typeof r){if(a(t)){var i=t.length;if(n&&"number"==typeof n.arrayLimit&&i>n.arrayLimit)return s(f(t.concat(r),n),i);t[i]=r}else{if(!t||"object"!=typeof t)return[t,r];if(l(t)){var p=c(t)+1;t[p]=r,u(t,p)}else{if(n&&n.strictMerge)return[t,r];(n&&(n.plainObjects||n.allowPrototypes)||!o.call(Object.prototype,r))&&(t[r]=!0)}}return t}if(!t||"object"!=typeof t){if(l(r)){for(var d=Object.keys(r),y=n&&n.plainObjects?{__proto__:null,0:t}:{0:t},h=0;h<d.length;h++){y[parseInt(d[h],10)+1]=r[d[h]]}return s(y,c(r)+1)}var m=[t].concat(r);return n&&"number"==typeof n.arrayLimit&&m.length>n.arrayLimit?s(f(m,n),m.length-1):m}var g=t;return a(t)&&!a(r)&&(g=f(t,n)),a(t)&&a(r)?(r.forEach(function(r,a){if(o.call(t,a)){var i=t[a];i&&"object"==typeof i&&r&&"object"==typeof r?t[a]=e(i,r,n):t[t.length]=r}else t[a]=r}),t):Object.keys(r).reduce(function(t,a){var i=r[a];if(o.call(t,a)?t[a]=e(t[a],i,n):t[a]=i,l(r)&&!l(t)&&s(t,c(r)),l(t)){var p=parseInt(a,10);String(p)===a&&p>=0&&p>c(t)&&u(t,p)}return t},g)}}}),It=/* @__PURE__ */je((e,t)=>{var r=Dt(),n=Mt(),o=Lt(),a=Object.prototype.hasOwnProperty,i={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},s=Array.isArray,l=Array.prototype.push,c=function(e,t){l.apply(e,s(t)?t:[t])},u=Date.prototype.toISOString,p=o.default,f={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,commaRoundTrip:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:n.encode,encodeValuesOnly:!1,filter:void 0,format:p,formatter:o.formatters[p],indices:!1,serializeDate:function(e){return u.call(e)},skipNulls:!1,strictNullHandling:!1},d={},y=function e(t,o,a,i,l,u,p,y,h,m,g,b,v,w,S,O,A,E){for(var R,_=t,x=E,C=0,P=!1;void 0!==(x=x.get(d))&&!P;){var j=x.get(t);if(C+=1,void 0!==j){if(j===C)throw new RangeError("Cyclic object value");P=!0}void 0===x.get(d)&&(C=0)}if("function"==typeof m?_=m(o,_):_ instanceof Date?_=v(_):"comma"===a&&s(_)&&(_=n.maybeMap(_,function(e){return e instanceof Date?v(e):e})),null===_){if(u)return S(h&&!O?h(o,f.encoder,A,"key",w):o);_=""}if("string"==typeof(R=_)||"number"==typeof R||"boolean"==typeof R||"symbol"==typeof R||"bigint"==typeof R||n.isBuffer(_))return h?[S(O?o:h(o,f.encoder,A,"key",w))+"="+S(h(_,f.encoder,A,"value",w))]:[S(o)+"="+S(String(_))];var T,k=[];if(void 0===_)return k;if("comma"===a&&s(_))O&&h&&(_=n.maybeMap(_,function(e){return null==e?e:h(e)})),T=[{value:_.length>0?_.join(",")||null:void 0}];else if(s(m))T=m;else{var B=Object.keys(_);T=g?B.sort(g):B}var $=y?String(o).replace(/\./g,"%2E"):String(o),F=i&&s(_)&&1===_.length?$+"[]":$;if(l&&s(_)&&0===_.length)return F+"[]";for(var N=0;N<T.length;++N){var D=T[N],L="object"==typeof D&&D&&void 0!==D.value?D.value:_[D];if(!p||null!==L){var M=b&&y?String(D).replace(/\./g,"%2E"):String(D),I=s(_)?"function"==typeof a?a(F,M):F:F+(b?"."+M:"["+M+"]");E.set(t,C);var U=r();U.set(d,E),c(k,e(L,I,a,i,l,u,p,y,"comma"===a&&O&&s(_)?null:h,m,g,b,v,w,S,O,A,U))}}return k};t.exports=function(e,t){var n,l=e,u=function(e){if(!e)return f;if(void 0!==e.allowEmptyArrays&&"boolean"!=typeof e.allowEmptyArrays)throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(void 0!==e.encodeDotInKeys&&"boolean"!=typeof e.encodeDotInKeys)throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(null!==e.encoder&&void 0!==e.encoder&&"function"!=typeof e.encoder)throw new TypeError("Encoder has to be a function.");var t=e.charset||f.charset;if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var r=o.default;if(void 0!==e.format){if(!a.call(o.formatters,e.format))throw new TypeError("Unknown format option provided.");r=e.format}var n,l=o.formatters[r],c=f.filter;if(("function"==typeof e.filter||s(e.filter))&&(c=e.filter),n=e.arrayFormat in i?e.arrayFormat:"indices"in e?e.indices?"indices":"repeat":f.arrayFormat,"commaRoundTrip"in e&&"boolean"!=typeof e.commaRoundTrip)throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var u=void 0===e.allowDots?!0===e.encodeDotInKeys||f.allowDots:!!e.allowDots;return{addQueryPrefix:"boolean"==typeof e.addQueryPrefix?e.addQueryPrefix:f.addQueryPrefix,allowDots:u,allowEmptyArrays:"boolean"==typeof e.allowEmptyArrays?!!e.allowEmptyArrays:f.allowEmptyArrays,arrayFormat:n,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:f.charsetSentinel,commaRoundTrip:!!e.commaRoundTrip,delimiter:void 0===e.delimiter?f.delimiter:e.delimiter,encode:"boolean"==typeof e.encode?e.encode:f.encode,encodeDotInKeys:"boolean"==typeof e.encodeDotInKeys?e.encodeDotInKeys:f.encodeDotInKeys,encoder:"function"==typeof e.encoder?e.encoder:f.encoder,encodeValuesOnly:"boolean"==typeof e.encodeValuesOnly?e.encodeValuesOnly:f.encodeValuesOnly,filter:c,format:r,formatter:l,serializeDate:"function"==typeof e.serializeDate?e.serializeDate:f.serializeDate,skipNulls:"boolean"==typeof e.skipNulls?e.skipNulls:f.skipNulls,sort:"function"==typeof e.sort?e.sort:null,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:f.strictNullHandling}}(t);"function"==typeof u.filter?l=(0,u.filter)("",l):s(u.filter)&&(n=u.filter);var p=[];if("object"!=typeof l||null===l)return"";var d=i[u.arrayFormat],h="comma"===d&&u.commaRoundTrip;n||(n=Object.keys(l)),u.sort&&n.sort(u.sort);for(var m=r(),g=0;g<n.length;++g){var b=n[g];if(null!=b){var v=l[b];u.skipNulls&&null===v||c(p,y(v,b,d,h,u.allowEmptyArrays,u.strictNullHandling,u.skipNulls,u.encodeDotInKeys,u.encode?u.encoder:null,u.filter,u.sort,u.allowDots,u.serializeDate,u.format,u.formatter,u.encodeValuesOnly,u.charset,m))}}var w=p.join(u.delimiter),S=!0===u.addQueryPrefix?"?":"";return u.charsetSentinel&&("iso-8859-1"===u.charset?S+="utf8=%26%2310003%3B"+u.delimiter:S+="utf8=%E2%9C%93"+u.delimiter),w.length>0?S+w:""}}),Ut=/* @__PURE__ */je((e,t)=>{var r=Mt(),n=Object.prototype.hasOwnProperty,o=Array.isArray,a={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:r.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictMerge:!0,strictNullHandling:!1,throwOnLimitExceeded:!1},i=function(e){return e.replace(/&#(\d+);/g,function(e,t){return String.fromCharCode(parseInt(t,10))})},s=function(e,t,r){if(e&&"string"==typeof e&&t.comma&&e.indexOf(",")>-1)return e.split(",");if(t.throwOnLimitExceeded&&r>=t.arrayLimit)throw new RangeError("Array limit exceeded. Only "+t.arrayLimit+" element"+(1===t.arrayLimit?"":"s")+" allowed in an array.");return e},l=function(e,t,o,a){if(e){var i=function(e,t){var r=t.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e;if(t.depth<=0){if(!t.plainObjects&&n.call(Object.prototype,r)&&!t.allowPrototypes)return;return[r]}var o=[],a=r.indexOf("["),i=a>=0?r.slice(0,a):r;if(i){if(!t.plainObjects&&n.call(Object.prototype,i)&&!t.allowPrototypes)return;o[o.length]=i}for(var s=r.length,l=a,c=0;l>=0&&c<t.depth;){for(var u=1,p=l+1,f=-1;p<s&&f<0;){var d=r.charCodeAt(p);91===d?u+=1:93===d&&0==(u-=1)&&(f=p),p+=1}if(f<0)return o[o.length]="["+r.slice(l)+"]",o;var y=r.slice(l,f+1),h=y.slice(1,-1);if(!t.plainObjects&&n.call(Object.prototype,h)&&!t.allowPrototypes)return;o[o.length]=y,c+=1,l=r.indexOf("[",f+1)}if(l>=0){if(!0===t.strictDepth)throw new RangeError("Input depth exceeded depth option of "+t.depth+" and strictDepth is true");o[o.length]="["+r.slice(l)+"]"}return o}(e,o);if(i)return function(e,t,n,o){var a=0;if(e.length>0&&"[]"===e[e.length-1]){var i=e.slice(0,-1).join("");a=Array.isArray(t)&&t[i]?t[i].length:0}for(var l=o?t:s(t,n,a),c=e.length-1;c>=0;--c){var u,p=e[c];if("[]"===p&&n.parseArrays)u=r.isOverflow(l)?l:n.allowEmptyArrays&&(""===l||n.strictNullHandling&&null===l)?[]:r.combine([],l,n.arrayLimit,n.plainObjects);else{u=n.plainObjects?{__proto__:null}:{};var f="["===p.charAt(0)&&"]"===p.charAt(p.length-1)?p.slice(1,-1):p,d=n.decodeDotInKeys?f.replace(/%2E/g,"."):f,y=parseInt(d,10),h=!isNaN(y)&&p!==d&&String(y)===d&&y>=0&&n.parseArrays;if(n.parseArrays||""!==d)if(h&&y<n.arrayLimit)(u=[])[y]=l;else{if(h&&n.throwOnLimitExceeded)throw new RangeError("Array limit exceeded. Only "+n.arrayLimit+" element"+(1===n.arrayLimit?"":"s")+" allowed in an array.");h?(u[y]=l,r.markOverflow(u,y)):"__proto__"!==d&&(u[d]=l)}else u={0:l}}l=u}return l}(i,t,o,a)}};t.exports=function(e,t){var c=function(e){if(!e)return a;if(void 0!==e.allowEmptyArrays&&"boolean"!=typeof e.allowEmptyArrays)throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(void 0!==e.decodeDotInKeys&&"boolean"!=typeof e.decodeDotInKeys)throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(null!==e.decoder&&void 0!==e.decoder&&"function"!=typeof e.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");if(void 0!==e.throwOnLimitExceeded&&"boolean"!=typeof e.throwOnLimitExceeded)throw new TypeError("`throwOnLimitExceeded` option must be a boolean");var t=void 0===e.charset?a.charset:e.charset,n=void 0===e.duplicates?a.duplicates:e.duplicates;if("combine"!==n&&"first"!==n&&"last"!==n)throw new TypeError("The duplicates option must be either combine, first, or last");return{allowDots:void 0===e.allowDots?!0===e.decodeDotInKeys||a.allowDots:!!e.allowDots,allowEmptyArrays:"boolean"==typeof e.allowEmptyArrays?!!e.allowEmptyArrays:a.allowEmptyArrays,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:a.allowPrototypes,allowSparse:"boolean"==typeof e.allowSparse?e.allowSparse:a.allowSparse,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:a.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:a.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:a.comma,decodeDotInKeys:"boolean"==typeof e.decodeDotInKeys?e.decodeDotInKeys:a.decodeDotInKeys,decoder:"function"==typeof e.decoder?e.decoder:a.decoder,delimiter:"string"==typeof e.delimiter||r.isRegExp(e.delimiter)?e.delimiter:a.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:a.depth,duplicates:n,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:a.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:a.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:a.plainObjects,strictDepth:"boolean"==typeof e.strictDepth?!!e.strictDepth:a.strictDepth,strictMerge:"boolean"==typeof e.strictMerge?!!e.strictMerge:a.strictMerge,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:a.strictNullHandling,throwOnLimitExceeded:"boolean"==typeof e.throwOnLimitExceeded&&e.throwOnLimitExceeded}}(t);if(""===e||null==e)return c.plainObjects?{__proto__:null}:{};for(var u="string"==typeof e?function(e,t){var l={__proto__:null},c=t.ignoreQueryPrefix?e.replace(/^\?/,""):e;c=c.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var u=t.parameterLimit===1/0?void 0:t.parameterLimit,p=c.split(t.delimiter,t.throwOnLimitExceeded&&void 0!==u?u+1:u);if(t.throwOnLimitExceeded&&void 0!==u&&p.length>u)throw new RangeError("Parameter limit exceeded. Only "+u+" parameter"+(1===u?"":"s")+" allowed.");var f,d=-1,y=t.charset;if(t.charsetSentinel)for(f=0;f<p.length;++f)0===p[f].indexOf("utf8=")&&("utf8=%E2%9C%93"===p[f]?y="utf-8":"utf8=%26%2310003%3B"===p[f]&&(y="iso-8859-1"),d=f,f=p.length);for(f=0;f<p.length;++f)if(f!==d){var h,m,g=p[f],b=g.indexOf("]="),v=-1===b?g.indexOf("="):b+1;if(-1===v?(h=t.decoder(g,a.decoder,y,"key"),m=t.strictNullHandling?null:""):null!==(h=t.decoder(g.slice(0,v),a.decoder,y,"key"))&&(m=r.maybeMap(s(g.slice(v+1),t,o(l[h])?l[h].length:0),function(e){return t.decoder(e,a.decoder,y,"value")})),m&&t.interpretNumericEntities&&"iso-8859-1"===y&&(m=i(String(m))),g.indexOf("[]=")>-1&&(m=o(m)?[m]:m),t.comma&&o(m)&&m.length>t.arrayLimit){if(t.throwOnLimitExceeded)throw new RangeError("Array limit exceeded. Only "+t.arrayLimit+" element"+(1===t.arrayLimit?"":"s")+" allowed in an array.");m=r.combine([],m,t.arrayLimit,t.plainObjects)}if(null!==h){var w=n.call(l,h);w&&("combine"===t.duplicates||g.indexOf("[]=")>-1)?l[h]=r.combine(l[h],m,t.arrayLimit,t.plainObjects):w&&"last"!==t.duplicates||(l[h]=m)}}return l}(e,c):e,p=c.plainObjects?{__proto__:null}:{},f=Object.keys(u),d=0;d<f.length;++d){var y=f[d],h=l(y,u[y],c,"string"==typeof e);p=r.merge(p,h,c)}return!0===c.allowSparse?p:r.compact(p)}}),qt=/* @__PURE__ */je((e,t)=>{var r=It(),n=Ut(),o=Lt();t.exports={formats:o,parse:n,stringify:r}});function zt(e,t){return function(){return e.apply(t,arguments)}}var Wt,{toString:Ht}=Object.prototype,{getPrototypeOf:Kt}=Object,{iterator:Vt,toStringTag:Qt}=Symbol,Gt=(Wt=Object.create(null),e=>{const t=Ht.call(e);return Wt[t]||(Wt[t]=t.slice(8,-1).toLowerCase())}),Jt=e=>(e=e.toLowerCase(),t=>Gt(t)===e),Xt=e=>t=>typeof t===e,{isArray:Zt}=Array,Yt=Xt("undefined");function er(e){return null!==e&&!Yt(e)&&null!==e.constructor&&!Yt(e.constructor)&&nr(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}var tr=Jt("ArrayBuffer");var rr=Xt("string"),nr=Xt("function"),or=Xt("number"),ar=e=>null!==e&&"object"==typeof e,ir=e=>{if("object"!==Gt(e))return!1;const t=Kt(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Qt in e||Vt in e)},sr=Jt("Date"),lr=Jt("File"),cr=Jt("Blob"),ur=Jt("FileList");var pr="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{},fr=void 0!==pr.FormData?pr.FormData:void 0,dr=Jt("URLSearchParams"),[yr,hr,mr,gr]=["ReadableStream","Request","Response","Headers"].map(Jt);function br(e,t,{allOwnKeys:r=!1}={}){if(null==e)return;let n,o;if("object"!=typeof e&&(e=[e]),Zt(e))for(n=0,o=e.length;n<o;n++)t.call(null,e[n],n,e);else{if(er(e))return;const o=r?Object.getOwnPropertyNames(e):Object.keys(e),a=o.length;let i;for(n=0;n<a;n++)i=o[n],t.call(null,e[i],i,e)}}function vr(e,t){if(er(e))return null;t=t.toLowerCase();const r=Object.keys(e);let n,o=r.length;for(;o-- >0;)if(n=r[o],t===n.toLowerCase())return n;return null}var wr="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,Sr=e=>!Yt(e)&&e!==wr;var Or,Ar=(Or="undefined"!=typeof Uint8Array&&Kt(Uint8Array),e=>Or&&e instanceof Or),Er=Jt("HTMLFormElement"),Rr=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),_r=Jt("RegExp"),xr=(e,t)=>{const r=Object.getOwnPropertyDescriptors(e),n={};br(r,(r,o)=>{let a;!1!==(a=t(r,o,e))&&(n[o]=a||r)}),Object.defineProperties(e,n)};var Cr,Pr,jr,Tr,kr=Jt("AsyncFunction"),Br=(Cr="function"==typeof setImmediate,Pr=nr(wr.postMessage),Cr?setImmediate:Pr?(jr=`axios@${Math.random()}`,Tr=[],wr.addEventListener("message",({source:e,data:t})=>{e===wr&&t===jr&&Tr.length&&Tr.shift()()},!1),e=>{Tr.push(e),wr.postMessage(jr,"*")}):e=>setTimeout(e)),$r="undefined"!=typeof queueMicrotask?queueMicrotask.bind(wr):"undefined"!=typeof process&&process.nextTick||Br,Fr={isArray:Zt,isArrayBuffer:tr,isBuffer:er,isFormData:e=>{if(!e)return!1;if(fr&&e instanceof fr)return!0;const t=Kt(e);if(!t||t===Object.prototype)return!1;if(!nr(e.append))return!1;const r=Gt(e);return"formdata"===r||"object"===r&&nr(e.toString)&&"[object FormData]"===e.toString()},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&tr(e.buffer),t},isString:rr,isNumber:or,isBoolean:e=>!0===e||!1===e,isObject:ar,isPlainObject:ir,isEmptyObject:e=>{if(!ar(e)||er(e))return!1;try{return 0===Object.keys(e).length&&Object.getPrototypeOf(e)===Object.prototype}catch(Va){return!1}},isReadableStream:yr,isRequest:hr,isResponse:mr,isHeaders:gr,isUndefined:Yt,isDate:sr,isFile:lr,isReactNativeBlob:e=>!(!e||void 0===e.uri),isReactNative:e=>e&&void 0!==e.getParts,isBlob:cr,isRegExp:_r,isFunction:nr,isStream:e=>ar(e)&&nr(e.pipe),isURLSearchParams:dr,isTypedArray:Ar,isFileList:ur,forEach:br,merge:function e(...t){const{caseless:r,skipUndefined:n}=Sr(this)&&this||{},o={},a=(t,a)=>{if("__proto__"===a||"constructor"===a||"prototype"===a)return;const i=r&&vr(o,a)||a,s=Rr(o,i)?o[i]:void 0;ir(s)&&ir(t)?o[i]=e(s,t):ir(t)?o[i]=e({},t):Zt(t)?o[i]=t.slice():n&&Yt(t)||(o[i]=t)};for(let i=0,s=t.length;i<s;i++)t[i]&&br(t[i],a);return o},extend:(e,t,r,{allOwnKeys:n}={})=>(br(t,(t,n)=>{r&&nr(t)?Object.defineProperty(e,n,{__proto__:null,value:zt(t,r),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(e,n,{__proto__:null,value:t,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:n}),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,r,n)=>{e.prototype=Object.create(t.prototype,n),Object.defineProperty(e.prototype,"constructor",{__proto__:null,value:e,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(e,"super",{__proto__:null,value:t.prototype}),r&&Object.assign(e.prototype,r)},toFlatObject:(e,t,r,n)=>{let o,a,i;const s={};if(t=t||{},null==e)return t;do{for(o=Object.getOwnPropertyNames(e),a=o.length;a-- >0;)i=o[a],n&&!n(i,e,t)||s[i]||(t[i]=e[i],s[i]=!0);e=!1!==r&&Kt(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},kindOf:Gt,kindOfTest:Jt,endsWith:(e,t,r)=>{e=String(e),(void 0===r||r>e.length)&&(r=e.length),r-=t.length;const n=e.indexOf(t,r);return-1!==n&&n===r},toArray:e=>{if(!e)return null;if(Zt(e))return e;let t=e.length;if(!or(t))return null;const r=new Array(t);for(;t-- >0;)r[t]=e[t];return r},forEachEntry:(e,t)=>{const r=(e&&e[Vt]).call(e);let n;for(;(n=r.next())&&!n.done;){const r=n.value;t.call(e,r[0],r[1])}},matchAll:(e,t)=>{let r;const n=[];for(;null!==(r=e.exec(t));)n.push(r);return n},isHTMLForm:Er,hasOwnProperty:Rr,hasOwnProp:Rr,reduceDescriptors:xr,freezeMethods:e=>{xr(e,(t,r)=>{if(nr(e)&&["arguments","caller","callee"].includes(r))return!1;const n=e[r];nr(n)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")}))})},toObjectSet:(e,t)=>{const r={},n=e=>{e.forEach(e=>{r[e]=!0})};return Zt(e)?n(e):n(String(e).split(t)),r},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(e,t,r){return t.toUpperCase()+r}),noop:()=>{},toFiniteNumber:(e,t)=>null!=e&&Number.isFinite(e=+e)?e:t,findKey:vr,global:wr,isContextDefined:Sr,isSpecCompliantForm:function(e){return!!(e&&nr(e.append)&&"FormData"===e[Qt]&&e[Vt])},toJSONObject:e=>{const t=/* @__PURE__ */new WeakSet,r=e=>{if(ar(e)){if(t.has(e))return;if(er(e))return e;if(!("toJSON"in e)){t.add(e);const n=Zt(e)?[]:{};return br(e,(e,t)=>{const o=r(e);!Yt(o)&&(n[t]=o)}),t.delete(e),n}}return e};return r(e)},isAsyncFn:kr,isThenable:e=>e&&(ar(e)||nr(e))&&nr(e.then)&&nr(e.catch),setImmediate:Br,asap:$r,isIterable:e=>null!=e&&nr(e[Vt])},Nr=Fr.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"]);var Dr=/* @__PURE__ */new RegExp("[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+","g"),Lr=/* @__PURE__ */new RegExp("[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+","g");function Mr(e,t){return Fr.isArray(e)?e.map(e=>Mr(e,t)):function(e){let t=0,r=e.length;for(;t<r;){const r=e.charCodeAt(t);if(9!==r&&32!==r)break;t+=1}for(;r>t;){const t=e.charCodeAt(r-1);if(9!==t&&32!==t)break;r-=1}return 0===t&&r===e.length?e:e.slice(t,r)}(String(e).replace(t,""))}function Ir(e){const t=Object.create(null);return Fr.forEach(e.toJSON(),(e,r)=>{t[r]=(e=>Mr(e,Lr))(e)}),t}var Ur=Symbol("internals");function qr(e){return e&&String(e).trim().toLowerCase()}function zr(e){return!1===e||null==e?e:Fr.isArray(e)?e.map(zr):(e=>Mr(e,Dr))(String(e))}function Wr(e,t,r,n,o){return Fr.isFunction(n)?n.call(this,t,r):(o&&(t=r),Fr.isString(t)?Fr.isString(n)?-1!==t.indexOf(n):Fr.isRegExp(n)?n.test(t):void 0:void 0)}var Hr=class{constructor(e){e&&this.set(e)}set(e,t,r){const n=this;function o(e,t,r){const o=qr(t);if(!o)throw new Error("header name must be a non-empty string");const a=Fr.findKey(n,o);(!a||void 0===n[a]||!0===r||void 0===r&&!1!==n[a])&&(n[a||t]=zr(e))}const a=(e,t)=>Fr.forEach(e,(e,r)=>o(e,r,t));if(Fr.isPlainObject(e)||e instanceof this.constructor)a(e,t);else if(Fr.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim()))a((e=>{const t={};let r,n,o;return e&&e.split("\n").forEach(function(e){o=e.indexOf(":"),r=e.substring(0,o).trim().toLowerCase(),n=e.substring(o+1).trim(),!r||t[r]&&Nr[r]||("set-cookie"===r?t[r]?t[r].push(n):t[r]=[n]:t[r]=t[r]?t[r]+", "+n:n)}),t})(e),t);else if(Fr.isObject(e)&&Fr.isIterable(e)){let r,n,o={};for(const t of e){if(!Fr.isArray(t))throw TypeError("Object iterator must return a key-value pair");o[n=t[0]]=(r=o[n])?Fr.isArray(r)?[...r,t[1]]:[r,t[1]]:t[1]}a(o,t)}else null!=e&&o(t,e,r);return this}get(e,t){if(e=qr(e)){const r=Fr.findKey(this,e);if(r){const e=this[r];if(!t)return e;if(!0===t)return function(e){const t=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=r.exec(e);)t[n[1]]=n[2];return t}(e);if(Fr.isFunction(t))return t.call(this,e,r);if(Fr.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=qr(e)){const r=Fr.findKey(this,e);return!(!r||void 0===this[r]||t&&!Wr(0,this[r],r,t))}return!1}delete(e,t){const r=this;let n=!1;function o(e){if(e=qr(e)){const o=Fr.findKey(r,e);!o||t&&!Wr(0,r[o],o,t)||(delete r[o],n=!0)}}return Fr.isArray(e)?e.forEach(o):o(e),n}clear(e){const t=Object.keys(this);let r=t.length,n=!1;for(;r--;){const o=t[r];e&&!Wr(0,this[o],o,e,!0)||(delete this[o],n=!0)}return n}normalize(e){const t=this,r={};return Fr.forEach(this,(n,o)=>{const a=Fr.findKey(r,o);if(a)return t[a]=zr(n),void delete t[o];const i=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,t,r)=>t.toUpperCase()+r)}(o):String(o).trim();i!==o&&delete t[o],t[i]=zr(n),r[i]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return Fr.forEach(this,(r,n)=>{null!=r&&!1!==r&&(t[n]=e&&Fr.isArray(r)?r.join(", "):r)}),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,t])=>e+": "+t).join("\n")}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const r=new this(e);return t.forEach(e=>r.set(e)),r}static accessor(e){const t=(this[Ur]=this[Ur]={accessors:{}}).accessors,r=this.prototype;function n(e){const n=qr(e);t[n]||(!function(e,t){const r=Fr.toCamelCase(" "+t);["get","set","has"].forEach(n=>{Object.defineProperty(e,n+r,{__proto__:null,value:function(e,r,o){return this[n].call(this,t,e,r,o)},configurable:!0})})}(r,e),t[n]=!0)}return Fr.isArray(e)?e.forEach(n):n(e),this}};Hr.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),Fr.reduceDescriptors(Hr.prototype,({value:e},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[r]=e}}}),Fr.freezeMethods(Hr);function Kr(e,t){const r=new Set(t.map(e=>String(e).toLowerCase())),n=[],o=e=>{if(null===e||"object"!=typeof e)return e;if(Fr.isBuffer(e))return e;if(-1!==n.indexOf(e))return;let t;if(e instanceof Hr&&(e=e.toJSON()),n.push(e),Fr.isArray(e))t=[],e.forEach((e,r)=>{const n=o(e);Fr.isUndefined(n)||(t[r]=n)});else{if(!Fr.isPlainObject(e)&&function(e){if(Fr.hasOwnProp(e,"toJSON"))return!0;let t=Object.getPrototypeOf(e);for(;t&&t!==Object.prototype;){if(Fr.hasOwnProp(t,"toJSON"))return!0;t=Object.getPrototypeOf(t)}return!1}(e))return n.pop(),e;t=Object.create(null);for(const[n,a]of Object.entries(e)){const e=r.has(n.toLowerCase())?"[REDACTED ****]":o(a);Fr.isUndefined(e)||(t[n]=e)}}return n.pop(),t};return o(e)}var Vr=class e extends Error{static from(t,r,n,o,a,i){const s=new e(t.message,r||t.code,n,o,a);return s.cause=t,s.name=t.name,null!=t.status&&null==s.status&&(s.status=t.status),i&&Object.assign(s,i),s}constructor(e,t,r,n,o){super(e),Object.defineProperty(this,"message",{__proto__:null,value:e,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,t&&(this.code=t),r&&(this.config=r),n&&(this.request=n),o&&(this.response=o,this.status=o.status)}toJSON(){const e=this.config,t=e&&Fr.hasOwnProp(e,"redact")?e.redact:void 0,r=Fr.isArray(t)&&t.length>0?Kr(e,t):Fr.toJSONObject(e);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:r,code:this.code,status:this.status}}};function Qr(e){return Fr.isPlainObject(e)||Fr.isArray(e)}function Gr(e){return Fr.endsWith(e,"[]")?e.slice(0,-2):e}function Jr(e,t,r){return e?e.concat(t).map(function(e,t){return e=Gr(e),!r&&t?"["+e+"]":e}).join(r?".":""):t}Vr.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE",Vr.ERR_BAD_OPTION="ERR_BAD_OPTION",Vr.ECONNABORTED="ECONNABORTED",Vr.ETIMEDOUT="ETIMEDOUT",Vr.ECONNREFUSED="ECONNREFUSED",Vr.ERR_NETWORK="ERR_NETWORK",Vr.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS",Vr.ERR_DEPRECATED="ERR_DEPRECATED",Vr.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE",Vr.ERR_BAD_REQUEST="ERR_BAD_REQUEST",Vr.ERR_CANCELED="ERR_CANCELED",Vr.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT",Vr.ERR_INVALID_URL="ERR_INVALID_URL",Vr.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";var Xr=Fr.toFlatObject(Fr,{},null,function(e){return/^is[A-Z]/.test(e)});function Zr(e,t,r){if(!Fr.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;const n=(r=Fr.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(e,t){return!Fr.isUndefined(t[e])})).metaTokens,o=r.visitor||p,a=r.dots,i=r.indexes,s=r.Blob||"undefined"!=typeof Blob&&Blob,l=void 0===r.maxDepth?100:r.maxDepth,c=s&&Fr.isSpecCompliantForm(t);if(!Fr.isFunction(o))throw new TypeError("visitor must be a function");function u(e){if(null===e)return"";if(Fr.isDate(e))return e.toISOString();if(Fr.isBoolean(e))return e.toString();if(!c&&Fr.isBlob(e))throw new Vr("Blob is not supported. Use a Buffer instead.");return Fr.isArrayBuffer(e)||Fr.isTypedArray(e)?c&&"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}function p(e,r,o){let s=e;if(Fr.isReactNative(t)&&Fr.isReactNativeBlob(e))return t.append(Jr(o,r,a),u(e)),!1;if(e&&!o&&"object"==typeof e)if(Fr.endsWith(r,"{}"))r=n?r:r.slice(0,-2),e=JSON.stringify(e);else if(Fr.isArray(e)&&function(e){return Fr.isArray(e)&&!e.some(Qr)}(e)||(Fr.isFileList(e)||Fr.endsWith(r,"[]"))&&(s=Fr.toArray(e)))return r=Gr(r),s.forEach(function(e,n){!Fr.isUndefined(e)&&null!==e&&t.append(!0===i?Jr([r],n,a):null===i?r:r+"[]",u(e))}),!1;return!!Qr(e)||(t.append(Jr(o,r,a),u(e)),!1)}const f=[],d=Object.assign(Xr,{defaultVisitor:p,convertValue:u,isVisitable:Qr});if(!Fr.isObject(e))throw new TypeError("data must be an object");return function e(r,n,a=0){if(!Fr.isUndefined(r)){if(a>l)throw new Vr("Object is too deeply nested ("+a+" levels). Max depth: "+l,Vr.ERR_FORM_DATA_DEPTH_EXCEEDED);if(-1!==f.indexOf(r))throw Error("Circular reference detected in "+n.join("."));f.push(r),Fr.forEach(r,function(r,i){!0===(!(Fr.isUndefined(r)||null===r)&&o.call(t,r,Fr.isString(i)?i.trim():i,n,d))&&e(r,n?n.concat(i):[i],a+1)}),f.pop()}}(e),t}function Yr(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent(e).replace(/[!'()~]|%20/g,function(e){return t[e]})}function en(e,t){this._pairs=[],e&&Zr(e,this,t)}var tn=en.prototype;function rn(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function nn(e,t,r){if(!t)return e;const n=r&&r.encode||rn,o=Fr.isFunction(r)?{serialize:r}:r,a=o&&o.serialize;let i;if(i=a?a(t,o):Fr.isURLSearchParams(t)?t.toString():new en(t,o).toString(n),i){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}tn.append=function(e,t){this._pairs.push([e,t])},tn.toString=function(e){const t=e?function(t){return e.call(this,t,Yr)}:Yr;return this._pairs.map(function(e){return t(e[0])+"="+t(e[1])},"").join("&")};var on=class{constructor(){this.handlers=[]}use(e,t,r){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){Fr.forEach(this.handlers,function(t){null!==t&&e(t)})}},an={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0},sn={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:en,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]},ln=/* @__PURE__ */Te({hasBrowserEnv:()=>cn,hasStandardBrowserEnv:()=>pn,hasStandardBrowserWebWorkerEnv:()=>fn,navigator:()=>un,origin:()=>dn}),cn="undefined"!=typeof window&&"undefined"!=typeof document,un="object"==typeof navigator&&navigator||void 0,pn=cn&&(!un||["ReactNative","NativeScript","NS"].indexOf(un.product)<0),fn="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,dn=cn&&window.location.href||"http://localhost",yn={...ln,...sn};function hn(e){function t(e,r,n,o){let a=e[o++];if("__proto__"===a)return!0;const i=Number.isFinite(+a),s=o>=e.length;return a=!a&&Fr.isArray(n)?n.length:a,s?(Fr.hasOwnProp(n,a)?n[a]=Fr.isArray(n[a])?n[a].concat(r):[n[a],r]:n[a]=r,!i):(Fr.hasOwnProp(n,a)&&Fr.isObject(n[a])||(n[a]=[]),t(e,r,n[a],o)&&Fr.isArray(n[a])&&(n[a]=function(e){const t={},r=Object.keys(e);let n;const o=r.length;let a;for(n=0;n<o;n++)a=r[n],t[a]=e[a];return t}(n[a])),!i)}if(Fr.isFormData(e)&&Fr.isFunction(e.entries)){const r={};return Fr.forEachEntry(e,(e,n)=>{t(function(e){return Fr.matchAll(/\w+|\[(\w*)]/g,e).map(e=>"[]"===e[0]?"":e[1]||e[0])}(e),n,r,0)}),r}return null}var mn=(e,t)=>null!=e&&Fr.hasOwnProp(e,t)?e[t]:void 0;var gn={transitional:an,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const r=t.getContentType()||"",n=r.indexOf("application/json")>-1,o=Fr.isObject(e);if(o&&Fr.isHTMLForm(e)&&(e=new FormData(e)),Fr.isFormData(e))return n?JSON.stringify(hn(e)):e;if(Fr.isArrayBuffer(e)||Fr.isBuffer(e)||Fr.isStream(e)||Fr.isFile(e)||Fr.isBlob(e)||Fr.isReadableStream(e))return e;if(Fr.isArrayBufferView(e))return e.buffer;if(Fr.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let a;if(o){const t=mn(this,"formSerializer");if(r.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return Zr(e,new yn.classes.URLSearchParams,{visitor:function(e,t,r,n){return yn.isNode&&Fr.isBuffer(e)?(this.append(t,e.toString("base64")),!1):n.defaultVisitor.apply(this,arguments)},...t})}(e,t).toString();if((a=Fr.isFileList(e))||r.indexOf("multipart/form-data")>-1){const r=mn(this,"env"),n=r&&r.FormData;return Zr(a?{"files[]":e}:e,n&&new n,t)}}return o||n?(t.setContentType("application/json",!1),function(e,t,r){if(Fr.isString(e))try{return(t||JSON.parse)(e),Fr.trim(e)}catch(Va){if("SyntaxError"!==Va.name)throw Va}return(r||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=mn(this,"transitional")||gn.transitional,r=t&&t.forcedJSONParsing,n=mn(this,"responseType"),o="json"===n;if(Fr.isResponse(e)||Fr.isReadableStream(e))return e;if(e&&Fr.isString(e)&&(r&&!n||o)){const r=!(t&&t.silentJSONParsing)&&o;try{return JSON.parse(e,mn(this,"parseReviver"))}catch(Va){if(r){if("SyntaxError"===Va.name)throw Vr.from(Va,Vr.ERR_BAD_RESPONSE,this,null,mn(this,"response"));throw Va}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:yn.classes.FormData,Blob:yn.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};function bn(e,t){const r=this||gn,n=t||r,o=Hr.from(n.headers);let a=n.data;return Fr.forEach(e,function(e){a=e.call(r,a,o.normalize(),t?t.status:void 0)}),o.normalize(),a}function vn(e){return!(!e||!e.__CANCEL__)}Fr.forEach(["delete","get","head","post","put","patch","query"],e=>{gn.headers[e]={}});var wn=class extends Vr{constructor(e,t,r){super(null==e?"canceled":e,Vr.ERR_CANCELED,t,r),this.name="CanceledError",this.__CANCEL__=!0}};function Sn(e,t,r){const n=r.config.validateStatus;r.status&&n&&!n(r.status)?t(new Vr("Request failed with status code "+r.status,r.status>=400&&r.status<500?Vr.ERR_BAD_REQUEST:Vr.ERR_BAD_RESPONSE,r.config,r.request,r)):e(r)}var On=(e,t,r=3)=>{let n=0;const o=function(e,t){e=e||10;const r=new Array(e),n=new Array(e);let o,a=0,i=0;return t=void 0!==t?t:1e3,function(s){const l=Date.now(),c=n[i];o||(o=l),r[a]=s,n[a]=l;let u=i,p=0;for(;u!==a;)p+=r[u++],u%=e;if(a=(a+1)%e,a===i&&(i=(i+1)%e),l-o<t)return;const f=c&&l-c;return f?Math.round(1e3*p/f):void 0}}(50,250);return function(e,t){let r,n,o=0,a=1e3/t;const i=(t,a=Date.now())=>{o=a,r=null,n&&(clearTimeout(n),n=null),e(...t)};return[(...e)=>{const t=Date.now(),s=t-o;s>=a?i(e,t):(r=e,n||(n=setTimeout(()=>{n=null,i(r)},a-s)))},()=>r&&i(r)]}(r=>{if(!r||"number"!=typeof r.loaded)return;const a=r.loaded,i=r.lengthComputable?r.total:void 0,s=null!=i?Math.min(a,i):a,l=Math.max(0,s-n),c=o(l);n=Math.max(n,s),e({loaded:s,total:i,progress:i?s/i:void 0,bytes:l,rate:c||void 0,estimated:c&&i?(i-s)/c:void 0,event:r,lengthComputable:null!=i,[t?"download":"upload"]:!0})},r)},An=(e,t)=>{const r=null!=e;return[n=>t[0]({lengthComputable:r,total:e,loaded:n}),t[1]]},En=e=>(...t)=>Fr.asap(()=>e(...t)),Rn=yn.hasStandardBrowserEnv?((e,t)=>r=>(r=new URL(r,yn.origin),e.protocol===r.protocol&&e.host===r.host&&(t||e.port===r.port)))(new URL(yn.origin),yn.navigator&&/(msie|trident)/i.test(yn.navigator.userAgent)):()=>!0,_n=yn.hasStandardBrowserEnv?{write(e,t,r,n,o,a,i){if("undefined"==typeof document)return;const s=[`${e}=${encodeURIComponent(t)}`];Fr.isNumber(r)&&s.push(`expires=${new Date(r).toUTCString()}`),Fr.isString(n)&&s.push(`path=${n}`),Fr.isString(o)&&s.push(`domain=${o}`),!0===a&&s.push("secure"),Fr.isString(i)&&s.push(`SameSite=${i}`),document.cookie=s.join("; ")},read(e){if("undefined"==typeof document)return null;const t=document.cookie.split(";");for(let r=0;r<t.length;r++){const n=t[r].replace(/^\s+/,""),o=n.indexOf("=");if(-1!==o&&n.slice(0,o)===e)return decodeURIComponent(n.slice(o+1))}return null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read:()=>null,remove(){}};function xn(e,t,r){let n=!("string"==typeof(o=t)&&/^([a-z][a-z\d+\-.]*:)?\/\//i.test(o));var o;return e&&(n||!1===r)?function(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}var Cn=e=>e instanceof Hr?{...e}:e;function Pn(e,t){t=t||{};const r=Object.create(null);function n(e,t,r,n){return Fr.isPlainObject(e)&&Fr.isPlainObject(t)?Fr.merge.call({caseless:n},e,t):Fr.isPlainObject(t)?Fr.merge({},t):Fr.isArray(t)?t.slice():t}function o(e,t,r,o){return Fr.isUndefined(t)?Fr.isUndefined(e)?void 0:n(void 0,e,0,o):n(e,t,0,o)}function a(e,t){if(!Fr.isUndefined(t))return n(void 0,t)}function i(e,t){return Fr.isUndefined(t)?Fr.isUndefined(e)?void 0:n(void 0,e):n(void 0,t)}function s(r,o,a){return Fr.hasOwnProp(t,a)?n(r,o):Fr.hasOwnProp(e,a)?n(void 0,r):void 0}Object.defineProperty(r,"hasOwnProperty",{__proto__:null,value:Object.prototype.hasOwnProperty,enumerable:!1,writable:!0,configurable:!0});const l={url:a,method:a,data:a,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,allowedSocketPaths:i,responseEncoding:i,validateStatus:s,headers:(e,t,r)=>o(Cn(e),Cn(t),0,!0)};return Fr.forEach(Object.keys({...e,...t}),function(n){if("__proto__"===n||"constructor"===n||"prototype"===n)return;const a=Fr.hasOwnProp(l,n)?l[n]:o,i=a(Fr.hasOwnProp(e,n)?e[n]:void 0,Fr.hasOwnProp(t,n)?t[n]:void 0,n);Fr.isUndefined(i)&&a!==s||(r[n]=i)}),r}var jn=["content-type","content-length"];var Tn=e=>{const t=Pn({},e),r=e=>Fr.hasOwnProp(t,e)?t[e]:void 0,n=r("data");let o=r("withXSRFToken");const a=r("xsrfHeaderName"),i=r("xsrfCookieName");let s=r("headers");const l=r("auth"),c=r("baseURL"),u=r("allowAbsoluteUrls"),p=r("url");var f;if(t.headers=s=Hr.from(s),t.url=nn(xn(c,p,u),e.params,e.paramsSerializer),l&&s.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?(f=l.password,encodeURIComponent(f).replace(/%([0-9A-F]{2})/gi,(e,t)=>String.fromCharCode(parseInt(t,16)))):""))),Fr.isFormData(n)&&(yn.hasStandardBrowserEnv||yn.hasStandardBrowserWebWorkerEnv?s.setContentType(void 0):Fr.isFunction(n.getHeaders)&&function(e,t,r){"content-only"===r?Object.entries(t).forEach(([t,r])=>{jn.includes(t.toLowerCase())&&e.set(t,r)}):e.set(t)}(s,n.getHeaders(),r("formDataHeaderPolicy"))),yn.hasStandardBrowserEnv&&(Fr.isFunction(o)&&(o=o(t)),!0===o||null==o&&Rn(t.url))){const e=a&&i&&_n.read(i);e&&s.set(a,e)}return t},kn="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise(function(t,r){const n=Tn(e);let o=n.data;const a=Hr.from(n.headers).normalize();let i,s,l,c,u,{responseType:p,onUploadProgress:f,onDownloadProgress:d}=n;function y(){c&&c(),u&&u(),n.cancelToken&&n.cancelToken.unsubscribe(i),n.signal&&n.signal.removeEventListener("abort",i)}let h=new XMLHttpRequest;function m(){if(!h)return;const n=Hr.from("getAllResponseHeaders"in h&&h.getAllResponseHeaders());Sn(function(e){t(e),y()},function(e){r(e),y()},{data:p&&"text"!==p&&"json"!==p?h.response:h.responseText,status:h.status,statusText:h.statusText,headers:n,config:e,request:h}),h=null}h.open(n.method.toUpperCase(),n.url,!0),h.timeout=n.timeout,"onloadend"in h?h.onloadend=m:h.onreadystatechange=function(){h&&4===h.readyState&&(0!==h.status||h.responseURL&&h.responseURL.startsWith("file:"))&&setTimeout(m)},h.onabort=function(){h&&(r(new Vr("Request aborted",Vr.ECONNABORTED,e,h)),y(),h=null)},h.onerror=function(t){const n=new Vr(t&&t.message?t.message:"Network Error",Vr.ERR_NETWORK,e,h);n.event=t||null,r(n),y(),h=null},h.ontimeout=function(){let t=n.timeout?"timeout of "+n.timeout+"ms exceeded":"timeout exceeded";const o=n.transitional||an;n.timeoutErrorMessage&&(t=n.timeoutErrorMessage),r(new Vr(t,o.clarifyTimeoutError?Vr.ETIMEDOUT:Vr.ECONNABORTED,e,h)),y(),h=null},void 0===o&&a.setContentType(null),"setRequestHeader"in h&&Fr.forEach(Ir(a),function(e,t){h.setRequestHeader(t,e)}),Fr.isUndefined(n.withCredentials)||(h.withCredentials=!!n.withCredentials),p&&"json"!==p&&(h.responseType=n.responseType),d&&([l,u]=On(d,!0),h.addEventListener("progress",l)),f&&h.upload&&([s,c]=On(f),h.upload.addEventListener("progress",s),h.upload.addEventListener("loadend",c)),(n.cancelToken||n.signal)&&(i=t=>{h&&(r(!t||t.type?new wn(null,e,h):t),h.abort(),y(),h=null)},n.cancelToken&&n.cancelToken.subscribe(i),n.signal&&(n.signal.aborted?i():n.signal.addEventListener("abort",i)));const g=function(e){const t=/^([-+\w]{1,25}):(?:\/\/)?/.exec(e);return t&&t[1]||""}(n.url);!g||yn.protocols.includes(g)?h.send(o||null):r(new Vr("Unsupported protocol "+g+":",Vr.ERR_BAD_REQUEST,e))})},Bn=(e,t)=>{if(e=e?e.filter(Boolean):[],!t&&!e.length)return;const r=new AbortController;let n=!1;const o=function(e){if(!n){n=!0,i();const t=e instanceof Error?e:this.reason;r.abort(t instanceof Vr?t:new wn(t instanceof Error?t.message:t))}};let a=t&&setTimeout(()=>{a=null,o(new Vr(`timeout of ${t}ms exceeded`,Vr.ETIMEDOUT))},t);const i=()=>{e&&(a&&clearTimeout(a),a=null,e.forEach(e=>{e.unsubscribe?e.unsubscribe(o):e.removeEventListener("abort",o)}),e=null)};e.forEach(e=>e.addEventListener("abort",o));const{signal:s}=r;return s.unsubscribe=()=>Fr.asap(i),s},$n=function*(e,t){let r=e.byteLength;if(!t||r<t)return void(yield e);let n,o=0;for(;o<r;)n=o+t,yield e.slice(o,n),o=n},Fn=async function*(e){if(e[Symbol.asyncIterator])return void(yield*e);const t=e.getReader();try{for(;;){const{done:e,value:r}=await t.read();if(e)break;yield r}}finally{await t.cancel()}},Nn=(e,t,r,n)=>{const o=async function*(e,t){for await(const r of Fn(e))yield*$n(r,t)}(e,t);let a,i=0,s=e=>{a||(a=!0,n&&n(e))};return new ReadableStream({async pull(e){try{const{done:t,value:n}=await o.next();if(t)return s(),void e.close();let a=n.byteLength;r&&r(i+=a),e.enqueue(new Uint8Array(n))}catch(t){throw s(t),t}},cancel:e=>(s(e),o.return())},{highWaterMark:2})};var Dn="1.16.1",{isFunction:Ln}=Fr,Mn=(e,...t)=>{try{return!!e(...t)}catch(Va){return!1}},In=e=>{const t=void 0!==Fr.global&&null!==Fr.global?Fr.global:globalThis,{ReadableStream:r,TextEncoder:n}=t;e=Fr.merge.call({skipUndefined:!0},{Request:t.Request,Response:t.Response},e);const{fetch:o,Request:a,Response:i}=e,s=o?Ln(o):"function"==typeof fetch,l=Ln(a),c=Ln(i);if(!s)return!1;const u=s&&Ln(r),p=s&&("function"==typeof n?(f=new n,e=>f.encode(e)):async e=>new Uint8Array(await new a(e).arrayBuffer()));var f;const d=l&&u&&Mn(()=>{let e=!1;const t=new a(yn.origin,{body:new r,method:"POST",get duplex(){return e=!0,"half"}}),n=t.headers.has("Content-Type");return null!=t.body&&t.body.cancel(),e&&!n}),y=c&&u&&Mn(()=>Fr.isReadableStream(new i("").body)),h={stream:y&&(e=>e.body)};s&&["text","arrayBuffer","blob","formData","stream"].forEach(e=>{!h[e]&&(h[e]=(t,r)=>{let n=t&&t[e];if(n)return n.call(t);throw new Vr(`Response type '${e}' is not supported`,Vr.ERR_NOT_SUPPORT,r)})});const m=async(e,t)=>{const r=Fr.toFiniteNumber(e.getContentLength());return null==r?(async e=>null==e?0:Fr.isBlob(e)?e.size:Fr.isSpecCompliantForm(e)?(await new a(yn.origin,{method:"POST",body:e}).arrayBuffer()).byteLength:Fr.isArrayBufferView(e)||Fr.isArrayBuffer(e)?e.byteLength:(Fr.isURLSearchParams(e)&&(e+=""),Fr.isString(e)?(await p(e)).byteLength:void 0))(t):r};return async e=>{let{url:t,method:r,data:s,signal:c,cancelToken:u,timeout:p,onDownloadProgress:f,onUploadProgress:g,responseType:b,headers:v,withCredentials:w="same-origin",fetchOptions:S,maxContentLength:O,maxBodyLength:A}=Tn(e);const E=Fr.isNumber(O)&&O>-1,R=Fr.isNumber(A)&&A>-1;let _=o||fetch;b=b?(b+"").toLowerCase():"text";let x=Bn([c,u&&u.toAbortSignal()],p),C=null;const P=x&&x.unsubscribe&&(()=>{x.unsubscribe()});let j;try{if(E&&"string"==typeof t&&t.startsWith("data:")&&function(e){if(!e||"string"!=typeof e)return 0;if(!e.startsWith("data:"))return 0;const t=e.indexOf(",");if(t<0)return 0;const r=e.slice(5,t),n=e.slice(t+1);if(/;base64/i.test(r)){let e=n.length;const t=n.length;for(let s=0;s<t;s++)if(37===n.charCodeAt(s)&&s+2<t){const t=n.charCodeAt(s+1),r=n.charCodeAt(s+2);(t>=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102)&&(r>=48&&r<=57||r>=65&&r<=70||r>=97&&r<=102)&&(e-=2,s+=2)}let r=0,o=t-1;const a=e=>e>=2&&37===n.charCodeAt(e-2)&&51===n.charCodeAt(e-1)&&(68===n.charCodeAt(e)||100===n.charCodeAt(e));o>=0&&(61===n.charCodeAt(o)?(r++,o--):a(o)&&(r++,o-=3)),1===r&&o>=0&&(61===n.charCodeAt(o)||a(o))&&r++;const i=3*Math.floor(e/4)-(r||0);return i>0?i:0}if("undefined"!=typeof Buffer&&"function"==typeof Buffer.byteLength)return Buffer.byteLength(n,"utf8");let o=0;for(let a=0,i=n.length;a<i;a++){const e=n.charCodeAt(a);if(e<128)o+=1;else if(e<2048)o+=2;else if(e>=55296&&e<=56319&&a+1<i){const e=n.charCodeAt(a+1);e>=56320&&e<=57343?(o+=4,a++):o+=3}else o+=3}return o}(t)>O)throw new Vr("maxContentLength size of "+O+" exceeded",Vr.ERR_BAD_RESPONSE,e,C);if(R&&"get"!==r&&"head"!==r){const t=await m(v,s);if("number"==typeof t&&isFinite(t)&&t>A)throw new Vr("Request body larger than maxBodyLength limit",Vr.ERR_BAD_REQUEST,e,C)}if(g&&d&&"get"!==r&&"head"!==r&&0!==(j=await m(v,s))){let e,r=new a(t,{method:"POST",body:s,duplex:"half"});if(Fr.isFormData(s)&&(e=r.headers.get("content-type"))&&v.setContentType(e),r.body){const[e,t]=An(j,On(En(g)));s=Nn(r.body,65536,e,t)}}Fr.isString(w)||(w=w?"include":"omit");const o=l&&"credentials"in a.prototype;if(Fr.isFormData(s)){const e=v.getContentType();e&&/^multipart\/form-data/i.test(e)&&!/boundary=/i.test(e)&&v.delete("content-type")}v.set("User-Agent","axios/"+Dn,!1);const c={...S,signal:x,method:r.toUpperCase(),headers:Ir(v.normalize()),body:s,duplex:"half",credentials:o?w:void 0};C=l&&new a(t,c);let u=await(l?_(C,S):_(t,c));if(E){const t=Fr.toFiniteNumber(u.headers.get("content-length"));if(null!=t&&t>O)throw new Vr("maxContentLength size of "+O+" exceeded",Vr.ERR_BAD_RESPONSE,e,C)}const p=y&&("stream"===b||"response"===b);if(y&&u.body&&(f||E||p&&P)){const t={};["status","statusText","headers"].forEach(e=>{t[e]=u[e]});const r=Fr.toFiniteNumber(u.headers.get("content-length")),[n,o]=f&&An(r,On(En(f),!0))||[];let a=0;const s=t=>{if(E&&(a=t,a>O))throw new Vr("maxContentLength size of "+O+" exceeded",Vr.ERR_BAD_RESPONSE,e,C);n&&n(t)};u=new i(Nn(u.body,65536,s,()=>{o&&o(),P&&P()}),t)}b=b||"text";let T=await h[Fr.findKey(h,b)||"text"](u,e);if(E&&!y&&!p){let t;if(null!=T&&("number"==typeof T.byteLength?t=T.byteLength:"number"==typeof T.size?t=T.size:"string"==typeof T&&(t="function"==typeof n?(new n).encode(T).byteLength:T.length)),"number"==typeof t&&t>O)throw new Vr("maxContentLength size of "+O+" exceeded",Vr.ERR_BAD_RESPONSE,e,C)}return!p&&P&&P(),await new Promise((t,r)=>{Sn(t,r,{data:T,headers:Hr.from(u.headers),status:u.status,statusText:u.statusText,config:e,request:C})})}catch(T){if(P&&P(),x&&x.aborted&&x.reason instanceof Vr){const t=x.reason;throw t.config=e,C&&(t.request=C),T!==t&&(t.cause=T),t}if(T&&"TypeError"===T.name&&/Load failed|fetch/i.test(T.message))throw Object.assign(new Vr("Network Error",Vr.ERR_NETWORK,e,C,T&&T.response),{cause:T.cause||T});throw Vr.from(T,T&&T.code,e,C,T&&T.response)}}},Un=/* @__PURE__ */new Map,qn=e=>{let t=e&&e.env||{};const{fetch:r,Request:n,Response:o}=t,a=[n,o,r];let i,s,l=a.length,c=Un;for(;l--;)i=a[l],s=c.get(i),void 0===s&&c.set(i,s=l?/* @__PURE__ */new Map:In(t)),c=s;return s},zn=(qn(),{http:null,xhr:kn,fetch:{get:qn}});Fr.forEach(zn,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{__proto__:null,value:t})}catch(Va){}Object.defineProperty(e,"adapterName",{__proto__:null,value:t})}});var Wn=e=>`- ${e}`,Hn=e=>Fr.isFunction(e)||null===e||!1===e;var Kn={getAdapter:function(e,t){e=Fr.isArray(e)?e:[e];const{length:r}=e;let n,o;const a={};for(let i=0;i<r;i++){let r;if(n=e[i],o=n,!Hn(n)&&(o=zn[(r=String(n)).toLowerCase()],void 0===o))throw new Vr(`Unknown adapter '${r}'`);if(o&&(Fr.isFunction(o)||(o=o.get(t))))break;a[r||"#"+i]=o}if(!o){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 Vr("There is no suitable adapter to dispatch the request "+(r?e.length>1?"since :\n"+e.map(Wn).join("\n"):" "+Wn(e[0]):"as no adapter specified"),"ERR_NOT_SUPPORT")}return o},adapters:zn};function Vn(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new wn(null,e)}function Qn(e){return Vn(e),e.headers=Hr.from(e.headers),e.data=bn.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Kn.getAdapter(e.adapter||gn.adapter,e)(e).then(function(t){Vn(e),e.response=t;try{t.data=bn.call(e,e.transformResponse,t)}finally{delete e.response}return t.headers=Hr.from(t.headers),t},function(t){if(!vn(t)&&(Vn(e),t&&t.response)){e.response=t.response;try{t.response.data=bn.call(e,e.transformResponse,t.response)}finally{delete e.response}t.response.headers=Hr.from(t.response.headers)}return Promise.reject(t)})}var Gn={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Gn[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});var Jn={};Gn.transitional=function(e,t,r){function n(e,t){return"[Axios v"+Dn+"] Transitional option '"+e+"'"+t+(r?". "+r:"")}return(r,o,a)=>{if(!1===e)throw new Vr(n(o," has been removed"+(t?" in "+t:"")),Vr.ERR_DEPRECATED);return t&&!Jn[o]&&(Jn[o]=!0,console.warn(n(o," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(r,o,a)}},Gn.spelling=function(e){return(t,r)=>(console.warn(`${r} is likely a misspelling of ${e}`),!0)};var Xn={assertOptions:function(e,t,r){if("object"!=typeof e)throw new Vr("options must be an object",Vr.ERR_BAD_OPTION_VALUE);const n=Object.keys(e);let o=n.length;for(;o-- >0;){const a=n[o],i=Object.prototype.hasOwnProperty.call(t,a)?t[a]:void 0;if(i){const t=e[a],r=void 0===t||i(t,a,e);if(!0!==r)throw new Vr("option "+a+" must be "+r,Vr.ERR_BAD_OPTION_VALUE);continue}if(!0!==r)throw new Vr("Unknown option "+a,Vr.ERR_BAD_OPTION)}},validators:Gn},Zn=Xn.validators,Yn=class{constructor(e){this.defaults=e||{},this.interceptors={request:new on,response:new on}}async request(e,t){try{return await this._request(e,t)}catch(r){if(r instanceof Error){let e={};Error.captureStackTrace?Error.captureStackTrace(e):e=/* @__PURE__ */new Error;const t=(()=>{if(!e.stack)return"";const t=e.stack.indexOf("\n");return-1===t?"":e.stack.slice(t+1)})();try{if(r.stack){if(t){const e=t.indexOf("\n"),n=-1===e?-1:t.indexOf("\n",e+1),o=-1===n?"":t.slice(n+1);String(r.stack).endsWith(o)||(r.stack+="\n"+t)}}else r.stack=t}catch(Va){}}throw r}}_request(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},t=Pn(this.defaults,t);const{transitional:r,paramsSerializer:n,headers:o}=t;void 0!==r&&Xn.assertOptions(r,{silentJSONParsing:Zn.transitional(Zn.boolean),forcedJSONParsing:Zn.transitional(Zn.boolean),clarifyTimeoutError:Zn.transitional(Zn.boolean),legacyInterceptorReqResOrdering:Zn.transitional(Zn.boolean)},!1),null!=n&&(Fr.isFunction(n)?t.paramsSerializer={serialize:n}:Xn.assertOptions(n,{encode:Zn.function,serialize:Zn.function},!0)),void 0!==t.allowAbsoluteUrls||(void 0!==this.defaults.allowAbsoluteUrls?t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:t.allowAbsoluteUrls=!0),Xn.assertOptions(t,{baseUrl:Zn.spelling("baseURL"),withXsrfToken:Zn.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let a=o&&Fr.merge(o.common,o[t.method]);o&&Fr.forEach(["delete","get","head","post","put","patch","query","common"],e=>{delete o[e]}),t.headers=Hr.concat(a,o);const i=[];let s=!0;this.interceptors.request.forEach(function(e){if("function"==typeof e.runWhen&&!1===e.runWhen(t))return;s=s&&e.synchronous;const r=t.transitional||an;r&&r.legacyInterceptorReqResOrdering?i.unshift(e.fulfilled,e.rejected):i.push(e.fulfilled,e.rejected)});const l=[];let c;this.interceptors.response.forEach(function(e){l.push(e.fulfilled,e.rejected)});let u,p=0;if(!s){const e=[Qn.bind(this),void 0];for(e.unshift(...i),e.push(...l),u=e.length,c=Promise.resolve(t);p<u;)c=c.then(e[p++],e[p++]);return c}u=i.length;let f=t;for(;p<u;){const e=i[p++],t=i[p++];try{f=e(f)}catch(d){t.call(this,d);break}}try{c=Qn.call(this,f)}catch(d){return Promise.reject(d)}for(p=0,u=l.length;p<u;)c=c.then(l[p++],l[p++]);return c}getUri(e){return nn(xn((e=Pn(this.defaults,e)).baseURL,e.url,e.allowAbsoluteUrls),e.params,e.paramsSerializer)}};Fr.forEach(["delete","get","head","options"],function(e){Yn.prototype[e]=function(t,r){return this.request(Pn(r||{},{method:e,url:t,data:(r||{}).data}))}}),Fr.forEach(["post","put","patch","query"],function(e){function t(t){return function(r,n,o){return this.request(Pn(o||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:r,data:n}))}}Yn.prototype[e]=t(),"query"!==e&&(Yn.prototype[e+"Form"]=t(!0))});var eo={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,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(eo).forEach(([e,t])=>{eo[t]=e});var to=function e(t){const r=new Yn(t),n=zt(Yn.prototype.request,r);return Fr.extend(n,Yn.prototype,r,{allOwnKeys:!0}),Fr.extend(n,r,null,{allOwnKeys:!0}),n.create=function(r){return e(Pn(t,r))},n}(gn);to.Axios=Yn,to.CanceledError=wn,to.CancelToken=class e{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 r=this;this.promise.then(e=>{if(!r._listeners)return;let t=r._listeners.length;for(;t-- >0;)r._listeners[t](e);r._listeners=null}),this.promise.then=e=>{let t;const n=new Promise(e=>{r.subscribe(e),t=e}).then(e);return n.cancel=function(){r.unsubscribe(t)},n},e(function(e,n,o){r.reason||(r.reason=new wn(e,n,o),t(r.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 t;return{token:new e(function(e){t=e}),cancel:t}}},to.isCancel=vn,to.VERSION=Dn,to.toFormData=Zr,to.AxiosError=Vr,to.Cancel=to.CanceledError,to.all=function(e){return Promise.all(e)},to.spread=function(e){return function(t){return e.apply(null,t)}},to.isAxiosError=function(e){return Fr.isObject(e)&&!0===e.isAxiosError},to.mergeConfig=Pn,to.AxiosHeaders=Hr,to.formToJSON=e=>hn(Fr.isHTMLForm(e)?new FormData(e):e),to.getAdapter=Kn.getAdapter,to.HttpStatusCode=eo,to.default=to;var ro=/* @__PURE__ */ke(qt(),1),no="0.5.38",oo="MyTh",ao=Symbol.for("_MYTH_APP_"),io=O({instance:to.create({baseURL:process.env.API_URL||""}),baseUrl:process.env.API_URL||"",services:{},version:no,appName:`Init Name: ${oo}`,metaTags:{meta:{ogTitle:{property:"og:title",content:process.env.PRODUCT_NAME},keywords:{name:"keywords",content:process.env.PRODUCT_KEYWORDS},author:{name:"author",content:process.env.PRODUCT_AUTHOR},description:{name:"description",content:process.env.PRODUCT_DESCRIPTION},robots:{name:"robots",content:"index, follow"}},link:{icon:{type:"image/png",rel:"icon",href:process.env.PRODUCT_FAVICON||"/favicon.png"}}},theme:{btn:{noCaps:!0},input:{}},component:{},loadingOptions:void 0}),so=()=>io,lo=(e,t)=>{const r=e,n=t[e];n&&(io[r]=n)},co=(e={})=>{e.appName&&(io.appName=e.appName),e.metaTags&&(io.metaTags=e.metaTags),lo("theme",e),lo("component",e),lo("loadingOptions",e)},uo=e=>{if("application/json"===e.headers?.["content-type"]){const t=e?.data?.data;e._data=e?.data?.data??{},e._list=t&&Array.isArray(t)?t:[],e._message=e?.data?.message||"",e._meta=e?.data?.meta||{},e._success=Boolean(e?.data?.success),e._errors=e?.data?.errors??{}}return e},po=e=>{e=e||{};const t=e?.response?.status;401===t&&process.env.DEBUGGING&&console.log("onRejected Func No permissions",e),403===t&&process.env.DEBUGGING&&console.log("onRejected Func No permissions",e);const r=e?.response?.data;return e._data=r?.data??{},e._list=[],e._message=r?.message??null,e._meta=r?.meta??null,e._success=!!r?.success,e._errors=r?.errors??{},e._message||(e._message=e.message||""),Promise.reject(e)},fo=e=>{io.baseUrl=e,io.instance.defaults.baseURL=e},yo=e=>{io.services=e},ho=(e,t)=>{null==t?delete io.instance.defaults.headers.common[e]:io.instance.defaults.headers.common[e]=t},mo=e=>{if(io.instance.interceptors.response.use(uo,po),io.instance.interceptors.request.use(e=>e),io.instance.defaults.paramsSerializer=e=>ro.default.stringify(e,{arrayFormat:"indices",encoder:e=>!0===e||"true"===e?1:!1===e||"false"===e?0:e}),io.instance.defaults.headers.common.Accept="application/json",ho("X-Requested-With","XMLHttpRequest"),ho("X-App","MyTh"),ho("X-App-Mode",process.env.MODE||"None"),ho("X-App-Version",process.env.VERSION||"1.0.0"),ho("X-App-Build",process.env.BUILD||"1"),e?.headers)for(const t in e?.headers)ho(t,e?.headers[t])},go=async e=>{const t={};for(const r in e){const n=r.substring(r.lastIndexOf("/")+1,r.lastIndexOf("."));let o=e[r];"function"==typeof o&&(o=await o()),t[n]=o.default||o}yo(t)},bo=e=>{e?io.instance.defaults.headers.common.Authorization=`Bearer ${e}`:delete io.instance.defaults.headers.common.Authorization},vo=e=>ho("X-App-Locale",e),wo=e=>ho("X-App-Name",e),So=e=>ho("X-App-Mode",e),Oo=e=>ho("X-App-Version",e),Ao=e=>ho("X-App-Build",e),Eo=e=>ho("X-Socket-ID",e),Ro=Symbol.for("_m__m-container"),_o={class:"q-dialog-plugin m-dialog__wrapper"},xo=/* @__PURE__ */p({name:"MDialog",__name:"MDialog",props:{slide:{type:Boolean,default:!1},from:{default:"left"}},emits:[...we.emits],setup(e){const t={left:"right",right:"left",up:"down",down:"up"},r=n(()=>`slide-${e.from}`),a=n(()=>`slide-${t[e.from]}`),{componentProps:i}=ea(),{dialogRef:l,onDialogHide:c}=we();return(t,n)=>(w(),o(P(F),y({ref_key:"dialogRef",ref:l,"transition-hide":t.$q.screen.lt.md||e.slide?r.value:"fade","transition-show":t.$q.screen.lt.md||e.slide?a.value:"fade",class:"m-dialog"},P(i).dialog,{onHide:P(c)}),{default:T(()=>[s("div",_o,[E(t.$slots,"default")])]),_:3},16,["transition-hide","transition-show","onHide"]))}}),Co={class:"q-dialog-plugin m-dialog__wrapper"},Po={class:"row items-center"},jo=["src"],To=/* @__PURE__ */p({name:"MDialogFrame",__name:"MDialogFrame",props:{url:{},height:{},noDownload:{type:Boolean},iframeProps:{},image:{type:Boolean},imageProps:{}},emits:[...we.emits],setup(t){const r=t,{__:l,componentProps:c}=ea(),{dialogRef:p,onDialogHide:f,onDialogOK:d}=we(),h=Oe(),m=n({get:()=>h.loading.isActive,set:e=>e?h.loading.show():h.loading.hide()}),g=n(()=>r.url||null),v=()=>{m.value&&(m.value=!1)};return(r,n)=>{const S=R("q-btn");return w(),o(P(F),y({ref_key:"dialogRef",ref:p,class:"m-dialog",maximized:"","no-shake":"","transition-hide":"fade","transition-show":"fade"},P(c).dialog,{onHide:P(f)}),{default:T(()=>[s("div",Co,[u(P(B),{flat:"",square:""},{default:T(()=>[u(P($),{style:{"max-height":"80px"}},{default:T(()=>[s("div",Po,[t.noDownload?a("",!0):(w(),o(S,{key:0,label:P(l)("labels.download"),icon:"ion-ios-open",onClick:n[0]||(n[0]=e=>{g.value&&Io(g.value)})},null,8,["label"])),u(P(U)),u(S,{flat:"",icon:"close",padding:"3px",onClick:n[1]||(n[1]=e=>{d()})})])]),_:1}),u(P(M)),s("div",{style:b({height:P(h).screen.height-70+"px"}),class:"content-center m-dialog__content"},[E(r.$slots,"default",{},()=>[g.value?(w(),i(e,{key:0},[t.image?(w(),o(P(D),y({key:0,height:t.height??"80%",src:g.value,class:"m-dialog__img",fit:"contain","no-spinner":"",style:{"max-height":"100%"}},t.imageProps,{onError:n[2]||(n[2]=e=>v()),onLoad:n[3]||(n[3]=e=>v())}),{loading:T(()=>[u(P(I),{height:"100%",width:"100%"})]),_:1},16,["height","src"])):(w(),i("iframe",y({key:1,src:g.value,class:"m-dialog__iframe",style:`width: 100%; border: 0; height: ${t.height??"99%"}`},t.iframeProps,{onLoad:n[4]||(n[4]=e=>m.value=!1)}),null,16,jo))],64)):a("",!0)])],4)]),_:3})])]),_:3},16,["onHide"])}}}),ko=/* @__PURE__ */p({name:"MBtn",__name:"MBtn",props:{label:{default:()=>{}},spinner:{default:()=>{}},loading:{type:Boolean,default:!1},nativeLabel:{type:Boolean,default:!1},noStyle:{type:Boolean,default:!1}},setup(e){const t={QSpinner:q,QSpinnerAudio:z,QSpinnerBall:W,QSpinnerBars:H,QSpinnerBox:K,QSpinnerClock:V,QSpinnerComment:Q,QSpinnerCube:G,QSpinnerDots:J,QSpinnerFacebook:X,QSpinnerGears:Z,QSpinnerGrid:Y,QSpinnerHearts:ee,QSpinnerHourglass:te,QSpinnerInfinity:re,QSpinnerIos:ne,QSpinnerOrbit:oe,QSpinnerOval:ae,QSpinnerPie:ie,QSpinnerPuff:se,QSpinnerRadio:le,QSpinnerRings:ce,QSpinnerTail:ue},{__:r,loadingOptions:a,componentProps:i,btnStyle:s}=ea(),c=n(()=>void 0!==e.spinner?e.spinner:a?.type),u=n(()=>{if(c.value)return"spinner"===c.value?t.QSpinner:t[ze(`q-spinner-${c.value}`)]}),p=n(()=>a?.size),f=n(()=>a?.color),d=n(()=>!0===e.nativeLabel?null===e.label||void 0===e.label?void 0:String(e.label):void 0!==e.label&&null!==e.label?r(e.label):void 0),h=n(()=>({...e.noStyle?{}:s,...i.btn||{},ariaLabel:d.value}));return(t,r)=>(w(),o(P(k),y({label:d.value,loading:e.loading,class:"m-btn"},h.value),l({_:2},[t.$slots.loading?{name:"loading",fn:T(()=>[E(t.$slots,"loading")]),key:"0"}:c.value&&u.value?{name:"loading",fn:T(()=>[(w(),o(_(u.value),{color:f.value,size:p.value},null,8,["color","size"]))]),key:"1"}:void 0,t.$slots.default?{name:"default",fn:T(()=>[E(t.$slots,"default")]),key:"2"}:void 0]),1040,["label","loading"]))}}),Bo=(e,t=10)=>{const{lighten:r}=fe;return r(e,-1*t)},$o=(e,t=10)=>{const{lighten:r}=fe;return r(e,t)},Fo=(e,t,r)=>{if(ve(e,t,r||document.documentElement),"primary"===e){const e=$o(t,50),r=Bo(t,10);ve("scrollbar-track",e),ve("scrollbar-hover",r)}},No=e=>{const{luminosity:t}=fe;return t(e)<.5},Do=(e,t,r)=>{let n;if((t instanceof File||t instanceof Blob)&&r){const n=t instanceof File?t.name:r;e.append(r,t,n)}else for(const o in t)if(n=t[o],null!=n&&"object"==typeof n){const t=r?r+"["+o+"]":o;Array.isArray(n)&&n.length<1?e.append(`${o}`,""):Do(e,n,t)}else!0===n&&(n=1),!1===n&&(n=0),null==n&&(n=""),r?e.append(r+"["+o+"]",n):e.append(o,n);return e},Lo=(e,t)=>{const r=Mo(e);return{async index(e){const n=r();return t().get(n,e)},async staticIndex(r){const n="Static"+(e?`/${e}`:"");return t().get(n,r)},export:async(e,n)=>t().post(r("Export"),e,n),exampleUrl:async e=>t().get(r("ExampleUrl"),e),async store(e,n){const o=r(),a=new FormData;return e&&Do(a,e),t().post(o,a,n)},async show(e,n){const o=r(e);return t().get(o,n)},async staticShow(r,n){const o=`Static${e?`/${e}`:""}/${r}`;return t().get(o,n)},async update(e,n,o){const a=r(e),i=new FormData;return i.append("_method","put"),n&&Do(i,n),t().post(a,i,o)},async clone(e,n,o){const a=r(`${e}/Clone`),i=new FormData;return n&&Do(i,n),t().post(a,i,o)},async destroy(e,n){const o=r(e);return t().delete(o,n)},async destroyAll(e,n){const o=r("DestroyAll");return t().post(o,{ids:e||[]},n)},getUploadAttachmentsUrl:e=>r(`${e}/Attachment/Upload`),async uploadAttachments(e,n,o){const a=r(`${e}/Attachment/Upload`);return t().post(a,n,o)},async deleteAttachment(e,n,o){const a=r(`${e}/Attachment/${n}/Delete`);return t().delete(a,o)},async updateAttachment(e,n,o,a){const i=r(`${e}/Attachment/${n}/Update`);return t().post(i,o,a)}}},Mo=e=>(t,r)=>(r??"")+(r&&e?"/":"")+(e??"")+(e&&t?"/":"")+(t??""),Io=(e,t,r)=>me(e,t,r),Uo=(e,t)=>new Promise((r,n)=>{const o=e=>n(e??{status:!1,code:"unknown"}),a=e=>r({status:!0,response:e});try{if(!e)return void o({code:"no_response"});if(e?.data?.data?.url){const r=e?.data?.data?.url;if(t)return t(r,e),void a(e);const n=document.createElement("a");return n.setAttribute("href",r),n.setAttribute("target","_blank"),document.body.appendChild(n),n.click(),void a(e)}const r=(e.headers["content-disposition"]||"").split("filename=").pop().replace(/^"+|"+$/g,"");if(!r)return void o({code:"no_file_name"});const n=new Blob([e.data]),i=window.URL.createObjectURL(n),s=document.createElement("a");if(!s||!i)return void o({code:"no_file_url"});s.href=i,s.setAttribute("download",r),document.body.appendChild(s),s.click(),a(e),setTimeout(()=>{try{document.body.removeChild(s),URL.revokeObjectURL(i)}catch(Va){console.log(Va),Va?.message&&alert(Va.message)}},3e3)}catch(Va){console.log(Va),o(Va)}}),qo=e=>{const t=e instanceof Window?e.document?.body?.getBoundingClientRect():e?.getBoundingClientRect?.();return!!t&&(t.top>=0&&t.left>=0&&t.bottom<=window.innerHeight+t.height&&t.right<=window.innerWidth+t.width)},zo=async(e,t)=>{await h();const{getScrollTarget:r,setVerticalScrollPosition:n,getVerticalScrollPosition:o}=be,a="string"==typeof e?document.querySelector(e):e;if(!a)return;await h();const{target:i}=t||{},s=r(a,("string"==typeof i?document.querySelector(i):i)||window.document.documentElement),l=o(s),c=t?.duration||1e3;let u,p=a;try{do{if(u=p.getBoundingClientRect().top,0===u&&!p.parentElement){u=p.scrollTop;break}if(0!==u&&p.parentElement)break;p=p.parentElement}while(p)}catch(Va){console.log(Va),u="offsetTop"in a&&a?.offsetTop||0}const f=u+l-(100+(t?.offset||0));qo(a)||n(s,f,c)},Wo=async(e,t,r)=>{if(!e)return;const n=Object.entries(e),o=n.map(([e])=>e);let a=[];if(n.length>0&&(a=Array.from(document.body.querySelectorAll("[data-input-name].m-input__error")||[]).filter(e=>o.includes(e?.getAttribute("data-input-name")))),a.length>0)for(const i of a){const e=n.find(e=>e[0]===i.getAttribute("data-input-name"));if(e?.[1]){const t=e[0];await zo(i||`[name='${t}']`,{target:r});break}}else for(const[i,s]of n)if((s&&Array.isArray(s)?s[0]:s)?.toString?.()?.length){if(t)await zo(t,{target:r});else{const e=`[data-input-name='${i}']`;await zo(document.querySelector(e)||`[name='${i}']`,{target:r})}break}},Ho=async(e,t,r)=>{const{setVerticalScrollPosition:n,getScrollHeight:o}=be;e||(e=window);const a=e&&"string"==typeof e?document.querySelector(e)||window:e;n(a,r=r||o(a),t=t||600)},Ko=e=>{if("/"===(e=e||"").slice(0,1)&&(e=e.slice(1)),window){const t=window.location;return`${t.protocol}//${t.host}/${e}`}return`//${e}`},Vo=(e="",t="",r)=>{let n="number"!=typeof e?parseFloat(e):e;isNaN(n)&&(n=0);const o={minimumFractionDigits:2,maximumFractionDigits:2,...r||{}};return`${n.toLocaleString("en-US",o)} ${t}`.trim()},Qo=(e,t)=>{e=Number(e),t=Number(t);const r=(e,t)=>0===t?e:r(t,e%t),n=r(e,t);return[e/t,`${e/n}:${t/n}`]},Go=e=>{const t={0:"٠",1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩"};return e.toString().split("").map(e=>t[e]||e).join("")},Jo=(e,t)=>{const r=/* @__PURE__ */new Set;return e.filter(e=>{if(!e)return!1;const n=e[t];return!r.has(n)&&(r.add(n),!0)})},Xo=e=>[...new Set(e)],Zo=e=>{const t=[...e||[]];for(let r=t.length-1;r>0;r--){const e=Math.floor(Math.random()*(r+1));[t[r],t[e]]=[t[e],t[r]]}return t},Yo=()=>{let e=navigator.userAgent||navigator.vendor;return e=e?e.toLowerCase():"",/ipad|iphone|ipod/g.test(e)?"ios":/android/i.test(e)?"android":"other"};function ea(){const{t:e,te:t}=Ae({useScope:"global"}),r=d(ao,io),o=n(()=>r),a=n(()=>r.version),i=n(()=>r.loadingOptions),s=n(()=>r.theme),l=n(()=>r.theme?.btn),c=n(()=>r.theme?.input),u=n(()=>r.component),p=n(()=>r.services),f=n(()=>r.baseUrl),y=(r,...n)=>{const o=(r=r??"").startsWith(":")&&r.endsWith(":"),a=r.startsWith("{'")&&r.endsWith("'}");if((o||a)&&r.length>2)return(o?r.slice(1,-1):r.slice(2,-2))??"";const i=[r,`attributes.${r}`],s=e;for(const e of i)if(t(e))return s(e,...n);return s(r,...n)};return O({config:o,version:a,loadingOptions:i,theme:s,btnStyle:l,inputStyle:c,componentProps:u,apiServices:p,apiService:e=>{const t=C(e).split(".");let r=p.value;for(const n of t)r=r?.[n];return r},apiUrl:f,__:y,pageTitle:(e,r)=>{r??=2;const n=la(e),o=ze(e),a=He(e),i=qe(e),s=We(e),l=sa(e),c=ze(l),u=He(l),p=qe(l),f=We(l),d=Xo([e,n,o,a,i,s,l,c,u,p,f]),h=Xo(["routes","attributes"]);for(const m of h)for(const e of d)if(t(`${m}.${e}`))return y(`${m}.${e}`,r);return y(e)}})}var ta=()=>({container:d(Ro,{})}),ra=/* @__PURE__ */p({name:"MBlock",__name:"MBlock",props:{tag:{default:"div"},size:{default:()=>{}},rounded:{type:Boolean,default:()=>{}},shadow:{default:()=>{}}},setup(e){const{container:t}=ta(),{theme:r}=ea(),a=n(()=>void 0!==e.size?e.size:t.size??r.gutterSize??"md"),i=n(()=>void 0!==e.rounded?e.rounded:t.rounded??r.rounded??!1),s=n(()=>void 0!==e.shadow?e.shadow:t.shadow??r.shadow??void 0);return(t,r)=>(w(),o(_(e.tag),{class:m([{[`q-pa-${a.value}`]:a.value&&"none"!==a.value,"rounded-borders":i.value,[`shadow-${s.value||""}`]:s.value&&"none"!==s.value},"m-block"])},{default:T(()=>[E(t.$slots,"default")]),_:3},8,["class"]))}}),na="myth-",oa={sar:"M699.62,1113.02h0c-20.06,44.48-33.32,92.75-38.4,143.37l424.51-90.24c20.06-44.47,33.31-92.75,38.4-143.37l-424.51,90.24Z&&M1085.73,895.8c20.06-44.47,33.32-92.75,38.4-143.37l-330.68,70.33v-135.2l292.27-62.11c20.06-44.47,33.32-92.75,38.4-143.37l-330.68,70.27V66.13c-50.67,28.45-95.67,66.32-132.25,110.99v403.35l-132.25,28.11V0c-50.67,28.44-95.67,66.32-132.25,110.99v525.69l-295.91,62.88c-20.06,44.47-33.33,92.75-38.42,143.37l334.33-71.05v170.26l-358.3,76.14c-20.06,44.47-33.32,92.75-38.4,143.37l375.04-79.7c30.53-6.35,56.77-24.4,73.83-49.24l68.78-101.97v-.02c7.14-10.55,11.3-23.27,11.3-36.97v-149.98l132.25-28.11v270.4l424.53-90.28Z|0 0 1124.14 1256.39"},aa=/* @__PURE__ */je((e,t)=>{var r,n;r=e,n=function(){var e=[],t=[],r={},n={},o={};function a(e){return"string"==typeof e?new RegExp("^"+e+"$","i"):e}function i(e,t){return e===t?t:e===e.toLowerCase()?t.toLowerCase():e===e.toUpperCase()?t.toUpperCase():e[0]===e[0].toUpperCase()?t.charAt(0).toUpperCase()+t.substr(1).toLowerCase():t.toLowerCase()}function s(e,t){return e.replace(t[0],function(r,n){var o,a,s=(o=t[1],a=arguments,o.replace(/\$(\d{1,2})/g,function(e,t){return a[t]||""}));return i(""===r?e[n-1]:r,s)})}function l(e,t,n){if(!e.length||r.hasOwnProperty(e))return t;for(var o=n.length;o--;){var a=n[o];if(a[0].test(t))return s(t,a)}return t}function c(e,t,r){return function(n){var o=n.toLowerCase();return t.hasOwnProperty(o)?i(n,o):e.hasOwnProperty(o)?i(n,e[o]):l(o,n,r)}}function u(e,t,r,n){return function(n){var o=n.toLowerCase();return!!t.hasOwnProperty(o)||!e.hasOwnProperty(o)&&l(o,o,r)===o}}function p(e,t,r){return(r?t+" ":"")+(1===t?p.singular(e):p.plural(e))}return p.plural=c(o,n,e),p.isPlural=u(o,n,e),p.singular=c(n,o,t),p.isSingular=u(n,o,t),p.addPluralRule=function(t,r){e.push([a(t),r])},p.addSingularRule=function(e,r){t.push([a(e),r])},p.addUncountableRule=function(e){"string"!=typeof e?(p.addPluralRule(e,"$0"),p.addSingularRule(e,"$0")):r[e.toLowerCase()]=!0},p.addIrregularRule=function(e,t){t=t.toLowerCase(),e=e.toLowerCase(),o[e]=t,n[t]=e},[["I","we"],["me","us"],["he","they"],["she","they"],["them","them"],["myself","ourselves"],["yourself","yourselves"],["itself","themselves"],["herself","themselves"],["himself","themselves"],["themself","themselves"],["is","are"],["was","were"],["has","have"],["this","these"],["that","those"],["echo","echoes"],["dingo","dingoes"],["volcano","volcanoes"],["tornado","tornadoes"],["torpedo","torpedoes"],["genus","genera"],["viscus","viscera"],["stigma","stigmata"],["stoma","stomata"],["dogma","dogmata"],["lemma","lemmata"],["schema","schemata"],["anathema","anathemata"],["ox","oxen"],["axe","axes"],["die","dice"],["yes","yeses"],["foot","feet"],["eave","eaves"],["goose","geese"],["tooth","teeth"],["quiz","quizzes"],["human","humans"],["proof","proofs"],["carve","carves"],["valve","valves"],["looey","looies"],["thief","thieves"],["groove","grooves"],["pickaxe","pickaxes"],["passerby","passersby"]].forEach(function(e){return p.addIrregularRule(e[0],e[1])}),[[/s?$/i,"s"],[/[^\u0000-\u007F]$/i,"$0"],[/([^aeiou]ese)$/i,"$1"],[/(ax|test)is$/i,"$1es"],[/(alias|[^aou]us|t[lm]as|gas|ris)$/i,"$1es"],[/(e[mn]u)s?$/i,"$1s"],[/([^l]ias|[aeiou]las|[ejzr]as|[iu]am)$/i,"$1"],[/(alumn|syllab|vir|radi|nucle|fung|cact|stimul|termin|bacill|foc|uter|loc|strat)(?:us|i)$/i,"$1i"],[/(alumn|alg|vertebr)(?:a|ae)$/i,"$1ae"],[/(seraph|cherub)(?:im)?$/i,"$1im"],[/(her|at|gr)o$/i,"$1oes"],[/(agend|addend|millenni|dat|extrem|bacteri|desiderat|strat|candelabr|errat|ov|symposi|curricul|automat|quor)(?:a|um)$/i,"$1a"],[/(apheli|hyperbat|periheli|asyndet|noumen|phenomen|criteri|organ|prolegomen|hedr|automat)(?:a|on)$/i,"$1a"],[/sis$/i,"ses"],[/(?:(kni|wi|li)fe|(ar|l|ea|eo|oa|hoo)f)$/i,"$1$2ves"],[/([^aeiouy]|qu)y$/i,"$1ies"],[/([^ch][ieo][ln])ey$/i,"$1ies"],[/(x|ch|ss|sh|zz)$/i,"$1es"],[/(matr|cod|mur|sil|vert|ind|append)(?:ix|ex)$/i,"$1ices"],[/\b((?:tit)?m|l)(?:ice|ouse)$/i,"$1ice"],[/(pe)(?:rson|ople)$/i,"$1ople"],[/(child)(?:ren)?$/i,"$1ren"],[/eaux$/i,"$0"],[/m[ae]n$/i,"men"],["thou","you"]].forEach(function(e){return p.addPluralRule(e[0],e[1])}),[[/s$/i,""],[/(ss)$/i,"$1"],[/(wi|kni|(?:after|half|high|low|mid|non|night|[^\w]|^)li)ves$/i,"$1fe"],[/(ar|(?:wo|[ae])l|[eo][ao])ves$/i,"$1f"],[/ies$/i,"y"],[/\b([pl]|zomb|(?:neck|cross)?t|coll|faer|food|gen|goon|group|lass|talk|goal|cut)ies$/i,"$1ie"],[/\b(mon|smil)ies$/i,"$1ey"],[/\b((?:tit)?m|l)ice$/i,"$1ouse"],[/(seraph|cherub)im$/i,"$1"],[/(x|ch|ss|sh|zz|tto|go|cho|alias|[^aou]us|t[lm]as|gas|(?:her|at|gr)o|[aeiou]ris)(?:es)?$/i,"$1"],[/(analy|diagno|parenthe|progno|synop|the|empha|cri|ne)(?:sis|ses)$/i,"$1sis"],[/(movie|twelve|abuse|e[mn]u)s$/i,"$1"],[/(test)(?:is|es)$/i,"$1is"],[/(alumn|syllab|vir|radi|nucle|fung|cact|stimul|termin|bacill|foc|uter|loc|strat)(?:us|i)$/i,"$1us"],[/(agend|addend|millenni|dat|extrem|bacteri|desiderat|strat|candelabr|errat|ov|symposi|curricul|quor)a$/i,"$1um"],[/(apheli|hyperbat|periheli|asyndet|noumen|phenomen|criteri|organ|prolegomen|hedr|automat)a$/i,"$1on"],[/(alumn|alg|vertebr)ae$/i,"$1a"],[/(cod|mur|sil|vert|ind)ices$/i,"$1ex"],[/(matr|append)ices$/i,"$1ix"],[/(pe)(rson|ople)$/i,"$1rson"],[/(child)ren$/i,"$1"],[/(eau)x?$/i,"$1"],[/men$/i,"man"]].forEach(function(e){return p.addSingularRule(e[0],e[1])}),["adulthood","advice","agenda","aid","aircraft","alcohol","ammo","analytics","anime","athletics","audio","bison","blood","bream","buffalo","butter","carp","cash","chassis","chess","clothing","cod","commerce","cooperation","corps","debris","diabetes","digestion","elk","energy","equipment","excretion","expertise","firmware","flounder","fun","gallows","garbage","graffiti","hardware","headquarters","health","herpes","highjinks","homework","housework","information","jeans","justice","kudos","labour","literature","machinery","mackerel","mail","media","mews","moose","music","mud","manga","news","only","personnel","pike","plankton","pliers","police","pollution","premises","rain","research","rice","salmon","scissors","series","sewage","shambles","shrimp","software","species","staff","swine","tennis","traffic","transportation","trout","tuna","wealth","welfare","whiting","wildebeest","wildlife","you",/pok[eé]mon$/i,/[^aeiou]ese$/i,/deer$/i,/fish$/i,/measles$/i,/o[iu]s$/i,/pox$/i,/sheep$/i].forEach(p.addUncountableRule),p},"function"==typeof Be&&"object"==typeof e&&"object"==typeof t?t.exports=n():"function"==typeof define&&define.amd?define(function(){return n()}):r.pluralize=n()}),ia=/* @__PURE__ */ke(aa(),1),{plural:sa,singular:la}=ia.default,ca=(e,t="_to_string")=>e?e.slice(-t.length)===t?e.slice(0,e.length-t.length):e:"",ua=e=>null==e?"":e.toString().replace(/٠/g,"0").replace(/١/g,"1").replace(/٢/g,"2").replace(/٣/g,"3").replace(/٤/g,"4").replace(/٥/g,"5").replace(/٦/g,"6").replace(/٧/g,"7").replace(/٨/g,"8").replace(/٩/g,"9"),pa=e=>null==e||""===e?"":ua(e).replace(/,/g,""),fa=(e=null,t)=>{if(null==e||""===e)return"";const r=pa(e).split("."),n=/(\d+)(\d{3})/;for(;n.test(r[0]);)r[0]=r[0].replace(n,"$1,$2");let o=r.join(".");return t&&(o=`${o} ${t}`),o},da=e=>{if(!e)return!1;const t=ua(e).trim();return 10===t.length&&t.startsWith("05")||9===t.length&&t.startsWith("5")},ya=e=>{const t={};for(const r in e)if(Object.prototype.hasOwnProperty.call(e,r)){const n=e[r].split("|");n.length>=2?t[r]=[n[1],n[0]].join("|"):t[r]=e[r]}return t},ha=(e,t)=>{if(e&&"ar"===t?.toString()?.toLowerCase()){const t=e.split(" ");for(let e=0;e<t.length;e++)t[e].startsWith("ال")&&(t[e]=t[e].slice(2));return t.join(" ")}return e},ma=(e,t)=>{if(e&&"ar"===t?.toString()?.toLowerCase()){const t=e.split(" ");if(t[t.length-1].startsWith("ال"))return e;for(let e=0;e<t.length;e++)!t[e].startsWith("ال")&&t[e].length>0&&(t[e]="ال"+t[e]);return t.join(" ")}return e},ga=(e,t)=>{if(e&&"ar"===t?.toString()?.toLowerCase()){const t=e.split(" ");for(let e=0;e<t.length;e++)t[e].startsWith("ال")||(t[e]="ال"+t[e]),t[e].endsWith("ي")||(t[e]+="ي");return t.join(" ")}return e},ba=(e,t)=>(parseFloat(pa(e).replace(/[^\d.]/g,""))||0)-(parseFloat(pa(t).replace(/[^\d.]/g,""))||0),va=(e,t=!1)=>{if(!e)return"";const r=t?"<br />":"<br>";return e.toString().replace(/(\r\n|\n\r|\r|\n)/g,r)},wa=e=>JSON.stringify(e,null,3).replace(/&/g,"&amp;").replace(/\\"/g,"&quot;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/^( *)("[\w]+": )?("[^"]*"|[\w.+-]*)?([,[{])?$/gm,(e,t,r,n,o)=>{let a=t||"";return r&&(a=a+'<span class="json-key" style="color: brown">'+r.replace(/[": ]/g,"")+"</span>: "),n&&(a=a+(n.startsWith('"')?'<span class="json-string" style="color: olive">':'<span class="json-value" style="color: navy">')+n+"</span>"),a+(o||"")}),Sa=e=>{if(!e)return"";const t=e.toString();return t.charAt(0).toUpperCase()+t.slice(1).toLowerCase()},Oa=(e,t={})=>{const{uppercase:r=!0,startFromZero:n=!1}=t,o=parseInt(e?.toString()||"0",10)||0;if(o<=0&&!n)return"";if(n&&0===o)return r?"A":"a";let a=n?o+1:o,i="";for(;a>0;){a--;const e=a%26+(r?65:97);i=String.fromCharCode(e)+i,a=Math.floor(a/26)}return i},{testPattern:Aa}=ge,Ea={float:e=>null==e||he.number(parseInt(e))&&!isNaN(parseInt(e))&&e?.toString().split(".")?.length<=2&&/(\d)+/g.test(e)&&!/[a-zA-Z]/.test(e),date:e=>/^-?[\d]+-[0-1]\d-[0-3]\d$/.test(e),time:e=>Aa.time(e),fulltime:e=>Aa.fulltime(e),timeOrFulltime:e=>Aa.timeOrFulltime(e),hexColor:e=>Aa.hexColor(e),hexaColor:e=>Aa.hexaColor(e),hexOrHexaColor:e=>Aa.hexOrHexaColor(e),rgbColor:e=>Aa.rgbColor(e),rgbaColor:e=>Aa.rgbaColor(e),rgbOrRgbaColor:e=>Aa.rgbOrRgbaColor(e),hexOrRgbColor:e=>Aa.hexOrRgbColor(e),hexaOrRgbaColor:e=>Aa.hexaOrRgbaColor(e),color:e=>!e||Aa.anyColor(e),requiredColor:e=>Aa.anyColor(e)},{getPaletteColor:Ra}=fe,_a=e=>{if(!e)return null;const t=e=>null!=e,r=t(e.ratio)?"string"==typeof e.ratio?parseFloat(e.ratio):e.ratio:void 0,n=t(e.height)?"string"==typeof e.height?parseFloat(e.height):e.height:void 0,o=t(e.width)?"string"==typeof e.width?parseFloat(e.width):e.width:void 0;return t(o)&&t(n)?0===n?null:o/n:t(r)&&t(n)?r*n:t(r)&&t(o)?0===r?null:o/r:null},xa=(e,t=!1)=>{if(!e)return"";let r=e;return e.startsWith("#")||"transparent"===e||(r=Ra(e)),`${t?"background-color":"color"}: ${r};`},Ca=async e=>{const t=null!=e?String(e):"";return await de(t),t},Pa=/* @__PURE__ */p({name:"MCol",__name:"MCol",props:{name:{},tag:{},auto:{type:Boolean},shrink:{type:Boolean},grow:{type:Boolean},col:{type:[Boolean,String,Number]},xs:{type:[Boolean,String,Number]},sm:{type:[Boolean,String,Number]},md:{type:[Boolean,String,Number]},lg:{type:[Boolean,String,Number]},xl:{type:[Boolean,String,Number]},xxl:{type:[Boolean,String,Number]}},setup(e){const t=e,r=n(()=>{const e=["m-col"];t.auto&&e.push("col-auto"),t.shrink&&e.push("col-shrink"),t.grow&&e.push("col-grow"),"grow"===t.col?e.push("col-grow"):"shrink"===t.col?e.push("col-shrink"):"string"!=typeof t.col&&"number"!=typeof t.col||t.col?.toString()?.trim()?.length>0&&!e.includes(`col-${t.col}`)&&e.push(`col-${t.col}`);for(const r of["xs","sm","md","lg","xl","xxl"])t[r]&&"boolean"!=typeof t[r]&&(e.includes(`col-${r}-${t[r]}`)||e.push(`col-${r}-${t[r]}`));return 1===e.length&&!1!==t.col&&void 0!==t.col&&e.push("col"),Xo(e)});return(t,n)=>(w(),o(_(e.tag??"div"),{class:m(r.value),"data-input-name":e.name??void 0},{default:T(()=>[E(t.$slots,"default")]),_:3},8,["class","data-input-name"]))}}),ja=/* @__PURE__ */p({name:"MGrid",__name:"MGrid",props:{tag:{default:"div"},gridType:{default:"row"},size:{default:()=>{}},type:{default:()=>{}}},setup(e){const{container:t}=ta(),{theme:r}=ea(),a=n(()=>void 0!==e.size?e.size:t?.size??r.gutterSize??"md"),i=n(()=>void 0!==e.type?e.type:t?.type??r.gutterType??"gutter"),s=n(()=>`q${"col"===e.type?"-col":""}-gutter`);return(t,r)=>(w(),o(_(e.tag),{class:m({"m-row row":"row"===e.gridType,"m-column column":"column"===e.gridType,[`${s.value}-${a.value}`]:!!i.value&&"none"!==i.value})},{default:T(()=>[E(t.$slots,"default")]),_:3},8,["class"]))}}),Ta=/* @__PURE__ */p({name:"MColumn",__name:"MColumn",props:{size:{default:()=>{}},type:{default:()=>{}}},setup:e=>(t,r)=>(w(),o(ja,{size:e.size,type:e.type,"grid-type":"column"},{default:T(()=>[E(t.$slots,"default")]),_:3},8,["size","type"]))}),ka=/* @__PURE__ */p({name:"MContainer",__name:"MContainer",props:{tag:{default:"div"},size:{default:()=>"md"},type:{default:()=>"gutter"},dense:{type:Boolean,default:()=>{}},fluid:{type:Boolean,default:()=>{}},rounded:{type:Boolean,default:()=>{}},shadow:{default:()=>{}}},setup(e){const{theme:t}=ea(),r=n(()=>"md"!==e.size?e.size:t.gutterSize??"md"),a=n(()=>"gutter"!==e.type?e.type:t.gutterType??"gutter"),i=n(()=>e.rounded??t.rounded??!1),s=n(()=>e.dense??t.dense??!1),l=n(()=>e.fluid??t.fluid??!1);return S(Ro,O({gutterSize:r,gutterType:a,rounded:i,dense:s,fluid:l,shadow:n(()=>e.shadow??t.shadow??void 0)})),(t,n)=>(w(),o(_(e.tag),{class:m([{"m-container__fluid":!!l.value,"m-container__dense":!!s.value,"q-pa-none":"none"===r.value,[`q-pa-${r.value||""}`]:r.value&&"none"!==r.value},"m-container"])},{default:T(()=>[E(t.$slots,"default")]),_:3},8,["class"]))}}),Ba={class:"col-auto m-help-row__icon-wrapper"},$a={key:0,class:"col m-help-row__text-wrapper"},Fa=["textContent"],Na=/* @__PURE__ */p({name:"MHelpRow",__name:"MHelpRow",props:{tag:{default:"div"},text:{default:""},icon:{default:()=>{}},tooltip:{type:Boolean,default:!1}},setup(e){const{__:t}=ea();return(r,n)=>e.text||e.tooltip?(w(),o(_(e.tag),{key:0,class:"row m-help-row"},{default:T(()=>[s("div",Ba,[u(P(N),{class:m([{"cursor-pointer":e.tooltip},"m-help-row__icon"]),left:!!e.text&&!e.tooltip,name:e.icon??"ion-ios-information-circle-outline",size:"19px"},{default:T(()=>[e.tooltip?(w(),o(P(Ma),{key:0,anchor:"center end",class:"bg-transparent text-black text-justify m-help-row__tooltip",self:"center start","transition-hide":"jump-right","transition-show":"jump-left"},{default:T(()=>[u(P(B),g(f({style:{maxWidth:"280px"}})),{default:T(()=>[u(P($),g(f({style:{fontSize:"13px"}})),{default:T(()=>[c(x(P(t)(e.text)),1)]),_:1},16)]),_:1},16)]),_:1})):a("",!0)]),_:1},8,["class","left","name"])]),!e.tooltip&&e.text?(w(),i("div",$a,[s("div",{textContent:x(P(t)(e.text))},null,8,Fa)])):a("",!0)]),_:1})):a("",!0)}}),Da=/* @__PURE__ */p({name:"MInnerLoading",__name:"MInnerLoading",props:{showing:{type:Boolean,default:!1},label:{default:()=>{}},labelClass:{default:()=>{}},labelStyle:{default:"font-size: 1.1em"},color:{default:"primary"}},setup(e){const{__:t}=ea();return(r,n)=>(w(),o(P(L),{color:e.color,label:P(t)(e.label??"labels.plz_wait"),"label-class":e.labelClass,"label-style":e.labelStyle,showing:e.showing,class:"m-inner-loading"},l({_:2},[void 0!==r.$slots.default?{name:"default",fn:T(()=>[E(r.$slots,"default")]),key:"0"}:void 0]),1032,["color","label","label-class","label-style","showing"]))}}),La=/* @__PURE__ */p({name:"MRow",__name:"MRow",props:{size:{default:()=>{}},type:{default:()=>{}}},setup:e=>(t,r)=>(w(),o(ja,{size:e.size,type:e.type,"grid-type":"row"},{default:T(()=>[E(t.$slots,"default")]),_:3},8,["size","type"]))}),Ma=/* @__PURE__ */p({name:"MTooltip",__name:"MTooltip",setup:e=>(e,t)=>(w(),o(P(pe),{class:"m-tooltip","transition-hide":"scale","transition-show":"scale"},{default:T(()=>[E(e.$slots,"default")]),_:3}))});function Ia(e){const t=C(e),r=e=>{if("in"===e&&t.enterActiveClass)return`animated ${t.enterActiveClass}`;if("out"===e&&t.leaveActiveClass)return`animated ${t.leaveActiveClass}`;if("appear"===e&&t.appearActiveClass)return`animated ${t.appearActiveClass}`;const r=t[e];if(!r)return;const n=["animated",r],o=[`${e}Slower`,`${e}Slow`,`${e}Fast`,`${e}Faster`];for(const s of o)t[s]&&n.push(s.replace(e,"").toLowerCase());const a=t[`${e}Delay`]||!1;a&&(!0===a&&n.push("delay-1s"),"number"!=typeof a&&"string"!=typeof a||n.push(`delay-${a}s`));const i=t[`${e}Repeat`]||!1;return i&&(!0===i&&n.push("repeat"),"number"!=typeof i&&"string"!=typeof i||n.push(`repeat-${i}`)),n.join(" ")};return{getClasses:r,computedProps:n(()=>{const e={enterActiveClass:r("in"),leaveActiveClass:r("out"),appearActiveClass:r("appear"),appear:!t.noAppear,css:!t.noCss};for(const t of["in","inSlower","inSlow","inFast","inFaster","inDelay","inRepeat","out","outSlower","outSlow","outFast","outFaster","outDelay","outRepeat","appearSlower","appearSlow","appearFast","appearFaster","appearDelay","appearRepeat","noAppear","noCss"])delete e[t];return e})}}var Ua=/* @__PURE__ */p({name:"MTransition",__name:"MTransition",props:{in:{},inSlower:{type:Boolean},inSlow:{type:Boolean},inFast:{type:Boolean},inFaster:{type:Boolean},inDelay:{type:[Boolean,String,Number]},inRepeat:{type:[Boolean,String,Number]},out:{},outSlower:{type:Boolean},outSlow:{type:Boolean},outFast:{type:Boolean},outFaster:{type:Boolean},outDelay:{type:[Boolean,String,Number]},outRepeat:{type:[Boolean,String,Number]},appear:{},appearSlower:{type:Boolean},appearSlow:{type:Boolean},appearFast:{type:Boolean},appearFaster:{type:Boolean},appearDelay:{type:[Boolean,String,Number]},appearRepeat:{type:[Boolean,String,Number]},noAppear:{type:Boolean},noCss:{type:Boolean},name:{},type:{},css:{type:Boolean},duration:{},enterFromClass:{},enterActiveClass:{},enterToClass:{},appearFromClass:{},appearActiveClass:{},appearToClass:{},leaveFromClass:{},leaveActiveClass:{},leaveToClass:{},mode:{},persisted:{type:Boolean},onBeforeEnter:{type:[Function,Array]},onEnter:{type:[Function,Array]},onAfterEnter:{type:[Function,Array]},onEnterCancelled:{type:[Function,Array]},onBeforeLeave:{type:[Function,Array]},onLeave:{type:[Function,Array]},onAfterLeave:{type:[Function,Array]},onLeaveCancelled:{type:[Function,Array]},onBeforeAppear:{type:[Function,Array]},onAppear:{type:[Function,Array]},onAfterAppear:{type:[Function,Array]},onAppearCancelled:{type:[Function,Array]}},setup(e){const r=e,{computedProps:n}=Ia(()=>r);return(e,r)=>(w(),o(t,g(f(P(n))),{default:T(()=>[E(e.$slots,"default")]),_:3},16))}}),qa=/* @__PURE__ */p({name:"MTransitionGroup",__name:"MTransitionGroup",props:{in:{},inSlower:{type:Boolean},inSlow:{type:Boolean},inFast:{type:Boolean},inFaster:{type:Boolean},inDelay:{type:[Boolean,String,Number]},inRepeat:{type:[Boolean,String,Number]},out:{},outSlower:{type:Boolean},outSlow:{type:Boolean},outFast:{type:Boolean},outFaster:{type:Boolean},outDelay:{type:[Boolean,String,Number]},outRepeat:{type:[Boolean,String,Number]},appear:{},appearSlower:{type:Boolean},appearSlow:{type:Boolean},appearFast:{type:Boolean},appearFaster:{type:Boolean},appearDelay:{type:[Boolean,String,Number]},appearRepeat:{type:[Boolean,String,Number]},noAppear:{type:Boolean},noCss:{type:Boolean},name:{},type:{},css:{type:Boolean},duration:{},enterFromClass:{},enterActiveClass:{},enterToClass:{},appearFromClass:{},appearActiveClass:{},appearToClass:{},leaveFromClass:{},leaveActiveClass:{},leaveToClass:{},persisted:{type:Boolean},onBeforeEnter:{type:[Function,Array]},onEnter:{type:[Function,Array]},onAfterEnter:{type:[Function,Array]},onEnterCancelled:{type:[Function,Array]},onBeforeLeave:{type:[Function,Array]},onLeave:{type:[Function,Array]},onAfterLeave:{type:[Function,Array]},onLeaveCancelled:{type:[Function,Array]},onBeforeAppear:{type:[Function,Array]},onAppear:{type:[Function,Array]},onAfterAppear:{type:[Function,Array]},onAppearCancelled:{type:[Function,Array]},tag:{},moveClass:{}},setup(e){const{computedProps:t}=Ia(e);return(e,n)=>(w(),o(r,g(f(P(t))),{default:T(()=>[E(e.$slots,"default")]),_:3},16))}}),za=/* @__PURE__ */p({name:"MSarIcon",inheritAttrs:!1,__name:"MSarIcon",setup:e=>(e,t)=>(w(),o(P(N),y({class:"m-sar-icon"},{...e.$attrs,name:"myth-sar"}),{default:T(()=>[E(e.$slots,"default")]),_:3},16))}),Wa=/* @__PURE__ */p({name:"MSarString",__name:"MSarString",props:{tag:{default:"span"},text:{default:()=>{}},string:{type:Boolean,default:!1},format:{default:()=>{}},digits:{default:()=>{}},symbol:{type:Boolean,default:()=>{}}},setup(e){const{te:t}=Ae({useScope:"global"}),{__:r,componentProps:a}=ea(),i=n(()=>void 0!==e.symbol?e.symbol?"﷼":"":void 0!==a?.sarString?.symbol&&a.sarString?.symbol?"﷼":""),s=Oe(),l=n(()=>{const n=void 0!==e.text&&null!==e.text?String(e.text).trim():"";if(0===n.length)return;const o=void 0!==e.digits?parseInt(String(e.digits),10):2,a=isNaN(o)?2:o,l={minimumFractionDigits:a,maximumFractionDigits:a,...e.format};let c=n;e.string&&(t(`labels.${n}`)?c=r(`labels.${n}`):t(n)&&(c=r(n)));const u=Number(c);return isNaN(u)||""===c?s.lang.rtl?`${c} ${i.value}`.trim():`${i.value} ${c}`.trim():s.lang.rtl?Vo(u,i.value,l):`${i.value} ${Vo(u,i.value,l)}`.trim()});return(t,r)=>(w(),o(_(e.tag),{class:"sar-font m-sar-string"},{default:T(()=>[E(t.$slots,"default",{},()=>[c(x(l.value),1)])]),_:3}))}});function Ha(){return Ha=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Ha.apply(null,arguments)}var Ka={strings:["These are the default values...","You know what you should do?","Use your own!","Have a great day!"],stringsElement:null,typeSpeed:0,startDelay:0,backSpeed:0,smartBackspace:!0,shuffle:!1,backDelay:700,shouldBackspace:!0,fadeOut:!1,fadeOutClass:"typed-fade-out",fadeOutDelay:500,loop:!1,loopCount:1/0,showCursor:!0,cursorChar:"|",autoInsertCss:!0,attr:null,bindInputFocusEvents:!1,contentType:"html",onBegin:function(e){},onComplete:function(e){},preStringTyped:function(e,t){},onStringTyped:function(e,t){},onLastStringBackspaced:function(e){},onTypingPaused:function(e,t){},onTypingResumed:function(e,t){},onReset:function(e){},onStop:function(e,t){},onStart:function(e,t){},onDestroy:function(e){}},Va=new(/* @__PURE__ */function(){function e(){}var t=e.prototype;return t.load=function(e,t,r){if(e.el="string"==typeof r?document.querySelector(r):r,e.options=Ha({},Ka,t),e.isInput="input"===e.el.tagName.toLowerCase(),e.attr=e.options.attr,e.bindInputFocusEvents=e.options.bindInputFocusEvents,e.showCursor=!e.isInput&&e.options.showCursor,e.cursorChar=e.options.cursorChar,e.cursorBlinking=!0,e.elContent=e.attr?e.el.getAttribute(e.attr):e.el.textContent,e.contentType=e.options.contentType,e.typeSpeed=e.options.typeSpeed,e.startDelay=e.options.startDelay,e.backSpeed=e.options.backSpeed,e.smartBackspace=e.options.smartBackspace,e.backDelay=e.options.backDelay,e.shouldBackspace=e.options.shouldBackspace,e.fadeOut=e.options.fadeOut,e.fadeOutClass=e.options.fadeOutClass,e.fadeOutDelay=e.options.fadeOutDelay,e.isPaused=!1,e.strings=e.options.strings.map(function(e){return e.trim()}),e.stringsElement="string"==typeof e.options.stringsElement?document.querySelector(e.options.stringsElement):e.options.stringsElement,e.stringsElement){e.strings=[],e.stringsElement.style.cssText="clip: rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px;";var n=Array.prototype.slice.apply(e.stringsElement.children),o=n.length;if(o)for(var a=0;a<o;a+=1)e.strings.push(n[a].innerHTML.trim())}for(var i in e.strPos=0,e.currentElContent=this.getCurrentElContent(e),e.currentElContent&&e.currentElContent.length>0&&(e.strPos=e.currentElContent.length-1,e.strings.unshift(e.currentElContent)),e.sequence=[],e.strings)e.sequence[i]=i;e.arrayPos=0,e.stopNum=0,e.loop=e.options.loop,e.loopCount=e.options.loopCount,e.curLoop=0,e.shuffle=e.options.shuffle,e.pause={status:!1,typewrite:!0,curString:"",curStrPos:0},e.typingComplete=!1,e.autoInsertCss=e.options.autoInsertCss,e.autoInsertCss&&(this.appendCursorAnimationCss(e),this.appendFadeOutAnimationCss(e))},t.getCurrentElContent=function(e){return e.attr?e.el.getAttribute(e.attr):e.isInput?e.el.value:"html"===e.contentType?e.el.innerHTML:e.el.textContent},t.appendCursorAnimationCss=function(e){var t="data-typed-js-cursor-css";if(e.showCursor&&!document.querySelector("["+t+"]")){var r=document.createElement("style");r.setAttribute(t,"true"),r.innerHTML="\n .typed-cursor{\n opacity: 1;\n }\n .typed-cursor.typed-cursor--blink{\n animation: typedjsBlink 0.7s infinite;\n -webkit-animation: typedjsBlink 0.7s infinite;\n animation: typedjsBlink 0.7s infinite;\n }\n @keyframes typedjsBlink{\n 50% { opacity: 0.0; }\n }\n @-webkit-keyframes typedjsBlink{\n 0% { opacity: 1; }\n 50% { opacity: 0.0; }\n 100% { opacity: 1; }\n }\n ",document.body.appendChild(r)}},t.appendFadeOutAnimationCss=function(e){var t="data-typed-fadeout-js-css";if(e.fadeOut&&!document.querySelector("["+t+"]")){var r=document.createElement("style");r.setAttribute(t,"true"),r.innerHTML="\n .typed-fade-out{\n opacity: 0;\n transition: opacity .25s;\n }\n .typed-cursor.typed-cursor--blink.typed-fade-out{\n -webkit-animation: 0;\n animation: 0;\n }\n ",document.body.appendChild(r)}},e}()),Qa=new(/* @__PURE__ */function(){function e(){}var t=e.prototype;return t.typeHtmlChars=function(e,t,r){if("html"!==r.contentType)return t;var n=e.substring(t).charAt(0);if("<"===n||"&"===n){var o;for(o="<"===n?">":";";e.substring(t+1).charAt(0)!==o&&!(1+ ++t>e.length););t++}return t},t.backSpaceHtmlChars=function(e,t,r){if("html"!==r.contentType)return t;var n=e.substring(t).charAt(0);if(">"===n||";"===n){var o;for(o=">"===n?"<":"&";e.substring(t-1).charAt(0)!==o&&!(--t<0););t--}return t},e}()),Ga=/* @__PURE__ */function(){function e(e,t){Va.load(this,t,e),this.begin()}var t=e.prototype;return t.toggle=function(){this.pause.status?this.start():this.stop()},t.stop=function(){this.typingComplete||this.pause.status||(this.toggleBlinking(!0),this.pause.status=!0,this.options.onStop(this.arrayPos,this))},t.start=function(){this.typingComplete||this.pause.status&&(this.pause.status=!1,this.pause.typewrite?this.typewrite(this.pause.curString,this.pause.curStrPos):this.backspace(this.pause.curString,this.pause.curStrPos),this.options.onStart(this.arrayPos,this))},t.destroy=function(){this.reset(!1),this.options.onDestroy(this)},t.reset=function(e){void 0===e&&(e=!0),clearInterval(this.timeout),this.replaceText(""),this.cursor&&this.cursor.parentNode&&(this.cursor.parentNode.removeChild(this.cursor),this.cursor=null),this.strPos=0,this.arrayPos=0,this.curLoop=0,e&&(this.insertCursor(),this.options.onReset(this),this.begin())},t.append=function(e){var t=this,r=this.strings[this.strings.length-1];this.strings.push(e),this.sequence=this.strings.map(function(e,t){return t}),this.typingComplete&&(this.timeout=this.shouldBackspace?setTimeout(function(){t.backspace(r,r.length-1)},this.backDelay):setTimeout(function(){t.arrayPos++,t.typewrite(t.strings[t.sequence[t.arrayPos]],0)},this.backDelay))},t.begin=function(){var e=this;this.options.onBegin(this),this.typingComplete=!1,this.shuffleStringsIfNeeded(),this.insertCursor(),this.bindInputFocusEvents&&this.bindFocusEvents(),this.timeout=setTimeout(function(){0===e.strPos?e.typewrite(e.strings[e.sequence[e.arrayPos]],e.strPos):e.backspace(e.strings[e.sequence[e.arrayPos]],e.strPos)},this.startDelay)},t.typewrite=function(e,t){var r=this;this.fadeOut&&this.el.classList.contains(this.fadeOutClass)&&(this.el.classList.remove(this.fadeOutClass),this.cursor&&this.cursor.classList.remove(this.fadeOutClass));var n=this.humanizer(this.typeSpeed),o=1;!0!==this.pause.status?this.timeout=setTimeout(function(){t=Qa.typeHtmlChars(e,t,r);var n=0,a=e.substring(t);if("^"===a.charAt(0)&&/^\^\d+/.test(a)){var i=1;i+=(a=/\d+/.exec(a)[0]).length,n=parseInt(a),r.temporaryPause=!0,r.options.onTypingPaused(r.arrayPos,r),e=e.substring(0,t)+e.substring(t+i),r.toggleBlinking(!0)}if("`"===a.charAt(0)){for(;"`"!==e.substring(t+o).charAt(0)&&(o++,!(t+o>e.length)););var s=e.substring(0,t),l=e.substring(s.length+1,t+o),c=e.substring(t+o+1);e=s+l+c,o--}r.timeout=setTimeout(function(){r.toggleBlinking(!1),t>=e.length?r.doneTyping(e,t):r.keepTyping(e,t,o),r.temporaryPause&&(r.temporaryPause=!1,r.options.onTypingResumed(r.arrayPos,r))},n)},n):this.setPauseStatus(e,t,!0)},t.keepTyping=function(e,t,r){if(0===t&&(this.toggleBlinking(!1),this.options.preStringTyped(this.arrayPos,this)),this.shouldBackspace){var n=e.substring(0,t+=r);this.replaceText(n)}else{var o=e.substring(t,t+r);t+=r,this.replaceText(o)}this.typewrite(e,t)},t.doneTyping=function(e,t){var r=this;this.options.onStringTyped(this.arrayPos,this),this.toggleBlinking(!0),this.isFinalString()&&(this.complete(),!1===this.loop||this.curLoop===this.loopCount)||(this.timeout=this.shouldBackspace?setTimeout(function(){r.backspace(e,t)},this.backDelay):setTimeout(function(){r.arrayPos++,r.typewrite(r.strings[r.sequence[r.arrayPos]],0)},this.backDelay))},t.backspace=function(e,t){var r=this;if(!0!==this.pause.status){if(this.fadeOut)return this.initFadeOut();this.toggleBlinking(!1);var n=this.humanizer(this.backSpeed);this.timeout=setTimeout(function(){t=Qa.backSpaceHtmlChars(e,t,r);var n=e.substring(0,t);if(r.replaceText(n),r.smartBackspace){var o=r.strings[r.sequence[r.arrayPos+1]];r.stopNum=o&&n===o.substring(0,t)?t:0}t>r.stopNum?(t--,r.backspace(e,t)):t<=r.stopNum&&(r.isFinalString()?r.lastStringBackspaced():(r.arrayPos++,r.typewrite(r.strings[r.sequence[r.arrayPos]],t)))},n)}else this.setPauseStatus(e,t,!1)},t.isFinalString=function(){return this.arrayPos===this.strings.length-1},t.lastStringBackspaced=function(){this.arrayPos=0,this.options.onLastStringBackspaced(),this.loop&&(this.shuffleStringsIfNeeded(),this.begin())},t.complete=function(){this.options.onComplete(this),this.loop?this.curLoop++:this.typingComplete=!0},t.setPauseStatus=function(e,t,r){this.pause.typewrite=r,this.pause.curString=e,this.pause.curStrPos=t},t.toggleBlinking=function(e){this.cursor&&(this.pause.status||this.cursorBlinking!==e&&(this.cursorBlinking=e,e?this.cursor.classList.add("typed-cursor--blink"):this.cursor.classList.remove("typed-cursor--blink")))},t.humanizer=function(e){return Math.round(Math.random()*e/2)+e},t.shuffleStringsIfNeeded=function(){this.shuffle&&(this.sequence=this.sequence.sort(function(){return Math.random()-.5}))},t.initFadeOut=function(){var e=this;return this.el.className+=" "+this.fadeOutClass,this.cursor&&(this.cursor.className+=" "+this.fadeOutClass),setTimeout(function(){e.arrayPos++,e.replaceText(""),e.strings.length>e.arrayPos?e.typewrite(e.strings[e.sequence[e.arrayPos]],0):(e.typewrite(e.strings[0],0),e.arrayPos=0)},this.fadeOutDelay)},t.replaceText=function(e){this.attr?this.el.setAttribute(this.attr,e):this.isInput?this.el.value=e:"html"===this.contentType?this.shouldBackspace?this.el.innerHTML=e:this.el.innerHTML+=e:this.el.textContent=e},t.bindFocusEvents=function(){var e=this;this.isInput&&(this.el.addEventListener("focus",function(t){e.stop()}),this.el.addEventListener("blur",function(t){e.el.value&&0!==e.el.value.length||e.start()}))},t.insertCursor=function(){this.showCursor&&(this.cursor||(this.cursor=document.createElement("span"),this.cursor.className="typed-cursor",this.cursor.setAttribute("aria-hidden",!0),this.cursor.innerHTML=this.cursorChar,this.el.parentNode&&this.el.parentNode.insertBefore(this.cursor,this.el.nextSibling)))},e}(),Ja=/* @__PURE__ */p({name:"MTypingString",inheritAttrs:!1,__name:"MTypingString",props:{name:{},tag:{default:"span"},string:{},loop:{type:Boolean,default:!1},speed:{default:300},backDelay:{default:()=>{}},fadeOut:{type:Boolean},options:{default:()=>({})}},setup(e,{expose:t}){const r=n(()=>`typed-content-${e.name}`),a=n(()=>({loop:e.loop,typeSpeed:parseInt(e.speed?.toString?.()),backDelay:void 0!==e.backDelay&&parseInt(e.backDelay?.toString?.())||void 0,fadeOut:e.fadeOut,strings:"string"==typeof e.string?[e.string]:e.string||void 0,...e.options})),i=A(),s=A(),l=()=>{if(i.value)try{i.value.destroy()}catch(Va){console.log(Va)}};return j(()=>{if(s.value&&e.string){const t=document.getElementById(r.value);try{t&&(e=>{try{l(),i.value=new Ga(`#${r.value}`,C(e))}catch(Va){console.log(Va)}})(C(a))}catch(Va){console.log(Va),t&&(t.innerHTML="string"==typeof e.string?e.string:e.string.join("<br />"))}}}),v(()=>l()),t({typed:i,typedRef:s}),(t,n)=>(w(),o(_(e.tag),{id:r.value,ref_key:"typedRef",ref:s,class:"m-typing-string"},null,8,["id"]))}}),Xa=Ja,Za=/* @__PURE__ */Te({MBlock:()=>ra,MBtn:()=>ko,MCol:()=>Pa,MColumn:()=>Ta,MContainer:()=>ka,MDialog:()=>xo,MDialogFrame:()=>To,MGrid:()=>ja,MHelpRow:()=>Na,MInnerLoading:()=>Da,MRow:()=>La,MSarIcon:()=>za,MSarString:()=>Wa,MTooltip:()=>Ma,MTransition:()=>Ua,MTransitionGroup:()=>qa,MTypingString:()=>Xa,default:()=>Ya}),Ya={};function ei(e,t){Se(()=>{const r=C(e)||"",n=C(t)||{},o=n.appName;o&&(io.appName=o);const a=C(io.appName)||"MyTh",i=C(io.metaTags)||{},{...s}=n;return{title:r,titleTemplate:e=>e?e.toLowerCase()===a.toLowerCase()?a:`${a} | ${e}`:a,...ye(!0,{},i,s)}})}var ti=!1;console.log(ti);var ri=(e,t={})=>{if(ti)return void(process.env.DEV&&console.warn(`Plugin [${oo}] already initialized. Skipping configuration injection.`));co(t),mo(),fo("ahmed"),e.provide(ao,so()),Object.entries(Za).forEach(([t,r])=>{void 0===e.component(t)&&e.component(t,r)});const r=e.config.globalProperties;if(r?.$q){const e=r.$q.iconMapFn;r.$q.iconMapFn=t=>{if(t.startsWith("myth-")){const e=qe(t.slice(5));if(e&&e in oa&&oa[e])return{icon:oa[e]}}if("function"==typeof e)return e(t)}}ti=!0},ni={version:no,install:ri};export{ra as MBlock,ko as MBtn,Pa as MCol,Ta as MColumn,ka as MContainer,xo as MDialog,To as MDialogFrame,ja as MGrid,Na as MHelpRow,Da as MInnerLoading,La as MRow,za as MSarIcon,Wa as MSarString,Ma as MTooltip,Ua as MTransition,qa as MTransitionGroup,Xa as MTypingString,Lo as Stub,Mo as StubUrl,Do as appendArray,Qo as calculateAspectRatio,qe as camelCase,No as colorIsDark,xa as colorStyle,Go as convertToArabicNumbers,Ca as copyText,Bo as darkenColor,ni as default,Yo as detectWebPlatform,_a as dimension,Uo as downloadFromResponse,ya as flipChoice,Vo as formatMoney,ua as fromArabicNumber,so as getConfig,na as iconSet,oa as icons,mo as initApiConfig,ri as install,qo as isElementInViewport,da as isKsaMobile,We as kebabCase,$o as lightenColor,go as loadApiServices,Ko as makeUrl,va as nl2br,Io as openWindow,ze as pascalCase,sa as plural,wa as prettyPrint,Ho as scrollToBottom,zo as scrollToElement,Wo as scrollToElementFromErrors,Ao as setApiAppBuild,So as setApiAppMode,wo as setApiAppName,Oo as setApiAppVersion,fo as setApiBaseURL,bo as setApiBearerToken,ho as setApiHeader,vo as setApiLanguage,yo as setApiServices,Eo as setApiSocketId,Fo as setCss,co as setDefaults,Zo as shuffle,la as singular,He as snakeCase,ba as sortNumberFormatted,ca as strBefore,Oa as toAlphaNumerals,pa as toNumber,fa as toNumberFormat,Sa as ucFirst,Xo as uniq,Jo as uniqBy,ta as useContainer,ea as useMyth,ei as useMythMeta,Ia as useTransition,Ea as veeRules,ga as wordsToSingle,ma as wordsWithThe,ha as wordsWithoutThe};
1
+ import{Fragment as e,Transition as t,TransitionGroup as r,computed as n,createBlock as o,createCommentVNode as a,createElementBlock as i,createElementVNode as s,createSlots as l,createTextVNode as c,createVNode as u,defineComponent as p,guardReactiveProps as f,inject as d,mergeProps as y,nextTick as h,normalizeClass as m,normalizeProps as g,normalizeStyle as b,onBeforeUnmount as v,openBlock as w,provide as S,reactive as O,ref as A,renderSlot as E,resolveComponent as R,resolveDynamicComponent as _,toDisplayString as x,toValue as C,unref as P,watchEffect as j,withCtx as T}from"vue";import{QBtn as k,QCard as B,QCardSection as $,QDialog as F,QIcon as N,QImg as D,QInnerLoading as L,QSeparator as M,QSkeleton as U,QSpace as I,QSpinner as q,QSpinnerAudio as z,QSpinnerBall as W,QSpinnerBars as H,QSpinnerBox as V,QSpinnerClock as K,QSpinnerComment as Q,QSpinnerCube as G,QSpinnerDots as J,QSpinnerFacebook as X,QSpinnerGears as Z,QSpinnerGrid as Y,QSpinnerHearts as ee,QSpinnerHourglass as te,QSpinnerInfinity as re,QSpinnerIos as ne,QSpinnerOrbit as oe,QSpinnerOval as ae,QSpinnerPie as ie,QSpinnerPuff as se,QSpinnerRadio as le,QSpinnerRings as ce,QSpinnerTail as ue,QTooltip as pe,colors as fe,copyToClipboard as de,extend as ye,is as he,openURL as me,patterns as ge,scroll as be,setCssVar as ve,useDialogPluginComponent as we,useMeta as Se,useQuasar as Oe}from"quasar";import{useI18n as Ae}from"vue-i18n";var Ee=Object.create,Re=Object.defineProperty,_e=Object.getOwnPropertyDescriptor,xe=Object.getOwnPropertyNames,Ce=Object.getPrototypeOf,Pe=Object.prototype.hasOwnProperty,je=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t),e=null),t.exports),Te=(e,t)=>{let r={};for(var n in e)Re(r,n,{get:e[n],enumerable:!0});return t||Re(r,Symbol.toStringTag,{value:"Module"}),r},ke=(e,t,r)=>(r=null!=e?Ee(Ce(e)):{},((e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(var o,a=xe(t),i=0,s=a.length;i<s;i++)o=a[i],Pe.call(e,o)||o===r||Re(e,o,{get:(e=>t[e]).bind(null,o),enumerable:!(n=_e(t,o))||n.enumerable});return e})(!t&&e&&e.__esModule?r:Re(r,"default",{value:e,enumerable:!0}),e)),Be=/* @__PURE__ */(e=>"undefined"!=typeof require?require:"undefined"!=typeof Proxy?new Proxy(e,{get:(e,t)=>("undefined"!=typeof require?require:e)[t]}):e)(function(e){if("undefined"!=typeof require)return require.apply(this,arguments);throw Error('Calling `require` for "'+e+"\" in an environment that doesn't expose the `require` function. See https://rolldown.rs/in-depth/bundling-cjs#require-external-modules for more details.")}),$e=/([\p{Ll}\d])(\p{Lu})/gu,Fe=/(\p{Lu})([\p{Lu}][\p{Ll}])/gu,Ne=/(\d)\p{Ll}|(\p{L})\d/u,De=/[^\p{L}\d]+/giu,Le="$1\0$2";function Me(e){let t=e.trim();t=t.replace($e,Le).replace(Fe,Le),t=t.replace(De,"\0");let r=0,n=t.length;for(;"\0"===t.charAt(r);)r++;if(r===n)return[];for(;"\0"===t.charAt(n-1);)n--;return t.slice(r,n).split(/\0/g)}function Ue(e){const t=Me(e);for(let r=0;r<t.length;r++){const e=t[r],n=Ne.exec(e);if(n){const o=n.index+(n[1]??n[2]).length;t.splice(r,1,e.slice(0,o),e.slice(o))}}return t}function Ie(e,t){const[r,n,o]=Je(e,t);return r+n.map(Ve(t?.locale)).join(t?.delimiter??" ")+o}function qe(e,t){const[r,n,o]=Je(e,t),a=Ve(t?.locale),i=Ke(t?.locale),s=t?.mergeAmbiguousCharacters?Qe(a,i):Ge(a,i);return r+n.map((e,t)=>0===t?a(e):s(e,t)).join(t?.delimiter??"")+o}function ze(e,t){const[r,n,o]=Je(e,t),a=Ve(t?.locale),i=Ke(t?.locale),s=t?.mergeAmbiguousCharacters?Qe(a,i):Ge(a,i);return r+n.map(s).join(t?.delimiter??"")+o}function We(e,t){return Ie(e,{delimiter:"-",...t})}function He(e,t){return Ie(e,{delimiter:"_",...t})}function Ve(e){return!1===e?e=>e.toLowerCase():t=>t.toLocaleLowerCase(e)}function Ke(e){return!1===e?e=>e.toUpperCase():t=>t.toLocaleUpperCase(e)}function Qe(e,t){return r=>`${t(r[0])}${e(r.slice(1))}`}function Ge(e,t){return(r,n)=>{const o=r[0];return(n>0&&o>="0"&&o<="9"?"_"+o:t(o))+e(r.slice(1))}}function Je(e,t={}){const r=t.split??(t.separateNumbers?Ue:Me),n=t.prefixCharacters??"",o=t.suffixCharacters??"";let a=0,i=e.length;for(;a<e.length;){const t=e.charAt(a);if(!n.includes(t))break;a++}for(;i>a;){const t=i-1,r=e.charAt(t);if(!o.includes(r))break;i=t}return[e.slice(0,a),r(e.slice(a,i)),e.slice(i)]}var Xe=/* @__PURE__ */je((e,t)=>{t.exports=TypeError}),Ze=/* @__PURE__ */je((e,t)=>{t.exports={}}),Ye=/* @__PURE__ */je((e,t)=>{var r="function"==typeof Map&&Map.prototype,n=Object.getOwnPropertyDescriptor&&r?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,o=r&&n&&"function"==typeof n.get?n.get:null,a=r&&Map.prototype.forEach,i="function"==typeof Set&&Set.prototype,s=Object.getOwnPropertyDescriptor&&i?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,l=i&&s&&"function"==typeof s.get?s.get:null,c=i&&Set.prototype.forEach,u="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,p="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,f="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,d=Boolean.prototype.valueOf,y=Object.prototype.toString,h=Function.prototype.toString,m=String.prototype.match,g=String.prototype.slice,b=String.prototype.replace,v=String.prototype.toUpperCase,w=String.prototype.toLowerCase,S=RegExp.prototype.test,O=Array.prototype.concat,A=Array.prototype.join,E=Array.prototype.slice,R=Math.floor,_="function"==typeof BigInt?BigInt.prototype.valueOf:null,x=Object.getOwnPropertySymbols,C="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,P="function"==typeof Symbol&&"object"==typeof Symbol.iterator,j="function"==typeof Symbol&&Symbol.toStringTag&&(typeof Symbol.toStringTag===P||"symbol")?Symbol.toStringTag:null,T=Object.prototype.propertyIsEnumerable,k=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function B(e,t){if(e===1/0||e===-1/0||e!=e||e&&e>-1e3&&e<1e3||S.call(/e/,t))return t;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof e){var n=e<0?-R(-e):R(e);if(n!==e){var o=String(n),a=g.call(t,o.length+1);return b.call(o,r,"$&_")+"."+b.call(b.call(a,/([0-9]{3})/g,"$&_"),/_$/,"")}}return b.call(t,r,"$&_")}var $=Ze(),F=$.custom,N=W(F)?F:null,D={__proto__:null,double:'"',single:"'"},L={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};function M(e,t,r){var n=D[r.quoteStyle||t];return n+e+n}function U(e){return b.call(String(e),/"/g,"&quot;")}function I(e){return!j||!("object"==typeof e&&(j in e||void 0!==e[j]))}function q(e){return"[object Array]"===K(e)&&I(e)}function z(e){return"[object RegExp]"===K(e)&&I(e)}function W(e){if(P)return e&&"object"==typeof e&&e instanceof Symbol;if("symbol"==typeof e)return!0;if(!e||"object"!=typeof e||!C)return!1;try{return C.call(e),!0}catch(Xa){}return!1}t.exports=function e(t,r,n,i){var s=r||{};if(V(s,"quoteStyle")&&!V(D,s.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(V(s,"maxStringLength")&&("number"==typeof s.maxStringLength?s.maxStringLength<0&&s.maxStringLength!==1/0:null!==s.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var y=!V(s,"customInspect")||s.customInspect;if("boolean"!=typeof y&&"symbol"!==y)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(V(s,"indent")&&null!==s.indent&&"\t"!==s.indent&&!(parseInt(s.indent,10)===s.indent&&s.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(V(s,"numericSeparator")&&"boolean"!=typeof s.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var v=s.numericSeparator;if(void 0===t)return"undefined";if(null===t)return"null";if("boolean"==typeof t)return t?"true":"false";if("string"==typeof t)return G(t,s);if("number"==typeof t){if(0===t)return 1/0/t>0?"0":"-0";var S=String(t);return v?B(t,S):S}if("bigint"==typeof t){var R=String(t)+"n";return v?B(t,R):R}var x=void 0===s.depth?5:s.depth;if(void 0===n&&(n=0),n>=x&&x>0&&"object"==typeof t)return q(t)?"[Array]":"[Object]";var F,L=function(e,t){var r;if("\t"===e.indent)r="\t";else{if(!("number"==typeof e.indent&&e.indent>0))return null;r=A.call(Array(e.indent+1)," ")}return{base:r,prev:A.call(Array(t+1),r)}}(s,n);if(void 0===i)i=[];else if(Q(i,t)>=0)return"[Circular]";function H(t,r,o){if(r&&(i=E.call(i)).push(r),o){var a={depth:s.depth};return V(s,"quoteStyle")&&(a.quoteStyle=s.quoteStyle),e(t,a,n+1,i)}return e(t,s,n+1,i)}if("function"==typeof t&&!z(t)){var J=function(e){if(e.name)return e.name;var t=m.call(h.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}(t),re=te(t,H);return"[Function"+(J?": "+J:" (anonymous)")+"]"+(re.length>0?" { "+A.call(re,", ")+" }":"")}if(W(t)){var ne=P?b.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):C.call(t);return"object"!=typeof t||P?ne:X(ne)}if((F=t)&&"object"==typeof F&&("undefined"!=typeof HTMLElement&&F instanceof HTMLElement||"string"==typeof F.nodeName&&"function"==typeof F.getAttribute)){for(var oe="<"+w.call(String(t.nodeName)),ae=t.attributes||[],ie=0;ie<ae.length;ie++)oe+=" "+ae[ie].name+"="+M(U(ae[ie].value),"double",s);return oe+=">",t.childNodes&&t.childNodes.length&&(oe+="..."),oe+="</"+w.call(String(t.nodeName))+">"}if(q(t)){if(0===t.length)return"[]";var se=te(t,H);return L&&!function(e){for(var t=0;t<e.length;t++)if(Q(e[t],"\n")>=0)return!1;return!0}(se)?"["+ee(se,L)+"]":"[ "+A.call(se,", ")+" ]"}if(function(e){return"[object Error]"===K(e)&&I(e)}(t)){var le=te(t,H);return"cause"in Error.prototype||!("cause"in t)||T.call(t,"cause")?0===le.length?"["+String(t)+"]":"{ ["+String(t)+"] "+A.call(le,", ")+" }":"{ ["+String(t)+"] "+A.call(O.call("[cause]: "+H(t.cause),le),", ")+" }"}if("object"==typeof t&&y){if(N&&"function"==typeof t[N]&&$)return $(t,{depth:x-n});if("symbol"!==y&&"function"==typeof t.inspect)return t.inspect()}if(function(e){if(!o||!e||"object"!=typeof e)return!1;try{o.call(e);try{l.call(e)}catch(oe){return!0}return e instanceof Map}catch(Xa){}return!1}(t)){var ce=[];return a&&a.call(t,function(e,r){ce.push(H(r,t,!0)+" => "+H(e,t))}),Y("Map",o.call(t),ce,L)}if(function(e){if(!l||!e||"object"!=typeof e)return!1;try{l.call(e);try{o.call(e)}catch(t){return!0}return e instanceof Set}catch(Xa){}return!1}(t)){var ue=[];return c&&c.call(t,function(e){ue.push(H(e,t))}),Y("Set",l.call(t),ue,L)}if(function(e){if(!u||!e||"object"!=typeof e)return!1;try{u.call(e,u);try{p.call(e,p)}catch(oe){return!0}return e instanceof WeakMap}catch(Xa){}return!1}(t))return Z("WeakMap");if(function(e){if(!p||!e||"object"!=typeof e)return!1;try{p.call(e,p);try{u.call(e,u)}catch(oe){return!0}return e instanceof WeakSet}catch(Xa){}return!1}(t))return Z("WeakSet");if(function(e){if(!f||!e||"object"!=typeof e)return!1;try{return f.call(e),!0}catch(Xa){}return!1}(t))return Z("WeakRef");if(function(e){return"[object Number]"===K(e)&&I(e)}(t))return X(H(Number(t)));if(function(e){if(!e||"object"!=typeof e||!_)return!1;try{return _.call(e),!0}catch(Xa){}return!1}(t))return X(H(_.call(t)));if(function(e){return"[object Boolean]"===K(e)&&I(e)}(t))return X(d.call(t));if(function(e){return"[object String]"===K(e)&&I(e)}(t))return X(H(String(t)));if("undefined"!=typeof window&&t===window)return"{ [object Window] }";if("undefined"!=typeof globalThis&&t===globalThis||"undefined"!=typeof global&&t===global)return"{ [object globalThis] }";if(!function(e){return"[object Date]"===K(e)&&I(e)}(t)&&!z(t)){var pe=te(t,H),fe=k?k(t)===Object.prototype:t instanceof Object||t.constructor===Object,de=t instanceof Object?"":"null prototype",ye=!fe&&j&&Object(t)===t&&j in t?g.call(K(t),8,-1):de?"Object":"",he=(fe||"function"!=typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"")+(ye||de?"["+A.call(O.call([],ye||[],de||[]),": ")+"] ":"");return 0===pe.length?he+"{}":L?he+"{"+ee(pe,L)+"}":he+"{ "+A.call(pe,", ")+" }"}return String(t)};var H=Object.prototype.hasOwnProperty||function(e){return e in this};function V(e,t){return H.call(e,t)}function K(e){return y.call(e)}function Q(e,t){if(e.indexOf)return e.indexOf(t);for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1}function G(e,t){if(e.length>t.maxStringLength){var r=e.length-t.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return G(g.call(e,0,t.maxStringLength),t)+n}var o=L[t.quoteStyle||"single"];return o.lastIndex=0,M(b.call(b.call(e,o,"\\$1"),/[\x00-\x1f]/g,J),"single",t)}function J(e){var t=e.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return r?"\\"+r:"\\x"+(t<16?"0":"")+v.call(t.toString(16))}function X(e){return"Object("+e+")"}function Z(e){return e+" { ? }"}function Y(e,t,r,n){return e+" ("+t+") {"+(n?ee(r,n):A.call(r,", "))+"}"}function ee(e,t){if(0===e.length)return"";var r="\n"+t.prev+t.base;return r+A.call(e,","+r)+"\n"+t.prev}function te(e,t){var r=q(e),n=[];if(r){n.length=e.length;for(var o=0;o<e.length;o++)n[o]=V(e,o)?t(e[o],e):""}var a,i="function"==typeof x?x(e):[];if(P){a={};for(var s=0;s<i.length;s++)a["$"+i[s]]=i[s]}for(var l in e)V(e,l)&&(r&&String(Number(l))===l&&l<e.length||P&&a["$"+l]instanceof Symbol||(S.call(/[^\w$]/,l)?n.push(t(l,e)+": "+t(e[l],e)):n.push(l+": "+t(e[l],e))));if("function"==typeof x)for(var c=0;c<i.length;c++)T.call(e,i[c])&&n.push("["+t(i[c])+"]: "+t(e[i[c]],e));return n}}),et=/* @__PURE__ */je((e,t)=>{var r=Ye(),n=Xe(),o=function(e,t,r){for(var n,o=e;null!=(n=o.next);o=n)if(n.key===t)return o.next=n.next,r||(n.next=e.next,e.next=n),n};t.exports=function(){var e,t={assert:function(e){if(!t.has(e))throw new n("Side channel does not contain "+r(e))},delete:function(t){var r=function(e,t){if(e)return o(e,t,!0)}(e,t);return r&&e&&!e.next&&(e=void 0),!!r},get:function(t){return function(e,t){if(e){var r=o(e,t);return r&&r.value}}(e,t)},has:function(t){return function(e,t){return!!e&&!!o(e,t)}(e,t)},set:function(t,r){e||(e={next:void 0}),function(e,t,r){var n=o(e,t);n?n.value=r:e.next={key:t,next:e.next,value:r}}(e,t,r)}};return t}}),tt=/* @__PURE__ */je((e,t)=>{t.exports=Object}),rt=/* @__PURE__ */je((e,t)=>{t.exports=Error}),nt=/* @__PURE__ */je((e,t)=>{t.exports=EvalError}),ot=/* @__PURE__ */je((e,t)=>{t.exports=RangeError}),at=/* @__PURE__ */je((e,t)=>{t.exports=ReferenceError}),it=/* @__PURE__ */je((e,t)=>{t.exports=SyntaxError}),st=/* @__PURE__ */je((e,t)=>{t.exports=URIError}),lt=/* @__PURE__ */je((e,t)=>{t.exports=Math.abs}),ct=/* @__PURE__ */je((e,t)=>{t.exports=Math.floor}),ut=/* @__PURE__ */je((e,t)=>{t.exports=Math.max}),pt=/* @__PURE__ */je((e,t)=>{t.exports=Math.min}),ft=/* @__PURE__ */je((e,t)=>{t.exports=Math.pow}),dt=/* @__PURE__ */je((e,t)=>{t.exports=Math.round}),yt=/* @__PURE__ */je((e,t)=>{t.exports=Number.isNaN||function(e){return e!=e}}),ht=/* @__PURE__ */je((e,t)=>{var r=yt();t.exports=function(e){return r(e)||0===e?e:e<0?-1:1}}),mt=/* @__PURE__ */je((e,t)=>{t.exports=Object.getOwnPropertyDescriptor}),gt=/* @__PURE__ */je((e,t)=>{var r=mt();if(r)try{r([],"length")}catch(Xa){r=null}t.exports=r}),bt=/* @__PURE__ */je((e,t)=>{var r=Object.defineProperty||!1;if(r)try{r({},"a",{value:1})}catch(Xa){r=!1}t.exports=r}),vt=/* @__PURE__ */je((e,t)=>{t.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),r=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(r))return!1;for(var n 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 o=Object.getOwnPropertySymbols(e);if(1!==o.length||o[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var a=Object.getOwnPropertyDescriptor(e,t);if(42!==a.value||!0!==a.enumerable)return!1}return!0}}),wt=/* @__PURE__ */je((e,t)=>{var r="undefined"!=typeof Symbol&&Symbol,n=vt();t.exports=function(){return"function"==typeof r&&("function"==typeof Symbol&&("symbol"==typeof r("foo")&&("symbol"==typeof Symbol("bar")&&n())))}}),St=/* @__PURE__ */je((e,t)=>{t.exports="undefined"!=typeof Reflect&&Reflect.getPrototypeOf||null}),Ot=/* @__PURE__ */je((e,t)=>{var r=tt();t.exports=r.getPrototypeOf||null}),At=/* @__PURE__ */je((e,t)=>{var r=Object.prototype.toString,n=Math.max,o=function(e,t){for(var r=[],n=0;n<e.length;n+=1)r[n]=e[n];for(var o=0;o<t.length;o+=1)r[o+e.length]=t[o];return r};t.exports=function(e){var t=this;if("function"!=typeof t||"[object Function]"!==r.apply(t))throw new TypeError("Function.prototype.bind called on incompatible "+t);for(var a,i=function(e,t){for(var r=[],n=t||0,o=0;n<e.length;n+=1,o+=1)r[o]=e[n];return r}(arguments,1),s=n(0,t.length-i.length),l=[],c=0;c<s;c++)l[c]="$"+c;if(a=Function("binder","return function ("+function(e,t){for(var r="",n=0;n<e.length;n+=1)r+=e[n],n+1<e.length&&(r+=t);return r}(l,",")+"){ return binder.apply(this,arguments); }")(function(){if(this instanceof a){var r=t.apply(this,o(i,arguments));return Object(r)===r?r:this}return t.apply(e,o(i,arguments))}),t.prototype){var u=function(){};u.prototype=t.prototype,a.prototype=new u,u.prototype=null}return a}}),Et=/* @__PURE__ */je((e,t)=>{var r=At();t.exports=Function.prototype.bind||r}),Rt=/* @__PURE__ */je((e,t)=>{t.exports=Function.prototype.call}),_t=/* @__PURE__ */je((e,t)=>{t.exports=Function.prototype.apply}),xt=/* @__PURE__ */je((e,t)=>{t.exports="undefined"!=typeof Reflect&&Reflect&&Reflect.apply}),Ct=/* @__PURE__ */je((e,t)=>{var r=Et(),n=_t(),o=Rt(),a=xt();t.exports=a||r.call(o,n)}),Pt=/* @__PURE__ */je((e,t)=>{var r=Et(),n=Xe(),o=Rt(),a=Ct();t.exports=function(e){if(e.length<1||"function"!=typeof e[0])throw new n("a function is required");return a(r,o,e)}}),jt=/* @__PURE__ */je((e,t)=>{var r,n=Pt(),o=gt();try{r=[].__proto__===Array.prototype}catch(Xa){if(!Xa||"object"!=typeof Xa||!("code"in Xa)||"ERR_PROTO_ACCESS"!==Xa.code)throw Xa}var a=!!r&&o&&o(Object.prototype,"__proto__"),i=Object,s=i.getPrototypeOf;t.exports=a&&"function"==typeof a.get?n([a.get]):"function"==typeof s&&function(e){return s(null==e?e:i(e))}}),Tt=/* @__PURE__ */je((e,t)=>{var r=St(),n=Ot(),o=jt();t.exports=r?function(e){return r(e)}:n?function(e){if(!e||"object"!=typeof e&&"function"!=typeof e)throw new TypeError("getProto: not an object");return n(e)}:o?function(e){return o(e)}:null}),kt=/* @__PURE__ */je((e,t)=>{var r=Function.prototype.call,n=Object.prototype.hasOwnProperty,o=Et();t.exports=o.call(r,n)}),Bt=/* @__PURE__ */je((e,t)=>{var r,n=tt(),o=rt(),a=nt(),i=ot(),s=at(),l=it(),c=Xe(),u=st(),p=lt(),f=ct(),d=ut(),y=pt(),h=ft(),m=dt(),g=ht(),b=Function,v=function(e){try{return b('"use strict"; return ('+e+").constructor;")()}catch(Xa){}},w=gt(),S=bt(),O=function(){throw new c},A=w?function(){try{return O}catch(e){try{return w(arguments,"callee").get}catch(t){return O}}}():O,E=wt()(),R=Tt(),_=Ot(),x=St(),C=_t(),P=Rt(),j={},T="undefined"!=typeof Uint8Array&&R?R(Uint8Array):r,k={__proto__:null,"%AggregateError%":"undefined"==typeof AggregateError?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?r:ArrayBuffer,"%ArrayIteratorPrototype%":E&&R?R([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":j,"%AsyncGenerator%":j,"%AsyncGeneratorFunction%":j,"%AsyncIteratorPrototype%":j,"%Atomics%":"undefined"==typeof Atomics?r:Atomics,"%BigInt%":"undefined"==typeof BigInt?r:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?r:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?r:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":o,"%eval%":eval,"%EvalError%":a,"%Float16Array%":"undefined"==typeof Float16Array?r:Float16Array,"%Float32Array%":"undefined"==typeof Float32Array?r:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?r:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?r:FinalizationRegistry,"%Function%":b,"%GeneratorFunction%":j,"%Int8Array%":"undefined"==typeof Int8Array?r:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?r:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":E&&R?R(R([][Symbol.iterator]())):r,"%JSON%":"object"==typeof JSON?JSON:r,"%Map%":"undefined"==typeof Map?r:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&E&&R?R(/* @__PURE__ */(new Map)[Symbol.iterator]()):r,"%Math%":Math,"%Number%":Number,"%Object%":n,"%Object.getOwnPropertyDescriptor%":w,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?r:Promise,"%Proxy%":"undefined"==typeof Proxy?r:Proxy,"%RangeError%":i,"%ReferenceError%":s,"%Reflect%":"undefined"==typeof Reflect?r:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?r:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&E&&R?R(/* @__PURE__ */(new Set)[Symbol.iterator]()):r,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":E&&R?R(""[Symbol.iterator]()):r,"%Symbol%":E?Symbol:r,"%SyntaxError%":l,"%ThrowTypeError%":A,"%TypedArray%":T,"%TypeError%":c,"%Uint8Array%":"undefined"==typeof Uint8Array?r:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?r:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?r:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?r:Uint32Array,"%URIError%":u,"%WeakMap%":"undefined"==typeof WeakMap?r:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?r:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?r:WeakSet,"%Function.prototype.call%":P,"%Function.prototype.apply%":C,"%Object.defineProperty%":S,"%Object.getPrototypeOf%":_,"%Math.abs%":p,"%Math.floor%":f,"%Math.max%":d,"%Math.min%":y,"%Math.pow%":h,"%Math.round%":m,"%Math.sign%":g,"%Reflect.getPrototypeOf%":x};if(R)try{null.error}catch(Xa){k["%Error.prototype%"]=R(R(Xa))}var B=function e(t){var r;if("%AsyncFunction%"===t)r=v("async function () {}");else if("%GeneratorFunction%"===t)r=v("function* () {}");else if("%AsyncGeneratorFunction%"===t)r=v("async function* () {}");else if("%AsyncGenerator%"===t){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===t){var o=e("%AsyncGenerator%");o&&R&&(r=R(o.prototype))}return k[t]=r,r},$={__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"]},F=Et(),N=kt(),D=F.call(P,Array.prototype.concat),L=F.call(C,Array.prototype.splice),M=F.call(P,String.prototype.replace),U=F.call(P,String.prototype.slice),I=F.call(P,RegExp.prototype.exec),q=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,z=/\\(\\)?/g,W=function(e,t){var r,n=e;if(N($,n)&&(n="%"+(r=$[n])[0]+"%"),N(k,n)){var o=k[n];if(o===j&&(o=B(n)),void 0===o&&!t)throw new c("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:o}}throw new l("intrinsic "+e+" does not exist!")};t.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new c("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new c('"allowMissing" argument must be a boolean');if(null===I(/^%?[^%]*%?$/,e))throw new l("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var r=function(e){var t=U(e,0,1),r=U(e,-1);if("%"===t&&"%"!==r)throw new l("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==t)throw new l("invalid intrinsic syntax, expected opening `%`");var n=[];return M(e,q,function(e,t,r,o){n[n.length]=r?M(o,z,"$1"):t||e}),n}(e),n=r.length>0?r[0]:"",o=W("%"+n+"%",t),a=o.name,i=o.value,s=!1,u=o.alias;u&&(n=u[0],L(r,D([0,1],u)));for(var p=1,f=!0;p<r.length;p+=1){var d=r[p],y=U(d,0,1),h=U(d,-1);if(('"'===y||"'"===y||"`"===y||'"'===h||"'"===h||"`"===h)&&y!==h)throw new l("property names with quotes must have matching quotes");if("constructor"!==d&&f||(s=!0),N(k,a="%"+(n+="."+d)+"%"))i=k[a];else if(null!=i){if(!(d in i)){if(!t)throw new c("base intrinsic for "+e+" exists, but the property is not available.");return}if(w&&p+1>=r.length){var m=w(i,d);i=(f=!!m)&&"get"in m&&!("originalValue"in m.get)?m.get:i[d]}else f=N(i,d),i=i[d];f&&!s&&(k[a]=i)}}return i}}),$t=/* @__PURE__ */je((e,t)=>{var r=Bt(),n=Pt(),o=n([r("%String.prototype.indexOf%")]);t.exports=function(e,t){var a=r(e,!!t);return"function"==typeof a&&o(e,".prototype.")>-1?n([a]):a}}),Ft=/* @__PURE__ */je((e,t)=>{var r=Bt(),n=$t(),o=Ye(),a=Xe(),i=r("%Map%",!0),s=n("Map.prototype.get",!0),l=n("Map.prototype.set",!0),c=n("Map.prototype.has",!0),u=n("Map.prototype.delete",!0),p=n("Map.prototype.size",!0);t.exports=!!i&&function(){var e,t={assert:function(e){if(!t.has(e))throw new a("Side channel does not contain "+o(e))},delete:function(t){if(e){var r=u(e,t);return 0===p(e)&&(e=void 0),r}return!1},get:function(t){if(e)return s(e,t)},has:function(t){return!!e&&c(e,t)},set:function(t,r){e||(e=new i),l(e,t,r)}};return t}}),Nt=/* @__PURE__ */je((e,t)=>{var r=Bt(),n=$t(),o=Ye(),a=Ft(),i=Xe(),s=r("%WeakMap%",!0),l=n("WeakMap.prototype.get",!0),c=n("WeakMap.prototype.set",!0),u=n("WeakMap.prototype.has",!0),p=n("WeakMap.prototype.delete",!0);t.exports=s?function(){var e,t,r={assert:function(e){if(!r.has(e))throw new i("Side channel does not contain "+o(e))},delete:function(r){if(s&&r&&("object"==typeof r||"function"==typeof r)){if(e)return p(e,r)}else if(a&&t)return t.delete(r);return!1},get:function(r){return s&&r&&("object"==typeof r||"function"==typeof r)&&e?l(e,r):t&&t.get(r)},has:function(r){return s&&r&&("object"==typeof r||"function"==typeof r)&&e?u(e,r):!!t&&t.has(r)},set:function(r,n){s&&r&&("object"==typeof r||"function"==typeof r)?(e||(e=new s),c(e,r,n)):a&&(t||(t=a()),t.set(r,n))}};return r}:a}),Dt=/* @__PURE__ */je((e,t)=>{var r=Xe(),n=Ye(),o=et(),a=Ft(),i=Nt()||a||o;t.exports=function(){var e,t={assert:function(e){if(!t.has(e))throw new r("Side channel does not contain "+n(e))},delete:function(t){return!!e&&e.delete(t)},get:function(t){return e&&e.get(t)},has:function(t){return!!e&&e.has(t)},set:function(t,r){e||(e=i()),e.set(t,r)}};return t}}),Lt=/* @__PURE__ */je((e,t)=>{var r=String.prototype.replace,n=/%20/g,o="RFC1738",a="RFC3986";t.exports={default:a,formatters:{RFC1738:function(e){return r.call(e,n,"+")},RFC3986:function(e){return String(e)}},RFC1738:o,RFC3986:a}}),Mt=/* @__PURE__ */je((e,t)=>{var r=Lt(),n=Dt(),o=Object.prototype.hasOwnProperty,a=Array.isArray,i=n(),s=function(e,t){return i.set(e,t),e},l=function(e){return i.has(e)},c=function(e){return i.get(e)},u=function(e,t){i.set(e,t)},p=function(){for(var e=[],t=0;t<256;++t)e[e.length]="%"+((t<16?"0":"")+t.toString(16)).toUpperCase();return e}(),f=function(e,t){for(var r=t&&t.plainObjects?{__proto__:null}:{},n=0;n<e.length;++n)void 0!==e[n]&&(r[n]=e[n]);return r},d=1024;t.exports={arrayToObject:f,assign:function(e,t){return Object.keys(t).reduce(function(e,r){return e[r]=t[r],e},e)},combine:function(e,t,r,n){if(l(e)){var o=c(e)+1;return e[o]=t,u(e,o),e}var a=[].concat(e,t);return a.length>r?s(f(a,{plainObjects:n}),a.length-1):a},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],r=[],n=0;n<t.length;++n)for(var o=t[n],i=o.obj[o.prop],s=Object.keys(i),l=0;l<s.length;++l){var c=s[l],u=i[c];"object"==typeof u&&null!==u&&-1===r.indexOf(u)&&(t[t.length]={obj:i,prop:c},r[r.length]=u)}return function(e){for(;e.length>1;){var t=e.pop(),r=t.obj[t.prop];if(a(r)){for(var n=[],o=0;o<r.length;++o)void 0!==r[o]&&(n[n.length]=r[o]);t.obj[t.prop]=n}}}(t),e},decode:function(e,t,r){var n=e.replace(/\+/g," ");if("iso-8859-1"===r)return n.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(n)}catch(Xa){return n}},encode:function(e,t,n,o,a){if(0===e.length)return e;var i=e;if("symbol"==typeof e?i=Symbol.prototype.toString.call(e):"string"!=typeof e&&(i=String(e)),"iso-8859-1"===n)return escape(i).replace(/%u[0-9a-f]{4}/gi,function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"});for(var s="",l=0;l<i.length;l+=d){for(var c=i.length>=d?i.slice(l,l+d):i,u=[],f=0;f<c.length;++f){var y=c.charCodeAt(f);45===y||46===y||95===y||126===y||y>=48&&y<=57||y>=65&&y<=90||y>=97&&y<=122||a===r.RFC1738&&(40===y||41===y)?u[u.length]=c.charAt(f):y<128?u[u.length]=p[y]:y<2048?u[u.length]=p[192|y>>6]+p[128|63&y]:y<55296||y>=57344?u[u.length]=p[224|y>>12]+p[128|y>>6&63]+p[128|63&y]:(f+=1,y=65536+((1023&y)<<10|1023&c.charCodeAt(f)),u[u.length]=p[240|y>>18]+p[128|y>>12&63]+p[128|y>>6&63]+p[128|63&y])}s+=u.join("")}return s},isBuffer:function(e){return!(!e||"object"!=typeof e)&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isOverflow:l,isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},markOverflow:s,maybeMap:function(e,t){if(a(e)){for(var r=[],n=0;n<e.length;n+=1)r[r.length]=t(e[n]);return r}return t(e)},merge:function e(t,r,n){if(!r)return t;if("object"!=typeof r&&"function"!=typeof r){if(a(t)){var i=t.length;if(n&&"number"==typeof n.arrayLimit&&i>n.arrayLimit)return s(f(t.concat(r),n),i);t[i]=r}else{if(!t||"object"!=typeof t)return[t,r];if(l(t)){var p=c(t)+1;t[p]=r,u(t,p)}else{if(n&&n.strictMerge)return[t,r];(n&&(n.plainObjects||n.allowPrototypes)||!o.call(Object.prototype,r))&&(t[r]=!0)}}return t}if(!t||"object"!=typeof t){if(l(r)){for(var d=Object.keys(r),y=n&&n.plainObjects?{__proto__:null,0:t}:{0:t},h=0;h<d.length;h++){y[parseInt(d[h],10)+1]=r[d[h]]}return s(y,c(r)+1)}var m=[t].concat(r);return n&&"number"==typeof n.arrayLimit&&m.length>n.arrayLimit?s(f(m,n),m.length-1):m}var g=t;return a(t)&&!a(r)&&(g=f(t,n)),a(t)&&a(r)?(r.forEach(function(r,a){if(o.call(t,a)){var i=t[a];i&&"object"==typeof i&&r&&"object"==typeof r?t[a]=e(i,r,n):t[t.length]=r}else t[a]=r}),t):Object.keys(r).reduce(function(t,a){var i=r[a];if(o.call(t,a)?t[a]=e(t[a],i,n):t[a]=i,l(r)&&!l(t)&&s(t,c(r)),l(t)){var p=parseInt(a,10);String(p)===a&&p>=0&&p>c(t)&&u(t,p)}return t},g)}}}),Ut=/* @__PURE__ */je((e,t)=>{var r=Dt(),n=Mt(),o=Lt(),a=Object.prototype.hasOwnProperty,i={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},s=Array.isArray,l=Array.prototype.push,c=function(e,t){l.apply(e,s(t)?t:[t])},u=Date.prototype.toISOString,p=o.default,f={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,commaRoundTrip:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:n.encode,encodeValuesOnly:!1,filter:void 0,format:p,formatter:o.formatters[p],indices:!1,serializeDate:function(e){return u.call(e)},skipNulls:!1,strictNullHandling:!1},d={},y=function e(t,o,a,i,l,u,p,y,h,m,g,b,v,w,S,O,A,E){for(var R,_=t,x=E,C=0,P=!1;void 0!==(x=x.get(d))&&!P;){var j=x.get(t);if(C+=1,void 0!==j){if(j===C)throw new RangeError("Cyclic object value");P=!0}void 0===x.get(d)&&(C=0)}if("function"==typeof m?_=m(o,_):_ instanceof Date?_=v(_):"comma"===a&&s(_)&&(_=n.maybeMap(_,function(e){return e instanceof Date?v(e):e})),null===_){if(u)return S(h&&!O?h(o,f.encoder,A,"key",w):o);_=""}if("string"==typeof(R=_)||"number"==typeof R||"boolean"==typeof R||"symbol"==typeof R||"bigint"==typeof R||n.isBuffer(_))return h?[S(O?o:h(o,f.encoder,A,"key",w))+"="+S(h(_,f.encoder,A,"value",w))]:[S(o)+"="+S(String(_))];var T,k=[];if(void 0===_)return k;if("comma"===a&&s(_))O&&h&&(_=n.maybeMap(_,function(e){return null==e?e:h(e)})),T=[{value:_.length>0?_.join(",")||null:void 0}];else if(s(m))T=m;else{var B=Object.keys(_);T=g?B.sort(g):B}var $=y?String(o).replace(/\./g,"%2E"):String(o),F=i&&s(_)&&1===_.length?$+"[]":$;if(l&&s(_)&&0===_.length)return F+"[]";for(var N=0;N<T.length;++N){var D=T[N],L="object"==typeof D&&D&&void 0!==D.value?D.value:_[D];if(!p||null!==L){var M=b&&y?String(D).replace(/\./g,"%2E"):String(D),U=s(_)?"function"==typeof a?a(F,M):F:F+(b?"."+M:"["+M+"]");E.set(t,C);var I=r();I.set(d,E),c(k,e(L,U,a,i,l,u,p,y,"comma"===a&&O&&s(_)?null:h,m,g,b,v,w,S,O,A,I))}}return k};t.exports=function(e,t){var n,l=e,u=function(e){if(!e)return f;if(void 0!==e.allowEmptyArrays&&"boolean"!=typeof e.allowEmptyArrays)throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(void 0!==e.encodeDotInKeys&&"boolean"!=typeof e.encodeDotInKeys)throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(null!==e.encoder&&void 0!==e.encoder&&"function"!=typeof e.encoder)throw new TypeError("Encoder has to be a function.");var t=e.charset||f.charset;if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var r=o.default;if(void 0!==e.format){if(!a.call(o.formatters,e.format))throw new TypeError("Unknown format option provided.");r=e.format}var n,l=o.formatters[r],c=f.filter;if(("function"==typeof e.filter||s(e.filter))&&(c=e.filter),n=e.arrayFormat in i?e.arrayFormat:"indices"in e?e.indices?"indices":"repeat":f.arrayFormat,"commaRoundTrip"in e&&"boolean"!=typeof e.commaRoundTrip)throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var u=void 0===e.allowDots?!0===e.encodeDotInKeys||f.allowDots:!!e.allowDots;return{addQueryPrefix:"boolean"==typeof e.addQueryPrefix?e.addQueryPrefix:f.addQueryPrefix,allowDots:u,allowEmptyArrays:"boolean"==typeof e.allowEmptyArrays?!!e.allowEmptyArrays:f.allowEmptyArrays,arrayFormat:n,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:f.charsetSentinel,commaRoundTrip:!!e.commaRoundTrip,delimiter:void 0===e.delimiter?f.delimiter:e.delimiter,encode:"boolean"==typeof e.encode?e.encode:f.encode,encodeDotInKeys:"boolean"==typeof e.encodeDotInKeys?e.encodeDotInKeys:f.encodeDotInKeys,encoder:"function"==typeof e.encoder?e.encoder:f.encoder,encodeValuesOnly:"boolean"==typeof e.encodeValuesOnly?e.encodeValuesOnly:f.encodeValuesOnly,filter:c,format:r,formatter:l,serializeDate:"function"==typeof e.serializeDate?e.serializeDate:f.serializeDate,skipNulls:"boolean"==typeof e.skipNulls?e.skipNulls:f.skipNulls,sort:"function"==typeof e.sort?e.sort:null,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:f.strictNullHandling}}(t);"function"==typeof u.filter?l=(0,u.filter)("",l):s(u.filter)&&(n=u.filter);var p=[];if("object"!=typeof l||null===l)return"";var d=i[u.arrayFormat],h="comma"===d&&u.commaRoundTrip;n||(n=Object.keys(l)),u.sort&&n.sort(u.sort);for(var m=r(),g=0;g<n.length;++g){var b=n[g];if(null!=b){var v=l[b];u.skipNulls&&null===v||c(p,y(v,b,d,h,u.allowEmptyArrays,u.strictNullHandling,u.skipNulls,u.encodeDotInKeys,u.encode?u.encoder:null,u.filter,u.sort,u.allowDots,u.serializeDate,u.format,u.formatter,u.encodeValuesOnly,u.charset,m))}}var w=p.join(u.delimiter),S=!0===u.addQueryPrefix?"?":"";return u.charsetSentinel&&("iso-8859-1"===u.charset?S+="utf8=%26%2310003%3B"+u.delimiter:S+="utf8=%E2%9C%93"+u.delimiter),w.length>0?S+w:""}}),It=/* @__PURE__ */je((e,t)=>{var r=Mt(),n=Object.prototype.hasOwnProperty,o=Array.isArray,a={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:r.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictMerge:!0,strictNullHandling:!1,throwOnLimitExceeded:!1},i=function(e){return e.replace(/&#(\d+);/g,function(e,t){return String.fromCharCode(parseInt(t,10))})},s=function(e,t,r){if(e&&"string"==typeof e&&t.comma&&e.indexOf(",")>-1)return e.split(",");if(t.throwOnLimitExceeded&&r>=t.arrayLimit)throw new RangeError("Array limit exceeded. Only "+t.arrayLimit+" element"+(1===t.arrayLimit?"":"s")+" allowed in an array.");return e},l=function(e,t,o,a){if(e){var i=function(e,t){var r=t.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e;if(t.depth<=0){if(!t.plainObjects&&n.call(Object.prototype,r)&&!t.allowPrototypes)return;return[r]}var o=[],a=r.indexOf("["),i=a>=0?r.slice(0,a):r;if(i){if(!t.plainObjects&&n.call(Object.prototype,i)&&!t.allowPrototypes)return;o[o.length]=i}for(var s=r.length,l=a,c=0;l>=0&&c<t.depth;){for(var u=1,p=l+1,f=-1;p<s&&f<0;){var d=r.charCodeAt(p);91===d?u+=1:93===d&&0==(u-=1)&&(f=p),p+=1}if(f<0)return o[o.length]="["+r.slice(l)+"]",o;var y=r.slice(l,f+1),h=y.slice(1,-1);if(!t.plainObjects&&n.call(Object.prototype,h)&&!t.allowPrototypes)return;o[o.length]=y,c+=1,l=r.indexOf("[",f+1)}if(l>=0){if(!0===t.strictDepth)throw new RangeError("Input depth exceeded depth option of "+t.depth+" and strictDepth is true");o[o.length]="["+r.slice(l)+"]"}return o}(e,o);if(i)return function(e,t,n,o){var a=0;if(e.length>0&&"[]"===e[e.length-1]){var i=e.slice(0,-1).join("");a=Array.isArray(t)&&t[i]?t[i].length:0}for(var l=o?t:s(t,n,a),c=e.length-1;c>=0;--c){var u,p=e[c];if("[]"===p&&n.parseArrays)u=r.isOverflow(l)?l:n.allowEmptyArrays&&(""===l||n.strictNullHandling&&null===l)?[]:r.combine([],l,n.arrayLimit,n.plainObjects);else{u=n.plainObjects?{__proto__:null}:{};var f="["===p.charAt(0)&&"]"===p.charAt(p.length-1)?p.slice(1,-1):p,d=n.decodeDotInKeys?f.replace(/%2E/g,"."):f,y=parseInt(d,10),h=!isNaN(y)&&p!==d&&String(y)===d&&y>=0&&n.parseArrays;if(n.parseArrays||""!==d)if(h&&y<n.arrayLimit)(u=[])[y]=l;else{if(h&&n.throwOnLimitExceeded)throw new RangeError("Array limit exceeded. Only "+n.arrayLimit+" element"+(1===n.arrayLimit?"":"s")+" allowed in an array.");h?(u[y]=l,r.markOverflow(u,y)):"__proto__"!==d&&(u[d]=l)}else u={0:l}}l=u}return l}(i,t,o,a)}};t.exports=function(e,t){var c=function(e){if(!e)return a;if(void 0!==e.allowEmptyArrays&&"boolean"!=typeof e.allowEmptyArrays)throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(void 0!==e.decodeDotInKeys&&"boolean"!=typeof e.decodeDotInKeys)throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(null!==e.decoder&&void 0!==e.decoder&&"function"!=typeof e.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");if(void 0!==e.throwOnLimitExceeded&&"boolean"!=typeof e.throwOnLimitExceeded)throw new TypeError("`throwOnLimitExceeded` option must be a boolean");var t=void 0===e.charset?a.charset:e.charset,n=void 0===e.duplicates?a.duplicates:e.duplicates;if("combine"!==n&&"first"!==n&&"last"!==n)throw new TypeError("The duplicates option must be either combine, first, or last");return{allowDots:void 0===e.allowDots?!0===e.decodeDotInKeys||a.allowDots:!!e.allowDots,allowEmptyArrays:"boolean"==typeof e.allowEmptyArrays?!!e.allowEmptyArrays:a.allowEmptyArrays,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:a.allowPrototypes,allowSparse:"boolean"==typeof e.allowSparse?e.allowSparse:a.allowSparse,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:a.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:a.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:a.comma,decodeDotInKeys:"boolean"==typeof e.decodeDotInKeys?e.decodeDotInKeys:a.decodeDotInKeys,decoder:"function"==typeof e.decoder?e.decoder:a.decoder,delimiter:"string"==typeof e.delimiter||r.isRegExp(e.delimiter)?e.delimiter:a.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:a.depth,duplicates:n,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:a.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:a.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:a.plainObjects,strictDepth:"boolean"==typeof e.strictDepth?!!e.strictDepth:a.strictDepth,strictMerge:"boolean"==typeof e.strictMerge?!!e.strictMerge:a.strictMerge,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:a.strictNullHandling,throwOnLimitExceeded:"boolean"==typeof e.throwOnLimitExceeded&&e.throwOnLimitExceeded}}(t);if(""===e||null==e)return c.plainObjects?{__proto__:null}:{};for(var u="string"==typeof e?function(e,t){var l={__proto__:null},c=t.ignoreQueryPrefix?e.replace(/^\?/,""):e;c=c.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var u=t.parameterLimit===1/0?void 0:t.parameterLimit,p=c.split(t.delimiter,t.throwOnLimitExceeded&&void 0!==u?u+1:u);if(t.throwOnLimitExceeded&&void 0!==u&&p.length>u)throw new RangeError("Parameter limit exceeded. Only "+u+" parameter"+(1===u?"":"s")+" allowed.");var f,d=-1,y=t.charset;if(t.charsetSentinel)for(f=0;f<p.length;++f)0===p[f].indexOf("utf8=")&&("utf8=%E2%9C%93"===p[f]?y="utf-8":"utf8=%26%2310003%3B"===p[f]&&(y="iso-8859-1"),d=f,f=p.length);for(f=0;f<p.length;++f)if(f!==d){var h,m,g=p[f],b=g.indexOf("]="),v=-1===b?g.indexOf("="):b+1;if(-1===v?(h=t.decoder(g,a.decoder,y,"key"),m=t.strictNullHandling?null:""):null!==(h=t.decoder(g.slice(0,v),a.decoder,y,"key"))&&(m=r.maybeMap(s(g.slice(v+1),t,o(l[h])?l[h].length:0),function(e){return t.decoder(e,a.decoder,y,"value")})),m&&t.interpretNumericEntities&&"iso-8859-1"===y&&(m=i(String(m))),g.indexOf("[]=")>-1&&(m=o(m)?[m]:m),t.comma&&o(m)&&m.length>t.arrayLimit){if(t.throwOnLimitExceeded)throw new RangeError("Array limit exceeded. Only "+t.arrayLimit+" element"+(1===t.arrayLimit?"":"s")+" allowed in an array.");m=r.combine([],m,t.arrayLimit,t.plainObjects)}if(null!==h){var w=n.call(l,h);w&&("combine"===t.duplicates||g.indexOf("[]=")>-1)?l[h]=r.combine(l[h],m,t.arrayLimit,t.plainObjects):w&&"last"!==t.duplicates||(l[h]=m)}}return l}(e,c):e,p=c.plainObjects?{__proto__:null}:{},f=Object.keys(u),d=0;d<f.length;++d){var y=f[d],h=l(y,u[y],c,"string"==typeof e);p=r.merge(p,h,c)}return!0===c.allowSparse?p:r.compact(p)}}),qt=/* @__PURE__ */je((e,t)=>{var r=Ut(),n=It(),o=Lt();t.exports={formats:o,parse:n,stringify:r}});function zt(e,t){return function(){return e.apply(t,arguments)}}var Wt,{toString:Ht}=Object.prototype,{getPrototypeOf:Vt}=Object,{iterator:Kt,toStringTag:Qt}=Symbol,Gt=(Wt=Object.create(null),e=>{const t=Ht.call(e);return Wt[t]||(Wt[t]=t.slice(8,-1).toLowerCase())}),Jt=e=>(e=e.toLowerCase(),t=>Gt(t)===e),Xt=e=>t=>typeof t===e,{isArray:Zt}=Array,Yt=Xt("undefined");function er(e){return null!==e&&!Yt(e)&&null!==e.constructor&&!Yt(e.constructor)&&nr(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}var tr=Jt("ArrayBuffer");var rr=Xt("string"),nr=Xt("function"),or=Xt("number"),ar=e=>null!==e&&"object"==typeof e,ir=e=>{if("object"!==Gt(e))return!1;const t=Vt(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Qt in e||Kt in e)},sr=Jt("Date"),lr=Jt("File"),cr=Jt("Blob"),ur=Jt("FileList");var pr="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{},fr=void 0!==pr.FormData?pr.FormData:void 0,dr=Jt("URLSearchParams"),[yr,hr,mr,gr]=["ReadableStream","Request","Response","Headers"].map(Jt);function br(e,t,{allOwnKeys:r=!1}={}){if(null==e)return;let n,o;if("object"!=typeof e&&(e=[e]),Zt(e))for(n=0,o=e.length;n<o;n++)t.call(null,e[n],n,e);else{if(er(e))return;const o=r?Object.getOwnPropertyNames(e):Object.keys(e),a=o.length;let i;for(n=0;n<a;n++)i=o[n],t.call(null,e[i],i,e)}}function vr(e,t){if(er(e))return null;t=t.toLowerCase();const r=Object.keys(e);let n,o=r.length;for(;o-- >0;)if(n=r[o],t===n.toLowerCase())return n;return null}var wr="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,Sr=e=>!Yt(e)&&e!==wr;var Or,Ar=(Or="undefined"!=typeof Uint8Array&&Vt(Uint8Array),e=>Or&&e instanceof Or),Er=Jt("HTMLFormElement"),Rr=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),_r=Jt("RegExp"),xr=(e,t)=>{const r=Object.getOwnPropertyDescriptors(e),n={};br(r,(r,o)=>{let a;!1!==(a=t(r,o,e))&&(n[o]=a||r)}),Object.defineProperties(e,n)};var Cr,Pr,jr,Tr,kr=Jt("AsyncFunction"),Br=(Cr="function"==typeof setImmediate,Pr=nr(wr.postMessage),Cr?setImmediate:Pr?(jr=`axios@${Math.random()}`,Tr=[],wr.addEventListener("message",({source:e,data:t})=>{e===wr&&t===jr&&Tr.length&&Tr.shift()()},!1),e=>{Tr.push(e),wr.postMessage(jr,"*")}):e=>setTimeout(e)),$r="undefined"!=typeof queueMicrotask?queueMicrotask.bind(wr):"undefined"!=typeof process&&process.nextTick||Br,Fr={isArray:Zt,isArrayBuffer:tr,isBuffer:er,isFormData:e=>{if(!e)return!1;if(fr&&e instanceof fr)return!0;const t=Vt(e);if(!t||t===Object.prototype)return!1;if(!nr(e.append))return!1;const r=Gt(e);return"formdata"===r||"object"===r&&nr(e.toString)&&"[object FormData]"===e.toString()},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&tr(e.buffer),t},isString:rr,isNumber:or,isBoolean:e=>!0===e||!1===e,isObject:ar,isPlainObject:ir,isEmptyObject:e=>{if(!ar(e)||er(e))return!1;try{return 0===Object.keys(e).length&&Object.getPrototypeOf(e)===Object.prototype}catch(Xa){return!1}},isReadableStream:yr,isRequest:hr,isResponse:mr,isHeaders:gr,isUndefined:Yt,isDate:sr,isFile:lr,isReactNativeBlob:e=>!(!e||void 0===e.uri),isReactNative:e=>e&&void 0!==e.getParts,isBlob:cr,isRegExp:_r,isFunction:nr,isStream:e=>ar(e)&&nr(e.pipe),isURLSearchParams:dr,isTypedArray:Ar,isFileList:ur,forEach:br,merge:function e(...t){const{caseless:r,skipUndefined:n}=Sr(this)&&this||{},o={},a=(t,a)=>{if("__proto__"===a||"constructor"===a||"prototype"===a)return;const i=r&&vr(o,a)||a,s=Rr(o,i)?o[i]:void 0;ir(s)&&ir(t)?o[i]=e(s,t):ir(t)?o[i]=e({},t):Zt(t)?o[i]=t.slice():n&&Yt(t)||(o[i]=t)};for(let i=0,s=t.length;i<s;i++)t[i]&&br(t[i],a);return o},extend:(e,t,r,{allOwnKeys:n}={})=>(br(t,(t,n)=>{r&&nr(t)?Object.defineProperty(e,n,{__proto__:null,value:zt(t,r),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(e,n,{__proto__:null,value:t,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:n}),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,r,n)=>{e.prototype=Object.create(t.prototype,n),Object.defineProperty(e.prototype,"constructor",{__proto__:null,value:e,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(e,"super",{__proto__:null,value:t.prototype}),r&&Object.assign(e.prototype,r)},toFlatObject:(e,t,r,n)=>{let o,a,i;const s={};if(t=t||{},null==e)return t;do{for(o=Object.getOwnPropertyNames(e),a=o.length;a-- >0;)i=o[a],n&&!n(i,e,t)||s[i]||(t[i]=e[i],s[i]=!0);e=!1!==r&&Vt(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},kindOf:Gt,kindOfTest:Jt,endsWith:(e,t,r)=>{e=String(e),(void 0===r||r>e.length)&&(r=e.length),r-=t.length;const n=e.indexOf(t,r);return-1!==n&&n===r},toArray:e=>{if(!e)return null;if(Zt(e))return e;let t=e.length;if(!or(t))return null;const r=new Array(t);for(;t-- >0;)r[t]=e[t];return r},forEachEntry:(e,t)=>{const r=(e&&e[Kt]).call(e);let n;for(;(n=r.next())&&!n.done;){const r=n.value;t.call(e,r[0],r[1])}},matchAll:(e,t)=>{let r;const n=[];for(;null!==(r=e.exec(t));)n.push(r);return n},isHTMLForm:Er,hasOwnProperty:Rr,hasOwnProp:Rr,reduceDescriptors:xr,freezeMethods:e=>{xr(e,(t,r)=>{if(nr(e)&&["arguments","caller","callee"].includes(r))return!1;const n=e[r];nr(n)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")}))})},toObjectSet:(e,t)=>{const r={},n=e=>{e.forEach(e=>{r[e]=!0})};return Zt(e)?n(e):n(String(e).split(t)),r},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(e,t,r){return t.toUpperCase()+r}),noop:()=>{},toFiniteNumber:(e,t)=>null!=e&&Number.isFinite(e=+e)?e:t,findKey:vr,global:wr,isContextDefined:Sr,isSpecCompliantForm:function(e){return!!(e&&nr(e.append)&&"FormData"===e[Qt]&&e[Kt])},toJSONObject:e=>{const t=/* @__PURE__ */new WeakSet,r=e=>{if(ar(e)){if(t.has(e))return;if(er(e))return e;if(!("toJSON"in e)){t.add(e);const n=Zt(e)?[]:{};return br(e,(e,t)=>{const o=r(e);!Yt(o)&&(n[t]=o)}),t.delete(e),n}}return e};return r(e)},isAsyncFn:kr,isThenable:e=>e&&(ar(e)||nr(e))&&nr(e.then)&&nr(e.catch),setImmediate:Br,asap:$r,isIterable:e=>null!=e&&nr(e[Kt])},Nr=Fr.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"]);var Dr=/* @__PURE__ */new RegExp("[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+","g"),Lr=/* @__PURE__ */new RegExp("[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+","g");function Mr(e,t){return Fr.isArray(e)?e.map(e=>Mr(e,t)):function(e){let t=0,r=e.length;for(;t<r;){const r=e.charCodeAt(t);if(9!==r&&32!==r)break;t+=1}for(;r>t;){const t=e.charCodeAt(r-1);if(9!==t&&32!==t)break;r-=1}return 0===t&&r===e.length?e:e.slice(t,r)}(String(e).replace(t,""))}function Ur(e){const t=Object.create(null);return Fr.forEach(e.toJSON(),(e,r)=>{t[r]=(e=>Mr(e,Lr))(e)}),t}var Ir=Symbol("internals");function qr(e){return e&&String(e).trim().toLowerCase()}function zr(e){return!1===e||null==e?e:Fr.isArray(e)?e.map(zr):(e=>Mr(e,Dr))(String(e))}function Wr(e,t,r,n,o){return Fr.isFunction(n)?n.call(this,t,r):(o&&(t=r),Fr.isString(t)?Fr.isString(n)?-1!==t.indexOf(n):Fr.isRegExp(n)?n.test(t):void 0:void 0)}var Hr=class{constructor(e){e&&this.set(e)}set(e,t,r){const n=this;function o(e,t,r){const o=qr(t);if(!o)throw new Error("header name must be a non-empty string");const a=Fr.findKey(n,o);(!a||void 0===n[a]||!0===r||void 0===r&&!1!==n[a])&&(n[a||t]=zr(e))}const a=(e,t)=>Fr.forEach(e,(e,r)=>o(e,r,t));if(Fr.isPlainObject(e)||e instanceof this.constructor)a(e,t);else if(Fr.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim()))a((e=>{const t={};let r,n,o;return e&&e.split("\n").forEach(function(e){o=e.indexOf(":"),r=e.substring(0,o).trim().toLowerCase(),n=e.substring(o+1).trim(),!r||t[r]&&Nr[r]||("set-cookie"===r?t[r]?t[r].push(n):t[r]=[n]:t[r]=t[r]?t[r]+", "+n:n)}),t})(e),t);else if(Fr.isObject(e)&&Fr.isIterable(e)){let r,n,o={};for(const t of e){if(!Fr.isArray(t))throw TypeError("Object iterator must return a key-value pair");o[n=t[0]]=(r=o[n])?Fr.isArray(r)?[...r,t[1]]:[r,t[1]]:t[1]}a(o,t)}else null!=e&&o(t,e,r);return this}get(e,t){if(e=qr(e)){const r=Fr.findKey(this,e);if(r){const e=this[r];if(!t)return e;if(!0===t)return function(e){const t=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=r.exec(e);)t[n[1]]=n[2];return t}(e);if(Fr.isFunction(t))return t.call(this,e,r);if(Fr.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=qr(e)){const r=Fr.findKey(this,e);return!(!r||void 0===this[r]||t&&!Wr(0,this[r],r,t))}return!1}delete(e,t){const r=this;let n=!1;function o(e){if(e=qr(e)){const o=Fr.findKey(r,e);!o||t&&!Wr(0,r[o],o,t)||(delete r[o],n=!0)}}return Fr.isArray(e)?e.forEach(o):o(e),n}clear(e){const t=Object.keys(this);let r=t.length,n=!1;for(;r--;){const o=t[r];e&&!Wr(0,this[o],o,e,!0)||(delete this[o],n=!0)}return n}normalize(e){const t=this,r={};return Fr.forEach(this,(n,o)=>{const a=Fr.findKey(r,o);if(a)return t[a]=zr(n),void delete t[o];const i=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,t,r)=>t.toUpperCase()+r)}(o):String(o).trim();i!==o&&delete t[o],t[i]=zr(n),r[i]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return Fr.forEach(this,(r,n)=>{null!=r&&!1!==r&&(t[n]=e&&Fr.isArray(r)?r.join(", "):r)}),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,t])=>e+": "+t).join("\n")}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const r=new this(e);return t.forEach(e=>r.set(e)),r}static accessor(e){const t=(this[Ir]=this[Ir]={accessors:{}}).accessors,r=this.prototype;function n(e){const n=qr(e);t[n]||(!function(e,t){const r=Fr.toCamelCase(" "+t);["get","set","has"].forEach(n=>{Object.defineProperty(e,n+r,{__proto__:null,value:function(e,r,o){return this[n].call(this,t,e,r,o)},configurable:!0})})}(r,e),t[n]=!0)}return Fr.isArray(e)?e.forEach(n):n(e),this}};Hr.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),Fr.reduceDescriptors(Hr.prototype,({value:e},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[r]=e}}}),Fr.freezeMethods(Hr);function Vr(e,t){const r=new Set(t.map(e=>String(e).toLowerCase())),n=[],o=e=>{if(null===e||"object"!=typeof e)return e;if(Fr.isBuffer(e))return e;if(-1!==n.indexOf(e))return;let t;if(e instanceof Hr&&(e=e.toJSON()),n.push(e),Fr.isArray(e))t=[],e.forEach((e,r)=>{const n=o(e);Fr.isUndefined(n)||(t[r]=n)});else{if(!Fr.isPlainObject(e)&&function(e){if(Fr.hasOwnProp(e,"toJSON"))return!0;let t=Object.getPrototypeOf(e);for(;t&&t!==Object.prototype;){if(Fr.hasOwnProp(t,"toJSON"))return!0;t=Object.getPrototypeOf(t)}return!1}(e))return n.pop(),e;t=Object.create(null);for(const[n,a]of Object.entries(e)){const e=r.has(n.toLowerCase())?"[REDACTED ****]":o(a);Fr.isUndefined(e)||(t[n]=e)}}return n.pop(),t};return o(e)}var Kr=class e extends Error{static from(t,r,n,o,a,i){const s=new e(t.message,r||t.code,n,o,a);return s.cause=t,s.name=t.name,null!=t.status&&null==s.status&&(s.status=t.status),i&&Object.assign(s,i),s}constructor(e,t,r,n,o){super(e),Object.defineProperty(this,"message",{__proto__:null,value:e,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,t&&(this.code=t),r&&(this.config=r),n&&(this.request=n),o&&(this.response=o,this.status=o.status)}toJSON(){const e=this.config,t=e&&Fr.hasOwnProp(e,"redact")?e.redact:void 0,r=Fr.isArray(t)&&t.length>0?Vr(e,t):Fr.toJSONObject(e);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:r,code:this.code,status:this.status}}};function Qr(e){return Fr.isPlainObject(e)||Fr.isArray(e)}function Gr(e){return Fr.endsWith(e,"[]")?e.slice(0,-2):e}function Jr(e,t,r){return e?e.concat(t).map(function(e,t){return e=Gr(e),!r&&t?"["+e+"]":e}).join(r?".":""):t}Kr.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE",Kr.ERR_BAD_OPTION="ERR_BAD_OPTION",Kr.ECONNABORTED="ECONNABORTED",Kr.ETIMEDOUT="ETIMEDOUT",Kr.ECONNREFUSED="ECONNREFUSED",Kr.ERR_NETWORK="ERR_NETWORK",Kr.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS",Kr.ERR_DEPRECATED="ERR_DEPRECATED",Kr.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE",Kr.ERR_BAD_REQUEST="ERR_BAD_REQUEST",Kr.ERR_CANCELED="ERR_CANCELED",Kr.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT",Kr.ERR_INVALID_URL="ERR_INVALID_URL",Kr.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";var Xr=Fr.toFlatObject(Fr,{},null,function(e){return/^is[A-Z]/.test(e)});function Zr(e,t,r){if(!Fr.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;const n=(r=Fr.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(e,t){return!Fr.isUndefined(t[e])})).metaTokens,o=r.visitor||p,a=r.dots,i=r.indexes,s=r.Blob||"undefined"!=typeof Blob&&Blob,l=void 0===r.maxDepth?100:r.maxDepth,c=s&&Fr.isSpecCompliantForm(t);if(!Fr.isFunction(o))throw new TypeError("visitor must be a function");function u(e){if(null===e)return"";if(Fr.isDate(e))return e.toISOString();if(Fr.isBoolean(e))return e.toString();if(!c&&Fr.isBlob(e))throw new Kr("Blob is not supported. Use a Buffer instead.");return Fr.isArrayBuffer(e)||Fr.isTypedArray(e)?c&&"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}function p(e,r,o){let s=e;if(Fr.isReactNative(t)&&Fr.isReactNativeBlob(e))return t.append(Jr(o,r,a),u(e)),!1;if(e&&!o&&"object"==typeof e)if(Fr.endsWith(r,"{}"))r=n?r:r.slice(0,-2),e=JSON.stringify(e);else if(Fr.isArray(e)&&function(e){return Fr.isArray(e)&&!e.some(Qr)}(e)||(Fr.isFileList(e)||Fr.endsWith(r,"[]"))&&(s=Fr.toArray(e)))return r=Gr(r),s.forEach(function(e,n){!Fr.isUndefined(e)&&null!==e&&t.append(!0===i?Jr([r],n,a):null===i?r:r+"[]",u(e))}),!1;return!!Qr(e)||(t.append(Jr(o,r,a),u(e)),!1)}const f=[],d=Object.assign(Xr,{defaultVisitor:p,convertValue:u,isVisitable:Qr});if(!Fr.isObject(e))throw new TypeError("data must be an object");return function e(r,n,a=0){if(!Fr.isUndefined(r)){if(a>l)throw new Kr("Object is too deeply nested ("+a+" levels). Max depth: "+l,Kr.ERR_FORM_DATA_DEPTH_EXCEEDED);if(-1!==f.indexOf(r))throw Error("Circular reference detected in "+n.join("."));f.push(r),Fr.forEach(r,function(r,i){!0===(!(Fr.isUndefined(r)||null===r)&&o.call(t,r,Fr.isString(i)?i.trim():i,n,d))&&e(r,n?n.concat(i):[i],a+1)}),f.pop()}}(e),t}function Yr(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent(e).replace(/[!'()~]|%20/g,function(e){return t[e]})}function en(e,t){this._pairs=[],e&&Zr(e,this,t)}var tn=en.prototype;function rn(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function nn(e,t,r){if(!t)return e;const n=r&&r.encode||rn,o=Fr.isFunction(r)?{serialize:r}:r,a=o&&o.serialize;let i;if(i=a?a(t,o):Fr.isURLSearchParams(t)?t.toString():new en(t,o).toString(n),i){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}tn.append=function(e,t){this._pairs.push([e,t])},tn.toString=function(e){const t=e?function(t){return e.call(this,t,Yr)}:Yr;return this._pairs.map(function(e){return t(e[0])+"="+t(e[1])},"").join("&")};var on=class{constructor(){this.handlers=[]}use(e,t,r){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){Fr.forEach(this.handlers,function(t){null!==t&&e(t)})}},an={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0},sn={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:en,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]},ln=/* @__PURE__ */Te({hasBrowserEnv:()=>cn,hasStandardBrowserEnv:()=>pn,hasStandardBrowserWebWorkerEnv:()=>fn,navigator:()=>un,origin:()=>dn}),cn="undefined"!=typeof window&&"undefined"!=typeof document,un="object"==typeof navigator&&navigator||void 0,pn=cn&&(!un||["ReactNative","NativeScript","NS"].indexOf(un.product)<0),fn="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,dn=cn&&window.location.href||"http://localhost",yn={...ln,...sn};function hn(e){function t(e,r,n,o){let a=e[o++];if("__proto__"===a)return!0;const i=Number.isFinite(+a),s=o>=e.length;return a=!a&&Fr.isArray(n)?n.length:a,s?(Fr.hasOwnProp(n,a)?n[a]=Fr.isArray(n[a])?n[a].concat(r):[n[a],r]:n[a]=r,!i):(Fr.hasOwnProp(n,a)&&Fr.isObject(n[a])||(n[a]=[]),t(e,r,n[a],o)&&Fr.isArray(n[a])&&(n[a]=function(e){const t={},r=Object.keys(e);let n;const o=r.length;let a;for(n=0;n<o;n++)a=r[n],t[a]=e[a];return t}(n[a])),!i)}if(Fr.isFormData(e)&&Fr.isFunction(e.entries)){const r={};return Fr.forEachEntry(e,(e,n)=>{t(function(e){return Fr.matchAll(/\w+|\[(\w*)]/g,e).map(e=>"[]"===e[0]?"":e[1]||e[0])}(e),n,r,0)}),r}return null}var mn=(e,t)=>null!=e&&Fr.hasOwnProp(e,t)?e[t]:void 0;var gn={transitional:an,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const r=t.getContentType()||"",n=r.indexOf("application/json")>-1,o=Fr.isObject(e);if(o&&Fr.isHTMLForm(e)&&(e=new FormData(e)),Fr.isFormData(e))return n?JSON.stringify(hn(e)):e;if(Fr.isArrayBuffer(e)||Fr.isBuffer(e)||Fr.isStream(e)||Fr.isFile(e)||Fr.isBlob(e)||Fr.isReadableStream(e))return e;if(Fr.isArrayBufferView(e))return e.buffer;if(Fr.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let a;if(o){const t=mn(this,"formSerializer");if(r.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return Zr(e,new yn.classes.URLSearchParams,{visitor:function(e,t,r,n){return yn.isNode&&Fr.isBuffer(e)?(this.append(t,e.toString("base64")),!1):n.defaultVisitor.apply(this,arguments)},...t})}(e,t).toString();if((a=Fr.isFileList(e))||r.indexOf("multipart/form-data")>-1){const r=mn(this,"env"),n=r&&r.FormData;return Zr(a?{"files[]":e}:e,n&&new n,t)}}return o||n?(t.setContentType("application/json",!1),function(e,t,r){if(Fr.isString(e))try{return(t||JSON.parse)(e),Fr.trim(e)}catch(Xa){if("SyntaxError"!==Xa.name)throw Xa}return(r||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=mn(this,"transitional")||gn.transitional,r=t&&t.forcedJSONParsing,n=mn(this,"responseType"),o="json"===n;if(Fr.isResponse(e)||Fr.isReadableStream(e))return e;if(e&&Fr.isString(e)&&(r&&!n||o)){const r=!(t&&t.silentJSONParsing)&&o;try{return JSON.parse(e,mn(this,"parseReviver"))}catch(Xa){if(r){if("SyntaxError"===Xa.name)throw Kr.from(Xa,Kr.ERR_BAD_RESPONSE,this,null,mn(this,"response"));throw Xa}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:yn.classes.FormData,Blob:yn.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};function bn(e,t){const r=this||gn,n=t||r,o=Hr.from(n.headers);let a=n.data;return Fr.forEach(e,function(e){a=e.call(r,a,o.normalize(),t?t.status:void 0)}),o.normalize(),a}function vn(e){return!(!e||!e.__CANCEL__)}Fr.forEach(["delete","get","head","post","put","patch","query"],e=>{gn.headers[e]={}});var wn=class extends Kr{constructor(e,t,r){super(null==e?"canceled":e,Kr.ERR_CANCELED,t,r),this.name="CanceledError",this.__CANCEL__=!0}};function Sn(e,t,r){const n=r.config.validateStatus;r.status&&n&&!n(r.status)?t(new Kr("Request failed with status code "+r.status,r.status>=400&&r.status<500?Kr.ERR_BAD_REQUEST:Kr.ERR_BAD_RESPONSE,r.config,r.request,r)):e(r)}var On=(e,t,r=3)=>{let n=0;const o=function(e,t){e=e||10;const r=new Array(e),n=new Array(e);let o,a=0,i=0;return t=void 0!==t?t:1e3,function(s){const l=Date.now(),c=n[i];o||(o=l),r[a]=s,n[a]=l;let u=i,p=0;for(;u!==a;)p+=r[u++],u%=e;if(a=(a+1)%e,a===i&&(i=(i+1)%e),l-o<t)return;const f=c&&l-c;return f?Math.round(1e3*p/f):void 0}}(50,250);return function(e,t){let r,n,o=0,a=1e3/t;const i=(t,a=Date.now())=>{o=a,r=null,n&&(clearTimeout(n),n=null),e(...t)};return[(...e)=>{const t=Date.now(),s=t-o;s>=a?i(e,t):(r=e,n||(n=setTimeout(()=>{n=null,i(r)},a-s)))},()=>r&&i(r)]}(r=>{if(!r||"number"!=typeof r.loaded)return;const a=r.loaded,i=r.lengthComputable?r.total:void 0,s=null!=i?Math.min(a,i):a,l=Math.max(0,s-n),c=o(l);n=Math.max(n,s),e({loaded:s,total:i,progress:i?s/i:void 0,bytes:l,rate:c||void 0,estimated:c&&i?(i-s)/c:void 0,event:r,lengthComputable:null!=i,[t?"download":"upload"]:!0})},r)},An=(e,t)=>{const r=null!=e;return[n=>t[0]({lengthComputable:r,total:e,loaded:n}),t[1]]},En=e=>(...t)=>Fr.asap(()=>e(...t)),Rn=yn.hasStandardBrowserEnv?((e,t)=>r=>(r=new URL(r,yn.origin),e.protocol===r.protocol&&e.host===r.host&&(t||e.port===r.port)))(new URL(yn.origin),yn.navigator&&/(msie|trident)/i.test(yn.navigator.userAgent)):()=>!0,_n=yn.hasStandardBrowserEnv?{write(e,t,r,n,o,a,i){if("undefined"==typeof document)return;const s=[`${e}=${encodeURIComponent(t)}`];Fr.isNumber(r)&&s.push(`expires=${new Date(r).toUTCString()}`),Fr.isString(n)&&s.push(`path=${n}`),Fr.isString(o)&&s.push(`domain=${o}`),!0===a&&s.push("secure"),Fr.isString(i)&&s.push(`SameSite=${i}`),document.cookie=s.join("; ")},read(e){if("undefined"==typeof document)return null;const t=document.cookie.split(";");for(let r=0;r<t.length;r++){const n=t[r].replace(/^\s+/,""),o=n.indexOf("=");if(-1!==o&&n.slice(0,o)===e)return decodeURIComponent(n.slice(o+1))}return null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read:()=>null,remove(){}};function xn(e,t,r){let n=!("string"==typeof(o=t)&&/^([a-z][a-z\d+\-.]*:)?\/\//i.test(o));var o;return e&&(n||!1===r)?function(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}var Cn=e=>e instanceof Hr?{...e}:e;function Pn(e,t){t=t||{};const r=Object.create(null);function n(e,t,r,n){return Fr.isPlainObject(e)&&Fr.isPlainObject(t)?Fr.merge.call({caseless:n},e,t):Fr.isPlainObject(t)?Fr.merge({},t):Fr.isArray(t)?t.slice():t}function o(e,t,r,o){return Fr.isUndefined(t)?Fr.isUndefined(e)?void 0:n(void 0,e,0,o):n(e,t,0,o)}function a(e,t){if(!Fr.isUndefined(t))return n(void 0,t)}function i(e,t){return Fr.isUndefined(t)?Fr.isUndefined(e)?void 0:n(void 0,e):n(void 0,t)}function s(r,o,a){return Fr.hasOwnProp(t,a)?n(r,o):Fr.hasOwnProp(e,a)?n(void 0,r):void 0}Object.defineProperty(r,"hasOwnProperty",{__proto__:null,value:Object.prototype.hasOwnProperty,enumerable:!1,writable:!0,configurable:!0});const l={url:a,method:a,data:a,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,allowedSocketPaths:i,responseEncoding:i,validateStatus:s,headers:(e,t,r)=>o(Cn(e),Cn(t),0,!0)};return Fr.forEach(Object.keys({...e,...t}),function(n){if("__proto__"===n||"constructor"===n||"prototype"===n)return;const a=Fr.hasOwnProp(l,n)?l[n]:o,i=a(Fr.hasOwnProp(e,n)?e[n]:void 0,Fr.hasOwnProp(t,n)?t[n]:void 0,n);Fr.isUndefined(i)&&a!==s||(r[n]=i)}),r}var jn=["content-type","content-length"];var Tn=e=>{const t=Pn({},e),r=e=>Fr.hasOwnProp(t,e)?t[e]:void 0,n=r("data");let o=r("withXSRFToken");const a=r("xsrfHeaderName"),i=r("xsrfCookieName");let s=r("headers");const l=r("auth"),c=r("baseURL"),u=r("allowAbsoluteUrls"),p=r("url");var f;if(t.headers=s=Hr.from(s),t.url=nn(xn(c,p,u),e.params,e.paramsSerializer),l&&s.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?(f=l.password,encodeURIComponent(f).replace(/%([0-9A-F]{2})/gi,(e,t)=>String.fromCharCode(parseInt(t,16)))):""))),Fr.isFormData(n)&&(yn.hasStandardBrowserEnv||yn.hasStandardBrowserWebWorkerEnv?s.setContentType(void 0):Fr.isFunction(n.getHeaders)&&function(e,t,r){"content-only"===r?Object.entries(t).forEach(([t,r])=>{jn.includes(t.toLowerCase())&&e.set(t,r)}):e.set(t)}(s,n.getHeaders(),r("formDataHeaderPolicy"))),yn.hasStandardBrowserEnv&&(Fr.isFunction(o)&&(o=o(t)),!0===o||null==o&&Rn(t.url))){const e=a&&i&&_n.read(i);e&&s.set(a,e)}return t},kn="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise(function(t,r){const n=Tn(e);let o=n.data;const a=Hr.from(n.headers).normalize();let i,s,l,c,u,{responseType:p,onUploadProgress:f,onDownloadProgress:d}=n;function y(){c&&c(),u&&u(),n.cancelToken&&n.cancelToken.unsubscribe(i),n.signal&&n.signal.removeEventListener("abort",i)}let h=new XMLHttpRequest;function m(){if(!h)return;const n=Hr.from("getAllResponseHeaders"in h&&h.getAllResponseHeaders());Sn(function(e){t(e),y()},function(e){r(e),y()},{data:p&&"text"!==p&&"json"!==p?h.response:h.responseText,status:h.status,statusText:h.statusText,headers:n,config:e,request:h}),h=null}h.open(n.method.toUpperCase(),n.url,!0),h.timeout=n.timeout,"onloadend"in h?h.onloadend=m:h.onreadystatechange=function(){h&&4===h.readyState&&(0!==h.status||h.responseURL&&h.responseURL.startsWith("file:"))&&setTimeout(m)},h.onabort=function(){h&&(r(new Kr("Request aborted",Kr.ECONNABORTED,e,h)),y(),h=null)},h.onerror=function(t){const n=new Kr(t&&t.message?t.message:"Network Error",Kr.ERR_NETWORK,e,h);n.event=t||null,r(n),y(),h=null},h.ontimeout=function(){let t=n.timeout?"timeout of "+n.timeout+"ms exceeded":"timeout exceeded";const o=n.transitional||an;n.timeoutErrorMessage&&(t=n.timeoutErrorMessage),r(new Kr(t,o.clarifyTimeoutError?Kr.ETIMEDOUT:Kr.ECONNABORTED,e,h)),y(),h=null},void 0===o&&a.setContentType(null),"setRequestHeader"in h&&Fr.forEach(Ur(a),function(e,t){h.setRequestHeader(t,e)}),Fr.isUndefined(n.withCredentials)||(h.withCredentials=!!n.withCredentials),p&&"json"!==p&&(h.responseType=n.responseType),d&&([l,u]=On(d,!0),h.addEventListener("progress",l)),f&&h.upload&&([s,c]=On(f),h.upload.addEventListener("progress",s),h.upload.addEventListener("loadend",c)),(n.cancelToken||n.signal)&&(i=t=>{h&&(r(!t||t.type?new wn(null,e,h):t),h.abort(),y(),h=null)},n.cancelToken&&n.cancelToken.subscribe(i),n.signal&&(n.signal.aborted?i():n.signal.addEventListener("abort",i)));const g=function(e){const t=/^([-+\w]{1,25}):(?:\/\/)?/.exec(e);return t&&t[1]||""}(n.url);!g||yn.protocols.includes(g)?h.send(o||null):r(new Kr("Unsupported protocol "+g+":",Kr.ERR_BAD_REQUEST,e))})},Bn=(e,t)=>{if(e=e?e.filter(Boolean):[],!t&&!e.length)return;const r=new AbortController;let n=!1;const o=function(e){if(!n){n=!0,i();const t=e instanceof Error?e:this.reason;r.abort(t instanceof Kr?t:new wn(t instanceof Error?t.message:t))}};let a=t&&setTimeout(()=>{a=null,o(new Kr(`timeout of ${t}ms exceeded`,Kr.ETIMEDOUT))},t);const i=()=>{e&&(a&&clearTimeout(a),a=null,e.forEach(e=>{e.unsubscribe?e.unsubscribe(o):e.removeEventListener("abort",o)}),e=null)};e.forEach(e=>e.addEventListener("abort",o));const{signal:s}=r;return s.unsubscribe=()=>Fr.asap(i),s},$n=function*(e,t){let r=e.byteLength;if(!t||r<t)return void(yield e);let n,o=0;for(;o<r;)n=o+t,yield e.slice(o,n),o=n},Fn=async function*(e){if(e[Symbol.asyncIterator])return void(yield*e);const t=e.getReader();try{for(;;){const{done:e,value:r}=await t.read();if(e)break;yield r}}finally{await t.cancel()}},Nn=(e,t,r,n)=>{const o=async function*(e,t){for await(const r of Fn(e))yield*$n(r,t)}(e,t);let a,i=0,s=e=>{a||(a=!0,n&&n(e))};return new ReadableStream({async pull(e){try{const{done:t,value:n}=await o.next();if(t)return s(),void e.close();let a=n.byteLength;r&&r(i+=a),e.enqueue(new Uint8Array(n))}catch(t){throw s(t),t}},cancel:e=>(s(e),o.return())},{highWaterMark:2})};var Dn="1.16.1",{isFunction:Ln}=Fr,Mn=(e,...t)=>{try{return!!e(...t)}catch(Xa){return!1}},Un=e=>{const t=void 0!==Fr.global&&null!==Fr.global?Fr.global:globalThis,{ReadableStream:r,TextEncoder:n}=t;e=Fr.merge.call({skipUndefined:!0},{Request:t.Request,Response:t.Response},e);const{fetch:o,Request:a,Response:i}=e,s=o?Ln(o):"function"==typeof fetch,l=Ln(a),c=Ln(i);if(!s)return!1;const u=s&&Ln(r),p=s&&("function"==typeof n?(f=new n,e=>f.encode(e)):async e=>new Uint8Array(await new a(e).arrayBuffer()));var f;const d=l&&u&&Mn(()=>{let e=!1;const t=new a(yn.origin,{body:new r,method:"POST",get duplex(){return e=!0,"half"}}),n=t.headers.has("Content-Type");return null!=t.body&&t.body.cancel(),e&&!n}),y=c&&u&&Mn(()=>Fr.isReadableStream(new i("").body)),h={stream:y&&(e=>e.body)};s&&["text","arrayBuffer","blob","formData","stream"].forEach(e=>{!h[e]&&(h[e]=(t,r)=>{let n=t&&t[e];if(n)return n.call(t);throw new Kr(`Response type '${e}' is not supported`,Kr.ERR_NOT_SUPPORT,r)})});const m=async(e,t)=>{const r=Fr.toFiniteNumber(e.getContentLength());return null==r?(async e=>null==e?0:Fr.isBlob(e)?e.size:Fr.isSpecCompliantForm(e)?(await new a(yn.origin,{method:"POST",body:e}).arrayBuffer()).byteLength:Fr.isArrayBufferView(e)||Fr.isArrayBuffer(e)?e.byteLength:(Fr.isURLSearchParams(e)&&(e+=""),Fr.isString(e)?(await p(e)).byteLength:void 0))(t):r};return async e=>{let{url:t,method:r,data:s,signal:c,cancelToken:u,timeout:p,onDownloadProgress:f,onUploadProgress:g,responseType:b,headers:v,withCredentials:w="same-origin",fetchOptions:S,maxContentLength:O,maxBodyLength:A}=Tn(e);const E=Fr.isNumber(O)&&O>-1,R=Fr.isNumber(A)&&A>-1;let _=o||fetch;b=b?(b+"").toLowerCase():"text";let x=Bn([c,u&&u.toAbortSignal()],p),C=null;const P=x&&x.unsubscribe&&(()=>{x.unsubscribe()});let j;try{if(E&&"string"==typeof t&&t.startsWith("data:")&&function(e){if(!e||"string"!=typeof e)return 0;if(!e.startsWith("data:"))return 0;const t=e.indexOf(",");if(t<0)return 0;const r=e.slice(5,t),n=e.slice(t+1);if(/;base64/i.test(r)){let e=n.length;const t=n.length;for(let s=0;s<t;s++)if(37===n.charCodeAt(s)&&s+2<t){const t=n.charCodeAt(s+1),r=n.charCodeAt(s+2);(t>=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102)&&(r>=48&&r<=57||r>=65&&r<=70||r>=97&&r<=102)&&(e-=2,s+=2)}let r=0,o=t-1;const a=e=>e>=2&&37===n.charCodeAt(e-2)&&51===n.charCodeAt(e-1)&&(68===n.charCodeAt(e)||100===n.charCodeAt(e));o>=0&&(61===n.charCodeAt(o)?(r++,o--):a(o)&&(r++,o-=3)),1===r&&o>=0&&(61===n.charCodeAt(o)||a(o))&&r++;const i=3*Math.floor(e/4)-(r||0);return i>0?i:0}if("undefined"!=typeof Buffer&&"function"==typeof Buffer.byteLength)return Buffer.byteLength(n,"utf8");let o=0;for(let a=0,i=n.length;a<i;a++){const e=n.charCodeAt(a);if(e<128)o+=1;else if(e<2048)o+=2;else if(e>=55296&&e<=56319&&a+1<i){const e=n.charCodeAt(a+1);e>=56320&&e<=57343?(o+=4,a++):o+=3}else o+=3}return o}(t)>O)throw new Kr("maxContentLength size of "+O+" exceeded",Kr.ERR_BAD_RESPONSE,e,C);if(R&&"get"!==r&&"head"!==r){const t=await m(v,s);if("number"==typeof t&&isFinite(t)&&t>A)throw new Kr("Request body larger than maxBodyLength limit",Kr.ERR_BAD_REQUEST,e,C)}if(g&&d&&"get"!==r&&"head"!==r&&0!==(j=await m(v,s))){let e,r=new a(t,{method:"POST",body:s,duplex:"half"});if(Fr.isFormData(s)&&(e=r.headers.get("content-type"))&&v.setContentType(e),r.body){const[e,t]=An(j,On(En(g)));s=Nn(r.body,65536,e,t)}}Fr.isString(w)||(w=w?"include":"omit");const o=l&&"credentials"in a.prototype;if(Fr.isFormData(s)){const e=v.getContentType();e&&/^multipart\/form-data/i.test(e)&&!/boundary=/i.test(e)&&v.delete("content-type")}v.set("User-Agent","axios/"+Dn,!1);const c={...S,signal:x,method:r.toUpperCase(),headers:Ur(v.normalize()),body:s,duplex:"half",credentials:o?w:void 0};C=l&&new a(t,c);let u=await(l?_(C,S):_(t,c));if(E){const t=Fr.toFiniteNumber(u.headers.get("content-length"));if(null!=t&&t>O)throw new Kr("maxContentLength size of "+O+" exceeded",Kr.ERR_BAD_RESPONSE,e,C)}const p=y&&("stream"===b||"response"===b);if(y&&u.body&&(f||E||p&&P)){const t={};["status","statusText","headers"].forEach(e=>{t[e]=u[e]});const r=Fr.toFiniteNumber(u.headers.get("content-length")),[n,o]=f&&An(r,On(En(f),!0))||[];let a=0;const s=t=>{if(E&&(a=t,a>O))throw new Kr("maxContentLength size of "+O+" exceeded",Kr.ERR_BAD_RESPONSE,e,C);n&&n(t)};u=new i(Nn(u.body,65536,s,()=>{o&&o(),P&&P()}),t)}b=b||"text";let T=await h[Fr.findKey(h,b)||"text"](u,e);if(E&&!y&&!p){let t;if(null!=T&&("number"==typeof T.byteLength?t=T.byteLength:"number"==typeof T.size?t=T.size:"string"==typeof T&&(t="function"==typeof n?(new n).encode(T).byteLength:T.length)),"number"==typeof t&&t>O)throw new Kr("maxContentLength size of "+O+" exceeded",Kr.ERR_BAD_RESPONSE,e,C)}return!p&&P&&P(),await new Promise((t,r)=>{Sn(t,r,{data:T,headers:Hr.from(u.headers),status:u.status,statusText:u.statusText,config:e,request:C})})}catch(T){if(P&&P(),x&&x.aborted&&x.reason instanceof Kr){const t=x.reason;throw t.config=e,C&&(t.request=C),T!==t&&(t.cause=T),t}if(T&&"TypeError"===T.name&&/Load failed|fetch/i.test(T.message))throw Object.assign(new Kr("Network Error",Kr.ERR_NETWORK,e,C,T&&T.response),{cause:T.cause||T});throw Kr.from(T,T&&T.code,e,C,T&&T.response)}}},In=/* @__PURE__ */new Map,qn=e=>{let t=e&&e.env||{};const{fetch:r,Request:n,Response:o}=t,a=[n,o,r];let i,s,l=a.length,c=In;for(;l--;)i=a[l],s=c.get(i),void 0===s&&c.set(i,s=l?/* @__PURE__ */new Map:Un(t)),c=s;return s},zn=(qn(),{http:null,xhr:kn,fetch:{get:qn}});Fr.forEach(zn,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{__proto__:null,value:t})}catch(Xa){}Object.defineProperty(e,"adapterName",{__proto__:null,value:t})}});var Wn=e=>`- ${e}`,Hn=e=>Fr.isFunction(e)||null===e||!1===e;var Vn={getAdapter:function(e,t){e=Fr.isArray(e)?e:[e];const{length:r}=e;let n,o;const a={};for(let i=0;i<r;i++){let r;if(n=e[i],o=n,!Hn(n)&&(o=zn[(r=String(n)).toLowerCase()],void 0===o))throw new Kr(`Unknown adapter '${r}'`);if(o&&(Fr.isFunction(o)||(o=o.get(t))))break;a[r||"#"+i]=o}if(!o){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 Kr("There is no suitable adapter to dispatch the request "+(r?e.length>1?"since :\n"+e.map(Wn).join("\n"):" "+Wn(e[0]):"as no adapter specified"),"ERR_NOT_SUPPORT")}return o},adapters:zn};function Kn(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new wn(null,e)}function Qn(e){return Kn(e),e.headers=Hr.from(e.headers),e.data=bn.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Vn.getAdapter(e.adapter||gn.adapter,e)(e).then(function(t){Kn(e),e.response=t;try{t.data=bn.call(e,e.transformResponse,t)}finally{delete e.response}return t.headers=Hr.from(t.headers),t},function(t){if(!vn(t)&&(Kn(e),t&&t.response)){e.response=t.response;try{t.response.data=bn.call(e,e.transformResponse,t.response)}finally{delete e.response}t.response.headers=Hr.from(t.response.headers)}return Promise.reject(t)})}var Gn={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Gn[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});var Jn={};Gn.transitional=function(e,t,r){function n(e,t){return"[Axios v"+Dn+"] Transitional option '"+e+"'"+t+(r?". "+r:"")}return(r,o,a)=>{if(!1===e)throw new Kr(n(o," has been removed"+(t?" in "+t:"")),Kr.ERR_DEPRECATED);return t&&!Jn[o]&&(Jn[o]=!0,console.warn(n(o," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(r,o,a)}},Gn.spelling=function(e){return(t,r)=>(console.warn(`${r} is likely a misspelling of ${e}`),!0)};var Xn={assertOptions:function(e,t,r){if("object"!=typeof e)throw new Kr("options must be an object",Kr.ERR_BAD_OPTION_VALUE);const n=Object.keys(e);let o=n.length;for(;o-- >0;){const a=n[o],i=Object.prototype.hasOwnProperty.call(t,a)?t[a]:void 0;if(i){const t=e[a],r=void 0===t||i(t,a,e);if(!0!==r)throw new Kr("option "+a+" must be "+r,Kr.ERR_BAD_OPTION_VALUE);continue}if(!0!==r)throw new Kr("Unknown option "+a,Kr.ERR_BAD_OPTION)}},validators:Gn},Zn=Xn.validators,Yn=class{constructor(e){this.defaults=e||{},this.interceptors={request:new on,response:new on}}async request(e,t){try{return await this._request(e,t)}catch(r){if(r instanceof Error){let e={};Error.captureStackTrace?Error.captureStackTrace(e):e=/* @__PURE__ */new Error;const t=(()=>{if(!e.stack)return"";const t=e.stack.indexOf("\n");return-1===t?"":e.stack.slice(t+1)})();try{if(r.stack){if(t){const e=t.indexOf("\n"),n=-1===e?-1:t.indexOf("\n",e+1),o=-1===n?"":t.slice(n+1);String(r.stack).endsWith(o)||(r.stack+="\n"+t)}}else r.stack=t}catch(Xa){}}throw r}}_request(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},t=Pn(this.defaults,t);const{transitional:r,paramsSerializer:n,headers:o}=t;void 0!==r&&Xn.assertOptions(r,{silentJSONParsing:Zn.transitional(Zn.boolean),forcedJSONParsing:Zn.transitional(Zn.boolean),clarifyTimeoutError:Zn.transitional(Zn.boolean),legacyInterceptorReqResOrdering:Zn.transitional(Zn.boolean)},!1),null!=n&&(Fr.isFunction(n)?t.paramsSerializer={serialize:n}:Xn.assertOptions(n,{encode:Zn.function,serialize:Zn.function},!0)),void 0!==t.allowAbsoluteUrls||(void 0!==this.defaults.allowAbsoluteUrls?t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:t.allowAbsoluteUrls=!0),Xn.assertOptions(t,{baseUrl:Zn.spelling("baseURL"),withXsrfToken:Zn.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let a=o&&Fr.merge(o.common,o[t.method]);o&&Fr.forEach(["delete","get","head","post","put","patch","query","common"],e=>{delete o[e]}),t.headers=Hr.concat(a,o);const i=[];let s=!0;this.interceptors.request.forEach(function(e){if("function"==typeof e.runWhen&&!1===e.runWhen(t))return;s=s&&e.synchronous;const r=t.transitional||an;r&&r.legacyInterceptorReqResOrdering?i.unshift(e.fulfilled,e.rejected):i.push(e.fulfilled,e.rejected)});const l=[];let c;this.interceptors.response.forEach(function(e){l.push(e.fulfilled,e.rejected)});let u,p=0;if(!s){const e=[Qn.bind(this),void 0];for(e.unshift(...i),e.push(...l),u=e.length,c=Promise.resolve(t);p<u;)c=c.then(e[p++],e[p++]);return c}u=i.length;let f=t;for(;p<u;){const e=i[p++],t=i[p++];try{f=e(f)}catch(d){t.call(this,d);break}}try{c=Qn.call(this,f)}catch(d){return Promise.reject(d)}for(p=0,u=l.length;p<u;)c=c.then(l[p++],l[p++]);return c}getUri(e){return nn(xn((e=Pn(this.defaults,e)).baseURL,e.url,e.allowAbsoluteUrls),e.params,e.paramsSerializer)}};Fr.forEach(["delete","get","head","options"],function(e){Yn.prototype[e]=function(t,r){return this.request(Pn(r||{},{method:e,url:t,data:(r||{}).data}))}}),Fr.forEach(["post","put","patch","query"],function(e){function t(t){return function(r,n,o){return this.request(Pn(o||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:r,data:n}))}}Yn.prototype[e]=t(),"query"!==e&&(Yn.prototype[e+"Form"]=t(!0))});var eo={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,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(eo).forEach(([e,t])=>{eo[t]=e});var to=function e(t){const r=new Yn(t),n=zt(Yn.prototype.request,r);return Fr.extend(n,Yn.prototype,r,{allOwnKeys:!0}),Fr.extend(n,r,null,{allOwnKeys:!0}),n.create=function(r){return e(Pn(t,r))},n}(gn);to.Axios=Yn,to.CanceledError=wn,to.CancelToken=class e{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 r=this;this.promise.then(e=>{if(!r._listeners)return;let t=r._listeners.length;for(;t-- >0;)r._listeners[t](e);r._listeners=null}),this.promise.then=e=>{let t;const n=new Promise(e=>{r.subscribe(e),t=e}).then(e);return n.cancel=function(){r.unsubscribe(t)},n},e(function(e,n,o){r.reason||(r.reason=new wn(e,n,o),t(r.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 t;return{token:new e(function(e){t=e}),cancel:t}}},to.isCancel=vn,to.VERSION=Dn,to.toFormData=Zr,to.AxiosError=Kr,to.Cancel=to.CanceledError,to.all=function(e){return Promise.all(e)},to.spread=function(e){return function(t){return e.apply(null,t)}},to.isAxiosError=function(e){return Fr.isObject(e)&&!0===e.isAxiosError},to.mergeConfig=Pn,to.AxiosHeaders=Hr,to.formToJSON=e=>hn(Fr.isHTMLForm(e)?new FormData(e):e),to.getAdapter=Vn.getAdapter,to.HttpStatusCode=eo,to.default=to;var ro=/* @__PURE__ */ke(qt(),1),no="0.5.38",oo="MyTh",ao=Symbol.for("_MYTH_APP_"),io={instance:to.create({baseURL:process.env.API_URL||""}),baseUrl:process.env.API_URL||"",services:{},version:no,appName:`Init Name: ${oo}`,metaTags:{meta:{ogTitle:{property:"og:title",content:process.env.PRODUCT_NAME},keywords:{name:"keywords",content:process.env.PRODUCT_KEYWORDS},author:{name:"author",content:process.env.PRODUCT_AUTHOR},description:{name:"description",content:process.env.PRODUCT_DESCRIPTION},robots:{name:"robots",content:"index, follow"}},link:{icon:{type:"image/png",rel:"icon",href:process.env.PRODUCT_FAVICON||"/favicon.png"}}},theme:{btn:{noCaps:!0},input:{}},component:{},loadingOptions:void 0},so=O({...io}),lo={current:O({...io})},co=()=>so,uo=(e,t)=>{const r=e,n=t[e];n&&(so[r]=n)},po=(e={})=>{e.appName&&(so.appName=e.appName),e.metaTags&&(so.metaTags=e.metaTags),uo("theme",e),uo("component",e),uo("loadingOptions",e)};console.log("Myth mythConfig:",so),console.log("Myth mythState:",lo);var fo=e=>{if("application/json"===e.headers?.["content-type"]){const t=e?.data?.data;e._data=e?.data?.data??{},e._list=t&&Array.isArray(t)?t:[],e._message=e?.data?.message||"",e._meta=e?.data?.meta||{},e._success=Boolean(e?.data?.success),e._errors=e?.data?.errors??{}}return e},yo=e=>{e=e||{};const t=e?.response?.status;401===t&&process.env.DEBUGGING&&console.log("onRejected Func No permissions",e),403===t&&process.env.DEBUGGING&&console.log("onRejected Func No permissions",e);const r=e?.response?.data;return e._data=r?.data??{},e._list=[],e._message=r?.message??null,e._meta=r?.meta??null,e._success=!!r?.success,e._errors=r?.errors??{},e._message||(e._message=e.message||""),Promise.reject(e)},ho=e=>{so.baseUrl=e,so.instance.defaults.baseURL=e,lo.current.baseUrl=e,lo.current.instance.defaults.baseURL=e},mo=e=>{so.services=e},go=(e,t)=>{null==t?delete so.instance.defaults.headers.common[e]:so.instance.defaults.headers.common[e]=t},bo=e=>{if(so.instance.interceptors.response.use(fo,yo),so.instance.interceptors.request.use(e=>e),so.instance.defaults.paramsSerializer=e=>ro.default.stringify(e,{arrayFormat:"indices",encoder:e=>!0===e||"true"===e?1:!1===e||"false"===e?0:e}),so.instance.defaults.headers.common.Accept="application/json",go("X-Requested-With","XMLHttpRequest"),go("X-App","MyTh"),go("X-App-Mode",process.env.MODE||"None"),go("X-App-Version",process.env.VERSION||"1.0.0"),go("X-App-Build",process.env.BUILD||"1"),e?.headers)for(const t in e?.headers)go(t,e?.headers[t])},vo=async e=>{const t={};for(const r in e){const n=r.substring(r.lastIndexOf("/")+1,r.lastIndexOf("."));let o=e[r];"function"==typeof o&&(o=await o()),t[n]=o.default||o}mo(t)},wo=e=>{e?so.instance.defaults.headers.common.Authorization=`Bearer ${e}`:delete so.instance.defaults.headers.common.Authorization},So=e=>go("X-App-Locale",e),Oo=e=>go("X-App-Name",e),Ao=e=>go("X-App-Mode",e),Eo=e=>go("X-App-Version",e),Ro=e=>go("X-App-Build",e),_o=e=>go("X-Socket-ID",e),xo=Symbol.for("_m__m-container"),Co="md",Po="gutter",jo={class:"q-dialog-plugin m-dialog__wrapper"},To=/* @__PURE__ */p({name:"MDialog",__name:"MDialog",props:{slide:{type:Boolean,default:!1},from:{default:"left"}},emits:[...we.emits],setup(e){const t={left:"right",right:"left",up:"down",down:"up"},r=n(()=>`slide-${e.from}`),a=n(()=>`slide-${t[e.from]}`),{componentProps:i}=oa(),{dialogRef:l,onDialogHide:c}=we();return(t,n)=>(w(),o(P(F),y({ref_key:"dialogRef",ref:l,"transition-hide":t.$q.screen.lt.md||e.slide?r.value:"fade","transition-show":t.$q.screen.lt.md||e.slide?a.value:"fade",class:"m-dialog"},P(i).dialog,{onHide:P(c)}),{default:T(()=>[s("div",jo,[E(t.$slots,"default")])]),_:3},16,["transition-hide","transition-show","onHide"]))}}),ko={class:"q-dialog-plugin m-dialog__wrapper"},Bo={class:"row items-center"},$o=["src"],Fo=/* @__PURE__ */p({name:"MDialogFrame",__name:"MDialogFrame",props:{url:{},height:{},noDownload:{type:Boolean},iframeProps:{},image:{type:Boolean},imageProps:{}},emits:[...we.emits],setup(t){const r=t,{__:l,componentProps:c}=oa(),{dialogRef:p,onDialogHide:f,onDialogOK:d}=we(),h=Oe(),m=n({get:()=>h.loading.isActive,set:e=>e?h.loading.show():h.loading.hide()}),g=n(()=>r.url||null),v=()=>{m.value&&(m.value=!1)};return(r,n)=>{const S=R("q-btn");return w(),o(P(F),y({ref_key:"dialogRef",ref:p,class:"m-dialog",maximized:"","no-shake":"","transition-hide":"fade","transition-show":"fade"},P(c).dialog,{onHide:P(f)}),{default:T(()=>[s("div",ko,[u(P(B),{flat:"",square:""},{default:T(()=>[u(P($),{style:{"max-height":"80px"}},{default:T(()=>[s("div",Bo,[t.noDownload?a("",!0):(w(),o(S,{key:0,label:P(l)("labels.download"),icon:"ion-ios-open",onClick:n[0]||(n[0]=e=>{g.value&&Wo(g.value)})},null,8,["label"])),u(P(I)),u(S,{flat:"",icon:"close",padding:"3px",onClick:n[1]||(n[1]=e=>{d()})})])]),_:1}),u(P(M)),s("div",{style:b({height:P(h).screen.height-70+"px"}),class:"content-center m-dialog__content"},[E(r.$slots,"default",{},()=>[g.value?(w(),i(e,{key:0},[t.image?(w(),o(P(D),y({key:0,height:t.height??"80%",src:g.value,class:"m-dialog__img",fit:"contain","no-spinner":"",style:{"max-height":"100%"}},t.imageProps,{onError:n[2]||(n[2]=e=>v()),onLoad:n[3]||(n[3]=e=>v())}),{loading:T(()=>[u(P(U),{height:"100%",width:"100%"})]),_:1},16,["height","src"])):(w(),i("iframe",y({key:1,src:g.value,class:"m-dialog__iframe",style:`width: 100%; border: 0; height: ${t.height??"99%"}`},t.iframeProps,{onLoad:n[4]||(n[4]=e=>m.value=!1)}),null,16,$o))],64)):a("",!0)])],4)]),_:3})])]),_:3},16,["onHide"])}}}),No=/* @__PURE__ */p({name:"MBtn",__name:"MBtn",props:{label:{default:()=>{}},spinner:{default:()=>{}},loading:{type:Boolean,default:!1},nativeLabel:{type:Boolean,default:!1},noStyle:{type:Boolean,default:!1}},setup(e){const t={QSpinner:q,QSpinnerAudio:z,QSpinnerBall:W,QSpinnerBars:H,QSpinnerBox:V,QSpinnerClock:K,QSpinnerComment:Q,QSpinnerCube:G,QSpinnerDots:J,QSpinnerFacebook:X,QSpinnerGears:Z,QSpinnerGrid:Y,QSpinnerHearts:ee,QSpinnerHourglass:te,QSpinnerInfinity:re,QSpinnerIos:ne,QSpinnerOrbit:oe,QSpinnerOval:ae,QSpinnerPie:ie,QSpinnerPuff:se,QSpinnerRadio:le,QSpinnerRings:ce,QSpinnerTail:ue},{__:r,loadingOptions:a,componentProps:i,btnStyle:s}=oa(),c=n(()=>void 0!==e.spinner?e.spinner:a?.type),u=n(()=>{if(c.value)return"spinner"===c.value?t.QSpinner:t[ze(`q-spinner-${c.value}`)]}),p=n(()=>a?.size),f=n(()=>a?.color),d=n(()=>!0===e.nativeLabel?null===e.label||void 0===e.label?void 0:String(e.label):void 0!==e.label&&null!==e.label?r(e.label):void 0),h=n(()=>({...e.noStyle?{}:s,...i.btn||{},ariaLabel:d.value}));return(t,r)=>(w(),o(P(k),y({label:d.value,loading:e.loading,class:"m-btn"},h.value),l({_:2},[t.$slots.loading?{name:"loading",fn:T(()=>[E(t.$slots,"loading")]),key:"0"}:c.value&&u.value?{name:"loading",fn:T(()=>[(w(),o(_(u.value),{color:f.value,size:p.value},null,8,["color","size"]))]),key:"1"}:void 0,t.$slots.default?{name:"default",fn:T(()=>[E(t.$slots,"default")]),key:"2"}:void 0]),1040,["label","loading"]))}}),Do=(e,t=10)=>{const{lighten:r}=fe;return r(e,-1*t)},Lo=(e,t=10)=>{const{lighten:r}=fe;return r(e,t)},Mo=(e,t,r)=>{if(ve(e,t,r||document.documentElement),"primary"===e){const e=Lo(t,50),r=Do(t,10);ve("scrollbar-track",e),ve("scrollbar-hover",r)}},Uo=e=>{const{luminosity:t}=fe;return t(e)<.5},Io=(e,t,r)=>{let n;if((t instanceof File||t instanceof Blob)&&r){const n=t instanceof File?t.name:r;e.append(r,t,n)}else for(const o in t)if(n=t[o],null!=n&&"object"==typeof n){const t=r?r+"["+o+"]":o;Array.isArray(n)&&n.length<1?e.append(`${o}`,""):Io(e,n,t)}else!0===n&&(n=1),!1===n&&(n=0),null==n&&(n=""),r?e.append(r+"["+o+"]",n):e.append(o,n);return e},qo=(e,t)=>{const r=zo(e);return{async index(e){const n=r();return t().get(n,e)},async staticIndex(r){const n="Static"+(e?`/${e}`:"");return t().get(n,r)},export:async(e,n)=>t().post(r("Export"),e,n),exampleUrl:async e=>t().get(r("ExampleUrl"),e),async store(e,n){const o=r(),a=new FormData;return e&&Io(a,e),t().post(o,a,n)},async show(e,n){const o=r(e);return t().get(o,n)},async staticShow(r,n){const o=`Static${e?`/${e}`:""}/${r}`;return t().get(o,n)},async update(e,n,o){const a=r(e),i=new FormData;return i.append("_method","put"),n&&Io(i,n),t().post(a,i,o)},async clone(e,n,o){const a=r(`${e}/Clone`),i=new FormData;return n&&Io(i,n),t().post(a,i,o)},async destroy(e,n){const o=r(e);return t().delete(o,n)},async destroyAll(e,n){const o=r("DestroyAll");return t().post(o,{ids:e||[]},n)},getUploadAttachmentsUrl:e=>r(`${e}/Attachment/Upload`),async uploadAttachments(e,n,o){const a=r(`${e}/Attachment/Upload`);return t().post(a,n,o)},async deleteAttachment(e,n,o){const a=r(`${e}/Attachment/${n}/Delete`);return t().delete(a,o)},async updateAttachment(e,n,o,a){const i=r(`${e}/Attachment/${n}/Update`);return t().post(i,o,a)}}},zo=e=>(t,r)=>(r??"")+(r&&e?"/":"")+(e??"")+(e&&t?"/":"")+(t??""),Wo=(e,t,r)=>me(e,t,r),Ho=(e,t)=>new Promise((r,n)=>{const o=e=>n(e??{status:!1,code:"unknown"}),a=e=>r({status:!0,response:e});try{if(!e)return void o({code:"no_response"});if(e?.data?.data?.url){const r=e?.data?.data?.url;if(t)return t(r,e),void a(e);const n=document.createElement("a");return n.setAttribute("href",r),n.setAttribute("target","_blank"),document.body.appendChild(n),n.click(),void a(e)}const r=(e.headers["content-disposition"]||"").split("filename=").pop().replace(/^"+|"+$/g,"");if(!r)return void o({code:"no_file_name"});const n=new Blob([e.data]),i=window.URL.createObjectURL(n),s=document.createElement("a");if(!s||!i)return void o({code:"no_file_url"});s.href=i,s.setAttribute("download",r),document.body.appendChild(s),s.click(),a(e),setTimeout(()=>{try{document.body.removeChild(s),URL.revokeObjectURL(i)}catch(Xa){console.log(Xa),Xa?.message&&alert(Xa.message)}},3e3)}catch(Xa){console.log(Xa),o(Xa)}}),Vo=e=>{const t=e instanceof Window?e.document?.body?.getBoundingClientRect():e?.getBoundingClientRect?.();return!!t&&(t.top>=0&&t.left>=0&&t.bottom<=window.innerHeight+t.height&&t.right<=window.innerWidth+t.width)},Ko=async(e,t)=>{await h();const{getScrollTarget:r,setVerticalScrollPosition:n,getVerticalScrollPosition:o}=be,a="string"==typeof e?document.querySelector(e):e;if(!a)return;await h();const{target:i}=t||{},s=r(a,("string"==typeof i?document.querySelector(i):i)||window.document.documentElement),l=o(s),c=t?.duration||1e3;let u,p=a;try{do{if(u=p.getBoundingClientRect().top,0===u&&!p.parentElement){u=p.scrollTop;break}if(0!==u&&p.parentElement)break;p=p.parentElement}while(p)}catch(Xa){console.log(Xa),u="offsetTop"in a&&a?.offsetTop||0}const f=u+l-(100+(t?.offset||0));Vo(a)||n(s,f,c)},Qo=async(e,t,r)=>{if(!e)return;const n=Object.entries(e),o=n.map(([e])=>e);let a=[];if(n.length>0&&(a=Array.from(document.body.querySelectorAll("[data-input-name].m-input__error")||[]).filter(e=>o.includes(e?.getAttribute("data-input-name")))),a.length>0)for(const i of a){const e=n.find(e=>e[0]===i.getAttribute("data-input-name"));if(e?.[1]){const t=e[0];await Ko(i||`[name='${t}']`,{target:r});break}}else for(const[i,s]of n)if((s&&Array.isArray(s)?s[0]:s)?.toString?.()?.length){if(t)await Ko(t,{target:r});else{const e=`[data-input-name='${i}']`;await Ko(document.querySelector(e)||`[name='${i}']`,{target:r})}break}},Go=async(e,t,r)=>{const{setVerticalScrollPosition:n,getScrollHeight:o}=be;e||(e=window);const a=e&&"string"==typeof e?document.querySelector(e)||window:e;n(a,r=r||o(a),t=t||600)},Jo=e=>{if("/"===(e=e||"").slice(0,1)&&(e=e.slice(1)),window){const t=window.location;return`${t.protocol}//${t.host}/${e}`}return`//${e}`},Xo=(e="",t="",r)=>{let n="number"!=typeof e?parseFloat(e):e;isNaN(n)&&(n=0);const o={minimumFractionDigits:2,maximumFractionDigits:2,...r||{}};return`${n.toLocaleString("en-US",o)} ${t}`.trim()},Zo=(e,t)=>{e=Number(e),t=Number(t);const r=(e,t)=>0===t?e:r(t,e%t),n=r(e,t);return[e/t,`${e/n}:${t/n}`]},Yo=e=>{const t={0:"٠",1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩"};return e.toString().split("").map(e=>t[e]||e).join("")},ea=(e,t)=>{const r=/* @__PURE__ */new Set;return e.filter(e=>{if(!e)return!1;const n=e[t];return!r.has(n)&&(r.add(n),!0)})},ta=e=>[...new Set(e)],ra=e=>{const t=[...e||[]];for(let r=t.length-1;r>0;r--){const e=Math.floor(Math.random()*(r+1));[t[r],t[e]]=[t[e],t[r]]}return t},na=()=>{let e=navigator.userAgent||navigator.vendor;return e=e?e.toLowerCase():"",/ipad|iphone|ipod/g.test(e)?"ios":/android/i.test(e)?"android":"other"};function oa(){const{t:e,te:t}=Ae({useScope:"global"}),r=d(ao,so),o=n(()=>r),a=n(()=>lo.current),i=n(()=>r.version),s=n(()=>r.loadingOptions),l=n(()=>r.theme),c=n(()=>r.theme?.btn),u=n(()=>r.theme?.input),p=n(()=>r.component),f=n(()=>r.services),y=n(()=>r.baseUrl),h=(r,...n)=>{const o=(r=r??"").startsWith(":")&&r.endsWith(":"),a=r.startsWith("{'")&&r.endsWith("'}");if((o||a)&&r.length>2)return(o?r.slice(1,-1):r.slice(2,-2))??"";const i=[r,`attributes.${r}`],s=e;for(const e of i)if(t(e))return s(e,...n);return s(r,...n)};return O({config:o,state:a,version:i,loadingOptions:s,theme:l,btnStyle:c,inputStyle:u,componentProps:p,apiServices:f,apiService:e=>{const t=C(e).split(".");let r=f.value;for(const n of t)r=r?.[n];return r},apiUrl:y,__:h,pageTitle:(e,r)=>{r??=2;const n=fa(e),o=ze(e),a=He(e),i=qe(e),s=We(e),l=pa(e),c=ze(l),u=He(l),p=qe(l),f=We(l),d=ta([e,n,o,a,i,s,l,c,u,p,f]),y=ta(["routes","attributes"]);for(const m of y)for(const e of d)if(t(`${m}.${e}`))return h(`${m}.${e}`,r);return h(e)}})}var aa=()=>({container:d(xo,{})}),ia=/* @__PURE__ */p({name:"MBlock",__name:"MBlock",props:{tag:{default:"div"},size:{default:()=>{}},rounded:{type:Boolean,default:()=>{}},shadow:{default:()=>{}}},setup(e){const{container:t}=aa(),{theme:r}=oa(),a=n(()=>void 0!==e.size?e.size:t.size??r.gutterSize??"md"),i=n(()=>void 0!==e.rounded?e.rounded:t.rounded??r.rounded??!1),s=n(()=>void 0!==e.shadow?e.shadow:t.shadow??r.shadow??void 0);return(t,r)=>(w(),o(_(e.tag),{class:m([{[`q-pa-${a.value}`]:a.value&&"none"!==a.value,"rounded-borders":i.value,[`shadow-${s.value||""}`]:s.value&&"none"!==s.value},"m-block"])},{default:T(()=>[E(t.$slots,"default")]),_:3},8,["class"]))}}),sa="myth-",la={sar:"M699.62,1113.02h0c-20.06,44.48-33.32,92.75-38.4,143.37l424.51-90.24c20.06-44.47,33.31-92.75,38.4-143.37l-424.51,90.24Z&&M1085.73,895.8c20.06-44.47,33.32-92.75,38.4-143.37l-330.68,70.33v-135.2l292.27-62.11c20.06-44.47,33.32-92.75,38.4-143.37l-330.68,70.27V66.13c-50.67,28.45-95.67,66.32-132.25,110.99v403.35l-132.25,28.11V0c-50.67,28.44-95.67,66.32-132.25,110.99v525.69l-295.91,62.88c-20.06,44.47-33.33,92.75-38.42,143.37l334.33-71.05v170.26l-358.3,76.14c-20.06,44.47-33.32,92.75-38.4,143.37l375.04-79.7c30.53-6.35,56.77-24.4,73.83-49.24l68.78-101.97v-.02c7.14-10.55,11.3-23.27,11.3-36.97v-149.98l132.25-28.11v270.4l424.53-90.28Z|0 0 1124.14 1256.39"},ca=/* @__PURE__ */je((e,t)=>{var r,n;r=e,n=function(){var e=[],t=[],r={},n={},o={};function a(e){return"string"==typeof e?new RegExp("^"+e+"$","i"):e}function i(e,t){return e===t?t:e===e.toLowerCase()?t.toLowerCase():e===e.toUpperCase()?t.toUpperCase():e[0]===e[0].toUpperCase()?t.charAt(0).toUpperCase()+t.substr(1).toLowerCase():t.toLowerCase()}function s(e,t){return e.replace(t[0],function(r,n){var o,a,s=(o=t[1],a=arguments,o.replace(/\$(\d{1,2})/g,function(e,t){return a[t]||""}));return i(""===r?e[n-1]:r,s)})}function l(e,t,n){if(!e.length||r.hasOwnProperty(e))return t;for(var o=n.length;o--;){var a=n[o];if(a[0].test(t))return s(t,a)}return t}function c(e,t,r){return function(n){var o=n.toLowerCase();return t.hasOwnProperty(o)?i(n,o):e.hasOwnProperty(o)?i(n,e[o]):l(o,n,r)}}function u(e,t,r,n){return function(n){var o=n.toLowerCase();return!!t.hasOwnProperty(o)||!e.hasOwnProperty(o)&&l(o,o,r)===o}}function p(e,t,r){return(r?t+" ":"")+(1===t?p.singular(e):p.plural(e))}return p.plural=c(o,n,e),p.isPlural=u(o,n,e),p.singular=c(n,o,t),p.isSingular=u(n,o,t),p.addPluralRule=function(t,r){e.push([a(t),r])},p.addSingularRule=function(e,r){t.push([a(e),r])},p.addUncountableRule=function(e){"string"!=typeof e?(p.addPluralRule(e,"$0"),p.addSingularRule(e,"$0")):r[e.toLowerCase()]=!0},p.addIrregularRule=function(e,t){t=t.toLowerCase(),e=e.toLowerCase(),o[e]=t,n[t]=e},[["I","we"],["me","us"],["he","they"],["she","they"],["them","them"],["myself","ourselves"],["yourself","yourselves"],["itself","themselves"],["herself","themselves"],["himself","themselves"],["themself","themselves"],["is","are"],["was","were"],["has","have"],["this","these"],["that","those"],["echo","echoes"],["dingo","dingoes"],["volcano","volcanoes"],["tornado","tornadoes"],["torpedo","torpedoes"],["genus","genera"],["viscus","viscera"],["stigma","stigmata"],["stoma","stomata"],["dogma","dogmata"],["lemma","lemmata"],["schema","schemata"],["anathema","anathemata"],["ox","oxen"],["axe","axes"],["die","dice"],["yes","yeses"],["foot","feet"],["eave","eaves"],["goose","geese"],["tooth","teeth"],["quiz","quizzes"],["human","humans"],["proof","proofs"],["carve","carves"],["valve","valves"],["looey","looies"],["thief","thieves"],["groove","grooves"],["pickaxe","pickaxes"],["passerby","passersby"]].forEach(function(e){return p.addIrregularRule(e[0],e[1])}),[[/s?$/i,"s"],[/[^\u0000-\u007F]$/i,"$0"],[/([^aeiou]ese)$/i,"$1"],[/(ax|test)is$/i,"$1es"],[/(alias|[^aou]us|t[lm]as|gas|ris)$/i,"$1es"],[/(e[mn]u)s?$/i,"$1s"],[/([^l]ias|[aeiou]las|[ejzr]as|[iu]am)$/i,"$1"],[/(alumn|syllab|vir|radi|nucle|fung|cact|stimul|termin|bacill|foc|uter|loc|strat)(?:us|i)$/i,"$1i"],[/(alumn|alg|vertebr)(?:a|ae)$/i,"$1ae"],[/(seraph|cherub)(?:im)?$/i,"$1im"],[/(her|at|gr)o$/i,"$1oes"],[/(agend|addend|millenni|dat|extrem|bacteri|desiderat|strat|candelabr|errat|ov|symposi|curricul|automat|quor)(?:a|um)$/i,"$1a"],[/(apheli|hyperbat|periheli|asyndet|noumen|phenomen|criteri|organ|prolegomen|hedr|automat)(?:a|on)$/i,"$1a"],[/sis$/i,"ses"],[/(?:(kni|wi|li)fe|(ar|l|ea|eo|oa|hoo)f)$/i,"$1$2ves"],[/([^aeiouy]|qu)y$/i,"$1ies"],[/([^ch][ieo][ln])ey$/i,"$1ies"],[/(x|ch|ss|sh|zz)$/i,"$1es"],[/(matr|cod|mur|sil|vert|ind|append)(?:ix|ex)$/i,"$1ices"],[/\b((?:tit)?m|l)(?:ice|ouse)$/i,"$1ice"],[/(pe)(?:rson|ople)$/i,"$1ople"],[/(child)(?:ren)?$/i,"$1ren"],[/eaux$/i,"$0"],[/m[ae]n$/i,"men"],["thou","you"]].forEach(function(e){return p.addPluralRule(e[0],e[1])}),[[/s$/i,""],[/(ss)$/i,"$1"],[/(wi|kni|(?:after|half|high|low|mid|non|night|[^\w]|^)li)ves$/i,"$1fe"],[/(ar|(?:wo|[ae])l|[eo][ao])ves$/i,"$1f"],[/ies$/i,"y"],[/\b([pl]|zomb|(?:neck|cross)?t|coll|faer|food|gen|goon|group|lass|talk|goal|cut)ies$/i,"$1ie"],[/\b(mon|smil)ies$/i,"$1ey"],[/\b((?:tit)?m|l)ice$/i,"$1ouse"],[/(seraph|cherub)im$/i,"$1"],[/(x|ch|ss|sh|zz|tto|go|cho|alias|[^aou]us|t[lm]as|gas|(?:her|at|gr)o|[aeiou]ris)(?:es)?$/i,"$1"],[/(analy|diagno|parenthe|progno|synop|the|empha|cri|ne)(?:sis|ses)$/i,"$1sis"],[/(movie|twelve|abuse|e[mn]u)s$/i,"$1"],[/(test)(?:is|es)$/i,"$1is"],[/(alumn|syllab|vir|radi|nucle|fung|cact|stimul|termin|bacill|foc|uter|loc|strat)(?:us|i)$/i,"$1us"],[/(agend|addend|millenni|dat|extrem|bacteri|desiderat|strat|candelabr|errat|ov|symposi|curricul|quor)a$/i,"$1um"],[/(apheli|hyperbat|periheli|asyndet|noumen|phenomen|criteri|organ|prolegomen|hedr|automat)a$/i,"$1on"],[/(alumn|alg|vertebr)ae$/i,"$1a"],[/(cod|mur|sil|vert|ind)ices$/i,"$1ex"],[/(matr|append)ices$/i,"$1ix"],[/(pe)(rson|ople)$/i,"$1rson"],[/(child)ren$/i,"$1"],[/(eau)x?$/i,"$1"],[/men$/i,"man"]].forEach(function(e){return p.addSingularRule(e[0],e[1])}),["adulthood","advice","agenda","aid","aircraft","alcohol","ammo","analytics","anime","athletics","audio","bison","blood","bream","buffalo","butter","carp","cash","chassis","chess","clothing","cod","commerce","cooperation","corps","debris","diabetes","digestion","elk","energy","equipment","excretion","expertise","firmware","flounder","fun","gallows","garbage","graffiti","hardware","headquarters","health","herpes","highjinks","homework","housework","information","jeans","justice","kudos","labour","literature","machinery","mackerel","mail","media","mews","moose","music","mud","manga","news","only","personnel","pike","plankton","pliers","police","pollution","premises","rain","research","rice","salmon","scissors","series","sewage","shambles","shrimp","software","species","staff","swine","tennis","traffic","transportation","trout","tuna","wealth","welfare","whiting","wildebeest","wildlife","you",/pok[eé]mon$/i,/[^aeiou]ese$/i,/deer$/i,/fish$/i,/measles$/i,/o[iu]s$/i,/pox$/i,/sheep$/i].forEach(p.addUncountableRule),p},"function"==typeof Be&&"object"==typeof e&&"object"==typeof t?t.exports=n():"function"==typeof define&&define.amd?define(function(){return n()}):r.pluralize=n()}),ua=/* @__PURE__ */ke(ca(),1),{plural:pa,singular:fa}=ua.default,da=(e,t="_to_string")=>e?e.slice(-t.length)===t?e.slice(0,e.length-t.length):e:"",ya=e=>null==e?"":e.toString().replace(/٠/g,"0").replace(/١/g,"1").replace(/٢/g,"2").replace(/٣/g,"3").replace(/٤/g,"4").replace(/٥/g,"5").replace(/٦/g,"6").replace(/٧/g,"7").replace(/٨/g,"8").replace(/٩/g,"9"),ha=e=>null==e||""===e?"":ya(e).replace(/,/g,""),ma=(e=null,t)=>{if(null==e||""===e)return"";const r=ha(e).split("."),n=/(\d+)(\d{3})/;for(;n.test(r[0]);)r[0]=r[0].replace(n,"$1,$2");let o=r.join(".");return t&&(o=`${o} ${t}`),o},ga=e=>{if(!e)return!1;const t=ya(e).trim();return 10===t.length&&t.startsWith("05")||9===t.length&&t.startsWith("5")},ba=e=>{const t={};for(const r in e)if(Object.prototype.hasOwnProperty.call(e,r)){const n=e[r].split("|");n.length>=2?t[r]=[n[1],n[0]].join("|"):t[r]=e[r]}return t},va=(e,t)=>{if(e&&"ar"===t?.toString()?.toLowerCase()){const t=e.split(" ");for(let e=0;e<t.length;e++)t[e].startsWith("ال")&&(t[e]=t[e].slice(2));return t.join(" ")}return e},wa=(e,t)=>{if(e&&"ar"===t?.toString()?.toLowerCase()){const t=e.split(" ");if(t[t.length-1].startsWith("ال"))return e;for(let e=0;e<t.length;e++)!t[e].startsWith("ال")&&t[e].length>0&&(t[e]="ال"+t[e]);return t.join(" ")}return e},Sa=(e,t)=>{if(e&&"ar"===t?.toString()?.toLowerCase()){const t=e.split(" ");for(let e=0;e<t.length;e++)t[e].startsWith("ال")||(t[e]="ال"+t[e]),t[e].endsWith("ي")||(t[e]+="ي");return t.join(" ")}return e},Oa=(e,t)=>(parseFloat(ha(e).replace(/[^\d.]/g,""))||0)-(parseFloat(ha(t).replace(/[^\d.]/g,""))||0),Aa=(e,t=!1)=>{if(!e)return"";const r=t?"<br />":"<br>";return e.toString().replace(/(\r\n|\n\r|\r|\n)/g,r)},Ea=e=>JSON.stringify(e,null,3).replace(/&/g,"&amp;").replace(/\\"/g,"&quot;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/^( *)("[\w]+": )?("[^"]*"|[\w.+-]*)?([,[{])?$/gm,(e,t,r,n,o)=>{let a=t||"";return r&&(a=a+'<span class="json-key" style="color: brown">'+r.replace(/[": ]/g,"")+"</span>: "),n&&(a=a+(n.startsWith('"')?'<span class="json-string" style="color: olive">':'<span class="json-value" style="color: navy">')+n+"</span>"),a+(o||"")}),Ra=e=>{if(!e)return"";const t=e.toString();return t.charAt(0).toUpperCase()+t.slice(1).toLowerCase()},_a=(e,t={})=>{const{uppercase:r=!0,startFromZero:n=!1}=t,o=parseInt(e?.toString()||"0",10)||0;if(o<=0&&!n)return"";if(n&&0===o)return r?"A":"a";let a=n?o+1:o,i="";for(;a>0;){a--;const e=a%26+(r?65:97);i=String.fromCharCode(e)+i,a=Math.floor(a/26)}return i},{testPattern:xa}=ge,Ca={float:e=>null==e||he.number(parseInt(e))&&!isNaN(parseInt(e))&&e?.toString().split(".")?.length<=2&&/(\d)+/g.test(e)&&!/[a-zA-Z]/.test(e),date:e=>/^-?[\d]+-[0-1]\d-[0-3]\d$/.test(e),time:e=>xa.time(e),fulltime:e=>xa.fulltime(e),timeOrFulltime:e=>xa.timeOrFulltime(e),hexColor:e=>xa.hexColor(e),hexaColor:e=>xa.hexaColor(e),hexOrHexaColor:e=>xa.hexOrHexaColor(e),rgbColor:e=>xa.rgbColor(e),rgbaColor:e=>xa.rgbaColor(e),rgbOrRgbaColor:e=>xa.rgbOrRgbaColor(e),hexOrRgbColor:e=>xa.hexOrRgbColor(e),hexaOrRgbaColor:e=>xa.hexaOrRgbaColor(e),color:e=>!e||xa.anyColor(e),requiredColor:e=>xa.anyColor(e)},{getPaletteColor:Pa}=fe,ja=e=>{if(!e)return null;const t=e=>null!=e,r=t(e.ratio)?"string"==typeof e.ratio?parseFloat(e.ratio):e.ratio:void 0,n=t(e.height)?"string"==typeof e.height?parseFloat(e.height):e.height:void 0,o=t(e.width)?"string"==typeof e.width?parseFloat(e.width):e.width:void 0;return t(o)&&t(n)?0===n?null:o/n:t(r)&&t(n)?r*n:t(r)&&t(o)?0===r?null:o/r:null},Ta=(e,t=!1)=>{if(!e)return"";let r=e;return e.startsWith("#")||"transparent"===e||(r=Pa(e)),`${t?"background-color":"color"}: ${r};`},ka=async e=>{const t=null!=e?String(e):"";return await de(t),t},Ba=/* @__PURE__ */p({name:"MCol",__name:"MCol",props:{name:{},tag:{},auto:{type:Boolean},shrink:{type:Boolean},grow:{type:Boolean},col:{type:[Boolean,String,Number]},xs:{type:[Boolean,String,Number]},sm:{type:[Boolean,String,Number]},md:{type:[Boolean,String,Number]},lg:{type:[Boolean,String,Number]},xl:{type:[Boolean,String,Number]},xxl:{type:[Boolean,String,Number]}},setup(e){const t=e,r=n(()=>{const e=["m-col"];t.auto&&e.push("col-auto"),t.shrink&&e.push("col-shrink"),t.grow&&e.push("col-grow"),"grow"===t.col?e.push("col-grow"):"shrink"===t.col?e.push("col-shrink"):"string"!=typeof t.col&&"number"!=typeof t.col||t.col?.toString()?.trim()?.length>0&&!e.includes(`col-${t.col}`)&&e.push(`col-${t.col}`);for(const r of["xs","sm","md","lg","xl","xxl"])t[r]&&"boolean"!=typeof t[r]&&(e.includes(`col-${r}-${t[r]}`)||e.push(`col-${r}-${t[r]}`));return 1===e.length&&!1!==t.col&&void 0!==t.col&&e.push("col"),ta(e)});return(t,n)=>(w(),o(_(e.tag??"div"),{class:m(r.value),"data-input-name":e.name??void 0},{default:T(()=>[E(t.$slots,"default")]),_:3},8,["class","data-input-name"]))}}),$a=/* @__PURE__ */p({name:"MGrid",__name:"MGrid",props:{tag:{default:"div"},gridType:{default:"row"},size:{default:()=>{}},type:{default:()=>{}}},setup(e){const{container:t}=aa(),{theme:r}=oa(),a=n(()=>void 0!==e.size?e.size:t?.size??r.gutterSize??"md"),i=n(()=>void 0!==e.type?e.type:t?.type??r.gutterType??"gutter"),s=n(()=>`q${"col"===e.type?"-col":""}-gutter`);return(t,r)=>(w(),o(_(e.tag),{class:m({"m-row row":"row"===e.gridType,"m-column column":"column"===e.gridType,[`${s.value}-${a.value}`]:!!i.value&&"none"!==i.value})},{default:T(()=>[E(t.$slots,"default")]),_:3},8,["class"]))}}),Fa=/* @__PURE__ */p({name:"MColumn",__name:"MColumn",props:{size:{default:()=>{}},type:{default:()=>{}}},setup:e=>(t,r)=>(w(),o($a,{size:e.size,type:e.type,"grid-type":"column"},{default:T(()=>[E(t.$slots,"default")]),_:3},8,["size","type"]))}),Na=/* @__PURE__ */p({name:"MContainer",__name:"MContainer",props:{tag:{default:"div"},size:{default:()=>"md"},type:{default:()=>Po},dense:{type:Boolean,default:()=>{}},fluid:{type:Boolean,default:()=>{}},rounded:{type:Boolean,default:()=>{}},shadow:{default:()=>{}}},setup(e){const{theme:t}=oa(),r=n(()=>"md"!==e.size?e.size:t.gutterSize??"md"),a=n(()=>"gutter"!==e.type?e.type:t.gutterType??"gutter"),i=n(()=>e.rounded??t.rounded??!1),s=n(()=>e.dense??t.dense??!1),l=n(()=>e.fluid??t.fluid??!1);return S(xo,O({gutterSize:r,gutterType:a,rounded:i,dense:s,fluid:l,shadow:n(()=>e.shadow??t.shadow??void 0)})),(t,n)=>(w(),o(_(e.tag),{class:m([{"m-container__fluid":!!l.value,"m-container__dense":!!s.value,"q-pa-none":"none"===r.value,[`q-pa-${r.value||""}`]:r.value&&"none"!==r.value},"m-container"])},{default:T(()=>[E(t.$slots,"default")]),_:3},8,["class"]))}}),Da={class:"col-auto m-help-row__icon-wrapper"},La={key:0,class:"col m-help-row__text-wrapper"},Ma=["textContent"],Ua=/* @__PURE__ */p({name:"MHelpRow",__name:"MHelpRow",props:{tag:{default:"div"},text:{default:""},icon:{default:()=>{}},tooltip:{type:Boolean,default:!1}},setup(e){const{__:t}=oa();return(r,n)=>e.text||e.tooltip?(w(),o(_(e.tag),{key:0,class:"row m-help-row"},{default:T(()=>[s("div",Da,[u(P(N),{class:m([{"cursor-pointer":e.tooltip},"m-help-row__icon"]),left:!!e.text&&!e.tooltip,name:e.icon??"ion-ios-information-circle-outline",size:"19px"},{default:T(()=>[e.tooltip?(w(),o(P(za),{key:0,anchor:"center end",class:"bg-transparent text-black text-justify m-help-row__tooltip",self:"center start","transition-hide":"jump-right","transition-show":"jump-left"},{default:T(()=>[u(P(B),g(f({style:{maxWidth:"280px"}})),{default:T(()=>[u(P($),g(f({style:{fontSize:"13px"}})),{default:T(()=>[c(x(P(t)(e.text)),1)]),_:1},16)]),_:1},16)]),_:1})):a("",!0)]),_:1},8,["class","left","name"])]),!e.tooltip&&e.text?(w(),i("div",La,[s("div",{textContent:x(P(t)(e.text))},null,8,Ma)])):a("",!0)]),_:1})):a("",!0)}}),Ia=/* @__PURE__ */p({name:"MInnerLoading",__name:"MInnerLoading",props:{showing:{type:Boolean,default:!1},label:{default:()=>{}},labelClass:{default:()=>{}},labelStyle:{default:"font-size: 1.1em"},color:{default:"primary"}},setup(e){const{__:t}=oa();return(r,n)=>(w(),o(P(L),{color:e.color,label:P(t)(e.label??"labels.plz_wait"),"label-class":e.labelClass,"label-style":e.labelStyle,showing:e.showing,class:"m-inner-loading"},l({_:2},[void 0!==r.$slots.default?{name:"default",fn:T(()=>[E(r.$slots,"default")]),key:"0"}:void 0]),1032,["color","label","label-class","label-style","showing"]))}}),qa=/* @__PURE__ */p({name:"MRow",__name:"MRow",props:{size:{default:()=>{}},type:{default:()=>{}}},setup:e=>(t,r)=>(w(),o($a,{size:e.size,type:e.type,"grid-type":"row"},{default:T(()=>[E(t.$slots,"default")]),_:3},8,["size","type"]))}),za=/* @__PURE__ */p({name:"MTooltip",__name:"MTooltip",setup:e=>(e,t)=>(w(),o(P(pe),{class:"m-tooltip","transition-hide":"scale","transition-show":"scale"},{default:T(()=>[E(e.$slots,"default")]),_:3}))});function Wa(e){const t=C(e),r=e=>{if("in"===e&&t.enterActiveClass)return`animated ${t.enterActiveClass}`;if("out"===e&&t.leaveActiveClass)return`animated ${t.leaveActiveClass}`;if("appear"===e&&t.appearActiveClass)return`animated ${t.appearActiveClass}`;const r=t[e];if(!r)return;const n=["animated",r],o=[`${e}Slower`,`${e}Slow`,`${e}Fast`,`${e}Faster`];for(const s of o)t[s]&&n.push(s.replace(e,"").toLowerCase());const a=t[`${e}Delay`]||!1;a&&(!0===a&&n.push("delay-1s"),"number"!=typeof a&&"string"!=typeof a||n.push(`delay-${a}s`));const i=t[`${e}Repeat`]||!1;return i&&(!0===i&&n.push("repeat"),"number"!=typeof i&&"string"!=typeof i||n.push(`repeat-${i}`)),n.join(" ")};return{getClasses:r,computedProps:n(()=>{const e={enterActiveClass:r("in"),leaveActiveClass:r("out"),appearActiveClass:r("appear"),appear:!t.noAppear,css:!t.noCss};for(const t of["in","inSlower","inSlow","inFast","inFaster","inDelay","inRepeat","out","outSlower","outSlow","outFast","outFaster","outDelay","outRepeat","appearSlower","appearSlow","appearFast","appearFaster","appearDelay","appearRepeat","noAppear","noCss"])delete e[t];return e})}}var Ha=/* @__PURE__ */p({name:"MTransition",__name:"MTransition",props:{in:{},inSlower:{type:Boolean},inSlow:{type:Boolean},inFast:{type:Boolean},inFaster:{type:Boolean},inDelay:{type:[Boolean,String,Number]},inRepeat:{type:[Boolean,String,Number]},out:{},outSlower:{type:Boolean},outSlow:{type:Boolean},outFast:{type:Boolean},outFaster:{type:Boolean},outDelay:{type:[Boolean,String,Number]},outRepeat:{type:[Boolean,String,Number]},appear:{},appearSlower:{type:Boolean},appearSlow:{type:Boolean},appearFast:{type:Boolean},appearFaster:{type:Boolean},appearDelay:{type:[Boolean,String,Number]},appearRepeat:{type:[Boolean,String,Number]},noAppear:{type:Boolean},noCss:{type:Boolean},name:{},type:{},css:{type:Boolean},duration:{},enterFromClass:{},enterActiveClass:{},enterToClass:{},appearFromClass:{},appearActiveClass:{},appearToClass:{},leaveFromClass:{},leaveActiveClass:{},leaveToClass:{},mode:{},persisted:{type:Boolean},onBeforeEnter:{type:[Function,Array]},onEnter:{type:[Function,Array]},onAfterEnter:{type:[Function,Array]},onEnterCancelled:{type:[Function,Array]},onBeforeLeave:{type:[Function,Array]},onLeave:{type:[Function,Array]},onAfterLeave:{type:[Function,Array]},onLeaveCancelled:{type:[Function,Array]},onBeforeAppear:{type:[Function,Array]},onAppear:{type:[Function,Array]},onAfterAppear:{type:[Function,Array]},onAppearCancelled:{type:[Function,Array]}},setup(e){const r=e,{computedProps:n}=Wa(()=>r);return(e,r)=>(w(),o(t,g(f(P(n))),{default:T(()=>[E(e.$slots,"default")]),_:3},16))}}),Va=/* @__PURE__ */p({name:"MTransitionGroup",__name:"MTransitionGroup",props:{in:{},inSlower:{type:Boolean},inSlow:{type:Boolean},inFast:{type:Boolean},inFaster:{type:Boolean},inDelay:{type:[Boolean,String,Number]},inRepeat:{type:[Boolean,String,Number]},out:{},outSlower:{type:Boolean},outSlow:{type:Boolean},outFast:{type:Boolean},outFaster:{type:Boolean},outDelay:{type:[Boolean,String,Number]},outRepeat:{type:[Boolean,String,Number]},appear:{},appearSlower:{type:Boolean},appearSlow:{type:Boolean},appearFast:{type:Boolean},appearFaster:{type:Boolean},appearDelay:{type:[Boolean,String,Number]},appearRepeat:{type:[Boolean,String,Number]},noAppear:{type:Boolean},noCss:{type:Boolean},name:{},type:{},css:{type:Boolean},duration:{},enterFromClass:{},enterActiveClass:{},enterToClass:{},appearFromClass:{},appearActiveClass:{},appearToClass:{},leaveFromClass:{},leaveActiveClass:{},leaveToClass:{},persisted:{type:Boolean},onBeforeEnter:{type:[Function,Array]},onEnter:{type:[Function,Array]},onAfterEnter:{type:[Function,Array]},onEnterCancelled:{type:[Function,Array]},onBeforeLeave:{type:[Function,Array]},onLeave:{type:[Function,Array]},onAfterLeave:{type:[Function,Array]},onLeaveCancelled:{type:[Function,Array]},onBeforeAppear:{type:[Function,Array]},onAppear:{type:[Function,Array]},onAfterAppear:{type:[Function,Array]},onAppearCancelled:{type:[Function,Array]},tag:{},moveClass:{}},setup(e){const{computedProps:t}=Wa(e);return(e,n)=>(w(),o(r,g(f(P(t))),{default:T(()=>[E(e.$slots,"default")]),_:3},16))}}),Ka=/* @__PURE__ */p({name:"MSarIcon",inheritAttrs:!1,__name:"MSarIcon",setup:e=>(e,t)=>(w(),o(P(N),y({class:"m-sar-icon"},{...e.$attrs,name:"myth-sar"}),{default:T(()=>[E(e.$slots,"default")]),_:3},16))}),Qa=/* @__PURE__ */p({name:"MSarString",__name:"MSarString",props:{tag:{default:"span"},text:{default:()=>{}},string:{type:Boolean,default:!1},format:{default:()=>{}},digits:{default:()=>{}},symbol:{type:Boolean,default:()=>{}}},setup(e){const{te:t}=Ae({useScope:"global"}),{__:r,componentProps:a}=oa(),i=n(()=>void 0!==e.symbol?e.symbol?"﷼":"":void 0!==a?.sarString?.symbol&&a.sarString?.symbol?"﷼":""),s=Oe(),l=n(()=>{const n=void 0!==e.text&&null!==e.text?String(e.text).trim():"";if(0===n.length)return;const o=void 0!==e.digits?parseInt(String(e.digits),10):2,a=isNaN(o)?2:o,l={minimumFractionDigits:a,maximumFractionDigits:a,...e.format};let c=n;e.string&&(t(`labels.${n}`)?c=r(`labels.${n}`):t(n)&&(c=r(n)));const u=Number(c);return isNaN(u)||""===c?s.lang.rtl?`${c} ${i.value}`.trim():`${i.value} ${c}`.trim():s.lang.rtl?Xo(u,i.value,l):`${i.value} ${Xo(u,i.value,l)}`.trim()});return(t,r)=>(w(),o(_(e.tag),{class:"sar-font m-sar-string"},{default:T(()=>[E(t.$slots,"default",{},()=>[c(x(l.value),1)])]),_:3}))}});function Ga(){return Ga=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Ga.apply(null,arguments)}var Ja={strings:["These are the default values...","You know what you should do?","Use your own!","Have a great day!"],stringsElement:null,typeSpeed:0,startDelay:0,backSpeed:0,smartBackspace:!0,shuffle:!1,backDelay:700,shouldBackspace:!0,fadeOut:!1,fadeOutClass:"typed-fade-out",fadeOutDelay:500,loop:!1,loopCount:1/0,showCursor:!0,cursorChar:"|",autoInsertCss:!0,attr:null,bindInputFocusEvents:!1,contentType:"html",onBegin:function(e){},onComplete:function(e){},preStringTyped:function(e,t){},onStringTyped:function(e,t){},onLastStringBackspaced:function(e){},onTypingPaused:function(e,t){},onTypingResumed:function(e,t){},onReset:function(e){},onStop:function(e,t){},onStart:function(e,t){},onDestroy:function(e){}},Xa=new(/* @__PURE__ */function(){function e(){}var t=e.prototype;return t.load=function(e,t,r){if(e.el="string"==typeof r?document.querySelector(r):r,e.options=Ga({},Ja,t),e.isInput="input"===e.el.tagName.toLowerCase(),e.attr=e.options.attr,e.bindInputFocusEvents=e.options.bindInputFocusEvents,e.showCursor=!e.isInput&&e.options.showCursor,e.cursorChar=e.options.cursorChar,e.cursorBlinking=!0,e.elContent=e.attr?e.el.getAttribute(e.attr):e.el.textContent,e.contentType=e.options.contentType,e.typeSpeed=e.options.typeSpeed,e.startDelay=e.options.startDelay,e.backSpeed=e.options.backSpeed,e.smartBackspace=e.options.smartBackspace,e.backDelay=e.options.backDelay,e.shouldBackspace=e.options.shouldBackspace,e.fadeOut=e.options.fadeOut,e.fadeOutClass=e.options.fadeOutClass,e.fadeOutDelay=e.options.fadeOutDelay,e.isPaused=!1,e.strings=e.options.strings.map(function(e){return e.trim()}),e.stringsElement="string"==typeof e.options.stringsElement?document.querySelector(e.options.stringsElement):e.options.stringsElement,e.stringsElement){e.strings=[],e.stringsElement.style.cssText="clip: rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px;";var n=Array.prototype.slice.apply(e.stringsElement.children),o=n.length;if(o)for(var a=0;a<o;a+=1)e.strings.push(n[a].innerHTML.trim())}for(var i in e.strPos=0,e.currentElContent=this.getCurrentElContent(e),e.currentElContent&&e.currentElContent.length>0&&(e.strPos=e.currentElContent.length-1,e.strings.unshift(e.currentElContent)),e.sequence=[],e.strings)e.sequence[i]=i;e.arrayPos=0,e.stopNum=0,e.loop=e.options.loop,e.loopCount=e.options.loopCount,e.curLoop=0,e.shuffle=e.options.shuffle,e.pause={status:!1,typewrite:!0,curString:"",curStrPos:0},e.typingComplete=!1,e.autoInsertCss=e.options.autoInsertCss,e.autoInsertCss&&(this.appendCursorAnimationCss(e),this.appendFadeOutAnimationCss(e))},t.getCurrentElContent=function(e){return e.attr?e.el.getAttribute(e.attr):e.isInput?e.el.value:"html"===e.contentType?e.el.innerHTML:e.el.textContent},t.appendCursorAnimationCss=function(e){var t="data-typed-js-cursor-css";if(e.showCursor&&!document.querySelector("["+t+"]")){var r=document.createElement("style");r.setAttribute(t,"true"),r.innerHTML="\n .typed-cursor{\n opacity: 1;\n }\n .typed-cursor.typed-cursor--blink{\n animation: typedjsBlink 0.7s infinite;\n -webkit-animation: typedjsBlink 0.7s infinite;\n animation: typedjsBlink 0.7s infinite;\n }\n @keyframes typedjsBlink{\n 50% { opacity: 0.0; }\n }\n @-webkit-keyframes typedjsBlink{\n 0% { opacity: 1; }\n 50% { opacity: 0.0; }\n 100% { opacity: 1; }\n }\n ",document.body.appendChild(r)}},t.appendFadeOutAnimationCss=function(e){var t="data-typed-fadeout-js-css";if(e.fadeOut&&!document.querySelector("["+t+"]")){var r=document.createElement("style");r.setAttribute(t,"true"),r.innerHTML="\n .typed-fade-out{\n opacity: 0;\n transition: opacity .25s;\n }\n .typed-cursor.typed-cursor--blink.typed-fade-out{\n -webkit-animation: 0;\n animation: 0;\n }\n ",document.body.appendChild(r)}},e}()),Za=new(/* @__PURE__ */function(){function e(){}var t=e.prototype;return t.typeHtmlChars=function(e,t,r){if("html"!==r.contentType)return t;var n=e.substring(t).charAt(0);if("<"===n||"&"===n){var o;for(o="<"===n?">":";";e.substring(t+1).charAt(0)!==o&&!(1+ ++t>e.length););t++}return t},t.backSpaceHtmlChars=function(e,t,r){if("html"!==r.contentType)return t;var n=e.substring(t).charAt(0);if(">"===n||";"===n){var o;for(o=">"===n?"<":"&";e.substring(t-1).charAt(0)!==o&&!(--t<0););t--}return t},e}()),Ya=/* @__PURE__ */function(){function e(e,t){Xa.load(this,t,e),this.begin()}var t=e.prototype;return t.toggle=function(){this.pause.status?this.start():this.stop()},t.stop=function(){this.typingComplete||this.pause.status||(this.toggleBlinking(!0),this.pause.status=!0,this.options.onStop(this.arrayPos,this))},t.start=function(){this.typingComplete||this.pause.status&&(this.pause.status=!1,this.pause.typewrite?this.typewrite(this.pause.curString,this.pause.curStrPos):this.backspace(this.pause.curString,this.pause.curStrPos),this.options.onStart(this.arrayPos,this))},t.destroy=function(){this.reset(!1),this.options.onDestroy(this)},t.reset=function(e){void 0===e&&(e=!0),clearInterval(this.timeout),this.replaceText(""),this.cursor&&this.cursor.parentNode&&(this.cursor.parentNode.removeChild(this.cursor),this.cursor=null),this.strPos=0,this.arrayPos=0,this.curLoop=0,e&&(this.insertCursor(),this.options.onReset(this),this.begin())},t.append=function(e){var t=this,r=this.strings[this.strings.length-1];this.strings.push(e),this.sequence=this.strings.map(function(e,t){return t}),this.typingComplete&&(this.timeout=this.shouldBackspace?setTimeout(function(){t.backspace(r,r.length-1)},this.backDelay):setTimeout(function(){t.arrayPos++,t.typewrite(t.strings[t.sequence[t.arrayPos]],0)},this.backDelay))},t.begin=function(){var e=this;this.options.onBegin(this),this.typingComplete=!1,this.shuffleStringsIfNeeded(),this.insertCursor(),this.bindInputFocusEvents&&this.bindFocusEvents(),this.timeout=setTimeout(function(){0===e.strPos?e.typewrite(e.strings[e.sequence[e.arrayPos]],e.strPos):e.backspace(e.strings[e.sequence[e.arrayPos]],e.strPos)},this.startDelay)},t.typewrite=function(e,t){var r=this;this.fadeOut&&this.el.classList.contains(this.fadeOutClass)&&(this.el.classList.remove(this.fadeOutClass),this.cursor&&this.cursor.classList.remove(this.fadeOutClass));var n=this.humanizer(this.typeSpeed),o=1;!0!==this.pause.status?this.timeout=setTimeout(function(){t=Za.typeHtmlChars(e,t,r);var n=0,a=e.substring(t);if("^"===a.charAt(0)&&/^\^\d+/.test(a)){var i=1;i+=(a=/\d+/.exec(a)[0]).length,n=parseInt(a),r.temporaryPause=!0,r.options.onTypingPaused(r.arrayPos,r),e=e.substring(0,t)+e.substring(t+i),r.toggleBlinking(!0)}if("`"===a.charAt(0)){for(;"`"!==e.substring(t+o).charAt(0)&&(o++,!(t+o>e.length)););var s=e.substring(0,t),l=e.substring(s.length+1,t+o),c=e.substring(t+o+1);e=s+l+c,o--}r.timeout=setTimeout(function(){r.toggleBlinking(!1),t>=e.length?r.doneTyping(e,t):r.keepTyping(e,t,o),r.temporaryPause&&(r.temporaryPause=!1,r.options.onTypingResumed(r.arrayPos,r))},n)},n):this.setPauseStatus(e,t,!0)},t.keepTyping=function(e,t,r){if(0===t&&(this.toggleBlinking(!1),this.options.preStringTyped(this.arrayPos,this)),this.shouldBackspace){var n=e.substring(0,t+=r);this.replaceText(n)}else{var o=e.substring(t,t+r);t+=r,this.replaceText(o)}this.typewrite(e,t)},t.doneTyping=function(e,t){var r=this;this.options.onStringTyped(this.arrayPos,this),this.toggleBlinking(!0),this.isFinalString()&&(this.complete(),!1===this.loop||this.curLoop===this.loopCount)||(this.timeout=this.shouldBackspace?setTimeout(function(){r.backspace(e,t)},this.backDelay):setTimeout(function(){r.arrayPos++,r.typewrite(r.strings[r.sequence[r.arrayPos]],0)},this.backDelay))},t.backspace=function(e,t){var r=this;if(!0!==this.pause.status){if(this.fadeOut)return this.initFadeOut();this.toggleBlinking(!1);var n=this.humanizer(this.backSpeed);this.timeout=setTimeout(function(){t=Za.backSpaceHtmlChars(e,t,r);var n=e.substring(0,t);if(r.replaceText(n),r.smartBackspace){var o=r.strings[r.sequence[r.arrayPos+1]];r.stopNum=o&&n===o.substring(0,t)?t:0}t>r.stopNum?(t--,r.backspace(e,t)):t<=r.stopNum&&(r.isFinalString()?r.lastStringBackspaced():(r.arrayPos++,r.typewrite(r.strings[r.sequence[r.arrayPos]],t)))},n)}else this.setPauseStatus(e,t,!1)},t.isFinalString=function(){return this.arrayPos===this.strings.length-1},t.lastStringBackspaced=function(){this.arrayPos=0,this.options.onLastStringBackspaced(),this.loop&&(this.shuffleStringsIfNeeded(),this.begin())},t.complete=function(){this.options.onComplete(this),this.loop?this.curLoop++:this.typingComplete=!0},t.setPauseStatus=function(e,t,r){this.pause.typewrite=r,this.pause.curString=e,this.pause.curStrPos=t},t.toggleBlinking=function(e){this.cursor&&(this.pause.status||this.cursorBlinking!==e&&(this.cursorBlinking=e,e?this.cursor.classList.add("typed-cursor--blink"):this.cursor.classList.remove("typed-cursor--blink")))},t.humanizer=function(e){return Math.round(Math.random()*e/2)+e},t.shuffleStringsIfNeeded=function(){this.shuffle&&(this.sequence=this.sequence.sort(function(){return Math.random()-.5}))},t.initFadeOut=function(){var e=this;return this.el.className+=" "+this.fadeOutClass,this.cursor&&(this.cursor.className+=" "+this.fadeOutClass),setTimeout(function(){e.arrayPos++,e.replaceText(""),e.strings.length>e.arrayPos?e.typewrite(e.strings[e.sequence[e.arrayPos]],0):(e.typewrite(e.strings[0],0),e.arrayPos=0)},this.fadeOutDelay)},t.replaceText=function(e){this.attr?this.el.setAttribute(this.attr,e):this.isInput?this.el.value=e:"html"===this.contentType?this.shouldBackspace?this.el.innerHTML=e:this.el.innerHTML+=e:this.el.textContent=e},t.bindFocusEvents=function(){var e=this;this.isInput&&(this.el.addEventListener("focus",function(t){e.stop()}),this.el.addEventListener("blur",function(t){e.el.value&&0!==e.el.value.length||e.start()}))},t.insertCursor=function(){this.showCursor&&(this.cursor||(this.cursor=document.createElement("span"),this.cursor.className="typed-cursor",this.cursor.setAttribute("aria-hidden",!0),this.cursor.innerHTML=this.cursorChar,this.el.parentNode&&this.el.parentNode.insertBefore(this.cursor,this.el.nextSibling)))},e}(),ei=/* @__PURE__ */p({name:"MTypingString",inheritAttrs:!1,__name:"MTypingString",props:{name:{},tag:{default:"span"},string:{},loop:{type:Boolean,default:!1},speed:{default:300},backDelay:{default:()=>{}},fadeOut:{type:Boolean},options:{default:()=>({})}},setup(e,{expose:t}){const r=n(()=>`typed-content-${e.name}`),a=n(()=>({loop:e.loop,typeSpeed:parseInt(e.speed?.toString?.()),backDelay:void 0!==e.backDelay&&parseInt(e.backDelay?.toString?.())||void 0,fadeOut:e.fadeOut,strings:"string"==typeof e.string?[e.string]:e.string||void 0,...e.options})),i=A(),s=A(),l=()=>{if(i.value)try{i.value.destroy()}catch(Xa){console.log(Xa)}};return j(()=>{if(s.value&&e.string){const t=document.getElementById(r.value);try{t&&(e=>{try{l(),i.value=new Ya(`#${r.value}`,C(e))}catch(Xa){console.log(Xa)}})(C(a))}catch(Xa){console.log(Xa),t&&(t.innerHTML="string"==typeof e.string?e.string:e.string.join("<br />"))}}}),v(()=>l()),t({typed:i,typedRef:s}),(t,n)=>(w(),o(_(e.tag),{id:r.value,ref_key:"typedRef",ref:s,class:"m-typing-string"},null,8,["id"]))}}),ti=ei,ri=/* @__PURE__ */Te({MBlock:()=>ia,MBtn:()=>No,MCol:()=>Ba,MColumn:()=>Fa,MContainer:()=>Na,MDialog:()=>To,MDialogFrame:()=>Fo,MGrid:()=>$a,MHelpRow:()=>Ua,MInnerLoading:()=>Ia,MRow:()=>qa,MSarIcon:()=>Ka,MSarString:()=>Qa,MTooltip:()=>za,MTransition:()=>Ha,MTransitionGroup:()=>Va,MTypingString:()=>ti,default:()=>ni}),ni={};function oi(e,t){Se(()=>{const r=C(e)||"",n=C(t)||{},o=n.appName;o&&(so.appName=o);const a=C(so.appName)||"MyTh",i=C(so.metaTags)||{},{...s}=n;return{title:r,titleTemplate:e=>e?e.toLowerCase()===a.toLowerCase()?a:`${a} | ${e}`:a,...ye(!0,{},i,s)}})}var ai=no,ii=!1;console.log({mode:process.env.MODE,server:process.env.SERVER,isPluginInstalled:ii});var si=(e,t={})=>{if(ii)return void(process.env.DEV&&console.warn(`Plugin [${oo}] already initialized. Skipping configuration injection.`));po(t),bo(),ho("ahmed"),e.provide(ao,co()),Object.entries(ri).forEach(([t,r])=>{void 0===e.component(t)&&e.component(t,r)});const r=e.config.globalProperties;if(r?.$q){const e=r.$q.iconMapFn;r.$q.iconMapFn=t=>{if(t.startsWith("myth-")){const e=qe(t.slice(5));if(e&&e in la&&la[e])return{icon:la[e]}}if("function"==typeof e)return e(t)}}ii=!0},li={version:ai,install:si};export{Co as DEFAULT_GRID_SIZE,Po as DEFAULT_GRID_TYPE,ia as MBlock,No as MBtn,Ba as MCol,Fa as MColumn,Na as MContainer,xo as MContainerInjectionKey,To as MDialog,Fo as MDialogFrame,$a as MGrid,Ua as MHelpRow,Ia as MInnerLoading,qa as MRow,Ka as MSarIcon,Qa as MSarString,za as MTooltip,Ha as MTransition,Va as MTransitionGroup,ti as MTypingString,ao as MythInjectionKey,qo as Stub,zo as StubUrl,Io as appendArray,Zo as calculateAspectRatio,qe as camelCase,Uo as colorIsDark,Ta as colorStyle,Yo as convertToArabicNumbers,ka as copyText,Do as darkenColor,li as default,na as detectWebPlatform,ja as dimension,Ho as downloadFromResponse,ba as flipChoice,Xo as formatMoney,ya as fromArabicNumber,co as getConfig,sa as iconSet,la as icons,bo as initApiConfig,si as install,Vo as isElementInViewport,ga as isKsaMobile,We as kebabCase,Lo as lightenColor,vo as loadApiServices,Jo as makeUrl,uo as mergeConfigField,so as mythConfig,oo as mythName,lo as mythState,Aa as nl2br,Wo as openWindow,ze as pascalCase,pa as plural,Ea as prettyPrint,Go as scrollToBottom,Ko as scrollToElement,Qo as scrollToElementFromErrors,Ro as setApiAppBuild,Ao as setApiAppMode,Oo as setApiAppName,Eo as setApiAppVersion,ho as setApiBaseURL,wo as setApiBearerToken,go as setApiHeader,So as setApiLanguage,mo as setApiServices,_o as setApiSocketId,Mo as setCss,po as setDefaults,ra as shuffle,fa as singular,He as snakeCase,Oa as sortNumberFormatted,da as strBefore,_a as toAlphaNumerals,ha as toNumber,ma as toNumberFormat,Ra as ucFirst,ta as uniq,ea as uniqBy,aa as useContainer,oa as useMyth,oi as useMythMeta,Wa as useTransition,Ca as veeRules,ai as version,Sa as wordsToSingle,wa as wordsWithThe,va as wordsWithoutThe};