pangea-lib 4.0.396 → 4.0.398
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/main.cjs.js +1 -1
- package/dist/main.es.js +2 -2
- package/package.json +1 -1
package/dist/main.cjs.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(D){return D instanceof this?D:new this(D)}static concat(D,...q){const X=new this(D);return q.forEach(J=>X.set(J)),X}static accessor(D){const q=(this[T2]=this[T2]={accessors:{}}).accessors,X=this.prototype;function J(n1){const a1=h2(n1);q[a1]||(function(z1,w1){const H1=A.toCamelCase(" "+w1);["get","set","has"].forEach(k1=>{Object.defineProperty(z1,k1+H1,{value:function(O1,P1,Z1){return this[k1].call(this,w1,O1,P1,Z1)},configurable:!0})})}(X,n1),q[a1]=!0)}return A.isArray(D)?D.forEach(J):J(D),this}}u1.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),A.reduceDescriptors(u1.prototype,({value:O},D)=>{let q=D[0].toUpperCase()+D.slice(1);return{get:()=>O,set(X){this[q]=X}}}),A.freezeMethods(u1);var o1=u1;function _1(O,D){const q=this||q1,X=D||q,J=o1.from(X.headers);let n1=X.data;return A.forEach(O,function(a1){n1=a1.call(q,n1,J.normalize(),D?D.status:void 0)}),J.normalize(),n1}function L1(O){return!(!O||!O.__CANCEL__)}function W1(O,D,q){B.call(this,O??"canceled",B.ERR_CANCELED,D,q),this.name="CanceledError"}A.inherits(W1,B,{__CANCEL__:!0});var g2=G1.hasStandardBrowserEnv?{write(O,D,q,X,J,n1){const a1=[O+"="+encodeURIComponent(D)];A.isNumber(q)&&a1.push("expires="+new Date(q).toGMTString()),A.isString(X)&&a1.push("path="+X),A.isString(J)&&a1.push("domain="+J),n1===!0&&a1.push("secure"),document.cookie=a1.join("; ")},read(O){const D=document.cookie.match(new RegExp("(^|;\\s*)("+O+")=([^;]*)"));return D?decodeURIComponent(D[3]):null},remove(O){this.write(O,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};function S2(O,D){return O&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(D)?function(q,X){return X?q.replace(/\/?\/$/,"")+"/"+X.replace(/^\/+/,""):q}(O,D):D}var B3=G1.hasStandardBrowserEnv?function(){const O=/(msie|trident)/i.test(navigator.userAgent),D=document.createElement("a");let q;function X(J){let n1=J;return O&&(D.setAttribute("href",n1),n1=D.href),D.setAttribute("href",n1),{href:D.href,protocol:D.protocol?D.protocol.replace(/:$/,""):"",host:D.host,search:D.search?D.search.replace(/^\?/,""):"",hash:D.hash?D.hash.replace(/^#/,""):"",hostname:D.hostname,port:D.port,pathname:D.pathname.charAt(0)==="/"?D.pathname:"/"+D.pathname}}return q=X(window.location.href),function(J){const n1=A.isString(J)?X(J):J;return n1.protocol===q.protocol&&n1.host===q.host}}():function(){return!0};function he(O,D){let q=0;const X=function(J,n1){J=J||10;const a1=new Array(J),z1=new Array(J);let w1,H1=0,k1=0;return n1=n1!==void 0?n1:1e3,function(O1){const P1=Date.now(),Z1=z1[k1];w1||(w1=P1),a1[H1]=O1,z1[H1]=P1;let I1=k1,J1=0;for(;I1!==H1;)J1+=a1[I1++],I1%=J;if(H1=(H1+1)%J,H1===k1&&(k1=(k1+1)%J),P1-w1<n1)return;const v2=Z1&&P1-Z1;return v2?Math.round(1e3*J1/v2):void 0}}(50,250);return J=>{const n1=J.loaded,a1=J.lengthComputable?J.total:void 0,z1=n1-q,w1=X(z1);q=n1;const H1={loaded:n1,total:a1,progress:a1?n1/a1:void 0,bytes:z1,rate:w1||void 0,estimated:w1&&a1&&n1<=a1?(a1-n1)/w1:void 0,event:J};H1[D?"download":"upload"]=!0,O(H1)}}const s2={http:null,xhr:typeof XMLHttpRequest<"u"&&function(O){return new Promise(function(D,q){let X=O.data;const J=o1.from(O.headers).normalize();let n1,a1,{responseType:z1,withXSRFToken:w1}=O;function H1(){O.cancelToken&&O.cancelToken.unsubscribe(n1),O.signal&&O.signal.removeEventListener("abort",n1)}if(A.isFormData(X)){if(G1.hasStandardBrowserEnv||G1.hasStandardBrowserWebWorkerEnv)J.setContentType(!1);else if((a1=J.getContentType())!==!1){const[I1,...J1]=a1?a1.split(";").map(v2=>v2.trim()).filter(Boolean):[];J.setContentType([I1||"multipart/form-data",...J1].join("; "))}}let k1=new XMLHttpRequest;if(O.auth){const I1=O.auth.username||"",J1=O.auth.password?unescape(encodeURIComponent(O.auth.password)):"";J.set("Authorization","Basic "+btoa(I1+":"+J1))}const O1=S2(O.baseURL,O.url);function P1(){if(!k1)return;const I1=o1.from("getAllResponseHeaders"in k1&&k1.getAllResponseHeaders());(function(J1,v2,X2){const Is=X2.config.validateStatus;X2.status&&Is&&!Is(X2.status)?v2(new B("Request failed with status code "+X2.status,[B.ERR_BAD_REQUEST,B.ERR_BAD_RESPONSE][Math.floor(X2.status/100)-4],X2.config,X2.request,X2)):J1(X2)})(function(J1){D(J1),H1()},function(J1){q(J1),H1()},{data:z1&&z1!=="text"&&z1!=="json"?k1.response:k1.responseText,status:k1.status,statusText:k1.statusText,headers:I1,config:O,request:k1}),k1=null}if(k1.open(O.method.toUpperCase(),p1(O1,O.params,O.paramsSerializer),!0),k1.timeout=O.timeout,"onloadend"in k1?k1.onloadend=P1:k1.onreadystatechange=function(){k1&&k1.readyState===4&&(k1.status!==0||k1.responseURL&&k1.responseURL.indexOf("file:")===0)&&setTimeout(P1)},k1.onabort=function(){k1&&(q(new B("Request aborted",B.ECONNABORTED,O,k1)),k1=null)},k1.onerror=function(){q(new B("Network Error",B.ERR_NETWORK,O,k1)),k1=null},k1.ontimeout=function(){let I1=O.timeout?"timeout of "+O.timeout+"ms exceeded":"timeout exceeded";const J1=O.transitional||v1;O.timeoutErrorMessage&&(I1=O.timeoutErrorMessage),q(new B(I1,J1.clarifyTimeoutError?B.ETIMEDOUT:B.ECONNABORTED,O,k1)),k1=null},G1.hasStandardBrowserEnv&&(w1&&A.isFunction(w1)&&(w1=w1(O)),w1||w1!==!1&&B3(O1))){const I1=O.xsrfHeaderName&&O.xsrfCookieName&&g2.read(O.xsrfCookieName);I1&&J.set(O.xsrfHeaderName,I1)}X===void 0&&J.setContentType(null),"setRequestHeader"in k1&&A.forEach(J.toJSON(),function(I1,J1){k1.setRequestHeader(J1,I1)}),A.isUndefined(O.withCredentials)||(k1.withCredentials=!!O.withCredentials),z1&&z1!=="json"&&(k1.responseType=O.responseType),typeof O.onDownloadProgress=="function"&&k1.addEventListener("progress",he(O.onDownloadProgress,!0)),typeof O.onUploadProgress=="function"&&k1.upload&&k1.upload.addEventListener("progress",he(O.onUploadProgress)),(O.cancelToken||O.signal)&&(n1=I1=>{k1&&(q(!I1||I1.type?new W1(null,O,k1):I1),k1.abort(),k1=null)},O.cancelToken&&O.cancelToken.subscribe(n1),O.signal&&(O.signal.aborted?n1():O.signal.addEventListener("abort",n1)));const Z1=function(I1){const J1=/^([-+\w]{1,25})(:?\/\/|:)/.exec(I1);return J1&&J1[1]||""}(O1);Z1&&G1.protocols.indexOf(Z1)===-1?q(new B("Unsupported protocol "+Z1+":",B.ERR_BAD_REQUEST,O)):k1.send(X||null)})}};A.forEach(s2,(O,D)=>{if(O){try{Object.defineProperty(O,"name",{value:D})}catch{}Object.defineProperty(O,"adapterName",{value:D})}});const L2=O=>`- ${O}`,Qe=O=>A.isFunction(O)||O===null||O===!1;var Je=O=>{O=A.isArray(O)?O:[O];const{length:D}=O;let q,X;const J={};for(let n1=0;n1<D;n1++){let a1;if(q=O[n1],X=q,!Qe(q)&&(X=s2[(a1=String(q)).toLowerCase()],X===void 0))throw new B(`Unknown adapter '${a1}'`);if(X)break;J[a1||"#"+n1]=X}if(!X){const n1=Object.entries(J).map(([a1,z1])=>`adapter ${a1} `+(z1===!1?"is not supported by the environment":"is not available in the build"));throw new B("There is no suitable adapter to dispatch the request "+(D?n1.length>1?`since :
|
|
4
4
|
`+n1.map(L2).join(`
|
|
5
5
|
`):" "+L2(n1[0]):"as no adapter specified"),"ERR_NOT_SUPPORT")}return X};function e4(O){if(O.cancelToken&&O.cancelToken.throwIfRequested(),O.signal&&O.signal.aborted)throw new W1(null,O)}function Z4(O){return e4(O),O.headers=o1.from(O.headers),O.data=_1.call(O,O.transformRequest),["post","put","patch"].indexOf(O.method)!==-1&&O.headers.setContentType("application/x-www-form-urlencoded",!1),Je(O.adapter||q1.adapter)(O).then(function(D){return e4(O),D.data=_1.call(O,O.transformResponse,D),D.headers=o1.from(D.headers),D},function(D){return L1(D)||(e4(O),D&&D.response&&(D.response.data=_1.call(O,O.transformResponse,D.response),D.response.headers=o1.from(D.response.headers))),Promise.reject(D)})}const X4=O=>O instanceof o1?{...O}:O;function pe(O,D){D=D||{};const q={};function X(H1,k1,O1){return A.isPlainObject(H1)&&A.isPlainObject(k1)?A.merge.call({caseless:O1},H1,k1):A.isPlainObject(k1)?A.merge({},k1):A.isArray(k1)?k1.slice():k1}function J(H1,k1,O1){return A.isUndefined(k1)?A.isUndefined(H1)?void 0:X(void 0,H1,O1):X(H1,k1,O1)}function n1(H1,k1){if(!A.isUndefined(k1))return X(void 0,k1)}function a1(H1,k1){return A.isUndefined(k1)?A.isUndefined(H1)?void 0:X(void 0,H1):X(void 0,k1)}function z1(H1,k1,O1){return O1 in D?X(H1,k1):O1 in O?X(void 0,H1):void 0}const w1={url:n1,method:n1,data:n1,baseURL:a1,transformRequest:a1,transformResponse:a1,paramsSerializer:a1,timeout:a1,timeoutMessage:a1,withCredentials:a1,withXSRFToken:a1,adapter:a1,responseType:a1,xsrfCookieName:a1,xsrfHeaderName:a1,onUploadProgress:a1,onDownloadProgress:a1,decompress:a1,maxContentLength:a1,maxBodyLength:a1,beforeRedirect:a1,transport:a1,httpAgent:a1,httpsAgent:a1,cancelToken:a1,socketPath:a1,responseEncoding:a1,validateStatus:z1,headers:(H1,k1)=>J(X4(H1),X4(k1),!0)};return A.forEach(Object.keys(Object.assign({},O,D)),function(H1){const k1=w1[H1]||J,O1=k1(O[H1],D[H1],H1);A.isUndefined(O1)&&k1!==z1||(q[H1]=O1)}),q}const p3={};["object","boolean","number","function","string","symbol"].forEach((O,D)=>{p3[O]=function(q){return typeof q===O||"a"+(D<1?"n ":" ")+O}});const t4={};p3.transitional=function(O,D,q){function X(J,n1){return"[Axios v1.6.8] Transitional option '"+J+"'"+n1+(q?". "+q:"")}return(J,n1,a1)=>{if(O===!1)throw new B(X(n1," has been removed"+(D?" in "+D:"")),B.ERR_DEPRECATED);return D&&!t4[n1]&&(t4[n1]=!0,console.warn(X(n1," has been deprecated since v"+D+" and will be removed in the near future"))),!O||O(J,n1,a1)}};var _4={assertOptions:function(O,D,q){if(typeof O!="object")throw new B("options must be an object",B.ERR_BAD_OPTION_VALUE);const X=Object.keys(O);let J=X.length;for(;J-- >0;){const n1=X[J],a1=D[n1];if(a1){const z1=O[n1],w1=z1===void 0||a1(z1,n1,O);if(w1!==!0)throw new B("option "+n1+" must be "+w1,B.ERR_BAD_OPTION_VALUE)}else if(q!==!0)throw new B("Unknown option "+n1,B.ERR_BAD_OPTION)}},validators:p3};const r1=_4.validators;class y1{constructor(D){this.defaults=D,this.interceptors={request:new b1,response:new b1}}async request(D,q){try{return await this._request(D,q)}catch(X){if(X instanceof Error){let J;Error.captureStackTrace?Error.captureStackTrace(J={}):J=new Error;const n1=J.stack?J.stack.replace(/^.+\n/,""):"";X.stack?n1&&!String(X.stack).endsWith(n1.replace(/^.+\n.+\n/,""))&&(X.stack+=`
|
|
6
|
-
`+n1):X.stack=n1}throw X}}_request(D,q){typeof D=="string"?(q=q||{}).url=D:q=D||{},q=pe(this.defaults,q);const{transitional:X,paramsSerializer:J,headers:n1}=q;X!==void 0&&_4.assertOptions(X,{silentJSONParsing:r1.transitional(r1.boolean),forcedJSONParsing:r1.transitional(r1.boolean),clarifyTimeoutError:r1.transitional(r1.boolean)},!1),J!=null&&(A.isFunction(J)?q.paramsSerializer={serialize:J}:_4.assertOptions(J,{encode:r1.function,serialize:r1.function},!0)),q.method=(q.method||this.defaults.method||"get").toLowerCase();let a1=n1&&A.merge(n1.common,n1[q.method]);n1&&A.forEach(["delete","get","head","post","put","patch","common"],I1=>{delete n1[I1]}),q.headers=o1.concat(a1,n1);const z1=[];let w1=!0;this.interceptors.request.forEach(function(I1){typeof I1.runWhen=="function"&&I1.runWhen(q)===!1||(w1=w1&&I1.synchronous,z1.unshift(I1.fulfilled,I1.rejected))});const H1=[];let k1;this.interceptors.response.forEach(function(I1){H1.push(I1.fulfilled,I1.rejected)});let O1,P1=0;if(!w1){const I1=[Z4.bind(this),void 0];for(I1.unshift.apply(I1,z1),I1.push.apply(I1,H1),O1=I1.length,k1=Promise.resolve(q);P1<O1;)k1=k1.then(I1[P1++],I1[P1++]);return k1}O1=z1.length;let Z1=q;for(P1=0;P1<O1;){const I1=z1[P1++],J1=z1[P1++];try{Z1=I1(Z1)}catch(v2){J1.call(this,v2);break}}try{k1=Z4.call(this,Z1)}catch(I1){return Promise.reject(I1)}for(P1=0,O1=H1.length;P1<O1;)k1=k1.then(H1[P1++],H1[P1++]);return k1}getUri(D){return p1(S2((D=pe(this.defaults,D)).baseURL,D.url),D.params,D.paramsSerializer)}}A.forEach(["delete","get","head","options"],function(O){y1.prototype[O]=function(D,q){return this.request(pe(q||{},{method:O,url:D,data:(q||{}).data}))}}),A.forEach(["post","put","patch"],function(O){function D(q){return function(X,J,n1){return this.request(pe(n1||{},{method:O,headers:q?{"Content-Type":"multipart/form-data"}:{},url:X,data:J}))}}y1.prototype[O]=D(),y1.prototype[O+"Form"]=D(!0)});var h1=y1;class m1{constructor(D){if(typeof D!="function")throw new TypeError("executor must be a function.");let q;this.promise=new Promise(function(J){q=J});const X=this;this.promise.then(J=>{if(!X._listeners)return;let n1=X._listeners.length;for(;n1-- >0;)X._listeners[n1](J);X._listeners=null}),this.promise.then=J=>{let n1;const a1=new Promise(z1=>{X.subscribe(z1),n1=z1}).then(J);return a1.cancel=function(){X.unsubscribe(n1)},a1},D(function(J,n1,a1){X.reason||(X.reason=new W1(J,n1,a1),q(X.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(D){this.reason?D(this.reason):this._listeners?this._listeners.push(D):this._listeners=[D]}unsubscribe(D){if(!this._listeners)return;const q=this._listeners.indexOf(D);q!==-1&&this._listeners.splice(q,1)}static source(){let D;return{token:new m1(function(q){D=q}),cancel:D}}}var g1=m1;const M1={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(M1).forEach(([O,D])=>{M1[D]=O});var N1=M1;const V1=function O(D){const q=new h1(D),X=l(h1.prototype.request,q);return A.extend(X,h1.prototype,q,{allOwnKeys:!0}),A.extend(X,q,null,{allOwnKeys:!0}),X.create=function(J){return O(pe(D,J))},X}(q1);V1.Axios=h1,V1.CanceledError=W1,V1.CancelToken=g1,V1.isCancel=L1,V1.VERSION="1.6.8",V1.toFormData=x1,V1.AxiosError=B,V1.Cancel=V1.CanceledError,V1.all=function(O){return Promise.all(O)},V1.spread=function(O){return function(D){return O.apply(null,D)}},V1.isAxiosError=function(O){return A.isObject(O)&&O.isAxiosError===!0},V1.mergeConfig=pe,V1.AxiosHeaders=o1,V1.formToJSON=O=>n2(A.isHTMLForm(O)?new FormData(O):O),V1.getAdapter=Je,V1.HttpStatusCode=N1,V1.default=V1,r.exports=V1}},c={};function n(r){var i=c[r];if(i!==void 0)return i.exports;var o=c[r]={exports:{}};return a[r].call(o.exports,o,o.exports,n),o.exports}return n.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch{if(typeof window=="object")return window}}(),n(927)})())})(C51);var c4=C51.exports;const $Z={first:{light:"#2a2a2a",dark:"#f5f5f5",contrast:{light:"#fdfdfd",dark:"#222222"}},second:{light:"#484848",dark:"#cfcfcf",contrast:{light:"#f8f8f8",dark:"#2b2b2b"}},third:{light:"#666666",dark:"#aaaaaa",contrast:{light:"#f3f3f3",dark:"#343434"}},primary:{light:"#218c5a",dark:"#218c5a",contrast:{light:"#ffffff",dark:"#ffffff"}},secondary:{light:"#218c5a",dark:"#218c5a",contrast:{light:"#ffffff",dark:"#ffffff"}},success:{light:"#4caf50",dark:"#6bbf55",contrast:{light:"#ffffff",dark:"#ffffff"}},warning:{light:"#ff9800",dark:"#ff8f1f",contrast:{light:"#ffffff",dark:"#ffffff"}},danger:{light:"#f44336",dark:"#ff5e50",contrast:{light:"#ffffff",dark:"#ffffff"}},grey:{light:"#6d6d6d",dark:"#a3a3a3",contrast:{light:"#ffffff",dark:"#ffffff"}},red:{light:"#e91e63",dark:"#e64a77",contrast:{light:"#ffffff",dark:"#ffffff"}},purple:{light:"#9c27b0",dark:"#8e24aa",contrast:{light:"#ffffff",dark:"#ffffff"}},sky:{light:"#00acc1",dark:"#40c4ff",contrast:{light:"#ffffff",dark:"#ffffff"}},aqua:{light:"#00bcd4",dark:"#4db6ac",contrast:{light:"#ffffff",dark:"#ffffff"}},beige:{light:"#f4e1a1",dark:"#ffd54f",contrast:{light:"#ffffff",dark:"#ffffff"}},info:{light:"#039be5",dark:"#29b6f6",contrast:{light:"#ffffff",dark:"#ffffff"}},link:{light:"#1976d2",dark:"#2196f3",contrast:{light:"#ffffff",dark:"#ffffff"}},error:{light:"#d32f2f",dark:"#f44336",contrast:{light:"#ffffff",dark:"#ffffff"}},required:{light:"#e53935",dark:"#ff5252",contrast:{light:"#ffffff",dark:"#ffffff"}},overlay:{light:"#0000004d",dark:"#0000004d",contrast:{light:"#ffffff",dark:"#ffffff"}}},qZ={coralPink:"#ff6b6b",warmOrange:"#ff8855",mandarinOrange:"#ffb76a",cornYellow:"#ffd54d",oliveGreen:"#7a7f42",pistachioGreen:"#a6c566",aquaMarine:"#5fd4bb",polarMint:"#80c9b4",arcticBlue:"#7fafdd",ceruleanBlue:"#007ba2",cobaltBlue:"#005493",smokyGray:"#5f6d6e",ashGray:"#a1b1b5",softMauve:"#b495c8",orchidPurple:"#c66cc6"};let oi={layout:{headerHeight:"4.2rem",bannerHeight:"2rem",sideBarWidth:"19rem",bottomBarHeight:"4rem",layoutPaddingY:"1rem",layoutPaddingBottom:"1.5rem",layoutPaddingX:"1rem",layoutPaddingXSmallDevices:"0.8rem"},colors:$Z,button:{variant:"filled"},form:{input:{padding:"0.3rem",iconWidth:"2.3rem",paddingWithIcon:"2.6rem",height:"1.8rem",borderRadius:"0.5rem",borderColor:"var(--pga-color-first-02)",colorFocus:"var(--pga-color-primary)",backgroundColor:"var(--pga-color-first-contrast)",backgroundColorDisabled:"var(--pga-color-second-contrast)",backgroundColorFocus:"var(--pga-color-primary-01)",backgroundColorHover:"var(--pga-color-primary-02)",placeholderColor:"var(--pga-color-third)"}},display:{price:{withSign:!0,withBackground:!1}}};function _51(e){oi=c4.mergeDeep(oi,e),w51(),jZ()}function w51(){for(const e in oi.layout)iF(e,oi.layout[e])}function jZ(){for(const e in oi.colors){const t=oi.colors[e],a=g6().theme;pY(e,t[a]),pY(`${e}Contrast`,t.contrast[a])}}function O4(){return oi}const g6=s0.defineStore("pga-app-options",()=>{const e=s.ref(!1),t=s.ref({language:"es",theme:"light"}),a=s.computed({get(){return t.value.language},set(l){t.value.language=l}}),c=s.computed({get(){return t.value.theme},set(l){t.value.theme=l}});s.watch(c,()=>jZ());function n(l){e.value||(e.value=!0,t.value=c4.mergeDeep(t.value,l))}function r(l){a.value=l}function i(l){c.value=l}function o(){c.value=c.value==="light"?"dark":"light"}return{options:t,language:a,theme:c,init:n,setLanguage:r,setTheme:i,changeTheme:o}},{persist:!0}),H6=s0.defineStore("pga-route",()=>{const e=s.ref(),t=s.ref(!Vo()),a=s.ref(!1),c=s.computed(()=>e.value&&tn1(e.value)),n=s.computed(()=>c.value&&e.value&&Uf(c.value,e.value.name)),r=s.computed(()=>e.value&&e.value.meta),i=s.computed(()=>{var p;return(p=r.value)==null?void 0:p.access}),o=s.computed(()=>{var p;return!!se((p=r.value)==null?void 0:p.withTitle)}),l=s.computed(()=>{var p;return se((p=r.value)==null?void 0:p.description)}),f=s.computed(()=>{var p;return!!se((p=r.value)==null?void 0:p.noDisplayNavBars)}),u=s.computed(()=>!f.value&&t.value),d=s.computed(()=>{var p;return!!se((p=r.value)==null?void 0:p.useFullPage)}),h=s.computed(()=>{var p;return!!se((p=r.value)==null?void 0:p.noPaddingX)});return{currentRoute:e,isSideBarOpen:t,isDisplayingBanner:a,routeType:c,routeTitle:n,meta:r,access:i,withTitle:o,description:l,noDisplayNavBars:f,isDisplayingSideBar:u,useFullPage:d,noPaddingX:h}});function H51(){var c;const e=Te.getConfig().stores.useAuthStore(),t=H6().routeType,a=`auth${c4.getFirstChartInUppercase(t)}`;return((c=e[a])==null?void 0:c.accessToken)||""}async function L51(e,t,a){const c=Te.getConfig(),n=c.stores.useAuthStore(),r=`${e}s/login`,i={basicAuth:t,isLoading:a==null?void 0:a.isLoading},o=await c.api.postOne(r,void 0,i);n.setAuthUser(e,o.data);const l={name:(a==null?void 0:a.redirectToName)||c.defaultRoutes[e].auth};c.router.push(l)}async function V51(){const e=Te.getConfig(),t=e.stores.useAuthStore(),a=H6().routeType;try{const c=`${a}s/validateAccessToken`,n=await e.api.getOne(c,void 0,void 0,{noDisplayError:!0});t.setAuthUser(a,n.data)}catch{t.setAuthUser(a,null)}}function eN1(e){const t=Te.getConfig();t.stores.useAuthStore().setAuthUser(e,null);const c={name:`login${c4.getFirstChartInUppercase(e)}`};t.router.push(c)}function iF(e,t,a){const c=document.querySelector(":root"),n="--pga-",r=a!=null&&a.noConvertToKebab?e:c4.camelToKebab(e);c.style.setProperty(`${n}${r}`,t)}function If(e){if(e)document.body.style.removeProperty("overflow"),document.body.style.removeProperty("padding-right");else{const t=window.innerWidth-document.documentElement.clientWidth;if(document.body.style.overflow="hidden",!t)return;document.body.style.paddingRight=`${t}px`}}function tN1(e,t,a="animate__"){return new Promise(c=>{const n=`${a}${t}`,r=document.querySelector(e);if(!r)return;r.classList.add(`${a}animated`,n);const i=o=>{o.stopPropagation(),r==null||r.classList.remove(`${a}animated`,n),c("Animation ended")};r.addEventListener("animationend",i,{once:!0})})}function Bf(e){return Object.keys($Z).includes(e)}function S51(e,t){let a=0,c=0,n=0,r=0;if(e.startsWith("rgb")||e.startsWith("rgba")){const o=e.replace(/rgba?\((.*?)\)/,"$1").replace(/\s/g,""),[,l,f,u,d="1"]=o.match(/(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*(?:,\s*([\d.]+))?/);a=parseInt(l),c=parseInt(f),n=parseInt(u),r=parseFloat(d)}if(e.startsWith("#")){let o=e;o.length===4&&(o="#"+o[1]+o[1]+o[2]+o[2]+o[3]+o[3]);let[,l,f,u,d]=o.match(/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})?$/i).map((h,p)=>p===4?parseInt(h,16)/255:parseInt(h,16));d=d?parseFloat(d.toFixed(3)):1,a=l,c=f,n=u,r=d}const i=t/100;return`rgba(${a}, ${c}, ${n}, ${r*i})`}function pY(e,t){const c=`color-${c4.camelToKebab(e)}`,n={noConvertToKebab:!0};iF(c,t,n);for(let r=5;r<=95;r+=5){const i=r<10?`0${r}`:r%10===0?`${r/10}`:`${r}`;iF(`${c}-0${i}`,S51(t,r),n)}}function aN1(){const e=qZ,t=Math.floor(Math.random()*Object.keys(e).length);return e[Object.keys(e)[t]]}const cN1={es:{successfulLogout:"¡Vuelva pronto!"}},nN1={es:{today:"Hoy",tomorrow:"Mañana",yesterday:"Ayer"}},rN1={es:{alertTitle:"¿Estás seguro?",cancelBtn:"Cancelar",acceptBtn:"Eliminar"}},iN1={es:{success:"Éxito",warning:"Advertencia",danger:"Error"}},oN1={es:{INTERNAL_SERVER_ERROR:"Se ha producido un error inesperado. Intente nuevamente.",DUPLICATE_KEY:"Ya existe un registro con esta información.",FOREIGN_KEY_INTEGRITY:"El registro de referencia no es válido.",MODELS_ASSOCIATED:"No es posible eliminar el registro porque posee información vinculada.",INVALID_INPUT_DATA:"La información proporcionada no es válida.",ENTITY_NOT_FOUND:"No se ha encontrado el registro solicitado.",VOUCHER_CREATION_FAILED:"Se ha producido un error al emitir el comprobante.",INVALID_CREDENTIALS:"Las credenciales de acceso son incorrectas.",UNAUTHORIZED:"No tiene permisos para realizar esta acción."}},sN1={es:{_LOGIN:"¡Bienvenido!"}},lN1={es:{backBtn:"Volver",copyBtn:"Copiar",textCopied:"Copiado",deleteBtn:"Eliminar",confirmDeleteText:"",editBtn:"Editar",logoutBtn:"Cerrar sesión",navigateToBtn:"Ver más",seeDetailsBtn:"Detalles"}},fN1={es:{createEvent:"Nuevo evento",day:"Día",week:"Semana",month:"Mes",configModalTitle:"Ajustes de visualización",configBtn:"Ajustes",displayWeekends:"¿Mostrar fines de semana?",timeFrom:"Hora de inicio",timeTo:"Hora de fin",timeStep:"Intervalo (min)",timeFromDescription:"Indica la hora a la que empezará a mostrarse el calendario.",timeToDescription:"Indica la hora a la que terminará de mostrarse el calendario.",timeStepDescription:"Determina en bloques de cuántos minutos se divide la cuadrícula.",defaultColor:"Color por defecto",errorTimeRange:"La hora de fin debe ser posterior a la de inicio.",applyBtn:"Aplicar"}},uN1={es:{noItemsText:"No hay resultados",noItemsDescriptionText:"Intenta ajustar los filtros de búsqueda o crear un nuevo registro.",showAll:"Mostrar todo",hide:"Ocultar"}},dN1={es:{savedMsg:"Guardado",saveErrorMsg:"Texto demasiado largo"}},hN1={es:{selectImages:"Seleccionar imágenes",confirmDeleteImage:"La imagen se eliminará permanentemente.",maxImagesQuantityAlert:"Solo puede cargar {maxQuantity} imágenes",selectVideos:"Seleccionar videos",confirmDeleteVideo:"El video se eliminará permanentemente.",maxVideosQuantityAlert:"Solo puede cargar {maxQuantity} videos"}},pN1={es:{submitBtn:"Guardar",selectFileLabel:"Seleccionar archivo",selectFilesLabel:"Seleccionar archivos",removeBtn:"Eliminar archivo",newFileError:"Formato inválido",requiredLabel:"Requerido",optionalLabel:"Opcional",usernameLabel:"Usuario",passwordLabel:"Contraseña",loginBtn:"Iniciar sesión",emptyOptionsText:"No hay opciones",cancelBtn:"Cancelar",selectBtn:"Seleccionar"}},mN1={es:{header:{switchToLightMode:"Cambiar a modo claro",switchToDarkMode:"Cambiar a modo oscuro"},footer:{allRightsReserved:"Todos los derechos reservados",designedBy:"Desarrollado por"},notFound:{title:"404",subtitle:"Esta no es la página que estás buscando.",goBackBtn:"Volver al inicio"}}},vN1={es:{cancelBtn:"Cancelar",acceptBtn:"Guardar"}},yN1={es:{columnTitleActions:"",selectAllBtn:"Seleccionar todo",withTheSelectedItemsText:"Con los seleccionados:",filtersBtn:"Filtros",filtersModalTitle:"Filtros",confirmDeleteText:'¿Eliminar "{description}"?'}},gN1={es:{requiredRuleError:"Campo requerido",minLengthRuleError:"Longitud mínima: {length} caracteres",maxLengthRuleError:"Longitud máxima: {length} caracteres",integerRuleError:"Ingrese un valor entero",lessEqualRuleError:"Ingrese un valor menor o igual a {number}",greaterEqualRuleError:"Ingrese un valor mayor o igual a {number}",lessThanRuleError:"Ingrese un valor menor a {number}",greaterThanRuleError:"Ingrese un valor mayor a {number}"}},MN1={authHelpers:cN1,datetime:nN1,alert:rN1,notifications:iN1,apiConnectionsError:oN1,apiConnectionsSuccess:sN1,pgaButton:lN1,pgaCalendar:fN1,pgaDisplay:uN1,pgaEditor:dN1,pgaFile:hN1,pgaForm:pN1,pgaLayout:mN1,pgaModal:vN1,pgaTable:yN1,validations:gN1};function N51(e){function t(a,c){return function(n,r,i){var g;const o=g6().language,l=e==null?void 0:e[a],f=l==null?void 0:l[o],u=c?c.split(".").reduce((M,x)=>M==null?void 0:M[x],f):f,d=(g=e==null?void 0:e.global)==null?void 0:g[o],h=n,p=(u==null?void 0:u[h])||(d==null?void 0:d[h])||"",v=(r==null?void 0:r.count)||1,m=p.split("|").map(M=>M.trim());let y=m[0];m.length===2?y=v===1?m[0]:m[1]:m.length===3&&(y=v===0?m[0]:v===1?m[1]:m[2]),y=y.replace(new RegExp("{count}","g"),v.toString());for(const M in r||{})M!=="count"&&r[M]!==void 0&&r[M]!==null&&(y=y.replace(new RegExp(`{${M}}`,"g"),r[M].toString()));return i!=null&&i.singular?y=m[0]:i!=null&&i.plural&&m.length===2&&(y=m[1]),i!=null&&i.lowercase?y.toLowerCase():i!=null&&i.uppercase?y.toUpperCase():i!=null&&i.capitalize?`${y.charAt(0).toUpperCase()}${y.slice(1).toLowerCase()}`:y}}return t}const $2=N51(MN1),Kj=$2("datetime");function M6(e,t){if(!e)return"-";const a={format:"short",withoutYear:!1,withoutDay:!1,withTime:!0,justTime:!1,...t},c={year:a.withoutYear||a.justTime?void 0:"numeric",month:a.justTime?void 0:a.format==="numeric"?"2-digit":a.format,day:a.withoutDay||a.justTime?void 0:"2-digit",weekday:a.withoutDay||a.justTime||a.format==="numeric"?void 0:a.format,hour:a.withTime||a.justTime?"2-digit":void 0,minute:a.withTime||a.justTime?"2-digit":void 0},n=e.toLocaleString(g6().language,c);return n.charAt(0).toUpperCase()+n.slice(1)}function kN1(e){return M6(e,{format:"short",withoutDay:!0,withTime:!1})}function w9(e){return M6(e,{format:"numeric",withTime:!1})}function mY(e,{format:t}={format:"long"}){if(!e)return"";const a=w9(e),c=new Date,n=new Date(c);n.setDate(c.getDate()+1);const r=new Date(c);if(r.setDate(c.getDate()-1),a===w9(c))return Kj("today");if(a===w9(n))return Kj("tomorrow");if(a===w9(r))return Kj("yesterday");const i={format:t,withTime:!1};return e.getFullYear()===c.getFullYear()?M6(e,{...i,withoutYear:!0}):M6(e,i)}function A51(e){return M6(e,{justTime:!0})}function T51(e,t){return function(){return e.apply(t,arguments)}}const{toString:xN1}=Object.prototype,{getPrototypeOf:UZ}=Object,E$=(e=>t=>{const a=xN1.call(t);return e[a]||(e[a]=a.slice(8,-1).toLowerCase())})(Object.create(null)),L6=e=>(e=e.toLowerCase(),t=>E$(t)===e),D$=e=>t=>typeof t===e,{isArray:ks}=Array,Ll=D$("undefined");function bN1(e){return e!==null&&!Ll(e)&&e.constructor!==null&&!Ll(e.constructor)&&i0(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const E51=L6("ArrayBuffer");function zN1(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&E51(e.buffer),t}const CN1=D$("string"),i0=D$("function"),D51=D$("number"),P$=e=>e!==null&&typeof e=="object",_N1=e=>e===!0||e===!1,uh=e=>{if(E$(e)!=="object")return!1;const t=UZ(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},wN1=L6("Date"),HN1=L6("File"),LN1=L6("Blob"),VN1=L6("FileList"),SN1=e=>P$(e)&&i0(e.pipe),NN1=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||i0(e.append)&&((t=E$(e))==="formdata"||t==="object"&&i0(e.toString)&&e.toString()==="[object FormData]"))},AN1=L6("URLSearchParams"),[TN1,EN1,DN1,PN1]=["ReadableStream","Request","Response","Headers"].map(L6),ON1=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Rf(e,t,{allOwnKeys:a=!1}={}){if(e===null||typeof e>"u")return;let c,n;if(typeof e!="object"&&(e=[e]),ks(e))for(c=0,n=e.length;c<n;c++)t.call(null,e[c],c,e);else{const r=a?Object.getOwnPropertyNames(e):Object.keys(e),i=r.length;let o;for(c=0;c<i;c++)o=r[c],t.call(null,e[o],o,e)}}function P51(e,t){t=t.toLowerCase();const a=Object.keys(e);let c=a.length,n;for(;c-- >0;)if(n=a[c],t===n.toLowerCase())return n;return null}const Or=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),O51=e=>!Ll(e)&&e!==Or;function vY(){const{caseless:e}=O51(this)&&this||{},t={},a=(c,n)=>{const r=e&&P51(t,n)||n;uh(t[r])&&uh(c)?t[r]=vY(t[r],c):uh(c)?t[r]=vY({},c):ks(c)?t[r]=c.slice():t[r]=c};for(let c=0,n=arguments.length;c<n;c++)arguments[c]&&Rf(arguments[c],a);return t}const IN1=(e,t,a,{allOwnKeys:c}={})=>(Rf(t,(n,r)=>{a&&i0(n)?e[r]=T51(n,a):e[r]=n},{allOwnKeys:c}),e),BN1=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),RN1=(e,t,a,c)=>{e.prototype=Object.create(t.prototype,c),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),a&&Object.assign(e.prototype,a)},FN1=(e,t,a,c)=>{let n,r,i;const o={};if(t=t||{},e==null)return t;do{for(n=Object.getOwnPropertyNames(e),r=n.length;r-- >0;)i=n[r],(!c||c(i,e,t))&&!o[i]&&(t[i]=e[i],o[i]=!0);e=a!==!1&&UZ(e)}while(e&&(!a||a(e,t))&&e!==Object.prototype);return t},$N1=(e,t,a)=>{e=String(e),(a===void 0||a>e.length)&&(a=e.length),a-=t.length;const c=e.indexOf(t,a);return c!==-1&&c===a},qN1=e=>{if(!e)return null;if(ks(e))return e;let t=e.length;if(!D51(t))return null;const a=new Array(t);for(;t-- >0;)a[t]=e[t];return a},jN1=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&UZ(Uint8Array)),UN1=(e,t)=>{const c=(e&&e[Symbol.iterator]).call(e);let n;for(;(n=c.next())&&!n.done;){const r=n.value;t.call(e,r[0],r[1])}},WN1=(e,t)=>{let a;const c=[];for(;(a=e.exec(t))!==null;)c.push(a);return c},YN1=L6("HTMLFormElement"),GN1=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(a,c,n){return c.toUpperCase()+n}),q21=(({hasOwnProperty:e})=>(t,a)=>e.call(t,a))(Object.prototype),ZN1=L6("RegExp"),I51=(e,t)=>{const a=Object.getOwnPropertyDescriptors(e),c={};Rf(a,(n,r)=>{let i;(i=t(n,r,e))!==!1&&(c[r]=i||n)}),Object.defineProperties(e,c)},XN1=e=>{I51(e,(t,a)=>{if(i0(e)&&["arguments","caller","callee"].indexOf(a)!==-1)return!1;const c=e[a];if(i0(c)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+a+"'")})}})},KN1=(e,t)=>{const a={},c=n=>{n.forEach(r=>{a[r]=!0})};return ks(e)?c(e):c(String(e).split(t)),a},QN1=()=>{},JN1=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,Qj="abcdefghijklmnopqrstuvwxyz",j21="0123456789",B51={DIGIT:j21,ALPHA:Qj,ALPHA_DIGIT:Qj+Qj.toUpperCase()+j21},eA1=(e=16,t=B51.ALPHA_DIGIT)=>{let a="";const{length:c}=t;for(;e--;)a+=t[Math.random()*c|0];return a};function tA1(e){return!!(e&&i0(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const aA1=e=>{const t=new Array(10),a=(c,n)=>{if(P$(c)){if(t.indexOf(c)>=0)return;if(!("toJSON"in c)){t[n]=c;const r=ks(c)?[]:{};return Rf(c,(i,o)=>{const l=a(i,n+1);!Ll(l)&&(r[o]=l)}),t[n]=void 0,r}}return c};return a(e,0)},cA1=L6("AsyncFunction"),nA1=e=>e&&(P$(e)||i0(e))&&i0(e.then)&&i0(e.catch),R51=((e,t)=>e?setImmediate:t?((a,c)=>(Or.addEventListener("message",({source:n,data:r})=>{n===Or&&r===a&&c.length&&c.shift()()},!1),n=>{c.push(n),Or.postMessage(a,"*")}))(`axios@${Math.random()}`,[]):a=>setTimeout(a))(typeof setImmediate=="function",i0(Or.postMessage)),rA1=typeof queueMicrotask<"u"?queueMicrotask.bind(Or):typeof process<"u"&&process.nextTick||R51,T1={isArray:ks,isArrayBuffer:E51,isBuffer:bN1,isFormData:NN1,isArrayBufferView:zN1,isString:CN1,isNumber:D51,isBoolean:_N1,isObject:P$,isPlainObject:uh,isReadableStream:TN1,isRequest:EN1,isResponse:DN1,isHeaders:PN1,isUndefined:Ll,isDate:wN1,isFile:HN1,isBlob:LN1,isRegExp:ZN1,isFunction:i0,isStream:SN1,isURLSearchParams:AN1,isTypedArray:jN1,isFileList:VN1,forEach:Rf,merge:vY,extend:IN1,trim:ON1,stripBOM:BN1,inherits:RN1,toFlatObject:FN1,kindOf:E$,kindOfTest:L6,endsWith:$N1,toArray:qN1,forEachEntry:UN1,matchAll:WN1,isHTMLForm:YN1,hasOwnProperty:q21,hasOwnProp:q21,reduceDescriptors:I51,freezeMethods:XN1,toObjectSet:KN1,toCamelCase:GN1,noop:QN1,toFiniteNumber:JN1,findKey:P51,global:Or,isContextDefined:O51,ALPHABET:B51,generateString:eA1,isSpecCompliantForm:tA1,toJSONObject:aA1,isAsyncFn:cA1,isThenable:nA1,setImmediate:R51,asap:rA1};function x2(e,t,a,c,n){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),a&&(this.config=a),c&&(this.request=c),n&&(this.response=n,this.status=n.status?n.status:null)}T1.inherits(x2,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:T1.toJSONObject(this.config),code:this.code,status:this.status}}});const F51=x2.prototype,$51={};["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=>{$51[e]={value:e}});Object.defineProperties(x2,$51);Object.defineProperty(F51,"isAxiosError",{value:!0});x2.from=(e,t,a,c,n,r)=>{const i=Object.create(F51);return T1.toFlatObject(e,i,function(l){return l!==Error.prototype},o=>o!=="isAxiosError"),x2.call(i,e.message,t,a,c,n),i.cause=e,i.name=e.name,r&&Object.assign(i,r),i};const iA1=null;function yY(e){return T1.isPlainObject(e)||T1.isArray(e)}function q51(e){return T1.endsWith(e,"[]")?e.slice(0,-2):e}function U21(e,t,a){return e?e.concat(t).map(function(n,r){return n=q51(n),!a&&r?"["+n+"]":n}).join(a?".":""):t}function oA1(e){return T1.isArray(e)&&!e.some(yY)}const sA1=T1.toFlatObject(T1,{},null,function(t){return/^is[A-Z]/.test(t)});function O$(e,t,a){if(!T1.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,a=T1.toFlatObject(a,{metaTokens:!0,dots:!1,indexes:!1},!1,function(m,y){return!T1.isUndefined(y[m])});const c=a.metaTokens,n=a.visitor||u,r=a.dots,i=a.indexes,l=(a.Blob||typeof Blob<"u"&&Blob)&&T1.isSpecCompliantForm(t);if(!T1.isFunction(n))throw new TypeError("visitor must be a function");function f(v){if(v===null)return"";if(T1.isDate(v))return v.toISOString();if(!l&&T1.isBlob(v))throw new x2("Blob is not supported. Use a Buffer instead.");return T1.isArrayBuffer(v)||T1.isTypedArray(v)?l&&typeof Blob=="function"?new Blob([v]):Buffer.from(v):v}function u(v,m,y){let g=v;if(v&&!y&&typeof v=="object"){if(T1.endsWith(m,"{}"))m=c?m:m.slice(0,-2),v=JSON.stringify(v);else if(T1.isArray(v)&&oA1(v)||(T1.isFileList(v)||T1.endsWith(m,"[]"))&&(g=T1.toArray(v)))return m=q51(m),g.forEach(function(x,k){!(T1.isUndefined(x)||x===null)&&t.append(i===!0?U21([m],k,r):i===null?m:m+"[]",f(x))}),!1}return yY(v)?!0:(t.append(U21(y,m,r),f(v)),!1)}const d=[],h=Object.assign(sA1,{defaultVisitor:u,convertValue:f,isVisitable:yY});function p(v,m){if(!T1.isUndefined(v)){if(d.indexOf(v)!==-1)throw Error("Circular reference detected in "+m.join("."));d.push(v),T1.forEach(v,function(g,M){(!(T1.isUndefined(g)||g===null)&&n.call(t,g,T1.isString(M)?M.trim():M,m,h))===!0&&p(g,m?m.concat(M):[M])}),d.pop()}}if(!T1.isObject(e))throw new TypeError("data must be an object");return p(e),t}function W21(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(c){return t[c]})}function WZ(e,t){this._pairs=[],e&&O$(e,this,t)}const j51=WZ.prototype;j51.append=function(t,a){this._pairs.push([t,a])};j51.toString=function(t){const a=t?function(c){return t.call(this,c,W21)}:W21;return this._pairs.map(function(n){return a(n[0])+"="+a(n[1])},"").join("&")};function lA1(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function U51(e,t,a){if(!t)return e;const c=a&&a.encode||lA1;T1.isFunction(a)&&(a={serialize:a});const n=a&&a.serialize;let r;if(n?r=n(t,a):r=T1.isURLSearchParams(t)?t.toString():new WZ(t,a).toString(c),r){const i=e.indexOf("#");i!==-1&&(e=e.slice(0,i)),e+=(e.indexOf("?")===-1?"?":"&")+r}return e}class fA1{constructor(){this.handlers=[]}use(t,a,c){return this.handlers.push({fulfilled:t,rejected:a,synchronous:c?c.synchronous:!1,runWhen:c?c.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){T1.forEach(this.handlers,function(c){c!==null&&t(c)})}}const Y21=fA1,W51={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},uA1=typeof URLSearchParams<"u"?URLSearchParams:WZ,dA1=typeof FormData<"u"?FormData:null,hA1=typeof Blob<"u"?Blob:null,pA1={isBrowser:!0,classes:{URLSearchParams:uA1,FormData:dA1,Blob:hA1},protocols:["http","https","file","blob","url","data"]},YZ=typeof window<"u"&&typeof document<"u",gY=typeof navigator=="object"&&navigator||void 0,mA1=YZ&&(!gY||["ReactNative","NativeScript","NS"].indexOf(gY.product)<0),vA1=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),yA1=YZ&&window.location.href||"http://localhost",gA1=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:YZ,hasStandardBrowserEnv:mA1,hasStandardBrowserWebWorkerEnv:vA1,navigator:gY,origin:yA1},Symbol.toStringTag,{value:"Module"})),h4={...gA1,...pA1};function MA1(e,t){return O$(e,new h4.classes.URLSearchParams,Object.assign({visitor:function(a,c,n,r){return h4.isNode&&T1.isBuffer(a)?(this.append(c,a.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},t))}function kA1(e){return T1.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function xA1(e){const t={},a=Object.keys(e);let c;const n=a.length;let r;for(c=0;c<n;c++)r=a[c],t[r]=e[r];return t}function Y51(e){function t(a,c,n,r){let i=a[r++];if(i==="__proto__")return!0;const o=Number.isFinite(+i),l=r>=a.length;return i=!i&&T1.isArray(n)?n.length:i,l?(T1.hasOwnProp(n,i)?n[i]=[n[i],c]:n[i]=c,!o):((!n[i]||!T1.isObject(n[i]))&&(n[i]=[]),t(a,c,n[i],r)&&T1.isArray(n[i])&&(n[i]=xA1(n[i])),!o)}if(T1.isFormData(e)&&T1.isFunction(e.entries)){const a={};return T1.forEachEntry(e,(c,n)=>{t(kA1(c),n,a,0)}),a}return null}function bA1(e,t,a){if(T1.isString(e))try{return(t||JSON.parse)(e),T1.trim(e)}catch(c){if(c.name!=="SyntaxError")throw c}return(a||JSON.stringify)(e)}const GZ={transitional:W51,adapter:["xhr","http","fetch"],transformRequest:[function(t,a){const c=a.getContentType()||"",n=c.indexOf("application/json")>-1,r=T1.isObject(t);if(r&&T1.isHTMLForm(t)&&(t=new FormData(t)),T1.isFormData(t))return n?JSON.stringify(Y51(t)):t;if(T1.isArrayBuffer(t)||T1.isBuffer(t)||T1.isStream(t)||T1.isFile(t)||T1.isBlob(t)||T1.isReadableStream(t))return t;if(T1.isArrayBufferView(t))return t.buffer;if(T1.isURLSearchParams(t))return a.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let o;if(r){if(c.indexOf("application/x-www-form-urlencoded")>-1)return MA1(t,this.formSerializer).toString();if((o=T1.isFileList(t))||c.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return O$(o?{"files[]":t}:t,l&&new l,this.formSerializer)}}return r||n?(a.setContentType("application/json",!1),bA1(t)):t}],transformResponse:[function(t){const a=this.transitional||GZ.transitional,c=a&&a.forcedJSONParsing,n=this.responseType==="json";if(T1.isResponse(t)||T1.isReadableStream(t))return t;if(t&&T1.isString(t)&&(c&&!this.responseType||n)){const i=!(a&&a.silentJSONParsing)&&n;try{return JSON.parse(t)}catch(o){if(i)throw o.name==="SyntaxError"?x2.from(o,x2.ERR_BAD_RESPONSE,this,null,this.response):o}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:h4.classes.FormData,Blob:h4.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};T1.forEach(["delete","get","head","post","put","patch"],e=>{GZ.headers[e]={}});const ZZ=GZ,zA1=T1.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"]),CA1=e=>{const t={};let a,c,n;return e&&e.split(`
|
|
6
|
+
`+n1):X.stack=n1}throw X}}_request(D,q){typeof D=="string"?(q=q||{}).url=D:q=D||{},q=pe(this.defaults,q);const{transitional:X,paramsSerializer:J,headers:n1}=q;X!==void 0&&_4.assertOptions(X,{silentJSONParsing:r1.transitional(r1.boolean),forcedJSONParsing:r1.transitional(r1.boolean),clarifyTimeoutError:r1.transitional(r1.boolean)},!1),J!=null&&(A.isFunction(J)?q.paramsSerializer={serialize:J}:_4.assertOptions(J,{encode:r1.function,serialize:r1.function},!0)),q.method=(q.method||this.defaults.method||"get").toLowerCase();let a1=n1&&A.merge(n1.common,n1[q.method]);n1&&A.forEach(["delete","get","head","post","put","patch","common"],I1=>{delete n1[I1]}),q.headers=o1.concat(a1,n1);const z1=[];let w1=!0;this.interceptors.request.forEach(function(I1){typeof I1.runWhen=="function"&&I1.runWhen(q)===!1||(w1=w1&&I1.synchronous,z1.unshift(I1.fulfilled,I1.rejected))});const H1=[];let k1;this.interceptors.response.forEach(function(I1){H1.push(I1.fulfilled,I1.rejected)});let O1,P1=0;if(!w1){const I1=[Z4.bind(this),void 0];for(I1.unshift.apply(I1,z1),I1.push.apply(I1,H1),O1=I1.length,k1=Promise.resolve(q);P1<O1;)k1=k1.then(I1[P1++],I1[P1++]);return k1}O1=z1.length;let Z1=q;for(P1=0;P1<O1;){const I1=z1[P1++],J1=z1[P1++];try{Z1=I1(Z1)}catch(v2){J1.call(this,v2);break}}try{k1=Z4.call(this,Z1)}catch(I1){return Promise.reject(I1)}for(P1=0,O1=H1.length;P1<O1;)k1=k1.then(H1[P1++],H1[P1++]);return k1}getUri(D){return p1(S2((D=pe(this.defaults,D)).baseURL,D.url),D.params,D.paramsSerializer)}}A.forEach(["delete","get","head","options"],function(O){y1.prototype[O]=function(D,q){return this.request(pe(q||{},{method:O,url:D,data:(q||{}).data}))}}),A.forEach(["post","put","patch"],function(O){function D(q){return function(X,J,n1){return this.request(pe(n1||{},{method:O,headers:q?{"Content-Type":"multipart/form-data"}:{},url:X,data:J}))}}y1.prototype[O]=D(),y1.prototype[O+"Form"]=D(!0)});var h1=y1;class m1{constructor(D){if(typeof D!="function")throw new TypeError("executor must be a function.");let q;this.promise=new Promise(function(J){q=J});const X=this;this.promise.then(J=>{if(!X._listeners)return;let n1=X._listeners.length;for(;n1-- >0;)X._listeners[n1](J);X._listeners=null}),this.promise.then=J=>{let n1;const a1=new Promise(z1=>{X.subscribe(z1),n1=z1}).then(J);return a1.cancel=function(){X.unsubscribe(n1)},a1},D(function(J,n1,a1){X.reason||(X.reason=new W1(J,n1,a1),q(X.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(D){this.reason?D(this.reason):this._listeners?this._listeners.push(D):this._listeners=[D]}unsubscribe(D){if(!this._listeners)return;const q=this._listeners.indexOf(D);q!==-1&&this._listeners.splice(q,1)}static source(){let D;return{token:new m1(function(q){D=q}),cancel:D}}}var g1=m1;const M1={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(M1).forEach(([O,D])=>{M1[D]=O});var N1=M1;const V1=function O(D){const q=new h1(D),X=l(h1.prototype.request,q);return A.extend(X,h1.prototype,q,{allOwnKeys:!0}),A.extend(X,q,null,{allOwnKeys:!0}),X.create=function(J){return O(pe(D,J))},X}(q1);V1.Axios=h1,V1.CanceledError=W1,V1.CancelToken=g1,V1.isCancel=L1,V1.VERSION="1.6.8",V1.toFormData=x1,V1.AxiosError=B,V1.Cancel=V1.CanceledError,V1.all=function(O){return Promise.all(O)},V1.spread=function(O){return function(D){return O.apply(null,D)}},V1.isAxiosError=function(O){return A.isObject(O)&&O.isAxiosError===!0},V1.mergeConfig=pe,V1.AxiosHeaders=o1,V1.formToJSON=O=>n2(A.isHTMLForm(O)?new FormData(O):O),V1.getAdapter=Je,V1.HttpStatusCode=N1,V1.default=V1,r.exports=V1}},c={};function n(r){var i=c[r];if(i!==void 0)return i.exports;var o=c[r]={exports:{}};return a[r].call(o.exports,o,o.exports,n),o.exports}return n.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch{if(typeof window=="object")return window}}(),n(927)})())})(C51);var c4=C51.exports;const $Z={first:{light:"#2a2a2a",dark:"#f5f5f5",contrast:{light:"#fdfdfd",dark:"#222222"}},second:{light:"#484848",dark:"#cfcfcf",contrast:{light:"#f9f9f9",dark:"#2b2b2b"}},third:{light:"#666666",dark:"#aaaaaa",contrast:{light:"#f5f5f5",dark:"#343434"}},primary:{light:"#218c5a",dark:"#218c5a",contrast:{light:"#ffffff",dark:"#ffffff"}},secondary:{light:"#218c5a",dark:"#218c5a",contrast:{light:"#ffffff",dark:"#ffffff"}},success:{light:"#4caf50",dark:"#6bbf55",contrast:{light:"#ffffff",dark:"#ffffff"}},warning:{light:"#ff9800",dark:"#ff8f1f",contrast:{light:"#ffffff",dark:"#ffffff"}},danger:{light:"#f44336",dark:"#ff5e50",contrast:{light:"#ffffff",dark:"#ffffff"}},grey:{light:"#6d6d6d",dark:"#a3a3a3",contrast:{light:"#ffffff",dark:"#ffffff"}},red:{light:"#e91e63",dark:"#e64a77",contrast:{light:"#ffffff",dark:"#ffffff"}},purple:{light:"#9c27b0",dark:"#8e24aa",contrast:{light:"#ffffff",dark:"#ffffff"}},sky:{light:"#00acc1",dark:"#40c4ff",contrast:{light:"#ffffff",dark:"#ffffff"}},aqua:{light:"#00bcd4",dark:"#4db6ac",contrast:{light:"#ffffff",dark:"#ffffff"}},beige:{light:"#f4e1a1",dark:"#ffd54f",contrast:{light:"#ffffff",dark:"#ffffff"}},info:{light:"#039be5",dark:"#29b6f6",contrast:{light:"#ffffff",dark:"#ffffff"}},link:{light:"#1976d2",dark:"#2196f3",contrast:{light:"#ffffff",dark:"#ffffff"}},error:{light:"#d32f2f",dark:"#f44336",contrast:{light:"#ffffff",dark:"#ffffff"}},required:{light:"#e53935",dark:"#ff5252",contrast:{light:"#ffffff",dark:"#ffffff"}},overlay:{light:"#0000004d",dark:"#0000004d",contrast:{light:"#ffffff",dark:"#ffffff"}}},qZ={coralPink:"#ff6b6b",warmOrange:"#ff8855",mandarinOrange:"#ffb76a",cornYellow:"#ffd54d",oliveGreen:"#7a7f42",pistachioGreen:"#a6c566",aquaMarine:"#5fd4bb",polarMint:"#80c9b4",arcticBlue:"#7fafdd",ceruleanBlue:"#007ba2",cobaltBlue:"#005493",smokyGray:"#5f6d6e",ashGray:"#a1b1b5",softMauve:"#b495c8",orchidPurple:"#c66cc6"};let oi={layout:{headerHeight:"4.2rem",bannerHeight:"2rem",sideBarWidth:"19rem",bottomBarHeight:"4rem",layoutPaddingY:"1rem",layoutPaddingBottom:"1.5rem",layoutPaddingX:"1rem",layoutPaddingXSmallDevices:"0.8rem"},colors:$Z,button:{variant:"filled"},form:{input:{padding:"0.3rem",iconWidth:"2.3rem",paddingWithIcon:"2.6rem",height:"1.8rem",borderRadius:"0.5rem",borderColor:"var(--pga-color-first-02)",colorFocus:"var(--pga-color-primary)",backgroundColor:"var(--pga-color-first-contrast)",backgroundColorDisabled:"var(--pga-color-second-contrast)",backgroundColorFocus:"var(--pga-color-primary-01)",backgroundColorHover:"var(--pga-color-primary-02)",placeholderColor:"var(--pga-color-third)"}},display:{price:{withSign:!0,withBackground:!1}}};function _51(e){oi=c4.mergeDeep(oi,e),w51(),jZ()}function w51(){for(const e in oi.layout)iF(e,oi.layout[e])}function jZ(){for(const e in oi.colors){const t=oi.colors[e],a=g6().theme;pY(e,t[a]),pY(`${e}Contrast`,t.contrast[a])}}function O4(){return oi}const g6=s0.defineStore("pga-app-options",()=>{const e=s.ref(!1),t=s.ref({language:"es",theme:"light"}),a=s.computed({get(){return t.value.language},set(l){t.value.language=l}}),c=s.computed({get(){return t.value.theme},set(l){t.value.theme=l}});s.watch(c,()=>jZ());function n(l){e.value||(e.value=!0,t.value=c4.mergeDeep(t.value,l))}function r(l){a.value=l}function i(l){c.value=l}function o(){c.value=c.value==="light"?"dark":"light"}return{options:t,language:a,theme:c,init:n,setLanguage:r,setTheme:i,changeTheme:o}},{persist:!0}),H6=s0.defineStore("pga-route",()=>{const e=s.ref(),t=s.ref(!Vo()),a=s.ref(!1),c=s.computed(()=>e.value&&tn1(e.value)),n=s.computed(()=>c.value&&e.value&&Uf(c.value,e.value.name)),r=s.computed(()=>e.value&&e.value.meta),i=s.computed(()=>{var p;return(p=r.value)==null?void 0:p.access}),o=s.computed(()=>{var p;return!!se((p=r.value)==null?void 0:p.withTitle)}),l=s.computed(()=>{var p;return se((p=r.value)==null?void 0:p.description)}),f=s.computed(()=>{var p;return!!se((p=r.value)==null?void 0:p.noDisplayNavBars)}),u=s.computed(()=>!f.value&&t.value),d=s.computed(()=>{var p;return!!se((p=r.value)==null?void 0:p.useFullPage)}),h=s.computed(()=>{var p;return!!se((p=r.value)==null?void 0:p.noPaddingX)});return{currentRoute:e,isSideBarOpen:t,isDisplayingBanner:a,routeType:c,routeTitle:n,meta:r,access:i,withTitle:o,description:l,noDisplayNavBars:f,isDisplayingSideBar:u,useFullPage:d,noPaddingX:h}});function H51(){var c;const e=Te.getConfig().stores.useAuthStore(),t=H6().routeType,a=`auth${c4.getFirstChartInUppercase(t)}`;return((c=e[a])==null?void 0:c.accessToken)||""}async function L51(e,t,a){const c=Te.getConfig(),n=c.stores.useAuthStore(),r=`${e}s/login`,i={basicAuth:t,isLoading:a==null?void 0:a.isLoading},o=await c.api.postOne(r,void 0,i);n.setAuthUser(e,o.data);const l={name:(a==null?void 0:a.redirectToName)||c.defaultRoutes[e].auth};c.router.push(l)}async function V51(){const e=Te.getConfig(),t=e.stores.useAuthStore(),a=H6().routeType;try{const c=`${a}s/validateAccessToken`,n=await e.api.getOne(c,void 0,void 0,{noDisplayError:!0});t.setAuthUser(a,n.data)}catch{t.setAuthUser(a,null)}}function eN1(e){const t=Te.getConfig();t.stores.useAuthStore().setAuthUser(e,null);const c={name:`login${c4.getFirstChartInUppercase(e)}`};t.router.push(c)}function iF(e,t,a){const c=document.querySelector(":root"),n="--pga-",r=a!=null&&a.noConvertToKebab?e:c4.camelToKebab(e);c.style.setProperty(`${n}${r}`,t)}function If(e){if(e)document.body.style.removeProperty("overflow"),document.body.style.removeProperty("padding-right");else{const t=window.innerWidth-document.documentElement.clientWidth;if(document.body.style.overflow="hidden",!t)return;document.body.style.paddingRight=`${t}px`}}function tN1(e,t,a="animate__"){return new Promise(c=>{const n=`${a}${t}`,r=document.querySelector(e);if(!r)return;r.classList.add(`${a}animated`,n);const i=o=>{o.stopPropagation(),r==null||r.classList.remove(`${a}animated`,n),c("Animation ended")};r.addEventListener("animationend",i,{once:!0})})}function Bf(e){return Object.keys($Z).includes(e)}function S51(e,t){let a=0,c=0,n=0,r=0;if(e.startsWith("rgb")||e.startsWith("rgba")){const o=e.replace(/rgba?\((.*?)\)/,"$1").replace(/\s/g,""),[,l,f,u,d="1"]=o.match(/(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*(?:,\s*([\d.]+))?/);a=parseInt(l),c=parseInt(f),n=parseInt(u),r=parseFloat(d)}if(e.startsWith("#")){let o=e;o.length===4&&(o="#"+o[1]+o[1]+o[2]+o[2]+o[3]+o[3]);let[,l,f,u,d]=o.match(/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})?$/i).map((h,p)=>p===4?parseInt(h,16)/255:parseInt(h,16));d=d?parseFloat(d.toFixed(3)):1,a=l,c=f,n=u,r=d}const i=t/100;return`rgba(${a}, ${c}, ${n}, ${r*i})`}function pY(e,t){const c=`color-${c4.camelToKebab(e)}`,n={noConvertToKebab:!0};iF(c,t,n);for(let r=5;r<=95;r+=5){const i=r<10?`0${r}`:r%10===0?`${r/10}`:`${r}`;iF(`${c}-0${i}`,S51(t,r),n)}}function aN1(){const e=qZ,t=Math.floor(Math.random()*Object.keys(e).length);return e[Object.keys(e)[t]]}const cN1={es:{successfulLogout:"¡Vuelva pronto!"}},nN1={es:{today:"Hoy",tomorrow:"Mañana",yesterday:"Ayer"}},rN1={es:{alertTitle:"¿Estás seguro?",cancelBtn:"Cancelar",acceptBtn:"Eliminar"}},iN1={es:{success:"Éxito",warning:"Advertencia",danger:"Error"}},oN1={es:{INTERNAL_SERVER_ERROR:"Se ha producido un error inesperado. Intente nuevamente.",DUPLICATE_KEY:"Ya existe un registro con esta información.",FOREIGN_KEY_INTEGRITY:"El registro de referencia no es válido.",MODELS_ASSOCIATED:"No es posible eliminar el registro porque posee información vinculada.",INVALID_INPUT_DATA:"La información proporcionada no es válida.",ENTITY_NOT_FOUND:"No se ha encontrado el registro solicitado.",VOUCHER_CREATION_FAILED:"Se ha producido un error al emitir el comprobante.",INVALID_CREDENTIALS:"Las credenciales de acceso son incorrectas.",UNAUTHORIZED:"No tiene permisos para realizar esta acción."}},sN1={es:{_LOGIN:"¡Bienvenido!"}},lN1={es:{backBtn:"Volver",copyBtn:"Copiar",textCopied:"Copiado",deleteBtn:"Eliminar",confirmDeleteText:"",editBtn:"Editar",logoutBtn:"Cerrar sesión",navigateToBtn:"Ver más",seeDetailsBtn:"Detalles"}},fN1={es:{createEvent:"Nuevo evento",day:"Día",week:"Semana",month:"Mes",configModalTitle:"Ajustes de visualización",configBtn:"Ajustes",displayWeekends:"¿Mostrar fines de semana?",timeFrom:"Hora de inicio",timeTo:"Hora de fin",timeStep:"Intervalo (min)",timeFromDescription:"Indica la hora a la que empezará a mostrarse el calendario.",timeToDescription:"Indica la hora a la que terminará de mostrarse el calendario.",timeStepDescription:"Determina en bloques de cuántos minutos se divide la cuadrícula.",defaultColor:"Color por defecto",errorTimeRange:"La hora de fin debe ser posterior a la de inicio.",applyBtn:"Aplicar"}},uN1={es:{noItemsText:"No hay resultados",noItemsDescriptionText:"Intenta ajustar los filtros de búsqueda o crear un nuevo registro.",showAll:"Mostrar todo",hide:"Ocultar"}},dN1={es:{savedMsg:"Guardado",saveErrorMsg:"Texto demasiado largo"}},hN1={es:{selectImages:"Seleccionar imágenes",confirmDeleteImage:"La imagen se eliminará permanentemente.",maxImagesQuantityAlert:"Solo puede cargar {maxQuantity} imágenes",selectVideos:"Seleccionar videos",confirmDeleteVideo:"El video se eliminará permanentemente.",maxVideosQuantityAlert:"Solo puede cargar {maxQuantity} videos"}},pN1={es:{submitBtn:"Guardar",selectFileLabel:"Seleccionar archivo",selectFilesLabel:"Seleccionar archivos",removeBtn:"Eliminar archivo",newFileError:"Formato inválido",requiredLabel:"Requerido",optionalLabel:"Opcional",usernameLabel:"Usuario",passwordLabel:"Contraseña",loginBtn:"Iniciar sesión",emptyOptionsText:"No hay opciones",cancelBtn:"Cancelar",selectBtn:"Seleccionar"}},mN1={es:{header:{switchToLightMode:"Cambiar a modo claro",switchToDarkMode:"Cambiar a modo oscuro"},footer:{allRightsReserved:"Todos los derechos reservados",designedBy:"Desarrollado por"},notFound:{title:"404",subtitle:"Esta no es la página que estás buscando.",goBackBtn:"Volver al inicio"}}},vN1={es:{cancelBtn:"Cancelar",acceptBtn:"Guardar"}},yN1={es:{columnTitleActions:"",selectAllBtn:"Seleccionar todo",withTheSelectedItemsText:"Con los seleccionados:",filtersBtn:"Filtros",filtersModalTitle:"Filtros",confirmDeleteText:'¿Eliminar "{description}"?'}},gN1={es:{requiredRuleError:"Campo requerido",minLengthRuleError:"Longitud mínima: {length} caracteres",maxLengthRuleError:"Longitud máxima: {length} caracteres",integerRuleError:"Ingrese un valor entero",lessEqualRuleError:"Ingrese un valor menor o igual a {number}",greaterEqualRuleError:"Ingrese un valor mayor o igual a {number}",lessThanRuleError:"Ingrese un valor menor a {number}",greaterThanRuleError:"Ingrese un valor mayor a {number}"}},MN1={authHelpers:cN1,datetime:nN1,alert:rN1,notifications:iN1,apiConnectionsError:oN1,apiConnectionsSuccess:sN1,pgaButton:lN1,pgaCalendar:fN1,pgaDisplay:uN1,pgaEditor:dN1,pgaFile:hN1,pgaForm:pN1,pgaLayout:mN1,pgaModal:vN1,pgaTable:yN1,validations:gN1};function N51(e){function t(a,c){return function(n,r,i){var g;const o=g6().language,l=e==null?void 0:e[a],f=l==null?void 0:l[o],u=c?c.split(".").reduce((M,x)=>M==null?void 0:M[x],f):f,d=(g=e==null?void 0:e.global)==null?void 0:g[o],h=n,p=(u==null?void 0:u[h])||(d==null?void 0:d[h])||"",v=(r==null?void 0:r.count)||1,m=p.split("|").map(M=>M.trim());let y=m[0];m.length===2?y=v===1?m[0]:m[1]:m.length===3&&(y=v===0?m[0]:v===1?m[1]:m[2]),y=y.replace(new RegExp("{count}","g"),v.toString());for(const M in r||{})M!=="count"&&r[M]!==void 0&&r[M]!==null&&(y=y.replace(new RegExp(`{${M}}`,"g"),r[M].toString()));return i!=null&&i.singular?y=m[0]:i!=null&&i.plural&&m.length===2&&(y=m[1]),i!=null&&i.lowercase?y.toLowerCase():i!=null&&i.uppercase?y.toUpperCase():i!=null&&i.capitalize?`${y.charAt(0).toUpperCase()}${y.slice(1).toLowerCase()}`:y}}return t}const $2=N51(MN1),Kj=$2("datetime");function M6(e,t){if(!e)return"-";const a={format:"short",withoutYear:!1,withoutDay:!1,withTime:!0,justTime:!1,...t},c={year:a.withoutYear||a.justTime?void 0:"numeric",month:a.justTime?void 0:a.format==="numeric"?"2-digit":a.format,day:a.withoutDay||a.justTime?void 0:"2-digit",weekday:a.withoutDay||a.justTime||a.format==="numeric"?void 0:a.format,hour:a.withTime||a.justTime?"2-digit":void 0,minute:a.withTime||a.justTime?"2-digit":void 0},n=e.toLocaleString(g6().language,c);return n.charAt(0).toUpperCase()+n.slice(1)}function kN1(e){return M6(e,{format:"short",withoutDay:!0,withTime:!1})}function w9(e){return M6(e,{format:"numeric",withTime:!1})}function mY(e,{format:t}={format:"long"}){if(!e)return"";const a=w9(e),c=new Date,n=new Date(c);n.setDate(c.getDate()+1);const r=new Date(c);if(r.setDate(c.getDate()-1),a===w9(c))return Kj("today");if(a===w9(n))return Kj("tomorrow");if(a===w9(r))return Kj("yesterday");const i={format:t,withTime:!1};return e.getFullYear()===c.getFullYear()?M6(e,{...i,withoutYear:!0}):M6(e,i)}function A51(e){return M6(e,{justTime:!0})}function T51(e,t){return function(){return e.apply(t,arguments)}}const{toString:xN1}=Object.prototype,{getPrototypeOf:UZ}=Object,E$=(e=>t=>{const a=xN1.call(t);return e[a]||(e[a]=a.slice(8,-1).toLowerCase())})(Object.create(null)),L6=e=>(e=e.toLowerCase(),t=>E$(t)===e),D$=e=>t=>typeof t===e,{isArray:ks}=Array,Ll=D$("undefined");function bN1(e){return e!==null&&!Ll(e)&&e.constructor!==null&&!Ll(e.constructor)&&i0(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const E51=L6("ArrayBuffer");function zN1(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&E51(e.buffer),t}const CN1=D$("string"),i0=D$("function"),D51=D$("number"),P$=e=>e!==null&&typeof e=="object",_N1=e=>e===!0||e===!1,uh=e=>{if(E$(e)!=="object")return!1;const t=UZ(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},wN1=L6("Date"),HN1=L6("File"),LN1=L6("Blob"),VN1=L6("FileList"),SN1=e=>P$(e)&&i0(e.pipe),NN1=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||i0(e.append)&&((t=E$(e))==="formdata"||t==="object"&&i0(e.toString)&&e.toString()==="[object FormData]"))},AN1=L6("URLSearchParams"),[TN1,EN1,DN1,PN1]=["ReadableStream","Request","Response","Headers"].map(L6),ON1=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Rf(e,t,{allOwnKeys:a=!1}={}){if(e===null||typeof e>"u")return;let c,n;if(typeof e!="object"&&(e=[e]),ks(e))for(c=0,n=e.length;c<n;c++)t.call(null,e[c],c,e);else{const r=a?Object.getOwnPropertyNames(e):Object.keys(e),i=r.length;let o;for(c=0;c<i;c++)o=r[c],t.call(null,e[o],o,e)}}function P51(e,t){t=t.toLowerCase();const a=Object.keys(e);let c=a.length,n;for(;c-- >0;)if(n=a[c],t===n.toLowerCase())return n;return null}const Or=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),O51=e=>!Ll(e)&&e!==Or;function vY(){const{caseless:e}=O51(this)&&this||{},t={},a=(c,n)=>{const r=e&&P51(t,n)||n;uh(t[r])&&uh(c)?t[r]=vY(t[r],c):uh(c)?t[r]=vY({},c):ks(c)?t[r]=c.slice():t[r]=c};for(let c=0,n=arguments.length;c<n;c++)arguments[c]&&Rf(arguments[c],a);return t}const IN1=(e,t,a,{allOwnKeys:c}={})=>(Rf(t,(n,r)=>{a&&i0(n)?e[r]=T51(n,a):e[r]=n},{allOwnKeys:c}),e),BN1=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),RN1=(e,t,a,c)=>{e.prototype=Object.create(t.prototype,c),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),a&&Object.assign(e.prototype,a)},FN1=(e,t,a,c)=>{let n,r,i;const o={};if(t=t||{},e==null)return t;do{for(n=Object.getOwnPropertyNames(e),r=n.length;r-- >0;)i=n[r],(!c||c(i,e,t))&&!o[i]&&(t[i]=e[i],o[i]=!0);e=a!==!1&&UZ(e)}while(e&&(!a||a(e,t))&&e!==Object.prototype);return t},$N1=(e,t,a)=>{e=String(e),(a===void 0||a>e.length)&&(a=e.length),a-=t.length;const c=e.indexOf(t,a);return c!==-1&&c===a},qN1=e=>{if(!e)return null;if(ks(e))return e;let t=e.length;if(!D51(t))return null;const a=new Array(t);for(;t-- >0;)a[t]=e[t];return a},jN1=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&UZ(Uint8Array)),UN1=(e,t)=>{const c=(e&&e[Symbol.iterator]).call(e);let n;for(;(n=c.next())&&!n.done;){const r=n.value;t.call(e,r[0],r[1])}},WN1=(e,t)=>{let a;const c=[];for(;(a=e.exec(t))!==null;)c.push(a);return c},YN1=L6("HTMLFormElement"),GN1=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(a,c,n){return c.toUpperCase()+n}),q21=(({hasOwnProperty:e})=>(t,a)=>e.call(t,a))(Object.prototype),ZN1=L6("RegExp"),I51=(e,t)=>{const a=Object.getOwnPropertyDescriptors(e),c={};Rf(a,(n,r)=>{let i;(i=t(n,r,e))!==!1&&(c[r]=i||n)}),Object.defineProperties(e,c)},XN1=e=>{I51(e,(t,a)=>{if(i0(e)&&["arguments","caller","callee"].indexOf(a)!==-1)return!1;const c=e[a];if(i0(c)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+a+"'")})}})},KN1=(e,t)=>{const a={},c=n=>{n.forEach(r=>{a[r]=!0})};return ks(e)?c(e):c(String(e).split(t)),a},QN1=()=>{},JN1=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,Qj="abcdefghijklmnopqrstuvwxyz",j21="0123456789",B51={DIGIT:j21,ALPHA:Qj,ALPHA_DIGIT:Qj+Qj.toUpperCase()+j21},eA1=(e=16,t=B51.ALPHA_DIGIT)=>{let a="";const{length:c}=t;for(;e--;)a+=t[Math.random()*c|0];return a};function tA1(e){return!!(e&&i0(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const aA1=e=>{const t=new Array(10),a=(c,n)=>{if(P$(c)){if(t.indexOf(c)>=0)return;if(!("toJSON"in c)){t[n]=c;const r=ks(c)?[]:{};return Rf(c,(i,o)=>{const l=a(i,n+1);!Ll(l)&&(r[o]=l)}),t[n]=void 0,r}}return c};return a(e,0)},cA1=L6("AsyncFunction"),nA1=e=>e&&(P$(e)||i0(e))&&i0(e.then)&&i0(e.catch),R51=((e,t)=>e?setImmediate:t?((a,c)=>(Or.addEventListener("message",({source:n,data:r})=>{n===Or&&r===a&&c.length&&c.shift()()},!1),n=>{c.push(n),Or.postMessage(a,"*")}))(`axios@${Math.random()}`,[]):a=>setTimeout(a))(typeof setImmediate=="function",i0(Or.postMessage)),rA1=typeof queueMicrotask<"u"?queueMicrotask.bind(Or):typeof process<"u"&&process.nextTick||R51,T1={isArray:ks,isArrayBuffer:E51,isBuffer:bN1,isFormData:NN1,isArrayBufferView:zN1,isString:CN1,isNumber:D51,isBoolean:_N1,isObject:P$,isPlainObject:uh,isReadableStream:TN1,isRequest:EN1,isResponse:DN1,isHeaders:PN1,isUndefined:Ll,isDate:wN1,isFile:HN1,isBlob:LN1,isRegExp:ZN1,isFunction:i0,isStream:SN1,isURLSearchParams:AN1,isTypedArray:jN1,isFileList:VN1,forEach:Rf,merge:vY,extend:IN1,trim:ON1,stripBOM:BN1,inherits:RN1,toFlatObject:FN1,kindOf:E$,kindOfTest:L6,endsWith:$N1,toArray:qN1,forEachEntry:UN1,matchAll:WN1,isHTMLForm:YN1,hasOwnProperty:q21,hasOwnProp:q21,reduceDescriptors:I51,freezeMethods:XN1,toObjectSet:KN1,toCamelCase:GN1,noop:QN1,toFiniteNumber:JN1,findKey:P51,global:Or,isContextDefined:O51,ALPHABET:B51,generateString:eA1,isSpecCompliantForm:tA1,toJSONObject:aA1,isAsyncFn:cA1,isThenable:nA1,setImmediate:R51,asap:rA1};function x2(e,t,a,c,n){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),a&&(this.config=a),c&&(this.request=c),n&&(this.response=n,this.status=n.status?n.status:null)}T1.inherits(x2,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:T1.toJSONObject(this.config),code:this.code,status:this.status}}});const F51=x2.prototype,$51={};["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=>{$51[e]={value:e}});Object.defineProperties(x2,$51);Object.defineProperty(F51,"isAxiosError",{value:!0});x2.from=(e,t,a,c,n,r)=>{const i=Object.create(F51);return T1.toFlatObject(e,i,function(l){return l!==Error.prototype},o=>o!=="isAxiosError"),x2.call(i,e.message,t,a,c,n),i.cause=e,i.name=e.name,r&&Object.assign(i,r),i};const iA1=null;function yY(e){return T1.isPlainObject(e)||T1.isArray(e)}function q51(e){return T1.endsWith(e,"[]")?e.slice(0,-2):e}function U21(e,t,a){return e?e.concat(t).map(function(n,r){return n=q51(n),!a&&r?"["+n+"]":n}).join(a?".":""):t}function oA1(e){return T1.isArray(e)&&!e.some(yY)}const sA1=T1.toFlatObject(T1,{},null,function(t){return/^is[A-Z]/.test(t)});function O$(e,t,a){if(!T1.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,a=T1.toFlatObject(a,{metaTokens:!0,dots:!1,indexes:!1},!1,function(m,y){return!T1.isUndefined(y[m])});const c=a.metaTokens,n=a.visitor||u,r=a.dots,i=a.indexes,l=(a.Blob||typeof Blob<"u"&&Blob)&&T1.isSpecCompliantForm(t);if(!T1.isFunction(n))throw new TypeError("visitor must be a function");function f(v){if(v===null)return"";if(T1.isDate(v))return v.toISOString();if(!l&&T1.isBlob(v))throw new x2("Blob is not supported. Use a Buffer instead.");return T1.isArrayBuffer(v)||T1.isTypedArray(v)?l&&typeof Blob=="function"?new Blob([v]):Buffer.from(v):v}function u(v,m,y){let g=v;if(v&&!y&&typeof v=="object"){if(T1.endsWith(m,"{}"))m=c?m:m.slice(0,-2),v=JSON.stringify(v);else if(T1.isArray(v)&&oA1(v)||(T1.isFileList(v)||T1.endsWith(m,"[]"))&&(g=T1.toArray(v)))return m=q51(m),g.forEach(function(x,k){!(T1.isUndefined(x)||x===null)&&t.append(i===!0?U21([m],k,r):i===null?m:m+"[]",f(x))}),!1}return yY(v)?!0:(t.append(U21(y,m,r),f(v)),!1)}const d=[],h=Object.assign(sA1,{defaultVisitor:u,convertValue:f,isVisitable:yY});function p(v,m){if(!T1.isUndefined(v)){if(d.indexOf(v)!==-1)throw Error("Circular reference detected in "+m.join("."));d.push(v),T1.forEach(v,function(g,M){(!(T1.isUndefined(g)||g===null)&&n.call(t,g,T1.isString(M)?M.trim():M,m,h))===!0&&p(g,m?m.concat(M):[M])}),d.pop()}}if(!T1.isObject(e))throw new TypeError("data must be an object");return p(e),t}function W21(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(c){return t[c]})}function WZ(e,t){this._pairs=[],e&&O$(e,this,t)}const j51=WZ.prototype;j51.append=function(t,a){this._pairs.push([t,a])};j51.toString=function(t){const a=t?function(c){return t.call(this,c,W21)}:W21;return this._pairs.map(function(n){return a(n[0])+"="+a(n[1])},"").join("&")};function lA1(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function U51(e,t,a){if(!t)return e;const c=a&&a.encode||lA1;T1.isFunction(a)&&(a={serialize:a});const n=a&&a.serialize;let r;if(n?r=n(t,a):r=T1.isURLSearchParams(t)?t.toString():new WZ(t,a).toString(c),r){const i=e.indexOf("#");i!==-1&&(e=e.slice(0,i)),e+=(e.indexOf("?")===-1?"?":"&")+r}return e}class fA1{constructor(){this.handlers=[]}use(t,a,c){return this.handlers.push({fulfilled:t,rejected:a,synchronous:c?c.synchronous:!1,runWhen:c?c.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){T1.forEach(this.handlers,function(c){c!==null&&t(c)})}}const Y21=fA1,W51={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},uA1=typeof URLSearchParams<"u"?URLSearchParams:WZ,dA1=typeof FormData<"u"?FormData:null,hA1=typeof Blob<"u"?Blob:null,pA1={isBrowser:!0,classes:{URLSearchParams:uA1,FormData:dA1,Blob:hA1},protocols:["http","https","file","blob","url","data"]},YZ=typeof window<"u"&&typeof document<"u",gY=typeof navigator=="object"&&navigator||void 0,mA1=YZ&&(!gY||["ReactNative","NativeScript","NS"].indexOf(gY.product)<0),vA1=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),yA1=YZ&&window.location.href||"http://localhost",gA1=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:YZ,hasStandardBrowserEnv:mA1,hasStandardBrowserWebWorkerEnv:vA1,navigator:gY,origin:yA1},Symbol.toStringTag,{value:"Module"})),h4={...gA1,...pA1};function MA1(e,t){return O$(e,new h4.classes.URLSearchParams,Object.assign({visitor:function(a,c,n,r){return h4.isNode&&T1.isBuffer(a)?(this.append(c,a.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},t))}function kA1(e){return T1.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function xA1(e){const t={},a=Object.keys(e);let c;const n=a.length;let r;for(c=0;c<n;c++)r=a[c],t[r]=e[r];return t}function Y51(e){function t(a,c,n,r){let i=a[r++];if(i==="__proto__")return!0;const o=Number.isFinite(+i),l=r>=a.length;return i=!i&&T1.isArray(n)?n.length:i,l?(T1.hasOwnProp(n,i)?n[i]=[n[i],c]:n[i]=c,!o):((!n[i]||!T1.isObject(n[i]))&&(n[i]=[]),t(a,c,n[i],r)&&T1.isArray(n[i])&&(n[i]=xA1(n[i])),!o)}if(T1.isFormData(e)&&T1.isFunction(e.entries)){const a={};return T1.forEachEntry(e,(c,n)=>{t(kA1(c),n,a,0)}),a}return null}function bA1(e,t,a){if(T1.isString(e))try{return(t||JSON.parse)(e),T1.trim(e)}catch(c){if(c.name!=="SyntaxError")throw c}return(a||JSON.stringify)(e)}const GZ={transitional:W51,adapter:["xhr","http","fetch"],transformRequest:[function(t,a){const c=a.getContentType()||"",n=c.indexOf("application/json")>-1,r=T1.isObject(t);if(r&&T1.isHTMLForm(t)&&(t=new FormData(t)),T1.isFormData(t))return n?JSON.stringify(Y51(t)):t;if(T1.isArrayBuffer(t)||T1.isBuffer(t)||T1.isStream(t)||T1.isFile(t)||T1.isBlob(t)||T1.isReadableStream(t))return t;if(T1.isArrayBufferView(t))return t.buffer;if(T1.isURLSearchParams(t))return a.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let o;if(r){if(c.indexOf("application/x-www-form-urlencoded")>-1)return MA1(t,this.formSerializer).toString();if((o=T1.isFileList(t))||c.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return O$(o?{"files[]":t}:t,l&&new l,this.formSerializer)}}return r||n?(a.setContentType("application/json",!1),bA1(t)):t}],transformResponse:[function(t){const a=this.transitional||GZ.transitional,c=a&&a.forcedJSONParsing,n=this.responseType==="json";if(T1.isResponse(t)||T1.isReadableStream(t))return t;if(t&&T1.isString(t)&&(c&&!this.responseType||n)){const i=!(a&&a.silentJSONParsing)&&n;try{return JSON.parse(t)}catch(o){if(i)throw o.name==="SyntaxError"?x2.from(o,x2.ERR_BAD_RESPONSE,this,null,this.response):o}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:h4.classes.FormData,Blob:h4.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};T1.forEach(["delete","get","head","post","put","patch"],e=>{GZ.headers[e]={}});const ZZ=GZ,zA1=T1.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"]),CA1=e=>{const t={};let a,c,n;return e&&e.split(`
|
|
7
7
|
`).forEach(function(i){n=i.indexOf(":"),a=i.substring(0,n).trim().toLowerCase(),c=i.substring(n+1).trim(),!(!a||t[a]&&zA1[a])&&(a==="set-cookie"?t[a]?t[a].push(c):t[a]=[c]:t[a]=t[a]?t[a]+", "+c:c)}),t},G21=Symbol("internals");function Bs(e){return e&&String(e).trim().toLowerCase()}function dh(e){return e===!1||e==null?e:T1.isArray(e)?e.map(dh):String(e)}function _A1(e){const t=Object.create(null),a=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let c;for(;c=a.exec(e);)t[c[1]]=c[2];return t}const wA1=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Jj(e,t,a,c,n){if(T1.isFunction(c))return c.call(this,t,a);if(n&&(t=a),!!T1.isString(t)){if(T1.isString(c))return t.indexOf(c)!==-1;if(T1.isRegExp(c))return c.test(t)}}function HA1(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,a,c)=>a.toUpperCase()+c)}function LA1(e,t){const a=T1.toCamelCase(" "+t);["get","set","has"].forEach(c=>{Object.defineProperty(e,c+a,{value:function(n,r,i){return this[c].call(this,t,n,r,i)},configurable:!0})})}class I${constructor(t){t&&this.set(t)}set(t,a,c){const n=this;function r(o,l,f){const u=Bs(l);if(!u)throw new Error("header name must be a non-empty string");const d=T1.findKey(n,u);(!d||n[d]===void 0||f===!0||f===void 0&&n[d]!==!1)&&(n[d||l]=dh(o))}const i=(o,l)=>T1.forEach(o,(f,u)=>r(f,u,l));if(T1.isPlainObject(t)||t instanceof this.constructor)i(t,a);else if(T1.isString(t)&&(t=t.trim())&&!wA1(t))i(CA1(t),a);else if(T1.isHeaders(t))for(const[o,l]of t.entries())r(l,o,c);else t!=null&&r(a,t,c);return this}get(t,a){if(t=Bs(t),t){const c=T1.findKey(this,t);if(c){const n=this[c];if(!a)return n;if(a===!0)return _A1(n);if(T1.isFunction(a))return a.call(this,n,c);if(T1.isRegExp(a))return a.exec(n);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,a){if(t=Bs(t),t){const c=T1.findKey(this,t);return!!(c&&this[c]!==void 0&&(!a||Jj(this,this[c],c,a)))}return!1}delete(t,a){const c=this;let n=!1;function r(i){if(i=Bs(i),i){const o=T1.findKey(c,i);o&&(!a||Jj(c,c[o],o,a))&&(delete c[o],n=!0)}}return T1.isArray(t)?t.forEach(r):r(t),n}clear(t){const a=Object.keys(this);let c=a.length,n=!1;for(;c--;){const r=a[c];(!t||Jj(this,this[r],r,t,!0))&&(delete this[r],n=!0)}return n}normalize(t){const a=this,c={};return T1.forEach(this,(n,r)=>{const i=T1.findKey(c,r);if(i){a[i]=dh(n),delete a[r];return}const o=t?HA1(r):String(r).trim();o!==r&&delete a[r],a[o]=dh(n),c[o]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const a=Object.create(null);return T1.forEach(this,(c,n)=>{c!=null&&c!==!1&&(a[n]=t&&T1.isArray(c)?c.join(", "):c)}),a}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,a])=>t+": "+a).join(`
|
|
8
8
|
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...a){const c=new this(t);return a.forEach(n=>c.set(n)),c}static accessor(t){const c=(this[G21]=this[G21]={accessors:{}}).accessors,n=this.prototype;function r(i){const o=Bs(i);c[o]||(LA1(n,i),c[o]=!0)}return T1.isArray(t)?t.forEach(r):r(t),this}}I$.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);T1.reduceDescriptors(I$.prototype,({value:e},t)=>{let a=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(c){this[a]=c}}});T1.freezeMethods(I$);const s6=I$;function eU(e,t){const a=this||ZZ,c=t||a,n=s6.from(c.headers);let r=c.data;return T1.forEach(e,function(o){r=o.call(a,r,n.normalize(),t?t.status:void 0)}),n.normalize(),r}function G51(e){return!!(e&&e.__CANCEL__)}function xs(e,t,a){x2.call(this,e??"canceled",x2.ERR_CANCELED,t,a),this.name="CanceledError"}T1.inherits(xs,x2,{__CANCEL__:!0});function Z51(e,t,a){const c=a.config.validateStatus;!a.status||!c||c(a.status)?e(a):t(new x2("Request failed with status code "+a.status,[x2.ERR_BAD_REQUEST,x2.ERR_BAD_RESPONSE][Math.floor(a.status/100)-4],a.config,a.request,a))}function VA1(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function SA1(e,t){e=e||10;const a=new Array(e),c=new Array(e);let n=0,r=0,i;return t=t!==void 0?t:1e3,function(l){const f=Date.now(),u=c[r];i||(i=f),a[n]=l,c[n]=f;let d=r,h=0;for(;d!==n;)h+=a[d++],d=d%e;if(n=(n+1)%e,n===r&&(r=(r+1)%e),f-i<t)return;const p=u&&f-u;return p?Math.round(h*1e3/p):void 0}}function NA1(e,t){let a=0,c=1e3/t,n,r;const i=(f,u=Date.now())=>{a=u,n=null,r&&(clearTimeout(r),r=null),e.apply(null,f)};return[(...f)=>{const u=Date.now(),d=u-a;d>=c?i(f,u):(n=f,r||(r=setTimeout(()=>{r=null,i(n)},c-d)))},()=>n&&i(n)]}const oF=(e,t,a=3)=>{let c=0;const n=SA1(50,250);return NA1(r=>{const i=r.loaded,o=r.lengthComputable?r.total:void 0,l=i-c,f=n(l),u=i<=o;c=i;const d={loaded:i,total:o,progress:o?i/o:void 0,bytes:l,rate:f||void 0,estimated:f&&o&&u?(o-i)/f:void 0,event:r,lengthComputable:o!=null,[t?"download":"upload"]:!0};e(d)},a)},Z21=(e,t)=>{const a=e!=null;return[c=>t[0]({lengthComputable:a,total:e,loaded:c}),t[1]]},X21=e=>(...t)=>T1.asap(()=>e(...t)),AA1=h4.hasStandardBrowserEnv?((e,t)=>a=>(a=new URL(a,h4.origin),e.protocol===a.protocol&&e.host===a.host&&(t||e.port===a.port)))(new URL(h4.origin),h4.navigator&&/(msie|trident)/i.test(h4.navigator.userAgent)):()=>!0,TA1=h4.hasStandardBrowserEnv?{write(e,t,a,c,n,r){const i=[e+"="+encodeURIComponent(t)];T1.isNumber(a)&&i.push("expires="+new Date(a).toGMTString()),T1.isString(c)&&i.push("path="+c),T1.isString(n)&&i.push("domain="+n),r===!0&&i.push("secure"),document.cookie=i.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function EA1(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function DA1(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function X51(e,t){return e&&!EA1(t)?DA1(e,t):t}const K21=e=>e instanceof s6?{...e}:e;function si(e,t){t=t||{};const a={};function c(f,u,d,h){return T1.isPlainObject(f)&&T1.isPlainObject(u)?T1.merge.call({caseless:h},f,u):T1.isPlainObject(u)?T1.merge({},u):T1.isArray(u)?u.slice():u}function n(f,u,d,h){if(T1.isUndefined(u)){if(!T1.isUndefined(f))return c(void 0,f,d,h)}else return c(f,u,d,h)}function r(f,u){if(!T1.isUndefined(u))return c(void 0,u)}function i(f,u){if(T1.isUndefined(u)){if(!T1.isUndefined(f))return c(void 0,f)}else return c(void 0,u)}function o(f,u,d){if(d in t)return c(f,u);if(d in e)return c(void 0,f)}const l={url:r,method:r,data:r,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,responseEncoding:i,validateStatus:o,headers:(f,u,d)=>n(K21(f),K21(u),d,!0)};return T1.forEach(Object.keys(Object.assign({},e,t)),function(u){const d=l[u]||n,h=d(e[u],t[u],u);T1.isUndefined(h)&&d!==o||(a[u]=h)}),a}const K51=e=>{const t=si({},e);let{data:a,withXSRFToken:c,xsrfHeaderName:n,xsrfCookieName:r,headers:i,auth:o}=t;t.headers=i=s6.from(i),t.url=U51(X51(t.baseURL,t.url),e.params,e.paramsSerializer),o&&i.set("Authorization","Basic "+btoa((o.username||"")+":"+(o.password?unescape(encodeURIComponent(o.password)):"")));let l;if(T1.isFormData(a)){if(h4.hasStandardBrowserEnv||h4.hasStandardBrowserWebWorkerEnv)i.setContentType(void 0);else if((l=i.getContentType())!==!1){const[f,...u]=l?l.split(";").map(d=>d.trim()).filter(Boolean):[];i.setContentType([f||"multipart/form-data",...u].join("; "))}}if(h4.hasStandardBrowserEnv&&(c&&T1.isFunction(c)&&(c=c(t)),c||c!==!1&&AA1(t.url))){const f=n&&r&&TA1.read(r);f&&i.set(n,f)}return t},PA1=typeof XMLHttpRequest<"u",OA1=PA1&&function(e){return new Promise(function(a,c){const n=K51(e);let r=n.data;const i=s6.from(n.headers).normalize();let{responseType:o,onUploadProgress:l,onDownloadProgress:f}=n,u,d,h,p,v;function m(){p&&p(),v&&v(),n.cancelToken&&n.cancelToken.unsubscribe(u),n.signal&&n.signal.removeEventListener("abort",u)}let y=new XMLHttpRequest;y.open(n.method.toUpperCase(),n.url,!0),y.timeout=n.timeout;function g(){if(!y)return;const x=s6.from("getAllResponseHeaders"in y&&y.getAllResponseHeaders()),b={data:!o||o==="text"||o==="json"?y.responseText:y.response,status:y.status,statusText:y.statusText,headers:x,config:e,request:y};Z51(function(C){a(C),m()},function(C){c(C),m()},b),y=null}"onloadend"in y?y.onloadend=g:y.onreadystatechange=function(){!y||y.readyState!==4||y.status===0&&!(y.responseURL&&y.responseURL.indexOf("file:")===0)||setTimeout(g)},y.onabort=function(){y&&(c(new x2("Request aborted",x2.ECONNABORTED,e,y)),y=null)},y.onerror=function(){c(new x2("Network Error",x2.ERR_NETWORK,e,y)),y=null},y.ontimeout=function(){let k=n.timeout?"timeout of "+n.timeout+"ms exceeded":"timeout exceeded";const b=n.transitional||W51;n.timeoutErrorMessage&&(k=n.timeoutErrorMessage),c(new x2(k,b.clarifyTimeoutError?x2.ETIMEDOUT:x2.ECONNABORTED,e,y)),y=null},r===void 0&&i.setContentType(null),"setRequestHeader"in y&&T1.forEach(i.toJSON(),function(k,b){y.setRequestHeader(b,k)}),T1.isUndefined(n.withCredentials)||(y.withCredentials=!!n.withCredentials),o&&o!=="json"&&(y.responseType=n.responseType),f&&([h,v]=oF(f,!0),y.addEventListener("progress",h)),l&&y.upload&&([d,p]=oF(l),y.upload.addEventListener("progress",d),y.upload.addEventListener("loadend",p)),(n.cancelToken||n.signal)&&(u=x=>{y&&(c(!x||x.type?new xs(null,e,y):x),y.abort(),y=null)},n.cancelToken&&n.cancelToken.subscribe(u),n.signal&&(n.signal.aborted?u():n.signal.addEventListener("abort",u)));const M=VA1(n.url);if(M&&h4.protocols.indexOf(M)===-1){c(new x2("Unsupported protocol "+M+":",x2.ERR_BAD_REQUEST,e));return}y.send(r||null)})},IA1=(e,t)=>{const{length:a}=e=e?e.filter(Boolean):[];if(t||a){let c=new AbortController,n;const r=function(f){if(!n){n=!0,o();const u=f instanceof Error?f:this.reason;c.abort(u instanceof x2?u:new xs(u instanceof Error?u.message:u))}};let i=t&&setTimeout(()=>{i=null,r(new x2(`timeout ${t} of ms exceeded`,x2.ETIMEDOUT))},t);const o=()=>{e&&(i&&clearTimeout(i),i=null,e.forEach(f=>{f.unsubscribe?f.unsubscribe(r):f.removeEventListener("abort",r)}),e=null)};e.forEach(f=>f.addEventListener("abort",r));const{signal:l}=c;return l.unsubscribe=()=>T1.asap(o),l}},BA1=IA1,RA1=function*(e,t){let a=e.byteLength;if(!t||a<t){yield e;return}let c=0,n;for(;c<a;)n=c+t,yield e.slice(c,n),c=n},FA1=async function*(e,t){for await(const a of $A1(e))yield*RA1(a,t)},$A1=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:a,value:c}=await t.read();if(a)break;yield c}}finally{await t.cancel()}},Q21=(e,t,a,c)=>{const n=FA1(e,t);let r=0,i,o=l=>{i||(i=!0,c&&c(l))};return new ReadableStream({async pull(l){try{const{done:f,value:u}=await n.next();if(f){o(),l.close();return}let d=u.byteLength;if(a){let h=r+=d;a(h)}l.enqueue(new Uint8Array(u))}catch(f){throw o(f),f}},cancel(l){return o(l),n.return()}},{highWaterMark:2})},B$=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",Q51=B$&&typeof ReadableStream=="function",qA1=B$&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),J51=(e,...t)=>{try{return!!e(...t)}catch{return!1}},jA1=Q51&&J51(()=>{let e=!1;const t=new Request(h4.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),J21=64*1024,MY=Q51&&J51(()=>T1.isReadableStream(new Response("").body)),sF={stream:MY&&(e=>e.body)};B$&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!sF[t]&&(sF[t]=T1.isFunction(e[t])?a=>a[t]():(a,c)=>{throw new x2(`Response type '${t}' is not supported`,x2.ERR_NOT_SUPPORT,c)})})})(new Response);const UA1=async e=>{if(e==null)return 0;if(T1.isBlob(e))return e.size;if(T1.isSpecCompliantForm(e))return(await new Request(h4.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(T1.isArrayBufferView(e)||T1.isArrayBuffer(e))return e.byteLength;if(T1.isURLSearchParams(e)&&(e=e+""),T1.isString(e))return(await qA1(e)).byteLength},WA1=async(e,t)=>{const a=T1.toFiniteNumber(e.getContentLength());return a??UA1(t)},YA1=B$&&(async e=>{let{url:t,method:a,data:c,signal:n,cancelToken:r,timeout:i,onDownloadProgress:o,onUploadProgress:l,responseType:f,headers:u,withCredentials:d="same-origin",fetchOptions:h}=K51(e);f=f?(f+"").toLowerCase():"text";let p=BA1([n,r&&r.toAbortSignal()],i),v;const m=p&&p.unsubscribe&&(()=>{p.unsubscribe()});let y;try{if(l&&jA1&&a!=="get"&&a!=="head"&&(y=await WA1(u,c))!==0){let b=new Request(t,{method:"POST",body:c,duplex:"half"}),_;if(T1.isFormData(c)&&(_=b.headers.get("content-type"))&&u.setContentType(_),b.body){const[C,H]=Z21(y,oF(X21(l)));c=Q21(b.body,J21,C,H)}}T1.isString(d)||(d=d?"include":"omit");const g="credentials"in Request.prototype;v=new Request(t,{...h,signal:p,method:a.toUpperCase(),headers:u.normalize().toJSON(),body:c,duplex:"half",credentials:g?d:void 0});let M=await fetch(v);const x=MY&&(f==="stream"||f==="response");if(MY&&(o||x&&m)){const b={};["status","statusText","headers"].forEach(V=>{b[V]=M[V]});const _=T1.toFiniteNumber(M.headers.get("content-length")),[C,H]=o&&Z21(_,oF(X21(o),!0))||[];M=new Response(Q21(M.body,J21,C,()=>{H&&H(),m&&m()}),b)}f=f||"text";let k=await sF[T1.findKey(sF,f)||"text"](M,e);return!x&&m&&m(),await new Promise((b,_)=>{Z51(b,_,{data:k,headers:s6.from(M.headers),status:M.status,statusText:M.statusText,config:e,request:v})})}catch(g){throw m&&m(),g&&g.name==="TypeError"&&/fetch/i.test(g.message)?Object.assign(new x2("Network Error",x2.ERR_NETWORK,e,v),{cause:g.cause||g}):x2.from(g,g&&g.code,e,v)}}),kY={http:iA1,xhr:OA1,fetch:YA1};T1.forEach(kY,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const e31=e=>`- ${e}`,GA1=e=>T1.isFunction(e)||e===null||e===!1,ec1={getAdapter:e=>{e=T1.isArray(e)?e:[e];const{length:t}=e;let a,c;const n={};for(let r=0;r<t;r++){a=e[r];let i;if(c=a,!GA1(a)&&(c=kY[(i=String(a)).toLowerCase()],c===void 0))throw new x2(`Unknown adapter '${i}'`);if(c)break;n[i||"#"+r]=c}if(!c){const r=Object.entries(n).map(([o,l])=>`adapter ${o} `+(l===!1?"is not supported by the environment":"is not available in the build"));let i=t?r.length>1?`since :
|
|
9
9
|
`+r.map(e31).join(`
|
package/dist/main.es.js
CHANGED
|
@@ -1123,8 +1123,8 @@ var xc1 = { exports: {} };
|
|
|
1123
1123
|
var Ee = xc1.exports;
|
|
1124
1124
|
const zc1 = {
|
|
1125
1125
|
first: { light: "#2a2a2a", dark: "#f5f5f5", contrast: { light: "#fdfdfd", dark: "#222222" } },
|
|
1126
|
-
second: { light: "#484848", dark: "#cfcfcf", contrast: { light: "#
|
|
1127
|
-
third: { light: "#666666", dark: "#aaaaaa", contrast: { light: "#
|
|
1126
|
+
second: { light: "#484848", dark: "#cfcfcf", contrast: { light: "#f9f9f9", dark: "#2b2b2b" } },
|
|
1127
|
+
third: { light: "#666666", dark: "#aaaaaa", contrast: { light: "#f5f5f5", dark: "#343434" } },
|
|
1128
1128
|
primary: { light: "#218c5a", dark: "#218c5a", contrast: { light: "#ffffff", dark: "#ffffff" } },
|
|
1129
1129
|
secondary: { light: "#218c5a", dark: "#218c5a", contrast: { light: "#ffffff", dark: "#ffffff" } },
|
|
1130
1130
|
success: { light: "#4caf50", dark: "#6bbf55", contrast: { light: "#ffffff", dark: "#ffffff" } },
|