@emqx/shared-ui-utils 0.0.12 → 0.0.13

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.
@@ -1,15 +1,74 @@
1
- (function(N,ne){typeof exports=="object"&&typeof module<"u"?ne(exports):typeof define=="function"&&define.amd?define(["exports"],ne):(N=typeof globalThis<"u"?globalThis:N||self,ne(N["@emqx/shared-ui-utils"]={}))})(this,function(N){"use strict";const ne=(i,E=[],m={})=>{if(typeof i=="object"&&!Array.isArray(i)&&i!==null)for(const c of Object.keys(i))ne(i[c],E.concat(c),m);else m[E.join(".")]=i;return m},be=i=>{if(Object(i)!==i&&!Array.isArray(i))return i;const E=/\.?([^.[\]]+)|\[(\d+)\]/g,m={};try{for(const c in i){let W=m,Z="",H;for(;H=E.exec(c);)W=W[Z]||(W[Z]=H[2]?[]:{}),Z=H[2]||H[1];W[Z]=i[c]}}catch(c){console.error(c)}return m[""]||m},we=i=>Object.keys(i).length===0,Ee=i=>{try{return JSON.parse(i)}catch{console.error("An error occurred while parsing the JSON string")}},Ce=(i,E)=>{try{return typeof i=="string"?i:JSON.stringify(i,null,E)}catch(m){return console.error(m),"stringify error"}},Re=i=>{if(typeof i!="string")return!1;try{const E=JSON.parse(i);return typeof E=="object"&&E!==null}catch{return!1}},Oe=i=>{if(typeof i!="number"||isNaN(i)||i<0)throw new Error("Invalid input: input should be a non-negative number");if(i===0)return"0 Bytes";const E=["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"],m=Math.floor(Math.log(i)/Math.log(1024));return`${(i/1024**m).toFixed(1)} ${E[m]}`};var de=(i=>(i[i.ms=1]="ms",i[i.s=1e3]="s",i[i.m=6e4]="m",i[i.h=36e5]="h",i[i.d=864e5]="d",i[i.B=1]="B",i[i.KB=1024]="KB",i[i.MB=1048576]="MB",i[i.GB=1073741824]="GB",i))(de||{});const xe=(i,E)=>{if(!(E in de))throw new Error(`Invalid unit: ${E}`);return i*de[E]},_e=(i,E)=>{const m=document.createElement("a");m.style.display="none",m.href=i,m.download=E,document.body.appendChild(m),m.click(),document.body.removeChild(m)},Ae=(i,E)=>{const m=window.URL.createObjectURL(new Blob([i]));_e(m,E),window.URL.revokeObjectURL(m)};var Ie=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},De={exports:{}};/* @license
1
+ (function(we,Pt){typeof exports=="object"&&typeof module<"u"?Pt(exports):typeof define=="function"&&define.amd?define(["exports"],Pt):(we=typeof globalThis<"u"?globalThis:we||self,Pt(we["@emqx/shared-ui-utils"]={}))})(this,function(we){"use strict";const Pt=(e,t=[],n={})=>{if(typeof e=="object"&&!Array.isArray(e)&&e!==null)for(const r of Object.keys(e))Pt(e[r],t.concat(r),n);else n[t.join(".")]=e;return n},aa=e=>{if(Object(e)!==e&&!Array.isArray(e))return e;const t=/\.?([^.[\]]+)|\[(\d+)\]/g,n={};try{for(const r in e){let o=n,s="",a;for(;a=t.exec(r);)o=o[s]||(o[s]=a[2]?[]:{}),s=a[2]||a[1];o[s]=e[r]}}catch(r){console.error(r)}return n[""]||n},ia=e=>Object.keys(e).length===0,la=e=>{try{return JSON.parse(e)}catch{console.error("An error occurred while parsing the JSON string")}},ca=(e,t)=>{try{return typeof e=="string"?e:JSON.stringify(e,null,t)}catch(n){return console.error(n),"stringify error"}},ua=e=>{if(typeof e!="string")return!1;try{const t=JSON.parse(e);return typeof t=="object"&&t!==null}catch{return!1}},fa=e=>{if(typeof e!="number"||isNaN(e)||e<0)throw new Error("Invalid input: input should be a non-negative number");if(e===0)return"0 Bytes";const t=["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"],n=Math.floor(Math.log(e)/Math.log(1024));return`${(e/1024**n).toFixed(1)} ${t[n]}`};var Vn=(e=>(e[e.ms=1]="ms",e[e.s=1e3]="s",e[e.m=6e4]="m",e[e.h=36e5]="h",e[e.d=864e5]="d",e[e.B=1]="B",e[e.KB=1024]="KB",e[e.MB=1048576]="MB",e[e.GB=1073741824]="GB",e))(Vn||{});const _a=(e,t)=>{if(!(t in Vn))throw new Error(`Invalid unit: ${t}`);return e*Vn[t]},Ur=(e,t)=>{const n=document.createElement("a");n.style.display="none",n.href=e,n.download=t,document.body.appendChild(n),n.click(),document.body.removeChild(n)},xr=(e,t)=>{const n=window.URL.createObjectURL(new Blob([e]));Ur(n,t),window.URL.revokeObjectURL(n)};var da=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function pa(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var $r={exports:{}};/* @license
2
2
  Papa Parse
3
3
  v5.4.1
4
4
  https://github.com/mholt/PapaParse
5
5
  License: MIT
6
- */(function(i,E){(function(m,c){i.exports=c()})(Ie,function m(){var c=typeof self<"u"?self:typeof window<"u"?window:c!==void 0?c:{},W=!c.document&&!!c.postMessage,Z=c.IS_PAPA_WORKER||!1,H={},Le=0,l={parse:function(t,e){var r=(e=e||{}).dynamicTyping||!1;if(_(r)&&(e.dynamicTypingFunction=r,r={}),e.dynamicTyping=r,e.transform=!!_(e.transform)&&e.transform,e.worker&&l.WORKERS_SUPPORTED){var n=function(){if(!l.WORKERS_SUPPORTED)return!1;var f=(S=c.URL||c.webkitURL||null,C=m.toString(),l.BLOB_URL||(l.BLOB_URL=S.createObjectURL(new Blob(["var global = (function() { if (typeof self !== 'undefined') { return self; } if (typeof window !== 'undefined') { return window; } if (typeof global !== 'undefined') { return global; } return {}; })(); global.IS_PAPA_WORKER=true; ","(",C,")();"],{type:"text/javascript"})))),d=new c.Worker(f),S,C;return d.onmessage=Se,d.id=Le++,H[d.id]=d}();return n.userStep=e.step,n.userChunk=e.chunk,n.userComplete=e.complete,n.userError=e.error,e.step=_(e.step),e.chunk=_(e.chunk),e.complete=_(e.complete),e.error=_(e.error),delete e.worker,void n.postMessage({input:t,config:e,workerId:n.id})}var a=null;return l.NODE_STREAM_INPUT,typeof t=="string"?(t=function(f){return f.charCodeAt(0)===65279?f.slice(1):f}(t),a=e.download?new ue(e):new ae(e)):t.readable===!0&&_(t.read)&&_(t.on)?a=new fe(e):(c.File&&t instanceof File||t instanceof Object)&&(a=new he(e)),a.stream(t)},unparse:function(t,e){var r=!1,n=!0,a=",",f=`\r
7
- `,d='"',S=d+d,C=!1,o=null,O=!1;(function(){if(typeof e=="object"){if(typeof e.delimiter!="string"||l.BAD_DELIMITERS.filter(function(s){return e.delimiter.indexOf(s)!==-1}).length||(a=e.delimiter),(typeof e.quotes=="boolean"||typeof e.quotes=="function"||Array.isArray(e.quotes))&&(r=e.quotes),typeof e.skipEmptyLines!="boolean"&&typeof e.skipEmptyLines!="string"||(C=e.skipEmptyLines),typeof e.newline=="string"&&(f=e.newline),typeof e.quoteChar=="string"&&(d=e.quoteChar),typeof e.header=="boolean"&&(n=e.header),Array.isArray(e.columns)){if(e.columns.length===0)throw new Error("Option columns is empty");o=e.columns}e.escapeChar!==void 0&&(S=e.escapeChar+d),(typeof e.escapeFormulae=="boolean"||e.escapeFormulae instanceof RegExp)&&(O=e.escapeFormulae instanceof RegExp?e.escapeFormulae:/^[=+\-@\t\r].*$/)}})();var h=new RegExp(oe(d),"g");if(typeof t=="string"&&(t=JSON.parse(t)),Array.isArray(t)){if(!t.length||Array.isArray(t[0]))return z(null,t,C);if(typeof t[0]=="object")return z(o||Object.keys(t[0]),t,C)}else if(typeof t=="object")return typeof t.data=="string"&&(t.data=JSON.parse(t.data)),Array.isArray(t.data)&&(t.fields||(t.fields=t.meta&&t.meta.fields||o),t.fields||(t.fields=Array.isArray(t.data[0])?t.fields:typeof t.data[0]=="object"?Object.keys(t.data[0]):[]),Array.isArray(t.data[0])||typeof t.data[0]=="object"||(t.data=[t.data])),z(t.fields||[],t.data||[],C);throw new Error("Unable to serialize unrecognized input");function z(s,k,T){var R="";typeof s=="string"&&(s=JSON.parse(s)),typeof k=="string"&&(k=JSON.parse(k));var B=Array.isArray(s)&&0<s.length,D=!Array.isArray(k[0]);if(B&&n){for(var L=0;L<s.length;L++)0<L&&(R+=a),R+=F(s[L],L);0<k.length&&(R+=f)}for(var u=0;u<k.length;u++){var p=B?s.length:k[u].length,b=!1,I=B?Object.keys(k[u]).length===0:k[u].length===0;if(T&&!B&&(b=T==="greedy"?k[u].join("").trim()==="":k[u].length===1&&k[u][0].length===0),T==="greedy"&&B){for(var y=[],M=0;M<p;M++){var x=D?s[M]:M;y.push(k[u][x])}b=y.join("").trim()===""}if(!b){for(var v=0;v<p;v++){0<v&&!I&&(R+=a);var J=B&&D?s[v]:v;R+=F(k[u][J],v)}u<k.length-1&&(!T||0<p&&!I)&&(R+=f)}}return R}function F(s,k){if(s==null)return"";if(s.constructor===Date)return JSON.stringify(s).slice(1,25);var T=!1;O&&typeof s=="string"&&O.test(s)&&(s="'"+s,T=!0);var R=s.toString().replace(h,S);return(T=T||r===!0||typeof r=="function"&&r(s,k)||Array.isArray(r)&&r[k]||function(B,D){for(var L=0;L<D.length;L++)if(-1<B.indexOf(D[L]))return!0;return!1}(R,l.BAD_DELIMITERS)||-1<R.indexOf(a)||R.charAt(0)===" "||R.charAt(R.length-1)===" ")?d+R+d:R}}};if(l.RECORD_SEP=String.fromCharCode(30),l.UNIT_SEP=String.fromCharCode(31),l.BYTE_ORDER_MARK="\uFEFF",l.BAD_DELIMITERS=["\r",`
8
- `,'"',l.BYTE_ORDER_MARK],l.WORKERS_SUPPORTED=!W&&!!c.Worker,l.NODE_STREAM_INPUT=1,l.LocalChunkSize=10485760,l.RemoteChunkSize=5242880,l.DefaultDelimiter=",",l.Parser=ce,l.ParserHandle=ye,l.NetworkStreamer=ue,l.FileStreamer=he,l.StringStreamer=ae,l.ReadableStreamStreamer=fe,c.jQuery){var se=c.jQuery;se.fn.parse=function(t){var e=t.config||{},r=[];return this.each(function(f){if(!(se(this).prop("tagName").toUpperCase()==="INPUT"&&se(this).attr("type").toLowerCase()==="file"&&c.FileReader)||!this.files||this.files.length===0)return!0;for(var d=0;d<this.files.length;d++)r.push({file:this.files[d],inputElem:this,instanceConfig:se.extend({},e)})}),n(),this;function n(){if(r.length!==0){var f,d,S,C,o=r[0];if(_(t.before)){var O=t.before(o.file,o.inputElem);if(typeof O=="object"){if(O.action==="abort")return f="AbortError",d=o.file,S=o.inputElem,C=O.reason,void(_(t.error)&&t.error({name:f},d,S,C));if(O.action==="skip")return void a();typeof O.config=="object"&&(o.instanceConfig=se.extend(o.instanceConfig,O.config))}else if(O==="skip")return void a()}var h=o.instanceConfig.complete;o.instanceConfig.complete=function(z){_(h)&&h(z,o.file,o.inputElem),a()},l.parse(o.file,o.instanceConfig)}else _(t.complete)&&t.complete()}function a(){r.splice(0,1),n()}}}function Q(t){this._handle=null,this._finished=!1,this._completed=!1,this._halted=!1,this._input=null,this._baseIndex=0,this._partialLine="",this._rowCount=0,this._start=0,this._nextChunk=null,this.isFirstChunk=!0,this._completeResults={data:[],errors:[],meta:{}},(function(e){var r=pe(e);r.chunkSize=parseInt(r.chunkSize),e.step||e.chunk||(r.chunkSize=null),this._handle=new ye(r),(this._handle.streamer=this)._config=r}).call(this,t),this.parseChunk=function(e,r){if(this.isFirstChunk&&_(this._config.beforeFirstChunk)){var n=this._config.beforeFirstChunk(e);n!==void 0&&(e=n)}this.isFirstChunk=!1,this._halted=!1;var a=this._partialLine+e;this._partialLine="";var f=this._handle.parse(a,this._baseIndex,!this._finished);if(!this._handle.paused()&&!this._handle.aborted()){var d=f.meta.cursor;this._finished||(this._partialLine=a.substring(d-this._baseIndex),this._baseIndex=d),f&&f.data&&(this._rowCount+=f.data.length);var S=this._finished||this._config.preview&&this._rowCount>=this._config.preview;if(Z)c.postMessage({results:f,workerId:l.WORKER_ID,finished:S});else if(_(this._config.chunk)&&!r){if(this._config.chunk(f,this._handle),this._handle.paused()||this._handle.aborted())return void(this._halted=!0);f=void 0,this._completeResults=void 0}return this._config.step||this._config.chunk||(this._completeResults.data=this._completeResults.data.concat(f.data),this._completeResults.errors=this._completeResults.errors.concat(f.errors),this._completeResults.meta=f.meta),this._completed||!S||!_(this._config.complete)||f&&f.meta.aborted||(this._config.complete(this._completeResults,this._input),this._completed=!0),S||f&&f.meta.paused||this._nextChunk(),f}this._halted=!0},this._sendError=function(e){_(this._config.error)?this._config.error(e):Z&&this._config.error&&c.postMessage({workerId:l.WORKER_ID,error:e,finished:!1})}}function ue(t){var e;(t=t||{}).chunkSize||(t.chunkSize=l.RemoteChunkSize),Q.call(this,t),this._nextChunk=W?function(){this._readChunk(),this._chunkLoaded()}:function(){this._readChunk()},this.stream=function(r){this._input=r,this._nextChunk()},this._readChunk=function(){if(this._finished)this._chunkLoaded();else{if(e=new XMLHttpRequest,this._config.withCredentials&&(e.withCredentials=this._config.withCredentials),W||(e.onload=Y(this._chunkLoaded,this),e.onerror=Y(this._chunkError,this)),e.open(this._config.downloadRequestBody?"POST":"GET",this._input,!W),this._config.downloadRequestHeaders){var r=this._config.downloadRequestHeaders;for(var n in r)e.setRequestHeader(n,r[n])}if(this._config.chunkSize){var a=this._start+this._config.chunkSize-1;e.setRequestHeader("Range","bytes="+this._start+"-"+a)}try{e.send(this._config.downloadRequestBody)}catch(f){this._chunkError(f.message)}W&&e.status===0&&this._chunkError()}},this._chunkLoaded=function(){e.readyState===4&&(e.status<200||400<=e.status?this._chunkError():(this._start+=this._config.chunkSize?this._config.chunkSize:e.responseText.length,this._finished=!this._config.chunkSize||this._start>=function(r){var n=r.getResponseHeader("Content-Range");return n===null?-1:parseInt(n.substring(n.lastIndexOf("/")+1))}(e),this.parseChunk(e.responseText)))},this._chunkError=function(r){var n=e.statusText||r;this._sendError(new Error(n))}}function he(t){var e,r;(t=t||{}).chunkSize||(t.chunkSize=l.LocalChunkSize),Q.call(this,t);var n=typeof FileReader<"u";this.stream=function(a){this._input=a,r=a.slice||a.webkitSlice||a.mozSlice,n?((e=new FileReader).onload=Y(this._chunkLoaded,this),e.onerror=Y(this._chunkError,this)):e=new FileReaderSync,this._nextChunk()},this._nextChunk=function(){this._finished||this._config.preview&&!(this._rowCount<this._config.preview)||this._readChunk()},this._readChunk=function(){var a=this._input;if(this._config.chunkSize){var f=Math.min(this._start+this._config.chunkSize,this._input.size);a=r.call(a,this._start,f)}var d=e.readAsText(a,this._config.encoding);n||this._chunkLoaded({target:{result:d}})},this._chunkLoaded=function(a){this._start+=this._config.chunkSize,this._finished=!this._config.chunkSize||this._start>=this._input.size,this.parseChunk(a.target.result)},this._chunkError=function(){this._sendError(e.error)}}function ae(t){var e;Q.call(this,t=t||{}),this.stream=function(r){return e=r,this._nextChunk()},this._nextChunk=function(){if(!this._finished){var r,n=this._config.chunkSize;return n?(r=e.substring(0,n),e=e.substring(n)):(r=e,e=""),this._finished=!e,this.parseChunk(r)}}}function fe(t){Q.call(this,t=t||{});var e=[],r=!0,n=!1;this.pause=function(){Q.prototype.pause.apply(this,arguments),this._input.pause()},this.resume=function(){Q.prototype.resume.apply(this,arguments),this._input.resume()},this.stream=function(a){this._input=a,this._input.on("data",this._streamData),this._input.on("end",this._streamEnd),this._input.on("error",this._streamError)},this._checkIsFinished=function(){n&&e.length===1&&(this._finished=!0)},this._nextChunk=function(){this._checkIsFinished(),e.length?this.parseChunk(e.shift()):r=!0},this._streamData=Y(function(a){try{e.push(typeof a=="string"?a:a.toString(this._config.encoding)),r&&(r=!1,this._checkIsFinished(),this.parseChunk(e.shift()))}catch(f){this._streamError(f)}},this),this._streamError=Y(function(a){this._streamCleanUp(),this._sendError(a)},this),this._streamEnd=Y(function(){this._streamCleanUp(),n=!0,this._streamData("")},this),this._streamCleanUp=Y(function(){this._input.removeListener("data",this._streamData),this._input.removeListener("end",this._streamEnd),this._input.removeListener("error",this._streamError)},this)}function ye(t){var e,r,n,a=Math.pow(2,53),f=-a,d=/^\s*-?(\d+\.?|\.\d+|\d+\.\d+)([eE][-+]?\d+)?\s*$/,S=/^((\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z)))$/,C=this,o=0,O=0,h=!1,z=!1,F=[],s={data:[],errors:[],meta:{}};if(_(t.step)){var k=t.step;t.step=function(u){if(s=u,B())R();else{if(R(),s.data.length===0)return;o+=u.data.length,t.preview&&o>t.preview?r.abort():(s.data=s.data[0],k(s,C))}}}function T(u){return t.skipEmptyLines==="greedy"?u.join("").trim()==="":u.length===1&&u[0].length===0}function R(){return s&&n&&(L("Delimiter","UndetectableDelimiter","Unable to auto-detect delimiting character; defaulted to '"+l.DefaultDelimiter+"'"),n=!1),t.skipEmptyLines&&(s.data=s.data.filter(function(u){return!T(u)})),B()&&function(){if(!s)return;function u(b,I){_(t.transformHeader)&&(b=t.transformHeader(b,I)),F.push(b)}if(Array.isArray(s.data[0])){for(var p=0;B()&&p<s.data.length;p++)s.data[p].forEach(u);s.data.splice(0,1)}else s.data.forEach(u)}(),function(){if(!s||!t.header&&!t.dynamicTyping&&!t.transform)return s;function u(b,I){var y,M=t.header?{}:[];for(y=0;y<b.length;y++){var x=y,v=b[y];t.header&&(x=y>=F.length?"__parsed_extra":F[y]),t.transform&&(v=t.transform(v,x)),v=D(x,v),x==="__parsed_extra"?(M[x]=M[x]||[],M[x].push(v)):M[x]=v}return t.header&&(y>F.length?L("FieldMismatch","TooManyFields","Too many fields: expected "+F.length+" fields but parsed "+y,O+I):y<F.length&&L("FieldMismatch","TooFewFields","Too few fields: expected "+F.length+" fields but parsed "+y,O+I)),M}var p=1;return!s.data.length||Array.isArray(s.data[0])?(s.data=s.data.map(u),p=s.data.length):s.data=u(s.data,0),t.header&&s.meta&&(s.meta.fields=F),O+=p,s}()}function B(){return t.header&&F.length===0}function D(u,p){return b=u,t.dynamicTypingFunction&&t.dynamicTyping[b]===void 0&&(t.dynamicTyping[b]=t.dynamicTypingFunction(b)),(t.dynamicTyping[b]||t.dynamicTyping)===!0?p==="true"||p==="TRUE"||p!=="false"&&p!=="FALSE"&&(function(I){if(d.test(I)){var y=parseFloat(I);if(f<y&&y<a)return!0}return!1}(p)?parseFloat(p):S.test(p)?new Date(p):p===""?null:p):p;var b}function L(u,p,b,I){var y={type:u,code:p,message:b};I!==void 0&&(y.row=I),s.errors.push(y)}this.parse=function(u,p,b){var I=t.quoteChar||'"';if(t.newline||(t.newline=function(x,v){x=x.substring(0,1048576);var J=new RegExp(oe(v)+"([^]*?)"+oe(v),"gm"),P=(x=x.replace(J,"")).split("\r"),U=x.split(`
9
- `),$=1<U.length&&U[0].length<P[0].length;if(P.length===1||$)return`
10
- `;for(var q=0,w=0;w<P.length;w++)P[w][0]===`
11
- `&&q++;return q>=P.length/2?`\r
12
- `:"\r"}(u,I)),n=!1,t.delimiter)_(t.delimiter)&&(t.delimiter=t.delimiter(u),s.meta.delimiter=t.delimiter);else{var y=function(x,v,J,P,U){var $,q,w,A;U=U||[","," ","|",";",l.RECORD_SEP,l.UNIT_SEP];for(var te=0;te<U.length;te++){var g=U[te],ie=0,G=0,re=0;w=void 0;for(var V=new ce({comments:P,delimiter:g,newline:v,preview:10}).parse(x),X=0;X<V.data.length;X++)if(J&&T(V.data[X]))re++;else{var ee=V.data[X].length;G+=ee,w!==void 0?0<ee&&(ie+=Math.abs(ee-w),w=ee):w=ee}0<V.data.length&&(G/=V.data.length-re),(q===void 0||ie<=q)&&(A===void 0||A<G)&&1.99<G&&(q=ie,$=g,A=G)}return{successful:!!(t.delimiter=$),bestDelimiter:$}}(u,t.newline,t.skipEmptyLines,t.comments,t.delimitersToGuess);y.successful?t.delimiter=y.bestDelimiter:(n=!0,t.delimiter=l.DefaultDelimiter),s.meta.delimiter=t.delimiter}var M=pe(t);return t.preview&&t.header&&M.preview++,e=u,r=new ce(M),s=r.parse(e,p,b),R(),h?{meta:{paused:!0}}:s||{meta:{paused:!1}}},this.paused=function(){return h},this.pause=function(){h=!0,r.abort(),e=_(t.chunk)?"":e.substring(r.getCharIndex())},this.resume=function(){C.streamer._halted?(h=!1,C.streamer.parseChunk(e,!0)):setTimeout(C.resume,3)},this.aborted=function(){return z},this.abort=function(){z=!0,r.abort(),s.meta.aborted=!0,_(t.complete)&&t.complete(s),e=""}}function oe(t){return t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function ce(t){var e,r=(t=t||{}).delimiter,n=t.newline,a=t.comments,f=t.step,d=t.preview,S=t.fastMode,C=e=t.quoteChar===void 0||t.quoteChar===null?'"':t.quoteChar;if(t.escapeChar!==void 0&&(C=t.escapeChar),(typeof r!="string"||-1<l.BAD_DELIMITERS.indexOf(r))&&(r=","),a===r)throw new Error("Comment character same as delimiter");a===!0?a="#":(typeof a!="string"||-1<l.BAD_DELIMITERS.indexOf(a))&&(a=!1),n!==`
13
- `&&n!=="\r"&&n!==`\r
14
- `&&(n=`
15
- `);var o=0,O=!1;this.parse=function(h,z,F){if(typeof h!="string")throw new Error("Input must be a string");var s=h.length,k=r.length,T=n.length,R=a.length,B=_(f),D=[],L=[],u=[],p=o=0;if(!h)return j();if(t.header&&!z){var b=h.split(n)[0].split(r),I=[],y={},M=!1;for(var x in b){var v=b[x];_(t.transformHeader)&&(v=t.transformHeader(v,x));var J=v,P=y[v]||0;for(0<P&&(M=!0,J=v+"_"+P),y[v]=P+1;I.includes(J);)J=J+"_"+P;I.push(J)}if(M){var U=h.split(n);U[0]=I.join(r),h=U.join(n)}}if(S||S!==!1&&h.indexOf(e)===-1){for(var $=h.split(n),q=0;q<$.length;q++){if(u=$[q],o+=u.length,q!==$.length-1)o+=n.length;else if(F)return j();if(!a||u.substring(0,R)!==a){if(B){if(D=[],re(u.split(r)),le(),O)return j()}else re(u.split(r));if(d&&d<=q)return D=D.slice(0,d),j(!0)}}return j()}for(var w=h.indexOf(r,o),A=h.indexOf(n,o),te=new RegExp(oe(C)+oe(e),"g"),g=h.indexOf(e,o);;)if(h[o]!==e)if(a&&u.length===0&&h.substring(o,o+R)===a){if(A===-1)return j();o=A+T,A=h.indexOf(n,o),w=h.indexOf(r,o)}else if(w!==-1&&(w<A||A===-1))u.push(h.substring(o,w)),o=w+k,w=h.indexOf(r,o);else{if(A===-1)break;if(u.push(h.substring(o,A)),ee(A+T),B&&(le(),O))return j();if(d&&D.length>=d)return j(!0)}else for(g=o,o++;;){if((g=h.indexOf(e,g+1))===-1)return F||L.push({type:"Quotes",code:"MissingQuotes",message:"Quoted field unterminated",row:D.length,index:o}),X();if(g===s-1)return X(h.substring(o,g).replace(te,e));if(e!==C||h[g+1]!==C){if(e===C||g===0||h[g-1]!==C){w!==-1&&w<g+1&&(w=h.indexOf(r,g+1)),A!==-1&&A<g+1&&(A=h.indexOf(n,g+1));var ie=V(A===-1?w:Math.min(w,A));if(h.substr(g+1+ie,k)===r){u.push(h.substring(o,g).replace(te,e)),h[o=g+1+ie+k]!==e&&(g=h.indexOf(e,o)),w=h.indexOf(r,o),A=h.indexOf(n,o);break}var G=V(A);if(h.substring(g+1+G,g+1+G+T)===n){if(u.push(h.substring(o,g).replace(te,e)),ee(g+1+G+T),w=h.indexOf(r,o),g=h.indexOf(e,o),B&&(le(),O))return j();if(d&&D.length>=d)return j(!0);break}L.push({type:"Quotes",code:"InvalidQuotes",message:"Trailing quote on quoted field is malformed",row:D.length,index:o}),g++}}else g++}return X();function re(K){D.push(K),p=o}function V(K){var ke=0;if(K!==-1){var ge=h.substring(g+1,K);ge&&ge.trim()===""&&(ke=ge.length)}return ke}function X(K){return F||(K===void 0&&(K=h.substring(o)),u.push(K),o=s,re(u),B&&le()),j()}function ee(K){o=K,re(u),u=[],A=h.indexOf(n,o)}function j(K){return{data:D,errors:L,meta:{delimiter:r,linebreak:n,aborted:O,truncated:!!K,cursor:p+(z||0)}}}function le(){f(j()),D=[],L=[]}},this.abort=function(){O=!0},this.getCharIndex=function(){return o}}function Se(t){var e=t.data,r=H[e.workerId],n=!1;if(e.error)r.userError(e.error,e.file);else if(e.results&&e.results.data){var a={abort:function(){n=!0,me(e.workerId,{data:[],errors:[],meta:{aborted:!0}})},pause:ve,resume:ve};if(_(r.userStep)){for(var f=0;f<e.results.data.length&&(r.userStep({data:e.results.data[f],errors:e.results.errors,meta:e.results.meta},a),!n);f++);delete e.results}else _(r.userChunk)&&(r.userChunk(e.results,a,e.file),delete e.results)}e.finished&&!n&&me(e.workerId,e.results)}function me(t,e){var r=H[t];_(r.userComplete)&&r.userComplete(e),r.terminate(),delete H[t]}function ve(){throw new Error("Not implemented.")}function pe(t){if(typeof t!="object"||t===null)return t;var e=Array.isArray(t)?[]:{};for(var r in t)e[r]=pe(t[r]);return e}function Y(t,e){return function(){t.apply(e,arguments)}}function _(t){return typeof t=="function"}return Z&&(c.onmessage=function(t){var e=t.data;if(l.WORKER_ID===void 0&&e&&(l.WORKER_ID=e.workerId),typeof e.input=="string")c.postMessage({workerId:l.WORKER_ID,results:l.parse(e.input,e.config),finished:!0});else if(c.File&&e.input instanceof File||e.input instanceof Object){var r=l.parse(e.input,e.config);r&&c.postMessage({workerId:l.WORKER_ID,results:r,finished:!0})}}),(ue.prototype=Object.create(Q.prototype)).constructor=ue,(he.prototype=Object.create(Q.prototype)).constructor=he,(ae.prototype=Object.create(ae.prototype)).constructor=ae,(fe.prototype=Object.create(Q.prototype)).constructor=fe,l})})(De),N.createDownloadBlobLink=Ae,N.downloadFile=_e,N.flattenObject=ne,N.formatSizeUnit=Oe,N.formatValueToMinUnit=xe,N.isEmptyObj=we,N.isJSONString=Re,N.parseJSONSafely=Ee,N.stringifyObjSafely=Ce,N.unflattenObject=be,Object.defineProperty(N,Symbol.toStringTag,{value:"Module"})});
6
+ */(function(e,t){(function(n,r){e.exports=r()})(da,function n(){var r=typeof self<"u"?self:typeof window<"u"?window:r!==void 0?r:{},o=!r.document&&!!r.postMessage,s=r.IS_PAPA_WORKER||!1,a={},i=0,l={parse:function(_,u){var I=(u=u||{}).dynamicTyping||!1;if(T(I)&&(u.dynamicTypingFunction=I,I={}),u.dynamicTyping=I,u.transform=!!T(u.transform)&&u.transform,u.worker&&l.WORKERS_SUPPORTED){var F=function(){if(!l.WORKERS_SUPPORTED)return!1;var $=(pe=r.URL||r.webkitURL||null,z=n.toString(),l.BLOB_URL||(l.BLOB_URL=pe.createObjectURL(new Blob(["var global = (function() { if (typeof self !== 'undefined') { return self; } if (typeof window !== 'undefined') { return window; } if (typeof global !== 'undefined') { return global; } return {}; })(); global.IS_PAPA_WORKER=true; ","(",z,")();"],{type:"text/javascript"})))),j=new r.Worker($),pe,z;return j.onmessage=v,j.id=i++,a[j.id]=j}();return F.userStep=u.step,F.userChunk=u.chunk,F.userComplete=u.complete,F.userError=u.error,u.step=T(u.step),u.chunk=T(u.chunk),u.complete=T(u.complete),u.error=T(u.error),delete u.worker,void F.postMessage({input:_,config:u,workerId:F.id})}var k=null;return l.NODE_STREAM_INPUT,typeof _=="string"?(_=function($){return $.charCodeAt(0)===65279?$.slice(1):$}(_),k=u.download?new d(u):new b(u)):_.readable===!0&&T(_.read)&&T(_.on)?k=new C(u):(r.File&&_ instanceof File||_ instanceof Object)&&(k=new m(u)),k.stream(_)},unparse:function(_,u){var I=!1,F=!0,k=",",$=`\r
7
+ `,j='"',pe=j+j,z=!1,V=null,oe=!1;(function(){if(typeof u=="object"){if(typeof u.delimiter!="string"||l.BAD_DELIMITERS.filter(function(M){return u.delimiter.indexOf(M)!==-1}).length||(k=u.delimiter),(typeof u.quotes=="boolean"||typeof u.quotes=="function"||Array.isArray(u.quotes))&&(I=u.quotes),typeof u.skipEmptyLines!="boolean"&&typeof u.skipEmptyLines!="string"||(z=u.skipEmptyLines),typeof u.newline=="string"&&($=u.newline),typeof u.quoteChar=="string"&&(j=u.quoteChar),typeof u.header=="boolean"&&(F=u.header),Array.isArray(u.columns)){if(u.columns.length===0)throw new Error("Option columns is empty");V=u.columns}u.escapeChar!==void 0&&(pe=u.escapeChar+j),(typeof u.escapeFormulae=="boolean"||u.escapeFormulae instanceof RegExp)&&(oe=u.escapeFormulae instanceof RegExp?u.escapeFormulae:/^[=+\-@\t\r].*$/)}})();var W=new RegExp(D(j),"g");if(typeof _=="string"&&(_=JSON.parse(_)),Array.isArray(_)){if(!_.length||Array.isArray(_[0]))return Ae(null,_,z);if(typeof _[0]=="object")return Ae(V||Object.keys(_[0]),_,z)}else if(typeof _=="object")return typeof _.data=="string"&&(_.data=JSON.parse(_.data)),Array.isArray(_.data)&&(_.fields||(_.fields=_.meta&&_.meta.fields||V),_.fields||(_.fields=Array.isArray(_.data[0])?_.fields:typeof _.data[0]=="object"?Object.keys(_.data[0]):[]),Array.isArray(_.data[0])||typeof _.data[0]=="object"||(_.data=[_.data])),Ae(_.fields||[],_.data||[],z);throw new Error("Unable to serialize unrecognized input");function Ae(M,Z,me){var se="";typeof M=="string"&&(M=JSON.parse(M)),typeof Z=="string"&&(Z=JSON.parse(Z));var he=Array.isArray(M)&&0<M.length,de=!Array.isArray(Z[0]);if(he&&F){for(var ce=0;ce<M.length;ce++)0<ce&&(se+=k),se+=ge(M[ce],ce);0<Z.length&&(se+=$)}for(var x=0;x<Z.length;x++){var X=he?M.length:Z[x].length,ee=!1,ue=he?Object.keys(Z[x]).length===0:Z[x].length===0;if(me&&!he&&(ee=me==="greedy"?Z[x].join("").trim()==="":Z[x].length===1&&Z[x][0].length===0),me==="greedy"&&he){for(var f=[],c=0;c<X;c++){var E=de?M[c]:c;f.push(Z[x][E])}ee=f.join("").trim()===""}if(!ee){for(var S=0;S<X;S++){0<S&&!ue&&(se+=k);var U=he&&de?M[S]:S;se+=ge(Z[x][U],S)}x<Z.length-1&&(!me||0<X&&!ue)&&(se+=$)}}return se}function ge(M,Z){if(M==null)return"";if(M.constructor===Date)return JSON.stringify(M).slice(1,25);var me=!1;oe&&typeof M=="string"&&oe.test(M)&&(M="'"+M,me=!0);var se=M.toString().replace(W,pe);return(me=me||I===!0||typeof I=="function"&&I(M,Z)||Array.isArray(I)&&I[Z]||function(he,de){for(var ce=0;ce<de.length;ce++)if(-1<he.indexOf(de[ce]))return!0;return!1}(se,l.BAD_DELIMITERS)||-1<se.indexOf(k)||se.charAt(0)===" "||se.charAt(se.length-1)===" ")?j+se+j:se}}};if(l.RECORD_SEP=String.fromCharCode(30),l.UNIT_SEP=String.fromCharCode(31),l.BYTE_ORDER_MARK="\uFEFF",l.BAD_DELIMITERS=["\r",`
8
+ `,'"',l.BYTE_ORDER_MARK],l.WORKERS_SUPPORTED=!o&&!!r.Worker,l.NODE_STREAM_INPUT=1,l.LocalChunkSize=10485760,l.RemoteChunkSize=5242880,l.DefaultDelimiter=",",l.Parser=p,l.ParserHandle=R,l.NetworkStreamer=d,l.FileStreamer=m,l.StringStreamer=b,l.ReadableStreamStreamer=C,r.jQuery){var h=r.jQuery;h.fn.parse=function(_){var u=_.config||{},I=[];return this.each(function($){if(!(h(this).prop("tagName").toUpperCase()==="INPUT"&&h(this).attr("type").toLowerCase()==="file"&&r.FileReader)||!this.files||this.files.length===0)return!0;for(var j=0;j<this.files.length;j++)I.push({file:this.files[j],inputElem:this,instanceConfig:h.extend({},u)})}),F(),this;function F(){if(I.length!==0){var $,j,pe,z,V=I[0];if(T(_.before)){var oe=_.before(V.file,V.inputElem);if(typeof oe=="object"){if(oe.action==="abort")return $="AbortError",j=V.file,pe=V.inputElem,z=oe.reason,void(T(_.error)&&_.error({name:$},j,pe,z));if(oe.action==="skip")return void k();typeof oe.config=="object"&&(V.instanceConfig=h.extend(V.instanceConfig,oe.config))}else if(oe==="skip")return void k()}var W=V.instanceConfig.complete;V.instanceConfig.complete=function(Ae){T(W)&&W(Ae,V.file,V.inputElem),k()},l.parse(V.file,V.instanceConfig)}else T(_.complete)&&_.complete()}function k(){I.splice(0,1),F()}}}function g(_){this._handle=null,this._finished=!1,this._completed=!1,this._halted=!1,this._input=null,this._baseIndex=0,this._partialLine="",this._rowCount=0,this._start=0,this._nextChunk=null,this.isFirstChunk=!0,this._completeResults={data:[],errors:[],meta:{}},(function(u){var I=w(u);I.chunkSize=parseInt(I.chunkSize),u.step||u.chunk||(I.chunkSize=null),this._handle=new R(I),(this._handle.streamer=this)._config=I}).call(this,_),this.parseChunk=function(u,I){if(this.isFirstChunk&&T(this._config.beforeFirstChunk)){var F=this._config.beforeFirstChunk(u);F!==void 0&&(u=F)}this.isFirstChunk=!1,this._halted=!1;var k=this._partialLine+u;this._partialLine="";var $=this._handle.parse(k,this._baseIndex,!this._finished);if(!this._handle.paused()&&!this._handle.aborted()){var j=$.meta.cursor;this._finished||(this._partialLine=k.substring(j-this._baseIndex),this._baseIndex=j),$&&$.data&&(this._rowCount+=$.data.length);var pe=this._finished||this._config.preview&&this._rowCount>=this._config.preview;if(s)r.postMessage({results:$,workerId:l.WORKER_ID,finished:pe});else if(T(this._config.chunk)&&!I){if(this._config.chunk($,this._handle),this._handle.paused()||this._handle.aborted())return void(this._halted=!0);$=void 0,this._completeResults=void 0}return this._config.step||this._config.chunk||(this._completeResults.data=this._completeResults.data.concat($.data),this._completeResults.errors=this._completeResults.errors.concat($.errors),this._completeResults.meta=$.meta),this._completed||!pe||!T(this._config.complete)||$&&$.meta.aborted||(this._config.complete(this._completeResults,this._input),this._completed=!0),pe||$&&$.meta.paused||this._nextChunk(),$}this._halted=!0},this._sendError=function(u){T(this._config.error)?this._config.error(u):s&&this._config.error&&r.postMessage({workerId:l.WORKER_ID,error:u,finished:!1})}}function d(_){var u;(_=_||{}).chunkSize||(_.chunkSize=l.RemoteChunkSize),g.call(this,_),this._nextChunk=o?function(){this._readChunk(),this._chunkLoaded()}:function(){this._readChunk()},this.stream=function(I){this._input=I,this._nextChunk()},this._readChunk=function(){if(this._finished)this._chunkLoaded();else{if(u=new XMLHttpRequest,this._config.withCredentials&&(u.withCredentials=this._config.withCredentials),o||(u.onload=A(this._chunkLoaded,this),u.onerror=A(this._chunkError,this)),u.open(this._config.downloadRequestBody?"POST":"GET",this._input,!o),this._config.downloadRequestHeaders){var I=this._config.downloadRequestHeaders;for(var F in I)u.setRequestHeader(F,I[F])}if(this._config.chunkSize){var k=this._start+this._config.chunkSize-1;u.setRequestHeader("Range","bytes="+this._start+"-"+k)}try{u.send(this._config.downloadRequestBody)}catch($){this._chunkError($.message)}o&&u.status===0&&this._chunkError()}},this._chunkLoaded=function(){u.readyState===4&&(u.status<200||400<=u.status?this._chunkError():(this._start+=this._config.chunkSize?this._config.chunkSize:u.responseText.length,this._finished=!this._config.chunkSize||this._start>=function(I){var F=I.getResponseHeader("Content-Range");return F===null?-1:parseInt(F.substring(F.lastIndexOf("/")+1))}(u),this.parseChunk(u.responseText)))},this._chunkError=function(I){var F=u.statusText||I;this._sendError(new Error(F))}}function m(_){var u,I;(_=_||{}).chunkSize||(_.chunkSize=l.LocalChunkSize),g.call(this,_);var F=typeof FileReader<"u";this.stream=function(k){this._input=k,I=k.slice||k.webkitSlice||k.mozSlice,F?((u=new FileReader).onload=A(this._chunkLoaded,this),u.onerror=A(this._chunkError,this)):u=new FileReaderSync,this._nextChunk()},this._nextChunk=function(){this._finished||this._config.preview&&!(this._rowCount<this._config.preview)||this._readChunk()},this._readChunk=function(){var k=this._input;if(this._config.chunkSize){var $=Math.min(this._start+this._config.chunkSize,this._input.size);k=I.call(k,this._start,$)}var j=u.readAsText(k,this._config.encoding);F||this._chunkLoaded({target:{result:j}})},this._chunkLoaded=function(k){this._start+=this._config.chunkSize,this._finished=!this._config.chunkSize||this._start>=this._input.size,this.parseChunk(k.target.result)},this._chunkError=function(){this._sendError(u.error)}}function b(_){var u;g.call(this,_=_||{}),this.stream=function(I){return u=I,this._nextChunk()},this._nextChunk=function(){if(!this._finished){var I,F=this._config.chunkSize;return F?(I=u.substring(0,F),u=u.substring(F)):(I=u,u=""),this._finished=!u,this.parseChunk(I)}}}function C(_){g.call(this,_=_||{});var u=[],I=!0,F=!1;this.pause=function(){g.prototype.pause.apply(this,arguments),this._input.pause()},this.resume=function(){g.prototype.resume.apply(this,arguments),this._input.resume()},this.stream=function(k){this._input=k,this._input.on("data",this._streamData),this._input.on("end",this._streamEnd),this._input.on("error",this._streamError)},this._checkIsFinished=function(){F&&u.length===1&&(this._finished=!0)},this._nextChunk=function(){this._checkIsFinished(),u.length?this.parseChunk(u.shift()):I=!0},this._streamData=A(function(k){try{u.push(typeof k=="string"?k:k.toString(this._config.encoding)),I&&(I=!1,this._checkIsFinished(),this.parseChunk(u.shift()))}catch($){this._streamError($)}},this),this._streamError=A(function(k){this._streamCleanUp(),this._sendError(k)},this),this._streamEnd=A(function(){this._streamCleanUp(),F=!0,this._streamData("")},this),this._streamCleanUp=A(function(){this._input.removeListener("data",this._streamData),this._input.removeListener("end",this._streamEnd),this._input.removeListener("error",this._streamError)},this)}function R(_){var u,I,F,k=Math.pow(2,53),$=-k,j=/^\s*-?(\d+\.?|\.\d+|\d+\.\d+)([eE][-+]?\d+)?\s*$/,pe=/^((\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z)))$/,z=this,V=0,oe=0,W=!1,Ae=!1,ge=[],M={data:[],errors:[],meta:{}};if(T(_.step)){var Z=_.step;_.step=function(x){if(M=x,he())se();else{if(se(),M.data.length===0)return;V+=x.data.length,_.preview&&V>_.preview?I.abort():(M.data=M.data[0],Z(M,z))}}}function me(x){return _.skipEmptyLines==="greedy"?x.join("").trim()==="":x.length===1&&x[0].length===0}function se(){return M&&F&&(ce("Delimiter","UndetectableDelimiter","Unable to auto-detect delimiting character; defaulted to '"+l.DefaultDelimiter+"'"),F=!1),_.skipEmptyLines&&(M.data=M.data.filter(function(x){return!me(x)})),he()&&function(){if(!M)return;function x(ee,ue){T(_.transformHeader)&&(ee=_.transformHeader(ee,ue)),ge.push(ee)}if(Array.isArray(M.data[0])){for(var X=0;he()&&X<M.data.length;X++)M.data[X].forEach(x);M.data.splice(0,1)}else M.data.forEach(x)}(),function(){if(!M||!_.header&&!_.dynamicTyping&&!_.transform)return M;function x(ee,ue){var f,c=_.header?{}:[];for(f=0;f<ee.length;f++){var E=f,S=ee[f];_.header&&(E=f>=ge.length?"__parsed_extra":ge[f]),_.transform&&(S=_.transform(S,E)),S=de(E,S),E==="__parsed_extra"?(c[E]=c[E]||[],c[E].push(S)):c[E]=S}return _.header&&(f>ge.length?ce("FieldMismatch","TooManyFields","Too many fields: expected "+ge.length+" fields but parsed "+f,oe+ue):f<ge.length&&ce("FieldMismatch","TooFewFields","Too few fields: expected "+ge.length+" fields but parsed "+f,oe+ue)),c}var X=1;return!M.data.length||Array.isArray(M.data[0])?(M.data=M.data.map(x),X=M.data.length):M.data=x(M.data,0),_.header&&M.meta&&(M.meta.fields=ge),oe+=X,M}()}function he(){return _.header&&ge.length===0}function de(x,X){return ee=x,_.dynamicTypingFunction&&_.dynamicTyping[ee]===void 0&&(_.dynamicTyping[ee]=_.dynamicTypingFunction(ee)),(_.dynamicTyping[ee]||_.dynamicTyping)===!0?X==="true"||X==="TRUE"||X!=="false"&&X!=="FALSE"&&(function(ue){if(j.test(ue)){var f=parseFloat(ue);if($<f&&f<k)return!0}return!1}(X)?parseFloat(X):pe.test(X)?new Date(X):X===""?null:X):X;var ee}function ce(x,X,ee,ue){var f={type:x,code:X,message:ee};ue!==void 0&&(f.row=ue),M.errors.push(f)}this.parse=function(x,X,ee){var ue=_.quoteChar||'"';if(_.newline||(_.newline=function(E,S){E=E.substring(0,1048576);var U=new RegExp(D(S)+"([^]*?)"+D(S),"gm"),B=(E=E.replace(U,"")).split("\r"),ve=E.split(`
9
+ `),ye=1<ve.length&&ve[0].length<B[0].length;if(B.length===1||ye)return`
10
+ `;for(var He=0,fe=0;fe<B.length;fe++)B[fe][0]===`
11
+ `&&He++;return He>=B.length/2?`\r
12
+ `:"\r"}(x,ue)),F=!1,_.delimiter)T(_.delimiter)&&(_.delimiter=_.delimiter(x),M.meta.delimiter=_.delimiter);else{var f=function(E,S,U,B,ve){var ye,He,fe,Ne;ve=ve||[","," ","|",";",l.RECORD_SEP,l.UNIT_SEP];for(var it=0;it<ve.length;it++){var ne=ve[it],ae=0,O=0,y=0;fe=void 0;for(var K=new p({comments:B,delimiter:ne,newline:S,preview:10}).parse(E),te=0;te<K.data.length;te++)if(U&&me(K.data[te]))y++;else{var De=K.data[te].length;O+=De,fe!==void 0?0<De&&(ae+=Math.abs(De-fe),fe=De):fe=De}0<K.data.length&&(O/=K.data.length-y),(He===void 0||ae<=He)&&(Ne===void 0||Ne<O)&&1.99<O&&(He=ae,ye=ne,Ne=O)}return{successful:!!(_.delimiter=ye),bestDelimiter:ye}}(x,_.newline,_.skipEmptyLines,_.comments,_.delimitersToGuess);f.successful?_.delimiter=f.bestDelimiter:(F=!0,_.delimiter=l.DefaultDelimiter),M.meta.delimiter=_.delimiter}var c=w(_);return _.preview&&_.header&&c.preview++,u=x,I=new p(c),M=I.parse(u,X,ee),se(),W?{meta:{paused:!0}}:M||{meta:{paused:!1}}},this.paused=function(){return W},this.pause=function(){W=!0,I.abort(),u=T(_.chunk)?"":u.substring(I.getCharIndex())},this.resume=function(){z.streamer._halted?(W=!1,z.streamer.parseChunk(u,!0)):setTimeout(z.resume,3)},this.aborted=function(){return Ae},this.abort=function(){Ae=!0,I.abort(),M.meta.aborted=!0,T(_.complete)&&_.complete(M),u=""}}function D(_){return _.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function p(_){var u,I=(_=_||{}).delimiter,F=_.newline,k=_.comments,$=_.step,j=_.preview,pe=_.fastMode,z=u=_.quoteChar===void 0||_.quoteChar===null?'"':_.quoteChar;if(_.escapeChar!==void 0&&(z=_.escapeChar),(typeof I!="string"||-1<l.BAD_DELIMITERS.indexOf(I))&&(I=","),k===I)throw new Error("Comment character same as delimiter");k===!0?k="#":(typeof k!="string"||-1<l.BAD_DELIMITERS.indexOf(k))&&(k=!1),F!==`
13
+ `&&F!=="\r"&&F!==`\r
14
+ `&&(F=`
15
+ `);var V=0,oe=!1;this.parse=function(W,Ae,ge){if(typeof W!="string")throw new Error("Input must be a string");var M=W.length,Z=I.length,me=F.length,se=k.length,he=T($),de=[],ce=[],x=[],X=V=0;if(!W)return Pe();if(_.header&&!Ae){var ee=W.split(F)[0].split(I),ue=[],f={},c=!1;for(var E in ee){var S=ee[E];T(_.transformHeader)&&(S=_.transformHeader(S,E));var U=S,B=f[S]||0;for(0<B&&(c=!0,U=S+"_"+B),f[S]=B+1;ue.includes(U);)U=U+"_"+B;ue.push(U)}if(c){var ve=W.split(F);ve[0]=ue.join(I),W=ve.join(F)}}if(pe||pe!==!1&&W.indexOf(u)===-1){for(var ye=W.split(F),He=0;He<ye.length;He++){if(x=ye[He],V+=x.length,He!==ye.length-1)V+=F.length;else if(ge)return Pe();if(!k||x.substring(0,se)!==k){if(he){if(de=[],y(x.split(I)),qe(),oe)return Pe()}else y(x.split(I));if(j&&j<=He)return de=de.slice(0,j),Pe(!0)}}return Pe()}for(var fe=W.indexOf(I,V),Ne=W.indexOf(F,V),it=new RegExp(D(z)+D(u),"g"),ne=W.indexOf(u,V);;)if(W[V]!==u)if(k&&x.length===0&&W.substring(V,V+se)===k){if(Ne===-1)return Pe();V=Ne+me,Ne=W.indexOf(F,V),fe=W.indexOf(I,V)}else if(fe!==-1&&(fe<Ne||Ne===-1))x.push(W.substring(V,fe)),V=fe+Z,fe=W.indexOf(I,V);else{if(Ne===-1)break;if(x.push(W.substring(V,Ne)),De(Ne+me),he&&(qe(),oe))return Pe();if(j&&de.length>=j)return Pe(!0)}else for(ne=V,V++;;){if((ne=W.indexOf(u,ne+1))===-1)return ge||ce.push({type:"Quotes",code:"MissingQuotes",message:"Quoted field unterminated",row:de.length,index:V}),te();if(ne===M-1)return te(W.substring(V,ne).replace(it,u));if(u!==z||W[ne+1]!==z){if(u===z||ne===0||W[ne-1]!==z){fe!==-1&&fe<ne+1&&(fe=W.indexOf(I,ne+1)),Ne!==-1&&Ne<ne+1&&(Ne=W.indexOf(F,ne+1));var ae=K(Ne===-1?fe:Math.min(fe,Ne));if(W.substr(ne+1+ae,Z)===I){x.push(W.substring(V,ne).replace(it,u)),W[V=ne+1+ae+Z]!==u&&(ne=W.indexOf(u,V)),fe=W.indexOf(I,V),Ne=W.indexOf(F,V);break}var O=K(Ne);if(W.substring(ne+1+O,ne+1+O+me)===F){if(x.push(W.substring(V,ne).replace(it,u)),De(ne+1+O+me),fe=W.indexOf(I,V),ne=W.indexOf(u,V),he&&(qe(),oe))return Pe();if(j&&de.length>=j)return Pe(!0);break}ce.push({type:"Quotes",code:"InvalidQuotes",message:"Trailing quote on quoted field is malformed",row:de.length,index:V}),ne++}}else ne++}return te();function y(Te){de.push(Te),X=V}function K(Te){var Mn=0;if(Te!==-1){var Yt=W.substring(ne+1,Te);Yt&&Yt.trim()===""&&(Mn=Yt.length)}return Mn}function te(Te){return ge||(Te===void 0&&(Te=W.substring(V)),x.push(Te),V=M,y(x),he&&qe()),Pe()}function De(Te){V=Te,y(x),x=[],Ne=W.indexOf(F,V)}function Pe(Te){return{data:de,errors:ce,meta:{delimiter:I,linebreak:F,aborted:oe,truncated:!!Te,cursor:X+(Ae||0)}}}function qe(){$(Pe()),de=[],ce=[]}},this.abort=function(){oe=!0},this.getCharIndex=function(){return V}}function v(_){var u=_.data,I=a[u.workerId],F=!1;if(u.error)I.userError(u.error,u.file);else if(u.results&&u.results.data){var k={abort:function(){F=!0,L(u.workerId,{data:[],errors:[],meta:{aborted:!0}})},pause:N,resume:N};if(T(I.userStep)){for(var $=0;$<u.results.data.length&&(I.userStep({data:u.results.data[$],errors:u.results.errors,meta:u.results.meta},k),!F);$++);delete u.results}else T(I.userChunk)&&(I.userChunk(u.results,k,u.file),delete u.results)}u.finished&&!F&&L(u.workerId,u.results)}function L(_,u){var I=a[_];T(I.userComplete)&&I.userComplete(u),I.terminate(),delete a[_]}function N(){throw new Error("Not implemented.")}function w(_){if(typeof _!="object"||_===null)return _;var u=Array.isArray(_)?[]:{};for(var I in _)u[I]=w(_[I]);return u}function A(_,u){return function(){_.apply(u,arguments)}}function T(_){return typeof _=="function"}return s&&(r.onmessage=function(_){var u=_.data;if(l.WORKER_ID===void 0&&u&&(l.WORKER_ID=u.workerId),typeof u.input=="string")r.postMessage({workerId:l.WORKER_ID,results:l.parse(u.input,u.config),finished:!0});else if(r.File&&u.input instanceof File||u.input instanceof Object){var I=l.parse(u.input,u.config);I&&r.postMessage({workerId:l.WORKER_ID,results:I,finished:!0})}}),(d.prototype=Object.create(g.prototype)).constructor=d,(m.prototype=Object.create(g.prototype)).constructor=m,(b.prototype=Object.create(b.prototype)).constructor=b,(C.prototype=Object.create(g.prototype)).constructor=C,l})})($r);var ma=$r.exports;const ha=pa(ma);/*!
16
+ * shared v9.10.2
17
+ * (c) 2024 kazuya kawaguchi
18
+ * Released under the MIT License.
19
+ */const Ke=typeof window<"u";let Ge,Ot;if(process.env.NODE_ENV!=="production"){const e=Ke&&window.performance;e&&e.mark&&e.measure&&e.clearMarks&&e.clearMeasures&&(Ge=t=>{e.mark(t)},Ot=(t,n,r)=>{e.measure(t,n,r),e.clearMarks(n),e.clearMarks(r)})}const Ea=/\{([0-9a-zA-Z]+)\}/g;function Un(e,...t){return t.length===1&&Q(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(Ea,(n,r)=>t.hasOwnProperty(r)?t[r]:"")}const Qe=(e,t=!1)=>t?Symbol.for(e):Symbol(e),ga=(e,t,n)=>Na({l:e,k:t,s:n}),Na=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),Ie=e=>typeof e=="number"&&isFinite(e),va=e=>Br(e)==="[object Date]",lt=e=>Br(e)==="[object RegExp]",an=e=>G(e)&&Object.keys(e).length===0,Re=Object.assign;let Wr;const rt=()=>Wr||(Wr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Hr(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")}const Oa=Object.prototype.hasOwnProperty;function ln(e,t){return Oa.call(e,t)}const ie=Array.isArray,re=e=>typeof e=="function",P=e=>typeof e=="string",Y=e=>typeof e=="boolean",Q=e=>e!==null&&typeof e=="object",ba=e=>Q(e)&&re(e.then)&&re(e.catch),Gr=Object.prototype.toString,Br=e=>Gr.call(e),G=e=>{if(!Q(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object},Ta=e=>e==null?"":ie(e)||G(e)&&e.toString===Gr?JSON.stringify(e,null,2):String(e);function Ia(e,t=""){return e.reduce((n,r,o)=>o===0?n+r:n+t+r,"")}const jr=2;function La(e,t=0,n=e.length){const r=e.split(/\r?\n/);let o=0;const s=[];for(let a=0;a<r.length;a++)if(o+=r[a].length+1,o>=t){for(let i=a-jr;i<=a+jr||n>o;i++){if(i<0||i>=r.length)continue;const l=i+1;s.push(`${l}${" ".repeat(3-String(l).length)}| ${r[i]}`);const h=r[i].length;if(i===a){const g=t-(o-h)+1,d=Math.max(1,n>o?h-g:n-t);s.push(" | "+" ".repeat(g)+"^".repeat(d))}else if(i>a){if(n>o){const g=Math.max(Math.min(n-o,h),1);s.push(" | "+"^".repeat(g))}o+=h+1}}break}return s.join(`
20
+ `)}function xn(e){let t=e;return()=>++t}function Se(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const Kr={};function Yr(e){Kr[e]||(Kr[e]=!0,Se(e))}function $n(){const e=new Map;return{events:e,on(n,r){const o=e.get(n);o&&o.push(r)||e.set(n,[r])},off(n,r){const o=e.get(n);o&&o.splice(o.indexOf(r)>>>0,1)},emit(n,r){(e.get(n)||[]).slice().map(o=>o(r)),(e.get("*")||[]).slice().map(o=>o(n,r))}}}const cn=e=>!Q(e)||ie(e);function un(e,t){if(cn(e)||cn(t))throw new Error("Invalid value");const n=[{src:e,des:t}];for(;n.length;){const{src:r,des:o}=n.pop();Object.keys(r).forEach(s=>{cn(r[s])||cn(o[s])?o[s]=r[s]:n.push({src:r[s],des:o[s]})})}}/*!
21
+ * message-compiler v9.10.2
22
+ * (c) 2024 kazuya kawaguchi
23
+ * Released under the MIT License.
24
+ */function ya(e,t,n){return{line:e,column:t,offset:n}}function Wn(e,t,n){const r={start:e,end:t};return n!=null&&(r.source=n),r}const Sa=/\{([0-9a-zA-Z]+)\}/g;function Ca(e,...t){return t.length===1&&Ra(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(Sa,(n,r)=>t.hasOwnProperty(r)?t[r]:"")}const Xr=Object.assign,Jr=e=>typeof e=="string",Ra=e=>e!==null&&typeof e=="object";function qr(e,t=""){return e.reduce((n,r,o)=>o===0?n+r:n+t+r,"")}const H={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16,__EXTEND_POINT__:17},Aa={[H.EXPECTED_TOKEN]:"Expected token: '{0}'",[H.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[H.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[H.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[H.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[H.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[H.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[H.EMPTY_PLACEHOLDER]:"Empty placeholder",[H.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[H.INVALID_LINKED_FORMAT]:"Invalid linked format",[H.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[H.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[H.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[H.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[H.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[H.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function wt(e,t,n={}){const{domain:r,messages:o,args:s}=n,a=Ca((o||Aa)[e]||"",...s||[]),i=new SyntaxError(String(a));return i.code=e,t&&(i.location=t),i.domain=r,i}function Da(e){throw e}const Pa=/<\/?[\w\s="/.':;#-\/]+>/,wa=e=>Pa.test(e),st=" ",ka="\r",ke=`
25
+ `,Fa=String.fromCharCode(8232),Ma=String.fromCharCode(8233);function Va(e){const t=e;let n=0,r=1,o=1,s=0;const a=T=>t[T]===ka&&t[T+1]===ke,i=T=>t[T]===ke,l=T=>t[T]===Ma,h=T=>t[T]===Fa,g=T=>a(T)||i(T)||l(T)||h(T),d=()=>n,m=()=>r,b=()=>o,C=()=>s,R=T=>a(T)||l(T)||h(T)?ke:t[T],D=()=>R(n),p=()=>R(n+s);function v(){return s=0,g(n)&&(r++,o=0),a(n)&&n++,n++,o++,t[n]}function L(){return a(n+s)&&s++,s++,t[n+s]}function N(){n=0,r=1,o=1,s=0}function w(T=0){s=T}function A(){const T=n+s;for(;T!==n;)v();s=0}return{index:d,line:m,column:b,peekOffset:C,charAt:R,currentChar:D,currentPeek:p,next:v,peek:L,reset:N,resetPeek:w,skipToPeek:A}}const ct=void 0,Ua=".",Qr="'",xa="tokenizer";function $a(e,t={}){const n=t.location!==!1,r=Va(e),o=()=>r.index(),s=()=>ya(r.line(),r.column(),r.index()),a=s(),i=o(),l={currentType:14,offset:i,startLoc:a,endLoc:a,lastType:14,lastOffset:i,lastStartLoc:a,lastEndLoc:a,braceNest:0,inLinked:!1,text:""},h=()=>l,{onError:g}=t;function d(f,c,E,...S){const U=h();if(c.column+=E,c.offset+=E,g){const B=n?Wn(U.startLoc,c):null,ve=wt(f,B,{domain:xa,args:S});g(ve)}}function m(f,c,E){f.endLoc=s(),f.currentType=c;const S={type:c};return n&&(S.loc=Wn(f.startLoc,f.endLoc)),E!=null&&(S.value=E),S}const b=f=>m(f,14);function C(f,c){return f.currentChar()===c?(f.next(),c):(d(H.EXPECTED_TOKEN,s(),0,c),"")}function R(f){let c="";for(;f.currentPeek()===st||f.currentPeek()===ke;)c+=f.currentPeek(),f.peek();return c}function D(f){const c=R(f);return f.skipToPeek(),c}function p(f){if(f===ct)return!1;const c=f.charCodeAt(0);return c>=97&&c<=122||c>=65&&c<=90||c===95}function v(f){if(f===ct)return!1;const c=f.charCodeAt(0);return c>=48&&c<=57}function L(f,c){const{currentType:E}=c;if(E!==2)return!1;R(f);const S=p(f.currentPeek());return f.resetPeek(),S}function N(f,c){const{currentType:E}=c;if(E!==2)return!1;R(f);const S=f.currentPeek()==="-"?f.peek():f.currentPeek(),U=v(S);return f.resetPeek(),U}function w(f,c){const{currentType:E}=c;if(E!==2)return!1;R(f);const S=f.currentPeek()===Qr;return f.resetPeek(),S}function A(f,c){const{currentType:E}=c;if(E!==8)return!1;R(f);const S=f.currentPeek()===".";return f.resetPeek(),S}function T(f,c){const{currentType:E}=c;if(E!==9)return!1;R(f);const S=p(f.currentPeek());return f.resetPeek(),S}function _(f,c){const{currentType:E}=c;if(!(E===8||E===12))return!1;R(f);const S=f.currentPeek()===":";return f.resetPeek(),S}function u(f,c){const{currentType:E}=c;if(E!==10)return!1;const S=()=>{const B=f.currentPeek();return B==="{"?p(f.peek()):B==="@"||B==="%"||B==="|"||B===":"||B==="."||B===st||!B?!1:B===ke?(f.peek(),S()):p(B)},U=S();return f.resetPeek(),U}function I(f){R(f);const c=f.currentPeek()==="|";return f.resetPeek(),c}function F(f){const c=R(f),E=f.currentPeek()==="%"&&f.peek()==="{";return f.resetPeek(),{isModulo:E,hasSpace:c.length>0}}function k(f,c=!0){const E=(U=!1,B="",ve=!1)=>{const ye=f.currentPeek();return ye==="{"?B==="%"?!1:U:ye==="@"||!ye?B==="%"?!0:U:ye==="%"?(f.peek(),E(U,"%",!0)):ye==="|"?B==="%"||ve?!0:!(B===st||B===ke):ye===st?(f.peek(),E(!0,st,ve)):ye===ke?(f.peek(),E(!0,ke,ve)):!0},S=E();return c&&f.resetPeek(),S}function $(f,c){const E=f.currentChar();return E===ct?ct:c(E)?(f.next(),E):null}function j(f){return $(f,E=>{const S=E.charCodeAt(0);return S>=97&&S<=122||S>=65&&S<=90||S>=48&&S<=57||S===95||S===36})}function pe(f){return $(f,E=>{const S=E.charCodeAt(0);return S>=48&&S<=57})}function z(f){return $(f,E=>{const S=E.charCodeAt(0);return S>=48&&S<=57||S>=65&&S<=70||S>=97&&S<=102})}function V(f){let c="",E="";for(;c=pe(f);)E+=c;return E}function oe(f){D(f);const c=f.currentChar();return c!=="%"&&d(H.EXPECTED_TOKEN,s(),0,c),f.next(),"%"}function W(f){let c="";for(;;){const E=f.currentChar();if(E==="{"||E==="}"||E==="@"||E==="|"||!E)break;if(E==="%")if(k(f))c+=E,f.next();else break;else if(E===st||E===ke)if(k(f))c+=E,f.next();else{if(I(f))break;c+=E,f.next()}else c+=E,f.next()}return c}function Ae(f){D(f);let c="",E="";for(;c=j(f);)E+=c;return f.currentChar()===ct&&d(H.UNTERMINATED_CLOSING_BRACE,s(),0),E}function ge(f){D(f);let c="";return f.currentChar()==="-"?(f.next(),c+=`-${V(f)}`):c+=V(f),f.currentChar()===ct&&d(H.UNTERMINATED_CLOSING_BRACE,s(),0),c}function M(f){D(f),C(f,"'");let c="",E="";const S=B=>B!==Qr&&B!==ke;for(;c=$(f,S);)c==="\\"?E+=Z(f):E+=c;const U=f.currentChar();return U===ke||U===ct?(d(H.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,s(),0),U===ke&&(f.next(),C(f,"'")),E):(C(f,"'"),E)}function Z(f){const c=f.currentChar();switch(c){case"\\":case"'":return f.next(),`\\${c}`;case"u":return me(f,c,4);case"U":return me(f,c,6);default:return d(H.UNKNOWN_ESCAPE_SEQUENCE,s(),0,c),""}}function me(f,c,E){C(f,c);let S="";for(let U=0;U<E;U++){const B=z(f);if(!B){d(H.INVALID_UNICODE_ESCAPE_SEQUENCE,s(),0,`\\${c}${S}${f.currentChar()}`);break}S+=B}return`\\${c}${S}`}function se(f){D(f);let c="",E="";const S=U=>U!=="{"&&U!=="}"&&U!==st&&U!==ke;for(;c=$(f,S);)E+=c;return E}function he(f){let c="",E="";for(;c=j(f);)E+=c;return E}function de(f){const c=(E=!1,S)=>{const U=f.currentChar();return U==="{"||U==="%"||U==="@"||U==="|"||U==="("||U===")"||!U||U===st?S:U===ke||U===Ua?(S+=U,f.next(),c(E,S)):(S+=U,f.next(),c(!0,S))};return c(!1,"")}function ce(f){D(f);const c=C(f,"|");return D(f),c}function x(f,c){let E=null;switch(f.currentChar()){case"{":return c.braceNest>=1&&d(H.NOT_ALLOW_NEST_PLACEHOLDER,s(),0),f.next(),E=m(c,2,"{"),D(f),c.braceNest++,E;case"}":return c.braceNest>0&&c.currentType===2&&d(H.EMPTY_PLACEHOLDER,s(),0),f.next(),E=m(c,3,"}"),c.braceNest--,c.braceNest>0&&D(f),c.inLinked&&c.braceNest===0&&(c.inLinked=!1),E;case"@":return c.braceNest>0&&d(H.UNTERMINATED_CLOSING_BRACE,s(),0),E=X(f,c)||b(c),c.braceNest=0,E;default:{let U=!0,B=!0,ve=!0;if(I(f))return c.braceNest>0&&d(H.UNTERMINATED_CLOSING_BRACE,s(),0),E=m(c,1,ce(f)),c.braceNest=0,c.inLinked=!1,E;if(c.braceNest>0&&(c.currentType===5||c.currentType===6||c.currentType===7))return d(H.UNTERMINATED_CLOSING_BRACE,s(),0),c.braceNest=0,ee(f,c);if(U=L(f,c))return E=m(c,5,Ae(f)),D(f),E;if(B=N(f,c))return E=m(c,6,ge(f)),D(f),E;if(ve=w(f,c))return E=m(c,7,M(f)),D(f),E;if(!U&&!B&&!ve)return E=m(c,13,se(f)),d(H.INVALID_TOKEN_IN_PLACEHOLDER,s(),0,E.value),D(f),E;break}}return E}function X(f,c){const{currentType:E}=c;let S=null;const U=f.currentChar();switch((E===8||E===9||E===12||E===10)&&(U===ke||U===st)&&d(H.INVALID_LINKED_FORMAT,s(),0),U){case"@":return f.next(),S=m(c,8,"@"),c.inLinked=!0,S;case".":return D(f),f.next(),m(c,9,".");case":":return D(f),f.next(),m(c,10,":");default:return I(f)?(S=m(c,1,ce(f)),c.braceNest=0,c.inLinked=!1,S):A(f,c)||_(f,c)?(D(f),X(f,c)):T(f,c)?(D(f),m(c,12,he(f))):u(f,c)?(D(f),U==="{"?x(f,c)||S:m(c,11,de(f))):(E===8&&d(H.INVALID_LINKED_FORMAT,s(),0),c.braceNest=0,c.inLinked=!1,ee(f,c))}}function ee(f,c){let E={type:14};if(c.braceNest>0)return x(f,c)||b(c);if(c.inLinked)return X(f,c)||b(c);switch(f.currentChar()){case"{":return x(f,c)||b(c);case"}":return d(H.UNBALANCED_CLOSING_BRACE,s(),0),f.next(),m(c,3,"}");case"@":return X(f,c)||b(c);default:{if(I(f))return E=m(c,1,ce(f)),c.braceNest=0,c.inLinked=!1,E;const{isModulo:U,hasSpace:B}=F(f);if(U)return B?m(c,0,W(f)):m(c,4,oe(f));if(k(f))return m(c,0,W(f));break}}return E}function ue(){const{currentType:f,offset:c,startLoc:E,endLoc:S}=l;return l.lastType=f,l.lastOffset=c,l.lastStartLoc=E,l.lastEndLoc=S,l.offset=o(),l.startLoc=s(),r.currentChar()===ct?m(l,14):ee(r,l)}return{nextToken:ue,currentOffset:o,currentPosition:s,context:h}}const Wa="parser",Ha=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function Ga(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const r=parseInt(t||n,16);return r<=55295||r>=57344?String.fromCodePoint(r):"�"}}}function Ba(e={}){const t=e.location!==!1,{onError:n}=e;function r(p,v,L,N,...w){const A=p.currentPosition();if(A.offset+=N,A.column+=N,n){const T=t?Wn(L,A):null,_=wt(v,T,{domain:Wa,args:w});n(_)}}function o(p,v,L){const N={type:p};return t&&(N.start=v,N.end=v,N.loc={start:L,end:L}),N}function s(p,v,L,N){N&&(p.type=N),t&&(p.end=v,p.loc&&(p.loc.end=L))}function a(p,v){const L=p.context(),N=o(3,L.offset,L.startLoc);return N.value=v,s(N,p.currentOffset(),p.currentPosition()),N}function i(p,v){const L=p.context(),{lastOffset:N,lastStartLoc:w}=L,A=o(5,N,w);return A.index=parseInt(v,10),p.nextToken(),s(A,p.currentOffset(),p.currentPosition()),A}function l(p,v){const L=p.context(),{lastOffset:N,lastStartLoc:w}=L,A=o(4,N,w);return A.key=v,p.nextToken(),s(A,p.currentOffset(),p.currentPosition()),A}function h(p,v){const L=p.context(),{lastOffset:N,lastStartLoc:w}=L,A=o(9,N,w);return A.value=v.replace(Ha,Ga),p.nextToken(),s(A,p.currentOffset(),p.currentPosition()),A}function g(p){const v=p.nextToken(),L=p.context(),{lastOffset:N,lastStartLoc:w}=L,A=o(8,N,w);return v.type!==12?(r(p,H.UNEXPECTED_EMPTY_LINKED_MODIFIER,L.lastStartLoc,0),A.value="",s(A,N,w),{nextConsumeToken:v,node:A}):(v.value==null&&r(p,H.UNEXPECTED_LEXICAL_ANALYSIS,L.lastStartLoc,0,ze(v)),A.value=v.value||"",s(A,p.currentOffset(),p.currentPosition()),{node:A})}function d(p,v){const L=p.context(),N=o(7,L.offset,L.startLoc);return N.value=v,s(N,p.currentOffset(),p.currentPosition()),N}function m(p){const v=p.context(),L=o(6,v.offset,v.startLoc);let N=p.nextToken();if(N.type===9){const w=g(p);L.modifier=w.node,N=w.nextConsumeToken||p.nextToken()}switch(N.type!==10&&r(p,H.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,ze(N)),N=p.nextToken(),N.type===2&&(N=p.nextToken()),N.type){case 11:N.value==null&&r(p,H.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,ze(N)),L.key=d(p,N.value||"");break;case 5:N.value==null&&r(p,H.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,ze(N)),L.key=l(p,N.value||"");break;case 6:N.value==null&&r(p,H.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,ze(N)),L.key=i(p,N.value||"");break;case 7:N.value==null&&r(p,H.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,ze(N)),L.key=h(p,N.value||"");break;default:{r(p,H.UNEXPECTED_EMPTY_LINKED_KEY,v.lastStartLoc,0);const w=p.context(),A=o(7,w.offset,w.startLoc);return A.value="",s(A,w.offset,w.startLoc),L.key=A,s(L,w.offset,w.startLoc),{nextConsumeToken:N,node:L}}}return s(L,p.currentOffset(),p.currentPosition()),{node:L}}function b(p){const v=p.context(),L=v.currentType===1?p.currentOffset():v.offset,N=v.currentType===1?v.endLoc:v.startLoc,w=o(2,L,N);w.items=[];let A=null;do{const u=A||p.nextToken();switch(A=null,u.type){case 0:u.value==null&&r(p,H.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,ze(u)),w.items.push(a(p,u.value||""));break;case 6:u.value==null&&r(p,H.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,ze(u)),w.items.push(i(p,u.value||""));break;case 5:u.value==null&&r(p,H.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,ze(u)),w.items.push(l(p,u.value||""));break;case 7:u.value==null&&r(p,H.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,ze(u)),w.items.push(h(p,u.value||""));break;case 8:{const I=m(p);w.items.push(I.node),A=I.nextConsumeToken||null;break}}}while(v.currentType!==14&&v.currentType!==1);const T=v.currentType===1?v.lastOffset:p.currentOffset(),_=v.currentType===1?v.lastEndLoc:p.currentPosition();return s(w,T,_),w}function C(p,v,L,N){const w=p.context();let A=N.items.length===0;const T=o(1,v,L);T.cases=[],T.cases.push(N);do{const _=b(p);A||(A=_.items.length===0),T.cases.push(_)}while(w.currentType!==14);return A&&r(p,H.MUST_HAVE_MESSAGES_IN_PLURAL,L,0),s(T,p.currentOffset(),p.currentPosition()),T}function R(p){const v=p.context(),{offset:L,startLoc:N}=v,w=b(p);return v.currentType===14?w:C(p,L,N,w)}function D(p){const v=$a(p,Xr({},e)),L=v.context(),N=o(0,L.offset,L.startLoc);return t&&N.loc&&(N.loc.source=p),N.body=R(v),e.onCacheKey&&(N.cacheKey=e.onCacheKey(p)),L.currentType!==14&&r(v,H.UNEXPECTED_LEXICAL_ANALYSIS,L.lastStartLoc,0,p[L.offset]||""),s(N,v.currentOffset(),v.currentPosition()),N}return{parse:D}}function ze(e){if(e.type===14)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function ja(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:s=>(n.helpers.add(s),s)}}function zr(e,t){for(let n=0;n<e.length;n++)Hn(e[n],t)}function Hn(e,t){switch(e.type){case 1:zr(e.cases,t),t.helper("plural");break;case 2:zr(e.items,t);break;case 6:{Hn(e.key,t),t.helper("linked"),t.helper("type");break}case 5:t.helper("interpolate"),t.helper("list");break;case 4:t.helper("interpolate"),t.helper("named");break}}function Ka(e,t={}){const n=ja(e);n.helper("normalize"),e.body&&Hn(e.body,n);const r=n.context();e.helpers=Array.from(r.helpers)}function Ya(e){const t=e.body;return t.type===2?Zr(t):t.cases.forEach(n=>Zr(n)),e}function Zr(e){if(e.items.length===1){const t=e.items[0];(t.type===3||t.type===9)&&(e.static=t.value,delete t.value)}else{const t=[];for(let n=0;n<e.items.length;n++){const r=e.items[n];if(!(r.type===3||r.type===9)||r.value==null)break;t.push(r.value)}if(t.length===e.items.length){e.static=qr(t);for(let n=0;n<e.items.length;n++){const r=e.items[n];(r.type===3||r.type===9)&&delete r.value}}}}const Xa="minifier";function kt(e){switch(e.t=e.type,e.type){case 0:{const t=e;kt(t.body),t.b=t.body,delete t.body;break}case 1:{const t=e,n=t.cases;for(let r=0;r<n.length;r++)kt(n[r]);t.c=n,delete t.cases;break}case 2:{const t=e,n=t.items;for(let r=0;r<n.length;r++)kt(n[r]);t.i=n,delete t.items,t.static&&(t.s=t.static,delete t.static);break}case 3:case 9:case 8:case 7:{const t=e;t.value&&(t.v=t.value,delete t.value);break}case 6:{const t=e;kt(t.key),t.k=t.key,delete t.key,t.modifier&&(kt(t.modifier),t.m=t.modifier,delete t.modifier);break}case 5:{const t=e;t.i=t.index,delete t.index;break}case 4:{const t=e;t.k=t.key,delete t.key;break}default:throw wt(H.UNHANDLED_MINIFIER_NODE_TYPE,null,{domain:Xa,args:[e.type]})}delete e.type}const Ja="parser";function qa(e,t){const{sourceMap:n,filename:r,breakLineCode:o,needIndent:s}=t,a=t.location!==!1,i={filename:r,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:o,needIndent:s,indentLevel:0};a&&e.loc&&(i.source=e.loc.source);const l=()=>i;function h(D,p){i.code+=D}function g(D,p=!0){const v=p?o:"";h(s?v+" ".repeat(D):v)}function d(D=!0){const p=++i.indentLevel;D&&g(p)}function m(D=!0){const p=--i.indentLevel;D&&g(p)}function b(){g(i.indentLevel)}return{context:l,push:h,indent:d,deindent:m,newline:b,helper:D=>`_${D}`,needIndent:()=>i.needIndent}}function Qa(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),Ft(e,t.key),t.modifier?(e.push(", "),Ft(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function za(e,t){const{helper:n,needIndent:r}=e;e.push(`${n("normalize")}([`),e.indent(r());const o=t.items.length;for(let s=0;s<o&&(Ft(e,t.items[s]),s!==o-1);s++)e.push(", ");e.deindent(r()),e.push("])")}function Za(e,t){const{helper:n,needIndent:r}=e;if(t.cases.length>1){e.push(`${n("plural")}([`),e.indent(r());const o=t.cases.length;for(let s=0;s<o&&(Ft(e,t.cases[s]),s!==o-1);s++)e.push(", ");e.deindent(r()),e.push("])")}}function ei(e,t){t.body?Ft(e,t.body):e.push("null")}function Ft(e,t){const{helper:n}=e;switch(t.type){case 0:ei(e,t);break;case 1:Za(e,t);break;case 2:za(e,t);break;case 6:Qa(e,t);break;case 8:e.push(JSON.stringify(t.value),t);break;case 7:e.push(JSON.stringify(t.value),t);break;case 5:e.push(`${n("interpolate")}(${n("list")}(${t.index}))`,t);break;case 4:e.push(`${n("interpolate")}(${n("named")}(${JSON.stringify(t.key)}))`,t);break;case 9:e.push(JSON.stringify(t.value),t);break;case 3:e.push(JSON.stringify(t.value),t);break;default:throw wt(H.UNHANDLED_CODEGEN_NODE_TYPE,null,{domain:Ja,args:[t.type]})}}const ti=(e,t={})=>{const n=Jr(t.mode)?t.mode:"normal",r=Jr(t.filename)?t.filename:"message.intl",o=!!t.sourceMap,s=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":`
26
+ `,a=t.needIndent?t.needIndent:n!=="arrow",i=e.helpers||[],l=qa(e,{mode:n,filename:r,sourceMap:o,breakLineCode:s,needIndent:a});l.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),l.indent(a),i.length>0&&(l.push(`const { ${qr(i.map(d=>`${d}: _${d}`),", ")} } = ctx`),l.newline()),l.push("return "),Ft(l,e),l.deindent(a),l.push("}"),delete e.helpers;const{code:h,map:g}=l.context();return{ast:e,code:h,map:g?g.toJSON():void 0}};function ni(e,t={}){const n=Xr({},t),r=!!n.jit,o=!!n.minify,s=n.optimize==null?!0:n.optimize,i=Ba(n).parse(e);return r?(s&&Ya(i),o&&kt(i),{ast:i,code:""}):(Ka(i,n),ti(i,n))}/*!
27
+ * core-base v9.10.2
28
+ * (c) 2024 kazuya kawaguchi
29
+ * Released under the MIT License.
30
+ */function ri(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(rt().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(rt().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(rt().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}const ut=[];ut[0]={w:[0],i:[3,0],"[":[4],o:[7]},ut[1]={w:[1],".":[2],"[":[4],o:[7]},ut[2]={w:[2],i:[3,0],0:[3,0]},ut[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]},ut[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]},ut[5]={"'":[4,0],o:8,l:[5,0]},ut[6]={'"':[4,0],o:8,l:[6,0]};const si=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function oi(e){return si.test(e)}function ai(e){const t=e.charCodeAt(0),n=e.charCodeAt(e.length-1);return t===n&&(t===34||t===39)?e.slice(1,-1):e}function ii(e){if(e==null)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function li(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:oi(t)?ai(t):"*"+t}function ci(e){const t=[];let n=-1,r=0,o=0,s,a,i,l,h,g,d;const m=[];m[0]=()=>{a===void 0?a=i:a+=i},m[1]=()=>{a!==void 0&&(t.push(a),a=void 0)},m[2]=()=>{m[0](),o++},m[3]=()=>{if(o>0)o--,r=4,m[0]();else{if(o=0,a===void 0||(a=li(a),a===!1))return!1;m[1]()}};function b(){const C=e[n+1];if(r===5&&C==="'"||r===6&&C==='"')return n++,i="\\"+C,m[0](),!0}for(;r!==null;)if(n++,s=e[n],!(s==="\\"&&b())){if(l=ii(s),d=ut[r],h=d[l]||d.l||8,h===8||(r=h[0],h[1]!==void 0&&(g=m[h[1]],g&&(i=s,g()===!1))))return;if(r===7)return t}}const es=new Map;function ui(e,t){return Q(e)?e[t]:null}function fi(e,t){if(!Q(e))return null;let n=es.get(t);if(n||(n=ci(t),n&&es.set(t,n)),!n)return null;const r=n.length;let o=e,s=0;for(;s<r;){const a=o[n[s]];if(a===void 0||re(o))return null;o=a,s++}return o}const _i=e=>e,di=e=>"",pi="text",mi=e=>e.length===0?"":Ia(e),hi=Ta;function ts(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function Ei(e){const t=Ie(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(Ie(e.named.count)||Ie(e.named.n))?Ie(e.named.count)?e.named.count:Ie(e.named.n)?e.named.n:t:t}function gi(e,t){t.count||(t.count=e),t.n||(t.n=e)}function Ni(e={}){const t=e.locale,n=Ei(e),r=Q(e.pluralRules)&&P(t)&&re(e.pluralRules[t])?e.pluralRules[t]:ts,o=Q(e.pluralRules)&&P(t)&&re(e.pluralRules[t])?ts:void 0,s=p=>p[r(n,p.length,o)],a=e.list||[],i=p=>a[p],l=e.named||{};Ie(e.pluralIndex)&&gi(n,l);const h=p=>l[p];function g(p){const v=re(e.messages)?e.messages(p):Q(e.messages)?e.messages[p]:!1;return v||(e.parent?e.parent.message(p):di)}const d=p=>e.modifiers?e.modifiers[p]:_i,m=G(e.processor)&&re(e.processor.normalize)?e.processor.normalize:mi,b=G(e.processor)&&re(e.processor.interpolate)?e.processor.interpolate:hi,C=G(e.processor)&&P(e.processor.type)?e.processor.type:pi,D={list:i,named:h,plural:s,linked:(p,...v)=>{const[L,N]=v;let w="text",A="";v.length===1?Q(L)?(A=L.modifier||A,w=L.type||w):P(L)&&(A=L||A):v.length===2&&(P(L)&&(A=L||A),P(N)&&(w=N||w));const T=g(p)(D),_=w==="vnode"&&ie(T)&&A?T[0]:T;return A?d(A)(_,w):_},message:g,type:C,interpolate:b,normalize:m,values:Re({},a,l)};return D}let Xt=null;function vi(e){Xt=e}function Oi(e,t,n){Xt&&Xt.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const bi=Ti("function:translate");function Ti(e){return t=>Xt&&Xt.emit(e,t)}const Fe={NOT_FOUND_KEY:1,FALLBACK_TO_TRANSLATE:2,CANNOT_FORMAT_NUMBER:3,FALLBACK_TO_NUMBER_FORMAT:4,CANNOT_FORMAT_DATE:5,FALLBACK_TO_DATE_FORMAT:6,EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:7,__EXTEND_POINT__:8},Ii={[Fe.NOT_FOUND_KEY]:"Not found '{key}' key in '{locale}' locale messages.",[Fe.FALLBACK_TO_TRANSLATE]:"Fall back to translate '{key}' key with '{target}' locale.",[Fe.CANNOT_FORMAT_NUMBER]:"Cannot format a number value due to not supported Intl.NumberFormat.",[Fe.FALLBACK_TO_NUMBER_FORMAT]:"Fall back to number format '{key}' key with '{target}' locale.",[Fe.CANNOT_FORMAT_DATE]:"Cannot format a date value due to not supported Intl.DateTimeFormat.",[Fe.FALLBACK_TO_DATE_FORMAT]:"Fall back to datetime format '{key}' key with '{target}' locale.",[Fe.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER]:"This project is using Custom Message Compiler, which is an experimental feature. It may receive breaking changes or be removed in the future."};function bt(e,...t){return Un(Ii[e],...t)}const ns=H.__EXTEND_POINT__,Tt=xn(ns),Ce={INVALID_ARGUMENT:ns,INVALID_DATE_ARGUMENT:Tt(),INVALID_ISO_DATE_ARGUMENT:Tt(),NOT_SUPPORT_NON_STRING_MESSAGE:Tt(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:Tt(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:Tt(),NOT_SUPPORT_LOCALE_TYPE:Tt(),__EXTEND_POINT__:Tt()};function Ze(e){return wt(e,null,process.env.NODE_ENV!=="production"?{messages:Li}:void 0)}const Li={[Ce.INVALID_ARGUMENT]:"Invalid arguments",[Ce.INVALID_DATE_ARGUMENT]:"The date provided is an invalid Date object.Make sure your Date represents a valid date.",[Ce.INVALID_ISO_DATE_ARGUMENT]:"The argument provided is not a valid ISO date string",[Ce.NOT_SUPPORT_NON_STRING_MESSAGE]:"Not support non-string message",[Ce.NOT_SUPPORT_LOCALE_PROMISE_VALUE]:"cannot support promise value",[Ce.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION]:"cannot support async function",[Ce.NOT_SUPPORT_LOCALE_TYPE]:"cannot support locale type"};function Gn(e,t){return t.locale!=null?rs(t.locale):rs(e.locale)}let Bn;function rs(e){if(P(e))return e;if(re(e)){if(e.resolvedOnce&&Bn!=null)return Bn;if(e.constructor.name==="Function"){const t=e();if(ba(t))throw Ze(Ce.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return Bn=t}else throw Ze(Ce.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw Ze(Ce.NOT_SUPPORT_LOCALE_TYPE)}function yi(e,t,n){return[...new Set([n,...ie(t)?t:Q(t)?Object.keys(t):P(t)?[t]:[n]])]}function ss(e,t,n){const r=P(n)?n:Mt,o=e;o.__localeChainCache||(o.__localeChainCache=new Map);let s=o.__localeChainCache.get(r);if(!s){s=[];let a=[n];for(;ie(a);)a=os(s,a,t);const i=ie(t)||!G(t)?t:t.default?t.default:null;a=P(i)?[i]:i,ie(a)&&os(s,a,!1),o.__localeChainCache.set(r,s)}return s}function os(e,t,n){let r=!0;for(let o=0;o<t.length&&Y(r);o++){const s=t[o];P(s)&&(r=Si(e,t[o],n))}return r}function Si(e,t,n){let r;const o=t.split("-");do{const s=o.join("-");r=Ci(e,s,n),o.splice(-1,1)}while(o.length&&r===!0);return r}function Ci(e,t,n){let r=!1;if(!e.includes(t)&&(r=!0,t)){r=t[t.length-1]!=="!";const o=t.replace(/!/g,"");e.push(o),(ie(n)||G(n))&&n[o]&&(r=n[o])}return r}const Ri="9.10.2",fn=-1,Mt="en-US",_n="",as=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function Ai(){return{upper:(e,t)=>t==="text"&&P(e)?e.toUpperCase():t==="vnode"&&Q(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&P(e)?e.toLowerCase():t==="vnode"&&Q(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&P(e)?as(e):t==="vnode"&&Q(e)&&"__v_isVNode"in e?as(e.children):e}}let is;function ls(e){is=e}let cs;function Di(e){cs=e}let us;function Pi(e){us=e}let fs=null;const wi=e=>{fs=e},ki=()=>fs;let _s=null;const ds=e=>{_s=e},Fi=()=>_s;let ps=0;function Mi(e={}){const t=re(e.onWarn)?e.onWarn:Se,n=P(e.version)?e.version:Ri,r=P(e.locale)||re(e.locale)?e.locale:Mt,o=re(r)?Mt:r,s=ie(e.fallbackLocale)||G(e.fallbackLocale)||P(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:o,a=G(e.messages)?e.messages:{[o]:{}},i=G(e.datetimeFormats)?e.datetimeFormats:{[o]:{}},l=G(e.numberFormats)?e.numberFormats:{[o]:{}},h=Re({},e.modifiers||{},Ai()),g=e.pluralRules||{},d=re(e.missing)?e.missing:null,m=Y(e.missingWarn)||lt(e.missingWarn)?e.missingWarn:!0,b=Y(e.fallbackWarn)||lt(e.fallbackWarn)?e.fallbackWarn:!0,C=!!e.fallbackFormat,R=!!e.unresolving,D=re(e.postTranslation)?e.postTranslation:null,p=G(e.processor)?e.processor:null,v=Y(e.warnHtmlMessage)?e.warnHtmlMessage:!0,L=!!e.escapeParameter,N=re(e.messageCompiler)?e.messageCompiler:is;process.env.NODE_ENV!=="production"&&re(e.messageCompiler)&&Yr(bt(Fe.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));const w=re(e.messageResolver)?e.messageResolver:cs||ui,A=re(e.localeFallbacker)?e.localeFallbacker:us||yi,T=Q(e.fallbackContext)?e.fallbackContext:void 0,_=e,u=Q(_.__datetimeFormatters)?_.__datetimeFormatters:new Map,I=Q(_.__numberFormatters)?_.__numberFormatters:new Map,F=Q(_.__meta)?_.__meta:{};ps++;const k={version:n,cid:ps,locale:r,fallbackLocale:s,messages:a,modifiers:h,pluralRules:g,missing:d,missingWarn:m,fallbackWarn:b,fallbackFormat:C,unresolving:R,postTranslation:D,processor:p,warnHtmlMessage:v,escapeParameter:L,messageCompiler:N,messageResolver:w,localeFallbacker:A,fallbackContext:T,onWarn:t,__meta:F};return k.datetimeFormats=i,k.numberFormats=l,k.__datetimeFormatters=u,k.__numberFormatters=I,process.env.NODE_ENV!=="production"&&(k.__v_emitter=_.__v_emitter!=null?_.__v_emitter:void 0),(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&Oi(k,n,F),k}function dn(e,t){return e instanceof RegExp?e.test(t):e}function ms(e,t){return e instanceof RegExp?e.test(t):e}function jn(e,t,n,r,o){const{missing:s,onWarn:a}=e;if(process.env.NODE_ENV!=="production"){const i=e.__v_emitter;i&&i.emit("missing",{locale:n,key:t,type:o,groupId:`${o}:${t}`})}if(s!==null){const i=s(e,n,t,o);return P(i)?i:t}else return process.env.NODE_ENV!=="production"&&ms(r,t)&&a(bt(Fe.NOT_FOUND_KEY,{key:t,locale:n})),t}function Jt(e,t,n){const r=e;r.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function Kn(e){return n=>Vi(n,e)}function Vi(e,t){const n=t.b||t.body;if((n.t||n.type)===1){const r=n,o=r.c||r.cases;return e.plural(o.reduce((s,a)=>[...s,hs(e,a)],[]))}else return hs(e,n)}function hs(e,t){const n=t.s||t.static;if(n)return e.type==="text"?n:e.normalize([n]);{const r=(t.i||t.items).reduce((o,s)=>[...o,Yn(e,s)],[]);return e.normalize(r)}}function Yn(e,t){const n=t.t||t.type;switch(n){case 3:{const r=t;return r.v||r.value}case 9:{const r=t;return r.v||r.value}case 4:{const r=t;return e.interpolate(e.named(r.k||r.key))}case 5:{const r=t;return e.interpolate(e.list(r.i!=null?r.i:r.index))}case 6:{const r=t,o=r.m||r.modifier;return e.linked(Yn(e,r.k||r.key),o?Yn(e,o):void 0,e.type)}case 7:{const r=t;return r.v||r.value}case 8:{const r=t;return r.v||r.value}default:throw new Error(`unhandled node type on format message part: ${n}`)}}const Ui="Detected HTML in '{source}' message. Recommend not using HTML messages to avoid XSS.";function Es(e,t){t&&wa(e)&&Se(Un(Ui,{source:e}))}const gs=e=>e;let Vt=Object.create(null);const ft=e=>Q(e)&&(e.t===0||e.type===0)&&("b"in e||"body"in e);function Ns(e,t={}){let n=!1;const r=t.onError||Da;return t.onError=o=>{n=!0,r(o)},{...ni(e,t),detectError:n}}const xi=(e,t)=>{if(!P(e))throw Ze(Ce.NOT_SUPPORT_NON_STRING_MESSAGE);{const n=Y(t.warnHtmlMessage)?t.warnHtmlMessage:!0;process.env.NODE_ENV!=="production"&&Es(e,n);const o=(t.onCacheKey||gs)(e),s=Vt[o];if(s)return s;const{code:a,detectError:i}=Ns(e,t),l=new Function(`return ${a}`)();return i?l:Vt[o]=l}};function $i(e,t){if(__INTLIFY_JIT_COMPILATION__&&!__INTLIFY_DROP_MESSAGE_COMPILER__&&P(e)){const n=Y(t.warnHtmlMessage)?t.warnHtmlMessage:!0;process.env.NODE_ENV!=="production"&&Es(e,n);const o=(t.onCacheKey||gs)(e),s=Vt[o];if(s)return s;const{ast:a,detectError:i}=Ns(e,{...t,location:process.env.NODE_ENV!=="production",jit:!0}),l=Kn(a);return i?l:Vt[o]=l}else{if(process.env.NODE_ENV!=="production"&&!ft(e))return Se(`the message that is resolve with key '${t.key}' is not supported for jit compilation`),()=>e;const n=e.cacheKey;if(n){const r=Vt[n];return r||(Vt[n]=Kn(e))}else return Kn(e)}}const vs=()=>"",Be=e=>re(e);function Os(e,...t){const{fallbackFormat:n,postTranslation:r,unresolving:o,messageCompiler:s,fallbackLocale:a,messages:i}=e,[l,h]=Xn(...t),g=Y(h.missingWarn)?h.missingWarn:e.missingWarn,d=Y(h.fallbackWarn)?h.fallbackWarn:e.fallbackWarn,m=Y(h.escapeParameter)?h.escapeParameter:e.escapeParameter,b=!!h.resolvedMessage,C=P(h.default)||Y(h.default)?Y(h.default)?s?l:()=>l:h.default:n?s?l:()=>l:"",R=n||C!=="",D=Gn(e,h);m&&Wi(h);let[p,v,L]=b?[l,D,i[D]||{}]:bs(e,l,D,a,d,g),N=p,w=l;if(!b&&!(P(N)||ft(N)||Be(N))&&R&&(N=C,w=N),!b&&(!(P(N)||ft(N)||Be(N))||!P(v)))return o?fn:l;if(process.env.NODE_ENV!=="production"&&P(N)&&e.messageCompiler==null)return Se(`The message format compilation is not supported in this build. Because message compiler isn't included. You need to pre-compilation all message format. So translate function return '${l}'.`),l;let A=!1;const T=()=>{A=!0},_=Be(N)?N:Ts(e,l,v,N,w,T);if(A)return N;const u=ji(e,v,L,h),I=Ni(u),F=Hi(e,_,I),k=r?r(F,l):F;if(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const $={timestamp:Date.now(),key:P(l)?l:Be(N)?N.key:"",locale:v||(Be(N)?N.locale:""),format:P(N)?N:Be(N)?N.source:"",message:k};$.meta=Re({},e.__meta,ki()||{}),bi($)}return k}function Wi(e){ie(e.list)?e.list=e.list.map(t=>P(t)?Hr(t):t):Q(e.named)&&Object.keys(e.named).forEach(t=>{P(e.named[t])&&(e.named[t]=Hr(e.named[t]))})}function bs(e,t,n,r,o,s){const{messages:a,onWarn:i,messageResolver:l,localeFallbacker:h}=e,g=h(e,r,n);let d={},m,b=null,C=n,R=null;const D="translate";for(let p=0;p<g.length;p++){if(m=R=g[p],process.env.NODE_ENV!=="production"&&n!==m&&dn(o,t)&&i(bt(Fe.FALLBACK_TO_TRANSLATE,{key:t,target:m})),process.env.NODE_ENV!=="production"&&n!==m){const A=e.__v_emitter;A&&A.emit("fallback",{type:D,key:t,from:C,to:R,groupId:`${D}:${t}`})}d=a[m]||{};let v=null,L,N;if(process.env.NODE_ENV!=="production"&&Ke&&(v=window.performance.now(),L="intlify-message-resolve-start",N="intlify-message-resolve-end",Ge&&Ge(L)),(b=l(d,t))===null&&(b=d[t]),process.env.NODE_ENV!=="production"&&Ke){const A=window.performance.now(),T=e.__v_emitter;T&&v&&b&&T.emit("message-resolve",{type:"message-resolve",key:t,message:b,time:A-v,groupId:`${D}:${t}`}),L&&N&&Ge&&Ot&&(Ge(N),Ot("intlify message resolve",L,N))}if(P(b)||ft(b)||Be(b))break;const w=jn(e,t,m,s,D);w!==t&&(b=w),C=R}return[b,m,d]}function Ts(e,t,n,r,o,s){const{messageCompiler:a,warnHtmlMessage:i}=e;if(Be(r)){const m=r;return m.locale=m.locale||n,m.key=m.key||t,m}if(a==null){const m=()=>r;return m.locale=n,m.key=t,m}let l=null,h,g;process.env.NODE_ENV!=="production"&&Ke&&(l=window.performance.now(),h="intlify-message-compilation-start",g="intlify-message-compilation-end",Ge&&Ge(h));const d=a(r,Gi(e,n,o,r,i,s));if(process.env.NODE_ENV!=="production"&&Ke){const m=window.performance.now(),b=e.__v_emitter;b&&l&&b.emit("message-compilation",{type:"message-compilation",message:r,time:m-l,groupId:`translate:${t}`}),h&&g&&Ge&&Ot&&(Ge(g),Ot("intlify message compilation",h,g))}return d.locale=n,d.key=t,d.source=r,d}function Hi(e,t,n){let r=null,o,s;process.env.NODE_ENV!=="production"&&Ke&&(r=window.performance.now(),o="intlify-message-evaluation-start",s="intlify-message-evaluation-end",Ge&&Ge(o));const a=t(n);if(process.env.NODE_ENV!=="production"&&Ke){const i=window.performance.now(),l=e.__v_emitter;l&&r&&l.emit("message-evaluation",{type:"message-evaluation",value:a,time:i-r,groupId:`translate:${t.key}`}),o&&s&&Ge&&Ot&&(Ge(s),Ot("intlify message evaluation",o,s))}return a}function Xn(...e){const[t,n,r]=e,o={};if(!P(t)&&!Ie(t)&&!Be(t)&&!ft(t))throw Ze(Ce.INVALID_ARGUMENT);const s=Ie(t)?String(t):(Be(t),t);return Ie(n)?o.plural=n:P(n)?o.default=n:G(n)&&!an(n)?o.named=n:ie(n)&&(o.list=n),Ie(r)?o.plural=r:P(r)?o.default=r:G(r)&&Re(o,r),[s,o]}function Gi(e,t,n,r,o,s){return{locale:t,key:n,warnHtmlMessage:o,onError:a=>{if(s&&s(a),process.env.NODE_ENV!=="production"){const i=Bi(r),l=`Message compilation error: ${a.message}`,h=a.location&&i&&La(i,a.location.start.offset,a.location.end.offset),g=e.__v_emitter;g&&i&&g.emit("compile-error",{message:i,error:a.message,start:a.location&&a.location.start.offset,end:a.location&&a.location.end.offset,groupId:`translate:${n}`}),console.error(h?`${l}
31
+ ${h}`:l)}else throw a},onCacheKey:a=>ga(t,n,a)}}function Bi(e){if(P(e))return e;if(e.loc&&e.loc.source)return e.loc.source}function ji(e,t,n,r){const{modifiers:o,pluralRules:s,messageResolver:a,fallbackLocale:i,fallbackWarn:l,missingWarn:h,fallbackContext:g}=e,m={locale:t,modifiers:o,pluralRules:s,messages:b=>{let C=a(n,b);if(C==null&&g){const[,,R]=bs(g,b,t,i,l,h);C=a(R,b)}if(P(C)||ft(C)){let R=!1;const p=Ts(e,b,t,C,b,()=>{R=!0});return R?vs:p}else return Be(C)?C:vs}};return e.processor&&(m.processor=e.processor),r.list&&(m.list=r.list),r.named&&(m.named=r.named),Ie(r.plural)&&(m.pluralIndex=r.plural),m}const Is=typeof Intl<"u",Ls={dateTimeFormat:Is&&typeof Intl.DateTimeFormat<"u",numberFormat:Is&&typeof Intl.NumberFormat<"u"};function ys(e,...t){const{datetimeFormats:n,unresolving:r,fallbackLocale:o,onWarn:s,localeFallbacker:a}=e,{__datetimeFormatters:i}=e;if(process.env.NODE_ENV!=="production"&&!Ls.dateTimeFormat)return s(bt(Fe.CANNOT_FORMAT_DATE)),_n;const[l,h,g,d]=Jn(...t),m=Y(g.missingWarn)?g.missingWarn:e.missingWarn,b=Y(g.fallbackWarn)?g.fallbackWarn:e.fallbackWarn,C=!!g.part,R=Gn(e,g),D=a(e,o,R);if(!P(l)||l==="")return new Intl.DateTimeFormat(R,d).format(h);let p={},v,L=null,N=R,w=null;const A="datetime format";for(let u=0;u<D.length;u++){if(v=w=D[u],process.env.NODE_ENV!=="production"&&R!==v&&dn(b,l)&&s(bt(Fe.FALLBACK_TO_DATE_FORMAT,{key:l,target:v})),process.env.NODE_ENV!=="production"&&R!==v){const I=e.__v_emitter;I&&I.emit("fallback",{type:A,key:l,from:N,to:w,groupId:`${A}:${l}`})}if(p=n[v]||{},L=p[l],G(L))break;jn(e,l,v,m,A),N=w}if(!G(L)||!P(v))return r?fn:l;let T=`${v}__${l}`;an(d)||(T=`${T}__${JSON.stringify(d)}`);let _=i.get(T);return _||(_=new Intl.DateTimeFormat(v,Re({},L,d)),i.set(T,_)),C?_.formatToParts(h):_.format(h)}const Ss=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function Jn(...e){const[t,n,r,o]=e,s={};let a={},i;if(P(t)){const l=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!l)throw Ze(Ce.INVALID_ISO_DATE_ARGUMENT);const h=l[3]?l[3].trim().startsWith("T")?`${l[1].trim()}${l[3].trim()}`:`${l[1].trim()}T${l[3].trim()}`:l[1].trim();i=new Date(h);try{i.toISOString()}catch{throw Ze(Ce.INVALID_ISO_DATE_ARGUMENT)}}else if(va(t)){if(isNaN(t.getTime()))throw Ze(Ce.INVALID_DATE_ARGUMENT);i=t}else if(Ie(t))i=t;else throw Ze(Ce.INVALID_ARGUMENT);return P(n)?s.key=n:G(n)&&Object.keys(n).forEach(l=>{Ss.includes(l)?a[l]=n[l]:s[l]=n[l]}),P(r)?s.locale=r:G(r)&&(a=r),G(o)&&(a=o),[s.key||"",i,s,a]}function Cs(e,t,n){const r=e;for(const o in n){const s=`${t}__${o}`;r.__datetimeFormatters.has(s)&&r.__datetimeFormatters.delete(s)}}function Rs(e,...t){const{numberFormats:n,unresolving:r,fallbackLocale:o,onWarn:s,localeFallbacker:a}=e,{__numberFormatters:i}=e;if(process.env.NODE_ENV!=="production"&&!Ls.numberFormat)return s(bt(Fe.CANNOT_FORMAT_NUMBER)),_n;const[l,h,g,d]=qn(...t),m=Y(g.missingWarn)?g.missingWarn:e.missingWarn,b=Y(g.fallbackWarn)?g.fallbackWarn:e.fallbackWarn,C=!!g.part,R=Gn(e,g),D=a(e,o,R);if(!P(l)||l==="")return new Intl.NumberFormat(R,d).format(h);let p={},v,L=null,N=R,w=null;const A="number format";for(let u=0;u<D.length;u++){if(v=w=D[u],process.env.NODE_ENV!=="production"&&R!==v&&dn(b,l)&&s(bt(Fe.FALLBACK_TO_NUMBER_FORMAT,{key:l,target:v})),process.env.NODE_ENV!=="production"&&R!==v){const I=e.__v_emitter;I&&I.emit("fallback",{type:A,key:l,from:N,to:w,groupId:`${A}:${l}`})}if(p=n[v]||{},L=p[l],G(L))break;jn(e,l,v,m,A),N=w}if(!G(L)||!P(v))return r?fn:l;let T=`${v}__${l}`;an(d)||(T=`${T}__${JSON.stringify(d)}`);let _=i.get(T);return _||(_=new Intl.NumberFormat(v,Re({},L,d)),i.set(T,_)),C?_.formatToParts(h):_.format(h)}const As=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function qn(...e){const[t,n,r,o]=e,s={};let a={};if(!Ie(t))throw Ze(Ce.INVALID_ARGUMENT);const i=t;return P(n)?s.key=n:G(n)&&Object.keys(n).forEach(l=>{As.includes(l)?a[l]=n[l]:s[l]=n[l]}),P(r)?s.locale=r:G(r)&&(a=r),G(o)&&(a=o),[s.key||"",i,s,a]}function Ds(e,t,n){const r=e;for(const o in n){const s=`${t}__${o}`;r.__numberFormatters.has(s)&&r.__numberFormatters.delete(s)}}ri();/**
32
+ * @vue/shared v3.4.21
33
+ * (c) 2018-present Yuxi (Evan) You and Vue contributors
34
+ * @license MIT
35
+ **/function Ki(e,t){const n=new Set(e.split(","));return t?r=>n.has(r.toLowerCase()):r=>n.has(r)}const et=process.env.NODE_ENV!=="production"?Object.freeze({}):{};process.env.NODE_ENV!=="production"&&Object.freeze([]);const _t=()=>{},Yi=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),je=Object.assign,Xi=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Ji=Object.prototype.hasOwnProperty,Oe=(e,t)=>Ji.call(e,t),le=Array.isArray,Ut=e=>mn(e)==="[object Map]",qi=e=>mn(e)==="[object Set]",be=e=>typeof e=="function",Ye=e=>typeof e=="string",pn=e=>typeof e=="symbol",Me=e=>e!==null&&typeof e=="object",Qi=e=>(Me(e)||be(e))&&be(e.then)&&be(e.catch),zi=Object.prototype.toString,mn=e=>zi.call(e),Ps=e=>mn(e).slice(8,-1),Zi=e=>mn(e)==="[object Object]",Qn=e=>Ye(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,ws=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},ks=ws(e=>e.charAt(0).toUpperCase()+e.slice(1)),el=ws(e=>e?`on${ks(e)}`:""),dt=(e,t)=>!Object.is(e,t),tl=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})};let Fs;const Ms=()=>Fs||(Fs=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function zn(e){if(le(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],o=Ye(r)?ol(r):zn(r);if(o)for(const s in o)t[s]=o[s]}return t}else if(Ye(e)||Me(e))return e}const nl=/;(?![^(]*\))/g,rl=/:([^]+)/,sl=/\/\*[^]*?\*\//g;function ol(e){const t={};return e.replace(sl,"").split(nl).forEach(n=>{if(n){const r=n.split(rl);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Zn(e){let t="";if(Ye(e))t=e;else if(le(e))for(let n=0;n<e.length;n++){const r=Zn(e[n]);r&&(t+=r+" ")}else if(Me(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}/**
36
+ * @vue/reactivity v3.4.21
37
+ * (c) 2018-present Yuxi (Evan) You and Vue contributors
38
+ * @license MIT
39
+ **/function pt(e,...t){console.warn(`[Vue warn] ${e}`,...t)}let Xe;class al{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Xe,!t&&Xe&&(this.index=(Xe.scopes||(Xe.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=Xe;try{return Xe=this,t()}finally{Xe=n}}else process.env.NODE_ENV!=="production"&&pt("cannot run an inactive effect scope.")}on(){Xe=this}off(){Xe=this.parent}stop(t){if(this._active){let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.scopes)for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!t){const o=this.parent.scopes.pop();o&&o!==this&&(this.parent.scopes[this.index]=o,o.index=this.index)}this.parent=void 0,this._active=!1}}}function il(e){return new al(e)}function ll(e,t=Xe){t&&t.active&&t.effects.push(e)}function cl(){return Xe}let It;class Vs{constructor(t,n,r,o){this.fn=t,this.trigger=n,this.scheduler=r,this.active=!0,this.deps=[],this._dirtyLevel=4,this._trackId=0,this._runnings=0,this._shouldSchedule=!1,this._depsLength=0,ll(this,o)}get dirty(){if(this._dirtyLevel===2||this._dirtyLevel===3){this._dirtyLevel=1,hn();for(let t=0;t<this._depsLength;t++){const n=this.deps[t];if(n.computed&&(ul(n.computed),this._dirtyLevel>=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),En()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=mt,n=It;try{return mt=!0,It=this,this._runnings++,Us(this),this.fn()}finally{xs(this),this._runnings--,It=n,mt=t}}stop(){var t;this.active&&(Us(this),xs(this),(t=this.onStop)==null||t.call(this),this.active=!1)}}function ul(e){return e.value}function Us(e){e._trackId++,e._depsLength=0}function xs(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t<e.deps.length;t++)$s(e.deps[t],e);e.deps.length=e._depsLength}}function $s(e,t){const n=e.get(t);n!==void 0&&t._trackId!==n&&(e.delete(t),e.size===0&&e.cleanup())}let mt=!0,er=0;const Ws=[];function hn(){Ws.push(mt),mt=!1}function En(){const e=Ws.pop();mt=e===void 0?!0:e}function tr(){er++}function nr(){for(er--;!er&&rr.length;)rr.shift()()}function Hs(e,t,n){var r;if(t.get(e)!==e._trackId){t.set(e,e._trackId);const o=e.deps[e._depsLength];o!==t?(o&&$s(o,e),e.deps[e._depsLength++]=t):e._depsLength++,process.env.NODE_ENV!=="production"&&((r=e.onTrack)==null||r.call(e,je({effect:e},n)))}}const rr=[];function Gs(e,t,n){var r;tr();for(const o of e.keys()){let s;o._dirtyLevel<t&&(s??(s=e.get(o)===o._trackId))&&(o._shouldSchedule||(o._shouldSchedule=o._dirtyLevel===0),o._dirtyLevel=t),o._shouldSchedule&&(s??(s=e.get(o)===o._trackId))&&(process.env.NODE_ENV!=="production"&&((r=o.onTrigger)==null||r.call(o,je({effect:o},n))),o.trigger(),(!o._runnings||o.allowRecurse)&&o._dirtyLevel!==2&&(o._shouldSchedule=!1,o.scheduler&&rr.push(o.scheduler)))}nr()}const Bs=(e,t)=>{const n=new Map;return n.cleanup=e,n.computed=t,n},sr=new WeakMap,Lt=Symbol(process.env.NODE_ENV!=="production"?"iterate":""),or=Symbol(process.env.NODE_ENV!=="production"?"Map key iterate":"");function Ue(e,t,n){if(mt&&It){let r=sr.get(e);r||sr.set(e,r=new Map);let o=r.get(n);o||r.set(n,o=Bs(()=>r.delete(n))),Hs(It,o,process.env.NODE_ENV!=="production"?{target:e,type:t,key:n}:void 0)}}function ht(e,t,n,r,o,s){const a=sr.get(e);if(!a)return;let i=[];if(t==="clear")i=[...a.values()];else if(n==="length"&&le(e)){const l=Number(r);a.forEach((h,g)=>{(g==="length"||!pn(g)&&g>=l)&&i.push(h)})}else switch(n!==void 0&&i.push(a.get(n)),t){case"add":le(e)?Qn(n)&&i.push(a.get("length")):(i.push(a.get(Lt)),Ut(e)&&i.push(a.get(or)));break;case"delete":le(e)||(i.push(a.get(Lt)),Ut(e)&&i.push(a.get(or)));break;case"set":Ut(e)&&i.push(a.get(Lt));break}tr();for(const l of i)l&&Gs(l,4,process.env.NODE_ENV!=="production"?{target:e,type:t,key:n,newValue:r,oldValue:o,oldTarget:s}:void 0);nr()}const fl=Ki("__proto__,__v_isRef,__isVue"),js=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(pn)),Ks=_l();function _l(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=J(this);for(let s=0,a=this.length;s<a;s++)Ue(r,"get",s+"");const o=r[t](...n);return o===-1||o===!1?r[t](...n.map(J)):o}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){hn(),tr();const r=J(this)[t].apply(this,n);return nr(),En(),r}}),e}function dl(e){const t=J(this);return Ue(t,"has",e),t.hasOwnProperty(e)}class Ys{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){const o=this._isReadonly,s=this._isShallow;if(n==="__v_isReactive")return!o;if(n==="__v_isReadonly")return o;if(n==="__v_isShallow")return s;if(n==="__v_raw")return r===(o?s?no:to:s?yl:eo).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const a=le(t);if(!o){if(a&&Oe(Ks,n))return Reflect.get(Ks,n,r);if(n==="hasOwnProperty")return dl}const i=Reflect.get(t,n,r);return(pn(n)?js.has(n):fl(n))||(o||Ue(t,"get",n),s)?i:xe(i)?a&&Qn(n)?i:i.value:Me(i)?o?so(i):ro(i):i}}class pl extends Ys{constructor(t=!1){super(!1,t)}set(t,n,r,o){let s=t[n];if(!this._isShallow){const l=gt(s);if(!St(r)&&!gt(r)&&(s=J(s),r=J(r)),!le(t)&&xe(s)&&!xe(r))return l?!1:(s.value=r,!0)}const a=le(t)&&Qn(n)?Number(n)<t.length:Oe(t,n),i=Reflect.set(t,n,r,o);return t===J(o)&&(a?dt(r,s)&&ht(t,"set",n,r,s):ht(t,"add",n,r)),i}deleteProperty(t,n){const r=Oe(t,n),o=t[n],s=Reflect.deleteProperty(t,n);return s&&r&&ht(t,"delete",n,void 0,o),s}has(t,n){const r=Reflect.has(t,n);return(!pn(n)||!js.has(n))&&Ue(t,"has",n),r}ownKeys(t){return Ue(t,"iterate",le(t)?"length":Lt),Reflect.ownKeys(t)}}class Xs extends Ys{constructor(t=!1){super(!0,t)}set(t,n){return process.env.NODE_ENV!=="production"&&pt(`Set operation on key "${String(n)}" failed: target is readonly.`,t),!0}deleteProperty(t,n){return process.env.NODE_ENV!=="production"&&pt(`Delete operation on key "${String(n)}" failed: target is readonly.`,t),!0}}const ml=new pl,hl=new Xs,El=new Xs(!0),ar=e=>e,gn=e=>Reflect.getPrototypeOf(e);function Nn(e,t,n=!1,r=!1){e=e.__v_raw;const o=J(e),s=J(t);n||(dt(t,s)&&Ue(o,"get",t),Ue(o,"get",s));const{has:a}=gn(o),i=r?ar:n?ur:qt;if(a.call(o,t))return i(e.get(t));if(a.call(o,s))return i(e.get(s));e!==o&&e.get(t)}function vn(e,t=!1){const n=this.__v_raw,r=J(n),o=J(e);return t||(dt(e,o)&&Ue(r,"has",e),Ue(r,"has",o)),e===o?n.has(e):n.has(e)||n.has(o)}function On(e,t=!1){return e=e.__v_raw,!t&&Ue(J(e),"iterate",Lt),Reflect.get(e,"size",e)}function Js(e){e=J(e);const t=J(this);return gn(t).has.call(t,e)||(t.add(e),ht(t,"add",e,e)),this}function qs(e,t){t=J(t);const n=J(this),{has:r,get:o}=gn(n);let s=r.call(n,e);s?process.env.NODE_ENV!=="production"&&Zs(n,r,e):(e=J(e),s=r.call(n,e));const a=o.call(n,e);return n.set(e,t),s?dt(t,a)&&ht(n,"set",e,t,a):ht(n,"add",e,t),this}function Qs(e){const t=J(this),{has:n,get:r}=gn(t);let o=n.call(t,e);o?process.env.NODE_ENV!=="production"&&Zs(t,n,e):(e=J(e),o=n.call(t,e));const s=r?r.call(t,e):void 0,a=t.delete(e);return o&&ht(t,"delete",e,void 0,s),a}function zs(){const e=J(this),t=e.size!==0,n=process.env.NODE_ENV!=="production"?Ut(e)?new Map(e):new Set(e):void 0,r=e.clear();return t&&ht(e,"clear",void 0,void 0,n),r}function bn(e,t){return function(r,o){const s=this,a=s.__v_raw,i=J(a),l=t?ar:e?ur:qt;return!e&&Ue(i,"iterate",Lt),a.forEach((h,g)=>r.call(o,l(h),l(g),s))}}function Tn(e,t,n){return function(...r){const o=this.__v_raw,s=J(o),a=Ut(s),i=e==="entries"||e===Symbol.iterator&&a,l=e==="keys"&&a,h=o[e](...r),g=n?ar:t?ur:qt;return!t&&Ue(s,"iterate",l?or:Lt),{next(){const{value:d,done:m}=h.next();return m?{value:d,done:m}:{value:i?[g(d[0]),g(d[1])]:g(d),done:m}},[Symbol.iterator](){return this}}}}function Et(e){return function(...t){if(process.env.NODE_ENV!=="production"){const n=t[0]?`on key "${t[0]}" `:"";pt(`${ks(e)} operation ${n}failed: target is readonly.`,J(this))}return e==="delete"?!1:e==="clear"?void 0:this}}function gl(){const e={get(s){return Nn(this,s)},get size(){return On(this)},has:vn,add:Js,set:qs,delete:Qs,clear:zs,forEach:bn(!1,!1)},t={get(s){return Nn(this,s,!1,!0)},get size(){return On(this)},has:vn,add:Js,set:qs,delete:Qs,clear:zs,forEach:bn(!1,!0)},n={get(s){return Nn(this,s,!0)},get size(){return On(this,!0)},has(s){return vn.call(this,s,!0)},add:Et("add"),set:Et("set"),delete:Et("delete"),clear:Et("clear"),forEach:bn(!0,!1)},r={get(s){return Nn(this,s,!0,!0)},get size(){return On(this,!0)},has(s){return vn.call(this,s,!0)},add:Et("add"),set:Et("set"),delete:Et("delete"),clear:Et("clear"),forEach:bn(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(s=>{e[s]=Tn(s,!1,!1),n[s]=Tn(s,!0,!1),t[s]=Tn(s,!1,!0),r[s]=Tn(s,!0,!0)}),[e,n,t,r]}const[Nl,vl,Ol,bl]=gl();function ir(e,t){const n=t?e?bl:Ol:e?vl:Nl;return(r,o,s)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?r:Reflect.get(Oe(n,o)&&o in r?n:r,o,s)}const Tl={get:ir(!1,!1)},Il={get:ir(!0,!1)},Ll={get:ir(!0,!0)};function Zs(e,t,n){const r=J(n);if(r!==n&&t.call(e,r)){const o=Ps(e);pt(`Reactive ${o} contains both the raw and reactive versions of the same object${o==="Map"?" as keys":""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`)}}const eo=new WeakMap,yl=new WeakMap,to=new WeakMap,no=new WeakMap;function Sl(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Cl(e){return e.__v_skip||!Object.isExtensible(e)?0:Sl(Ps(e))}function ro(e){return gt(e)?e:lr(e,!1,ml,Tl,eo)}function so(e){return lr(e,!0,hl,Il,to)}function In(e){return lr(e,!0,El,Ll,no)}function lr(e,t,n,r,o){if(!Me(e))return process.env.NODE_ENV!=="production"&&pt(`value cannot be made reactive: ${String(e)}`),e;if(e.__v_raw&&!(t&&e.__v_isReactive))return e;const s=o.get(e);if(s)return s;const a=Cl(e);if(a===0)return e;const i=new Proxy(e,a===2?r:n);return o.set(e,i),i}function yt(e){return gt(e)?yt(e.__v_raw):!!(e&&e.__v_isReactive)}function gt(e){return!!(e&&e.__v_isReadonly)}function St(e){return!!(e&&e.__v_isShallow)}function cr(e){return yt(e)||gt(e)}function J(e){const t=e&&e.__v_raw;return t?J(t):e}function Rl(e){return Object.isExtensible(e)&&tl(e,"__v_skip",!0),e}const qt=e=>Me(e)?ro(e):e,ur=e=>Me(e)?so(e):e,Al="Computed is still dirty after getter evaluation, likely because a computed is mutating its own dependency in its getter. State mutations in computed getters should be avoided. Check the docs for more details: https://vuejs.org/guide/essentials/computed.html#getters-should-be-side-effect-free";class oo{constructor(t,n,r,o){this.getter=t,this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new Vs(()=>t(this._value),()=>Ln(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=r}get value(){const t=J(this);return(!t._cacheable||t.effect.dirty)&&dt(t._value,t._value=t.effect.run())&&Ln(t,4),ao(t),t.effect._dirtyLevel>=2&&(process.env.NODE_ENV!=="production"&&this._warnRecursive&&pt(Al,`
40
+
41
+ getter: `,this.getter),Ln(t,2)),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function Dl(e,t,n=!1){let r,o;const s=be(e);s?(r=e,o=process.env.NODE_ENV!=="production"?()=>{pt("Write operation failed: computed value is readonly")}:_t):(r=e.get,o=e.set);const a=new oo(r,o,s||!o,n);return process.env.NODE_ENV!=="production"&&t&&!n&&(a.effect.onTrack=t.onTrack,a.effect.onTrigger=t.onTrigger),a}function ao(e){var t;mt&&It&&(e=J(e),Hs(It,(t=e.dep)!=null?t:e.dep=Bs(()=>e.dep=void 0,e instanceof oo?e:void 0),process.env.NODE_ENV!=="production"?{target:e,type:"get",key:"value"}:void 0))}function Ln(e,t=4,n){e=J(e);const r=e.dep;r&&Gs(r,t,process.env.NODE_ENV!=="production"?{target:e,type:"set",key:"value",newValue:n}:void 0)}function xe(e){return!!(e&&e.__v_isRef===!0)}function xt(e){return lo(e,!1)}function io(e){return lo(e,!0)}function lo(e,t){return xe(e)?e:new Pl(e,t)}class Pl{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:J(t),this._value=n?t:qt(t)}get value(){return ao(this),this._value}set value(t){const n=this.__v_isShallow||St(t)||gt(t);t=n?t:J(t),dt(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:qt(t),Ln(this,4,t))}}function wl(e){return xe(e)?e.value:e}const kl={get:(e,t,n)=>wl(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return xe(o)&&!xe(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function Fl(e){return yt(e)?e:new Proxy(e,kl)}/**
42
+ * @vue/runtime-core v3.4.21
43
+ * (c) 2018-present Yuxi (Evan) You and Vue contributors
44
+ * @license MIT
45
+ **/const Ct=[];function Ml(e){Ct.push(e)}function Vl(){Ct.pop()}function Ee(e,...t){hn();const n=Ct.length?Ct[Ct.length-1].component:null,r=n&&n.appContext.config.warnHandler,o=Ul();if(r)Rt(r,n,11,[e+t.map(s=>{var a,i;return(i=(a=s.toString)==null?void 0:a.call(s))!=null?i:JSON.stringify(s)}).join(""),n&&n.proxy,o.map(({vnode:s})=>`at <${wo(n,s.type)}>`).join(`
46
+ `),o]);else{const s=[`[Vue warn]: ${e}`,...t];o.length&&s.push(`
47
+ `,...xl(o)),console.warn(...s)}En()}function Ul(){let e=Ct[Ct.length-1];if(!e)return[];const t=[];for(;e;){const n=t[0];n&&n.vnode===e?n.recurseCount++:t.push({vnode:e,recurseCount:0});const r=e.component&&e.component.parent;e=r&&r.vnode}return t}function xl(e){const t=[];return e.forEach((n,r)=>{t.push(...r===0?[]:[`
48
+ `],...$l(n))}),t}function $l({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",r=e.component?e.component.parent==null:!1,o=` at <${wo(e.component,e.type,r)}`,s=">"+n;return e.props?[o,...Wl(e.props),s]:[o+s]}function Wl(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach(r=>{t.push(...co(r,e[r]))}),n.length>3&&t.push(" ..."),t}function co(e,t,n){return Ye(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?n?t:[`${e}=${t}`]:xe(t)?(t=co(e,J(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):be(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=J(t),n?t:[`${e}=`,t])}const fr={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush. This is likely a Vue internals bug. Please open an issue at https://github.com/vuejs/core ."};function Rt(e,t,n,r){try{return r?e(...r):e()}catch(o){_r(o,t,n)}}function Qt(e,t,n,r){if(be(e)){const s=Rt(e,t,n,r);return s&&Qi(s)&&s.catch(a=>{_r(a,t,n)}),s}const o=[];for(let s=0;s<e.length;s++)o.push(Qt(e[s],t,n,r));return o}function _r(e,t,n,r=!0){const o=t?t.vnode:null;if(t){let s=t.parent;const a=t.proxy,i=process.env.NODE_ENV!=="production"?fr[n]:`https://vuejs.org/error-reference/#runtime-${n}`;for(;s;){const h=s.ec;if(h){for(let g=0;g<h.length;g++)if(h[g](e,a,i)===!1)return}s=s.parent}const l=t.appContext.config.errorHandler;if(l){Rt(l,null,10,[e,a,i]);return}}Hl(e,n,o,r)}function Hl(e,t,n,r=!0){if(process.env.NODE_ENV!=="production"){const o=fr[t];if(n&&Ml(n),Ee(`Unhandled error${o?` during execution of ${o}`:""}`),n&&Vl(),r)throw e;console.error(e)}else console.error(e)}let yn=!1,dr=!1;const Je=[];let Nt=0;const $t=[];let ot=null,vt=0;const uo=Promise.resolve();let pr=null;const Gl=100;function Bl(e){const t=pr||uo;return e?t.then(this?e.bind(this):e):t}function jl(e){let t=Nt+1,n=Je.length;for(;t<n;){const r=t+n>>>1,o=Je[r],s=zt(o);s<e||s===e&&o.pre?t=r+1:n=r}return t}function mr(e){(!Je.length||!Je.includes(e,yn&&e.allowRecurse?Nt+1:Nt))&&(e.id==null?Je.push(e):Je.splice(jl(e.id),0,e),fo())}function fo(){!yn&&!dr&&(dr=!0,pr=uo.then(po))}function _o(e){le(e)?$t.push(...e):(!ot||!ot.includes(e,e.allowRecurse?vt+1:vt))&&$t.push(e),fo()}function Kl(e){if($t.length){const t=[...new Set($t)].sort((n,r)=>zt(n)-zt(r));if($t.length=0,ot){ot.push(...t);return}for(ot=t,process.env.NODE_ENV!=="production"&&(e=e||new Map),vt=0;vt<ot.length;vt++)process.env.NODE_ENV!=="production"&&mo(e,ot[vt])||ot[vt]();ot=null,vt=0}}const zt=e=>e.id==null?1/0:e.id,Yl=(e,t)=>{const n=zt(e)-zt(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function po(e){dr=!1,yn=!0,process.env.NODE_ENV!=="production"&&(e=e||new Map),Je.sort(Yl);const t=process.env.NODE_ENV!=="production"?n=>mo(e,n):_t;try{for(Nt=0;Nt<Je.length;Nt++){const n=Je[Nt];if(n&&n.active!==!1){if(process.env.NODE_ENV!=="production"&&t(n))continue;Rt(n,null,14)}}}finally{Nt=0,Je.length=0,Kl(e),yn=!1,pr=null,(Je.length||$t.length)&&po(e)}}function mo(e,t){if(!e.has(t))e.set(t,1);else{const n=e.get(t);if(n>Gl){const r=t.ownerInstance,o=r&&Po(r.type);return _r(`Maximum recursive updates exceeded${o?` in component <${o}>`:""}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`,null,10),!0}else e.set(t,n+1)}}const Zt=new Set;process.env.NODE_ENV!=="production"&&(Ms().__VUE_HMR_RUNTIME__={createRecord:hr(Xl),rerender:hr(Jl),reload:hr(ql)});const Sn=new Map;function Xl(e,t){return Sn.has(e)?!1:(Sn.set(e,{initialDef:en(t),instances:new Set}),!0)}function en(e){return ko(e)?e.__vccOpts:e}function Jl(e,t){const n=Sn.get(e);n&&(n.initialDef.render=t,[...n.instances].forEach(r=>{t&&(r.render=t,en(r.type).render=t),r.renderCache=[],r.effect.dirty=!0,r.update()}))}function ql(e,t){const n=Sn.get(e);if(!n)return;t=en(t),ho(n.initialDef,t);const r=[...n.instances];for(const o of r){const s=en(o.type);Zt.has(s)||(s!==n.initialDef&&ho(s,t),Zt.add(s)),o.appContext.propsCache.delete(o.type),o.appContext.emitsCache.delete(o.type),o.appContext.optionsCache.delete(o.type),o.ceReload?(Zt.add(s),o.ceReload(t.styles),Zt.delete(s)):o.parent?(o.parent.effect.dirty=!0,mr(o.parent.update)):o.appContext.reload?o.appContext.reload():typeof window<"u"?window.location.reload():console.warn("[HMR] Root or manually mounted instance modified. Full reload required.")}_o(()=>{for(const o of r)Zt.delete(en(o.type))})}function ho(e,t){je(e,t);for(const n in e)n!=="__file"&&!(n in t)&&delete e[n]}function hr(e){return(t,n)=>{try{return e(t,n)}catch(r){console.error(r),console.warn("[HMR] Something went wrong during Vue component hot-reload. Full reload required.")}}}let Wt,Cn=[];function Eo(e,t){var n,r;Wt=e,Wt?(Wt.enabled=!0,Cn.forEach(({event:o,args:s})=>Wt.emit(o,...s)),Cn=[]):typeof window<"u"&&window.HTMLElement&&!((r=(n=window.navigator)==null?void 0:n.userAgent)!=null&&r.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(s=>{Eo(s,t)}),setTimeout(()=>{Wt||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,Cn=[])},3e3)):Cn=[]}let tt=null,Ql=null;function bu(){}const zl=Symbol.for("v-ndc"),Zl=e=>e.__isSuspense;function ec(e,t){t&&t.pendingBranch?le(e)?t.effects.push(...e):t.effects.push(e):_o(e)}const tc=Symbol.for("v-scx"),nc=()=>{{const e=Io(tc);return e||process.env.NODE_ENV!=="production"&&Ee("Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."),e}},Rn={};function Er(e,t,n){return process.env.NODE_ENV!=="production"&&!be(t)&&Ee("`watch(fn, options?)` signature has been moved to a separate API. Use `watchEffect(fn, options?)` instead. `watch` now only supports `watch(source, cb, options?) signature."),go(e,t,n)}function go(e,t,{immediate:n,deep:r,flush:o,once:s,onTrack:a,onTrigger:i}=et){if(t&&s){const T=t;t=(..._)=>{T(..._),A()}}process.env.NODE_ENV!=="production"&&r!==void 0&&typeof r=="number"&&Ee('watch() "deep" option with number value will be used as watch depth in future versions. Please use a boolean instead to avoid potential breakage.'),process.env.NODE_ENV!=="production"&&!t&&(n!==void 0&&Ee('watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'),r!==void 0&&Ee('watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'),s!==void 0&&Ee('watch() "once" option is only respected when using the watch(source, callback, options?) signature.'));const l=T=>{Ee("Invalid watch source: ",T,"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.")},h=At,g=T=>r===!0?T:Ht(T,r===!1?1:void 0);let d,m=!1,b=!1;if(xe(e)?(d=()=>e.value,m=St(e)):yt(e)?(d=()=>g(e),m=!0):le(e)?(b=!0,m=e.some(T=>yt(T)||St(T)),d=()=>e.map(T=>{if(xe(T))return T.value;if(yt(T))return g(T);if(be(T))return Rt(T,h,2);process.env.NODE_ENV!=="production"&&l(T)})):be(e)?t?d=()=>Rt(e,h,2):d=()=>(C&&C(),Qt(e,h,3,[R])):(d=_t,process.env.NODE_ENV!=="production"&&l(e)),t&&r){const T=d;d=()=>Ht(T())}let C,R=T=>{C=N.onStop=()=>{Rt(T,h,4),C=N.onStop=void 0}},D;if(kn)if(R=_t,t?n&&Qt(t,h,3,[d(),b?[]:void 0,R]):d(),o==="sync"){const T=nc();D=T.__watcherHandles||(T.__watcherHandles=[])}else return _t;let p=b?new Array(e.length).fill(Rn):Rn;const v=()=>{if(!(!N.active||!N.dirty))if(t){const T=N.run();(r||m||(b?T.some((_,u)=>dt(_,p[u])):dt(T,p)))&&(C&&C(),Qt(t,h,3,[T,p===Rn?void 0:b&&p[0]===Rn?[]:p,R]),p=T)}else N.run()};v.allowRecurse=!!t;let L;o==="sync"?L=v:o==="post"?L=()=>Lo(v,h&&h.suspense):(v.pre=!0,h&&(v.id=h.uid),L=()=>mr(v));const N=new Vs(d,_t,L),w=cl(),A=()=>{N.stop(),w&&Xi(w.effects,N)};return process.env.NODE_ENV!=="production"&&(N.onTrack=a,N.onTrigger=i),t?n?v():p=N.run():o==="post"?Lo(N.run.bind(N),h&&h.suspense):N.run(),D&&D.push(A),A}function rc(e,t,n){const r=this.proxy,o=Ye(e)?e.includes(".")?sc(r,e):()=>r[e]:e.bind(r,r);let s;be(t)?s=t:(s=t.handler,n=t);const a=Do(this),i=go(o,s.bind(r),n);return a(),i}function sc(e,t){const n=t.split(".");return()=>{let r=e;for(let o=0;o<n.length&&r;o++)r=r[n[o]];return r}}function Ht(e,t,n=0,r){if(!Me(e)||e.__v_skip)return e;if(t&&t>0){if(n>=t)return e;n++}if(r=r||new Set,r.has(e))return e;if(r.add(e),xe(e))Ht(e.value,t,n,r);else if(le(e))for(let o=0;o<e.length;o++)Ht(e[o],t,n,r);else if(qi(e)||Ut(e))e.forEach(o=>{Ht(o,t,n,r)});else if(Zi(e))for(const o in e)Ht(e[o],t,n,r);return e}/*! #__NO_SIDE_EFFECTS__ */function gr(e,t){return be(e)?(()=>je({name:e.name},t,{setup:e}))():e}function oc(e,t,n=At,r=!1){if(n){const o=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...a)=>{if(n.isUnmounted)return;hn();const i=Do(n),l=Qt(t,n,e,a);return i(),En(),l});return r?o.unshift(s):o.push(s),s}else if(process.env.NODE_ENV!=="production"){const o=el(fr[e].replace(/ hook$/,""));Ee(`${o} is called when there is no active component instance to be associated with. Lifecycle injection APIs can only be used during execution of setup(). If you are using async setup(), make sure to register lifecycle hooks before the first await statement.`)}}const Nr=e=>(t,n=At)=>(!kn||e==="sp")&&oc(e,(...r)=>t(...r),n),ac=Nr("bm"),ic=Nr("m"),lc=Nr("um"),vr=e=>e?Tc(e)?Ic(e)||e.proxy:vr(e.parent):null,tn=je(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>process.env.NODE_ENV!=="production"?In(e.props):e.props,$attrs:e=>process.env.NODE_ENV!=="production"?In(e.attrs):e.attrs,$slots:e=>process.env.NODE_ENV!=="production"?In(e.slots):e.slots,$refs:e=>process.env.NODE_ENV!=="production"?In(e.refs):e.refs,$parent:e=>vr(e.parent),$root:e=>vr(e.root),$emit:e=>e.emit,$options:e=>__VUE_OPTIONS_API__?_c(e):e.type,$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,mr(e.update)}),$nextTick:e=>e.n||(e.n=Bl.bind(e.proxy)),$watch:e=>__VUE_OPTIONS_API__?rc.bind(e):_t}),cc=e=>e==="_"||e==="$",Or=(e,t)=>e!==et&&!e.__isScriptSetup&&Oe(e,t),uc={get({_:e},t){const{ctx:n,setupState:r,data:o,props:s,accessCache:a,type:i,appContext:l}=e;if(process.env.NODE_ENV!=="production"&&t==="__isVue")return!0;let h;if(t[0]!=="$"){const b=a[t];if(b!==void 0)switch(b){case 1:return r[t];case 2:return o[t];case 4:return n[t];case 3:return s[t]}else{if(Or(r,t))return a[t]=1,r[t];if(o!==et&&Oe(o,t))return a[t]=2,o[t];if((h=e.propsOptions[0])&&Oe(h,t))return a[t]=3,s[t];if(n!==et&&Oe(n,t))return a[t]=4,n[t];(!__VUE_OPTIONS_API__||fc)&&(a[t]=0)}}const g=tn[t];let d,m;if(g)return t==="$attrs"?(Ue(e,"get",t),process.env.NODE_ENV!=="production"&&void 0):process.env.NODE_ENV!=="production"&&t==="$slots"&&Ue(e,"get",t),g(e);if((d=i.__cssModules)&&(d=d[t]))return d;if(n!==et&&Oe(n,t))return a[t]=4,n[t];if(m=l.config.globalProperties,Oe(m,t))return m[t];process.env.NODE_ENV!=="production"&&tt&&(!Ye(t)||t.indexOf("__v")!==0)&&(o!==et&&cc(t[0])&&Oe(o,t)?Ee(`Property ${JSON.stringify(t)} must be accessed via $data because it starts with a reserved character ("$" or "_") and is not proxied on the render context.`):e===tt&&Ee(`Property ${JSON.stringify(t)} was accessed during render but is not defined on instance.`))},set({_:e},t,n){const{data:r,setupState:o,ctx:s}=e;return Or(o,t)?(o[t]=n,!0):process.env.NODE_ENV!=="production"&&o.__isScriptSetup&&Oe(o,t)?(Ee(`Cannot mutate <script setup> binding "${t}" from Options API.`),!1):r!==et&&Oe(r,t)?(r[t]=n,!0):Oe(e.props,t)?(process.env.NODE_ENV!=="production"&&Ee(`Attempting to mutate prop "${t}". Props are readonly.`),!1):t[0]==="$"&&t.slice(1)in e?(process.env.NODE_ENV!=="production"&&Ee(`Attempting to mutate public property "${t}". Properties starting with $ are reserved and readonly.`),!1):(process.env.NODE_ENV!=="production"&&t in e.appContext.config.globalProperties?Object.defineProperty(s,t,{enumerable:!0,configurable:!0,value:n}):s[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:o,propsOptions:s}},a){let i;return!!n[a]||e!==et&&Oe(e,a)||Or(t,a)||(i=s[0])&&Oe(i,a)||Oe(r,a)||Oe(tn,a)||Oe(o.config.globalProperties,a)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Oe(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};process.env.NODE_ENV!=="production"&&(uc.ownKeys=e=>(Ee("Avoid app logic that relies on enumerating keys on a component instance. The keys will be empty in production mode to avoid performance overhead."),Reflect.ownKeys(e)));function No(e){return le(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let fc=!0;function _c(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:o,optionsCache:s,config:{optionMergeStrategies:a}}=e.appContext,i=s.get(t);let l;return i?l=i:!o.length&&!n&&!r?l=t:(l={},o.length&&o.forEach(h=>An(l,h,a,!0)),An(l,t,a)),Me(t)&&s.set(t,l),l}function An(e,t,n,r=!1){const{mixins:o,extends:s}=t;s&&An(e,s,n,!0),o&&o.forEach(a=>An(e,a,n,!0));for(const a in t)if(r&&a==="expose")process.env.NODE_ENV!=="production"&&Ee('"expose" option is ignored when declared in mixins or extends. It should only be declared in the base component itself.');else{const i=dc[a]||n&&n[a];e[a]=i?i(e[a],t[a]):t[a]}return e}const dc={data:vo,props:bo,emits:bo,methods:nn,computed:nn,beforeCreate:Ve,created:Ve,beforeMount:Ve,mounted:Ve,beforeUpdate:Ve,updated:Ve,beforeDestroy:Ve,beforeUnmount:Ve,destroyed:Ve,unmounted:Ve,activated:Ve,deactivated:Ve,errorCaptured:Ve,serverPrefetch:Ve,components:nn,directives:nn,watch:mc,provide:vo,inject:pc};function vo(e,t){return t?e?function(){return je(be(e)?e.call(this,this):e,be(t)?t.call(this,this):t)}:t:e}function pc(e,t){return nn(Oo(e),Oo(t))}function Oo(e){if(le(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Ve(e,t){return e?[...new Set([].concat(e,t))]:t}function nn(e,t){return e?je(Object.create(null),e,t):t}function bo(e,t){return e?le(e)&&le(t)?[...new Set([...e,...t])]:je(Object.create(null),No(e),No(t??{})):t}function mc(e,t){if(!e)return t;if(!t)return e;const n=je(Object.create(null),e);for(const r in t)n[r]=Ve(e[r],t[r]);return n}let To=null;function Io(e,t,n=!1){const r=At||tt;if(r||To){const o=r?r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:To._context.provides;if(o&&e in o)return o[e];if(arguments.length>1)return n&&be(t)?t.call(r&&r.proxy):t;process.env.NODE_ENV!=="production"&&Ee(`injection "${String(e)}" not found.`)}else process.env.NODE_ENV!=="production"&&Ee("inject() can only be used inside setup() or functional components.")}const Lo=ec,hc=e=>e.__isTeleport,Dn=Symbol.for("v-fgt"),yo=Symbol.for("v-txt"),Ec=Symbol.for("v-cmt");let Gt=null;function br(e){return e?e.__v_isVNode===!0:!1}const gc=(...e)=>Ro(...e),So="__vInternal",Co=({key:e})=>e??null,Pn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Ye(e)||xe(e)||be(e)?{i:tt,r:e,k:t,f:!!n}:e:null);function Nc(e,t=null,n=null,r=0,o=null,s=e===Dn?0:1,a=!1,i=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Co(t),ref:t&&Pn(t),scopeId:Ql,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:tt};return i?(Tr(l,n),s&128&&e.normalize(l)):n&&(l.shapeFlag|=Ye(n)?8:16),process.env.NODE_ENV!=="production"&&l.key!==l.key&&Ee("VNode created with invalid key (NaN). VNode type:",l.type),!a&&Gt&&(l.patchFlag>0||s&6)&&l.patchFlag!==32&&Gt.push(l),l}const Bt=process.env.NODE_ENV!=="production"?gc:Ro;function Ro(e,t=null,n=null,r=0,o=null,s=!1){if((!e||e===zl)&&(process.env.NODE_ENV!=="production"&&!e&&Ee(`Invalid vnode type when creating vnode: ${e}.`),e=Ec),br(e)){const i=wn(e,t,!0);return n&&Tr(i,n),!s&&Gt&&(i.shapeFlag&6?Gt[Gt.indexOf(e)]=i:Gt.push(i)),i.patchFlag|=-2,i}if(ko(e)&&(e=e.__vccOpts),t){t=vc(t);let{class:i,style:l}=t;i&&!Ye(i)&&(t.class=Zn(i)),Me(l)&&(cr(l)&&!le(l)&&(l=je({},l)),t.style=zn(l))}const a=Ye(e)?1:Zl(e)?128:hc(e)?64:Me(e)?4:be(e)?2:0;return process.env.NODE_ENV!=="production"&&a&4&&cr(e)&&(e=J(e),Ee("Vue received a Component that was made a reactive object. This can lead to unnecessary performance overhead and should be avoided by marking the component with `markRaw` or using `shallowRef` instead of `ref`.",`
49
+ Component that was made reactive: `,e)),Nc(e,t,n,r,o,a,s,!0)}function vc(e){return e?cr(e)||So in e?je({},e):e:null}function wn(e,t,n=!1){const{props:r,ref:o,patchFlag:s,children:a}=e,i=t?bc(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:i,key:i&&Co(i),ref:t&&t.ref?n&&o?le(o)?o.concat(Pn(t)):[o,Pn(t)]:Pn(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:process.env.NODE_ENV!=="production"&&s===-1&&le(a)?a.map(Ao):a,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Dn?s===-1?16:s|16:s,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&wn(e.ssContent),ssFallback:e.ssFallback&&wn(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function Ao(e){const t=wn(e);return le(e.children)&&(t.children=e.children.map(Ao)),t}function Oc(e=" ",t=0){return Bt(yo,null,e,t)}function Tr(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(le(t))n=16;else if(typeof t=="object")if(r&65){const o=t.default;o&&(o._c&&(o._d=!1),Tr(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!(So in t)?t._ctx=tt:o===3&&tt&&(tt.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else be(t)?(t={default:t,_ctx:tt},n=32):(t=String(t),r&64?(n=16,t=[Oc(t)]):n=8);e.children=t,e.shapeFlag|=n}function bc(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const o in r)if(o==="class")t.class!==r.class&&(t.class=Zn([t.class,r.class]));else if(o==="style")t.style=zn([t.style,r.style]);else if(Yi(o)){const s=t[o],a=r[o];a&&s!==a&&!(le(s)&&s.includes(a))&&(t[o]=s?[].concat(s,a):a)}else o!==""&&(t[o]=r[o])}return t}let At=null;const jt=()=>At||tt;let Ir;{const e=Ms(),t=(n,r)=>{let o;return(o=e[n])||(o=e[n]=[]),o.push(r),s=>{o.length>1?o.forEach(a=>a(s)):o[0](s)}};Ir=t("__VUE_INSTANCE_SETTERS__",n=>At=n),t("__VUE_SSR_SETTERS__",n=>kn=n)}const Do=e=>{const t=At;return Ir(e),e.scope.on(),()=>{e.scope.off(),Ir(t)}};function Tc(e){return e.vnode.shapeFlag&4}let kn=!1;function Ic(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Fl(Rl(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in tn)return tn[n](e)},has(t,n){return n in t||n in tn}}))}const Lc=/(?:^|[-_])(\w)/g,yc=e=>e.replace(Lc,t=>t.toUpperCase()).replace(/[-_]/g,"");function Po(e,t=!0){return be(e)?e.displayName||e.name:e.name||t&&e.__name}function wo(e,t,n=!1){let r=Po(t);if(!r&&t.__file){const o=t.__file.match(/([^/\\]+)\.\w+$/);o&&(r=o[1])}if(!r&&e&&e.parent){const o=s=>{for(const a in s)if(s[a]===t)return a};r=o(e.components||e.parent.type.components)||o(e.appContext.components)}return r?yc(r):n?"App":"Anonymous"}function ko(e){return be(e)&&"__vccOpts"in e}const nt=(e,t)=>{const n=Dl(e,t,kn);if(process.env.NODE_ENV!=="production"){const r=jt();r&&r.appContext.config.warnRecursiveComputed&&(n._warnRecursive=!0)}return n};function Fo(e,t,n){const r=arguments.length;return r===2?Me(t)&&!le(t)?br(t)?Bt(e,null,[t]):Bt(e,t):Bt(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&br(n)&&(n=[n]),Bt(e,t,n))}function Sc(){if(process.env.NODE_ENV==="production"||typeof window>"u")return;const e={style:"color:#3ba776"},t={style:"color:#1677ff"},n={style:"color:#f5222d"},r={style:"color:#eb2f96"},o={header(d){return Me(d)?d.__isVue?["div",e,"VueInstance"]:xe(d)?["div",{},["span",e,g(d)],"<",i(d.value),">"]:yt(d)?["div",{},["span",e,St(d)?"ShallowReactive":"Reactive"],"<",i(d),`>${gt(d)?" (readonly)":""}`]:gt(d)?["div",{},["span",e,St(d)?"ShallowReadonly":"Readonly"],"<",i(d),">"]:null:null},hasBody(d){return d&&d.__isVue},body(d){if(d&&d.__isVue)return["div",{},...s(d.$)]}};function s(d){const m=[];d.type.props&&d.props&&m.push(a("props",J(d.props))),d.setupState!==et&&m.push(a("setup",d.setupState)),d.data!==et&&m.push(a("data",J(d.data)));const b=l(d,"computed");b&&m.push(a("computed",b));const C=l(d,"inject");return C&&m.push(a("injected",C)),m.push(["div",{},["span",{style:r.style+";opacity:0.66"},"$ (internal): "],["object",{object:d}]]),m}function a(d,m){return m=je({},m),Object.keys(m).length?["div",{style:"line-height:1.25em;margin-bottom:0.6em"},["div",{style:"color:#476582"},d],["div",{style:"padding-left:1.25em"},...Object.keys(m).map(b=>["div",{},["span",r,b+": "],i(m[b],!1)])]]:["span",{}]}function i(d,m=!0){return typeof d=="number"?["span",t,d]:typeof d=="string"?["span",n,JSON.stringify(d)]:typeof d=="boolean"?["span",r,d]:Me(d)?["object",{object:m?J(d):d}]:["span",n,String(d)]}function l(d,m){const b=d.type;if(be(b))return;const C={};for(const R in d.ctx)h(b,R,m)&&(C[R]=d.ctx[R]);return C}function h(d,m,b){const C=d[b];if(le(C)&&C.includes(m)||Me(C)&&m in C||d.extends&&h(d.extends,m,b)||d.mixins&&d.mixins.some(R=>h(R,m,b)))return!0}function g(d){return St(d)?"ShallowRef":d.effect?"ComputedRef":"Ref"}window.devtoolsFormatters?window.devtoolsFormatters.push(o):window.devtoolsFormatters=[o]}process.env.NODE_ENV,process.env.NODE_ENV,process.env.NODE_ENV;/**
50
+ * vue v3.4.21
51
+ * (c) 2018-present Yuxi (Evan) You and Vue contributors
52
+ * @license MIT
53
+ **/function Cc(){Sc()}process.env.NODE_ENV!=="production"&&Cc();function Rc(){return Mo().__VUE_DEVTOOLS_GLOBAL_HOOK__}function Mo(){return typeof navigator<"u"&&typeof window<"u"?window:typeof globalThis<"u"?globalThis:{}}const Ac=typeof Proxy=="function",Dc="devtools-plugin:setup",Pc="plugin:settings:set";let Kt,Lr;function wc(){var e;return Kt!==void 0||(typeof window<"u"&&window.performance?(Kt=!0,Lr=window.performance):typeof globalThis<"u"&&(!((e=globalThis.perf_hooks)===null||e===void 0)&&e.performance)?(Kt=!0,Lr=globalThis.perf_hooks.performance):Kt=!1),Kt}function kc(){return wc()?Lr.now():Date.now()}class Fc{constructor(t,n){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=t,this.hook=n;const r={};if(t.settings)for(const a in t.settings){const i=t.settings[a];r[a]=i.defaultValue}const o=`__vue-devtools-plugin-settings__${t.id}`;let s=Object.assign({},r);try{const a=localStorage.getItem(o),i=JSON.parse(a);Object.assign(s,i)}catch{}this.fallbacks={getSettings(){return s},setSettings(a){try{localStorage.setItem(o,JSON.stringify(a))}catch{}s=a},now(){return kc()}},n&&n.on(Pc,(a,i)=>{a===this.plugin.id&&this.fallbacks.setSettings(i)}),this.proxiedOn=new Proxy({},{get:(a,i)=>this.target?this.target.on[i]:(...l)=>{this.onQueue.push({method:i,args:l})}}),this.proxiedTarget=new Proxy({},{get:(a,i)=>this.target?this.target[i]:i==="on"?this.proxiedOn:Object.keys(this.fallbacks).includes(i)?(...l)=>(this.targetQueue.push({method:i,args:l,resolve:()=>{}}),this.fallbacks[i](...l)):(...l)=>new Promise(h=>{this.targetQueue.push({method:i,args:l,resolve:h})})})}async setRealTarget(t){this.target=t;for(const n of this.onQueue)this.target.on[n.method](...n.args);for(const n of this.targetQueue)n.resolve(await this.target[n.method](...n.args))}}function Mc(e,t){const n=e,r=Mo(),o=Rc(),s=Ac&&n.enableEarlyProxy;if(o&&(r.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!s))o.emit(Dc,e,t);else{const a=s?new Fc(n,o):null;(r.__VUE_DEVTOOLS_PLUGINS__=r.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:n,setupFn:t,proxy:a}),a&&t(a.proxiedTarget)}}/*!
54
+ * vue-i18n v9.10.2
55
+ * (c) 2024 kazuya kawaguchi
56
+ * Released under the MIT License.
57
+ */const Vc="9.10.2";function Uc(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(rt().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(rt().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(rt().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(rt().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(rt().__INTLIFY_PROD_DEVTOOLS__=!1)}const Vo=Fe.__EXTEND_POINT__,at=xn(Vo),_e={FALLBACK_TO_ROOT:Vo,NOT_SUPPORTED_PRESERVE:at(),NOT_SUPPORTED_FORMATTER:at(),NOT_SUPPORTED_PRESERVE_DIRECTIVE:at(),NOT_SUPPORTED_GET_CHOICE_INDEX:at(),COMPONENT_NAME_LEGACY_COMPATIBLE:at(),NOT_FOUND_PARENT_SCOPE:at(),IGNORE_OBJ_FLATTEN:at(),NOTICE_DROP_ALLOW_COMPOSITION:at(),NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG:at()},xc={[_e.FALLBACK_TO_ROOT]:"Fall back to {type} '{key}' with root locale.",[_e.NOT_SUPPORTED_PRESERVE]:"Not supported 'preserve'.",[_e.NOT_SUPPORTED_FORMATTER]:"Not supported 'formatter'.",[_e.NOT_SUPPORTED_PRESERVE_DIRECTIVE]:"Not supported 'preserveDirectiveContent'.",[_e.NOT_SUPPORTED_GET_CHOICE_INDEX]:"Not supported 'getChoiceIndex'.",[_e.COMPONENT_NAME_LEGACY_COMPATIBLE]:"Component name legacy compatible: '{name}' -> 'i18n'",[_e.NOT_FOUND_PARENT_SCOPE]:"Not found parent scope. use the global scope.",[_e.IGNORE_OBJ_FLATTEN]:"Ignore object flatten: '{key}' key has an string value",[_e.NOTICE_DROP_ALLOW_COMPOSITION]:"'allowComposition' option will be dropped in the next major version. For more information, please see 👉 https://tinyurl.com/2p97mcze",[_e.NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG]:"'translateExistCompatible' option will be dropped in the next major version."};function $e(e,...t){return Un(xc[e],...t)}const Uo=Ce.__EXTEND_POINT__,We=xn(Uo),q={UNEXPECTED_RETURN_TYPE:Uo,INVALID_ARGUMENT:We(),MUST_BE_CALL_SETUP_TOP:We(),NOT_INSTALLED:We(),NOT_AVAILABLE_IN_LEGACY_MODE:We(),REQUIRED_VALUE:We(),INVALID_VALUE:We(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:We(),NOT_INSTALLED_WITH_PROVIDE:We(),UNEXPECTED_ERROR:We(),NOT_COMPATIBLE_LEGACY_VUE_I18N:We(),BRIDGE_SUPPORT_VUE_2_ONLY:We(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:We(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:We(),__EXTEND_POINT__:We()};function Le(e,...t){return wt(e,null,process.env.NODE_ENV!=="production"?{messages:$c,args:t}:void 0)}const $c={[q.UNEXPECTED_RETURN_TYPE]:"Unexpected return type in composer",[q.INVALID_ARGUMENT]:"Invalid argument",[q.MUST_BE_CALL_SETUP_TOP]:"Must be called at the top of a `setup` function",[q.NOT_INSTALLED]:"Need to install with `app.use` function",[q.UNEXPECTED_ERROR]:"Unexpected error",[q.NOT_AVAILABLE_IN_LEGACY_MODE]:"Not available in legacy mode",[q.REQUIRED_VALUE]:"Required in value: {0}",[q.INVALID_VALUE]:"Invalid value",[q.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN]:"Cannot setup vue-devtools plugin",[q.NOT_INSTALLED_WITH_PROVIDE]:"Need to install with `provide` function",[q.NOT_COMPATIBLE_LEGACY_VUE_I18N]:"Not compatible legacy VueI18n.",[q.BRIDGE_SUPPORT_VUE_2_ONLY]:"vue-i18n-bridge support Vue 2.x only",[q.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION]:"Must define ‘i18n’ option or custom block in Composition API with using local scope in Legacy API mode",[q.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]:"Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"},yr=Qe("__translateVNode"),Sr=Qe("__datetimeParts"),Cr=Qe("__numberParts"),Dt=Qe("__enableEmitter"),rn=Qe("__disableEmitter"),xo=Qe("__setPluralRules"),$o=Qe("__injectWithOption"),Rr=Qe("__dispose");function sn(e){if(!Q(e))return e;for(const t in e)if(ln(e,t))if(!t.includes("."))Q(e[t])&&sn(e[t]);else{const n=t.split("."),r=n.length-1;let o=e,s=!1;for(let a=0;a<r;a++){if(n[a]in o||(o[n[a]]={}),!Q(o[n[a]])){process.env.NODE_ENV!=="production"&&Se($e(_e.IGNORE_OBJ_FLATTEN,{key:n[a]})),s=!0;break}o=o[n[a]]}s||(o[n[r]]=e[t],delete e[t]),Q(o[n[r]])&&sn(o[n[r]])}return e}function Fn(e,t){const{messages:n,__i18n:r,messageResolver:o,flatJson:s}=t,a=G(n)?n:ie(r)?{}:{[e]:{}};if(ie(r)&&r.forEach(i=>{if("locale"in i&&"resource"in i){const{locale:l,resource:h}=i;l?(a[l]=a[l]||{},un(h,a[l])):un(h,a)}else P(i)&&un(JSON.parse(i),a)}),o==null&&s)for(const i in a)ln(a,i)&&sn(a[i]);return a}function Wo(e){return e.type}function Ho(e,t,n){let r=Q(t.messages)?t.messages:{};"__i18nGlobal"in n&&(r=Fn(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const o=Object.keys(r);o.length&&o.forEach(s=>{e.mergeLocaleMessage(s,r[s])});{if(Q(t.datetimeFormats)){const s=Object.keys(t.datetimeFormats);s.length&&s.forEach(a=>{e.mergeDateTimeFormat(a,t.datetimeFormats[a])})}if(Q(t.numberFormats)){const s=Object.keys(t.numberFormats);s.length&&s.forEach(a=>{e.mergeNumberFormat(a,t.numberFormats[a])})}}}function Go(e){return Bt(yo,null,e,0)}const Bo="__INTLIFY_META__",jo=()=>[],Wc=()=>!1;let Ko=0;function Yo(e){return(t,n,r,o)=>e(n,r,jt()||void 0,o)}const Hc=()=>{const e=jt();let t=null;return e&&(t=Wo(e)[Bo])?{[Bo]:t}:null};function Ar(e={},t){const{__root:n,__injectWithOption:r}=e,o=n===void 0,s=e.flatJson,a=Ke?xt:io,i=!!e.translateExistCompatible;process.env.NODE_ENV!=="production"&&i&&Yr($e(_e.NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG));let l=Y(e.inheritLocale)?e.inheritLocale:!0;const h=a(n&&l?n.locale.value:P(e.locale)?e.locale:Mt),g=a(n&&l?n.fallbackLocale.value:P(e.fallbackLocale)||ie(e.fallbackLocale)||G(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:h.value),d=a(Fn(h.value,e)),m=a(G(e.datetimeFormats)?e.datetimeFormats:{[h.value]:{}}),b=a(G(e.numberFormats)?e.numberFormats:{[h.value]:{}});let C=n?n.missingWarn:Y(e.missingWarn)||lt(e.missingWarn)?e.missingWarn:!0,R=n?n.fallbackWarn:Y(e.fallbackWarn)||lt(e.fallbackWarn)?e.fallbackWarn:!0,D=n?n.fallbackRoot:Y(e.fallbackRoot)?e.fallbackRoot:!0,p=!!e.fallbackFormat,v=re(e.missing)?e.missing:null,L=re(e.missing)?Yo(e.missing):null,N=re(e.postTranslation)?e.postTranslation:null,w=n?n.warnHtmlMessage:Y(e.warnHtmlMessage)?e.warnHtmlMessage:!0,A=!!e.escapeParameter;const T=n?n.modifiers:G(e.modifiers)?e.modifiers:{};let _=e.pluralRules||n&&n.pluralRules,u;u=(()=>{o&&ds(null);const O={version:Vc,locale:h.value,fallbackLocale:g.value,messages:d.value,modifiers:T,pluralRules:_,missing:L===null?void 0:L,missingWarn:C,fallbackWarn:R,fallbackFormat:p,unresolving:!0,postTranslation:N===null?void 0:N,warnHtmlMessage:w,escapeParameter:A,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};O.datetimeFormats=m.value,O.numberFormats=b.value,O.__datetimeFormatters=G(u)?u.__datetimeFormatters:void 0,O.__numberFormatters=G(u)?u.__numberFormatters:void 0,process.env.NODE_ENV!=="production"&&(O.__v_emitter=G(u)?u.__v_emitter:void 0);const y=Mi(O);return o&&ds(y),y})(),Jt(u,h.value,g.value);function F(){return[h.value,g.value,d.value,m.value,b.value]}const k=nt({get:()=>h.value,set:O=>{h.value=O,u.locale=h.value}}),$=nt({get:()=>g.value,set:O=>{g.value=O,u.fallbackLocale=g.value,Jt(u,h.value,O)}}),j=nt(()=>d.value),pe=nt(()=>m.value),z=nt(()=>b.value);function V(){return re(N)?N:null}function oe(O){N=O,u.postTranslation=O}function W(){return v}function Ae(O){O!==null&&(L=Yo(O)),v=O,u.missing=L}function ge(O,y){return O!=="translate"||!y.resolvedMessage}const M=(O,y,K,te,De,Pe)=>{F();let qe;try{process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__,o||(u.fallbackContext=n?Fi():void 0),qe=O(u)}finally{process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__,o||(u.fallbackContext=void 0)}if(K!=="translate exists"&&Ie(qe)&&qe===fn||K==="translate exists"&&!qe){const[Te,Mn]=y();if(process.env.NODE_ENV!=="production"&&n&&P(Te)&&ge(K,Mn)&&(D&&(dn(R,Te)||ms(C,Te))&&Se($e(_e.FALLBACK_TO_ROOT,{key:Te,type:K})),process.env.NODE_ENV!=="production")){const{__v_emitter:Yt}=u;Yt&&D&&Yt.emit("fallback",{type:K,key:Te,to:"global",groupId:`${K}:${Te}`})}return n&&D?te(n):De(Te)}else{if(Pe(qe))return qe;throw Le(q.UNEXPECTED_RETURN_TYPE)}};function Z(...O){return M(y=>Reflect.apply(Os,null,[y,...O]),()=>Xn(...O),"translate",y=>Reflect.apply(y.t,y,[...O]),y=>y,y=>P(y))}function me(...O){const[y,K,te]=O;if(te&&!Q(te))throw Le(q.INVALID_ARGUMENT);return Z(y,K,Re({resolvedMessage:!0},te||{}))}function se(...O){return M(y=>Reflect.apply(ys,null,[y,...O]),()=>Jn(...O),"datetime format",y=>Reflect.apply(y.d,y,[...O]),()=>_n,y=>P(y))}function he(...O){return M(y=>Reflect.apply(Rs,null,[y,...O]),()=>qn(...O),"number format",y=>Reflect.apply(y.n,y,[...O]),()=>_n,y=>P(y))}function de(O){return O.map(y=>P(y)||Ie(y)||Y(y)?Go(String(y)):y)}const x={normalize:de,interpolate:O=>O,type:"vnode"};function X(...O){return M(y=>{let K;const te=y;try{te.processor=x,K=Reflect.apply(Os,null,[te,...O])}finally{te.processor=null}return K},()=>Xn(...O),"translate",y=>y[yr](...O),y=>[Go(y)],y=>ie(y))}function ee(...O){return M(y=>Reflect.apply(Rs,null,[y,...O]),()=>qn(...O),"number format",y=>y[Cr](...O),jo,y=>P(y)||ie(y))}function ue(...O){return M(y=>Reflect.apply(ys,null,[y,...O]),()=>Jn(...O),"datetime format",y=>y[Sr](...O),jo,y=>P(y)||ie(y))}function f(O){_=O,u.pluralRules=_}function c(O,y){return M(()=>{if(!O)return!1;const K=P(y)?y:h.value,te=U(K),De=u.messageResolver(te,O);return i?De!=null:ft(De)||Be(De)||P(De)},()=>[O],"translate exists",K=>Reflect.apply(K.te,K,[O,y]),Wc,K=>Y(K))}function E(O){let y=null;const K=ss(u,g.value,h.value);for(let te=0;te<K.length;te++){const De=d.value[K[te]]||{},Pe=u.messageResolver(De,O);if(Pe!=null){y=Pe;break}}return y}function S(O){const y=E(O);return y??(n?n.tm(O)||{}:{})}function U(O){return d.value[O]||{}}function B(O,y){if(s){const K={[O]:y};for(const te in K)ln(K,te)&&sn(K[te]);y=K[O]}d.value[O]=y,u.messages=d.value}function ve(O,y){d.value[O]=d.value[O]||{};const K={[O]:y};if(s)for(const te in K)ln(K,te)&&sn(K[te]);y=K[O],un(y,d.value[O]),u.messages=d.value}function ye(O){return m.value[O]||{}}function He(O,y){m.value[O]=y,u.datetimeFormats=m.value,Cs(u,O,y)}function fe(O,y){m.value[O]=Re(m.value[O]||{},y),u.datetimeFormats=m.value,Cs(u,O,y)}function Ne(O){return b.value[O]||{}}function it(O,y){b.value[O]=y,u.numberFormats=b.value,Ds(u,O,y)}function ne(O,y){b.value[O]=Re(b.value[O]||{},y),u.numberFormats=b.value,Ds(u,O,y)}Ko++,n&&Ke&&(Er(n.locale,O=>{l&&(h.value=O,u.locale=O,Jt(u,h.value,g.value))}),Er(n.fallbackLocale,O=>{l&&(g.value=O,u.fallbackLocale=O,Jt(u,h.value,g.value))}));const ae={id:Ko,locale:k,fallbackLocale:$,get inheritLocale(){return l},set inheritLocale(O){l=O,O&&n&&(h.value=n.locale.value,g.value=n.fallbackLocale.value,Jt(u,h.value,g.value))},get availableLocales(){return Object.keys(d.value).sort()},messages:j,get modifiers(){return T},get pluralRules(){return _||{}},get isGlobal(){return o},get missingWarn(){return C},set missingWarn(O){C=O,u.missingWarn=C},get fallbackWarn(){return R},set fallbackWarn(O){R=O,u.fallbackWarn=R},get fallbackRoot(){return D},set fallbackRoot(O){D=O},get fallbackFormat(){return p},set fallbackFormat(O){p=O,u.fallbackFormat=p},get warnHtmlMessage(){return w},set warnHtmlMessage(O){w=O,u.warnHtmlMessage=O},get escapeParameter(){return A},set escapeParameter(O){A=O,u.escapeParameter=O},t:Z,getLocaleMessage:U,setLocaleMessage:B,mergeLocaleMessage:ve,getPostTranslationHandler:V,setPostTranslationHandler:oe,getMissingHandler:W,setMissingHandler:Ae,[xo]:f};return ae.datetimeFormats=pe,ae.numberFormats=z,ae.rt=me,ae.te=c,ae.tm=S,ae.d=se,ae.n=he,ae.getDateTimeFormat=ye,ae.setDateTimeFormat=He,ae.mergeDateTimeFormat=fe,ae.getNumberFormat=Ne,ae.setNumberFormat=it,ae.mergeNumberFormat=ne,ae[$o]=r,ae[yr]=X,ae[Sr]=ue,ae[Cr]=ee,process.env.NODE_ENV!=="production"&&(ae[Dt]=O=>{u.__v_emitter=O},ae[rn]=()=>{u.__v_emitter=void 0}),ae}function Gc(e){const t=P(e.locale)?e.locale:Mt,n=P(e.fallbackLocale)||ie(e.fallbackLocale)||G(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,r=re(e.missing)?e.missing:void 0,o=Y(e.silentTranslationWarn)||lt(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,s=Y(e.silentFallbackWarn)||lt(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,a=Y(e.fallbackRoot)?e.fallbackRoot:!0,i=!!e.formatFallbackMessages,l=G(e.modifiers)?e.modifiers:{},h=e.pluralizationRules,g=re(e.postTranslation)?e.postTranslation:void 0,d=P(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,m=!!e.escapeParameterHtml,b=Y(e.sync)?e.sync:!0;process.env.NODE_ENV!=="production"&&e.formatter&&Se($e(_e.NOT_SUPPORTED_FORMATTER)),process.env.NODE_ENV!=="production"&&e.preserveDirectiveContent&&Se($e(_e.NOT_SUPPORTED_PRESERVE_DIRECTIVE));let C=e.messages;if(G(e.sharedMessages)){const A=e.sharedMessages;C=Object.keys(A).reduce((_,u)=>{const I=_[u]||(_[u]={});return Re(I,A[u]),_},C||{})}const{__i18n:R,__root:D,__injectWithOption:p}=e,v=e.datetimeFormats,L=e.numberFormats,N=e.flatJson,w=e.translateExistCompatible;return{locale:t,fallbackLocale:n,messages:C,flatJson:N,datetimeFormats:v,numberFormats:L,missing:r,missingWarn:o,fallbackWarn:s,fallbackRoot:a,fallbackFormat:i,modifiers:l,pluralRules:h,postTranslation:g,warnHtmlMessage:d,escapeParameter:m,messageResolver:e.messageResolver,inheritLocale:b,translateExistCompatible:w,__i18n:R,__root:D,__injectWithOption:p}}function Dr(e={},t){{const n=Ar(Gc(e)),{__extender:r}=e,o={id:n.id,get locale(){return n.locale.value},set locale(s){n.locale.value=s},get fallbackLocale(){return n.fallbackLocale.value},set fallbackLocale(s){n.fallbackLocale.value=s},get messages(){return n.messages.value},get datetimeFormats(){return n.datetimeFormats.value},get numberFormats(){return n.numberFormats.value},get availableLocales(){return n.availableLocales},get formatter(){return process.env.NODE_ENV!=="production"&&Se($e(_e.NOT_SUPPORTED_FORMATTER)),{interpolate(){return[]}}},set formatter(s){process.env.NODE_ENV!=="production"&&Se($e(_e.NOT_SUPPORTED_FORMATTER))},get missing(){return n.getMissingHandler()},set missing(s){n.setMissingHandler(s)},get silentTranslationWarn(){return Y(n.missingWarn)?!n.missingWarn:n.missingWarn},set silentTranslationWarn(s){n.missingWarn=Y(s)?!s:s},get silentFallbackWarn(){return Y(n.fallbackWarn)?!n.fallbackWarn:n.fallbackWarn},set silentFallbackWarn(s){n.fallbackWarn=Y(s)?!s:s},get modifiers(){return n.modifiers},get formatFallbackMessages(){return n.fallbackFormat},set formatFallbackMessages(s){n.fallbackFormat=s},get postTranslation(){return n.getPostTranslationHandler()},set postTranslation(s){n.setPostTranslationHandler(s)},get sync(){return n.inheritLocale},set sync(s){n.inheritLocale=s},get warnHtmlInMessage(){return n.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(s){n.warnHtmlMessage=s!=="off"},get escapeParameterHtml(){return n.escapeParameter},set escapeParameterHtml(s){n.escapeParameter=s},get preserveDirectiveContent(){return process.env.NODE_ENV!=="production"&&Se($e(_e.NOT_SUPPORTED_PRESERVE_DIRECTIVE)),!0},set preserveDirectiveContent(s){process.env.NODE_ENV!=="production"&&Se($e(_e.NOT_SUPPORTED_PRESERVE_DIRECTIVE))},get pluralizationRules(){return n.pluralRules||{}},__composer:n,t(...s){const[a,i,l]=s,h={};let g=null,d=null;if(!P(a))throw Le(q.INVALID_ARGUMENT);const m=a;return P(i)?h.locale=i:ie(i)?g=i:G(i)&&(d=i),ie(l)?g=l:G(l)&&(d=l),Reflect.apply(n.t,n,[m,g||d||{},h])},rt(...s){return Reflect.apply(n.rt,n,[...s])},tc(...s){const[a,i,l]=s,h={plural:1};let g=null,d=null;if(!P(a))throw Le(q.INVALID_ARGUMENT);const m=a;return P(i)?h.locale=i:Ie(i)?h.plural=i:ie(i)?g=i:G(i)&&(d=i),P(l)?h.locale=l:ie(l)?g=l:G(l)&&(d=l),Reflect.apply(n.t,n,[m,g||d||{},h])},te(s,a){return n.te(s,a)},tm(s){return n.tm(s)},getLocaleMessage(s){return n.getLocaleMessage(s)},setLocaleMessage(s,a){n.setLocaleMessage(s,a)},mergeLocaleMessage(s,a){n.mergeLocaleMessage(s,a)},d(...s){return Reflect.apply(n.d,n,[...s])},getDateTimeFormat(s){return n.getDateTimeFormat(s)},setDateTimeFormat(s,a){n.setDateTimeFormat(s,a)},mergeDateTimeFormat(s,a){n.mergeDateTimeFormat(s,a)},n(...s){return Reflect.apply(n.n,n,[...s])},getNumberFormat(s){return n.getNumberFormat(s)},setNumberFormat(s,a){n.setNumberFormat(s,a)},mergeNumberFormat(s,a){n.mergeNumberFormat(s,a)},getChoiceIndex(s,a){return process.env.NODE_ENV!=="production"&&Se($e(_e.NOT_SUPPORTED_GET_CHOICE_INDEX)),-1}};return o.__extender=r,process.env.NODE_ENV!=="production"&&(o.__enableEmitter=s=>{const a=n;a[Dt]&&a[Dt](s)},o.__disableEmitter=()=>{const s=n;s[rn]&&s[rn]()}),o}}const Pr={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function Bc({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((r,o)=>[...r,...o.type===Dn?o.children:[o]],[]):t.reduce((n,r)=>{const o=e[r];return o&&(n[r]=o()),n},{})}function Xo(e){return Dn}const wr=gr({name:"i18n-t",props:Re({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>Ie(e)||!isNaN(e)}},Pr),setup(e,t){const{slots:n,attrs:r}=t,o=e.i18n||Vr({useScope:e.scope,__useComponent:!0});return()=>{const s=Object.keys(n).filter(d=>d!=="_"),a={};e.locale&&(a.locale=e.locale),e.plural!==void 0&&(a.plural=P(e.plural)?+e.plural:e.plural);const i=Bc(t,s),l=o[yr](e.keypath,i,a),h=Re({},r),g=P(e.tag)||Q(e.tag)?e.tag:Xo();return Fo(g,h,l)}}});function jc(e){return ie(e)&&!P(e[0])}function Jo(e,t,n,r){const{slots:o,attrs:s}=t;return()=>{const a={part:!0};let i={};e.locale&&(a.locale=e.locale),P(e.format)?a.key=e.format:Q(e.format)&&(P(e.format.key)&&(a.key=e.format.key),i=Object.keys(e.format).reduce((m,b)=>n.includes(b)?Re({},m,{[b]:e.format[b]}):m,{}));const l=r(e.value,a,i);let h=[a.key];ie(l)?h=l.map((m,b)=>{const C=o[m.type],R=C?C({[m.type]:m.value,index:b,parts:l}):[m.value];return jc(R)&&(R[0].key=`${m.type}-${b}`),R}):P(l)&&(h=[l]);const g=Re({},s),d=P(e.tag)||Q(e.tag)?e.tag:Xo();return Fo(d,g,h)}}const qo=gr({name:"i18n-n",props:Re({value:{type:Number,required:!0},format:{type:[String,Object]}},Pr),setup(e,t){const n=e.i18n||Vr({useScope:"parent",__useComponent:!0});return Jo(e,t,As,(...r)=>n[Cr](...r))}}),Qo=gr({name:"i18n-d",props:Re({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Pr),setup(e,t){const n=e.i18n||Vr({useScope:"parent",__useComponent:!0});return Jo(e,t,Ss,(...r)=>n[Sr](...r))}});function Kc(e,t){const n=e;if(e.mode==="composition")return n.__getInstance(t)||e.global;{const r=n.__getInstance(t);return r!=null?r.__composer:e.global.__composer}}function Yc(e){const t=a=>{const{instance:i,modifiers:l,value:h}=a;if(!i||!i.$)throw Le(q.UNEXPECTED_ERROR);const g=Kc(e,i.$);process.env.NODE_ENV!=="production"&&l.preserve&&Se($e(_e.NOT_SUPPORTED_PRESERVE));const d=zo(h);return[Reflect.apply(g.t,g,[...Zo(d)]),g]};return{created:(a,i)=>{const[l,h]=t(i);Ke&&e.global===h&&(a.__i18nWatcher=Er(h.locale,()=>{i.instance&&i.instance.$forceUpdate()})),a.__composer=h,a.textContent=l},unmounted:a=>{Ke&&a.__i18nWatcher&&(a.__i18nWatcher(),a.__i18nWatcher=void 0,delete a.__i18nWatcher),a.__composer&&(a.__composer=void 0,delete a.__composer)},beforeUpdate:(a,{value:i})=>{if(a.__composer){const l=a.__composer,h=zo(i);a.textContent=Reflect.apply(l.t,l,[...Zo(h)])}},getSSRProps:a=>{const[i]=t(a);return{textContent:i}}}}function zo(e){if(P(e))return{path:e};if(G(e)){if(!("path"in e))throw Le(q.REQUIRED_VALUE,"path");return e}else throw Le(q.INVALID_VALUE)}function Zo(e){const{path:t,locale:n,args:r,choice:o,plural:s}=e,a={},i=r||{};return P(n)&&(a.locale=n),Ie(o)&&(a.plural=o),Ie(s)&&(a.plural=s),[t,i,a]}function Xc(e,t,...n){const r=G(n[0])?n[0]:{},o=!!r.useI18nComponentName,s=Y(r.globalInstall)?r.globalInstall:!0;process.env.NODE_ENV!=="production"&&s&&o&&Se($e(_e.COMPONENT_NAME_LEGACY_COMPATIBLE,{name:wr.name})),s&&([o?"i18n":wr.name,"I18nT"].forEach(a=>e.component(a,wr)),[qo.name,"I18nN"].forEach(a=>e.component(a,qo)),[Qo.name,"I18nD"].forEach(a=>e.component(a,Qo))),e.directive("t",Yc(t))}const kr={"vue-devtools-plugin-vue-i18n":"Vue I18n devtools","vue-i18n-resource-inspector":"I18n Resources","vue-i18n-timeline":"Vue I18n"},Jc={"vue-i18n-resource-inspector":"Search for scopes ..."},qc={"vue-i18n-timeline":16764185},ea="vue-i18n: composer properties";let Fr;async function Qc(e,t){return new Promise((n,r)=>{try{Mc({id:"vue-devtools-plugin-vue-i18n",label:kr["vue-devtools-plugin-vue-i18n"],packageName:"vue-i18n",homepage:"https://vue-i18n.intlify.dev",logo:"https://vue-i18n.intlify.dev/vue-i18n-devtools-logo.png",componentStateTypes:[ea],app:e},o=>{Fr=o,o.on.visitComponentTree(({componentInstance:a,treeNode:i})=>{zc(a,i,t)}),o.on.inspectComponent(({componentInstance:a,instanceData:i})=>{a.vnode.el&&a.vnode.el.__VUE_I18N__&&i&&(t.mode==="legacy"?a.vnode.el.__VUE_I18N__!==t.global.__composer&&na(i,a.vnode.el.__VUE_I18N__):na(i,a.vnode.el.__VUE_I18N__))}),o.addInspector({id:"vue-i18n-resource-inspector",label:kr["vue-i18n-resource-inspector"],icon:"language",treeFilterPlaceholder:Jc["vue-i18n-resource-inspector"]}),o.on.getInspectorTree(a=>{a.app===e&&a.inspectorId==="vue-i18n-resource-inspector"&&ru(a,t)});const s=new Map;o.on.getInspectorState(async a=>{if(a.app===e&&a.inspectorId==="vue-i18n-resource-inspector")if(o.unhighlightElement(),ou(a,t),a.nodeId==="global"){if(!s.has(a.app)){const[i]=await o.getComponentInstances(a.app);s.set(a.app,i)}o.highlightElement(s.get(a.app))}else{const i=su(a.nodeId,t);i&&o.highlightElement(i)}}),o.on.editInspectorState(a=>{a.app===e&&a.inspectorId==="vue-i18n-resource-inspector"&&iu(a,t)}),o.addTimelineLayer({id:"vue-i18n-timeline",label:kr["vue-i18n-timeline"],color:qc["vue-i18n-timeline"]}),n(!0)})}catch(o){console.error(o),r(!1)}})}function ta(e){return e.type.name||e.type.displayName||e.type.__file||"Anonymous"}function zc(e,t,n){const r=n.mode==="composition"?n.global:n.global.__composer;if(e&&e.vnode.el&&e.vnode.el.__VUE_I18N__&&e.vnode.el.__VUE_I18N__!==r){const o={label:`i18n (${ta(e)} Scope)`,textColor:0,backgroundColor:16764185};t.tags.push(o)}}function na(e,t){const n=ea;e.state.push({type:n,key:"locale",editable:!0,value:t.locale.value}),e.state.push({type:n,key:"availableLocales",editable:!1,value:t.availableLocales}),e.state.push({type:n,key:"fallbackLocale",editable:!0,value:t.fallbackLocale.value}),e.state.push({type:n,key:"inheritLocale",editable:!0,value:t.inheritLocale}),e.state.push({type:n,key:"messages",editable:!1,value:Mr(t.messages.value)}),e.state.push({type:n,key:"datetimeFormats",editable:!1,value:t.datetimeFormats.value}),e.state.push({type:n,key:"numberFormats",editable:!1,value:t.numberFormats.value})}function Mr(e){const t={};return Object.keys(e).forEach(n=>{const r=e[n];re(r)&&"source"in r?t[n]=nu(r):ft(r)&&r.loc&&r.loc.source?t[n]=r.loc.source:Q(r)?t[n]=Mr(r):t[n]=r}),t}const Zc={"<":"&lt;",">":"&gt;",'"':"&quot;","&":"&amp;"};function eu(e){return e.replace(/[<>"&]/g,tu)}function tu(e){return Zc[e]||e}function nu(e){return{_custom:{type:"function",display:`<span>ƒ</span> ${e.source?`("${eu(e.source)}")`:"(?)"}`}}}function ru(e,t){e.rootNodes.push({id:"global",label:"Global Scope"});const n=t.mode==="composition"?t.global:t.global.__composer;for(const[r,o]of t.__instances){const s=t.mode==="composition"?o:o.__composer;n!==s&&e.rootNodes.push({id:s.id.toString(),label:`${ta(r)} Scope`})}}function su(e,t){let n=null;if(e!=="global"){for(const[r,o]of t.__instances.entries())if(o.id.toString()===e){n=r;break}}return n}function ra(e,t){if(e==="global")return t.mode==="composition"?t.global:t.global.__composer;{const n=Array.from(t.__instances.values()).find(r=>r.id.toString()===e);return n?t.mode==="composition"?n:n.__composer:null}}function ou(e,t){const n=ra(e.nodeId,t);return n&&(e.state=au(n)),null}function au(e){const t={},n="Locale related info",r=[{type:n,key:"locale",editable:!0,value:e.locale.value},{type:n,key:"fallbackLocale",editable:!0,value:e.fallbackLocale.value},{type:n,key:"availableLocales",editable:!1,value:e.availableLocales},{type:n,key:"inheritLocale",editable:!0,value:e.inheritLocale}];t[n]=r;const o="Locale messages info",s=[{type:o,key:"messages",editable:!1,value:Mr(e.messages.value)}];t[o]=s;{const a="Datetime formats info",i=[{type:a,key:"datetimeFormats",editable:!1,value:e.datetimeFormats.value}];t[a]=i;const l="Datetime formats info",h=[{type:l,key:"numberFormats",editable:!1,value:e.numberFormats.value}];t[l]=h}return t}function on(e,t){if(Fr){let n;t&&"groupId"in t&&(n=t.groupId,delete t.groupId),Fr.addTimelineEvent({layerId:"vue-i18n-timeline",event:{title:e,groupId:n,time:Date.now(),meta:{},data:t||{},logType:e==="compile-error"?"error":e==="fallback"||e==="missing"?"warning":"default"}})}}function iu(e,t){const n=ra(e.nodeId,t);if(n){const[r]=e.path;r==="locale"&&P(e.state.value)?n.locale.value=e.state.value:r==="fallbackLocale"&&(P(e.state.value)||ie(e.state.value)||Q(e.state.value))?n.fallbackLocale.value=e.state.value:r==="inheritLocale"&&Y(e.state.value)&&(n.inheritLocale=e.state.value)}}function lu(e,t,n){return{beforeCreate(){const r=jt();if(!r)throw Le(q.UNEXPECTED_ERROR);const o=this.$options;if(o.i18n){const s=o.i18n;if(o.__i18n&&(s.__i18n=o.__i18n),s.__root=t,this===this.$root)this.$i18n=sa(e,s);else{s.__injectWithOption=!0,s.__extender=n.__vueI18nExtend,this.$i18n=Dr(s);const a=this.$i18n;a.__extender&&(a.__disposer=a.__extender(this.$i18n))}}else if(o.__i18n)if(this===this.$root)this.$i18n=sa(e,o);else{this.$i18n=Dr({__i18n:o.__i18n,__injectWithOption:!0,__extender:n.__vueI18nExtend,__root:t});const s=this.$i18n;s.__extender&&(s.__disposer=s.__extender(this.$i18n))}else this.$i18n=e;o.__i18nGlobal&&Ho(t,o,o),this.$t=(...s)=>this.$i18n.t(...s),this.$rt=(...s)=>this.$i18n.rt(...s),this.$tc=(...s)=>this.$i18n.tc(...s),this.$te=(s,a)=>this.$i18n.te(s,a),this.$d=(...s)=>this.$i18n.d(...s),this.$n=(...s)=>this.$i18n.n(...s),this.$tm=s=>this.$i18n.tm(s),n.__setInstance(r,this.$i18n)},mounted(){if((process.env.NODE_ENV!=="production"||__VUE_PROD_DEVTOOLS__)&&this.$el&&this.$i18n){const r=this.$i18n;this.$el.__VUE_I18N__=r.__composer;const o=this.__v_emitter=$n();r.__enableEmitter&&r.__enableEmitter(o),o.on("*",on)}},unmounted(){const r=jt();if(!r)throw Le(q.UNEXPECTED_ERROR);const o=this.$i18n;(process.env.NODE_ENV!=="production"||__VUE_PROD_DEVTOOLS__)&&this.$el&&this.$el.__VUE_I18N__&&(this.__v_emitter&&(this.__v_emitter.off("*",on),delete this.__v_emitter),this.$i18n&&(o.__disableEmitter&&o.__disableEmitter(),delete this.$el.__VUE_I18N__)),delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,o.__disposer&&(o.__disposer(),delete o.__disposer,delete o.__extender),n.__deleteInstance(r),delete this.$i18n}}}function sa(e,t){e.locale=t.locale||e.locale,e.fallbackLocale=t.fallbackLocale||e.fallbackLocale,e.missing=t.missing||e.missing,e.silentTranslationWarn=t.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=t.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=t.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=t.postTranslation||e.postTranslation,e.warnHtmlInMessage=t.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=t.escapeParameterHtml||e.escapeParameterHtml,e.sync=t.sync||e.sync,e.__composer[xo](t.pluralizationRules||e.pluralizationRules);const n=Fn(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(n).forEach(r=>e.mergeLocaleMessage(r,n[r])),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach(r=>e.mergeDateTimeFormat(r,t.datetimeFormats[r])),t.numberFormats&&Object.keys(t.numberFormats).forEach(r=>e.mergeNumberFormat(r,t.numberFormats[r])),e}const cu=Qe("global-vue-i18n");function uu(e={},t){const n=__VUE_I18N_LEGACY_API__&&Y(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,r=Y(e.globalInjection)?e.globalInjection:!0,o=__VUE_I18N_LEGACY_API__&&n?!!e.allowComposition:!0,s=new Map,[a,i]=fu(e,n),l=Qe(process.env.NODE_ENV!=="production"?"vue-i18n":"");process.env.NODE_ENV!=="production"&&n&&o&&Se($e(_e.NOTICE_DROP_ALLOW_COMPOSITION));function h(m){return s.get(m)||null}function g(m,b){s.set(m,b)}function d(m){s.delete(m)}{const m={get mode(){return __VUE_I18N_LEGACY_API__&&n?"legacy":"composition"},get allowComposition(){return o},async install(b,...C){if((process.env.NODE_ENV!=="production"||__VUE_PROD_DEVTOOLS__)&&(b.__VUE_I18N__=m),b.__VUE_I18N_SYMBOL__=l,b.provide(b.__VUE_I18N_SYMBOL__,m),G(C[0])){const p=C[0];m.__composerExtend=p.__composerExtend,m.__vueI18nExtend=p.__vueI18nExtend}let R=null;!n&&r&&(R=vu(b,m.global)),__VUE_I18N_FULL_INSTALL__&&Xc(b,m,...C),__VUE_I18N_LEGACY_API__&&n&&b.mixin(lu(i,i.__composer,m));const D=b.unmount;if(b.unmount=()=>{R&&R(),m.dispose(),D()},process.env.NODE_ENV!=="production"||__VUE_PROD_DEVTOOLS__){if(!await Qc(b,m))throw Le(q.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN);const v=$n();if(n){const L=i;L.__enableEmitter&&L.__enableEmitter(v)}else{const L=i;L[Dt]&&L[Dt](v)}v.on("*",on)}},get global(){return i},dispose(){a.stop()},__instances:s,__getInstance:h,__setInstance:g,__deleteInstance:d};return m}}function Vr(e={}){const t=jt();if(t==null)throw Le(q.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw Le(q.NOT_INSTALLED);const n=_u(t),r=pu(n),o=Wo(t),s=du(e,o);if(__VUE_I18N_LEGACY_API__&&n.mode==="legacy"&&!e.__useComponent){if(!n.allowComposition)throw Le(q.NOT_AVAILABLE_IN_LEGACY_MODE);return gu(t,s,r,e)}if(s==="global")return Ho(r,e,o),r;if(s==="parent"){let l=mu(n,t,e.__useComponent);return l==null&&(process.env.NODE_ENV!=="production"&&Se($e(_e.NOT_FOUND_PARENT_SCOPE)),l=r),l}const a=n;let i=a.__getInstance(t);if(i==null){const l=Re({},e);"__i18n"in o&&(l.__i18n=o.__i18n),r&&(l.__root=r),i=Ar(l),a.__composerExtend&&(i[Rr]=a.__composerExtend(i)),Eu(a,t,i),a.__setInstance(t,i)}return i}function fu(e,t,n){const r=il();{const o=__VUE_I18N_LEGACY_API__&&t?r.run(()=>Dr(e)):r.run(()=>Ar(e));if(o==null)throw Le(q.UNEXPECTED_ERROR);return[r,o]}}function _u(e){{const t=Io(e.isCE?cu:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw Le(e.isCE?q.NOT_INSTALLED_WITH_PROVIDE:q.UNEXPECTED_ERROR);return t}}function du(e,t){return an(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function pu(e){return e.mode==="composition"?e.global:e.global.__composer}function mu(e,t,n=!1){let r=null;const o=t.root;let s=hu(t,n);for(;s!=null;){const a=e;if(e.mode==="composition")r=a.__getInstance(s);else if(__VUE_I18N_LEGACY_API__){const i=a.__getInstance(s);i!=null&&(r=i.__composer,n&&r&&!r[$o]&&(r=null))}if(r!=null||o===s)break;s=s.parent}return r}function hu(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function Eu(e,t,n){let r=null;ic(()=>{if((process.env.NODE_ENV!=="production"||__VUE_PROD_DEVTOOLS__)&&t.vnode.el){t.vnode.el.__VUE_I18N__=n,r=$n();const o=n;o[Dt]&&o[Dt](r),r.on("*",on)}},t),lc(()=>{const o=n;(process.env.NODE_ENV!=="production"||__VUE_PROD_DEVTOOLS__)&&t.vnode.el&&t.vnode.el.__VUE_I18N__&&(r&&r.off("*",on),o[rn]&&o[rn](),delete t.vnode.el.__VUE_I18N__),e.__deleteInstance(t);const s=o[Rr];s&&(s(),delete o[Rr])},t)}function gu(e,t,n,r={}){const o=t==="local",s=io(null);if(o&&e.proxy&&!(e.proxy.$options.i18n||e.proxy.$options.__i18n))throw Le(q.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const a=Y(r.inheritLocale)?r.inheritLocale:!P(r.locale),i=xt(!o||a?n.locale.value:P(r.locale)?r.locale:Mt),l=xt(!o||a?n.fallbackLocale.value:P(r.fallbackLocale)||ie(r.fallbackLocale)||G(r.fallbackLocale)||r.fallbackLocale===!1?r.fallbackLocale:i.value),h=xt(Fn(i.value,r)),g=xt(G(r.datetimeFormats)?r.datetimeFormats:{[i.value]:{}}),d=xt(G(r.numberFormats)?r.numberFormats:{[i.value]:{}}),m=o?n.missingWarn:Y(r.missingWarn)||lt(r.missingWarn)?r.missingWarn:!0,b=o?n.fallbackWarn:Y(r.fallbackWarn)||lt(r.fallbackWarn)?r.fallbackWarn:!0,C=o?n.fallbackRoot:Y(r.fallbackRoot)?r.fallbackRoot:!0,R=!!r.fallbackFormat,D=re(r.missing)?r.missing:null,p=re(r.postTranslation)?r.postTranslation:null,v=o?n.warnHtmlMessage:Y(r.warnHtmlMessage)?r.warnHtmlMessage:!0,L=!!r.escapeParameter,N=o?n.modifiers:G(r.modifiers)?r.modifiers:{},w=r.pluralRules||o&&n.pluralRules;function A(){return[i.value,l.value,h.value,g.value,d.value]}const T=nt({get:()=>s.value?s.value.locale.value:i.value,set:c=>{s.value&&(s.value.locale.value=c),i.value=c}}),_=nt({get:()=>s.value?s.value.fallbackLocale.value:l.value,set:c=>{s.value&&(s.value.fallbackLocale.value=c),l.value=c}}),u=nt(()=>s.value?s.value.messages.value:h.value),I=nt(()=>g.value),F=nt(()=>d.value);function k(){return s.value?s.value.getPostTranslationHandler():p}function $(c){s.value&&s.value.setPostTranslationHandler(c)}function j(){return s.value?s.value.getMissingHandler():D}function pe(c){s.value&&s.value.setMissingHandler(c)}function z(c){return A(),c()}function V(...c){return s.value?z(()=>Reflect.apply(s.value.t,null,[...c])):z(()=>"")}function oe(...c){return s.value?Reflect.apply(s.value.rt,null,[...c]):""}function W(...c){return s.value?z(()=>Reflect.apply(s.value.d,null,[...c])):z(()=>"")}function Ae(...c){return s.value?z(()=>Reflect.apply(s.value.n,null,[...c])):z(()=>"")}function ge(c){return s.value?s.value.tm(c):{}}function M(c,E){return s.value?s.value.te(c,E):!1}function Z(c){return s.value?s.value.getLocaleMessage(c):{}}function me(c,E){s.value&&(s.value.setLocaleMessage(c,E),h.value[c]=E)}function se(c,E){s.value&&s.value.mergeLocaleMessage(c,E)}function he(c){return s.value?s.value.getDateTimeFormat(c):{}}function de(c,E){s.value&&(s.value.setDateTimeFormat(c,E),g.value[c]=E)}function ce(c,E){s.value&&s.value.mergeDateTimeFormat(c,E)}function x(c){return s.value?s.value.getNumberFormat(c):{}}function X(c,E){s.value&&(s.value.setNumberFormat(c,E),d.value[c]=E)}function ee(c,E){s.value&&s.value.mergeNumberFormat(c,E)}const ue={get id(){return s.value?s.value.id:-1},locale:T,fallbackLocale:_,messages:u,datetimeFormats:I,numberFormats:F,get inheritLocale(){return s.value?s.value.inheritLocale:a},set inheritLocale(c){s.value&&(s.value.inheritLocale=c)},get availableLocales(){return s.value?s.value.availableLocales:Object.keys(h.value)},get modifiers(){return s.value?s.value.modifiers:N},get pluralRules(){return s.value?s.value.pluralRules:w},get isGlobal(){return s.value?s.value.isGlobal:!1},get missingWarn(){return s.value?s.value.missingWarn:m},set missingWarn(c){s.value&&(s.value.missingWarn=c)},get fallbackWarn(){return s.value?s.value.fallbackWarn:b},set fallbackWarn(c){s.value&&(s.value.missingWarn=c)},get fallbackRoot(){return s.value?s.value.fallbackRoot:C},set fallbackRoot(c){s.value&&(s.value.fallbackRoot=c)},get fallbackFormat(){return s.value?s.value.fallbackFormat:R},set fallbackFormat(c){s.value&&(s.value.fallbackFormat=c)},get warnHtmlMessage(){return s.value?s.value.warnHtmlMessage:v},set warnHtmlMessage(c){s.value&&(s.value.warnHtmlMessage=c)},get escapeParameter(){return s.value?s.value.escapeParameter:L},set escapeParameter(c){s.value&&(s.value.escapeParameter=c)},t:V,getPostTranslationHandler:k,setPostTranslationHandler:$,getMissingHandler:j,setMissingHandler:pe,rt:oe,d:W,n:Ae,tm:ge,te:M,getLocaleMessage:Z,setLocaleMessage:me,mergeLocaleMessage:se,getDateTimeFormat:he,setDateTimeFormat:de,mergeDateTimeFormat:ce,getNumberFormat:x,setNumberFormat:X,mergeNumberFormat:ee};function f(c){c.locale.value=i.value,c.fallbackLocale.value=l.value,Object.keys(h.value).forEach(E=>{c.mergeLocaleMessage(E,h.value[E])}),Object.keys(g.value).forEach(E=>{c.mergeDateTimeFormat(E,g.value[E])}),Object.keys(d.value).forEach(E=>{c.mergeNumberFormat(E,d.value[E])}),c.escapeParameter=L,c.fallbackFormat=R,c.fallbackRoot=C,c.fallbackWarn=b,c.missingWarn=m,c.warnHtmlMessage=v}return ac(()=>{if(e.proxy==null||e.proxy.$i18n==null)throw Le(q.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const c=s.value=e.proxy.$i18n.__composer;t==="global"?(i.value=c.locale.value,l.value=c.fallbackLocale.value,h.value=c.messages.value,g.value=c.datetimeFormats.value,d.value=c.numberFormats.value):o&&f(c)}),ue}const Nu=["locale","fallbackLocale","availableLocales"],oa=["t","rt","d","n","tm","te"];function vu(e,t){const n=Object.create(null);return Nu.forEach(o=>{const s=Object.getOwnPropertyDescriptor(t,o);if(!s)throw Le(q.UNEXPECTED_ERROR);const a=xe(s.value)?{get(){return s.value.value},set(i){s.value.value=i}}:{get(){return s.get&&s.get()}};Object.defineProperty(n,o,a)}),e.config.globalProperties.$i18n=n,oa.forEach(o=>{const s=Object.getOwnPropertyDescriptor(t,o);if(!s||!s.value)throw Le(q.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${o}`,s)}),()=>{delete e.config.globalProperties.$i18n,oa.forEach(o=>{delete e.config.globalProperties[`$${o}`]})}}if(Uc(),__INTLIFY_JIT_COMPILATION__?ls($i):ls(xi),Di(fi),Pi(ss),process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const e=rt();e.__INTLIFY__=!0,vi(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}process.env.NODE_ENV;const Ou=(e="en")=>{const t=uu({locale:e,messages:{en:{iotdbTemplateRemark:"Measurement, Value, and Data Type are required fields. The Data Type can have the optional values BOOLEAN, INT32, INT64, FLOAT, DOUBLE, TEXT.",invalidIsCharFlag:"Invalid Char Value field: {isChar}",uploadMaxRowsError:"The number of rows in the CSV file exceeds the limit. Up to {max} rows of data are supported except for the header",influxdbTemplateRemark:"Append an i to the field value to tell InfluxDB to store the number as an integer."},zh:{iotdbTemplateRemark:"字段、值、数据类型是必填选项,数据类型可选的值为 BOOLEAN、INT32、INT64、FLOAT、DOUBLE、TEXT",invalidIsCharFlag:"无效的字符标识符值:{isChar}",uploadMaxRowsError:"CSV 文件行数超过限制,除表头外,最多支持 {max} 行数据",influxdbTemplateRemark:"在字段值后追加 i,InfluxDB 则将该数值存储为整数类型。"}}}),{t:n}=t.global,r={influxdb:"InfluxDB",tdengine:"TDengine",iotdb:"IoTDB"},o={tdengine:`Field,Value,Char Value,Remarks (Optional)
58
+ ts,now,FALSE,Example Remark
59
+ msgid,\${id},TRUE,
60
+ mqtt_topic,\${topic},TRUE,
61
+ qos,\${qos},FALSE,
62
+ temp,\${payload.temp},FALSE,
63
+ hum,\${payload.hum},FALSE,
64
+ status,\${payload.status},FALSE,
65
+ `,iotdb:`Timestamp,Measurement,Data Type,Value,Remarks (Optional)
66
+ now,temp,FLOAT,\${payload.temp},"${n("iotdbTemplateRemark")}"
67
+ now,hum,FLOAT,\${payload.hum},
68
+ now,status,BOOLEAN,\${payload.status},
69
+ now,clientid,TEXT,\${clientid},
70
+ `,influxdb:`Field,Value,Remarks (Optional)
71
+ temp,\${payload.temp},
72
+ hum,\${payload.hum},
73
+ precip,\${payload.precip}i,"${n("influxdbTemplateRemark")}"
74
+ `};return{filenameMap:r,templateContentMap:o,handleDownloadTemp:(g,d)=>{if(g){const m=new Blob([g],{type:"text/csv"});xr(m,`${d}_template.csv`)}else console.error("Template is empty")},readFileAndParse:async(g,d)=>new Promise((m,b)=>{const C=new FileReader;C.onload=R=>{if(!R.target)return b(new Error("FileReader event target is null"));const D=R.target.result,p=ha.parse(D,{skipEmptyLines:"greedy"});p.errors.length>0&&b(new Error("Failed to parse CSV data: "+p.errors[0].message)),p.data.length>d+1?b(new Error(n("uploadMaxRowsError",{max:d}))):m(p.data)},C.onerror=()=>{b(new Error("An error occurred while reading the file"))},C.onabort=()=>{b(new Error("File reading was aborted"))},C.readAsText(g)}),processIoTDBData:g=>new Promise((d,m)=>{try{const b=["BOOLEAN","INT32","INT64","FLOAT","DOUBLE","TEXT"],C=g.slice(1).filter(R=>R.length>=4&&R.slice(0,4).every(D=>D&&D.trim()!=="")).map(R=>{const[D,p,v,L]=R;if(!b.includes(v))throw new Error(`Invalid data type: ${v}`);return{timestamp:D,measurement:p,data_type:v,value:L}});d(C)}catch(b){m(b)}}),processTDengineData:g=>new Promise((d,m)=>{try{const b="<table>",C=[],R=[];for(let p=1;p<g.length;p++){const[v,L,N]=g[p];if(!v||!L)continue;C.push(v);const w=["true","TRUE","1","",void 0].includes(N==null?void 0:N.trim()),A=["false","FALSE","0"].includes(N==null?void 0:N.trim());if(w)R.push(`'${L}'`);else if(A)R.push(L);else throw new Error(n("invalidIsCharFlag",{isChar:N}))}const D=`insert into ${b}(${C.join(", ")}) values (${R.join(", ")})`;d(D)}catch(b){m(b)}}),processInfluxDBData:g=>new Promise((d,m)=>{try{const b=[];for(let C=1;C<g.length;C++){const[R,D]=g[C];!R||!D||b.push({key:R,value:D})}d(b)}catch(b){m(b)}})}};we.createDownloadBlobLink=xr,we.downloadFile=Ur,we.flattenObject=Pt,we.formatSizeUnit=fa,we.formatValueToMinUnit=_a,we.isEmptyObj=ia,we.isJSONString=ua,we.parseJSONSafely=la,we.stringifyObjSafely=ca,we.unflattenObject=aa,we.useBatchSettings=Ou,Object.defineProperty(we,Symbol.toStringTag,{value:"Module"})});
@@ -1,4 +1,4 @@
1
- declare const _default: (locale?: 'zh' | 'en') => {
1
+ export declare const useBatchSettings: (locale?: 'zh' | 'en') => {
2
2
  filenameMap: {
3
3
  influxdb: string;
4
4
  tdengine: string;
@@ -18,4 +18,3 @@ declare const _default: (locale?: 'zh' | 'en') => {
18
18
  value: string;
19
19
  }[]>;
20
20
  };
21
- export default _default;