import{A as I,B as Y,C as c,K as va,L as an,D as Dt,G as De,M as Gd,N as Kd,J as qr,E as Zd,H as La,I as pt,O as Mi,P as We,Q as Eg,R as xg,S as Tg}from"./entry.e756a126.js";//! moment.js
//! version : 2.30.1
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
//! license : MIT
//! momentjs.com
var Xd;function j(){return Xd.apply(null,arguments)}function Mg(e){Xd=e}function Pa(e){return e instanceof Array||Object.prototype.toString.call(e)==="[object Array]"}function en(e){return e!=null&&Object.prototype.toString.call(e)==="[object Object]"}function Ne(e,a){return Object.prototype.hasOwnProperty.call(e,a)}function qs(e){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(e).length===0;var a;for(a in e)if(Ne(e,a))return!1;return!0}function fa(e){return e===void 0}function br(e){return typeof e=="number"||Object.prototype.toString.call(e)==="[object Number]"}function Ri(e){return e instanceof Date||Object.prototype.toString.call(e)==="[object Date]"}function Jd(e,a){var t=[],r,n=e.length;for(r=0;r<n;++r)t.push(a(e[r],r));return t}function xr(e,a){for(var t in a)Ne(a,t)&&(e[t]=a[t]);return Ne(a,"toString")&&(e.toString=a.toString),Ne(a,"valueOf")&&(e.valueOf=a.valueOf),e}function Ja(e,a,t,r){return _v(e,a,t,r,!0).utc()}function kg(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function Fe(e){return e._pf==null&&(e._pf=kg()),e._pf}var ps;Array.prototype.some?ps=Array.prototype.some:ps=function(e){var a=Object(this),t=a.length>>>0,r;for(r=0;r<t;r++)if(r in a&&e.call(this,a[r],r,a))return!0;return!1};function js(e){var a=null,t=!1,r=e._d&&!isNaN(e._d.getTime());if(r&&(a=Fe(e),t=ps.call(a.parsedDateParts,function(n){return n!=null}),r=a.overflow<0&&!a.empty&&!a.invalidEra&&!a.invalidMonth&&!a.invalidWeekday&&!a.weekdayMismatch&&!a.nullInput&&!a.invalidFormat&&!a.userInvalidated&&(!a.meridiem||a.meridiem&&t),e._strict&&(r=r&&a.charsLeftOver===0&&a.unusedTokens.length===0&&a.bigHour===void 0)),Object.isFrozen==null||!Object.isFrozen(e))e._isValid=r;else return r;return e._isValid}function Ju(e){var a=Ja(NaN);return e!=null?xr(Fe(a),e):Fe(a).userInvalidated=!0,a}var vf=j.momentProperties=[],Ll=!1;function Ns(e,a){var t,r,n,i=vf.length;if(fa(a._isAMomentObject)||(e._isAMomentObject=a._isAMomentObject),fa(a._i)||(e._i=a._i),fa(a._f)||(e._f=a._f),fa(a._l)||(e._l=a._l),fa(a._strict)||(e._strict=a._strict),fa(a._tzm)||(e._tzm=a._tzm),fa(a._isUTC)||(e._isUTC=a._isUTC),fa(a._offset)||(e._offset=a._offset),fa(a._pf)||(e._pf=Fe(a)),fa(a._locale)||(e._locale=a._locale),i>0)for(t=0;t<i;t++)r=vf[t],n=a[r],fa(n)||(e[r]=n);return e}function Yi(e){Ns(this,e),this._d=new Date(e._d!=null?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),Ll===!1&&(Ll=!0,j.updateOffset(this),Ll=!1)}function Ia(e){return e instanceof Yi||e!=null&&e._isAMomentObject!=null}function Qd(e){j.suppressDeprecationWarnings===!1&&typeof console<"u"&&console.warn&&console.warn("Deprecation warning: "+e)}function Ea(e,a){var t=!0;return xr(function(){if(j.deprecationHandler!=null&&j.deprecationHandler(null,e),t){var r=[],n,i,u,l=arguments.length;for(i=0;i<l;i++){if(n="",typeof arguments[i]=="object"){n+=`
[`+i+"] ";for(u in arguments[0])Ne(arguments[0],u)&&(n+=u+": "+arguments[0][u]+", ");n=n.slice(0,-2)}else n=arguments[i];r.push(n)}Qd(e+`
Arguments: `+Array.prototype.slice.call(r).join("")+`
`+new Error().stack),t=!1}return a.apply(this,arguments)},a)}var cf={};function ev(e,a){j.deprecationHandler!=null&&j.deprecationHandler(e,a),cf[e]||(Qd(a),cf[e]=!0)}j.suppressDeprecationWarnings=!1;j.deprecationHandler=null;function Qa(e){return typeof Function<"u"&&e instanceof Function||Object.prototype.toString.call(e)==="[object Function]"}function Bg(e){var a,t;for(t in e)Ne(e,t)&&(a=e[t],Qa(a)?this[t]=a:this["_"+t]=a);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function ms(e,a){var t=xr({},e),r;for(r in a)Ne(a,r)&&(en(e[r])&&en(a[r])?(t[r]={},xr(t[r],e[r]),xr(t[r],a[r])):a[r]!=null?t[r]=a[r]:delete t[r]);for(r in e)Ne(e,r)&&!Ne(a,r)&&en(e[r])&&(t[r]=xr({},t[r]));return t}function Ps(e){e!=null&&this.set(e)}var hs;Object.keys?hs=Object.keys:hs=function(e){var a,t=[];for(a in e)Ne(e,a)&&t.push(a);return t};var qg={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function jg(e,a,t){var r=this._calendar[e]||this._calendar.sameElse;return Qa(r)?r.call(a,t):r}function Za(e,a,t){var r=""+Math.abs(e),n=a-r.length,i=e>=0;return(i?t?"+":"":"-")+Math.pow(10,Math.max(0,n)).toString().substr(1)+r}var Is=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,pu=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Rl={},xn={};function ce(e,a,t,r){var n=r;typeof r=="string"&&(n=function(){return this[r]()}),e&&(xn[e]=n),a&&(xn[a[0]]=function(){return Za(n.apply(this,arguments),a[1],a[2])}),t&&(xn[t]=function(){return this.localeData().ordinal(n.apply(this,arguments),e)})}function Ng(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function Pg(e){var a=e.match(Is),t,r;for(t=0,r=a.length;t<r;t++)xn[a[t]]?a[t]=xn[a[t]]:a[t]=Ng(a[t]);return function(n){var i="",u;for(u=0;u<r;u++)i+=Qa(a[u])?a[u].call(n,e):a[u];return i}}function Su(e,a){return e.isValid()?(a=tv(a,e.localeData()),Rl[a]=Rl[a]||Pg(a),Rl[a](e)):e.localeData().invalidDate()}function tv(e,a){var t=5;function r(n){return a.longDateFormat(n)||n}for(pu.lastIndex=0;t>=0&&pu.test(e);)e=e.replace(pu,r),pu.lastIndex=0,t-=1;return e}var Ig={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function Lg(e){var a=this._longDateFormat[e],t=this._longDateFormat[e.toUpperCase()];return a||!t?a:(this._longDateFormat[e]=t.match(Is).map(function(r){return r==="MMMM"||r==="MM"||r==="DD"||r==="dddd"?r.slice(1):r}).join(""),this._longDateFormat[e])}var Rg="Invalid date";function Yg(){return this._invalidDate}var Vg="%d",Ug=/\d{1,2}/;function zg(e){return this._ordinal.replace("%d",e)}var Hg={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function Wg(e,a,t,r){var n=this._relativeTime[t];return Qa(n)?n(e,a,t,r):n.replace(/%d/i,e)}function Gg(e,a){var t=this._relativeTime[e>0?"future":"past"];return Qa(t)?t(a):t.replace(/%s/i,a)}var pf={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function xa(e){return typeof e=="string"?pf[e]||pf[e.toLowerCase()]:void 0}function Ls(e){var a={},t,r;for(r in e)Ne(e,r)&&(t=xa(r),t&&(a[t]=e[r]));return a}var Kg={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};function Zg(e){var a=[],t;for(t in e)Ne(e,t)&&a.push({unit:t,priority:Kg[t]});return a.sort(function(r,n){return r.priority-n.priority}),a}var av=/\d/,_a=/\d\d/,rv=/\d{3}/,Rs=/\d{4}/,Qu=/[+-]?\d{6}/,ht=/\d\d?/,nv=/\d\d\d\d?/,iv=/\d\d\d\d\d\d?/,el=/\d{1,3}/,Ys=/\d{1,4}/,tl=/[+-]?\d{1,6}/,Nn=/\d+/,al=/[+-]?\d+/,Xg=/Z|[+-]\d\d:?\d\d/gi,rl=/Z|[+-]\d\d(?::?\d\d)?/gi,Jg=/[+-]?\d+(\.\d{1,3})?/,Vi=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,Pn=/^[1-9]\d?/,Vs=/^([1-9]\d|\d)/,Nu;Nu={};function ae(e,a,t){Nu[e]=Qa(a)?a:function(r,n){return r&&t?t:a}}function Qg(e,a){return Ne(Nu,e)?Nu[e](a._strict,a._locale):new RegExp(e0(e))}function e0(e){return hr(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(a,t,r,n,i){return t||r||n||i}))}function hr(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function Oa(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function ke(e){var a=+e,t=0;return a!==0&&isFinite(a)&&(t=Oa(a)),t}var gs={};function Ge(e,a){var t,r=a,n;for(typeof e=="string"&&(e=[e]),br(a)&&(r=function(i,u){u[a]=ke(i)}),n=e.length,t=0;t<n;t++)gs[e[t]]=r}function Ui(e,a){Ge(e,function(t,r,n,i){n._w=n._w||{},a(t,n._w,n,i)})}function t0(e,a,t){a!=null&&Ne(gs,e)&&gs[e](a,t._a,t,e)}function nl(e){return e%4===0&&e%100!==0||e%400===0}var ta=0,cr=1,Wa=2,Vt=3,ja=4,pr=5,Qr=6,a0=7,r0=8;ce("Y",0,0,function(){var e=this.year();return e<=9999?Za(e,4):"+"+e});ce(0,["YY",2],0,function(){return this.year()%100});ce(0,["YYYY",4],0,"year");ce(0,["YYYYY",5],0,"year");ce(0,["YYYYYY",6,!0],0,"year");ae("Y",al);ae("YY",ht,_a);ae("YYYY",Ys,Rs);ae("YYYYY",tl,Qu);ae("YYYYYY",tl,Qu);Ge(["YYYYY","YYYYYY"],ta);Ge("YYYY",function(e,a){a[ta]=e.length===2?j.parseTwoDigitYear(e):ke(e)});Ge("YY",function(e,a){a[ta]=j.parseTwoDigitYear(e)});Ge("Y",function(e,a){a[ta]=parseInt(e,10)});function $i(e){return nl(e)?366:365}j.parseTwoDigitYear=function(e){return ke(e)+(ke(e)>68?1900:2e3)};var uv=In("FullYear",!0);function n0(){return nl(this.year())}function In(e,a){return function(t){return t!=null?(lv(this,e,t),j.updateOffset(this,a),this):ki(this,e)}}function ki(e,a){if(!e.isValid())return NaN;var t=e._d,r=e._isUTC;switch(a){case"Milliseconds":return r?t.getUTCMilliseconds():t.getMilliseconds();case"Seconds":return r?t.getUTCSeconds():t.getSeconds();case"Minutes":return r?t.getUTCMinutes():t.getMinutes();case"Hours":return r?t.getUTCHours():t.getHours();case"Date":return r?t.getUTCDate():t.getDate();case"Day":return r?t.getUTCDay():t.getDay();case"Month":return r?t.getUTCMonth():t.getMonth();case"FullYear":return r?t.getUTCFullYear():t.getFullYear();default:return NaN}}function lv(e,a,t){var r,n,i,u,l;if(!(!e.isValid()||isNaN(t))){switch(r=e._d,n=e._isUTC,a){case"Milliseconds":return void(n?r.setUTCMilliseconds(t):r.setMilliseconds(t));case"Seconds":return void(n?r.setUTCSeconds(t):r.setSeconds(t));case"Minutes":return void(n?r.setUTCMinutes(t):r.setMinutes(t));case"Hours":return void(n?r.setUTCHours(t):r.setHours(t));case"Date":return void(n?r.setUTCDate(t):r.setDate(t));case"FullYear":break;default:return}i=t,u=e.month(),l=e.date(),l=l===29&&u===1&&!nl(i)?28:l,n?r.setUTCFullYear(i,u,l):r.setFullYear(i,u,l)}}function i0(e){return e=xa(e),Qa(this[e])?this[e]():this}function u0(e,a){if(typeof e=="object"){e=Ls(e);var t=Zg(e),r,n=t.length;for(r=0;r<n;r++)this[t[r].unit](e[t[r].unit])}else if(e=xa(e),Qa(this[e]))return this[e](a);return this}function l0(e,a){return(e%a+a)%a}var xt;Array.prototype.indexOf?xt=Array.prototype.indexOf:xt=function(e){var a;for(a=0;a<this.length;++a)if(this[a]===e)return a;return-1};function Us(e,a){if(isNaN(e)||isNaN(a))return NaN;var t=l0(a,12);return e+=(a-t)/12,t===1?nl(e)?29:28:31-t%7%2}ce("M",["MM",2],"Mo",function(){return this.month()+1});ce("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)});ce("MMMM",0,0,function(e){return this.localeData().months(this,e)});ae("M",ht,Pn);ae("MM",ht,_a);ae("MMM",function(e,a){return a.monthsShortRegex(e)});ae("MMMM",function(e,a){return a.monthsRegex(e)});Ge(["M","MM"],function(e,a){a[cr]=ke(e)-1});Ge(["MMM","MMMM"],function(e,a,t,r){var n=t._locale.monthsParse(e,r,t._strict);n!=null?a[cr]=n:Fe(t).invalidMonth=e});var s0="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),sv="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),ov=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,o0=Vi,f0=Vi;function d0(e,a){return e?Pa(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||ov).test(a)?"format":"standalone"][e.month()]:Pa(this._months)?this._months:this._months.standalone}function v0(e,a){return e?Pa(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[ov.test(a)?"format":"standalone"][e.month()]:Pa(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function c0(e,a,t){var r,n,i,u=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)i=Ja([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(i,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(i,"").toLocaleLowerCase();return t?a==="MMM"?(n=xt.call(this._shortMonthsParse,u),n!==-1?n:null):(n=xt.call(this._longMonthsParse,u),n!==-1?n:null):a==="MMM"?(n=xt.call(this._shortMonthsParse,u),n!==-1?n:(n=xt.call(this._longMonthsParse,u),n!==-1?n:null)):(n=xt.call(this._longMonthsParse,u),n!==-1?n:(n=xt.call(this._shortMonthsParse,u),n!==-1?n:null))}function p0(e,a,t){var r,n,i;if(this._monthsParseExact)return c0.call(this,e,a,t);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(n=Ja([2e3,r]),t&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(n,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(n,"").replace(".","")+"$","i")),!t&&!this._monthsParse[r]&&(i="^"+this.months(n,"")+"|^"+this.monthsShort(n,""),this._monthsParse[r]=new RegExp(i.replace(".",""),"i")),t&&a==="MMMM"&&this._longMonthsParse[r].test(e))return r;if(t&&a==="MMM"&&this._shortMonthsParse[r].test(e))return r;if(!t&&this._monthsParse[r].test(e))return r}}function fv(e,a){if(!e.isValid())return e;if(typeof a=="string"){if(/^\d+$/.test(a))a=ke(a);else if(a=e.localeData().monthsParse(a),!br(a))return e}var t=a,r=e.date();return r=r<29?r:Math.min(r,Us(e.year(),t)),e._isUTC?e._d.setUTCMonth(t,r):e._d.setMonth(t,r),e}function dv(e){return e!=null?(fv(this,e),j.updateOffset(this,!0),this):ki(this,"Month")}function m0(){return Us(this.year(),this.month())}function h0(e){return this._monthsParseExact?(Ne(this,"_monthsRegex")||vv.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(Ne(this,"_monthsShortRegex")||(this._monthsShortRegex=o0),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function g0(e){return this._monthsParseExact?(Ne(this,"_monthsRegex")||vv.call(this),e?this._monthsStrictRegex:this._monthsRegex):(Ne(this,"_monthsRegex")||(this._monthsRegex=f0),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function vv(){function e(s,o){return o.length-s.length}var a=[],t=[],r=[],n,i,u,l;for(n=0;n<12;n++)i=Ja([2e3,n]),u=hr(this.monthsShort(i,"")),l=hr(this.months(i,"")),a.push(u),t.push(l),r.push(l),r.push(u);a.sort(e),t.sort(e),r.sort(e),this._monthsRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+t.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+a.join("|")+")","i")}function y0(e,a,t,r,n,i,u){var l;return e<100&&e>=0?(l=new Date(e+400,a,t,r,n,i,u),isFinite(l.getFullYear())&&l.setFullYear(e)):l=new Date(e,a,t,r,n,i,u),l}function Bi(e){var a,t;return e<100&&e>=0?(t=Array.prototype.slice.call(arguments),t[0]=e+400,a=new Date(Date.UTC.apply(null,t)),isFinite(a.getUTCFullYear())&&a.setUTCFullYear(e)):a=new Date(Date.UTC.apply(null,arguments)),a}function Pu(e,a,t){var r=7+a-t,n=(7+Bi(e,0,r).getUTCDay()-a)%7;return-n+r-1}function cv(e,a,t,r,n){var i=(7+t-r)%7,u=Pu(e,r,n),l=1+7*(a-1)+i+u,s,o;return l<=0?(s=e-1,o=$i(s)+l):l>$i(e)?(s=e+1,o=l-$i(e)):(s=e,o=l),{year:s,dayOfYear:o}}function qi(e,a,t){var r=Pu(e.year(),a,t),n=Math.floor((e.dayOfYear()-r-1)/7)+1,i,u;return n<1?(u=e.year()-1,i=n+gr(u,a,t)):n>gr(e.year(),a,t)?(i=n-gr(e.year(),a,t),u=e.year()+1):(u=e.year(),i=n),{week:i,year:u}}function gr(e,a,t){var r=Pu(e,a,t),n=Pu(e+1,a,t);return($i(e)-r+n)/7}ce("w",["ww",2],"wo","week");ce("W",["WW",2],"Wo","isoWeek");ae("w",ht,Pn);ae("ww",ht,_a);ae("W",ht,Pn);ae("WW",ht,_a);Ui(["w","ww","W","WW"],function(e,a,t,r){a[r.substr(0,1)]=ke(e)});function b0(e){return qi(e,this._week.dow,this._week.doy).week}var A0={dow:0,doy:6};function _0(){return this._week.dow}function D0(){return this._week.doy}function $0(e){var a=this.localeData().week(this);return e==null?a:this.add((e-a)*7,"d")}function w0(e){var a=qi(this,1,4).week;return e==null?a:this.add((e-a)*7,"d")}ce("d",0,"do","day");ce("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)});ce("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)});ce("dddd",0,0,function(e){return this.localeData().weekdays(this,e)});ce("e",0,0,"weekday");ce("E",0,0,"isoWeekday");ae("d",ht);ae("e",ht);ae("E",ht);ae("dd",function(e,a){return a.weekdaysMinRegex(e)});ae("ddd",function(e,a){return a.weekdaysShortRegex(e)});ae("dddd",function(e,a){return a.weekdaysRegex(e)});Ui(["dd","ddd","dddd"],function(e,a,t,r){var n=t._locale.weekdaysParse(e,r,t._strict);n!=null?a.d=n:Fe(t).invalidWeekday=e});Ui(["d","e","E"],function(e,a,t,r){a[r]=ke(e)});function C0(e,a){return typeof e!="string"?e:isNaN(e)?(e=a.weekdaysParse(e),typeof e=="number"?e:null):parseInt(e,10)}function S0(e,a){return typeof e=="string"?a.weekdaysParse(e)%7||7:isNaN(e)?null:e}function zs(e,a){return e.slice(a,7).concat(e.slice(0,a))}var F0="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),pv="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),O0="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),E0=Vi,x0=Vi,T0=Vi;function M0(e,a){var t=Pa(this._weekdays)?this._weekdays:this._weekdays[e&&e!==!0&&this._weekdays.isFormat.test(a)?"format":"standalone"];return e===!0?zs(t,this._week.dow):e?t[e.day()]:t}function k0(e){return e===!0?zs(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function B0(e){return e===!0?zs(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function q0(e,a,t){var r,n,i,u=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)i=Ja([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(i,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(i,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(i,"").toLocaleLowerCase();return t?a==="dddd"?(n=xt.call(this._weekdaysParse,u),n!==-1?n:null):a==="ddd"?(n=xt.call(this._shortWeekdaysParse,u),n!==-1?n:null):(n=xt.call(this._minWeekdaysParse,u),n!==-1?n:null):a==="dddd"?(n=xt.call(this._weekdaysParse,u),n!==-1||(n=xt.call(this._shortWeekdaysParse,u),n!==-1)?n:(n=xt.call(this._minWeekdaysParse,u),n!==-1?n:null)):a==="ddd"?(n=xt.call(this._shortWeekdaysParse,u),n!==-1||(n=xt.call(this._weekdaysParse,u),n!==-1)?n:(n=xt.call(this._minWeekdaysParse,u),n!==-1?n:null)):(n=xt.call(this._minWeekdaysParse,u),n!==-1||(n=xt.call(this._weekdaysParse,u),n!==-1)?n:(n=xt.call(this._shortWeekdaysParse,u),n!==-1?n:null))}function j0(e,a,t){var r,n,i;if(this._weekdaysParseExact)return q0.call(this,e,a,t);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(n=Ja([2e3,1]).day(r),t&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(n,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(n,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(n,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(i="^"+this.weekdays(n,"")+"|^"+this.weekdaysShort(n,"")+"|^"+this.weekdaysMin(n,""),this._weekdaysParse[r]=new RegExp(i.replace(".",""),"i")),t&&a==="dddd"&&this._fullWeekdaysParse[r].test(e))return r;if(t&&a==="ddd"&&this._shortWeekdaysParse[r].test(e))return r;if(t&&a==="dd"&&this._minWeekdaysParse[r].test(e))return r;if(!t&&this._weekdaysParse[r].test(e))return r}}function N0(e){if(!this.isValid())return e!=null?this:NaN;var a=ki(this,"Day");return e!=null?(e=C0(e,this.localeData()),this.add(e-a,"d")):a}function P0(e){if(!this.isValid())return e!=null?this:NaN;var a=(this.day()+7-this.localeData()._week.dow)%7;return e==null?a:this.add(e-a,"d")}function I0(e){if(!this.isValid())return e!=null?this:NaN;if(e!=null){var a=S0(e,this.localeData());return this.day(this.day()%7?a:a-7)}else return this.day()||7}function L0(e){return this._weekdaysParseExact?(Ne(this,"_weekdaysRegex")||Hs.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(Ne(this,"_weekdaysRegex")||(this._weekdaysRegex=E0),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function R0(e){return this._weekdaysParseExact?(Ne(this,"_weekdaysRegex")||Hs.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(Ne(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=x0),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Y0(e){return this._weekdaysParseExact?(Ne(this,"_weekdaysRegex")||Hs.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(Ne(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=T0),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Hs(){function e(f,v){return v.length-f.length}var a=[],t=[],r=[],n=[],i,u,l,s,o;for(i=0;i<7;i++)u=Ja([2e3,1]).day(i),l=hr(this.weekdaysMin(u,"")),s=hr(this.weekdaysShort(u,"")),o=hr(this.weekdays(u,"")),a.push(l),t.push(s),r.push(o),n.push(l),n.push(s),n.push(o);a.sort(e),t.sort(e),r.sort(e),n.sort(e),this._weekdaysRegex=new RegExp("^("+n.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+t.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function Ws(){return this.hours()%12||12}function V0(){return this.hours()||24}ce("H",["HH",2],0,"hour");ce("h",["hh",2],0,Ws);ce("k",["kk",2],0,V0);ce("hmm",0,0,function(){return""+Ws.apply(this)+Za(this.minutes(),2)});ce("hmmss",0,0,function(){return""+Ws.apply(this)+Za(this.minutes(),2)+Za(this.seconds(),2)});ce("Hmm",0,0,function(){return""+this.hours()+Za(this.minutes(),2)});ce("Hmmss",0,0,function(){return""+this.hours()+Za(this.minutes(),2)+Za(this.seconds(),2)});function mv(e,a){ce(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),a)})}mv("a",!0);mv("A",!1);function hv(e,a){return a._meridiemParse}ae("a",hv);ae("A",hv);ae("H",ht,Vs);ae("h",ht,Pn);ae("k",ht,Pn);ae("HH",ht,_a);ae("hh",ht,_a);ae("kk",ht,_a);ae("hmm",nv);ae("hmmss",iv);ae("Hmm",nv);ae("Hmmss",iv);Ge(["H","HH"],Vt);Ge(["k","kk"],function(e,a,t){var r=ke(e);a[Vt]=r===24?0:r});Ge(["a","A"],function(e,a,t){t._isPm=t._locale.isPM(e),t._meridiem=e});Ge(["h","hh"],function(e,a,t){a[Vt]=ke(e),Fe(t).bigHour=!0});Ge("hmm",function(e,a,t){var r=e.length-2;a[Vt]=ke(e.substr(0,r)),a[ja]=ke(e.substr(r)),Fe(t).bigHour=!0});Ge("hmmss",function(e,a,t){var r=e.length-4,n=e.length-2;a[Vt]=ke(e.substr(0,r)),a[ja]=ke(e.substr(r,2)),a[pr]=ke(e.substr(n)),Fe(t).bigHour=!0});Ge("Hmm",function(e,a,t){var r=e.length-2;a[Vt]=ke(e.substr(0,r)),a[ja]=ke(e.substr(r))});Ge("Hmmss",function(e,a,t){var r=e.length-4,n=e.length-2;a[Vt]=ke(e.substr(0,r)),a[ja]=ke(e.substr(r,2)),a[pr]=ke(e.substr(n))});function U0(e){return(e+"").toLowerCase().charAt(0)==="p"}var z0=/[ap]\.?m?\.?/i,H0=In("Hours",!0);function W0(e,a,t){return e>11?t?"pm":"PM":t?"am":"AM"}var gv={calendar:qg,longDateFormat:Ig,invalidDate:Rg,ordinal:Vg,dayOfMonthOrdinalParse:Ug,relativeTime:Hg,months:s0,monthsShort:sv,week:A0,weekdays:F0,weekdaysMin:O0,weekdaysShort:pv,meridiemParse:z0},_t={},fi={},ji;function G0(e,a){var t,r=Math.min(e.length,a.length);for(t=0;t<r;t+=1)if(e[t]!==a[t])return t;return r}function mf(e){return e&&e.toLowerCase().replace("_","-")}function K0(e){for(var a=0,t,r,n,i;a<e.length;){for(i=mf(e[a]).split("-"),t=i.length,r=mf(e[a+1]),r=r?r.split("-"):null;t>0;){if(n=il(i.slice(0,t).join("-")),n)return n;if(r&&r.length>=t&&G0(i,r)>=t-1)break;t--}a++}return ji}function Z0(e){return!!(e&&e.match("^[^/\\\\]*$"))}function il(e){var a=null,t;if(_t[e]===void 0&&typeof module<"u"&&module&&module.exports&&Z0(e))try{a=ji._abbr,t=require,t("./locale/"+e),Br(a)}catch{_t[e]=null}return _t[e]}function Br(e,a){var t;return e&&(fa(a)?t=_r(e):t=Gs(e,a),t?ji=t:typeof console<"u"&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),ji._abbr}function Gs(e,a){if(a!==null){var t,r=gv;if(a.abbr=e,_t[e]!=null)ev("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=_t[e]._config;else if(a.parentLocale!=null)if(_t[a.parentLocale]!=null)r=_t[a.parentLocale]._config;else if(t=il(a.parentLocale),t!=null)r=t._config;else return fi[a.parentLocale]||(fi[a.parentLocale]=[]),fi[a.parentLocale].push({name:e,config:a}),null;return _t[e]=new Ps(ms(r,a)),fi[e]&&fi[e].forEach(function(n){Gs(n.name,n.config)}),Br(e),_t[e]}else return delete _t[e],null}function X0(e,a){if(a!=null){var t,r,n=gv;_t[e]!=null&&_t[e].parentLocale!=null?_t[e].set(ms(_t[e]._config,a)):(r=il(e),r!=null&&(n=r._config),a=ms(n,a),r==null&&(a.abbr=e),t=new Ps(a),t.parentLocale=_t[e],_t[e]=t),Br(e)}else _t[e]!=null&&(_t[e].parentLocale!=null?(_t[e]=_t[e].parentLocale,e===Br()&&Br(e)):_t[e]!=null&&delete _t[e]);return _t[e]}function _r(e){var a;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return ji;if(!Pa(e)){if(a=il(e),a)return a;e=[e]}return K0(e)}function J0(){return hs(_t)}function Ks(e){var a,t=e._a;return t&&Fe(e).overflow===-2&&(a=t[cr]<0||t[cr]>11?cr:t[Wa]<1||t[Wa]>Us(t[ta],t[cr])?Wa:t[Vt]<0||t[Vt]>24||t[Vt]===24&&(t[ja]!==0||t[pr]!==0||t[Qr]!==0)?Vt:t[ja]<0||t[ja]>59?ja:t[pr]<0||t[pr]>59?pr:t[Qr]<0||t[Qr]>999?Qr:-1,Fe(e)._overflowDayOfYear&&(a<ta||a>Wa)&&(a=Wa),Fe(e)._overflowWeeks&&a===-1&&(a=a0),Fe(e)._overflowWeekday&&a===-1&&(a=r0),Fe(e).overflow=a),e}var Q0=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ey=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ty=/Z|[+-]\d\d(?::?\d\d)?/,mu=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],Yl=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],ay=/^\/?Date\((-?\d+)/i,ry=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,ny={UT:0,GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function yv(e){var a,t,r=e._i,n=Q0.exec(r)||ey.exec(r),i,u,l,s,o=mu.length,f=Yl.length;if(n){for(Fe(e).iso=!0,a=0,t=o;a<t;a++)if(mu[a][1].exec(n[1])){u=mu[a][0],i=mu[a][2]!==!1;break}if(u==null){e._isValid=!1;return}if(n[3]){for(a=0,t=f;a<t;a++)if(Yl[a][1].exec(n[3])){l=(n[2]||" ")+Yl[a][0];break}if(l==null){e._isValid=!1;return}}if(!i&&l!=null){e._isValid=!1;return}if(n[4])if(ty.exec(n[4]))s="Z";else{e._isValid=!1;return}e._f=u+(l||"")+(s||""),Xs(e)}else e._isValid=!1}function iy(e,a,t,r,n,i){var u=[uy(e),sv.indexOf(a),parseInt(t,10),parseInt(r,10),parseInt(n,10)];return i&&u.push(parseInt(i,10)),u}function uy(e){var a=parseInt(e,10);return a<=49?2e3+a:a<=999?1900+a:a}function ly(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function sy(e,a,t){if(e){var r=pv.indexOf(e),n=new Date(a[0],a[1],a[2]).getDay();if(r!==n)return Fe(t).weekdayMismatch=!0,t._isValid=!1,!1}return!0}function oy(e,a,t){if(e)return ny[e];if(a)return 0;var r=parseInt(t,10),n=r%100,i=(r-n)/100;return i*60+n}function bv(e){var a=ry.exec(ly(e._i)),t;if(a){if(t=iy(a[4],a[3],a[2],a[5],a[6],a[7]),!sy(a[1],t,e))return;e._a=t,e._tzm=oy(a[8],a[9],a[10]),e._d=Bi.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),Fe(e).rfc2822=!0}else e._isValid=!1}function fy(e){var a=ay.exec(e._i);if(a!==null){e._d=new Date(+a[1]);return}if(yv(e),e._isValid===!1)delete e._isValid;else return;if(bv(e),e._isValid===!1)delete e._isValid;else return;e._strict?e._isValid=!1:j.createFromInputFallback(e)}j.createFromInputFallback=Ea("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))});function $n(e,a,t){return e??a??t}function dy(e){var a=new Date(j.now());return e._useUTC?[a.getUTCFullYear(),a.getUTCMonth(),a.getUTCDate()]:[a.getFullYear(),a.getMonth(),a.getDate()]}function Zs(e){var a,t,r=[],n,i,u;if(!e._d){for(n=dy(e),e._w&&e._a[Wa]==null&&e._a[cr]==null&&vy(e),e._dayOfYear!=null&&(u=$n(e._a[ta],n[ta]),(e._dayOfYear>$i(u)||e._dayOfYear===0)&&(Fe(e)._overflowDayOfYear=!0),t=Bi(u,0,e._dayOfYear),e._a[cr]=t.getUTCMonth(),e._a[Wa]=t.getUTCDate()),a=0;a<3&&e._a[a]==null;++a)e._a[a]=r[a]=n[a];for(;a<7;a++)e._a[a]=r[a]=e._a[a]==null?a===2?1:0:e._a[a];e._a[Vt]===24&&e._a[ja]===0&&e._a[pr]===0&&e._a[Qr]===0&&(e._nextDay=!0,e._a[Vt]=0),e._d=(e._useUTC?Bi:y0).apply(null,r),i=e._useUTC?e._d.getUTCDay():e._d.getDay(),e._tzm!=null&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[Vt]=24),e._w&&typeof e._w.d<"u"&&e._w.d!==i&&(Fe(e).weekdayMismatch=!0)}}function vy(e){var a,t,r,n,i,u,l,s,o;a=e._w,a.GG!=null||a.W!=null||a.E!=null?(i=1,u=4,t=$n(a.GG,e._a[ta],qi(mt(),1,4).year),r=$n(a.W,1),n=$n(a.E,1),(n<1||n>7)&&(s=!0)):(i=e._locale._week.dow,u=e._locale._week.doy,o=qi(mt(),i,u),t=$n(a.gg,e._a[ta],o.year),r=$n(a.w,o.week),a.d!=null?(n=a.d,(n<0||n>6)&&(s=!0)):a.e!=null?(n=a.e+i,(a.e<0||a.e>6)&&(s=!0)):n=i),r<1||r>gr(t,i,u)?Fe(e)._overflowWeeks=!0:s!=null?Fe(e)._overflowWeekday=!0:(l=cv(t,r,n,i,u),e._a[ta]=l.year,e._dayOfYear=l.dayOfYear)}j.ISO_8601=function(){};j.RFC_2822=function(){};function Xs(e){if(e._f===j.ISO_8601){yv(e);return}if(e._f===j.RFC_2822){bv(e);return}e._a=[],Fe(e).empty=!0;var a=""+e._i,t,r,n,i,u,l=a.length,s=0,o,f;for(n=tv(e._f,e._locale).match(Is)||[],f=n.length,t=0;t<f;t++)i=n[t],r=(a.match(Qg(i,e))||[])[0],r&&(u=a.substr(0,a.indexOf(r)),u.length>0&&Fe(e).unusedInput.push(u),a=a.slice(a.indexOf(r)+r.length),s+=r.length),xn[i]?(r?Fe(e).empty=!1:Fe(e).unusedTokens.push(i),t0(i,r,e)):e._strict&&!r&&Fe(e).unusedTokens.push(i);Fe(e).charsLeftOver=l-s,a.length>0&&Fe(e).unusedInput.push(a),e._a[Vt]<=12&&Fe(e).bigHour===!0&&e._a[Vt]>0&&(Fe(e).bigHour=void 0),Fe(e).parsedDateParts=e._a.slice(0),Fe(e).meridiem=e._meridiem,e._a[Vt]=cy(e._locale,e._a[Vt],e._meridiem),o=Fe(e).era,o!==null&&(e._a[ta]=e._locale.erasConvertYear(o,e._a[ta])),Zs(e),Ks(e)}function cy(e,a,t){var r;return t==null?a:e.meridiemHour!=null?e.meridiemHour(a,t):(e.isPM!=null&&(r=e.isPM(t),r&&a<12&&(a+=12),!r&&a===12&&(a=0)),a)}function py(e){var a,t,r,n,i,u,l=!1,s=e._f.length;if(s===0){Fe(e).invalidFormat=!0,e._d=new Date(NaN);return}for(n=0;n<s;n++)i=0,u=!1,a=Ns({},e),e._useUTC!=null&&(a._useUTC=e._useUTC),a._f=e._f[n],Xs(a),js(a)&&(u=!0),i+=Fe(a).charsLeftOver,i+=Fe(a).unusedTokens.length*10,Fe(a).score=i,l?i<r&&(r=i,t=a):(r==null||i<r||u)&&(r=i,t=a,u&&(l=!0));xr(e,t||a)}function my(e){if(!e._d){var a=Ls(e._i),t=a.day===void 0?a.date:a.day;e._a=Jd([a.year,a.month,t,a.hour,a.minute,a.second,a.millisecond],function(r){return r&&parseInt(r,10)}),Zs(e)}}function hy(e){var a=new Yi(Ks(Av(e)));return a._nextDay&&(a.add(1,"d"),a._nextDay=void 0),a}function Av(e){var a=e._i,t=e._f;return e._locale=e._locale||_r(e._l),a===null||t===void 0&&a===""?Ju({nullInput:!0}):(typeof a=="string"&&(e._i=a=e._locale.preparse(a)),Ia(a)?new Yi(Ks(a)):(Ri(a)?e._d=a:Pa(t)?py(e):t?Xs(e):gy(e),js(e)||(e._d=null),e))}function gy(e){var a=e._i;fa(a)?e._d=new Date(j.now()):Ri(a)?e._d=new Date(a.valueOf()):typeof a=="string"?fy(e):Pa(a)?(e._a=Jd(a.slice(0),function(t){return parseInt(t,10)}),Zs(e)):en(a)?my(e):br(a)?e._d=new Date(a):j.createFromInputFallback(e)}function _v(e,a,t,r,n){var i={};return(a===!0||a===!1)&&(r=a,a=void 0),(t===!0||t===!1)&&(r=t,t=void 0),(en(e)&&qs(e)||Pa(e)&&e.length===0)&&(e=void 0),i._isAMomentObject=!0,i._useUTC=i._isUTC=n,i._l=t,i._i=e,i._f=a,i._strict=r,hy(i)}function mt(e,a,t,r){return _v(e,a,t,r,!1)}var yy=Ea("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=mt.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:Ju()}),by=Ea("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=mt.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:Ju()});function Dv(e,a){var t,r;if(a.length===1&&Pa(a[0])&&(a=a[0]),!a.length)return mt();for(t=a[0],r=1;r<a.length;++r)(!a[r].isValid()||a[r][e](t))&&(t=a[r]);return t}function Ay(){var e=[].slice.call(arguments,0);return Dv("isBefore",e)}function _y(){var e=[].slice.call(arguments,0);return Dv("isAfter",e)}var Dy=function(){return Date.now?Date.now():+new Date},di=["year","quarter","month","week","day","hour","minute","second","millisecond"];function $y(e){var a,t=!1,r,n=di.length;for(a in e)if(Ne(e,a)&&!(xt.call(di,a)!==-1&&(e[a]==null||!isNaN(e[a]))))return!1;for(r=0;r<n;++r)if(e[di[r]]){if(t)return!1;parseFloat(e[di[r]])!==ke(e[di[r]])&&(t=!0)}return!0}function wy(){return this._isValid}function Cy(){return Ra(NaN)}function ul(e){var a=Ls(e),t=a.year||0,r=a.quarter||0,n=a.month||0,i=a.week||a.isoWeek||0,u=a.day||0,l=a.hour||0,s=a.minute||0,o=a.second||0,f=a.millisecond||0;this._isValid=$y(a),this._milliseconds=+f+o*1e3+s*6e4+l*1e3*60*60,this._days=+u+i*7,this._months=+n+r*3+t*12,this._data={},this._locale=_r(),this._bubble()}function Fu(e){return e instanceof ul}function ys(e){return e<0?Math.round(-1*e)*-1:Math.round(e)}function Sy(e,a,t){var r=Math.min(e.length,a.length),n=Math.abs(e.length-a.length),i=0,u;for(u=0;u<r;u++)(t&&e[u]!==a[u]||!t&&ke(e[u])!==ke(a[u]))&&i++;return i+n}function $v(e,a){ce(e,0,0,function(){var t=this.utcOffset(),r="+";return t<0&&(t=-t,r="-"),r+Za(~~(t/60),2)+a+Za(~~t%60,2)})}$v("Z",":");$v("ZZ","");ae("Z",rl);ae("ZZ",rl);Ge(["Z","ZZ"],function(e,a,t){t._useUTC=!0,t._tzm=Js(rl,e)});var Fy=/([\+\-]|\d\d)/gi;function Js(e,a){var t=(a||"").match(e),r,n,i;return t===null?null:(r=t[t.length-1]||[],n=(r+"").match(Fy)||["-",0,0],i=+(n[1]*60)+ke(n[2]),i===0?0:n[0]==="+"?i:-i)}function Qs(e,a){var t,r;return a._isUTC?(t=a.clone(),r=(Ia(e)||Ri(e)?e.valueOf():mt(e).valueOf())-t.valueOf(),t._d.setTime(t._d.valueOf()+r),j.updateOffset(t,!1),t):mt(e).local()}function bs(e){return-Math.round(e._d.getTimezoneOffset())}j.updateOffset=function(){};function Oy(e,a,t){var r=this._offset||0,n;if(!this.isValid())return e!=null?this:NaN;if(e!=null){if(typeof e=="string"){if(e=Js(rl,e),e===null)return this}else Math.abs(e)<16&&!t&&(e=e*60);return!this._isUTC&&a&&(n=bs(this)),this._offset=e,this._isUTC=!0,n!=null&&this.add(n,"m"),r!==e&&(!a||this._changeInProgress?Sv(this,Ra(e-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,j.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?r:bs(this)}function Ey(e,a){return e!=null?(typeof e!="string"&&(e=-e),this.utcOffset(e,a),this):-this.utcOffset()}function xy(e){return this.utcOffset(0,e)}function Ty(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(bs(this),"m")),this}function My(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var e=Js(Xg,this._i);e!=null?this.utcOffset(e):this.utcOffset(0,!0)}return this}function ky(e){return this.isValid()?(e=e?mt(e).utcOffset():0,(this.utcOffset()-e)%60===0):!1}function By(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function qy(){if(!fa(this._isDSTShifted))return this._isDSTShifted;var e={},a;return Ns(e,this),e=Av(e),e._a?(a=e._isUTC?Ja(e._a):mt(e._a),this._isDSTShifted=this.isValid()&&Sy(e._a,a.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function jy(){return this.isValid()?!this._isUTC:!1}function Ny(){return this.isValid()?this._isUTC:!1}function wv(){return this.isValid()?this._isUTC&&this._offset===0:!1}var Py=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Iy=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Ra(e,a){var t=e,r=null,n,i,u;return Fu(e)?t={ms:e._milliseconds,d:e._days,M:e._months}:br(e)||!isNaN(+e)?(t={},a?t[a]=+e:t.milliseconds=+e):(r=Py.exec(e))?(n=r[1]==="-"?-1:1,t={y:0,d:ke(r[Wa])*n,h:ke(r[Vt])*n,m:ke(r[ja])*n,s:ke(r[pr])*n,ms:ke(ys(r[Qr]*1e3))*n}):(r=Iy.exec(e))?(n=r[1]==="-"?-1:1,t={y:Rr(r[2],n),M:Rr(r[3],n),w:Rr(r[4],n),d:Rr(r[5],n),h:Rr(r[6],n),m:Rr(r[7],n),s:Rr(r[8],n)}):t==null?t={}:typeof t=="object"&&("from"in t||"to"in t)&&(u=Ly(mt(t.from),mt(t.to)),t={},t.ms=u.milliseconds,t.M=u.months),i=new ul(t),Fu(e)&&Ne(e,"_locale")&&(i._locale=e._locale),Fu(e)&&Ne(e,"_isValid")&&(i._isValid=e._isValid),i}Ra.fn=ul.prototype;Ra.invalid=Cy;function Rr(e,a){var t=e&&parseFloat(e.replace(",","."));return(isNaN(t)?0:t)*a}function hf(e,a){var t={};return t.months=a.month()-e.month()+(a.year()-e.year())*12,e.clone().add(t.months,"M").isAfter(a)&&--t.months,t.milliseconds=+a-+e.clone().add(t.months,"M"),t}function Ly(e,a){var t;return e.isValid()&&a.isValid()?(a=Qs(a,e),e.isBefore(a)?t=hf(e,a):(t=hf(a,e),t.milliseconds=-t.milliseconds,t.months=-t.months),t):{milliseconds:0,months:0}}function Cv(e,a){return function(t,r){var n,i;return r!==null&&!isNaN(+r)&&(ev(a,"moment()."+a+"(period, number) is deprecated. Please use moment()."+a+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=t,t=r,r=i),n=Ra(t,r),Sv(this,n,e),this}}function Sv(e,a,t,r){var n=a._milliseconds,i=ys(a._days),u=ys(a._months);e.isValid()&&(r=r??!0,u&&fv(e,ki(e,"Month")+u*t),i&&lv(e,"Date",ki(e,"Date")+i*t),n&&e._d.setTime(e._d.valueOf()+n*t),r&&j.updateOffset(e,i||u))}var Ry=Cv(1,"add"),Yy=Cv(-1,"subtract");function Fv(e){return typeof e=="string"||e instanceof String}function Vy(e){return Ia(e)||Ri(e)||Fv(e)||br(e)||zy(e)||Uy(e)||e===null||e===void 0}function Uy(e){var a=en(e)&&!qs(e),t=!1,r=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],n,i,u=r.length;for(n=0;n<u;n+=1)i=r[n],t=t||Ne(e,i);return a&&t}function zy(e){var a=Pa(e),t=!1;return a&&(t=e.filter(function(r){return!br(r)&&Fv(e)}).length===0),a&&t}function Hy(e){var a=en(e)&&!qs(e),t=!1,r=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],n,i;for(n=0;n<r.length;n+=1)i=r[n],t=t||Ne(e,i);return a&&t}function Wy(e,a){var t=e.diff(a,"days",!0);return t<-6?"sameElse":t<-1?"lastWeek":t<0?"lastDay":t<1?"sameDay":t<2?"nextDay":t<7?"nextWeek":"sameElse"}function Gy(e,a){arguments.length===1&&(arguments[0]?Vy(arguments[0])?(e=arguments[0],a=void 0):Hy(arguments[0])&&(a=arguments[0],e=void 0):(e=void 0,a=void 0));var t=e||mt(),r=Qs(t,this).startOf("day"),n=j.calendarFormat(this,r)||"sameElse",i=a&&(Qa(a[n])?a[n].call(this,t):a[n]);return this.format(i||this.localeData().calendar(n,this,mt(t)))}function Ky(){return new Yi(this)}function Zy(e,a){var t=Ia(e)?e:mt(e);return this.isValid()&&t.isValid()?(a=xa(a)||"millisecond",a==="millisecond"?this.valueOf()>t.valueOf():t.valueOf()<this.clone().startOf(a).valueOf()):!1}function Xy(e,a){var t=Ia(e)?e:mt(e);return this.isValid()&&t.isValid()?(a=xa(a)||"millisecond",a==="millisecond"?this.valueOf()<t.valueOf():this.clone().endOf(a).valueOf()<t.valueOf()):!1}function Jy(e,a,t,r){var n=Ia(e)?e:mt(e),i=Ia(a)?a:mt(a);return this.isValid()&&n.isValid()&&i.isValid()?(r=r||"()",(r[0]==="("?this.isAfter(n,t):!this.isBefore(n,t))&&(r[1]===")"?this.isBefore(i,t):!this.isAfter(i,t))):!1}function Qy(e,a){var t=Ia(e)?e:mt(e),r;return this.isValid()&&t.isValid()?(a=xa(a)||"millisecond",a==="millisecond"?this.valueOf()===t.valueOf():(r=t.valueOf(),this.clone().startOf(a).valueOf()<=r&&r<=this.clone().endOf(a).valueOf())):!1}function eb(e,a){return this.isSame(e,a)||this.isAfter(e,a)}function tb(e,a){return this.isSame(e,a)||this.isBefore(e,a)}function ab(e,a,t){var r,n,i;if(!this.isValid())return NaN;if(r=Qs(e,this),!r.isValid())return NaN;switch(n=(r.utcOffset()-this.utcOffset())*6e4,a=xa(a),a){case"year":i=Ou(this,r)/12;break;case"month":i=Ou(this,r);break;case"quarter":i=Ou(this,r)/3;break;case"second":i=(this-r)/1e3;break;case"minute":i=(this-r)/6e4;break;case"hour":i=(this-r)/36e5;break;case"day":i=(this-r-n)/864e5;break;case"week":i=(this-r-n)/6048e5;break;default:i=this-r}return t?i:Oa(i)}function Ou(e,a){if(e.date()<a.date())return-Ou(a,e);var t=(a.year()-e.year())*12+(a.month()-e.month()),r=e.clone().add(t,"months"),n,i;return a-r<0?(n=e.clone().add(t-1,"months"),i=(a-r)/(r-n)):(n=e.clone().add(t+1,"months"),i=(a-r)/(n-r)),-(t+i)||0}j.defaultFormat="YYYY-MM-DDTHH:mm:ssZ";j.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function rb(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function nb(e){if(!this.isValid())return null;var a=e!==!0,t=a?this.clone().utc():this;return t.year()<0||t.year()>9999?Su(t,a?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):Qa(Date.prototype.toISOString)?a?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",Su(t,"Z")):Su(t,a?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function ib(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",a="",t,r,n,i;return this.isLocal()||(e=this.utcOffset()===0?"moment.utc":"moment.parseZone",a="Z"),t="["+e+'("]',r=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",n="-MM-DD[T]HH:mm:ss.SSS",i=a+'[")]',this.format(t+r+n+i)}function ub(e){e||(e=this.isUtc()?j.defaultFormatUtc:j.defaultFormat);var a=Su(this,e);return this.localeData().postformat(a)}function lb(e,a){return this.isValid()&&(Ia(e)&&e.isValid()||mt(e).isValid())?Ra({to:this,from:e}).locale(this.locale()).humanize(!a):this.localeData().invalidDate()}function sb(e){return this.from(mt(),e)}function ob(e,a){return this.isValid()&&(Ia(e)&&e.isValid()||mt(e).isValid())?Ra({from:this,to:e}).locale(this.locale()).humanize(!a):this.localeData().invalidDate()}function fb(e){return this.to(mt(),e)}function Ov(e){var a;return e===void 0?this._locale._abbr:(a=_r(e),a!=null&&(this._locale=a),this)}var Ev=Ea("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return e===void 0?this.localeData():this.locale(e)});function xv(){return this._locale}var Iu=1e3,Tn=60*Iu,Lu=60*Tn,Tv=(365*400+97)*24*Lu;function Mn(e,a){return(e%a+a)%a}function Mv(e,a,t){return e<100&&e>=0?new Date(e+400,a,t)-Tv:new Date(e,a,t).valueOf()}function kv(e,a,t){return e<100&&e>=0?Date.UTC(e+400,a,t)-Tv:Date.UTC(e,a,t)}function db(e){var a,t;if(e=xa(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(t=this._isUTC?kv:Mv,e){case"year":a=t(this.year(),0,1);break;case"quarter":a=t(this.year(),this.month()-this.month()%3,1);break;case"month":a=t(this.year(),this.month(),1);break;case"week":a=t(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":a=t(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":a=t(this.year(),this.month(),this.date());break;case"hour":a=this._d.valueOf(),a-=Mn(a+(this._isUTC?0:this.utcOffset()*Tn),Lu);break;case"minute":a=this._d.valueOf(),a-=Mn(a,Tn);break;case"second":a=this._d.valueOf(),a-=Mn(a,Iu);break}return this._d.setTime(a),j.updateOffset(this,!0),this}function vb(e){var a,t;if(e=xa(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(t=this._isUTC?kv:Mv,e){case"year":a=t(this.year()+1,0,1)-1;break;case"quarter":a=t(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":a=t(this.year(),this.month()+1,1)-1;break;case"week":a=t(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":a=t(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":a=t(this.year(),this.month(),this.date()+1)-1;break;case"hour":a=this._d.valueOf(),a+=Lu-Mn(a+(this._isUTC?0:this.utcOffset()*Tn),Lu)-1;break;case"minute":a=this._d.valueOf(),a+=Tn-Mn(a,Tn)-1;break;case"second":a=this._d.valueOf(),a+=Iu-Mn(a,Iu)-1;break}return this._d.setTime(a),j.updateOffset(this,!0),this}function cb(){return this._d.valueOf()-(this._offset||0)*6e4}function pb(){return Math.floor(this.valueOf()/1e3)}function mb(){return new Date(this.valueOf())}function hb(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function gb(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function yb(){return this.isValid()?this.toISOString():null}function bb(){return js(this)}function Ab(){return xr({},Fe(this))}function _b(){return Fe(this).overflow}function Db(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}ce("N",0,0,"eraAbbr");ce("NN",0,0,"eraAbbr");ce("NNN",0,0,"eraAbbr");ce("NNNN",0,0,"eraName");ce("NNNNN",0,0,"eraNarrow");ce("y",["y",1],"yo","eraYear");ce("y",["yy",2],0,"eraYear");ce("y",["yyy",3],0,"eraYear");ce("y",["yyyy",4],0,"eraYear");ae("N",eo);ae("NN",eo);ae("NNN",eo);ae("NNNN",kb);ae("NNNNN",Bb);Ge(["N","NN","NNN","NNNN","NNNNN"],function(e,a,t,r){var n=t._locale.erasParse(e,r,t._strict);n?Fe(t).era=n:Fe(t).invalidEra=e});ae("y",Nn);ae("yy",Nn);ae("yyy",Nn);ae("yyyy",Nn);ae("yo",qb);Ge(["y","yy","yyy","yyyy"],ta);Ge(["yo"],function(e,a,t,r){var n;t._locale._eraYearOrdinalRegex&&(n=e.match(t._locale._eraYearOrdinalRegex)),t._locale.eraYearOrdinalParse?a[ta]=t._locale.eraYearOrdinalParse(e,n):a[ta]=parseInt(e,10)});function $b(e,a){var t,r,n,i=this._eras||_r("en")._eras;for(t=0,r=i.length;t<r;++t){switch(typeof i[t].since){case"string":n=j(i[t].since).startOf("day"),i[t].since=n.valueOf();break}switch(typeof i[t].until){case"undefined":i[t].until=1/0;break;case"string":n=j(i[t].until).startOf("day").valueOf(),i[t].until=n.valueOf();break}}return i}function wb(e,a,t){var r,n,i=this.eras(),u,l,s;for(e=e.toUpperCase(),r=0,n=i.length;r<n;++r)if(u=i[r].name.toUpperCase(),l=i[r].abbr.toUpperCase(),s=i[r].narrow.toUpperCase(),t)switch(a){case"N":case"NN":case"NNN":if(l===e)return i[r];break;case"NNNN":if(u===e)return i[r];break;case"NNNNN":if(s===e)return i[r];break}else if([u,l,s].indexOf(e)>=0)return i[r]}function Cb(e,a){var t=e.since<=e.until?1:-1;return a===void 0?j(e.since).year():j(e.since).year()+(a-e.offset)*t}function Sb(){var e,a,t,r=this.localeData().eras();for(e=0,a=r.length;e<a;++e)if(t=this.clone().startOf("day").valueOf(),r[e].since<=t&&t<=r[e].until||r[e].until<=t&&t<=r[e].since)return r[e].name;return""}function Fb(){var e,a,t,r=this.localeData().eras();for(e=0,a=r.length;e<a;++e)if(t=this.clone().startOf("day").valueOf(),r[e].since<=t&&t<=r[e].until||r[e].until<=t&&t<=r[e].since)return r[e].narrow;return""}function Ob(){var e,a,t,r=this.localeData().eras();for(e=0,a=r.length;e<a;++e)if(t=this.clone().startOf("day").valueOf(),r[e].since<=t&&t<=r[e].until||r[e].until<=t&&t<=r[e].since)return r[e].abbr;return""}function Eb(){var e,a,t,r,n=this.localeData().eras();for(e=0,a=n.length;e<a;++e)if(t=n[e].since<=n[e].until?1:-1,r=this.clone().startOf("day").valueOf(),n[e].since<=r&&r<=n[e].until||n[e].until<=r&&r<=n[e].since)return(this.year()-j(n[e].since).year())*t+n[e].offset;return this.year()}function xb(e){return Ne(this,"_erasNameRegex")||to.call(this),e?this._erasNameRegex:this._erasRegex}function Tb(e){return Ne(this,"_erasAbbrRegex")||to.call(this),e?this._erasAbbrRegex:this._erasRegex}function Mb(e){return Ne(this,"_erasNarrowRegex")||to.call(this),e?this._erasNarrowRegex:this._erasRegex}function eo(e,a){return a.erasAbbrRegex(e)}function kb(e,a){return a.erasNameRegex(e)}function Bb(e,a){return a.erasNarrowRegex(e)}function qb(e,a){return a._eraYearOrdinalRegex||Nn}function to(){var e=[],a=[],t=[],r=[],n,i,u,l,s,o=this.eras();for(n=0,i=o.length;n<i;++n)u=hr(o[n].name),l=hr(o[n].abbr),s=hr(o[n].narrow),a.push(u),e.push(l),t.push(s),r.push(u),r.push(l),r.push(s);this._erasRegex=new RegExp("^("+r.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+a.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+t.join("|")+")","i")}ce(0,["gg",2],0,function(){return this.weekYear()%100});ce(0,["GG",2],0,function(){return this.isoWeekYear()%100});function ll(e,a){ce(0,[e,e.length],0,a)}ll("gggg","weekYear");ll("ggggg","weekYear");ll("GGGG","isoWeekYear");ll("GGGGG","isoWeekYear");ae("G",al);ae("g",al);ae("GG",ht,_a);ae("gg",ht,_a);ae("GGGG",Ys,Rs);ae("gggg",Ys,Rs);ae("GGGGG",tl,Qu);ae("ggggg",tl,Qu);Ui(["gggg","ggggg","GGGG","GGGGG"],function(e,a,t,r){a[r.substr(0,2)]=ke(e)});Ui(["gg","GG"],function(e,a,t,r){a[r]=j.parseTwoDigitYear(e)});function jb(e){return Bv.call(this,e,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function Nb(e){return Bv.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function Pb(){return gr(this.year(),1,4)}function Ib(){return gr(this.isoWeekYear(),1,4)}function Lb(){var e=this.localeData()._week;return gr(this.year(),e.dow,e.doy)}function Rb(){var e=this.localeData()._week;return gr(this.weekYear(),e.dow,e.doy)}function Bv(e,a,t,r,n){var i;return e==null?qi(this,r,n).year:(i=gr(e,r,n),a>i&&(a=i),Yb.call(this,e,a,t,r,n))}function Yb(e,a,t,r,n){var i=cv(e,a,t,r,n),u=Bi(i.year,0,i.dayOfYear);return this.year(u.getUTCFullYear()),this.month(u.getUTCMonth()),this.date(u.getUTCDate()),this}ce("Q",0,"Qo","quarter");ae("Q",av);Ge("Q",function(e,a){a[cr]=(ke(e)-1)*3});function Vb(e){return e==null?Math.ceil((this.month()+1)/3):this.month((e-1)*3+this.month()%3)}ce("D",["DD",2],"Do","date");ae("D",ht,Pn);ae("DD",ht,_a);ae("Do",function(e,a){return e?a._dayOfMonthOrdinalParse||a._ordinalParse:a._dayOfMonthOrdinalParseLenient});Ge(["D","DD"],Wa);Ge("Do",function(e,a){a[Wa]=ke(e.match(ht)[0])});var qv=In("Date",!0);ce("DDD",["DDDD",3],"DDDo","dayOfYear");ae("DDD",el);ae("DDDD",rv);Ge(["DDD","DDDD"],function(e,a,t){t._dayOfYear=ke(e)});function Ub(e){var a=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return e==null?a:this.add(e-a,"d")}ce("m",["mm",2],0,"minute");ae("m",ht,Vs);ae("mm",ht,_a);Ge(["m","mm"],ja);var zb=In("Minutes",!1);ce("s",["ss",2],0,"second");ae("s",ht,Vs);ae("ss",ht,_a);Ge(["s","ss"],pr);var Hb=In("Seconds",!1);ce("S",0,0,function(){return~~(this.millisecond()/100)});ce(0,["SS",2],0,function(){return~~(this.millisecond()/10)});ce(0,["SSS",3],0,"millisecond");ce(0,["SSSS",4],0,function(){return this.millisecond()*10});ce(0,["SSSSS",5],0,function(){return this.millisecond()*100});ce(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3});ce(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4});ce(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5});ce(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6});ae("S",el,av);ae("SS",el,_a);ae("SSS",el,rv);var Tr,jv;for(Tr="SSSS";Tr.length<=9;Tr+="S")ae(Tr,Nn);function Wb(e,a){a[Qr]=ke(("0."+e)*1e3)}for(Tr="S";Tr.length<=9;Tr+="S")Ge(Tr,Wb);jv=In("Milliseconds",!1);ce("z",0,0,"zoneAbbr");ce("zz",0,0,"zoneName");function Gb(){return this._isUTC?"UTC":""}function Kb(){return this._isUTC?"Coordinated Universal Time":""}var R=Yi.prototype;R.add=Ry;R.calendar=Gy;R.clone=Ky;R.diff=ab;R.endOf=vb;R.format=ub;R.from=lb;R.fromNow=sb;R.to=ob;R.toNow=fb;R.get=i0;R.invalidAt=_b;R.isAfter=Zy;R.isBefore=Xy;R.isBetween=Jy;R.isSame=Qy;R.isSameOrAfter=eb;R.isSameOrBefore=tb;R.isValid=bb;R.lang=Ev;R.locale=Ov;R.localeData=xv;R.max=by;R.min=yy;R.parsingFlags=Ab;R.set=u0;R.startOf=db;R.subtract=Yy;R.toArray=hb;R.toObject=gb;R.toDate=mb;R.toISOString=nb;R.inspect=ib;typeof Symbol<"u"&&Symbol.for!=null&&(R[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"});R.toJSON=yb;R.toString=rb;R.unix=pb;R.valueOf=cb;R.creationData=Db;R.eraName=Sb;R.eraNarrow=Fb;R.eraAbbr=Ob;R.eraYear=Eb;R.year=uv;R.isLeapYear=n0;R.weekYear=jb;R.isoWeekYear=Nb;R.quarter=R.quarters=Vb;R.month=dv;R.daysInMonth=m0;R.week=R.weeks=$0;R.isoWeek=R.isoWeeks=w0;R.weeksInYear=Lb;R.weeksInWeekYear=Rb;R.isoWeeksInYear=Pb;R.isoWeeksInISOWeekYear=Ib;R.date=qv;R.day=R.days=N0;R.weekday=P0;R.isoWeekday=I0;R.dayOfYear=Ub;R.hour=R.hours=H0;R.minute=R.minutes=zb;R.second=R.seconds=Hb;R.millisecond=R.milliseconds=jv;R.utcOffset=Oy;R.utc=xy;R.local=Ty;R.parseZone=My;R.hasAlignedHourOffset=ky;R.isDST=By;R.isLocal=jy;R.isUtcOffset=Ny;R.isUtc=wv;R.isUTC=wv;R.zoneAbbr=Gb;R.zoneName=Kb;R.dates=Ea("dates accessor is deprecated. Use date instead.",qv);R.months=Ea("months accessor is deprecated. Use month instead",dv);R.years=Ea("years accessor is deprecated. Use year instead",uv);R.zone=Ea("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",Ey);R.isDSTShifted=Ea("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",qy);function Zb(e){return mt(e*1e3)}function Xb(){return mt.apply(null,arguments).parseZone()}function Nv(e){return e}var Pe=Ps.prototype;Pe.calendar=jg;Pe.longDateFormat=Lg;Pe.invalidDate=Yg;Pe.ordinal=zg;Pe.preparse=Nv;Pe.postformat=Nv;Pe.relativeTime=Wg;Pe.pastFuture=Gg;Pe.set=Bg;Pe.eras=$b;Pe.erasParse=wb;Pe.erasConvertYear=Cb;Pe.erasAbbrRegex=Tb;Pe.erasNameRegex=xb;Pe.erasNarrowRegex=Mb;Pe.months=d0;Pe.monthsShort=v0;Pe.monthsParse=p0;Pe.monthsRegex=g0;Pe.monthsShortRegex=h0;Pe.week=b0;Pe.firstDayOfYear=D0;Pe.firstDayOfWeek=_0;Pe.weekdays=M0;Pe.weekdaysMin=B0;Pe.weekdaysShort=k0;Pe.weekdaysParse=j0;Pe.weekdaysRegex=L0;Pe.weekdaysShortRegex=R0;Pe.weekdaysMinRegex=Y0;Pe.isPM=U0;Pe.meridiem=W0;function Ru(e,a,t,r){var n=_r(),i=Ja().set(r,a);return n[t](i,e)}function Pv(e,a,t){if(br(e)&&(a=e,e=void 0),e=e||"",a!=null)return Ru(e,a,t,"month");var r,n=[];for(r=0;r<12;r++)n[r]=Ru(e,r,t,"month");return n}function ao(e,a,t,r){typeof e=="boolean"?(br(a)&&(t=a,a=void 0),a=a||""):(a=e,t=a,e=!1,br(a)&&(t=a,a=void 0),a=a||"");var n=_r(),i=e?n._week.dow:0,u,l=[];if(t!=null)return Ru(a,(t+i)%7,r,"day");for(u=0;u<7;u++)l[u]=Ru(a,(u+i)%7,r,"day");return l}function Jb(e,a){return Pv(e,a,"months")}function Qb(e,a){return Pv(e,a,"monthsShort")}function e1(e,a,t){return ao(e,a,t,"weekdays")}function t1(e,a,t){return ao(e,a,t,"weekdaysShort")}function a1(e,a,t){return ao(e,a,t,"weekdaysMin")}Br("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var a=e%10,t=ke(e%100/10)===1?"th":a===1?"st":a===2?"nd":a===3?"rd":"th";return e+t}});j.lang=Ea("moment.lang is deprecated. Use moment.locale instead.",Br);j.langData=Ea("moment.langData is deprecated. Use moment.localeData instead.",_r);var sr=Math.abs;function r1(){var e=this._data;return this._milliseconds=sr(this._milliseconds),this._days=sr(this._days),this._months=sr(this._months),e.milliseconds=sr(e.milliseconds),e.seconds=sr(e.seconds),e.minutes=sr(e.minutes),e.hours=sr(e.hours),e.months=sr(e.months),e.years=sr(e.years),this}function Iv(e,a,t,r){var n=Ra(a,t);return e._milliseconds+=r*n._milliseconds,e._days+=r*n._days,e._months+=r*n._months,e._bubble()}function n1(e,a){return Iv(this,e,a,1)}function i1(e,a){return Iv(this,e,a,-1)}function gf(e){return e<0?Math.floor(e):Math.ceil(e)}function u1(){var e=this._milliseconds,a=this._days,t=this._months,r=this._data,n,i,u,l,s;return e>=0&&a>=0&&t>=0||e<=0&&a<=0&&t<=0||(e+=gf(As(t)+a)*864e5,a=0,t=0),r.milliseconds=e%1e3,n=Oa(e/1e3),r.seconds=n%60,i=Oa(n/60),r.minutes=i%60,u=Oa(i/60),r.hours=u%24,a+=Oa(u/24),s=Oa(Lv(a)),t+=s,a-=gf(As(s)),l=Oa(t/12),t%=12,r.days=a,r.months=t,r.years=l,this}function Lv(e){return e*4800/146097}function As(e){return e*146097/4800}function l1(e){if(!this.isValid())return NaN;var a,t,r=this._milliseconds;if(e=xa(e),e==="month"||e==="quarter"||e==="year")switch(a=this._days+r/864e5,t=this._months+Lv(a),e){case"month":return t;case"quarter":return t/3;case"year":return t/12}else switch(a=this._days+Math.round(As(this._months)),e){case"week":return a/7+r/6048e5;case"day":return a+r/864e5;case"hour":return a*24+r/36e5;case"minute":return a*1440+r/6e4;case"second":return a*86400+r/1e3;case"millisecond":return Math.floor(a*864e5)+r;default:throw new Error("Unknown unit "+e)}}function Dr(e){return function(){return this.as(e)}}var Rv=Dr("ms"),s1=Dr("s"),o1=Dr("m"),f1=Dr("h"),d1=Dr("d"),v1=Dr("w"),c1=Dr("M"),p1=Dr("Q"),m1=Dr("y"),h1=Rv;function g1(){return Ra(this)}function y1(e){return e=xa(e),this.isValid()?this[e+"s"]():NaN}function nn(e){return function(){return this.isValid()?this._data[e]:NaN}}var b1=nn("milliseconds"),A1=nn("seconds"),_1=nn("minutes"),D1=nn("hours"),$1=nn("days"),w1=nn("months"),C1=nn("years");function S1(){return Oa(this.days()/7)}var vr=Math.round,Fn={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function F1(e,a,t,r,n){return n.relativeTime(a||1,!!t,e,r)}function O1(e,a,t,r){var n=Ra(e).abs(),i=vr(n.as("s")),u=vr(n.as("m")),l=vr(n.as("h")),s=vr(n.as("d")),o=vr(n.as("M")),f=vr(n.as("w")),v=vr(n.as("y")),d=i<=t.ss&&["s",i]||i<t.s&&["ss",i]||u<=1&&["m"]||u<t.m&&["mm",u]||l<=1&&["h"]||l<t.h&&["hh",l]||s<=1&&["d"]||s<t.d&&["dd",s];return t.w!=null&&(d=d||f<=1&&["w"]||f<t.w&&["ww",f]),d=d||o<=1&&["M"]||o<t.M&&["MM",o]||v<=1&&["y"]||["yy",v],d[2]=a,d[3]=+e>0,d[4]=r,F1.apply(null,d)}function E1(e){return e===void 0?vr:typeof e=="function"?(vr=e,!0):!1}function x1(e,a){return Fn[e]===void 0?!1:a===void 0?Fn[e]:(Fn[e]=a,e==="s"&&(Fn.ss=a-1),!0)}function T1(e,a){if(!this.isValid())return this.localeData().invalidDate();var t=!1,r=Fn,n,i;return typeof e=="object"&&(a=e,e=!1),typeof e=="boolean"&&(t=e),typeof a=="object"&&(r=Object.assign({},Fn,a),a.s!=null&&a.ss==null&&(r.ss=a.s-1)),n=this.localeData(),i=O1(this,!t,r,n),t&&(i=n.pastFuture(+this,i)),n.postformat(i)}var Vl=Math.abs;function bn(e){return(e>0)-(e<0)||+e}function sl(){if(!this.isValid())return this.localeData().invalidDate();var e=Vl(this._milliseconds)/1e3,a=Vl(this._days),t=Vl(this._months),r,n,i,u,l=this.asSeconds(),s,o,f,v;return l?(r=Oa(e/60),n=Oa(r/60),e%=60,r%=60,i=Oa(t/12),t%=12,u=e?e.toFixed(3).replace(/\.?0+$/,""):"",s=l<0?"-":"",o=bn(this._months)!==bn(l)?"-":"",f=bn(this._days)!==bn(l)?"-":"",v=bn(this._milliseconds)!==bn(l)?"-":"",s+"P"+(i?o+i+"Y":"")+(t?o+t+"M":"")+(a?f+a+"D":"")+(n||r||e?"T":"")+(n?v+n+"H":"")+(r?v+r+"M":"")+(e?v+u+"S":"")):"P0D"}var qe=ul.prototype;qe.isValid=wy;qe.abs=r1;qe.add=n1;qe.subtract=i1;qe.as=l1;qe.asMilliseconds=Rv;qe.asSeconds=s1;qe.asMinutes=o1;qe.asHours=f1;qe.asDays=d1;qe.asWeeks=v1;qe.asMonths=c1;qe.asQuarters=p1;qe.asYears=m1;qe.valueOf=h1;qe._bubble=u1;qe.clone=g1;qe.get=y1;qe.milliseconds=b1;qe.seconds=A1;qe.minutes=_1;qe.hours=D1;qe.days=$1;qe.weeks=S1;qe.months=w1;qe.years=C1;qe.humanize=T1;qe.toISOString=sl;qe.toString=sl;qe.toJSON=sl;qe.locale=Ov;qe.localeData=xv;qe.toIsoString=Ea("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",sl);qe.lang=Ev;ce("X",0,0,"unix");ce("x",0,0,"valueOf");ae("x",al);ae("X",Jg);Ge("X",function(e,a,t){t._d=new Date(parseFloat(e)*1e3)});Ge("x",function(e,a,t){t._d=new Date(ke(e))});//! moment.js
j.version="2.30.1";Mg(mt);j.fn=R;j.min=Ay;j.max=_y;j.now=Dy;j.utc=Ja;j.unix=Zb;j.months=Jb;j.isDate=Ri;j.locale=Br;j.invalid=Ju;j.duration=Ra;j.isMoment=Ia;j.weekdays=e1;j.parseZone=Xb;j.localeData=_r;j.isDuration=Fu;j.monthsShort=Qb;j.weekdaysMin=a1;j.defineLocale=Gs;j.updateLocale=X0;j.locales=J0;j.weekdaysShort=t1;j.normalizeUnits=xa;j.relativeTimeRounding=E1;j.relativeTimeThreshold=x1;j.calendarFormat=Wy;j.prototype=R;j.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"};/*!
 * Vueform v1.9.4 (https://github.com/vueform/vueform)
 * Copyright (c) 2024 Adam Berecz <adam@vueform.com>
 * Licensed under the MIT License
 */function yf(e,a){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);a&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),t.push.apply(t,r)}return t}function G(e){for(var a=1;a<arguments.length;a++){var t=arguments[a]!=null?arguments[a]:{};a%2?yf(Object(t),!0).forEach(function(r){Yv(e,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):yf(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})}return e}function M1(e,a){if(typeof e!="object"||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var r=t.call(e,a||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(a==="string"?String:Number)(e)}function k1(e){var a=M1(e,"string");return typeof a=="symbol"?a:a+""}function bf(e,a,t,r,n,i,u){try{var l=e[i](u),s=l.value}catch(o){t(o);return}l.done?a(s):Promise.resolve(s).then(r,n)}function te(e){return function(){var a=this,t=arguments;return new Promise(function(r,n){var i=e.apply(a,t);function u(s){bf(i,r,n,u,l,"next",s)}function l(s){bf(i,r,n,u,l,"throw",s)}u(void 0)})}}function Yv(e,a,t){return a=k1(a),a in e?Object.defineProperty(e,a,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[a]=t,e}var hu=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function B1(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Vv={exports:{}};function q1(e,a){for(var t=-1,r=e==null?0:e.length;++t<r&&a(e[t],t,e)!==!1;);return e}var Uv=q1;function j1(e){return function(a,t,r){for(var n=-1,i=Object(a),u=r(a),l=u.length;l--;){var s=u[e?l:++n];if(t(i[s],s,i)===!1)break}return a}}var N1=j1,P1=N1,I1=P1(),zv=I1;function L1(e,a){for(var t=-1,r=Array(e);++t<e;)r[t]=a(t);return r}var R1=L1,Y1=typeof hu=="object"&&hu&&hu.Object===Object&&hu,Hv=Y1,V1=Hv,U1=typeof self=="object"&&self&&self.Object===Object&&self,z1=V1||U1||Function("return this")(),er=z1,H1=er,W1=H1.Symbol,Ln=W1,Af=Ln,Wv=Object.prototype,G1=Wv.hasOwnProperty,K1=Wv.toString,vi=Af?Af.toStringTag:void 0;function Z1(e){var a=G1.call(e,vi),t=e[vi];try{e[vi]=void 0;var r=!0}catch{}var n=K1.call(e);return r&&(a?e[vi]=t:delete e[vi]),n}var X1=Z1,J1=Object.prototype,Q1=J1.toString;function eA(e){return Q1.call(e)}var tA=eA,_f=Ln,aA=X1,rA=tA,nA="[object Null]",iA="[object Undefined]",Df=_f?_f.toStringTag:void 0;function uA(e){return e==null?e===void 0?iA:nA:Df&&Df in Object(e)?aA(e):rA(e)}var un=uA;function lA(e){return e!=null&&typeof e=="object"}var tr=lA,sA=un,oA=tr,fA="[object Arguments]";function dA(e){return oA(e)&&sA(e)==fA}var vA=dA,$f=vA,cA=tr,Gv=Object.prototype,pA=Gv.hasOwnProperty,mA=Gv.propertyIsEnumerable,hA=$f(function(){return arguments}())?$f:function(e){return cA(e)&&pA.call(e,"callee")&&!mA.call(e,"callee")},zi=hA,gA=Array.isArray,oe=gA,rn={exports:{}};function yA(){return!1}var bA=yA;(function(e,a){var t=er,r=bA,n=a&&!a.nodeType&&a,i=n&&!0&&e&&!e.nodeType&&e,u=i&&i.exports===n,l=u?t.Buffer:void 0,s=l?l.isBuffer:void 0,o=s||r;e.exports=o})(rn,rn.exports);var AA=9007199254740991,_A=/^(?:0|[1-9]\d*)$/;function DA(e,a){var t=typeof e;return a=a??AA,!!a&&(t=="number"||t!="symbol"&&_A.test(e))&&e>-1&&e%1==0&&e<a}var ol=DA,$A=9007199254740991;function wA(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=$A}var ro=wA,CA=un,SA=ro,FA=tr,OA="[object Arguments]",EA="[object Array]",xA="[object Boolean]",TA="[object Date]",MA="[object Error]",kA="[object Function]",BA="[object Map]",qA="[object Number]",jA="[object Object]",NA="[object RegExp]",PA="[object Set]",IA="[object String]",LA="[object WeakMap]",RA="[object ArrayBuffer]",YA="[object DataView]",VA="[object Float32Array]",UA="[object Float64Array]",zA="[object Int8Array]",HA="[object Int16Array]",WA="[object Int32Array]",GA="[object Uint8Array]",KA="[object Uint8ClampedArray]",ZA="[object Uint16Array]",XA="[object Uint32Array]",ct={};ct[VA]=ct[UA]=ct[zA]=ct[HA]=ct[WA]=ct[GA]=ct[KA]=ct[ZA]=ct[XA]=!0;ct[OA]=ct[EA]=ct[RA]=ct[xA]=ct[YA]=ct[TA]=ct[MA]=ct[kA]=ct[BA]=ct[qA]=ct[jA]=ct[NA]=ct[PA]=ct[IA]=ct[LA]=!1;function JA(e){return FA(e)&&SA(e.length)&&!!ct[CA(e)]}var QA=JA;function e_(e){return function(a){return e(a)}}var Hi=e_,Ni={exports:{}};(function(e,a){var t=Hv,r=a&&!a.nodeType&&a,n=r&&!0&&e&&!e.nodeType&&e,i=n&&n.exports===r,u=i&&t.process,l=function(){try{var s=n&&n.require&&n.require("util").types;return s||u&&u.binding&&u.binding("util")}catch{}}();e.exports=l})(Ni,Ni.exports);var t_=QA,a_=Hi,wf=Ni.exports,Cf=wf&&wf.isTypedArray,r_=Cf?a_(Cf):t_,fl=r_,n_=R1,i_=zi,u_=oe,l_=rn.exports,s_=ol,o_=fl,f_=Object.prototype,d_=f_.hasOwnProperty;function v_(e,a){var t=u_(e),r=!t&&i_(e),n=!t&&!r&&l_(e),i=!t&&!r&&!n&&o_(e),u=t||r||n||i,l=u?n_(e.length,String):[],s=l.length;for(var o in e)(a||d_.call(e,o))&&!(u&&(o=="length"||n&&(o=="offset"||o=="parent")||i&&(o=="buffer"||o=="byteLength"||o=="byteOffset")||s_(o,s)))&&l.push(o);return l}var Kv=v_,c_=Object.prototype;function p_(e){var a=e&&e.constructor,t=typeof a=="function"&&a.prototype||c_;return e===t}var dl=p_;function m_(e,a){return function(t){return e(a(t))}}var Zv=m_,h_=Zv,g_=h_(Object.keys,Object),y_=g_,b_=dl,A_=y_,__=Object.prototype,D_=__.hasOwnProperty;function $_(e){if(!b_(e))return A_(e);var a=[];for(var t in Object(e))D_.call(e,t)&&t!="constructor"&&a.push(t);return a}var Xv=$_;function w_(e){var a=typeof e;return e!=null&&(a=="object"||a=="function")}var Da=w_,C_=un,S_=Da,F_="[object AsyncFunction]",O_="[object Function]",E_="[object GeneratorFunction]",x_="[object Proxy]";function T_(e){if(!S_(e))return!1;var a=C_(e);return a==O_||a==E_||a==F_||a==x_}var no=T_,M_=no,k_=ro;function B_(e){return e!=null&&k_(e.length)&&!M_(e)}var $r=B_,q_=Kv,j_=Xv,N_=$r;function P_(e){return N_(e)?q_(e):j_(e)}var zt=P_,I_=zv,L_=zt;function R_(e,a){return e&&I_(e,a,L_)}var Jv=R_,Y_=$r;function V_(e,a){return function(t,r){if(t==null)return t;if(!Y_(t))return e(t,r);for(var n=t.length,i=a?n:-1,u=Object(t);(a?i--:++i<n)&&r(u[i],i,u)!==!1;);return t}}var U_=V_,z_=Jv,H_=U_,W_=H_(z_),Wi=W_;function G_(e){return e}var Gi=G_,K_=Gi;function Z_(e){return typeof e=="function"?e:K_}var X_=Z_,J_=Uv,Q_=Wi,eD=X_,tD=oe;function aD(e,a){var t=tD(e)?J_:Q_;return t(e,eD(a))}var rD=aD;(function(e){e.exports=rD})(Vv);var F=B1(Vv.exports);function nD(){this.__data__=[],this.size=0}var iD=nD;function uD(e,a){return e===a||e!==e&&a!==a}var Ki=uD,lD=Ki;function sD(e,a){for(var t=e.length;t--;)if(lD(e[t][0],a))return t;return-1}var vl=sD,oD=vl,fD=Array.prototype,dD=fD.splice;function vD(e){var a=this.__data__,t=oD(a,e);if(t<0)return!1;var r=a.length-1;return t==r?a.pop():dD.call(a,t,1),--this.size,!0}var cD=vD,pD=vl;function mD(e){var a=this.__data__,t=pD(a,e);return t<0?void 0:a[t][1]}var hD=mD,gD=vl;function yD(e){return gD(this.__data__,e)>-1}var bD=yD,AD=vl;function _D(e,a){var t=this.__data__,r=AD(t,e);return r<0?(++this.size,t.push([e,a])):t[r][1]=a,this}var DD=_D,$D=iD,wD=cD,CD=hD,SD=bD,FD=DD;function Rn(e){var a=-1,t=e==null?0:e.length;for(this.clear();++a<t;){var r=e[a];this.set(r[0],r[1])}}Rn.prototype.clear=$D;Rn.prototype.delete=wD;Rn.prototype.get=CD;Rn.prototype.has=SD;Rn.prototype.set=FD;var cl=Rn,OD=cl;function ED(){this.__data__=new OD,this.size=0}var xD=ED;function TD(e){var a=this.__data__,t=a.delete(e);return this.size=a.size,t}var MD=TD;function kD(e){return this.__data__.get(e)}var BD=kD;function qD(e){return this.__data__.has(e)}var jD=qD,ND=er,PD=ND["__core-js_shared__"],ID=PD,Ul=ID,Sf=function(){var e=/[^.]+$/.exec(Ul&&Ul.keys&&Ul.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function LD(e){return!!Sf&&Sf in e}var RD=LD,YD=Function.prototype,VD=YD.toString;function UD(e){if(e!=null){try{return VD.call(e)}catch{}try{return e+""}catch{}}return""}var Qv=UD,zD=no,HD=RD,WD=Da,GD=Qv,KD=/[\\^$.*+?()[\]{}|]/g,ZD=/^\[object .+?Constructor\]$/,XD=Function.prototype,JD=Object.prototype,QD=XD.toString,e$=JD.hasOwnProperty,t$=RegExp("^"+QD.call(e$).replace(KD,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function a$(e){if(!WD(e)||HD(e))return!1;var a=zD(e)?t$:ZD;return a.test(GD(e))}var r$=a$;function n$(e,a){return e==null?void 0:e[a]}var i$=n$,u$=r$,l$=i$;function s$(e,a){var t=l$(e,a);return u$(t)?t:void 0}var ln=s$,o$=ln,f$=er,d$=o$(f$,"Map"),io=d$,v$=ln,c$=v$(Object,"create"),pl=c$,Ff=pl;function p$(){this.__data__=Ff?Ff(null):{},this.size=0}var m$=p$;function h$(e){var a=this.has(e)&&delete this.__data__[e];return this.size-=a?1:0,a}var g$=h$,y$=pl,b$="__lodash_hash_undefined__",A$=Object.prototype,_$=A$.hasOwnProperty;function D$(e){var a=this.__data__;if(y$){var t=a[e];return t===b$?void 0:t}return _$.call(a,e)?a[e]:void 0}var $$=D$,w$=pl,C$=Object.prototype,S$=C$.hasOwnProperty;function F$(e){var a=this.__data__;return w$?a[e]!==void 0:S$.call(a,e)}var O$=F$,E$=pl,x$="__lodash_hash_undefined__";function T$(e,a){var t=this.__data__;return this.size+=this.has(e)?0:1,t[e]=E$&&a===void 0?x$:a,this}var M$=T$,k$=m$,B$=g$,q$=$$,j$=O$,N$=M$;function Yn(e){var a=-1,t=e==null?0:e.length;for(this.clear();++a<t;){var r=e[a];this.set(r[0],r[1])}}Yn.prototype.clear=k$;Yn.prototype.delete=B$;Yn.prototype.get=q$;Yn.prototype.has=j$;Yn.prototype.set=N$;var P$=Yn,Of=P$,I$=cl,L$=io;function R$(){this.size=0,this.__data__={hash:new Of,map:new(L$||I$),string:new Of}}var Y$=R$;function V$(e){var a=typeof e;return a=="string"||a=="number"||a=="symbol"||a=="boolean"?e!=="__proto__":e===null}var U$=V$,z$=U$;function H$(e,a){var t=e.__data__;return z$(a)?t[typeof a=="string"?"string":"hash"]:t.map}var ml=H$,W$=ml;function G$(e){var a=W$(this,e).delete(e);return this.size-=a?1:0,a}var K$=G$,Z$=ml;function X$(e){return Z$(this,e).get(e)}var J$=X$,Q$=ml;function ew(e){return Q$(this,e).has(e)}var tw=ew,aw=ml;function rw(e,a){var t=aw(this,e),r=t.size;return t.set(e,a),this.size+=t.size==r?0:1,this}var nw=rw,iw=Y$,uw=K$,lw=J$,sw=tw,ow=nw;function Vn(e){var a=-1,t=e==null?0:e.length;for(this.clear();++a<t;){var r=e[a];this.set(r[0],r[1])}}Vn.prototype.clear=iw;Vn.prototype.delete=uw;Vn.prototype.get=lw;Vn.prototype.has=sw;Vn.prototype.set=ow;var uo=Vn,fw=cl,dw=io,vw=uo,cw=200;function pw(e,a){var t=this.__data__;if(t instanceof fw){var r=t.__data__;if(!dw||r.length<cw-1)return r.push([e,a]),this.size=++t.size,this;t=this.__data__=new vw(r)}return t.set(e,a),this.size=t.size,this}var mw=pw,hw=cl,gw=xD,yw=MD,bw=BD,Aw=jD,_w=mw;function Un(e){var a=this.__data__=new hw(e);this.size=a.size}Un.prototype.clear=gw;Un.prototype.delete=yw;Un.prototype.get=bw;Un.prototype.has=Aw;Un.prototype.set=_w;var hl=Un,Dw=ln,$w=function(){try{var e=Dw(Object,"defineProperty");return e({},"",{}),e}catch{}}(),ec=$w,Ef=ec;function ww(e,a,t){a=="__proto__"&&Ef?Ef(e,a,{configurable:!0,enumerable:!0,value:t,writable:!0}):e[a]=t}var gl=ww,Cw=gl,Sw=Ki;function Fw(e,a,t){(t!==void 0&&!Sw(e[a],t)||t===void 0&&!(a in e))&&Cw(e,a,t)}var tc=Fw,Yu={exports:{}};(function(e,a){var t=er,r=a&&!a.nodeType&&a,n=r&&!0&&e&&!e.nodeType&&e,i=n&&n.exports===r,u=i?t.Buffer:void 0,l=u?u.allocUnsafe:void 0;function s(o,f){if(f)return o.slice();var v=o.length,d=l?l(v):new o.constructor(v);return o.copy(d),d}e.exports=s})(Yu,Yu.exports);var Ow=er,Ew=Ow.Uint8Array,ac=Ew,xf=ac;function xw(e){var a=new e.constructor(e.byteLength);return new xf(a).set(new xf(e)),a}var lo=xw,Tw=lo;function Mw(e,a){var t=a?Tw(e.buffer):e.buffer;return new e.constructor(t,e.byteOffset,e.length)}var rc=Mw;function kw(e,a){var t=-1,r=e.length;for(a||(a=Array(r));++t<r;)a[t]=e[t];return a}var so=kw,Bw=Da,Tf=Object.create,qw=function(){function e(){}return function(a){if(!Bw(a))return{};if(Tf)return Tf(a);e.prototype=a;var t=new e;return e.prototype=void 0,t}}(),jw=qw,Nw=Zv,Pw=Nw(Object.getPrototypeOf,Object),oo=Pw,Iw=jw,Lw=oo,Rw=dl;function Yw(e){return typeof e.constructor=="function"&&!Rw(e)?Iw(Lw(e)):{}}var nc=Yw,Vw=$r,Uw=tr;function zw(e){return Uw(e)&&Vw(e)}var yl=zw,Hw=un,Ww=oo,Gw=tr,Kw="[object Object]",Zw=Function.prototype,Xw=Object.prototype,ic=Zw.toString,Jw=Xw.hasOwnProperty,Qw=ic.call(Object);function eC(e){if(!Gw(e)||Hw(e)!=Kw)return!1;var a=Ww(e);if(a===null)return!0;var t=Jw.call(a,"constructor")&&a.constructor;return typeof t=="function"&&t instanceof t&&ic.call(t)==Qw}var Ze=eC;function tC(e,a){if(!(a==="constructor"&&typeof e[a]=="function")&&a!="__proto__")return e[a]}var uc=tC,aC=gl,rC=Ki,nC=Object.prototype,iC=nC.hasOwnProperty;function uC(e,a,t){var r=e[a];(!(iC.call(e,a)&&rC(r,t))||t===void 0&&!(a in e))&&aC(e,a,t)}var fo=uC,lC=fo,sC=gl;function oC(e,a,t,r){var n=!t;t||(t={});for(var i=-1,u=a.length;++i<u;){var l=a[i],s=r?r(t[l],e[l],l,t,e):void 0;s===void 0&&(s=e[l]),n?sC(t,l,s):lC(t,l,s)}return t}var zn=oC;function fC(e){var a=[];if(e!=null)for(var t in Object(e))a.push(t);return a}var dC=fC,vC=Da,cC=dl,pC=dC,mC=Object.prototype,hC=mC.hasOwnProperty;function gC(e){if(!vC(e))return pC(e);var a=cC(e),t=[];for(var r in e)r=="constructor"&&(a||!hC.call(e,r))||t.push(r);return t}var yC=gC,bC=Kv,AC=yC,_C=$r;function DC(e){return _C(e)?bC(e,!0):AC(e)}var Zi=DC,$C=zn,wC=Zi;function CC(e){return $C(e,wC(e))}var SC=CC,Mf=tc,FC=Yu.exports,OC=rc,EC=so,xC=nc,kf=zi,Bf=oe,TC=yl,MC=rn.exports,kC=no,BC=Da,qC=Ze,jC=fl,qf=uc,NC=SC;function PC(e,a,t,r,n,i,u){var l=qf(e,t),s=qf(a,t),o=u.get(s);if(o){Mf(e,t,o);return}var f=i?i(l,s,t+"",e,a,u):void 0,v=f===void 0;if(v){var d=Bf(s),p=!d&&MC(s),m=!d&&!p&&jC(s);f=s,d||p||m?Bf(l)?f=l:TC(l)?f=EC(l):p?(v=!1,f=FC(s,!0)):m?(v=!1,f=OC(s,!0)):f=[]:qC(s)||kf(s)?(f=l,kf(l)?f=NC(l):(!BC(l)||kC(l))&&(f=xC(s))):v=!1}v&&(u.set(s,f),n(f,s,r,i,u),u.delete(s)),Mf(e,t,f)}var IC=PC,LC=hl,RC=tc,YC=zv,VC=IC,UC=Da,zC=Zi,HC=uc;function lc(e,a,t,r,n){e!==a&&YC(a,function(i,u){if(n||(n=new LC),UC(i))VC(e,a,u,t,lc,r,n);else{var l=r?r(HC(e,u),i,u+"",e,a,n):void 0;l===void 0&&(l=i),RC(e,u,l)}},zC)}var WC=lc;function GC(e,a,t){switch(t.length){case 0:return e.call(a);case 1:return e.call(a,t[0]);case 2:return e.call(a,t[0],t[1]);case 3:return e.call(a,t[0],t[1],t[2])}return e.apply(a,t)}var KC=GC,ZC=KC,jf=Math.max;function XC(e,a,t){return a=jf(a===void 0?e.length-1:a,0),function(){for(var r=arguments,n=-1,i=jf(r.length-a,0),u=Array(i);++n<i;)u[n]=r[a+n];n=-1;for(var l=Array(a+1);++n<a;)l[n]=r[n];return l[a]=t(u),ZC(e,this,l)}}var sc=XC;function JC(e){return function(){return e}}var QC=JC,eS=QC,Nf=ec,tS=Gi,aS=Nf?function(e,a){return Nf(e,"toString",{configurable:!0,enumerable:!1,value:eS(a),writable:!0})}:tS,rS=aS,nS=800,iS=16,uS=Date.now;function lS(e){var a=0,t=0;return function(){var r=uS(),n=iS-(r-t);if(t=r,n>0){if(++a>=nS)return arguments[0]}else a=0;return e.apply(void 0,arguments)}}var sS=lS,oS=rS,fS=sS,dS=fS(oS),oc=dS,vS=Gi,cS=sc,pS=oc;function mS(e,a){return pS(cS(e,a,vS),e+"")}var Xi=mS,hS=Ki,gS=$r,yS=ol,bS=Da;function AS(e,a,t){if(!bS(t))return!1;var r=typeof a;return(r=="number"?gS(t)&&yS(a,t.length):r=="string"&&a in t)?hS(t[a],e):!1}var vo=AS,_S=Xi,DS=vo;function $S(e){return _S(function(a,t){var r=-1,n=t.length,i=n>1?t[n-1]:void 0,u=n>2?t[2]:void 0;for(i=e.length>3&&typeof i=="function"?(n--,i):void 0,u&&DS(t[0],t[1],u)&&(i=n<3?void 0:i,n=1),a=Object(a);++r<n;){var l=t[r];l&&e(a,l,r,i)}return a})}var wS=$S,CS=WC,SS=wS,FS=SS(function(e,a,t){CS(e,a,t)}),mr=FS;function OS(e,a){for(var t=-1,r=e==null?0:e.length;++t<r;)if(a(e[t],t,e))return!0;return!1}var fc=OS,ES="__lodash_hash_undefined__";function xS(e){return this.__data__.set(e,ES),this}var TS=xS;function MS(e){return this.__data__.has(e)}var kS=MS,BS=uo,qS=TS,jS=kS;function Vu(e){var a=-1,t=e==null?0:e.length;for(this.__data__=new BS;++a<t;)this.add(e[a])}Vu.prototype.add=Vu.prototype.push=qS;Vu.prototype.has=jS;var co=Vu;function NS(e,a){return e.has(a)}var po=NS,PS=co,IS=fc,LS=po,RS=1,YS=2;function VS(e,a,t,r,n,i){var u=t&RS,l=e.length,s=a.length;if(l!=s&&!(u&&s>l))return!1;var o=i.get(e),f=i.get(a);if(o&&f)return o==a&&f==e;var v=-1,d=!0,p=t&YS?new PS:void 0;for(i.set(e,a),i.set(a,e);++v<l;){var m=e[v],h=a[v];if(r)var A=u?r(h,m,v,a,e,i):r(m,h,v,e,a,i);if(A!==void 0){if(A)continue;d=!1;break}if(p){if(!IS(a,function(D,b){if(!LS(p,b)&&(m===D||n(m,D,t,r,i)))return p.push(b)})){d=!1;break}}else if(!(m===h||n(m,h,t,r,i))){d=!1;break}}return i.delete(e),i.delete(a),d}var dc=VS;function US(e){var a=-1,t=Array(e.size);return e.forEach(function(r,n){t[++a]=[n,r]}),t}var zS=US;function HS(e){var a=-1,t=Array(e.size);return e.forEach(function(r){t[++a]=r}),t}var mo=HS,Pf=Ln,If=ac,WS=Ki,GS=dc,KS=zS,ZS=mo,XS=1,JS=2,QS="[object Boolean]",eF="[object Date]",tF="[object Error]",aF="[object Map]",rF="[object Number]",nF="[object RegExp]",iF="[object Set]",uF="[object String]",lF="[object Symbol]",sF="[object ArrayBuffer]",oF="[object DataView]",Lf=Pf?Pf.prototype:void 0,zl=Lf?Lf.valueOf:void 0;function fF(e,a,t,r,n,i,u){switch(t){case oF:if(e.byteLength!=a.byteLength||e.byteOffset!=a.byteOffset)return!1;e=e.buffer,a=a.buffer;case sF:return!(e.byteLength!=a.byteLength||!i(new If(e),new If(a)));case QS:case eF:case rF:return WS(+e,+a);case tF:return e.name==a.name&&e.message==a.message;case nF:case uF:return e==a+"";case aF:var l=KS;case iF:var s=r&XS;if(l||(l=ZS),e.size!=a.size&&!s)return!1;var o=u.get(e);if(o)return o==a;r|=JS,u.set(e,a);var f=GS(l(e),l(a),r,n,i,u);return u.delete(e),f;case lF:if(zl)return zl.call(e)==zl.call(a)}return!1}var dF=fF;function vF(e,a){for(var t=-1,r=a.length,n=e.length;++t<r;)e[n+t]=a[t];return e}var bl=vF,cF=bl,pF=oe;function mF(e,a,t){var r=a(e);return pF(e)?r:cF(r,t(e))}var vc=mF;function hF(e,a){for(var t=-1,r=e==null?0:e.length,n=0,i=[];++t<r;){var u=e[t];a(u,t,e)&&(i[n++]=u)}return i}var cc=hF;function gF(){return[]}var pc=gF,yF=cc,bF=pc,AF=Object.prototype,_F=AF.propertyIsEnumerable,Rf=Object.getOwnPropertySymbols,DF=Rf?function(e){return e==null?[]:(e=Object(e),yF(Rf(e),function(a){return _F.call(e,a)}))}:bF,ho=DF,$F=vc,wF=ho,CF=zt;function SF(e){return $F(e,CF,wF)}var mc=SF,Yf=mc,FF=1,OF=Object.prototype,EF=OF.hasOwnProperty;function xF(e,a,t,r,n,i){var u=t&FF,l=Yf(e),s=l.length,o=Yf(a),f=o.length;if(s!=f&&!u)return!1;for(var v=s;v--;){var d=l[v];if(!(u?d in a:EF.call(a,d)))return!1}var p=i.get(e),m=i.get(a);if(p&&m)return p==a&&m==e;var h=!0;i.set(e,a),i.set(a,e);for(var A=u;++v<s;){d=l[v];var D=e[d],b=a[d];if(r)var $=u?r(b,D,d,a,e,i):r(D,b,d,e,a,i);if(!($===void 0?D===b||n(D,b,t,r,i):$)){h=!1;break}A||(A=d=="constructor")}if(h&&!A){var _=e.constructor,C=a.constructor;_!=C&&"constructor"in e&&"constructor"in a&&!(typeof _=="function"&&_ instanceof _&&typeof C=="function"&&C instanceof C)&&(h=!1)}return i.delete(e),i.delete(a),h}var TF=xF,MF=ln,kF=er,BF=MF(kF,"DataView"),qF=BF,jF=ln,NF=er,PF=jF(NF,"Promise"),IF=PF,LF=ln,RF=er,YF=LF(RF,"Set"),hc=YF,VF=ln,UF=er,zF=VF(UF,"WeakMap"),HF=zF,_s=qF,Ds=io,$s=IF,ws=hc,Cs=HF,gc=un,Hn=Qv,Vf="[object Map]",WF="[object Object]",Uf="[object Promise]",zf="[object Set]",Hf="[object WeakMap]",Wf="[object DataView]",GF=Hn(_s),KF=Hn(Ds),ZF=Hn($s),XF=Hn(ws),JF=Hn(Cs),Kr=gc;(_s&&Kr(new _s(new ArrayBuffer(1)))!=Wf||Ds&&Kr(new Ds)!=Vf||$s&&Kr($s.resolve())!=Uf||ws&&Kr(new ws)!=zf||Cs&&Kr(new Cs)!=Hf)&&(Kr=function(e){var a=gc(e),t=a==WF?e.constructor:void 0,r=t?Hn(t):"";if(r)switch(r){case GF:return Wf;case KF:return Vf;case ZF:return Uf;case XF:return zf;case JF:return Hf}return a});var Ji=Kr,Hl=hl,QF=dc,e2=dF,t2=TF,Gf=Ji,Kf=oe,Zf=rn.exports,a2=fl,r2=1,Xf="[object Arguments]",Jf="[object Array]",gu="[object Object]",n2=Object.prototype,Qf=n2.hasOwnProperty;function i2(e,a,t,r,n,i){var u=Kf(e),l=Kf(a),s=u?Jf:Gf(e),o=l?Jf:Gf(a);s=s==Xf?gu:s,o=o==Xf?gu:o;var f=s==gu,v=o==gu,d=s==o;if(d&&Zf(e)){if(!Zf(a))return!1;u=!0,f=!1}if(d&&!f)return i||(i=new Hl),u||a2(e)?QF(e,a,t,r,n,i):e2(e,a,s,t,r,n,i);if(!(t&r2)){var p=f&&Qf.call(e,"__wrapped__"),m=v&&Qf.call(a,"__wrapped__");if(p||m){var h=p?e.value():e,A=m?a.value():a;return i||(i=new Hl),n(h,A,t,r,i)}}return d?(i||(i=new Hl),t2(e,a,t,r,n,i)):!1}var u2=i2,l2=u2,ed=tr;function yc(e,a,t,r,n){return e===a?!0:e==null||a==null||!ed(e)&&!ed(a)?e!==e&&a!==a:l2(e,a,t,r,yc,n)}var go=yc,s2=hl,o2=go,f2=1,d2=2;function v2(e,a,t,r){var n=t.length,i=n,u=!r;if(e==null)return!i;for(e=Object(e);n--;){var l=t[n];if(u&&l[2]?l[1]!==e[l[0]]:!(l[0]in e))return!1}for(;++n<i;){l=t[n];var s=l[0],o=e[s],f=l[1];if(u&&l[2]){if(o===void 0&&!(s in e))return!1}else{var v=new s2;if(r)var d=r(o,f,s,e,a,v);if(!(d===void 0?o2(f,o,f2|d2,r,v):d))return!1}}return!0}var c2=v2,p2=Da;function m2(e){return e===e&&!p2(e)}var bc=m2,h2=bc,g2=zt;function y2(e){for(var a=g2(e),t=a.length;t--;){var r=a[t],n=e[r];a[t]=[r,n,h2(n)]}return a}var b2=y2;function A2(e,a){return function(t){return t==null?!1:t[e]===a&&(a!==void 0||e in Object(t))}}var Ac=A2,_2=c2,D2=b2,$2=Ac;function w2(e){var a=D2(e);return a.length==1&&a[0][2]?$2(a[0][0],a[0][1]):function(t){return t===e||_2(t,e,a)}}var C2=w2,S2=un,F2=tr,O2="[object Symbol]";function E2(e){return typeof e=="symbol"||F2(e)&&S2(e)==O2}var Qi=E2,x2=oe,T2=Qi,M2=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,k2=/^\w*$/;function B2(e,a){if(x2(e))return!1;var t=typeof e;return t=="number"||t=="symbol"||t=="boolean"||e==null||T2(e)?!0:k2.test(e)||!M2.test(e)||a!=null&&e in Object(a)}var yo=B2,_c=uo,q2="Expected a function";function bo(e,a){if(typeof e!="function"||a!=null&&typeof a!="function")throw new TypeError(q2);var t=function(){var r=arguments,n=a?a.apply(this,r):r[0],i=t.cache;if(i.has(n))return i.get(n);var u=e.apply(this,r);return t.cache=i.set(n,u)||i,u};return t.cache=new(bo.Cache||_c),t}bo.Cache=_c;var j2=bo,N2=j2,P2=500;function I2(e){var a=N2(e,function(r){return t.size===P2&&t.clear(),r}),t=a.cache;return a}var L2=I2,R2=L2,Y2=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,V2=/\\(\\)?/g,U2=R2(function(e){var a=[];return e.charCodeAt(0)===46&&a.push(""),e.replace(Y2,function(t,r,n,i){a.push(n?i.replace(V2,"$1"):r||t)}),a}),z2=U2;function H2(e,a){for(var t=-1,r=e==null?0:e.length,n=Array(r);++t<r;)n[t]=a(e[t],t,e);return n}var Wn=H2,td=Ln,W2=Wn,G2=oe,K2=Qi,Z2=1/0,ad=td?td.prototype:void 0,rd=ad?ad.toString:void 0;function Dc(e){if(typeof e=="string")return e;if(G2(e))return W2(e,Dc)+"";if(K2(e))return rd?rd.call(e):"";var a=e+"";return a=="0"&&1/e==-Z2?"-0":a}var Al=Dc,X2=Al;function J2(e){return e==null?"":X2(e)}var Nr=J2,Q2=oe,eO=yo,tO=z2,aO=Nr;function rO(e,a){return Q2(e)?e:eO(e,a)?[e]:tO(aO(e))}var Gn=rO,nO=Qi,iO=1/0;function uO(e){if(typeof e=="string"||nO(e))return e;var a=e+"";return a=="0"&&1/e==-iO?"-0":a}var Kn=uO,lO=Gn,sO=Kn;function oO(e,a){a=lO(a,e);for(var t=0,r=a.length;e!=null&&t<r;)e=e[sO(a[t++])];return t&&t==r?e:void 0}var eu=oO,fO=eu;function dO(e,a,t){var r=e==null?void 0:fO(e,a);return r===void 0?t:r}var Tt=dO;function vO(e,a){return e!=null&&a in Object(e)}var cO=vO,pO=Gn,mO=zi,hO=oe,gO=ol,yO=ro,bO=Kn;function AO(e,a,t){a=pO(a,e);for(var r=-1,n=a.length,i=!1;++r<n;){var u=bO(a[r]);if(!(i=e!=null&&t(e,u)))break;e=e[u]}return i||++r!=n?i:(n=e==null?0:e.length,!!n&&yO(n)&&gO(u,n)&&(hO(e)||mO(e)))}var _O=AO,DO=cO,$O=_O;function wO(e,a){return e!=null&&$O(e,a,DO)}var $c=wO,CO=go,SO=Tt,FO=$c,OO=yo,EO=bc,xO=Ac,TO=Kn,MO=1,kO=2;function BO(e,a){return OO(e)&&EO(a)?xO(TO(e),a):function(t){var r=SO(t,e);return r===void 0&&r===a?FO(t,e):CO(a,r,MO|kO)}}var qO=BO;function jO(e){return function(a){return a==null?void 0:a[e]}}var NO=jO,PO=eu;function IO(e){return function(a){return PO(a,e)}}var LO=IO,RO=NO,YO=LO,VO=yo,UO=Kn;function zO(e){return VO(e)?RO(UO(e)):YO(e)}var HO=zO,WO=C2,GO=qO,KO=Gi,ZO=oe,XO=HO;function JO(e){return typeof e=="function"?e:e==null?KO:typeof e=="object"?ZO(e)?GO(e[0],e[1]):WO(e):XO(e)}var wr=JO,QO=Wi;function eE(e,a){var t;return QO(e,function(r,n,i){return t=a(r,n,i),!t}),!!t}var tE=eE,aE=fc,rE=wr,nE=tE,iE=oe,uE=vo;function lE(e,a,t){var r=iE(e)?aE:nE;return t&&uE(e,a,t)&&(a=void 0),r(e,rE(a))}var Te=lE,sE=Xv,oE=Ji,fE=zi,dE=oe,vE=$r,cE=rn.exports,pE=dl,mE=fl,hE="[object Map]",gE="[object Set]",yE=Object.prototype,bE=yE.hasOwnProperty;function AE(e){if(e==null)return!0;if(vE(e)&&(dE(e)||typeof e=="string"||typeof e.splice=="function"||cE(e)||mE(e)||fE(e)))return!e.length;var a=oE(e);if(a==hE||a==gE)return!e.size;if(pE(e))return!sE(e).length;for(var t in e)if(bE.call(e,t))return!1;return!0}var wi=AE;function _E(e,a,t){var r=-1,n=e.length;a<0&&(a=-a>n?0:n+a),t=t>n?n:t,t<0&&(t+=n),n=a>t?0:t-a>>>0,a>>>=0;for(var i=Array(n);++r<n;)i[r]=e[r+a];return i}var wc=_E,DE=wc;function $E(e,a,t){var r=e.length;return t=t===void 0?r:t,!a&&t>=r?e:DE(e,a,t)}var Cc=$E,wE="\\ud800-\\udfff",CE="\\u0300-\\u036f",SE="\\ufe20-\\ufe2f",FE="\\u20d0-\\u20ff",OE=CE+SE+FE,EE="\\ufe0e\\ufe0f",xE="\\u200d",TE=RegExp("["+xE+wE+OE+EE+"]");function ME(e){return TE.test(e)}var Sc=ME;function kE(e){return e.split("")}var BE=kE,Fc="\\ud800-\\udfff",qE="\\u0300-\\u036f",jE="\\ufe20-\\ufe2f",NE="\\u20d0-\\u20ff",PE=qE+jE+NE,IE="\\ufe0e\\ufe0f",LE="["+Fc+"]",Ss="["+PE+"]",Fs="\\ud83c[\\udffb-\\udfff]",RE="(?:"+Ss+"|"+Fs+")",Oc="[^"+Fc+"]",Ec="(?:\\ud83c[\\udde6-\\uddff]){2}",xc="[\\ud800-\\udbff][\\udc00-\\udfff]",YE="\\u200d",Tc=RE+"?",Mc="["+IE+"]?",VE="(?:"+YE+"(?:"+[Oc,Ec,xc].join("|")+")"+Mc+Tc+")*",UE=Mc+Tc+VE,zE="(?:"+[Oc+Ss+"?",Ss,Ec,xc,LE].join("|")+")",HE=RegExp(Fs+"(?="+Fs+")|"+zE+UE,"g");function WE(e){return e.match(HE)||[]}var GE=WE,KE=BE,ZE=Sc,XE=GE;function JE(e){return ZE(e)?XE(e):KE(e)}var kc=JE,QE=Cc,ex=Sc,tx=kc,ax=Nr;function rx(e){return function(a){a=ax(a);var t=ex(a)?tx(a):void 0,r=t?t[0]:a.charAt(0),n=t?QE(t,1).join(""):a.slice(1);return r[e]()+n}}var Bc=rx,nx=Bc,ix=nx("toUpperCase"),sn=ix,ux=Wi;function lx(e,a){var t=[];return ux(e,function(r,n,i){a(r,n,i)&&t.push(r)}),t}var sx=lx,ox=cc,fx=sx,dx=wr,vx=oe;function cx(e,a){var t=vx(e)?ox:fx;return t(e,dx(a))}var Ao=cx,px=zn,mx=zt;function hx(e,a){return e&&px(a,mx(a),e)}var gx=hx,yx=zn,bx=Zi;function Ax(e,a){return e&&yx(a,bx(a),e)}var _x=Ax,Dx=zn,$x=ho;function wx(e,a){return Dx(e,$x(e),a)}var Cx=wx,Sx=bl,Fx=oo,Ox=ho,Ex=pc,xx=Object.getOwnPropertySymbols,Tx=xx?function(e){for(var a=[];e;)Sx(a,Ox(e)),e=Fx(e);return a}:Ex,qc=Tx,Mx=zn,kx=qc;function Bx(e,a){return Mx(e,kx(e),a)}var qx=Bx,jx=vc,Nx=qc,Px=Zi;function Ix(e){return jx(e,Px,Nx)}var jc=Ix,Lx=Object.prototype,Rx=Lx.hasOwnProperty;function Yx(e){var a=e.length,t=new e.constructor(a);return a&&typeof e[0]=="string"&&Rx.call(e,"index")&&(t.index=e.index,t.input=e.input),t}var Vx=Yx,Ux=lo;function zx(e,a){var t=a?Ux(e.buffer):e.buffer;return new e.constructor(t,e.byteOffset,e.byteLength)}var Hx=zx,Wx=/\w*$/;function Gx(e){var a=new e.constructor(e.source,Wx.exec(e));return a.lastIndex=e.lastIndex,a}var Kx=Gx,nd=Ln,id=nd?nd.prototype:void 0,ud=id?id.valueOf:void 0;function Zx(e){return ud?Object(ud.call(e)):{}}var Xx=Zx,Jx=lo,Qx=Hx,eT=Kx,tT=Xx,aT=rc,rT="[object Boolean]",nT="[object Date]",iT="[object Map]",uT="[object Number]",lT="[object RegExp]",sT="[object Set]",oT="[object String]",fT="[object Symbol]",dT="[object ArrayBuffer]",vT="[object DataView]",cT="[object Float32Array]",pT="[object Float64Array]",mT="[object Int8Array]",hT="[object Int16Array]",gT="[object Int32Array]",yT="[object Uint8Array]",bT="[object Uint8ClampedArray]",AT="[object Uint16Array]",_T="[object Uint32Array]";function DT(e,a,t){var r=e.constructor;switch(a){case dT:return Jx(e);case rT:case nT:return new r(+e);case vT:return Qx(e,t);case cT:case pT:case mT:case hT:case gT:case yT:case bT:case AT:case _T:return aT(e,t);case iT:return new r;case uT:case oT:return new r(e);case lT:return eT(e);case sT:return new r;case fT:return tT(e)}}var $T=DT,wT=Ji,CT=tr,ST="[object Map]";function FT(e){return CT(e)&&wT(e)==ST}var OT=FT,ET=OT,xT=Hi,ld=Ni.exports,sd=ld&&ld.isMap,TT=sd?xT(sd):ET,MT=TT,kT=Ji,BT=tr,qT="[object Set]";function jT(e){return BT(e)&&kT(e)==qT}var NT=jT,PT=NT,IT=Hi,od=Ni.exports,fd=od&&od.isSet,LT=fd?IT(fd):PT,RT=LT,YT=hl,VT=Uv,UT=fo,zT=gx,HT=_x,WT=Yu.exports,GT=so,KT=Cx,ZT=qx,XT=mc,JT=jc,QT=Ji,eM=Vx,tM=$T,aM=nc,rM=oe,nM=rn.exports,iM=MT,uM=Da,lM=RT,sM=zt,oM=Zi,fM=1,dM=2,vM=4,Nc="[object Arguments]",cM="[object Array]",pM="[object Boolean]",mM="[object Date]",hM="[object Error]",Pc="[object Function]",gM="[object GeneratorFunction]",yM="[object Map]",bM="[object Number]",Ic="[object Object]",AM="[object RegExp]",_M="[object Set]",DM="[object String]",$M="[object Symbol]",wM="[object WeakMap]",CM="[object ArrayBuffer]",SM="[object DataView]",FM="[object Float32Array]",OM="[object Float64Array]",EM="[object Int8Array]",xM="[object Int16Array]",TM="[object Int32Array]",MM="[object Uint8Array]",kM="[object Uint8ClampedArray]",BM="[object Uint16Array]",qM="[object Uint32Array]",tt={};tt[Nc]=tt[cM]=tt[CM]=tt[SM]=tt[pM]=tt[mM]=tt[FM]=tt[OM]=tt[EM]=tt[xM]=tt[TM]=tt[yM]=tt[bM]=tt[Ic]=tt[AM]=tt[_M]=tt[DM]=tt[$M]=tt[MM]=tt[kM]=tt[BM]=tt[qM]=!0;tt[hM]=tt[Pc]=tt[wM]=!1;function Eu(e,a,t,r,n,i){var u,l=a&fM,s=a&dM,o=a&vM;if(t&&(u=n?t(e,r,n,i):t(e)),u!==void 0)return u;if(!uM(e))return e;var f=rM(e);if(f){if(u=eM(e),!l)return GT(e,u)}else{var v=QT(e),d=v==Pc||v==gM;if(nM(e))return WT(e,l);if(v==Ic||v==Nc||d&&!n){if(u=s||d?{}:aM(e),!l)return s?ZT(e,HT(u,e)):KT(e,zT(u,e))}else{if(!tt[v])return n?e:{};u=tM(e,v,l)}}i||(i=new YT);var p=i.get(e);if(p)return p;i.set(e,u),lM(e)?e.forEach(function(A){u.add(Eu(A,a,t,A,e,i))}):iM(e)&&e.forEach(function(A,D){u.set(D,Eu(A,a,t,D,e,i))});var m=o?s?JT:XT:s?oM:sM,h=f?void 0:m(e);return VT(h||e,function(A,D){h&&(D=A,A=e[D]),UT(u,D,Eu(A,a,t,D,e,i))}),u}var _o=Eu,jM=_o,NM=1,PM=4;function IM(e){return jM(e,NM|PM)}var Ee=IM,LM=fo,RM=Gn,YM=ol,dd=Da,VM=Kn;function UM(e,a,t,r){if(!dd(e))return e;a=RM(a,e);for(var n=-1,i=a.length,u=i-1,l=e;l!=null&&++n<i;){var s=VM(a[n]),o=t;if(s==="__proto__"||s==="constructor"||s==="prototype")return e;if(n!=u){var f=l[s];o=r?r(f,s,l):void 0,o===void 0&&(o=dd(f)?f:YM(a[n+1])?[]:{})}LM(l,s,o),l=l[s]}return e}var Lc=UM,zM=Lc;function HM(e,a,t){return e==null?e:zM(e,a,t)}var Xr=HM,vd=Ln,WM=zi,GM=oe,cd=vd?vd.isConcatSpreadable:void 0;function KM(e){return GM(e)||WM(e)||!!(cd&&e&&e[cd])}var ZM=KM,XM=bl,JM=ZM;function Rc(e,a,t,r,n){var i=-1,u=e.length;for(t||(t=JM),n||(n=[]);++i<u;){var l=e[i];a>0&&t(l)?a>1?Rc(l,a-1,t,r,n):XM(n,l):r||(n[n.length]=l)}return n}var Zn=Rc;function QM(e,a,t,r){for(var n=e.length,i=t+(r?1:-1);r?i--:++i<n;)if(a(e[i],i,e))return i;return-1}var Do=QM;function ek(e){return e!==e}var tk=ek;function ak(e,a,t){for(var r=t-1,n=e.length;++r<n;)if(e[r]===a)return r;return-1}var rk=ak,nk=Do,ik=tk,uk=rk;function lk(e,a,t){return a===a?uk(e,a,t):nk(e,ik,t)}var _l=lk,sk=_l;function ok(e,a){var t=e==null?0:e.length;return!!t&&sk(e,a,0)>-1}var Yc=ok;function fk(e,a,t){for(var r=-1,n=e==null?0:e.length;++r<n;)if(t(a,e[r]))return!0;return!1}var Vc=fk;function dk(){}var vk=dk,Wl=hc,ck=vk,pk=mo,mk=1/0,hk=Wl&&1/pk(new Wl([,-0]))[1]==mk?function(e){return new Wl(e)}:ck,gk=hk,yk=co,bk=Yc,Ak=Vc,_k=po,Dk=gk,$k=mo,wk=200;function Ck(e,a,t){var r=-1,n=bk,i=e.length,u=!0,l=[],s=l;if(t)u=!1,n=Ak;else if(i>=wk){var o=a?null:Dk(e);if(o)return $k(o);u=!1,n=_k,s=new yk}else s=a?[]:l;e:for(;++r<i;){var f=e[r],v=a?a(f):f;if(f=t||f!==0?f:0,u&&v===v){for(var d=s.length;d--;)if(s[d]===v)continue e;a&&s.push(v),l.push(f)}else n(s,v,t)||(s!==l&&s.push(v),l.push(f))}return l}var Sk=Ck,Fk=Zn,Ok=Xi,Ek=Sk,xk=yl,Tk=Ok(function(e){return Ek(Fk(e,1,xk,!0))}),pd=Tk,Mk=Zn,kk=1/0;function Bk(e){var a=e==null?0:e.length;return a?Mk(e,kk):[]}var md=Bk,qk=["presets","usePresets","addClasses","prependClasses","removeClasses","replaceClasses","overrideClasses"],jk=["addClass","removeClass","replaceClass","overrideClass"];class Dl{constructor(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.options=a,this.shouldMergeTemplateClasses?(this.componentClasses=this.templateClasses,this.merge({overrideClasses:{[this.component]:this.themeClasses}})):this.componentClasses=this.templateClasses,this.merge(this.config),F(a.merge,t=>{this.merge(t)}),this.merge(this.locals||this.component$.value,!0),this.config.classHelpers&&this.config.env!=="production"&&this.merge({prependClasses:{[this.component]:this.getClassHelpers(this.componentClasses,[this.component])}})}get classes(){return new Proxy(this.componentClasses,{get:(a,t)=>typeof t!="string"?a[t]:this.getDynamicClasses(a,t)})}get config(){return this.options.config||{}}get component(){return this.options.component}get component$(){return this.options.component$}get locals(){return this.options.locals}get view(){return this.options.view}get theme(){return this.options.theme}get presets(){return this.config.presets}get templates(){return this.options.templates||{}}get template(){return this.view&&this.templates["".concat(this.component,"_").concat(this.view)]?this.templates["".concat(this.component,"_").concat(this.view)]:this.templates[this.component]||{}}get themeClasses(){return Ee(this.toArray(this.view&&this.theme.classes["".concat(this.component,"_").concat(this.view)]?this.theme.classes["".concat(this.component,"_").concat(this.view)]:this.theme.classes[this.component]))}get templateClasses(){return Ee(this.toArray(this.defaultClasses))}get shouldMergeTemplateClasses(){var a=typeof this.template.data=="function"&&this.template.data().merge!==void 0?this.template.data().merge:this.component$.value.merge;return a!==void 0?a:!1}get defaultClasses(){return typeof this.template.data=="function"&&this.template.data().defaultClasses?this.template.data().defaultClasses:this.component$.value.defaultClasses}get mainClass(){var a=typeof this.template.data=="function"&&this.template.data().defaultClasses?this.template.data().defaultClasses:this.component$.value.defaultClasses;return Object.keys(a)[0]}merge(a){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;F(this.pick(a,t?jk:qk),(r,n)=>{switch(typeof r=="function"&&(r=r(this.component$.value.form$,"el$"in this.component$.value&&typeof this.component$.value.el$=="object"?this.component$.value.el$:void 0)),n){case"addClasses":case"prependClasses":case"overrideClasses":if(!r||r[this.component]===void 0)return;this.mergeComponentClasses(this.toArray(r[this.component]),n);break;case"removeClasses":case"replaceClasses":if(!r||r[this.component]===void 0)return;this.mergeComponentClasses(r[this.component],n);break;case"addClass":case"removeClass":case"replaceClass":case"overrideClass":if(!r)return;typeof r=="string"||Array.isArray(r)?(Array.isArray(r)||(r=r.length>0?r.split(" "):[]),this.mergeComponentClasses({[this.mainClass]:r},"".concat(n,"es"))):n==="replaceClass"?this.mergeComponentClasses(r,"".concat(n,"es")):Ze(r)&&this.mergeComponentClasses(this.toArray(r),"".concat(n,"es"));break;case"presets":case"usePresets":if(!Array.isArray(r))return;F(r,i=>{this.merge(this.presets[i])});break}})}mergeComponentClasses(a,t){F(a,(r,n)=>{this[t](r,[n])})}addClasses(a,t){var r=Tt(this.componentClasses,t.join("."));a.length==1&&!a[0]||(Ze(r)?F(a,(n,i)=>{this.addClasses(n,t.concat(i))}):Xr(this.componentClasses,t.join("."),pd(r,a)))}prependClasses(a,t){var r=Tt(this.componentClasses,t.join("."));a.length==1&&!a[0]||(Ze(r)?F(a,(n,i)=>{this.prependClasses(n,t.concat(i))}):Xr(this.componentClasses,t.join("."),pd(a,r)))}removeClasses(a,t){var r=Tt(this.componentClasses,t.join("."));Ze(r)?F(a,(n,i)=>{this.removeClasses(n,t.concat(i))}):Array.isArray(r)&&Xr(this.componentClasses,t.join("."),r.filter(n=>typeof n!="string"||a.indexOf(n)===-1))}replaceClasses(a,t){var r=Tt(this.componentClasses,t.join("."));if(Array.isArray(a)){var n={};a.forEach(i=>{n=G(G({},n),i)}),a=n}Ze(r)?F(a,(i,u)=>{this.replaceClasses(i,t.concat(u))}):Array.isArray(r)&&Xr(this.componentClasses,t.join("."),r.map(i=>typeof i!="string"||Object.keys(a).indexOf(i)===-1?i:a[i]))}overrideClasses(a,t){var r=Tt(this.componentClasses,t.join("."));Ze(r)?F(a,(n,i)=>{this.overrideClasses(n,t.concat(i))}):Xr(this.componentClasses,t.join("."),a)}toArray(a){var t={};return F(a,(r,n)=>{t[n]=this.classesToArray(r,[n])}),t}classesToArray(a,t){var r,n=a,i=t?Tt(this.componentClasses,t.join(".")):void 0;if(typeof a=="string")n=a.length>0?a.split(" "):[];else if(Ze(a))i&&Array.isArray(i)?n=[a]:(!i||Ze(i))&&(n={},F(a,(u,l)=>{n[l]=this.classesToArray(u,t.concat([l]))}));else if(typeof a=="boolean"||typeof a=="object"&&["ComputedRefImpl","RefImpl"].indexOf(a==null||(r=a.constructor)===null||r===void 0?void 0:r.name)!==-1)throw Error("Cannot add conditional class to ".concat(this.component,": '").concat(t.join("."),"'"));return n}getDynamicClasses(a,t,r){r||(r=a);var n=Array.isArray(a[t])?md(a[t]):a[t];return a["$".concat(t)]?md(a["$".concat(t)](r,this.component$.value)):(Ze(n)&&(n=Ee(n),F(n,(i,u)=>{n[u]=this.getDynamicClasses(n,u,a)})),n)}getClassHelpers(a,t){var r={};return F(a,(n,i)=>{i.match(/[$]/)||(Ze(n)?r[i]=this.getClassHelpers(a[i],t.concat([i])):r[i]=["".concat(t.join("."),".").concat(i,"-->")])}),r}pick(a,t){var r={};return a&&F(t,n=>{n in a&&(r[n]=a[n])}),r}}var Uc=function e(a,t,r){return t===void 0&&(t=new FormData),r===void 0&&(r=""),oe(a)?F(a,(n,i)=>{e(n,t,r+"["+i+"]")}):Ze(a)?F(a,(n,i)=>{e(n,t,r?r+"["+i+"]":i)}):t.append(r,a===null?"":a),t},Nk=Wn;function Pk(e,a){return Nk(a,function(t){return e[t]})}var Ik=Pk,Lk=Ik,Rk=zt;function Yk(e){return e==null?[]:Lk(e,Rk(e))}var jr=Yk;function aa(e,a){return Os.apply(this,arguments)}function Os(){return Os=te(function*(e,a){for(var t=0;t<(Ze(e)?jr(e):e).length;t++){var r=Ze(e)?zt(e)[t]:t;yield a(e[r],r,e)}}),Os.apply(this,arguments)}var Vk=gl,Uk=Jv,zk=wr;function Hk(e,a){var t={};return a=zk(a),Uk(e,function(r,n,i){Vk(t,n,a(r,n,i))}),t}var Wk=Hk,Gk=go;function Kk(e,a){return Gk(e,a)}var Xn=Kk,Zk=function(a){return{lastModified:a.lastModified,name:a.name,size:a.size,type:a.type}},hd=function e(a){return a instanceof File?Zk(a):a instanceof Date?a.toString():Array.isArray(a)?a.map(e):typeof a=="object"&&a!==null?Wk(a,e):a};function Pr(e,a){return Xn(hd(e),hd(a))}function ci(e,a){return e.appContext!==void 0?typeof e.appContext.app.component(a)!="string":!!e.proxy.$root.$options.components[a]}var zc=e=>{var a=[];return e.forEach(t=>{a.push(t.path),t.children&&zc(t.children).forEach(r=>{a.push(r)})}),a},Xk=function e(a,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"",n=u=>{var l=a[u],s=r.length?"".concat(r,".").concat(u):u,o={name:u,path:s,type:l.type};return["group","object"].indexOf(l.type)!==-1&&Object.keys(l.schema||{}).length&&(o.children=e(l.schema,null,s)),l.type==="list"&&Object.keys((l==null?void 0:l.element)||{}).length&&(o.children=e({0:l.element},null,s)),o},i=[];return t&&Object.keys(t).length?Object.values(t).forEach(u=>{u.elements.forEach(l=>{i.push(n(l))})}):Object.keys(a).forEach(u=>{i.push(n(u))}),i},Jk=Nr,Qk=sn;function eB(e){return Qk(Jk(e).toLowerCase())}var tB=eB;function aB(e,a,t,r){var n=-1,i=e==null?0:e.length;for(r&&i&&(t=e[++n]);++n<i;)t=a(t,e[n],n,e);return t}var Hc=aB;function rB(e){return function(a){return e==null?void 0:e[a]}}var nB=rB,iB=nB,uB={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},lB=iB(uB),sB=lB,oB=sB,fB=Nr,dB=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,vB="\\u0300-\\u036f",cB="\\ufe20-\\ufe2f",pB="\\u20d0-\\u20ff",mB=vB+cB+pB,hB="["+mB+"]",gB=RegExp(hB,"g");function yB(e){return e=fB(e),e&&e.replace(dB,oB).replace(gB,"")}var bB=yB,AB=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;function _B(e){return e.match(AB)||[]}var DB=_B,$B=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;function wB(e){return $B.test(e)}var CB=wB,Wc="\\ud800-\\udfff",SB="\\u0300-\\u036f",FB="\\ufe20-\\ufe2f",OB="\\u20d0-\\u20ff",EB=SB+FB+OB,Gc="\\u2700-\\u27bf",Kc="a-z\\xdf-\\xf6\\xf8-\\xff",xB="\\xac\\xb1\\xd7\\xf7",TB="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",MB="\\u2000-\\u206f",kB=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Zc="A-Z\\xc0-\\xd6\\xd8-\\xde",BB="\\ufe0e\\ufe0f",Xc=xB+TB+MB+kB,Jc="['’]",gd="["+Xc+"]",qB="["+EB+"]",Qc="\\d+",jB="["+Gc+"]",ep="["+Kc+"]",tp="[^"+Wc+Xc+Qc+Gc+Kc+Zc+"]",NB="\\ud83c[\\udffb-\\udfff]",PB="(?:"+qB+"|"+NB+")",IB="[^"+Wc+"]",ap="(?:\\ud83c[\\udde6-\\uddff]){2}",rp="[\\ud800-\\udbff][\\udc00-\\udfff]",wn="["+Zc+"]",LB="\\u200d",yd="(?:"+ep+"|"+tp+")",RB="(?:"+wn+"|"+tp+")",bd="(?:"+Jc+"(?:d|ll|m|re|s|t|ve))?",Ad="(?:"+Jc+"(?:D|LL|M|RE|S|T|VE))?",np=PB+"?",ip="["+BB+"]?",YB="(?:"+LB+"(?:"+[IB,ap,rp].join("|")+")"+ip+np+")*",VB="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",UB="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",zB=ip+np+YB,HB="(?:"+[jB,ap,rp].join("|")+")"+zB,WB=RegExp([wn+"?"+ep+"+"+bd+"(?="+[gd,wn,"$"].join("|")+")",RB+"+"+Ad+"(?="+[gd,wn+yd,"$"].join("|")+")",wn+"?"+yd+"+"+bd,wn+"+"+Ad,UB,VB,Qc,HB].join("|"),"g");function GB(e){return e.match(WB)||[]}var KB=GB,ZB=DB,XB=CB,JB=Nr,QB=KB;function eq(e,a,t){return e=JB(e),a=t?void 0:a,a===void 0?XB(e)?QB(e):ZB(e):e.match(a)||[]}var tq=eq,aq=Hc,rq=bB,nq=tq,iq="['’]",uq=RegExp(iq,"g");function lq(e){return function(a){return aq(nq(rq(a).replace(uq,"")),e,"")}}var sq=lq,oq=tB,fq=sq,dq=fq(function(e,a,t){return a=a.toLowerCase(),e+(t?oq(a):a)}),Pi=dq,Ie=function(a,t,r){var n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};if(!n.events)throw new Error("`events` option is required for useEvents");var i=Y(n.events),u=Y({}),l=(f,v)=>{u.value[f]||(u.value[f]=[]),u.value[f].push(v)},s=f=>{delete u.value[f]},o=function(){var v=arguments[0],d=[].slice.call(arguments).splice(1);F(u.value[v],p=>{p(...d)}),(!u.value[v]||!u.value[v].length)&&t.emit(...[v].concat(d))};return F(i.value,f=>{var v=a["on"+sn(Pi(f))];v&&l(f,v)}),{events:i,listeners:u,on:l,off:s,fire:o}};function vq(e,a,t){var{value:r,modelValue:n,sync:i}=I(e),u=t.$this,l=u.$vueform.vueVersion===3?n:r,s=Y({}),o=Y(l&&l.value?Ee(l.value):null),f=c(()=>i.value&&l&&l.value!==void 0),v=c(()=>Ee(l.value||s.value)),d=(p,m)=>{if(l.value)if(p){var h=p.split("."),A=h.pop(),D=h.join(".")||null,b=D?Tt(l.value,D):l.value;b!==void 0&&u.$set(b,A,m),o.value=Ee(l.value)}else F(m,(_,C)=>{l.value!==void 0&&u.$set(l.value,C,_),o.value!==void 0&&u.$set(o.value,C,_)});else{var $=Ee(l.value||s.value);p?Xr($,p,m):$=Object.assign({},$,m),s.value=$}};return l&&l.value&&De(v,(p,m)=>{Pr(p,m)||(s.value=p)},{deep:!0,immediate:!1}),{model:v,internalData:s,intermediaryValue:o,externalValue:l,isSync:f,updateModel:d}}var cq=function(a,t){var{schema:r,tabs:n,steps:i,size:u,view:l,views:s,addClass:o,removeClass:f,replaceClass:v,overrideClass:d,addClasses:p,removeClasses:m,replaceClasses:h,overrideClasses:A,presets:D,templates:b,theme:$,messages:_,columns:C,languages:O,formKey:T,endpoint:S,method:x,formData:L,language:z,locale:X,validateOn:Q,forceLabels:P,floatPlaceholders:M,multilingual:q,stepsControls:B,displayErrors:N,displayMessages:ne,formatLoad:J,formatData:H,forceNumbers:ve,prepare:Me,default:$t,disabled:Ce,loading:Ve,onChange:se,onReset:ie,onClear:we,onSubmit:Be,onSuccess:dt,onError:wt,onLanguage:jt,onBeforeMount:na,onMounted:Zt,onBeforeUpdate:le,onUpdated:xe,onBeforeUnmount:pe,onUnmounted:Se}=I(a),ue=["change","reset","clear","submit","success","error","language","response","beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeUnmount","unmounted"],he=La(),ge=he.proxy,{events:nr,listeners:dn,fire:Ke,on:vn,off:cn}=Ie(a,t,{form$:ge},{events:ue}),{externalValue:ir,model:pn,internalData:ri,intermediaryValue:ni,isSync:mn,updateModel:ii}=vq(a,t,{$this:ge,fire:Ke}),vt=Y({}),Le=Y(null),ca=Y(null),ur=Y(!0),Ir=Y(!0),pa=Y({}),Va=Y(!1),Xt=Y(!1),hn=Y(null),ma=Y({}),g=Y(!1),y=Y(ci(he,"FormMessages")),w=Y(ci(he,"FormErrors")),E=Y(ci(he,"FormLanguages")),V=Y(ci(he,"FormTabs")),Z=Y(ci(he,"FormSteps")),fe=c(()=>ge),U=c(()=>ge.$vueform),Oe=c(()=>U.value),re=c(()=>ee.value.locale||U.value.i18n.locale),ye=c(()=>ge.$vueform.services),ee=c(()=>{var k={schema:$a.value,tabs:Ua.value,steps:Ma.value},K={columns:C,languages:O,language:z,theme:$,method:x,validateOn:Q,messages:_,formKey:T,multilingual:q,formatLoad:J,formatData:H,prepare:Me,default:$t,formData:L,templates:b,addClass:o,removeClass:f,replaceClass:v,overrideClass:d,addClasses:p,removeClasses:m,replaceClasses:h,overrideClasses:A,presets:D,size:u,view:l,views:s,locale:X},me={stepsControls:B,displayErrors:N,displayMessages:ne,forceLabels:P,disabled:Ce,loading:Ve,floatPlaceholders:M,endpoint:S,forceNumbers:ve,onChange:se.value,onReset:ie.value,onClear:we.value,onSubmit:Be.value,onSuccess:dt.value,onError:wt.value,onLanguage:jt.value,onBeforeMount:na.value,onMounted:Zt.value,onBeforeUpdate:le.value,onUpdated:xe.value,onBeforeUnmount:pe.value,onUnmounted:Se.value},Ue={languages:U.value.config.languages,language:U.value.config.language,endpoint:typeof U.value.config.endpoints.submit=="function"?U.value.config.endpoints.submit:U.value.config.endpoints.submit.url,method:typeof U.value.config.endpoints.submit=="function"?null:U.value.config.endpoints.submit.method,validateOn:U.value.config.validateOn,displayErrors:U.value.config.displayErrors,displayMessages:U.value.config.displayMessages,forceLabels:U.value.config.forceLabels,floatPlaceholders:U.value.config.floatPlaceholders,formData:U.value.config.formData,theme:U.value.theme,view:U.value.config.view,views:{},columns:{},size:null,addClass:null,removeClass:null,replaceClass:null,overrideClass:null,addClasses:{},removeClasses:{},replaceClasses:{},overrideClasses:{},presets:[],templates:{},messages:{},default:{},formKey:null,formatLoad:null,formatData:null,forceNumbers:null,prepare:null,multilingual:!1,stepsControls:!0,disabled:!1,loading:!1};return F(K,(wa,Pt)=>{k[Pt]=ma.value[Pt]!==void 0?ma.value[Pt]:(wa&&wa.value?wa.value:void 0)||Ue[Pt]}),F(me,(wa,Pt)=>{k[Pt]=ma.value[Pt]!==void 0?ma.value[Pt]:wa&&wa.value!==null?wa.value:Ue[Pt]}),k}),$a=c(()=>{var k,K=Nt.value;return Object.keys(Ma.value).length>0&&(k=Ma.value),Object.keys(Ua.value).length>0&&(k=Ua.value),k&&(K={},F(k,me=>{F(me.elements,Ue=>{Nt.value[Ue]&&(K[Ue]=Nt.value[Ue])})}),F(Object.keys(Nt.value),me=>{K[me]===void 0&&(K[me]=Nt.value[me])})),K}),Nt=c(()=>mr({},r&&r.value?r.value:{},ma.value.schema||{})),Ua=c(()=>mr({},n&&n.value?n.value:{},ma.value.tabs||{})),Ma=c(()=>mr({},i&&i.value?i.value:{},ma.value.steps||{})),su=c(()=>Xk(Nt.value,Nl.value?Ua.value:Ma.value)),ui=c(()=>zc(su.value)),Lr=c(()=>{var k={};return F(vt.value,K=>{K.isStatic||(k=Object.assign({},k,K.data))}),k}),Ml=c(()=>{var k={};return F(vt.value,K=>{K.isStatic||(k=Object.assign({},k,K.requestData))}),H.value?H.value(k):k}),kl=c(()=>Te(vt.value,k=>k.isStatic===!1&&k.available===!0&&k.dirty===!0)),gn=c(()=>Te(vt.value,k=>k.isStatic===!1&&k.available===!0&&k.invalid===!0)),Bl=c(()=>Te(vt.value,k=>k.isStatic===!1&&k.available===!0&&k.debouncing===!0)),ql=c(()=>Te(vt.value,k=>k.isStatic===!1&&k.available===!0&&k.pending===!0)),ou=c(()=>!Te(vt.value,k=>k.isStatic===!1&&k.available===!0&&k.validated===!1)),fu=c(()=>Te(vt.value,k=>k.isStatic===!1&&k.available===!0&&k.busy===!0)||Va.value||Xt.value||ef.value),ug=c(()=>{var k=[];return F(Ao(vt.value,{available:!0,isStatic:!1}),K=>{F(K.errors,me=>{k.push(me)})}),k}),Go=c(()=>pa.value.errors),Ko=c(()=>Go.value.length>0),lg=c(()=>Ko.value&&ee.value.displayErrors&&w.value),Zo=c(()=>pa.value.messages),Xo=c(()=>Zo.value.length>0),sg=c(()=>Xo.value&&ee.value.displayMessages&&y.value),Jo=c(()=>ee.value.multilingual),og=c(()=>Jo.value&&E.value),Qo=c(()=>gn.value&&du.value||fu.value||ee.value.disabled),ef=c(()=>ee.value.loading),du=c(()=>ee.value.validateOn.split("|").indexOf("change")!==-1),fg=c(()=>ee.value.validateOn.split("|").indexOf("step")!==-1),jl=c(()=>!wi(ee.value.steps)),dg=c(()=>jl.value&&Z.value),vg=c(()=>jl.value&&ee.value.stepsControls&&Z.value),Nl=c(()=>!wi(ee.value.tabs)),cg=c(()=>Nl.value&&V.value),vu=c(()=>{var k={};return F(U.value.config.usePresets.concat(ee.value.presets),K=>{var me=U.value.config.presets[K];!me||!me.templates||(k=Object.assign({},k,me.templates))}),Object.assign({},ee.value.theme,{templates:Object.assign({},ee.value.theme.templates,U.value.templates,k,ee.value.templates||{})})}),li=c(()=>vu.value.templates),pg=c(()=>si.value&&li.value["Vueform_".concat(si.value)]?li.value["Vueform_".concat(si.value)]:li.value.Vueform),mg=c(()=>new Dl({component:"Vueform",component$:fe,theme:vu.value,config:U.value.config,templates:li.value,view:si.value,locals:ee.value,merge:[ee.value]}).classes),tf=c(()=>{var k;return ee.value.size?k=ee.value.size:F(U.value.config.usePresets.concat(ee.value.presets),K=>{var me=U.value.config.presets[K];!me||!me.size||(k=me.size)}),k||(k=U.value.config.size),k}),Pl=c(()=>{var k=U.value.config.views;return F(U.value.config.usePresets.concat(ee.value.presets),K=>{var me=U.value.config.presets[K];!me||!me.views||(k=Object.assign({},k,me.views))}),k=Object.assign({},k,ee.value.views),k}),si=c(()=>ee.value.view?ee.value.view:Pl.value.Vueform),af=c(()=>{var k=ge.$vueform.i18n,K=k.locales,me=X.value||k.locale,Ue=k.fallbackLocale||"en";return me?mr({},K[Ue],K[me]):K[Ue]}),rf=function(K){var me=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(me){cu(me).update(K);return}F(vt.value,Ue=>{Ue.isStatic||K[Ue.name]===void 0&&!Ue.flat||Ue.update(Ue.flat?K:K[Ue.name])})},hg=function(){var k=te(function*(K){var me=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;ca.value!==null&&ca.value.enableAllSteps();var Ue=me&&ee.value.formatLoad!==null?ee.value.formatLoad(K):K;yield aa(vt.value,function(){var wa=te(function*(Pt){if(!Pt.isStatic){var yn=Pt.flat?Ue:Ue[Pt.name];if(yn===void 0){Pt.clear();return}yield Pt.load(yn,me)}});return function(Pt){return wa.apply(this,arguments)}}())});return function(me){return k.apply(this,arguments)}}(),gg=()=>{F(vt.value,k=>{k.isStatic||k.reset()}),ca.value!==null&&ca.value.reset(),Le.value!==null&&Le.value.reset(),Ke("reset")},yg=()=>{F(vt.value,k=>{k.isStatic||k.clear()}),ca.value!==null&&ca.value.reset(),Le.value!==null&&Le.value.reset(),Ke("clear")},bg=()=>{F(vt.value,k=>{k.isStatic||k.clean()})},Ag=()=>{pa.value&&pa.value.clear(),F(vt.value,k=>{k.isStatic||k.clearMessages()})},nf=function(){var k=te(function*(){if(!(!gn.value&&ou.value&&du.value)){var K=Object.values(vt.value).filter(me=>me.available&&!me.isStatic&&(!me.validated||!du.value));yield aa(K,function(){var me=te(function*(Ue){yield Ue.validate()});return function(Ue){return me.apply(this,arguments)}}())}});return function(){return k.apply(this,arguments)}}(),uf=()=>{F(vt.value,k=>{k.isStatic||k.resetValidators()})},lf=function(){var k=te(function*(){if(!Qo.value&&(yield nf(),!gn.value)){Xt.value=!0;try{yield of(),typeof ee.value.prepare=="function"&&(yield ee.value.prepare(fe.value)),typeof ge.$vueform.config.beforeSend=="function"&&(yield ge.$vueform.config.beforeSend(fe.value))}catch(me){Ke("error",me,{type:"prepare"},fe.value),console.error(me);return}finally{Xt.value=!1}var K=ee.value.formData(fe.value);Ke("submit",fe.value,K),ee.value.endpoint&&sf()}});return function(){return k.apply(this,arguments)}}(),sf=function(){var k=te(function*(){Va.value=!0;var K={};try{var me,Ue;uf();var wa=ee.value.formData(fe.value);if(typeof ee.value.endpoint=="function")K=yield ee.value.endpoint(wa,fe.value);else{var Pt,yn,Og=((Pt=ge.$vueform.config.endpoints[ee.value.endpoint])===null||Pt===void 0?void 0:Pt.url)||ee.value.endpoint,df=((yn=ge.$vueform.config.endpoints[ee.value.endpoint])===null||yn===void 0?void 0:yn.method)||ee.value.method;K=yield ye.value.axios.request({url:Og,method:df.toLowerCase(),[df.toLowerCase()==="get"?"params":"data"]:wa})}if(K&&!(K instanceof Promise)){var lr;(lr=K)!==null&&lr!==void 0&&(lr=lr.data)!==null&&lr!==void 0&&(lr=lr.payload)!==null&&lr!==void 0&&lr.updates&&rf(K.data.payload.updates)}((me=K)===null||me===void 0?void 0:me.status)>=200&&((Ue=K)===null||Ue===void 0?void 0:Ue.status)<300?Ke("success",K,fe.value):Ke("error",{response:K},{type:"submit"},fe.value)}catch(oi){oi.response?(Ke("error",oi,{type:"submit"},fe.value),Ke("response",oi.response,fe.value)):Ke("error",oi,{type:"other"},fe.value),console.error(oi);return}finally{Va.value=!1}Ke("response",K,fe.value)});return function(){return k.apply(this,arguments)}}(),of=function(){var k=te(function*(){try{yield aa(vt.value,function(){var K=te(function*(me){me.prepare&&(yield me.prepare())});return function(me){return K.apply(this,arguments)}}())}catch(K){throw new Error(K)}});return function(){return k.apply(this,arguments)}}(),_g=()=>{ur.value=!1},Dg=()=>{ur.value=!0},$g=()=>{Ir.value=!0},wg=()=>{Ir.value=!1},Il=k=>{hn.value=k,Ke("language",k)},Cg=()=>{lf()},Sg=k=>Uc(k),cu=(k,K)=>{if(K===void 0&&(K=vt.value),wi(K)||!k)return null;var me=String(k).match(/^[^.]+\./);if(me){var Ue=me[0].replace(".","");return K[Ue]?cu(k.replace(me[0],""),K[Ue].children$):null}else if(K[k]!==void 0)return K[k];return null},Fg=k=>{var K;return/\.+/.test(k)?((K=cu(k.match(/.*(?=\.)/)[0]))===null||K===void 0?void 0:K.children$)||{}:vt.value},ff=()=>{pa.value=new ye.value.messageBag(ug)};return va("form$",fe),va("theme",vu),va("Size",tf),va("Views",Pl),va("translations",af),va("config$",Oe),ff(),Il(ee.value.language),an(()=>{ma.value=ge.vueform||{},F(ue,k=>{var K=ee.value["on"+sn(k)];K&&vn(k,K)}),Ke("beforeMount",ge)}),Dt(()=>{g.value=!0,De(Lr,(k,K)=>{Pr(k,K)||(Ke("change",k,K,ge),ir&&ir.value!==void 0&&(t.emit("input",k),t.emit("update:modelValue",k)))},{deep:!0,immediate:!1}),ir&&ir.value!==void 0&&JSON.stringify(ir.value)!==JSON.stringify(Lr.value)&&(t.emit("input",Lr.value),t.emit("update:modelValue",Lr.value)),Ke("mounted",ge)}),Gd(()=>Ke("beforeUpdate",ge)),Kd(()=>Ke("updated",ge)),qr(()=>Ke("beforeUnmount",ge)),Zd(()=>Ke("unmounted",ge)),De(c(()=>ee.value.language),(k,K)=>{k&&Il(k)}),{tabs$:Le,steps$:ca,elements$:vt,options:ee,validation:ur,conditions:Ir,messageBag:pa,selectedLanguage:hn,submitting:Va,preparing:Xt,events:nr,listeners:dn,internalData:ri,data:Lr,requestData:Ml,dirty:kl,invalid:gn,debouncing:Bl,pending:ql,validated:ou,busy:fu,formErrors:Go,formMessages:Zo,isDisabled:Qo,isLoading:ef,shouldValidateOnChange:du,shouldValidateOnStep:fg,hasSteps:jl,hasTabs:Nl,hasErrors:Ko,hasMessages:Xo,isMultilingual:Jo,showErrors:lg,showMessages:sg,showLanguages:og,showSteps:dg,showTabs:cg,showStepsControls:vg,classes:mg,Templates:li,template:pg,extendedTheme:vu,Size:tf,View:si,Views:Pl,form$:fe,model:pn,intermediaryValue:ni,userConfig:ma,isSync:mn,tree:su,flatTree:ui,translations:af,locale$:re,prepareElements:of,updateModel:ii,update:rf,load:hg,reset:gg,clear:yg,clean:bg,clearMessages:Ag,validate:nf,resetValidators:uf,convertFormData:Sg,submit:lf,send:sf,disableValidation:_g,enableValidation:Dg,enableConditions:$g,disableConditions:wg,setLanguage:Il,handleSubmit:Cg,el$:cu,siblings$:Fg,initMessageBag:ff,fire:Ke,on:vn,off:cn,messagesRegistered:y,errorsRegistered:w,languagesRegistered:E,tabsRegistered:V,stepsRegistered:Z}},at=function(a,t,r){var n=t.name,i=r.form$,u=r.el$,l=r.component$||r.el$,s=r.theme,o=r.Templates,f=r.View,v=c(()=>new Dl({component:n.value,component$:l,theme:s.value,config:i.value.$vueform.config,templates:o.value,view:f.value,merge:[i.value.options,u.value]})),d=c(()=>{var p;return G({},(p=v.value)===null||p===void 0?void 0:p.classes)});return{classes:d,classesInstance:v}},$o={name:"Vueform",emits:["input","update:modelValue","change","reset","clear","submit","success","error","response","language","beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeUnmount","unmounted"],slots:["default","empty"],setup:(e,a)=>{a.emits=["input","update:modelValue","change","reset","clear","submit","success","error","response","language","beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeUnmount","unmounted"],a.name=Y("Vueform");var{tabs$:t,steps$:r,elements$:n,options:i,validation:u,conditions:l,messageBag:s,selectedLanguage:o,submitting:f,preparing:v,events:d,listeners:p,internalData:m,data:h,requestData:A,dirty:D,invalid:b,debouncing:$,pending:_,validated:C,busy:O,formErrors:T,formMessages:S,isDisabled:x,isLoading:L,shouldValidateOnChange:z,shouldValidateOnStep:X,hasSteps:Q,hasTabs:P,hasErrors:M,hasMessages:q,isMultilingual:B,showErrors:N,showMessages:ne,showLanguages:J,showSteps:H,showTabs:ve,showStepsControls:Me,classes:$t,Templates:Ce,template:Ve,extendedTheme:se,Size:ie,View:we,Views:Be,form$:dt,model:wt,intermediaryValue:jt,userConfig:na,isSync:Zt,tree:le,flatTree:xe,translations:pe,locale$:Se,prepareElements:ue,updateModel:he,update:ge,load:nr,reset:dn,clear:Ke,clean:vn,clearMessages:cn,validate:ir,resetValidators:pn,convertFormData:ri,submit:ni,send:mn,disableValidation:ii,enableValidation:vt,enableConditions:Le,disableConditions:ca,setLanguage:ur,handleSubmit:Ir,el$:pa,siblings$:Va,initMessageBag:Xt,fire:hn,on:ma,off:g,messagesRegistered:y,errorsRegistered:w,languagesRegistered:E,tabsRegistered:V,stepsRegistered:Z}=cq(e,a);return{tabs$:t,steps$:r,elements$:n,options:i,validation:u,conditions:l,messageBag:s,selectedLanguage:o,submitting:f,preparing:v,events:d,listeners:p,internalData:m,data:h,requestData:A,dirty:D,invalid:b,debouncing:$,pending:_,validated:C,busy:O,formErrors:T,formMessages:S,isDisabled:x,isLoading:L,shouldValidateOnChange:z,shouldValidateOnStep:X,hasSteps:Q,hasTabs:P,hasErrors:M,hasMessages:q,isMultilingual:B,showErrors:N,showMessages:ne,showLanguages:J,showSteps:H,showTabs:ve,showStepsControls:Me,classes:$t,Templates:Ce,template:Ve,extendedTheme:se,Size:ie,View:we,Views:Be,form$:dt,model:wt,intermediaryValue:jt,userConfig:na,isSync:Zt,tree:le,flatTree:xe,translations:pe,locale$:Se,prepareElements:ue,updateModel:he,update:ge,load:nr,reset:dn,clear:Ke,clean:vn,clearMessages:cn,validate:ir,resetValidators:pn,convertFormData:ri,submit:ni,send:mn,disableValidation:ii,enableValidation:vt,enableConditions:Le,disableConditions:ca,setLanguage:ur,handleSubmit:Ir,el$:pa,siblings$:Va,initMessageBag:Xt,fire:hn,on:ma,off:g,messagesRegistered:y,errorsRegistered:w,languagesRegistered:E,tabsRegistered:V,stepsRegistered:Z}},props:{schema:{type:Object,required:!1,default:null},name:{type:String,required:!1,default:null,private:!0},tabs:{type:Object,required:!1,default:null},steps:{type:Object,required:!1,default:null},stepsControls:{type:Boolean,required:!1,default:null,"@default":!0},validateOn:{type:String,required:!1,default:null},displayErrors:{type:Boolean,required:!1,default:null},displayMessages:{type:Boolean,required:!1,default:null},messages:{type:Object,required:!1,default:null},endpoint:{type:[String,Boolean,Function],required:!1,default:null},method:{type:String,required:!1,default:null},prepare:{type:Function,required:!1,default:null},formKey:{type:[String,Number],required:!1,default:null},formData:{type:Function,required:!1,default:null},value:{type:Object,required:!1,default:void 0},modelValue:{type:Object,required:!1,default:void 0},sync:{type:Boolean,required:!1,default:!1},default:{type:Object,required:!1,default:null},forceNumbers:{required:!1,type:[Boolean],default:null},formatData:{type:Function,required:!1,default:null},formatLoad:{type:Function,required:!1,default:null},loading:{type:Boolean,required:!1,default:null},disabled:{type:Boolean,required:!1,default:null},columns:{type:Object,required:!1,default:null},forceLabels:{type:Boolean,required:!1,default:null},floatPlaceholders:{type:Boolean,required:!1,default:null},size:{required:!1,type:[String],default:null},view:{required:!1,type:[String],default:null},views:{required:!1,type:[Object],default:null},addClasses:{required:!1,type:[Object,Function],default:null},addClass:{required:!1,type:[Array,Object,String,Function],default:null},removeClasses:{required:!1,type:[Object,Function],default:null},removeClass:{required:!1,type:[Array,Object,Function],default:null},replaceClasses:{required:!1,type:[Object,Function],default:null},replaceClass:{required:!1,type:[Object,Function],default:null},overrideClasses:{required:!1,type:[Object,Function],default:null},overrideClass:{required:!1,type:[Array,Object,String,Function],default:null},templates:{type:Object,required:!1,default:null},presets:{required:!1,type:[Array],default:null},multilingual:{type:Boolean,required:!1,default:null},languages:{type:Object,required:!1,default:null},language:{type:String,required:!1,default:null},locale:{type:String,required:!1,default:null},onChange:{required:!1,type:[Function],default:null,private:!0},onReset:{required:!1,type:[Function],default:null,private:!0},onClear:{required:!1,type:[Function],default:null,private:!0},onSubmit:{required:!1,type:[Function],default:null,private:!0},onResponse:{required:!1,type:[Function],default:null,private:!0},onSuccess:{required:!1,type:[Function],default:null,private:!0},onError:{required:!1,type:[Function],default:null,private:!0},onLanguage:{required:!1,type:[Function],default:null,private:!0},onBeforeMount:{required:!1,type:[Function],default:null,private:!0},onMounted:{required:!1,type:[Function],default:null,private:!0},onBeforeUpdate:{required:!1,type:[Function],default:null,private:!0},onUpdated:{required:!1,type:[Function],default:null,private:!0},onBeforeUnmount:{required:!1,type:[Function],default:null,private:!0},onUnmounted:{required:!1,type:[Function],default:null,private:!0}},render(){return this.template.render.apply(this,arguments)}},pq=Wi,mq=$r;function hq(e,a){var t=-1,r=mq(e)?Array(e.length):[];return pq(e,function(n,i,u){r[++t]=a(n,i,u)}),r}var up=hq,gq=Wn,yq=wr,bq=up,Aq=oe;function _q(e,a){var t=Aq(e)?gq:bq;return t(e,yq(a))}var Mr=_q,Dq=un,$q=oe,wq=tr,Cq="[object String]";function Sq(e){return typeof e=="string"||!$q(e)&&wq(e)&&Dq(e)==Cq}var $l=Sq,Fq=/\s/;function Oq(e){for(var a=e.length;a--&&Fq.test(e.charAt(a)););return a}var Eq=Oq,xq=Eq,Tq=/^\s+/;function Mq(e){return e&&e.slice(0,xq(e)+1).replace(Tq,"")}var lp=Mq,kq=_l;function Bq(e,a){for(var t=e.length;t--&&kq(a,e[t],0)>-1;);return t}var qq=Bq,jq=_l;function Nq(e,a){for(var t=-1,r=e.length;++t<r&&jq(a,e[t],0)>-1;);return t}var Pq=Nq,Iq=Al,Lq=lp,Rq=Cc,Yq=qq,Vq=Pq,_d=kc,Uq=Nr;function zq(e,a,t){if(e=Uq(e),e&&(t||a===void 0))return Lq(e);if(!e||!(a=Iq(a)))return e;var r=_d(e),n=_d(a),i=Vq(r,n),u=Yq(r,n)+1;return Rq(r,i,u).join("")}var Dd=zq,_e=class{constructor(e,a){var t;this.rule=e,this.attributes=e.attributes||{},this.conditions=e.conditions||[],this.dependents=e.dependents||[],this.element$=a.element$,this.form$=((t=a.element$)===null||t===void 0?void 0:t.form$)||{},this.numeric=a.numeric||!1,this.elementMessages=a.element$.messages,this.invalid=!1,this.pending=!1,this.debouncer=null,this.lastValue=null,this.watchers={},this.dependents.forEach(r=>{De(c(()=>Tt(this.form$.data,r)),()=>{this.element$.validated&&(this.name==="nullable"?this.element$.validate():this.revalidate())})}),De(c(()=>a.element$.messages),(r,n)=>{Xn(r,n)||(this.elementMessages=a.element$.messages)},{deep:!0}),this.init()}get name(){return this.rule.name}get failing(){return this.invalid}get defaultMessage(){return this.form$.translations.vueform.defaultMessage}get message(){var e,a="";return this.msg?a=this.msg:this.elementMessages[this.name]?a=this.elementMessages[this.name]:this.form$.options.messages[this.name]?a=this.form$.options.messages[this.name]:this.name!=="_class"&&((e=this.form$.translations.validation)===null||e===void 0?void 0:e[this.name])!==void 0?(a=this.form$.translations.validation[this.name],Ze(a)&&(a=a[this.messageType])):a=this.defaultMessage,F(Mr(a.match(/:\w+/g),t=>t.replace(":","")),t=>{a=a.replace(":".concat(t),this.messageParams[t])}),F(Mr(a.match(/{[^}]+/g),t=>t.replace("{","")),t=>{a=a.replace("{".concat(t,"}"),this.messageParams[t])}),a}get messageType(){return this.isNumeric?"numeric":this.isFile?"file":this.isArray?"array":"string"}get messageParams(){return{attribute:this.attributeName}}get attributeName(){return this.element$.genericName}get type(){return this.isNumeric?"numeric":this.isFile?"file":this.isArray?"array":"string"}get isNumeric(){return Te(this.element$.Validators,{name:"numeric"})||Te(this.element$.Validators,{name:"integer"})}get isNullable(){var e=!1;return F(this.element$.Validators,a=>{if(a.name==="nullable"){if(!a.conditions.length){e=!0;return}e=a.conditions(this.form$,this,this.element$)}}),e}get isFile(){return this.element$.isFileType}get isArray(){return this.element$.isArrayType}get isAsync(){return!1}get debounce(){return this.attributes.debounce?this.attributes.debounce:this.element$.debounce?this.element$.debounce:!1}get debouncing(){return this.debouncer!==null}init(){}validate(e){var a=this;return te(function*(){if(e===void 0){var t;e=(t=a.element$)===null||t===void 0?void 0:t.value}if(a.form$.validation){if(a.isNullable&&!a.filled(e)){a.invalid=!1;return}if(a.conditions.length&&!a.conditions(a.form$,a,a.element$)){a.invalid=!1;return}a.debounce&&a.filled(e)?yield a._validateWithDebounce(e):(a.debounce&&a.debouncer&&clearTimeout(a.debouncer),yield a._validate(e))}})()}replaceParams(e){return F(Mr(e.match(/:\w+/g),a=>a.replace(":","")),a=>{e=e.replace(":".concat(a),this.messageParams[a])}),F(Mr(e.match(/{[^}]+/g),a=>a.replace("{","")),a=>{e=e.replace("{".concat(a,"}"),this.messageParams[a])}),e}reset(){this.invalid=!1}watch(e){Array.isArray(e)||(e=[e]),e.forEach(a=>{this.addWatcher(a)})}addWatcher(e){this.watchers[e]||(this.watchers[e]=De(c(()=>Tt(this.form$.data,e)),()=>{this.revalidate()}))}revalidate(){this.element$.Validators.forEach(e=>{e.rule.name===this.rule.name&&e.validate()})}watchOther(){this.form$.$nextTick(()=>{this.other$&&this.form$.$watch(()=>{var e;return(e=this.other$)===null||e===void 0?void 0:e.value},()=>{this.element$.validated&&this.element$.validate()})})}size(e){if(this.isNumeric){if(!isNaN(e)){var a=parseFloat(e);return Number.isInteger(a)?parseInt(e):a}return null}else{if(this.isFile)return e?e.size/1e3:0;if(this.isArray)return e.length;if(e===null)return 0;if(e===void 0)return 0;if(e==="")return 0}return String(e).length}filled(e){return e===void 0||e===null&&e!==this.element$.trueValue||e===this.element$.falseValue||this.isNumeric&&Dd(e)===""||$l(e)&&Dd(e)===""||oe(e)&&e.length<1?!1:!(e instanceof File&&e.name==="")}_validate(e){var a=this;return te(function*(){a.isAsync?yield a._validateAsync(e):a._validateSync(e)})()}_validateAsync(e){var a=this;return te(function*(){a.lastValue=e,a.pending=!0;var t=yield a.check(e);Pr(a.lastValue,e)&&(a.invalid=!t,a.pending=!1)})()}_validateSync(e){this.invalid=!this.check(e)}_validateWithDebounce(e){var a=this;return te(function*(){return new Promise((t,r)=>{a.debouncer&&(t(),clearTimeout(a.debouncer)),a.debouncer=setTimeout(te(function*(){yield a._validate(e),a.debouncer=null,t()}),a.debounce)})})()}};function Hq(e){var a=e==null?0:e.length;return a?e[a-1]:void 0}var Wq=Hq,Gq=eu,Kq=wc;function Zq(e,a){return a.length<2?e:Gq(e,Kq(a,0,-1))}var Xq=Zq,Jq=Gn,Qq=Wq,e3=Xq,t3=Kn;function a3(e,a){return a=Jq(a,e),e=e3(e,a),e==null||delete e[t3(Qq(a))]}var r3=a3,n3=Ze;function i3(e){return n3(e)?void 0:e}var u3=i3,l3=Zn;function s3(e){var a=e==null?0:e.length;return a?l3(e,1):[]}var o3=s3,f3=o3,d3=sc,v3=oc;function c3(e){return v3(d3(e,void 0,f3),e+"")}var sp=c3,p3=Wn,m3=_o,h3=r3,g3=Gn,y3=zn,b3=u3,A3=sp,_3=jc,D3=1,$3=2,w3=4,C3=A3(function(e,a){var t={};if(e==null)return t;var r=!1;a=p3(a,function(i){return i=g3(i,e),r||(r=i.length>1),i}),y3(e,_3(e),t),r&&(t=m3(t,D3|$3|w3,b3));for(var n=a.length;n--;)h3(t,a[n]);return t}),Es=C3,S3=eu,F3=Lc,O3=Gn;function E3(e,a,t){for(var r=-1,n=a.length,i={};++r<n;){var u=a[r],l=S3(e,u);t(l,u)&&F3(i,O3(u,e),l)}return i}var x3=E3,T3=x3,M3=$c;function k3(e,a){return T3(e,a,function(t,r){return M3(e,r)})}var B3=k3,q3=B3,j3=sp,N3=j3(function(e,a){return e==null?{}:q3(e,a)}),P3=N3,I3=co,L3=Yc,R3=Vc,Y3=Wn,V3=Hi,U3=po,z3=200;function H3(e,a,t,r){var n=-1,i=L3,u=!0,l=e.length,s=[],o=a.length;if(!l)return s;t&&(a=Y3(a,V3(t))),r?(i=R3,u=!1):a.length>=z3&&(i=U3,u=!1,a=new I3(a));e:for(;++n<l;){var f=e[n],v=t==null?f:t(f);if(f=r||f!==0?f:0,u&&v===v){for(var d=o;d--;)if(a[d]===v)continue e;s.push(f)}else i(a,v,r)||s.push(f)}return s}var op=H3,W3=op,G3=Xi,K3=yl,Z3=G3(function(e,a){return K3(e)?W3(e,a):[]}),X3=Z3;function J3(e){return e&&e.constructor&&typeof e.constructor.isBuffer=="function"&&e.constructor.isBuffer(e)}function Q3(e){return e}function ej(e,a){a=a||{};var t=a.delimiter||".",r=a.maxDepth,n=a.transformKey||Q3,i={};function u(l,s,o){o=o||1,Object.keys(l).forEach(function(f){var v=l[f],d=a.safe&&Array.isArray(v),p=Object.prototype.toString.call(v),m=J3(v),h=p==="[object Object]"||p==="[object Array]",A=s?s+t+n(f):n(f);if(!d&&!m&&h&&Object.keys(v).length&&(!a.maxDepth||o<r))return u(v,A,o+1);i[A]=v})}return u(e),i}var tj=op,aj=Zn,rj=Xi,$d=yl,nj=rj(function(e,a){return $d(e)?tj(e,aj(a,1,$d,!0)):[]}),wo=nj;function wd(e,a){if(!a.apply&&wo(Object.keys(a),["config","install"]).length>0)return!0;var t=a.apply;Array.isArray(t)||(t=[t]);var r=!1;return F(t,n=>{if(typeof n=="string"&&n===e)return r=!0,!1;if(typeof n=="object"&&n instanceof RegExp&&e.match(n))return r=!0,!1}),r}var ij="@vueform/vueform",uj="1.9.4",lj="Open-Source Form Framework for Vue",sj="https://vueform.com",oj="MIT",fj=[{name:"Adam Berecz",email:"adam@vueform.com"}],dj=["./themes/tailwind/templates/**/*.css","./themes/vueform/templates/**/*.css"],vj="./dist/index.mjs",cj="./dist/index.mjs",pj="./types/index.d.ts",mj={".":{types:"./types/index.d.ts",default:"./dist/index.mjs"},"./core":{types:"./types/index.d.ts",default:"./dist/core.mjs"},"./core.js":{types:"./types/index.d.ts",default:"./dist/core.mjs"},"./element":"./element.mjs","./element.js":"./element.mjs","./plugin":"./plugin.mjs","./plugin.js":"./plugin.mjs","./locales/*.js":"./locales/*/index.mjs","./locales/*":"./locales/*/index.mjs","./src/*":"./src/*","./types/*":"./types/*","./dist/*.js":"./dist/*.mjs","./dist/*":"./dist/*.mjs","./dist/*.css":"./dist/*.css","./tailwind":"./tailwind.js","./tailwind.js":"./tailwind.js","./vite":"./vite.js","./vite.js":"./vite.js","./vite.d.ts":"./vite.d.ts","./tailwind-prefixer":"./tailwind-prefixer.js","./tailwind-prefixer.js":"./tailwind-prefixer.js","./postcss.config":"./postcss.config.js","./postcss.config.js":"./postcss.config.js","./tailwind.config":"./tailwind.config.js","./tailwind.config.js":"./tailwind.config.js","./package.json":"./package.json","./themes/blank/templates/*":"./themes/blank/templates/*","./themes/blank/*":"./themes/blank/*.mjs","./themes/blank/*.js":"./themes/blank/*.mjs","./themes/bootstrap/css/*":"./themes/bootstrap/css/*","./themes/bootstrap/scss/*":"./themes/bootstrap/scss/*","./themes/bootstrap/*":"./themes/bootstrap/*.mjs","./themes/bootstrap/*.js":"./themes/bootstrap/*.mjs","./themes/bootstrap.js":"./themes/bootstrap/index.mjs","./themes/material/css/*":"./themes/material/css/*","./themes/material/scss/*":"./themes/material/scss/*","./themes/material/*":"./themes/material/*.mjs","./themes/material/*.js":"./themes/material/*.mjs","./themes/material.js":"./themes/material/index.mjs","./themes/tailwind/templates/*":"./themes/tailwind/templates/*","./themes/tailwind/*":"./themes/tailwind/*.mjs","./themes/tailwind/*.js":"./themes/tailwind/*.mjs","./themes/tailwind.js":"./themes/tailwind/index.mjs","./themes/tailwind-material/css/*":"./themes/tailwind-material/css/*","./themes/tailwind-material/scss/*":"./themes/tailwind-material/scss/*","./themes/tailwind-material/*":"./themes/tailwind-material/*.mjs","./themes/tailwind-material/*.js":"./themes/tailwind-material/*.mjs","./themes/tailwind-material.js":"./themes/tailwind-material/index.mjs","./themes/vueform/css/*":"./themes/vueform/css/*","./themes/vueform/scss/*":"./themes/vueform/scss/*","./themes/vueform/templates/*":"./themes/vueform/templates/*","./themes/vueform/*":"./themes/vueform/*.mjs","./themes/vueform/*.js":"./themes/vueform/*.mjs","./themes/vueform.js":"./themes/vueform/index.mjs","./themes/*":{types:"./dist/*.d.mts",default:"./themes/*/index.mjs"}},hj={build:"npm run build3 && npm run build2 && npm run generate",build2:"node ./scripts/pre-build-vue2 && rollup --config build/rollup.vue2.config.js && node ./scripts/post-build-vue2",build3:"rollup --config build/rollup.config.js",test:'npm run generate:elements-base && NODE_OPTIONS="--max_old_space_size=5120 --no-experimental-fetch" VUE=3 jest --config=./tests/jest.config.js',"generate:types":"npx babel-node  scripts/generate-types.js --presets @babel/preset-env","generate:common-features":"npx babel-node scripts/generate-common-features.js --presets @babel/preset-env","generate:element-features":"npx babel-node scripts/generate-element-features.js --presets @babel/preset-env","generate:elements-base":"npx babel-node scripts/generate-elements-base.js --presets @babel/preset-env","generate:elements":"npx babel-node scripts/generate-elements.js --presets @babel/preset-env","generate:components":"npx babel-node scripts/generate-components.js --presets @babel/preset-env",generate:"npm run generate:common-features; npm run generate:element-features; npm run generate:elements-base; npm run generate:elements; npm run generate:components; npm run generate:types","fix-locales":"npx babel-node --presets @babel/preset-env ./scripts/fix-locales.js"},gj={"@babel/core":"^7.2.2","@babel/node":"^7.12.10","@babel/preset-env":"^7.3.1","@rollup/plugin-alias":"^5.1.0","@rollup/plugin-babel":"^5.3.0","@rollup/plugin-commonjs":"^22.0.1","@rollup/plugin-json":"^4.1.0","@rollup/plugin-node-resolve":"^13.0.6","@testing-library/jest-dom":"^5.11.5","@vue/compiler-sfc":"^3.0.0","@vue/test-utils":"2.0.0-rc.16",autoprefixer:"^9",autosize:"^6.0.1","babel-core":"^7.0.0-bridge.0","babel-loader":"^8.0.5","core-js":"^3.10.1","css-loader":"^2.1.0",flatpickr:"^4.6.13","flush-promises":"^1.0.2","html-loader":"^1.3.2",jest:"^27.3.1","jest-canvas-mock":"^2.3.1","jest-environment-jsdom-sixteen":"^1.0.3","jest-transform-stub":"^2.0.0","json-loader":"^0.5.7",locutus:"^2.0.16","module-alias":"^2.2.3",moxios:"^0.4.0","mutationobserver-shim":"^0.3.7",ncp:"^2.0.0","rollup-plugin-license":"^3.2.0","rollup-plugin-postcss":"^4.0.1","rollup-plugin-terser":"^7.0.2","rollup-plugin-vue":"^6.0.0","rollup-plugin-vue2":"npm:rollup-plugin-vue@^5.1.9","sass-loader":"^7.1.0",sortablejs:"^1.15.0",tailwindcss:"npm:@tailwindcss/postcss7-compat@^2.0.2",vue:"3.3.13","vue-jest":"npm:@vue/vue3-jest@^27.0.0-alpha.1","vue-loader":"^15.10.0","vue-template-compiler":"^2.7.8",vue2:"npm:vue@^2.7.0"},yj={"@popperjs/core":"^2.11.8","@vueform/multiselect":"^2.6.3","@vueform/slider":"^2.1.7",lodash:"^4.17.21","@vueform/toggle":"^2.1.3",axios:"^1.5.0",color:"^4.2.3","mini-svg-data-uri":"^1.4.4",moment:"^2.29.4",nouislider:"^15.7.1",sass:"^1.66.1",trix:"^1.0.5",wnumb:"^1.2.0"},bj={private:!1,name:ij,version:uj,description:lj,homepage:sj,license:oj,authors:fj,sideEffects:dj,main:vj,module:cj,types:pj,exports:mj,scripts:hj,devDependencies:gj,dependencies:yj},Mt=function(a){return a===void 0||typeof a!="string"?a:a.match(/^-*\d+$/)?parseInt(a,10):a.match(/^\d+\.\d+$/)?parseFloat(a):a},Cd=e=>{var a=()=>e.split(":")[0],t=()=>{var r=e.split(":");if(r.length<=1)return null;var n={},i=r[0];r.shift();var u=r.join(":");return["regex","not_regex"].indexOf(i)!==-1?(n[0]=u,n):(F(u.split(","),(l,s)=>{var o=l.split("=");o.length<=1?n[s]=Mt(l):n[o[0]]=Mt(o[1])}),n)};return{name:a(),attributes:t()}};function Ga(e,a){return a.match(/\.([0-9]+)(?![a-zA-Z]+)/g)&&a.match(/\.([0-9]+)(?![a-zA-Z]+)/g).forEach(t=>{e=e.replace(".*",t)}),e}var Aj=lp,Sd=Da,_j=Qi,Fd=0/0,Dj=/^[-+]0x[0-9a-f]+$/i,$j=/^0b[01]+$/i,wj=/^0o[0-7]+$/i,Cj=parseInt;function Sj(e){if(typeof e=="number")return e;if(_j(e))return Fd;if(Sd(e)){var a=typeof e.valueOf=="function"?e.valueOf():e;e=Sd(a)?a+"":a}if(typeof e!="string")return e===0?e:+e;e=Aj(e);var t=$j.test(e);return t||wj.test(e)?Cj(e.slice(2),t?2:8):Dj.test(e)?Fd:+e}var Fj=Sj,Oj=Fj,Od=1/0,Ej=17976931348623157e292;function xj(e){if(!e)return e===0?e:0;if(e=Oj(e),e===Od||e===-Od){var a=e<0?-1:1;return a*Ej}return e===e?e:0}var Tj=xj,Mj=Tj;function kj(e){var a=Mj(e),t=a%1;return a===a?t?a-t:a:0}var tu=kj,Bj=_l,qj=$r,jj=$l,Nj=tu,Pj=jr,Ij=Math.max;function Lj(e,a,t,r){e=qj(e)?e:Pj(e),t=t&&!r?Nj(t):0;var n=e.length;return t<0&&(t=Ij(n+t,0)),jj(e)?t<=n&&e.indexOf(a,t)>-1:!!n&&Bj(e,a,t)>-1}var Gl=Lj;function Rj(e,a,t){return e===e&&(t!==void 0&&(e=e<=t?e:t),a!==void 0&&(e=e>=a?e:a)),e}var fp=Rj,Yj=fp,Vj=Al,Uj=tu,zj=Nr;function Hj(e,a,t){return e=zj(e),t=t==null?0:Yj(Uj(t),0,e.length),a=Vj(a),e.slice(t,t+a.length)==a}var Wj=Hj,Gj=fp,Kj=Al,Zj=tu,Xj=Nr;function Jj(e,a,t){e=Xj(e),a=Kj(a);var r=e.length;t=t===void 0?r:Gj(Zj(t),0,r);var n=t;return t-=a.length,t>=0&&e.slice(t,n)==a}var Qj=Jj;function dp(e,a,t,r){if(!a)return!1;switch(e=Array.isArray(e)?e.map(u=>Mt(u)):Mt(e),t=Array.isArray(t)?t.map(u=>Mt(u)):Mt(t),a.toLowerCase()){case">":return oe(e)?e.every(u=>u>t):e>t;case">=":return oe(e)?e.every(u=>u>=t):e>=t;case"<":return oe(e)?e.every(u=>u<t):e<t;case"<=":return oe(e)?e.every(u=>u<=t):e<=t;case"between":return e>t[0]&&e<t[1];case"empty":if(oe(e))return!e.length;if(e&&e instanceof File)return!1;if(e&&typeof e=="object"){var n=Object.values(e);return!n.length||n.every(u=>["",null,void 0].indexOf(u)!==-1)}else return["",null,void 0].indexOf(e)!==-1;case"not_empty":if(oe(e))return!!e.length;if(e&&e instanceof File)return!0;if(e&&typeof e=="object"){var i=Object.values(e);return i.length&&i.some(u=>["",null,void 0].indexOf(u)===-1)}else return["",null,void 0].indexOf(e)===-1;case"==":case"in":return oe(t)?oe(e)?t.length?e.filter(u=>Gl(t,u)).length>0:!e.length:t.indexOf(e)!==-1:oe(e)?e.indexOf(t)!==-1:e==t;case"!=":case"not_in":return oe(t)?oe(e)?t.length?e.filter(u=>Gl(t,u)).length==0:!!e.length:t.indexOf(e)===-1:oe(e)?e.indexOf(t)===-1:e!=t;case"today":return oe(e)||(e=[e]),e.length&&e.every(u=>j(u,r.valueDateFormat).isSame(j(),"day"));case"before":return oe(e)||(e=[e]),e.length&&e.every(u=>{var l=j(u,r.valueDateFormat);return l.isValid()&&l.isBefore(j(t==="today"?void 0:t),"day")});case"after":return oe(e)||(e=[e]),e.length&&e.every(u=>{var l=j(u,r.valueDateFormat);return l.isValid()&&l.isAfter(j(t==="today"?void 0:t),"day")});case"^":return Wj(e,t);case"$":return Qj(e,t);case"*":return Gl(e,t)}}var eN=class{constructor(e,a){this.form$=a,this.element$=a.el$(e)}get rules(){var e=Object.assign({},this.form$.$vueform.services.validation.rules,this.form$.$vueform.rules);return!e.in&&e.in_&&(e.in=e.in_),e}makeAll(e){var a=this.parseRules(e);return a.length==0?[]:Mr(a,t=>this.make(t))}make(e){var a=typeof e=="function"?e:Array.isArray(e)?e[0]:this.rules[e.name];if(!a)throw new Error("Unknown rule: '".concat(e.name,"'"));return new a(e!=null&&e.name?e:{name:"custom_rule_".concat(Math.floor(Math.random()*9e6)+1e6),attributes:Array.isArray(e)&&e[1]?e[1]:[]},{element$:this.element$})}parseRules(e){return oe(e)||(e=e.split("|")),e.map(a=>typeof a=="function"||Array.isArray(a)?a:this.isConditional(a)?this.parseConditional(a):this.parse(a))}parse(e){return Cd(e)}isConditional(e){return Ze(e)}parseConditional(e){var a=jr(e)[0];Array.isArray(a[0])||(a=[a]);var t=G(G({},Cd(zt(e)[0])),{},{conditions:(r,n,i)=>a.every(u=>oe(u)?oe(u[0])?u.some(l=>oe(l)?this.createConditionFromArray(l)(r,n,i):u(r,n,i)):this.createConditionFromArray(u)(r,n,i):u(r,n,i)),dependents:[]});return a.forEach(r=>{oe(r)&&(oe(r[0])?r.forEach(n=>{oe(n)&&t.dependents.push(Ga(n[0],this.element$.path))}):t.dependents.push(Ga(r[0],this.element$.path)))}),t}createConditionFromArray(e){var a=Ga(e[0],this.element$.path),t=e.length==3||["empty","not_empty","today"].indexOf(e[1])!==-1?e[1]:"==",r=e.length==3?e[2]:["empty","not_empty","today"].indexOf(e[1])===-1?e[1]:!0;return(n,i,u)=>{var l=Tt(n.requestData,a),s=r;return dp(l,t,s,this.element$)}}};class vp extends _e{check(a){return["yes","on","1",1,!0,"true"].indexOf(a)!==-1}}class cp extends _e{get isAsync(){return!0}check(a){var t=this;return te(function*(){var r=t.form$.$vueform.config.endpoints.activeUrl,n=typeof r!="function"?r.method:null,i;return typeof r=="function"?i=yield r(a,t.element$,t.form$):i=yield t.form$.$vueform.services.axios.request({url:r.url,method:n,[n.toLowerCase()==="get"?"params":"data"]:{url:a}}),i.data})()}}class au extends _e{get messageParams(){return{attribute:this.attributeName,date:this.date.format(this.format)}}get param(){return this.attributes[0]}get format(){return["date","dates"].indexOf(this.element$.type)!==-1&&this.element$.valueFormat?this.element$.valueFormat:"YYYY-MM-DD"}get otherFormat(){return this.dateType!="element"?this.format:["date","dates"].indexOf(this.other$.type)!==-1&&this.other$.valueFormat?this.other$.valueFormat:this.format}get otherPath(){return this.dateType!="element"?null:this.param}get other$(){return this.dateType!="element"?{}:this.form$.el$(this.param)}get date(){var a="";switch(this.dateType){case"relative":this.param==="today"&&(a=j().startOf("day")),this.param==="tomorrow"&&(a=j().startOf("day").add(1,"days")),this.param==="yesterday"&&(a=j().startOf("day").subtract(1,"days"));break;case"element":a=j(this.other$.value,this.otherFormat);break;case"absolute":a=j(this.param,this.format);break}return a}get dateType(){return["today","tomorrow","yesterday"].indexOf(this.param)!==-1?"relative":this.form$.el$(this.param)?"element":"absolute"}init(){this.form$.$nextTick(()=>{this.dateType=="element"&&this.watchOther()})}check(a){if(oe(a)){var t=!0;return F(a,r=>{this.checkDate(r)||(t=!1)}),t}return this.checkDate(a)}checkDate(a){return j(a,this.format).isAfter(j(this.date,this.otherFormat))}}class pp extends au{checkDate(a){return j(a,this.format).isSameOrAfter(j(this.date,this.otherFormat))}}class mp extends _e{check(a){return/^[\u0041-\u005A\u0061-\u007A\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]*$/.test(a)}}class hp extends _e{check(a){return/^[0-9-_\u0041-\u005A\u0061-\u007A\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]*$/.test(a)}}class gp extends _e{check(a){return/^[0-9\u0041-\u005A\u0061-\u007A\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]*$/.test(a)}}class yp extends _e{check(a){return oe(a)}}class bp extends au{checkDate(a){return j(a,this.format).isBefore(j(this.date,this.otherFormat))}}class Ap extends au{checkDate(a){return j(a,this.format).isSameOrBefore(j(this.date,this.otherFormat))}}class _p extends _e{get messageParams(){return{attribute:this.attributeName,min:this.min,max:this.max}}get min(){return this.attributes[0]}get max(){return this.attributes[1]}check(a){if(!a)return!0;var t=this.size(a);return t>=this.min&&t<=this.max}}class Dp extends _e{check(a){var t=[!0,!1,0,1,"0","1"];return t.indexOf(a)!==-1}}class $p extends _e{get messageParams(){return{attribute:this.attributeName,other:this.other$.genericName}}get otherPath(){return"".concat(this.element$.path,"_confirmation")}get other$(){return this.form$.el$(Ga(this.otherPath,this.element$.path))}init(){this.watchOther()}check(a){return this.filled(this.other$.value)?a==this.other$.value:!0}}var pi="[ \\t]+",Yr="[ \\t]*",Vr="(?:([ap])\\.?m\\.?([\\t ]|$))",Ha="(2[0-4]|[01]?[0-9])",mi="([01][0-9]|2[0-4])",An="(0?[1-9]|1[0-2])",dr="([0-5]?[0-9])",za="([0-5][0-9])",yu="(60|[0-5]?[0-9])",or="(60|[0-5][0-9])",Ed="(?:\\.([0-9]+))",wp="sunday|monday|tuesday|wednesday|thursday|friday|saturday",Cp="sun|mon|tue|wed|thu|fri|sat",Sp=wp+"|"+Cp+"|weekdays?",xd="first|second|third|fourth|fifth|sixth|seventh|eighth?|ninth|tenth|eleventh|twelfth",Kl="next|last|previous|this",Td="(?:second|sec|minute|min|hour|day|fortnight|forthnight|month|year)s?|weeks|"+Sp,hi="([0-9]{1,4})",tN="([0-9]{2})",Jt="([0-9]{4})",aN="([+-]?[0-9]{4})",Fr="(1[0-2]|0?[0-9])",Ur="(0[0-9]|1[0-2])",Ca="(?:(3[01]|[0-2]?[0-9])(?:st|nd|rd|th)?)",fr="(0[0-9]|[1-2][0-9]|3[01])",Fp="january|february|march|april|may|june|july|august|september|october|november|december",yi="jan|feb|mar|apr|may|jun|jul|aug|sept?|oct|nov|dec",rN="i[vx]|vi{0,3}|xi{0,2}|i{1,3}",Cn="("+Fp+"|"+yi+"|"+rN+")",Zl="((?:GMT)?([+-])"+Ha+":?"+dr+"?)",nN="\\(?([a-zA-Z]{1,6})\\)?",iN="(00[1-9]|0[1-9][0-9]|[12][0-9][0-9]|3[0-5][0-9]|36[0-6])",uN="(0[1-9]|[1-4][0-9]|5[0-3])",gi=Cn+"[ .\\t-]*"+Ca+"[,.stndrh\\t ]*";function zr(e,a){switch(a=a&&a.toLowerCase(),a){case"a":e+=e===12?-12:0;break;case"p":e+=e!==12?12:0;break}return e}function Hr(e){var a=+e;return e.length<4&&a<100&&(a+=a<70?2e3:1900),a}function sa(e){return{jan:0,january:0,i:0,feb:1,february:1,ii:1,mar:2,march:2,iii:2,apr:3,april:3,iv:3,may:4,v:4,jun:5,june:5,vi:5,jul:6,july:6,vii:6,aug:7,august:7,viii:7,sep:8,sept:8,september:8,ix:8,oct:9,october:9,x:9,nov:10,november:10,xi:10,dec:11,december:11,xii:11}[e.toLowerCase()]}function Xl(e){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,t={mon:1,monday:1,tue:2,tuesday:2,wed:3,wednesday:3,thu:4,thursday:4,fri:5,friday:5,sat:6,saturday:6,sun:0,sunday:0};return t[e.toLowerCase()]||a}function lN(e){var a={last:-1,previous:-1,this:0,first:1,next:1,second:2,third:3,fourth:4,fifth:5,sixth:6,seventh:7,eight:8,eighth:8,ninth:9,tenth:10,eleventh:11,twelfth:12},t={this:1},r=e.toLowerCase();return{amount:a[r],behavior:t[r]||0}}function Jl(e,a){var t=/(?:GMT)?([+-])(\d+)(:?)(\d{0,2})/i;if(e=e&&e.match(t),!e)return a;var r=e[1]==="-"?-1:1,n=+e[2],i=+e[4];return!e[4]&&!e[3]&&(i=Math.floor(n%100),n=Math.floor(n/100)),r*(n*60+i)*60}var sN={acdt:37800,acst:34200,addt:-7200,adt:-10800,aedt:39600,aest:36e3,ahdt:-32400,ahst:-36e3,akdt:-28800,akst:-32400,amt:-13840,apt:-10800,ast:-14400,awdt:32400,awst:28800,awt:-10800,bdst:7200,bdt:-36e3,bmt:-14309,bst:3600,cast:34200,cat:7200,cddt:-14400,cdt:-18e3,cemt:10800,cest:7200,cet:3600,cmt:-15408,cpt:-18e3,cst:-21600,cwt:-18e3,chst:36e3,dmt:-1521,eat:10800,eddt:-10800,edt:-14400,eest:10800,eet:7200,emt:-26248,ept:-14400,est:-18e3,ewt:-14400,ffmt:-14660,fmt:-4056,gdt:39600,gmt:0,gst:36e3,hdt:-34200,hkst:32400,hkt:28800,hmt:-19776,hpt:-34200,hst:-36e3,hwt:-34200,iddt:14400,idt:10800,imt:25025,ist:7200,jdt:36e3,jmt:8440,jst:32400,kdt:36e3,kmt:5736,kst:30600,lst:9394,mddt:-18e3,mdst:16279,mdt:-21600,mest:7200,met:3600,mmt:9017,mpt:-21600,msd:14400,msk:10800,mst:-25200,mwt:-21600,nddt:-5400,ndt:-9052,npt:-9e3,nst:-12600,nwt:-9e3,nzdt:46800,nzmt:41400,nzst:43200,pddt:-21600,pdt:-25200,pkst:21600,pkt:18e3,plmt:25590,pmt:-13236,ppmt:-17340,ppt:-25200,pst:-28800,pwt:-25200,qmt:-18840,rmt:5794,sast:7200,sdmt:-16800,sjmt:-20173,smt:-13884,sst:-39600,tbmt:10751,tmt:12344,uct:0,utc:0,wast:7200,wat:3600,wemt:7200,west:3600,wet:0,wib:25200,wita:28800,wit:32400,wmt:5040,yddt:-25200,ydt:-28800,ypt:-28800,yst:-32400,ywt:-28800,a:3600,b:7200,c:10800,d:14400,e:18e3,f:21600,g:25200,h:28800,i:32400,k:36e3,l:39600,m:43200,n:-3600,o:-7200,p:-10800,q:-14400,r:-18e3,s:-21600,t:-25200,u:-28800,v:-32400,w:-36e3,x:-39600,y:-43200,z:0},de={yesterday:{regex:/^yesterday/i,name:"yesterday",callback:function(){return this.rd-=1,this.resetTime()}},now:{regex:/^now/i,name:"now"},noon:{regex:/^noon/i,name:"noon",callback:function(){return this.resetTime()&&this.time(12,0,0,0)}},midnightOrToday:{regex:/^(midnight|today)/i,name:"midnight | today",callback:function(){return this.resetTime()}},tomorrow:{regex:/^tomorrow/i,name:"tomorrow",callback:function(){return this.rd+=1,this.resetTime()}},timestamp:{regex:/^@(-?\d+)/i,name:"timestamp",callback:function(a,t){return this.rs+=+t,this.y=1970,this.m=0,this.d=1,this.dates=0,this.resetTime()&&this.zone(0)}},firstOrLastDay:{regex:/^(first|last) day of/i,name:"firstdayof | lastdayof",callback:function(a,t){t.toLowerCase()==="first"?this.firstOrLastDayOfMonth=1:this.firstOrLastDayOfMonth=-1}},backOrFrontOf:{regex:RegExp("^(back|front) of "+Ha+Yr+Vr+"?","i"),name:"backof | frontof",callback:function(a,t,r,n){var i=t.toLowerCase()==="back",u=+r,l=15;return i||(u-=1,l=45),u=zr(u,n),this.resetTime()&&this.time(u,l,0,0)}},weekdayOf:{regex:RegExp("^("+xd+"|"+Kl+")"+pi+"("+wp+"|"+Cp+")"+pi+"of","i"),name:"weekdayof"},mssqltime:{regex:RegExp("^"+An+":"+za+":"+or+"[:.]([0-9]+)"+Vr,"i"),name:"mssqltime",callback:function(a,t,r,n,i,u){return this.time(zr(+t,u),+r,+n,+i.substr(0,3))}},oracledate:{regex:/^(\d{2})-([A-Z]{3})-(\d{2})$/i,name:"d-M-y",callback:function(a,t,r,n){var i={JAN:0,FEB:1,MAR:2,APR:3,MAY:4,JUN:5,JUL:6,AUG:7,SEP:8,OCT:9,NOV:10,DEC:11}[r.toUpperCase()];return this.ymd(2e3+parseInt(n,10),i,parseInt(t,10))}},timeLong12:{regex:RegExp("^"+An+"[:.]"+dr+"[:.]"+or+Yr+Vr,"i"),name:"timelong12",callback:function(a,t,r,n,i){return this.time(zr(+t,i),+r,+n,0)}},timeShort12:{regex:RegExp("^"+An+"[:.]"+za+Yr+Vr,"i"),name:"timeshort12",callback:function(a,t,r,n){return this.time(zr(+t,n),+r,0,0)}},timeTiny12:{regex:RegExp("^"+An+Yr+Vr,"i"),name:"timetiny12",callback:function(a,t,r){return this.time(zr(+t,r),0,0,0)}},soap:{regex:RegExp("^"+Jt+"-"+Ur+"-"+fr+"T"+mi+":"+za+":"+or+Ed+Zl+"?","i"),name:"soap",callback:function(a,t,r,n,i,u,l,s,o){return this.ymd(+t,r-1,+n)&&this.time(+i,+u,+l,+s.substr(0,3))&&this.zone(Jl(o))}},wddx:{regex:RegExp("^"+Jt+"-"+Fr+"-"+Ca+"T"+Ha+":"+dr+":"+yu),name:"wddx",callback:function(a,t,r,n,i,u,l){return this.ymd(+t,r-1,+n)&&this.time(+i,+u,+l,0)}},exif:{regex:RegExp("^"+Jt+":"+Ur+":"+fr+" "+mi+":"+za+":"+or,"i"),name:"exif",callback:function(a,t,r,n,i,u,l){return this.ymd(+t,r-1,+n)&&this.time(+i,+u,+l,0)}},xmlRpc:{regex:RegExp("^"+Jt+Ur+fr+"T"+Ha+":"+za+":"+or),name:"xmlrpc",callback:function(a,t,r,n,i,u,l){return this.ymd(+t,r-1,+n)&&this.time(+i,+u,+l,0)}},xmlRpcNoColon:{regex:RegExp("^"+Jt+Ur+fr+"[Tt]"+Ha+za+or),name:"xmlrpcnocolon",callback:function(a,t,r,n,i,u,l){return this.ymd(+t,r-1,+n)&&this.time(+i,+u,+l,0)}},clf:{regex:RegExp("^"+Ca+"/("+yi+")/"+Jt+":"+mi+":"+za+":"+or+pi+Zl,"i"),name:"clf",callback:function(a,t,r,n,i,u,l,s){return this.ymd(+n,sa(r),+t)&&this.time(+i,+u,+l,0)&&this.zone(Jl(s))}},iso8601long:{regex:RegExp("^t?"+Ha+"[:.]"+dr+"[:.]"+yu+Ed,"i"),name:"iso8601long",callback:function(a,t,r,n,i){return this.time(+t,+r,+n,+i.substr(0,3))}},dateTextual:{regex:RegExp("^"+Cn+"[ .\\t-]*"+Ca+"[,.stndrh\\t ]+"+hi,"i"),name:"datetextual",callback:function(a,t,r,n){return this.ymd(Hr(n),sa(t),+r)}},pointedDate4:{regex:RegExp("^"+Ca+"[.\\t-]"+Fr+"[.-]"+Jt),name:"pointeddate4",callback:function(a,t,r,n){return this.ymd(+n,r-1,+t)}},pointedDate2:{regex:RegExp("^"+Ca+"[.\\t]"+Fr+"\\."+tN),name:"pointeddate2",callback:function(a,t,r,n){return this.ymd(Hr(n),r-1,+t)}},timeLong24:{regex:RegExp("^t?"+Ha+"[:.]"+dr+"[:.]"+yu),name:"timelong24",callback:function(a,t,r,n){return this.time(+t,+r,+n,0)}},dateNoColon:{regex:RegExp("^"+Jt+Ur+fr),name:"datenocolon",callback:function(a,t,r,n){return this.ymd(+t,r-1,+n)}},pgydotd:{regex:RegExp("^"+Jt+"\\.?"+iN),name:"pgydotd",callback:function(a,t,r){return this.ymd(+t,0,+r)}},timeShort24:{regex:RegExp("^t?"+Ha+"[:.]"+dr,"i"),name:"timeshort24",callback:function(a,t,r){return this.time(+t,+r,0,0)}},iso8601noColon:{regex:RegExp("^t?"+mi+za+or,"i"),name:"iso8601nocolon",callback:function(a,t,r,n){return this.time(+t,+r,+n,0)}},iso8601dateSlash:{regex:RegExp("^"+Jt+"/"+Ur+"/"+fr+"/"),name:"iso8601dateslash",callback:function(a,t,r,n){return this.ymd(+t,r-1,+n)}},dateSlash:{regex:RegExp("^"+Jt+"/"+Fr+"/"+Ca),name:"dateslash",callback:function(a,t,r,n){return this.ymd(+t,r-1,+n)}},american:{regex:RegExp("^"+Fr+"/"+Ca+"/"+hi),name:"american",callback:function(a,t,r,n){return this.ymd(Hr(n),t-1,+r)}},americanShort:{regex:RegExp("^"+Fr+"/"+Ca),name:"americanshort",callback:function(a,t,r){return this.ymd(this.y,t-1,+r)}},gnuDateShortOrIso8601date2:{regex:RegExp("^"+hi+"-"+Fr+"-"+Ca),name:"gnudateshort | iso8601date2",callback:function(a,t,r,n){return this.ymd(Hr(t),r-1,+n)}},iso8601date4:{regex:RegExp("^"+aN+"-"+Ur+"-"+fr),name:"iso8601date4",callback:function(a,t,r,n){return this.ymd(+t,r-1,+n)}},gnuNoColon:{regex:RegExp("^t?"+mi+za,"i"),name:"gnunocolon",callback:function(a,t,r){switch(this.times){case 0:return this.time(+t,+r,0,this.f);case 1:return this.y=t*100+ +r,this.times++,!0;default:return!1}}},gnuDateShorter:{regex:RegExp("^"+Jt+"-"+Fr),name:"gnudateshorter",callback:function(a,t,r){return this.ymd(+t,r-1,1)}},pgTextReverse:{regex:RegExp("^(\\d{3,4}|[4-9]\\d|3[2-9])-("+yi+")-"+fr,"i"),name:"pgtextreverse",callback:function(a,t,r,n){return this.ymd(Hr(t),sa(r),+n)}},dateFull:{regex:RegExp("^"+Ca+"[ \\t.-]*"+Cn+"[ \\t.-]*"+hi,"i"),name:"datefull",callback:function(a,t,r,n){return this.ymd(Hr(n),sa(r),+t)}},dateNoDay:{regex:RegExp("^"+Cn+"[ .\\t-]*"+Jt,"i"),name:"datenoday",callback:function(a,t,r){return this.ymd(+r,sa(t),1)}},dateNoDayRev:{regex:RegExp("^"+Jt+"[ .\\t-]*"+Cn,"i"),name:"datenodayrev",callback:function(a,t,r){return this.ymd(+t,sa(r),1)}},pgTextShort:{regex:RegExp("^("+yi+")-"+fr+"-"+hi,"i"),name:"pgtextshort",callback:function(a,t,r,n){return this.ymd(Hr(n),sa(t),+r)}},dateNoYear:{regex:RegExp("^"+gi,"i"),name:"datenoyear",callback:function(a,t,r){return this.ymd(this.y,sa(t),+r)}},dateNoYearRev:{regex:RegExp("^"+Ca+"[ .\\t-]*"+Cn,"i"),name:"datenoyearrev",callback:function(a,t,r){return this.ymd(this.y,sa(r),+t)}},isoWeekDay:{regex:RegExp("^"+Jt+"-?W"+uN+"(?:-?([0-7]))?"),name:"isoweekday | isoweek",callback:function(a,t,r,n){if(n=n?+n:1,!this.ymd(+t,0,1))return!1;var i=new Date(this.y,this.m,this.d).getDay();i=0-(i>4?i-7:i),this.rd+=i+(r-1)*7+n}},relativeText:{regex:RegExp("^("+xd+"|"+Kl+")"+pi+"("+Td+")","i"),name:"relativetext",callback:function(a,t,r){var n=lN(t),i=n.amount;switch(r.toLowerCase()){case"sec":case"secs":case"second":case"seconds":this.rs+=i;break;case"min":case"mins":case"minute":case"minutes":this.ri+=i;break;case"hour":case"hours":this.rh+=i;break;case"day":case"days":this.rd+=i;break;case"fortnight":case"fortnights":case"forthnight":case"forthnights":this.rd+=i*14;break;case"week":case"weeks":this.rd+=i*7;break;case"month":case"months":this.rm+=i;break;case"year":case"years":this.ry+=i;break;case"mon":case"monday":case"tue":case"tuesday":case"wed":case"wednesday":case"thu":case"thursday":case"fri":case"friday":case"sat":case"saturday":case"sun":case"sunday":this.resetTime(),this.weekday=Xl(r,7),this.weekdayBehavior=1,this.rd+=(i>0?i-1:i)*7;break}}},relative:{regex:RegExp("^([+-]*)[ \\t]*(\\d+)"+Yr+"("+Td+"|week)","i"),name:"relative",callback:function(a,t,r,n){var i=t.replace(/[^-]/g,"").length,u=+r*Math.pow(-1,i);switch(n.toLowerCase()){case"sec":case"secs":case"second":case"seconds":this.rs+=u;break;case"min":case"mins":case"minute":case"minutes":this.ri+=u;break;case"hour":case"hours":this.rh+=u;break;case"day":case"days":this.rd+=u;break;case"fortnight":case"fortnights":case"forthnight":case"forthnights":this.rd+=u*14;break;case"week":case"weeks":this.rd+=u*7;break;case"month":case"months":this.rm+=u;break;case"year":case"years":this.ry+=u;break;case"mon":case"monday":case"tue":case"tuesday":case"wed":case"wednesday":case"thu":case"thursday":case"fri":case"friday":case"sat":case"saturday":case"sun":case"sunday":this.resetTime(),this.weekday=Xl(n,7),this.weekdayBehavior=1,this.rd+=(u>0?u-1:u)*7;break}}},dayText:{regex:RegExp("^("+Sp+")","i"),name:"daytext",callback:function(a,t){this.resetTime(),this.weekday=Xl(t,0),this.weekdayBehavior!==2&&(this.weekdayBehavior=1)}},relativeTextWeek:{regex:RegExp("^("+Kl+")"+pi+"week","i"),name:"relativetextweek",callback:function(a,t){switch(this.weekdayBehavior=2,t.toLowerCase()){case"this":this.rd+=0;break;case"next":this.rd+=7;break;case"last":case"previous":this.rd-=7;break}isNaN(this.weekday)&&(this.weekday=1)}},monthFullOrMonthAbbr:{regex:RegExp("^("+Fp+"|"+yi+")","i"),name:"monthfull | monthabbr",callback:function(a,t){return this.ymd(this.y,sa(t),this.d)}},tzCorrection:{regex:RegExp("^"+Zl,"i"),name:"tzcorrection",callback:function(a){return this.zone(Jl(a))}},tzAbbr:{regex:RegExp("^"+nN),name:"tzabbr",callback:function(a,t){var r=sN[t.toLowerCase()];return isNaN(r)?!1:this.zone(r)}},ago:{regex:/^ago/i,name:"ago",callback:function(){this.ry=-this.ry,this.rm=-this.rm,this.rd=-this.rd,this.rh=-this.rh,this.ri=-this.ri,this.rs=-this.rs,this.rf=-this.rf}},year4:{regex:RegExp("^"+Jt),name:"year4",callback:function(a,t){return this.y=+t,!0}},whitespace:{regex:/^[ .,\t]+/,name:"whitespace"},dateShortWithTimeLong:{regex:RegExp("^"+gi+"t?"+Ha+"[:.]"+dr+"[:.]"+yu,"i"),name:"dateshortwithtimelong",callback:function(a,t,r,n,i,u){return this.ymd(this.y,sa(t),+r)&&this.time(+n,+i,+u,0)}},dateShortWithTimeLong12:{regex:RegExp("^"+gi+An+"[:.]"+dr+"[:.]"+or+Yr+Vr,"i"),name:"dateshortwithtimelong12",callback:function(a,t,r,n,i,u,l){return this.ymd(this.y,sa(t),+r)&&this.time(zr(+n,l),+i,+u,0)}},dateShortWithTimeShort:{regex:RegExp("^"+gi+"t?"+Ha+"[:.]"+dr,"i"),name:"dateshortwithtimeshort",callback:function(a,t,r,n,i){return this.ymd(this.y,sa(t),+r)&&this.time(+n,+i,0,0)}},dateShortWithTimeShort12:{regex:RegExp("^"+gi+An+"[:.]"+za+Yr+Vr,"i"),name:"dateshortwithtimeshort12",callback:function(a,t,r,n,i,u){return this.ymd(this.y,sa(t),+r)&&this.time(zr(+n,u),+i,0,0)}}},oN={y:NaN,m:NaN,d:NaN,h:NaN,i:NaN,s:NaN,f:NaN,ry:0,rm:0,rd:0,rh:0,ri:0,rs:0,rf:0,weekday:NaN,weekdayBehavior:0,firstOrLastDayOfMonth:0,z:NaN,dates:0,times:0,zones:0,ymd:function(a,t,r){return this.dates>0?!1:(this.dates++,this.y=a,this.m=t,this.d=r,!0)},time:function(a,t,r,n){return this.times>0?!1:(this.times++,this.h=a,this.i=t,this.s=r,this.f=n,!0)},resetTime:function(){return this.h=0,this.i=0,this.s=0,this.f=0,this.times=0,!0},zone:function(a){return this.zones<=1?(this.zones++,this.z=a,!0):!1},toDate:function(a){switch(this.dates&&!this.times&&(this.h=this.i=this.s=this.f=0),isNaN(this.y)&&(this.y=a.getFullYear()),isNaN(this.m)&&(this.m=a.getMonth()),isNaN(this.d)&&(this.d=a.getDate()),isNaN(this.h)&&(this.h=a.getHours()),isNaN(this.i)&&(this.i=a.getMinutes()),isNaN(this.s)&&(this.s=a.getSeconds()),isNaN(this.f)&&(this.f=a.getMilliseconds()),this.firstOrLastDayOfMonth){case 1:this.d=1;break;case-1:this.d=0,this.m+=1;break}if(!isNaN(this.weekday)){var t=new Date(a.getTime());t.setFullYear(this.y,this.m,this.d),t.setHours(this.h,this.i,this.s,this.f);var r=t.getDay();if(this.weekdayBehavior===2)r===0&&this.weekday!==0&&(this.weekday=-6),this.weekday===0&&r!==0&&(this.weekday=7),this.d-=r,this.d+=this.weekday;else{var n=this.weekday-r;(this.rd<0&&n<0||this.rd>=0&&n<=-this.weekdayBehavior)&&(n+=7),this.weekday>=0?this.d+=n:this.d-=7-(Math.abs(this.weekday)-r),this.weekday=NaN}}this.y+=this.ry,this.m+=this.rm,this.d+=this.rd,this.h+=this.rh,this.i+=this.ri,this.s+=this.rs,this.f+=this.rf,this.ry=this.rm=this.rd=0,this.rh=this.ri=this.rs=this.rf=0;var i=new Date(a.getTime());switch(i.setFullYear(this.y,this.m,this.d),i.setHours(this.h,this.i,this.s,this.f),this.firstOrLastDayOfMonth){case 1:i.setDate(1);break;case-1:i.setMonth(i.getMonth()+1,0);break}return!isNaN(this.z)&&i.getTimezoneOffset()!==this.z&&(i.setUTCFullYear(i.getFullYear(),i.getMonth(),i.getDate()),i.setUTCHours(i.getHours(),i.getMinutes(),i.getSeconds()-this.z,i.getMilliseconds())),i}},fN=function(a,t){t==null&&(t=Math.floor(Date.now()/1e3));for(var r=[de.yesterday,de.now,de.noon,de.midnightOrToday,de.tomorrow,de.timestamp,de.firstOrLastDay,de.backOrFrontOf,de.timeTiny12,de.timeShort12,de.timeLong12,de.mssqltime,de.oracledate,de.timeShort24,de.timeLong24,de.iso8601long,de.gnuNoColon,de.iso8601noColon,de.americanShort,de.american,de.iso8601date4,de.iso8601dateSlash,de.dateSlash,de.gnuDateShortOrIso8601date2,de.gnuDateShorter,de.dateFull,de.pointedDate4,de.pointedDate2,de.dateNoDay,de.dateNoDayRev,de.dateTextual,de.dateNoYear,de.dateNoYearRev,de.dateNoColon,de.xmlRpc,de.xmlRpcNoColon,de.soap,de.wddx,de.exif,de.pgydotd,de.isoWeekDay,de.pgTextShort,de.pgTextReverse,de.clf,de.year4,de.ago,de.dayText,de.relativeTextWeek,de.relativeText,de.monthFullOrMonthAbbr,de.tzCorrection,de.tzAbbr,de.dateShortWithTimeShort12,de.dateShortWithTimeLong12,de.dateShortWithTimeShort,de.dateShortWithTimeLong,de.relative,de.whitespace],n=Object.create(oN);a.length;){for(var i=null,u=null,l=0,s=r.length;l<s;l++){var o=r[l],f=a.match(o.regex);f&&(!i||f[0].length>i[0].length)&&(i=f,u=o)}if(!u||u.callback&&u.callback.apply(n,i)===!1)return!1;a=a.substr(i[0].length),u=null,i=null}return Math.floor(n.toDate(new Date(t*1e3))/1e3)};class Op extends _e{check(a){return!!fN(a)}}class Ep extends _e{get messageParams(){return{attribute:this.attributeName,date:this.date}}get date(){return this.attributes[0]}check(a){return a===this.date}}class xp extends _e{get messageParams(){return{attribute:this.attributeName,format:this.format}}get format(){return this.attributes[0]}check(a){return a&&j(a,this.format).format(this.format)===a}}class Tp extends _e{get otherPath(){return this.attributes[0]}get other$(){return this.form$.el$(Ga(this.otherPath,this.element$.path))}get messageParams(){return{attribute:this.attributeName,other:this.other$.genericName}}init(){this.watchOther()}check(a){return!this.filled(a)&&!this.filled(this.other$.value)?!0:a!=this.other$.value}}class Mp extends _e{get messageParams(){return{attribute:this.attributeName,digits:this.digits}}get digits(){return this.attributes[0]}check(a){return/^\d+$/.test(a)&&a.toString().length==this.digits}}class kp extends _e{get messageParams(){return{attribute:this.attributeName,min:this.min,max:this.max}}get min(){return this.attributes[0]}get max(){return this.attributes[1]}check(a){var t=a.toString().length;return/^\d+$/.test(a)&&t>=this.min&&t<=this.max}}class Bp extends _e{get isAsync(){return!0}readImage(a){return te(function*(){var t=new FileReader;return new Promise((r,n)=>{t.onerror=()=>{temporaryFileReader.abort(),n(new DOMException("File cannot be parsed."))},t.onloadend=i=>{r(i.target.result)},t.readAsDataURL(a)})})()}loadImage(a){var t=this;return te(function*(){var r=yield t.readImage(a),n=new Image;return new Promise((i,u)=>{n.onerror=()=>{u(new DOMException("Image could not be loaded."))},n.onload=l=>{i(l.target)},n.src=r})})()}hasAttribute(a){return Object.keys(this.attributes).map(t=>t.toLowerCase()).indexOf(a)!==-1}check(a){var t=this;return te(function*(){if(t.isFile&&!a)return!0;if(!t.isFile||!(a instanceof File))return!1;var r=yield t.loadImage(a);if(t.hasAttribute("min_width")&&r.width<t.attributes.min_width||t.hasAttribute("max_width")&&r.width>t.attributes.max_width||t.hasAttribute("min_height")&&r.height<t.attributes.min_height||t.hasAttribute("max_height")&&r.height>t.attributes.max_height||t.hasAttribute("width")&&r.width!=t.attributes.width||t.hasAttribute("height")&&r.height!=t.attributes.height)return!1;if(t.hasAttribute("ratio")){var n=t.attributes.ratio,i=1/(Math.min(r.width,r.height)+1),u=/\//.test(n)?n.split("/")[0]:n,l=/\//.test(n)?n.split("/")[1]:1;if(Math.abs(u/l-r.width/r.height)>i)return!1}return!0})()}}function dN(e,a){return(e+"").replace(new RegExp("[.\\\\+*?\\[\\^\\]$(){}=!<>|:\\"+(a||"")+"-]","g"),"\\$&")}function vN(e,a,t,r,n){return n(e,function(i,u,l){t=r?(r=!1,i):a(t,i,u,l)}),t}var cN=vN,pN=Hc,mN=Wi,hN=wr,gN=cN,yN=oe;function bN(e,a,t){var r=yN(e)?pN:gN,n=arguments.length<3;return r(e,hN(a),t,n,mN)}var AN=bN,_N=function e(a){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return Da(a)?AN(a,(r,n,i)=>mr(r,e(n,[...t,i])),{}):{[t.join(".")]:a}};class qp extends _e{check(a){var t=this.element$.path,r=t.replace(/\d+(?!\d+)/,"*"),n=t.match(/^[\w-]+/)[0],i={[n]:this.form$.data[n]},u=dN(r,"#").replace("\\*","[^.]+"),l={};return F(_N(i),(s,o)=>{o!=t&&o.match("^"+u+"$")!==null&&(l[o]=s)}),jr(l).indexOf(a)===-1}}class jp extends _e{check(a){var t=/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;return t.test(String(a).toLowerCase())}}class Np extends _e{get isAsync(){return!0}get requestParams(){var a={};return F(this.attributes,(t,r)=>{var n=r;if(isNaN(r)||(n=t),n!="debounce"){var i=this.form$.el$(n);a[zt(a).length]=i&&r!=0?i.value:n}}),a}check(a){var t=this;return te(function*(){var r=t.element$.name,n=t.form$.$vueform.config.endpoints.exists,i=typeof n!="function"?n.method:null,u;return typeof n=="function"?u=yield n(a,r,t.requestParams,t.element$,t.form$):(u=yield t.form$.$vueform.services.axios.request({url:n.url,method:i,[i.toLowerCase()==="get"?"params":"data"]:{params:t.requestParams,[r]:a,vueformFieldName:r,value:a,name:r}}),u=u.data),u})()}}class Pp extends _e{check(a){return(!a||a instanceof File)&&this.isFile}}class Ip extends _e{check(a){return this.filled(a)}}class ru extends _e{get messageParams(){return{attribute:this.attributeName,value:this.other$.value!=null?this.size(this.other$.value):0}}get otherPath(){return this.attributes[0]}get other$(){return this.form$.el$(Ga(this.otherPath,this.element$.path))}init(){this.watchOther()}check(a){var t=this.other$.value;return this.compare(a,t)}compare(a,t){var r=this.size(t);return r==0||this.size(a)>r}}class Lp extends ru{compare(a,t){var r=this.size(t);return r==0||this.size(a)>=r}}class Rp extends _e{check(a){if(this.isFile&&!a)return!0;if(!this.isFile||!(a instanceof File)||!a.name)return!1;var t=a.name.split(".").pop();return["jpg","jpeg","png","gif","bmp","svg","webp"].indexOf(t)!==-1}}class Yp extends _e{check(a){return jr(this.attributes).indexOf(Mt(String(a).trim()))!==-1}}class Vp extends _e{get messageParams(){return{attribute:this.attributeName,other:this.other$.genericName}}get other$(){return this.form$.el$(Ga(this.otherPath,this.element$.path))}get otherPath(){var a=this.attributes[0].match(/.*(?=\.\*)/);if(a===null)throw new Error("in_array rule's other attribute should end with .*");return a[0]}init(){this.watchOther()}check(a){var t=this.other$.value;return t?t.indexOf(a)!==-1:!1}}class Up extends _e{check(a){var t=Mt(String(a).trim());return t===parseInt(t,10)}}var zp=function(a){var t=/^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)(\/([0-9]|[1-2][0-9]|3[0-2]))?$/;return t.test(a)};class Hp extends _e{check(a){return zp(a)}}var Wp=function(a){var t=/^\s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(%.+)?\s*(\/(\d|\d\d|1[0-1]\d|12[0-8]))?$/;return t.test(a)};class Gp extends _e{check(a){return Wp(a)}}class Kp extends _e{check(a){return zp(a)||Wp(a)}}function DN(e){try{JSON.parse(e)}catch{return!1}return!0}class Zp extends _e{check(a){return DN(a)}}class Xp extends ru{compare(a,t){var r=this.size(a),n=this.size(t);return n==0&&r==0||this.size(a)<n}}class Jp extends ru{compare(a,t){var r=this.size(a),n=this.size(t);return n==0&&r==0||this.size(a)<=n}}class Qp extends _e{get messageParams(){return{attribute:this.attributeName,max:this.max}}get max(){return this.attributes[0]}check(a){return a?this.size(a)<=this.max:!0}}class em extends _e{get messageParams(){return{attribute:this.attributeName,values:this.accepted.join(", ")}}get accepted(){return Object.values(this.attributes).map(a=>a.toLowerCase())}check(a){if(this.isFile&&!a)return!0;if(!this.isFile||!(a instanceof File)||!a.name)return!1;var t=a.name.split(".").pop();return this.accepted.indexOf(t.toLowerCase())!==-1}}class tm extends _e{get messageParams(){return{attribute:this.attributeName,values:this.accepted.join(", ")}}get accepted(){return Object.values(this.attributes).map(a=>a.toLowerCase())}check(a){return this.isFile&&!a?!0:!this.isFile||!(a instanceof File)||!a.type?!1:this.accepted.indexOf(a.type.toLowerCase())!==-1}}class am extends _e{get messageParams(){return{attribute:this.attributeName,min:this.min}}get min(){return this.attributes[0]}check(a){return a?this.size(a)>=this.min:!0}}class rm extends _e{check(a){return jr(this.attributes).indexOf(a)===-1}}class nm extends _e{check(a){var t=new RegExp(this.attributes[0].replace(/^\/|\/[^\/]*$/g,""));return!t.test(a)}}class im extends _e{check(a){return!0}}class um extends _e{check(a){return!isNaN(parseFloat(a))&&isFinite(a)&&!/\s/.test(String(a))&&!String(a).match(/^0x[0-9a-f]+$/i)}}class lm extends _e{check(a){var t=new RegExp(this.attributes[0].replace(/^\/|\/[^\/]*$/g,""));return t.test(a)}}class sm extends _e{check(a){return this.filled(a)}}class om extends _e{get messageParams(){return{attribute:this.attributeName,other:this.other$.genericName}}get otherPath(){return this.attributes[0]}get other$(){return this.form$.el$(Ga(this.otherPath,this.element$.path))}init(){this.watchOther()}check(a){return!this.filled(a)&&!this.filled(this.other$.value)?!0:a==this.other$.value}}class fm extends _e{get messageParams(){return{attribute:this.attributeName,size:this.size_}}get size_(){return this.attributes[0]}check(a){return a?this.size(a)==this.size_:!0}}class dm extends _e{check(a){return $l(a)}}class vm extends _e{check(a){try{return Intl.DateTimeFormat(void 0,{timeZone:a}),!0}catch{return!1}}}class cm extends _e{get isAsync(){return!0}get requestParams(){var a={};return F(this.attributes,(t,r)=>{var n=r;if(isNaN(r)||(n=t),n!="debounce"){var i=this.form$.el$(n);a[zt(a).length]=i&&r!=0?i.value:n}}),a}check(a){var t=this;return te(function*(){var r=t.element$.name,n=t.form$.$vueform.config.endpoints.unique,i=typeof n!="function"?n.method:null,u;return typeof n=="function"?u=yield n(a,r,t.requestParams,t.element$,t.form$):(u=yield t.form$.$vueform.services.axios.request({url:n.url,method:i,[i.toLowerCase()==="get"?"params":"data"]:{params:t.requestParams,name:r,value:a}}),u=u.data),u})()}}class pm extends _e{check(a){var t=new RegExp("^(?:(?:(?:https?|ftp):)?\\/\\/)(?:\\S+(?::\\S*)?@)?(?:(?!(?:10|127)(?:\\.\\d{1,3}){3})(?!(?:169\\.254|192\\.168)(?:\\.\\d{1,3}){2})(?!172\\.(?:1[6-9]|2\\d|3[0-1])(?:\\.\\d{1,3}){2})(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[1-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z0-9\\u00a1-\\uffff][a-z0-9\\u00a1-\\uffff_-]{0,62})?[a-z0-9\\u00a1-\\uffff]\\.)+(?:[a-z\\u00a1-\\uffff]{2,}\\.?))(?::\\d{2,5})?(?:[/?#]\\S*)?$","i");return t.test(a)}}class mm extends _e{check(a){var t=/^[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}$/i;return t.test(a)}}var $N={accepted:vp,active_url:cp,after:au,after_or_equal:pp,alpha:mp,alpha_dash:hp,alpha_num:gp,array:yp,before:bp,before_or_equal:Ap,between:_p,boolean:Dp,confirmed:$p,date:Op,date_equals:Ep,date_format:xp,different:Tp,digits:Mp,digits_between:kp,dimensions:Bp,distinct:qp,email:jp,exists:Np,file:Pp,filled:Ip,gt:ru,gte:Lp,image:Rp,in:Yp,in_array:Vp,integer:Up,ip:Kp,ipv4:Hp,ipv6:Gp,json:Zp,lt:Xp,lte:Jp,max:Qp,mimes:em,mimetypes:tm,min:am,not_in:rm,not_regex:nm,nullable:im,numeric:um,regex:lm,required:sm,same:om,size:fm,string:dm,timezone:vm,unique:cm,url:pm,uuid:mm},wN=Object.freeze({__proto__:null,accepted:vp,active_url:cp,after:au,after_or_equal:pp,alpha:mp,alpha_dash:hp,alpha_num:gp,array:yp,before:bp,before_or_equal:Ap,between:_p,boolean:Dp,confirmed:$p,date:Op,date_equals:Ep,date_format:xp,different:Tp,digits:Mp,digits_between:kp,dimensions:Bp,distinct:qp,email:jp,exists:Np,file:Pp,filled:Ip,gt:ru,gte:Lp,image:Rp,in_:Yp,in_array:Vp,integer:Up,ip:Kp,ipv4:Hp,ipv6:Gp,json:Zp,lt:Xp,lte:Jp,max:Qp,mimes:em,mimetypes:tm,min:am,not_in:rm,not_regex:nm,nullable:im,numeric:um,regex:lm,required:sm,same:om,size:fm,string:dm,timezone:vm,unique:cm,url:pm,uuid:mm,default:$N}),CN={factory:eN,rules:{}},SN=bl,FN=Zn,ON=so,EN=oe;function xN(){var e=arguments.length;if(!e)return[];for(var a=Array(e-1),t=arguments[0],r=e;r--;)a[r-1]=arguments[r];return SN(EN(t)?ON(t):[t],FN(a,1))}var Uu=xN;function TN(e){return e&&e.length?e[0]:void 0}var zu=TN;class MN{constructor(a){this.baseErrors=a,this.prepends={errors:[],messages:[]},this.appends={errors:[],messages:[]}}get errors(){return Uu(this.prepends.errors,this.baseErrors,this.appends.errors)}get messages(){return Uu(this.prepends.messages,this.appends.messages)}get error(){return zu(this.errors)}get message(){return zu(this.messages)}prepend(a,t){t===void 0&&(t="error"),this.prepends[t=="error"?"errors":"messages"].unshift(a)}append(a,t){t===void 0&&(t="error"),this.appends[t=="error"?"errors":"messages"].push(a)}remove(a,t){t===void 0&&(t="any"),["any","error"].indexOf(t)!==-1&&(F(this.prepends.errors,(r,n)=>{r==a&&this.rm("prepends","errors",n)}),F(this.appends.errors,(r,n)=>{r==a&&this.rm("appends","errors",n)})),["any","message"].indexOf(t)!==-1&&(F(this.prepends.messages,(r,n)=>{r==a&&this.rm("prepends","messages",n)}),F(this.appends.messages,(r,n)=>{r==a&&this.rm("appends","messages",n)}))}rm(a,t,r){this[a][t].splice(r,1)}clear(a){a===void 0&&(a="all"),a=="all"?(this.prepends={errors:[],messages:[]},this.appends={errors:[],messages:[]}):(this.prepends[a]=[],this.appends[a]=[])}clearPrepended(a){a===void 0&&(a="all"),a=="all"?this.prepends={errors:[],messages:[]}:this.prepends[a]=[]}clearAppended(a){a===void 0&&(a="all"),a=="all"?this.appends={errors:[],messages:[]}:this.appends[a]=[]}}var Ci=new Map;function kN(e){var a=Ci.get(e);a&&a.destroy()}function BN(e){var a=Ci.get(e);a&&a.update()}var bi=null;typeof window>"u"?((bi=function(e){return e}).destroy=function(e){return e},bi.update=function(e){return e}):((bi=function(e,a){return e&&Array.prototype.forEach.call(e.length?e:[e],function(t){return function(r){if(r&&r.nodeName&&r.nodeName==="TEXTAREA"&&!Ci.has(r)){var n,i=null,u=window.getComputedStyle(r),l=(n=r.value,function(){o({testForHeightReduction:n===""||!r.value.startsWith(n),restoreTextAlign:null}),n=r.value}),s=(function(v){r.removeEventListener("autosize:destroy",s),r.removeEventListener("autosize:update",f),r.removeEventListener("input",l),window.removeEventListener("resize",f),Object.keys(v).forEach(function(d){return r.style[d]=v[d]}),Ci.delete(r)}).bind(r,{height:r.style.height,resize:r.style.resize,textAlign:r.style.textAlign,overflowY:r.style.overflowY,overflowX:r.style.overflowX,wordWrap:r.style.wordWrap});r.addEventListener("autosize:destroy",s),r.addEventListener("autosize:update",f),r.addEventListener("input",l),window.addEventListener("resize",f),r.style.overflowX="hidden",r.style.wordWrap="break-word",Ci.set(r,{destroy:s,update:f}),f()}function o(v){var d,p,m=v.restoreTextAlign,h=m===void 0?null:m,A=v.testForHeightReduction,D=A===void 0||A,b=u.overflowY;if(r.scrollHeight!==0&&(u.resize==="vertical"?r.style.resize="none":u.resize==="both"&&(r.style.resize="horizontal"),D&&(d=function(_){for(var C=[];_&&_.parentNode&&_.parentNode instanceof Element;)_.parentNode.scrollTop&&C.push([_.parentNode,_.parentNode.scrollTop]),_=_.parentNode;return function(){return C.forEach(function(O){var T=O[0],S=O[1];T.style.scrollBehavior="auto",T.scrollTop=S,T.style.scrollBehavior=null})}}(r),r.style.height=""),p=u.boxSizing==="content-box"?r.scrollHeight-(parseFloat(u.paddingTop)+parseFloat(u.paddingBottom)):r.scrollHeight+parseFloat(u.borderTopWidth)+parseFloat(u.borderBottomWidth),u.maxHeight!=="none"&&p>parseFloat(u.maxHeight)?(u.overflowY==="hidden"&&(r.style.overflow="scroll"),p=parseFloat(u.maxHeight)):u.overflowY!=="hidden"&&(r.style.overflow="hidden"),r.style.height=p+"px",h&&(r.style.textAlign=h),d&&d(),i!==p&&(r.dispatchEvent(new Event("autosize:resized",{bubbles:!0})),i=p),b!==u.overflow&&!h)){var $=u.textAlign;u.overflow==="hidden"&&(r.style.textAlign=$==="start"?"end":"start"),o({restoreTextAlign:$,testForHeightReduction:!0})}}function f(){o({testForHeightReduction:!0,restoreTextAlign:null})}}(t)}),e}).destroy=function(e){return e&&Array.prototype.forEach.call(e.length?e:[e],kN),e},bi.update=function(e){return e&&Array.prototype.forEach.call(e.length?e:[e],BN),e});var qN=bi;class jN{constructor(){this.autocomplete=null,this.autocompleteListener=null,this.options={}}init(a,t,r){window.google===void 0||window.google.maps===void 0||window.google.maps.places===void 0||window.google.maps.places.Autocomplete,this.options=r,this.autocomplete=new window.google.maps.places.Autocomplete(a,r),this.autocompleteListener=this.autocomplete.addListener("place_changed",()=>{var n=this.autocomplete.getPlace();t(this.formatValue(n),n)})}destroy(){window.google.maps.event.removeListener(this.autocompleteListener),window.google.maps.event.clearInstanceListeners(this.autocomplete);var a=document.querySelector(".pac-container");a&&a.remove()}formatValue(a){if(!Ze(a))return a;var t=a.address_components,r=this.addressComponent(t,"street"),n=this.addressComponent(t,"street_number"),i=null;return r!==null&&(i=r),n!==null&&(i+=(r!==null?" ":"")+n),{country:this.addressComponent(t,"country"),country_code:this.addressComponent(t,"country_code"),state:this.addressComponent(t,"state"),state_code:this.addressComponent(t,"state_code"),city:this.addressComponent(t,"city"),zip:this.addressComponent(t,"zip"),address:i,formatted_address:a.formatted_address||null,lat:a.geometry.location.lat()||null,lng:a.geometry.location.lng()||null}}addressComponent(a,t){var r={country:{field:"country",type:"long_name"},country_code:{field:"country",type:"short_name"},state:{field:"administrative_area_level_1",type:"long_name"},state_code:{field:"administrative_area_level_1",type:"short_name"},city:{field:"locality",type:"long_name"},zip:{field:"postal_code",type:"long_name"},street:{field:"route",type:"long_name"},street_number:{field:"street_number",type:"long_name"}},n=null;return F(a,i=>{if(i.types.indexOf(r[t].field)!==-1){if(["state","state_code"].indexOf(t)!==-1&&this.addressComponent(a,"country_code")!="US")return;n=i[r[t].type]||null}}),n}}class NN{constructor(){this.places=null,this.options={}}init(a,t,r){if(window.places===void 0)throw new Error("Algolia Places API missing. Please include script in your project from https://community.algolia.com/places/documentation.html#cdn-script or install via npm and set to `window.places`.");this.options=r,this.places=window.places(Object.assign({},{container:a},r)),this.places.on("change",n=>{t(this.formatValue(n.suggestion),n.suggestion)})}destroy(){this.places.destroy()}formatValue(a){return Ze(a)?{country:a.country,country_code:a.countryCode?a.countryCode.toUpperCase():null,state:a.countryCode=="us"?a.administrative:null,state_code:a.countryCode=="us"?this.stateCode(a.administrative.toLowerCase()):null,city:a.city,zip:a.postcode,address:a.name,formatted_address:a.value,lat:a.latlng.lat,lng:a.latlng.lng}:a}stateCode(a){var t={AL:"alabama",AK:"alaska",AZ:"arizona",AR:"arkansas",CA:"california",CO:"colorado",CT:"connecticut",DE:"delaware",DC:"district of columbia",FL:"florida",GA:"georgia",HI:"hawaii",ID:"idaho",IL:"illinois",IN:"indiana",IA:"iowa",KS:"kansas",KY:"kentucky",LA:"louisiana",ME:"maine",MD:"maryland",MA:"massachusetts",MI:"michigan",MN:"minnesota",MS:"mississippi",MO:"missouri",MT:"montana",NE:"nebraska",NV:"nevada",NH:"new hampshire",NJ:"new Jersey",NM:"new Mexico",NY:"new york",NC:"north carolina",ND:"north dakota",OH:"ohio",OK:"oklahoma",OR:"oregon",PA:"pennsylvania",RI:"rhode Island",SC:"south carolina",SD:"south dakota",TN:"tennessee",TX:"texas",UT:"utah",VT:"vermont",VA:"virginia",WA:"washington",WV:"west virginia",WI:"wisconsin",WY:"wyoming"};return jr(t).indexOf(a)===-1?null:zt(t)[jr(t).indexOf(a)]}}var PN={google:jN,algolia:NN},IN=(e,a,t,r)=>{var n=()=>e(t,r),i=s=>{var{conditionPath:o,operator:f,expected:v}=u(s),d=t.el$(o),p=!1;return d&&a&&F(d.conditions,m=>{Array.isArray(m)&&m[0]==a&&(p=!0)}),!d||!p&&!d.available?!1:l(d.value,v,f)},u=s=>({conditionPath:a?Ga(s[0],a):s[0],operator:s.length==3||["empty","not_empty","today"].indexOf(s[1])!==-1?s[1]:"==",expected:s.length==3?s[2]:["empty","not_empty","today"].indexOf(s[1])===-1?s[1]:!0}),l=(s,o,f)=>dp(s,f,o,r);if(typeof e=="function")return n();if(oe(e)&&oe(e[0]))return e.reduce((s,o)=>s||(oe(o[0])?o.reduce((f,v)=>f&&i(v),!0):i(o)),!1);if(oe(e))return i(e);throw new Error("Condition must be a function or an array")},LN={check:IN};class RN{constructor(a){this.locales=a.locales,this.locale=a.locale,this.fallbackLocale=a.fallbackLocale}$t(a){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=Tt(this.locales[this.locale],a)||a;return r===a&&(r=Tt(this.locales[this.fallbackLocale],a)||a),F(t,(n,i)=>{r=r.replace(":"+i,n)}),F(t,(n,i)=>{r=r.replace("{"+i+"}",n)}),r}}class YN{constructor(a,t,r,n){Yv(this,"defaultBreakpoint","default"),this.presets=n,this.configPresetColumns=this.serialize(this.columnsFromPresets(a.configPresetColumns)||{}),this.configColumns=this.serialize(a.configColumns||{}),this.formPresetColumns=this.serialize(this.columnsFromPresets(a.formPresetColumns)||{}),this.formColumns=this.serialize(a.formColumns||{}),this.presetColumns=this.serialize(this.columnsFromPresets(a.elementPresetColumns)||{}),this.columns=this.serialize(a.elementColumns||{}),this.hasLabel=t,this.getClass=r,this.cols=this.getCols()}get classes(){return{container:this.getClasses("container"),label:this.getClasses("label"),innerContainer:this.getClasses("innerContainer"),wrapper:this.getClasses("wrapper")}}serialize(a){if(["number","string"].indexOf(typeof a)!==-1)return{[this.defaultBreakpoint]:{container:a}};if(typeof a=="object"&&["container","label","wrapper"].indexOf(Object.keys(a)[0])!==-1){var t={};return F(a,(n,i)=>{["number","string"].indexOf(typeof n)!==-1?(t[this.defaultBreakpoint]===void 0&&(t[this.defaultBreakpoint]={}),t[this.defaultBreakpoint][i]=n):F(n,(u,l)=>{t[l]===void 0&&(t[l]={}),t[l][i]=u})}),t}else{var r={};return F(a,(n,i)=>{["number","string"].indexOf(typeof n)!==-1?(r[i]===void 0&&(r[i]={}),r[i].container=n):r[i]=n}),r}}columnsFromPresets(a){var t;return F(a,r=>{var n=this.presets[r];!n||!n.columns||(t=n.columns)}),t}getNullClass(){return[this.getClass(this.defaultBreakpoint,0)]}getClasses(a){var t=[];return Object.keys(this.cols).forEach(r=>{var n;a==="innerContainer"?(n=this.cols[r].label,n=n>=12||!this.hasLabel?12:12-n):(n=this.cols[r][a],a==="label"&&!this.hasLabel&&(n=0)),n!==void 0&&!isNaN(n)&&t.push(this.getClass(r,n))}),t}getCols(){return mr({},{[this.defaultBreakpoint]:{container:12,label:12,wrapper:12}},this.configPresetColumns||{},this.configColumns||{},this.formPresetColumns||{},this.formColumns||{},this.presetColumns||{},this.columns||{})}}var VN={env:"development",plugins:[],elements:[],theme:{},templates:{},views:{},size:"md",addClasses:{},removeClasses:{},replaceClasses:{},overrideClasses:{},presets:{},usePresets:[],classHelpers:!1,columns:{},forceLabels:!1,floatPlaceholders:!0,displayErrors:!0,displayMessages:!0,breakpoints:["sm","md","lg","xl","2xl"],languages:{en:"English"},language:"en",locales:{},locale:null,fallbackLocale:"en",orderFrom:1,rules:{},validateOn:"change|step",forceNumbers:!1,endpoints:{submit:{url:"/vueform/process",method:"post"},uploadTempFile:{url:"/vueform/file/upload-temp",method:"post"},removeTempFile:{url:"/vueform/file/remove-temp",method:"post"},removeFile:{url:"/vueform/file/remove",method:"post"},attachment:{url:"/vueform/editor/attachment",method:"post"},activeUrl:{url:"/vueform/validators/active_url",method:"post"},unique:{url:"/vueform/validators/unique",method:"post"},exists:{url:"/vueform/validators/exists",method:"post"}},formData(e){return e.convertFormData(G(G({},e.requestData),e.formKey?{formKey:e.formKey}:{}))},beforeSend:null,axios:{},locationProvider:"google",services:{algolia:{app_id:"",api_key:""}}};function hm(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:VN,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=class{constructor(){this.options={config:Es(e,["theme","templates","locales","rules","plugins"]),templates:e.templates||{},components:e.components||{},theme:e.theme||{},rules:G(G({},t),e.rules||{}),locales:e.locales||{},plugins:e.plugins||[],i18n:null,vueVersion:null,services:{validation:CN,axios:xg,messageBag:MN,autosize:qN,location:PN,condition:LN,columns:YN},version:bj.version}}config(n){F(["theme","templates","locales","rules"],i=>{n[i]!==void 0&&(this.options[i]=Object.assign({},this.options[i],n[i]))}),F(["plugins","components"],i=>{n[i]!==void 0&&(this.options[i]=n[i])}),F(["languages","services","presets","views"],i=>{n[i]!==void 0&&(this.options.config[i]=Object.assign({},this.options.config[i],n[i]))}),F(["addClasses","removeClasses","replaceClasses","overrideClasses"],i=>{n[i]!==void 0&&(this.options.config[i]=typeof n[i]=="function"?n[i]:Object.assign({},this.options.config[i],n[i]))}),F(["endpoints"],i=>{n[i]!==void 0&&(this.options.config[i]=mr({},this.options.config[i],n[i]))}),F(["columns","forceLabels","displayErrors","floatPlaceholders","displayErrors","displayMessages","language","locale","fallbackLocale","orderFrom","validateOn","formData","beforeSend","locationProvider","classHelpers","env","usePresets","plugins","size","apiKey","forceNumbers"],i=>{n[i]!==void 0&&(this.options.config[i]=n[i])}),n.elements&&(n.elements.forEach(i=>{a[i.name]=Es(i,["render","staticRenderFns","components"])}),n.elements.forEach(i=>{this.options.templates[i.name]===void 0&&(this.options.templates[i.name]=P3(i,["render","staticRenderFns","components"]))})),n.axios!==void 0&&(typeof n.axios=="function"?this.options.services.axios=n.axios:this.options.config.axios=n.axios)}registerComponents(n){F(a,(i,u)=>{if(i.register!==!1){var l=G({},i);if(l.setup=(f,v)=>{v=Object.assign({},v,{name:Y(u),emits:l.emits});var d=i.setup(f,v);return this.options.plugins.forEach(p=>{typeof p=="function"&&(p=p()),p=Array.isArray(p)?p:[p],p.forEach(m=>{var h=typeof m=="function"?m():m;h.setup&&wd(u,h)&&(d=h.setup(f,v,d))})}),d},l.components===void 0){var s,o;l.components=((s=this.options.templates[u])===null||s===void 0?void 0:s.components)||((o=this.options.theme.templates[u])===null||o===void 0?void 0:o.components)||{}}l.render=function(){return this.template.render.apply(this,arguments)},l.staticRenderFns=function(){return this.template.staticRenderFns},this.options.plugins.forEach(f=>{typeof f=="function"&&(f=f()),f=Array.isArray(f)?f:[f],f.forEach(v=>{var d=typeof v=="function"?v():v;F(X3(Object.keys(d),"setup","apply","config","install"),p=>{if(d[p]&&wd(u,d))if(Array.isArray(d[p])){var m=l[p]||[];l[p]=m.concat(d[p])}else Ze(d[p])?l[p]=Object.assign({},l[p]||{},d[p]):l[p]=d[p]})})}),n.component(u,l)}})}initAxios(){var n=this.options.services.axios,i=this.options.config.axios,u=ej(this.options.config.axios);Object.keys(u).forEach(l=>{var s=u[l];["onUnauthenticated"].indexOf(l)===-1&&l.indexOf("csrfRequest.")===-1&&Xr(n.defaults,l,s)}),n.interceptors.response.use(l=>l,l=>l.response?new Promise((s,o)=>{var f=l.response,v=f.config;[401,419].indexOf(l.response.status)!==-1?i.csrfRequest&&!v.CSRF?n.request(G(G({},i.csrfRequest),{},{CSRF:!0})).then(()=>{s(n.request(G(G({},v),{},{CSRF:!0})))}).catch(d=>{o(d)}):i.onUnauthenticated?i.onUnauthenticated(v):o(l):o(l)}):Promise.reject(l))}initI18n(){this.options.i18n=new RN({locales:this.options.locales,locale:this.options.config.locale,fallbackLocale:this.options.config.fallbackLocale})}install(n){var i,u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},l=parseInt(n.version.split(".")[0]),s=parseInt(n.version.split(".")[1]);this.options.vueVersion=l;var o=u.plugins||[];o.forEach(d=>{typeof d=="function"&&(d=d()),d=Array.isArray(d)?d:[d],d.forEach(p=>{var m=typeof p=="function"?p():p;m.config&&m.config(u)})}),u&&this.config(u),this.options.plugins.forEach(d=>{typeof d=="function"&&(d=d()),d=Array.isArray(d)?d:[d],d.forEach(p=>{var m=typeof p=="function"?p():p;m.install&&m.install(n,this.options)})}),typeof e.axios!="function"&&this.initAxios(),this.initI18n(),Object.keys(this.options.components).forEach(d=>{a[d]=this.options.components[d]}),this.registerComponents(n);var f=((i=this.options.theme)===null||i===void 0?void 0:i.templates)||{};Object.keys(f).forEach(d=>{f[d]=Mi(f[d])});var v=Y(G(G({},this.options),{},{theme:G(G({},this.options.theme),{},{templates:f})}));switch(l){case 2:n.config.ignoredElements=["trix-editor"],n.config.unwrapInjectedRef=!0,n.prototype.$vueform||(n.prototype.$vueform=new Proxy(v,{get:(d,p,m)=>d.value[p]})),n.__VUEFORM__||(n.__VUEFORM__=!0,n.mixin({methods:{__:(d,p)=>(p||console.warn("DEPRECATED: __ method should be no longer used for translating labels, only if they contain variables. For general translation use form$.translation.TAG instead."),this.options.i18n.$t(d,p))}}));break;case 3:s<3&&(n.config.unwrapInjectedRef=!0),n.config.globalProperties.$vueform=new Proxy(v,{get:(d,p,m)=>d.value[p]}),n.provide("$vueform",v),n.mixin({methods:{$set(d,p,m){d[p]=m},$delete(d,p){delete d[p]},__:(d,p)=>(p||console.warn("DEPRECATED: __ method should be no longer used for translating labels, only if they contain variables. For general translation use form$.translation.TAG instead."),this.options.i18n.$t(d,p))}});break}}};return new r}var ze=function(a,t,r){var n=We("form$");return{form$:n}},He=function(a,t,r){var n=We("theme");return{theme:n}},gm=function(a,t,r){var n=We("Size");return{Size:n}},ym=function(a,t,r){var{view:n}=I(a),i=t.name,u=We("Views")||Y({}),l=We("View",Y(void 0)),s=c(()=>n&&n.value?n.value:u.value[i.value]?u.value[i.value]:l.value);return{View:s}},Ya=function(a,t,r){var n=t.name,{form$:i}=ze(),{theme:u}=He(),{Size:l}=gm(),{View:s}=ym(a,t),o=c(()=>La().proxy),f=c(()=>new Dl({component:n.value,component$:o,theme:u.value,config:i.value.$vueform.config,templates:d.value,view:s.value,merge:[i.value.options]})),v=c(()=>f.value.classes),d=c(()=>u.value.templates),p=c(()=>s.value&&d.value["".concat(n.value,"_").concat(s.value)]?d.value["".concat(n.value,"_").concat(s.value)]:d.value[n.value]);return{form$:i,theme:u,Size:l,View:s,classesInstance:f,classes:v,Templates:d,template:p}},bm={name:"FormErrors",props:{view:{required:!1,type:[String],default:void 0}},setup(e,a){var{form$:t,Size:r,View:n,classesInstance:i,theme:u,classes:l,Templates:s,template:o}=Ya(e,a),f=c(()=>t.value.formErrors);return{form$:t,Size:r,View:n,classesInstance:i,theme:u,classes:l,Templates:s,template:o,errors:f}}},Am={name:"FormMessages",props:{view:{required:!1,type:[String],default:void 0}},setup(e,a){var{form$:t,Size:r,View:n,classesInstance:i,theme:u,classes:l,Templates:s,template:o}=Ya(e,a),f=c(()=>t.value.formMessages);return{form$:t,Size:r,View:n,classesInstance:i,theme:u,classes:l,Templates:s,template:o,messages:f}}},_m={name:"FormLanguages",props:{view:{required:!1,type:[String],default:void 0}},setup(e,a){var{form$:t,Size:r,View:n,classesInstance:i,theme:u,classes:l,Templates:s,template:o}=Ya(e,a),f=c(()=>t.value.selectedLanguage),v=c(()=>t.value.options.languages),d=m=>{t.value.setLanguage(m)},p=m=>{d(m)};return va("View",n),{form$:t,Size:r,View:n,classesInstance:i,theme:u,classes:l,Templates:s,template:o,language:f,languages:v,select:d,handleSelect:p}}},Dm={name:"FormLanguage",emits:["select"],props:{language:{type:String,required:!0},code:{type:String,required:!0},view:{required:!1,type:[String],default:void 0}},setup(e,a){var{code:t}=I(e),{form$:r,Size:n,View:i,classesInstance:u,theme:l,classes:s,Templates:o,template:f}=Ya(e,a),v=c(()=>r.value.selectedLanguage),d=c(()=>v.value==t.value),p=()=>{a.emit("select",t.value)};return{form$:r,Size:n,View:i,classesInstance:u,theme:l,selectedLanguage:v,selected:d,classes:s,Templates:o,template:f,select:p}}},UN=wr,zN=$r,HN=zt;function WN(e){return function(a,t,r){var n=Object(a);if(!zN(a)){var i=UN(t);a=HN(a),t=function(l){return i(n[l],l,n)}}var u=e(a,t,r);return u>-1?n[i?a[u]:u]:void 0}}var $m=WN,GN=Do,KN=wr,ZN=tu,XN=Math.max;function JN(e,a,t){var r=e==null?0:e.length;if(!r)return-1;var n=t==null?0:ZN(t);return n<0&&(n=XN(r+n,0)),GN(e,KN(a),n)}var QN=JN,eP=$m,tP=QN,aP=eP(tP),qa=aP,rP=Do,nP=wr,iP=tu,uP=Math.max,lP=Math.min;function sP(e,a,t){var r=e==null?0:e.length;if(!r)return-1;var n=r-1;return t!==void 0&&(n=iP(t),n=t<0?uP(r+n,0):lP(n,r-1)),rP(e,nP(a),n,!0)}var oP=sP,fP=$m,dP=oP,vP=fP(dP),xu=vP,wm={name:"FormTabs",emits:["select"],props:{view:{required:!1,type:[String],default:void 0}},setup(e,a){var t=La().proxy,{form$:r,Size:n,View:i,classesInstance:u,theme:l,classes:s,Templates:o,template:f}=Ya(e,a),{events:v,listeners:d,on:p,off:m,fire:h}=Ie(e,a,{form$:r},{events:a.emits}),A=Y([]),D=Y(!0),b=c(()=>r.value.elements$),$=c(()=>r.value.options.tabs),_=c(()=>{var B={};return F(A.value,N=>{B[N.name]=N}),B}),C=c(()=>{var B={};return F(_.value,N=>{N.visible&&(B[N.name]=N)}),B}),O=c(()=>{var B=qa(_.value,{active:!0});return B!==void 0?B:{}}),T=c(()=>qa(C.value,B=>B.visible)),S=c(()=>Object.values(C.value).pop()),x=c(()=>qa(C.value,B=>B.index>O.value.index&&B.visible)),L=c(()=>xu(C.value,B=>B.index<O.value.index&&B.visible)),z=B=>{var N=C.value[B];N.select()},X=B=>{var N=O.value;F(b.value,ne=>{ne.deactivate()}),F(_.value,ne=>{ne.deactivate()}),h("select",B,N)},Q=B=>qa(_.value,{name:B}),P=()=>{T.value.select()},M=(B,N)=>{B.tabs$!==void 0?r.value.$set(B,"tabs$",t):N(B.$parent,N)},q=(B,N)=>{B.tabs$!==void 0?r.value.$set(B,"tabs$",null):N(B.$parent,N)};return va("View",i),De(b,(B,N)=>{var ne=wo(zt(B),zt(N));F(ne,J=>{b.value[J].deactivate()})},{deep:!1,lazy:!0}),De($,te(function*(){yield pt(),yield pt(),(O.value===void 0||O.value.index===void 0)&&T.value&&T.value.select()}),{deep:!0,lazy:!0}),De($,B=>{var N=[];F(B,(ne,J)=>{N.push(A.value[A.value.map(H=>Mt(H.name)).indexOf(Mt(J))])}),A.value=N},{flush:"post"}),an(()=>{M(t.$parent,M)}),qr(()=>{q(t.$parent,q)}),Dt(()=>{pt(()=>{qa(_.value,{active:!0})||T.value.select()})}),{form$:r,Size:n,View:i,classesInstance:u,theme:l,tabs:$,elements$:b,tabs$Array:A,events:v,listeners:d,exists:D,classes:s,Templates:o,template:f,tabs$:_,visible$:C,current$:O,first$:T,last$:S,next$:x,previous$:L,goTo:z,select:X,tab$:Q,reset:P,on:p,off:m,fire:h}}},Xe=function(a,t,r){var{parent:n,conditions:i}=I(a),u=r.form$,l=r.path||Y(null),s=r.el$||Y(void 0),o=Y(i.value),f=Y({}),v=c(()=>u.value.conditions?n&&n.value&&n.value.available!==void 0&&!n.value.available?!1:!o.value||!o.value.length?!0:!Te(o.value,h=>!u.value.$vueform.services.condition.check(h,l.value,u.value,s.value)):!0),d=()=>{o.value=Object.values(f.value).reduce((h,A)=>h.concat(A),i.value)},p=(h,A)=>{f.value[h]=A,d()},m=h=>{delete f.value[h],d()};return{conditionList:o,available:v,additionalConditions:f,updateConditions:d,addConditions:p,removeConditions:m}},Co=function(a,t,r){var{conditionList:n,available:i,additionalConditions:u,addConditions:l,removeConditions:s}=Xe(a,t,r),{conditions:o}=I(a),f=r.children$Array,v=()=>{n.value=Object.values(u.value).reduce((d,p)=>d.concat(p),o.value),f.value.forEach(d=>{d.updateConditions()})};return{conditionList:n,available:i,updateConditions:v,addConditions:l,removeConditions:s}},cP=Co,pP=Co,{hasOwnProperty:n4,toString:mP}=Object.prototype;function Md(e){return typeof e=="string"&&e.trim().length>0}function hP(e){return typeof e=="function"}function gP(e){return Array.isArray(e)&&e.length>0}function yP(e){return!!e}function bP(e){return yP(e)&&e.nodeType===1&&mP.call(e).indexOf("Element")>-1}function Ii(e){return Ze(e)&&(Md(e.template)||hP(e.render)||Md(e.el)||bP(e.el)||Ii(e.extends)||gP(e.mixins)&&e.mixins.some(a=>Ii(a)))||typeof e=="function"&&e.prototype&&e.prototype.constructor.name==="VueComponent"}function Ut(e,a,t){var r=t.locale$||a.i18n.locale;return r&&e&&typeof e=="object"?(e==null?void 0:e[r])||(e==null?void 0:e[r.toUpperCase()])||(e==null?void 0:e[a.i18n.fallbackLocale])||(e==null?void 0:e[a.i18n.fallbackLocale.toUpperCase()])||(e==null?void 0:e[Object.keys(e)[0]])||"":e}var wl=function(a,t,r){var n=r.labelDefinition,i=r.component$||Y(null),u=We("form$"),l=We("config$"),s=c(()=>n.value),o=c(()=>typeof s.value=="function"&&(!s.value.prototype||!s.value.prototype.constructor||s.value.prototype.constructor&&s.value.prototype.constructor.name!=="VueComponent")),f=c(()=>Ii(s.value)),v=c(()=>{var d=o.value?s.value(i.value):s.value||null;return f.value||(d=Ut(d,l.value,u.value)),d});return{label:v,isLabelComponent:f}},Cm={name:"FormTab",emits:["activate","inactivate"],slots:["default"],props:{name:{type:[String,Number],required:!0},label:{type:[String,Object,Function],required:!1,default:null},elements:{type:[Array],required:!1,default:()=>[]},conditions:{type:[Array],required:!1,default:()=>[]},addClass:{required:!1,type:[Array,Object,String],default:null},removeClass:{required:!1,type:[Array,Object],default:null},replaceClass:{required:!1,type:[Object],default:null},overrideClass:{required:!1,type:[Array,Object,String],default:null},view:{required:!1,type:[String],default:void 0},onActivate:{type:[Function],required:!1,default:null,private:!0},onInactivate:{type:[Function],required:!1,default:null,private:!0}},setup(e,a){var{name:t,label:r,elements:n}=I(e),i=La().proxy,{form$:u,Size:l,View:s,classesInstance:o,theme:f,classes:v,Templates:d,template:p}=Ya(e,a),{available:m,conditionList:h,updateConditions:A}=Xe(e,a,{form$:u}),{isLabelComponent:D,label:b}=wl(e,a,{component$:u,labelDefinition:r}),{events:$,listeners:_,on:C,off:O,fire:T}=Ie(e,a,{form$:u},{events:a.emits}),S=Y(!1),x=Y(b.value&&typeof b.value=="object"?Mi(b.value):b.value),L=c(()=>u.value.elements$),z=c(()=>u.value.tabs$),X=c(()=>{var se;return Object.keys((z==null||(se=z.value)===null||se===void 0?void 0:se.tabs$)||{}).indexOf(t.value)}),Q=c(()=>X.value===0),P=c(()=>z.value.last$.name===t.value),M=c(()=>Ao(L.value,(se,ie)=>n.value.indexOf(ie)!==-1)),q=c(()=>m.value),B=c(()=>Te(M.value,{available:!0,invalid:!0})),N=c(()=>u.value.tabs$.tabs$[t.value]),ne=()=>{var se,ie;S.value||!((se=z.value)!==null&&se!==void 0&&se.select)||((ie=z.value)===null||ie===void 0||ie.select(N.value),J())},J=()=>{S.value||(S.value=!0,F(M.value,se=>{se.activate()}),T("activate"))},H=()=>{S.value&&(S.value=!1,F(M.value,se=>{se.deactivate()}),T("inactivate"))},ve=()=>{h.value.length!=0&&Object.values(M.value).forEach(se=>{se.addConditions("tab",h.value)})},Me=()=>{Object.values(M.value).forEach(se=>{se.removeConditions("tab")})},$t=()=>{Me(),ve()},Ce=(se,ie)=>{se.tabs$Array?se.tabs$Array.push(i):ie(se.$parent,ie)},Ve=(se,ie)=>{se.tabs$Array?se.tabs$Array.splice(se.tabs$Array.map(we=>Mt(we.name)).indexOf(Mt(t.value)),1):ie(se.$parent,ie)};return De(M,()=>{S.value&&F(M.value,se=>{se.activate()})},{deep:!1,lazy:!0}),De(b,()=>{x.value=b.value&&typeof b.value=="object"?Mi(b.value):b.value}),De(h,(se,ie)=>{se!=null&&se.length?ve():Me()}),Dt(()=>{pt(()=>{ve()})}),an(()=>{Ce(i.$parent,Ce)}),qr(()=>{Me(),Ve(i.$parent,Ve)}),{form$:u,Size:l,View:s,classesInstance:o,theme:f,elements$:L,index:X,isFirst:Q,isLast:P,active:S,events:$,listeners:_,children$:M,visible:q,invalid:B,classes:v,Templates:d,template:p,available:m,isLabelComponent:D,tabLabel:x,tab$:N,tabs$:z,conditionList:h,select:ne,activate:J,deactivate:H,on:C,off:O,fire:T,addChildConditions:ve,removeChildConditions:Me,resetChildConditions:$t,updateConditions:A}}},Sm={name:"FormSteps",emits:["select","next","previous","finish"],props:{view:{required:!1,type:[String],default:void 0}},setup(e,a){var t=La().proxy,{form$:r,Size:n,View:i,classesInstance:u,theme:l,classes:s,Templates:o,template:f}=Ya(e,a),{events:v,listeners:d,on:p,off:m,fire:h}=Ie(e,a,{form$:r},{events:a.emits}),A=Y([]),D=Y(null),b=Y(!0),$=c(()=>r.value.options.steps),_=c(()=>r.value.elements$),C=c(()=>Te(z.value,{pending:!0})),O=c(()=>Te(z.value,{debouncing:!0})),T=c(()=>Te(z.value,{invalid:!0})),S=c(()=>!Te(z.value,{done:!1})),x=c(()=>C.value||O.value),L=c(()=>{var le={};return F(A.value,xe=>{le[xe.name]=xe}),le}),z=c(()=>{var le={};return F(L.value,xe=>{xe.visible&&(le[xe.name]=xe)}),le}),X=c(()=>qa(z.value,le=>le.visible)),Q=c(()=>Object.values(z.value).pop()),P=c(()=>{var le=qa(L.value,{active:!0});return le!==void 0?le:{}}),M=c(()=>qa(z.value,le=>le.index>P.value.index&&le.visible)),q=c(()=>xu(z.value,le=>le.index<P.value.index&&le.visible)),B=c(()=>qa(z.value,{invalid:!0})),N=c(()=>qa(z.value,{done:!1})),ne=c(()=>xu(z.value,{isDisabled:!1})),J=c(()=>{var le=xu(z.value,{visible:!0});return!P.value||!le?!1:le.index===P.value.index}),H=c(()=>P.value.index===0),ve=function(xe){var pe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Se=z.value[xe];Se.enable(),Se.select(),pe&&pt(()=>{jt()})},Me=()=>{h("next",M.value),M.value.enable(),M.value.select()},$t=()=>{h("previous",q.value),q.value.select()},Ce=()=>{F(L.value,le=>{le.complete()})},Ve=le=>qa(z.value,{name:le}),se=()=>{F(L.value,le=>{le.uncomplete(),le.disable()}),X.value.enable(),X.value.select()},ie=()=>{F(L.value,le=>{le.enable()})},we=function(){var le=te(function*(){if(yield r.value.submit(),T.value){B.value.select();return}D.value=De(T,xe=>{xe&&B.value.select(),D.value()})});return function(){return le.apply(this,arguments)}}(),Be=le=>{var xe=P.value;F(_.value,pe=>{pe.deactivate()}),F(L.value,pe=>{pe.deactivate()}),h("select",le,xe)},dt=le=>{F(L.value,xe=>{xe.index<=le&&xe.visible&&xe.enable()})},wt=()=>{dt(P.value.index)},jt=()=>{!ne.value&&!X.value||dt(ne.value!==void 0?ne.value.index:X.value.index)},na=(le,xe)=>{le.steps$!==void 0?r.value.$set(le,"steps$",t):xe(le.$parent,xe)},Zt=(le,xe)=>{le.steps$!==void 0?r.value.$set(le,"steps$",null):xe(le.$parent,xe)};return va("View",i),De(_,(le,xe)=>{var pe=wo(zt(le),zt(xe));F(pe,Se=>{_.value[Se].deactivate()})},{deep:!1,lazy:!0}),De($,()=>{pt(()=>{ne.value,P.value.index===void 0&&X.value&&X.value.select()})},{deep:!0,lazy:!0}),De($,le=>{var xe=[];F(le,(pe,Se)=>{xe.push(A.value[A.value.map(ue=>Mt(ue.name)).indexOf(Mt(Se))])}),A.value=xe},{flush:"post"}),an(()=>{na(t.$parent,na)}),qr(()=>{Zt(t.$parent,Zt)}),Dt(()=>{pt(()=>{(P.value===void 0||P.value.index===void 0)&&(X.value.enable(),X.value.select()),wt(),De(z,()=>{jt()},{flush:"post"})})}),{form$:r,Size:n,View:i,classesInstance:u,theme:l,steps:$,elements$:_,steps$Array:A,events:v,listeners:d,exists:b,classes:s,Templates:o,template:f,steps$:L,pending:C,debouncing:O,invalid:T,done:S,busy:x,visible$:z,first$:X,last$:Q,current$:P,next$:M,previous$:q,firstInvalid$:B,firstNonDone$:N,lastEnabled$:ne,isAtLastStep:J,isAtFirstStep:H,goTo:ve,next:Me,previous:$t,complete:Ce,step$:Ve,reset:se,enableAllSteps:ie,submit:we,select:Be,enableUntil:dt,enableUntilCurrent:wt,enableUntilLastEnabled:jt,on:p,off:m,fire:h}}},Fm={name:"FormStepsControls",slots:["previous","next","finish"],props:{labels:{type:Boolean,required:!1,default:!0},view:{required:!1,type:[String],default:void 0}},setup(e,a){var{form$:t,Size:r,View:n,classesInstance:i,theme:u,classes:l,Templates:s,template:o}=Ya(e,a);return va("View",n),{form$:t,Size:r,View:n,classesInstance:i,theme:u,classes:l,Templates:s,template:o}}},Om={name:"FormStepsControl",slots:["default"],props:{type:{type:[String],required:!0},labels:{type:[Boolean],required:!1,default:!0,private:!0},view:{required:!1,type:[String],default:void 0}},setup(e,a){var{type:t,labels:r}=I(e),{form$:n,Size:i,View:u,classesInstance:l,theme:s,classes:o,Templates:f,template:v}=Ya(e,a),d=c(()=>{if(!r.value)return null;var S=A&&A.value?A.value.labels:null;switch(t.value){case"previous":return S&&S.previous?S.previous:n.value.translations.vueform.steps.previous;case"next":return S&&S.next?S.next:n.value.translations.vueform.steps.next;case"finish":return S&&S.finish?S.finish:S&&S.next?S.next:n.value.translations.vueform.steps.finish}}),{isLabelComponent:p,label:m}=wl(e,a,{component$:n,labelDefinition:d}),h=c(()=>n.value.steps$),A=c(()=>h.value?h.value.current$:void 0),D=c(()=>{var S=A&&A.value?A.value.buttons:null;switch(t.value){case"previous":return S?S.previous!==!1:!0;case"next":return h.value&&!h.value.isAtLastStep&&(!S||S.next!==!1);case"finish":return h.value&&h.value.isAtLastStep&&(!S||S.finish!==!1)}}),b=c(()=>{switch(t.value){case"previous":return h.value&&h.value.isAtFirstStep;case"next":return A.value!==void 0&&A.value.index!==void 0&&(A.value.invalid&&n.value.shouldValidateOnChange||A.value.busy||n.value.isLoading);case"finish":return h.value.invalid&&n.value.shouldValidateOnChange||h.value.busy||n.value.submitting||n.value.isDisabled||n.value.isLoading}}),$=c(()=>t.value==="previous"?!1:n.value.isLoading||n.value.submitting),_=()=>{h.value.previous()},C=function(){var S=te(function*(){n.value.shouldValidateOnStep&&(yield A.value.validate()),!A.value.invalid&&(A.value.complete(),h.value.next())});return function(){return S.apply(this,arguments)}}(),O=function(){var S=te(function*(){h.value.fire("finish"),h.value.complete(),h.value.submit()});return function(){return S.apply(this,arguments)}}(),T=S=>{switch(t.value){case"previous":_();break;case"next":C(),(S.key==="Enter"||S.key===" ")&&pt(()=>{pt(()=>{var x,L=A==null||(x=A.value.children$)===null||x===void 0?void 0:x.find(z=>{var X;return z.name===(A==null||(X=A.value.elements)===null||X===void 0?void 0:X[0])});L&&L.focus()})});break;case"finish":O();break}};return{form$:n,Size:i,View:u,classesInstance:l,theme:s,steps$:h,classes:o,Templates:f,template:v,visible:D,isDisabled:b,isLoading:$,current$:A,label:m,isLabelComponent:p,previous:_,next:C,finish:O,handleClick:T}}},Em={name:"FormStep",emits:["activate","inactivate","enable","disable","complete"],slots:["default"],props:{name:{type:[String,Number],required:!0},label:{type:[String,Object,Function],required:!1,default:null},labels:{type:[Object],required:!1,default:()=>({})},buttons:{type:[Object],required:!1,default:()=>({})},elements:{type:[Array],required:!1,default:()=>[]},conditions:{type:[Array],required:!1,default:()=>[]},addClass:{required:!1,type:[Array,Object,String],default:null},removeClass:{required:!1,type:[Array,Object],default:null},replaceClass:{required:!1,type:[Object],default:null},overrideClass:{required:!1,type:[Array,Object,String],default:null},view:{required:!1,type:[String],default:void 0},onActivate:{type:[Function],required:!1,default:null,private:!0},onInactivate:{type:[Function],required:!1,default:null,private:!0},onDisable:{type:[Function],required:!1,default:null,private:!0},onEnable:{type:[Function],required:!1,default:null,private:!0}},setup(e,a){var{name:t,label:r,elements:n}=I(e),i=La().proxy,{form$:u,Size:l,View:s,classesInstance:o,theme:f,classes:v,Templates:d,template:p}=Ya(e,a),{available:m,conditionList:h,updateConditions:A}=Xe(e,a,{form$:u}),{isLabelComponent:D,label:b}=wl(e,a,{component$:u,labelDefinition:r}),{events:$,listeners:_,on:C,off:O,fire:T}=Ie(e,a,{form$:u},{events:a.emits}),S=Y(b.value&&typeof b.value=="object"?Mi(b.value):b.value),x=Y(!1),L=Y(!0),z=Y(!1),X=c(()=>u.value.elements$),Q=c(()=>u.value.steps$||{}),P=c(()=>r.value),M=c(()=>{var ue;return Object.keys((Q==null||(ue=Q.value)===null||ue===void 0?void 0:ue.steps$)||{}).indexOf(t.value)}),q=c(()=>M.value===0),B=c(()=>Q.value.last$.name===t.value),N=c(()=>Ao(X.value,(ue,he)=>n.value.indexOf(he)!==-1)),ne=c(()=>m.value),J=c(()=>Te(N.value,{available:!0,invalid:!0})),H=c(()=>Te(N.value,{available:!0,pending:!0})),ve=c(()=>Te(N.value,{available:!0,debouncing:!0})),Me=c(()=>!Te(N.value,{available:!0,validated:!1})),$t=c(()=>H.value||ve.value),Ce=c(()=>z.value&&Me.value&&!J.value&&!H.value),Ve=c(()=>{var ue;return(ue=u.value.steps$)===null||ue===void 0?void 0:ue.steps$[t.value]}),se=function(){var ue=te(function*(){Me.value&&!J.value&&u.value.shouldValidateOnChange||(yield aa(N.value,function(){var he=te(function*(ge){(!ge.validated||ge.invalid||!u.value.shouldValidateOnChange)&&ge.available&&!ge.isStatic&&(yield ge.validate())});return function(ge){return he.apply(this,arguments)}}()))});return function(){return ue.apply(this,arguments)}}(),ie=()=>{x.value||(x.value=!0,T("activate"))},we=()=>{x.value&&(x.value=!1,T("inactivate"))},Be=()=>{L.value&&(L.value=!1,T("enable"))},dt=()=>{L.value||(L.value=!0,T("disable"))},wt=()=>{z.value||(z.value=!0,T("complete"))},jt=()=>{z.value=!1},na=()=>{var ue,he;L.value||!((ue=Q.value)!==null&&ue!==void 0&&ue.select)||((he=Q.value)===null||he===void 0||he.select(Ve.value),F(N.value,ge=>{ge.activate()}),ie())},Zt=()=>{h.value.length!=0&&Object.values(N.value).forEach(ue=>{ue.addConditions("step",h.value)})},le=()=>{Object.values(N.value).forEach(ue=>{ue.removeConditions("step")})},xe=()=>{le(),Zt()},pe=(ue,he)=>{ue.steps$Array?ue.steps$Array.push(i):he(ue.$parent,he)},Se=(ue,he)=>{ue.steps$Array?ue.steps$Array.splice(ue.steps$Array.map(ge=>Mt(ge.name)).indexOf(Mt(t.value)),1):he(ue.$parent,he)};return De(ne,ue=>{ue&&M.value<u.value.steps$.current$.index&&Be()}),De(N,()=>{x.value&&F(N.value,ue=>{ue.activate()})},{deep:!1,lazy:!0}),De(b,()=>{S.value=b.value&&typeof b.value=="object"?Mi(b.value):b.value}),De(h,(ue,he)=>{ue!=null&&ue.length?Zt():le()}),Dt(()=>{pt(()=>{Zt()})}),an(()=>{pe(i.$parent,pe)}),qr(()=>{le(),Se(i.$parent,Se)}),{form$:u,Size:l,View:s,classesInstance:o,theme:f,steps$:Q,elements$:X,active:x,isDisabled:L,isFirst:q,isLast:B,completed:z,events:$,listeners:_,children$:N,visible:ne,invalid:J,pending:H,classes:v,Templates:d,template:p,available:m,baseLabel:P,debouncing:ve,validated:Me,busy:$t,done:Ce,step$:Ve,isLabelComponent:D,stepLabel:S,index:M,conditionList:h,validate:se,activate:ie,deactivate:we,enable:Be,disable:dt,complete:wt,uncomplete:jt,select:na,on:C,off:O,fire:T,addChildConditions:Zt,removeChildConditions:le,resetChildConditions:xe,updateConditions:A}}},nu=function(a,t,r){var n=i=>"".concat(sn(Pi(i.type)),"Element");return{component:n}},So={name:"FormElements",slots:["default"],props:{view:{required:!1,type:[String],default:void 0}},setup(e,a){var{form$:t,Size:r,View:n,classesInstance:i,theme:u,classes:l,Templates:s,template:o}=Ya(e,a),{component:f}=nu(),v=c(()=>t.value.options.schema);return{form$:t,Size:r,View:n,classesInstance:i,theme:u,classes:l,Templates:s,template:o,schema:v,component:f}}},AP=function(a,t,r){var n=We("el$");return{el$:n}},Gt=function(a,t,r){var n=t.name,{form$:i}=ze(),{el$:u}=AP(),{theme:l}=He(),{Size:s}=gm(),{View:o}=ym(a,t),f=c(()=>La().proxy),v=c(()=>new Dl({component:n.value,component$:f,theme:l.value,config:i.value.$vueform.config,templates:p.value,view:o.value,merge:[i.value.options,u.value]})),d=c(()=>v.value.classes),p=c(()=>u.value.Templates),m=c(()=>o.value&&p.value["".concat(n.value,"_").concat(o.value)]?p.value["".concat(n.value,"_").concat(o.value)]:p.value[n.value]);return{el$:u,form$:i,theme:l,Size:s,View:o,classesInstance:v,classes:d,Templates:p,template:m}},xm={name:"ElementLayout",slots:["field","label","info","description","before","between","after"],props:{multiple:{type:[Boolean],required:!1,default:!1},view:{type:[String],required:!1,default:void 0}},setup(e,a){var{form$:t,el$:r,Size:n,View:i,classesInstance:u,classes:l,Templates:s,template:o,theme:f}=Gt(e,a),v=c(()=>r.value.visible);return{el$:r,form$:t,Size:n,View:i,classesInstance:u,theme:f,Templates:s,template:o,classes:l,visible:v}}},Tm={name:"ElementLayoutInline",slots:["field","label","info","description","before","between","after"],setup(e,a){var{form$:t,el$:r,Size:n,View:i,classesInstance:u,classes:l,Templates:s,template:o,theme:f}=Gt(e,a),v=c(()=>r.value.visible);return{el$:r,form$:t,Size:n,View:i,classesInstance:u,theme:f,Templates:s,template:o,classes:l,visible:v}}},Mm={name:"ElementLoader",setup(e,a){var{el$:t,form$:r,Size:n,View:i,classesInstance:u,classes:l,Templates:s,template:o,theme:f}=Gt(e,a);return{el$:t,form$:r,Size:n,View:i,classesInstance:u,theme:f,classes:l,Templates:s,template:o}}},km={name:"ElementLabelFloating",props:{visible:{type:Boolean,default:!1}},setup(e,a){var{el$:t,form$:r,Size:n,View:i,classesInstance:u,classes:l,Templates:s,template:o,theme:f}=Gt(e,a),v=We("config$"),d=c(()=>Ut(t.value.floating||(r.value.options.floatPlaceholders?t.value.placeholder:null),v.value,r.value));return{el$:t,form$:r,Size:n,View:i,classesInstance:u,theme:f,classes:l,Templates:s,template:o,floating:d}}},Bm={name:"ElementLabel",slots:["default","info"],setup(e,a){var{el$:t,form$:r,Size:n,View:i,classesInstance:u,classes:l,Templates:s,template:o,theme:f}=Gt(e,a),{label:v,isLabelComponent:d}=wl(e,a,{labelDefinition:c(()=>t.value.label),component$:t}),p=c(()=>t.value.fieldId),m=c(()=>t.value.labelId),h=c(()=>t.value.hasLabel),A=c(()=>{var D,b,$;return!!((D=t.value.slots)!==null&&D!==void 0&&D.label||(b=t.value.$slots)!==null&&b!==void 0&&b.label||r.value.$vueform.vueVersion===2&&($=t.value.$scopedSlots)!==null&&$!==void 0&&$.label)});return{el$:t,form$:r,Size:n,View:i,classesInstance:u,theme:f,classes:l,Templates:s,template:o,label:v,isLabelComponent:d,name:p,id:m,hasLabel:h,isSlot:A}}};function bu(e){var a=e.getBoundingClientRect();return a.top>=0&&a.left>=0&&a.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&a.right<=(window.innerWidth||document.documentElement.clientWidth)}var qm={name:"ElementInfo",slots:["default"],setup(e,a){var{el$:t,form$:r,Size:n,View:i,classesInstance:u,classes:l,Templates:s,template:o,theme:f}=Gt(e,a),v=We("config$"),d=Y(t.value.infoPosition),p=c(()=>Ut(t.value.info,v.value,r.value)),m=c(()=>t.value.infoId),h=c(()=>{var D,b,$;return!!((D=t.value.slots)!==null&&D!==void 0&&D.info||(b=t.value.$slots)!==null&&b!==void 0&&b.info||r.value.$vueform.vueVersion===2&&($=t.value.$scopedSlots)!==null&&$!==void 0&&$.info)}),A=function(){var D=te(function*(b){if(d.value===t.value.infoPosition){yield pt();var $=b.target.querySelector("div");$&&(bu($)||(d.value="right"),yield pt(),bu($)||(d.value="top"),yield pt(),bu($)||(d.value="left"),yield pt(),bu($)||(d.value="bottom"))}});return function($){return D.apply(this,arguments)}}();return{el$:t,form$:r,Size:n,View:i,classesInstance:u,theme:f,classes:l,Templates:s,template:o,info:p,isSlot:h,position:d,id:m,handleMouseOver:A}}},jm={name:"ElementDescription",slots:["default"],setup(e,a){var{el$:t,form$:r,Size:n,View:i,classesInstance:u,classes:l,Templates:s,template:o,theme:f}=Gt(e,a),v=We("config$"),d=c(()=>Ut(t.value.description,v.value,r.value)),p=c(()=>t.value.descriptionId),m=c(()=>{var h,A,D;return!!((h=t.value.slots)!==null&&h!==void 0&&h.description||(A=t.value.$slots)!==null&&A!==void 0&&A.description||r.value.$vueform.vueVersion===2&&(D=t.value.$scopedSlots)!==null&&D!==void 0&&D.description)});return{el$:t,form$:r,Size:n,View:i,classesInstance:u,theme:f,classes:l,Templates:s,template:o,description:d,isSlot:m,id:p}}},Nm={name:"ElementError",setup(e,a){var{el$:t,form$:r,Size:n,View:i,classesInstance:u,classes:l,Templates:s,template:o,theme:f}=Gt(e,a),v=c(()=>t.value.error),d=c(()=>t.value.errorId);return{el$:t,form$:r,Size:n,View:i,classesInstance:u,theme:f,classes:l,Templates:s,template:o,error:v,id:d}}},Pm={name:"ElementMessage",setup(e,a){var{el$:t,form$:r,Size:n,View:i,classesInstance:u,classes:l,Templates:s,template:o,theme:f}=Gt(e,a),v=c(()=>t.value.messageBag?t.value.messageBag.message:null);return{el$:t,form$:r,Size:n,View:i,classesInstance:u,theme:f,classes:l,Templates:s,template:o,message:v}}},Im={name:"ElementText",slots:["default"],props:{type:{type:String,required:!0}},setup(e,a){var{type:t}=I(e),{el$:r,form$:n,Size:i,View:u,classesInstance:l,classes:s,Templates:o,template:f,theme:v}=Gt(e,a),d=We("config$"),p=c(()=>Ut(r.value[t.value],d.value,n.value)),m=c(()=>{var h,A,D;return!!((h=r.value.slots)!==null&&h!==void 0&&h[t.value]||(A=r.value.$slots)!==null&&A!==void 0&&A[t.value]||n.value.$vueform.vueVersion===2&&(D=r.value.$scopedSlots)!==null&&D!==void 0&&D[t.value])});return{el$:r,form$:n,Size:i,View:u,classesInstance:l,theme:v,classes:s,Templates:o,template:f,content:p,isSlot:m}}},Lm={name:"DragAndDrop",emits:["click","drop"],props:{title:{type:String,required:!0},description:{type:String,required:!0},disabled:{type:Boolean,required:!1,default:!1}},setup(e,a){var{disabled:t}=I(e),{el$:r,form$:n,Size:i,View:u,classesInstance:l,classes:s,Templates:o,template:f,theme:v}=Gt(e,a),d=Y(!1),p=Y(null),m=()=>{a.emit("click")};return Dt(()=>{F(["drag","dragstart","dragend","dragover","dragenter","dragleave","drop"],h=>{p.value.addEventListener(h,A=>{A.preventDefault(),A.stopPropagation()})}),p.value.addEventListener("drop",h=>{t.value||(a.emit("drop",h),d.value=!1)}),p.value.addEventListener("dragover",h=>{t.value||d.value!==!0&&(d.value=!0)}),p.value.addEventListener("dragleave",h=>{t.value||(d.value=!1)}),p.value.addEventListener("dragend",h=>{t.value||(d.value=!1)})}),{el$:r,form$:n,Size:i,View:u,classesInstance:l,classes:s,Templates:o,template:f,theme:v,dragging:d,area:p,handleClick:m}}},Rm={name:"ElementAddon",slots:["default"],props:{type:{required:!0,type:String}},setup(e,a){var{type:t}=I(e),{form$:r,el$:n,Size:i,View:u,classesInstance:l,classes:s,Templates:o,template:f,theme:v}=Gt(e,a),d=We("config$"),p=c(()=>n.value.addons[t.value]),m=c(()=>{var b=h.value?p.value(n.value):p.value||null;return A.value||(b=Ut(b,d.value,r.value)),b}),h=c(()=>typeof p.value=="function"&&(!p.value.prototype||!p.value.prototype.constructor||p.value.prototype.constructor&&p.value.prototype.constructor.name!=="VueComponent")),A=c(()=>Ii(p.value)),D=c(()=>{var b,$,_;return!!((b=n.value.slots)!==null&&b!==void 0&&b["addon-".concat(t.value)]||($=n.value.$slots)!==null&&$!==void 0&&$["addon-".concat(t.value)]||r.value.$vueform.vueVersion===2&&(_=n.value.$scopedSlots)!==null&&_!==void 0&&_["addon-".concat(t.value)]||n.value.slots["addon-".concat(t.value)])});return{el$:n,form$:r,theme:v,Size:i,View:u,classesInstance:l,Templates:o,template:f,classes:s,addon:m,isAddonComponent:A,isSlot:D}}},Ql=["onChange","onClose","onDayCreate","onDestroy","onKeyDown","onMonthChange","onOpen","onParseConfig","onReady","onValueUpdate","onYearChange","onPreCalendarPosition"],kn={_disable:[],allowInput:!1,allowInvalidPreload:!1,altFormat:"F j, Y",altInput:!1,altInputClass:"form-control input",animate:typeof window=="object"&&window.navigator.userAgent.indexOf("MSIE")===-1,ariaDateFormat:"F j, Y",autoFillDefaultTime:!0,clickOpens:!0,closeOnSelect:!0,conjunction:", ",dateFormat:"Y-m-d",defaultHour:12,defaultMinute:0,defaultSeconds:0,disable:[],disableMobile:!1,enableSeconds:!1,enableTime:!1,errorHandler:function(e){return typeof console<"u"&&console.warn(e)},getWeek:function(e){var a=new Date(e.getTime());a.setHours(0,0,0,0),a.setDate(a.getDate()+3-(a.getDay()+6)%7);var t=new Date(a.getFullYear(),0,4);return 1+Math.round(((a.getTime()-t.getTime())/864e5-3+(t.getDay()+6)%7)/7)},hourIncrement:1,ignoredFocusElements:[],inline:!1,locale:"default",minuteIncrement:5,mode:"single",monthSelectorType:"dropdown",nextArrow:"<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 17 17'><g></g><path d='M13.207 8.472l-7.854 7.854-0.707-0.707 7.146-7.146-7.146-7.148 0.707-0.707 7.854 7.854z' /></svg>",noCalendar:!1,now:new Date,onChange:[],onClose:[],onDayCreate:[],onDestroy:[],onKeyDown:[],onMonthChange:[],onOpen:[],onParseConfig:[],onReady:[],onValueUpdate:[],onYearChange:[],onPreCalendarPosition:[],plugins:[],position:"auto",positionElement:void 0,prevArrow:"<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 17 17'><g></g><path d='M5.207 8.471l7.146 7.147-0.707 0.707-7.853-7.854 7.854-7.853 0.707 0.707-7.147 7.146z' /></svg>",shorthandCurrentMonth:!1,showMonths:1,static:!1,time_24hr:!1,weekNumbers:!1,wrap:!1},Li={weekdays:{shorthand:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],longhand:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},months:{shorthand:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],longhand:["January","February","March","April","May","June","July","August","September","October","November","December"]},daysInMonth:[31,28,31,30,31,30,31,31,30,31,30,31],firstDayOfWeek:0,ordinal:function(e){var a=e%100;if(a>3&&a<21)return"th";switch(a%10){case 1:return"st";case 2:return"nd";case 3:return"rd";default:return"th"}},rangeSeparator:" to ",weekAbbreviation:"Wk",scrollTitle:"Scroll to increment",toggleTitle:"Click to toggle",amPM:["AM","PM"],yearAriaLabel:"Year",monthAriaLabel:"Month",hourAriaLabel:"Hour",minuteAriaLabel:"Minute",time_24hr:!1},da=function(e,a){return a===void 0&&(a=2),("000"+e).slice(a*-1)},Sa=function(e){return e===!0?1:0};function kd(e,a){var t;return function(){var r=this,n=arguments;clearTimeout(t),t=setTimeout(function(){return e.apply(r,n)},a)}}var es=function(e){return e instanceof Array?e:[e]};function ia(e,a,t){if(t===!0)return e.classList.add(a);e.classList.remove(a)}function Re(e,a,t){var r=window.document.createElement(e);return a=a||"",t=t||"",r.className=a,t!==void 0&&(r.textContent=t),r}function Au(e){for(;e.firstChild;)e.removeChild(e.firstChild)}function Ym(e,a){if(a(e))return e;if(e.parentNode)return Ym(e.parentNode,a)}function _u(e,a){var t=Re("div","numInputWrapper"),r=Re("input","numInput "+e),n=Re("span","arrowUp"),i=Re("span","arrowDown");if(navigator.userAgent.indexOf("MSIE 9.0")===-1?r.type="number":(r.type="text",r.pattern="\\d*"),a!==void 0)for(var u in a)r.setAttribute(u,a[u]);return t.appendChild(r),t.appendChild(n),t.appendChild(i),t}function ha(e){try{if(typeof e.composedPath=="function"){var a=e.composedPath();return a[0]}return e.target}catch{return e.target}}var ts=function(){},Hu=function(e,a,t){return t.months[a?"shorthand":"longhand"][e]},_P={D:ts,F:function(e,a,t){e.setMonth(t.months.longhand.indexOf(a))},G:function(e,a){e.setHours((e.getHours()>=12?12:0)+parseFloat(a))},H:function(e,a){e.setHours(parseFloat(a))},J:function(e,a){e.setDate(parseFloat(a))},K:function(e,a,t){e.setHours(e.getHours()%12+12*Sa(new RegExp(t.amPM[1],"i").test(a)))},M:function(e,a,t){e.setMonth(t.months.shorthand.indexOf(a))},S:function(e,a){e.setSeconds(parseFloat(a))},U:function(e,a){return new Date(parseFloat(a)*1e3)},W:function(e,a,t){var r=parseInt(a),n=new Date(e.getFullYear(),0,2+(r-1)*7,0,0,0,0);return n.setDate(n.getDate()-n.getDay()+t.firstDayOfWeek),n},Y:function(e,a){e.setFullYear(parseFloat(a))},Z:function(e,a){return new Date(a)},d:function(e,a){e.setDate(parseFloat(a))},h:function(e,a){e.setHours((e.getHours()>=12?12:0)+parseFloat(a))},i:function(e,a){e.setMinutes(parseFloat(a))},j:function(e,a){e.setDate(parseFloat(a))},l:ts,m:function(e,a){e.setMonth(parseFloat(a)-1)},n:function(e,a){e.setMonth(parseFloat(a)-1)},s:function(e,a){e.setSeconds(parseFloat(a))},u:function(e,a){return new Date(parseFloat(a))},w:ts,y:function(e,a){e.setFullYear(2e3+parseFloat(a))}},Jr={D:"",F:"",G:"(\\d\\d|\\d)",H:"(\\d\\d|\\d)",J:"(\\d\\d|\\d)\\w+",K:"",M:"",S:"(\\d\\d|\\d)",U:"(.+)",W:"(\\d\\d|\\d)",Y:"(\\d{4})",Z:"(.+)",d:"(\\d\\d|\\d)",h:"(\\d\\d|\\d)",i:"(\\d\\d|\\d)",j:"(\\d\\d|\\d)",l:"",m:"(\\d\\d|\\d)",n:"(\\d\\d|\\d)",s:"(\\d\\d|\\d)",u:"(.+)",w:"(\\d\\d|\\d)",y:"(\\d{2})"},Si={Z:function(e){return e.toISOString()},D:function(e,a,t){return a.weekdays.shorthand[Si.w(e,a,t)]},F:function(e,a,t){return Hu(Si.n(e,a,t)-1,!1,a)},G:function(e,a,t){return da(Si.h(e,a,t))},H:function(e){return da(e.getHours())},J:function(e,a){return a.ordinal!==void 0?e.getDate()+a.ordinal(e.getDate()):e.getDate()},K:function(e,a){return a.amPM[Sa(e.getHours()>11)]},M:function(e,a){return Hu(e.getMonth(),!0,a)},S:function(e){return da(e.getSeconds())},U:function(e){return e.getTime()/1e3},W:function(e,a,t){return t.getWeek(e)},Y:function(e){return da(e.getFullYear(),4)},d:function(e){return da(e.getDate())},h:function(e){return e.getHours()%12?e.getHours()%12:12},i:function(e){return da(e.getMinutes())},j:function(e){return e.getDate()},l:function(e,a){return a.weekdays.longhand[e.getDay()]},m:function(e){return da(e.getMonth()+1)},n:function(e){return e.getMonth()+1},s:function(e){return e.getSeconds()},u:function(e){return e.getTime()},w:function(e){return e.getDay()},y:function(e){return String(e.getFullYear()).substring(2)}},Vm=function(e){var a=e.config,t=a===void 0?kn:a,r=e.l10n,n=r===void 0?Li:r,i=e.isMobile,u=i===void 0?!1:i;return function(l,s,o){var f=o||n;return t.formatDate!==void 0&&!u?t.formatDate(l,s,f):s.split("").map(function(v,d,p){return Si[v]&&p[d-1]!=="\\"?Si[v](l,f,t):v!=="\\"?v:""}).join("")}},xs=function(e){var a=e.config,t=a===void 0?kn:a,r=e.l10n,n=r===void 0?Li:r;return function(i,u,l,s){if(!(i!==0&&!i)){var o=s||n,f,v=i;if(i instanceof Date)f=new Date(i.getTime());else if(typeof i!="string"&&i.toFixed!==void 0)f=new Date(i);else if(typeof i=="string"){var d=u||(t||kn).dateFormat,p=String(i).trim();if(p==="today")f=new Date,l=!0;else if(t&&t.parseDate)f=t.parseDate(i,d);else if(/Z$/.test(p)||/GMT$/.test(p))f=new Date(i);else{for(var m=void 0,h=[],A=0,D=0,b="";A<d.length;A++){var $=d[A],_=$==="\\",C=d[A-1]==="\\"||_;if(Jr[$]&&!C){b+=Jr[$];var O=new RegExp(b).exec(i);O&&(m=!0)&&h[$!=="Y"?"push":"unshift"]({fn:_P[$],val:O[++D]})}else _||(b+=".")}f=!t||!t.noCalendar?new Date(new Date().getFullYear(),0,1,0,0,0,0):new Date(new Date().setHours(0,0,0,0)),h.forEach(function(T){var S=T.fn,x=T.val;return f=S(f,x,o)||f}),f=m?f:void 0}}if(!(f instanceof Date&&!isNaN(f.getTime()))){t.errorHandler(new Error("Invalid date provided: "+v));return}return l===!0&&f.setHours(0,0,0,0),f}}};function ga(e,a,t){return t===void 0&&(t=!0),t!==!1?new Date(e.getTime()).setHours(0,0,0,0)-new Date(a.getTime()).setHours(0,0,0,0):e.getTime()-a.getTime()}var DP=function(e,a,t){return e>Math.min(a,t)&&e<Math.max(a,t)},as=function(e,a,t){return e*3600+a*60+t},$P=function(e){var a=Math.floor(e/3600),t=(e-a*3600)/60;return[a,t,e-a*3600-t*60]},wP={DAY:864e5};function rs(e){var a=e.defaultHour,t=e.defaultMinute,r=e.defaultSeconds;if(e.minDate!==void 0){var n=e.minDate.getHours(),i=e.minDate.getMinutes(),u=e.minDate.getSeconds();a<n&&(a=n),a===n&&t<i&&(t=i),a===n&&t===i&&r<u&&(r=e.minDate.getSeconds())}if(e.maxDate!==void 0){var l=e.maxDate.getHours(),s=e.maxDate.getMinutes();a=Math.min(a,l),a===l&&(t=Math.min(s,t)),a===l&&t===s&&(r=e.maxDate.getSeconds())}return{hours:a,minutes:t,seconds:r}}typeof Object.assign!="function"&&(Object.assign=function(e){for(var a=[],t=1;t<arguments.length;t++)a[t-1]=arguments[t];if(!e)throw TypeError("Cannot convert undefined or null to object");for(var r=function(l){l&&Object.keys(l).forEach(function(s){return e[s]=l[s]})},n=0,i=a;n<i.length;n++){var u=i[n];r(u)}return e});var ea=function(){return ea=Object.assign||function(e){for(var a,t=1,r=arguments.length;t<r;t++){a=arguments[t];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},ea.apply(this,arguments)},Bd=function(){for(var e=0,a=0,t=arguments.length;a<t;a++)e+=arguments[a].length;for(var r=Array(e),n=0,a=0;a<t;a++)for(var i=arguments[a],u=0,l=i.length;u<l;u++,n++)r[n]=i[u];return r},CP=300;function SP(e,a){var t={config:ea(ea({},kn),Rt.defaultConfig),l10n:Li};t.parseDate=xs({config:t.config,l10n:t.l10n}),t._handlers=[],t.pluginElements=[],t.loadedPlugins=[],t._bind=h,t._setHoursFromDate=d,t._positionCalendar=Se,t.changeMonth=H,t.changeYear=se,t.clear=ve,t.close=Me,t.onMouseOver=wt,t._createElement=Re,t.createDay=O,t.destroy=$t,t.isEnabled=ie,t.jumpToDate=b,t.updateValue=Xt,t.open=na,t.redraw=ge,t.set=vn,t.setDate=ir,t.toggle=vt;function r(){t.utils={getDaysInMonth:function(g,y){return g===void 0&&(g=t.currentMonth),y===void 0&&(y=t.currentYear),g===1&&(y%4===0&&y%100!==0||y%400===0)?29:t.l10n.daysInMonth[g]}}}function n(){t.element=t.input=e,t.isOpen=!1,le(),pe(),ni(),ri(),r(),t.isMobile||C(),D(),(t.selectedDates.length||t.config.noCalendar)&&(t.config.enableTime&&d(t.config.noCalendar?t.latestSelectedDateObj:void 0),Xt(!1)),l();var g=/^((?!chrome|android).)*safari/i.test(navigator.userAgent);!t.isMobile&&g&&Se(),Le("onReady")}function i(){var g;return((g=t.calendarContainer)===null||g===void 0?void 0:g.getRootNode()).activeElement||document.activeElement}function u(g){return g.bind(t)}function l(){var g=t.config;g.weekNumbers===!1&&g.showMonths===1||g.noCalendar!==!0&&window.requestAnimationFrame(function(){if(t.calendarContainer!==void 0&&(t.calendarContainer.style.visibility="hidden",t.calendarContainer.style.display="block"),t.daysContainer!==void 0){var y=(t.days.offsetWidth+1)*g.showMonths;t.daysContainer.style.width=y+"px",t.calendarContainer.style.width=y+(t.weekWrapper!==void 0?t.weekWrapper.offsetWidth:0)+"px",t.calendarContainer.style.removeProperty("visibility"),t.calendarContainer.style.removeProperty("display")}})}function s(g){if(t.selectedDates.length===0){var y=t.config.minDate===void 0||ga(new Date,t.config.minDate)>=0?new Date:new Date(t.config.minDate.getTime()),w=rs(t.config);y.setHours(w.hours,w.minutes,w.seconds,y.getMilliseconds()),t.selectedDates=[y],t.latestSelectedDateObj=y}g!==void 0&&g.type!=="blur"&&ma(g);var E=t._input.value;v(),Xt(),t._input.value!==E&&t._debouncedChange()}function o(g,y){return g%12+12*Sa(y===t.l10n.amPM[1])}function f(g){switch(g%24){case 0:case 12:return 12;default:return g%12}}function v(){if(!(t.hourElement===void 0||t.minuteElement===void 0)){var g=(parseInt(t.hourElement.value.slice(-2),10)||0)%24,y=(parseInt(t.minuteElement.value,10)||0)%60,w=t.secondElement!==void 0?(parseInt(t.secondElement.value,10)||0)%60:0;t.amPM!==void 0&&(g=o(g,t.amPM.textContent));var E=t.config.minTime!==void 0||t.config.minDate&&t.minDateHasTime&&t.latestSelectedDateObj&&ga(t.latestSelectedDateObj,t.config.minDate,!0)===0,V=t.config.maxTime!==void 0||t.config.maxDate&&t.maxDateHasTime&&t.latestSelectedDateObj&&ga(t.latestSelectedDateObj,t.config.maxDate,!0)===0;if(t.config.maxTime!==void 0&&t.config.minTime!==void 0&&t.config.minTime>t.config.maxTime){var Z=as(t.config.minTime.getHours(),t.config.minTime.getMinutes(),t.config.minTime.getSeconds()),fe=as(t.config.maxTime.getHours(),t.config.maxTime.getMinutes(),t.config.maxTime.getSeconds()),U=as(g,y,w);if(U>fe&&U<Z){var Oe=$P(Z);g=Oe[0],y=Oe[1],w=Oe[2]}}else{if(V){var re=t.config.maxTime!==void 0?t.config.maxTime:t.config.maxDate;g=Math.min(g,re.getHours()),g===re.getHours()&&(y=Math.min(y,re.getMinutes())),y===re.getMinutes()&&(w=Math.min(w,re.getSeconds()))}if(E){var ye=t.config.minTime!==void 0?t.config.minTime:t.config.minDate;g=Math.max(g,ye.getHours()),g===ye.getHours()&&y<ye.getMinutes()&&(y=ye.getMinutes()),y===ye.getMinutes()&&(w=Math.max(w,ye.getSeconds()))}}p(g,y,w)}}function d(g){var y=g||t.latestSelectedDateObj;y&&y instanceof Date&&p(y.getHours(),y.getMinutes(),y.getSeconds())}function p(g,y,w){t.latestSelectedDateObj!==void 0&&t.latestSelectedDateObj.setHours(g%24,y,w||0,0),!(!t.hourElement||!t.minuteElement||t.isMobile)&&(t.hourElement.value=da(t.config.time_24hr?g:(12+g)%12+12*Sa(g%12===0)),t.minuteElement.value=da(y),t.amPM!==void 0&&(t.amPM.textContent=t.l10n.amPM[Sa(g>=12)]),t.secondElement!==void 0&&(t.secondElement.value=da(w)))}function m(g){var y=ha(g),w=parseInt(y.value)+(g.delta||0);(w/1e3>1||g.key==="Enter"&&!/[^\d]/.test(w.toString()))&&se(w)}function h(g,y,w,E){if(y instanceof Array)return y.forEach(function(V){return h(g,V,w,E)});if(g instanceof Array)return g.forEach(function(V){return h(V,y,w,E)});g.addEventListener(y,w,E),t._handlers.push({remove:function(){return g.removeEventListener(y,w,E)}})}function A(){Le("onChange")}function D(){if(t.config.wrap&&["open","close","toggle","clear"].forEach(function(w){Array.prototype.forEach.call(t.element.querySelectorAll("[data-"+w+"]"),function(E){return h(E,"click",t[w])})}),t.isMobile){ii();return}var g=kd(jt,50);if(t._debouncedChange=kd(A,CP),t.daysContainer&&!/iPhone|iPad|iPod/i.test(navigator.userAgent)&&h(t.daysContainer,"mouseover",function(w){t.config.mode==="range"&&wt(ha(w))}),h(t._input,"keydown",dt),t.calendarContainer!==void 0&&h(t.calendarContainer,"keydown",dt),!t.config.inline&&!t.config.static&&h(window,"resize",g),window.ontouchstart!==void 0?h(window.document,"touchstart",Ve):h(window.document,"mousedown",Ve),h(window.document,"focus",Ve,{capture:!0}),t.config.clickOpens===!0&&(h(t._input,"focus",t.open),h(t._input,"click",t.open)),t.daysContainer!==void 0&&(h(t.monthNav,"click",hn),h(t.monthNav,["keyup","increment"],m),h(t.daysContainer,"click",dn)),t.timeContainer!==void 0&&t.minuteElement!==void 0&&t.hourElement!==void 0){var y=function(w){return ha(w).select()};h(t.timeContainer,["increment"],s),h(t.timeContainer,"blur",s,{capture:!0}),h(t.timeContainer,"click",$),h([t.hourElement,t.minuteElement],["focus","click"],y),t.secondElement!==void 0&&h(t.secondElement,"focus",function(){return t.secondElement&&t.secondElement.select()}),t.amPM!==void 0&&h(t.amPM,"click",function(w){s(w)})}t.config.allowInput&&h(t._input,"blur",Be)}function b(g,y){var w=g!==void 0?t.parseDate(g):t.latestSelectedDateObj||(t.config.minDate&&t.config.minDate>t.now?t.config.minDate:t.config.maxDate&&t.config.maxDate<t.now?t.config.maxDate:t.now),E=t.currentYear,V=t.currentMonth;try{w!==void 0&&(t.currentYear=w.getFullYear(),t.currentMonth=w.getMonth())}catch(Z){Z.message="Invalid date supplied: "+w,t.config.errorHandler(Z)}y&&t.currentYear!==E&&(Le("onYearChange"),Q()),y&&(t.currentYear!==E||t.currentMonth!==V)&&Le("onMonthChange"),t.redraw()}function $(g){var y=ha(g);~y.className.indexOf("arrow")&&_(g,y.classList.contains("arrowUp")?1:-1)}function _(g,y,w){var E=g&&ha(g),V=w||E&&E.parentNode&&E.parentNode.firstChild,Z=ca("increment");Z.delta=y,V&&V.dispatchEvent(Z)}function C(){var g=window.document.createDocumentFragment();if(t.calendarContainer=Re("div","flatpickr-calendar"),t.calendarContainer.tabIndex=-1,!t.config.noCalendar){if(g.appendChild(q()),t.innerContainer=Re("div","flatpickr-innerContainer"),t.config.weekNumbers){var y=J(),w=y.weekWrapper,E=y.weekNumbers;t.innerContainer.appendChild(w),t.weekNumbers=E,t.weekWrapper=w}t.rContainer=Re("div","flatpickr-rContainer"),t.rContainer.appendChild(N()),t.daysContainer||(t.daysContainer=Re("div","flatpickr-days"),t.daysContainer.tabIndex=-1),X(),t.rContainer.appendChild(t.daysContainer),t.innerContainer.appendChild(t.rContainer),g.appendChild(t.innerContainer)}t.config.enableTime&&g.appendChild(B()),ia(t.calendarContainer,"rangeMode",t.config.mode==="range"),ia(t.calendarContainer,"animate",t.config.animate===!0),ia(t.calendarContainer,"multiMonth",t.config.showMonths>1),t.calendarContainer.appendChild(g);var V=t.config.appendTo!==void 0&&t.config.appendTo.nodeType!==void 0;if((t.config.inline||t.config.static)&&(t.calendarContainer.classList.add(t.config.inline?"inline":"static"),t.config.inline&&(!V&&t.element.parentNode?t.element.parentNode.insertBefore(t.calendarContainer,t._input.nextSibling):t.config.appendTo!==void 0&&t.config.appendTo.appendChild(t.calendarContainer)),t.config.static)){var Z=Re("div","flatpickr-wrapper");t.element.parentNode&&t.element.parentNode.insertBefore(Z,t.element),Z.appendChild(t.element),t.altInput&&Z.appendChild(t.altInput),Z.appendChild(t.calendarContainer)}!t.config.static&&!t.config.inline&&(t.config.appendTo!==void 0?t.config.appendTo:window.document.body).appendChild(t.calendarContainer)}function O(g,y,w,E){var V=ie(y,!0),Z=Re("span",g,y.getDate().toString());return Z.dateObj=y,Z.$i=E,Z.setAttribute("aria-label",t.formatDate(y,t.config.ariaDateFormat)),g.indexOf("hidden")===-1&&ga(y,t.now)===0&&(t.todayDateElem=Z,Z.classList.add("today"),Z.setAttribute("aria-current","date")),V?(Z.tabIndex=-1,ur(y)&&(Z.classList.add("selected"),t.selectedDateElem=Z,t.config.mode==="range"&&(ia(Z,"startRange",t.selectedDates[0]&&ga(y,t.selectedDates[0],!0)===0),ia(Z,"endRange",t.selectedDates[1]&&ga(y,t.selectedDates[1],!0)===0),g==="nextMonthDay"&&Z.classList.add("inRange")))):Z.classList.add("flatpickr-disabled"),t.config.mode==="range"&&Ir(y)&&!ur(y)&&Z.classList.add("inRange"),t.weekNumbers&&t.config.showMonths===1&&g!=="prevMonthDay"&&E%7===6&&t.weekNumbers.insertAdjacentHTML("beforeend","<span class='flatpickr-day'>"+t.config.getWeek(y)+"</span>"),Le("onDayCreate",Z),Z}function T(g){g.focus(),t.config.mode==="range"&&wt(g)}function S(g){for(var y=g>0?0:t.config.showMonths-1,w=g>0?t.config.showMonths:-1,E=y;E!=w;E+=g)for(var V=t.daysContainer.children[E],Z=g>0?0:V.children.length-1,fe=g>0?V.children.length:-1,U=Z;U!=fe;U+=g){var Oe=V.children[U];if(Oe.className.indexOf("hidden")===-1&&ie(Oe.dateObj))return Oe}}function x(g,y){for(var w=g.className.indexOf("Month")===-1?g.dateObj.getMonth():t.currentMonth,E=y>0?t.config.showMonths:-1,V=y>0?1:-1,Z=w-t.currentMonth;Z!=E;Z+=V)for(var fe=t.daysContainer.children[Z],U=w-t.currentMonth===Z?g.$i+y:y<0?fe.children.length-1:0,Oe=fe.children.length,re=U;re>=0&&re<Oe&&re!=(y>0?Oe:-1);re+=V){var ye=fe.children[re];if(ye.className.indexOf("hidden")===-1&&ie(ye.dateObj)&&Math.abs(g.$i-re)>=Math.abs(y))return T(ye)}t.changeMonth(V),L(S(V),0)}function L(g,y){var w=i(),E=we(w||document.body),V=g!==void 0?g:E?w:t.selectedDateElem!==void 0&&we(t.selectedDateElem)?t.selectedDateElem:t.todayDateElem!==void 0&&we(t.todayDateElem)?t.todayDateElem:S(y>0?1:-1);V===void 0?t._input.focus():E?x(V,y):T(V)}function z(g,y){for(var w=(new Date(g,y,1).getDay()-t.l10n.firstDayOfWeek+7)%7,E=t.utils.getDaysInMonth((y-1+12)%12,g),V=t.utils.getDaysInMonth(y,g),Z=window.document.createDocumentFragment(),fe=t.config.showMonths>1,U=fe?"prevMonthDay hidden":"prevMonthDay",Oe=fe?"nextMonthDay hidden":"nextMonthDay",re=E+1-w,ye=0;re<=E;re++,ye++)Z.appendChild(O("flatpickr-day "+U,new Date(g,y-1,re),re,ye));for(re=1;re<=V;re++,ye++)Z.appendChild(O("flatpickr-day",new Date(g,y,re),re,ye));for(var ee=V+1;ee<=42-w&&(t.config.showMonths===1||ye%7!==0);ee++,ye++)Z.appendChild(O("flatpickr-day "+Oe,new Date(g,y+1,ee%V),ee,ye));var $a=Re("div","dayContainer");return $a.appendChild(Z),$a}function X(){if(t.daysContainer!==void 0){Au(t.daysContainer),t.weekNumbers&&Au(t.weekNumbers);for(var g=document.createDocumentFragment(),y=0;y<t.config.showMonths;y++){var w=new Date(t.currentYear,t.currentMonth,1);w.setMonth(t.currentMonth+y),g.appendChild(z(w.getFullYear(),w.getMonth()))}t.daysContainer.appendChild(g),t.days=t.daysContainer.firstChild,t.config.mode==="range"&&t.selectedDates.length===1&&wt()}}function Q(){if(!(t.config.showMonths>1||t.config.monthSelectorType!=="dropdown")){var g=function(E){return t.config.minDate!==void 0&&t.currentYear===t.config.minDate.getFullYear()&&E<t.config.minDate.getMonth()?!1:!(t.config.maxDate!==void 0&&t.currentYear===t.config.maxDate.getFullYear()&&E>t.config.maxDate.getMonth())};t.monthsDropdownContainer.tabIndex=-1,t.monthsDropdownContainer.innerHTML="";for(var y=0;y<12;y++)if(g(y)){var w=Re("option","flatpickr-monthDropdown-month");w.value=new Date(t.currentYear,y).getMonth().toString(),w.textContent=Hu(y,t.config.shorthandCurrentMonth,t.l10n),w.tabIndex=-1,t.currentMonth===y&&(w.selected=!0),t.monthsDropdownContainer.appendChild(w)}}}function P(){var g=Re("div","flatpickr-month"),y=window.document.createDocumentFragment(),w;t.config.showMonths>1||t.config.monthSelectorType==="static"?w=Re("span","cur-month"):(t.monthsDropdownContainer=Re("select","flatpickr-monthDropdown-months"),t.monthsDropdownContainer.setAttribute("aria-label",t.l10n.monthAriaLabel),h(t.monthsDropdownContainer,"change",function(fe){var U=ha(fe),Oe=parseInt(U.value,10);t.changeMonth(Oe-t.currentMonth),Le("onMonthChange")}),Q(),w=t.monthsDropdownContainer);var E=_u("cur-year",{tabindex:"-1"}),V=E.getElementsByTagName("input")[0];V.setAttribute("aria-label",t.l10n.yearAriaLabel),t.config.minDate&&V.setAttribute("min",t.config.minDate.getFullYear().toString()),t.config.maxDate&&(V.setAttribute("max",t.config.maxDate.getFullYear().toString()),V.disabled=!!t.config.minDate&&t.config.minDate.getFullYear()===t.config.maxDate.getFullYear());var Z=Re("div","flatpickr-current-month");return Z.appendChild(w),Z.appendChild(E),y.appendChild(Z),g.appendChild(y),{container:g,yearElement:V,monthElement:w}}function M(){Au(t.monthNav),t.monthNav.appendChild(t.prevMonthNav),t.config.showMonths&&(t.yearElements=[],t.monthElements=[]);for(var g=t.config.showMonths;g--;){var y=P();t.yearElements.push(y.yearElement),t.monthElements.push(y.monthElement),t.monthNav.appendChild(y.container)}t.monthNav.appendChild(t.nextMonthNav)}function q(){return t.monthNav=Re("div","flatpickr-months"),t.yearElements=[],t.monthElements=[],t.prevMonthNav=Re("span","flatpickr-prev-month"),t.prevMonthNav.innerHTML=t.config.prevArrow,t.nextMonthNav=Re("span","flatpickr-next-month"),t.nextMonthNav.innerHTML=t.config.nextArrow,M(),Object.defineProperty(t,"_hidePrevMonthArrow",{get:function(){return t.__hidePrevMonthArrow},set:function(g){t.__hidePrevMonthArrow!==g&&(ia(t.prevMonthNav,"flatpickr-disabled",g),t.__hidePrevMonthArrow=g)}}),Object.defineProperty(t,"_hideNextMonthArrow",{get:function(){return t.__hideNextMonthArrow},set:function(g){t.__hideNextMonthArrow!==g&&(ia(t.nextMonthNav,"flatpickr-disabled",g),t.__hideNextMonthArrow=g)}}),t.currentYearElement=t.yearElements[0],pa(),t.monthNav}function B(){t.calendarContainer.classList.add("hasTime"),t.config.noCalendar&&t.calendarContainer.classList.add("noCalendar");var g=rs(t.config);t.timeContainer=Re("div","flatpickr-time"),t.timeContainer.tabIndex=-1;var y=Re("span","flatpickr-time-separator",":"),w=_u("flatpickr-hour",{"aria-label":t.l10n.hourAriaLabel});t.hourElement=w.getElementsByTagName("input")[0];var E=_u("flatpickr-minute",{"aria-label":t.l10n.minuteAriaLabel});if(t.minuteElement=E.getElementsByTagName("input")[0],t.hourElement.tabIndex=t.minuteElement.tabIndex=-1,t.hourElement.value=da(t.latestSelectedDateObj?t.latestSelectedDateObj.getHours():t.config.time_24hr?g.hours:f(g.hours)),t.minuteElement.value=da(t.latestSelectedDateObj?t.latestSelectedDateObj.getMinutes():g.minutes),t.hourElement.setAttribute("step",t.config.hourIncrement.toString()),t.minuteElement.setAttribute("step",t.config.minuteIncrement.toString()),t.hourElement.setAttribute("min",t.config.time_24hr?"0":"1"),t.hourElement.setAttribute("max",t.config.time_24hr?"23":"12"),t.hourElement.setAttribute("maxlength","2"),t.minuteElement.setAttribute("min","0"),t.minuteElement.setAttribute("max","59"),t.minuteElement.setAttribute("maxlength","2"),t.timeContainer.appendChild(w),t.timeContainer.appendChild(y),t.timeContainer.appendChild(E),t.config.time_24hr&&t.timeContainer.classList.add("time24hr"),t.config.enableSeconds){t.timeContainer.classList.add("hasSeconds");var V=_u("flatpickr-second");t.secondElement=V.getElementsByTagName("input")[0],t.secondElement.value=da(t.latestSelectedDateObj?t.latestSelectedDateObj.getSeconds():g.seconds),t.secondElement.setAttribute("step",t.minuteElement.getAttribute("step")),t.secondElement.setAttribute("min","0"),t.secondElement.setAttribute("max","59"),t.secondElement.setAttribute("maxlength","2"),t.timeContainer.appendChild(Re("span","flatpickr-time-separator",":")),t.timeContainer.appendChild(V)}return t.config.time_24hr||(t.amPM=Re("span","flatpickr-am-pm",t.l10n.amPM[Sa((t.latestSelectedDateObj?t.hourElement.value:t.config.defaultHour)>11)]),t.amPM.title=t.l10n.toggleTitle,t.amPM.tabIndex=-1,t.timeContainer.appendChild(t.amPM)),t.timeContainer}function N(){t.weekdayContainer?Au(t.weekdayContainer):t.weekdayContainer=Re("div","flatpickr-weekdays");for(var g=t.config.showMonths;g--;){var y=Re("div","flatpickr-weekdaycontainer");t.weekdayContainer.appendChild(y)}return ne(),t.weekdayContainer}function ne(){if(t.weekdayContainer){var g=t.l10n.firstDayOfWeek,y=Bd(t.l10n.weekdays.shorthand);g>0&&g<y.length&&(y=Bd(y.splice(g,y.length),y.splice(0,g)));for(var w=t.config.showMonths;w--;)t.weekdayContainer.children[w].innerHTML=`
      <span class='flatpickr-weekday'>
        `+y.join("</span><span class='flatpickr-weekday'>")+`
      </span>
      `}}function J(){t.calendarContainer.classList.add("hasWeeks");var g=Re("div","flatpickr-weekwrapper");g.appendChild(Re("span","flatpickr-weekday",t.l10n.weekAbbreviation));var y=Re("div","flatpickr-weeks");return g.appendChild(y),{weekWrapper:g,weekNumbers:y}}function H(g,y){y===void 0&&(y=!0);var w=y?g:g-t.currentMonth;w<0&&t._hidePrevMonthArrow===!0||w>0&&t._hideNextMonthArrow===!0||(t.currentMonth+=w,(t.currentMonth<0||t.currentMonth>11)&&(t.currentYear+=t.currentMonth>11?1:-1,t.currentMonth=(t.currentMonth+12)%12,Le("onYearChange"),Q()),X(),Le("onMonthChange"),pa())}function ve(g,y){if(g===void 0&&(g=!0),y===void 0&&(y=!0),t.input.value="",t.altInput!==void 0&&(t.altInput.value=""),t.mobileInput!==void 0&&(t.mobileInput.value=""),t.selectedDates=[],t.latestSelectedDateObj=void 0,y===!0&&(t.currentYear=t._initialDate.getFullYear(),t.currentMonth=t._initialDate.getMonth()),t.config.enableTime===!0){var w=rs(t.config),E=w.hours,V=w.minutes,Z=w.seconds;p(E,V,Z)}t.redraw(),g&&Le("onChange")}function Me(){t.isOpen=!1,t.isMobile||(t.calendarContainer!==void 0&&t.calendarContainer.classList.remove("open"),t._input!==void 0&&t._input.classList.remove("active")),Le("onClose")}function $t(){t.config!==void 0&&Le("onDestroy");for(var g=t._handlers.length;g--;)t._handlers[g].remove();if(t._handlers=[],t.mobileInput)t.mobileInput.parentNode&&t.mobileInput.parentNode.removeChild(t.mobileInput),t.mobileInput=void 0;else if(t.calendarContainer&&t.calendarContainer.parentNode)if(t.config.static&&t.calendarContainer.parentNode){var y=t.calendarContainer.parentNode;if(y.lastChild&&y.removeChild(y.lastChild),y.parentNode){for(;y.firstChild;)y.parentNode.insertBefore(y.firstChild,y);y.parentNode.removeChild(y)}}else t.calendarContainer.parentNode.removeChild(t.calendarContainer);t.altInput&&(t.input.type="text",t.altInput.parentNode&&t.altInput.parentNode.removeChild(t.altInput),delete t.altInput),t.input&&(t.input.type=t.input._type,t.input.classList.remove("flatpickr-input"),t.input.removeAttribute("readonly")),["_showTimeInput","latestSelectedDateObj","_hideNextMonthArrow","_hidePrevMonthArrow","__hideNextMonthArrow","__hidePrevMonthArrow","isMobile","isOpen","selectedDateElem","minDateHasTime","maxDateHasTime","days","daysContainer","_input","_positionElement","innerContainer","rContainer","monthNav","todayDateElem","calendarContainer","weekdayContainer","prevMonthNav","nextMonthNav","monthsDropdownContainer","currentMonthElement","currentYearElement","navigationCurrentMonth","selectedDateElem","config"].forEach(function(w){try{delete t[w]}catch{}})}function Ce(g){return t.calendarContainer.contains(g)}function Ve(g){if(t.isOpen&&!t.config.inline){var y=ha(g),w=Ce(y),E=y===t.input||y===t.altInput||t.element.contains(y)||g.path&&g.path.indexOf&&(~g.path.indexOf(t.input)||~g.path.indexOf(t.altInput)),V=!E&&!w&&!Ce(g.relatedTarget),Z=!t.config.ignoredFocusElements.some(function(fe){return fe.contains(y)});V&&Z&&(t.config.allowInput&&t.setDate(t._input.value,!1,t.config.altInput?t.config.altFormat:t.config.dateFormat),t.timeContainer!==void 0&&t.minuteElement!==void 0&&t.hourElement!==void 0&&t.input.value!==""&&t.input.value!==void 0&&s(),t.close(),t.config&&t.config.mode==="range"&&t.selectedDates.length===1&&t.clear(!1))}}function se(g){if(!(!g||t.config.minDate&&g<t.config.minDate.getFullYear()||t.config.maxDate&&g>t.config.maxDate.getFullYear())){var y=g,w=t.currentYear!==y;t.currentYear=y||t.currentYear,t.config.maxDate&&t.currentYear===t.config.maxDate.getFullYear()?t.currentMonth=Math.min(t.config.maxDate.getMonth(),t.currentMonth):t.config.minDate&&t.currentYear===t.config.minDate.getFullYear()&&(t.currentMonth=Math.max(t.config.minDate.getMonth(),t.currentMonth)),w&&(t.redraw(),Le("onYearChange"),Q())}}function ie(g,y){var w;y===void 0&&(y=!0);var E=t.parseDate(g,void 0,y);if(t.config.minDate&&E&&ga(E,t.config.minDate,y!==void 0?y:!t.minDateHasTime)<0||t.config.maxDate&&E&&ga(E,t.config.maxDate,y!==void 0?y:!t.maxDateHasTime)>0)return!1;if(!t.config.enable&&t.config.disable.length===0)return!0;if(E===void 0)return!1;for(var V=!!t.config.enable,Z=(w=t.config.enable)!==null&&w!==void 0?w:t.config.disable,fe=0,U=void 0;fe<Z.length;fe++){if(U=Z[fe],typeof U=="function"&&U(E))return V;if(U instanceof Date&&E!==void 0&&U.getTime()===E.getTime())return V;if(typeof U=="string"){var Oe=t.parseDate(U,void 0,!0);return Oe&&Oe.getTime()===E.getTime()?V:!V}else if(typeof U=="object"&&E!==void 0&&U.from&&U.to&&E.getTime()>=U.from.getTime()&&E.getTime()<=U.to.getTime())return V}return!V}function we(g){return t.daysContainer!==void 0?g.className.indexOf("hidden")===-1&&g.className.indexOf("flatpickr-disabled")===-1&&t.daysContainer.contains(g):!1}function Be(g){var y=g.target===t._input,w=t._input.value.trimEnd()!==Va();y&&w&&!(g.relatedTarget&&Ce(g.relatedTarget))&&t.setDate(t._input.value,!0,g.target===t.altInput?t.config.altFormat:t.config.dateFormat)}function dt(g){var y=ha(g),w=t.config.wrap?e.contains(y):y===t._input,E=t.config.allowInput,V=t.isOpen&&(!E||!w),Z=t.config.inline&&w&&!E;if(g.keyCode===13&&w){if(E)return t.setDate(t._input.value,!0,y===t.altInput?t.config.altFormat:t.config.dateFormat),t.close(),y.blur();t.open()}else if(Ce(y)||V||Z){var fe=!!t.timeContainer&&t.timeContainer.contains(y);switch(g.keyCode){case 13:fe?(g.preventDefault(),s(),nr()):dn(g);break;case 27:g.preventDefault(),nr();break;case 8:case 46:w&&!t.config.allowInput&&(g.preventDefault(),t.clear());break;case 37:case 39:if(!fe&&!w){g.preventDefault();var U=i();if(t.daysContainer!==void 0&&(E===!1||U&&we(U))){var Oe=g.keyCode===39?1:-1;g.ctrlKey?(g.stopPropagation(),H(Oe),L(S(1),0)):L(void 0,Oe)}}else t.hourElement&&t.hourElement.focus();break;case 38:case 40:g.preventDefault();var re=g.keyCode===40?1:-1;t.daysContainer&&y.$i!==void 0||y===t.input||y===t.altInput?g.ctrlKey?(g.stopPropagation(),se(t.currentYear-re),L(S(1),0)):fe||L(void 0,re*7):y===t.currentYearElement?se(t.currentYear-re):t.config.enableTime&&(!fe&&t.hourElement&&t.hourElement.focus(),s(g),t._debouncedChange());break;case 9:if(fe){var ye=[t.hourElement,t.minuteElement,t.secondElement,t.amPM].concat(t.pluginElements).filter(function(Nt){return Nt}),ee=ye.indexOf(y);if(ee!==-1){var $a=ye[ee+(g.shiftKey?-1:1)];g.preventDefault(),($a||t._input).focus()}}else!t.config.noCalendar&&t.daysContainer&&t.daysContainer.contains(y)&&g.shiftKey&&(g.preventDefault(),t._input.focus());break}}if(t.amPM!==void 0&&y===t.amPM)switch(g.key){case t.l10n.amPM[0].charAt(0):case t.l10n.amPM[0].charAt(0).toLowerCase():t.amPM.textContent=t.l10n.amPM[0],v(),Xt();break;case t.l10n.amPM[1].charAt(0):case t.l10n.amPM[1].charAt(0).toLowerCase():t.amPM.textContent=t.l10n.amPM[1],v(),Xt();break}(w||Ce(y))&&Le("onKeyDown",g)}function wt(g,y){if(y===void 0&&(y="flatpickr-day"),!(t.selectedDates.length!==1||g&&(!g.classList.contains(y)||g.classList.contains("flatpickr-disabled")))){for(var w=g?g.dateObj.getTime():t.days.firstElementChild.dateObj.getTime(),E=t.parseDate(t.selectedDates[0],void 0,!0).getTime(),V=Math.min(w,t.selectedDates[0].getTime()),Z=Math.max(w,t.selectedDates[0].getTime()),fe=!1,U=0,Oe=0,re=V;re<Z;re+=wP.DAY)ie(new Date(re),!0)||(fe=fe||re>V&&re<Z,re<E&&(!U||re>U)?U=re:re>E&&(!Oe||re<Oe)&&(Oe=re));var ye=Array.from(t.rContainer.querySelectorAll("*:nth-child(-n+"+t.config.showMonths+") > ."+y));ye.forEach(function(ee){var $a=ee.dateObj,Nt=$a.getTime(),Ua=U>0&&Nt<U||Oe>0&&Nt>Oe;if(Ua){ee.classList.add("notAllowed"),["inRange","startRange","endRange"].forEach(function(Ma){ee.classList.remove(Ma)});return}else if(fe&&!Ua)return;["startRange","inRange","endRange","notAllowed"].forEach(function(Ma){ee.classList.remove(Ma)}),g!==void 0&&(g.classList.add(w<=t.selectedDates[0].getTime()?"startRange":"endRange"),E<w&&Nt===E?ee.classList.add("startRange"):E>w&&Nt===E&&ee.classList.add("endRange"),Nt>=U&&(Oe===0||Nt<=Oe)&&DP(Nt,E,w)&&ee.classList.add("inRange"))})}}function jt(){t.isOpen&&!t.config.static&&!t.config.inline&&Se()}function na(g,y){if(y===void 0&&(y=t._positionElement),t.isMobile===!0){if(g){g.preventDefault();var w=ha(g);w&&w.blur()}t.mobileInput!==void 0&&(t.mobileInput.focus(),t.mobileInput.click()),Le("onOpen");return}else if(t._input.disabled||t.config.inline)return;var E=t.isOpen;t.isOpen=!0,E||(t.calendarContainer.classList.add("open"),t._input.classList.add("active"),Le("onOpen"),Se(y)),t.config.enableTime===!0&&t.config.noCalendar===!0&&t.config.allowInput===!1&&(g===void 0||!t.timeContainer.contains(g.relatedTarget))&&setTimeout(function(){return t.hourElement.select()},50)}function Zt(g){return function(y){var w=t.config["_"+g+"Date"]=t.parseDate(y,t.config.dateFormat),E=t.config["_"+(g==="min"?"max":"min")+"Date"];w!==void 0&&(t[g==="min"?"minDateHasTime":"maxDateHasTime"]=w.getHours()>0||w.getMinutes()>0||w.getSeconds()>0),t.selectedDates&&(t.selectedDates=t.selectedDates.filter(function(V){return ie(V)}),!t.selectedDates.length&&g==="min"&&d(w),Xt()),t.daysContainer&&(ge(),w!==void 0?t.currentYearElement[g]=w.getFullYear().toString():t.currentYearElement.removeAttribute(g),t.currentYearElement.disabled=!!E&&w!==void 0&&E.getFullYear()===w.getFullYear())}}function le(){var g=["wrap","weekNumbers","allowInput","allowInvalidPreload","clickOpens","time_24hr","enableTime","noCalendar","altInput","shorthandCurrentMonth","inline","static","enableSeconds","disableMobile"],y=ea(ea({},JSON.parse(JSON.stringify(e.dataset||{}))),a),w={};t.config.parseDate=y.parseDate,t.config.formatDate=y.formatDate,Object.defineProperty(t.config,"enable",{get:function(){return t.config._enable},set:function(ye){t.config._enable=pn(ye)}}),Object.defineProperty(t.config,"disable",{get:function(){return t.config._disable},set:function(ye){t.config._disable=pn(ye)}});var E=y.mode==="time";if(!y.dateFormat&&(y.enableTime||E)){var V=Rt.defaultConfig.dateFormat||kn.dateFormat;w.dateFormat=y.noCalendar||E?"H:i"+(y.enableSeconds?":S":""):V+" H:i"+(y.enableSeconds?":S":"")}if(y.altInput&&(y.enableTime||E)&&!y.altFormat){var Z=Rt.defaultConfig.altFormat||kn.altFormat;w.altFormat=y.noCalendar||E?"h:i"+(y.enableSeconds?":S K":" K"):Z+(" h:i"+(y.enableSeconds?":S":"")+" K")}Object.defineProperty(t.config,"minDate",{get:function(){return t.config._minDate},set:Zt("min")}),Object.defineProperty(t.config,"maxDate",{get:function(){return t.config._maxDate},set:Zt("max")});var fe=function(ye){return function(ee){t.config[ye==="min"?"_minTime":"_maxTime"]=t.parseDate(ee,"H:i:S")}};Object.defineProperty(t.config,"minTime",{get:function(){return t.config._minTime},set:fe("min")}),Object.defineProperty(t.config,"maxTime",{get:function(){return t.config._maxTime},set:fe("max")}),y.mode==="time"&&(t.config.noCalendar=!0,t.config.enableTime=!0),Object.assign(t.config,w,y);for(var U=0;U<g.length;U++)t.config[g[U]]=t.config[g[U]]===!0||t.config[g[U]]==="true";Ql.filter(function(ye){return t.config[ye]!==void 0}).forEach(function(ye){t.config[ye]=es(t.config[ye]||[]).map(u)}),t.isMobile=!t.config.disableMobile&&!t.config.inline&&t.config.mode==="single"&&!t.config.disable.length&&!t.config.enable&&!t.config.weekNumbers&&/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);for(var U=0;U<t.config.plugins.length;U++){var Oe=t.config.plugins[U](t)||{};for(var re in Oe)Ql.indexOf(re)>-1?t.config[re]=es(Oe[re]).map(u).concat(t.config[re]):typeof y[re]>"u"&&(t.config[re]=Oe[re])}y.altInputClass||(t.config.altInputClass=xe().className+" "+t.config.altInputClass),Le("onParseConfig")}function xe(){return t.config.wrap?e.querySelector("[data-input]"):e}function pe(){typeof t.config.locale!="object"&&typeof Rt.l10ns[t.config.locale]>"u"&&t.config.errorHandler(new Error("flatpickr: invalid locale "+t.config.locale)),t.l10n=ea(ea({},Rt.l10ns.default),typeof t.config.locale=="object"?t.config.locale:t.config.locale!=="default"?Rt.l10ns[t.config.locale]:void 0),Jr.D="("+t.l10n.weekdays.shorthand.join("|")+")",Jr.l="("+t.l10n.weekdays.longhand.join("|")+")",Jr.M="("+t.l10n.months.shorthand.join("|")+")",Jr.F="("+t.l10n.months.longhand.join("|")+")",Jr.K="("+t.l10n.amPM[0]+"|"+t.l10n.amPM[1]+"|"+t.l10n.amPM[0].toLowerCase()+"|"+t.l10n.amPM[1].toLowerCase()+")";var g=ea(ea({},a),JSON.parse(JSON.stringify(e.dataset||{})));g.time_24hr===void 0&&Rt.defaultConfig.time_24hr===void 0&&(t.config.time_24hr=t.l10n.time_24hr),t.formatDate=Vm(t),t.parseDate=xs({config:t.config,l10n:t.l10n})}function Se(g){if(typeof t.config.position=="function")return void t.config.position(t,g);if(t.calendarContainer!==void 0){Le("onPreCalendarPosition");var y=g||t._positionElement,w=Array.prototype.reduce.call(t.calendarContainer.children,function(ou,fu){return ou+fu.offsetHeight},0),E=t.calendarContainer.offsetWidth,V=t.config.position.split(" "),Z=V[0],fe=V.length>1?V[1]:null,U=y.getBoundingClientRect(),Oe=window.innerHeight-U.bottom,re=Z==="above"||Z!=="below"&&Oe<w&&U.top>w,ye=window.pageYOffset+U.top+(re?-w-2:y.offsetHeight+2);if(ia(t.calendarContainer,"arrowTop",!re),ia(t.calendarContainer,"arrowBottom",re),!t.config.inline){var ee=window.pageXOffset+U.left,$a=!1,Nt=!1;fe==="center"?(ee-=(E-U.width)/2,$a=!0):fe==="right"&&(ee-=E-U.width,Nt=!0),ia(t.calendarContainer,"arrowLeft",!$a&&!Nt),ia(t.calendarContainer,"arrowCenter",$a),ia(t.calendarContainer,"arrowRight",Nt);var Ua=window.document.body.offsetWidth-(window.pageXOffset+U.right),Ma=ee+E>window.document.body.offsetWidth,su=Ua+E>window.document.body.offsetWidth;if(ia(t.calendarContainer,"rightMost",Ma),!t.config.static)if(t.calendarContainer.style.top=ye+"px",!Ma)t.calendarContainer.style.left=ee+"px",t.calendarContainer.style.right="auto";else if(!su)t.calendarContainer.style.left="auto",t.calendarContainer.style.right=Ua+"px";else{var ui=ue();if(ui===void 0)return;var Lr=window.document.body.offsetWidth,Ml=Math.max(0,Lr/2-E/2),kl=".flatpickr-calendar.centerMost:before",gn=".flatpickr-calendar.centerMost:after",Bl=ui.cssRules.length,ql="{left:"+U.left+"px;right:auto;}";ia(t.calendarContainer,"rightMost",!1),ia(t.calendarContainer,"centerMost",!0),ui.insertRule(kl+","+gn+ql,Bl),t.calendarContainer.style.left=Ml+"px",t.calendarContainer.style.right="auto"}}}}function ue(){for(var g=null,y=0;y<document.styleSheets.length;y++){var w=document.styleSheets[y];if(w.cssRules){try{w.cssRules}catch{continue}g=w;break}}return g??he()}function he(){var g=document.createElement("style");return document.head.appendChild(g),g.sheet}function ge(){t.config.noCalendar||t.isMobile||(Q(),pa(),X())}function nr(){t._input.focus(),window.navigator.userAgent.indexOf("MSIE")!==-1||navigator.msMaxTouchPoints!==void 0?setTimeout(t.close,0):t.close()}function dn(g){g.preventDefault(),g.stopPropagation();var y=function(ye){return ye.classList&&ye.classList.contains("flatpickr-day")&&!ye.classList.contains("flatpickr-disabled")&&!ye.classList.contains("notAllowed")},w=Ym(ha(g),y);if(w!==void 0){var E=w,V=t.latestSelectedDateObj=new Date(E.dateObj.getTime()),Z=(V.getMonth()<t.currentMonth||V.getMonth()>t.currentMonth+t.config.showMonths-1)&&t.config.mode!=="range";if(t.selectedDateElem=E,t.config.mode==="single")t.selectedDates=[V];else if(t.config.mode==="multiple"){var fe=ur(V);fe?t.selectedDates.splice(parseInt(fe),1):t.selectedDates.push(V)}else t.config.mode==="range"&&(t.selectedDates.length===2&&t.clear(!1,!1),t.latestSelectedDateObj=V,t.selectedDates.push(V),ga(V,t.selectedDates[0],!0)!==0&&t.selectedDates.sort(function(ye,ee){return ye.getTime()-ee.getTime()}));if(v(),Z){var U=t.currentYear!==V.getFullYear();t.currentYear=V.getFullYear(),t.currentMonth=V.getMonth(),U&&(Le("onYearChange"),Q()),Le("onMonthChange")}if(pa(),X(),Xt(),!Z&&t.config.mode!=="range"&&t.config.showMonths===1?T(E):t.selectedDateElem!==void 0&&t.hourElement===void 0&&t.selectedDateElem&&t.selectedDateElem.focus(),t.hourElement!==void 0&&t.hourElement!==void 0&&t.hourElement.focus(),t.config.closeOnSelect){var Oe=t.config.mode==="single"&&!t.config.enableTime,re=t.config.mode==="range"&&t.selectedDates.length===2&&!t.config.enableTime;(Oe||re)&&nr()}A()}}var Ke={locale:[pe,ne],showMonths:[M,l,N],minDate:[b],maxDate:[b],positionElement:[mn],clickOpens:[function(){t.config.clickOpens===!0?(h(t._input,"focus",t.open),h(t._input,"click",t.open)):(t._input.removeEventListener("focus",t.open),t._input.removeEventListener("click",t.open))}]};function vn(g,y){if(g!==null&&typeof g=="object"){Object.assign(t.config,g);for(var w in g)Ke[w]!==void 0&&Ke[w].forEach(function(E){return E()})}else t.config[g]=y,Ke[g]!==void 0?Ke[g].forEach(function(E){return E()}):Ql.indexOf(g)>-1&&(t.config[g]=es(y));t.redraw(),Xt(!0)}function cn(g,y){var w=[];if(g instanceof Array)w=g.map(function(E){return t.parseDate(E,y)});else if(g instanceof Date||typeof g=="number")w=[t.parseDate(g,y)];else if(typeof g=="string")switch(t.config.mode){case"single":case"time":w=[t.parseDate(g,y)];break;case"multiple":w=g.split(t.config.conjunction).map(function(E){return t.parseDate(E,y)});break;case"range":w=g.split(t.l10n.rangeSeparator).map(function(E){return t.parseDate(E,y)});break}else t.config.errorHandler(new Error("Invalid date supplied: "+JSON.stringify(g)));t.selectedDates=t.config.allowInvalidPreload?w:w.filter(function(E){return E instanceof Date&&ie(E,!1)}),t.config.mode==="range"&&t.selectedDates.sort(function(E,V){return E.getTime()-V.getTime()})}function ir(g,y,w){if(y===void 0&&(y=!1),w===void 0&&(w=t.config.dateFormat),g!==0&&!g||g instanceof Array&&g.length===0)return t.clear(y);cn(g,w),t.latestSelectedDateObj=t.selectedDates[t.selectedDates.length-1],t.redraw(),b(void 0,y),d(),t.selectedDates.length===0&&t.clear(!1),Xt(y),y&&Le("onChange")}function pn(g){return g.slice().map(function(y){return typeof y=="string"||typeof y=="number"||y instanceof Date?t.parseDate(y,void 0,!0):y&&typeof y=="object"&&y.from&&y.to?{from:t.parseDate(y.from,void 0),to:t.parseDate(y.to,void 0)}:y}).filter(function(y){return y})}function ri(){t.selectedDates=[],t.now=t.parseDate(t.config.now)||new Date;var g=t.config.defaultDate||((t.input.nodeName==="INPUT"||t.input.nodeName==="TEXTAREA")&&t.input.placeholder&&t.input.value===t.input.placeholder?null:t.input.value);g&&cn(g,t.config.dateFormat),t._initialDate=t.selectedDates.length>0?t.selectedDates[0]:t.config.minDate&&t.config.minDate.getTime()>t.now.getTime()?t.config.minDate:t.config.maxDate&&t.config.maxDate.getTime()<t.now.getTime()?t.config.maxDate:t.now,t.currentYear=t._initialDate.getFullYear(),t.currentMonth=t._initialDate.getMonth(),t.selectedDates.length>0&&(t.latestSelectedDateObj=t.selectedDates[0]),t.config.minTime!==void 0&&(t.config.minTime=t.parseDate(t.config.minTime,"H:i")),t.config.maxTime!==void 0&&(t.config.maxTime=t.parseDate(t.config.maxTime,"H:i")),t.minDateHasTime=!!t.config.minDate&&(t.config.minDate.getHours()>0||t.config.minDate.getMinutes()>0||t.config.minDate.getSeconds()>0),t.maxDateHasTime=!!t.config.maxDate&&(t.config.maxDate.getHours()>0||t.config.maxDate.getMinutes()>0||t.config.maxDate.getSeconds()>0)}function ni(){if(t.input=xe(),!t.input){t.config.errorHandler(new Error("Invalid input element specified"));return}t.input._type=t.input.type,t.input.type="text",t.input.classList.add("flatpickr-input"),t._input=t.input,t.config.altInput&&(t.altInput=Re(t.input.nodeName,t.config.altInputClass),t._input=t.altInput,t.altInput.placeholder=t.input.placeholder,t.altInput.disabled=t.input.disabled,t.altInput.required=t.input.required,t.altInput.tabIndex=t.input.tabIndex,t.altInput.type="text",t.input.setAttribute("type","hidden"),!t.config.static&&t.input.parentNode&&t.input.parentNode.insertBefore(t.altInput,t.input.nextSibling)),t.config.allowInput||t._input.setAttribute("readonly","readonly"),mn()}function mn(){t._positionElement=t.config.positionElement||t._input}function ii(){var g=t.config.enableTime?t.config.noCalendar?"time":"datetime-local":"date";t.mobileInput=Re("input",t.input.className+" flatpickr-mobile"),t.mobileInput.tabIndex=1,t.mobileInput.type=g,t.mobileInput.disabled=t.input.disabled,t.mobileInput.required=t.input.required,t.mobileInput.placeholder=t.input.placeholder,t.mobileFormatStr=g==="datetime-local"?"Y-m-d\\TH:i:S":g==="date"?"Y-m-d":"H:i:S",t.selectedDates.length>0&&(t.mobileInput.defaultValue=t.mobileInput.value=t.formatDate(t.selectedDates[0],t.mobileFormatStr)),t.config.minDate&&(t.mobileInput.min=t.formatDate(t.config.minDate,"Y-m-d")),t.config.maxDate&&(t.mobileInput.max=t.formatDate(t.config.maxDate,"Y-m-d")),t.input.getAttribute("step")&&(t.mobileInput.step=String(t.input.getAttribute("step"))),t.input.type="hidden",t.altInput!==void 0&&(t.altInput.type="hidden");try{t.input.parentNode&&t.input.parentNode.insertBefore(t.mobileInput,t.input.nextSibling)}catch{}h(t.mobileInput,"change",function(y){t.setDate(ha(y).value,!1,t.mobileFormatStr),Le("onChange"),Le("onClose")})}function vt(g){if(t.isOpen===!0)return t.close();t.open(g)}function Le(g,y){if(t.config!==void 0){var w=t.config[g];if(w!==void 0&&w.length>0)for(var E=0;w[E]&&E<w.length;E++)w[E](t.selectedDates,t.input.value,t,y);g==="onChange"&&(t.input.dispatchEvent(ca("change")),t.input.dispatchEvent(ca("input")))}}function ca(g){var y=document.createEvent("Event");return y.initEvent(g,!0,!0),y}function ur(g){for(var y=0;y<t.selectedDates.length;y++){var w=t.selectedDates[y];if(w instanceof Date&&ga(w,g)===0)return""+y}return!1}function Ir(g){return t.config.mode!=="range"||t.selectedDates.length<2?!1:ga(g,t.selectedDates[0])>=0&&ga(g,t.selectedDates[1])<=0}function pa(){t.config.noCalendar||t.isMobile||!t.monthNav||(t.yearElements.forEach(function(g,y){var w=new Date(t.currentYear,t.currentMonth,1);w.setMonth(t.currentMonth+y),t.config.showMonths>1||t.config.monthSelectorType==="static"?t.monthElements[y].textContent=Hu(w.getMonth(),t.config.shorthandCurrentMonth,t.l10n)+" ":t.monthsDropdownContainer.value=w.getMonth().toString(),g.value=w.getFullYear().toString()}),t._hidePrevMonthArrow=t.config.minDate!==void 0&&(t.currentYear===t.config.minDate.getFullYear()?t.currentMonth<=t.config.minDate.getMonth():t.currentYear<t.config.minDate.getFullYear()),t._hideNextMonthArrow=t.config.maxDate!==void 0&&(t.currentYear===t.config.maxDate.getFullYear()?t.currentMonth+1>t.config.maxDate.getMonth():t.currentYear>t.config.maxDate.getFullYear()))}function Va(g){var y=g||(t.config.altInput?t.config.altFormat:t.config.dateFormat);return t.selectedDates.map(function(w){return t.formatDate(w,y)}).filter(function(w,E,V){return t.config.mode!=="range"||t.config.enableTime||V.indexOf(w)===E}).join(t.config.mode!=="range"?t.config.conjunction:t.l10n.rangeSeparator)}function Xt(g){g===void 0&&(g=!0),t.mobileInput!==void 0&&t.mobileFormatStr&&(t.mobileInput.value=t.latestSelectedDateObj!==void 0?t.formatDate(t.latestSelectedDateObj,t.mobileFormatStr):""),t.input.value=Va(t.config.dateFormat),t.altInput!==void 0&&(t.altInput.value=Va(t.config.altFormat)),g!==!1&&Le("onValueUpdate")}function hn(g){var y=ha(g),w=t.prevMonthNav.contains(y),E=t.nextMonthNav.contains(y);w||E?H(w?-1:1):t.yearElements.indexOf(y)>=0?y.select():y.classList.contains("arrowUp")?t.changeYear(t.currentYear+1):y.classList.contains("arrowDown")&&t.changeYear(t.currentYear-1)}function ma(g){g.preventDefault();var y=g.type==="keydown",w=ha(g),E=w;t.amPM!==void 0&&w===t.amPM&&(t.amPM.textContent=t.l10n.amPM[Sa(t.amPM.textContent===t.l10n.amPM[0])]);var V=parseFloat(E.getAttribute("min")),Z=parseFloat(E.getAttribute("max")),fe=parseFloat(E.getAttribute("step")),U=parseInt(E.value,10),Oe=g.delta||(y?g.which===38?1:-1:0),re=U+fe*Oe;if(typeof E.value<"u"&&E.value.length===2){var ye=E===t.hourElement,ee=E===t.minuteElement;re<V?(re=Z+re+Sa(!ye)+(Sa(ye)&&Sa(!t.amPM)),ee&&_(void 0,-1,t.hourElement)):re>Z&&(re=E===t.hourElement?re-Z-Sa(!t.amPM):V,ee&&_(void 0,1,t.hourElement)),t.amPM&&ye&&(fe===1?re+U===23:Math.abs(re-U)>fe)&&(t.amPM.textContent=t.l10n.amPM[Sa(t.amPM.textContent===t.l10n.amPM[0])]),E.value=da(re)}}return n(),t}function Bn(e,a){for(var t=Array.prototype.slice.call(e).filter(function(u){return u instanceof HTMLElement}),r=[],n=0;n<t.length;n++){var i=t[n];try{if(i.getAttribute("data-fp-omit")!==null)continue;i._flatpickr!==void 0&&(i._flatpickr.destroy(),i._flatpickr=void 0),i._flatpickr=SP(i,a||{}),r.push(i._flatpickr)}catch(u){console.error(u)}}return r.length===1?r[0]:r}typeof HTMLElement<"u"&&typeof HTMLCollection<"u"&&typeof NodeList<"u"&&(HTMLCollection.prototype.flatpickr=NodeList.prototype.flatpickr=function(e){return Bn(this,e)},HTMLElement.prototype.flatpickr=function(e){return Bn([this],e)});var Rt=function(e,a){return typeof e=="string"?Bn(window.document.querySelectorAll(e),a):e instanceof Node?Bn([e],a):Bn(e,a)};Rt.defaultConfig={};Rt.l10ns={en:ea({},Li),default:ea({},Li)};Rt.localize=function(e){Rt.l10ns.default=ea(ea({},Rt.l10ns.default),e)};Rt.setDefaults=function(e){Rt.defaultConfig=ea(ea({},Rt.defaultConfig),e)};Rt.parseDate=xs({});Rt.formatDate=Vm({});Rt.compareDates=ga;typeof jQuery<"u"&&typeof jQuery.fn<"u"&&(jQuery.fn.flatpickr=function(e){return Bn(this,e)});Date.prototype.fp_incr=function(e){return new Date(this.getFullYear(),this.getMonth(),this.getDate()+(typeof e=="string"?parseInt(e,10):e))};typeof window<"u"&&(window.flatpickr=Rt);var Um={name:"DatepickerWrapper",emits:["change"],props:{value:{required:!0},options:{type:[Object],required:!0},id:{type:[Number,String],required:!0},placeholder:{type:[Number,String],required:!1},attrs:{required:!1,type:[Object],default:()=>({})}},setup(e,a){var{id:t,options:r,value:n}=I(e),{el$:i,form$:u,Size:l,View:s,classesInstance:o,classes:f,Templates:v,template:d,theme:p}=Gt(e,a),m=La().proxy,h=Y(null),A=Y(null),D=c(()=>i.value.available),b=c(()=>{var S,x;return((S=m.$vueform.i18n.locales[m.$vueform.i18n.locale])===null||S===void 0||(S=S.vueform)===null||S===void 0?void 0:S.datepicker)||((x=m.$vueform.i18n.locales[m.$vueform.i18n.fallbackLocale])===null||x===void 0||(x=x.vueform)===null||x===void 0?void 0:x.datepicker)||{}}),$=c(()=>r.value.mode||"single"),_=c(()=>{var S={};return F(r.value,(x,L)=>{x!=null&&(S[L]=x)}),S.static=!0,S}),C=S=>{a.emit("change",$.value=="single"?S[0]||null:S)},O=()=>{h.value.input.parentElement.id="datepicker-"+t.value},T=function(){var S=te(function*(){A.value||(yield pt()),h.value=Rt(A.value,Object.assign({},_.value,{onChange:x=>{C(x)},onClose:x=>{x=$.value=="range"&&x.length<2?[]:x,C(x)},parseDate:(x,L)=>j(x,L,!0).toDate(),formatDate:(x,L)=>j(x).format(L),ariaDateFormat:"MMMM D, YYYY",disableMobile:!0,locale:b.value})),h.value.calendarContainer&&f.value.calendarContainer.forEach(x=>{h.value.calendarContainer.classList.add(x)}),O(),n.value!==null&&h.value.setDate(n.value,!1)});return function(){return S.apply(this,arguments)}}();return De(n,(S,x)=>{var L;(L=h.value)===null||L===void 0||L.setDate(S,!1)}),De(t,(S,x)=>{O()},{immediate:!1}),De(r,(S,x)=>{Xn(S,x)||T()},{deep:!0}),De([b,D],(S,x)=>{T()},{deep:!0}),Dt(()=>{T()}),{el$:i,form$:u,Size:l,View:s,classesInstance:o,theme:p,classes:f,Templates:v,template:d,datepicker$:h,input:A,config:_,mode:$,locale:b,update:C,init:T}}},zm={name:"EditorWrapper",emits:["input","alert","error","blur"],props:{value:{required:!1,default:null},placeholder:{required:!1,type:[String,Number],default:null},name:{required:!1,type:[String,Number],default:null},id:{required:!1,type:[String,Number],default:null},accept:{required:!1,type:Array,default:()=>[]},acceptMimes:{required:!1,type:Array,default:()=>[]},endpoint:{required:!1,type:[String,Function],default:null},method:{required:!1,type:String,default:"post"},disabled:{required:!1,type:Boolean,default:!1},hideTools:{required:!1,type:[Array],default:()=>[]},attrs:{required:!1,type:[Object],default:()=>({})}},setup(e,a){var{value:t,disabled:r,acceptMimes:n,accept:i,endpoint:u,method:l,attrs:s,placeholder:o,id:f}=I(e),{el$:v,form$:d,Size:p,View:m,classesInstance:h,classes:A,Templates:D,template:b,theme:$}=Gt(e,a),_=Y(null),C=c(()=>u.value?typeof u.value=="function"?u.value:d.value.$vueform.config.endpoints[u.value]||u.value:typeof d.value.$vueform.config.endpoints.attachment=="function"?d.value.$vueform.config.endpoints.attachment:d.value.$vueform.config.endpoints.attachment.url),O=c(()=>typeof C.value=="function"?null:u.value&&d.value.$vueform.config.endpoints[u.value]?d.value.$vueform.config.endpoints[u.value]:l.value||d.value.$vueform.config.endpoints.attachment.method),T=c(()=>Eg("trix-editor",G(G({},s.value),{},{placeholder:o.value,disabled:r.value,id:f.value,input:"editor-input-".concat(f.value),ref:"editor$"}))),S=P=>{typeof P=="number"&&(P=String(P)),_.value.editor.loadHTML(P)},x=(P,M)=>{_.value[P]=M},L=()=>{_.value.value==t.value||!_.value.value&&!t.value||a.emit("input",{target:{value:_.value.value}})},z=P=>{if(r.value){P.preventDefault();return}if(!P.file){P.preventDefault();return}n.value&&n.value.length&&n.value.indexOf(P.file.type)===-1&&(P.preventDefault(),a.emit("alert",d.value.__(d.value.translations.vueform.editor.acceptedMimesError,{mimes:n.value.join(", ")})));var M=P.file.name.split(".").pop();i.value&&i.value.length&&i.value.indexOf(M)===-1&&(P.preventDefault(),a.emit("alert",d.value.__(d.value.translations.vueform.editor.acceptedExtensionsError,{extensions:i.value.join(", ")})))},X=function(){var P=te(function*(M){if(M.attachment.file){var q=new FormData;q.append("Content-Type",M.attachment.file.type),q.append("file",M.attachment.file);var B;try{typeof C.value=="function"?B=yield C.value(M.attachment,v.value):(B=yield v.value.$vueform.services.axios.request({url:C.value,method:O.value,[O.value.toLowerCase()==="get"?"params":"data"]:q,onUploadProgress:N=>{M.attachment.setUploadProgress(Math.round(N.loaded*100/N.total))}}),B=B.data),M.attachment.setAttributes({url:B.url,href:B.href})}catch(N){a.emit("error",N)}}});return function(q){return P.apply(this,arguments)}}(),Q=()=>{a.emit("blur")};return De(r,P=>{_.value.contentEditable=!P}),Dt(()=>{r.value&&(_.value.contentEditable=!1),_.value.addEventListener("trix-change",L),_.value.addEventListener("trix-blur",Q),_.value.addEventListener("trix-file-accept",z),_.value.addEventListener("trix-attachment-add",X)}),qr(()=>{var P,M,q,B;(P=_.value)===null||P===void 0||P.removeEventListener("trix-change",L),(M=_.value)===null||M===void 0||M.removeEventListener("trix-blur",Q),(q=_.value)===null||q===void 0||q.removeEventListener("trix-file-accept",z),(B=_.value)===null||B===void 0||B.removeEventListener("trix-attachment-add",X)}),{el$:v,form$:d,Size:p,View:m,classesInstance:h,resolvedEndpoint:C,editorComponent:T,theme:$,classes:A,Templates:D,template:b,editor$:_,update:S,setOption:x,handleChange:L,handleFileAccept:z,handleAttachmentAdd:X,handleBlur:Q}}},rt=function(a,t,r){var{label:n}=I(a),i=r.form$,u=r.el$,l=We("config$"),s=c(()=>{var d,p;return!!(i.value.options.forceLabels||n.value||u.value.slots.label||(d=u.value.$slots)!==null&&d!==void 0&&d.label||i.value.$vueform.vueVersion===2&&(p=u.value.$scopedSlots)!==null&&p!==void 0&&p.label)}),o=c(()=>typeof n.value=="function"&&(!n.value.prototype||!n.value.prototype.constructor||n.value.prototype.constructor&&n.value.prototype.constructor.name!=="VueComponent")),f=c(()=>Ii(n.value)),v=c(()=>{var d=o.value?n.value(u.value):n.value||null;return f.value||(d=Ut(d,l.value,i.value)),d});return{hasLabel:s,Label:v}},nt=function(a,t,r){var{columns:n,presets:i}=I(a),u=r.form$,l=r.theme,s=r.hasLabel,o=Y(Ee(n.value)),f=c(()=>{var m=u.value.$vueform.config;return new u.value.$vueform.services.columns({configPresetColumns:m.usePresets,configColumns:m.columns,formPresetColumns:u.value.options.presets,formColumns:u.value.options.columns,elementPresetColumns:i.value,elementColumns:o.value},s.value,l.value.columns,m.presets)}),v=c(()=>f.value.classes),d=c(()=>f.value.cols),p=m=>{o.value=Ee(m)};return De(n,m=>{o.value=Ee(m)},{immediate:!1,deep:!0}),{cols:d,columnsClassesService:f,columnsClasses:v,updateColumns:p}},it=function(a,t,r){var{size:n,view:i,views:u,presets:l}=I(a),s=t.name,o=r.available,f=r.active,v=r.form$,d=r.parent,p=Y(!1),m=c(()=>o.value&&!p.value&&f.value),h=c(()=>{var _;return n.value?_=n.value:F(l.value,C=>{var O=v.value.$vueform.config.presets[C];!O||!O.size||(_=O.size)}),_||(d.value?_=d.value.Size:_=v.value.Size),_}),A=c(()=>i.value?i.value:D.value[s.value]),D=c(()=>{var _=v.value.Views;return F(l.value,C=>{var O=v.value.$vueform.config.presets[C];!O||!O.views||(_=Object.assign({},_,O.views))}),_=Object.assign({},_,u.value),_}),b=()=>{p.value=!0},$=()=>{p.value=!1};return va("Size",h),va("View",A),va("Views",D),{hidden:p,visible:m,Size:h,View:A,Views:D,hide:b,show:$}},Je=function(a,t,r){var{templates:n,presets:i}=I(a),u=t.name,l=r.theme,s=r.View,o=r.form$,f=c(()=>{var d={};return F(i?i.value:[],p=>{var m=o.value.$vueform.config.presets[p];!m||!m.templates||(d=Object.assign({},d,m.templates))}),G(G(G({},l.value.templates),d),n?n.value:{})}),v=c(()=>s&&s.value&&f.value["".concat(u.value,"_").concat(s.value)]?f.value["".concat(u.value,"_").concat(s.value)]:f.value[u.value]);return{Templates:f,template:v}},ut=function(a,t,r){var n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};I(a);var i=r.el$,u=["label","info","description","before","between","after"],l=["checkbox","radio","option","single-label","multiple-label","tag","no-results","no-options","after-list","before-list","placeholder","group-label","caret","clear","spinner","option","default","addon-before","addon-after"],s=c(()=>{var f={};return u.filter(v=>n.slots.indexOf(v)!==-1).forEach(v=>{var d=i.value.slots[v]||i.value.slots[Pi(v)];typeof d=="object"&&(d.props&&(Array.isArray(d.props)&&d.props.indexOf("el$")===-1||!Array.isArray(d.props)&&Object.keys(d.props).indexOf("el$")===-1)?Array.isArray(d.props)?d.props.push("el$"):d.props.el$={type:Object,required:!0}:d.props||(d.props=["el$"])),f[v]=d}),f}),o=c(()=>{var f={};return l.filter(v=>n.slots.indexOf(v)!==-1).forEach(v=>{var d=i.value.slots[v]||i.value.slots[Pi(v)];typeof d=="object"&&(d.props&&(Array.isArray(d.props)&&d.props.indexOf("el$")===-1||!Array.isArray(d.props)&&Object.keys(d.props).indexOf("el$")===-1)?Array.isArray(d.props)?d.props.push("el$"):d.props.el$={type:Object,required:!0}:d.props||(d.props=["el$"])),f[v]=d}),f});return{elementSlots:s,fieldSlots:o}},FP=function(a,t,r){var{buttonLabel:n,buttonType:i,href:u,target:l,loading:s,onClick:o,resets:f,submits:v}=I(a),d=r.form$,p=r.isDisabled,m=r.fieldId,h=r.fire,A=r.el$,D=c(()=>typeof s.value=="function"?s.value(d.value,A.value):v.value&&(d.value.submitting||d.value.preparing||d.value.isLoading)?!0:s.value),b=c(()=>n.value!==null&&typeof n.value=="object"),$=c(()=>{var C={id:m.value};switch(i.value){case"anchor":C.href=u.value,C.target=l.value;break;case"button":C.disabled=p.value;break}return D.value&&(C.tabindex=void 0),C}),_=C=>{if(i.value==="anchor"&&!u.value&&C.preventDefault(),p.value||D.value){C.preventDefault();return}f.value&&d.value.reset(),v.value&&d.value.submit(),h("click",d.value,A.value,C)};return{isButtonLabelComponent:b,button:$,isLoading:D,handleClick:_}},lt=function(a,t,r){var{layout:n,inline:i}=I(a),u=c(()=>i.value||!n.value?"ElementLayoutInline":n.value);return{elementLayout:u}},Qe=function(a,t,r){var{id:n,name:i}=I(a),u=r.parent,l=c(()=>{var s,o;return n.value||((s=u.value)!==null&&s!==void 0&&s.fieldId?"".concat((o=u.value)===null||o===void 0?void 0:o.fieldId,".").concat(i.value):i.value)});return{fieldId:l}},st=function(a,t,r){var{container:n}=r,i=()=>{var u,l,s=((u=n.value)===null||u===void 0?void 0:u.$el)||n.value;s==null||(l=s.querySelector("a[href],area[href],input:not([disabled]),select:not([disabled]),textarea:not([disabled]),button:not([disabled]),iframe,[tabindex],[contentEditable=true],trix-editor"))===null||l===void 0||l.focus()};return{focus:i}},OP=function(a,t,r){var{input:n}=r,i=()=>{n.value.editor$.focus()};return{focus:i}},EP=_o,xP=4;function TP(e){return EP(e,xP)}var Na=TP,kt=function(a,t,r){var{disabled:n}=I(a),i=Y(null),u=c(()=>n.value&&i.value!==!1||i.value===!0),l=()=>{i.value=!0},s=()=>{i.value=!1};return{localDisabled:i,isDisabled:u,disable:l,enable:s}},Hm=function(a,t,r){var{disables:n}=I(a),{localDisabled:i,isDisabled:u}=kt(a),l=Y([]),s=d=>{oe(d)||(d=[d]);var p=Na(l.value);F(d,m=>{m=String(m),p.indexOf(m)===-1&&p.push(m)}),l.value=p},o=d=>{oe(d)||(d=[d]);var p=Na(l.value);F(d,m=>{m=String(m);var h=p.indexOf(m);h!==-1&&p.splice(h,1)}),l.value=p},f=()=>{i.value=!0},v=()=>{i.value=!1,l.value=[]};return l.value=Mr(n.value||[],d=>String(d)),{disabledItems:l,isDisabled:u,disableAll:f,enableAll:v,disable:s,enable:o}},MP=function(a,t,r){var{disabled:n,submits:i}=I(a),u=r.form$,l=r.el$,s=c(()=>typeof n.value=="function"?n.value(l.value,u.value):i.value&&(u.value.invalid&&u.value.shouldValidateOnChange||u.value.busy||u.value.isDisabled)?!0:n.value);return{isDisabled:s}},kP=Hm,Ft=function(a,t,r){var n=r.fieldId,i=r.invalid,u=r.isDisabled,l=r.busy,s=c(()=>"".concat(n.value,"__label")),o=c(()=>"".concat(n.value,"__description")),f=c(()=>"".concat(n.value,"__info")),v=c(()=>"".concat(n.value,"__error")),d=c(()=>({"aria-labelledby":s.value,"aria-describedby":"".concat(o.value," ").concat(f.value),"aria-invalid":i.value,"aria-errormessage":v.value,"aria-disabled":u==null?void 0:u.value,"aria-busy":l.value}));return{descriptionId:o,labelId:s,infoId:f,errorId:v,aria:d}},Fo=function(a,t,r){var{text:n}=I(a),{descriptionId:i,labelId:u,infoId:l,errorId:s}=Ft(a,t,r),o=r.invalid,f=r.isDisabled,v=r.busy,d=c(()=>{var p={"aria-label":n.value,"aria-describedby":"".concat(u.value," ").concat(i.value," ").concat(l.value),"aria-invalid":o.value,"aria-errormessage":s.value,"aria-disabled":f.value,"aria-busy":v.value};return p["aria-label"]||(p["aria-labelledby"]=u.value),p});return{descriptionId:i,labelId:u,infoId:l,errorId:s,aria:d}},Oo=function(a,t,r){var{descriptionId:n,labelId:i,infoId:u,errorId:l}=Ft(a,t,r),s=r.invalid,o=r.isDisabled,f=r.busy,v=c(()=>({"aria-describedby":"".concat(n.value," ").concat(u.value),"aria-invalid":s.value,"aria-errormessage":l.value,"aria-disabled":o.value,"aria-busy":f.value}));return{descriptionId:n,labelId:i,infoId:u,errorId:l,aria:v}},BP=function(a,t,r){var{descriptionId:n,labelId:i,infoId:u,errorId:l}=Ft(a,t,r),s=r.isDisabled,o=c(()=>({"aria-labelledby":i.value,"aria-describedby":"".concat(n.value," ").concat(u.value),"aria-disabled":s.value}));return{descriptionId:n,labelId:i,infoId:u,errorId:l,aria:o}},qP=function(a,t,r){var{descriptionId:n,labelId:i,infoId:u,errorId:l}=Ft(a,t,r),s=c(()=>({"aria-labelledby":i.value,"aria-describedby":"".concat(n.value," ").concat(u.value)}));return{descriptionId:n,labelId:i,infoId:u,errorId:l,aria:s}},jP=Oo,NP=Fo,PP=Fo,IP=Oo,LP=Bc,RP=LP("toLowerCase"),qd=RP,YP=function(a,t,r){var{name:n}=I(a),i=La(),u=r.form$,l=(o,f)=>{o.children$Array?o.children$Array.push(i.proxy):o.elements$?u.value.$set(o.elements$,n.value,i.proxy):f(o.$parent,f)},s=(o,f)=>{o.children$Array?o.children$Array.splice(o.children$Array.map(v=>Mt(v.name)).indexOf(Mt(n.value)),1):o.elements$?u.value.$delete(o.elements$,n.value):f(o.$parent,f)};return{assignToParent:l,removeFromParent:s}},Bt=function(a,t,r){var n=["onBeforeCreate","onCreated"],i={onBeforeMount:an,onMounted:Dt,onBeforeUpdate:Gd,onUpdated:Kd,onBeforeUnmount:qr,onUnmounted:Zd},u=La(),l=r.form$,s=r.fire,{assignToParent:o,removeFromParent:f}=YP(a,t,{form$:l}),v=Y(null),d=Y(!1),p=Y(!0),m=c(()=>!1),h=c(()=>!1),A=c(()=>!1),D=c(()=>!1),b=c(()=>!1),$=c(()=>!1),_=c(()=>!1),C=c(()=>p.value),O=c(()=>u.proxy),T=()=>{p.value=!0},S=()=>{p.value=!1};return va("el$",O),an(()=>{o(u.proxy.$parent,o)}),Dt(()=>{d.value=!0}),qr(()=>{f(u.proxy.$parent,f)}),Object.values(n).forEach(x=>{s(qd(x.replace("on","")),O.value)}),Object.keys(i).forEach(x=>{i[x](()=>{s(qd(x.replace("on","")),O.value)})}),{el$:O,isStatic:m,isFileType:h,isArrayType:D,isImageType:A,isObjectType:b,isGroupType:$,isListType:_,isActive:C,active:p,mounted:d,container:v,activate:T,deactivate:S}},Jn=function(a,t,r){var{el$:n,isStatic:i,isFileType:u,isImageType:l,isObjectType:s,isGroupType:o,isActive:f,active:v,mounted:d,container:p,activate:m,deactivate:h}=Bt(a,t,r),A=c(()=>!0),D=c(()=>!0);return{el$:n,isStatic:i,isFileType:u,isArrayType:A,isImageType:l,isObjectType:s,isGroupType:o,isListType:D,isActive:f,active:v,mounted:d,container:p,activate:m,deactivate:h}},VP=function(a,t,r){var{el$:n,isStatic:i,isFileType:u,isArrayType:l,isImageType:s,isGroupType:o,isListType:f,isActive:v,active:d,mounted:p,container:m,activate:h,deactivate:A}=Bt(a,t,r),D=c(()=>!0);return{el$:n,isStatic:i,isFileType:u,isArrayType:l,isImageType:s,isObjectType:D,isGroupType:o,isListType:f,isActive:v,active:d,mounted:p,container:m,activate:h,deactivate:A}},UP=function(a,t,r){var{el$:n,isStatic:i,isFileType:u,isArrayType:l,isImageType:s,isObjectType:o,isListType:f,isActive:v,active:d,mounted:p,container:m,activate:h,deactivate:A}=Bt(a,t,r),D=c(()=>!0);return{el$:n,isStatic:i,isFileType:u,isArrayType:l,isImageType:s,isObjectType:o,isGroupType:D,isListType:f,isActive:v,active:d,mounted:p,container:m,activate:h,deactivate:A}},zP=function(a,t,r){var{view:n}=I(a),{el$:i,isStatic:u,isArrayType:l,isObjectType:s,isGroupType:o,isListType:f,isActive:v,active:d,mounted:p,container:m,activate:h,deactivate:A}=Bt(a,t,r),D=c(()=>!0),b=c(()=>["gallery","image"].indexOf(n.value)!==-1);return{el$:i,isStatic:u,isFileType:D,isArrayType:l,isImageType:b,isObjectType:s,isGroupType:o,isListType:f,isActive:v,active:d,mounted:p,container:m,activate:h,deactivate:A}},Wm=function(a,t,r){var{el$:n,isArrayType:i,isFileType:u,isImageType:l,isObjectType:s,isGroupType:o,isListType:f,isActive:v,active:d,mounted:p,container:m,activate:h,deactivate:A}=Bt(a,t,r),D=c(()=>!0);return{el$:n,isStatic:D,isFileType:u,isArrayType:i,isImageType:l,isObjectType:s,isGroupType:o,isListType:f,isActive:v,active:d,mounted:p,container:m,activate:h,deactivate:A}},HP=Jn,WP=Jn,GP=Jn,KP=Jn,ot=function(a,t,r){var{name:n}=I(a),i=La(),{form$:u}=r,l=c(()=>{var v=(d,p)=>d&&(u.value.$vueform.vueVersion===3&&d.$options.name&&d.$options.name.match(/^[a-zA-Z\-]*Element$/)||u.value.$vueform.vueVersion===2&&d.hasOwnProperty("el$")&&typeof d.el$!="function")?d.el$:d.$parent?p(d.$parent,p):null;return v(u.value.$vueform.vueVersion===3?i.parent.proxy:i.proxy.$parent,v)}),s=c(()=>l.value&&l.value.path?l.value.path+"."+n.value:n.value),o=c(()=>l.value&&l.value.dataPath?l.value.dataPath+"."+n.value:n.value),f=c(()=>!1);return{parent:l,path:s,dataPath:o,flat:f}},ZP=function(a,t,r){var{path:n,parent:i}=ot(a,t,r),u=c(()=>i.value&&i.value.dataPath?i.value.dataPath:null),l=c(()=>!0);return{path:n,dataPath:u,flat:l,parent:i}},Gm=function(a,t,r){var{path:n,parent:i,flat:u}=ot(a,t,r);return{path:n,flat:u,parent:i}};function Cl(e,a,t){var r=t.deps||{};return t=G(G({},t),{},{events:a.emits,slots:a.slots}),a.features.forEach(n=>{F(n(e,a,r,t),(i,u)=>{r[u]=i})}),r}var qt=function(a,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=Cl(a,t,r);return Dt(()=>{n.initWatcher&&n.initWatcher(),n.initMessageBag&&n.initMessageBag(),n.initValidation&&n.initValidation()}),G({},n)},Km=function(a,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=Cl(a,t,r);return G({},n)},Eo=function(a,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=Cl(a,t,r);return Dt(()=>{n.initWatcher(),n.initState(),n.initMessageBag(),n.initValidation()}),G({},n)},XP=function(a,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{displayKey:n}=I(a),i=Cl(a,t,r);return Dt(()=>{i.value.value[n.value]&&(i.input.value.value=i.value.value[n.value])}),Dt(()=>{i.initWatcher(),i.initMessageBag(),i.initValidation()}),G({},i)},et={props:{name:{required:!0,type:[String,Number]},conditions:{required:!1,type:[Array],default:()=>[]},onBeforeCreate:{required:!1,type:[Function],default:null,private:!0},onCreated:{required:!1,type:[Function],default:null,private:!0},onBeforeMount:{required:!1,type:[Function],default:null,private:!0},onMounted:{required:!1,type:[Function],default:null,private:!0},onBeforeUpdate:{required:!1,type:[Function],default:null,private:!0},onUpdated:{required:!1,type:[Function],default:null,private:!0},onBeforeUnmount:{required:!1,type:[Function],default:null,private:!0},onUnmounted:{required:!1,type:[Function],default:null,private:!0}}},ft={props:{inline:{required:!1,type:[Boolean],default:!1},layout:{required:!1,type:[String,Object,Boolean],default:"ElementLayout",private:!0},addClass:{required:!1,type:[Array,Object,String,Function],default:null},removeClass:{required:!1,type:[Array,Object,Function],default:null},replaceClass:{required:!1,type:[Object,Function],default:null},overrideClass:{required:!1,type:[Array,Object,String,Function],default:null},addClasses:{required:!1,type:[Object,Function],default:()=>({})},replaceClasses:{required:!1,type:[Object,Function],default:()=>({})},removeClasses:{required:!1,type:[Object,Function],default:()=>({})},overrideClasses:{required:!1,type:[Object,Function],default:()=>({})},presets:{required:!1,type:[Array],default:()=>[]},view:{required:!1,type:[String],default:void 0},views:{required:!1,type:[Object],default:()=>({})},size:{required:!1,type:[String],default:void 0},columns:{required:!1,type:[Object,String,Number],default:null},templates:{required:!1,type:[Object],default:()=>({})},description:{required:!1,type:[String,Object],localized:!0,default:null},info:{required:!1,type:[String,Object],localized:!0,default:null},infoPosition:{required:!1,type:[String],default:"right"},label:{required:!1,type:[String,Object,Function],localized:!0,default:null},before:{required:!1,type:[Object,String,Number],localized:!0,default:null},between:{required:!1,type:[Object,String,Number],localized:!0,default:null},after:{required:!1,type:[Object,String,Number],localized:!0,default:null},slots:{required:!1,type:[Object],default:()=>({})}}},Zm={name:"ButtonElement",mixins:[et,ft],emits:["click","beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeUnmount","unmounted"],props:{type:{required:!1,type:[String],default:"button",private:!0},buttonLabel:{required:!1,type:[String,Object,Function],default:null},buttonType:{required:!1,type:[String],default:"button"},buttonClass:{required:!1,type:[String,Array,Object],default:null},id:{required:!1,type:[String],default:null},disabled:{required:!1,type:[Function,Boolean],default:!1},loading:{required:!1,type:[Function,Boolean],default:!1},href:{required:!1,type:[String],default:""},target:{required:!1,type:[String],default:null},onClick:{required:!1,type:[Function],default:null,private:!0},resets:{required:!1,type:[Boolean],default:!1},submits:{required:!1,type:[Boolean],default:!1},secondary:{required:!1,type:[Boolean],default:!1},danger:{required:!1,type:[Boolean],default:!1},full:{required:!1,type:[Boolean],default:!1},align:{required:!1,type:[String],default:void 0}},setup(e,a){return a.features=[ze,He,lt,Gm,Ie,Wm,MP,Xe,rt,it,Je,Qe,FP,at,nt,ut,BP,st],a.slots=["label","info","description","before","between","after","default"],G({},Km(e,a))}},Yt=function(a,t,r){var n=Y(null);return{input:n}};function JP(e,a){var t=e.length;for(e.sort(a);t--;)e[t]=e[t].value;return e}var QP=JP,jd=Qi;function eI(e,a){if(e!==a){var t=e!==void 0,r=e===null,n=e===e,i=jd(e),u=a!==void 0,l=a===null,s=a===a,o=jd(a);if(!l&&!o&&!i&&e>a||i&&u&&s&&!l&&!o||r&&u&&s||!t&&s||!n)return 1;if(!r&&!i&&!o&&e<a||o&&t&&n&&!r&&!i||l&&t&&n||!u&&n||!s)return-1}return 0}var tI=eI,aI=tI;function rI(e,a,t){for(var r=-1,n=e.criteria,i=a.criteria,u=n.length,l=t.length;++r<u;){var s=aI(n[r],i[r]);if(s){if(r>=l)return s;var o=t[r];return s*(o=="desc"?-1:1)}}return e.index-a.index}var nI=rI,ns=Wn,iI=eu,uI=wr,lI=up,sI=QP,oI=Hi,fI=nI,dI=Gi,vI=oe;function cI(e,a,t){a.length?a=ns(a,function(i){return vI(i)?function(u){return iI(u,i.length===1?i[0]:i)}:i}):a=[dI];var r=-1;a=ns(a,oI(uI));var n=lI(e,function(i,u,l){var s=ns(a,function(o){return o(i)});return{criteria:s,index:++r,value:i}});return sI(n,function(i,u){return fI(i,u,t)})}var pI=cI,mI=Zn,hI=pI,gI=Xi,Nd=vo,yI=gI(function(e,a){if(e==null)return[];var t=a.length;return t>1&&Nd(e,a[0],a[1])?a=[]:t>2&&Nd(a[0],a[1],a[2])&&(a=[a[0]]),hI(e,mI(a,1),[])}),Pd=yI;function tn(e,a){!(a instanceof Date)&&j(a,e).format(e)!==a&&console.warn('Wrong formatted date. Expected format: "'.concat(e,'", received: "').concat(a,'"'))}var Ht=function(a,t,r){var n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},{submit:i,formatData:u,formatLoad:l,name:s}=I(a),o=r.form$,f=r.available,v=r.value,d=r.resetValidators,p=r.defaultValue,m=r.nullValue,h=r.resetting,A=S=>{if(n.setValue)return n.setValue(S);v.value=S},D=c(()=>({[s.value]:v.value})),b=c(()=>!f.value||!i.value?{}:u.value?u.value(s.value,v.value,o.value):{[s.value]:v.value}),$=function(x){var L=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;A(L&&l.value?l.value(x,o.value):x)},_=S=>{A(S)},C=()=>{A(Ee(m.value))},O=()=>{h.value=!0,A(Ee(p.value)),d()},T=function(){var S=te(function*(){});return function(){return S.apply(this,arguments)}}();return{data:D,requestData:b,load:$,update:_,clear:C,reset:O,prepare:T}},bI=function(a,t,r){var{submit:n,formatData:i,name:u,forceNumbers:l}=I(a),{load:s,update:o,clear:f,reset:v,prepare:d}=Ht(a,t,r),p=r.form$,m=r.available,h=r.value,A=We("config$"),D=c(()=>{var C=h.value;return $()&&(C=_(h.value)),{[u.value]:C}}),b=c(()=>{if(!m.value||!n.value)return{};var C=h.value;return $()&&(C=_(h.value)),i.value?i.value(u.value,C,p.value):{[u.value]:C}}),$=()=>l.value||A.value.config.forceNumbers&&p.value.options.forceNumbers!==!1&&l.value!==!1||p.value.options.forceNumbers&&l.value!==!1,_=C=>{var O=C;return typeof C=="string"&&(/^[-+]?\d+([\.,]\d+)?$/.test(C)?O=parseFloat(C.replace(",",".")):/^[-+]?\d+$/.test(C)&&(O=parseInt(C,10))),O};return{data:D,requestData:b,load:s,update:o,clear:f,reset:v,prepare:d}},xo=function(a,t,r){var n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},{resolveOnLoad:i,items:u}=I(a),{data:l,requestData:s,load:o,update:f,clear:v,prepare:d}=Ht(a,t,r),p=r.value,m=r.resetValidators,h=r.defaultValue,A=r.updateItems,D=r.resetting,b=_=>{if(n.setValue)return n.setValue(_);p.value=_},$=()=>{D.value=!0,b(Ee(h.value)),m(),typeof u.value=="string"&&i.value!==!1&&A()};return{data:l,requestData:s,load:o,update:f,clear:v,reset:$,prepare:d}},Xm=function(a,t,r){var{name:n,formatLoad:i,formatData:u,submit:l}=I(a),{data:s}=Ht(a,t,r),o=r.form$,f=r.available,v=r.children$,d=r.children$Array,p=r.resetting,m=c(()=>{if(!f.value||!l.value)return{};var _={};return F(v.value,C=>{C.isStatic||(_=Object.assign({},_,C.requestData))}),u.value?u.value(n.value,_,o.value):{[n.value]:_}}),h=function(C){var O=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,T=O&&i.value?i.value(C,o.value):C;F(v.value,S=>{if(!S.isStatic){if(!S.flat&&T[S.name]===void 0){S.clear();return}S.load(S.flat?T:T[S.name],O)}})},A=_=>{F(v.value,C=>{C.isStatic||_[C.name]===void 0&&!C.flat||C.update(C.flat?_:_[C.name])})},D=()=>{F(v.value,_=>{_.isStatic||_.clear()})},b=()=>{p.value=!0,F(v.value,_=>{_.isStatic||_.reset()})},$=function(){var _=te(function*(){yield aa(d.value,function(){var C=te(function*(O){O.prepare&&(yield O.prepare())});return function(O){return C.apply(this,arguments)}}())});return function(){return _.apply(this,arguments)}}();return{data:s,requestData:m,load:h,update:A,clear:D,reset:b,prepare:$}},AI=function(a,t,r){var{name:n,formatData:i,submit:u}=I(a),{load:l,update:s,clear:o,reset:f,prepare:v}=Xm(a,t,r),d=r.form$,p=r.children$,m=r.available,h=r.value,A=c(()=>h.value),D=c(()=>{if(!m.value||!u.value)return{};var b={};return F(p.value,$=>{$.isStatic||(b=Object.assign({},b,$.requestData))}),i.value?i.value(n.value,b,d.value):b});return{data:A,requestData:D,load:l,update:s,clear:o,reset:f,prepare:v}},Jm=function(a,t,r,n){var{name:i,storeOrder:u,formatLoad:l,formatData:s,order:o,submit:f,initial:v,default:d}=I(a),{update:p,clear:m,data:h}=Ht(a,t,r),A=r.form$,D=r.children$,b=r.children$Array,$=r.available,_=r.isDisabled,C=r.value,O=r.orderByName,T=r.refreshOrderStore,S=r.dataPath,x=r.parent,L=r.nullValue,z=r.defaultValue,X=r.fire,Q=r.resetValidators,P=r.resetting,M=Y(Tt(A.value.model,S.value)),q=c(()=>x&&x.value?x.value.defaultValue[i.value]:A.value.options.default[i.value]),B=c(()=>{if(!$.value||!f.value)return{};var ie=[];return F(D.value,we=>{var Be=we.requestData[we.name];Be!==void 0&&ie.push(Be)}),s.value?s.value(i.value,ie,A.value):{[i.value]:ie}}),N=c(()=>Object.keys(C.value||{}).length),ne=function(){var we=arguments.length>0&&arguments[0]!==void 0?arguments[0]:void 0,Be=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,dt=u.value?Object.assign({},we||{},{[u.value]:we?we[u.value]:void 0}):we;C.value=T(C.value.concat([dt]));var wt=C.value.length-1;return X("add",wt,dt,C.value),Be&&pt(()=>{b.value[b.value.length-1].focus()}),wt},J=ie=>{C.value=C.value.filter((we,Be)=>Be!==ie),T(C.value),X("remove",ie,C.value)},H=function(){var ie=te(function*(we){var Be=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,dt=$t(Be&&l.value?l.value(we,A.value):we);m(),yield pt();for(var wt=0;wt<dt.length;wt++)ne();yield pt(),F(D.value,(jt,na)=>{jt.load(dt[na],Be)})});return function(Be){return ie.apply(this,arguments)}}(),ve=()=>{if(P.value=!0,C.value=Ee(z.value),Q(),!C.value.length&&v.value>0){for(var ie=0;ie<v.value;ie++)ne();b.value.forEach(we=>{we.reset()})}pt(()=>{T(C.value)})},Me=function(){var ie=te(function*(){yield aa(b.value,function(){var we=te(function*(Be){Be.prepare&&(yield Be.prepare())});return function(Be){return we.apply(this,arguments)}}())});return function(){return ie.apply(this,arguments)}}(),$t=ie=>{if(!o.value&&!O.value||!ie)return ie;var we=o.value&&typeof o.value=="string"&&o.value.toUpperCase()=="DESC";return O.value?ie=we?Pd(ie,O.value).reverse():Pd(ie,O.value):o.value&&(ie=we?ie.sort().reverse():ie.sort()),ie},Ce=()=>{_.value||ne(void 0,!0)},Ve=ie=>{_.value||J(ie)};if(M.value===void 0&&q.value===void 0&&d.value===void 0)if(v.value>0)for(var se=0;se<v.value;se++)ne();else C.value=L.value;else M.value===void 0&&(C.value=z.value);return{requestData:B,data:h,length:N,add:ne,remove:J,load:H,update:p,clear:m,reset:ve,handleAdd:Ce,handleRemove:Ve,prepare:Me}},_I=function(a,t,r){var{formatLoad:n}=I(a),{data:i,requestData:u,update:l,clear:s,reset:o,prepare:f}=Ht(a,t,r),v=r.form$,d=r.value,p=r.loadDateFormat,m=function(A){var D=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,b=D&&n.value?n.value(A,v.value):A;tn(p.value,b),d.value=b instanceof Date||!b?b:j(b,p.value).toDate()};return{data:i,requestData:u,load:m,update:l,clear:s,reset:o,prepare:f}},DI=function(a,t,r){var{formatLoad:n}=I(a),{data:i,requestData:u,update:l,clear:s,reset:o,prepare:f}=Ht(a,t,r),v=r.form$,d=r.value,p=r.loadDateFormat,m=function(A){var D=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,b=D&&n.value?n.value(A,v.value):A;d.value=Mr(b,$=>(tn(p.value,$),$ instanceof Date?$:j($,p.value).toDate()))};return{data:i,requestData:u,load:m,update:l,clear:s,reset:o,prepare:f}},To=function(a,t,r){var n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},{formatLoad:i}=I(a),{data:u,requestData:l,clear:s,reset:o,prepare:f}=Ht(a,t,r,n),v=r.form$,d=r.value,p=r.language,m=r.nullValue,h=b=>{if(n.setValue)return n.setValue(b);d.value=b},A=function($){var _=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,C=_&&i.value?i.value($,v.value):$;if(!Ze(C))throw new Error("Multilingual element requires an object to load");h(Object.assign({},Na(m.value),C))},D=b=>{var $=b;Ze($)||($={[p.value]:b}),h(Object.assign({},d.value,$))};return{data:u,requestData:l,load:A,update:D,clear:s,reset:o,prepare:f}},$I=function(a,t,r){var{data:n,requestData:i,load:u,update:l,clear:s,reset:o,prepare:f}=Ht(a,t,r,{setValue:p=>{d.value=p,pt(()=>{v.value.update(p)})}}),v=r.input,d=r.value;return{data:n,requestData:i,load:u,update:l,clear:s,reset:o,prepare:f}},wI=function(a,t,r){var{data:n,requestData:i,load:u,update:l,clear:s,reset:o,prepare:f}=To(a,t,r,{setValue:h=>{p.value=h,pt(()=>{v.value.update(h[m.value])})}}),v=r.input,d=r.model,p=r.value,m=r.language;return De(m,()=>{v.value.update(d.value)}),{data:n,requestData:i,load:u,update:l,clear:s,reset:o,prepare:f}},Tu=function(a,t,r){var{load:n,update:i,clear:u,reset:l,prepare:s}=Ht(a,t,r),{submit:o,formatData:f,name:v}=I(a),d=r.form$,p=r.available,m=r.value,h=c(()=>{var D,b=m.value;return typeof b=="object"&&(D=b)!==null&&D!==void 0&&D.__file__&&(b=b instanceof File?b:G({},b),delete b.__file__),{[v.value]:b}}),A=c(()=>{var D;if(!p.value||!o.value)return{};var b=m.value;return typeof b=="object"&&(D=b)!==null&&D!==void 0&&D.__file__&&(b=b instanceof File?b:G({},b),delete b.__file__),f.value?f.value(v.value,b,d.value):{[v.value]:b}});return{data:h,requestData:A,load:n,update:i,clear:u,reset:l,prepare:s}},CI=function(a,t,r){var{length:n,add:i,remove:u,load:l,update:s,clear:o,reset:f,handleAdd:v,handleRemove:d,prepare:p}=Jm(a,t,r),{submit:m,formatData:h,name:A}=I(a),D=r.form$,b=r.available,$=r.value,_=r.children$,C=c(()=>{var T=$.value;return T=T.map(S=>{if(typeof S=="object"&&S!==null&&S!==void 0&&S.__file__){var x=S instanceof File?S:G({},S);return delete x.__file__,x}return S}),{[A.value]:T}}),O=c(()=>{if(!b.value||!m.value)return{};var T=[];return F(_.value,S=>{var x=S.requestData[S.name];if(x!==void 0){var L;if(typeof x=="object"&&(L=x)!==null&&L!==void 0&&L.__file__){var z=Tu instanceof File?Tu:G({},Tu);delete z.__file__,x=z}T.push(x)}}),h.value?h.value(A.value,T,D.value):{[A.value]:T}});return{requestData:O,data:C,length:n,add:i,remove:u,load:l,update:s,clear:o,reset:f,handleAdd:v,handleRemove:d,prepare:p}},SI=xo,FI=xo,ra=function(a,t,r){var{default:n,name:i}=I(a),u=r.nullValue,l=r.form$,s=r.parent,o=c(()=>{var f;return s&&s.value&&!s.value.mounted?f=s.value.defaultValue[i.value]:!l.value.mounted&&l.value.options.default[i.value]!==void 0&&(f=l.value.options.default[i.value]),f!==void 0?f instanceof File?new File([f],f.name,f):Ee(f):n.value!==void 0?n.value instanceof File?new File([n.value],n.value.name,n.value):Ee(n.value):Ee(u.value)});return{defaultValue:o}},Sl=function(a,t,r){var{default:n,name:i}=I(a),u=r.nullValue,l=r.form$,s=r.parent,o=We("config$"),f=c(()=>{var v;return s&&s.value&&!s.value.mounted?v=s.value.defaultValue[i.value]:!l.value.mounted&&typeof l.value.options.default[i.value]!==void 0&&(v=l.value.options.default[i.value]),v!==void 0?v instanceof File?new File([v],v.name,v):Ze(v)?Ut(Ee(v),o.value,l.value):Ee(v):n.value!==void 0?n.value instanceof File?new File([n.value],n.value.name,n.value):Ze(n.value)?Ut(Ee(n.value),o.value,l.value):Ee(n.value):Ee(u.value)});return{defaultValue:f}},OI=function(a,t,r){var{default:n,name:i}=I(a),u=r.nullValue,l=r.form$,s=r.parent,o=c(()=>{var f;return s&&s.value&&!s.value.mounted?f=s.value.defaultValue[i.value]:!l.value.mounted&&l.value.options.default[i.value]&&(f=l.value.options.default[i.value]),f!==void 0?Ee(mr({},n.value||u.value,f)):Object.keys(n.value).length>0?Ee(n.value):Ee(u.value)});return{defaultValue:o}},EI=function(a,t,r){var{default:n}=I(a),i=r.form$,u=r.parent,l=c(()=>{var s={};return u&&u.value&&!u.value.mounted?s=u.value.defaultValue:!i.value.mounted&&i.value.options.default&&(s=i.value.options.default),Ee(mr({},n.value,s))});return{defaultValue:l}},Mo=function(a,t,r){var{default:n,name:i}=I(a),u=r.nullValue,l=r.form$,s=r.parent,o=c(()=>{var f;if(s&&s.value&&!s.value.mounted?f=s.value.defaultValue[i.value]:!l.value.mounted&&l.value.options.default[i.value]&&(f=l.value.options.default[i.value]),f!==void 0)return Ee(Object.assign({},Na(u.value),f));if(n.value===void 0)return Na(u.value);var v=Na(n.value);if(!Ze(v)){var d={};F(u.value,(p,m)=>{d[m]=v}),v=d}return Object.assign({},Na(u.value),v)});return{defaultValue:o}},la=function(a,t,r){var{rules:n}=I(a),i=r.form$,u=r.path,l=Y({dirty:!1,validated:!0}),s=Y([]),o=Y({}),f=Tg({}),v=Y(!1),d=c(()=>n.value),p=c(()=>l.value.dirty),m=c(()=>l.value.validated),h=c(()=>Te(s.value,{invalid:!0})),A=c(()=>Te(s.value,{pending:!0})),D=c(()=>A.value),b=c(()=>{var M=[];return F(s.value,q=>{q.failing&&M.push(q.message)}),M}),$=c(()=>o.value.errors),_=c(()=>o.value.error||null),C=c(()=>_.value!==null),O=c(()=>d.value&&d.value.length>0&&l.value.validated&&!h.value||(!d.value||!d.value.length)&&p.value),T=function(){var M=te(function*(){if(d.value&&i.value.validation!==!1){if(v.value){v.value=!1;return}yield aa(s.value,function(){var q=te(function*(B){yield B.validate()});return function(B){return q.apply(this,arguments)}}()),l.value.validated=!0}});return function(){return M.apply(this,arguments)}}(),S=()=>{F(s.value,M=>{M.reset()}),l.value.validated=!d.value},x=()=>{l.value.dirty=!0},L=()=>{l.value.dirty=!1},z=()=>{o.value&&o.value.clear()},X=()=>{o.value=new i.value.$vueform.services.messageBag(b)},Q=()=>{d.value&&(l.value.validated=!1,f.value=new i.value.$vueform.services.validation.factory(u.value,i.value),s.value=[],F(f.value.makeAll(d.value),M=>{s.value.push(M)}))},P=()=>{Q()};return{state:l,Validators:s,messageBag:o,resetting:v,dirty:p,validated:m,invalid:h,pending:A,busy:D,errors:$,error:_,validationRules:d,isDanger:C,isSuccess:O,validate:T,dirt:x,clean:L,clearMessages:z,resetValidators:S,initMessageBag:X,initValidation:Q,reinitValidation:P}},Qn=function(a,t,r){var{state:n,Validators:i,messageBag:u,resetting:l,dirty:s,validated:o,invalid:f,pending:v,errors:d,error:p,validationRules:m,isDanger:h,isSuccess:A,validate:D,dirt:b,clean:$,clearMessages:_,resetValidators:C,initMessageBag:O,initValidation:T,reinitValidation:S}=la(a,t,r),x=c(()=>Te(i.value,{debouncing:!0})),L=c(()=>v.value||x.value);return{state:n,Validators:i,messageBag:u,resetting:l,dirty:s,validated:o,invalid:f,pending:v,debouncing:x,busy:L,errors:d,error:p,validationRules:m,isDanger:h,isSuccess:A,validate:D,dirt:b,clean:$,clearMessages:_,resetValidators:C,initMessageBag:O,initValidation:T,reinitValidation:S}},Fl=function(a,t,r){var{state:n,Validators:i,messageBag:u,validationRules:l,dirt:s,initValidation:o,resetting:f}=la(a,t,r),v=r.form$,d=r.children$,p=c(()=>Te(d.value,{available:!0,dirty:!0})||n.value.dirty),m=c(()=>!Te(d.value,{available:!0,validated:!1})&&n.value.validated),h=c(()=>Te(d.value,{available:!0,invalid:!0})||Te(i.value,{invalid:!0})),A=c(()=>Te(d.value,{available:!0,pending:!0})||Te(i.value,{pending:!0})),D=c(()=>Te(d.value,{available:!0,debouncing:!0})||Te(i.value,{debouncing:!0})),b=c(()=>Te(d.value,{available:!0,busy:!0})||A.value||D.value),$=c(()=>{var q=[];return F(i.value,B=>{B.failing&&q.push(B.message)}),q}),_=c(()=>{var q=[];return F(d.value,B=>{!B.available||B.isStatic||F(B.errors,N=>{q.push(N)})}),q}),C=c(()=>$.value.concat(_.value)),O=c(()=>u.value.errors),T=c(()=>zu($.value)),S=function(){var q=te(function*(){if(f.value){f.value=!1;return}yield x(),yield L()});return function(){return q.apply(this,arguments)}}(),x=function(){var q=te(function*(){v.value.validation!==!1&&(yield aa(i.value,function(){var B=te(function*(N){yield N.validate()});return function(N){return B.apply(this,arguments)}}()),n.value.validated=!0)});return function(){return q.apply(this,arguments)}}(),L=function(){var q=te(function*(){v.value.validation!==!1&&(yield aa(d.value,function(){var B=te(function*(N){N.isStatic||(yield N.validate())});return function(N){return B.apply(this,arguments)}}()))});return function(){return q.apply(this,arguments)}}(),z=()=>{F(d.value,q=>{q.isStatic||q.clean()}),n.value.dirty=!1},X=()=>{u.value&&u.value.clear(),F(d.value,q=>{q.isStatic||q.clearMessages()})},Q=()=>{F(d.value,q=>{q.isStatic||q.resetValidators()}),F(i.value,q=>{q.reset()}),n.value.validated=!l.value},P=()=>{u.value=new v.value.$vueform.services.messageBag(C)},M=()=>{o(),F(d.value,q=>{q.isStatic||q.reinitValidation()})};return{state:n,Validators:i,messageBag:u,resetting:f,dirty:p,validated:m,invalid:h,pending:A,debouncing:D,busy:b,validatorErrors:$,childrenErrors:_,errors:O,error:T,validationRules:l,validate:S,validateValidators:x,validateChildren:L,dirt:s,clean:z,clearMessages:X,resetValidators:Q,initMessageBag:P,initValidation:o,reinitValidation:M}},ko=function(a,t,r){var{rules:n}=I(a),i=r.form$,u=r.path,l=r.languages,s=r.language,o=r.value,{messageBag:f,clearMessages:v,resetting:d}=Qn(a,t,r),p=Y({dirty:{},validated:{}}),m=Y({}),h=c(()=>{var J={};return n.value&&F(l.value,H=>{J[H]=Ze(n.value)?n.value[H]||null:n.value}),J}),A=c(()=>Te(p.value.dirty,J=>J===!0)),D=c(()=>!Te(p.value.validated,J=>J===!1)),b=c(()=>{var J=!1;return F(m.value,H=>{Te(H,{invalid:!0})&&(J=!0)}),J}),$=c(()=>{var J=!1;return F(m.value,H=>{Te(H,{pending:!0})&&(J=!0)}),J}),_=c(()=>{var J=!1;return F(m.value,H=>{Te(H,{debouncing:!0})&&(J=!0)}),J}),C=c(()=>$.value||_.value),O=c(()=>{var J=[];return F(m.value,(H,ve)=>{F(H,Me=>{Me.failing&&J.push(Me.message+" ("+ve+")")})}),J}),T=c(()=>f.value.errors),S=c(()=>{var J=null;F(m.value[s.value],ve=>{if(J!==null)return!1;ve.failing&&(J=ve.message)});var H=f.value.prepends?f.value.prepends.errors:[];return J!==null&&(H=Uu(H,[J])),H=Uu(H,f.value.appends?f.value.appends.errors:[]),zu(H)}),x=c(()=>S.value!==null&&S.value!==void 0),L=c(()=>h.value[s.value]&&h.value[s.value].length>0&&p.value.validated[s.value]&&!Te(m.value[s.value],{invalid:!0})||(!h.value[s.value]||!h.value[s.value].length)&&p.value.dirty[s.value]),z=function(){var J=te(function*(){if(d.value){d.value=!1;return}yield aa(l.value,function(){var H=te(function*(ve){yield X(ve)});return function(ve){return H.apply(this,arguments)}}())});return function(){return J.apply(this,arguments)}}(),X=function(){var J=te(function*(){var H=arguments.length>0&&arguments[0]!==void 0?arguments[0]:s.value;i.value.validation!==!1&&m.value[H]&&(yield aa(m.value[H],function(){var ve=te(function*(Me){yield Me.validate(o.value[H])});return function(Me){return ve.apply(this,arguments)}}()),p.value.validated[H]=!0)});return function(){return J.apply(this,arguments)}}(),Q=()=>{F(l.value,J=>{F(m.value[J],H=>{H.reset()}),F(h.value,(H,ve)=>{p.value.validated[ve]=!(H.length>0)})})},P=()=>{p.value.dirty[s.value]=!0},M=()=>{p.value.dirty[s.value]=!1},q=()=>{var J={},H={};F(l.value,ve=>{J[ve]=!1}),F(l.value,ve=>{H[ve]=!0}),p.value={dirty:J,validated:H}},B=()=>{f.value=new i.value.$vueform.services.messageBag(O)},N=()=>{if(h.value){F(h.value,(H,ve)=>{p.value.validated[ve]=!(H!==null&&H.length>0)});var J=new i.value.$vueform.services.validation.factory(u.value,i.value);m.value={},F(h.value,(H,ve)=>{H!==null&&(m.value[ve]||(m.value=Object.assign({},m.value,{[ve]:[]})),F(J.makeAll(H),Me=>{m.value[ve].push(Me)}))})}},ne=()=>{N()};return{state:p,Validators:m,messageBag:f,resetting:d,dirty:A,validated:D,invalid:b,pending:$,debouncing:_,busy:C,errors:T,error:S,validationRules:h,isDanger:x,isSuccess:L,validate:z,validateLanguage:X,dirt:P,clean:M,clearMessages:v,resetValidators:Q,initState:q,initMessageBag:B,initValidation:N,reinitValidation:ne}},xI=function(a,t,r){var n=r.value,{state:i,Validators:u,messageBag:l,resetting:s,dirty:o,validated:f,invalid:v,pending:d,busy:p,errors:m,error:h,validationRules:A,dirt:D,clean:b,clearMessages:$,resetValidators:_,initMessageBag:C,initValidation:O,reinitValidation:T}=la(a,t,r),S=function(){var x=te(function*(){if(A.value){if(s.value){s.value=!1;return}oe(n.value)?yield aa(n.value,function(){var L=te(function*(z){if(yield aa(u.value,function(){var X=te(function*(Q){yield Q.validate(z)});return function(Q){return X.apply(this,arguments)}}()),v.value)return!1});return function(z){return L.apply(this,arguments)}}()):yield aa(u.value,function(){var L=te(function*(z){yield z.validate(n.value)});return function(z){return L.apply(this,arguments)}}()),i.value.validated=!0}});return function(){return x.apply(this,arguments)}}();return{state:i,Validators:u,messageBag:l,resetting:s,dirty:o,validated:f,invalid:v,pending:d,busy:p,errors:m,error:h,validationRules:A,validate:S,dirt:D,clean:b,clearMessages:$,resetValidators:_,initMessageBag:C,initValidation:O,reinitValidation:T}},TI=function(a,t,r){var n=r.form$,i=r.value,u=r.uploading,l=r.removing,{state:s,Validators:o,messageBag:f,resetting:v,dirty:d,validated:p,invalid:m,pending:h,errors:A,error:D,validationRules:b,dirt:$,clean:_,clearMessages:C,resetValidators:O,initMessageBag:T,initValidation:S,reinitValidation:x}=la(a,t,r),L=c(()=>h.value||u.value||l.value),z=function(){var X=te(function*(){if(b.value&&n.value.validation!==!1){if(v.value){v.value=!1;return}var Q=["min","max","between","size","mimetypes","mimes","dimensions","file","image","gt","gte","lt","lte"];yield aa(o.value,function(){var P=te(function*(M){!(i.value instanceof File)&&i.value&&Q.indexOf(M.name)!==-1||(yield M.validate())});return function(M){return P.apply(this,arguments)}}()),s.value.validated=!0}});return function(){return X.apply(this,arguments)}}();return{state:s,Validators:o,messageBag:f,resetting:v,dirty:d,validated:p,invalid:m,pending:h,busy:L,errors:A,error:D,validationRules:b,validate:z,dirt:$,clean:_,clearMessages:C,resetValidators:O,initMessageBag:T,initValidation:S,reinitValidation:x}},MI=function(a,t,r){var{displayKey:n}=I(a),i=r.form$,u=r.value,{state:l,Validators:s,messageBag:o,resetting:f,dirty:v,validated:d,invalid:p,pending:m,debouncing:h,busy:A,errors:D,error:b,validationRules:$,isSuccess:_,isDanger:C,dirt:O,clean:T,clearMessages:S,resetValidators:x,initMessageBag:L,initValidation:z,reinitValidation:X}=Qn(a,t,r),Q=function(){var P=te(function*(){if($.value&&i.value.validation!==!1){if(f.value){f.value=!1;return}yield aa(s.value,function(){var M=te(function*(q){yield q.validate(u.value[n.value])});return function(q){return M.apply(this,arguments)}}()),l.value.validated=!0}});return function(){return P.apply(this,arguments)}}();return{state:l,Validators:s,messageBag:o,resetting:f,dirty:v,validated:d,invalid:p,pending:m,debouncing:h,busy:A,errors:D,error:b,validationRules:$,isSuccess:_,isDanger:C,validate:Q,dirt:O,clean:T,clearMessages:S,resetValidators:x,initMessageBag:L,initValidation:z,reinitValidation:X}},kI=Fl,BI=Fl,Ot=function(a,t,r){var{name:n,floating:i,placeholder:u,label:l,fieldName:s}=I(a),o=r.form$,f=r.Label,v=We("config$"),d=c(()=>s&&s.value?Ut(s.value,v.value,o.value):l&&l.value?f.value:i&&i.value?Ut(i.value,v.value,o.value):u&&u.value&&o.value.options.floatPlaceholders?Ut(u.value,v.value,o.value):sn(n.value).replace(/_|-/g," "));return{genericName:d}},qI=function(a,t,r){var{name:n,embed:i,label:u,fieldName:l}=I(a),s=r.form$,o=r.Label,f=r.filename||Y(null),v=We("config$"),d=c(()=>i.value&&f.value?f.value:l&&l.value?Ut(l.value,v.value,s.value):u.value?o.value:/^\d+$/.test(n.value)?s.value.translations.vueform.elements.file.defaultName:sn(n.value).replace(/_|-/g," "));return{genericName:d}},Et=function(a,t,r){var n,i,u=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},{name:l,type:s}=I(a),o=r.parent,f=r.defaultValue,v=r.dataPath,d=r.form$;r.isObject,r.isGroup,r.isList;var p=Y(void 0);d.value.isSync?p.value=Tt(d.value.model,v.value):o.value&&(o.value.isObjectType||o.value.isGroupType||o.value.isListType)&&(p.value=o.value.value[l.value]);var m=Y(f.value instanceof File?f.value:Ee(f.value)),h=c({get:((n=u.value)===null||n===void 0?void 0:n.get)||function(){var D;return d.value.isSync?D=Tt(d.value.model,v.value):o.value&&(o.value.isObjectType||o.value.isGroupType||o.value.isListType)?D=o.value.value[l.value]:D=m.value,D!==void 0?D:f.value instanceof File?f.value:Ee(f.value)},set:((i=u.value)===null||i===void 0?void 0:i.set)||function(D){if(d.value.isSync)d.value.updateModel(v.value,D);else if(o.value&&o.value.isListType){var b=o.value.value.map(($,_)=>_==l.value?D:$);o.value.update(b)}else o.value&&(o.value.isObjectType||o.value.isGroupType)?o.value.value=Object.assign({},o.value.value,{[l.value]:D}):m.value=D}}),A=c({get(){return h.value},set(D){h.value=D}});return(u.init===void 0||u.init!==!1)&&p.value===void 0&&(h.value=f.value instanceof File?f.value:Ee(f.value)),De(s,()=>{h.value=f.value instanceof File?f.value:Ee(f.value)}),{initialValue:p,internalValue:m,value:h,model:A}},jI=function(a,t,r){var{initialValue:n,internalValue:i,value:u,model:l}=Et(a,t,r,{init:!1});return{initialValue:n,internalValue:i,value:u,model:l}},NI=function(a,t,r){var n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},{initialValue:i,internalValue:u,value:l}=Et(a,t,r,{init:!1}),s=r.defaultValue;return(n.init===void 0||n.init!==!1)&&(i.value===void 0?l.value=s.value:l.value=Object.assign({},s.value,l.value)),{internalValue:u,value:l}},PI=function(a,t,r){var n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},i=r.parent,u=r.dataPath,l=r.defaultValue,s=r.children$Array,o=r.form$;r.isObject,r.isGroup,r.isList;var f=Y(Ee(l.value)),v=c(n.value||{get(){var d;o.value.isSync?d=u.value?Tt(o.value.model,u.value)||{}:o.value.model:i.value&&(i.value.isObjectType||i.value.isGroupType)?d=i.value.value:d=f.value;var p=s.value.reduce((h,A)=>{if(A.isStatic||!A)return h;var D=[];if(!A.flat)D.push(A.name);else{var b=$=>{$.forEach(_=>{!_.isStatic&&_.flat?b(_.children$Array):_.isStatic||D.push(_.name)})};b(A.children$Array)}return h.concat(D)},[]),m={};return p.forEach(h=>{d[h]!==void 0&&(m[h]=d[h])}),d=m,d!==void 0?d:Ee(l.value)},set(d){o.value.isSync?o.value.updateModel(u.value,d):i.value&&(i.value.isObjectType||i.value.isGroupType)?i.value.value=Object.assign({},i.value.value,d):f.value=d}});return{value:v}},Bo=function(a,t,r){var{value:n}=Et(a,t,r),i=r.language,u=c({get(){return n.value[i.value]},set(l){n.value=Object.assign({},n.value,{[i.value]:l})}});return{value:n,model:u}},II=function(a,t,r){var{name:n}=I(a),i=r.parent,u=r.valueDateFormat,l=r.defaultValue,s=r.dataPath,o=r.form$;r.isObject,r.isGroup,r.isList;var f=Y(l.value instanceof File?l.value:Ee(l.value)),{value:v,initialValue:d}=Et(a,t,r,{value:{get(){var m;return o.value.isSync?m=Tt(o.value.model,s.value):i.value&&(i.value.isObjectType||i.value.isGroupType||i.value.isListType)?m=i.value.value[n.value]:m=f.value,m!==void 0?m:l.value instanceof File?l.value:Ee(l.value)},set(m){if(!wi(m)&&!(m instanceof Date)&&u.value!==!1&&tn(u.value,m),m=m&&m instanceof Date&&u.value!==!1?j(m).format(u.value):m,o.value.isSync)o.value.updateModel(s.value,m);else if(i.value&&i.value.isListType){var h=i.value.value.map((A,D)=>D==n.value?m:A);i.value.update(h)}else i.value&&(i.value.isObjectType||i.value.isGroupType)?i.value.value=Object.assign({},i.value.value,{[n.value]:m}):f.value=m}}}),p=c(()=>v.value instanceof Date||!v.value?v.value:j(v.value,u.value).toDate());return{value:v,model:p,initialValue:d,internalValue:f}},LI=function(a,t,r){var{name:n}=I(a),i=r.parent,u=r.valueDateFormat,l=r.defaultValue,s=r.dataPath,o=r.form$;r.isObject,r.isGroup,r.isList;var f=Y(l.value instanceof File?l.value:Ee(l.value)),{value:v,initialValue:d}=Et(a,t,r,{value:{get(){var m;return o.value.isSync?m=Tt(o.value.model,s.value):i.value&&(i.value.isObjectType||i.value.isGroupType||i.value.isListType)?m=i.value.value[n.value]:m=f.value,m!==void 0?m:l.value instanceof File?l.value:Ee(l.value)},set(m){if(Array.isArray(m)||(m=[m]),m=m.map(A=>(!wi(A)&&!(A instanceof Date)&&u.value!==!1&&tn(u.value,A),A&&A instanceof Date&&u.value!==!1?j(A).format(u.value):A)),o.value.isSync)o.value.updateModel(s.value,m);else if(i.value&&i.value.isListType){var h=i.value.value.map((A,D)=>D==n.value?m:A);i.value.update(h)}else i.value&&(i.value.isObjectType||i.value.isGroupType)?i.value.value=Object.assign({},i.value.value,{[n.value]:m}):f.value=m}}}),p=c(()=>v.value.map(m=>m instanceof Date||!m?m:j(m,u.value).toDate()));return{value:v,model:p,initialValue:d,internalValue:f}},Kt=function(a,t,r){var n=r.form$,i=r.el$,u=r.fire,l=r.dirt,s=r.validate,o=r.value,f=()=>{De(o,(v,d)=>{Pr(v,d)||(u("change",v,d,i.value),l&&l(),s&&n.value.shouldValidateOnChange&&s())},{immediate:!1,deep:!0})};return{initWatcher:f}},qo=function(a,t,r){var n=r.form$,i=r.el$,u=r.fire,l=r.dirt,s=r.value,o=r.language,f=r.validateLanguage,v=()=>{De(s,(d,p)=>{Pr(d,p)||(u("change",d,p,i.value),l&&l(),n.value.shouldValidateOnChange&&f(o.value))},{immediate:!1,deep:!0})};return{initWatcher:v}},Qm=function(a,t,r){var n=r.form$,i=r.el$,u=r.fire,l=r.dirt,s=r.validateValidators,o=r.value,f=()=>{De(o,(v,d)=>{Pr(v,d)||(u("change",v,d,i.value),l&&l(),s&&n.value.shouldValidateOnChange&&s())},{immediate:!1,deep:!0})};return{initWatcher:f}},eh=function(a,t,r){var n=r.form$,i=r.fire,u=r.value,l=r.el$,s=r.dirt,o=r.validateValidators,f=()=>{De(u,(v,d)=>{Pr(v,d)||(i("change",v,d,l.value),s&&s(),o&&n.value.shouldValidateOnChange&&o())},{immediate:!1,deep:!0})};return{initWatcher:f}},RI=function(a,t,r){var{displayKey:n}=I(a),i=r.form$,u=r.el$,l=r.fire,s=r.dirt,o=r.validate,f=r.value,v=r.input,d=()=>{De(f,(p,m)=>{Pr(p,m)||(l("change",p,m,u.value),s(),v.value.value=v.value&&f.value&&f.value[n.value]!==void 0?f.value[n.value]:"",o&&i.value.shouldValidateOnChange&&o())},{immediate:!1,deep:!0})};return{initWatcher:d}},YI=Qm,VI=eh,jo=function(a,t,r){var{text:n}=I(a),i=We("config$"),u=We("form$"),l=c(()=>Ut(n.value,i.value,u.value)||"");return{Text:l}},Cr=function(a,t,r){var n=c(()=>null);return{nullValue:n}},ei=function(a,t,r){var n=c(()=>[]);return{nullValue:n}},th=function(a,t,r){var{falseValue:n}=I(a),i=c(()=>n.value);return{nullValue:i}},UI=function(a,t,r){var{min:n,default:i}=I(a),u=c(()=>i.value!==void 0&&oe(i.value)?i.value.map(l=>n.value):n.value);return{nullValue:u}},ah=function(a,t,r){var n=c(()=>({}));return{nullValue:n}},zI=function(a,t,r){var n=c(()=>({country:null,country_code:null,state:null,state_code:null,city:null,zip:null,address:null,formatted_address:null,lat:null,lng:null}));return{nullValue:n}},No=function(a,t,r){var n=r.languages,i=c(()=>{var u={};return F(n.value,l=>{u[l]=null}),u});return{nullValue:i}},HI=function(a,t,r){var n=c(()=>t.nullValue!==void 0?t.nullValue:null);return{nullValue:n}},WI=function(a,t,r){var{trueValue:n,falseValue:i}=I(a),u=r.update,l=()=>{u(n.value)},s=()=>{u(i.value)};return{check:l,uncheck:s}},GI=function(a,t,r){var{trueValue:n,falseValue:i}=I(a),u=r.update,l=()=>{u(n.value)},s=()=>{u(i.value)};return{check:l,uncheck:s}},gt={props:{onChange:{required:!1,type:[Function],default:null,private:!0}}},yt={props:{formatData:{required:!1,type:[Function],default:null},formatLoad:{required:!1,type:[Function],default:null},submit:{required:!1,type:[Boolean],default:!0}}},bt={props:{rules:{required:!1,type:[Array,String,Object],default:null},messages:{required:!1,type:[Object],default:()=>({})},fieldName:{required:!1,type:[String],"@default":"name|label"}}},rh={name:"CheckboxElement",mixins:[et,ft,gt,yt,bt],emits:["change","beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeUnmount","unmounted"],props:{type:{required:!1,type:[String],default:"checkbox",private:!0},default:{required:!1,type:[String,Boolean,Number],default:void 0},id:{required:!1,type:[String],default:null},text:{required:!1,type:[String,Object],localized:!0,default:null},disabled:{required:!1,type:[Boolean],default:!1},trueValue:{required:!1,type:[Boolean,String,Number],default:!0},falseValue:{required:!1,type:[Boolean,String,Number],default:!1},align:{required:!1,type:[String],default:void 0}},setup(e,a){return a.features=[ze,He,lt,Yt,ot,kt,th,Qe,Ie,Bt,ra,Xe,la,Et,Ht,rt,Ot,it,Je,at,nt,ut,GI,Fo,Kt,st,jo],a.slots=["default","label","info","description","before","between","after"],G({},qt(e,a))}},KI=function(a,t,r){var n=r.value,i=r.resolvedOptions,u=v=>{n.value.indexOf(String(v))===-1&&n.value.indexOf(Number(v))===-1?l(v):s(v)},l=v=>{oe(v)||(v=[v]);var d=Na(n.value);F(v,p=>{d.indexOf(String(p))===-1&&d.indexOf(Number(p))===-1&&d.push(p)}),n.value=d},s=v=>{oe(v)||(v=[v]);var d=Na(n.value);F(v,p=>{var m=d.indexOf(String(p));m===-1&&(m=d.indexOf(Number(p))),m!==-1&&d.splice(m,1)}),n.value=d},o=()=>{l(i.value.map(v=>v.value))},f=()=>{s(i.value.map(v=>v.value))};return{toggle:u,check:l,uncheck:s,checkAll:o,uncheckAll:f}},nh=function(a,t,r){var{items:n,valueProp:i,labelProp:u,dataKey:l,searchParam:s,clearOnRefetch:o}=I(a),f=r.isNative,v=r.disable,d=r.enable,p=r.input,m=r.value,h=r.nullValue,A=r.path,D=r.el$,b=r.form$,$=We("config$"),_=Y(null),C=Y([]),O=c(()=>{if(!f.value)return _.value;var P=[];return F(_.value,(M,q)=>{[null,void 0].indexOf(M)===-1&&(Array.isArray(_.value)&&typeof M=="object"?(M[i.value]===void 0&&console.warn("You must define `value` property for each option when using an array of objects options for select element"),P.push({value:M[i.value],label:M[u.value]})):Array.isArray(_.value)?P.push({value:M,label:M}):P.push({value:q,label:M}))}),P.map(M=>G(G({},M),{},{label:Ut(M.label,$.value,b.value)}))}),T=function(){var P=te(function*(){var M=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;if(!f.value){var q;typeof n.value=="string"&&(_.value=x()),yield(q=p.value)===null||q===void 0?void 0:q.resolveOptions();return}M&&v(),typeof n.value=="string"?yield S():typeof n.value=="function"?yield L():_.value=n.value,M&&d()});return function(){return P.apply(this,arguments)}}(),S=function(){var P=te(function*(){try{var M,q=yield Q(n.value,T),B=((M=yield b.value.$vueform.services.axios.get(q))===null||M===void 0?void 0:M.data)||[];l&&l.value&&Object.keys(B).length&&(B=Tt(B,l.value)||[]),_.value=B}catch(ne){_.value=[],console.warn("Couldn't resolve items from ".concat(n.value),ne)}finally{var N;X(((N=O.value)===null||N===void 0?void 0:N.map(ne=>ne.value))||[])}});return function(){return P.apply(this,arguments)}}(),x=()=>function(){var P=te(function*(M){var q=yield Q(n.value,T),B;try{var N;B=((N=yield b.value.$vueform.services.axios.get("".concat(q).concat(q.match(/\?/)?"&":"?").concat(s.value,"=").concat(M||"")))===null||N===void 0?void 0:N.data)||[],l&&l.value&&Object.keys(B).length&&(B=Tt(B,l.value)||[])}catch(ne){console.error(ne)}finally{setTimeout(()=>{var ne;X(((ne=p.value)===null||ne===void 0||(ne=ne.eo)===null||ne===void 0?void 0:ne.map(J=>J[i.value]))||[])},0)}return B});return function(M){return P.apply(this,arguments)}}(),L=function(){var P=te(function*(){try{_.value=(yield n.value(D.value))||[]}catch(M){_.value=[],console.warn("Couldn't resolve items from async function",M)}});return function(){return P.apply(this,arguments)}}(),z=function(){var P=te(function*(M,q){typeof n.value=="function"&&f.value?yield L():(!Xn(M,q)||M===void 0&&q===void 0)&&(typeof n.value=="string"&&f.value?yield S():typeof n.value=="string"&&!f.value?_.value=x():_.value=n.value)});return function(q,B){return P.apply(this,arguments)}}(),X=P=>{if(o.value){m.value=Ee(h.value);return}!Array.isArray(h.value)&&m.value&&P.indexOf(m.value)===-1?m.value=Ee(h.value):Array.isArray(h.value)&&m.value.length&&(m.value=m.value.filter(M=>P.indexOf(M)!==-1))},Q=function(){var P=te(function*(M,q){var B=/{([^}]+)}/g,N=M;if(M.match(B)){yield pt(),C.value.forEach(H=>H());for(var ne,J=function*(){var ve,Me=((ve=ne[1].match(/\|'([^']+)/))===null||ve===void 0?void 0:ve[1])||"",$t=Ga(ne[1].match(/^([^|]+)/)[1],A.value),Ce=b.value.el$($t),Ve=typeof(Ce==null?void 0:Ce.value)<"u"&&Ce.value!==null&&typeof Ce.value=="object"?JSON.stringify(Ce.value):typeof(Ce==null?void 0:Ce.value)<"u"&&Ce.value!==null?Ce.value:Me;N=N.replace(ne[0],encodeURIComponent(Ve)),C.value.push(De(c(()=>Ce==null?void 0:Ce.value),()=>{q()}))};(ne=B.exec(M))!==null;)yield*J()}return N});return function(q,B){return P.apply(this,arguments)}}();return{resolveOptions:z,resolvedOptions:O,updateItems:T,watchers:C,cleanupValue:X,resolveUrlAndSetWatchers:Q}},Po=function(a,t,r){var{items:n}=I(a),{resolveOptions:i,resolvedOptions:u,updateItems:l,watchers:s,cleanupValue:o,resolveUrlAndSetWatchers:f}=nh(a,t,r);return i(),De(n,i),{resolveOptions:i,resolvedOptions:u,updateItems:l,watchers:s,cleanupValue:o,resolveUrlAndSetWatchers:f}},ih=function(a,t,r){var{items:n}=I(a),{watchers:i,cleanupValue:u,resolveUrlAndSetWatchers:l}=nh(a,t,r),s=r.disableAll,o=r.enableAll,f=r.el$,v=r.form$,d=We("config$"),p=Y(null),m=c(()=>{var $=[];return F(p.value,(_,C)=>{[null,void 0].indexOf(_)===-1&&(Array.isArray(p.value)&&typeof _=="object"?(_.value===void 0&&console.warn("You must define `value` property for each item when using an array of objects options"),$.push(_)):Array.isArray(p.value)?$.push({value:_,label:_}):typeof _=="object"?$.push(G(G({},_),{},{value:C})):$.push({label:_,value:C}))}),$.map(_=>G(G({},_),{},{label:Ut(_.label,d.value,v.value)}))}),h=function(){var $=te(function*(){var _=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;_&&s(),typeof n.value=="string"?yield A():yield D(),_&&o()});return function(){return $.apply(this,arguments)}}(),A=function(){var $=te(function*(){try{var _,C,O=yield l(n.value,h);p.value=((_=yield v.value.$vueform.services.axios.get(O))===null||_===void 0?void 0:_.data)||[],u(((C=m.value)===null||C===void 0?void 0:C.map(T=>T.value))||[])}catch(T){p.value=[],console.warn("Couldn't resolve items from ".concat(n.value),T)}});return function(){return $.apply(this,arguments)}}(),D=function(){var $=te(function*(){try{p.value=(yield n.value(f.value))||[]}catch(_){p.value=[],console.warn("Couldn't resolve items from async function",_)}});return function(){return $.apply(this,arguments)}}(),b=function(){var $=te(function*(){typeof n.value=="function"?yield D():typeof n.value=="string"?yield A():p.value=n.value});return function(){return $.apply(this,arguments)}}();return b(),De(n,b),{resolveOptions:b,resolvedOptions:m,updateItems:h,watchers:i,cleanupValue:u,resolveUrlAndSetWatchers:l}},ZI=ih,XI=Po,JI=Po,uh={name:"CheckboxgroupElement",mixins:[et,ft,gt,yt,bt],emits:["change","beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeUnmount","unmounted"],props:{type:{required:!1,type:[String],default:"checkboxgroup",private:!0},default:{required:!1,type:[Array],default:()=>[]},id:{required:!1,type:[String],default:null},items:{required:!1,type:[Object,Array,Function,String],localized:!0,default:()=>({})},disabled:{required:!1,type:[Boolean],default:!1},disables:{required:!1,type:[Array],default:()=>[]},clearOnRefetch:{type:[Boolean],required:!1,default:!0}},setup(e,a){return a.features=[ze,He,lt,ot,ei,Qe,Ie,HP,Hm,ra,Et,ih,Xe,la,KI,Ht,rt,Ot,nt,it,Je,at,ut,Oo,Kt,st],a.slots=["checkbox","label","info","description","before","between","after"],G({},qt(e,a))}},on=function(a,t,r){var{addons:n,slots:i}=I(a),u=r.el$,l=r.form$,s=c(()=>{var f,v;return!!(n.value.before||(f=u.value.$slots)!==null&&f!==void 0&&f["addon-before"]||l.value.$vueform.vueVersion===2&&(v=u.value.$scopedSlots)!==null&&v!==void 0&&v["addon-before"]||i.value["addon-before"])}),o=c(()=>{var f,v;return!!(n.value.after||(f=u.value.$slots)!==null&&f!==void 0&&f["addon-after"]||l.value.$vueform.vueVersion===2&&(v=u.value.$scopedSlots)!==null&&v!==void 0&&v["addon-after"]||i.value["addon-after"])});return{hasAddonBefore:s,hasAddonAfter:o}},ar=function(a,t,r){var n=r.value,i=r.nullValue,u=c(()=>Xn(n.value,i.value)||[void 0,null,""].indexOf(n.value)!==-1);return{empty:u}},Io=function(a,t,r){var n=r.value,i=r.nullValue,u=r.language,l=c(()=>n.value[u.value]==i.value[u.value]||n.value[u.value]==="");return{empty:l}},Ol=function(a,t,r){var n=r.value,i=r.nullValue,u=c(()=>Xn(n.value,i.value)||[void 0,null,""].indexOf(n.value)!==-1||n.value.length==0);return{empty:u}},QI=function(a,t,r){var{displayFormat:n,valueFormat:i,loadFormat:u,date:l,time:s,seconds:o,hour24:f}=I(a),v=r.form$,d=c(()=>{var b;return l.value&&s.value&&o.value&&f.value?b="datetimeSeconds24":l.value&&s.value&&o.value&&!f.value?b="datetimeSeconds12":l.value&&s.value&&!o.value&&f.value?b="datetime24":l.value&&s.value&&!o.value&&!f.value?b="datetime12":!l.value&&s.value&&o.value&&f.value?b="timeSeconds24":!l.value&&s.value&&o.value&&!f.value?b="timeSeconds12":!l.value&&s.value&&!o.value&&f.value?b="time24":!l.value&&s.value&&!o.value&&!f.value?b="time12":b="date",b}),p=c(()=>v.value.translations.vueform.dateFormats[d.value]),m=c(()=>{var b={datetimeSeconds24:"YYYY-MM-DD HH:mm:ss",datetimeSeconds12:"YYYY-MM-DD hh:mm:ss a",datetime24:"YYYY-MM-DD HH:mm",datetime12:"YYYY-MM-DD hh:mm a",timeSeconds24:"HH:mm:ss",timeSeconds12:"hh:mm:ss a",time24:"HH:mm",time12:"hh:mm a",date:"YYYY-MM-DD"};return b[d.value]}),h=c(()=>n.value!==null?n.value:p.value),A=c(()=>i.value!==null||i.value===!1?i.value:m.value),D=c(()=>u.value!==null?u.value:m.value);return{displayDateFormat:h,valueDateFormat:A,loadDateFormat:D}},eL=function(a,t,r){var{displayFormat:n,valueFormat:i,loadFormat:u}=I(a),l=r.form$,s=c(()=>l.value.translations.vueform.dateFormats.date),o=c(()=>n.value!==null?n.value:s.value),f=c(()=>i.value!==null||i.value===!1?i.value:s.value),v=c(()=>u.value!==null?u.value:s.value);return{displayDateFormat:o,valueDateFormat:f,loadDateFormat:v}},El=function(a,t,r){var n=r.value,i=u=>{n.value=u};return{handleChange:i}},rr=function(a,t,r){var{floating:n,placeholder:i}=I(a),u=r.form$,l=c(()=>!!(n.value||i.value&&u.value.options.floatPlaceholders)&&n.value!==!1);return{hasFloating:l}},Ta=function(a,t,r){var{placeholder:n}=I(a),i=We("config$"),u=We("form$"),l=c(()=>Ut(n.value,i.value,u.value));return{Placeholder:l}},lh=function(a,t,r){var{disables:n,min:i,max:u,extendOptions:l,readonly:s,hour24:o,seconds:f,date:v,time:d}=I(a),p=r.isDisabled,m=r.displayDateFormat,h=r.valueDateFormat,A=c(()=>n.value===void 0?[]:Mr(n.value,T=>(tn(h.value,T),T instanceof Date?T:j(T,h.value,!0).toDate()))),D=c(()=>i.value?(tn(h.value,i.value),i.value instanceof Date?i.value:j(i.value,h.value,!0).toDate()):null),b=c(()=>u.value?(tn(h.value,u.value),u.value instanceof Date?u.value:j(u.value,h.value,!0).toDate()):null),$=c(()=>({dateFormat:m.value,minDate:D.value,maxDate:b.value,disable:A.value,clickOpens:!p.value&&!s.value,time_24hr:o.value,enableTime:d.value,enableSeconds:f.value,noCalendar:!v.value})),_=c(()=>Object.assign({},$.value,l.value||{})),C=c(()=>!0),O=c(()=>!1);return{minDate:D,maxDate:b,disabledDates:A,fieldOptions:_,hasDate:C,hasTime:O}},tL=function(a,t,r){var{mode:n,extendOptions:i,readonly:u}=I(a),{minDate:l,maxDate:s,disabledDates:o}=lh(a,t,r),f=r.isDisabled,v=r.displayDateFormat,d=c(()=>({mode:n.value,dateFormat:v.value,minDate:l.value,maxDate:s.value,disable:o.value,clickOpens:!f.value&&!u.value})),p=c(()=>Object.assign({},d.value,i.value||{})),m=c(()=>!0),h=c(()=>!1);return{minDate:l,maxDate:s,disabledDates:o,fieldOptions:p,hasDate:m,hasTime:h}},aL=function(a,t,r){var{native:n,extendOptions:i,labelProp:u,trackBy:l,valueProp:s,search:o,limit:f,noOptionsText:v,noResultsText:d,caret:p,object:m,delay:h,minChars:A,resolveOnLoad:D,filterResults:b,clearOnSearch:$,canDeselect:_,canClear:C,openDirection:O,strict:T,closeOnSelect:S,closeOnDeselect:x,autocomplete:L,groups:z,groupLabel:X,groupOptions:Q,groupHideEmpty:P,inputType:M,create:q,appendNewOption:B,addOptionOn:N,appendTo:ne,appendToBody:J}=I(a),H=r.form$,ve=r.isLoading,Me=We("config$"),$t=c(()=>n.value&&!o.value),Ce=c(()=>({mode:"single",searchable:o.value||q.value,noOptionsText:v.value||H.value.translations.vueform.multiselect.noOptions,noResultsText:d.value||H.value.translations.vueform.multiselect.noResults,locale:Object.keys(Me.value.i18n.locales).length>1?Me.value.i18n.locale:null,fallbackLocale:Me.value.i18n.fallbackLocale,label:u.value,trackBy:l.value,valueProp:s.value,limit:f.value,caret:p.value,loading:ve.value,object:m.value,delay:h.value,minChars:A.value,resolveOnLoad:D.value,filterResults:b.value,clearOnSearch:$.value,canDeselect:_.value,canClear:C.value,openDirection:O.value,strict:T.value,closeOnSelect:S.value,closeOnDeselect:x.value,autocomplete:L.value,groups:z.value,groupLabel:X.value,groupOptions:Q.value,groupHideEmpty:P.value,inputType:M.value,createOption:q.value,appendNewOption:B.value,addOptionOn:N.value,appendTo:ne.value,appendToBody:J.value})),Ve=c(()=>Object.assign({},Ce.value,i.value||{}));return{fieldOptions:Ve,isNative:$t}},rL=function(a,t,r){var{native:n,extendOptions:i,labelProp:u,trackBy:l,valueProp:s,search:o,limit:f,noOptionsText:v,noResultsText:d,caret:p,object:m,delay:h,minChars:A,resolveOnLoad:D,filterResults:b,clearOnSearch:$,clearOnSelect:_,canClear:C,max:O,openDirection:T,strict:S,closeOnSelect:x,closeOnDeselect:L,autocomplete:z,groups:X,groupLabel:Q,groupOptions:P,groupHideEmpty:M,groupSelect:q,inputType:B,hideSelected:N,multipleLabel:ne,multipleLabelMultiple:J,multipleLabelSingle:H,create:ve,appendNewOption:Me,addOptionOn:$t,appendTo:Ce,appendToBody:Ve}=I(a),se=r.form$,ie=r.isLoading,we=We("config$"),Be=c(()=>n.value&&!o.value),dt=c(()=>({mode:"multiple",searchable:o.value||ve.value,noOptionsText:v.value||se.value.translations.vueform.multiselect.noOptions,noResultsText:d.value||se.value.translations.vueform.multiselect.noResults,multipleLabel:ne.value||((jt,na)=>jt&&jt.length>1?J.value?J.value.replace(":x:",jt.length):se.value.__(se.value.translations.vueform.multiselect.multipleLabelMore,{options:jt.length}):H.value||se.value.translations.vueform.multiselect.multipleLabelOne),locale:Object.keys(we.value.i18n.locales).length>1?we.value.i18n.locale:null,fallbackLocale:we.value.i18n.fallbackLocale,label:u.value,trackBy:l.value,valueProp:s.value,limit:f.value,caret:p.value,loading:ie.value,object:m.value,delay:h.value,minChars:A.value,resolveOnLoad:D.value,filterResults:b.value,clearOnSearch:$.value,clearOnSelect:_.value,canClear:C.value,max:O.value,openDirection:T.value,strict:S.value,closeOnSelect:x.value,closeOnDeselect:L.value,autocomplete:z.value,groups:X.value,groupLabel:Q.value,groupOptions:P.value,groupHideEmpty:M.value,groupSelect:q.value,inputType:B.value,hideSelected:N.value,createOption:ve.value,appendNewOption:Me.value,addOptionOn:$t.value,appendTo:Ce.value,appendToBody:Ve.value})),wt=c(()=>Object.assign({},dt.value,i.value||{}));return{fieldOptions:wt,isNative:Be}},nL=function(a,t,r){var{extendOptions:n,labelProp:i,trackBy:u,valueProp:l,search:s,limit:o,noOptionsText:f,noResultsText:v,caret:d,object:p,delay:m,minChars:h,resolveOnLoad:A,filterResults:D,clearOnSearch:b,clearOnSelect:$,canClear:_,max:C,showOptions:O,openDirection:T,strict:S,closeOnSelect:x,closeOnDeselect:L,autocomplete:z,groups:X,groupLabel:Q,groupOptions:P,groupHideEmpty:M,groupSelect:q,inputType:B,hideSelected:N,create:ne,appendNewOption:J,addOptionOn:H,breakTags:ve,appendTo:Me,appendToBody:$t}=I(a),Ce=r.form$,Ve=r.isLoading,se=We("config$"),ie=Y(!1),we=c(()=>!1),Be=c(()=>({mode:"tags",searchable:s.value||ne.value,noOptionsText:f.value||Ce.value.translations.vueform.multiselect.noOptions,noResultsText:v.value||Ce.value.translations.vueform.multiselect.noResults,locale:Object.keys(se.value.i18n.locales).length>1?se.value.i18n.locale:null,fallbackLocale:se.value.i18n.fallbackLocale,label:i.value,trackBy:u.value,valueProp:l.value,limit:o.value,caret:d.value,loading:Ve.value,object:p.value,delay:m.value,minChars:h.value,resolveOnLoad:A.value,filterResults:D.value,clearOnSearch:b.value,clearOnSelect:$.value,canClear:_.value,max:C.value,showOptions:O.value,openDirection:T.value,strict:S.value,closeOnSelect:x.value,closeOnDeselect:L.value,autocomplete:z.value,groups:X.value,groupLabel:Q.value,groupOptions:P.value,groupHideEmpty:M.value,groupSelect:q.value,inputType:B.value,hideSelected:N.value,createOption:ne.value,appendNewOption:J.value,addOptionOn:H.value,breakTags:ve.value,appendTo:Me.value,appendToBody:$t.value})),dt=c(()=>Object.assign({},Be.value,n.value||{}));return{native:ie,fieldOptions:dt,isNative:we}},iL=function(a,t,r){var{min:n,max:i,step:u,tooltips:l,merge:s,format:o,orientation:f,direction:v,extendOptions:d,showTooltip:p,tooltipPosition:m,lazy:h}=I(a),A=r.isDisabled;r.labelId;var D=c(()=>({min:n.value,max:i.value,step:u.value,tooltips:l.value,merge:s.value,format:o.value,orientation:f.value,direction:v.value,disabled:A.value,showTooltip:p.value,tooltipPosition:m.value,lazy:h.value})),b=c(()=>Object.assign({},D.value,d.value||{}));return{fieldOptions:b}},uL=function(a,t,r){var{labels:n,extendOptions:i,trueValue:u,falseValue:l}=I(a),s=r.isDisabled,o=r.form$,f=We("config$"),v=c(()=>({disabled:s.value,offLabel:n.value&&Ut(n.value.off,f.value,o.value)||"",onLabel:n.value&&Ut(n.value.on,f.value,o.value)||"",trueValue:u.value,falseValue:l.value})),d=c(()=>Object.assign({},v.value,i.value||{}));return{fieldOptions:d}},ti=function(a,t,r){var n=r.input,i=Y(!1);return Dt(()=>{n&&n.value&&n.value.addEventListener&&(n.value.addEventListener("focus",()=>{i.value=!0}),n.value.addEventListener("blur",()=>{i.value=!1}))}),{focused:i}},sh=function(a,t,r){var n=r.input,i=Y(!1);return Dt(()=>{n.value.input.addEventListener("focus",()=>{i.value=!0}),n.value.input.addEventListener("blur",()=>{i.value=!1})}),{focused:i}},Lo=function(a,t,r){var n=r.input,i=r.isNative,u=Y(!1);return Dt(()=>{i.value?(n.value.addEventListener("focus",()=>{u.value=!0}),n.value.addEventListener("blur",()=>{u.value=!1})):De(c(()=>{var l;return(l=n.value)===null||l===void 0?void 0:l.isActive}),l=>{u.value=l})}),{focused:u}},lL=sh,sL=Lo,oL=Lo,oh={name:"DateElement",mixins:[et,ft,gt,yt,bt],emits:["change","beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeUnmount","unmounted"],props:{type:{required:!1,type:[String],default:"date",private:!0},default:{required:!1,type:[String,Date],default:null},addons:{required:!1,type:[Object],localized:!0,default:()=>({})},disabled:{required:!1,type:[Boolean],default:!1},floating:{required:!1,type:[String,Boolean,Object],localized:!0,default:null},id:{required:!1,type:[String],default:null},displayFormat:{required:!1,type:[String],default:null,"@default":"locale.vueform.dateFormats.*"},valueFormat:{required:!1,type:[String,Boolean],default:null,"@default":"locale.vueform.dateFormats.*"},loadFormat:{required:!1,type:[String],default:null,"@default":"locale.vueform.dateFormats.*"},date:{required:!1,type:[Boolean],default:!0},time:{required:!1,type:[Boolean],default:!1},seconds:{required:!1,type:[Boolean],default:!1},hour24:{required:!1,type:[Boolean],default:!0},min:{required:!1,type:[String,Date],default:null},max:{required:!1,type:[String,Date],default:null},disables:{required:!1,type:[Array],default:()=>[]},extendOptions:{required:!1,type:[Object],default:()=>({})},placeholder:{required:!1,type:[String,Object],localized:!0,default:null},readonly:{required:!1,type:[Boolean],default:!1}},setup(e,a){return a.features=[ze,He,lt,Yt,ot,kt,Cr,Qe,rr,Ie,Bt,on,QI,lh,ra,Xe,la,II,_I,ar,rt,Ot,it,Je,at,nt,ut,El,sh,Ft,Kt,st,Ta],a.slots=["label","info","description","before","between","after","addon-before","addon-after"],G({},qt(e,a))}},fh={name:"DatesElement",mixins:[et,ft,gt,yt,bt],emits:["change","beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeUnmount","unmounted"],props:{type:{required:!1,type:[String],default:"dates",private:!0},default:{required:!1,type:[Array],default:()=>[]},addons:{required:!1,type:[Object],localized:!0,default:()=>({})},disabled:{required:!1,type:[Boolean],default:!1},floating:{required:!1,type:[String,Boolean,Object],localized:!0,default:null},id:{required:!1,type:[String],default:null},displayFormat:{required:!1,type:[String],default:null},valueFormat:{required:!1,type:[String,Boolean],default:null},loadFormat:{required:!1,type:[String,Boolean],default:null},mode:{required:!1,type:[String],default:"multiple"},min:{required:!1,type:[String,Date],default:null},max:{required:!1,type:[String,Date],default:null},disables:{required:!1,type:[Array],default:()=>[]},extendOptions:{required:!1,type:[Object],default:()=>({})},placeholder:{required:!1,type:[String,Object],localized:!0,default:null},readonly:{required:!1,type:[Boolean],default:!1}},setup(e,a){return a.features=[ze,He,lt,Yt,ot,kt,ei,Qe,rr,Ie,WP,on,eL,tL,ra,LI,Xe,la,DI,ar,rt,Ot,it,Je,at,nt,ut,El,lL,Ft,Kt,st,Ta],a.slots=["label","info","description","before","between","after","addon-before","addon-after"],G({},qt(e,a))}},fL=function(a,t,r){var{embed:n,auto:i,methods:u,urls:l,uploadTempEndpoint:s,removeTempEndpoint:o,removeEndpoint:f,url:v,previewUrl:d,params:p,softRemove:m,view:h}=I(a),A=r.form$,D=r.value,b=r.isDisabled,$=r.validate,_=r.invalid,C=r.path,O=r.axios,T=r.request,S=r.uploading,x=r.input,L=r.update,z=r.fire;r.isImageType;var X=r.removing,Q=r.handleError,P=r.el$,M=Y(!1),q=Y(0),B=Y(!1),N=c(()=>{var pe=A.value.$vueform.config.endpoints,Se={uploadTempFile:s.value,removeTempFile:o.value,removeFile:f.value},ue={};return Object.keys(Se).forEach(he=>{var ge=pe[he];l.value[he]&&(ge={url:l.value[he],method:"POST"}),u.value[he]&&typeof ge=="object"&&(ge.method=u.value[he]),typeof Se[he]=="string"&&(pe[Se[he]]!==void 0?ge=pe[Se[he]]:ge.url=Se[he]),Se[he]===!1&&(ge=nr=>nr),typeof Se[he]=="function"&&(ge=Se[he]),typeof Se[he]=="object"&&(ge={url:Se[he].url||Se[he].endpoint||pe[he].url,method:Se[he].method||pe[he].method}),ue[he]=ge}),ue}),ne=c(()=>{if(v.value===void 0)return"/";if(v.value===!1)return"";var pe=v.value;return pe.match(/\/$/)||(pe+="/"),!pe.match(/^http/)&&!pe.match(/^\//)&&(pe="/"+pe),pe}),J=c(()=>{if(d.value===void 0)return ne.value;var pe=d.value;return pe.match(/\/$/)||(pe+="/"),!pe.match(/^http/)&&!pe.match(/^\//)&&(pe="/"+pe),pe}),H=c(()=>D.value===null?0:D.value instanceof File?1:Da(D.value)&&D.value.tmp!==void 0?2:$l(D.value)?3:-1),ve=c(()=>{switch(H.value){case 1:return D.value.name;case 2:return D.value.originalName;case 3:return D.value;default:return null}}),Me=c(()=>{if(Ve.value)return ne.value+ve.value}),$t=c(()=>{if(Ve.value)return J.value+ve.value}),Ce=c(()=>{var pe;return h.value==="file"?null:Ve.value?$t.value:D.value instanceof File?URL.createObjectURL(D.value):((pe=D.value)===null||pe===void 0?void 0:pe.__file__)instanceof File?URL.createObjectURL(D.value.__file__):null}),Ve=c(()=>H.value===3),se=c(()=>H.value>0&&!S.value&&!b.value&&!B.value&&!X.value),ie=c(()=>H.value===1&&!i.value&&!S.value&&!b.value),we=c(()=>!n.value&&H.value==0),Be=function(){var pe=te(function*(){if(H.value!==1)throw new Error("No file is selected");if(yield $(),!_.value){T.value=O.value.CancelToken.source();try{var Se=Uc(Object.assign({},p.value,{file:D.value,formKey:A.value.options.formKey,path:C.value}));M.value=!1;var ue;if(typeof N.value.uploadTempFile=="function")ue=yield N.value.uploadTempFile(D.value,P.value);else{var he=N.value.uploadTempFile.method.toLowerCase();ue=yield O.value.request({url:N.value.uploadTempFile.url,method:he,[he==="get"?"params":"data"]:Se,onUploadProgress:ge=>{q.value=Math.round(ge.loaded*100/ge.total)},cancelToken:T.value.token}),ue=ue.data}ue&&typeof ue=="object"&&(ue.__file__=D.value),L(ue)}catch(ge){throw q.value=0,O.value.isCancel(ge)||(M.value=!0,Q(ge)),new Error(ge)}finally{T.value=null}}});return function(){return pe.apply(this,arguments)}}(),dt=function(){var pe=te(function*(){X.value=!0,M.value=!1;try{if(H.value===3&&!m.value){if(!confirm(A.value.translations.vueform.elements.file.removeConfirm))return!1;if(typeof N.value.removeFile=="function")yield N.value.removeFile(D.value,P.value);else{var Se=N.value.removeFile.method.toLowerCase();yield O.value.request({method:Se,url:N.value.removeFile.url,[Se==="get"?"params":"data"]:Object.assign({},p.value,{file:D.value,formKey:A.value.options.formKey,path:C.value})})}}else if(H.value===2&&!m.value)if(typeof N.value.removeTempFile=="function")yield N.value.removeTempFile(D.value,P.value);else{var ue=N.value.removeTempFile.method.toLowerCase();yield O.value.request({method:ue,url:N.value.removeTempFile.url,[ue==="get"?"params":"data"]:Object.assign({},p.value,{file:D.value.tmp,formKey:A.value.options.formKey,path:C.value})})}}catch(he){Q(he);return}finally{X.value=!1}L(null),q.value=0,z("remove")});return function(){return pe.apply(this,arguments)}}(),wt=function(){var pe=te(function*(){if(H.value===1){B.value=!0;try{yield Be()}finally{B.value=!1}}});return function(){return pe.apply(this,arguments)}}(),jt=function(){var pe=te(function*(Se){var ue=Se.target.files[0];x.value.value="",L(ue||null),i.value&&(yield Be()),A.value.shouldValidateOnChange&&$()});return function(ue){return pe.apply(this,arguments)}}(),na=()=>{b.value||x.value.click()},Zt=()=>{Be()},le=()=>{dt()},xe=()=>{T.value!==null&&T.value.cancel()};return D.value instanceof File&&i.value&&pt(()=>{Be()}),{hasUploadError:M,progress:q,preparing:B,endpoints:N,fileUrl:ne,stage:H,filename:ve,link:Me,preview:Ce,uploaded:Ve,canRemove:se,canUploadTemp:ie,canSelect:we,uploadTemp:Be,remove:dt,prepare:wt,handleChange:jt,handleClick:na,handleUploadTemp:Zt,handleRemove:le,handleAbort:xe}},dL=function(a,t,r){var n=r.form$,i=Y(null),u=Y(null),l=c(()=>i.value!==null);return Dt(()=>{u.value=n.value.$vueform.services.axios}),{request:i,axios:u,uploading:l}};function dh(e,a){return a?(oe(a)||(a=a.split(","),F(a,(t,r)=>{a[r]=t.trim()})),Te(a,t=>{var r=t.match(/^([^\/]+)\/\*$/);return r?!!new RegExp("^".concat(r[1],"/")).exec(e.type):t==e.type?!0:t==".".concat(e.name.split(".").pop())})):!0}var vh=function(a,t,r){var{accept:n,auto:i}=I(a),u=r.update,l=r.isDisabled,s=r.uploadTemp,o=c(()=>{var v=document.createElement("div");return("draggable"in v||"ondragstart"in v&&"ondrop"in v)&&"FormData"in window&&"FileReader"in window}),f=v=>{if(!l.value){var d=v.dataTransfer.files[0];dh(d,n.value)&&(u(d||null),i.value&&s(),d.value=null)}};return{canDrop:o,handleDrop:f}},vL=function(a,t,r){var{accept:n}=I(a),{canDrop:i}=vh(a,t,r),u=r.add,l=r.isDisabled,s=r.isObject,o=r.storeFileName,f=v=>{!v.dataTransfer||!v.dataTransfer.files||v.dataTransfer.files.length==0||l.value||F(v.dataTransfer.files,d=>{dh(d,n.value)&&u(s.value?{[o.value]:d}:d)})};return{canDrop:i,handleDrop:f}},cL=function(a,t,r){var n=Y(!1);return{removing:n}},Ro=function(a,t,r){var n=r.fire;r.listeners;var i=u=>{n("error",u)};return{handleError:i}},ch={name:"FileElement",mixins:[et,ft,gt,yt,bt],emits:["change","remove","error","beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeUnmount","unmounted"],props:{type:{required:!1,type:[String],default:"file",private:!0},default:{required:!1,type:[String,Object],default:null},disabled:{required:!1,type:[Boolean],default:!1},id:{required:!1,type:[String],default:null},onRemove:{required:!1,type:[Function],default:null,private:!0},onError:{required:!1,type:[Function],default:null,private:!0},view:{type:[String],required:!1,default:"file"},drop:{required:!1,type:[Boolean],default:!1},accept:{required:!1,type:[String,Array],default:null},clickable:{required:!1,type:[Boolean],default:!0},url:{required:!1,type:[String,Boolean],default:"/"},previewUrl:{required:!1,type:[String],default:void 0},auto:{required:!1,type:[Boolean],default:!0},urls:{required:!1,type:[Object],default:()=>({})},methods:{required:!1,type:[Object],default:()=>({})},uploadTempEndpoint:{required:!1,type:[Object,String,Function,Boolean],default:void 0,"@default":"config.endpoints.uploadTempFile"},removeTempEndpoint:{required:!1,type:[Object,String,Function,Boolean],default:void 0,"@default":"config.endpoints.removeTempFile"},removeEndpoint:{required:!1,type:[Object,String,Function,Boolean],default:void 0,"@default":"config.endpoints.removeFile"},params:{required:!1,type:[Object],default:()=>({})},softRemove:{required:!1,type:[Boolean],default:!1},embed:{type:[Boolean],required:!1,default:!1,private:!0}},setup(e,a){return a.features=[ze,He,lt,Yt,ot,kt,Cr,cL,Qe,Ie,zP,dL,ra,Xe,Et,TI,Tu,Ro,fL,vh,ar,rt,qI,it,Je,at,nt,ut,IP,Kt,st],a.slots=["label","info","description","before","between","after"],G({},qt(e,a))}},fn=function(a,t,r){var n=r.model,i=u=>{n.value=u.target.value};return{handleInput:i}},On={register:!1,name:"GenericElement",mixins:[et,ft,gt,yt,bt],emits:["change","beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeUnmount","unmounted"],props:{type:{required:!1,type:[String],default:"",private:!0},id:{required:!1,type:[String],default:null},disabled:{required:!1,type:[Boolean],default:!1},default:{required:!1,type:[String,Number,Object],default:void 0}},setup(e,a){return a.features=[ze,He,lt,Yt,ot,kt,HI,Qe,Ie,Bt,Sl,Xe,Qn,Et,Ht,ar,rt,Ot,it,Je,at,nt,ut,fn,ti,Ft,Kt,st],a.slots=["label","info","description","before","between","after"],G({},qt(e,a))}},Yo=function(a,t,r){var n=Y([]),i=c(()=>{var u={};return n.value.forEach(l=>{u[l.name]=l}),u});return{children$Array:n,children$:i}},ph=function(a,t,r){var n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},i=n.schemaName||"schema",{[i]:u}=I(a),{children$Array:l,children$:s}=Yo(),o=c(()=>u.value);return u&&De(u,f=>{var v=[];F(f,(d,p)=>{v.push(l.value[l.value.map(m=>Mt(m.name)).indexOf(Mt(p))])}),l.value=v},{flush:"post",deep:!0}),{children:o,children$Array:l,children$:s}},pL=ph,mh={name:"GroupElement",mixins:[et,ft,gt,yt,bt],emits:["change","beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeUnmount","unmounted"],props:{type:{required:!1,type:[String],default:"group",private:!0},default:{required:!1,type:[Object],default:()=>({})},id:{required:!1,type:[String],default:null},schema:{required:!1,type:[Object],default:()=>({})}},setup(e,a){return a.features=[ze,He,lt,ZP,Qe,ah,Ie,UP,pL,EI,rt,kI,PI,nu,pP,it,Je,at,nt,ut,AI,Ft,VI,st],a.slots=["label","info","description","before","between","after"],G({},qt(e,a))}},hh={name:"HiddenElement",mixins:[et,gt,yt,bt],emits:["change","beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeUnmount","unmounted"],props:{type:{required:!1,type:[String],default:"hidden",private:!0},default:{required:!1,type:[String,Number,Object],default:null},id:{required:!1,type:[String],default:null},meta:{required:!1,type:[Boolean],default:!1}},setup(e,a){return a.features=[ze,He,Yt,ot,Cr,Ot,Qe,Je,Ie,Bt,ra,Xe,la,Et,Ht,ar,Kt,st],G({},qt(e,a))}};/**!
 * Sortable 1.15.2
 * @author	RubaXa   <trash@rubaxa.org>
 * @author	owenm    <owen23355@gmail.com>
 * @license MIT
 */function Id(e,a){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);a&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),t.push.apply(t,r)}return t}function Xa(e){for(var a=1;a<arguments.length;a++){var t=arguments[a]!=null?arguments[a]:{};a%2?Id(Object(t),!0).forEach(function(r){mL(e,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Id(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})}return e}function Mu(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Mu=function(a){return typeof a}:Mu=function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},Mu(e)}function mL(e,a,t){return a in e?Object.defineProperty(e,a,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[a]=t,e}function Ar(){return Ar=Object.assign||function(e){for(var a=1;a<arguments.length;a++){var t=arguments[a];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},Ar.apply(this,arguments)}function hL(e,a){if(e==null)return{};var t={},r=Object.keys(e),n,i;for(i=0;i<r.length;i++)n=r[i],!(a.indexOf(n)>=0)&&(t[n]=e[n]);return t}function gL(e,a){if(e==null)return{};var t=hL(e,a),r,n;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],!(a.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(t[r]=e[r])}return t}var yL="1.15.2";function yr(e){if(typeof window<"u"&&window.navigator)return!!navigator.userAgent.match(e)}var Sr=yr(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),iu=yr(/Edge/i),Ld=yr(/firefox/i),Fi=yr(/safari/i)&&!yr(/chrome/i)&&!yr(/android/i),gh=yr(/iP(ad|od|hone)/i),yh=yr(/chrome/i)&&yr(/android/i),bh={capture:!1,passive:!1};function Ye(e,a,t){e.addEventListener(a,t,!Sr&&bh)}function je(e,a,t){e.removeEventListener(a,t,!Sr&&bh)}function Wu(e,a){if(a){if(a[0]===">"&&(a=a.substring(1)),e)try{if(e.matches)return e.matches(a);if(e.msMatchesSelector)return e.msMatchesSelector(a);if(e.webkitMatchesSelector)return e.webkitMatchesSelector(a)}catch{return!1}return!1}}function bL(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function Ba(e,a,t,r){if(e){t=t||document;do{if(a!=null&&(a[0]===">"?e.parentNode===t&&Wu(e,a):Wu(e,a))||r&&e===t)return e;if(e===t)break}while(e=bL(e))}return null}var Rd=/\s+/g;function ya(e,a,t){if(e&&a)if(e.classList)e.classList[t?"add":"remove"](a);else{var r=(" "+e.className+" ").replace(Rd," ").replace(" "+a+" "," ");e.className=(r+(t?" "+a:"")).replace(Rd," ")}}function be(e,a,t){var r=e&&e.style;if(r){if(t===void 0)return document.defaultView&&document.defaultView.getComputedStyle?t=document.defaultView.getComputedStyle(e,""):e.currentStyle&&(t=e.currentStyle),a===void 0?t:t[a];!(a in r)&&a.indexOf("webkit")===-1&&(a="-webkit-"+a),r[a]=t+(typeof t=="string"?"":"px")}}function qn(e,a){var t="";if(typeof e=="string")t=e;else do{var r=be(e,"transform");r&&r!=="none"&&(t=r+" "+t)}while(!a&&(e=e.parentNode));var n=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return n&&new n(t)}function Ah(e,a,t){if(e){var r=e.getElementsByTagName(a),n=0,i=r.length;if(t)for(;n<i;n++)t(r[n],n);return r}return[]}function Ka(){var e=document.scrollingElement;return e||document.documentElement}function Lt(e,a,t,r,n){if(!(!e.getBoundingClientRect&&e!==window)){var i,u,l,s,o,f,v;if(e!==window&&e.parentNode&&e!==Ka()?(i=e.getBoundingClientRect(),u=i.top,l=i.left,s=i.bottom,o=i.right,f=i.height,v=i.width):(u=0,l=0,s=window.innerHeight,o=window.innerWidth,f=window.innerHeight,v=window.innerWidth),(a||t)&&e!==window&&(n=n||e.parentNode,!Sr))do if(n&&n.getBoundingClientRect&&(be(n,"transform")!=="none"||t&&be(n,"position")!=="static")){var d=n.getBoundingClientRect();u-=d.top+parseInt(be(n,"border-top-width")),l-=d.left+parseInt(be(n,"border-left-width")),s=u+i.height,o=l+i.width;break}while(n=n.parentNode);if(r&&e!==window){var p=qn(n||e),m=p&&p.a,h=p&&p.d;p&&(u/=h,l/=m,v/=m,f/=h,s=u+f,o=l+v)}return{top:u,left:l,bottom:s,right:o,width:v,height:f}}}function Yd(e,a,t){for(var r=kr(e,!0),n=Lt(e)[a];r;){var i=Lt(r)[t],u=void 0;if(t==="top"||t==="left"?u=n>=i:u=n<=i,!u)return r;if(r===Ka())break;r=kr(r,!1)}return!1}function jn(e,a,t,r){for(var n=0,i=0,u=e.children;i<u.length;){if(u[i].style.display!=="none"&&u[i]!==Ae.ghost&&(r||u[i]!==Ae.dragged)&&Ba(u[i],t.draggable,e,!1)){if(n===a)return u[i];n++}i++}return null}function Vo(e,a){for(var t=e.lastElementChild;t&&(t===Ae.ghost||be(t,"display")==="none"||a&&!Wu(t,a));)t=t.previousElementSibling;return t||null}function Fa(e,a){var t=0;if(!e||!e.parentNode)return-1;for(;e=e.previousElementSibling;)e.nodeName.toUpperCase()!=="TEMPLATE"&&e!==Ae.clone&&(!a||Wu(e,a))&&t++;return t}function Vd(e){var a=0,t=0,r=Ka();if(e)do{var n=qn(e),i=n.a,u=n.d;a+=e.scrollLeft*i,t+=e.scrollTop*u}while(e!==r&&(e=e.parentNode));return[a,t]}function AL(e,a){for(var t in e)if(e.hasOwnProperty(t)){for(var r in a)if(a.hasOwnProperty(r)&&a[r]===e[t][r])return Number(t)}return-1}function kr(e,a){if(!e||!e.getBoundingClientRect)return Ka();var t=e,r=!1;do if(t.clientWidth<t.scrollWidth||t.clientHeight<t.scrollHeight){var n=be(t);if(t.clientWidth<t.scrollWidth&&(n.overflowX=="auto"||n.overflowX=="scroll")||t.clientHeight<t.scrollHeight&&(n.overflowY=="auto"||n.overflowY=="scroll")){if(!t.getBoundingClientRect||t===document.body)return Ka();if(r||a)return t;r=!0}}while(t=t.parentNode);return Ka()}function _L(e,a){if(e&&a)for(var t in a)a.hasOwnProperty(t)&&(e[t]=a[t]);return e}function is(e,a){return Math.round(e.top)===Math.round(a.top)&&Math.round(e.left)===Math.round(a.left)&&Math.round(e.height)===Math.round(a.height)&&Math.round(e.width)===Math.round(a.width)}var Oi;function _h(e,a){return function(){if(!Oi){var t=arguments,r=this;t.length===1?e.call(r,t[0]):e.apply(r,t),Oi=setTimeout(function(){Oi=void 0},a)}}}function DL(){clearTimeout(Oi),Oi=void 0}function Dh(e,a,t){e.scrollLeft+=a,e.scrollTop+=t}function $h(e){var a=window.Polymer,t=window.jQuery||window.Zepto;return a&&a.dom?a.dom(e).cloneNode(!0):t?t(e).clone(!0)[0]:e.cloneNode(!0)}function wh(e,a,t){var r={};return Array.from(e.children).forEach(function(n){var i,u,l,s;if(!(!Ba(n,a.draggable,e,!1)||n.animated||n===t)){var o=Lt(n);r.left=Math.min((i=r.left)!==null&&i!==void 0?i:1/0,o.left),r.top=Math.min((u=r.top)!==null&&u!==void 0?u:1/0,o.top),r.right=Math.max((l=r.right)!==null&&l!==void 0?l:-1/0,o.right),r.bottom=Math.max((s=r.bottom)!==null&&s!==void 0?s:-1/0,o.bottom)}}),r.width=r.right-r.left,r.height=r.bottom-r.top,r.x=r.left,r.y=r.top,r}var Aa="Sortable"+new Date().getTime();function $L(){var e=[],a;return{captureAnimationState:function(){if(e=[],!!this.options.animation){var r=[].slice.call(this.el.children);r.forEach(function(n){if(!(be(n,"display")==="none"||n===Ae.ghost)){e.push({target:n,rect:Lt(n)});var i=Xa({},e[e.length-1].rect);if(n.thisAnimationDuration){var u=qn(n,!0);u&&(i.top-=u.f,i.left-=u.e)}n.fromRect=i}})}},addAnimationState:function(r){e.push(r)},removeAnimationState:function(r){e.splice(AL(e,{target:r}),1)},animateAll:function(r){var n=this;if(!this.options.animation){clearTimeout(a),typeof r=="function"&&r();return}var i=!1,u=0;e.forEach(function(l){var s=0,o=l.target,f=o.fromRect,v=Lt(o),d=o.prevFromRect,p=o.prevToRect,m=l.rect,h=qn(o,!0);h&&(v.top-=h.f,v.left-=h.e),o.toRect=v,o.thisAnimationDuration&&is(d,v)&&!is(f,v)&&(m.top-v.top)/(m.left-v.left)===(f.top-v.top)/(f.left-v.left)&&(s=CL(m,d,p,n.options)),is(v,f)||(o.prevFromRect=f,o.prevToRect=v,s||(s=n.options.animation),n.animate(o,m,v,s)),s&&(i=!0,u=Math.max(u,s),clearTimeout(o.animationResetTimer),o.animationResetTimer=setTimeout(function(){o.animationTime=0,o.prevFromRect=null,o.fromRect=null,o.prevToRect=null,o.thisAnimationDuration=null},s),o.thisAnimationDuration=s)}),clearTimeout(a),i?a=setTimeout(function(){typeof r=="function"&&r()},u):typeof r=="function"&&r(),e=[]},animate:function(r,n,i,u){if(u){be(r,"transition",""),be(r,"transform","");var l=qn(this.el),s=l&&l.a,o=l&&l.d,f=(n.left-i.left)/(s||1),v=(n.top-i.top)/(o||1);r.animatingX=!!f,r.animatingY=!!v,be(r,"transform","translate3d("+f+"px,"+v+"px,0)"),this.forRepaintDummy=wL(r),be(r,"transition","transform "+u+"ms"+(this.options.easing?" "+this.options.easing:"")),be(r,"transform","translate3d(0,0,0)"),typeof r.animated=="number"&&clearTimeout(r.animated),r.animated=setTimeout(function(){be(r,"transition",""),be(r,"transform",""),r.animated=!1,r.animatingX=!1,r.animatingY=!1},u)}}}}function wL(e){return e.offsetWidth}function CL(e,a,t,r){return Math.sqrt(Math.pow(a.top-e.top,2)+Math.pow(a.left-e.left,2))/Math.sqrt(Math.pow(a.top-t.top,2)+Math.pow(a.left-t.left,2))*r.animation}var _n=[],us={initializeByDefault:!0},uu={mount:function(a){for(var t in us)us.hasOwnProperty(t)&&!(t in a)&&(a[t]=us[t]);_n.forEach(function(r){if(r.pluginName===a.pluginName)throw"Sortable: Cannot mount plugin ".concat(a.pluginName," more than once")}),_n.push(a)},pluginEvent:function(a,t,r){var n=this;this.eventCanceled=!1,r.cancel=function(){n.eventCanceled=!0};var i=a+"Global";_n.forEach(function(u){t[u.pluginName]&&(t[u.pluginName][i]&&t[u.pluginName][i](Xa({sortable:t},r)),t.options[u.pluginName]&&t[u.pluginName][a]&&t[u.pluginName][a](Xa({sortable:t},r)))})},initializePlugins:function(a,t,r,n){_n.forEach(function(l){var s=l.pluginName;if(!(!a.options[s]&&!l.initializeByDefault)){var o=new l(a,t,a.options);o.sortable=a,o.options=a.options,a[s]=o,Ar(r,o.defaults)}});for(var i in a.options)if(a.options.hasOwnProperty(i)){var u=this.modifyOption(a,i,a.options[i]);typeof u<"u"&&(a.options[i]=u)}},getEventProperties:function(a,t){var r={};return _n.forEach(function(n){typeof n.eventProperties=="function"&&Ar(r,n.eventProperties.call(t[n.pluginName],a))}),r},modifyOption:function(a,t,r){var n;return _n.forEach(function(i){a[i.pluginName]&&i.optionListeners&&typeof i.optionListeners[t]=="function"&&(n=i.optionListeners[t].call(a[i.pluginName],r))}),n}};function SL(e){var a=e.sortable,t=e.rootEl,r=e.name,n=e.targetEl,i=e.cloneEl,u=e.toEl,l=e.fromEl,s=e.oldIndex,o=e.newIndex,f=e.oldDraggableIndex,v=e.newDraggableIndex,d=e.originalEvent,p=e.putSortable,m=e.extraEventProperties;if(a=a||t&&t[Aa],!!a){var h,A=a.options,D="on"+r.charAt(0).toUpperCase()+r.substr(1);window.CustomEvent&&!Sr&&!iu?h=new CustomEvent(r,{bubbles:!0,cancelable:!0}):(h=document.createEvent("Event"),h.initEvent(r,!0,!0)),h.to=u||t,h.from=l||t,h.item=n||t,h.clone=i,h.oldIndex=s,h.newIndex=o,h.oldDraggableIndex=f,h.newDraggableIndex=v,h.originalEvent=d,h.pullMode=p?p.lastPutMode:void 0;var b=Xa(Xa({},m),uu.getEventProperties(r,a));for(var $ in b)h[$]=b[$];t&&t.dispatchEvent(h),A[D]&&A[D].call(a,h)}}var FL=["evt"],oa=function(a,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=r.evt,i=gL(r,FL);uu.pluginEvent.bind(Ae)(a,t,Xa({dragEl:W,parentEl:St,ghostEl:$e,rootEl:At,nextEl:Zr,lastDownEl:ku,cloneEl:Ct,cloneHidden:Er,dragStarted:Ai,putSortable:Wt,activeSortable:Ae.active,originalEvent:n,oldIndex:En,oldDraggableIndex:Ei,newIndex:ba,newDraggableIndex:Or,hideGhostForTarget:Oh,unhideGhostForTarget:Eh,cloneNowHidden:function(){Er=!0},cloneNowShown:function(){Er=!1},dispatchSortableEvent:function(l){ua({sortable:t,name:l,originalEvent:n})}},i))};function ua(e){SL(Xa({putSortable:Wt,cloneEl:Ct,targetEl:W,rootEl:At,oldIndex:En,oldDraggableIndex:Ei,newIndex:ba,newDraggableIndex:Or},e))}var W,St,$e,At,Zr,ku,Ct,Er,En,ba,Ei,Or,Du,Wt,Sn=!1,Gu=!1,Ku=[],Wr,ka,ls,ss,Ud,zd,Ai,Dn,xi,Ti=!1,$u=!1,Bu,Qt,os=[],Ts=!1,Zu=[],xl=typeof document<"u",wu=gh,Hd=iu||Sr?"cssFloat":"float",OL=xl&&!yh&&!gh&&"draggable"in document.createElement("div"),Ch=function(){if(xl){if(Sr)return!1;var e=document.createElement("x");return e.style.cssText="pointer-events:auto",e.style.pointerEvents==="auto"}}(),Sh=function(a,t){var r=be(a),n=parseInt(r.width)-parseInt(r.paddingLeft)-parseInt(r.paddingRight)-parseInt(r.borderLeftWidth)-parseInt(r.borderRightWidth),i=jn(a,0,t),u=jn(a,1,t),l=i&&be(i),s=u&&be(u),o=l&&parseInt(l.marginLeft)+parseInt(l.marginRight)+Lt(i).width,f=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+Lt(u).width;if(r.display==="flex")return r.flexDirection==="column"||r.flexDirection==="column-reverse"?"vertical":"horizontal";if(r.display==="grid")return r.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(i&&l.float&&l.float!=="none"){var v=l.float==="left"?"left":"right";return u&&(s.clear==="both"||s.clear===v)?"vertical":"horizontal"}return i&&(l.display==="block"||l.display==="flex"||l.display==="table"||l.display==="grid"||o>=n&&r[Hd]==="none"||u&&r[Hd]==="none"&&o+f>n)?"vertical":"horizontal"},EL=function(a,t,r){var n=r?a.left:a.top,i=r?a.right:a.bottom,u=r?a.width:a.height,l=r?t.left:t.top,s=r?t.right:t.bottom,o=r?t.width:t.height;return n===l||i===s||n+u/2===l+o/2},xL=function(a,t){var r;return Ku.some(function(n){var i=n[Aa].options.emptyInsertThreshold;if(!(!i||Vo(n))){var u=Lt(n),l=a>=u.left-i&&a<=u.right+i,s=t>=u.top-i&&t<=u.bottom+i;if(l&&s)return r=n}}),r},Fh=function(a){function t(i,u){return function(l,s,o,f){var v=l.options.group.name&&s.options.group.name&&l.options.group.name===s.options.group.name;if(i==null&&(u||v))return!0;if(i==null||i===!1)return!1;if(u&&i==="clone")return i;if(typeof i=="function")return t(i(l,s,o,f),u)(l,s,o,f);var d=(u?l:s).options.group.name;return i===!0||typeof i=="string"&&i===d||i.join&&i.indexOf(d)>-1}}var r={},n=a.group;(!n||Mu(n)!="object")&&(n={name:n}),r.name=n.name,r.checkPull=t(n.pull,!0),r.checkPut=t(n.put),r.revertClone=n.revertClone,a.group=r},Oh=function(){!Ch&&$e&&be($e,"display","none")},Eh=function(){!Ch&&$e&&be($e,"display","")};xl&&!yh&&document.addEventListener("click",function(e){if(Gu)return e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),Gu=!1,!1},!0);var Gr=function(a){if(W){a=a.touches?a.touches[0]:a;var t=xL(a.clientX,a.clientY);if(t){var r={};for(var n in a)a.hasOwnProperty(n)&&(r[n]=a[n]);r.target=r.rootEl=t,r.preventDefault=void 0,r.stopPropagation=void 0,t[Aa]._onDragOver(r)}}},TL=function(a){W&&W.parentNode[Aa]._isOutsideThisEl(a.target)};function Ae(e,a){if(!(e&&e.nodeType&&e.nodeType===1))throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(e));this.el=e,this.options=a=Ar({},a),e[Aa]=this;var t={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(e.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return Sh(e,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(u,l){u.setData("Text",l.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:Ae.supportPointer!==!1&&"PointerEvent"in window&&!Fi,emptyInsertThreshold:5};uu.initializePlugins(this,e,t);for(var r in t)!(r in a)&&(a[r]=t[r]);Fh(a);for(var n in this)n.charAt(0)==="_"&&typeof this[n]=="function"&&(this[n]=this[n].bind(this));this.nativeDraggable=a.forceFallback?!1:OL,this.nativeDraggable&&(this.options.touchStartThreshold=1),a.supportPointer?Ye(e,"pointerdown",this._onTapStart):(Ye(e,"mousedown",this._onTapStart),Ye(e,"touchstart",this._onTapStart)),this.nativeDraggable&&(Ye(e,"dragover",this),Ye(e,"dragenter",this)),Ku.push(this.el),a.store&&a.store.get&&this.sort(a.store.get(this)||[]),Ar(this,$L())}Ae.prototype={constructor:Ae,_isOutsideThisEl:function(a){!this.el.contains(a)&&a!==this.el&&(Dn=null)},_getDirection:function(a,t){return typeof this.options.direction=="function"?this.options.direction.call(this,a,t,W):this.options.direction},_onTapStart:function(a){if(a.cancelable){var t=this,r=this.el,n=this.options,i=n.preventOnFilter,u=a.type,l=a.touches&&a.touches[0]||a.pointerType&&a.pointerType==="touch"&&a,s=(l||a).target,o=a.target.shadowRoot&&(a.path&&a.path[0]||a.composedPath&&a.composedPath()[0])||s,f=n.filter;if(IL(r),!W&&!(/mousedown|pointerdown/.test(u)&&a.button!==0||n.disabled)&&!o.isContentEditable&&!(!this.nativeDraggable&&Fi&&s&&s.tagName.toUpperCase()==="SELECT")&&(s=Ba(s,n.draggable,r,!1),!(s&&s.animated)&&ku!==s)){if(En=Fa(s),Ei=Fa(s,n.draggable),typeof f=="function"){if(f.call(this,a,s,this)){ua({sortable:t,rootEl:o,name:"filter",targetEl:s,toEl:r,fromEl:r}),oa("filter",t,{evt:a}),i&&a.cancelable&&a.preventDefault();return}}else if(f&&(f=f.split(",").some(function(v){if(v=Ba(o,v.trim(),r,!1),v)return ua({sortable:t,rootEl:v,name:"filter",targetEl:s,fromEl:r,toEl:r}),oa("filter",t,{evt:a}),!0}),f)){i&&a.cancelable&&a.preventDefault();return}n.handle&&!Ba(o,n.handle,r,!1)||this._prepareDragStart(a,l,s)}}},_prepareDragStart:function(a,t,r){var n=this,i=n.el,u=n.options,l=i.ownerDocument,s;if(r&&!W&&r.parentNode===i){var o=Lt(r);if(At=i,W=r,St=W.parentNode,Zr=W.nextSibling,ku=r,Du=u.group,Ae.dragged=W,Wr={target:W,clientX:(t||a).clientX,clientY:(t||a).clientY},Ud=Wr.clientX-o.left,zd=Wr.clientY-o.top,this._lastX=(t||a).clientX,this._lastY=(t||a).clientY,W.style["will-change"]="all",s=function(){if(oa("delayEnded",n,{evt:a}),Ae.eventCanceled){n._onDrop();return}n._disableDelayedDragEvents(),!Ld&&n.nativeDraggable&&(W.draggable=!0),n._triggerDragStart(a,t),ua({sortable:n,name:"choose",originalEvent:a}),ya(W,u.chosenClass,!0)},u.ignore.split(",").forEach(function(f){Ah(W,f.trim(),fs)}),Ye(l,"dragover",Gr),Ye(l,"mousemove",Gr),Ye(l,"touchmove",Gr),Ye(l,"mouseup",n._onDrop),Ye(l,"touchend",n._onDrop),Ye(l,"touchcancel",n._onDrop),Ld&&this.nativeDraggable&&(this.options.touchStartThreshold=4,W.draggable=!0),oa("delayStart",this,{evt:a}),u.delay&&(!u.delayOnTouchOnly||t)&&(!this.nativeDraggable||!(iu||Sr))){if(Ae.eventCanceled){this._onDrop();return}Ye(l,"mouseup",n._disableDelayedDrag),Ye(l,"touchend",n._disableDelayedDrag),Ye(l,"touchcancel",n._disableDelayedDrag),Ye(l,"mousemove",n._delayedDragTouchMoveHandler),Ye(l,"touchmove",n._delayedDragTouchMoveHandler),u.supportPointer&&Ye(l,"pointermove",n._delayedDragTouchMoveHandler),n._dragStartTimer=setTimeout(s,u.delay)}else s()}},_delayedDragTouchMoveHandler:function(a){var t=a.touches?a.touches[0]:a;Math.max(Math.abs(t.clientX-this._lastX),Math.abs(t.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){W&&fs(W),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var a=this.el.ownerDocument;je(a,"mouseup",this._disableDelayedDrag),je(a,"touchend",this._disableDelayedDrag),je(a,"touchcancel",this._disableDelayedDrag),je(a,"mousemove",this._delayedDragTouchMoveHandler),je(a,"touchmove",this._delayedDragTouchMoveHandler),je(a,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(a,t){t=t||a.pointerType=="touch"&&a,!this.nativeDraggable||t?this.options.supportPointer?Ye(document,"pointermove",this._onTouchMove):t?Ye(document,"touchmove",this._onTouchMove):Ye(document,"mousemove",this._onTouchMove):(Ye(W,"dragend",this),Ye(At,"dragstart",this._onDragStart));try{document.selection?qu(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch{}},_dragStarted:function(a,t){if(Sn=!1,At&&W){oa("dragStarted",this,{evt:t}),this.nativeDraggable&&Ye(document,"dragover",TL);var r=this.options;!a&&ya(W,r.dragClass,!1),ya(W,r.ghostClass,!0),Ae.active=this,a&&this._appendGhost(),ua({sortable:this,name:"start",originalEvent:t})}else this._nulling()},_emulateDragOver:function(){if(ka){this._lastX=ka.clientX,this._lastY=ka.clientY,Oh();for(var a=document.elementFromPoint(ka.clientX,ka.clientY),t=a;a&&a.shadowRoot&&(a=a.shadowRoot.elementFromPoint(ka.clientX,ka.clientY),a!==t);)t=a;if(W.parentNode[Aa]._isOutsideThisEl(a),t)do{if(t[Aa]){var r=void 0;if(r=t[Aa]._onDragOver({clientX:ka.clientX,clientY:ka.clientY,target:a,rootEl:t}),r&&!this.options.dragoverBubble)break}a=t}while(t=t.parentNode);Eh()}},_onTouchMove:function(a){if(Wr){var t=this.options,r=t.fallbackTolerance,n=t.fallbackOffset,i=a.touches?a.touches[0]:a,u=$e&&qn($e,!0),l=$e&&u&&u.a,s=$e&&u&&u.d,o=wu&&Qt&&Vd(Qt),f=(i.clientX-Wr.clientX+n.x)/(l||1)+(o?o[0]-os[0]:0)/(l||1),v=(i.clientY-Wr.clientY+n.y)/(s||1)+(o?o[1]-os[1]:0)/(s||1);if(!Ae.active&&!Sn){if(r&&Math.max(Math.abs(i.clientX-this._lastX),Math.abs(i.clientY-this._lastY))<r)return;this._onDragStart(a,!0)}if($e){u?(u.e+=f-(ls||0),u.f+=v-(ss||0)):u={a:1,b:0,c:0,d:1,e:f,f:v};var d="matrix(".concat(u.a,",").concat(u.b,",").concat(u.c,",").concat(u.d,",").concat(u.e,",").concat(u.f,")");be($e,"webkitTransform",d),be($e,"mozTransform",d),be($e,"msTransform",d),be($e,"transform",d),ls=f,ss=v,ka=i}a.cancelable&&a.preventDefault()}},_appendGhost:function(){if(!$e){var a=this.options.fallbackOnBody?document.body:At,t=Lt(W,!0,wu,!0,a),r=this.options;if(wu){for(Qt=a;be(Qt,"position")==="static"&&be(Qt,"transform")==="none"&&Qt!==document;)Qt=Qt.parentNode;Qt!==document.body&&Qt!==document.documentElement?(Qt===document&&(Qt=Ka()),t.top+=Qt.scrollTop,t.left+=Qt.scrollLeft):Qt=Ka(),os=Vd(Qt)}$e=W.cloneNode(!0),ya($e,r.ghostClass,!1),ya($e,r.fallbackClass,!0),ya($e,r.dragClass,!0),be($e,"transition",""),be($e,"transform",""),be($e,"box-sizing","border-box"),be($e,"margin",0),be($e,"top",t.top),be($e,"left",t.left),be($e,"width",t.width),be($e,"height",t.height),be($e,"opacity","0.8"),be($e,"position",wu?"absolute":"fixed"),be($e,"zIndex","100000"),be($e,"pointerEvents","none"),Ae.ghost=$e,a.appendChild($e),be($e,"transform-origin",Ud/parseInt($e.style.width)*100+"% "+zd/parseInt($e.style.height)*100+"%")}},_onDragStart:function(a,t){var r=this,n=a.dataTransfer,i=r.options;if(oa("dragStart",this,{evt:a}),Ae.eventCanceled){this._onDrop();return}oa("setupClone",this),Ae.eventCanceled||(Ct=$h(W),Ct.removeAttribute("id"),Ct.draggable=!1,Ct.style["will-change"]="",this._hideClone(),ya(Ct,this.options.chosenClass,!1),Ae.clone=Ct),r.cloneId=qu(function(){oa("clone",r),!Ae.eventCanceled&&(r.options.removeCloneOnHide||At.insertBefore(Ct,W),r._hideClone(),ua({sortable:r,name:"clone"}))}),!t&&ya(W,i.dragClass,!0),t?(Gu=!0,r._loopId=setInterval(r._emulateDragOver,50)):(je(document,"mouseup",r._onDrop),je(document,"touchend",r._onDrop),je(document,"touchcancel",r._onDrop),n&&(n.effectAllowed="move",i.setData&&i.setData.call(r,n,W)),Ye(document,"drop",r),be(W,"transform","translateZ(0)")),Sn=!0,r._dragStartId=qu(r._dragStarted.bind(r,t,a)),Ye(document,"selectstart",r),Ai=!0,Fi&&be(document.body,"user-select","none")},_onDragOver:function(a){var t=this.el,r=a.target,n,i,u,l=this.options,s=l.group,o=Ae.active,f=Du===s,v=l.sort,d=Wt||o,p,m=this,h=!1;if(Ts)return;function A(N,ne){oa(N,m,Xa({evt:a,isOwner:f,axis:p?"vertical":"horizontal",revert:u,dragRect:n,targetRect:i,canSort:v,fromSortable:d,target:r,completed:b,onMove:function(H,ve){return Cu(At,t,W,n,H,Lt(H),a,ve)},changed:$},ne))}function D(){A("dragOverAnimationCapture"),m.captureAnimationState(),m!==d&&d.captureAnimationState()}function b(N){return A("dragOverCompleted",{insertion:N}),N&&(f?o._hideClone():o._showClone(m),m!==d&&(ya(W,Wt?Wt.options.ghostClass:o.options.ghostClass,!1),ya(W,l.ghostClass,!0)),Wt!==m&&m!==Ae.active?Wt=m:m===Ae.active&&Wt&&(Wt=null),d===m&&(m._ignoreWhileAnimating=r),m.animateAll(function(){A("dragOverAnimationComplete"),m._ignoreWhileAnimating=null}),m!==d&&(d.animateAll(),d._ignoreWhileAnimating=null)),(r===W&&!W.animated||r===t&&!r.animated)&&(Dn=null),!l.dragoverBubble&&!a.rootEl&&r!==document&&(W.parentNode[Aa]._isOutsideThisEl(a.target),!N&&Gr(a)),!l.dragoverBubble&&a.stopPropagation&&a.stopPropagation(),h=!0}function $(){ba=Fa(W),Or=Fa(W,l.draggable),ua({sortable:m,name:"change",toEl:t,newIndex:ba,newDraggableIndex:Or,originalEvent:a})}if(a.preventDefault!==void 0&&a.cancelable&&a.preventDefault(),r=Ba(r,l.draggable,t,!0),A("dragOver"),Ae.eventCanceled)return h;if(W.contains(a.target)||r.animated&&r.animatingX&&r.animatingY||m._ignoreWhileAnimating===r)return b(!1);if(Gu=!1,o&&!l.disabled&&(f?v||(u=St!==At):Wt===this||(this.lastPutMode=Du.checkPull(this,o,W,a))&&s.checkPut(this,o,W,a))){if(p=this._getDirection(a,r)==="vertical",n=Lt(W),A("dragOverValid"),Ae.eventCanceled)return h;if(u)return St=At,D(),this._hideClone(),A("revert"),Ae.eventCanceled||(Zr?At.insertBefore(W,Zr):At.appendChild(W)),b(!0);var _=Vo(t,l.draggable);if(!_||qL(a,p,this)&&!_.animated){if(_===W)return b(!1);if(_&&t===a.target&&(r=_),r&&(i=Lt(r)),Cu(At,t,W,n,r,i,a,!!r)!==!1)return D(),_&&_.nextSibling?t.insertBefore(W,_.nextSibling):t.appendChild(W),St=t,$(),b(!0)}else if(_&&BL(a,p,this)){var C=jn(t,0,l,!0);if(C===W)return b(!1);if(r=C,i=Lt(r),Cu(At,t,W,n,r,i,a,!1)!==!1)return D(),t.insertBefore(W,C),St=t,$(),b(!0)}else if(r.parentNode===t){i=Lt(r);var O=0,T,S=W.parentNode!==t,x=!EL(W.animated&&W.toRect||n,r.animated&&r.toRect||i,p),L=p?"top":"left",z=Yd(r,"top","top")||Yd(W,"top","top"),X=z?z.scrollTop:void 0;Dn!==r&&(T=i[L],Ti=!1,$u=!x&&l.invertSwap||S),O=jL(a,r,i,p,x?1:l.swapThreshold,l.invertedSwapThreshold==null?l.swapThreshold:l.invertedSwapThreshold,$u,Dn===r);var Q;if(O!==0){var P=Fa(W);do P-=O,Q=St.children[P];while(Q&&(be(Q,"display")==="none"||Q===$e))}if(O===0||Q===r)return b(!1);Dn=r,xi=O;var M=r.nextElementSibling,q=!1;q=O===1;var B=Cu(At,t,W,n,r,i,a,q);if(B!==!1)return(B===1||B===-1)&&(q=B===1),Ts=!0,setTimeout(kL,30),D(),q&&!M?t.appendChild(W):r.parentNode.insertBefore(W,q?M:r),z&&Dh(z,0,X-z.scrollTop),St=W.parentNode,T!==void 0&&!$u&&(Bu=Math.abs(T-Lt(r)[L])),$(),b(!0)}if(t.contains(W))return b(!1)}return!1},_ignoreWhileAnimating:null,_offMoveEvents:function(){je(document,"mousemove",this._onTouchMove),je(document,"touchmove",this._onTouchMove),je(document,"pointermove",this._onTouchMove),je(document,"dragover",Gr),je(document,"mousemove",Gr),je(document,"touchmove",Gr)},_offUpEvents:function(){var a=this.el.ownerDocument;je(a,"mouseup",this._onDrop),je(a,"touchend",this._onDrop),je(a,"pointerup",this._onDrop),je(a,"touchcancel",this._onDrop),je(document,"selectstart",this)},_onDrop:function(a){var t=this.el,r=this.options;if(ba=Fa(W),Or=Fa(W,r.draggable),oa("drop",this,{evt:a}),St=W&&W.parentNode,ba=Fa(W),Or=Fa(W,r.draggable),Ae.eventCanceled){this._nulling();return}Sn=!1,$u=!1,Ti=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),Ms(this.cloneId),Ms(this._dragStartId),this.nativeDraggable&&(je(document,"drop",this),je(t,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),Fi&&be(document.body,"user-select",""),be(W,"transform",""),a&&(Ai&&(a.cancelable&&a.preventDefault(),!r.dropBubble&&a.stopPropagation()),$e&&$e.parentNode&&$e.parentNode.removeChild($e),(At===St||Wt&&Wt.lastPutMode!=="clone")&&Ct&&Ct.parentNode&&Ct.parentNode.removeChild(Ct),W&&(this.nativeDraggable&&je(W,"dragend",this),fs(W),W.style["will-change"]="",Ai&&!Sn&&ya(W,Wt?Wt.options.ghostClass:this.options.ghostClass,!1),ya(W,this.options.chosenClass,!1),ua({sortable:this,name:"unchoose",toEl:St,newIndex:null,newDraggableIndex:null,originalEvent:a}),At!==St?(ba>=0&&(ua({rootEl:St,name:"add",toEl:St,fromEl:At,originalEvent:a}),ua({sortable:this,name:"remove",toEl:St,originalEvent:a}),ua({rootEl:St,name:"sort",toEl:St,fromEl:At,originalEvent:a}),ua({sortable:this,name:"sort",toEl:St,originalEvent:a})),Wt&&Wt.save()):ba!==En&&ba>=0&&(ua({sortable:this,name:"update",toEl:St,originalEvent:a}),ua({sortable:this,name:"sort",toEl:St,originalEvent:a})),Ae.active&&((ba==null||ba===-1)&&(ba=En,Or=Ei),ua({sortable:this,name:"end",toEl:St,originalEvent:a}),this.save()))),this._nulling()},_nulling:function(){oa("nulling",this),At=W=St=$e=Zr=Ct=ku=Er=Wr=ka=Ai=ba=Or=En=Ei=Dn=xi=Wt=Du=Ae.dragged=Ae.ghost=Ae.clone=Ae.active=null,Zu.forEach(function(a){a.checked=!0}),Zu.length=ls=ss=0},handleEvent:function(a){switch(a.type){case"drop":case"dragend":this._onDrop(a);break;case"dragenter":case"dragover":W&&(this._onDragOver(a),ML(a));break;case"selectstart":a.preventDefault();break}},toArray:function(){for(var a=[],t,r=this.el.children,n=0,i=r.length,u=this.options;n<i;n++)t=r[n],Ba(t,u.draggable,this.el,!1)&&a.push(t.getAttribute(u.dataIdAttr)||PL(t));return a},sort:function(a,t){var r={},n=this.el;this.toArray().forEach(function(i,u){var l=n.children[u];Ba(l,this.options.draggable,n,!1)&&(r[i]=l)},this),t&&this.captureAnimationState(),a.forEach(function(i){r[i]&&(n.removeChild(r[i]),n.appendChild(r[i]))}),t&&this.animateAll()},save:function(){var a=this.options.store;a&&a.set&&a.set(this)},closest:function(a,t){return Ba(a,t||this.options.draggable,this.el,!1)},option:function(a,t){var r=this.options;if(t===void 0)return r[a];var n=uu.modifyOption(this,a,t);typeof n<"u"?r[a]=n:r[a]=t,a==="group"&&Fh(r)},destroy:function(){oa("destroy",this);var a=this.el;a[Aa]=null,je(a,"mousedown",this._onTapStart),je(a,"touchstart",this._onTapStart),je(a,"pointerdown",this._onTapStart),this.nativeDraggable&&(je(a,"dragover",this),je(a,"dragenter",this)),Array.prototype.forEach.call(a.querySelectorAll("[draggable]"),function(t){t.removeAttribute("draggable")}),this._onDrop(),this._disableDelayedDragEvents(),Ku.splice(Ku.indexOf(this.el),1),this.el=a=null},_hideClone:function(){if(!Er){if(oa("hideClone",this),Ae.eventCanceled)return;be(Ct,"display","none"),this.options.removeCloneOnHide&&Ct.parentNode&&Ct.parentNode.removeChild(Ct),Er=!0}},_showClone:function(a){if(a.lastPutMode!=="clone"){this._hideClone();return}if(Er){if(oa("showClone",this),Ae.eventCanceled)return;W.parentNode==At&&!this.options.group.revertClone?At.insertBefore(Ct,W):Zr?At.insertBefore(Ct,Zr):At.appendChild(Ct),this.options.group.revertClone&&this.animate(W,Ct),be(Ct,"display",""),Er=!1}}};function ML(e){e.dataTransfer&&(e.dataTransfer.dropEffect="move"),e.cancelable&&e.preventDefault()}function Cu(e,a,t,r,n,i,u,l){var s,o=e[Aa],f=o.options.onMove,v;return window.CustomEvent&&!Sr&&!iu?s=new CustomEvent("move",{bubbles:!0,cancelable:!0}):(s=document.createEvent("Event"),s.initEvent("move",!0,!0)),s.to=a,s.from=e,s.dragged=t,s.draggedRect=r,s.related=n||a,s.relatedRect=i||Lt(a),s.willInsertAfter=l,s.originalEvent=u,e.dispatchEvent(s),f&&(v=f.call(o,s,u)),v}function fs(e){e.draggable=!1}function kL(){Ts=!1}function BL(e,a,t){var r=Lt(jn(t.el,0,t.options,!0)),n=wh(t.el,t.options,$e),i=10;return a?e.clientX<n.left-i||e.clientY<r.top&&e.clientX<r.right:e.clientY<n.top-i||e.clientY<r.bottom&&e.clientX<r.left}function qL(e,a,t){var r=Lt(Vo(t.el,t.options.draggable)),n=wh(t.el,t.options,$e),i=10;return a?e.clientX>n.right+i||e.clientY>r.bottom&&e.clientX>r.left:e.clientY>n.bottom+i||e.clientX>r.right&&e.clientY>r.top}function jL(e,a,t,r,n,i,u,l){var s=r?e.clientY:e.clientX,o=r?t.height:t.width,f=r?t.top:t.left,v=r?t.bottom:t.right,d=!1;if(!u){if(l&&Bu<o*n){if(!Ti&&(xi===1?s>f+o*i/2:s<v-o*i/2)&&(Ti=!0),Ti)d=!0;else if(xi===1?s<f+Bu:s>v-Bu)return-xi}else if(s>f+o*(1-n)/2&&s<v-o*(1-n)/2)return NL(a)}return d=d||u,d&&(s<f+o*i/2||s>v-o*i/2)?s>f+o/2?1:-1:0}function NL(e){return Fa(W)<Fa(e)?1:-1}function PL(e){for(var a=e.tagName+e.className+e.src+e.href+e.textContent,t=a.length,r=0;t--;)r+=a.charCodeAt(t);return r.toString(36)}function IL(e){Zu.length=0;for(var a=e.getElementsByTagName("input"),t=a.length;t--;){var r=a[t];r.checked&&Zu.push(r)}}function qu(e){return setTimeout(e,0)}function Ms(e){return clearTimeout(e)}xl&&Ye(document,"touchmove",function(e){(Ae.active||Sn)&&e.cancelable&&e.preventDefault()});Ae.utils={on:Ye,off:je,css:be,find:Ah,is:function(a,t){return!!Ba(a,t,a,!1)},extend:_L,throttle:_h,closest:Ba,toggleClass:ya,clone:$h,index:Fa,nextTick:qu,cancelNextTick:Ms,detectDirection:Sh,getChild:jn};Ae.get=function(e){return e[Aa]};Ae.mount=function(){for(var e=arguments.length,a=new Array(e),t=0;t<e;t++)a[t]=arguments[t];a[0].constructor===Array&&(a=a[0]),a.forEach(function(r){if(!r.prototype||!r.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(r));r.utils&&(Ae.utils=Xa(Xa({},Ae.utils),r.utils)),uu.mount(r)})};Ae.create=function(e,a){return new Ae(e,a)};Ae.version=yL;var It=[],_i,ks,Bs=!1,ds,vs,Xu,Di;function LL(){function e(){this.defaults={scroll:!0,forceAutoScrollFallback:!1,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0};for(var a in this)a.charAt(0)==="_"&&typeof this[a]=="function"&&(this[a]=this[a].bind(this))}return e.prototype={dragStarted:function(t){var r=t.originalEvent;this.sortable.nativeDraggable?Ye(document,"dragover",this._handleAutoScroll):this.options.supportPointer?Ye(document,"pointermove",this._handleFallbackAutoScroll):r.touches?Ye(document,"touchmove",this._handleFallbackAutoScroll):Ye(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(t){var r=t.originalEvent;!this.options.dragOverBubble&&!r.rootEl&&this._handleAutoScroll(r)},drop:function(){this.sortable.nativeDraggable?je(document,"dragover",this._handleAutoScroll):(je(document,"pointermove",this._handleFallbackAutoScroll),je(document,"touchmove",this._handleFallbackAutoScroll),je(document,"mousemove",this._handleFallbackAutoScroll)),Wd(),ju(),DL()},nulling:function(){Xu=ks=_i=Bs=Di=ds=vs=null,It.length=0},_handleFallbackAutoScroll:function(t){this._handleAutoScroll(t,!0)},_handleAutoScroll:function(t,r){var n=this,i=(t.touches?t.touches[0]:t).clientX,u=(t.touches?t.touches[0]:t).clientY,l=document.elementFromPoint(i,u);if(Xu=t,r||this.options.forceAutoScrollFallback||iu||Sr||Fi){cs(t,this.options,l,r);var s=kr(l,!0);Bs&&(!Di||i!==ds||u!==vs)&&(Di&&Wd(),Di=setInterval(function(){var o=kr(document.elementFromPoint(i,u),!0);o!==s&&(s=o,ju()),cs(t,n.options,o,r)},10),ds=i,vs=u)}else{if(!this.options.bubbleScroll||kr(l,!0)===Ka()){ju();return}cs(t,this.options,kr(l,!1),!1)}}},Ar(e,{pluginName:"scroll",initializeByDefault:!0})}function ju(){It.forEach(function(e){clearInterval(e.pid)}),It=[]}function Wd(){clearInterval(Di)}var cs=_h(function(e,a,t,r){if(a.scroll){var n=(e.touches?e.touches[0]:e).clientX,i=(e.touches?e.touches[0]:e).clientY,u=a.scrollSensitivity,l=a.scrollSpeed,s=Ka(),o=!1,f;ks!==t&&(ks=t,ju(),_i=a.scroll,f=a.scrollFn,_i===!0&&(_i=kr(t,!0)));var v=0,d=_i;do{var p=d,m=Lt(p),h=m.top,A=m.bottom,D=m.left,b=m.right,$=m.width,_=m.height,C=void 0,O=void 0,T=p.scrollWidth,S=p.scrollHeight,x=be(p),L=p.scrollLeft,z=p.scrollTop;p===s?(C=$<T&&(x.overflowX==="auto"||x.overflowX==="scroll"||x.overflowX==="visible"),O=_<S&&(x.overflowY==="auto"||x.overflowY==="scroll"||x.overflowY==="visible")):(C=$<T&&(x.overflowX==="auto"||x.overflowX==="scroll"),O=_<S&&(x.overflowY==="auto"||x.overflowY==="scroll"));var X=C&&(Math.abs(b-n)<=u&&L+$<T)-(Math.abs(D-n)<=u&&!!L),Q=O&&(Math.abs(A-i)<=u&&z+_<S)-(Math.abs(h-i)<=u&&!!z);if(!It[v])for(var P=0;P<=v;P++)It[P]||(It[P]={});(It[v].vx!=X||It[v].vy!=Q||It[v].el!==p)&&(It[v].el=p,It[v].vx=X,It[v].vy=Q,clearInterval(It[v].pid),(X!=0||Q!=0)&&(o=!0,It[v].pid=setInterval((function(){r&&this.layer===0&&Ae.active._onTouchMove(Xu);var M=It[this.layer].vy?It[this.layer].vy*l:0,q=It[this.layer].vx?It[this.layer].vx*l:0;typeof f=="function"&&f.call(Ae.dragged.parentNode[Aa],q,M,e,Xu,It[this.layer].el)!=="continue"||Dh(It[this.layer].el,q,M)}).bind({layer:v}),24))),v++}while(a.bubbleScroll&&d!==s&&(d=kr(d,!1)));Bs=o}},30),xh=function(a){var t=a.originalEvent,r=a.putSortable,n=a.dragEl,i=a.activeSortable,u=a.dispatchSortableEvent,l=a.hideGhostForTarget,s=a.unhideGhostForTarget;if(t){var o=r||i;l();var f=t.changedTouches&&t.changedTouches.length?t.changedTouches[0]:t,v=document.elementFromPoint(f.clientX,f.clientY);s(),o&&!o.el.contains(v)&&(u("spill"),this.onSpill({dragEl:n,putSortable:r}))}};function Uo(){}Uo.prototype={startIndex:null,dragStart:function(a){var t=a.oldDraggableIndex;this.startIndex=t},onSpill:function(a){var t=a.dragEl,r=a.putSortable;this.sortable.captureAnimationState(),r&&r.captureAnimationState();var n=jn(this.sortable.el,this.startIndex,this.options);n?this.sortable.el.insertBefore(t,n):this.sortable.el.appendChild(t),this.sortable.animateAll(),r&&r.animateAll()},drop:xh};Ar(Uo,{pluginName:"revertOnSpill"});function zo(){}zo.prototype={onSpill:function(a){var t=a.dragEl,r=a.putSortable,n=r||this.sortable;n.captureAnimationState(),t.parentNode&&t.parentNode.removeChild(t),n.animateAll()},drop:xh};Ar(zo,{pluginName:"removeOnSpill"});Ae.mount(new LL);Ae.mount(zo,Uo);var Th=function(a,t,r,n){var{sort:i}=I(a),u=r.isDisabled,l=r.fire,s=r.refreshOrderStore,o=r.value,f=r.sorting,v=r.length,d=r.path,p=r.children$Array,m=Y(null),h=Y(null),A=c(()=>i.value&&!u.value&&v.value&&o.value[0]!==void 0),D=()=>{h.value=new Ae(m.value,{handle:"[data-handle]",onStart:()=>{f.value=!0},onEnd:$})},b=()=>{var _;(_=h.value)===null||_===void 0||_.destroy(),h.value=null},$=_=>{var{oldIndex:C,newIndex:O,item:T}=_;if(f.value=!1,!(C===O||u.value)){m.value.children[O].remove(),m.value.insertBefore(T,m.value.children[C]);var S=Ee(o.value);S.splice(O,0,S.splice(C,1)[0]),o.value=S,s(o.value),l("sort",o.value,C,O,p.value[O])}};return De(A,(_,C)=>{_===!0&&C===!1?D():_===!1&&C===!0&&b()},{immediate:!1,flush:"post"}),Dt(()=>{A.value&&D()}),De(v,_=>{var C;A.value&&(b(),D(),(C=h.value)===null||C===void 0||C.sort(Array.from(Array(_).keys()).reduce((O,T,S)=>(O.push("".concat(d.value,"-").concat(S)),O),[])))},{flush:"post"}),{list:m,sortable:h,isSortable:A,handleSort:$,initSortable:D,destroySortable:b}},Mh=function(a,t,r){var n=Y(!1);return{sorting:n}},kh=function(a,t,r,n){var{storeOrder:i,orderBy:u,order:l}=I(a),s=r.form$,o=r.value,f=Y(s.value.$vueform.config.orderFrom),v=p=>(i.value&&F(p,(m,h)=>{m[i.value]=l.value&&l.value.toUpperCase()==="DESC"?p.length-h-(f.value==0?1:0):parseInt(h)+f.value}),p),d=c(()=>u.value||i.value);return De(i,(p,m)=>{p?v(o.value):F(o.value,(h,A)=>{h[m]=null})},{immediate:!1}),{refreshOrderStore:v,orderByName:d}},RL=function(a,t,r,n){var{storeOrder:i,orderBy:u}=I(a),{refreshOrderStore:l}=kh(a,t,r),s=c(()=>u.value||i.value);return{refreshOrderStore:l,orderByName:s}},YL=function(a,t,r){var{object:n,element:i}=I(a),u=c(()=>l.value?Object.assign({},n.value,{type:"object"}):i.value||{}),l=c(()=>!!n.value);return{prototype:u,isObject:l}},VL=function(a,t,r){var n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},{auto:i,object:u,file:l,fields:s,storeFile:o,storeOrder:f,view:v,clickable:d,url:p,previewUrl:m,uploadTempEndpoint:h,removeTempEndpoint:A,removeEndpoint:D,params:b,softRemove:$}=I(a),_=r.isDisabled,C=c(()=>n.type||"file"),O=c(()=>o.value?o.value:u.value||zt(s.value).length||f.value?"file":null),T=c(()=>!!u.value||!!f.value||!!zt(s.value).length),S=c(()=>{var x={type:C.value,auto:i.value,view:v.value,layout:v.value==="gallery"?"ElementLayoutInline":"ElementLayout",disabled:_.value,clickable:d.value,url:p.value,previewUrl:m.value,uploadTempEndpoint:h.value,removeTempEndpoint:A.value,removeEndpoint:D.value,params:b.value,softRemove:$.value};return T.value?{type:"object",schema:Object.assign({},{[O.value]:Object.assign({},x,{embed:!0},l.value)},f.value?{[f.value]:{type:"hidden",meta:!0}}:{},s.value)}:Object.assign({},x,l.value)});return{storeFileName:O,isObject:T,prototype:S}},UL=function(a,t,r){var{controls:n,sort:i,min:u,max:l,addText:s}=I(a),o=r.isDisabled,f=r.value,v=r.form$,d=c(()=>!o.value&&(n.value.add||n.value.add===void 0)&&(l.value===-1||l.value>f.value.length)),p=c(()=>!o.value&&(n.value.remove||n.value.remove===void 0)&&(u.value===-1||u.value<f.value.length)),m=c(()=>!o.value&&(n.value.sort||n.value.sort===void 0)&&i.value),h=c(()=>s.value||v.value.translations.vueform.elements.list.add);return{hasAdd:d,hasRemove:p,hasSort:m,addLabel:h}},zL=function(a,t,r){var{controls:n,sort:i}=I(a),u=r.isDisabled,l=r.hasUploading,s=c(()=>n.value.add||n.value.add===void 0),o=c(()=>!u.value&&(n.value.remove||n.value.remove===void 0)&&!l.value),f=c(()=>!u.value&&(n.value.sort||n.value.sort===void 0)&&i.value&&!l.value);return{hasAdd:s,hasRemove:o,hasSort:f}},Bh={name:"ListElement",mixins:[et,ft,gt,yt,bt],emits:["change","add","remove","sort","beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeUnmount","unmounted"],props:{type:{required:!1,type:[String],default:"list",private:!0},default:{required:!1,type:[Array],default:void 0},id:{required:!1,type:[String],default:null},disabled:{required:!1,type:[Boolean],default:!1},onAdd:{required:!1,type:[Function],default:null,private:!0},onRemove:{required:!1,type:[Function],default:null,private:!0},onSort:{required:!1,type:[Function],default:null,private:!0},element:{required:!1,type:[Object],default:null},object:{required:!1,type:[Object],default:null},initial:{required:!1,type:[Number],default:1},min:{required:!1,type:[Number],default:-1},max:{required:!1,type:[Number],default:-1},addText:{required:!1,type:[String],default:null,"@default":"locale.elements.list.add"},sort:{required:!1,type:[Boolean],default:!1},controls:{required:!1,type:[Object],default:()=>({add:!0,remove:!0,sort:!0})},storeOrder:{required:!1,type:[String],default:null},order:{required:!1,type:[String],default:null},orderBy:{required:!1,type:[String],default:null}},setup(e,a){return a.features=[ze,He,lt,ot,Qe,kt,ei,YL,Yo,Mh,kh,Ie,Jn,ra,rt,Ot,nu,Co,Fl,jI,UL,Ol,nt,it,Je,at,ut,Jm,Th,Ft,Qm,st],a.slots=["label","info","description","before","between","after"],G({},qt(e,a))}},HL=function(a,t,r){var n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},{provider:i,extendOptions:u}=I(a),l=r.form$,s=r.value,o=r.clear,f=r.input,v=()=>n.input?n.input.value:f.value,d=Y(null),p=Y({}),m=c(()=>i.value||l.value.$vueform.config.locationProvider),h=c(()=>{var _={google:{fields:["geometry","formatted_address","address_components"]},algolia:{type:"address",appId:l.value.$vueform.config.services.algolia.app_id,apiKey:l.value.$vueform.config.services.algolia.api_key,templates:n.templates||{}}};return _[m.value]}),A=c(()=>Object.assign({},h.value,u.value||{})),D=(_,C)=>{if(n.handleAddressChange){n.handleAddressChange(_,C);return}p.value=C,s.value=_},b=()=>{v().value.length?v().value=s.value.formatted_address:o()},$=()=>{d.value&&d.value.destroy(),d.value=new l.value.$vueform.services.location[m.value],d.value.init(v(),D,A.value)};return De([m,A],()=>{$()},{deep:!0,immediate:!1}),Dt(()=>{$()}),{locationService:d,location:p,defaultOptions:h,providerOptions:A,handleAddressChange:D,handleLocationBlur:b,initLocationService:$}},qh={name:"LocationElement",mixins:[et,ft,gt,yt,bt],emits:["change","beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeUnmount","unmounted"],props:{type:{required:!1,type:[String],default:"location",private:!0},default:{required:!1,type:[Object],default:()=>({country:null,country_code:null,state:null,state_code:null,city:null,zip:null,address:null,formatted_address:null,lat:null,lng:null})},debounce:{required:!1,type:[Number],default:null},disabled:{required:!1,type:[Boolean],default:!1},floating:{required:!1,type:[String,Boolean,Object],localized:!0,default:null},id:{required:!1,type:[String],default:null},placeholder:{required:!1,type:[String,Object],localized:!0,default:null},readonly:{required:!1,type:[Boolean],default:!1},attrs:{required:!1,type:[Object],default:()=>({})},addons:{required:!1,type:[Object],localized:!0,default:()=>({})},provider:{required:!1,type:[String],default:"google"},displayKey:{required:!1,type:[String],default:"formatted_address"},extendOptions:{required:!1,type:[Object],default:()=>({})}},setup(e,a){return a.features=[ze,He,lt,Yt,ot,kt,zI,Qe,rr,Ie,Bt,on,ra,Et,MI,Xe,Ht,HL,ar,rt,Ot,it,Je,at,nt,ut,ti,Ft,RI,st,Ta],a.slots=["label","info","description","before","between","after","addon-before","addon-after"],G({},XP(e,a))}},WL=function(a,t,r){var n=r.isDisabled,i=r.add,u=r.input,l=r.isObject,s=r.storeFileName,o=r.children$,f=c(()=>Te(o.value,{available:!0,preparing:!0})),v=c(()=>Te(o.value,{uploading:!0})),d=m=>{!m.target||!m.target.files||m.target.files.length==0||n.value||(F(m.target.files,h=>{i(l.value?{[s.value]:h}:h)}),u.value.value="")},p=()=>{n.value||u.value.click()};return{preparing:f,hasUploading:v,handleChange:d,handleClick:p}},jh={name:"MultifileElement",mixins:[et,ft,gt,yt,bt],emits:["change","add","remove","sort","beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeUnmount","unmounted"],props:{type:{required:!1,type:[String],default:"multifile",private:!0},default:{required:!1,type:[Array],default:()=>[]},initial:{required:!1,type:[Number],default:0,private:!0},disabled:{required:!1,type:[Boolean],default:!1},id:{required:!1,type:[String],default:null},onAdd:{required:!1,type:[Function],default:null,private:!0},onRemove:{required:!1,type:[Function],default:null,private:!0},onSort:{required:!1,type:[Function],default:null,private:!0},view:{type:[String],required:!1,default:"file"},drop:{required:!1,type:[Boolean],default:!1},sort:{required:!1,type:[Boolean],default:!1},controls:{required:!1,type:[Object],default:()=>({add:!0,remove:!0,sort:!0})},object:{required:!1,type:[Boolean],default:null},storeFile:{required:!1,type:[String],default:"file"},fields:{required:!1,type:[Object],default:()=>({})},storeOrder:{required:!1,type:[String],default:null},order:{required:!1,type:[String],default:null},orderBy:{required:!1,type:[String],default:null},file:{required:!1,type:[Object],default:()=>({})},accept:{required:!1,type:[String,Array],default:null},clickable:{required:!1,type:[Boolean],default:!0},url:{required:!1,type:[String,Boolean],default:"/"},previewUrl:{required:!1,type:[String],default:void 0},auto:{required:!1,type:[Boolean],default:!0},uploadTempEndpoint:{required:!1,type:[Object,String,Function,Boolean],default:void 0,"@default":"config.endpoints.uploadTempFile"},removeTempEndpoint:{required:!1,type:[Object,String,Function,Boolean],default:void 0,"@default":"config.endpoints.removeTempFile"},removeEndpoint:{required:!1,type:[Object,String,Function,Boolean],default:void 0,"@default":"config.endpoints.removeFile"},params:{required:!1,type:[Object],default:()=>({})},softRemove:{required:!1,type:[Boolean],default:!1}},setup(e,a){return a.features=[ze,He,lt,ot,kt,ei,Yo,Yt,Mh,VL,Qe,Ie,Jn,ra,rt,Ot,Fl,Et,Ol,nu,Xe,nt,it,Je,ut,RL,CI,WL,zL,vL,at,Th,Ft,YI,st],a.slots=["label","info","description","before","between","after"],G({},qt(e,a))}},Ho=function(a,t,r){var n=r.fire,i=r.el$,u=m=>{n("select",m,i.value)},l=m=>{n("deselect",m,i.value)},s=m=>{n("search-change",m,i.value)},o=()=>{n("open",i.value)},f=()=>{n("close",i.value)},v=()=>{n("clear",i.value)},d=m=>{n("paste",m,i.value)},p=m=>{};return{handleSelect:u,handleDeselect:l,handleSearchChange:s,handleOpen:o,handleClose:f,handleClear:v,handlePaste:d,handleTag:p}};function GL(e,a){a.sort();for(var t=a.length-1;t>=0;t--)e.splice(a[t],1);return e}var Nh=function(a,t,r){var n=r.value,i=s=>n.value.indexOf(s)!==-1,u=s=>{oe(s)||(s=[s]);var o=Na(n.value);F(s,f=>{i(Mt(f))||o.push(f)}),n.value=o},l=s=>{oe(s)||(s=[s]);var o=Na(n.value),f=[];F(s,v=>{var d=n.value.indexOf(v);d===-1||f.indexOf(d)!==-1||f.push(d)}),n.value=GL(o,f)};return{select:u,deselect:l}},lu=function(a,t,r){var{loading:n}=I(a),i=r.pending,u=c(()=>i.value||n.value);return{isLoading:u}},Ph={name:"MultiselectElement",mixins:[et,ft,gt,yt,bt],emits:["change","select","deselect","search-change","open","close","clear","paste","beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeUnmount","unmounted"],props:{type:{required:!1,type:[String],default:"multiselect",private:!0},default:{required:!1,type:[Array],default:()=>[]},disabled:{required:!1,type:[Boolean],default:!1},floating:{required:!1,type:[String,Boolean,Object],localized:!0,default:null},id:{required:!1,type:[String],default:null},placeholder:{required:!1,type:[String,Object],localized:!0,default:null,native:!1},attrs:{required:!1,type:[Object],default:()=>({})},onSelect:{required:!1,type:[Function],default:null,private:!0},onDeselect:{required:!1,type:[Function],default:null,private:!0},onSearchChange:{required:!1,type:[Function],default:null,private:!0},onOpen:{required:!1,type:[Function],default:null,private:!0},onClose:{required:!1,type:[Function],default:null,private:!0},onClear:{required:!1,type:[Function],default:null,private:!0},onPaste:{required:!1,type:[Function],default:null,private:!0},native:{required:!1,type:[Boolean],default:!0},items:{required:!1,type:[Object,Array,Function,String],localized:!0,default:()=>({})},labelProp:{type:[String],required:!1,default:"label",native:!1},valueProp:{type:[String],required:!1,default:"value",native:!1},dataKey:{type:[String],required:!1,default:void 0},searchParam:{type:[String],required:!1,default:"query"},search:{required:!1,type:[Boolean],default:!1,native:!1},trackBy:{type:[String,Array],required:!1,default:"label",native:!1},strict:{type:[Boolean],required:!1,default:!0,native:!1},multipleLabel:{type:[Function],required:!1,native:!1},multipleLabelSingle:{type:[String],required:!1,native:!1,"@default":"locale.vueform.multiselect.multipleLabelOne"},multipleLabelMultiple:{type:[String],required:!1,native:!1,"@default":"locale.vueform.multiselect.multipleLabelMore"},create:{required:!1,type:[Boolean],default:!1,native:!1},appendNewOption:{type:[Boolean],required:!1,default:!0,native:!1},addOptionOn:{type:[Array],required:!1,default:()=>["enter"],native:!1},object:{type:[Boolean],required:!1,default:!1,native:!1},limit:{type:[Number],required:!1,default:-1,native:!1},max:{type:[Number],required:!1,default:-1,native:!1},groups:{type:[Boolean],required:!1,default:!1,native:!1},groupLabel:{type:[String],required:!1,default:"label",native:!1},groupOptions:{type:[String],required:!1,default:"items",native:!1},groupHideEmpty:{type:[Boolean],required:!1,default:!1,native:!1},groupSelect:{type:[Boolean],required:!1,default:!0,native:!1},openDirection:{type:[String],required:!1,default:"bottom",native:!1},appendToBody:{type:[Boolean],required:!1,default:!1,native:!1},appendTo:{type:[String],required:!1,default:void 0,native:!1},canClear:{type:[Boolean],required:!1,default:!0,native:!1},clearOnSelect:{type:[Boolean],required:!1,default:!1,native:!1},closeOnSelect:{type:[Boolean],required:!1,default:!0,native:!1},closeOnDeselect:{type:[Boolean],required:!1,default:!1,native:!1},clearOnRefetch:{type:[Boolean],required:!1,default:!0},delay:{type:[Number],required:!1,default:-1,native:!1},minChars:{type:[Number],required:!1,default:0,native:!1},resolveOnLoad:{type:[Boolean],required:!1,default:!0,native:!1},filterResults:{type:[Boolean],required:!1,default:!0,native:!1},clearOnSearch:{type:[Boolean],required:!1,default:!1,native:!1},hideSelected:{type:[Boolean],required:!1,default:!0,native:!1},caret:{type:[Boolean],required:!1,default:!0,native:!1},loading:{type:[Boolean],required:!1,default:!1,native:!1},noOptionsText:{type:[String,Object],required:!1,default:void 0,"@default":"locale.multiselect.noOptions",localized:!0,native:!1},noResultsText:{type:[String,Object],required:!1,default:void 0,"@default":"locale.multiselect.noResults",localized:!0,native:!1},autocomplete:{type:[String],required:!1,native:!1},inputType:{type:[String],required:!1,default:"text",native:!1},extendOptions:{required:!1,type:[Object],default:()=>({})}},setup(e,a){return a.features=[ze,He,lt,Yt,ot,kt,ei,Qe,rr,Ie,GP,ra,la,lu,rL,Et,XI,Xe,SI,Ol,rt,Ot,it,Je,at,nt,ut,Ho,Nh,sL,Ft,Kt,st,Ta],a.slots=["option","multiple-label","placeholder","group-label","before-list","after-list","no-results","no-options","caret","spinner","clear","label","info","description","before","between","after"],G({},qt(e,a))}},Ih={name:"ObjectElement",mixins:[et,ft,gt,yt,bt],emits:["change","remove","beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeUnmount","unmounted"],props:{type:{required:!1,type:[String],default:"object",private:!0},default:{required:!1,type:[Object],default:()=>({})},id:{required:!1,type:[String],default:null},schema:{required:!1,type:[Object],default:()=>({})},embed:{required:!1,type:[Boolean],default:!1},onRemove:{required:!1,type:[Function],default:null,private:!0}},setup(e,a){return a.features=[ze,He,lt,ot,Qe,ah,Ie,VP,OI,NI,rt,ph,nu,cP,BI,it,Je,at,nt,ut,Xm,Ft,eh,st],a.slots=["label","info","description","before","between","after"],G({},qt(e,a))}},KL=function(a,t,r){var{radioName:n,radioValue:i}=I(a),u=r.update,l=r.nullValue,s=r.fieldId,o=r.path,f=r.form$,v=Y([]),d=c(()=>n.value||o.value),p=()=>{u(i.value)},m=()=>{u(l.value)},h=(A,D)=>{D&&f.value.$el.querySelectorAll('input[name="'.concat(D,'"')).forEach((b,$)=>{v.value[$]&&b.removeEventListener("change",v.value[$])}),f.value.$el.querySelectorAll('input[name="'.concat(A,'"')).forEach(b=>{var $=()=>{b.id!=s.value&&u(l.value)};v.value.push($),b.addEventListener("change",$)})};return Dt(()=>{h(d.value)}),De(d,h),{inputName:d,check:p,uncheck:m}},Lh={name:"RadioElement",mixins:[et,ft,gt,yt,bt],emits:["change","beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeUnmount","unmounted"],props:{type:{required:!1,type:[String],default:"radio",private:!0},default:{required:!1,type:[String,Number],default:null},disabled:{required:!1,type:[Boolean],default:!1},id:{required:!1,type:[String],default:null},radioName:{required:!1,type:[String],default:null},radioValue:{required:!1,type:[Boolean,String,Number],default:1},text:{required:!1,type:[String,Object],localized:!0,default:null},align:{required:!1,type:[String],default:void 0}},setup(e,a){return a.features=[ze,He,lt,Yt,ot,kt,Qe,Ie,Bt,Cr,ra,Xe,la,Et,Ht,rt,Ot,it,Je,at,nt,ut,KL,NP,Kt,st,jo],a.slots=["default","label","info","description","before","between","after"],G({},qt(e,a))}},Rh={name:"RadiogroupElement",mixins:[et,ft,gt,yt,bt],emits:["change","beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeUnmount","unmounted"],props:{type:{required:!1,type:[String],default:"radiogroup",private:!0},default:{required:!1,type:[String,Number],default:null},disabled:{required:!1,type:[Boolean],default:!1},id:{required:!1,type:[String],default:null},items:{required:!1,type:[Object,Array,Function,String],localized:!0,default:()=>({})},disables:{required:!1,type:[Array],default:()=>[]},clearOnRefetch:{type:[Boolean],required:!1,default:!0}},setup(e,a){return a.features=[ze,He,lt,ot,Cr,Qe,Ie,Bt,kP,ra,Et,ZI,Xe,la,Ht,rt,Ot,it,Je,at,nt,ut,jP,Kt,st],a.slots=["radio","label","info","description","before","between","after"],G({},qt(e,a))}},Yh={name:"SelectElement",mixins:[et,ft,gt,yt,bt],emits:["change","select","deselect","search-change","open","close","clear","paste","beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeUnmount","unmounted"],props:{type:{required:!1,type:[String],default:"select",private:!0},default:{required:!1,type:[String,Number,Object],default:null},disabled:{required:!1,type:[Boolean],default:!1},floating:{required:!1,type:[String,Boolean,Object],localized:!0,default:null},id:{required:!1,type:[String],default:null},placeholder:{required:!1,type:[String,Object],localized:!0,default:null},attrs:{required:!1,type:[Object],default:()=>({})},onSelect:{required:!1,type:[Function],default:null,private:!0},onDeselect:{required:!1,type:[Function],default:null,private:!0},onSearchChange:{required:!1,type:[Function],default:null,private:!0},onOpen:{required:!1,type:[Function],default:null,private:!0},onClose:{required:!1,type:[Function],default:null,private:!0},onClear:{required:!1,type:[Function],default:null,private:!0},onPaste:{required:!1,type:[Function],default:null,private:!0},native:{required:!1,type:[Boolean],default:!0},items:{required:!1,type:[Object,Array,Function,String],localized:!0,default:()=>({})},labelProp:{type:[String],required:!1,default:"label"},valueProp:{type:[String],required:!1,default:"value"},dataKey:{type:[String],required:!1,default:void 0},searchParam:{type:[String],required:!1,default:"query"},search:{required:!1,type:[Boolean],default:!1,native:!1},trackBy:{type:[String,Array],required:!1,default:void 0,native:!1},strict:{type:[Boolean],required:!1,default:!0,native:!1},create:{required:!1,type:[Boolean],default:!1,native:!1},appendNewOption:{type:[Boolean],required:!1,default:!0,native:!1},addOptionOn:{type:[Array],required:!1,default:()=>["enter"],native:!1},object:{type:[Boolean],required:!1,default:!1,native:!1},limit:{type:[Number],required:!1,default:-1,native:!1},groups:{type:[Boolean],required:!1,default:!1,native:!1},groupLabel:{type:[String],required:!1,default:"label",native:!1},groupOptions:{type:[String],required:!1,default:"items",native:!1},groupHideEmpty:{type:[Boolean],required:!1,default:!1,native:!1},openDirection:{type:[String],required:!1,default:"bottom",native:!1},appendToBody:{type:[Boolean],required:!1,default:!1,native:!1},appendTo:{type:[String],required:!1,default:void 0,native:!1},canDeselect:{type:[Boolean],required:!1,default:!0,native:!1},canClear:{type:[Boolean],required:!1,default:!0,native:!1},closeOnSelect:{type:[Boolean],required:!1,default:!0,native:!1},closeOnDeselect:{type:[Boolean],required:!1,default:!1,native:!1},clearOnRefetch:{type:[Boolean],required:!1,default:!1},delay:{type:[Number],required:!1,default:-1,native:!1},minChars:{type:[Number],required:!1,default:0,native:!1},resolveOnLoad:{type:[Boolean],required:!1,default:!0,native:!1},filterResults:{type:[Boolean],required:!1,default:!0,native:!1},clearOnSearch:{type:[Boolean],required:!1,default:!1,native:!1},caret:{type:[Boolean],required:!1,default:!0,native:!1},truncate:{type:[Boolean],required:!1,default:!0,native:!1},loading:{type:[Boolean],required:!1,default:!1,native:!1},noOptionsText:{type:[String,Object],required:!1,default:void 0,"@default":"locale.multiselect.noOptions",localized:!0,native:!1},noResultsText:{type:[String,Object],required:!1,default:void 0,"@default":"locale.multiselect.noResults",localized:!0,native:!1},autocomplete:{type:[String],required:!1,native:!1},inputType:{type:[String],required:!1,default:"text",native:!1},extendOptions:{required:!1,type:[Object],default:()=>({})}},setup(e,a){return a.features=[ze,He,lt,Yt,ot,kt,Cr,Qe,rr,Ie,Bt,ra,la,lu,aL,Et,Po,Xe,xo,ar,rt,Ot,it,Je,at,nt,ut,Ho,Lo,Ft,Kt,st,Ta],a.slots=["option","single-label","placeholder","group-label","before-list","after-list","no-results","no-options","caret","spinner","clear","label","info","description","before","between","after"],G({},qt(e,a))}},ZL=function(a,t,r){var{lazy:n}=I(a),i=r.value,u=l=>{n.value||(i.value=l)};return{handleUpdate:u}},Vh={name:"SliderElement",mixins:[et,ft,gt,yt,bt],emits:["change","beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeUnmount","unmounted"],props:{type:{required:!1,type:[String],default:"slider",private:!0},default:{required:!1,type:[Number,Array],default:0},disabled:{required:!1,type:[Boolean],default:!1},id:{required:!1,type:[String],default:null},min:{required:!1,type:[Number],default:0},max:{required:!1,type:[Number],default:100},step:{required:!1,type:[Number],default:1},tooltips:{required:!1,type:[Boolean],default:!0},showTooltip:{required:!1,type:[String],default:"always"},tooltipPosition:{required:!1,type:[String],default:null},merge:{required:!1,type:[Number],default:-1},format:{required:!1,type:[Object,Function],default:null},orientation:{required:!1,type:[String],default:"horizontal"},direction:{required:!1,type:[String],default:"ltr"},lazy:{required:!1,type:[Boolean],default:!0,private:!0},extendOptions:{required:!1,type:[Object],default:()=>({})}},setup(e,a){return a.features=[ze,He,lt,Yt,ot,kt,UI,Qe,Ie,Bt,ra,iL,Et,xI,Xe,Ht,rt,Ot,it,Je,at,nt,ut,El,ZL,Ft,Kt,st],a.slots=["label","info","description","before","between","after"],G({},qt(e,a))}},XL=function(a,t,r){var{content:n}=I(a),i=r.fieldSlots,u=c(()=>typeof n.value=="string"),l=c(()=>{var f,v;return!((f=n.value)!==null&&f!==void 0&&f.render)&&!((v=n.value)!==null&&v!==void 0&&v.template)?n.value:o(n.value)}),s=c(()=>{var f,v;return!((f=i.value.default)!==null&&f!==void 0&&f.render)&&!((v=i.value.default)!==null&&v!==void 0&&v.template)?i.value.default:o(i.value.default)}),o=f=>(f=G({},f),f.props?Array.isArray(f.props)&&f.props.indexOf("el$")===-1?f.props.push("el$"):!Array.isArray(f.props)&&!f.props.el$&&(f.props.el$={type:Object,required:!1,default:()=>({})}):f.props=["el$"],f);return{isHtml:u,componentContent:l,slotContent:s}},Uh={name:"StaticElement",mixins:[et,ft],emits:["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeUnmount","unmounted"],props:{type:{required:!1,type:[String],default:"static",private:!0},id:{required:!1,type:[String],default:null},content:{required:!1,type:[String,Object,Function],default:""},wrap:{required:!1,type:[Boolean],default:!0},tag:{required:!1,type:[String],default:void 0},allowHtml:{required:!1,type:[Boolean],default:!0},href:{required:!1,type:[String],default:void 0},target:{required:!1,type:[String],default:void 0},src:{required:!1,type:[String],default:void 0},alt:{required:!1,type:[String],default:void 0},title:{required:!1,type:[String],default:void 0},width:{required:!1,type:[String],default:void 0},height:{required:!1,type:[String],default:void 0},attrs:{required:!1,type:[Object],default:()=>({})},align:{required:!1,type:[String],default:void 0},top:{required:!1,type:[String,Number],default:0},bottom:{required:!1,type:[String,Number],default:0}},setup(e,a){return a.features=[ze,He,lt,Gm,Ie,Wm,Xe,rt,it,Je,at,nt,ut,Qe,qP,st,XL],a.slots=["default","label","info","description","before","between","after"],G({},Km(e,a))}},JL=function(a,t,r){var n=r.fire,i=r.el$,u=l=>{n("tag",l,i.value)};return{handleTag:u}},zh={name:"TagsElement",mixins:[et,ft,gt,yt,bt],emits:["change","select","deselect","search-change","open","close","tag","clear","paste","beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeUnmount","unmounted"],props:{type:{required:!1,type:[String],default:"tags",private:!0},default:{required:!1,type:[Array],default:()=>[]},disabled:{required:!1,type:[Boolean],default:!1},floating:{required:!1,type:[String,Boolean,Object],localized:!0,default:null},id:{required:!1,type:[String],default:null},placeholder:{required:!1,type:[String,Object],localized:!0,default:null},attrs:{required:!1,type:[Object],default:()=>({})},onSelect:{required:!1,type:[Function],default:null,private:!0},onDeselect:{required:!1,type:[Function],default:null,private:!0},onSearchChange:{required:!1,type:[Function],default:null,private:!0},onOpen:{required:!1,type:[Function],default:null,private:!0},onClose:{required:!1,type:[Function],default:null,private:!0},onTag:{required:!1,type:[Function],default:null,private:!0},onClear:{required:!1,type:[Function],default:null,private:!0},onPaste:{required:!1,type:[Function],default:null,private:!0},items:{required:!1,type:[Object,Array,Function,String],localized:!0,default:()=>({})},labelProp:{type:[String],required:!1,default:"label"},valueProp:{type:[String],required:!1,default:"value"},dataKey:{type:[String],required:!1,default:void 0},searchParam:{type:[String],required:!1,default:"query"},search:{required:!1,type:[Boolean],default:!1},trackBy:{type:[String,Array],required:!1,default:"label"},strict:{type:[Boolean],required:!1,default:!0},breakTags:{type:[Boolean],required:!1,default:!1},create:{required:!1,type:[Boolean],default:!1},appendNewOption:{type:[Boolean],required:!1,default:!0},addOptionOn:{type:[Array],required:!1,default:()=>["enter"]},object:{type:[Boolean],required:!1,default:!1},limit:{type:[Number],required:!1,default:-1},max:{type:[Number],required:!1,default:-1},groups:{type:[Boolean],required:!1,default:!1},groupLabel:{type:[String],required:!1,default:"label"},groupOptions:{type:[String],required:!1,default:"items"},groupHideEmpty:{type:[Boolean],required:!1,default:!1},groupSelect:{type:[Boolean],required:!1,default:!0},openDirection:{type:[String],required:!1,default:"bottom"},appendToBody:{type:[Boolean],required:!1,default:!1,native:!1},appendTo:{type:[String],required:!1,default:void 0,native:!1},canClear:{type:[Boolean],required:!1,default:!0},clearOnSelect:{type:[Boolean],required:!1,default:!0},closeOnSelect:{type:[Boolean],required:!1,default:!0},closeOnDeselect:{type:[Boolean],required:!1,default:!1},clearOnRefetch:{type:[Boolean],required:!1,default:!1},delay:{type:[Number],required:!1,default:-1},minChars:{type:[Number],required:!1,default:0},resolveOnLoad:{type:[Boolean],required:!1,default:!0},filterResults:{type:[Boolean],required:!1,default:!0},clearOnSearch:{type:[Boolean],required:!1,default:!1},hideSelected:{type:[Boolean],required:!1,default:!0},showOptions:{type:[Boolean],required:!1,default:!0},caret:{type:[Boolean],required:!1,default:!0},loading:{type:[Boolean],required:!1,default:!1},noOptionsText:{type:[String,Object],required:!1,default:void 0,"@default":"locale.multiselect.noOptions",localized:!0},noResultsText:{type:[String,Object],required:!1,default:void 0,"@default":"locale.multiselect.noResults",localized:!0},autocomplete:{type:[String],required:!1},inputType:{type:[String],required:!1,default:"text"},extendOptions:{required:!1,type:[Object],default:()=>({})}},setup(e,a){return a.features=[ze,He,lt,Yt,ot,kt,ei,Qe,rr,Ie,KP,ra,la,lu,nL,Et,JI,Xe,FI,Ol,rt,Ot,it,Je,at,nt,ut,Ho,JL,Nh,oL,Ft,Kt,st,Ta],a.slots=["tag","option","placeholder","group-label","before-list","after-list","no-results","no-options","caret","spinner","clear","label","info","description","before","between","after"],G({},qt(e,a))}},Hh=function(a,t,r){var{autogrow:n}=I(a),i=r.form$,u=r.input,l=r.value,s=()=>{n.value&&i.value.$vueform.services.autosize.update(u.value)};return De(n,o=>{o?i.value.$vueform.services.autosize(u.value):i.value.$vueform.services.autosize.destroy(u.value)}),De(l,()=>{s()}),Dt(()=>{n.value&&pt(()=>{i.value.$vueform.services.autosize(u.value)})}),{autosize:s}},QL=function(a,t,r){var{autosize:n}=Hh(a,t,r),i=r.form$;return Dt(()=>{i.value.on("language",()=>{n()})}),{autosize:n}},ai=function(a,t,r){var n=r.fire,i=r.el$,u=()=>{n("blur",i.value)};return{handleBlur:u}},Tl=function(a,t,r){var{fire:n,el$:i}=r,u=o=>{n("keydown",o,i.value)},l=o=>{n("keyup",o,i.value)},s=o=>{n("keypress",o,i.value)};return{handleKeydown:u,handleKeyup:l,handleKeypress:s}},Wh={name:"TextareaElement",mixins:[et,ft,gt,yt,bt],emits:["change","blur","keydown","keyup","keypress","beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeUnmount","unmounted"],props:{type:{required:!1,type:[String],default:"textarea",private:!0},default:{required:!1,type:[String,Number,Object],localized:!0,default:null},addons:{required:!1,type:[Object],localized:!0,default:()=>({})},autogrow:{required:!1,type:[Boolean],default:!0},rows:{required:!1,type:[Number],default:3},debounce:{required:!1,type:[Number],default:null},disabled:{required:!1,type:[Boolean],default:!1},floating:{required:!1,type:[String,Boolean,Object],localized:!0,default:null},id:{required:!1,type:[String],default:null},placeholder:{required:!1,type:[String,Object],localized:!0,default:null},readonly:{required:!1,type:[Boolean],default:!1},attrs:{required:!1,type:[Object],default:()=>({})},onBlur:{required:!1,type:[Function],default:null,private:!0},onKeydown:{required:!1,type:[Function],default:null,private:!0},onKeyup:{required:!1,type:[Function],default:null,private:!0},onKeypress:{required:!1,type:[Function],default:null,private:!0}},setup(e,a){return a.features=[ze,He,lt,Yt,ot,kt,Cr,Qe,rr,Ie,Bt,on,Sl,Xe,Qn,Et,Ht,ar,rt,Ot,it,Je,at,nt,ut,fn,Hh,ti,ai,Ft,Kt,st,Tl,Ta],a.slots=["label","info","description","before","between","after","addon-before","addon-after"],G({},qt(e,a))}},Gh={name:"TextElement",mixins:[et,ft,gt,yt,bt],emits:["change","blur","keydown","keyup","keypress","beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeUnmount","unmounted"],props:{type:{required:!1,type:[String],default:"text",private:!0},default:{required:!1,type:[String,Number,Object],localized:!0,default:null},debounce:{required:!1,type:[Number],default:null},disabled:{required:!1,type:[Boolean],default:!1},floating:{required:!1,type:[String,Boolean,Object],localized:!0,default:null},id:{required:!1,type:[String],default:null},placeholder:{required:!1,type:[String,Object],localized:!0,default:null},readonly:{required:!1,type:[Boolean],default:!1},inputType:{required:!1,type:[String],default:"text"},forceNumbers:{required:!1,type:[Boolean],default:null},attrs:{required:!1,type:[Object],default:()=>({})},addons:{required:!1,type:[Object],localized:!0,default:()=>({})},autocomplete:{required:!1,type:[String,Number],default:null},loading:{type:[Boolean],required:!1,default:!1},onBlur:{required:!1,type:[Function],default:null,private:!0},onKeydown:{required:!1,type:[Function],default:null,private:!0},onKeyup:{required:!1,type:[Function],default:null,private:!0},onKeypress:{required:!1,type:[Function],default:null,private:!0}},setup(e,a){return a.features=[ze,He,lt,Yt,ot,kt,Cr,Qe,rr,Ie,Bt,on,Sl,Xe,Qn,lu,Et,bI,ar,rt,Ot,it,Je,at,nt,ut,fn,ti,ai,Ft,Kt,st,Tl,Ta],a.slots=["label","info","description","before","between","after","addon-before","addon-after"],G({},qt(e,a))}},Kh={name:"ToggleElement",mixins:[et,ft,gt,yt,bt],emits:["change","beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeUnmount","unmounted"],props:{type:{required:!1,type:[String],default:"toggle",private:!0},default:{required:!1,type:[String,Number,Boolean],default:void 0},disabled:{required:!1,type:[Boolean],default:!1},id:{required:!1,type:[String],default:null},text:{required:!1,type:[String,Object],localized:!0,default:null},labels:{required:!1,type:[Object],localized:!0,default:()=>({})},trueValue:{required:!1,type:[Boolean,String,Number],default:!0},falseValue:{required:!1,type:[Boolean,String,Number],default:!1},extendOptions:{required:!1,type:[Object],default:()=>({})},align:{required:!1,type:[String],default:void 0}},setup(e,a){return a.features=[ze,He,lt,Yt,ot,kt,th,Qe,Ie,Bt,uL,ra,Xe,la,Et,Ht,rt,Ot,it,Je,at,nt,ut,El,WI,PP,Kt,st,jo],a.slots=["default","label","info","description","before","between","after"],G({},qt(e,a))}},Zh=function(a,t,r){var{endpoint:n,method:i}=I(a),u=r.form$,l=r.input,s=Y(!1),o=c(()=>n.value||u.value.$vueform.config.endpoints.attachment.url),f=c(()=>i.value||u.value.$vueform.config.endpoints.attachment.method);return Dt(()=>{l.value.editor$.addEventListener("focus",()=>{s.value=!0}),l.value.editor$.addEventListener("blur",()=>{s.value=!1})}),{editorEndpoint:o,editorMethod:f,focused:s}},Xh=function(a,t,r){var n=r.fire,i=r.listeners,u=l=>{n("alert",l),i.value.alert||alert(l)};return{handleAlert:u}},Jh={name:"EditorElement",mixins:[et,ft,gt,yt,bt],emits:["change","blur","alert","error","beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeUnmount","unmounted"],props:{type:{required:!1,type:[String],default:"editor",private:!0},default:{required:!1,type:[String,Number,Object],localized:!0,default:null},debounce:{required:!1,type:[Number],default:null},disabled:{required:!1,type:[Boolean],default:!1},id:{required:!1,type:[String],default:null},placeholder:{required:!1,type:[String,Object],localized:!0,default:null},onError:{required:!1,type:[Function],default:null,private:!0},onAlert:{required:!1,type:[Function],default:null,private:!0},accept:{required:!1,type:[Array],default:()=>[]},acceptMimes:{required:!1,type:[Array],default:()=>[]},endpoint:{required:!1,type:[String,Function],default:null,"@default":"config.endpoints.attachment.url"},method:{required:!1,type:[String],default:null,"@default":"config.endpoints.attachment.method"},hideTools:{required:!1,type:[Array],default:()=>[]},onBlur:{required:!1,type:[Function],default:null,private:!0}},setup(e,a){return a.features=[ze,He,lt,Yt,ot,kt,Cr,Qe,Ie,Bt,Sl,Xe,Qn,Et,$I,ar,rt,Ot,it,Je,Zh,at,nt,ut,fn,Xh,Ro,ai,Ft,Kt,OP,Ta],a.slots=["label","info","description","before","between","after"],G({},qt(e,a))}},Wo=function(a,t,r){var n=r.form$,i=c(()=>n.value.selectedLanguage),u=c(()=>zt(n.value.options.languages));return{language:i,languages:u}},Qh={name:"TTextareaElement",mixins:[et,ft,gt,yt,bt],emits:["change","blur","keydown","keyup","keypress","beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeUnmount","unmounted"],props:{type:{required:!1,type:[String],default:"t-textarea",private:!0},default:{required:!1,type:[Object,String,Number],localized:!0,default:null},addons:{required:!1,type:[Object],localized:!0,default:()=>({})},autogrow:{required:!1,type:[Boolean],default:!0},rows:{required:!1,type:[Number],default:3},debounce:{required:!1,type:[Number],default:null},disabled:{required:!1,type:[Boolean],default:!1},floating:{required:!1,type:[String,Boolean,Object],localized:!0,default:null},id:{required:!1,type:[String],default:null},placeholder:{required:!1,type:[String,Object],localized:!0,default:null},readonly:{required:!1,type:[Boolean],default:!1},attrs:{required:!1,type:[Object],default:()=>({})},onBlur:{required:!1,type:[Function],default:null,private:!0},onKeydown:{required:!1,type:[Function],default:null,private:!0},onKeyup:{required:!1,type:[Function],default:null,private:!0},onKeypress:{required:!1,type:[Function],default:null,private:!0}},setup(e,a){return a.features=[ze,He,lt,Yt,ot,kt,Qe,rr,Ie,Bt,on,Wo,No,Mo,Bo,Xe,ko,To,Io,rt,Ot,it,Je,at,nt,ut,fn,QL,ti,ai,Ft,qo,st,Tl,Ta],a.slots=["label","info","description","before","between","after","addon-before","addon-after"],G({},Eo(e,a))}},eg={name:"TTextElement",mixins:[et,ft,gt,yt,bt],emits:["change","blur","keydown","keyup","keypress","beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeUnmount","unmounted"],props:{type:{required:!1,type:[String],default:"t-text",private:!0},default:{required:!1,type:[Object,String,Number],localized:!0,default:void 0},addons:{required:!1,type:[Object],localized:!0,default:()=>({})},autocomplete:{required:!1,type:[String,Number],default:null},debounce:{required:!1,type:[Number],default:null},disabled:{required:!1,type:[Boolean],default:!1},floating:{required:!1,type:[String,Boolean,Object],localized:!0,default:null},id:{required:!1,type:[String],default:null},inputType:{required:!1,type:[String],default:"text"},attrs:{required:!1,type:[Object],default:()=>({})},placeholder:{required:!1,type:[String,Object],localized:!0,default:null},readonly:{required:!1,type:[Boolean],default:!1},loading:{type:[Boolean],required:!1,default:!1},onBlur:{required:!1,type:[Function],default:null,private:!0},onKeydown:{required:!1,type:[Function],default:null,private:!0},onKeyup:{required:!1,type:[Function],default:null,private:!0},onKeypress:{required:!1,type:[Function],default:null,private:!0}},setup(e,a){return a.features=[ze,He,lt,Yt,ot,kt,Qe,rr,Ie,Bt,on,Wo,No,Mo,Bo,Xe,ko,lu,To,Io,rt,Ot,it,Je,at,nt,ut,fn,ti,ai,Ft,qo,st,Tl,Ta],a.slots=["label","info","description","before","between","after","addon-before","addon-after"],G({},Eo(e,a))}},tg={name:"TEditorElement",mixins:[et,ft,gt,yt,bt],emits:["change","blur","alert","error","beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeUnmount","unmounted"],props:{type:{required:!1,type:[String],default:"t-editor",private:!0},default:{required:!1,type:[Object,String,Number],localized:!0,default:null},debounce:{required:!1,type:[Number],default:null},disabled:{required:!1,type:[Boolean],default:!1},id:{required:!1,type:[String],default:null},placeholder:{required:!1,type:[String,Object],localized:!0,default:null},onError:{required:!1,type:[Function],default:null,private:!0},onAlert:{required:!1,type:[Function],default:null,private:!0},accept:{required:!1,type:[Array],default:null},acceptMimes:{required:!1,type:[Array],default:null},endpoint:{required:!1,type:[String,Function],default:null,"@default":"config.endpoints.attachment.url"},method:{required:!1,type:[String],default:null,"@default":"config.endpoints.attachment.method"},hideTools:{required:!1,type:[Array],default:()=>[]},onBlur:{required:!1,type:[Function],default:null,private:!0}},setup(e,a){return a.features=[ze,He,lt,Yt,ot,kt,Qe,Ie,Bt,Wo,No,Mo,Bo,Xe,ko,wI,Io,rt,Ot,it,Je,Zh,at,nt,ut,fn,Xh,Ro,ai,Ft,qo,st,Ta],a.slots=["label","info","description","before","between","after"],G({},Eo(e,a))}},ag={name:"CheckboxgroupCheckbox",props:{item:{type:[Object,String,Number],required:!0},value:{type:[String,Number],required:!0},items:{type:[Object,Array],required:!0},index:{type:[Number],required:!0},attrs:{required:!1,type:[Object],default:()=>({})}},setup(e,a){var{value:t,item:r}=I(e),{el$:n,form$:i,Size:u,View:l,classesInstance:s,classes:o,Templates:f,template:v,theme:d}=Gt(e,a),p=c(()=>{var b;return n.value.disabledItems.map($=>String($)).indexOf(String(t.value))!==-1||n.value.isDisabled||!!((b=r.value)!==null&&b!==void 0&&b.disabled)}),m=c(()=>n.value.value.indexOf(String(t.value))!==-1||n.value.value.indexOf(Number(t.value))!==-1),h=c(()=>"".concat(n.value.fieldId,"-").concat(t.value)),A=c(()=>"".concat(n.value.path,"-").concat(t.value)),D=b=>{if(["ArrowRight","ArrowDown"].indexOf(b.key)!==-1){b.preventDefault();var $=b.target.nextElementSibling;($==null?void 0:$.getAttribute("role"))==="checkbox"&&$.focus()}else if(["ArrowLeft","ArrowUp"].indexOf(b.key)!==-1){b.preventDefault();var _=b.target.previousElementSibling;(_==null?void 0:_.getAttribute("role"))==="checkbox"&&_.focus()}};return{el$:n,form$:i,Size:u,View:l,classesInstance:s,classes:o,Templates:f,template:v,theme:d,isDisabled:p,id:h,name:A,checked:m,handleKeydown:D}}},e4=function(a,t,r){var n=r.el$,i=r.form$,u=c(()=>n.value.stage>0),l=c(()=>n.value.link&&n.value.clickable),s=c(()=>n.value.hasUploadError),o=c(()=>n.value.link),f=c(()=>{var O=n.value.filename&&typeof n.value.filename=="string"?n.value.filename.split("\\").pop().split("/").pop():n.value.filename;return O&&(O=O.split("?")[0]),O}),v=c(()=>n.value.clickable),d=c(()=>n.value.stage>1),p=c(()=>n.value.uploading),m=c(()=>n.value.progress),h=c(()=>(n.value.canRemove||n.value.uploading)&&!n.value.isDisabled),A=c(()=>n.value.canUploadTemp),D=c(()=>i.value.translations.vueform.elements.file.upload),b=c(()=>n.value.embed?void 0:n.value.labelId),$=()=>{n.value.uploadTemp()},_=()=>{p.value?n.value.handleAbort():n.value.handleRemove()},C=function(){var O=te(function*(T){switch(T.key){case"Backspace":case"Delete":if(_(),!n.value.canSelect)return;yield pt(),document.querySelector("#".concat(n.value.fieldId)).focus();break;case"Enter":if(n.value.auto)return;$();break}});return function(S){return O.apply(this,arguments)}}();return{visible:u,hasLink:l,hasError:s,link:o,filename:f,clickable:v,uploaded:d,uploading:p,progress:m,canRemove:h,canUploadTemp:A,uploadText:D,ariaLabelledby:b,upload:$,remove:_,handleKeyup:C}},rg={name:"FilePreview",props:{attrs:{required:!1,type:[Object],default:()=>({})}},setup(e,a){var{el$:t,form$:r,Size:n,View:i,classesInstance:u,classes:l,Templates:s,template:o,theme:f}=Gt(e,a),{visible:v,hasLink:d,hasError:p,link:m,filename:h,clickable:A,uploaded:D,uploading:b,progress:$,canRemove:_,canUploadTemp:C,uploadText:O,ariaLabelledby:T,upload:S,remove:x,handleKeyup:L}=e4(e,a,{el$:t,form$:r}),z=c(()=>t.value.preview),X=c(()=>{var P=t.value.embed&&t.value.View!=="gallery"?void 0:h.value;return p.value&&(P?P+=", error":P="error"),P}),Q=c(()=>t.value.embed&&t.value.View!=="gallery"||D.value||t.value.auto?void 0:O.value);return{el$:t,form$:r,Size:n,View:i,classesInstance:u,classes:l,Templates:s,template:o,theme:f,visible:v,hasLink:d,hasError:p,link:m,filename:h,clickable:A,uploaded:D,uploading:b,progress:$,canRemove:_,canUploadTemp:C,uploadText:O,preview:z,ariaLabelledby:T,ariaPlaceholder:X,ariaRoledescription:Q,upload:S,remove:x,handleKeyup:L}}},ng={name:"RadiogroupRadio",props:{item:{type:[Object,String,Number],required:!0},value:{type:[String,Number],required:!0},items:{type:[Object,Array],required:!0},index:{type:[Number],required:!0},attrs:{required:!1,type:[Object],default:()=>({})}},setup(e,a){var{value:t,item:r}=I(e),{el$:n,form$:i,Size:u,View:l,classesInstance:s,classes:o,Templates:f,template:v,theme:d}=Gt(e,a),p=c(()=>{var b;return n.value.disabledItems.map($=>String($)).indexOf(String(t.value))!==-1||n.value.isDisabled||!!((b=r.value)!==null&&b!==void 0&&b.disabled)}),m=c(()=>n.value.value===String(t.value)||n.value.value===Number(t.value)),h=c(()=>"".concat(n.value.fieldId,"-").concat(t.value)),A=c(()=>n.value.path),D=b=>{if(["ArrowRight","ArrowDown"].indexOf(b.key)!==-1){b.preventDefault();var $=b.target.nextElementSibling;($==null?void 0:$.getAttribute("role"))==="radio"&&$.focus()}else if(["ArrowLeft","ArrowUp"].indexOf(b.key)!==-1){b.preventDefault();var _=b.target.previousElementSibling;(_==null?void 0:_.getAttribute("role"))==="radio"&&_.focus()}};return{el$:n,form$:i,Size:u,View:l,classesInstance:s,classes:o,Templates:f,template:v,theme:d,isDisabled:p,id:h,name:A,checked:m,handleKeydown:D}}},t4={Vueform:$o,FormErrors:bm,FormMessages:Am,FormLanguages:_m,FormLanguage:Dm,FormTabs:wm,FormTab:Cm,FormSteps:Sm,FormStepsControls:Fm,FormStepsControl:Om,FormStep:Em,FormElements:So,ElementLayout:xm,ElementLayoutInline:Tm,ElementLoader:Mm,ElementLabelFloating:km,ElementLabel:Bm,ElementInfo:qm,ElementDescription:jm,ElementError:Nm,ElementMessage:Pm,ElementText:Im,DragAndDrop:Lm,ElementAddon:Rm,DatepickerWrapper:Um,EditorWrapper:zm,ButtonElement:Zm,CheckboxElement:rh,CheckboxgroupElement:uh,DateElement:oh,DatesElement:fh,FileElement:ch,GenericElement:On,GroupElement:mh,HiddenElement:hh,ListElement:Bh,LocationElement:qh,MultifileElement:jh,MultiselectElement:Ph,ObjectElement:Ih,RadioElement:Lh,RadiogroupElement:Rh,SelectElement:Yh,SliderElement:Vh,StaticElement:Uh,TagsElement:zh,TextareaElement:Wh,TextElement:Gh,ToggleElement:Kh,EditorElement:Jh,TTextareaElement:Qh,TTextElement:eg,TEditorElement:tg,CheckboxgroupCheckbox:ag,FilePreview:rg,RadiogroupRadio:ng},a4=Object.freeze({__proto__:null,default:t4,Vueform:$o,FormErrors:bm,FormMessages:Am,FormLanguages:_m,FormLanguage:Dm,FormTabs:wm,FormTab:Cm,FormSteps:Sm,FormStepsControls:Fm,FormStepsControl:Om,FormStep:Em,FormElements:So,ElementLayout:xm,ElementLayoutInline:Tm,ElementLoader:Mm,ElementLabelFloating:km,ElementLabel:Bm,ElementInfo:qm,ElementDescription:jm,ElementError:Nm,ElementMessage:Pm,ElementText:Im,DragAndDrop:Lm,ElementAddon:Rm,DatepickerWrapper:Um,EditorWrapper:zm,ButtonElement:Zm,CheckboxElement:rh,CheckboxgroupElement:uh,DateElement:oh,DatesElement:fh,FileElement:ch,GenericElement:On,GroupElement:mh,HiddenElement:hh,ListElement:Bh,LocationElement:qh,MultifileElement:jh,MultiselectElement:Ph,ObjectElement:Ih,RadioElement:Lh,RadiogroupElement:Rh,SelectElement:Yh,SliderElement:Vh,StaticElement:Uh,TagsElement:zh,TextareaElement:Wh,TextElement:Gh,ToggleElement:Kh,EditorElement:Jh,TTextareaElement:Qh,TTextElement:eg,TEditorElement:tg,CheckboxgroupCheckbox:ag,FilePreview:rg,RadiogroupRadio:ng});function ig(e){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!e.name)throw Error("The `name` attribute must be defined to create a new element");e=G(G({},e),a);var t=e.name,r="".concat(sn(Pi(t))),n=[].concat(On.emits).concat(e.emits||[]);return G({name:r,components:e.components||{},mixins:[].concat(On.mixins).concat(e.mixins||[]),emits:n,props:G(G(G({},On.props),e.props||{}),{},{type:{required:!1,type:[String],default:t,private:!0}}),setup(i,u){var l=G(G({},u),{},{emits:n,name:Y(r),nullValue:e.nullValue!==void 0?e.nullValue:null}),s=On.setup(i,l);l.element=s;var o=e.setup?e.setup(i,l):{};return G(G({},s),o)}},Es(e,["setup","mixins","emits","props"]))}function i4(e){return e}var u4=ig,l4=ig;hm(void 0,{Vueform:$o,FormElements:So});var s4=hm(void 0,G({},a4),G({},wN));export{Zm as ButtonElement,rh as CheckboxElement,ag as CheckboxgroupCheckbox,uh as CheckboxgroupElement,oh as DateElement,Um as DatepickerWrapper,fh as DatesElement,Lm as DragAndDrop,Jh as EditorElement,zm as EditorWrapper,Rm as ElementAddon,jm as ElementDescription,Nm as ElementError,qm as ElementInfo,Bm as ElementLabel,km as ElementLabelFloating,xm as ElementLayout,Tm as ElementLayoutInline,Mm as ElementLoader,Pm as ElementMessage,Im as ElementText,ch as FileElement,rg as FilePreview,So as FormElements,bm as FormErrors,Dm as FormLanguage,_m as FormLanguages,Am as FormMessages,Em as FormStep,Sm as FormSteps,Om as FormStepsControl,Fm as FormStepsControls,Cm as FormTab,wm as FormTabs,On as GenericElement,mh as GroupElement,hh as HiddenElement,Bh as ListElement,qh as LocationElement,jh as MultifileElement,Ph as MultiselectElement,Ih as ObjectElement,Lh as RadioElement,Rh as RadiogroupElement,ng as RadiogroupRadio,Yh as SelectElement,Vh as SliderElement,Uh as StaticElement,tg as TEditorElement,eg as TTextElement,Qh as TTextareaElement,zh as TagsElement,Gh as TextElement,Wh as TextareaElement,Kh as ToggleElement,_e as Validator,$o as Vueform,u4 as VueformElement,vp as accepted,cp as active_url,au as after,pp as after_or_equal,mp as alpha,hp as alpha_dash,gp as alpha_num,yp as array,bp as before,Ap as before_or_equal,_p as between,Dp as boolean,$p as confirmed,Op as date,Ep as date_equals,xp as date_format,s4 as default,i4 as defineConfig,l4 as defineElement,Tp as different,Mp as digits,kp as digits_between,Bp as dimensions,qp as distinct,ig as element,jp as email,Np as exists,Pp as file,Ip as filled,ru as gt,Lp as gte,Rp as image,Yp as in_,Vp as in_array,hm as installer,Up as integer,Kp as ip,Hp as ipv4,Gp as ipv6,Zp as json,Xp as lt,Jp as lte,Qp as max,em as mimes,tm as mimetypes,am as min,rm as not_in,nm as not_regex,im as nullable,um as numeric,lm as regex,sm as required,om as same,fm as size,dm as string,vm as timezone,cm as unique,pm as url,at as useClasses,cq as useVueform,mm as uuid,s4 as vueform};