From 5f9b473969074aa83460d090488932686ac90793 Mon Sep 17 00:00:00 2001 From: Alexander Nikushkin Date: Fri, 10 Nov 2023 19:47:02 +0500 Subject: [PATCH] upgrade: 2.0 --- composer.json | 2 +- composer.lock | 24 ++++----- public/vendor/moonshine/assets/app.js | 52 ++++++++++--------- public/vendor/moonshine/assets/main.css | 2 +- .../views/pages/ru/installation.blade.php | 4 +- 5 files changed, 43 insertions(+), 41 deletions(-) diff --git a/composer.json b/composer.json index 12653083..5b815541 100644 --- a/composer.json +++ b/composer.json @@ -10,7 +10,7 @@ "guzzlehttp/guzzle": "^7.2", "laravel/framework": "^10.0", "lee-to/moonshine-algolia-search": "^1.0", - "moonshine/moonshine": "2.0.0.rc.2", + "moonshine/moonshine": "2.0.0.rc.3", "torchlight/torchlight-laravel": "^0.5.11" }, "require-dev": { diff --git a/composer.lock b/composer.lock index a661a11f..cb38d444 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "651b3d14094ebb5910628a865ba3d70c", + "content-hash": "f08da91cb5883791153592c263108281", "packages": [ { "name": "algolia/algoliasearch-client-php", @@ -2037,22 +2037,22 @@ }, { "name": "moonshine/moonshine", - "version": "2.0.0-rc.2", + "version": "2.0.0-rc.3", "source": { "type": "git", "url": "https://github.com/moonshine-software/moonshine.git", - "reference": "fd96c8db97b93faa4b29758ec619206f5e85ff48" + "reference": "746b69b5aad3d04d26464a62ce8d1d9fc2b72446" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/moonshine-software/moonshine/zipball/fd96c8db97b93faa4b29758ec619206f5e85ff48", - "reference": "fd96c8db97b93faa4b29758ec619206f5e85ff48", + "url": "https://api.github.com/repos/moonshine-software/moonshine/zipball/746b69b5aad3d04d26464a62ce8d1d9fc2b72446", + "reference": "746b69b5aad3d04d26464a62ce8d1d9fc2b72446", "shasum": "" }, "require": { "ext-curl": "*", "ext-json": "*", - "lee-to/laravel-package-command": "^0.9.1", + "lee-to/laravel-package-command": "^0.9", "php": "^8.1|^8.2", "rap2hpoutre/fast-excel": "^5.0" }, @@ -2062,11 +2062,11 @@ "require-dev": { "mockery/mockery": "^1.6", "nunomaduro/larastan": "^2.6", - "orchestra/testbench": "^8.9", - "pestphp/pest": "^2.16", - "pestphp/pest-plugin-laravel": "^2.0", + "orchestra/testbench": "^8.14", + "pestphp/pest": "^2.24.2", + "pestphp/pest-plugin-laravel": "^2.2", "pestphp/pest-plugin-mock": "^2.0", - "rector/rector": "^0.18.0" + "rector/rector": "^0.18" }, "suggest": { "laravel/socialite": "Required to use the Socialite", @@ -2100,7 +2100,7 @@ } ], "description": "Laravel administration panel", - "homepage": "https://moonshine.cutcode.dev", + "homepage": "https://moonshine-laravel.com", "keywords": [ "admin", "dashboard", @@ -2121,7 +2121,7 @@ "type": "open_collective" } ], - "time": "2023-11-03T09:06:52+00:00" + "time": "2023-11-10T14:34:52+00:00" }, { "name": "nesbot/carbon", diff --git a/public/vendor/moonshine/assets/app.js b/public/vendor/moonshine/assets/app.js index 5b3581f0..3897fbea 100644 --- a/public/vendor/moonshine/assets/app.js +++ b/public/vendor/moonshine/assets/app.js @@ -1,41 +1,43 @@ -function ap(e,n){return function(){return e.apply(n,arguments)}}const{toString:lp}=Object.prototype,{getPrototypeOf:Ku}=Object,qu=(e=>n=>{const r=lp.call(n);return e[r]||(e[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),wr=e=>(e=e.toLowerCase(),n=>qu(n)===e),ya=e=>n=>typeof n===e,{isArray:Vi}=Array,ko=ya("undefined");function w0(e){return e!==null&&!ko(e)&&e.constructor!==null&&!ko(e.constructor)&&Ur(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const up=wr("ArrayBuffer");function S0(e){let n;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?n=ArrayBuffer.isView(e):n=e&&e.buffer&&up(e.buffer),n}const A0=ya("string"),Ur=ya("function"),cp=ya("number"),Yu=e=>e!==null&&typeof e=="object",O0=e=>e===!0||e===!1,Gs=e=>{if(qu(e)!=="object")return!1;const n=Ku(e);return(n===null||n===Object.prototype||Object.getPrototypeOf(n)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},x0=wr("Date"),T0=wr("File"),C0=wr("Blob"),I0=wr("FileList"),L0=e=>Yu(e)&&Ur(e.pipe),P0=e=>{const n="[object FormData]";return e&&(typeof FormData=="function"&&e instanceof FormData||lp.call(e)===n||Ur(e.toString)&&e.toString()===n)},D0=wr("URLSearchParams"),M0=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function jo(e,n,{allOwnKeys:r=!1}={}){if(e===null||typeof e>"u")return;let o,a;if(typeof e!="object"&&(e=[e]),Vi(e))for(o=0,a=e.length;o0;)if(a=r[o],n===a.toLowerCase())return a;return null}const dp=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),hp=e=>!ko(e)&&e!==dp;function pu(){const{caseless:e}=hp(this)&&this||{},n={},r=(o,a)=>{const l=e&&fp(n,a)||a;Gs(n[l])&&Gs(o)?n[l]=pu(n[l],o):Gs(o)?n[l]=pu({},o):Vi(o)?n[l]=o.slice():n[l]=o};for(let o=0,a=arguments.length;o(jo(n,(a,l)=>{r&&Ur(a)?e[l]=ap(a,r):e[l]=a},{allOwnKeys:o}),e),N0=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),F0=(e,n,r,o)=>{e.prototype=Object.create(n.prototype,o),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:n.prototype}),r&&Object.assign(e.prototype,r)},k0=(e,n,r,o)=>{let a,l,c;const u={};if(n=n||{},e==null)return n;do{for(a=Object.getOwnPropertyNames(e),l=a.length;l-- >0;)c=a[l],(!o||o(c,e,n))&&!u[c]&&(n[c]=e[c],u[c]=!0);e=r!==!1&&Ku(e)}while(e&&(!r||r(e,n))&&e!==Object.prototype);return n},B0=(e,n,r)=>{e=String(e),(r===void 0||r>e.length)&&(r=e.length),r-=n.length;const o=e.indexOf(n,r);return o!==-1&&o===r},$0=e=>{if(!e)return null;if(Vi(e))return e;let n=e.length;if(!cp(n))return null;const r=new Array(n);for(;n-- >0;)r[n]=e[n];return r},H0=(e=>n=>e&&n instanceof e)(typeof Uint8Array<"u"&&Ku(Uint8Array)),j0=(e,n)=>{const o=(e&&e[Symbol.iterator]).call(e);let a;for(;(a=o.next())&&!a.done;){const l=a.value;n.call(e,l[0],l[1])}},U0=(e,n)=>{let r;const o=[];for(;(r=e.exec(n))!==null;)o.push(r);return o},W0=wr("HTMLFormElement"),K0=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(r,o,a){return o.toUpperCase()+a}),nh=(({hasOwnProperty:e})=>(n,r)=>e.call(n,r))(Object.prototype),q0=wr("RegExp"),pp=(e,n)=>{const r=Object.getOwnPropertyDescriptors(e),o={};jo(r,(a,l)=>{n(a,l,e)!==!1&&(o[l]=a)}),Object.defineProperties(e,o)},Y0=e=>{pp(e,(n,r)=>{if(Ur(e)&&["arguments","caller","callee"].indexOf(r)!==-1)return!1;const o=e[r];if(Ur(o)){if(n.enumerable=!1,"writable"in n){n.writable=!1;return}n.set||(n.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},z0=(e,n)=>{const r={},o=a=>{a.forEach(l=>{r[l]=!0})};return Vi(e)?o(e):o(String(e).split(n)),r},V0=()=>{},G0=(e,n)=>(e=+e,Number.isFinite(e)?e:n),ql="abcdefghijklmnopqrstuvwxyz",rh="0123456789",gp={DIGIT:rh,ALPHA:ql,ALPHA_DIGIT:ql+ql.toUpperCase()+rh},X0=(e=16,n=gp.ALPHA_DIGIT)=>{let r="";const{length:o}=n;for(;e--;)r+=n[Math.random()*o|0];return r};function J0(e){return!!(e&&Ur(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const Z0=e=>{const n=new Array(10),r=(o,a)=>{if(Yu(o)){if(n.indexOf(o)>=0)return;if(!("toJSON"in o)){n[a]=o;const l=Vi(o)?[]:{};return jo(o,(c,u)=>{const f=r(c,a+1);!ko(f)&&(l[u]=f)}),n[a]=void 0,l}}return o};return r(e,0)},G={isArray:Vi,isArrayBuffer:up,isBuffer:w0,isFormData:P0,isArrayBufferView:S0,isString:A0,isNumber:cp,isBoolean:O0,isObject:Yu,isPlainObject:Gs,isUndefined:ko,isDate:x0,isFile:T0,isBlob:C0,isRegExp:q0,isFunction:Ur,isStream:L0,isURLSearchParams:D0,isTypedArray:H0,isFileList:I0,forEach:jo,merge:pu,extend:R0,trim:M0,stripBOM:N0,inherits:F0,toFlatObject:k0,kindOf:qu,kindOfTest:wr,endsWith:B0,toArray:$0,forEachEntry:j0,matchAll:U0,isHTMLForm:W0,hasOwnProperty:nh,hasOwnProp:nh,reduceDescriptors:pp,freezeMethods:Y0,toObjectSet:z0,toCamelCase:K0,noop:V0,toFiniteNumber:G0,findKey:fp,global:dp,isContextDefined:hp,ALPHABET:gp,generateString:X0,isSpecCompliantForm:J0,toJSONObject:Z0};function ze(e,n,r,o,a){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",n&&(this.code=n),r&&(this.config=r),o&&(this.request=o),a&&(this.response=a)}G.inherits(ze,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:G.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const mp=ze.prototype,vp={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{vp[e]={value:e}});Object.defineProperties(ze,vp);Object.defineProperty(mp,"isAxiosError",{value:!0});ze.from=(e,n,r,o,a,l)=>{const c=Object.create(mp);return G.toFlatObject(e,c,function(f){return f!==Error.prototype},u=>u!=="isAxiosError"),ze.call(c,e.message,n,r,o,a),c.cause=e,c.name=e.name,l&&Object.assign(c,l),c};const Q0=null;function gu(e){return G.isPlainObject(e)||G.isArray(e)}function _p(e){return G.endsWith(e,"[]")?e.slice(0,-2):e}function ih(e,n,r){return e?e.concat(n).map(function(a,l){return a=_p(a),!r&&l?"["+a+"]":a}).join(r?".":""):n}function eS(e){return G.isArray(e)&&!e.some(gu)}const tS=G.toFlatObject(G,{},null,function(n){return/^is[A-Z]/.test(n)});function ba(e,n,r){if(!G.isObject(e))throw new TypeError("target must be an object");n=n||new FormData,r=G.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(A,C){return!G.isUndefined(C[A])});const o=r.metaTokens,a=r.visitor||p,l=r.dots,c=r.indexes,f=(r.Blob||typeof Blob<"u"&&Blob)&&G.isSpecCompliantForm(n);if(!G.isFunction(a))throw new TypeError("visitor must be a function");function h(b){if(b===null)return"";if(G.isDate(b))return b.toISOString();if(!f&&G.isBlob(b))throw new ze("Blob is not supported. Use a Buffer instead.");return G.isArrayBuffer(b)||G.isTypedArray(b)?f&&typeof Blob=="function"?new Blob([b]):Buffer.from(b):b}function p(b,A,C){let R=b;if(b&&!C&&typeof b=="object"){if(G.endsWith(A,"{}"))A=o?A:A.slice(0,-2),b=JSON.stringify(b);else if(G.isArray(b)&&eS(b)||(G.isFileList(b)||G.endsWith(A,"[]"))&&(R=G.toArray(b)))return A=_p(A),R.forEach(function(H,x){!(G.isUndefined(H)||H===null)&&n.append(c===!0?ih([A],x,l):c===null?A:A+"[]",h(H))}),!1}return gu(b)?!0:(n.append(ih(C,A,l),h(b)),!1)}const g=[],_=Object.assign(tS,{defaultVisitor:p,convertValue:h,isVisitable:gu});function y(b,A){if(!G.isUndefined(b)){if(g.indexOf(b)!==-1)throw Error("Circular reference detected in "+A.join("."));g.push(b),G.forEach(b,function(R,P){(!(G.isUndefined(R)||R===null)&&a.call(n,R,G.isString(P)?P.trim():P,A,_))===!0&&y(R,A?A.concat(P):[P])}),g.pop()}}if(!G.isObject(e))throw new TypeError("data must be an object");return y(e),n}function oh(e){const n={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(o){return n[o]})}function zu(e,n){this._pairs=[],e&&ba(e,this,n)}const yp=zu.prototype;yp.append=function(n,r){this._pairs.push([n,r])};yp.toString=function(n){const r=n?function(o){return n.call(this,o,oh)}:oh;return this._pairs.map(function(a){return r(a[0])+"="+r(a[1])},"").join("&")};function nS(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function bp(e,n,r){if(!n)return e;const o=r&&r.encode||nS,a=r&&r.serialize;let l;if(a?l=a(n,r):l=G.isURLSearchParams(n)?n.toString():new zu(n,r).toString(o),l){const c=e.indexOf("#");c!==-1&&(e=e.slice(0,c)),e+=(e.indexOf("?")===-1?"?":"&")+l}return e}class rS{constructor(){this.handlers=[]}use(n,r,o){return this.handlers.push({fulfilled:n,rejected:r,synchronous:o?o.synchronous:!1,runWhen:o?o.runWhen:null}),this.handlers.length-1}eject(n){this.handlers[n]&&(this.handlers[n]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(n){G.forEach(this.handlers,function(o){o!==null&&n(o)})}}const sh=rS,Ep={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},iS=typeof URLSearchParams<"u"?URLSearchParams:zu,oS=typeof FormData<"u"?FormData:null,sS=typeof Blob<"u"?Blob:null,aS=(()=>{let e;return typeof navigator<"u"&&((e=navigator.product)==="ReactNative"||e==="NativeScript"||e==="NS")?!1:typeof window<"u"&&typeof document<"u"})(),lS=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),zn={isBrowser:!0,classes:{URLSearchParams:iS,FormData:oS,Blob:sS},isStandardBrowserEnv:aS,isStandardBrowserWebWorkerEnv:lS,protocols:["http","https","file","blob","url","data"]};function uS(e,n){return ba(e,new zn.classes.URLSearchParams,Object.assign({visitor:function(r,o,a,l){return zn.isNode&&G.isBuffer(r)?(this.append(o,r.toString("base64")),!1):l.defaultVisitor.apply(this,arguments)}},n))}function cS(e){return G.matchAll(/\w+|\[(\w*)]/g,e).map(n=>n[0]==="[]"?"":n[1]||n[0])}function fS(e){const n={},r=Object.keys(e);let o;const a=r.length;let l;for(o=0;o=r.length;return c=!c&&G.isArray(a)?a.length:c,f?(G.hasOwnProp(a,c)?a[c]=[a[c],o]:a[c]=o,!u):((!a[c]||!G.isObject(a[c]))&&(a[c]=[]),n(r,o,a[c],l)&&G.isArray(a[c])&&(a[c]=fS(a[c])),!u)}if(G.isFormData(e)&&G.isFunction(e.entries)){const r={};return G.forEachEntry(e,(o,a)=>{n(cS(o),a,r,0)}),r}return null}const dS={"Content-Type":void 0};function hS(e,n,r){if(G.isString(e))try{return(n||JSON.parse)(e),G.trim(e)}catch(o){if(o.name!=="SyntaxError")throw o}return(r||JSON.stringify)(e)}const Ea={transitional:Ep,adapter:["xhr","http"],transformRequest:[function(n,r){const o=r.getContentType()||"",a=o.indexOf("application/json")>-1,l=G.isObject(n);if(l&&G.isHTMLForm(n)&&(n=new FormData(n)),G.isFormData(n))return a&&a?JSON.stringify(wp(n)):n;if(G.isArrayBuffer(n)||G.isBuffer(n)||G.isStream(n)||G.isFile(n)||G.isBlob(n))return n;if(G.isArrayBufferView(n))return n.buffer;if(G.isURLSearchParams(n))return r.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),n.toString();let u;if(l){if(o.indexOf("application/x-www-form-urlencoded")>-1)return uS(n,this.formSerializer).toString();if((u=G.isFileList(n))||o.indexOf("multipart/form-data")>-1){const f=this.env&&this.env.FormData;return ba(u?{"files[]":n}:n,f&&new f,this.formSerializer)}}return l||a?(r.setContentType("application/json",!1),hS(n)):n}],transformResponse:[function(n){const r=this.transitional||Ea.transitional,o=r&&r.forcedJSONParsing,a=this.responseType==="json";if(n&&G.isString(n)&&(o&&!this.responseType||a)){const c=!(r&&r.silentJSONParsing)&&a;try{return JSON.parse(n)}catch(u){if(c)throw u.name==="SyntaxError"?ze.from(u,ze.ERR_BAD_RESPONSE,this,null,this.response):u}}return n}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:zn.classes.FormData,Blob:zn.classes.Blob},validateStatus:function(n){return n>=200&&n<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};G.forEach(["delete","get","head"],function(n){Ea.headers[n]={}});G.forEach(["post","put","patch"],function(n){Ea.headers[n]=G.merge(dS)});const Vu=Ea,pS=G.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"]),gS=e=>{const n={};let r,o,a;return e&&e.split(` -`).forEach(function(c){a=c.indexOf(":"),r=c.substring(0,a).trim().toLowerCase(),o=c.substring(a+1).trim(),!(!r||n[r]&&pS[r])&&(r==="set-cookie"?n[r]?n[r].push(o):n[r]=[o]:n[r]=n[r]?n[r]+", "+o:o)}),n},ah=Symbol("internals");function mo(e){return e&&String(e).trim().toLowerCase()}function Xs(e){return e===!1||e==null?e:G.isArray(e)?e.map(Xs):String(e)}function mS(e){const n=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let o;for(;o=r.exec(e);)n[o[1]]=o[2];return n}function vS(e){return/^[-_a-zA-Z]+$/.test(e.trim())}function Yl(e,n,r,o,a){if(G.isFunction(o))return o.call(this,n,r);if(a&&(n=r),!!G.isString(n)){if(G.isString(o))return n.indexOf(o)!==-1;if(G.isRegExp(o))return o.test(n)}}function _S(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(n,r,o)=>r.toUpperCase()+o)}function yS(e,n){const r=G.toCamelCase(" "+n);["get","set","has"].forEach(o=>{Object.defineProperty(e,o+r,{value:function(a,l,c){return this[o].call(this,n,a,l,c)},configurable:!0})})}class wa{constructor(n){n&&this.set(n)}set(n,r,o){const a=this;function l(u,f,h){const p=mo(f);if(!p)throw new Error("header name must be a non-empty string");const g=G.findKey(a,p);(!g||a[g]===void 0||h===!0||h===void 0&&a[g]!==!1)&&(a[g||f]=Xs(u))}const c=(u,f)=>G.forEach(u,(h,p)=>l(h,p,f));return G.isPlainObject(n)||n instanceof this.constructor?c(n,r):G.isString(n)&&(n=n.trim())&&!vS(n)?c(gS(n),r):n!=null&&l(r,n,o),this}get(n,r){if(n=mo(n),n){const o=G.findKey(this,n);if(o){const a=this[o];if(!r)return a;if(r===!0)return mS(a);if(G.isFunction(r))return r.call(this,a,o);if(G.isRegExp(r))return r.exec(a);throw new TypeError("parser must be boolean|regexp|function")}}}has(n,r){if(n=mo(n),n){const o=G.findKey(this,n);return!!(o&&this[o]!==void 0&&(!r||Yl(this,this[o],o,r)))}return!1}delete(n,r){const o=this;let a=!1;function l(c){if(c=mo(c),c){const u=G.findKey(o,c);u&&(!r||Yl(o,o[u],u,r))&&(delete o[u],a=!0)}}return G.isArray(n)?n.forEach(l):l(n),a}clear(n){const r=Object.keys(this);let o=r.length,a=!1;for(;o--;){const l=r[o];(!n||Yl(this,this[l],l,n,!0))&&(delete this[l],a=!0)}return a}normalize(n){const r=this,o={};return G.forEach(this,(a,l)=>{const c=G.findKey(o,l);if(c){r[c]=Xs(a),delete r[l];return}const u=n?_S(l):String(l).trim();u!==l&&delete r[l],r[u]=Xs(a),o[u]=!0}),this}concat(...n){return this.constructor.concat(this,...n)}toJSON(n){const r=Object.create(null);return G.forEach(this,(o,a)=>{o!=null&&o!==!1&&(r[a]=n&&G.isArray(o)?o.join(", "):o)}),r}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([n,r])=>n+": "+r).join(` -`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(n){return n instanceof this?n:new this(n)}static concat(n,...r){const o=new this(n);return r.forEach(a=>o.set(a)),o}static accessor(n){const o=(this[ah]=this[ah]={accessors:{}}).accessors,a=this.prototype;function l(c){const u=mo(c);o[u]||(yS(a,c),o[u]=!0)}return G.isArray(n)?n.forEach(l):l(n),this}}wa.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);G.freezeMethods(wa.prototype);G.freezeMethods(wa);const mr=wa;function zl(e,n){const r=this||Vu,o=n||r,a=mr.from(o.headers);let l=o.data;return G.forEach(e,function(u){l=u.call(r,l,a.normalize(),n?n.status:void 0)}),a.normalize(),l}function Sp(e){return!!(e&&e.__CANCEL__)}function Uo(e,n,r){ze.call(this,e??"canceled",ze.ERR_CANCELED,n,r),this.name="CanceledError"}G.inherits(Uo,ze,{__CANCEL__:!0});function bS(e,n,r){const o=r.config.validateStatus;!r.status||!o||o(r.status)?e(r):n(new ze("Request failed with status code "+r.status,[ze.ERR_BAD_REQUEST,ze.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}const ES=zn.isStandardBrowserEnv?function(){return{write:function(r,o,a,l,c,u){const f=[];f.push(r+"="+encodeURIComponent(o)),G.isNumber(a)&&f.push("expires="+new Date(a).toGMTString()),G.isString(l)&&f.push("path="+l),G.isString(c)&&f.push("domain="+c),u===!0&&f.push("secure"),document.cookie=f.join("; ")},read:function(r){const o=document.cookie.match(new RegExp("(^|;\\s*)("+r+")=([^;]*)"));return o?decodeURIComponent(o[3]):null},remove:function(r){this.write(r,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}();function wS(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function SS(e,n){return n?e.replace(/\/+$/,"")+"/"+n.replace(/^\/+/,""):e}function Ap(e,n){return e&&!wS(n)?SS(e,n):n}const AS=zn.isStandardBrowserEnv?function(){const n=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");let o;function a(l){let c=l;return n&&(r.setAttribute("href",c),c=r.href),r.setAttribute("href",c),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:r.pathname.charAt(0)==="/"?r.pathname:"/"+r.pathname}}return o=a(window.location.href),function(c){const u=G.isString(c)?a(c):c;return u.protocol===o.protocol&&u.host===o.host}}():function(){return function(){return!0}}();function OS(e){const n=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return n&&n[1]||""}function xS(e,n){e=e||10;const r=new Array(e),o=new Array(e);let a=0,l=0,c;return n=n!==void 0?n:1e3,function(f){const h=Date.now(),p=o[l];c||(c=h),r[a]=f,o[a]=h;let g=l,_=0;for(;g!==a;)_+=r[g++],g=g%e;if(a=(a+1)%e,a===l&&(l=(l+1)%e),h-c{const l=a.loaded,c=a.lengthComputable?a.total:void 0,u=l-r,f=o(u),h=l<=c;r=l;const p={loaded:l,total:c,progress:c?l/c:void 0,bytes:u,rate:f||void 0,estimated:f&&c&&h?(c-l)/f:void 0,event:a};p[n?"download":"upload"]=!0,e(p)}}const TS=typeof XMLHttpRequest<"u",CS=TS&&function(e){return new Promise(function(r,o){let a=e.data;const l=mr.from(e.headers).normalize(),c=e.responseType;let u;function f(){e.cancelToken&&e.cancelToken.unsubscribe(u),e.signal&&e.signal.removeEventListener("abort",u)}G.isFormData(a)&&(zn.isStandardBrowserEnv||zn.isStandardBrowserWebWorkerEnv)&&l.setContentType(!1);let h=new XMLHttpRequest;if(e.auth){const y=e.auth.username||"",b=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";l.set("Authorization","Basic "+btoa(y+":"+b))}const p=Ap(e.baseURL,e.url);h.open(e.method.toUpperCase(),bp(p,e.params,e.paramsSerializer),!0),h.timeout=e.timeout;function g(){if(!h)return;const y=mr.from("getAllResponseHeaders"in h&&h.getAllResponseHeaders()),A={data:!c||c==="text"||c==="json"?h.responseText:h.response,status:h.status,statusText:h.statusText,headers:y,config:e,request:h};bS(function(R){r(R),f()},function(R){o(R),f()},A),h=null}if("onloadend"in h?h.onloadend=g:h.onreadystatechange=function(){!h||h.readyState!==4||h.status===0&&!(h.responseURL&&h.responseURL.indexOf("file:")===0)||setTimeout(g)},h.onabort=function(){h&&(o(new ze("Request aborted",ze.ECONNABORTED,e,h)),h=null)},h.onerror=function(){o(new ze("Network Error",ze.ERR_NETWORK,e,h)),h=null},h.ontimeout=function(){let b=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const A=e.transitional||Ep;e.timeoutErrorMessage&&(b=e.timeoutErrorMessage),o(new ze(b,A.clarifyTimeoutError?ze.ETIMEDOUT:ze.ECONNABORTED,e,h)),h=null},zn.isStandardBrowserEnv){const y=(e.withCredentials||AS(p))&&e.xsrfCookieName&&ES.read(e.xsrfCookieName);y&&l.set(e.xsrfHeaderName,y)}a===void 0&&l.setContentType(null),"setRequestHeader"in h&&G.forEach(l.toJSON(),function(b,A){h.setRequestHeader(A,b)}),G.isUndefined(e.withCredentials)||(h.withCredentials=!!e.withCredentials),c&&c!=="json"&&(h.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&h.addEventListener("progress",lh(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&h.upload&&h.upload.addEventListener("progress",lh(e.onUploadProgress)),(e.cancelToken||e.signal)&&(u=y=>{h&&(o(!y||y.type?new Uo(null,e,h):y),h.abort(),h=null)},e.cancelToken&&e.cancelToken.subscribe(u),e.signal&&(e.signal.aborted?u():e.signal.addEventListener("abort",u)));const _=OS(p);if(_&&zn.protocols.indexOf(_)===-1){o(new ze("Unsupported protocol "+_+":",ze.ERR_BAD_REQUEST,e));return}h.send(a||null)})},Js={http:Q0,xhr:CS};G.forEach(Js,(e,n)=>{if(e){try{Object.defineProperty(e,"name",{value:n})}catch{}Object.defineProperty(e,"adapterName",{value:n})}});const IS={getAdapter:e=>{e=G.isArray(e)?e:[e];const{length:n}=e;let r,o;for(let a=0;ae instanceof mr?e.toJSON():e;function Hi(e,n){n=n||{};const r={};function o(h,p,g){return G.isPlainObject(h)&&G.isPlainObject(p)?G.merge.call({caseless:g},h,p):G.isPlainObject(p)?G.merge({},p):G.isArray(p)?p.slice():p}function a(h,p,g){if(G.isUndefined(p)){if(!G.isUndefined(h))return o(void 0,h,g)}else return o(h,p,g)}function l(h,p){if(!G.isUndefined(p))return o(void 0,p)}function c(h,p){if(G.isUndefined(p)){if(!G.isUndefined(h))return o(void 0,h)}else return o(void 0,p)}function u(h,p,g){if(g in n)return o(h,p);if(g in e)return o(void 0,h)}const f={url:l,method:l,data:l,baseURL:c,transformRequest:c,transformResponse:c,paramsSerializer:c,timeout:c,timeoutMessage:c,withCredentials:c,adapter:c,responseType:c,xsrfCookieName:c,xsrfHeaderName:c,onUploadProgress:c,onDownloadProgress:c,decompress:c,maxContentLength:c,maxBodyLength:c,beforeRedirect:c,transport:c,httpAgent:c,httpsAgent:c,cancelToken:c,socketPath:c,responseEncoding:c,validateStatus:u,headers:(h,p)=>a(ch(h),ch(p),!0)};return G.forEach(Object.keys(e).concat(Object.keys(n)),function(p){const g=f[p]||a,_=g(e[p],n[p],p);G.isUndefined(_)&&g!==u||(r[p]=_)}),r}const Op="1.3.4",Gu={};["object","boolean","number","function","string","symbol"].forEach((e,n)=>{Gu[e]=function(o){return typeof o===e||"a"+(n<1?"n ":" ")+e}});const fh={};Gu.transitional=function(n,r,o){function a(l,c){return"[Axios v"+Op+"] Transitional option '"+l+"'"+c+(o?". "+o:"")}return(l,c,u)=>{if(n===!1)throw new ze(a(c," has been removed"+(r?" in "+r:"")),ze.ERR_DEPRECATED);return r&&!fh[c]&&(fh[c]=!0,console.warn(a(c," has been deprecated since v"+r+" and will be removed in the near future"))),n?n(l,c,u):!0}};function LS(e,n,r){if(typeof e!="object")throw new ze("options must be an object",ze.ERR_BAD_OPTION_VALUE);const o=Object.keys(e);let a=o.length;for(;a-- >0;){const l=o[a],c=n[l];if(c){const u=e[l],f=u===void 0||c(u,l,e);if(f!==!0)throw new ze("option "+l+" must be "+f,ze.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new ze("Unknown option "+l,ze.ERR_BAD_OPTION)}}const mu={assertOptions:LS,validators:Gu},kr=mu.validators;class sa{constructor(n){this.defaults=n,this.interceptors={request:new sh,response:new sh}}request(n,r){typeof n=="string"?(r=r||{},r.url=n):r=n||{},r=Hi(this.defaults,r);const{transitional:o,paramsSerializer:a,headers:l}=r;o!==void 0&&mu.assertOptions(o,{silentJSONParsing:kr.transitional(kr.boolean),forcedJSONParsing:kr.transitional(kr.boolean),clarifyTimeoutError:kr.transitional(kr.boolean)},!1),a!==void 0&&mu.assertOptions(a,{encode:kr.function,serialize:kr.function},!0),r.method=(r.method||this.defaults.method||"get").toLowerCase();let c;c=l&&G.merge(l.common,l[r.method]),c&&G.forEach(["delete","get","head","post","put","patch","common"],b=>{delete l[b]}),r.headers=mr.concat(c,l);const u=[];let f=!0;this.interceptors.request.forEach(function(A){typeof A.runWhen=="function"&&A.runWhen(r)===!1||(f=f&&A.synchronous,u.unshift(A.fulfilled,A.rejected))});const h=[];this.interceptors.response.forEach(function(A){h.push(A.fulfilled,A.rejected)});let p,g=0,_;if(!f){const b=[uh.bind(this),void 0];for(b.unshift.apply(b,u),b.push.apply(b,h),_=b.length,p=Promise.resolve(r);g<_;)p=p.then(b[g++],b[g++]);return p}_=u.length;let y=r;for(g=0;g<_;){const b=u[g++],A=u[g++];try{y=b(y)}catch(C){A.call(this,C);break}}try{p=uh.call(this,y)}catch(b){return Promise.reject(b)}for(g=0,_=h.length;g<_;)p=p.then(h[g++],h[g++]);return p}getUri(n){n=Hi(this.defaults,n);const r=Ap(n.baseURL,n.url);return bp(r,n.params,n.paramsSerializer)}}G.forEach(["delete","get","head","options"],function(n){sa.prototype[n]=function(r,o){return this.request(Hi(o||{},{method:n,url:r,data:(o||{}).data}))}});G.forEach(["post","put","patch"],function(n){function r(o){return function(l,c,u){return this.request(Hi(u||{},{method:n,headers:o?{"Content-Type":"multipart/form-data"}:{},url:l,data:c}))}}sa.prototype[n]=r(),sa.prototype[n+"Form"]=r(!0)});const Zs=sa;class Xu{constructor(n){if(typeof n!="function")throw new TypeError("executor must be a function.");let r;this.promise=new Promise(function(l){r=l});const o=this;this.promise.then(a=>{if(!o._listeners)return;let l=o._listeners.length;for(;l-- >0;)o._listeners[l](a);o._listeners=null}),this.promise.then=a=>{let l;const c=new Promise(u=>{o.subscribe(u),l=u}).then(a);return c.cancel=function(){o.unsubscribe(l)},c},n(function(l,c,u){o.reason||(o.reason=new Uo(l,c,u),r(o.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(n){if(this.reason){n(this.reason);return}this._listeners?this._listeners.push(n):this._listeners=[n]}unsubscribe(n){if(!this._listeners)return;const r=this._listeners.indexOf(n);r!==-1&&this._listeners.splice(r,1)}static source(){let n;return{token:new Xu(function(a){n=a}),cancel:n}}}const PS=Xu;function DS(e){return function(r){return e.apply(null,r)}}function MS(e){return G.isObject(e)&&e.isAxiosError===!0}const vu={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(vu).forEach(([e,n])=>{vu[n]=e});const RS=vu;function xp(e){const n=new Zs(e),r=ap(Zs.prototype.request,n);return G.extend(r,Zs.prototype,n,{allOwnKeys:!0}),G.extend(r,n,null,{allOwnKeys:!0}),r.create=function(a){return xp(Hi(e,a))},r}const At=xp(Vu);At.Axios=Zs;At.CanceledError=Uo;At.CancelToken=PS;At.isCancel=Sp;At.VERSION=Op;At.toFormData=ba;At.AxiosError=ze;At.Cancel=At.CanceledError;At.all=function(n){return Promise.all(n)};At.spread=DS;At.isAxiosError=MS;At.mergeConfig=Hi;At.AxiosHeaders=mr;At.formToJSON=e=>wp(G.isHTMLForm(e)?new FormData(e):e);At.HttpStatusCode=RS;At.default=At;const NS=At;window.axios=NS;window.axios.defaults.headers.common["X-Requested-With"]="XMLHttpRequest";CSS.supports("selector(:has(*))")||document.addEventListener("DOMContentLoaded",()=>{const e=document.querySelector(".layout-wrapper");e&&e.querySelector(":scope > .layout-menu")&&e.classList.add("layout-wrapper--sidebar"),e&&e.querySelector(":scope > .layout-menu-horizontal")&&e.classList.add("layout-wrapper--top-menu")});var _u=!1,yu=!1,fi=[],bu=-1;function FS(e){kS(e)}function kS(e){fi.includes(e)||fi.push(e),BS()}function Tp(e){let n=fi.indexOf(e);n!==-1&&n>bu&&fi.splice(n,1)}function BS(){!yu&&!_u&&(_u=!0,queueMicrotask($S))}function $S(){_u=!1,yu=!0;for(let e=0;ee.effect(n,{scheduler:r=>{Eu?FS(r):r()}}),Cp=e.raw}function dh(e){Xi=e}function US(e){let n=()=>{};return[o=>{let a=Xi(o);return e._x_effects||(e._x_effects=new Set,e._x_runEffects=()=>{e._x_effects.forEach(l=>l())}),e._x_effects.add(a),n=()=>{a!==void 0&&(e._x_effects.delete(a),Wo(a))},a},()=>{n()}]}function xo(e,n,r={}){e.dispatchEvent(new CustomEvent(n,{detail:r,bubbles:!0,composed:!0,cancelable:!0}))}function Wr(e,n){if(typeof ShadowRoot=="function"&&e instanceof ShadowRoot){Array.from(e.children).forEach(a=>Wr(a,n));return}let r=!1;if(n(e,()=>r=!0),r)return;let o=e.firstElementChild;for(;o;)Wr(o,n),o=o.nextElementSibling}function _r(e,...n){console.warn(`Alpine Warning: ${e}`,...n)}var hh=!1;function WS(){hh&&_r("Alpine has already been initialized on this page. Calling Alpine.start() more than once can cause problems."),hh=!0,document.body||_r("Unable to initialize. Trying to load Alpine before `` is available. Did you forget to add `defer` in Alpine's `