Human-readable sizes

This commit is contained in:
Leo Vasanko committed 2023-10-27 08:28:03 +03:00
1 parent 0d186726b5
commit 8cc3ed1a04
6 files changed
+18 -8

No files matched your search

+1 -1
View File
@@ -112,7 +112,7 @@
{
// TODO BETTER SORT FOR MULTPLE SIZE OR CUSTOM PIPE TO kB to MB / GB
title: 'Size',
dataIndex: 'size',
dataIndex: 'sizedisp',
className: 'column-size',
responsive: ['lg'],
sortDirections: ['ascend', 'descend'],
+1
View File
@@ -12,6 +12,7 @@ type BaseDocument = {
export type FolderDocument = BaseDocument & {
type: 'folder' | 'folder-file';
size: number;
sizedisp: string;
mtime: number;
modified: string;
};
+2 -1
View File
@@ -1,7 +1,7 @@
import type { Document, FolderDocument } from '@/repositories/Document';
import type { ISimpleError } from '@/repositories/Client';
import { fetchFile } from '@/repositories/Document'
import { formatUnixDate } from '@/utils';
import { formatSize, formatUnixDate } from '@/utils';
import { defineStore } from 'pinia';
@@ -60,6 +60,7 @@ export const useDocumentStore = defineStore({
name,
key: id,
size,
sizedisp: formatSize(size),
mtime,
modified: formatUnixDate(mtime),
type: dir === undefined ? 'folder-file' : 'folder',
+8
View File
@@ -6,6 +6,14 @@ export function determineFileType(inputString: string): "file" | "folder" {
}
}
export function formatSize(size: number) {
for (const unit of [null, 'kB', 'MB', 'GB', 'TB', 'PB', 'EB']) {
if (size < 1e5) return size.toLocaleString().replace(',', '\u202F') + (unit ? `\u202F${unit}` : '')
size = Math.round(size / 1000)
}
return "huge"
}
export function formatUnixDate(t: number) {
const date = new Date(t * 1000)
const now = new Date()
@@ -1,4 +1,4 @@
var _W=Object.defineProperty;var EW=(e,t,n)=>t in e?_W(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var MW=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var F4=(e,t,n)=>(EW(e,typeof t!="symbol"?t+"":t,n),n);var zTe=MW((Cr,xr)=>{(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))o(r);new MutationObserver(r=>{for(const i of r)if(i.type==="childList")for(const l of i.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&o(l)}).observe(document,{childList:!0,subtree:!0});function n(r){const i={};return r.integrity&&(i.integrity=r.integrity),r.referrerPolicy&&(i.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?i.credentials="include":r.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function o(r){if(r.ep)return;r.ep=!0;const i=n(r);fetch(r.href,i)}})();function YS(e,t){const n=Object.create(null),o=e.split(",");for(let r=0;r<o.length;r++)n[o[r]]=!0;return t?r=>!!n[r.toLowerCase()]:r=>!!n[r]}const Pn={},bc=[],ui=()=>{},AW=()=>!1,RW=/^on[^a-z]/,yv=e=>RW.test(e),qS=e=>e.startsWith("onUpdate:"),Kn=Object.assign,ZS=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},DW=Object.prototype.hasOwnProperty,en=(e,t)=>DW.call(e,t),_t=Array.isArray,yc=e=>Sv(e)==="[object Map]",Y_=e=>Sv(e)==="[object Set]",Lt=e=>typeof e=="function",Un=e=>typeof e=="string",JS=e=>typeof e=="symbol",Cn=e=>e!==null&&typeof e=="object",q_=e=>Cn(e)&&Lt(e.then)&&Lt(e.catch),Z_=Object.prototype.toString,Sv=e=>Z_.call(e),BW=e=>Sv(e).slice(8,-1),J_=e=>Sv(e)==="[object Object]",QS=e=>Un(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,xh=YS(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),$v=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},NW=/-(\w)/g,Fi=$v(e=>e.replace(NW,(t,n)=>n?n.toUpperCase():"")),FW=/\B([A-Z])/g,qc=$v(e=>e.replace(FW,"-$1").toLowerCase()),Cv=$v(e=>e.charAt(0).toUpperCase()+e.slice(1)),mb=$v(e=>e?`on${Cv(e)}`:""),Td=(e,t)=>!Object.is(e,t),bb=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},vg=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},LW=e=>{const t=parseFloat(e);return isNaN(t)?e:t},kW=e=>{const t=Un(e)?Number(e):NaN;return isNaN(t)?e:t};let L4;const Yy=()=>L4||(L4=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function xv(e){if(_t(e)){const t={};for(let n=0;n<e.length;n++){const o=e[n],r=Un(o)?WW(o):xv(o);if(r)for(const i in r)t[i]=r[i]}return t}else{if(Un(e))return e;if(Cn(e))return e}}const zW=/;(?![^(]*\))/g,HW=/:([^]+)/,jW=/\/\*[^]*?\*\//g;function WW(e){const t={};return e.replace(jW,"").split(zW).forEach(n=>{if(n){const o=n.split(HW);o.length>1&&(t[o[0].trim()]=o[1].trim())}}),t}function df(e){let t="";if(Un(e))t=e;else if(_t(e))for(let n=0;n<e.length;n++){const o=df(e[n]);o&&(t+=o+" ")}else if(Cn(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const VW="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",KW=YS(VW);function Q_(e){return!!e||e===""}const mg=e=>Un(e)?e:e==null?"":_t(e)||Cn(e)&&(e.toString===Z_||!Lt(e.toString))?JSON.stringify(e,e5,2):String(e),e5=(e,t)=>t&&t.__v_isRef?e5(e,t.value):yc(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[o,r])=>(n[`${o} =>`]=r,n),{})}:Y_(t)?{[`Set(${t.size})`]:[...t.values()]}:Cn(t)&&!_t(t)&&!J_(t)?String(t):t;let yr;class t5{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=yr,!t&&yr&&(this.index=(yr.scopes||(yr.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=yr;try{return yr=this,t()}finally{yr=n}}}on(){yr=this}off(){yr=this.parent}stop(t){if(this._active){let n,o;for(n=0,o=this.effects.length;n<o;n++)this.effects[n].stop();for(n=0,o=this.cleanups.length;n<o;n++)this.cleanups[n]();if(this.scopes)for(n=0,o=this.scopes.length;n<o;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!t){const r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.parent=void 0,this._active=!1}}}function n5(e){return new t5(e)}function UW(e,t=yr){t&&t.active&&t.effects.push(e)}function wv(){return yr}function e$(e){yr&&yr.cleanups.push(e)}const t$=e=>{const t=new Set(e);return t.w=0,t.n=0,t},o5=e=>(e.w&pa)>0,r5=e=>(e.n&pa)>0,GW=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=pa},XW=e=>{const{deps:t}=e;if(t.length){let n=0;for(let o=0;o<t.length;o++){const r=t[o];o5(r)&&!r5(r)?r.delete(e):t[n++]=r,r.w&=~pa,r.n&=~pa}t.length=n}},bg=new WeakMap;let Uu=0,pa=1;const qy=30;let li;const is=Symbol(""),Zy=Symbol("");class n${constructor(t,n=null,o){this.fn=t,this.scheduler=n,this.active=!0,this.deps=[],this.parent=void 0,UW(this,o)}run(){if(!this.active)return this.fn();let t=li,n=ia;for(;t;){if(t===this)return;t=t.parent}try{return this.Line truncated
var _W=Object.defineProperty;var EW=(e,t,n)=>t in e?_W(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var MW=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var F4=(e,t,n)=>(EW(e,typeof t!="symbol"?t+"":t,n),n);var HTe=MW((Cr,xr)=>{(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))o(r);new MutationObserver(r=>{for(const i of r)if(i.type==="childList")for(const l of i.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&o(l)}).observe(document,{childList:!0,subtree:!0});function n(r){const i={};return r.integrity&&(i.integrity=r.integrity),r.referrerPolicy&&(i.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?i.credentials="include":r.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function o(r){if(r.ep)return;r.ep=!0;const i=n(r);fetch(r.href,i)}})();function YS(e,t){const n=Object.create(null),o=e.split(",");for(let r=0;r<o.length;r++)n[o[r]]=!0;return t?r=>!!n[r.toLowerCase()]:r=>!!n[r]}const Pn={},bc=[],ui=()=>{},AW=()=>!1,RW=/^on[^a-z]/,yv=e=>RW.test(e),qS=e=>e.startsWith("onUpdate:"),Kn=Object.assign,ZS=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},DW=Object.prototype.hasOwnProperty,en=(e,t)=>DW.call(e,t),_t=Array.isArray,yc=e=>Sv(e)==="[object Map]",Y_=e=>Sv(e)==="[object Set]",Lt=e=>typeof e=="function",Un=e=>typeof e=="string",JS=e=>typeof e=="symbol",Cn=e=>e!==null&&typeof e=="object",q_=e=>Cn(e)&&Lt(e.then)&&Lt(e.catch),Z_=Object.prototype.toString,Sv=e=>Z_.call(e),BW=e=>Sv(e).slice(8,-1),J_=e=>Sv(e)==="[object Object]",QS=e=>Un(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,xh=YS(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),$v=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},NW=/-(\w)/g,Fi=$v(e=>e.replace(NW,(t,n)=>n?n.toUpperCase():"")),FW=/\B([A-Z])/g,qc=$v(e=>e.replace(FW,"-$1").toLowerCase()),Cv=$v(e=>e.charAt(0).toUpperCase()+e.slice(1)),mb=$v(e=>e?`on${Cv(e)}`:""),Td=(e,t)=>!Object.is(e,t),bb=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},vg=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},LW=e=>{const t=parseFloat(e);return isNaN(t)?e:t},kW=e=>{const t=Un(e)?Number(e):NaN;return isNaN(t)?e:t};let L4;const Yy=()=>L4||(L4=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function xv(e){if(_t(e)){const t={};for(let n=0;n<e.length;n++){const o=e[n],r=Un(o)?WW(o):xv(o);if(r)for(const i in r)t[i]=r[i]}return t}else{if(Un(e))return e;if(Cn(e))return e}}const zW=/;(?![^(]*\))/g,HW=/:([^]+)/,jW=/\/\*[^]*?\*\//g;function WW(e){const t={};return e.replace(jW,"").split(zW).forEach(n=>{if(n){const o=n.split(HW);o.length>1&&(t[o[0].trim()]=o[1].trim())}}),t}function df(e){let t="";if(Un(e))t=e;else if(_t(e))for(let n=0;n<e.length;n++){const o=df(e[n]);o&&(t+=o+" ")}else if(Cn(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const VW="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",KW=YS(VW);function Q_(e){return!!e||e===""}const mg=e=>Un(e)?e:e==null?"":_t(e)||Cn(e)&&(e.toString===Z_||!Lt(e.toString))?JSON.stringify(e,e5,2):String(e),e5=(e,t)=>t&&t.__v_isRef?e5(e,t.value):yc(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[o,r])=>(n[`${o} =>`]=r,n),{})}:Y_(t)?{[`Set(${t.size})`]:[...t.values()]}:Cn(t)&&!_t(t)&&!J_(t)?String(t):t;let yr;class t5{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=yr,!t&&yr&&(this.index=(yr.scopes||(yr.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=yr;try{return yr=this,t()}finally{yr=n}}}on(){yr=this}off(){yr=this.parent}stop(t){if(this._active){let n,o;for(n=0,o=this.effects.length;n<o;n++)this.effects[n].stop();for(n=0,o=this.cleanups.length;n<o;n++)this.cleanups[n]();if(this.scopes)for(n=0,o=this.scopes.length;n<o;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!t){const r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.parent=void 0,this._active=!1}}}function n5(e){return new t5(e)}function UW(e,t=yr){t&&t.active&&t.effects.push(e)}function wv(){return yr}function e$(e){yr&&yr.cleanups.push(e)}const t$=e=>{const t=new Set(e);return t.w=0,t.n=0,t},o5=e=>(e.w&pa)>0,r5=e=>(e.n&pa)>0,GW=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=pa},XW=e=>{const{deps:t}=e;if(t.length){let n=0;for(let o=0;o<t.length;o++){const r=t[o];o5(r)&&!r5(r)?r.delete(e):t[n++]=r,r.w&=~pa,r.n&=~pa}t.length=n}},bg=new WeakMap;let Uu=0,pa=1;const qy=30;let li;const is=Symbol(""),Zy=Symbol("");class n${constructor(t,n=null,o){this.fn=t,this.scheduler=n,this.active=!0,this.deps=[],this.parent=void 0,UW(this,o)}run(){if(!this.active)return this.fn();let t=li,n=ia;for(;t;){if(t===this)return;t=t.parent}try{return this.Line truncated
* pinia v2.1.6
* (c) 2023 Eduardo San Martin Morote
* @license MIT
@@ -481,9 +481,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
* vue-router v4.2.4
* (c) 2023 Eduardo San Martin Morote
* @license MIT
*/const cc=typeof window<"u";function xIe(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const sn=Object.assign;function jy(e,t){const n={};for(const o in t){const r=t[o];n[o]=vi(r)?r.map(e):e(r)}return n}const Pd=()=>{},vi=Array.isArray,wIe=/\/$/,OIe=e=>e.replace(wIe,"");function Wy(e,t,n="/"){let o,r={},i="",l="";const a=t.indexOf("#");let s=t.indexOf("?");return a<s&&a>=0&&(s=-1),s>-1&&(o=t.slice(0,s),i=t.slice(s+1,a>-1?a:t.length),r=e(i)),a>-1&&(o=o||t.slice(0,a),l=t.slice(a,t.length)),o=_Ie(o??t,n),{fullPath:o+(i&&"?")+i+l,path:o,query:r,hash:l}}function PIe(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function y_(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function IIe(e,t,n){const o=t.matched.length-1,r=n.matched.length-1;return o>-1&&o===r&&Gc(t.matched[o],n.matched[r])&&qB(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Gc(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function qB(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!TIe(e[n],t[n]))return!1;return!0}function TIe(e,t){return vi(e)?S_(e,t):vi(t)?S_(t,e):e===t}function S_(e,t){return vi(t)?e.length===t.length&&e.every((n,o)=>n===t[o]):e.length===1&&e[0]===t}function _Ie(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),o=e.split("/"),r=o[o.length-1];(r===".."||r===".")&&o.push("");let i=n.length-1,l,a;for(l=0;l<o.length;l++)if(a=o[l],a!==".")if(a==="..")i>1&&i--;else break;return n.slice(0,i).join("/")+"/"+o.slice(l-(l===o.length?1:0)).join("/")}var cf;(function(e){e.pop="pop",e.push="push"})(cf||(cf={}));var Id;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Id||(Id={}));function EIe(e){if(!e)if(cc){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),OIe(e)}const MIe=/^[^#]+#/;function AIe(e,t){return e.replace(MIe,"#")+t}function RIe(e,t){const n=document.documentElement.getBoundingClientRect(),o=e.getBoundingClientRect();return{behavior:t.behavior,left:o.left-n.left-(t.left||0),top:o.top-n.top-(t.top||0)}}const t0=()=>({left:window.pageXOffset,top:window.pageYOffset});function DIe(e){let t;if("el"in e){const n=e.el,o=typeof n=="string"&&n.startsWith("#"),r=typeof n=="string"?o?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=RIe(r,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function $_(e,t){return(history.state?history.state.position-t:-1)+e}const LS=new Map;function BIe(e,t){LS.set(e,t)}function NIe(e){const t=LS.get(e);return LS.delete(e),t}let FIe=()=>location.protocol+"//"+location.host;function ZB(e,t){const{pathname:n,search:o,hash:r}=t,i=e.indexOf("#");if(i>-1){let a=r.includes(e.slice(i))?e.slice(i).length:1,s=r.slice(a);return s[0]!=="/"&&(s="/"+s),y_(s,"")}return y_(n,e)+o+r}function LIe(e,t,n,o){let r=[],i=[],l=null;const a=({state:p})=>{const g=ZB(e,location),m=n.value,v=t.value;let $=0;if(p){if(n.value=g,t.value=p,l&&l===m){l=null;return}$=v?p.position-v.position:0}else o(g);r.forEach(S=>{S(n.value,m,{delta:$,type:cf.pop,direction:$?$>0?Id.forward:Id.back:Id.unknown})})};function s(){l=n.value}function c(p){r.push(p);const g=()=>{const m=r.indexOf(p);m>-1&&r.splice(m,1)};return i.push(g),g}function u(){const{history:p}=window;p.state&&p.replaceState(sn({},p.state,{scroll:t0()}),"")}function d(){for(const p of i)p();i=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:s,listen:c,destroy:d}}function C_(e,t,n,o=!1,r=!1){return{back:e,current:t,forward:n,replaced:o,position:window.history.length,scroll:r?t0():null}}function kIe(e){const{history:t,location:n}=window,o={value:ZB(e,n)},r={value:t.state};r.value||i(o.value,{back:null,current:o.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function i(s,c,u){const d=e.indexOf("#"),p=d>-1?(n.host&&document.querySelector("base")?e:e.slice(d))+s:FIe()+e+s;try{t[u?"replaceState":"pushState"](c,"",p),r.value=c}catch(g){console.error(g),n[u?"replace":"assign"](p)}}function l(s,c){const u=sn({},t.state,C_(r.value.back,s,r.value.forward,!0),c,{position:r.value.position});i(s,u,!0),o.value=s}function a(s,c){const u=sn({},r.value,t.state,{forward:s,scroll:t0()});i(u.current,u,!0);const d=sn({},C_(o.value,s,null),{position:u.position+1},c);i(s,d,!1),o.value=s}return{location:o,state:r,push:a,replace:l}}function zIe(e){e=EIe(e);const t=kIe(e),n=LIe(e,t.state,t.location,t.replace);function o(i,l=!0){l||n.pauseListeners(),history.go(i)}const r=sn({location:"",base:e,go:o,createHref:AIe.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defLine truncated
`).forEach(function(l){r=l.indexOf(":"),n=l.substring(0,r).trim().toLowerCase(),o=l.substring(r+1).trim(),!(!n||t[n]&&$8e[n])&&(n==="set-cookie"?t[n]?t[n].push(o):t[n]=[o]:t[n]=t[n]?t[n]+", "+o:o)}),t},j_=Symbol("internals");function Ku(e){return e&&String(e).trim().toLowerCase()}function pg(e){return e===!1||e==null?e:je.isArray(e)?e.map(pg):String(e)}function x8e(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let o;for(;o=n.exec(e);)t[o[1]]=o[2];return t}const w8e=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Uy(e,t,n,o,r){if(je.isFunction(o))return o.call(this,t,n);if(r&&(t=n),!!je.isString(t)){if(je.isString(o))return t.indexOf(o)!==-1;if(je.isRegExp(o))return o.test(t)}}function O8e(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,o)=>n.toUpperCase()+o)}function P8e(e,t){const n=je.toCamelCase(" "+t);["get","set","has"].forEach(o=>{Object.defineProperty(e,o+n,{value:function(r,i,l){return this[o].call(this,t,r,i,l)},configurable:!0})})}class l0{constructor(t){t&&this.set(t)}set(t,n,o){const r=this;function i(a,s,c){const u=Ku(s);if(!u)throw new Error("header name must be a non-empty string");const d=je.findKey(r,u);(!d||r[d]===void 0||c===!0||c===void 0&&r[d]!==!1)&&(r[d||s]=pg(a))}const l=(a,s)=>je.forEach(a,(c,u)=>i(c,u,s));return je.isPlainObject(t)||t instanceof this.constructor?l(t,n):je.isString(t)&&(t=t.trim())&&!w8e(t)?l(C8e(t),n):t!=null&&i(n,t,o),this}get(t,n){if(t=Ku(t),t){const o=je.findKey(this,t);if(o){const r=this[o];if(!n)return r;if(n===!0)return x8e(r);if(je.isFunction(n))return n.call(this,r,o);if(je.isRegExp(n))return n.exec(r);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=Ku(t),t){const o=je.findKey(this,t);return!!(o&&this[o]!==void 0&&(!n||Uy(this,this[o],o,n)))}return!1}delete(t,n){const o=this;let r=!1;function i(l){if(l=Ku(l),l){const a=je.findKey(o,l);a&&(!n||Uy(o,o[a],a,n))&&(delete o[a],r=!0)}}return je.isArray(t)?t.forEach(i):i(t),r}clear(t){const n=Object.keys(this);let o=n.length,r=!1;for(;o--;){const i=n[o];(!t||Uy(this,this[i],i,t,!0))&&(delete this[i],r=!0)}return r}normalize(t){const n=this,o={};return je.forEach(this,(r,i)=>{const l=je.findKey(o,i);if(l){n[l]=pg(r),delete n[i];return}const a=t?O8e(i):String(i).trim();a!==i&&delete n[i],n[a]=pg(r),o[a]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return je.forEach(this,(o,r)=>{o!=null&&o!==!1&&(n[r]=t&&je.isArray(o)?o.join(", "):o)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const o=new this(t);return n.forEach(r=>o.set(r)),o}static accessor(t){const o=(this[j_]=this[j_]={accessors:{}}).accessors,r=this.prototype;function i(l){const a=Ku(l);o[a]||(P8e(r,l),o[a]=!0)}return je.isArray(t)?t.forEach(i):i(t),this}}l0.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);je.reduceDescriptors(l0.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(o){this[n]=o}}});je.freezeMethods(l0);const vl=l0;function Gy(e,t){const n=this||$2,o=t||n,r=vl.from(o.headers);let i=o.data;return je.forEach(e,function(a){i=a.call(n,i,r.normalize(),t?t.status:void 0)}),r.normalize(),i}function xN(e){return!!(e&&e.__CANCEL__)}function Ff(e,t,n){tn.call(this,e??"canceled",tn.ERR_CANCELED,t,n),this.name="CanceledError"}je.inherits(Ff,tn,{__CANCEL__:!0});function I8e(e,t,n){const o=n.config.validateStatus;!n.status||!o||o(n.status)?e(n):t(new tn("Request failed with status code "+n.status,[tn.ERR_BAD_REQUEST,tn.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const T8e=ci.isStandardBrowserEnv?function(){return{write:function(n,o,r,i,l,a){const s=[];s.push(n+"="+encodeURIComponent(o)),je.isNumber(r)&&s.push("expires="+new Date(r).toGMTString()),je.isString(i)&&s.push("path="+i),je.isString(l)&&s.push("domain="+l),a===!0&&s.push("secure"),document.cookie=s.join("; ")},read:function(n){const o=document.cookie.match(new RegExp("(^|;\\s*)("+n+")=([^;]*)"));return o?decodeURIComponent(o[3]):null},remove:function(n){this.write(n,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}();function _8e(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function E8e(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}function wN(e,t){return e&&!_8e(t)?E8e(e,t):t}const M8e=ci.isStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let o;function r(i){let l=i;return t&&(n.setAttribute("href",l),l=n.href),n.setAttribute("href",l),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return o=r(window.location.href),function(l){const a=je.isString(l)?r(l):l;return a.protocol===o.protocol&&a.host===o.host}}():function(){return function(){return!0}}();function A8e(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function R8e(e,t){e=e||10;const n=new Array(e),o=new Array(e);let r=0,i=0,l;return t=t!==void 0?t:1e3,function(s){const c=Date.now(),u=o[i];l||(l=c),n[r]=s,o[r]=c;let d=i,p=0;for(;d!==r;)p+=n[d++],d=d%e;if(r=(r+1)%e,r===i&&(i=(i+1)%e),c-l<t)return;const g=u&&c-u;return g?Math.round(p*1e3/g):void 0}}function W_(e,t){let n=0;const o=R8e(50,250);return r=>{const i=r.loaded,l=r.lengthComputable?r.total:void 0,a=i-n,s=o(a),c=i<=l;n=i;const u={loaded:i,total:l,progress:l?i/l:void 0,bytes:a,rate:s||void 0,estimated:s&&l&&c?(l-i)/s:void 0,event:r};u[t?"download":"upload"]=!0,e(u)}}const D8e=typeof XMLHttpRequest<"u",B8e=D8e&&function(e){return new Promise(function(n,o){let r=e.data;const i=vl.from(e.headers).normalize(),l=e.responseType;let a;function s(){e.cancelToken&&e.cancelToken.unsubscribe(a),e.signal&&e.signal.removeEventListener("abort",a)}je.isFormData(r)&&(ci.isStandardBrowserEnv||ci.isStandardBrowserWebWorkerEnv?i.setContentType(!1):i.setContentType("multipart/form-data;",!1));let c=new XMLHttpRequest;if(e.auth){const g=e.auth.username||"",m=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";i.set("Authorization","Basic "+btoa(g+":"+m))}const u=wN(e.baseURL,e.url);c.open(e.method.toUpperCase(),SN(u,e.params,e.paramsSerializer),!0),c.timeout=e.timeout;function d(){if(!c)return;const g=vl.from("getAllResponseHeaders"in c&&c.getAllResponseHeaders()),v={data:!l||l==="text"||l==="json"?c.responseText:c.response,status:c.status,statusText:c.statusText,headers:g,config:e,request:c};I8e(function(S){n(S),s()},function(S){o(S),s()},v),c=null}if("onloadend"in c?c.onloadend=d:c.onreadystatechange=function(){!c||c.readyState!==4||c.status===0&&!(c.responseURL&&c.responseURL.indexOf("file:")===0)||setTimeout(d)},c.onabort=function(){c&&(o(new tn("Request aborted",tn.ECONNABORTED,e,c)),c=null)},c.onerror=function(){o(new tn("Network Error",tn.ERR_NETWORK,e,c)),c=null},c.ontimeout=function(){let m=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const v=e.transitional||$N;e.timeoutErrorMessage&&(m=e.timeoutErrorMessage),o(new tn(m,v.clarifyTimeoutError?tn.ETIMEDOUT:tn.ECONNABORTED,e,c)),c=null},ci.isStandardBrowserEnv){const g=(e.withCredentials||M8e(u))&&e.xsrfCookieName&&T8e.read(e.xsrfCookieName);g&&i.set(e.xsrfHeaderName,g)}r===void 0&&i.setCo Line truncated
*/const cc=typeof window<"u";function xIe(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const sn=Object.assign;function jy(e,t){const n={};for(const o in t){const r=t[o];n[o]=vi(r)?r.map(e):e(r)}return n}const Pd=()=>{},vi=Array.isArray,wIe=/\/$/,OIe=e=>e.replace(wIe,"");function Wy(e,t,n="/"){let o,r={},i="",l="";const a=t.indexOf("#");let s=t.indexOf("?");return a<s&&a>=0&&(s=-1),s>-1&&(o=t.slice(0,s),i=t.slice(s+1,a>-1?a:t.length),r=e(i)),a>-1&&(o=o||t.slice(0,a),l=t.slice(a,t.length)),o=_Ie(o??t,n),{fullPath:o+(i&&"?")+i+l,path:o,query:r,hash:l}}function PIe(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function y_(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function IIe(e,t,n){const o=t.matched.length-1,r=n.matched.length-1;return o>-1&&o===r&&Gc(t.matched[o],n.matched[r])&&qB(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Gc(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function qB(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!TIe(e[n],t[n]))return!1;return!0}function TIe(e,t){return vi(e)?S_(e,t):vi(t)?S_(t,e):e===t}function S_(e,t){return vi(t)?e.length===t.length&&e.every((n,o)=>n===t[o]):e.length===1&&e[0]===t}function _Ie(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),o=e.split("/"),r=o[o.length-1];(r===".."||r===".")&&o.push("");let i=n.length-1,l,a;for(l=0;l<o.length;l++)if(a=o[l],a!==".")if(a==="..")i>1&&i--;else break;return n.slice(0,i).join("/")+"/"+o.slice(l-(l===o.length?1:0)).join("/")}var cf;(function(e){e.pop="pop",e.push="push"})(cf||(cf={}));var Id;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Id||(Id={}));function EIe(e){if(!e)if(cc){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),OIe(e)}const MIe=/^[^#]+#/;function AIe(e,t){return e.replace(MIe,"#")+t}function RIe(e,t){const n=document.documentElement.getBoundingClientRect(),o=e.getBoundingClientRect();return{behavior:t.behavior,left:o.left-n.left-(t.left||0),top:o.top-n.top-(t.top||0)}}const t0=()=>({left:window.pageXOffset,top:window.pageYOffset});function DIe(e){let t;if("el"in e){const n=e.el,o=typeof n=="string"&&n.startsWith("#"),r=typeof n=="string"?o?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=RIe(r,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function $_(e,t){return(history.state?history.state.position-t:-1)+e}const LS=new Map;function BIe(e,t){LS.set(e,t)}function NIe(e){const t=LS.get(e);return LS.delete(e),t}let FIe=()=>location.protocol+"//"+location.host;function ZB(e,t){const{pathname:n,search:o,hash:r}=t,i=e.indexOf("#");if(i>-1){let a=r.includes(e.slice(i))?e.slice(i).length:1,s=r.slice(a);return s[0]!=="/"&&(s="/"+s),y_(s,"")}return y_(n,e)+o+r}function LIe(e,t,n,o){let r=[],i=[],l=null;const a=({state:p})=>{const g=ZB(e,location),m=n.value,v=t.value;let $=0;if(p){if(n.value=g,t.value=p,l&&l===m){l=null;return}$=v?p.position-v.position:0}else o(g);r.forEach(S=>{S(n.value,m,{delta:$,type:cf.pop,direction:$?$>0?Id.forward:Id.back:Id.unknown})})};function s(){l=n.value}function c(p){r.push(p);const g=()=>{const m=r.indexOf(p);m>-1&&r.splice(m,1)};return i.push(g),g}function u(){const{history:p}=window;p.state&&p.replaceState(sn({},p.state,{scroll:t0()}),"")}function d(){for(const p of i)p();i=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:s,listen:c,destroy:d}}function C_(e,t,n,o=!1,r=!1){return{back:e,current:t,forward:n,replaced:o,position:window.history.length,scroll:r?t0():null}}function kIe(e){const{history:t,location:n}=window,o={value:ZB(e,n)},r={value:t.state};r.value||i(o.value,{back:null,current:o.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function i(s,c,u){const d=e.indexOf("#"),p=d>-1?(n.host&&document.querySelector("base")?e:e.slice(d))+s:FIe()+e+s;try{t[u?"replaceState":"pushState"](c,"",p),r.value=c}catch(g){console.error(g),n[u?"replace":"assign"](p)}}function l(s,c){const u=sn({},t.state,C_(r.value.back,s,r.value.forward,!0),c,{position:r.value.position});i(s,u,!0),o.value=s}function a(s,c){const u=sn({},r.value,t.state,{forward:s,scroll:t0()});i(u.current,u,!0);const d=sn({},C_(o.value,s,null),{position:u.position+1},c);i(s,d,!1),o.value=s}return{location:o,state:r,push:a,replace:l}}function zIe(e){e=EIe(e);const t=kIe(e),n=LIe(e,t.state,t.location,t.replace);function o(i,l=!0){l||n.pauseListeners(),history.go(i)}const r=sn({location:"",base:e,go:o,createHref:AIe.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defLine truncated
`).forEach(function(l){r=l.indexOf(":"),n=l.substring(0,r).trim().toLowerCase(),o=l.substring(r+1).trim(),!(!n||t[n]&&C8e[n])&&(n==="set-cookie"?t[n]?t[n].push(o):t[n]=[o]:t[n]=t[n]?t[n]+", "+o:o)}),t},j_=Symbol("internals");function Ku(e){return e&&String(e).trim().toLowerCase()}function pg(e){return e===!1||e==null?e:je.isArray(e)?e.map(pg):String(e)}function w8e(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let o;for(;o=n.exec(e);)t[o[1]]=o[2];return t}const O8e=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Uy(e,t,n,o,r){if(je.isFunction(o))return o.call(this,t,n);if(r&&(t=n),!!je.isString(t)){if(je.isString(o))return t.indexOf(o)!==-1;if(je.isRegExp(o))return o.test(t)}}function P8e(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,o)=>n.toUpperCase()+o)}function I8e(e,t){const n=je.toCamelCase(" "+t);["get","set","has"].forEach(o=>{Object.defineProperty(e,o+n,{value:function(r,i,l){return this[o].call(this,t,r,i,l)},configurable:!0})})}class l0{constructor(t){t&&this.set(t)}set(t,n,o){const r=this;function i(a,s,c){const u=Ku(s);if(!u)throw new Error("header name must be a non-empty string");const d=je.findKey(r,u);(!d||r[d]===void 0||c===!0||c===void 0&&r[d]!==!1)&&(r[d||s]=pg(a))}const l=(a,s)=>je.forEach(a,(c,u)=>i(c,u,s));return je.isPlainObject(t)||t instanceof this.constructor?l(t,n):je.isString(t)&&(t=t.trim())&&!O8e(t)?l(x8e(t),n):t!=null&&i(n,t,o),this}get(t,n){if(t=Ku(t),t){const o=je.findKey(this,t);if(o){const r=this[o];if(!n)return r;if(n===!0)return w8e(r);if(je.isFunction(n))return n.call(this,r,o);if(je.isRegExp(n))return n.exec(r);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=Ku(t),t){const o=je.findKey(this,t);return!!(o&&this[o]!==void 0&&(!n||Uy(this,this[o],o,n)))}return!1}delete(t,n){const o=this;let r=!1;function i(l){if(l=Ku(l),l){const a=je.findKey(o,l);a&&(!n||Uy(o,o[a],a,n))&&(delete o[a],r=!0)}}return je.isArray(t)?t.forEach(i):i(t),r}clear(t){const n=Object.keys(this);let o=n.length,r=!1;for(;o--;){const i=n[o];(!t||Uy(this,this[i],i,t,!0))&&(delete this[i],r=!0)}return r}normalize(t){const n=this,o={};return je.forEach(this,(r,i)=>{const l=je.findKey(o,i);if(l){n[l]=pg(r),delete n[i];return}const a=t?P8e(i):String(i).trim();a!==i&&delete n[i],n[a]=pg(r),o[a]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return je.forEach(this,(o,r)=>{o!=null&&o!==!1&&(n[r]=t&&je.isArray(o)?o.join(", "):o)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const o=new this(t);return n.forEach(r=>o.set(r)),o}static accessor(t){const o=(this[j_]=this[j_]={accessors:{}}).accessors,r=this.prototype;function i(l){const a=Ku(l);o[a]||(I8e(r,l),o[a]=!0)}return je.isArray(t)?t.forEach(i):i(t),this}}l0.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);je.reduceDescriptors(l0.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(o){this[n]=o}}});je.freezeMethods(l0);const vl=l0;function Gy(e,t){const n=this||$2,o=t||n,r=vl.from(o.headers);let i=o.data;return je.forEach(e,function(a){i=a.call(n,i,r.normalize(),t?t.status:void 0)}),r.normalize(),i}function xN(e){return!!(e&&e.__CANCEL__)}function Ff(e,t,n){tn.call(this,e??"canceled",tn.ERR_CANCELED,t,n),this.name="CanceledError"}je.inherits(Ff,tn,{__CANCEL__:!0});function T8e(e,t,n){const o=n.config.validateStatus;!n.status||!o||o(n.status)?e(n):t(new tn("Request failed with status code "+n.status,[tn.ERR_BAD_REQUEST,tn.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const _8e=ci.isStandardBrowserEnv?function(){return{write:function(n,o,r,i,l,a){const s=[];s.push(n+"="+encodeURIComponent(o)),je.isNumber(r)&&s.push("expires="+new Date(r).toGMTString()),je.isString(i)&&s.push("path="+i),je.isString(l)&&s.push("domain="+l),a===!0&&s.push("secure"),document.cookie=s.join("; ")},read:function(n){const o=document.cookie.match(new RegExp("(^|;\\s*)("+n+")=([^;]*)"));return o?decodeURIComponent(o[3]):null},remove:function(n){this.write(n,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}();function E8e(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function M8e(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}function wN(e,t){return e&&!E8e(t)?M8e(e,t):t}const A8e=ci.isStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let o;function r(i){let l=i;return t&&(n.setAttribute("href",l),l=n.href),n.setAttribute("href",l),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return o=r(window.location.href),function(l){const a=je.isString(l)?r(l):l;return a.protocol===o.protocol&&a.host===o.host}}():function(){return function(){return!0}}();function R8e(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function D8e(e,t){e=e||10;const n=new Array(e),o=new Array(e);let r=0,i=0,l;return t=t!==void 0?t:1e3,function(s){const c=Date.now(),u=o[i];l||(l=c),n[r]=s,o[r]=c;let d=i,p=0;for(;d!==r;)p+=n[d++],d=d%e;if(r=(r+1)%e,r===i&&(i=(i+1)%e),c-l<t)return;const g=u&&c-u;return g?Math.round(p*1e3/g):void 0}}function W_(e,t){let n=0;const o=D8e(50,250);return r=>{const i=r.loaded,l=r.lengthComputable?r.total:void 0,a=i-n,s=o(a),c=i<=l;n=i;const u={loaded:i,total:l,progress:l?i/l:void 0,bytes:a,rate:s||void 0,estimated:s&&l&&c?(l-i)/s:void 0,event:r};u[t?"download":"upload"]=!0,e(u)}}const B8e=typeof XMLHttpRequest<"u",N8e=B8e&&function(e){return new Promise(function(n,o){let r=e.data;const i=vl.from(e.headers).normalize(),l=e.responseType;let a;function s(){e.cancelToken&&e.cancelToken.unsubscribe(a),e.signal&&e.signal.removeEventListener("abort",a)}je.isFormData(r)&&(ci.isStandardBrowserEnv||ci.isStandardBrowserWebWorkerEnv?i.setContentType(!1):i.setContentType("multipart/form-data;",!1));let c=new XMLHttpRequest;if(e.auth){const g=e.auth.username||"",m=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";i.set("Authorization","Basic "+btoa(g+":"+m))}const u=wN(e.baseURL,e.url);c.open(e.method.toUpperCase(),SN(u,e.params,e.paramsSerializer),!0),c.timeout=e.timeout;function d(){if(!c)return;const g=vl.from("getAllResponseHeaders"in c&&c.getAllResponseHeaders()),v={data:!l||l==="text"||l==="json"?c.responseText:c.response,status:c.status,statusText:c.statusText,headers:g,config:e,request:c};T8e(function(S){n(S),s()},function(S){o(S),s()},v),c=null}if("onloadend"in c?c.onloadend=d:c.onreadystatechange=function(){!c||c.readyState!==4||c.status===0&&!(c.responseURL&&c.responseURL.indexOf("file:")===0)||setTimeout(d)},c.onabort=function(){c&&(o(new tn("Request aborted",tn.ECONNABORTED,e,c)),c=null)},c.onerror=function(){o(new tn("Network Error",tn.ERR_NETWORK,e,c)),c=null},c.ontimeout=function(){let m=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const v=e.transitional||$N;e.timeoutErrorMessage&&(m=e.timeoutErrorMessage),o(new tn(m,v.clarifyTimeoutError?tn.ETIMEDOUT:tn.ECONNABORTED,e,c)),c=null},ci.isStandardBrowserEnv){const g=(e.withCredentials||A8e(u))&&e.xsrfCookieName&&_8e.read(e.xsrfCookieName);g&&i.set(e.xsrfHeaderName,g)}r===void 0&&i.setCo Line truncated
* @license
* Lodash <https://lodash.com/>
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
@@ -509,4 +509,4 @@ __p += '`),Jt&&(Ue+=`' +
function print() { __p += __j.call(arguments, '') }
`:`;
`)+Ue+`return __p
}`;var Wt=D4(function(){return nn(le,bt+"return "+Ue).apply(n,be)});if(Wt.source=Ue,lb(Wt))throw Wt;return Wt}function Nj(f){return rn(f).toLowerCase()}function Fj(f){return rn(f).toUpperCase()}function Lj(f,y,T){if(f=rn(f),f&&(T||y===n))return W2(f);if(!f||!(y=ur(y)))return f;var H=ti(f),q=ti(y),le=V2(H,q),be=K2(H,q)+1;return zl(H,le,be).join("")}function kj(f,y,T){if(f=rn(f),f&&(T||y===n))return f.slice(0,G2(f)+1);if(!f||!(y=ur(y)))return f;var H=ti(f),q=K2(H,ti(y))+1;return zl(H,0,q).join("")}function zj(f,y,T){if(f=rn(f),f&&(T||y===n))return f.replace(Ve,"");if(!f||!(y=ur(y)))return f;var H=ti(f),q=V2(H,ti(y));return zl(H,q).join("")}function Hj(f,y){var T=A,H=R;if(An(y)){var q="separator"in y?y.separator:q;T="length"in y?Ht(y.length):T,H="omission"in y?ur(y.omission):H}f=rn(f);var le=f.length;if(Fs(f)){var be=ti(f);le=be.length}if(T>=le)return f;var xe=T-Ls(H);if(xe<1)return H;var _e=be?zl(be,0,xe).join(""):f.slice(0,xe);if(q===n)return _e+H;if(be&&(xe+=_e.length-xe),ab(q)){if(f.slice(xe).search(q)){var He,We=_e;for(q.global||(q=x0(q.source,rn(No.exec(q))+"g")),q.lastIndex=0;He=q.exec(We);)var Ue=He.index;_e=_e.slice(0,Ue===n?xe:Ue)}}else if(f.indexOf(ur(q),xe)!=xe){var tt=_e.lastIndexOf(q);tt>-1&&(_e=_e.slice(0,tt))}return _e+H}function jj(f){return f=rn(f),f&&Mn.test(f)?f.replace(Dt,mF):f}var Wj=Ks(function(f,y,T){return f+(T?" ":"")+y.toUpperCase()}),ub=B3("toUpperCase");function R4(f,y,T){return f=rn(f),y=T?n:y,y===n?fF(f)?SF(f):oF(f):f.match(y)||[]}var D4=Vt(function(f,y){try{return sr(f,n,y)}catch(T){return lb(T)?T:new Bt(T)}}),Vj=Yi(function(f,y){return Er(y,function(T){T=wi(T),Gi(f,T,rb(f[T],f))}),f});function Kj(f){var y=f==null?0:f.length,T=Ot();return f=y?Tn(f,function(H){if(typeof H[1]!="function")throw new Mr(l);return[T(H[0]),H[1]]}):[],Vt(function(H){for(var q=-1;++q<y;){var le=f[q];if(sr(le[0],this,H))return sr(le[1],this,H)}})}function Uj(f){return mL(Rr(f,d))}function db(f){return function(){return f}}function Gj(f,y){return f==null||f!==f?y:f}var Xj=F3(),Yj=F3(!0);function Jo(f){return f}function fb(f){return p3(typeof f=="function"?f:Rr(f,d))}function qj(f){return g3(Rr(f,d))}function Zj(f,y){return v3(f,Rr(y,d))}var Jj=Vt(function(f,y){return function(T){return Tu(T,f,y)}}),Qj=Vt(function(f,y){return function(T){return Tu(f,T,y)}});function pb(f,y,T){var H=uo(y),q=hp(y,H);T==null&&!(An(y)&&(q.length||!H.length))&&(T=y,y=f,f=this,q=hp(y,uo(y)));var le=!(An(T)&&"chain"in T)||!!T.chain,be=Zi(f);return Er(q,function(xe){var _e=y[xe];f[xe]=_e,be&&(f.prototype[xe]=function(){var He=this.__chain__;if(le||He){var We=f(this.__wrapped__),Ue=We.__actions__=Yo(this.__actions__);return Ue.push({func:_e,args:arguments,thisArg:f}),We.__chain__=He,We}return _e.apply(f,Dl([this.value()],arguments))})}),f}function eW(){return vo._===this&&(vo._=PF),this}function hb(){}function tW(f){return f=Ht(f),Vt(function(y){return m3(y,f)})}var nW=K0(Tn),oW=K0(L2),rW=K0(v0);function B4(f){return J0(f)?m0(wi(f)):DL(f)}function iW(f){return function(y){return f==null?n:Ma(f,y)}}var lW=k3(),aW=k3(!0);function gb(){return[]}function vb(){return!1}function sW(){return{}}function cW(){return""}function uW(){return!0}function dW(f,y){if(f=Ht(f),f<1||f>D)return[];var T=V,H=Oo(f,V);y=Ot(y),f-=V;for(var q=S0(H,y);++T<f;)y(T);return q}function fW(f){return Ft(f)?Tn(f,wi):dr(f)?[f]:Yo(t4(rn(f)))}function pW(f){var y=++wF;return rn(f)+y}var hW=Sp(function(f,y){return f+y},0),gW=U0("ceil"),vW=Sp(function(f,y){return f/y},1),mW=U0("floor");function bW(f){return f&&f.length?pp(f,Jo,M0):n}function yW(f,y){return f&&f.length?pp(f,Ot(y,2),M0):n}function SW(f){return H2(f,Jo)}function $W(f,y){return H2(f,Ot(y,2))}function CW(f){return f&&f.length?pp(f,Jo,B0):n}function xW(f,y){return f&&f.length?pp(f,Ot(y,2),B0):n}var wW=Sp(function(f,y){return f*y},1),OW=U0("round"),PW=Sp(function(f,y){return f-y},0);function IW(f){return f&&f.length?y0(f,Jo):0}function TW(f,y){return f&&f.length?y0(f,Ot(y,2)):0}return oe.after=qz,oe.ary=f4,oe.assign=FH,oe.assignIn=P4,oe.assignInWith=Rp,oe.assignWith=LH,oe.at=kH,oe.before=p4,oe.bind=rb,oe.bindAll=Vj,oe.bindKey=h4,oe.castArray=sH,oe.chain=c4,oe.chunk=mk,oe.compact=bk,oe.concat=yk,oe.cond=Kj,oe.conforms=Uj,oe.constant=db,oe.countBy=Iz,oe.create=zH,oe.curry=g4,oe.curryRight=v4,oe.debounce=m4,oe.defaults=HH,oe.defaultsDeep=jH,oe.defer=Zz,oe.delay=Jz,oe.difference=Sk,oe.differenceBy=$k,oe.differenceWith=Ck,oe.drop=xk,oe.dropRight=wk,oe.dropRightWhile=Ok,oe.dropWhile=Pk,oe.fill=Ik,oe.filter=_z,oe.flatMap=Az,oe.flatMapDeep=Rz,oe.flatMapDepth=Dz,oe.flatten=i4,oe.flattenDeep=Tk,oe.flattenDepth=_k,oe.flip=Qz,oe.flow=Xj,oe.flowRight=Yj,oe.fromPairs=Ek,oe.functions=YH,oe.functionsIn=qH,oe.groupBy=Bz,oe.initial=Ak,oe.intersection=Rk,oe.intersectionBy=Dk,oe.intersectionWith=Bk,oe.invert=JH,oe.invertBy=QH,oe.invokeMap=Fz,oe.iteratee=fb,oe.keyBy=Lz,oe.keys=uo,oe.keysIn=Zo,oe.map=Ip,oe.mapKeys=tj,oe.mapValues=nj,oe.matches=qj,oe.matchesProperty=Zj,oe.memoize=_p,oe.merge=oj,oe.mergeWith=I4,oe.method=Jj,oe.methodO Line truncated
}`;var Wt=D4(function(){return nn(le,bt+"return "+Ue).apply(n,be)});if(Wt.source=Ue,lb(Wt))throw Wt;return Wt}function Nj(f){return rn(f).toLowerCase()}function Fj(f){return rn(f).toUpperCase()}function Lj(f,y,T){if(f=rn(f),f&&(T||y===n))return W2(f);if(!f||!(y=ur(y)))return f;var H=ti(f),q=ti(y),le=V2(H,q),be=K2(H,q)+1;return zl(H,le,be).join("")}function kj(f,y,T){if(f=rn(f),f&&(T||y===n))return f.slice(0,G2(f)+1);if(!f||!(y=ur(y)))return f;var H=ti(f),q=K2(H,ti(y))+1;return zl(H,0,q).join("")}function zj(f,y,T){if(f=rn(f),f&&(T||y===n))return f.replace(Ve,"");if(!f||!(y=ur(y)))return f;var H=ti(f),q=V2(H,ti(y));return zl(H,q).join("")}function Hj(f,y){var T=A,H=R;if(An(y)){var q="separator"in y?y.separator:q;T="length"in y?Ht(y.length):T,H="omission"in y?ur(y.omission):H}f=rn(f);var le=f.length;if(Fs(f)){var be=ti(f);le=be.length}if(T>=le)return f;var xe=T-Ls(H);if(xe<1)return H;var _e=be?zl(be,0,xe).join(""):f.slice(0,xe);if(q===n)return _e+H;if(be&&(xe+=_e.length-xe),ab(q)){if(f.slice(xe).search(q)){var He,We=_e;for(q.global||(q=x0(q.source,rn(No.exec(q))+"g")),q.lastIndex=0;He=q.exec(We);)var Ue=He.index;_e=_e.slice(0,Ue===n?xe:Ue)}}else if(f.indexOf(ur(q),xe)!=xe){var tt=_e.lastIndexOf(q);tt>-1&&(_e=_e.slice(0,tt))}return _e+H}function jj(f){return f=rn(f),f&&Mn.test(f)?f.replace(Dt,mF):f}var Wj=Ks(function(f,y,T){return f+(T?" ":"")+y.toUpperCase()}),ub=B3("toUpperCase");function R4(f,y,T){return f=rn(f),y=T?n:y,y===n?fF(f)?SF(f):oF(f):f.match(y)||[]}var D4=Vt(function(f,y){try{return sr(f,n,y)}catch(T){return lb(T)?T:new Bt(T)}}),Vj=Yi(function(f,y){return Er(y,function(T){T=wi(T),Gi(f,T,rb(f[T],f))}),f});function Kj(f){var y=f==null?0:f.length,T=Ot();return f=y?Tn(f,function(H){if(typeof H[1]!="function")throw new Mr(l);return[T(H[0]),H[1]]}):[],Vt(function(H){for(var q=-1;++q<y;){var le=f[q];if(sr(le[0],this,H))return sr(le[1],this,H)}})}function Uj(f){return mL(Rr(f,d))}function db(f){return function(){return f}}function Gj(f,y){return f==null||f!==f?y:f}var Xj=F3(),Yj=F3(!0);function Jo(f){return f}function fb(f){return p3(typeof f=="function"?f:Rr(f,d))}function qj(f){return g3(Rr(f,d))}function Zj(f,y){return v3(f,Rr(y,d))}var Jj=Vt(function(f,y){return function(T){return Tu(T,f,y)}}),Qj=Vt(function(f,y){return function(T){return Tu(f,T,y)}});function pb(f,y,T){var H=uo(y),q=hp(y,H);T==null&&!(An(y)&&(q.length||!H.length))&&(T=y,y=f,f=this,q=hp(y,uo(y)));var le=!(An(T)&&"chain"in T)||!!T.chain,be=Zi(f);return Er(q,function(xe){var _e=y[xe];f[xe]=_e,be&&(f.prototype[xe]=function(){var He=this.__chain__;if(le||He){var We=f(this.__wrapped__),Ue=We.__actions__=Yo(this.__actions__);return Ue.push({func:_e,args:arguments,thisArg:f}),We.__chain__=He,We}return _e.apply(f,Dl([this.value()],arguments))})}),f}function eW(){return vo._===this&&(vo._=PF),this}function hb(){}function tW(f){return f=Ht(f),Vt(function(y){return m3(y,f)})}var nW=K0(Tn),oW=K0(L2),rW=K0(v0);function B4(f){return J0(f)?m0(wi(f)):DL(f)}function iW(f){return function(y){return f==null?n:Ma(f,y)}}var lW=k3(),aW=k3(!0);function gb(){return[]}function vb(){return!1}function sW(){return{}}function cW(){return""}function uW(){return!0}function dW(f,y){if(f=Ht(f),f<1||f>D)return[];var T=V,H=Oo(f,V);y=Ot(y),f-=V;for(var q=S0(H,y);++T<f;)y(T);return q}function fW(f){return Ft(f)?Tn(f,wi):dr(f)?[f]:Yo(t4(rn(f)))}function pW(f){var y=++wF;return rn(f)+y}var hW=Sp(function(f,y){return f+y},0),gW=U0("ceil"),vW=Sp(function(f,y){return f/y},1),mW=U0("floor");function bW(f){return f&&f.length?pp(f,Jo,M0):n}function yW(f,y){return f&&f.length?pp(f,Ot(y,2),M0):n}function SW(f){return H2(f,Jo)}function $W(f,y){return H2(f,Ot(y,2))}function CW(f){return f&&f.length?pp(f,Jo,B0):n}function xW(f,y){return f&&f.length?pp(f,Ot(y,2),B0):n}var wW=Sp(function(f,y){return f*y},1),OW=U0("round"),PW=Sp(function(f,y){return f-y},0);function IW(f){return f&&f.length?y0(f,Jo):0}function TW(f,y){return f&&f.length?y0(f,Ot(y,2)):0}return oe.after=qz,oe.ary=f4,oe.assign=FH,oe.assignIn=P4,oe.assignInWith=Rp,oe.assignWith=LH,oe.at=kH,oe.before=p4,oe.bind=rb,oe.bindAll=Vj,oe.bindKey=h4,oe.castArray=sH,oe.chain=c4,oe.chunk=mk,oe.compact=bk,oe.concat=yk,oe.cond=Kj,oe.conforms=Uj,oe.constant=db,oe.countBy=Iz,oe.create=zH,oe.curry=g4,oe.curryRight=v4,oe.debounce=m4,oe.defaults=HH,oe.defaultsDeep=jH,oe.defer=Zz,oe.delay=Jz,oe.difference=Sk,oe.differenceBy=$k,oe.differenceWith=Ck,oe.drop=xk,oe.dropRight=wk,oe.dropRightWhile=Ok,oe.dropWhile=Pk,oe.fill=Ik,oe.filter=_z,oe.flatMap=Az,oe.flatMapDeep=Rz,oe.flatMapDepth=Dz,oe.flatten=i4,oe.flattenDeep=Tk,oe.flattenDepth=_k,oe.flip=Qz,oe.flow=Xj,oe.flowRight=Yj,oe.fromPairs=Ek,oe.functions=YH,oe.functionsIn=qH,oe.groupBy=Bz,oe.initial=Ak,oe.intersection=Rk,oe.intersectionBy=Dk,oe.intersectionWith=Bk,oe.invert=JH,oe.invertBy=QH,oe.invokeMap=Fz,oe.iteratee=fb,oe.keyBy=Lz,oe.keys=uo,oe.keysIn=Zo,oe.map=Ip,oe.mapKeys=tj,oe.mapValues=nj,oe.matches=qj,oe.matchesProperty=Zj,oe.memoize=_p,oe.merge=oj,oe.mergeWith=I4,oe.method=Jj,oe.methodO Line truncated
+1 -1
View File
@@ -5,7 +5,7 @@
<link rel="icon" href="/favicon.ico">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>Vite Vasanko</title>
<script type="module" crossorigin src="/assets/index-dfc6f58a.js"></script>
<script type="module" crossorigin src="/assets/index-10851222.js"></script>
<link rel="stylesheet" href="/assets/index-ee545ab1.css">
</head>
<body>