@anzusystems/common-admin 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +201 -0
- package/README.md +37 -0
- package/dist/common-admin.es.d.ts +1 -0
- package/dist/common-admin.es.js +4616 -0
- package/dist/common-admin.umd.js +32 -0
- package/dist/components/ABooleanValue.vue.d.ts +45 -0
- package/dist/components/ARow.vue.d.ts +38 -0
- package/dist/lib.d.ts +6 -0
- package/dist/locales/index.d.ts +1 -0
- package/dist/style.css +1 -0
- package/dist/types/common.d.ts +6 -0
- package/dist/utils/common.d.ts +13 -0
- package/dist/utils/object.d.ts +8 -0
- package/dist/vite-env.d.ts +1 -0
- package/package.json +39 -0
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
(function(U,o){typeof exports=="object"&&typeof module<"u"?o(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],o):(U=typeof globalThis<"u"?globalThis:U||self,o(U.CommonAdmin={},U.Vue))})(this,function(U,o){"use strict";/*!
|
|
2
|
+
* shared v9.2.2
|
|
3
|
+
* (c) 2022 kazuya kawaguchi
|
|
4
|
+
* Released under the MIT License.
|
|
5
|
+
*/const pe=typeof window<"u";let te,ye;if(process.env.NODE_ENV!=="production"){const e=pe&&window.performance;e&&e.mark&&e.measure&&e.clearMarks&&e.clearMeasures&&(te=t=>e.mark(t),ye=(t,n,r)=>{e.measure(t,n,r),e.clearMarks(n),e.clearMarks(r)})}const ra=/\{([0-9a-zA-Z]+)\}/g;function He(e,...t){return t.length===1&&x(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(ra,(n,r)=>t.hasOwnProperty(r)?t[r]:"")}const aa=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol",fe=e=>aa?Symbol(e):e,sa=(e,t,n)=>la({l:e,k:t,s:n}),la=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),X=e=>typeof e=="number"&&isFinite(e),oa=e=>pt(e)==="[object Date]",Ye=e=>pt(e)==="[object RegExp]",Ke=e=>$(e)&&Object.keys(e).length===0;function Pe(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const z=Object.assign;let ln;const _t=()=>ln||(ln=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function on(e){return e.replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}const ia=Object.prototype.hasOwnProperty;function gt(e,t){return ia.call(e,t)}const W=Array.isArray,H=e=>typeof e=="function",D=e=>typeof e=="string",j=e=>typeof e=="boolean",x=e=>e!==null&&typeof e=="object",cn=Object.prototype.toString,pt=e=>cn.call(e),$=e=>pt(e)==="[object Object]",ca=e=>e==null?"":W(e)||$(e)&&e.toString===cn?JSON.stringify(e,null,2):String(e),un=2;function ua(e,t=0,n=e.length){const r=e.split(/\r?\n/);let a=0;const s=[];for(let l=0;l<r.length;l++)if(a+=r[l].length+1,a>=t){for(let c=l-un;c<=l+un||n>a;c++){if(c<0||c>=r.length)continue;const i=c+1;s.push(`${i}${" ".repeat(3-String(i).length)}| ${r[c]}`);const _=r[c].length;if(c===l){const E=t-(a-_)+1,g=Math.max(1,n>a?_-E:n-t);s.push(" | "+" ".repeat(E)+"^".repeat(g))}else if(c>l){if(n>a){const E=Math.max(Math.min(n-a,_),1);s.push(" | "+"^".repeat(E))}a+=_+1}}break}return s.join(`
|
|
6
|
+
`)}function fa(){const e=new Map;return{events:e,on(n,r){const a=e.get(n);a&&a.push(r)||e.set(n,[r])},off(n,r){const a=e.get(n);a&&a.splice(a.indexOf(r)>>>0,1)},emit(n,r){(e.get(n)||[]).slice().map(a=>a(r)),(e.get("*")||[]).slice().map(a=>a(n,r))}}}/*!
|
|
7
|
+
* message-compiler v9.2.2
|
|
8
|
+
* (c) 2022 kazuya kawaguchi
|
|
9
|
+
* Released under the MIT License.
|
|
10
|
+
*/const R={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,__EXTEND_POINT__:15},da={[R.EXPECTED_TOKEN]:"Expected token: '{0}'",[R.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[R.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[R.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[R.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[R.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[R.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[R.EMPTY_PLACEHOLDER]:"Empty placeholder",[R.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[R.INVALID_LINKED_FORMAT]:"Invalid linked format",[R.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[R.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[R.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[R.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'"};function Xe(e,t,n={}){const{domain:r,messages:a,args:s}=n,l=process.env.NODE_ENV!=="production"?He((a||da)[e]||"",...s||[]):e,c=new SyntaxError(String(l));return c.code=e,t&&(c.location=t),c.domain=r,c}function ma(e){throw e}function _a(e,t,n){return{line:e,column:t,offset:n}}function Et(e,t,n){const r={start:e,end:t};return n!=null&&(r.source=n),r}const de=" ",ga="\r",q=`
|
|
11
|
+
`,pa=String.fromCharCode(8232),Ea=String.fromCharCode(8233);function ha(e){const t=e;let n=0,r=1,a=1,s=0;const l=I=>t[I]===ga&&t[I+1]===q,c=I=>t[I]===q,i=I=>t[I]===Ea,_=I=>t[I]===pa,E=I=>l(I)||c(I)||i(I)||_(I),g=()=>n,d=()=>r,T=()=>a,k=()=>s,y=I=>l(I)||i(I)||_(I)?q:t[I],S=()=>y(n),m=()=>y(n+s);function v(){return s=0,E(n)&&(r++,a=0),l(n)&&n++,n++,a++,t[n]}function C(){return l(n+s)&&s++,s++,t[n+s]}function p(){n=0,r=1,a=1,s=0}function h(I=0){s=I}function O(){const I=n+s;for(;I!==n;)v();s=0}return{index:g,line:d,column:T,peekOffset:k,charAt:y,currentChar:S,currentPeek:m,next:v,peek:C,reset:p,resetPeek:h,skipToPeek:O}}const Ee=void 0,fn="'",Na="tokenizer";function va(e,t={}){const n=t.location!==!1,r=ha(e),a=()=>r.index(),s=()=>_a(r.line(),r.column(),r.index()),l=s(),c=a(),i={currentType:14,offset:c,startLoc:l,endLoc:l,lastType:14,lastOffset:c,lastStartLoc:l,lastEndLoc:l,braceNest:0,inLinked:!1,text:""},_=()=>i,{onError:E}=t;function g(u,f,b,...A){const V=_();if(f.column+=b,f.offset+=b,E){const F=Et(V.startLoc,f),ue=Xe(u,F,{domain:Na,args:A});E(ue)}}function d(u,f,b){u.endLoc=s(),u.currentType=f;const A={type:f};return n&&(A.loc=Et(u.startLoc,u.endLoc)),b!=null&&(A.value=b),A}const T=u=>d(u,14);function k(u,f){return u.currentChar()===f?(u.next(),f):(g(R.EXPECTED_TOKEN,s(),0,f),"")}function y(u){let f="";for(;u.currentPeek()===de||u.currentPeek()===q;)f+=u.currentPeek(),u.peek();return f}function S(u){const f=y(u);return u.skipToPeek(),f}function m(u){if(u===Ee)return!1;const f=u.charCodeAt(0);return f>=97&&f<=122||f>=65&&f<=90||f===95}function v(u){if(u===Ee)return!1;const f=u.charCodeAt(0);return f>=48&&f<=57}function C(u,f){const{currentType:b}=f;if(b!==2)return!1;y(u);const A=m(u.currentPeek());return u.resetPeek(),A}function p(u,f){const{currentType:b}=f;if(b!==2)return!1;y(u);const A=u.currentPeek()==="-"?u.peek():u.currentPeek(),V=v(A);return u.resetPeek(),V}function h(u,f){const{currentType:b}=f;if(b!==2)return!1;y(u);const A=u.currentPeek()===fn;return u.resetPeek(),A}function O(u,f){const{currentType:b}=f;if(b!==8)return!1;y(u);const A=u.currentPeek()===".";return u.resetPeek(),A}function I(u,f){const{currentType:b}=f;if(b!==9)return!1;y(u);const A=m(u.currentPeek());return u.resetPeek(),A}function P(u,f){const{currentType:b}=f;if(!(b===8||b===12))return!1;y(u);const A=u.currentPeek()===":";return u.resetPeek(),A}function w(u,f){const{currentType:b}=f;if(b!==10)return!1;const A=()=>{const F=u.currentPeek();return F==="{"?m(u.peek()):F==="@"||F==="%"||F==="|"||F===":"||F==="."||F===de||!F?!1:F===q?(u.peek(),A()):m(F)},V=A();return u.resetPeek(),V}function M(u){y(u);const f=u.currentPeek()==="|";return u.resetPeek(),f}function K(u){const f=y(u),b=u.currentPeek()==="%"&&u.peek()==="{";return u.resetPeek(),{isModulo:b,hasSpace:f.length>0}}function le(u,f=!0){const b=(V=!1,F="",ue=!1)=>{const ge=u.currentPeek();return ge==="{"?F==="%"?!1:V:ge==="@"||!ge?F==="%"?!0:V:ge==="%"?(u.peek(),b(V,"%",!0)):ge==="|"?F==="%"||ue?!0:!(F===de||F===q):ge===de?(u.peek(),b(!0,de,ue)):ge===q?(u.peek(),b(!0,q,ue)):!0},A=b();return f&&u.resetPeek(),A}function ce(u,f){const b=u.currentChar();return b===Ee?Ee:f(b)?(u.next(),b):null}function ft(u){return ce(u,b=>{const A=b.charCodeAt(0);return A>=97&&A<=122||A>=65&&A<=90||A>=48&&A<=57||A===95||A===36})}function Kt(u){return ce(u,b=>{const A=b.charCodeAt(0);return A>=48&&A<=57})}function Xt(u){return ce(u,b=>{const A=b.charCodeAt(0);return A>=48&&A<=57||A>=65&&A<=70||A>=97&&A<=102})}function dt(u){let f="",b="";for(;f=Kt(u);)b+=f;return b}function ve(u){S(u);const f=u.currentChar();return f!=="%"&&g(R.EXPECTED_TOKEN,s(),0,f),u.next(),"%"}function We(u){let f="";for(;;){const b=u.currentChar();if(b==="{"||b==="}"||b==="@"||b==="|"||!b)break;if(b==="%")if(le(u))f+=b,u.next();else break;else if(b===de||b===q)if(le(u))f+=b,u.next();else{if(M(u))break;f+=b,u.next()}else f+=b,u.next()}return f}function qt(u){S(u);let f="",b="";for(;f=ft(u);)b+=f;return u.currentChar()===Ee&&g(R.UNTERMINATED_CLOSING_BRACE,s(),0),b}function Jt(u){S(u);let f="";return u.currentChar()==="-"?(u.next(),f+=`-${dt(u)}`):f+=dt(u),u.currentChar()===Ee&&g(R.UNTERMINATED_CLOSING_BRACE,s(),0),f}function Qt(u){S(u),k(u,"'");let f="",b="";const A=F=>F!==fn&&F!==q;for(;f=ce(u,A);)f==="\\"?b+=Zt(u):b+=f;const V=u.currentChar();return V===q||V===Ee?(g(R.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,s(),0),V===q&&(u.next(),k(u,"'")),b):(k(u,"'"),b)}function Zt(u){const f=u.currentChar();switch(f){case"\\":case"'":return u.next(),`\\${f}`;case"u":return en(u,f,4);case"U":return en(u,f,6);default:return g(R.UNKNOWN_ESCAPE_SEQUENCE,s(),0,f),""}}function en(u,f,b){k(u,f);let A="";for(let V=0;V<b;V++){const F=Xt(u);if(!F){g(R.INVALID_UNICODE_ESCAPE_SEQUENCE,s(),0,`\\${f}${A}${u.currentChar()}`);break}A+=F}return`\\${f}${A}`}function tn(u){S(u);let f="",b="";const A=V=>V!=="{"&&V!=="}"&&V!==de&&V!==q;for(;f=ce(u,A);)b+=f;return b}function nn(u){let f="",b="";for(;f=ft(u);)b+=f;return b}function rn(u){const f=(b=!1,A)=>{const V=u.currentChar();return V==="{"||V==="%"||V==="@"||V==="|"||!V||V===de?A:V===q?(A+=V,u.next(),f(b,A)):(A+=V,u.next(),f(!0,A))};return f(!1,"")}function je(u){S(u);const f=k(u,"|");return S(u),f}function Ge(u,f){let b=null;switch(u.currentChar()){case"{":return f.braceNest>=1&&g(R.NOT_ALLOW_NEST_PLACEHOLDER,s(),0),u.next(),b=d(f,2,"{"),S(u),f.braceNest++,b;case"}":return f.braceNest>0&&f.currentType===2&&g(R.EMPTY_PLACEHOLDER,s(),0),u.next(),b=d(f,3,"}"),f.braceNest--,f.braceNest>0&&S(u),f.inLinked&&f.braceNest===0&&(f.inLinked=!1),b;case"@":return f.braceNest>0&&g(R.UNTERMINATED_CLOSING_BRACE,s(),0),b=ke(u,f)||T(f),f.braceNest=0,b;default:let V=!0,F=!0,ue=!0;if(M(u))return f.braceNest>0&&g(R.UNTERMINATED_CLOSING_BRACE,s(),0),b=d(f,1,je(u)),f.braceNest=0,f.inLinked=!1,b;if(f.braceNest>0&&(f.currentType===5||f.currentType===6||f.currentType===7))return g(R.UNTERMINATED_CLOSING_BRACE,s(),0),f.braceNest=0,ze(u,f);if(V=C(u,f))return b=d(f,5,qt(u)),S(u),b;if(F=p(u,f))return b=d(f,6,Jt(u)),S(u),b;if(ue=h(u,f))return b=d(f,7,Qt(u)),S(u),b;if(!V&&!F&&!ue)return b=d(f,13,tn(u)),g(R.INVALID_TOKEN_IN_PLACEHOLDER,s(),0,b.value),S(u),b;break}return b}function ke(u,f){const{currentType:b}=f;let A=null;const V=u.currentChar();switch((b===8||b===9||b===12||b===10)&&(V===q||V===de)&&g(R.INVALID_LINKED_FORMAT,s(),0),V){case"@":return u.next(),A=d(f,8,"@"),f.inLinked=!0,A;case".":return S(u),u.next(),d(f,9,".");case":":return S(u),u.next(),d(f,10,":");default:return M(u)?(A=d(f,1,je(u)),f.braceNest=0,f.inLinked=!1,A):O(u,f)||P(u,f)?(S(u),ke(u,f)):I(u,f)?(S(u),d(f,12,nn(u))):w(u,f)?(S(u),V==="{"?Ge(u,f)||A:d(f,11,rn(u))):(b===8&&g(R.INVALID_LINKED_FORMAT,s(),0),f.braceNest=0,f.inLinked=!1,ze(u,f))}}function ze(u,f){let b={type:14};if(f.braceNest>0)return Ge(u,f)||T(f);if(f.inLinked)return ke(u,f)||T(f);switch(u.currentChar()){case"{":return Ge(u,f)||T(f);case"}":return g(R.UNBALANCED_CLOSING_BRACE,s(),0),u.next(),d(f,3,"}");case"@":return ke(u,f)||T(f);default:if(M(u))return b=d(f,1,je(u)),f.braceNest=0,f.inLinked=!1,b;const{isModulo:V,hasSpace:F}=K(u);if(V)return F?d(f,0,We(u)):d(f,4,ve(u));if(le(u))return d(f,0,We(u));break}return b}function an(){const{currentType:u,offset:f,startLoc:b,endLoc:A}=i;return i.lastType=u,i.lastOffset=f,i.lastStartLoc=b,i.lastEndLoc=A,i.offset=a(),i.startLoc=s(),r.currentChar()===Ee?d(i,14):ze(r,i)}return{nextToken:an,currentOffset:a,currentPosition:s,context:_}}const ya="parser",ba=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function Ta(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 Ca(e={}){const t=e.location!==!1,{onError:n}=e;function r(m,v,C,p,...h){const O=m.currentPosition();if(O.offset+=p,O.column+=p,n){const I=Et(C,O),P=Xe(v,I,{domain:ya,args:h});n(P)}}function a(m,v,C){const p={type:m,start:v,end:v};return t&&(p.loc={start:C,end:C}),p}function s(m,v,C,p){m.end=v,p&&(m.type=p),t&&m.loc&&(m.loc.end=C)}function l(m,v){const C=m.context(),p=a(3,C.offset,C.startLoc);return p.value=v,s(p,m.currentOffset(),m.currentPosition()),p}function c(m,v){const C=m.context(),{lastOffset:p,lastStartLoc:h}=C,O=a(5,p,h);return O.index=parseInt(v,10),m.nextToken(),s(O,m.currentOffset(),m.currentPosition()),O}function i(m,v){const C=m.context(),{lastOffset:p,lastStartLoc:h}=C,O=a(4,p,h);return O.key=v,m.nextToken(),s(O,m.currentOffset(),m.currentPosition()),O}function _(m,v){const C=m.context(),{lastOffset:p,lastStartLoc:h}=C,O=a(9,p,h);return O.value=v.replace(ba,Ta),m.nextToken(),s(O,m.currentOffset(),m.currentPosition()),O}function E(m){const v=m.nextToken(),C=m.context(),{lastOffset:p,lastStartLoc:h}=C,O=a(8,p,h);return v.type!==12?(r(m,R.UNEXPECTED_EMPTY_LINKED_MODIFIER,C.lastStartLoc,0),O.value="",s(O,p,h),{nextConsumeToken:v,node:O}):(v.value==null&&r(m,R.UNEXPECTED_LEXICAL_ANALYSIS,C.lastStartLoc,0,oe(v)),O.value=v.value||"",s(O,m.currentOffset(),m.currentPosition()),{node:O})}function g(m,v){const C=m.context(),p=a(7,C.offset,C.startLoc);return p.value=v,s(p,m.currentOffset(),m.currentPosition()),p}function d(m){const v=m.context(),C=a(6,v.offset,v.startLoc);let p=m.nextToken();if(p.type===9){const h=E(m);C.modifier=h.node,p=h.nextConsumeToken||m.nextToken()}switch(p.type!==10&&r(m,R.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,oe(p)),p=m.nextToken(),p.type===2&&(p=m.nextToken()),p.type){case 11:p.value==null&&r(m,R.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,oe(p)),C.key=g(m,p.value||"");break;case 5:p.value==null&&r(m,R.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,oe(p)),C.key=i(m,p.value||"");break;case 6:p.value==null&&r(m,R.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,oe(p)),C.key=c(m,p.value||"");break;case 7:p.value==null&&r(m,R.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,oe(p)),C.key=_(m,p.value||"");break;default:r(m,R.UNEXPECTED_EMPTY_LINKED_KEY,v.lastStartLoc,0);const h=m.context(),O=a(7,h.offset,h.startLoc);return O.value="",s(O,h.offset,h.startLoc),C.key=O,s(C,h.offset,h.startLoc),{nextConsumeToken:p,node:C}}return s(C,m.currentOffset(),m.currentPosition()),{node:C}}function T(m){const v=m.context(),C=v.currentType===1?m.currentOffset():v.offset,p=v.currentType===1?v.endLoc:v.startLoc,h=a(2,C,p);h.items=[];let O=null;do{const w=O||m.nextToken();switch(O=null,w.type){case 0:w.value==null&&r(m,R.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,oe(w)),h.items.push(l(m,w.value||""));break;case 6:w.value==null&&r(m,R.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,oe(w)),h.items.push(c(m,w.value||""));break;case 5:w.value==null&&r(m,R.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,oe(w)),h.items.push(i(m,w.value||""));break;case 7:w.value==null&&r(m,R.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,oe(w)),h.items.push(_(m,w.value||""));break;case 8:const M=d(m);h.items.push(M.node),O=M.nextConsumeToken||null;break}}while(v.currentType!==14&&v.currentType!==1);const I=v.currentType===1?v.lastOffset:m.currentOffset(),P=v.currentType===1?v.lastEndLoc:m.currentPosition();return s(h,I,P),h}function k(m,v,C,p){const h=m.context();let O=p.items.length===0;const I=a(1,v,C);I.cases=[],I.cases.push(p);do{const P=T(m);O||(O=P.items.length===0),I.cases.push(P)}while(h.currentType!==14);return O&&r(m,R.MUST_HAVE_MESSAGES_IN_PLURAL,C,0),s(I,m.currentOffset(),m.currentPosition()),I}function y(m){const v=m.context(),{offset:C,startLoc:p}=v,h=T(m);return v.currentType===14?h:k(m,C,p,h)}function S(m){const v=va(m,z({},e)),C=v.context(),p=a(0,C.offset,C.startLoc);return t&&p.loc&&(p.loc.source=m),p.body=y(v),C.currentType!==14&&r(v,R.UNEXPECTED_LEXICAL_ANALYSIS,C.lastStartLoc,0,m[C.offset]||""),s(p,v.currentOffset(),v.currentPosition()),p}return{parse:S}}function oe(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 La(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:s=>(n.helpers.add(s),s)}}function dn(e,t){for(let n=0;n<e.length;n++)ht(e[n],t)}function ht(e,t){switch(e.type){case 1:dn(e.cases,t),t.helper("plural");break;case 2:dn(e.items,t);break;case 6:ht(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 Sa(e,t={}){const n=La(e);n.helper("normalize"),e.body&&ht(e.body,n);const r=n.context();e.helpers=Array.from(r.helpers)}function Oa(e,t){const{sourceMap:n,filename:r,breakLineCode:a,needIndent:s}=t,l={source:e.loc.source,filename:r,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:a,needIndent:s,indentLevel:0},c=()=>l;function i(y,S){l.code+=y}function _(y,S=!0){const m=S?a:"";i(s?m+" ".repeat(y):m)}function E(y=!0){const S=++l.indentLevel;y&&_(S)}function g(y=!0){const S=--l.indentLevel;y&&_(S)}function d(){_(l.indentLevel)}return{context:c,push:i,indent:E,deindent:g,newline:d,helper:y=>`_${y}`,needIndent:()=>l.needIndent}}function Ia(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),Te(e,t.key),t.modifier?(e.push(", "),Te(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function Aa(e,t){const{helper:n,needIndent:r}=e;e.push(`${n("normalize")}([`),e.indent(r());const a=t.items.length;for(let s=0;s<a&&(Te(e,t.items[s]),s!==a-1);s++)e.push(", ");e.deindent(r()),e.push("])")}function ka(e,t){const{helper:n,needIndent:r}=e;if(t.cases.length>1){e.push(`${n("plural")}([`),e.indent(r());const a=t.cases.length;for(let s=0;s<a&&(Te(e,t.cases[s]),s!==a-1);s++)e.push(", ");e.deindent(r()),e.push("])")}}function Da(e,t){t.body?Te(e,t.body):e.push("null")}function Te(e,t){const{helper:n}=e;switch(t.type){case 0:Da(e,t);break;case 1:ka(e,t);break;case 2:Aa(e,t);break;case 6:Ia(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:if(process.env.NODE_ENV!=="production")throw new Error(`unhandled codegen node type: ${t.type}`)}}const Pa=(e,t={})=>{const n=D(t.mode)?t.mode:"normal",r=D(t.filename)?t.filename:"message.intl",a=!!t.sourceMap,s=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":`
|
|
12
|
+
`,l=t.needIndent?t.needIndent:n!=="arrow",c=e.helpers||[],i=Oa(e,{mode:n,filename:r,sourceMap:a,breakLineCode:s,needIndent:l});i.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),i.indent(l),c.length>0&&(i.push(`const { ${c.map(g=>`${g}: _${g}`).join(", ")} } = ctx`),i.newline()),i.push("return "),Te(i,e),i.deindent(l),i.push("}");const{code:_,map:E}=i.context();return{ast:e,code:_,map:E?E.toJSON():void 0}};function wa(e,t={}){const n=z({},t),a=Ca(n).parse(e);return Sa(a,n),Pa(a,n)}/*!
|
|
13
|
+
* devtools-if v9.2.2
|
|
14
|
+
* (c) 2022 kazuya kawaguchi
|
|
15
|
+
* Released under the MIT License.
|
|
16
|
+
*/const mn={I18nInit:"i18n:init",FunctionTranslate:"function:translate"};/*!
|
|
17
|
+
* core-base v9.2.2
|
|
18
|
+
* (c) 2022 kazuya kawaguchi
|
|
19
|
+
* Released under the MIT License.
|
|
20
|
+
*/const he=[];he[0]={w:[0],i:[3,0],["["]:[4],o:[7]},he[1]={w:[1],["."]:[2],["["]:[4],o:[7]},he[2]={w:[2],i:[3,0],[0]:[3,0]},he[3]={i:[3,0],[0]:[3,0],w:[1,1],["."]:[2,1],["["]:[4,1],o:[7,1]},he[4]={["'"]:[5,0],['"']:[6,0],["["]:[4,2],["]"]:[1,3],o:8,l:[4,0]},he[5]={["'"]:[4,0],o:8,l:[5,0]},he[6]={['"']:[4,0],o:8,l:[6,0]};const Ra=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function Va(e){return Ra.test(e)}function $a(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 Ma(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 Fa(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:Va(t)?$a(t):"*"+t}function Ua(e){const t=[];let n=-1,r=0,a=0,s,l,c,i,_,E,g;const d=[];d[0]=()=>{l===void 0?l=c:l+=c},d[1]=()=>{l!==void 0&&(t.push(l),l=void 0)},d[2]=()=>{d[0](),a++},d[3]=()=>{if(a>0)a--,r=4,d[0]();else{if(a=0,l===void 0||(l=Fa(l),l===!1))return!1;d[1]()}};function T(){const k=e[n+1];if(r===5&&k==="'"||r===6&&k==='"')return n++,c="\\"+k,d[0](),!0}for(;r!==null;)if(n++,s=e[n],!(s==="\\"&&T())){if(i=Ma(s),g=he[r],_=g[i]||g.l||8,_===8||(r=_[0],_[1]!==void 0&&(E=d[_[1]],E&&(c=s,E()===!1))))return;if(r===7)return t}}const _n=new Map;function xa(e,t){return x(e)?e[t]:null}function Ba(e,t){if(!x(e))return null;let n=_n.get(t);if(n||(n=Ua(t),n&&_n.set(t,n)),!n)return null;const r=n.length;let a=e,s=0;for(;s<r;){const l=a[n[s]];if(l===void 0)return null;a=l,s++}return a}const Wa=e=>e,ja=e=>"",Ga="text",za=e=>e.length===0?"":e.join(""),Ha=ca;function gn(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function Ya(e){const t=X(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(X(e.named.count)||X(e.named.n))?X(e.named.count)?e.named.count:X(e.named.n)?e.named.n:t:t}function Ka(e,t){t.count||(t.count=e),t.n||(t.n=e)}function Xa(e={}){const t=e.locale,n=Ya(e),r=x(e.pluralRules)&&D(t)&&H(e.pluralRules[t])?e.pluralRules[t]:gn,a=x(e.pluralRules)&&D(t)&&H(e.pluralRules[t])?gn:void 0,s=m=>m[r(n,m.length,a)],l=e.list||[],c=m=>l[m],i=e.named||{};X(e.pluralIndex)&&Ka(n,i);const _=m=>i[m];function E(m){const v=H(e.messages)?e.messages(m):x(e.messages)?e.messages[m]:!1;return v||(e.parent?e.parent.message(m):ja)}const g=m=>e.modifiers?e.modifiers[m]:Wa,d=$(e.processor)&&H(e.processor.normalize)?e.processor.normalize:za,T=$(e.processor)&&H(e.processor.interpolate)?e.processor.interpolate:Ha,k=$(e.processor)&&D(e.processor.type)?e.processor.type:Ga,S={list:c,named:_,plural:s,linked:(m,...v)=>{const[C,p]=v;let h="text",O="";v.length===1?x(C)?(O=C.modifier||O,h=C.type||h):D(C)&&(O=C||O):v.length===2&&(D(C)&&(O=C||O),D(p)&&(h=p||h));let I=E(m)(S);return h==="vnode"&&W(I)&&O&&(I=I[0]),O?g(O)(I,h):I},message:E,type:k,interpolate:T,normalize:d};return S}let we=null;function qa(e){we=e}function Ja(e,t,n){we&&we.emit(mn.I18nInit,{timestamp:Date.now(),i18n:e,version:t,meta:n})}const Qa=Za(mn.FunctionTranslate);function Za(e){return t=>we&&we.emit(e,t)}const ne={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,__EXTEND_POINT__:7},es={[ne.NOT_FOUND_KEY]:"Not found '{key}' key in '{locale}' locale messages.",[ne.FALLBACK_TO_TRANSLATE]:"Fall back to translate '{key}' key with '{target}' locale.",[ne.CANNOT_FORMAT_NUMBER]:"Cannot format a number value due to not supported Intl.NumberFormat.",[ne.FALLBACK_TO_NUMBER_FORMAT]:"Fall back to number format '{key}' key with '{target}' locale.",[ne.CANNOT_FORMAT_DATE]:"Cannot format a date value due to not supported Intl.DateTimeFormat.",[ne.FALLBACK_TO_DATE_FORMAT]:"Fall back to datetime format '{key}' key with '{target}' locale."};function Ce(e,...t){return He(es[e],...t)}function ts(e,t,n){return[...new Set([n,...W(t)?t:x(t)?Object.keys(t):D(t)?[t]:[n]])]}function pn(e,t,n){const r=D(n)?n:Nt,a=e;a.__localeChainCache||(a.__localeChainCache=new Map);let s=a.__localeChainCache.get(r);if(!s){s=[];let l=[n];for(;W(l);)l=En(s,l,t);const c=W(t)||!$(t)?t:t.default?t.default:null;l=D(c)?[c]:c,W(l)&&En(s,l,!1),a.__localeChainCache.set(r,s)}return s}function En(e,t,n){let r=!0;for(let a=0;a<t.length&&j(r);a++){const s=t[a];D(s)&&(r=ns(e,t[a],n))}return r}function ns(e,t,n){let r;const a=t.split("-");do{const s=a.join("-");r=rs(e,s,n),a.splice(-1,1)}while(a.length&&r===!0);return r}function rs(e,t,n){let r=!1;if(!e.includes(t)&&(r=!0,t)){r=t[t.length-1]!=="!";const a=t.replace(/!/g,"");e.push(a),(W(n)||$(n))&&n[a]&&(r=n[a])}return r}const as="9.2.2",qe=-1,Nt="en-US",Je="",hn=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function ss(){return{upper:(e,t)=>t==="text"&&D(e)?e.toUpperCase():t==="vnode"&&x(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&D(e)?e.toLowerCase():t==="vnode"&&x(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&D(e)?hn(e):t==="vnode"&&x(e)&&"__v_isVNode"in e?hn(e.children):e}}let Nn;function ls(e){Nn=e}let vn;function os(e){vn=e}let yn;function is(e){yn=e}let bn=null;const Tn=e=>{bn=e},cs=()=>bn;let Cn=null;const Ln=e=>{Cn=e},us=()=>Cn;let Sn=0;function fs(e={}){const t=D(e.version)?e.version:as,n=D(e.locale)?e.locale:Nt,r=W(e.fallbackLocale)||$(e.fallbackLocale)||D(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:n,a=$(e.messages)?e.messages:{[n]:{}},s=$(e.datetimeFormats)?e.datetimeFormats:{[n]:{}},l=$(e.numberFormats)?e.numberFormats:{[n]:{}},c=z({},e.modifiers||{},ss()),i=e.pluralRules||{},_=H(e.missing)?e.missing:null,E=j(e.missingWarn)||Ye(e.missingWarn)?e.missingWarn:!0,g=j(e.fallbackWarn)||Ye(e.fallbackWarn)?e.fallbackWarn:!0,d=!!e.fallbackFormat,T=!!e.unresolving,k=H(e.postTranslation)?e.postTranslation:null,y=$(e.processor)?e.processor:null,S=j(e.warnHtmlMessage)?e.warnHtmlMessage:!0,m=!!e.escapeParameter,v=H(e.messageCompiler)?e.messageCompiler:Nn,C=H(e.messageResolver)?e.messageResolver:vn||xa,p=H(e.localeFallbacker)?e.localeFallbacker:yn||ts,h=x(e.fallbackContext)?e.fallbackContext:void 0,O=H(e.onWarn)?e.onWarn:Pe,I=e,P=x(I.__datetimeFormatters)?I.__datetimeFormatters:new Map,w=x(I.__numberFormatters)?I.__numberFormatters:new Map,M=x(I.__meta)?I.__meta:{};Sn++;const K={version:t,cid:Sn,locale:n,fallbackLocale:r,messages:a,modifiers:c,pluralRules:i,missing:_,missingWarn:E,fallbackWarn:g,fallbackFormat:d,unresolving:T,postTranslation:k,processor:y,warnHtmlMessage:S,escapeParameter:m,messageCompiler:v,messageResolver:C,localeFallbacker:p,fallbackContext:h,onWarn:O,__meta:M};return K.datetimeFormats=s,K.numberFormats=l,K.__datetimeFormatters=P,K.__numberFormatters=w,process.env.NODE_ENV!=="production"&&(K.__v_emitter=I.__v_emitter!=null?I.__v_emitter:void 0),(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&Ja(K,t,M),K}function Qe(e,t){return e instanceof RegExp?e.test(t):e}function On(e,t){return e instanceof RegExp?e.test(t):e}function vt(e,t,n,r,a){const{missing:s,onWarn:l}=e;if(process.env.NODE_ENV!=="production"){const c=e.__v_emitter;c&&c.emit("missing",{locale:n,key:t,type:a,groupId:`${a}:${t}`})}if(s!==null){const c=s(e,n,t,a);return D(c)?c:t}else return process.env.NODE_ENV!=="production"&&On(r,t)&&l(Ce(ne.NOT_FOUND_KEY,{key:t,locale:n})),t}function Re(e,t,n){const r=e;r.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}const ds=/<\/?[\w\s="/.':;#-\/]+>/,ms="Detected HTML in '{source}' message. Recommend not using HTML messages to avoid XSS.";function _s(e,t){(j(t.warnHtmlMessage)?t.warnHtmlMessage:!0)&&ds.test(e)&&Pe(He(ms,{source:e}))}const gs=e=>e;let In=Object.create(null);function ps(e,t={}){{process.env.NODE_ENV!=="production"&&_s(e,t);const r=(t.onCacheKey||gs)(e),a=In[r];if(a)return a;let s=!1;const l=t.onError||ma;t.onError=_=>{s=!0,l(_)};const{code:c}=wa(e,t),i=new Function(`return ${c}`)();return s?i:In[r]=i}}let An=R.__EXTEND_POINT__;const yt=()=>++An,me={INVALID_ARGUMENT:An,INVALID_DATE_ARGUMENT:yt(),INVALID_ISO_DATE_ARGUMENT:yt(),__EXTEND_POINT__:yt()};function Le(e){return Xe(e,null,process.env.NODE_ENV!=="production"?{messages:Es}:void 0)}const Es={[me.INVALID_ARGUMENT]:"Invalid arguments",[me.INVALID_DATE_ARGUMENT]:"The date provided is an invalid Date object.Make sure your Date represents a valid date.",[me.INVALID_ISO_DATE_ARGUMENT]:"The argument provided is not a valid ISO date string"},kn=()=>"",ie=e=>H(e);function Dn(e,...t){const{fallbackFormat:n,postTranslation:r,unresolving:a,messageCompiler:s,fallbackLocale:l,messages:c}=e,[i,_]=bt(...t),E=j(_.missingWarn)?_.missingWarn:e.missingWarn,g=j(_.fallbackWarn)?_.fallbackWarn:e.fallbackWarn,d=j(_.escapeParameter)?_.escapeParameter:e.escapeParameter,T=!!_.resolvedMessage,k=D(_.default)||j(_.default)?j(_.default)?s?i:()=>i:_.default:n?s?i:()=>i:"",y=n||k!=="",S=D(_.locale)?_.locale:e.locale;d&&hs(_);let[m,v,C]=T?[i,S,c[S]||{}]:Pn(e,i,S,l,g,E),p=m,h=i;if(!T&&!(D(p)||ie(p))&&y&&(p=k,h=p),!T&&(!(D(p)||ie(p))||!D(v)))return a?qe:i;if(process.env.NODE_ENV!=="production"&&D(p)&&e.messageCompiler==null)return Pe(`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 '${i}'.`),i;let O=!1;const I=()=>{O=!0},P=ie(p)?p:wn(e,i,v,p,h,I);if(O)return p;const w=ys(e,v,C,_),M=Xa(w),K=Ns(e,P,M),le=r?r(K,i):K;if(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const ce={timestamp:Date.now(),key:D(i)?i:ie(p)?p.key:"",locale:v||(ie(p)?p.locale:""),format:D(p)?p:ie(p)?p.source:"",message:le};ce.meta=z({},e.__meta,cs()||{}),Qa(ce)}return le}function hs(e){W(e.list)?e.list=e.list.map(t=>D(t)?on(t):t):x(e.named)&&Object.keys(e.named).forEach(t=>{D(e.named[t])&&(e.named[t]=on(e.named[t]))})}function Pn(e,t,n,r,a,s){const{messages:l,onWarn:c,messageResolver:i,localeFallbacker:_}=e,E=_(e,r,n);let g={},d,T=null,k=n,y=null;const S="translate";for(let m=0;m<E.length;m++){if(d=y=E[m],process.env.NODE_ENV!=="production"&&n!==d&&Qe(a,t)&&c(Ce(ne.FALLBACK_TO_TRANSLATE,{key:t,target:d})),process.env.NODE_ENV!=="production"&&n!==d){const O=e.__v_emitter;O&&O.emit("fallback",{type:S,key:t,from:k,to:y,groupId:`${S}:${t}`})}g=l[d]||{};let v=null,C,p;if(process.env.NODE_ENV!=="production"&&pe&&(v=window.performance.now(),C="intlify-message-resolve-start",p="intlify-message-resolve-end",te&&te(C)),(T=i(g,t))===null&&(T=g[t]),process.env.NODE_ENV!=="production"&&pe){const O=window.performance.now(),I=e.__v_emitter;I&&v&&T&&I.emit("message-resolve",{type:"message-resolve",key:t,message:T,time:O-v,groupId:`${S}:${t}`}),C&&p&&te&&ye&&(te(p),ye("intlify message resolve",C,p))}if(D(T)||H(T))break;const h=vt(e,t,d,s,S);h!==t&&(T=h),k=y}return[T,d,g]}function wn(e,t,n,r,a,s){const{messageCompiler:l,warnHtmlMessage:c}=e;if(ie(r)){const d=r;return d.locale=d.locale||n,d.key=d.key||t,d}if(l==null){const d=()=>r;return d.locale=n,d.key=t,d}let i=null,_,E;process.env.NODE_ENV!=="production"&&pe&&(i=window.performance.now(),_="intlify-message-compilation-start",E="intlify-message-compilation-end",te&&te(_));const g=l(r,vs(e,n,a,r,c,s));if(process.env.NODE_ENV!=="production"&&pe){const d=window.performance.now(),T=e.__v_emitter;T&&i&&T.emit("message-compilation",{type:"message-compilation",message:r,time:d-i,groupId:`translate:${t}`}),_&&E&&te&&ye&&(te(E),ye("intlify message compilation",_,E))}return g.locale=n,g.key=t,g.source=r,g}function Ns(e,t,n){let r=null,a,s;process.env.NODE_ENV!=="production"&&pe&&(r=window.performance.now(),a="intlify-message-evaluation-start",s="intlify-message-evaluation-end",te&&te(a));const l=t(n);if(process.env.NODE_ENV!=="production"&&pe){const c=window.performance.now(),i=e.__v_emitter;i&&r&&i.emit("message-evaluation",{type:"message-evaluation",value:l,time:c-r,groupId:`translate:${t.key}`}),a&&s&&te&&ye&&(te(s),ye("intlify message evaluation",a,s))}return l}function bt(...e){const[t,n,r]=e,a={};if(!D(t)&&!X(t)&&!ie(t))throw Le(me.INVALID_ARGUMENT);const s=X(t)?String(t):(ie(t),t);return X(n)?a.plural=n:D(n)?a.default=n:$(n)&&!Ke(n)?a.named=n:W(n)&&(a.list=n),X(r)?a.plural=r:D(r)?a.default=r:$(r)&&z(a,r),[s,a]}function vs(e,t,n,r,a,s){return{warnHtmlMessage:a,onError:l=>{if(s&&s(l),process.env.NODE_ENV!=="production"){const c=`Message compilation error: ${l.message}`,i=l.location&&ua(r,l.location.start.offset,l.location.end.offset),_=e.__v_emitter;_&&_.emit("compile-error",{message:r,error:l.message,start:l.location&&l.location.start.offset,end:l.location&&l.location.end.offset,groupId:`translate:${n}`}),console.error(i?`${c}
|
|
21
|
+
${i}`:c)}else throw l},onCacheKey:l=>sa(t,n,l)}}function ys(e,t,n,r){const{modifiers:a,pluralRules:s,messageResolver:l,fallbackLocale:c,fallbackWarn:i,missingWarn:_,fallbackContext:E}=e,d={locale:t,modifiers:a,pluralRules:s,messages:T=>{let k=l(n,T);if(k==null&&E){const[,,y]=Pn(E,T,t,c,i,_);k=l(y,T)}if(D(k)){let y=!1;const m=wn(e,T,t,k,T,()=>{y=!0});return y?kn:m}else return ie(k)?k:kn}};return e.processor&&(d.processor=e.processor),r.list&&(d.list=r.list),r.named&&(d.named=r.named),X(r.plural)&&(d.pluralIndex=r.plural),d}const Rn=typeof Intl<"u",Vn={dateTimeFormat:Rn&&typeof Intl.DateTimeFormat<"u",numberFormat:Rn&&typeof Intl.NumberFormat<"u"};function $n(e,...t){const{datetimeFormats:n,unresolving:r,fallbackLocale:a,onWarn:s,localeFallbacker:l}=e,{__datetimeFormatters:c}=e;if(process.env.NODE_ENV!=="production"&&!Vn.dateTimeFormat)return s(Ce(ne.CANNOT_FORMAT_DATE)),Je;const[i,_,E,g]=Tt(...t),d=j(E.missingWarn)?E.missingWarn:e.missingWarn,T=j(E.fallbackWarn)?E.fallbackWarn:e.fallbackWarn,k=!!E.part,y=D(E.locale)?E.locale:e.locale,S=l(e,a,y);if(!D(i)||i==="")return new Intl.DateTimeFormat(y,g).format(_);let m={},v,C=null,p=y,h=null;const O="datetime format";for(let w=0;w<S.length;w++){if(v=h=S[w],process.env.NODE_ENV!=="production"&&y!==v&&Qe(T,i)&&s(Ce(ne.FALLBACK_TO_DATE_FORMAT,{key:i,target:v})),process.env.NODE_ENV!=="production"&&y!==v){const M=e.__v_emitter;M&&M.emit("fallback",{type:O,key:i,from:p,to:h,groupId:`${O}:${i}`})}if(m=n[v]||{},C=m[i],$(C))break;vt(e,i,v,d,O),p=h}if(!$(C)||!D(v))return r?qe:i;let I=`${v}__${i}`;Ke(g)||(I=`${I}__${JSON.stringify(g)}`);let P=c.get(I);return P||(P=new Intl.DateTimeFormat(v,z({},C,g)),c.set(I,P)),k?P.formatToParts(_):P.format(_)}const Mn=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function Tt(...e){const[t,n,r,a]=e,s={};let l={},c;if(D(t)){const i=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!i)throw Le(me.INVALID_ISO_DATE_ARGUMENT);const _=i[3]?i[3].trim().startsWith("T")?`${i[1].trim()}${i[3].trim()}`:`${i[1].trim()}T${i[3].trim()}`:i[1].trim();c=new Date(_);try{c.toISOString()}catch{throw Le(me.INVALID_ISO_DATE_ARGUMENT)}}else if(oa(t)){if(isNaN(t.getTime()))throw Le(me.INVALID_DATE_ARGUMENT);c=t}else if(X(t))c=t;else throw Le(me.INVALID_ARGUMENT);return D(n)?s.key=n:$(n)&&Object.keys(n).forEach(i=>{Mn.includes(i)?l[i]=n[i]:s[i]=n[i]}),D(r)?s.locale=r:$(r)&&(l=r),$(a)&&(l=a),[s.key||"",c,s,l]}function Fn(e,t,n){const r=e;for(const a in n){const s=`${t}__${a}`;r.__datetimeFormatters.has(s)&&r.__datetimeFormatters.delete(s)}}function Un(e,...t){const{numberFormats:n,unresolving:r,fallbackLocale:a,onWarn:s,localeFallbacker:l}=e,{__numberFormatters:c}=e;if(process.env.NODE_ENV!=="production"&&!Vn.numberFormat)return s(Ce(ne.CANNOT_FORMAT_NUMBER)),Je;const[i,_,E,g]=Ct(...t),d=j(E.missingWarn)?E.missingWarn:e.missingWarn,T=j(E.fallbackWarn)?E.fallbackWarn:e.fallbackWarn,k=!!E.part,y=D(E.locale)?E.locale:e.locale,S=l(e,a,y);if(!D(i)||i==="")return new Intl.NumberFormat(y,g).format(_);let m={},v,C=null,p=y,h=null;const O="number format";for(let w=0;w<S.length;w++){if(v=h=S[w],process.env.NODE_ENV!=="production"&&y!==v&&Qe(T,i)&&s(Ce(ne.FALLBACK_TO_NUMBER_FORMAT,{key:i,target:v})),process.env.NODE_ENV!=="production"&&y!==v){const M=e.__v_emitter;M&&M.emit("fallback",{type:O,key:i,from:p,to:h,groupId:`${O}:${i}`})}if(m=n[v]||{},C=m[i],$(C))break;vt(e,i,v,d,O),p=h}if(!$(C)||!D(v))return r?qe:i;let I=`${v}__${i}`;Ke(g)||(I=`${I}__${JSON.stringify(g)}`);let P=c.get(I);return P||(P=new Intl.NumberFormat(v,z({},C,g)),c.set(I,P)),k?P.formatToParts(_):P.format(_)}const xn=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function Ct(...e){const[t,n,r,a]=e,s={};let l={};if(!X(t))throw Le(me.INVALID_ARGUMENT);const c=t;return D(n)?s.key=n:$(n)&&Object.keys(n).forEach(i=>{xn.includes(i)?l[i]=n[i]:s[i]=n[i]}),D(r)?s.locale=r:$(r)&&(l=r),$(a)&&(l=a),[s.key||"",c,s,l]}function Bn(e,t,n){const r=e;for(const a in n){const s=`${t}__${a}`;r.__numberFormatters.has(s)&&r.__numberFormatters.delete(s)}}typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(_t().__INTLIFY_PROD_DEVTOOLS__=!1);/*!
|
|
22
|
+
* vue-i18n v9.2.2
|
|
23
|
+
* (c) 2022 kazuya kawaguchi
|
|
24
|
+
* Released under the MIT License.
|
|
25
|
+
*/const bs="9.2.2";function Ts(){let e=!1;typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(_t().__INTLIFY_PROD_DEVTOOLS__=!1),process.env.NODE_ENV!=="production"&&e&&console.warn("You are running the esm-bundler build of vue-i18n. It is recommended to configure your bundler to explicitly replace feature flag globals with boolean literals to get proper tree-shaking in the final bundle.")}let Wn=ne.__EXTEND_POINT__;const Se=()=>++Wn,_e={FALLBACK_TO_ROOT:Wn,NOT_SUPPORTED_PRESERVE:Se(),NOT_SUPPORTED_FORMATTER:Se(),NOT_SUPPORTED_PRESERVE_DIRECTIVE:Se(),NOT_SUPPORTED_GET_CHOICE_INDEX:Se(),COMPONENT_NAME_LEGACY_COMPATIBLE:Se(),NOT_FOUND_PARENT_SCOPE:Se()},Cs={[_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."};function jn(e,...t){return He(Cs[e],...t)}let Gn=R.__EXTEND_POINT__;const Q=()=>++Gn,B={UNEXPECTED_RETURN_TYPE:Gn,INVALID_ARGUMENT:Q(),MUST_BE_CALL_SETUP_TOP:Q(),NOT_INSLALLED:Q(),NOT_AVAILABLE_IN_LEGACY_MODE:Q(),REQUIRED_VALUE:Q(),INVALID_VALUE:Q(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:Q(),NOT_INSLALLED_WITH_PROVIDE:Q(),UNEXPECTED_ERROR:Q(),NOT_COMPATIBLE_LEGACY_VUE_I18N:Q(),BRIDGE_SUPPORT_VUE_2_ONLY:Q(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:Q(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:Q(),__EXTEND_POINT__:Q()};function Oe(e,...t){return Xe(e,null,process.env.NODE_ENV!=="production"?{messages:Ls,args:t}:void 0)}const Ls={[B.UNEXPECTED_RETURN_TYPE]:"Unexpected return type in composer",[B.INVALID_ARGUMENT]:"Invalid argument",[B.MUST_BE_CALL_SETUP_TOP]:"Must be called at the top of a `setup` function",[B.NOT_INSLALLED]:"Need to install with `app.use` function",[B.UNEXPECTED_ERROR]:"Unexpected error",[B.NOT_AVAILABLE_IN_LEGACY_MODE]:"Not available in legacy mode",[B.REQUIRED_VALUE]:"Required in value: {0}",[B.INVALID_VALUE]:"Invalid value",[B.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN]:"Cannot setup vue-devtools plugin",[B.NOT_INSLALLED_WITH_PROVIDE]:"Need to install with `provide` function",[B.NOT_COMPATIBLE_LEGACY_VUE_I18N]:"Not compatible legacy VueI18n.",[B.BRIDGE_SUPPORT_VUE_2_ONLY]:"vue-i18n-bridge support Vue 2.x only",[B.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",[B.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]:"Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"},Lt=fe("__transrateVNode"),St=fe("__datetimeParts"),Ot=fe("__numberParts"),It=fe("__enableEmitter"),At=fe("__disableEmitter"),Ss=fe("__setPluralRules");fe("__intlifyMeta");const Os=fe("__injectWithOption");function kt(e){if(!x(e))return e;for(const t in e)if(gt(e,t))if(!t.includes("."))x(e[t])&&kt(e[t]);else{const n=t.split("."),r=n.length-1;let a=e;for(let s=0;s<r;s++)n[s]in a||(a[n[s]]={}),a=a[n[s]];a[n[r]]=e[t],delete e[t],x(a[n[r]])&&kt(a[n[r]])}return e}function zn(e,t){const{messages:n,__i18n:r,messageResolver:a,flatJson:s}=t,l=$(n)?n:W(r)?{}:{[e]:{}};if(W(r)&&r.forEach(c=>{if("locale"in c&&"resource"in c){const{locale:i,resource:_}=c;i?(l[i]=l[i]||{},Ve(_,l[i])):Ve(_,l)}else D(c)&&Ve(JSON.parse(c),l)}),a==null&&s)for(const c in l)gt(l,c)&&kt(l[c]);return l}const Ze=e=>!x(e)||W(e);function Ve(e,t){if(Ze(e)||Ze(t))throw Oe(B.INVALID_VALUE);for(const n in e)gt(e,n)&&(Ze(e[n])||Ze(t[n])?t[n]=e[n]:Ve(e[n],t[n]))}function Hn(e){return e.type}function Is(e,t,n){let r=x(t.messages)?t.messages:{};"__i18nGlobal"in n&&(r=zn(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const a=Object.keys(r);a.length&&a.forEach(s=>{e.mergeLocaleMessage(s,r[s])});{if(x(t.datetimeFormats)){const s=Object.keys(t.datetimeFormats);s.length&&s.forEach(l=>{e.mergeDateTimeFormat(l,t.datetimeFormats[l])})}if(x(t.numberFormats)){const s=Object.keys(t.numberFormats);s.length&&s.forEach(l=>{e.mergeNumberFormat(l,t.numberFormats[l])})}}}function Yn(e){return o.createVNode(o.Text,null,e,0)}const Kn="__INTLIFY_META__";let Xn=0;function qn(e){return(t,n,r,a)=>e(n,r,o.getCurrentInstance()||void 0,a)}const As=()=>{const e=o.getCurrentInstance();let t=null;return e&&(t=Hn(e)[Kn])?{[Kn]:t}:null};function ks(e={},t){const{__root:n}=e,r=n===void 0;let a=j(e.inheritLocale)?e.inheritLocale:!0;const s=o.ref(n&&a?n.locale.value:D(e.locale)?e.locale:Nt),l=o.ref(n&&a?n.fallbackLocale.value:D(e.fallbackLocale)||W(e.fallbackLocale)||$(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:s.value),c=o.ref(zn(s.value,e)),i=o.ref($(e.datetimeFormats)?e.datetimeFormats:{[s.value]:{}}),_=o.ref($(e.numberFormats)?e.numberFormats:{[s.value]:{}});let E=n?n.missingWarn:j(e.missingWarn)||Ye(e.missingWarn)?e.missingWarn:!0,g=n?n.fallbackWarn:j(e.fallbackWarn)||Ye(e.fallbackWarn)?e.fallbackWarn:!0,d=n?n.fallbackRoot:j(e.fallbackRoot)?e.fallbackRoot:!0,T=!!e.fallbackFormat,k=H(e.missing)?e.missing:null,y=H(e.missing)?qn(e.missing):null,S=H(e.postTranslation)?e.postTranslation:null,m=n?n.warnHtmlMessage:j(e.warnHtmlMessage)?e.warnHtmlMessage:!0,v=!!e.escapeParameter;const C=n?n.modifiers:$(e.modifiers)?e.modifiers:{};let p=e.pluralRules||n&&n.pluralRules,h;h=(()=>{r&&Ln(null);const N={version:bs,locale:s.value,fallbackLocale:l.value,messages:c.value,modifiers:C,pluralRules:p,missing:y===null?void 0:y,missingWarn:E,fallbackWarn:g,fallbackFormat:T,unresolving:!0,postTranslation:S===null?void 0:S,warnHtmlMessage:m,escapeParameter:v,messageResolver:e.messageResolver,__meta:{framework:"vue"}};N.datetimeFormats=i.value,N.numberFormats=_.value,N.__datetimeFormatters=$(h)?h.__datetimeFormatters:void 0,N.__numberFormatters=$(h)?h.__numberFormatters:void 0,process.env.NODE_ENV!=="production"&&(N.__v_emitter=$(h)?h.__v_emitter:void 0);const L=fs(N);return r&&Ln(L),L})(),Re(h,s.value,l.value);function I(){return[s.value,l.value,c.value,i.value,_.value]}const P=o.computed({get:()=>s.value,set:N=>{s.value=N,h.locale=s.value}}),w=o.computed({get:()=>l.value,set:N=>{l.value=N,h.fallbackLocale=l.value,Re(h,s.value,N)}}),M=o.computed(()=>c.value),K=o.computed(()=>i.value),le=o.computed(()=>_.value);function ce(){return H(S)?S:null}function ft(N){S=N,h.postTranslation=N}function Kt(){return k}function Xt(N){N!==null&&(y=qn(N)),k=N,h.missing=y}function dt(N,L){return N!=="translate"||!L.resolvedMessage}const ve=(N,L,ee,J,sn,mt)=>{I();let De;if(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)try{Tn(As()),r||(h.fallbackContext=n?us():void 0),De=N(h)}finally{Tn(null),r||(h.fallbackContext=void 0)}else De=N(h);if(X(De)&&De===qe){const[be,ao]=L();if(process.env.NODE_ENV!=="production"&&n&&D(be)&&dt(ee,ao)&&(d&&(Qe(g,be)||On(E,be))&&Pe(jn(_e.FALLBACK_TO_ROOT,{key:be,type:ee})),process.env.NODE_ENV!=="production")){const{__v_emitter:na}=h;na&&d&&na.emit("fallback",{type:ee,key:be,to:"global",groupId:`${ee}:${be}`})}return n&&d?J(n):sn(be)}else{if(mt(De))return De;throw Oe(B.UNEXPECTED_RETURN_TYPE)}};function We(...N){return ve(L=>Reflect.apply(Dn,null,[L,...N]),()=>bt(...N),"translate",L=>Reflect.apply(L.t,L,[...N]),L=>L,L=>D(L))}function qt(...N){const[L,ee,J]=N;if(J&&!x(J))throw Oe(B.INVALID_ARGUMENT);return We(L,ee,z({resolvedMessage:!0},J||{}))}function Jt(...N){return ve(L=>Reflect.apply($n,null,[L,...N]),()=>Tt(...N),"datetime format",L=>Reflect.apply(L.d,L,[...N]),()=>Je,L=>D(L))}function Qt(...N){return ve(L=>Reflect.apply(Un,null,[L,...N]),()=>Ct(...N),"number format",L=>Reflect.apply(L.n,L,[...N]),()=>Je,L=>D(L))}function Zt(N){return N.map(L=>D(L)||X(L)||j(L)?Yn(String(L)):L)}const tn={normalize:Zt,interpolate:N=>N,type:"vnode"};function nn(...N){return ve(L=>{let ee;const J=L;try{J.processor=tn,ee=Reflect.apply(Dn,null,[J,...N])}finally{J.processor=null}return ee},()=>bt(...N),"translate",L=>L[Lt](...N),L=>[Yn(L)],L=>W(L))}function rn(...N){return ve(L=>Reflect.apply(Un,null,[L,...N]),()=>Ct(...N),"number format",L=>L[Ot](...N),()=>[],L=>D(L)||W(L))}function je(...N){return ve(L=>Reflect.apply($n,null,[L,...N]),()=>Tt(...N),"datetime format",L=>L[St](...N),()=>[],L=>D(L)||W(L))}function Ge(N){p=N,h.pluralRules=p}function ke(N,L){const ee=D(L)?L:s.value,J=u(ee);return h.messageResolver(J,N)!==null}function ze(N){let L=null;const ee=pn(h,l.value,s.value);for(let J=0;J<ee.length;J++){const sn=c.value[ee[J]]||{},mt=h.messageResolver(sn,N);if(mt!=null){L=mt;break}}return L}function an(N){const L=ze(N);return L??(n?n.tm(N)||{}:{})}function u(N){return c.value[N]||{}}function f(N,L){c.value[N]=L,h.messages=c.value}function b(N,L){c.value[N]=c.value[N]||{},Ve(L,c.value[N]),h.messages=c.value}function A(N){return i.value[N]||{}}function V(N,L){i.value[N]=L,h.datetimeFormats=i.value,Fn(h,N,L)}function F(N,L){i.value[N]=z(i.value[N]||{},L),h.datetimeFormats=i.value,Fn(h,N,L)}function ue(N){return _.value[N]||{}}function ge(N,L){_.value[N]=L,h.numberFormats=_.value,Bn(h,N,L)}function ro(N,L){_.value[N]=z(_.value[N]||{},L),h.numberFormats=_.value,Bn(h,N,L)}Xn++,n&&pe&&(o.watch(n.locale,N=>{a&&(s.value=N,h.locale=N,Re(h,s.value,l.value))}),o.watch(n.fallbackLocale,N=>{a&&(l.value=N,h.fallbackLocale=N,Re(h,s.value,l.value))}));const G={id:Xn,locale:P,fallbackLocale:w,get inheritLocale(){return a},set inheritLocale(N){a=N,N&&n&&(s.value=n.locale.value,l.value=n.fallbackLocale.value,Re(h,s.value,l.value))},get availableLocales(){return Object.keys(c.value).sort()},messages:M,get modifiers(){return C},get pluralRules(){return p||{}},get isGlobal(){return r},get missingWarn(){return E},set missingWarn(N){E=N,h.missingWarn=E},get fallbackWarn(){return g},set fallbackWarn(N){g=N,h.fallbackWarn=g},get fallbackRoot(){return d},set fallbackRoot(N){d=N},get fallbackFormat(){return T},set fallbackFormat(N){T=N,h.fallbackFormat=T},get warnHtmlMessage(){return m},set warnHtmlMessage(N){m=N,h.warnHtmlMessage=N},get escapeParameter(){return v},set escapeParameter(N){v=N,h.escapeParameter=N},t:We,getLocaleMessage:u,setLocaleMessage:f,mergeLocaleMessage:b,getPostTranslationHandler:ce,setPostTranslationHandler:ft,getMissingHandler:Kt,setMissingHandler:Xt,[Ss]:Ge};return G.datetimeFormats=K,G.numberFormats=le,G.rt=qt,G.te=ke,G.tm=an,G.d=Jt,G.n=Qt,G.getDateTimeFormat=A,G.setDateTimeFormat=V,G.mergeDateTimeFormat=F,G.getNumberFormat=ue,G.setNumberFormat=ge,G.mergeNumberFormat=ro,G[Os]=e.__injectWithOption,G[Lt]=nn,G[St]=je,G[Ot]=rn,process.env.NODE_ENV!=="production"&&(G[It]=N=>{h.__v_emitter=N},G[At]=()=>{h.__v_emitter=void 0}),G}const Dt={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function Ds({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((r,a)=>r=[...r,...W(a.children)?a.children:[a]],[]):t.reduce((n,r)=>{const a=e[r];return a&&(n[r]=a()),n},{})}function Jn(e){return o.Fragment}z({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>X(e)||!isNaN(e)}},Dt);function Ps(e){return W(e)&&!D(e[0])}function Qn(e,t,n,r){const{slots:a,attrs:s}=t;return()=>{const l={part:!0};let c={};e.locale&&(l.locale=e.locale),D(e.format)?l.key=e.format:x(e.format)&&(D(e.format.key)&&(l.key=e.format.key),c=Object.keys(e.format).reduce((d,T)=>n.includes(T)?z({},d,{[T]:e.format[T]}):d,{}));const i=r(e.value,l,c);let _=[l.key];W(i)?_=i.map((d,T)=>{const k=a[d.type],y=k?k({[d.type]:d.value,index:T,parts:i}):[d.value];return Ps(y)&&(y[0].key=`${d.type}-${T}`),y}):D(i)&&(_=[i]);const E=z({},s),g=D(e.tag)||x(e.tag)?e.tag:Jn();return o.h(g,E,_)}}z({value:{type:Number,required:!0},format:{type:[String,Object]}},Dt),z({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Dt);function Zn(e,t){}const ws=fe("global-vue-i18n");function et(e={}){const t=o.getCurrentInstance();if(t==null)throw Oe(B.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw Oe(B.NOT_INSLALLED);const n=Rs(t),r=$s(n),a=Hn(t),s=Vs(e,a);if(s==="global")return Is(r,e,a),r;if(s==="parent"){let i=Ms(n,t,e.__useComponent);return i==null&&(process.env.NODE_ENV!=="production"&&Pe(jn(_e.NOT_FOUND_PARENT_SCOPE)),i=r),i}const l=n;let c=l.__getInstance(t);if(c==null){const i=z({},e);"__i18n"in a&&(i.__i18n=a.__i18n),r&&(i.__root=r),c=ks(i),Fs(l,t,c),l.__setInstance(t,c)}return c}function Rs(e){{const t=o.inject(e.isCE?ws:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw Oe(e.isCE?B.NOT_INSLALLED_WITH_PROVIDE:B.UNEXPECTED_ERROR);return t}}function Vs(e,t){return Ke(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function $s(e){return e.mode==="composition"?e.global:e.global.__composer}function Ms(e,t,n=!1){let r=null;const a=t.root;let s=t.parent;for(;s!=null;){const l=e;if(e.mode==="composition"&&(r=l.__getInstance(s)),r!=null||a===s)break;s=s.parent}return r}function Fs(e,t,n){let r=null;o.onMounted(()=>{if(process.env.NODE_ENV!=="production"&&t.vnode.el){t.vnode.el.__VUE_I18N__=n,r=fa();const a=n;a[It]&&a[It](r),r.on("*",Zn)}},t),o.onUnmounted(()=>{if(process.env.NODE_ENV!=="production"&&t.vnode.el&&t.vnode.el.__VUE_I18N__){r&&r.off("*",Zn);const a=n;a[At]&&a[At](),delete t.vnode.el.__VUE_I18N__}e.__deleteInstance(t)},t)}if(ls(ps),os(Ba),is(pn),Ts(),process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const e=_t();e.__INTLIFY__=!0,qa(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}process.env.NODE_ENV;const so="",lo="",oo="";function Pt(e,t){if(e===t)return!0;if(e instanceof Date&&t instanceof Date&&e.getTime()!==t.getTime()||e!==Object(e)||t!==Object(t))return!1;const n=Object.keys(e);return n.length!==Object.keys(t).length?!1:n.every(r=>Pt(e[r],t[r]))}function se(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"px";if(!(e==null||e===""))return isNaN(+e)?String(e):isFinite(+e)?`${Number(e)}${t}`:void 0}function wt(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)}const er=Object.freeze({enter:13,tab:9,delete:46,esc:27,space:32,up:38,down:40,left:37,right:39,end:35,home:36,del:46,backspace:8,insert:45,pageup:33,pagedown:34,shift:16});function Us(e){return e==null?[]:Array.isArray(e)?e:[e]}function tt(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;const r={};for(const a in e)r[a]=e[a];for(const a in t){const s=e[a],l=t[a];if(wt(s)&&wt(l)){r[a]=tt(s,l,n);continue}if(Array.isArray(s)&&Array.isArray(l)&&n){r[a]=n(s,l);continue}r[a]=l}return r}function nt(){return(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").replace(/[^a-z]/gi,"-").replace(/\B([A-Z])/g,"-$1").toLowerCase()}function rt(e,t){if(!t||typeof t!="object")return[];if(Array.isArray(t))return t.map(n=>rt(e,n)).flat(1);if(Array.isArray(t.children))return t.children.map(n=>rt(e,n)).flat(1);if(t.component){if(Object.getOwnPropertySymbols(t.component.provides).includes(e))return[t.component];if(t.component.subTree)return rt(e,t.component.subTree).flat(1)}return[]}function tr(e){const t=o.reactive({}),n=o.computed(e);return o.watchEffect(()=>{for(const r in n.value)t[r]=n.value[r]},{flush:"sync"}),o.toRefs(t)}function xs(e,t){return e.includes(t)}function nr(e,t){return t="on"+o.capitalize(t),!!(e[t]||e[`${t}Once`]||e[`${t}Capture`]||e[`${t}OnceCapture`]||e[`${t}CaptureOnce`])}function Bs(e,t,n){if(n&&(t={__isVue:!0,$parent:n,$options:t}),t){if(t.$_alreadyWarned=t.$_alreadyWarned||[],t.$_alreadyWarned.includes(e))return;t.$_alreadyWarned.push(e)}return`[Vuetify] ${e}`+(t?Gs(t):"")}function rr(e,t,n){const r=Bs(e,t,n);r!=null&&console.warn(r)}const Ws=/(?:^|[-_])(\w)/g,js=e=>e.replace(Ws,t=>t.toUpperCase()).replace(/[-_]/g,"");function Rt(e,t){if(e.$root===e)return"<Root>";const n=typeof e=="function"&&e.cid!=null?e.options:e.__isVue?e.$options||e.constructor.options:e||{};let r=n.name||n._componentTag;const a=n.__file;if(!r&&a){const s=a.match(/([^/\\]+)\.vue$/);r=s==null?void 0:s[1]}return(r?`<${js(r)}>`:"<Anonymous>")+(a&&t!==!1?` at ${a}`:"")}function Gs(e){if(e.__isVue&&e.$parent){const t=[];let n=0;for(;e;){if(t.length>0){const r=t[t.length-1];if(r.constructor===e.constructor){n++,e=e.$parent;continue}else n>0&&(t[t.length-1]=[r,n],n=0)}t.push(e),e=e.$parent}return`
|
|
26
|
+
|
|
27
|
+
found in
|
|
28
|
+
|
|
29
|
+
`+t.map((r,a)=>`${a===0?"---> ":" ".repeat(5+a*2)}${Array.isArray(r)?`${Rt(r[0])}... (${r[1]} recursive calls)`:Rt(r)}`).join(`
|
|
30
|
+
`)}else return`
|
|
31
|
+
|
|
32
|
+
(found in ${Rt(e)})`}function ar(e){return!!e&&/^(#|var\(--|(rgb|hsl)a?\()/.test(e)}function Ne(e,t){const n=o.getCurrentInstance();if(!n)throw new Error(`[Vuetify] ${e} ${t||"must be called from inside a setup function"}`);return n}function $e(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"composables";const t=Ne(e).type;return nt((t==null?void 0:t.aliasName)||(t==null?void 0:t.name))}let sr=0,at=new WeakMap;function lr(){const e=Ne("getUid");if(at.has(e))return at.get(e);{const t=sr++;return at.set(e,t),t}}lr.reset=()=>{sr=0,at=new WeakMap};function zs(e){const{provides:t}=Ne("injectSelf");if(t&&e in t)return t[e]}const Vt=Symbol.for("vuetify:defaults");function or(){const e=o.inject(Vt);if(!e)throw new Error("[Vuetify] Could not find defaults instance");return e}function $t(e,t){const n=or(),r=o.ref(e),a=o.computed(()=>{const s=o.unref(t==null?void 0:t.scoped),l=o.unref(t==null?void 0:t.reset),c=o.unref(t==null?void 0:t.root);let i=tt(r.value,{prev:n.value});if(s)return i;if(l||c){const _=Number(l||1/0);for(let E=0;E<=_&&i.prev;E++)i=i.prev;return i}return tt(i.prev,i)});return o.provide(Vt,a),a}function ir(e,t){let n;o.watch(e,r=>{if(r&&!n)n=o.effectScope(),n.run(t);else if(!r){var a;(a=n)==null||a.stop(),n=void 0}},{immediate:!0}),o.onScopeDispose(()=>{var r;(r=n)==null||r.stop()})}function Y(e,t){return n=>Object.keys(e).reduce((r,a)=>{const l=typeof e[a]=="object"&&e[a]!=null&&!Array.isArray(e[a])?e[a]:{type:e[a]};return n&&a in n?r[a]={...l,default:n[a]}:r[a]=l,t&&!r[a].source&&(r[a].source=t),r},{})}function Hs(e,t){var n,r;return typeof((n=e.props)==null?void 0:n[t])<"u"||typeof((r=e.props)==null?void 0:r[nt(t)])<"u"}const Z=function(t){return t._setup=t._setup??t.setup,t.name?(t._setup&&(t.props=t.props??{},t.props=Y(t.props,nt(t.name))(),t.props._as=String,t.setup=function(r,a){const s=o.getCurrentInstance(),l=or(),c=o.shallowRef(),i=o.shallowReactive({...o.toRaw(r)});o.watchEffect(()=>{const E=l.value.global,g=l.value[r._as??t.name];if(g){const d=Object.entries(g).filter(T=>{let[k]=T;return k.startsWith(k[0].toUpperCase())});d.length&&(c.value=Object.fromEntries(d))}for(const d of Object.keys(r)){let T=r[d];Hs(s.vnode,d)||(T=(g==null?void 0:g[d])??(E==null?void 0:E[d])??r[d]),i[d]!==T&&(i[d]=T)}});const _=t._setup(i,a);return ir(c,()=>{var E;$t(tt(((E=zs(Vt))==null?void 0:E.value)??{},c.value))}),_}),t):(rr("The component is missing an explicit name, unable to generate default prop value"),t)},cr=typeof window<"u",ur=cr&&"IntersectionObserver"in window;cr&&typeof CSS<"u"&&CSS.supports("selector(:focus-visible)");function Me(e){const t=Ne("useRender");t.render=e}const Ie=[String,Function,Object],Ys=Symbol.for("vuetify:icons"),st=Y({icon:{type:Ie},tag:{type:String,required:!0}},"icon"),fr=Z({name:"VComponentIcon",props:st(),setup(e,t){let{slots:n}=t;return()=>{var r;return o.createVNode(e.tag,null,{default:()=>[e.icon?o.createVNode(e.icon,null,null):(r=n.default)==null?void 0:r.call(n)]})}}});Z({name:"VSvgIcon",inheritAttrs:!1,props:st(),setup(e,t){let{attrs:n}=t;return()=>o.createVNode(e.tag,o.mergeProps(n,{style:null}),{default:()=>[o.createVNode("svg",{class:"v-icon__svg",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",role:"img","aria-hidden":"true"},[o.createVNode("path",{d:e.icon},null)])]})}}),Z({name:"VLigatureIcon",props:st(),setup(e){return()=>o.createVNode(e.tag,null,{default:()=>[e.icon]})}}),Z({name:"VClassIcon",props:st(),setup(e){return()=>o.createVNode(e.tag,{class:e.icon},null)}});const Ks=e=>{const t=o.inject(Ys);if(!t)throw new Error("Missing Vuetify Icons provide!");return{iconData:o.computed(()=>{const r=o.isRef(e)?e.value:e.icon;if(!r)return{component:fr};let a=r;if(typeof a=="string"&&(a=a.trim(),a.startsWith("$"))){var s;a=(s=t.aliases)==null?void 0:s[a.slice(1)]}if(!a)throw new Error(`Could not find aliased icon "${r}"`);if(typeof a!="string")return{component:fr,icon:a};const l=Object.keys(t.sets).find(_=>typeof a=="string"&&a.startsWith(`${_}:`)),c=l?a.slice(l.length+1):a;return{component:t.sets[l??t.defaultSet].component,icon:c}})}},Xs=["x-small","small","default","large","x-large"],Mt=Y({size:{type:[String,Number],default:"default"}},"size");function Ft(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:$e();return tr(()=>{let n,r;return xs(Xs,e.size)?n=`${t}--size-${e.size}`:e.size&&(r={width:se(e.size),height:se(e.size)}),{sizeClasses:n,sizeStyles:r}})}const Ae=Y({tag:{type:String,default:"div"}},"tag"),dr=Symbol.for("vuetify:theme"),lt=Y({theme:String},"theme");function ot(e){Ne("provideTheme");const t=o.inject(dr,null);if(!t)throw new Error("Could not find Vuetify theme injection");const n=o.computed(()=>e.theme??(t==null?void 0:t.name.value)),r=o.computed(()=>t.isDisabled?void 0:`v-theme--${n.value}`),a={...t,name:n,themeClasses:r};return o.provide(dr,a),a}function mr(e){return tr(()=>{const t=[],n={};return e.value.background&&(ar(e.value.background)?n.backgroundColor=e.value.background:t.push(`bg-${e.value.background}`)),e.value.text&&(ar(e.value.text)?(n.color=e.value.text,n.caretColor=e.value.text):t.push(`text-${e.value.text}`)),{colorClasses:t,colorStyles:n}})}function qs(e,t){const n=o.computed(()=>({text:o.isRef(e)?e.value:t?e[t]:null})),{colorClasses:r,colorStyles:a}=mr(n);return{textColorClasses:r,textColorStyles:a}}const Js=Y({color:String,start:Boolean,end:Boolean,icon:Ie,...Mt(),...Ae({tag:"i"}),...lt()},"v-icon"),Fe=Z({name:"VIcon",props:Js(),setup(e,t){let{attrs:n,slots:r}=t,a;r.default&&(a=o.computed(()=>{var E,g;const d=(E=r.default)==null?void 0:E.call(r);if(d)return(g=d.filter(T=>T.type===o.Text&&T.children&&typeof T.children=="string")[0])==null?void 0:g.children}));const{themeClasses:s}=ot(e),{iconData:l}=Ks(a||e),{sizeClasses:c}=Ft(e),{textColorClasses:i,textColorStyles:_}=qs(o.toRef(e,"color"));return Me(()=>{var E;return o.createVNode(l.value.component,{tag:e.tag,icon:l.value.icon,class:["v-icon","notranslate",s.value,c.value,i.value,{"v-icon--clickable":!!n.onClick,"v-icon--start":e.start,"v-icon--end":e.end}],style:[c.value?void 0:{fontSize:se(e.size),height:se(e.size),width:se(e.size)},_.value],role:n.onClick?"button":void 0,"aria-hidden":!n.onClick},{default:()=>[(E=r.default)==null?void 0:E.call(r)]})}),{}}}),io="",co="",Qs=Y({height:[Number,String],maxHeight:[Number,String],maxWidth:[Number,String],minHeight:[Number,String],minWidth:[Number,String],width:[Number,String]},"dimension");function Zs(e){return{dimensionStyles:o.computed(()=>({height:se(e.height),maxHeight:se(e.maxHeight),maxWidth:se(e.maxWidth),minHeight:se(e.minHeight),minWidth:se(e.minWidth),width:se(e.width)}))}}function el(e){return{aspectStyles:o.computed(()=>{const t=Number(e.aspectRatio);return t?{paddingBottom:String(1/t*100)+"%"}:void 0})}}const tl=Z({name:"VResponsive",props:{aspectRatio:[String,Number],contentClass:String,...Qs()},setup(e,t){let{slots:n}=t;const{aspectStyles:r}=el(e),{dimensionStyles:a}=Zs(e);return Me(()=>{var s;return o.createVNode("div",{class:"v-responsive",style:a.value},[o.createVNode("div",{class:"v-responsive__sizer",style:r.value},null),(s=n.additional)==null?void 0:s.call(n),n.default&&o.createVNode("div",{class:["v-responsive__content",e.contentClass]},[n.default()])])}),{}}});function nl(e,t){if(!ur)return;const n=t.modifiers||{},r=t.value,{handler:a,options:s}=typeof r=="object"?r:{handler:r,options:{}},l=new IntersectionObserver(function(){var c;let i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],_=arguments.length>1?arguments[1]:void 0;const E=(c=e._observe)==null?void 0:c[t.instance.$.uid];if(!E)return;const g=i.some(d=>d.isIntersecting);a&&(!n.quiet||E.init)&&(!n.once||g||E.init)&&a(g,i,_),g&&n.once?_r(e,t):E.init=!0},s);e._observe=Object(e._observe),e._observe[t.instance.$.uid]={init:!1,observer:l},l.observe(e)}function _r(e,t){var n;const r=(n=e._observe)==null?void 0:n[t.instance.$.uid];r&&(r.observer.unobserve(e),delete e._observe[t.instance.$.uid])}const rl={mounted:nl,unmounted:_r},al=Y({transition:{type:[Boolean,String,Object],default:"fade-transition",validator:e=>e!==!0}},"transition"),it=(e,t)=>{let{slots:n}=t;const{transition:r,...a}=e,{component:s=o.Transition,...l}=typeof r=="object"?r:{};return o.h(s,o.mergeProps(typeof r=="string"?{name:r}:l,a),n)},sl=Z({name:"VImg",directives:{intersect:rl},props:{aspectRatio:[String,Number],alt:String,cover:Boolean,eager:Boolean,gradient:String,lazySrc:String,options:{type:Object,default:()=>({root:void 0,rootMargin:void 0,threshold:void 0})},sizes:String,src:{type:[String,Object],default:""},srcset:String,width:[String,Number],...al()},emits:{loadstart:e=>!0,load:e=>!0,error:e=>!0},setup(e,t){let{emit:n,slots:r}=t;const a=o.ref(""),s=o.ref(),l=o.ref(e.eager?"loading":"idle"),c=o.ref(),i=o.ref(),_=o.computed(()=>e.src&&typeof e.src=="object"?{src:e.src.src,srcset:e.srcset||e.src.srcset,lazySrc:e.lazySrc||e.src.lazySrc,aspect:Number(e.aspectRatio||e.src.aspect||0)}:{src:e.src,srcset:e.srcset,lazySrc:e.lazySrc,aspect:Number(e.aspectRatio||0)}),E=o.computed(()=>_.value.aspect||c.value/i.value||0);o.watch(()=>e.src,()=>{g(l.value!=="idle")}),o.watch(E,(P,w)=>{!P&&w&&s.value&&S(s.value)}),o.onBeforeMount(()=>g());function g(P){if(!(e.eager&&P)&&!(ur&&!P&&!e.eager)){if(l.value="loading",_.value.lazySrc){const w=new Image;w.src=_.value.lazySrc,S(w,null)}_.value.src&&o.nextTick(()=>{var w,M;if(n("loadstart",((w=s.value)==null?void 0:w.currentSrc)||_.value.src),(M=s.value)!=null&&M.complete){if(s.value.naturalWidth||T(),l.value==="error")return;E.value||S(s.value,null),d()}else E.value||S(s.value),k()})}}function d(){var P;k(),l.value="loaded",n("load",((P=s.value)==null?void 0:P.currentSrc)||_.value.src)}function T(){var P;l.value="error",n("error",((P=s.value)==null?void 0:P.currentSrc)||_.value.src)}function k(){const P=s.value;P&&(a.value=P.currentSrc||P.src)}let y=-1;function S(P){let w=arguments.length>1&&arguments[1]!==void 0?arguments[1]:100;const M=()=>{clearTimeout(y);const{naturalHeight:K,naturalWidth:le}=P;K||le?(c.value=le,i.value=K):!P.complete&&l.value==="loading"&&w!=null?y=window.setTimeout(M,w):(P.currentSrc.endsWith(".svg")||P.currentSrc.startsWith("data:image/svg+xml"))&&(c.value=1,i.value=1)};M()}const m=o.computed(()=>({"v-img__img--cover":e.cover,"v-img__img--contain":!e.cover})),v=()=>{var P;if(!_.value.src||l.value==="idle")return null;const w=o.createVNode("img",{class:["v-img__img",m.value],src:_.value.src,srcset:_.value.srcset,alt:"",sizes:e.sizes,ref:s,onLoad:d,onError:T},null),M=(P=r.sources)==null?void 0:P.call(r);return o.createVNode(it,{transition:e.transition,appear:!0},{default:()=>[o.withDirectives(M?o.createVNode("picture",{class:"v-img__picture"},[M,w]):w,[[o.vShow,l.value==="loaded"]])]})},C=()=>o.createVNode(it,{transition:e.transition},{default:()=>[_.value.lazySrc&&l.value!=="loaded"&&o.createVNode("img",{class:["v-img__img","v-img__img--preload",m.value],src:_.value.lazySrc,alt:""},null)]}),p=()=>r.placeholder?o.createVNode(it,{transition:e.transition,appear:!0},{default:()=>[(l.value==="loading"||l.value==="error"&&!r.error)&&o.createVNode("div",{class:"v-img__placeholder"},[r.placeholder()])]}):null,h=()=>r.error?o.createVNode(it,{transition:e.transition,appear:!0},{default:()=>[l.value==="error"&&o.createVNode("div",{class:"v-img__error"},[r.error()])]}):null,O=()=>e.gradient?o.createVNode("div",{class:"v-img__gradient",style:{backgroundImage:`linear-gradient(${e.gradient})`}},null):null,I=o.ref(!1);{const P=o.watch(E,w=>{w&&(requestAnimationFrame(()=>{requestAnimationFrame(()=>{I.value=!0})}),P())})}return Me(()=>o.withDirectives(o.createVNode(tl,{class:["v-img",{"v-img--booting":!I.value}],style:{width:se(e.width==="auto"?c.value:e.width)},aspectRatio:E.value,"aria-label":e.alt,role:e.alt?"img":void 0},{additional:()=>o.createVNode(o.Fragment,null,[o.createVNode(v,null,null),o.createVNode(C,null,null),o.createVNode(O,null,null),o.createVNode(p,null,null),o.createVNode(h,null,null)]),default:r.default}),[[o.resolveDirective("intersect"),{handler:g,options:e.options},null,{once:!0}]])),{currentSrc:a,image:s,state:l,naturalWidth:c,naturalHeight:i}}}),ll=["elevated","flat","tonal","outlined","text","plain"];function gr(e,t){return o.createVNode(o.Fragment,null,[e&&o.createVNode("span",{key:"overlay",class:`${t}__overlay`},null),o.createVNode("span",{key:"underlay",class:`${t}__underlay`},null)])}const Ut=Y({color:String,variant:{type:String,default:"elevated",validator:e=>ll.includes(e)}},"variant");function pr(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:$e();const n=o.computed(()=>{const{variant:s}=o.unref(e);return`${t}--variant-${s}`}),{colorClasses:r,colorStyles:a}=mr(o.computed(()=>{const{variant:s,color:l}=o.unref(e);return{[["elevated","flat"].includes(s)?"background":"text"]:l}}));return{colorClasses:r,colorStyles:a,variantClasses:n}}const ol=[null,"default","comfortable","compact"],Er=Y({density:{type:String,default:"default",validator:e=>ol.includes(e)}},"density");function hr(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:$e();return{densityClasses:o.computed(()=>`${t}--density-${e.density}`)}}const Nr=Y({rounded:{type:[Boolean,Number,String],default:void 0}},"rounded");function vr(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:$e();return{roundedClasses:o.computed(()=>{const r=o.isRef(e)?e.value:e.rounded,a=[];if(r===!0||r==="")a.push(`${t}--rounded`);else if(typeof r=="string"||r===0)for(const s of String(r).split(" "))a.push(`rounded-${s}`);return a})}}const il=Y({start:Boolean,end:Boolean,icon:Ie,image:String,...Er(),...Nr(),...Mt(),...Ae(),...lt(),...Ut({variant:"flat"})},"v-avatar"),yr=Z({name:"VAvatar",props:il(),setup(e,t){let{slots:n}=t;const{themeClasses:r}=ot(e),{colorClasses:a,colorStyles:s,variantClasses:l}=pr(e),{densityClasses:c}=hr(e),{roundedClasses:i}=vr(e),{sizeClasses:_,sizeStyles:E}=Ft(e);return Me(()=>{var g;return o.createVNode(e.tag,{class:["v-avatar",{"v-avatar--start":e.start,"v-avatar--end":e.end},r.value,a.value,c.value,i.value,_.value,l.value],style:[s.value,E.value]},{default:()=>[e.image?o.createVNode(sl,{key:"image",src:e.image,alt:"",cover:!0},null):e.icon?o.createVNode(Fe,{key:"icon",icon:e.icon},null):(g=n.default)==null?void 0:g.call(n),gr(!1,"v-avatar")]})}),{}}}),fo="";function br(e,t,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:g=>g,a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:g=>g;const s=Ne("useProxiedModel"),l=o.ref(e[t]!==void 0?e[t]:n),c=nt(t),_=c!==t?o.computed(()=>{var g,d,T,k;return e[t],!!(((g=s.vnode.props)!=null&&g.hasOwnProperty(t)||(d=s.vnode.props)!=null&&d.hasOwnProperty(c))&&((T=s.vnode.props)!=null&&T.hasOwnProperty(`onUpdate:${t}`)||(k=s.vnode.props)!=null&&k.hasOwnProperty(`onUpdate:${c}`)))}):o.computed(()=>{var g,d;return e[t],!!((g=s.vnode.props)!=null&&g.hasOwnProperty(t)&&(d=s.vnode.props)!=null&&d.hasOwnProperty(`onUpdate:${t}`))});ir(()=>!_.value,()=>{o.watch(()=>e[t],g=>{l.value=g})});const E=o.computed({get(){return r(_.value?e[t]:l.value)},set(g){const d=a(g);(_.value?e[t]:l.value)===d||r(_.value?e[t]:l.value)===g||(l.value=d,s==null||s.emit(`update:${t}`,d))}});return Object.defineProperty(E,"externalValue",{get:()=>_.value?e[t]:l.value}),E}const cl=Y({modelValue:{type:null,default:void 0},multiple:Boolean,mandatory:[Boolean,String],max:Number,selectedClass:String,disabled:Boolean},"group"),ul=Y({value:null,disabled:Boolean,selectedClass:String},"group-item");function fl(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;const r=Ne("useGroupItem");if(!r)throw new Error("[Vuetify] useGroupItem composable must be used inside a component setup function");const a=lr();o.provide(Symbol.for(`${t.description}:id`),a);const s=o.inject(t,null);if(!s){if(!n)return s;throw new Error(`[Vuetify] Could not find useGroup injection with symbol ${t.description}`)}const l=o.toRef(e,"value"),c=o.computed(()=>s.disabled.value||e.disabled);s.register({id:a,value:l,disabled:c},r),o.onBeforeUnmount(()=>{s.unregister(a)});const i=o.computed(()=>s.isSelected(a)),_=o.computed(()=>i.value&&[s.selectedClass.value,e.selectedClass]);return o.watch(i,E=>{r.emit("group:selected",{value:E})}),{id:a,isSelected:i,toggle:()=>s.select(a,!i.value),select:E=>s.select(a,E),selectedClass:_,value:l,disabled:c,group:s}}function dl(e,t){let n=!1;const r=o.reactive([]),a=br(e,"modelValue",[],d=>d==null?[]:Tr(r,Us(d)),d=>{const T=_l(r,d);return e.multiple?T:T[0]}),s=Ne("useGroup");function l(d,T){const k=d,y=Symbol.for(`${t.description}:id`),m=rt(y,s==null?void 0:s.vnode).indexOf(T);m>-1?r.splice(m,0,k):r.push(k)}function c(d){if(n)return;i();const T=r.findIndex(k=>k.id===d);r.splice(T,1)}function i(){const d=r.find(T=>!T.disabled);d&&e.mandatory==="force"&&!a.value.length&&(a.value=[d.id])}o.onMounted(()=>{i()}),o.onBeforeUnmount(()=>{n=!0});function _(d,T){const k=r.find(y=>y.id===d);if(!(T&&k!=null&&k.disabled))if(e.multiple){const y=a.value.slice(),S=y.findIndex(v=>v===d),m=~S;if(T=T??!m,m&&e.mandatory&&y.length<=1||!m&&e.max!=null&&y.length+1>e.max)return;S<0&&T?y.push(d):S>=0&&!T&&y.splice(S,1),a.value=y}else{const y=a.value.includes(d);if(e.mandatory&&y)return;a.value=T??!y?[d]:[]}}function E(d){if(e.multiple&&rr('This method is not supported when using "multiple" prop'),a.value.length){const T=a.value[0],k=r.findIndex(m=>m.id===T);let y=(k+d)%r.length,S=r[y];for(;S.disabled&&y!==k;)y=(y+d)%r.length,S=r[y];if(S.disabled)return;a.value=[r[y].id]}else{const T=r.find(k=>!k.disabled);T&&(a.value=[T.id])}}const g={register:l,unregister:c,selected:a,select:_,disabled:o.toRef(e,"disabled"),prev:()=>E(r.length-1),next:()=>E(1),isSelected:d=>a.value.includes(d),selectedClass:o.computed(()=>e.selectedClass),items:o.computed(()=>r),getItemIndex:d=>ml(r,d)};return o.provide(t,g),g}function ml(e,t){const n=Tr(e,[t]);return n.length?e.findIndex(r=>r.id===n[0]):-1}function Tr(e,t){const n=[];for(let r=0;r<e.length;r++){const a=e[r];a.value!=null?t.find(s=>Pt(s,a.value))!=null&&n.push(a.id):t.includes(r)&&n.push(a.id)}return n}function _l(e,t){const n=[];for(let r=0;r<e.length;r++){const a=e[r];t.includes(a.id)&&n.push(a.value!=null?a.value:r)}return n}const Cr=Symbol.for("vuetify:v-chip-group");Z({name:"VChipGroup",props:{column:Boolean,filter:Boolean,valueComparator:{type:Function,default:Pt},...cl({selectedClass:"v-chip--selected"}),...Ae(),...lt(),...Ut({variant:"tonal"})},emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:n}=t;const{themeClasses:r}=ot(e),{isSelected:a,select:s,next:l,prev:c,selected:i}=dl(e,Cr);return $t({VChip:{color:o.toRef(e,"color"),filter:o.toRef(e,"filter"),variant:o.toRef(e,"variant")}}),Me(()=>{var _;return o.createVNode(e.tag,{class:["v-chip-group",{"v-chip-group--column":e.column},r.value]},{default:()=>[(_=n.default)==null?void 0:_.call(n,{isSelected:a,select:s,next:l,prev:c,selected:i.value})]})}),{}}});const ct=o.defineComponent({name:"VDefaultsProvider",props:{defaults:Object,reset:[Number,String],root:Boolean,scoped:Boolean},setup(e,t){let{slots:n}=t;const{defaults:r,reset:a,root:s,scoped:l}=o.toRefs(e);return $t(r,{reset:a,root:s,scoped:l}),()=>{var c;return(c=n.default)==null?void 0:c.call(n)}}});function re(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"top center 0",n=arguments.length>2?arguments[2]:void 0;return Z({name:e,props:{group:Boolean,hideOnLeave:Boolean,leaveAbsolute:Boolean,mode:{type:String,default:n},origin:{type:String,default:t}},setup(r,a){let{slots:s}=a;return()=>{const l=r.group?o.TransitionGroup:o.Transition;return o.h(l,{name:e,mode:r.mode,onBeforeEnter(c){c.style.transformOrigin=r.origin},onLeave(c){if(r.leaveAbsolute){const{offsetTop:i,offsetLeft:_,offsetWidth:E,offsetHeight:g}=c;c._transitionInitialStyles={position:c.style.position,top:c.style.top,left:c.style.left,width:c.style.width,height:c.style.height},c.style.position="absolute",c.style.top=`${i}px`,c.style.left=`${_}px`,c.style.width=`${E}px`,c.style.height=`${g}px`}r.hideOnLeave&&c.style.setProperty("display","none","important")},onAfterLeave(c){if(r.leaveAbsolute&&c!=null&&c._transitionInitialStyles){const{position:i,top:_,left:E,width:g,height:d}=c._transitionInitialStyles;delete c._transitionInitialStyles,c.style.position=i||"",c.style.top=_||"",c.style.left=E||"",c.style.width=g||"",c.style.height=d||""}}},s.default)}}})}function Lr(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"in-out";return Z({name:e,props:{mode:{type:String,default:n}},setup(r,a){let{slots:s}=a;return()=>o.h(o.Transition,{name:e,...t},s.default)}})}function Sr(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";const n=(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1)?"width":"height",r=o.camelize(`offset-${n}`);return{onBeforeEnter(l){l._parent=l.parentNode,l._initialStyle={transition:l.style.transition,overflow:l.style.overflow,[n]:l.style[n]}},onEnter(l){const c=l._initialStyle;l.style.setProperty("transition","none","important"),l.style.overflow="hidden";const i=`${l[r]}px`;l.style[n]="0",l.offsetHeight,l.style.transition=c.transition,e&&l._parent&&l._parent.classList.add(e),requestAnimationFrame(()=>{l.style[n]=i})},onAfterEnter:s,onEnterCancelled:s,onLeave(l){l._initialStyle={transition:"",overflow:l.style.overflow,[n]:l.style[n]},l.style.overflow="hidden",l.style[n]=`${l[r]}px`,l.offsetHeight,requestAnimationFrame(()=>l.style[n]="0")},onAfterLeave:a,onLeaveCancelled:a};function a(l){e&&l._parent&&l._parent.classList.remove(e),s(l)}function s(l){const c=l._initialStyle[n];l.style.overflow=l._initialStyle.overflow,c!=null&&(l.style[n]=c),delete l._initialStyle}}re("fab-transition","center center","out-in"),re("dialog-bottom-transition"),re("dialog-top-transition"),re("fade-transition"),re("scale-transition"),re("scroll-x-transition"),re("scroll-x-reverse-transition"),re("scroll-y-transition"),re("scroll-y-reverse-transition"),re("slide-x-transition"),re("slide-x-reverse-transition"),re("slide-y-transition"),re("slide-y-reverse-transition"),Lr("expand-transition",Sr());const gl=Lr("expand-x-transition",Sr("",!0)),pl=Y({border:[Boolean,Number,String]},"border");function El(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:$e();return{borderClasses:o.computed(()=>{const r=o.isRef(e)?e.value:e.border,a=[];if(r===!0||r==="")a.push(`${t}--border`);else if(typeof r=="string"||r===0)for(const s of String(r).split(" "))a.push(`border-${s}`);return a})}}const hl=Y({elevation:{type:[Number,String],validator(e){const t=parseInt(e);return!isNaN(t)&&t>=0&&t<=24}}},"elevation");function Nl(e){return{elevationClasses:o.computed(()=>{const n=o.isRef(e)?e.value:e.elevation,r=[];return n==null||r.push(`elevation-${n}`),r})}}function vl(e,t){const n=o.resolveDynamicComponent("RouterLink"),r=o.computed(()=>!!(e.href||e.to)),a=o.computed(()=>(r==null?void 0:r.value)||nr(t,"click")||nr(e,"click"));if(typeof n=="string")return{isLink:r,isClickable:a,href:o.toRef(e,"href")};const s=e.to?n.useLink(e):void 0;return{isLink:r,isClickable:a,route:s==null?void 0:s.route,navigate:s==null?void 0:s.navigate,isActive:s&&o.computed(()=>{var l,c;return e.exact?(l=s.isExactActive)==null?void 0:l.value:(c=s.isActive)==null?void 0:c.value}),href:o.computed(()=>e.to?s==null?void 0:s.route.value.href:e.href)}}const yl=Y({href:String,replace:Boolean,to:[String,Object],exact:Boolean},"router"),mo="",xt=Symbol("rippleStop"),bl=80;function Or(e,t){e.style.transform=t,e.style.webkitTransform=t}function Bt(e,t){e.style.opacity=`calc(${t} * var(--v-theme-overlay-multiplier))`}function Wt(e){return e.constructor.name==="TouchEvent"}function Ir(e){return e.constructor.name==="KeyboardEvent"}const Tl=function(e,t){var n;let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a=0,s=0;if(!Ir(e)){const d=t.getBoundingClientRect(),T=Wt(e)?e.touches[e.touches.length-1]:e;a=T.clientX-d.left,s=T.clientY-d.top}let l=0,c=.3;(n=t._ripple)!=null&&n.circle?(c=.15,l=t.clientWidth/2,l=r.center?l:l+Math.sqrt((a-l)**2+(s-l)**2)/4):l=Math.sqrt(t.clientWidth**2+t.clientHeight**2)/2;const i=`${(t.clientWidth-l*2)/2}px`,_=`${(t.clientHeight-l*2)/2}px`,E=r.center?i:`${a-l}px`,g=r.center?_:`${s-l}px`;return{radius:l,scale:c,x:E,y:g,centerX:i,centerY:_}},ut={show(e,t){var n;let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!(t!=null&&(n=t._ripple)!=null&&n.enabled))return;const a=document.createElement("span"),s=document.createElement("span");a.appendChild(s),a.className="v-ripple__container",r.class&&(a.className+=` ${r.class}`);const{radius:l,scale:c,x:i,y:_,centerX:E,centerY:g}=Tl(e,t,r),d=`${l*2}px`;s.className="v-ripple__animation",s.style.width=d,s.style.height=d,t.appendChild(a);const T=window.getComputedStyle(t);T&&T.position==="static"&&(t.style.position="relative",t.dataset.previousPosition="static"),s.classList.add("v-ripple__animation--enter"),s.classList.add("v-ripple__animation--visible"),Or(s,`translate(${i}, ${_}) scale3d(${c},${c},${c})`),Bt(s,0),s.dataset.activated=String(performance.now()),setTimeout(()=>{s.classList.remove("v-ripple__animation--enter"),s.classList.add("v-ripple__animation--in"),Or(s,`translate(${E}, ${g}) scale3d(1,1,1)`),Bt(s,.08)},0)},hide(e){var t;if(!(e!=null&&(t=e._ripple)!=null&&t.enabled))return;const n=e.getElementsByClassName("v-ripple__animation");if(n.length===0)return;const r=n[n.length-1];if(r.dataset.isHiding)return;r.dataset.isHiding="true";const a=performance.now()-Number(r.dataset.activated),s=Math.max(250-a,0);setTimeout(()=>{r.classList.remove("v-ripple__animation--in"),r.classList.add("v-ripple__animation--out"),Bt(r,0),setTimeout(()=>{e.getElementsByClassName("v-ripple__animation").length===1&&e.dataset.previousPosition&&(e.style.position=e.dataset.previousPosition,delete e.dataset.previousPosition),r.parentNode&&e.removeChild(r.parentNode)},300)},s)}};function Ar(e){return typeof e>"u"||!!e}function Ue(e){const t={},n=e.currentTarget;if(!(!(n!=null&&n._ripple)||n._ripple.touched||e[xt])){if(e[xt]=!0,Wt(e))n._ripple.touched=!0,n._ripple.isTouch=!0;else if(n._ripple.isTouch)return;if(t.center=n._ripple.centered||Ir(e),n._ripple.class&&(t.class=n._ripple.class),Wt(e)){if(n._ripple.showTimerCommit)return;n._ripple.showTimerCommit=()=>{ut.show(e,n,t)},n._ripple.showTimer=window.setTimeout(()=>{var r;n!=null&&(r=n._ripple)!=null&&r.showTimerCommit&&(n._ripple.showTimerCommit(),n._ripple.showTimerCommit=null)},bl)}else ut.show(e,n,t)}}function kr(e){e[xt]=!0}function ae(e){const t=e.currentTarget;if(!(!t||!t._ripple)){if(window.clearTimeout(t._ripple.showTimer),e.type==="touchend"&&t._ripple.showTimerCommit){t._ripple.showTimerCommit(),t._ripple.showTimerCommit=null,t._ripple.showTimer=window.setTimeout(()=>{ae(e)});return}window.setTimeout(()=>{t._ripple&&(t._ripple.touched=!1)}),ut.hide(t)}}function Dr(e){const t=e.currentTarget;!t||!t._ripple||(t._ripple.showTimerCommit&&(t._ripple.showTimerCommit=null),window.clearTimeout(t._ripple.showTimer))}let xe=!1;function Pr(e){!xe&&(e.keyCode===er.enter||e.keyCode===er.space)&&(xe=!0,Ue(e))}function wr(e){xe=!1,ae(e)}function Rr(e){xe&&(xe=!1,ae(e))}function Vr(e,t,n){const{value:r,modifiers:a}=t,s=Ar(r);if(s||ut.hide(e),e._ripple=e._ripple??{},e._ripple.enabled=s,e._ripple.centered=a.center,e._ripple.circle=a.circle,wt(r)&&r.class&&(e._ripple.class=r.class),s&&!n){if(a.stop){e.addEventListener("touchstart",kr,{passive:!0}),e.addEventListener("mousedown",kr);return}e.addEventListener("touchstart",Ue,{passive:!0}),e.addEventListener("touchend",ae,{passive:!0}),e.addEventListener("touchmove",Dr,{passive:!0}),e.addEventListener("touchcancel",ae),e.addEventListener("mousedown",Ue),e.addEventListener("mouseup",ae),e.addEventListener("mouseleave",ae),e.addEventListener("keydown",Pr),e.addEventListener("keyup",wr),e.addEventListener("blur",Rr),e.addEventListener("dragstart",ae,{passive:!0})}else!s&&n&&$r(e)}function $r(e){e.removeEventListener("mousedown",Ue),e.removeEventListener("touchstart",Ue),e.removeEventListener("touchend",ae),e.removeEventListener("touchmove",Dr),e.removeEventListener("touchcancel",ae),e.removeEventListener("mouseup",ae),e.removeEventListener("mouseleave",ae),e.removeEventListener("keydown",Pr),e.removeEventListener("keyup",wr),e.removeEventListener("dragstart",ae),e.removeEventListener("blur",Rr)}function Cl(e,t){Vr(e,t,!1)}function Ll(e){delete e._ripple,$r(e)}function Sl(e,t){if(t.value===t.oldValue)return;const n=Ar(t.oldValue);Vr(e,t,n)}const Ol=Z({name:"VChip",directives:{Ripple:{mounted:Cl,unmounted:Ll,updated:Sl}},props:{activeClass:String,appendAvatar:String,appendIcon:Ie,closable:Boolean,closeIcon:{type:Ie,default:"$delete"},closeLabel:{type:String,default:"$vuetify.close"},draggable:Boolean,filter:Boolean,filterIcon:{type:String,default:"$complete"},label:Boolean,link:Boolean,pill:Boolean,prependAvatar:String,prependIcon:Ie,ripple:{type:Boolean,default:!0},text:String,modelValue:{type:Boolean,default:!0},...pl(),...Er(),...hl(),...ul(),...Nr(),...yl(),...Mt(),...Ae({tag:"span"}),...lt(),...Ut({variant:"tonal"})},emits:{"click:close":e=>!0,"update:modelValue":e=>!0,"group:selected":e=>!0,click:e=>!0},setup(e,t){let{attrs:n,emit:r,slots:a}=t;const{borderClasses:s}=El(e),{colorClasses:l,colorStyles:c,variantClasses:i}=pr(e),{densityClasses:_}=hr(e),{elevationClasses:E}=Nl(e),{roundedClasses:g}=vr(e),{sizeClasses:d}=Ft(e),{themeClasses:T}=ot(e),k=br(e,"modelValue"),y=fl(e,Cr,!1),S=vl(e,n),m=o.computed(()=>!e.disabled&&(!!y||S.isClickable.value||e.link));function v(p){k.value=!1,r("click:close",p)}function C(p){var h;r("click",p),m.value&&((h=S.navigate)==null||h.call(S,p),y==null||y.toggle())}return()=>{var p;const h=S.isLink.value?"a":e.tag,O=!!(a.append||e.appendIcon||e.appendAvatar),I=!!(a.close||e.closable),P=!!(a.filter||e.filter)&&y,w=!!(a.prepend||e.prependIcon||e.prependAvatar),M=!y||y.isSelected.value;return k.value&&o.withDirectives(o.createVNode(h,{class:["v-chip",{"v-chip--disabled":e.disabled,"v-chip--label":e.label,"v-chip--link":m.value,"v-chip--filter":P,"v-chip--pill":e.pill},T.value,s.value,M?l.value:void 0,_.value,E.value,g.value,d.value,i.value,y==null?void 0:y.selectedClass.value],style:[M?c.value:void 0],disabled:e.disabled||void 0,draggable:e.draggable,href:S.href.value,onClick:C},{default:()=>[gr(m.value,"v-chip"),P&&o.createVNode(ct,{key:"filter",defaults:{VIcon:{icon:e.filterIcon}}},{default:()=>[o.createVNode(gl,null,{default:()=>[o.withDirectives(o.createVNode("div",{class:"v-chip__filter"},[a.filter?a.filter():o.createVNode(Fe,null,null)]),[[o.vShow,y.isSelected.value]])]})]}),w&&o.createVNode(ct,{key:"prepend",defaults:{VAvatar:{image:e.prependAvatar},VIcon:{icon:e.prependIcon}}},{default:()=>[a.prepend?o.createVNode("div",{class:"v-chip__prepend"},[a.prepend()]):e.prependAvatar?o.createVNode(yr,{start:!0},null):e.prependIcon?o.createVNode(Fe,{start:!0},null):void 0]}),((p=a.default)==null?void 0:p.call(a,{isSelected:y==null?void 0:y.isSelected.value,selectedClass:y==null?void 0:y.selectedClass.value,select:y==null?void 0:y.select,toggle:y==null?void 0:y.toggle,value:y==null?void 0:y.value.value,disabled:e.disabled}))??e.text,O&&o.createVNode(ct,{key:"append",defaults:{VAvatar:{image:e.appendAvatar},VIcon:{icon:e.appendIcon}}},{default:()=>[a.append?o.createVNode("div",{class:"v-chip__append"},[a.append()]):e.appendAvatar?o.createVNode(yr,{end:!0},null):e.appendIcon?o.createVNode(Fe,{end:!0},null):void 0]}),I&&o.createVNode(ct,{key:"close",defaults:{VIcon:{icon:e.closeIcon,size:"x-small"}}},{default:()=>[o.createVNode("div",{class:"v-chip__close",onClick:v},[a.close?a.close():o.createVNode(Fe,null,null)])]})]}),[[o.resolveDirective("ripple"),m.value&&e.ripple,null]])}}}),Il={key:1},Al=o.defineComponent({__name:"ABooleanValue",props:{value:{type:[Number,String,Boolean]},chip:{type:Boolean,default:!1},invertColor:{type:Boolean,default:!1}},setup(e){const t=e,{t:n}=et(),r=o.computed(()=>t.value===!0||t.value===1||t.value==="true"),a=o.computed(()=>r.value?n("common.boolean.true"):n("common.boolean.false")),s=o.computed(()=>t.invertColor?r.value?"error":"success":r.value?"success":"error");return(l,c)=>e.chip?(o.openBlock(),o.createBlock(Ol,{key:0,color:o.unref(s),label:"",size:"small"},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(a)),1)]),_:1},8,["color"])):(o.openBlock(),o.createElementBlock("span",Il,o.toDisplayString(o.unref(a)),1))}}),go="",jt=["sm","md","lg","xl","xxl"],Mr=(()=>jt.reduce((e,t)=>(e[t]={type:[Boolean,String,Number],default:!1},e),{}))(),Fr=(()=>jt.reduce((e,t)=>(e["offset"+o.capitalize(t)]={type:[String,Number],default:null},e),{}))(),Ur=(()=>jt.reduce((e,t)=>(e["order"+o.capitalize(t)]={type:[String,Number],default:null},e),{}))(),xr={col:Object.keys(Mr),offset:Object.keys(Fr),order:Object.keys(Ur)};function kl(e,t,n){let r=e;if(!(n==null||n===!1)){if(t){const a=t.replace(e,"");r+=`-${a}`}return e==="col"&&(r="v-"+r),e==="col"&&(n===""||n===!0)||(r+=`-${n}`),r.toLowerCase()}}const Dl=["auto","start","end","center","baseline","stretch"],Pl=Z({name:"VCol",props:{cols:{type:[Boolean,String,Number],default:!1},...Mr,offset:{type:[String,Number],default:null},...Fr,order:{type:[String,Number],default:null},...Ur,alignSelf:{type:String,default:null,validator:e=>Dl.includes(e)},...Ae()},setup(e,t){let{slots:n}=t;const r=o.computed(()=>{const a=[];let s;for(s in xr)xr[s].forEach(c=>{const i=e[c],_=kl(s,c,i);_&&a.push(_)});const l=a.some(c=>c.startsWith("v-col-"));return a.push({"v-col":!l||!e.cols,[`v-col-${e.cols}`]:e.cols,[`offset-${e.offset}`]:e.offset,[`order-${e.order}`]:e.order,[`align-self-${e.alignSelf}`]:e.alignSelf}),a});return()=>{var a;return o.h(e.tag,{class:r.value},(a=n.default)==null?void 0:a.call(n))}}}),wl=["sm","md","lg","xl","xxl"],Gt=["start","end","center"],Br=["space-between","space-around","space-evenly"];function zt(e,t){return wl.reduce((n,r)=>(n[e+o.capitalize(r)]=t(),n),{})}const Rl=[...Gt,"baseline","stretch"],Wr=e=>Rl.includes(e),jr=zt("align",()=>({type:String,default:null,validator:Wr})),Vl=[...Gt,...Br],Gr=e=>Vl.includes(e),zr=zt("justify",()=>({type:String,default:null,validator:Gr})),$l=[...Gt,...Br,"stretch"],Hr=e=>$l.includes(e),Yr=zt("alignContent",()=>({type:String,default:null,validator:Hr})),Kr={align:Object.keys(jr),justify:Object.keys(zr),alignContent:Object.keys(Yr)},Ml={align:"align",justify:"justify",alignContent:"align-content"};function Fl(e,t,n){let r=Ml[e];if(n!=null){if(t){const a=t.replace(e,"");r+=`-${a}`}return r+=`-${n}`,r.toLowerCase()}}const Ul=Z({name:"VRow",props:{dense:Boolean,noGutters:Boolean,align:{type:String,default:null,validator:Wr},...jr,justify:{type:String,default:null,validator:Gr},...zr,alignContent:{type:String,default:null,validator:Hr},...Yr,...Ae()},setup(e,t){let{slots:n}=t;const r=o.computed(()=>{const a=[];let s;for(s in Kr)Kr[s].forEach(l=>{const c=e[l],i=Fl(s,l,c);i&&a.push(i)});return a.push({"v-row--no-gutters":e.noGutters,"v-row--dense":e.dense,[`align-${e.align}`]:e.align,[`justify-${e.justify}`]:e.justify,[`align-content-${e.alignContent}`]:e.alignContent}),a});return()=>{var a;return o.h(e.tag,{class:["v-row",r.value]},(a=n.default)==null?void 0:a.call(n))}}}),xl={key:0,class:"text-subtitle-2"},Bl={class:"text-high-emphasis"},Wl=o.defineComponent({__name:"ARow",props:{title:{default:""},value:{default:""},dataCy:{default:""}},setup(e){return(t,n)=>(o.openBlock(),o.createBlock(Ul,null,{default:o.withCtx(()=>[o.createVNode(Pl,null,{default:o.withCtx(()=>[e.title.length?(o.openBlock(),o.createElementBlock("h4",xl,o.toDisplayString(e.title),1)):o.createCommentVNode("",!0),o.renderSlot(t.$slots,"default",{},()=>[o.createElementVNode("span",Bl,o.toDisplayString(e.value),1)])]),_:3})]),_:3}))}}),jl=Object.freeze(Object.defineProperty({__proto__:null,default:{button:{create:e=>{const{normalize:t}=e;return t(["Create"])},createAndClose:e=>{const{normalize:t}=e;return t(["Create And Close"])},save:e=>{const{normalize:t}=e;return t(["Save"])},saveAndClose:e=>{const{normalize:t}=e;return t(["Save And Close"])},close:e=>{const{normalize:t}=e;return t(["Close"])},edit:e=>{const{normalize:t}=e;return t(["Edit"])},submitFilter:e=>{const{normalize:t}=e;return t(["Submit Filter"])},resetFilter:e=>{const{normalize:t}=e;return t(["Reset Filter"])},cancel:e=>{const{normalize:t}=e;return t(["Cancel"])},delete:e=>{const{normalize:t}=e;return t(["Delete"])},id:e=>{const{normalize:t}=e;return t(["Id"])},now:e=>{const{normalize:t}=e;return t(["Now"])},logout:e=>{const{normalize:t}=e;return t(["Logout"])},confirm:e=>{const{normalize:t}=e;return t(["Confirm"])}},boolean:{true:e=>{const{normalize:t}=e;return t(["Yes"])},false:e=>{const{normalize:t}=e;return t(["No"])}}}},Symbol.toStringTag,{value:"Module"})),Gl=Object.freeze(Object.defineProperty({__proto__:null,default:{button:{create:e=>{const{normalize:t}=e;return t(["Vytvoriť"])},createAndClose:e=>{const{normalize:t}=e;return t(["Vytvoriť a zatvoriť"])},save:e=>{const{normalize:t}=e;return t(["Uložiť"])},saveAndClose:e=>{const{normalize:t}=e;return t(["Uložiť a zatvoriť"])},close:e=>{const{normalize:t}=e;return t(["Zatvoriť"])},edit:e=>{const{normalize:t}=e;return t(["Editovať"])},submitFilter:e=>{const{normalize:t}=e;return t(["Hľadať"])},resetFilter:e=>{const{normalize:t}=e;return t(["Zrušiť filter"])},cancel:e=>{const{normalize:t}=e;return t(["Zrušiť"])},delete:e=>{const{normalize:t}=e;return t(["Zmazať"])},id:e=>{const{normalize:t}=e;return t(["ID"])},now:e=>{const{normalize:t}=e;return t(["Teraz"])},logout:e=>{const{normalize:t}=e;return t(["Odhlásenie"])},confirm:e=>{const{normalize:t}=e;return t(["Potvrď"])}},boolean:{true:e=>{const{normalize:t}=e;return t(["áno"])},false:e=>{const{normalize:t}=e;return t(["nie"])}}}},Symbol.toStringTag,{value:"Module"})),Be=e=>typeof e>"u",zl=e=>Be(e)===!1,Ht=e=>e===null,Hl=e=>typeof e=="number",Yl=e=>typeof e=="string",Yt=e=>Array.isArray(e),Kl=e=>typeof e=="boolean",Xl=e=>/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/.test(e),ql=e=>{const t=parseFloat(e);return!isNaN(e)&&(t|0)===t},Xr=e=>typeof e=="object"&&!Yt(e)&&!Ht(e),qr=e=>{if(Xr(e)){for(const t in e)return!1;return!0}return!1},Jr=e=>{if(Yt(e)){for(const t in e)return!1;return!0}return!1},Jl=e=>Ht(e)||Be(e)||e===""||e===0||Jr(e)||qr(e),Qr=e=>{const t=Object.getOwnPropertyNames(e);for(const n of t){const r=e[n];r&&typeof r=="object"&&Qr(r)}return Object.freeze(e)},Ql=(e,t,n=".")=>{const r=t.split(n);let a=e;for(;r.length;){const s=r.shift();if(Be(s)||!(s in a))return;a=a[s]}return a},Zr=(e,t,n,r=".")=>{const a=t.split(r);let s=e;for(;a.length-1;){const l=a.shift();if(Be(l))return;l in s||(s[l]={}),s=s[l]}s[a[0]]=n};function Zl(e,t,n="."){const r=t.split(n),a=r.length-1;function s(l,c=0){const i=r[c];if(c===a){delete l[i];return}s(l[i],c+1)}return s(e),e}const eo=e=>JSON.parse(JSON.stringify(e)),ea=Object.assign({"./en/common.yaml":jl,"./sk/common.yaml":Gl}),to=e=>(e=e.substring(2),e.substring(0,e.indexOf("."))),ta={};for(const e in ea){const t=to(e);Zr(ta,t,ea[e].default,"/")}const no=ta;U.ABooleanValue=Al,U.ARow=Wl,U.commonMessages=no,U.deepFreeze=Qr,U.deletePropertyByPath=Zl,U.getValueByPath=Ql,U.isArray=Yt,U.isBoolean=Kl,U.isDocId=Xl,U.isEmpty=Jl,U.isEmptyArray=Jr,U.isEmptyObject=qr,U.isInt=ql,U.isNotUndefined=zl,U.isNull=Ht,U.isNumber=Hl,U.isObject=Xr,U.isString=Yl,U.isUndefined=Be,U.setValueByPath=Zr,U.simpleCloneObject=eo,Object.defineProperty(U,Symbol.toStringTag,{value:"Module"})});
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
2
|
+
value: {
|
|
3
|
+
type: (StringConstructor | NumberConstructor | BooleanConstructor)[];
|
|
4
|
+
required: true;
|
|
5
|
+
};
|
|
6
|
+
chip: {
|
|
7
|
+
type: BooleanConstructor;
|
|
8
|
+
required: false;
|
|
9
|
+
default: boolean;
|
|
10
|
+
};
|
|
11
|
+
invertColor: {
|
|
12
|
+
type: BooleanConstructor;
|
|
13
|
+
required: false;
|
|
14
|
+
default: boolean;
|
|
15
|
+
};
|
|
16
|
+
}, {
|
|
17
|
+
t: import("vue-i18n").ComposerTranslation<{
|
|
18
|
+
[x: string]: import("@intlify/core-base").LocaleMessage<import("vue-i18n").VueMessageType>;
|
|
19
|
+
}, string, import("@intlify/core-base").RemoveIndexSignature<{
|
|
20
|
+
[x: string]: import("vue-i18n").LocaleMessageValue<import("vue-i18n").VueMessageType>;
|
|
21
|
+
}>, never, string, string>;
|
|
22
|
+
props: any;
|
|
23
|
+
booleanValue: import("vue").ComputedRef<boolean>;
|
|
24
|
+
text: import("vue").ComputedRef<string>;
|
|
25
|
+
color: import("vue").ComputedRef<"error" | "success">;
|
|
26
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
27
|
+
value: {
|
|
28
|
+
type: (StringConstructor | NumberConstructor | BooleanConstructor)[];
|
|
29
|
+
required: true;
|
|
30
|
+
};
|
|
31
|
+
chip: {
|
|
32
|
+
type: BooleanConstructor;
|
|
33
|
+
required: false;
|
|
34
|
+
default: boolean;
|
|
35
|
+
};
|
|
36
|
+
invertColor: {
|
|
37
|
+
type: BooleanConstructor;
|
|
38
|
+
required: false;
|
|
39
|
+
default: boolean;
|
|
40
|
+
};
|
|
41
|
+
}>>, {
|
|
42
|
+
chip: boolean;
|
|
43
|
+
invertColor: boolean;
|
|
44
|
+
}>;
|
|
45
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
2
|
+
title: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
required: false;
|
|
5
|
+
default: string;
|
|
6
|
+
};
|
|
7
|
+
value: {
|
|
8
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
9
|
+
required: false;
|
|
10
|
+
default: string;
|
|
11
|
+
};
|
|
12
|
+
dataCy: {
|
|
13
|
+
type: StringConstructor;
|
|
14
|
+
required: false;
|
|
15
|
+
default: string;
|
|
16
|
+
};
|
|
17
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
18
|
+
title: {
|
|
19
|
+
type: StringConstructor;
|
|
20
|
+
required: false;
|
|
21
|
+
default: string;
|
|
22
|
+
};
|
|
23
|
+
value: {
|
|
24
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
25
|
+
required: false;
|
|
26
|
+
default: string;
|
|
27
|
+
};
|
|
28
|
+
dataCy: {
|
|
29
|
+
type: StringConstructor;
|
|
30
|
+
required: false;
|
|
31
|
+
default: string;
|
|
32
|
+
};
|
|
33
|
+
}>>, {
|
|
34
|
+
title: string;
|
|
35
|
+
value: string | number;
|
|
36
|
+
dataCy: string;
|
|
37
|
+
}>;
|
|
38
|
+
export default _sfc_main;
|
package/dist/lib.d.ts
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import ABooleanValue from './components/ABooleanValue.vue';
|
|
2
|
+
import ARow from './components/ARow.vue';
|
|
3
|
+
import { commonMessages } from './locales';
|
|
4
|
+
import { setValueByPath, deletePropertyByPath, deepFreeze, simpleCloneObject, getValueByPath } from './utils/object';
|
|
5
|
+
import { isEmpty, isEmptyObject, isObject, isEmptyArray, isArray, isBoolean, isDocId, isNull, isNotUndefined, isUndefined, isInt, isString, isNumber } from './utils/common';
|
|
6
|
+
export { ARow, ABooleanValue, isEmpty, isEmptyObject, isObject, isEmptyArray, isArray, isBoolean, isDocId, isNull, isNotUndefined, isUndefined, isInt, isString, isNumber, setValueByPath, deletePropertyByPath, deepFreeze, simpleCloneObject, getValueByPath, commonMessages };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const commonMessages: {};
|
package/dist/style.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.v-chip{align-items:center;cursor:default;display:inline-flex;font-weight:400;max-width:100%;overflow:hidden;position:relative;text-decoration:none;white-space:nowrap;vertical-align:middle;border-color:rgba(var(--v-border-color),var(--v-border-opacity));border-style:solid;border-width:0;border-radius:9999px}.v-chip.v-chip--size-x-small{--v-chip-size: .625rem;--v-chip-height: 20px;font-size:.625rem;padding:0 8px}.v-chip.v-chip--size-x-small .v-avatar{--v-avatar-height: 14px}.v-chip--pill.v-chip.v-chip--size-x-small .v-avatar{--v-avatar-height: 20px}.v-chip.v-chip--size-x-small .v-chip__filter,.v-chip.v-chip--size-x-small .v-chip__prepend,.v-chip.v-chip--size-x-small>.v-avatar--start,.v-chip.v-chip--size-x-small>.v-icon--start{margin-inline-end:4px}.v-chip.v-chip--size-x-small .v-chip__filter,.v-chip.v-chip--size-x-small .v-chip__prepend,.v-chip.v-chip--size-x-small .v-icon--start{margin-inline-start:-4px}.v-chip.v-chip--size-x-small .v-avatar--start{margin-inline-start:-5.6px}.v-chip--pill.v-chip.v-chip--size-x-small .v-avatar--start{margin-inline-start:-8px}.v-chip.v-chip--size-x-small .v-chip__append,.v-chip.v-chip--size-x-small .v-chip__close,.v-chip.v-chip--size-x-small>.v-avatar--end,.v-chip.v-chip--size-x-small>.v-icon--end{margin-inline-start:4px;margin-inline-end:-4px}.v-chip--pill.v-chip.v-chip--size-x-small .v-avatar--end,.v-chip--pill.v-chip.v-chip--size-x-small .v-icon--end{margin-inline-end:-8px}.v-chip--pill.v-chip.v-chip--size-x-small .v-avatar--end+.v-chip__close,.v-chip--pill.v-chip.v-chip--size-x-small .v-icon--end+.v-chip__close{margin-inline-start:8px}.v-chip.v-chip--size-small{--v-chip-size: .75rem;--v-chip-height: 26px;font-size:.75rem;padding:0 10px}.v-chip.v-chip--size-small .v-avatar{--v-avatar-height: 20px}.v-chip--pill.v-chip.v-chip--size-small .v-avatar{--v-avatar-height: 26px}.v-chip.v-chip--size-small .v-chip__filter,.v-chip.v-chip--size-small .v-chip__prepend,.v-chip.v-chip--size-small>.v-avatar--start,.v-chip.v-chip--size-small>.v-icon--start{margin-inline-end:5px}.v-chip.v-chip--size-small .v-chip__filter,.v-chip.v-chip--size-small .v-chip__prepend,.v-chip.v-chip--size-small .v-icon--start{margin-inline-start:-5px}.v-chip.v-chip--size-small .v-avatar--start{margin-inline-start:-7px}.v-chip--pill.v-chip.v-chip--size-small .v-avatar--start{margin-inline-start:-10px}.v-chip.v-chip--size-small .v-chip__append,.v-chip.v-chip--size-small .v-chip__close,.v-chip.v-chip--size-small>.v-avatar--end,.v-chip.v-chip--size-small>.v-icon--end{margin-inline-start:5px;margin-inline-end:-5px}.v-chip--pill.v-chip.v-chip--size-small .v-avatar--end,.v-chip--pill.v-chip.v-chip--size-small .v-icon--end{margin-inline-end:-10px}.v-chip--pill.v-chip.v-chip--size-small .v-avatar--end+.v-chip__close,.v-chip--pill.v-chip.v-chip--size-small .v-icon--end+.v-chip__close{margin-inline-start:10px}.v-chip.v-chip--size-default{--v-chip-size: .875rem;--v-chip-height: 32px;font-size:.875rem;padding:0 12px}.v-chip.v-chip--size-default .v-avatar{--v-avatar-height: 26px}.v-chip--pill.v-chip.v-chip--size-default .v-avatar{--v-avatar-height: 32px}.v-chip.v-chip--size-default .v-chip__filter,.v-chip.v-chip--size-default .v-chip__prepend,.v-chip.v-chip--size-default>.v-avatar--start,.v-chip.v-chip--size-default>.v-icon--start{margin-inline-end:6px}.v-chip.v-chip--size-default .v-chip__filter,.v-chip.v-chip--size-default .v-chip__prepend,.v-chip.v-chip--size-default .v-icon--start{margin-inline-start:-6px}.v-chip.v-chip--size-default .v-avatar--start{margin-inline-start:-8.4px}.v-chip--pill.v-chip.v-chip--size-default .v-avatar--start{margin-inline-start:-12px}.v-chip.v-chip--size-default .v-chip__append,.v-chip.v-chip--size-default .v-chip__close,.v-chip.v-chip--size-default>.v-avatar--end,.v-chip.v-chip--size-default>.v-icon--end{margin-inline-start:6px;margin-inline-end:-6px}.v-chip--pill.v-chip.v-chip--size-default .v-avatar--end,.v-chip--pill.v-chip.v-chip--size-default .v-icon--end{margin-inline-end:-12px}.v-chip--pill.v-chip.v-chip--size-default .v-avatar--end+.v-chip__close,.v-chip--pill.v-chip.v-chip--size-default .v-icon--end+.v-chip__close{margin-inline-start:12px}.v-chip.v-chip--size-large{--v-chip-size: 1rem;--v-chip-height: 38px;font-size:1rem;padding:0 14px}.v-chip.v-chip--size-large .v-avatar{--v-avatar-height: 32px}.v-chip--pill.v-chip.v-chip--size-large .v-avatar{--v-avatar-height: 38px}.v-chip.v-chip--size-large .v-chip__filter,.v-chip.v-chip--size-large .v-chip__prepend,.v-chip.v-chip--size-large>.v-avatar--start,.v-chip.v-chip--size-large>.v-icon--start{margin-inline-end:7px}.v-chip.v-chip--size-large .v-chip__filter,.v-chip.v-chip--size-large .v-chip__prepend,.v-chip.v-chip--size-large .v-icon--start{margin-inline-start:-7px}.v-chip.v-chip--size-large .v-avatar--start{margin-inline-start:-9.8px}.v-chip--pill.v-chip.v-chip--size-large .v-avatar--start{margin-inline-start:-14px}.v-chip.v-chip--size-large .v-chip__append,.v-chip.v-chip--size-large .v-chip__close,.v-chip.v-chip--size-large>.v-avatar--end,.v-chip.v-chip--size-large>.v-icon--end{margin-inline-start:7px;margin-inline-end:-7px}.v-chip--pill.v-chip.v-chip--size-large .v-avatar--end,.v-chip--pill.v-chip.v-chip--size-large .v-icon--end{margin-inline-end:-14px}.v-chip--pill.v-chip.v-chip--size-large .v-avatar--end+.v-chip__close,.v-chip--pill.v-chip.v-chip--size-large .v-icon--end+.v-chip__close{margin-inline-start:14px}.v-chip.v-chip--size-x-large{--v-chip-size: 1.125rem;--v-chip-height: 44px;font-size:1.125rem;padding:0 17px}.v-chip.v-chip--size-x-large .v-avatar{--v-avatar-height: 38px}.v-chip--pill.v-chip.v-chip--size-x-large .v-avatar{--v-avatar-height: 44px}.v-chip.v-chip--size-x-large .v-chip__filter,.v-chip.v-chip--size-x-large .v-chip__prepend,.v-chip.v-chip--size-x-large>.v-avatar--start,.v-chip.v-chip--size-x-large>.v-icon--start{margin-inline-end:8.5px}.v-chip.v-chip--size-x-large .v-chip__filter,.v-chip.v-chip--size-x-large .v-chip__prepend,.v-chip.v-chip--size-x-large .v-icon--start{margin-inline-start:-8.5px}.v-chip.v-chip--size-x-large .v-avatar--start{margin-inline-start:-11.9px}.v-chip--pill.v-chip.v-chip--size-x-large .v-avatar--start{margin-inline-start:-17px}.v-chip.v-chip--size-x-large .v-chip__append,.v-chip.v-chip--size-x-large .v-chip__close,.v-chip.v-chip--size-x-large>.v-avatar--end,.v-chip.v-chip--size-x-large>.v-icon--end{margin-inline-start:8.5px;margin-inline-end:-8.5px}.v-chip--pill.v-chip.v-chip--size-x-large .v-avatar--end,.v-chip--pill.v-chip.v-chip--size-x-large .v-icon--end{margin-inline-end:-17px}.v-chip--pill.v-chip.v-chip--size-x-large .v-avatar--end+.v-chip__close,.v-chip--pill.v-chip.v-chip--size-x-large .v-icon--end+.v-chip__close{margin-inline-start:17px}.v-chip.v-chip--density-default{height:calc(var(--v-chip-height) + 0px)}.v-chip.v-chip--density-comfortable{height:calc(var(--v-chip-height) + -8px)}.v-chip.v-chip--density-compact{height:calc(var(--v-chip-height) + -12px)}.v-chip:hover>.v-chip__overlay{opacity:calc(.04 * var(--v-theme-overlay-multiplier))}.v-chip:focus-visible>.v-chip__overlay{opacity:calc(.12 * var(--v-theme-overlay-multiplier))}@supports not selector(:focus-visible){.v-chip:focus>.v-chip__overlay{opacity:calc(.12 * var(--v-theme-overlay-multiplier))}}.v-chip--active>.v-chip__overlay,.v-chip[aria-haspopup=menu][aria-expanded=true]>.v-chip__overlay{opacity:calc(.12 * var(--v-theme-overlay-multiplier))}.v-chip--active:hover>.v-chip__overlay,.v-chip[aria-haspopup=menu][aria-expanded=true]:hover>.v-chip__overlay{opacity:calc(.16 * var(--v-theme-overlay-multiplier))}.v-chip--active:focus-visible>.v-chip__overlay,.v-chip[aria-haspopup=menu][aria-expanded=true]:focus-visible>.v-chip__overlay{opacity:calc(.24 * var(--v-theme-overlay-multiplier))}@supports not selector(:focus-visible){.v-chip--active:focus>.v-chip__overlay,.v-chip[aria-haspopup=menu][aria-expanded=true]:focus>.v-chip__overlay{opacity:calc(.24 * var(--v-theme-overlay-multiplier))}}.v-chip--variant-plain,.v-chip--variant-outlined,.v-chip--variant-text,.v-chip--variant-tonal{background:transparent;color:inherit}.v-chip--variant-plain{opacity:.26}.v-chip--variant-plain:focus,.v-chip--variant-plain:hover{opacity:1}.v-chip--variant-plain .v-chip__overlay{display:none}.v-chip--variant-elevated,.v-chip--variant-flat{background:rgb(var(--v-theme-surface-variant));color:rgb(var(--v-theme-on-surface-variant))}.v-chip--variant-elevated{box-shadow:0 2px 1px -1px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 1px 1px 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 1px 3px 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .12))}.v-chip--variant-flat{box-shadow:0 0 0 0 var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 0 0 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 0 0 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .12))}.v-chip--variant-outlined{border:thin solid currentColor}.v-chip--variant-text .v-chip__overlay{background:currentColor}.v-chip--variant-tonal .v-chip__underlay{background:currentColor;opacity:var(--v-activated-opacity);border-radius:inherit;position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.v-chip--border{border-width:thin}.v-chip--link{cursor:pointer}.v-chip--filter{user-select:none}.v-chip__filter,.v-chip__prepend,.v-chip__append,.v-chip__close{align-items:center;display:inline-flex}.v-chip__close{cursor:pointer;flex:0 1 auto;font-size:18px;max-height:18px;max-width:18px;user-select:none}.v-chip__close .v-icon{font-size:inherit}.v-chip__filter{transition:.15s cubic-bezier(.4,0,.2,1)}.v-chip__overlay{position:absolute;top:0;left:0;width:100%;height:100%;background-color:currentColor;border-radius:inherit;pointer-events:none;opacity:0;transition:opacity .2s ease-in-out}.v-chip--disabled{opacity:.3;pointer-events:none;user-select:none}.v-chip--label{border-radius:4px}.v-avatar{flex:none;align-items:center;display:inline-flex;justify-content:center;line-height:normal;overflow:hidden;position:relative;text-align:center;transition:.2s cubic-bezier(.4,0,.2,1);transition-property:width,height;vertical-align:middle;border-radius:50%}.v-avatar.v-avatar--size-x-small{--v-avatar-height: 24px}.v-avatar.v-avatar--size-small{--v-avatar-height: 32px}.v-avatar.v-avatar--size-default{--v-avatar-height: 40px}.v-avatar.v-avatar--size-large{--v-avatar-height: 48px}.v-avatar.v-avatar--size-x-large{--v-avatar-height: 56px}.v-avatar.v-avatar--density-default{height:calc(var(--v-avatar-height) + 0px);width:calc(var(--v-avatar-height) + 0px)}.v-avatar.v-avatar--density-comfortable{height:calc(var(--v-avatar-height) + -4px);width:calc(var(--v-avatar-height) + -4px)}.v-avatar.v-avatar--density-compact{height:calc(var(--v-avatar-height) + -8px);width:calc(var(--v-avatar-height) + -8px)}.v-avatar--variant-plain,.v-avatar--variant-outlined,.v-avatar--variant-text,.v-avatar--variant-tonal{background:transparent;color:inherit}.v-avatar--variant-plain{opacity:.62}.v-avatar--variant-plain:focus,.v-avatar--variant-plain:hover{opacity:1}.v-avatar--variant-plain .v-avatar__overlay{display:none}.v-avatar--variant-elevated,.v-avatar--variant-flat{background:var(--v-theme-surface);color:rgba(var(--v-theme-on-surface),var(--v-medium-emphasis-opacity))}.v-avatar--variant-elevated{box-shadow:0 2px 1px -1px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 1px 1px 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 1px 3px 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .12))}.v-avatar--variant-flat{box-shadow:0 0 0 0 var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)),0 0 0 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)),0 0 0 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .12))}.v-avatar--variant-outlined{border:thin solid currentColor}.v-avatar--variant-text .v-avatar__overlay{background:currentColor}.v-avatar--variant-tonal .v-avatar__underlay{background:currentColor;opacity:var(--v-activated-opacity);border-radius:inherit;position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.v-avatar--rounded{border-radius:4px}.v-avatar .v-img{height:100%;width:100%}.v-icon{--v-icon-size-multiplier: 1;align-items:center;display:inline-flex;font-feature-settings:"liga";height:1em;justify-content:center;letter-spacing:normal;line-height:1;position:relative;text-indent:0;user-select:none;vertical-align:middle;width:1em}.v-icon--clickable{cursor:pointer}.v-icon--size-x-small{font-size:calc(var(--v-icon-size-multiplier) * 1em)}.v-icon--size-small{font-size:calc(var(--v-icon-size-multiplier) * 1.25em)}.v-icon--size-default{font-size:calc(var(--v-icon-size-multiplier) * 1.5em)}.v-icon--size-large{font-size:calc(var(--v-icon-size-multiplier) * 1.75em)}.v-icon--size-x-large{font-size:calc(var(--v-icon-size-multiplier) * 2em)}.v-icon__svg{fill:currentColor;width:100%;height:100%}.v-icon--start{margin-inline-end:8px}.v-icon--end{margin-inline-start:8px}.v-img{--v-theme-overlay-multiplier: 3;z-index:0}.v-img--booting .v-responsive__sizer{transition:none}.v-img__img,.v-img__picture,.v-img__gradient,.v-img__placeholder,.v-img__error{z-index:-1;position:absolute;top:0;left:0;width:100%;height:100%}.v-img__img--preload{filter:blur(4px)}.v-img__img--contain{object-fit:contain}.v-img__img--cover{object-fit:cover}.v-img__gradient{background-repeat:no-repeat}.v-responsive{display:flex;flex:1 0 auto;max-height:100%;max-width:100%;overflow:hidden;position:relative}.v-responsive__content{flex:1 0 0px;max-width:100%}.v-responsive__sizer~.v-responsive__content{margin-inline-start:-100%}.v-responsive__sizer{flex:1 0 0px;transition:padding-bottom .2s cubic-bezier(.4,0,.2,1);pointer-events:none}.v-chip-group{display:flex;max-width:100%;min-width:0;overflow-x:auto;padding:4px 0}.v-chip-group .v-chip{margin:4px 8px 4px 0}.v-chip-group .v-chip.v-chip--selected:not(.v-chip--disabled) .v-chip__overlay{opacity:var(--v-activated-opacity)}.v-chip-group--column{flex-wrap:wrap;white-space:normal}.v-ripple__container{color:inherit;border-radius:inherit;position:absolute;width:100%;height:100%;left:0;top:0;overflow:hidden;z-index:0;pointer-events:none;contain:strict}.v-ripple__animation{color:inherit;position:absolute;top:0;left:0;border-radius:50%;background:currentColor;opacity:0;pointer-events:none;overflow:hidden;will-change:transform,opacity}.v-ripple__animation--enter{transition:none}.v-ripple__animation--in{transition:transform .25s cubic-bezier(0,0,.2,1),opacity .1s cubic-bezier(0,0,.2,1)}.v-ripple__animation--out{transition:opacity .3s cubic-bezier(0,0,.2,1)}.v-container{width:100%;padding:16px;margin-right:auto;margin-left:auto}@media (min-width: 960px){.v-container{max-width:900px}}@media (min-width: 1280px){.v-container{max-width:1200px}}@media (min-width: 1920px){.v-container{max-width:1800px}}@media (min-width: 2560px){.v-container{max-width:2400px}}.v-container--fluid{max-width:100%}.v-row{display:flex;flex-wrap:wrap;flex:1 1 auto;margin:-12px}.v-row+.v-row{margin-top:12px}.v-row+.v-row--dense{margin-top:4px}.v-row--dense{margin:-4px}.v-row--dense>.v-col,.v-row--dense>[class*=v-col-]{padding:4px}.v-row.v-row--no-gutters{margin:0}.v-row.v-row--no-gutters>.v-col,.v-row.v-row--no-gutters>[class*=v-col-]{padding:0}.v-col-xxl,.v-col-xxl-auto,.v-col-xxl-12,.v-col-xxl-11,.v-col-xxl-10,.v-col-xxl-9,.v-col-xxl-8,.v-col-xxl-7,.v-col-xxl-6,.v-col-xxl-5,.v-col-xxl-4,.v-col-xxl-3,.v-col-xxl-2,.v-col-xxl-1,.v-col-xl,.v-col-xl-auto,.v-col-xl-12,.v-col-xl-11,.v-col-xl-10,.v-col-xl-9,.v-col-xl-8,.v-col-xl-7,.v-col-xl-6,.v-col-xl-5,.v-col-xl-4,.v-col-xl-3,.v-col-xl-2,.v-col-xl-1,.v-col-lg,.v-col-lg-auto,.v-col-lg-12,.v-col-lg-11,.v-col-lg-10,.v-col-lg-9,.v-col-lg-8,.v-col-lg-7,.v-col-lg-6,.v-col-lg-5,.v-col-lg-4,.v-col-lg-3,.v-col-lg-2,.v-col-lg-1,.v-col-md,.v-col-md-auto,.v-col-md-12,.v-col-md-11,.v-col-md-10,.v-col-md-9,.v-col-md-8,.v-col-md-7,.v-col-md-6,.v-col-md-5,.v-col-md-4,.v-col-md-3,.v-col-md-2,.v-col-md-1,.v-col-sm,.v-col-sm-auto,.v-col-sm-12,.v-col-sm-11,.v-col-sm-10,.v-col-sm-9,.v-col-sm-8,.v-col-sm-7,.v-col-sm-6,.v-col-sm-5,.v-col-sm-4,.v-col-sm-3,.v-col-sm-2,.v-col-sm-1,.v-col,.v-col-auto,.v-col-12,.v-col-11,.v-col-10,.v-col-9,.v-col-8,.v-col-7,.v-col-6,.v-col-5,.v-col-4,.v-col-3,.v-col-2,.v-col-1{width:100%;padding:12px}.v-col{flex-basis:0;flex-grow:1;max-width:100%}.v-col-auto{flex:0 0 auto;width:auto;max-width:100%}.v-col-1{flex:0 0 8.3333333333%;max-width:8.3333333333%}.v-col-2{flex:0 0 16.6666666667%;max-width:16.6666666667%}.v-col-3{flex:0 0 25%;max-width:25%}.v-col-4{flex:0 0 33.3333333333%;max-width:33.3333333333%}.v-col-5{flex:0 0 41.6666666667%;max-width:41.6666666667%}.v-col-6{flex:0 0 50%;max-width:50%}.v-col-7{flex:0 0 58.3333333333%;max-width:58.3333333333%}.v-col-8{flex:0 0 66.6666666667%;max-width:66.6666666667%}.v-col-9{flex:0 0 75%;max-width:75%}.v-col-10{flex:0 0 83.3333333333%;max-width:83.3333333333%}.v-col-11{flex:0 0 91.6666666667%;max-width:91.6666666667%}.v-col-12{flex:0 0 100%;max-width:100%}.offset-1.v-locale--is-ltr,.v-locale--is-ltr .offset-1{margin-left:8.3333333333%}.offset-1.v-locale--is-rtl,.v-locale--is-rtl .offset-1{margin-right:8.3333333333%}.offset-2.v-locale--is-ltr,.v-locale--is-ltr .offset-2{margin-left:16.6666666667%}.offset-2.v-locale--is-rtl,.v-locale--is-rtl .offset-2{margin-right:16.6666666667%}.offset-3.v-locale--is-ltr,.v-locale--is-ltr .offset-3{margin-left:25%}.offset-3.v-locale--is-rtl,.v-locale--is-rtl .offset-3{margin-right:25%}.offset-4.v-locale--is-ltr,.v-locale--is-ltr .offset-4{margin-left:33.3333333333%}.offset-4.v-locale--is-rtl,.v-locale--is-rtl .offset-4{margin-right:33.3333333333%}.offset-5.v-locale--is-ltr,.v-locale--is-ltr .offset-5{margin-left:41.6666666667%}.offset-5.v-locale--is-rtl,.v-locale--is-rtl .offset-5{margin-right:41.6666666667%}.offset-6.v-locale--is-ltr,.v-locale--is-ltr .offset-6{margin-left:50%}.offset-6.v-locale--is-rtl,.v-locale--is-rtl .offset-6{margin-right:50%}.offset-7.v-locale--is-ltr,.v-locale--is-ltr .offset-7{margin-left:58.3333333333%}.offset-7.v-locale--is-rtl,.v-locale--is-rtl .offset-7{margin-right:58.3333333333%}.offset-8.v-locale--is-ltr,.v-locale--is-ltr .offset-8{margin-left:66.6666666667%}.offset-8.v-locale--is-rtl,.v-locale--is-rtl .offset-8{margin-right:66.6666666667%}.offset-9.v-locale--is-ltr,.v-locale--is-ltr .offset-9{margin-left:75%}.offset-9.v-locale--is-rtl,.v-locale--is-rtl .offset-9{margin-right:75%}.offset-10.v-locale--is-ltr,.v-locale--is-ltr .offset-10{margin-left:83.3333333333%}.offset-10.v-locale--is-rtl,.v-locale--is-rtl .offset-10{margin-right:83.3333333333%}.offset-11.v-locale--is-ltr,.v-locale--is-ltr .offset-11{margin-left:91.6666666667%}.offset-11.v-locale--is-rtl,.v-locale--is-rtl .offset-11{margin-right:91.6666666667%}@media (min-width: 600px){.v-col-sm{flex-basis:0;flex-grow:1;max-width:100%}.v-col-sm-auto{flex:0 0 auto;width:auto;max-width:100%}.v-col-sm-1{flex:0 0 8.3333333333%;max-width:8.3333333333%}.v-col-sm-2{flex:0 0 16.6666666667%;max-width:16.6666666667%}.v-col-sm-3{flex:0 0 25%;max-width:25%}.v-col-sm-4{flex:0 0 33.3333333333%;max-width:33.3333333333%}.v-col-sm-5{flex:0 0 41.6666666667%;max-width:41.6666666667%}.v-col-sm-6{flex:0 0 50%;max-width:50%}.v-col-sm-7{flex:0 0 58.3333333333%;max-width:58.3333333333%}.v-col-sm-8{flex:0 0 66.6666666667%;max-width:66.6666666667%}.v-col-sm-9{flex:0 0 75%;max-width:75%}.v-col-sm-10{flex:0 0 83.3333333333%;max-width:83.3333333333%}.v-col-sm-11{flex:0 0 91.6666666667%;max-width:91.6666666667%}.v-col-sm-12{flex:0 0 100%;max-width:100%}.offset-sm-0.v-locale--is-ltr,.v-locale--is-ltr .offset-sm-0{margin-left:0}.offset-sm-0.v-locale--is-rtl,.v-locale--is-rtl .offset-sm-0{margin-right:0}.offset-sm-1.v-locale--is-ltr,.v-locale--is-ltr .offset-sm-1{margin-left:8.3333333333%}.offset-sm-1.v-locale--is-rtl,.v-locale--is-rtl .offset-sm-1{margin-right:8.3333333333%}.offset-sm-2.v-locale--is-ltr,.v-locale--is-ltr .offset-sm-2{margin-left:16.6666666667%}.offset-sm-2.v-locale--is-rtl,.v-locale--is-rtl .offset-sm-2{margin-right:16.6666666667%}.offset-sm-3.v-locale--is-ltr,.v-locale--is-ltr .offset-sm-3{margin-left:25%}.offset-sm-3.v-locale--is-rtl,.v-locale--is-rtl .offset-sm-3{margin-right:25%}.offset-sm-4.v-locale--is-ltr,.v-locale--is-ltr .offset-sm-4{margin-left:33.3333333333%}.offset-sm-4.v-locale--is-rtl,.v-locale--is-rtl .offset-sm-4{margin-right:33.3333333333%}.offset-sm-5.v-locale--is-ltr,.v-locale--is-ltr .offset-sm-5{margin-left:41.6666666667%}.offset-sm-5.v-locale--is-rtl,.v-locale--is-rtl .offset-sm-5{margin-right:41.6666666667%}.offset-sm-6.v-locale--is-ltr,.v-locale--is-ltr .offset-sm-6{margin-left:50%}.offset-sm-6.v-locale--is-rtl,.v-locale--is-rtl .offset-sm-6{margin-right:50%}.offset-sm-7.v-locale--is-ltr,.v-locale--is-ltr .offset-sm-7{margin-left:58.3333333333%}.offset-sm-7.v-locale--is-rtl,.v-locale--is-rtl .offset-sm-7{margin-right:58.3333333333%}.offset-sm-8.v-locale--is-ltr,.v-locale--is-ltr .offset-sm-8{margin-left:66.6666666667%}.offset-sm-8.v-locale--is-rtl,.v-locale--is-rtl .offset-sm-8{margin-right:66.6666666667%}.offset-sm-9.v-locale--is-ltr,.v-locale--is-ltr .offset-sm-9{margin-left:75%}.offset-sm-9.v-locale--is-rtl,.v-locale--is-rtl .offset-sm-9{margin-right:75%}.offset-sm-10.v-locale--is-ltr,.v-locale--is-ltr .offset-sm-10{margin-left:83.3333333333%}.offset-sm-10.v-locale--is-rtl,.v-locale--is-rtl .offset-sm-10{margin-right:83.3333333333%}.offset-sm-11.v-locale--is-ltr,.v-locale--is-ltr .offset-sm-11{margin-left:91.6666666667%}.offset-sm-11.v-locale--is-rtl,.v-locale--is-rtl .offset-sm-11{margin-right:91.6666666667%}}@media (min-width: 960px){.v-col-md{flex-basis:0;flex-grow:1;max-width:100%}.v-col-md-auto{flex:0 0 auto;width:auto;max-width:100%}.v-col-md-1{flex:0 0 8.3333333333%;max-width:8.3333333333%}.v-col-md-2{flex:0 0 16.6666666667%;max-width:16.6666666667%}.v-col-md-3{flex:0 0 25%;max-width:25%}.v-col-md-4{flex:0 0 33.3333333333%;max-width:33.3333333333%}.v-col-md-5{flex:0 0 41.6666666667%;max-width:41.6666666667%}.v-col-md-6{flex:0 0 50%;max-width:50%}.v-col-md-7{flex:0 0 58.3333333333%;max-width:58.3333333333%}.v-col-md-8{flex:0 0 66.6666666667%;max-width:66.6666666667%}.v-col-md-9{flex:0 0 75%;max-width:75%}.v-col-md-10{flex:0 0 83.3333333333%;max-width:83.3333333333%}.v-col-md-11{flex:0 0 91.6666666667%;max-width:91.6666666667%}.v-col-md-12{flex:0 0 100%;max-width:100%}.offset-md-0.v-locale--is-ltr,.v-locale--is-ltr .offset-md-0{margin-left:0}.offset-md-0.v-locale--is-rtl,.v-locale--is-rtl .offset-md-0{margin-right:0}.offset-md-1.v-locale--is-ltr,.v-locale--is-ltr .offset-md-1{margin-left:8.3333333333%}.offset-md-1.v-locale--is-rtl,.v-locale--is-rtl .offset-md-1{margin-right:8.3333333333%}.offset-md-2.v-locale--is-ltr,.v-locale--is-ltr .offset-md-2{margin-left:16.6666666667%}.offset-md-2.v-locale--is-rtl,.v-locale--is-rtl .offset-md-2{margin-right:16.6666666667%}.offset-md-3.v-locale--is-ltr,.v-locale--is-ltr .offset-md-3{margin-left:25%}.offset-md-3.v-locale--is-rtl,.v-locale--is-rtl .offset-md-3{margin-right:25%}.offset-md-4.v-locale--is-ltr,.v-locale--is-ltr .offset-md-4{margin-left:33.3333333333%}.offset-md-4.v-locale--is-rtl,.v-locale--is-rtl .offset-md-4{margin-right:33.3333333333%}.offset-md-5.v-locale--is-ltr,.v-locale--is-ltr .offset-md-5{margin-left:41.6666666667%}.offset-md-5.v-locale--is-rtl,.v-locale--is-rtl .offset-md-5{margin-right:41.6666666667%}.offset-md-6.v-locale--is-ltr,.v-locale--is-ltr .offset-md-6{margin-left:50%}.offset-md-6.v-locale--is-rtl,.v-locale--is-rtl .offset-md-6{margin-right:50%}.offset-md-7.v-locale--is-ltr,.v-locale--is-ltr .offset-md-7{margin-left:58.3333333333%}.offset-md-7.v-locale--is-rtl,.v-locale--is-rtl .offset-md-7{margin-right:58.3333333333%}.offset-md-8.v-locale--is-ltr,.v-locale--is-ltr .offset-md-8{margin-left:66.6666666667%}.offset-md-8.v-locale--is-rtl,.v-locale--is-rtl .offset-md-8{margin-right:66.6666666667%}.offset-md-9.v-locale--is-ltr,.v-locale--is-ltr .offset-md-9{margin-left:75%}.offset-md-9.v-locale--is-rtl,.v-locale--is-rtl .offset-md-9{margin-right:75%}.offset-md-10.v-locale--is-ltr,.v-locale--is-ltr .offset-md-10{margin-left:83.3333333333%}.offset-md-10.v-locale--is-rtl,.v-locale--is-rtl .offset-md-10{margin-right:83.3333333333%}.offset-md-11.v-locale--is-ltr,.v-locale--is-ltr .offset-md-11{margin-left:91.6666666667%}.offset-md-11.v-locale--is-rtl,.v-locale--is-rtl .offset-md-11{margin-right:91.6666666667%}}@media (min-width: 1280px){.v-col-lg{flex-basis:0;flex-grow:1;max-width:100%}.v-col-lg-auto{flex:0 0 auto;width:auto;max-width:100%}.v-col-lg-1{flex:0 0 8.3333333333%;max-width:8.3333333333%}.v-col-lg-2{flex:0 0 16.6666666667%;max-width:16.6666666667%}.v-col-lg-3{flex:0 0 25%;max-width:25%}.v-col-lg-4{flex:0 0 33.3333333333%;max-width:33.3333333333%}.v-col-lg-5{flex:0 0 41.6666666667%;max-width:41.6666666667%}.v-col-lg-6{flex:0 0 50%;max-width:50%}.v-col-lg-7{flex:0 0 58.3333333333%;max-width:58.3333333333%}.v-col-lg-8{flex:0 0 66.6666666667%;max-width:66.6666666667%}.v-col-lg-9{flex:0 0 75%;max-width:75%}.v-col-lg-10{flex:0 0 83.3333333333%;max-width:83.3333333333%}.v-col-lg-11{flex:0 0 91.6666666667%;max-width:91.6666666667%}.v-col-lg-12{flex:0 0 100%;max-width:100%}.offset-lg-0.v-locale--is-ltr,.v-locale--is-ltr .offset-lg-0{margin-left:0}.offset-lg-0.v-locale--is-rtl,.v-locale--is-rtl .offset-lg-0{margin-right:0}.offset-lg-1.v-locale--is-ltr,.v-locale--is-ltr .offset-lg-1{margin-left:8.3333333333%}.offset-lg-1.v-locale--is-rtl,.v-locale--is-rtl .offset-lg-1{margin-right:8.3333333333%}.offset-lg-2.v-locale--is-ltr,.v-locale--is-ltr .offset-lg-2{margin-left:16.6666666667%}.offset-lg-2.v-locale--is-rtl,.v-locale--is-rtl .offset-lg-2{margin-right:16.6666666667%}.offset-lg-3.v-locale--is-ltr,.v-locale--is-ltr .offset-lg-3{margin-left:25%}.offset-lg-3.v-locale--is-rtl,.v-locale--is-rtl .offset-lg-3{margin-right:25%}.offset-lg-4.v-locale--is-ltr,.v-locale--is-ltr .offset-lg-4{margin-left:33.3333333333%}.offset-lg-4.v-locale--is-rtl,.v-locale--is-rtl .offset-lg-4{margin-right:33.3333333333%}.offset-lg-5.v-locale--is-ltr,.v-locale--is-ltr .offset-lg-5{margin-left:41.6666666667%}.offset-lg-5.v-locale--is-rtl,.v-locale--is-rtl .offset-lg-5{margin-right:41.6666666667%}.offset-lg-6.v-locale--is-ltr,.v-locale--is-ltr .offset-lg-6{margin-left:50%}.offset-lg-6.v-locale--is-rtl,.v-locale--is-rtl .offset-lg-6{margin-right:50%}.offset-lg-7.v-locale--is-ltr,.v-locale--is-ltr .offset-lg-7{margin-left:58.3333333333%}.offset-lg-7.v-locale--is-rtl,.v-locale--is-rtl .offset-lg-7{margin-right:58.3333333333%}.offset-lg-8.v-locale--is-ltr,.v-locale--is-ltr .offset-lg-8{margin-left:66.6666666667%}.offset-lg-8.v-locale--is-rtl,.v-locale--is-rtl .offset-lg-8{margin-right:66.6666666667%}.offset-lg-9.v-locale--is-ltr,.v-locale--is-ltr .offset-lg-9{margin-left:75%}.offset-lg-9.v-locale--is-rtl,.v-locale--is-rtl .offset-lg-9{margin-right:75%}.offset-lg-10.v-locale--is-ltr,.v-locale--is-ltr .offset-lg-10{margin-left:83.3333333333%}.offset-lg-10.v-locale--is-rtl,.v-locale--is-rtl .offset-lg-10{margin-right:83.3333333333%}.offset-lg-11.v-locale--is-ltr,.v-locale--is-ltr .offset-lg-11{margin-left:91.6666666667%}.offset-lg-11.v-locale--is-rtl,.v-locale--is-rtl .offset-lg-11{margin-right:91.6666666667%}}@media (min-width: 1920px){.v-col-xl{flex-basis:0;flex-grow:1;max-width:100%}.v-col-xl-auto{flex:0 0 auto;width:auto;max-width:100%}.v-col-xl-1{flex:0 0 8.3333333333%;max-width:8.3333333333%}.v-col-xl-2{flex:0 0 16.6666666667%;max-width:16.6666666667%}.v-col-xl-3{flex:0 0 25%;max-width:25%}.v-col-xl-4{flex:0 0 33.3333333333%;max-width:33.3333333333%}.v-col-xl-5{flex:0 0 41.6666666667%;max-width:41.6666666667%}.v-col-xl-6{flex:0 0 50%;max-width:50%}.v-col-xl-7{flex:0 0 58.3333333333%;max-width:58.3333333333%}.v-col-xl-8{flex:0 0 66.6666666667%;max-width:66.6666666667%}.v-col-xl-9{flex:0 0 75%;max-width:75%}.v-col-xl-10{flex:0 0 83.3333333333%;max-width:83.3333333333%}.v-col-xl-11{flex:0 0 91.6666666667%;max-width:91.6666666667%}.v-col-xl-12{flex:0 0 100%;max-width:100%}.offset-xl-0.v-locale--is-ltr,.v-locale--is-ltr .offset-xl-0{margin-left:0}.offset-xl-0.v-locale--is-rtl,.v-locale--is-rtl .offset-xl-0{margin-right:0}.offset-xl-1.v-locale--is-ltr,.v-locale--is-ltr .offset-xl-1{margin-left:8.3333333333%}.offset-xl-1.v-locale--is-rtl,.v-locale--is-rtl .offset-xl-1{margin-right:8.3333333333%}.offset-xl-2.v-locale--is-ltr,.v-locale--is-ltr .offset-xl-2{margin-left:16.6666666667%}.offset-xl-2.v-locale--is-rtl,.v-locale--is-rtl .offset-xl-2{margin-right:16.6666666667%}.offset-xl-3.v-locale--is-ltr,.v-locale--is-ltr .offset-xl-3{margin-left:25%}.offset-xl-3.v-locale--is-rtl,.v-locale--is-rtl .offset-xl-3{margin-right:25%}.offset-xl-4.v-locale--is-ltr,.v-locale--is-ltr .offset-xl-4{margin-left:33.3333333333%}.offset-xl-4.v-locale--is-rtl,.v-locale--is-rtl .offset-xl-4{margin-right:33.3333333333%}.offset-xl-5.v-locale--is-ltr,.v-locale--is-ltr .offset-xl-5{margin-left:41.6666666667%}.offset-xl-5.v-locale--is-rtl,.v-locale--is-rtl .offset-xl-5{margin-right:41.6666666667%}.offset-xl-6.v-locale--is-ltr,.v-locale--is-ltr .offset-xl-6{margin-left:50%}.offset-xl-6.v-locale--is-rtl,.v-locale--is-rtl .offset-xl-6{margin-right:50%}.offset-xl-7.v-locale--is-ltr,.v-locale--is-ltr .offset-xl-7{margin-left:58.3333333333%}.offset-xl-7.v-locale--is-rtl,.v-locale--is-rtl .offset-xl-7{margin-right:58.3333333333%}.offset-xl-8.v-locale--is-ltr,.v-locale--is-ltr .offset-xl-8{margin-left:66.6666666667%}.offset-xl-8.v-locale--is-rtl,.v-locale--is-rtl .offset-xl-8{margin-right:66.6666666667%}.offset-xl-9.v-locale--is-ltr,.v-locale--is-ltr .offset-xl-9{margin-left:75%}.offset-xl-9.v-locale--is-rtl,.v-locale--is-rtl .offset-xl-9{margin-right:75%}.offset-xl-10.v-locale--is-ltr,.v-locale--is-ltr .offset-xl-10{margin-left:83.3333333333%}.offset-xl-10.v-locale--is-rtl,.v-locale--is-rtl .offset-xl-10{margin-right:83.3333333333%}.offset-xl-11.v-locale--is-ltr,.v-locale--is-ltr .offset-xl-11{margin-left:91.6666666667%}.offset-xl-11.v-locale--is-rtl,.v-locale--is-rtl .offset-xl-11{margin-right:91.6666666667%}}@media (min-width: 2560px){.v-col-xxl{flex-basis:0;flex-grow:1;max-width:100%}.v-col-xxl-auto{flex:0 0 auto;width:auto;max-width:100%}.v-col-xxl-1{flex:0 0 8.3333333333%;max-width:8.3333333333%}.v-col-xxl-2{flex:0 0 16.6666666667%;max-width:16.6666666667%}.v-col-xxl-3{flex:0 0 25%;max-width:25%}.v-col-xxl-4{flex:0 0 33.3333333333%;max-width:33.3333333333%}.v-col-xxl-5{flex:0 0 41.6666666667%;max-width:41.6666666667%}.v-col-xxl-6{flex:0 0 50%;max-width:50%}.v-col-xxl-7{flex:0 0 58.3333333333%;max-width:58.3333333333%}.v-col-xxl-8{flex:0 0 66.6666666667%;max-width:66.6666666667%}.v-col-xxl-9{flex:0 0 75%;max-width:75%}.v-col-xxl-10{flex:0 0 83.3333333333%;max-width:83.3333333333%}.v-col-xxl-11{flex:0 0 91.6666666667%;max-width:91.6666666667%}.v-col-xxl-12{flex:0 0 100%;max-width:100%}.offset-xxl-0.v-locale--is-ltr,.v-locale--is-ltr .offset-xxl-0{margin-left:0}.offset-xxl-0.v-locale--is-rtl,.v-locale--is-rtl .offset-xxl-0{margin-right:0}.offset-xxl-1.v-locale--is-ltr,.v-locale--is-ltr .offset-xxl-1{margin-left:8.3333333333%}.offset-xxl-1.v-locale--is-rtl,.v-locale--is-rtl .offset-xxl-1{margin-right:8.3333333333%}.offset-xxl-2.v-locale--is-ltr,.v-locale--is-ltr .offset-xxl-2{margin-left:16.6666666667%}.offset-xxl-2.v-locale--is-rtl,.v-locale--is-rtl .offset-xxl-2{margin-right:16.6666666667%}.offset-xxl-3.v-locale--is-ltr,.v-locale--is-ltr .offset-xxl-3{margin-left:25%}.offset-xxl-3.v-locale--is-rtl,.v-locale--is-rtl .offset-xxl-3{margin-right:25%}.offset-xxl-4.v-locale--is-ltr,.v-locale--is-ltr .offset-xxl-4{margin-left:33.3333333333%}.offset-xxl-4.v-locale--is-rtl,.v-locale--is-rtl .offset-xxl-4{margin-right:33.3333333333%}.offset-xxl-5.v-locale--is-ltr,.v-locale--is-ltr .offset-xxl-5{margin-left:41.6666666667%}.offset-xxl-5.v-locale--is-rtl,.v-locale--is-rtl .offset-xxl-5{margin-right:41.6666666667%}.offset-xxl-6.v-locale--is-ltr,.v-locale--is-ltr .offset-xxl-6{margin-left:50%}.offset-xxl-6.v-locale--is-rtl,.v-locale--is-rtl .offset-xxl-6{margin-right:50%}.offset-xxl-7.v-locale--is-ltr,.v-locale--is-ltr .offset-xxl-7{margin-left:58.3333333333%}.offset-xxl-7.v-locale--is-rtl,.v-locale--is-rtl .offset-xxl-7{margin-right:58.3333333333%}.offset-xxl-8.v-locale--is-ltr,.v-locale--is-ltr .offset-xxl-8{margin-left:66.6666666667%}.offset-xxl-8.v-locale--is-rtl,.v-locale--is-rtl .offset-xxl-8{margin-right:66.6666666667%}.offset-xxl-9.v-locale--is-ltr,.v-locale--is-ltr .offset-xxl-9{margin-left:75%}.offset-xxl-9.v-locale--is-rtl,.v-locale--is-rtl .offset-xxl-9{margin-right:75%}.offset-xxl-10.v-locale--is-ltr,.v-locale--is-ltr .offset-xxl-10{margin-left:83.3333333333%}.offset-xxl-10.v-locale--is-rtl,.v-locale--is-rtl .offset-xxl-10{margin-right:83.3333333333%}.offset-xxl-11.v-locale--is-ltr,.v-locale--is-ltr .offset-xxl-11{margin-left:91.6666666667%}.offset-xxl-11.v-locale--is-rtl,.v-locale--is-rtl .offset-xxl-11{margin-right:91.6666666667%}}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare type DatetimeUTC = string;
|
|
2
|
+
export declare type DatetimeUTCNullable = string | null;
|
|
3
|
+
export declare type IntegerId = number;
|
|
4
|
+
export declare type IntegerIdNullable = number | null;
|
|
5
|
+
export declare type DocId = string;
|
|
6
|
+
export declare type DocIdNullable = string | null;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export declare const isUndefined: (value: unknown) => value is undefined;
|
|
2
|
+
export declare const isNotUndefined: (value: unknown) => boolean;
|
|
3
|
+
export declare const isNull: (value: unknown) => value is null;
|
|
4
|
+
export declare const isNumber: (value: any) => value is number;
|
|
5
|
+
export declare const isString: (value: any) => value is string;
|
|
6
|
+
export declare const isArray: (value: any) => value is any[];
|
|
7
|
+
export declare const isBoolean: (value: any) => value is boolean;
|
|
8
|
+
export declare const isDocId: (value: any) => value is string;
|
|
9
|
+
export declare const isInt: (value: any) => value is number;
|
|
10
|
+
export declare const isObject: (value: any) => value is object;
|
|
11
|
+
export declare const isEmptyObject: (value: any) => value is object;
|
|
12
|
+
export declare const isEmptyArray: (value: any) => value is any[];
|
|
13
|
+
export declare const isEmpty: (value: any) => boolean;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare const deepFreeze: <T>(obj: T) => Readonly<T>;
|
|
2
|
+
export declare const getValueByPath: (obj: any, path: string, splitChar?: string) => any;
|
|
3
|
+
export declare const setValueByPath: (obj: any, path: string, value: any, splitChar?: string) => void;
|
|
4
|
+
export declare function deletePropertyByPath<T>(obj: T, path: string, splitChar?: string): T;
|
|
5
|
+
/**
|
|
6
|
+
* Use only for objects with some primitives like number, string, boolean, null. Not supported: function, undefined, symbol, ...
|
|
7
|
+
*/
|
|
8
|
+
export declare const simpleCloneObject: <T>(object: T) => T;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
/// <reference types="vite/client" />
|
package/package.json
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@anzusystems/common-admin",
|
|
3
|
+
"packageManager": "yarn@3.3.1",
|
|
4
|
+
"files": [
|
|
5
|
+
"dist"
|
|
6
|
+
],
|
|
7
|
+
"main": "./dist/common-admin.umd.js",
|
|
8
|
+
"module": "./dist/common-admin.es.js",
|
|
9
|
+
"types": "./dist/common-admin.es.d.ts",
|
|
10
|
+
"exports": {
|
|
11
|
+
".": {
|
|
12
|
+
"import": "./dist/common-admin.es.js",
|
|
13
|
+
"require": "./dist/common-admin.umd.js"
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"version": "0.0.3",
|
|
17
|
+
"type": "module",
|
|
18
|
+
"license": "Apache-2.0",
|
|
19
|
+
"scripts": {
|
|
20
|
+
"dev": "vite",
|
|
21
|
+
"build": "vite build",
|
|
22
|
+
"test": "exit 0"
|
|
23
|
+
},
|
|
24
|
+
"devDependencies": {
|
|
25
|
+
"@intlify/unplugin-vue-i18n": "^0.8.1",
|
|
26
|
+
"@mdi/font": "^7.1.96",
|
|
27
|
+
"@types/node": "^18.11.18",
|
|
28
|
+
"@vitejs/plugin-vue": "^4.0.0",
|
|
29
|
+
"sass": "^1.57.1",
|
|
30
|
+
"typescript": "^4.9.3",
|
|
31
|
+
"vite": "^4.0.0",
|
|
32
|
+
"vite-plugin-dts": "^1.7.1",
|
|
33
|
+
"vite-plugin-vuetify": "^1.0.1",
|
|
34
|
+
"vue": "^3.2.45",
|
|
35
|
+
"vue-i18n": "^9.2.2",
|
|
36
|
+
"vue-tsc": "^1.0.24",
|
|
37
|
+
"vuetify": "^3.1.1"
|
|
38
|
+
}
|
|
39
|
+
}
|