@bagelink/vue 1.9.77 → 1.9.79

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/lightbox/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAoC,MAAM,EAAE,MAAM,KAAK,CAAA;AAyFnE,QAAA,MAAM,cAAc,EAAE,MAIrB,CAAA;AAED,eAAe,cAAc,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/lightbox/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAoC,MAAM,EAAE,MAAM,KAAK,CAAA;AA6FnE,QAAA,MAAM,cAAc,EAAE,MAIrB,CAAA;AAED,eAAe,cAAc,CAAA"}
@@ -3,6 +3,7 @@ declare const pattern: {
3
3
  beforeMount(el: HTMLElement, binding: DirectiveBinding): void;
4
4
  updated(el: HTMLElement, binding: DirectiveBinding): void;
5
5
  unmounted(el: HTMLElement): void;
6
+ getSSRProps(): {};
6
7
  };
7
8
  export default pattern;
8
9
  //# sourceMappingURL=pattern.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"pattern.d.ts","sourceRoot":"","sources":["../../src/directives/pattern.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,KAAK,CAAA;AAyL3C,QAAA,MAAM,OAAO;oBACI,WAAW,WAAW,gBAAgB;gBAgB1C,WAAW,WAAW,gBAAgB;kBAkBpC,WAAW;CAUzB,CAAA;AAED,eAAe,OAAO,CAAA"}
1
+ {"version":3,"file":"pattern.d.ts","sourceRoot":"","sources":["../../src/directives/pattern.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,KAAK,CAAA;AAyL3C,QAAA,MAAM,OAAO;oBACI,WAAW,WAAW,gBAAgB;gBAgB1C,WAAW,WAAW,gBAAgB;kBAkBpC,WAAW;;CAazB,CAAA;AAED,eAAe,OAAO,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"ripple.d.ts","sourceRoot":"","sources":["../../src/directives/ripple.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAoB,MAAM,KAAK,CAAA;AAEtD,QAAA,MAAM,MAAM,EAAE,SAAS,CAAC,WAAW,EAAE,OAAO,CAsD3C,CAAA;AAED,eAAe,MAAM,CAAA"}
1
+ {"version":3,"file":"ripple.d.ts","sourceRoot":"","sources":["../../src/directives/ripple.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAoB,MAAM,KAAK,CAAA;AAEtD,QAAA,MAAM,MAAM,EAAE,SAAS,CAAC,WAAW,EAAE,OAAO,CAyD3C,CAAA;AAED,eAAe,MAAM,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"vResize.d.ts","sourceRoot":"","sources":["../../src/directives/vResize.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,KAAK,CAAA;AAEpC,MAAM,WAAW,WAAW;IAC3B,OAAO,EAAE,MAAM,CAAA;IACf,MAAM,EAAE,MAAM,CAAA;IACd,aAAa,EAAE,MAAM,CAAA;CACrB;AAED,MAAM,WAAW,aAAa;IAC7B,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,GAAG,UAAU,KAAK,IAAI,CAAA;IAClD,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,WAAW,KAAK,IAAI,CAAA;IACvC,KAAK,CAAC,EAAE,CAAC,KAAK,EAAE,WAAW,KAAK,IAAI,CAAA;IACpC,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,WAAW,CAAC,EAAE,MAAM,CAAA;CACpB;AAoKD,eAAO,MAAM,OAAO,EAAE,SAAS,CAAC,WAAW,EAAE,aAAa,CAuBzD,CAAA"}
1
+ {"version":3,"file":"vResize.d.ts","sourceRoot":"","sources":["../../src/directives/vResize.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,KAAK,CAAA;AAEpC,MAAM,WAAW,WAAW;IAC3B,OAAO,EAAE,MAAM,CAAA;IACf,MAAM,EAAE,MAAM,CAAA;IACd,aAAa,EAAE,MAAM,CAAA;CACrB;AAED,MAAM,WAAW,aAAa;IAC7B,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,GAAG,UAAU,KAAK,IAAI,CAAA;IAClD,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,WAAW,KAAK,IAAI,CAAA;IACvC,KAAK,CAAC,EAAE,CAAC,KAAK,EAAE,WAAW,KAAK,IAAI,CAAA;IACpC,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,WAAW,CAAC,EAAE,MAAM,CAAA;CACpB;AAoKD,eAAO,MAAM,OAAO,EAAE,SAAS,CAAC,WAAW,EAAE,aAAa,CA0BzD,CAAA"}
package/dist/index.cjs CHANGED
@@ -319,7 +319,7 @@ ${K.length} values could not be automatically matched.`)}catch(de){console.error
319
319
  `,l6="\u2028",i6="\u2029";function s6(e){const t=e;let r=0,a=1,o=1,l=0;const i=N=>t[N]===o6&&t[N+1]===Bt,s=N=>t[N]===Bt,u=N=>t[N]===i6,c=N=>t[N]===l6,f=N=>i(N)||s(N)||u(N)||c(N),p=()=>r,m=()=>a,h=()=>o,d=()=>l,g=N=>i(N)||u(N)||c(N)?Bt:t[N],y=()=>g(r),v=()=>g(r+l);function _(){return l=0,f(r)&&(a++,o=0),i(r)&&r++,r++,o++,t[r]}function b(){return i(r+l)&&l++,l++,t[r+l]}function k(){r=0,a=1,o=1,l=0}function w(N=0){l=N}function S(){const N=r+l;for(;N!==r;)_();l=0}return{index:p,line:m,column:h,peekOffset:d,charAt:g,currentChar:y,currentPeek:v,next:_,peek:b,reset:k,resetPeek:w,skipToPeek:S}}var On=void 0,u6=".",Vf="'",c6="tokenizer";function d6(e,t={}){const r=t.location!==!1,a=s6(e),o=()=>a.index(),l=()=>e6(a.line(),a.column(),a.index()),i=l(),s=o(),u={currentType:13,offset:s,startLoc:i,endLoc:i,lastType:13,lastOffset:s,lastStartLoc:i,lastEndLoc:i,braceNest:0,inLinked:!1,text:""},c=()=>u,{onError:f}=t;function p(R,j,ue,...pe){const De=c();j.column+=ue,j.offset+=ue,f&&f(da(R,r?eu(De.startLoc,j):null,{domain:c6,args:pe}))}function m(R,j,ue){R.endLoc=l(),R.currentType=j;const pe={type:j};return r&&(pe.loc=eu(R.startLoc,R.endLoc)),ue!=null&&(pe.value=ue),pe}const h=R=>m(R,13);function d(R,j){return R.currentChar()===j?(R.next(),j):(p(Le.EXPECTED_TOKEN,l(),0,j),"")}function g(R){let j="";for(;R.currentPeek()===En||R.currentPeek()===Bt;)j+=R.currentPeek(),R.peek();return j}function y(R){const j=g(R);return R.skipToPeek(),j}function v(R){if(R===On)return!1;const j=R.charCodeAt(0);return j>=97&&j<=122||j>=65&&j<=90||j===95}function _(R){if(R===On)return!1;const j=R.charCodeAt(0);return j>=48&&j<=57}function b(R,j){const{currentType:ue}=j;if(ue!==2)return!1;g(R);const pe=v(R.currentPeek());return R.resetPeek(),pe}function k(R,j){const{currentType:ue}=j;if(ue!==2)return!1;g(R);const pe=_(R.currentPeek()==="-"?R.peek():R.currentPeek());return R.resetPeek(),pe}function w(R,j){const{currentType:ue}=j;if(ue!==2)return!1;g(R);const pe=R.currentPeek()===Vf;return R.resetPeek(),pe}function S(R,j){const{currentType:ue}=j;if(ue!==7)return!1;g(R);const pe=R.currentPeek()===".";return R.resetPeek(),pe}function N(R,j){const{currentType:ue}=j;if(ue!==8)return!1;g(R);const pe=v(R.currentPeek());return R.resetPeek(),pe}function V(R,j){const{currentType:ue}=j;if(!(ue===7||ue===11))return!1;g(R);const pe=R.currentPeek()===":";return R.resetPeek(),pe}function x(R,j){const{currentType:ue}=j;if(ue!==9)return!1;const pe=()=>{const Pe=R.currentPeek();return Pe==="{"?v(R.peek()):Pe==="@"||Pe==="|"||Pe===":"||Pe==="."||Pe===En||!Pe?!1:Pe===Bt?(R.peek(),pe()):D(R,!1)},De=pe();return R.resetPeek(),De}function M(R){g(R);const j=R.currentPeek()==="|";return R.resetPeek(),j}function D(R,j=!0){const ue=(De=!1,Pe="")=>{const Y=R.currentPeek();return Y==="{"||Y==="@"||!Y?De:Y==="|"?!(Pe===En||Pe===Bt):Y===En?(R.peek(),ue(!0,En)):Y===Bt?(R.peek(),ue(!0,Bt)):!0},pe=ue();return j&&R.resetPeek(),pe}function C(R,j){const ue=R.currentChar();return ue===On?On:j(ue)?(R.next(),ue):null}function T(R){const j=R.charCodeAt(0);return j>=97&&j<=122||j>=65&&j<=90||j>=48&&j<=57||j===95||j===36}function B(R){return C(R,T)}function P(R){const j=R.charCodeAt(0);return j>=97&&j<=122||j>=65&&j<=90||j>=48&&j<=57||j===95||j===36||j===45}function O(R){return C(R,P)}function L(R){const j=R.charCodeAt(0);return j>=48&&j<=57}function I(R){return C(R,L)}function Z(R){const j=R.charCodeAt(0);return j>=48&&j<=57||j>=65&&j<=70||j>=97&&j<=102}function se(R){return C(R,Z)}function U(R){let j="",ue="";for(;j=I(R);)ue+=j;return ue}function ee(R){let j="";for(;;){const ue=R.currentChar();if(ue==="{"||ue==="}"||ue==="@"||ue==="|"||!ue)break;if(ue===En||ue===Bt)if(D(R))j+=ue,R.next();else{if(M(R))break;j+=ue,R.next()}else j+=ue,R.next()}return j}function q(R){y(R);let j="",ue="";for(;j=O(R);)ue+=j;const pe=R.currentChar();if(pe&&pe!=="}"&&pe!==On&&pe!==En&&pe!==Bt&&pe!==" "){const De=lt(R);return p(Le.INVALID_TOKEN_IN_PLACEHOLDER,l(),0,ue+De),ue+De}return R.currentChar()===On&&p(Le.UNTERMINATED_CLOSING_BRACE,l(),0),ue}function oe(R){y(R);let j="";return R.currentChar()==="-"?(R.next(),j+=`-${U(R)}`):j+=U(R),R.currentChar()===On&&p(Le.UNTERMINATED_CLOSING_BRACE,l(),0),j}function ie(R){return R!==Vf&&R!==Bt}function be(R){y(R),d(R,"'");let j="",ue="";for(;j=C(R,ie);)j==="\\"?ue+=ve(R):ue+=j;const pe=R.currentChar();return pe===Bt||pe===On?(p(Le.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,l(),0),pe===Bt&&(R.next(),d(R,"'")),ue):(d(R,"'"),ue)}function ve(R){const j=R.currentChar();switch(j){case"\\":case"'":return R.next(),`\\${j}`;case"u":return Te(R,j,4);case"U":return Te(R,j,6);default:return p(Le.UNKNOWN_ESCAPE_SEQUENCE,l(),0,j),""}}function Te(R,j,ue){d(R,j);let pe="";for(let De=0;De<ue;De++){const Pe=se(R);if(!Pe){p(Le.INVALID_UNICODE_ESCAPE_SEQUENCE,l(),0,`\\${j}${pe}${R.currentChar()}`);break}pe+=Pe}return`\\${j}${pe}`}function we(R){return R!=="{"&&R!=="}"&&R!==En&&R!==Bt}function lt(R){y(R);let j="",ue="";for(;j=C(R,we);)ue+=j;return ue}function xe(R){let j="",ue="";for(;j=B(R);)ue+=j;return ue}function Ye(R){const j=ue=>{const pe=R.currentChar();return pe==="{"||pe==="@"||pe==="|"||pe==="("||pe===")"||!pe||pe===En?ue:(ue+=pe,R.next(),j(ue))};return j("")}function ce(R){y(R);const j=d(R,"|");return y(R),j}function _e(R,j){let ue=null;switch(R.currentChar()){case"{":return j.braceNest>=1&&p(Le.NOT_ALLOW_NEST_PLACEHOLDER,l(),0),R.next(),ue=m(j,2,"{"),y(R),j.braceNest++,ue;case"}":return j.braceNest>0&&j.currentType===2&&p(Le.EMPTY_PLACEHOLDER,l(),0),R.next(),ue=m(j,3,"}"),j.braceNest--,j.braceNest>0&&y(R),j.inLinked&&j.braceNest===0&&(j.inLinked=!1),ue;case"@":return j.braceNest>0&&p(Le.UNTERMINATED_CLOSING_BRACE,l(),0),ue=Ne(R,j)||h(j),j.braceNest=0,ue;default:{let pe=!0,De=!0,Pe=!0;if(M(R))return j.braceNest>0&&p(Le.UNTERMINATED_CLOSING_BRACE,l(),0),ue=m(j,1,ce(R)),j.braceNest=0,j.inLinked=!1,ue;if(j.braceNest>0&&(j.currentType===4||j.currentType===5||j.currentType===6))return p(Le.UNTERMINATED_CLOSING_BRACE,l(),0),j.braceNest=0,ne(R,j);if(pe=b(R,j))return ue=m(j,4,q(R)),y(R),ue;if(De=k(R,j))return ue=m(j,5,oe(R)),y(R),ue;if(Pe=w(R,j))return ue=m(j,6,be(R)),y(R),ue;if(!pe&&!De&&!Pe)return ue=m(j,12,lt(R)),p(Le.INVALID_TOKEN_IN_PLACEHOLDER,l(),0,ue.value),y(R),ue;break}}return ue}function Ne(R,j){const{currentType:ue}=j;let pe=null;const De=R.currentChar();switch((ue===7||ue===8||ue===11||ue===9)&&(De===Bt||De===En)&&p(Le.INVALID_LINKED_FORMAT,l(),0),De){case"@":return R.next(),pe=m(j,7,"@"),j.inLinked=!0,pe;case".":return y(R),R.next(),m(j,8,".");case":":return y(R),R.next(),m(j,9,":");default:return M(R)?(pe=m(j,1,ce(R)),j.braceNest=0,j.inLinked=!1,pe):S(R,j)||V(R,j)?(y(R),Ne(R,j)):N(R,j)?(y(R),m(j,11,xe(R))):x(R,j)?(y(R),De==="{"?_e(R,j)||pe:m(j,10,Ye(R))):(ue===7&&p(Le.INVALID_LINKED_FORMAT,l(),0),j.braceNest=0,j.inLinked=!1,ne(R,j))}}function ne(R,j){let ue={type:13};if(j.braceNest>0)return _e(R,j)||h(j);if(j.inLinked)return Ne(R,j)||h(j);switch(R.currentChar()){case"{":return _e(R,j)||h(j);case"}":return p(Le.UNBALANCED_CLOSING_BRACE,l(),0),R.next(),m(j,3,"}");case"@":return Ne(R,j)||h(j);default:if(M(R))return ue=m(j,1,ce(R)),j.braceNest=0,j.inLinked=!1,ue;if(D(R))return m(j,0,ee(R));break}return ue}function ye(){const{currentType:R,offset:j,startLoc:ue,endLoc:pe}=u;return u.lastType=R,u.lastOffset=j,u.lastStartLoc=ue,u.lastEndLoc=pe,u.offset=o(),u.startLoc=l(),a.currentChar()===On?m(u,13):ne(a,u)}return{nextToken:ye,currentOffset:o,currentPosition:l,context:c}}var f6="parser",p6=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function m6(e,t,r){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const a=parseInt(t||r,16);return a<=55295||a>=57344?String.fromCodePoint(a):"�"}}}function h6(e={}){const t=e.location!==!1,{onError:r}=e;function a(v,_,b,k,...w){const S=v.currentPosition();S.offset+=k,S.column+=k,r&&r(da(_,t?eu(b,S):null,{domain:f6,args:w}))}function o(v,_,b){const k={type:v};return t&&(k.start=_,k.end=_,k.loc={start:b,end:b}),k}function l(v,_,b,k){t&&(v.end=_,v.loc&&(v.loc.end=b))}function i(v,_){const b=v.context(),k=o(3,b.offset,b.startLoc);return k.value=_,l(k,v.currentOffset(),v.currentPosition()),k}function s(v,_){const{lastOffset:b,lastStartLoc:k}=v.context(),w=o(5,b,k);return w.index=parseInt(_,10),v.nextToken(),l(w,v.currentOffset(),v.currentPosition()),w}function u(v,_){const{lastOffset:b,lastStartLoc:k}=v.context(),w=o(4,b,k);return w.key=_,v.nextToken(),l(w,v.currentOffset(),v.currentPosition()),w}function c(v,_){const{lastOffset:b,lastStartLoc:k}=v.context(),w=o(9,b,k);return w.value=_.replace(p6,m6),v.nextToken(),l(w,v.currentOffset(),v.currentPosition()),w}function f(v){const _=v.nextToken(),b=v.context(),{lastOffset:k,lastStartLoc:w}=b,S=o(8,k,w);return _.type!==11?(a(v,Le.UNEXPECTED_EMPTY_LINKED_MODIFIER,b.lastStartLoc,0),S.value="",l(S,k,w),{nextConsumeToken:_,node:S}):(_.value==null&&a(v,Le.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Cn(_)),S.value=_.value||"",l(S,v.currentOffset(),v.currentPosition()),{node:S})}function p(v,_){const b=v.context(),k=o(7,b.offset,b.startLoc);return k.value=_,l(k,v.currentOffset(),v.currentPosition()),k}function m(v){const _=v.context(),b=o(6,_.offset,_.startLoc);let k=v.nextToken();if(k.type===8){const w=f(v);b.modifier=w.node,k=w.nextConsumeToken||v.nextToken()}switch(k.type!==9&&a(v,Le.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Cn(k)),k=v.nextToken(),k.type===2&&(k=v.nextToken()),k.type){case 10:k.value==null&&a(v,Le.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Cn(k)),b.key=p(v,k.value||"");break;case 4:k.value==null&&a(v,Le.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Cn(k)),b.key=u(v,k.value||"");break;case 5:k.value==null&&a(v,Le.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Cn(k)),b.key=s(v,k.value||"");break;case 6:k.value==null&&a(v,Le.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Cn(k)),b.key=c(v,k.value||"");break;default:{a(v,Le.UNEXPECTED_EMPTY_LINKED_KEY,_.lastStartLoc,0);const w=v.context(),S=o(7,w.offset,w.startLoc);return S.value="",l(S,w.offset,w.startLoc),b.key=S,l(b,w.offset,w.startLoc),{nextConsumeToken:k,node:b}}}return l(b,v.currentOffset(),v.currentPosition()),{node:b}}function h(v){const _=v.context(),b=o(2,_.currentType===1?v.currentOffset():_.offset,_.currentType===1?_.endLoc:_.startLoc);b.items=[];let k=null;do{const w=k||v.nextToken();switch(k=null,w.type){case 0:w.value==null&&a(v,Le.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Cn(w)),b.items.push(i(v,w.value||""));break;case 5:w.value==null&&a(v,Le.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Cn(w)),b.items.push(s(v,w.value||""));break;case 4:w.value==null&&a(v,Le.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Cn(w)),b.items.push(u(v,w.value||""));break;case 6:w.value==null&&a(v,Le.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Cn(w)),b.items.push(c(v,w.value||""));break;case 7:{const S=m(v);b.items.push(S.node),k=S.nextConsumeToken||null;break}}}while(_.currentType!==13&&_.currentType!==1);return l(b,_.currentType===1?_.lastOffset:v.currentOffset(),_.currentType===1?_.lastEndLoc:v.currentPosition()),b}function d(v,_,b,k){const w=v.context();let S=k.items.length===0;const N=o(1,_,b);N.cases=[],N.cases.push(k);do{const V=h(v);S||(S=V.items.length===0),N.cases.push(V)}while(w.currentType!==13);return S&&a(v,Le.MUST_HAVE_MESSAGES_IN_PLURAL,b,0),l(N,v.currentOffset(),v.currentPosition()),N}function g(v){const _=v.context(),{offset:b,startLoc:k}=_,w=h(v);return _.currentType===13?w:d(v,b,k,w)}function y(v){const _=d6(v,kt({},e)),b=_.context(),k=o(0,b.offset,b.startLoc);return t&&k.loc&&(k.loc.source=v),k.body=g(_),e.onCacheKey&&(k.cacheKey=e.onCacheKey(v)),b.currentType!==13&&a(_,Le.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,v[b.offset]||""),l(k,_.currentOffset(),_.currentPosition()),k}return{parse:y}}function Cn(e){if(e.type===13)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function v6(e,t={}){const r={ast:e,helpers:new Set};return{context:()=>r,helper:l=>(r.helpers.add(l),l)}}function Mf(e,t){for(let r=0;r<e.length;r++)ic(e[r],t)}function ic(e,t){switch(e.type){case 1:Mf(e.cases,t),t.helper("plural");break;case 2:Mf(e.items,t);break;case 6:ic(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 g6(e,t={}){const r=v6(e);r.helper("normalize"),e.body&&ic(e.body,r);const a=r.context();e.helpers=Array.from(a.helpers)}function _6(e){const t=e.body;return t.type===2?Lf(t):t.cases.forEach(r=>Lf(r)),e}function Lf(e){if(e.items.length===1){const t=e.items[0];(t.type===3||t.type===9)&&(e.static=t.value,delete t.value)}else{const t=[];for(let r=0;r<e.items.length;r++){const a=e.items[r];if(!(a.type===3||a.type===9)||a.value==null)break;t.push(a.value)}if(t.length===e.items.length){e.static=oc(t);for(let r=0;r<e.items.length;r++){const a=e.items[r];(a.type===3||a.type===9)&&delete a.value}}}}var y6="minifier";function jr(e){switch(e.t=e.type,e.type){case 0:{const t=e;jr(t.body),t.b=t.body,delete t.body;break}case 1:{const t=e,r=t.cases;for(let a=0;a<r.length;a++)jr(r[a]);t.c=r,delete t.cases;break}case 2:{const t=e,r=t.items;for(let a=0;a<r.length;a++)jr(r[a]);t.i=r,delete t.items,t.static&&(t.s=t.static,delete t.static);break}case 3:case 9:case 8:case 7:{const t=e;t.value&&(t.v=t.value,delete t.value);break}case 6:{const t=e;jr(t.key),t.k=t.key,delete t.key,t.modifier&&(jr(t.modifier),t.m=t.modifier,delete t.modifier);break}case 5:{const t=e;t.i=t.index,delete t.index;break}case 4:{const t=e;t.k=t.key,delete t.key;break}default:if(process.env.NODE_ENV!=="production")throw da(Le.UNHANDLED_MINIFIER_NODE_TYPE,null,{domain:y6,args:[e.type]})}delete e.type}var b6="parser";function w6(e,t){const{sourceMap:r,filename:a,breakLineCode:o,needIndent:l}=t,i=t.location!==!1,s={filename:a,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:o,needIndent:l,indentLevel:0};i&&e.loc&&(s.source=e.loc.source);const u=()=>s;function c(y,v){s.code+=y}function f(y,v=!0){const _=v?o:"";c(l?_+" ".repeat(y):_)}function p(y=!0){const v=++s.indentLevel;y&&f(v)}function m(y=!0){const v=--s.indentLevel;y&&f(v)}function h(){f(s.indentLevel)}return{context:u,push:c,indent:p,deindent:m,newline:h,helper:y=>`_${y}`,needIndent:()=>s.needIndent}}function $6(e,t){const{helper:r}=e;e.push(`${r("linked")}(`),oa(e,t.key),t.modifier?(e.push(", "),oa(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function k6(e,t){const{helper:r,needIndent:a}=e;e.push(`${r("normalize")}([`),e.indent(a());const o=t.items.length;for(let l=0;l<o&&(oa(e,t.items[l]),l!==o-1);l++)e.push(", ");e.deindent(a()),e.push("])")}function E6(e,t){const{helper:r,needIndent:a}=e;if(t.cases.length>1){e.push(`${r("plural")}([`),e.indent(a());const o=t.cases.length;for(let l=0;l<o&&(oa(e,t.cases[l]),l!==o-1);l++)e.push(", ");e.deindent(a()),e.push("])")}}function C6(e,t){t.body?oa(e,t.body):e.push("null")}function oa(e,t){const{helper:r}=e;switch(t.type){case 0:C6(e,t);break;case 1:E6(e,t);break;case 2:k6(e,t);break;case 6:$6(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(`${r("interpolate")}(${r("list")}(${t.index}))`,t);break;case 4:e.push(`${r("interpolate")}(${r("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 da(Le.UNHANDLED_CODEGEN_NODE_TYPE,null,{domain:b6,args:[t.type]})}}var S6=(e,t={})=>{const r=ke(t.mode)?t.mode:"normal",a=ke(t.filename)?t.filename:"message.intl",o=!!t.sourceMap,l=t.breakLineCode!=null?t.breakLineCode:r==="arrow"?";":`
320
320
  `,i=t.needIndent?t.needIndent:r!=="arrow",s=e.helpers||[],u=w6(e,{mode:r,filename:a,sourceMap:o,breakLineCode:l,needIndent:i});u.push(r==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),u.indent(i),s.length>0&&(u.push(`const { ${oc(s.map(p=>`${p}: _${p}`),", ")} } = ctx`),u.newline()),u.push("return "),oa(u,e),u.deindent(i),u.push("}"),delete e.helpers;const{code:c,map:f}=u.context();return{ast:e,code:c,map:f?f.toJSON():void 0}};function T6(e,t={}){const r=kt({},t),a=!!r.jit,o=!!r.minify,l=r.optimize==null?!0:r.optimize,i=h6(r).parse(e);return a?(l&&_6(i),o&&jr(i),{ast:i,code:""}):(g6(i,r),S6(i,r))}function N6(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(kr().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(kr().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}function ln(e){return qe(e)&&sc(e)===0&&(pn(e,"b")||pn(e,"body"))}var yh=["b","body"];function D6(e){return pr(e,yh)}var bh=["c","cases"];function x6(e){return pr(e,bh,[])}var wh=["s","static"];function B6(e){return pr(e,wh)}var $h=["i","items"];function A6(e){return pr(e,$h,[])}var kh=["t","type"];function sc(e){return pr(e,kh)}var Eh=["v","value"];function Lo(e,t){const r=pr(e,Eh);if(r!=null)return r;throw Za(t)}var Ch=["m","modifier"];function V6(e){return pr(e,Ch)}var Sh=["k","key"];function M6(e){const t=pr(e,Sh);if(t)return t;throw Za(6)}function pr(e,t,r){for(let a=0;a<t.length;a++){const o=t[a];if(pn(e,o)&&e[o]!=null)return e[o]}return r}var Th=[...yh,...bh,...wh,...$h,...Sh,...Ch,...Eh,...kh];function Za(e){return new Error(`unhandled node type: ${e}`)}function as(e){return r=>L6(r,e)}function L6(e,t){const r=D6(t);if(r==null)throw Za(0);if(sc(r)===1){const a=x6(r);return e.plural(a.reduce((o,l)=>[...o,Pf(e,l)],[]))}else return Pf(e,r)}function Pf(e,t){const r=B6(t);if(r!=null)return e.type==="text"?r:e.normalize([r]);{const a=A6(t).reduce((o,l)=>[...o,tu(e,l)],[]);return e.normalize(a)}}function tu(e,t){const r=sc(t);switch(r){case 3:return Lo(t,r);case 9:return Lo(t,r);case 4:{const a=t;if(pn(a,"k")&&a.k)return e.interpolate(e.named(a.k));if(pn(a,"key")&&a.key)return e.interpolate(e.named(a.key));throw Za(r)}case 5:{const a=t;if(pn(a,"i")&&yt(a.i))return e.interpolate(e.list(a.i));if(pn(a,"index")&&yt(a.index))return e.interpolate(e.list(a.index));throw Za(r)}case 6:{const a=t,o=V6(a),l=M6(a);return e.linked(tu(e,l),o?tu(e,o):void 0,e.type)}case 7:return Lo(t,r);case 8:return Lo(t,r);default:throw new Error(`unhandled node on format message part: ${r}`)}}var P6="Detected HTML in '{source}' message. Recommend not using HTML messages to avoid XSS.";function I6(e,t){t&&a6(e)&&In(di(P6,{source:e}))}var O6=e=>e,Po=tt();function R6(e,t={}){let r=!1;const a=t.onError||n6;return t.onError=o=>{r=!0,a(o)},{...T6(e,t),detectError:r}}function F6(e,t){if(!__INTLIFY_DROP_MESSAGE_COMPILER__&&ke(e)){const r=Ke(t.warnHtmlMessage)?t.warnHtmlMessage:!0;process.env.NODE_ENV!=="production"&&I6(e,r);const a=(t.onCacheKey||O6)(e),o=Po[a];if(o)return o;const{ast:l,detectError:i}=R6(e,{...t,location:process.env.NODE_ENV!=="production",jit:!0}),s=as(l);return i?s:Po[a]=s}else{if(process.env.NODE_ENV!=="production"&&!ln(e))return In(`the message that is resolve with key '${t.key}' is not supported for jit compilation`),(()=>e);const r=e.cacheKey;if(r){const a=Po[r];return a||(Po[r]=as(e))}else return as(e)}}var Qa=null;function z6(e){Qa=e}function U6(e,t,r){Qa&&Qa.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:r})}var H6=j6("function:translate");function j6(e){return t=>Qa&&Qa.emit(e,t)}var Vt={INVALID_ARGUMENT:17,INVALID_DATE_ARGUMENT:18,INVALID_ISO_DATE_ARGUMENT:19,NOT_SUPPORT_NON_STRING_MESSAGE:20,NOT_SUPPORT_LOCALE_PROMISE_VALUE:21,NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:22,NOT_SUPPORT_LOCALE_TYPE:23};function Gn(e){return da(e,null,process.env.NODE_ENV!=="production"?{messages:W6}:void 0)}var W6={[Vt.INVALID_ARGUMENT]:"Invalid arguments",[Vt.INVALID_DATE_ARGUMENT]:"The date provided is an invalid Date object.Make sure your Date represents a valid date.",[Vt.INVALID_ISO_DATE_ARGUMENT]:"The argument provided is not a valid ISO date string",[Vt.NOT_SUPPORT_NON_STRING_MESSAGE]:"Not support non-string message",[Vt.NOT_SUPPORT_LOCALE_PROMISE_VALUE]:"cannot support promise value",[Vt.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION]:"cannot support async function",[Vt.NOT_SUPPORT_LOCALE_TYPE]:"cannot support locale type"};function uc(e,t){return t.locale!=null?If(t.locale):If(e.locale)}var os;function If(e){if(ke(e))return e;if(nt(e)){if(e.resolvedOnce&&os!=null)return os;if(e.constructor.name==="Function"){const t=e();if(Jx(t))throw Gn(Vt.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return os=t}else throw Gn(Vt.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw Gn(Vt.NOT_SUPPORT_LOCALE_TYPE)}function G6(e,t,r){return[...new Set([r,...st(t)?t:qe(t)?Object.keys(t):ke(t)?[t]:[r]])]}function Nh(e,t,r){const a=ke(r)?r:eo,o=e;o.__localeChainCache||(o.__localeChainCache=new Map);let l=o.__localeChainCache.get(a);if(!l){l=[];let i=[r];for(;st(i);)i=Of(l,i,t);const s=st(t)||!Oe(t)?t:t.default?t.default:null;i=ke(s)?[s]:s,st(i)&&Of(l,i,!1),o.__localeChainCache.set(a,l)}return l}function Of(e,t,r){let a=!0;for(let o=0;o<t.length&&Ke(a);o++){const l=t[o];ke(l)&&(a=q6(e,t[o],r))}return a}function q6(e,t,r){let a;const o=t.split("-");do a=Y6(e,o.join("-"),r),o.splice(-1,1);while(o.length&&a===!0);return a}function Y6(e,t,r){let a=!1;if(!e.includes(t)&&(a=!0,t)){a=t[t.length-1]!=="!";const o=t.replace(/!/g,"");e.push(o),(st(r)||Oe(r))&&r[o]&&(a=r[o])}return a}var mr=[];mr[0]={w:[0],i:[3,0],"[":[4],o:[7]};mr[1]={w:[1],".":[2],"[":[4],o:[7]};mr[2]={w:[2],i:[3,0],0:[3,0]};mr[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};mr[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};mr[5]={"'":[4,0],o:8,l:[5,0]};mr[6]={'"':[4,0],o:8,l:[6,0]};var X6=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function K6(e){return X6.test(e)}function J6(e){const t=e.charCodeAt(0);return t===e.charCodeAt(e.length-1)&&(t===34||t===39)?e.slice(1,-1):e}function Z6(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 Q6(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:K6(t)?J6(t):"*"+t}function eB(e){const t=[];let r=-1,a=0,o=0,l,i,s,u,c,f,p;const m=[];m[0]=()=>{i===void 0?i=s:i+=s},m[1]=()=>{i!==void 0&&(t.push(i),i=void 0)},m[2]=()=>{m[0](),o++},m[3]=()=>{if(o>0)o--,a=4,m[0]();else{if(o=0,i===void 0||(i=Q6(i),i===!1))return!1;m[1]()}};function h(){const d=e[r+1];if(a===5&&d==="'"||a===6&&d==='"')return r++,s="\\"+d,m[0](),!0}for(;a!==null;)if(r++,l=e[r],!(l==="\\"&&h())){if(u=Z6(l),p=mr[a],c=p[u]||p.l||8,c===8||(a=c[0],c[1]!==void 0&&(f=m[c[1]],f&&(s=l,f()===!1))))return;if(a===7)return t}}var Rf=new Map;function tB(e,t){return qe(e)?e[t]:null}function nB(e,t){if(!qe(e))return null;let r=Rf.get(t);if(r||(r=eB(t),r&&Rf.set(t,r)),!r)return null;const a=r.length;let o=e,l=0;for(;l<a;){const i=r[l];if(Th.includes(i)&&ln(o))return null;const s=o[i];if(s===void 0||nt(o))return null;o=s,l++}return o}var Rt={NOT_FOUND_KEY:1,FALLBACK_TO_TRANSLATE:2,CANNOT_FORMAT_NUMBER:3,FALLBACK_TO_NUMBER_FORMAT:4,CANNOT_FORMAT_DATE:5,FALLBACK_TO_DATE_FORMAT:6,EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:7};var rB={[Rt.NOT_FOUND_KEY]:"Not found '{key}' key in '{locale}' locale messages.",[Rt.FALLBACK_TO_TRANSLATE]:"Fall back to translate '{key}' key with '{target}' locale.",[Rt.CANNOT_FORMAT_NUMBER]:"Cannot format a number value due to not supported Intl.NumberFormat.",[Rt.FALLBACK_TO_NUMBER_FORMAT]:"Fall back to number format '{key}' key with '{target}' locale.",[Rt.CANNOT_FORMAT_DATE]:"Cannot format a date value due to not supported Intl.DateTimeFormat.",[Rt.FALLBACK_TO_DATE_FORMAT]:"Fall back to datetime format '{key}' key with '{target}' locale.",[Rt.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER]:"This project is using Custom Message Compiler, which is an experimental feature. It may receive breaking changes or be removed in the future."};function Br(e,...t){return di(rB[e],...t)}var aB="11.2.8";var eo="en-US";var Ff=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function oB(){return{upper:(e,t)=>t==="text"&&ke(e)?e.toUpperCase():t==="vnode"&&qe(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&ke(e)?e.toLowerCase():t==="vnode"&&qe(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&ke(e)?Ff(e):t==="vnode"&&qe(e)&&"__v_isVNode"in e?Ff(e.children):e}}var Dh;function lB(e){Dh=e}var xh;function iB(e){xh=e}var Bh;function sB(e){Bh=e}var Ah=null,zf=e=>{Ah=e},uB=()=>Ah,Vh=null,Uf=e=>{Vh=e},cB=()=>Vh,Hf=0;function dB(e={}){const t=nt(e.onWarn)?e.onWarn:In,r=ke(e.version)?e.version:aB,a=ke(e.locale)||nt(e.locale)?e.locale:eo,o=nt(a)?eo:a,l=st(e.fallbackLocale)||Oe(e.fallbackLocale)||ke(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:o,i=Oe(e.messages)?e.messages:ls(o),s=Oe(e.datetimeFormats)?e.datetimeFormats:ls(o),u=Oe(e.numberFormats)?e.numberFormats:ls(o),c=kt(tt(),e.modifiers,oB()),f=e.pluralRules||tt(),p=nt(e.missing)?e.missing:null,m=Ke(e.missingWarn)||aa(e.missingWarn)?e.missingWarn:!0,h=Ke(e.fallbackWarn)||aa(e.fallbackWarn)?e.fallbackWarn:!0,d=!!e.fallbackFormat,g=!!e.unresolving,y=nt(e.postTranslation)?e.postTranslation:null,v=Oe(e.processor)?e.processor:null,_=Ke(e.warnHtmlMessage)?e.warnHtmlMessage:!0,b=!!e.escapeParameter,k=nt(e.messageCompiler)?e.messageCompiler:Dh;process.env.NODE_ENV!=="production"&&nt(e.messageCompiler)&&rc(Br(Rt.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));const w=nt(e.messageResolver)?e.messageResolver:xh||tB,S=nt(e.localeFallbacker)?e.localeFallbacker:Bh||G6,N=qe(e.fallbackContext)?e.fallbackContext:void 0,V=e,x=qe(V.__datetimeFormatters)?V.__datetimeFormatters:new Map,M=qe(V.__numberFormatters)?V.__numberFormatters:new Map,D=qe(V.__meta)?V.__meta:{};Hf++;const C={version:r,cid:Hf,locale:a,fallbackLocale:l,messages:i,modifiers:c,pluralRules:f,missing:p,missingWarn:m,fallbackWarn:h,fallbackFormat:d,unresolving:g,postTranslation:y,processor:v,warnHtmlMessage:_,escapeParameter:b,messageCompiler:k,messageResolver:w,localeFallbacker:S,fallbackContext:N,onWarn:t,__meta:D};return C.datetimeFormats=s,C.numberFormats=u,C.__datetimeFormatters=x,C.__numberFormatters=M,process.env.NODE_ENV!=="production"&&(C.__v_emitter=V.__v_emitter!=null?V.__v_emitter:void 0),(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&U6(C,r,D),C}var ls=e=>({[e]:tt()});function pi(e,t){return e instanceof RegExp?e.test(t):e}function Mh(e,t){return e instanceof RegExp?e.test(t):e}function cc(e,t,r,a,o){const{missing:l,onWarn:i}=e;if(process.env.NODE_ENV!=="production"){const s=e.__v_emitter;s&&s.emit("missing",{locale:r,key:t,type:o,groupId:`${o}:${t}`})}if(l!==null){const s=l(e,r,t,o);return ke(s)?s:t}else return process.env.NODE_ENV!=="production"&&Mh(a,t)&&i(Br(Rt.NOT_FOUND_KEY,{key:t,locale:r})),t}function wa(e,t,r){const a=e;a.__localeChainCache=new Map,e.localeFallbacker(e,r,t)}function Lh(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function fB(e,t){const r=t.indexOf(e);if(r===-1)return!1;for(let a=r+1;a<t.length;a++)if(Lh(e,t[a]))return!0;return!1}var jf=typeof Intl<"u",Ph={dateTimeFormat:jf&&typeof Intl.DateTimeFormat<"u",numberFormat:jf&&typeof Intl.NumberFormat<"u"};function Wf(e,...t){const{datetimeFormats:r,unresolving:a,fallbackLocale:o,onWarn:l,localeFallbacker:i}=e,{__datetimeFormatters:s}=e;if(process.env.NODE_ENV!=="production"&&!Ph.dateTimeFormat)return l(Br(Rt.CANNOT_FORMAT_DATE)),"";const[u,c,f,p]=nu(...t),m=Ke(f.missingWarn)?f.missingWarn:e.missingWarn,h=Ke(f.fallbackWarn)?f.fallbackWarn:e.fallbackWarn,d=!!f.part,g=uc(e,f),y=i(e,o,g);if(!ke(u)||u==="")return new Intl.DateTimeFormat(g,p).format(c);let v={},_,b=null,k=g,w=null;const S="datetime format";for(let x=0;x<y.length;x++){if(_=w=y[x],process.env.NODE_ENV!=="production"&&g!==_&&pi(h,u)&&l(Br(Rt.FALLBACK_TO_DATE_FORMAT,{key:u,target:_})),process.env.NODE_ENV!=="production"&&g!==_){const M=e.__v_emitter;M&&M.emit("fallback",{type:S,key:u,from:k,to:w,groupId:`${S}:${u}`})}if(v=r[_]||{},b=v[u],Oe(b))break;cc(e,u,_,m,S),k=w}if(!Oe(b)||!ke(_))return a?-1:u;let N=`${_}__${u}`;fi(p)||(N=`${N}__${JSON.stringify(p)}`);let V=s.get(N);return V||(V=new Intl.DateTimeFormat(_,kt({},b,p)),s.set(N,V)),d?V.formatToParts(c):V.format(c)}var Ih=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function nu(...e){const[t,r,a,o]=e,l=tt();let i=tt(),s;if(ke(t)){const u=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!u)throw Gn(Vt.INVALID_ISO_DATE_ARGUMENT);const c=u[3]?u[3].trim().startsWith("T")?`${u[1].trim()}${u[3].trim()}`:`${u[1].trim()}T${u[3].trim()}`:u[1].trim();s=new Date(c);try{s.toISOString()}catch{throw Gn(Vt.INVALID_ISO_DATE_ARGUMENT)}}else if(qx(t)){if(isNaN(t.getTime()))throw Gn(Vt.INVALID_DATE_ARGUMENT);s=t}else if(yt(t))s=t;else throw Gn(Vt.INVALID_ARGUMENT);return ke(r)?l.key=r:Oe(r)&&Object.keys(r).forEach(u=>{Ih.includes(u)?i[u]=r[u]:l[u]=r[u]}),ke(a)?l.locale=a:Oe(a)&&(i=a),Oe(o)&&(i=o),[l.key||"",s,l,i]}function Gf(e,t,r){const a=e;for(const o in r){const l=`${t}__${o}`;a.__datetimeFormatters.has(l)&&a.__datetimeFormatters.delete(l)}}function qf(e,...t){const{numberFormats:r,unresolving:a,fallbackLocale:o,onWarn:l,localeFallbacker:i}=e,{__numberFormatters:s}=e;if(process.env.NODE_ENV!=="production"&&!Ph.numberFormat)return l(Br(Rt.CANNOT_FORMAT_NUMBER)),"";const[u,c,f,p]=ru(...t),m=Ke(f.missingWarn)?f.missingWarn:e.missingWarn,h=Ke(f.fallbackWarn)?f.fallbackWarn:e.fallbackWarn,d=!!f.part,g=uc(e,f),y=i(e,o,g);if(!ke(u)||u==="")return new Intl.NumberFormat(g,p).format(c);let v={},_,b=null,k=g,w=null;const S="number format";for(let x=0;x<y.length;x++){if(_=w=y[x],process.env.NODE_ENV!=="production"&&g!==_&&pi(h,u)&&l(Br(Rt.FALLBACK_TO_NUMBER_FORMAT,{key:u,target:_})),process.env.NODE_ENV!=="production"&&g!==_){const M=e.__v_emitter;M&&M.emit("fallback",{type:S,key:u,from:k,to:w,groupId:`${S}:${u}`})}if(v=r[_]||{},b=v[u],Oe(b))break;cc(e,u,_,m,S),k=w}if(!Oe(b)||!ke(_))return a?-1:u;let N=`${_}__${u}`;fi(p)||(N=`${N}__${JSON.stringify(p)}`);let V=s.get(N);return V||(V=new Intl.NumberFormat(_,kt({},b,p)),s.set(N,V)),d?V.formatToParts(c):V.format(c)}var Oh=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function ru(...e){const[t,r,a,o]=e,l=tt();let i=tt();if(!yt(t))throw Gn(Vt.INVALID_ARGUMENT);const s=t;return ke(r)?l.key=r:Oe(r)&&Object.keys(r).forEach(u=>{Oh.includes(u)?i[u]=r[u]:l[u]=r[u]}),ke(a)?l.locale=a:Oe(a)&&(i=a),Oe(o)&&(i=o),[l.key||"",s,l,i]}function Yf(e,t,r){const a=e;for(const o in r){const l=`${t}__${o}`;a.__numberFormatters.has(l)&&a.__numberFormatters.delete(l)}}var pB=e=>e,mB=e=>"",hB="text",vB=e=>e.length===0?"":oc(e),gB=Zx;function Xf(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function _B(e){const t=yt(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(yt(e.named.count)||yt(e.named.n))?yt(e.named.count)?e.named.count:yt(e.named.n)?e.named.n:t:t}function yB(e,t){t.count||(t.count=e),t.n||(t.n=e)}function bB(e={}){const t=e.locale,r=_B(e),a=qe(e.pluralRules)&&ke(t)&&nt(e.pluralRules[t])?e.pluralRules[t]:Xf,o=qe(e.pluralRules)&&ke(t)&&nt(e.pluralRules[t])?Xf:void 0,l=v=>v[a(r,v.length,o)],i=e.list||[],s=v=>i[v],u=e.named||tt();yt(e.pluralIndex)&&yB(r,u);const c=v=>u[v];function f(v,_){const b=nt(e.messages)?e.messages(v,!!_):qe(e.messages)?e.messages[v]:!1;return b||(e.parent?e.parent.message(v):mB)}const p=v=>e.modifiers?e.modifiers[v]:pB,m=Oe(e.processor)&&nt(e.processor.normalize)?e.processor.normalize:vB,h=Oe(e.processor)&&nt(e.processor.interpolate)?e.processor.interpolate:gB,d=Oe(e.processor)&&ke(e.processor.type)?e.processor.type:hB,y={list:s,named:c,plural:l,linked:(v,..._)=>{const[b,k]=_;let w="text",S="";_.length===1?qe(b)?(S=b.modifier||S,w=b.type||w):ke(b)&&(S=b||S):_.length===2&&(ke(b)&&(S=b||S),ke(k)&&(w=k||w));const N=f(v,!0)(y),V=w==="vnode"&&st(N)&&S?N[0]:N;return S?p(S)(V,w):V},message:f,type:d,interpolate:h,normalize:m,values:kt(tt(),i,u)};return y}var Kf=()=>"",rn=e=>nt(e);function Jf(e,...t){const{fallbackFormat:r,postTranslation:a,unresolving:o,messageCompiler:l,fallbackLocale:i,messages:s}=e,[u,c]=au(...t),f=Ke(c.missingWarn)?c.missingWarn:e.missingWarn,p=Ke(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn,m=Ke(c.escapeParameter)?c.escapeParameter:e.escapeParameter,h=!!c.resolvedMessage,d=ke(c.default)||Ke(c.default)?Ke(c.default)?l?u:()=>u:c.default:r?l?u:()=>u:null,g=r||d!=null&&(ke(d)||nt(d)),y=uc(e,c);m&&wB(c);let[v,_,b]=h?[u,y,s[y]||tt()]:Rh(e,u,y,i,p,f),k=v,w=u;if(!h&&!(ke(k)||ln(k)||rn(k))&&g&&(k=d,w=k),!h&&(!(ke(k)||ln(k)||rn(k))||!ke(_)))return o?-1:u;if(process.env.NODE_ENV!=="production"&&ke(k)&&e.messageCompiler==null)return In(`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 '${u}'.`),u;let S=!1;const N=()=>{S=!0},V=rn(k)?k:Fh(e,u,_,k,w,N);if(S)return k;const x=$B(e,V,bB(CB(e,_,b,c)));let M=a?a(x,u):x;if(m&&ke(M)&&(M=Xx(M)),process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const D={timestamp:Date.now(),key:ke(u)?u:rn(k)?k.key:"",locale:_||(rn(k)?k.locale:""),format:ke(k)?k:rn(k)?k.source:"",message:M};D.meta=kt({},e.__meta,uB()||{}),H6(D)}return M}function wB(e){st(e.list)?e.list=e.list.map(t=>ke(t)?xf(t):t):qe(e.named)&&Object.keys(e.named).forEach(t=>{ke(e.named[t])&&(e.named[t]=xf(e.named[t]))})}function Rh(e,t,r,a,o,l){const{messages:i,onWarn:s,messageResolver:u,localeFallbacker:c}=e,f=c(e,a,r);let p=tt(),m,h=null,d=r,g=null;const y="translate";for(let v=0;v<f.length;v++){if(m=g=f[v],process.env.NODE_ENV!=="production"&&r!==m&&!Lh(r,m)&&pi(o,t)&&s(Br(Rt.FALLBACK_TO_TRANSLATE,{key:t,target:m})),process.env.NODE_ENV!=="production"&&r!==m){const w=e.__v_emitter;w&&w.emit("fallback",{type:y,key:t,from:d,to:g,groupId:`${y}:${t}`})}p=i[m]||tt();let _=null,b,k;if(process.env.NODE_ENV!=="production"&&yn&&(_=window.performance.now(),b="intlify-message-resolve-start",k="intlify-message-resolve-end",en&&en(b)),(h=u(p,t))===null&&(h=p[t]),process.env.NODE_ENV!=="production"&&yn){const w=window.performance.now(),S=e.__v_emitter;S&&_&&h&&S.emit("message-resolve",{type:"message-resolve",key:t,message:h,time:w-_,groupId:`${y}:${t}`}),b&&k&&en&&xr&&(en(k),xr("intlify message resolve",b,k))}if(ke(h)||ln(h)||rn(h))break;if(!fB(m,f)){const w=cc(e,t,m,l,y);w!==t&&(h=w)}d=g}return[h,m,p]}function Fh(e,t,r,a,o,l){const{messageCompiler:i,warnHtmlMessage:s}=e;if(rn(a)){const m=a;return m.locale=m.locale||r,m.key=m.key||t,m}if(i==null){const m=(()=>a);return m.locale=r,m.key=t,m}let u=null,c,f;process.env.NODE_ENV!=="production"&&yn&&(u=window.performance.now(),c="intlify-message-compilation-start",f="intlify-message-compilation-end",en&&en(c));const p=i(a,kB(e,r,o,a,s,l));if(process.env.NODE_ENV!=="production"&&yn){const m=window.performance.now(),h=e.__v_emitter;h&&u&&h.emit("message-compilation",{type:"message-compilation",message:a,time:m-u,groupId:`translate:${t}`}),c&&f&&en&&xr&&(en(f),xr("intlify message compilation",c,f))}return p.locale=r,p.key=t,p.source=a,p}function $B(e,t,r){let a=null,o,l;process.env.NODE_ENV!=="production"&&yn&&(a=window.performance.now(),o="intlify-message-evaluation-start",l="intlify-message-evaluation-end",en&&en(o));const i=t(r);if(process.env.NODE_ENV!=="production"&&yn){const s=window.performance.now(),u=e.__v_emitter;u&&a&&u.emit("message-evaluation",{type:"message-evaluation",value:i,time:s-a,groupId:`translate:${t.key}`}),o&&l&&en&&xr&&(en(l),xr("intlify message evaluation",o,l))}return i}function au(...e){const[t,r,a]=e,o=tt();if(!ke(t)&&!yt(t)&&!rn(t)&&!ln(t))throw Gn(Vt.INVALID_ARGUMENT);const l=yt(t)?String(t):(rn(t),t);return yt(r)?o.plural=r:ke(r)?o.default=r:Oe(r)&&!fi(r)?o.named=r:st(r)&&(o.list=r),yt(a)?o.plural=a:ke(a)?o.default=a:Oe(a)&&kt(o,a),[l,o]}function kB(e,t,r,a,o,l){return{locale:t,key:r,warnHtmlMessage:o,onError:i=>{if(l&&l(i),process.env.NODE_ENV!=="production"){const s=EB(a),u=`Message compilation error: ${i.message}`,c=i.location&&s&&Qx(s,i.location.start.offset,i.location.end.offset),f=e.__v_emitter;f&&s&&f.emit("compile-error",{message:s,error:i.message,start:i.location&&i.location.start.offset,end:i.location&&i.location.end.offset,groupId:`translate:${r}`}),console.error(c?`${u}
321
321
  ${c}`:u)}else throw i},onCacheKey:i=>Wx(t,r,i)}}function EB(e){if(ke(e))return e;if(e.loc&&e.loc.source)return e.loc.source}function CB(e,t,r,a){const{modifiers:o,pluralRules:l,messageResolver:i,fallbackLocale:s,fallbackWarn:u,missingWarn:c,fallbackContext:f}=e,m={locale:t,modifiers:o,pluralRules:l,messages:(h,d)=>{let g=i(r,h);if(g==null&&(f||d)){const[,,y]=Rh(f||e,h,t,s,u,c);g=i(y,h)}if(ke(g)||ln(g)){let y=!1;const _=Fh(e,h,t,g,h,()=>{y=!0});return y?Kf:_}else return rn(g)?g:Kf}};return e.processor&&(m.processor=e.processor),a.list&&(m.list=a.list),a.named&&(m.named=a.named),yt(a.plural)&&(m.pluralIndex=a.plural),m}N6();function SB(){return zh().__VUE_DEVTOOLS_GLOBAL_HOOK__}function zh(){return typeof navigator<"u"&&typeof window<"u"?window:typeof globalThis<"u"?globalThis:{}}const TB=typeof Proxy=="function",NB="devtools-plugin:setup",DB="plugin:settings:set";var Rr,ou;function xB(){var e;return Rr!==void 0||(typeof window<"u"&&window.performance?(Rr=!0,ou=window.performance):typeof globalThis<"u"&&(!((e=globalThis.perf_hooks)===null||e===void 0)&&e.performance)?(Rr=!0,ou=globalThis.perf_hooks.performance):Rr=!1),Rr}function BB(){return xB()?ou.now():Date.now()}var AB=class{constructor(e,t){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=e,this.hook=t;const r={};if(e.settings)for(const l in e.settings)r[l]=e.settings[l].defaultValue;const a=`__vue-devtools-plugin-settings__${e.id}`;let o=Object.assign({},r);try{const l=localStorage.getItem(a),i=JSON.parse(l);Object.assign(o,i)}catch{}this.fallbacks={getSettings(){return o},setSettings(l){try{localStorage.setItem(a,JSON.stringify(l))}catch{}o=l},now(){return BB()}},t&&t.on(DB,(l,i)=>{l===this.plugin.id&&this.fallbacks.setSettings(i)}),this.proxiedOn=new Proxy({},{get:(l,i)=>this.target?this.target.on[i]:(...s)=>{this.onQueue.push({method:i,args:s})}}),this.proxiedTarget=new Proxy({},{get:(l,i)=>this.target?this.target[i]:i==="on"?this.proxiedOn:Object.keys(this.fallbacks).includes(i)?(...s)=>(this.targetQueue.push({method:i,args:s,resolve:()=>{}}),this.fallbacks[i](...s)):(...s)=>new Promise(u=>{this.targetQueue.push({method:i,args:s,resolve:u})})})}async setRealTarget(e){this.target=e;for(const t of this.onQueue)this.target.on[t.method](...t.args);for(const t of this.targetQueue)t.resolve(await this.target[t.method](...t.args))}};function VB(e,t){const r=e,a=zh(),o=SB(),l=TB&&r.enableEarlyProxy;if(o&&(a.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!l))o.emit(NB,e,t);else{const i=l?new AB(r,o):null;(a.__VUE_DEVTOOLS_PLUGINS__=a.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:r,setupFn:t,proxy:i}),i&&t(i.proxiedTarget)}}var MB="11.2.8";function LB(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(kr().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(kr().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(kr().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(kr().__INTLIFY_PROD_DEVTOOLS__=!1)}var rt={UNEXPECTED_RETURN_TYPE:24,INVALID_ARGUMENT:25,MUST_BE_CALL_SETUP_TOP:26,NOT_INSTALLED:27,REQUIRED_VALUE:28,INVALID_VALUE:29,CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:30,NOT_INSTALLED_WITH_PROVIDE:31,UNEXPECTED_ERROR:32,NOT_COMPATIBLE_LEGACY_VUE_I18N:33,NOT_AVAILABLE_COMPOSITION_IN_LEGACY:34};function Wt(e,...t){return da(e,null,process.env.NODE_ENV!=="production"?{messages:PB,args:t}:void 0)}var PB={[rt.UNEXPECTED_RETURN_TYPE]:"Unexpected return type in composer",[rt.INVALID_ARGUMENT]:"Invalid argument",[rt.MUST_BE_CALL_SETUP_TOP]:"Must be called at the top of a `setup` function",[rt.NOT_INSTALLED]:"Need to install with `app.use` function",[rt.UNEXPECTED_ERROR]:"Unexpected error",[rt.REQUIRED_VALUE]:"Required in value: {0}",[rt.INVALID_VALUE]:"Invalid value",[rt.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN]:"Cannot setup vue-devtools plugin",[rt.NOT_INSTALLED_WITH_PROVIDE]:"Need to install with `provide` function",[rt.NOT_COMPATIBLE_LEGACY_VUE_I18N]:"Not compatible legacy VueI18n.",[rt.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]:"Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"},lu=wn("__translateVNode"),iu=wn("__datetimeParts"),su=wn("__numberParts"),Ar=wn("__enableEmitter"),to=wn("__disableEmitter"),Uh=wn("__setPluralRules");wn("__intlifyMeta");var Hh=wn("__injectWithOption"),uu=wn("__dispose"),an={FALLBACK_TO_ROOT:8,NOT_FOUND_PARENT_SCOPE:9,IGNORE_OBJ_FLATTEN:10,DEPRECATE_LEGACY_MODE:11,DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE:12,DUPLICATE_USE_I18N_CALLING:13},IB={[an.FALLBACK_TO_ROOT]:"Fall back to {type} '{key}' with root locale.",[an.NOT_FOUND_PARENT_SCOPE]:"Not found parent scope. use the global scope.",[an.IGNORE_OBJ_FLATTEN]:"Ignore object flatten: '{key}' key has an string value",[an.DEPRECATE_LEGACY_MODE]:`Legacy API mode has been deprecated in v11. Use Composition API mode instead.
322
- About how to use the Composition API mode, see https://vue-i18n.intlify.dev/guide/advanced/composition.html`,[an.DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE]:"'v-t' has been deprecated in v11. Use translate APIs ('t' or '$t') instead.",[an.DUPLICATE_USE_I18N_CALLING]:"Duplicate `useI18n` calling by local scope. Please don't call it on local scope, due to it does not work properly in component."};function la(e,...t){return di(IB[e],...t)}function no(e){if(!qe(e)||ln(e))return e;for(const t in e)if(pn(e,t))if(!t.includes("."))qe(e[t])&&no(e[t]);else{const r=t.split("."),a=r.length-1;let o=e,l=!1;for(let i=0;i<a;i++){if(r[i]==="__proto__")throw new Error(`unsafe key: ${r[i]}`);if(r[i]in o||(o[r[i]]=tt()),!qe(o[r[i]])){process.env.NODE_ENV!=="production"&&In(la(an.IGNORE_OBJ_FLATTEN,{key:r[i]})),l=!0;break}o=o[r[i]]}if(l||(ln(o)?Th.includes(r[a])||delete e[t]:(o[r[a]]=e[t],delete e[t])),!ln(o)){const i=o[r[a]];qe(i)&&no(i)}}return e}function dc(e,t){const{messages:r,__i18n:a,messageResolver:o,flatJson:l}=t,i=Oe(r)?r:st(a)?tt():{[e]:tt()};if(st(a)&&a.forEach(s=>{if("locale"in s&&"resource"in s){const{locale:u,resource:c}=s;u?(i[u]=i[u]||tt(),tl(c,i[u])):tl(c,i)}else ke(s)&&tl(JSON.parse(s),i)}),o==null&&l)for(const s in i)pn(i,s)&&no(i[s]);return i}function jh(e){return e.type}function Wh(e,t,r){let a=qe(t.messages)?t.messages:tt();"__i18nGlobal"in r&&(a=dc(e.locale.value,{messages:a,__i18n:r.__i18nGlobal}));const o=Object.keys(a);if(o.length&&o.forEach(l=>{e.mergeLocaleMessage(l,a[l])}),qe(t.datetimeFormats)){const l=Object.keys(t.datetimeFormats);l.length&&l.forEach(i=>{e.mergeDateTimeFormat(i,t.datetimeFormats[i])})}if(qe(t.numberFormats)){const l=Object.keys(t.numberFormats);l.length&&l.forEach(i=>{e.mergeNumberFormat(i,t.numberFormats[i])})}}function Zf(e){return(0,n.createVNode)(n.Text,null,e,0)}function Qr(){const e="currentInstance";return e in n?n[e]:n.getCurrentInstance()}var Qf="__INTLIFY_META__",ep=()=>[],OB=()=>!1,tp=0;function np(e){return((t,r,a,o)=>e(r,a,Qr()||void 0,o))}var RB=()=>{const e=Qr();let t=null;return e&&(t=jh(e)[Qf])?{[Qf]:t}:null};function fc(e={}){const{__root:t,__injectWithOption:r}=e,a=t===void 0,o=e.flatJson,l=yn?n.ref:n.shallowRef;let i=Ke(e.inheritLocale)?e.inheritLocale:!0;const s=l(t&&i?t.locale.value:ke(e.locale)?e.locale:eo),u=l(t&&i?t.fallbackLocale.value:ke(e.fallbackLocale)||st(e.fallbackLocale)||Oe(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:s.value),c=l(dc(s.value,e)),f=l(Oe(e.datetimeFormats)?e.datetimeFormats:{[s.value]:{}}),p=l(Oe(e.numberFormats)?e.numberFormats:{[s.value]:{}});let m=t?t.missingWarn:Ke(e.missingWarn)||aa(e.missingWarn)?e.missingWarn:!0,h=t?t.fallbackWarn:Ke(e.fallbackWarn)||aa(e.fallbackWarn)?e.fallbackWarn:!0,d=t?t.fallbackRoot:Ke(e.fallbackRoot)?e.fallbackRoot:!0,g=!!e.fallbackFormat,y=nt(e.missing)?e.missing:null,v=nt(e.missing)?np(e.missing):null,_=nt(e.postTranslation)?e.postTranslation:null,b=t?t.warnHtmlMessage:Ke(e.warnHtmlMessage)?e.warnHtmlMessage:!0,k=!!e.escapeParameter;const w=t?t.modifiers:Oe(e.modifiers)?e.modifiers:{};let S=e.pluralRules||t&&t.pluralRules,N;N=(()=>{a&&Uf(null);const W={version:MB,locale:s.value,fallbackLocale:u.value,messages:c.value,modifiers:w,pluralRules:S,missing:v===null?void 0:v,missingWarn:m,fallbackWarn:h,fallbackFormat:g,unresolving:!0,postTranslation:_===null?void 0:_,warnHtmlMessage:b,escapeParameter:k,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};W.datetimeFormats=f.value,W.numberFormats=p.value,W.__datetimeFormatters=Oe(N)?N.__datetimeFormatters:void 0,W.__numberFormatters=Oe(N)?N.__numberFormatters:void 0,process.env.NODE_ENV!=="production"&&(W.__v_emitter=Oe(N)?N.__v_emitter:void 0);const te=dB(W);return a&&Uf(te),te})(),wa(N,s.value,u.value);function x(){return[s.value,u.value,c.value,f.value,p.value]}const M=(0,n.computed)({get:()=>s.value,set:W=>{N.locale=W,s.value=W}}),D=(0,n.computed)({get:()=>u.value,set:W=>{N.fallbackLocale=W,u.value=W,wa(N,s.value,W)}}),C=(0,n.computed)(()=>c.value),T=(0,n.computed)(()=>f.value),B=(0,n.computed)(()=>p.value);function P(){return nt(_)?_:null}function O(W){_=W,N.postTranslation=W}function L(){return y}function I(W){W!==null&&(v=np(W)),y=W,N.missing=v}function Z(W,te){return W!=="translate"||!te.resolvedMessage}const se=(W,te,he,Se,ze,He)=>{x();let ae;try{(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&zf(RB()),a||(N.fallbackContext=t?cB():void 0),ae=W(N)}finally{(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&zf(null),a||(N.fallbackContext=void 0)}if(he!=="translate exists"&&yt(ae)&&ae===-1||he==="translate exists"&&!ae){const[fe,$e]=te();if(process.env.NODE_ENV!=="production"&&t&&ke(fe)&&Z(he,$e)&&(d&&(pi(h,fe)||Mh(m,fe))&&In(la(an.FALLBACK_TO_ROOT,{key:fe,type:he})),process.env.NODE_ENV!=="production")){const{__v_emitter:Be}=N;Be&&d&&Be.emit("fallback",{type:he,key:fe,to:"global",groupId:`${he}:${fe}`})}return t&&d?Se(t):ze(fe)}else{if(He(ae))return ae;throw Wt(rt.UNEXPECTED_RETURN_TYPE)}};function U(...W){return se(te=>Reflect.apply(Jf,null,[te,...W]),()=>au(...W),"translate",te=>Reflect.apply(te.t,te,[...W]),te=>te,te=>ke(te))}function ee(...W){const[te,he,Se]=W;if(Se&&!qe(Se))throw Wt(rt.INVALID_ARGUMENT);return U(te,he,kt({resolvedMessage:!0},Se||{}))}function q(...W){return se(te=>Reflect.apply(Wf,null,[te,...W]),()=>nu(...W),"datetime format",te=>Reflect.apply(te.d,te,[...W]),()=>"",te=>ke(te)||st(te))}function oe(...W){return se(te=>Reflect.apply(qf,null,[te,...W]),()=>ru(...W),"number format",te=>Reflect.apply(te.n,te,[...W]),()=>"",te=>ke(te)||st(te))}function ie(W){return W.map(te=>ke(te)||yt(te)||Ke(te)?Zf(String(te)):te)}const ve={normalize:ie,interpolate:W=>W,type:"vnode"};function Te(...W){return se(te=>{let he;const Se=te;try{Se.processor=ve,he=Reflect.apply(Jf,null,[Se,...W])}finally{Se.processor=null}return he},()=>au(...W),"translate",te=>te[lu](...W),te=>[Zf(te)],te=>st(te))}function we(...W){return se(te=>Reflect.apply(qf,null,[te,...W]),()=>ru(...W),"number format",te=>te[su](...W),ep,te=>ke(te)||st(te))}function lt(...W){return se(te=>Reflect.apply(Wf,null,[te,...W]),()=>nu(...W),"datetime format",te=>te[iu](...W),ep,te=>ke(te)||st(te))}function xe(W){S=W,N.pluralRules=S}function Ye(W,te){return se(()=>{if(!W)return!1;const he=Ne(ke(te)?te:s.value),Se=N.messageResolver(he,W);return ln(Se)||rn(Se)||ke(Se)},()=>[W],"translate exists",he=>Reflect.apply(he.te,he,[W,te]),OB,he=>Ke(he))}function ce(W){let te=null;const he=Nh(N,u.value,s.value);for(let Se=0;Se<he.length;Se++){const ze=c.value[he[Se]]||{},He=N.messageResolver(ze,W);if(He!=null){te=He;break}}return te}function _e(W){const te=ce(W);return te??(t?t.tm(W)||{}:{})}function Ne(W){return c.value[W]||{}}function ne(W,te){if(o){const he={[W]:te};for(const Se in he)pn(he,Se)&&no(he[Se]);te=he[W]}c.value[W]=te,N.messages=c.value}function ye(W,te){c.value[W]=c.value[W]||{};const he={[W]:te};if(o)for(const Se in he)pn(he,Se)&&no(he[Se]);te=he[W],tl(te,c.value[W]),N.messages=c.value}function R(W){return f.value[W]||{}}function j(W,te){f.value[W]=te,N.datetimeFormats=f.value,Gf(N,W,te)}function ue(W,te){f.value[W]=kt(f.value[W]||{},te),N.datetimeFormats=f.value,Gf(N,W,te)}function pe(W){return p.value[W]||{}}function De(W,te){p.value[W]=te,N.numberFormats=p.value,Yf(N,W,te)}function Pe(W,te){p.value[W]=kt(p.value[W]||{},te),N.numberFormats=p.value,Yf(N,W,te)}tp++,t&&yn&&((0,n.watch)(t.locale,W=>{i&&(s.value=W,N.locale=W,wa(N,s.value,u.value))}),(0,n.watch)(t.fallbackLocale,W=>{i&&(u.value=W,N.fallbackLocale=W,wa(N,s.value,u.value))}));const Y={id:tp,locale:M,fallbackLocale:D,get inheritLocale(){return i},set inheritLocale(W){i=W,W&&t&&(s.value=t.locale.value,u.value=t.fallbackLocale.value,wa(N,s.value,u.value))},get availableLocales(){return Object.keys(c.value).sort()},messages:C,get modifiers(){return w},get pluralRules(){return S||{}},get isGlobal(){return a},get missingWarn(){return m},set missingWarn(W){m=W,N.missingWarn=m},get fallbackWarn(){return h},set fallbackWarn(W){h=W,N.fallbackWarn=h},get fallbackRoot(){return d},set fallbackRoot(W){d=W},get fallbackFormat(){return g},set fallbackFormat(W){g=W,N.fallbackFormat=g},get warnHtmlMessage(){return b},set warnHtmlMessage(W){b=W,N.warnHtmlMessage=W},get escapeParameter(){return k},set escapeParameter(W){k=W,N.escapeParameter=W},t:U,getLocaleMessage:Ne,setLocaleMessage:ne,mergeLocaleMessage:ye,getPostTranslationHandler:P,setPostTranslationHandler:O,getMissingHandler:L,setMissingHandler:I,[Uh]:xe};return Y.datetimeFormats=T,Y.numberFormats=B,Y.rt=ee,Y.te=Ye,Y.tm=_e,Y.d=q,Y.n=oe,Y.getDateTimeFormat=R,Y.setDateTimeFormat=j,Y.mergeDateTimeFormat=ue,Y.getNumberFormat=pe,Y.setNumberFormat=De,Y.mergeNumberFormat=Pe,Y[Hh]=r,Y[lu]=Te,Y[iu]=lt,Y[su]=we,process.env.NODE_ENV!=="production"&&(Y[Ar]=W=>{N.__v_emitter=W},Y[to]=()=>{N.__v_emitter=void 0}),Y}var Gh="vue-i18n: composer properties",is={"vue-devtools-plugin-vue-i18n":"Vue I18n DevTools","vue-i18n-resource-inspector":"Vue I18n DevTools","vue-i18n-timeline":"Vue I18n"},FB={"vue-i18n-resource-inspector":"Search for scopes ..."},zB={"vue-i18n-timeline":16764185},cu;async function UB(e,t){return new Promise((r,a)=>{try{VB({id:"vue-devtools-plugin-vue-i18n",label:is["vue-devtools-plugin-vue-i18n"],packageName:"vue-i18n",homepage:"https://vue-i18n.intlify.dev",logo:"https://vue-i18n.intlify.dev/vue-i18n-devtools-logo.png",componentStateTypes:[Gh],app:e},o=>{cu=o,o.on.visitComponentTree(({componentInstance:i,treeNode:s})=>{HB(i,s,t)}),o.on.inspectComponent(({componentInstance:i,instanceData:s})=>{i.__VUE_I18N__&&s&&(t.mode==="legacy"?i.__VUE_I18N__!==t.global.__composer&&rp(s,i.__VUE_I18N__):rp(s,i.__VUE_I18N__))}),o.addInspector({id:"vue-i18n-resource-inspector",label:is["vue-i18n-resource-inspector"],icon:"language",treeFilterPlaceholder:FB["vue-i18n-resource-inspector"]}),o.on.getInspectorTree(i=>{i.app===e&&i.inspectorId==="vue-i18n-resource-inspector"&&YB(i,t)});const l=new Map;o.on.getInspectorState(async i=>{if(i.app===e&&i.inspectorId==="vue-i18n-resource-inspector")if(o.unhighlightElement(),KB(i,t),i.nodeId==="global"){if(!l.has(i.app)){const[s]=await o.getComponentInstances(i.app);l.set(i.app,s)}o.highlightElement(l.get(i.app))}else{const s=XB(i.nodeId,t);s&&o.highlightElement(s)}}),o.on.editInspectorState(i=>{i.app===e&&i.inspectorId==="vue-i18n-resource-inspector"&&ZB(i,t)}),o.addTimelineLayer({id:"vue-i18n-timeline",label:is["vue-i18n-timeline"],color:zB["vue-i18n-timeline"]}),r(!0)})}catch(o){console.error(o),a(!1)}})}function qh(e){return e.type.name||e.type.displayName||e.type.__file||"Anonymous"}function HB(e,t,r){const a=r.mode==="composition"?r.global:r.global.__composer;if(e&&e.__VUE_I18N__&&e.__VUE_I18N__!==a){const o={label:`i18n (${qh(e)} Scope)`,textColor:0,backgroundColor:16764185};t.tags.push(o)}}function rp(e,t){const r=Gh;e.state.push({type:r,key:"locale",editable:!0,value:t.locale.value}),e.state.push({type:r,key:"availableLocales",editable:!1,value:t.availableLocales}),e.state.push({type:r,key:"fallbackLocale",editable:!0,value:t.fallbackLocale.value}),e.state.push({type:r,key:"inheritLocale",editable:!0,value:t.inheritLocale}),e.state.push({type:r,key:"messages",editable:!1,value:pc(t.messages.value)}),e.state.push({type:r,key:"datetimeFormats",editable:!1,value:t.datetimeFormats.value}),e.state.push({type:r,key:"numberFormats",editable:!1,value:t.numberFormats.value})}function pc(e){const t={};return Object.keys(e).forEach(r=>{const a=e[r];nt(a)&&"source"in a?t[r]=qB(a):ln(a)&&a.loc&&a.loc.source?t[r]=a.loc.source:qe(a)?t[r]=pc(a):t[r]=a}),t}var jB={"<":"&lt;",">":"&gt;",'"':"&quot;","&":"&amp;"};function WB(e){return e.replace(/[<>"&]/g,GB)}function GB(e){return jB[e]||e}function qB(e){return{_custom:{type:"function",display:`<span>ƒ</span> ${e.source?`("${WB(e.source)}")`:"(?)"}`}}}function YB(e,t){e.rootNodes.push({id:"global",label:"Global Scope"});const r=t.mode==="composition"?t.global:t.global.__composer;for(const[a,o]of t.__instances){const l=t.mode==="composition"?o:o.__composer;r!==l&&e.rootNodes.push({id:l.id.toString(),label:`${qh(a)} Scope`})}}function XB(e,t){let r=null;if(e!=="global"){for(const[a,o]of t.__instances.entries())if(o.id.toString()===e){r=a;break}}return r}function Yh(e,t){if(e==="global")return t.mode==="composition"?t.global:t.global.__composer;{const r=Array.from(t.__instances.values()).find(a=>a.id.toString()===e);return r?t.mode==="composition"?r:r.__composer:null}}function KB(e,t){const r=Yh(e.nodeId,t);return r&&(e.state=JB(r)),null}function JB(e){const t={},r="Locale related info";t[r]=[{type:r,key:"locale",editable:!0,value:e.locale.value},{type:r,key:"fallbackLocale",editable:!0,value:e.fallbackLocale.value},{type:r,key:"availableLocales",editable:!1,value:e.availableLocales},{type:r,key:"inheritLocale",editable:!0,value:e.inheritLocale}];const a="Locale messages info";t[a]=[{type:a,key:"messages",editable:!1,value:pc(e.messages.value)}];{const o="Datetime formats info";t[o]=[{type:o,key:"datetimeFormats",editable:!1,value:e.datetimeFormats.value}];const l="Datetime formats info";t[l]=[{type:l,key:"numberFormats",editable:!1,value:e.numberFormats.value}]}return t}function ro(e,t){if(cu){let r;t&&"groupId"in t&&(r=t.groupId,delete t.groupId),cu.addTimelineEvent({layerId:"vue-i18n-timeline",event:{title:e,groupId:r,time:Date.now(),meta:{},data:t||{},logType:e==="compile-error"?"error":e==="fallback"||e==="missing"?"warning":"default"}})}}function ZB(e,t){const r=Yh(e.nodeId,t);if(r){const[a]=e.path;a==="locale"&&ke(e.state.value)?r.locale.value=e.state.value:a==="fallbackLocale"&&(ke(e.state.value)||st(e.state.value)||qe(e.state.value))?r.fallbackLocale.value=e.state.value:a==="inheritLocale"&&Ke(e.state.value)&&(r.inheritLocale=e.state.value)}}function QB(e){const t=ke(e.locale)?e.locale:eo,r=ke(e.fallbackLocale)||st(e.fallbackLocale)||Oe(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,a=nt(e.missing)?e.missing:void 0,o=Ke(e.silentTranslationWarn)||aa(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,l=Ke(e.silentFallbackWarn)||aa(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,i=Ke(e.fallbackRoot)?e.fallbackRoot:!0,s=!!e.formatFallbackMessages,u=Oe(e.modifiers)?e.modifiers:{},c=e.pluralizationRules,f=nt(e.postTranslation)?e.postTranslation:void 0,p=ke(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,m=!!e.escapeParameterHtml,h=Ke(e.sync)?e.sync:!0;let d=e.messages;if(Oe(e.sharedMessages)){const w=e.sharedMessages;d=Object.keys(w).reduce((S,N)=>(kt(S[N]||(S[N]={}),w[N]),S),d||{})}const{__i18n:g,__root:y,__injectWithOption:v}=e,_=e.datetimeFormats,b=e.numberFormats,k=e.flatJson;return{locale:t,fallbackLocale:r,messages:d,flatJson:k,datetimeFormats:_,numberFormats:b,missing:a,missingWarn:o,fallbackWarn:l,fallbackRoot:i,fallbackFormat:s,modifiers:u,pluralRules:c,postTranslation:f,warnHtmlMessage:p,escapeParameter:m,messageResolver:e.messageResolver,inheritLocale:h,__i18n:g,__root:y,__injectWithOption:v}}function du(e={}){const t=fc(QB(e)),{__extender:r}=e,a={id:t.id,get locale(){return t.locale.value},set locale(o){t.locale.value=o},get fallbackLocale(){return t.fallbackLocale.value},set fallbackLocale(o){t.fallbackLocale.value=o},get messages(){return t.messages.value},get datetimeFormats(){return t.datetimeFormats.value},get numberFormats(){return t.numberFormats.value},get availableLocales(){return t.availableLocales},get missing(){return t.getMissingHandler()},set missing(o){t.setMissingHandler(o)},get silentTranslationWarn(){return Ke(t.missingWarn)?!t.missingWarn:t.missingWarn},set silentTranslationWarn(o){t.missingWarn=Ke(o)?!o:o},get silentFallbackWarn(){return Ke(t.fallbackWarn)?!t.fallbackWarn:t.fallbackWarn},set silentFallbackWarn(o){t.fallbackWarn=Ke(o)?!o:o},get modifiers(){return t.modifiers},get formatFallbackMessages(){return t.fallbackFormat},set formatFallbackMessages(o){t.fallbackFormat=o},get postTranslation(){return t.getPostTranslationHandler()},set postTranslation(o){t.setPostTranslationHandler(o)},get sync(){return t.inheritLocale},set sync(o){t.inheritLocale=o},get warnHtmlInMessage(){return t.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(o){t.warnHtmlMessage=o!=="off"},get escapeParameterHtml(){return t.escapeParameter},set escapeParameterHtml(o){t.escapeParameter=o},get pluralizationRules(){return t.pluralRules||{}},__composer:t,t(...o){return Reflect.apply(t.t,t,[...o])},rt(...o){return Reflect.apply(t.rt,t,[...o])},te(o,l){return t.te(o,l)},tm(o){return t.tm(o)},getLocaleMessage(o){return t.getLocaleMessage(o)},setLocaleMessage(o,l){t.setLocaleMessage(o,l)},mergeLocaleMessage(o,l){t.mergeLocaleMessage(o,l)},d(...o){return Reflect.apply(t.d,t,[...o])},getDateTimeFormat(o){return t.getDateTimeFormat(o)},setDateTimeFormat(o,l){t.setDateTimeFormat(o,l)},mergeDateTimeFormat(o,l){t.mergeDateTimeFormat(o,l)},n(...o){return Reflect.apply(t.n,t,[...o])},getNumberFormat(o){return t.getNumberFormat(o)},setNumberFormat(o,l){t.setNumberFormat(o,l)},mergeNumberFormat(o,l){t.mergeNumberFormat(o,l)}};return a.__extender=r,process.env.NODE_ENV!=="production"&&(a.__enableEmitter=o=>{const l=t;l[Ar]&&l[Ar](o)},a.__disableEmitter=()=>{const o=t;o[to]&&o[to]()}),a}function eA(e,t,r){return{beforeCreate(){const a=Qr();if(!a)throw Wt(rt.UNEXPECTED_ERROR);const o=this.$options;if(o.i18n){const l=o.i18n;if(o.__i18n&&(l.__i18n=o.__i18n),l.__root=t,this===this.$root)this.$i18n=ap(e,l);else{l.__injectWithOption=!0,l.__extender=r.__vueI18nExtend,this.$i18n=du(l);const i=this.$i18n;i.__extender&&(i.__disposer=i.__extender(this.$i18n))}}else if(o.__i18n)if(this===this.$root)this.$i18n=ap(e,o);else{this.$i18n=du({__i18n:o.__i18n,__injectWithOption:!0,__extender:r.__vueI18nExtend,__root:t});const l=this.$i18n;l.__extender&&(l.__disposer=l.__extender(this.$i18n))}else this.$i18n=e;o.__i18nGlobal&&Wh(t,o,o),this.$t=(...l)=>this.$i18n.t(...l),this.$rt=(...l)=>this.$i18n.rt(...l),this.$te=(l,i)=>this.$i18n.te(l,i),this.$d=(...l)=>this.$i18n.d(...l),this.$n=(...l)=>this.$i18n.n(...l),this.$tm=l=>this.$i18n.tm(l),r.__setInstance(a,this.$i18n)},mounted(){if(process.env.NODE_ENV!=="production"&&this.$i18n){const a=Qr();if(!a)return;const o=this.$i18n;a.__VUE_I18N__=o.__composer;const l=this.__v_emitter=lc();o.__enableEmitter&&o.__enableEmitter(l),l.on("*",ro)}},unmounted(){const a=Qr();if(!a)throw Wt(rt.UNEXPECTED_ERROR);const o=this.$i18n;process.env.NODE_ENV!=="production"&&a.__VUE_I18N__&&(this.__v_emitter&&(this.__v_emitter.off("*",ro),delete this.__v_emitter),this.$i18n&&(o.__disableEmitter&&o.__disableEmitter(),delete a.__VUE_I18N__)),delete this.$t,delete this.$rt,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,o.__disposer&&(o.__disposer(),delete o.__disposer,delete o.__extender),r.__deleteInstance(a),delete this.$i18n}}}function ap(e,t){e.locale=t.locale||e.locale,e.fallbackLocale=t.fallbackLocale||e.fallbackLocale,e.missing=t.missing||e.missing,e.silentTranslationWarn=t.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=t.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=t.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=t.postTranslation||e.postTranslation,e.warnHtmlInMessage=t.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=t.escapeParameterHtml||e.escapeParameterHtml,e.sync=t.sync||e.sync,e.__composer[Uh](t.pluralizationRules||e.pluralizationRules);const r=dc(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(r).forEach(a=>e.mergeLocaleMessage(a,r[a])),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach(a=>e.mergeDateTimeFormat(a,t.datetimeFormats[a])),t.numberFormats&&Object.keys(t.numberFormats).forEach(a=>e.mergeNumberFormat(a,t.numberFormats[a])),e}var mc={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function tA({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((r,a)=>[...r,...a.type===n.Fragment?a.children:[a]],[]):t.reduce((r,a)=>{const o=e[a];return o&&(r[a]=o()),r},tt())}function Xh(){return n.Fragment}var op=(0,n.defineComponent)({name:"i18n-t",props:kt({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>yt(e)||!isNaN(e)}},mc),setup(e,t){const{slots:r,attrs:a}=t,o=e.i18n||hc({useScope:e.scope,__useComponent:!0});return()=>{const l=Object.keys(r).filter(f=>f[0]!=="_"),i=tt();e.locale&&(i.locale=e.locale),e.plural!==void 0&&(i.plural=ke(e.plural)?+e.plural:e.plural);const s=tA(t,l),u=o[lu](e.keypath,s,i),c=kt(tt(),a);return(0,n.h)(ke(e.tag)||qe(e.tag)?e.tag:Xh(),c,u)}}});function nA(e){return st(e)&&!ke(e[0])}function Kh(e,t,r,a){const{slots:o,attrs:l}=t;return()=>{const i={part:!0};let s=tt();e.locale&&(i.locale=e.locale),ke(e.format)?i.key=e.format:qe(e.format)&&(ke(e.format.key)&&(i.key=e.format.key),s=Object.keys(e.format).reduce((p,m)=>r.includes(m)?kt(tt(),p,{[m]:e.format[m]}):p,tt()));const u=a(e.value,i,s);let c=[i.key];st(u)?c=u.map((p,m)=>{const h=o[p.type],d=h?h({[p.type]:p.value,index:m,parts:u}):[p.value];return nA(d)&&(d[0].key=`${p.type}-${m}`),d}):ke(u)&&(c=[u]);const f=kt(tt(),l);return(0,n.h)(ke(e.tag)||qe(e.tag)?e.tag:Xh(),f,c)}}var lp=(0,n.defineComponent)({name:"i18n-n",props:kt({value:{type:Number,required:!0},format:{type:[String,Object]}},mc),setup(e,t){const r=e.i18n||hc({useScope:e.scope,__useComponent:!0});return Kh(e,t,Oh,(...a)=>r[su](...a))}});function rA(e,t){const r=e;if(e.mode==="composition")return r.__getInstance(t)||e.global;{const a=r.__getInstance(t);return a!=null?a.__composer:e.global.__composer}}function aA(e){const t=i=>{process.env.NODE_ENV!=="production"&&rc(la(an.DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE));const{instance:s,value:u}=i;if(!s||!s.$)throw Wt(rt.UNEXPECTED_ERROR);const c=rA(e,s.$),f=ip(u);return[Reflect.apply(c.t,c,[...sp(f)]),c]};return{created:(i,s)=>{const[u,c]=t(s);yn&&e.global===c&&(i.__i18nWatcher=(0,n.watch)(c.locale,()=>{s.instance&&s.instance.$forceUpdate()})),i.__composer=c,i.textContent=u},unmounted:i=>{yn&&i.__i18nWatcher&&(i.__i18nWatcher(),i.__i18nWatcher=void 0,delete i.__i18nWatcher),i.__composer&&(i.__composer=void 0,delete i.__composer)},beforeUpdate:(i,{value:s})=>{if(i.__composer){const u=i.__composer,c=ip(s);i.textContent=Reflect.apply(u.t,u,[...sp(c)])}},getSSRProps:i=>{const[s]=t(i);return{textContent:s}}}}function ip(e){if(ke(e))return{path:e};if(Oe(e)){if(!("path"in e))throw Wt(rt.REQUIRED_VALUE,"path");return e}else throw Wt(rt.INVALID_VALUE)}function sp(e){const{path:t,locale:r,args:a,choice:o,plural:l}=e,i={},s=a||{};return ke(r)&&(i.locale=r),yt(o)&&(i.plural=o),yt(l)&&(i.plural=l),[t,s,i]}function oA(e,t,...r){const a=Oe(r[0])?r[0]:{};(!Ke(a.globalInstall)||a.globalInstall)&&([op.name,"I18nT"].forEach(o=>e.component(o,op)),[lp.name,"I18nN"].forEach(o=>e.component(o,lp)),[cp.name,"I18nD"].forEach(o=>e.component(o,cp))),e.directive("t",aA(t))}var lA=wn("global-vue-i18n");function iA(e={}){const t=__VUE_I18N_LEGACY_API__&&Ke(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__;process.env.NODE_ENV!=="production"&&t&&rc(la(an.DEPRECATE_LEGACY_MODE));const r=Ke(e.globalInjection)?e.globalInjection:!0,a=new Map,[o,l]=sA(e,t),i=wn(process.env.NODE_ENV!=="production"?"vue-i18n":"");function s(p){return a.get(p)||null}function u(p,m){a.set(p,m)}function c(p){a.delete(p)}const f={get mode(){return __VUE_I18N_LEGACY_API__&&t?"legacy":"composition"},async install(p,...m){if(process.env.NODE_ENV!=="production"&&(p.__VUE_I18N__=f),p.__VUE_I18N_SYMBOL__=i,p.provide(p.__VUE_I18N_SYMBOL__,f),Oe(m[0])){const g=m[0];f.__composerExtend=g.__composerExtend,f.__vueI18nExtend=g.__vueI18nExtend}let h=null;!t&&r&&(h=vA(p,f.global)),__VUE_I18N_FULL_INSTALL__&&oA(p,f,...m),__VUE_I18N_LEGACY_API__&&t&&p.mixin(eA(l,l.__composer,f));const d=p.unmount;if(p.unmount=()=>{h&&h(),f.dispose(),d()},process.env.NODE_ENV!=="production"){if(!await UB(p,f))throw Wt(rt.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN);const g=lc();if(t){const y=l;y.__enableEmitter&&y.__enableEmitter(g)}else{const y=l;y[Ar]&&y[Ar](g)}g.on("*",ro)}},get global(){return l},dispose(){o.stop()},__instances:a,__getInstance:s,__setInstance:u,__deleteInstance:c};return f}function hc(e={}){const t=Qr();if(t==null)throw Wt(rt.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw Wt(rt.NOT_INSTALLED);const r=uA(t),a=dA(r),o=jh(t),l=cA(e,o);if(l==="global")return Wh(a,e,o),a;if(l==="parent"){let u=fA(r,t,e.__useComponent);return u==null&&(process.env.NODE_ENV!=="production"&&In(la(an.NOT_FOUND_PARENT_SCOPE)),u=a),u}const i=r;let s=i.__getInstance(t);if(s==null){const u=kt({},e);"__i18n"in o&&(u.__i18n=o.__i18n),a&&(u.__root=a),s=fc(u),i.__composerExtend&&(s[uu]=i.__composerExtend(s)),mA(i,t,s),i.__setInstance(t,s)}else process.env.NODE_ENV!=="production"&&l==="local"&&In(la(an.DUPLICATE_USE_I18N_CALLING));return s}function sA(e,t){const r=(0,n.effectScope)(),a=__VUE_I18N_LEGACY_API__&&t?r.run(()=>du(e)):r.run(()=>fc(e));if(a==null)throw Wt(rt.UNEXPECTED_ERROR);return[r,a]}function uA(e){const t=(0,n.inject)(e.isCE?lA:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw Wt(e.isCE?rt.NOT_INSTALLED_WITH_PROVIDE:rt.UNEXPECTED_ERROR);return t}function cA(e,t){return fi(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function dA(e){return e.mode==="composition"?e.global:e.global.__composer}function fA(e,t,r=!1){let a=null;const o=t.root;let l=pA(t,r);for(;l!=null;){const i=e;if(e.mode==="composition")a=i.__getInstance(l);else if(__VUE_I18N_LEGACY_API__){const s=i.__getInstance(l);s!=null&&(a=s.__composer,r&&a&&!a[Hh]&&(a=null))}if(a!=null||o===l)break;l=l.parent}return a}function pA(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function mA(e,t,r){let a=null;(0,n.onMounted)(()=>{if(process.env.NODE_ENV!=="production"){t.__VUE_I18N__=r,a=lc();const o=r;o[Ar]&&o[Ar](a),a.on("*",ro)}},t),(0,n.onUnmounted)(()=>{const o=r;process.env.NODE_ENV!=="production"&&(a&&a.off("*",ro),o[to]&&o[to](),delete t.__VUE_I18N__),e.__deleteInstance(t);const l=o[uu];l&&(l(),delete o[uu])},t)}var hA=["locale","fallbackLocale","availableLocales"],up=["t","rt","d","n","tm","te"];function vA(e,t){const r=Object.create(null);return hA.forEach(o=>{const l=Object.getOwnPropertyDescriptor(t,o);if(!l)throw Wt(rt.UNEXPECTED_ERROR);const i=(0,n.isRef)(l.value)?{get(){return l.value.value},set(s){l.value.value=s}}:{get(){return l.get&&l.get()}};Object.defineProperty(r,o,i)}),e.config.globalProperties.$i18n=r,up.forEach(o=>{const l=Object.getOwnPropertyDescriptor(t,o);if(!l||!l.value)throw Wt(rt.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${o}`,l)}),()=>{delete e.config.globalProperties.$i18n,up.forEach(o=>{delete e.config.globalProperties[`$${o}`]})}}var cp=(0,n.defineComponent)({name:"i18n-d",props:kt({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},mc),setup(e,t){const r=e.i18n||hc({useScope:e.scope,__useComponent:!0});return Kh(e,t,Ih,(...a)=>r[iu](...a))}});LB();lB(F6);iB(nB);sB(Nh);if(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const e=kr();e.__INTLIFY__=!0,z6(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}process.env.NODE_ENV;const gA={title:"Confirm",message:"Are you sure you want to continue?",confirm:"Confirm",cancel:"Cancel"},_A={upload:"Upload",uploading:"Uploading {count} file{plural}...",noFile:"No file selected",dropPlaceholder:"Drag and Drop files here or click to upload",delete:"Delete",replace:"Replace",download:"Download"},yA={of:"of",prev:"Previous",next:"Next"},bA={required:"This field is required",invalidEmail:"Please enter a valid email address",invalidUrl:"Please enter a valid URL",minLength:"Must be at least {min} characters",maxLength:"Must be no more than {max} characters",minValue:"Must be at least {min}",maxValue:"Must be no more than {max}",pattern:"Invalid format",passwordStrength:"Password strength"},wA={veryWeak:"Very Weak",weak:"Weak",fair:"Fair",good:"Good",strong:"Strong"},$A={placeholder:"Select",search:"Search",yes:"Yes",no:"No"},kA={loadDefault:"Load Default {label}"},EA={loading:"Loading..."},CA={success:"Success",error:"Error",warning:"Warning",info:"Information"},SA={filter:"Filter",noActiveFilters:"No active filters",connectors:{and:"And",or:"Or"},operators:{eq:"Equals",ne:"Not equals",gt:"Greater than",ge:"Greater or equal",lt:"Less than",le:"Less or equal",co:"Contains",sw:"Starts with",ew:"Ends with",pr:"Present"},placeholders:{selectField:"Select field",selectOption:"Select option",selectDate:"Select date",enterValue:"Value"},buttons:{addCondition:"Add condition",clearAll:"Clear all"}},TA={previous:"Previous",next:"Next",complete:"Complete",step:"Step {current} of {total}"},NA={placeholder:"Enter address"},DA={close:"Close",cancel:"Cancel",importData:"Import Data",changeFile:"Change File",selectSheet:"Select Sheet",hasHeaders:"Mark this if file has a header row",sourceKeyField:"Source Key Field (from this file)",relatedKeyField:"Related Key Field (from related file)",selectSourceValue:"Select source value",sourceValue:"Source value",selectTargetValue:"Select target value",targetValue:"Target value",selectColumn:"Select column..."},xA={year:"year",month:"month",week:"week",day:"day",hour:"hour",minute:"minute",second:"second",ago:"ago",in:"in",justNow:"Just now"},BA={save:"Save",cancel:"Cancel",delete:"Delete",validationError:"Please fix the validation errors before submitting",errorOccurred:"An error occurred"},AA={phoneNumber:"Phone Number",invalidPhone:"Please enter a valid phone number"},VA={invalidEmail:"Please enter a valid email address",invalidDomain:"This email domain appears to be invalid"},MA={invalidFormat:"Invalid date format"},LA={wrapText:"Wrap Text",selectAll:"Select All",clearAll:"Clear All"},PA={openFile:"Open File"},IA={placeholder:"Enter color"};var OA={modalConfirm:gA,upload:_A,pagination:yA,form:bA,password:wA,select:$A,fieldArray:kA,btn:EA,toast:CA,filter:SA,multiStep:TA,addressSearch:NA,importData:DA,timeAgo:xA,dialogForm:BA,tel:AA,email:VA,date:MA,spreadsheet:LA,lightbox:PA,color:IA};const RA={title:"Confirmar",message:"¿Estás seguro de que quieres continuar?",confirm:"Confirmar",cancel:"Cancelar"},FA={upload:"Subir",uploading:"Subiendo {count} archivo{plural}...",noFile:"Ningún archivo seleccionado",dropPlaceholder:"Arrastra y suelta archivos aquí o haz clic para subir",delete:"Eliminar",replace:"Reemplazar",download:"Descargar"},zA={of:"de",prev:"Anterior",next:"Siguiente"},UA={required:"Este campo es obligatorio",invalidEmail:"Introduce un correo electrónico válido",invalidUrl:"Introduce una URL válida",minLength:"Debe tener al menos {min} caracteres",maxLength:"Debe tener como máximo {max} caracteres",minValue:"Debe ser al menos {min}",maxValue:"Debe ser como máximo {max}",pattern:"Formato inválido",passwordStrength:"Fortaleza de la contraseña"},HA={veryWeak:"Muy débil",weak:"Débil",fair:"Regular",good:"Buena",strong:"Fuerte"},jA={placeholder:"Seleccionar",search:"Buscar",yes:"Sí",no:"No"},WA={loadDefault:"Cargar {label} predeterminado"},GA={loading:"Cargando..."},qA={success:"Éxito",error:"Error",warning:"Advertencia",info:"Información"},YA={filter:"Filtro",noActiveFilters:"Sin filtros activos",connectors:{and:"Y",or:"O"},operators:{eq:"Igual a",ne:"No igual a",gt:"Mayor que",ge:"Mayor o igual",lt:"Menor que",le:"Menor o igual",co:"Contiene",sw:"Empieza con",ew:"Termina con",pr:"Presente"},placeholders:{selectField:"Seleccionar campo",selectOption:"Seleccionar opción",selectDate:"Seleccionar fecha",enterValue:"Valor"},buttons:{addCondition:"Añadir condición",clearAll:"Limpiar todo"}},XA={previous:"Anterior",next:"Siguiente",complete:"Completar",step:"Paso {current} de {total}"},KA={placeholder:"Introduce una dirección"},JA={close:"Cerrar",cancel:"Cancelar",importData:"Importar datos",changeFile:"Cambiar archivo",selectSheet:"Seleccionar hoja",hasHeaders:"Marcar si el archivo tiene fila de encabezado",sourceKeyField:"Campo clave de origen (de este archivo)",relatedKeyField:"Campo clave relacionado (del archivo relacionado)",selectSourceValue:"Seleccionar valor de origen",sourceValue:"Valor de origen",selectTargetValue:"Seleccionar valor de destino",targetValue:"Valor de destino",selectColumn:"Seleccionar columna..."},ZA={year:"año",month:"mes",week:"semana",day:"día",hour:"hora",minute:"minuto",second:"segundo",ago:"hace",in:"en",justNow:"Justo ahora"},QA={save:"Guardar",cancel:"Cancelar",delete:"Eliminar",validationError:"Por favor corrija los errores de validación antes de enviar",errorOccurred:"Ocurrió un error"},eV={phoneNumber:"Número de teléfono",invalidPhone:"Por favor introduce un número de teléfono válido"},tV={invalidEmail:"Introduce un correo electrónico válido",invalidDomain:"El dominio de este correo electrónico parece no ser válido"},nV={invalidFormat:"Formato de fecha inválido"},rV={wrapText:"Ajuste de texto",selectAll:"Seleccionar todo",clearAll:"Limpiar todo"},aV={openFile:"Abrir archivo"},oV={placeholder:"Introduce un color"};var lV={modalConfirm:RA,upload:FA,pagination:zA,form:UA,password:HA,select:jA,fieldArray:WA,btn:GA,toast:qA,filter:YA,multiStep:XA,addressSearch:KA,importData:JA,timeAgo:ZA,dialogForm:QA,tel:eV,email:tV,date:nV,spreadsheet:rV,lightbox:aV,color:oV};const iV={title:"Confirmer",message:"Êtes-vous sûr de vouloir continuer ?",confirm:"Confirmer",cancel:"Annuler"},sV={upload:"Télécharger",uploading:"Téléchargement de {count} fichier{plural} en cours...",noFile:"Aucun fichier sélectionné",dropPlaceholder:"Glissez-déposez des fichiers ici ou cliquez pour télécharger",delete:"Supprimer",replace:"Remplacer",download:"Télécharger"},uV={of:"de",prev:"Précédent",next:"Suivant"},cV={required:"Ce champ est obligatoire",invalidEmail:"Veuillez entrer une adresse email valide",invalidUrl:"Veuillez entrer une URL valide",minLength:"Doit contenir au moins {min} caractères",maxLength:"Doit contenir au maximum {max} caractères",minValue:"Doit être au moins {min}",maxValue:"Doit être au maximum {max}",pattern:"Format invalide",passwordStrength:"Force du mot de passe"},dV={veryWeak:"Très faible",weak:"Faible",fair:"Passable",good:"Bonne",strong:"Forte"},fV={placeholder:"Sélectionner",search:"Rechercher",yes:"Oui",no:"Non"},pV={loadDefault:"Charger {label} par défaut"},mV={loading:"Chargement..."},hV={success:"Succès",error:"Erreur",warning:"Avertissement",info:"Information"},vV={filter:"Filtre",noActiveFilters:"Aucun filtre actif",connectors:{and:"Et",or:"Ou"},operators:{eq:"Égal à",ne:"Différent de",gt:"Supérieur à",ge:"Supérieur ou égal",lt:"Inférieur à",le:"Inférieur ou égal",co:"Contient",sw:"Commence par",ew:"Se termine par",pr:"Présent"},placeholders:{selectField:"Sélectionner un champ",selectOption:"Sélectionner une option",selectDate:"Sélectionner une date",enterValue:"Valeur"},buttons:{addCondition:"Ajouter une condition",clearAll:"Tout effacer"}},gV={previous:"Précédent",next:"Suivant",complete:"Terminer",step:"Étape {current} sur {total}"},_V={placeholder:"Entrez une adresse"},yV={close:"Fermer",cancel:"Annuler",importData:"Importer les données",changeFile:"Changer de fichier",selectSheet:"Sélectionner la feuille",hasHeaders:"Cochez si le fichier a une ligne d'en-tête",sourceKeyField:"Champ clé source (de ce fichier)",relatedKeyField:"Champ clé lié (du fichier lié)",selectSourceValue:"Sélectionner la valeur source",sourceValue:"Valeur source",selectTargetValue:"Sélectionner la valeur cible",targetValue:"Valeur cible",selectColumn:"Sélectionner une colonne..."},bV={year:"an",month:"mois",week:"semaine",day:"jour",hour:"heure",minute:"minute",second:"seconde",ago:"il y a",in:"dans",justNow:"À l'instant"},wV={save:"Enregistrer",cancel:"Annuler",delete:"Supprimer",validationError:"Veuillez corriger les erreurs de validation avant de soumettre",errorOccurred:"Une erreur est survenue"},$V={phoneNumber:"Numéro de téléphone",invalidPhone:"Veuillez entrer un numéro de téléphone valide"},kV={invalidEmail:"Veuillez entrer une adresse email valide",invalidDomain:"Le domaine de cet email semble invalide"},EV={invalidFormat:"Format de date invalide"},CV={wrapText:"Renvoyer à la ligne",selectAll:"Tout sélectionner",clearAll:"Tout effacer"},SV={openFile:"Ouvrir le fichier"},TV={placeholder:"Entrez une couleur"};var NV={modalConfirm:iV,upload:sV,pagination:uV,form:cV,password:dV,select:fV,fieldArray:pV,btn:mV,toast:hV,filter:vV,multiStep:gV,addressSearch:_V,importData:yV,timeAgo:bV,dialogForm:wV,tel:$V,email:kV,date:EV,spreadsheet:CV,lightbox:SV,color:TV};const DV={title:"אישור",message:"האם אתה בטוח שברצונך להמשיך?",confirm:"אישור",cancel:"ביטול"},xV={upload:"העלה",uploading:"מעלה {count} קבצים...",noFile:"לא נבחר קובץ",dropPlaceholder:"גרור ושחרר קבצים כאן או לחץ להעלאה",delete:"מחק",replace:"החלף",download:"הורד"},BV={of:"מתוך",prev:"הקודם",next:"הבא"},AV={required:"שדה זה נדרש",invalidEmail:"הזן כתובת אימייל חוקית",invalidUrl:"הזן כתובת URL חוקית",minLength:"חייב להכיל לפחות {min} תווים",maxLength:"חייב להכיל לכל היותר {max} תווים",minValue:"חייב להיות לפחות {min}",maxValue:"חייב להיות לכל היותר {max}",pattern:"פורמט לא חוקי",passwordStrength:"חוזק סיסמה"},VV={veryWeak:"חלשה מאוד",weak:"חלשה",fair:"סבירה",good:"טובה",strong:"חזקה"},MV={placeholder:"בחר",search:"חיפוש",yes:"כן",no:"לא"},LV={loadDefault:"טען {label} ברירת מחדל"},PV={loading:"טוען..."},IV={success:"הצלחה",error:"שגיאה",warning:"אזהרה",info:"מידע"},OV={filter:"פילטר",noActiveFilters:"אין פילטרים פעילים",connectors:{and:"וגם",or:"או"},operators:{eq:"שווה ל",ne:"לא שווה ל",gt:"גדול מ",ge:"גדול או שווה ל",lt:"קטן מ",le:"קטן או שווה ל",co:"מכיל",sw:"מתחיל ב",ew:"מסתיים ב",pr:"קיים"},placeholders:{selectField:"בחר שדה",selectOption:"בחירה",selectDate:"בחירת תאריך",enterValue:"ערך"},buttons:{addCondition:"הוספת תנאי",clearAll:"נקה הכל"}},RV={previous:"הקודם",next:"הבא",complete:"סיים",step:"שלב {current} מתוך {total}"},FV={placeholder:"הזן כתובת"},zV={close:"סגור",cancel:"ביטול",importData:"ייבא נתונים",changeFile:"החלף קובץ",selectSheet:"בחר גיליון",hasHeaders:"סמן אם לקובץ יש שורת כותרת",sourceKeyField:"שדה מפתח מקור (מהקובץ הזה)",relatedKeyField:"שדה מפתח קשור (מהקובץ הקשור)",selectSourceValue:"בחר ערך מקור",sourceValue:"ערך מקור",selectTargetValue:"בחר ערך יעד",targetValue:"ערך יעד",selectColumn:"בחר עמודה..."},UV={year:{singular:"שנה",plural:"שנים"},month:{singular:"חודש",plural:"חודשים"},week:{singular:"שבוע",plural:"שבועות"},day:{singular:"יום",plural:"ימים"},hour:{singular:"שעה",plural:"שעות"},minute:{singular:"דקה",plural:"דקות"},second:{singular:"שנייה",plural:"שניות"},ago:"לפני",in:"בעוד",justNow:"זה עתה"},HV={save:"שמור",cancel:"ביטול",delete:"מחק",validationError:"אנא תקן את שגיאות האימות לפני השליחה",errorOccurred:"אירעה שגיאה"},jV={phoneNumber:"מספר טלפון",invalidPhone:"אנא הזן מספר טלפון תקין"},WV={invalidEmail:"הזן כתובת אימייל חוקית",invalidDomain:"נראה שדומיין האימייל אינו חוקי"},GV={invalidFormat:"פורמט תאריך לא חוקי"},qV={wrapText:"גלישת טקסט",selectAll:"בחר הכל",clearAll:"נקה הכל"},YV={openFile:"פתח קובץ"},XV={placeholder:"הזן צבע"};var KV={modalConfirm:DV,upload:xV,pagination:BV,form:AV,password:VV,select:MV,fieldArray:LV,btn:PV,toast:IV,filter:OV,multiStep:RV,addressSearch:FV,importData:zV,timeAgo:UV,dialogForm:HV,tel:jV,email:WV,date:GV,spreadsheet:qV,lightbox:YV,color:XV};const JV={title:"Conferma",message:"Sei sicuro di voler continuare?",confirm:"Conferma",cancel:"Annulla"},ZV={upload:"Carica",uploading:"Caricamento di {count} file{plural} in corso...",noFile:"Nessun file selezionato",dropPlaceholder:"Trascina e rilascia i file qui o clicca per caricare",delete:"Elimina",replace:"Sostituisci",download:"Scarica"},QV={of:"di",prev:"Precedente",next:"Successivo"},eM={required:"Questo campo è obbligatorio",invalidEmail:"Inserisci un indirizzo email valido",invalidUrl:"Inserisci un URL valido",minLength:"Deve contenere almeno {min} caratteri",maxLength:"Deve contenere al massimo {max} caratteri",minValue:"Deve essere almeno {min}",maxValue:"Deve essere al massimo {max}",pattern:"Formato non valido",passwordStrength:"Forza della password"},tM={veryWeak:"Molto debole",weak:"Debole",fair:"Discreta",good:"Buona",strong:"Forte"},nM={placeholder:"Seleziona",search:"Cerca",yes:"Sì",no:"No"},rM={loadDefault:"Carica {label} predefinito"},aM={loading:"Caricamento..."},oM={success:"Successo",error:"Errore",warning:"Avviso",info:"Informazione"},lM={filter:"Filtro",noActiveFilters:"Nessun filtro attivo",connectors:{and:"E",or:"O"},operators:{eq:"Uguale a",ne:"Diverso da",gt:"Maggiore di",ge:"Maggiore o uguale",lt:"Minore di",le:"Minore o uguale",co:"Contiene",sw:"Inizia con",ew:"Finisce con",pr:"Presente"},placeholders:{selectField:"Seleziona campo",selectOption:"Seleziona opzione",selectDate:"Seleziona data",enterValue:"Valore"},buttons:{addCondition:"Aggiungi condizione",clearAll:"Cancella tutto"}},iM={previous:"Precedente",next:"Successivo",complete:"Completa",step:"Passo {current} di {total}"},sM={placeholder:"Inserisci un indirizzo"},uM={close:"Chiudi",cancel:"Annulla",importData:"Importa dati",changeFile:"Cambia file",selectSheet:"Seleziona foglio",hasHeaders:"Seleziona se il file ha una riga di intestazione",sourceKeyField:"Campo chiave sorgente (da questo file)",relatedKeyField:"Campo chiave correlato (dal file correlato)",selectSourceValue:"Seleziona valore sorgente",sourceValue:"Valore sorgente",selectTargetValue:"Seleziona valore di destinazione",targetValue:"Valore di destinazione",selectColumn:"Seleziona colonna..."},cM={year:"anno",month:"mese",week:"settimana",day:"giorno",hour:"ora",minute:"minuto",second:"secondo",ago:"fa",in:"tra",justNow:"Poco fa"},dM={save:"Salva",cancel:"Annulla",delete:"Elimina",validationError:"Correggi gli errori di validazione prima di inviare",errorOccurred:"Si è verificato un errore"},fM={phoneNumber:"Numero di telefono",invalidPhone:"Inserisci un numero di telefono valido"},pM={invalidEmail:"Inserisci un indirizzo email valido",invalidDomain:"Il dominio di questa email sembra non essere valido"},mM={invalidFormat:"Formato data non valido"},hM={wrapText:"A capo automatico",selectAll:"Seleziona tutto",clearAll:"Cancella tutto"},vM={openFile:"Apri file"},gM={placeholder:"Inserisci un colore"};var _M={modalConfirm:JV,upload:ZV,pagination:QV,form:eM,password:tM,select:nM,fieldArray:rM,btn:aM,toast:oM,filter:lM,multiStep:iM,addressSearch:sM,importData:uM,timeAgo:cM,dialogForm:dM,tel:fM,email:pM,date:mM,spreadsheet:hM,lightbox:vM,color:gM};const yM={title:"Подтвердить",message:"Вы уверены, что хотите продолжить?",confirm:"Подтвердить",cancel:"Отмена"},bM={upload:"Загрузить",uploading:"Загрузка {count} файл{plural}...",noFile:"Файл не выбран",dropPlaceholder:"Перетащите файлы сюда или нажмите для загрузки",delete:"Удалить",replace:"Заменить",download:"Скачать"},wM={of:"из",prev:"Предыдущая",next:"Следующая"},$M={required:"Это поле обязательно для заполнения",invalidEmail:"Введите действительный адрес электронной почты",invalidUrl:"Введите действительный URL",minLength:"Должно содержать не менее {min} символов",maxLength:"Должно содержать не более {max} символов",minValue:"Должно быть не менее {min}",maxValue:"Должно быть не более {max}",pattern:"Неверный формат",passwordStrength:"Надежность пароля"},kM={veryWeak:"Очень слабый",weak:"Слабый",fair:"Средний",good:"Хороший",strong:"Надёжный"},EM={placeholder:"Выбрать",search:"Поиск",yes:"Да",no:"Нет"},CM={loadDefault:"Загрузить {label} по умолчанию"},SM={loading:"Загрузка..."},TM={success:"Успешно",error:"Ошибка",warning:"Предупреждение",info:"Информация"},NM={filter:"Фильтр",noActiveFilters:"Нет активных фильтров",connectors:{and:"И",or:"Или"},operators:{eq:"Равно",ne:"Не равно",gt:"Больше чем",ge:"Больше или равно",lt:"Меньше чем",le:"Меньше или равно",co:"Содержит",sw:"Начинается с",ew:"Заканчивается на",pr:"Присутствует"},placeholders:{selectField:"Выберите поле",selectOption:"Выберите вариант",selectDate:"Выберите дату",enterValue:"Значение"},buttons:{addCondition:"Добавить условие",clearAll:"Очистить всё"}},DM={previous:"Назад",next:"Далее",complete:"Завершить",step:"Шаг {current} из {total}"},xM={placeholder:"Введите адрес"},BM={close:"Закрыть",cancel:"Отмена",importData:"Импорт данных",changeFile:"Изменить файл",selectSheet:"Выбрать лист",hasHeaders:"Отметьте, если файл содержит строку заголовка",sourceKeyField:"Ключевое поле источника (из этого файла)",relatedKeyField:"Ключевое поле связанного (из связанного файла)",selectSourceValue:"Выберите исходное значение",sourceValue:"Исходное значение",selectTargetValue:"Выберите целевое значение",targetValue:"Целевое значение",selectColumn:"Выберите столбец..."},AM={year:"год",month:"месяц",week:"неделя",day:"день",hour:"час",minute:"минута",second:"секунда",ago:"назад",in:"через",justNow:"Только что"},VM={save:"Сохранить",cancel:"Отмена",delete:"Удалить",validationError:"Пожалуйста, исправьте ошибки валидации перед отправкой",errorOccurred:"Произошла ошибка"},MM={phoneNumber:"Номер телефона",invalidPhone:"Пожалуйста, введите действительный номер телефона"},LM={invalidEmail:"Введите действительный адрес электронной почты",invalidDomain:"Домен этого адреса электронной почты, похоже, недействителен"},PM={invalidFormat:"Неверный формат даты"},IM={wrapText:"Перенос текста",selectAll:"Выбрать всё",clearAll:"Очистить всё"},OM={openFile:"Открыть файл"},RM={placeholder:"Введите цвет"};var FM={modalConfirm:yM,upload:bM,pagination:wM,form:$M,password:kM,select:EM,fieldArray:CM,btn:SM,toast:TM,filter:NM,multiStep:DM,addressSearch:xM,importData:BM,timeAgo:AM,dialogForm:VM,tel:MM,email:LM,date:PM,spreadsheet:IM,lightbox:OM,color:RM},fu={en:OA,he:KV,it:_M,es:lV,fr:NV,ru:FM},Tl=null;function Jh(e={}){const{locale:t="en",fallbackLocale:r="en",messages:a={}}=e,o=Object.keys(fu),l={};for(const i of o)l[i]={...fu[i]||{},...a[i]||{}};for(const i of Object.keys(a))l[i]||(l[i]=a[i]);return Tl=iA({locale:t,fallbackLocale:r,messages:l,legacy:!1,globalInjection:!0}),Tl}function fa(){if(!Tl)throw new Error("i18n not initialized. Call createI18n() first.");return Tl}function ht(){const e=fa().global;return{$t:e.t,t:e.t,locale:e.locale,availableLocales:e.availableLocales,fallbackLocale:e.fallbackLocale,n:e.n,d:e.d}}function Zh(e){if(e!=null)return e.startsWith("$t:")?fa().global.t(e.slice(3)):e}var zM={key:0,class:"form-errors-summary"},UM={class:"form-errors-list"},HM={key:0},jM=(0,n.defineComponent)({__name:"FormFlow",props:{schema:{},modelValue:{},components:{},errors:{}},emits:["update:modelValue","submit"],setup(e,{expose:t,emit:r}){const a=e,o=r,{$t:l}=ht();function i(C,T){const B=T.split(".");let P=C;for(const O of B)P=P?.[O];return P}function s(C,T,B){const P=T.split(".");let O=C;for(let L=0;L<P.length-1;L++){const I=P[L];(O[I]==null||typeof O[I]!="object")&&(O[I]={}),O=O[I]}O[P[P.length-1]]=B}function u(C){const T={...C||{}};for(const[B,P]of Object.entries(a.schema._fields)){const O=P._config.default;O!==void 0&&i(T,B)===void 0&&s(T,B,O)}return T}const c=(0,n.ref)(u(a.modelValue)),f=(0,n.ref)({}),p=(0,n.ref)(!1),m=(0,n.ref)();let h=!1;(0,n.watch)(()=>a.modelValue,C=>{h||(c.value=u(C))},{deep:!0}),(0,n.watch)(c,C=>{h=!0,o("update:modelValue",C),setTimeout(()=>{h=!1},0)},{deep:!0});function d(C,T){if(!C)return!0;try{const B=Nu(C);if(B.length===0)return!0;let P=!0,O=null;for(let L=0;L<B.length;L++){const I=B[L],Z=i(T,I.field),{op:se,value:U,connector:ee}=I;let q=!1;switch(se){case"eq":q=Z===U;break;case"ne":q=Z!==U;break;case"gt":q=U!=null&&Z>U;break;case"ge":q=U!=null&&Z>=U;break;case"lt":q=U!=null&&Z<U;break;case"le":q=U!=null&&Z<=U;break;case"co":q=U!=null&&String(Z).includes(String(U));break;case"sw":q=U!=null&&String(Z).startsWith(String(U));break;case"ew":q=U!=null&&String(Z).endsWith(String(U));break;case"pr":q=Z!=null;break;default:q=!1}L===0?(P=q,O=q):(ee==="or"?P=(O??!1)||q:ee==="and"&&(P=(O??!1)&&q),O=P)}return P}catch(B){return console.warn("Failed to evaluate condition:",C,B),!0}}function g(C){return C._condition==null?!0:d(C._condition,c.value)}const y=(0,n.computed)(()=>{const C=[];for(const[T,B]of Object.entries(a.schema._fields))g(B)&&C.push({key:T,field:B});return C});function v(C,T,B){s(c.value,C,T),p.value&&_(C,B)}function _(C,T){const B=b(C);if(T._config.required===!0&&(B==null||B===""||Array.isArray(B)&&B.length===0))return f.value={...f.value,[C]:T._config.requiredMessage||l("form.required")},!1;if(T._validations!=null)for(const O of T._validations){const L=O(B);if(L!==!0)return f.value={...f.value,[C]:L},!1}const P={...f.value};return delete P[C],f.value=P,!0}function b(C){return i(c.value,C)}function k(C,T){return T._config.label!=null?T._config.label:C.split(/[._-]/).map(B=>B.charAt(0).toUpperCase()+B.slice(1)).join(" ")}function w(C){return{text:Ge,email:Au,password:Hm,number:Tn,tel:Uu,url:Ge,date:Wa,time:Ge,datetime:Wa,textarea:Ge,richtext:Mu,json:Bu,checkbox:At,toggle:ei,radio:jm,select:dt,multiselect:dt,array:Uo,upload:$l}[C]||Ge}const S=(0,n.computed)(()=>({...f.value,...a.errors||{}}));function N(C,T){const B={label:k(T,C),modelValue:b(T),"onUpdate:modelValue":P=>{v(T,P,C)},error:S.value[T],...C._config};if(C._type==="textarea"&&(B.multiline=!0),C._type==="multiselect"&&(B.multiple=!0),C._type==="json"&&(B.language=B.language??"json"),C._type==="array"){B.allowAdd=C._config.allowAdd??!0,B.allowDelete=C._config.allowDelete??!0;const{schema:P,...O}=C._config;Object.assign(B,O)}return B}function V(C){return typeof C=="string"&&a.components?.[C]!=null?a.components[C]:C}function x(C){return C._component!=null}function M(){let C=!0;const T={};for(const{key:B,field:P}of y.value){const O=b(B);if(P._config.required===!0&&(O==null||O===""||Array.isArray(O)&&O.length===0)){T[B]=P._config.requiredMessage||l("form.required"),C=!1;continue}if(P._validations!=null)for(const L of P._validations){const I=L(O);if(I!==!0){T[B]=I,C=!1;break}}}return f.value=T,C}function D(C){C&&C.preventDefault(),p.value=!0;const T=M();if(T)o("submit",c.value);else{C?.stopPropagation();const B=y.value.find(({key:P})=>f.value[P])?.key;if(B&&m.value){const P=m.value.querySelector(`[name="${B}"]`)||m.value.querySelector(`[id="${B}"]`)||m.value.querySelector("input, select, textarea");P&&(P.scrollIntoView({behavior:"smooth",block:"center"}),setTimeout(()=>{P instanceof HTMLElement&&P.focus()},300))}}return T}return t({validate:M,handleSubmit:D}),(C,T)=>{const B=(0,n.resolveComponent)("FormFlow",!0);return(0,n.openBlock)(),(0,n.createElementBlock)("form",{ref_key:"formElement",ref:m,class:(0,n.normalizeClass)(C.schema._class),onSubmit:D},[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(y.value,({key:P,field:O})=>((0,n.openBlock)(),(0,n.createElementBlock)("div",{key:P,class:(0,n.normalizeClass)([O._class,O._config.class])},[(0,n.renderSlot)(C.$slots,`field:${P}`,{value:b(P),field:O,formData:c.value,error:f.value[P],onChange:L=>{v(P,L,O)}},()=>[O._type==="array"&&O._config.schema?._isSchema?((0,n.openBlock)(),(0,n.createBlock)(Uo,(0,n.mergeProps)({key:0,ref_for:!0},N(O,P)),{default:(0,n.withCtx)(({item:L})=>[(0,n.createVNode)(B,{modelValue:L.value,"onUpdate:modelValue":I=>L.value=I,schema:O._config.schema,components:C.components},null,8,["modelValue","onUpdate:modelValue","schema","components"])]),_:2},1040)):O._type==="array"&&O._config.schema?((0,n.openBlock)(),(0,n.createBlock)(Uo,(0,n.mergeProps)({key:1,ref_for:!0},N(O,P)),{default:(0,n.withCtx)(({item:L})=>[((0,n.openBlock)(),(0,n.createBlock)((0,n.resolveDynamicComponent)(V(O._config.schema)),{modelValue:L.value,"onUpdate:modelValue":I=>L.value=I},null,8,["modelValue","onUpdate:modelValue"]))]),_:2},1040)):x(O)?((0,n.openBlock)(),(0,n.createBlock)((0,n.resolveDynamicComponent)(V(O._component.component)),(0,n.mergeProps)({key:2,"model-value":b(P)},{ref_for:!0},O._component.props,{"onUpdate:modelValue":L=>v(P,L,O)}),null,16,["model-value","onUpdate:modelValue"])):((0,n.openBlock)(),(0,n.createBlock)((0,n.resolveDynamicComponent)(w(O._type)),(0,n.mergeProps)({key:3,ref_for:!0},N(O,P)),null,16))],!0)],2))),128)),(0,n.renderSlot)(C.$slots,"errors",{errors:S.value,errorCount:Object.keys(S.value).filter(P=>S.value[P]).length,visibleFields:y.value},()=>[Object.keys(S.value).some(P=>S.value[P])?((0,n.openBlock)(),(0,n.createElementBlock)("div",zM,[T[0]||(T[0]=(0,n.createElementVNode)("div",{class:"form-errors-title"}," Please fix the following errors: ",-1)),(0,n.createElementVNode)("ul",UM,[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(y.value,({key:P,field:O})=>((0,n.openBlock)(),(0,n.createElementBlock)(n.Fragment,{key:P},[S.value[P]?((0,n.openBlock)(),(0,n.createElementBlock)("li",HM,[(0,n.createElementVNode)("strong",null,(0,n.toDisplayString)(k(P,O))+":",1),(0,n.createTextVNode)(" "+(0,n.toDisplayString)(S.value[P]),1)])):(0,n.createCommentVNode)("",!0)],64))),128))])])):(0,n.createCommentVNode)("",!0)],!0),(0,n.renderSlot)(C.$slots,"submit",{submit:D,validate:M,formData:c.value,errors:S.value},void 0,!0)],34)}}}),vc=Ce(jM,[["__scopeId","data-v-a9b71b11"]]),WM={key:0,class:"dialog-form-error bg-red-30 color-red radius-1 mb-1 txt14 px-1 py-075"},GM=(0,n.defineComponent)({__name:"DialogForm",props:{open:{type:Boolean},title:{},width:{default:"m"},position:{default:"center"},dismissable:{type:Boolean,default:!0},schema:{},modelValue:{},onSubmit:{},onDelete:{},submitText:{},cancelText:{},deleteText:{}},emits:["update:open","resolve"],setup(e,{emit:t}){const r=e,a=t,{$t:o}=ht(),l=(0,n.ref)({...r.modelValue||{}}),i=(0,n.ref)(!1),s=(0,n.ref)(!1),u=(0,n.ref)(null),c=(0,n.ref)(),f=(0,n.computed)(()=>typeof r.onDelete=="function");async function p(){if(!i.value){if(!c.value?.validate()){u.value=o("dialogForm.validationError");return}u.value=null,i.value=!0;try{r.onSubmit&&await r.onSubmit(l.value),a("resolve",{action:"submit",data:l.value}),a("update:open",!1)}catch(g){u.value=g instanceof Error?g.message:o("dialogForm.errorOccurred")}finally{i.value=!1}}}async function m(){if(!(s.value||!r.onDelete)){u.value=null,s.value=!0;try{await r.onDelete(l.value),a("resolve",{action:"delete",data:l.value}),a("update:open",!1)}catch(g){u.value=g instanceof Error?g.message:o("dialogForm.errorOccurred")}finally{s.value=!1}}}function h(){a("resolve",{action:"cancel",data:l.value}),a("update:open",!1)}function d(){a("resolve",{action:"cancel",data:l.value})}return(g,y)=>((0,n.openBlock)(),(0,n.createBlock)(ci,{open:g.open,title:g.title,width:g.width,position:g.position,dismissable:g.dismissable,"onUpdate:open":y[1]||(y[1]=v=>g.$emit("update:open",v)),onClose:d},{footer:(0,n.withCtx)(()=>[f.value?((0,n.openBlock)(),(0,n.createBlock)(Q,{key:0,color:"red",flat:"",loading:s.value,disabled:i.value,class:"me-auto",onClick:m},{default:(0,n.withCtx)(()=>[(0,n.createTextVNode)((0,n.toDisplayString)(g.deleteText||(0,n.unref)(o)("dialogForm.delete")),1)]),_:1},8,["loading","disabled"])):(0,n.createCommentVNode)("",!0),y[2]||(y[2]=(0,n.createElementVNode)("div",{class:"flex-grow-1"},null,-1)),(0,n.createVNode)(Q,{flat:"",disabled:i.value||s.value,onClick:h},{default:(0,n.withCtx)(()=>[(0,n.createTextVNode)((0,n.toDisplayString)(g.cancelText||(0,n.unref)(o)("dialogForm.cancel")),1)]),_:1},8,["disabled"]),(0,n.createVNode)(Q,{color:"primary",loading:i.value,disabled:s.value,onClick:p},{default:(0,n.withCtx)(()=>[(0,n.createTextVNode)((0,n.toDisplayString)(g.submitText||(0,n.unref)(o)("dialogForm.save")),1)]),_:1},8,["loading","disabled"])]),default:(0,n.withCtx)(()=>[(0,n.createElementVNode)("form",{onSubmit:(0,n.withModifiers)(p,["prevent"])},[u.value?((0,n.openBlock)(),(0,n.createElementBlock)("div",WM,(0,n.toDisplayString)(u.value),1)):(0,n.createCommentVNode)("",!0),(0,n.createVNode)(vc,{ref_key:"formFlowRef",ref:c,modelValue:l.value,"onUpdate:modelValue":y[0]||(y[0]=v=>l.value=v),schema:g.schema},null,8,["modelValue","schema"])],32)]),_:1},8,["open","title","width","position","dismissable"]))}}),Qh=GM;const gc=Symbol("dialog");var Nl=null;function qM(){const e=(0,n.inject)(gc,null);if(!e){if(Nl)return Nl;throw new Error("Dialog API not provided. Make sure DialogPlugin is installed via app.use(DialogPlugin)")}return e}const YM={install:e=>{let t=0;const r=(0,n.reactive)([]),a={form:l=>new Promise(i=>{const s=++t;r.push({id:s,type:"form",options:l,resolve:i,open:!0})}),confirm:l=>new Promise(i=>{const s=++t,u=typeof l=="string"?{message:l}:l;r.push({id:s,type:"confirm",options:u,resolve:i,open:!0})}),open:l=>{const i=++t,s={id:i,type:"open",options:l,resolve:()=>{},open:!0};return r.push(s),{close:()=>{const u=r.findIndex(c=>c.id===i);u!==-1&&(r[u].open=!1,setTimeout(()=>{const c=r.findIndex(f=>f.id===i);c!==-1&&r.splice(c,1)},200))}}}};Nl||(Nl=a),e.provide(gc,a);const o=(0,n.defineComponent)({name:"DialogContainer",setup(){function l(u,c){u.resolve(c),u.open=!1,setTimeout(()=>{const f=r.findIndex(p=>p.id===u.id);f!==-1&&r.splice(f,1)},200)}function i(u,c){u.resolve(c),u.open=!1,setTimeout(()=>{const f=r.findIndex(p=>p.id===u.id);f!==-1&&r.splice(f,1)},200)}function s(u,c){c||(u.open=!1,setTimeout(()=>{const f=r.findIndex(p=>p.id===u.id);f!==-1&&r.splice(f,1)},200))}return{dialogStack:r,handleFormResolve:l,handleConfirmResolve:i,handleOpenUpdate:s}},render(){return this.dialogStack.map(l=>{if(l.type==="form")return(0,n.h)(Qh,{key:l.id,open:l.open,...l.options,"onUpdate:open":i=>{i||this.handleFormResolve(l,{action:"cancel",data:l.options.modelValue||{}})},onResolve:i=>{this.handleFormResolve(l,i)}});if(l.type==="confirm")return(0,n.h)(gh,{key:l.id,open:l.open,...l.options,"onUpdate:open":i=>{i||this.handleConfirmResolve(l,!1)},onResolve:i=>{this.handleConfirmResolve(l,i)}});if(l.type==="open"){const i=l.options;return(0,n.h)(ci,{key:l.id,open:l.open,title:i.title,width:i.width,position:i.position,dismissable:i.dismissable,class:i.class,"onUpdate:open":s=>{this.handleOpenUpdate(l,s)}},{default:()=>(0,n.h)((typeof i.component=="string",i.component),i.props||{})})}return null})}});if(e.component("DialogContainer",o),typeof document<"u"&&typeof window<"u"){const l=()=>{if(!document.getElementById("bagelink-dialog-root")){const i=document.createElement("div");i.id="bagelink-dialog-root",document.body.appendChild(i);const s=(0,n.createApp)(o);s._context=e._context,s.mount(i)}};document.body&&l(),e.mixin({mounted(){this.$root===this&&l()}})}}};var _c={pint:{pattern:/\d/},int:{pattern:/[\d-]/},pnum:{pattern:/[\d.]/},tel:{pattern:/[\d.\-()\s+]/},money:{pattern:/[\d.\s,]/},number:{pattern:/[\d\-.]/},num:{pattern:/[\d\-.]/},hex:{pattern:/[0-9a-f]/i},email:{pattern:/[\w.\-@]/},alpha:{pattern:/[a-z_]/i},alphanum:{pattern:/\w/},lower:{pattern:/[a-z]/i,transform:e=>e.toLowerCase()},upper:{pattern:/[A-Z]/i,transform:e=>e.toUpperCase()},slug:{pattern:/[a-z0-9-]/i,transform:e=>e.toLowerCase().replace(/\s/g,"-")},snake:{pattern:/[a-z_]/,transform:e=>e.toLowerCase().replace(/\s/g,"_")}},Io=new WeakMap;function ss(e){if(e instanceof HTMLInputElement||e instanceof HTMLTextAreaElement)return e;const t=e.querySelector("input, textarea");return t instanceof HTMLInputElement||t instanceof HTMLTextAreaElement?t:null}function dp(e){const t=Object.keys(e.modifiers);return t.length>0?t[t.length-1]:""}function ev(e){return e.pattern!=null?e.pattern:e.modifier!=null&&e.modifier!==""?_c[e.modifier]?.pattern??/./:/./}function fp(e,t,r){r.keydownEvent=(a=>{KM(a,t,r)}),r.inputEvent=(a=>{tv(a,t,r)}),r.compositionStartEvent=(()=>{JM(r)}),r.compositionEndEvent=(a=>{ZM(a,t,r)}),t.addEventListener("keydown",r.keydownEvent),t.addEventListener("input",r.inputEvent,{capture:!0}),t.addEventListener("compositionstart",r.compositionStartEvent),t.addEventListener("compositionend",r.compositionEndEvent)}function pp(e,t){t.keydownEvent&&e.removeEventListener("keydown",t.keydownEvent),t.inputEvent&&e.removeEventListener("input",t.inputEvent,{capture:!0}),t.compositionStartEvent&&e.removeEventListener("compositionstart",t.compositionStartEvent),t.compositionEndEvent&&e.removeEventListener("compositionend",t.compositionEndEvent),t.keydownEvent=void 0,t.inputEvent=void 0,t.compositionStartEvent=void 0,t.compositionEndEvent=void 0}function XM(e){const t=["Tab","Backspace","Delete","ArrowLeft","ArrowRight","ArrowUp","ArrowDown","Enter"];return e.ctrlKey||e.altKey||e.metaKey?!0:t.includes(e.key)}function KM(e,t,r){if(r.composing===!0||XM(e)||r.modifier!=null&&r.modifier!==""&&typeof _c[r.modifier]?.transform=="function")return;const a=ev(r),o=e.key;a.test(o)||e.preventDefault()}function JM(e){e.composing=!0}function ZM(e,t,r){r.composing=!1,tv(e,t,r)}function mp(e,t){const r=ev(t);let a;if(t.modifier!=null&&t.modifier!==""){const l=_c[t.modifier]?.transform;a=l?l(e):e}else a=e;let o="";for(let l=0;l<a.length;l++){const i=a[l];r.test(i)&&(o+=i)}return o}function tv(e,t,r){if(r.reformatting===!0||r.composing===!0)return;const a=t.value,o=t.selectionEnd??a.length,l=a.slice(0,o),i=mp(a,r);if(i===a)return;const s=mp(l,r).length;r.reformatting=!0,t.value=i,t.setSelectionRange(s,s),r.reformatting=!1}var QM={beforeMount(e,t){const r=ss(e);if(r===null)return;const a={modifier:dp(t)};typeof t.value=="object"&&t.value!==null&&(a.pattern=t.value.pattern??/./,a.validateOnly=t.value.validateOnly===!0),Io.set(e,a),fp(e,r,a)},updated(e,t){const r=ss(e);if(r===null)return;const a=Io.get(e);a!==void 0&&(pp(r,a),a.modifier=dp(t),typeof t.value=="object"&&t.value!==null&&(a.pattern=t.value.pattern??/./,a.validateOnly=t.value.validateOnly===!0),fp(e,r,a))},unmounted(e){const t=ss(e),r=Io.get(e);t!==null&&r!==void 0&&pp(t,r),Io.delete(e)}},nv=QM,eL={mounted(e,t){const r=a=>{const o=e.getBoundingClientRect(),l=Math.max(o.width,o.height),i=document.createElement("span");i.className="ripple",Object.assign(i.style,{width:`${l}px`,height:`${l}px`,left:`${a.clientX-o.left-l/2}px`,top:`${a.clientY-o.top-l/2}px`,position:"absolute",borderRadius:"50%",transform:"scale(0)",background:"rgba(0, 0, 0, 0.3)",pointerEvents:"none",animation:"rippleEffect 0.6s ease-out"}),e.appendChild(i),setTimeout(()=>{i.remove()},600)};e.__rippleClickHandler=r,t.value!==!1&&(getComputedStyle(e).position==="static"&&(e.style.position="relative"),e.style.overflow="hidden",e.addEventListener("mousedown",r))},updated(e,t){const r=e.__rippleClickHandler;t.value===!1?e.removeEventListener("mousedown",r):(getComputedStyle(e).position==="static"&&(e.style.position="relative"),e.style.overflow="hidden",e.addEventListener("mousedown",r))},unmounted(e){const t=e.__rippleClickHandler;t&&(e.removeEventListener("mousedown",t),delete e.__rippleClickHandler)}},rv=eL,Na=Symbol("resize");function hp(e,t){const r=t.value||{};let a=!1,o=0,l=0,i=null;r.handle?(i=e.querySelector(r.handle),i||(i=document.createElement("div"),i.className=r.handle.replace(".","")+(r.handleClass?` ${r.handleClass}`:""),i.style.cssText=`
322
+ About how to use the Composition API mode, see https://vue-i18n.intlify.dev/guide/advanced/composition.html`,[an.DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE]:"'v-t' has been deprecated in v11. Use translate APIs ('t' or '$t') instead.",[an.DUPLICATE_USE_I18N_CALLING]:"Duplicate `useI18n` calling by local scope. Please don't call it on local scope, due to it does not work properly in component."};function la(e,...t){return di(IB[e],...t)}function no(e){if(!qe(e)||ln(e))return e;for(const t in e)if(pn(e,t))if(!t.includes("."))qe(e[t])&&no(e[t]);else{const r=t.split("."),a=r.length-1;let o=e,l=!1;for(let i=0;i<a;i++){if(r[i]==="__proto__")throw new Error(`unsafe key: ${r[i]}`);if(r[i]in o||(o[r[i]]=tt()),!qe(o[r[i]])){process.env.NODE_ENV!=="production"&&In(la(an.IGNORE_OBJ_FLATTEN,{key:r[i]})),l=!0;break}o=o[r[i]]}if(l||(ln(o)?Th.includes(r[a])||delete e[t]:(o[r[a]]=e[t],delete e[t])),!ln(o)){const i=o[r[a]];qe(i)&&no(i)}}return e}function dc(e,t){const{messages:r,__i18n:a,messageResolver:o,flatJson:l}=t,i=Oe(r)?r:st(a)?tt():{[e]:tt()};if(st(a)&&a.forEach(s=>{if("locale"in s&&"resource"in s){const{locale:u,resource:c}=s;u?(i[u]=i[u]||tt(),tl(c,i[u])):tl(c,i)}else ke(s)&&tl(JSON.parse(s),i)}),o==null&&l)for(const s in i)pn(i,s)&&no(i[s]);return i}function jh(e){return e.type}function Wh(e,t,r){let a=qe(t.messages)?t.messages:tt();"__i18nGlobal"in r&&(a=dc(e.locale.value,{messages:a,__i18n:r.__i18nGlobal}));const o=Object.keys(a);if(o.length&&o.forEach(l=>{e.mergeLocaleMessage(l,a[l])}),qe(t.datetimeFormats)){const l=Object.keys(t.datetimeFormats);l.length&&l.forEach(i=>{e.mergeDateTimeFormat(i,t.datetimeFormats[i])})}if(qe(t.numberFormats)){const l=Object.keys(t.numberFormats);l.length&&l.forEach(i=>{e.mergeNumberFormat(i,t.numberFormats[i])})}}function Zf(e){return(0,n.createVNode)(n.Text,null,e,0)}function Qr(){const e="currentInstance";return e in n?n[e]:n.getCurrentInstance()}var Qf="__INTLIFY_META__",ep=()=>[],OB=()=>!1,tp=0;function np(e){return((t,r,a,o)=>e(r,a,Qr()||void 0,o))}var RB=()=>{const e=Qr();let t=null;return e&&(t=jh(e)[Qf])?{[Qf]:t}:null};function fc(e={}){const{__root:t,__injectWithOption:r}=e,a=t===void 0,o=e.flatJson,l=yn?n.ref:n.shallowRef;let i=Ke(e.inheritLocale)?e.inheritLocale:!0;const s=l(t&&i?t.locale.value:ke(e.locale)?e.locale:eo),u=l(t&&i?t.fallbackLocale.value:ke(e.fallbackLocale)||st(e.fallbackLocale)||Oe(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:s.value),c=l(dc(s.value,e)),f=l(Oe(e.datetimeFormats)?e.datetimeFormats:{[s.value]:{}}),p=l(Oe(e.numberFormats)?e.numberFormats:{[s.value]:{}});let m=t?t.missingWarn:Ke(e.missingWarn)||aa(e.missingWarn)?e.missingWarn:!0,h=t?t.fallbackWarn:Ke(e.fallbackWarn)||aa(e.fallbackWarn)?e.fallbackWarn:!0,d=t?t.fallbackRoot:Ke(e.fallbackRoot)?e.fallbackRoot:!0,g=!!e.fallbackFormat,y=nt(e.missing)?e.missing:null,v=nt(e.missing)?np(e.missing):null,_=nt(e.postTranslation)?e.postTranslation:null,b=t?t.warnHtmlMessage:Ke(e.warnHtmlMessage)?e.warnHtmlMessage:!0,k=!!e.escapeParameter;const w=t?t.modifiers:Oe(e.modifiers)?e.modifiers:{};let S=e.pluralRules||t&&t.pluralRules,N;N=(()=>{a&&Uf(null);const W={version:MB,locale:s.value,fallbackLocale:u.value,messages:c.value,modifiers:w,pluralRules:S,missing:v===null?void 0:v,missingWarn:m,fallbackWarn:h,fallbackFormat:g,unresolving:!0,postTranslation:_===null?void 0:_,warnHtmlMessage:b,escapeParameter:k,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};W.datetimeFormats=f.value,W.numberFormats=p.value,W.__datetimeFormatters=Oe(N)?N.__datetimeFormatters:void 0,W.__numberFormatters=Oe(N)?N.__numberFormatters:void 0,process.env.NODE_ENV!=="production"&&(W.__v_emitter=Oe(N)?N.__v_emitter:void 0);const te=dB(W);return a&&Uf(te),te})(),wa(N,s.value,u.value);function x(){return[s.value,u.value,c.value,f.value,p.value]}const M=(0,n.computed)({get:()=>s.value,set:W=>{N.locale=W,s.value=W}}),D=(0,n.computed)({get:()=>u.value,set:W=>{N.fallbackLocale=W,u.value=W,wa(N,s.value,W)}}),C=(0,n.computed)(()=>c.value),T=(0,n.computed)(()=>f.value),B=(0,n.computed)(()=>p.value);function P(){return nt(_)?_:null}function O(W){_=W,N.postTranslation=W}function L(){return y}function I(W){W!==null&&(v=np(W)),y=W,N.missing=v}function Z(W,te){return W!=="translate"||!te.resolvedMessage}const se=(W,te,he,Se,ze,He)=>{x();let ae;try{(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&zf(RB()),a||(N.fallbackContext=t?cB():void 0),ae=W(N)}finally{(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&zf(null),a||(N.fallbackContext=void 0)}if(he!=="translate exists"&&yt(ae)&&ae===-1||he==="translate exists"&&!ae){const[fe,$e]=te();if(process.env.NODE_ENV!=="production"&&t&&ke(fe)&&Z(he,$e)&&(d&&(pi(h,fe)||Mh(m,fe))&&In(la(an.FALLBACK_TO_ROOT,{key:fe,type:he})),process.env.NODE_ENV!=="production")){const{__v_emitter:Be}=N;Be&&d&&Be.emit("fallback",{type:he,key:fe,to:"global",groupId:`${he}:${fe}`})}return t&&d?Se(t):ze(fe)}else{if(He(ae))return ae;throw Wt(rt.UNEXPECTED_RETURN_TYPE)}};function U(...W){return se(te=>Reflect.apply(Jf,null,[te,...W]),()=>au(...W),"translate",te=>Reflect.apply(te.t,te,[...W]),te=>te,te=>ke(te))}function ee(...W){const[te,he,Se]=W;if(Se&&!qe(Se))throw Wt(rt.INVALID_ARGUMENT);return U(te,he,kt({resolvedMessage:!0},Se||{}))}function q(...W){return se(te=>Reflect.apply(Wf,null,[te,...W]),()=>nu(...W),"datetime format",te=>Reflect.apply(te.d,te,[...W]),()=>"",te=>ke(te)||st(te))}function oe(...W){return se(te=>Reflect.apply(qf,null,[te,...W]),()=>ru(...W),"number format",te=>Reflect.apply(te.n,te,[...W]),()=>"",te=>ke(te)||st(te))}function ie(W){return W.map(te=>ke(te)||yt(te)||Ke(te)?Zf(String(te)):te)}const ve={normalize:ie,interpolate:W=>W,type:"vnode"};function Te(...W){return se(te=>{let he;const Se=te;try{Se.processor=ve,he=Reflect.apply(Jf,null,[Se,...W])}finally{Se.processor=null}return he},()=>au(...W),"translate",te=>te[lu](...W),te=>[Zf(te)],te=>st(te))}function we(...W){return se(te=>Reflect.apply(qf,null,[te,...W]),()=>ru(...W),"number format",te=>te[su](...W),ep,te=>ke(te)||st(te))}function lt(...W){return se(te=>Reflect.apply(Wf,null,[te,...W]),()=>nu(...W),"datetime format",te=>te[iu](...W),ep,te=>ke(te)||st(te))}function xe(W){S=W,N.pluralRules=S}function Ye(W,te){return se(()=>{if(!W)return!1;const he=Ne(ke(te)?te:s.value),Se=N.messageResolver(he,W);return ln(Se)||rn(Se)||ke(Se)},()=>[W],"translate exists",he=>Reflect.apply(he.te,he,[W,te]),OB,he=>Ke(he))}function ce(W){let te=null;const he=Nh(N,u.value,s.value);for(let Se=0;Se<he.length;Se++){const ze=c.value[he[Se]]||{},He=N.messageResolver(ze,W);if(He!=null){te=He;break}}return te}function _e(W){const te=ce(W);return te??(t?t.tm(W)||{}:{})}function Ne(W){return c.value[W]||{}}function ne(W,te){if(o){const he={[W]:te};for(const Se in he)pn(he,Se)&&no(he[Se]);te=he[W]}c.value[W]=te,N.messages=c.value}function ye(W,te){c.value[W]=c.value[W]||{};const he={[W]:te};if(o)for(const Se in he)pn(he,Se)&&no(he[Se]);te=he[W],tl(te,c.value[W]),N.messages=c.value}function R(W){return f.value[W]||{}}function j(W,te){f.value[W]=te,N.datetimeFormats=f.value,Gf(N,W,te)}function ue(W,te){f.value[W]=kt(f.value[W]||{},te),N.datetimeFormats=f.value,Gf(N,W,te)}function pe(W){return p.value[W]||{}}function De(W,te){p.value[W]=te,N.numberFormats=p.value,Yf(N,W,te)}function Pe(W,te){p.value[W]=kt(p.value[W]||{},te),N.numberFormats=p.value,Yf(N,W,te)}tp++,t&&yn&&((0,n.watch)(t.locale,W=>{i&&(s.value=W,N.locale=W,wa(N,s.value,u.value))}),(0,n.watch)(t.fallbackLocale,W=>{i&&(u.value=W,N.fallbackLocale=W,wa(N,s.value,u.value))}));const Y={id:tp,locale:M,fallbackLocale:D,get inheritLocale(){return i},set inheritLocale(W){i=W,W&&t&&(s.value=t.locale.value,u.value=t.fallbackLocale.value,wa(N,s.value,u.value))},get availableLocales(){return Object.keys(c.value).sort()},messages:C,get modifiers(){return w},get pluralRules(){return S||{}},get isGlobal(){return a},get missingWarn(){return m},set missingWarn(W){m=W,N.missingWarn=m},get fallbackWarn(){return h},set fallbackWarn(W){h=W,N.fallbackWarn=h},get fallbackRoot(){return d},set fallbackRoot(W){d=W},get fallbackFormat(){return g},set fallbackFormat(W){g=W,N.fallbackFormat=g},get warnHtmlMessage(){return b},set warnHtmlMessage(W){b=W,N.warnHtmlMessage=W},get escapeParameter(){return k},set escapeParameter(W){k=W,N.escapeParameter=W},t:U,getLocaleMessage:Ne,setLocaleMessage:ne,mergeLocaleMessage:ye,getPostTranslationHandler:P,setPostTranslationHandler:O,getMissingHandler:L,setMissingHandler:I,[Uh]:xe};return Y.datetimeFormats=T,Y.numberFormats=B,Y.rt=ee,Y.te=Ye,Y.tm=_e,Y.d=q,Y.n=oe,Y.getDateTimeFormat=R,Y.setDateTimeFormat=j,Y.mergeDateTimeFormat=ue,Y.getNumberFormat=pe,Y.setNumberFormat=De,Y.mergeNumberFormat=Pe,Y[Hh]=r,Y[lu]=Te,Y[iu]=lt,Y[su]=we,process.env.NODE_ENV!=="production"&&(Y[Ar]=W=>{N.__v_emitter=W},Y[to]=()=>{N.__v_emitter=void 0}),Y}var Gh="vue-i18n: composer properties",is={"vue-devtools-plugin-vue-i18n":"Vue I18n DevTools","vue-i18n-resource-inspector":"Vue I18n DevTools","vue-i18n-timeline":"Vue I18n"},FB={"vue-i18n-resource-inspector":"Search for scopes ..."},zB={"vue-i18n-timeline":16764185},cu;async function UB(e,t){return new Promise((r,a)=>{try{VB({id:"vue-devtools-plugin-vue-i18n",label:is["vue-devtools-plugin-vue-i18n"],packageName:"vue-i18n",homepage:"https://vue-i18n.intlify.dev",logo:"https://vue-i18n.intlify.dev/vue-i18n-devtools-logo.png",componentStateTypes:[Gh],app:e},o=>{cu=o,o.on.visitComponentTree(({componentInstance:i,treeNode:s})=>{HB(i,s,t)}),o.on.inspectComponent(({componentInstance:i,instanceData:s})=>{i.__VUE_I18N__&&s&&(t.mode==="legacy"?i.__VUE_I18N__!==t.global.__composer&&rp(s,i.__VUE_I18N__):rp(s,i.__VUE_I18N__))}),o.addInspector({id:"vue-i18n-resource-inspector",label:is["vue-i18n-resource-inspector"],icon:"language",treeFilterPlaceholder:FB["vue-i18n-resource-inspector"]}),o.on.getInspectorTree(i=>{i.app===e&&i.inspectorId==="vue-i18n-resource-inspector"&&YB(i,t)});const l=new Map;o.on.getInspectorState(async i=>{if(i.app===e&&i.inspectorId==="vue-i18n-resource-inspector")if(o.unhighlightElement(),KB(i,t),i.nodeId==="global"){if(!l.has(i.app)){const[s]=await o.getComponentInstances(i.app);l.set(i.app,s)}o.highlightElement(l.get(i.app))}else{const s=XB(i.nodeId,t);s&&o.highlightElement(s)}}),o.on.editInspectorState(i=>{i.app===e&&i.inspectorId==="vue-i18n-resource-inspector"&&ZB(i,t)}),o.addTimelineLayer({id:"vue-i18n-timeline",label:is["vue-i18n-timeline"],color:zB["vue-i18n-timeline"]}),r(!0)})}catch(o){console.error(o),a(!1)}})}function qh(e){return e.type.name||e.type.displayName||e.type.__file||"Anonymous"}function HB(e,t,r){const a=r.mode==="composition"?r.global:r.global.__composer;if(e&&e.__VUE_I18N__&&e.__VUE_I18N__!==a){const o={label:`i18n (${qh(e)} Scope)`,textColor:0,backgroundColor:16764185};t.tags.push(o)}}function rp(e,t){const r=Gh;e.state.push({type:r,key:"locale",editable:!0,value:t.locale.value}),e.state.push({type:r,key:"availableLocales",editable:!1,value:t.availableLocales}),e.state.push({type:r,key:"fallbackLocale",editable:!0,value:t.fallbackLocale.value}),e.state.push({type:r,key:"inheritLocale",editable:!0,value:t.inheritLocale}),e.state.push({type:r,key:"messages",editable:!1,value:pc(t.messages.value)}),e.state.push({type:r,key:"datetimeFormats",editable:!1,value:t.datetimeFormats.value}),e.state.push({type:r,key:"numberFormats",editable:!1,value:t.numberFormats.value})}function pc(e){const t={};return Object.keys(e).forEach(r=>{const a=e[r];nt(a)&&"source"in a?t[r]=qB(a):ln(a)&&a.loc&&a.loc.source?t[r]=a.loc.source:qe(a)?t[r]=pc(a):t[r]=a}),t}var jB={"<":"&lt;",">":"&gt;",'"':"&quot;","&":"&amp;"};function WB(e){return e.replace(/[<>"&]/g,GB)}function GB(e){return jB[e]||e}function qB(e){return{_custom:{type:"function",display:`<span>ƒ</span> ${e.source?`("${WB(e.source)}")`:"(?)"}`}}}function YB(e,t){e.rootNodes.push({id:"global",label:"Global Scope"});const r=t.mode==="composition"?t.global:t.global.__composer;for(const[a,o]of t.__instances){const l=t.mode==="composition"?o:o.__composer;r!==l&&e.rootNodes.push({id:l.id.toString(),label:`${qh(a)} Scope`})}}function XB(e,t){let r=null;if(e!=="global"){for(const[a,o]of t.__instances.entries())if(o.id.toString()===e){r=a;break}}return r}function Yh(e,t){if(e==="global")return t.mode==="composition"?t.global:t.global.__composer;{const r=Array.from(t.__instances.values()).find(a=>a.id.toString()===e);return r?t.mode==="composition"?r:r.__composer:null}}function KB(e,t){const r=Yh(e.nodeId,t);return r&&(e.state=JB(r)),null}function JB(e){const t={},r="Locale related info";t[r]=[{type:r,key:"locale",editable:!0,value:e.locale.value},{type:r,key:"fallbackLocale",editable:!0,value:e.fallbackLocale.value},{type:r,key:"availableLocales",editable:!1,value:e.availableLocales},{type:r,key:"inheritLocale",editable:!0,value:e.inheritLocale}];const a="Locale messages info";t[a]=[{type:a,key:"messages",editable:!1,value:pc(e.messages.value)}];{const o="Datetime formats info";t[o]=[{type:o,key:"datetimeFormats",editable:!1,value:e.datetimeFormats.value}];const l="Datetime formats info";t[l]=[{type:l,key:"numberFormats",editable:!1,value:e.numberFormats.value}]}return t}function ro(e,t){if(cu){let r;t&&"groupId"in t&&(r=t.groupId,delete t.groupId),cu.addTimelineEvent({layerId:"vue-i18n-timeline",event:{title:e,groupId:r,time:Date.now(),meta:{},data:t||{},logType:e==="compile-error"?"error":e==="fallback"||e==="missing"?"warning":"default"}})}}function ZB(e,t){const r=Yh(e.nodeId,t);if(r){const[a]=e.path;a==="locale"&&ke(e.state.value)?r.locale.value=e.state.value:a==="fallbackLocale"&&(ke(e.state.value)||st(e.state.value)||qe(e.state.value))?r.fallbackLocale.value=e.state.value:a==="inheritLocale"&&Ke(e.state.value)&&(r.inheritLocale=e.state.value)}}function QB(e){const t=ke(e.locale)?e.locale:eo,r=ke(e.fallbackLocale)||st(e.fallbackLocale)||Oe(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,a=nt(e.missing)?e.missing:void 0,o=Ke(e.silentTranslationWarn)||aa(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,l=Ke(e.silentFallbackWarn)||aa(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,i=Ke(e.fallbackRoot)?e.fallbackRoot:!0,s=!!e.formatFallbackMessages,u=Oe(e.modifiers)?e.modifiers:{},c=e.pluralizationRules,f=nt(e.postTranslation)?e.postTranslation:void 0,p=ke(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,m=!!e.escapeParameterHtml,h=Ke(e.sync)?e.sync:!0;let d=e.messages;if(Oe(e.sharedMessages)){const w=e.sharedMessages;d=Object.keys(w).reduce((S,N)=>(kt(S[N]||(S[N]={}),w[N]),S),d||{})}const{__i18n:g,__root:y,__injectWithOption:v}=e,_=e.datetimeFormats,b=e.numberFormats,k=e.flatJson;return{locale:t,fallbackLocale:r,messages:d,flatJson:k,datetimeFormats:_,numberFormats:b,missing:a,missingWarn:o,fallbackWarn:l,fallbackRoot:i,fallbackFormat:s,modifiers:u,pluralRules:c,postTranslation:f,warnHtmlMessage:p,escapeParameter:m,messageResolver:e.messageResolver,inheritLocale:h,__i18n:g,__root:y,__injectWithOption:v}}function du(e={}){const t=fc(QB(e)),{__extender:r}=e,a={id:t.id,get locale(){return t.locale.value},set locale(o){t.locale.value=o},get fallbackLocale(){return t.fallbackLocale.value},set fallbackLocale(o){t.fallbackLocale.value=o},get messages(){return t.messages.value},get datetimeFormats(){return t.datetimeFormats.value},get numberFormats(){return t.numberFormats.value},get availableLocales(){return t.availableLocales},get missing(){return t.getMissingHandler()},set missing(o){t.setMissingHandler(o)},get silentTranslationWarn(){return Ke(t.missingWarn)?!t.missingWarn:t.missingWarn},set silentTranslationWarn(o){t.missingWarn=Ke(o)?!o:o},get silentFallbackWarn(){return Ke(t.fallbackWarn)?!t.fallbackWarn:t.fallbackWarn},set silentFallbackWarn(o){t.fallbackWarn=Ke(o)?!o:o},get modifiers(){return t.modifiers},get formatFallbackMessages(){return t.fallbackFormat},set formatFallbackMessages(o){t.fallbackFormat=o},get postTranslation(){return t.getPostTranslationHandler()},set postTranslation(o){t.setPostTranslationHandler(o)},get sync(){return t.inheritLocale},set sync(o){t.inheritLocale=o},get warnHtmlInMessage(){return t.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(o){t.warnHtmlMessage=o!=="off"},get escapeParameterHtml(){return t.escapeParameter},set escapeParameterHtml(o){t.escapeParameter=o},get pluralizationRules(){return t.pluralRules||{}},__composer:t,t(...o){return Reflect.apply(t.t,t,[...o])},rt(...o){return Reflect.apply(t.rt,t,[...o])},te(o,l){return t.te(o,l)},tm(o){return t.tm(o)},getLocaleMessage(o){return t.getLocaleMessage(o)},setLocaleMessage(o,l){t.setLocaleMessage(o,l)},mergeLocaleMessage(o,l){t.mergeLocaleMessage(o,l)},d(...o){return Reflect.apply(t.d,t,[...o])},getDateTimeFormat(o){return t.getDateTimeFormat(o)},setDateTimeFormat(o,l){t.setDateTimeFormat(o,l)},mergeDateTimeFormat(o,l){t.mergeDateTimeFormat(o,l)},n(...o){return Reflect.apply(t.n,t,[...o])},getNumberFormat(o){return t.getNumberFormat(o)},setNumberFormat(o,l){t.setNumberFormat(o,l)},mergeNumberFormat(o,l){t.mergeNumberFormat(o,l)}};return a.__extender=r,process.env.NODE_ENV!=="production"&&(a.__enableEmitter=o=>{const l=t;l[Ar]&&l[Ar](o)},a.__disableEmitter=()=>{const o=t;o[to]&&o[to]()}),a}function eA(e,t,r){return{beforeCreate(){const a=Qr();if(!a)throw Wt(rt.UNEXPECTED_ERROR);const o=this.$options;if(o.i18n){const l=o.i18n;if(o.__i18n&&(l.__i18n=o.__i18n),l.__root=t,this===this.$root)this.$i18n=ap(e,l);else{l.__injectWithOption=!0,l.__extender=r.__vueI18nExtend,this.$i18n=du(l);const i=this.$i18n;i.__extender&&(i.__disposer=i.__extender(this.$i18n))}}else if(o.__i18n)if(this===this.$root)this.$i18n=ap(e,o);else{this.$i18n=du({__i18n:o.__i18n,__injectWithOption:!0,__extender:r.__vueI18nExtend,__root:t});const l=this.$i18n;l.__extender&&(l.__disposer=l.__extender(this.$i18n))}else this.$i18n=e;o.__i18nGlobal&&Wh(t,o,o),this.$t=(...l)=>this.$i18n.t(...l),this.$rt=(...l)=>this.$i18n.rt(...l),this.$te=(l,i)=>this.$i18n.te(l,i),this.$d=(...l)=>this.$i18n.d(...l),this.$n=(...l)=>this.$i18n.n(...l),this.$tm=l=>this.$i18n.tm(l),r.__setInstance(a,this.$i18n)},mounted(){if(process.env.NODE_ENV!=="production"&&this.$i18n){const a=Qr();if(!a)return;const o=this.$i18n;a.__VUE_I18N__=o.__composer;const l=this.__v_emitter=lc();o.__enableEmitter&&o.__enableEmitter(l),l.on("*",ro)}},unmounted(){const a=Qr();if(!a)throw Wt(rt.UNEXPECTED_ERROR);const o=this.$i18n;process.env.NODE_ENV!=="production"&&a.__VUE_I18N__&&(this.__v_emitter&&(this.__v_emitter.off("*",ro),delete this.__v_emitter),this.$i18n&&(o.__disableEmitter&&o.__disableEmitter(),delete a.__VUE_I18N__)),delete this.$t,delete this.$rt,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,o.__disposer&&(o.__disposer(),delete o.__disposer,delete o.__extender),r.__deleteInstance(a),delete this.$i18n}}}function ap(e,t){e.locale=t.locale||e.locale,e.fallbackLocale=t.fallbackLocale||e.fallbackLocale,e.missing=t.missing||e.missing,e.silentTranslationWarn=t.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=t.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=t.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=t.postTranslation||e.postTranslation,e.warnHtmlInMessage=t.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=t.escapeParameterHtml||e.escapeParameterHtml,e.sync=t.sync||e.sync,e.__composer[Uh](t.pluralizationRules||e.pluralizationRules);const r=dc(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(r).forEach(a=>e.mergeLocaleMessage(a,r[a])),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach(a=>e.mergeDateTimeFormat(a,t.datetimeFormats[a])),t.numberFormats&&Object.keys(t.numberFormats).forEach(a=>e.mergeNumberFormat(a,t.numberFormats[a])),e}var mc={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function tA({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((r,a)=>[...r,...a.type===n.Fragment?a.children:[a]],[]):t.reduce((r,a)=>{const o=e[a];return o&&(r[a]=o()),r},tt())}function Xh(){return n.Fragment}var op=(0,n.defineComponent)({name:"i18n-t",props:kt({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>yt(e)||!isNaN(e)}},mc),setup(e,t){const{slots:r,attrs:a}=t,o=e.i18n||hc({useScope:e.scope,__useComponent:!0});return()=>{const l=Object.keys(r).filter(f=>f[0]!=="_"),i=tt();e.locale&&(i.locale=e.locale),e.plural!==void 0&&(i.plural=ke(e.plural)?+e.plural:e.plural);const s=tA(t,l),u=o[lu](e.keypath,s,i),c=kt(tt(),a);return(0,n.h)(ke(e.tag)||qe(e.tag)?e.tag:Xh(),c,u)}}});function nA(e){return st(e)&&!ke(e[0])}function Kh(e,t,r,a){const{slots:o,attrs:l}=t;return()=>{const i={part:!0};let s=tt();e.locale&&(i.locale=e.locale),ke(e.format)?i.key=e.format:qe(e.format)&&(ke(e.format.key)&&(i.key=e.format.key),s=Object.keys(e.format).reduce((p,m)=>r.includes(m)?kt(tt(),p,{[m]:e.format[m]}):p,tt()));const u=a(e.value,i,s);let c=[i.key];st(u)?c=u.map((p,m)=>{const h=o[p.type],d=h?h({[p.type]:p.value,index:m,parts:u}):[p.value];return nA(d)&&(d[0].key=`${p.type}-${m}`),d}):ke(u)&&(c=[u]);const f=kt(tt(),l);return(0,n.h)(ke(e.tag)||qe(e.tag)?e.tag:Xh(),f,c)}}var lp=(0,n.defineComponent)({name:"i18n-n",props:kt({value:{type:Number,required:!0},format:{type:[String,Object]}},mc),setup(e,t){const r=e.i18n||hc({useScope:e.scope,__useComponent:!0});return Kh(e,t,Oh,(...a)=>r[su](...a))}});function rA(e,t){const r=e;if(e.mode==="composition")return r.__getInstance(t)||e.global;{const a=r.__getInstance(t);return a!=null?a.__composer:e.global.__composer}}function aA(e){const t=i=>{process.env.NODE_ENV!=="production"&&rc(la(an.DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE));const{instance:s,value:u}=i;if(!s||!s.$)throw Wt(rt.UNEXPECTED_ERROR);const c=rA(e,s.$),f=ip(u);return[Reflect.apply(c.t,c,[...sp(f)]),c]};return{created:(i,s)=>{const[u,c]=t(s);yn&&e.global===c&&(i.__i18nWatcher=(0,n.watch)(c.locale,()=>{s.instance&&s.instance.$forceUpdate()})),i.__composer=c,i.textContent=u},unmounted:i=>{yn&&i.__i18nWatcher&&(i.__i18nWatcher(),i.__i18nWatcher=void 0,delete i.__i18nWatcher),i.__composer&&(i.__composer=void 0,delete i.__composer)},beforeUpdate:(i,{value:s})=>{if(i.__composer){const u=i.__composer,c=ip(s);i.textContent=Reflect.apply(u.t,u,[...sp(c)])}},getSSRProps:i=>{const[s]=t(i);return{textContent:s}}}}function ip(e){if(ke(e))return{path:e};if(Oe(e)){if(!("path"in e))throw Wt(rt.REQUIRED_VALUE,"path");return e}else throw Wt(rt.INVALID_VALUE)}function sp(e){const{path:t,locale:r,args:a,choice:o,plural:l}=e,i={},s=a||{};return ke(r)&&(i.locale=r),yt(o)&&(i.plural=o),yt(l)&&(i.plural=l),[t,s,i]}function oA(e,t,...r){const a=Oe(r[0])?r[0]:{};(!Ke(a.globalInstall)||a.globalInstall)&&([op.name,"I18nT"].forEach(o=>e.component(o,op)),[lp.name,"I18nN"].forEach(o=>e.component(o,lp)),[cp.name,"I18nD"].forEach(o=>e.component(o,cp))),e.directive("t",aA(t))}var lA=wn("global-vue-i18n");function iA(e={}){const t=__VUE_I18N_LEGACY_API__&&Ke(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__;process.env.NODE_ENV!=="production"&&t&&rc(la(an.DEPRECATE_LEGACY_MODE));const r=Ke(e.globalInjection)?e.globalInjection:!0,a=new Map,[o,l]=sA(e,t),i=wn(process.env.NODE_ENV!=="production"?"vue-i18n":"");function s(p){return a.get(p)||null}function u(p,m){a.set(p,m)}function c(p){a.delete(p)}const f={get mode(){return __VUE_I18N_LEGACY_API__&&t?"legacy":"composition"},async install(p,...m){if(process.env.NODE_ENV!=="production"&&(p.__VUE_I18N__=f),p.__VUE_I18N_SYMBOL__=i,p.provide(p.__VUE_I18N_SYMBOL__,f),Oe(m[0])){const g=m[0];f.__composerExtend=g.__composerExtend,f.__vueI18nExtend=g.__vueI18nExtend}let h=null;!t&&r&&(h=vA(p,f.global)),__VUE_I18N_FULL_INSTALL__&&oA(p,f,...m),__VUE_I18N_LEGACY_API__&&t&&p.mixin(eA(l,l.__composer,f));const d=p.unmount;if(p.unmount=()=>{h&&h(),f.dispose(),d()},process.env.NODE_ENV!=="production"){if(!await UB(p,f))throw Wt(rt.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN);const g=lc();if(t){const y=l;y.__enableEmitter&&y.__enableEmitter(g)}else{const y=l;y[Ar]&&y[Ar](g)}g.on("*",ro)}},get global(){return l},dispose(){o.stop()},__instances:a,__getInstance:s,__setInstance:u,__deleteInstance:c};return f}function hc(e={}){const t=Qr();if(t==null)throw Wt(rt.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw Wt(rt.NOT_INSTALLED);const r=uA(t),a=dA(r),o=jh(t),l=cA(e,o);if(l==="global")return Wh(a,e,o),a;if(l==="parent"){let u=fA(r,t,e.__useComponent);return u==null&&(process.env.NODE_ENV!=="production"&&In(la(an.NOT_FOUND_PARENT_SCOPE)),u=a),u}const i=r;let s=i.__getInstance(t);if(s==null){const u=kt({},e);"__i18n"in o&&(u.__i18n=o.__i18n),a&&(u.__root=a),s=fc(u),i.__composerExtend&&(s[uu]=i.__composerExtend(s)),mA(i,t,s),i.__setInstance(t,s)}else process.env.NODE_ENV!=="production"&&l==="local"&&In(la(an.DUPLICATE_USE_I18N_CALLING));return s}function sA(e,t){const r=(0,n.effectScope)(),a=__VUE_I18N_LEGACY_API__&&t?r.run(()=>du(e)):r.run(()=>fc(e));if(a==null)throw Wt(rt.UNEXPECTED_ERROR);return[r,a]}function uA(e){const t=(0,n.inject)(e.isCE?lA:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw Wt(e.isCE?rt.NOT_INSTALLED_WITH_PROVIDE:rt.UNEXPECTED_ERROR);return t}function cA(e,t){return fi(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function dA(e){return e.mode==="composition"?e.global:e.global.__composer}function fA(e,t,r=!1){let a=null;const o=t.root;let l=pA(t,r);for(;l!=null;){const i=e;if(e.mode==="composition")a=i.__getInstance(l);else if(__VUE_I18N_LEGACY_API__){const s=i.__getInstance(l);s!=null&&(a=s.__composer,r&&a&&!a[Hh]&&(a=null))}if(a!=null||o===l)break;l=l.parent}return a}function pA(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function mA(e,t,r){let a=null;(0,n.onMounted)(()=>{if(process.env.NODE_ENV!=="production"){t.__VUE_I18N__=r,a=lc();const o=r;o[Ar]&&o[Ar](a),a.on("*",ro)}},t),(0,n.onUnmounted)(()=>{const o=r;process.env.NODE_ENV!=="production"&&(a&&a.off("*",ro),o[to]&&o[to](),delete t.__VUE_I18N__),e.__deleteInstance(t);const l=o[uu];l&&(l(),delete o[uu])},t)}var hA=["locale","fallbackLocale","availableLocales"],up=["t","rt","d","n","tm","te"];function vA(e,t){const r=Object.create(null);return hA.forEach(o=>{const l=Object.getOwnPropertyDescriptor(t,o);if(!l)throw Wt(rt.UNEXPECTED_ERROR);const i=(0,n.isRef)(l.value)?{get(){return l.value.value},set(s){l.value.value=s}}:{get(){return l.get&&l.get()}};Object.defineProperty(r,o,i)}),e.config.globalProperties.$i18n=r,up.forEach(o=>{const l=Object.getOwnPropertyDescriptor(t,o);if(!l||!l.value)throw Wt(rt.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${o}`,l)}),()=>{delete e.config.globalProperties.$i18n,up.forEach(o=>{delete e.config.globalProperties[`$${o}`]})}}var cp=(0,n.defineComponent)({name:"i18n-d",props:kt({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},mc),setup(e,t){const r=e.i18n||hc({useScope:e.scope,__useComponent:!0});return Kh(e,t,Ih,(...a)=>r[iu](...a))}});LB();lB(F6);iB(nB);sB(Nh);if(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const e=kr();e.__INTLIFY__=!0,z6(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}process.env.NODE_ENV;const gA={title:"Confirm",message:"Are you sure you want to continue?",confirm:"Confirm",cancel:"Cancel"},_A={upload:"Upload",uploading:"Uploading {count} file{plural}...",noFile:"No file selected",dropPlaceholder:"Drag and Drop files here or click to upload",delete:"Delete",replace:"Replace",download:"Download"},yA={of:"of",prev:"Previous",next:"Next"},bA={required:"This field is required",invalidEmail:"Please enter a valid email address",invalidUrl:"Please enter a valid URL",minLength:"Must be at least {min} characters",maxLength:"Must be no more than {max} characters",minValue:"Must be at least {min}",maxValue:"Must be no more than {max}",pattern:"Invalid format",passwordStrength:"Password strength"},wA={veryWeak:"Very Weak",weak:"Weak",fair:"Fair",good:"Good",strong:"Strong"},$A={placeholder:"Select",search:"Search",yes:"Yes",no:"No"},kA={loadDefault:"Load Default {label}"},EA={loading:"Loading..."},CA={success:"Success",error:"Error",warning:"Warning",info:"Information"},SA={filter:"Filter",noActiveFilters:"No active filters",connectors:{and:"And",or:"Or"},operators:{eq:"Equals",ne:"Not equals",gt:"Greater than",ge:"Greater or equal",lt:"Less than",le:"Less or equal",co:"Contains",sw:"Starts with",ew:"Ends with",pr:"Present"},placeholders:{selectField:"Select field",selectOption:"Select option",selectDate:"Select date",enterValue:"Value"},buttons:{addCondition:"Add condition",clearAll:"Clear all"}},TA={previous:"Previous",next:"Next",complete:"Complete",step:"Step {current} of {total}"},NA={placeholder:"Enter address"},DA={close:"Close",cancel:"Cancel",importData:"Import Data",changeFile:"Change File",selectSheet:"Select Sheet",hasHeaders:"Mark this if file has a header row",sourceKeyField:"Source Key Field (from this file)",relatedKeyField:"Related Key Field (from related file)",selectSourceValue:"Select source value",sourceValue:"Source value",selectTargetValue:"Select target value",targetValue:"Target value",selectColumn:"Select column..."},xA={year:"year",month:"month",week:"week",day:"day",hour:"hour",minute:"minute",second:"second",ago:"ago",in:"in",justNow:"Just now"},BA={save:"Save",cancel:"Cancel",delete:"Delete",validationError:"Please fix the validation errors before submitting",errorOccurred:"An error occurred"},AA={phoneNumber:"Phone Number",invalidPhone:"Please enter a valid phone number"},VA={invalidEmail:"Please enter a valid email address",invalidDomain:"This email domain appears to be invalid"},MA={invalidFormat:"Invalid date format"},LA={wrapText:"Wrap Text",selectAll:"Select All",clearAll:"Clear All"},PA={openFile:"Open File"},IA={placeholder:"Enter color"};var OA={modalConfirm:gA,upload:_A,pagination:yA,form:bA,password:wA,select:$A,fieldArray:kA,btn:EA,toast:CA,filter:SA,multiStep:TA,addressSearch:NA,importData:DA,timeAgo:xA,dialogForm:BA,tel:AA,email:VA,date:MA,spreadsheet:LA,lightbox:PA,color:IA};const RA={title:"Confirmar",message:"¿Estás seguro de que quieres continuar?",confirm:"Confirmar",cancel:"Cancelar"},FA={upload:"Subir",uploading:"Subiendo {count} archivo{plural}...",noFile:"Ningún archivo seleccionado",dropPlaceholder:"Arrastra y suelta archivos aquí o haz clic para subir",delete:"Eliminar",replace:"Reemplazar",download:"Descargar"},zA={of:"de",prev:"Anterior",next:"Siguiente"},UA={required:"Este campo es obligatorio",invalidEmail:"Introduce un correo electrónico válido",invalidUrl:"Introduce una URL válida",minLength:"Debe tener al menos {min} caracteres",maxLength:"Debe tener como máximo {max} caracteres",minValue:"Debe ser al menos {min}",maxValue:"Debe ser como máximo {max}",pattern:"Formato inválido",passwordStrength:"Fortaleza de la contraseña"},HA={veryWeak:"Muy débil",weak:"Débil",fair:"Regular",good:"Buena",strong:"Fuerte"},jA={placeholder:"Seleccionar",search:"Buscar",yes:"Sí",no:"No"},WA={loadDefault:"Cargar {label} predeterminado"},GA={loading:"Cargando..."},qA={success:"Éxito",error:"Error",warning:"Advertencia",info:"Información"},YA={filter:"Filtro",noActiveFilters:"Sin filtros activos",connectors:{and:"Y",or:"O"},operators:{eq:"Igual a",ne:"No igual a",gt:"Mayor que",ge:"Mayor o igual",lt:"Menor que",le:"Menor o igual",co:"Contiene",sw:"Empieza con",ew:"Termina con",pr:"Presente"},placeholders:{selectField:"Seleccionar campo",selectOption:"Seleccionar opción",selectDate:"Seleccionar fecha",enterValue:"Valor"},buttons:{addCondition:"Añadir condición",clearAll:"Limpiar todo"}},XA={previous:"Anterior",next:"Siguiente",complete:"Completar",step:"Paso {current} de {total}"},KA={placeholder:"Introduce una dirección"},JA={close:"Cerrar",cancel:"Cancelar",importData:"Importar datos",changeFile:"Cambiar archivo",selectSheet:"Seleccionar hoja",hasHeaders:"Marcar si el archivo tiene fila de encabezado",sourceKeyField:"Campo clave de origen (de este archivo)",relatedKeyField:"Campo clave relacionado (del archivo relacionado)",selectSourceValue:"Seleccionar valor de origen",sourceValue:"Valor de origen",selectTargetValue:"Seleccionar valor de destino",targetValue:"Valor de destino",selectColumn:"Seleccionar columna..."},ZA={year:"año",month:"mes",week:"semana",day:"día",hour:"hora",minute:"minuto",second:"segundo",ago:"hace",in:"en",justNow:"Justo ahora"},QA={save:"Guardar",cancel:"Cancelar",delete:"Eliminar",validationError:"Por favor corrija los errores de validación antes de enviar",errorOccurred:"Ocurrió un error"},eV={phoneNumber:"Número de teléfono",invalidPhone:"Por favor introduce un número de teléfono válido"},tV={invalidEmail:"Introduce un correo electrónico válido",invalidDomain:"El dominio de este correo electrónico parece no ser válido"},nV={invalidFormat:"Formato de fecha inválido"},rV={wrapText:"Ajuste de texto",selectAll:"Seleccionar todo",clearAll:"Limpiar todo"},aV={openFile:"Abrir archivo"},oV={placeholder:"Introduce un color"};var lV={modalConfirm:RA,upload:FA,pagination:zA,form:UA,password:HA,select:jA,fieldArray:WA,btn:GA,toast:qA,filter:YA,multiStep:XA,addressSearch:KA,importData:JA,timeAgo:ZA,dialogForm:QA,tel:eV,email:tV,date:nV,spreadsheet:rV,lightbox:aV,color:oV};const iV={title:"Confirmer",message:"Êtes-vous sûr de vouloir continuer ?",confirm:"Confirmer",cancel:"Annuler"},sV={upload:"Télécharger",uploading:"Téléchargement de {count} fichier{plural} en cours...",noFile:"Aucun fichier sélectionné",dropPlaceholder:"Glissez-déposez des fichiers ici ou cliquez pour télécharger",delete:"Supprimer",replace:"Remplacer",download:"Télécharger"},uV={of:"de",prev:"Précédent",next:"Suivant"},cV={required:"Ce champ est obligatoire",invalidEmail:"Veuillez entrer une adresse email valide",invalidUrl:"Veuillez entrer une URL valide",minLength:"Doit contenir au moins {min} caractères",maxLength:"Doit contenir au maximum {max} caractères",minValue:"Doit être au moins {min}",maxValue:"Doit être au maximum {max}",pattern:"Format invalide",passwordStrength:"Force du mot de passe"},dV={veryWeak:"Très faible",weak:"Faible",fair:"Passable",good:"Bonne",strong:"Forte"},fV={placeholder:"Sélectionner",search:"Rechercher",yes:"Oui",no:"Non"},pV={loadDefault:"Charger {label} par défaut"},mV={loading:"Chargement..."},hV={success:"Succès",error:"Erreur",warning:"Avertissement",info:"Information"},vV={filter:"Filtre",noActiveFilters:"Aucun filtre actif",connectors:{and:"Et",or:"Ou"},operators:{eq:"Égal à",ne:"Différent de",gt:"Supérieur à",ge:"Supérieur ou égal",lt:"Inférieur à",le:"Inférieur ou égal",co:"Contient",sw:"Commence par",ew:"Se termine par",pr:"Présent"},placeholders:{selectField:"Sélectionner un champ",selectOption:"Sélectionner une option",selectDate:"Sélectionner une date",enterValue:"Valeur"},buttons:{addCondition:"Ajouter une condition",clearAll:"Tout effacer"}},gV={previous:"Précédent",next:"Suivant",complete:"Terminer",step:"Étape {current} sur {total}"},_V={placeholder:"Entrez une adresse"},yV={close:"Fermer",cancel:"Annuler",importData:"Importer les données",changeFile:"Changer de fichier",selectSheet:"Sélectionner la feuille",hasHeaders:"Cochez si le fichier a une ligne d'en-tête",sourceKeyField:"Champ clé source (de ce fichier)",relatedKeyField:"Champ clé lié (du fichier lié)",selectSourceValue:"Sélectionner la valeur source",sourceValue:"Valeur source",selectTargetValue:"Sélectionner la valeur cible",targetValue:"Valeur cible",selectColumn:"Sélectionner une colonne..."},bV={year:"an",month:"mois",week:"semaine",day:"jour",hour:"heure",minute:"minute",second:"seconde",ago:"il y a",in:"dans",justNow:"À l'instant"},wV={save:"Enregistrer",cancel:"Annuler",delete:"Supprimer",validationError:"Veuillez corriger les erreurs de validation avant de soumettre",errorOccurred:"Une erreur est survenue"},$V={phoneNumber:"Numéro de téléphone",invalidPhone:"Veuillez entrer un numéro de téléphone valide"},kV={invalidEmail:"Veuillez entrer une adresse email valide",invalidDomain:"Le domaine de cet email semble invalide"},EV={invalidFormat:"Format de date invalide"},CV={wrapText:"Renvoyer à la ligne",selectAll:"Tout sélectionner",clearAll:"Tout effacer"},SV={openFile:"Ouvrir le fichier"},TV={placeholder:"Entrez une couleur"};var NV={modalConfirm:iV,upload:sV,pagination:uV,form:cV,password:dV,select:fV,fieldArray:pV,btn:mV,toast:hV,filter:vV,multiStep:gV,addressSearch:_V,importData:yV,timeAgo:bV,dialogForm:wV,tel:$V,email:kV,date:EV,spreadsheet:CV,lightbox:SV,color:TV};const DV={title:"אישור",message:"האם אתה בטוח שברצונך להמשיך?",confirm:"אישור",cancel:"ביטול"},xV={upload:"העלה",uploading:"מעלה {count} קבצים...",noFile:"לא נבחר קובץ",dropPlaceholder:"גרור ושחרר קבצים כאן או לחץ להעלאה",delete:"מחק",replace:"החלף",download:"הורד"},BV={of:"מתוך",prev:"הקודם",next:"הבא"},AV={required:"שדה זה נדרש",invalidEmail:"הזן כתובת אימייל חוקית",invalidUrl:"הזן כתובת URL חוקית",minLength:"חייב להכיל לפחות {min} תווים",maxLength:"חייב להכיל לכל היותר {max} תווים",minValue:"חייב להיות לפחות {min}",maxValue:"חייב להיות לכל היותר {max}",pattern:"פורמט לא חוקי",passwordStrength:"חוזק סיסמה"},VV={veryWeak:"חלשה מאוד",weak:"חלשה",fair:"סבירה",good:"טובה",strong:"חזקה"},MV={placeholder:"בחר",search:"חיפוש",yes:"כן",no:"לא"},LV={loadDefault:"טען {label} ברירת מחדל"},PV={loading:"טוען..."},IV={success:"הצלחה",error:"שגיאה",warning:"אזהרה",info:"מידע"},OV={filter:"פילטר",noActiveFilters:"אין פילטרים פעילים",connectors:{and:"וגם",or:"או"},operators:{eq:"שווה ל",ne:"לא שווה ל",gt:"גדול מ",ge:"גדול או שווה ל",lt:"קטן מ",le:"קטן או שווה ל",co:"מכיל",sw:"מתחיל ב",ew:"מסתיים ב",pr:"קיים"},placeholders:{selectField:"בחר שדה",selectOption:"בחירה",selectDate:"בחירת תאריך",enterValue:"ערך"},buttons:{addCondition:"הוספת תנאי",clearAll:"נקה הכל"}},RV={previous:"הקודם",next:"הבא",complete:"סיים",step:"שלב {current} מתוך {total}"},FV={placeholder:"הזן כתובת"},zV={close:"סגור",cancel:"ביטול",importData:"ייבא נתונים",changeFile:"החלף קובץ",selectSheet:"בחר גיליון",hasHeaders:"סמן אם לקובץ יש שורת כותרת",sourceKeyField:"שדה מפתח מקור (מהקובץ הזה)",relatedKeyField:"שדה מפתח קשור (מהקובץ הקשור)",selectSourceValue:"בחר ערך מקור",sourceValue:"ערך מקור",selectTargetValue:"בחר ערך יעד",targetValue:"ערך יעד",selectColumn:"בחר עמודה..."},UV={year:{singular:"שנה",plural:"שנים"},month:{singular:"חודש",plural:"חודשים"},week:{singular:"שבוע",plural:"שבועות"},day:{singular:"יום",plural:"ימים"},hour:{singular:"שעה",plural:"שעות"},minute:{singular:"דקה",plural:"דקות"},second:{singular:"שנייה",plural:"שניות"},ago:"לפני",in:"בעוד",justNow:"זה עתה"},HV={save:"שמור",cancel:"ביטול",delete:"מחק",validationError:"אנא תקן את שגיאות האימות לפני השליחה",errorOccurred:"אירעה שגיאה"},jV={phoneNumber:"מספר טלפון",invalidPhone:"אנא הזן מספר טלפון תקין"},WV={invalidEmail:"הזן כתובת אימייל חוקית",invalidDomain:"נראה שדומיין האימייל אינו חוקי"},GV={invalidFormat:"פורמט תאריך לא חוקי"},qV={wrapText:"גלישת טקסט",selectAll:"בחר הכל",clearAll:"נקה הכל"},YV={openFile:"פתח קובץ"},XV={placeholder:"הזן צבע"};var KV={modalConfirm:DV,upload:xV,pagination:BV,form:AV,password:VV,select:MV,fieldArray:LV,btn:PV,toast:IV,filter:OV,multiStep:RV,addressSearch:FV,importData:zV,timeAgo:UV,dialogForm:HV,tel:jV,email:WV,date:GV,spreadsheet:qV,lightbox:YV,color:XV};const JV={title:"Conferma",message:"Sei sicuro di voler continuare?",confirm:"Conferma",cancel:"Annulla"},ZV={upload:"Carica",uploading:"Caricamento di {count} file{plural} in corso...",noFile:"Nessun file selezionato",dropPlaceholder:"Trascina e rilascia i file qui o clicca per caricare",delete:"Elimina",replace:"Sostituisci",download:"Scarica"},QV={of:"di",prev:"Precedente",next:"Successivo"},eM={required:"Questo campo è obbligatorio",invalidEmail:"Inserisci un indirizzo email valido",invalidUrl:"Inserisci un URL valido",minLength:"Deve contenere almeno {min} caratteri",maxLength:"Deve contenere al massimo {max} caratteri",minValue:"Deve essere almeno {min}",maxValue:"Deve essere al massimo {max}",pattern:"Formato non valido",passwordStrength:"Forza della password"},tM={veryWeak:"Molto debole",weak:"Debole",fair:"Discreta",good:"Buona",strong:"Forte"},nM={placeholder:"Seleziona",search:"Cerca",yes:"Sì",no:"No"},rM={loadDefault:"Carica {label} predefinito"},aM={loading:"Caricamento..."},oM={success:"Successo",error:"Errore",warning:"Avviso",info:"Informazione"},lM={filter:"Filtro",noActiveFilters:"Nessun filtro attivo",connectors:{and:"E",or:"O"},operators:{eq:"Uguale a",ne:"Diverso da",gt:"Maggiore di",ge:"Maggiore o uguale",lt:"Minore di",le:"Minore o uguale",co:"Contiene",sw:"Inizia con",ew:"Finisce con",pr:"Presente"},placeholders:{selectField:"Seleziona campo",selectOption:"Seleziona opzione",selectDate:"Seleziona data",enterValue:"Valore"},buttons:{addCondition:"Aggiungi condizione",clearAll:"Cancella tutto"}},iM={previous:"Precedente",next:"Successivo",complete:"Completa",step:"Passo {current} di {total}"},sM={placeholder:"Inserisci un indirizzo"},uM={close:"Chiudi",cancel:"Annulla",importData:"Importa dati",changeFile:"Cambia file",selectSheet:"Seleziona foglio",hasHeaders:"Seleziona se il file ha una riga di intestazione",sourceKeyField:"Campo chiave sorgente (da questo file)",relatedKeyField:"Campo chiave correlato (dal file correlato)",selectSourceValue:"Seleziona valore sorgente",sourceValue:"Valore sorgente",selectTargetValue:"Seleziona valore di destinazione",targetValue:"Valore di destinazione",selectColumn:"Seleziona colonna..."},cM={year:"anno",month:"mese",week:"settimana",day:"giorno",hour:"ora",minute:"minuto",second:"secondo",ago:"fa",in:"tra",justNow:"Poco fa"},dM={save:"Salva",cancel:"Annulla",delete:"Elimina",validationError:"Correggi gli errori di validazione prima di inviare",errorOccurred:"Si è verificato un errore"},fM={phoneNumber:"Numero di telefono",invalidPhone:"Inserisci un numero di telefono valido"},pM={invalidEmail:"Inserisci un indirizzo email valido",invalidDomain:"Il dominio di questa email sembra non essere valido"},mM={invalidFormat:"Formato data non valido"},hM={wrapText:"A capo automatico",selectAll:"Seleziona tutto",clearAll:"Cancella tutto"},vM={openFile:"Apri file"},gM={placeholder:"Inserisci un colore"};var _M={modalConfirm:JV,upload:ZV,pagination:QV,form:eM,password:tM,select:nM,fieldArray:rM,btn:aM,toast:oM,filter:lM,multiStep:iM,addressSearch:sM,importData:uM,timeAgo:cM,dialogForm:dM,tel:fM,email:pM,date:mM,spreadsheet:hM,lightbox:vM,color:gM};const yM={title:"Подтвердить",message:"Вы уверены, что хотите продолжить?",confirm:"Подтвердить",cancel:"Отмена"},bM={upload:"Загрузить",uploading:"Загрузка {count} файл{plural}...",noFile:"Файл не выбран",dropPlaceholder:"Перетащите файлы сюда или нажмите для загрузки",delete:"Удалить",replace:"Заменить",download:"Скачать"},wM={of:"из",prev:"Предыдущая",next:"Следующая"},$M={required:"Это поле обязательно для заполнения",invalidEmail:"Введите действительный адрес электронной почты",invalidUrl:"Введите действительный URL",minLength:"Должно содержать не менее {min} символов",maxLength:"Должно содержать не более {max} символов",minValue:"Должно быть не менее {min}",maxValue:"Должно быть не более {max}",pattern:"Неверный формат",passwordStrength:"Надежность пароля"},kM={veryWeak:"Очень слабый",weak:"Слабый",fair:"Средний",good:"Хороший",strong:"Надёжный"},EM={placeholder:"Выбрать",search:"Поиск",yes:"Да",no:"Нет"},CM={loadDefault:"Загрузить {label} по умолчанию"},SM={loading:"Загрузка..."},TM={success:"Успешно",error:"Ошибка",warning:"Предупреждение",info:"Информация"},NM={filter:"Фильтр",noActiveFilters:"Нет активных фильтров",connectors:{and:"И",or:"Или"},operators:{eq:"Равно",ne:"Не равно",gt:"Больше чем",ge:"Больше или равно",lt:"Меньше чем",le:"Меньше или равно",co:"Содержит",sw:"Начинается с",ew:"Заканчивается на",pr:"Присутствует"},placeholders:{selectField:"Выберите поле",selectOption:"Выберите вариант",selectDate:"Выберите дату",enterValue:"Значение"},buttons:{addCondition:"Добавить условие",clearAll:"Очистить всё"}},DM={previous:"Назад",next:"Далее",complete:"Завершить",step:"Шаг {current} из {total}"},xM={placeholder:"Введите адрес"},BM={close:"Закрыть",cancel:"Отмена",importData:"Импорт данных",changeFile:"Изменить файл",selectSheet:"Выбрать лист",hasHeaders:"Отметьте, если файл содержит строку заголовка",sourceKeyField:"Ключевое поле источника (из этого файла)",relatedKeyField:"Ключевое поле связанного (из связанного файла)",selectSourceValue:"Выберите исходное значение",sourceValue:"Исходное значение",selectTargetValue:"Выберите целевое значение",targetValue:"Целевое значение",selectColumn:"Выберите столбец..."},AM={year:"год",month:"месяц",week:"неделя",day:"день",hour:"час",minute:"минута",second:"секунда",ago:"назад",in:"через",justNow:"Только что"},VM={save:"Сохранить",cancel:"Отмена",delete:"Удалить",validationError:"Пожалуйста, исправьте ошибки валидации перед отправкой",errorOccurred:"Произошла ошибка"},MM={phoneNumber:"Номер телефона",invalidPhone:"Пожалуйста, введите действительный номер телефона"},LM={invalidEmail:"Введите действительный адрес электронной почты",invalidDomain:"Домен этого адреса электронной почты, похоже, недействителен"},PM={invalidFormat:"Неверный формат даты"},IM={wrapText:"Перенос текста",selectAll:"Выбрать всё",clearAll:"Очистить всё"},OM={openFile:"Открыть файл"},RM={placeholder:"Введите цвет"};var FM={modalConfirm:yM,upload:bM,pagination:wM,form:$M,password:kM,select:EM,fieldArray:CM,btn:SM,toast:TM,filter:NM,multiStep:DM,addressSearch:xM,importData:BM,timeAgo:AM,dialogForm:VM,tel:MM,email:LM,date:PM,spreadsheet:IM,lightbox:OM,color:RM},fu={en:OA,he:KV,it:_M,es:lV,fr:NV,ru:FM},Tl=null;function Jh(e={}){const{locale:t="en",fallbackLocale:r="en",messages:a={}}=e,o=Object.keys(fu),l={};for(const i of o)l[i]={...fu[i]||{},...a[i]||{}};for(const i of Object.keys(a))l[i]||(l[i]=a[i]);return Tl=iA({locale:t,fallbackLocale:r,messages:l,legacy:!1,globalInjection:!0}),Tl}function fa(){if(!Tl)throw new Error("i18n not initialized. Call createI18n() first.");return Tl}function ht(){const e=fa().global;return{$t:e.t,t:e.t,locale:e.locale,availableLocales:e.availableLocales,fallbackLocale:e.fallbackLocale,n:e.n,d:e.d}}function Zh(e){if(e!=null)return e.startsWith("$t:")?fa().global.t(e.slice(3)):e}var zM={key:0,class:"form-errors-summary"},UM={class:"form-errors-list"},HM={key:0},jM=(0,n.defineComponent)({__name:"FormFlow",props:{schema:{},modelValue:{},components:{},errors:{}},emits:["update:modelValue","submit"],setup(e,{expose:t,emit:r}){const a=e,o=r,{$t:l}=ht();function i(C,T){const B=T.split(".");let P=C;for(const O of B)P=P?.[O];return P}function s(C,T,B){const P=T.split(".");let O=C;for(let L=0;L<P.length-1;L++){const I=P[L];(O[I]==null||typeof O[I]!="object")&&(O[I]={}),O=O[I]}O[P[P.length-1]]=B}function u(C){const T={...C||{}};for(const[B,P]of Object.entries(a.schema._fields)){const O=P._config.default;O!==void 0&&i(T,B)===void 0&&s(T,B,O)}return T}const c=(0,n.ref)(u(a.modelValue)),f=(0,n.ref)({}),p=(0,n.ref)(!1),m=(0,n.ref)();let h=!1;(0,n.watch)(()=>a.modelValue,C=>{h||(c.value=u(C))},{deep:!0}),(0,n.watch)(c,C=>{h=!0,o("update:modelValue",C),setTimeout(()=>{h=!1},0)},{deep:!0});function d(C,T){if(!C)return!0;try{const B=Nu(C);if(B.length===0)return!0;let P=!0,O=null;for(let L=0;L<B.length;L++){const I=B[L],Z=i(T,I.field),{op:se,value:U,connector:ee}=I;let q=!1;switch(se){case"eq":q=Z===U;break;case"ne":q=Z!==U;break;case"gt":q=U!=null&&Z>U;break;case"ge":q=U!=null&&Z>=U;break;case"lt":q=U!=null&&Z<U;break;case"le":q=U!=null&&Z<=U;break;case"co":q=U!=null&&String(Z).includes(String(U));break;case"sw":q=U!=null&&String(Z).startsWith(String(U));break;case"ew":q=U!=null&&String(Z).endsWith(String(U));break;case"pr":q=Z!=null;break;default:q=!1}L===0?(P=q,O=q):(ee==="or"?P=(O??!1)||q:ee==="and"&&(P=(O??!1)&&q),O=P)}return P}catch(B){return console.warn("Failed to evaluate condition:",C,B),!0}}function g(C){return C._condition==null?!0:d(C._condition,c.value)}const y=(0,n.computed)(()=>{const C=[];for(const[T,B]of Object.entries(a.schema._fields))g(B)&&C.push({key:T,field:B});return C});function v(C,T,B){s(c.value,C,T),p.value&&_(C,B)}function _(C,T){const B=b(C);if(T._config.required===!0&&(B==null||B===""||Array.isArray(B)&&B.length===0))return f.value={...f.value,[C]:T._config.requiredMessage||l("form.required")},!1;if(T._validations!=null)for(const O of T._validations){const L=O(B);if(L!==!0)return f.value={...f.value,[C]:L},!1}const P={...f.value};return delete P[C],f.value=P,!0}function b(C){return i(c.value,C)}function k(C,T){return T._config.label!=null?T._config.label:C.split(/[._-]/).map(B=>B.charAt(0).toUpperCase()+B.slice(1)).join(" ")}function w(C){return{text:Ge,email:Au,password:Hm,number:Tn,tel:Uu,url:Ge,date:Wa,time:Ge,datetime:Wa,textarea:Ge,richtext:Mu,json:Bu,checkbox:At,toggle:ei,radio:jm,select:dt,multiselect:dt,array:Uo,upload:$l}[C]||Ge}const S=(0,n.computed)(()=>({...f.value,...a.errors||{}}));function N(C,T){const B={label:k(T,C),modelValue:b(T),"onUpdate:modelValue":P=>{v(T,P,C)},error:S.value[T],...C._config};if(C._type==="textarea"&&(B.multiline=!0),C._type==="multiselect"&&(B.multiple=!0),C._type==="json"&&(B.language=B.language??"json"),C._type==="array"){B.allowAdd=C._config.allowAdd??!0,B.allowDelete=C._config.allowDelete??!0;const{schema:P,...O}=C._config;Object.assign(B,O)}return B}function V(C){return typeof C=="string"&&a.components?.[C]!=null?a.components[C]:C}function x(C){return C._component!=null}function M(){let C=!0;const T={};for(const{key:B,field:P}of y.value){const O=b(B);if(P._config.required===!0&&(O==null||O===""||Array.isArray(O)&&O.length===0)){T[B]=P._config.requiredMessage||l("form.required"),C=!1;continue}if(P._validations!=null)for(const L of P._validations){const I=L(O);if(I!==!0){T[B]=I,C=!1;break}}}return f.value=T,C}function D(C){C&&C.preventDefault(),p.value=!0;const T=M();if(T)o("submit",c.value);else{C?.stopPropagation();const B=y.value.find(({key:P})=>f.value[P])?.key;if(B&&m.value){const P=m.value.querySelector(`[name="${B}"]`)||m.value.querySelector(`[id="${B}"]`)||m.value.querySelector("input, select, textarea");P&&(P.scrollIntoView({behavior:"smooth",block:"center"}),setTimeout(()=>{P instanceof HTMLElement&&P.focus()},300))}}return T}return t({validate:M,handleSubmit:D}),(C,T)=>{const B=(0,n.resolveComponent)("FormFlow",!0);return(0,n.openBlock)(),(0,n.createElementBlock)("form",{ref_key:"formElement",ref:m,class:(0,n.normalizeClass)(C.schema._class),onSubmit:D},[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(y.value,({key:P,field:O})=>((0,n.openBlock)(),(0,n.createElementBlock)("div",{key:P,class:(0,n.normalizeClass)([O._class,O._config.class])},[(0,n.renderSlot)(C.$slots,`field:${P}`,{value:b(P),field:O,formData:c.value,error:f.value[P],onChange:L=>{v(P,L,O)}},()=>[O._type==="array"&&O._config.schema?._isSchema?((0,n.openBlock)(),(0,n.createBlock)(Uo,(0,n.mergeProps)({key:0,ref_for:!0},N(O,P)),{default:(0,n.withCtx)(({item:L})=>[(0,n.createVNode)(B,{modelValue:L.value,"onUpdate:modelValue":I=>L.value=I,schema:O._config.schema,components:C.components},null,8,["modelValue","onUpdate:modelValue","schema","components"])]),_:2},1040)):O._type==="array"&&O._config.schema?((0,n.openBlock)(),(0,n.createBlock)(Uo,(0,n.mergeProps)({key:1,ref_for:!0},N(O,P)),{default:(0,n.withCtx)(({item:L})=>[((0,n.openBlock)(),(0,n.createBlock)((0,n.resolveDynamicComponent)(V(O._config.schema)),{modelValue:L.value,"onUpdate:modelValue":I=>L.value=I},null,8,["modelValue","onUpdate:modelValue"]))]),_:2},1040)):x(O)?((0,n.openBlock)(),(0,n.createBlock)((0,n.resolveDynamicComponent)(V(O._component.component)),(0,n.mergeProps)({key:2,"model-value":b(P)},{ref_for:!0},O._component.props,{"onUpdate:modelValue":L=>v(P,L,O)}),null,16,["model-value","onUpdate:modelValue"])):((0,n.openBlock)(),(0,n.createBlock)((0,n.resolveDynamicComponent)(w(O._type)),(0,n.mergeProps)({key:3,ref_for:!0},N(O,P)),null,16))],!0)],2))),128)),(0,n.renderSlot)(C.$slots,"errors",{errors:S.value,errorCount:Object.keys(S.value).filter(P=>S.value[P]).length,visibleFields:y.value},()=>[Object.keys(S.value).some(P=>S.value[P])?((0,n.openBlock)(),(0,n.createElementBlock)("div",zM,[T[0]||(T[0]=(0,n.createElementVNode)("div",{class:"form-errors-title"}," Please fix the following errors: ",-1)),(0,n.createElementVNode)("ul",UM,[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(y.value,({key:P,field:O})=>((0,n.openBlock)(),(0,n.createElementBlock)(n.Fragment,{key:P},[S.value[P]?((0,n.openBlock)(),(0,n.createElementBlock)("li",HM,[(0,n.createElementVNode)("strong",null,(0,n.toDisplayString)(k(P,O))+":",1),(0,n.createTextVNode)(" "+(0,n.toDisplayString)(S.value[P]),1)])):(0,n.createCommentVNode)("",!0)],64))),128))])])):(0,n.createCommentVNode)("",!0)],!0),(0,n.renderSlot)(C.$slots,"submit",{submit:D,validate:M,formData:c.value,errors:S.value},void 0,!0)],34)}}}),vc=Ce(jM,[["__scopeId","data-v-a9b71b11"]]),WM={key:0,class:"dialog-form-error bg-red-30 color-red radius-1 mb-1 txt14 px-1 py-075"},GM=(0,n.defineComponent)({__name:"DialogForm",props:{open:{type:Boolean},title:{},width:{default:"m"},position:{default:"center"},dismissable:{type:Boolean,default:!0},schema:{},modelValue:{},onSubmit:{},onDelete:{},submitText:{},cancelText:{},deleteText:{}},emits:["update:open","resolve"],setup(e,{emit:t}){const r=e,a=t,{$t:o}=ht(),l=(0,n.ref)({...r.modelValue||{}}),i=(0,n.ref)(!1),s=(0,n.ref)(!1),u=(0,n.ref)(null),c=(0,n.ref)(),f=(0,n.computed)(()=>typeof r.onDelete=="function");async function p(){if(!i.value){if(!c.value?.validate()){u.value=o("dialogForm.validationError");return}u.value=null,i.value=!0;try{r.onSubmit&&await r.onSubmit(l.value),a("resolve",{action:"submit",data:l.value}),a("update:open",!1)}catch(g){u.value=g instanceof Error?g.message:o("dialogForm.errorOccurred")}finally{i.value=!1}}}async function m(){if(!(s.value||!r.onDelete)){u.value=null,s.value=!0;try{await r.onDelete(l.value),a("resolve",{action:"delete",data:l.value}),a("update:open",!1)}catch(g){u.value=g instanceof Error?g.message:o("dialogForm.errorOccurred")}finally{s.value=!1}}}function h(){a("resolve",{action:"cancel",data:l.value}),a("update:open",!1)}function d(){a("resolve",{action:"cancel",data:l.value})}return(g,y)=>((0,n.openBlock)(),(0,n.createBlock)(ci,{open:g.open,title:g.title,width:g.width,position:g.position,dismissable:g.dismissable,"onUpdate:open":y[1]||(y[1]=v=>g.$emit("update:open",v)),onClose:d},{footer:(0,n.withCtx)(()=>[f.value?((0,n.openBlock)(),(0,n.createBlock)(Q,{key:0,color:"red",flat:"",loading:s.value,disabled:i.value,class:"me-auto",onClick:m},{default:(0,n.withCtx)(()=>[(0,n.createTextVNode)((0,n.toDisplayString)(g.deleteText||(0,n.unref)(o)("dialogForm.delete")),1)]),_:1},8,["loading","disabled"])):(0,n.createCommentVNode)("",!0),y[2]||(y[2]=(0,n.createElementVNode)("div",{class:"flex-grow-1"},null,-1)),(0,n.createVNode)(Q,{flat:"",disabled:i.value||s.value,onClick:h},{default:(0,n.withCtx)(()=>[(0,n.createTextVNode)((0,n.toDisplayString)(g.cancelText||(0,n.unref)(o)("dialogForm.cancel")),1)]),_:1},8,["disabled"]),(0,n.createVNode)(Q,{color:"primary",loading:i.value,disabled:s.value,onClick:p},{default:(0,n.withCtx)(()=>[(0,n.createTextVNode)((0,n.toDisplayString)(g.submitText||(0,n.unref)(o)("dialogForm.save")),1)]),_:1},8,["loading","disabled"])]),default:(0,n.withCtx)(()=>[(0,n.createElementVNode)("form",{onSubmit:(0,n.withModifiers)(p,["prevent"])},[u.value?((0,n.openBlock)(),(0,n.createElementBlock)("div",WM,(0,n.toDisplayString)(u.value),1)):(0,n.createCommentVNode)("",!0),(0,n.createVNode)(vc,{ref_key:"formFlowRef",ref:c,modelValue:l.value,"onUpdate:modelValue":y[0]||(y[0]=v=>l.value=v),schema:g.schema},null,8,["modelValue","schema"])],32)]),_:1},8,["open","title","width","position","dismissable"]))}}),Qh=GM;const gc=Symbol("dialog");var Nl=null;function qM(){const e=(0,n.inject)(gc,null);if(!e){if(Nl)return Nl;throw new Error("Dialog API not provided. Make sure DialogPlugin is installed via app.use(DialogPlugin)")}return e}const YM={install:e=>{let t=0;const r=(0,n.reactive)([]),a={form:l=>new Promise(i=>{const s=++t;r.push({id:s,type:"form",options:l,resolve:i,open:!0})}),confirm:l=>new Promise(i=>{const s=++t,u=typeof l=="string"?{message:l}:l;r.push({id:s,type:"confirm",options:u,resolve:i,open:!0})}),open:l=>{const i=++t,s={id:i,type:"open",options:l,resolve:()=>{},open:!0};return r.push(s),{close:()=>{const u=r.findIndex(c=>c.id===i);u!==-1&&(r[u].open=!1,setTimeout(()=>{const c=r.findIndex(f=>f.id===i);c!==-1&&r.splice(c,1)},200))}}}};Nl||(Nl=a),e.provide(gc,a);const o=(0,n.defineComponent)({name:"DialogContainer",setup(){function l(u,c){u.resolve(c),u.open=!1,setTimeout(()=>{const f=r.findIndex(p=>p.id===u.id);f!==-1&&r.splice(f,1)},200)}function i(u,c){u.resolve(c),u.open=!1,setTimeout(()=>{const f=r.findIndex(p=>p.id===u.id);f!==-1&&r.splice(f,1)},200)}function s(u,c){c||(u.open=!1,setTimeout(()=>{const f=r.findIndex(p=>p.id===u.id);f!==-1&&r.splice(f,1)},200))}return{dialogStack:r,handleFormResolve:l,handleConfirmResolve:i,handleOpenUpdate:s}},render(){return this.dialogStack.map(l=>{if(l.type==="form")return(0,n.h)(Qh,{key:l.id,open:l.open,...l.options,"onUpdate:open":i=>{i||this.handleFormResolve(l,{action:"cancel",data:l.options.modelValue||{}})},onResolve:i=>{this.handleFormResolve(l,i)}});if(l.type==="confirm")return(0,n.h)(gh,{key:l.id,open:l.open,...l.options,"onUpdate:open":i=>{i||this.handleConfirmResolve(l,!1)},onResolve:i=>{this.handleConfirmResolve(l,i)}});if(l.type==="open"){const i=l.options;return(0,n.h)(ci,{key:l.id,open:l.open,title:i.title,width:i.width,position:i.position,dismissable:i.dismissable,class:i.class,"onUpdate:open":s=>{this.handleOpenUpdate(l,s)}},{default:()=>(0,n.h)((typeof i.component=="string",i.component),i.props||{})})}return null})}});if(e.component("DialogContainer",o),typeof document<"u"&&typeof window<"u"){const l=()=>{if(!document.getElementById("bagelink-dialog-root")){const i=document.createElement("div");i.id="bagelink-dialog-root",document.body.appendChild(i);const s=(0,n.createApp)(o);s._context=e._context,s.mount(i)}};document.body&&l(),e.mixin({mounted(){this.$root===this&&l()}})}}};var _c={pint:{pattern:/\d/},int:{pattern:/[\d-]/},pnum:{pattern:/[\d.]/},tel:{pattern:/[\d.\-()\s+]/},money:{pattern:/[\d.\s,]/},number:{pattern:/[\d\-.]/},num:{pattern:/[\d\-.]/},hex:{pattern:/[0-9a-f]/i},email:{pattern:/[\w.\-@]/},alpha:{pattern:/[a-z_]/i},alphanum:{pattern:/\w/},lower:{pattern:/[a-z]/i,transform:e=>e.toLowerCase()},upper:{pattern:/[A-Z]/i,transform:e=>e.toUpperCase()},slug:{pattern:/[a-z0-9-]/i,transform:e=>e.toLowerCase().replace(/\s/g,"-")},snake:{pattern:/[a-z_]/,transform:e=>e.toLowerCase().replace(/\s/g,"_")}},Io=new WeakMap;function ss(e){if(e instanceof HTMLInputElement||e instanceof HTMLTextAreaElement)return e;const t=e.querySelector("input, textarea");return t instanceof HTMLInputElement||t instanceof HTMLTextAreaElement?t:null}function dp(e){const t=Object.keys(e.modifiers);return t.length>0?t[t.length-1]:""}function ev(e){return e.pattern!=null?e.pattern:e.modifier!=null&&e.modifier!==""?_c[e.modifier]?.pattern??/./:/./}function fp(e,t,r){r.keydownEvent=(a=>{KM(a,t,r)}),r.inputEvent=(a=>{tv(a,t,r)}),r.compositionStartEvent=(()=>{JM(r)}),r.compositionEndEvent=(a=>{ZM(a,t,r)}),t.addEventListener("keydown",r.keydownEvent),t.addEventListener("input",r.inputEvent,{capture:!0}),t.addEventListener("compositionstart",r.compositionStartEvent),t.addEventListener("compositionend",r.compositionEndEvent)}function pp(e,t){t.keydownEvent&&e.removeEventListener("keydown",t.keydownEvent),t.inputEvent&&e.removeEventListener("input",t.inputEvent,{capture:!0}),t.compositionStartEvent&&e.removeEventListener("compositionstart",t.compositionStartEvent),t.compositionEndEvent&&e.removeEventListener("compositionend",t.compositionEndEvent),t.keydownEvent=void 0,t.inputEvent=void 0,t.compositionStartEvent=void 0,t.compositionEndEvent=void 0}function XM(e){const t=["Tab","Backspace","Delete","ArrowLeft","ArrowRight","ArrowUp","ArrowDown","Enter"];return e.ctrlKey||e.altKey||e.metaKey?!0:t.includes(e.key)}function KM(e,t,r){if(r.composing===!0||XM(e)||r.modifier!=null&&r.modifier!==""&&typeof _c[r.modifier]?.transform=="function")return;const a=ev(r),o=e.key;a.test(o)||e.preventDefault()}function JM(e){e.composing=!0}function ZM(e,t,r){r.composing=!1,tv(e,t,r)}function mp(e,t){const r=ev(t);let a;if(t.modifier!=null&&t.modifier!==""){const l=_c[t.modifier]?.transform;a=l?l(e):e}else a=e;let o="";for(let l=0;l<a.length;l++){const i=a[l];r.test(i)&&(o+=i)}return o}function tv(e,t,r){if(r.reformatting===!0||r.composing===!0)return;const a=t.value,o=t.selectionEnd??a.length,l=a.slice(0,o),i=mp(a,r);if(i===a)return;const s=mp(l,r).length;r.reformatting=!0,t.value=i,t.setSelectionRange(s,s),r.reformatting=!1}var QM={beforeMount(e,t){const r=ss(e);if(r===null)return;const a={modifier:dp(t)};typeof t.value=="object"&&t.value!==null&&(a.pattern=t.value.pattern??/./,a.validateOnly=t.value.validateOnly===!0),Io.set(e,a),fp(e,r,a)},updated(e,t){const r=ss(e);if(r===null)return;const a=Io.get(e);a!==void 0&&(pp(r,a),a.modifier=dp(t),typeof t.value=="object"&&t.value!==null&&(a.pattern=t.value.pattern??/./,a.validateOnly=t.value.validateOnly===!0),fp(e,r,a))},unmounted(e){const t=ss(e),r=Io.get(e);t!==null&&r!==void 0&&pp(t,r),Io.delete(e)},getSSRProps(){return{}}},nv=QM,eL={mounted(e,t){const r=a=>{const o=e.getBoundingClientRect(),l=Math.max(o.width,o.height),i=document.createElement("span");i.className="ripple",Object.assign(i.style,{width:`${l}px`,height:`${l}px`,left:`${a.clientX-o.left-l/2}px`,top:`${a.clientY-o.top-l/2}px`,position:"absolute",borderRadius:"50%",transform:"scale(0)",background:"rgba(0, 0, 0, 0.3)",pointerEvents:"none",animation:"rippleEffect 0.6s ease-out"}),e.appendChild(i),setTimeout(()=>{i.remove()},600)};e.__rippleClickHandler=r,t.value!==!1&&(getComputedStyle(e).position==="static"&&(e.style.position="relative"),e.style.overflow="hidden",e.addEventListener("mousedown",r))},updated(e,t){const r=e.__rippleClickHandler;t.value===!1?e.removeEventListener("mousedown",r):(getComputedStyle(e).position==="static"&&(e.style.position="relative"),e.style.overflow="hidden",e.addEventListener("mousedown",r))},unmounted(e){const t=e.__rippleClickHandler;t&&(e.removeEventListener("mousedown",t),delete e.__rippleClickHandler)},getSSRProps(){return{}}},rv=eL,Na=Symbol("resize");function hp(e,t){const r=t.value||{};let a=!1,o=0,l=0,i=null;r.handle?(i=e.querySelector(r.handle),i||(i=document.createElement("div"),i.className=r.handle.replace(".","")+(r.handleClass?` ${r.handleClass}`:""),i.style.cssText=`
323
323
  position: absolute;
324
324
  bottom: 0;
325
325
  left: 0;
@@ -328,4 +328,4 @@ About how to use the Composition API mode, see https://vue-i18n.intlify.dev/guid
328
328
  background: rgba(0, 0, 0, 0.1);
329
329
  cursor: ns-resize;
330
330
  transition: background 0.2s;
331
- `,e.appendChild(i))):i=e,i.addEventListener("mouseenter",()=>{i!==e&&(i.style.background="rgba(0, 0, 0, 0.2)")}),i.addEventListener("mouseleave",()=>{i!==e&&!a&&(i.style.background="rgba(0, 0, 0, 0.1)")}),i.style.cursor="ns-resize",i.style.userSelect="none";function s(m){return{clientY:m,deltaY:m-o,initialHeight:l}}function u(m){return r.gridSize?Math.round(m/r.gridSize)*r.gridSize:m}function c(m){if(!a)return;m.preventDefault();const h=s("touches"in m?m.touches[0].clientY:m.clientY);let d=l+h.deltaY;r.minHeight!==void 0&&(d=Math.max(d,r.minHeight)),r.maxHeight!==void 0&&(d=Math.min(d,r.maxHeight)),d=u(d),e.style.height=`${d}px`,r.onResize&&r.onResize(h),i!==e&&(i.style.background="rgba(0, 0, 0, 0.3)")}function f(m){if(!a)return;const h=s("touches"in m?m.changedTouches[0].clientY:m.clientY);a=!1,document.body.style.cursor="",document.body.style.userSelect="",i!==e&&(i.style.background="rgba(0, 0, 0, 0.1)"),r.onEnd&&r.onEnd(h),document.removeEventListener("mousemove",c),document.removeEventListener("mouseup",f),document.removeEventListener("touchmove",c),document.removeEventListener("touchend",f),document.removeEventListener("touchcancel",f)}function p(m){m instanceof MouseEvent&&m.button!==0||(m.preventDefault(),a=!0,o="touches"in m?m.touches[0].clientY:m.clientY,l=e.offsetHeight,r.onStart&&r.onStart(m),document.body.style.cursor="ns-resize",document.body.style.userSelect="none",document.addEventListener("mousemove",c,{passive:!1}),document.addEventListener("mouseup",f),document.addEventListener("touchmove",c,{passive:!1}),document.addEventListener("touchend",f),document.addEventListener("touchcancel",f))}i.addEventListener("mousedown",p),i.addEventListener("touchstart",p,{passive:!1}),e[Na]=()=>{i!==e&&e.removeChild(i),i.removeEventListener("mousedown",p),i.removeEventListener("touchstart",p),i.removeEventListener("mouseenter",p),i.removeEventListener("mouseleave",p),document.removeEventListener("mousemove",c),document.removeEventListener("mouseup",f),document.removeEventListener("touchmove",c),document.removeEventListener("touchend",f),document.removeEventListener("touchcancel",f)}}const tL={mounted(e,t){hp(e,t)},unmounted(e){const t=e[Na];typeof t=="function"&&(t(),delete e[Na])},updated(e,t){if(t.value!==t.oldValue){const r=e[Na];typeof r=="function"&&(r(),delete e[Na]),hp(e,t)}}},nL=!0;var ot=class{_type;_config;_condition;_validations;_onUpdate;_class;_slots;_component;constructor(e,t={}){this._type=e,this._config=t}if(e){return this._condition=e,this}validate(e){return this._validations||(this._validations=[]),this._validations.push(e),this}onUpdate(e){return this._onUpdate=e,this}class(e){return this._class=this._class?`${this._class} ${e}`:e,this}required(e){return this._config.required=!0,e&&(this._config.requiredMessage=e),this}slot(e,t,r){return this._slots||(this._slots=[]),typeof e!="string"||t!==void 0&&typeof t!="string"?this._slots.push({component:e,props:t}):this._slots.push({name:e,component:t,props:r}),this}};function wt(e,t){return typeof e=="string"?{...t,label:e}:e??{}}const pt={text(e,t){return new ot("text",wt(e,t))},email(e,t){return new ot("email",wt(e,t))},password(e,t){return new ot("password",wt(e,t))},number(e,t){return new ot("number",wt(e,t))},tel(e,t){return new ot("tel",wt(e,t))},url(e,t){return new ot("url",wt(e,t))},date(e,t){return new ot("date",wt(e,t))},time(e,t){return new ot("time",wt(e,t))},datetime(e,t){return new ot("datetime",wt(e,t))},textarea(e,t){return new ot("textarea",wt(e,t))},richtext(e,t){return new ot("richtext",wt(e,t))},json(e,t){const r=wt(e,t);return r.language||(r.language="json"),new ot("json",r)},checkbox(e,t){return new ot("checkbox",wt(e,t))},toggle(e,t){return new ot("toggle",wt(e,t))},radio(e,t,r){if(typeof e=="string"){const a=e,o=t;return new ot("radio",{...r,label:a,options:o})}return new ot("radio",{...wt(t,r),options:e})},select(e,t,r){if(typeof e=="string"){const a=e,o=t;return new ot("select",{...r,label:a,options:o})}return new ot("select",{...wt(t,r),options:e})},multiselect(e,t,r){if(typeof e=="string"){const a=e,o=t;return new ot("multiselect",{...r,label:a,options:o})}return new ot("multiselect",{...wt(t,r),options:e})},upload(e,t){return new ot("upload",wt(e,t))},array(e,t,r){if(typeof e=="string"){const o=e,l=t;return new ot("array",{...r??{},label:o,schema:l})}const a=e;return new ot("array",{...wt(t,r),schema:a})},component(e,t={}){const r=new ot("component",t);return r._component={component:e,props:t},r},display(e,t={}){const r=new ot("display",t);return r._component={component:e,props:t},r}};var pu=class av{_isSchema=!0;_label;_fields;_condition;_class;constructor(t,r){this._fields=t,this._label=r}if(t){return this._condition=t,this}class(t){return this._class=this._class?`${this._class} ${t}`:t,this}toJSONSchema(){const t={},r=[];for(const[l,i]of Object.entries(this._fields)){const s=i._config,u=av.getJSONSchemaType(i._type),c={type:u};s.label&&(c.title=s.label),s.helpText&&(c.description=s.helpText),s.default!==void 0&&(c.default=s.default),s.options&&(c.enum=s.options),s.min!==void 0&&(c[u==="string"?"minLength":"minimum"]=s.min),s.max!==void 0&&(c[u==="string"?"maxLength":"maximum"]=s.max),i._type==="email"&&(c.format="email"),i._type==="url"&&(c.format="uri"),i._type==="date"&&(c.format="date"),i._type==="time"&&(c.format="time"),i._type==="datetime"&&(c.format="date-time");const f={};i._type!=="text"&&(f.fieldType=i._type),s.placeholder&&(f.placeholder=s.placeholder),s.disabled&&(f.disabled=s.disabled),s.readonly&&(f.readonly=s.readonly),s.autoheight&&(f.autoheight=s.autoheight),s.rows&&(f.rows=s.rows),s.cols&&(f.cols=s.cols),i._class&&(f.class=i._class),i._condition&&(f.condition=i._condition),i._type==="array"&&(s.allowAdd!==void 0&&(f.allowAdd=s.allowAdd),s.allowDelete!==void 0&&(f.allowDelete=s.allowDelete)),i._component&&(f.component=typeof i._component.component=="string"?i._component.component:i._component.component.name||"CustomComponent",i._component.props&&(f.componentProps=i._component.props)),Object.keys(f).length>0&&(c["x-ui"]=f),t[l]=c,s.required===!0&&r.push(l)}const a={type:"object",properties:t};r.length>0&&(a.required=r),this._label&&(a.title=this._label);const o={};return this._condition&&(o.condition=this._condition),this._class&&(o.class=this._class),Object.keys(o).length>0&&(a["x-ui"]=o),a}static getJSONSchemaType(t){return{text:"string",email:"string",password:"string",number:"number",tel:"string",url:"string",date:"string",time:"string",datetime:"string",textarea:"string",richtext:"string",json:"object",checkbox:"boolean",toggle:"boolean",radio:"string",select:"string",multiselect:"array",array:"array"}[t]||"string"}};function rL(e,t){if(typeof e=="string"){if(!t)throw new Error("Fields are required when providing a label");return new pu(t,e)}return new pu(e)}function aL(e){return e}function oL(e){const t={},r=new Set(e.required||[]);if(e.properties)for(const[o,l]of Object.entries(e.properties))t[o]=sL(o,l,r.has(o),e);const a=new pu(t,e.title);return e["x-ui"]?.condition&&a.if(e["x-ui"].condition),e["x-ui"]?.class&&a.class(e["x-ui"].class),a}function lL(e,t){const r=e.match(/^#\/(\$defs|definitions)\/(.+)$/);if(!r)return;const[,a,o]=r,l=a==="$defs"?t.$defs:t.definitions;return o?l?.[o]:void 0}function iL(e,t){const r=e.anyOf||e.oneOf;if(!r||r.length===0)return e;const a=r.filter(i=>i.type!=="null");if(a.length===1){const i=a[0];return{...i,title:e.title||i.title,description:e.description||i.description,default:e.default!==void 0?e.default:i.default,"x-ui":{...i["x-ui"],...e["x-ui"]}}}const o=["object","array","string","number","integer","boolean"],l=a.sort((i,s)=>o.indexOf(i.type||"string")-o.indexOf(s.type||"string"))[0];return{...l,title:e.title||l.title,description:e.description||l.description,default:e.default!==void 0?e.default:l.default,"x-ui":{...l["x-ui"],...e["x-ui"]}}}function sL(e,t,r,a){let o=t;if(t.$ref){const c=lL(t.$ref,a);c&&(o={...c,type:t.type??c.type,enum:t.enum??c.enum,title:t.title??c.title,description:t.description??c.description,default:t.default!==void 0?t.default:c.default,"x-ui":{...c["x-ui"],...t["x-ui"]}})}(o.anyOf||o.oneOf)&&(o=iL(o,a));const l=o["x-ui"]||{},i=l.fieldType||uL(o),s={};o.title&&(s.label=o.title),o.description&&(s.helpText=o.description),o.default!==void 0&&(s.default=o.default),r&&(s.required=!0),l.placeholder&&(s.placeholder=l.placeholder),l.disabled&&(s.disabled=l.disabled),l.readonly&&(s.readonly=l.readonly),l.autoheight&&(s.autoheight=l.autoheight),l.rows&&(s.rows=l.rows),l.cols&&(s.cols=l.cols),o.minimum!==void 0&&(s.min=o.minimum),o.maximum!==void 0&&(s.max=o.maximum),o.minLength!==void 0&&(s.min=o.minLength),o.maxLength!==void 0&&(s.max=o.maxLength);let u;switch(i){case"email":u=pt.email(s);break;case"password":u=pt.password(s);break;case"number":u=pt.number(s);break;case"tel":u=pt.tel(s);break;case"url":u=pt.url(s);break;case"date":u=pt.date(s);break;case"time":u=pt.time(s);break;case"datetime":u=pt.datetime(s);break;case"textarea":u=pt.textarea(s);break;case"richtext":u=pt.richtext(s);break;case"json":u=pt.json(s);break;case"checkbox":u=pt.checkbox(s);break;case"toggle":u=pt.toggle(s);break;case"radio":u=pt.radio(o.enum||[],s);break;case"select":u=pt.select(o.enum||[],s);break;case"multiselect":u=pt.multiselect(o.enum||[],s);break;case"array":u=pt.array(o.title||e,void 0,{...s,allowAdd:l.allowAdd,allowDelete:l.allowDelete});break;case"display":u=pt.display(l.component||"div",l.componentProps||{});break;case"component":u=pt.component(l.component||"div",l.componentProps||{});break;default:u=pt.text(s)}return l.class&&u.class(l.class),l.condition&&u.if(l.condition),u}function uL(e){if(e.format)switch(e.format){case"email":return"email";case"uri":return"url";case"date":return"date";case"time":return"time";case"date-time":return"datetime"}if(e.enum)return"select";switch(e.type){case"boolean":return"checkbox";case"number":case"integer":return"number";case"array":return"array";case"object":return"json";default:return"text"}}var cL={class:"multi-step-form"},dL={class:"step-progress"},fL=["onClick"],pL={class:"step-number"},mL={class:"step-label"},hL={key:0},vL={key:0,class:"step-title"},gL={key:1,class:"validation-errors"},_L={class:"step-navigation"},yL=["disabled"],bL={class:"step-counter"},wL=(0,n.defineComponent)({__name:"MultiStepForm",props:{schema:{},modelValue:{},currentStep:{},components:{},validateOnNext:{type:Boolean,default:!0}},emits:["update:modelValue","update:currentStep","stepChange","complete","validationError"],setup(e,{expose:t,emit:r}){const a=e,o=r,{$t:l}=ht(),i=(0,n.ref)({...a.modelValue||{}}),s=(0,n.ref)(a.currentStep!=null&&a.currentStep!==""?a.currentStep:Object.keys(a.schema)[0]);let u=!1;(0,n.watch)(()=>a.modelValue,M=>{u||(i.value={...M||{}})},{deep:!0}),(0,n.watch)(i,M=>{u=!0,o("update:modelValue",M),setTimeout(()=>{u=!1},0)},{deep:!0}),(0,n.watch)(()=>a.currentStep,M=>{M!=null&&(s.value=M)}),(0,n.watch)(s,M=>{o("update:currentStep",M),o("stepChange",M)});function c(M,D){const C=D.split(".");let T=M;for(const B of C)T=T?.[B];return T}function f(M,D){if(!M)return!0;try{const C=Nu(M);if(C.length===0)return!0;let T=!0,B=null;for(let P=0;P<C.length;P++){const O=C[P],L=c(D,O.field),{op:I,value:Z,connector:se}=O;let U=!1;switch(I){case"eq":U=L===Z;break;case"ne":U=L!==Z;break;case"gt":U=Z!=null&&L>Z;break;case"ge":U=Z!=null&&L>=Z;break;case"lt":U=Z!=null&&L<Z;break;case"le":U=Z!=null&&L<=Z;break;case"co":U=Z!=null&&String(L).includes(String(Z));break;case"sw":U=Z!=null&&String(L).startsWith(String(Z));break;case"ew":U=Z!=null&&String(L).endsWith(String(Z));break;case"pr":U=L!=null;break;default:U=!1}P===0?(T=U,B=U):(se==="or"?T=(B??!1)||U:se==="and"&&(T=(B??!1)&&U),B=T)}return T}catch(C){return console.warn("Failed to evaluate condition:",M,C),!0}}function p(M){return M._condition==null?!0:f(M._condition,i.value)}const m=(0,n.computed)(()=>Object.entries(a.schema).filter(([,M])=>p(M)).map(([M,D])=>({key:M,schema:D}))),h=(0,n.computed)(()=>m.value.findIndex(M=>M.key===s.value)),d=(0,n.computed)(()=>h.value===0),g=(0,n.computed)(()=>h.value===m.value.length-1),y=(0,n.computed)(()=>m.value[h.value]?.schema),v=(0,n.ref)({});function _(M){return M._condition==null?!0:f(M._condition,i.value)}function b(M){const D=M.replace(/\[(\d+)\]/g,".$1");return c(i.value,D)}function k(M){return!!(M==null||typeof M=="string"&&M.trim()===""||Array.isArray(M)&&M.length===0)}function w(){if(!a.validateOnNext||y.value==null)return!0;const M={},D=y.value._fields;for(const[C,T]of Object.entries(D)){if(T._type==="display"||!_(T))continue;const B=b(C),P=T._config;if(P.required===!0&&k(B)){M[C]=`${typeof P.label=="string"?P.label:C} is required`;continue}if(T._validations&&!k(B))for(const O of T._validations){const L=O(B);if(L!==!0){M[C]=L;break}}}return v.value=M,Object.keys(M).length>0?(o("validationError",M),!1):!0}function S(M,D){return D._label!=null?D._label:M.split(/[._-]/).map(C=>C.charAt(0).toUpperCase()+C.slice(1)).join(" ")}function N(M){const D=m.value.findIndex(C=>C.key===M);if(D!==-1){if(D<h.value){s.value=M,v.value={};return}D>h.value&&!w()||(s.value=M)}}function V(){if(w())if(g.value)o("complete");else{const M=h.value+1;s.value=m.value[M].key,v.value={}}}function x(){if(!d.value){const M=h.value-1;s.value=m.value[M].key,v.value={}}}return t({validateCurrentStep:w,stepErrors:v}),(M,D)=>((0,n.openBlock)(),(0,n.createElementBlock)("div",cL,[(0,n.createElementVNode)("div",dL,[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(m.value,(C,T)=>((0,n.openBlock)(),(0,n.createElementBlock)("div",{key:C.key,class:(0,n.normalizeClass)(["step-indicator",{active:C.key===s.value,completed:T<h.value}]),onClick:B=>N(C.key)},[(0,n.createElementVNode)("div",pL,(0,n.toDisplayString)(T+1),1),(0,n.createElementVNode)("div",mL,(0,n.toDisplayString)(S(C.key,C.schema)),1)],10,fL))),128))]),y.value!=null?((0,n.openBlock)(),(0,n.createElementBlock)("div",hL,[y.value._label?((0,n.openBlock)(),(0,n.createElementBlock)("h2",vL,(0,n.toDisplayString)(y.value._label),1)):(0,n.createCommentVNode)("",!0),Object.keys(v.value).length>0?((0,n.openBlock)(),(0,n.createElementBlock)("div",gL,[(0,n.createElementVNode)("ul",null,[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(v.value,(C,T)=>((0,n.openBlock)(),(0,n.createElementBlock)("li",{key:T},(0,n.toDisplayString)(C),1))),128))])])):(0,n.createCommentVNode)("",!0),(0,n.renderSlot)(M.$slots,`step:${s.value}`,{schema:y.value,formData:i.value,stepKey:s.value,errors:v.value},()=>[(0,n.createVNode)(vc,{modelValue:i.value,"onUpdate:modelValue":D[0]||(D[0]=C=>i.value=C),schema:y.value,components:M.components,errors:v.value},(0,n.createSlots)({_:2},[(0,n.renderList)(M.$slots,(C,T)=>({name:T,fn:(0,n.withCtx)(B=>[(0,n.renderSlot)(M.$slots,T,(0,n.normalizeProps)((0,n.guardReactiveProps)(B)),void 0,!0)])}))]),1032,["modelValue","schema","components","errors"])],!0)])):(0,n.createCommentVNode)("",!0),(0,n.createElementVNode)("div",_L,[(0,n.createElementVNode)("button",{type:"button",class:"btn-secondary",disabled:d.value,onClick:x},(0,n.toDisplayString)((0,n.unref)(l)("multiStep.previous")),9,yL),(0,n.createElementVNode)("div",bL,(0,n.toDisplayString)((0,n.unref)(l)("multiStep.step",{current:h.value+1,total:m.value.length})),1),(0,n.createElementVNode)("button",{type:"button",class:"btn-primary",onClick:V},(0,n.toDisplayString)(g.value?(0,n.unref)(l)("multiStep.complete"):(0,n.unref)(l)("multiStep.next")),1)])]))}}),$L=Ce(wL,[["__scopeId","data-v-9f81a0df"]]),kL={key:0,class:"center"},EL={key:3},CL={class:"bgl-lightbox-item"},SL={key:2,class:"lightbox-pdf"},TL=["src","title"],NL={key:3,class:"lightbox-file"},DL={class:"file-info txt-white flex m_block align-items-start gap-025"},xL={class:"txt-start"},BL={class:"mx-0 light"},AL={class:"semi word-break-all"},VL={class:"mx-0"},ML={class:"semi"},LL=(0,n.defineComponent)({__name:"Lightbox",setup(e,{expose:t}){const{$t:r}=ht(),a=(0,n.ref)(!1),o=(0,n.ref)([]),l=(0,n.ref)(0),i=(0,n.computed)(()=>o.value[l.value]),s=(0,n.ref)(1),u=(0,n.computed)(()=>s.value===1),c=(0,n.computed)(()=>({allowTouchMove:s.value===1,touchRatio:s.value===1?1:0,simulateTouch:s.value===1}));function f(d,g){a.value=!0,o.value=g||[d],l.value=o.value.findIndex(y=>{const v=d.src!==void 0&&d.src!==null&&d.src!==""&&y.src===d.src,_=d.pathKey!==void 0&&d.pathKey!==null&&d.pathKey!==""&&y.pathKey===d.pathKey;return v||_}),l.value===-1&&(l.value=0),s.value=1,document.addEventListener("keydown",h)}function p(){a.value=!1,document.removeEventListener("keydown",h)}function m(d){l.value=d,s.value=1}(0,n.watch)(()=>a.value,d=>{d?document.body.style.overflow="hidden":document.body.style.overflow=""}),(0,n.watch)(()=>l.value,()=>{s.value=1});function h(d){d.key==="Escape"&&p()}return t({open:f,close:p}),(d,g)=>((0,n.openBlock)(),(0,n.createBlock)(n.Transition,{name:"fade"},{default:(0,n.withCtx)(()=>[a.value?((0,n.openBlock)(),(0,n.createElementBlock)("div",{key:0,class:"bgl-lightbox-overlay",onKeydown:(0,n.withKeys)(p,["esc"])},[(0,n.createElementVNode)("div",{class:"flex start w-100 space-between p-025 z-9",onClick:p},[(0,n.createVNode)((0,n.unref)(Q),{flat:"",class:"color-white",icon:"close",onClick:p}),i.value?.enableZoom&&i.value?.type==="image"?((0,n.openBlock)(),(0,n.createElementBlock)("div",kL,[(0,n.createVNode)((0,n.unref)(Q),{flat:"",class:"color-white",icon:"remove",disabled:s.value===1,onClick:g[0]||(g[0]=y=>s.value--)},null,8,["disabled"]),(0,n.createVNode)((0,n.unref)(Q),{flat:"",class:"color-white",icon:"zoom_in",disabled:s.value===1,onClick:g[1]||(g[1]=y=>s.value=1)},null,8,["disabled"]),(0,n.createVNode)((0,n.unref)(Q),{flat:"",class:"color-white",icon:"add",disabled:s.value===3,onClick:g[2]||(g[2]=y=>s.value++)},null,8,["disabled"])])):(0,n.createCommentVNode)("",!0),i.value?.openFile&&i.value?.src?((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(Q),{key:1,class:"color-white",round:"",thin:"",flat:"",iconEnd:"arrow_outward",value:"$t:lightbox.openFile",href:i.value?.src,target:"_blank"},null,8,["href"])):(0,n.createCommentVNode)("",!0),i.value?.download&&i.value?.src?((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(Q),{key:2,class:"color-white",round:"",thin:"",flat:"",icon:"download",value:"Download File",onClick:g[3]||(g[3]=y=>(0,n.unref)(xu)(i.value?.src))})):(0,n.createCommentVNode)("",!0),!i.value?.openFile&&!i.value?.download?((0,n.openBlock)(),(0,n.createElementBlock)("div",EL)):(0,n.createCommentVNode)("",!0)]),o.value&&o.value.length>0?((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(ch),{key:0,index:l.value,"onUpdate:index":g[6]||(g[6]=y=>l.value=y),items:o.value,"initial-slide":l.value,class:(0,n.normalizeClass)(["bgl-lightbox-swiper",{zoomed:s.value>1}]),navigation:o.value.length>1,"grab-cursor":u.value,keyboard:!0,loop:!1,speed:400,"slides-per-view":1,"space-between":0,effect:"slide","advanced-options":c.value,onClick:g[7]||(g[7]=(0,n.withModifiers)(()=>{},["stop"]))},{default:(0,n.withCtx)(({item:y})=>[(0,n.createElementVNode)("div",CL,[y.type==="image"?((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(fh),{key:0,zoom:s.value,"onUpdate:zoom":g[4]||(g[4]=v=>s.value=v),disabled:!y?.enableZoom,"mouse-wheel-to-zoom":!1,"double-click-to-zoom":!0,"max-scale":5,"min-scale":1,"aspect-ratio":0,"limit-translation":!0,onClick:g[5]||(g[5]=(0,n.withModifiers)(()=>{},["stop"]))},{default:(0,n.withCtx)(()=>[(0,n.createVNode)((0,n.unref)(Xa),{draggable:!1,src:y?.src,alt:"Preview",class:"lightbox-image"},null,8,["src"])]),_:2},1032,["zoom","disabled"])):y?.type==="video"&&y?.src?((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(yu),{key:1,src:y?.src,autoplay:"",controls:"",class:"lightbox-video"},null,8,["src"])):y?.type==="pdf"&&y?.src?((0,n.openBlock)(),(0,n.createElementBlock)("div",SL,[(0,n.createElementVNode)("embed",{src:(0,n.unref)(Du)(y?.src),type:"application/pdf",width:"100%",height:"1080",title:y?.name},null,8,TL)])):((0,n.openBlock)(),(0,n.createElementBlock)("div",NL,[(0,n.createElementVNode)("div",DL,[(0,n.createVNode)((0,n.unref)(Ee),{class:"m-0 m_none",icon:"draft",size:10,weight:"12"}),(0,n.createVNode)((0,n.unref)(Ee),{class:"m-0 none m_block m_-mb-1",icon:"draft",size:4,weight:"2"}),(0,n.createElementVNode)("div",xL,[(0,n.createElementVNode)("p",BL,[g[9]||(g[9]=(0,n.createTextVNode)(" File: ")),(0,n.createElementVNode)("span",AL,(0,n.toDisplayString)(y?.name),1)]),(0,n.createElementVNode)("p",VL,[g[10]||(g[10]=(0,n.createTextVNode)(" Type: ")),(0,n.createElementVNode)("span",ML,(0,n.toDisplayString)(y?.type),1)]),(0,n.createVNode)((0,n.unref)(Q),{href:y?.src,target:"_blank",round:"",thin:"",class:"mt-1",value:"Open file"},null,8,["href"])])])]))])]),"prev-button":(0,n.withCtx)(({prev:y})=>[(0,n.createVNode)((0,n.unref)(Q),{icon:"arrow_back",color:"black",onClick:y},null,8,["onClick"])]),"next-button":(0,n.withCtx)(({next:y})=>[(0,n.createVNode)((0,n.unref)(Q),{icon:"arrow_forward",color:"black",onClick:y},null,8,["onClick"])]),_:1},8,["index","items","initial-slide","class","navigation","grab-cursor","advanced-options"])):(0,n.createCommentVNode)("",!0),o.value&&o.value.length>1?((0,n.openBlock)(),(0,n.createElementBlock)("div",{key:1,class:"lightbox-thumbnails",onClick:g[8]||(g[8]=(0,n.withModifiers)(()=>{},["stop"]))},[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(o.value,(y,v)=>((0,n.openBlock)(),(0,n.createElementBlock)(n.Fragment,{key:v},[y.type==="image"?((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(Xa),{key:0,class:(0,n.normalizeClass)(["thumbnail",{active:l.value===v}]),src:y.src,alt:"",onClick:(0,n.withModifiers)(_=>m(v),["stop"])},null,8,["src","class","onClick"])):((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(Ee),{key:1,class:(0,n.normalizeClass)(["thumbnail thumbnail-icon",{active:l.value===v}]),icon:"description",onClick:(0,n.withModifiers)(_=>m(v),["stop"])},null,8,["class","onClick"]))],64))),128))])):(0,n.createCommentVNode)("",!0)],32)):(0,n.createCommentVNode)("",!0)]),_:1}))}}),PL=LL,Da={},Fr=e=>{},IL={mounted(e,t){vp(mu(t,e)),Fr=r=>{gp(r,e,t)},e.addEventListener("click",Fr)},updated(e,t){vp(mu(t,e)),e.removeEventListener("click",Fr),Fr=r=>{gp(r,e,t)},e.addEventListener("click",Fr)},unmounted(e){e.removeEventListener("click",Fr)}};function vp(e){e.group&&(Da[e.group]||(Da[e.group]=[]),Da[e.group].findIndex(t=>t.src===e.src)===-1&&Da[e.group].push(e))}function gp(e,t,r){e.stopPropagation();const a=mu(r,t),o=UL();if(!o||!o.open)return;const l=o.open;l(a,a&&a.group?Da[a.group]:void 0)}function mu(e,t){let{group:r,src:a,type:o,name:l,thumbnail:i,enableZoom:s,openFile:u,download:c,pathKey:f}=e.value||{};return a=Un(a||f)||e.value||t.getAttribute("src")||"",o=o||zL(a),l=l||FL(a)||t.getAttribute("alt")||"",{src:a,type:o,name:l,thumbnail:i,group:r,enableZoom:s,openFile:u,download:c}}var OL=/youtube\.com|youtu\.be/,RL=/vimeo\.com/;function FL(e){return!e||typeof e!="string"?"":(e.split("/").pop()||"").replace(/\.[^/.]+$/,"")}function zL(e){if(typeof e!="string"||!e)return"unknown";const t=(e.split(".").pop()||"").toLowerCase(),r=e.split("?")[0].split(".").pop()?.toLowerCase()||"";return cl.test(t)||cl.test(r)?"image":Vm.test(t)||OL.test(e)||RL.test(e)?"video":["pdf"].includes(t)?"pdf":t??"unknown"}var us;function UL(){if(!us){const e=document.createElement("div");document.body.prepend(e),us=(0,n.createApp)(PL).mount(e)}return us}var HL={install(e){e.directive("lightbox",IL)}},jL=HL,WL={beforeMount(e,t){e.clickOutsideEvent=r=>{e===r.target||e.contains(r.target)||t.value(r)},document.addEventListener("click",e.clickOutsideEvent)},unmounted(e){document.removeEventListener("click",e.clickOutsideEvent)}};const ov=Symbol("modal");var Dl=null;function lv(){const e=(0,n.inject)(ov,null);if(!e){if(Dl)return Dl;throw new Error("Modal API not provided. Make sure ModalPlugin is installed via app.use(ModalPlugin)")}return e}const iv={install:e=>{const r=(0,n.reactive)([]),a=c=>{c===void 0||c>=r.length-1?r.splice(r.length-1,1):r.splice(c,1)},o=()=>{r.splice(0,r.length)},l=c=>new Promise(f=>{const p=typeof c=="string"?{title:"",message:c}:c;r.push({modalOptions:(0,n.reactive)({...p,resolve:f}),modalType:"confirmModal",componentSlots:{}})}),i=(c,f,p={})=>{const m=(0,n.reactive)(f);"visible"in m||(m.visible=!0);const h={modalOptions:m,modalType:c,componentSlots:p};return r.push(h),h},s={showModal:(c,f)=>i("modal",c,f),showModalForm:(c,f)=>i("modalForm",c,f),confirmModal:c=>l(c),hideModal:a,hideAllModals:o};Dl||(Dl=s),e.provide(ov,s);const u=(0,n.defineComponent)({name:"ModalContainer",setup(){return{modalStack:r,handleEscape:f=>{f.key==="Escape"&&r.length>0&&r[r.length-1].modalOptions.dismissable!==!1&&a()}}},mounted(){document.addEventListener("keydown",this.handleEscape)},unmounted(){document.removeEventListener("keydown",this.handleEscape)},render(){return this.modalStack.map((c,f)=>{const p=1e3+f*10;if(!c||!c.modalOptions)return console.error("[BageLink Modal] Invalid modal in stack:",c),null;const m={...c.modalOptions,visible:!0,zIndex:p,"onUpdate:visible":()=>{a(f)}};switch(c.modalType){case"modalForm":return c.modalOptions.schema?(0,n.h)(G0,m,c.componentSlots):(console.error("[BageLink Modal] ModalForm requires a schema",c.modalOptions),null);case"confirmModal":return(0,n.h)(W0,m,{});default:return(0,n.h)(Zt,m,c.componentSlots)}})}});if(e.component("ModalContainer",u),typeof document<"u"&&typeof window<"u"){const c=()=>{if(!document.getElementById("bagelink-modal-root")){const f=document.createElement("div");f.id="bagelink-modal-root",document.body.appendChild(f);const p=(0,n.createApp)(u);p._context=e._context,p.mount(f)}};document.body&&c(),e.mixin({mounted(){this.$root===this&&c()}})}}};var sv=vu({EventBus:()=>vi,POSITION:()=>oo,TYPE:()=>Ft,createToastInterface:()=>lo,default:()=>Cv,globalEventBus:()=>yc,provideToast:()=>A7,toastInjectionKey:()=>gi,useToast:()=>Ev},1),GL=Object.defineProperty,_p=Object.getOwnPropertySymbols,qL=Object.prototype.hasOwnProperty,YL=Object.prototype.propertyIsEnumerable,yp=(e,t,r)=>t in e?GL(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,uv=(e,t)=>{for(var r in t||(t={}))qL.call(t,r)&&yp(e,r,t[r]);if(_p)for(var r of _p(t))YL.call(t,r)&&yp(e,r,t[r]);return e},mi=e=>typeof e=="function",hi=e=>typeof e=="string",cv=e=>hi(e)&&e.trim().length>0,XL=e=>typeof e=="number",Er=e=>typeof e>"u",ao=e=>typeof e=="object"&&e!==null,KL=e=>Mn(e,"tag")&&cv(e.tag),dv=e=>window.TouchEvent&&e instanceof TouchEvent,fv=e=>Mn(e,"component")&&pv(e.component),JL=e=>mi(e)||ao(e),pv=e=>!Er(e)&&(hi(e)||JL(e)||fv(e)),bp=e=>ao(e)&&["height","width","right","left","top","bottom"].every(t=>XL(e[t])),Mn=(e,t)=>(ao(e)||mi(e))&&t in e,ZL=(e=>()=>e++)(0);function cs(e){return dv(e)?e.targetTouches[0].clientX:e.clientX}function wp(e){return dv(e)?e.targetTouches[0].clientY:e.clientY}var QL=e=>{Er(e.remove)?e.parentNode&&e.parentNode.removeChild(e):e.remove()},_o=e=>fv(e)?_o(e.component):KL(e)?(0,n.defineComponent)({render(){return e}}):typeof e=="string"?e:(0,n.toRaw)((0,n.unref)(e)),e7=e=>{if(typeof e=="string")return e;const t=Mn(e,"props")&&ao(e.props)?e.props:{},r=Mn(e,"listeners")&&ao(e.listeners)?e.listeners:{};return{component:_o(e),props:t,listeners:r}},t7=()=>typeof window<"u",vi=class{constructor(){this.allHandlers={}}getHandlers(e){return this.allHandlers[e]||[]}on(e,t){const r=this.getHandlers(e);r.push(t),this.allHandlers[e]=r}off(e,t){const r=this.getHandlers(e);r.splice(r.indexOf(t)>>>0,1)}emit(e,t){this.getHandlers(e).forEach(r=>r(t))}},n7=e=>["on","off","emit"].every(t=>Mn(e,t)&&mi(e[t])),Ft;(function(e){e.SUCCESS="success",e.ERROR="error",e.WARNING="warning",e.INFO="info",e.DEFAULT="default"})(Ft||(Ft={}));var oo;(function(e){e.TOP_LEFT="top-left",e.TOP_CENTER="top-center",e.TOP_RIGHT="top-right",e.BOTTOM_LEFT="bottom-left",e.BOTTOM_CENTER="bottom-center",e.BOTTOM_RIGHT="bottom-right"})(oo||(oo={}));var Qt;(function(e){e.ADD="add",e.DISMISS="dismiss",e.UPDATE="update",e.CLEAR="clear",e.UPDATE_DEFAULTS="update_defaults"})(Qt||(Qt={}));var mn="Vue-Toastification",cn={type:{type:String,default:Ft.DEFAULT},classNames:{type:[String,Array],default:()=>[]},trueBoolean:{type:Boolean,default:!0}},$p={type:cn.type,customIcon:{type:[String,Boolean,Object,Function],default:!0}},Oo={component:{type:[String,Object,Function,Boolean],default:"button"},classNames:cn.classNames,showOnHover:{type:Boolean,default:!1},ariaLabel:{type:String,default:"close"}},ds={timeout:{type:[Number,Boolean],default:5e3},hideProgressBar:{type:Boolean,default:!1},isRunning:{type:Boolean,default:!1}},kp={transition:{type:[Object,String],default:`${mn}__bounce`}},Yn={CORE_TOAST:{position:{type:String,default:oo.TOP_RIGHT},draggable:cn.trueBoolean,draggablePercent:{type:Number,default:.6},pauseOnFocusLoss:cn.trueBoolean,pauseOnHover:cn.trueBoolean,closeOnClick:cn.trueBoolean,timeout:ds.timeout,hideProgressBar:ds.hideProgressBar,toastClassName:cn.classNames,bodyClassName:cn.classNames,icon:$p.customIcon,closeButton:Oo.component,closeButtonClassName:Oo.classNames,showCloseButtonOnHover:Oo.showOnHover,accessibility:{type:Object,default:()=>({toastRole:"alert",closeButtonLabel:"close"})},rtl:{type:Boolean,default:!1},eventBus:{type:Object,required:!1,default:()=>new vi}},TOAST:{id:{type:[String,Number],required:!0,default:0},type:cn.type,content:{type:[String,Object,Function],required:!0,default:""},onClick:{type:Function,default:void 0},onClose:{type:Function,default:void 0}},CONTAINER:{container:{type:[Object,Function],default:()=>document.body},newestOnTop:cn.trueBoolean,maxToasts:{type:Number,default:20},transition:kp.transition,toastDefaults:Object,filterBeforeCreate:{type:Function,default:e=>e},filterToasts:{type:Function,default:e=>e},containerClassName:cn.classNames,onMounted:Function,shareAppContext:[Boolean,Object]},PROGRESS_BAR:ds,ICON:$p,TRANSITION:kp,CLOSE_BUTTON:Oo},mv=(0,n.defineComponent)({name:"VtProgressBar",props:Yn.PROGRESS_BAR,data(){return{hasClass:!0}},computed:{style(){return{animationDuration:`${this.timeout}ms`,animationPlayState:this.isRunning?"running":"paused",opacity:this.hideProgressBar?0:1}},cpClass(){return this.hasClass?`${mn}__progress-bar`:""}},watch:{timeout(){this.hasClass=!1,this.$nextTick(()=>this.hasClass=!0)}},mounted(){this.$el.addEventListener("animationend",this.animationEnded)},beforeUnmount(){this.$el.removeEventListener("animationend",this.animationEnded)},methods:{animationEnded(){this.$emit("close-toast")}}});function r7(e,t){return(0,n.openBlock)(),(0,n.createElementBlock)("div",{style:(0,n.normalizeStyle)(e.style),class:(0,n.normalizeClass)(e.cpClass)},null,6)}mv.render=r7;var a7=mv,hv=(0,n.defineComponent)({name:"VtCloseButton",props:Yn.CLOSE_BUTTON,computed:{buttonComponent(){return this.component!==!1?_o(this.component):"button"},classes(){const e=[`${mn}__close-button`];return this.showOnHover&&e.push("show-on-hover"),e.concat(this.classNames)}}}),o7=(0,n.createTextVNode)(" × ");function l7(e,t){return(0,n.openBlock)(),(0,n.createBlock)((0,n.resolveDynamicComponent)(e.buttonComponent),(0,n.mergeProps)({"aria-label":e.ariaLabel,class:e.classes},e.$attrs),{default:(0,n.withCtx)(()=>[o7]),_:1},16,["aria-label","class"])}hv.render=l7;var i7=hv,vv={},s7={"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"check-circle",class:"svg-inline--fa fa-check-circle fa-w-16",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},u7=[(0,n.createElementVNode)("path",{fill:"currentColor",d:"M504 256c0 136.967-111.033 248-248 248S8 392.967 8 256 119.033 8 256 8s248 111.033 248 248zM227.314 387.314l184-184c6.248-6.248 6.248-16.379 0-22.627l-22.627-22.627c-6.248-6.249-16.379-6.249-22.628 0L216 308.118l-70.059-70.059c-6.248-6.248-16.379-6.248-22.628 0l-22.627 22.627c-6.248 6.248-6.248 16.379 0 22.627l104 104c6.249 6.249 16.379 6.249 22.628.001z"},null,-1)];function c7(e,t){return(0,n.openBlock)(),(0,n.createElementBlock)("svg",s7,u7)}vv.render=c7;var d7=vv,gv={},f7={"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"info-circle",class:"svg-inline--fa fa-info-circle fa-w-16",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},p7=[(0,n.createElementVNode)("path",{fill:"currentColor",d:"M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 110c23.196 0 42 18.804 42 42s-18.804 42-42 42-42-18.804-42-42 18.804-42 42-42zm56 254c0 6.627-5.373 12-12 12h-88c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h12v-64h-12c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h64c6.627 0 12 5.373 12 12v100h12c6.627 0 12 5.373 12 12v24z"},null,-1)];function m7(e,t){return(0,n.openBlock)(),(0,n.createElementBlock)("svg",f7,p7)}gv.render=m7;var Ep=gv,_v={},h7={"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"exclamation-circle",class:"svg-inline--fa fa-exclamation-circle fa-w-16",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},v7=[(0,n.createElementVNode)("path",{fill:"currentColor",d:"M504 256c0 136.997-111.043 248-248 248S8 392.997 8 256C8 119.083 119.043 8 256 8s248 111.083 248 248zm-248 50c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z"},null,-1)];function g7(e,t){return(0,n.openBlock)(),(0,n.createElementBlock)("svg",h7,v7)}_v.render=g7;var _7=_v,yv={},y7={"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"exclamation-triangle",class:"svg-inline--fa fa-exclamation-triangle fa-w-18",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512"},b7=[(0,n.createElementVNode)("path",{fill:"currentColor",d:"M569.517 440.013C587.975 472.007 564.806 512 527.94 512H48.054c-36.937 0-59.999-40.055-41.577-71.987L246.423 23.985c18.467-32.009 64.72-31.951 83.154 0l239.94 416.028zM288 354c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z"},null,-1)];function w7(e,t){return(0,n.openBlock)(),(0,n.createElementBlock)("svg",y7,b7)}yv.render=w7;var $7=yv,bv=(0,n.defineComponent)({name:"VtIcon",props:Yn.ICON,computed:{customIconChildren(){return Mn(this.customIcon,"iconChildren")?this.trimValue(this.customIcon.iconChildren):""},customIconClass(){return hi(this.customIcon)?this.trimValue(this.customIcon):Mn(this.customIcon,"iconClass")?this.trimValue(this.customIcon.iconClass):""},customIconTag(){return Mn(this.customIcon,"iconTag")?this.trimValue(this.customIcon.iconTag,"i"):"i"},hasCustomIcon(){return this.customIconClass.length>0},component(){return this.hasCustomIcon?this.customIconTag:pv(this.customIcon)?_o(this.customIcon):this.iconTypeComponent},iconTypeComponent(){return{[Ft.DEFAULT]:Ep,[Ft.INFO]:Ep,[Ft.SUCCESS]:d7,[Ft.ERROR]:$7,[Ft.WARNING]:_7}[this.type]},iconClasses(){const e=[`${mn}__icon`];return this.hasCustomIcon?e.concat(this.customIconClass):e}},methods:{trimValue(e,t=""){return cv(e)?e.trim():t}}});function k7(e,t){return(0,n.openBlock)(),(0,n.createBlock)((0,n.resolveDynamicComponent)(e.component),{class:(0,n.normalizeClass)(e.iconClasses)},{default:(0,n.withCtx)(()=>[(0,n.createTextVNode)((0,n.toDisplayString)(e.customIconChildren),1)]),_:1},8,["class"])}bv.render=k7;var wv=(0,n.defineComponent)({name:"VtToast",components:{ProgressBar:a7,CloseButton:i7,Icon:bv},inheritAttrs:!1,props:Object.assign({},Yn.CORE_TOAST,Yn.TOAST),data(){return{isRunning:!0,disableTransitions:!1,beingDragged:!1,dragStart:0,dragPos:{x:0,y:0},dragRect:{}}},computed:{classes(){const e=[`${mn}__toast`,`${mn}__toast--${this.type}`,`${this.position}`].concat(this.toastClassName);return this.disableTransitions&&e.push("disable-transition"),this.rtl&&e.push(`${mn}__toast--rtl`),e},bodyClasses(){return[`${mn}__toast-${hi(this.content)?"body":"component-body"}`].concat(this.bodyClassName)},draggableStyle(){return this.dragStart===this.dragPos.x?{}:this.beingDragged?{transform:`translateX(${this.dragDelta}px)`,opacity:1-Math.abs(this.dragDelta/this.removalDistance)}:{transition:"transform 0.2s, opacity 0.2s",transform:"translateX(0)",opacity:1}},dragDelta(){return this.beingDragged?this.dragPos.x-this.dragStart:0},removalDistance(){return bp(this.dragRect)?(this.dragRect.right-this.dragRect.left)*this.draggablePercent:0}},mounted(){this.draggable&&this.draggableSetup(),this.pauseOnFocusLoss&&this.focusSetup()},beforeUnmount(){this.draggable&&this.draggableCleanup(),this.pauseOnFocusLoss&&this.focusCleanup()},methods:{hasProp:Mn,getVueComponentFromObj:_o,closeToast(){this.eventBus.emit(Qt.DISMISS,this.id)},clickHandler(){this.onClick&&this.onClick(this.closeToast),this.closeOnClick&&(!this.beingDragged||this.dragStart===this.dragPos.x)&&this.closeToast()},timeoutHandler(){this.closeToast()},hoverPause(){this.pauseOnHover&&(this.isRunning=!1)},hoverPlay(){this.pauseOnHover&&(this.isRunning=!0)},focusPause(){this.isRunning=!1},focusPlay(){this.isRunning=!0},focusSetup(){addEventListener("blur",this.focusPause),addEventListener("focus",this.focusPlay)},focusCleanup(){removeEventListener("blur",this.focusPause),removeEventListener("focus",this.focusPlay)},draggableSetup(){const e=this.$el;e.addEventListener("touchstart",this.onDragStart,{passive:!0}),e.addEventListener("mousedown",this.onDragStart),addEventListener("touchmove",this.onDragMove,{passive:!1}),addEventListener("mousemove",this.onDragMove),addEventListener("touchend",this.onDragEnd),addEventListener("mouseup",this.onDragEnd)},draggableCleanup(){const e=this.$el;e.removeEventListener("touchstart",this.onDragStart),e.removeEventListener("mousedown",this.onDragStart),removeEventListener("touchmove",this.onDragMove),removeEventListener("mousemove",this.onDragMove),removeEventListener("touchend",this.onDragEnd),removeEventListener("mouseup",this.onDragEnd)},onDragStart(e){this.beingDragged=!0,this.dragPos={x:cs(e),y:wp(e)},this.dragStart=cs(e),this.dragRect=this.$el.getBoundingClientRect()},onDragMove(e){this.beingDragged&&(e.preventDefault(),this.isRunning&&(this.isRunning=!1),this.dragPos={x:cs(e),y:wp(e)})},onDragEnd(){this.beingDragged&&(Math.abs(this.dragDelta)>=this.removalDistance?(this.disableTransitions=!0,this.$nextTick(()=>this.closeToast())):setTimeout(()=>{this.beingDragged=!1,bp(this.dragRect)&&this.pauseOnHover&&this.dragRect.bottom>=this.dragPos.y&&this.dragPos.y>=this.dragRect.top&&this.dragRect.left<=this.dragPos.x&&this.dragPos.x<=this.dragRect.right?this.isRunning=!1:this.isRunning=!0}))}}}),E7=["role"];function C7(e,t){const r=(0,n.resolveComponent)("Icon"),a=(0,n.resolveComponent)("CloseButton"),o=(0,n.resolveComponent)("ProgressBar");return(0,n.openBlock)(),(0,n.createElementBlock)("div",{class:(0,n.normalizeClass)(e.classes),style:(0,n.normalizeStyle)(e.draggableStyle),onClick:t[0]||(t[0]=(...l)=>e.clickHandler&&e.clickHandler(...l)),onMouseenter:t[1]||(t[1]=(...l)=>e.hoverPause&&e.hoverPause(...l)),onMouseleave:t[2]||(t[2]=(...l)=>e.hoverPlay&&e.hoverPlay(...l))},[e.icon?((0,n.openBlock)(),(0,n.createBlock)(r,{key:0,"custom-icon":e.icon,type:e.type},null,8,["custom-icon","type"])):(0,n.createCommentVNode)("v-if",!0),(0,n.createElementVNode)("div",{role:e.accessibility.toastRole||"alert",class:(0,n.normalizeClass)(e.bodyClasses)},[typeof e.content=="string"?((0,n.openBlock)(),(0,n.createElementBlock)(n.Fragment,{key:0},[(0,n.createTextVNode)((0,n.toDisplayString)(e.content),1)],2112)):((0,n.openBlock)(),(0,n.createBlock)((0,n.resolveDynamicComponent)(e.getVueComponentFromObj(e.content)),(0,n.mergeProps)({key:1,"toast-id":e.id},e.hasProp(e.content,"props")?e.content.props:{},(0,n.toHandlers)(e.hasProp(e.content,"listeners")?e.content.listeners:{}),{onCloseToast:e.closeToast}),null,16,["toast-id","onCloseToast"]))],10,E7),e.closeButton?((0,n.openBlock)(),(0,n.createBlock)(a,{key:1,component:e.closeButton,"class-names":e.closeButtonClassName,"show-on-hover":e.showCloseButtonOnHover,"aria-label":e.accessibility.closeButtonLabel,onClick:(0,n.withModifiers)(e.closeToast,["stop"])},null,8,["component","class-names","show-on-hover","aria-label","onClick"])):(0,n.createCommentVNode)("v-if",!0),e.timeout?((0,n.openBlock)(),(0,n.createBlock)(o,{key:2,"is-running":e.isRunning,"hide-progress-bar":e.hideProgressBar,timeout:e.timeout,onCloseToast:e.timeoutHandler},null,8,["is-running","hide-progress-bar","timeout","onCloseToast"])):(0,n.createCommentVNode)("v-if",!0)],38)}wv.render=C7;var S7=wv,$v=(0,n.defineComponent)({name:"VtTransition",props:Yn.TRANSITION,emits:["leave"],methods:{hasProp:Mn,leave(e){e instanceof HTMLElement&&(e.style.left=e.offsetLeft+"px",e.style.top=e.offsetTop+"px",e.style.width=getComputedStyle(e).width,e.style.position="absolute")}}});function T7(e,t){return(0,n.openBlock)(),(0,n.createBlock)(n.TransitionGroup,{tag:"div","enter-active-class":e.transition.enter?e.transition.enter:`${e.transition}-enter-active`,"move-class":e.transition.move?e.transition.move:`${e.transition}-move`,"leave-active-class":e.transition.leave?e.transition.leave:`${e.transition}-leave-active`,onLeave:e.leave},{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(e.$slots,"default")]),_:3},8,["enter-active-class","move-class","leave-active-class","onLeave"])}$v.render=T7;var kv=(0,n.defineComponent)({name:"VueToastification",devtools:{hide:!0},components:{Toast:S7,VtTransition:$v},props:Object.assign({},Yn.CORE_TOAST,Yn.CONTAINER,Yn.TRANSITION),data(){return{count:0,positions:Object.values(oo),toasts:{},defaults:{}}},computed:{toastArray(){return Object.values(this.toasts)},filteredToasts(){return this.defaults.filterToasts(this.toastArray)}},beforeMount(){const e=this.eventBus;e.on(Qt.ADD,this.addToast),e.on(Qt.CLEAR,this.clearToasts),e.on(Qt.DISMISS,this.dismissToast),e.on(Qt.UPDATE,this.updateToast),e.on(Qt.UPDATE_DEFAULTS,this.updateDefaults),this.defaults=this.$props},mounted(){this.setup(this.container)},methods:{async setup(e){mi(e)&&(e=await e()),QL(this.$el),e.appendChild(this.$el)},setToast(e){Er(e.id)||(this.toasts[e.id]=e)},addToast(e){e.content=e7(e.content);const t=Object.assign({},this.defaults,e.type&&this.defaults.toastDefaults&&this.defaults.toastDefaults[e.type],e),r=this.defaults.filterBeforeCreate(t,this.toastArray);r&&this.setToast(r)},dismissToast(e){const t=this.toasts[e];!Er(t)&&!Er(t.onClose)&&t.onClose(),delete this.toasts[e]},clearToasts(){Object.keys(this.toasts).forEach(e=>{this.dismissToast(e)})},getPositionToasts(e){const t=this.filteredToasts.filter(r=>r.position===e).slice(0,this.defaults.maxToasts);return this.defaults.newestOnTop?t.reverse():t},updateDefaults(e){Er(e.container)||this.setup(e.container),this.defaults=Object.assign({},this.defaults,e)},updateToast({id:e,options:t,create:r}){this.toasts[e]?(t.timeout&&t.timeout===this.toasts[e].timeout&&t.timeout++,this.setToast(Object.assign({},this.toasts[e],t))):r&&this.addToast(Object.assign({},{id:e},t))},getClasses(e){return[`${mn}__container`,e].concat(this.defaults.containerClassName)}}});function N7(e,t){const r=(0,n.resolveComponent)("Toast"),a=(0,n.resolveComponent)("VtTransition");return(0,n.openBlock)(),(0,n.createElementBlock)("div",null,[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(e.positions,o=>((0,n.openBlock)(),(0,n.createElementBlock)("div",{key:o},[(0,n.createVNode)(a,{transition:e.defaults.transition,class:(0,n.normalizeClass)(e.getClasses(o))},{default:(0,n.withCtx)(()=>[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(e.getPositionToasts(o),l=>((0,n.openBlock)(),(0,n.createBlock)(r,(0,n.mergeProps)({key:l.id},l),null,16))),128))]),_:2},1032,["transition","class"])]))),128))])}kv.render=N7;var D7=kv,Cp=(e={},t=!0)=>{const r=e.eventBus=e.eventBus||new vi;t&&(0,n.nextTick)(()=>{const l=(0,n.createApp)(D7,uv({},e)),i=l.mount(document.createElement("div")),s=e.onMounted;if(Er(s)||s(i,l),e.shareAppContext){const u=e.shareAppContext;u===!0?console.warn(`[${mn}] App to share context with was not provided.`):(l._context.components=u._context.components,l._context.directives=u._context.directives,l._context.mixins=u._context.mixins,l._context.provides=u._context.provides,l.config.globalProperties=u.config.globalProperties)}});const a=(l,i)=>{const s=Object.assign({},{id:ZL(),type:Ft.DEFAULT},i,{content:l});return r.emit(Qt.ADD,s),s.id};a.clear=()=>r.emit(Qt.CLEAR,void 0),a.updateDefaults=l=>{r.emit(Qt.UPDATE_DEFAULTS,l)},a.dismiss=l=>{r.emit(Qt.DISMISS,l)};function o(l,{content:i,options:s},u=!1){const c=Object.assign({},s,{content:i});r.emit(Qt.UPDATE,{id:l,options:c,create:u})}return a.update=o,a.success=(l,i)=>a(l,Object.assign({},i,{type:Ft.SUCCESS})),a.info=(l,i)=>a(l,Object.assign({},i,{type:Ft.INFO})),a.error=(l,i)=>a(l,Object.assign({},i,{type:Ft.ERROR})),a.warning=(l,i)=>a(l,Object.assign({},i,{type:Ft.WARNING})),a},x7=()=>{const e=()=>console.warn(`[${mn}] This plugin does not support SSR!`);return new Proxy(e,{get(){return e}})};function lo(e){return t7()?n7(e)?Cp({eventBus:e},!1):Cp(e,!0):x7()}var gi=Symbol("VueToastification"),yc=new vi,B7=(e,t)=>{t?.shareAppContext===!0&&(t.shareAppContext=e);const r=lo(uv({eventBus:yc},t));e.provide(gi,r)},A7=e=>{const t=lo(e);(0,n.getCurrentInstance)()&&(0,n.provide)(gi,t)},Ev=e=>{if(e)return lo(e);const t=(0,n.getCurrentInstance)()?(0,n.inject)(gi,void 0):void 0;return t||lo(yc)},Cv=B7,V7={key:0,class:"custom-toast__icon"},M7={class:"custom-toast__content"},L7=(0,n.defineComponent)({__name:"Toast",props:{message:{},type:{default:"info"},showIcon:{type:Boolean,default:!0},showCloseButton:{type:Boolean,default:!0},closeToast:{}},setup(e){return(t,r)=>((0,n.openBlock)(),(0,n.createElementBlock)("div",{class:(0,n.normalizeClass)(["custom-toast",`custom-toast--${t.type}`])},[t.showIcon?((0,n.openBlock)(),(0,n.createElementBlock)("div",V7,[t.type==="success"?((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(Ee),{key:0,icon:"check_circle"})):(0,n.createCommentVNode)("",!0),t.type==="error"?((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(Ee),{key:1,icon:"dangerous"})):(0,n.createCommentVNode)("",!0),t.type==="warning"?((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(Ee),{key:2,icon:"report"})):(0,n.createCommentVNode)("",!0),t.type==="info"?((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(Ee),{key:3,icon:"info"})):(0,n.createCommentVNode)("",!0)])):(0,n.createCommentVNode)("",!0),(0,n.createElementVNode)("div",M7,(0,n.toDisplayString)(t.message),1),t.showCloseButton?((0,n.openBlock)(),(0,n.createElementBlock)("button",{key:1,class:"custom-toast__close",onClick:r[0]||(r[0]=(...a)=>t.closeToast&&t.closeToast(...a))},[(0,n.createVNode)((0,n.unref)(Ee),{icon:"close"})])):(0,n.createCommentVNode)("",!0)],2))}}),$a=L7,P7=Cv||sv,{POSITION:I7}=sv,zr=Ev;const Sv=Symbol("toast");var xl=null;function O7(){const e=(0,n.inject)(Sv,null);if(!e){if(xl)return xl;throw new Error("Toast API not provided. Make sure ToastPlugin is installed via app.use(ToastPlugin)")}return e}const Tv={install:(e,t={})=>{const r={position:I7.TOP_RIGHT,timeout:5e3,closeOnClick:!0,pauseOnFocusLoss:!0,pauseOnHover:!0,draggable:!0,draggablePercent:.6,showCloseButtonOnHover:!1,hideProgressBar:!0,closeButton:!1,icon:!1,rtl:!1,transition:"Vue-Toastification__fade",maxToasts:5,newestOnTop:!0,toastClassName:"custom-toast-wrapper",bodyClassName:"custom-toast-body",...t};e.use(P7,r);const a={success:(o,l)=>zr()({component:$a,props:{message:o,type:"success"}},l),error:(o,l)=>zr()({component:$a,props:{message:o,type:"error"}},l),info:(o,l)=>zr()({component:$a,props:{message:o,type:"info"}},l),warning:(o,l)=>zr()({component:$a,props:{message:o,type:"warning"}},l),show:(o,l)=>zr()({component:$a,props:{message:o,type:"info"}},l),clear:()=>{zr().clear()}};xl||(xl=a),e.provide(Sv,a)}},R7={install:(e,t={})=>{e.directive("click-outside",WL),e.directive("ripple",rv),e.directive("pattern",nv),e.use(jL),e.use(iv),e.use(Tv,t.toast||{}),e.use(bb,{themes:{"bgl-theme":{triggers:["click"],autoHide:!0,placement:"bottom"}}});const r=Jh(t.i18n||{});e.use(r)}};var F7=[["Afghanistan (افغانستان)","AF","93"],["Albania (Shqipëri)","AL","355"],["Algeria (الجزائر)","DZ","213"],["American Samoa","AS","1",5,["684"]],["Andorra","AD","376"],["Angola","AO","244"],["Anguilla","AI","1",6,["264"]],["Antigua and Barbuda","AG","1",7,["268"]],["Argentina","AR","54"],["Armenia (Հայաստան)","AM","374"],["Aruba","AW","297"],["Ascension Island","AC","247"],["Australia","AU","61",0],["Austria (Österreich)","AT","43"],["Azerbaijan (Azərbaycan)","AZ","994"],["Bahamas","BS","1",8,["242"]],["Bahrain (البحرين)","BH","973"],["Bangladesh (বাংলাদেশ)","BD","880"],["Barbados","BB","1",9,["246"]],["Belarus (Беларусь)","BY","375"],["Belgium (België)","BE","32"],["Belize","BZ","501"],["Benin (Bénin)","BJ","229"],["Bermuda","BM","1",10,["441"]],["Bhutan (འབྲུག)","BT","975"],["Bolivia","BO","591"],["Bosnia and Herzegovina (Босна и Херцеговина)","BA","387"],["Botswana","BW","267"],["Brazil (Brasil)","BR","55"],["British Indian Ocean Territory","IO","246"],["British Virgin Islands","VG","1",11,["284"]],["Brunei","BN","673"],["Bulgaria (България)","BG","359"],["Burkina Faso","BF","226"],["Burundi (Uburundi)","BI","257"],["Cambodia (កម្ពុជា)","KH","855"],["Cameroon (Cameroun)","CM","237"],["Canada","CA","1",1,["204","226","236","249","250","263","289","306","343","354","365","367","368","382","387","403","416","418","428","431","437","438","450","584","468","474","506","514","519","548","579","581","584","587","604","613","639","647","672","683","705","709","742","753","778","780","782","807","819","825","867","873","902","905"]],["Cape Verde (Kabu Verdi)","CV","238"],["Caribbean Netherlands","BQ","599",1,["3","4","7"]],["Cayman Islands","KY","1",12,["345"]],["Central African Republic (République centrafricaine)","CF","236"],["Chad (Tchad)","TD","235"],["Chile","CL","56"],["China (中国)","CN","86"],["Christmas Island","CX","61",2,["89164"]],["Cocos (Keeling) Islands","CC","61",1,["89162"]],["Colombia","CO","57"],["Comoros (جزر القمر)","KM","269"],["Congo (DRC) (République démocratique du Congo)","CD","243"],["Congo (Republic) (Congo-Brazzaville)","CG","242"],["Cook Islands","CK","682"],["Costa Rica","CR","506"],["Côte d’Ivoire","CI","225"],["Croatia (Hrvatska)","HR","385"],["Cuba","CU","53"],["Curaçao","CW","599",0],["Cyprus (Κύπρος)","CY","357"],["Czech Republic (Česká republika)","CZ","420"],["Denmark (Danmark)","DK","45"],["Djibouti","DJ","253"],["Dominica","DM","1",13,["767"]],["Dominican Republic (República Dominicana)","DO","1",2,["809","829","849"]],["Ecuador","EC","593"],["Egypt (مصر)","EG","20"],["El Salvador","SV","503"],["Equatorial Guinea (Guinea Ecuatorial)","GQ","240"],["Eritrea","ER","291"],["Estonia (Eesti)","EE","372"],["Eswatini","SZ","268"],["Ethiopia","ET","251"],["Falkland Islands (Islas Malvinas)","FK","500"],["Faroe Islands (Føroyar)","FO","298"],["Fiji","FJ","679"],["Finland (Suomi)","FI","358",0],["France","FR","33"],["French Guiana (Guyane française)","GF","594"],["French Polynesia (Polynésie française)","PF","689"],["Gabon","GA","241"],["Gambia","GM","220"],["Georgia (საქართველო)","GE","995"],["Germany (Deutschland)","DE","49"],["Ghana (Gaana)","GH","233"],["Gibraltar","GI","350"],["Greece (Ελλάδα)","GR","30"],["Greenland (Kalaallit Nunaat)","GL","299"],["Grenada","GD","1",14,["473"]],["Guadeloupe","GP","590",0],["Guam","GU","1",15,["671"]],["Guatemala","GT","502"],["Guernsey","GG","44",1,["1481","7781","7839","7911"]],["Guinea (Guinée)","GN","224"],["Guinea-Bissau (Guiné Bissau)","GW","245"],["Guyana","GY","592"],["Haiti","HT","509"],["Honduras","HN","504"],["Hong Kong (香港)","HK","852"],["Hungary (Magyarország)","HU","36"],["Iceland (Ísland)","IS","354"],["India (भारत)","IN","91"],["Indonesia","ID","62"],["Iran (ایران)","IR","98"],["Iraq (العراق)","IQ","964"],["Ireland","IE","353"],["Isle of Man","IM","44",2,["1624","74576","7524","7924","7624"]],["Israel (ישראל)","IL","972"],["Italy (Italia)","IT","39",0],["Jamaica","JM","1",4,["876","658"]],["Japan (日本)","JP","81"],["Jersey","JE","44",3,["1534","7509","7700","7797","7829","7937"]],["Jordan (الأردن)","JO","962"],["Kazakhstan (Казахстан)","KZ","7",1,["33","7"]],["Kenya","KE","254"],["Kiribati","KI","686"],["Kosovo","XK","383"],["Kuwait (الكويت)","KW","965"],["Kyrgyzstan (Кыргызстан)","KG","996"],["Laos (ລາວ)","LA","856"],["Latvia (Latvija)","LV","371"],["Lebanon (لبنان)","LB","961"],["Lesotho","LS","266"],["Liberia","LR","231"],["Libya (ليبيا)","LY","218"],["Liechtenstein","LI","423"],["Lithuania (Lietuva)","LT","370"],["Luxembourg","LU","352"],["Macau (澳門)","MO","853"],["Madagascar (Madagasikara)","MG","261"],["Malawi","MW","265"],["Malaysia","MY","60"],["Maldives","MV","960"],["Mali","ML","223"],["Malta","MT","356"],["Marshall Islands","MH","692"],["Martinique","MQ","596"],["Mauritania (موريتانيا)","MR","222"],["Mauritius (Moris)","MU","230"],["Mayotte","YT","262",1,["269","639"]],["Mexico (México)","MX","52"],["Micronesia","FM","691"],["Moldova (Republica Moldova)","MD","373"],["Monaco","MC","377"],["Mongolia (Монгол)","MN","976"],["Montenegro (Crna Gora)","ME","382"],["Montserrat","MS","1",16,["664"]],["Morocco (المغرب)","MA","212",0],["Mozambique (Moçambique)","MZ","258"],["Myanmar (Burma) (မြန်မာ)","MM","95"],["Namibia (Namibië)","NA","264"],["Nauru","NR","674"],["Nepal (नेपाल)","NP","977"],["Netherlands (Nederland)","NL","31"],["New Caledonia (Nouvelle-Calédonie)","NC","687"],["New Zealand","NZ","64"],["Nicaragua","NI","505"],["Niger (Nijar)","NE","227"],["Nigeria","NG","234"],["Niue","NU","683"],["Norfolk Island","NF","672"],["North Korea (조선 민주주의 인민 공화국)","KP","850"],["North Macedonia (Северна Македонија)","MK","389"],["Northern Mariana Islands","MP","1",17,["670"]],["Norway (Norge)","NO","47",0],["Oman (عُمان)","OM","968"],["Pakistan (پاکستان)","PK","92"],["Palau","PW","680"],["Palestine (فلسطين)","PS","970"],["Panama (Panamá)","PA","507"],["Papua New Guinea","PG","675"],["Paraguay","PY","595"],["Peru (Perú)","PE","51"],["Philippines","PH","63"],["Poland (Polska)","PL","48"],["Portugal","PT","351"],["Puerto Rico","PR","1",3,["787","939"]],["Qatar (قطر)","QA","974"],["Réunion (La Réunion)","RE","262",0],["Romania (România)","RO","40"],["Russia (Россия)","RU","7",0],["Rwanda","RW","250"],["Saint Barthélemy","BL","590",1],["Saint Helena","SH","290"],["Saint Kitts and Nevis","KN","1",18,["869"]],["Saint Lucia","LC","1",19,["758"]],["Saint Martin (Saint-Martin (partie française))","MF","590",2],["Saint Pierre and Miquelon (Saint-Pierre-et-Miquelon)","PM","508"],["Saint Vincent and the Grenadines","VC","1",20,["784"]],["Samoa","WS","685"],["San Marino","SM","378"],["São Tomé and Príncipe (São Tomé e Príncipe)","ST","239"],["Saudi Arabia (المملكة العربية السعودية)","SA","966"],["Senegal (Sénégal)","SN","221"],["Serbia (Србија)","RS","381"],["Seychelles","SC","248"],["Sierra Leone","SL","232"],["Singapore","SG","65"],["Sint Maarten","SX","1",21,["721"]],["Slovakia (Slovensko)","SK","421"],["Slovenia (Slovenija)","SI","386"],["Solomon Islands","SB","677"],["Somalia (Soomaaliya)","SO","252"],["South Africa","ZA","27"],["South Korea (대한민국)","KR","82"],["South Sudan (جنوب السودان)","SS","211"],["Spain (España)","ES","34"],["Sri Lanka (ශ්‍රී ලංකාව)","LK","94"],["Sudan (السودان)","SD","249"],["Suriname","SR","597"],["Svalbard and Jan Mayen","SJ","47",1,["79"]],["Sweden (Sverige)","SE","46"],["Switzerland (Schweiz)","CH","41"],["Syria (سوريا)","SY","963"],["Taiwan (台灣)","TW","886"],["Tajikistan","TJ","992"],["Tanzania","TZ","255"],["Thailand (ไทย)","TH","66"],["Timor-Leste","TL","670"],["Togo","TG","228"],["Tokelau","TK","690"],["Tonga","TO","676"],["Trinidad and Tobago","TT","1",22,["868"]],["Tunisia (تونس)","TN","216"],["Turkey (Türkiye)","TR","90"],["Turkmenistan","TM","993"],["Turks and Caicos Islands","TC","1",23,["649"]],["Tuvalu","TV","688"],["U.S. Virgin Islands","VI","1",24,["340"]],["Uganda","UG","256"],["Ukraine (Україна)","UA","380"],["United Arab Emirates (الإمارات العربية المتحدة)","AE","971"],["United Kingdom","GB","44",0],["United States","US","1",0],["Uruguay","UY","598"],["Uzbekistan (Oʻzbekiston)","UZ","998"],["Vanuatu","VU","678"],["Vatican City (Città del Vaticano)","VA","39",1,["06698"]],["Venezuela","VE","58"],["Vietnam (Việt Nam)","VN","84"],["Wallis and Futuna (Wallis-et-Futuna)","WF","681"],["Western Sahara (الصحراء الغربية)","EH","212",1,["5288","5289"]],["Yemen (اليمن)","YE","967"],["Zambia","ZM","260"],["Zimbabwe","ZW","263"],["Åland Islands","AX","358",1,["18"]]];const Nv=F7.map(([e,t,r,a=0,o=[]])=>({name:e,iso2:t,dialCode:r,priority:a,areaCodes:o}));function hu(e,t){e=new Date(e);const r=t.Day||t.day||t.days||0,a=t.Hour||t.hour||t.hours||0,o=t.Minute||t.minute||t.minutes||0,l=t.Second||t.second||t.seconds||0,i=t.Week||t.week||t.weeks||0,s=t.Month||t.month||t.months||0,u=t.Year||t.year||t.years||0;return r&&e.setDate(e.getDate()+r),a&&e.setHours(e.getHours()+a),o&&e.setMinutes(e.getMinutes()+o),l&&e.setSeconds(e.getSeconds()+l),i&&e.setDate(e.getDate()+i*7),s&&e.setMonth(e.getMonth()+s),u&&e.setFullYear(e.getFullYear()+u),e}function z7(e){try{const t=fa().global.messages,r=t[e]||t.en;return r?.timeAgo?r.timeAgo:{year:"year",month:"month",week:"week",day:"day",hour:"hour",minute:"minute",second:"second",ago:"ago",in:"in",justNow:"Just now"}}catch{return{year:"year",month:"month",week:"week",day:"day",hour:"hour",minute:"minute",second:"second",ago:"ago",in:"in",justNow:"Just now"}}}function U7(){try{const{locale:e}=fa().global,t=typeof e=="string"?e:e.value;return["en","es","fr","he","it","ru"].includes(t)?t:"en"}catch{return"en"}}function H7(e,t){if(!e)return"";typeof e=="string"&&(e=new Date(e));const r=typeof t=="string"?t:t?.lang||U7(),a=(typeof t=="object"&&t.mode||"relative")==="relative",o=new Date().getTime(),l=e.getTime(),i=Math.floor((l-o)/1e3),s=[{label:"year",seconds:31536e3},{label:"month",seconds:2592e3},{label:"week",seconds:604800},{label:"day",seconds:86400},{label:"hour",seconds:3600},{label:"minute",seconds:60},{label:"second",seconds:1}],u=z7(r),c=f=>u[f];for(const f of s){const p=Math.floor(Math.abs(i)/f.seconds);if(p>=1){const m=a&&i<0?` ${u.ago}`:"",h=a&&i>0&&u.in!=="in"?`${u.in} `:"";if(r==="he"){const g=c(f.label),y=p===1?g.singular:g.plural,v=a?i<0?`${u.ago} `:i>0?`${u.in} `:"":"";if(f.label==="day"&&i>0){const _=Math.floor(Math.abs(i)%86400/3600),b=u.hour,k=_===1?b.singular:b.plural;return`${v}${p===1?y:`${p} ${y}`}${_>0?_===1?` ${k}`:` ${_} ${k}`:""}`}return`${v}${p===1?y:`${p} ${y}`}`}const d=c(f.label);if(f.label==="day"&&i>0){const g=Math.floor(Math.abs(i)%86400/3600),y=g>1?`${u.hour}s`:u.hour;return`${h}${p} ${d}${g>0?` ${g} ${y}`:""}${m}`}return`${h}${p} ${d}${m}`}}return u.justNow}function Dv(){return typeof navigator!="object"?"en-US":navigator.languages&&navigator.languages.length?navigator.languages[0]:navigator.language}function j7(){try{const{locale:e}=fa().global;return typeof e=="string"?e:e.value}catch{return Dv()}}function xv(e,t){if(t.timeZone==="UTC"){const r=new Date(e.getTime());return r.setMinutes(r.getMinutes()+e.getTimezoneOffset()),r}try{const r=new Intl.DateTimeFormat("en-US",{...t,month:"numeric"}).formatToParts(e),a={};return r.forEach(o=>{o.type!=="literal"&&o.type!=="timeZoneName"&&(a[o.type]=Number.parseInt(o.value,10))}),new Date(a.year,(a.month||1)-1,a.day,a.hour||0,a.minute||0,a.second||0)}catch(r){return console.warn(`Error handling timezone ${t.timeZone}:`,r),e}}function bc(e,t,r){const a=r?.timeZone?xv(e,r):e,o=a.getFullYear().toString();return{AmPm:a.toLocaleString(t,{hour:"numeric",hour12:!0,minute:"numeric"}).split(" ")[1],DD:String(a.getDate()).padStart(2,"0"),DDD:a.toLocaleString(t,{weekday:"short"}),DDDD:a.toLocaleString(t,{weekday:"long"}),HH:String(a.getHours()).padStart(2,"0"),mm:String(a.getMinutes()).padStart(2,"0"),MM:String(a.getMonth()+1).padStart(2,"0"),MMM:a.toLocaleString(t,{month:"short"}),MMMM:a.toLocaleString(t,{month:"long"}),ss:String(a.getSeconds()).padStart(2,"0"),sss:String(a.getMilliseconds()).padStart(3,"0"),YY:o.slice(-2),YYYY:o}}var W7=bc(new Date,Dv()),G7=Object.keys(W7).sort((e,t)=>t.length-e.length),q7=new RegExp(G7.map(e=>e).join("|"),"g");function mt(e,t){let r,a,o,l={};if(typeof t=="string"?r=t:t&&typeof t=="object"&&(r=t.format,a=t.locale,o=t.tz,l=t),!e)return"";if(r==="ISO"||r==="ISO8601"){const i=typeof e=="string"||typeof e=="number"?new Date(e):e;return Number.isNaN(i.getTime())?"":i.toISOString()}r=r||"DD.MM.YY",a=a||j7();try{const i=typeof e=="string"||typeof e=="number"?new Date(e):e;if(Number.isNaN(i.getTime()))return console.warn("Invalid date provided to formatDate:",e),"";const s={day:"numeric",hour:"2-digit",hour12:l.hour12===void 0?!0:l.hour12,minute:"2-digit",month:"long",second:"2-digit",timeZone:o,weekday:"long",year:"numeric"},u=bc(i,a,s),c=new Intl.DateTimeFormat(a,s).formatToParts(i),f={};return c.forEach(p=>{p.type!=="literal"&&(f[p.type]=p.value)}),f.month&&(u.MMM=f.month.substring(0,3),u.MMMM=f.month),f.weekday&&(u.DDD=f.weekday.substring(0,3),u.DDDD=f.weekday),f.dayPeriod&&(u.AmPm=f.dayPeriod),r.replace(q7,p=>u[p])}catch(i){return console.warn(`Error formatting date: ${e} with format: ${r}`,i),""}}const Y7=mt;function Bl(e,t,r){let a,o="",l,i={};if(typeof e=="object"&&e!==null){i=e;const{id:s,text:u,icon:c}=i;a=s,o=u??"",l=c}else a=e,t!=null&&(typeof t=="string"&&t.length<=30&&!t.includes(" ")&&(t.includes("-")||t.includes("_")||t.length<=12)&&t===t.toLowerCase()?(l=t,r&&(i=r)):(o=t,r&&(i=r)));return{$el:"btn",id:a,class:i.class,vIf:i.vIf,style:i.style,onClick:i.onClick,attrs:{value:o||(i.text??"")||"",variant:i.variant,size:i.size,disabled:i.disabled,loading:i.loading,icon:l??i.icon,iconPosition:i.iconPosition,href:i.href,target:i.target}}}function Bv(e,t,r={}){return{$el:e,id:t,class:r.class,vIf:r.vIf,style:r.style,attrs:r.attrs||{},onClick:r.onClick}}function Av(e,t,r){return t!=null&&e!=null?Bl(e,t,r||{}):Bl({id:e,icon:t,...r})}function Vv(e,t,r){let a,o={};if(typeof e=="object"&&e!==null){o=e;const{id:l}=o;a=l}else a=e,t!=null&&(typeof r=="string"?o={tag:r,text:t}:r?o={...r,text:t}:o={text:t});return{$el:o.tag||"p",id:a,class:o.class,vIf:o.vIf,style:o.style,attrs:{text:o.text??"",size:o.size,weight:o.weight,color:o.color,align:o.align},transform:o.transform}}function Mv(e,t,r){let a,o={};if(typeof e=="object"&&e!==null){o=e;const{id:l}=o;a=l}else a=e,t!=null&&(typeof r=="string"?o={alt:r}:r&&(o=r));return{$el:"img",id:a,class:o.class,vIf:o.vIf,style:o.style,transform:o.transform,attrs:{alt:o.alt,width:o.width,height:o.height,loading:o.loading,fit:o.fit,rounded:o.rounded,fallback:o.fallback}}}function X7(e){return{$el:"pill",id:e?.id,class:e?.class,vIf:e?.vIf,style:e?.style,attrs:e?.attrs||{}}}function Lv(...e){let t,r=[];if(e.length>0){const o=e[0];typeof o=="object"&&o!==null&&"$el"in o?r=e:(t=o,r=e.slice(1))}const a={};return t?.attrs&&Object.assign(a,t.attrs),t&&(t.options!=null&&(a.options=t.options),t.placeholder!=null&&(a.placeholder=t.placeholder),t.searchable!=null&&(a.searchable=t.searchable),t.multiselect!=null&&(a.multiselect=t.multiselect),t.clearable!=null&&(a.clearable=t.clearable),t.onSelect!=null&&(a.onSelect=t.onSelect),t.onSearch!=null&&(a.onSearch=t.onSearch)),{$el:(0,n.markRaw)(jt),class:t?.class,vIf:t?.vIf,style:t?.style,attrs:a,children:r}}function Pv(e,t){return{$el:(0,n.markRaw)(Nn),id:t?.id,class:t?.class,vIf:t?.vIf,style:t?.style,onClick:t?.onClick,attrs:{thin:!0,title:e??t?.title??"",subtitle:t?.subtitle,icon:t?.icon,avatar:t?.avatar,badge:t?.badge,actions:t?.actions,clickable:t?.clickable,divider:t?.divider}}}function Iv(e,t,r){return{$el:"div",id:e,class:r?.class??"flex gap-2",vIf:r?.vIf,style:r?.style,attrs:r?.attrs||{},children:t}}function wc(e,t){for(const r of t){if(r.id===e)return r;if(r.children&&r.children.length>0){const a=wc(e,r.children);if(a)return a}}}function $c(e,t,r){let a;return typeof t=="string"?a=t:r=t,{$el:"div",id:e,class:r?.class??"column-class",vIf:r?.vIf,style:r?.style,transform:r?.transform,attrs:{...r?.attrs,label:a??r?.attrs?.label??""},children:r?.children}}const Ov=$c;function K7(){return{btn:Bl,iconBtn:Av,txt:Vv,img:Mv,dropdown:Lv,listItem:Pv,container:Iv,findElementById:wc,getBaseElementField:Bv,col:Ov,column:$c}}async function Rv(){let e=sessionStorage.getItem("ipapi");return e||(e=(await qu.get("https://ipapi.co/json/")).data,e=JSON.stringify(e),sessionStorage.setItem("ipapi",e)),JSON.parse(e)}var J7={"":/<[^>]*>?/g," ":/&nbsp;/g,'"':/&quot;/g,"'":/&apos;/g,"&":/&amp;/g,"<":/&lt;/g,">":/&gt;/g};function kc(e){return e?Object.entries(J7).reduce((t,[r,a])=>t.replace(a,r),e):""}var Z7=/[\p{N}\p{L}\s]/gu;function Wr(e){return e.match(Z7)?.join("").toLowerCase()??""}function Q7(e,t){const r=t.split(".");let a=e;for(const o of r){if(a==null||typeof a!="object")return;a=a[o]}return a}function Ro(e,t){let r=0;if(e.length===0)return 0;let a=0;for(const l of t)if(e.includes(l)){const i=new RegExp(l,"g"),s=e.match(i);s&&(a+=s.length*l.length),r+=1,e.split(/\s+/).includes(l)&&(r+=.5),e.startsWith(l)&&(r+=.5)}const o=Math.min(1,a/e.length);return r*=1+o*2,r}function Fo(e){return typeof e=="string"||typeof e=="number"||typeof e=="boolean"}function eP(e){return e==null?"":typeof e=="string"?kc(e):typeof e=="number"||typeof e=="boolean"?String(e):typeof e=="object"&&e instanceof Date?e.toISOString():""}function Fv(e){const{searchTerm:t,items:r=[],keysToSearch:a,fieldWeights:o={},minChars:l=2}=e,i=(0,n.toValue)(t),s=(0,n.toValue)(r)||[];if(!i||i.length<l)return s;const u=Wr(i).split(/\s+/).filter(g=>g.length>1);if(u.length===0)return s;const c={name:2,first_name:2,last_name:2,title:2,headline:2,description:.7,subtitle:.7,bio:.7,content:.7,body:.7,email:.7,phone:.7,id:.3,created_at:.3,updated_at:.3};function f(g){if(g in o){const v=o[g];if(typeof v=="number")return v}const y=g.split(".").pop()||"";return y in c?c[y]:1}function p(g,y=""){return!g||typeof g!="object"?[]:Object.keys(g).flatMap(v=>{const _=g[v],b=y?`${y}.${v}`:v;return _&&typeof _=="object"&&!Array.isArray(_)?[b,...p(_,b)]:[b]})}function m(g){let y=0;if(Fo(g))return Ro(Wr(String(g)),u);if(Array.isArray(g)){for(const _ of g)if(Fo(_)){const b=Wr(String(_));y+=Ro(b,u)}return y}const v=a||p(g);for(const _ of v){const b=Q7(g,String(_));if(b==null)continue;if(Array.isArray(b)){for(const S of b)if(Fo(S)){const N=Ro(Wr(kc(String(S))),u),V=f(String(_));y+=N*V}continue}if(typeof b=="object"&&!Fo(b))continue;const k=Ro(Wr(eP(b)),u),w=f(String(_));y+=k*w}return y}const h=s.map(g=>[g,m(g)]).filter(([,g])=>g>0);let d=h;if(h.length>0){const g=Math.max(...h.map(([,y])=>y));if(g>5){const y=g*.25;d=h.filter(([,v])=>v>=y)}else if(g>2){const y=g*.15;d=h.filter(([,v])=>v>=y)}}return d.sort(([,g],[,y])=>y-g).map(([g])=>g)}function zv(e,t){let r,a;const o=Array.isArray(e),l=typeof e=="function",i=typeof e=="object"&&e!==null&&"value"in e&&!("items"in e);o||l||i?(a=(0,n.ref)(""),r={items:e,searchTerm:a,...t}):r=e;const{searchTerm:s,minChars:u=2,serverSearch:c,debounceMs:f=300}=r,p=(0,n.ref)(!1),m=(0,n.ref)([]);let h=null;c&&(0,n.watch)(()=>(0,n.toValue)(s),async b=>{h!==null&&clearTimeout(h);const k=typeof b=="string"?b:"";if(k.length<u&&u>0){m.value=[];return}h=window.setTimeout(async()=>{try{p.value=!0,m.value=await c(k)}catch(w){console.error("Server search error:",w),m.value=[]}finally{p.value=!1}},f)},{immediate:!0});const d=()=>(0,n.toValue)(s),g=()=>{const b=d();return c&&(b&&typeof b=="string"&&b.length>=u||u===0)?m.value:Fv(r)},y=(0,n.computed)(()=>g()),v=(0,n.computed)(()=>y.value.length),_={results:y,resultCount:v,hasResults:(0,n.computed)(()=>v.value>0),isSearching:(0,n.computed)(()=>{const b=d();return!!b&&typeof b=="string"&&b.length>=u}),isLoading:(0,n.computed)(()=>p.value)};return a&&(_.searchTerm=a),_}exports.$=pt;exports.Accordion=Kv;exports.AccordionItem=tg;exports.AddToCalendar=lg;exports.AddressSearch=ag;exports.Alert=fg;exports.AppContent=y8;exports.AppLayout=k8;exports.AppSidebar=B8;exports.ArrayInput=Uo;exports.Avatar=Tp;exports.Badge=$_;exports.BagelForm=sa;exports.BagelMultiStepForm=hw;exports.BagelVue=R7;exports.BarChart=yg;exports.BglForm=sa;exports.BglVideo=yu;exports.BottomMenu=M8;exports.Btn=Q;exports.Calendar=j1;exports.Card=Ut;exports.Carousel=J1;exports.CheckInput=At;exports.Checkbox=Nw;exports.CodeEditor=Bu;exports.ColorInput=Fn;exports.DataPreview=ly;exports.DataTable=Hp;exports.DateInput=Wa;exports.DatePicker=xm;exports.Dialog=ci;exports.DialogConfirm=gh;exports.DialogForm=Qh;exports.DialogPlugin=YM;exports.DialogSymbol=gc;exports.DragOver=ps;exports.Draggable=yy;exports.Dropdown=jt;exports.EMAIL_REGEX=Ho;exports.EmailInput=Au;exports.FORM_STATE_KEY=ec;exports.FieldArray=ka;exports.FieldSetVue=Cb;exports.Filter=Lb;exports.Flag=ys;exports.FormFlow=vc;exports.IMAGE_FORMATS=Bm;exports.IMAGE_FORMATS_REGEXP=cl;exports.Icon=Ee;exports.IframeVue=yN;exports.Image=Xa;exports.ImportData=m8;exports.JSONInput=_2;exports.KpiCard=Dg;exports.Layout=P8;exports.LineChart=qg;exports.ListItem=Nn;exports.ListView=j0;exports.Loading=fr;exports.MapEmbed=g5;exports.MarkdownEditor=E2;exports.Menu=E5;exports.Modal=Zt;exports.ModalConfirm=W0;exports.ModalForm=G0;exports.ModalPlugin=iv;exports.MultiStepForm=$L;exports.NavBar=R5;exports.NumberInput=Tn;exports.OTP=L2;exports.PageTitle=q0;exports.Pagination=G5;exports.PasswordInput=Hm;exports.PieChart=__;exports.Pill=Ys;exports.RadioGroup=jm;exports.RadioPillsInput=fk;exports.RangeInput=Wm;exports.Rating=Q5;exports.RichText=Mu;exports.RouterWrapper=n9;exports.SelectBtn=GE;exports.SelectInput=dt;exports.SidebarMenu=R8;exports.SignaturePad=eC;exports.Skeleton=kl;exports.Slider=i9;exports.Spreadsheet=Y0;exports.Swiper=ch;exports.TabbedLayout=W8;exports.TableField=YC;exports.TableSchema=Hp;exports.Tabs=Y8;exports.TabsBody=K8;exports.TabsNav=Xu;exports.TelInput=Uu;exports.TextInput=Ge;exports.Title=dh;exports.ToastPlugin=Tv;exports.ToggleInput=ei;exports.ToolBar=_x;exports.TopBar=$x;exports.UploadInput=$l;exports.VIDEO_FORMATS=Am;exports.VIDEO_FORMATS_REGEXP=Vm;exports.Zoomer=fh;exports.allCountries=Nv;exports.anyOf=zb;exports.appendScript=co;exports.appendStyle=ks;exports.arrField=Su;Object.defineProperty(exports,"bagelFormUtils",{enumerable:!0,get:function(){return Ib}});exports.bagelinkLocales=fu;exports.bglForm=Cu;exports.bindAttrs=ws;exports.btn=Bl;exports.checkField=Fl;exports.classify=Sm;exports.clearHtml=kc;exports.col=Ov;exports.colorField=Yl;exports.column=$c;exports.container=Iv;exports.copyText=Em;exports.createI18n=Jh;exports.createSchema=Tu;exports.createUploadApi=Y4;exports.dateField=Ul;exports.debounce=Qb;exports.defaultOptions=bm;exports.denullify=rw;exports.downloadFile=xu;exports.dropdown=Lv;exports.emailField=zl;exports.findBglFieldById=Xl;exports.findElementById=wc;exports.fmtDate=Y7;exports.formatDate=mt;exports.formatString=zn;exports.frmRow=jl;exports.fromJSONSchema=oL;exports.getBaseElementField=Bv;exports.getBaseField=Eu;exports.getDatePartsMap=bc;exports.getFallbackSchema=Tm;exports.getI18n=fa;exports.getNestedValue=Cr;exports.handleTimezone=xv;exports.iconBtn=Av;exports.iffer=nw;exports.img=Mv;exports.initials=Cm;exports.ipapi=Rv;exports.isDate=$s;exports.keyToLabel=uo;exports.listItem=Pv;exports.multiStepSchema=aL;exports.normalizeDimension=un;exports.normalizeText=Wr;exports.normalizeURL=Du;exports.numField=Hl;exports.parseQuery=Nu;exports.pathKeyToURL=Un;exports.pattern=nv;exports.pill=X7;exports.provideBagelFormState=Sx;exports.queryFilter=Fb;exports.range=Ub;exports.rangeField=Gl;exports.required=nL;exports.resolveI18n=Zh;exports.richText=Ol;exports.ripple=rv;exports.schema=rL;exports.search=Hb;exports.searchItems=Fv;exports.selectField=so;exports.showdown=H;exports.slctField=vm;exports.sleep=Tr;exports.slugify=ew;exports.telField=ql;exports.timeAgo=H7;exports.timeDelta=hu;exports.tryRun=Nm;exports.txt=Vv;exports.txtField=Rl;exports.uploadField=Wl;exports.useAddToCalendar=Nx;exports.useBagelFormState=Tx;exports.useBglSchema=nc;exports.useDebounceFn=Sr;exports.useDevice=go;exports.useDialog=qM;exports.useDraggable=rl;exports.useElements=K7;exports.useEscape=tw;exports.useExcel=ph;exports.useFileUpload=H0;exports.useForm=gm;exports.useI18n=ht;exports.useLocalStore=mh;exports.useModal=lv;exports.usePolling=Mx;exports.useSearch=zv;exports.useTheme=Rx;exports.useToast=O7;exports.useValidateFieldValue=vh;exports.vDraggable=by;exports.vResize=tL;
331
+ `,e.appendChild(i))):i=e,i.addEventListener("mouseenter",()=>{i!==e&&(i.style.background="rgba(0, 0, 0, 0.2)")}),i.addEventListener("mouseleave",()=>{i!==e&&!a&&(i.style.background="rgba(0, 0, 0, 0.1)")}),i.style.cursor="ns-resize",i.style.userSelect="none";function s(m){return{clientY:m,deltaY:m-o,initialHeight:l}}function u(m){return r.gridSize?Math.round(m/r.gridSize)*r.gridSize:m}function c(m){if(!a)return;m.preventDefault();const h=s("touches"in m?m.touches[0].clientY:m.clientY);let d=l+h.deltaY;r.minHeight!==void 0&&(d=Math.max(d,r.minHeight)),r.maxHeight!==void 0&&(d=Math.min(d,r.maxHeight)),d=u(d),e.style.height=`${d}px`,r.onResize&&r.onResize(h),i!==e&&(i.style.background="rgba(0, 0, 0, 0.3)")}function f(m){if(!a)return;const h=s("touches"in m?m.changedTouches[0].clientY:m.clientY);a=!1,document.body.style.cursor="",document.body.style.userSelect="",i!==e&&(i.style.background="rgba(0, 0, 0, 0.1)"),r.onEnd&&r.onEnd(h),document.removeEventListener("mousemove",c),document.removeEventListener("mouseup",f),document.removeEventListener("touchmove",c),document.removeEventListener("touchend",f),document.removeEventListener("touchcancel",f)}function p(m){m instanceof MouseEvent&&m.button!==0||(m.preventDefault(),a=!0,o="touches"in m?m.touches[0].clientY:m.clientY,l=e.offsetHeight,r.onStart&&r.onStart(m),document.body.style.cursor="ns-resize",document.body.style.userSelect="none",document.addEventListener("mousemove",c,{passive:!1}),document.addEventListener("mouseup",f),document.addEventListener("touchmove",c,{passive:!1}),document.addEventListener("touchend",f),document.addEventListener("touchcancel",f))}i.addEventListener("mousedown",p),i.addEventListener("touchstart",p,{passive:!1}),e[Na]=()=>{i!==e&&e.removeChild(i),i.removeEventListener("mousedown",p),i.removeEventListener("touchstart",p),i.removeEventListener("mouseenter",p),i.removeEventListener("mouseleave",p),document.removeEventListener("mousemove",c),document.removeEventListener("mouseup",f),document.removeEventListener("touchmove",c),document.removeEventListener("touchend",f),document.removeEventListener("touchcancel",f)}}const tL={mounted(e,t){hp(e,t)},unmounted(e){const t=e[Na];typeof t=="function"&&(t(),delete e[Na])},updated(e,t){if(t.value!==t.oldValue){const r=e[Na];typeof r=="function"&&(r(),delete e[Na]),hp(e,t)}},getSSRProps(){return{}}},nL=!0;var ot=class{_type;_config;_condition;_validations;_onUpdate;_class;_slots;_component;constructor(e,t={}){this._type=e,this._config=t}if(e){return this._condition=e,this}validate(e){return this._validations||(this._validations=[]),this._validations.push(e),this}onUpdate(e){return this._onUpdate=e,this}class(e){return this._class=this._class?`${this._class} ${e}`:e,this}required(e){return this._config.required=!0,e&&(this._config.requiredMessage=e),this}slot(e,t,r){return this._slots||(this._slots=[]),typeof e!="string"||t!==void 0&&typeof t!="string"?this._slots.push({component:e,props:t}):this._slots.push({name:e,component:t,props:r}),this}};function wt(e,t){return typeof e=="string"?{...t,label:e}:e??{}}const pt={text(e,t){return new ot("text",wt(e,t))},email(e,t){return new ot("email",wt(e,t))},password(e,t){return new ot("password",wt(e,t))},number(e,t){return new ot("number",wt(e,t))},tel(e,t){return new ot("tel",wt(e,t))},url(e,t){return new ot("url",wt(e,t))},date(e,t){return new ot("date",wt(e,t))},time(e,t){return new ot("time",wt(e,t))},datetime(e,t){return new ot("datetime",wt(e,t))},textarea(e,t){return new ot("textarea",wt(e,t))},richtext(e,t){return new ot("richtext",wt(e,t))},json(e,t){const r=wt(e,t);return r.language||(r.language="json"),new ot("json",r)},checkbox(e,t){return new ot("checkbox",wt(e,t))},toggle(e,t){return new ot("toggle",wt(e,t))},radio(e,t,r){if(typeof e=="string"){const a=e,o=t;return new ot("radio",{...r,label:a,options:o})}return new ot("radio",{...wt(t,r),options:e})},select(e,t,r){if(typeof e=="string"){const a=e,o=t;return new ot("select",{...r,label:a,options:o})}return new ot("select",{...wt(t,r),options:e})},multiselect(e,t,r){if(typeof e=="string"){const a=e,o=t;return new ot("multiselect",{...r,label:a,options:o})}return new ot("multiselect",{...wt(t,r),options:e})},upload(e,t){return new ot("upload",wt(e,t))},array(e,t,r){if(typeof e=="string"){const o=e,l=t;return new ot("array",{...r??{},label:o,schema:l})}const a=e;return new ot("array",{...wt(t,r),schema:a})},component(e,t={}){const r=new ot("component",t);return r._component={component:e,props:t},r},display(e,t={}){const r=new ot("display",t);return r._component={component:e,props:t},r}};var pu=class av{_isSchema=!0;_label;_fields;_condition;_class;constructor(t,r){this._fields=t,this._label=r}if(t){return this._condition=t,this}class(t){return this._class=this._class?`${this._class} ${t}`:t,this}toJSONSchema(){const t={},r=[];for(const[l,i]of Object.entries(this._fields)){const s=i._config,u=av.getJSONSchemaType(i._type),c={type:u};s.label&&(c.title=s.label),s.helpText&&(c.description=s.helpText),s.default!==void 0&&(c.default=s.default),s.options&&(c.enum=s.options),s.min!==void 0&&(c[u==="string"?"minLength":"minimum"]=s.min),s.max!==void 0&&(c[u==="string"?"maxLength":"maximum"]=s.max),i._type==="email"&&(c.format="email"),i._type==="url"&&(c.format="uri"),i._type==="date"&&(c.format="date"),i._type==="time"&&(c.format="time"),i._type==="datetime"&&(c.format="date-time");const f={};i._type!=="text"&&(f.fieldType=i._type),s.placeholder&&(f.placeholder=s.placeholder),s.disabled&&(f.disabled=s.disabled),s.readonly&&(f.readonly=s.readonly),s.autoheight&&(f.autoheight=s.autoheight),s.rows&&(f.rows=s.rows),s.cols&&(f.cols=s.cols),i._class&&(f.class=i._class),i._condition&&(f.condition=i._condition),i._type==="array"&&(s.allowAdd!==void 0&&(f.allowAdd=s.allowAdd),s.allowDelete!==void 0&&(f.allowDelete=s.allowDelete)),i._component&&(f.component=typeof i._component.component=="string"?i._component.component:i._component.component.name||"CustomComponent",i._component.props&&(f.componentProps=i._component.props)),Object.keys(f).length>0&&(c["x-ui"]=f),t[l]=c,s.required===!0&&r.push(l)}const a={type:"object",properties:t};r.length>0&&(a.required=r),this._label&&(a.title=this._label);const o={};return this._condition&&(o.condition=this._condition),this._class&&(o.class=this._class),Object.keys(o).length>0&&(a["x-ui"]=o),a}static getJSONSchemaType(t){return{text:"string",email:"string",password:"string",number:"number",tel:"string",url:"string",date:"string",time:"string",datetime:"string",textarea:"string",richtext:"string",json:"object",checkbox:"boolean",toggle:"boolean",radio:"string",select:"string",multiselect:"array",array:"array"}[t]||"string"}};function rL(e,t){if(typeof e=="string"){if(!t)throw new Error("Fields are required when providing a label");return new pu(t,e)}return new pu(e)}function aL(e){return e}function oL(e){const t={},r=new Set(e.required||[]);if(e.properties)for(const[o,l]of Object.entries(e.properties))t[o]=sL(o,l,r.has(o),e);const a=new pu(t,e.title);return e["x-ui"]?.condition&&a.if(e["x-ui"].condition),e["x-ui"]?.class&&a.class(e["x-ui"].class),a}function lL(e,t){const r=e.match(/^#\/(\$defs|definitions)\/(.+)$/);if(!r)return;const[,a,o]=r,l=a==="$defs"?t.$defs:t.definitions;return o?l?.[o]:void 0}function iL(e,t){const r=e.anyOf||e.oneOf;if(!r||r.length===0)return e;const a=r.filter(i=>i.type!=="null");if(a.length===1){const i=a[0];return{...i,title:e.title||i.title,description:e.description||i.description,default:e.default!==void 0?e.default:i.default,"x-ui":{...i["x-ui"],...e["x-ui"]}}}const o=["object","array","string","number","integer","boolean"],l=a.sort((i,s)=>o.indexOf(i.type||"string")-o.indexOf(s.type||"string"))[0];return{...l,title:e.title||l.title,description:e.description||l.description,default:e.default!==void 0?e.default:l.default,"x-ui":{...l["x-ui"],...e["x-ui"]}}}function sL(e,t,r,a){let o=t;if(t.$ref){const c=lL(t.$ref,a);c&&(o={...c,type:t.type??c.type,enum:t.enum??c.enum,title:t.title??c.title,description:t.description??c.description,default:t.default!==void 0?t.default:c.default,"x-ui":{...c["x-ui"],...t["x-ui"]}})}(o.anyOf||o.oneOf)&&(o=iL(o,a));const l=o["x-ui"]||{},i=l.fieldType||uL(o),s={};o.title&&(s.label=o.title),o.description&&(s.helpText=o.description),o.default!==void 0&&(s.default=o.default),r&&(s.required=!0),l.placeholder&&(s.placeholder=l.placeholder),l.disabled&&(s.disabled=l.disabled),l.readonly&&(s.readonly=l.readonly),l.autoheight&&(s.autoheight=l.autoheight),l.rows&&(s.rows=l.rows),l.cols&&(s.cols=l.cols),o.minimum!==void 0&&(s.min=o.minimum),o.maximum!==void 0&&(s.max=o.maximum),o.minLength!==void 0&&(s.min=o.minLength),o.maxLength!==void 0&&(s.max=o.maxLength);let u;switch(i){case"email":u=pt.email(s);break;case"password":u=pt.password(s);break;case"number":u=pt.number(s);break;case"tel":u=pt.tel(s);break;case"url":u=pt.url(s);break;case"date":u=pt.date(s);break;case"time":u=pt.time(s);break;case"datetime":u=pt.datetime(s);break;case"textarea":u=pt.textarea(s);break;case"richtext":u=pt.richtext(s);break;case"json":u=pt.json(s);break;case"checkbox":u=pt.checkbox(s);break;case"toggle":u=pt.toggle(s);break;case"radio":u=pt.radio(o.enum||[],s);break;case"select":u=pt.select(o.enum||[],s);break;case"multiselect":u=pt.multiselect(o.enum||[],s);break;case"array":u=pt.array(o.title||e,void 0,{...s,allowAdd:l.allowAdd,allowDelete:l.allowDelete});break;case"display":u=pt.display(l.component||"div",l.componentProps||{});break;case"component":u=pt.component(l.component||"div",l.componentProps||{});break;default:u=pt.text(s)}return l.class&&u.class(l.class),l.condition&&u.if(l.condition),u}function uL(e){if(e.format)switch(e.format){case"email":return"email";case"uri":return"url";case"date":return"date";case"time":return"time";case"date-time":return"datetime"}if(e.enum)return"select";switch(e.type){case"boolean":return"checkbox";case"number":case"integer":return"number";case"array":return"array";case"object":return"json";default:return"text"}}var cL={class:"multi-step-form"},dL={class:"step-progress"},fL=["onClick"],pL={class:"step-number"},mL={class:"step-label"},hL={key:0},vL={key:0,class:"step-title"},gL={key:1,class:"validation-errors"},_L={class:"step-navigation"},yL=["disabled"],bL={class:"step-counter"},wL=(0,n.defineComponent)({__name:"MultiStepForm",props:{schema:{},modelValue:{},currentStep:{},components:{},validateOnNext:{type:Boolean,default:!0}},emits:["update:modelValue","update:currentStep","stepChange","complete","validationError"],setup(e,{expose:t,emit:r}){const a=e,o=r,{$t:l}=ht(),i=(0,n.ref)({...a.modelValue||{}}),s=(0,n.ref)(a.currentStep!=null&&a.currentStep!==""?a.currentStep:Object.keys(a.schema)[0]);let u=!1;(0,n.watch)(()=>a.modelValue,M=>{u||(i.value={...M||{}})},{deep:!0}),(0,n.watch)(i,M=>{u=!0,o("update:modelValue",M),setTimeout(()=>{u=!1},0)},{deep:!0}),(0,n.watch)(()=>a.currentStep,M=>{M!=null&&(s.value=M)}),(0,n.watch)(s,M=>{o("update:currentStep",M),o("stepChange",M)});function c(M,D){const C=D.split(".");let T=M;for(const B of C)T=T?.[B];return T}function f(M,D){if(!M)return!0;try{const C=Nu(M);if(C.length===0)return!0;let T=!0,B=null;for(let P=0;P<C.length;P++){const O=C[P],L=c(D,O.field),{op:I,value:Z,connector:se}=O;let U=!1;switch(I){case"eq":U=L===Z;break;case"ne":U=L!==Z;break;case"gt":U=Z!=null&&L>Z;break;case"ge":U=Z!=null&&L>=Z;break;case"lt":U=Z!=null&&L<Z;break;case"le":U=Z!=null&&L<=Z;break;case"co":U=Z!=null&&String(L).includes(String(Z));break;case"sw":U=Z!=null&&String(L).startsWith(String(Z));break;case"ew":U=Z!=null&&String(L).endsWith(String(Z));break;case"pr":U=L!=null;break;default:U=!1}P===0?(T=U,B=U):(se==="or"?T=(B??!1)||U:se==="and"&&(T=(B??!1)&&U),B=T)}return T}catch(C){return console.warn("Failed to evaluate condition:",M,C),!0}}function p(M){return M._condition==null?!0:f(M._condition,i.value)}const m=(0,n.computed)(()=>Object.entries(a.schema).filter(([,M])=>p(M)).map(([M,D])=>({key:M,schema:D}))),h=(0,n.computed)(()=>m.value.findIndex(M=>M.key===s.value)),d=(0,n.computed)(()=>h.value===0),g=(0,n.computed)(()=>h.value===m.value.length-1),y=(0,n.computed)(()=>m.value[h.value]?.schema),v=(0,n.ref)({});function _(M){return M._condition==null?!0:f(M._condition,i.value)}function b(M){const D=M.replace(/\[(\d+)\]/g,".$1");return c(i.value,D)}function k(M){return!!(M==null||typeof M=="string"&&M.trim()===""||Array.isArray(M)&&M.length===0)}function w(){if(!a.validateOnNext||y.value==null)return!0;const M={},D=y.value._fields;for(const[C,T]of Object.entries(D)){if(T._type==="display"||!_(T))continue;const B=b(C),P=T._config;if(P.required===!0&&k(B)){M[C]=`${typeof P.label=="string"?P.label:C} is required`;continue}if(T._validations&&!k(B))for(const O of T._validations){const L=O(B);if(L!==!0){M[C]=L;break}}}return v.value=M,Object.keys(M).length>0?(o("validationError",M),!1):!0}function S(M,D){return D._label!=null?D._label:M.split(/[._-]/).map(C=>C.charAt(0).toUpperCase()+C.slice(1)).join(" ")}function N(M){const D=m.value.findIndex(C=>C.key===M);if(D!==-1){if(D<h.value){s.value=M,v.value={};return}D>h.value&&!w()||(s.value=M)}}function V(){if(w())if(g.value)o("complete");else{const M=h.value+1;s.value=m.value[M].key,v.value={}}}function x(){if(!d.value){const M=h.value-1;s.value=m.value[M].key,v.value={}}}return t({validateCurrentStep:w,stepErrors:v}),(M,D)=>((0,n.openBlock)(),(0,n.createElementBlock)("div",cL,[(0,n.createElementVNode)("div",dL,[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(m.value,(C,T)=>((0,n.openBlock)(),(0,n.createElementBlock)("div",{key:C.key,class:(0,n.normalizeClass)(["step-indicator",{active:C.key===s.value,completed:T<h.value}]),onClick:B=>N(C.key)},[(0,n.createElementVNode)("div",pL,(0,n.toDisplayString)(T+1),1),(0,n.createElementVNode)("div",mL,(0,n.toDisplayString)(S(C.key,C.schema)),1)],10,fL))),128))]),y.value!=null?((0,n.openBlock)(),(0,n.createElementBlock)("div",hL,[y.value._label?((0,n.openBlock)(),(0,n.createElementBlock)("h2",vL,(0,n.toDisplayString)(y.value._label),1)):(0,n.createCommentVNode)("",!0),Object.keys(v.value).length>0?((0,n.openBlock)(),(0,n.createElementBlock)("div",gL,[(0,n.createElementVNode)("ul",null,[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(v.value,(C,T)=>((0,n.openBlock)(),(0,n.createElementBlock)("li",{key:T},(0,n.toDisplayString)(C),1))),128))])])):(0,n.createCommentVNode)("",!0),(0,n.renderSlot)(M.$slots,`step:${s.value}`,{schema:y.value,formData:i.value,stepKey:s.value,errors:v.value},()=>[(0,n.createVNode)(vc,{modelValue:i.value,"onUpdate:modelValue":D[0]||(D[0]=C=>i.value=C),schema:y.value,components:M.components,errors:v.value},(0,n.createSlots)({_:2},[(0,n.renderList)(M.$slots,(C,T)=>({name:T,fn:(0,n.withCtx)(B=>[(0,n.renderSlot)(M.$slots,T,(0,n.normalizeProps)((0,n.guardReactiveProps)(B)),void 0,!0)])}))]),1032,["modelValue","schema","components","errors"])],!0)])):(0,n.createCommentVNode)("",!0),(0,n.createElementVNode)("div",_L,[(0,n.createElementVNode)("button",{type:"button",class:"btn-secondary",disabled:d.value,onClick:x},(0,n.toDisplayString)((0,n.unref)(l)("multiStep.previous")),9,yL),(0,n.createElementVNode)("div",bL,(0,n.toDisplayString)((0,n.unref)(l)("multiStep.step",{current:h.value+1,total:m.value.length})),1),(0,n.createElementVNode)("button",{type:"button",class:"btn-primary",onClick:V},(0,n.toDisplayString)(g.value?(0,n.unref)(l)("multiStep.complete"):(0,n.unref)(l)("multiStep.next")),1)])]))}}),$L=Ce(wL,[["__scopeId","data-v-9f81a0df"]]),kL={key:0,class:"center"},EL={key:3},CL={class:"bgl-lightbox-item"},SL={key:2,class:"lightbox-pdf"},TL=["src","title"],NL={key:3,class:"lightbox-file"},DL={class:"file-info txt-white flex m_block align-items-start gap-025"},xL={class:"txt-start"},BL={class:"mx-0 light"},AL={class:"semi word-break-all"},VL={class:"mx-0"},ML={class:"semi"},LL=(0,n.defineComponent)({__name:"Lightbox",setup(e,{expose:t}){const{$t:r}=ht(),a=(0,n.ref)(!1),o=(0,n.ref)([]),l=(0,n.ref)(0),i=(0,n.computed)(()=>o.value[l.value]),s=(0,n.ref)(1),u=(0,n.computed)(()=>s.value===1),c=(0,n.computed)(()=>({allowTouchMove:s.value===1,touchRatio:s.value===1?1:0,simulateTouch:s.value===1}));function f(d,g){a.value=!0,o.value=g||[d],l.value=o.value.findIndex(y=>{const v=d.src!==void 0&&d.src!==null&&d.src!==""&&y.src===d.src,_=d.pathKey!==void 0&&d.pathKey!==null&&d.pathKey!==""&&y.pathKey===d.pathKey;return v||_}),l.value===-1&&(l.value=0),s.value=1,document.addEventListener("keydown",h)}function p(){a.value=!1,document.removeEventListener("keydown",h)}function m(d){l.value=d,s.value=1}(0,n.watch)(()=>a.value,d=>{d?document.body.style.overflow="hidden":document.body.style.overflow=""}),(0,n.watch)(()=>l.value,()=>{s.value=1});function h(d){d.key==="Escape"&&p()}return t({open:f,close:p}),(d,g)=>((0,n.openBlock)(),(0,n.createBlock)(n.Transition,{name:"fade"},{default:(0,n.withCtx)(()=>[a.value?((0,n.openBlock)(),(0,n.createElementBlock)("div",{key:0,class:"bgl-lightbox-overlay",onKeydown:(0,n.withKeys)(p,["esc"])},[(0,n.createElementVNode)("div",{class:"flex start w-100 space-between p-025 z-9",onClick:p},[(0,n.createVNode)((0,n.unref)(Q),{flat:"",class:"color-white",icon:"close",onClick:p}),i.value?.enableZoom&&i.value?.type==="image"?((0,n.openBlock)(),(0,n.createElementBlock)("div",kL,[(0,n.createVNode)((0,n.unref)(Q),{flat:"",class:"color-white",icon:"remove",disabled:s.value===1,onClick:g[0]||(g[0]=y=>s.value--)},null,8,["disabled"]),(0,n.createVNode)((0,n.unref)(Q),{flat:"",class:"color-white",icon:"zoom_in",disabled:s.value===1,onClick:g[1]||(g[1]=y=>s.value=1)},null,8,["disabled"]),(0,n.createVNode)((0,n.unref)(Q),{flat:"",class:"color-white",icon:"add",disabled:s.value===3,onClick:g[2]||(g[2]=y=>s.value++)},null,8,["disabled"])])):(0,n.createCommentVNode)("",!0),i.value?.openFile&&i.value?.src?((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(Q),{key:1,class:"color-white",round:"",thin:"",flat:"",iconEnd:"arrow_outward",value:"$t:lightbox.openFile",href:i.value?.src,target:"_blank"},null,8,["href"])):(0,n.createCommentVNode)("",!0),i.value?.download&&i.value?.src?((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(Q),{key:2,class:"color-white",round:"",thin:"",flat:"",icon:"download",value:"Download File",onClick:g[3]||(g[3]=y=>(0,n.unref)(xu)(i.value?.src))})):(0,n.createCommentVNode)("",!0),!i.value?.openFile&&!i.value?.download?((0,n.openBlock)(),(0,n.createElementBlock)("div",EL)):(0,n.createCommentVNode)("",!0)]),o.value&&o.value.length>0?((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(ch),{key:0,index:l.value,"onUpdate:index":g[6]||(g[6]=y=>l.value=y),items:o.value,"initial-slide":l.value,class:(0,n.normalizeClass)(["bgl-lightbox-swiper",{zoomed:s.value>1}]),navigation:o.value.length>1,"grab-cursor":u.value,keyboard:!0,loop:!1,speed:400,"slides-per-view":1,"space-between":0,effect:"slide","advanced-options":c.value,onClick:g[7]||(g[7]=(0,n.withModifiers)(()=>{},["stop"]))},{default:(0,n.withCtx)(({item:y})=>[(0,n.createElementVNode)("div",CL,[y.type==="image"?((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(fh),{key:0,zoom:s.value,"onUpdate:zoom":g[4]||(g[4]=v=>s.value=v),disabled:!y?.enableZoom,"mouse-wheel-to-zoom":!1,"double-click-to-zoom":!0,"max-scale":5,"min-scale":1,"aspect-ratio":0,"limit-translation":!0,onClick:g[5]||(g[5]=(0,n.withModifiers)(()=>{},["stop"]))},{default:(0,n.withCtx)(()=>[(0,n.createVNode)((0,n.unref)(Xa),{draggable:!1,src:y?.src,alt:"Preview",class:"lightbox-image"},null,8,["src"])]),_:2},1032,["zoom","disabled"])):y?.type==="video"&&y?.src?((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(yu),{key:1,src:y?.src,autoplay:"",controls:"",class:"lightbox-video"},null,8,["src"])):y?.type==="pdf"&&y?.src?((0,n.openBlock)(),(0,n.createElementBlock)("div",SL,[(0,n.createElementVNode)("embed",{src:(0,n.unref)(Du)(y?.src),type:"application/pdf",width:"100%",height:"1080",title:y?.name},null,8,TL)])):((0,n.openBlock)(),(0,n.createElementBlock)("div",NL,[(0,n.createElementVNode)("div",DL,[(0,n.createVNode)((0,n.unref)(Ee),{class:"m-0 m_none",icon:"draft",size:10,weight:"12"}),(0,n.createVNode)((0,n.unref)(Ee),{class:"m-0 none m_block m_-mb-1",icon:"draft",size:4,weight:"2"}),(0,n.createElementVNode)("div",xL,[(0,n.createElementVNode)("p",BL,[g[9]||(g[9]=(0,n.createTextVNode)(" File: ")),(0,n.createElementVNode)("span",AL,(0,n.toDisplayString)(y?.name),1)]),(0,n.createElementVNode)("p",VL,[g[10]||(g[10]=(0,n.createTextVNode)(" Type: ")),(0,n.createElementVNode)("span",ML,(0,n.toDisplayString)(y?.type),1)]),(0,n.createVNode)((0,n.unref)(Q),{href:y?.src,target:"_blank",round:"",thin:"",class:"mt-1",value:"Open file"},null,8,["href"])])])]))])]),"prev-button":(0,n.withCtx)(({prev:y})=>[(0,n.createVNode)((0,n.unref)(Q),{icon:"arrow_back",color:"black",onClick:y},null,8,["onClick"])]),"next-button":(0,n.withCtx)(({next:y})=>[(0,n.createVNode)((0,n.unref)(Q),{icon:"arrow_forward",color:"black",onClick:y},null,8,["onClick"])]),_:1},8,["index","items","initial-slide","class","navigation","grab-cursor","advanced-options"])):(0,n.createCommentVNode)("",!0),o.value&&o.value.length>1?((0,n.openBlock)(),(0,n.createElementBlock)("div",{key:1,class:"lightbox-thumbnails",onClick:g[8]||(g[8]=(0,n.withModifiers)(()=>{},["stop"]))},[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(o.value,(y,v)=>((0,n.openBlock)(),(0,n.createElementBlock)(n.Fragment,{key:v},[y.type==="image"?((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(Xa),{key:0,class:(0,n.normalizeClass)(["thumbnail",{active:l.value===v}]),src:y.src,alt:"",onClick:(0,n.withModifiers)(_=>m(v),["stop"])},null,8,["src","class","onClick"])):((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(Ee),{key:1,class:(0,n.normalizeClass)(["thumbnail thumbnail-icon",{active:l.value===v}]),icon:"description",onClick:(0,n.withModifiers)(_=>m(v),["stop"])},null,8,["class","onClick"]))],64))),128))])):(0,n.createCommentVNode)("",!0)],32)):(0,n.createCommentVNode)("",!0)]),_:1}))}}),PL=LL,Da={},Fr=e=>{},IL={mounted(e,t){vp(mu(t,e)),Fr=r=>{gp(r,e,t)},e.addEventListener("click",Fr)},updated(e,t){vp(mu(t,e)),e.removeEventListener("click",Fr),Fr=r=>{gp(r,e,t)},e.addEventListener("click",Fr)},unmounted(e){e.removeEventListener("click",Fr)},getSSRProps(){return{}}};function vp(e){e.group&&(Da[e.group]||(Da[e.group]=[]),Da[e.group].findIndex(t=>t.src===e.src)===-1&&Da[e.group].push(e))}function gp(e,t,r){e.stopPropagation();const a=mu(r,t),o=UL();if(!o||!o.open)return;const l=o.open;l(a,a&&a.group?Da[a.group]:void 0)}function mu(e,t){let{group:r,src:a,type:o,name:l,thumbnail:i,enableZoom:s,openFile:u,download:c,pathKey:f}=e.value||{};return a=Un(a||f)||e.value||t.getAttribute("src")||"",o=o||zL(a),l=l||FL(a)||t.getAttribute("alt")||"",{src:a,type:o,name:l,thumbnail:i,group:r,enableZoom:s,openFile:u,download:c}}var OL=/youtube\.com|youtu\.be/,RL=/vimeo\.com/;function FL(e){return!e||typeof e!="string"?"":(e.split("/").pop()||"").replace(/\.[^/.]+$/,"")}function zL(e){if(typeof e!="string"||!e)return"unknown";const t=(e.split(".").pop()||"").toLowerCase(),r=e.split("?")[0].split(".").pop()?.toLowerCase()||"";return cl.test(t)||cl.test(r)?"image":Vm.test(t)||OL.test(e)||RL.test(e)?"video":["pdf"].includes(t)?"pdf":t??"unknown"}var us;function UL(){if(!(typeof document>"u")){if(!us){const e=document.createElement("div");document.body.prepend(e),us=(0,n.createApp)(PL).mount(e)}return us}}var HL={install(e){e.directive("lightbox",IL)}},jL=HL,WL={beforeMount(e,t){e.clickOutsideEvent=r=>{e===r.target||e.contains(r.target)||t.value(r)},document.addEventListener("click",e.clickOutsideEvent)},unmounted(e){document.removeEventListener("click",e.clickOutsideEvent)}};const ov=Symbol("modal");var Dl=null;function lv(){const e=(0,n.inject)(ov,null);if(!e){if(Dl)return Dl;throw new Error("Modal API not provided. Make sure ModalPlugin is installed via app.use(ModalPlugin)")}return e}const iv={install:e=>{const r=(0,n.reactive)([]),a=c=>{c===void 0||c>=r.length-1?r.splice(r.length-1,1):r.splice(c,1)},o=()=>{r.splice(0,r.length)},l=c=>new Promise(f=>{const p=typeof c=="string"?{title:"",message:c}:c;r.push({modalOptions:(0,n.reactive)({...p,resolve:f}),modalType:"confirmModal",componentSlots:{}})}),i=(c,f,p={})=>{const m=(0,n.reactive)(f);"visible"in m||(m.visible=!0);const h={modalOptions:m,modalType:c,componentSlots:p};return r.push(h),h},s={showModal:(c,f)=>i("modal",c,f),showModalForm:(c,f)=>i("modalForm",c,f),confirmModal:c=>l(c),hideModal:a,hideAllModals:o};Dl||(Dl=s),e.provide(ov,s);const u=(0,n.defineComponent)({name:"ModalContainer",setup(){return{modalStack:r,handleEscape:f=>{f.key==="Escape"&&r.length>0&&r[r.length-1].modalOptions.dismissable!==!1&&a()}}},mounted(){document.addEventListener("keydown",this.handleEscape)},unmounted(){document.removeEventListener("keydown",this.handleEscape)},render(){return this.modalStack.map((c,f)=>{const p=1e3+f*10;if(!c||!c.modalOptions)return console.error("[BageLink Modal] Invalid modal in stack:",c),null;const m={...c.modalOptions,visible:!0,zIndex:p,"onUpdate:visible":()=>{a(f)}};switch(c.modalType){case"modalForm":return c.modalOptions.schema?(0,n.h)(G0,m,c.componentSlots):(console.error("[BageLink Modal] ModalForm requires a schema",c.modalOptions),null);case"confirmModal":return(0,n.h)(W0,m,{});default:return(0,n.h)(Zt,m,c.componentSlots)}})}});if(e.component("ModalContainer",u),typeof document<"u"&&typeof window<"u"){const c=()=>{if(!document.getElementById("bagelink-modal-root")){const f=document.createElement("div");f.id="bagelink-modal-root",document.body.appendChild(f);const p=(0,n.createApp)(u);p._context=e._context,p.mount(f)}};document.body&&c(),e.mixin({mounted(){this.$root===this&&c()}})}}};var sv=vu({EventBus:()=>vi,POSITION:()=>oo,TYPE:()=>Ft,createToastInterface:()=>lo,default:()=>Cv,globalEventBus:()=>yc,provideToast:()=>A7,toastInjectionKey:()=>gi,useToast:()=>Ev},1),GL=Object.defineProperty,_p=Object.getOwnPropertySymbols,qL=Object.prototype.hasOwnProperty,YL=Object.prototype.propertyIsEnumerable,yp=(e,t,r)=>t in e?GL(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,uv=(e,t)=>{for(var r in t||(t={}))qL.call(t,r)&&yp(e,r,t[r]);if(_p)for(var r of _p(t))YL.call(t,r)&&yp(e,r,t[r]);return e},mi=e=>typeof e=="function",hi=e=>typeof e=="string",cv=e=>hi(e)&&e.trim().length>0,XL=e=>typeof e=="number",Er=e=>typeof e>"u",ao=e=>typeof e=="object"&&e!==null,KL=e=>Mn(e,"tag")&&cv(e.tag),dv=e=>window.TouchEvent&&e instanceof TouchEvent,fv=e=>Mn(e,"component")&&pv(e.component),JL=e=>mi(e)||ao(e),pv=e=>!Er(e)&&(hi(e)||JL(e)||fv(e)),bp=e=>ao(e)&&["height","width","right","left","top","bottom"].every(t=>XL(e[t])),Mn=(e,t)=>(ao(e)||mi(e))&&t in e,ZL=(e=>()=>e++)(0);function cs(e){return dv(e)?e.targetTouches[0].clientX:e.clientX}function wp(e){return dv(e)?e.targetTouches[0].clientY:e.clientY}var QL=e=>{Er(e.remove)?e.parentNode&&e.parentNode.removeChild(e):e.remove()},_o=e=>fv(e)?_o(e.component):KL(e)?(0,n.defineComponent)({render(){return e}}):typeof e=="string"?e:(0,n.toRaw)((0,n.unref)(e)),e7=e=>{if(typeof e=="string")return e;const t=Mn(e,"props")&&ao(e.props)?e.props:{},r=Mn(e,"listeners")&&ao(e.listeners)?e.listeners:{};return{component:_o(e),props:t,listeners:r}},t7=()=>typeof window<"u",vi=class{constructor(){this.allHandlers={}}getHandlers(e){return this.allHandlers[e]||[]}on(e,t){const r=this.getHandlers(e);r.push(t),this.allHandlers[e]=r}off(e,t){const r=this.getHandlers(e);r.splice(r.indexOf(t)>>>0,1)}emit(e,t){this.getHandlers(e).forEach(r=>r(t))}},n7=e=>["on","off","emit"].every(t=>Mn(e,t)&&mi(e[t])),Ft;(function(e){e.SUCCESS="success",e.ERROR="error",e.WARNING="warning",e.INFO="info",e.DEFAULT="default"})(Ft||(Ft={}));var oo;(function(e){e.TOP_LEFT="top-left",e.TOP_CENTER="top-center",e.TOP_RIGHT="top-right",e.BOTTOM_LEFT="bottom-left",e.BOTTOM_CENTER="bottom-center",e.BOTTOM_RIGHT="bottom-right"})(oo||(oo={}));var Qt;(function(e){e.ADD="add",e.DISMISS="dismiss",e.UPDATE="update",e.CLEAR="clear",e.UPDATE_DEFAULTS="update_defaults"})(Qt||(Qt={}));var mn="Vue-Toastification",cn={type:{type:String,default:Ft.DEFAULT},classNames:{type:[String,Array],default:()=>[]},trueBoolean:{type:Boolean,default:!0}},$p={type:cn.type,customIcon:{type:[String,Boolean,Object,Function],default:!0}},Oo={component:{type:[String,Object,Function,Boolean],default:"button"},classNames:cn.classNames,showOnHover:{type:Boolean,default:!1},ariaLabel:{type:String,default:"close"}},ds={timeout:{type:[Number,Boolean],default:5e3},hideProgressBar:{type:Boolean,default:!1},isRunning:{type:Boolean,default:!1}},kp={transition:{type:[Object,String],default:`${mn}__bounce`}},Yn={CORE_TOAST:{position:{type:String,default:oo.TOP_RIGHT},draggable:cn.trueBoolean,draggablePercent:{type:Number,default:.6},pauseOnFocusLoss:cn.trueBoolean,pauseOnHover:cn.trueBoolean,closeOnClick:cn.trueBoolean,timeout:ds.timeout,hideProgressBar:ds.hideProgressBar,toastClassName:cn.classNames,bodyClassName:cn.classNames,icon:$p.customIcon,closeButton:Oo.component,closeButtonClassName:Oo.classNames,showCloseButtonOnHover:Oo.showOnHover,accessibility:{type:Object,default:()=>({toastRole:"alert",closeButtonLabel:"close"})},rtl:{type:Boolean,default:!1},eventBus:{type:Object,required:!1,default:()=>new vi}},TOAST:{id:{type:[String,Number],required:!0,default:0},type:cn.type,content:{type:[String,Object,Function],required:!0,default:""},onClick:{type:Function,default:void 0},onClose:{type:Function,default:void 0}},CONTAINER:{container:{type:[Object,Function],default:()=>document.body},newestOnTop:cn.trueBoolean,maxToasts:{type:Number,default:20},transition:kp.transition,toastDefaults:Object,filterBeforeCreate:{type:Function,default:e=>e},filterToasts:{type:Function,default:e=>e},containerClassName:cn.classNames,onMounted:Function,shareAppContext:[Boolean,Object]},PROGRESS_BAR:ds,ICON:$p,TRANSITION:kp,CLOSE_BUTTON:Oo},mv=(0,n.defineComponent)({name:"VtProgressBar",props:Yn.PROGRESS_BAR,data(){return{hasClass:!0}},computed:{style(){return{animationDuration:`${this.timeout}ms`,animationPlayState:this.isRunning?"running":"paused",opacity:this.hideProgressBar?0:1}},cpClass(){return this.hasClass?`${mn}__progress-bar`:""}},watch:{timeout(){this.hasClass=!1,this.$nextTick(()=>this.hasClass=!0)}},mounted(){this.$el.addEventListener("animationend",this.animationEnded)},beforeUnmount(){this.$el.removeEventListener("animationend",this.animationEnded)},methods:{animationEnded(){this.$emit("close-toast")}}});function r7(e,t){return(0,n.openBlock)(),(0,n.createElementBlock)("div",{style:(0,n.normalizeStyle)(e.style),class:(0,n.normalizeClass)(e.cpClass)},null,6)}mv.render=r7;var a7=mv,hv=(0,n.defineComponent)({name:"VtCloseButton",props:Yn.CLOSE_BUTTON,computed:{buttonComponent(){return this.component!==!1?_o(this.component):"button"},classes(){const e=[`${mn}__close-button`];return this.showOnHover&&e.push("show-on-hover"),e.concat(this.classNames)}}}),o7=(0,n.createTextVNode)(" × ");function l7(e,t){return(0,n.openBlock)(),(0,n.createBlock)((0,n.resolveDynamicComponent)(e.buttonComponent),(0,n.mergeProps)({"aria-label":e.ariaLabel,class:e.classes},e.$attrs),{default:(0,n.withCtx)(()=>[o7]),_:1},16,["aria-label","class"])}hv.render=l7;var i7=hv,vv={},s7={"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"check-circle",class:"svg-inline--fa fa-check-circle fa-w-16",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},u7=[(0,n.createElementVNode)("path",{fill:"currentColor",d:"M504 256c0 136.967-111.033 248-248 248S8 392.967 8 256 119.033 8 256 8s248 111.033 248 248zM227.314 387.314l184-184c6.248-6.248 6.248-16.379 0-22.627l-22.627-22.627c-6.248-6.249-16.379-6.249-22.628 0L216 308.118l-70.059-70.059c-6.248-6.248-16.379-6.248-22.628 0l-22.627 22.627c-6.248 6.248-6.248 16.379 0 22.627l104 104c6.249 6.249 16.379 6.249 22.628.001z"},null,-1)];function c7(e,t){return(0,n.openBlock)(),(0,n.createElementBlock)("svg",s7,u7)}vv.render=c7;var d7=vv,gv={},f7={"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"info-circle",class:"svg-inline--fa fa-info-circle fa-w-16",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},p7=[(0,n.createElementVNode)("path",{fill:"currentColor",d:"M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 110c23.196 0 42 18.804 42 42s-18.804 42-42 42-42-18.804-42-42 18.804-42 42-42zm56 254c0 6.627-5.373 12-12 12h-88c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h12v-64h-12c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h64c6.627 0 12 5.373 12 12v100h12c6.627 0 12 5.373 12 12v24z"},null,-1)];function m7(e,t){return(0,n.openBlock)(),(0,n.createElementBlock)("svg",f7,p7)}gv.render=m7;var Ep=gv,_v={},h7={"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"exclamation-circle",class:"svg-inline--fa fa-exclamation-circle fa-w-16",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},v7=[(0,n.createElementVNode)("path",{fill:"currentColor",d:"M504 256c0 136.997-111.043 248-248 248S8 392.997 8 256C8 119.083 119.043 8 256 8s248 111.083 248 248zm-248 50c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z"},null,-1)];function g7(e,t){return(0,n.openBlock)(),(0,n.createElementBlock)("svg",h7,v7)}_v.render=g7;var _7=_v,yv={},y7={"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"exclamation-triangle",class:"svg-inline--fa fa-exclamation-triangle fa-w-18",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512"},b7=[(0,n.createElementVNode)("path",{fill:"currentColor",d:"M569.517 440.013C587.975 472.007 564.806 512 527.94 512H48.054c-36.937 0-59.999-40.055-41.577-71.987L246.423 23.985c18.467-32.009 64.72-31.951 83.154 0l239.94 416.028zM288 354c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z"},null,-1)];function w7(e,t){return(0,n.openBlock)(),(0,n.createElementBlock)("svg",y7,b7)}yv.render=w7;var $7=yv,bv=(0,n.defineComponent)({name:"VtIcon",props:Yn.ICON,computed:{customIconChildren(){return Mn(this.customIcon,"iconChildren")?this.trimValue(this.customIcon.iconChildren):""},customIconClass(){return hi(this.customIcon)?this.trimValue(this.customIcon):Mn(this.customIcon,"iconClass")?this.trimValue(this.customIcon.iconClass):""},customIconTag(){return Mn(this.customIcon,"iconTag")?this.trimValue(this.customIcon.iconTag,"i"):"i"},hasCustomIcon(){return this.customIconClass.length>0},component(){return this.hasCustomIcon?this.customIconTag:pv(this.customIcon)?_o(this.customIcon):this.iconTypeComponent},iconTypeComponent(){return{[Ft.DEFAULT]:Ep,[Ft.INFO]:Ep,[Ft.SUCCESS]:d7,[Ft.ERROR]:$7,[Ft.WARNING]:_7}[this.type]},iconClasses(){const e=[`${mn}__icon`];return this.hasCustomIcon?e.concat(this.customIconClass):e}},methods:{trimValue(e,t=""){return cv(e)?e.trim():t}}});function k7(e,t){return(0,n.openBlock)(),(0,n.createBlock)((0,n.resolveDynamicComponent)(e.component),{class:(0,n.normalizeClass)(e.iconClasses)},{default:(0,n.withCtx)(()=>[(0,n.createTextVNode)((0,n.toDisplayString)(e.customIconChildren),1)]),_:1},8,["class"])}bv.render=k7;var wv=(0,n.defineComponent)({name:"VtToast",components:{ProgressBar:a7,CloseButton:i7,Icon:bv},inheritAttrs:!1,props:Object.assign({},Yn.CORE_TOAST,Yn.TOAST),data(){return{isRunning:!0,disableTransitions:!1,beingDragged:!1,dragStart:0,dragPos:{x:0,y:0},dragRect:{}}},computed:{classes(){const e=[`${mn}__toast`,`${mn}__toast--${this.type}`,`${this.position}`].concat(this.toastClassName);return this.disableTransitions&&e.push("disable-transition"),this.rtl&&e.push(`${mn}__toast--rtl`),e},bodyClasses(){return[`${mn}__toast-${hi(this.content)?"body":"component-body"}`].concat(this.bodyClassName)},draggableStyle(){return this.dragStart===this.dragPos.x?{}:this.beingDragged?{transform:`translateX(${this.dragDelta}px)`,opacity:1-Math.abs(this.dragDelta/this.removalDistance)}:{transition:"transform 0.2s, opacity 0.2s",transform:"translateX(0)",opacity:1}},dragDelta(){return this.beingDragged?this.dragPos.x-this.dragStart:0},removalDistance(){return bp(this.dragRect)?(this.dragRect.right-this.dragRect.left)*this.draggablePercent:0}},mounted(){this.draggable&&this.draggableSetup(),this.pauseOnFocusLoss&&this.focusSetup()},beforeUnmount(){this.draggable&&this.draggableCleanup(),this.pauseOnFocusLoss&&this.focusCleanup()},methods:{hasProp:Mn,getVueComponentFromObj:_o,closeToast(){this.eventBus.emit(Qt.DISMISS,this.id)},clickHandler(){this.onClick&&this.onClick(this.closeToast),this.closeOnClick&&(!this.beingDragged||this.dragStart===this.dragPos.x)&&this.closeToast()},timeoutHandler(){this.closeToast()},hoverPause(){this.pauseOnHover&&(this.isRunning=!1)},hoverPlay(){this.pauseOnHover&&(this.isRunning=!0)},focusPause(){this.isRunning=!1},focusPlay(){this.isRunning=!0},focusSetup(){addEventListener("blur",this.focusPause),addEventListener("focus",this.focusPlay)},focusCleanup(){removeEventListener("blur",this.focusPause),removeEventListener("focus",this.focusPlay)},draggableSetup(){const e=this.$el;e.addEventListener("touchstart",this.onDragStart,{passive:!0}),e.addEventListener("mousedown",this.onDragStart),addEventListener("touchmove",this.onDragMove,{passive:!1}),addEventListener("mousemove",this.onDragMove),addEventListener("touchend",this.onDragEnd),addEventListener("mouseup",this.onDragEnd)},draggableCleanup(){const e=this.$el;e.removeEventListener("touchstart",this.onDragStart),e.removeEventListener("mousedown",this.onDragStart),removeEventListener("touchmove",this.onDragMove),removeEventListener("mousemove",this.onDragMove),removeEventListener("touchend",this.onDragEnd),removeEventListener("mouseup",this.onDragEnd)},onDragStart(e){this.beingDragged=!0,this.dragPos={x:cs(e),y:wp(e)},this.dragStart=cs(e),this.dragRect=this.$el.getBoundingClientRect()},onDragMove(e){this.beingDragged&&(e.preventDefault(),this.isRunning&&(this.isRunning=!1),this.dragPos={x:cs(e),y:wp(e)})},onDragEnd(){this.beingDragged&&(Math.abs(this.dragDelta)>=this.removalDistance?(this.disableTransitions=!0,this.$nextTick(()=>this.closeToast())):setTimeout(()=>{this.beingDragged=!1,bp(this.dragRect)&&this.pauseOnHover&&this.dragRect.bottom>=this.dragPos.y&&this.dragPos.y>=this.dragRect.top&&this.dragRect.left<=this.dragPos.x&&this.dragPos.x<=this.dragRect.right?this.isRunning=!1:this.isRunning=!0}))}}}),E7=["role"];function C7(e,t){const r=(0,n.resolveComponent)("Icon"),a=(0,n.resolveComponent)("CloseButton"),o=(0,n.resolveComponent)("ProgressBar");return(0,n.openBlock)(),(0,n.createElementBlock)("div",{class:(0,n.normalizeClass)(e.classes),style:(0,n.normalizeStyle)(e.draggableStyle),onClick:t[0]||(t[0]=(...l)=>e.clickHandler&&e.clickHandler(...l)),onMouseenter:t[1]||(t[1]=(...l)=>e.hoverPause&&e.hoverPause(...l)),onMouseleave:t[2]||(t[2]=(...l)=>e.hoverPlay&&e.hoverPlay(...l))},[e.icon?((0,n.openBlock)(),(0,n.createBlock)(r,{key:0,"custom-icon":e.icon,type:e.type},null,8,["custom-icon","type"])):(0,n.createCommentVNode)("v-if",!0),(0,n.createElementVNode)("div",{role:e.accessibility.toastRole||"alert",class:(0,n.normalizeClass)(e.bodyClasses)},[typeof e.content=="string"?((0,n.openBlock)(),(0,n.createElementBlock)(n.Fragment,{key:0},[(0,n.createTextVNode)((0,n.toDisplayString)(e.content),1)],2112)):((0,n.openBlock)(),(0,n.createBlock)((0,n.resolveDynamicComponent)(e.getVueComponentFromObj(e.content)),(0,n.mergeProps)({key:1,"toast-id":e.id},e.hasProp(e.content,"props")?e.content.props:{},(0,n.toHandlers)(e.hasProp(e.content,"listeners")?e.content.listeners:{}),{onCloseToast:e.closeToast}),null,16,["toast-id","onCloseToast"]))],10,E7),e.closeButton?((0,n.openBlock)(),(0,n.createBlock)(a,{key:1,component:e.closeButton,"class-names":e.closeButtonClassName,"show-on-hover":e.showCloseButtonOnHover,"aria-label":e.accessibility.closeButtonLabel,onClick:(0,n.withModifiers)(e.closeToast,["stop"])},null,8,["component","class-names","show-on-hover","aria-label","onClick"])):(0,n.createCommentVNode)("v-if",!0),e.timeout?((0,n.openBlock)(),(0,n.createBlock)(o,{key:2,"is-running":e.isRunning,"hide-progress-bar":e.hideProgressBar,timeout:e.timeout,onCloseToast:e.timeoutHandler},null,8,["is-running","hide-progress-bar","timeout","onCloseToast"])):(0,n.createCommentVNode)("v-if",!0)],38)}wv.render=C7;var S7=wv,$v=(0,n.defineComponent)({name:"VtTransition",props:Yn.TRANSITION,emits:["leave"],methods:{hasProp:Mn,leave(e){e instanceof HTMLElement&&(e.style.left=e.offsetLeft+"px",e.style.top=e.offsetTop+"px",e.style.width=getComputedStyle(e).width,e.style.position="absolute")}}});function T7(e,t){return(0,n.openBlock)(),(0,n.createBlock)(n.TransitionGroup,{tag:"div","enter-active-class":e.transition.enter?e.transition.enter:`${e.transition}-enter-active`,"move-class":e.transition.move?e.transition.move:`${e.transition}-move`,"leave-active-class":e.transition.leave?e.transition.leave:`${e.transition}-leave-active`,onLeave:e.leave},{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(e.$slots,"default")]),_:3},8,["enter-active-class","move-class","leave-active-class","onLeave"])}$v.render=T7;var kv=(0,n.defineComponent)({name:"VueToastification",devtools:{hide:!0},components:{Toast:S7,VtTransition:$v},props:Object.assign({},Yn.CORE_TOAST,Yn.CONTAINER,Yn.TRANSITION),data(){return{count:0,positions:Object.values(oo),toasts:{},defaults:{}}},computed:{toastArray(){return Object.values(this.toasts)},filteredToasts(){return this.defaults.filterToasts(this.toastArray)}},beforeMount(){const e=this.eventBus;e.on(Qt.ADD,this.addToast),e.on(Qt.CLEAR,this.clearToasts),e.on(Qt.DISMISS,this.dismissToast),e.on(Qt.UPDATE,this.updateToast),e.on(Qt.UPDATE_DEFAULTS,this.updateDefaults),this.defaults=this.$props},mounted(){this.setup(this.container)},methods:{async setup(e){mi(e)&&(e=await e()),QL(this.$el),e.appendChild(this.$el)},setToast(e){Er(e.id)||(this.toasts[e.id]=e)},addToast(e){e.content=e7(e.content);const t=Object.assign({},this.defaults,e.type&&this.defaults.toastDefaults&&this.defaults.toastDefaults[e.type],e),r=this.defaults.filterBeforeCreate(t,this.toastArray);r&&this.setToast(r)},dismissToast(e){const t=this.toasts[e];!Er(t)&&!Er(t.onClose)&&t.onClose(),delete this.toasts[e]},clearToasts(){Object.keys(this.toasts).forEach(e=>{this.dismissToast(e)})},getPositionToasts(e){const t=this.filteredToasts.filter(r=>r.position===e).slice(0,this.defaults.maxToasts);return this.defaults.newestOnTop?t.reverse():t},updateDefaults(e){Er(e.container)||this.setup(e.container),this.defaults=Object.assign({},this.defaults,e)},updateToast({id:e,options:t,create:r}){this.toasts[e]?(t.timeout&&t.timeout===this.toasts[e].timeout&&t.timeout++,this.setToast(Object.assign({},this.toasts[e],t))):r&&this.addToast(Object.assign({},{id:e},t))},getClasses(e){return[`${mn}__container`,e].concat(this.defaults.containerClassName)}}});function N7(e,t){const r=(0,n.resolveComponent)("Toast"),a=(0,n.resolveComponent)("VtTransition");return(0,n.openBlock)(),(0,n.createElementBlock)("div",null,[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(e.positions,o=>((0,n.openBlock)(),(0,n.createElementBlock)("div",{key:o},[(0,n.createVNode)(a,{transition:e.defaults.transition,class:(0,n.normalizeClass)(e.getClasses(o))},{default:(0,n.withCtx)(()=>[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(e.getPositionToasts(o),l=>((0,n.openBlock)(),(0,n.createBlock)(r,(0,n.mergeProps)({key:l.id},l),null,16))),128))]),_:2},1032,["transition","class"])]))),128))])}kv.render=N7;var D7=kv,Cp=(e={},t=!0)=>{const r=e.eventBus=e.eventBus||new vi;t&&(0,n.nextTick)(()=>{const l=(0,n.createApp)(D7,uv({},e)),i=l.mount(document.createElement("div")),s=e.onMounted;if(Er(s)||s(i,l),e.shareAppContext){const u=e.shareAppContext;u===!0?console.warn(`[${mn}] App to share context with was not provided.`):(l._context.components=u._context.components,l._context.directives=u._context.directives,l._context.mixins=u._context.mixins,l._context.provides=u._context.provides,l.config.globalProperties=u.config.globalProperties)}});const a=(l,i)=>{const s=Object.assign({},{id:ZL(),type:Ft.DEFAULT},i,{content:l});return r.emit(Qt.ADD,s),s.id};a.clear=()=>r.emit(Qt.CLEAR,void 0),a.updateDefaults=l=>{r.emit(Qt.UPDATE_DEFAULTS,l)},a.dismiss=l=>{r.emit(Qt.DISMISS,l)};function o(l,{content:i,options:s},u=!1){const c=Object.assign({},s,{content:i});r.emit(Qt.UPDATE,{id:l,options:c,create:u})}return a.update=o,a.success=(l,i)=>a(l,Object.assign({},i,{type:Ft.SUCCESS})),a.info=(l,i)=>a(l,Object.assign({},i,{type:Ft.INFO})),a.error=(l,i)=>a(l,Object.assign({},i,{type:Ft.ERROR})),a.warning=(l,i)=>a(l,Object.assign({},i,{type:Ft.WARNING})),a},x7=()=>{const e=()=>console.warn(`[${mn}] This plugin does not support SSR!`);return new Proxy(e,{get(){return e}})};function lo(e){return t7()?n7(e)?Cp({eventBus:e},!1):Cp(e,!0):x7()}var gi=Symbol("VueToastification"),yc=new vi,B7=(e,t)=>{t?.shareAppContext===!0&&(t.shareAppContext=e);const r=lo(uv({eventBus:yc},t));e.provide(gi,r)},A7=e=>{const t=lo(e);(0,n.getCurrentInstance)()&&(0,n.provide)(gi,t)},Ev=e=>{if(e)return lo(e);const t=(0,n.getCurrentInstance)()?(0,n.inject)(gi,void 0):void 0;return t||lo(yc)},Cv=B7,V7={key:0,class:"custom-toast__icon"},M7={class:"custom-toast__content"},L7=(0,n.defineComponent)({__name:"Toast",props:{message:{},type:{default:"info"},showIcon:{type:Boolean,default:!0},showCloseButton:{type:Boolean,default:!0},closeToast:{}},setup(e){return(t,r)=>((0,n.openBlock)(),(0,n.createElementBlock)("div",{class:(0,n.normalizeClass)(["custom-toast",`custom-toast--${t.type}`])},[t.showIcon?((0,n.openBlock)(),(0,n.createElementBlock)("div",V7,[t.type==="success"?((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(Ee),{key:0,icon:"check_circle"})):(0,n.createCommentVNode)("",!0),t.type==="error"?((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(Ee),{key:1,icon:"dangerous"})):(0,n.createCommentVNode)("",!0),t.type==="warning"?((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(Ee),{key:2,icon:"report"})):(0,n.createCommentVNode)("",!0),t.type==="info"?((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(Ee),{key:3,icon:"info"})):(0,n.createCommentVNode)("",!0)])):(0,n.createCommentVNode)("",!0),(0,n.createElementVNode)("div",M7,(0,n.toDisplayString)(t.message),1),t.showCloseButton?((0,n.openBlock)(),(0,n.createElementBlock)("button",{key:1,class:"custom-toast__close",onClick:r[0]||(r[0]=(...a)=>t.closeToast&&t.closeToast(...a))},[(0,n.createVNode)((0,n.unref)(Ee),{icon:"close"})])):(0,n.createCommentVNode)("",!0)],2))}}),$a=L7,P7=Cv||sv,{POSITION:I7}=sv,zr=Ev;const Sv=Symbol("toast");var xl=null;function O7(){const e=(0,n.inject)(Sv,null);if(!e){if(xl)return xl;throw new Error("Toast API not provided. Make sure ToastPlugin is installed via app.use(ToastPlugin)")}return e}const Tv={install:(e,t={})=>{const r={position:I7.TOP_RIGHT,timeout:5e3,closeOnClick:!0,pauseOnFocusLoss:!0,pauseOnHover:!0,draggable:!0,draggablePercent:.6,showCloseButtonOnHover:!1,hideProgressBar:!0,closeButton:!1,icon:!1,rtl:!1,transition:"Vue-Toastification__fade",maxToasts:5,newestOnTop:!0,toastClassName:"custom-toast-wrapper",bodyClassName:"custom-toast-body",...t};e.use(P7,r);const a={success:(o,l)=>zr()({component:$a,props:{message:o,type:"success"}},l),error:(o,l)=>zr()({component:$a,props:{message:o,type:"error"}},l),info:(o,l)=>zr()({component:$a,props:{message:o,type:"info"}},l),warning:(o,l)=>zr()({component:$a,props:{message:o,type:"warning"}},l),show:(o,l)=>zr()({component:$a,props:{message:o,type:"info"}},l),clear:()=>{zr().clear()}};xl||(xl=a),e.provide(Sv,a)}},R7={install:(e,t={})=>{e.directive("click-outside",WL),e.directive("ripple",rv),e.directive("pattern",nv),e.use(jL),e.use(iv),e.use(Tv,t.toast||{}),e.use(bb,{themes:{"bgl-theme":{triggers:["click"],autoHide:!0,placement:"bottom"}}});const r=Jh(t.i18n||{});e.use(r)}};var F7=[["Afghanistan (افغانستان)","AF","93"],["Albania (Shqipëri)","AL","355"],["Algeria (الجزائر)","DZ","213"],["American Samoa","AS","1",5,["684"]],["Andorra","AD","376"],["Angola","AO","244"],["Anguilla","AI","1",6,["264"]],["Antigua and Barbuda","AG","1",7,["268"]],["Argentina","AR","54"],["Armenia (Հայաստան)","AM","374"],["Aruba","AW","297"],["Ascension Island","AC","247"],["Australia","AU","61",0],["Austria (Österreich)","AT","43"],["Azerbaijan (Azərbaycan)","AZ","994"],["Bahamas","BS","1",8,["242"]],["Bahrain (البحرين)","BH","973"],["Bangladesh (বাংলাদেশ)","BD","880"],["Barbados","BB","1",9,["246"]],["Belarus (Беларусь)","BY","375"],["Belgium (België)","BE","32"],["Belize","BZ","501"],["Benin (Bénin)","BJ","229"],["Bermuda","BM","1",10,["441"]],["Bhutan (འབྲུག)","BT","975"],["Bolivia","BO","591"],["Bosnia and Herzegovina (Босна и Херцеговина)","BA","387"],["Botswana","BW","267"],["Brazil (Brasil)","BR","55"],["British Indian Ocean Territory","IO","246"],["British Virgin Islands","VG","1",11,["284"]],["Brunei","BN","673"],["Bulgaria (България)","BG","359"],["Burkina Faso","BF","226"],["Burundi (Uburundi)","BI","257"],["Cambodia (កម្ពុជា)","KH","855"],["Cameroon (Cameroun)","CM","237"],["Canada","CA","1",1,["204","226","236","249","250","263","289","306","343","354","365","367","368","382","387","403","416","418","428","431","437","438","450","584","468","474","506","514","519","548","579","581","584","587","604","613","639","647","672","683","705","709","742","753","778","780","782","807","819","825","867","873","902","905"]],["Cape Verde (Kabu Verdi)","CV","238"],["Caribbean Netherlands","BQ","599",1,["3","4","7"]],["Cayman Islands","KY","1",12,["345"]],["Central African Republic (République centrafricaine)","CF","236"],["Chad (Tchad)","TD","235"],["Chile","CL","56"],["China (中国)","CN","86"],["Christmas Island","CX","61",2,["89164"]],["Cocos (Keeling) Islands","CC","61",1,["89162"]],["Colombia","CO","57"],["Comoros (جزر القمر)","KM","269"],["Congo (DRC) (République démocratique du Congo)","CD","243"],["Congo (Republic) (Congo-Brazzaville)","CG","242"],["Cook Islands","CK","682"],["Costa Rica","CR","506"],["Côte d’Ivoire","CI","225"],["Croatia (Hrvatska)","HR","385"],["Cuba","CU","53"],["Curaçao","CW","599",0],["Cyprus (Κύπρος)","CY","357"],["Czech Republic (Česká republika)","CZ","420"],["Denmark (Danmark)","DK","45"],["Djibouti","DJ","253"],["Dominica","DM","1",13,["767"]],["Dominican Republic (República Dominicana)","DO","1",2,["809","829","849"]],["Ecuador","EC","593"],["Egypt (مصر)","EG","20"],["El Salvador","SV","503"],["Equatorial Guinea (Guinea Ecuatorial)","GQ","240"],["Eritrea","ER","291"],["Estonia (Eesti)","EE","372"],["Eswatini","SZ","268"],["Ethiopia","ET","251"],["Falkland Islands (Islas Malvinas)","FK","500"],["Faroe Islands (Føroyar)","FO","298"],["Fiji","FJ","679"],["Finland (Suomi)","FI","358",0],["France","FR","33"],["French Guiana (Guyane française)","GF","594"],["French Polynesia (Polynésie française)","PF","689"],["Gabon","GA","241"],["Gambia","GM","220"],["Georgia (საქართველო)","GE","995"],["Germany (Deutschland)","DE","49"],["Ghana (Gaana)","GH","233"],["Gibraltar","GI","350"],["Greece (Ελλάδα)","GR","30"],["Greenland (Kalaallit Nunaat)","GL","299"],["Grenada","GD","1",14,["473"]],["Guadeloupe","GP","590",0],["Guam","GU","1",15,["671"]],["Guatemala","GT","502"],["Guernsey","GG","44",1,["1481","7781","7839","7911"]],["Guinea (Guinée)","GN","224"],["Guinea-Bissau (Guiné Bissau)","GW","245"],["Guyana","GY","592"],["Haiti","HT","509"],["Honduras","HN","504"],["Hong Kong (香港)","HK","852"],["Hungary (Magyarország)","HU","36"],["Iceland (Ísland)","IS","354"],["India (भारत)","IN","91"],["Indonesia","ID","62"],["Iran (ایران)","IR","98"],["Iraq (العراق)","IQ","964"],["Ireland","IE","353"],["Isle of Man","IM","44",2,["1624","74576","7524","7924","7624"]],["Israel (ישראל)","IL","972"],["Italy (Italia)","IT","39",0],["Jamaica","JM","1",4,["876","658"]],["Japan (日本)","JP","81"],["Jersey","JE","44",3,["1534","7509","7700","7797","7829","7937"]],["Jordan (الأردن)","JO","962"],["Kazakhstan (Казахстан)","KZ","7",1,["33","7"]],["Kenya","KE","254"],["Kiribati","KI","686"],["Kosovo","XK","383"],["Kuwait (الكويت)","KW","965"],["Kyrgyzstan (Кыргызстан)","KG","996"],["Laos (ລາວ)","LA","856"],["Latvia (Latvija)","LV","371"],["Lebanon (لبنان)","LB","961"],["Lesotho","LS","266"],["Liberia","LR","231"],["Libya (ليبيا)","LY","218"],["Liechtenstein","LI","423"],["Lithuania (Lietuva)","LT","370"],["Luxembourg","LU","352"],["Macau (澳門)","MO","853"],["Madagascar (Madagasikara)","MG","261"],["Malawi","MW","265"],["Malaysia","MY","60"],["Maldives","MV","960"],["Mali","ML","223"],["Malta","MT","356"],["Marshall Islands","MH","692"],["Martinique","MQ","596"],["Mauritania (موريتانيا)","MR","222"],["Mauritius (Moris)","MU","230"],["Mayotte","YT","262",1,["269","639"]],["Mexico (México)","MX","52"],["Micronesia","FM","691"],["Moldova (Republica Moldova)","MD","373"],["Monaco","MC","377"],["Mongolia (Монгол)","MN","976"],["Montenegro (Crna Gora)","ME","382"],["Montserrat","MS","1",16,["664"]],["Morocco (المغرب)","MA","212",0],["Mozambique (Moçambique)","MZ","258"],["Myanmar (Burma) (မြန်မာ)","MM","95"],["Namibia (Namibië)","NA","264"],["Nauru","NR","674"],["Nepal (नेपाल)","NP","977"],["Netherlands (Nederland)","NL","31"],["New Caledonia (Nouvelle-Calédonie)","NC","687"],["New Zealand","NZ","64"],["Nicaragua","NI","505"],["Niger (Nijar)","NE","227"],["Nigeria","NG","234"],["Niue","NU","683"],["Norfolk Island","NF","672"],["North Korea (조선 민주주의 인민 공화국)","KP","850"],["North Macedonia (Северна Македонија)","MK","389"],["Northern Mariana Islands","MP","1",17,["670"]],["Norway (Norge)","NO","47",0],["Oman (عُمان)","OM","968"],["Pakistan (پاکستان)","PK","92"],["Palau","PW","680"],["Palestine (فلسطين)","PS","970"],["Panama (Panamá)","PA","507"],["Papua New Guinea","PG","675"],["Paraguay","PY","595"],["Peru (Perú)","PE","51"],["Philippines","PH","63"],["Poland (Polska)","PL","48"],["Portugal","PT","351"],["Puerto Rico","PR","1",3,["787","939"]],["Qatar (قطر)","QA","974"],["Réunion (La Réunion)","RE","262",0],["Romania (România)","RO","40"],["Russia (Россия)","RU","7",0],["Rwanda","RW","250"],["Saint Barthélemy","BL","590",1],["Saint Helena","SH","290"],["Saint Kitts and Nevis","KN","1",18,["869"]],["Saint Lucia","LC","1",19,["758"]],["Saint Martin (Saint-Martin (partie française))","MF","590",2],["Saint Pierre and Miquelon (Saint-Pierre-et-Miquelon)","PM","508"],["Saint Vincent and the Grenadines","VC","1",20,["784"]],["Samoa","WS","685"],["San Marino","SM","378"],["São Tomé and Príncipe (São Tomé e Príncipe)","ST","239"],["Saudi Arabia (المملكة العربية السعودية)","SA","966"],["Senegal (Sénégal)","SN","221"],["Serbia (Србија)","RS","381"],["Seychelles","SC","248"],["Sierra Leone","SL","232"],["Singapore","SG","65"],["Sint Maarten","SX","1",21,["721"]],["Slovakia (Slovensko)","SK","421"],["Slovenia (Slovenija)","SI","386"],["Solomon Islands","SB","677"],["Somalia (Soomaaliya)","SO","252"],["South Africa","ZA","27"],["South Korea (대한민국)","KR","82"],["South Sudan (جنوب السودان)","SS","211"],["Spain (España)","ES","34"],["Sri Lanka (ශ්‍රී ලංකාව)","LK","94"],["Sudan (السودان)","SD","249"],["Suriname","SR","597"],["Svalbard and Jan Mayen","SJ","47",1,["79"]],["Sweden (Sverige)","SE","46"],["Switzerland (Schweiz)","CH","41"],["Syria (سوريا)","SY","963"],["Taiwan (台灣)","TW","886"],["Tajikistan","TJ","992"],["Tanzania","TZ","255"],["Thailand (ไทย)","TH","66"],["Timor-Leste","TL","670"],["Togo","TG","228"],["Tokelau","TK","690"],["Tonga","TO","676"],["Trinidad and Tobago","TT","1",22,["868"]],["Tunisia (تونس)","TN","216"],["Turkey (Türkiye)","TR","90"],["Turkmenistan","TM","993"],["Turks and Caicos Islands","TC","1",23,["649"]],["Tuvalu","TV","688"],["U.S. Virgin Islands","VI","1",24,["340"]],["Uganda","UG","256"],["Ukraine (Україна)","UA","380"],["United Arab Emirates (الإمارات العربية المتحدة)","AE","971"],["United Kingdom","GB","44",0],["United States","US","1",0],["Uruguay","UY","598"],["Uzbekistan (Oʻzbekiston)","UZ","998"],["Vanuatu","VU","678"],["Vatican City (Città del Vaticano)","VA","39",1,["06698"]],["Venezuela","VE","58"],["Vietnam (Việt Nam)","VN","84"],["Wallis and Futuna (Wallis-et-Futuna)","WF","681"],["Western Sahara (الصحراء الغربية)","EH","212",1,["5288","5289"]],["Yemen (اليمن)","YE","967"],["Zambia","ZM","260"],["Zimbabwe","ZW","263"],["Åland Islands","AX","358",1,["18"]]];const Nv=F7.map(([e,t,r,a=0,o=[]])=>({name:e,iso2:t,dialCode:r,priority:a,areaCodes:o}));function hu(e,t){e=new Date(e);const r=t.Day||t.day||t.days||0,a=t.Hour||t.hour||t.hours||0,o=t.Minute||t.minute||t.minutes||0,l=t.Second||t.second||t.seconds||0,i=t.Week||t.week||t.weeks||0,s=t.Month||t.month||t.months||0,u=t.Year||t.year||t.years||0;return r&&e.setDate(e.getDate()+r),a&&e.setHours(e.getHours()+a),o&&e.setMinutes(e.getMinutes()+o),l&&e.setSeconds(e.getSeconds()+l),i&&e.setDate(e.getDate()+i*7),s&&e.setMonth(e.getMonth()+s),u&&e.setFullYear(e.getFullYear()+u),e}function z7(e){try{const t=fa().global.messages,r=t[e]||t.en;return r?.timeAgo?r.timeAgo:{year:"year",month:"month",week:"week",day:"day",hour:"hour",minute:"minute",second:"second",ago:"ago",in:"in",justNow:"Just now"}}catch{return{year:"year",month:"month",week:"week",day:"day",hour:"hour",minute:"minute",second:"second",ago:"ago",in:"in",justNow:"Just now"}}}function U7(){try{const{locale:e}=fa().global,t=typeof e=="string"?e:e.value;return["en","es","fr","he","it","ru"].includes(t)?t:"en"}catch{return"en"}}function H7(e,t){if(!e)return"";typeof e=="string"&&(e=new Date(e));const r=typeof t=="string"?t:t?.lang||U7(),a=(typeof t=="object"&&t.mode||"relative")==="relative",o=new Date().getTime(),l=e.getTime(),i=Math.floor((l-o)/1e3),s=[{label:"year",seconds:31536e3},{label:"month",seconds:2592e3},{label:"week",seconds:604800},{label:"day",seconds:86400},{label:"hour",seconds:3600},{label:"minute",seconds:60},{label:"second",seconds:1}],u=z7(r),c=f=>u[f];for(const f of s){const p=Math.floor(Math.abs(i)/f.seconds);if(p>=1){const m=a&&i<0?` ${u.ago}`:"",h=a&&i>0&&u.in!=="in"?`${u.in} `:"";if(r==="he"){const g=c(f.label),y=p===1?g.singular:g.plural,v=a?i<0?`${u.ago} `:i>0?`${u.in} `:"":"";if(f.label==="day"&&i>0){const _=Math.floor(Math.abs(i)%86400/3600),b=u.hour,k=_===1?b.singular:b.plural;return`${v}${p===1?y:`${p} ${y}`}${_>0?_===1?` ${k}`:` ${_} ${k}`:""}`}return`${v}${p===1?y:`${p} ${y}`}`}const d=c(f.label);if(f.label==="day"&&i>0){const g=Math.floor(Math.abs(i)%86400/3600),y=g>1?`${u.hour}s`:u.hour;return`${h}${p} ${d}${g>0?` ${g} ${y}`:""}${m}`}return`${h}${p} ${d}${m}`}}return u.justNow}function Dv(){return typeof navigator!="object"?"en-US":navigator.languages&&navigator.languages.length?navigator.languages[0]:navigator.language}function j7(){try{const{locale:e}=fa().global;return typeof e=="string"?e:e.value}catch{return Dv()}}function xv(e,t){if(t.timeZone==="UTC"){const r=new Date(e.getTime());return r.setMinutes(r.getMinutes()+e.getTimezoneOffset()),r}try{const r=new Intl.DateTimeFormat("en-US",{...t,month:"numeric"}).formatToParts(e),a={};return r.forEach(o=>{o.type!=="literal"&&o.type!=="timeZoneName"&&(a[o.type]=Number.parseInt(o.value,10))}),new Date(a.year,(a.month||1)-1,a.day,a.hour||0,a.minute||0,a.second||0)}catch(r){return console.warn(`Error handling timezone ${t.timeZone}:`,r),e}}function bc(e,t,r){const a=r?.timeZone?xv(e,r):e,o=a.getFullYear().toString();return{AmPm:a.toLocaleString(t,{hour:"numeric",hour12:!0,minute:"numeric"}).split(" ")[1],DD:String(a.getDate()).padStart(2,"0"),DDD:a.toLocaleString(t,{weekday:"short"}),DDDD:a.toLocaleString(t,{weekday:"long"}),HH:String(a.getHours()).padStart(2,"0"),mm:String(a.getMinutes()).padStart(2,"0"),MM:String(a.getMonth()+1).padStart(2,"0"),MMM:a.toLocaleString(t,{month:"short"}),MMMM:a.toLocaleString(t,{month:"long"}),ss:String(a.getSeconds()).padStart(2,"0"),sss:String(a.getMilliseconds()).padStart(3,"0"),YY:o.slice(-2),YYYY:o}}var W7=bc(new Date,Dv()),G7=Object.keys(W7).sort((e,t)=>t.length-e.length),q7=new RegExp(G7.map(e=>e).join("|"),"g");function mt(e,t){let r,a,o,l={};if(typeof t=="string"?r=t:t&&typeof t=="object"&&(r=t.format,a=t.locale,o=t.tz,l=t),!e)return"";if(r==="ISO"||r==="ISO8601"){const i=typeof e=="string"||typeof e=="number"?new Date(e):e;return Number.isNaN(i.getTime())?"":i.toISOString()}r=r||"DD.MM.YY",a=a||j7();try{const i=typeof e=="string"||typeof e=="number"?new Date(e):e;if(Number.isNaN(i.getTime()))return console.warn("Invalid date provided to formatDate:",e),"";const s={day:"numeric",hour:"2-digit",hour12:l.hour12===void 0?!0:l.hour12,minute:"2-digit",month:"long",second:"2-digit",timeZone:o,weekday:"long",year:"numeric"},u=bc(i,a,s),c=new Intl.DateTimeFormat(a,s).formatToParts(i),f={};return c.forEach(p=>{p.type!=="literal"&&(f[p.type]=p.value)}),f.month&&(u.MMM=f.month.substring(0,3),u.MMMM=f.month),f.weekday&&(u.DDD=f.weekday.substring(0,3),u.DDDD=f.weekday),f.dayPeriod&&(u.AmPm=f.dayPeriod),r.replace(q7,p=>u[p])}catch(i){return console.warn(`Error formatting date: ${e} with format: ${r}`,i),""}}const Y7=mt;function Bl(e,t,r){let a,o="",l,i={};if(typeof e=="object"&&e!==null){i=e;const{id:s,text:u,icon:c}=i;a=s,o=u??"",l=c}else a=e,t!=null&&(typeof t=="string"&&t.length<=30&&!t.includes(" ")&&(t.includes("-")||t.includes("_")||t.length<=12)&&t===t.toLowerCase()?(l=t,r&&(i=r)):(o=t,r&&(i=r)));return{$el:"btn",id:a,class:i.class,vIf:i.vIf,style:i.style,onClick:i.onClick,attrs:{value:o||(i.text??"")||"",variant:i.variant,size:i.size,disabled:i.disabled,loading:i.loading,icon:l??i.icon,iconPosition:i.iconPosition,href:i.href,target:i.target}}}function Bv(e,t,r={}){return{$el:e,id:t,class:r.class,vIf:r.vIf,style:r.style,attrs:r.attrs||{},onClick:r.onClick}}function Av(e,t,r){return t!=null&&e!=null?Bl(e,t,r||{}):Bl({id:e,icon:t,...r})}function Vv(e,t,r){let a,o={};if(typeof e=="object"&&e!==null){o=e;const{id:l}=o;a=l}else a=e,t!=null&&(typeof r=="string"?o={tag:r,text:t}:r?o={...r,text:t}:o={text:t});return{$el:o.tag||"p",id:a,class:o.class,vIf:o.vIf,style:o.style,attrs:{text:o.text??"",size:o.size,weight:o.weight,color:o.color,align:o.align},transform:o.transform}}function Mv(e,t,r){let a,o={};if(typeof e=="object"&&e!==null){o=e;const{id:l}=o;a=l}else a=e,t!=null&&(typeof r=="string"?o={alt:r}:r&&(o=r));return{$el:"img",id:a,class:o.class,vIf:o.vIf,style:o.style,transform:o.transform,attrs:{alt:o.alt,width:o.width,height:o.height,loading:o.loading,fit:o.fit,rounded:o.rounded,fallback:o.fallback}}}function X7(e){return{$el:"pill",id:e?.id,class:e?.class,vIf:e?.vIf,style:e?.style,attrs:e?.attrs||{}}}function Lv(...e){let t,r=[];if(e.length>0){const o=e[0];typeof o=="object"&&o!==null&&"$el"in o?r=e:(t=o,r=e.slice(1))}const a={};return t?.attrs&&Object.assign(a,t.attrs),t&&(t.options!=null&&(a.options=t.options),t.placeholder!=null&&(a.placeholder=t.placeholder),t.searchable!=null&&(a.searchable=t.searchable),t.multiselect!=null&&(a.multiselect=t.multiselect),t.clearable!=null&&(a.clearable=t.clearable),t.onSelect!=null&&(a.onSelect=t.onSelect),t.onSearch!=null&&(a.onSearch=t.onSearch)),{$el:(0,n.markRaw)(jt),class:t?.class,vIf:t?.vIf,style:t?.style,attrs:a,children:r}}function Pv(e,t){return{$el:(0,n.markRaw)(Nn),id:t?.id,class:t?.class,vIf:t?.vIf,style:t?.style,onClick:t?.onClick,attrs:{thin:!0,title:e??t?.title??"",subtitle:t?.subtitle,icon:t?.icon,avatar:t?.avatar,badge:t?.badge,actions:t?.actions,clickable:t?.clickable,divider:t?.divider}}}function Iv(e,t,r){return{$el:"div",id:e,class:r?.class??"flex gap-2",vIf:r?.vIf,style:r?.style,attrs:r?.attrs||{},children:t}}function wc(e,t){for(const r of t){if(r.id===e)return r;if(r.children&&r.children.length>0){const a=wc(e,r.children);if(a)return a}}}function $c(e,t,r){let a;return typeof t=="string"?a=t:r=t,{$el:"div",id:e,class:r?.class??"column-class",vIf:r?.vIf,style:r?.style,transform:r?.transform,attrs:{...r?.attrs,label:a??r?.attrs?.label??""},children:r?.children}}const Ov=$c;function K7(){return{btn:Bl,iconBtn:Av,txt:Vv,img:Mv,dropdown:Lv,listItem:Pv,container:Iv,findElementById:wc,getBaseElementField:Bv,col:Ov,column:$c}}async function Rv(){let e=sessionStorage.getItem("ipapi");return e||(e=(await qu.get("https://ipapi.co/json/")).data,e=JSON.stringify(e),sessionStorage.setItem("ipapi",e)),JSON.parse(e)}var J7={"":/<[^>]*>?/g," ":/&nbsp;/g,'"':/&quot;/g,"'":/&apos;/g,"&":/&amp;/g,"<":/&lt;/g,">":/&gt;/g};function kc(e){return e?Object.entries(J7).reduce((t,[r,a])=>t.replace(a,r),e):""}var Z7=/[\p{N}\p{L}\s]/gu;function Wr(e){return e.match(Z7)?.join("").toLowerCase()??""}function Q7(e,t){const r=t.split(".");let a=e;for(const o of r){if(a==null||typeof a!="object")return;a=a[o]}return a}function Ro(e,t){let r=0;if(e.length===0)return 0;let a=0;for(const l of t)if(e.includes(l)){const i=new RegExp(l,"g"),s=e.match(i);s&&(a+=s.length*l.length),r+=1,e.split(/\s+/).includes(l)&&(r+=.5),e.startsWith(l)&&(r+=.5)}const o=Math.min(1,a/e.length);return r*=1+o*2,r}function Fo(e){return typeof e=="string"||typeof e=="number"||typeof e=="boolean"}function eP(e){return e==null?"":typeof e=="string"?kc(e):typeof e=="number"||typeof e=="boolean"?String(e):typeof e=="object"&&e instanceof Date?e.toISOString():""}function Fv(e){const{searchTerm:t,items:r=[],keysToSearch:a,fieldWeights:o={},minChars:l=2}=e,i=(0,n.toValue)(t),s=(0,n.toValue)(r)||[];if(!i||i.length<l)return s;const u=Wr(i).split(/\s+/).filter(g=>g.length>1);if(u.length===0)return s;const c={name:2,first_name:2,last_name:2,title:2,headline:2,description:.7,subtitle:.7,bio:.7,content:.7,body:.7,email:.7,phone:.7,id:.3,created_at:.3,updated_at:.3};function f(g){if(g in o){const v=o[g];if(typeof v=="number")return v}const y=g.split(".").pop()||"";return y in c?c[y]:1}function p(g,y=""){return!g||typeof g!="object"?[]:Object.keys(g).flatMap(v=>{const _=g[v],b=y?`${y}.${v}`:v;return _&&typeof _=="object"&&!Array.isArray(_)?[b,...p(_,b)]:[b]})}function m(g){let y=0;if(Fo(g))return Ro(Wr(String(g)),u);if(Array.isArray(g)){for(const _ of g)if(Fo(_)){const b=Wr(String(_));y+=Ro(b,u)}return y}const v=a||p(g);for(const _ of v){const b=Q7(g,String(_));if(b==null)continue;if(Array.isArray(b)){for(const S of b)if(Fo(S)){const N=Ro(Wr(kc(String(S))),u),V=f(String(_));y+=N*V}continue}if(typeof b=="object"&&!Fo(b))continue;const k=Ro(Wr(eP(b)),u),w=f(String(_));y+=k*w}return y}const h=s.map(g=>[g,m(g)]).filter(([,g])=>g>0);let d=h;if(h.length>0){const g=Math.max(...h.map(([,y])=>y));if(g>5){const y=g*.25;d=h.filter(([,v])=>v>=y)}else if(g>2){const y=g*.15;d=h.filter(([,v])=>v>=y)}}return d.sort(([,g],[,y])=>y-g).map(([g])=>g)}function zv(e,t){let r,a;const o=Array.isArray(e),l=typeof e=="function",i=typeof e=="object"&&e!==null&&"value"in e&&!("items"in e);o||l||i?(a=(0,n.ref)(""),r={items:e,searchTerm:a,...t}):r=e;const{searchTerm:s,minChars:u=2,serverSearch:c,debounceMs:f=300}=r,p=(0,n.ref)(!1),m=(0,n.ref)([]);let h=null;c&&(0,n.watch)(()=>(0,n.toValue)(s),async b=>{h!==null&&clearTimeout(h);const k=typeof b=="string"?b:"";if(k.length<u&&u>0){m.value=[];return}h=window.setTimeout(async()=>{try{p.value=!0,m.value=await c(k)}catch(w){console.error("Server search error:",w),m.value=[]}finally{p.value=!1}},f)},{immediate:!0});const d=()=>(0,n.toValue)(s),g=()=>{const b=d();return c&&(b&&typeof b=="string"&&b.length>=u||u===0)?m.value:Fv(r)},y=(0,n.computed)(()=>g()),v=(0,n.computed)(()=>y.value.length),_={results:y,resultCount:v,hasResults:(0,n.computed)(()=>v.value>0),isSearching:(0,n.computed)(()=>{const b=d();return!!b&&typeof b=="string"&&b.length>=u}),isLoading:(0,n.computed)(()=>p.value)};return a&&(_.searchTerm=a),_}exports.$=pt;exports.Accordion=Kv;exports.AccordionItem=tg;exports.AddToCalendar=lg;exports.AddressSearch=ag;exports.Alert=fg;exports.AppContent=y8;exports.AppLayout=k8;exports.AppSidebar=B8;exports.ArrayInput=Uo;exports.Avatar=Tp;exports.Badge=$_;exports.BagelForm=sa;exports.BagelMultiStepForm=hw;exports.BagelVue=R7;exports.BarChart=yg;exports.BglForm=sa;exports.BglVideo=yu;exports.BottomMenu=M8;exports.Btn=Q;exports.Calendar=j1;exports.Card=Ut;exports.Carousel=J1;exports.CheckInput=At;exports.Checkbox=Nw;exports.CodeEditor=Bu;exports.ColorInput=Fn;exports.DataPreview=ly;exports.DataTable=Hp;exports.DateInput=Wa;exports.DatePicker=xm;exports.Dialog=ci;exports.DialogConfirm=gh;exports.DialogForm=Qh;exports.DialogPlugin=YM;exports.DialogSymbol=gc;exports.DragOver=ps;exports.Draggable=yy;exports.Dropdown=jt;exports.EMAIL_REGEX=Ho;exports.EmailInput=Au;exports.FORM_STATE_KEY=ec;exports.FieldArray=ka;exports.FieldSetVue=Cb;exports.Filter=Lb;exports.Flag=ys;exports.FormFlow=vc;exports.IMAGE_FORMATS=Bm;exports.IMAGE_FORMATS_REGEXP=cl;exports.Icon=Ee;exports.IframeVue=yN;exports.Image=Xa;exports.ImportData=m8;exports.JSONInput=_2;exports.KpiCard=Dg;exports.Layout=P8;exports.LineChart=qg;exports.ListItem=Nn;exports.ListView=j0;exports.Loading=fr;exports.MapEmbed=g5;exports.MarkdownEditor=E2;exports.Menu=E5;exports.Modal=Zt;exports.ModalConfirm=W0;exports.ModalForm=G0;exports.ModalPlugin=iv;exports.MultiStepForm=$L;exports.NavBar=R5;exports.NumberInput=Tn;exports.OTP=L2;exports.PageTitle=q0;exports.Pagination=G5;exports.PasswordInput=Hm;exports.PieChart=__;exports.Pill=Ys;exports.RadioGroup=jm;exports.RadioPillsInput=fk;exports.RangeInput=Wm;exports.Rating=Q5;exports.RichText=Mu;exports.RouterWrapper=n9;exports.SelectBtn=GE;exports.SelectInput=dt;exports.SidebarMenu=R8;exports.SignaturePad=eC;exports.Skeleton=kl;exports.Slider=i9;exports.Spreadsheet=Y0;exports.Swiper=ch;exports.TabbedLayout=W8;exports.TableField=YC;exports.TableSchema=Hp;exports.Tabs=Y8;exports.TabsBody=K8;exports.TabsNav=Xu;exports.TelInput=Uu;exports.TextInput=Ge;exports.Title=dh;exports.ToastPlugin=Tv;exports.ToggleInput=ei;exports.ToolBar=_x;exports.TopBar=$x;exports.UploadInput=$l;exports.VIDEO_FORMATS=Am;exports.VIDEO_FORMATS_REGEXP=Vm;exports.Zoomer=fh;exports.allCountries=Nv;exports.anyOf=zb;exports.appendScript=co;exports.appendStyle=ks;exports.arrField=Su;Object.defineProperty(exports,"bagelFormUtils",{enumerable:!0,get:function(){return Ib}});exports.bagelinkLocales=fu;exports.bglForm=Cu;exports.bindAttrs=ws;exports.btn=Bl;exports.checkField=Fl;exports.classify=Sm;exports.clearHtml=kc;exports.col=Ov;exports.colorField=Yl;exports.column=$c;exports.container=Iv;exports.copyText=Em;exports.createI18n=Jh;exports.createSchema=Tu;exports.createUploadApi=Y4;exports.dateField=Ul;exports.debounce=Qb;exports.defaultOptions=bm;exports.denullify=rw;exports.downloadFile=xu;exports.dropdown=Lv;exports.emailField=zl;exports.findBglFieldById=Xl;exports.findElementById=wc;exports.fmtDate=Y7;exports.formatDate=mt;exports.formatString=zn;exports.frmRow=jl;exports.fromJSONSchema=oL;exports.getBaseElementField=Bv;exports.getBaseField=Eu;exports.getDatePartsMap=bc;exports.getFallbackSchema=Tm;exports.getI18n=fa;exports.getNestedValue=Cr;exports.handleTimezone=xv;exports.iconBtn=Av;exports.iffer=nw;exports.img=Mv;exports.initials=Cm;exports.ipapi=Rv;exports.isDate=$s;exports.keyToLabel=uo;exports.listItem=Pv;exports.multiStepSchema=aL;exports.normalizeDimension=un;exports.normalizeText=Wr;exports.normalizeURL=Du;exports.numField=Hl;exports.parseQuery=Nu;exports.pathKeyToURL=Un;exports.pattern=nv;exports.pill=X7;exports.provideBagelFormState=Sx;exports.queryFilter=Fb;exports.range=Ub;exports.rangeField=Gl;exports.required=nL;exports.resolveI18n=Zh;exports.richText=Ol;exports.ripple=rv;exports.schema=rL;exports.search=Hb;exports.searchItems=Fv;exports.selectField=so;exports.showdown=H;exports.slctField=vm;exports.sleep=Tr;exports.slugify=ew;exports.telField=ql;exports.timeAgo=H7;exports.timeDelta=hu;exports.tryRun=Nm;exports.txt=Vv;exports.txtField=Rl;exports.uploadField=Wl;exports.useAddToCalendar=Nx;exports.useBagelFormState=Tx;exports.useBglSchema=nc;exports.useDebounceFn=Sr;exports.useDevice=go;exports.useDialog=qM;exports.useDraggable=rl;exports.useElements=K7;exports.useEscape=tw;exports.useExcel=ph;exports.useFileUpload=H0;exports.useForm=gm;exports.useI18n=ht;exports.useLocalStore=mh;exports.useModal=lv;exports.usePolling=Mx;exports.useSearch=zv;exports.useTheme=Rx;exports.useToast=O7;exports.useValidateFieldValue=vh;exports.vDraggable=by;exports.vResize=tL;
package/dist/index.mjs CHANGED
@@ -48036,6 +48036,9 @@ var MP = {
48036
48036
  unmounted(e) {
48037
48037
  const t = Ns(e), n = bi.get(e);
48038
48038
  t !== null && n !== void 0 && zp(t, n), bi.delete(e);
48039
+ },
48040
+ getSSRProps() {
48041
+ return {};
48039
48042
  }
48040
48043
  }, PP = MP, IP = {
48041
48044
  mounted(e, t) {
@@ -48065,6 +48068,9 @@ var MP = {
48065
48068
  unmounted(e) {
48066
48069
  const t = e.__rippleClickHandler;
48067
48070
  t && (e.removeEventListener("mousedown", t), delete e.__rippleClickHandler);
48071
+ },
48072
+ getSSRProps() {
48073
+ return {};
48068
48074
  }
48069
48075
  }, NP = IP, co = /* @__PURE__ */ Symbol("resize");
48070
48076
  function Wp(e, t) {
@@ -48126,6 +48132,9 @@ const lR = {
48126
48132
  const n = e[co];
48127
48133
  typeof n == "function" && (n(), delete e[co]), Wp(e, t);
48128
48134
  }
48135
+ },
48136
+ getSSRProps() {
48137
+ return {};
48129
48138
  }
48130
48139
  }, sR = !0;
48131
48140
  var Dt = class {
@@ -48973,6 +48982,9 @@ var BP = { class: "multi-step-form" }, UP = { class: "step-progress" }, HP = ["o
48973
48982
  },
48974
48983
  unmounted(e) {
48975
48984
  e.removeEventListener("click", $r);
48985
+ },
48986
+ getSSRProps() {
48987
+ return {};
48976
48988
  }
48977
48989
  };
48978
48990
  function Gp(e) {
@@ -49009,11 +49021,13 @@ function vI(e) {
49009
49021
  }
49010
49022
  var Os;
49011
49023
  function gI() {
49012
- if (!Os) {
49013
- const e = document.createElement("div");
49014
- document.body.prepend(e), Os = Wo(cI).mount(e);
49024
+ if (!(typeof document > "u")) {
49025
+ if (!Os) {
49026
+ const e = document.createElement("div");
49027
+ document.body.prepend(e), Os = Wo(cI).mount(e);
49028
+ }
49029
+ return Os;
49015
49030
  }
49016
- return Os;
49017
49031
  }
49018
49032
  var _I = { install(e) {
49019
49033
  e.directive("lightbox", fI);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@bagelink/vue",
3
3
  "type": "module",
4
- "version": "1.9.77",
4
+ "version": "1.9.79",
5
5
  "description": "Bagel core sdk packages",
6
6
  "author": {
7
7
  "name": "Bagel Studio",
@@ -27,7 +27,10 @@ const lightboxDirective: Directive = {
27
27
  },
28
28
  unmounted(el: HTMLElement) {
29
29
  el.removeEventListener('click', clickHandler)
30
- }
30
+ },
31
+ getSSRProps() {
32
+ return {}
33
+ },
31
34
  }
32
35
 
33
36
  function groupHandler(item: LightboxItem) {
@@ -77,7 +80,8 @@ function determineFileType(url: any): string {
77
80
 
78
81
  let lightboxInstance: InstanceType<typeof Lightbox> | undefined
79
82
 
80
- function getLightboxInstance(): InstanceType<typeof Lightbox> {
83
+ function getLightboxInstance(): InstanceType<typeof Lightbox> | undefined {
84
+ if (typeof document === 'undefined') { return undefined }
81
85
  if (!lightboxInstance) {
82
86
  const lightboxEl = document.createElement('div')
83
87
  document.body.prepend(lightboxEl)
@@ -228,6 +228,9 @@ const pattern = {
228
228
 
229
229
  stateMap.delete(el)
230
230
  },
231
+ getSSRProps() {
232
+ return {}
233
+ },
231
234
  }
232
235
 
233
236
  export default pattern
@@ -54,6 +54,9 @@ const ripple: Directive<HTMLElement, boolean> = {
54
54
  delete (el as any).__rippleClickHandler
55
55
  }
56
56
  },
57
+ getSSRProps() {
58
+ return {}
59
+ },
57
60
  }
58
61
 
59
62
  export default ripple
@@ -201,5 +201,8 @@ export const vResize: Directive<HTMLElement, ResizeOptions> = {
201
201
  }
202
202
  initResize(el, binding)
203
203
  }
204
- }
204
+ },
205
+ getSSRProps() {
206
+ return {}
207
+ },
205
208
  }