@vc-shell/framework 1.0.43 → 1.0.44
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/framework.js +6 -6
- package/dist/framework.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +4 -4
- package/shared/app-switcher/components/vc-app-switcher/vc-app-switcher.vue +1 -1
- package/ui/components/organisms/vc-app/_internal/vc-app-bar/vc-app-bar.vue +16 -35
- package/ui/components/organisms/vc-app/_internal/vc-app-menu/vc-app-menu.vue +12 -2
- package/ui/components/organisms/vc-app/vc-app.vue +1 -1
package/dist/framework.js
CHANGED
|
@@ -1084,23 +1084,23 @@ ${c}`:h)}else throw d},onCacheKey:d=>Bw(e,n,d)}}function Zy(t,e,n,r){const{modif
|
|
|
1084
1084
|
* Released under the MIT License.
|
|
1085
1085
|
*/const ub="9.2.2";function hb(){let t=!1;typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(t=!0,hi().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(t=!0,hi().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(hi().__INTLIFY_PROD_DEVTOOLS__=!1),process.env.NODE_ENV!=="production"&&t&&console.warn("You are running the esm-bundler build of vue-i18n. It is recommended to configure your bundler to explicitly replace feature flag globals with boolean literals to get proper tree-shaking in the final bundle.")}let qd=kt.__EXTEND_POINT__;const yr=()=>++qd,rt={FALLBACK_TO_ROOT:qd,NOT_SUPPORTED_PRESERVE:yr(),NOT_SUPPORTED_FORMATTER:yr(),NOT_SUPPORTED_PRESERVE_DIRECTIVE:yr(),NOT_SUPPORTED_GET_CHOICE_INDEX:yr(),COMPONENT_NAME_LEGACY_COMPATIBLE:yr(),NOT_FOUND_PARENT_SCOPE:yr()},db={[rt.FALLBACK_TO_ROOT]:"Fall back to {type} '{key}' with root locale.",[rt.NOT_SUPPORTED_PRESERVE]:"Not supported 'preserve'.",[rt.NOT_SUPPORTED_FORMATTER]:"Not supported 'formatter'.",[rt.NOT_SUPPORTED_PRESERVE_DIRECTIVE]:"Not supported 'preserveDirectiveContent'.",[rt.NOT_SUPPORTED_GET_CHOICE_INDEX]:"Not supported 'getChoiceIndex'.",[rt.COMPONENT_NAME_LEGACY_COMPATIBLE]:"Component name legacy compatible: '{name}' -> 'i18n'",[rt.NOT_FOUND_PARENT_SCOPE]:"Not found parent scope. use the global scope."};function Wt(t,...e){return uo(db[t],...e)}let Qd=we.__EXTEND_POINT__;const mt=()=>++Qd,_e={UNEXPECTED_RETURN_TYPE:Qd,INVALID_ARGUMENT:mt(),MUST_BE_CALL_SETUP_TOP:mt(),NOT_INSLALLED:mt(),NOT_AVAILABLE_IN_LEGACY_MODE:mt(),REQUIRED_VALUE:mt(),INVALID_VALUE:mt(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:mt(),NOT_INSLALLED_WITH_PROVIDE:mt(),UNEXPECTED_ERROR:mt(),NOT_COMPATIBLE_LEGACY_VUE_I18N:mt(),BRIDGE_SUPPORT_VUE_2_ONLY:mt(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:mt(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:mt(),__EXTEND_POINT__:mt()};function Qe(t,...e){return fo(t,null,process.env.NODE_ENV!=="production"?{messages:fb,args:e}:void 0)}const fb={[_e.UNEXPECTED_RETURN_TYPE]:"Unexpected return type in composer",[_e.INVALID_ARGUMENT]:"Invalid argument",[_e.MUST_BE_CALL_SETUP_TOP]:"Must be called at the top of a `setup` function",[_e.NOT_INSLALLED]:"Need to install with `app.use` function",[_e.UNEXPECTED_ERROR]:"Unexpected error",[_e.NOT_AVAILABLE_IN_LEGACY_MODE]:"Not available in legacy mode",[_e.REQUIRED_VALUE]:"Required in value: {0}",[_e.INVALID_VALUE]:"Invalid value",[_e.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN]:"Cannot setup vue-devtools plugin",[_e.NOT_INSLALLED_WITH_PROVIDE]:"Need to install with `provide` function",[_e.NOT_COMPATIBLE_LEGACY_VUE_I18N]:"Not compatible legacy VueI18n.",[_e.BRIDGE_SUPPORT_VUE_2_ONLY]:"vue-i18n-bridge support Vue 2.x only",[_e.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION]:"Must define \u2018i18n\u2019 option or custom block in Composition API with using local scope in Legacy API mode",[_e.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]:"Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"},Za=sn("__transrateVNode"),el=sn("__datetimeParts"),tl=sn("__numberParts"),cr=sn("__enableEmitter"),_i=sn("__disableEmitter"),Zd=sn("__setPluralRules");sn("__intlifyMeta");const ef=sn("__injectWithOption");function nl(t){if(!Ne(t))return t;for(const e in t)if(!!Jl(t,e))if(!e.includes("."))Ne(t[e])&&nl(t[e]);else{const n=e.split("."),r=n.length-1;let i=t;for(let s=0;s<r;s++)n[s]in i||(i[n[s]]={}),i=i[n[s]];i[n[r]]=t[e],delete t[e],Ne(i[n[r]])&&nl(i[n[r]])}return t}function go(t,e){const{messages:n,__i18n:r,messageResolver:i,flatJson:s}=e,d=ye(n)?n:Pe(r)?{}:{[t]:{}};if(Pe(r)&&r.forEach(h=>{if("locale"in h&&"resource"in h){const{locale:c,resource:m}=h;c?(d[c]=d[c]||{},di(m,d[c])):di(m,d)}else oe(h)&&di(JSON.parse(h),d)}),i==null&&s)for(const h in d)Jl(d,h)&&nl(d[h]);return d}const ws=t=>!Ne(t)||Pe(t);function di(t,e){if(ws(t)||ws(e))throw Qe(_e.INVALID_VALUE);for(const n in t)Jl(t,n)&&(ws(t[n])||ws(e[n])?e[n]=t[n]:di(t[n],e[n]))}function tf(t){return t.type}function nf(t,e,n){let r=Ne(e.messages)?e.messages:{};"__i18nGlobal"in n&&(r=go(t.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const i=Object.keys(r);i.length&&i.forEach(s=>{t.mergeLocaleMessage(s,r[s])});{if(Ne(e.datetimeFormats)){const s=Object.keys(e.datetimeFormats);s.length&&s.forEach(d=>{t.mergeDateTimeFormat(d,e.datetimeFormats[d])})}if(Ne(e.numberFormats)){const s=Object.keys(e.numberFormats);s.length&&s.forEach(d=>{t.mergeNumberFormat(d,e.numberFormats[d])})}}}function Vu(t){return l.createVNode(l.Text,null,t,0)}const Uu="__INTLIFY_META__";let Wu=0;function Hu(t){return(e,n,r,i)=>t(n,r,l.getCurrentInstance()||void 0,i)}const mb=()=>{const t=l.getCurrentInstance();let e=null;return t&&(e=tf(t)[Uu])?{[Uu]:e}:null};function Zl(t={},e){const{__root:n}=t,r=n===void 0;let i=Ce(t.inheritLocale)?t.inheritLocale:!0;const s=l.ref(n&&i?n.locale.value:oe(t.locale)?t.locale:Ki),d=l.ref(n&&i?n.fallbackLocale.value:oe(t.fallbackLocale)||Pe(t.fallbackLocale)||ye(t.fallbackLocale)||t.fallbackLocale===!1?t.fallbackLocale:s.value),h=l.ref(go(s.value,t)),c=l.ref(ye(t.datetimeFormats)?t.datetimeFormats:{[s.value]:{}}),m=l.ref(ye(t.numberFormats)?t.numberFormats:{[s.value]:{}});let a=n?n.missingWarn:Ce(t.missingWarn)||jn(t.missingWarn)?t.missingWarn:!0,o=n?n.fallbackWarn:Ce(t.fallbackWarn)||jn(t.fallbackWarn)?t.fallbackWarn:!0,u=n?n.fallbackRoot:Ce(t.fallbackRoot)?t.fallbackRoot:!0,f=!!t.fallbackFormat,p=Ye(t.missing)?t.missing:null,g=Ye(t.missing)?Hu(t.missing):null,v=Ye(t.postTranslation)?t.postTranslation:null,y=n?n.warnHtmlMessage:Ce(t.warnHtmlMessage)?t.warnHtmlMessage:!0,x=!!t.escapeParameter;const T=n?n.modifiers:ye(t.modifiers)?t.modifiers:{};let k=t.pluralRules||n&&n.pluralRules,b;b=(()=>{r&&Ou(null);const W={version:ub,locale:s.value,fallbackLocale:d.value,messages:h.value,modifiers:T,pluralRules:k,missing:g===null?void 0:g,missingWarn:a,fallbackWarn:o,fallbackFormat:f,unresolving:!0,postTranslation:v===null?void 0:v,warnHtmlMessage:y,escapeParameter:x,messageResolver:t.messageResolver,__meta:{framework:"vue"}};W.datetimeFormats=c.value,W.numberFormats=m.value,W.__datetimeFormatters=ye(b)?b.__datetimeFormatters:void 0,W.__numberFormatters=ye(b)?b.__numberFormatters:void 0,process.env.NODE_ENV!=="production"&&(W.__v_emitter=ye(b)?b.__v_emitter:void 0);const J=Hy(W);return r&&Ou(J),J})(),Xr(b,s.value,d.value);function $(){return[s.value,d.value,h.value,c.value,m.value]}const _=l.computed({get:()=>s.value,set:W=>{s.value=W,b.locale=s.value}}),S=l.computed({get:()=>d.value,set:W=>{d.value=W,b.fallbackLocale=d.value,Xr(b,s.value,W)}}),w=l.computed(()=>h.value),E=l.computed(()=>c.value),A=l.computed(()=>m.value);function O(){return Ye(v)?v:null}function L(W){v=W,b.postTranslation=W}function M(){return p}function R(W){W!==null&&(g=Hu(W)),p=W,b.missing=g}function D(W,J){return W!=="translate"||!J.resolvedMessage}const B=(W,J,ce,me,De,Re)=>{$();let $e;if(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)try{$u(mb()),r||(b.fallbackContext=n?Wy():void 0),$e=W(b)}finally{$u(null),r||(b.fallbackContext=void 0)}else $e=W(b);if(et($e)&&$e===mo){const[Ee,Ot]=J();if(process.env.NODE_ENV!=="production"&&n&&oe(Ee)&&D(ce,Ot)&&(u&&(po(o,Ee)||Hd(a,Ee))&&vt(Wt(rt.FALLBACK_TO_ROOT,{key:Ee,type:ce})),process.env.NODE_ENV!=="production")){const{__v_emitter:Kn}=b;Kn&&u&&Kn.emit("fallback",{type:ce,key:Ee,to:"global",groupId:`${ce}:${Ee}`})}return n&&u?me(n):De(Ee)}else{if(Re($e))return $e;throw Qe(_e.UNEXPECTED_RETURN_TYPE)}};function P(...W){return B(J=>Reflect.apply(Nu,null,[J,...W]),()=>Ka(...W),"translate",J=>Reflect.apply(J.t,J,[...W]),J=>J,J=>oe(J))}function H(...W){const[J,ce,me]=W;if(me&&!Ne(me))throw Qe(_e.INVALID_ARGUMENT);return P(J,ce,it({resolvedMessage:!0},me||{}))}function Y(...W){return B(J=>Reflect.apply(Du,null,[J,...W]),()=>Xa(...W),"datetime format",J=>Reflect.apply(J.d,J,[...W]),()=>zs,J=>oe(J))}function G(...W){return B(J=>Reflect.apply(Bu,null,[J,...W]),()=>qa(...W),"number format",J=>Reflect.apply(J.n,J,[...W]),()=>zs,J=>oe(J))}function V(W){return W.map(J=>oe(J)||et(J)||Ce(J)?Vu(String(J)):J)}const X={normalize:V,interpolate:W=>W,type:"vnode"};function q(...W){return B(J=>{let ce;const me=J;try{me.processor=X,ce=Reflect.apply(Nu,null,[me,...W])}finally{me.processor=null}return ce},()=>Ka(...W),"translate",J=>J[Za](...W),J=>[Vu(J)],J=>Pe(J))}function ne(...W){return B(J=>Reflect.apply(Bu,null,[J,...W]),()=>qa(...W),"number format",J=>J[tl](...W),()=>[],J=>oe(J)||Pe(J))}function U(...W){return B(J=>Reflect.apply(Du,null,[J,...W]),()=>Xa(...W),"datetime format",J=>J[el](...W),()=>[],J=>oe(J)||Pe(J))}function Z(W){k=W,b.pluralRules=k}function Q(W,J){const ce=oe(J)?J:s.value,me=I(ce);return b.messageResolver(me,W)!==null}function se(W){let J=null;const ce=Pd(b,d.value,s.value);for(let me=0;me<ce.length;me++){const De=h.value[ce[me]]||{},Re=b.messageResolver(De,W);if(Re!=null){J=Re;break}}return J}function de(W){const J=se(W);return J??(n?n.tm(W)||{}:{})}function I(W){return h.value[W]||{}}function N(W,J){h.value[W]=J,b.messages=h.value}function j(W,J){h.value[W]=h.value[W]||{},di(J,h.value[W]),b.messages=h.value}function te(W){return c.value[W]||{}}function he(W,J){c.value[W]=J,b.datetimeFormats=c.value,Pu(b,W,J)}function ve(W,J){c.value[W]=it(c.value[W]||{},J),b.datetimeFormats=c.value,Pu(b,W,J)}function Xe(W){return m.value[W]||{}}function Je(W,J){m.value[W]=J,b.numberFormats=m.value,Fu(b,W,J)}function K(W,J){m.value[W]=it(m.value[W]||{},J),b.numberFormats=m.value,Fu(b,W,J)}Wu++,n&&tn&&(l.watch(n.locale,W=>{i&&(s.value=W,b.locale=W,Xr(b,s.value,d.value))}),l.watch(n.fallbackLocale,W=>{i&&(d.value=W,b.fallbackLocale=W,Xr(b,s.value,d.value))}));const re={id:Wu,locale:_,fallbackLocale:S,get inheritLocale(){return i},set inheritLocale(W){i=W,W&&n&&(s.value=n.locale.value,d.value=n.fallbackLocale.value,Xr(b,s.value,d.value))},get availableLocales(){return Object.keys(h.value).sort()},messages:w,get modifiers(){return T},get pluralRules(){return k||{}},get isGlobal(){return r},get missingWarn(){return a},set missingWarn(W){a=W,b.missingWarn=a},get fallbackWarn(){return o},set fallbackWarn(W){o=W,b.fallbackWarn=o},get fallbackRoot(){return u},set fallbackRoot(W){u=W},get fallbackFormat(){return f},set fallbackFormat(W){f=W,b.fallbackFormat=f},get warnHtmlMessage(){return y},set warnHtmlMessage(W){y=W,b.warnHtmlMessage=W},get escapeParameter(){return x},set escapeParameter(W){x=W,b.escapeParameter=W},t:P,getLocaleMessage:I,setLocaleMessage:N,mergeLocaleMessage:j,getPostTranslationHandler:O,setPostTranslationHandler:L,getMissingHandler:M,setMissingHandler:R,[Zd]:Z};return re.datetimeFormats=E,re.numberFormats=A,re.rt=H,re.te=Q,re.tm=de,re.d=Y,re.n=G,re.getDateTimeFormat=te,re.setDateTimeFormat=he,re.mergeDateTimeFormat=ve,re.getNumberFormat=Xe,re.setNumberFormat=Je,re.mergeNumberFormat=K,re[ef]=t.__injectWithOption,re[Za]=q,re[el]=U,re[tl]=ne,process.env.NODE_ENV!=="production"&&(re[cr]=W=>{b.__v_emitter=W},re[_i]=()=>{b.__v_emitter=void 0}),re}function pb(t){const e=oe(t.locale)?t.locale:Ki,n=oe(t.fallbackLocale)||Pe(t.fallbackLocale)||ye(t.fallbackLocale)||t.fallbackLocale===!1?t.fallbackLocale:e,r=Ye(t.missing)?t.missing:void 0,i=Ce(t.silentTranslationWarn)||jn(t.silentTranslationWarn)?!t.silentTranslationWarn:!0,s=Ce(t.silentFallbackWarn)||jn(t.silentFallbackWarn)?!t.silentFallbackWarn:!0,d=Ce(t.fallbackRoot)?t.fallbackRoot:!0,h=!!t.formatFallbackMessages,c=ye(t.modifiers)?t.modifiers:{},m=t.pluralizationRules,a=Ye(t.postTranslation)?t.postTranslation:void 0,o=oe(t.warnHtmlInMessage)?t.warnHtmlInMessage!=="off":!0,u=!!t.escapeParameterHtml,f=Ce(t.sync)?t.sync:!0;process.env.NODE_ENV!=="production"&&t.formatter&&vt(Wt(rt.NOT_SUPPORTED_FORMATTER)),process.env.NODE_ENV!=="production"&&t.preserveDirectiveContent&&vt(Wt(rt.NOT_SUPPORTED_PRESERVE_DIRECTIVE));let p=t.messages;if(ye(t.sharedMessages)){const b=t.sharedMessages;p=Object.keys(b).reduce(($,_)=>{const S=$[_]||($[_]={});return it(S,b[_]),$},p||{})}const{__i18n:g,__root:v,__injectWithOption:y}=t,x=t.datetimeFormats,T=t.numberFormats,k=t.flatJson;return{locale:e,fallbackLocale:n,messages:p,flatJson:k,datetimeFormats:x,numberFormats:T,missing:r,missingWarn:i,fallbackWarn:s,fallbackRoot:d,fallbackFormat:h,modifiers:c,pluralRules:m,postTranslation:a,warnHtmlMessage:o,escapeParameter:u,messageResolver:t.messageResolver,inheritLocale:f,__i18n:g,__root:v,__injectWithOption:y}}function rl(t={},e){{const n=Zl(pb(t)),r={id:n.id,get locale(){return n.locale.value},set locale(i){n.locale.value=i},get fallbackLocale(){return n.fallbackLocale.value},set fallbackLocale(i){n.fallbackLocale.value=i},get messages(){return n.messages.value},get datetimeFormats(){return n.datetimeFormats.value},get numberFormats(){return n.numberFormats.value},get availableLocales(){return n.availableLocales},get formatter(){return process.env.NODE_ENV!=="production"&&vt(Wt(rt.NOT_SUPPORTED_FORMATTER)),{interpolate(){return[]}}},set formatter(i){process.env.NODE_ENV!=="production"&&vt(Wt(rt.NOT_SUPPORTED_FORMATTER))},get missing(){return n.getMissingHandler()},set missing(i){n.setMissingHandler(i)},get silentTranslationWarn(){return Ce(n.missingWarn)?!n.missingWarn:n.missingWarn},set silentTranslationWarn(i){n.missingWarn=Ce(i)?!i:i},get silentFallbackWarn(){return Ce(n.fallbackWarn)?!n.fallbackWarn:n.fallbackWarn},set silentFallbackWarn(i){n.fallbackWarn=Ce(i)?!i:i},get modifiers(){return n.modifiers},get formatFallbackMessages(){return n.fallbackFormat},set formatFallbackMessages(i){n.fallbackFormat=i},get postTranslation(){return n.getPostTranslationHandler()},set postTranslation(i){n.setPostTranslationHandler(i)},get sync(){return n.inheritLocale},set sync(i){n.inheritLocale=i},get warnHtmlInMessage(){return n.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(i){n.warnHtmlMessage=i!=="off"},get escapeParameterHtml(){return n.escapeParameter},set escapeParameterHtml(i){n.escapeParameter=i},get preserveDirectiveContent(){return process.env.NODE_ENV!=="production"&&vt(Wt(rt.NOT_SUPPORTED_PRESERVE_DIRECTIVE)),!0},set preserveDirectiveContent(i){process.env.NODE_ENV!=="production"&&vt(Wt(rt.NOT_SUPPORTED_PRESERVE_DIRECTIVE))},get pluralizationRules(){return n.pluralRules||{}},__composer:n,t(...i){const[s,d,h]=i,c={};let m=null,a=null;if(!oe(s))throw Qe(_e.INVALID_ARGUMENT);const o=s;return oe(d)?c.locale=d:Pe(d)?m=d:ye(d)&&(a=d),Pe(h)?m=h:ye(h)&&(a=h),Reflect.apply(n.t,n,[o,m||a||{},c])},rt(...i){return Reflect.apply(n.rt,n,[...i])},tc(...i){const[s,d,h]=i,c={plural:1};let m=null,a=null;if(!oe(s))throw Qe(_e.INVALID_ARGUMENT);const o=s;return oe(d)?c.locale=d:et(d)?c.plural=d:Pe(d)?m=d:ye(d)&&(a=d),oe(h)?c.locale=h:Pe(h)?m=h:ye(h)&&(a=h),Reflect.apply(n.t,n,[o,m||a||{},c])},te(i,s){return n.te(i,s)},tm(i){return n.tm(i)},getLocaleMessage(i){return n.getLocaleMessage(i)},setLocaleMessage(i,s){n.setLocaleMessage(i,s)},mergeLocaleMessage(i,s){n.mergeLocaleMessage(i,s)},d(...i){return Reflect.apply(n.d,n,[...i])},getDateTimeFormat(i){return n.getDateTimeFormat(i)},setDateTimeFormat(i,s){n.setDateTimeFormat(i,s)},mergeDateTimeFormat(i,s){n.mergeDateTimeFormat(i,s)},n(...i){return Reflect.apply(n.n,n,[...i])},getNumberFormat(i){return n.getNumberFormat(i)},setNumberFormat(i,s){n.setNumberFormat(i,s)},mergeNumberFormat(i,s){n.mergeNumberFormat(i,s)},getChoiceIndex(i,s){return process.env.NODE_ENV!=="production"&&vt(Wt(rt.NOT_SUPPORTED_GET_CHOICE_INDEX)),-1},__onComponentInstanceCreated(i){const{componentInstanceCreatedListener:s}=t;s&&s(i,r)}};return process.env.NODE_ENV!=="production"&&(r.__enableEmitter=i=>{const s=n;s[cr]&&s[cr](i)},r.__disableEmitter=()=>{const i=n;i[_i]&&i[_i]()}),r}}const ec={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:t=>t==="parent"||t==="global",default:"parent"},i18n:{type:Object}};function gb({slots:t},e){return e.length===1&&e[0]==="default"?(t.default?t.default():[]).reduce((r,i)=>r=[...r,...Pe(i.children)?i.children:[i]],[]):e.reduce((n,r)=>{const i=t[r];return i&&(n[r]=i()),n},{})}function rf(t){return l.Fragment}const pa={name:"i18n-t",props:it({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:t=>et(t)||!isNaN(t)}},ec),setup(t,e){const{slots:n,attrs:r}=e,i=t.i18n||vo({useScope:t.scope,__useComponent:!0});return()=>{const s=Object.keys(n).filter(o=>o!=="_"),d={};t.locale&&(d.locale=t.locale),t.plural!==void 0&&(d.plural=oe(t.plural)?+t.plural:t.plural);const h=gb(e,s),c=i[Za](t.keypath,h,d),m=it({},r),a=oe(t.tag)||Ne(t.tag)?t.tag:rf();return l.h(a,m,c)}}};function vb(t){return Pe(t)&&!oe(t[0])}function sf(t,e,n,r){const{slots:i,attrs:s}=e;return()=>{const d={part:!0};let h={};t.locale&&(d.locale=t.locale),oe(t.format)?d.key=t.format:Ne(t.format)&&(oe(t.format.key)&&(d.key=t.format.key),h=Object.keys(t.format).reduce((u,f)=>n.includes(f)?it({},u,{[f]:t.format[f]}):u,{}));const c=r(t.value,d,h);let m=[d.key];Pe(c)?m=c.map((u,f)=>{const p=i[u.type],g=p?p({[u.type]:u.value,index:f,parts:c}):[u.value];return vb(g)&&(g[0].key=`${u.type}-${f}`),g}):oe(c)&&(m=[c]);const a=it({},s),o=oe(t.tag)||Ne(t.tag)?t.tag:rf();return l.h(o,a,m)}}const ju={name:"i18n-n",props:it({value:{type:Number,required:!0},format:{type:[String,Object]}},ec),setup(t,e){const n=t.i18n||vo({useScope:"parent",__useComponent:!0});return sf(t,e,Kd,(...r)=>n[tl](...r))}},zu={name:"i18n-d",props:it({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},ec),setup(t,e){const n=t.i18n||vo({useScope:"parent",__useComponent:!0});return sf(t,e,Jd,(...r)=>n[el](...r))}};function wb(t,e){const n=t;if(t.mode==="composition")return n.__getInstance(e)||t.global;{const r=n.__getInstance(e);return r!=null?r.__composer:t.global.__composer}}function yb(t){const e=d=>{const{instance:h,modifiers:c,value:m}=d;if(!h||!h.$)throw Qe(_e.UNEXPECTED_ERROR);const a=wb(t,h.$);process.env.NODE_ENV!=="production"&&c.preserve&&vt(Wt(rt.NOT_SUPPORTED_PRESERVE));const o=Gu(m);return[Reflect.apply(a.t,a,[...Yu(o)]),a]};return{created:(d,h)=>{const[c,m]=e(h);tn&&t.global===m&&(d.__i18nWatcher=l.watch(m.locale,()=>{h.instance&&h.instance.$forceUpdate()})),d.__composer=m,d.textContent=c},unmounted:d=>{tn&&d.__i18nWatcher&&(d.__i18nWatcher(),d.__i18nWatcher=void 0,delete d.__i18nWatcher),d.__composer&&(d.__composer=void 0,delete d.__composer)},beforeUpdate:(d,{value:h})=>{if(d.__composer){const c=d.__composer,m=Gu(h);d.textContent=Reflect.apply(c.t,c,[...Yu(m)])}},getSSRProps:d=>{const[h]=e(d);return{textContent:h}}}}function Gu(t){if(oe(t))return{path:t};if(ye(t)){if(!("path"in t))throw Qe(_e.REQUIRED_VALUE,"path");return t}else throw Qe(_e.INVALID_VALUE)}function Yu(t){const{path:e,locale:n,args:r,choice:i,plural:s}=t,d={},h=r||{};return oe(n)&&(d.locale=n),et(i)&&(d.plural=i),et(s)&&(d.plural=s),[e,h,d]}function bb(t,e,...n){const r=ye(n[0])?n[0]:{},i=!!r.useI18nComponentName,s=Ce(r.globalInstall)?r.globalInstall:!0;process.env.NODE_ENV!=="production"&&s&&i&&vt(Wt(rt.COMPONENT_NAME_LEGACY_COMPATIBLE,{name:pa.name})),s&&(t.component(i?"i18n":pa.name,pa),t.component(ju.name,ju),t.component(zu.name,zu)),t.directive("t",yb(e))}const of="vue-i18n: composer properties";let il;async function Sb(t,e){return new Promise((n,r)=>{try{ab({id:"vue-devtools-plugin-vue-i18n",label:ma["vue-devtools-plugin-vue-i18n"],packageName:"vue-i18n",homepage:"https://vue-i18n.intlify.dev",logo:"https://vue-i18n.intlify.dev/vue-i18n-devtools-logo.png",componentStateTypes:[of],app:t},i=>{il=i,i.on.visitComponentTree(({componentInstance:d,treeNode:h})=>{xb(d,h,e)}),i.on.inspectComponent(({componentInstance:d,instanceData:h})=>{d.vnode.el&&d.vnode.el.__VUE_I18N__&&h&&(e.mode==="legacy"?d.vnode.el.__VUE_I18N__!==e.global.__composer&&Ju(h,d.vnode.el.__VUE_I18N__):Ju(h,d.vnode.el.__VUE_I18N__))}),i.addInspector({id:"vue-i18n-resource-inspector",label:ma["vue-i18n-resource-inspector"],icon:"language",treeFilterPlaceholder:lb["vue-i18n-resource-inspector"]}),i.on.getInspectorTree(d=>{d.app===t&&d.inspectorId==="vue-i18n-resource-inspector"&&Tb(d,e)});const s=new Map;i.on.getInspectorState(async d=>{if(d.app===t&&d.inspectorId==="vue-i18n-resource-inspector")if(i.unhighlightElement(),$b(d,e),d.nodeId==="global"){if(!s.has(d.app)){const[h]=await i.getComponentInstances(d.app);s.set(d.app,h)}i.highlightElement(s.get(d.app))}else{const h=Ab(d.nodeId,e);h&&i.highlightElement(h)}}),i.on.editInspectorState(d=>{d.app===t&&d.inspectorId==="vue-i18n-resource-inspector"&&Lb(d,e)}),i.addTimelineLayer({id:"vue-i18n-timeline",label:ma["vue-i18n-timeline"],color:cb["vue-i18n-timeline"]}),n(!0)})}catch(i){console.error(i),r(!1)}})}function af(t){return t.type.name||t.type.displayName||t.type.__file||"Anonymous"}function xb(t,e,n){const r=n.mode==="composition"?n.global:n.global.__composer;if(t&&t.vnode.el&&t.vnode.el.__VUE_I18N__&&t.vnode.el.__VUE_I18N__!==r){const i={label:`i18n (${af(t)} Scope)`,textColor:0,backgroundColor:16764185};e.tags.push(i)}}function Ju(t,e){const n=of;t.state.push({type:n,key:"locale",editable:!0,value:e.locale.value}),t.state.push({type:n,key:"availableLocales",editable:!1,value:e.availableLocales}),t.state.push({type:n,key:"fallbackLocale",editable:!0,value:e.fallbackLocale.value}),t.state.push({type:n,key:"inheritLocale",editable:!0,value:e.inheritLocale}),t.state.push({type:n,key:"messages",editable:!1,value:tc(e.messages.value)}),t.state.push({type:n,key:"datetimeFormats",editable:!1,value:e.datetimeFormats.value}),t.state.push({type:n,key:"numberFormats",editable:!1,value:e.numberFormats.value})}function tc(t){const e={};return Object.keys(t).forEach(n=>{const r=t[n];Ye(r)&&"source"in r?e[n]=_b(r):Ne(r)?e[n]=tc(r):e[n]=r}),e}const kb={"<":"<",">":">",'"':""","&":"&"};function Cb(t){return t.replace(/[<>"&]/g,Eb)}function Eb(t){return kb[t]||t}function _b(t){return{_custom:{type:"function",display:`<span>\u0192</span> ${t.source?`("${Cb(t.source)}")`:"(?)"}`}}}function Tb(t,e){t.rootNodes.push({id:"global",label:"Global Scope"});const n=e.mode==="composition"?e.global:e.global.__composer;for(const[r,i]of e.__instances){const s=e.mode==="composition"?i:i.__composer;n!==s&&t.rootNodes.push({id:s.id.toString(),label:`${af(r)} Scope`})}}function Ab(t,e){let n=null;if(t!=="global"){for(const[r,i]of e.__instances.entries())if(i.id.toString()===t){n=r;break}}return n}function lf(t,e){if(t==="global")return e.mode==="composition"?e.global:e.global.__composer;{const n=Array.from(e.__instances.values()).find(r=>r.id.toString()===t);return n?e.mode==="composition"?n:n.__composer:null}}function $b(t,e){const n=lf(t.nodeId,e);return n&&(t.state=Ob(n)),null}function Ob(t){const e={},n="Locale related info",r=[{type:n,key:"locale",editable:!0,value:t.locale.value},{type:n,key:"fallbackLocale",editable:!0,value:t.fallbackLocale.value},{type:n,key:"availableLocales",editable:!1,value:t.availableLocales},{type:n,key:"inheritLocale",editable:!0,value:t.inheritLocale}];e[n]=r;const i="Locale messages info",s=[{type:i,key:"messages",editable:!1,value:tc(t.messages.value)}];e[i]=s;{const d="Datetime formats info",h=[{type:d,key:"datetimeFormats",editable:!1,value:t.datetimeFormats.value}];e[d]=h;const c="Datetime formats info",m=[{type:c,key:"numberFormats",editable:!1,value:t.numberFormats.value}];e[c]=m}return e}function Ti(t,e){if(il){let n;e&&"groupId"in e&&(n=e.groupId,delete e.groupId),il.addTimelineEvent({layerId:"vue-i18n-timeline",event:{title:t,groupId:n,time:Date.now(),meta:{},data:e||{},logType:t==="compile-error"?"error":t==="fallback"||t==="missing"?"warning":"default"}})}}function Lb(t,e){const n=lf(t.nodeId,e);if(n){const[r]=t.path;r==="locale"&&oe(t.state.value)?n.locale.value=t.state.value:r==="fallbackLocale"&&(oe(t.state.value)||Pe(t.state.value)||Ne(t.state.value))?n.fallbackLocale.value=t.state.value:r==="inheritLocale"&&Ce(t.state.value)&&(n.inheritLocale=t.state.value)}}function Mb(t,e,n){return{beforeCreate(){const r=l.getCurrentInstance();if(!r)throw Qe(_e.UNEXPECTED_ERROR);const i=this.$options;if(i.i18n){const s=i.i18n;i.__i18n&&(s.__i18n=i.__i18n),s.__root=e,this===this.$root?this.$i18n=Ku(t,s):(s.__injectWithOption=!0,this.$i18n=rl(s))}else i.__i18n?this===this.$root?this.$i18n=Ku(t,i):this.$i18n=rl({__i18n:i.__i18n,__injectWithOption:!0,__root:e}):this.$i18n=t;i.__i18nGlobal&&nf(e,i,i),t.__onComponentInstanceCreated(this.$i18n),n.__setInstance(r,this.$i18n),this.$t=(...s)=>this.$i18n.t(...s),this.$rt=(...s)=>this.$i18n.rt(...s),this.$tc=(...s)=>this.$i18n.tc(...s),this.$te=(s,d)=>this.$i18n.te(s,d),this.$d=(...s)=>this.$i18n.d(...s),this.$n=(...s)=>this.$i18n.n(...s),this.$tm=s=>this.$i18n.tm(s)},mounted(){if((process.env.NODE_ENV!=="production"||!1)&&!0&&this.$el&&this.$i18n){this.$el.__VUE_I18N__=this.$i18n.__composer;const r=this.__v_emitter=Xl(),i=this.$i18n;i.__enableEmitter&&i.__enableEmitter(r),r.on("*",Ti)}},unmounted(){const r=l.getCurrentInstance();if(!r)throw Qe(_e.UNEXPECTED_ERROR);if((process.env.NODE_ENV!=="production"||!1)&&!0&&this.$el&&this.$el.__VUE_I18N__&&(this.__v_emitter&&(this.__v_emitter.off("*",Ti),delete this.__v_emitter),this.$i18n)){const i=this.$i18n;i.__disableEmitter&&i.__disableEmitter(),delete this.$el.__VUE_I18N__}delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,n.__deleteInstance(r),delete this.$i18n}}}function Ku(t,e){t.locale=e.locale||t.locale,t.fallbackLocale=e.fallbackLocale||t.fallbackLocale,t.missing=e.missing||t.missing,t.silentTranslationWarn=e.silentTranslationWarn||t.silentFallbackWarn,t.silentFallbackWarn=e.silentFallbackWarn||t.silentFallbackWarn,t.formatFallbackMessages=e.formatFallbackMessages||t.formatFallbackMessages,t.postTranslation=e.postTranslation||t.postTranslation,t.warnHtmlInMessage=e.warnHtmlInMessage||t.warnHtmlInMessage,t.escapeParameterHtml=e.escapeParameterHtml||t.escapeParameterHtml,t.sync=e.sync||t.sync,t.__composer[Zd](e.pluralizationRules||t.pluralizationRules);const n=go(t.locale,{messages:e.messages,__i18n:e.__i18n});return Object.keys(n).forEach(r=>t.mergeLocaleMessage(r,n[r])),e.datetimeFormats&&Object.keys(e.datetimeFormats).forEach(r=>t.mergeDateTimeFormat(r,e.datetimeFormats[r])),e.numberFormats&&Object.keys(e.numberFormats).forEach(r=>t.mergeNumberFormat(r,e.numberFormats[r])),t}const Rb=sn("global-vue-i18n");function Nb(t={},e){const n=__VUE_I18N_LEGACY_API__&&Ce(t.legacy)?t.legacy:__VUE_I18N_LEGACY_API__,r=Ce(t.globalInjection)?t.globalInjection:!0,i=__VUE_I18N_LEGACY_API__&&n?!!t.allowComposition:!0,s=new Map,[d,h]=Ib(t,n),c=sn(process.env.NODE_ENV!=="production"?"vue-i18n":"");function m(u){return s.get(u)||null}function a(u,f){s.set(u,f)}function o(u){s.delete(u)}{const u={get mode(){return __VUE_I18N_LEGACY_API__&&n?"legacy":"composition"},get allowComposition(){return i},async install(f,...p){process.env.NODE_ENV!=="production"&&(f.__VUE_I18N__=u),f.__VUE_I18N_SYMBOL__=c,f.provide(f.__VUE_I18N_SYMBOL__,u),!n&&r&&jb(f,u.global),__VUE_I18N_FULL_INSTALL__&&bb(f,u,...p),__VUE_I18N_LEGACY_API__&&n&&f.mixin(Mb(h,h.__composer,u));const g=f.unmount;if(f.unmount=()=>{u.dispose(),g()},process.env.NODE_ENV!=="production"||!1){if(!await Sb(f,u))throw Qe(_e.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN);const y=Xl();if(n){const x=h;x.__enableEmitter&&x.__enableEmitter(y)}else{const x=h;x[cr]&&x[cr](y)}y.on("*",Ti)}},get global(){return h},dispose(){d.stop()},__instances:s,__getInstance:m,__setInstance:a,__deleteInstance:o};return u}}function vo(t={}){const e=l.getCurrentInstance();if(e==null)throw Qe(_e.MUST_BE_CALL_SETUP_TOP);if(!e.isCE&&e.appContext.app!=null&&!e.appContext.app.__VUE_I18N_SYMBOL__)throw Qe(_e.NOT_INSLALLED);const n=Db(e),r=Bb(n),i=tf(e),s=Pb(t,i);if(__VUE_I18N_LEGACY_API__&&n.mode==="legacy"&&!t.__useComponent){if(!n.allowComposition)throw Qe(_e.NOT_AVAILABLE_IN_LEGACY_MODE);return Ub(e,s,r,t)}if(s==="global")return nf(r,t,i),r;if(s==="parent"){let c=Fb(n,e,t.__useComponent);return c==null&&(process.env.NODE_ENV!=="production"&&vt(Wt(rt.NOT_FOUND_PARENT_SCOPE)),c=r),c}const d=n;let h=d.__getInstance(e);if(h==null){const c=it({},t);"__i18n"in i&&(c.__i18n=i.__i18n),r&&(c.__root=r),h=Zl(c),Vb(d,e,h),d.__setInstance(e,h)}return h}function Ib(t,e,n){const r=l.effectScope();{const i=__VUE_I18N_LEGACY_API__&&e?r.run(()=>rl(t)):r.run(()=>Zl(t));if(i==null)throw Qe(_e.UNEXPECTED_ERROR);return[r,i]}}function Db(t){{const e=l.inject(t.isCE?Rb:t.appContext.app.__VUE_I18N_SYMBOL__);if(!e)throw Qe(t.isCE?_e.NOT_INSLALLED_WITH_PROVIDE:_e.UNEXPECTED_ERROR);return e}}function Pb(t,e){return ho(t)?"__i18n"in e?"local":"global":t.useScope?t.useScope:"local"}function Bb(t){return t.mode==="composition"?t.global:t.global.__composer}function Fb(t,e,n=!1){let r=null;const i=e.root;let s=e.parent;for(;s!=null;){const d=t;if(t.mode==="composition")r=d.__getInstance(s);else if(__VUE_I18N_LEGACY_API__){const h=d.__getInstance(s);h!=null&&(r=h.__composer,n&&r&&!r[ef]&&(r=null))}if(r!=null||i===s)break;s=s.parent}return r}function Vb(t,e,n){let r=null;l.onMounted(()=>{if((process.env.NODE_ENV!=="production"||!1)&&!0&&e.vnode.el){e.vnode.el.__VUE_I18N__=n,r=Xl();const i=n;i[cr]&&i[cr](r),r.on("*",Ti)}},e),l.onUnmounted(()=>{if((process.env.NODE_ENV!=="production"||!1)&&!0&&e.vnode.el&&e.vnode.el.__VUE_I18N__){r&&r.off("*",Ti);const i=n;i[_i]&&i[_i](),delete e.vnode.el.__VUE_I18N__}t.__deleteInstance(e)},e)}function Ub(t,e,n,r={}){const i=e==="local",s=l.shallowRef(null);if(i&&t.proxy&&!(t.proxy.$options.i18n||t.proxy.$options.__i18n))throw Qe(_e.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const d=Ce(r.inheritLocale)?r.inheritLocale:!0,h=l.ref(i&&d?n.locale.value:oe(r.locale)?r.locale:Ki),c=l.ref(i&&d?n.fallbackLocale.value:oe(r.fallbackLocale)||Pe(r.fallbackLocale)||ye(r.fallbackLocale)||r.fallbackLocale===!1?r.fallbackLocale:h.value),m=l.ref(go(h.value,r)),a=l.ref(ye(r.datetimeFormats)?r.datetimeFormats:{[h.value]:{}}),o=l.ref(ye(r.numberFormats)?r.numberFormats:{[h.value]:{}}),u=i?n.missingWarn:Ce(r.missingWarn)||jn(r.missingWarn)?r.missingWarn:!0,f=i?n.fallbackWarn:Ce(r.fallbackWarn)||jn(r.fallbackWarn)?r.fallbackWarn:!0,p=i?n.fallbackRoot:Ce(r.fallbackRoot)?r.fallbackRoot:!0,g=!!r.fallbackFormat,v=Ye(r.missing)?r.missing:null,y=Ye(r.postTranslation)?r.postTranslation:null,x=i?n.warnHtmlMessage:Ce(r.warnHtmlMessage)?r.warnHtmlMessage:!0,T=!!r.escapeParameter,k=i?n.modifiers:ye(r.modifiers)?r.modifiers:{},b=r.pluralRules||i&&n.pluralRules;function C(){return[h.value,c.value,m.value,a.value,o.value]}const $=l.computed({get:()=>s.value?s.value.locale.value:h.value,set:N=>{s.value&&(s.value.locale.value=N),h.value=N}}),_=l.computed({get:()=>s.value?s.value.fallbackLocale.value:c.value,set:N=>{s.value&&(s.value.fallbackLocale.value=N),c.value=N}}),S=l.computed(()=>s.value?s.value.messages.value:m.value),w=l.computed(()=>a.value),E=l.computed(()=>o.value);function A(){return s.value?s.value.getPostTranslationHandler():y}function O(N){s.value&&s.value.setPostTranslationHandler(N)}function L(){return s.value?s.value.getMissingHandler():v}function M(N){s.value&&s.value.setMissingHandler(N)}function R(N){return C(),N()}function D(...N){return s.value?R(()=>Reflect.apply(s.value.t,null,[...N])):R(()=>"")}function B(...N){return s.value?Reflect.apply(s.value.rt,null,[...N]):""}function P(...N){return s.value?R(()=>Reflect.apply(s.value.d,null,[...N])):R(()=>"")}function H(...N){return s.value?R(()=>Reflect.apply(s.value.n,null,[...N])):R(()=>"")}function Y(N){return s.value?s.value.tm(N):{}}function G(N,j){return s.value?s.value.te(N,j):!1}function V(N){return s.value?s.value.getLocaleMessage(N):{}}function z(N,j){s.value&&(s.value.setLocaleMessage(N,j),m.value[N]=j)}function X(N,j){s.value&&s.value.mergeLocaleMessage(N,j)}function q(N){return s.value?s.value.getDateTimeFormat(N):{}}function ne(N,j){s.value&&(s.value.setDateTimeFormat(N,j),a.value[N]=j)}function U(N,j){s.value&&s.value.mergeDateTimeFormat(N,j)}function Z(N){return s.value?s.value.getNumberFormat(N):{}}function Q(N,j){s.value&&(s.value.setNumberFormat(N,j),o.value[N]=j)}function se(N,j){s.value&&s.value.mergeNumberFormat(N,j)}const de={get id(){return s.value?s.value.id:-1},locale:$,fallbackLocale:_,messages:S,datetimeFormats:w,numberFormats:E,get inheritLocale(){return s.value?s.value.inheritLocale:d},set inheritLocale(N){s.value&&(s.value.inheritLocale=N)},get availableLocales(){return s.value?s.value.availableLocales:Object.keys(m.value)},get modifiers(){return s.value?s.value.modifiers:k},get pluralRules(){return s.value?s.value.pluralRules:b},get isGlobal(){return s.value?s.value.isGlobal:!1},get missingWarn(){return s.value?s.value.missingWarn:u},set missingWarn(N){s.value&&(s.value.missingWarn=N)},get fallbackWarn(){return s.value?s.value.fallbackWarn:f},set fallbackWarn(N){s.value&&(s.value.missingWarn=N)},get fallbackRoot(){return s.value?s.value.fallbackRoot:p},set fallbackRoot(N){s.value&&(s.value.fallbackRoot=N)},get fallbackFormat(){return s.value?s.value.fallbackFormat:g},set fallbackFormat(N){s.value&&(s.value.fallbackFormat=N)},get warnHtmlMessage(){return s.value?s.value.warnHtmlMessage:x},set warnHtmlMessage(N){s.value&&(s.value.warnHtmlMessage=N)},get escapeParameter(){return s.value?s.value.escapeParameter:T},set escapeParameter(N){s.value&&(s.value.escapeParameter=N)},t:D,getPostTranslationHandler:A,setPostTranslationHandler:O,getMissingHandler:L,setMissingHandler:M,rt:B,d:P,n:H,tm:Y,te:G,getLocaleMessage:V,setLocaleMessage:z,mergeLocaleMessage:X,getDateTimeFormat:q,setDateTimeFormat:ne,mergeDateTimeFormat:U,getNumberFormat:Z,setNumberFormat:Q,mergeNumberFormat:se};function I(N){N.locale.value=h.value,N.fallbackLocale.value=c.value,Object.keys(m.value).forEach(j=>{N.mergeLocaleMessage(j,m.value[j])}),Object.keys(a.value).forEach(j=>{N.mergeDateTimeFormat(j,a.value[j])}),Object.keys(o.value).forEach(j=>{N.mergeNumberFormat(j,o.value[j])}),N.escapeParameter=T,N.fallbackFormat=g,N.fallbackRoot=p,N.fallbackWarn=f,N.missingWarn=u,N.warnHtmlMessage=x}return l.onBeforeMount(()=>{if(t.proxy==null||t.proxy.$i18n==null)throw Qe(_e.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const N=s.value=t.proxy.$i18n.__composer;e==="global"?(h.value=N.locale.value,c.value=N.fallbackLocale.value,m.value=N.messages.value,a.value=N.datetimeFormats.value,o.value=N.numberFormats.value):i&&I(N)}),de}const Wb=["locale","fallbackLocale","availableLocales"],Hb=["t","rt","d","n","tm"];function jb(t,e){const n=Object.create(null);Wb.forEach(r=>{const i=Object.getOwnPropertyDescriptor(e,r);if(!i)throw Qe(_e.UNEXPECTED_ERROR);const s=l.isRef(i.value)?{get(){return i.value.value},set(d){i.value.value=d}}:{get(){return i.get&&i.get()}};Object.defineProperty(n,r,s)}),t.config.globalProperties.$i18n=n,Hb.forEach(r=>{const i=Object.getOwnPropertyDescriptor(e,r);if(!i||!i.value)throw Qe(_e.UNEXPECTED_ERROR);Object.defineProperty(t.config.globalProperties,`$${r}`,i)})}By(Jy);Fy(yy);Vy(Pd);hb();if(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const t=hi();t.__INTLIFY__=!0,Ay(t.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}process.env.NODE_ENV;function zb(t){console.debug("[@vc-shell/framework#useI18n:init] - Entry point");const e=Nb({legacy:!1,globalInjection:!0,locale:"en",fallbackLocale:"en"});return t.use(e),t.config.globalProperties.$mergeLocaleMessage=e.global.mergeLocaleMessage,t}function nc(){return console.debug("[@vc-shell/framework#useI18n] - Entry point"),vo({useScope:"global"})}var rc={},Un={};Object.defineProperty(Un,"__esModule",{value:!0});Un.useLogger=Un.createLogger=Un.VueLogger=void 0;const Gb=Dp.default,cf=process.env.NODE_ENV==="production",uf=Symbol("vue-logger-plugin"),ga=["debug","info","warn","error","log"],Yb={enabled:!0,consoleEnabled:!0,level:"debug",callerInfo:!1,prefixFormat:({level:t,caller:e})=>e?`[${t.toUpperCase()}] [${e?.fileName}:${e?.functionName}:${e?.lineNumber}]`:`[${t.toUpperCase()}]`};class hf{constructor(e){this.apply(e),this._consoleFunctions=ga.filter(n=>typeof console[n]=="function")}apply(e){const n=this._options||Yb;this._options={...n,...e},this.installHooks(this._options.beforeHooks),this.installHooks(this._options.afterHooks)}debug(...e){this.invoke("debug",...e).then(()=>{}).catch(()=>{})}info(...e){this.invoke("info",...e).then(()=>{}).catch(()=>{})}warn(...e){this.invoke("warn",...e).then(()=>{}).catch(()=>{})}error(...e){this.invoke("error",...e).then(()=>{}).catch(()=>{})}log(...e){this.invoke("log",...e).then(()=>{}).catch(()=>{})}async invoke(e,...n){if(this._options.enabled&&ga.indexOf(e)>=ga.indexOf(this._options.level)){const r=this._options.callerInfo?this.getCallerInfo():void 0,i={level:e,caller:r,argumentArray:n};if(await this.invokeHooks(this._options.beforeHooks,i),this._options.consoleEnabled){const s=this._options.prefixFormat({level:e,caller:r});this._consoleFunctions.indexOf(e)>=0?console[e](s,...n):console.log(s,...n)}await this.invokeHooks(this._options.afterHooks,i)}}installHooks(e){if(e&&e.length>0){for(const n of e)if(n.install)try{n.install(this._options)}catch(r){console.warn("LoggerHook install failure",r)}}}async invokeHooks(e,n){if(e&&e.length>0)for(const r of e)try{await r.run(n)}catch(i){console.warn("LoggerHook run failure",i)}}getCallerInfo(){const e=new Error;if(e.stack)try{const r=e.stack.split(`
|
|
1086
1086
|
`)[0].startsWith("Error")?4:3,i=e.stack.split(`
|
|
1087
|
-
`)[r].trim().replace("(","").replace(")","");let s;i.indexOf("at ")>-1?s=i.substring(i.indexOf("at ")+3,i.lastIndexOf(" ")).split(".").reverse()[0]:i.indexOf("@")>-1&&(s=i.substring(0,i.indexOf("@")));const d=i.split(":").reverse(),h=d[2].substring(Math.max(d[2].lastIndexOf("/"),d[2].lastIndexOf("\\"))+1).split("?")[0],c=d[1];return{functionName:s,fileName:h,lineNumber:c}}catch{cf||console.debug("vue-logger-plugin :: failed to determine caller function info")}}get enabled(){return this._options.enabled}get level(){return this._options.level}install(e){e.provide(uf,this),e.config.globalProperties.$log=this,e.config.globalProperties.$logger=this}}Un.VueLogger=hf;function Jb(t={}){return new hf(t)}Un.createLogger=Jb;function Kb(){const t=Gb.inject(uf);return!t&&!cf&&console.warn("vue-logger-plugin :: useLogger missing inject"),t}Un.useLogger=Kb;var Ur={};Object.defineProperty(Ur,"__esModule",{value:!0});Ur.StringifyAndParseObjectsHook=Ur.StringifyObjectsHook=void 0;Ur.StringifyObjectsHook={run(t){for(let e=0;e<t.argumentArray.length;e++)t.argumentArray[e]!=null&&typeof t.argumentArray[e]=="object"&&(t.argumentArray[e]=JSON.stringify(t.argumentArray[e]))}};Ur.StringifyAndParseObjectsHook={run(t){for(let e=0;e<t.argumentArray.length;e++)t.argumentArray[e]!=null&&typeof t.argumentArray[e]=="object"&&(t.argumentArray[e]=JSON.parse(JSON.stringify(t.argumentArray[e])))}};(function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.StringifyAndParseObjectsHook=t.StringifyObjectsHook=t.useLogger=t.createLogger=t.VueLogger=void 0;var e=Un;Object.defineProperty(t,"VueLogger",{enumerable:!0,get:function(){return e.VueLogger}}),Object.defineProperty(t,"createLogger",{enumerable:!0,get:function(){return e.createLogger}}),Object.defineProperty(t,"useLogger",{enumerable:!0,get:function(){return e.useLogger}});var n=Ur;Object.defineProperty(t,"StringifyObjectsHook",{enumerable:!0,get:function(){return n.StringifyObjectsHook}}),Object.defineProperty(t,"StringifyAndParseObjectsHook",{enumerable:!0,get:function(){return n.StringifyAndParseObjectsHook}})})(rc);function Xb(t){return console.debug("[@vc-shell/framework#useLogger:init] - Entry point"),t.use(rc.createLogger({enabled:{}.APP_LOG_ENABLED==="true",level:{}.APP_LOG_LEVEL??"debug"})),t}function Xi(){return console.debug("[@vc-shell/framework#useLogger] - Entry point"),rc.useLogger()}const qb={},Qb=Object.freeze(Object.defineProperty({__proto__:null,default:qb},Symbol.toStringTag,{value:"Module"})),Zb=vg(Qb);var Ai={};function e0(t,e){return Object.prototype.hasOwnProperty.call(t,e)}var t0=function(t,e,n,r){e=e||"&",n=n||"=";var i={};if(typeof t!="string"||t.length===0)return i;var s=/\+/g;t=t.split(e);var d=1e3;r&&typeof r.maxKeys=="number"&&(d=r.maxKeys);var h=t.length;d>0&&h>d&&(h=d);for(var c=0;c<h;++c){var m=t[c].replace(s,"%20"),a=m.indexOf(n),o,u,f,p;a>=0?(o=m.substr(0,a),u=m.substr(a+1)):(o=m,u=""),f=decodeURIComponent(o),p=decodeURIComponent(u),e0(i,f)?Array.isArray(i[f])?i[f].push(p):i[f]=[i[f],p]:i[f]=p}return i},qr=function(t){switch(typeof t){case"string":return t;case"boolean":return t?"true":"false";case"number":return isFinite(t)?t:"";default:return""}},n0=function(t,e,n,r){return e=e||"&",n=n||"=",t===null&&(t=void 0),typeof t=="object"?Object.keys(t).map(function(i){var s=encodeURIComponent(qr(i))+n;return Array.isArray(t[i])?t[i].map(function(d){return s+encodeURIComponent(qr(d))}).join(e):s+encodeURIComponent(qr(t[i]))}).filter(Boolean).join(e):r?encodeURIComponent(qr(r))+n+encodeURIComponent(qr(t)):""};Ai.decode=Ai.parse=t0;Ai.encode=Ai.stringify=n0;var r0=function(e,n,r,i){return new Promise(function(s,d){var h=new window.XMLHttpRequest;h.open(e,n),h.onload=function(){return s({status:h.status,body:h.responseText})},h.onerror=h.onabort=function(){return d(new Error(h.statusText||"XHR aborted: "+n))},Object.keys(i).forEach(function(c){h.setRequestHeader(c,i[c])}),h.send(r)})},df=Zb.Buffer,ur=Ai,i0=r0;const Gs="https://example.org/";var sl;typeof df=="function"?sl=a0:sl=window.btoa.bind(window);var s0=$i,qi={Accept:"application/json, application/x-www-form-urlencoded","Content-Type":"application/x-www-form-urlencoded"},o0={invalid_request:["The request is missing a required parameter, includes an","invalid parameter value, includes a parameter more than","once, or is otherwise malformed."].join(" "),invalid_client:["Client authentication failed (e.g., unknown client, no","client authentication included, or unsupported","authentication method)."].join(" "),invalid_grant:["The provided authorization grant (e.g., authorization","code, resource owner credentials) or refresh token is","invalid, expired, revoked, does not match the redirection","URI used in the authorization request, or was issued to","another client."].join(" "),unauthorized_client:["The client is not authorized to request an authorization","code using this method."].join(" "),unsupported_grant_type:["The authorization grant type is not supported by the","authorization server."].join(" "),access_denied:["The resource owner or authorization server denied the request."].join(" "),unsupported_response_type:["The authorization server does not support obtaining","an authorization code using this method."].join(" "),invalid_scope:["The requested scope is invalid, unknown, or malformed."].join(" "),server_error:["The authorization server encountered an unexpected","condition that prevented it from fulfilling the request.","(This error code is needed because a 500 Internal Server","Error HTTP status code cannot be returned to the client","via an HTTP redirect.)"].join(" "),temporarily_unavailable:["The authorization server is currently unable to handle","the request due to a temporary overloading or maintenance","of the server."].join(" ")};function a0(t){return df.from(t).toString("base64")}function wo(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];if(t[n]==null)throw new TypeError('Expected "'+n+'" to exist')}}function ic(t){var e=o0[t.error]||t.error_description||t.error;if(e){var n=new Error(e);return n.body=t,n.code="EAUTH",n}}function l0(t){try{return JSON.parse(t)}catch{return ur.parse(t)}}function yo(t){return Array.isArray(t)?t.join(" "):ol(t)}function ff(t,e){wo(t,"clientId","authorizationUri");const n={client_id:t.clientId,redirect_uri:t.redirectUri,response_type:e,state:t.state};t.scopes!==void 0&&(n.scope=yo(t.scopes));const r=t.authorizationUri.includes("?")?"&":"?";return t.authorizationUri+r+ur.stringify(Object.assign(n,t.query))}function Qi(t,e){return"Basic "+sl(ol(t)+":"+ol(e))}function ol(t){return t==null?"":String(t)}function Zi(t,e){return{url:t.url,method:t.method,body:Object.assign({},t.body,e.body),query:Object.assign({},t.query,e.query),headers:Object.assign({},t.headers,e.headers)}}function $i(t,e){this.options=t,this.request=e||i0,this.code=new oc(this),this.token=new sc(this),this.owner=new mf(this),this.credentials=new pf(this),this.jwt=new gf(this)}$i.Token=es;$i.prototype.createToken=function(t,e,n,r){var i=Object.assign({},r,typeof t=="string"?{access_token:t}:t,typeof e=="string"?{refresh_token:e}:e,typeof n=="string"?{token_type:n}:n);return new $i.Token(this,i)};$i.prototype._request=function(t){var e=t.url,n=ur.stringify(t.body),r=ur.stringify(t.query);return r&&(e+=(e.indexOf("?")===-1?"?":"&")+r),this.request(t.method,e,n,t.headers).then(function(i){var s=l0(i.body),d=ic(s);if(d)return Promise.reject(d);if(i.status<200||i.status>=399){var h=new Error("HTTP status "+i.status);return h.status=i.status,h.body=i.body,h.code="ESTATUS",Promise.reject(h)}return s})};function es(t,e){this.client=t,this.data=e,this.tokenType=e.token_type&&e.token_type.toLowerCase(),this.accessToken=e.access_token,this.refreshToken=e.refresh_token,this.expiresIn(Number(e.expires_in))}es.prototype.expiresIn=function(t){if(typeof t=="number")this.expires=new Date,this.expires.setSeconds(this.expires.getSeconds()+t);else if(t instanceof Date)this.expires=new Date(t.getTime());else throw new TypeError("Unknown duration: "+t);return this.expires};es.prototype.sign=function(t){if(!this.accessToken)throw new Error("Unable to sign without access token");if(t.headers=t.headers||{},this.tokenType==="bearer")t.headers.Authorization="Bearer "+this.accessToken;else{var e=t.url.split("#"),n="access_token="+this.accessToken,r=e[0].replace(/[?&]access_token=[^&#]/,""),i=e[1]?"#"+e[1]:"";t.url=r+(r.indexOf("?")>-1?"&":"?")+n+i,t.headers.Pragma="no-store",t.headers["Cache-Control"]="no-store"}return t};es.prototype.refresh=function(t){var e=this,n=Object.assign({},this.client.options,t);return this.refreshToken?this.client._request(Zi({url:n.accessTokenUri,method:"POST",headers:Object.assign({},qi,{Authorization:Qi(n.clientId,n.clientSecret)}),body:{refresh_token:this.refreshToken,grant_type:"refresh_token"}},n)).then(function(r){return e.client.createToken(Object.assign({},e.data,r))}):Promise.reject(new Error("No refresh token"))};es.prototype.expired=function(){return Date.now()>this.expires.getTime()};function mf(t){this.client=t}mf.prototype.getToken=function(t,e,n){var r=this,i=Object.assign({},this.client.options,n);const s={username:t,password:e,grant_type:"password"};return i.scopes!==void 0&&(s.scope=yo(i.scopes)),this.client._request(Zi({url:i.accessTokenUri,method:"POST",headers:Object.assign({},qi,{Authorization:Qi(i.clientId,i.clientSecret)}),body:s},i)).then(function(d){return r.client.createToken(d)})};function sc(t){this.client=t}sc.prototype.getUri=function(t){var e=Object.assign({},this.client.options,t);return ff(e,"token")};sc.prototype.getToken=function(t,e){var n=Object.assign({},this.client.options,e),r=typeof t=="object"?t:new URL(t,Gs),i=new URL(n.redirectUri,Gs);if(typeof r.pathname=="string"&&r.pathname!==i.pathname)return Promise.reject(new TypeError("Redirected path should match configured path, but got: "+r.pathname));if(!r.hash&&!r.search)return Promise.reject(new TypeError("Unable to process uri: "+t));var s=Object.assign({},typeof r.search=="string"?ur.parse(r.search.substr(1)):r.search||{},typeof r.hash=="string"?ur.parse(r.hash.substr(1)):r.hash||{}),d=ic(s);return d?Promise.reject(d):n.state!=null&&s.state!==n.state?Promise.reject(new TypeError("Invalid state: "+s.state)):Promise.resolve(this.client.createToken(s))};function pf(t){this.client=t}pf.prototype.getToken=function(t){var e=this,n=Object.assign({},this.client.options,t);wo(n,"clientId","clientSecret","accessTokenUri");const r={grant_type:"client_credentials"};return n.scopes!==void 0&&(r.scope=yo(n.scopes)),this.client._request(Zi({url:n.accessTokenUri,method:"POST",headers:Object.assign({},qi,{Authorization:Qi(n.clientId,n.clientSecret)}),body:r},n)).then(function(i){return e.client.createToken(i)})};function oc(t){this.client=t}oc.prototype.getUri=function(t){var e=Object.assign({},this.client.options,t);return ff(e,"code")};oc.prototype.getToken=function(t,e){var n=this,r=Object.assign({},this.client.options,e);wo(r,"clientId","accessTokenUri");var i=typeof t=="object"?t:new URL(t,Gs);if(typeof r.redirectUri=="string"&&typeof i.pathname=="string"&&i.pathname!==new URL(r.redirectUri,Gs).pathname)return Promise.reject(new TypeError("Redirected path should match configured path, but got: "+i.pathname));if(!i.search||!i.search.substr(1))return Promise.reject(new TypeError("Unable to process uri: "+t));var s=typeof i.search=="string"?ur.parse(i.search.substr(1)):i.search||{},d=ic(s);if(d)return Promise.reject(d);if(r.state!=null&&s.state!==r.state)return Promise.reject(new TypeError("Invalid state: "+s.state));if(!s.code)return Promise.reject(new TypeError("Missing code, unable to request token"));var h=Object.assign({},qi),c={code:s.code,grant_type:"authorization_code",redirect_uri:r.redirectUri};return r.clientSecret?h.Authorization=Qi(r.clientId,r.clientSecret):c.client_id=r.clientId,this.client._request(Zi({url:r.accessTokenUri,method:"POST",headers:h,body:c},r)).then(function(m){return n.client.createToken(m)})};function gf(t){this.client=t}gf.prototype.getToken=function(t,e){var n=this,r=Object.assign({},this.client.options,e),i=Object.assign({},qi);wo(r,"accessTokenUri"),r.clientId&&(i.Authorization=Qi(r.clientId,r.clientSecret));const s={grant_type:"urn:ietf:params:oauth:grant-type:jwt-bearer",assertion:t};return r.scopes!==void 0&&(s.scope=yo(r.scopes)),this.client._request(Zi({url:r.accessTokenUri,method:"POST",headers:i,body:s},r)).then(function(d){return n.client.createToken(d)})};class At{authToken="";constructor(){}getBaseUrl(e,n){return""}setAuthToken(e){this.authToken=e}transformOptions(e){return e.headers.authorization=`Bearer ${this.authToken}`,Promise.resolve(e)}}class c0 extends At{http;baseUrl;jsonParseReviver=void 0;constructor(e,n){super(),this.http=n||window,this.baseUrl=this.getBaseUrl("https://vcmp-dev.paas.govirto.com",e)}exchange(e){let n=this.baseUrl+"/connect/token";n=n.replace(/[?&]$/,"");let i={body:Object.keys(e).map(s=>encodeURIComponent(s)+"="+encodeURIComponent(e[s])).join("&"),method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded",Accept:"application/json"}};return this.transformOptions(i).then(s=>this.http.fetch(n,s)).then(s=>this.processExchange(s))}processExchange(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===200?e.text().then(i=>{let s=null,d=i===""?null:JSON.parse(i,this.jsonParseReviver);return s=Oi.fromJS(d),s}):n===400?e.text().then(i=>{let s=null,d=i===""?null:JSON.parse(i,this.jsonParseReviver);return s=Oi.fromJS(d),F("Bad Request",n,i,r,s)}):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}}class u0 extends At{http;baseUrl;jsonParseReviver=void 0;constructor(e,n){super(),this.http=n||window,this.baseUrl=this.getBaseUrl("https://vcmp-dev.paas.govirto.com",e)}signIn(e){let n=this.baseUrl+"/externalsignin?";e!=null&&(n+="authenticationType="+encodeURIComponent(""+e)+"&"),n=n.replace(/[?&]$/,"");let r={method:"GET",headers:{}};return this.transformOptions(r).then(i=>this.http.fetch(n,i)).then(i=>this.processSignIn(i))}processSignIn(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===200?e.text().then(i=>{}):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}signInCallback(e){let n=this.baseUrl+"/externalsignin/callback?";e!=null&&(n+="returnUrl="+encodeURIComponent(""+e)+"&"),n=n.replace(/[?&]$/,"");let r={method:"GET",headers:{}};return this.transformOptions(r).then(i=>this.http.fetch(n,i)).then(i=>this.processSignInCallback(i))}processSignInCallback(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===200?e.text().then(i=>{}):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}getExternalLoginProviders(){let e=this.baseUrl+"/externalsignin/providers";e=e.replace(/[?&]$/,"");let n={method:"GET",headers:{}};return this.transformOptions(n).then(r=>this.http.fetch(e,r)).then(r=>this.processGetExternalLoginProviders(r))}processGetExternalLoginProviders(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===200?e.text().then(i=>{}):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}}class vf extends At{http;baseUrl;jsonParseReviver=void 0;constructor(e,n){super(),this.http=n||window,this.baseUrl=this.getBaseUrl("https://vcmp-dev.paas.govirto.com",e)}getApps(){let e=this.baseUrl+"/api/platform/apps";e=e.replace(/[?&]$/,"");let n={method:"GET",headers:{Accept:"text/plain"}};return this.transformOptions(n).then(r=>this.http.fetch(e,r)).then(r=>this.processGetApps(r))}processGetApps(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===200?e.text().then(i=>{let s=null,d=i===""?null:JSON.parse(i,this.jsonParseReviver);if(Array.isArray(d)){s=[];for(let h of d)s.push(bo.fromJS(h))}else s=null;return s}):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}}class h0 extends At{http;baseUrl;jsonParseReviver=void 0;constructor(e,n){super(),this.http=n||window,this.baseUrl=this.getBaseUrl("https://vcmp-dev.paas.govirto.com",e)}forceChanges(e){let n=this.baseUrl+"/api/changes/force?";e!=null&&(n+="Scope="+encodeURIComponent(""+e)+"&"),n=n.replace(/[?&]$/,"");let r={method:"POST",headers:{}};return this.transformOptions(r).then(i=>this.http.fetch(n,i)).then(i=>this.processForceChanges(i))}processForceChanges(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===204?e.text().then(i=>{}):n===401?e.text().then(i=>F("Unauthorized",n,i,r)):n===403?e.text().then(i=>F("Forbidden",n,i,r)):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}resetPlatformCache(){let e=this.baseUrl+"/api/platform-cache/reset";e=e.replace(/[?&]$/,"");let n={method:"POST",headers:{}};return this.transformOptions(n).then(r=>this.http.fetch(e,r)).then(r=>this.processResetPlatformCache(r))}processResetPlatformCache(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===204?e.text().then(i=>{}):n===401?e.text().then(i=>F("Unauthorized",n,i,r)):n===403?e.text().then(i=>F("Forbidden",n,i,r)):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}getLastModifiedDate(e){let n=this.baseUrl+"/api/changes/lastmodifieddate?";e!=null&&(n+="scope="+encodeURIComponent(""+e)+"&"),n=n.replace(/[?&]$/,"");let r={method:"GET",headers:{Accept:"text/plain"}};return this.transformOptions(r).then(i=>this.http.fetch(n,i)).then(i=>this.processGetLastModifiedDate(i))}processGetLastModifiedDate(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===200?e.text().then(i=>{let s=null,d=i===""?null:JSON.parse(i,this.jsonParseReviver);return s=So.fromJS(d),s}):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}getChangedEntities(e){let n=this.baseUrl+"/api/changes/changed-entities";n=n.replace(/[?&]$/,"");let i={body:JSON.stringify(e),method:"POST",headers:{"Content-Type":"application/json-patch+json",Accept:"text/plain"}};return this.transformOptions(i).then(s=>this.http.fetch(n,s)).then(s=>this.processGetChangedEntities(s))}processGetChangedEntities(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===200?e.text().then(i=>{let s=null,d=i===""?null:JSON.parse(i,this.jsonParseReviver);return s=ko.fromJS(d),s}):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}resetChangedEntities(e){let n=this.baseUrl+"/api/changes/changed-entities/reset";n=n.replace(/[?&]$/,"");let i={body:JSON.stringify(e),method:"POST",headers:{"Content-Type":"application/json-patch+json"}};return this.transformOptions(i).then(s=>this.http.fetch(n,s)).then(s=>this.processResetChangedEntities(s))}processResetChangedEntities(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===204?e.text().then(i=>{}):n===401?e.text().then(i=>F("Unauthorized",n,i,r)):n===403?e.text().then(i=>F("Forbidden",n,i,r)):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}searchChanges(e){let n=this.baseUrl+"/api/platform/changelog/search";n=n.replace(/[?&]$/,"");let i={body:JSON.stringify(e),method:"POST",headers:{"Content-Type":"application/json-patch+json",Accept:"text/plain"}};return this.transformOptions(i).then(s=>this.http.fetch(n,s)).then(s=>this.processSearchChanges(s))}processSearchChanges(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===200?e.text().then(i=>{let s=null,d=i===""?null:JSON.parse(i,this.jsonParseReviver);return s=Co.fromJS(d),s}):n===401?e.text().then(i=>F("Unauthorized",n,i,r)):n===403?e.text().then(i=>F("Forbidden",n,i,r)):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}searchTypeChangeHistory(e,n,r){let i=this.baseUrl+"/api/platform/changelog/{type}/changes?";if(e==null)throw new Error("The parameter 'type' must be defined.");i=i.replace("{type}",encodeURIComponent(""+e)),n!=null&&(i+="start="+encodeURIComponent(n?""+n.toISOString():"")+"&"),r!=null&&(i+="end="+encodeURIComponent(r?""+r.toISOString():"")+"&"),i=i.replace(/[?&]$/,"");let s={method:"GET",headers:{Accept:"text/plain"}};return this.transformOptions(s).then(d=>this.http.fetch(i,d)).then(d=>this.processSearchTypeChangeHistory(d))}processSearchTypeChangeHistory(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===200?e.text().then(i=>{let s=null,d=i===""?null:JSON.parse(i,this.jsonParseReviver);if(Array.isArray(d)){s=[];for(let h of d)s.push(ts.fromJS(h))}else s=null;return s}):n===401?e.text().then(i=>F("Unauthorized",n,i,r)):n===403?e.text().then(i=>F("Forbidden",n,i,r)):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}}class d0 extends At{http;baseUrl;jsonParseReviver=void 0;constructor(e,n){super(),this.http=n||window,this.baseUrl=this.getBaseUrl("https://vcmp-dev.paas.govirto.com",e)}getSystemInfo(){let e=this.baseUrl+"/api/platform/diagnostics/systeminfo";e=e.replace(/[?&]$/,"");let n={method:"GET",headers:{Accept:"text/plain"}};return this.transformOptions(n).then(r=>this.http.fetch(e,r)).then(r=>this.processGetSystemInfo(r))}processGetSystemInfo(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===200?e.text().then(i=>{let s=null,d=i===""?null:JSON.parse(i,this.jsonParseReviver);return s=To.fromJS(d),s}):n===401?e.text().then(i=>F("Unauthorized",n,i,r)):n===403?e.text().then(i=>F("Forbidden",n,i,r)):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}getModulesErrors(){let e=this.baseUrl+"/api/platform/diagnostics/errors";e=e.replace(/[?&]$/,"");let n={method:"GET",headers:{Accept:"text/plain"}};return this.transformOptions(n).then(r=>this.http.fetch(e,r)).then(r=>this.processGetModulesErrors(r))}processGetModulesErrors(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===200?e.text().then(i=>{let s=null,d=i===""?null:JSON.parse(i,this.jsonParseReviver);if(Array.isArray(d)){s=[];for(let h of d)s.push(pn.fromJS(h))}else s=null;return s}):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}}class f0 extends At{http;baseUrl;jsonParseReviver=void 0;constructor(e,n){super(),this.http=n||window,this.baseUrl=this.getBaseUrl("https://vcmp-dev.paas.govirto.com",e)}getObjectTypes(){let e=this.baseUrl+"/api/platform/dynamic/types";e=e.replace(/[?&]$/,"");let n={method:"GET",headers:{Accept:"application/json"}};return this.transformOptions(n).then(r=>this.http.fetch(e,r)).then(r=>this.processGetObjectTypes(r))}processGetObjectTypes(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===200?e.text().then(i=>{let s=null,d=i===""?null:JSON.parse(i,this.jsonParseReviver);if(Array.isArray(d)){s=[];for(let h of d)s.push(h)}else s=null;return s}):n===401?e.text().then(i=>F("Unauthorized",n,i,r)):n===403?e.text().then(i=>F("Forbidden",n,i,r)):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}searchDynamicProperties(e){let n=this.baseUrl+"/api/platform/dynamic/properties/search";n=n.replace(/[?&]$/,"");let i={body:JSON.stringify(e),method:"POST",headers:{"Content-Type":"application/json-patch+json",Accept:"application/json"}};return this.transformOptions(i).then(s=>this.http.fetch(n,s)).then(s=>this.processSearchDynamicProperties(s))}processSearchDynamicProperties(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===200?e.text().then(i=>{let s=null,d=i===""?null:JSON.parse(i,this.jsonParseReviver);return s=Ao.fromJS(d),s}):n===401?e.text().then(i=>F("Unauthorized",n,i,r)):n===403?e.text().then(i=>F("Forbidden",n,i,r)):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}createProperty(e){let n=this.baseUrl+"/api/platform/dynamic/properties";n=n.replace(/[?&]$/,"");let i={body:JSON.stringify(e),method:"POST",headers:{"Content-Type":"application/json-patch+json",Accept:"application/json"}};return this.transformOptions(i).then(s=>this.http.fetch(n,s)).then(s=>this.processCreateProperty(s))}processCreateProperty(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===200?e.text().then(i=>{let s=null,d=i===""?null:JSON.parse(i,this.jsonParseReviver);return s=rs.fromJS(d),s}):n===401?e.text().then(i=>F("Unauthorized",n,i,r)):n===403?e.text().then(i=>F("Forbidden",n,i,r)):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}updateProperty(e){let n=this.baseUrl+"/api/platform/dynamic/properties";n=n.replace(/[?&]$/,"");let i={body:JSON.stringify(e),method:"PUT",headers:{"Content-Type":"application/json-patch+json"}};return this.transformOptions(i).then(s=>this.http.fetch(n,s)).then(s=>this.processUpdateProperty(s))}processUpdateProperty(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===204?e.text().then(i=>{}):n===401?e.text().then(i=>F("Unauthorized",n,i,r)):n===403?e.text().then(i=>F("Forbidden",n,i,r)):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}deleteProperty(e){let n=this.baseUrl+"/api/platform/dynamic/properties?";e!=null&&e&&e.forEach(i=>{n+="propertyIds="+encodeURIComponent(""+i)+"&"}),n=n.replace(/[?&]$/,"");let r={method:"DELETE",headers:{}};return this.transformOptions(r).then(i=>this.http.fetch(n,i)).then(i=>this.processDeleteProperty(i))}processDeleteProperty(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===204?e.text().then(i=>{}):n===401?e.text().then(i=>F("Unauthorized",n,i,r)):n===403?e.text().then(i=>F("Forbidden",n,i,r)):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}exposeDynamicObjectProperty(){let e=this.baseUrl+"/api/platform/dynamic";e=e.replace(/[?&]$/,"");let n={method:"POST",headers:{Accept:"application/json"}};return this.transformOptions(n).then(r=>this.http.fetch(e,r)).then(r=>this.processExposeDynamicObjectProperty(r))}processExposeDynamicObjectProperty(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===200?e.text().then(i=>{let s=null,d=i===""?null:JSON.parse(i,this.jsonParseReviver);return s=Oo.fromJS(d),s}):n===204?e.text().then(i=>F("Success",n,i,r)):n===401?e.text().then(i=>F("Unauthorized",n,i,r)):n===403?e.text().then(i=>F("Forbidden",n,i,r)):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}searchDictionaryItems(e){let n=this.baseUrl+"/api/platform/dynamic/dictionaryitems/search";n=n.replace(/[?&]$/,"");let i={body:JSON.stringify(e),method:"POST",headers:{"Content-Type":"application/json-patch+json",Accept:"application/json"}};return this.transformOptions(i).then(s=>this.http.fetch(n,s)).then(s=>this.processSearchDictionaryItems(s))}processSearchDictionaryItems(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===200?e.text().then(i=>{let s=null,d=i===""?null:JSON.parse(i,this.jsonParseReviver);return s=Ro.fromJS(d),s}):n===401?e.text().then(i=>F("Unauthorized",n,i,r)):n===403?e.text().then(i=>F("Forbidden",n,i,r)):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}saveDictionaryItems(e){let n=this.baseUrl+"/api/platform/dynamic/dictionaryitems";n=n.replace(/[?&]$/,"");let i={body:JSON.stringify(e),method:"POST",headers:{"Content-Type":"application/json-patch+json"}};return this.transformOptions(i).then(s=>this.http.fetch(n,s)).then(s=>this.processSaveDictionaryItems(s))}processSaveDictionaryItems(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===204?e.text().then(i=>{}):n===401?e.text().then(i=>F("Unauthorized",n,i,r)):n===403?e.text().then(i=>F("Forbidden",n,i,r)):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}deleteDictionaryItem(e){let n=this.baseUrl+"/api/platform/dynamic/dictionaryitems?";e!=null&&e&&e.forEach(i=>{n+="ids="+encodeURIComponent(""+i)+"&"}),n=n.replace(/[?&]$/,"");let r={method:"DELETE",headers:{}};return this.transformOptions(r).then(i=>this.http.fetch(n,i)).then(i=>this.processDeleteDictionaryItem(i))}processDeleteDictionaryItem(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===204?e.text().then(i=>{}):n===401?e.text().then(i=>F("Unauthorized",n,i,r)):n===403?e.text().then(i=>F("Forbidden",n,i,r)):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}}class m0 extends At{http;baseUrl;jsonParseReviver=void 0;constructor(e,n){super(),this.http=n||window,this.baseUrl=this.getBaseUrl("https://vcmp-dev.paas.govirto.com",e)}getStatus(e){let n=this.baseUrl+"/api/platform/jobs/{id}";if(e==null)throw new Error("The parameter 'id' must be defined.");n=n.replace("{id}",encodeURIComponent(""+e)),n=n.replace(/[?&]$/,"");let r={method:"GET",headers:{Accept:"application/json"}};return this.transformOptions(r).then(i=>this.http.fetch(n,i)).then(i=>this.processGetStatus(i))}processGetStatus(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===200?e.text().then(i=>{let s=null,d=i===""?null:JSON.parse(i,this.jsonParseReviver);return s=No.fromJS(d),s}):n===401?e.text().then(i=>F("Unauthorized",n,i,r)):n===403?e.text().then(i=>F("Forbidden",n,i,r)):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}}class p0 extends At{http;baseUrl;jsonParseReviver=void 0;constructor(e,n){super(),this.http=n||window,this.baseUrl=this.getBaseUrl("https://vcmp-dev.paas.govirto.com",e)}reloadModules(){let e=this.baseUrl+"/api/platform/modules/reload";e=e.replace(/[?&]$/,"");let n={method:"POST",headers:{}};return this.transformOptions(n).then(r=>this.http.fetch(e,r)).then(r=>this.processReloadModules(r))}processReloadModules(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===204?e.text().then(i=>{}):n===401?e.text().then(i=>F("Unauthorized",n,i,r)):n===403?e.text().then(i=>F("Forbidden",n,i,r)):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}getModules(){let e=this.baseUrl+"/api/platform/modules";e=e.replace(/[?&]$/,"");let n={method:"GET",headers:{Accept:"text/plain"}};return this.transformOptions(n).then(r=>this.http.fetch(e,r)).then(r=>this.processGetModules(r))}processGetModules(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===200?e.text().then(i=>{let s=null,d=i===""?null:JSON.parse(i,this.jsonParseReviver);if(Array.isArray(d)){s=[];for(let h of d)s.push(pn.fromJS(h))}else s=null;return s}):n===401?e.text().then(i=>F("Unauthorized",n,i,r)):n===403?e.text().then(i=>F("Forbidden",n,i,r)):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}getDependingModules(e){let n=this.baseUrl+"/api/platform/modules/getdependents";n=n.replace(/[?&]$/,"");let i={body:JSON.stringify(e),method:"POST",headers:{"Content-Type":"application/json-patch+json",Accept:"text/plain"}};return this.transformOptions(i).then(s=>this.http.fetch(n,s)).then(s=>this.processGetDependingModules(s))}processGetDependingModules(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===200?e.text().then(i=>{let s=null,d=i===""?null:JSON.parse(i,this.jsonParseReviver);if(Array.isArray(d)){s=[];for(let h of d)s.push(pn.fromJS(h))}else s=null;return s}):n===401?e.text().then(i=>F("Unauthorized",n,i,r)):n===403?e.text().then(i=>F("Forbidden",n,i,r)):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}getMissingDependencies(e){let n=this.baseUrl+"/api/platform/modules/getmissingdependencies";n=n.replace(/[?&]$/,"");let i={body:JSON.stringify(e),method:"POST",headers:{"Content-Type":"application/json-patch+json",Accept:"text/plain"}};return this.transformOptions(i).then(s=>this.http.fetch(n,s)).then(s=>this.processGetMissingDependencies(s))}processGetMissingDependencies(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===200?e.text().then(i=>{let s=null,d=i===""?null:JSON.parse(i,this.jsonParseReviver);if(Array.isArray(d)){s=[];for(let h of d)s.push(pn.fromJS(h))}else s=null;return s}):n===401?e.text().then(i=>F("Unauthorized",n,i,r)):n===403?e.text().then(i=>F("Forbidden",n,i,r)):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}uploadModuleArchive(){let e=this.baseUrl+"/api/platform/modules/localstorage";e=e.replace(/[?&]$/,"");let n={method:"POST",headers:{Accept:"text/plain"}};return this.transformOptions(n).then(r=>this.http.fetch(e,r)).then(r=>this.processUploadModuleArchive(r))}processUploadModuleArchive(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===200?e.text().then(i=>{let s=null,d=i===""?null:JSON.parse(i,this.jsonParseReviver);return s=pn.fromJS(d),s}):n===401?e.text().then(i=>F("Unauthorized",n,i,r)):n===403?e.text().then(i=>F("Forbidden",n,i,r)):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}installModules(e){let n=this.baseUrl+"/api/platform/modules/install";n=n.replace(/[?&]$/,"");let i={body:JSON.stringify(e),method:"POST",headers:{"Content-Type":"application/json-patch+json",Accept:"text/plain"}};return this.transformOptions(i).then(s=>this.http.fetch(n,s)).then(s=>this.processInstallModules(s))}processInstallModules(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===200?e.text().then(i=>{let s=null,d=i===""?null:JSON.parse(i,this.jsonParseReviver);return s=Mi.fromJS(d),s}):n===401?e.text().then(i=>F("Unauthorized",n,i,r)):n===403?e.text().then(i=>F("Forbidden",n,i,r)):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}uninstallModule(e){let n=this.baseUrl+"/api/platform/modules/uninstall";n=n.replace(/[?&]$/,"");let i={body:JSON.stringify(e),method:"POST",headers:{"Content-Type":"application/json-patch+json",Accept:"text/plain"}};return this.transformOptions(i).then(s=>this.http.fetch(n,s)).then(s=>this.processUninstallModule(s))}processUninstallModule(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===200?e.text().then(i=>{let s=null,d=i===""?null:JSON.parse(i,this.jsonParseReviver);return s=Mi.fromJS(d),s}):n===401?e.text().then(i=>F("Unauthorized",n,i,r)):n===403?e.text().then(i=>F("Forbidden",n,i,r)):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}restart(){let e=this.baseUrl+"/api/platform/modules/restart";e=e.replace(/[?&]$/,"");let n={method:"POST",headers:{}};return this.transformOptions(n).then(r=>this.http.fetch(e,r)).then(r=>this.processRestart(r))}processRestart(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===204?e.text().then(i=>{}):n===401?e.text().then(i=>F("Unauthorized",n,i,r)):n===403?e.text().then(i=>F("Forbidden",n,i,r)):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}tryToAutoInstallModules(){let e=this.baseUrl+"/api/platform/modules/autoinstall";e=e.replace(/[?&]$/,"");let n={method:"POST",headers:{Accept:"text/plain"}};return this.transformOptions(n).then(r=>this.http.fetch(e,r)).then(r=>this.processTryToAutoInstallModules(r))}processTryToAutoInstallModules(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===200?e.text().then(i=>{let s=null,d=i===""?null:JSON.parse(i,this.jsonParseReviver);return s=Io.fromJS(d),s}):n===401?e.text().then(i=>F("Unauthorized",n,i,r)):n===403?e.text().then(i=>F("Forbidden",n,i,r)):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}}class g0 extends At{http;baseUrl;jsonParseReviver=void 0;constructor(e,n){super(),this.http=n||window,this.baseUrl=this.getBaseUrl("https://vcmp-dev.paas.govirto.com",e)}new(){let e=this.baseUrl+"/api/platform/oauthapps/new";e=e.replace(/[?&]$/,"");let n={method:"GET",headers:{Accept:"text/plain"}};return this.transformOptions(n).then(r=>this.http.fetch(e,r)).then(r=>this.processNew(r))}processNew(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===200?e.text().then(i=>{let s=null,d=i===""?null:JSON.parse(i,this.jsonParseReviver);return s=Wr.fromJS(d),s}):n===401?e.text().then(i=>F("Unauthorized",n,i,r)):n===403?e.text().then(i=>F("Forbidden",n,i,r)):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}save(e){let n=this.baseUrl+"/api/platform/oauthapps";n=n.replace(/[?&]$/,"");let i={body:JSON.stringify(e),method:"POST",headers:{"Content-Type":"application/json-patch+json",Accept:"text/plain"}};return this.transformOptions(i).then(s=>this.http.fetch(n,s)).then(s=>this.processSave(s))}processSave(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===200?e.text().then(i=>{let s=null,d=i===""?null:JSON.parse(i,this.jsonParseReviver);return s=Wr.fromJS(d),s}):n===401?e.text().then(i=>F("Unauthorized",n,i,r)):n===403?e.text().then(i=>F("Forbidden",n,i,r)):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}delete(e){let n=this.baseUrl+"/api/platform/oauthapps?";e!=null&&e&&e.forEach(i=>{n+="clientIds="+encodeURIComponent(""+i)+"&"}),n=n.replace(/[?&]$/,"");let r={method:"DELETE",headers:{}};return this.transformOptions(r).then(i=>this.http.fetch(n,i)).then(i=>this.processDelete(i))}processDelete(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===200?e.text().then(i=>{}):n===401?e.text().then(i=>F("Unauthorized",n,i,r)):n===403?e.text().then(i=>F("Forbidden",n,i,r)):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}search(e){let n=this.baseUrl+"/api/platform/oauthapps/search";n=n.replace(/[?&]$/,"");let i={body:JSON.stringify(e),method:"POST",headers:{"Content-Type":"application/json-patch+json",Accept:"text/plain"}};return this.transformOptions(i).then(s=>this.http.fetch(n,s)).then(s=>this.processSearch(s))}processSearch(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===200?e.text().then(i=>{let s=null,d=i===""?null:JSON.parse(i,this.jsonParseReviver);return s=Do.fromJS(d),s}):n===401?e.text().then(i=>F("Unauthorized",n,i,r)):n===403?e.text().then(i=>F("Forbidden",n,i,r)):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}}class wf extends At{http;baseUrl;jsonParseReviver=void 0;constructor(e,n){super(),this.http=n||window,this.baseUrl=this.getBaseUrl("https://vcmp-dev.paas.govirto.com",e)}searchPushNotification(e){let n=this.baseUrl+"/api/platform/pushnotifications";n=n.replace(/[?&]$/,"");let i={body:JSON.stringify(e),method:"POST",headers:{"Content-Type":"application/json-patch+json",Accept:"application/json"}};return this.transformOptions(i).then(s=>this.http.fetch(n,s)).then(s=>this.processSearchPushNotification(s))}processSearchPushNotification(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===200?e.text().then(i=>{let s=null,d=i===""?null:JSON.parse(i,this.jsonParseReviver);return s=Ni.fromJS(d),s}):n===401?e.text().then(i=>F("Unauthorized",n,i,r)):n===403?e.text().then(i=>F("Forbidden",n,i,r)):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}markAllAsRead(){let e=this.baseUrl+"/api/platform/pushnotifications/markAllAsRead";e=e.replace(/[?&]$/,"");let n={method:"POST",headers:{Accept:"application/json"}};return this.transformOptions(n).then(r=>this.http.fetch(e,r)).then(r=>this.processMarkAllAsRead(r))}processMarkAllAsRead(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===200?e.text().then(i=>{let s=null,d=i===""?null:JSON.parse(i,this.jsonParseReviver);return s=Ni.fromJS(d),s}):n===401?e.text().then(i=>F("Unauthorized",n,i,r)):n===403?e.text().then(i=>F("Forbidden",n,i,r)):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}}class yf extends At{http;baseUrl;jsonParseReviver=void 0;constructor(e,n){super(),this.http=n||window,this.baseUrl=this.getBaseUrl("https://vcmp-dev.paas.govirto.com",e)}login(e){let n=this.baseUrl+"/api/platform/security/login";n=n.replace(/[?&]$/,"");let i={body:JSON.stringify(e),method:"POST",headers:{"Content-Type":"application/json-patch+json",Accept:"text/plain"}};return this.transformOptions(i).then(s=>this.http.fetch(n,s)).then(s=>this.processLogin(s))}processLogin(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===200?e.text().then(i=>{let s=null,d=i===""?null:JSON.parse(i,this.jsonParseReviver);return s=Bo.fromJS(d),s}):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}logout(){let e=this.baseUrl+"/api/platform/security/logout";e=e.replace(/[?&]$/,"");let n={method:"GET",headers:{}};return this.transformOptions(n).then(r=>this.http.fetch(e,r)).then(r=>this.processLogout(r))}processLogout(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===204?e.text().then(i=>{}):n===401?e.text().then(i=>F("Unauthorized",n,i,r)):n===403?e.text().then(i=>F("Forbidden",n,i,r)):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}getCurrentUser(){let e=this.baseUrl+"/api/platform/security/currentuser";e=e.replace(/[?&]$/,"");let n={method:"GET",headers:{Accept:"text/plain"}};return this.transformOptions(n).then(r=>this.http.fetch(e,r)).then(r=>this.processGetCurrentUser(r))}processGetCurrentUser(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===200?e.text().then(i=>{let s=null,d=i===""?null:JSON.parse(i,this.jsonParseReviver);return s=Fo.fromJS(d),s}):n===401?e.text().then(i=>F("Unauthorized",n,i,r)):n===403?e.text().then(i=>F("Forbidden",n,i,r)):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}userinfo(){let e=this.baseUrl+"/api/platform/security/userinfo";e=e.replace(/[?&]$/,"");let n={method:"GET",headers:{Accept:"text/plain"}};return this.transformOptions(n).then(r=>this.http.fetch(e,r)).then(r=>this.processUserinfo(r))}processUserinfo(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===200?e.text().then(i=>{let s=null,d=i===""?null:JSON.parse(i,this.jsonParseReviver);if(Array.isArray(d)){s=[];for(let h of d)s.push(ss.fromJS(h))}else s=null;return s}):n===401?e.text().then(i=>F("Unauthorized",n,i,r)):n===403?e.text().then(i=>F("Forbidden",n,i,r)):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}getAllRegisteredPermissions(){let e=this.baseUrl+"/api/platform/security/permissions";e=e.replace(/[?&]$/,"");let n={method:"GET",headers:{Accept:"text/plain"}};return this.transformOptions(n).then(r=>this.http.fetch(e,r)).then(r=>this.processGetAllRegisteredPermissions(r))}processGetAllRegisteredPermissions(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===200?e.text().then(i=>{let s=null,d=i===""?null:JSON.parse(i,this.jsonParseReviver);if(Array.isArray(d)){s=[];for(let h of d)s.push(os.fromJS(h))}else s=null;return s}):n===401?e.text().then(i=>F("Unauthorized",n,i,r)):n===403?e.text().then(i=>F("Forbidden",n,i,r)):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}searchRoles(e){let n=this.baseUrl+"/api/platform/security/roles/search";n=n.replace(/[?&]$/,"");let i={body:JSON.stringify(e),method:"POST",headers:{"Content-Type":"application/json-patch+json",Accept:"text/plain"}};return this.transformOptions(i).then(s=>this.http.fetch(n,s)).then(s=>this.processSearchRoles(s))}processSearchRoles(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===200?e.text().then(i=>{let s=null,d=i===""?null:JSON.parse(i,this.jsonParseReviver);return s=Vo.fromJS(d),s}):n===401?e.text().then(i=>F("Unauthorized",n,i,r)):n===403?e.text().then(i=>F("Forbidden",n,i,r)):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}getRole(e){let n=this.baseUrl+"/api/platform/security/roles/{roleName}";if(e==null)throw new Error("The parameter 'roleName' must be defined.");n=n.replace("{roleName}",encodeURIComponent(""+e)),n=n.replace(/[?&]$/,"");let r={method:"GET",headers:{Accept:"text/plain"}};return this.transformOptions(r).then(i=>this.http.fetch(n,i)).then(i=>this.processGetRole(i))}processGetRole(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===200?e.text().then(i=>{let s=null,d=i===""?null:JSON.parse(i,this.jsonParseReviver);return s=hr.fromJS(d),s}):n===401?e.text().then(i=>F("Unauthorized",n,i,r)):n===403?e.text().then(i=>F("Forbidden",n,i,r)):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}deleteRoles(e){let n=this.baseUrl+"/api/platform/security/roles?";e!=null&&e&&e.forEach(i=>{n+="ids="+encodeURIComponent(""+i)+"&"}),n=n.replace(/[?&]$/,"");let r={method:"DELETE",headers:{}};return this.transformOptions(r).then(i=>this.http.fetch(n,i)).then(i=>this.processDeleteRoles(i))}processDeleteRoles(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===204?e.text().then(i=>{}):n===401?e.text().then(i=>F("Unauthorized",n,i,r)):n===403?e.text().then(i=>F("Forbidden",n,i,r)):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}updateRole(e){let n=this.baseUrl+"/api/platform/security/roles";n=n.replace(/[?&]$/,"");let i={body:JSON.stringify(e),method:"PUT",headers:{"Content-Type":"application/json-patch+json",Accept:"text/plain"}};return this.transformOptions(i).then(s=>this.http.fetch(n,s)).then(s=>this.processUpdateRole(s))}processUpdateRole(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===200?e.text().then(i=>{let s=null,d=i===""?null:JSON.parse(i,this.jsonParseReviver);return s=Lt.fromJS(d),s}):n===401?e.text().then(i=>F("Unauthorized",n,i,r)):n===403?e.text().then(i=>F("Forbidden",n,i,r)):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}searchUsers(e){let n=this.baseUrl+"/api/platform/security/users/search";n=n.replace(/[?&]$/,"");let i={body:JSON.stringify(e),method:"POST",headers:{"Content-Type":"application/json-patch+json",Accept:"text/plain"}};return this.transformOptions(i).then(s=>this.http.fetch(n,s)).then(s=>this.processSearchUsers(s))}processSearchUsers(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===200?e.text().then(i=>{let s=null,d=i===""?null:JSON.parse(i,this.jsonParseReviver);return s=Wo.fromJS(d),s}):n===401?e.text().then(i=>F("Unauthorized",n,i,r)):n===403?e.text().then(i=>F("Forbidden",n,i,r)):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}getUserByName(e){let n=this.baseUrl+"/api/platform/security/users/{userName}";if(e==null)throw new Error("The parameter 'userName' must be defined.");n=n.replace("{userName}",encodeURIComponent(""+e)),n=n.replace(/[?&]$/,"");let r={method:"GET",headers:{Accept:"text/plain"}};return this.transformOptions(r).then(i=>this.http.fetch(n,i)).then(i=>this.processGetUserByName(i))}processGetUserByName(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===200?e.text().then(i=>{let s=null,d=i===""?null:JSON.parse(i,this.jsonParseReviver);return s=gn.fromJS(d),s}):n===401?e.text().then(i=>F("Unauthorized",n,i,r)):n===403?e.text().then(i=>F("Forbidden",n,i,r)):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}getUserById(e){let n=this.baseUrl+"/api/platform/security/users/id/{id}";if(e==null)throw new Error("The parameter 'id' must be defined.");n=n.replace("{id}",encodeURIComponent(""+e)),n=n.replace(/[?&]$/,"");let r={method:"GET",headers:{Accept:"text/plain"}};return this.transformOptions(r).then(i=>this.http.fetch(n,i)).then(i=>this.processGetUserById(i))}processGetUserById(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===200?e.text().then(i=>{let s=null,d=i===""?null:JSON.parse(i,this.jsonParseReviver);return s=gn.fromJS(d),s}):n===401?e.text().then(i=>F("Unauthorized",n,i,r)):n===403?e.text().then(i=>F("Forbidden",n,i,r)):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}getUserByEmail(e){let n=this.baseUrl+"/api/platform/security/users/email/{email}";if(e==null)throw new Error("The parameter 'email' must be defined.");n=n.replace("{email}",encodeURIComponent(""+e)),n=n.replace(/[?&]$/,"");let r={method:"GET",headers:{Accept:"text/plain"}};return this.transformOptions(r).then(i=>this.http.fetch(n,i)).then(i=>this.processGetUserByEmail(i))}processGetUserByEmail(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===200?e.text().then(i=>{let s=null,d=i===""?null:JSON.parse(i,this.jsonParseReviver);return s=gn.fromJS(d),s}):n===401?e.text().then(i=>F("Unauthorized",n,i,r)):n===403?e.text().then(i=>F("Forbidden",n,i,r)):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}getUserByLogin(e,n){let r=this.baseUrl+"/api/platform/security/users/login/external/{loginProvider}/{providerKey}";if(e==null)throw new Error("The parameter 'loginProvider' must be defined.");if(r=r.replace("{loginProvider}",encodeURIComponent(""+e)),n==null)throw new Error("The parameter 'providerKey' must be defined.");r=r.replace("{providerKey}",encodeURIComponent(""+n)),r=r.replace(/[?&]$/,"");let i={method:"GET",headers:{Accept:"text/plain"}};return this.transformOptions(i).then(s=>this.http.fetch(r,s)).then(s=>this.processGetUserByLogin(s))}processGetUserByLogin(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===200?e.text().then(i=>{let s=null,d=i===""?null:JSON.parse(i,this.jsonParseReviver);return s=gn.fromJS(d),s}):n===401?e.text().then(i=>F("Unauthorized",n,i,r)):n===403?e.text().then(i=>F("Forbidden",n,i,r)):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}create(e){let n=this.baseUrl+"/api/platform/security/users/create";n=n.replace(/[?&]$/,"");let i={body:JSON.stringify(e),method:"POST",headers:{"Content-Type":"application/json-patch+json",Accept:"text/plain"}};return this.transformOptions(i).then(s=>this.http.fetch(n,s)).then(s=>this.processCreate(s))}processCreate(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===200?e.text().then(i=>{let s=null,d=i===""?null:JSON.parse(i,this.jsonParseReviver);return s=Lt.fromJS(d),s}):n===401?e.text().then(i=>F("Unauthorized",n,i,r)):n===403?e.text().then(i=>F("Forbidden",n,i,r)):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}changeCurrentUserPassword(e){let n=this.baseUrl+"/api/platform/security/currentuser/changepassword";n=n.replace(/[?&]$/,"");let i={body:JSON.stringify(e),method:"POST",headers:{"Content-Type":"application/json-patch+json",Accept:"text/plain"}};return this.transformOptions(i).then(s=>this.http.fetch(n,s)).then(s=>this.processChangeCurrentUserPassword(s))}processChangeCurrentUserPassword(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===200?e.text().then(i=>{let s=null,d=i===""?null:JSON.parse(i,this.jsonParseReviver);return s=Lt.fromJS(d),s}):n===400?e.text().then(i=>F("Bad Request",n,i,r)):n===401?e.text().then(i=>F("Unauthorized",n,i,r)):n===403?e.text().then(i=>F("Forbidden",n,i,r)):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}changePassword(e,n){let r=this.baseUrl+"/api/platform/security/users/{userName}/changepassword";if(e==null)throw new Error("The parameter 'userName' must be defined.");r=r.replace("{userName}",encodeURIComponent(""+e)),r=r.replace(/[?&]$/,"");let s={body:JSON.stringify(n),method:"POST",headers:{"Content-Type":"application/json-patch+json",Accept:"text/plain"}};return this.transformOptions(s).then(d=>this.http.fetch(r,d)).then(d=>this.processChangePassword(d))}processChangePassword(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===200?e.text().then(i=>{let s=null,d=i===""?null:JSON.parse(i,this.jsonParseReviver);return s=Lt.fromJS(d),s}):n===400?e.text().then(i=>F("Bad Request",n,i,r)):n===401?e.text().then(i=>F("Unauthorized",n,i,r)):n===403?e.text().then(i=>F("Forbidden",n,i,r)):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}resetPassword(e,n){let r=this.baseUrl+"/api/platform/security/users/{userName}/resetpassword";if(e==null)throw new Error("The parameter 'userName' must be defined.");r=r.replace("{userName}",encodeURIComponent(""+e)),r=r.replace(/[?&]$/,"");let s={body:JSON.stringify(n),method:"POST",headers:{"Content-Type":"application/json-patch+json",Accept:"text/plain"}};return this.transformOptions(s).then(d=>this.http.fetch(r,d)).then(d=>this.processResetPassword(d))}processResetPassword(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===200?e.text().then(i=>{let s=null,d=i===""?null:JSON.parse(i,this.jsonParseReviver);return s=Lt.fromJS(d),s}):n===401?e.text().then(i=>F("Unauthorized",n,i,r)):n===403?e.text().then(i=>F("Forbidden",n,i,r)):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}resetPasswordByToken(e,n){let r=this.baseUrl+"/api/platform/security/users/{userId}/resetpasswordconfirm";if(e==null)throw new Error("The parameter 'userId' must be defined.");r=r.replace("{userId}",encodeURIComponent(""+e)),r=r.replace(/[?&]$/,"");let s={body:JSON.stringify(n),method:"POST",headers:{"Content-Type":"application/json-patch+json",Accept:"text/plain"}};return this.transformOptions(s).then(d=>this.http.fetch(r,d)).then(d=>this.processResetPasswordByToken(d))}processResetPasswordByToken(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===200?e.text().then(i=>{let s=null,d=i===""?null:JSON.parse(i,this.jsonParseReviver);return s=Lt.fromJS(d),s}):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}validatePasswordResetToken(e,n){let r=this.baseUrl+"/api/platform/security/users/{userId}/validatepasswordresettoken";if(e==null)throw new Error("The parameter 'userId' must be defined.");r=r.replace("{userId}",encodeURIComponent(""+e)),r=r.replace(/[?&]$/,"");let s={body:JSON.stringify(n),method:"POST",headers:{"Content-Type":"application/json-patch+json",Accept:"text/plain"}};return this.transformOptions(s).then(d=>this.http.fetch(r,d)).then(d=>this.processValidatePasswordResetToken(d))}processValidatePasswordResetToken(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===200?e.text().then(i=>{let s=null,d=i===""?null:JSON.parse(i,this.jsonParseReviver);return s=d!==void 0?d:null,s}):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}requestPasswordReset(e){let n=this.baseUrl+"/api/platform/security/users/{loginOrEmail}/requestpasswordreset";if(e==null)throw new Error("The parameter 'loginOrEmail' must be defined.");n=n.replace("{loginOrEmail}",encodeURIComponent(""+e)),n=n.replace(/[?&]$/,"");let r={method:"POST",headers:{}};return this.transformOptions(r).then(i=>this.http.fetch(n,i)).then(i=>this.processRequestPasswordReset(i))}processRequestPasswordReset(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===200?e.text().then(i=>{}):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}validatePassword(e){let n=this.baseUrl+"/api/platform/security/validatepassword";n=n.replace(/[?&]$/,"");let i={body:JSON.stringify(e),method:"POST",headers:{"Content-Type":"application/json-patch+json",Accept:"text/plain"}};return this.transformOptions(i).then(s=>this.http.fetch(n,s)).then(s=>this.processValidatePassword(s))}processValidatePassword(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===200?e.text().then(i=>{let s=null,d=i===""?null:JSON.parse(i,this.jsonParseReviver);return s=Pi.fromJS(d),s}):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}validateUserPassword(e){let n=this.baseUrl+"/api/platform/security/validateuserpassword";n=n.replace(/[?&]$/,"");let i={body:JSON.stringify(e),method:"POST",headers:{"Content-Type":"application/json-patch+json",Accept:"text/plain"}};return this.transformOptions(i).then(s=>this.http.fetch(n,s)).then(s=>this.processValidateUserPassword(s))}processValidateUserPassword(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===200?e.text().then(i=>{let s=null,d=i===""?null:JSON.parse(i,this.jsonParseReviver);return s=Pi.fromJS(d),s}):n===401?e.text().then(i=>F("Unauthorized",n,i,r)):n===403?e.text().then(i=>F("Forbidden",n,i,r)):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}update(e){let n=this.baseUrl+"/api/platform/security/users";n=n.replace(/[?&]$/,"");let i={body:JSON.stringify(e),method:"PUT",headers:{"Content-Type":"application/json-patch+json",Accept:"text/plain"}};return this.transformOptions(i).then(s=>this.http.fetch(n,s)).then(s=>this.processUpdate(s))}processUpdate(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===200?e.text().then(i=>{let s=null,d=i===""?null:JSON.parse(i,this.jsonParseReviver);return s=Lt.fromJS(d),s}):n===401?e.text().then(i=>F("Unauthorized",n,i,r)):n===403?e.text().then(i=>F("Forbidden",n,i,r)):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}delete(e){let n=this.baseUrl+"/api/platform/security/users?";e!=null&&e&&e.forEach(i=>{n+="names="+encodeURIComponent(""+i)+"&"}),n=n.replace(/[?&]$/,"");let r={method:"DELETE",headers:{}};return this.transformOptions(r).then(i=>this.http.fetch(n,i)).then(i=>this.processDelete(i))}processDelete(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===200?e.text().then(i=>{}):n===401?e.text().then(i=>F("Unauthorized",n,i,r)):n===403?e.text().then(i=>F("Forbidden",n,i,r)):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}isUserLocked(e){let n=this.baseUrl+"/api/platform/security/users/{id}/locked";if(e==null)throw new Error("The parameter 'id' must be defined.");n=n.replace("{id}",encodeURIComponent(""+e)),n=n.replace(/[?&]$/,"");let r={method:"GET",headers:{Accept:"text/plain"}};return this.transformOptions(r).then(i=>this.http.fetch(n,i)).then(i=>this.processIsUserLocked(i))}processIsUserLocked(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===200?e.text().then(i=>{let s=null,d=i===""?null:JSON.parse(i,this.jsonParseReviver);return s=jo.fromJS(d),s}):n===401?e.text().then(i=>F("Unauthorized",n,i,r)):n===403?e.text().then(i=>F("Forbidden",n,i,r)):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}lockUser(e){let n=this.baseUrl+"/api/platform/security/users/{id}/lock";if(e==null)throw new Error("The parameter 'id' must be defined.");n=n.replace("{id}",encodeURIComponent(""+e)),n=n.replace(/[?&]$/,"");let r={method:"POST",headers:{Accept:"text/plain"}};return this.transformOptions(r).then(i=>this.http.fetch(n,i)).then(i=>this.processLockUser(i))}processLockUser(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===200?e.text().then(i=>{let s=null,d=i===""?null:JSON.parse(i,this.jsonParseReviver);return s=Lt.fromJS(d),s}):n===401?e.text().then(i=>F("Unauthorized",n,i,r)):n===403?e.text().then(i=>F("Forbidden",n,i,r)):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}unlockUser(e){let n=this.baseUrl+"/api/platform/security/users/{id}/unlock";if(e==null)throw new Error("The parameter 'id' must be defined.");n=n.replace("{id}",encodeURIComponent(""+e)),n=n.replace(/[?&]$/,"");let r={method:"POST",headers:{Accept:"text/plain"}};return this.transformOptions(r).then(i=>this.http.fetch(n,i)).then(i=>this.processUnlockUser(i))}processUnlockUser(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===200?e.text().then(i=>{let s=null,d=i===""?null:JSON.parse(i,this.jsonParseReviver);return s=Lt.fromJS(d),s}):n===401?e.text().then(i=>F("Unauthorized",n,i,r)):n===403?e.text().then(i=>F("Forbidden",n,i,r)):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}getUserApiKeys(e){let n=this.baseUrl+"/api/platform/security/users/{id}/apikeys";if(e==null)throw new Error("The parameter 'id' must be defined.");n=n.replace("{id}",encodeURIComponent(""+e)),n=n.replace(/[?&]$/,"");let r={method:"GET",headers:{Accept:"text/plain"}};return this.transformOptions(r).then(i=>this.http.fetch(n,i)).then(i=>this.processGetUserApiKeys(i))}processGetUserApiKeys(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===200?e.text().then(i=>{let s=null,d=i===""?null:JSON.parse(i,this.jsonParseReviver);if(Array.isArray(d)){s=[];for(let h of d)s.push(nr.fromJS(h))}else s=null;return s}):n===401?e.text().then(i=>F("Unauthorized",n,i,r)):n===403?e.text().then(i=>F("Forbidden",n,i,r)):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}saveUserApiKey(e){let n=this.baseUrl+"/api/platform/security/users/apikeys";n=n.replace(/[?&]$/,"");let i={body:JSON.stringify(e),method:"POST",headers:{"Content-Type":"application/json-patch+json",Accept:"text/plain"}};return this.transformOptions(i).then(s=>this.http.fetch(n,s)).then(s=>this.processSaveUserApiKey(s))}processSaveUserApiKey(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===200?e.text().then(i=>{let s=null,d=i===""?null:JSON.parse(i,this.jsonParseReviver);if(Array.isArray(d)){s=[];for(let h of d)s.push(nr.fromJS(h))}else s=null;return s}):n===401?e.text().then(i=>F("Unauthorized",n,i,r)):n===403?e.text().then(i=>F("Forbidden",n,i,r)):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}updateUserApiKey(e){let n=this.baseUrl+"/api/platform/security/users/apikeys";n=n.replace(/[?&]$/,"");let i={body:JSON.stringify(e),method:"PUT",headers:{"Content-Type":"application/json-patch+json",Accept:"text/plain"}};return this.transformOptions(i).then(s=>this.http.fetch(n,s)).then(s=>this.processUpdateUserApiKey(s))}processUpdateUserApiKey(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===200?e.text().then(i=>{let s=null,d=i===""?null:JSON.parse(i,this.jsonParseReviver);if(Array.isArray(d)){s=[];for(let h of d)s.push(nr.fromJS(h))}else s=null;return s}):n===401?e.text().then(i=>F("Unauthorized",n,i,r)):n===403?e.text().then(i=>F("Forbidden",n,i,r)):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}deleteUserApiKeys(e){let n=this.baseUrl+"/api/platform/security/users/apikeys?";e!=null&&e&&e.forEach(i=>{n+="ids="+encodeURIComponent(""+i)+"&"}),n=n.replace(/[?&]$/,"");let r={method:"DELETE",headers:{Accept:"text/plain"}};return this.transformOptions(r).then(i=>this.http.fetch(n,i)).then(i=>this.processDeleteUserApiKeys(i))}processDeleteUserApiKeys(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===200?e.text().then(i=>{let s=null,d=i===""?null:JSON.parse(i,this.jsonParseReviver);if(Array.isArray(d)){s=[];for(let h of d)s.push(nr.fromJS(h))}else s=null;return s}):n===401?e.text().then(i=>F("Unauthorized",n,i,r)):n===403?e.text().then(i=>F("Forbidden",n,i,r)):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}getLoginTypes(){let e=this.baseUrl+"/api/platform/security/logintypes";e=e.replace(/[?&]$/,"");let n={method:"GET",headers:{}};return this.transformOptions(n).then(r=>this.http.fetch(e,r)).then(r=>this.processGetLoginTypes(r))}processGetLoginTypes(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===200?e.text().then(i=>{}):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}sendVerificationEmail(e){let n=this.baseUrl+"/api/platform/security/users/{userId}/sendVerificationEmail";if(e==null)throw new Error("The parameter 'userId' must be defined.");n=n.replace("{userId}",encodeURIComponent(""+e)),n=n.replace(/[?&]$/,"");let r={method:"POST",headers:{}};return this.transformOptions(r).then(i=>this.http.fetch(n,i)).then(i=>this.processSendVerificationEmail(i))}processSendVerificationEmail(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===200?e.text().then(i=>{}):n===401?e.text().then(i=>F("Unauthorized",n,i,r)):n===403?e.text().then(i=>F("Forbidden",n,i,r)):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}}class bf extends At{http;baseUrl;jsonParseReviver=void 0;constructor(e,n){super(),this.http=n||window,this.baseUrl=this.getBaseUrl("https://vcmp-dev.paas.govirto.com",e)}getAllGlobalSettings(){let e=this.baseUrl+"/api/platform/settings";e=e.replace(/[?&]$/,"");let n={method:"GET",headers:{Accept:"application/json"}};return this.transformOptions(n).then(r=>this.http.fetch(e,r)).then(r=>this.processGetAllGlobalSettings(r))}processGetAllGlobalSettings(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===200?e.text().then(i=>{let s=null,d=i===""?null:JSON.parse(i,this.jsonParseReviver);return s=rr.fromJS(d),s}):n===401?e.text().then(i=>F("Unauthorized",n,i,r)):n===403?e.text().then(i=>F("Forbidden",n,i,r)):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}update(e){let n=this.baseUrl+"/api/platform/settings";n=n.replace(/[?&]$/,"");let i={body:JSON.stringify(e),method:"POST",headers:{"Content-Type":"application/json-patch+json"}};return this.transformOptions(i).then(s=>this.http.fetch(n,s)).then(s=>this.processUpdate(s))}processUpdate(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===204?e.text().then(i=>{}):n===401?e.text().then(i=>F("Unauthorized",n,i,r)):n===403?e.text().then(i=>F("Forbidden",n,i,r)):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}getGlobalModuleSettings(e){let n=this.baseUrl+"/api/platform/settings/modules/{id}";if(e==null)throw new Error("The parameter 'id' must be defined.");n=n.replace("{id}",encodeURIComponent(""+e)),n=n.replace(/[?&]$/,"");let r={method:"GET",headers:{Accept:"application/json"}};return this.transformOptions(r).then(i=>this.http.fetch(n,i)).then(i=>this.processGetGlobalModuleSettings(i))}processGetGlobalModuleSettings(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===200?e.text().then(i=>{let s=null,d=i===""?null:JSON.parse(i,this.jsonParseReviver);if(Array.isArray(d)){s=[];for(let h of d)s.push(rr.fromJS(h))}else s=null;return s}):n===401?e.text().then(i=>F("Unauthorized",n,i,r)):n===403?e.text().then(i=>F("Forbidden",n,i,r)):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}getGlobalSetting(e){let n=this.baseUrl+"/api/platform/settings/{name}";if(e==null)throw new Error("The parameter 'name' must be defined.");n=n.replace("{name}",encodeURIComponent(""+e)),n=n.replace(/[?&]$/,"");let r={method:"GET",headers:{Accept:"application/json"}};return this.transformOptions(r).then(i=>this.http.fetch(n,i)).then(i=>this.processGetGlobalSetting(i))}processGetGlobalSetting(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===200?e.text().then(i=>{let s=null,d=i===""?null:JSON.parse(i,this.jsonParseReviver);return s=rr.fromJS(d),s}):n===401?e.text().then(i=>F("Unauthorized",n,i,r)):n===403?e.text().then(i=>F("Forbidden",n,i,r)):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}getUICustomizationSetting(){let e=this.baseUrl+"/api/platform/settings/ui/customization";e=e.replace(/[?&]$/,"");let n={method:"GET",headers:{Accept:"application/json"}};return this.transformOptions(n).then(r=>this.http.fetch(e,r)).then(r=>this.processGetUICustomizationSetting(r))}processGetUICustomizationSetting(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===200?e.text().then(i=>{let s=null,d=i===""?null:JSON.parse(i,this.jsonParseReviver);return s=rr.fromJS(d),s}):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}}class Oi{accessToken;code;deviceCode;error;errorDescription;errorUri;expiresIn;idToken;refreshToken;scope;state;tokenType;userCode;count;constructor(e){if(e)for(var n in e)e.hasOwnProperty(n)&&(this[n]=e[n])}init(e){e&&(this.accessToken=e.accessToken,this.code=e.code,this.deviceCode=e.deviceCode,this.error=e.error,this.errorDescription=e.errorDescription,this.errorUri=e.errorUri,this.expiresIn=e.expiresIn,this.idToken=e.idToken,this.refreshToken=e.refreshToken,this.scope=e.scope,this.state=e.state,this.tokenType=e.tokenType,this.userCode=e.userCode,this.count=e.count)}static fromJS(e){e=typeof e=="object"?e:{};let n=new Oi;return n.init(e),n}toJSON(e){return e=typeof e=="object"?e:{},e.accessToken=this.accessToken,e.code=this.code,e.deviceCode=this.deviceCode,e.error=this.error,e.errorDescription=this.errorDescription,e.errorUri=this.errorUri,e.expiresIn=this.expiresIn,e.idToken=this.idToken,e.refreshToken=this.refreshToken,e.scope=this.scope,e.state=this.state,e.tokenType=this.tokenType,e.userCode=this.userCode,e.count=this.count,e}}class bo{title;description;iconUrl;relativeUrl;permission;id;constructor(e){if(e)for(var n in e)e.hasOwnProperty(n)&&(this[n]=e[n])}init(e){e&&(this.title=e.title,this.description=e.description,this.iconUrl=e.iconUrl,this.relativeUrl=e.relativeUrl,this.permission=e.permission,this.id=e.id)}static fromJS(e){e=typeof e=="object"?e:{};let n=new bo;return n.init(e),n}toJSON(e){return e=typeof e=="object"?e:{},e.title=this.title,e.description=this.description,e.iconUrl=this.iconUrl,e.relativeUrl=this.relativeUrl,e.permission=this.permission,e.id=this.id,e}}class So{scope;lastModifiedDate;constructor(e){if(e)for(var n in e)e.hasOwnProperty(n)&&(this[n]=e[n])}init(e){e&&(this.scope=e.scope,this.lastModifiedDate=e.lastModifiedDate?new Date(e.lastModifiedDate.toString()):void 0)}static fromJS(e){e=typeof e=="object"?e:{};let n=new So;return n.init(e),n}toJSON(e){return e=typeof e=="object"?e:{},e.scope=this.scope,e.lastModifiedDate=this.lastModifiedDate?this.lastModifiedDate.toISOString():void 0,e}}class ac{entityNames;modifiedSince;constructor(e){if(e)for(var n in e)e.hasOwnProperty(n)&&(this[n]=e[n])}init(e){if(e){if(Array.isArray(e.entityNames)){this.entityNames=[];for(let n of e.entityNames)this.entityNames.push(n)}this.modifiedSince=e.modifiedSince?new Date(e.modifiedSince.toString()):void 0}}static fromJS(e){e=typeof e=="object"?e:{};let n=new ac;return n.init(e),n}toJSON(e){if(e=typeof e=="object"?e:{},Array.isArray(this.entityNames)){e.entityNames=[];for(let n of this.entityNames)e.entityNames.push(n)}return e.modifiedSince=this.modifiedSince?this.modifiedSince.toISOString():void 0,e}}class xo{name;modifiedDate;constructor(e){if(e)for(var n in e)e.hasOwnProperty(n)&&(this[n]=e[n])}init(e){e&&(this.name=e.name,this.modifiedDate=e.modifiedDate?new Date(e.modifiedDate.toString()):void 0)}static fromJS(e){e=typeof e=="object"?e:{};let n=new xo;return n.init(e),n}toJSON(e){return e=typeof e=="object"?e:{},e.name=this.name,e.modifiedDate=this.modifiedDate?this.modifiedDate.toISOString():void 0,e}}class ko{entities;constructor(e){if(e)for(var n in e)e.hasOwnProperty(n)&&(this[n]=e[n])}init(e){if(e&&Array.isArray(e.entities)){this.entities=[];for(let n of e.entities)this.entities.push(xo.fromJS(n))}}static fromJS(e){e=typeof e=="object"?e:{};let n=new ko;return n.init(e),n}toJSON(e){if(e=typeof e=="object"?e:{},Array.isArray(this.entities)){e.entities=[];for(let n of this.entities)e.entities.push(n.toJSON())}return e}}exports.EntryState=void 0;(function(t){t.Detached="Detached",t.Unchanged="Unchanged",t.Added="Added",t.Deleted="Deleted",t.Modified="Modified"})(exports.EntryState||(exports.EntryState={}));exports.SortDirection=void 0;(function(t){t.Ascending="Ascending",t.Descending="Descending"})(exports.SortDirection||(exports.SortDirection={}));class on{sortColumn;sortDirection;constructor(e){if(e)for(var n in e)e.hasOwnProperty(n)&&(this[n]=e[n])}init(e){e&&(this.sortColumn=e.sortColumn,this.sortDirection=e.sortDirection)}static fromJS(e){e=typeof e=="object"?e:{};let n=new on;return n.init(e),n}toJSON(e){return e=typeof e=="object"?e:{},e.sortColumn=this.sortColumn,e.sortDirection=this.sortDirection,e}}class lc{operationTypes;startDate;endDate;responseGroup;objectType;objectTypes;objectIds;keyword;searchPhrase;languageCode;sort;sortInfos;skip;take;constructor(e){if(e)for(var n in e)e.hasOwnProperty(n)&&(this[n]=e[n])}init(e){if(e){if(Array.isArray(e.operationTypes)){this.operationTypes=[];for(let n of e.operationTypes)this.operationTypes.push(n)}if(this.startDate=e.startDate?new Date(e.startDate.toString()):void 0,this.endDate=e.endDate?new Date(e.endDate.toString()):void 0,this.responseGroup=e.responseGroup,this.objectType=e.objectType,Array.isArray(e.objectTypes)){this.objectTypes=[];for(let n of e.objectTypes)this.objectTypes.push(n)}if(Array.isArray(e.objectIds)){this.objectIds=[];for(let n of e.objectIds)this.objectIds.push(n)}if(this.keyword=e.keyword,this.searchPhrase=e.searchPhrase,this.languageCode=e.languageCode,this.sort=e.sort,Array.isArray(e.sortInfos)){this.sortInfos=[];for(let n of e.sortInfos)this.sortInfos.push(on.fromJS(n))}this.skip=e.skip,this.take=e.take}}static fromJS(e){e=typeof e=="object"?e:{};let n=new lc;return n.init(e),n}toJSON(e){if(e=typeof e=="object"?e:{},Array.isArray(this.operationTypes)){e.operationTypes=[];for(let n of this.operationTypes)e.operationTypes.push(n)}if(e.startDate=this.startDate?this.startDate.toISOString():void 0,e.endDate=this.endDate?this.endDate.toISOString():void 0,e.responseGroup=this.responseGroup,e.objectType=this.objectType,Array.isArray(this.objectTypes)){e.objectTypes=[];for(let n of this.objectTypes)e.objectTypes.push(n)}if(Array.isArray(this.objectIds)){e.objectIds=[];for(let n of this.objectIds)e.objectIds.push(n)}if(e.keyword=this.keyword,e.searchPhrase=this.searchPhrase,e.languageCode=this.languageCode,e.sort=this.sort,Array.isArray(this.sortInfos)){e.sortInfos=[];for(let n of this.sortInfos)e.sortInfos.push(n.toJSON())}return e.skip=this.skip,e.take=this.take,e}}class ts{objectType;objectId;operationType;detail;createdDate;modifiedDate;createdBy;modifiedBy;id;constructor(e){if(e)for(var n in e)e.hasOwnProperty(n)&&(this[n]=e[n])}init(e){e&&(this.objectType=e.objectType,this.objectId=e.objectId,this.operationType=e.operationType,this.detail=e.detail,this.createdDate=e.createdDate?new Date(e.createdDate.toString()):void 0,this.modifiedDate=e.modifiedDate?new Date(e.modifiedDate.toString()):void 0,this.createdBy=e.createdBy,this.modifiedBy=e.modifiedBy,this.id=e.id)}static fromJS(e){e=typeof e=="object"?e:{};let n=new ts;return n.init(e),n}toJSON(e){return e=typeof e=="object"?e:{},e.objectType=this.objectType,e.objectId=this.objectId,e.operationType=this.operationType,e.detail=this.detail,e.createdDate=this.createdDate?this.createdDate.toISOString():void 0,e.modifiedDate=this.modifiedDate?this.modifiedDate.toISOString():void 0,e.createdBy=this.createdBy,e.modifiedBy=this.modifiedBy,e.id=this.id,e}}class Co{totalCount;results;constructor(e){if(e)for(var n in e)e.hasOwnProperty(n)&&(this[n]=e[n])}init(e){if(e&&(this.totalCount=e.totalCount,Array.isArray(e.results))){this.results=[];for(let n of e.results)this.results.push(ts.fromJS(n))}}static fromJS(e){e=typeof e=="object"?e:{};let n=new Co;return n.init(e),n}toJSON(e){if(e=typeof e=="object"?e:{},e.totalCount=this.totalCount,Array.isArray(this.results)){e.results=[];for(let n of this.results)e.results.push(n.toJSON())}return e}}class Eo{type;customerName;customerEmail;expirationDate;rawLicense;constructor(e){if(e)for(var n in e)e.hasOwnProperty(n)&&(this[n]=e[n])}init(e){e&&(this.type=e.type,this.customerName=e.customerName,this.customerEmail=e.customerEmail,this.expirationDate=e.expirationDate?new Date(e.expirationDate.toString()):void 0,this.rawLicense=e.rawLicense)}static fromJS(e){e=typeof e=="object"?e:{};let n=new Eo;return n.init(e),n}toJSON(e){return e=typeof e=="object"?e:{},e.type=this.type,e.customerName=this.customerName,e.customerEmail=this.customerEmail,e.expirationDate=this.expirationDate?this.expirationDate.toISOString():void 0,e.rawLicense=this.rawLicense,e}}class _o{major;minor;patch;prerelease;constructor(e){if(e)for(var n in e)e.hasOwnProperty(n)&&(this[n]=e[n])}init(e){e&&(this.major=e.major,this.minor=e.minor,this.patch=e.patch,this.prerelease=e.prerelease)}static fromJS(e){e=typeof e=="object"?e:{};let n=new _o;return n.init(e),n}toJSON(e){return e=typeof e=="object"?e:{},e.major=this.major,e.minor=this.minor,e.patch=this.patch,e.prerelease=this.prerelease,e}}class Li{id;version;constructor(e){if(e)for(var n in e)e.hasOwnProperty(n)&&(this[n]=e[n])}init(e){e&&(this.id=e.id,this.version=e.version?_o.fromJS(e.version):void 0)}static fromJS(e){e=typeof e=="object"?e:{};let n=new Li;return n.init(e),n}toJSON(e){return e=typeof e=="object"?e:{},e.id=this.id,e.version=this.version?this.version.toJSON():void 0,e}}class pn{version;platformVersion;title;description;authors;owners;licenseUrl;projectUrl;iconUrl;requireLicenseAcceptance;releaseNotes;copyright;tags;groups;dependencies;validationErrors;isRemovable;isInstalled;installedVersion;id;constructor(e){if(e)for(var n in e)e.hasOwnProperty(n)&&(this[n]=e[n])}init(e){if(e){if(this.version=e.version,this.platformVersion=e.platformVersion,this.title=e.title,this.description=e.description,Array.isArray(e.authors)){this.authors=[];for(let n of e.authors)this.authors.push(n)}if(Array.isArray(e.owners)){this.owners=[];for(let n of e.owners)this.owners.push(n)}if(this.licenseUrl=e.licenseUrl,this.projectUrl=e.projectUrl,this.iconUrl=e.iconUrl,this.requireLicenseAcceptance=e.requireLicenseAcceptance,this.releaseNotes=e.releaseNotes,this.copyright=e.copyright,this.tags=e.tags,Array.isArray(e.groups)){this.groups=[];for(let n of e.groups)this.groups.push(n)}if(Array.isArray(e.dependencies)){this.dependencies=[];for(let n of e.dependencies)this.dependencies.push(Li.fromJS(n))}if(Array.isArray(e.validationErrors)){this.validationErrors=[];for(let n of e.validationErrors)this.validationErrors.push(n)}this.isRemovable=e.isRemovable,this.isInstalled=e.isInstalled,this.installedVersion=e.installedVersion?Li.fromJS(e.installedVersion):void 0,this.id=e.id}}static fromJS(e){e=typeof e=="object"?e:{};let n=new pn;return n.init(e),n}toJSON(e){if(e=typeof e=="object"?e:{},e.version=this.version,e.platformVersion=this.platformVersion,e.title=this.title,e.description=this.description,Array.isArray(this.authors)){e.authors=[];for(let n of this.authors)e.authors.push(n)}if(Array.isArray(this.owners)){e.owners=[];for(let n of this.owners)e.owners.push(n)}if(e.licenseUrl=this.licenseUrl,e.projectUrl=this.projectUrl,e.iconUrl=this.iconUrl,e.requireLicenseAcceptance=this.requireLicenseAcceptance,e.releaseNotes=this.releaseNotes,e.copyright=this.copyright,e.tags=this.tags,Array.isArray(this.groups)){e.groups=[];for(let n of this.groups)e.groups.push(n)}if(Array.isArray(this.dependencies)){e.dependencies=[];for(let n of this.dependencies)e.dependencies.push(n.toJSON())}if(Array.isArray(this.validationErrors)){e.validationErrors=[];for(let n of this.validationErrors)e.validationErrors.push(n)}return e.isRemovable=this.isRemovable,e.isInstalled=this.isInstalled,e.installedVersion=this.installedVersion?this.installedVersion.toJSON():void 0,e.id=this.id,e}}class To{platformVersion;license;installedModules;version;is64BitOperatingSystem;is64BitProcess;constructor(e){if(e)for(var n in e)e.hasOwnProperty(n)&&(this[n]=e[n])}init(e){if(e){if(this.platformVersion=e.platformVersion,this.license=e.license?Eo.fromJS(e.license):void 0,Array.isArray(e.installedModules)){this.installedModules=[];for(let n of e.installedModules)this.installedModules.push(pn.fromJS(n))}this.version=e.version,this.is64BitOperatingSystem=e.is64BitOperatingSystem,this.is64BitProcess=e.is64BitProcess}}static fromJS(e){e=typeof e=="object"?e:{};let n=new To;return n.init(e),n}toJSON(e){if(e=typeof e=="object"?e:{},e.platformVersion=this.platformVersion,e.license=this.license?this.license.toJSON():void 0,Array.isArray(this.installedModules)){e.installedModules=[];for(let n of this.installedModules)e.installedModules.push(n.toJSON())}return e.version=this.version,e.is64BitOperatingSystem=this.is64BitOperatingSystem,e.is64BitProcess=this.is64BitProcess,e}}class cc{typeName;responseGroup;objectType;objectTypes;objectIds;keyword;searchPhrase;languageCode;sort;sortInfos;skip;take;constructor(e){if(e)for(var n in e)e.hasOwnProperty(n)&&(this[n]=e[n])}init(e){if(e){if(this.typeName=e.typeName,this.responseGroup=e.responseGroup,this.objectType=e.objectType,Array.isArray(e.objectTypes)){this.objectTypes=[];for(let n of e.objectTypes)this.objectTypes.push(n)}if(Array.isArray(e.objectIds)){this.objectIds=[];for(let n of e.objectIds)this.objectIds.push(n)}if(this.keyword=e.keyword,this.searchPhrase=e.searchPhrase,this.languageCode=e.languageCode,this.sort=e.sort,Array.isArray(e.sortInfos)){this.sortInfos=[];for(let n of e.sortInfos)this.sortInfos.push(on.fromJS(n))}this.skip=e.skip,this.take=e.take}}static fromJS(e){e=typeof e=="object"?e:{};let n=new cc;return n.init(e),n}toJSON(e){if(e=typeof e=="object"?e:{},e.typeName=this.typeName,e.responseGroup=this.responseGroup,e.objectType=this.objectType,Array.isArray(this.objectTypes)){e.objectTypes=[];for(let n of this.objectTypes)e.objectTypes.push(n)}if(Array.isArray(this.objectIds)){e.objectIds=[];for(let n of this.objectIds)e.objectIds.push(n)}if(e.keyword=this.keyword,e.searchPhrase=this.searchPhrase,e.languageCode=this.languageCode,e.sort=this.sort,Array.isArray(this.sortInfos)){e.sortInfos=[];for(let n of this.sortInfos)e.sortInfos.push(n.toJSON())}return e.skip=this.skip,e.take=this.take,e}}exports.DynamicPropertyValueType=void 0;(function(t){t.Undefined="Undefined",t.ShortText="ShortText",t.LongText="LongText",t.Integer="Integer",t.Decimal="Decimal",t.DateTime="DateTime",t.Boolean="Boolean",t.Html="Html",t.Image="Image"})(exports.DynamicPropertyValueType||(exports.DynamicPropertyValueType={}));class ns{locale;name;constructor(e){if(e)for(var n in e)e.hasOwnProperty(n)&&(this[n]=e[n])}init(e){e&&(this.locale=e.locale,this.name=e.name)}static fromJS(e){e=typeof e=="object"?e:{};let n=new ns;return n.init(e),n}toJSON(e){return e=typeof e=="object"?e:{},e.locale=this.locale,e.name=this.name,e}}class rs{name;description;objectType;isArray;isDictionary;isMultilingual;isRequired;displayOrder;valueType;displayNames;createdDate;modifiedDate;createdBy;modifiedBy;id;constructor(e){if(e)for(var n in e)e.hasOwnProperty(n)&&(this[n]=e[n])}init(e){if(e){if(this.name=e.name,this.description=e.description,this.objectType=e.objectType,this.isArray=e.isArray,this.isDictionary=e.isDictionary,this.isMultilingual=e.isMultilingual,this.isRequired=e.isRequired,this.displayOrder=e.displayOrder,this.valueType=e.valueType,Array.isArray(e.displayNames)){this.displayNames=[];for(let n of e.displayNames)this.displayNames.push(ns.fromJS(n))}this.createdDate=e.createdDate?new Date(e.createdDate.toString()):void 0,this.modifiedDate=e.modifiedDate?new Date(e.modifiedDate.toString()):void 0,this.createdBy=e.createdBy,this.modifiedBy=e.modifiedBy,this.id=e.id}}static fromJS(e){e=typeof e=="object"?e:{};let n=new rs;return n.init(e),n}toJSON(e){if(e=typeof e=="object"?e:{},e.name=this.name,e.description=this.description,e.objectType=this.objectType,e.isArray=this.isArray,e.isDictionary=this.isDictionary,e.isMultilingual=this.isMultilingual,e.isRequired=this.isRequired,e.displayOrder=this.displayOrder,e.valueType=this.valueType,Array.isArray(this.displayNames)){e.displayNames=[];for(let n of this.displayNames)e.displayNames.push(n.toJSON())}return e.createdDate=this.createdDate?this.createdDate.toISOString():void 0,e.modifiedDate=this.modifiedDate?this.modifiedDate.toISOString():void 0,e.createdBy=this.createdBy,e.modifiedBy=this.modifiedBy,e.id=this.id,e}}class Ao{totalCount;results;constructor(e){if(e)for(var n in e)e.hasOwnProperty(n)&&(this[n]=e[n])}init(e){if(e&&(this.totalCount=e.totalCount,Array.isArray(e.results))){this.results=[];for(let n of e.results)this.results.push(rs.fromJS(n))}}static fromJS(e){e=typeof e=="object"?e:{};let n=new Ao;return n.init(e),n}toJSON(e){if(e=typeof e=="object"?e:{},e.totalCount=this.totalCount,Array.isArray(this.results)){e.results=[];for(let n of this.results)e.results.push(n.toJSON())}return e}}class $o{objectType;objectId;locale;value;valueId;valueType;propertyId;propertyName;constructor(e){if(e)for(var n in e)e.hasOwnProperty(n)&&(this[n]=e[n])}init(e){e&&(this.objectType=e.objectType,this.objectId=e.objectId,this.locale=e.locale,this.value=e.value,this.valueId=e.valueId,this.valueType=e.valueType,this.propertyId=e.propertyId,this.propertyName=e.propertyName)}static fromJS(e){e=typeof e=="object"?e:{};let n=new $o;return n.init(e),n}toJSON(e){return e=typeof e=="object"?e:{},e.objectType=this.objectType,e.objectId=this.objectId,e.locale=this.locale,e.value=this.value,e.valueId=this.valueId,e.valueType=this.valueType,e.propertyId=this.propertyId,e.propertyName=this.propertyName,e}}class Oo{objectId;values;name;description;objectType;isArray;isDictionary;isMultilingual;isRequired;displayOrder;valueType;displayNames;createdDate;modifiedDate;createdBy;modifiedBy;id;constructor(e){if(e)for(var n in e)e.hasOwnProperty(n)&&(this[n]=e[n])}init(e){if(e){if(this.objectId=e.objectId,Array.isArray(e.values)){this.values=[];for(let n of e.values)this.values.push($o.fromJS(n))}if(this.name=e.name,this.description=e.description,this.objectType=e.objectType,this.isArray=e.isArray,this.isDictionary=e.isDictionary,this.isMultilingual=e.isMultilingual,this.isRequired=e.isRequired,this.displayOrder=e.displayOrder,this.valueType=e.valueType,Array.isArray(e.displayNames)){this.displayNames=[];for(let n of e.displayNames)this.displayNames.push(ns.fromJS(n))}this.createdDate=e.createdDate?new Date(e.createdDate.toString()):void 0,this.modifiedDate=e.modifiedDate?new Date(e.modifiedDate.toString()):void 0,this.createdBy=e.createdBy,this.modifiedBy=e.modifiedBy,this.id=e.id}}static fromJS(e){e=typeof e=="object"?e:{};let n=new Oo;return n.init(e),n}toJSON(e){if(e=typeof e=="object"?e:{},e.objectId=this.objectId,Array.isArray(this.values)){e.values=[];for(let n of this.values)e.values.push(n.toJSON())}if(e.name=this.name,e.description=this.description,e.objectType=this.objectType,e.isArray=this.isArray,e.isDictionary=this.isDictionary,e.isMultilingual=this.isMultilingual,e.isRequired=this.isRequired,e.displayOrder=this.displayOrder,e.valueType=this.valueType,Array.isArray(this.displayNames)){e.displayNames=[];for(let n of this.displayNames)e.displayNames.push(n.toJSON())}return e.createdDate=this.createdDate?this.createdDate.toISOString():void 0,e.modifiedDate=this.modifiedDate?this.modifiedDate.toISOString():void 0,e.createdBy=this.createdBy,e.modifiedBy=this.modifiedBy,e.id=this.id,e}}class uc{propertyId;responseGroup;objectType;objectTypes;objectIds;keyword;searchPhrase;languageCode;sort;sortInfos;skip;take;constructor(e){if(e)for(var n in e)e.hasOwnProperty(n)&&(this[n]=e[n])}init(e){if(e){if(this.propertyId=e.propertyId,this.responseGroup=e.responseGroup,this.objectType=e.objectType,Array.isArray(e.objectTypes)){this.objectTypes=[];for(let n of e.objectTypes)this.objectTypes.push(n)}if(Array.isArray(e.objectIds)){this.objectIds=[];for(let n of e.objectIds)this.objectIds.push(n)}if(this.keyword=e.keyword,this.searchPhrase=e.searchPhrase,this.languageCode=e.languageCode,this.sort=e.sort,Array.isArray(e.sortInfos)){this.sortInfos=[];for(let n of e.sortInfos)this.sortInfos.push(on.fromJS(n))}this.skip=e.skip,this.take=e.take}}static fromJS(e){e=typeof e=="object"?e:{};let n=new uc;return n.init(e),n}toJSON(e){if(e=typeof e=="object"?e:{},e.propertyId=this.propertyId,e.responseGroup=this.responseGroup,e.objectType=this.objectType,Array.isArray(this.objectTypes)){e.objectTypes=[];for(let n of this.objectTypes)e.objectTypes.push(n)}if(Array.isArray(this.objectIds)){e.objectIds=[];for(let n of this.objectIds)e.objectIds.push(n)}if(e.keyword=this.keyword,e.searchPhrase=this.searchPhrase,e.languageCode=this.languageCode,e.sort=this.sort,Array.isArray(this.sortInfos)){e.sortInfos=[];for(let n of this.sortInfos)e.sortInfos.push(n.toJSON())}return e.skip=this.skip,e.take=this.take,e}}class Lo{locale;name;constructor(e){if(e)for(var n in e)e.hasOwnProperty(n)&&(this[n]=e[n])}init(e){e&&(this.locale=e.locale,this.name=e.name)}static fromJS(e){e=typeof e=="object"?e:{};let n=new Lo;return n.init(e),n}toJSON(e){return e=typeof e=="object"?e:{},e.locale=this.locale,e.name=this.name,e}}class Mo{propertyId;name;displayNames;createdDate;modifiedDate;createdBy;modifiedBy;id;constructor(e){if(e)for(var n in e)e.hasOwnProperty(n)&&(this[n]=e[n])}init(e){if(e){if(this.propertyId=e.propertyId,this.name=e.name,Array.isArray(e.displayNames)){this.displayNames=[];for(let n of e.displayNames)this.displayNames.push(Lo.fromJS(n))}this.createdDate=e.createdDate?new Date(e.createdDate.toString()):void 0,this.modifiedDate=e.modifiedDate?new Date(e.modifiedDate.toString()):void 0,this.createdBy=e.createdBy,this.modifiedBy=e.modifiedBy,this.id=e.id}}static fromJS(e){e=typeof e=="object"?e:{};let n=new Mo;return n.init(e),n}toJSON(e){if(e=typeof e=="object"?e:{},e.propertyId=this.propertyId,e.name=this.name,Array.isArray(this.displayNames)){e.displayNames=[];for(let n of this.displayNames)e.displayNames.push(n.toJSON())}return e.createdDate=this.createdDate?this.createdDate.toISOString():void 0,e.modifiedDate=this.modifiedDate?this.modifiedDate.toISOString():void 0,e.createdBy=this.createdBy,e.modifiedBy=this.modifiedBy,e.id=this.id,e}}class Ro{totalCount;results;constructor(e){if(e)for(var n in e)e.hasOwnProperty(n)&&(this[n]=e[n])}init(e){if(e&&(this.totalCount=e.totalCount,Array.isArray(e.results))){this.results=[];for(let n of e.results)this.results.push(Mo.fromJS(n))}}static fromJS(e){e=typeof e=="object"?e:{};let n=new Ro;return n.init(e),n}toJSON(e){if(e=typeof e=="object"?e:{},e.totalCount=this.totalCount,Array.isArray(this.results)){e.results=[];for(let n of this.results)e.results.push(n.toJSON())}return e}}class No{state;completed;id;constructor(e){if(e)for(var n in e)e.hasOwnProperty(n)&&(this[n]=e[n])}init(e){e&&(this.state=e.state,this.completed=e.completed,this.id=e.id)}static fromJS(e){e=typeof e=="object"?e:{};let n=new No;return n.init(e),n}toJSON(e){return e=typeof e=="object"?e:{},e.state=this.state,e.completed=this.completed,e.id=this.id,e}}exports.ProgressMessageLevel=void 0;(function(t){t.Info="Info",t.Warning="Warning",t.Debug="Debug",t.Error="Error"})(exports.ProgressMessageLevel||(exports.ProgressMessageLevel={}));class is{message;level;constructor(e){if(e)for(var n in e)e.hasOwnProperty(n)&&(this[n]=e[n])}init(e){e&&(this.message=e.message,this.level=e.level)}static fromJS(e){e=typeof e=="object"?e:{};let n=new is;return n.init(e),n}toJSON(e){return e=typeof e=="object"?e:{},e.message=this.message,e.level=this.level,e}}class Mi{started;finished;progressLog;errorCount;serverId;creator;created;isNew;notifyType;description;title;repeatCount;id;constructor(e){if(e)for(var n in e)e.hasOwnProperty(n)&&(this[n]=e[n])}init(e){if(e){if(this.started=e.started?new Date(e.started.toString()):void 0,this.finished=e.finished?new Date(e.finished.toString()):void 0,Array.isArray(e.progressLog)){this.progressLog=[];for(let n of e.progressLog)this.progressLog.push(is.fromJS(n))}this.errorCount=e.errorCount,this.serverId=e.serverId,this.creator=e.creator,this.created=e.created?new Date(e.created.toString()):void 0,this.isNew=e.isNew,this.notifyType=e.notifyType,this.description=e.description,this.title=e.title,this.repeatCount=e.repeatCount,this.id=e.id}}static fromJS(e){e=typeof e=="object"?e:{};let n=new Mi;return n.init(e),n}toJSON(e){if(e=typeof e=="object"?e:{},e.started=this.started?this.started.toISOString():void 0,e.finished=this.finished?this.finished.toISOString():void 0,Array.isArray(this.progressLog)){e.progressLog=[];for(let n of this.progressLog)e.progressLog.push(n.toJSON())}return e.errorCount=this.errorCount,e.serverId=this.serverId,e.creator=this.creator,e.created=this.created?this.created.toISOString():void 0,e.isNew=this.isNew,e.notifyType=this.notifyType,e.description=this.description,e.title=this.title,e.repeatCount=this.repeatCount,e.id=this.id,e}}class Io{started;finished;progressLog;errorCount;serverId;creator;created;isNew;notifyType;description;title;repeatCount;id;constructor(e){if(e)for(var n in e)e.hasOwnProperty(n)&&(this[n]=e[n])}init(e){if(e){if(this.started=e.started?new Date(e.started.toString()):void 0,this.finished=e.finished?new Date(e.finished.toString()):void 0,Array.isArray(e.progressLog)){this.progressLog=[];for(let n of e.progressLog)this.progressLog.push(is.fromJS(n))}this.errorCount=e.errorCount,this.serverId=e.serverId,this.creator=e.creator,this.created=e.created?new Date(e.created.toString()):void 0,this.isNew=e.isNew,this.notifyType=e.notifyType,this.description=e.description,this.title=e.title,this.repeatCount=e.repeatCount,this.id=e.id}}static fromJS(e){e=typeof e=="object"?e:{};let n=new Io;return n.init(e),n}toJSON(e){if(e=typeof e=="object"?e:{},e.started=this.started?this.started.toISOString():void 0,e.finished=this.finished?this.finished.toISOString():void 0,Array.isArray(this.progressLog)){e.progressLog=[];for(let n of this.progressLog)e.progressLog.push(n.toJSON())}return e.errorCount=this.errorCount,e.serverId=this.serverId,e.creator=this.creator,e.created=this.created?this.created.toISOString():void 0,e.isNew=this.isNew,e.notifyType=this.notifyType,e.description=this.description,e.title=this.title,e.repeatCount=this.repeatCount,e.id=this.id,e}}exports.JsonValueKind=void 0;(function(t){t.Undefined="Undefined",t.Object="Object",t.Array="Array",t.String="String",t.Number="Number",t.True="True",t.False="False",t.Null="Null"})(exports.JsonValueKind||(exports.JsonValueKind={}));class Ri{valueKind;constructor(e){if(e)for(var n in e)e.hasOwnProperty(n)&&(this[n]=e[n])}init(e){e&&(this.valueKind=e.valueKind)}static fromJS(e){e=typeof e=="object"?e:{};let n=new Ri;return n.init(e),n}toJSON(e){return e=typeof e=="object"?e:{},e.valueKind=this.valueKind,e}}class Wr{clientId;clientSecret;consentType;displayName;displayNames;permissions;postLogoutRedirectUris;properties;redirectUris;requirements;type;constructor(e){if(e)for(var n in e)e.hasOwnProperty(n)&&(this[n]=e[n])}init(e){if(e){if(this.clientId=e.clientId,this.clientSecret=e.clientSecret,this.consentType=e.consentType,this.displayName=e.displayName,e.displayNames){this.displayNames={};for(let n in e.displayNames)e.displayNames.hasOwnProperty(n)&&(this.displayNames[n]=e.displayNames[n])}if(Array.isArray(e.permissions)){this.permissions=[];for(let n of e.permissions)this.permissions.push(n)}if(Array.isArray(e.postLogoutRedirectUris)){this.postLogoutRedirectUris=[];for(let n of e.postLogoutRedirectUris)this.postLogoutRedirectUris.push(n)}if(e.properties){this.properties={};for(let n in e.properties)e.properties.hasOwnProperty(n)&&(this.properties[n]=e.properties[n]?Ri.fromJS(e.properties[n]):new Ri)}if(Array.isArray(e.redirectUris)){this.redirectUris=[];for(let n of e.redirectUris)this.redirectUris.push(n)}if(Array.isArray(e.requirements)){this.requirements=[];for(let n of e.requirements)this.requirements.push(n)}this.type=e.type}}static fromJS(e){e=typeof e=="object"?e:{};let n=new Wr;return n.init(e),n}toJSON(e){if(e=typeof e=="object"?e:{},e.clientId=this.clientId,e.clientSecret=this.clientSecret,e.consentType=this.consentType,e.displayName=this.displayName,this.displayNames){e.displayNames={};for(let n in this.displayNames)this.displayNames.hasOwnProperty(n)&&(e.displayNames[n]=this.displayNames[n])}if(Array.isArray(this.permissions)){e.permissions=[];for(let n of this.permissions)e.permissions.push(n)}if(Array.isArray(this.postLogoutRedirectUris)){e.postLogoutRedirectUris=[];for(let n of this.postLogoutRedirectUris)e.postLogoutRedirectUris.push(n)}if(this.properties){e.properties={};for(let n in this.properties)this.properties.hasOwnProperty(n)&&(e.properties[n]=this.properties[n]?this.properties[n].toJSON():void 0)}if(Array.isArray(this.redirectUris)){e.redirectUris=[];for(let n of this.redirectUris)e.redirectUris.push(n)}if(Array.isArray(this.requirements)){e.requirements=[];for(let n of this.requirements)e.requirements.push(n)}return e.type=this.type,e}}class hc{responseGroup;objectType;objectTypes;objectIds;keyword;searchPhrase;languageCode;sort;sortInfos;skip;take;constructor(e){if(e)for(var n in e)e.hasOwnProperty(n)&&(this[n]=e[n])}init(e){if(e){if(this.responseGroup=e.responseGroup,this.objectType=e.objectType,Array.isArray(e.objectTypes)){this.objectTypes=[];for(let n of e.objectTypes)this.objectTypes.push(n)}if(Array.isArray(e.objectIds)){this.objectIds=[];for(let n of e.objectIds)this.objectIds.push(n)}if(this.keyword=e.keyword,this.searchPhrase=e.searchPhrase,this.languageCode=e.languageCode,this.sort=e.sort,Array.isArray(e.sortInfos)){this.sortInfos=[];for(let n of e.sortInfos)this.sortInfos.push(on.fromJS(n))}this.skip=e.skip,this.take=e.take}}static fromJS(e){e=typeof e=="object"?e:{};let n=new hc;return n.init(e),n}toJSON(e){if(e=typeof e=="object"?e:{},e.responseGroup=this.responseGroup,e.objectType=this.objectType,Array.isArray(this.objectTypes)){e.objectTypes=[];for(let n of this.objectTypes)e.objectTypes.push(n)}if(Array.isArray(this.objectIds)){e.objectIds=[];for(let n of this.objectIds)e.objectIds.push(n)}if(e.keyword=this.keyword,e.searchPhrase=this.searchPhrase,e.languageCode=this.languageCode,e.sort=this.sort,Array.isArray(this.sortInfos)){e.sortInfos=[];for(let n of this.sortInfos)e.sortInfos.push(n.toJSON())}return e.skip=this.skip,e.take=this.take,e}}class Do{totalCount;results;constructor(e){if(e)for(var n in e)e.hasOwnProperty(n)&&(this[n]=e[n])}init(e){if(e&&(this.totalCount=e.totalCount,Array.isArray(e.results))){this.results=[];for(let n of e.results)this.results.push(Wr.fromJS(n))}}static fromJS(e){e=typeof e=="object"?e:{};let n=new Do;return n.init(e),n}toJSON(e){if(e=typeof e=="object"?e:{},e.totalCount=this.totalCount,Array.isArray(this.results)){e.results=[];for(let n of this.results)e.results.push(n.toJSON())}return e}}class dc{ids;onlyNew;startDate;endDate;responseGroup;objectType;objectTypes;objectIds;keyword;searchPhrase;languageCode;sort;sortInfos;skip;take;constructor(e){if(e)for(var n in e)e.hasOwnProperty(n)&&(this[n]=e[n])}init(e){if(e){if(Array.isArray(e.ids)){this.ids=[];for(let n of e.ids)this.ids.push(n)}if(this.onlyNew=e.onlyNew,this.startDate=e.startDate?new Date(e.startDate.toString()):void 0,this.endDate=e.endDate?new Date(e.endDate.toString()):void 0,this.responseGroup=e.responseGroup,this.objectType=e.objectType,Array.isArray(e.objectTypes)){this.objectTypes=[];for(let n of e.objectTypes)this.objectTypes.push(n)}if(Array.isArray(e.objectIds)){this.objectIds=[];for(let n of e.objectIds)this.objectIds.push(n)}if(this.keyword=e.keyword,this.searchPhrase=e.searchPhrase,this.languageCode=e.languageCode,this.sort=e.sort,Array.isArray(e.sortInfos)){this.sortInfos=[];for(let n of e.sortInfos)this.sortInfos.push(on.fromJS(n))}this.skip=e.skip,this.take=e.take}}static fromJS(e){e=typeof e=="object"?e:{};let n=new dc;return n.init(e),n}toJSON(e){if(e=typeof e=="object"?e:{},Array.isArray(this.ids)){e.ids=[];for(let n of this.ids)e.ids.push(n)}if(e.onlyNew=this.onlyNew,e.startDate=this.startDate?this.startDate.toISOString():void 0,e.endDate=this.endDate?this.endDate.toISOString():void 0,e.responseGroup=this.responseGroup,e.objectType=this.objectType,Array.isArray(this.objectTypes)){e.objectTypes=[];for(let n of this.objectTypes)e.objectTypes.push(n)}if(Array.isArray(this.objectIds)){e.objectIds=[];for(let n of this.objectIds)e.objectIds.push(n)}if(e.keyword=this.keyword,e.searchPhrase=this.searchPhrase,e.languageCode=this.languageCode,e.sort=this.sort,Array.isArray(this.sortInfos)){e.sortInfos=[];for(let n of this.sortInfos)e.sortInfos.push(n.toJSON())}return e.skip=this.skip,e.take=this.take,e}}class Po{serverId;creator;created;isNew;notifyType;description;title;repeatCount;id;constructor(e){if(e)for(var n in e)e.hasOwnProperty(n)&&(this[n]=e[n])}init(e){e&&(this.serverId=e.serverId,this.creator=e.creator,this.created=e.created?new Date(e.created.toString()):void 0,this.isNew=e.isNew,this.notifyType=e.notifyType,this.description=e.description,this.title=e.title,this.repeatCount=e.repeatCount,this.id=e.id)}static fromJS(e){e=typeof e=="object"?e:{};let n=new Po;return n.init(e),n}toJSON(e){return e=typeof e=="object"?e:{},e.serverId=this.serverId,e.creator=this.creator,e.created=this.created?this.created.toISOString():void 0,e.isNew=this.isNew,e.notifyType=this.notifyType,e.description=this.description,e.title=this.title,e.repeatCount=this.repeatCount,e.id=this.id,e}}class Ni{totalCount;newCount;notifyEvents;constructor(e){if(e)for(var n in e)e.hasOwnProperty(n)&&(this[n]=e[n])}init(e){if(e&&(this.totalCount=e.totalCount,this.newCount=e.newCount,Array.isArray(e.notifyEvents))){this.notifyEvents=[];for(let n of e.notifyEvents)this.notifyEvents.push(Po.fromJS(n))}}static fromJS(e){e=typeof e=="object"?e:{};let n=new Ni;return n.init(e),n}toJSON(e){if(e=typeof e=="object"?e:{},e.totalCount=this.totalCount,e.newCount=this.newCount,Array.isArray(this.notifyEvents)){e.notifyEvents=[];for(let n of this.notifyEvents)e.notifyEvents.push(n.toJSON())}return e}}class fc{userName;password;rememberMe;constructor(e){if(e)for(var n in e)e.hasOwnProperty(n)&&(this[n]=e[n])}init(e){e&&(this.userName=e.userName,this.password=e.password,this.rememberMe=e.rememberMe)}static fromJS(e){e=typeof e=="object"?e:{};let n=new fc;return n.init(e),n}toJSON(e){return e=typeof e=="object"?e:{},e.userName=this.userName,e.password=this.password,e.rememberMe=this.rememberMe,e}}class Bo{succeeded;isLockedOut;isNotAllowed;requiresTwoFactor;constructor(e){if(e)for(var n in e)e.hasOwnProperty(n)&&(this[n]=e[n])}init(e){e&&(this.succeeded=e.succeeded,this.isLockedOut=e.isLockedOut,this.isNotAllowed=e.isNotAllowed,this.requiresTwoFactor=e.requiresTwoFactor)}static fromJS(e){e=typeof e=="object"?e:{};let n=new Bo;return n.init(e),n}toJSON(e){return e=typeof e=="object"?e:{},e.succeeded=this.succeeded,e.isLockedOut=this.isLockedOut,e.isNotAllowed=this.isNotAllowed,e.requiresTwoFactor=this.requiresTwoFactor,e}}class Fo{permissions;userName;isAdministrator;passwordExpired;daysTillPasswordExpiry;id;constructor(e){if(e)for(var n in e)e.hasOwnProperty(n)&&(this[n]=e[n])}init(e){if(e){if(Array.isArray(e.permissions)){this.permissions=[];for(let n of e.permissions)this.permissions.push(n)}this.userName=e.userName,this.isAdministrator=e.isAdministrator,this.passwordExpired=e.passwordExpired,this.daysTillPasswordExpiry=e.daysTillPasswordExpiry,this.id=e.id}}static fromJS(e){e=typeof e=="object"?e:{};let n=new Fo;return n.init(e),n}toJSON(e){if(e=typeof e=="object"?e:{},Array.isArray(this.permissions)){e.permissions=[];for(let n of this.permissions)e.permissions.push(n)}return e.userName=this.userName,e.isAdministrator=this.isAdministrator,e.passwordExpired=this.passwordExpired,e.daysTillPasswordExpiry=this.daysTillPasswordExpiry,e.id=this.id,e}}class Ii{authenticationType;isAuthenticated;actor;bootstrapContext;claims;label;name;nameClaimType;roleClaimType;constructor(e){if(e)for(var n in e)e.hasOwnProperty(n)&&(this[n]=e[n])}init(e){if(e){if(this.authenticationType=e.authenticationType,this.isAuthenticated=e.isAuthenticated,this.actor=e.actor?Ii.fromJS(e.actor):void 0,this.bootstrapContext=e.bootstrapContext,Array.isArray(e.claims)){this.claims=[];for(let n of e.claims)this.claims.push(ss.fromJS(n))}this.label=e.label,this.name=e.name,this.nameClaimType=e.nameClaimType,this.roleClaimType=e.roleClaimType}}static fromJS(e){e=typeof e=="object"?e:{};let n=new Ii;return n.init(e),n}toJSON(e){if(e=typeof e=="object"?e:{},e.authenticationType=this.authenticationType,e.isAuthenticated=this.isAuthenticated,e.actor=this.actor?this.actor.toJSON():void 0,e.bootstrapContext=this.bootstrapContext,Array.isArray(this.claims)){e.claims=[];for(let n of this.claims)e.claims.push(n.toJSON())}return e.label=this.label,e.name=this.name,e.nameClaimType=this.nameClaimType,e.roleClaimType=this.roleClaimType,e}}class ss{issuer;originalIssuer;properties;subject;type;value;valueType;constructor(e){if(e)for(var n in e)e.hasOwnProperty(n)&&(this[n]=e[n])}init(e){if(e){if(this.issuer=e.issuer,this.originalIssuer=e.originalIssuer,e.properties){this.properties={};for(let n in e.properties)e.properties.hasOwnProperty(n)&&(this.properties[n]=e.properties[n])}this.subject=e.subject?Ii.fromJS(e.subject):void 0,this.type=e.type,this.value=e.value,this.valueType=e.valueType}}static fromJS(e){e=typeof e=="object"?e:{};let n=new ss;return n.init(e),n}toJSON(e){if(e=typeof e=="object"?e:{},e.issuer=this.issuer,e.originalIssuer=this.originalIssuer,this.properties){e.properties={};for(let n in this.properties)this.properties.hasOwnProperty(n)&&(e.properties[n]=this.properties[n])}return e.subject=this.subject?this.subject.toJSON():void 0,e.type=this.type,e.value=this.value,e.valueType=this.valueType,e}}class Di{type;label;scope;constructor(e){if(e)for(var n in e)e.hasOwnProperty(n)&&(this[n]=e[n])}init(e){e&&(this.type=e.type,this.label=e.label,this.scope=e.scope)}static fromJS(e){e=typeof e=="object"?e:{};let n=new Di;return n.init(e),n}toJSON(e){return e=typeof e=="object"?e:{},e.type=this.type,e.label=this.label,e.scope=this.scope,e}}class os{id;name;moduleId;groupName;assignedScopes;availableScopes;constructor(e){if(e)for(var n in e)e.hasOwnProperty(n)&&(this[n]=e[n])}init(e){if(e){if(this.id=e.id,this.name=e.name,this.moduleId=e.moduleId,this.groupName=e.groupName,Array.isArray(e.assignedScopes)){this.assignedScopes=[];for(let n of e.assignedScopes)this.assignedScopes.push(Di.fromJS(n))}if(Array.isArray(e.availableScopes)){this.availableScopes=[];for(let n of e.availableScopes)this.availableScopes.push(Di.fromJS(n))}}}static fromJS(e){e=typeof e=="object"?e:{};let n=new os;return n.init(e),n}toJSON(e){if(e=typeof e=="object"?e:{},e.id=this.id,e.name=this.name,e.moduleId=this.moduleId,e.groupName=this.groupName,Array.isArray(this.assignedScopes)){e.assignedScopes=[];for(let n of this.assignedScopes)e.assignedScopes.push(n.toJSON())}if(Array.isArray(this.availableScopes)){e.availableScopes=[];for(let n of this.availableScopes)e.availableScopes.push(n.toJSON())}return e}}class mc{responseGroup;objectType;objectTypes;objectIds;keyword;searchPhrase;languageCode;sort;sortInfos;skip;take;constructor(e){if(e)for(var n in e)e.hasOwnProperty(n)&&(this[n]=e[n])}init(e){if(e){if(this.responseGroup=e.responseGroup,this.objectType=e.objectType,Array.isArray(e.objectTypes)){this.objectTypes=[];for(let n of e.objectTypes)this.objectTypes.push(n)}if(Array.isArray(e.objectIds)){this.objectIds=[];for(let n of e.objectIds)this.objectIds.push(n)}if(this.keyword=e.keyword,this.searchPhrase=e.searchPhrase,this.languageCode=e.languageCode,this.sort=e.sort,Array.isArray(e.sortInfos)){this.sortInfos=[];for(let n of e.sortInfos)this.sortInfos.push(on.fromJS(n))}this.skip=e.skip,this.take=e.take}}static fromJS(e){e=typeof e=="object"?e:{};let n=new mc;return n.init(e),n}toJSON(e){if(e=typeof e=="object"?e:{},e.responseGroup=this.responseGroup,e.objectType=this.objectType,Array.isArray(this.objectTypes)){e.objectTypes=[];for(let n of this.objectTypes)e.objectTypes.push(n)}if(Array.isArray(this.objectIds)){e.objectIds=[];for(let n of this.objectIds)e.objectIds.push(n)}if(e.keyword=this.keyword,e.searchPhrase=this.searchPhrase,e.languageCode=this.languageCode,e.sort=this.sort,Array.isArray(this.sortInfos)){e.sortInfos=[];for(let n of this.sortInfos)e.sortInfos.push(n.toJSON())}return e.skip=this.skip,e.take=this.take,e}}class pc{userId;roleId;constructor(e){if(e)for(var n in e)e.hasOwnProperty(n)&&(this[n]=e[n])}init(e){e&&(this.userId=e.userId,this.roleId=e.roleId)}static fromJS(e){e=typeof e=="object"?e:{};let n=new pc;return n.init(e),n}toJSON(e){return e=typeof e=="object"?e:{},e.userId=this.userId,e.roleId=this.roleId,e}}class hr{description;permissions;id;name;normalizedName;concurrencyStamp;constructor(e){if(e)for(var n in e)e.hasOwnProperty(n)&&(this[n]=e[n])}init(e){if(e){if(this.description=e.description,Array.isArray(e.permissions)){this.permissions=[];for(let n of e.permissions)this.permissions.push(os.fromJS(n))}this.id=e.id,this.name=e.name,this.normalizedName=e.normalizedName,this.concurrencyStamp=e.concurrencyStamp}}static fromJS(e){e=typeof e=="object"?e:{};let n=new hr;return n.init(e),n}toJSON(e){if(e=typeof e=="object"?e:{},e.description=this.description,Array.isArray(this.permissions)){e.permissions=[];for(let n of this.permissions)e.permissions.push(n.toJSON())}return e.id=this.id,e.name=this.name,e.normalizedName=this.normalizedName,e.concurrencyStamp=this.concurrencyStamp,e}}class Vo{roles;totalCount;results;constructor(e){if(e)for(var n in e)e.hasOwnProperty(n)&&(this[n]=e[n])}init(e){if(e){if(Array.isArray(e.roles)){this.roles=[];for(let n of e.roles)this.roles.push(hr.fromJS(n))}if(this.totalCount=e.totalCount,Array.isArray(e.results)){this.results=[];for(let n of e.results)this.results.push(hr.fromJS(n))}}}static fromJS(e){e=typeof e=="object"?e:{};let n=new Vo;return n.init(e),n}toJSON(e){if(e=typeof e=="object"?e:{},Array.isArray(this.roles)){e.roles=[];for(let n of this.roles)e.roles.push(n.toJSON())}if(e.totalCount=this.totalCount,Array.isArray(this.results)){e.results=[];for(let n of this.results)e.results.push(n.toJSON())}return e}}class Lt{succeeded;errors;constructor(e){if(e)for(var n in e)e.hasOwnProperty(n)&&(this[n]=e[n])}init(e){if(e&&(this.succeeded=e.succeeded,Array.isArray(e.errors))){this.errors=[];for(let n of e.errors)this.errors.push(n)}}static fromJS(e){e=typeof e=="object"?e:{};let n=new Lt;return n.init(e),n}toJSON(e){if(e=typeof e=="object"?e:{},e.succeeded=this.succeeded,Array.isArray(this.errors)){e.errors=[];for(let n of this.errors)e.errors.push(n)}return e}}class gc{memberId;memberIds;modifiedSinceDate;roles;responseGroup;objectType;objectTypes;objectIds;keyword;searchPhrase;languageCode;sort;sortInfos;skip;take;constructor(e){if(e)for(var n in e)e.hasOwnProperty(n)&&(this[n]=e[n])}init(e){if(e){if(this.memberId=e.memberId,Array.isArray(e.memberIds)){this.memberIds=[];for(let n of e.memberIds)this.memberIds.push(n)}if(this.modifiedSinceDate=e.modifiedSinceDate?new Date(e.modifiedSinceDate.toString()):void 0,Array.isArray(e.roles)){this.roles=[];for(let n of e.roles)this.roles.push(n)}if(this.responseGroup=e.responseGroup,this.objectType=e.objectType,Array.isArray(e.objectTypes)){this.objectTypes=[];for(let n of e.objectTypes)this.objectTypes.push(n)}if(Array.isArray(e.objectIds)){this.objectIds=[];for(let n of e.objectIds)this.objectIds.push(n)}if(this.keyword=e.keyword,this.searchPhrase=e.searchPhrase,this.languageCode=e.languageCode,this.sort=e.sort,Array.isArray(e.sortInfos)){this.sortInfos=[];for(let n of e.sortInfos)this.sortInfos.push(on.fromJS(n))}this.skip=e.skip,this.take=e.take}}static fromJS(e){e=typeof e=="object"?e:{};let n=new gc;return n.init(e),n}toJSON(e){if(e=typeof e=="object"?e:{},e.memberId=this.memberId,Array.isArray(this.memberIds)){e.memberIds=[];for(let n of this.memberIds)e.memberIds.push(n)}if(e.modifiedSinceDate=this.modifiedSinceDate?this.modifiedSinceDate.toISOString():void 0,Array.isArray(this.roles)){e.roles=[];for(let n of this.roles)e.roles.push(n)}if(e.responseGroup=this.responseGroup,e.objectType=this.objectType,Array.isArray(this.objectTypes)){e.objectTypes=[];for(let n of this.objectTypes)e.objectTypes.push(n)}if(Array.isArray(this.objectIds)){e.objectIds=[];for(let n of this.objectIds)e.objectIds.push(n)}if(e.keyword=this.keyword,e.searchPhrase=this.searchPhrase,e.languageCode=this.languageCode,e.sort=this.sort,Array.isArray(this.sortInfos)){e.sortInfos=[];for(let n of this.sortInfos)e.sortInfos.push(n.toJSON())}return e.skip=this.skip,e.take=this.take,e}}exports.AccountState=void 0;(function(t){t.PendingApproval="PendingApproval",t.Approved="Approved",t.Rejected="Rejected"})(exports.AccountState||(exports.AccountState={}));class Uo{loginProvider;providerKey;constructor(e){if(e)for(var n in e)e.hasOwnProperty(n)&&(this[n]=e[n])}init(e){e&&(this.loginProvider=e.loginProvider,this.providerKey=e.providerKey)}static fromJS(e){e=typeof e=="object"?e:{};let n=new Uo;return n.init(e),n}toJSON(e){return e=typeof e=="object"?e:{},e.loginProvider=this.loginProvider,e.providerKey=this.providerKey,e}}class gn{storeId;memberId;isAdministrator;photoUrl;userType;status;password;createdDate;modifiedDate;createdBy;modifiedBy;roles;lockoutEndDateUtc;userState;permissions;logins;passwordExpired;lastPasswordChangedDate;lastPasswordChangeRequestDate;id;userName;normalizedUserName;email;normalizedEmail;emailConfirmed;passwordHash;securityStamp;concurrencyStamp;phoneNumber;phoneNumberConfirmed;twoFactorEnabled;lockoutEnd;lockoutEnabled;accessFailedCount;constructor(e){if(e)for(var n in e)e.hasOwnProperty(n)&&(this[n]=e[n])}init(e){if(e){if(this.storeId=e.storeId,this.memberId=e.memberId,this.isAdministrator=e.isAdministrator,this.photoUrl=e.photoUrl,this.userType=e.userType,this.status=e.status,this.password=e.password,this.createdDate=e.createdDate?new Date(e.createdDate.toString()):void 0,this.modifiedDate=e.modifiedDate?new Date(e.modifiedDate.toString()):void 0,this.createdBy=e.createdBy,this.modifiedBy=e.modifiedBy,Array.isArray(e.roles)){this.roles=[];for(let n of e.roles)this.roles.push(hr.fromJS(n))}if(this.lockoutEndDateUtc=e.lockoutEndDateUtc?new Date(e.lockoutEndDateUtc.toString()):void 0,this.userState=e.userState,Array.isArray(e.permissions)){this.permissions=[];for(let n of e.permissions)this.permissions.push(n)}if(Array.isArray(e.logins)){this.logins=[];for(let n of e.logins)this.logins.push(Uo.fromJS(n))}this.passwordExpired=e.passwordExpired,this.lastPasswordChangedDate=e.lastPasswordChangedDate?new Date(e.lastPasswordChangedDate.toString()):void 0,this.lastPasswordChangeRequestDate=e.lastPasswordChangeRequestDate?new Date(e.lastPasswordChangeRequestDate.toString()):void 0,this.id=e.id,this.userName=e.userName,this.normalizedUserName=e.normalizedUserName,this.email=e.email,this.normalizedEmail=e.normalizedEmail,this.emailConfirmed=e.emailConfirmed,this.passwordHash=e.passwordHash,this.securityStamp=e.securityStamp,this.concurrencyStamp=e.concurrencyStamp,this.phoneNumber=e.phoneNumber,this.phoneNumberConfirmed=e.phoneNumberConfirmed,this.twoFactorEnabled=e.twoFactorEnabled,this.lockoutEnd=e.lockoutEnd?new Date(e.lockoutEnd.toString()):void 0,this.lockoutEnabled=e.lockoutEnabled,this.accessFailedCount=e.accessFailedCount}}static fromJS(e){e=typeof e=="object"?e:{};let n=new gn;return n.init(e),n}toJSON(e){if(e=typeof e=="object"?e:{},e.storeId=this.storeId,e.memberId=this.memberId,e.isAdministrator=this.isAdministrator,e.photoUrl=this.photoUrl,e.userType=this.userType,e.status=this.status,e.password=this.password,e.createdDate=this.createdDate?this.createdDate.toISOString():void 0,e.modifiedDate=this.modifiedDate?this.modifiedDate.toISOString():void 0,e.createdBy=this.createdBy,e.modifiedBy=this.modifiedBy,Array.isArray(this.roles)){e.roles=[];for(let n of this.roles)e.roles.push(n.toJSON())}if(e.lockoutEndDateUtc=this.lockoutEndDateUtc?this.lockoutEndDateUtc.toISOString():void 0,e.userState=this.userState,Array.isArray(this.permissions)){e.permissions=[];for(let n of this.permissions)e.permissions.push(n)}if(Array.isArray(this.logins)){e.logins=[];for(let n of this.logins)e.logins.push(n.toJSON())}return e.passwordExpired=this.passwordExpired,e.lastPasswordChangedDate=this.lastPasswordChangedDate?this.lastPasswordChangedDate.toISOString():void 0,e.lastPasswordChangeRequestDate=this.lastPasswordChangeRequestDate?this.lastPasswordChangeRequestDate.toISOString():void 0,e.id=this.id,e.userName=this.userName,e.normalizedUserName=this.normalizedUserName,e.email=this.email,e.normalizedEmail=this.normalizedEmail,e.emailConfirmed=this.emailConfirmed,e.passwordHash=this.passwordHash,e.securityStamp=this.securityStamp,e.concurrencyStamp=this.concurrencyStamp,e.phoneNumber=this.phoneNumber,e.phoneNumberConfirmed=this.phoneNumberConfirmed,e.twoFactorEnabled=this.twoFactorEnabled,e.lockoutEnd=this.lockoutEnd?this.lockoutEnd.toISOString():void 0,e.lockoutEnabled=this.lockoutEnabled,e.accessFailedCount=this.accessFailedCount,e}}class Wo{users;totalCount;results;constructor(e){if(e)for(var n in e)e.hasOwnProperty(n)&&(this[n]=e[n])}init(e){if(e){if(Array.isArray(e.users)){this.users=[];for(let n of e.users)this.users.push(gn.fromJS(n))}if(this.totalCount=e.totalCount,Array.isArray(e.results)){this.results=[];for(let n of e.results)this.results.push(gn.fromJS(n))}}}static fromJS(e){e=typeof e=="object"?e:{};let n=new Wo;return n.init(e),n}toJSON(e){if(e=typeof e=="object"?e:{},Array.isArray(this.users)){e.users=[];for(let n of this.users)e.users.push(n.toJSON())}if(e.totalCount=this.totalCount,Array.isArray(this.results)){e.results=[];for(let n of this.results)e.results.push(n.toJSON())}return e}}class vc{userName;oldPassword;newPassword;constructor(e){if(e)for(var n in e)e.hasOwnProperty(n)&&(this[n]=e[n])}init(e){e&&(this.userName=e.userName,this.oldPassword=e.oldPassword,this.newPassword=e.newPassword)}static fromJS(e){e=typeof e=="object"?e:{};let n=new vc;return n.init(e),n}toJSON(e){return e=typeof e=="object"?e:{},e.userName=this.userName,e.oldPassword=this.oldPassword,e.newPassword=this.newPassword,e}}class wc{token;newPassword;forcePasswordChangeOnNextSignIn;constructor(e){if(e)for(var n in e)e.hasOwnProperty(n)&&(this[n]=e[n])}init(e){e&&(this.token=e.token,this.newPassword=e.newPassword,this.forcePasswordChangeOnNextSignIn=e.forcePasswordChangeOnNextSignIn)}static fromJS(e){e=typeof e=="object"?e:{};let n=new wc;return n.init(e),n}toJSON(e){return e=typeof e=="object"?e:{},e.token=this.token,e.newPassword=this.newPassword,e.forcePasswordChangeOnNextSignIn=this.forcePasswordChangeOnNextSignIn,e}}class yc{token;constructor(e){if(e)for(var n in e)e.hasOwnProperty(n)&&(this[n]=e[n])}init(e){e&&(this.token=e.token)}static fromJS(e){e=typeof e=="object"?e:{};let n=new yc;return n.init(e),n}toJSON(e){return e=typeof e=="object"?e:{},e.token=this.token,e}}class Ho{code;description;constructor(e){if(e)for(var n in e)e.hasOwnProperty(n)&&(this[n]=e[n])}init(e){e&&(this.code=e.code,this.description=e.description)}static fromJS(e){e=typeof e=="object"?e:{};let n=new Ho;return n.init(e),n}toJSON(e){return e=typeof e=="object"?e:{},e.code=this.code,e.description=this.description,e}}class Pi{succeeded;errors;constructor(e){if(e)for(var n in e)e.hasOwnProperty(n)&&(this[n]=e[n])}init(e){if(e&&(this.succeeded=e.succeeded,Array.isArray(e.errors))){this.errors=[];for(let n of e.errors)this.errors.push(Ho.fromJS(n))}}static fromJS(e){e=typeof e=="object"?e:{};let n=new Pi;return n.init(e),n}toJSON(e){if(e=typeof e=="object"?e:{},e.succeeded=this.succeeded,Array.isArray(this.errors)){e.errors=[];for(let n of this.errors)e.errors.push(n.toJSON())}return e}}class jo{locked;constructor(e){if(e)for(var n in e)e.hasOwnProperty(n)&&(this[n]=e[n])}init(e){e&&(this.locked=e.locked)}static fromJS(e){e=typeof e=="object"?e:{};let n=new jo;return n.init(e),n}toJSON(e){return e=typeof e=="object"?e:{},e.locked=this.locked,e}}class nr{apiKey;userName;userId;isActive;createdDate;modifiedDate;createdBy;modifiedBy;id;constructor(e){if(e)for(var n in e)e.hasOwnProperty(n)&&(this[n]=e[n])}init(e){e&&(this.apiKey=e.apiKey,this.userName=e.userName,this.userId=e.userId,this.isActive=e.isActive,this.createdDate=e.createdDate?new Date(e.createdDate.toString()):void 0,this.modifiedDate=e.modifiedDate?new Date(e.modifiedDate.toString()):void 0,this.createdBy=e.createdBy,this.modifiedBy=e.modifiedBy,this.id=e.id)}static fromJS(e){e=typeof e=="object"?e:{};let n=new nr;return n.init(e),n}toJSON(e){return e=typeof e=="object"?e:{},e.apiKey=this.apiKey,e.userName=this.userName,e.userId=this.userId,e.isActive=this.isActive,e.createdDate=this.createdDate?this.createdDate.toISOString():void 0,e.modifiedDate=this.modifiedDate?this.modifiedDate.toISOString():void 0,e.createdBy=this.createdBy,e.modifiedBy=this.modifiedBy,e.id=this.id,e}}exports.SettingValueType=void 0;(function(t){t.ShortText="ShortText",t.LongText="LongText",t.Integer="Integer",t.Decimal="Decimal",t.DateTime="DateTime",t.Boolean="Boolean",t.SecureString="SecureString",t.Json="Json",t.PositiveInteger="PositiveInteger"})(exports.SettingValueType||(exports.SettingValueType={}));class rr{itHasValues;objectId;objectType;isReadOnly;value;id;restartRequired;moduleId;groupName;name;displayName;isRequired;isHidden;valueType;allowedValues;defaultValue;isDictionary;constructor(e){if(e)for(var n in e)e.hasOwnProperty(n)&&(this[n]=e[n])}init(e){if(e){if(this.itHasValues=e.itHasValues,this.objectId=e.objectId,this.objectType=e.objectType,this.isReadOnly=e.isReadOnly,this.value=e.value,this.id=e.id,this.restartRequired=e.restartRequired,this.moduleId=e.moduleId,this.groupName=e.groupName,this.name=e.name,this.displayName=e.displayName,this.isRequired=e.isRequired,this.isHidden=e.isHidden,this.valueType=e.valueType,Array.isArray(e.allowedValues)){this.allowedValues=[];for(let n of e.allowedValues)this.allowedValues.push(n)}this.defaultValue=e.defaultValue,this.isDictionary=e.isDictionary}}static fromJS(e){e=typeof e=="object"?e:{};let n=new rr;return n.init(e),n}toJSON(e){if(e=typeof e=="object"?e:{},e.itHasValues=this.itHasValues,e.objectId=this.objectId,e.objectType=this.objectType,e.isReadOnly=this.isReadOnly,e.value=this.value,e.id=this.id,e.restartRequired=this.restartRequired,e.moduleId=this.moduleId,e.groupName=this.groupName,e.name=this.name,e.displayName=this.displayName,e.isRequired=this.isRequired,e.isHidden=this.isHidden,e.valueType=this.valueType,Array.isArray(this.allowedValues)){e.allowedValues=[];for(let n of this.allowedValues)e.allowedValues.push(n)}return e.defaultValue=this.defaultValue,e.isDictionary=this.isDictionary,e}}class bc{grant_type;scope;username;password;constructor(e){if(e)for(var n in e)e.hasOwnProperty(n)&&(this[n]=e[n])}init(e){e&&(this.grant_type=e.grant_type,this.scope=e.scope,this.username=e.username,this.password=e.password)}static fromJS(e){e=typeof e=="object"?e:{};let n=new bc;return n.init(e),n}toJSON(e){return e=typeof e=="object"?e:{},e.grant_type=this.grant_type,e.scope=this.scope,e.username=this.username,e.password=this.password,e}}exports.SortInfoSortDirection=void 0;(function(t){t.Ascending="Ascending",t.Descending="Descending"})(exports.SortInfoSortDirection||(exports.SortInfoSortDirection={}));exports.OperationLogOperationType=void 0;(function(t){t.Detached="Detached",t.Unchanged="Unchanged",t.Added="Added",t.Deleted="Deleted",t.Modified="Modified"})(exports.OperationLogOperationType||(exports.OperationLogOperationType={}));exports.DynamicPropertyValueType2=void 0;(function(t){t.Undefined="Undefined",t.ShortText="ShortText",t.LongText="LongText",t.Integer="Integer",t.Decimal="Decimal",t.DateTime="DateTime",t.Boolean="Boolean",t.Html="Html",t.Image="Image"})(exports.DynamicPropertyValueType2||(exports.DynamicPropertyValueType2={}));exports.DynamicPropertyObjectValueValueType=void 0;(function(t){t.Undefined="Undefined",t.ShortText="ShortText",t.LongText="LongText",t.Integer="Integer",t.Decimal="Decimal",t.DateTime="DateTime",t.Boolean="Boolean",t.Html="Html",t.Image="Image"})(exports.DynamicPropertyObjectValueValueType||(exports.DynamicPropertyObjectValueValueType={}));exports.DynamicObjectPropertyValueType=void 0;(function(t){t.Undefined="Undefined",t.ShortText="ShortText",t.LongText="LongText",t.Integer="Integer",t.Decimal="Decimal",t.DateTime="DateTime",t.Boolean="Boolean",t.Html="Html",t.Image="Image"})(exports.DynamicObjectPropertyValueType||(exports.DynamicObjectPropertyValueType={}));exports.ProgressMessageLevel2=void 0;(function(t){t.Info="Info",t.Warning="Warning",t.Debug="Debug",t.Error="Error"})(exports.ProgressMessageLevel2||(exports.ProgressMessageLevel2={}));exports.JsonElementValueKind=void 0;(function(t){t.Undefined="Undefined",t.Object="Object",t.Array="Array",t.String="String",t.Number="Number",t.True="True",t.False="False",t.Null="Null"})(exports.JsonElementValueKind||(exports.JsonElementValueKind={}));exports.ApplicationUserUserState=void 0;(function(t){t.PendingApproval="PendingApproval",t.Approved="Approved",t.Rejected="Rejected"})(exports.ApplicationUserUserState||(exports.ApplicationUserUserState={}));exports.ObjectSettingEntryValueType=void 0;(function(t){t.ShortText="ShortText",t.LongText="LongText",t.Integer="Integer",t.Decimal="Decimal",t.DateTime="DateTime",t.Boolean="Boolean",t.SecureString="SecureString",t.Json="Json",t.PositiveInteger="PositiveInteger"})(exports.ObjectSettingEntryValueType||(exports.ObjectSettingEntryValueType={}));class Sf extends Error{message;status;response;headers;result;constructor(e,n,r,i,s){super(),this.message=e,this.status=n,this.response=r,this.headers=i,this.result=s}isApiException=!0;static isApiException(e){return e.isApiException===!0}}function F(t,e,n,r,i){throw i??new Sf(t,e,n,r,null)}const Xu="ls.authenticationData",Qr=l.ref(),Vt=l.ref(!1),ot=l.ref(),qu=new s0({accessTokenUri:"/connect/token",scopes:["offline_access"]}),br=new yf,zr=()=>{async function t(u,f){let p=!1;try{Vt.value=!0,p=await br.validatePasswordResetToken(u,{token:f})}catch{}finally{Vt.value=!1}return p}async function e(u){return br.validatePassword(u)}async function n(u,f,p){return br.resetPasswordByToken(u,{newPassword:f,token:p})}async function r(u,f){console.debug("[@vc-shell/framework#useUser:signIn] - Entry point");let p;try{Vt.value=!0,p=await qu.owner.getToken(u,f)}catch(g){return{succeeded:!1,error:g}}finally{Vt.value=!1}return p&&(ot.value={accessToken:p.accessToken,refreshToken:p.refreshToken,expiresAt:m(Number(p.data.expires_in)),userName:u},console.log("[userUsers]: an access token has been obtained successfully",ot.value),h(ot.value),await s()),{succeeded:!0}}async function i(){console.debug("[@vc-shell/framework#useUser:signOut] - Entry point"),Qr.value=void 0,ot.value=void 0,h({})}async function s(){console.debug("[@vc-shell/framework#useUser:loadUser] - Entry point");const u=await d();if(u){br.setAuthToken(u);try{Vt.value=!0,Qr.value=await br.getCurrentUser(),console.log("[userUsers]: an user details has been loaded",Qr.value)}catch(f){console.dir(f)}finally{Vt.value=!1}}return{...Qr.value}}async function d(){if(console.debug("[@vc-shell/framework#useUser:getAccessToken] - Entry point"),ot.value||(ot.value=c()),ot.value&&Date.now()>=(ot.value.expiresAt??0)){const u=qu.createToken(ot.value.accessToken??ot.value.token??"",ot.value.refreshToken??"",{});console.log("[userUsers]: an access token is expired, using refresh token to receive a new");try{const f=await u.refresh();f&&(ot.value={...ot.value,accessToken:f.accessToken,token:f.accessToken,refreshToken:f.refreshToken,expiresAt:m(Number(f.data.expires_in))},h(ot.value))}catch(f){console.log("[userUsers]: getAccessToken() returns error",f)}}return ot.value?.accessToken??ot.value?.token}function h(u){localStorage.setItem(Xu,JSON.stringify({...u||{}}))}function c(){return JSON.parse(localStorage.getItem(Xu)||"{}")}function m(u){return Date.now()+u*1e3}async function a(u){try{return Vt.value=!0,await br.requestPasswordReset(u),{succeeded:!0}}catch(f){return{succeeded:!1,error:f}}finally{Vt.value=!1}}async function o(u,f){const p=await d();let g;if(p)try{Vt.value=!0;const v=await fetch("/api/platform/security/currentuser/changepassword",{method:"POST",headers:{"Content-Type":"application/json-patch+json",Accept:"text/plain",authorization:`Bearer ${p}`},body:JSON.stringify({oldPassword:u,newPassword:f})});v.status!==500&&(g=await v.text().then(y=>JSON.parse(y)))}catch(v){return{succeeded:!1,errors:[v.message]}}finally{Vt.value=!1}return g}return{user:l.computed(()=>Qr.value),loading:l.computed(()=>Vt.value),getAccessToken:d,loadUser:s,signIn:r,signOut:i,validateToken:t,validatePassword:e,resetPasswordByToken:n,requestPasswordReset:a,changeUserPassword:o}};var v0=typeof global=="object"&&global&&global.Object===Object&&global;const xf=v0;var w0=typeof self=="object"&&self&&self.Object===Object&&self,y0=xf||w0||Function("return this")();const Cn=y0;var b0=Cn.Symbol;const zn=b0;var kf=Object.prototype,S0=kf.hasOwnProperty,x0=kf.toString,Zr=zn?zn.toStringTag:void 0;function k0(t){var e=S0.call(t,Zr),n=t[Zr];try{t[Zr]=void 0;var r=!0}catch{}var i=x0.call(t);return r&&(e?t[Zr]=n:delete t[Zr]),i}var C0=Object.prototype,E0=C0.toString;function _0(t){return E0.call(t)}var T0="[object Null]",A0="[object Undefined]",Qu=zn?zn.toStringTag:void 0;function Gr(t){return t==null?t===void 0?A0:T0:Qu&&Qu in Object(t)?k0(t):_0(t)}function dr(t){return t!=null&&typeof t=="object"}var $0="[object Symbol]";function Bi(t){return typeof t=="symbol"||dr(t)&&Gr(t)==$0}function $r(t,e){for(var n=-1,r=t==null?0:t.length,i=Array(r);++n<r;)i[n]=e(t[n],n,t);return i}var O0=Array.isArray;const Dt=O0;var L0=1/0,Zu=zn?zn.prototype:void 0,eh=Zu?Zu.toString:void 0;function Cf(t){if(typeof t=="string")return t;if(Dt(t))return $r(t,Cf)+"";if(Bi(t))return eh?eh.call(t):"";var e=t+"";return e=="0"&&1/t==-L0?"-0":e}function Sc(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}function zo(t){return t}var M0="[object AsyncFunction]",R0="[object Function]",N0="[object GeneratorFunction]",I0="[object Proxy]";function Ef(t){if(!Sc(t))return!1;var e=Gr(t);return e==R0||e==N0||e==M0||e==I0}var D0=Cn["__core-js_shared__"];const va=D0;var th=function(){var t=/[^.]+$/.exec(va&&va.keys&&va.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();function P0(t){return!!th&&th in t}var B0=Function.prototype,F0=B0.toString;function pr(t){if(t!=null){try{return F0.call(t)}catch{}try{return t+""}catch{}}return""}var V0=/[\\^$.*+?()[\]{}|]/g,U0=/^\[object .+?Constructor\]$/,W0=Function.prototype,H0=Object.prototype,j0=W0.toString,z0=H0.hasOwnProperty,G0=RegExp("^"+j0.call(z0).replace(V0,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Y0(t){if(!Sc(t)||P0(t))return!1;var e=Ef(t)?G0:U0;return e.test(pr(t))}function J0(t,e){return t?.[e]}function gr(t,e){var n=J0(t,e);return Y0(n)?n:void 0}var K0=gr(Cn,"WeakMap");const al=K0;function X0(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}var q0=800,Q0=16,Z0=Date.now;function eS(t){var e=0,n=0;return function(){var r=Z0(),i=Q0-(r-n);if(n=r,i>0){if(++e>=q0)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}function tS(t){return function(){return t}}var nS=function(){try{var t=gr(Object,"defineProperty");return t({},"",{}),t}catch{}}();const nh=nS;var rS=nh?function(t,e){return nh(t,"toString",{configurable:!0,enumerable:!1,value:tS(e),writable:!0})}:zo;const iS=rS;var sS=eS(iS);const oS=sS;function aS(t,e,n,r){for(var i=t.length,s=n+(r?1:-1);r?s--:++s<i;)if(e(t[s],s,t))return s;return-1}function lS(t){return t!==t}function cS(t,e,n){for(var r=n-1,i=t.length;++r<i;)if(t[r]===e)return r;return-1}function uS(t,e,n){return e===e?cS(t,e,n):aS(t,lS,n)}function hS(t,e){var n=t==null?0:t.length;return!!n&&uS(t,e,0)>-1}var dS=9007199254740991,fS=/^(?:0|[1-9]\d*)$/;function xc(t,e){var n=typeof t;return e=e??dS,!!e&&(n=="number"||n!="symbol"&&fS.test(t))&&t>-1&&t%1==0&&t<e}function _f(t,e){return t===e||t!==t&&e!==e}var rh=Math.max;function mS(t,e,n){return e=rh(e===void 0?t.length-1:e,0),function(){for(var r=arguments,i=-1,s=rh(r.length-e,0),d=Array(s);++i<s;)d[i]=r[e+i];i=-1;for(var h=Array(e+1);++i<e;)h[i]=r[i];return h[e]=n(d),X0(t,this,h)}}function pS(t,e){return oS(mS(t,e,zo),t+"")}var gS=9007199254740991;function kc(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=gS}function Go(t){return t!=null&&kc(t.length)&&!Ef(t)}var vS=Object.prototype;function wS(t){var e=t&&t.constructor,n=typeof e=="function"&&e.prototype||vS;return t===n}function yS(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}var bS="[object Arguments]";function ih(t){return dr(t)&&Gr(t)==bS}var Tf=Object.prototype,SS=Tf.hasOwnProperty,xS=Tf.propertyIsEnumerable,kS=ih(function(){return arguments}())?ih:function(t){return dr(t)&&SS.call(t,"callee")&&!xS.call(t,"callee")};const Af=kS;function CS(){return!1}var $f=typeof exports=="object"&&exports&&!exports.nodeType&&exports,sh=$f&&typeof module=="object"&&module&&!module.nodeType&&module,ES=sh&&sh.exports===$f,oh=ES?Cn.Buffer:void 0,_S=oh?oh.isBuffer:void 0,TS=_S||CS;const ll=TS;var AS="[object Arguments]",$S="[object Array]",OS="[object Boolean]",LS="[object Date]",MS="[object Error]",RS="[object Function]",NS="[object Map]",IS="[object Number]",DS="[object Object]",PS="[object RegExp]",BS="[object Set]",FS="[object String]",VS="[object WeakMap]",US="[object ArrayBuffer]",WS="[object DataView]",HS="[object Float32Array]",jS="[object Float64Array]",zS="[object Int8Array]",GS="[object Int16Array]",YS="[object Int32Array]",JS="[object Uint8Array]",KS="[object Uint8ClampedArray]",XS="[object Uint16Array]",qS="[object Uint32Array]",Be={};Be[HS]=Be[jS]=Be[zS]=Be[GS]=Be[YS]=Be[JS]=Be[KS]=Be[XS]=Be[qS]=!0;Be[AS]=Be[$S]=Be[US]=Be[OS]=Be[WS]=Be[LS]=Be[MS]=Be[RS]=Be[NS]=Be[IS]=Be[DS]=Be[PS]=Be[BS]=Be[FS]=Be[VS]=!1;function QS(t){return dr(t)&&kc(t.length)&&!!Be[Gr(t)]}function Cc(t){return function(e){return t(e)}}var Of=typeof exports=="object"&&exports&&!exports.nodeType&&exports,fi=Of&&typeof module=="object"&&module&&!module.nodeType&&module,ZS=fi&&fi.exports===Of,wa=ZS&&xf.process,ex=function(){try{var t=fi&&fi.require&&fi.require("util").types;return t||wa&&wa.binding&&wa.binding("util")}catch{}}();const ah=ex;var lh=ah&&ah.isTypedArray,tx=lh?Cc(lh):QS;const Lf=tx;var nx=Object.prototype,rx=nx.hasOwnProperty;function ix(t,e){var n=Dt(t),r=!n&&Af(t),i=!n&&!r&&ll(t),s=!n&&!r&&!i&&Lf(t),d=n||r||i||s,h=d?yS(t.length,String):[],c=h.length;for(var m in t)(e||rx.call(t,m))&&!(d&&(m=="length"||i&&(m=="offset"||m=="parent")||s&&(m=="buffer"||m=="byteLength"||m=="byteOffset")||xc(m,c)))&&h.push(m);return h}function sx(t,e){return function(n){return t(e(n))}}var ox=sx(Object.keys,Object);const ax=ox;var lx=Object.prototype,cx=lx.hasOwnProperty;function ux(t){if(!wS(t))return ax(t);var e=[];for(var n in Object(t))cx.call(t,n)&&n!="constructor"&&e.push(n);return e}function Ec(t){return Go(t)?ix(t):ux(t)}var hx=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,dx=/^\w*$/;function _c(t,e){if(Dt(t))return!1;var n=typeof t;return n=="number"||n=="symbol"||n=="boolean"||t==null||Bi(t)?!0:dx.test(t)||!hx.test(t)||e!=null&&t in Object(e)}var fx=gr(Object,"create");const Fi=fx;function mx(){this.__data__=Fi?Fi(null):{},this.size=0}function px(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}var gx="__lodash_hash_undefined__",vx=Object.prototype,wx=vx.hasOwnProperty;function yx(t){var e=this.__data__;if(Fi){var n=e[t];return n===gx?void 0:n}return wx.call(e,t)?e[t]:void 0}var bx=Object.prototype,Sx=bx.hasOwnProperty;function xx(t){var e=this.__data__;return Fi?e[t]!==void 0:Sx.call(e,t)}var kx="__lodash_hash_undefined__";function Cx(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=Fi&&e===void 0?kx:e,this}function fr(t){var e=-1,n=t==null?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}fr.prototype.clear=mx;fr.prototype.delete=px;fr.prototype.get=yx;fr.prototype.has=xx;fr.prototype.set=Cx;function Ex(){this.__data__=[],this.size=0}function Yo(t,e){for(var n=t.length;n--;)if(_f(t[n][0],e))return n;return-1}var _x=Array.prototype,Tx=_x.splice;function Ax(t){var e=this.__data__,n=Yo(e,t);if(n<0)return!1;var r=e.length-1;return n==r?e.pop():Tx.call(e,n,1),--this.size,!0}function $x(t){var e=this.__data__,n=Yo(e,t);return n<0?void 0:e[n][1]}function Ox(t){return Yo(this.__data__,t)>-1}function Lx(t,e){var n=this.__data__,r=Yo(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this}function En(t){var e=-1,n=t==null?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}En.prototype.clear=Ex;En.prototype.delete=Ax;En.prototype.get=$x;En.prototype.has=Ox;En.prototype.set=Lx;var Mx=gr(Cn,"Map");const Vi=Mx;function Rx(){this.size=0,this.__data__={hash:new fr,map:new(Vi||En),string:new fr}}function Nx(t){var e=typeof t;return e=="string"||e=="number"||e=="symbol"||e=="boolean"?t!=="__proto__":t===null}function Jo(t,e){var n=t.__data__;return Nx(e)?n[typeof e=="string"?"string":"hash"]:n.map}function Ix(t){var e=Jo(this,t).delete(t);return this.size-=e?1:0,e}function Dx(t){return Jo(this,t).get(t)}function Px(t){return Jo(this,t).has(t)}function Bx(t,e){var n=Jo(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this}function _n(t){var e=-1,n=t==null?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}_n.prototype.clear=Rx;_n.prototype.delete=Ix;_n.prototype.get=Dx;_n.prototype.has=Px;_n.prototype.set=Bx;var Fx="Expected a function";function Tc(t,e){if(typeof t!="function"||e!=null&&typeof e!="function")throw new TypeError(Fx);var n=function(){var r=arguments,i=e?e.apply(this,r):r[0],s=n.cache;if(s.has(i))return s.get(i);var d=t.apply(this,r);return n.cache=s.set(i,d)||s,d};return n.cache=new(Tc.Cache||_n),n}Tc.Cache=_n;var Vx=500;function Ux(t){var e=Tc(t,function(r){return n.size===Vx&&n.clear(),r}),n=e.cache;return e}var Wx=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Hx=/\\(\\)?/g,jx=Ux(function(t){var e=[];return t.charCodeAt(0)===46&&e.push(""),t.replace(Wx,function(n,r,i,s){e.push(i?s.replace(Hx,"$1"):r||n)}),e});const zx=jx;function Gx(t){return t==null?"":Cf(t)}function Ac(t,e){return Dt(t)?t:_c(t,e)?[t]:zx(Gx(t))}var Yx=1/0;function as(t){if(typeof t=="string"||Bi(t))return t;var e=t+"";return e=="0"&&1/t==-Yx?"-0":e}function Ko(t,e){e=Ac(e,t);for(var n=0,r=e.length;t!=null&&n<r;)t=t[as(e[n++])];return n&&n==r?t:void 0}function Jx(t,e,n){var r=t==null?void 0:Ko(t,e);return r===void 0?n:r}function Kx(t,e){for(var n=-1,r=e.length,i=t.length;++n<r;)t[i+n]=e[n];return t}function Xx(t,e,n){var r=-1,i=t.length;e<0&&(e=-e>i?0:i+e),n=n>i?i:n,n<0&&(n+=i),i=e>n?0:n-e>>>0,e>>>=0;for(var s=Array(i);++r<i;)s[r]=t[r+e];return s}function qx(){this.__data__=new En,this.size=0}function Qx(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n}function Zx(t){return this.__data__.get(t)}function ek(t){return this.__data__.has(t)}var tk=200;function nk(t,e){var n=this.__data__;if(n instanceof En){var r=n.__data__;if(!Vi||r.length<tk-1)return r.push([t,e]),this.size=++n.size,this;n=this.__data__=new _n(r)}return n.set(t,e),this.size=n.size,this}function yn(t){var e=this.__data__=new En(t);this.size=e.size}yn.prototype.clear=qx;yn.prototype.delete=Qx;yn.prototype.get=Zx;yn.prototype.has=ek;yn.prototype.set=nk;function rk(t,e){for(var n=-1,r=t==null?0:t.length,i=0,s=[];++n<r;){var d=t[n];e(d,n,t)&&(s[i++]=d)}return s}function ik(){return[]}var sk=Object.prototype,ok=sk.propertyIsEnumerable,ch=Object.getOwnPropertySymbols,ak=ch?function(t){return t==null?[]:(t=Object(t),rk(ch(t),function(e){return ok.call(t,e)}))}:ik;const lk=ak;function ck(t,e,n){var r=e(t);return Dt(t)?r:Kx(r,n(t))}function uh(t){return ck(t,Ec,lk)}var uk=gr(Cn,"DataView");const cl=uk;var hk=gr(Cn,"Promise");const ul=hk;var dk=gr(Cn,"Set");const hl=dk;var hh="[object Map]",fk="[object Object]",dh="[object Promise]",fh="[object Set]",mh="[object WeakMap]",ph="[object DataView]",mk=pr(cl),pk=pr(Vi),gk=pr(ul),vk=pr(hl),wk=pr(al),er=Gr;(cl&&er(new cl(new ArrayBuffer(1)))!=ph||Vi&&er(new Vi)!=hh||ul&&er(ul.resolve())!=dh||hl&&er(new hl)!=fh||al&&er(new al)!=mh)&&(er=function(t){var e=Gr(t),n=e==fk?t.constructor:void 0,r=n?pr(n):"";if(r)switch(r){case mk:return ph;case pk:return hh;case gk:return dh;case vk:return fh;case wk:return mh}return e});const gh=er;var yk=Cn.Uint8Array;const vh=yk;var bk="__lodash_hash_undefined__";function Sk(t){return this.__data__.set(t,bk),this}function xk(t){return this.__data__.has(t)}function Ui(t){var e=-1,n=t==null?0:t.length;for(this.__data__=new _n;++e<n;)this.add(t[e])}Ui.prototype.add=Ui.prototype.push=Sk;Ui.prototype.has=xk;function kk(t,e){for(var n=-1,r=t==null?0:t.length;++n<r;)if(e(t[n],n,t))return!0;return!1}function dl(t,e){return t.has(e)}var Ck=1,Ek=2;function Mf(t,e,n,r,i,s){var d=n&Ck,h=t.length,c=e.length;if(h!=c&&!(d&&c>h))return!1;var m=s.get(t),a=s.get(e);if(m&&a)return m==e&&a==t;var o=-1,u=!0,f=n&Ek?new Ui:void 0;for(s.set(t,e),s.set(e,t);++o<h;){var p=t[o],g=e[o];if(r)var v=d?r(g,p,o,e,t,s):r(p,g,o,t,e,s);if(v!==void 0){if(v)continue;u=!1;break}if(f){if(!kk(e,function(y,x){if(!dl(f,x)&&(p===y||i(p,y,n,r,s)))return f.push(x)})){u=!1;break}}else if(!(p===g||i(p,g,n,r,s))){u=!1;break}}return s.delete(t),s.delete(e),u}function _k(t){var e=-1,n=Array(t.size);return t.forEach(function(r,i){n[++e]=[i,r]}),n}function Tk(t){var e=-1,n=Array(t.size);return t.forEach(function(r){n[++e]=r}),n}var Ak=1,$k=2,Ok="[object Boolean]",Lk="[object Date]",Mk="[object Error]",Rk="[object Map]",Nk="[object Number]",Ik="[object RegExp]",Dk="[object Set]",Pk="[object String]",Bk="[object Symbol]",Fk="[object ArrayBuffer]",Vk="[object DataView]",wh=zn?zn.prototype:void 0,ya=wh?wh.valueOf:void 0;function Uk(t,e,n,r,i,s,d){switch(n){case Vk:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case Fk:return!(t.byteLength!=e.byteLength||!s(new vh(t),new vh(e)));case Ok:case Lk:case Nk:return _f(+t,+e);case Mk:return t.name==e.name&&t.message==e.message;case Ik:case Pk:return t==e+"";case Rk:var h=_k;case Dk:var c=r&Ak;if(h||(h=Tk),t.size!=e.size&&!c)return!1;var m=d.get(t);if(m)return m==e;r|=$k,d.set(t,e);var a=Mf(h(t),h(e),r,i,s,d);return d.delete(t),a;case Bk:if(ya)return ya.call(t)==ya.call(e)}return!1}var Wk=1,Hk=Object.prototype,jk=Hk.hasOwnProperty;function zk(t,e,n,r,i,s){var d=n&Wk,h=uh(t),c=h.length,m=uh(e),a=m.length;if(c!=a&&!d)return!1;for(var o=c;o--;){var u=h[o];if(!(d?u in e:jk.call(e,u)))return!1}var f=s.get(t),p=s.get(e);if(f&&p)return f==e&&p==t;var g=!0;s.set(t,e),s.set(e,t);for(var v=d;++o<c;){u=h[o];var y=t[u],x=e[u];if(r)var T=d?r(x,y,u,e,t,s):r(y,x,u,t,e,s);if(!(T===void 0?y===x||i(y,x,n,r,s):T)){g=!1;break}v||(v=u=="constructor")}if(g&&!v){var k=t.constructor,b=e.constructor;k!=b&&"constructor"in t&&"constructor"in e&&!(typeof k=="function"&&k instanceof k&&typeof b=="function"&&b instanceof b)&&(g=!1)}return s.delete(t),s.delete(e),g}var Gk=1,yh="[object Arguments]",bh="[object Array]",ys="[object Object]",Yk=Object.prototype,Sh=Yk.hasOwnProperty;function Jk(t,e,n,r,i,s){var d=Dt(t),h=Dt(e),c=d?bh:gh(t),m=h?bh:gh(e);c=c==yh?ys:c,m=m==yh?ys:m;var a=c==ys,o=m==ys,u=c==m;if(u&&ll(t)){if(!ll(e))return!1;d=!0,a=!1}if(u&&!a)return s||(s=new yn),d||Lf(t)?Mf(t,e,n,r,i,s):Uk(t,e,c,n,r,i,s);if(!(n&Gk)){var f=a&&Sh.call(t,"__wrapped__"),p=o&&Sh.call(e,"__wrapped__");if(f||p){var g=f?t.value():t,v=p?e.value():e;return s||(s=new yn),i(g,v,n,r,s)}}return u?(s||(s=new yn),zk(t,e,n,r,i,s)):!1}function Xo(t,e,n,r,i){return t===e?!0:t==null||e==null||!dr(t)&&!dr(e)?t!==t&&e!==e:Jk(t,e,n,r,Xo,i)}var Kk=1,Xk=2;function qk(t,e,n,r){var i=n.length,s=i,d=!r;if(t==null)return!s;for(t=Object(t);i--;){var h=n[i];if(d&&h[2]?h[1]!==t[h[0]]:!(h[0]in t))return!1}for(;++i<s;){h=n[i];var c=h[0],m=t[c],a=h[1];if(d&&h[2]){if(m===void 0&&!(c in t))return!1}else{var o=new yn;if(r)var u=r(m,a,c,t,e,o);if(!(u===void 0?Xo(a,m,Kk|Xk,r,o):u))return!1}}return!0}function Rf(t){return t===t&&!Sc(t)}function Qk(t){for(var e=Ec(t),n=e.length;n--;){var r=e[n],i=t[r];e[n]=[r,i,Rf(i)]}return e}function Nf(t,e){return function(n){return n==null?!1:n[t]===e&&(e!==void 0||t in Object(n))}}function Zk(t){var e=Qk(t);return e.length==1&&e[0][2]?Nf(e[0][0],e[0][1]):function(n){return n===t||qk(n,t,e)}}function eC(t,e){return t!=null&&e in Object(t)}function tC(t,e,n){e=Ac(e,t);for(var r=-1,i=e.length,s=!1;++r<i;){var d=as(e[r]);if(!(s=t!=null&&n(t,d)))break;t=t[d]}return s||++r!=i?s:(i=t==null?0:t.length,!!i&&kc(i)&&xc(d,i)&&(Dt(t)||Af(t)))}function nC(t,e){return t!=null&&tC(t,e,eC)}var rC=1,iC=2;function sC(t,e){return _c(t)&&Rf(e)?Nf(as(t),e):function(n){var r=Jx(n,t);return r===void 0&&r===e?nC(n,t):Xo(e,r,rC|iC)}}function oC(t){return function(e){return e?.[t]}}function aC(t){return function(e){return Ko(e,t)}}function lC(t){return _c(t)?oC(as(t)):aC(t)}function If(t){return typeof t=="function"?t:t==null?zo:typeof t=="object"?Dt(t)?sC(t[0],t[1]):Zk(t):lC(t)}function cC(t){return function(e,n,r){for(var i=-1,s=Object(e),d=r(e),h=d.length;h--;){var c=d[t?h:++i];if(n(s[c],c,s)===!1)break}return e}}var uC=cC();const hC=uC;function dC(t,e){return t&&hC(t,e,Ec)}function fC(t,e){return function(n,r){if(n==null)return n;if(!Go(n))return t(n,r);for(var i=n.length,s=e?i:-1,d=Object(n);(e?s--:++s<i)&&r(d[s],s,d)!==!1;);return n}}var mC=fC(dC);const pC=mC;function gC(t){return dr(t)&&Go(t)}function vC(t,e,n){for(var r=-1,i=t==null?0:t.length;++r<i;)if(n(e,t[r]))return!0;return!1}function wC(t){var e=t==null?0:t.length;return e?t[e-1]:void 0}function yC(t,e){var n=-1,r=Go(t)?Array(t.length):[];return pC(t,function(i,s,d){r[++n]=e(i,s,d)}),r}var bC=Math.min;function SC(t,e,n){for(var r=n?vC:hS,i=t[0].length,s=t.length,d=s,h=Array(s),c=1/0,m=[];d--;){var a=t[d];d&&e&&(a=$r(a,Cc(e))),c=bC(a.length,c),h[d]=!n&&(e||i>=120&&a.length>=120)?new Ui(d&&a):void 0}a=t[0];var o=-1,u=h[0];e:for(;++o<i&&m.length<c;){var f=a[o],p=e?e(f):f;if(f=n||f!==0?f:0,!(u?dl(u,p):r(m,p,n))){for(d=s;--d;){var g=h[d];if(!(g?dl(g,p):r(t[d],p,n)))continue e}u&&u.push(p),m.push(f)}}return m}function xC(t){return gC(t)?t:[]}var kC=pS(function(t){var e=$r(t,xC);return e.length&&e[0]===t[0]?SC(e):[]});const CC=kC;function EC(t,e){return e.length<2?t:Ko(t,Xx(e,0,-1))}function ii(t,e){return Xo(t,e)}function _C(t,e){return e=Ac(e,t),t=EC(t,e),t==null||delete t[as(wC(e))]}function TC(t,e){var n=t.length;for(t.sort(e);n--;)t[n]=t[n].value;return t}function AC(t,e){if(t!==e){var n=t!==void 0,r=t===null,i=t===t,s=Bi(t),d=e!==void 0,h=e===null,c=e===e,m=Bi(e);if(!h&&!m&&!s&&t>e||s&&d&&c&&!h&&!m||r&&d&&c||!n&&c||!i)return 1;if(!r&&!s&&!m&&t<e||m&&n&&i&&!r&&!s||h&&n&&i||!d&&i||!c)return-1}return 0}function $C(t,e,n){for(var r=-1,i=t.criteria,s=e.criteria,d=i.length,h=n.length;++r<d;){var c=AC(i[r],s[r]);if(c){if(r>=h)return c;var m=n[r];return c*(m=="desc"?-1:1)}}return t.index-e.index}function OC(t,e,n){e.length?e=$r(e,function(s){return Dt(s)?function(d){return Ko(d,s.length===1?s[0]:s)}:s}):e=[zo];var r=-1;e=$r(e,Cc(If));var i=yC(t,function(s,d,h){var c=$r(e,function(m){return m(s)});return{criteria:c,index:++r,value:s}});return TC(i,function(s,d){return $C(s,d,n)})}function LC(t,e,n,r){return t==null?[]:(Dt(e)||(e=e==null?[]:[e]),n=r?void 0:n,Dt(n)||(n=n==null?[]:[n]),OC(t,e,n))}var MC=Array.prototype,RC=MC.splice;function NC(t,e){for(var n=t?e.length:0,r=n-1;n--;){var i=e[n];if(n==r||i!==s){var s=i;xc(i)?RC.call(t,i,1):_C(t,i)}}return t}function ba(t,e){var n=[];if(!(t&&t.length))return n;var r=-1,i=[],s=t.length;for(e=If(e);++r<s;){var d=t[r];e(d,r,t)&&(n.push(d),i.push(r))}return NC(t,i),n}const Sa=new wf,Mn=l.ref([]),ei=l.ref([]),IC=()=>{const{getAccessToken:t}=zr(),e=Xi();async function n(c=10){const m=await t();if(m)try{Sa.setAuthToken(m),(await fetch("/api/platform/pushnotifications",{method:"POST",headers:{"Content-Type":"application/json-patch+json",Accept:"application/json",authorization:`Bearer ${m}`},body:JSON.stringify({take:c})})).text().then(o=>{Mn.value=JSON.parse(o).notifyEvents??[]})}catch(a){throw e.error(a),a}}function r(c){if(c.notifyType!=="IndexProgressPushNotification"){const m=Mn.value.find(a=>a.id==c.id);m?(c.isNew=m.isNew,Object.assign(m,c)):(ei.value.unshift(c),Mn.value.unshift(c))}}function i(c){c.isNew=!1,ba(ei.value,m=>m.id==c.id)}function s(c){ba(ei.value,m=>m.id==c.id),ba(Mn.value,m=>m.id==c.id)}function d(){ei.value=[],Mn.value=[]}async function h(){const c=await t();if(c){Sa.setAuthToken(c);try{await Sa.markAllAsRead(),Mn.value=Mn.value.map(m=>(m.isNew&&(m.isNew=!1),m))}catch(m){throw e.error(m),m}}}return{notifications:l.computed(()=>l.readonly(LC(Mn.value,["created"],["desc"]))),popupNotifications:l.computed(()=>l.readonly(ei.value)),loadFromHistory:n,addNotification:r,dismissAll:d,dismiss:s,markAsRead:i,markAllAsRead:h}},bs=l.ref({logo:void 0,title:void 0}),DC=()=>{const{getAccessToken:t}=zr(),e=Xi();async function n(){const s=new bf;return s.setAuthToken(await t()),s}async function r(){const s=await n(),d="https://vcmp-dev.paas.govirto.com/";try{const h=await s.getUICustomizationSetting(),c=JSON.parse(h.defaultValue);bs.value={contrast_logo:d+c.contrast_logo,logo:d+c.logo,title:c.title}}catch(h){e.error(h)}}function i(s){s.logo&&(bs.value.logo=s.logo),s.title&&(bs.value.title=s.title)}return{uiSettings:l.computed(()=>bs.value),getUiCustomizationSettings:r,applySettings:i}},qo=()=>{const{user:t}=zr();function e(n){if(n)if(n||n&&n instanceof Array){if(typeof n=="string")return t.value?.permissions.includes(n);if(n.length>0)return t.value?.permissions.some(r=>n.includes(r))}else console.error("Permissions must be a string or strings array");else return!0}return{userPermissions:l.computed(()=>t.value?.permissions),checkPermission:e}},PC=(t,e,n)=>{const r=l.computed(()=>l.isRef(t)?l.unref(t):t),i=l.computed(()=>l.isRef(e)?l.unref(e):e),s=l.ref(),d=l.ref(!1);l.watch(i,()=>{i.value?d.value=!0:(d.value=!1,m())}),l.watch([r,d],()=>{d.value&&h()},{deep:!0});function h(){localStorage.setItem(n,JSON.stringify(r.value))}function c(){const a=JSON.parse(localStorage.getItem(n));a&&(s.value=a)}function m(){localStorage.removeItem(n)}return{savedValue:l.computed(()=>s.value),loadAutosaved:c,resetAutosaved:m}};function BC(t){const e=Xi(),n=l.ref(!1);async function r(i){n.value=!0;try{return await t(i)}catch(s){throw e.error(s),s}finally{n.value=!1}}return{loading:l.readonly(n),action:r}}function FC(t){const{getAccessToken:e}=zr();async function n(){const r=new t;return r.setAuthToken(await e()),r}return{getApiClient:n}}function VC(...t){return l.computed(()=>t.some(e=>e.value))}const{checkPermission:UC}=qo();function xh(t,e){const{value:n}=e;UC(n)===!1&&t.parentNode&&t.parentNode.removeChild(t)}const Df={mounted(t,e){xh(t,e)},updated(t,e){xh(t,e)}},Pf={mounted(t,e){e.value&&t.focus()}},ls={mounted(t,e){const n=e.value;t._outsideClickHandler=function(r){t.contains(r.target)||(r.stopPropagation(),n())},document.addEventListener("click",t._outsideClickHandler)},unmounted(t){document.removeEventListener("click",t._outsideClickHandler)}},kh="v-loading",Bf={mounted:function(t,e){console.log("v-loading mount");const n=document.createElement("div");n.className=kh,n.innerHTML="Loading...",n.style.display=e.value?"flex":"none",n.style.position="absolute",n.style.alignItems="center",n.style.justifyContent="center",n.style.background="rgba(255, 255, 255, 0.75)",n.style.zIndex="9999",n.style.width="100%",n.style.height="100%",t.appendChild(n)},updated:function(t,e){console.log("v-loading updated");const n=t.querySelector(`.${kh}`);n&&(n.style.display=e.value?"flex":"none")}},WC=Object.freeze(Object.defineProperty({__proto__:null,permissions:Df,autofocus:Pf,clickOutside:ls,loading:Bf},Symbol.toStringTag,{value:"Module"})),HC={class:"vc-multivalue__field-value"},jC=["title"],zC=["onClick"],GC=["placeholder","type","value","disabled","onKeypress"],Ff=l.defineComponent({__name:"vc-multivalue",props:{placeholder:{type:String,default:""},modelValue:{type:Array,default:()=>[]},required:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},type:{type:String,default:"text"},label:{type:String,default:void 0},tooltip:{type:String,default:void 0},name:{type:String,default:"Field"},options:{type:Array,default:()=>[]},keyProperty:{type:String,default:"id"},displayProperty:{type:String,default:"title"},multivalue:{type:Boolean,default:!1},errorMessage:{type:String,default:void 0}},emits:["update:modelValue","search","close"],setup(t,{emit:e}){const n=t;l.getCurrentInstance();const r=l.ref(),i=l.ref(),s=l.ref(),d=l.ref(),h=l.ref(!1),c=l.ref(),m=l.computed(()=>n.options?.filter(v=>!n.modelValue?.find(y=>y.valueId===v.id)));function a(v){const y=v.target.value;e("update:modelValue",[...n.modelValue,{value:y}])}function o(v){e("update:modelValue",[...n.modelValue,{valueId:v[n.keyProperty]}]),e("close"),p()}function u(v){const y=l.unref(n.modelValue);y.splice(v,1),e("update:modelValue",[...y])}function f(){n.disabled||(h.value?(h.value=!1,r.value?.destroy(),d.value.style.borderRadius="var(--select-border-radius)",e("close")):(h.value=!0,l.nextTick(()=>{c?.value?.focus(),r.value=Ji(d.value,s.value,{placement:"bottom",modifiers:[{name:"flip",options:{fallbackPlacements:["top","bottom"]}},{name:"preventOverflow",options:{mainAxis:!1}},{name:"sameWidthChangeBorders",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:({state:v})=>{v.placement==="top"?(v.styles.popper.borderTop="1px solid var(--select-border-color)",v.styles.popper.borderBottom="1px solid var(--select-background-color)",v.styles.popper.borderRadius="var(--select-border-radius) var(--select-border-radius) 0 0",d.value.style.borderRadius="0 0 var(--select-border-radius) var(--select-border-radius)"):(v.styles.popper.borderBottom="1px solid var(--select-border-color)",v.styles.popper.borderTop="1px solid var(--select-background-color)",v.styles.popper.borderRadius="0 0 var(--select-border-radius) var(--select-border-radius)",d.value&&(d.value.style.borderRadius="var(--select-border-radius) var(--select-border-radius) 0 0")),v.styles.popper.width=`${v.rects.reference.width}px`},effect:({state:v})=>{const y=v.elements.reference;v.placement==="top"?(v.elements.popper.style.borderTop="1px solid var(--select-border-color)",v.elements.popper.style.borderBottom="1px solid var(--select-background-color)",v.elements.popper.style.borderRadius="var(--select-border-radius) var(--select-border-radius) 0 0",d.value.style.borderRadius="0 0 var(--select-border-radius) var(--select-border-radius)"):(v.elements.popper.style.borderBottom="1px solid var(--select-border-color)",v.elements.popper.style.borderTop="1px solid var(--select-background-color)",v.elements.popper.style.borderRadius="0 0 var(--select-border-radius) var(--select-border-radius)",d.value&&(d.value.style.borderRadius="var(--select-border-radius) var(--select-border-radius) 0 0")),v.elements.popper.style.width=`${y.offsetWidth}px`}},{name:"offset",options:{offset:[0,-1]}}]})})))}function p(){h.value=!1,r.value?.destroy(),d.value.style.borderRadius="var(--select-border-radius)",e("close")}function g(v){e("search",v.target.value)}return(v,y)=>{const x=l.resolveComponent("VcButton"),T=l.resolveComponent("VcContainer"),k=l.resolveComponent("VcHint");return l.openBlock(),l.createElementBlock("div",{class:l.normalizeClass(["vc-multivalue",[`vc-multivalue_${t.type}`,{"vc-multivalue_opened":h.value,"vc-multivalue_error":t.errorMessage,"vc-multivalue_disabled":t.disabled}]])},[t.label?(l.openBlock(),l.createBlock(l.unref(Gn),{key:0,class:"tw-mb-2",required:t.required},l.createSlots({default:l.withCtx(()=>[l.createElementVNode("span",null,l.toDisplayString(t.label),1)]),_:2},[t.tooltip?{name:"tooltip",fn:l.withCtx(()=>[l.createTextVNode(l.toDisplayString(t.tooltip),1)]),key:"0"}:void 0]),1032,["required"])):l.createCommentVNode("",!0),l.createElementVNode("div",{class:"vc-multivalue__field-wrapper",ref_key:"inputFieldWrapRef",ref:d},[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(t.modelValue,(b,C)=>(l.openBlock(),l.createElementBlock("div",{key:b.id,class:"vc-multivalue__field-value-wrapper"},[l.createElementVNode("div",HC,[l.createElementVNode("span",{class:"tw-truncate",title:t.type==="number"?Number(b.value).toFixed(3):b.value},l.toDisplayString(t.type==="number"?Number(b.value).toFixed(3):b.value),9,jC),t.disabled?l.createCommentVNode("",!0):(l.openBlock(),l.createBlock(l.unref(Se),{key:0,class:"vc-multivalue__field-value-clear",icon:"fas fa-times",size:"s",onClick:$=>u(C)},null,8,["onClick"]))])]))),128)),t.multivalue?(l.openBlock(),l.createElementBlock("div",{key:0,ref_key:"dropdownToggleRef",ref:i,class:"vc-multivalue__field vc-multivalue__field_dictionary tw-grow tw-basis-0 tw-p-2"},[l.createVNode(x,{small:"",onClick:l.withModifiers(f,["stop"])},{default:l.withCtx(()=>[l.createTextVNode("Add +")]),_:1},8,["onClick"]),(l.openBlock(),l.createBlock(l.Teleport,{to:"#app"},[h.value?l.withDirectives((l.openBlock(),l.createElementBlock("div",{key:0,class:"vc-multivalue__dropdown",ref_key:"dropdownRef",ref:s},[l.createElementVNode("input",{ref_key:"search",ref:c,class:"vc-multivalue__search",onInput:g},null,544),l.createVNode(T,{"no-padding":!0},{default:l.withCtx(()=>[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(l.unref(m),(b,C)=>(l.openBlock(),l.createElementBlock("div",{class:"vc-multivalue__item",key:C,onClick:$=>o(b)},[l.renderSlot(v.$slots,"item",{item:b},()=>[l.createTextVNode(l.toDisplayString(b[t.displayProperty]),1)])],8,zC))),128))]),_:3})])),[[l.unref(ls),p]]):l.createCommentVNode("",!0)]))],512)):(l.openBlock(),l.createElementBlock("input",{key:1,class:"vc-multivalue__field tw-grow tw-basis-0 tw-pl-3",placeholder:t.placeholder,type:t.type,value:v.value,disabled:t.disabled,onKeypress:l.withKeys(a,["enter"])},null,40,GC))],512),t.errorMessage?l.renderSlot(v.$slots,"error",{key:1},()=>[l.createVNode(k,{class:"vc-multivalue__error tw-mt-1"},{default:l.withCtx(()=>[l.createTextVNode(l.toDisplayString(t.errorMessage),1)]),_:1})]):l.createCommentVNode("",!0)],2)}}});const YC={class:"tw-text-[color:var(--notification-content-color)]"},Vf=l.defineComponent({__name:"vc-notification",props:{variant:{type:String,default:"info"},timeout:{type:Number,default:0}},emits:["dismiss","expired"],setup(t,{emit:e}){const n=t;function r(c,m){let a,o,u=m;function f(){window.clearTimeout(a),u-=Date.now()-o}function p(){o=Date.now(),window.clearTimeout(a),a=window.setTimeout(c,u)}function g(){u=m,p()}return{pause:f,resume:p,start:g}}const i=r(()=>e("expired"),n.timeout);n.timeout&&i.start();function s(){i.pause()}function d(){n.timeout&&i.resume()}function h(){i.pause(),e("dismiss")}return(c,m)=>(l.openBlock(),l.createElementBlock("div",{class:"vc-notification tw-flex tw-items-center tw-mt-1 tw-mb-3 tw-mx-2 tw-bg-[color:var(--notification-background)] tw-border tw-border-solid tw-border-[color:#eef0f2] tw-box-border tw-shadow-[2px_2px_11px_rgba(126,142,157,0.4)] tw-rounded-[var(--notification-border-radius)] tw-overflow-hidden tw-py-2 tw-px-4 tw-max-w-[600px]",onMouseenter:s,onMouseleave:d},[l.createElementVNode("div",YC,[l.renderSlot(c.$slots,"default")]),l.createVNode(l.unref(Se),{icon:"fas fa-times",class:"tw-cursor-pointer tw-text-[color:var(--notification-dismiss-color)] tw-ml-2",size:"s",onClick:h})],32))}});const JC={class:"vc-pagination tw-flex"},KC={class:"vc-pagination__item vc-pagination__item_current"},$c=l.defineComponent({__name:"vc-pagination",props:{expanded:{type:Boolean,default:!1},pages:{type:Number,default:1},currentPage:{type:Number,default:1}},emits:["itemClick"],setup(t){return(e,n)=>(l.openBlock(),l.createElementBlock("div",JC,[l.createElementVNode("div",{class:l.normalizeClass(["vc-pagination__item",{"vc-pagination__item_disabled":t.currentPage===1}]),onClick:n[0]||(n[0]=r=>t.currentPage!==1&&e.$emit("itemClick",1))},[l.createVNode(l.unref(Se),{size:"xs",icon:"fas fa-angle-double-left"})],2),l.createElementVNode("div",{class:l.normalizeClass(["vc-pagination__item",{"vc-pagination__item_disabled":t.currentPage===1}]),onClick:n[1]||(n[1]=r=>t.currentPage!==1&&e.$emit("itemClick",t.currentPage-1))},[l.createVNode(l.unref(Se),{size:"xs",icon:"fas fa-arrow-left"})],2),t.expanded&&e.$isDesktop.value?(l.openBlock(),l.createElementBlock(l.Fragment,{key:0},[t.currentPage>2?(l.openBlock(),l.createElementBlock("div",{key:0,class:"vc-pagination__item",onClick:n[2]||(n[2]=r=>e.$emit("itemClick",t.currentPage-2))},l.toDisplayString(t.currentPage-2),1)):l.createCommentVNode("",!0),t.currentPage>1?(l.openBlock(),l.createElementBlock("div",{key:1,class:"vc-pagination__item",onClick:n[3]||(n[3]=r=>e.$emit("itemClick",t.currentPage-1))},l.toDisplayString(t.currentPage-1),1)):l.createCommentVNode("",!0)],64)):l.createCommentVNode("",!0),l.createElementVNode("div",KC,l.toDisplayString(t.currentPage),1),t.expanded&&e.$isDesktop.value?(l.openBlock(),l.createElementBlock(l.Fragment,{key:1},[t.currentPage<t.pages?(l.openBlock(),l.createElementBlock("div",{key:0,class:"vc-pagination__item",onClick:n[4]||(n[4]=r=>e.$emit("itemClick",t.currentPage+1))},l.toDisplayString(t.currentPage+1),1)):l.createCommentVNode("",!0),t.currentPage<t.pages-1?(l.openBlock(),l.createElementBlock("div",{key:1,class:"vc-pagination__item",onClick:n[5]||(n[5]=r=>e.$emit("itemClick",t.currentPage+2))},l.toDisplayString(t.currentPage+2),1)):l.createCommentVNode("",!0)],64)):l.createCommentVNode("",!0),l.createElementVNode("div",{class:l.normalizeClass(["vc-pagination__item",{"vc-pagination__item_disabled":t.currentPage===t.pages}]),onClick:n[6]||(n[6]=r=>t.currentPage!==t.pages&&e.$emit("itemClick",t.currentPage+1))},[l.createVNode(l.unref(Se),{size:"xs",icon:"fas fa-arrow-right"})],2),l.createElementVNode("div",{class:l.normalizeClass(["vc-pagination__item",{"vc-pagination__item_disabled":t.currentPage===t.pages}]),onClick:n[7]||(n[7]=r=>t.currentPage!==t.pages&&e.$emit("itemClick",t.pages))},[l.createVNode(l.unref(Se),{size:"xs",icon:"fas fa-angle-double-right"})],2)]))}});const XC={class:"vc-rating"},qC=["innerHTML"],QC={class:"vc-rating__rating"},ZC={key:2,class:"vc-rating__placeholder"},Uf=l.defineComponent({__name:"vc-rating",props:{label:null,placeholder:null,tooltip:null,rating:null,max:{default:5},variant:{default:"stars"}},setup(t){return(e,n)=>(l.openBlock(),l.createElementBlock("div",XC,[t.label?(l.openBlock(),l.createBlock(l.unref(Gn),{key:0,class:"tw-mb-2"},l.createSlots({default:l.withCtx(()=>[l.createElementVNode("span",null,l.toDisplayString(t.label),1)]),_:2},[t.tooltip?{name:"tooltip",fn:l.withCtx(()=>[l.createElementVNode("span",{innerHTML:t.tooltip},null,8,qC)]),key:"0"}:void 0]),1024)):l.createCommentVNode("",!0),t.rating?(l.openBlock(),l.createElementBlock(l.Fragment,{key:1},[t.variant=="stars"?(l.openBlock(),l.createElementBlock(l.Fragment,{key:0},[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(t.rating,r=>(l.openBlock(),l.createBlock(l.unref(Se),{key:r,icon:"fas fa-star",class:"vc-rating__icon"}))),128)),(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(t.max-t.rating,r=>(l.openBlock(),l.createBlock(l.unref(Se),{key:r,icon:"far fa-star",class:"vc-rating__icon"}))),128))],64)):(l.openBlock(),l.createElementBlock(l.Fragment,{key:1},[t.variant=="star-and-text"?(l.openBlock(),l.createBlock(l.unref(Se),{key:0,icon:"fas fa-star",class:"vc-rating__icon"})):l.createCommentVNode("",!0),l.createElementVNode("span",QC,l.toDisplayString(t.rating)+"/"+l.toDisplayString(t.max),1),l.renderSlot(e.$slots,"details")],64))],64)):(l.openBlock(),l.createElementBlock("span",ZC))]))}});var Ch;const cs=typeof window<"u",xa=()=>{};cs&&((Ch=window?.navigator)==null?void 0:Ch.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function eE(t){return typeof t=="function"?t():l.unref(t)}function tE(t){return t}function nE(t,e){var n;if(typeof t=="number")return t+e;const r=((n=t.match(/^-?[0-9]+\.?[0-9]*/))==null?void 0:n[0])||"",i=t.slice(r.length),s=parseFloat(r)+e;return Number.isNaN(s)?t:s+i}function Wf(t){return l.getCurrentScope()?(l.onScopeDispose(t),!0):!1}function rE(t){return typeof t=="function"?l.computed(t):l.ref(t)}function iE(t,e=!0){l.getCurrentInstance()?l.onMounted(t):e?t():l.nextTick(t)}function Eh(t){var e;const n=eE(t);return(e=n?.$el)!=null?e:n}const Oc=cs?window:void 0;cs&&window.document;cs&&window.navigator;cs&&window.location;function Hf(t,e=!1){const n=l.ref(),r=()=>n.value=Boolean(t());return r(),iE(r,e),n}function ti(t,e={}){const{window:n=Oc}=e,r=Hf(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let i;const s=l.ref(!1),d=()=>{!i||("removeEventListener"in i?i.removeEventListener("change",h):i.removeListener(h))},h=()=>{!r.value||(d(),i=n.matchMedia(rE(t).value),s.value=i.matches,"addEventListener"in i?i.addEventListener("change",h):i.addListener(h))};return l.watchEffect(h),Wf(()=>d()),s}var sE=Object.defineProperty,_h=Object.getOwnPropertySymbols,oE=Object.prototype.hasOwnProperty,aE=Object.prototype.propertyIsEnumerable,Th=(t,e,n)=>e in t?sE(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,lE=(t,e)=>{for(var n in e||(e={}))oE.call(e,n)&&Th(t,n,e[n]);if(_h)for(var n of _h(e))aE.call(e,n)&&Th(t,n,e[n]);return t};function cE(t,e={}){function n(h,c){let m=t[h];return c!=null&&(m=nE(m,c)),typeof m=="number"&&(m=`${m}px`),m}const{window:r=Oc}=e;function i(h){return r?r.matchMedia(h).matches:!1}const s=h=>ti(`(min-width: ${n(h)})`,e),d=Object.keys(t).reduce((h,c)=>(Object.defineProperty(h,c,{get:()=>s(c),enumerable:!0,configurable:!0}),h),{});return lE({greater(h){return ti(`(min-width: ${n(h,.1)})`,e)},greaterOrEqual:s,smaller(h){return ti(`(max-width: ${n(h,-.1)})`,e)},smallerOrEqual(h){return ti(`(max-width: ${n(h)})`,e)},between(h,c){return ti(`(min-width: ${n(h)}) and (max-width: ${n(c,-.1)})`,e)},isGreater(h){return i(`(min-width: ${n(h,.1)})`)},isGreaterOrEqual(h){return i(`(min-width: ${n(h)})`)},isSmaller(h){return i(`(max-width: ${n(h,-.1)})`)},isSmallerOrEqual(h){return i(`(max-width: ${n(h)})`)},isInBetween(h,c){return i(`(min-width: ${n(h)}) and (max-width: ${n(c,-.1)})`)}},d)}const fl=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},ml="__vueuse_ssr_handlers__";fl[ml]=fl[ml]||{};fl[ml];function uE(t,e,n={}){const{root:r,rootMargin:i="0px",threshold:s=.1,window:d=Oc}=n,h=Hf(()=>d&&"IntersectionObserver"in d);let c=xa;const m=h.value?l.watch(()=>({el:Eh(t),root:Eh(r)}),({el:o,root:u})=>{if(c(),!o)return;const f=new IntersectionObserver(e,{root:u,rootMargin:i,threshold:s});f.observe(o),c=()=>{f.disconnect(),c=xa}},{immediate:!0,flush:"post"}):xa,a=()=>{c(),m()};return Wf(a),{isSupported:h,stop:a}}var Ah;(function(t){t.UP="UP",t.RIGHT="RIGHT",t.DOWN="DOWN",t.LEFT="LEFT",t.NONE="NONE"})(Ah||(Ah={}));var hE=Object.defineProperty,$h=Object.getOwnPropertySymbols,dE=Object.prototype.hasOwnProperty,fE=Object.prototype.propertyIsEnumerable,Oh=(t,e,n)=>e in t?hE(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,mE=(t,e)=>{for(var n in e||(e={}))dE.call(e,n)&&Oh(t,n,e[n]);if($h)for(var n of $h(e))fE.call(e,n)&&Oh(t,n,e[n]);return t};const pE={easeInSine:[.12,0,.39,0],easeOutSine:[.61,1,.88,1],easeInOutSine:[.37,0,.63,1],easeInQuad:[.11,0,.5,0],easeOutQuad:[.5,1,.89,1],easeInOutQuad:[.45,0,.55,1],easeInCubic:[.32,0,.67,0],easeOutCubic:[.33,1,.68,1],easeInOutCubic:[.65,0,.35,1],easeInQuart:[.5,0,.75,0],easeOutQuart:[.25,1,.5,1],easeInOutQuart:[.76,0,.24,1],easeInQuint:[.64,0,.78,0],easeOutQuint:[.22,1,.36,1],easeInOutQuint:[.83,0,.17,1],easeInExpo:[.7,0,.84,0],easeOutExpo:[.16,1,.3,1],easeInOutExpo:[.87,0,.13,1],easeInCirc:[.55,0,1,.45],easeOutCirc:[0,.55,.45,1],easeInOutCirc:[.85,0,.15,1],easeInBack:[.36,0,.66,-.56],easeOutBack:[.34,1.56,.64,1],easeInOutBack:[.68,-.6,.32,1.6]};mE({linear:tE},pE);const gE=["innerHTML"],vE={class:"tw-flex tw-flex-auto tw-text-left tw-max-w-full"},wE={class:"tw-relative tw-flex tw-flex-auto tw-text-left tw-max-w-full"},yE={key:0,class:"tw-flex tw-items-center tw-flex-nowrap tw-pr-3"},bE={class:"tw-relative tw-flex tw-flex-auto tw-overflow-x-clip"},SE={class:"tw-truncate vc-select__field-wrapper tw-relative tw-box-border tw-border tw-border-solid tw-border-[color:var(--select-border-color)] tw-rounded-[var(--select-border-radius)] tw-bg-[color:var(--select-background-color)] tw-flex tw-flex-col tw-flex-nowrap tw-flex-auto tw-items-stretch"},xE={class:"tw-flex tw-flex-col tw-flex-nowrap tw-flex-auto tw-relative"},kE={class:"tw-flex tw-flex-nowrap tw-flex-auto tw-h-full tw-px-3"},CE={key:0,class:"tw-flex tw-items-center tw-flex-nowrap tw-pr-3"},EE={class:"tw-flex tw-flex-nowrap tw-flex-auto tw-h-full tw-truncate"},_E={key:0,class:"tw-flex tw-items-center tw-flex-wrap tw-pr-3 tw-pointer-events-none"},TE=["onClick"],AE={key:0,class:"tw-text-[#a5a5a5]"},$E={key:1,class:"tw-flex tw-flex-wrap tw-gap-1 tw-py-1"},OE={key:0,class:"tw-bg-[#fbfdfe] tw-border tw-border-solid tw-border-[color:#bdd1df] tw-rounded-[2px] tw-flex tw-items-center tw-h-[28px] tw-box-border tw-px-2"},LE={key:1,class:"tw-flex tw-items-center tw-flex-wrap tw-pl-3 tw-pointer-events-none"},ME={key:1,class:"tw-flex tw-items-center tw-flex-nowrap tw-pl-3"},RE={key:2,class:"tw-flex tw-items-center tw-flex-nowrap tw-pl-3 tw-text-[color:var(--select-clear-color)]"},NE={key:3,class:"tw-flex tw-items-center tw-flex-nowrap tw-pl-3"},IE=["onClick"],DE={class:"tw-absolute tw-translate-y-full tw-left-0 tw-right-0 tw-bottom-0 tw-min-h-[20px]"},PE={key:0},BE={key:1},FE={key:1,class:"tw-flex tw-items-center tw-flex-nowrap tw-pl-3"},VE={key:0,class:"tw-w-full tw-h-full tw-box-border tw-flex tw-flex-col tw-items-center tw-justify-center"},UE=l.createElementVNode("span",{class:"tw-m-4 tw-text-xl tw-font-medium"},"No options",-1),WE=["onClick"],HE=l.defineComponent({__name:"vc-select",props:{name:{default:"Field"},modelValue:null,mapOptions:{type:[Boolean,null],default:!0},error:{type:[Boolean,null]},errorMessage:null,label:null,hint:null,prefix:null,suffix:null,loading:{type:[Boolean,null]},clearable:{type:[Boolean,null],default:!0},disabled:{type:[Boolean,null]},multiple:{type:[Boolean,null]},options:{type:[Function,Array,null],default:()=>[]},optionValue:{type:[Function,String,null],default:"id"},optionLabel:{type:[Function,String,null],default:"title"},emitValue:{type:[Boolean,null],default:!0},debounce:{default:500},placeholder:{default:"Click to select..."},tooltip:null,required:{type:[Boolean,null],default:!1},searchable:{type:[Boolean,null],default:!1}},emits:["update:modelValue","search","close"],setup(t,{emit:e}){const n=t,{modelValue:r,options:i}=l.toRefs(n),s=l.ref(!1),d=l.ref(),h=l.ref(),c=l.ref(),m=l.ref(),a=l.ref(),o=l.ref(),u=l.ref(!1),f=l.ref(),p=l.ref([]),g=l.ref([]),v=l.ref([]),y=l.ref();let x,T,k;uE(o,([{isIntersecting:U}])=>{U&&b()},{threshold:1,root:a.value?.component}),l.watch(r,async(U,Z)=>{if(U&&!Z){const Q=g.value.filter(se=>n.modelValue&&Array.isArray(n.modelValue)?CC(g.value,n.modelValue):n.modelValue&&typeof n.modelValue=="object"?g.value.includes(n.modelValue):se[n.optionLabel]===n.modelValue);if(Q&&Q.length)p.value=Q;else if(n.options&&typeof n.options=="function"){const se=await n.options(void 0,void 0,Array.isArray(n.modelValue)?n.modelValue:[n.modelValue]);p.value=se.results.filter(de=>de[n.optionValue]===n.modelValue)}else n.options&&Array.isArray(n.options)&&(p.value=n.options.filter(se=>se[n.optionValue]===n.modelValue))}},{immediate:!0}),l.watch(i,async()=>{if(n.options&&typeof n.options=="function")try{u.value=!0;const U=await n.options();g.value=U.results,y.value=U.totalCount}finally{u.value=!1}else n.options&&Array.isArray(n.options)&&(g.value=n.options)},{immediate:!0}),l.watch(()=>g.value,U=>{v.value=U},{immediate:!0,deep:!0});async function b(){if(n.options&&typeof n.options=="function")try{u.value=!0;const U=await n.options(f.value,g.value.length);g.value.push(...U.results)}finally{u.value=!1}}const C=l.computed(()=>g.value.length<y.value),$=l.computed(()=>L(n.optionValue,"value")),_=l.computed(()=>L(n.optionLabel,"label")),S=l.computed(()=>{const U=n.mapOptions===!0&&n.multiple!==!0,Z=n.modelValue!==void 0&&(n.modelValue!==null||U===!0)?n.multiple===!0&&Array.isArray(n.modelValue)?n.modelValue:[n.modelValue]:[];if(n.mapOptions===!0&&Array.isArray(g.value)===!0){const Q=n.mapOptions===!0&&k!==void 0?k:[],se=Z.map(de=>M(de,Q));return n.modelValue===null&&U===!0?se.filter(de=>de!==null):se}return Z});l.watch(S,U=>{k=U},{immediate:!0});const w=l.computed(()=>S.value.map((U,Z)=>({index:Z,opt:U,selected:!0,toggleOption:V,removeAtIndex:B}))),E=l.computed(()=>R(S.value)),A=l.computed(()=>S.value.map(U=>$.value(U))),O=l.computed(()=>v.value.map((U,Z)=>({index:Z,opt:U,selected:P(U)===!0,label:_.value(U),toggleOption:V})));function L(U,Z){const Q=U!==void 0?U:Z;return typeof Q=="function"?Q:se=>se!==null&&typeof se=="object"&&Q in se?se[Q]:se}function M(U,Z){const Q=se=>ii($.value(se),U);return p.value.find(Q)||g.value.find(Q)||Z.find(Q)||U}function R(U){return U!=null&&(""+U).length>0}function D(U){return n.emitValue===!0?_.value(U):$.value(U)}function B(U){if(U>-1&&U<S.value.length)if(n.multiple===!0){const Z=n.modelValue.slice();Z.splice(U,1),e("update:modelValue",Z)}else e("update:modelValue",null)}function P(U){const Z=$.value(U);return A.value.find(Q=>ii(Q,Z))!==void 0}function H(){s.value=!1,h.value?.destroy(),e("close"),Y()}const Y=async()=>{n.options&&typeof n.options=="function"?g.value=(await n.options()).results:g.value=n.options,f.value=void 0};async function G(){n.disabled||(s.value?H():(s.value=!0,await l.nextTick(()=>{d?.value?.focus(),h.value=Ji(c.value,m.value,{placement:"bottom",modifiers:[{name:"flip",options:{fallbackPlacements:["top","bottom"]}},{name:"preventOverflow",options:{mainAxis:!1}},{name:"sameWidthChangeBorders",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:({state:U})=>{U.placement==="top"?(U.styles.popper.borderTop="1px solid var(--select-border-color)",U.styles.popper.borderBottom="1px solid var(--select-background-color)",U.styles.popper.borderRadius="var(--select-border-radius) var(--select-border-radius) 0 0"):(U.styles.popper.borderBottom="1px solid var(--select-border-color)",U.styles.popper.borderTop="1px solid var(--select-background-color)",U.styles.popper.borderRadius="0 0 var(--select-border-radius) var(--select-border-radius)"),U.styles.popper.width=`${U.rects.reference.width}px`},effect:({state:U})=>{const Z=U.elements.reference;U.placement==="top"?(U.elements.popper.style.borderTop="1px solid var(--select-border-color)",U.elements.popper.style.borderBottom="1px solid var(--select-background-color)",U.elements.popper.style.borderRadius="var(--select-border-radius) var(--select-border-radius) 0 0"):(U.elements.popper.style.borderBottom="1px solid var(--select-border-color)",U.elements.popper.style.borderTop="1px solid var(--select-background-color)",U.elements.popper.style.borderRadius="0 0 var(--select-border-radius) var(--select-border-radius)"),U.elements.popper.style.width=`${Z.offsetWidth}px`}},{name:"offset",options:{offset:[0,-2]}}]})})))}function V(U){if(U===void 0)return;const Z=$.value(U);if(n.multiple!==!0){(S.value.length===0||ii($.value(S.value[0]),Z)!==!0)&&(e("update:modelValue",n.emitValue===!0?Z:U),s.value=!1);return}if(S.value.length===0){const de=n.emitValue===!0?Z:U;e("update:modelValue",n.multiple===!0?[de]:de);return}const Q=n.modelValue.slice(),se=A.value.findIndex(de=>ii(de,Z));if(se>-1)Q.splice(se,1);else{const de=n.emitValue===!0?Z:U;Q.push(de)}e("update:modelValue",Q),s.value&&h.value.update()}async function z(U){if(f.value=U,n.options&&typeof n.options=="function")try{u.value=!0,v.value=(await n.options(f.value)).results}finally{u.value=!1}else v.value=g.value.filter(Z=>Z[n.optionLabel].toLowerCase().includes(f.value.toLowerCase()))}function X(U){if(!U||!U.target)return;const Z=U.target.value;q(Z)}function q(U){x=()=>{e("search",U),z(U),x=void 0},n.debounce!==void 0?(clearTimeout(T),T=setTimeout(x,+n.debounce)):x()}function ne(){e("update:modelValue",null)}return(U,Z)=>{const Q=l.resolveComponent("VcHint");return l.openBlock(),l.createElementBlock("div",{class:l.normalizeClass(["vc-select tw-box-border",{"vc-select_opened":s.value,"vc-select_error":t.error,"vc-select_disabled":t.disabled,"tw-pb-[20px]":t.error||t.hint}])},[t.label?(l.openBlock(),l.createBlock(l.unref(Gn),{key:0,class:"tw-mb-2",required:t.required},l.createSlots({default:l.withCtx(()=>[l.createElementVNode("span",null,l.toDisplayString(t.label),1)]),_:2},[t.tooltip?{name:"tooltip",fn:l.withCtx(()=>[l.createElementVNode("span",{innerHTML:t.tooltip},null,8,gE)]),key:"0"}:void 0]),1032,["required"])):l.createCommentVNode("",!0),l.createElementVNode("div",{class:"tw-flex tw-flex-nowrap tw-items-start",ref_key:"dropdownToggleRef",ref:c},[l.createElementVNode("div",vE,[l.renderSlot(U.$slots,"control",{toggleHandler:G},()=>[l.createElementVNode("div",wE,[U.$slots.prepend?(l.openBlock(),l.createElementBlock("div",yE,[l.renderSlot(U.$slots,"prepend")])):l.createCommentVNode("",!0),l.createElementVNode("div",bE,[l.createElementVNode("div",SE,[l.createElementVNode("div",xE,[l.createElementVNode("div",kE,[U.$slots["prepend-inner"]?(l.openBlock(),l.createElementBlock("div",CE,[l.renderSlot(U.$slots,"prepend-inner")])):l.createCommentVNode("",!0),l.createElementVNode("div",EE,[t.prefix?(l.openBlock(),l.createElementBlock("div",_E,l.toDisplayString(t.prefix),1)):l.createCommentVNode("",!0),l.createElementVNode("div",{class:"tw-w-full tw-appearance-none tw-border-none tw-outline-none tw-min-h-[var(--select-height)] tw-flex tw-items-center tw-w-full tw-box-border tw-box-border tw-cursor-pointer invalid:tw-text-[color:var(--select-placeholder-color)] tw-truncate",onClick:l.withModifiers(G,["stop"])},[l.unref(E)?l.unref(w)&&l.unref(w).length&&l.unref(E)?(l.openBlock(),l.createElementBlock(l.Fragment,{key:1},[U.$slots["selected-item"]?(l.openBlock(!0),l.createElementBlock(l.Fragment,{key:0},l.renderList(l.unref(w),(se,de)=>l.renderSlot(U.$slots,"selected-item",l.mergeProps(se,{key:de}))),128)):(l.openBlock(),l.createElementBlock("div",$E,[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(l.unref(w),(se,de)=>(l.openBlock(),l.createElementBlock("div",l.mergeProps(se,{key:de,class:"tw-flex tw-items-center"}),[t.multiple?(l.openBlock(),l.createElementBlock("div",OE,[l.createElementVNode("span",null,l.toDisplayString(D(se.opt)),1),t.disabled?l.createCommentVNode("",!0):(l.openBlock(),l.createBlock(l.unref(Se),{key:0,class:"tw-text-[#a9bfd2] tw-ml-2 tw-cursor-pointer hover:tw-text-[color:var(--select-clear-color-hover)]",icon:"fas fa-times",size:"s",onClick:l.withModifiers(I=>B(se.index),["stop"])},null,8,["onClick"]))])):t.multiple?l.createCommentVNode("",!0):(l.openBlock(),l.createElementBlock(l.Fragment,{key:1},[l.createTextVNode(l.toDisplayString(D(se.opt)),1)],64))],16))),128))]))],64)):l.createCommentVNode("",!0):(l.openBlock(),l.createElementBlock("div",AE,l.toDisplayString(t.placeholder),1))],8,TE),t.suffix?(l.openBlock(),l.createElementBlock("div",LE,l.toDisplayString(t.suffix),1)):l.createCommentVNode("",!0),t.clearable&&l.unref(E)&&!t.disabled?(l.openBlock(),l.createElementBlock("div",{key:2,class:"tw-cursor-pointer tw-flex tw-items-center tw-pl-3 tw-text-[color:var(--select-clear-color)] hover:tw-text-[color:var(--select-clear-color-hover)]",onClick:ne},[l.createVNode(l.unref(Se),{size:"s",icon:"fas fa-times"})])):l.createCommentVNode("",!0)]),U.$slots["append-inner"]?(l.openBlock(),l.createElementBlock("div",ME,[l.renderSlot(U.$slots,"append-inner")])):l.createCommentVNode("",!0),t.loading||u.value?(l.openBlock(),l.createElementBlock("div",RE,[l.createVNode(l.unref(Se),{icon:"fas fa-spinner tw-animate-spin",size:"m"})])):l.createCommentVNode("",!0),t.disabled?l.createCommentVNode("",!0):(l.openBlock(),l.createElementBlock("div",NE,[l.createElementVNode("div",{class:"vc-select__chevron tw-cursor-pointer tw-flex-nowrap tw-text-[color:var(--select-chevron-color)] hover:tw-text-[color:var(--select-chevron-color-hover)]",onClick:l.withModifiers(G,["stop"])},[l.createVNode(l.unref(Se),{size:"s",icon:"fas fa-chevron-down"})],8,IE)]))])])]),l.createElementVNode("div",DE,[l.createVNode(l.Transition,{name:"slide-up",mode:"out-in"},{default:l.withCtx(()=>[t.error?(l.openBlock(),l.createElementBlock("div",PE,[l.renderSlot(U.$slots,"error",{},()=>[t.errorMessage?(l.openBlock(),l.createBlock(Q,{key:0,class:"tw-mt-1 tw-text-[color:var(--select-border-color-error)]"},{default:l.withCtx(()=>[l.createTextVNode(l.toDisplayString(t.errorMessage),1)]),_:1})):l.createCommentVNode("",!0)])])):(l.openBlock(),l.createElementBlock("div",BE,[l.renderSlot(U.$slots,"hint",{},()=>[t.hint?(l.openBlock(),l.createBlock(Q,{key:0,class:"tw-text-[color:var(--select-placeholder-color)] tw-mt-1 tw-break-words tw-p-0"},{default:l.withCtx(()=>[l.createTextVNode(l.toDisplayString(t.hint),1)]),_:1})):l.createCommentVNode("",!0)])]))]),_:3})])]),U.$slots.append?(l.openBlock(),l.createElementBlock("div",FE,[l.renderSlot(U.$slots,"append")])):l.createCommentVNode("",!0)])])]),s.value?l.withDirectives((l.openBlock(),l.createElementBlock("div",{key:0,class:"tw-flex tw-flex-col tw-box-border tw-max-h-[300px] tw-h-auto tw-z-10 tw-overflow-hidden tw-absolute tw-bg-[color:var(--select-background-color)] tw-border tw-border-solid tw-border-[color:var(--select-border-color)] tw-border-t-[color:var(--select-background-color)] tw-rounded-b-[var(--select-border-radius)] tw-p-2",ref_key:"dropdownRef",ref:m},[t.searchable?(l.openBlock(),l.createElementBlock("input",{key:0,ref_key:"searchRef",ref:d,class:"tw-w-full tw-box-border tw-border tw-border-solid tw-border-[#eaecf2] tw-rounded-[4px] tw-h-[32px] tw-leading-[32px] tw-outline-none tw-mb-3 tw-px-2",onInput:X},null,544)):l.createCommentVNode("",!0),l.createVNode(l.unref(jr),{"no-padding":!0,ref_key:"root",ref:a},{default:l.withCtx(()=>[g.value&&g.value.length?(l.openBlock(!0),l.createElementBlock(l.Fragment,{key:1},l.renderList(l.unref(O),(se,de)=>(l.openBlock(),l.createElementBlock("div",{class:l.normalizeClass(["tw-flex tw-items-center tw-min-h-[36px] tw-my-1 tw-box-border tw-px-2 tw-rounded-[3px] tw-cursor-pointer hover:tw-bg-[#eff7fc]",{"tw-bg-[#eff7fc]":se.selected}]),key:de,onClick:I=>se.toggleOption(se.opt)},[l.renderSlot(U.$slots,"option",l.normalizeProps(l.guardReactiveProps(se)),()=>[l.createTextVNode(l.toDisplayString(se.label),1)])],10,WE))),128)):(l.openBlock(),l.createElementBlock("div",VE,[l.renderSlot(U.$slots,"no-options",{},()=>[UE])])),l.unref(C)?(l.openBlock(),l.createElementBlock("span",{key:2,ref_key:"el",ref:o},null,512)):l.createCommentVNode("",!0)]),_:3},512)])),[[l.unref(ls),H]]):l.createCommentVNode("",!0)],512)],2)}}});const jf=HE;function Lh(t){return t!==null&&typeof t=="object"&&"constructor"in t&&t.constructor===Object}function Lc(t,e){t===void 0&&(t={}),e===void 0&&(e={}),Object.keys(e).forEach(function(n){typeof t[n]>"u"?t[n]=e[n]:Lh(e[n])&&Lh(t[n])&&Object.keys(e[n]).length>0&&Lc(t[n],e[n])})}var zf={body:{},addEventListener:function(){},removeEventListener:function(){},activeElement:{blur:function(){},nodeName:""},querySelector:function(){return null},querySelectorAll:function(){return[]},getElementById:function(){return null},createEvent:function(){return{initEvent:function(){}}},createElement:function(){return{children:[],childNodes:[],style:{},setAttribute:function(){},getElementsByTagName:function(){return[]}}},createElementNS:function(){return{}},importNode:function(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function bt(){var t=typeof document<"u"?document:{};return Lc(t,zf),t}var jE={document:zf,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState:function(){},pushState:function(){},go:function(){},back:function(){}},CustomEvent:function(){return this},addEventListener:function(){},removeEventListener:function(){},getComputedStyle:function(){return{getPropertyValue:function(){return""}}},Image:function(){},Date:function(){},screen:{},setTimeout:function(){},clearTimeout:function(){},matchMedia:function(){return{}},requestAnimationFrame:function(t){return typeof setTimeout>"u"?(t(),null):setTimeout(t,0)},cancelAnimationFrame:function(t){typeof setTimeout>"u"||clearTimeout(t)}};function nt(){var t=typeof window<"u"?window:{};return Lc(t,jE),t}function zE(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function pl(t){return pl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},pl(t)}function Ys(t,e){return Ys=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},Ys(t,e)}function GE(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function Ls(t,e,n){return GE()?Ls=Reflect.construct:Ls=function(i,s,d){var h=[null];h.push.apply(h,s);var c=Function.bind.apply(i,h),m=new c;return d&&Ys(m,d.prototype),m},Ls.apply(null,arguments)}function YE(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function gl(t){var e=typeof Map=="function"?new Map:void 0;return gl=function(r){if(r===null||!YE(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e<"u"){if(e.has(r))return e.get(r);e.set(r,i)}function i(){return Ls(r,arguments,pl(this).constructor)}return i.prototype=Object.create(r.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),Ys(i,r)},gl(t)}function JE(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function KE(t){var e=t.__proto__;Object.defineProperty(t,"__proto__",{get:function(){return e},set:function(r){e.__proto__=r}})}var Dn=function(t){zE(e,t);function e(n){var r;return r=t.call.apply(t,[this].concat(n))||this,KE(JE(r)),r}return e}(gl(Array));function us(t){t===void 0&&(t=[]);var e=[];return t.forEach(function(n){Array.isArray(n)?e.push.apply(e,us(n)):e.push(n)}),e}function Gf(t,e){return Array.prototype.filter.call(t,e)}function XE(t){for(var e=[],n=0;n<t.length;n+=1)e.indexOf(t[n])===-1&&e.push(t[n]);return e}function qE(t,e){if(typeof t!="string")return[t];for(var n=[],r=e.querySelectorAll(t),i=0;i<r.length;i+=1)n.push(r[i]);return n}function ue(t,e){var n=nt(),r=bt(),i=[];if(!e&&t instanceof Dn)return t;if(!t)return new Dn(i);if(typeof t=="string"){var s=t.trim();if(s.indexOf("<")>=0&&s.indexOf(">")>=0){var d="div";s.indexOf("<li")===0&&(d="ul"),s.indexOf("<tr")===0&&(d="tbody"),(s.indexOf("<td")===0||s.indexOf("<th")===0)&&(d="tr"),s.indexOf("<tbody")===0&&(d="table"),s.indexOf("<option")===0&&(d="select");var h=r.createElement(d);h.innerHTML=s;for(var c=0;c<h.childNodes.length;c+=1)i.push(h.childNodes[c])}else i=qE(t.trim(),e||r)}else if(t.nodeType||t===n||t===r)i.push(t);else if(Array.isArray(t)){if(t instanceof Dn)return t;i=t}return new Dn(XE(i))}ue.fn=Dn.prototype;function QE(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var r=us(e.map(function(i){return i.split(" ")}));return this.forEach(function(i){var s;(s=i.classList).add.apply(s,r)}),this}function ZE(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var r=us(e.map(function(i){return i.split(" ")}));return this.forEach(function(i){var s;(s=i.classList).remove.apply(s,r)}),this}function e1(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var r=us(e.map(function(i){return i.split(" ")}));this.forEach(function(i){r.forEach(function(s){i.classList.toggle(s)})})}function t1(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var r=us(e.map(function(i){return i.split(" ")}));return Gf(this,function(i){return r.filter(function(s){return i.classList.contains(s)}).length>0}).length>0}function n1(t,e){if(arguments.length===1&&typeof t=="string")return this[0]?this[0].getAttribute(t):void 0;for(var n=0;n<this.length;n+=1)if(arguments.length===2)this[n].setAttribute(t,e);else for(var r in t)this[n][r]=t[r],this[n].setAttribute(r,t[r]);return this}function r1(t){for(var e=0;e<this.length;e+=1)this[e].removeAttribute(t);return this}function i1(t){for(var e=0;e<this.length;e+=1)this[e].style.transform=t;return this}function s1(t){for(var e=0;e<this.length;e+=1)this[e].style.transitionDuration=typeof t!="string"?t+"ms":t;return this}function o1(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var r=e[0],i=e[1],s=e[2],d=e[3];typeof e[1]=="function"&&(r=e[0],s=e[1],d=e[2],i=void 0),d||(d=!1);function h(g){var v=g.target;if(!!v){var y=g.target.dom7EventData||[];if(y.indexOf(g)<0&&y.unshift(g),ue(v).is(i))s.apply(v,y);else for(var x=ue(v).parents(),T=0;T<x.length;T+=1)ue(x[T]).is(i)&&s.apply(x[T],y)}}function c(g){var v=g&&g.target?g.target.dom7EventData||[]:[];v.indexOf(g)<0&&v.unshift(g),s.apply(this,v)}for(var m=r.split(" "),a,o=0;o<this.length;o+=1){var u=this[o];if(i)for(a=0;a<m.length;a+=1){var p=m[a];u.dom7LiveListeners||(u.dom7LiveListeners={}),u.dom7LiveListeners[p]||(u.dom7LiveListeners[p]=[]),u.dom7LiveListeners[p].push({listener:s,proxyListener:h}),u.addEventListener(p,h,d)}else for(a=0;a<m.length;a+=1){var f=m[a];u.dom7Listeners||(u.dom7Listeners={}),u.dom7Listeners[f]||(u.dom7Listeners[f]=[]),u.dom7Listeners[f].push({listener:s,proxyListener:c}),u.addEventListener(f,c,d)}}return this}function a1(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var r=e[0],i=e[1],s=e[2],d=e[3];typeof e[1]=="function"&&(r=e[0],s=e[1],d=e[2],i=void 0),d||(d=!1);for(var h=r.split(" "),c=0;c<h.length;c+=1)for(var m=h[c],a=0;a<this.length;a+=1){var o=this[a],u=void 0;if(!i&&o.dom7Listeners?u=o.dom7Listeners[m]:i&&o.dom7LiveListeners&&(u=o.dom7LiveListeners[m]),u&&u.length)for(var f=u.length-1;f>=0;f-=1){var p=u[f];s&&p.listener===s||s&&p.listener&&p.listener.dom7proxy&&p.listener.dom7proxy===s?(o.removeEventListener(m,p.proxyListener,d),u.splice(f,1)):s||(o.removeEventListener(m,p.proxyListener,d),u.splice(f,1))}}return this}function l1(){for(var t=nt(),e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];for(var i=n[0].split(" "),s=n[1],d=0;d<i.length;d+=1)for(var h=i[d],c=0;c<this.length;c+=1){var m=this[c];if(t.CustomEvent){var a=new t.CustomEvent(h,{detail:s,bubbles:!0,cancelable:!0});m.dom7EventData=n.filter(function(o,u){return u>0}),m.dispatchEvent(a),m.dom7EventData=[],delete m.dom7EventData}}return this}function c1(t){var e=this;function n(r){r.target===this&&(t.call(this,r),e.off("transitionend",n))}return t&&e.on("transitionend",n),this}function u1(t){if(this.length>0){if(t){var e=this.styles();return this[0].offsetWidth+parseFloat(e.getPropertyValue("margin-right"))+parseFloat(e.getPropertyValue("margin-left"))}return this[0].offsetWidth}return null}function h1(t){if(this.length>0){if(t){var e=this.styles();return this[0].offsetHeight+parseFloat(e.getPropertyValue("margin-top"))+parseFloat(e.getPropertyValue("margin-bottom"))}return this[0].offsetHeight}return null}function d1(){if(this.length>0){var t=nt(),e=bt(),n=this[0],r=n.getBoundingClientRect(),i=e.body,s=n.clientTop||i.clientTop||0,d=n.clientLeft||i.clientLeft||0,h=n===t?t.scrollY:n.scrollTop,c=n===t?t.scrollX:n.scrollLeft;return{top:r.top+h-s,left:r.left+c-d}}return null}function f1(){var t=nt();return this[0]?t.getComputedStyle(this[0],null):{}}function m1(t,e){var n=nt(),r;if(arguments.length===1)if(typeof t=="string"){if(this[0])return n.getComputedStyle(this[0],null).getPropertyValue(t)}else{for(r=0;r<this.length;r+=1)for(var i in t)this[r].style[i]=t[i];return this}if(arguments.length===2&&typeof t=="string"){for(r=0;r<this.length;r+=1)this[r].style[t]=e;return this}return this}function p1(t){return t?(this.forEach(function(e,n){t.apply(e,[e,n])}),this):this}function g1(t){var e=Gf(this,t);return ue(e)}function v1(t){if(typeof t>"u")return this[0]?this[0].innerHTML:null;for(var e=0;e<this.length;e+=1)this[e].innerHTML=t;return this}function w1(t){if(typeof t>"u")return this[0]?this[0].textContent.trim():null;for(var e=0;e<this.length;e+=1)this[e].textContent=t;return this}function y1(t){var e=nt(),n=bt(),r=this[0],i,s;if(!r||typeof t>"u")return!1;if(typeof t=="string"){if(r.matches)return r.matches(t);if(r.webkitMatchesSelector)return r.webkitMatchesSelector(t);if(r.msMatchesSelector)return r.msMatchesSelector(t);for(i=ue(t),s=0;s<i.length;s+=1)if(i[s]===r)return!0;return!1}if(t===n)return r===n;if(t===e)return r===e;if(t.nodeType||t instanceof Dn){for(i=t.nodeType?[t]:t,s=0;s<i.length;s+=1)if(i[s]===r)return!0;return!1}return!1}function b1(){var t=this[0],e;if(t){for(e=0;(t=t.previousSibling)!==null;)t.nodeType===1&&(e+=1);return e}}function S1(t){if(typeof t>"u")return this;var e=this.length;if(t>e-1)return ue([]);if(t<0){var n=e+t;return n<0?ue([]):ue([this[n]])}return ue([this[t]])}function x1(){for(var t,e=bt(),n=0;n<arguments.length;n+=1){t=n<0||arguments.length<=n?void 0:arguments[n];for(var r=0;r<this.length;r+=1)if(typeof t=="string"){var i=e.createElement("div");for(i.innerHTML=t;i.firstChild;)this[r].appendChild(i.firstChild)}else if(t instanceof Dn)for(var s=0;s<t.length;s+=1)this[r].appendChild(t[s]);else this[r].appendChild(t)}return this}function k1(t){var e=bt(),n,r;for(n=0;n<this.length;n+=1)if(typeof t=="string"){var i=e.createElement("div");for(i.innerHTML=t,r=i.childNodes.length-1;r>=0;r-=1)this[n].insertBefore(i.childNodes[r],this[n].childNodes[0])}else if(t instanceof Dn)for(r=0;r<t.length;r+=1)this[n].insertBefore(t[r],this[n].childNodes[0]);else this[n].insertBefore(t,this[n].childNodes[0]);return this}function C1(t){return this.length>0?t?this[0].nextElementSibling&&ue(this[0].nextElementSibling).is(t)?ue([this[0].nextElementSibling]):ue([]):this[0].nextElementSibling?ue([this[0].nextElementSibling]):ue([]):ue([])}function E1(t){var e=[],n=this[0];if(!n)return ue([]);for(;n.nextElementSibling;){var r=n.nextElementSibling;t?ue(r).is(t)&&e.push(r):e.push(r),n=r}return ue(e)}function _1(t){if(this.length>0){var e=this[0];return t?e.previousElementSibling&&ue(e.previousElementSibling).is(t)?ue([e.previousElementSibling]):ue([]):e.previousElementSibling?ue([e.previousElementSibling]):ue([])}return ue([])}function T1(t){var e=[],n=this[0];if(!n)return ue([]);for(;n.previousElementSibling;){var r=n.previousElementSibling;t?ue(r).is(t)&&e.push(r):e.push(r),n=r}return ue(e)}function A1(t){for(var e=[],n=0;n<this.length;n+=1)this[n].parentNode!==null&&(t?ue(this[n].parentNode).is(t)&&e.push(this[n].parentNode):e.push(this[n].parentNode));return ue(e)}function $1(t){for(var e=[],n=0;n<this.length;n+=1)for(var r=this[n].parentNode;r;)t?ue(r).is(t)&&e.push(r):e.push(r),r=r.parentNode;return ue(e)}function O1(t){var e=this;return typeof t>"u"?ue([]):(e.is(t)||(e=e.parents(t).eq(0)),e)}function L1(t){for(var e=[],n=0;n<this.length;n+=1)for(var r=this[n].querySelectorAll(t),i=0;i<r.length;i+=1)e.push(r[i]);return ue(e)}function M1(t){for(var e=[],n=0;n<this.length;n+=1)for(var r=this[n].children,i=0;i<r.length;i+=1)(!t||ue(r[i]).is(t))&&e.push(r[i]);return ue(e)}function R1(){for(var t=0;t<this.length;t+=1)this[t].parentNode&&this[t].parentNode.removeChild(this[t]);return this}var Mh={addClass:QE,removeClass:ZE,hasClass:t1,toggleClass:e1,attr:n1,removeAttr:r1,transform:i1,transition:s1,on:o1,off:a1,trigger:l1,transitionEnd:c1,outerWidth:u1,outerHeight:h1,styles:f1,offset:d1,css:m1,each:p1,html:v1,text:w1,is:y1,index:b1,eq:S1,append:x1,prepend:k1,next:C1,nextAll:E1,prev:_1,prevAll:T1,parent:A1,parents:$1,closest:O1,find:L1,children:M1,filter:g1,remove:R1};Object.keys(Mh).forEach(function(t){Object.defineProperty(ue.fn,t,{value:Mh[t],writable:!0})});function N1(t){var e=t;Object.keys(e).forEach(function(n){try{e[n]=null}catch{}try{delete e[n]}catch{}})}function vl(t,e){return e===void 0&&(e=0),setTimeout(t,e)}function Wn(){return Date.now()}function I1(t){var e=nt(),n;return e.getComputedStyle&&(n=e.getComputedStyle(t,null)),!n&&t.currentStyle&&(n=t.currentStyle),n||(n=t.style),n}function D1(t,e){e===void 0&&(e="x");var n=nt(),r,i,s,d=I1(t);return n.WebKitCSSMatrix?(i=d.transform||d.webkitTransform,i.split(",").length>6&&(i=i.split(", ").map(function(h){return h.replace(",",".")}).join(", ")),s=new n.WebKitCSSMatrix(i==="none"?"":i)):(s=d.MozTransform||d.OTransform||d.MsTransform||d.msTransform||d.transform||d.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),r=s.toString().split(",")),e==="x"&&(n.WebKitCSSMatrix?i=s.m41:r.length===16?i=parseFloat(r[12]):i=parseFloat(r[4])),e==="y"&&(n.WebKitCSSMatrix?i=s.m42:r.length===16?i=parseFloat(r[13]):i=parseFloat(r[5])),i||0}function si(t){return typeof t=="object"&&t!==null&&t.constructor&&Object.prototype.toString.call(t).slice(8,-1)==="Object"}function P1(t){return typeof window<"u"&&typeof window.HTMLElement<"u"?t instanceof HTMLElement:t&&(t.nodeType===1||t.nodeType===11)}function Ge(){for(var t=Object(arguments.length<=0?void 0:arguments[0]),e=["__proto__","constructor","prototype"],n=1;n<arguments.length;n+=1){var r=n<0||arguments.length<=n?void 0:arguments[n];if(r!=null&&!P1(r))for(var i=Object.keys(Object(r)).filter(function(m){return e.indexOf(m)<0}),s=0,d=i.length;s<d;s+=1){var h=i[s],c=Object.getOwnPropertyDescriptor(r,h);c!==void 0&&c.enumerable&&(si(t[h])&&si(r[h])?r[h].__swiper__?t[h]=r[h]:Ge(t[h],r[h]):!si(t[h])&&si(r[h])?(t[h]={},r[h].__swiper__?t[h]=r[h]:Ge(t[h],r[h])):t[h]=r[h])}}return t}function Yf(t,e){Object.keys(e).forEach(function(n){si(e[n])&&Object.keys(e[n]).forEach(function(r){typeof e[n][r]=="function"&&(e[n][r]=e[n][r].bind(t))}),t[n]=e[n]})}function B1(t,e,n,r){var i=bt();return n&&Object.keys(r).forEach(function(s){if(!e[s]&&e.auto===!0){var d=i.createElement("div");d.className=r[s],t.append(d),e[s]=d}}),e}var ka;function F1(){var t=nt(),e=bt();return{touch:!!("ontouchstart"in t||t.DocumentTouch&&e instanceof t.DocumentTouch),pointerEvents:!!t.PointerEvent&&"maxTouchPoints"in t.navigator&&t.navigator.maxTouchPoints>=0,observer:function(){return"MutationObserver"in t||"WebkitMutationObserver"in t}(),passiveListener:function(){var r=!1;try{var i=Object.defineProperty({},"passive",{get:function(){r=!0}});t.addEventListener("testPassiveListener",null,i)}catch{}return r}(),gestures:function(){return"ongesturestart"in t}()}}function Jf(){return ka||(ka=F1()),ka}var Ca;function V1(t){var e=t===void 0?{}:t,n=e.userAgent,r=Jf(),i=nt(),s=i.navigator.platform,d=n||i.navigator.userAgent,h={ios:!1,android:!1},c=i.screen.width,m=i.screen.height,a=d.match(/(Android);?[\s\/]+([\d.]+)?/),o=d.match(/(iPad).*OS\s([\d_]+)/),u=d.match(/(iPod)(.*OS\s([\d_]+))?/),f=!o&&d.match(/(iPhone\sOS|iOS)\s([\d_]+)/),p=s==="Win32",g=s==="MacIntel",v=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"];return!o&&g&&r.touch&&v.indexOf(c+"x"+m)>=0&&(o=d.match(/(Version)\/([\d.]+)/),o||(o=[0,1,"13_0_0"]),g=!1),a&&!p&&(h.os="android",h.android=!0),(o||f||u)&&(h.os="ios",h.ios=!0),h}function U1(t){return t===void 0&&(t={}),Ca||(Ca=V1(t)),Ca}var Ea;function W1(){var t=nt();function e(){var n=t.navigator.userAgent.toLowerCase();return n.indexOf("safari")>=0&&n.indexOf("chrome")<0&&n.indexOf("android")<0}return{isEdge:!!t.navigator.userAgent.match(/Edge/g),isSafari:e(),isWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(t.navigator.userAgent)}}function H1(){return Ea||(Ea=W1()),Ea}var j1=function(){var e=nt();return typeof e.ResizeObserver<"u"};const z1={name:"resize",create:function(){var e=this;Ge(e,{resize:{observer:null,createObserver:function(){!e||e.destroyed||!e.initialized||(e.resize.observer=new ResizeObserver(function(r){var i=e.width,s=e.height,d=i,h=s;r.forEach(function(c){var m=c.contentBoxSize,a=c.contentRect,o=c.target;o&&o!==e.el||(d=a?a.width:(m[0]||m).inlineSize,h=a?a.height:(m[0]||m).blockSize)}),(d!==i||h!==s)&&e.resize.resizeHandler()}),e.resize.observer.observe(e.el))},removeObserver:function(){e.resize.observer&&e.resize.observer.unobserve&&e.el&&(e.resize.observer.unobserve(e.el),e.resize.observer=null)},resizeHandler:function(){!e||e.destroyed||!e.initialized||(e.emit("beforeResize"),e.emit("resize"))},orientationChangeHandler:function(){!e||e.destroyed||!e.initialized||e.emit("orientationchange")}}})},on:{init:function(e){var n=nt();if(e.params.resizeObserver&&j1()){e.resize.createObserver();return}n.addEventListener("resize",e.resize.resizeHandler),n.addEventListener("orientationchange",e.resize.orientationChangeHandler)},destroy:function(e){var n=nt();e.resize.removeObserver(),n.removeEventListener("resize",e.resize.resizeHandler),n.removeEventListener("orientationchange",e.resize.orientationChangeHandler)}}};function wl(){return wl=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},wl.apply(this,arguments)}var G1={attach:function(e,n){n===void 0&&(n={});var r=nt(),i=this,s=r.MutationObserver||r.WebkitMutationObserver,d=new s(function(h){if(h.length===1){i.emit("observerUpdate",h[0]);return}var c=function(){i.emit("observerUpdate",h[0])};r.requestAnimationFrame?r.requestAnimationFrame(c):r.setTimeout(c,0)});d.observe(e,{attributes:typeof n.attributes>"u"?!0:n.attributes,childList:typeof n.childList>"u"?!0:n.childList,characterData:typeof n.characterData>"u"?!0:n.characterData}),i.observer.observers.push(d)},init:function(){var e=this;if(!(!e.support.observer||!e.params.observer)){if(e.params.observeParents)for(var n=e.$el.parents(),r=0;r<n.length;r+=1)e.observer.attach(n[r]);e.observer.attach(e.$el[0],{childList:e.params.observeSlideChildren}),e.observer.attach(e.$wrapperEl[0],{attributes:!1})}},destroy:function(){var e=this;e.observer.observers.forEach(function(n){n.disconnect()}),e.observer.observers=[]}};const Y1={name:"observer",params:{observer:!1,observeParents:!1,observeSlideChildren:!1},create:function(){var e=this;Yf(e,{observer:wl({},G1,{observers:[]})})},on:{init:function(e){e.observer.init()},destroy:function(e){e.observer.destroy()}}},J1={useParams:function(e){var n=this;!n.modules||Object.keys(n.modules).forEach(function(r){var i=n.modules[r];i.params&&Ge(e,i.params)})},useModules:function(e){e===void 0&&(e={});var n=this;!n.modules||Object.keys(n.modules).forEach(function(r){var i=n.modules[r],s=e[r]||{};i.on&&n.on&&Object.keys(i.on).forEach(function(d){n.on(d,i.on[d])}),i.create&&i.create.bind(n)(s)})}},K1={on:function(e,n,r){var i=this;if(typeof n!="function")return i;var s=r?"unshift":"push";return e.split(" ").forEach(function(d){i.eventsListeners[d]||(i.eventsListeners[d]=[]),i.eventsListeners[d][s](n)}),i},once:function(e,n,r){var i=this;if(typeof n!="function")return i;function s(){i.off(e,s),s.__emitterProxy&&delete s.__emitterProxy;for(var d=arguments.length,h=new Array(d),c=0;c<d;c++)h[c]=arguments[c];n.apply(i,h)}return s.__emitterProxy=n,i.on(e,s,r)},onAny:function(e,n){var r=this;if(typeof e!="function")return r;var i=n?"unshift":"push";return r.eventsAnyListeners.indexOf(e)<0&&r.eventsAnyListeners[i](e),r},offAny:function(e){var n=this;if(!n.eventsAnyListeners)return n;var r=n.eventsAnyListeners.indexOf(e);return r>=0&&n.eventsAnyListeners.splice(r,1),n},off:function(e,n){var r=this;return r.eventsListeners&&e.split(" ").forEach(function(i){typeof n>"u"?r.eventsListeners[i]=[]:r.eventsListeners[i]&&r.eventsListeners[i].forEach(function(s,d){(s===n||s.__emitterProxy&&s.__emitterProxy===n)&&r.eventsListeners[i].splice(d,1)})}),r},emit:function(){var e=this;if(!e.eventsListeners)return e;for(var n,r,i,s=arguments.length,d=new Array(s),h=0;h<s;h++)d[h]=arguments[h];typeof d[0]=="string"||Array.isArray(d[0])?(n=d[0],r=d.slice(1,d.length),i=e):(n=d[0].events,r=d[0].data,i=d[0].context||e),r.unshift(i);var c=Array.isArray(n)?n:n.split(" ");return c.forEach(function(m){e.eventsAnyListeners&&e.eventsAnyListeners.length&&e.eventsAnyListeners.forEach(function(a){a.apply(i,[m].concat(r))}),e.eventsListeners&&e.eventsListeners[m]&&e.eventsListeners[m].forEach(function(a){a.apply(i,r)})}),e}};function X1(){var t=this,e,n,r=t.$el;typeof t.params.width<"u"&&t.params.width!==null?e=t.params.width:e=r[0].clientWidth,typeof t.params.height<"u"&&t.params.height!==null?n=t.params.height:n=r[0].clientHeight,!(e===0&&t.isHorizontal()||n===0&&t.isVertical())&&(e=e-parseInt(r.css("padding-left")||0,10)-parseInt(r.css("padding-right")||0,10),n=n-parseInt(r.css("padding-top")||0,10)-parseInt(r.css("padding-bottom")||0,10),Number.isNaN(e)&&(e=0),Number.isNaN(n)&&(n=0),Ge(t,{width:e,height:n,size:t.isHorizontal()?e:n}))}function q1(){var t=this;function e(ce){return t.isHorizontal()?ce:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[ce]}function n(ce,me){return parseFloat(ce.getPropertyValue(e(me))||0)}var r=t.params,i=t.$wrapperEl,s=t.size,d=t.rtlTranslate,h=t.wrongRTL,c=t.virtual&&r.virtual.enabled,m=c?t.virtual.slides.length:t.slides.length,a=i.children("."+t.params.slideClass),o=c?t.virtual.slides.length:a.length,u=[],f=[],p=[],g=r.slidesOffsetBefore;typeof g=="function"&&(g=r.slidesOffsetBefore.call(t));var v=r.slidesOffsetAfter;typeof v=="function"&&(v=r.slidesOffsetAfter.call(t));var y=t.snapGrid.length,x=t.slidesGrid.length,T=r.spaceBetween,k=-g,b=0,C=0;if(!(typeof s>"u")){typeof T=="string"&&T.indexOf("%")>=0&&(T=parseFloat(T.replace("%",""))/100*s),t.virtualSize=-T,d?a.css({marginLeft:"",marginBottom:"",marginTop:""}):a.css({marginRight:"",marginBottom:"",marginTop:""});var $;r.slidesPerColumn>1&&(Math.floor(o/r.slidesPerColumn)===o/t.params.slidesPerColumn?$=o:$=Math.ceil(o/r.slidesPerColumn)*r.slidesPerColumn,r.slidesPerView!=="auto"&&r.slidesPerColumnFill==="row"&&($=Math.max($,r.slidesPerView*r.slidesPerColumn)));for(var _,S=r.slidesPerColumn,w=$/S,E=Math.floor(o/r.slidesPerColumn),A=0;A<o;A+=1){_=0;var O=a.eq(A);if(r.slidesPerColumn>1){var L=void 0,M=void 0,R=void 0;if(r.slidesPerColumnFill==="row"&&r.slidesPerGroup>1){var D=Math.floor(A/(r.slidesPerGroup*r.slidesPerColumn)),B=A-r.slidesPerColumn*r.slidesPerGroup*D,P=D===0?r.slidesPerGroup:Math.min(Math.ceil((o-D*S*r.slidesPerGroup)/S),r.slidesPerGroup);R=Math.floor(B/P),M=B-R*P+D*r.slidesPerGroup,L=M+R*$/S,O.css({"-webkit-box-ordinal-group":L,"-moz-box-ordinal-group":L,"-ms-flex-order":L,"-webkit-order":L,order:L})}else r.slidesPerColumnFill==="column"?(M=Math.floor(A/S),R=A-M*S,(M>E||M===E&&R===S-1)&&(R+=1,R>=S&&(R=0,M+=1))):(R=Math.floor(A/w),M=A-R*w);O.css(e("margin-top"),R!==0?r.spaceBetween&&r.spaceBetween+"px":"")}if(O.css("display")!=="none"){if(r.slidesPerView==="auto"){var H=getComputedStyle(O[0]),Y=O[0].style.transform,G=O[0].style.webkitTransform;if(Y&&(O[0].style.transform="none"),G&&(O[0].style.webkitTransform="none"),r.roundLengths)_=t.isHorizontal()?O.outerWidth(!0):O.outerHeight(!0);else{var V=n(H,"width"),z=n(H,"padding-left"),X=n(H,"padding-right"),q=n(H,"margin-left"),ne=n(H,"margin-right"),U=H.getPropertyValue("box-sizing");if(U&&U==="border-box")_=V+q+ne;else{var Z=O[0],Q=Z.clientWidth,se=Z.offsetWidth;_=V+z+X+q+ne+(se-Q)}}Y&&(O[0].style.transform=Y),G&&(O[0].style.webkitTransform=G),r.roundLengths&&(_=Math.floor(_))}else _=(s-(r.slidesPerView-1)*T)/r.slidesPerView,r.roundLengths&&(_=Math.floor(_)),a[A]&&(a[A].style[e("width")]=_+"px");a[A]&&(a[A].swiperSlideSize=_),p.push(_),r.centeredSlides?(k=k+_/2+b/2+T,b===0&&A!==0&&(k=k-s/2-T),A===0&&(k=k-s/2-T),Math.abs(k)<1/1e3&&(k=0),r.roundLengths&&(k=Math.floor(k)),C%r.slidesPerGroup===0&&u.push(k),f.push(k)):(r.roundLengths&&(k=Math.floor(k)),(C-Math.min(t.params.slidesPerGroupSkip,C))%t.params.slidesPerGroup===0&&u.push(k),f.push(k),k=k+_+T),t.virtualSize+=_+T,b=_,C+=1}}t.virtualSize=Math.max(t.virtualSize,s)+v;var de;if(d&&h&&(r.effect==="slide"||r.effect==="coverflow")&&i.css({width:t.virtualSize+r.spaceBetween+"px"}),r.setWrapperSize){var I;i.css((I={},I[e("width")]=t.virtualSize+r.spaceBetween+"px",I))}if(r.slidesPerColumn>1){var N;if(t.virtualSize=(_+r.spaceBetween)*$,t.virtualSize=Math.ceil(t.virtualSize/r.slidesPerColumn)-r.spaceBetween,i.css((N={},N[e("width")]=t.virtualSize+r.spaceBetween+"px",N)),r.centeredSlides){de=[];for(var j=0;j<u.length;j+=1){var te=u[j];r.roundLengths&&(te=Math.floor(te)),u[j]<t.virtualSize+u[0]&&de.push(te)}u=de}}if(!r.centeredSlides){de=[];for(var he=0;he<u.length;he+=1){var ve=u[he];r.roundLengths&&(ve=Math.floor(ve)),u[he]<=t.virtualSize-s&&de.push(ve)}u=de,Math.floor(t.virtualSize-s)-Math.floor(u[u.length-1])>1&&u.push(t.virtualSize-s)}if(u.length===0&&(u=[0]),r.spaceBetween!==0){var Xe,Je=t.isHorizontal()&&d?"marginLeft":e("marginRight");a.filter(function(ce,me){return r.cssMode?me!==a.length-1:!0}).css((Xe={},Xe[Je]=T+"px",Xe))}if(r.centeredSlides&&r.centeredSlidesBounds){var K=0;p.forEach(function(ce){K+=ce+(r.spaceBetween?r.spaceBetween:0)}),K-=r.spaceBetween;var re=K-s;u=u.map(function(ce){return ce<0?-g:ce>re?re+v:ce})}if(r.centerInsufficientSlides){var W=0;if(p.forEach(function(ce){W+=ce+(r.spaceBetween?r.spaceBetween:0)}),W-=r.spaceBetween,W<s){var J=(s-W)/2;u.forEach(function(ce,me){u[me]=ce-J}),f.forEach(function(ce,me){f[me]=ce+J})}}Ge(t,{slides:a,snapGrid:u,slidesGrid:f,slidesSizesGrid:p}),o!==m&&t.emit("slidesLengthChange"),u.length!==y&&(t.params.watchOverflow&&t.checkOverflow(),t.emit("snapGridLengthChange")),f.length!==x&&t.emit("slidesGridLengthChange"),(r.watchSlidesProgress||r.watchSlidesVisibility)&&t.updateSlidesOffset()}}function Q1(t){var e=this,n=[],r=e.virtual&&e.params.virtual.enabled,i=0,s;typeof t=="number"?e.setTransition(t):t===!0&&e.setTransition(e.params.speed);var d=function(a){return r?e.slides.filter(function(o){return parseInt(o.getAttribute("data-swiper-slide-index"),10)===a})[0]:e.slides.eq(a)[0]};if(e.params.slidesPerView!=="auto"&&e.params.slidesPerView>1)if(e.params.centeredSlides)e.visibleSlides.each(function(m){n.push(m)});else for(s=0;s<Math.ceil(e.params.slidesPerView);s+=1){var h=e.activeIndex+s;if(h>e.slides.length&&!r)break;n.push(d(h))}else n.push(d(e.activeIndex));for(s=0;s<n.length;s+=1)if(typeof n[s]<"u"){var c=n[s].offsetHeight;i=c>i?c:i}i&&e.$wrapperEl.css("height",i+"px")}function Z1(){for(var t=this,e=t.slides,n=0;n<e.length;n+=1)e[n].swiperSlideOffset=t.isHorizontal()?e[n].offsetLeft:e[n].offsetTop}function e_(t){t===void 0&&(t=this&&this.translate||0);var e=this,n=e.params,r=e.slides,i=e.rtlTranslate;if(r.length!==0){typeof r[0].swiperSlideOffset>"u"&&e.updateSlidesOffset();var s=-t;i&&(s=t),r.removeClass(n.slideVisibleClass),e.visibleSlidesIndexes=[],e.visibleSlides=[];for(var d=0;d<r.length;d+=1){var h=r[d],c=(s+(n.centeredSlides?e.minTranslate():0)-h.swiperSlideOffset)/(h.swiperSlideSize+n.spaceBetween);if(n.watchSlidesVisibility||n.centeredSlides&&n.autoHeight){var m=-(s-h.swiperSlideOffset),a=m+e.slidesSizesGrid[d],o=m>=0&&m<e.size-1||a>1&&a<=e.size||m<=0&&a>=e.size;o&&(e.visibleSlides.push(h),e.visibleSlidesIndexes.push(d),r.eq(d).addClass(n.slideVisibleClass))}h.progress=i?-c:c}e.visibleSlides=ue(e.visibleSlides)}}function t_(t){var e=this;if(typeof t>"u"){var n=e.rtlTranslate?-1:1;t=e&&e.translate&&e.translate*n||0}var r=e.params,i=e.maxTranslate()-e.minTranslate(),s=e.progress,d=e.isBeginning,h=e.isEnd,c=d,m=h;i===0?(s=0,d=!0,h=!0):(s=(t-e.minTranslate())/i,d=s<=0,h=s>=1),Ge(e,{progress:s,isBeginning:d,isEnd:h}),(r.watchSlidesProgress||r.watchSlidesVisibility||r.centeredSlides&&r.autoHeight)&&e.updateSlidesProgress(t),d&&!c&&e.emit("reachBeginning toEdge"),h&&!m&&e.emit("reachEnd toEdge"),(c&&!d||m&&!h)&&e.emit("fromEdge"),e.emit("progress",s)}function n_(){var t=this,e=t.slides,n=t.params,r=t.$wrapperEl,i=t.activeIndex,s=t.realIndex,d=t.virtual&&n.virtual.enabled;e.removeClass(n.slideActiveClass+" "+n.slideNextClass+" "+n.slidePrevClass+" "+n.slideDuplicateActiveClass+" "+n.slideDuplicateNextClass+" "+n.slideDuplicatePrevClass);var h;d?h=t.$wrapperEl.find("."+n.slideClass+'[data-swiper-slide-index="'+i+'"]'):h=e.eq(i),h.addClass(n.slideActiveClass),n.loop&&(h.hasClass(n.slideDuplicateClass)?r.children("."+n.slideClass+":not(."+n.slideDuplicateClass+')[data-swiper-slide-index="'+s+'"]').addClass(n.slideDuplicateActiveClass):r.children("."+n.slideClass+"."+n.slideDuplicateClass+'[data-swiper-slide-index="'+s+'"]').addClass(n.slideDuplicateActiveClass));var c=h.nextAll("."+n.slideClass).eq(0).addClass(n.slideNextClass);n.loop&&c.length===0&&(c=e.eq(0),c.addClass(n.slideNextClass));var m=h.prevAll("."+n.slideClass).eq(0).addClass(n.slidePrevClass);n.loop&&m.length===0&&(m=e.eq(-1),m.addClass(n.slidePrevClass)),n.loop&&(c.hasClass(n.slideDuplicateClass)?r.children("."+n.slideClass+":not(."+n.slideDuplicateClass+')[data-swiper-slide-index="'+c.attr("data-swiper-slide-index")+'"]').addClass(n.slideDuplicateNextClass):r.children("."+n.slideClass+"."+n.slideDuplicateClass+'[data-swiper-slide-index="'+c.attr("data-swiper-slide-index")+'"]').addClass(n.slideDuplicateNextClass),m.hasClass(n.slideDuplicateClass)?r.children("."+n.slideClass+":not(."+n.slideDuplicateClass+')[data-swiper-slide-index="'+m.attr("data-swiper-slide-index")+'"]').addClass(n.slideDuplicatePrevClass):r.children("."+n.slideClass+"."+n.slideDuplicateClass+'[data-swiper-slide-index="'+m.attr("data-swiper-slide-index")+'"]').addClass(n.slideDuplicatePrevClass)),t.emitSlidesClasses()}function r_(t){var e=this,n=e.rtlTranslate?e.translate:-e.translate,r=e.slidesGrid,i=e.snapGrid,s=e.params,d=e.activeIndex,h=e.realIndex,c=e.snapIndex,m=t,a;if(typeof m>"u"){for(var o=0;o<r.length;o+=1)typeof r[o+1]<"u"?n>=r[o]&&n<r[o+1]-(r[o+1]-r[o])/2?m=o:n>=r[o]&&n<r[o+1]&&(m=o+1):n>=r[o]&&(m=o);s.normalizeSlideIndex&&(m<0||typeof m>"u")&&(m=0)}if(i.indexOf(n)>=0)a=i.indexOf(n);else{var u=Math.min(s.slidesPerGroupSkip,m);a=u+Math.floor((m-u)/s.slidesPerGroup)}if(a>=i.length&&(a=i.length-1),m===d){a!==c&&(e.snapIndex=a,e.emit("snapIndexChange"));return}var f=parseInt(e.slides.eq(m).attr("data-swiper-slide-index")||m,10);Ge(e,{snapIndex:a,realIndex:f,previousIndex:d,activeIndex:m}),e.emit("activeIndexChange"),e.emit("snapIndexChange"),h!==f&&e.emit("realIndexChange"),(e.initialized||e.params.runCallbacksOnInit)&&e.emit("slideChange")}function i_(t){var e=this,n=e.params,r=ue(t.target).closest("."+n.slideClass)[0],i=!1,s;if(r){for(var d=0;d<e.slides.length;d+=1)if(e.slides[d]===r){i=!0,s=d;break}}if(r&&i)e.clickedSlide=r,e.virtual&&e.params.virtual.enabled?e.clickedIndex=parseInt(ue(r).attr("data-swiper-slide-index"),10):e.clickedIndex=s;else{e.clickedSlide=void 0,e.clickedIndex=void 0;return}n.slideToClickedSlide&&e.clickedIndex!==void 0&&e.clickedIndex!==e.activeIndex&&e.slideToClickedSlide()}const s_={updateSize:X1,updateSlides:q1,updateAutoHeight:Q1,updateSlidesOffset:Z1,updateSlidesProgress:e_,updateProgress:t_,updateSlidesClasses:n_,updateActiveIndex:r_,updateClickedSlide:i_};function o_(t){t===void 0&&(t=this.isHorizontal()?"x":"y");var e=this,n=e.params,r=e.rtlTranslate,i=e.translate,s=e.$wrapperEl;if(n.virtualTranslate)return r?-i:i;if(n.cssMode)return i;var d=D1(s[0],t);return r&&(d=-d),d||0}function a_(t,e){var n=this,r=n.rtlTranslate,i=n.params,s=n.$wrapperEl,d=n.wrapperEl,h=n.progress,c=0,m=0,a=0;n.isHorizontal()?c=r?-t:t:m=t,i.roundLengths&&(c=Math.floor(c),m=Math.floor(m)),i.cssMode?d[n.isHorizontal()?"scrollLeft":"scrollTop"]=n.isHorizontal()?-c:-m:i.virtualTranslate||s.transform("translate3d("+c+"px, "+m+"px, "+a+"px)"),n.previousTranslate=n.translate,n.translate=n.isHorizontal()?c:m;var o,u=n.maxTranslate()-n.minTranslate();u===0?o=0:o=(t-n.minTranslate())/u,o!==h&&n.updateProgress(t),n.emit("setTranslate",n.translate,e)}function l_(){return-this.snapGrid[0]}function c_(){return-this.snapGrid[this.snapGrid.length-1]}function u_(t,e,n,r,i){t===void 0&&(t=0),e===void 0&&(e=this.params.speed),n===void 0&&(n=!0),r===void 0&&(r=!0);var s=this,d=s.params,h=s.wrapperEl;if(s.animating&&d.preventInteractionOnTransition)return!1;var c=s.minTranslate(),m=s.maxTranslate(),a;if(r&&t>c?a=c:r&&t<m?a=m:a=t,s.updateProgress(a),d.cssMode){var o=s.isHorizontal();if(e===0)h[o?"scrollLeft":"scrollTop"]=-a;else if(h.scrollTo){var u;h.scrollTo((u={},u[o?"left":"top"]=-a,u.behavior="smooth",u))}else h[o?"scrollLeft":"scrollTop"]=-a;return!0}return e===0?(s.setTransition(0),s.setTranslate(a),n&&(s.emit("beforeTransitionStart",e,i),s.emit("transitionEnd"))):(s.setTransition(e),s.setTranslate(a),n&&(s.emit("beforeTransitionStart",e,i),s.emit("transitionStart")),s.animating||(s.animating=!0,s.onTranslateToWrapperTransitionEnd||(s.onTranslateToWrapperTransitionEnd=function(p){!s||s.destroyed||p.target===this&&(s.$wrapperEl[0].removeEventListener("transitionend",s.onTranslateToWrapperTransitionEnd),s.$wrapperEl[0].removeEventListener("webkitTransitionEnd",s.onTranslateToWrapperTransitionEnd),s.onTranslateToWrapperTransitionEnd=null,delete s.onTranslateToWrapperTransitionEnd,n&&s.emit("transitionEnd"))}),s.$wrapperEl[0].addEventListener("transitionend",s.onTranslateToWrapperTransitionEnd),s.$wrapperEl[0].addEventListener("webkitTransitionEnd",s.onTranslateToWrapperTransitionEnd))),!0}const h_={getTranslate:o_,setTranslate:a_,minTranslate:l_,maxTranslate:c_,translateTo:u_};function d_(t,e){var n=this;n.params.cssMode||n.$wrapperEl.transition(t),n.emit("setTransition",t,e)}function f_(t,e){t===void 0&&(t=!0);var n=this,r=n.activeIndex,i=n.params,s=n.previousIndex;if(!i.cssMode){i.autoHeight&&n.updateAutoHeight();var d=e;if(d||(r>s?d="next":r<s?d="prev":d="reset"),n.emit("transitionStart"),t&&r!==s){if(d==="reset"){n.emit("slideResetTransitionStart");return}n.emit("slideChangeTransitionStart"),d==="next"?n.emit("slideNextTransitionStart"):n.emit("slidePrevTransitionStart")}}}function m_(t,e){t===void 0&&(t=!0);var n=this,r=n.activeIndex,i=n.previousIndex,s=n.params;if(n.animating=!1,!s.cssMode){n.setTransition(0);var d=e;if(d||(r>i?d="next":r<i?d="prev":d="reset"),n.emit("transitionEnd"),t&&r!==i){if(d==="reset"){n.emit("slideResetTransitionEnd");return}n.emit("slideChangeTransitionEnd"),d==="next"?n.emit("slideNextTransitionEnd"):n.emit("slidePrevTransitionEnd")}}}const p_={setTransition:d_,transitionStart:f_,transitionEnd:m_};function g_(t,e,n,r,i){if(t===void 0&&(t=0),e===void 0&&(e=this.params.speed),n===void 0&&(n=!0),typeof t!="number"&&typeof t!="string")throw new Error("The 'index' argument cannot have type other than 'number' or 'string'. ["+typeof t+"] given.");if(typeof t=="string"){var s=parseInt(t,10),d=isFinite(s);if(!d)throw new Error("The passed-in 'index' (string) couldn't be converted to 'number'. ["+t+"] given.");t=s}var h=this,c=t;c<0&&(c=0);var m=h.params,a=h.snapGrid,o=h.slidesGrid,u=h.previousIndex,f=h.activeIndex,p=h.rtlTranslate,g=h.wrapperEl,v=h.enabled;if(h.animating&&m.preventInteractionOnTransition||!v&&!r&&!i)return!1;var y=Math.min(h.params.slidesPerGroupSkip,c),x=y+Math.floor((c-y)/h.params.slidesPerGroup);x>=a.length&&(x=a.length-1),(f||m.initialSlide||0)===(u||0)&&n&&h.emit("beforeSlideChangeStart");var T=-a[x];if(h.updateProgress(T),m.normalizeSlideIndex)for(var k=0;k<o.length;k+=1){var b=-Math.floor(T*100),C=Math.floor(o[k]*100),$=Math.floor(o[k+1]*100);typeof o[k+1]<"u"?b>=C&&b<$-($-C)/2?c=k:b>=C&&b<$&&(c=k+1):b>=C&&(c=k)}if(h.initialized&&c!==f&&(!h.allowSlideNext&&T<h.translate&&T<h.minTranslate()||!h.allowSlidePrev&&T>h.translate&&T>h.maxTranslate()&&(f||0)!==c))return!1;var _;if(c>f?_="next":c<f?_="prev":_="reset",p&&-T===h.translate||!p&&T===h.translate)return h.updateActiveIndex(c),m.autoHeight&&h.updateAutoHeight(),h.updateSlidesClasses(),m.effect!=="slide"&&h.setTranslate(T),_!=="reset"&&(h.transitionStart(n,_),h.transitionEnd(n,_)),!1;if(m.cssMode){var S=h.isHorizontal(),w=-T;if(p&&(w=g.scrollWidth-g.offsetWidth-w),e===0)g[S?"scrollLeft":"scrollTop"]=w;else if(g.scrollTo){var E;g.scrollTo((E={},E[S?"left":"top"]=w,E.behavior="smooth",E))}else g[S?"scrollLeft":"scrollTop"]=w;return!0}return e===0?(h.setTransition(0),h.setTranslate(T),h.updateActiveIndex(c),h.updateSlidesClasses(),h.emit("beforeTransitionStart",e,r),h.transitionStart(n,_),h.transitionEnd(n,_)):(h.setTransition(e),h.setTranslate(T),h.updateActiveIndex(c),h.updateSlidesClasses(),h.emit("beforeTransitionStart",e,r),h.transitionStart(n,_),h.animating||(h.animating=!0,h.onSlideToWrapperTransitionEnd||(h.onSlideToWrapperTransitionEnd=function(O){!h||h.destroyed||O.target===this&&(h.$wrapperEl[0].removeEventListener("transitionend",h.onSlideToWrapperTransitionEnd),h.$wrapperEl[0].removeEventListener("webkitTransitionEnd",h.onSlideToWrapperTransitionEnd),h.onSlideToWrapperTransitionEnd=null,delete h.onSlideToWrapperTransitionEnd,h.transitionEnd(n,_))}),h.$wrapperEl[0].addEventListener("transitionend",h.onSlideToWrapperTransitionEnd),h.$wrapperEl[0].addEventListener("webkitTransitionEnd",h.onSlideToWrapperTransitionEnd))),!0}function v_(t,e,n,r){t===void 0&&(t=0),e===void 0&&(e=this.params.speed),n===void 0&&(n=!0);var i=this,s=t;return i.params.loop&&(s+=i.loopedSlides),i.slideTo(s,e,n,r)}function w_(t,e,n){t===void 0&&(t=this.params.speed),e===void 0&&(e=!0);var r=this,i=r.params,s=r.animating,d=r.enabled;if(!d)return r;var h=r.activeIndex<i.slidesPerGroupSkip?1:i.slidesPerGroup;if(i.loop){if(s&&i.loopPreventsSlide)return!1;r.loopFix(),r._clientLeft=r.$wrapperEl[0].clientLeft}return r.slideTo(r.activeIndex+h,t,e,n)}function y_(t,e,n){t===void 0&&(t=this.params.speed),e===void 0&&(e=!0);var r=this,i=r.params,s=r.animating,d=r.snapGrid,h=r.slidesGrid,c=r.rtlTranslate,m=r.enabled;if(!m)return r;if(i.loop){if(s&&i.loopPreventsSlide)return!1;r.loopFix(),r._clientLeft=r.$wrapperEl[0].clientLeft}var a=c?r.translate:-r.translate;function o(v){return v<0?-Math.floor(Math.abs(v)):Math.floor(v)}var u=o(a),f=d.map(function(v){return o(v)}),p=d[f.indexOf(u)-1];typeof p>"u"&&i.cssMode&&d.forEach(function(v){!p&&u>=v&&(p=v)});var g;return typeof p<"u"&&(g=h.indexOf(p),g<0&&(g=r.activeIndex-1)),r.slideTo(g,t,e,n)}function b_(t,e,n){t===void 0&&(t=this.params.speed),e===void 0&&(e=!0);var r=this;return r.slideTo(r.activeIndex,t,e,n)}function S_(t,e,n,r){t===void 0&&(t=this.params.speed),e===void 0&&(e=!0),r===void 0&&(r=.5);var i=this,s=i.activeIndex,d=Math.min(i.params.slidesPerGroupSkip,s),h=d+Math.floor((s-d)/i.params.slidesPerGroup),c=i.rtlTranslate?i.translate:-i.translate;if(c>=i.snapGrid[h]){var m=i.snapGrid[h],a=i.snapGrid[h+1];c-m>(a-m)*r&&(s+=i.params.slidesPerGroup)}else{var o=i.snapGrid[h-1],u=i.snapGrid[h];c-o<=(u-o)*r&&(s-=i.params.slidesPerGroup)}return s=Math.max(s,0),s=Math.min(s,i.slidesGrid.length-1),i.slideTo(s,t,e,n)}function x_(){var t=this,e=t.params,n=t.$wrapperEl,r=e.slidesPerView==="auto"?t.slidesPerViewDynamic():e.slidesPerView,i=t.clickedIndex,s;if(e.loop){if(t.animating)return;s=parseInt(ue(t.clickedSlide).attr("data-swiper-slide-index"),10),e.centeredSlides?i<t.loopedSlides-r/2||i>t.slides.length-t.loopedSlides+r/2?(t.loopFix(),i=n.children("."+e.slideClass+'[data-swiper-slide-index="'+s+'"]:not(.'+e.slideDuplicateClass+")").eq(0).index(),vl(function(){t.slideTo(i)})):t.slideTo(i):i>t.slides.length-r?(t.loopFix(),i=n.children("."+e.slideClass+'[data-swiper-slide-index="'+s+'"]:not(.'+e.slideDuplicateClass+")").eq(0).index(),vl(function(){t.slideTo(i)})):t.slideTo(i)}else t.slideTo(i)}const k_={slideTo:g_,slideToLoop:v_,slideNext:w_,slidePrev:y_,slideReset:b_,slideToClosest:S_,slideToClickedSlide:x_};function C_(){var t=this,e=bt(),n=t.params,r=t.$wrapperEl;r.children("."+n.slideClass+"."+n.slideDuplicateClass).remove();var i=r.children("."+n.slideClass);if(n.loopFillGroupWithBlank){var s=n.slidesPerGroup-i.length%n.slidesPerGroup;if(s!==n.slidesPerGroup){for(var d=0;d<s;d+=1){var h=ue(e.createElement("div")).addClass(n.slideClass+" "+n.slideBlankClass);r.append(h)}i=r.children("."+n.slideClass)}}n.slidesPerView==="auto"&&!n.loopedSlides&&(n.loopedSlides=i.length),t.loopedSlides=Math.ceil(parseFloat(n.loopedSlides||n.slidesPerView,10)),t.loopedSlides+=n.loopAdditionalSlides,t.loopedSlides>i.length&&(t.loopedSlides=i.length);var c=[],m=[];i.each(function(u,f){var p=ue(u);f<t.loopedSlides&&m.push(u),f<i.length&&f>=i.length-t.loopedSlides&&c.push(u),p.attr("data-swiper-slide-index",f)});for(var a=0;a<m.length;a+=1)r.append(ue(m[a].cloneNode(!0)).addClass(n.slideDuplicateClass));for(var o=c.length-1;o>=0;o-=1)r.prepend(ue(c[o].cloneNode(!0)).addClass(n.slideDuplicateClass))}function E_(){var t=this;t.emit("beforeLoopFix");var e=t.activeIndex,n=t.slides,r=t.loopedSlides,i=t.allowSlidePrev,s=t.allowSlideNext,d=t.snapGrid,h=t.rtlTranslate,c;t.allowSlidePrev=!0,t.allowSlideNext=!0;var m=-d[e],a=m-t.getTranslate();if(e<r){c=n.length-r*3+e,c+=r;var o=t.slideTo(c,0,!1,!0);o&&a!==0&&t.setTranslate((h?-t.translate:t.translate)-a)}else if(e>=n.length-r){c=-n.length+e+r,c+=r;var u=t.slideTo(c,0,!1,!0);u&&a!==0&&t.setTranslate((h?-t.translate:t.translate)-a)}t.allowSlidePrev=i,t.allowSlideNext=s,t.emit("loopFix")}function __(){var t=this,e=t.$wrapperEl,n=t.params,r=t.slides;e.children("."+n.slideClass+"."+n.slideDuplicateClass+",."+n.slideClass+"."+n.slideBlankClass).remove(),r.removeAttr("data-swiper-slide-index")}const T_={loopCreate:C_,loopFix:E_,loopDestroy:__};function A_(t){var e=this;if(!(e.support.touch||!e.params.simulateTouch||e.params.watchOverflow&&e.isLocked||e.params.cssMode)){var n=e.el;n.style.cursor="move",n.style.cursor=t?"-webkit-grabbing":"-webkit-grab",n.style.cursor=t?"-moz-grabbin":"-moz-grab",n.style.cursor=t?"grabbing":"grab"}}function $_(){var t=this;t.support.touch||t.params.watchOverflow&&t.isLocked||t.params.cssMode||(t.el.style.cursor="")}const O_={setGrabCursor:A_,unsetGrabCursor:$_};function L_(t){var e=this,n=e.$wrapperEl,r=e.params;if(r.loop&&e.loopDestroy(),typeof t=="object"&&"length"in t)for(var i=0;i<t.length;i+=1)t[i]&&n.append(t[i]);else n.append(t);r.loop&&e.loopCreate(),r.observer&&e.support.observer||e.update()}function M_(t){var e=this,n=e.params,r=e.$wrapperEl,i=e.activeIndex;n.loop&&e.loopDestroy();var s=i+1;if(typeof t=="object"&&"length"in t){for(var d=0;d<t.length;d+=1)t[d]&&r.prepend(t[d]);s=i+t.length}else r.prepend(t);n.loop&&e.loopCreate(),n.observer&&e.support.observer||e.update(),e.slideTo(s,0,!1)}function R_(t,e){var n=this,r=n.$wrapperEl,i=n.params,s=n.activeIndex,d=s;i.loop&&(d-=n.loopedSlides,n.loopDestroy(),n.slides=r.children("."+i.slideClass));var h=n.slides.length;if(t<=0){n.prependSlide(e);return}if(t>=h){n.appendSlide(e);return}for(var c=d>t?d+1:d,m=[],a=h-1;a>=t;a-=1){var o=n.slides.eq(a);o.remove(),m.unshift(o)}if(typeof e=="object"&&"length"in e){for(var u=0;u<e.length;u+=1)e[u]&&r.append(e[u]);c=d>t?d+e.length:d}else r.append(e);for(var f=0;f<m.length;f+=1)r.append(m[f]);i.loop&&n.loopCreate(),i.observer&&n.support.observer||n.update(),i.loop?n.slideTo(c+n.loopedSlides,0,!1):n.slideTo(c,0,!1)}function N_(t){var e=this,n=e.params,r=e.$wrapperEl,i=e.activeIndex,s=i;n.loop&&(s-=e.loopedSlides,e.loopDestroy(),e.slides=r.children("."+n.slideClass));var d=s,h;if(typeof t=="object"&&"length"in t){for(var c=0;c<t.length;c+=1)h=t[c],e.slides[h]&&e.slides.eq(h).remove(),h<d&&(d-=1);d=Math.max(d,0)}else h=t,e.slides[h]&&e.slides.eq(h).remove(),h<d&&(d-=1),d=Math.max(d,0);n.loop&&e.loopCreate(),n.observer&&e.support.observer||e.update(),n.loop?e.slideTo(d+e.loopedSlides,0,!1):e.slideTo(d,0,!1)}function I_(){for(var t=this,e=[],n=0;n<t.slides.length;n+=1)e.push(n);t.removeSlide(e)}const D_={appendSlide:L_,prependSlide:M_,addSlide:R_,removeSlide:N_,removeAllSlides:I_};function P_(t,e){e===void 0&&(e=this);function n(r){if(!r||r===bt()||r===nt())return null;r.assignedSlot&&(r=r.assignedSlot);var i=r.closest(t);return i||n(r.getRootNode().host)}return n(e)}function B_(t){var e=this,n=bt(),r=nt(),i=e.touchEventsData,s=e.params,d=e.touches,h=e.enabled;if(!!h&&!(e.animating&&s.preventInteractionOnTransition)){var c=t;c.originalEvent&&(c=c.originalEvent);var m=ue(c.target);if(!(s.touchEventsTarget==="wrapper"&&!m.closest(e.wrapperEl).length)&&(i.isTouchEvent=c.type==="touchstart",!(!i.isTouchEvent&&"which"in c&&c.which===3)&&!(!i.isTouchEvent&&"button"in c&&c.button>0)&&!(i.isTouched&&i.isMoved))){var a=!!s.noSwipingClass&&s.noSwipingClass!=="";a&&c.target&&c.target.shadowRoot&&t.path&&t.path[0]&&(m=ue(t.path[0]));var o=s.noSwipingSelector?s.noSwipingSelector:"."+s.noSwipingClass,u=!!(c.target&&c.target.shadowRoot);if(s.noSwiping&&(u?P_(o,c.target):m.closest(o)[0])){e.allowClick=!0;return}if(!(s.swipeHandler&&!m.closest(s.swipeHandler)[0])){d.currentX=c.type==="touchstart"?c.targetTouches[0].pageX:c.pageX,d.currentY=c.type==="touchstart"?c.targetTouches[0].pageY:c.pageY;var f=d.currentX,p=d.currentY,g=s.edgeSwipeDetection||s.iOSEdgeSwipeDetection,v=s.edgeSwipeThreshold||s.iOSEdgeSwipeThreshold;if(g&&(f<=v||f>=r.innerWidth-v))if(g==="prevent")t.preventDefault();else return;if(Ge(i,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),d.startX=f,d.startY=p,i.touchStartTime=Wn(),e.allowClick=!0,e.updateSize(),e.swipeDirection=void 0,s.threshold>0&&(i.allowThresholdMove=!1),c.type!=="touchstart"){var y=!0;m.is(i.focusableElements)&&(y=!1),n.activeElement&&ue(n.activeElement).is(i.focusableElements)&&n.activeElement!==m[0]&&n.activeElement.blur();var x=y&&e.allowTouchMove&&s.touchStartPreventDefault;(s.touchStartForcePreventDefault||x)&&!m[0].isContentEditable&&c.preventDefault()}e.emit("touchStart",c)}}}}function F_(t){var e=bt(),n=this,r=n.touchEventsData,i=n.params,s=n.touches,d=n.rtlTranslate,h=n.enabled;if(!!h){var c=t;if(c.originalEvent&&(c=c.originalEvent),!r.isTouched){r.startMoving&&r.isScrolling&&n.emit("touchMoveOpposite",c);return}if(!(r.isTouchEvent&&c.type!=="touchmove")){var m=c.type==="touchmove"&&c.targetTouches&&(c.targetTouches[0]||c.changedTouches[0]),a=c.type==="touchmove"?m.pageX:c.pageX,o=c.type==="touchmove"?m.pageY:c.pageY;if(c.preventedByNestedSwiper){s.startX=a,s.startY=o;return}if(!n.allowTouchMove){n.allowClick=!1,r.isTouched&&(Ge(s,{startX:a,startY:o,currentX:a,currentY:o}),r.touchStartTime=Wn());return}if(r.isTouchEvent&&i.touchReleaseOnEdges&&!i.loop){if(n.isVertical()){if(o<s.startY&&n.translate<=n.maxTranslate()||o>s.startY&&n.translate>=n.minTranslate()){r.isTouched=!1,r.isMoved=!1;return}}else if(a<s.startX&&n.translate<=n.maxTranslate()||a>s.startX&&n.translate>=n.minTranslate())return}if(r.isTouchEvent&&e.activeElement&&c.target===e.activeElement&&ue(c.target).is(r.focusableElements)){r.isMoved=!0,n.allowClick=!1;return}if(r.allowTouchCallbacks&&n.emit("touchMove",c),!(c.targetTouches&&c.targetTouches.length>1)){s.currentX=a,s.currentY=o;var u=s.currentX-s.startX,f=s.currentY-s.startY;if(!(n.params.threshold&&Math.sqrt(Math.pow(u,2)+Math.pow(f,2))<n.params.threshold)){if(typeof r.isScrolling>"u"){var p;n.isHorizontal()&&s.currentY===s.startY||n.isVertical()&&s.currentX===s.startX?r.isScrolling=!1:u*u+f*f>=25&&(p=Math.atan2(Math.abs(f),Math.abs(u))*180/Math.PI,r.isScrolling=n.isHorizontal()?p>i.touchAngle:90-p>i.touchAngle)}if(r.isScrolling&&n.emit("touchMoveOpposite",c),typeof r.startMoving>"u"&&(s.currentX!==s.startX||s.currentY!==s.startY)&&(r.startMoving=!0),r.isScrolling){r.isTouched=!1;return}if(!!r.startMoving){n.allowClick=!1,!i.cssMode&&c.cancelable&&c.preventDefault(),i.touchMoveStopPropagation&&!i.nested&&c.stopPropagation(),r.isMoved||(i.loop&&n.loopFix(),r.startTranslate=n.getTranslate(),n.setTransition(0),n.animating&&n.$wrapperEl.trigger("webkitTransitionEnd transitionend"),r.allowMomentumBounce=!1,i.grabCursor&&(n.allowSlideNext===!0||n.allowSlidePrev===!0)&&n.setGrabCursor(!0),n.emit("sliderFirstMove",c)),n.emit("sliderMove",c),r.isMoved=!0;var g=n.isHorizontal()?u:f;s.diff=g,g*=i.touchRatio,d&&(g=-g),n.swipeDirection=g>0?"prev":"next",r.currentTranslate=g+r.startTranslate;var v=!0,y=i.resistanceRatio;if(i.touchReleaseOnEdges&&(y=0),g>0&&r.currentTranslate>n.minTranslate()?(v=!1,i.resistance&&(r.currentTranslate=n.minTranslate()-1+Math.pow(-n.minTranslate()+r.startTranslate+g,y))):g<0&&r.currentTranslate<n.maxTranslate()&&(v=!1,i.resistance&&(r.currentTranslate=n.maxTranslate()+1-Math.pow(n.maxTranslate()-r.startTranslate-g,y))),v&&(c.preventedByNestedSwiper=!0),!n.allowSlideNext&&n.swipeDirection==="next"&&r.currentTranslate<r.startTranslate&&(r.currentTranslate=r.startTranslate),!n.allowSlidePrev&&n.swipeDirection==="prev"&&r.currentTranslate>r.startTranslate&&(r.currentTranslate=r.startTranslate),!n.allowSlidePrev&&!n.allowSlideNext&&(r.currentTranslate=r.startTranslate),i.threshold>0)if(Math.abs(g)>i.threshold||r.allowThresholdMove){if(!r.allowThresholdMove){r.allowThresholdMove=!0,s.startX=s.currentX,s.startY=s.currentY,r.currentTranslate=r.startTranslate,s.diff=n.isHorizontal()?s.currentX-s.startX:s.currentY-s.startY;return}}else{r.currentTranslate=r.startTranslate;return}!i.followFinger||i.cssMode||((i.freeMode||i.watchSlidesProgress||i.watchSlidesVisibility)&&(n.updateActiveIndex(),n.updateSlidesClasses()),i.freeMode&&(r.velocities.length===0&&r.velocities.push({position:s[n.isHorizontal()?"startX":"startY"],time:r.touchStartTime}),r.velocities.push({position:s[n.isHorizontal()?"currentX":"currentY"],time:Wn()})),n.updateProgress(r.currentTranslate),n.setTranslate(r.currentTranslate))}}}}}}function V_(t){var e=this,n=e.touchEventsData,r=e.params,i=e.touches,s=e.rtlTranslate,d=e.$wrapperEl,h=e.slidesGrid,c=e.snapGrid,m=e.enabled;if(!!m){var a=t;if(a.originalEvent&&(a=a.originalEvent),n.allowTouchCallbacks&&e.emit("touchEnd",a),n.allowTouchCallbacks=!1,!n.isTouched){n.isMoved&&r.grabCursor&&e.setGrabCursor(!1),n.isMoved=!1,n.startMoving=!1;return}r.grabCursor&&n.isMoved&&n.isTouched&&(e.allowSlideNext===!0||e.allowSlidePrev===!0)&&e.setGrabCursor(!1);var o=Wn(),u=o-n.touchStartTime;if(e.allowClick&&(e.updateClickedSlide(a),e.emit("tap click",a),u<300&&o-n.lastClickTime<300&&e.emit("doubleTap doubleClick",a)),n.lastClickTime=Wn(),vl(function(){e.destroyed||(e.allowClick=!0)}),!n.isTouched||!n.isMoved||!e.swipeDirection||i.diff===0||n.currentTranslate===n.startTranslate){n.isTouched=!1,n.isMoved=!1,n.startMoving=!1;return}n.isTouched=!1,n.isMoved=!1,n.startMoving=!1;var f;if(r.followFinger?f=s?e.translate:-e.translate:f=-n.currentTranslate,!r.cssMode){if(r.freeMode){if(f<-e.minTranslate()){e.slideTo(e.activeIndex);return}if(f>-e.maxTranslate()){e.slides.length<c.length?e.slideTo(c.length-1):e.slideTo(e.slides.length-1);return}if(r.freeModeMomentum){if(n.velocities.length>1){var p=n.velocities.pop(),g=n.velocities.pop(),v=p.position-g.position,y=p.time-g.time;e.velocity=v/y,e.velocity/=2,Math.abs(e.velocity)<r.freeModeMinimumVelocity&&(e.velocity=0),(y>150||Wn()-p.time>300)&&(e.velocity=0)}else e.velocity=0;e.velocity*=r.freeModeMomentumVelocityRatio,n.velocities.length=0;var x=1e3*r.freeModeMomentumRatio,T=e.velocity*x,k=e.translate+T;s&&(k=-k);var b=!1,C,$=Math.abs(e.velocity)*20*r.freeModeMomentumBounceRatio,_;if(k<e.maxTranslate())r.freeModeMomentumBounce?(k+e.maxTranslate()<-$&&(k=e.maxTranslate()-$),C=e.maxTranslate(),b=!0,n.allowMomentumBounce=!0):k=e.maxTranslate(),r.loop&&r.centeredSlides&&(_=!0);else if(k>e.minTranslate())r.freeModeMomentumBounce?(k-e.minTranslate()>$&&(k=e.minTranslate()+$),C=e.minTranslate(),b=!0,n.allowMomentumBounce=!0):k=e.minTranslate(),r.loop&&r.centeredSlides&&(_=!0);else if(r.freeModeSticky){for(var S,w=0;w<c.length;w+=1)if(c[w]>-k){S=w;break}Math.abs(c[S]-k)<Math.abs(c[S-1]-k)||e.swipeDirection==="next"?k=c[S]:k=c[S-1],k=-k}if(_&&e.once("transitionEnd",function(){e.loopFix()}),e.velocity!==0){if(s?x=Math.abs((-k-e.translate)/e.velocity):x=Math.abs((k-e.translate)/e.velocity),r.freeModeSticky){var E=Math.abs((s?-k:k)-e.translate),A=e.slidesSizesGrid[e.activeIndex];E<A?x=r.speed:E<2*A?x=r.speed*1.5:x=r.speed*2.5}}else if(r.freeModeSticky){e.slideToClosest();return}r.freeModeMomentumBounce&&b?(e.updateProgress(C),e.setTransition(x),e.setTranslate(k),e.transitionStart(!0,e.swipeDirection),e.animating=!0,d.transitionEnd(function(){!e||e.destroyed||!n.allowMomentumBounce||(e.emit("momentumBounce"),e.setTransition(r.speed),setTimeout(function(){e.setTranslate(C),d.transitionEnd(function(){!e||e.destroyed||e.transitionEnd()})},0))})):e.velocity?(e.updateProgress(k),e.setTransition(x),e.setTranslate(k),e.transitionStart(!0,e.swipeDirection),e.animating||(e.animating=!0,d.transitionEnd(function(){!e||e.destroyed||e.transitionEnd()}))):(e.emit("_freeModeNoMomentumRelease"),e.updateProgress(k)),e.updateActiveIndex(),e.updateSlidesClasses()}else if(r.freeModeSticky){e.slideToClosest();return}else r.freeMode&&e.emit("_freeModeNoMomentumRelease");(!r.freeModeMomentum||u>=r.longSwipesMs)&&(e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses());return}for(var O=0,L=e.slidesSizesGrid[0],M=0;M<h.length;M+=M<r.slidesPerGroupSkip?1:r.slidesPerGroup){var R=M<r.slidesPerGroupSkip-1?1:r.slidesPerGroup;typeof h[M+R]<"u"?f>=h[M]&&f<h[M+R]&&(O=M,L=h[M+R]-h[M]):f>=h[M]&&(O=M,L=h[h.length-1]-h[h.length-2])}var D=(f-h[O])/L,B=O<r.slidesPerGroupSkip-1?1:r.slidesPerGroup;if(u>r.longSwipesMs){if(!r.longSwipes){e.slideTo(e.activeIndex);return}e.swipeDirection==="next"&&(D>=r.longSwipesRatio?e.slideTo(O+B):e.slideTo(O)),e.swipeDirection==="prev"&&(D>1-r.longSwipesRatio?e.slideTo(O+B):e.slideTo(O))}else{if(!r.shortSwipes){e.slideTo(e.activeIndex);return}var P=e.navigation&&(a.target===e.navigation.nextEl||a.target===e.navigation.prevEl);P?a.target===e.navigation.nextEl?e.slideTo(O+B):e.slideTo(O):(e.swipeDirection==="next"&&e.slideTo(O+B),e.swipeDirection==="prev"&&e.slideTo(O))}}}}function yl(){var t=this,e=t.params,n=t.el;if(!(n&&n.offsetWidth===0)){e.breakpoints&&t.setBreakpoint();var r=t.allowSlideNext,i=t.allowSlidePrev,s=t.snapGrid;t.allowSlideNext=!0,t.allowSlidePrev=!0,t.updateSize(),t.updateSlides(),t.updateSlidesClasses(),(e.slidesPerView==="auto"||e.slidesPerView>1)&&t.isEnd&&!t.isBeginning&&!t.params.centeredSlides?t.slideTo(t.slides.length-1,0,!1,!0):t.slideTo(t.activeIndex,0,!1,!0),t.autoplay&&t.autoplay.running&&t.autoplay.paused&&t.autoplay.run(),t.allowSlidePrev=i,t.allowSlideNext=r,t.params.watchOverflow&&s!==t.snapGrid&&t.checkOverflow()}}function U_(t){var e=this;!e.enabled||e.allowClick||(e.params.preventClicks&&t.preventDefault(),e.params.preventClicksPropagation&&e.animating&&(t.stopPropagation(),t.stopImmediatePropagation()))}function W_(){var t=this,e=t.wrapperEl,n=t.rtlTranslate,r=t.enabled;if(!!r){t.previousTranslate=t.translate,t.isHorizontal()?n?t.translate=e.scrollWidth-e.offsetWidth-e.scrollLeft:t.translate=-e.scrollLeft:t.translate=-e.scrollTop,t.translate===-0&&(t.translate=0),t.updateActiveIndex(),t.updateSlidesClasses();var i,s=t.maxTranslate()-t.minTranslate();s===0?i=0:i=(t.translate-t.minTranslate())/s,i!==t.progress&&t.updateProgress(n?-t.translate:t.translate),t.emit("setTranslate",t.translate,!1)}}var Rh=!1;function H_(){}function j_(){var t=this,e=bt(),n=t.params,r=t.touchEvents,i=t.el,s=t.wrapperEl,d=t.device,h=t.support;t.onTouchStart=B_.bind(t),t.onTouchMove=F_.bind(t),t.onTouchEnd=V_.bind(t),n.cssMode&&(t.onScroll=W_.bind(t)),t.onClick=U_.bind(t);var c=!!n.nested;if(!h.touch&&h.pointerEvents)i.addEventListener(r.start,t.onTouchStart,!1),e.addEventListener(r.move,t.onTouchMove,c),e.addEventListener(r.end,t.onTouchEnd,!1);else{if(h.touch){var m=r.start==="touchstart"&&h.passiveListener&&n.passiveListeners?{passive:!0,capture:!1}:!1;i.addEventListener(r.start,t.onTouchStart,m),i.addEventListener(r.move,t.onTouchMove,h.passiveListener?{passive:!1,capture:c}:c),i.addEventListener(r.end,t.onTouchEnd,m),r.cancel&&i.addEventListener(r.cancel,t.onTouchEnd,m),Rh||(e.addEventListener("touchstart",H_),Rh=!0)}(n.simulateTouch&&!d.ios&&!d.android||n.simulateTouch&&!h.touch&&d.ios)&&(i.addEventListener("mousedown",t.onTouchStart,!1),e.addEventListener("mousemove",t.onTouchMove,c),e.addEventListener("mouseup",t.onTouchEnd,!1))}(n.preventClicks||n.preventClicksPropagation)&&i.addEventListener("click",t.onClick,!0),n.cssMode&&s.addEventListener("scroll",t.onScroll),n.updateOnWindowResize?t.on(d.ios||d.android?"resize orientationchange observerUpdate":"resize observerUpdate",yl,!0):t.on("observerUpdate",yl,!0)}function z_(){var t=this,e=bt(),n=t.params,r=t.touchEvents,i=t.el,s=t.wrapperEl,d=t.device,h=t.support,c=!!n.nested;if(!h.touch&&h.pointerEvents)i.removeEventListener(r.start,t.onTouchStart,!1),e.removeEventListener(r.move,t.onTouchMove,c),e.removeEventListener(r.end,t.onTouchEnd,!1);else{if(h.touch){var m=r.start==="onTouchStart"&&h.passiveListener&&n.passiveListeners?{passive:!0,capture:!1}:!1;i.removeEventListener(r.start,t.onTouchStart,m),i.removeEventListener(r.move,t.onTouchMove,c),i.removeEventListener(r.end,t.onTouchEnd,m),r.cancel&&i.removeEventListener(r.cancel,t.onTouchEnd,m)}(n.simulateTouch&&!d.ios&&!d.android||n.simulateTouch&&!h.touch&&d.ios)&&(i.removeEventListener("mousedown",t.onTouchStart,!1),e.removeEventListener("mousemove",t.onTouchMove,c),e.removeEventListener("mouseup",t.onTouchEnd,!1))}(n.preventClicks||n.preventClicksPropagation)&&i.removeEventListener("click",t.onClick,!0),n.cssMode&&s.removeEventListener("scroll",t.onScroll),t.off(d.ios||d.android?"resize orientationchange observerUpdate":"resize observerUpdate",yl)}const G_={attachEvents:j_,detachEvents:z_};function Y_(){var t=this,e=t.activeIndex,n=t.initialized,r=t.loopedSlides,i=r===void 0?0:r,s=t.params,d=t.$el,h=s.breakpoints;if(!(!h||h&&Object.keys(h).length===0)){var c=t.getBreakpoint(h,t.params.breakpointsBase,t.el);if(!(!c||t.currentBreakpoint===c)){var m=c in h?h[c]:void 0;m&&["slidesPerView","spaceBetween","slidesPerGroup","slidesPerGroupSkip","slidesPerColumn"].forEach(function(y){var x=m[y];typeof x>"u"||(y==="slidesPerView"&&(x==="AUTO"||x==="auto")?m[y]="auto":y==="slidesPerView"?m[y]=parseFloat(x):m[y]=parseInt(x,10))});var a=m||t.originalParams,o=s.slidesPerColumn>1,u=a.slidesPerColumn>1,f=s.enabled;o&&!u?(d.removeClass(s.containerModifierClass+"multirow "+s.containerModifierClass+"multirow-column"),t.emitContainerClasses()):!o&&u&&(d.addClass(s.containerModifierClass+"multirow"),(a.slidesPerColumnFill&&a.slidesPerColumnFill==="column"||!a.slidesPerColumnFill&&s.slidesPerColumnFill==="column")&&d.addClass(s.containerModifierClass+"multirow-column"),t.emitContainerClasses());var p=a.direction&&a.direction!==s.direction,g=s.loop&&(a.slidesPerView!==s.slidesPerView||p);p&&n&&t.changeDirection(),Ge(t.params,a);var v=t.params.enabled;Ge(t,{allowTouchMove:t.params.allowTouchMove,allowSlideNext:t.params.allowSlideNext,allowSlidePrev:t.params.allowSlidePrev}),f&&!v?t.disable():!f&&v&&t.enable(),t.currentBreakpoint=c,t.emit("_beforeBreakpoint",a),g&&n&&(t.loopDestroy(),t.loopCreate(),t.updateSlides(),t.slideTo(e-i+t.loopedSlides,0,!1)),t.emit("breakpoint",a)}}}function J_(t,e,n){if(e===void 0&&(e="window"),!(!t||e==="container"&&!n)){var r=!1,i=nt(),s=e==="window"?i.innerHeight:n.clientHeight,d=Object.keys(t).map(function(o){if(typeof o=="string"&&o.indexOf("@")===0){var u=parseFloat(o.substr(1)),f=s*u;return{value:f,point:o}}return{value:o,point:o}});d.sort(function(o,u){return parseInt(o.value,10)-parseInt(u.value,10)});for(var h=0;h<d.length;h+=1){var c=d[h],m=c.point,a=c.value;e==="window"?i.matchMedia("(min-width: "+a+"px)").matches&&(r=m):a<=n.clientWidth&&(r=m)}return r||"max"}}const K_={setBreakpoint:Y_,getBreakpoint:J_};function X_(t,e){var n=[];return t.forEach(function(r){typeof r=="object"?Object.keys(r).forEach(function(i){r[i]&&n.push(e+i)}):typeof r=="string"&&n.push(e+r)}),n}function q_(){var t=this,e=t.classNames,n=t.params,r=t.rtl,i=t.$el,s=t.device,d=t.support,h=X_(["initialized",n.direction,{"pointer-events":d.pointerEvents&&!d.touch},{"free-mode":n.freeMode},{autoheight:n.autoHeight},{rtl:r},{multirow:n.slidesPerColumn>1},{"multirow-column":n.slidesPerColumn>1&&n.slidesPerColumnFill==="column"},{android:s.android},{ios:s.ios},{"css-mode":n.cssMode}],n.containerModifierClass);e.push.apply(e,h),i.addClass([].concat(e).join(" ")),t.emitContainerClasses()}function Q_(){var t=this,e=t.$el,n=t.classNames;e.removeClass(n.join(" ")),t.emitContainerClasses()}const Z_={addClasses:q_,removeClasses:Q_};function eT(t,e,n,r,i,s){var d=nt(),h;function c(){s&&s()}var m=ue(t).parent("picture")[0];!m&&(!t.complete||!i)&&e?(h=new d.Image,h.onload=c,h.onerror=c,r&&(h.sizes=r),n&&(h.srcset=n),e&&(h.src=e)):c()}function tT(){var t=this;t.imagesToLoad=t.$el.find("img");function e(){typeof t>"u"||t===null||!t||t.destroyed||(t.imagesLoaded!==void 0&&(t.imagesLoaded+=1),t.imagesLoaded===t.imagesToLoad.length&&(t.params.updateOnImagesReady&&t.update(),t.emit("imagesReady")))}for(var n=0;n<t.imagesToLoad.length;n+=1){var r=t.imagesToLoad[n];t.loadImage(r,r.currentSrc||r.getAttribute("src"),r.srcset||r.getAttribute("srcset"),r.sizes||r.getAttribute("sizes"),!0,e)}}const nT={loadImage:eT,preloadImages:tT};function rT(){var t=this,e=t.params,n=t.isLocked,r=t.slides.length>0&&e.slidesOffsetBefore+e.spaceBetween*(t.slides.length-1)+t.slides[0].offsetWidth*t.slides.length;e.slidesOffsetBefore&&e.slidesOffsetAfter&&r?t.isLocked=r<=t.size:t.isLocked=t.snapGrid.length===1,t.allowSlideNext=!t.isLocked,t.allowSlidePrev=!t.isLocked,n!==t.isLocked&&t.emit(t.isLocked?"lock":"unlock"),n&&n!==t.isLocked&&(t.isEnd=!1,t.navigation&&t.navigation.update())}const iT={checkOverflow:rT},Nh={init:!0,direction:"horizontal",touchEventsTarget:"container",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!1,nested:!1,createElements:!1,enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,freeMode:!1,freeModeMomentum:!0,freeModeMomentumRatio:1,freeModeMomentumBounce:!0,freeModeMomentumBounceRatio:1,freeModeMomentumVelocityRatio:1,freeModeSticky:!1,freeModeMinimumVelocity:.02,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerColumn:1,slidesPerColumnFill:"column",slidesPerGroup:1,slidesPerGroupSkip:0,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!1,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:0,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,watchSlidesVisibility:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,preloadImages:!0,updateOnImagesReady:!0,loop:!1,loopAdditionalSlides:0,loopedSlides:null,loopFillGroupWithBlank:!1,loopPreventsSlide:!0,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,containerModifierClass:"swiper-container-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-invisible-blank",slideActiveClass:"swiper-slide-active",slideDuplicateActiveClass:"swiper-slide-duplicate-active",slideVisibleClass:"swiper-slide-visible",slideDuplicateClass:"swiper-slide-duplicate",slideNextClass:"swiper-slide-next",slideDuplicateNextClass:"swiper-slide-duplicate-next",slidePrevClass:"swiper-slide-prev",slideDuplicatePrevClass:"swiper-slide-duplicate-prev",wrapperClass:"swiper-wrapper",runCallbacksOnInit:!0,_emitClasses:!1};function Ih(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function sT(t,e,n){return e&&Ih(t.prototype,e),n&&Ih(t,n),t}var _a={modular:J1,eventsEmitter:K1,update:s_,translate:h_,transition:p_,slide:k_,loop:T_,grabCursor:O_,manipulation:D_,events:G_,breakpoints:K_,checkOverflow:iT,classes:Z_,images:nT},Ta={},Mc=function(){function t(){for(var n,r,i=arguments.length,s=new Array(i),d=0;d<i;d++)s[d]=arguments[d];if(s.length===1&&s[0].constructor&&Object.prototype.toString.call(s[0]).slice(8,-1)==="Object"?r=s[0]:(n=s[0],r=s[1]),r||(r={}),r=Ge({},r),n&&!r.el&&(r.el=n),r.el&&ue(r.el).length>1){var h=[];return ue(r.el).each(function(a){var o=Ge({},r,{el:a});h.push(new t(o))}),h}var c=this;c.__swiper__=!0,c.support=Jf(),c.device=U1({userAgent:r.userAgent}),c.browser=H1(),c.eventsListeners={},c.eventsAnyListeners=[],typeof c.modules>"u"&&(c.modules={}),Object.keys(c.modules).forEach(function(a){var o=c.modules[a];if(o.params){var u=Object.keys(o.params)[0],f=o.params[u];if(typeof f!="object"||f===null||(["navigation","pagination","scrollbar"].indexOf(u)>=0&&r[u]===!0&&(r[u]={auto:!0}),!(u in r&&"enabled"in f)))return;r[u]===!0&&(r[u]={enabled:!0}),typeof r[u]=="object"&&!("enabled"in r[u])&&(r[u].enabled=!0),r[u]||(r[u]={enabled:!1})}});var m=Ge({},Nh);return c.useParams(m),c.params=Ge({},m,Ta,r),c.originalParams=Ge({},c.params),c.passedParams=Ge({},r),c.params&&c.params.on&&Object.keys(c.params.on).forEach(function(a){c.on(a,c.params.on[a])}),c.params&&c.params.onAny&&c.onAny(c.params.onAny),c.$=ue,Ge(c,{enabled:c.params.enabled,el:n,classNames:[],slides:ue(),slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:function(){return c.params.direction==="horizontal"},isVertical:function(){return c.params.direction==="vertical"},activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,allowSlideNext:c.params.allowSlideNext,allowSlidePrev:c.params.allowSlidePrev,touchEvents:function(){var o=["touchstart","touchmove","touchend","touchcancel"],u=["mousedown","mousemove","mouseup"];return c.support.pointerEvents&&(u=["pointerdown","pointermove","pointerup"]),c.touchEventsTouch={start:o[0],move:o[1],end:o[2],cancel:o[3]},c.touchEventsDesktop={start:u[0],move:u[1],end:u[2]},c.support.touch||!c.params.simulateTouch?c.touchEventsTouch:c.touchEventsDesktop}(),touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:c.params.focusableElements,lastClickTime:Wn(),clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,isTouchEvent:void 0,startMoving:void 0},allowClick:!0,allowTouchMove:c.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),c.useModules(),c.emit("_swiper"),c.params.init&&c.init(),c}var e=t.prototype;return e.enable=function(){var r=this;r.enabled||(r.enabled=!0,r.params.grabCursor&&r.setGrabCursor(),r.emit("enable"))},e.disable=function(){var r=this;!r.enabled||(r.enabled=!1,r.params.grabCursor&&r.unsetGrabCursor(),r.emit("disable"))},e.setProgress=function(r,i){var s=this;r=Math.min(Math.max(r,0),1);var d=s.minTranslate(),h=s.maxTranslate(),c=(h-d)*r+d;s.translateTo(c,typeof i>"u"?0:i),s.updateActiveIndex(),s.updateSlidesClasses()},e.emitContainerClasses=function(){var r=this;if(!(!r.params._emitClasses||!r.el)){var i=r.el.className.split(" ").filter(function(s){return s.indexOf("swiper-container")===0||s.indexOf(r.params.containerModifierClass)===0});r.emit("_containerClasses",i.join(" "))}},e.getSlideClasses=function(r){var i=this;return r.className.split(" ").filter(function(s){return s.indexOf("swiper-slide")===0||s.indexOf(i.params.slideClass)===0}).join(" ")},e.emitSlidesClasses=function(){var r=this;if(!(!r.params._emitClasses||!r.el)){var i=[];r.slides.each(function(s){var d=r.getSlideClasses(s);i.push({slideEl:s,classNames:d}),r.emit("_slideClass",s,d)}),r.emit("_slideClasses",i)}},e.slidesPerViewDynamic=function(){var r=this,i=r.params,s=r.slides,d=r.slidesGrid,h=r.size,c=r.activeIndex,m=1;if(i.centeredSlides){for(var a=s[c].swiperSlideSize,o,u=c+1;u<s.length;u+=1)s[u]&&!o&&(a+=s[u].swiperSlideSize,m+=1,a>h&&(o=!0));for(var f=c-1;f>=0;f-=1)s[f]&&!o&&(a+=s[f].swiperSlideSize,m+=1,a>h&&(o=!0))}else for(var p=c+1;p<s.length;p+=1)d[p]-d[c]<h&&(m+=1);return m},e.update=function(){var r=this;if(!r||r.destroyed)return;var i=r.snapGrid,s=r.params;s.breakpoints&&r.setBreakpoint(),r.updateSize(),r.updateSlides(),r.updateProgress(),r.updateSlidesClasses();function d(){var c=r.rtlTranslate?r.translate*-1:r.translate,m=Math.min(Math.max(c,r.maxTranslate()),r.minTranslate());r.setTranslate(m),r.updateActiveIndex(),r.updateSlidesClasses()}var h;r.params.freeMode?(d(),r.params.autoHeight&&r.updateAutoHeight()):((r.params.slidesPerView==="auto"||r.params.slidesPerView>1)&&r.isEnd&&!r.params.centeredSlides?h=r.slideTo(r.slides.length-1,0,!1,!0):h=r.slideTo(r.activeIndex,0,!1,!0),h||d()),s.watchOverflow&&i!==r.snapGrid&&r.checkOverflow(),r.emit("update")},e.changeDirection=function(r,i){i===void 0&&(i=!0);var s=this,d=s.params.direction;return r||(r=d==="horizontal"?"vertical":"horizontal"),r===d||r!=="horizontal"&&r!=="vertical"||(s.$el.removeClass(""+s.params.containerModifierClass+d).addClass(""+s.params.containerModifierClass+r),s.emitContainerClasses(),s.params.direction=r,s.slides.each(function(h){r==="vertical"?h.style.width="":h.style.height=""}),s.emit("changeDirection"),i&&s.update()),s},e.mount=function(r){var i=this;if(i.mounted)return!0;var s=ue(r||i.params.el);if(r=s[0],!r)return!1;r.swiper=i;var d=function(){return"."+(i.params.wrapperClass||"").trim().split(" ").join(".")},h=function(){if(r&&r.shadowRoot&&r.shadowRoot.querySelector){var u=ue(r.shadowRoot.querySelector(d()));return u.children=function(f){return s.children(f)},u}return s.children(d())},c=h();if(c.length===0&&i.params.createElements){var m=bt(),a=m.createElement("div");c=ue(a),a.className=i.params.wrapperClass,s.append(a),s.children("."+i.params.slideClass).each(function(o){c.append(o)})}return Ge(i,{$el:s,el:r,$wrapperEl:c,wrapperEl:c[0],mounted:!0,rtl:r.dir.toLowerCase()==="rtl"||s.css("direction")==="rtl",rtlTranslate:i.params.direction==="horizontal"&&(r.dir.toLowerCase()==="rtl"||s.css("direction")==="rtl"),wrongRTL:c.css("display")==="-webkit-box"}),!0},e.init=function(r){var i=this;if(i.initialized)return i;var s=i.mount(r);return s===!1||(i.emit("beforeInit"),i.params.breakpoints&&i.setBreakpoint(),i.addClasses(),i.params.loop&&i.loopCreate(),i.updateSize(),i.updateSlides(),i.params.watchOverflow&&i.checkOverflow(),i.params.grabCursor&&i.enabled&&i.setGrabCursor(),i.params.preloadImages&&i.preloadImages(),i.params.loop?i.slideTo(i.params.initialSlide+i.loopedSlides,0,i.params.runCallbacksOnInit,!1,!0):i.slideTo(i.params.initialSlide,0,i.params.runCallbacksOnInit,!1,!0),i.attachEvents(),i.initialized=!0,i.emit("init"),i.emit("afterInit")),i},e.destroy=function(r,i){r===void 0&&(r=!0),i===void 0&&(i=!0);var s=this,d=s.params,h=s.$el,c=s.$wrapperEl,m=s.slides;return typeof s.params>"u"||s.destroyed||(s.emit("beforeDestroy"),s.initialized=!1,s.detachEvents(),d.loop&&s.loopDestroy(),i&&(s.removeClasses(),h.removeAttr("style"),c.removeAttr("style"),m&&m.length&&m.removeClass([d.slideVisibleClass,d.slideActiveClass,d.slideNextClass,d.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-slide-index")),s.emit("destroy"),Object.keys(s.eventsListeners).forEach(function(a){s.off(a)}),r!==!1&&(s.$el[0].swiper=null,N1(s)),s.destroyed=!0),null},t.extendDefaults=function(r){Ge(Ta,r)},t.installModule=function(r){t.prototype.modules||(t.prototype.modules={});var i=r.name||Object.keys(t.prototype.modules).length+"_"+Wn();t.prototype.modules[i]=r},t.use=function(r){return Array.isArray(r)?(r.forEach(function(i){return t.installModule(i)}),t):(t.installModule(r),t)},sT(t,null,[{key:"extendedDefaults",get:function(){return Ta}},{key:"defaults",get:function(){return Nh}}]),t}();Object.keys(_a).forEach(function(t){Object.keys(_a[t]).forEach(function(e){Mc.prototype[e]=_a[t][e]})});Mc.use([z1,Y1]);const Wi=Mc;function bl(){return bl=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},bl.apply(this,arguments)}var oT={toggleEl:function(e,n){e[n?"addClass":"removeClass"](this.params.navigation.disabledClass),e[0]&&e[0].tagName==="BUTTON"&&(e[0].disabled=n)},update:function(){var e=this,n=e.params.navigation,r=e.navigation.toggleEl;if(!e.params.loop){var i=e.navigation,s=i.$nextEl,d=i.$prevEl;d&&d.length>0&&(e.isBeginning?r(d,!0):r(d,!1),e.params.watchOverflow&&e.enabled&&d[e.isLocked?"addClass":"removeClass"](n.lockClass)),s&&s.length>0&&(e.isEnd?r(s,!0):r(s,!1),e.params.watchOverflow&&e.enabled&&s[e.isLocked?"addClass":"removeClass"](n.lockClass))}},onPrevClick:function(e){var n=this;e.preventDefault(),!(n.isBeginning&&!n.params.loop)&&n.slidePrev()},onNextClick:function(e){var n=this;e.preventDefault(),!(n.isEnd&&!n.params.loop)&&n.slideNext()},init:function(){var e=this,n=e.params.navigation;if(e.params.navigation=B1(e.$el,e.params.navigation,e.params.createElements,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!!(n.nextEl||n.prevEl)){var r,i;n.nextEl&&(r=ue(n.nextEl),e.params.uniqueNavElements&&typeof n.nextEl=="string"&&r.length>1&&e.$el.find(n.nextEl).length===1&&(r=e.$el.find(n.nextEl))),n.prevEl&&(i=ue(n.prevEl),e.params.uniqueNavElements&&typeof n.prevEl=="string"&&i.length>1&&e.$el.find(n.prevEl).length===1&&(i=e.$el.find(n.prevEl))),r&&r.length>0&&r.on("click",e.navigation.onNextClick),i&&i.length>0&&i.on("click",e.navigation.onPrevClick),Ge(e.navigation,{$nextEl:r,nextEl:r&&r[0],$prevEl:i,prevEl:i&&i[0]}),e.enabled||(r&&r.addClass(n.lockClass),i&&i.addClass(n.lockClass))}},destroy:function(){var e=this,n=e.navigation,r=n.$nextEl,i=n.$prevEl;r&&r.length&&(r.off("click",e.navigation.onNextClick),r.removeClass(e.params.navigation.disabledClass)),i&&i.length&&(i.off("click",e.navigation.onPrevClick),i.removeClass(e.params.navigation.disabledClass))}};const aT={name:"navigation",params:{navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock"}},create:function(){var e=this;Yf(e,{navigation:bl({},oT)})},on:{init:function(e){e.navigation.init(),e.navigation.update()},toEdge:function(e){e.navigation.update()},fromEdge:function(e){e.navigation.update()},destroy:function(e){e.navigation.destroy()},"enable disable":function(e){var n=e.navigation,r=n.$nextEl,i=n.$prevEl;r&&r[e.enabled?"removeClass":"addClass"](e.params.navigation.lockClass),i&&i[e.enabled?"removeClass":"addClass"](e.params.navigation.lockClass)},click:function(e,n){var r=e.navigation,i=r.$nextEl,s=r.$prevEl,d=n.target;if(e.params.navigation.hideOnClick&&!ue(d).is(s)&&!ue(d).is(i)){if(e.pagination&&e.params.pagination&&e.params.pagination.clickable&&(e.pagination.el===d||e.pagination.el.contains(d)))return;var h;i?h=i.hasClass(e.params.navigation.hiddenClass):s&&(h=s.hasClass(e.params.navigation.hiddenClass)),h===!0?e.emit("navigationShow"):e.emit("navigationHide"),i&&i.toggleClass(e.params.navigation.hiddenClass),s&&s.toggleClass(e.params.navigation.hiddenClass)}}}};function mr(t){return typeof t=="object"&&t!==null&&t.constructor&&Object.prototype.toString.call(t).slice(8,-1)==="Object"}function Pn(t,e){var n=["__proto__","constructor","prototype"];Object.keys(e).filter(function(r){return n.indexOf(r)<0}).forEach(function(r){typeof t[r]>"u"?t[r]=e[r]:mr(e[r])&&mr(t[r])&&Object.keys(e[r]).length>0?e[r].__swiper__?t[r]=e[r]:Pn(t[r],e[r]):t[r]=e[r]})}function Kf(t){return t===void 0&&(t={}),t.navigation&&typeof t.navigation.nextEl>"u"&&typeof t.navigation.prevEl>"u"}function Xf(t){return t===void 0&&(t={}),t.pagination&&typeof t.pagination.el>"u"}function qf(t){return t===void 0&&(t={}),t.scrollbar&&typeof t.scrollbar.el>"u"}function Qf(t){t===void 0&&(t="");var e=t.split(" ").map(function(r){return r.trim()}).filter(function(r){return!!r}),n=[];return e.forEach(function(r){n.indexOf(r)<0&&n.push(r)}),n.join(" ")}var Zf=["init","_direction","touchEventsTarget","initialSlide","_speed","cssMode","updateOnWindowResize","resizeObserver","nested","focusableElements","_enabled","_width","_height","preventInteractionOnTransition","userAgent","url","_edgeSwipeDetection","_edgeSwipeThreshold","_freeMode","_freeModeMomentum","_freeModeMomentumRatio","_freeModeMomentumBounce","_freeModeMomentumBounceRatio","_freeModeMomentumVelocityRatio","_freeModeSticky","_freeModeMinimumVelocity","_autoHeight","setWrapperSize","virtualTranslate","_effect","breakpoints","_spaceBetween","_slidesPerView","_slidesPerColumn","_slidesPerColumnFill","_slidesPerGroup","_slidesPerGroupSkip","_centeredSlides","_centeredSlidesBounds","_slidesOffsetBefore","_slidesOffsetAfter","normalizeSlideIndex","_centerInsufficientSlides","_watchOverflow","roundLengths","touchRatio","touchAngle","simulateTouch","_shortSwipes","_longSwipes","longSwipesRatio","longSwipesMs","_followFinger","allowTouchMove","_threshold","touchMoveStopPropagation","touchStartPreventDefault","touchStartForcePreventDefault","touchReleaseOnEdges","uniqueNavElements","_resistance","_resistanceRatio","_watchSlidesProgress","_watchSlidesVisibility","_grabCursor","preventClicks","preventClicksPropagation","_slideToClickedSlide","_preloadImages","updateOnImagesReady","_loop","_loopAdditionalSlides","_loopedSlides","_loopFillGroupWithBlank","loopPreventsSlide","_allowSlidePrev","_allowSlideNext","_swipeHandler","_noSwiping","noSwipingClass","noSwipingSelector","passiveListeners","containerModifierClass","slideClass","slideBlankClass","slideActiveClass","slideDuplicateActiveClass","slideVisibleClass","slideDuplicateClass","slideNextClass","slideDuplicateNextClass","slidePrevClass","slideDuplicatePrevClass","wrapperClass","runCallbacksOnInit","observer","observeParents","observeSlideChildren","a11y","autoplay","_controller","coverflowEffect","cubeEffect","fadeEffect","flipEffect","hashNavigation","history","keyboard","lazy","mousewheel","_navigation","_pagination","parallax","_scrollbar","_thumbs","virtual","zoom"];function Dh(t){t===void 0&&(t={});var e={on:{}},n={};Pn(e,Wi.defaults),Pn(e,Wi.extendedDefaults),e._emitClasses=!0,e.init=!1;var r={},i=Zf.map(function(d){return d.replace(/_/,"")}),s=Object.assign({},t);return Object.keys(s).forEach(function(d){typeof t[d]>"u"||(i.indexOf(d)>=0?mr(t[d])?(e[d]={},n[d]={},Pn(e[d],t[d]),Pn(n[d],t[d])):(e[d]=t[d],n[d]=t[d]):d.search(/on[A-Z]/)===0&&typeof t[d]=="function"?e.on[""+d[2].toLowerCase()+d.substr(3)]=t[d]:r[d]=t[d])}),["navigation","pagination","scrollbar"].forEach(function(d){e[d]===!0&&(e[d]={}),e[d]===!1&&delete e[d]}),{params:e,passedParams:n,rest:r}}function lT(t){return new Wi(t)}function cT(t,e){var n=t.el,r=t.nextEl,i=t.prevEl,s=t.paginationEl,d=t.scrollbarEl,h=t.swiper;Kf(e)&&r&&i&&(h.params.navigation.nextEl=r,h.originalParams.navigation.nextEl=r,h.params.navigation.prevEl=i,h.originalParams.navigation.prevEl=i),Xf(e)&&s&&(h.params.pagination.el=s,h.originalParams.pagination.el=s),qf(e)&&d&&(h.params.scrollbar.el=d,h.originalParams.scrollbar.el=d),h.init(n)}function Sl(){return Sl=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},Sl.apply(this,arguments)}function em(t,e){var n=e.slidesPerView;if(e.breakpoints){var r=Wi.prototype.getBreakpoint(e.breakpoints),i=r in e.breakpoints?e.breakpoints[r]:void 0;i&&i.slidesPerView&&(n=i.slidesPerView)}var s=Math.ceil(parseFloat(e.loopedSlides||n,10));return s+=e.loopAdditionalSlides,s>t.length&&(s=t.length),s}function uT(t,e,n){var r=e.map(function(o,u){return o.props||(o.props={}),o.props.swiperRef=t,o.props["data-swiper-slide-index"]=u,o});function i(o,u,f){return o.props||(o.props={}),l.h(o.type,Sl({},o.props,{key:o.key+"-duplicate-"+u+"-"+f,class:(o.props.className||"")+" "+n.slideDuplicateClass+" "+(o.props.class||"")}),o.children)}if(n.loopFillGroupWithBlank){var s=n.slidesPerGroup-r.length%n.slidesPerGroup;if(s!==n.slidesPerGroup)for(var d=0;d<s;d+=1){var h=l.h("div",{class:n.slideClass+" "+n.slideBlankClass});r.push(h)}}n.slidesPerView==="auto"&&!n.loopedSlides&&(n.loopedSlides=r.length);var c=em(r,n),m=[],a=[];return r.forEach(function(o,u){u<c&&a.push(i(o,u,"prepend")),u<r.length&&u>=r.length-c&&m.push(i(o,u,"append"))}),t.value&&(t.value.loopedSlides=c),[].concat(m,r,a)}function hT(t,e,n,r){var i=[];if(!e)return i;var s=function(a){i.indexOf(a)<0&&i.push(a)},d=r.map(function(m){return m.props&&m.props.key}),h=n.map(function(m){return m.props&&m.props.key});d.join("")!==h.join("")&&i.push("children"),r.length!==n.length&&i.push("children");var c=Zf.filter(function(m){return m[0]==="_"}).map(function(m){return m.replace(/_/,"")});return c.forEach(function(m){if(m in t&&m in e)if(mr(t[m])&&mr(e[m])){var a=Object.keys(t[m]),o=Object.keys(e[m]);a.length!==o.length?s(m):(a.forEach(function(u){t[m][u]!==e[m][u]&&s(m)}),o.forEach(function(u){t[m][u]!==e[m][u]&&s(m)}))}else t[m]!==e[m]&&s(m)}),i}function Aa(t,e,n){t===void 0&&(t={});var r=[],i={"container-start":[],"container-end":[],"wrapper-start":[],"wrapper-end":[]},s=function d(h,c){!Array.isArray(h)||h.forEach(function(m){var a=typeof m.type=="symbol";c==="default"&&(c="container-end"),a&&m.children?d(m.children,"default"):m.type&&(m.type.name==="SwiperSlide"||m.type.name==="AsyncComponentWrapper")?r.push(m):i[c]&&i[c].push(m)})};return Object.keys(t).forEach(function(d){var h=t[d]();s(h,d)}),n.value=e.value,e.value=r,{slides:r,slots:i}}function dT(t){var e=t.swiper,n=t.slides,r=t.passedParams,i=t.changedParams,s=t.nextEl,d=t.prevEl,h=t.paginationEl,c=t.scrollbarEl,m=i.filter(function($){return $!=="children"&&$!=="direction"}),a=e.params,o=e.pagination,u=e.navigation,f=e.scrollbar,p=e.virtual,g=e.thumbs,v,y,x,T,k;i.includes("thumbs")&&r.thumbs&&r.thumbs.swiper&&a.thumbs&&!a.thumbs.swiper&&(v=!0),i.includes("controller")&&r.controller&&r.controller.control&&a.controller&&!a.controller.control&&(y=!0),i.includes("pagination")&&r.pagination&&(r.pagination.el||h)&&(a.pagination||a.pagination===!1)&&o&&!o.el&&(x=!0),i.includes("scrollbar")&&r.scrollbar&&(r.scrollbar.el||c)&&(a.scrollbar||a.scrollbar===!1)&&f&&!f.el&&(T=!0),i.includes("navigation")&&r.navigation&&(r.navigation.prevEl||d)&&(r.navigation.nextEl||s)&&(a.navigation||a.navigation===!1)&&u&&!u.prevEl&&!u.nextEl&&(k=!0);var b=function(_){!e[_]||(e[_].destroy(),_==="navigation"?(a[_].prevEl=void 0,a[_].nextEl=void 0,e[_].prevEl=void 0,e[_].nextEl=void 0):(a[_].el=void 0,e[_].el=void 0))};if(m.forEach(function($){if(mr(a[$])&&mr(r[$]))Pn(a[$],r[$]);else{var _=r[$];(_===!0||_===!1)&&($==="navigation"||$==="pagination"||$==="scrollbar")?_===!1&&b($):a[$]=r[$]}}),i.includes("children")&&p&&a.virtual.enabled?(p.slides=n,p.update(!0)):i.includes("children")&&e.lazy&&e.params.lazy.enabled&&e.lazy.load(),v){var C=g.init();C&&g.update(!0)}y&&(e.controller.control=a.controller.control),x&&(h&&(a.pagination.el=h),o.init(),o.render(),o.update()),T&&(c&&(a.scrollbar.el=c),f.init(),f.updateSize(),f.setTranslate()),k&&(s&&(a.navigation.nextEl=s),d&&(a.navigation.prevEl=d),u.init(),u.update()),i.includes("allowSlideNext")&&(e.allowSlideNext=r.allowSlideNext),i.includes("allowSlidePrev")&&(e.allowSlidePrev=r.allowSlidePrev),i.includes("direction")&&e.changeDirection(r.direction,!1),e.update()}function xl(){return xl=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},xl.apply(this,arguments)}function fT(t){!t||t.destroyed||!t.params.virtual||t.params.virtual&&!t.params.virtual.enabled||(t.updateSlides(),t.updateProgress(),t.updateSlidesClasses(),t.lazy&&t.params.lazy.enabled&&t.lazy.load(),t.parallax&&t.params.parallax&&t.params.parallax.enabled&&t.parallax.setTranslate())}function mT(t,e,n){var r;if(!n)return null;var i=t.value.isHorizontal()?(r={},r[t.value.rtlTranslate?"right":"left"]=n.offset+"px",r):{top:n.offset+"px"};return e.filter(function(s,d){return d>=n.from&&d<=n.to}).map(function(s){return s.props||(s.props={}),s.props.style||(s.props.style={}),s.props.swiperRef=t,s.props.style=i,l.h(s.type,xl({},s.props),s.children)})}var pT={name:"Swiper",props:{tag:{type:String,default:"div"},wrapperTag:{type:String,default:"div"},init:{type:Boolean,default:void 0},direction:{type:String,default:void 0},touchEventsTarget:{type:String,default:void 0},initialSlide:{type:Number,default:void 0},speed:{type:Number,default:void 0},cssMode:{type:Boolean,default:void 0},updateOnWindowResize:{type:Boolean,default:void 0},resizeObserver:{type:Boolean,default:void 0},nested:{type:Boolean,default:void 0},focusableElements:{type:String,default:void 0},width:{type:Number,default:void 0},height:{type:Number,default:void 0},preventInteractionOnTransition:{type:Boolean,default:void 0},userAgent:{type:String,default:void 0},url:{type:String,default:void 0},edgeSwipeDetection:{type:[Boolean,String],default:void 0},edgeSwipeThreshold:{type:Number,default:void 0},freeMode:{type:Boolean,default:void 0},freeModeMomentum:{type:Boolean,default:void 0},freeModeMomentumRatio:{type:Number,default:void 0},freeModeMomentumBounce:{type:Boolean,default:void 0},freeModeMomentumBounceRatio:{type:Number,default:void 0},freeModeMomentumVelocityRatio:{type:Number,default:void 0},freeModeSticky:{type:Boolean,default:void 0},freeModeMinimumVelocity:{type:Number,default:void 0},autoHeight:{type:Boolean,default:void 0},setWrapperSize:{type:Boolean,default:void 0},virtualTranslate:{type:Boolean,default:void 0},effect:{type:String,default:void 0},breakpoints:{type:Object,default:void 0},spaceBetween:{type:Number,default:void 0},slidesPerView:{type:[Number,String],default:void 0},slidesPerColumn:{type:Number,default:void 0},slidesPerColumnFill:{type:String,default:void 0},slidesPerGroup:{type:Number,default:void 0},slidesPerGroupSkip:{type:Number,default:void 0},centeredSlides:{type:Boolean,default:void 0},centeredSlidesBounds:{type:Boolean,default:void 0},slidesOffsetBefore:{type:Number,default:void 0},slidesOffsetAfter:{type:Number,default:void 0},normalizeSlideIndex:{type:Boolean,default:void 0},centerInsufficientSlides:{type:Boolean,default:void 0},watchOverflow:{type:Boolean,default:void 0},roundLengths:{type:Boolean,default:void 0},touchRatio:{type:Number,default:void 0},touchAngle:{type:Number,default:void 0},simulateTouch:{type:Boolean,default:void 0},shortSwipes:{type:Boolean,default:void 0},longSwipes:{type:Boolean,default:void 0},longSwipesRatio:{type:Number,default:void 0},longSwipesMs:{type:Number,default:void 0},followFinger:{type:Boolean,default:void 0},allowTouchMove:{type:Boolean,default:void 0},threshold:{type:Number,default:void 0},touchMoveStopPropagation:{type:Boolean,default:void 0},touchStartPreventDefault:{type:Boolean,default:void 0},touchStartForcePreventDefault:{type:Boolean,default:void 0},touchReleaseOnEdges:{type:Boolean,default:void 0},uniqueNavElements:{type:Boolean,default:void 0},resistance:{type:Boolean,default:void 0},resistanceRatio:{type:Number,default:void 0},watchSlidesProgress:{type:Boolean,default:void 0},watchSlidesVisibility:{type:Boolean,default:void 0},grabCursor:{type:Boolean,default:void 0},preventClicks:{type:Boolean,default:void 0},preventClicksPropagation:{type:Boolean,default:void 0},slideToClickedSlide:{type:Boolean,default:void 0},preloadImages:{type:Boolean,default:void 0},updateOnImagesReady:{type:Boolean,default:void 0},loop:{type:Boolean,default:void 0},loopAdditionalSlides:{type:Number,default:void 0},loopedSlides:{type:Number,default:void 0},loopFillGroupWithBlank:{type:Boolean,default:void 0},loopPreventsSlide:{type:Boolean,default:void 0},allowSlidePrev:{type:Boolean,default:void 0},allowSlideNext:{type:Boolean,default:void 0},swipeHandler:{type:Boolean,default:void 0},noSwiping:{type:Boolean,default:void 0},noSwipingClass:{type:String,default:void 0},noSwipingSelector:{type:String,default:void 0},passiveListeners:{type:Boolean,default:void 0},containerModifierClass:{type:String,default:void 0},slideClass:{type:String,default:void 0},slideBlankClass:{type:String,default:void 0},slideActiveClass:{type:String,default:void 0},slideDuplicateActiveClass:{type:String,default:void 0},slideVisibleClass:{type:String,default:void 0},slideDuplicateClass:{type:String,default:void 0},slideNextClass:{type:String,default:void 0},slideDuplicateNextClass:{type:String,default:void 0},slidePrevClass:{type:String,default:void 0},slideDuplicatePrevClass:{type:String,default:void 0},wrapperClass:{type:String,default:void 0},runCallbacksOnInit:{type:Boolean,default:void 0},observer:{type:Boolean,default:void 0},observeParents:{type:Boolean,default:void 0},observeSlideChildren:{type:Boolean,default:void 0},a11y:{type:[Boolean,Object],default:void 0},autoplay:{type:[Boolean,Object],default:void 0},controller:{type:Object,default:void 0},coverflowEffect:{type:Object,default:void 0},cubeEffect:{type:Object,default:void 0},fadeEffect:{type:Object,default:void 0},flipEffect:{type:Object,default:void 0},hashNavigation:{type:[Boolean,Object],default:void 0},history:{type:[Boolean,Object],default:void 0},keyboard:{type:[Boolean,Object],default:void 0},lazy:{type:[Boolean,Object],default:void 0},mousewheel:{type:[Boolean,Object],default:void 0},navigation:{type:[Boolean,Object],default:void 0},pagination:{type:[Boolean,Object],default:void 0},parallax:{type:[Boolean,Object],default:void 0},scrollbar:{type:[Boolean,Object],default:void 0},thumbs:{type:Object,default:void 0},virtual:{type:[Boolean,Object],default:void 0},zoom:{type:[Boolean,Object],default:void 0}},emits:["_beforeBreakpoint","_containerClasses","_slideClass","_slideClasses","_swiper","activeIndexChange","afterInit","autoplay","autoplayStart","autoplayStop","beforeDestroy","beforeInit","beforeLoopFix","beforeResize","beforeSlideChangeStart","beforeTransitionStart","breakpoint","changeDirection","click","disable","doubleTap","doubleClick","destroy","enable","fromEdge","hashChange","hashSet","imagesReady","init","keyPress","lazyImageLoad","lazyImageReady","lock","loopFix","momentumBounce","navigationHide","navigationShow","observerUpdate","orientationchange","paginationHide","paginationRender","paginationShow","paginationUpdate","progress","reachBeginning","reachEnd","realIndexChange","resize","scroll","scrollbarDragEnd","scrollbarDragMove","scrollbarDragStart","setTransition","setTranslate","slideChange","slideChangeTransitionEnd","slideChangeTransitionStart","slideNextTransitionEnd","slideNextTransitionStart","slidePrevTransitionEnd","slidePrevTransitionStart","slideResetTransitionStart","slideResetTransitionEnd","sliderMove","sliderFirstMove","slidesLengthChange","slidesGridLengthChange","snapGridLengthChange","snapIndexChange","swiper","tap","toEdge","touchEnd","touchMove","touchMoveOpposite","touchStart","transitionEnd","transitionStart","unlock","update","zoomChange"],setup:function(e,n){var r=n.slots,i=n.emit,s=e.tag,d=e.wrapperTag,h=l.ref("swiper-container"),c=l.ref(null),m=l.ref(!1),a=l.ref(!1),o=l.ref(null),u=l.ref(null),f=l.ref(null),p={value:[]},g={value:[]},v=l.ref(null),y=l.ref(null),x=l.ref(null),T=l.ref(null),k=Dh(e),b=k.params,C=k.passedParams;Aa(r,p,g),f.value=C,g.value=p.value;var $=function(){Aa(r,p,g),m.value=!0};if(b.onAny=function(w){for(var E=arguments.length,A=new Array(E>1?E-1:0),O=1;O<E;O++)A[O-1]=arguments[O];i.apply(void 0,[w].concat(A))},Object.assign(b.on,{_beforeBreakpoint:$,_containerClasses:function(E,A){h.value=A}}),u.value=lT(b),u.value.loopCreate=function(){},u.value.loopDestroy=function(){},b.loop&&(u.value.loopedSlides=em(p.value,b)),u.value.virtual&&u.value.params.virtual.enabled){u.value.virtual.slides=p.value;var _={cache:!1,renderExternal:function(E){c.value=E},renderExternalUpdate:!1};Pn(u.value.params.virtual,_),Pn(u.value.originalParams.virtual,_)}l.onUpdated(function(){!a.value&&u.value&&(u.value.emitSlidesClasses(),a.value=!0);var w=Dh(e),E=w.passedParams,A=hT(E,f.value,p.value,g.value);f.value=E,(A.length||m.value)&&u.value&&!u.value.destroyed&&dT({swiper:u.value,slides:p.value,passedParams:E,changedParams:A,nextEl:v.value,prevEl:y.value,scrollbarEl:T.value,paginationEl:x.value}),m.value=!1}),l.watch(c,function(){l.nextTick(function(){fT(u.value)})}),l.onMounted(function(){!o.value||(cT({el:o.value,nextEl:v.value,prevEl:y.value,paginationEl:x.value,scrollbarEl:T.value,swiper:u.value},b),i("swiper",u.value))}),l.onBeforeUnmount(function(){u.value&&!u.value.destroyed&&u.value.destroy(!0,!1)});function S(w){return b.virtual?mT(u,w,c.value):!b.loop||u.value&&u.value.destroyed?(w.forEach(function(E){E.props||(E.props={}),E.props.swiperRef=u}),w):uT(u,w,b)}return function(){var w=Aa(r,p,g),E=w.slides,A=w.slots;return l.h(s,{ref:o,class:Qf(h.value)},[A["container-start"],Kf(e)&&[l.h("div",{ref:y,class:"swiper-button-prev"}),l.h("div",{ref:v,class:"swiper-button-next"})],qf(e)&&l.h("div",{ref:T,class:"swiper-scrollbar"}),Xf(e)&&l.h("div",{ref:x,class:"swiper-pagination"}),l.h(d,{class:"swiper-wrapper"},[A["wrapper-start"],S(E),A["wrapper-end"]]),A["container-end"]])}}},gT={name:"SwiperSlide",props:{tag:{type:String,default:"div"},swiperRef:Object,zoom:{type:Boolean,default:void 0},virtualIndex:{type:[String,Number],default:void 0}},setup:function(e,n){var r=n.slots,i=!1,s=e.swiperRef,d=l.ref(null),h=l.ref("swiper-slide");function c(a,o,u){o===d.value&&(h.value=u)}l.onMounted(function(){!s.value||(s.value.on("_slideClass",c),i=!0)}),l.onBeforeUpdate(function(){i||!s||!s.value||(s.value.on("_slideClass",c),i=!0)}),l.onUpdated(function(){!d.value||!s||!s.value||s.value.destroyed&&h.value!=="swiper-slide"&&(h.value="swiper-slide")}),l.onBeforeUnmount(function(){!s||!s.value||s.value.off("_slideClass",c)});var m=l.computed(function(){return{isActive:h.value.indexOf("swiper-slide-active")>=0||h.value.indexOf("swiper-slide-duplicate-active")>=0,isVisible:h.value.indexOf("swiper-slide-visible")>=0,isDuplicate:h.value.indexOf("swiper-slide-duplicate")>=0,isPrev:h.value.indexOf("swiper-slide-prev")>=0||h.value.indexOf("swiper-slide-duplicate-prev")>=0,isNext:h.value.indexOf("swiper-slide-next")>=0||h.value.indexOf("swiper-slide-duplicate-next")>=0}});return function(){return l.h(e.tag,{class:Qf(""+h.value),ref:d,"data-swiper-slide-index":e.virtualIndex},e.zoom?l.h("div",{class:"swiper-zoom-container","data-swiper-zoom":typeof e.zoom=="number"?e.zoom:void 0},r.default&&r.default(m.value)):r.default&&r.default(m.value))}}};const vT={class:"vc-slider tw-relative"},wT={class:"vc-slider__prev tw-left-0"},yT={class:"vc-slider__btn"},bT={class:"vc-slider__next tw-right-0"},ST={class:"vc-slider__btn"},xT=l.defineComponent({__name:"vc-slider",props:{slides:{type:Array,default:()=>[]},navigation:{type:Boolean,default:!1},overflow:{type:Boolean,default:!1},slidesPerView:{type:String,default:"auto"},spaceBetweenSlides:{type:Number,default:10}},setup(t){Wi.use([aT]);const e=l.computed(()=>({nextEl:".vc-slider__next",prevEl:".vc-slider__prev"}));return(n,r)=>{const i=l.resolveComponent("VcIcon");return l.openBlock(),l.createElementBlock("div",vT,[l.createVNode(l.unref(pT),{class:l.normalizeClass(["vc-slider__swiper",{"tw-overflow-visible":t.overflow,"tw-px-[40px]":t.navigation}]),"space-between":t.spaceBetweenSlides,navigation:l.unref(e),slidesPerView:t.slidesPerView,resizeObserver:!0},{default:l.withCtx(()=>[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(t.slides,(s,d)=>(l.openBlock(),l.createBlock(l.unref(gT),{key:d},{default:l.withCtx(()=>[l.renderSlot(n.$slots,"default",{slide:s},void 0,!0)]),_:2},1024))),128))]),_:3},8,["class","space-between","navigation","slidesPerView"]),l.withDirectives(l.createElementVNode("div",null,[l.createElementVNode("div",wT,[l.renderSlot(n.$slots,"prevBtn",{},()=>[l.createElementVNode("div",yT,[l.createVNode(i,{icon:"fas fa-chevron-left"})])],!0)]),l.createElementVNode("div",bT,[l.renderSlot(n.$slots,"nextBtn",{},()=>[l.createElementVNode("div",ST,[l.createVNode(i,{icon:"fas fa-chevron-right"})])],!0)])],512),[[l.vShow,t.navigation]])])}}});const tm=so(xT,[["__scopeId","data-v-146242f6"]]),kT=["innerHTML"],CT={class:"vc-textarea__field-wrapper"},ET=["placeholder","value","disabled","maxlength"],Rc=l.defineComponent({__name:"vc-textarea",props:{placeholder:{type:String,default:""},modelValue:{type:String,default:void 0},isRequired:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},label:{type:String,default:void 0},tooltip:{type:String,default:void 0},name:{type:String,default:"Field"},maxchars:{type:String,default:"1024"},errorMessage:{type:String,default:void 0}},emits:["update:modelValue"],setup(t,{emit:e}){const n=t;l.watch(()=>n.modelValue,i=>{e("update:modelValue",i)});function r(i){const s=i.target.value;e("update:modelValue",s)}return(i,s)=>{const d=l.resolveComponent("VcHint");return l.openBlock(),l.createElementBlock("div",{class:l.normalizeClass(["vc-textarea",{"vc-textarea_error":t.errorMessage,"vc-textarea_disabled":t.disabled}])},[t.label?(l.openBlock(),l.createBlock(l.unref(Gn),{key:0,class:"tw-mb-2",required:t.isRequired},l.createSlots({default:l.withCtx(()=>[l.createElementVNode("span",null,l.toDisplayString(t.label),1)]),_:2},[t.tooltip?{name:"tooltip",fn:l.withCtx(()=>[l.createElementVNode("span",{innerHTML:t.tooltip},null,8,kT)]),key:"0"}:void 0]),1032,["required"])):l.createCommentVNode("",!0),l.createElementVNode("div",CT,[l.createElementVNode("textarea",{class:"vc-textarea__field",placeholder:t.placeholder,value:t.modelValue,disabled:t.disabled,onInput:r,maxlength:t.maxchars},null,40,ET)]),t.errorMessage?l.renderSlot(i.$slots,"error",{key:1},()=>[l.createVNode(d,{class:"vc-textarea__error"},{default:l.withCtx(()=>[l.createTextVNode(l.toDisplayString(t.errorMessage),1)]),_:1})]):l.createCommentVNode("",!0)],2)}}});const _T={class:"tw-relative tw-flex tw-items-center tw-content-between tw-h-[var(--app-bar-height)] tw-bg-[color:var(--app-bar-background-color)] tw-pl-4"},TT=["src"],AT={key:1,class:"tw-overflow-ellipsis tw-overflow-hidden tw-whitespace-nowrap tw-text-2xl tw-leading-header"},$T={class:"tw-ml-2 tw-text-lg"},OT=["src"],LT={key:2,class:"tw-text-[color:var(--app-bar-product-name-color)] tw-text-[length:var(--app-bar-product-name-size)] tw-font-medium tw-ml-[30px]"},MT=l.createElementVNode("div",{class:"tw-grow tw-basis-0 tw-basis-0"},null,-1),RT={class:"tw-flex tw-h-full tw-box-border"},NT=["title","onClick"],IT=l.defineComponent({__name:"vc-app-bar",props:{logo:{default:""},version:{default:""},blades:{default:()=>[]},buttons:{default:()=>[]},title:null},emits:["logo:click","backlink:click","version:click","toolbarbutton:click","menubutton:click"],setup(t){return(e,n)=>{const r=l.resolveComponent("VcLink");return l.openBlock(),l.createElementBlock("div",_T,[l.renderSlot(e.$slots,"appSwitcher"),e.$isMobile.value?(l.openBlock(),l.createElementBlock(l.Fragment,{key:0},[t.blades.length===0?(l.openBlock(),l.createElementBlock("img",{key:0,class:"h-3/6 tw-cursor-pointer",alt:"logo",src:t.logo,onClick:n[0]||(n[0]=i=>e.$emit("logo:click"))},null,8,TT)):t.blades.length===1?(l.openBlock(),l.createElementBlock("div",AT,l.toDisplayString(t.blades[0].title),1)):(l.openBlock(),l.createBlock(r,{key:2,onClick:n[1]||(n[1]=i=>e.$emit("backlink:click"))},{default:l.withCtx(()=>[l.createVNode(l.unref(Se),{icon:"fas fa-chevron-left",size:"s"}),l.createElementVNode("span",$T,l.toDisplayString(e.$t("Back")),1)]),_:1}))],64)):(l.openBlock(),l.createElementBlock(l.Fragment,{key:1},[l.createElementVNode("img",{class:"tw-h-3/6 tw-cursor-pointer",src:t.logo,alt:"logo",onClick:n[2]||(n[2]=i=>e.$emit("logo:click"))},null,8,OT),l.createElementVNode("div",{class:"tw-text-[color:var(--app-bar-version-color)] tw-text-xs tw-ml-[30px]",onClick:n[3]||(n[3]=i=>e.$emit("version:click"))},l.toDisplayString(t.version),1)],64)),t.title?(l.openBlock(),l.createElementBlock("div",LT,l.toDisplayString(t.title),1)):l.createCommentVNode("",!0),MT,l.createElementVNode("div",RT,[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(t.buttons,(i,s)=>(l.openBlock(),l.createElementBlock(l.Fragment,{key:s},[i.isVisible===void 0||i.isVisible?(l.openBlock(),l.createElementBlock(l.Fragment,{key:0},[i.component?(l.openBlock(),l.createBlock(l.resolveDynamicComponent(i.component),l.mergeProps({key:0},i.bladeOptions,{isAccent:i.isAccent}),null,16,["isAccent"])):(l.openBlock(),l.createElementBlock("div",{key:1,class:l.normalizeClass(["tw-relative tw-flex tw-items-center tw-justify-center tw-w-[var(--app-bar-button-width)] tw-border-l tw-border-solid tw-border-[color:var(--app-bar-button-border-color)] tw-cursor-pointer tw-text-[color: var(--app-bar-button-color)] tw-bg-[color:var(--app-bar-button-background-color)] tw-transition-[color] tw-duration-200 hover:tw-text-[color:var(--app-bar-button-color-hover)] hover:tw-bg-[color:var(--app-bar-button-background-color-hover)]",{"vc-app-bar__button_accent":i.isAccent}]),title:i.title,onClick:d=>e.$emit("button:click",i)},[l.createVNode(l.unref(Se),{icon:typeof i.icon=="function"?i.icon():i.icon,size:"xl"},null,8,["icon"])],10,NT))],64)):l.createCommentVNode("",!0)],64))),128))]),e.$isMobile.value?(l.openBlock(),l.createElementBlock("div",{key:3,class:"tw-text-[#319ed4] tw-w-[var(--app-bar-button-width)] tw-flex tw-items-center tw-justify-center tw-h-full tw-box-border tw-cursor-pointer",onClick:n[4]||(n[4]=i=>e.$emit("menubutton:click"))},[l.createVNode(l.unref(Se),{icon:"fas fa-bars"})])):l.createCommentVNode("",!0)])}}});const DT={key:0,class:"vc-app-menu-item__icon"},PT={class:"vc-app-menu-item__title"},Ph=l.defineComponent({__name:"vc-app-menu-link",props:{isActive:{type:Boolean,default:!1},children:{default:()=>({})},sticky:{type:Boolean,default:!0},icon:{default:""},title:{default:""}},emits:["onClick"],setup(t){return(e,n)=>{const r=l.resolveComponent("VcIcon");return l.openBlock(),l.createElementBlock("div",{class:l.normalizeClass(["vc-app-menu-item",[{"vc-app-menu-item_active":t.isActive&&!t.children.length},{"vc-app-menu-item_no-hover":t.children.length}]]),onClick:n[0]||(n[0]=i=>e.$emit("onClick"))},[l.createElementVNode("div",{class:l.normalizeClass(["vc-app-menu-item__handler",{"vc-app-menu-item__handler_enabled":!t.sticky}])},[l.createVNode(r,{icon:"fas fa-ellipsis-v",size:"m"})],2),t.icon?(l.openBlock(),l.createElementBlock("div",DT,[l.createVNode(r,{icon:t.icon,size:"m"},null,8,["icon"])])):l.createCommentVNode("",!0),l.createElementVNode("div",PT,[l.createTextVNode(l.toDisplayString(t.title)+" ",1),t.children.length?(l.openBlock(),l.createBlock(r,{key:0,class:"vc-app-menu-item__title-icon",icon:"fas fa-chevron-down",size:"xs"})):l.createCommentVNode("",!0)])],2)}}});const BT={key:0,class:"vc-app-menu-item__child"},FT=["onClick"],VT=l.defineComponent({__name:"vc-app-menu-item",props:{sticky:{type:Boolean,default:!0},isVisible:{type:Boolean,default:!1},component:{default:void 0},bladeOptions:{default:()=>({})},clickHandler:{type:Function,default:void 0},icon:{default:""},title:{default:""},children:{default:()=>[]},isCollapsed:{type:Boolean,default:!0}},emits:["click","child:click"],setup(t,{emit:e}){const n=t,r=Si.useRoute(),i=l.ref(!1),s=l.computed(()=>r.path==="/");l.onMounted(()=>{n.children&&n.children.length&&n.children.find(h=>h.component?.url===r?.path)&&(i.value=!0)});function d(h){n.children?.length?i.value=!i.value:e("click",h)}return(h,c)=>{const m=l.resolveComponent("router-link");return l.openBlock(),l.createElementBlock("div",null,[t.component&&t.component.url?(l.openBlock(),l.createBlock(m,{key:0,to:t.component.url,custom:""},{default:l.withCtx(({isActive:a,navigate:o})=>[l.createVNode(Ph,{isActive:a,children:t.children,sticky:t.sticky,icon:t.icon,title:t.title,onOnClick:u=>d(()=>o(u))},null,8,["isActive","children","sticky","icon","title","onOnClick"])]),_:1},8,["to"])):(l.openBlock(),l.createElementBlock(l.Fragment,{key:1},[l.createVNode(Ph,{children:t.children,sticky:t.sticky,icon:t.icon,title:t.title,onOnClick:d,isActive:l.unref(s)},null,8,["children","sticky","icon","title","isActive"]),i.value?(l.openBlock(),l.createElementBlock("div",BT,[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(t.children,(a,o)=>(l.openBlock(),l.createBlock(m,{key:o,to:a.component.url,custom:""},{default:l.withCtx(({isActive:u,navigate:f})=>[a.isVisible===void 0||a.isVisible?(l.openBlock(),l.createElementBlock("div",{class:l.normalizeClass([{"vc-app-menu-item__child-item_active":u},"vc-app-menu-item__child-item"]),key:o,onClick:p=>h.$emit("child:click",{item:a,navigationCb:f})},l.toDisplayString(a.title),11,FT)):l.createCommentVNode("",!0)]),_:2},1032,["to"]))),128))])):l.createCommentVNode("",!0)],64))])}}});const UT={class:"vc-app-menu__inner tw-flex tw-flex-col tw-h-full"},WT={key:0,class:"tw-text-[#319ed4] tw-flex tw-justify-end tw-items-center tw-p-4"},HT={class:"tw-gap-[5px] tw-flex tw-flex-col tw-px-4"},jT=l.defineComponent({__name:"vc-app-menu",props:{items:{default:()=>[]},mobileMenuItems:{default:()=>[]}},emits:["item:click"],setup(t,{expose:e}){const n=l.ref(!1);return e({isMobileVisible:n}),(r,i)=>{const s=l.resolveComponent("VcIcon");return l.openBlock(),l.createElementBlock("div",{class:l.normalizeClass(["tw-relative tw-w-[var(--app-menu-width)] tw-transition tw-duration-100 tw-pt-4",{"vc-app-menu_mobile tw-hidden !tw-fixed !tw-left-0 !tw-top-0 !tw-w-full !tw-bottom-0 !tw-z-[9999]":r.$isMobile.value,"!tw-block":n.value}])},[r.$isMobile.value?(l.openBlock(),l.createElementBlock("div",{key:0,class:"tw-absolute tw-left-0 tw-top-0 tw-right-0 tw-bottom-0 tw-z-[9998] tw-bg-[#808c99] tw-opacity-60",onClick:i[0]||(i[0]=d=>n.value=!1)})):l.createCommentVNode("",!0),l.createElementVNode("div",UT,[r.$isMobile.value?(l.openBlock(),l.createElementBlock("div",WT,[l.createVNode(s,{icon:"fas fa-times",size:"xl",onClick:i[1]||(i[1]=d=>n.value=!1)})])):l.createCommentVNode("",!0),l.createVNode(l.unref(jr),{noPadding:!0,class:"tw-grow tw-basis-0"},{default:l.withCtx(()=>[l.createElementVNode("div",HT,[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(t.mobileMenuItems,(d,h)=>(l.openBlock(),l.createElementBlock(l.Fragment,{key:`info_item_${h}`},[d.isVisible===void 0||d.isVisible?(l.openBlock(),l.createElementBlock(l.Fragment,{key:0},[d.component?(l.openBlock(),l.createBlock(l.resolveDynamicComponent(d.component),l.mergeProps({key:0},d.bladeOptions,{class:"tw-p-0 tw-mb-2 tw-w-full"}),null,16)):l.createCommentVNode("",!0)],64)):l.createCommentVNode("",!0)],64))),128)),(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(t.items,(d,h)=>(l.openBlock(),l.createElementBlock(l.Fragment,{key:h},[d.isVisible===void 0||d.isVisible?(l.openBlock(),l.createBlock(VT,l.mergeProps({key:0},d,{onClick:c=>{r.$emit("item:click",{item:d,navigationCb:c}),n.value=!1},"onChild:click":i[2]||(i[2]=({item:c,navigationCb:m})=>{r.$emit("item:click",{item:c,navigationCb:m}),n.value=!1})}),null,16,["onClick"])):l.createCommentVNode("",!0)],64))),128))])]),_:1})])],2)}}});const zT={class:"tw-overflow-hidden tw-flex tw-grow tw-basis-0"},GT={class:"vc-app__workspace tw-px-2 tw-w-full tw-overflow-hidden !tw-flex tw-grow tw-basis-0"},YT={class:"[pointer-events:painted] tw-absolute tw-flex tw-z-[1000] tw-overflow-hidden tw-top-0 tw-left-2/4 -tw-translate-x-2/4 tw-flex-col tw-items-center tw-p-2 tw-box-border"},JT=l.defineComponent({inheritAttrs:!1}),nm=l.defineComponent({...JT,__name:"vc-app",props:{pages:{default:()=>[]},menuItems:{default:()=>[]},mobileMenuItems:{default:()=>[]},toolbarItems:{default:()=>[]},isReady:{type:Boolean,default:!1},isAuthorized:{type:Boolean,default:!1},logo:{default:void 0},version:{default:void 0},theme:{default:"light"},bladesRefs:{default:()=>[]},title:null},emits:["onOpen","onClose","backlink:click"],setup(t,{expose:e,emit:n}){console.debug("vc-app: Init vc-app");const r=l.getCurrentInstance(),i=Si.useRouter(),s=function({item:c,navigationCb:m}){console.debug("vc-app#onMenuItemClick() called."),c.clickHandler&&typeof c.clickHandler=="function"?c.clickHandler(r?.exposed):n("onOpen",{parentBlade:c.component,id:0,navigationCb:m})},d=function(c){console.debug("vc-app#onToolbarButtonClick() called."),c.clickHandler&&typeof c.clickHandler=="function"&&c.clickHandler(r?.proxy)},h=async()=>{console.debug("openDashboard() called."),await n("onClose",0),i.push("/")};return e({openDashboard:h,onToolbarButtonClick:d,onMenuItemClick:s}),(c,m)=>(l.openBlock(),l.createElementBlock("div",{class:l.normalizeClass(["vc-app tw-flex tw-flex-col tw-w-full tw-h-full tw-box-border tw-m-0 tw-overflow-hidden tw-text-base",[`vc-theme_${t.theme}`,{"vc-app_touch":c.$isTouch,"vc-app_phone":c.$isPhone.value,"vc-app_mobile":c.$isMobile.value}]])},[l.createVNode(IT,{class:"tw-shrink-0",logo:t.logo,blades:t.bladesRefs,version:t.version,buttons:t.toolbarItems,"onToolbarbutton:click":d,"onMenubutton:click":m[0]||(m[0]=a=>c.$refs.menu.isMobileVisible=!0),"onBacklink:click":m[1]||(m[1]=a=>c.$emit("backlink:click",t.bladesRefs.length-2)),"onLogo:click":h,title:t.title},{appSwitcher:l.withCtx(()=>[l.renderSlot(c.$slots,"appSwitcher")]),_:3},8,["logo","blades","version","buttons","title"]),l.createElementVNode("div",zT,[l.createVNode(jT,{ref:"menu",class:"tw-shrink-0",items:t.menuItems,mobileMenuItems:t.mobileMenuItems,"onItem:click":s},null,8,["items","mobileMenuItems"]),l.createElementVNode("div",GT,[l.renderSlot(c.$slots,"bladeNavigation")]),l.createElementVNode("div",YT,[l.renderSlot(c.$slots,"notifications")]),l.createElementVNode("div",null,[l.renderSlot(c.$slots,"passwordChange")])])],2))}});const KT={class:"tw-shrink-0 tw-h-[var(--blade-header-height)] tw-bg-[color:var(--blade-header-background-color)] tw-flex tw-items-center tw-py-0 tw-px-4 tw-border-solid tw-border-b tw-border-b-[color:#eaedf3]"},XT={key:0,class:"tw-text-[color:var(--blade-header-icon-color)] tw-mr-3"},qT={class:"tw-overflow-hidden tw-grow tw-basis-0"},QT={key:0,class:"tw-text-[color:var(--blade-header-subtitle-color)] tw-text-xs tw-mt-1"},ZT={key:1},eA={key:2,class:"tw-flex tw-items-center"},tA=l.defineComponent({__name:"vc-blade-header",props:{expandable:{type:Boolean,default:!1},expanded:{type:Boolean,default:!1},closable:{type:Boolean,default:!1},title:{type:String,default:void 0},subtitle:{type:String,default:void 0},icon:{type:String,default:void 0}},emits:["close","expand","collapse"],setup(t,{emit:e}){const n=t;function r(){n.expandable&&e("expand")}function i(){n.expandable&&e("collapse")}function s(){n.closable&&e("close")}return(d,h)=>(l.openBlock(),l.createElementBlock("div",KT,[t.icon?(l.openBlock(),l.createElementBlock("div",XT,[l.createVNode(l.unref(Se),{icon:t.icon,size:"xxl"},null,8,["icon"])])):l.createCommentVNode("",!0),l.createElementVNode("div",qT,[l.createElementVNode("div",{class:l.normalizeClass(["tw-text-[color:var(--blade-header-title-color)] tw-text-lg tw-truncate",{"!tw-text-[length:var(--blade-header-title-font-size)] tw-font-medium":!t.subtitle}])},l.toDisplayString(t.title),3),t.subtitle?(l.openBlock(),l.createElementBlock("div",QT,l.toDisplayString(t.subtitle),1)):l.createCommentVNode("",!0)]),d.$slots.actions?(l.openBlock(),l.createElementBlock("div",ZT,[l.renderSlot(d.$slots,"actions")])):l.createCommentVNode("",!0),d.$isMobile.value?l.createCommentVNode("",!0):(l.openBlock(),l.createElementBlock("div",eA,[t.expandable?(l.openBlock(),l.createElementBlock(l.Fragment,{key:0},[t.expanded?(l.openBlock(),l.createElementBlock("div",{key:0,class:"tw-text-[color:var(--blade-header-button-color)] tw-ml-4 tw-cursor-pointer hover:tw-text-[color:var(--blade-header-button-color-hover)]",onClick:i},[l.createVNode(l.unref(Se),{icon:"fas fa-window-minimize",size:"s"})])):(l.openBlock(),l.createElementBlock("div",{key:1,class:"vc-blade-header__button",onClick:r},[l.createVNode(l.unref(Se),{icon:"fas fa-window-maximize",size:"s"})]))],64)):l.createCommentVNode("",!0),t.closable?(l.openBlock(),l.createElementBlock("div",{key:1,class:"tw-text-[color:var(--blade-header-button-color)] tw-ml-4 tw-cursor-pointer hover:tw-text-[color:var(--blade-header-button-color-hover)]",onClick:s},[l.createVNode(l.unref(Se),{icon:"fas fa-times"})])):l.createCommentVNode("",!0)]))]))}});const nA=["title"],rA={key:0,class:"vc-blade-toolbar-button__title"},iA=["onClick"],sA=l.defineComponent({inheritAttrs:!1}),oA=l.defineComponent({...sA,__name:"vc-blade-toolbar-button",props:{disabled:{type:Boolean,default:!1},isExpanded:{type:Boolean,default:!0},icon:{type:String,default:"fas fa-question-circle"},title:{type:String,default:void 0},dropdownItems:{type:Array,default:()=>[]},clickHandler:{type:Function,default:void 0}},emits:["click"],setup(t,{emit:e}){const n=t,r=l.ref(),i=l.ref(!1),s=l.ref(!1),d=l.ref(),h=l.ref(),c=l.ref();async function m(){if(console.debug("vc-blade-toolbar-item#onClick()"),!n.disabled&&!i.value)if(n.clickHandler&&typeof n.clickHandler=="function"){i.value=!0;try{await n.clickHandler()}finally{i.value=!1}}else n.dropdownItems?.length?a():e("click")}function a(){n.dropdownItems?.length&&(s.value?(s.value=!1,r.value?.destroy()):(s.value=!0,l.nextTick(()=>{r.value=Ji(d.value,c.value,{placement:"bottom",modifiers:[{name:"offset",options:{offset:[70,5]}}]})})))}function o(u){u.clickHandler&&typeof u.clickHandler=="function"&&(u.clickHandler(),a())}return(u,f)=>(l.openBlock(),l.createElementBlock("div",{class:l.normalizeClass(["vc-blade-toolbar-button",{"vc-blade-toolbar-button_disabled":t.disabled||i.value}]),onClick:m,title:t.title},[l.createElementVNode("div",{ref_key:"dropButtonRef",ref:h},[l.createElementVNode("div",{class:"vc-blade-toolbar-button__wrap",ref_key:"bladeDropToggle",ref:d},[l.createVNode(l.unref(Se),{class:"vc-blade-toolbar-button__icon",icon:t.icon,size:"m"},null,8,["icon"]),t.isExpanded?(l.openBlock(),l.createElementBlock("div",rA,l.toDisplayString(t.title),1)):l.createCommentVNode("",!0)],512),(l.openBlock(),l.createBlock(l.Teleport,{to:"#app"},[s.value?(l.openBlock(),l.createElementBlock("div",{key:0,class:"vc-blade-toolbar-button__dropdown",ref_key:"bladeDropRef",ref:c},[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(t.dropdownItems,(p,g)=>(l.openBlock(),l.createElementBlock("div",{class:"vc-blade-toolbar-button__dropdown-item",key:g,onClick:v=>o(p)},[l.createVNode(l.unref(Se),{icon:p.icon,class:"vc-blade-toolbar-button__dropdown-item-icon"},null,8,["icon"]),l.createTextVNode(" "+l.toDisplayString(p.title),1)],8,iA))),128))],512)):l.createCommentVNode("",!0)]))],512)],10,nA))}});const aA={class:"tw-grow tw-basis-0 tw-flex tw-content-start tw-items-center tw-overflow-x-auto tw-px-2"},lA=l.defineComponent({__name:"vc-blade-toolbar",props:{items:{type:Array,default:()=>[]}},setup(t){const e=t,n=l.ref(!0);try{n.value=localStorage.getItem("VC_BLADE_TOOLBAR_IS_EXPANDED")==="true"}catch{n.value=!0}function r(){n.value=!n.value,localStorage.setItem("VC_BLADE_TOOLBAR_IS_EXPANDED",n.value.toString())}function i(){return!!e.items.filter(d=>d.isVisible===void 0||d.isVisible).length}return(s,d)=>{const h=l.resolveComponent("VcIcon");return i()?(l.openBlock(),l.createElementBlock("div",{key:0,class:l.normalizeClass(["tw-h-[var(--blade-toolbar-height)] tw-bg-[color:var(--blade-toolbar-background-color)] tw-border-b-[color:#eaedf3] tw-border-solid tw-border-b tw-flex tw-box-border tw-w-full tw-content-center tw-items-stretch tw-shrink-0",{"!tw-h-[var(--blade-toolbar-height-expanded)]":n.value}])},[l.createElementVNode("div",aA,[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(t.items,c=>(l.openBlock(),l.createElementBlock(l.Fragment,{key:c.id},[c.isVisible===void 0||c.isVisible?(l.openBlock(),l.createBlock(oA,l.mergeProps({key:0},c,{isExpanded:n.value}),null,16,["isExpanded"])):l.createCommentVNode("",!0)],64))),128))]),l.createVNode(h,{class:"tw-self-center tw-justify-self-center tw-text-[#a1c0d4] tw-cursor-pointer tw-mr-4 hover:tw-text-[#7ea8c4]",icon:`fas fa-chevron-${n.value?"up":"down"}`,onClick:r},null,8,["icon"])],2)):l.createCommentVNode("",!0)}}});const cA=l.defineComponent({inheritAttrs:!1}),Nc=l.defineComponent({...cA,__name:"vc-blade",props:{icon:{type:String},title:{type:String},subtitle:{type:String},width:{type:[Number,String],default:"30%"},expanded:{type:Boolean,default:!1},closable:{type:Boolean,default:!0},toolbarItems:{type:Array,default:()=>[]}},setup(t){return(e,n)=>(l.openBlock(),l.createElementBlock("div",{class:l.normalizeClass(["vc-blade tw-relative tw-flex tw-shrink-0 tw-flex-col tw-bg-[color:var(--blade-background-color)] tw-rounded-[var(--blade-border-radius)] tw-shadow-[2px_2px_8px_rgba(126,142,157,0.14)] tw-my-4 tw-mx-2 tw-overflow-hidden tw-transition-[width] tw-duration-200",[e.$attrs.class,{"!tw-w-full tw-shrink":e.$isMobile.value||t.expanded}]]),style:l.normalizeStyle({width:typeof t.width=="number"?`${t.width}px`:t.width})},[!e.$isMobile.value||t.closable?(l.openBlock(),l.createBlock(tA,{key:0,class:"tw-shrink-0",expanded:t.expanded,closable:t.closable,icon:t.icon,title:t.title,subtitle:t.subtitle,onClose:n[0]||(n[0]=r=>e.$emit("close"))},l.createSlots({_:2},[e.$slots.actions?{name:"actions",fn:l.withCtx(()=>[l.renderSlot(e.$slots,"actions")]),key:"0"}:void 0]),1032,["expanded","closable","icon","title","subtitle"])):l.createCommentVNode("",!0),l.createVNode(lA,{class:"tw-shrink-0",items:t.toolbarItems},null,8,["items"]),l.renderSlot(e.$slots,"default")],6))}});const rm=l.defineComponent({__name:"vc-dynamic-property",props:{property:{type:Object,default:()=>({})},dictionaries:{type:Object,default:()=>({})},getter:{type:Function},optionsGetter:{type:Function},setter:{type:Function},culture:{type:String,default:"en-US"},disabled:{type:Boolean,default:!1}},setup(t){const e=t,{locale:n,te:r,t:i}=nc(),s={},d=l.ref([]),h=l.computed(()=>d.value?.some(o=>o.alias)?"alias":"name"),c=l.computed(()=>{let o;const u=e.property.displayNames?.find(f=>f.languageCode?.toLowerCase().startsWith(n.value?.toLowerCase()));if(u&&u.name)o=u.name;else{const f=e.property.displayNames?.find(p=>p.languageCode?.toLowerCase().includes(e.culture?.toLowerCase()));o=f&&f?.name?f.name:e.property.name}return o&&r(o.toUpperCase())?i(o.toUpperCase()):o});l.onMounted(async()=>{e.optionsGetter&&(d.value=await e.optionsGetter(e.property))}),(e.property.required||e.property.isRequired)&&(s.required=!0),e.property.validationRule?.charCountMin&&(s.min=Number(e.property.validationRule.charCountMin)),e.property.validationRule?.charCountMax&&(s.max=Number(e.property.validationRule.charCountMax)),e.property.validationRule?.regExp&&(s.regex=new RegExp(e.property.validationRule?.regExp));async function m(o){e.optionsGetter&&(d.value=await e.optionsGetter(e.property,o))}async function a(){e.optionsGetter&&(d.value=await e.optionsGetter(e.property))}return(o,u)=>{const f=l.resolveComponent("VcSelect"),p=l.resolveComponent("VcMultivalue"),g=l.resolveComponent("VcInput"),v=l.resolveComponent("VcTextarea"),y=l.resolveComponent("VcCheckbox"),x=l.resolveComponent("VcEditor");return(t.property.dictionary||t.property.isDictionary)&&!t.property.multivalue?(l.openBlock(),l.createBlock(l.unref(He.Field),{key:0,name:t.property.displayName||t.property.name,modelValue:t.getter(t.property,!0),rules:s},{default:l.withCtx(({field:T,errorMessage:k,handleChange:b,errors:C})=>[l.createVNode(f,l.mergeProps(o.$attrs,{error:!!C.length,"error-message":k,label:l.unref(c)||t.property.displayName,modelValue:t.getter(t.property,!0),"onUpdate:modelValue":$=>{b($),t.setter(t.property,$,d.value)},required:t.property.required||t.property.isRequired,placeholder:l.unref(c)||t.property.defaultValue,options:d.value,"option-value":"id","option-label":l.unref(h),disabled:t.disabled,searchable:"",onSearch:m,onClose:a}),null,16,["error","error-message","label","modelValue","onUpdate:modelValue","required","placeholder","options","option-label","disabled"])]),_:1},8,["name","modelValue"])):t.property.valueType==="ShortText"&&t.property.multivalue&&!(t.property.dictionary||t.property.isDictionary)?(l.openBlock(),l.createBlock(l.unref(He.Field),{key:1,name:t.property.name,modelValue:t.property.values,rules:s},{default:l.withCtx(({field:T,errorMessage:k,handleChange:b})=>[l.createVNode(p,l.mergeProps(o.$attrs,{"error-message":k,label:l.unref(c),modelValue:t.property.values,"onUpdate:modelValue":C=>{b(C),t.setter(t.property,C)},required:t.property.required||t.property.isRequired,placeholder:"Add value",disabled:t.disabled}),null,16,["error-message","label","modelValue","onUpdate:modelValue","required","disabled"])]),_:1},8,["name","modelValue"])):t.property.valueType==="ShortText"&&t.property.multivalue&&(t.property.dictionary||t.property.isDictionary)?(l.openBlock(),l.createBlock(l.unref(He.Field),{key:2,name:t.property.name,modelValue:t.property.values,rules:s},{default:l.withCtx(({field:T,errorMessage:k,handleChange:b})=>[l.createVNode(p,l.mergeProps(o.$attrs,{"error-message":k,label:l.unref(c),modelValue:t.property.values,"onUpdate:modelValue":C=>{b(C),t.setter(t.property,C,d.value)},required:t.property.required||t.property.isRequired,placeholder:"Add value",multivalue:t.property.multivalue,disabled:t.disabled,options:d.value,keyProperty:"id",displayProperty:"alias",onSearch:m,onClose:a}),null,16,["error-message","label","modelValue","onUpdate:modelValue","required","multivalue","disabled","options"])]),_:1},8,["name","modelValue"])):t.property.valueType==="ShortText"?(l.openBlock(),l.createBlock(l.unref(He.Field),{key:3,name:t.property.displayName||t.property.name,modelValue:t.getter(t.property),rules:s},{default:l.withCtx(({field:T,errorMessage:k,handleChange:b,errors:C})=>[l.createVNode(g,l.mergeProps(o.$attrs,{error:!!C.length,"error-message":k,label:l.unref(c)||t.property.displayName,modelValue:t.getter(t.property),"onUpdate:modelValue":$=>{b($),t.setter(t.property,$)},clearable:"",required:t.property.required||t.property.isRequired,placeholder:l.unref(c)||"Add value",disabled:t.disabled}),null,16,["error","error-message","label","modelValue","onUpdate:modelValue","required","placeholder","disabled"])]),_:1},8,["name","modelValue"])):t.property.valueType==="Number"&&t.property.multivalue?(l.openBlock(),l.createBlock(l.unref(He.Field),{key:4,name:t.property.name,modelValue:t.property.values,rules:s},{default:l.withCtx(({field:T,errorMessage:k,handleChange:b})=>[l.createVNode(p,l.mergeProps(o.$attrs,{"error-message":k,label:l.unref(c),modelValue:t.property.values,"onUpdate:modelValue":C=>{b(C),t.setter(t.property,C)},type:"number",required:t.property.required||t.property.isRequired,placeholder:"Add value",disabled:t.disabled}),null,16,["error-message","label","modelValue","onUpdate:modelValue","required","disabled"])]),_:1},8,["name","modelValue"])):t.property.valueType==="Number"?(l.openBlock(),l.createBlock(l.unref(He.Field),{key:5,name:t.property.name,modelValue:t.getter(t.property),rules:s},{default:l.withCtx(({field:T,errorMessage:k,handleChange:b,errors:C})=>[l.createVNode(g,l.mergeProps(o.$attrs,{error:!!C.length,"error-message":k,label:l.unref(c),modelValue:t.getter(t.property),"onUpdate:modelValue":$=>{b($),t.setter(t.property,$)},clearable:"",type:"number",required:t.property.required||t.property.isRequired,placeholder:l.unref(c)||t.property.defaultValue,disabled:t.disabled}),null,16,["error","error-message","label","modelValue","onUpdate:modelValue","required","placeholder","disabled"])]),_:1},8,["name","modelValue"])):t.property.valueType==="Integer"?(l.openBlock(),l.createBlock(l.unref(He.Field),{key:6,name:t.property.name,modelValue:t.getter(t.property),rules:s},{default:l.withCtx(({field:T,errorMessage:k,handleChange:b,errors:C})=>[l.createVNode(g,l.mergeProps(o.$attrs,{error:!!C.length,"error-message":k,label:l.unref(c),modelValue:t.getter(t.property),"onUpdate:modelValue":$=>{b($),t.setter(t.property,$)},clearable:"",type:"number",step:"1",required:t.property.required||t.property.isRequired,placeholder:l.unref(c)||t.property.defaultValue,disabled:t.disabled}),null,16,["error","error-message","label","modelValue","onUpdate:modelValue","required","placeholder","disabled"])]),_:1},8,["name","modelValue"])):t.property.valueType==="DateTime"?(l.openBlock(),l.createBlock(l.unref(He.Field),{key:7,name:t.property.name,modelValue:t.getter(t.property),rules:s},{default:l.withCtx(({field:T,errorMessage:k,handleChange:b,errors:C})=>[l.createVNode(g,l.mergeProps(o.$attrs,{error:!!C.length,"error-message":k,label:l.unref(c),modelValue:t.getter(t.property),"onUpdate:modelValue":$=>{b($),t.setter(t.property,$)},type:"datetime-local",required:t.property.required||t.property.isRequired,placeholder:l.unref(c)||t.property.defaultValue,disabled:t.disabled}),null,16,["error","error-message","label","modelValue","onUpdate:modelValue","required","placeholder","disabled"])]),_:1},8,["name","modelValue"])):t.property.valueType==="LongText"?(l.openBlock(),l.createBlock(l.unref(He.Field),{key:8,name:t.property.name,modelValue:t.getter(t.property),rules:s},{default:l.withCtx(({field:T,errorMessage:k,handleChange:b})=>[l.createVNode(v,l.mergeProps(o.$attrs,{"error-message":k,label:l.unref(c),modelValue:t.getter(t.property),"onUpdate:modelValue":C=>{b(C),t.setter(t.property,C)},isRequired:t.property.required||t.property.isRequired,placeholder:l.unref(c)||t.property.defaultValue,disabled:t.disabled}),null,16,["error-message","label","modelValue","onUpdate:modelValue","isRequired","placeholder","disabled"])]),_:1},8,["name","modelValue"])):t.property.valueType==="Boolean"?(l.openBlock(),l.createBlock(l.unref(He.Field),{key:9,name:t.property.displayName||t.property.name,modelValue:t.getter(t.property),rules:s},{default:l.withCtx(({field:T,errorMessage:k,handleChange:b})=>[l.createVNode(y,l.mergeProps(o.$attrs,{"error-message":k,modelValue:t.getter(t.property),"onUpdate:modelValue":C=>{b(C),t.setter(t.property,C)},required:t.property.required||t.property.isRequired,disabled:t.disabled,name:t.property.displayName||t.property.name}),{default:l.withCtx(()=>[l.createTextVNode(l.toDisplayString(l.unref(c)||t.property.displayName),1)]),_:2},1040,["error-message","modelValue","onUpdate:modelValue","required","disabled","name"])]),_:1},8,["name","modelValue"])):t.property.valueType==="Html"?(l.openBlock(),l.createBlock(l.unref(He.Field),{key:10,name:t.property.displayName||t.property.name,modelValue:t.getter(t.property),rules:s},{default:l.withCtx(({field:T,errorMessage:k,handleChange:b})=>[l.createVNode(x,l.mergeProps(o.$attrs,{label:l.unref(c)||t.property.displayName,modelValue:t.getter(t.property),"onUpdate:modelValue":C=>{b(C),t.setter(t.property,C)},required:t.property.required||t.property.isRequired,placeholder:l.unref(c)||"Add value",disabled:t.disabled,name:t.property.displayName||t.property.name,"error-message":k}),null,16,["label","modelValue","onUpdate:modelValue","required","placeholder","disabled","name","error-message"])]),_:1},8,["name","modelValue"])):l.createCommentVNode("",!0)}}}),uA={class:"vc-gallery-item__overlay"},hA={class:"tw-flex"},dA=["title"],fA={class:"tw-flex tw-grow tw-basis-0 tw-items-center tw-justify-around"},mA=l.createElementVNode("div",{class:"tw-mt-2"},"Fullscreen",-1),pA=l.createElementVNode("div",{class:"tw-mt-2"},"Edit",-1),gA=l.createElementVNode("div",{class:"tw-mt-2"},"Delete",-1),vA=l.defineComponent({__name:"vc-gallery-item",props:{image:{type:Object,default:()=>({})},readonly:{type:Boolean,default:!1},actions:{type:Object,default:()=>({})},disableDrag:{type:Boolean,default:!1}},emits:["preview","edit","remove"],setup(t){const e=l.ref(!1);function n(){e.value=!1}return(r,i)=>{const s=l.resolveComponent("VcImage"),d=l.resolveComponent("VcIcon");return l.withDirectives((l.openBlock(),l.createElementBlock("div",{class:l.normalizeClass(["vc-gallery-item",{"vc-gallery-item_readonly":t.readonly,"vc-gallery-item_hover":e.value}]),onTap:i[3]||(i[3]=l.withModifiers(h=>e.value=!e.value,["stop"]))},[l.createVNode(s,{aspect:"1x1",src:t.image.url,background:"contain"},null,8,["src"]),l.createElementVNode("div",uA,[l.createElementVNode("div",hA,[!t.readonly&&!t.disableDrag?(l.openBlock(),l.createBlock(d,{key:0,class:"vc-gallery-item__move",icon:"fas fa-arrows-alt",size:"s"})):l.createCommentVNode("",!0),l.createElementVNode("div",{class:"tw-truncate",title:t.image.name},l.toDisplayString(t.image.name),9,dA)]),l.createElementVNode("div",fA,[t.actions&&t.actions.preview?(l.openBlock(),l.createElementBlock("div",{key:0,class:"vc-gallery-item__button",onClick:i[0]||(i[0]=h=>r.$emit("preview",t.image))},[l.createVNode(d,{class:"vc-gallery-item__button-icon",icon:"fas fa-eye"}),mA])):l.createCommentVNode("",!0),!t.readonly&&t.actions&&t.actions.edit?(l.openBlock(),l.createElementBlock("div",{key:1,class:"vc-gallery-item__button",onClick:i[1]||(i[1]=h=>r.$emit("edit",t.image))},[l.createVNode(d,{class:"vc-gallery-item__button-icon",icon:"fas fa-pen"}),pA])):l.createCommentVNode("",!0),!t.readonly&&t.actions&&t.actions.remove?(l.openBlock(),l.createElementBlock("div",{key:2,class:"vc-gallery-item__button",onClick:i[2]||(i[2]=h=>r.$emit("remove",t.image))},[l.createVNode(d,{class:"vc-gallery-item__button-icon",icon:"fas fa-trash"}),gA])):l.createCommentVNode("",!0)])])],34)),[[l.unref(ls),n]])}}});const wA=l.createElementVNode("span",null,")",-1),yA={class:"tw-w-full tw-h-full tw-box-border tw-flex tw-flex-col tw-items-center"},bA={class:"tw-box-border p-5 tw-grow tw-basis-0 tw-w-full"},SA={class:"tw-p-4 tw-pb-[40px] tw-max-w-full tw-overflow-x-auto tw-box-border tw-shrink tw-flex"},xA=l.defineComponent({__name:"vc-gallery-preview",props:{images:{type:Array,default:()=>[]},index:{type:Number,default:0}},setup(t){const e=t,n=l.ref(e.index),r=l.computed(()=>e.images[n.value]||{}),i=s=>{s.charAt(0)==="/"?navigator.clipboard?.writeText(`${location.origin}${s}`):navigator.clipboard?.writeText(s)};return(s,d)=>{const h=l.resolveComponent("VcLink"),c=l.resolveComponent("VcIcon"),m=l.resolveComponent("VcImage");return l.openBlock(),l.createBlock(l.unref(Ic),{title:l.unref(r).title,onClose:d[3]||(d[3]=a=>s.$emit("close"))},{title:l.withCtx(()=>[l.createElementVNode("div",null,[l.createElementVNode("span",null,l.toDisplayString(l.unref(r).name)+" (",1),l.createVNode(h,{onClick:d[0]||(d[0]=a=>i(l.unref(r).url))},{default:l.withCtx(()=>[l.createTextVNode("copy image link")]),_:1}),wA])]),default:l.withCtx(()=>[l.createElementVNode("div",yA,[l.createElementVNode("div",bA,[l.createElementVNode("div",{class:"bg-contain tw-bg-no-repeat tw-bg-center tw-w-full tw-h-full tw-box-border",style:l.normalizeStyle({backgroundImage:"url("+l.unref(r).url+")"})},null,4),n.value>0?(l.openBlock(),l.createElementBlock("div",{key:0,class:"tw-absolute tw-top-2/4 -tw-mt-9 tw-h-[72px] tw-w-[72px] tw-flex tw-items-center tw-justify-center tw-rounded-full tw-bg-[#f1f6fa] tw-cursor-pointer tw-text-[#a1c0d4] [--icon-size-xl: 36px] hover:tw-shadow-[0_0_20px_rgba(31,40,50,0.15)] tw-left-[25px]",onClick:d[1]||(d[1]=a=>n.value--)},[l.createVNode(c,{icon:"fas fa-arrow-left",size:"xl"})])):l.createCommentVNode("",!0),n.value<t.images.length-1?(l.openBlock(),l.createElementBlock("div",{key:1,class:"tw-absolute tw-top-2/4 -tw-mt-9 tw-h-[72px] tw-w-[72px] tw-flex tw-items-center tw-justify-center tw-rounded-full tw-bg-[#f1f6fa] tw-cursor-pointer tw-text-[#a1c0d4] [--icon-size-xl: 36px] hover:tw-shadow-[0_0_20px_rgba(31,40,50,0.15)] tw-right-[25px]",onClick:d[2]||(d[2]=a=>n.value++)},[l.createVNode(c,{icon:"fas fa-arrow-right",size:"xl"})])):l.createCommentVNode("",!0)]),l.createElementVNode("div",SA,[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(t.images,(a,o)=>(l.openBlock(),l.createElementBlock("div",{key:o,class:l.normalizeClass(["tw-m-1 tw-opacity-60",{"vc-gallery-preview__images-item_current":o===n.value}])},[l.createVNode(m,{src:a.url,size:"xl",bordered:!0,clickable:!0,onClick:u=>n.value=o},null,8,["src","onClick"])],2))),128))])])]),_:1},8,["title"])}}});const kA={class:"vc-gallery"},CA={key:1,class:"tw-flex tw-flex-wrap"},EA={key:2,class:"tw-flex tw-justify-center tw-p-5"},im=l.defineComponent({__name:"vc-gallery",props:{images:{type:Array,default:()=>[]},disabled:{type:Boolean,default:!1},required:{type:Boolean,default:!1},label:{type:String,default:void 0},tooltip:{type:String,default:void 0},tooltipIcon:{type:String,default:"fas fa-info"},uploadIcon:{type:String,default:"fas fa-upload"},multiple:{type:Boolean,default:!1},variant:{type:String,default:"gallery"},itemActions:{type:Object,default:()=>({preview:!0,edit:!0,remove:!0})},disableDrag:{type:Boolean,default:!1},hideAfterUpload:{type:Boolean,default:!1},rules:{type:[String,Object]},name:{type:String,default:"Gallery"}},emits:["upload","sort","item:preview","item:edit","item:remove","item:move"],setup(t,{emit:e}){const n=t,r=l.ref(!1),i=l.ref(),s=l.computed(()=>({animation:200,group:"description",disabled:n.disableDrag,ghostClass:"ghost"})),d=m=>{m&&m.length&&e("upload",m)},h=m=>{r.value=!0,i.value=m},c=()=>{const a=n.images.map((o,u)=>(o.sortOrder=u,o));e("sort",l.ref(a).value)};return(m,a)=>{const o=l.resolveComponent("draggable"),u=l.resolveComponent("VcHint");return l.openBlock(),l.createElementBlock("div",kA,[t.label?(l.openBlock(),l.createBlock(l.unref(Gn),{key:0,tooltip:t.tooltip,required:t.required,"tooltip-icon":t.tooltipIcon},{default:l.withCtx(()=>[l.createTextVNode(l.toDisplayString(t.label),1)]),_:1},8,["tooltip","required","tooltip-icon"])):l.createCommentVNode("",!0),t.images&&t.images.length||!t.disabled?(l.openBlock(),l.createElementBlock("div",CA,[l.createVNode(o,l.mergeProps({list:t.images,class:"tw-flex tw-flex-wrap tw-w-full",tag:"transition-group"},l.unref(s),{onChange:c,"component-data":{tag:"div"}}),{item:l.withCtx(({element:f,index:p})=>[(l.openBlock(),l.createBlock(vA,{class:"tw-m-2",key:f.sortOrder,image:f,readonly:t.disabled,onPreview:g=>h(p),onEdit:a[0]||(a[0]=g=>m.$emit("item:edit",g)),onRemove:a[1]||(a[1]=g=>m.$emit("item:remove",g)),actions:t.itemActions,disableDrag:t.disableDrag},null,8,["image","readonly","onPreview","actions","disableDrag"]))]),footer:l.withCtx(()=>[!t.disabled&&!t.hideAfterUpload?(l.openBlock(),l.createBlock(l.unref(Ul),{key:0,class:"tw-m-2",icon:t.uploadIcon,onUpload:d,variant:t.variant,multiple:t.multiple,rules:t.rules,name:t.name},null,8,["icon","variant","multiple","rules","name"])):l.createCommentVNode("",!0)]),_:1},16,["list"])])):(l.openBlock(),l.createElementBlock("div",EA,[l.createVNode(u,null,{default:l.withCtx(()=>[l.createTextVNode("Gallery is empty")]),_:1})])),r.value?(l.openBlock(),l.createBlock(xA,{key:3,images:t.images,index:i.value,onClose:a[2]||(a[2]=f=>r.value=!1)},null,8,["images","index"])):l.createCommentVNode("",!0)])}}}),_A={class:"tw-w-[516px] tw-max-w-[90%] tw-bg-white tw-rounded-md tw-overflow-hidden tw-shadow-[0_0_0_rgba(0,0,0,0.05)]"},TA={class:"tw-uppercase tw-text-white tw-bg-[#465769] tw-h-[50px] tw-px-[28px] tw-text-xl tw-flex tw-items-center"},AA={class:"tw-pt-4 tw-px-[28px] tw-pb-[24px]"},sm=l.defineComponent({__name:"vc-login-form",props:{logo:{type:String,default:void 0},background:{type:String,default:void 0},title:{type:String,default:"Login"}},setup(t){return console.debug("Init vc-login-form"),(e,n)=>(l.openBlock(),l.createElementBlock("div",{class:"tw-w-full tw-h-full tw-box-border tw-flex tw-flex-col tw-items-center tw-justify-center",style:l.normalizeStyle({background:`url(${t.background}) center / cover no-repeat`})},[l.createElementVNode("div",{class:"tw-h-[80px] tw-w-[516px] tw-max-w-[90%] tw-mb-[50px] -tw-mt-[90px]",style:l.normalizeStyle({background:`url(${t.logo}) center / contain no-repeat`})},null,4),l.createElementVNode("div",_A,[l.createElementVNode("div",TA,l.toDisplayString(t.title),1),l.createElementVNode("div",AA,[l.renderSlot(e.$slots,"default")])])],4))}}),$A={class:"vc-popup__wrapper"},OA={class:"vc-popup__inner"},LA={class:"vc-popup__header"},MA={class:"tw-truncate tw-grow tw-basis-0"},RA={class:"vc-popup__content tw-grow tw-basis-0"},Ic=l.defineComponent({__name:"vc-popup",props:{title:{type:String,default:void 0},closable:{type:Boolean,default:!0},variant:{type:String,default:"fullscreen",enum:["small","medium","fullscreen"]}},emits:["close"],setup(t){return(e,n)=>{const r=l.resolveComponent("VcIcon");return l.openBlock(),l.createElementBlock("div",{class:l.normalizeClass(["vc-popup",`vc-popup_${t.variant}`])},[l.createElementVNode("div",$A,[l.createElementVNode("div",OA,[l.createElementVNode("div",LA,[l.createElementVNode("div",MA,[l.renderSlot(e.$slots,"title",{},()=>[l.createTextVNode(l.toDisplayString(t.title),1)])]),t.closable?(l.openBlock(),l.createBlock(r,{key:0,class:"vc-popup__header-icon",icon:"fas fa-times",onClick:n[0]||(n[0]=i=>e.$emit("close"))})):l.createCommentVNode("",!0)]),l.createElementVNode("div",RA,[l.renderSlot(e.$slots,"default")])])])],2)}}});const NA={class:"tw-font-medium tw-text-base"},IA={class:"tw-text-[color:var(--table-counter-label-color)]"},DA={class:"tw-text-[color:var(--table-counter-value-color)]"},PA=l.defineComponent({__name:"vc-table-counter",props:{label:{default:"Total"},value:{default:0}},setup(t){return(e,n)=>(l.openBlock(),l.createElementBlock("div",NA,[l.createElementVNode("span",IA,l.toDisplayString(t.label)+"\xA0",1),l.createElementVNode("span",DA,l.toDisplayString(t.value),1)]))}});const BA={class:"tw-relative tw-overflow-visible"},FA={key:0,class:"tw-ml-[10px] tw-font-medium"},VA={key:1,class:"tw-ml-[10px] tw-rounded-[10px] tw-bg-white tw-text-[#43b0e6] tw-h-[20px] tw-min-w-[20px] tw-leading-[20px] tw-text-center tw-font-medium"},UA=["onClick"],WA=l.defineComponent({inheritAttrs:!1}),Bh=l.defineComponent({...WA,__name:"vc-table-filter",props:{title:{default:void 0},counter:{default:0},parentExpanded:{type:Boolean,default:!0}},setup(t){const e=t,n=l.ref(!1),r=l.ref(),i=l.ref(),s=l.ref();l.watch(()=>e.parentExpanded,()=>{h()});function d(m){if(n.value=!n.value,!m){const a=document.querySelector(".vc-blade");n.value?l.nextTick(()=>{s.value=Ji(r.value,i.value,{placement:"bottom-end",modifiers:[{name:"offset",options:{offset:[0,10]}},{name:"preventOverflow",options:{boundary:a}}]})}):c()}}function h(){n.value=!1,c()}function c(){s.value?.destroy()}return(m,a)=>(l.openBlock(),l.createElementBlock("div",BA,[l.createElementVNode("div",{class:"tw-rounded-[3px] tw-bg-[#43b0e6] tw-flex tw-items-center tw-px-[10px] tw-text-white tw-h-[38px] tw-box-border tw-cursor-pointer",onClick:a[0]||(a[0]=o=>d(m.$isMobile.value)),ref_key:"filterToggle",ref:r},[l.createVNode(l.unref(Se),{icon:"fas fa-filter",size:"m"}),t.title?(l.openBlock(),l.createElementBlock("span",FA,l.toDisplayString(t.title),1)):l.createCommentVNode("",!0),t.counter?(l.openBlock(),l.createElementBlock("div",VA,l.toDisplayString(t.counter),1)):l.createCommentVNode("",!0)],512),(l.openBlock(),l.createBlock(l.Teleport,{to:"body"},[n.value?(l.openBlock(),l.createElementBlock("div",{key:0,class:l.normalizeClass({"vc-table-filter__panel_mobile tw-fixed tw-left-0 tw-top-0 tw-w-full tw-bottom-0 tw-z-[9999] tw-bg-[rgba(128,140,153,0.6)] tw-shadow-none tw-rounded-none tw-max-h-full tw-max-w-full tw-min-w-full":m.$isMobile.value,"vc-table-filter__panel tw-absolute tw-max-h-[400px] tw-max-w-[800px] tw-min-w-[400px] tw-z-[100] tw-shadow-[1px_1px_11px_rgba(141,152,163,0.6)] tw-rounded-[3px] tw-overflow-hidden":!m.$isMobile.value}),onClick:l.withModifiers(h,["self"]),ref_key:"filterPanel",ref:i},[l.createElementVNode("div",{class:"vc-table-filter__panel-inner tw-bg-white tw-box-border tw-p-5 tw-flex tw-flex-col",onClick:a[1]||(a[1]=l.withModifiers(()=>{},["stop"]))},[l.createVNode(l.unref(Se),{class:"vc-table-filter__panel-close tw-text-[#43b0e6] tw-cursor-pointer tw-self-end tw-shrink-0",icon:"fas fa-times",size:"xl",onClick:h}),l.renderSlot(m.$slots,"default",{closePanel:h})])],10,UA)):l.createCommentVNode("",!0)]))]))}});const HA={key:0,class:"tw-flex-shrink-0 tw-w-[80px] tw-flex tw-flex-col [justify-content:stretch] tw-bg-[#a9bfd2]"},jA={class:"tw-mt-1 tw-text-lg"},zA={class:"tw-flex-shrink-0 tw-w-full"},GA={key:1,class:"tw-flex-shrink-0 tw-w-[80px] tw-flex tw-flex-col [justify-content:stretch] tw-bg-[#a9bfd2]"},YA={class:"vc-table-mobile__item-action-text"},JA={class:"tw-mt-1 tw-text-lg"},KA=l.createElementVNode("div",{class:"tw-mt-1 tw-text-lg"},"More",-1),XA={class:"tw-absolute tw-left-0 tw-top-0 tw-right-0 tw-bottom-0 tw-bg-[rgba(107,121,135,0.15)] tw-flex tw-items-center tw-justify-center tw-z-[99]"},qA={class:"tw-bg-white tw-rounded-[6px] tw-overflow-hidden tw-p-5 tw-max-w-[80%] tw-w-[350px] tw-border tw-border-solid tw-border-[#eef0f2] tw-box-border tw-shadow-[1px_1px_22px_rgba(126,142,157,0.2)]"},QA={class:"tw-flex tw-w-full tw-items-center"},ZA={class:"tw-grow tw-text-[#2e3d4e] tw-text-[19px] tw-font-semibold tw-tracking-[-0.01em]"},e$={class:"tw-flex tw-flex-wrap tw-my-5 tw-justify-between"},t$=["onClick"],n$={class:"tw-text-base tw-mt-2 tw-text-center"},Ss=10,at=80,r$=l.defineComponent({__name:"vc-table-mobile-item",props:{item:{default:void 0},actionBuilder:{type:Function,default:void 0},swipingItem:{default:null}},emits:["swipeStart"],setup(t,{emit:e}){const n=t,r=l.ref(0),i=l.ref(0),s=l.ref(0),d=l.ref(0),h=l.ref(!1),c=l.ref(!1),m=l.ref([]);l.watch(()=>n.swipingItem,y=>{y!==n.item.id&&u()});const a=l.computed(()=>m.value&&m.value.length&&m.value.filter(y=>!y.leftActions)),o=l.computed(()=>m.value&&m.value.length&&m.value.filter(y=>y.leftActions));function u(){m.value.some(y=>y.leftActions)?(r.value=-at,d.value=r.value):(r.value=0,d.value=0)}async function f(y){i.value=y.touches[0].clientX,s.value=y.touches[0].clientY,d.value=r.value,h.value=!0,m.value.length||typeof n.actionBuilder=="function"&&(m.value=n.actionBuilder(n.item),u())}function p(y){if(e("swipeStart",n.item.id),m.value&&m.value.length){const x=y.touches[0].clientX-i.value,T=y.touches[0].clientY-s.value;Math.abs(x)>Ss&&(a.value&&a.value.length&&o.value&&o.value.length?Math.abs(d.value+x)<=at*2:Math.abs(d.value+x)<=at)&&d.value+x<0&&(Math.abs(T)<Ss*2&&y.preventDefault(),r.value=d.value+x)}}function g(){const y=Math.abs(r.value);y<at?r.value=y<at/2?0:-at:r.value=y<=at*2-Ss*2?-at:-at*2,h.value=!1}function v(){const y=Math.abs(r.value);y<at?r.value=y<at/2?0:-at:r.value=y<=at*2-Ss*2?-at:-at*2,h.value=!1}return(y,x)=>(l.openBlock(),l.createElementBlock("div",{class:l.normalizeClass(["tw-relative tw-flex tw-flex-nowrap tw-items-stretch tw-transition tw-duration-200",{" tw-transition-none":h.value}]),style:l.normalizeStyle(`transform: translateX(${r.value}px)`),onClick:x[5]||(x[5]=T=>y.$emit("click")),onTouchstart:f,onTouchmove:p,onTouchend:g,onTouchcancel:v},[l.unref(o)&&l.unref(o).length?(l.openBlock(),l.createElementBlock("div",HA,[l.createElementVNode("div",{class:l.normalizeClass(["tw-flex tw-grow tw-basis-[1] tw-flex-col tw-justify-center tw-items-center tw-text-white",[`vc-table-mobile__item-action_${l.unref(o)[0].variant}`]]),onClick:x[0]||(x[0]=l.withModifiers(T=>l.unref(o)[0].clickHandler(t.item),["stop"]))},[l.createVNode(l.unref(Se),{icon:l.unref(o)[0].icon},null,8,["icon"]),l.createElementVNode("div",jA,l.toDisplayString(l.unref(o)[0].title),1)],2)])):l.createCommentVNode("",!0),l.createElementVNode("div",zA,[l.renderSlot(y.$slots,"default")]),l.unref(a)&&l.unref(a).length?(l.openBlock(),l.createElementBlock("div",GA,[l.createElementVNode("div",{class:l.normalizeClass(["tw-flex tw-grow tw-basis-[1] tw-flex-col tw-justify-center tw-items-center tw-text-white",[`vc-table-mobile__item-action_${l.unref(a)[0].variant}`]]),onClick:x[1]||(x[1]=l.withModifiers(T=>l.unref(a)[0].clickHandler(t.item),["stop"]))},[l.createVNode(l.unref(Se),{icon:l.unref(a)[0].icon},null,8,["icon"]),l.createElementVNode("div",YA,l.toDisplayString(l.unref(a)[0].title),1)],2),l.unref(a).length===2?(l.openBlock(),l.createElementBlock("div",{key:0,class:l.normalizeClass(["tw-flex tw-grow tw-basis-[1] tw-flex-col tw-justify-center tw-items-center tw-text-white",[`vc-table-mobile__item-action_${l.unref(a)[1].variant}`]]),onClick:x[2]||(x[2]=l.withModifiers(T=>l.unref(a)[1].clickHandler(t.item),["stop"]))},[l.createVNode(l.unref(Se),{icon:l.unref(a)[1].icon},null,8,["icon"]),l.createElementVNode("div",JA,l.toDisplayString(l.unref(a)[1].title),1)],2)):l.createCommentVNode("",!0),l.unref(a).length>2?(l.openBlock(),l.createElementBlock(l.Fragment,{key:1},[l.createElementVNode("div",{class:"tw-flex tw-grow tw-basis-[1] tw-flex-col tw-justify-center tw-items-center tw-text-white",onClick:x[3]||(x[3]=l.withModifiers(T=>c.value=!0,["stop"]))},[l.createVNode(l.unref(Se),{icon:"fas fa-ellipsis-h"}),KA]),c.value?(l.openBlock(),l.createBlock(l.Teleport,{key:0,to:"body"},[l.createElementVNode("div",XA,[l.createElementVNode("div",qA,[l.createElementVNode("div",QA,[l.createElementVNode("span",ZA,l.toDisplayString(y.$t("All actions")),1),l.createVNode(l.unref(Se),{class:"tw-text-[#c2d7e4]",icon:"fas fa-times-circle",size:"xl",onClick:x[4]||(x[4]=T=>c.value=!1)})]),l.createElementVNode("div",e$,[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(m.value,(T,k)=>(l.openBlock(),l.createElementBlock("div",{key:k,class:"tw-flex tw-grow tw-shrink-0 tw-flex-col tw-items-center tw-text-[#319ed4] tw-my-2 tw-box-border tw-p-1 tw-max-w-[80px]",onClick:b=>T.clickHandler(t.item)},[l.createVNode(l.unref(Se),{icon:T.icon,size:"xl"},null,8,["icon"]),l.createElementVNode("div",n$,l.toDisplayString(T.title),1)],8,t$))),128))])])])])):l.createCommentVNode("",!0)],64)):l.createCommentVNode("",!0)])):l.createCommentVNode("",!0)],38))}});//! moment.js
|
|
1087
|
+
`)[r].trim().replace("(","").replace(")","");let s;i.indexOf("at ")>-1?s=i.substring(i.indexOf("at ")+3,i.lastIndexOf(" ")).split(".").reverse()[0]:i.indexOf("@")>-1&&(s=i.substring(0,i.indexOf("@")));const d=i.split(":").reverse(),h=d[2].substring(Math.max(d[2].lastIndexOf("/"),d[2].lastIndexOf("\\"))+1).split("?")[0],c=d[1];return{functionName:s,fileName:h,lineNumber:c}}catch{cf||console.debug("vue-logger-plugin :: failed to determine caller function info")}}get enabled(){return this._options.enabled}get level(){return this._options.level}install(e){e.provide(uf,this),e.config.globalProperties.$log=this,e.config.globalProperties.$logger=this}}Un.VueLogger=hf;function Jb(t={}){return new hf(t)}Un.createLogger=Jb;function Kb(){const t=Gb.inject(uf);return!t&&!cf&&console.warn("vue-logger-plugin :: useLogger missing inject"),t}Un.useLogger=Kb;var Ur={};Object.defineProperty(Ur,"__esModule",{value:!0});Ur.StringifyAndParseObjectsHook=Ur.StringifyObjectsHook=void 0;Ur.StringifyObjectsHook={run(t){for(let e=0;e<t.argumentArray.length;e++)t.argumentArray[e]!=null&&typeof t.argumentArray[e]=="object"&&(t.argumentArray[e]=JSON.stringify(t.argumentArray[e]))}};Ur.StringifyAndParseObjectsHook={run(t){for(let e=0;e<t.argumentArray.length;e++)t.argumentArray[e]!=null&&typeof t.argumentArray[e]=="object"&&(t.argumentArray[e]=JSON.parse(JSON.stringify(t.argumentArray[e])))}};(function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.StringifyAndParseObjectsHook=t.StringifyObjectsHook=t.useLogger=t.createLogger=t.VueLogger=void 0;var e=Un;Object.defineProperty(t,"VueLogger",{enumerable:!0,get:function(){return e.VueLogger}}),Object.defineProperty(t,"createLogger",{enumerable:!0,get:function(){return e.createLogger}}),Object.defineProperty(t,"useLogger",{enumerable:!0,get:function(){return e.useLogger}});var n=Ur;Object.defineProperty(t,"StringifyObjectsHook",{enumerable:!0,get:function(){return n.StringifyObjectsHook}}),Object.defineProperty(t,"StringifyAndParseObjectsHook",{enumerable:!0,get:function(){return n.StringifyAndParseObjectsHook}})})(rc);function Xb(t){return console.debug("[@vc-shell/framework#useLogger:init] - Entry point"),t.use(rc.createLogger({enabled:{}.APP_LOG_ENABLED==="true",level:{}.APP_LOG_LEVEL??"debug"})),t}function Xi(){return console.debug("[@vc-shell/framework#useLogger] - Entry point"),rc.useLogger()}const qb={},Qb=Object.freeze(Object.defineProperty({__proto__:null,default:qb},Symbol.toStringTag,{value:"Module"})),Zb=vg(Qb);var Ai={};function e0(t,e){return Object.prototype.hasOwnProperty.call(t,e)}var t0=function(t,e,n,r){e=e||"&",n=n||"=";var i={};if(typeof t!="string"||t.length===0)return i;var s=/\+/g;t=t.split(e);var d=1e3;r&&typeof r.maxKeys=="number"&&(d=r.maxKeys);var h=t.length;d>0&&h>d&&(h=d);for(var c=0;c<h;++c){var m=t[c].replace(s,"%20"),a=m.indexOf(n),o,u,f,p;a>=0?(o=m.substr(0,a),u=m.substr(a+1)):(o=m,u=""),f=decodeURIComponent(o),p=decodeURIComponent(u),e0(i,f)?Array.isArray(i[f])?i[f].push(p):i[f]=[i[f],p]:i[f]=p}return i},qr=function(t){switch(typeof t){case"string":return t;case"boolean":return t?"true":"false";case"number":return isFinite(t)?t:"";default:return""}},n0=function(t,e,n,r){return e=e||"&",n=n||"=",t===null&&(t=void 0),typeof t=="object"?Object.keys(t).map(function(i){var s=encodeURIComponent(qr(i))+n;return Array.isArray(t[i])?t[i].map(function(d){return s+encodeURIComponent(qr(d))}).join(e):s+encodeURIComponent(qr(t[i]))}).filter(Boolean).join(e):r?encodeURIComponent(qr(r))+n+encodeURIComponent(qr(t)):""};Ai.decode=Ai.parse=t0;Ai.encode=Ai.stringify=n0;var r0=function(e,n,r,i){return new Promise(function(s,d){var h=new window.XMLHttpRequest;h.open(e,n),h.onload=function(){return s({status:h.status,body:h.responseText})},h.onerror=h.onabort=function(){return d(new Error(h.statusText||"XHR aborted: "+n))},Object.keys(i).forEach(function(c){h.setRequestHeader(c,i[c])}),h.send(r)})},df=Zb.Buffer,ur=Ai,i0=r0;const Gs="https://example.org/";var sl;typeof df=="function"?sl=a0:sl=window.btoa.bind(window);var s0=$i,qi={Accept:"application/json, application/x-www-form-urlencoded","Content-Type":"application/x-www-form-urlencoded"},o0={invalid_request:["The request is missing a required parameter, includes an","invalid parameter value, includes a parameter more than","once, or is otherwise malformed."].join(" "),invalid_client:["Client authentication failed (e.g., unknown client, no","client authentication included, or unsupported","authentication method)."].join(" "),invalid_grant:["The provided authorization grant (e.g., authorization","code, resource owner credentials) or refresh token is","invalid, expired, revoked, does not match the redirection","URI used in the authorization request, or was issued to","another client."].join(" "),unauthorized_client:["The client is not authorized to request an authorization","code using this method."].join(" "),unsupported_grant_type:["The authorization grant type is not supported by the","authorization server."].join(" "),access_denied:["The resource owner or authorization server denied the request."].join(" "),unsupported_response_type:["The authorization server does not support obtaining","an authorization code using this method."].join(" "),invalid_scope:["The requested scope is invalid, unknown, or malformed."].join(" "),server_error:["The authorization server encountered an unexpected","condition that prevented it from fulfilling the request.","(This error code is needed because a 500 Internal Server","Error HTTP status code cannot be returned to the client","via an HTTP redirect.)"].join(" "),temporarily_unavailable:["The authorization server is currently unable to handle","the request due to a temporary overloading or maintenance","of the server."].join(" ")};function a0(t){return df.from(t).toString("base64")}function wo(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];if(t[n]==null)throw new TypeError('Expected "'+n+'" to exist')}}function ic(t){var e=o0[t.error]||t.error_description||t.error;if(e){var n=new Error(e);return n.body=t,n.code="EAUTH",n}}function l0(t){try{return JSON.parse(t)}catch{return ur.parse(t)}}function yo(t){return Array.isArray(t)?t.join(" "):ol(t)}function ff(t,e){wo(t,"clientId","authorizationUri");const n={client_id:t.clientId,redirect_uri:t.redirectUri,response_type:e,state:t.state};t.scopes!==void 0&&(n.scope=yo(t.scopes));const r=t.authorizationUri.includes("?")?"&":"?";return t.authorizationUri+r+ur.stringify(Object.assign(n,t.query))}function Qi(t,e){return"Basic "+sl(ol(t)+":"+ol(e))}function ol(t){return t==null?"":String(t)}function Zi(t,e){return{url:t.url,method:t.method,body:Object.assign({},t.body,e.body),query:Object.assign({},t.query,e.query),headers:Object.assign({},t.headers,e.headers)}}function $i(t,e){this.options=t,this.request=e||i0,this.code=new oc(this),this.token=new sc(this),this.owner=new mf(this),this.credentials=new pf(this),this.jwt=new gf(this)}$i.Token=es;$i.prototype.createToken=function(t,e,n,r){var i=Object.assign({},r,typeof t=="string"?{access_token:t}:t,typeof e=="string"?{refresh_token:e}:e,typeof n=="string"?{token_type:n}:n);return new $i.Token(this,i)};$i.prototype._request=function(t){var e=t.url,n=ur.stringify(t.body),r=ur.stringify(t.query);return r&&(e+=(e.indexOf("?")===-1?"?":"&")+r),this.request(t.method,e,n,t.headers).then(function(i){var s=l0(i.body),d=ic(s);if(d)return Promise.reject(d);if(i.status<200||i.status>=399){var h=new Error("HTTP status "+i.status);return h.status=i.status,h.body=i.body,h.code="ESTATUS",Promise.reject(h)}return s})};function es(t,e){this.client=t,this.data=e,this.tokenType=e.token_type&&e.token_type.toLowerCase(),this.accessToken=e.access_token,this.refreshToken=e.refresh_token,this.expiresIn(Number(e.expires_in))}es.prototype.expiresIn=function(t){if(typeof t=="number")this.expires=new Date,this.expires.setSeconds(this.expires.getSeconds()+t);else if(t instanceof Date)this.expires=new Date(t.getTime());else throw new TypeError("Unknown duration: "+t);return this.expires};es.prototype.sign=function(t){if(!this.accessToken)throw new Error("Unable to sign without access token");if(t.headers=t.headers||{},this.tokenType==="bearer")t.headers.Authorization="Bearer "+this.accessToken;else{var e=t.url.split("#"),n="access_token="+this.accessToken,r=e[0].replace(/[?&]access_token=[^&#]/,""),i=e[1]?"#"+e[1]:"";t.url=r+(r.indexOf("?")>-1?"&":"?")+n+i,t.headers.Pragma="no-store",t.headers["Cache-Control"]="no-store"}return t};es.prototype.refresh=function(t){var e=this,n=Object.assign({},this.client.options,t);return this.refreshToken?this.client._request(Zi({url:n.accessTokenUri,method:"POST",headers:Object.assign({},qi,{Authorization:Qi(n.clientId,n.clientSecret)}),body:{refresh_token:this.refreshToken,grant_type:"refresh_token"}},n)).then(function(r){return e.client.createToken(Object.assign({},e.data,r))}):Promise.reject(new Error("No refresh token"))};es.prototype.expired=function(){return Date.now()>this.expires.getTime()};function mf(t){this.client=t}mf.prototype.getToken=function(t,e,n){var r=this,i=Object.assign({},this.client.options,n);const s={username:t,password:e,grant_type:"password"};return i.scopes!==void 0&&(s.scope=yo(i.scopes)),this.client._request(Zi({url:i.accessTokenUri,method:"POST",headers:Object.assign({},qi,{Authorization:Qi(i.clientId,i.clientSecret)}),body:s},i)).then(function(d){return r.client.createToken(d)})};function sc(t){this.client=t}sc.prototype.getUri=function(t){var e=Object.assign({},this.client.options,t);return ff(e,"token")};sc.prototype.getToken=function(t,e){var n=Object.assign({},this.client.options,e),r=typeof t=="object"?t:new URL(t,Gs),i=new URL(n.redirectUri,Gs);if(typeof r.pathname=="string"&&r.pathname!==i.pathname)return Promise.reject(new TypeError("Redirected path should match configured path, but got: "+r.pathname));if(!r.hash&&!r.search)return Promise.reject(new TypeError("Unable to process uri: "+t));var s=Object.assign({},typeof r.search=="string"?ur.parse(r.search.substr(1)):r.search||{},typeof r.hash=="string"?ur.parse(r.hash.substr(1)):r.hash||{}),d=ic(s);return d?Promise.reject(d):n.state!=null&&s.state!==n.state?Promise.reject(new TypeError("Invalid state: "+s.state)):Promise.resolve(this.client.createToken(s))};function pf(t){this.client=t}pf.prototype.getToken=function(t){var e=this,n=Object.assign({},this.client.options,t);wo(n,"clientId","clientSecret","accessTokenUri");const r={grant_type:"client_credentials"};return n.scopes!==void 0&&(r.scope=yo(n.scopes)),this.client._request(Zi({url:n.accessTokenUri,method:"POST",headers:Object.assign({},qi,{Authorization:Qi(n.clientId,n.clientSecret)}),body:r},n)).then(function(i){return e.client.createToken(i)})};function oc(t){this.client=t}oc.prototype.getUri=function(t){var e=Object.assign({},this.client.options,t);return ff(e,"code")};oc.prototype.getToken=function(t,e){var n=this,r=Object.assign({},this.client.options,e);wo(r,"clientId","accessTokenUri");var i=typeof t=="object"?t:new URL(t,Gs);if(typeof r.redirectUri=="string"&&typeof i.pathname=="string"&&i.pathname!==new URL(r.redirectUri,Gs).pathname)return Promise.reject(new TypeError("Redirected path should match configured path, but got: "+i.pathname));if(!i.search||!i.search.substr(1))return Promise.reject(new TypeError("Unable to process uri: "+t));var s=typeof i.search=="string"?ur.parse(i.search.substr(1)):i.search||{},d=ic(s);if(d)return Promise.reject(d);if(r.state!=null&&s.state!==r.state)return Promise.reject(new TypeError("Invalid state: "+s.state));if(!s.code)return Promise.reject(new TypeError("Missing code, unable to request token"));var h=Object.assign({},qi),c={code:s.code,grant_type:"authorization_code",redirect_uri:r.redirectUri};return r.clientSecret?h.Authorization=Qi(r.clientId,r.clientSecret):c.client_id=r.clientId,this.client._request(Zi({url:r.accessTokenUri,method:"POST",headers:h,body:c},r)).then(function(m){return n.client.createToken(m)})};function gf(t){this.client=t}gf.prototype.getToken=function(t,e){var n=this,r=Object.assign({},this.client.options,e),i=Object.assign({},qi);wo(r,"accessTokenUri"),r.clientId&&(i.Authorization=Qi(r.clientId,r.clientSecret));const s={grant_type:"urn:ietf:params:oauth:grant-type:jwt-bearer",assertion:t};return r.scopes!==void 0&&(s.scope=yo(r.scopes)),this.client._request(Zi({url:r.accessTokenUri,method:"POST",headers:i,body:s},r)).then(function(d){return n.client.createToken(d)})};class At{authToken="";constructor(){}getBaseUrl(e,n){return""}setAuthToken(e){this.authToken=e}transformOptions(e){return e.headers.authorization=`Bearer ${this.authToken}`,Promise.resolve(e)}}class c0 extends At{http;baseUrl;jsonParseReviver=void 0;constructor(e,n){super(),this.http=n||window,this.baseUrl=this.getBaseUrl("https://vcmp-dev.paas.govirto.com",e)}exchange(e){let n=this.baseUrl+"/connect/token";n=n.replace(/[?&]$/,"");let i={body:Object.keys(e).map(s=>encodeURIComponent(s)+"="+encodeURIComponent(e[s])).join("&"),method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded",Accept:"application/json"}};return this.transformOptions(i).then(s=>this.http.fetch(n,s)).then(s=>this.processExchange(s))}processExchange(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===200?e.text().then(i=>{let s=null,d=i===""?null:JSON.parse(i,this.jsonParseReviver);return s=Oi.fromJS(d),s}):n===400?e.text().then(i=>{let s=null,d=i===""?null:JSON.parse(i,this.jsonParseReviver);return s=Oi.fromJS(d),F("Bad Request",n,i,r,s)}):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}}class u0 extends At{http;baseUrl;jsonParseReviver=void 0;constructor(e,n){super(),this.http=n||window,this.baseUrl=this.getBaseUrl("https://vcmp-dev.paas.govirto.com",e)}signIn(e){let n=this.baseUrl+"/externalsignin?";e!=null&&(n+="authenticationType="+encodeURIComponent(""+e)+"&"),n=n.replace(/[?&]$/,"");let r={method:"GET",headers:{}};return this.transformOptions(r).then(i=>this.http.fetch(n,i)).then(i=>this.processSignIn(i))}processSignIn(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===200?e.text().then(i=>{}):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}signInCallback(e){let n=this.baseUrl+"/externalsignin/callback?";e!=null&&(n+="returnUrl="+encodeURIComponent(""+e)+"&"),n=n.replace(/[?&]$/,"");let r={method:"GET",headers:{}};return this.transformOptions(r).then(i=>this.http.fetch(n,i)).then(i=>this.processSignInCallback(i))}processSignInCallback(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===200?e.text().then(i=>{}):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}getExternalLoginProviders(){let e=this.baseUrl+"/externalsignin/providers";e=e.replace(/[?&]$/,"");let n={method:"GET",headers:{}};return this.transformOptions(n).then(r=>this.http.fetch(e,r)).then(r=>this.processGetExternalLoginProviders(r))}processGetExternalLoginProviders(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===200?e.text().then(i=>{}):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}}class vf extends At{http;baseUrl;jsonParseReviver=void 0;constructor(e,n){super(),this.http=n||window,this.baseUrl=this.getBaseUrl("https://vcmp-dev.paas.govirto.com",e)}getApps(){let e=this.baseUrl+"/api/platform/apps";e=e.replace(/[?&]$/,"");let n={method:"GET",headers:{Accept:"text/plain"}};return this.transformOptions(n).then(r=>this.http.fetch(e,r)).then(r=>this.processGetApps(r))}processGetApps(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===200?e.text().then(i=>{let s=null,d=i===""?null:JSON.parse(i,this.jsonParseReviver);if(Array.isArray(d)){s=[];for(let h of d)s.push(bo.fromJS(h))}else s=null;return s}):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}}class h0 extends At{http;baseUrl;jsonParseReviver=void 0;constructor(e,n){super(),this.http=n||window,this.baseUrl=this.getBaseUrl("https://vcmp-dev.paas.govirto.com",e)}forceChanges(e){let n=this.baseUrl+"/api/changes/force?";e!=null&&(n+="Scope="+encodeURIComponent(""+e)+"&"),n=n.replace(/[?&]$/,"");let r={method:"POST",headers:{}};return this.transformOptions(r).then(i=>this.http.fetch(n,i)).then(i=>this.processForceChanges(i))}processForceChanges(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===204?e.text().then(i=>{}):n===401?e.text().then(i=>F("Unauthorized",n,i,r)):n===403?e.text().then(i=>F("Forbidden",n,i,r)):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}resetPlatformCache(){let e=this.baseUrl+"/api/platform-cache/reset";e=e.replace(/[?&]$/,"");let n={method:"POST",headers:{}};return this.transformOptions(n).then(r=>this.http.fetch(e,r)).then(r=>this.processResetPlatformCache(r))}processResetPlatformCache(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===204?e.text().then(i=>{}):n===401?e.text().then(i=>F("Unauthorized",n,i,r)):n===403?e.text().then(i=>F("Forbidden",n,i,r)):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}getLastModifiedDate(e){let n=this.baseUrl+"/api/changes/lastmodifieddate?";e!=null&&(n+="scope="+encodeURIComponent(""+e)+"&"),n=n.replace(/[?&]$/,"");let r={method:"GET",headers:{Accept:"text/plain"}};return this.transformOptions(r).then(i=>this.http.fetch(n,i)).then(i=>this.processGetLastModifiedDate(i))}processGetLastModifiedDate(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===200?e.text().then(i=>{let s=null,d=i===""?null:JSON.parse(i,this.jsonParseReviver);return s=So.fromJS(d),s}):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}getChangedEntities(e){let n=this.baseUrl+"/api/changes/changed-entities";n=n.replace(/[?&]$/,"");let i={body:JSON.stringify(e),method:"POST",headers:{"Content-Type":"application/json-patch+json",Accept:"text/plain"}};return this.transformOptions(i).then(s=>this.http.fetch(n,s)).then(s=>this.processGetChangedEntities(s))}processGetChangedEntities(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===200?e.text().then(i=>{let s=null,d=i===""?null:JSON.parse(i,this.jsonParseReviver);return s=ko.fromJS(d),s}):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}resetChangedEntities(e){let n=this.baseUrl+"/api/changes/changed-entities/reset";n=n.replace(/[?&]$/,"");let i={body:JSON.stringify(e),method:"POST",headers:{"Content-Type":"application/json-patch+json"}};return this.transformOptions(i).then(s=>this.http.fetch(n,s)).then(s=>this.processResetChangedEntities(s))}processResetChangedEntities(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===204?e.text().then(i=>{}):n===401?e.text().then(i=>F("Unauthorized",n,i,r)):n===403?e.text().then(i=>F("Forbidden",n,i,r)):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}searchChanges(e){let n=this.baseUrl+"/api/platform/changelog/search";n=n.replace(/[?&]$/,"");let i={body:JSON.stringify(e),method:"POST",headers:{"Content-Type":"application/json-patch+json",Accept:"text/plain"}};return this.transformOptions(i).then(s=>this.http.fetch(n,s)).then(s=>this.processSearchChanges(s))}processSearchChanges(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===200?e.text().then(i=>{let s=null,d=i===""?null:JSON.parse(i,this.jsonParseReviver);return s=Co.fromJS(d),s}):n===401?e.text().then(i=>F("Unauthorized",n,i,r)):n===403?e.text().then(i=>F("Forbidden",n,i,r)):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}searchTypeChangeHistory(e,n,r){let i=this.baseUrl+"/api/platform/changelog/{type}/changes?";if(e==null)throw new Error("The parameter 'type' must be defined.");i=i.replace("{type}",encodeURIComponent(""+e)),n!=null&&(i+="start="+encodeURIComponent(n?""+n.toISOString():"")+"&"),r!=null&&(i+="end="+encodeURIComponent(r?""+r.toISOString():"")+"&"),i=i.replace(/[?&]$/,"");let s={method:"GET",headers:{Accept:"text/plain"}};return this.transformOptions(s).then(d=>this.http.fetch(i,d)).then(d=>this.processSearchTypeChangeHistory(d))}processSearchTypeChangeHistory(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===200?e.text().then(i=>{let s=null,d=i===""?null:JSON.parse(i,this.jsonParseReviver);if(Array.isArray(d)){s=[];for(let h of d)s.push(ts.fromJS(h))}else s=null;return s}):n===401?e.text().then(i=>F("Unauthorized",n,i,r)):n===403?e.text().then(i=>F("Forbidden",n,i,r)):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}}class d0 extends At{http;baseUrl;jsonParseReviver=void 0;constructor(e,n){super(),this.http=n||window,this.baseUrl=this.getBaseUrl("https://vcmp-dev.paas.govirto.com",e)}getSystemInfo(){let e=this.baseUrl+"/api/platform/diagnostics/systeminfo";e=e.replace(/[?&]$/,"");let n={method:"GET",headers:{Accept:"text/plain"}};return this.transformOptions(n).then(r=>this.http.fetch(e,r)).then(r=>this.processGetSystemInfo(r))}processGetSystemInfo(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===200?e.text().then(i=>{let s=null,d=i===""?null:JSON.parse(i,this.jsonParseReviver);return s=To.fromJS(d),s}):n===401?e.text().then(i=>F("Unauthorized",n,i,r)):n===403?e.text().then(i=>F("Forbidden",n,i,r)):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}getModulesErrors(){let e=this.baseUrl+"/api/platform/diagnostics/errors";e=e.replace(/[?&]$/,"");let n={method:"GET",headers:{Accept:"text/plain"}};return this.transformOptions(n).then(r=>this.http.fetch(e,r)).then(r=>this.processGetModulesErrors(r))}processGetModulesErrors(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===200?e.text().then(i=>{let s=null,d=i===""?null:JSON.parse(i,this.jsonParseReviver);if(Array.isArray(d)){s=[];for(let h of d)s.push(pn.fromJS(h))}else s=null;return s}):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}}class f0 extends At{http;baseUrl;jsonParseReviver=void 0;constructor(e,n){super(),this.http=n||window,this.baseUrl=this.getBaseUrl("https://vcmp-dev.paas.govirto.com",e)}getObjectTypes(){let e=this.baseUrl+"/api/platform/dynamic/types";e=e.replace(/[?&]$/,"");let n={method:"GET",headers:{Accept:"application/json"}};return this.transformOptions(n).then(r=>this.http.fetch(e,r)).then(r=>this.processGetObjectTypes(r))}processGetObjectTypes(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===200?e.text().then(i=>{let s=null,d=i===""?null:JSON.parse(i,this.jsonParseReviver);if(Array.isArray(d)){s=[];for(let h of d)s.push(h)}else s=null;return s}):n===401?e.text().then(i=>F("Unauthorized",n,i,r)):n===403?e.text().then(i=>F("Forbidden",n,i,r)):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}searchDynamicProperties(e){let n=this.baseUrl+"/api/platform/dynamic/properties/search";n=n.replace(/[?&]$/,"");let i={body:JSON.stringify(e),method:"POST",headers:{"Content-Type":"application/json-patch+json",Accept:"application/json"}};return this.transformOptions(i).then(s=>this.http.fetch(n,s)).then(s=>this.processSearchDynamicProperties(s))}processSearchDynamicProperties(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===200?e.text().then(i=>{let s=null,d=i===""?null:JSON.parse(i,this.jsonParseReviver);return s=Ao.fromJS(d),s}):n===401?e.text().then(i=>F("Unauthorized",n,i,r)):n===403?e.text().then(i=>F("Forbidden",n,i,r)):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}createProperty(e){let n=this.baseUrl+"/api/platform/dynamic/properties";n=n.replace(/[?&]$/,"");let i={body:JSON.stringify(e),method:"POST",headers:{"Content-Type":"application/json-patch+json",Accept:"application/json"}};return this.transformOptions(i).then(s=>this.http.fetch(n,s)).then(s=>this.processCreateProperty(s))}processCreateProperty(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===200?e.text().then(i=>{let s=null,d=i===""?null:JSON.parse(i,this.jsonParseReviver);return s=rs.fromJS(d),s}):n===401?e.text().then(i=>F("Unauthorized",n,i,r)):n===403?e.text().then(i=>F("Forbidden",n,i,r)):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}updateProperty(e){let n=this.baseUrl+"/api/platform/dynamic/properties";n=n.replace(/[?&]$/,"");let i={body:JSON.stringify(e),method:"PUT",headers:{"Content-Type":"application/json-patch+json"}};return this.transformOptions(i).then(s=>this.http.fetch(n,s)).then(s=>this.processUpdateProperty(s))}processUpdateProperty(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===204?e.text().then(i=>{}):n===401?e.text().then(i=>F("Unauthorized",n,i,r)):n===403?e.text().then(i=>F("Forbidden",n,i,r)):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}deleteProperty(e){let n=this.baseUrl+"/api/platform/dynamic/properties?";e!=null&&e&&e.forEach(i=>{n+="propertyIds="+encodeURIComponent(""+i)+"&"}),n=n.replace(/[?&]$/,"");let r={method:"DELETE",headers:{}};return this.transformOptions(r).then(i=>this.http.fetch(n,i)).then(i=>this.processDeleteProperty(i))}processDeleteProperty(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===204?e.text().then(i=>{}):n===401?e.text().then(i=>F("Unauthorized",n,i,r)):n===403?e.text().then(i=>F("Forbidden",n,i,r)):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}exposeDynamicObjectProperty(){let e=this.baseUrl+"/api/platform/dynamic";e=e.replace(/[?&]$/,"");let n={method:"POST",headers:{Accept:"application/json"}};return this.transformOptions(n).then(r=>this.http.fetch(e,r)).then(r=>this.processExposeDynamicObjectProperty(r))}processExposeDynamicObjectProperty(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===200?e.text().then(i=>{let s=null,d=i===""?null:JSON.parse(i,this.jsonParseReviver);return s=Oo.fromJS(d),s}):n===204?e.text().then(i=>F("Success",n,i,r)):n===401?e.text().then(i=>F("Unauthorized",n,i,r)):n===403?e.text().then(i=>F("Forbidden",n,i,r)):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}searchDictionaryItems(e){let n=this.baseUrl+"/api/platform/dynamic/dictionaryitems/search";n=n.replace(/[?&]$/,"");let i={body:JSON.stringify(e),method:"POST",headers:{"Content-Type":"application/json-patch+json",Accept:"application/json"}};return this.transformOptions(i).then(s=>this.http.fetch(n,s)).then(s=>this.processSearchDictionaryItems(s))}processSearchDictionaryItems(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===200?e.text().then(i=>{let s=null,d=i===""?null:JSON.parse(i,this.jsonParseReviver);return s=Ro.fromJS(d),s}):n===401?e.text().then(i=>F("Unauthorized",n,i,r)):n===403?e.text().then(i=>F("Forbidden",n,i,r)):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}saveDictionaryItems(e){let n=this.baseUrl+"/api/platform/dynamic/dictionaryitems";n=n.replace(/[?&]$/,"");let i={body:JSON.stringify(e),method:"POST",headers:{"Content-Type":"application/json-patch+json"}};return this.transformOptions(i).then(s=>this.http.fetch(n,s)).then(s=>this.processSaveDictionaryItems(s))}processSaveDictionaryItems(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===204?e.text().then(i=>{}):n===401?e.text().then(i=>F("Unauthorized",n,i,r)):n===403?e.text().then(i=>F("Forbidden",n,i,r)):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}deleteDictionaryItem(e){let n=this.baseUrl+"/api/platform/dynamic/dictionaryitems?";e!=null&&e&&e.forEach(i=>{n+="ids="+encodeURIComponent(""+i)+"&"}),n=n.replace(/[?&]$/,"");let r={method:"DELETE",headers:{}};return this.transformOptions(r).then(i=>this.http.fetch(n,i)).then(i=>this.processDeleteDictionaryItem(i))}processDeleteDictionaryItem(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===204?e.text().then(i=>{}):n===401?e.text().then(i=>F("Unauthorized",n,i,r)):n===403?e.text().then(i=>F("Forbidden",n,i,r)):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}}class m0 extends At{http;baseUrl;jsonParseReviver=void 0;constructor(e,n){super(),this.http=n||window,this.baseUrl=this.getBaseUrl("https://vcmp-dev.paas.govirto.com",e)}getStatus(e){let n=this.baseUrl+"/api/platform/jobs/{id}";if(e==null)throw new Error("The parameter 'id' must be defined.");n=n.replace("{id}",encodeURIComponent(""+e)),n=n.replace(/[?&]$/,"");let r={method:"GET",headers:{Accept:"application/json"}};return this.transformOptions(r).then(i=>this.http.fetch(n,i)).then(i=>this.processGetStatus(i))}processGetStatus(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===200?e.text().then(i=>{let s=null,d=i===""?null:JSON.parse(i,this.jsonParseReviver);return s=No.fromJS(d),s}):n===401?e.text().then(i=>F("Unauthorized",n,i,r)):n===403?e.text().then(i=>F("Forbidden",n,i,r)):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}}class p0 extends At{http;baseUrl;jsonParseReviver=void 0;constructor(e,n){super(),this.http=n||window,this.baseUrl=this.getBaseUrl("https://vcmp-dev.paas.govirto.com",e)}reloadModules(){let e=this.baseUrl+"/api/platform/modules/reload";e=e.replace(/[?&]$/,"");let n={method:"POST",headers:{}};return this.transformOptions(n).then(r=>this.http.fetch(e,r)).then(r=>this.processReloadModules(r))}processReloadModules(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===204?e.text().then(i=>{}):n===401?e.text().then(i=>F("Unauthorized",n,i,r)):n===403?e.text().then(i=>F("Forbidden",n,i,r)):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}getModules(){let e=this.baseUrl+"/api/platform/modules";e=e.replace(/[?&]$/,"");let n={method:"GET",headers:{Accept:"text/plain"}};return this.transformOptions(n).then(r=>this.http.fetch(e,r)).then(r=>this.processGetModules(r))}processGetModules(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===200?e.text().then(i=>{let s=null,d=i===""?null:JSON.parse(i,this.jsonParseReviver);if(Array.isArray(d)){s=[];for(let h of d)s.push(pn.fromJS(h))}else s=null;return s}):n===401?e.text().then(i=>F("Unauthorized",n,i,r)):n===403?e.text().then(i=>F("Forbidden",n,i,r)):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}getDependingModules(e){let n=this.baseUrl+"/api/platform/modules/getdependents";n=n.replace(/[?&]$/,"");let i={body:JSON.stringify(e),method:"POST",headers:{"Content-Type":"application/json-patch+json",Accept:"text/plain"}};return this.transformOptions(i).then(s=>this.http.fetch(n,s)).then(s=>this.processGetDependingModules(s))}processGetDependingModules(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===200?e.text().then(i=>{let s=null,d=i===""?null:JSON.parse(i,this.jsonParseReviver);if(Array.isArray(d)){s=[];for(let h of d)s.push(pn.fromJS(h))}else s=null;return s}):n===401?e.text().then(i=>F("Unauthorized",n,i,r)):n===403?e.text().then(i=>F("Forbidden",n,i,r)):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}getMissingDependencies(e){let n=this.baseUrl+"/api/platform/modules/getmissingdependencies";n=n.replace(/[?&]$/,"");let i={body:JSON.stringify(e),method:"POST",headers:{"Content-Type":"application/json-patch+json",Accept:"text/plain"}};return this.transformOptions(i).then(s=>this.http.fetch(n,s)).then(s=>this.processGetMissingDependencies(s))}processGetMissingDependencies(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===200?e.text().then(i=>{let s=null,d=i===""?null:JSON.parse(i,this.jsonParseReviver);if(Array.isArray(d)){s=[];for(let h of d)s.push(pn.fromJS(h))}else s=null;return s}):n===401?e.text().then(i=>F("Unauthorized",n,i,r)):n===403?e.text().then(i=>F("Forbidden",n,i,r)):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}uploadModuleArchive(){let e=this.baseUrl+"/api/platform/modules/localstorage";e=e.replace(/[?&]$/,"");let n={method:"POST",headers:{Accept:"text/plain"}};return this.transformOptions(n).then(r=>this.http.fetch(e,r)).then(r=>this.processUploadModuleArchive(r))}processUploadModuleArchive(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===200?e.text().then(i=>{let s=null,d=i===""?null:JSON.parse(i,this.jsonParseReviver);return s=pn.fromJS(d),s}):n===401?e.text().then(i=>F("Unauthorized",n,i,r)):n===403?e.text().then(i=>F("Forbidden",n,i,r)):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}installModules(e){let n=this.baseUrl+"/api/platform/modules/install";n=n.replace(/[?&]$/,"");let i={body:JSON.stringify(e),method:"POST",headers:{"Content-Type":"application/json-patch+json",Accept:"text/plain"}};return this.transformOptions(i).then(s=>this.http.fetch(n,s)).then(s=>this.processInstallModules(s))}processInstallModules(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===200?e.text().then(i=>{let s=null,d=i===""?null:JSON.parse(i,this.jsonParseReviver);return s=Mi.fromJS(d),s}):n===401?e.text().then(i=>F("Unauthorized",n,i,r)):n===403?e.text().then(i=>F("Forbidden",n,i,r)):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}uninstallModule(e){let n=this.baseUrl+"/api/platform/modules/uninstall";n=n.replace(/[?&]$/,"");let i={body:JSON.stringify(e),method:"POST",headers:{"Content-Type":"application/json-patch+json",Accept:"text/plain"}};return this.transformOptions(i).then(s=>this.http.fetch(n,s)).then(s=>this.processUninstallModule(s))}processUninstallModule(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===200?e.text().then(i=>{let s=null,d=i===""?null:JSON.parse(i,this.jsonParseReviver);return s=Mi.fromJS(d),s}):n===401?e.text().then(i=>F("Unauthorized",n,i,r)):n===403?e.text().then(i=>F("Forbidden",n,i,r)):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}restart(){let e=this.baseUrl+"/api/platform/modules/restart";e=e.replace(/[?&]$/,"");let n={method:"POST",headers:{}};return this.transformOptions(n).then(r=>this.http.fetch(e,r)).then(r=>this.processRestart(r))}processRestart(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===204?e.text().then(i=>{}):n===401?e.text().then(i=>F("Unauthorized",n,i,r)):n===403?e.text().then(i=>F("Forbidden",n,i,r)):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}tryToAutoInstallModules(){let e=this.baseUrl+"/api/platform/modules/autoinstall";e=e.replace(/[?&]$/,"");let n={method:"POST",headers:{Accept:"text/plain"}};return this.transformOptions(n).then(r=>this.http.fetch(e,r)).then(r=>this.processTryToAutoInstallModules(r))}processTryToAutoInstallModules(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===200?e.text().then(i=>{let s=null,d=i===""?null:JSON.parse(i,this.jsonParseReviver);return s=Io.fromJS(d),s}):n===401?e.text().then(i=>F("Unauthorized",n,i,r)):n===403?e.text().then(i=>F("Forbidden",n,i,r)):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}}class g0 extends At{http;baseUrl;jsonParseReviver=void 0;constructor(e,n){super(),this.http=n||window,this.baseUrl=this.getBaseUrl("https://vcmp-dev.paas.govirto.com",e)}new(){let e=this.baseUrl+"/api/platform/oauthapps/new";e=e.replace(/[?&]$/,"");let n={method:"GET",headers:{Accept:"text/plain"}};return this.transformOptions(n).then(r=>this.http.fetch(e,r)).then(r=>this.processNew(r))}processNew(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===200?e.text().then(i=>{let s=null,d=i===""?null:JSON.parse(i,this.jsonParseReviver);return s=Wr.fromJS(d),s}):n===401?e.text().then(i=>F("Unauthorized",n,i,r)):n===403?e.text().then(i=>F("Forbidden",n,i,r)):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}save(e){let n=this.baseUrl+"/api/platform/oauthapps";n=n.replace(/[?&]$/,"");let i={body:JSON.stringify(e),method:"POST",headers:{"Content-Type":"application/json-patch+json",Accept:"text/plain"}};return this.transformOptions(i).then(s=>this.http.fetch(n,s)).then(s=>this.processSave(s))}processSave(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===200?e.text().then(i=>{let s=null,d=i===""?null:JSON.parse(i,this.jsonParseReviver);return s=Wr.fromJS(d),s}):n===401?e.text().then(i=>F("Unauthorized",n,i,r)):n===403?e.text().then(i=>F("Forbidden",n,i,r)):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}delete(e){let n=this.baseUrl+"/api/platform/oauthapps?";e!=null&&e&&e.forEach(i=>{n+="clientIds="+encodeURIComponent(""+i)+"&"}),n=n.replace(/[?&]$/,"");let r={method:"DELETE",headers:{}};return this.transformOptions(r).then(i=>this.http.fetch(n,i)).then(i=>this.processDelete(i))}processDelete(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===200?e.text().then(i=>{}):n===401?e.text().then(i=>F("Unauthorized",n,i,r)):n===403?e.text().then(i=>F("Forbidden",n,i,r)):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}search(e){let n=this.baseUrl+"/api/platform/oauthapps/search";n=n.replace(/[?&]$/,"");let i={body:JSON.stringify(e),method:"POST",headers:{"Content-Type":"application/json-patch+json",Accept:"text/plain"}};return this.transformOptions(i).then(s=>this.http.fetch(n,s)).then(s=>this.processSearch(s))}processSearch(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===200?e.text().then(i=>{let s=null,d=i===""?null:JSON.parse(i,this.jsonParseReviver);return s=Do.fromJS(d),s}):n===401?e.text().then(i=>F("Unauthorized",n,i,r)):n===403?e.text().then(i=>F("Forbidden",n,i,r)):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}}class wf extends At{http;baseUrl;jsonParseReviver=void 0;constructor(e,n){super(),this.http=n||window,this.baseUrl=this.getBaseUrl("https://vcmp-dev.paas.govirto.com",e)}searchPushNotification(e){let n=this.baseUrl+"/api/platform/pushnotifications";n=n.replace(/[?&]$/,"");let i={body:JSON.stringify(e),method:"POST",headers:{"Content-Type":"application/json-patch+json",Accept:"application/json"}};return this.transformOptions(i).then(s=>this.http.fetch(n,s)).then(s=>this.processSearchPushNotification(s))}processSearchPushNotification(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===200?e.text().then(i=>{let s=null,d=i===""?null:JSON.parse(i,this.jsonParseReviver);return s=Ni.fromJS(d),s}):n===401?e.text().then(i=>F("Unauthorized",n,i,r)):n===403?e.text().then(i=>F("Forbidden",n,i,r)):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}markAllAsRead(){let e=this.baseUrl+"/api/platform/pushnotifications/markAllAsRead";e=e.replace(/[?&]$/,"");let n={method:"POST",headers:{Accept:"application/json"}};return this.transformOptions(n).then(r=>this.http.fetch(e,r)).then(r=>this.processMarkAllAsRead(r))}processMarkAllAsRead(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===200?e.text().then(i=>{let s=null,d=i===""?null:JSON.parse(i,this.jsonParseReviver);return s=Ni.fromJS(d),s}):n===401?e.text().then(i=>F("Unauthorized",n,i,r)):n===403?e.text().then(i=>F("Forbidden",n,i,r)):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}}class yf extends At{http;baseUrl;jsonParseReviver=void 0;constructor(e,n){super(),this.http=n||window,this.baseUrl=this.getBaseUrl("https://vcmp-dev.paas.govirto.com",e)}login(e){let n=this.baseUrl+"/api/platform/security/login";n=n.replace(/[?&]$/,"");let i={body:JSON.stringify(e),method:"POST",headers:{"Content-Type":"application/json-patch+json",Accept:"text/plain"}};return this.transformOptions(i).then(s=>this.http.fetch(n,s)).then(s=>this.processLogin(s))}processLogin(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===200?e.text().then(i=>{let s=null,d=i===""?null:JSON.parse(i,this.jsonParseReviver);return s=Bo.fromJS(d),s}):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}logout(){let e=this.baseUrl+"/api/platform/security/logout";e=e.replace(/[?&]$/,"");let n={method:"GET",headers:{}};return this.transformOptions(n).then(r=>this.http.fetch(e,r)).then(r=>this.processLogout(r))}processLogout(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===204?e.text().then(i=>{}):n===401?e.text().then(i=>F("Unauthorized",n,i,r)):n===403?e.text().then(i=>F("Forbidden",n,i,r)):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}getCurrentUser(){let e=this.baseUrl+"/api/platform/security/currentuser";e=e.replace(/[?&]$/,"");let n={method:"GET",headers:{Accept:"text/plain"}};return this.transformOptions(n).then(r=>this.http.fetch(e,r)).then(r=>this.processGetCurrentUser(r))}processGetCurrentUser(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===200?e.text().then(i=>{let s=null,d=i===""?null:JSON.parse(i,this.jsonParseReviver);return s=Fo.fromJS(d),s}):n===401?e.text().then(i=>F("Unauthorized",n,i,r)):n===403?e.text().then(i=>F("Forbidden",n,i,r)):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}userinfo(){let e=this.baseUrl+"/api/platform/security/userinfo";e=e.replace(/[?&]$/,"");let n={method:"GET",headers:{Accept:"text/plain"}};return this.transformOptions(n).then(r=>this.http.fetch(e,r)).then(r=>this.processUserinfo(r))}processUserinfo(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===200?e.text().then(i=>{let s=null,d=i===""?null:JSON.parse(i,this.jsonParseReviver);if(Array.isArray(d)){s=[];for(let h of d)s.push(ss.fromJS(h))}else s=null;return s}):n===401?e.text().then(i=>F("Unauthorized",n,i,r)):n===403?e.text().then(i=>F("Forbidden",n,i,r)):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}getAllRegisteredPermissions(){let e=this.baseUrl+"/api/platform/security/permissions";e=e.replace(/[?&]$/,"");let n={method:"GET",headers:{Accept:"text/plain"}};return this.transformOptions(n).then(r=>this.http.fetch(e,r)).then(r=>this.processGetAllRegisteredPermissions(r))}processGetAllRegisteredPermissions(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===200?e.text().then(i=>{let s=null,d=i===""?null:JSON.parse(i,this.jsonParseReviver);if(Array.isArray(d)){s=[];for(let h of d)s.push(os.fromJS(h))}else s=null;return s}):n===401?e.text().then(i=>F("Unauthorized",n,i,r)):n===403?e.text().then(i=>F("Forbidden",n,i,r)):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}searchRoles(e){let n=this.baseUrl+"/api/platform/security/roles/search";n=n.replace(/[?&]$/,"");let i={body:JSON.stringify(e),method:"POST",headers:{"Content-Type":"application/json-patch+json",Accept:"text/plain"}};return this.transformOptions(i).then(s=>this.http.fetch(n,s)).then(s=>this.processSearchRoles(s))}processSearchRoles(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===200?e.text().then(i=>{let s=null,d=i===""?null:JSON.parse(i,this.jsonParseReviver);return s=Vo.fromJS(d),s}):n===401?e.text().then(i=>F("Unauthorized",n,i,r)):n===403?e.text().then(i=>F("Forbidden",n,i,r)):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}getRole(e){let n=this.baseUrl+"/api/platform/security/roles/{roleName}";if(e==null)throw new Error("The parameter 'roleName' must be defined.");n=n.replace("{roleName}",encodeURIComponent(""+e)),n=n.replace(/[?&]$/,"");let r={method:"GET",headers:{Accept:"text/plain"}};return this.transformOptions(r).then(i=>this.http.fetch(n,i)).then(i=>this.processGetRole(i))}processGetRole(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===200?e.text().then(i=>{let s=null,d=i===""?null:JSON.parse(i,this.jsonParseReviver);return s=hr.fromJS(d),s}):n===401?e.text().then(i=>F("Unauthorized",n,i,r)):n===403?e.text().then(i=>F("Forbidden",n,i,r)):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}deleteRoles(e){let n=this.baseUrl+"/api/platform/security/roles?";e!=null&&e&&e.forEach(i=>{n+="ids="+encodeURIComponent(""+i)+"&"}),n=n.replace(/[?&]$/,"");let r={method:"DELETE",headers:{}};return this.transformOptions(r).then(i=>this.http.fetch(n,i)).then(i=>this.processDeleteRoles(i))}processDeleteRoles(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===204?e.text().then(i=>{}):n===401?e.text().then(i=>F("Unauthorized",n,i,r)):n===403?e.text().then(i=>F("Forbidden",n,i,r)):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}updateRole(e){let n=this.baseUrl+"/api/platform/security/roles";n=n.replace(/[?&]$/,"");let i={body:JSON.stringify(e),method:"PUT",headers:{"Content-Type":"application/json-patch+json",Accept:"text/plain"}};return this.transformOptions(i).then(s=>this.http.fetch(n,s)).then(s=>this.processUpdateRole(s))}processUpdateRole(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===200?e.text().then(i=>{let s=null,d=i===""?null:JSON.parse(i,this.jsonParseReviver);return s=Lt.fromJS(d),s}):n===401?e.text().then(i=>F("Unauthorized",n,i,r)):n===403?e.text().then(i=>F("Forbidden",n,i,r)):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}searchUsers(e){let n=this.baseUrl+"/api/platform/security/users/search";n=n.replace(/[?&]$/,"");let i={body:JSON.stringify(e),method:"POST",headers:{"Content-Type":"application/json-patch+json",Accept:"text/plain"}};return this.transformOptions(i).then(s=>this.http.fetch(n,s)).then(s=>this.processSearchUsers(s))}processSearchUsers(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===200?e.text().then(i=>{let s=null,d=i===""?null:JSON.parse(i,this.jsonParseReviver);return s=Wo.fromJS(d),s}):n===401?e.text().then(i=>F("Unauthorized",n,i,r)):n===403?e.text().then(i=>F("Forbidden",n,i,r)):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}getUserByName(e){let n=this.baseUrl+"/api/platform/security/users/{userName}";if(e==null)throw new Error("The parameter 'userName' must be defined.");n=n.replace("{userName}",encodeURIComponent(""+e)),n=n.replace(/[?&]$/,"");let r={method:"GET",headers:{Accept:"text/plain"}};return this.transformOptions(r).then(i=>this.http.fetch(n,i)).then(i=>this.processGetUserByName(i))}processGetUserByName(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===200?e.text().then(i=>{let s=null,d=i===""?null:JSON.parse(i,this.jsonParseReviver);return s=gn.fromJS(d),s}):n===401?e.text().then(i=>F("Unauthorized",n,i,r)):n===403?e.text().then(i=>F("Forbidden",n,i,r)):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}getUserById(e){let n=this.baseUrl+"/api/platform/security/users/id/{id}";if(e==null)throw new Error("The parameter 'id' must be defined.");n=n.replace("{id}",encodeURIComponent(""+e)),n=n.replace(/[?&]$/,"");let r={method:"GET",headers:{Accept:"text/plain"}};return this.transformOptions(r).then(i=>this.http.fetch(n,i)).then(i=>this.processGetUserById(i))}processGetUserById(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===200?e.text().then(i=>{let s=null,d=i===""?null:JSON.parse(i,this.jsonParseReviver);return s=gn.fromJS(d),s}):n===401?e.text().then(i=>F("Unauthorized",n,i,r)):n===403?e.text().then(i=>F("Forbidden",n,i,r)):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}getUserByEmail(e){let n=this.baseUrl+"/api/platform/security/users/email/{email}";if(e==null)throw new Error("The parameter 'email' must be defined.");n=n.replace("{email}",encodeURIComponent(""+e)),n=n.replace(/[?&]$/,"");let r={method:"GET",headers:{Accept:"text/plain"}};return this.transformOptions(r).then(i=>this.http.fetch(n,i)).then(i=>this.processGetUserByEmail(i))}processGetUserByEmail(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===200?e.text().then(i=>{let s=null,d=i===""?null:JSON.parse(i,this.jsonParseReviver);return s=gn.fromJS(d),s}):n===401?e.text().then(i=>F("Unauthorized",n,i,r)):n===403?e.text().then(i=>F("Forbidden",n,i,r)):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}getUserByLogin(e,n){let r=this.baseUrl+"/api/platform/security/users/login/external/{loginProvider}/{providerKey}";if(e==null)throw new Error("The parameter 'loginProvider' must be defined.");if(r=r.replace("{loginProvider}",encodeURIComponent(""+e)),n==null)throw new Error("The parameter 'providerKey' must be defined.");r=r.replace("{providerKey}",encodeURIComponent(""+n)),r=r.replace(/[?&]$/,"");let i={method:"GET",headers:{Accept:"text/plain"}};return this.transformOptions(i).then(s=>this.http.fetch(r,s)).then(s=>this.processGetUserByLogin(s))}processGetUserByLogin(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===200?e.text().then(i=>{let s=null,d=i===""?null:JSON.parse(i,this.jsonParseReviver);return s=gn.fromJS(d),s}):n===401?e.text().then(i=>F("Unauthorized",n,i,r)):n===403?e.text().then(i=>F("Forbidden",n,i,r)):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}create(e){let n=this.baseUrl+"/api/platform/security/users/create";n=n.replace(/[?&]$/,"");let i={body:JSON.stringify(e),method:"POST",headers:{"Content-Type":"application/json-patch+json",Accept:"text/plain"}};return this.transformOptions(i).then(s=>this.http.fetch(n,s)).then(s=>this.processCreate(s))}processCreate(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===200?e.text().then(i=>{let s=null,d=i===""?null:JSON.parse(i,this.jsonParseReviver);return s=Lt.fromJS(d),s}):n===401?e.text().then(i=>F("Unauthorized",n,i,r)):n===403?e.text().then(i=>F("Forbidden",n,i,r)):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}changeCurrentUserPassword(e){let n=this.baseUrl+"/api/platform/security/currentuser/changepassword";n=n.replace(/[?&]$/,"");let i={body:JSON.stringify(e),method:"POST",headers:{"Content-Type":"application/json-patch+json",Accept:"text/plain"}};return this.transformOptions(i).then(s=>this.http.fetch(n,s)).then(s=>this.processChangeCurrentUserPassword(s))}processChangeCurrentUserPassword(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===200?e.text().then(i=>{let s=null,d=i===""?null:JSON.parse(i,this.jsonParseReviver);return s=Lt.fromJS(d),s}):n===400?e.text().then(i=>F("Bad Request",n,i,r)):n===401?e.text().then(i=>F("Unauthorized",n,i,r)):n===403?e.text().then(i=>F("Forbidden",n,i,r)):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}changePassword(e,n){let r=this.baseUrl+"/api/platform/security/users/{userName}/changepassword";if(e==null)throw new Error("The parameter 'userName' must be defined.");r=r.replace("{userName}",encodeURIComponent(""+e)),r=r.replace(/[?&]$/,"");let s={body:JSON.stringify(n),method:"POST",headers:{"Content-Type":"application/json-patch+json",Accept:"text/plain"}};return this.transformOptions(s).then(d=>this.http.fetch(r,d)).then(d=>this.processChangePassword(d))}processChangePassword(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===200?e.text().then(i=>{let s=null,d=i===""?null:JSON.parse(i,this.jsonParseReviver);return s=Lt.fromJS(d),s}):n===400?e.text().then(i=>F("Bad Request",n,i,r)):n===401?e.text().then(i=>F("Unauthorized",n,i,r)):n===403?e.text().then(i=>F("Forbidden",n,i,r)):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}resetPassword(e,n){let r=this.baseUrl+"/api/platform/security/users/{userName}/resetpassword";if(e==null)throw new Error("The parameter 'userName' must be defined.");r=r.replace("{userName}",encodeURIComponent(""+e)),r=r.replace(/[?&]$/,"");let s={body:JSON.stringify(n),method:"POST",headers:{"Content-Type":"application/json-patch+json",Accept:"text/plain"}};return this.transformOptions(s).then(d=>this.http.fetch(r,d)).then(d=>this.processResetPassword(d))}processResetPassword(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===200?e.text().then(i=>{let s=null,d=i===""?null:JSON.parse(i,this.jsonParseReviver);return s=Lt.fromJS(d),s}):n===401?e.text().then(i=>F("Unauthorized",n,i,r)):n===403?e.text().then(i=>F("Forbidden",n,i,r)):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}resetPasswordByToken(e,n){let r=this.baseUrl+"/api/platform/security/users/{userId}/resetpasswordconfirm";if(e==null)throw new Error("The parameter 'userId' must be defined.");r=r.replace("{userId}",encodeURIComponent(""+e)),r=r.replace(/[?&]$/,"");let s={body:JSON.stringify(n),method:"POST",headers:{"Content-Type":"application/json-patch+json",Accept:"text/plain"}};return this.transformOptions(s).then(d=>this.http.fetch(r,d)).then(d=>this.processResetPasswordByToken(d))}processResetPasswordByToken(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===200?e.text().then(i=>{let s=null,d=i===""?null:JSON.parse(i,this.jsonParseReviver);return s=Lt.fromJS(d),s}):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}validatePasswordResetToken(e,n){let r=this.baseUrl+"/api/platform/security/users/{userId}/validatepasswordresettoken";if(e==null)throw new Error("The parameter 'userId' must be defined.");r=r.replace("{userId}",encodeURIComponent(""+e)),r=r.replace(/[?&]$/,"");let s={body:JSON.stringify(n),method:"POST",headers:{"Content-Type":"application/json-patch+json",Accept:"text/plain"}};return this.transformOptions(s).then(d=>this.http.fetch(r,d)).then(d=>this.processValidatePasswordResetToken(d))}processValidatePasswordResetToken(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===200?e.text().then(i=>{let s=null,d=i===""?null:JSON.parse(i,this.jsonParseReviver);return s=d!==void 0?d:null,s}):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}requestPasswordReset(e){let n=this.baseUrl+"/api/platform/security/users/{loginOrEmail}/requestpasswordreset";if(e==null)throw new Error("The parameter 'loginOrEmail' must be defined.");n=n.replace("{loginOrEmail}",encodeURIComponent(""+e)),n=n.replace(/[?&]$/,"");let r={method:"POST",headers:{}};return this.transformOptions(r).then(i=>this.http.fetch(n,i)).then(i=>this.processRequestPasswordReset(i))}processRequestPasswordReset(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===200?e.text().then(i=>{}):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}validatePassword(e){let n=this.baseUrl+"/api/platform/security/validatepassword";n=n.replace(/[?&]$/,"");let i={body:JSON.stringify(e),method:"POST",headers:{"Content-Type":"application/json-patch+json",Accept:"text/plain"}};return this.transformOptions(i).then(s=>this.http.fetch(n,s)).then(s=>this.processValidatePassword(s))}processValidatePassword(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===200?e.text().then(i=>{let s=null,d=i===""?null:JSON.parse(i,this.jsonParseReviver);return s=Pi.fromJS(d),s}):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}validateUserPassword(e){let n=this.baseUrl+"/api/platform/security/validateuserpassword";n=n.replace(/[?&]$/,"");let i={body:JSON.stringify(e),method:"POST",headers:{"Content-Type":"application/json-patch+json",Accept:"text/plain"}};return this.transformOptions(i).then(s=>this.http.fetch(n,s)).then(s=>this.processValidateUserPassword(s))}processValidateUserPassword(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===200?e.text().then(i=>{let s=null,d=i===""?null:JSON.parse(i,this.jsonParseReviver);return s=Pi.fromJS(d),s}):n===401?e.text().then(i=>F("Unauthorized",n,i,r)):n===403?e.text().then(i=>F("Forbidden",n,i,r)):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}update(e){let n=this.baseUrl+"/api/platform/security/users";n=n.replace(/[?&]$/,"");let i={body:JSON.stringify(e),method:"PUT",headers:{"Content-Type":"application/json-patch+json",Accept:"text/plain"}};return this.transformOptions(i).then(s=>this.http.fetch(n,s)).then(s=>this.processUpdate(s))}processUpdate(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===200?e.text().then(i=>{let s=null,d=i===""?null:JSON.parse(i,this.jsonParseReviver);return s=Lt.fromJS(d),s}):n===401?e.text().then(i=>F("Unauthorized",n,i,r)):n===403?e.text().then(i=>F("Forbidden",n,i,r)):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}delete(e){let n=this.baseUrl+"/api/platform/security/users?";e!=null&&e&&e.forEach(i=>{n+="names="+encodeURIComponent(""+i)+"&"}),n=n.replace(/[?&]$/,"");let r={method:"DELETE",headers:{}};return this.transformOptions(r).then(i=>this.http.fetch(n,i)).then(i=>this.processDelete(i))}processDelete(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===200?e.text().then(i=>{}):n===401?e.text().then(i=>F("Unauthorized",n,i,r)):n===403?e.text().then(i=>F("Forbidden",n,i,r)):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}isUserLocked(e){let n=this.baseUrl+"/api/platform/security/users/{id}/locked";if(e==null)throw new Error("The parameter 'id' must be defined.");n=n.replace("{id}",encodeURIComponent(""+e)),n=n.replace(/[?&]$/,"");let r={method:"GET",headers:{Accept:"text/plain"}};return this.transformOptions(r).then(i=>this.http.fetch(n,i)).then(i=>this.processIsUserLocked(i))}processIsUserLocked(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===200?e.text().then(i=>{let s=null,d=i===""?null:JSON.parse(i,this.jsonParseReviver);return s=jo.fromJS(d),s}):n===401?e.text().then(i=>F("Unauthorized",n,i,r)):n===403?e.text().then(i=>F("Forbidden",n,i,r)):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}lockUser(e){let n=this.baseUrl+"/api/platform/security/users/{id}/lock";if(e==null)throw new Error("The parameter 'id' must be defined.");n=n.replace("{id}",encodeURIComponent(""+e)),n=n.replace(/[?&]$/,"");let r={method:"POST",headers:{Accept:"text/plain"}};return this.transformOptions(r).then(i=>this.http.fetch(n,i)).then(i=>this.processLockUser(i))}processLockUser(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===200?e.text().then(i=>{let s=null,d=i===""?null:JSON.parse(i,this.jsonParseReviver);return s=Lt.fromJS(d),s}):n===401?e.text().then(i=>F("Unauthorized",n,i,r)):n===403?e.text().then(i=>F("Forbidden",n,i,r)):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}unlockUser(e){let n=this.baseUrl+"/api/platform/security/users/{id}/unlock";if(e==null)throw new Error("The parameter 'id' must be defined.");n=n.replace("{id}",encodeURIComponent(""+e)),n=n.replace(/[?&]$/,"");let r={method:"POST",headers:{Accept:"text/plain"}};return this.transformOptions(r).then(i=>this.http.fetch(n,i)).then(i=>this.processUnlockUser(i))}processUnlockUser(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===200?e.text().then(i=>{let s=null,d=i===""?null:JSON.parse(i,this.jsonParseReviver);return s=Lt.fromJS(d),s}):n===401?e.text().then(i=>F("Unauthorized",n,i,r)):n===403?e.text().then(i=>F("Forbidden",n,i,r)):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}getUserApiKeys(e){let n=this.baseUrl+"/api/platform/security/users/{id}/apikeys";if(e==null)throw new Error("The parameter 'id' must be defined.");n=n.replace("{id}",encodeURIComponent(""+e)),n=n.replace(/[?&]$/,"");let r={method:"GET",headers:{Accept:"text/plain"}};return this.transformOptions(r).then(i=>this.http.fetch(n,i)).then(i=>this.processGetUserApiKeys(i))}processGetUserApiKeys(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===200?e.text().then(i=>{let s=null,d=i===""?null:JSON.parse(i,this.jsonParseReviver);if(Array.isArray(d)){s=[];for(let h of d)s.push(nr.fromJS(h))}else s=null;return s}):n===401?e.text().then(i=>F("Unauthorized",n,i,r)):n===403?e.text().then(i=>F("Forbidden",n,i,r)):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}saveUserApiKey(e){let n=this.baseUrl+"/api/platform/security/users/apikeys";n=n.replace(/[?&]$/,"");let i={body:JSON.stringify(e),method:"POST",headers:{"Content-Type":"application/json-patch+json",Accept:"text/plain"}};return this.transformOptions(i).then(s=>this.http.fetch(n,s)).then(s=>this.processSaveUserApiKey(s))}processSaveUserApiKey(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===200?e.text().then(i=>{let s=null,d=i===""?null:JSON.parse(i,this.jsonParseReviver);if(Array.isArray(d)){s=[];for(let h of d)s.push(nr.fromJS(h))}else s=null;return s}):n===401?e.text().then(i=>F("Unauthorized",n,i,r)):n===403?e.text().then(i=>F("Forbidden",n,i,r)):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}updateUserApiKey(e){let n=this.baseUrl+"/api/platform/security/users/apikeys";n=n.replace(/[?&]$/,"");let i={body:JSON.stringify(e),method:"PUT",headers:{"Content-Type":"application/json-patch+json",Accept:"text/plain"}};return this.transformOptions(i).then(s=>this.http.fetch(n,s)).then(s=>this.processUpdateUserApiKey(s))}processUpdateUserApiKey(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===200?e.text().then(i=>{let s=null,d=i===""?null:JSON.parse(i,this.jsonParseReviver);if(Array.isArray(d)){s=[];for(let h of d)s.push(nr.fromJS(h))}else s=null;return s}):n===401?e.text().then(i=>F("Unauthorized",n,i,r)):n===403?e.text().then(i=>F("Forbidden",n,i,r)):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}deleteUserApiKeys(e){let n=this.baseUrl+"/api/platform/security/users/apikeys?";e!=null&&e&&e.forEach(i=>{n+="ids="+encodeURIComponent(""+i)+"&"}),n=n.replace(/[?&]$/,"");let r={method:"DELETE",headers:{Accept:"text/plain"}};return this.transformOptions(r).then(i=>this.http.fetch(n,i)).then(i=>this.processDeleteUserApiKeys(i))}processDeleteUserApiKeys(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===200?e.text().then(i=>{let s=null,d=i===""?null:JSON.parse(i,this.jsonParseReviver);if(Array.isArray(d)){s=[];for(let h of d)s.push(nr.fromJS(h))}else s=null;return s}):n===401?e.text().then(i=>F("Unauthorized",n,i,r)):n===403?e.text().then(i=>F("Forbidden",n,i,r)):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}getLoginTypes(){let e=this.baseUrl+"/api/platform/security/logintypes";e=e.replace(/[?&]$/,"");let n={method:"GET",headers:{}};return this.transformOptions(n).then(r=>this.http.fetch(e,r)).then(r=>this.processGetLoginTypes(r))}processGetLoginTypes(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===200?e.text().then(i=>{}):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}sendVerificationEmail(e){let n=this.baseUrl+"/api/platform/security/users/{userId}/sendVerificationEmail";if(e==null)throw new Error("The parameter 'userId' must be defined.");n=n.replace("{userId}",encodeURIComponent(""+e)),n=n.replace(/[?&]$/,"");let r={method:"POST",headers:{}};return this.transformOptions(r).then(i=>this.http.fetch(n,i)).then(i=>this.processSendVerificationEmail(i))}processSendVerificationEmail(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===200?e.text().then(i=>{}):n===401?e.text().then(i=>F("Unauthorized",n,i,r)):n===403?e.text().then(i=>F("Forbidden",n,i,r)):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}}class bf extends At{http;baseUrl;jsonParseReviver=void 0;constructor(e,n){super(),this.http=n||window,this.baseUrl=this.getBaseUrl("https://vcmp-dev.paas.govirto.com",e)}getAllGlobalSettings(){let e=this.baseUrl+"/api/platform/settings";e=e.replace(/[?&]$/,"");let n={method:"GET",headers:{Accept:"application/json"}};return this.transformOptions(n).then(r=>this.http.fetch(e,r)).then(r=>this.processGetAllGlobalSettings(r))}processGetAllGlobalSettings(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===200?e.text().then(i=>{let s=null,d=i===""?null:JSON.parse(i,this.jsonParseReviver);return s=rr.fromJS(d),s}):n===401?e.text().then(i=>F("Unauthorized",n,i,r)):n===403?e.text().then(i=>F("Forbidden",n,i,r)):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}update(e){let n=this.baseUrl+"/api/platform/settings";n=n.replace(/[?&]$/,"");let i={body:JSON.stringify(e),method:"POST",headers:{"Content-Type":"application/json-patch+json"}};return this.transformOptions(i).then(s=>this.http.fetch(n,s)).then(s=>this.processUpdate(s))}processUpdate(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===204?e.text().then(i=>{}):n===401?e.text().then(i=>F("Unauthorized",n,i,r)):n===403?e.text().then(i=>F("Forbidden",n,i,r)):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}getGlobalModuleSettings(e){let n=this.baseUrl+"/api/platform/settings/modules/{id}";if(e==null)throw new Error("The parameter 'id' must be defined.");n=n.replace("{id}",encodeURIComponent(""+e)),n=n.replace(/[?&]$/,"");let r={method:"GET",headers:{Accept:"application/json"}};return this.transformOptions(r).then(i=>this.http.fetch(n,i)).then(i=>this.processGetGlobalModuleSettings(i))}processGetGlobalModuleSettings(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===200?e.text().then(i=>{let s=null,d=i===""?null:JSON.parse(i,this.jsonParseReviver);if(Array.isArray(d)){s=[];for(let h of d)s.push(rr.fromJS(h))}else s=null;return s}):n===401?e.text().then(i=>F("Unauthorized",n,i,r)):n===403?e.text().then(i=>F("Forbidden",n,i,r)):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}getGlobalSetting(e){let n=this.baseUrl+"/api/platform/settings/{name}";if(e==null)throw new Error("The parameter 'name' must be defined.");n=n.replace("{name}",encodeURIComponent(""+e)),n=n.replace(/[?&]$/,"");let r={method:"GET",headers:{Accept:"application/json"}};return this.transformOptions(r).then(i=>this.http.fetch(n,i)).then(i=>this.processGetGlobalSetting(i))}processGetGlobalSetting(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===200?e.text().then(i=>{let s=null,d=i===""?null:JSON.parse(i,this.jsonParseReviver);return s=rr.fromJS(d),s}):n===401?e.text().then(i=>F("Unauthorized",n,i,r)):n===403?e.text().then(i=>F("Forbidden",n,i,r)):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}getUICustomizationSetting(){let e=this.baseUrl+"/api/platform/settings/ui/customization";e=e.replace(/[?&]$/,"");let n={method:"GET",headers:{Accept:"application/json"}};return this.transformOptions(n).then(r=>this.http.fetch(e,r)).then(r=>this.processGetUICustomizationSetting(r))}processGetUICustomizationSetting(e){const n=e.status;let r={};return e.headers&&e.headers.forEach&&e.headers.forEach((i,s)=>r[s]=i),n===200?e.text().then(i=>{let s=null,d=i===""?null:JSON.parse(i,this.jsonParseReviver);return s=rr.fromJS(d),s}):n!==200&&n!==204?e.text().then(i=>F("An unexpected server error occurred.",n,i,r)):Promise.resolve(null)}}class Oi{accessToken;code;deviceCode;error;errorDescription;errorUri;expiresIn;idToken;refreshToken;scope;state;tokenType;userCode;count;constructor(e){if(e)for(var n in e)e.hasOwnProperty(n)&&(this[n]=e[n])}init(e){e&&(this.accessToken=e.accessToken,this.code=e.code,this.deviceCode=e.deviceCode,this.error=e.error,this.errorDescription=e.errorDescription,this.errorUri=e.errorUri,this.expiresIn=e.expiresIn,this.idToken=e.idToken,this.refreshToken=e.refreshToken,this.scope=e.scope,this.state=e.state,this.tokenType=e.tokenType,this.userCode=e.userCode,this.count=e.count)}static fromJS(e){e=typeof e=="object"?e:{};let n=new Oi;return n.init(e),n}toJSON(e){return e=typeof e=="object"?e:{},e.accessToken=this.accessToken,e.code=this.code,e.deviceCode=this.deviceCode,e.error=this.error,e.errorDescription=this.errorDescription,e.errorUri=this.errorUri,e.expiresIn=this.expiresIn,e.idToken=this.idToken,e.refreshToken=this.refreshToken,e.scope=this.scope,e.state=this.state,e.tokenType=this.tokenType,e.userCode=this.userCode,e.count=this.count,e}}class bo{title;description;iconUrl;relativeUrl;permission;id;constructor(e){if(e)for(var n in e)e.hasOwnProperty(n)&&(this[n]=e[n])}init(e){e&&(this.title=e.title,this.description=e.description,this.iconUrl=e.iconUrl,this.relativeUrl=e.relativeUrl,this.permission=e.permission,this.id=e.id)}static fromJS(e){e=typeof e=="object"?e:{};let n=new bo;return n.init(e),n}toJSON(e){return e=typeof e=="object"?e:{},e.title=this.title,e.description=this.description,e.iconUrl=this.iconUrl,e.relativeUrl=this.relativeUrl,e.permission=this.permission,e.id=this.id,e}}class So{scope;lastModifiedDate;constructor(e){if(e)for(var n in e)e.hasOwnProperty(n)&&(this[n]=e[n])}init(e){e&&(this.scope=e.scope,this.lastModifiedDate=e.lastModifiedDate?new Date(e.lastModifiedDate.toString()):void 0)}static fromJS(e){e=typeof e=="object"?e:{};let n=new So;return n.init(e),n}toJSON(e){return e=typeof e=="object"?e:{},e.scope=this.scope,e.lastModifiedDate=this.lastModifiedDate?this.lastModifiedDate.toISOString():void 0,e}}class ac{entityNames;modifiedSince;constructor(e){if(e)for(var n in e)e.hasOwnProperty(n)&&(this[n]=e[n])}init(e){if(e){if(Array.isArray(e.entityNames)){this.entityNames=[];for(let n of e.entityNames)this.entityNames.push(n)}this.modifiedSince=e.modifiedSince?new Date(e.modifiedSince.toString()):void 0}}static fromJS(e){e=typeof e=="object"?e:{};let n=new ac;return n.init(e),n}toJSON(e){if(e=typeof e=="object"?e:{},Array.isArray(this.entityNames)){e.entityNames=[];for(let n of this.entityNames)e.entityNames.push(n)}return e.modifiedSince=this.modifiedSince?this.modifiedSince.toISOString():void 0,e}}class xo{name;modifiedDate;constructor(e){if(e)for(var n in e)e.hasOwnProperty(n)&&(this[n]=e[n])}init(e){e&&(this.name=e.name,this.modifiedDate=e.modifiedDate?new Date(e.modifiedDate.toString()):void 0)}static fromJS(e){e=typeof e=="object"?e:{};let n=new xo;return n.init(e),n}toJSON(e){return e=typeof e=="object"?e:{},e.name=this.name,e.modifiedDate=this.modifiedDate?this.modifiedDate.toISOString():void 0,e}}class ko{entities;constructor(e){if(e)for(var n in e)e.hasOwnProperty(n)&&(this[n]=e[n])}init(e){if(e&&Array.isArray(e.entities)){this.entities=[];for(let n of e.entities)this.entities.push(xo.fromJS(n))}}static fromJS(e){e=typeof e=="object"?e:{};let n=new ko;return n.init(e),n}toJSON(e){if(e=typeof e=="object"?e:{},Array.isArray(this.entities)){e.entities=[];for(let n of this.entities)e.entities.push(n.toJSON())}return e}}exports.EntryState=void 0;(function(t){t.Detached="Detached",t.Unchanged="Unchanged",t.Added="Added",t.Deleted="Deleted",t.Modified="Modified"})(exports.EntryState||(exports.EntryState={}));exports.SortDirection=void 0;(function(t){t.Ascending="Ascending",t.Descending="Descending"})(exports.SortDirection||(exports.SortDirection={}));class on{sortColumn;sortDirection;constructor(e){if(e)for(var n in e)e.hasOwnProperty(n)&&(this[n]=e[n])}init(e){e&&(this.sortColumn=e.sortColumn,this.sortDirection=e.sortDirection)}static fromJS(e){e=typeof e=="object"?e:{};let n=new on;return n.init(e),n}toJSON(e){return e=typeof e=="object"?e:{},e.sortColumn=this.sortColumn,e.sortDirection=this.sortDirection,e}}class lc{operationTypes;startDate;endDate;responseGroup;objectType;objectTypes;objectIds;keyword;searchPhrase;languageCode;sort;sortInfos;skip;take;constructor(e){if(e)for(var n in e)e.hasOwnProperty(n)&&(this[n]=e[n])}init(e){if(e){if(Array.isArray(e.operationTypes)){this.operationTypes=[];for(let n of e.operationTypes)this.operationTypes.push(n)}if(this.startDate=e.startDate?new Date(e.startDate.toString()):void 0,this.endDate=e.endDate?new Date(e.endDate.toString()):void 0,this.responseGroup=e.responseGroup,this.objectType=e.objectType,Array.isArray(e.objectTypes)){this.objectTypes=[];for(let n of e.objectTypes)this.objectTypes.push(n)}if(Array.isArray(e.objectIds)){this.objectIds=[];for(let n of e.objectIds)this.objectIds.push(n)}if(this.keyword=e.keyword,this.searchPhrase=e.searchPhrase,this.languageCode=e.languageCode,this.sort=e.sort,Array.isArray(e.sortInfos)){this.sortInfos=[];for(let n of e.sortInfos)this.sortInfos.push(on.fromJS(n))}this.skip=e.skip,this.take=e.take}}static fromJS(e){e=typeof e=="object"?e:{};let n=new lc;return n.init(e),n}toJSON(e){if(e=typeof e=="object"?e:{},Array.isArray(this.operationTypes)){e.operationTypes=[];for(let n of this.operationTypes)e.operationTypes.push(n)}if(e.startDate=this.startDate?this.startDate.toISOString():void 0,e.endDate=this.endDate?this.endDate.toISOString():void 0,e.responseGroup=this.responseGroup,e.objectType=this.objectType,Array.isArray(this.objectTypes)){e.objectTypes=[];for(let n of this.objectTypes)e.objectTypes.push(n)}if(Array.isArray(this.objectIds)){e.objectIds=[];for(let n of this.objectIds)e.objectIds.push(n)}if(e.keyword=this.keyword,e.searchPhrase=this.searchPhrase,e.languageCode=this.languageCode,e.sort=this.sort,Array.isArray(this.sortInfos)){e.sortInfos=[];for(let n of this.sortInfos)e.sortInfos.push(n.toJSON())}return e.skip=this.skip,e.take=this.take,e}}class ts{objectType;objectId;operationType;detail;createdDate;modifiedDate;createdBy;modifiedBy;id;constructor(e){if(e)for(var n in e)e.hasOwnProperty(n)&&(this[n]=e[n])}init(e){e&&(this.objectType=e.objectType,this.objectId=e.objectId,this.operationType=e.operationType,this.detail=e.detail,this.createdDate=e.createdDate?new Date(e.createdDate.toString()):void 0,this.modifiedDate=e.modifiedDate?new Date(e.modifiedDate.toString()):void 0,this.createdBy=e.createdBy,this.modifiedBy=e.modifiedBy,this.id=e.id)}static fromJS(e){e=typeof e=="object"?e:{};let n=new ts;return n.init(e),n}toJSON(e){return e=typeof e=="object"?e:{},e.objectType=this.objectType,e.objectId=this.objectId,e.operationType=this.operationType,e.detail=this.detail,e.createdDate=this.createdDate?this.createdDate.toISOString():void 0,e.modifiedDate=this.modifiedDate?this.modifiedDate.toISOString():void 0,e.createdBy=this.createdBy,e.modifiedBy=this.modifiedBy,e.id=this.id,e}}class Co{totalCount;results;constructor(e){if(e)for(var n in e)e.hasOwnProperty(n)&&(this[n]=e[n])}init(e){if(e&&(this.totalCount=e.totalCount,Array.isArray(e.results))){this.results=[];for(let n of e.results)this.results.push(ts.fromJS(n))}}static fromJS(e){e=typeof e=="object"?e:{};let n=new Co;return n.init(e),n}toJSON(e){if(e=typeof e=="object"?e:{},e.totalCount=this.totalCount,Array.isArray(this.results)){e.results=[];for(let n of this.results)e.results.push(n.toJSON())}return e}}class Eo{type;customerName;customerEmail;expirationDate;rawLicense;constructor(e){if(e)for(var n in e)e.hasOwnProperty(n)&&(this[n]=e[n])}init(e){e&&(this.type=e.type,this.customerName=e.customerName,this.customerEmail=e.customerEmail,this.expirationDate=e.expirationDate?new Date(e.expirationDate.toString()):void 0,this.rawLicense=e.rawLicense)}static fromJS(e){e=typeof e=="object"?e:{};let n=new Eo;return n.init(e),n}toJSON(e){return e=typeof e=="object"?e:{},e.type=this.type,e.customerName=this.customerName,e.customerEmail=this.customerEmail,e.expirationDate=this.expirationDate?this.expirationDate.toISOString():void 0,e.rawLicense=this.rawLicense,e}}class _o{major;minor;patch;prerelease;constructor(e){if(e)for(var n in e)e.hasOwnProperty(n)&&(this[n]=e[n])}init(e){e&&(this.major=e.major,this.minor=e.minor,this.patch=e.patch,this.prerelease=e.prerelease)}static fromJS(e){e=typeof e=="object"?e:{};let n=new _o;return n.init(e),n}toJSON(e){return e=typeof e=="object"?e:{},e.major=this.major,e.minor=this.minor,e.patch=this.patch,e.prerelease=this.prerelease,e}}class Li{id;version;constructor(e){if(e)for(var n in e)e.hasOwnProperty(n)&&(this[n]=e[n])}init(e){e&&(this.id=e.id,this.version=e.version?_o.fromJS(e.version):void 0)}static fromJS(e){e=typeof e=="object"?e:{};let n=new Li;return n.init(e),n}toJSON(e){return e=typeof e=="object"?e:{},e.id=this.id,e.version=this.version?this.version.toJSON():void 0,e}}class pn{version;platformVersion;title;description;authors;owners;licenseUrl;projectUrl;iconUrl;requireLicenseAcceptance;releaseNotes;copyright;tags;groups;dependencies;validationErrors;isRemovable;isInstalled;installedVersion;id;constructor(e){if(e)for(var n in e)e.hasOwnProperty(n)&&(this[n]=e[n])}init(e){if(e){if(this.version=e.version,this.platformVersion=e.platformVersion,this.title=e.title,this.description=e.description,Array.isArray(e.authors)){this.authors=[];for(let n of e.authors)this.authors.push(n)}if(Array.isArray(e.owners)){this.owners=[];for(let n of e.owners)this.owners.push(n)}if(this.licenseUrl=e.licenseUrl,this.projectUrl=e.projectUrl,this.iconUrl=e.iconUrl,this.requireLicenseAcceptance=e.requireLicenseAcceptance,this.releaseNotes=e.releaseNotes,this.copyright=e.copyright,this.tags=e.tags,Array.isArray(e.groups)){this.groups=[];for(let n of e.groups)this.groups.push(n)}if(Array.isArray(e.dependencies)){this.dependencies=[];for(let n of e.dependencies)this.dependencies.push(Li.fromJS(n))}if(Array.isArray(e.validationErrors)){this.validationErrors=[];for(let n of e.validationErrors)this.validationErrors.push(n)}this.isRemovable=e.isRemovable,this.isInstalled=e.isInstalled,this.installedVersion=e.installedVersion?Li.fromJS(e.installedVersion):void 0,this.id=e.id}}static fromJS(e){e=typeof e=="object"?e:{};let n=new pn;return n.init(e),n}toJSON(e){if(e=typeof e=="object"?e:{},e.version=this.version,e.platformVersion=this.platformVersion,e.title=this.title,e.description=this.description,Array.isArray(this.authors)){e.authors=[];for(let n of this.authors)e.authors.push(n)}if(Array.isArray(this.owners)){e.owners=[];for(let n of this.owners)e.owners.push(n)}if(e.licenseUrl=this.licenseUrl,e.projectUrl=this.projectUrl,e.iconUrl=this.iconUrl,e.requireLicenseAcceptance=this.requireLicenseAcceptance,e.releaseNotes=this.releaseNotes,e.copyright=this.copyright,e.tags=this.tags,Array.isArray(this.groups)){e.groups=[];for(let n of this.groups)e.groups.push(n)}if(Array.isArray(this.dependencies)){e.dependencies=[];for(let n of this.dependencies)e.dependencies.push(n.toJSON())}if(Array.isArray(this.validationErrors)){e.validationErrors=[];for(let n of this.validationErrors)e.validationErrors.push(n)}return e.isRemovable=this.isRemovable,e.isInstalled=this.isInstalled,e.installedVersion=this.installedVersion?this.installedVersion.toJSON():void 0,e.id=this.id,e}}class To{platformVersion;license;installedModules;version;is64BitOperatingSystem;is64BitProcess;constructor(e){if(e)for(var n in e)e.hasOwnProperty(n)&&(this[n]=e[n])}init(e){if(e){if(this.platformVersion=e.platformVersion,this.license=e.license?Eo.fromJS(e.license):void 0,Array.isArray(e.installedModules)){this.installedModules=[];for(let n of e.installedModules)this.installedModules.push(pn.fromJS(n))}this.version=e.version,this.is64BitOperatingSystem=e.is64BitOperatingSystem,this.is64BitProcess=e.is64BitProcess}}static fromJS(e){e=typeof e=="object"?e:{};let n=new To;return n.init(e),n}toJSON(e){if(e=typeof e=="object"?e:{},e.platformVersion=this.platformVersion,e.license=this.license?this.license.toJSON():void 0,Array.isArray(this.installedModules)){e.installedModules=[];for(let n of this.installedModules)e.installedModules.push(n.toJSON())}return e.version=this.version,e.is64BitOperatingSystem=this.is64BitOperatingSystem,e.is64BitProcess=this.is64BitProcess,e}}class cc{typeName;responseGroup;objectType;objectTypes;objectIds;keyword;searchPhrase;languageCode;sort;sortInfos;skip;take;constructor(e){if(e)for(var n in e)e.hasOwnProperty(n)&&(this[n]=e[n])}init(e){if(e){if(this.typeName=e.typeName,this.responseGroup=e.responseGroup,this.objectType=e.objectType,Array.isArray(e.objectTypes)){this.objectTypes=[];for(let n of e.objectTypes)this.objectTypes.push(n)}if(Array.isArray(e.objectIds)){this.objectIds=[];for(let n of e.objectIds)this.objectIds.push(n)}if(this.keyword=e.keyword,this.searchPhrase=e.searchPhrase,this.languageCode=e.languageCode,this.sort=e.sort,Array.isArray(e.sortInfos)){this.sortInfos=[];for(let n of e.sortInfos)this.sortInfos.push(on.fromJS(n))}this.skip=e.skip,this.take=e.take}}static fromJS(e){e=typeof e=="object"?e:{};let n=new cc;return n.init(e),n}toJSON(e){if(e=typeof e=="object"?e:{},e.typeName=this.typeName,e.responseGroup=this.responseGroup,e.objectType=this.objectType,Array.isArray(this.objectTypes)){e.objectTypes=[];for(let n of this.objectTypes)e.objectTypes.push(n)}if(Array.isArray(this.objectIds)){e.objectIds=[];for(let n of this.objectIds)e.objectIds.push(n)}if(e.keyword=this.keyword,e.searchPhrase=this.searchPhrase,e.languageCode=this.languageCode,e.sort=this.sort,Array.isArray(this.sortInfos)){e.sortInfos=[];for(let n of this.sortInfos)e.sortInfos.push(n.toJSON())}return e.skip=this.skip,e.take=this.take,e}}exports.DynamicPropertyValueType=void 0;(function(t){t.Undefined="Undefined",t.ShortText="ShortText",t.LongText="LongText",t.Integer="Integer",t.Decimal="Decimal",t.DateTime="DateTime",t.Boolean="Boolean",t.Html="Html",t.Image="Image"})(exports.DynamicPropertyValueType||(exports.DynamicPropertyValueType={}));class ns{locale;name;constructor(e){if(e)for(var n in e)e.hasOwnProperty(n)&&(this[n]=e[n])}init(e){e&&(this.locale=e.locale,this.name=e.name)}static fromJS(e){e=typeof e=="object"?e:{};let n=new ns;return n.init(e),n}toJSON(e){return e=typeof e=="object"?e:{},e.locale=this.locale,e.name=this.name,e}}class rs{name;description;objectType;isArray;isDictionary;isMultilingual;isRequired;displayOrder;valueType;displayNames;createdDate;modifiedDate;createdBy;modifiedBy;id;constructor(e){if(e)for(var n in e)e.hasOwnProperty(n)&&(this[n]=e[n])}init(e){if(e){if(this.name=e.name,this.description=e.description,this.objectType=e.objectType,this.isArray=e.isArray,this.isDictionary=e.isDictionary,this.isMultilingual=e.isMultilingual,this.isRequired=e.isRequired,this.displayOrder=e.displayOrder,this.valueType=e.valueType,Array.isArray(e.displayNames)){this.displayNames=[];for(let n of e.displayNames)this.displayNames.push(ns.fromJS(n))}this.createdDate=e.createdDate?new Date(e.createdDate.toString()):void 0,this.modifiedDate=e.modifiedDate?new Date(e.modifiedDate.toString()):void 0,this.createdBy=e.createdBy,this.modifiedBy=e.modifiedBy,this.id=e.id}}static fromJS(e){e=typeof e=="object"?e:{};let n=new rs;return n.init(e),n}toJSON(e){if(e=typeof e=="object"?e:{},e.name=this.name,e.description=this.description,e.objectType=this.objectType,e.isArray=this.isArray,e.isDictionary=this.isDictionary,e.isMultilingual=this.isMultilingual,e.isRequired=this.isRequired,e.displayOrder=this.displayOrder,e.valueType=this.valueType,Array.isArray(this.displayNames)){e.displayNames=[];for(let n of this.displayNames)e.displayNames.push(n.toJSON())}return e.createdDate=this.createdDate?this.createdDate.toISOString():void 0,e.modifiedDate=this.modifiedDate?this.modifiedDate.toISOString():void 0,e.createdBy=this.createdBy,e.modifiedBy=this.modifiedBy,e.id=this.id,e}}class Ao{totalCount;results;constructor(e){if(e)for(var n in e)e.hasOwnProperty(n)&&(this[n]=e[n])}init(e){if(e&&(this.totalCount=e.totalCount,Array.isArray(e.results))){this.results=[];for(let n of e.results)this.results.push(rs.fromJS(n))}}static fromJS(e){e=typeof e=="object"?e:{};let n=new Ao;return n.init(e),n}toJSON(e){if(e=typeof e=="object"?e:{},e.totalCount=this.totalCount,Array.isArray(this.results)){e.results=[];for(let n of this.results)e.results.push(n.toJSON())}return e}}class $o{objectType;objectId;locale;value;valueId;valueType;propertyId;propertyName;constructor(e){if(e)for(var n in e)e.hasOwnProperty(n)&&(this[n]=e[n])}init(e){e&&(this.objectType=e.objectType,this.objectId=e.objectId,this.locale=e.locale,this.value=e.value,this.valueId=e.valueId,this.valueType=e.valueType,this.propertyId=e.propertyId,this.propertyName=e.propertyName)}static fromJS(e){e=typeof e=="object"?e:{};let n=new $o;return n.init(e),n}toJSON(e){return e=typeof e=="object"?e:{},e.objectType=this.objectType,e.objectId=this.objectId,e.locale=this.locale,e.value=this.value,e.valueId=this.valueId,e.valueType=this.valueType,e.propertyId=this.propertyId,e.propertyName=this.propertyName,e}}class Oo{objectId;values;name;description;objectType;isArray;isDictionary;isMultilingual;isRequired;displayOrder;valueType;displayNames;createdDate;modifiedDate;createdBy;modifiedBy;id;constructor(e){if(e)for(var n in e)e.hasOwnProperty(n)&&(this[n]=e[n])}init(e){if(e){if(this.objectId=e.objectId,Array.isArray(e.values)){this.values=[];for(let n of e.values)this.values.push($o.fromJS(n))}if(this.name=e.name,this.description=e.description,this.objectType=e.objectType,this.isArray=e.isArray,this.isDictionary=e.isDictionary,this.isMultilingual=e.isMultilingual,this.isRequired=e.isRequired,this.displayOrder=e.displayOrder,this.valueType=e.valueType,Array.isArray(e.displayNames)){this.displayNames=[];for(let n of e.displayNames)this.displayNames.push(ns.fromJS(n))}this.createdDate=e.createdDate?new Date(e.createdDate.toString()):void 0,this.modifiedDate=e.modifiedDate?new Date(e.modifiedDate.toString()):void 0,this.createdBy=e.createdBy,this.modifiedBy=e.modifiedBy,this.id=e.id}}static fromJS(e){e=typeof e=="object"?e:{};let n=new Oo;return n.init(e),n}toJSON(e){if(e=typeof e=="object"?e:{},e.objectId=this.objectId,Array.isArray(this.values)){e.values=[];for(let n of this.values)e.values.push(n.toJSON())}if(e.name=this.name,e.description=this.description,e.objectType=this.objectType,e.isArray=this.isArray,e.isDictionary=this.isDictionary,e.isMultilingual=this.isMultilingual,e.isRequired=this.isRequired,e.displayOrder=this.displayOrder,e.valueType=this.valueType,Array.isArray(this.displayNames)){e.displayNames=[];for(let n of this.displayNames)e.displayNames.push(n.toJSON())}return e.createdDate=this.createdDate?this.createdDate.toISOString():void 0,e.modifiedDate=this.modifiedDate?this.modifiedDate.toISOString():void 0,e.createdBy=this.createdBy,e.modifiedBy=this.modifiedBy,e.id=this.id,e}}class uc{propertyId;responseGroup;objectType;objectTypes;objectIds;keyword;searchPhrase;languageCode;sort;sortInfos;skip;take;constructor(e){if(e)for(var n in e)e.hasOwnProperty(n)&&(this[n]=e[n])}init(e){if(e){if(this.propertyId=e.propertyId,this.responseGroup=e.responseGroup,this.objectType=e.objectType,Array.isArray(e.objectTypes)){this.objectTypes=[];for(let n of e.objectTypes)this.objectTypes.push(n)}if(Array.isArray(e.objectIds)){this.objectIds=[];for(let n of e.objectIds)this.objectIds.push(n)}if(this.keyword=e.keyword,this.searchPhrase=e.searchPhrase,this.languageCode=e.languageCode,this.sort=e.sort,Array.isArray(e.sortInfos)){this.sortInfos=[];for(let n of e.sortInfos)this.sortInfos.push(on.fromJS(n))}this.skip=e.skip,this.take=e.take}}static fromJS(e){e=typeof e=="object"?e:{};let n=new uc;return n.init(e),n}toJSON(e){if(e=typeof e=="object"?e:{},e.propertyId=this.propertyId,e.responseGroup=this.responseGroup,e.objectType=this.objectType,Array.isArray(this.objectTypes)){e.objectTypes=[];for(let n of this.objectTypes)e.objectTypes.push(n)}if(Array.isArray(this.objectIds)){e.objectIds=[];for(let n of this.objectIds)e.objectIds.push(n)}if(e.keyword=this.keyword,e.searchPhrase=this.searchPhrase,e.languageCode=this.languageCode,e.sort=this.sort,Array.isArray(this.sortInfos)){e.sortInfos=[];for(let n of this.sortInfos)e.sortInfos.push(n.toJSON())}return e.skip=this.skip,e.take=this.take,e}}class Lo{locale;name;constructor(e){if(e)for(var n in e)e.hasOwnProperty(n)&&(this[n]=e[n])}init(e){e&&(this.locale=e.locale,this.name=e.name)}static fromJS(e){e=typeof e=="object"?e:{};let n=new Lo;return n.init(e),n}toJSON(e){return e=typeof e=="object"?e:{},e.locale=this.locale,e.name=this.name,e}}class Mo{propertyId;name;displayNames;createdDate;modifiedDate;createdBy;modifiedBy;id;constructor(e){if(e)for(var n in e)e.hasOwnProperty(n)&&(this[n]=e[n])}init(e){if(e){if(this.propertyId=e.propertyId,this.name=e.name,Array.isArray(e.displayNames)){this.displayNames=[];for(let n of e.displayNames)this.displayNames.push(Lo.fromJS(n))}this.createdDate=e.createdDate?new Date(e.createdDate.toString()):void 0,this.modifiedDate=e.modifiedDate?new Date(e.modifiedDate.toString()):void 0,this.createdBy=e.createdBy,this.modifiedBy=e.modifiedBy,this.id=e.id}}static fromJS(e){e=typeof e=="object"?e:{};let n=new Mo;return n.init(e),n}toJSON(e){if(e=typeof e=="object"?e:{},e.propertyId=this.propertyId,e.name=this.name,Array.isArray(this.displayNames)){e.displayNames=[];for(let n of this.displayNames)e.displayNames.push(n.toJSON())}return e.createdDate=this.createdDate?this.createdDate.toISOString():void 0,e.modifiedDate=this.modifiedDate?this.modifiedDate.toISOString():void 0,e.createdBy=this.createdBy,e.modifiedBy=this.modifiedBy,e.id=this.id,e}}class Ro{totalCount;results;constructor(e){if(e)for(var n in e)e.hasOwnProperty(n)&&(this[n]=e[n])}init(e){if(e&&(this.totalCount=e.totalCount,Array.isArray(e.results))){this.results=[];for(let n of e.results)this.results.push(Mo.fromJS(n))}}static fromJS(e){e=typeof e=="object"?e:{};let n=new Ro;return n.init(e),n}toJSON(e){if(e=typeof e=="object"?e:{},e.totalCount=this.totalCount,Array.isArray(this.results)){e.results=[];for(let n of this.results)e.results.push(n.toJSON())}return e}}class No{state;completed;id;constructor(e){if(e)for(var n in e)e.hasOwnProperty(n)&&(this[n]=e[n])}init(e){e&&(this.state=e.state,this.completed=e.completed,this.id=e.id)}static fromJS(e){e=typeof e=="object"?e:{};let n=new No;return n.init(e),n}toJSON(e){return e=typeof e=="object"?e:{},e.state=this.state,e.completed=this.completed,e.id=this.id,e}}exports.ProgressMessageLevel=void 0;(function(t){t.Info="Info",t.Warning="Warning",t.Debug="Debug",t.Error="Error"})(exports.ProgressMessageLevel||(exports.ProgressMessageLevel={}));class is{message;level;constructor(e){if(e)for(var n in e)e.hasOwnProperty(n)&&(this[n]=e[n])}init(e){e&&(this.message=e.message,this.level=e.level)}static fromJS(e){e=typeof e=="object"?e:{};let n=new is;return n.init(e),n}toJSON(e){return e=typeof e=="object"?e:{},e.message=this.message,e.level=this.level,e}}class Mi{started;finished;progressLog;errorCount;serverId;creator;created;isNew;notifyType;description;title;repeatCount;id;constructor(e){if(e)for(var n in e)e.hasOwnProperty(n)&&(this[n]=e[n])}init(e){if(e){if(this.started=e.started?new Date(e.started.toString()):void 0,this.finished=e.finished?new Date(e.finished.toString()):void 0,Array.isArray(e.progressLog)){this.progressLog=[];for(let n of e.progressLog)this.progressLog.push(is.fromJS(n))}this.errorCount=e.errorCount,this.serverId=e.serverId,this.creator=e.creator,this.created=e.created?new Date(e.created.toString()):void 0,this.isNew=e.isNew,this.notifyType=e.notifyType,this.description=e.description,this.title=e.title,this.repeatCount=e.repeatCount,this.id=e.id}}static fromJS(e){e=typeof e=="object"?e:{};let n=new Mi;return n.init(e),n}toJSON(e){if(e=typeof e=="object"?e:{},e.started=this.started?this.started.toISOString():void 0,e.finished=this.finished?this.finished.toISOString():void 0,Array.isArray(this.progressLog)){e.progressLog=[];for(let n of this.progressLog)e.progressLog.push(n.toJSON())}return e.errorCount=this.errorCount,e.serverId=this.serverId,e.creator=this.creator,e.created=this.created?this.created.toISOString():void 0,e.isNew=this.isNew,e.notifyType=this.notifyType,e.description=this.description,e.title=this.title,e.repeatCount=this.repeatCount,e.id=this.id,e}}class Io{started;finished;progressLog;errorCount;serverId;creator;created;isNew;notifyType;description;title;repeatCount;id;constructor(e){if(e)for(var n in e)e.hasOwnProperty(n)&&(this[n]=e[n])}init(e){if(e){if(this.started=e.started?new Date(e.started.toString()):void 0,this.finished=e.finished?new Date(e.finished.toString()):void 0,Array.isArray(e.progressLog)){this.progressLog=[];for(let n of e.progressLog)this.progressLog.push(is.fromJS(n))}this.errorCount=e.errorCount,this.serverId=e.serverId,this.creator=e.creator,this.created=e.created?new Date(e.created.toString()):void 0,this.isNew=e.isNew,this.notifyType=e.notifyType,this.description=e.description,this.title=e.title,this.repeatCount=e.repeatCount,this.id=e.id}}static fromJS(e){e=typeof e=="object"?e:{};let n=new Io;return n.init(e),n}toJSON(e){if(e=typeof e=="object"?e:{},e.started=this.started?this.started.toISOString():void 0,e.finished=this.finished?this.finished.toISOString():void 0,Array.isArray(this.progressLog)){e.progressLog=[];for(let n of this.progressLog)e.progressLog.push(n.toJSON())}return e.errorCount=this.errorCount,e.serverId=this.serverId,e.creator=this.creator,e.created=this.created?this.created.toISOString():void 0,e.isNew=this.isNew,e.notifyType=this.notifyType,e.description=this.description,e.title=this.title,e.repeatCount=this.repeatCount,e.id=this.id,e}}exports.JsonValueKind=void 0;(function(t){t.Undefined="Undefined",t.Object="Object",t.Array="Array",t.String="String",t.Number="Number",t.True="True",t.False="False",t.Null="Null"})(exports.JsonValueKind||(exports.JsonValueKind={}));class Ri{valueKind;constructor(e){if(e)for(var n in e)e.hasOwnProperty(n)&&(this[n]=e[n])}init(e){e&&(this.valueKind=e.valueKind)}static fromJS(e){e=typeof e=="object"?e:{};let n=new Ri;return n.init(e),n}toJSON(e){return e=typeof e=="object"?e:{},e.valueKind=this.valueKind,e}}class Wr{clientId;clientSecret;consentType;displayName;displayNames;permissions;postLogoutRedirectUris;properties;redirectUris;requirements;type;constructor(e){if(e)for(var n in e)e.hasOwnProperty(n)&&(this[n]=e[n])}init(e){if(e){if(this.clientId=e.clientId,this.clientSecret=e.clientSecret,this.consentType=e.consentType,this.displayName=e.displayName,e.displayNames){this.displayNames={};for(let n in e.displayNames)e.displayNames.hasOwnProperty(n)&&(this.displayNames[n]=e.displayNames[n])}if(Array.isArray(e.permissions)){this.permissions=[];for(let n of e.permissions)this.permissions.push(n)}if(Array.isArray(e.postLogoutRedirectUris)){this.postLogoutRedirectUris=[];for(let n of e.postLogoutRedirectUris)this.postLogoutRedirectUris.push(n)}if(e.properties){this.properties={};for(let n in e.properties)e.properties.hasOwnProperty(n)&&(this.properties[n]=e.properties[n]?Ri.fromJS(e.properties[n]):new Ri)}if(Array.isArray(e.redirectUris)){this.redirectUris=[];for(let n of e.redirectUris)this.redirectUris.push(n)}if(Array.isArray(e.requirements)){this.requirements=[];for(let n of e.requirements)this.requirements.push(n)}this.type=e.type}}static fromJS(e){e=typeof e=="object"?e:{};let n=new Wr;return n.init(e),n}toJSON(e){if(e=typeof e=="object"?e:{},e.clientId=this.clientId,e.clientSecret=this.clientSecret,e.consentType=this.consentType,e.displayName=this.displayName,this.displayNames){e.displayNames={};for(let n in this.displayNames)this.displayNames.hasOwnProperty(n)&&(e.displayNames[n]=this.displayNames[n])}if(Array.isArray(this.permissions)){e.permissions=[];for(let n of this.permissions)e.permissions.push(n)}if(Array.isArray(this.postLogoutRedirectUris)){e.postLogoutRedirectUris=[];for(let n of this.postLogoutRedirectUris)e.postLogoutRedirectUris.push(n)}if(this.properties){e.properties={};for(let n in this.properties)this.properties.hasOwnProperty(n)&&(e.properties[n]=this.properties[n]?this.properties[n].toJSON():void 0)}if(Array.isArray(this.redirectUris)){e.redirectUris=[];for(let n of this.redirectUris)e.redirectUris.push(n)}if(Array.isArray(this.requirements)){e.requirements=[];for(let n of this.requirements)e.requirements.push(n)}return e.type=this.type,e}}class hc{responseGroup;objectType;objectTypes;objectIds;keyword;searchPhrase;languageCode;sort;sortInfos;skip;take;constructor(e){if(e)for(var n in e)e.hasOwnProperty(n)&&(this[n]=e[n])}init(e){if(e){if(this.responseGroup=e.responseGroup,this.objectType=e.objectType,Array.isArray(e.objectTypes)){this.objectTypes=[];for(let n of e.objectTypes)this.objectTypes.push(n)}if(Array.isArray(e.objectIds)){this.objectIds=[];for(let n of e.objectIds)this.objectIds.push(n)}if(this.keyword=e.keyword,this.searchPhrase=e.searchPhrase,this.languageCode=e.languageCode,this.sort=e.sort,Array.isArray(e.sortInfos)){this.sortInfos=[];for(let n of e.sortInfos)this.sortInfos.push(on.fromJS(n))}this.skip=e.skip,this.take=e.take}}static fromJS(e){e=typeof e=="object"?e:{};let n=new hc;return n.init(e),n}toJSON(e){if(e=typeof e=="object"?e:{},e.responseGroup=this.responseGroup,e.objectType=this.objectType,Array.isArray(this.objectTypes)){e.objectTypes=[];for(let n of this.objectTypes)e.objectTypes.push(n)}if(Array.isArray(this.objectIds)){e.objectIds=[];for(let n of this.objectIds)e.objectIds.push(n)}if(e.keyword=this.keyword,e.searchPhrase=this.searchPhrase,e.languageCode=this.languageCode,e.sort=this.sort,Array.isArray(this.sortInfos)){e.sortInfos=[];for(let n of this.sortInfos)e.sortInfos.push(n.toJSON())}return e.skip=this.skip,e.take=this.take,e}}class Do{totalCount;results;constructor(e){if(e)for(var n in e)e.hasOwnProperty(n)&&(this[n]=e[n])}init(e){if(e&&(this.totalCount=e.totalCount,Array.isArray(e.results))){this.results=[];for(let n of e.results)this.results.push(Wr.fromJS(n))}}static fromJS(e){e=typeof e=="object"?e:{};let n=new Do;return n.init(e),n}toJSON(e){if(e=typeof e=="object"?e:{},e.totalCount=this.totalCount,Array.isArray(this.results)){e.results=[];for(let n of this.results)e.results.push(n.toJSON())}return e}}class dc{ids;onlyNew;startDate;endDate;responseGroup;objectType;objectTypes;objectIds;keyword;searchPhrase;languageCode;sort;sortInfos;skip;take;constructor(e){if(e)for(var n in e)e.hasOwnProperty(n)&&(this[n]=e[n])}init(e){if(e){if(Array.isArray(e.ids)){this.ids=[];for(let n of e.ids)this.ids.push(n)}if(this.onlyNew=e.onlyNew,this.startDate=e.startDate?new Date(e.startDate.toString()):void 0,this.endDate=e.endDate?new Date(e.endDate.toString()):void 0,this.responseGroup=e.responseGroup,this.objectType=e.objectType,Array.isArray(e.objectTypes)){this.objectTypes=[];for(let n of e.objectTypes)this.objectTypes.push(n)}if(Array.isArray(e.objectIds)){this.objectIds=[];for(let n of e.objectIds)this.objectIds.push(n)}if(this.keyword=e.keyword,this.searchPhrase=e.searchPhrase,this.languageCode=e.languageCode,this.sort=e.sort,Array.isArray(e.sortInfos)){this.sortInfos=[];for(let n of e.sortInfos)this.sortInfos.push(on.fromJS(n))}this.skip=e.skip,this.take=e.take}}static fromJS(e){e=typeof e=="object"?e:{};let n=new dc;return n.init(e),n}toJSON(e){if(e=typeof e=="object"?e:{},Array.isArray(this.ids)){e.ids=[];for(let n of this.ids)e.ids.push(n)}if(e.onlyNew=this.onlyNew,e.startDate=this.startDate?this.startDate.toISOString():void 0,e.endDate=this.endDate?this.endDate.toISOString():void 0,e.responseGroup=this.responseGroup,e.objectType=this.objectType,Array.isArray(this.objectTypes)){e.objectTypes=[];for(let n of this.objectTypes)e.objectTypes.push(n)}if(Array.isArray(this.objectIds)){e.objectIds=[];for(let n of this.objectIds)e.objectIds.push(n)}if(e.keyword=this.keyword,e.searchPhrase=this.searchPhrase,e.languageCode=this.languageCode,e.sort=this.sort,Array.isArray(this.sortInfos)){e.sortInfos=[];for(let n of this.sortInfos)e.sortInfos.push(n.toJSON())}return e.skip=this.skip,e.take=this.take,e}}class Po{serverId;creator;created;isNew;notifyType;description;title;repeatCount;id;constructor(e){if(e)for(var n in e)e.hasOwnProperty(n)&&(this[n]=e[n])}init(e){e&&(this.serverId=e.serverId,this.creator=e.creator,this.created=e.created?new Date(e.created.toString()):void 0,this.isNew=e.isNew,this.notifyType=e.notifyType,this.description=e.description,this.title=e.title,this.repeatCount=e.repeatCount,this.id=e.id)}static fromJS(e){e=typeof e=="object"?e:{};let n=new Po;return n.init(e),n}toJSON(e){return e=typeof e=="object"?e:{},e.serverId=this.serverId,e.creator=this.creator,e.created=this.created?this.created.toISOString():void 0,e.isNew=this.isNew,e.notifyType=this.notifyType,e.description=this.description,e.title=this.title,e.repeatCount=this.repeatCount,e.id=this.id,e}}class Ni{totalCount;newCount;notifyEvents;constructor(e){if(e)for(var n in e)e.hasOwnProperty(n)&&(this[n]=e[n])}init(e){if(e&&(this.totalCount=e.totalCount,this.newCount=e.newCount,Array.isArray(e.notifyEvents))){this.notifyEvents=[];for(let n of e.notifyEvents)this.notifyEvents.push(Po.fromJS(n))}}static fromJS(e){e=typeof e=="object"?e:{};let n=new Ni;return n.init(e),n}toJSON(e){if(e=typeof e=="object"?e:{},e.totalCount=this.totalCount,e.newCount=this.newCount,Array.isArray(this.notifyEvents)){e.notifyEvents=[];for(let n of this.notifyEvents)e.notifyEvents.push(n.toJSON())}return e}}class fc{userName;password;rememberMe;constructor(e){if(e)for(var n in e)e.hasOwnProperty(n)&&(this[n]=e[n])}init(e){e&&(this.userName=e.userName,this.password=e.password,this.rememberMe=e.rememberMe)}static fromJS(e){e=typeof e=="object"?e:{};let n=new fc;return n.init(e),n}toJSON(e){return e=typeof e=="object"?e:{},e.userName=this.userName,e.password=this.password,e.rememberMe=this.rememberMe,e}}class Bo{succeeded;isLockedOut;isNotAllowed;requiresTwoFactor;constructor(e){if(e)for(var n in e)e.hasOwnProperty(n)&&(this[n]=e[n])}init(e){e&&(this.succeeded=e.succeeded,this.isLockedOut=e.isLockedOut,this.isNotAllowed=e.isNotAllowed,this.requiresTwoFactor=e.requiresTwoFactor)}static fromJS(e){e=typeof e=="object"?e:{};let n=new Bo;return n.init(e),n}toJSON(e){return e=typeof e=="object"?e:{},e.succeeded=this.succeeded,e.isLockedOut=this.isLockedOut,e.isNotAllowed=this.isNotAllowed,e.requiresTwoFactor=this.requiresTwoFactor,e}}class Fo{permissions;userName;isAdministrator;passwordExpired;daysTillPasswordExpiry;id;constructor(e){if(e)for(var n in e)e.hasOwnProperty(n)&&(this[n]=e[n])}init(e){if(e){if(Array.isArray(e.permissions)){this.permissions=[];for(let n of e.permissions)this.permissions.push(n)}this.userName=e.userName,this.isAdministrator=e.isAdministrator,this.passwordExpired=e.passwordExpired,this.daysTillPasswordExpiry=e.daysTillPasswordExpiry,this.id=e.id}}static fromJS(e){e=typeof e=="object"?e:{};let n=new Fo;return n.init(e),n}toJSON(e){if(e=typeof e=="object"?e:{},Array.isArray(this.permissions)){e.permissions=[];for(let n of this.permissions)e.permissions.push(n)}return e.userName=this.userName,e.isAdministrator=this.isAdministrator,e.passwordExpired=this.passwordExpired,e.daysTillPasswordExpiry=this.daysTillPasswordExpiry,e.id=this.id,e}}class Ii{authenticationType;isAuthenticated;actor;bootstrapContext;claims;label;name;nameClaimType;roleClaimType;constructor(e){if(e)for(var n in e)e.hasOwnProperty(n)&&(this[n]=e[n])}init(e){if(e){if(this.authenticationType=e.authenticationType,this.isAuthenticated=e.isAuthenticated,this.actor=e.actor?Ii.fromJS(e.actor):void 0,this.bootstrapContext=e.bootstrapContext,Array.isArray(e.claims)){this.claims=[];for(let n of e.claims)this.claims.push(ss.fromJS(n))}this.label=e.label,this.name=e.name,this.nameClaimType=e.nameClaimType,this.roleClaimType=e.roleClaimType}}static fromJS(e){e=typeof e=="object"?e:{};let n=new Ii;return n.init(e),n}toJSON(e){if(e=typeof e=="object"?e:{},e.authenticationType=this.authenticationType,e.isAuthenticated=this.isAuthenticated,e.actor=this.actor?this.actor.toJSON():void 0,e.bootstrapContext=this.bootstrapContext,Array.isArray(this.claims)){e.claims=[];for(let n of this.claims)e.claims.push(n.toJSON())}return e.label=this.label,e.name=this.name,e.nameClaimType=this.nameClaimType,e.roleClaimType=this.roleClaimType,e}}class ss{issuer;originalIssuer;properties;subject;type;value;valueType;constructor(e){if(e)for(var n in e)e.hasOwnProperty(n)&&(this[n]=e[n])}init(e){if(e){if(this.issuer=e.issuer,this.originalIssuer=e.originalIssuer,e.properties){this.properties={};for(let n in e.properties)e.properties.hasOwnProperty(n)&&(this.properties[n]=e.properties[n])}this.subject=e.subject?Ii.fromJS(e.subject):void 0,this.type=e.type,this.value=e.value,this.valueType=e.valueType}}static fromJS(e){e=typeof e=="object"?e:{};let n=new ss;return n.init(e),n}toJSON(e){if(e=typeof e=="object"?e:{},e.issuer=this.issuer,e.originalIssuer=this.originalIssuer,this.properties){e.properties={};for(let n in this.properties)this.properties.hasOwnProperty(n)&&(e.properties[n]=this.properties[n])}return e.subject=this.subject?this.subject.toJSON():void 0,e.type=this.type,e.value=this.value,e.valueType=this.valueType,e}}class Di{type;label;scope;constructor(e){if(e)for(var n in e)e.hasOwnProperty(n)&&(this[n]=e[n])}init(e){e&&(this.type=e.type,this.label=e.label,this.scope=e.scope)}static fromJS(e){e=typeof e=="object"?e:{};let n=new Di;return n.init(e),n}toJSON(e){return e=typeof e=="object"?e:{},e.type=this.type,e.label=this.label,e.scope=this.scope,e}}class os{id;name;moduleId;groupName;assignedScopes;availableScopes;constructor(e){if(e)for(var n in e)e.hasOwnProperty(n)&&(this[n]=e[n])}init(e){if(e){if(this.id=e.id,this.name=e.name,this.moduleId=e.moduleId,this.groupName=e.groupName,Array.isArray(e.assignedScopes)){this.assignedScopes=[];for(let n of e.assignedScopes)this.assignedScopes.push(Di.fromJS(n))}if(Array.isArray(e.availableScopes)){this.availableScopes=[];for(let n of e.availableScopes)this.availableScopes.push(Di.fromJS(n))}}}static fromJS(e){e=typeof e=="object"?e:{};let n=new os;return n.init(e),n}toJSON(e){if(e=typeof e=="object"?e:{},e.id=this.id,e.name=this.name,e.moduleId=this.moduleId,e.groupName=this.groupName,Array.isArray(this.assignedScopes)){e.assignedScopes=[];for(let n of this.assignedScopes)e.assignedScopes.push(n.toJSON())}if(Array.isArray(this.availableScopes)){e.availableScopes=[];for(let n of this.availableScopes)e.availableScopes.push(n.toJSON())}return e}}class mc{responseGroup;objectType;objectTypes;objectIds;keyword;searchPhrase;languageCode;sort;sortInfos;skip;take;constructor(e){if(e)for(var n in e)e.hasOwnProperty(n)&&(this[n]=e[n])}init(e){if(e){if(this.responseGroup=e.responseGroup,this.objectType=e.objectType,Array.isArray(e.objectTypes)){this.objectTypes=[];for(let n of e.objectTypes)this.objectTypes.push(n)}if(Array.isArray(e.objectIds)){this.objectIds=[];for(let n of e.objectIds)this.objectIds.push(n)}if(this.keyword=e.keyword,this.searchPhrase=e.searchPhrase,this.languageCode=e.languageCode,this.sort=e.sort,Array.isArray(e.sortInfos)){this.sortInfos=[];for(let n of e.sortInfos)this.sortInfos.push(on.fromJS(n))}this.skip=e.skip,this.take=e.take}}static fromJS(e){e=typeof e=="object"?e:{};let n=new mc;return n.init(e),n}toJSON(e){if(e=typeof e=="object"?e:{},e.responseGroup=this.responseGroup,e.objectType=this.objectType,Array.isArray(this.objectTypes)){e.objectTypes=[];for(let n of this.objectTypes)e.objectTypes.push(n)}if(Array.isArray(this.objectIds)){e.objectIds=[];for(let n of this.objectIds)e.objectIds.push(n)}if(e.keyword=this.keyword,e.searchPhrase=this.searchPhrase,e.languageCode=this.languageCode,e.sort=this.sort,Array.isArray(this.sortInfos)){e.sortInfos=[];for(let n of this.sortInfos)e.sortInfos.push(n.toJSON())}return e.skip=this.skip,e.take=this.take,e}}class pc{userId;roleId;constructor(e){if(e)for(var n in e)e.hasOwnProperty(n)&&(this[n]=e[n])}init(e){e&&(this.userId=e.userId,this.roleId=e.roleId)}static fromJS(e){e=typeof e=="object"?e:{};let n=new pc;return n.init(e),n}toJSON(e){return e=typeof e=="object"?e:{},e.userId=this.userId,e.roleId=this.roleId,e}}class hr{description;permissions;id;name;normalizedName;concurrencyStamp;constructor(e){if(e)for(var n in e)e.hasOwnProperty(n)&&(this[n]=e[n])}init(e){if(e){if(this.description=e.description,Array.isArray(e.permissions)){this.permissions=[];for(let n of e.permissions)this.permissions.push(os.fromJS(n))}this.id=e.id,this.name=e.name,this.normalizedName=e.normalizedName,this.concurrencyStamp=e.concurrencyStamp}}static fromJS(e){e=typeof e=="object"?e:{};let n=new hr;return n.init(e),n}toJSON(e){if(e=typeof e=="object"?e:{},e.description=this.description,Array.isArray(this.permissions)){e.permissions=[];for(let n of this.permissions)e.permissions.push(n.toJSON())}return e.id=this.id,e.name=this.name,e.normalizedName=this.normalizedName,e.concurrencyStamp=this.concurrencyStamp,e}}class Vo{roles;totalCount;results;constructor(e){if(e)for(var n in e)e.hasOwnProperty(n)&&(this[n]=e[n])}init(e){if(e){if(Array.isArray(e.roles)){this.roles=[];for(let n of e.roles)this.roles.push(hr.fromJS(n))}if(this.totalCount=e.totalCount,Array.isArray(e.results)){this.results=[];for(let n of e.results)this.results.push(hr.fromJS(n))}}}static fromJS(e){e=typeof e=="object"?e:{};let n=new Vo;return n.init(e),n}toJSON(e){if(e=typeof e=="object"?e:{},Array.isArray(this.roles)){e.roles=[];for(let n of this.roles)e.roles.push(n.toJSON())}if(e.totalCount=this.totalCount,Array.isArray(this.results)){e.results=[];for(let n of this.results)e.results.push(n.toJSON())}return e}}class Lt{succeeded;errors;constructor(e){if(e)for(var n in e)e.hasOwnProperty(n)&&(this[n]=e[n])}init(e){if(e&&(this.succeeded=e.succeeded,Array.isArray(e.errors))){this.errors=[];for(let n of e.errors)this.errors.push(n)}}static fromJS(e){e=typeof e=="object"?e:{};let n=new Lt;return n.init(e),n}toJSON(e){if(e=typeof e=="object"?e:{},e.succeeded=this.succeeded,Array.isArray(this.errors)){e.errors=[];for(let n of this.errors)e.errors.push(n)}return e}}class gc{memberId;memberIds;modifiedSinceDate;roles;responseGroup;objectType;objectTypes;objectIds;keyword;searchPhrase;languageCode;sort;sortInfos;skip;take;constructor(e){if(e)for(var n in e)e.hasOwnProperty(n)&&(this[n]=e[n])}init(e){if(e){if(this.memberId=e.memberId,Array.isArray(e.memberIds)){this.memberIds=[];for(let n of e.memberIds)this.memberIds.push(n)}if(this.modifiedSinceDate=e.modifiedSinceDate?new Date(e.modifiedSinceDate.toString()):void 0,Array.isArray(e.roles)){this.roles=[];for(let n of e.roles)this.roles.push(n)}if(this.responseGroup=e.responseGroup,this.objectType=e.objectType,Array.isArray(e.objectTypes)){this.objectTypes=[];for(let n of e.objectTypes)this.objectTypes.push(n)}if(Array.isArray(e.objectIds)){this.objectIds=[];for(let n of e.objectIds)this.objectIds.push(n)}if(this.keyword=e.keyword,this.searchPhrase=e.searchPhrase,this.languageCode=e.languageCode,this.sort=e.sort,Array.isArray(e.sortInfos)){this.sortInfos=[];for(let n of e.sortInfos)this.sortInfos.push(on.fromJS(n))}this.skip=e.skip,this.take=e.take}}static fromJS(e){e=typeof e=="object"?e:{};let n=new gc;return n.init(e),n}toJSON(e){if(e=typeof e=="object"?e:{},e.memberId=this.memberId,Array.isArray(this.memberIds)){e.memberIds=[];for(let n of this.memberIds)e.memberIds.push(n)}if(e.modifiedSinceDate=this.modifiedSinceDate?this.modifiedSinceDate.toISOString():void 0,Array.isArray(this.roles)){e.roles=[];for(let n of this.roles)e.roles.push(n)}if(e.responseGroup=this.responseGroup,e.objectType=this.objectType,Array.isArray(this.objectTypes)){e.objectTypes=[];for(let n of this.objectTypes)e.objectTypes.push(n)}if(Array.isArray(this.objectIds)){e.objectIds=[];for(let n of this.objectIds)e.objectIds.push(n)}if(e.keyword=this.keyword,e.searchPhrase=this.searchPhrase,e.languageCode=this.languageCode,e.sort=this.sort,Array.isArray(this.sortInfos)){e.sortInfos=[];for(let n of this.sortInfos)e.sortInfos.push(n.toJSON())}return e.skip=this.skip,e.take=this.take,e}}exports.AccountState=void 0;(function(t){t.PendingApproval="PendingApproval",t.Approved="Approved",t.Rejected="Rejected"})(exports.AccountState||(exports.AccountState={}));class Uo{loginProvider;providerKey;constructor(e){if(e)for(var n in e)e.hasOwnProperty(n)&&(this[n]=e[n])}init(e){e&&(this.loginProvider=e.loginProvider,this.providerKey=e.providerKey)}static fromJS(e){e=typeof e=="object"?e:{};let n=new Uo;return n.init(e),n}toJSON(e){return e=typeof e=="object"?e:{},e.loginProvider=this.loginProvider,e.providerKey=this.providerKey,e}}class gn{storeId;memberId;isAdministrator;photoUrl;userType;status;password;createdDate;modifiedDate;createdBy;modifiedBy;roles;lockoutEndDateUtc;userState;permissions;logins;passwordExpired;lastPasswordChangedDate;lastPasswordChangeRequestDate;id;userName;normalizedUserName;email;normalizedEmail;emailConfirmed;passwordHash;securityStamp;concurrencyStamp;phoneNumber;phoneNumberConfirmed;twoFactorEnabled;lockoutEnd;lockoutEnabled;accessFailedCount;constructor(e){if(e)for(var n in e)e.hasOwnProperty(n)&&(this[n]=e[n])}init(e){if(e){if(this.storeId=e.storeId,this.memberId=e.memberId,this.isAdministrator=e.isAdministrator,this.photoUrl=e.photoUrl,this.userType=e.userType,this.status=e.status,this.password=e.password,this.createdDate=e.createdDate?new Date(e.createdDate.toString()):void 0,this.modifiedDate=e.modifiedDate?new Date(e.modifiedDate.toString()):void 0,this.createdBy=e.createdBy,this.modifiedBy=e.modifiedBy,Array.isArray(e.roles)){this.roles=[];for(let n of e.roles)this.roles.push(hr.fromJS(n))}if(this.lockoutEndDateUtc=e.lockoutEndDateUtc?new Date(e.lockoutEndDateUtc.toString()):void 0,this.userState=e.userState,Array.isArray(e.permissions)){this.permissions=[];for(let n of e.permissions)this.permissions.push(n)}if(Array.isArray(e.logins)){this.logins=[];for(let n of e.logins)this.logins.push(Uo.fromJS(n))}this.passwordExpired=e.passwordExpired,this.lastPasswordChangedDate=e.lastPasswordChangedDate?new Date(e.lastPasswordChangedDate.toString()):void 0,this.lastPasswordChangeRequestDate=e.lastPasswordChangeRequestDate?new Date(e.lastPasswordChangeRequestDate.toString()):void 0,this.id=e.id,this.userName=e.userName,this.normalizedUserName=e.normalizedUserName,this.email=e.email,this.normalizedEmail=e.normalizedEmail,this.emailConfirmed=e.emailConfirmed,this.passwordHash=e.passwordHash,this.securityStamp=e.securityStamp,this.concurrencyStamp=e.concurrencyStamp,this.phoneNumber=e.phoneNumber,this.phoneNumberConfirmed=e.phoneNumberConfirmed,this.twoFactorEnabled=e.twoFactorEnabled,this.lockoutEnd=e.lockoutEnd?new Date(e.lockoutEnd.toString()):void 0,this.lockoutEnabled=e.lockoutEnabled,this.accessFailedCount=e.accessFailedCount}}static fromJS(e){e=typeof e=="object"?e:{};let n=new gn;return n.init(e),n}toJSON(e){if(e=typeof e=="object"?e:{},e.storeId=this.storeId,e.memberId=this.memberId,e.isAdministrator=this.isAdministrator,e.photoUrl=this.photoUrl,e.userType=this.userType,e.status=this.status,e.password=this.password,e.createdDate=this.createdDate?this.createdDate.toISOString():void 0,e.modifiedDate=this.modifiedDate?this.modifiedDate.toISOString():void 0,e.createdBy=this.createdBy,e.modifiedBy=this.modifiedBy,Array.isArray(this.roles)){e.roles=[];for(let n of this.roles)e.roles.push(n.toJSON())}if(e.lockoutEndDateUtc=this.lockoutEndDateUtc?this.lockoutEndDateUtc.toISOString():void 0,e.userState=this.userState,Array.isArray(this.permissions)){e.permissions=[];for(let n of this.permissions)e.permissions.push(n)}if(Array.isArray(this.logins)){e.logins=[];for(let n of this.logins)e.logins.push(n.toJSON())}return e.passwordExpired=this.passwordExpired,e.lastPasswordChangedDate=this.lastPasswordChangedDate?this.lastPasswordChangedDate.toISOString():void 0,e.lastPasswordChangeRequestDate=this.lastPasswordChangeRequestDate?this.lastPasswordChangeRequestDate.toISOString():void 0,e.id=this.id,e.userName=this.userName,e.normalizedUserName=this.normalizedUserName,e.email=this.email,e.normalizedEmail=this.normalizedEmail,e.emailConfirmed=this.emailConfirmed,e.passwordHash=this.passwordHash,e.securityStamp=this.securityStamp,e.concurrencyStamp=this.concurrencyStamp,e.phoneNumber=this.phoneNumber,e.phoneNumberConfirmed=this.phoneNumberConfirmed,e.twoFactorEnabled=this.twoFactorEnabled,e.lockoutEnd=this.lockoutEnd?this.lockoutEnd.toISOString():void 0,e.lockoutEnabled=this.lockoutEnabled,e.accessFailedCount=this.accessFailedCount,e}}class Wo{users;totalCount;results;constructor(e){if(e)for(var n in e)e.hasOwnProperty(n)&&(this[n]=e[n])}init(e){if(e){if(Array.isArray(e.users)){this.users=[];for(let n of e.users)this.users.push(gn.fromJS(n))}if(this.totalCount=e.totalCount,Array.isArray(e.results)){this.results=[];for(let n of e.results)this.results.push(gn.fromJS(n))}}}static fromJS(e){e=typeof e=="object"?e:{};let n=new Wo;return n.init(e),n}toJSON(e){if(e=typeof e=="object"?e:{},Array.isArray(this.users)){e.users=[];for(let n of this.users)e.users.push(n.toJSON())}if(e.totalCount=this.totalCount,Array.isArray(this.results)){e.results=[];for(let n of this.results)e.results.push(n.toJSON())}return e}}class vc{userName;oldPassword;newPassword;constructor(e){if(e)for(var n in e)e.hasOwnProperty(n)&&(this[n]=e[n])}init(e){e&&(this.userName=e.userName,this.oldPassword=e.oldPassword,this.newPassword=e.newPassword)}static fromJS(e){e=typeof e=="object"?e:{};let n=new vc;return n.init(e),n}toJSON(e){return e=typeof e=="object"?e:{},e.userName=this.userName,e.oldPassword=this.oldPassword,e.newPassword=this.newPassword,e}}class wc{token;newPassword;forcePasswordChangeOnNextSignIn;constructor(e){if(e)for(var n in e)e.hasOwnProperty(n)&&(this[n]=e[n])}init(e){e&&(this.token=e.token,this.newPassword=e.newPassword,this.forcePasswordChangeOnNextSignIn=e.forcePasswordChangeOnNextSignIn)}static fromJS(e){e=typeof e=="object"?e:{};let n=new wc;return n.init(e),n}toJSON(e){return e=typeof e=="object"?e:{},e.token=this.token,e.newPassword=this.newPassword,e.forcePasswordChangeOnNextSignIn=this.forcePasswordChangeOnNextSignIn,e}}class yc{token;constructor(e){if(e)for(var n in e)e.hasOwnProperty(n)&&(this[n]=e[n])}init(e){e&&(this.token=e.token)}static fromJS(e){e=typeof e=="object"?e:{};let n=new yc;return n.init(e),n}toJSON(e){return e=typeof e=="object"?e:{},e.token=this.token,e}}class Ho{code;description;constructor(e){if(e)for(var n in e)e.hasOwnProperty(n)&&(this[n]=e[n])}init(e){e&&(this.code=e.code,this.description=e.description)}static fromJS(e){e=typeof e=="object"?e:{};let n=new Ho;return n.init(e),n}toJSON(e){return e=typeof e=="object"?e:{},e.code=this.code,e.description=this.description,e}}class Pi{succeeded;errors;constructor(e){if(e)for(var n in e)e.hasOwnProperty(n)&&(this[n]=e[n])}init(e){if(e&&(this.succeeded=e.succeeded,Array.isArray(e.errors))){this.errors=[];for(let n of e.errors)this.errors.push(Ho.fromJS(n))}}static fromJS(e){e=typeof e=="object"?e:{};let n=new Pi;return n.init(e),n}toJSON(e){if(e=typeof e=="object"?e:{},e.succeeded=this.succeeded,Array.isArray(this.errors)){e.errors=[];for(let n of this.errors)e.errors.push(n.toJSON())}return e}}class jo{locked;constructor(e){if(e)for(var n in e)e.hasOwnProperty(n)&&(this[n]=e[n])}init(e){e&&(this.locked=e.locked)}static fromJS(e){e=typeof e=="object"?e:{};let n=new jo;return n.init(e),n}toJSON(e){return e=typeof e=="object"?e:{},e.locked=this.locked,e}}class nr{apiKey;userName;userId;isActive;createdDate;modifiedDate;createdBy;modifiedBy;id;constructor(e){if(e)for(var n in e)e.hasOwnProperty(n)&&(this[n]=e[n])}init(e){e&&(this.apiKey=e.apiKey,this.userName=e.userName,this.userId=e.userId,this.isActive=e.isActive,this.createdDate=e.createdDate?new Date(e.createdDate.toString()):void 0,this.modifiedDate=e.modifiedDate?new Date(e.modifiedDate.toString()):void 0,this.createdBy=e.createdBy,this.modifiedBy=e.modifiedBy,this.id=e.id)}static fromJS(e){e=typeof e=="object"?e:{};let n=new nr;return n.init(e),n}toJSON(e){return e=typeof e=="object"?e:{},e.apiKey=this.apiKey,e.userName=this.userName,e.userId=this.userId,e.isActive=this.isActive,e.createdDate=this.createdDate?this.createdDate.toISOString():void 0,e.modifiedDate=this.modifiedDate?this.modifiedDate.toISOString():void 0,e.createdBy=this.createdBy,e.modifiedBy=this.modifiedBy,e.id=this.id,e}}exports.SettingValueType=void 0;(function(t){t.ShortText="ShortText",t.LongText="LongText",t.Integer="Integer",t.Decimal="Decimal",t.DateTime="DateTime",t.Boolean="Boolean",t.SecureString="SecureString",t.Json="Json",t.PositiveInteger="PositiveInteger"})(exports.SettingValueType||(exports.SettingValueType={}));class rr{itHasValues;objectId;objectType;isReadOnly;value;id;restartRequired;moduleId;groupName;name;displayName;isRequired;isHidden;valueType;allowedValues;defaultValue;isDictionary;constructor(e){if(e)for(var n in e)e.hasOwnProperty(n)&&(this[n]=e[n])}init(e){if(e){if(this.itHasValues=e.itHasValues,this.objectId=e.objectId,this.objectType=e.objectType,this.isReadOnly=e.isReadOnly,this.value=e.value,this.id=e.id,this.restartRequired=e.restartRequired,this.moduleId=e.moduleId,this.groupName=e.groupName,this.name=e.name,this.displayName=e.displayName,this.isRequired=e.isRequired,this.isHidden=e.isHidden,this.valueType=e.valueType,Array.isArray(e.allowedValues)){this.allowedValues=[];for(let n of e.allowedValues)this.allowedValues.push(n)}this.defaultValue=e.defaultValue,this.isDictionary=e.isDictionary}}static fromJS(e){e=typeof e=="object"?e:{};let n=new rr;return n.init(e),n}toJSON(e){if(e=typeof e=="object"?e:{},e.itHasValues=this.itHasValues,e.objectId=this.objectId,e.objectType=this.objectType,e.isReadOnly=this.isReadOnly,e.value=this.value,e.id=this.id,e.restartRequired=this.restartRequired,e.moduleId=this.moduleId,e.groupName=this.groupName,e.name=this.name,e.displayName=this.displayName,e.isRequired=this.isRequired,e.isHidden=this.isHidden,e.valueType=this.valueType,Array.isArray(this.allowedValues)){e.allowedValues=[];for(let n of this.allowedValues)e.allowedValues.push(n)}return e.defaultValue=this.defaultValue,e.isDictionary=this.isDictionary,e}}class bc{grant_type;scope;username;password;constructor(e){if(e)for(var n in e)e.hasOwnProperty(n)&&(this[n]=e[n])}init(e){e&&(this.grant_type=e.grant_type,this.scope=e.scope,this.username=e.username,this.password=e.password)}static fromJS(e){e=typeof e=="object"?e:{};let n=new bc;return n.init(e),n}toJSON(e){return e=typeof e=="object"?e:{},e.grant_type=this.grant_type,e.scope=this.scope,e.username=this.username,e.password=this.password,e}}exports.SortInfoSortDirection=void 0;(function(t){t.Ascending="Ascending",t.Descending="Descending"})(exports.SortInfoSortDirection||(exports.SortInfoSortDirection={}));exports.OperationLogOperationType=void 0;(function(t){t.Detached="Detached",t.Unchanged="Unchanged",t.Added="Added",t.Deleted="Deleted",t.Modified="Modified"})(exports.OperationLogOperationType||(exports.OperationLogOperationType={}));exports.DynamicPropertyValueType2=void 0;(function(t){t.Undefined="Undefined",t.ShortText="ShortText",t.LongText="LongText",t.Integer="Integer",t.Decimal="Decimal",t.DateTime="DateTime",t.Boolean="Boolean",t.Html="Html",t.Image="Image"})(exports.DynamicPropertyValueType2||(exports.DynamicPropertyValueType2={}));exports.DynamicPropertyObjectValueValueType=void 0;(function(t){t.Undefined="Undefined",t.ShortText="ShortText",t.LongText="LongText",t.Integer="Integer",t.Decimal="Decimal",t.DateTime="DateTime",t.Boolean="Boolean",t.Html="Html",t.Image="Image"})(exports.DynamicPropertyObjectValueValueType||(exports.DynamicPropertyObjectValueValueType={}));exports.DynamicObjectPropertyValueType=void 0;(function(t){t.Undefined="Undefined",t.ShortText="ShortText",t.LongText="LongText",t.Integer="Integer",t.Decimal="Decimal",t.DateTime="DateTime",t.Boolean="Boolean",t.Html="Html",t.Image="Image"})(exports.DynamicObjectPropertyValueType||(exports.DynamicObjectPropertyValueType={}));exports.ProgressMessageLevel2=void 0;(function(t){t.Info="Info",t.Warning="Warning",t.Debug="Debug",t.Error="Error"})(exports.ProgressMessageLevel2||(exports.ProgressMessageLevel2={}));exports.JsonElementValueKind=void 0;(function(t){t.Undefined="Undefined",t.Object="Object",t.Array="Array",t.String="String",t.Number="Number",t.True="True",t.False="False",t.Null="Null"})(exports.JsonElementValueKind||(exports.JsonElementValueKind={}));exports.ApplicationUserUserState=void 0;(function(t){t.PendingApproval="PendingApproval",t.Approved="Approved",t.Rejected="Rejected"})(exports.ApplicationUserUserState||(exports.ApplicationUserUserState={}));exports.ObjectSettingEntryValueType=void 0;(function(t){t.ShortText="ShortText",t.LongText="LongText",t.Integer="Integer",t.Decimal="Decimal",t.DateTime="DateTime",t.Boolean="Boolean",t.SecureString="SecureString",t.Json="Json",t.PositiveInteger="PositiveInteger"})(exports.ObjectSettingEntryValueType||(exports.ObjectSettingEntryValueType={}));class Sf extends Error{message;status;response;headers;result;constructor(e,n,r,i,s){super(),this.message=e,this.status=n,this.response=r,this.headers=i,this.result=s}isApiException=!0;static isApiException(e){return e.isApiException===!0}}function F(t,e,n,r,i){throw i??new Sf(t,e,n,r,null)}const Xu="ls.authenticationData",Qr=l.ref(),Vt=l.ref(!1),ot=l.ref(),qu=new s0({accessTokenUri:"/connect/token",scopes:["offline_access"]}),br=new yf,zr=()=>{async function t(u,f){let p=!1;try{Vt.value=!0,p=await br.validatePasswordResetToken(u,{token:f})}catch{}finally{Vt.value=!1}return p}async function e(u){return br.validatePassword(u)}async function n(u,f,p){return br.resetPasswordByToken(u,{newPassword:f,token:p})}async function r(u,f){console.debug("[@vc-shell/framework#useUser:signIn] - Entry point");let p;try{Vt.value=!0,p=await qu.owner.getToken(u,f)}catch(g){return{succeeded:!1,error:g}}finally{Vt.value=!1}return p&&(ot.value={accessToken:p.accessToken,refreshToken:p.refreshToken,expiresAt:m(Number(p.data.expires_in)),userName:u},console.log("[userUsers]: an access token has been obtained successfully",ot.value),h(ot.value),await s()),{succeeded:!0}}async function i(){console.debug("[@vc-shell/framework#useUser:signOut] - Entry point"),Qr.value=void 0,ot.value=void 0,h({})}async function s(){console.debug("[@vc-shell/framework#useUser:loadUser] - Entry point");const u=await d();if(u){br.setAuthToken(u);try{Vt.value=!0,Qr.value=await br.getCurrentUser(),console.log("[userUsers]: an user details has been loaded",Qr.value)}catch(f){console.dir(f)}finally{Vt.value=!1}}return{...Qr.value}}async function d(){if(console.debug("[@vc-shell/framework#useUser:getAccessToken] - Entry point"),ot.value||(ot.value=c()),ot.value&&Date.now()>=(ot.value.expiresAt??0)){const u=qu.createToken(ot.value.accessToken??ot.value.token??"",ot.value.refreshToken??"",{});console.log("[userUsers]: an access token is expired, using refresh token to receive a new");try{const f=await u.refresh();f&&(ot.value={...ot.value,accessToken:f.accessToken,token:f.accessToken,refreshToken:f.refreshToken,expiresAt:m(Number(f.data.expires_in))},h(ot.value))}catch(f){console.log("[userUsers]: getAccessToken() returns error",f)}}return ot.value?.accessToken??ot.value?.token}function h(u){localStorage.setItem(Xu,JSON.stringify({...u||{}}))}function c(){return JSON.parse(localStorage.getItem(Xu)||"{}")}function m(u){return Date.now()+u*1e3}async function a(u){try{return Vt.value=!0,await br.requestPasswordReset(u),{succeeded:!0}}catch(f){return{succeeded:!1,error:f}}finally{Vt.value=!1}}async function o(u,f){const p=await d();let g;if(p)try{Vt.value=!0;const v=await fetch("/api/platform/security/currentuser/changepassword",{method:"POST",headers:{"Content-Type":"application/json-patch+json",Accept:"text/plain",authorization:`Bearer ${p}`},body:JSON.stringify({oldPassword:u,newPassword:f})});v.status!==500&&(g=await v.text().then(y=>JSON.parse(y)))}catch(v){return{succeeded:!1,errors:[v.message]}}finally{Vt.value=!1}return g}return{user:l.computed(()=>Qr.value),loading:l.computed(()=>Vt.value),getAccessToken:d,loadUser:s,signIn:r,signOut:i,validateToken:t,validatePassword:e,resetPasswordByToken:n,requestPasswordReset:a,changeUserPassword:o}};var v0=typeof global=="object"&&global&&global.Object===Object&&global;const xf=v0;var w0=typeof self=="object"&&self&&self.Object===Object&&self,y0=xf||w0||Function("return this")();const Cn=y0;var b0=Cn.Symbol;const zn=b0;var kf=Object.prototype,S0=kf.hasOwnProperty,x0=kf.toString,Zr=zn?zn.toStringTag:void 0;function k0(t){var e=S0.call(t,Zr),n=t[Zr];try{t[Zr]=void 0;var r=!0}catch{}var i=x0.call(t);return r&&(e?t[Zr]=n:delete t[Zr]),i}var C0=Object.prototype,E0=C0.toString;function _0(t){return E0.call(t)}var T0="[object Null]",A0="[object Undefined]",Qu=zn?zn.toStringTag:void 0;function Gr(t){return t==null?t===void 0?A0:T0:Qu&&Qu in Object(t)?k0(t):_0(t)}function dr(t){return t!=null&&typeof t=="object"}var $0="[object Symbol]";function Bi(t){return typeof t=="symbol"||dr(t)&&Gr(t)==$0}function $r(t,e){for(var n=-1,r=t==null?0:t.length,i=Array(r);++n<r;)i[n]=e(t[n],n,t);return i}var O0=Array.isArray;const Dt=O0;var L0=1/0,Zu=zn?zn.prototype:void 0,eh=Zu?Zu.toString:void 0;function Cf(t){if(typeof t=="string")return t;if(Dt(t))return $r(t,Cf)+"";if(Bi(t))return eh?eh.call(t):"";var e=t+"";return e=="0"&&1/t==-L0?"-0":e}function Sc(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}function zo(t){return t}var M0="[object AsyncFunction]",R0="[object Function]",N0="[object GeneratorFunction]",I0="[object Proxy]";function Ef(t){if(!Sc(t))return!1;var e=Gr(t);return e==R0||e==N0||e==M0||e==I0}var D0=Cn["__core-js_shared__"];const va=D0;var th=function(){var t=/[^.]+$/.exec(va&&va.keys&&va.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();function P0(t){return!!th&&th in t}var B0=Function.prototype,F0=B0.toString;function pr(t){if(t!=null){try{return F0.call(t)}catch{}try{return t+""}catch{}}return""}var V0=/[\\^$.*+?()[\]{}|]/g,U0=/^\[object .+?Constructor\]$/,W0=Function.prototype,H0=Object.prototype,j0=W0.toString,z0=H0.hasOwnProperty,G0=RegExp("^"+j0.call(z0).replace(V0,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Y0(t){if(!Sc(t)||P0(t))return!1;var e=Ef(t)?G0:U0;return e.test(pr(t))}function J0(t,e){return t?.[e]}function gr(t,e){var n=J0(t,e);return Y0(n)?n:void 0}var K0=gr(Cn,"WeakMap");const al=K0;function X0(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}var q0=800,Q0=16,Z0=Date.now;function eS(t){var e=0,n=0;return function(){var r=Z0(),i=Q0-(r-n);if(n=r,i>0){if(++e>=q0)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}function tS(t){return function(){return t}}var nS=function(){try{var t=gr(Object,"defineProperty");return t({},"",{}),t}catch{}}();const nh=nS;var rS=nh?function(t,e){return nh(t,"toString",{configurable:!0,enumerable:!1,value:tS(e),writable:!0})}:zo;const iS=rS;var sS=eS(iS);const oS=sS;function aS(t,e,n,r){for(var i=t.length,s=n+(r?1:-1);r?s--:++s<i;)if(e(t[s],s,t))return s;return-1}function lS(t){return t!==t}function cS(t,e,n){for(var r=n-1,i=t.length;++r<i;)if(t[r]===e)return r;return-1}function uS(t,e,n){return e===e?cS(t,e,n):aS(t,lS,n)}function hS(t,e){var n=t==null?0:t.length;return!!n&&uS(t,e,0)>-1}var dS=9007199254740991,fS=/^(?:0|[1-9]\d*)$/;function xc(t,e){var n=typeof t;return e=e??dS,!!e&&(n=="number"||n!="symbol"&&fS.test(t))&&t>-1&&t%1==0&&t<e}function _f(t,e){return t===e||t!==t&&e!==e}var rh=Math.max;function mS(t,e,n){return e=rh(e===void 0?t.length-1:e,0),function(){for(var r=arguments,i=-1,s=rh(r.length-e,0),d=Array(s);++i<s;)d[i]=r[e+i];i=-1;for(var h=Array(e+1);++i<e;)h[i]=r[i];return h[e]=n(d),X0(t,this,h)}}function pS(t,e){return oS(mS(t,e,zo),t+"")}var gS=9007199254740991;function kc(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=gS}function Go(t){return t!=null&&kc(t.length)&&!Ef(t)}var vS=Object.prototype;function wS(t){var e=t&&t.constructor,n=typeof e=="function"&&e.prototype||vS;return t===n}function yS(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}var bS="[object Arguments]";function ih(t){return dr(t)&&Gr(t)==bS}var Tf=Object.prototype,SS=Tf.hasOwnProperty,xS=Tf.propertyIsEnumerable,kS=ih(function(){return arguments}())?ih:function(t){return dr(t)&&SS.call(t,"callee")&&!xS.call(t,"callee")};const Af=kS;function CS(){return!1}var $f=typeof exports=="object"&&exports&&!exports.nodeType&&exports,sh=$f&&typeof module=="object"&&module&&!module.nodeType&&module,ES=sh&&sh.exports===$f,oh=ES?Cn.Buffer:void 0,_S=oh?oh.isBuffer:void 0,TS=_S||CS;const ll=TS;var AS="[object Arguments]",$S="[object Array]",OS="[object Boolean]",LS="[object Date]",MS="[object Error]",RS="[object Function]",NS="[object Map]",IS="[object Number]",DS="[object Object]",PS="[object RegExp]",BS="[object Set]",FS="[object String]",VS="[object WeakMap]",US="[object ArrayBuffer]",WS="[object DataView]",HS="[object Float32Array]",jS="[object Float64Array]",zS="[object Int8Array]",GS="[object Int16Array]",YS="[object Int32Array]",JS="[object Uint8Array]",KS="[object Uint8ClampedArray]",XS="[object Uint16Array]",qS="[object Uint32Array]",Be={};Be[HS]=Be[jS]=Be[zS]=Be[GS]=Be[YS]=Be[JS]=Be[KS]=Be[XS]=Be[qS]=!0;Be[AS]=Be[$S]=Be[US]=Be[OS]=Be[WS]=Be[LS]=Be[MS]=Be[RS]=Be[NS]=Be[IS]=Be[DS]=Be[PS]=Be[BS]=Be[FS]=Be[VS]=!1;function QS(t){return dr(t)&&kc(t.length)&&!!Be[Gr(t)]}function Cc(t){return function(e){return t(e)}}var Of=typeof exports=="object"&&exports&&!exports.nodeType&&exports,fi=Of&&typeof module=="object"&&module&&!module.nodeType&&module,ZS=fi&&fi.exports===Of,wa=ZS&&xf.process,ex=function(){try{var t=fi&&fi.require&&fi.require("util").types;return t||wa&&wa.binding&&wa.binding("util")}catch{}}();const ah=ex;var lh=ah&&ah.isTypedArray,tx=lh?Cc(lh):QS;const Lf=tx;var nx=Object.prototype,rx=nx.hasOwnProperty;function ix(t,e){var n=Dt(t),r=!n&&Af(t),i=!n&&!r&&ll(t),s=!n&&!r&&!i&&Lf(t),d=n||r||i||s,h=d?yS(t.length,String):[],c=h.length;for(var m in t)(e||rx.call(t,m))&&!(d&&(m=="length"||i&&(m=="offset"||m=="parent")||s&&(m=="buffer"||m=="byteLength"||m=="byteOffset")||xc(m,c)))&&h.push(m);return h}function sx(t,e){return function(n){return t(e(n))}}var ox=sx(Object.keys,Object);const ax=ox;var lx=Object.prototype,cx=lx.hasOwnProperty;function ux(t){if(!wS(t))return ax(t);var e=[];for(var n in Object(t))cx.call(t,n)&&n!="constructor"&&e.push(n);return e}function Ec(t){return Go(t)?ix(t):ux(t)}var hx=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,dx=/^\w*$/;function _c(t,e){if(Dt(t))return!1;var n=typeof t;return n=="number"||n=="symbol"||n=="boolean"||t==null||Bi(t)?!0:dx.test(t)||!hx.test(t)||e!=null&&t in Object(e)}var fx=gr(Object,"create");const Fi=fx;function mx(){this.__data__=Fi?Fi(null):{},this.size=0}function px(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}var gx="__lodash_hash_undefined__",vx=Object.prototype,wx=vx.hasOwnProperty;function yx(t){var e=this.__data__;if(Fi){var n=e[t];return n===gx?void 0:n}return wx.call(e,t)?e[t]:void 0}var bx=Object.prototype,Sx=bx.hasOwnProperty;function xx(t){var e=this.__data__;return Fi?e[t]!==void 0:Sx.call(e,t)}var kx="__lodash_hash_undefined__";function Cx(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=Fi&&e===void 0?kx:e,this}function fr(t){var e=-1,n=t==null?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}fr.prototype.clear=mx;fr.prototype.delete=px;fr.prototype.get=yx;fr.prototype.has=xx;fr.prototype.set=Cx;function Ex(){this.__data__=[],this.size=0}function Yo(t,e){for(var n=t.length;n--;)if(_f(t[n][0],e))return n;return-1}var _x=Array.prototype,Tx=_x.splice;function Ax(t){var e=this.__data__,n=Yo(e,t);if(n<0)return!1;var r=e.length-1;return n==r?e.pop():Tx.call(e,n,1),--this.size,!0}function $x(t){var e=this.__data__,n=Yo(e,t);return n<0?void 0:e[n][1]}function Ox(t){return Yo(this.__data__,t)>-1}function Lx(t,e){var n=this.__data__,r=Yo(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this}function En(t){var e=-1,n=t==null?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}En.prototype.clear=Ex;En.prototype.delete=Ax;En.prototype.get=$x;En.prototype.has=Ox;En.prototype.set=Lx;var Mx=gr(Cn,"Map");const Vi=Mx;function Rx(){this.size=0,this.__data__={hash:new fr,map:new(Vi||En),string:new fr}}function Nx(t){var e=typeof t;return e=="string"||e=="number"||e=="symbol"||e=="boolean"?t!=="__proto__":t===null}function Jo(t,e){var n=t.__data__;return Nx(e)?n[typeof e=="string"?"string":"hash"]:n.map}function Ix(t){var e=Jo(this,t).delete(t);return this.size-=e?1:0,e}function Dx(t){return Jo(this,t).get(t)}function Px(t){return Jo(this,t).has(t)}function Bx(t,e){var n=Jo(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this}function _n(t){var e=-1,n=t==null?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}_n.prototype.clear=Rx;_n.prototype.delete=Ix;_n.prototype.get=Dx;_n.prototype.has=Px;_n.prototype.set=Bx;var Fx="Expected a function";function Tc(t,e){if(typeof t!="function"||e!=null&&typeof e!="function")throw new TypeError(Fx);var n=function(){var r=arguments,i=e?e.apply(this,r):r[0],s=n.cache;if(s.has(i))return s.get(i);var d=t.apply(this,r);return n.cache=s.set(i,d)||s,d};return n.cache=new(Tc.Cache||_n),n}Tc.Cache=_n;var Vx=500;function Ux(t){var e=Tc(t,function(r){return n.size===Vx&&n.clear(),r}),n=e.cache;return e}var Wx=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Hx=/\\(\\)?/g,jx=Ux(function(t){var e=[];return t.charCodeAt(0)===46&&e.push(""),t.replace(Wx,function(n,r,i,s){e.push(i?s.replace(Hx,"$1"):r||n)}),e});const zx=jx;function Gx(t){return t==null?"":Cf(t)}function Ac(t,e){return Dt(t)?t:_c(t,e)?[t]:zx(Gx(t))}var Yx=1/0;function as(t){if(typeof t=="string"||Bi(t))return t;var e=t+"";return e=="0"&&1/t==-Yx?"-0":e}function Ko(t,e){e=Ac(e,t);for(var n=0,r=e.length;t!=null&&n<r;)t=t[as(e[n++])];return n&&n==r?t:void 0}function Jx(t,e,n){var r=t==null?void 0:Ko(t,e);return r===void 0?n:r}function Kx(t,e){for(var n=-1,r=e.length,i=t.length;++n<r;)t[i+n]=e[n];return t}function Xx(t,e,n){var r=-1,i=t.length;e<0&&(e=-e>i?0:i+e),n=n>i?i:n,n<0&&(n+=i),i=e>n?0:n-e>>>0,e>>>=0;for(var s=Array(i);++r<i;)s[r]=t[r+e];return s}function qx(){this.__data__=new En,this.size=0}function Qx(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n}function Zx(t){return this.__data__.get(t)}function ek(t){return this.__data__.has(t)}var tk=200;function nk(t,e){var n=this.__data__;if(n instanceof En){var r=n.__data__;if(!Vi||r.length<tk-1)return r.push([t,e]),this.size=++n.size,this;n=this.__data__=new _n(r)}return n.set(t,e),this.size=n.size,this}function yn(t){var e=this.__data__=new En(t);this.size=e.size}yn.prototype.clear=qx;yn.prototype.delete=Qx;yn.prototype.get=Zx;yn.prototype.has=ek;yn.prototype.set=nk;function rk(t,e){for(var n=-1,r=t==null?0:t.length,i=0,s=[];++n<r;){var d=t[n];e(d,n,t)&&(s[i++]=d)}return s}function ik(){return[]}var sk=Object.prototype,ok=sk.propertyIsEnumerable,ch=Object.getOwnPropertySymbols,ak=ch?function(t){return t==null?[]:(t=Object(t),rk(ch(t),function(e){return ok.call(t,e)}))}:ik;const lk=ak;function ck(t,e,n){var r=e(t);return Dt(t)?r:Kx(r,n(t))}function uh(t){return ck(t,Ec,lk)}var uk=gr(Cn,"DataView");const cl=uk;var hk=gr(Cn,"Promise");const ul=hk;var dk=gr(Cn,"Set");const hl=dk;var hh="[object Map]",fk="[object Object]",dh="[object Promise]",fh="[object Set]",mh="[object WeakMap]",ph="[object DataView]",mk=pr(cl),pk=pr(Vi),gk=pr(ul),vk=pr(hl),wk=pr(al),er=Gr;(cl&&er(new cl(new ArrayBuffer(1)))!=ph||Vi&&er(new Vi)!=hh||ul&&er(ul.resolve())!=dh||hl&&er(new hl)!=fh||al&&er(new al)!=mh)&&(er=function(t){var e=Gr(t),n=e==fk?t.constructor:void 0,r=n?pr(n):"";if(r)switch(r){case mk:return ph;case pk:return hh;case gk:return dh;case vk:return fh;case wk:return mh}return e});const gh=er;var yk=Cn.Uint8Array;const vh=yk;var bk="__lodash_hash_undefined__";function Sk(t){return this.__data__.set(t,bk),this}function xk(t){return this.__data__.has(t)}function Ui(t){var e=-1,n=t==null?0:t.length;for(this.__data__=new _n;++e<n;)this.add(t[e])}Ui.prototype.add=Ui.prototype.push=Sk;Ui.prototype.has=xk;function kk(t,e){for(var n=-1,r=t==null?0:t.length;++n<r;)if(e(t[n],n,t))return!0;return!1}function dl(t,e){return t.has(e)}var Ck=1,Ek=2;function Mf(t,e,n,r,i,s){var d=n&Ck,h=t.length,c=e.length;if(h!=c&&!(d&&c>h))return!1;var m=s.get(t),a=s.get(e);if(m&&a)return m==e&&a==t;var o=-1,u=!0,f=n&Ek?new Ui:void 0;for(s.set(t,e),s.set(e,t);++o<h;){var p=t[o],g=e[o];if(r)var v=d?r(g,p,o,e,t,s):r(p,g,o,t,e,s);if(v!==void 0){if(v)continue;u=!1;break}if(f){if(!kk(e,function(y,x){if(!dl(f,x)&&(p===y||i(p,y,n,r,s)))return f.push(x)})){u=!1;break}}else if(!(p===g||i(p,g,n,r,s))){u=!1;break}}return s.delete(t),s.delete(e),u}function _k(t){var e=-1,n=Array(t.size);return t.forEach(function(r,i){n[++e]=[i,r]}),n}function Tk(t){var e=-1,n=Array(t.size);return t.forEach(function(r){n[++e]=r}),n}var Ak=1,$k=2,Ok="[object Boolean]",Lk="[object Date]",Mk="[object Error]",Rk="[object Map]",Nk="[object Number]",Ik="[object RegExp]",Dk="[object Set]",Pk="[object String]",Bk="[object Symbol]",Fk="[object ArrayBuffer]",Vk="[object DataView]",wh=zn?zn.prototype:void 0,ya=wh?wh.valueOf:void 0;function Uk(t,e,n,r,i,s,d){switch(n){case Vk:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case Fk:return!(t.byteLength!=e.byteLength||!s(new vh(t),new vh(e)));case Ok:case Lk:case Nk:return _f(+t,+e);case Mk:return t.name==e.name&&t.message==e.message;case Ik:case Pk:return t==e+"";case Rk:var h=_k;case Dk:var c=r&Ak;if(h||(h=Tk),t.size!=e.size&&!c)return!1;var m=d.get(t);if(m)return m==e;r|=$k,d.set(t,e);var a=Mf(h(t),h(e),r,i,s,d);return d.delete(t),a;case Bk:if(ya)return ya.call(t)==ya.call(e)}return!1}var Wk=1,Hk=Object.prototype,jk=Hk.hasOwnProperty;function zk(t,e,n,r,i,s){var d=n&Wk,h=uh(t),c=h.length,m=uh(e),a=m.length;if(c!=a&&!d)return!1;for(var o=c;o--;){var u=h[o];if(!(d?u in e:jk.call(e,u)))return!1}var f=s.get(t),p=s.get(e);if(f&&p)return f==e&&p==t;var g=!0;s.set(t,e),s.set(e,t);for(var v=d;++o<c;){u=h[o];var y=t[u],x=e[u];if(r)var T=d?r(x,y,u,e,t,s):r(y,x,u,t,e,s);if(!(T===void 0?y===x||i(y,x,n,r,s):T)){g=!1;break}v||(v=u=="constructor")}if(g&&!v){var k=t.constructor,b=e.constructor;k!=b&&"constructor"in t&&"constructor"in e&&!(typeof k=="function"&&k instanceof k&&typeof b=="function"&&b instanceof b)&&(g=!1)}return s.delete(t),s.delete(e),g}var Gk=1,yh="[object Arguments]",bh="[object Array]",ys="[object Object]",Yk=Object.prototype,Sh=Yk.hasOwnProperty;function Jk(t,e,n,r,i,s){var d=Dt(t),h=Dt(e),c=d?bh:gh(t),m=h?bh:gh(e);c=c==yh?ys:c,m=m==yh?ys:m;var a=c==ys,o=m==ys,u=c==m;if(u&&ll(t)){if(!ll(e))return!1;d=!0,a=!1}if(u&&!a)return s||(s=new yn),d||Lf(t)?Mf(t,e,n,r,i,s):Uk(t,e,c,n,r,i,s);if(!(n&Gk)){var f=a&&Sh.call(t,"__wrapped__"),p=o&&Sh.call(e,"__wrapped__");if(f||p){var g=f?t.value():t,v=p?e.value():e;return s||(s=new yn),i(g,v,n,r,s)}}return u?(s||(s=new yn),zk(t,e,n,r,i,s)):!1}function Xo(t,e,n,r,i){return t===e?!0:t==null||e==null||!dr(t)&&!dr(e)?t!==t&&e!==e:Jk(t,e,n,r,Xo,i)}var Kk=1,Xk=2;function qk(t,e,n,r){var i=n.length,s=i,d=!r;if(t==null)return!s;for(t=Object(t);i--;){var h=n[i];if(d&&h[2]?h[1]!==t[h[0]]:!(h[0]in t))return!1}for(;++i<s;){h=n[i];var c=h[0],m=t[c],a=h[1];if(d&&h[2]){if(m===void 0&&!(c in t))return!1}else{var o=new yn;if(r)var u=r(m,a,c,t,e,o);if(!(u===void 0?Xo(a,m,Kk|Xk,r,o):u))return!1}}return!0}function Rf(t){return t===t&&!Sc(t)}function Qk(t){for(var e=Ec(t),n=e.length;n--;){var r=e[n],i=t[r];e[n]=[r,i,Rf(i)]}return e}function Nf(t,e){return function(n){return n==null?!1:n[t]===e&&(e!==void 0||t in Object(n))}}function Zk(t){var e=Qk(t);return e.length==1&&e[0][2]?Nf(e[0][0],e[0][1]):function(n){return n===t||qk(n,t,e)}}function eC(t,e){return t!=null&&e in Object(t)}function tC(t,e,n){e=Ac(e,t);for(var r=-1,i=e.length,s=!1;++r<i;){var d=as(e[r]);if(!(s=t!=null&&n(t,d)))break;t=t[d]}return s||++r!=i?s:(i=t==null?0:t.length,!!i&&kc(i)&&xc(d,i)&&(Dt(t)||Af(t)))}function nC(t,e){return t!=null&&tC(t,e,eC)}var rC=1,iC=2;function sC(t,e){return _c(t)&&Rf(e)?Nf(as(t),e):function(n){var r=Jx(n,t);return r===void 0&&r===e?nC(n,t):Xo(e,r,rC|iC)}}function oC(t){return function(e){return e?.[t]}}function aC(t){return function(e){return Ko(e,t)}}function lC(t){return _c(t)?oC(as(t)):aC(t)}function If(t){return typeof t=="function"?t:t==null?zo:typeof t=="object"?Dt(t)?sC(t[0],t[1]):Zk(t):lC(t)}function cC(t){return function(e,n,r){for(var i=-1,s=Object(e),d=r(e),h=d.length;h--;){var c=d[t?h:++i];if(n(s[c],c,s)===!1)break}return e}}var uC=cC();const hC=uC;function dC(t,e){return t&&hC(t,e,Ec)}function fC(t,e){return function(n,r){if(n==null)return n;if(!Go(n))return t(n,r);for(var i=n.length,s=e?i:-1,d=Object(n);(e?s--:++s<i)&&r(d[s],s,d)!==!1;);return n}}var mC=fC(dC);const pC=mC;function gC(t){return dr(t)&&Go(t)}function vC(t,e,n){for(var r=-1,i=t==null?0:t.length;++r<i;)if(n(e,t[r]))return!0;return!1}function wC(t){var e=t==null?0:t.length;return e?t[e-1]:void 0}function yC(t,e){var n=-1,r=Go(t)?Array(t.length):[];return pC(t,function(i,s,d){r[++n]=e(i,s,d)}),r}var bC=Math.min;function SC(t,e,n){for(var r=n?vC:hS,i=t[0].length,s=t.length,d=s,h=Array(s),c=1/0,m=[];d--;){var a=t[d];d&&e&&(a=$r(a,Cc(e))),c=bC(a.length,c),h[d]=!n&&(e||i>=120&&a.length>=120)?new Ui(d&&a):void 0}a=t[0];var o=-1,u=h[0];e:for(;++o<i&&m.length<c;){var f=a[o],p=e?e(f):f;if(f=n||f!==0?f:0,!(u?dl(u,p):r(m,p,n))){for(d=s;--d;){var g=h[d];if(!(g?dl(g,p):r(t[d],p,n)))continue e}u&&u.push(p),m.push(f)}}return m}function xC(t){return gC(t)?t:[]}var kC=pS(function(t){var e=$r(t,xC);return e.length&&e[0]===t[0]?SC(e):[]});const CC=kC;function EC(t,e){return e.length<2?t:Ko(t,Xx(e,0,-1))}function ii(t,e){return Xo(t,e)}function _C(t,e){return e=Ac(e,t),t=EC(t,e),t==null||delete t[as(wC(e))]}function TC(t,e){var n=t.length;for(t.sort(e);n--;)t[n]=t[n].value;return t}function AC(t,e){if(t!==e){var n=t!==void 0,r=t===null,i=t===t,s=Bi(t),d=e!==void 0,h=e===null,c=e===e,m=Bi(e);if(!h&&!m&&!s&&t>e||s&&d&&c&&!h&&!m||r&&d&&c||!n&&c||!i)return 1;if(!r&&!s&&!m&&t<e||m&&n&&i&&!r&&!s||h&&n&&i||!d&&i||!c)return-1}return 0}function $C(t,e,n){for(var r=-1,i=t.criteria,s=e.criteria,d=i.length,h=n.length;++r<d;){var c=AC(i[r],s[r]);if(c){if(r>=h)return c;var m=n[r];return c*(m=="desc"?-1:1)}}return t.index-e.index}function OC(t,e,n){e.length?e=$r(e,function(s){return Dt(s)?function(d){return Ko(d,s.length===1?s[0]:s)}:s}):e=[zo];var r=-1;e=$r(e,Cc(If));var i=yC(t,function(s,d,h){var c=$r(e,function(m){return m(s)});return{criteria:c,index:++r,value:s}});return TC(i,function(s,d){return $C(s,d,n)})}function LC(t,e,n,r){return t==null?[]:(Dt(e)||(e=e==null?[]:[e]),n=r?void 0:n,Dt(n)||(n=n==null?[]:[n]),OC(t,e,n))}var MC=Array.prototype,RC=MC.splice;function NC(t,e){for(var n=t?e.length:0,r=n-1;n--;){var i=e[n];if(n==r||i!==s){var s=i;xc(i)?RC.call(t,i,1):_C(t,i)}}return t}function ba(t,e){var n=[];if(!(t&&t.length))return n;var r=-1,i=[],s=t.length;for(e=If(e);++r<s;){var d=t[r];e(d,r,t)&&(n.push(d),i.push(r))}return NC(t,i),n}const Sa=new wf,Mn=l.ref([]),ei=l.ref([]),IC=()=>{const{getAccessToken:t}=zr(),e=Xi();async function n(c=10){const m=await t();if(m)try{Sa.setAuthToken(m),(await fetch("/api/platform/pushnotifications",{method:"POST",headers:{"Content-Type":"application/json-patch+json",Accept:"application/json",authorization:`Bearer ${m}`},body:JSON.stringify({take:c})})).text().then(o=>{Mn.value=JSON.parse(o).notifyEvents??[]})}catch(a){throw e.error(a),a}}function r(c){if(c.notifyType!=="IndexProgressPushNotification"){const m=Mn.value.find(a=>a.id==c.id);m?(c.isNew=m.isNew,Object.assign(m,c)):(ei.value.unshift(c),Mn.value.unshift(c))}}function i(c){c.isNew=!1,ba(ei.value,m=>m.id==c.id)}function s(c){ba(ei.value,m=>m.id==c.id),ba(Mn.value,m=>m.id==c.id)}function d(){ei.value=[],Mn.value=[]}async function h(){const c=await t();if(c){Sa.setAuthToken(c);try{await Sa.markAllAsRead(),Mn.value=Mn.value.map(m=>(m.isNew&&(m.isNew=!1),m))}catch(m){throw e.error(m),m}}}return{notifications:l.computed(()=>l.readonly(LC(Mn.value,["created"],["desc"]))),popupNotifications:l.computed(()=>l.readonly(ei.value)),loadFromHistory:n,addNotification:r,dismissAll:d,dismiss:s,markAsRead:i,markAllAsRead:h}},bs=l.ref({logo:void 0,title:void 0}),DC=()=>{const{getAccessToken:t}=zr(),e=Xi();async function n(){const s=new bf;return s.setAuthToken(await t()),s}async function r(){const s=await n(),d="https://vcmp-dev.paas.govirto.com/";try{const h=await s.getUICustomizationSetting(),c=JSON.parse(h.defaultValue);bs.value={contrast_logo:d+c.contrast_logo,logo:d+c.logo,title:c.title}}catch(h){e.error(h)}}function i(s){s.logo&&(bs.value.logo=s.logo),s.title&&(bs.value.title=s.title)}return{uiSettings:l.computed(()=>bs.value),getUiCustomizationSettings:r,applySettings:i}},qo=()=>{const{user:t}=zr();function e(n){if(n)if(n||n&&n instanceof Array){if(typeof n=="string")return t.value?.permissions.includes(n);if(n.length>0)return t.value?.permissions.some(r=>n.includes(r))}else console.error("Permissions must be a string or strings array");else return!0}return{userPermissions:l.computed(()=>t.value?.permissions),checkPermission:e}},PC=(t,e,n)=>{const r=l.computed(()=>l.isRef(t)?l.unref(t):t),i=l.computed(()=>l.isRef(e)?l.unref(e):e),s=l.ref(),d=l.ref(!1);l.watch(i,()=>{i.value?d.value=!0:(d.value=!1,m())}),l.watch([r,d],()=>{d.value&&h()},{deep:!0});function h(){localStorage.setItem(n,JSON.stringify(r.value))}function c(){const a=JSON.parse(localStorage.getItem(n));a&&(s.value=a)}function m(){localStorage.removeItem(n)}return{savedValue:l.computed(()=>s.value),loadAutosaved:c,resetAutosaved:m}};function BC(t){const e=Xi(),n=l.ref(!1);async function r(i){n.value=!0;try{return await t(i)}catch(s){throw e.error(s),s}finally{n.value=!1}}return{loading:l.readonly(n),action:r}}function FC(t){const{getAccessToken:e}=zr();async function n(){const r=new t;return r.setAuthToken(await e()),r}return{getApiClient:n}}function VC(...t){return l.computed(()=>t.some(e=>e.value))}const{checkPermission:UC}=qo();function xh(t,e){const{value:n}=e;UC(n)===!1&&t.parentNode&&t.parentNode.removeChild(t)}const Df={mounted(t,e){xh(t,e)},updated(t,e){xh(t,e)}},Pf={mounted(t,e){e.value&&t.focus()}},ls={mounted(t,e){const n=e.value;t._outsideClickHandler=function(r){t.contains(r.target)||(r.stopPropagation(),n())},document.addEventListener("click",t._outsideClickHandler)},unmounted(t){document.removeEventListener("click",t._outsideClickHandler)}},kh="v-loading",Bf={mounted:function(t,e){console.log("v-loading mount");const n=document.createElement("div");n.className=kh,n.innerHTML="Loading...",n.style.display=e.value?"flex":"none",n.style.position="absolute",n.style.alignItems="center",n.style.justifyContent="center",n.style.background="rgba(255, 255, 255, 0.75)",n.style.zIndex="9999",n.style.width="100%",n.style.height="100%",t.appendChild(n)},updated:function(t,e){console.log("v-loading updated");const n=t.querySelector(`.${kh}`);n&&(n.style.display=e.value?"flex":"none")}},WC=Object.freeze(Object.defineProperty({__proto__:null,permissions:Df,autofocus:Pf,clickOutside:ls,loading:Bf},Symbol.toStringTag,{value:"Module"})),HC={class:"vc-multivalue__field-value"},jC=["title"],zC=["onClick"],GC=["placeholder","type","value","disabled","onKeypress"],Ff=l.defineComponent({__name:"vc-multivalue",props:{placeholder:{type:String,default:""},modelValue:{type:Array,default:()=>[]},required:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},type:{type:String,default:"text"},label:{type:String,default:void 0},tooltip:{type:String,default:void 0},name:{type:String,default:"Field"},options:{type:Array,default:()=>[]},keyProperty:{type:String,default:"id"},displayProperty:{type:String,default:"title"},multivalue:{type:Boolean,default:!1},errorMessage:{type:String,default:void 0}},emits:["update:modelValue","search","close"],setup(t,{emit:e}){const n=t;l.getCurrentInstance();const r=l.ref(),i=l.ref(),s=l.ref(),d=l.ref(),h=l.ref(!1),c=l.ref(),m=l.computed(()=>n.options?.filter(v=>!n.modelValue?.find(y=>y.valueId===v.id)));function a(v){const y=v.target.value;e("update:modelValue",[...n.modelValue,{value:y}])}function o(v){e("update:modelValue",[...n.modelValue,{valueId:v[n.keyProperty]}]),e("close"),p()}function u(v){const y=l.unref(n.modelValue);y.splice(v,1),e("update:modelValue",[...y])}function f(){n.disabled||(h.value?(h.value=!1,r.value?.destroy(),d.value.style.borderRadius="var(--select-border-radius)",e("close")):(h.value=!0,l.nextTick(()=>{c?.value?.focus(),r.value=Ji(d.value,s.value,{placement:"bottom",modifiers:[{name:"flip",options:{fallbackPlacements:["top","bottom"]}},{name:"preventOverflow",options:{mainAxis:!1}},{name:"sameWidthChangeBorders",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:({state:v})=>{v.placement==="top"?(v.styles.popper.borderTop="1px solid var(--select-border-color)",v.styles.popper.borderBottom="1px solid var(--select-background-color)",v.styles.popper.borderRadius="var(--select-border-radius) var(--select-border-radius) 0 0",d.value.style.borderRadius="0 0 var(--select-border-radius) var(--select-border-radius)"):(v.styles.popper.borderBottom="1px solid var(--select-border-color)",v.styles.popper.borderTop="1px solid var(--select-background-color)",v.styles.popper.borderRadius="0 0 var(--select-border-radius) var(--select-border-radius)",d.value&&(d.value.style.borderRadius="var(--select-border-radius) var(--select-border-radius) 0 0")),v.styles.popper.width=`${v.rects.reference.width}px`},effect:({state:v})=>{const y=v.elements.reference;v.placement==="top"?(v.elements.popper.style.borderTop="1px solid var(--select-border-color)",v.elements.popper.style.borderBottom="1px solid var(--select-background-color)",v.elements.popper.style.borderRadius="var(--select-border-radius) var(--select-border-radius) 0 0",d.value.style.borderRadius="0 0 var(--select-border-radius) var(--select-border-radius)"):(v.elements.popper.style.borderBottom="1px solid var(--select-border-color)",v.elements.popper.style.borderTop="1px solid var(--select-background-color)",v.elements.popper.style.borderRadius="0 0 var(--select-border-radius) var(--select-border-radius)",d.value&&(d.value.style.borderRadius="var(--select-border-radius) var(--select-border-radius) 0 0")),v.elements.popper.style.width=`${y.offsetWidth}px`}},{name:"offset",options:{offset:[0,-1]}}]})})))}function p(){h.value=!1,r.value?.destroy(),d.value.style.borderRadius="var(--select-border-radius)",e("close")}function g(v){e("search",v.target.value)}return(v,y)=>{const x=l.resolveComponent("VcButton"),T=l.resolveComponent("VcContainer"),k=l.resolveComponent("VcHint");return l.openBlock(),l.createElementBlock("div",{class:l.normalizeClass(["vc-multivalue",[`vc-multivalue_${t.type}`,{"vc-multivalue_opened":h.value,"vc-multivalue_error":t.errorMessage,"vc-multivalue_disabled":t.disabled}]])},[t.label?(l.openBlock(),l.createBlock(l.unref(Gn),{key:0,class:"tw-mb-2",required:t.required},l.createSlots({default:l.withCtx(()=>[l.createElementVNode("span",null,l.toDisplayString(t.label),1)]),_:2},[t.tooltip?{name:"tooltip",fn:l.withCtx(()=>[l.createTextVNode(l.toDisplayString(t.tooltip),1)]),key:"0"}:void 0]),1032,["required"])):l.createCommentVNode("",!0),l.createElementVNode("div",{class:"vc-multivalue__field-wrapper",ref_key:"inputFieldWrapRef",ref:d},[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(t.modelValue,(b,C)=>(l.openBlock(),l.createElementBlock("div",{key:b.id,class:"vc-multivalue__field-value-wrapper"},[l.createElementVNode("div",HC,[l.createElementVNode("span",{class:"tw-truncate",title:t.type==="number"?Number(b.value).toFixed(3):b.value},l.toDisplayString(t.type==="number"?Number(b.value).toFixed(3):b.value),9,jC),t.disabled?l.createCommentVNode("",!0):(l.openBlock(),l.createBlock(l.unref(Se),{key:0,class:"vc-multivalue__field-value-clear",icon:"fas fa-times",size:"s",onClick:$=>u(C)},null,8,["onClick"]))])]))),128)),t.multivalue?(l.openBlock(),l.createElementBlock("div",{key:0,ref_key:"dropdownToggleRef",ref:i,class:"vc-multivalue__field vc-multivalue__field_dictionary tw-grow tw-basis-0 tw-p-2"},[l.createVNode(x,{small:"",onClick:l.withModifiers(f,["stop"])},{default:l.withCtx(()=>[l.createTextVNode("Add +")]),_:1},8,["onClick"]),(l.openBlock(),l.createBlock(l.Teleport,{to:"#app"},[h.value?l.withDirectives((l.openBlock(),l.createElementBlock("div",{key:0,class:"vc-multivalue__dropdown",ref_key:"dropdownRef",ref:s},[l.createElementVNode("input",{ref_key:"search",ref:c,class:"vc-multivalue__search",onInput:g},null,544),l.createVNode(T,{"no-padding":!0},{default:l.withCtx(()=>[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(l.unref(m),(b,C)=>(l.openBlock(),l.createElementBlock("div",{class:"vc-multivalue__item",key:C,onClick:$=>o(b)},[l.renderSlot(v.$slots,"item",{item:b},()=>[l.createTextVNode(l.toDisplayString(b[t.displayProperty]),1)])],8,zC))),128))]),_:3})])),[[l.unref(ls),p]]):l.createCommentVNode("",!0)]))],512)):(l.openBlock(),l.createElementBlock("input",{key:1,class:"vc-multivalue__field tw-grow tw-basis-0 tw-pl-3",placeholder:t.placeholder,type:t.type,value:v.value,disabled:t.disabled,onKeypress:l.withKeys(a,["enter"])},null,40,GC))],512),t.errorMessage?l.renderSlot(v.$slots,"error",{key:1},()=>[l.createVNode(k,{class:"vc-multivalue__error tw-mt-1"},{default:l.withCtx(()=>[l.createTextVNode(l.toDisplayString(t.errorMessage),1)]),_:1})]):l.createCommentVNode("",!0)],2)}}});const YC={class:"tw-text-[color:var(--notification-content-color)]"},Vf=l.defineComponent({__name:"vc-notification",props:{variant:{type:String,default:"info"},timeout:{type:Number,default:0}},emits:["dismiss","expired"],setup(t,{emit:e}){const n=t;function r(c,m){let a,o,u=m;function f(){window.clearTimeout(a),u-=Date.now()-o}function p(){o=Date.now(),window.clearTimeout(a),a=window.setTimeout(c,u)}function g(){u=m,p()}return{pause:f,resume:p,start:g}}const i=r(()=>e("expired"),n.timeout);n.timeout&&i.start();function s(){i.pause()}function d(){n.timeout&&i.resume()}function h(){i.pause(),e("dismiss")}return(c,m)=>(l.openBlock(),l.createElementBlock("div",{class:"vc-notification tw-flex tw-items-center tw-mt-1 tw-mb-3 tw-mx-2 tw-bg-[color:var(--notification-background)] tw-border tw-border-solid tw-border-[color:#eef0f2] tw-box-border tw-shadow-[2px_2px_11px_rgba(126,142,157,0.4)] tw-rounded-[var(--notification-border-radius)] tw-overflow-hidden tw-py-2 tw-px-4 tw-max-w-[600px]",onMouseenter:s,onMouseleave:d},[l.createElementVNode("div",YC,[l.renderSlot(c.$slots,"default")]),l.createVNode(l.unref(Se),{icon:"fas fa-times",class:"tw-cursor-pointer tw-text-[color:var(--notification-dismiss-color)] tw-ml-2",size:"s",onClick:h})],32))}});const JC={class:"vc-pagination tw-flex"},KC={class:"vc-pagination__item vc-pagination__item_current"},$c=l.defineComponent({__name:"vc-pagination",props:{expanded:{type:Boolean,default:!1},pages:{type:Number,default:1},currentPage:{type:Number,default:1}},emits:["itemClick"],setup(t){return(e,n)=>(l.openBlock(),l.createElementBlock("div",JC,[l.createElementVNode("div",{class:l.normalizeClass(["vc-pagination__item",{"vc-pagination__item_disabled":t.currentPage===1}]),onClick:n[0]||(n[0]=r=>t.currentPage!==1&&e.$emit("itemClick",1))},[l.createVNode(l.unref(Se),{size:"xs",icon:"fas fa-angle-double-left"})],2),l.createElementVNode("div",{class:l.normalizeClass(["vc-pagination__item",{"vc-pagination__item_disabled":t.currentPage===1}]),onClick:n[1]||(n[1]=r=>t.currentPage!==1&&e.$emit("itemClick",t.currentPage-1))},[l.createVNode(l.unref(Se),{size:"xs",icon:"fas fa-arrow-left"})],2),t.expanded&&e.$isDesktop.value?(l.openBlock(),l.createElementBlock(l.Fragment,{key:0},[t.currentPage>2?(l.openBlock(),l.createElementBlock("div",{key:0,class:"vc-pagination__item",onClick:n[2]||(n[2]=r=>e.$emit("itemClick",t.currentPage-2))},l.toDisplayString(t.currentPage-2),1)):l.createCommentVNode("",!0),t.currentPage>1?(l.openBlock(),l.createElementBlock("div",{key:1,class:"vc-pagination__item",onClick:n[3]||(n[3]=r=>e.$emit("itemClick",t.currentPage-1))},l.toDisplayString(t.currentPage-1),1)):l.createCommentVNode("",!0)],64)):l.createCommentVNode("",!0),l.createElementVNode("div",KC,l.toDisplayString(t.currentPage),1),t.expanded&&e.$isDesktop.value?(l.openBlock(),l.createElementBlock(l.Fragment,{key:1},[t.currentPage<t.pages?(l.openBlock(),l.createElementBlock("div",{key:0,class:"vc-pagination__item",onClick:n[4]||(n[4]=r=>e.$emit("itemClick",t.currentPage+1))},l.toDisplayString(t.currentPage+1),1)):l.createCommentVNode("",!0),t.currentPage<t.pages-1?(l.openBlock(),l.createElementBlock("div",{key:1,class:"vc-pagination__item",onClick:n[5]||(n[5]=r=>e.$emit("itemClick",t.currentPage+2))},l.toDisplayString(t.currentPage+2),1)):l.createCommentVNode("",!0)],64)):l.createCommentVNode("",!0),l.createElementVNode("div",{class:l.normalizeClass(["vc-pagination__item",{"vc-pagination__item_disabled":t.currentPage===t.pages}]),onClick:n[6]||(n[6]=r=>t.currentPage!==t.pages&&e.$emit("itemClick",t.currentPage+1))},[l.createVNode(l.unref(Se),{size:"xs",icon:"fas fa-arrow-right"})],2),l.createElementVNode("div",{class:l.normalizeClass(["vc-pagination__item",{"vc-pagination__item_disabled":t.currentPage===t.pages}]),onClick:n[7]||(n[7]=r=>t.currentPage!==t.pages&&e.$emit("itemClick",t.pages))},[l.createVNode(l.unref(Se),{size:"xs",icon:"fas fa-angle-double-right"})],2)]))}});const XC={class:"vc-rating"},qC=["innerHTML"],QC={class:"vc-rating__rating"},ZC={key:2,class:"vc-rating__placeholder"},Uf=l.defineComponent({__name:"vc-rating",props:{label:null,placeholder:null,tooltip:null,rating:null,max:{default:5},variant:{default:"stars"}},setup(t){return(e,n)=>(l.openBlock(),l.createElementBlock("div",XC,[t.label?(l.openBlock(),l.createBlock(l.unref(Gn),{key:0,class:"tw-mb-2"},l.createSlots({default:l.withCtx(()=>[l.createElementVNode("span",null,l.toDisplayString(t.label),1)]),_:2},[t.tooltip?{name:"tooltip",fn:l.withCtx(()=>[l.createElementVNode("span",{innerHTML:t.tooltip},null,8,qC)]),key:"0"}:void 0]),1024)):l.createCommentVNode("",!0),t.rating?(l.openBlock(),l.createElementBlock(l.Fragment,{key:1},[t.variant=="stars"?(l.openBlock(),l.createElementBlock(l.Fragment,{key:0},[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(t.rating,r=>(l.openBlock(),l.createBlock(l.unref(Se),{key:r,icon:"fas fa-star",class:"vc-rating__icon"}))),128)),(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(t.max-t.rating,r=>(l.openBlock(),l.createBlock(l.unref(Se),{key:r,icon:"far fa-star",class:"vc-rating__icon"}))),128))],64)):(l.openBlock(),l.createElementBlock(l.Fragment,{key:1},[t.variant=="star-and-text"?(l.openBlock(),l.createBlock(l.unref(Se),{key:0,icon:"fas fa-star",class:"vc-rating__icon"})):l.createCommentVNode("",!0),l.createElementVNode("span",QC,l.toDisplayString(t.rating)+"/"+l.toDisplayString(t.max),1),l.renderSlot(e.$slots,"details")],64))],64)):(l.openBlock(),l.createElementBlock("span",ZC))]))}});var Ch;const cs=typeof window<"u",xa=()=>{};cs&&((Ch=window?.navigator)==null?void 0:Ch.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function eE(t){return typeof t=="function"?t():l.unref(t)}function tE(t){return t}function nE(t,e){var n;if(typeof t=="number")return t+e;const r=((n=t.match(/^-?[0-9]+\.?[0-9]*/))==null?void 0:n[0])||"",i=t.slice(r.length),s=parseFloat(r)+e;return Number.isNaN(s)?t:s+i}function Wf(t){return l.getCurrentScope()?(l.onScopeDispose(t),!0):!1}function rE(t){return typeof t=="function"?l.computed(t):l.ref(t)}function iE(t,e=!0){l.getCurrentInstance()?l.onMounted(t):e?t():l.nextTick(t)}function Eh(t){var e;const n=eE(t);return(e=n?.$el)!=null?e:n}const Oc=cs?window:void 0;cs&&window.document;cs&&window.navigator;cs&&window.location;function Hf(t,e=!1){const n=l.ref(),r=()=>n.value=Boolean(t());return r(),iE(r,e),n}function ti(t,e={}){const{window:n=Oc}=e,r=Hf(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let i;const s=l.ref(!1),d=()=>{!i||("removeEventListener"in i?i.removeEventListener("change",h):i.removeListener(h))},h=()=>{!r.value||(d(),i=n.matchMedia(rE(t).value),s.value=i.matches,"addEventListener"in i?i.addEventListener("change",h):i.addListener(h))};return l.watchEffect(h),Wf(()=>d()),s}var sE=Object.defineProperty,_h=Object.getOwnPropertySymbols,oE=Object.prototype.hasOwnProperty,aE=Object.prototype.propertyIsEnumerable,Th=(t,e,n)=>e in t?sE(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,lE=(t,e)=>{for(var n in e||(e={}))oE.call(e,n)&&Th(t,n,e[n]);if(_h)for(var n of _h(e))aE.call(e,n)&&Th(t,n,e[n]);return t};function cE(t,e={}){function n(h,c){let m=t[h];return c!=null&&(m=nE(m,c)),typeof m=="number"&&(m=`${m}px`),m}const{window:r=Oc}=e;function i(h){return r?r.matchMedia(h).matches:!1}const s=h=>ti(`(min-width: ${n(h)})`,e),d=Object.keys(t).reduce((h,c)=>(Object.defineProperty(h,c,{get:()=>s(c),enumerable:!0,configurable:!0}),h),{});return lE({greater(h){return ti(`(min-width: ${n(h,.1)})`,e)},greaterOrEqual:s,smaller(h){return ti(`(max-width: ${n(h,-.1)})`,e)},smallerOrEqual(h){return ti(`(max-width: ${n(h)})`,e)},between(h,c){return ti(`(min-width: ${n(h)}) and (max-width: ${n(c,-.1)})`,e)},isGreater(h){return i(`(min-width: ${n(h,.1)})`)},isGreaterOrEqual(h){return i(`(min-width: ${n(h)})`)},isSmaller(h){return i(`(max-width: ${n(h,-.1)})`)},isSmallerOrEqual(h){return i(`(max-width: ${n(h)})`)},isInBetween(h,c){return i(`(min-width: ${n(h)}) and (max-width: ${n(c,-.1)})`)}},d)}const fl=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},ml="__vueuse_ssr_handlers__";fl[ml]=fl[ml]||{};fl[ml];function uE(t,e,n={}){const{root:r,rootMargin:i="0px",threshold:s=.1,window:d=Oc}=n,h=Hf(()=>d&&"IntersectionObserver"in d);let c=xa;const m=h.value?l.watch(()=>({el:Eh(t),root:Eh(r)}),({el:o,root:u})=>{if(c(),!o)return;const f=new IntersectionObserver(e,{root:u,rootMargin:i,threshold:s});f.observe(o),c=()=>{f.disconnect(),c=xa}},{immediate:!0,flush:"post"}):xa,a=()=>{c(),m()};return Wf(a),{isSupported:h,stop:a}}var Ah;(function(t){t.UP="UP",t.RIGHT="RIGHT",t.DOWN="DOWN",t.LEFT="LEFT",t.NONE="NONE"})(Ah||(Ah={}));var hE=Object.defineProperty,$h=Object.getOwnPropertySymbols,dE=Object.prototype.hasOwnProperty,fE=Object.prototype.propertyIsEnumerable,Oh=(t,e,n)=>e in t?hE(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,mE=(t,e)=>{for(var n in e||(e={}))dE.call(e,n)&&Oh(t,n,e[n]);if($h)for(var n of $h(e))fE.call(e,n)&&Oh(t,n,e[n]);return t};const pE={easeInSine:[.12,0,.39,0],easeOutSine:[.61,1,.88,1],easeInOutSine:[.37,0,.63,1],easeInQuad:[.11,0,.5,0],easeOutQuad:[.5,1,.89,1],easeInOutQuad:[.45,0,.55,1],easeInCubic:[.32,0,.67,0],easeOutCubic:[.33,1,.68,1],easeInOutCubic:[.65,0,.35,1],easeInQuart:[.5,0,.75,0],easeOutQuart:[.25,1,.5,1],easeInOutQuart:[.76,0,.24,1],easeInQuint:[.64,0,.78,0],easeOutQuint:[.22,1,.36,1],easeInOutQuint:[.83,0,.17,1],easeInExpo:[.7,0,.84,0],easeOutExpo:[.16,1,.3,1],easeInOutExpo:[.87,0,.13,1],easeInCirc:[.55,0,1,.45],easeOutCirc:[0,.55,.45,1],easeInOutCirc:[.85,0,.15,1],easeInBack:[.36,0,.66,-.56],easeOutBack:[.34,1.56,.64,1],easeInOutBack:[.68,-.6,.32,1.6]};mE({linear:tE},pE);const gE=["innerHTML"],vE={class:"tw-flex tw-flex-auto tw-text-left tw-max-w-full"},wE={class:"tw-relative tw-flex tw-flex-auto tw-text-left tw-max-w-full"},yE={key:0,class:"tw-flex tw-items-center tw-flex-nowrap tw-pr-3"},bE={class:"tw-relative tw-flex tw-flex-auto tw-overflow-x-clip"},SE={class:"tw-truncate vc-select__field-wrapper tw-relative tw-box-border tw-border tw-border-solid tw-border-[color:var(--select-border-color)] tw-rounded-[var(--select-border-radius)] tw-bg-[color:var(--select-background-color)] tw-flex tw-flex-col tw-flex-nowrap tw-flex-auto tw-items-stretch"},xE={class:"tw-flex tw-flex-col tw-flex-nowrap tw-flex-auto tw-relative"},kE={class:"tw-flex tw-flex-nowrap tw-flex-auto tw-h-full tw-px-3"},CE={key:0,class:"tw-flex tw-items-center tw-flex-nowrap tw-pr-3"},EE={class:"tw-flex tw-flex-nowrap tw-flex-auto tw-h-full tw-truncate"},_E={key:0,class:"tw-flex tw-items-center tw-flex-wrap tw-pr-3 tw-pointer-events-none"},TE=["onClick"],AE={key:0,class:"tw-text-[#a5a5a5]"},$E={key:1,class:"tw-flex tw-flex-wrap tw-gap-1 tw-py-1"},OE={key:0,class:"tw-bg-[#fbfdfe] tw-border tw-border-solid tw-border-[color:#bdd1df] tw-rounded-[2px] tw-flex tw-items-center tw-h-[28px] tw-box-border tw-px-2"},LE={key:1,class:"tw-flex tw-items-center tw-flex-wrap tw-pl-3 tw-pointer-events-none"},ME={key:1,class:"tw-flex tw-items-center tw-flex-nowrap tw-pl-3"},RE={key:2,class:"tw-flex tw-items-center tw-flex-nowrap tw-pl-3 tw-text-[color:var(--select-clear-color)]"},NE={key:3,class:"tw-flex tw-items-center tw-flex-nowrap tw-pl-3"},IE=["onClick"],DE={class:"tw-absolute tw-translate-y-full tw-left-0 tw-right-0 tw-bottom-0 tw-min-h-[20px]"},PE={key:0},BE={key:1},FE={key:1,class:"tw-flex tw-items-center tw-flex-nowrap tw-pl-3"},VE={key:0,class:"tw-w-full tw-h-full tw-box-border tw-flex tw-flex-col tw-items-center tw-justify-center"},UE=l.createElementVNode("span",{class:"tw-m-4 tw-text-xl tw-font-medium"},"No options",-1),WE=["onClick"],HE=l.defineComponent({__name:"vc-select",props:{name:{default:"Field"},modelValue:null,mapOptions:{type:[Boolean,null],default:!0},error:{type:[Boolean,null]},errorMessage:null,label:null,hint:null,prefix:null,suffix:null,loading:{type:[Boolean,null]},clearable:{type:[Boolean,null],default:!0},disabled:{type:[Boolean,null]},multiple:{type:[Boolean,null]},options:{type:[Function,Array,null],default:()=>[]},optionValue:{type:[Function,String,null],default:"id"},optionLabel:{type:[Function,String,null],default:"title"},emitValue:{type:[Boolean,null],default:!0},debounce:{default:500},placeholder:{default:"Click to select..."},tooltip:null,required:{type:[Boolean,null],default:!1},searchable:{type:[Boolean,null],default:!1}},emits:["update:modelValue","search","close"],setup(t,{emit:e}){const n=t,{modelValue:r,options:i}=l.toRefs(n),s=l.ref(!1),d=l.ref(),h=l.ref(),c=l.ref(),m=l.ref(),a=l.ref(),o=l.ref(),u=l.ref(!1),f=l.ref(),p=l.ref([]),g=l.ref([]),v=l.ref([]),y=l.ref();let x,T,k;uE(o,([{isIntersecting:U}])=>{U&&b()},{threshold:1,root:a.value?.component}),l.watch(r,async(U,Z)=>{if(U&&!Z){const Q=g.value.filter(se=>n.modelValue&&Array.isArray(n.modelValue)?CC(g.value,n.modelValue):n.modelValue&&typeof n.modelValue=="object"?g.value.includes(n.modelValue):se[n.optionLabel]===n.modelValue);if(Q&&Q.length)p.value=Q;else if(n.options&&typeof n.options=="function"){const se=await n.options(void 0,void 0,Array.isArray(n.modelValue)?n.modelValue:[n.modelValue]);p.value=se.results.filter(de=>de[n.optionValue]===n.modelValue)}else n.options&&Array.isArray(n.options)&&(p.value=n.options.filter(se=>se[n.optionValue]===n.modelValue))}},{immediate:!0}),l.watch(i,async()=>{if(n.options&&typeof n.options=="function")try{u.value=!0;const U=await n.options();g.value=U.results,y.value=U.totalCount}finally{u.value=!1}else n.options&&Array.isArray(n.options)&&(g.value=n.options)},{immediate:!0}),l.watch(()=>g.value,U=>{v.value=U},{immediate:!0,deep:!0});async function b(){if(n.options&&typeof n.options=="function")try{u.value=!0;const U=await n.options(f.value,g.value.length);g.value.push(...U.results)}finally{u.value=!1}}const C=l.computed(()=>g.value.length<y.value),$=l.computed(()=>L(n.optionValue,"value")),_=l.computed(()=>L(n.optionLabel,"label")),S=l.computed(()=>{const U=n.mapOptions===!0&&n.multiple!==!0,Z=n.modelValue!==void 0&&(n.modelValue!==null||U===!0)?n.multiple===!0&&Array.isArray(n.modelValue)?n.modelValue:[n.modelValue]:[];if(n.mapOptions===!0&&Array.isArray(g.value)===!0){const Q=n.mapOptions===!0&&k!==void 0?k:[],se=Z.map(de=>M(de,Q));return n.modelValue===null&&U===!0?se.filter(de=>de!==null):se}return Z});l.watch(S,U=>{k=U},{immediate:!0});const w=l.computed(()=>S.value.map((U,Z)=>({index:Z,opt:U,selected:!0,toggleOption:V,removeAtIndex:B}))),E=l.computed(()=>R(S.value)),A=l.computed(()=>S.value.map(U=>$.value(U))),O=l.computed(()=>v.value.map((U,Z)=>({index:Z,opt:U,selected:P(U)===!0,label:_.value(U),toggleOption:V})));function L(U,Z){const Q=U!==void 0?U:Z;return typeof Q=="function"?Q:se=>se!==null&&typeof se=="object"&&Q in se?se[Q]:se}function M(U,Z){const Q=se=>ii($.value(se),U);return p.value.find(Q)||g.value.find(Q)||Z.find(Q)||U}function R(U){return U!=null&&(""+U).length>0}function D(U){return n.emitValue===!0?_.value(U):$.value(U)}function B(U){if(U>-1&&U<S.value.length)if(n.multiple===!0){const Z=n.modelValue.slice();Z.splice(U,1),e("update:modelValue",Z)}else e("update:modelValue",null)}function P(U){const Z=$.value(U);return A.value.find(Q=>ii(Q,Z))!==void 0}function H(){s.value=!1,h.value?.destroy(),e("close"),Y()}const Y=async()=>{n.options&&typeof n.options=="function"?g.value=(await n.options()).results:g.value=n.options,f.value=void 0};async function G(){n.disabled||(s.value?H():(s.value=!0,await l.nextTick(()=>{d?.value?.focus(),h.value=Ji(c.value,m.value,{placement:"bottom",modifiers:[{name:"flip",options:{fallbackPlacements:["top","bottom"]}},{name:"preventOverflow",options:{mainAxis:!1}},{name:"sameWidthChangeBorders",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:({state:U})=>{U.placement==="top"?(U.styles.popper.borderTop="1px solid var(--select-border-color)",U.styles.popper.borderBottom="1px solid var(--select-background-color)",U.styles.popper.borderRadius="var(--select-border-radius) var(--select-border-radius) 0 0"):(U.styles.popper.borderBottom="1px solid var(--select-border-color)",U.styles.popper.borderTop="1px solid var(--select-background-color)",U.styles.popper.borderRadius="0 0 var(--select-border-radius) var(--select-border-radius)"),U.styles.popper.width=`${U.rects.reference.width}px`},effect:({state:U})=>{const Z=U.elements.reference;U.placement==="top"?(U.elements.popper.style.borderTop="1px solid var(--select-border-color)",U.elements.popper.style.borderBottom="1px solid var(--select-background-color)",U.elements.popper.style.borderRadius="var(--select-border-radius) var(--select-border-radius) 0 0"):(U.elements.popper.style.borderBottom="1px solid var(--select-border-color)",U.elements.popper.style.borderTop="1px solid var(--select-background-color)",U.elements.popper.style.borderRadius="0 0 var(--select-border-radius) var(--select-border-radius)"),U.elements.popper.style.width=`${Z.offsetWidth}px`}},{name:"offset",options:{offset:[0,-2]}}]})})))}function V(U){if(U===void 0)return;const Z=$.value(U);if(n.multiple!==!0){(S.value.length===0||ii($.value(S.value[0]),Z)!==!0)&&(e("update:modelValue",n.emitValue===!0?Z:U),s.value=!1);return}if(S.value.length===0){const de=n.emitValue===!0?Z:U;e("update:modelValue",n.multiple===!0?[de]:de);return}const Q=n.modelValue.slice(),se=A.value.findIndex(de=>ii(de,Z));if(se>-1)Q.splice(se,1);else{const de=n.emitValue===!0?Z:U;Q.push(de)}e("update:modelValue",Q),s.value&&h.value.update()}async function z(U){if(f.value=U,n.options&&typeof n.options=="function")try{u.value=!0,v.value=(await n.options(f.value)).results}finally{u.value=!1}else v.value=g.value.filter(Z=>Z[n.optionLabel].toLowerCase().includes(f.value.toLowerCase()))}function X(U){if(!U||!U.target)return;const Z=U.target.value;q(Z)}function q(U){x=()=>{e("search",U),z(U),x=void 0},n.debounce!==void 0?(clearTimeout(T),T=setTimeout(x,+n.debounce)):x()}function ne(){e("update:modelValue",null)}return(U,Z)=>{const Q=l.resolveComponent("VcHint");return l.openBlock(),l.createElementBlock("div",{class:l.normalizeClass(["vc-select tw-box-border",{"vc-select_opened":s.value,"vc-select_error":t.error,"vc-select_disabled":t.disabled,"tw-pb-[20px]":t.error||t.hint}])},[t.label?(l.openBlock(),l.createBlock(l.unref(Gn),{key:0,class:"tw-mb-2",required:t.required},l.createSlots({default:l.withCtx(()=>[l.createElementVNode("span",null,l.toDisplayString(t.label),1)]),_:2},[t.tooltip?{name:"tooltip",fn:l.withCtx(()=>[l.createElementVNode("span",{innerHTML:t.tooltip},null,8,gE)]),key:"0"}:void 0]),1032,["required"])):l.createCommentVNode("",!0),l.createElementVNode("div",{class:"tw-flex tw-flex-nowrap tw-items-start",ref_key:"dropdownToggleRef",ref:c},[l.createElementVNode("div",vE,[l.renderSlot(U.$slots,"control",{toggleHandler:G},()=>[l.createElementVNode("div",wE,[U.$slots.prepend?(l.openBlock(),l.createElementBlock("div",yE,[l.renderSlot(U.$slots,"prepend")])):l.createCommentVNode("",!0),l.createElementVNode("div",bE,[l.createElementVNode("div",SE,[l.createElementVNode("div",xE,[l.createElementVNode("div",kE,[U.$slots["prepend-inner"]?(l.openBlock(),l.createElementBlock("div",CE,[l.renderSlot(U.$slots,"prepend-inner")])):l.createCommentVNode("",!0),l.createElementVNode("div",EE,[t.prefix?(l.openBlock(),l.createElementBlock("div",_E,l.toDisplayString(t.prefix),1)):l.createCommentVNode("",!0),l.createElementVNode("div",{class:"tw-w-full tw-appearance-none tw-border-none tw-outline-none tw-min-h-[var(--select-height)] tw-flex tw-items-center tw-w-full tw-box-border tw-box-border tw-cursor-pointer invalid:tw-text-[color:var(--select-placeholder-color)] tw-truncate",onClick:l.withModifiers(G,["stop"])},[l.unref(E)?l.unref(w)&&l.unref(w).length&&l.unref(E)?(l.openBlock(),l.createElementBlock(l.Fragment,{key:1},[U.$slots["selected-item"]?(l.openBlock(!0),l.createElementBlock(l.Fragment,{key:0},l.renderList(l.unref(w),(se,de)=>l.renderSlot(U.$slots,"selected-item",l.mergeProps(se,{key:de}))),128)):(l.openBlock(),l.createElementBlock("div",$E,[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(l.unref(w),(se,de)=>(l.openBlock(),l.createElementBlock("div",l.mergeProps(se,{key:de,class:"tw-flex tw-items-center"}),[t.multiple?(l.openBlock(),l.createElementBlock("div",OE,[l.createElementVNode("span",null,l.toDisplayString(D(se.opt)),1),t.disabled?l.createCommentVNode("",!0):(l.openBlock(),l.createBlock(l.unref(Se),{key:0,class:"tw-text-[#a9bfd2] tw-ml-2 tw-cursor-pointer hover:tw-text-[color:var(--select-clear-color-hover)]",icon:"fas fa-times",size:"s",onClick:l.withModifiers(I=>B(se.index),["stop"])},null,8,["onClick"]))])):t.multiple?l.createCommentVNode("",!0):(l.openBlock(),l.createElementBlock(l.Fragment,{key:1},[l.createTextVNode(l.toDisplayString(D(se.opt)),1)],64))],16))),128))]))],64)):l.createCommentVNode("",!0):(l.openBlock(),l.createElementBlock("div",AE,l.toDisplayString(t.placeholder),1))],8,TE),t.suffix?(l.openBlock(),l.createElementBlock("div",LE,l.toDisplayString(t.suffix),1)):l.createCommentVNode("",!0),t.clearable&&l.unref(E)&&!t.disabled?(l.openBlock(),l.createElementBlock("div",{key:2,class:"tw-cursor-pointer tw-flex tw-items-center tw-pl-3 tw-text-[color:var(--select-clear-color)] hover:tw-text-[color:var(--select-clear-color-hover)]",onClick:ne},[l.createVNode(l.unref(Se),{size:"s",icon:"fas fa-times"})])):l.createCommentVNode("",!0)]),U.$slots["append-inner"]?(l.openBlock(),l.createElementBlock("div",ME,[l.renderSlot(U.$slots,"append-inner")])):l.createCommentVNode("",!0),t.loading||u.value?(l.openBlock(),l.createElementBlock("div",RE,[l.createVNode(l.unref(Se),{icon:"fas fa-spinner tw-animate-spin",size:"m"})])):l.createCommentVNode("",!0),t.disabled?l.createCommentVNode("",!0):(l.openBlock(),l.createElementBlock("div",NE,[l.createElementVNode("div",{class:"vc-select__chevron tw-cursor-pointer tw-flex-nowrap tw-text-[color:var(--select-chevron-color)] hover:tw-text-[color:var(--select-chevron-color-hover)]",onClick:l.withModifiers(G,["stop"])},[l.createVNode(l.unref(Se),{size:"s",icon:"fas fa-chevron-down"})],8,IE)]))])])]),l.createElementVNode("div",DE,[l.createVNode(l.Transition,{name:"slide-up",mode:"out-in"},{default:l.withCtx(()=>[t.error?(l.openBlock(),l.createElementBlock("div",PE,[l.renderSlot(U.$slots,"error",{},()=>[t.errorMessage?(l.openBlock(),l.createBlock(Q,{key:0,class:"tw-mt-1 tw-text-[color:var(--select-border-color-error)]"},{default:l.withCtx(()=>[l.createTextVNode(l.toDisplayString(t.errorMessage),1)]),_:1})):l.createCommentVNode("",!0)])])):(l.openBlock(),l.createElementBlock("div",BE,[l.renderSlot(U.$slots,"hint",{},()=>[t.hint?(l.openBlock(),l.createBlock(Q,{key:0,class:"tw-text-[color:var(--select-placeholder-color)] tw-mt-1 tw-break-words tw-p-0"},{default:l.withCtx(()=>[l.createTextVNode(l.toDisplayString(t.hint),1)]),_:1})):l.createCommentVNode("",!0)])]))]),_:3})])]),U.$slots.append?(l.openBlock(),l.createElementBlock("div",FE,[l.renderSlot(U.$slots,"append")])):l.createCommentVNode("",!0)])])]),s.value?l.withDirectives((l.openBlock(),l.createElementBlock("div",{key:0,class:"tw-flex tw-flex-col tw-box-border tw-max-h-[300px] tw-h-auto tw-z-10 tw-overflow-hidden tw-absolute tw-bg-[color:var(--select-background-color)] tw-border tw-border-solid tw-border-[color:var(--select-border-color)] tw-border-t-[color:var(--select-background-color)] tw-rounded-b-[var(--select-border-radius)] tw-p-2",ref_key:"dropdownRef",ref:m},[t.searchable?(l.openBlock(),l.createElementBlock("input",{key:0,ref_key:"searchRef",ref:d,class:"tw-w-full tw-box-border tw-border tw-border-solid tw-border-[#eaecf2] tw-rounded-[4px] tw-h-[32px] tw-leading-[32px] tw-outline-none tw-mb-3 tw-px-2",onInput:X},null,544)):l.createCommentVNode("",!0),l.createVNode(l.unref(jr),{"no-padding":!0,ref_key:"root",ref:a},{default:l.withCtx(()=>[g.value&&g.value.length?(l.openBlock(!0),l.createElementBlock(l.Fragment,{key:1},l.renderList(l.unref(O),(se,de)=>(l.openBlock(),l.createElementBlock("div",{class:l.normalizeClass(["tw-flex tw-items-center tw-min-h-[36px] tw-my-1 tw-box-border tw-px-2 tw-rounded-[3px] tw-cursor-pointer hover:tw-bg-[#eff7fc]",{"tw-bg-[#eff7fc]":se.selected}]),key:de,onClick:I=>se.toggleOption(se.opt)},[l.renderSlot(U.$slots,"option",l.normalizeProps(l.guardReactiveProps(se)),()=>[l.createTextVNode(l.toDisplayString(se.label),1)])],10,WE))),128)):(l.openBlock(),l.createElementBlock("div",VE,[l.renderSlot(U.$slots,"no-options",{},()=>[UE])])),l.unref(C)?(l.openBlock(),l.createElementBlock("span",{key:2,ref_key:"el",ref:o},null,512)):l.createCommentVNode("",!0)]),_:3},512)])),[[l.unref(ls),H]]):l.createCommentVNode("",!0)],512)],2)}}});const jf=HE;function Lh(t){return t!==null&&typeof t=="object"&&"constructor"in t&&t.constructor===Object}function Lc(t,e){t===void 0&&(t={}),e===void 0&&(e={}),Object.keys(e).forEach(function(n){typeof t[n]>"u"?t[n]=e[n]:Lh(e[n])&&Lh(t[n])&&Object.keys(e[n]).length>0&&Lc(t[n],e[n])})}var zf={body:{},addEventListener:function(){},removeEventListener:function(){},activeElement:{blur:function(){},nodeName:""},querySelector:function(){return null},querySelectorAll:function(){return[]},getElementById:function(){return null},createEvent:function(){return{initEvent:function(){}}},createElement:function(){return{children:[],childNodes:[],style:{},setAttribute:function(){},getElementsByTagName:function(){return[]}}},createElementNS:function(){return{}},importNode:function(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function bt(){var t=typeof document<"u"?document:{};return Lc(t,zf),t}var jE={document:zf,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState:function(){},pushState:function(){},go:function(){},back:function(){}},CustomEvent:function(){return this},addEventListener:function(){},removeEventListener:function(){},getComputedStyle:function(){return{getPropertyValue:function(){return""}}},Image:function(){},Date:function(){},screen:{},setTimeout:function(){},clearTimeout:function(){},matchMedia:function(){return{}},requestAnimationFrame:function(t){return typeof setTimeout>"u"?(t(),null):setTimeout(t,0)},cancelAnimationFrame:function(t){typeof setTimeout>"u"||clearTimeout(t)}};function nt(){var t=typeof window<"u"?window:{};return Lc(t,jE),t}function zE(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function pl(t){return pl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},pl(t)}function Ys(t,e){return Ys=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},Ys(t,e)}function GE(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function Ls(t,e,n){return GE()?Ls=Reflect.construct:Ls=function(i,s,d){var h=[null];h.push.apply(h,s);var c=Function.bind.apply(i,h),m=new c;return d&&Ys(m,d.prototype),m},Ls.apply(null,arguments)}function YE(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function gl(t){var e=typeof Map=="function"?new Map:void 0;return gl=function(r){if(r===null||!YE(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e<"u"){if(e.has(r))return e.get(r);e.set(r,i)}function i(){return Ls(r,arguments,pl(this).constructor)}return i.prototype=Object.create(r.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),Ys(i,r)},gl(t)}function JE(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function KE(t){var e=t.__proto__;Object.defineProperty(t,"__proto__",{get:function(){return e},set:function(r){e.__proto__=r}})}var Dn=function(t){zE(e,t);function e(n){var r;return r=t.call.apply(t,[this].concat(n))||this,KE(JE(r)),r}return e}(gl(Array));function us(t){t===void 0&&(t=[]);var e=[];return t.forEach(function(n){Array.isArray(n)?e.push.apply(e,us(n)):e.push(n)}),e}function Gf(t,e){return Array.prototype.filter.call(t,e)}function XE(t){for(var e=[],n=0;n<t.length;n+=1)e.indexOf(t[n])===-1&&e.push(t[n]);return e}function qE(t,e){if(typeof t!="string")return[t];for(var n=[],r=e.querySelectorAll(t),i=0;i<r.length;i+=1)n.push(r[i]);return n}function ue(t,e){var n=nt(),r=bt(),i=[];if(!e&&t instanceof Dn)return t;if(!t)return new Dn(i);if(typeof t=="string"){var s=t.trim();if(s.indexOf("<")>=0&&s.indexOf(">")>=0){var d="div";s.indexOf("<li")===0&&(d="ul"),s.indexOf("<tr")===0&&(d="tbody"),(s.indexOf("<td")===0||s.indexOf("<th")===0)&&(d="tr"),s.indexOf("<tbody")===0&&(d="table"),s.indexOf("<option")===0&&(d="select");var h=r.createElement(d);h.innerHTML=s;for(var c=0;c<h.childNodes.length;c+=1)i.push(h.childNodes[c])}else i=qE(t.trim(),e||r)}else if(t.nodeType||t===n||t===r)i.push(t);else if(Array.isArray(t)){if(t instanceof Dn)return t;i=t}return new Dn(XE(i))}ue.fn=Dn.prototype;function QE(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var r=us(e.map(function(i){return i.split(" ")}));return this.forEach(function(i){var s;(s=i.classList).add.apply(s,r)}),this}function ZE(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var r=us(e.map(function(i){return i.split(" ")}));return this.forEach(function(i){var s;(s=i.classList).remove.apply(s,r)}),this}function e1(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var r=us(e.map(function(i){return i.split(" ")}));this.forEach(function(i){r.forEach(function(s){i.classList.toggle(s)})})}function t1(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var r=us(e.map(function(i){return i.split(" ")}));return Gf(this,function(i){return r.filter(function(s){return i.classList.contains(s)}).length>0}).length>0}function n1(t,e){if(arguments.length===1&&typeof t=="string")return this[0]?this[0].getAttribute(t):void 0;for(var n=0;n<this.length;n+=1)if(arguments.length===2)this[n].setAttribute(t,e);else for(var r in t)this[n][r]=t[r],this[n].setAttribute(r,t[r]);return this}function r1(t){for(var e=0;e<this.length;e+=1)this[e].removeAttribute(t);return this}function i1(t){for(var e=0;e<this.length;e+=1)this[e].style.transform=t;return this}function s1(t){for(var e=0;e<this.length;e+=1)this[e].style.transitionDuration=typeof t!="string"?t+"ms":t;return this}function o1(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var r=e[0],i=e[1],s=e[2],d=e[3];typeof e[1]=="function"&&(r=e[0],s=e[1],d=e[2],i=void 0),d||(d=!1);function h(g){var v=g.target;if(!!v){var y=g.target.dom7EventData||[];if(y.indexOf(g)<0&&y.unshift(g),ue(v).is(i))s.apply(v,y);else for(var x=ue(v).parents(),T=0;T<x.length;T+=1)ue(x[T]).is(i)&&s.apply(x[T],y)}}function c(g){var v=g&&g.target?g.target.dom7EventData||[]:[];v.indexOf(g)<0&&v.unshift(g),s.apply(this,v)}for(var m=r.split(" "),a,o=0;o<this.length;o+=1){var u=this[o];if(i)for(a=0;a<m.length;a+=1){var p=m[a];u.dom7LiveListeners||(u.dom7LiveListeners={}),u.dom7LiveListeners[p]||(u.dom7LiveListeners[p]=[]),u.dom7LiveListeners[p].push({listener:s,proxyListener:h}),u.addEventListener(p,h,d)}else for(a=0;a<m.length;a+=1){var f=m[a];u.dom7Listeners||(u.dom7Listeners={}),u.dom7Listeners[f]||(u.dom7Listeners[f]=[]),u.dom7Listeners[f].push({listener:s,proxyListener:c}),u.addEventListener(f,c,d)}}return this}function a1(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var r=e[0],i=e[1],s=e[2],d=e[3];typeof e[1]=="function"&&(r=e[0],s=e[1],d=e[2],i=void 0),d||(d=!1);for(var h=r.split(" "),c=0;c<h.length;c+=1)for(var m=h[c],a=0;a<this.length;a+=1){var o=this[a],u=void 0;if(!i&&o.dom7Listeners?u=o.dom7Listeners[m]:i&&o.dom7LiveListeners&&(u=o.dom7LiveListeners[m]),u&&u.length)for(var f=u.length-1;f>=0;f-=1){var p=u[f];s&&p.listener===s||s&&p.listener&&p.listener.dom7proxy&&p.listener.dom7proxy===s?(o.removeEventListener(m,p.proxyListener,d),u.splice(f,1)):s||(o.removeEventListener(m,p.proxyListener,d),u.splice(f,1))}}return this}function l1(){for(var t=nt(),e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];for(var i=n[0].split(" "),s=n[1],d=0;d<i.length;d+=1)for(var h=i[d],c=0;c<this.length;c+=1){var m=this[c];if(t.CustomEvent){var a=new t.CustomEvent(h,{detail:s,bubbles:!0,cancelable:!0});m.dom7EventData=n.filter(function(o,u){return u>0}),m.dispatchEvent(a),m.dom7EventData=[],delete m.dom7EventData}}return this}function c1(t){var e=this;function n(r){r.target===this&&(t.call(this,r),e.off("transitionend",n))}return t&&e.on("transitionend",n),this}function u1(t){if(this.length>0){if(t){var e=this.styles();return this[0].offsetWidth+parseFloat(e.getPropertyValue("margin-right"))+parseFloat(e.getPropertyValue("margin-left"))}return this[0].offsetWidth}return null}function h1(t){if(this.length>0){if(t){var e=this.styles();return this[0].offsetHeight+parseFloat(e.getPropertyValue("margin-top"))+parseFloat(e.getPropertyValue("margin-bottom"))}return this[0].offsetHeight}return null}function d1(){if(this.length>0){var t=nt(),e=bt(),n=this[0],r=n.getBoundingClientRect(),i=e.body,s=n.clientTop||i.clientTop||0,d=n.clientLeft||i.clientLeft||0,h=n===t?t.scrollY:n.scrollTop,c=n===t?t.scrollX:n.scrollLeft;return{top:r.top+h-s,left:r.left+c-d}}return null}function f1(){var t=nt();return this[0]?t.getComputedStyle(this[0],null):{}}function m1(t,e){var n=nt(),r;if(arguments.length===1)if(typeof t=="string"){if(this[0])return n.getComputedStyle(this[0],null).getPropertyValue(t)}else{for(r=0;r<this.length;r+=1)for(var i in t)this[r].style[i]=t[i];return this}if(arguments.length===2&&typeof t=="string"){for(r=0;r<this.length;r+=1)this[r].style[t]=e;return this}return this}function p1(t){return t?(this.forEach(function(e,n){t.apply(e,[e,n])}),this):this}function g1(t){var e=Gf(this,t);return ue(e)}function v1(t){if(typeof t>"u")return this[0]?this[0].innerHTML:null;for(var e=0;e<this.length;e+=1)this[e].innerHTML=t;return this}function w1(t){if(typeof t>"u")return this[0]?this[0].textContent.trim():null;for(var e=0;e<this.length;e+=1)this[e].textContent=t;return this}function y1(t){var e=nt(),n=bt(),r=this[0],i,s;if(!r||typeof t>"u")return!1;if(typeof t=="string"){if(r.matches)return r.matches(t);if(r.webkitMatchesSelector)return r.webkitMatchesSelector(t);if(r.msMatchesSelector)return r.msMatchesSelector(t);for(i=ue(t),s=0;s<i.length;s+=1)if(i[s]===r)return!0;return!1}if(t===n)return r===n;if(t===e)return r===e;if(t.nodeType||t instanceof Dn){for(i=t.nodeType?[t]:t,s=0;s<i.length;s+=1)if(i[s]===r)return!0;return!1}return!1}function b1(){var t=this[0],e;if(t){for(e=0;(t=t.previousSibling)!==null;)t.nodeType===1&&(e+=1);return e}}function S1(t){if(typeof t>"u")return this;var e=this.length;if(t>e-1)return ue([]);if(t<0){var n=e+t;return n<0?ue([]):ue([this[n]])}return ue([this[t]])}function x1(){for(var t,e=bt(),n=0;n<arguments.length;n+=1){t=n<0||arguments.length<=n?void 0:arguments[n];for(var r=0;r<this.length;r+=1)if(typeof t=="string"){var i=e.createElement("div");for(i.innerHTML=t;i.firstChild;)this[r].appendChild(i.firstChild)}else if(t instanceof Dn)for(var s=0;s<t.length;s+=1)this[r].appendChild(t[s]);else this[r].appendChild(t)}return this}function k1(t){var e=bt(),n,r;for(n=0;n<this.length;n+=1)if(typeof t=="string"){var i=e.createElement("div");for(i.innerHTML=t,r=i.childNodes.length-1;r>=0;r-=1)this[n].insertBefore(i.childNodes[r],this[n].childNodes[0])}else if(t instanceof Dn)for(r=0;r<t.length;r+=1)this[n].insertBefore(t[r],this[n].childNodes[0]);else this[n].insertBefore(t,this[n].childNodes[0]);return this}function C1(t){return this.length>0?t?this[0].nextElementSibling&&ue(this[0].nextElementSibling).is(t)?ue([this[0].nextElementSibling]):ue([]):this[0].nextElementSibling?ue([this[0].nextElementSibling]):ue([]):ue([])}function E1(t){var e=[],n=this[0];if(!n)return ue([]);for(;n.nextElementSibling;){var r=n.nextElementSibling;t?ue(r).is(t)&&e.push(r):e.push(r),n=r}return ue(e)}function _1(t){if(this.length>0){var e=this[0];return t?e.previousElementSibling&&ue(e.previousElementSibling).is(t)?ue([e.previousElementSibling]):ue([]):e.previousElementSibling?ue([e.previousElementSibling]):ue([])}return ue([])}function T1(t){var e=[],n=this[0];if(!n)return ue([]);for(;n.previousElementSibling;){var r=n.previousElementSibling;t?ue(r).is(t)&&e.push(r):e.push(r),n=r}return ue(e)}function A1(t){for(var e=[],n=0;n<this.length;n+=1)this[n].parentNode!==null&&(t?ue(this[n].parentNode).is(t)&&e.push(this[n].parentNode):e.push(this[n].parentNode));return ue(e)}function $1(t){for(var e=[],n=0;n<this.length;n+=1)for(var r=this[n].parentNode;r;)t?ue(r).is(t)&&e.push(r):e.push(r),r=r.parentNode;return ue(e)}function O1(t){var e=this;return typeof t>"u"?ue([]):(e.is(t)||(e=e.parents(t).eq(0)),e)}function L1(t){for(var e=[],n=0;n<this.length;n+=1)for(var r=this[n].querySelectorAll(t),i=0;i<r.length;i+=1)e.push(r[i]);return ue(e)}function M1(t){for(var e=[],n=0;n<this.length;n+=1)for(var r=this[n].children,i=0;i<r.length;i+=1)(!t||ue(r[i]).is(t))&&e.push(r[i]);return ue(e)}function R1(){for(var t=0;t<this.length;t+=1)this[t].parentNode&&this[t].parentNode.removeChild(this[t]);return this}var Mh={addClass:QE,removeClass:ZE,hasClass:t1,toggleClass:e1,attr:n1,removeAttr:r1,transform:i1,transition:s1,on:o1,off:a1,trigger:l1,transitionEnd:c1,outerWidth:u1,outerHeight:h1,styles:f1,offset:d1,css:m1,each:p1,html:v1,text:w1,is:y1,index:b1,eq:S1,append:x1,prepend:k1,next:C1,nextAll:E1,prev:_1,prevAll:T1,parent:A1,parents:$1,closest:O1,find:L1,children:M1,filter:g1,remove:R1};Object.keys(Mh).forEach(function(t){Object.defineProperty(ue.fn,t,{value:Mh[t],writable:!0})});function N1(t){var e=t;Object.keys(e).forEach(function(n){try{e[n]=null}catch{}try{delete e[n]}catch{}})}function vl(t,e){return e===void 0&&(e=0),setTimeout(t,e)}function Wn(){return Date.now()}function I1(t){var e=nt(),n;return e.getComputedStyle&&(n=e.getComputedStyle(t,null)),!n&&t.currentStyle&&(n=t.currentStyle),n||(n=t.style),n}function D1(t,e){e===void 0&&(e="x");var n=nt(),r,i,s,d=I1(t);return n.WebKitCSSMatrix?(i=d.transform||d.webkitTransform,i.split(",").length>6&&(i=i.split(", ").map(function(h){return h.replace(",",".")}).join(", ")),s=new n.WebKitCSSMatrix(i==="none"?"":i)):(s=d.MozTransform||d.OTransform||d.MsTransform||d.msTransform||d.transform||d.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),r=s.toString().split(",")),e==="x"&&(n.WebKitCSSMatrix?i=s.m41:r.length===16?i=parseFloat(r[12]):i=parseFloat(r[4])),e==="y"&&(n.WebKitCSSMatrix?i=s.m42:r.length===16?i=parseFloat(r[13]):i=parseFloat(r[5])),i||0}function si(t){return typeof t=="object"&&t!==null&&t.constructor&&Object.prototype.toString.call(t).slice(8,-1)==="Object"}function P1(t){return typeof window<"u"&&typeof window.HTMLElement<"u"?t instanceof HTMLElement:t&&(t.nodeType===1||t.nodeType===11)}function Ge(){for(var t=Object(arguments.length<=0?void 0:arguments[0]),e=["__proto__","constructor","prototype"],n=1;n<arguments.length;n+=1){var r=n<0||arguments.length<=n?void 0:arguments[n];if(r!=null&&!P1(r))for(var i=Object.keys(Object(r)).filter(function(m){return e.indexOf(m)<0}),s=0,d=i.length;s<d;s+=1){var h=i[s],c=Object.getOwnPropertyDescriptor(r,h);c!==void 0&&c.enumerable&&(si(t[h])&&si(r[h])?r[h].__swiper__?t[h]=r[h]:Ge(t[h],r[h]):!si(t[h])&&si(r[h])?(t[h]={},r[h].__swiper__?t[h]=r[h]:Ge(t[h],r[h])):t[h]=r[h])}}return t}function Yf(t,e){Object.keys(e).forEach(function(n){si(e[n])&&Object.keys(e[n]).forEach(function(r){typeof e[n][r]=="function"&&(e[n][r]=e[n][r].bind(t))}),t[n]=e[n]})}function B1(t,e,n,r){var i=bt();return n&&Object.keys(r).forEach(function(s){if(!e[s]&&e.auto===!0){var d=i.createElement("div");d.className=r[s],t.append(d),e[s]=d}}),e}var ka;function F1(){var t=nt(),e=bt();return{touch:!!("ontouchstart"in t||t.DocumentTouch&&e instanceof t.DocumentTouch),pointerEvents:!!t.PointerEvent&&"maxTouchPoints"in t.navigator&&t.navigator.maxTouchPoints>=0,observer:function(){return"MutationObserver"in t||"WebkitMutationObserver"in t}(),passiveListener:function(){var r=!1;try{var i=Object.defineProperty({},"passive",{get:function(){r=!0}});t.addEventListener("testPassiveListener",null,i)}catch{}return r}(),gestures:function(){return"ongesturestart"in t}()}}function Jf(){return ka||(ka=F1()),ka}var Ca;function V1(t){var e=t===void 0?{}:t,n=e.userAgent,r=Jf(),i=nt(),s=i.navigator.platform,d=n||i.navigator.userAgent,h={ios:!1,android:!1},c=i.screen.width,m=i.screen.height,a=d.match(/(Android);?[\s\/]+([\d.]+)?/),o=d.match(/(iPad).*OS\s([\d_]+)/),u=d.match(/(iPod)(.*OS\s([\d_]+))?/),f=!o&&d.match(/(iPhone\sOS|iOS)\s([\d_]+)/),p=s==="Win32",g=s==="MacIntel",v=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"];return!o&&g&&r.touch&&v.indexOf(c+"x"+m)>=0&&(o=d.match(/(Version)\/([\d.]+)/),o||(o=[0,1,"13_0_0"]),g=!1),a&&!p&&(h.os="android",h.android=!0),(o||f||u)&&(h.os="ios",h.ios=!0),h}function U1(t){return t===void 0&&(t={}),Ca||(Ca=V1(t)),Ca}var Ea;function W1(){var t=nt();function e(){var n=t.navigator.userAgent.toLowerCase();return n.indexOf("safari")>=0&&n.indexOf("chrome")<0&&n.indexOf("android")<0}return{isEdge:!!t.navigator.userAgent.match(/Edge/g),isSafari:e(),isWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(t.navigator.userAgent)}}function H1(){return Ea||(Ea=W1()),Ea}var j1=function(){var e=nt();return typeof e.ResizeObserver<"u"};const z1={name:"resize",create:function(){var e=this;Ge(e,{resize:{observer:null,createObserver:function(){!e||e.destroyed||!e.initialized||(e.resize.observer=new ResizeObserver(function(r){var i=e.width,s=e.height,d=i,h=s;r.forEach(function(c){var m=c.contentBoxSize,a=c.contentRect,o=c.target;o&&o!==e.el||(d=a?a.width:(m[0]||m).inlineSize,h=a?a.height:(m[0]||m).blockSize)}),(d!==i||h!==s)&&e.resize.resizeHandler()}),e.resize.observer.observe(e.el))},removeObserver:function(){e.resize.observer&&e.resize.observer.unobserve&&e.el&&(e.resize.observer.unobserve(e.el),e.resize.observer=null)},resizeHandler:function(){!e||e.destroyed||!e.initialized||(e.emit("beforeResize"),e.emit("resize"))},orientationChangeHandler:function(){!e||e.destroyed||!e.initialized||e.emit("orientationchange")}}})},on:{init:function(e){var n=nt();if(e.params.resizeObserver&&j1()){e.resize.createObserver();return}n.addEventListener("resize",e.resize.resizeHandler),n.addEventListener("orientationchange",e.resize.orientationChangeHandler)},destroy:function(e){var n=nt();e.resize.removeObserver(),n.removeEventListener("resize",e.resize.resizeHandler),n.removeEventListener("orientationchange",e.resize.orientationChangeHandler)}}};function wl(){return wl=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},wl.apply(this,arguments)}var G1={attach:function(e,n){n===void 0&&(n={});var r=nt(),i=this,s=r.MutationObserver||r.WebkitMutationObserver,d=new s(function(h){if(h.length===1){i.emit("observerUpdate",h[0]);return}var c=function(){i.emit("observerUpdate",h[0])};r.requestAnimationFrame?r.requestAnimationFrame(c):r.setTimeout(c,0)});d.observe(e,{attributes:typeof n.attributes>"u"?!0:n.attributes,childList:typeof n.childList>"u"?!0:n.childList,characterData:typeof n.characterData>"u"?!0:n.characterData}),i.observer.observers.push(d)},init:function(){var e=this;if(!(!e.support.observer||!e.params.observer)){if(e.params.observeParents)for(var n=e.$el.parents(),r=0;r<n.length;r+=1)e.observer.attach(n[r]);e.observer.attach(e.$el[0],{childList:e.params.observeSlideChildren}),e.observer.attach(e.$wrapperEl[0],{attributes:!1})}},destroy:function(){var e=this;e.observer.observers.forEach(function(n){n.disconnect()}),e.observer.observers=[]}};const Y1={name:"observer",params:{observer:!1,observeParents:!1,observeSlideChildren:!1},create:function(){var e=this;Yf(e,{observer:wl({},G1,{observers:[]})})},on:{init:function(e){e.observer.init()},destroy:function(e){e.observer.destroy()}}},J1={useParams:function(e){var n=this;!n.modules||Object.keys(n.modules).forEach(function(r){var i=n.modules[r];i.params&&Ge(e,i.params)})},useModules:function(e){e===void 0&&(e={});var n=this;!n.modules||Object.keys(n.modules).forEach(function(r){var i=n.modules[r],s=e[r]||{};i.on&&n.on&&Object.keys(i.on).forEach(function(d){n.on(d,i.on[d])}),i.create&&i.create.bind(n)(s)})}},K1={on:function(e,n,r){var i=this;if(typeof n!="function")return i;var s=r?"unshift":"push";return e.split(" ").forEach(function(d){i.eventsListeners[d]||(i.eventsListeners[d]=[]),i.eventsListeners[d][s](n)}),i},once:function(e,n,r){var i=this;if(typeof n!="function")return i;function s(){i.off(e,s),s.__emitterProxy&&delete s.__emitterProxy;for(var d=arguments.length,h=new Array(d),c=0;c<d;c++)h[c]=arguments[c];n.apply(i,h)}return s.__emitterProxy=n,i.on(e,s,r)},onAny:function(e,n){var r=this;if(typeof e!="function")return r;var i=n?"unshift":"push";return r.eventsAnyListeners.indexOf(e)<0&&r.eventsAnyListeners[i](e),r},offAny:function(e){var n=this;if(!n.eventsAnyListeners)return n;var r=n.eventsAnyListeners.indexOf(e);return r>=0&&n.eventsAnyListeners.splice(r,1),n},off:function(e,n){var r=this;return r.eventsListeners&&e.split(" ").forEach(function(i){typeof n>"u"?r.eventsListeners[i]=[]:r.eventsListeners[i]&&r.eventsListeners[i].forEach(function(s,d){(s===n||s.__emitterProxy&&s.__emitterProxy===n)&&r.eventsListeners[i].splice(d,1)})}),r},emit:function(){var e=this;if(!e.eventsListeners)return e;for(var n,r,i,s=arguments.length,d=new Array(s),h=0;h<s;h++)d[h]=arguments[h];typeof d[0]=="string"||Array.isArray(d[0])?(n=d[0],r=d.slice(1,d.length),i=e):(n=d[0].events,r=d[0].data,i=d[0].context||e),r.unshift(i);var c=Array.isArray(n)?n:n.split(" ");return c.forEach(function(m){e.eventsAnyListeners&&e.eventsAnyListeners.length&&e.eventsAnyListeners.forEach(function(a){a.apply(i,[m].concat(r))}),e.eventsListeners&&e.eventsListeners[m]&&e.eventsListeners[m].forEach(function(a){a.apply(i,r)})}),e}};function X1(){var t=this,e,n,r=t.$el;typeof t.params.width<"u"&&t.params.width!==null?e=t.params.width:e=r[0].clientWidth,typeof t.params.height<"u"&&t.params.height!==null?n=t.params.height:n=r[0].clientHeight,!(e===0&&t.isHorizontal()||n===0&&t.isVertical())&&(e=e-parseInt(r.css("padding-left")||0,10)-parseInt(r.css("padding-right")||0,10),n=n-parseInt(r.css("padding-top")||0,10)-parseInt(r.css("padding-bottom")||0,10),Number.isNaN(e)&&(e=0),Number.isNaN(n)&&(n=0),Ge(t,{width:e,height:n,size:t.isHorizontal()?e:n}))}function q1(){var t=this;function e(ce){return t.isHorizontal()?ce:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[ce]}function n(ce,me){return parseFloat(ce.getPropertyValue(e(me))||0)}var r=t.params,i=t.$wrapperEl,s=t.size,d=t.rtlTranslate,h=t.wrongRTL,c=t.virtual&&r.virtual.enabled,m=c?t.virtual.slides.length:t.slides.length,a=i.children("."+t.params.slideClass),o=c?t.virtual.slides.length:a.length,u=[],f=[],p=[],g=r.slidesOffsetBefore;typeof g=="function"&&(g=r.slidesOffsetBefore.call(t));var v=r.slidesOffsetAfter;typeof v=="function"&&(v=r.slidesOffsetAfter.call(t));var y=t.snapGrid.length,x=t.slidesGrid.length,T=r.spaceBetween,k=-g,b=0,C=0;if(!(typeof s>"u")){typeof T=="string"&&T.indexOf("%")>=0&&(T=parseFloat(T.replace("%",""))/100*s),t.virtualSize=-T,d?a.css({marginLeft:"",marginBottom:"",marginTop:""}):a.css({marginRight:"",marginBottom:"",marginTop:""});var $;r.slidesPerColumn>1&&(Math.floor(o/r.slidesPerColumn)===o/t.params.slidesPerColumn?$=o:$=Math.ceil(o/r.slidesPerColumn)*r.slidesPerColumn,r.slidesPerView!=="auto"&&r.slidesPerColumnFill==="row"&&($=Math.max($,r.slidesPerView*r.slidesPerColumn)));for(var _,S=r.slidesPerColumn,w=$/S,E=Math.floor(o/r.slidesPerColumn),A=0;A<o;A+=1){_=0;var O=a.eq(A);if(r.slidesPerColumn>1){var L=void 0,M=void 0,R=void 0;if(r.slidesPerColumnFill==="row"&&r.slidesPerGroup>1){var D=Math.floor(A/(r.slidesPerGroup*r.slidesPerColumn)),B=A-r.slidesPerColumn*r.slidesPerGroup*D,P=D===0?r.slidesPerGroup:Math.min(Math.ceil((o-D*S*r.slidesPerGroup)/S),r.slidesPerGroup);R=Math.floor(B/P),M=B-R*P+D*r.slidesPerGroup,L=M+R*$/S,O.css({"-webkit-box-ordinal-group":L,"-moz-box-ordinal-group":L,"-ms-flex-order":L,"-webkit-order":L,order:L})}else r.slidesPerColumnFill==="column"?(M=Math.floor(A/S),R=A-M*S,(M>E||M===E&&R===S-1)&&(R+=1,R>=S&&(R=0,M+=1))):(R=Math.floor(A/w),M=A-R*w);O.css(e("margin-top"),R!==0?r.spaceBetween&&r.spaceBetween+"px":"")}if(O.css("display")!=="none"){if(r.slidesPerView==="auto"){var H=getComputedStyle(O[0]),Y=O[0].style.transform,G=O[0].style.webkitTransform;if(Y&&(O[0].style.transform="none"),G&&(O[0].style.webkitTransform="none"),r.roundLengths)_=t.isHorizontal()?O.outerWidth(!0):O.outerHeight(!0);else{var V=n(H,"width"),z=n(H,"padding-left"),X=n(H,"padding-right"),q=n(H,"margin-left"),ne=n(H,"margin-right"),U=H.getPropertyValue("box-sizing");if(U&&U==="border-box")_=V+q+ne;else{var Z=O[0],Q=Z.clientWidth,se=Z.offsetWidth;_=V+z+X+q+ne+(se-Q)}}Y&&(O[0].style.transform=Y),G&&(O[0].style.webkitTransform=G),r.roundLengths&&(_=Math.floor(_))}else _=(s-(r.slidesPerView-1)*T)/r.slidesPerView,r.roundLengths&&(_=Math.floor(_)),a[A]&&(a[A].style[e("width")]=_+"px");a[A]&&(a[A].swiperSlideSize=_),p.push(_),r.centeredSlides?(k=k+_/2+b/2+T,b===0&&A!==0&&(k=k-s/2-T),A===0&&(k=k-s/2-T),Math.abs(k)<1/1e3&&(k=0),r.roundLengths&&(k=Math.floor(k)),C%r.slidesPerGroup===0&&u.push(k),f.push(k)):(r.roundLengths&&(k=Math.floor(k)),(C-Math.min(t.params.slidesPerGroupSkip,C))%t.params.slidesPerGroup===0&&u.push(k),f.push(k),k=k+_+T),t.virtualSize+=_+T,b=_,C+=1}}t.virtualSize=Math.max(t.virtualSize,s)+v;var de;if(d&&h&&(r.effect==="slide"||r.effect==="coverflow")&&i.css({width:t.virtualSize+r.spaceBetween+"px"}),r.setWrapperSize){var I;i.css((I={},I[e("width")]=t.virtualSize+r.spaceBetween+"px",I))}if(r.slidesPerColumn>1){var N;if(t.virtualSize=(_+r.spaceBetween)*$,t.virtualSize=Math.ceil(t.virtualSize/r.slidesPerColumn)-r.spaceBetween,i.css((N={},N[e("width")]=t.virtualSize+r.spaceBetween+"px",N)),r.centeredSlides){de=[];for(var j=0;j<u.length;j+=1){var te=u[j];r.roundLengths&&(te=Math.floor(te)),u[j]<t.virtualSize+u[0]&&de.push(te)}u=de}}if(!r.centeredSlides){de=[];for(var he=0;he<u.length;he+=1){var ve=u[he];r.roundLengths&&(ve=Math.floor(ve)),u[he]<=t.virtualSize-s&&de.push(ve)}u=de,Math.floor(t.virtualSize-s)-Math.floor(u[u.length-1])>1&&u.push(t.virtualSize-s)}if(u.length===0&&(u=[0]),r.spaceBetween!==0){var Xe,Je=t.isHorizontal()&&d?"marginLeft":e("marginRight");a.filter(function(ce,me){return r.cssMode?me!==a.length-1:!0}).css((Xe={},Xe[Je]=T+"px",Xe))}if(r.centeredSlides&&r.centeredSlidesBounds){var K=0;p.forEach(function(ce){K+=ce+(r.spaceBetween?r.spaceBetween:0)}),K-=r.spaceBetween;var re=K-s;u=u.map(function(ce){return ce<0?-g:ce>re?re+v:ce})}if(r.centerInsufficientSlides){var W=0;if(p.forEach(function(ce){W+=ce+(r.spaceBetween?r.spaceBetween:0)}),W-=r.spaceBetween,W<s){var J=(s-W)/2;u.forEach(function(ce,me){u[me]=ce-J}),f.forEach(function(ce,me){f[me]=ce+J})}}Ge(t,{slides:a,snapGrid:u,slidesGrid:f,slidesSizesGrid:p}),o!==m&&t.emit("slidesLengthChange"),u.length!==y&&(t.params.watchOverflow&&t.checkOverflow(),t.emit("snapGridLengthChange")),f.length!==x&&t.emit("slidesGridLengthChange"),(r.watchSlidesProgress||r.watchSlidesVisibility)&&t.updateSlidesOffset()}}function Q1(t){var e=this,n=[],r=e.virtual&&e.params.virtual.enabled,i=0,s;typeof t=="number"?e.setTransition(t):t===!0&&e.setTransition(e.params.speed);var d=function(a){return r?e.slides.filter(function(o){return parseInt(o.getAttribute("data-swiper-slide-index"),10)===a})[0]:e.slides.eq(a)[0]};if(e.params.slidesPerView!=="auto"&&e.params.slidesPerView>1)if(e.params.centeredSlides)e.visibleSlides.each(function(m){n.push(m)});else for(s=0;s<Math.ceil(e.params.slidesPerView);s+=1){var h=e.activeIndex+s;if(h>e.slides.length&&!r)break;n.push(d(h))}else n.push(d(e.activeIndex));for(s=0;s<n.length;s+=1)if(typeof n[s]<"u"){var c=n[s].offsetHeight;i=c>i?c:i}i&&e.$wrapperEl.css("height",i+"px")}function Z1(){for(var t=this,e=t.slides,n=0;n<e.length;n+=1)e[n].swiperSlideOffset=t.isHorizontal()?e[n].offsetLeft:e[n].offsetTop}function e_(t){t===void 0&&(t=this&&this.translate||0);var e=this,n=e.params,r=e.slides,i=e.rtlTranslate;if(r.length!==0){typeof r[0].swiperSlideOffset>"u"&&e.updateSlidesOffset();var s=-t;i&&(s=t),r.removeClass(n.slideVisibleClass),e.visibleSlidesIndexes=[],e.visibleSlides=[];for(var d=0;d<r.length;d+=1){var h=r[d],c=(s+(n.centeredSlides?e.minTranslate():0)-h.swiperSlideOffset)/(h.swiperSlideSize+n.spaceBetween);if(n.watchSlidesVisibility||n.centeredSlides&&n.autoHeight){var m=-(s-h.swiperSlideOffset),a=m+e.slidesSizesGrid[d],o=m>=0&&m<e.size-1||a>1&&a<=e.size||m<=0&&a>=e.size;o&&(e.visibleSlides.push(h),e.visibleSlidesIndexes.push(d),r.eq(d).addClass(n.slideVisibleClass))}h.progress=i?-c:c}e.visibleSlides=ue(e.visibleSlides)}}function t_(t){var e=this;if(typeof t>"u"){var n=e.rtlTranslate?-1:1;t=e&&e.translate&&e.translate*n||0}var r=e.params,i=e.maxTranslate()-e.minTranslate(),s=e.progress,d=e.isBeginning,h=e.isEnd,c=d,m=h;i===0?(s=0,d=!0,h=!0):(s=(t-e.minTranslate())/i,d=s<=0,h=s>=1),Ge(e,{progress:s,isBeginning:d,isEnd:h}),(r.watchSlidesProgress||r.watchSlidesVisibility||r.centeredSlides&&r.autoHeight)&&e.updateSlidesProgress(t),d&&!c&&e.emit("reachBeginning toEdge"),h&&!m&&e.emit("reachEnd toEdge"),(c&&!d||m&&!h)&&e.emit("fromEdge"),e.emit("progress",s)}function n_(){var t=this,e=t.slides,n=t.params,r=t.$wrapperEl,i=t.activeIndex,s=t.realIndex,d=t.virtual&&n.virtual.enabled;e.removeClass(n.slideActiveClass+" "+n.slideNextClass+" "+n.slidePrevClass+" "+n.slideDuplicateActiveClass+" "+n.slideDuplicateNextClass+" "+n.slideDuplicatePrevClass);var h;d?h=t.$wrapperEl.find("."+n.slideClass+'[data-swiper-slide-index="'+i+'"]'):h=e.eq(i),h.addClass(n.slideActiveClass),n.loop&&(h.hasClass(n.slideDuplicateClass)?r.children("."+n.slideClass+":not(."+n.slideDuplicateClass+')[data-swiper-slide-index="'+s+'"]').addClass(n.slideDuplicateActiveClass):r.children("."+n.slideClass+"."+n.slideDuplicateClass+'[data-swiper-slide-index="'+s+'"]').addClass(n.slideDuplicateActiveClass));var c=h.nextAll("."+n.slideClass).eq(0).addClass(n.slideNextClass);n.loop&&c.length===0&&(c=e.eq(0),c.addClass(n.slideNextClass));var m=h.prevAll("."+n.slideClass).eq(0).addClass(n.slidePrevClass);n.loop&&m.length===0&&(m=e.eq(-1),m.addClass(n.slidePrevClass)),n.loop&&(c.hasClass(n.slideDuplicateClass)?r.children("."+n.slideClass+":not(."+n.slideDuplicateClass+')[data-swiper-slide-index="'+c.attr("data-swiper-slide-index")+'"]').addClass(n.slideDuplicateNextClass):r.children("."+n.slideClass+"."+n.slideDuplicateClass+'[data-swiper-slide-index="'+c.attr("data-swiper-slide-index")+'"]').addClass(n.slideDuplicateNextClass),m.hasClass(n.slideDuplicateClass)?r.children("."+n.slideClass+":not(."+n.slideDuplicateClass+')[data-swiper-slide-index="'+m.attr("data-swiper-slide-index")+'"]').addClass(n.slideDuplicatePrevClass):r.children("."+n.slideClass+"."+n.slideDuplicateClass+'[data-swiper-slide-index="'+m.attr("data-swiper-slide-index")+'"]').addClass(n.slideDuplicatePrevClass)),t.emitSlidesClasses()}function r_(t){var e=this,n=e.rtlTranslate?e.translate:-e.translate,r=e.slidesGrid,i=e.snapGrid,s=e.params,d=e.activeIndex,h=e.realIndex,c=e.snapIndex,m=t,a;if(typeof m>"u"){for(var o=0;o<r.length;o+=1)typeof r[o+1]<"u"?n>=r[o]&&n<r[o+1]-(r[o+1]-r[o])/2?m=o:n>=r[o]&&n<r[o+1]&&(m=o+1):n>=r[o]&&(m=o);s.normalizeSlideIndex&&(m<0||typeof m>"u")&&(m=0)}if(i.indexOf(n)>=0)a=i.indexOf(n);else{var u=Math.min(s.slidesPerGroupSkip,m);a=u+Math.floor((m-u)/s.slidesPerGroup)}if(a>=i.length&&(a=i.length-1),m===d){a!==c&&(e.snapIndex=a,e.emit("snapIndexChange"));return}var f=parseInt(e.slides.eq(m).attr("data-swiper-slide-index")||m,10);Ge(e,{snapIndex:a,realIndex:f,previousIndex:d,activeIndex:m}),e.emit("activeIndexChange"),e.emit("snapIndexChange"),h!==f&&e.emit("realIndexChange"),(e.initialized||e.params.runCallbacksOnInit)&&e.emit("slideChange")}function i_(t){var e=this,n=e.params,r=ue(t.target).closest("."+n.slideClass)[0],i=!1,s;if(r){for(var d=0;d<e.slides.length;d+=1)if(e.slides[d]===r){i=!0,s=d;break}}if(r&&i)e.clickedSlide=r,e.virtual&&e.params.virtual.enabled?e.clickedIndex=parseInt(ue(r).attr("data-swiper-slide-index"),10):e.clickedIndex=s;else{e.clickedSlide=void 0,e.clickedIndex=void 0;return}n.slideToClickedSlide&&e.clickedIndex!==void 0&&e.clickedIndex!==e.activeIndex&&e.slideToClickedSlide()}const s_={updateSize:X1,updateSlides:q1,updateAutoHeight:Q1,updateSlidesOffset:Z1,updateSlidesProgress:e_,updateProgress:t_,updateSlidesClasses:n_,updateActiveIndex:r_,updateClickedSlide:i_};function o_(t){t===void 0&&(t=this.isHorizontal()?"x":"y");var e=this,n=e.params,r=e.rtlTranslate,i=e.translate,s=e.$wrapperEl;if(n.virtualTranslate)return r?-i:i;if(n.cssMode)return i;var d=D1(s[0],t);return r&&(d=-d),d||0}function a_(t,e){var n=this,r=n.rtlTranslate,i=n.params,s=n.$wrapperEl,d=n.wrapperEl,h=n.progress,c=0,m=0,a=0;n.isHorizontal()?c=r?-t:t:m=t,i.roundLengths&&(c=Math.floor(c),m=Math.floor(m)),i.cssMode?d[n.isHorizontal()?"scrollLeft":"scrollTop"]=n.isHorizontal()?-c:-m:i.virtualTranslate||s.transform("translate3d("+c+"px, "+m+"px, "+a+"px)"),n.previousTranslate=n.translate,n.translate=n.isHorizontal()?c:m;var o,u=n.maxTranslate()-n.minTranslate();u===0?o=0:o=(t-n.minTranslate())/u,o!==h&&n.updateProgress(t),n.emit("setTranslate",n.translate,e)}function l_(){return-this.snapGrid[0]}function c_(){return-this.snapGrid[this.snapGrid.length-1]}function u_(t,e,n,r,i){t===void 0&&(t=0),e===void 0&&(e=this.params.speed),n===void 0&&(n=!0),r===void 0&&(r=!0);var s=this,d=s.params,h=s.wrapperEl;if(s.animating&&d.preventInteractionOnTransition)return!1;var c=s.minTranslate(),m=s.maxTranslate(),a;if(r&&t>c?a=c:r&&t<m?a=m:a=t,s.updateProgress(a),d.cssMode){var o=s.isHorizontal();if(e===0)h[o?"scrollLeft":"scrollTop"]=-a;else if(h.scrollTo){var u;h.scrollTo((u={},u[o?"left":"top"]=-a,u.behavior="smooth",u))}else h[o?"scrollLeft":"scrollTop"]=-a;return!0}return e===0?(s.setTransition(0),s.setTranslate(a),n&&(s.emit("beforeTransitionStart",e,i),s.emit("transitionEnd"))):(s.setTransition(e),s.setTranslate(a),n&&(s.emit("beforeTransitionStart",e,i),s.emit("transitionStart")),s.animating||(s.animating=!0,s.onTranslateToWrapperTransitionEnd||(s.onTranslateToWrapperTransitionEnd=function(p){!s||s.destroyed||p.target===this&&(s.$wrapperEl[0].removeEventListener("transitionend",s.onTranslateToWrapperTransitionEnd),s.$wrapperEl[0].removeEventListener("webkitTransitionEnd",s.onTranslateToWrapperTransitionEnd),s.onTranslateToWrapperTransitionEnd=null,delete s.onTranslateToWrapperTransitionEnd,n&&s.emit("transitionEnd"))}),s.$wrapperEl[0].addEventListener("transitionend",s.onTranslateToWrapperTransitionEnd),s.$wrapperEl[0].addEventListener("webkitTransitionEnd",s.onTranslateToWrapperTransitionEnd))),!0}const h_={getTranslate:o_,setTranslate:a_,minTranslate:l_,maxTranslate:c_,translateTo:u_};function d_(t,e){var n=this;n.params.cssMode||n.$wrapperEl.transition(t),n.emit("setTransition",t,e)}function f_(t,e){t===void 0&&(t=!0);var n=this,r=n.activeIndex,i=n.params,s=n.previousIndex;if(!i.cssMode){i.autoHeight&&n.updateAutoHeight();var d=e;if(d||(r>s?d="next":r<s?d="prev":d="reset"),n.emit("transitionStart"),t&&r!==s){if(d==="reset"){n.emit("slideResetTransitionStart");return}n.emit("slideChangeTransitionStart"),d==="next"?n.emit("slideNextTransitionStart"):n.emit("slidePrevTransitionStart")}}}function m_(t,e){t===void 0&&(t=!0);var n=this,r=n.activeIndex,i=n.previousIndex,s=n.params;if(n.animating=!1,!s.cssMode){n.setTransition(0);var d=e;if(d||(r>i?d="next":r<i?d="prev":d="reset"),n.emit("transitionEnd"),t&&r!==i){if(d==="reset"){n.emit("slideResetTransitionEnd");return}n.emit("slideChangeTransitionEnd"),d==="next"?n.emit("slideNextTransitionEnd"):n.emit("slidePrevTransitionEnd")}}}const p_={setTransition:d_,transitionStart:f_,transitionEnd:m_};function g_(t,e,n,r,i){if(t===void 0&&(t=0),e===void 0&&(e=this.params.speed),n===void 0&&(n=!0),typeof t!="number"&&typeof t!="string")throw new Error("The 'index' argument cannot have type other than 'number' or 'string'. ["+typeof t+"] given.");if(typeof t=="string"){var s=parseInt(t,10),d=isFinite(s);if(!d)throw new Error("The passed-in 'index' (string) couldn't be converted to 'number'. ["+t+"] given.");t=s}var h=this,c=t;c<0&&(c=0);var m=h.params,a=h.snapGrid,o=h.slidesGrid,u=h.previousIndex,f=h.activeIndex,p=h.rtlTranslate,g=h.wrapperEl,v=h.enabled;if(h.animating&&m.preventInteractionOnTransition||!v&&!r&&!i)return!1;var y=Math.min(h.params.slidesPerGroupSkip,c),x=y+Math.floor((c-y)/h.params.slidesPerGroup);x>=a.length&&(x=a.length-1),(f||m.initialSlide||0)===(u||0)&&n&&h.emit("beforeSlideChangeStart");var T=-a[x];if(h.updateProgress(T),m.normalizeSlideIndex)for(var k=0;k<o.length;k+=1){var b=-Math.floor(T*100),C=Math.floor(o[k]*100),$=Math.floor(o[k+1]*100);typeof o[k+1]<"u"?b>=C&&b<$-($-C)/2?c=k:b>=C&&b<$&&(c=k+1):b>=C&&(c=k)}if(h.initialized&&c!==f&&(!h.allowSlideNext&&T<h.translate&&T<h.minTranslate()||!h.allowSlidePrev&&T>h.translate&&T>h.maxTranslate()&&(f||0)!==c))return!1;var _;if(c>f?_="next":c<f?_="prev":_="reset",p&&-T===h.translate||!p&&T===h.translate)return h.updateActiveIndex(c),m.autoHeight&&h.updateAutoHeight(),h.updateSlidesClasses(),m.effect!=="slide"&&h.setTranslate(T),_!=="reset"&&(h.transitionStart(n,_),h.transitionEnd(n,_)),!1;if(m.cssMode){var S=h.isHorizontal(),w=-T;if(p&&(w=g.scrollWidth-g.offsetWidth-w),e===0)g[S?"scrollLeft":"scrollTop"]=w;else if(g.scrollTo){var E;g.scrollTo((E={},E[S?"left":"top"]=w,E.behavior="smooth",E))}else g[S?"scrollLeft":"scrollTop"]=w;return!0}return e===0?(h.setTransition(0),h.setTranslate(T),h.updateActiveIndex(c),h.updateSlidesClasses(),h.emit("beforeTransitionStart",e,r),h.transitionStart(n,_),h.transitionEnd(n,_)):(h.setTransition(e),h.setTranslate(T),h.updateActiveIndex(c),h.updateSlidesClasses(),h.emit("beforeTransitionStart",e,r),h.transitionStart(n,_),h.animating||(h.animating=!0,h.onSlideToWrapperTransitionEnd||(h.onSlideToWrapperTransitionEnd=function(O){!h||h.destroyed||O.target===this&&(h.$wrapperEl[0].removeEventListener("transitionend",h.onSlideToWrapperTransitionEnd),h.$wrapperEl[0].removeEventListener("webkitTransitionEnd",h.onSlideToWrapperTransitionEnd),h.onSlideToWrapperTransitionEnd=null,delete h.onSlideToWrapperTransitionEnd,h.transitionEnd(n,_))}),h.$wrapperEl[0].addEventListener("transitionend",h.onSlideToWrapperTransitionEnd),h.$wrapperEl[0].addEventListener("webkitTransitionEnd",h.onSlideToWrapperTransitionEnd))),!0}function v_(t,e,n,r){t===void 0&&(t=0),e===void 0&&(e=this.params.speed),n===void 0&&(n=!0);var i=this,s=t;return i.params.loop&&(s+=i.loopedSlides),i.slideTo(s,e,n,r)}function w_(t,e,n){t===void 0&&(t=this.params.speed),e===void 0&&(e=!0);var r=this,i=r.params,s=r.animating,d=r.enabled;if(!d)return r;var h=r.activeIndex<i.slidesPerGroupSkip?1:i.slidesPerGroup;if(i.loop){if(s&&i.loopPreventsSlide)return!1;r.loopFix(),r._clientLeft=r.$wrapperEl[0].clientLeft}return r.slideTo(r.activeIndex+h,t,e,n)}function y_(t,e,n){t===void 0&&(t=this.params.speed),e===void 0&&(e=!0);var r=this,i=r.params,s=r.animating,d=r.snapGrid,h=r.slidesGrid,c=r.rtlTranslate,m=r.enabled;if(!m)return r;if(i.loop){if(s&&i.loopPreventsSlide)return!1;r.loopFix(),r._clientLeft=r.$wrapperEl[0].clientLeft}var a=c?r.translate:-r.translate;function o(v){return v<0?-Math.floor(Math.abs(v)):Math.floor(v)}var u=o(a),f=d.map(function(v){return o(v)}),p=d[f.indexOf(u)-1];typeof p>"u"&&i.cssMode&&d.forEach(function(v){!p&&u>=v&&(p=v)});var g;return typeof p<"u"&&(g=h.indexOf(p),g<0&&(g=r.activeIndex-1)),r.slideTo(g,t,e,n)}function b_(t,e,n){t===void 0&&(t=this.params.speed),e===void 0&&(e=!0);var r=this;return r.slideTo(r.activeIndex,t,e,n)}function S_(t,e,n,r){t===void 0&&(t=this.params.speed),e===void 0&&(e=!0),r===void 0&&(r=.5);var i=this,s=i.activeIndex,d=Math.min(i.params.slidesPerGroupSkip,s),h=d+Math.floor((s-d)/i.params.slidesPerGroup),c=i.rtlTranslate?i.translate:-i.translate;if(c>=i.snapGrid[h]){var m=i.snapGrid[h],a=i.snapGrid[h+1];c-m>(a-m)*r&&(s+=i.params.slidesPerGroup)}else{var o=i.snapGrid[h-1],u=i.snapGrid[h];c-o<=(u-o)*r&&(s-=i.params.slidesPerGroup)}return s=Math.max(s,0),s=Math.min(s,i.slidesGrid.length-1),i.slideTo(s,t,e,n)}function x_(){var t=this,e=t.params,n=t.$wrapperEl,r=e.slidesPerView==="auto"?t.slidesPerViewDynamic():e.slidesPerView,i=t.clickedIndex,s;if(e.loop){if(t.animating)return;s=parseInt(ue(t.clickedSlide).attr("data-swiper-slide-index"),10),e.centeredSlides?i<t.loopedSlides-r/2||i>t.slides.length-t.loopedSlides+r/2?(t.loopFix(),i=n.children("."+e.slideClass+'[data-swiper-slide-index="'+s+'"]:not(.'+e.slideDuplicateClass+")").eq(0).index(),vl(function(){t.slideTo(i)})):t.slideTo(i):i>t.slides.length-r?(t.loopFix(),i=n.children("."+e.slideClass+'[data-swiper-slide-index="'+s+'"]:not(.'+e.slideDuplicateClass+")").eq(0).index(),vl(function(){t.slideTo(i)})):t.slideTo(i)}else t.slideTo(i)}const k_={slideTo:g_,slideToLoop:v_,slideNext:w_,slidePrev:y_,slideReset:b_,slideToClosest:S_,slideToClickedSlide:x_};function C_(){var t=this,e=bt(),n=t.params,r=t.$wrapperEl;r.children("."+n.slideClass+"."+n.slideDuplicateClass).remove();var i=r.children("."+n.slideClass);if(n.loopFillGroupWithBlank){var s=n.slidesPerGroup-i.length%n.slidesPerGroup;if(s!==n.slidesPerGroup){for(var d=0;d<s;d+=1){var h=ue(e.createElement("div")).addClass(n.slideClass+" "+n.slideBlankClass);r.append(h)}i=r.children("."+n.slideClass)}}n.slidesPerView==="auto"&&!n.loopedSlides&&(n.loopedSlides=i.length),t.loopedSlides=Math.ceil(parseFloat(n.loopedSlides||n.slidesPerView,10)),t.loopedSlides+=n.loopAdditionalSlides,t.loopedSlides>i.length&&(t.loopedSlides=i.length);var c=[],m=[];i.each(function(u,f){var p=ue(u);f<t.loopedSlides&&m.push(u),f<i.length&&f>=i.length-t.loopedSlides&&c.push(u),p.attr("data-swiper-slide-index",f)});for(var a=0;a<m.length;a+=1)r.append(ue(m[a].cloneNode(!0)).addClass(n.slideDuplicateClass));for(var o=c.length-1;o>=0;o-=1)r.prepend(ue(c[o].cloneNode(!0)).addClass(n.slideDuplicateClass))}function E_(){var t=this;t.emit("beforeLoopFix");var e=t.activeIndex,n=t.slides,r=t.loopedSlides,i=t.allowSlidePrev,s=t.allowSlideNext,d=t.snapGrid,h=t.rtlTranslate,c;t.allowSlidePrev=!0,t.allowSlideNext=!0;var m=-d[e],a=m-t.getTranslate();if(e<r){c=n.length-r*3+e,c+=r;var o=t.slideTo(c,0,!1,!0);o&&a!==0&&t.setTranslate((h?-t.translate:t.translate)-a)}else if(e>=n.length-r){c=-n.length+e+r,c+=r;var u=t.slideTo(c,0,!1,!0);u&&a!==0&&t.setTranslate((h?-t.translate:t.translate)-a)}t.allowSlidePrev=i,t.allowSlideNext=s,t.emit("loopFix")}function __(){var t=this,e=t.$wrapperEl,n=t.params,r=t.slides;e.children("."+n.slideClass+"."+n.slideDuplicateClass+",."+n.slideClass+"."+n.slideBlankClass).remove(),r.removeAttr("data-swiper-slide-index")}const T_={loopCreate:C_,loopFix:E_,loopDestroy:__};function A_(t){var e=this;if(!(e.support.touch||!e.params.simulateTouch||e.params.watchOverflow&&e.isLocked||e.params.cssMode)){var n=e.el;n.style.cursor="move",n.style.cursor=t?"-webkit-grabbing":"-webkit-grab",n.style.cursor=t?"-moz-grabbin":"-moz-grab",n.style.cursor=t?"grabbing":"grab"}}function $_(){var t=this;t.support.touch||t.params.watchOverflow&&t.isLocked||t.params.cssMode||(t.el.style.cursor="")}const O_={setGrabCursor:A_,unsetGrabCursor:$_};function L_(t){var e=this,n=e.$wrapperEl,r=e.params;if(r.loop&&e.loopDestroy(),typeof t=="object"&&"length"in t)for(var i=0;i<t.length;i+=1)t[i]&&n.append(t[i]);else n.append(t);r.loop&&e.loopCreate(),r.observer&&e.support.observer||e.update()}function M_(t){var e=this,n=e.params,r=e.$wrapperEl,i=e.activeIndex;n.loop&&e.loopDestroy();var s=i+1;if(typeof t=="object"&&"length"in t){for(var d=0;d<t.length;d+=1)t[d]&&r.prepend(t[d]);s=i+t.length}else r.prepend(t);n.loop&&e.loopCreate(),n.observer&&e.support.observer||e.update(),e.slideTo(s,0,!1)}function R_(t,e){var n=this,r=n.$wrapperEl,i=n.params,s=n.activeIndex,d=s;i.loop&&(d-=n.loopedSlides,n.loopDestroy(),n.slides=r.children("."+i.slideClass));var h=n.slides.length;if(t<=0){n.prependSlide(e);return}if(t>=h){n.appendSlide(e);return}for(var c=d>t?d+1:d,m=[],a=h-1;a>=t;a-=1){var o=n.slides.eq(a);o.remove(),m.unshift(o)}if(typeof e=="object"&&"length"in e){for(var u=0;u<e.length;u+=1)e[u]&&r.append(e[u]);c=d>t?d+e.length:d}else r.append(e);for(var f=0;f<m.length;f+=1)r.append(m[f]);i.loop&&n.loopCreate(),i.observer&&n.support.observer||n.update(),i.loop?n.slideTo(c+n.loopedSlides,0,!1):n.slideTo(c,0,!1)}function N_(t){var e=this,n=e.params,r=e.$wrapperEl,i=e.activeIndex,s=i;n.loop&&(s-=e.loopedSlides,e.loopDestroy(),e.slides=r.children("."+n.slideClass));var d=s,h;if(typeof t=="object"&&"length"in t){for(var c=0;c<t.length;c+=1)h=t[c],e.slides[h]&&e.slides.eq(h).remove(),h<d&&(d-=1);d=Math.max(d,0)}else h=t,e.slides[h]&&e.slides.eq(h).remove(),h<d&&(d-=1),d=Math.max(d,0);n.loop&&e.loopCreate(),n.observer&&e.support.observer||e.update(),n.loop?e.slideTo(d+e.loopedSlides,0,!1):e.slideTo(d,0,!1)}function I_(){for(var t=this,e=[],n=0;n<t.slides.length;n+=1)e.push(n);t.removeSlide(e)}const D_={appendSlide:L_,prependSlide:M_,addSlide:R_,removeSlide:N_,removeAllSlides:I_};function P_(t,e){e===void 0&&(e=this);function n(r){if(!r||r===bt()||r===nt())return null;r.assignedSlot&&(r=r.assignedSlot);var i=r.closest(t);return i||n(r.getRootNode().host)}return n(e)}function B_(t){var e=this,n=bt(),r=nt(),i=e.touchEventsData,s=e.params,d=e.touches,h=e.enabled;if(!!h&&!(e.animating&&s.preventInteractionOnTransition)){var c=t;c.originalEvent&&(c=c.originalEvent);var m=ue(c.target);if(!(s.touchEventsTarget==="wrapper"&&!m.closest(e.wrapperEl).length)&&(i.isTouchEvent=c.type==="touchstart",!(!i.isTouchEvent&&"which"in c&&c.which===3)&&!(!i.isTouchEvent&&"button"in c&&c.button>0)&&!(i.isTouched&&i.isMoved))){var a=!!s.noSwipingClass&&s.noSwipingClass!=="";a&&c.target&&c.target.shadowRoot&&t.path&&t.path[0]&&(m=ue(t.path[0]));var o=s.noSwipingSelector?s.noSwipingSelector:"."+s.noSwipingClass,u=!!(c.target&&c.target.shadowRoot);if(s.noSwiping&&(u?P_(o,c.target):m.closest(o)[0])){e.allowClick=!0;return}if(!(s.swipeHandler&&!m.closest(s.swipeHandler)[0])){d.currentX=c.type==="touchstart"?c.targetTouches[0].pageX:c.pageX,d.currentY=c.type==="touchstart"?c.targetTouches[0].pageY:c.pageY;var f=d.currentX,p=d.currentY,g=s.edgeSwipeDetection||s.iOSEdgeSwipeDetection,v=s.edgeSwipeThreshold||s.iOSEdgeSwipeThreshold;if(g&&(f<=v||f>=r.innerWidth-v))if(g==="prevent")t.preventDefault();else return;if(Ge(i,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),d.startX=f,d.startY=p,i.touchStartTime=Wn(),e.allowClick=!0,e.updateSize(),e.swipeDirection=void 0,s.threshold>0&&(i.allowThresholdMove=!1),c.type!=="touchstart"){var y=!0;m.is(i.focusableElements)&&(y=!1),n.activeElement&&ue(n.activeElement).is(i.focusableElements)&&n.activeElement!==m[0]&&n.activeElement.blur();var x=y&&e.allowTouchMove&&s.touchStartPreventDefault;(s.touchStartForcePreventDefault||x)&&!m[0].isContentEditable&&c.preventDefault()}e.emit("touchStart",c)}}}}function F_(t){var e=bt(),n=this,r=n.touchEventsData,i=n.params,s=n.touches,d=n.rtlTranslate,h=n.enabled;if(!!h){var c=t;if(c.originalEvent&&(c=c.originalEvent),!r.isTouched){r.startMoving&&r.isScrolling&&n.emit("touchMoveOpposite",c);return}if(!(r.isTouchEvent&&c.type!=="touchmove")){var m=c.type==="touchmove"&&c.targetTouches&&(c.targetTouches[0]||c.changedTouches[0]),a=c.type==="touchmove"?m.pageX:c.pageX,o=c.type==="touchmove"?m.pageY:c.pageY;if(c.preventedByNestedSwiper){s.startX=a,s.startY=o;return}if(!n.allowTouchMove){n.allowClick=!1,r.isTouched&&(Ge(s,{startX:a,startY:o,currentX:a,currentY:o}),r.touchStartTime=Wn());return}if(r.isTouchEvent&&i.touchReleaseOnEdges&&!i.loop){if(n.isVertical()){if(o<s.startY&&n.translate<=n.maxTranslate()||o>s.startY&&n.translate>=n.minTranslate()){r.isTouched=!1,r.isMoved=!1;return}}else if(a<s.startX&&n.translate<=n.maxTranslate()||a>s.startX&&n.translate>=n.minTranslate())return}if(r.isTouchEvent&&e.activeElement&&c.target===e.activeElement&&ue(c.target).is(r.focusableElements)){r.isMoved=!0,n.allowClick=!1;return}if(r.allowTouchCallbacks&&n.emit("touchMove",c),!(c.targetTouches&&c.targetTouches.length>1)){s.currentX=a,s.currentY=o;var u=s.currentX-s.startX,f=s.currentY-s.startY;if(!(n.params.threshold&&Math.sqrt(Math.pow(u,2)+Math.pow(f,2))<n.params.threshold)){if(typeof r.isScrolling>"u"){var p;n.isHorizontal()&&s.currentY===s.startY||n.isVertical()&&s.currentX===s.startX?r.isScrolling=!1:u*u+f*f>=25&&(p=Math.atan2(Math.abs(f),Math.abs(u))*180/Math.PI,r.isScrolling=n.isHorizontal()?p>i.touchAngle:90-p>i.touchAngle)}if(r.isScrolling&&n.emit("touchMoveOpposite",c),typeof r.startMoving>"u"&&(s.currentX!==s.startX||s.currentY!==s.startY)&&(r.startMoving=!0),r.isScrolling){r.isTouched=!1;return}if(!!r.startMoving){n.allowClick=!1,!i.cssMode&&c.cancelable&&c.preventDefault(),i.touchMoveStopPropagation&&!i.nested&&c.stopPropagation(),r.isMoved||(i.loop&&n.loopFix(),r.startTranslate=n.getTranslate(),n.setTransition(0),n.animating&&n.$wrapperEl.trigger("webkitTransitionEnd transitionend"),r.allowMomentumBounce=!1,i.grabCursor&&(n.allowSlideNext===!0||n.allowSlidePrev===!0)&&n.setGrabCursor(!0),n.emit("sliderFirstMove",c)),n.emit("sliderMove",c),r.isMoved=!0;var g=n.isHorizontal()?u:f;s.diff=g,g*=i.touchRatio,d&&(g=-g),n.swipeDirection=g>0?"prev":"next",r.currentTranslate=g+r.startTranslate;var v=!0,y=i.resistanceRatio;if(i.touchReleaseOnEdges&&(y=0),g>0&&r.currentTranslate>n.minTranslate()?(v=!1,i.resistance&&(r.currentTranslate=n.minTranslate()-1+Math.pow(-n.minTranslate()+r.startTranslate+g,y))):g<0&&r.currentTranslate<n.maxTranslate()&&(v=!1,i.resistance&&(r.currentTranslate=n.maxTranslate()+1-Math.pow(n.maxTranslate()-r.startTranslate-g,y))),v&&(c.preventedByNestedSwiper=!0),!n.allowSlideNext&&n.swipeDirection==="next"&&r.currentTranslate<r.startTranslate&&(r.currentTranslate=r.startTranslate),!n.allowSlidePrev&&n.swipeDirection==="prev"&&r.currentTranslate>r.startTranslate&&(r.currentTranslate=r.startTranslate),!n.allowSlidePrev&&!n.allowSlideNext&&(r.currentTranslate=r.startTranslate),i.threshold>0)if(Math.abs(g)>i.threshold||r.allowThresholdMove){if(!r.allowThresholdMove){r.allowThresholdMove=!0,s.startX=s.currentX,s.startY=s.currentY,r.currentTranslate=r.startTranslate,s.diff=n.isHorizontal()?s.currentX-s.startX:s.currentY-s.startY;return}}else{r.currentTranslate=r.startTranslate;return}!i.followFinger||i.cssMode||((i.freeMode||i.watchSlidesProgress||i.watchSlidesVisibility)&&(n.updateActiveIndex(),n.updateSlidesClasses()),i.freeMode&&(r.velocities.length===0&&r.velocities.push({position:s[n.isHorizontal()?"startX":"startY"],time:r.touchStartTime}),r.velocities.push({position:s[n.isHorizontal()?"currentX":"currentY"],time:Wn()})),n.updateProgress(r.currentTranslate),n.setTranslate(r.currentTranslate))}}}}}}function V_(t){var e=this,n=e.touchEventsData,r=e.params,i=e.touches,s=e.rtlTranslate,d=e.$wrapperEl,h=e.slidesGrid,c=e.snapGrid,m=e.enabled;if(!!m){var a=t;if(a.originalEvent&&(a=a.originalEvent),n.allowTouchCallbacks&&e.emit("touchEnd",a),n.allowTouchCallbacks=!1,!n.isTouched){n.isMoved&&r.grabCursor&&e.setGrabCursor(!1),n.isMoved=!1,n.startMoving=!1;return}r.grabCursor&&n.isMoved&&n.isTouched&&(e.allowSlideNext===!0||e.allowSlidePrev===!0)&&e.setGrabCursor(!1);var o=Wn(),u=o-n.touchStartTime;if(e.allowClick&&(e.updateClickedSlide(a),e.emit("tap click",a),u<300&&o-n.lastClickTime<300&&e.emit("doubleTap doubleClick",a)),n.lastClickTime=Wn(),vl(function(){e.destroyed||(e.allowClick=!0)}),!n.isTouched||!n.isMoved||!e.swipeDirection||i.diff===0||n.currentTranslate===n.startTranslate){n.isTouched=!1,n.isMoved=!1,n.startMoving=!1;return}n.isTouched=!1,n.isMoved=!1,n.startMoving=!1;var f;if(r.followFinger?f=s?e.translate:-e.translate:f=-n.currentTranslate,!r.cssMode){if(r.freeMode){if(f<-e.minTranslate()){e.slideTo(e.activeIndex);return}if(f>-e.maxTranslate()){e.slides.length<c.length?e.slideTo(c.length-1):e.slideTo(e.slides.length-1);return}if(r.freeModeMomentum){if(n.velocities.length>1){var p=n.velocities.pop(),g=n.velocities.pop(),v=p.position-g.position,y=p.time-g.time;e.velocity=v/y,e.velocity/=2,Math.abs(e.velocity)<r.freeModeMinimumVelocity&&(e.velocity=0),(y>150||Wn()-p.time>300)&&(e.velocity=0)}else e.velocity=0;e.velocity*=r.freeModeMomentumVelocityRatio,n.velocities.length=0;var x=1e3*r.freeModeMomentumRatio,T=e.velocity*x,k=e.translate+T;s&&(k=-k);var b=!1,C,$=Math.abs(e.velocity)*20*r.freeModeMomentumBounceRatio,_;if(k<e.maxTranslate())r.freeModeMomentumBounce?(k+e.maxTranslate()<-$&&(k=e.maxTranslate()-$),C=e.maxTranslate(),b=!0,n.allowMomentumBounce=!0):k=e.maxTranslate(),r.loop&&r.centeredSlides&&(_=!0);else if(k>e.minTranslate())r.freeModeMomentumBounce?(k-e.minTranslate()>$&&(k=e.minTranslate()+$),C=e.minTranslate(),b=!0,n.allowMomentumBounce=!0):k=e.minTranslate(),r.loop&&r.centeredSlides&&(_=!0);else if(r.freeModeSticky){for(var S,w=0;w<c.length;w+=1)if(c[w]>-k){S=w;break}Math.abs(c[S]-k)<Math.abs(c[S-1]-k)||e.swipeDirection==="next"?k=c[S]:k=c[S-1],k=-k}if(_&&e.once("transitionEnd",function(){e.loopFix()}),e.velocity!==0){if(s?x=Math.abs((-k-e.translate)/e.velocity):x=Math.abs((k-e.translate)/e.velocity),r.freeModeSticky){var E=Math.abs((s?-k:k)-e.translate),A=e.slidesSizesGrid[e.activeIndex];E<A?x=r.speed:E<2*A?x=r.speed*1.5:x=r.speed*2.5}}else if(r.freeModeSticky){e.slideToClosest();return}r.freeModeMomentumBounce&&b?(e.updateProgress(C),e.setTransition(x),e.setTranslate(k),e.transitionStart(!0,e.swipeDirection),e.animating=!0,d.transitionEnd(function(){!e||e.destroyed||!n.allowMomentumBounce||(e.emit("momentumBounce"),e.setTransition(r.speed),setTimeout(function(){e.setTranslate(C),d.transitionEnd(function(){!e||e.destroyed||e.transitionEnd()})},0))})):e.velocity?(e.updateProgress(k),e.setTransition(x),e.setTranslate(k),e.transitionStart(!0,e.swipeDirection),e.animating||(e.animating=!0,d.transitionEnd(function(){!e||e.destroyed||e.transitionEnd()}))):(e.emit("_freeModeNoMomentumRelease"),e.updateProgress(k)),e.updateActiveIndex(),e.updateSlidesClasses()}else if(r.freeModeSticky){e.slideToClosest();return}else r.freeMode&&e.emit("_freeModeNoMomentumRelease");(!r.freeModeMomentum||u>=r.longSwipesMs)&&(e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses());return}for(var O=0,L=e.slidesSizesGrid[0],M=0;M<h.length;M+=M<r.slidesPerGroupSkip?1:r.slidesPerGroup){var R=M<r.slidesPerGroupSkip-1?1:r.slidesPerGroup;typeof h[M+R]<"u"?f>=h[M]&&f<h[M+R]&&(O=M,L=h[M+R]-h[M]):f>=h[M]&&(O=M,L=h[h.length-1]-h[h.length-2])}var D=(f-h[O])/L,B=O<r.slidesPerGroupSkip-1?1:r.slidesPerGroup;if(u>r.longSwipesMs){if(!r.longSwipes){e.slideTo(e.activeIndex);return}e.swipeDirection==="next"&&(D>=r.longSwipesRatio?e.slideTo(O+B):e.slideTo(O)),e.swipeDirection==="prev"&&(D>1-r.longSwipesRatio?e.slideTo(O+B):e.slideTo(O))}else{if(!r.shortSwipes){e.slideTo(e.activeIndex);return}var P=e.navigation&&(a.target===e.navigation.nextEl||a.target===e.navigation.prevEl);P?a.target===e.navigation.nextEl?e.slideTo(O+B):e.slideTo(O):(e.swipeDirection==="next"&&e.slideTo(O+B),e.swipeDirection==="prev"&&e.slideTo(O))}}}}function yl(){var t=this,e=t.params,n=t.el;if(!(n&&n.offsetWidth===0)){e.breakpoints&&t.setBreakpoint();var r=t.allowSlideNext,i=t.allowSlidePrev,s=t.snapGrid;t.allowSlideNext=!0,t.allowSlidePrev=!0,t.updateSize(),t.updateSlides(),t.updateSlidesClasses(),(e.slidesPerView==="auto"||e.slidesPerView>1)&&t.isEnd&&!t.isBeginning&&!t.params.centeredSlides?t.slideTo(t.slides.length-1,0,!1,!0):t.slideTo(t.activeIndex,0,!1,!0),t.autoplay&&t.autoplay.running&&t.autoplay.paused&&t.autoplay.run(),t.allowSlidePrev=i,t.allowSlideNext=r,t.params.watchOverflow&&s!==t.snapGrid&&t.checkOverflow()}}function U_(t){var e=this;!e.enabled||e.allowClick||(e.params.preventClicks&&t.preventDefault(),e.params.preventClicksPropagation&&e.animating&&(t.stopPropagation(),t.stopImmediatePropagation()))}function W_(){var t=this,e=t.wrapperEl,n=t.rtlTranslate,r=t.enabled;if(!!r){t.previousTranslate=t.translate,t.isHorizontal()?n?t.translate=e.scrollWidth-e.offsetWidth-e.scrollLeft:t.translate=-e.scrollLeft:t.translate=-e.scrollTop,t.translate===-0&&(t.translate=0),t.updateActiveIndex(),t.updateSlidesClasses();var i,s=t.maxTranslate()-t.minTranslate();s===0?i=0:i=(t.translate-t.minTranslate())/s,i!==t.progress&&t.updateProgress(n?-t.translate:t.translate),t.emit("setTranslate",t.translate,!1)}}var Rh=!1;function H_(){}function j_(){var t=this,e=bt(),n=t.params,r=t.touchEvents,i=t.el,s=t.wrapperEl,d=t.device,h=t.support;t.onTouchStart=B_.bind(t),t.onTouchMove=F_.bind(t),t.onTouchEnd=V_.bind(t),n.cssMode&&(t.onScroll=W_.bind(t)),t.onClick=U_.bind(t);var c=!!n.nested;if(!h.touch&&h.pointerEvents)i.addEventListener(r.start,t.onTouchStart,!1),e.addEventListener(r.move,t.onTouchMove,c),e.addEventListener(r.end,t.onTouchEnd,!1);else{if(h.touch){var m=r.start==="touchstart"&&h.passiveListener&&n.passiveListeners?{passive:!0,capture:!1}:!1;i.addEventListener(r.start,t.onTouchStart,m),i.addEventListener(r.move,t.onTouchMove,h.passiveListener?{passive:!1,capture:c}:c),i.addEventListener(r.end,t.onTouchEnd,m),r.cancel&&i.addEventListener(r.cancel,t.onTouchEnd,m),Rh||(e.addEventListener("touchstart",H_),Rh=!0)}(n.simulateTouch&&!d.ios&&!d.android||n.simulateTouch&&!h.touch&&d.ios)&&(i.addEventListener("mousedown",t.onTouchStart,!1),e.addEventListener("mousemove",t.onTouchMove,c),e.addEventListener("mouseup",t.onTouchEnd,!1))}(n.preventClicks||n.preventClicksPropagation)&&i.addEventListener("click",t.onClick,!0),n.cssMode&&s.addEventListener("scroll",t.onScroll),n.updateOnWindowResize?t.on(d.ios||d.android?"resize orientationchange observerUpdate":"resize observerUpdate",yl,!0):t.on("observerUpdate",yl,!0)}function z_(){var t=this,e=bt(),n=t.params,r=t.touchEvents,i=t.el,s=t.wrapperEl,d=t.device,h=t.support,c=!!n.nested;if(!h.touch&&h.pointerEvents)i.removeEventListener(r.start,t.onTouchStart,!1),e.removeEventListener(r.move,t.onTouchMove,c),e.removeEventListener(r.end,t.onTouchEnd,!1);else{if(h.touch){var m=r.start==="onTouchStart"&&h.passiveListener&&n.passiveListeners?{passive:!0,capture:!1}:!1;i.removeEventListener(r.start,t.onTouchStart,m),i.removeEventListener(r.move,t.onTouchMove,c),i.removeEventListener(r.end,t.onTouchEnd,m),r.cancel&&i.removeEventListener(r.cancel,t.onTouchEnd,m)}(n.simulateTouch&&!d.ios&&!d.android||n.simulateTouch&&!h.touch&&d.ios)&&(i.removeEventListener("mousedown",t.onTouchStart,!1),e.removeEventListener("mousemove",t.onTouchMove,c),e.removeEventListener("mouseup",t.onTouchEnd,!1))}(n.preventClicks||n.preventClicksPropagation)&&i.removeEventListener("click",t.onClick,!0),n.cssMode&&s.removeEventListener("scroll",t.onScroll),t.off(d.ios||d.android?"resize orientationchange observerUpdate":"resize observerUpdate",yl)}const G_={attachEvents:j_,detachEvents:z_};function Y_(){var t=this,e=t.activeIndex,n=t.initialized,r=t.loopedSlides,i=r===void 0?0:r,s=t.params,d=t.$el,h=s.breakpoints;if(!(!h||h&&Object.keys(h).length===0)){var c=t.getBreakpoint(h,t.params.breakpointsBase,t.el);if(!(!c||t.currentBreakpoint===c)){var m=c in h?h[c]:void 0;m&&["slidesPerView","spaceBetween","slidesPerGroup","slidesPerGroupSkip","slidesPerColumn"].forEach(function(y){var x=m[y];typeof x>"u"||(y==="slidesPerView"&&(x==="AUTO"||x==="auto")?m[y]="auto":y==="slidesPerView"?m[y]=parseFloat(x):m[y]=parseInt(x,10))});var a=m||t.originalParams,o=s.slidesPerColumn>1,u=a.slidesPerColumn>1,f=s.enabled;o&&!u?(d.removeClass(s.containerModifierClass+"multirow "+s.containerModifierClass+"multirow-column"),t.emitContainerClasses()):!o&&u&&(d.addClass(s.containerModifierClass+"multirow"),(a.slidesPerColumnFill&&a.slidesPerColumnFill==="column"||!a.slidesPerColumnFill&&s.slidesPerColumnFill==="column")&&d.addClass(s.containerModifierClass+"multirow-column"),t.emitContainerClasses());var p=a.direction&&a.direction!==s.direction,g=s.loop&&(a.slidesPerView!==s.slidesPerView||p);p&&n&&t.changeDirection(),Ge(t.params,a);var v=t.params.enabled;Ge(t,{allowTouchMove:t.params.allowTouchMove,allowSlideNext:t.params.allowSlideNext,allowSlidePrev:t.params.allowSlidePrev}),f&&!v?t.disable():!f&&v&&t.enable(),t.currentBreakpoint=c,t.emit("_beforeBreakpoint",a),g&&n&&(t.loopDestroy(),t.loopCreate(),t.updateSlides(),t.slideTo(e-i+t.loopedSlides,0,!1)),t.emit("breakpoint",a)}}}function J_(t,e,n){if(e===void 0&&(e="window"),!(!t||e==="container"&&!n)){var r=!1,i=nt(),s=e==="window"?i.innerHeight:n.clientHeight,d=Object.keys(t).map(function(o){if(typeof o=="string"&&o.indexOf("@")===0){var u=parseFloat(o.substr(1)),f=s*u;return{value:f,point:o}}return{value:o,point:o}});d.sort(function(o,u){return parseInt(o.value,10)-parseInt(u.value,10)});for(var h=0;h<d.length;h+=1){var c=d[h],m=c.point,a=c.value;e==="window"?i.matchMedia("(min-width: "+a+"px)").matches&&(r=m):a<=n.clientWidth&&(r=m)}return r||"max"}}const K_={setBreakpoint:Y_,getBreakpoint:J_};function X_(t,e){var n=[];return t.forEach(function(r){typeof r=="object"?Object.keys(r).forEach(function(i){r[i]&&n.push(e+i)}):typeof r=="string"&&n.push(e+r)}),n}function q_(){var t=this,e=t.classNames,n=t.params,r=t.rtl,i=t.$el,s=t.device,d=t.support,h=X_(["initialized",n.direction,{"pointer-events":d.pointerEvents&&!d.touch},{"free-mode":n.freeMode},{autoheight:n.autoHeight},{rtl:r},{multirow:n.slidesPerColumn>1},{"multirow-column":n.slidesPerColumn>1&&n.slidesPerColumnFill==="column"},{android:s.android},{ios:s.ios},{"css-mode":n.cssMode}],n.containerModifierClass);e.push.apply(e,h),i.addClass([].concat(e).join(" ")),t.emitContainerClasses()}function Q_(){var t=this,e=t.$el,n=t.classNames;e.removeClass(n.join(" ")),t.emitContainerClasses()}const Z_={addClasses:q_,removeClasses:Q_};function eT(t,e,n,r,i,s){var d=nt(),h;function c(){s&&s()}var m=ue(t).parent("picture")[0];!m&&(!t.complete||!i)&&e?(h=new d.Image,h.onload=c,h.onerror=c,r&&(h.sizes=r),n&&(h.srcset=n),e&&(h.src=e)):c()}function tT(){var t=this;t.imagesToLoad=t.$el.find("img");function e(){typeof t>"u"||t===null||!t||t.destroyed||(t.imagesLoaded!==void 0&&(t.imagesLoaded+=1),t.imagesLoaded===t.imagesToLoad.length&&(t.params.updateOnImagesReady&&t.update(),t.emit("imagesReady")))}for(var n=0;n<t.imagesToLoad.length;n+=1){var r=t.imagesToLoad[n];t.loadImage(r,r.currentSrc||r.getAttribute("src"),r.srcset||r.getAttribute("srcset"),r.sizes||r.getAttribute("sizes"),!0,e)}}const nT={loadImage:eT,preloadImages:tT};function rT(){var t=this,e=t.params,n=t.isLocked,r=t.slides.length>0&&e.slidesOffsetBefore+e.spaceBetween*(t.slides.length-1)+t.slides[0].offsetWidth*t.slides.length;e.slidesOffsetBefore&&e.slidesOffsetAfter&&r?t.isLocked=r<=t.size:t.isLocked=t.snapGrid.length===1,t.allowSlideNext=!t.isLocked,t.allowSlidePrev=!t.isLocked,n!==t.isLocked&&t.emit(t.isLocked?"lock":"unlock"),n&&n!==t.isLocked&&(t.isEnd=!1,t.navigation&&t.navigation.update())}const iT={checkOverflow:rT},Nh={init:!0,direction:"horizontal",touchEventsTarget:"container",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!1,nested:!1,createElements:!1,enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,freeMode:!1,freeModeMomentum:!0,freeModeMomentumRatio:1,freeModeMomentumBounce:!0,freeModeMomentumBounceRatio:1,freeModeMomentumVelocityRatio:1,freeModeSticky:!1,freeModeMinimumVelocity:.02,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerColumn:1,slidesPerColumnFill:"column",slidesPerGroup:1,slidesPerGroupSkip:0,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!1,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:0,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,watchSlidesVisibility:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,preloadImages:!0,updateOnImagesReady:!0,loop:!1,loopAdditionalSlides:0,loopedSlides:null,loopFillGroupWithBlank:!1,loopPreventsSlide:!0,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,containerModifierClass:"swiper-container-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-invisible-blank",slideActiveClass:"swiper-slide-active",slideDuplicateActiveClass:"swiper-slide-duplicate-active",slideVisibleClass:"swiper-slide-visible",slideDuplicateClass:"swiper-slide-duplicate",slideNextClass:"swiper-slide-next",slideDuplicateNextClass:"swiper-slide-duplicate-next",slidePrevClass:"swiper-slide-prev",slideDuplicatePrevClass:"swiper-slide-duplicate-prev",wrapperClass:"swiper-wrapper",runCallbacksOnInit:!0,_emitClasses:!1};function Ih(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function sT(t,e,n){return e&&Ih(t.prototype,e),n&&Ih(t,n),t}var _a={modular:J1,eventsEmitter:K1,update:s_,translate:h_,transition:p_,slide:k_,loop:T_,grabCursor:O_,manipulation:D_,events:G_,breakpoints:K_,checkOverflow:iT,classes:Z_,images:nT},Ta={},Mc=function(){function t(){for(var n,r,i=arguments.length,s=new Array(i),d=0;d<i;d++)s[d]=arguments[d];if(s.length===1&&s[0].constructor&&Object.prototype.toString.call(s[0]).slice(8,-1)==="Object"?r=s[0]:(n=s[0],r=s[1]),r||(r={}),r=Ge({},r),n&&!r.el&&(r.el=n),r.el&&ue(r.el).length>1){var h=[];return ue(r.el).each(function(a){var o=Ge({},r,{el:a});h.push(new t(o))}),h}var c=this;c.__swiper__=!0,c.support=Jf(),c.device=U1({userAgent:r.userAgent}),c.browser=H1(),c.eventsListeners={},c.eventsAnyListeners=[],typeof c.modules>"u"&&(c.modules={}),Object.keys(c.modules).forEach(function(a){var o=c.modules[a];if(o.params){var u=Object.keys(o.params)[0],f=o.params[u];if(typeof f!="object"||f===null||(["navigation","pagination","scrollbar"].indexOf(u)>=0&&r[u]===!0&&(r[u]={auto:!0}),!(u in r&&"enabled"in f)))return;r[u]===!0&&(r[u]={enabled:!0}),typeof r[u]=="object"&&!("enabled"in r[u])&&(r[u].enabled=!0),r[u]||(r[u]={enabled:!1})}});var m=Ge({},Nh);return c.useParams(m),c.params=Ge({},m,Ta,r),c.originalParams=Ge({},c.params),c.passedParams=Ge({},r),c.params&&c.params.on&&Object.keys(c.params.on).forEach(function(a){c.on(a,c.params.on[a])}),c.params&&c.params.onAny&&c.onAny(c.params.onAny),c.$=ue,Ge(c,{enabled:c.params.enabled,el:n,classNames:[],slides:ue(),slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:function(){return c.params.direction==="horizontal"},isVertical:function(){return c.params.direction==="vertical"},activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,allowSlideNext:c.params.allowSlideNext,allowSlidePrev:c.params.allowSlidePrev,touchEvents:function(){var o=["touchstart","touchmove","touchend","touchcancel"],u=["mousedown","mousemove","mouseup"];return c.support.pointerEvents&&(u=["pointerdown","pointermove","pointerup"]),c.touchEventsTouch={start:o[0],move:o[1],end:o[2],cancel:o[3]},c.touchEventsDesktop={start:u[0],move:u[1],end:u[2]},c.support.touch||!c.params.simulateTouch?c.touchEventsTouch:c.touchEventsDesktop}(),touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:c.params.focusableElements,lastClickTime:Wn(),clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,isTouchEvent:void 0,startMoving:void 0},allowClick:!0,allowTouchMove:c.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),c.useModules(),c.emit("_swiper"),c.params.init&&c.init(),c}var e=t.prototype;return e.enable=function(){var r=this;r.enabled||(r.enabled=!0,r.params.grabCursor&&r.setGrabCursor(),r.emit("enable"))},e.disable=function(){var r=this;!r.enabled||(r.enabled=!1,r.params.grabCursor&&r.unsetGrabCursor(),r.emit("disable"))},e.setProgress=function(r,i){var s=this;r=Math.min(Math.max(r,0),1);var d=s.minTranslate(),h=s.maxTranslate(),c=(h-d)*r+d;s.translateTo(c,typeof i>"u"?0:i),s.updateActiveIndex(),s.updateSlidesClasses()},e.emitContainerClasses=function(){var r=this;if(!(!r.params._emitClasses||!r.el)){var i=r.el.className.split(" ").filter(function(s){return s.indexOf("swiper-container")===0||s.indexOf(r.params.containerModifierClass)===0});r.emit("_containerClasses",i.join(" "))}},e.getSlideClasses=function(r){var i=this;return r.className.split(" ").filter(function(s){return s.indexOf("swiper-slide")===0||s.indexOf(i.params.slideClass)===0}).join(" ")},e.emitSlidesClasses=function(){var r=this;if(!(!r.params._emitClasses||!r.el)){var i=[];r.slides.each(function(s){var d=r.getSlideClasses(s);i.push({slideEl:s,classNames:d}),r.emit("_slideClass",s,d)}),r.emit("_slideClasses",i)}},e.slidesPerViewDynamic=function(){var r=this,i=r.params,s=r.slides,d=r.slidesGrid,h=r.size,c=r.activeIndex,m=1;if(i.centeredSlides){for(var a=s[c].swiperSlideSize,o,u=c+1;u<s.length;u+=1)s[u]&&!o&&(a+=s[u].swiperSlideSize,m+=1,a>h&&(o=!0));for(var f=c-1;f>=0;f-=1)s[f]&&!o&&(a+=s[f].swiperSlideSize,m+=1,a>h&&(o=!0))}else for(var p=c+1;p<s.length;p+=1)d[p]-d[c]<h&&(m+=1);return m},e.update=function(){var r=this;if(!r||r.destroyed)return;var i=r.snapGrid,s=r.params;s.breakpoints&&r.setBreakpoint(),r.updateSize(),r.updateSlides(),r.updateProgress(),r.updateSlidesClasses();function d(){var c=r.rtlTranslate?r.translate*-1:r.translate,m=Math.min(Math.max(c,r.maxTranslate()),r.minTranslate());r.setTranslate(m),r.updateActiveIndex(),r.updateSlidesClasses()}var h;r.params.freeMode?(d(),r.params.autoHeight&&r.updateAutoHeight()):((r.params.slidesPerView==="auto"||r.params.slidesPerView>1)&&r.isEnd&&!r.params.centeredSlides?h=r.slideTo(r.slides.length-1,0,!1,!0):h=r.slideTo(r.activeIndex,0,!1,!0),h||d()),s.watchOverflow&&i!==r.snapGrid&&r.checkOverflow(),r.emit("update")},e.changeDirection=function(r,i){i===void 0&&(i=!0);var s=this,d=s.params.direction;return r||(r=d==="horizontal"?"vertical":"horizontal"),r===d||r!=="horizontal"&&r!=="vertical"||(s.$el.removeClass(""+s.params.containerModifierClass+d).addClass(""+s.params.containerModifierClass+r),s.emitContainerClasses(),s.params.direction=r,s.slides.each(function(h){r==="vertical"?h.style.width="":h.style.height=""}),s.emit("changeDirection"),i&&s.update()),s},e.mount=function(r){var i=this;if(i.mounted)return!0;var s=ue(r||i.params.el);if(r=s[0],!r)return!1;r.swiper=i;var d=function(){return"."+(i.params.wrapperClass||"").trim().split(" ").join(".")},h=function(){if(r&&r.shadowRoot&&r.shadowRoot.querySelector){var u=ue(r.shadowRoot.querySelector(d()));return u.children=function(f){return s.children(f)},u}return s.children(d())},c=h();if(c.length===0&&i.params.createElements){var m=bt(),a=m.createElement("div");c=ue(a),a.className=i.params.wrapperClass,s.append(a),s.children("."+i.params.slideClass).each(function(o){c.append(o)})}return Ge(i,{$el:s,el:r,$wrapperEl:c,wrapperEl:c[0],mounted:!0,rtl:r.dir.toLowerCase()==="rtl"||s.css("direction")==="rtl",rtlTranslate:i.params.direction==="horizontal"&&(r.dir.toLowerCase()==="rtl"||s.css("direction")==="rtl"),wrongRTL:c.css("display")==="-webkit-box"}),!0},e.init=function(r){var i=this;if(i.initialized)return i;var s=i.mount(r);return s===!1||(i.emit("beforeInit"),i.params.breakpoints&&i.setBreakpoint(),i.addClasses(),i.params.loop&&i.loopCreate(),i.updateSize(),i.updateSlides(),i.params.watchOverflow&&i.checkOverflow(),i.params.grabCursor&&i.enabled&&i.setGrabCursor(),i.params.preloadImages&&i.preloadImages(),i.params.loop?i.slideTo(i.params.initialSlide+i.loopedSlides,0,i.params.runCallbacksOnInit,!1,!0):i.slideTo(i.params.initialSlide,0,i.params.runCallbacksOnInit,!1,!0),i.attachEvents(),i.initialized=!0,i.emit("init"),i.emit("afterInit")),i},e.destroy=function(r,i){r===void 0&&(r=!0),i===void 0&&(i=!0);var s=this,d=s.params,h=s.$el,c=s.$wrapperEl,m=s.slides;return typeof s.params>"u"||s.destroyed||(s.emit("beforeDestroy"),s.initialized=!1,s.detachEvents(),d.loop&&s.loopDestroy(),i&&(s.removeClasses(),h.removeAttr("style"),c.removeAttr("style"),m&&m.length&&m.removeClass([d.slideVisibleClass,d.slideActiveClass,d.slideNextClass,d.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-slide-index")),s.emit("destroy"),Object.keys(s.eventsListeners).forEach(function(a){s.off(a)}),r!==!1&&(s.$el[0].swiper=null,N1(s)),s.destroyed=!0),null},t.extendDefaults=function(r){Ge(Ta,r)},t.installModule=function(r){t.prototype.modules||(t.prototype.modules={});var i=r.name||Object.keys(t.prototype.modules).length+"_"+Wn();t.prototype.modules[i]=r},t.use=function(r){return Array.isArray(r)?(r.forEach(function(i){return t.installModule(i)}),t):(t.installModule(r),t)},sT(t,null,[{key:"extendedDefaults",get:function(){return Ta}},{key:"defaults",get:function(){return Nh}}]),t}();Object.keys(_a).forEach(function(t){Object.keys(_a[t]).forEach(function(e){Mc.prototype[e]=_a[t][e]})});Mc.use([z1,Y1]);const Wi=Mc;function bl(){return bl=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},bl.apply(this,arguments)}var oT={toggleEl:function(e,n){e[n?"addClass":"removeClass"](this.params.navigation.disabledClass),e[0]&&e[0].tagName==="BUTTON"&&(e[0].disabled=n)},update:function(){var e=this,n=e.params.navigation,r=e.navigation.toggleEl;if(!e.params.loop){var i=e.navigation,s=i.$nextEl,d=i.$prevEl;d&&d.length>0&&(e.isBeginning?r(d,!0):r(d,!1),e.params.watchOverflow&&e.enabled&&d[e.isLocked?"addClass":"removeClass"](n.lockClass)),s&&s.length>0&&(e.isEnd?r(s,!0):r(s,!1),e.params.watchOverflow&&e.enabled&&s[e.isLocked?"addClass":"removeClass"](n.lockClass))}},onPrevClick:function(e){var n=this;e.preventDefault(),!(n.isBeginning&&!n.params.loop)&&n.slidePrev()},onNextClick:function(e){var n=this;e.preventDefault(),!(n.isEnd&&!n.params.loop)&&n.slideNext()},init:function(){var e=this,n=e.params.navigation;if(e.params.navigation=B1(e.$el,e.params.navigation,e.params.createElements,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!!(n.nextEl||n.prevEl)){var r,i;n.nextEl&&(r=ue(n.nextEl),e.params.uniqueNavElements&&typeof n.nextEl=="string"&&r.length>1&&e.$el.find(n.nextEl).length===1&&(r=e.$el.find(n.nextEl))),n.prevEl&&(i=ue(n.prevEl),e.params.uniqueNavElements&&typeof n.prevEl=="string"&&i.length>1&&e.$el.find(n.prevEl).length===1&&(i=e.$el.find(n.prevEl))),r&&r.length>0&&r.on("click",e.navigation.onNextClick),i&&i.length>0&&i.on("click",e.navigation.onPrevClick),Ge(e.navigation,{$nextEl:r,nextEl:r&&r[0],$prevEl:i,prevEl:i&&i[0]}),e.enabled||(r&&r.addClass(n.lockClass),i&&i.addClass(n.lockClass))}},destroy:function(){var e=this,n=e.navigation,r=n.$nextEl,i=n.$prevEl;r&&r.length&&(r.off("click",e.navigation.onNextClick),r.removeClass(e.params.navigation.disabledClass)),i&&i.length&&(i.off("click",e.navigation.onPrevClick),i.removeClass(e.params.navigation.disabledClass))}};const aT={name:"navigation",params:{navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock"}},create:function(){var e=this;Yf(e,{navigation:bl({},oT)})},on:{init:function(e){e.navigation.init(),e.navigation.update()},toEdge:function(e){e.navigation.update()},fromEdge:function(e){e.navigation.update()},destroy:function(e){e.navigation.destroy()},"enable disable":function(e){var n=e.navigation,r=n.$nextEl,i=n.$prevEl;r&&r[e.enabled?"removeClass":"addClass"](e.params.navigation.lockClass),i&&i[e.enabled?"removeClass":"addClass"](e.params.navigation.lockClass)},click:function(e,n){var r=e.navigation,i=r.$nextEl,s=r.$prevEl,d=n.target;if(e.params.navigation.hideOnClick&&!ue(d).is(s)&&!ue(d).is(i)){if(e.pagination&&e.params.pagination&&e.params.pagination.clickable&&(e.pagination.el===d||e.pagination.el.contains(d)))return;var h;i?h=i.hasClass(e.params.navigation.hiddenClass):s&&(h=s.hasClass(e.params.navigation.hiddenClass)),h===!0?e.emit("navigationShow"):e.emit("navigationHide"),i&&i.toggleClass(e.params.navigation.hiddenClass),s&&s.toggleClass(e.params.navigation.hiddenClass)}}}};function mr(t){return typeof t=="object"&&t!==null&&t.constructor&&Object.prototype.toString.call(t).slice(8,-1)==="Object"}function Pn(t,e){var n=["__proto__","constructor","prototype"];Object.keys(e).filter(function(r){return n.indexOf(r)<0}).forEach(function(r){typeof t[r]>"u"?t[r]=e[r]:mr(e[r])&&mr(t[r])&&Object.keys(e[r]).length>0?e[r].__swiper__?t[r]=e[r]:Pn(t[r],e[r]):t[r]=e[r]})}function Kf(t){return t===void 0&&(t={}),t.navigation&&typeof t.navigation.nextEl>"u"&&typeof t.navigation.prevEl>"u"}function Xf(t){return t===void 0&&(t={}),t.pagination&&typeof t.pagination.el>"u"}function qf(t){return t===void 0&&(t={}),t.scrollbar&&typeof t.scrollbar.el>"u"}function Qf(t){t===void 0&&(t="");var e=t.split(" ").map(function(r){return r.trim()}).filter(function(r){return!!r}),n=[];return e.forEach(function(r){n.indexOf(r)<0&&n.push(r)}),n.join(" ")}var Zf=["init","_direction","touchEventsTarget","initialSlide","_speed","cssMode","updateOnWindowResize","resizeObserver","nested","focusableElements","_enabled","_width","_height","preventInteractionOnTransition","userAgent","url","_edgeSwipeDetection","_edgeSwipeThreshold","_freeMode","_freeModeMomentum","_freeModeMomentumRatio","_freeModeMomentumBounce","_freeModeMomentumBounceRatio","_freeModeMomentumVelocityRatio","_freeModeSticky","_freeModeMinimumVelocity","_autoHeight","setWrapperSize","virtualTranslate","_effect","breakpoints","_spaceBetween","_slidesPerView","_slidesPerColumn","_slidesPerColumnFill","_slidesPerGroup","_slidesPerGroupSkip","_centeredSlides","_centeredSlidesBounds","_slidesOffsetBefore","_slidesOffsetAfter","normalizeSlideIndex","_centerInsufficientSlides","_watchOverflow","roundLengths","touchRatio","touchAngle","simulateTouch","_shortSwipes","_longSwipes","longSwipesRatio","longSwipesMs","_followFinger","allowTouchMove","_threshold","touchMoveStopPropagation","touchStartPreventDefault","touchStartForcePreventDefault","touchReleaseOnEdges","uniqueNavElements","_resistance","_resistanceRatio","_watchSlidesProgress","_watchSlidesVisibility","_grabCursor","preventClicks","preventClicksPropagation","_slideToClickedSlide","_preloadImages","updateOnImagesReady","_loop","_loopAdditionalSlides","_loopedSlides","_loopFillGroupWithBlank","loopPreventsSlide","_allowSlidePrev","_allowSlideNext","_swipeHandler","_noSwiping","noSwipingClass","noSwipingSelector","passiveListeners","containerModifierClass","slideClass","slideBlankClass","slideActiveClass","slideDuplicateActiveClass","slideVisibleClass","slideDuplicateClass","slideNextClass","slideDuplicateNextClass","slidePrevClass","slideDuplicatePrevClass","wrapperClass","runCallbacksOnInit","observer","observeParents","observeSlideChildren","a11y","autoplay","_controller","coverflowEffect","cubeEffect","fadeEffect","flipEffect","hashNavigation","history","keyboard","lazy","mousewheel","_navigation","_pagination","parallax","_scrollbar","_thumbs","virtual","zoom"];function Dh(t){t===void 0&&(t={});var e={on:{}},n={};Pn(e,Wi.defaults),Pn(e,Wi.extendedDefaults),e._emitClasses=!0,e.init=!1;var r={},i=Zf.map(function(d){return d.replace(/_/,"")}),s=Object.assign({},t);return Object.keys(s).forEach(function(d){typeof t[d]>"u"||(i.indexOf(d)>=0?mr(t[d])?(e[d]={},n[d]={},Pn(e[d],t[d]),Pn(n[d],t[d])):(e[d]=t[d],n[d]=t[d]):d.search(/on[A-Z]/)===0&&typeof t[d]=="function"?e.on[""+d[2].toLowerCase()+d.substr(3)]=t[d]:r[d]=t[d])}),["navigation","pagination","scrollbar"].forEach(function(d){e[d]===!0&&(e[d]={}),e[d]===!1&&delete e[d]}),{params:e,passedParams:n,rest:r}}function lT(t){return new Wi(t)}function cT(t,e){var n=t.el,r=t.nextEl,i=t.prevEl,s=t.paginationEl,d=t.scrollbarEl,h=t.swiper;Kf(e)&&r&&i&&(h.params.navigation.nextEl=r,h.originalParams.navigation.nextEl=r,h.params.navigation.prevEl=i,h.originalParams.navigation.prevEl=i),Xf(e)&&s&&(h.params.pagination.el=s,h.originalParams.pagination.el=s),qf(e)&&d&&(h.params.scrollbar.el=d,h.originalParams.scrollbar.el=d),h.init(n)}function Sl(){return Sl=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},Sl.apply(this,arguments)}function em(t,e){var n=e.slidesPerView;if(e.breakpoints){var r=Wi.prototype.getBreakpoint(e.breakpoints),i=r in e.breakpoints?e.breakpoints[r]:void 0;i&&i.slidesPerView&&(n=i.slidesPerView)}var s=Math.ceil(parseFloat(e.loopedSlides||n,10));return s+=e.loopAdditionalSlides,s>t.length&&(s=t.length),s}function uT(t,e,n){var r=e.map(function(o,u){return o.props||(o.props={}),o.props.swiperRef=t,o.props["data-swiper-slide-index"]=u,o});function i(o,u,f){return o.props||(o.props={}),l.h(o.type,Sl({},o.props,{key:o.key+"-duplicate-"+u+"-"+f,class:(o.props.className||"")+" "+n.slideDuplicateClass+" "+(o.props.class||"")}),o.children)}if(n.loopFillGroupWithBlank){var s=n.slidesPerGroup-r.length%n.slidesPerGroup;if(s!==n.slidesPerGroup)for(var d=0;d<s;d+=1){var h=l.h("div",{class:n.slideClass+" "+n.slideBlankClass});r.push(h)}}n.slidesPerView==="auto"&&!n.loopedSlides&&(n.loopedSlides=r.length);var c=em(r,n),m=[],a=[];return r.forEach(function(o,u){u<c&&a.push(i(o,u,"prepend")),u<r.length&&u>=r.length-c&&m.push(i(o,u,"append"))}),t.value&&(t.value.loopedSlides=c),[].concat(m,r,a)}function hT(t,e,n,r){var i=[];if(!e)return i;var s=function(a){i.indexOf(a)<0&&i.push(a)},d=r.map(function(m){return m.props&&m.props.key}),h=n.map(function(m){return m.props&&m.props.key});d.join("")!==h.join("")&&i.push("children"),r.length!==n.length&&i.push("children");var c=Zf.filter(function(m){return m[0]==="_"}).map(function(m){return m.replace(/_/,"")});return c.forEach(function(m){if(m in t&&m in e)if(mr(t[m])&&mr(e[m])){var a=Object.keys(t[m]),o=Object.keys(e[m]);a.length!==o.length?s(m):(a.forEach(function(u){t[m][u]!==e[m][u]&&s(m)}),o.forEach(function(u){t[m][u]!==e[m][u]&&s(m)}))}else t[m]!==e[m]&&s(m)}),i}function Aa(t,e,n){t===void 0&&(t={});var r=[],i={"container-start":[],"container-end":[],"wrapper-start":[],"wrapper-end":[]},s=function d(h,c){!Array.isArray(h)||h.forEach(function(m){var a=typeof m.type=="symbol";c==="default"&&(c="container-end"),a&&m.children?d(m.children,"default"):m.type&&(m.type.name==="SwiperSlide"||m.type.name==="AsyncComponentWrapper")?r.push(m):i[c]&&i[c].push(m)})};return Object.keys(t).forEach(function(d){var h=t[d]();s(h,d)}),n.value=e.value,e.value=r,{slides:r,slots:i}}function dT(t){var e=t.swiper,n=t.slides,r=t.passedParams,i=t.changedParams,s=t.nextEl,d=t.prevEl,h=t.paginationEl,c=t.scrollbarEl,m=i.filter(function($){return $!=="children"&&$!=="direction"}),a=e.params,o=e.pagination,u=e.navigation,f=e.scrollbar,p=e.virtual,g=e.thumbs,v,y,x,T,k;i.includes("thumbs")&&r.thumbs&&r.thumbs.swiper&&a.thumbs&&!a.thumbs.swiper&&(v=!0),i.includes("controller")&&r.controller&&r.controller.control&&a.controller&&!a.controller.control&&(y=!0),i.includes("pagination")&&r.pagination&&(r.pagination.el||h)&&(a.pagination||a.pagination===!1)&&o&&!o.el&&(x=!0),i.includes("scrollbar")&&r.scrollbar&&(r.scrollbar.el||c)&&(a.scrollbar||a.scrollbar===!1)&&f&&!f.el&&(T=!0),i.includes("navigation")&&r.navigation&&(r.navigation.prevEl||d)&&(r.navigation.nextEl||s)&&(a.navigation||a.navigation===!1)&&u&&!u.prevEl&&!u.nextEl&&(k=!0);var b=function(_){!e[_]||(e[_].destroy(),_==="navigation"?(a[_].prevEl=void 0,a[_].nextEl=void 0,e[_].prevEl=void 0,e[_].nextEl=void 0):(a[_].el=void 0,e[_].el=void 0))};if(m.forEach(function($){if(mr(a[$])&&mr(r[$]))Pn(a[$],r[$]);else{var _=r[$];(_===!0||_===!1)&&($==="navigation"||$==="pagination"||$==="scrollbar")?_===!1&&b($):a[$]=r[$]}}),i.includes("children")&&p&&a.virtual.enabled?(p.slides=n,p.update(!0)):i.includes("children")&&e.lazy&&e.params.lazy.enabled&&e.lazy.load(),v){var C=g.init();C&&g.update(!0)}y&&(e.controller.control=a.controller.control),x&&(h&&(a.pagination.el=h),o.init(),o.render(),o.update()),T&&(c&&(a.scrollbar.el=c),f.init(),f.updateSize(),f.setTranslate()),k&&(s&&(a.navigation.nextEl=s),d&&(a.navigation.prevEl=d),u.init(),u.update()),i.includes("allowSlideNext")&&(e.allowSlideNext=r.allowSlideNext),i.includes("allowSlidePrev")&&(e.allowSlidePrev=r.allowSlidePrev),i.includes("direction")&&e.changeDirection(r.direction,!1),e.update()}function xl(){return xl=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},xl.apply(this,arguments)}function fT(t){!t||t.destroyed||!t.params.virtual||t.params.virtual&&!t.params.virtual.enabled||(t.updateSlides(),t.updateProgress(),t.updateSlidesClasses(),t.lazy&&t.params.lazy.enabled&&t.lazy.load(),t.parallax&&t.params.parallax&&t.params.parallax.enabled&&t.parallax.setTranslate())}function mT(t,e,n){var r;if(!n)return null;var i=t.value.isHorizontal()?(r={},r[t.value.rtlTranslate?"right":"left"]=n.offset+"px",r):{top:n.offset+"px"};return e.filter(function(s,d){return d>=n.from&&d<=n.to}).map(function(s){return s.props||(s.props={}),s.props.style||(s.props.style={}),s.props.swiperRef=t,s.props.style=i,l.h(s.type,xl({},s.props),s.children)})}var pT={name:"Swiper",props:{tag:{type:String,default:"div"},wrapperTag:{type:String,default:"div"},init:{type:Boolean,default:void 0},direction:{type:String,default:void 0},touchEventsTarget:{type:String,default:void 0},initialSlide:{type:Number,default:void 0},speed:{type:Number,default:void 0},cssMode:{type:Boolean,default:void 0},updateOnWindowResize:{type:Boolean,default:void 0},resizeObserver:{type:Boolean,default:void 0},nested:{type:Boolean,default:void 0},focusableElements:{type:String,default:void 0},width:{type:Number,default:void 0},height:{type:Number,default:void 0},preventInteractionOnTransition:{type:Boolean,default:void 0},userAgent:{type:String,default:void 0},url:{type:String,default:void 0},edgeSwipeDetection:{type:[Boolean,String],default:void 0},edgeSwipeThreshold:{type:Number,default:void 0},freeMode:{type:Boolean,default:void 0},freeModeMomentum:{type:Boolean,default:void 0},freeModeMomentumRatio:{type:Number,default:void 0},freeModeMomentumBounce:{type:Boolean,default:void 0},freeModeMomentumBounceRatio:{type:Number,default:void 0},freeModeMomentumVelocityRatio:{type:Number,default:void 0},freeModeSticky:{type:Boolean,default:void 0},freeModeMinimumVelocity:{type:Number,default:void 0},autoHeight:{type:Boolean,default:void 0},setWrapperSize:{type:Boolean,default:void 0},virtualTranslate:{type:Boolean,default:void 0},effect:{type:String,default:void 0},breakpoints:{type:Object,default:void 0},spaceBetween:{type:Number,default:void 0},slidesPerView:{type:[Number,String],default:void 0},slidesPerColumn:{type:Number,default:void 0},slidesPerColumnFill:{type:String,default:void 0},slidesPerGroup:{type:Number,default:void 0},slidesPerGroupSkip:{type:Number,default:void 0},centeredSlides:{type:Boolean,default:void 0},centeredSlidesBounds:{type:Boolean,default:void 0},slidesOffsetBefore:{type:Number,default:void 0},slidesOffsetAfter:{type:Number,default:void 0},normalizeSlideIndex:{type:Boolean,default:void 0},centerInsufficientSlides:{type:Boolean,default:void 0},watchOverflow:{type:Boolean,default:void 0},roundLengths:{type:Boolean,default:void 0},touchRatio:{type:Number,default:void 0},touchAngle:{type:Number,default:void 0},simulateTouch:{type:Boolean,default:void 0},shortSwipes:{type:Boolean,default:void 0},longSwipes:{type:Boolean,default:void 0},longSwipesRatio:{type:Number,default:void 0},longSwipesMs:{type:Number,default:void 0},followFinger:{type:Boolean,default:void 0},allowTouchMove:{type:Boolean,default:void 0},threshold:{type:Number,default:void 0},touchMoveStopPropagation:{type:Boolean,default:void 0},touchStartPreventDefault:{type:Boolean,default:void 0},touchStartForcePreventDefault:{type:Boolean,default:void 0},touchReleaseOnEdges:{type:Boolean,default:void 0},uniqueNavElements:{type:Boolean,default:void 0},resistance:{type:Boolean,default:void 0},resistanceRatio:{type:Number,default:void 0},watchSlidesProgress:{type:Boolean,default:void 0},watchSlidesVisibility:{type:Boolean,default:void 0},grabCursor:{type:Boolean,default:void 0},preventClicks:{type:Boolean,default:void 0},preventClicksPropagation:{type:Boolean,default:void 0},slideToClickedSlide:{type:Boolean,default:void 0},preloadImages:{type:Boolean,default:void 0},updateOnImagesReady:{type:Boolean,default:void 0},loop:{type:Boolean,default:void 0},loopAdditionalSlides:{type:Number,default:void 0},loopedSlides:{type:Number,default:void 0},loopFillGroupWithBlank:{type:Boolean,default:void 0},loopPreventsSlide:{type:Boolean,default:void 0},allowSlidePrev:{type:Boolean,default:void 0},allowSlideNext:{type:Boolean,default:void 0},swipeHandler:{type:Boolean,default:void 0},noSwiping:{type:Boolean,default:void 0},noSwipingClass:{type:String,default:void 0},noSwipingSelector:{type:String,default:void 0},passiveListeners:{type:Boolean,default:void 0},containerModifierClass:{type:String,default:void 0},slideClass:{type:String,default:void 0},slideBlankClass:{type:String,default:void 0},slideActiveClass:{type:String,default:void 0},slideDuplicateActiveClass:{type:String,default:void 0},slideVisibleClass:{type:String,default:void 0},slideDuplicateClass:{type:String,default:void 0},slideNextClass:{type:String,default:void 0},slideDuplicateNextClass:{type:String,default:void 0},slidePrevClass:{type:String,default:void 0},slideDuplicatePrevClass:{type:String,default:void 0},wrapperClass:{type:String,default:void 0},runCallbacksOnInit:{type:Boolean,default:void 0},observer:{type:Boolean,default:void 0},observeParents:{type:Boolean,default:void 0},observeSlideChildren:{type:Boolean,default:void 0},a11y:{type:[Boolean,Object],default:void 0},autoplay:{type:[Boolean,Object],default:void 0},controller:{type:Object,default:void 0},coverflowEffect:{type:Object,default:void 0},cubeEffect:{type:Object,default:void 0},fadeEffect:{type:Object,default:void 0},flipEffect:{type:Object,default:void 0},hashNavigation:{type:[Boolean,Object],default:void 0},history:{type:[Boolean,Object],default:void 0},keyboard:{type:[Boolean,Object],default:void 0},lazy:{type:[Boolean,Object],default:void 0},mousewheel:{type:[Boolean,Object],default:void 0},navigation:{type:[Boolean,Object],default:void 0},pagination:{type:[Boolean,Object],default:void 0},parallax:{type:[Boolean,Object],default:void 0},scrollbar:{type:[Boolean,Object],default:void 0},thumbs:{type:Object,default:void 0},virtual:{type:[Boolean,Object],default:void 0},zoom:{type:[Boolean,Object],default:void 0}},emits:["_beforeBreakpoint","_containerClasses","_slideClass","_slideClasses","_swiper","activeIndexChange","afterInit","autoplay","autoplayStart","autoplayStop","beforeDestroy","beforeInit","beforeLoopFix","beforeResize","beforeSlideChangeStart","beforeTransitionStart","breakpoint","changeDirection","click","disable","doubleTap","doubleClick","destroy","enable","fromEdge","hashChange","hashSet","imagesReady","init","keyPress","lazyImageLoad","lazyImageReady","lock","loopFix","momentumBounce","navigationHide","navigationShow","observerUpdate","orientationchange","paginationHide","paginationRender","paginationShow","paginationUpdate","progress","reachBeginning","reachEnd","realIndexChange","resize","scroll","scrollbarDragEnd","scrollbarDragMove","scrollbarDragStart","setTransition","setTranslate","slideChange","slideChangeTransitionEnd","slideChangeTransitionStart","slideNextTransitionEnd","slideNextTransitionStart","slidePrevTransitionEnd","slidePrevTransitionStart","slideResetTransitionStart","slideResetTransitionEnd","sliderMove","sliderFirstMove","slidesLengthChange","slidesGridLengthChange","snapGridLengthChange","snapIndexChange","swiper","tap","toEdge","touchEnd","touchMove","touchMoveOpposite","touchStart","transitionEnd","transitionStart","unlock","update","zoomChange"],setup:function(e,n){var r=n.slots,i=n.emit,s=e.tag,d=e.wrapperTag,h=l.ref("swiper-container"),c=l.ref(null),m=l.ref(!1),a=l.ref(!1),o=l.ref(null),u=l.ref(null),f=l.ref(null),p={value:[]},g={value:[]},v=l.ref(null),y=l.ref(null),x=l.ref(null),T=l.ref(null),k=Dh(e),b=k.params,C=k.passedParams;Aa(r,p,g),f.value=C,g.value=p.value;var $=function(){Aa(r,p,g),m.value=!0};if(b.onAny=function(w){for(var E=arguments.length,A=new Array(E>1?E-1:0),O=1;O<E;O++)A[O-1]=arguments[O];i.apply(void 0,[w].concat(A))},Object.assign(b.on,{_beforeBreakpoint:$,_containerClasses:function(E,A){h.value=A}}),u.value=lT(b),u.value.loopCreate=function(){},u.value.loopDestroy=function(){},b.loop&&(u.value.loopedSlides=em(p.value,b)),u.value.virtual&&u.value.params.virtual.enabled){u.value.virtual.slides=p.value;var _={cache:!1,renderExternal:function(E){c.value=E},renderExternalUpdate:!1};Pn(u.value.params.virtual,_),Pn(u.value.originalParams.virtual,_)}l.onUpdated(function(){!a.value&&u.value&&(u.value.emitSlidesClasses(),a.value=!0);var w=Dh(e),E=w.passedParams,A=hT(E,f.value,p.value,g.value);f.value=E,(A.length||m.value)&&u.value&&!u.value.destroyed&&dT({swiper:u.value,slides:p.value,passedParams:E,changedParams:A,nextEl:v.value,prevEl:y.value,scrollbarEl:T.value,paginationEl:x.value}),m.value=!1}),l.watch(c,function(){l.nextTick(function(){fT(u.value)})}),l.onMounted(function(){!o.value||(cT({el:o.value,nextEl:v.value,prevEl:y.value,paginationEl:x.value,scrollbarEl:T.value,swiper:u.value},b),i("swiper",u.value))}),l.onBeforeUnmount(function(){u.value&&!u.value.destroyed&&u.value.destroy(!0,!1)});function S(w){return b.virtual?mT(u,w,c.value):!b.loop||u.value&&u.value.destroyed?(w.forEach(function(E){E.props||(E.props={}),E.props.swiperRef=u}),w):uT(u,w,b)}return function(){var w=Aa(r,p,g),E=w.slides,A=w.slots;return l.h(s,{ref:o,class:Qf(h.value)},[A["container-start"],Kf(e)&&[l.h("div",{ref:y,class:"swiper-button-prev"}),l.h("div",{ref:v,class:"swiper-button-next"})],qf(e)&&l.h("div",{ref:T,class:"swiper-scrollbar"}),Xf(e)&&l.h("div",{ref:x,class:"swiper-pagination"}),l.h(d,{class:"swiper-wrapper"},[A["wrapper-start"],S(E),A["wrapper-end"]]),A["container-end"]])}}},gT={name:"SwiperSlide",props:{tag:{type:String,default:"div"},swiperRef:Object,zoom:{type:Boolean,default:void 0},virtualIndex:{type:[String,Number],default:void 0}},setup:function(e,n){var r=n.slots,i=!1,s=e.swiperRef,d=l.ref(null),h=l.ref("swiper-slide");function c(a,o,u){o===d.value&&(h.value=u)}l.onMounted(function(){!s.value||(s.value.on("_slideClass",c),i=!0)}),l.onBeforeUpdate(function(){i||!s||!s.value||(s.value.on("_slideClass",c),i=!0)}),l.onUpdated(function(){!d.value||!s||!s.value||s.value.destroyed&&h.value!=="swiper-slide"&&(h.value="swiper-slide")}),l.onBeforeUnmount(function(){!s||!s.value||s.value.off("_slideClass",c)});var m=l.computed(function(){return{isActive:h.value.indexOf("swiper-slide-active")>=0||h.value.indexOf("swiper-slide-duplicate-active")>=0,isVisible:h.value.indexOf("swiper-slide-visible")>=0,isDuplicate:h.value.indexOf("swiper-slide-duplicate")>=0,isPrev:h.value.indexOf("swiper-slide-prev")>=0||h.value.indexOf("swiper-slide-duplicate-prev")>=0,isNext:h.value.indexOf("swiper-slide-next")>=0||h.value.indexOf("swiper-slide-duplicate-next")>=0}});return function(){return l.h(e.tag,{class:Qf(""+h.value),ref:d,"data-swiper-slide-index":e.virtualIndex},e.zoom?l.h("div",{class:"swiper-zoom-container","data-swiper-zoom":typeof e.zoom=="number"?e.zoom:void 0},r.default&&r.default(m.value)):r.default&&r.default(m.value))}}};const vT={class:"vc-slider tw-relative"},wT={class:"vc-slider__prev tw-left-0"},yT={class:"vc-slider__btn"},bT={class:"vc-slider__next tw-right-0"},ST={class:"vc-slider__btn"},xT=l.defineComponent({__name:"vc-slider",props:{slides:{type:Array,default:()=>[]},navigation:{type:Boolean,default:!1},overflow:{type:Boolean,default:!1},slidesPerView:{type:String,default:"auto"},spaceBetweenSlides:{type:Number,default:10}},setup(t){Wi.use([aT]);const e=l.computed(()=>({nextEl:".vc-slider__next",prevEl:".vc-slider__prev"}));return(n,r)=>{const i=l.resolveComponent("VcIcon");return l.openBlock(),l.createElementBlock("div",vT,[l.createVNode(l.unref(pT),{class:l.normalizeClass(["vc-slider__swiper",{"tw-overflow-visible":t.overflow,"tw-px-[40px]":t.navigation}]),"space-between":t.spaceBetweenSlides,navigation:l.unref(e),slidesPerView:t.slidesPerView,resizeObserver:!0},{default:l.withCtx(()=>[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(t.slides,(s,d)=>(l.openBlock(),l.createBlock(l.unref(gT),{key:d},{default:l.withCtx(()=>[l.renderSlot(n.$slots,"default",{slide:s},void 0,!0)]),_:2},1024))),128))]),_:3},8,["class","space-between","navigation","slidesPerView"]),l.withDirectives(l.createElementVNode("div",null,[l.createElementVNode("div",wT,[l.renderSlot(n.$slots,"prevBtn",{},()=>[l.createElementVNode("div",yT,[l.createVNode(i,{icon:"fas fa-chevron-left"})])],!0)]),l.createElementVNode("div",bT,[l.renderSlot(n.$slots,"nextBtn",{},()=>[l.createElementVNode("div",ST,[l.createVNode(i,{icon:"fas fa-chevron-right"})])],!0)])],512),[[l.vShow,t.navigation]])])}}});const tm=so(xT,[["__scopeId","data-v-146242f6"]]),kT=["innerHTML"],CT={class:"vc-textarea__field-wrapper"},ET=["placeholder","value","disabled","maxlength"],Rc=l.defineComponent({__name:"vc-textarea",props:{placeholder:{type:String,default:""},modelValue:{type:String,default:void 0},isRequired:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},label:{type:String,default:void 0},tooltip:{type:String,default:void 0},name:{type:String,default:"Field"},maxchars:{type:String,default:"1024"},errorMessage:{type:String,default:void 0}},emits:["update:modelValue"],setup(t,{emit:e}){const n=t;l.watch(()=>n.modelValue,i=>{e("update:modelValue",i)});function r(i){const s=i.target.value;e("update:modelValue",s)}return(i,s)=>{const d=l.resolveComponent("VcHint");return l.openBlock(),l.createElementBlock("div",{class:l.normalizeClass(["vc-textarea",{"vc-textarea_error":t.errorMessage,"vc-textarea_disabled":t.disabled}])},[t.label?(l.openBlock(),l.createBlock(l.unref(Gn),{key:0,class:"tw-mb-2",required:t.isRequired},l.createSlots({default:l.withCtx(()=>[l.createElementVNode("span",null,l.toDisplayString(t.label),1)]),_:2},[t.tooltip?{name:"tooltip",fn:l.withCtx(()=>[l.createElementVNode("span",{innerHTML:t.tooltip},null,8,kT)]),key:"0"}:void 0]),1032,["required"])):l.createCommentVNode("",!0),l.createElementVNode("div",CT,[l.createElementVNode("textarea",{class:"vc-textarea__field",placeholder:t.placeholder,value:t.modelValue,disabled:t.disabled,onInput:r,maxlength:t.maxchars},null,40,ET)]),t.errorMessage?l.renderSlot(i.$slots,"error",{key:1},()=>[l.createVNode(d,{class:"vc-textarea__error"},{default:l.withCtx(()=>[l.createTextVNode(l.toDisplayString(t.errorMessage),1)]),_:1})]):l.createCommentVNode("",!0)],2)}}});const _T={class:"tw-relative tw-flex tw-items-center tw-content-between tw-h-[var(--app-bar-height)] tw-bg-[color:var(--app-bar-background-color)] tw-pl-4"},TT=["src"],AT={key:0,class:"tw-text-[color:var(--app-bar-product-name-color)] tw-text-[length:var(--app-bar-product-name-size)] tw-font-medium"},$T={key:0,class:"tw-overflow-ellipsis tw-overflow-hidden tw-whitespace-nowrap tw-text-2xl tw-leading-header"},OT={class:"tw-ml-2 tw-text-lg"},LT=l.createElementVNode("div",{class:"tw-grow tw-basis-0 tw-basis-0"},null,-1),MT={class:"tw-flex tw-h-full tw-box-border"},RT=["title","onClick"],NT=l.defineComponent({__name:"vc-app-bar",props:{logo:{default:""},blades:{default:()=>[]},buttons:{default:()=>[]},title:null},emits:["logo:click","backlink:click","toolbarbutton:click","menubutton:click"],setup(t){return(e,n)=>{const r=l.resolveComponent("VcLink");return l.openBlock(),l.createElementBlock("div",_T,[l.renderSlot(e.$slots,"appSwitcher"),!e.$isMobile.value||t.blades.length===0?(l.openBlock(),l.createElementBlock(l.Fragment,{key:0},[l.createElementVNode("img",{class:"tw-h-1/2 tw-cursor-pointer tw-mx-3",alt:"logo",src:t.logo,onClick:n[0]||(n[0]=i=>e.$emit("logo:click"))},null,8,TT),t.title?(l.openBlock(),l.createElementBlock("div",AT,l.toDisplayString(t.title),1)):l.createCommentVNode("",!0)],64)):l.createCommentVNode("",!0),e.$isMobile.value?(l.openBlock(),l.createElementBlock(l.Fragment,{key:1},[t.blades.length===1?(l.openBlock(),l.createElementBlock("div",$T,l.toDisplayString(t.blades[0].title),1)):t.blades.length>1?(l.openBlock(),l.createBlock(r,{key:1,onClick:n[1]||(n[1]=i=>e.$emit("backlink:click"))},{default:l.withCtx(()=>[l.createVNode(l.unref(Se),{icon:"fas fa-chevron-left",size:"s"}),l.createElementVNode("span",OT,l.toDisplayString(e.$t("Back")),1)]),_:1})):l.createCommentVNode("",!0)],64)):l.createCommentVNode("",!0),LT,l.createElementVNode("div",MT,[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(t.buttons,(i,s)=>(l.openBlock(),l.createElementBlock(l.Fragment,{key:s},[i.isVisible===void 0||i.isVisible?(l.openBlock(),l.createElementBlock(l.Fragment,{key:0},[i.component?(l.openBlock(),l.createBlock(l.resolveDynamicComponent(i.component),l.mergeProps({key:0},i.bladeOptions,{isAccent:i.isAccent}),null,16,["isAccent"])):(l.openBlock(),l.createElementBlock("div",{key:1,class:l.normalizeClass(["tw-relative tw-flex tw-items-center tw-justify-center tw-w-[var(--app-bar-button-width)] tw-border-l tw-border-solid tw-border-[color:var(--app-bar-button-border-color)] tw-cursor-pointer tw-text-[color: var(--app-bar-button-color)] tw-bg-[color:var(--app-bar-button-background-color)] tw-transition-[color] tw-duration-200 hover:tw-text-[color:var(--app-bar-button-color-hover)] hover:tw-bg-[color:var(--app-bar-button-background-color-hover)]",{"vc-app-bar__button_accent":i.isAccent}]),title:i.title,onClick:d=>e.$emit("button:click",i)},[l.createVNode(l.unref(Se),{icon:typeof i.icon=="function"?i.icon():i.icon,size:"xl"},null,8,["icon"])],10,RT))],64)):l.createCommentVNode("",!0)],64))),128))]),e.$isMobile.value?(l.openBlock(),l.createElementBlock("div",{key:2,class:"tw-text-[#319ed4] tw-w-[var(--app-bar-button-width)] tw-flex tw-items-center tw-justify-center tw-h-full tw-box-border tw-cursor-pointer",onClick:n[2]||(n[2]=i=>e.$emit("menubutton:click"))},[l.createVNode(l.unref(Se),{icon:"fas fa-bars"})])):l.createCommentVNode("",!0)])}}});const IT={key:0,class:"vc-app-menu-item__icon"},DT={class:"vc-app-menu-item__title"},Ph=l.defineComponent({__name:"vc-app-menu-link",props:{isActive:{type:Boolean,default:!1},children:{default:()=>({})},sticky:{type:Boolean,default:!0},icon:{default:""},title:{default:""}},emits:["onClick"],setup(t){return(e,n)=>{const r=l.resolveComponent("VcIcon");return l.openBlock(),l.createElementBlock("div",{class:l.normalizeClass(["vc-app-menu-item",[{"vc-app-menu-item_active":t.isActive&&!t.children.length},{"vc-app-menu-item_no-hover":t.children.length}]]),onClick:n[0]||(n[0]=i=>e.$emit("onClick"))},[l.createElementVNode("div",{class:l.normalizeClass(["vc-app-menu-item__handler",{"vc-app-menu-item__handler_enabled":!t.sticky}])},[l.createVNode(r,{icon:"fas fa-ellipsis-v",size:"m"})],2),t.icon?(l.openBlock(),l.createElementBlock("div",IT,[l.createVNode(r,{icon:t.icon,size:"m"},null,8,["icon"])])):l.createCommentVNode("",!0),l.createElementVNode("div",DT,[l.createTextVNode(l.toDisplayString(t.title)+" ",1),t.children.length?(l.openBlock(),l.createBlock(r,{key:0,class:"vc-app-menu-item__title-icon",icon:"fas fa-chevron-down",size:"xs"})):l.createCommentVNode("",!0)])],2)}}});const PT={key:0,class:"vc-app-menu-item__child"},BT=["onClick"],FT=l.defineComponent({__name:"vc-app-menu-item",props:{sticky:{type:Boolean,default:!0},isVisible:{type:Boolean,default:!1},component:{default:void 0},bladeOptions:{default:()=>({})},clickHandler:{type:Function,default:void 0},icon:{default:""},title:{default:""},children:{default:()=>[]},isCollapsed:{type:Boolean,default:!0}},emits:["click","child:click"],setup(t,{emit:e}){const n=t,r=Si.useRoute(),i=l.ref(!1),s=l.computed(()=>r.path==="/");l.onMounted(()=>{n.children&&n.children.length&&n.children.find(h=>h.component?.url===r?.path)&&(i.value=!0)});function d(h){n.children?.length?i.value=!i.value:e("click",h)}return(h,c)=>{const m=l.resolveComponent("router-link");return l.openBlock(),l.createElementBlock("div",null,[t.component&&t.component.url?(l.openBlock(),l.createBlock(m,{key:0,to:t.component.url,custom:""},{default:l.withCtx(({isActive:a,navigate:o})=>[l.createVNode(Ph,{isActive:a,children:t.children,sticky:t.sticky,icon:t.icon,title:t.title,onOnClick:u=>d(()=>o(u))},null,8,["isActive","children","sticky","icon","title","onOnClick"])]),_:1},8,["to"])):(l.openBlock(),l.createElementBlock(l.Fragment,{key:1},[l.createVNode(Ph,{children:t.children,sticky:t.sticky,icon:t.icon,title:t.title,onOnClick:d,isActive:l.unref(s)},null,8,["children","sticky","icon","title","isActive"]),i.value?(l.openBlock(),l.createElementBlock("div",PT,[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(t.children,(a,o)=>(l.openBlock(),l.createBlock(m,{key:o,to:a.component.url,custom:""},{default:l.withCtx(({isActive:u,navigate:f})=>[a.isVisible===void 0||a.isVisible?(l.openBlock(),l.createElementBlock("div",{class:l.normalizeClass([{"vc-app-menu-item__child-item_active":u},"vc-app-menu-item__child-item"]),key:o,onClick:p=>h.$emit("child:click",{item:a,navigationCb:f})},l.toDisplayString(a.title),11,BT)):l.createCommentVNode("",!0)]),_:2},1032,["to"]))),128))])):l.createCommentVNode("",!0)],64))])}}});const VT={class:"vc-app-menu__inner tw-flex tw-flex-col tw-h-full"},UT={key:0,class:"tw-text-[#319ed4] tw-flex tw-justify-end tw-items-center tw-p-4"},WT={class:"tw-gap-[5px] tw-flex tw-flex-col tw-px-4 tw-h-full"},HT=l.defineComponent({__name:"vc-app-menu",props:{items:{default:()=>[]},mobileMenuItems:{default:()=>[]},version:{default:""}},emits:["item:click","version:click"],setup(t,{expose:e}){const n=l.ref(!1);return e({isMobileVisible:n}),(r,i)=>{const s=l.resolveComponent("VcIcon");return l.openBlock(),l.createElementBlock("div",{class:l.normalizeClass(["tw-relative tw-w-[var(--app-menu-width)] tw-transition tw-duration-100 tw-pt-4",{"vc-app-menu_mobile tw-hidden !tw-fixed !tw-left-0 !tw-top-0 !tw-w-full !tw-bottom-0 !tw-z-[9999]":r.$isMobile.value,"!tw-block":n.value}])},[r.$isMobile.value?(l.openBlock(),l.createElementBlock("div",{key:0,class:"tw-absolute tw-left-0 tw-top-0 tw-right-0 tw-bottom-0 tw-z-[9998] tw-bg-[#808c99] tw-opacity-60",onClick:i[0]||(i[0]=d=>n.value=!1)})):l.createCommentVNode("",!0),l.createElementVNode("div",VT,[r.$isMobile.value?(l.openBlock(),l.createElementBlock("div",UT,[l.createVNode(s,{icon:"fas fa-times",size:"xl",onClick:i[1]||(i[1]=d=>n.value=!1)})])):l.createCommentVNode("",!0),l.createVNode(l.unref(jr),{noPadding:!0,class:"tw-grow tw-basis-0"},{default:l.withCtx(()=>[l.createElementVNode("div",WT,[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(t.mobileMenuItems,(d,h)=>(l.openBlock(),l.createElementBlock(l.Fragment,{key:`info_item_${h}`},[d.isVisible===void 0||d.isVisible?(l.openBlock(),l.createElementBlock(l.Fragment,{key:0},[d.component?(l.openBlock(),l.createBlock(l.resolveDynamicComponent(d.component),l.mergeProps({key:0},d.bladeOptions,{class:"tw-p-0 tw-mb-2 tw-w-full tw-h-auto"}),null,16)):l.createCommentVNode("",!0)],64)):l.createCommentVNode("",!0)],64))),128)),(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(t.items,(d,h)=>(l.openBlock(),l.createElementBlock(l.Fragment,{key:h},[d.isVisible===void 0||d.isVisible?(l.openBlock(),l.createBlock(FT,l.mergeProps({key:0},d,{onClick:c=>{r.$emit("item:click",{item:d,navigationCb:c}),n.value=!1},"onChild:click":i[2]||(i[2]=({item:c,navigationCb:m})=>{r.$emit("item:click",{item:c,navigationCb:m}),n.value=!1})}),null,16,["onClick"])):l.createCommentVNode("",!0)],64))),128)),l.createElementVNode("div",{class:"tw-text-[color:var(--app-menu-version-color)] tw-text-xs tw-mt-auto tw-self-center tw-p-1",onClick:i[3]||(i[3]=d=>r.$emit("version:click"))},l.toDisplayString(t.version),1)])]),_:1})])],2)}}});const jT={class:"tw-overflow-hidden tw-flex tw-grow tw-basis-0"},zT={class:"vc-app__workspace tw-px-2 tw-w-full tw-overflow-hidden !tw-flex tw-grow tw-basis-0"},GT={class:"[pointer-events:painted] tw-absolute tw-flex tw-z-[1000] tw-overflow-hidden tw-top-0 tw-left-2/4 -tw-translate-x-2/4 tw-flex-col tw-items-center tw-p-2 tw-box-border"},YT=l.defineComponent({inheritAttrs:!1}),nm=l.defineComponent({...YT,__name:"vc-app",props:{pages:{default:()=>[]},menuItems:{default:()=>[]},mobileMenuItems:{default:()=>[]},toolbarItems:{default:()=>[]},isReady:{type:Boolean,default:!1},isAuthorized:{type:Boolean,default:!1},logo:{default:void 0},version:{default:void 0},theme:{default:"light"},bladesRefs:{default:()=>[]},title:null},emits:["onOpen","onClose","backlink:click"],setup(t,{expose:e,emit:n}){console.debug("vc-app: Init vc-app");const r=l.getCurrentInstance(),i=Si.useRouter(),s=function({item:c,navigationCb:m}){console.debug("vc-app#onMenuItemClick() called."),c.clickHandler&&typeof c.clickHandler=="function"?c.clickHandler(r?.exposed):n("onOpen",{parentBlade:c.component,id:0,navigationCb:m})},d=function(c){console.debug("vc-app#onToolbarButtonClick() called."),c.clickHandler&&typeof c.clickHandler=="function"&&c.clickHandler(r?.proxy)},h=async()=>{console.debug("openDashboard() called."),await n("onClose",0),i.push("/")};return e({openDashboard:h,onToolbarButtonClick:d,onMenuItemClick:s}),(c,m)=>(l.openBlock(),l.createElementBlock("div",{class:l.normalizeClass(["vc-app tw-flex tw-flex-col tw-w-full tw-h-full tw-box-border tw-m-0 tw-overflow-hidden tw-text-base",[`vc-theme_${t.theme}`,{"vc-app_touch":c.$isTouch,"vc-app_phone":c.$isPhone.value,"vc-app_mobile":c.$isMobile.value}]])},[l.createVNode(NT,{class:"tw-shrink-0",logo:t.logo,blades:t.bladesRefs,buttons:t.toolbarItems,"onToolbarbutton:click":d,"onMenubutton:click":m[0]||(m[0]=a=>c.$refs.menu.isMobileVisible=!0),"onBacklink:click":m[1]||(m[1]=a=>c.$emit("backlink:click",t.bladesRefs.length-2)),"onLogo:click":h,title:t.title},{appSwitcher:l.withCtx(()=>[l.renderSlot(c.$slots,"appSwitcher")]),_:3},8,["logo","blades","buttons","title"]),l.createElementVNode("div",jT,[l.createVNode(HT,{ref:"menu",class:"tw-shrink-0",items:t.menuItems,version:t.version,mobileMenuItems:t.mobileMenuItems,"onItem:click":s},null,8,["items","version","mobileMenuItems"]),l.createElementVNode("div",zT,[l.renderSlot(c.$slots,"bladeNavigation")]),l.createElementVNode("div",GT,[l.renderSlot(c.$slots,"notifications")]),l.createElementVNode("div",null,[l.renderSlot(c.$slots,"passwordChange")])])],2))}});const JT={class:"tw-shrink-0 tw-h-[var(--blade-header-height)] tw-bg-[color:var(--blade-header-background-color)] tw-flex tw-items-center tw-py-0 tw-px-4 tw-border-solid tw-border-b tw-border-b-[color:#eaedf3]"},KT={key:0,class:"tw-text-[color:var(--blade-header-icon-color)] tw-mr-3"},XT={class:"tw-overflow-hidden tw-grow tw-basis-0"},qT={key:0,class:"tw-text-[color:var(--blade-header-subtitle-color)] tw-text-xs tw-mt-1"},QT={key:1},ZT={key:2,class:"tw-flex tw-items-center"},eA=l.defineComponent({__name:"vc-blade-header",props:{expandable:{type:Boolean,default:!1},expanded:{type:Boolean,default:!1},closable:{type:Boolean,default:!1},title:{type:String,default:void 0},subtitle:{type:String,default:void 0},icon:{type:String,default:void 0}},emits:["close","expand","collapse"],setup(t,{emit:e}){const n=t;function r(){n.expandable&&e("expand")}function i(){n.expandable&&e("collapse")}function s(){n.closable&&e("close")}return(d,h)=>(l.openBlock(),l.createElementBlock("div",JT,[t.icon?(l.openBlock(),l.createElementBlock("div",KT,[l.createVNode(l.unref(Se),{icon:t.icon,size:"xxl"},null,8,["icon"])])):l.createCommentVNode("",!0),l.createElementVNode("div",XT,[l.createElementVNode("div",{class:l.normalizeClass(["tw-text-[color:var(--blade-header-title-color)] tw-text-lg tw-truncate",{"!tw-text-[length:var(--blade-header-title-font-size)] tw-font-medium":!t.subtitle}])},l.toDisplayString(t.title),3),t.subtitle?(l.openBlock(),l.createElementBlock("div",qT,l.toDisplayString(t.subtitle),1)):l.createCommentVNode("",!0)]),d.$slots.actions?(l.openBlock(),l.createElementBlock("div",QT,[l.renderSlot(d.$slots,"actions")])):l.createCommentVNode("",!0),d.$isMobile.value?l.createCommentVNode("",!0):(l.openBlock(),l.createElementBlock("div",ZT,[t.expandable?(l.openBlock(),l.createElementBlock(l.Fragment,{key:0},[t.expanded?(l.openBlock(),l.createElementBlock("div",{key:0,class:"tw-text-[color:var(--blade-header-button-color)] tw-ml-4 tw-cursor-pointer hover:tw-text-[color:var(--blade-header-button-color-hover)]",onClick:i},[l.createVNode(l.unref(Se),{icon:"fas fa-window-minimize",size:"s"})])):(l.openBlock(),l.createElementBlock("div",{key:1,class:"vc-blade-header__button",onClick:r},[l.createVNode(l.unref(Se),{icon:"fas fa-window-maximize",size:"s"})]))],64)):l.createCommentVNode("",!0),t.closable?(l.openBlock(),l.createElementBlock("div",{key:1,class:"tw-text-[color:var(--blade-header-button-color)] tw-ml-4 tw-cursor-pointer hover:tw-text-[color:var(--blade-header-button-color-hover)]",onClick:s},[l.createVNode(l.unref(Se),{icon:"fas fa-times"})])):l.createCommentVNode("",!0)]))]))}});const tA=["title"],nA={key:0,class:"vc-blade-toolbar-button__title"},rA=["onClick"],iA=l.defineComponent({inheritAttrs:!1}),sA=l.defineComponent({...iA,__name:"vc-blade-toolbar-button",props:{disabled:{type:Boolean,default:!1},isExpanded:{type:Boolean,default:!0},icon:{type:String,default:"fas fa-question-circle"},title:{type:String,default:void 0},dropdownItems:{type:Array,default:()=>[]},clickHandler:{type:Function,default:void 0}},emits:["click"],setup(t,{emit:e}){const n=t,r=l.ref(),i=l.ref(!1),s=l.ref(!1),d=l.ref(),h=l.ref(),c=l.ref();async function m(){if(console.debug("vc-blade-toolbar-item#onClick()"),!n.disabled&&!i.value)if(n.clickHandler&&typeof n.clickHandler=="function"){i.value=!0;try{await n.clickHandler()}finally{i.value=!1}}else n.dropdownItems?.length?a():e("click")}function a(){n.dropdownItems?.length&&(s.value?(s.value=!1,r.value?.destroy()):(s.value=!0,l.nextTick(()=>{r.value=Ji(d.value,c.value,{placement:"bottom",modifiers:[{name:"offset",options:{offset:[70,5]}}]})})))}function o(u){u.clickHandler&&typeof u.clickHandler=="function"&&(u.clickHandler(),a())}return(u,f)=>(l.openBlock(),l.createElementBlock("div",{class:l.normalizeClass(["vc-blade-toolbar-button",{"vc-blade-toolbar-button_disabled":t.disabled||i.value}]),onClick:m,title:t.title},[l.createElementVNode("div",{ref_key:"dropButtonRef",ref:h},[l.createElementVNode("div",{class:"vc-blade-toolbar-button__wrap",ref_key:"bladeDropToggle",ref:d},[l.createVNode(l.unref(Se),{class:"vc-blade-toolbar-button__icon",icon:t.icon,size:"m"},null,8,["icon"]),t.isExpanded?(l.openBlock(),l.createElementBlock("div",nA,l.toDisplayString(t.title),1)):l.createCommentVNode("",!0)],512),(l.openBlock(),l.createBlock(l.Teleport,{to:"#app"},[s.value?(l.openBlock(),l.createElementBlock("div",{key:0,class:"vc-blade-toolbar-button__dropdown",ref_key:"bladeDropRef",ref:c},[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(t.dropdownItems,(p,g)=>(l.openBlock(),l.createElementBlock("div",{class:"vc-blade-toolbar-button__dropdown-item",key:g,onClick:v=>o(p)},[l.createVNode(l.unref(Se),{icon:p.icon,class:"vc-blade-toolbar-button__dropdown-item-icon"},null,8,["icon"]),l.createTextVNode(" "+l.toDisplayString(p.title),1)],8,rA))),128))],512)):l.createCommentVNode("",!0)]))],512)],10,tA))}});const oA={class:"tw-grow tw-basis-0 tw-flex tw-content-start tw-items-center tw-overflow-x-auto tw-px-2"},aA=l.defineComponent({__name:"vc-blade-toolbar",props:{items:{type:Array,default:()=>[]}},setup(t){const e=t,n=l.ref(!0);try{n.value=localStorage.getItem("VC_BLADE_TOOLBAR_IS_EXPANDED")==="true"}catch{n.value=!0}function r(){n.value=!n.value,localStorage.setItem("VC_BLADE_TOOLBAR_IS_EXPANDED",n.value.toString())}function i(){return!!e.items.filter(d=>d.isVisible===void 0||d.isVisible).length}return(s,d)=>{const h=l.resolveComponent("VcIcon");return i()?(l.openBlock(),l.createElementBlock("div",{key:0,class:l.normalizeClass(["tw-h-[var(--blade-toolbar-height)] tw-bg-[color:var(--blade-toolbar-background-color)] tw-border-b-[color:#eaedf3] tw-border-solid tw-border-b tw-flex tw-box-border tw-w-full tw-content-center tw-items-stretch tw-shrink-0",{"!tw-h-[var(--blade-toolbar-height-expanded)]":n.value}])},[l.createElementVNode("div",oA,[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(t.items,c=>(l.openBlock(),l.createElementBlock(l.Fragment,{key:c.id},[c.isVisible===void 0||c.isVisible?(l.openBlock(),l.createBlock(sA,l.mergeProps({key:0},c,{isExpanded:n.value}),null,16,["isExpanded"])):l.createCommentVNode("",!0)],64))),128))]),l.createVNode(h,{class:"tw-self-center tw-justify-self-center tw-text-[#a1c0d4] tw-cursor-pointer tw-mr-4 hover:tw-text-[#7ea8c4]",icon:`fas fa-chevron-${n.value?"up":"down"}`,onClick:r},null,8,["icon"])],2)):l.createCommentVNode("",!0)}}});const lA=l.defineComponent({inheritAttrs:!1}),Nc=l.defineComponent({...lA,__name:"vc-blade",props:{icon:{type:String},title:{type:String},subtitle:{type:String},width:{type:[Number,String],default:"30%"},expanded:{type:Boolean,default:!1},closable:{type:Boolean,default:!0},toolbarItems:{type:Array,default:()=>[]}},setup(t){return(e,n)=>(l.openBlock(),l.createElementBlock("div",{class:l.normalizeClass(["vc-blade tw-relative tw-flex tw-shrink-0 tw-flex-col tw-bg-[color:var(--blade-background-color)] tw-rounded-[var(--blade-border-radius)] tw-shadow-[2px_2px_8px_rgba(126,142,157,0.14)] tw-my-4 tw-mx-2 tw-overflow-hidden tw-transition-[width] tw-duration-200",[e.$attrs.class,{"!tw-w-full tw-shrink":e.$isMobile.value||t.expanded}]]),style:l.normalizeStyle({width:typeof t.width=="number"?`${t.width}px`:t.width})},[!e.$isMobile.value||t.closable?(l.openBlock(),l.createBlock(eA,{key:0,class:"tw-shrink-0",expanded:t.expanded,closable:t.closable,icon:t.icon,title:t.title,subtitle:t.subtitle,onClose:n[0]||(n[0]=r=>e.$emit("close"))},l.createSlots({_:2},[e.$slots.actions?{name:"actions",fn:l.withCtx(()=>[l.renderSlot(e.$slots,"actions")]),key:"0"}:void 0]),1032,["expanded","closable","icon","title","subtitle"])):l.createCommentVNode("",!0),l.createVNode(aA,{class:"tw-shrink-0",items:t.toolbarItems},null,8,["items"]),l.renderSlot(e.$slots,"default")],6))}});const rm=l.defineComponent({__name:"vc-dynamic-property",props:{property:{type:Object,default:()=>({})},dictionaries:{type:Object,default:()=>({})},getter:{type:Function},optionsGetter:{type:Function},setter:{type:Function},culture:{type:String,default:"en-US"},disabled:{type:Boolean,default:!1}},setup(t){const e=t,{locale:n,te:r,t:i}=nc(),s={},d=l.ref([]),h=l.computed(()=>d.value?.some(o=>o.alias)?"alias":"name"),c=l.computed(()=>{let o;const u=e.property.displayNames?.find(f=>f.languageCode?.toLowerCase().startsWith(n.value?.toLowerCase()));if(u&&u.name)o=u.name;else{const f=e.property.displayNames?.find(p=>p.languageCode?.toLowerCase().includes(e.culture?.toLowerCase()));o=f&&f?.name?f.name:e.property.name}return o&&r(o.toUpperCase())?i(o.toUpperCase()):o});l.onMounted(async()=>{e.optionsGetter&&(d.value=await e.optionsGetter(e.property))}),(e.property.required||e.property.isRequired)&&(s.required=!0),e.property.validationRule?.charCountMin&&(s.min=Number(e.property.validationRule.charCountMin)),e.property.validationRule?.charCountMax&&(s.max=Number(e.property.validationRule.charCountMax)),e.property.validationRule?.regExp&&(s.regex=new RegExp(e.property.validationRule?.regExp));async function m(o){e.optionsGetter&&(d.value=await e.optionsGetter(e.property,o))}async function a(){e.optionsGetter&&(d.value=await e.optionsGetter(e.property))}return(o,u)=>{const f=l.resolveComponent("VcSelect"),p=l.resolveComponent("VcMultivalue"),g=l.resolveComponent("VcInput"),v=l.resolveComponent("VcTextarea"),y=l.resolveComponent("VcCheckbox"),x=l.resolveComponent("VcEditor");return(t.property.dictionary||t.property.isDictionary)&&!t.property.multivalue?(l.openBlock(),l.createBlock(l.unref(He.Field),{key:0,name:t.property.displayName||t.property.name,modelValue:t.getter(t.property,!0),rules:s},{default:l.withCtx(({field:T,errorMessage:k,handleChange:b,errors:C})=>[l.createVNode(f,l.mergeProps(o.$attrs,{error:!!C.length,"error-message":k,label:l.unref(c)||t.property.displayName,modelValue:t.getter(t.property,!0),"onUpdate:modelValue":$=>{b($),t.setter(t.property,$,d.value)},required:t.property.required||t.property.isRequired,placeholder:l.unref(c)||t.property.defaultValue,options:d.value,"option-value":"id","option-label":l.unref(h),disabled:t.disabled,searchable:"",onSearch:m,onClose:a}),null,16,["error","error-message","label","modelValue","onUpdate:modelValue","required","placeholder","options","option-label","disabled"])]),_:1},8,["name","modelValue"])):t.property.valueType==="ShortText"&&t.property.multivalue&&!(t.property.dictionary||t.property.isDictionary)?(l.openBlock(),l.createBlock(l.unref(He.Field),{key:1,name:t.property.name,modelValue:t.property.values,rules:s},{default:l.withCtx(({field:T,errorMessage:k,handleChange:b})=>[l.createVNode(p,l.mergeProps(o.$attrs,{"error-message":k,label:l.unref(c),modelValue:t.property.values,"onUpdate:modelValue":C=>{b(C),t.setter(t.property,C)},required:t.property.required||t.property.isRequired,placeholder:"Add value",disabled:t.disabled}),null,16,["error-message","label","modelValue","onUpdate:modelValue","required","disabled"])]),_:1},8,["name","modelValue"])):t.property.valueType==="ShortText"&&t.property.multivalue&&(t.property.dictionary||t.property.isDictionary)?(l.openBlock(),l.createBlock(l.unref(He.Field),{key:2,name:t.property.name,modelValue:t.property.values,rules:s},{default:l.withCtx(({field:T,errorMessage:k,handleChange:b})=>[l.createVNode(p,l.mergeProps(o.$attrs,{"error-message":k,label:l.unref(c),modelValue:t.property.values,"onUpdate:modelValue":C=>{b(C),t.setter(t.property,C,d.value)},required:t.property.required||t.property.isRequired,placeholder:"Add value",multivalue:t.property.multivalue,disabled:t.disabled,options:d.value,keyProperty:"id",displayProperty:"alias",onSearch:m,onClose:a}),null,16,["error-message","label","modelValue","onUpdate:modelValue","required","multivalue","disabled","options"])]),_:1},8,["name","modelValue"])):t.property.valueType==="ShortText"?(l.openBlock(),l.createBlock(l.unref(He.Field),{key:3,name:t.property.displayName||t.property.name,modelValue:t.getter(t.property),rules:s},{default:l.withCtx(({field:T,errorMessage:k,handleChange:b,errors:C})=>[l.createVNode(g,l.mergeProps(o.$attrs,{error:!!C.length,"error-message":k,label:l.unref(c)||t.property.displayName,modelValue:t.getter(t.property),"onUpdate:modelValue":$=>{b($),t.setter(t.property,$)},clearable:"",required:t.property.required||t.property.isRequired,placeholder:l.unref(c)||"Add value",disabled:t.disabled}),null,16,["error","error-message","label","modelValue","onUpdate:modelValue","required","placeholder","disabled"])]),_:1},8,["name","modelValue"])):t.property.valueType==="Number"&&t.property.multivalue?(l.openBlock(),l.createBlock(l.unref(He.Field),{key:4,name:t.property.name,modelValue:t.property.values,rules:s},{default:l.withCtx(({field:T,errorMessage:k,handleChange:b})=>[l.createVNode(p,l.mergeProps(o.$attrs,{"error-message":k,label:l.unref(c),modelValue:t.property.values,"onUpdate:modelValue":C=>{b(C),t.setter(t.property,C)},type:"number",required:t.property.required||t.property.isRequired,placeholder:"Add value",disabled:t.disabled}),null,16,["error-message","label","modelValue","onUpdate:modelValue","required","disabled"])]),_:1},8,["name","modelValue"])):t.property.valueType==="Number"?(l.openBlock(),l.createBlock(l.unref(He.Field),{key:5,name:t.property.name,modelValue:t.getter(t.property),rules:s},{default:l.withCtx(({field:T,errorMessage:k,handleChange:b,errors:C})=>[l.createVNode(g,l.mergeProps(o.$attrs,{error:!!C.length,"error-message":k,label:l.unref(c),modelValue:t.getter(t.property),"onUpdate:modelValue":$=>{b($),t.setter(t.property,$)},clearable:"",type:"number",required:t.property.required||t.property.isRequired,placeholder:l.unref(c)||t.property.defaultValue,disabled:t.disabled}),null,16,["error","error-message","label","modelValue","onUpdate:modelValue","required","placeholder","disabled"])]),_:1},8,["name","modelValue"])):t.property.valueType==="Integer"?(l.openBlock(),l.createBlock(l.unref(He.Field),{key:6,name:t.property.name,modelValue:t.getter(t.property),rules:s},{default:l.withCtx(({field:T,errorMessage:k,handleChange:b,errors:C})=>[l.createVNode(g,l.mergeProps(o.$attrs,{error:!!C.length,"error-message":k,label:l.unref(c),modelValue:t.getter(t.property),"onUpdate:modelValue":$=>{b($),t.setter(t.property,$)},clearable:"",type:"number",step:"1",required:t.property.required||t.property.isRequired,placeholder:l.unref(c)||t.property.defaultValue,disabled:t.disabled}),null,16,["error","error-message","label","modelValue","onUpdate:modelValue","required","placeholder","disabled"])]),_:1},8,["name","modelValue"])):t.property.valueType==="DateTime"?(l.openBlock(),l.createBlock(l.unref(He.Field),{key:7,name:t.property.name,modelValue:t.getter(t.property),rules:s},{default:l.withCtx(({field:T,errorMessage:k,handleChange:b,errors:C})=>[l.createVNode(g,l.mergeProps(o.$attrs,{error:!!C.length,"error-message":k,label:l.unref(c),modelValue:t.getter(t.property),"onUpdate:modelValue":$=>{b($),t.setter(t.property,$)},type:"datetime-local",required:t.property.required||t.property.isRequired,placeholder:l.unref(c)||t.property.defaultValue,disabled:t.disabled}),null,16,["error","error-message","label","modelValue","onUpdate:modelValue","required","placeholder","disabled"])]),_:1},8,["name","modelValue"])):t.property.valueType==="LongText"?(l.openBlock(),l.createBlock(l.unref(He.Field),{key:8,name:t.property.name,modelValue:t.getter(t.property),rules:s},{default:l.withCtx(({field:T,errorMessage:k,handleChange:b})=>[l.createVNode(v,l.mergeProps(o.$attrs,{"error-message":k,label:l.unref(c),modelValue:t.getter(t.property),"onUpdate:modelValue":C=>{b(C),t.setter(t.property,C)},isRequired:t.property.required||t.property.isRequired,placeholder:l.unref(c)||t.property.defaultValue,disabled:t.disabled}),null,16,["error-message","label","modelValue","onUpdate:modelValue","isRequired","placeholder","disabled"])]),_:1},8,["name","modelValue"])):t.property.valueType==="Boolean"?(l.openBlock(),l.createBlock(l.unref(He.Field),{key:9,name:t.property.displayName||t.property.name,modelValue:t.getter(t.property),rules:s},{default:l.withCtx(({field:T,errorMessage:k,handleChange:b})=>[l.createVNode(y,l.mergeProps(o.$attrs,{"error-message":k,modelValue:t.getter(t.property),"onUpdate:modelValue":C=>{b(C),t.setter(t.property,C)},required:t.property.required||t.property.isRequired,disabled:t.disabled,name:t.property.displayName||t.property.name}),{default:l.withCtx(()=>[l.createTextVNode(l.toDisplayString(l.unref(c)||t.property.displayName),1)]),_:2},1040,["error-message","modelValue","onUpdate:modelValue","required","disabled","name"])]),_:1},8,["name","modelValue"])):t.property.valueType==="Html"?(l.openBlock(),l.createBlock(l.unref(He.Field),{key:10,name:t.property.displayName||t.property.name,modelValue:t.getter(t.property),rules:s},{default:l.withCtx(({field:T,errorMessage:k,handleChange:b})=>[l.createVNode(x,l.mergeProps(o.$attrs,{label:l.unref(c)||t.property.displayName,modelValue:t.getter(t.property),"onUpdate:modelValue":C=>{b(C),t.setter(t.property,C)},required:t.property.required||t.property.isRequired,placeholder:l.unref(c)||"Add value",disabled:t.disabled,name:t.property.displayName||t.property.name,"error-message":k}),null,16,["label","modelValue","onUpdate:modelValue","required","placeholder","disabled","name","error-message"])]),_:1},8,["name","modelValue"])):l.createCommentVNode("",!0)}}}),cA={class:"vc-gallery-item__overlay"},uA={class:"tw-flex"},hA=["title"],dA={class:"tw-flex tw-grow tw-basis-0 tw-items-center tw-justify-around"},fA=l.createElementVNode("div",{class:"tw-mt-2"},"Fullscreen",-1),mA=l.createElementVNode("div",{class:"tw-mt-2"},"Edit",-1),pA=l.createElementVNode("div",{class:"tw-mt-2"},"Delete",-1),gA=l.defineComponent({__name:"vc-gallery-item",props:{image:{type:Object,default:()=>({})},readonly:{type:Boolean,default:!1},actions:{type:Object,default:()=>({})},disableDrag:{type:Boolean,default:!1}},emits:["preview","edit","remove"],setup(t){const e=l.ref(!1);function n(){e.value=!1}return(r,i)=>{const s=l.resolveComponent("VcImage"),d=l.resolveComponent("VcIcon");return l.withDirectives((l.openBlock(),l.createElementBlock("div",{class:l.normalizeClass(["vc-gallery-item",{"vc-gallery-item_readonly":t.readonly,"vc-gallery-item_hover":e.value}]),onTap:i[3]||(i[3]=l.withModifiers(h=>e.value=!e.value,["stop"]))},[l.createVNode(s,{aspect:"1x1",src:t.image.url,background:"contain"},null,8,["src"]),l.createElementVNode("div",cA,[l.createElementVNode("div",uA,[!t.readonly&&!t.disableDrag?(l.openBlock(),l.createBlock(d,{key:0,class:"vc-gallery-item__move",icon:"fas fa-arrows-alt",size:"s"})):l.createCommentVNode("",!0),l.createElementVNode("div",{class:"tw-truncate",title:t.image.name},l.toDisplayString(t.image.name),9,hA)]),l.createElementVNode("div",dA,[t.actions&&t.actions.preview?(l.openBlock(),l.createElementBlock("div",{key:0,class:"vc-gallery-item__button",onClick:i[0]||(i[0]=h=>r.$emit("preview",t.image))},[l.createVNode(d,{class:"vc-gallery-item__button-icon",icon:"fas fa-eye"}),fA])):l.createCommentVNode("",!0),!t.readonly&&t.actions&&t.actions.edit?(l.openBlock(),l.createElementBlock("div",{key:1,class:"vc-gallery-item__button",onClick:i[1]||(i[1]=h=>r.$emit("edit",t.image))},[l.createVNode(d,{class:"vc-gallery-item__button-icon",icon:"fas fa-pen"}),mA])):l.createCommentVNode("",!0),!t.readonly&&t.actions&&t.actions.remove?(l.openBlock(),l.createElementBlock("div",{key:2,class:"vc-gallery-item__button",onClick:i[2]||(i[2]=h=>r.$emit("remove",t.image))},[l.createVNode(d,{class:"vc-gallery-item__button-icon",icon:"fas fa-trash"}),pA])):l.createCommentVNode("",!0)])])],34)),[[l.unref(ls),n]])}}});const vA=l.createElementVNode("span",null,")",-1),wA={class:"tw-w-full tw-h-full tw-box-border tw-flex tw-flex-col tw-items-center"},yA={class:"tw-box-border p-5 tw-grow tw-basis-0 tw-w-full"},bA={class:"tw-p-4 tw-pb-[40px] tw-max-w-full tw-overflow-x-auto tw-box-border tw-shrink tw-flex"},SA=l.defineComponent({__name:"vc-gallery-preview",props:{images:{type:Array,default:()=>[]},index:{type:Number,default:0}},setup(t){const e=t,n=l.ref(e.index),r=l.computed(()=>e.images[n.value]||{}),i=s=>{s.charAt(0)==="/"?navigator.clipboard?.writeText(`${location.origin}${s}`):navigator.clipboard?.writeText(s)};return(s,d)=>{const h=l.resolveComponent("VcLink"),c=l.resolveComponent("VcIcon"),m=l.resolveComponent("VcImage");return l.openBlock(),l.createBlock(l.unref(Ic),{title:l.unref(r).title,onClose:d[3]||(d[3]=a=>s.$emit("close"))},{title:l.withCtx(()=>[l.createElementVNode("div",null,[l.createElementVNode("span",null,l.toDisplayString(l.unref(r).name)+" (",1),l.createVNode(h,{onClick:d[0]||(d[0]=a=>i(l.unref(r).url))},{default:l.withCtx(()=>[l.createTextVNode("copy image link")]),_:1}),vA])]),default:l.withCtx(()=>[l.createElementVNode("div",wA,[l.createElementVNode("div",yA,[l.createElementVNode("div",{class:"bg-contain tw-bg-no-repeat tw-bg-center tw-w-full tw-h-full tw-box-border",style:l.normalizeStyle({backgroundImage:"url("+l.unref(r).url+")"})},null,4),n.value>0?(l.openBlock(),l.createElementBlock("div",{key:0,class:"tw-absolute tw-top-2/4 -tw-mt-9 tw-h-[72px] tw-w-[72px] tw-flex tw-items-center tw-justify-center tw-rounded-full tw-bg-[#f1f6fa] tw-cursor-pointer tw-text-[#a1c0d4] [--icon-size-xl: 36px] hover:tw-shadow-[0_0_20px_rgba(31,40,50,0.15)] tw-left-[25px]",onClick:d[1]||(d[1]=a=>n.value--)},[l.createVNode(c,{icon:"fas fa-arrow-left",size:"xl"})])):l.createCommentVNode("",!0),n.value<t.images.length-1?(l.openBlock(),l.createElementBlock("div",{key:1,class:"tw-absolute tw-top-2/4 -tw-mt-9 tw-h-[72px] tw-w-[72px] tw-flex tw-items-center tw-justify-center tw-rounded-full tw-bg-[#f1f6fa] tw-cursor-pointer tw-text-[#a1c0d4] [--icon-size-xl: 36px] hover:tw-shadow-[0_0_20px_rgba(31,40,50,0.15)] tw-right-[25px]",onClick:d[2]||(d[2]=a=>n.value++)},[l.createVNode(c,{icon:"fas fa-arrow-right",size:"xl"})])):l.createCommentVNode("",!0)]),l.createElementVNode("div",bA,[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(t.images,(a,o)=>(l.openBlock(),l.createElementBlock("div",{key:o,class:l.normalizeClass(["tw-m-1 tw-opacity-60",{"vc-gallery-preview__images-item_current":o===n.value}])},[l.createVNode(m,{src:a.url,size:"xl",bordered:!0,clickable:!0,onClick:u=>n.value=o},null,8,["src","onClick"])],2))),128))])])]),_:1},8,["title"])}}});const xA={class:"vc-gallery"},kA={key:1,class:"tw-flex tw-flex-wrap"},CA={key:2,class:"tw-flex tw-justify-center tw-p-5"},im=l.defineComponent({__name:"vc-gallery",props:{images:{type:Array,default:()=>[]},disabled:{type:Boolean,default:!1},required:{type:Boolean,default:!1},label:{type:String,default:void 0},tooltip:{type:String,default:void 0},tooltipIcon:{type:String,default:"fas fa-info"},uploadIcon:{type:String,default:"fas fa-upload"},multiple:{type:Boolean,default:!1},variant:{type:String,default:"gallery"},itemActions:{type:Object,default:()=>({preview:!0,edit:!0,remove:!0})},disableDrag:{type:Boolean,default:!1},hideAfterUpload:{type:Boolean,default:!1},rules:{type:[String,Object]},name:{type:String,default:"Gallery"}},emits:["upload","sort","item:preview","item:edit","item:remove","item:move"],setup(t,{emit:e}){const n=t,r=l.ref(!1),i=l.ref(),s=l.computed(()=>({animation:200,group:"description",disabled:n.disableDrag,ghostClass:"ghost"})),d=m=>{m&&m.length&&e("upload",m)},h=m=>{r.value=!0,i.value=m},c=()=>{const a=n.images.map((o,u)=>(o.sortOrder=u,o));e("sort",l.ref(a).value)};return(m,a)=>{const o=l.resolveComponent("draggable"),u=l.resolveComponent("VcHint");return l.openBlock(),l.createElementBlock("div",xA,[t.label?(l.openBlock(),l.createBlock(l.unref(Gn),{key:0,tooltip:t.tooltip,required:t.required,"tooltip-icon":t.tooltipIcon},{default:l.withCtx(()=>[l.createTextVNode(l.toDisplayString(t.label),1)]),_:1},8,["tooltip","required","tooltip-icon"])):l.createCommentVNode("",!0),t.images&&t.images.length||!t.disabled?(l.openBlock(),l.createElementBlock("div",kA,[l.createVNode(o,l.mergeProps({list:t.images,class:"tw-flex tw-flex-wrap tw-w-full",tag:"transition-group"},l.unref(s),{onChange:c,"component-data":{tag:"div"}}),{item:l.withCtx(({element:f,index:p})=>[(l.openBlock(),l.createBlock(gA,{class:"tw-m-2",key:f.sortOrder,image:f,readonly:t.disabled,onPreview:g=>h(p),onEdit:a[0]||(a[0]=g=>m.$emit("item:edit",g)),onRemove:a[1]||(a[1]=g=>m.$emit("item:remove",g)),actions:t.itemActions,disableDrag:t.disableDrag},null,8,["image","readonly","onPreview","actions","disableDrag"]))]),footer:l.withCtx(()=>[!t.disabled&&!t.hideAfterUpload?(l.openBlock(),l.createBlock(l.unref(Ul),{key:0,class:"tw-m-2",icon:t.uploadIcon,onUpload:d,variant:t.variant,multiple:t.multiple,rules:t.rules,name:t.name},null,8,["icon","variant","multiple","rules","name"])):l.createCommentVNode("",!0)]),_:1},16,["list"])])):(l.openBlock(),l.createElementBlock("div",CA,[l.createVNode(u,null,{default:l.withCtx(()=>[l.createTextVNode("Gallery is empty")]),_:1})])),r.value?(l.openBlock(),l.createBlock(SA,{key:3,images:t.images,index:i.value,onClose:a[2]||(a[2]=f=>r.value=!1)},null,8,["images","index"])):l.createCommentVNode("",!0)])}}}),EA={class:"tw-w-[516px] tw-max-w-[90%] tw-bg-white tw-rounded-md tw-overflow-hidden tw-shadow-[0_0_0_rgba(0,0,0,0.05)]"},_A={class:"tw-uppercase tw-text-white tw-bg-[#465769] tw-h-[50px] tw-px-[28px] tw-text-xl tw-flex tw-items-center"},TA={class:"tw-pt-4 tw-px-[28px] tw-pb-[24px]"},sm=l.defineComponent({__name:"vc-login-form",props:{logo:{type:String,default:void 0},background:{type:String,default:void 0},title:{type:String,default:"Login"}},setup(t){return console.debug("Init vc-login-form"),(e,n)=>(l.openBlock(),l.createElementBlock("div",{class:"tw-w-full tw-h-full tw-box-border tw-flex tw-flex-col tw-items-center tw-justify-center",style:l.normalizeStyle({background:`url(${t.background}) center / cover no-repeat`})},[l.createElementVNode("div",{class:"tw-h-[80px] tw-w-[516px] tw-max-w-[90%] tw-mb-[50px] -tw-mt-[90px]",style:l.normalizeStyle({background:`url(${t.logo}) center / contain no-repeat`})},null,4),l.createElementVNode("div",EA,[l.createElementVNode("div",_A,l.toDisplayString(t.title),1),l.createElementVNode("div",TA,[l.renderSlot(e.$slots,"default")])])],4))}}),AA={class:"vc-popup__wrapper"},$A={class:"vc-popup__inner"},OA={class:"vc-popup__header"},LA={class:"tw-truncate tw-grow tw-basis-0"},MA={class:"vc-popup__content tw-grow tw-basis-0"},Ic=l.defineComponent({__name:"vc-popup",props:{title:{type:String,default:void 0},closable:{type:Boolean,default:!0},variant:{type:String,default:"fullscreen",enum:["small","medium","fullscreen"]}},emits:["close"],setup(t){return(e,n)=>{const r=l.resolveComponent("VcIcon");return l.openBlock(),l.createElementBlock("div",{class:l.normalizeClass(["vc-popup",`vc-popup_${t.variant}`])},[l.createElementVNode("div",AA,[l.createElementVNode("div",$A,[l.createElementVNode("div",OA,[l.createElementVNode("div",LA,[l.renderSlot(e.$slots,"title",{},()=>[l.createTextVNode(l.toDisplayString(t.title),1)])]),t.closable?(l.openBlock(),l.createBlock(r,{key:0,class:"vc-popup__header-icon",icon:"fas fa-times",onClick:n[0]||(n[0]=i=>e.$emit("close"))})):l.createCommentVNode("",!0)]),l.createElementVNode("div",MA,[l.renderSlot(e.$slots,"default")])])])],2)}}});const RA={class:"tw-font-medium tw-text-base"},NA={class:"tw-text-[color:var(--table-counter-label-color)]"},IA={class:"tw-text-[color:var(--table-counter-value-color)]"},DA=l.defineComponent({__name:"vc-table-counter",props:{label:{default:"Total"},value:{default:0}},setup(t){return(e,n)=>(l.openBlock(),l.createElementBlock("div",RA,[l.createElementVNode("span",NA,l.toDisplayString(t.label)+"\xA0",1),l.createElementVNode("span",IA,l.toDisplayString(t.value),1)]))}});const PA={class:"tw-relative tw-overflow-visible"},BA={key:0,class:"tw-ml-[10px] tw-font-medium"},FA={key:1,class:"tw-ml-[10px] tw-rounded-[10px] tw-bg-white tw-text-[#43b0e6] tw-h-[20px] tw-min-w-[20px] tw-leading-[20px] tw-text-center tw-font-medium"},VA=["onClick"],UA=l.defineComponent({inheritAttrs:!1}),Bh=l.defineComponent({...UA,__name:"vc-table-filter",props:{title:{default:void 0},counter:{default:0},parentExpanded:{type:Boolean,default:!0}},setup(t){const e=t,n=l.ref(!1),r=l.ref(),i=l.ref(),s=l.ref();l.watch(()=>e.parentExpanded,()=>{h()});function d(m){if(n.value=!n.value,!m){const a=document.querySelector(".vc-blade");n.value?l.nextTick(()=>{s.value=Ji(r.value,i.value,{placement:"bottom-end",modifiers:[{name:"offset",options:{offset:[0,10]}},{name:"preventOverflow",options:{boundary:a}}]})}):c()}}function h(){n.value=!1,c()}function c(){s.value?.destroy()}return(m,a)=>(l.openBlock(),l.createElementBlock("div",PA,[l.createElementVNode("div",{class:"tw-rounded-[3px] tw-bg-[#43b0e6] tw-flex tw-items-center tw-px-[10px] tw-text-white tw-h-[38px] tw-box-border tw-cursor-pointer",onClick:a[0]||(a[0]=o=>d(m.$isMobile.value)),ref_key:"filterToggle",ref:r},[l.createVNode(l.unref(Se),{icon:"fas fa-filter",size:"m"}),t.title?(l.openBlock(),l.createElementBlock("span",BA,l.toDisplayString(t.title),1)):l.createCommentVNode("",!0),t.counter?(l.openBlock(),l.createElementBlock("div",FA,l.toDisplayString(t.counter),1)):l.createCommentVNode("",!0)],512),(l.openBlock(),l.createBlock(l.Teleport,{to:"body"},[n.value?(l.openBlock(),l.createElementBlock("div",{key:0,class:l.normalizeClass({"vc-table-filter__panel_mobile tw-fixed tw-left-0 tw-top-0 tw-w-full tw-bottom-0 tw-z-[9999] tw-bg-[rgba(128,140,153,0.6)] tw-shadow-none tw-rounded-none tw-max-h-full tw-max-w-full tw-min-w-full":m.$isMobile.value,"vc-table-filter__panel tw-absolute tw-max-h-[400px] tw-max-w-[800px] tw-min-w-[400px] tw-z-[100] tw-shadow-[1px_1px_11px_rgba(141,152,163,0.6)] tw-rounded-[3px] tw-overflow-hidden":!m.$isMobile.value}),onClick:l.withModifiers(h,["self"]),ref_key:"filterPanel",ref:i},[l.createElementVNode("div",{class:"vc-table-filter__panel-inner tw-bg-white tw-box-border tw-p-5 tw-flex tw-flex-col",onClick:a[1]||(a[1]=l.withModifiers(()=>{},["stop"]))},[l.createVNode(l.unref(Se),{class:"vc-table-filter__panel-close tw-text-[#43b0e6] tw-cursor-pointer tw-self-end tw-shrink-0",icon:"fas fa-times",size:"xl",onClick:h}),l.renderSlot(m.$slots,"default",{closePanel:h})])],10,VA)):l.createCommentVNode("",!0)]))]))}});const WA={key:0,class:"tw-flex-shrink-0 tw-w-[80px] tw-flex tw-flex-col [justify-content:stretch] tw-bg-[#a9bfd2]"},HA={class:"tw-mt-1 tw-text-lg"},jA={class:"tw-flex-shrink-0 tw-w-full"},zA={key:1,class:"tw-flex-shrink-0 tw-w-[80px] tw-flex tw-flex-col [justify-content:stretch] tw-bg-[#a9bfd2]"},GA={class:"vc-table-mobile__item-action-text"},YA={class:"tw-mt-1 tw-text-lg"},JA=l.createElementVNode("div",{class:"tw-mt-1 tw-text-lg"},"More",-1),KA={class:"tw-absolute tw-left-0 tw-top-0 tw-right-0 tw-bottom-0 tw-bg-[rgba(107,121,135,0.15)] tw-flex tw-items-center tw-justify-center tw-z-[99]"},XA={class:"tw-bg-white tw-rounded-[6px] tw-overflow-hidden tw-p-5 tw-max-w-[80%] tw-w-[350px] tw-border tw-border-solid tw-border-[#eef0f2] tw-box-border tw-shadow-[1px_1px_22px_rgba(126,142,157,0.2)]"},qA={class:"tw-flex tw-w-full tw-items-center"},QA={class:"tw-grow tw-text-[#2e3d4e] tw-text-[19px] tw-font-semibold tw-tracking-[-0.01em]"},ZA={class:"tw-flex tw-flex-wrap tw-my-5 tw-justify-between"},e$=["onClick"],t$={class:"tw-text-base tw-mt-2 tw-text-center"},Ss=10,at=80,n$=l.defineComponent({__name:"vc-table-mobile-item",props:{item:{default:void 0},actionBuilder:{type:Function,default:void 0},swipingItem:{default:null}},emits:["swipeStart"],setup(t,{emit:e}){const n=t,r=l.ref(0),i=l.ref(0),s=l.ref(0),d=l.ref(0),h=l.ref(!1),c=l.ref(!1),m=l.ref([]);l.watch(()=>n.swipingItem,y=>{y!==n.item.id&&u()});const a=l.computed(()=>m.value&&m.value.length&&m.value.filter(y=>!y.leftActions)),o=l.computed(()=>m.value&&m.value.length&&m.value.filter(y=>y.leftActions));function u(){m.value.some(y=>y.leftActions)?(r.value=-at,d.value=r.value):(r.value=0,d.value=0)}async function f(y){i.value=y.touches[0].clientX,s.value=y.touches[0].clientY,d.value=r.value,h.value=!0,m.value.length||typeof n.actionBuilder=="function"&&(m.value=n.actionBuilder(n.item),u())}function p(y){if(e("swipeStart",n.item.id),m.value&&m.value.length){const x=y.touches[0].clientX-i.value,T=y.touches[0].clientY-s.value;Math.abs(x)>Ss&&(a.value&&a.value.length&&o.value&&o.value.length?Math.abs(d.value+x)<=at*2:Math.abs(d.value+x)<=at)&&d.value+x<0&&(Math.abs(T)<Ss*2&&y.preventDefault(),r.value=d.value+x)}}function g(){const y=Math.abs(r.value);y<at?r.value=y<at/2?0:-at:r.value=y<=at*2-Ss*2?-at:-at*2,h.value=!1}function v(){const y=Math.abs(r.value);y<at?r.value=y<at/2?0:-at:r.value=y<=at*2-Ss*2?-at:-at*2,h.value=!1}return(y,x)=>(l.openBlock(),l.createElementBlock("div",{class:l.normalizeClass(["tw-relative tw-flex tw-flex-nowrap tw-items-stretch tw-transition tw-duration-200",{" tw-transition-none":h.value}]),style:l.normalizeStyle(`transform: translateX(${r.value}px)`),onClick:x[5]||(x[5]=T=>y.$emit("click")),onTouchstart:f,onTouchmove:p,onTouchend:g,onTouchcancel:v},[l.unref(o)&&l.unref(o).length?(l.openBlock(),l.createElementBlock("div",WA,[l.createElementVNode("div",{class:l.normalizeClass(["tw-flex tw-grow tw-basis-[1] tw-flex-col tw-justify-center tw-items-center tw-text-white",[`vc-table-mobile__item-action_${l.unref(o)[0].variant}`]]),onClick:x[0]||(x[0]=l.withModifiers(T=>l.unref(o)[0].clickHandler(t.item),["stop"]))},[l.createVNode(l.unref(Se),{icon:l.unref(o)[0].icon},null,8,["icon"]),l.createElementVNode("div",HA,l.toDisplayString(l.unref(o)[0].title),1)],2)])):l.createCommentVNode("",!0),l.createElementVNode("div",jA,[l.renderSlot(y.$slots,"default")]),l.unref(a)&&l.unref(a).length?(l.openBlock(),l.createElementBlock("div",zA,[l.createElementVNode("div",{class:l.normalizeClass(["tw-flex tw-grow tw-basis-[1] tw-flex-col tw-justify-center tw-items-center tw-text-white",[`vc-table-mobile__item-action_${l.unref(a)[0].variant}`]]),onClick:x[1]||(x[1]=l.withModifiers(T=>l.unref(a)[0].clickHandler(t.item),["stop"]))},[l.createVNode(l.unref(Se),{icon:l.unref(a)[0].icon},null,8,["icon"]),l.createElementVNode("div",GA,l.toDisplayString(l.unref(a)[0].title),1)],2),l.unref(a).length===2?(l.openBlock(),l.createElementBlock("div",{key:0,class:l.normalizeClass(["tw-flex tw-grow tw-basis-[1] tw-flex-col tw-justify-center tw-items-center tw-text-white",[`vc-table-mobile__item-action_${l.unref(a)[1].variant}`]]),onClick:x[2]||(x[2]=l.withModifiers(T=>l.unref(a)[1].clickHandler(t.item),["stop"]))},[l.createVNode(l.unref(Se),{icon:l.unref(a)[1].icon},null,8,["icon"]),l.createElementVNode("div",YA,l.toDisplayString(l.unref(a)[1].title),1)],2)):l.createCommentVNode("",!0),l.unref(a).length>2?(l.openBlock(),l.createElementBlock(l.Fragment,{key:1},[l.createElementVNode("div",{class:"tw-flex tw-grow tw-basis-[1] tw-flex-col tw-justify-center tw-items-center tw-text-white",onClick:x[3]||(x[3]=l.withModifiers(T=>c.value=!0,["stop"]))},[l.createVNode(l.unref(Se),{icon:"fas fa-ellipsis-h"}),JA]),c.value?(l.openBlock(),l.createBlock(l.Teleport,{key:0,to:"body"},[l.createElementVNode("div",KA,[l.createElementVNode("div",XA,[l.createElementVNode("div",qA,[l.createElementVNode("span",QA,l.toDisplayString(y.$t("All actions")),1),l.createVNode(l.unref(Se),{class:"tw-text-[#c2d7e4]",icon:"fas fa-times-circle",size:"xl",onClick:x[4]||(x[4]=T=>c.value=!1)})]),l.createElementVNode("div",ZA,[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(m.value,(T,k)=>(l.openBlock(),l.createElementBlock("div",{key:k,class:"tw-flex tw-grow tw-shrink-0 tw-flex-col tw-items-center tw-text-[#319ed4] tw-my-2 tw-box-border tw-p-1 tw-max-w-[80px]",onClick:b=>T.clickHandler(t.item)},[l.createVNode(l.unref(Se),{icon:T.icon,size:"xl"},null,8,["icon"]),l.createElementVNode("div",t$,l.toDisplayString(T.title),1)],8,e$))),128))])])])])):l.createCommentVNode("",!0)],64)):l.createCommentVNode("",!0)])):l.createCommentVNode("",!0)],38))}});//! moment.js
|
|
1088
1088
|
//! version : 2.29.4
|
|
1089
1089
|
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
|
|
1090
1090
|
//! license : MIT
|
|
1091
1091
|
//! momentjs.com
|
|
1092
|
-
var om;function ae(){return om.apply(null,arguments)}function
|
|
1092
|
+
var om;function ae(){return om.apply(null,arguments)}function r$(t){om=t}function Gt(t){return t instanceof Array||Object.prototype.toString.call(t)==="[object Array]"}function or(t){return t!=null&&Object.prototype.toString.call(t)==="[object Object]"}function Oe(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Dc(t){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(t).length===0;var e;for(e in t)if(Oe(t,e))return!1;return!0}function gt(t){return t===void 0}function xn(t){return typeof t=="number"||Object.prototype.toString.call(t)==="[object Number]"}function hs(t){return t instanceof Date||Object.prototype.toString.call(t)==="[object Date]"}function am(t,e){var n=[],r,i=t.length;for(r=0;r<i;++r)n.push(e(t[r],r));return n}function Bn(t,e){for(var n in e)Oe(e,n)&&(t[n]=e[n]);return Oe(e,"toString")&&(t.toString=e.toString),Oe(e,"valueOf")&&(t.valueOf=e.valueOf),t}function an(t,e,n,r){return Lm(t,e,n,r,!0).utc()}function i$(){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 xe(t){return t._pf==null&&(t._pf=i$()),t._pf}var kl;Array.prototype.some?kl=Array.prototype.some:kl=function(t){var e=Object(this),n=e.length>>>0,r;for(r=0;r<n;r++)if(r in e&&t.call(this,e[r],r,e))return!0;return!1};function Pc(t){if(t._isValid==null){var e=xe(t),n=kl.call(e.parsedDateParts,function(i){return i!=null}),r=!isNaN(t._d.getTime())&&e.overflow<0&&!e.empty&&!e.invalidEra&&!e.invalidMonth&&!e.invalidWeekday&&!e.weekdayMismatch&&!e.nullInput&&!e.invalidFormat&&!e.userInvalidated&&(!e.meridiem||e.meridiem&&n);if(t._strict&&(r=r&&e.charsLeftOver===0&&e.unusedTokens.length===0&&e.bigHour===void 0),Object.isFrozen==null||!Object.isFrozen(t))t._isValid=r;else return r}return t._isValid}function Qo(t){var e=an(NaN);return t!=null?Bn(xe(e),t):xe(e).userInvalidated=!0,e}var Fh=ae.momentProperties=[],$a=!1;function Bc(t,e){var n,r,i,s=Fh.length;if(gt(e._isAMomentObject)||(t._isAMomentObject=e._isAMomentObject),gt(e._i)||(t._i=e._i),gt(e._f)||(t._f=e._f),gt(e._l)||(t._l=e._l),gt(e._strict)||(t._strict=e._strict),gt(e._tzm)||(t._tzm=e._tzm),gt(e._isUTC)||(t._isUTC=e._isUTC),gt(e._offset)||(t._offset=e._offset),gt(e._pf)||(t._pf=xe(e)),gt(e._locale)||(t._locale=e._locale),s>0)for(n=0;n<s;n++)r=Fh[n],i=e[r],gt(i)||(t[r]=i);return t}function ds(t){Bc(this,t),this._d=new Date(t._d!=null?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),$a===!1&&($a=!0,ae.updateOffset(this),$a=!1)}function Yt(t){return t instanceof ds||t!=null&&t._isAMomentObject!=null}function lm(t){ae.suppressDeprecationWarnings===!1&&typeof console<"u"&&console.warn&&console.warn("Deprecation warning: "+t)}function Bt(t,e){var n=!0;return Bn(function(){if(ae.deprecationHandler!=null&&ae.deprecationHandler(null,t),n){var r=[],i,s,d,h=arguments.length;for(s=0;s<h;s++){if(i="",typeof arguments[s]=="object"){i+=`
|
|
1093
1093
|
[`+s+"] ";for(d in arguments[0])Oe(arguments[0],d)&&(i+=d+": "+arguments[0][d]+", ");i=i.slice(0,-2)}else i=arguments[s];r.push(i)}lm(t+`
|
|
1094
1094
|
Arguments: `+Array.prototype.slice.call(r).join("")+`
|
|
1095
|
-
`+new Error().stack),n=!1}return e.apply(this,arguments)},e)}var Vh={};function cm(t,e){ae.deprecationHandler!=null&&ae.deprecationHandler(t,e),Vh[t]||(lm(e),Vh[t]=!0)}ae.suppressDeprecationWarnings=!1;ae.deprecationHandler=null;function ln(t){return typeof Function<"u"&&t instanceof Function||Object.prototype.toString.call(t)==="[object Function]"}function o$(t){var e,n;for(n in t)Oe(t,n)&&(e=t[n],ln(e)?this[n]=e:this["_"+n]=e);this._config=t,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function Cl(t,e){var n=Bn({},t),r;for(r in e)Oe(e,r)&&(or(t[r])&&or(e[r])?(n[r]={},Bn(n[r],t[r]),Bn(n[r],e[r])):e[r]!=null?n[r]=e[r]:delete n[r]);for(r in t)Oe(t,r)&&!Oe(e,r)&&or(t[r])&&(n[r]=Bn({},n[r]));return n}function Fc(t){t!=null&&this.set(t)}var El;Object.keys?El=Object.keys:El=function(t){var e,n=[];for(e in t)Oe(t,e)&&n.push(e);return n};var a$={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function l$(t,e,n){var r=this._calendar[t]||this._calendar.sameElse;return ln(r)?r.call(e,n):r}function nn(t,e,n){var r=""+Math.abs(t),i=e-r.length,s=t>=0;return(s?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}var Vc=/(\[[^\[]*\])|(\\)?([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,xs=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Oa={},Or={};function fe(t,e,n,r){var i=r;typeof r=="string"&&(i=function(){return this[r]()}),t&&(Or[t]=i),e&&(Or[e[0]]=function(){return nn(i.apply(this,arguments),e[1],e[2])}),n&&(Or[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),t)})}function c$(t){return t.match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"")}function u$(t){var e=t.match(Vc),n,r;for(n=0,r=e.length;n<r;n++)Or[e[n]]?e[n]=Or[e[n]]:e[n]=c$(e[n]);return function(i){var s="",d;for(d=0;d<r;d++)s+=ln(e[d])?e[d].call(i,t):e[d];return s}}function Ms(t,e){return t.isValid()?(e=um(e,t.localeData()),Oa[e]=Oa[e]||u$(e),Oa[e](t)):t.localeData().invalidDate()}function um(t,e){var n=5;function r(i){return e.longDateFormat(i)||i}for(xs.lastIndex=0;n>=0&&xs.test(t);)t=t.replace(xs,r),xs.lastIndex=0,n-=1;return t}var h$={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 d$(t){var e=this._longDateFormat[t],n=this._longDateFormat[t.toUpperCase()];return e||!n?e:(this._longDateFormat[t]=n.match(Vc).map(function(r){return r==="MMMM"||r==="MM"||r==="DD"||r==="dddd"?r.slice(1):r}).join(""),this._longDateFormat[t])}var f$="Invalid date";function m$(){return this._invalidDate}var p$="%d",g$=/\d{1,2}/;function v$(t){return this._ordinal.replace("%d",t)}var w$={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 y$(t,e,n,r){var i=this._relativeTime[n];return ln(i)?i(t,e,n,r):i.replace(/%d/i,t)}function b$(t,e){var n=this._relativeTime[t>0?"future":"past"];return ln(n)?n(e):n.replace(/%s/i,e)}var mi={};function ut(t,e){var n=t.toLowerCase();mi[n]=mi[n+"s"]=mi[e]=t}function Ft(t){return typeof t=="string"?mi[t]||mi[t.toLowerCase()]:void 0}function Uc(t){var e={},n,r;for(r in t)Oe(t,r)&&(n=Ft(r),n&&(e[n]=t[r]));return e}var hm={};function ht(t,e){hm[t]=e}function S$(t){var e=[],n;for(n in t)Oe(t,n)&&e.push({unit:n,priority:hm[n]});return e.sort(function(r,i){return r.priority-i.priority}),e}function Zo(t){return t%4===0&&t%100!==0||t%400===0}function Rt(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function ke(t){var e=+t,n=0;return e!==0&&isFinite(e)&&(n=Rt(e)),n}function Yr(t,e){return function(n){return n!=null?(dm(this,t,n),ae.updateOffset(this,e),this):Js(this,t)}}function Js(t,e){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+e]():NaN}function dm(t,e,n){t.isValid()&&!isNaN(n)&&(e==="FullYear"&&Zo(t.year())&&t.month()===1&&t.date()===29?(n=ke(n),t._d["set"+(t._isUTC?"UTC":"")+e](n,t.month(),sa(n,t.month()))):t._d["set"+(t._isUTC?"UTC":"")+e](n))}function x$(t){return t=Ft(t),ln(this[t])?this[t]():this}function k$(t,e){if(typeof t=="object"){t=Uc(t);var n=S$(t),r,i=n.length;for(r=0;r<i;r++)this[n[r].unit](t[n[r].unit])}else if(t=Ft(t),ln(this[t]))return this[t](e);return this}var fm=/\d/,$t=/\d\d/,mm=/\d{3}/,Wc=/\d{4}/,ea=/[+-]?\d{6}/,Ve=/\d\d?/,pm=/\d\d\d\d?/,gm=/\d\d\d\d\d\d?/,ta=/\d{1,3}/,Hc=/\d{1,4}/,na=/[+-]?\d{1,6}/,Jr=/\d+/,ra=/[+-]?\d+/,C$=/Z|[+-]\d\d:?\d\d/gi,ia=/Z|[+-]\d\d(?::?\d\d)?/gi,E$=/[+-]?\d+(\.\d{1,3})?/,fs=/[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,Ks;Ks={};function le(t,e,n){Ks[t]=ln(e)?e:function(r,i){return r&&n?n:e}}function _$(t,e){return Oe(Ks,t)?Ks[t](e._strict,e._locale):new RegExp(T$(t))}function T$(t){return Ct(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,n,r,i,s){return n||r||i||s}))}function Ct(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var _l={};function Ie(t,e){var n,r=e,i;for(typeof t=="string"&&(t=[t]),xn(e)&&(r=function(s,d){d[e]=ke(s)}),i=t.length,n=0;n<i;n++)_l[t[n]]=r}function ms(t,e){Ie(t,function(n,r,i,s){i._w=i._w||{},e(n,i._w,i,s)})}function A$(t,e,n){e!=null&&Oe(_l,t)&&_l[t](e,n._a,n,t)}var ct=0,vn=1,Qt=2,tt=3,Ht=4,wn=5,ir=6,$$=7,O$=8;function L$(t,e){return(t%e+e)%e}var Ke;Array.prototype.indexOf?Ke=Array.prototype.indexOf:Ke=function(t){var e;for(e=0;e<this.length;++e)if(this[e]===t)return e;return-1};function sa(t,e){if(isNaN(t)||isNaN(e))return NaN;var n=L$(e,12);return t+=(e-n)/12,n===1?Zo(t)?29:28:31-n%7%2}fe("M",["MM",2],"Mo",function(){return this.month()+1});fe("MMM",0,0,function(t){return this.localeData().monthsShort(this,t)});fe("MMMM",0,0,function(t){return this.localeData().months(this,t)});ut("month","M");ht("month",8);le("M",Ve);le("MM",Ve,$t);le("MMM",function(t,e){return e.monthsShortRegex(t)});le("MMMM",function(t,e){return e.monthsRegex(t)});Ie(["M","MM"],function(t,e){e[vn]=ke(t)-1});Ie(["MMM","MMMM"],function(t,e,n,r){var i=n._locale.monthsParse(t,r,n._strict);i!=null?e[vn]=i:xe(n).invalidMonth=t});var M$="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),vm="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),wm=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,R$=fs,N$=fs;function I$(t,e){return t?Gt(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||wm).test(e)?"format":"standalone"][t.month()]:Gt(this._months)?this._months:this._months.standalone}function D$(t,e){return t?Gt(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[wm.test(e)?"format":"standalone"][t.month()]:Gt(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function P$(t,e,n){var r,i,s,d=t.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)s=an([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(s,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(s,"").toLocaleLowerCase();return n?e==="MMM"?(i=Ke.call(this._shortMonthsParse,d),i!==-1?i:null):(i=Ke.call(this._longMonthsParse,d),i!==-1?i:null):e==="MMM"?(i=Ke.call(this._shortMonthsParse,d),i!==-1?i:(i=Ke.call(this._longMonthsParse,d),i!==-1?i:null)):(i=Ke.call(this._longMonthsParse,d),i!==-1?i:(i=Ke.call(this._shortMonthsParse,d),i!==-1?i:null))}function B$(t,e,n){var r,i,s;if(this._monthsParseExact)return P$.call(this,t,e,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(i=an([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),!n&&!this._monthsParse[r]&&(s="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[r]=new RegExp(s.replace(".",""),"i")),n&&e==="MMMM"&&this._longMonthsParse[r].test(t))return r;if(n&&e==="MMM"&&this._shortMonthsParse[r].test(t))return r;if(!n&&this._monthsParse[r].test(t))return r}}function ym(t,e){var n;if(!t.isValid())return t;if(typeof e=="string"){if(/^\d+$/.test(e))e=ke(e);else if(e=t.localeData().monthsParse(e),!xn(e))return t}return n=Math.min(t.date(),sa(t.year(),e)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](e,n),t}function bm(t){return t!=null?(ym(this,t),ae.updateOffset(this,!0),this):Js(this,"Month")}function F$(){return sa(this.year(),this.month())}function V$(t){return this._monthsParseExact?(Oe(this,"_monthsRegex")||Sm.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(Oe(this,"_monthsShortRegex")||(this._monthsShortRegex=R$),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)}function U$(t){return this._monthsParseExact?(Oe(this,"_monthsRegex")||Sm.call(this),t?this._monthsStrictRegex:this._monthsRegex):(Oe(this,"_monthsRegex")||(this._monthsRegex=N$),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)}function Sm(){function t(d,h){return h.length-d.length}var e=[],n=[],r=[],i,s;for(i=0;i<12;i++)s=an([2e3,i]),e.push(this.monthsShort(s,"")),n.push(this.months(s,"")),r.push(this.months(s,"")),r.push(this.monthsShort(s,""));for(e.sort(t),n.sort(t),r.sort(t),i=0;i<12;i++)e[i]=Ct(e[i]),n[i]=Ct(n[i]);for(i=0;i<24;i++)r[i]=Ct(r[i]);this._monthsRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+e.join("|")+")","i")}fe("Y",0,0,function(){var t=this.year();return t<=9999?nn(t,4):"+"+t});fe(0,["YY",2],0,function(){return this.year()%100});fe(0,["YYYY",4],0,"year");fe(0,["YYYYY",5],0,"year");fe(0,["YYYYYY",6,!0],0,"year");ut("year","y");ht("year",1);le("Y",ra);le("YY",Ve,$t);le("YYYY",Hc,Wc);le("YYYYY",na,ea);le("YYYYYY",na,ea);Ie(["YYYYY","YYYYYY"],ct);Ie("YYYY",function(t,e){e[ct]=t.length===2?ae.parseTwoDigitYear(t):ke(t)});Ie("YY",function(t,e){e[ct]=ae.parseTwoDigitYear(t)});Ie("Y",function(t,e){e[ct]=parseInt(t,10)});function pi(t){return Zo(t)?366:365}ae.parseTwoDigitYear=function(t){return ke(t)+(ke(t)>68?1900:2e3)};var xm=Yr("FullYear",!0);function W$(){return Zo(this.year())}function H$(t,e,n,r,i,s,d){var h;return t<100&&t>=0?(h=new Date(t+400,e,n,r,i,s,d),isFinite(h.getFullYear())&&h.setFullYear(t)):h=new Date(t,e,n,r,i,s,d),h}function Hi(t){var e,n;return t<100&&t>=0?(n=Array.prototype.slice.call(arguments),n[0]=t+400,e=new Date(Date.UTC.apply(null,n)),isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t)):e=new Date(Date.UTC.apply(null,arguments)),e}function Xs(t,e,n){var r=7+e-n,i=(7+Hi(t,0,r).getUTCDay()-e)%7;return-i+r-1}function km(t,e,n,r,i){var s=(7+n-r)%7,d=Xs(t,r,i),h=1+7*(e-1)+s+d,c,m;return h<=0?(c=t-1,m=pi(c)+h):h>pi(t)?(c=t+1,m=h-pi(t)):(c=t,m=h),{year:c,dayOfYear:m}}function ji(t,e,n){var r=Xs(t.year(),e,n),i=Math.floor((t.dayOfYear()-r-1)/7)+1,s,d;return i<1?(d=t.year()-1,s=i+bn(d,e,n)):i>bn(t.year(),e,n)?(s=i-bn(t.year(),e,n),d=t.year()+1):(d=t.year(),s=i),{week:s,year:d}}function bn(t,e,n){var r=Xs(t,e,n),i=Xs(t+1,e,n);return(pi(t)-r+i)/7}fe("w",["ww",2],"wo","week");fe("W",["WW",2],"Wo","isoWeek");ut("week","w");ut("isoWeek","W");ht("week",5);ht("isoWeek",5);le("w",Ve);le("ww",Ve,$t);le("W",Ve);le("WW",Ve,$t);ms(["w","ww","W","WW"],function(t,e,n,r){e[r.substr(0,1)]=ke(t)});function j$(t){return ji(t,this._week.dow,this._week.doy).week}var z$={dow:0,doy:6};function G$(){return this._week.dow}function Y$(){return this._week.doy}function J$(t){var e=this.localeData().week(this);return t==null?e:this.add((t-e)*7,"d")}function K$(t){var e=ji(this,1,4).week;return t==null?e:this.add((t-e)*7,"d")}fe("d",0,"do","day");fe("dd",0,0,function(t){return this.localeData().weekdaysMin(this,t)});fe("ddd",0,0,function(t){return this.localeData().weekdaysShort(this,t)});fe("dddd",0,0,function(t){return this.localeData().weekdays(this,t)});fe("e",0,0,"weekday");fe("E",0,0,"isoWeekday");ut("day","d");ut("weekday","e");ut("isoWeekday","E");ht("day",11);ht("weekday",11);ht("isoWeekday",11);le("d",Ve);le("e",Ve);le("E",Ve);le("dd",function(t,e){return e.weekdaysMinRegex(t)});le("ddd",function(t,e){return e.weekdaysShortRegex(t)});le("dddd",function(t,e){return e.weekdaysRegex(t)});ms(["dd","ddd","dddd"],function(t,e,n,r){var i=n._locale.weekdaysParse(t,r,n._strict);i!=null?e.d=i:xe(n).invalidWeekday=t});ms(["d","e","E"],function(t,e,n,r){e[r]=ke(t)});function X$(t,e){return typeof t!="string"?t:isNaN(t)?(t=e.weekdaysParse(t),typeof t=="number"?t:null):parseInt(t,10)}function q$(t,e){return typeof t=="string"?e.weekdaysParse(t)%7||7:isNaN(t)?null:t}function jc(t,e){return t.slice(e,7).concat(t.slice(0,e))}var Q$="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Cm="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Z$="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),eO=fs,tO=fs,nO=fs;function rO(t,e){var n=Gt(this._weekdays)?this._weekdays:this._weekdays[t&&t!==!0&&this._weekdays.isFormat.test(e)?"format":"standalone"];return t===!0?jc(n,this._week.dow):t?n[t.day()]:n}function iO(t){return t===!0?jc(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort}function sO(t){return t===!0?jc(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin}function oO(t,e,n){var r,i,s,d=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)s=an([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(s,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(s,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(s,"").toLocaleLowerCase();return n?e==="dddd"?(i=Ke.call(this._weekdaysParse,d),i!==-1?i:null):e==="ddd"?(i=Ke.call(this._shortWeekdaysParse,d),i!==-1?i:null):(i=Ke.call(this._minWeekdaysParse,d),i!==-1?i:null):e==="dddd"?(i=Ke.call(this._weekdaysParse,d),i!==-1||(i=Ke.call(this._shortWeekdaysParse,d),i!==-1)?i:(i=Ke.call(this._minWeekdaysParse,d),i!==-1?i:null)):e==="ddd"?(i=Ke.call(this._shortWeekdaysParse,d),i!==-1||(i=Ke.call(this._weekdaysParse,d),i!==-1)?i:(i=Ke.call(this._minWeekdaysParse,d),i!==-1?i:null)):(i=Ke.call(this._minWeekdaysParse,d),i!==-1||(i=Ke.call(this._weekdaysParse,d),i!==-1)?i:(i=Ke.call(this._shortWeekdaysParse,d),i!==-1?i:null))}function aO(t,e,n){var r,i,s;if(this._weekdaysParseExact)return oO.call(this,t,e,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=an([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(s="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[r]=new RegExp(s.replace(".",""),"i")),n&&e==="dddd"&&this._fullWeekdaysParse[r].test(t))return r;if(n&&e==="ddd"&&this._shortWeekdaysParse[r].test(t))return r;if(n&&e==="dd"&&this._minWeekdaysParse[r].test(t))return r;if(!n&&this._weekdaysParse[r].test(t))return r}}function lO(t){if(!this.isValid())return t!=null?this:NaN;var e=this._isUTC?this._d.getUTCDay():this._d.getDay();return t!=null?(t=X$(t,this.localeData()),this.add(t-e,"d")):e}function cO(t){if(!this.isValid())return t!=null?this:NaN;var e=(this.day()+7-this.localeData()._week.dow)%7;return t==null?e:this.add(t-e,"d")}function uO(t){if(!this.isValid())return t!=null?this:NaN;if(t!=null){var e=q$(t,this.localeData());return this.day(this.day()%7?e:e-7)}else return this.day()||7}function hO(t){return this._weekdaysParseExact?(Oe(this,"_weekdaysRegex")||zc.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(Oe(this,"_weekdaysRegex")||(this._weekdaysRegex=eO),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)}function dO(t){return this._weekdaysParseExact?(Oe(this,"_weekdaysRegex")||zc.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(Oe(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=tO),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function fO(t){return this._weekdaysParseExact?(Oe(this,"_weekdaysRegex")||zc.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(Oe(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=nO),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function zc(){function t(a,o){return o.length-a.length}var e=[],n=[],r=[],i=[],s,d,h,c,m;for(s=0;s<7;s++)d=an([2e3,1]).day(s),h=Ct(this.weekdaysMin(d,"")),c=Ct(this.weekdaysShort(d,"")),m=Ct(this.weekdays(d,"")),e.push(h),n.push(c),r.push(m),i.push(h),i.push(c),i.push(m);e.sort(t),n.sort(t),r.sort(t),i.sort(t),this._weekdaysRegex=new RegExp("^("+i.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+e.join("|")+")","i")}function Gc(){return this.hours()%12||12}function mO(){return this.hours()||24}fe("H",["HH",2],0,"hour");fe("h",["hh",2],0,Gc);fe("k",["kk",2],0,mO);fe("hmm",0,0,function(){return""+Gc.apply(this)+nn(this.minutes(),2)});fe("hmmss",0,0,function(){return""+Gc.apply(this)+nn(this.minutes(),2)+nn(this.seconds(),2)});fe("Hmm",0,0,function(){return""+this.hours()+nn(this.minutes(),2)});fe("Hmmss",0,0,function(){return""+this.hours()+nn(this.minutes(),2)+nn(this.seconds(),2)});function Em(t,e){fe(t,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)})}Em("a",!0);Em("A",!1);ut("hour","h");ht("hour",13);function _m(t,e){return e._meridiemParse}le("a",_m);le("A",_m);le("H",Ve);le("h",Ve);le("k",Ve);le("HH",Ve,$t);le("hh",Ve,$t);le("kk",Ve,$t);le("hmm",pm);le("hmmss",gm);le("Hmm",pm);le("Hmmss",gm);Ie(["H","HH"],tt);Ie(["k","kk"],function(t,e,n){var r=ke(t);e[tt]=r===24?0:r});Ie(["a","A"],function(t,e,n){n._isPm=n._locale.isPM(t),n._meridiem=t});Ie(["h","hh"],function(t,e,n){e[tt]=ke(t),xe(n).bigHour=!0});Ie("hmm",function(t,e,n){var r=t.length-2;e[tt]=ke(t.substr(0,r)),e[Ht]=ke(t.substr(r)),xe(n).bigHour=!0});Ie("hmmss",function(t,e,n){var r=t.length-4,i=t.length-2;e[tt]=ke(t.substr(0,r)),e[Ht]=ke(t.substr(r,2)),e[wn]=ke(t.substr(i)),xe(n).bigHour=!0});Ie("Hmm",function(t,e,n){var r=t.length-2;e[tt]=ke(t.substr(0,r)),e[Ht]=ke(t.substr(r))});Ie("Hmmss",function(t,e,n){var r=t.length-4,i=t.length-2;e[tt]=ke(t.substr(0,r)),e[Ht]=ke(t.substr(r,2)),e[wn]=ke(t.substr(i))});function pO(t){return(t+"").toLowerCase().charAt(0)==="p"}var gO=/[ap]\.?m?\.?/i,vO=Yr("Hours",!0);function wO(t,e,n){return t>11?n?"pm":"PM":n?"am":"AM"}var Tm={calendar:a$,longDateFormat:h$,invalidDate:f$,ordinal:p$,dayOfMonthOrdinalParse:g$,relativeTime:w$,months:M$,monthsShort:vm,week:z$,weekdays:Q$,weekdaysMin:Z$,weekdaysShort:Cm,meridiemParse:gO},We={},ni={},zi;function yO(t,e){var n,r=Math.min(t.length,e.length);for(n=0;n<r;n+=1)if(t[n]!==e[n])return n;return r}function Uh(t){return t&&t.toLowerCase().replace("_","-")}function bO(t){for(var e=0,n,r,i,s;e<t.length;){for(s=Uh(t[e]).split("-"),n=s.length,r=Uh(t[e+1]),r=r?r.split("-"):null;n>0;){if(i=oa(s.slice(0,n).join("-")),i)return i;if(r&&r.length>=n&&yO(s,r)>=n-1)break;n--}e++}return zi}function SO(t){return t.match("^[^/\\\\]*$")!=null}function oa(t){var e=null,n;if(We[t]===void 0&&typeof module<"u"&&module&&module.exports&&SO(t))try{e=zi._abbr,n=require,n("./locale/"+t),Hn(e)}catch{We[t]=null}return We[t]}function Hn(t,e){var n;return t&&(gt(e)?n=Tn(t):n=Yc(t,e),n?zi=n:typeof console<"u"&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),zi._abbr}function Yc(t,e){if(e!==null){var n,r=Tm;if(e.abbr=t,We[t]!=null)cm("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=We[t]._config;else if(e.parentLocale!=null)if(We[e.parentLocale]!=null)r=We[e.parentLocale]._config;else if(n=oa(e.parentLocale),n!=null)r=n._config;else return ni[e.parentLocale]||(ni[e.parentLocale]=[]),ni[e.parentLocale].push({name:t,config:e}),null;return We[t]=new Fc(Cl(r,e)),ni[t]&&ni[t].forEach(function(i){Yc(i.name,i.config)}),Hn(t),We[t]}else return delete We[t],null}function xO(t,e){if(e!=null){var n,r,i=Tm;We[t]!=null&&We[t].parentLocale!=null?We[t].set(Cl(We[t]._config,e)):(r=oa(t),r!=null&&(i=r._config),e=Cl(i,e),r==null&&(e.abbr=t),n=new Fc(e),n.parentLocale=We[t],We[t]=n),Hn(t)}else We[t]!=null&&(We[t].parentLocale!=null?(We[t]=We[t].parentLocale,t===Hn()&&Hn(t)):We[t]!=null&&delete We[t]);return We[t]}function Tn(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return zi;if(!Gt(t)){if(e=oa(t),e)return e;t=[t]}return bO(t)}function kO(){return El(We)}function Jc(t){var e,n=t._a;return n&&xe(t).overflow===-2&&(e=n[vn]<0||n[vn]>11?vn:n[Qt]<1||n[Qt]>sa(n[ct],n[vn])?Qt:n[tt]<0||n[tt]>24||n[tt]===24&&(n[Ht]!==0||n[wn]!==0||n[ir]!==0)?tt:n[Ht]<0||n[Ht]>59?Ht:n[wn]<0||n[wn]>59?wn:n[ir]<0||n[ir]>999?ir:-1,xe(t)._overflowDayOfYear&&(e<ct||e>Qt)&&(e=Qt),xe(t)._overflowWeeks&&e===-1&&(e=$$),xe(t)._overflowWeekday&&e===-1&&(e=O$),xe(t).overflow=e),t}var CO=/^\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)?)?$/,EO=/^\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)?)?$/,_O=/Z|[+-]\d\d(?::?\d\d)?/,ks=[["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]],La=[["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/]],TO=/^\/?Date\((-?\d+)/i,AO=/^(?:(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}))$/,$O={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 Am(t){var e,n,r=t._i,i=CO.exec(r)||EO.exec(r),s,d,h,c,m=ks.length,a=La.length;if(i){for(xe(t).iso=!0,e=0,n=m;e<n;e++)if(ks[e][1].exec(i[1])){d=ks[e][0],s=ks[e][2]!==!1;break}if(d==null){t._isValid=!1;return}if(i[3]){for(e=0,n=a;e<n;e++)if(La[e][1].exec(i[3])){h=(i[2]||" ")+La[e][0];break}if(h==null){t._isValid=!1;return}}if(!s&&h!=null){t._isValid=!1;return}if(i[4])if(_O.exec(i[4]))c="Z";else{t._isValid=!1;return}t._f=d+(h||"")+(c||""),Xc(t)}else t._isValid=!1}function OO(t,e,n,r,i,s){var d=[LO(t),vm.indexOf(e),parseInt(n,10),parseInt(r,10),parseInt(i,10)];return s&&d.push(parseInt(s,10)),d}function LO(t){var e=parseInt(t,10);return e<=49?2e3+e:e<=999?1900+e:e}function MO(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function RO(t,e,n){if(t){var r=Cm.indexOf(t),i=new Date(e[0],e[1],e[2]).getDay();if(r!==i)return xe(n).weekdayMismatch=!0,n._isValid=!1,!1}return!0}function NO(t,e,n){if(t)return $O[t];if(e)return 0;var r=parseInt(n,10),i=r%100,s=(r-i)/100;return s*60+i}function $m(t){var e=AO.exec(MO(t._i)),n;if(e){if(n=OO(e[4],e[3],e[2],e[5],e[6],e[7]),!RO(e[1],n,t))return;t._a=n,t._tzm=NO(e[8],e[9],e[10]),t._d=Hi.apply(null,t._a),t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),xe(t).rfc2822=!0}else t._isValid=!1}function IO(t){var e=TO.exec(t._i);if(e!==null){t._d=new Date(+e[1]);return}if(Am(t),t._isValid===!1)delete t._isValid;else return;if($m(t),t._isValid===!1)delete t._isValid;else return;t._strict?t._isValid=!1:ae.createFromInputFallback(t)}ae.createFromInputFallback=Bt("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(t){t._d=new Date(t._i+(t._useUTC?" UTC":""))});function Cr(t,e,n){return t??e??n}function DO(t){var e=new Date(ae.now());return t._useUTC?[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()]:[e.getFullYear(),e.getMonth(),e.getDate()]}function Kc(t){var e,n,r=[],i,s,d;if(!t._d){for(i=DO(t),t._w&&t._a[Qt]==null&&t._a[vn]==null&&PO(t),t._dayOfYear!=null&&(d=Cr(t._a[ct],i[ct]),(t._dayOfYear>pi(d)||t._dayOfYear===0)&&(xe(t)._overflowDayOfYear=!0),n=Hi(d,0,t._dayOfYear),t._a[vn]=n.getUTCMonth(),t._a[Qt]=n.getUTCDate()),e=0;e<3&&t._a[e]==null;++e)t._a[e]=r[e]=i[e];for(;e<7;e++)t._a[e]=r[e]=t._a[e]==null?e===2?1:0:t._a[e];t._a[tt]===24&&t._a[Ht]===0&&t._a[wn]===0&&t._a[ir]===0&&(t._nextDay=!0,t._a[tt]=0),t._d=(t._useUTC?Hi:H$).apply(null,r),s=t._useUTC?t._d.getUTCDay():t._d.getDay(),t._tzm!=null&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[tt]=24),t._w&&typeof t._w.d<"u"&&t._w.d!==s&&(xe(t).weekdayMismatch=!0)}}function PO(t){var e,n,r,i,s,d,h,c,m;e=t._w,e.GG!=null||e.W!=null||e.E!=null?(s=1,d=4,n=Cr(e.GG,t._a[ct],ji(Fe(),1,4).year),r=Cr(e.W,1),i=Cr(e.E,1),(i<1||i>7)&&(c=!0)):(s=t._locale._week.dow,d=t._locale._week.doy,m=ji(Fe(),s,d),n=Cr(e.gg,t._a[ct],m.year),r=Cr(e.w,m.week),e.d!=null?(i=e.d,(i<0||i>6)&&(c=!0)):e.e!=null?(i=e.e+s,(e.e<0||e.e>6)&&(c=!0)):i=s),r<1||r>bn(n,s,d)?xe(t)._overflowWeeks=!0:c!=null?xe(t)._overflowWeekday=!0:(h=km(n,r,i,s,d),t._a[ct]=h.year,t._dayOfYear=h.dayOfYear)}ae.ISO_8601=function(){};ae.RFC_2822=function(){};function Xc(t){if(t._f===ae.ISO_8601){Am(t);return}if(t._f===ae.RFC_2822){$m(t);return}t._a=[],xe(t).empty=!0;var e=""+t._i,n,r,i,s,d,h=e.length,c=0,m,a;for(i=um(t._f,t._locale).match(Vc)||[],a=i.length,n=0;n<a;n++)s=i[n],r=(e.match(_$(s,t))||[])[0],r&&(d=e.substr(0,e.indexOf(r)),d.length>0&&xe(t).unusedInput.push(d),e=e.slice(e.indexOf(r)+r.length),c+=r.length),Or[s]?(r?xe(t).empty=!1:xe(t).unusedTokens.push(s),A$(s,r,t)):t._strict&&!r&&xe(t).unusedTokens.push(s);xe(t).charsLeftOver=h-c,e.length>0&&xe(t).unusedInput.push(e),t._a[tt]<=12&&xe(t).bigHour===!0&&t._a[tt]>0&&(xe(t).bigHour=void 0),xe(t).parsedDateParts=t._a.slice(0),xe(t).meridiem=t._meridiem,t._a[tt]=BO(t._locale,t._a[tt],t._meridiem),m=xe(t).era,m!==null&&(t._a[ct]=t._locale.erasConvertYear(m,t._a[ct])),Kc(t),Jc(t)}function BO(t,e,n){var r;return n==null?e:t.meridiemHour!=null?t.meridiemHour(e,n):(t.isPM!=null&&(r=t.isPM(n),r&&e<12&&(e+=12),!r&&e===12&&(e=0)),e)}function FO(t){var e,n,r,i,s,d,h=!1,c=t._f.length;if(c===0){xe(t).invalidFormat=!0,t._d=new Date(NaN);return}for(i=0;i<c;i++)s=0,d=!1,e=Bc({},t),t._useUTC!=null&&(e._useUTC=t._useUTC),e._f=t._f[i],Xc(e),Pc(e)&&(d=!0),s+=xe(e).charsLeftOver,s+=xe(e).unusedTokens.length*10,xe(e).score=s,h?s<r&&(r=s,n=e):(r==null||s<r||d)&&(r=s,n=e,d&&(h=!0));Bn(t,n||e)}function VO(t){if(!t._d){var e=Uc(t._i),n=e.day===void 0?e.date:e.day;t._a=am([e.year,e.month,n,e.hour,e.minute,e.second,e.millisecond],function(r){return r&&parseInt(r,10)}),Kc(t)}}function UO(t){var e=new ds(Jc(Om(t)));return e._nextDay&&(e.add(1,"d"),e._nextDay=void 0),e}function Om(t){var e=t._i,n=t._f;return t._locale=t._locale||Tn(t._l),e===null||n===void 0&&e===""?Qo({nullInput:!0}):(typeof e=="string"&&(t._i=e=t._locale.preparse(e)),Yt(e)?new ds(Jc(e)):(hs(e)?t._d=e:Gt(n)?FO(t):n?Xc(t):WO(t),Pc(t)||(t._d=null),t))}function WO(t){var e=t._i;gt(e)?t._d=new Date(ae.now()):hs(e)?t._d=new Date(e.valueOf()):typeof e=="string"?IO(t):Gt(e)?(t._a=am(e.slice(0),function(n){return parseInt(n,10)}),Kc(t)):or(e)?VO(t):xn(e)?t._d=new Date(e):ae.createFromInputFallback(t)}function Lm(t,e,n,r,i){var s={};return(e===!0||e===!1)&&(r=e,e=void 0),(n===!0||n===!1)&&(r=n,n=void 0),(or(t)&&Dc(t)||Gt(t)&&t.length===0)&&(t=void 0),s._isAMomentObject=!0,s._useUTC=s._isUTC=i,s._l=n,s._i=t,s._f=e,s._strict=r,UO(s)}function Fe(t,e,n,r){return Lm(t,e,n,r,!1)}var HO=Bt("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=Fe.apply(null,arguments);return this.isValid()&&t.isValid()?t<this?this:t:Qo()}),jO=Bt("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=Fe.apply(null,arguments);return this.isValid()&&t.isValid()?t>this?this:t:Qo()});function Mm(t,e){var n,r;if(e.length===1&&Gt(e[0])&&(e=e[0]),!e.length)return Fe();for(n=e[0],r=1;r<e.length;++r)(!e[r].isValid()||e[r][t](n))&&(n=e[r]);return n}function zO(){var t=[].slice.call(arguments,0);return Mm("isBefore",t)}function GO(){var t=[].slice.call(arguments,0);return Mm("isAfter",t)}var YO=function(){return Date.now?Date.now():+new Date},ri=["year","quarter","month","week","day","hour","minute","second","millisecond"];function JO(t){var e,n=!1,r,i=ri.length;for(e in t)if(Oe(t,e)&&!(Ke.call(ri,e)!==-1&&(t[e]==null||!isNaN(t[e]))))return!1;for(r=0;r<i;++r)if(t[ri[r]]){if(n)return!1;parseFloat(t[ri[r]])!==ke(t[ri[r]])&&(n=!0)}return!0}function KO(){return this._isValid}function XO(){return Jt(NaN)}function aa(t){var e=Uc(t),n=e.year||0,r=e.quarter||0,i=e.month||0,s=e.week||e.isoWeek||0,d=e.day||0,h=e.hour||0,c=e.minute||0,m=e.second||0,a=e.millisecond||0;this._isValid=JO(e),this._milliseconds=+a+m*1e3+c*6e4+h*1e3*60*60,this._days=+d+s*7,this._months=+i+r*3+n*12,this._data={},this._locale=Tn(),this._bubble()}function Rs(t){return t instanceof aa}function Tl(t){return t<0?Math.round(-1*t)*-1:Math.round(t)}function qO(t,e,n){var r=Math.min(t.length,e.length),i=Math.abs(t.length-e.length),s=0,d;for(d=0;d<r;d++)(n&&t[d]!==e[d]||!n&&ke(t[d])!==ke(e[d]))&&s++;return s+i}function Rm(t,e){fe(t,0,0,function(){var n=this.utcOffset(),r="+";return n<0&&(n=-n,r="-"),r+nn(~~(n/60),2)+e+nn(~~n%60,2)})}Rm("Z",":");Rm("ZZ","");le("Z",ia);le("ZZ",ia);Ie(["Z","ZZ"],function(t,e,n){n._useUTC=!0,n._tzm=qc(ia,t)});var QO=/([\+\-]|\d\d)/gi;function qc(t,e){var n=(e||"").match(t),r,i,s;return n===null?null:(r=n[n.length-1]||[],i=(r+"").match(QO)||["-",0,0],s=+(i[1]*60)+ke(i[2]),s===0?0:i[0]==="+"?s:-s)}function Qc(t,e){var n,r;return e._isUTC?(n=e.clone(),r=(Yt(t)||hs(t)?t.valueOf():Fe(t).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+r),ae.updateOffset(n,!1),n):Fe(t).local()}function Al(t){return-Math.round(t._d.getTimezoneOffset())}ae.updateOffset=function(){};function ZO(t,e,n){var r=this._offset||0,i;if(!this.isValid())return t!=null?this:NaN;if(t!=null){if(typeof t=="string"){if(t=qc(ia,t),t===null)return this}else Math.abs(t)<16&&!n&&(t=t*60);return!this._isUTC&&e&&(i=Al(this)),this._offset=t,this._isUTC=!0,i!=null&&this.add(i,"m"),r!==t&&(!e||this._changeInProgress?Dm(this,Jt(t-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,ae.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?r:Al(this)}function eL(t,e){return t!=null?(typeof t!="string"&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()}function tL(t){return this.utcOffset(0,t)}function nL(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(Al(this),"m")),this}function rL(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var t=qc(C$,this._i);t!=null?this.utcOffset(t):this.utcOffset(0,!0)}return this}function iL(t){return this.isValid()?(t=t?Fe(t).utcOffset():0,(this.utcOffset()-t)%60===0):!1}function sL(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function oL(){if(!gt(this._isDSTShifted))return this._isDSTShifted;var t={},e;return Bc(t,this),t=Om(t),t._a?(e=t._isUTC?an(t._a):Fe(t._a),this._isDSTShifted=this.isValid()&&qO(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function aL(){return this.isValid()?!this._isUTC:!1}function lL(){return this.isValid()?this._isUTC:!1}function Nm(){return this.isValid()?this._isUTC&&this._offset===0:!1}var cL=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,uL=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Jt(t,e){var n=t,r=null,i,s,d;return Rs(t)?n={ms:t._milliseconds,d:t._days,M:t._months}:xn(t)||!isNaN(+t)?(n={},e?n[e]=+t:n.milliseconds=+t):(r=cL.exec(t))?(i=r[1]==="-"?-1:1,n={y:0,d:ke(r[Qt])*i,h:ke(r[tt])*i,m:ke(r[Ht])*i,s:ke(r[wn])*i,ms:ke(Tl(r[ir]*1e3))*i}):(r=uL.exec(t))?(i=r[1]==="-"?-1:1,n={y:qn(r[2],i),M:qn(r[3],i),w:qn(r[4],i),d:qn(r[5],i),h:qn(r[6],i),m:qn(r[7],i),s:qn(r[8],i)}):n==null?n={}:typeof n=="object"&&("from"in n||"to"in n)&&(d=hL(Fe(n.from),Fe(n.to)),n={},n.ms=d.milliseconds,n.M=d.months),s=new aa(n),Rs(t)&&Oe(t,"_locale")&&(s._locale=t._locale),Rs(t)&&Oe(t,"_isValid")&&(s._isValid=t._isValid),s}Jt.fn=aa.prototype;Jt.invalid=XO;function qn(t,e){var n=t&&parseFloat(t.replace(",","."));return(isNaN(n)?0:n)*e}function Wh(t,e){var n={};return n.months=e.month()-t.month()+(e.year()-t.year())*12,t.clone().add(n.months,"M").isAfter(e)&&--n.months,n.milliseconds=+e-+t.clone().add(n.months,"M"),n}function hL(t,e){var n;return t.isValid()&&e.isValid()?(e=Qc(e,t),t.isBefore(e)?n=Wh(t,e):(n=Wh(e,t),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function Im(t,e){return function(n,r){var i,s;return r!==null&&!isNaN(+r)&&(cm(e,"moment()."+e+"(period, number) is deprecated. Please use moment()."+e+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),s=n,n=r,r=s),i=Jt(n,r),Dm(this,i,t),this}}function Dm(t,e,n,r){var i=e._milliseconds,s=Tl(e._days),d=Tl(e._months);!t.isValid()||(r=r??!0,d&&ym(t,Js(t,"Month")+d*n),s&&dm(t,"Date",Js(t,"Date")+s*n),i&&t._d.setTime(t._d.valueOf()+i*n),r&&ae.updateOffset(t,s||d))}var dL=Im(1,"add"),fL=Im(-1,"subtract");function Pm(t){return typeof t=="string"||t instanceof String}function mL(t){return Yt(t)||hs(t)||Pm(t)||xn(t)||gL(t)||pL(t)||t===null||t===void 0}function pL(t){var e=or(t)&&!Dc(t),n=!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"],i,s,d=r.length;for(i=0;i<d;i+=1)s=r[i],n=n||Oe(t,s);return e&&n}function gL(t){var e=Gt(t),n=!1;return e&&(n=t.filter(function(r){return!xn(r)&&Pm(t)}).length===0),e&&n}function vL(t){var e=or(t)&&!Dc(t),n=!1,r=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],i,s;for(i=0;i<r.length;i+=1)s=r[i],n=n||Oe(t,s);return e&&n}function wL(t,e){var n=t.diff(e,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function yL(t,e){arguments.length===1&&(arguments[0]?mL(arguments[0])?(t=arguments[0],e=void 0):vL(arguments[0])&&(e=arguments[0],t=void 0):(t=void 0,e=void 0));var n=t||Fe(),r=Qc(n,this).startOf("day"),i=ae.calendarFormat(this,r)||"sameElse",s=e&&(ln(e[i])?e[i].call(this,n):e[i]);return this.format(s||this.localeData().calendar(i,this,Fe(n)))}function bL(){return new ds(this)}function SL(t,e){var n=Yt(t)?t:Fe(t);return this.isValid()&&n.isValid()?(e=Ft(e)||"millisecond",e==="millisecond"?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(e).valueOf()):!1}function xL(t,e){var n=Yt(t)?t:Fe(t);return this.isValid()&&n.isValid()?(e=Ft(e)||"millisecond",e==="millisecond"?this.valueOf()<n.valueOf():this.clone().endOf(e).valueOf()<n.valueOf()):!1}function kL(t,e,n,r){var i=Yt(t)?t:Fe(t),s=Yt(e)?e:Fe(e);return this.isValid()&&i.isValid()&&s.isValid()?(r=r||"()",(r[0]==="("?this.isAfter(i,n):!this.isBefore(i,n))&&(r[1]===")"?this.isBefore(s,n):!this.isAfter(s,n))):!1}function CL(t,e){var n=Yt(t)?t:Fe(t),r;return this.isValid()&&n.isValid()?(e=Ft(e)||"millisecond",e==="millisecond"?this.valueOf()===n.valueOf():(r=n.valueOf(),this.clone().startOf(e).valueOf()<=r&&r<=this.clone().endOf(e).valueOf())):!1}function EL(t,e){return this.isSame(t,e)||this.isAfter(t,e)}function _L(t,e){return this.isSame(t,e)||this.isBefore(t,e)}function TL(t,e,n){var r,i,s;if(!this.isValid())return NaN;if(r=Qc(t,this),!r.isValid())return NaN;switch(i=(r.utcOffset()-this.utcOffset())*6e4,e=Ft(e),e){case"year":s=Ns(this,r)/12;break;case"month":s=Ns(this,r);break;case"quarter":s=Ns(this,r)/3;break;case"second":s=(this-r)/1e3;break;case"minute":s=(this-r)/6e4;break;case"hour":s=(this-r)/36e5;break;case"day":s=(this-r-i)/864e5;break;case"week":s=(this-r-i)/6048e5;break;default:s=this-r}return n?s:Rt(s)}function Ns(t,e){if(t.date()<e.date())return-Ns(e,t);var n=(e.year()-t.year())*12+(e.month()-t.month()),r=t.clone().add(n,"months"),i,s;return e-r<0?(i=t.clone().add(n-1,"months"),s=(e-r)/(r-i)):(i=t.clone().add(n+1,"months"),s=(e-r)/(i-r)),-(n+s)||0}ae.defaultFormat="YYYY-MM-DDTHH:mm:ssZ";ae.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function AL(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function $L(t){if(!this.isValid())return null;var e=t!==!0,n=e?this.clone().utc():this;return n.year()<0||n.year()>9999?Ms(n,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):ln(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",Ms(n,"Z")):Ms(n,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function OL(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t="moment",e="",n,r,i,s;return this.isLocal()||(t=this.utcOffset()===0?"moment.utc":"moment.parseZone",e="Z"),n="["+t+'("]',r=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",i="-MM-DD[T]HH:mm:ss.SSS",s=e+'[")]',this.format(n+r+i+s)}function LL(t){t||(t=this.isUtc()?ae.defaultFormatUtc:ae.defaultFormat);var e=Ms(this,t);return this.localeData().postformat(e)}function ML(t,e){return this.isValid()&&(Yt(t)&&t.isValid()||Fe(t).isValid())?Jt({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function RL(t){return this.from(Fe(),t)}function NL(t,e){return this.isValid()&&(Yt(t)&&t.isValid()||Fe(t).isValid())?Jt({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function IL(t){return this.to(Fe(),t)}function Bm(t){var e;return t===void 0?this._locale._abbr:(e=Tn(t),e!=null&&(this._locale=e),this)}var Fm=Bt("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(t){return t===void 0?this.localeData():this.locale(t)});function Vm(){return this._locale}var qs=1e3,Lr=60*qs,Qs=60*Lr,Um=(365*400+97)*24*Qs;function Mr(t,e){return(t%e+e)%e}function Wm(t,e,n){return t<100&&t>=0?new Date(t+400,e,n)-Um:new Date(t,e,n).valueOf()}function Hm(t,e,n){return t<100&&t>=0?Date.UTC(t+400,e,n)-Um:Date.UTC(t,e,n)}function DL(t){var e,n;if(t=Ft(t),t===void 0||t==="millisecond"||!this.isValid())return this;switch(n=this._isUTC?Hm:Wm,t){case"year":e=n(this.year(),0,1);break;case"quarter":e=n(this.year(),this.month()-this.month()%3,1);break;case"month":e=n(this.year(),this.month(),1);break;case"week":e=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":e=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":e=n(this.year(),this.month(),this.date());break;case"hour":e=this._d.valueOf(),e-=Mr(e+(this._isUTC?0:this.utcOffset()*Lr),Qs);break;case"minute":e=this._d.valueOf(),e-=Mr(e,Lr);break;case"second":e=this._d.valueOf(),e-=Mr(e,qs);break}return this._d.setTime(e),ae.updateOffset(this,!0),this}function PL(t){var e,n;if(t=Ft(t),t===void 0||t==="millisecond"||!this.isValid())return this;switch(n=this._isUTC?Hm:Wm,t){case"year":e=n(this.year()+1,0,1)-1;break;case"quarter":e=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":e=n(this.year(),this.month()+1,1)-1;break;case"week":e=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":e=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":e=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":e=this._d.valueOf(),e+=Qs-Mr(e+(this._isUTC?0:this.utcOffset()*Lr),Qs)-1;break;case"minute":e=this._d.valueOf(),e+=Lr-Mr(e,Lr)-1;break;case"second":e=this._d.valueOf(),e+=qs-Mr(e,qs)-1;break}return this._d.setTime(e),ae.updateOffset(this,!0),this}function BL(){return this._d.valueOf()-(this._offset||0)*6e4}function FL(){return Math.floor(this.valueOf()/1e3)}function VL(){return new Date(this.valueOf())}function UL(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]}function WL(){var t=this;return{years:t.year(),months:t.month(),date:t.date(),hours:t.hours(),minutes:t.minutes(),seconds:t.seconds(),milliseconds:t.milliseconds()}}function HL(){return this.isValid()?this.toISOString():null}function jL(){return Pc(this)}function zL(){return Bn({},xe(this))}function GL(){return xe(this).overflow}function YL(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}fe("N",0,0,"eraAbbr");fe("NN",0,0,"eraAbbr");fe("NNN",0,0,"eraAbbr");fe("NNNN",0,0,"eraName");fe("NNNNN",0,0,"eraNarrow");fe("y",["y",1],"yo","eraYear");fe("y",["yy",2],0,"eraYear");fe("y",["yyy",3],0,"eraYear");fe("y",["yyyy",4],0,"eraYear");le("N",Zc);le("NN",Zc);le("NNN",Zc);le("NNNN",iM);le("NNNNN",sM);Ie(["N","NN","NNN","NNNN","NNNNN"],function(t,e,n,r){var i=n._locale.erasParse(t,r,n._strict);i?xe(n).era=i:xe(n).invalidEra=t});le("y",Jr);le("yy",Jr);le("yyy",Jr);le("yyyy",Jr);le("yo",oM);Ie(["y","yy","yyy","yyyy"],ct);Ie(["yo"],function(t,e,n,r){var i;n._locale._eraYearOrdinalRegex&&(i=t.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?e[ct]=n._locale.eraYearOrdinalParse(t,i):e[ct]=parseInt(t,10)});function JL(t,e){var n,r,i,s=this._eras||Tn("en")._eras;for(n=0,r=s.length;n<r;++n){switch(typeof s[n].since){case"string":i=ae(s[n].since).startOf("day"),s[n].since=i.valueOf();break}switch(typeof s[n].until){case"undefined":s[n].until=1/0;break;case"string":i=ae(s[n].until).startOf("day").valueOf(),s[n].until=i.valueOf();break}}return s}function KL(t,e,n){var r,i,s=this.eras(),d,h,c;for(t=t.toUpperCase(),r=0,i=s.length;r<i;++r)if(d=s[r].name.toUpperCase(),h=s[r].abbr.toUpperCase(),c=s[r].narrow.toUpperCase(),n)switch(e){case"N":case"NN":case"NNN":if(h===t)return s[r];break;case"NNNN":if(d===t)return s[r];break;case"NNNNN":if(c===t)return s[r];break}else if([d,h,c].indexOf(t)>=0)return s[r]}function XL(t,e){var n=t.since<=t.until?1:-1;return e===void 0?ae(t.since).year():ae(t.since).year()+(e-t.offset)*n}function qL(){var t,e,n,r=this.localeData().eras();for(t=0,e=r.length;t<e;++t)if(n=this.clone().startOf("day").valueOf(),r[t].since<=n&&n<=r[t].until||r[t].until<=n&&n<=r[t].since)return r[t].name;return""}function QL(){var t,e,n,r=this.localeData().eras();for(t=0,e=r.length;t<e;++t)if(n=this.clone().startOf("day").valueOf(),r[t].since<=n&&n<=r[t].until||r[t].until<=n&&n<=r[t].since)return r[t].narrow;return""}function ZL(){var t,e,n,r=this.localeData().eras();for(t=0,e=r.length;t<e;++t)if(n=this.clone().startOf("day").valueOf(),r[t].since<=n&&n<=r[t].until||r[t].until<=n&&n<=r[t].since)return r[t].abbr;return""}function eM(){var t,e,n,r,i=this.localeData().eras();for(t=0,e=i.length;t<e;++t)if(n=i[t].since<=i[t].until?1:-1,r=this.clone().startOf("day").valueOf(),i[t].since<=r&&r<=i[t].until||i[t].until<=r&&r<=i[t].since)return(this.year()-ae(i[t].since).year())*n+i[t].offset;return this.year()}function tM(t){return Oe(this,"_erasNameRegex")||eu.call(this),t?this._erasNameRegex:this._erasRegex}function nM(t){return Oe(this,"_erasAbbrRegex")||eu.call(this),t?this._erasAbbrRegex:this._erasRegex}function rM(t){return Oe(this,"_erasNarrowRegex")||eu.call(this),t?this._erasNarrowRegex:this._erasRegex}function Zc(t,e){return e.erasAbbrRegex(t)}function iM(t,e){return e.erasNameRegex(t)}function sM(t,e){return e.erasNarrowRegex(t)}function oM(t,e){return e._eraYearOrdinalRegex||Jr}function eu(){var t=[],e=[],n=[],r=[],i,s,d=this.eras();for(i=0,s=d.length;i<s;++i)e.push(Ct(d[i].name)),t.push(Ct(d[i].abbr)),n.push(Ct(d[i].narrow)),r.push(Ct(d[i].name)),r.push(Ct(d[i].abbr)),r.push(Ct(d[i].narrow));this._erasRegex=new RegExp("^("+r.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+e.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+t.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+n.join("|")+")","i")}fe(0,["gg",2],0,function(){return this.weekYear()%100});fe(0,["GG",2],0,function(){return this.isoWeekYear()%100});function la(t,e){fe(0,[t,t.length],0,e)}la("gggg","weekYear");la("ggggg","weekYear");la("GGGG","isoWeekYear");la("GGGGG","isoWeekYear");ut("weekYear","gg");ut("isoWeekYear","GG");ht("weekYear",1);ht("isoWeekYear",1);le("G",ra);le("g",ra);le("GG",Ve,$t);le("gg",Ve,$t);le("GGGG",Hc,Wc);le("gggg",Hc,Wc);le("GGGGG",na,ea);le("ggggg",na,ea);ms(["gggg","ggggg","GGGG","GGGGG"],function(t,e,n,r){e[r.substr(0,2)]=ke(t)});ms(["gg","GG"],function(t,e,n,r){e[r]=ae.parseTwoDigitYear(t)});function aM(t){return jm.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function lM(t){return jm.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)}function cM(){return bn(this.year(),1,4)}function uM(){return bn(this.isoWeekYear(),1,4)}function hM(){var t=this.localeData()._week;return bn(this.year(),t.dow,t.doy)}function dM(){var t=this.localeData()._week;return bn(this.weekYear(),t.dow,t.doy)}function jm(t,e,n,r,i){var s;return t==null?ji(this,r,i).year:(s=bn(t,r,i),e>s&&(e=s),fM.call(this,t,e,n,r,i))}function fM(t,e,n,r,i){var s=km(t,e,n,r,i),d=Hi(s.year,0,s.dayOfYear);return this.year(d.getUTCFullYear()),this.month(d.getUTCMonth()),this.date(d.getUTCDate()),this}fe("Q",0,"Qo","quarter");ut("quarter","Q");ht("quarter",7);le("Q",fm);Ie("Q",function(t,e){e[vn]=(ke(t)-1)*3});function mM(t){return t==null?Math.ceil((this.month()+1)/3):this.month((t-1)*3+this.month()%3)}fe("D",["DD",2],"Do","date");ut("date","D");ht("date",9);le("D",Ve);le("DD",Ve,$t);le("Do",function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient});Ie(["D","DD"],Qt);Ie("Do",function(t,e){e[Qt]=ke(t.match(Ve)[0])});var zm=Yr("Date",!0);fe("DDD",["DDDD",3],"DDDo","dayOfYear");ut("dayOfYear","DDD");ht("dayOfYear",4);le("DDD",ta);le("DDDD",mm);Ie(["DDD","DDDD"],function(t,e,n){n._dayOfYear=ke(t)});function pM(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return t==null?e:this.add(t-e,"d")}fe("m",["mm",2],0,"minute");ut("minute","m");ht("minute",14);le("m",Ve);le("mm",Ve,$t);Ie(["m","mm"],Ht);var gM=Yr("Minutes",!1);fe("s",["ss",2],0,"second");ut("second","s");ht("second",15);le("s",Ve);le("ss",Ve,$t);Ie(["s","ss"],wn);var vM=Yr("Seconds",!1);fe("S",0,0,function(){return~~(this.millisecond()/100)});fe(0,["SS",2],0,function(){return~~(this.millisecond()/10)});fe(0,["SSS",3],0,"millisecond");fe(0,["SSSS",4],0,function(){return this.millisecond()*10});fe(0,["SSSSS",5],0,function(){return this.millisecond()*100});fe(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3});fe(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4});fe(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5});fe(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6});ut("millisecond","ms");ht("millisecond",16);le("S",ta,fm);le("SS",ta,$t);le("SSS",ta,mm);var Fn,Gm;for(Fn="SSSS";Fn.length<=9;Fn+="S")le(Fn,Jr);function wM(t,e){e[ir]=ke(("0."+t)*1e3)}for(Fn="S";Fn.length<=9;Fn+="S")Ie(Fn,wM);Gm=Yr("Milliseconds",!1);fe("z",0,0,"zoneAbbr");fe("zz",0,0,"zoneName");function yM(){return this._isUTC?"UTC":""}function bM(){return this._isUTC?"Coordinated Universal Time":""}var ee=ds.prototype;ee.add=dL;ee.calendar=yL;ee.clone=bL;ee.diff=TL;ee.endOf=PL;ee.format=LL;ee.from=ML;ee.fromNow=RL;ee.to=NL;ee.toNow=IL;ee.get=x$;ee.invalidAt=GL;ee.isAfter=SL;ee.isBefore=xL;ee.isBetween=kL;ee.isSame=CL;ee.isSameOrAfter=EL;ee.isSameOrBefore=_L;ee.isValid=jL;ee.lang=Fm;ee.locale=Bm;ee.localeData=Vm;ee.max=jO;ee.min=HO;ee.parsingFlags=zL;ee.set=k$;ee.startOf=DL;ee.subtract=fL;ee.toArray=UL;ee.toObject=WL;ee.toDate=VL;ee.toISOString=$L;ee.inspect=OL;typeof Symbol<"u"&&Symbol.for!=null&&(ee[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"});ee.toJSON=HL;ee.toString=AL;ee.unix=FL;ee.valueOf=BL;ee.creationData=YL;ee.eraName=qL;ee.eraNarrow=QL;ee.eraAbbr=ZL;ee.eraYear=eM;ee.year=xm;ee.isLeapYear=W$;ee.weekYear=aM;ee.isoWeekYear=lM;ee.quarter=ee.quarters=mM;ee.month=bm;ee.daysInMonth=F$;ee.week=ee.weeks=J$;ee.isoWeek=ee.isoWeeks=K$;ee.weeksInYear=hM;ee.weeksInWeekYear=dM;ee.isoWeeksInYear=cM;ee.isoWeeksInISOWeekYear=uM;ee.date=zm;ee.day=ee.days=lO;ee.weekday=cO;ee.isoWeekday=uO;ee.dayOfYear=pM;ee.hour=ee.hours=vO;ee.minute=ee.minutes=gM;ee.second=ee.seconds=vM;ee.millisecond=ee.milliseconds=Gm;ee.utcOffset=ZO;ee.utc=tL;ee.local=nL;ee.parseZone=rL;ee.hasAlignedHourOffset=iL;ee.isDST=sL;ee.isLocal=aL;ee.isUtcOffset=lL;ee.isUtc=Nm;ee.isUTC=Nm;ee.zoneAbbr=yM;ee.zoneName=bM;ee.dates=Bt("dates accessor is deprecated. Use date instead.",zm);ee.months=Bt("months accessor is deprecated. Use month instead",bm);ee.years=Bt("years accessor is deprecated. Use year instead",xm);ee.zone=Bt("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",eL);ee.isDSTShifted=Bt("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",oL);function SM(t){return Fe(t*1e3)}function xM(){return Fe.apply(null,arguments).parseZone()}function Ym(t){return t}var Le=Fc.prototype;Le.calendar=l$;Le.longDateFormat=d$;Le.invalidDate=m$;Le.ordinal=v$;Le.preparse=Ym;Le.postformat=Ym;Le.relativeTime=y$;Le.pastFuture=b$;Le.set=o$;Le.eras=JL;Le.erasParse=KL;Le.erasConvertYear=XL;Le.erasAbbrRegex=nM;Le.erasNameRegex=tM;Le.erasNarrowRegex=rM;Le.months=I$;Le.monthsShort=D$;Le.monthsParse=B$;Le.monthsRegex=U$;Le.monthsShortRegex=V$;Le.week=j$;Le.firstDayOfYear=Y$;Le.firstDayOfWeek=G$;Le.weekdays=rO;Le.weekdaysMin=sO;Le.weekdaysShort=iO;Le.weekdaysParse=aO;Le.weekdaysRegex=hO;Le.weekdaysShortRegex=dO;Le.weekdaysMinRegex=fO;Le.isPM=pO;Le.meridiem=wO;function Zs(t,e,n,r){var i=Tn(),s=an().set(r,e);return i[n](s,t)}function Jm(t,e,n){if(xn(t)&&(e=t,t=void 0),t=t||"",e!=null)return Zs(t,e,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=Zs(t,r,n,"month");return i}function tu(t,e,n,r){typeof t=="boolean"?(xn(e)&&(n=e,e=void 0),e=e||""):(e=t,n=e,t=!1,xn(e)&&(n=e,e=void 0),e=e||"");var i=Tn(),s=t?i._week.dow:0,d,h=[];if(n!=null)return Zs(e,(n+s)%7,r,"day");for(d=0;d<7;d++)h[d]=Zs(e,(d+s)%7,r,"day");return h}function kM(t,e){return Jm(t,e,"months")}function CM(t,e){return Jm(t,e,"monthsShort")}function EM(t,e,n){return tu(t,e,n,"weekdays")}function _M(t,e,n){return tu(t,e,n,"weekdaysShort")}function TM(t,e,n){return tu(t,e,n,"weekdaysMin")}Hn("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(t){var e=t%10,n=ke(t%100/10)===1?"th":e===1?"st":e===2?"nd":e===3?"rd":"th";return t+n}});ae.lang=Bt("moment.lang is deprecated. Use moment.locale instead.",Hn);ae.langData=Bt("moment.langData is deprecated. Use moment.localeData instead.",Tn);var un=Math.abs;function AM(){var t=this._data;return this._milliseconds=un(this._milliseconds),this._days=un(this._days),this._months=un(this._months),t.milliseconds=un(t.milliseconds),t.seconds=un(t.seconds),t.minutes=un(t.minutes),t.hours=un(t.hours),t.months=un(t.months),t.years=un(t.years),this}function Km(t,e,n,r){var i=Jt(e,n);return t._milliseconds+=r*i._milliseconds,t._days+=r*i._days,t._months+=r*i._months,t._bubble()}function $M(t,e){return Km(this,t,e,1)}function OM(t,e){return Km(this,t,e,-1)}function Hh(t){return t<0?Math.floor(t):Math.ceil(t)}function LM(){var t=this._milliseconds,e=this._days,n=this._months,r=this._data,i,s,d,h,c;return t>=0&&e>=0&&n>=0||t<=0&&e<=0&&n<=0||(t+=Hh($l(n)+e)*864e5,e=0,n=0),r.milliseconds=t%1e3,i=Rt(t/1e3),r.seconds=i%60,s=Rt(i/60),r.minutes=s%60,d=Rt(s/60),r.hours=d%24,e+=Rt(d/24),c=Rt(Xm(e)),n+=c,e-=Hh($l(c)),h=Rt(n/12),n%=12,r.days=e,r.months=n,r.years=h,this}function Xm(t){return t*4800/146097}function $l(t){return t*146097/4800}function MM(t){if(!this.isValid())return NaN;var e,n,r=this._milliseconds;if(t=Ft(t),t==="month"||t==="quarter"||t==="year")switch(e=this._days+r/864e5,n=this._months+Xm(e),t){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(e=this._days+Math.round($l(this._months)),t){case"week":return e/7+r/6048e5;case"day":return e+r/864e5;case"hour":return e*24+r/36e5;case"minute":return e*1440+r/6e4;case"second":return e*86400+r/1e3;case"millisecond":return Math.floor(e*864e5)+r;default:throw new Error("Unknown unit "+t)}}function RM(){return this.isValid()?this._milliseconds+this._days*864e5+this._months%12*2592e6+ke(this._months/12)*31536e6:NaN}function An(t){return function(){return this.as(t)}}var NM=An("ms"),IM=An("s"),DM=An("m"),PM=An("h"),BM=An("d"),FM=An("w"),VM=An("M"),UM=An("Q"),WM=An("y");function HM(){return Jt(this)}function jM(t){return t=Ft(t),this.isValid()?this[t+"s"]():NaN}function vr(t){return function(){return this.isValid()?this._data[t]:NaN}}var zM=vr("milliseconds"),GM=vr("seconds"),YM=vr("minutes"),JM=vr("hours"),KM=vr("days"),XM=vr("months"),qM=vr("years");function QM(){return Rt(this.days()/7)}var dn=Math.round,Tr={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function ZM(t,e,n,r,i){return i.relativeTime(e||1,!!n,t,r)}function eR(t,e,n,r){var i=Jt(t).abs(),s=dn(i.as("s")),d=dn(i.as("m")),h=dn(i.as("h")),c=dn(i.as("d")),m=dn(i.as("M")),a=dn(i.as("w")),o=dn(i.as("y")),u=s<=n.ss&&["s",s]||s<n.s&&["ss",s]||d<=1&&["m"]||d<n.m&&["mm",d]||h<=1&&["h"]||h<n.h&&["hh",h]||c<=1&&["d"]||c<n.d&&["dd",c];return n.w!=null&&(u=u||a<=1&&["w"]||a<n.w&&["ww",a]),u=u||m<=1&&["M"]||m<n.M&&["MM",m]||o<=1&&["y"]||["yy",o],u[2]=e,u[3]=+t>0,u[4]=r,ZM.apply(null,u)}function tR(t){return t===void 0?dn:typeof t=="function"?(dn=t,!0):!1}function nR(t,e){return Tr[t]===void 0?!1:e===void 0?Tr[t]:(Tr[t]=e,t==="s"&&(Tr.ss=e-1),!0)}function rR(t,e){if(!this.isValid())return this.localeData().invalidDate();var n=!1,r=Tr,i,s;return typeof t=="object"&&(e=t,t=!1),typeof t=="boolean"&&(n=t),typeof e=="object"&&(r=Object.assign({},Tr,e),e.s!=null&&e.ss==null&&(r.ss=e.s-1)),i=this.localeData(),s=eR(this,!n,r,i),n&&(s=i.pastFuture(+this,s)),i.postformat(s)}var Ma=Math.abs;function Sr(t){return(t>0)-(t<0)||+t}function ca(){if(!this.isValid())return this.localeData().invalidDate();var t=Ma(this._milliseconds)/1e3,e=Ma(this._days),n=Ma(this._months),r,i,s,d,h=this.asSeconds(),c,m,a,o;return h?(r=Rt(t/60),i=Rt(r/60),t%=60,r%=60,s=Rt(n/12),n%=12,d=t?t.toFixed(3).replace(/\.?0+$/,""):"",c=h<0?"-":"",m=Sr(this._months)!==Sr(h)?"-":"",a=Sr(this._days)!==Sr(h)?"-":"",o=Sr(this._milliseconds)!==Sr(h)?"-":"",c+"P"+(s?m+s+"Y":"")+(n?m+n+"M":"")+(e?a+e+"D":"")+(i||r||t?"T":"")+(i?o+i+"H":"")+(r?o+r+"M":"")+(t?o+d+"S":"")):"P0D"}var Te=aa.prototype;Te.isValid=KO;Te.abs=AM;Te.add=$M;Te.subtract=OM;Te.as=MM;Te.asMilliseconds=NM;Te.asSeconds=IM;Te.asMinutes=DM;Te.asHours=PM;Te.asDays=BM;Te.asWeeks=FM;Te.asMonths=VM;Te.asQuarters=UM;Te.asYears=WM;Te.valueOf=RM;Te._bubble=LM;Te.clone=HM;Te.get=jM;Te.milliseconds=zM;Te.seconds=GM;Te.minutes=YM;Te.hours=JM;Te.days=KM;Te.weeks=QM;Te.months=XM;Te.years=qM;Te.humanize=rR;Te.toISOString=ca;Te.toString=ca;Te.toJSON=ca;Te.locale=Bm;Te.localeData=Vm;Te.toIsoString=Bt("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",ca);Te.lang=Fm;fe("X",0,0,"unix");fe("x",0,0,"valueOf");le("x",ra);le("X",E$);Ie("X",function(t,e,n){n._d=new Date(parseFloat(t)*1e3)});Ie("x",function(t,e,n){n._d=new Date(ke(t))});//! moment.js
|
|
1096
|
-
ae.version="2.29.4";i$(Fe);ae.fn=ee;ae.min=zO;ae.max=GO;ae.now=YO;ae.utc=an;ae.unix=SM;ae.months=kM;ae.isDate=hs;ae.locale=Hn;ae.invalid=Qo;ae.duration=Jt;ae.isMoment=Yt;ae.weekdays=EM;ae.parseZone=xM;ae.localeData=Tn;ae.isDuration=Rs;ae.monthsShort=CM;ae.weekdaysMin=TM;ae.defineLocale=Yc;ae.updateLocale=xO;ae.locales=kO;ae.weekdaysShort=_M;ae.normalizeUnits=Ft;ae.relativeTimeRounding=tR;ae.relativeTimeThreshold=nR;ae.calendarFormat=wL;ae.prototype=ee;ae.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"};const iR={class:"tw-text-[#a5a5a5] tw-text-xs"},sR={key:1},oR={key:1,class:"tw-text-[#a5a5a5]"},aR={key:2,class:"tw-text-[#a5a5a5]"},lR={key:5,class:"tw-flex tw-justify-center"},cR={key:6,class:"tw-text-right"},uR={key:8},hR=l.defineComponent({__name:"vc-table-cell",props:{cell:{default:void 0},item:{default:void 0}},setup(t){const e=t,n=window.navigator.language,r=l.computed(()=>(e.cell.field||e.cell.id).split(".").reduce((i,s)=>i&&i[s]||null,e.item));return(i,s)=>t.cell.type==="money"?(l.openBlock(),l.createElementBlock(l.Fragment,{key:0},[l.unref(r)>0?(l.openBlock(),l.createElementBlock(l.Fragment,{key:0},[l.createElementVNode("span",null,l.toDisplayString(Math.trunc(Number(l.unref(r)))),1),l.createElementVNode("span",iR,"."+l.toDisplayString(`${Number(l.unref(r))*100%100}`.padEnd(2,"0").slice(0,2)),1)],64)):(l.openBlock(),l.createElementBlock("span",sR,"N/A"))],64)):t.cell.type==="date-ago"?(l.openBlock(),l.createElementBlock("span",oR,[l.unref(r)?(l.openBlock(),l.createElementBlock(l.Fragment,{key:0},[l.createTextVNode(l.toDisplayString(l.unref(ae)(l.unref(r)).fromNow()),1)],64)):(l.openBlock(),l.createElementBlock(l.Fragment,{key:1},[l.createTextVNode("N/A")],64))])):t.cell.type==="date"||t.cell.type==="time"||t.cell.type==="date-time"?(l.openBlock(),l.createElementBlock("span",aR,[l.unref(r)?(l.openBlock(),l.createElementBlock(l.Fragment,{key:0},[t.cell.format?(l.openBlock(),l.createElementBlock(l.Fragment,{key:0},[l.createTextVNode(l.toDisplayString(l.unref(ae)(l.unref(r)).locale(l.unref(n)).format(t.cell.format)),1)],64)):(l.openBlock(),l.createElementBlock(l.Fragment,{key:1},[t.cell.type==="date"?(l.openBlock(),l.createElementBlock(l.Fragment,{key:0},[l.createTextVNode(l.toDisplayString(l.unref(r).toLocaleDateString()),1)],64)):l.createCommentVNode("",!0),t.cell.type==="time"?(l.openBlock(),l.createElementBlock(l.Fragment,{key:1},[l.createTextVNode(l.toDisplayString(l.unref(r).toLocaleTimeString()),1)],64)):l.createCommentVNode("",!0),t.cell.type==="date-time"?(l.openBlock(),l.createElementBlock(l.Fragment,{key:2},[l.createTextVNode(l.toDisplayString(l.unref(r).toLocaleString()),1)],64)):l.createCommentVNode("",!0)],64))],64)):(l.openBlock(),l.createElementBlock(l.Fragment,{key:1},[l.createTextVNode("N/A")],64))])):t.cell.type==="image"?(l.openBlock(),l.createBlock(l.unref(oo),{key:3,bordered:!0,size:"s",aspect:"1x1",src:l.unref(r),background:"contain"},null,8,["src"])):t.cell.type==="status"?(l.openBlock(),l.createBlock(l.unref(Bl),{key:4},{default:l.withCtx(()=>[l.createTextVNode(l.toDisplayString(l.unref(r)),1)]),_:1})):t.cell.type==="status-icon"?(l.openBlock(),l.createElementBlock("div",lR,[l.createVNode(l.unref(Fl),{status:l.unref(r)},null,8,["status"])])):t.cell.type==="number"?(l.openBlock(),l.createElementBlock("span",cR,l.toDisplayString(Number(l.unref(r)).toFixed(0)),1)):t.cell.type==="link"?(l.openBlock(),l.createBlock(l.unref(Il),{key:7},{default:l.withCtx(()=>[l.createTextVNode(l.toDisplayString(l.unref(r)),1)]),_:1})):(l.openBlock(),l.createElementBlock("span",uR,l.toDisplayString(l.unref(r)),1))}}),dR={class:"tw-relative tw-overflow-hidden tw-flex tw-flex-col tw-grow tw-basis-0"},fR={class:"tw-shrink-0 tw-flex tw-items-center tw-justify-between tw-p-4"},mR={key:0,class:"tw-mr-3"},pR={key:1,class:"tw-ml-3"},gR={class:"tw-flex tw-relative tw-overflow-hidden tw-grow"},vR={key:0},wR={key:0,class:"vc-table__header"},yR={class:"vc-table__header-row"},bR={key:0,class:"tw-h-[42px] tw-bg-[#f9f9f9] !tw-border-0 tw-shadow-[inset_0px_1px_0px_#eaedf3,_inset_0px_-1px_0px_#eaedf3] tw-box-border sticky tw-top-0 tw-select-none tw-overflow-hidden tw-z-[1]",width:"50"},SR={class:"tw-flex tw-justify-center tw-items-center"},xR=["width","onClick"],kR={key:0,class:"tw-ml-1"},CR={key:1,class:"tw-flex tw-flex-col tw-ml-1 tw-invisible group-hover:tw-visible"},ER={key:1,class:"tw-h-[42px] tw-bg-[#f9f9f9] !tw-border-0 tw-shadow-[inset_0px_1px_0px_#eaedf3,_inset_0px_-1px_0px_#eaedf3] tw-box-border sticky tw-top-0 tw-select-none tw-overflow-hidden tw-z-[1]",width:"44"},_R={key:1,class:"vc-table__body"},TR=["onClick","onMouseover"],AR={key:0,width:"50"},$R={class:"tw-flex tw-justify-center tw-items-center"},OR=["width"],LR={key:1,class:"tw-box-border tw-overflow-visible tw-px-3",width:"44"},MR={class:"vc-table__body-actions-container tw-relative !tw-hidden tw-justify-center tw-items-center"},RR=["onClick","disabled"],NR={class:"tw-flex tw-items-center tw-flex-row tw-text-[#3f3f3f] tw-font-normal not-italic tw-text-base tw-leading-[20px] tw-gap-[25px]"},IR=["onClick"],DR={class:"tw-not-italic tw-font-normal tw-text-base tw-leading-[20px] tw-text-[#3f3f3f] tw-ml-[7px]"},PR=l.createElementVNode("div",{class:"vc-table__body-tooltip-arrow","data-popper-arrow":""},null,-1),BR={key:0,class:"tw-w-full tw-h-full tw-box-border tw-flex tw-flex-col tw-items-center tw-justify-center"},FR=["src"],VR={class:"tw-m-4 vc-table__empty-text"},UR={key:0,class:"tw-w-full tw-h-full tw-box-border tw-flex tw-flex-col tw-items-center tw-justify-center"},WR=["src"],HR={class:"tw-m-4 tw-text-xl tw-font-medium"},jR={class:"tw-bg-[#fbfdfe] tw-border-t tw-border-solid tw-border-[#eaedf3] tw-flex-shrink-0 tw-flex tw-items-center tw-justify-between tw-p-4"},qm=l.defineComponent({__name:"vc-table",props:{columns:{type:Array,default:()=>[]},items:{type:Array,default:()=>[]},filterItems:{type:Array,default:()=>[]},itemActionBuilder:{type:Function,default:void 0},sort:{type:String,default:void 0},multiselect:{type:Boolean,default:!1},expanded:{type:Boolean,default:!1},totalLabel:{type:String,default:"Totals:"},totalCount:{type:Number,default:0},pages:{type:Number,default:0},currentPage:{type:Number,default:0},searchPlaceholder:{type:String,default:"Search..."},searchValue:{type:String,default:void 0},loading:{type:Boolean,default:!1},empty:{type:Object,default:()=>({text:"List is empty."})},notfound:{type:Object,default:()=>({text:"Nothing found."})},header:{type:Boolean,default:!0},footer:{type:Boolean,default:!0},activeFilterCount:{type:Number,default:0},selectedItemId:{type:String,default:void 0},scrolling:{type:Boolean,default:!1},onItemClick:{type:Function,default:void 0}},emits:["paginationClick","selectionChanged","search:change","filter:apply","filter:reset","headerClick"],setup(t,{emit:e}){const n=t,r=l.ref({}),i=l.ref(),s=l.ref(),d=l.ref(),h=l.ref([]),c=l.ref([]),m=l.ref([]),a=l.ref();l.onBeforeUpdate(()=>{h.value=[],c.value=[]});const o=l.computed(()=>{const _=n.sort?.split(":");return _&&_.length===2&&_[1]}),u=l.computed(()=>{const _=n.sort?.split(":");return _&&_.length===2&&_[0]}),f={start:"justify-start",end:"justify-end",center:"justify-center",between:"justify-between",around:"justify-around",evenly:"justify-evenly"},p=l.computed(()=>Object.values(r.value).every(_=>_));l.watch(()=>n.items,_=>{r.value={},_?.forEach(S=>r.value[S.id]=!1),d.value?.scrollTop()});function g(_,S){_&&(c.value.some(E=>E.id===S)||c.value.push({element:_,id:S}))}function v(_,S){_&&(h.value.some(E=>E.id===S)||h.value.push({element:_,id:S}))}function y(){const _=Object.values(r.value).every(S=>S);Object.keys(r.value).forEach(S=>r.value[S]=!_),e("selectionChanged",r.value)}function x(_,S){r.value[_]=S,e("selectionChanged",r.value)}function T(_,S){i.value=_.id;const w=h.value.find(A=>A.id===S),E=c.value.find(A=>A.id===S);w&&E&&l.nextTick(()=>{s.value=Ji(w.element,E.element,{placement:"bottom",onFirstUpdate:()=>s.value?.update(),modifiers:[{name:"offset",options:{offset:[-15,15]}}]})})}async function k(_){typeof n.itemActionBuilder=="function"&&(m.value=await n.itemActionBuilder(_))}function b(){i.value=void 0,s.value?.destroy()}function C(_){a.value=_}function $(_){e("headerClick",_)}return(_,S)=>{const w=l.resolveComponent("VcButton");return l.openBlock(),l.createElementBlock("div",dR,[(_.$slots.header||t.header)&&(t.items&&t.items.length||t.searchValue||t.searchValue===""||t.activeFilterCount)?l.renderSlot(_.$slots,"header",{key:0},()=>[l.createElementVNode("div",fR,[_.$isMobile.value&&_.$slots.filters?(l.openBlock(),l.createElementBlock("div",mR,[l.createVNode(Bh,{counter:t.activeFilterCount},{default:l.withCtx(({closePanel:E})=>[l.renderSlot(_.$slots,"filters",{closePanel:E})]),_:3},8,["counter"])])):l.createCommentVNode("",!0),l.createVNode(l.unref(xi),{class:"tw-grow tw-basis-0",placeholder:t.searchPlaceholder,clearable:"",name:"table_search",modelValue:t.searchValue,"onUpdate:modelValue":S[0]||(S[0]=E=>_.$emit("search:change",E))},null,8,["placeholder","modelValue"]),_.$isDesktop.value&&_.$slots.filters?(l.openBlock(),l.createElementBlock("div",pR,[l.createVNode(Bh,{title:_.$t("Filters"),counter:t.activeFilterCount,parentExpanded:t.expanded},{default:l.withCtx(({closePanel:E})=>[l.renderSlot(_.$slots,"filters",{closePanel:E})]),_:3},8,["title","counter","parentExpanded"])])):l.createCommentVNode("",!0)])]):l.createCommentVNode("",!0),l.createElementVNode("div",gR,[l.createVNode(l.unref(Dl),{active:t.loading},null,8,["active"]),t.items&&t.items.length?(l.openBlock(),l.createBlock(l.unref(jr),{key:0,ref_key:"scrollContainer",ref:d,noPadding:!0,class:"tw-grow tw-basis-0",usePtr:!!_.$attrs["onScroll:ptr"],"onScroll:ptr":S[3]||(S[3]=E=>_.$emit("scroll:ptr"))},{default:l.withCtx(()=>[_.$isMobile.value&&_.$slots["mobile-item"]?(l.openBlock(),l.createElementBlock("div",vR,[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(t.items,E=>(l.openBlock(),l.createBlock(r$,{key:E.id,item:E,actionBuilder:t.itemActionBuilder,onClick:A=>_.$emit("itemClick",E),onSwipeStart:C,swipingItem:a.value},{default:l.withCtx(()=>[l.renderSlot(_.$slots,"mobile-item",{item:E})]),_:2},1032,["item","actionBuilder","onClick","swipingItem"]))),128))])):(l.openBlock(),l.createElementBlock("table",{key:1,class:l.normalizeClass(["[border-spacing:0] tw-border-collapse tw-relative tw-pt-[43px] tw-table-fixed tw-box-border tw-w-full",{"vc-table_empty":!t.items||!t.items.length,"vc-table_multiselect":t.multiselect}])},[t.columns?(l.openBlock(),l.createElementBlock("thead",wR,[l.createElementVNode("tr",yR,[t.multiselect?(l.openBlock(),l.createElementBlock("th",bR,[l.createElementVNode("div",SR,[l.createVNode(l.unref(Vs),{modelValue:l.unref(p),"onUpdate:modelValue":y,onClick:S[1]||(S[1]=l.withModifiers(()=>{},["stop"]))},null,8,["modelValue"])])])):l.createCommentVNode("",!0),(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(t.columns,E=>(l.openBlock(),l.createElementBlock("th",{key:E.id,class:l.normalizeClass(["tw-h-[42px] tw-bg-[#f9f9f9] !tw-border-0 tw-shadow-[inset_0px_1px_0px_#eaedf3,_inset_0px_-1px_0px_#eaedf3] tw-box-border sticky tw-top-0 tw-select-none tw-overflow-hidden tw-z-[1] tw-px-3",{"tw-cursor-pointer tw-group":E.sortable}]),width:E.width,onClick:A=>$(E)},[l.createElementVNode("div",{class:l.normalizeClass(["tw-flex tw-items-center tw-flex-nowrap",f[E.align]])},[l.createElementVNode("div",null,[l.renderSlot(_.$slots,`header_${E.id}`,{},()=>[l.createTextVNode(l.toDisplayString(E.title),1)])]),l.unref(u)===E.id?(l.openBlock(),l.createElementBlock("div",kR,[l.createVNode(l.unref(Se),{size:"xs",icon:`fas fa-caret-${l.unref(o)==="DESC"?"down":"up"}`},null,8,["icon"])])):(l.openBlock(),l.createElementBlock("div",CR,[l.createVNode(l.unref(Se),{size:"xs",icon:"fas fa-caret-up"}),l.createVNode(l.unref(Se),{size:"xs",icon:"fas fa-caret-down"})]))],2)],10,xR))),128)),t.itemActionBuilder?(l.openBlock(),l.createElementBlock("th",ER)):l.createCommentVNode("",!0)])])):l.createCommentVNode("",!0),t.items?(l.openBlock(),l.createElementBlock("tbody",_R,[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(t.items,(E,A)=>(l.openBlock(),l.createElementBlock("tr",{key:E.id,class:l.normalizeClass(["vc-table__body-row tw-h-[60px] tw-bg-white hover:tw-bg-[#dfeef9]",{"tw-cursor-pointer hover:tw-bg-[#dfeef9]":t.onItemClick,"tw-bg-[#f8f8f8]":A%2===1,"!tw-bg-[#dfeef9] hover:tw-bg-[#dfeef9]":E&&E.id?t.selectedItemId===E.id:!1}]),onClick:O=>_.$emit("itemClick",E),onMouseover:O=>k(E),onMouseleave:b},[t.multiselect?(l.openBlock(),l.createElementBlock("td",AR,[l.createElementVNode("div",$R,[l.createVNode(l.unref(Vs),{modelValue:r.value[E.id],"onUpdate:modelValue":O=>x(E.id,O),onClick:S[2]||(S[2]=l.withModifiers(()=>{},["stop"]))},null,8,["modelValue","onUpdate:modelValue"])])])):l.createCommentVNode("",!0),(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(t.columns,O=>(l.openBlock(),l.createElementBlock("td",{key:`${E.id}_${O.id}`,class:l.normalizeClass(["tw-box-border tw-overflow-hidden tw-px-3",O.class]),width:O.width},[l.renderSlot(_.$slots,`item_${O.id}`,{item:E,cell:O},()=>[l.createVNode(hR,{cell:O,item:E},null,8,["cell","item"])])],10,OR))),128)),t.itemActionBuilder?(l.openBlock(),l.createElementBlock("td",LR,[l.createElementVNode("div",MR,[l.createElementVNode("button",{class:"tw-text-[#319ed4] tw-cursor-pointer tw-border-none tw-bg-transparent disabled:tw-text-[gray]",onClick:l.withModifiers(O=>T(E,E.id),["stop"]),ref_for:!0,ref:O=>v(O,E.id),"aria-describedby":"tooltip",disabled:!(m.value&&m.value.length)},[l.createVNode(l.unref(Se),{icon:"fas fa-cog",size:"m"})],8,RR),l.withDirectives(l.createElementVNode("div",{class:"vc-table__body-tooltip tw-bg-white tw-rounded-l-[4px] tw-p-[15px] tw-z-0 tw-absolute tw-right-0 tw-drop-shadow-[1px_3px_14px_rgba(111,122,131,0.25)]",onMouseleave:b,ref_for:!0,ref:O=>g(O,E.id),role:"tooltip"},[l.createElementVNode("div",NR,[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(m.value,(O,L)=>(l.openBlock(),l.createElementBlock("div",{key:L,class:l.normalizeClass(["tw-flex tw-flex-row tw-items-center tw-text-[#319ed4] tw-cursor-pointer",`vc-table__body-actions-item_${O.variant}`]),onClick:l.withModifiers(M=>O.clickHandler(E),["stop"])},[l.createVNode(l.unref(Se),{icon:O.icon,size:"m"},null,8,["icon"]),l.createElementVNode("div",DR,l.toDisplayString(O.title),1)],10,IR))),128))]),PR],544),[[l.vShow,i.value===E.id]])])])):l.createCommentVNode("",!0)],42,TR))),128))])):l.createCommentVNode("",!0)],2))]),_:3},8,["usePtr"])):(l.openBlock(),l.createElementBlock(l.Fragment,{key:1},[t.searchValue||t.searchValue===""||t.activeFilterCount?l.renderSlot(_.$slots,"notfound",{key:0},()=>[t.notfound?(l.openBlock(),l.createElementBlock("div",BR,[t.notfound.image?(l.openBlock(),l.createElementBlock("img",{key:0,src:t.notfound.image},null,8,FR)):l.createCommentVNode("",!0),l.createElementVNode("div",VR,l.toDisplayString(t.notfound.text),1),t.notfound.action?(l.openBlock(),l.createBlock(w,{key:1,onClick:t.notfound.clickHandler},{default:l.withCtx(()=>[l.createTextVNode(l.toDisplayString(t.notfound.action),1)]),_:1},8,["onClick"])):l.createCommentVNode("",!0)])):l.createCommentVNode("",!0)]):l.renderSlot(_.$slots,"empty",{key:1},()=>[t.empty?(l.openBlock(),l.createElementBlock("div",UR,[t.empty.image?(l.openBlock(),l.createElementBlock("img",{key:0,src:t.empty.image},null,8,WR)):l.createCommentVNode("",!0),l.createElementVNode("div",HR,l.toDisplayString(t.empty.text),1),t.empty.action?(l.openBlock(),l.createBlock(w,{key:1,onClick:t.empty.clickHandler},{default:l.withCtx(()=>[l.createTextVNode(l.toDisplayString(t.empty.action),1)]),_:1},8,["onClick"])):l.createCommentVNode("",!0)])):l.createCommentVNode("",!0)])],64))]),(_.$slots.footer||t.footer)&&t.items&&t.items.length?l.renderSlot(_.$slots,"footer",{key:1},()=>[l.createElementVNode("div",jR,[l.createVNode(l.unref($c),{expanded:t.expanded,pages:t.pages,currentPage:t.currentPage,onItemClick:S[4]||(S[4]=E=>_.$emit("paginationClick",E))},null,8,["expanded","pages","currentPage"]),l.createVNode(PA,{label:t.totalLabel,value:t.totalCount},null,8,["label","value"])])]):l.createCommentVNode("",!0)])}}});const zR=Object.freeze(Object.defineProperty({__proto__:null,VcBadge:od,VcButton:ad,VcCard:ld,VcCheckbox:Vs,VcCol:Us,VcContainer:jr,VcHint:cd,VcIcon:Se,VcInfoRow:ud,VcImage:oo,VcLabel:Gn,VcLink:Il,VcLoading:Dl,VcProgress:hd,VcRow:Pl,VcStatus:Bl,VcStatusIcon:Fl,VcSwitch:dd,VcWidget:fd,VcBreadcrumbs:md,VcEditor:Sd,VcForm:Vl,VcFileUpload:Ul,VcInput:xi,VcInputCurrency:Ed,VcMultivalue:Ff,VcNotification:Vf,VcPagination:$c,VcRating:Uf,VcSelect:jf,VcSlider:tm,VcTextarea:Rc,VcApp:nm,VcBlade:Nc,VcDynamicProperty:rm,VcGallery:im,VcLoginForm:sm,VcPopup:Ic,VcTable:qm},Symbol.toStringTag,{value:"Module"}));function jh(t){return t.type.indexOf("mouse")!==-1?t.clientX:t.touches[0].clientX}function zh(t){return t.type.indexOf("mouse")!==-1?t.clientY:t.touches[0].clientY}var GR=function(){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("test",null,e)}catch{}return t}(),YR={install:function(t,e){var n=Object.assign({},{disableClick:!1,tapTolerance:10,swipeTolerance:30,touchHoldTolerance:400,longTapTimeInterval:400,touchClass:"",dragFrequency:100,rollOverFrequency:100},e);function r(g){var v=this.$$touchObj,y=g.type.indexOf("touch")>=0,x=g.type.indexOf("mouse")>=0,T=this;y&&(v.lastTouchStartTime=g.timeStamp),!(x&&v.lastTouchStartTime&&g.timeStamp-v.lastTouchStartTime<350)&&(v.touchStarted||(o(this),v.touchStarted=!0,v.touchMoved=!1,v.swipeOutBounded=!1,v.startX=jh(g),v.startY=zh(g),v.currentX=0,v.currentY=0,v.touchStartTime=g.timeStamp,v.hasSwipe=m(this,"swipe")||m(this,"swipe.left")||m(this,"swipe.right")||m(this,"swipe.top")||m(this,"swipe.bottom"),m(this,"hold")&&(v.touchHoldTimer=setTimeout(function(){v.touchHoldTimer=null,a(g,T,"hold")},v.options.touchHoldTolerance)),a(g,this,"press")))}function i(g){var v=this.$$touchObj,y=jh(g),x=zh(g),T=v.currentX!=y||v.currentY!=x;if(v.currentX=y,v.currentY=x,v.touchMoved){if(v.hasSwipe&&!v.swipeOutBounded){var b=v.options.swipeTolerance;v.swipeOutBounded=Math.abs(v.startX-v.currentX)>b&&Math.abs(v.startY-v.currentY)>b}}else{var k=v.options.tapTolerance;v.touchMoved=Math.abs(v.startX-v.currentX)>k||Math.abs(v.startY-v.currentY)>k,v.touchMoved&&(f(v),a(g,this,"drag.once"))}if(m(this,"rollover")&&T){var C=g.timeStamp,$=v.options.rollOverFrequency;(v.touchRollTime==null||C>v.touchRollTime+$)&&(v.touchRollTime=C,a(g,this,"rollover"))}if(m(this,"drag")&&v.touchStarted&&v.touchMoved&&T){var C=g.timeStamp,$=v.options.dragFrequency;(v.touchDragTime==null||C>v.touchDragTime+$)&&(v.touchDragTime=C,a(g,this,"drag"))}}function s(){var g=this.$$touchObj;f(g),u(this),g.touchStarted=g.touchMoved=!1,g.startX=g.startY=0}function d(g){var v=this.$$touchObj,y=g.type.indexOf("touch")>=0,x=g.type.indexOf("mouse")>=0;y&&(v.lastTouchEndTime=g.timeStamp);var T=y&&!v.touchHoldTimer;if(f(v),v.touchStarted=!1,u(this),!(x&&v.lastTouchEndTime&&g.timeStamp-v.lastTouchEndTime<350))if(a(g,this,"release"),v.touchMoved){if(v.hasSwipe&&!v.swipeOutBounded){var k=v.options.swipeTolerance,b,C=Math.abs(v.startY-v.currentY),$=Math.abs(v.startX-v.currentX);(C>k||$>k)&&(C>k?b=v.startY>v.currentY?"top":"bottom":b=v.startX>v.currentX?"left":"right",m(this,"swipe."+b)?a(g,this,"swipe."+b,b):a(g,this,"swipe",b))}}else if(m(this,"longtap")&&g.timeStamp-v.touchStartTime>v.options.longTapTimeInterval)g.cancelable&&g.preventDefault(),a(g,this,"longtap");else if(m(this,"hold")&&T){g.cancelable&&g.preventDefault();return}else a(g,this,"tap")}function h(){o(this)}function c(){u(this)}function m(g,v){var y=g.$$touchObj.callbacks[v];return y!=null&&y.length>0}function a(g,v,y,x){var T=v.$$touchObj,k=T.callbacks[y];if(k==null||k.length===0)return null;for(var b=0;b<k.length;b++){var C=k[b];C.modifiers.stop&&g.stopPropagation(),C.modifiers.prevent&&g.preventDefault(),!(C.modifiers.self&&g.target!==g.currentTarget)&&typeof C.value=="function"&&(x?C.value(x,g):C.value(g))}}function o(g){var v=g.$$touchObj.options.touchClass;v&&g.classList.add(v)}function u(g){var v=g.$$touchObj.options.touchClass;v&&g.classList.remove(v)}function f(g){g.touchHoldTimer&&(clearTimeout(g.touchHoldTimer),g.touchHoldTimer=null)}function p(g,v){var y=g.$$touchObj||{callbacks:{},hasBindTouchEvents:!1,options:n};return v&&(y.options=Object.assign({},y.options,v)),g.$$touchObj=y,g.$$touchObj}t.directive("touch",{beforeMount:function(g,v){var y=p(g),x=GR?{passive:!0}:!1,T=v.arg||"tap";switch(T){case"swipe":var k=v.modifiers;if(k.left||k.right||k.top||k.bottom){for(var b in v.modifiers)if(["left","right","top","bottom"].indexOf(b)>=0){var C="swipe."+b;y.callbacks[C]=y.callbacks[C]||[],y.callbacks[C].push(v)}}else y.callbacks.swipe=y.callbacks.swipe||[],y.callbacks.swipe.push(v);break;case"press":case"drag":v.modifiers.disablePassive&&(x=!1);default:y.callbacks[T]=y.callbacks[T]||[],y.callbacks[T].push(v)}y.hasBindTouchEvents||(g.addEventListener("touchstart",r,x),g.addEventListener("touchmove",i,x),g.addEventListener("touchcancel",s),g.addEventListener("touchend",d),y.options.disableClick||(g.addEventListener("mousedown",r),g.addEventListener("mousemove",i),g.addEventListener("mouseup",d),g.addEventListener("mouseenter",h),g.addEventListener("mouseleave",c)),y.hasBindTouchEvents=!0)},unmounted:function(g){g.removeEventListener("touchstart",r),g.removeEventListener("touchmove",i),g.removeEventListener("touchcancel",s),g.removeEventListener("touchend",d),g.$$touchObj&&!g.$$touchObj.options.disableClick&&(g.removeEventListener("mousedown",r),g.removeEventListener("mousemove",i),g.removeEventListener("mouseup",d),g.removeEventListener("mouseenter",h),g.removeEventListener("mouseleave",c)),delete g.$$touchObj}}),t.directive("touch-class",{beforeMount:function(g,v){p(g,{touchClass:v.value})}}),t.directive("touch-options",{beforeMount:function(g,v){p(g,v.value)}})}};/**!
|
|
1095
|
+
`+new Error().stack),n=!1}return e.apply(this,arguments)},e)}var Vh={};function cm(t,e){ae.deprecationHandler!=null&&ae.deprecationHandler(t,e),Vh[t]||(lm(e),Vh[t]=!0)}ae.suppressDeprecationWarnings=!1;ae.deprecationHandler=null;function ln(t){return typeof Function<"u"&&t instanceof Function||Object.prototype.toString.call(t)==="[object Function]"}function s$(t){var e,n;for(n in t)Oe(t,n)&&(e=t[n],ln(e)?this[n]=e:this["_"+n]=e);this._config=t,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function Cl(t,e){var n=Bn({},t),r;for(r in e)Oe(e,r)&&(or(t[r])&&or(e[r])?(n[r]={},Bn(n[r],t[r]),Bn(n[r],e[r])):e[r]!=null?n[r]=e[r]:delete n[r]);for(r in t)Oe(t,r)&&!Oe(e,r)&&or(t[r])&&(n[r]=Bn({},n[r]));return n}function Fc(t){t!=null&&this.set(t)}var El;Object.keys?El=Object.keys:El=function(t){var e,n=[];for(e in t)Oe(t,e)&&n.push(e);return n};var o$={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function a$(t,e,n){var r=this._calendar[t]||this._calendar.sameElse;return ln(r)?r.call(e,n):r}function nn(t,e,n){var r=""+Math.abs(t),i=e-r.length,s=t>=0;return(s?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}var Vc=/(\[[^\[]*\])|(\\)?([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,xs=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Oa={},Or={};function fe(t,e,n,r){var i=r;typeof r=="string"&&(i=function(){return this[r]()}),t&&(Or[t]=i),e&&(Or[e[0]]=function(){return nn(i.apply(this,arguments),e[1],e[2])}),n&&(Or[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),t)})}function l$(t){return t.match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"")}function c$(t){var e=t.match(Vc),n,r;for(n=0,r=e.length;n<r;n++)Or[e[n]]?e[n]=Or[e[n]]:e[n]=l$(e[n]);return function(i){var s="",d;for(d=0;d<r;d++)s+=ln(e[d])?e[d].call(i,t):e[d];return s}}function Ms(t,e){return t.isValid()?(e=um(e,t.localeData()),Oa[e]=Oa[e]||c$(e),Oa[e](t)):t.localeData().invalidDate()}function um(t,e){var n=5;function r(i){return e.longDateFormat(i)||i}for(xs.lastIndex=0;n>=0&&xs.test(t);)t=t.replace(xs,r),xs.lastIndex=0,n-=1;return t}var u$={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 h$(t){var e=this._longDateFormat[t],n=this._longDateFormat[t.toUpperCase()];return e||!n?e:(this._longDateFormat[t]=n.match(Vc).map(function(r){return r==="MMMM"||r==="MM"||r==="DD"||r==="dddd"?r.slice(1):r}).join(""),this._longDateFormat[t])}var d$="Invalid date";function f$(){return this._invalidDate}var m$="%d",p$=/\d{1,2}/;function g$(t){return this._ordinal.replace("%d",t)}var v$={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 w$(t,e,n,r){var i=this._relativeTime[n];return ln(i)?i(t,e,n,r):i.replace(/%d/i,t)}function y$(t,e){var n=this._relativeTime[t>0?"future":"past"];return ln(n)?n(e):n.replace(/%s/i,e)}var mi={};function ut(t,e){var n=t.toLowerCase();mi[n]=mi[n+"s"]=mi[e]=t}function Ft(t){return typeof t=="string"?mi[t]||mi[t.toLowerCase()]:void 0}function Uc(t){var e={},n,r;for(r in t)Oe(t,r)&&(n=Ft(r),n&&(e[n]=t[r]));return e}var hm={};function ht(t,e){hm[t]=e}function b$(t){var e=[],n;for(n in t)Oe(t,n)&&e.push({unit:n,priority:hm[n]});return e.sort(function(r,i){return r.priority-i.priority}),e}function Zo(t){return t%4===0&&t%100!==0||t%400===0}function Rt(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function ke(t){var e=+t,n=0;return e!==0&&isFinite(e)&&(n=Rt(e)),n}function Yr(t,e){return function(n){return n!=null?(dm(this,t,n),ae.updateOffset(this,e),this):Js(this,t)}}function Js(t,e){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+e]():NaN}function dm(t,e,n){t.isValid()&&!isNaN(n)&&(e==="FullYear"&&Zo(t.year())&&t.month()===1&&t.date()===29?(n=ke(n),t._d["set"+(t._isUTC?"UTC":"")+e](n,t.month(),sa(n,t.month()))):t._d["set"+(t._isUTC?"UTC":"")+e](n))}function S$(t){return t=Ft(t),ln(this[t])?this[t]():this}function x$(t,e){if(typeof t=="object"){t=Uc(t);var n=b$(t),r,i=n.length;for(r=0;r<i;r++)this[n[r].unit](t[n[r].unit])}else if(t=Ft(t),ln(this[t]))return this[t](e);return this}var fm=/\d/,$t=/\d\d/,mm=/\d{3}/,Wc=/\d{4}/,ea=/[+-]?\d{6}/,Ve=/\d\d?/,pm=/\d\d\d\d?/,gm=/\d\d\d\d\d\d?/,ta=/\d{1,3}/,Hc=/\d{1,4}/,na=/[+-]?\d{1,6}/,Jr=/\d+/,ra=/[+-]?\d+/,k$=/Z|[+-]\d\d:?\d\d/gi,ia=/Z|[+-]\d\d(?::?\d\d)?/gi,C$=/[+-]?\d+(\.\d{1,3})?/,fs=/[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,Ks;Ks={};function le(t,e,n){Ks[t]=ln(e)?e:function(r,i){return r&&n?n:e}}function E$(t,e){return Oe(Ks,t)?Ks[t](e._strict,e._locale):new RegExp(_$(t))}function _$(t){return Ct(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,n,r,i,s){return n||r||i||s}))}function Ct(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var _l={};function Ie(t,e){var n,r=e,i;for(typeof t=="string"&&(t=[t]),xn(e)&&(r=function(s,d){d[e]=ke(s)}),i=t.length,n=0;n<i;n++)_l[t[n]]=r}function ms(t,e){Ie(t,function(n,r,i,s){i._w=i._w||{},e(n,i._w,i,s)})}function T$(t,e,n){e!=null&&Oe(_l,t)&&_l[t](e,n._a,n,t)}var ct=0,vn=1,Qt=2,tt=3,Ht=4,wn=5,ir=6,A$=7,$$=8;function O$(t,e){return(t%e+e)%e}var Ke;Array.prototype.indexOf?Ke=Array.prototype.indexOf:Ke=function(t){var e;for(e=0;e<this.length;++e)if(this[e]===t)return e;return-1};function sa(t,e){if(isNaN(t)||isNaN(e))return NaN;var n=O$(e,12);return t+=(e-n)/12,n===1?Zo(t)?29:28:31-n%7%2}fe("M",["MM",2],"Mo",function(){return this.month()+1});fe("MMM",0,0,function(t){return this.localeData().monthsShort(this,t)});fe("MMMM",0,0,function(t){return this.localeData().months(this,t)});ut("month","M");ht("month",8);le("M",Ve);le("MM",Ve,$t);le("MMM",function(t,e){return e.monthsShortRegex(t)});le("MMMM",function(t,e){return e.monthsRegex(t)});Ie(["M","MM"],function(t,e){e[vn]=ke(t)-1});Ie(["MMM","MMMM"],function(t,e,n,r){var i=n._locale.monthsParse(t,r,n._strict);i!=null?e[vn]=i:xe(n).invalidMonth=t});var L$="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),vm="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),wm=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,M$=fs,R$=fs;function N$(t,e){return t?Gt(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||wm).test(e)?"format":"standalone"][t.month()]:Gt(this._months)?this._months:this._months.standalone}function I$(t,e){return t?Gt(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[wm.test(e)?"format":"standalone"][t.month()]:Gt(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function D$(t,e,n){var r,i,s,d=t.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)s=an([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(s,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(s,"").toLocaleLowerCase();return n?e==="MMM"?(i=Ke.call(this._shortMonthsParse,d),i!==-1?i:null):(i=Ke.call(this._longMonthsParse,d),i!==-1?i:null):e==="MMM"?(i=Ke.call(this._shortMonthsParse,d),i!==-1?i:(i=Ke.call(this._longMonthsParse,d),i!==-1?i:null)):(i=Ke.call(this._longMonthsParse,d),i!==-1?i:(i=Ke.call(this._shortMonthsParse,d),i!==-1?i:null))}function P$(t,e,n){var r,i,s;if(this._monthsParseExact)return D$.call(this,t,e,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(i=an([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),!n&&!this._monthsParse[r]&&(s="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[r]=new RegExp(s.replace(".",""),"i")),n&&e==="MMMM"&&this._longMonthsParse[r].test(t))return r;if(n&&e==="MMM"&&this._shortMonthsParse[r].test(t))return r;if(!n&&this._monthsParse[r].test(t))return r}}function ym(t,e){var n;if(!t.isValid())return t;if(typeof e=="string"){if(/^\d+$/.test(e))e=ke(e);else if(e=t.localeData().monthsParse(e),!xn(e))return t}return n=Math.min(t.date(),sa(t.year(),e)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](e,n),t}function bm(t){return t!=null?(ym(this,t),ae.updateOffset(this,!0),this):Js(this,"Month")}function B$(){return sa(this.year(),this.month())}function F$(t){return this._monthsParseExact?(Oe(this,"_monthsRegex")||Sm.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(Oe(this,"_monthsShortRegex")||(this._monthsShortRegex=M$),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)}function V$(t){return this._monthsParseExact?(Oe(this,"_monthsRegex")||Sm.call(this),t?this._monthsStrictRegex:this._monthsRegex):(Oe(this,"_monthsRegex")||(this._monthsRegex=R$),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)}function Sm(){function t(d,h){return h.length-d.length}var e=[],n=[],r=[],i,s;for(i=0;i<12;i++)s=an([2e3,i]),e.push(this.monthsShort(s,"")),n.push(this.months(s,"")),r.push(this.months(s,"")),r.push(this.monthsShort(s,""));for(e.sort(t),n.sort(t),r.sort(t),i=0;i<12;i++)e[i]=Ct(e[i]),n[i]=Ct(n[i]);for(i=0;i<24;i++)r[i]=Ct(r[i]);this._monthsRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+e.join("|")+")","i")}fe("Y",0,0,function(){var t=this.year();return t<=9999?nn(t,4):"+"+t});fe(0,["YY",2],0,function(){return this.year()%100});fe(0,["YYYY",4],0,"year");fe(0,["YYYYY",5],0,"year");fe(0,["YYYYYY",6,!0],0,"year");ut("year","y");ht("year",1);le("Y",ra);le("YY",Ve,$t);le("YYYY",Hc,Wc);le("YYYYY",na,ea);le("YYYYYY",na,ea);Ie(["YYYYY","YYYYYY"],ct);Ie("YYYY",function(t,e){e[ct]=t.length===2?ae.parseTwoDigitYear(t):ke(t)});Ie("YY",function(t,e){e[ct]=ae.parseTwoDigitYear(t)});Ie("Y",function(t,e){e[ct]=parseInt(t,10)});function pi(t){return Zo(t)?366:365}ae.parseTwoDigitYear=function(t){return ke(t)+(ke(t)>68?1900:2e3)};var xm=Yr("FullYear",!0);function U$(){return Zo(this.year())}function W$(t,e,n,r,i,s,d){var h;return t<100&&t>=0?(h=new Date(t+400,e,n,r,i,s,d),isFinite(h.getFullYear())&&h.setFullYear(t)):h=new Date(t,e,n,r,i,s,d),h}function Hi(t){var e,n;return t<100&&t>=0?(n=Array.prototype.slice.call(arguments),n[0]=t+400,e=new Date(Date.UTC.apply(null,n)),isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t)):e=new Date(Date.UTC.apply(null,arguments)),e}function Xs(t,e,n){var r=7+e-n,i=(7+Hi(t,0,r).getUTCDay()-e)%7;return-i+r-1}function km(t,e,n,r,i){var s=(7+n-r)%7,d=Xs(t,r,i),h=1+7*(e-1)+s+d,c,m;return h<=0?(c=t-1,m=pi(c)+h):h>pi(t)?(c=t+1,m=h-pi(t)):(c=t,m=h),{year:c,dayOfYear:m}}function ji(t,e,n){var r=Xs(t.year(),e,n),i=Math.floor((t.dayOfYear()-r-1)/7)+1,s,d;return i<1?(d=t.year()-1,s=i+bn(d,e,n)):i>bn(t.year(),e,n)?(s=i-bn(t.year(),e,n),d=t.year()+1):(d=t.year(),s=i),{week:s,year:d}}function bn(t,e,n){var r=Xs(t,e,n),i=Xs(t+1,e,n);return(pi(t)-r+i)/7}fe("w",["ww",2],"wo","week");fe("W",["WW",2],"Wo","isoWeek");ut("week","w");ut("isoWeek","W");ht("week",5);ht("isoWeek",5);le("w",Ve);le("ww",Ve,$t);le("W",Ve);le("WW",Ve,$t);ms(["w","ww","W","WW"],function(t,e,n,r){e[r.substr(0,1)]=ke(t)});function H$(t){return ji(t,this._week.dow,this._week.doy).week}var j$={dow:0,doy:6};function z$(){return this._week.dow}function G$(){return this._week.doy}function Y$(t){var e=this.localeData().week(this);return t==null?e:this.add((t-e)*7,"d")}function J$(t){var e=ji(this,1,4).week;return t==null?e:this.add((t-e)*7,"d")}fe("d",0,"do","day");fe("dd",0,0,function(t){return this.localeData().weekdaysMin(this,t)});fe("ddd",0,0,function(t){return this.localeData().weekdaysShort(this,t)});fe("dddd",0,0,function(t){return this.localeData().weekdays(this,t)});fe("e",0,0,"weekday");fe("E",0,0,"isoWeekday");ut("day","d");ut("weekday","e");ut("isoWeekday","E");ht("day",11);ht("weekday",11);ht("isoWeekday",11);le("d",Ve);le("e",Ve);le("E",Ve);le("dd",function(t,e){return e.weekdaysMinRegex(t)});le("ddd",function(t,e){return e.weekdaysShortRegex(t)});le("dddd",function(t,e){return e.weekdaysRegex(t)});ms(["dd","ddd","dddd"],function(t,e,n,r){var i=n._locale.weekdaysParse(t,r,n._strict);i!=null?e.d=i:xe(n).invalidWeekday=t});ms(["d","e","E"],function(t,e,n,r){e[r]=ke(t)});function K$(t,e){return typeof t!="string"?t:isNaN(t)?(t=e.weekdaysParse(t),typeof t=="number"?t:null):parseInt(t,10)}function X$(t,e){return typeof t=="string"?e.weekdaysParse(t)%7||7:isNaN(t)?null:t}function jc(t,e){return t.slice(e,7).concat(t.slice(0,e))}var q$="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Cm="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Q$="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Z$=fs,eO=fs,tO=fs;function nO(t,e){var n=Gt(this._weekdays)?this._weekdays:this._weekdays[t&&t!==!0&&this._weekdays.isFormat.test(e)?"format":"standalone"];return t===!0?jc(n,this._week.dow):t?n[t.day()]:n}function rO(t){return t===!0?jc(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort}function iO(t){return t===!0?jc(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin}function sO(t,e,n){var r,i,s,d=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)s=an([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(s,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(s,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(s,"").toLocaleLowerCase();return n?e==="dddd"?(i=Ke.call(this._weekdaysParse,d),i!==-1?i:null):e==="ddd"?(i=Ke.call(this._shortWeekdaysParse,d),i!==-1?i:null):(i=Ke.call(this._minWeekdaysParse,d),i!==-1?i:null):e==="dddd"?(i=Ke.call(this._weekdaysParse,d),i!==-1||(i=Ke.call(this._shortWeekdaysParse,d),i!==-1)?i:(i=Ke.call(this._minWeekdaysParse,d),i!==-1?i:null)):e==="ddd"?(i=Ke.call(this._shortWeekdaysParse,d),i!==-1||(i=Ke.call(this._weekdaysParse,d),i!==-1)?i:(i=Ke.call(this._minWeekdaysParse,d),i!==-1?i:null)):(i=Ke.call(this._minWeekdaysParse,d),i!==-1||(i=Ke.call(this._weekdaysParse,d),i!==-1)?i:(i=Ke.call(this._shortWeekdaysParse,d),i!==-1?i:null))}function oO(t,e,n){var r,i,s;if(this._weekdaysParseExact)return sO.call(this,t,e,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=an([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(s="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[r]=new RegExp(s.replace(".",""),"i")),n&&e==="dddd"&&this._fullWeekdaysParse[r].test(t))return r;if(n&&e==="ddd"&&this._shortWeekdaysParse[r].test(t))return r;if(n&&e==="dd"&&this._minWeekdaysParse[r].test(t))return r;if(!n&&this._weekdaysParse[r].test(t))return r}}function aO(t){if(!this.isValid())return t!=null?this:NaN;var e=this._isUTC?this._d.getUTCDay():this._d.getDay();return t!=null?(t=K$(t,this.localeData()),this.add(t-e,"d")):e}function lO(t){if(!this.isValid())return t!=null?this:NaN;var e=(this.day()+7-this.localeData()._week.dow)%7;return t==null?e:this.add(t-e,"d")}function cO(t){if(!this.isValid())return t!=null?this:NaN;if(t!=null){var e=X$(t,this.localeData());return this.day(this.day()%7?e:e-7)}else return this.day()||7}function uO(t){return this._weekdaysParseExact?(Oe(this,"_weekdaysRegex")||zc.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(Oe(this,"_weekdaysRegex")||(this._weekdaysRegex=Z$),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)}function hO(t){return this._weekdaysParseExact?(Oe(this,"_weekdaysRegex")||zc.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(Oe(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=eO),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function dO(t){return this._weekdaysParseExact?(Oe(this,"_weekdaysRegex")||zc.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(Oe(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=tO),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function zc(){function t(a,o){return o.length-a.length}var e=[],n=[],r=[],i=[],s,d,h,c,m;for(s=0;s<7;s++)d=an([2e3,1]).day(s),h=Ct(this.weekdaysMin(d,"")),c=Ct(this.weekdaysShort(d,"")),m=Ct(this.weekdays(d,"")),e.push(h),n.push(c),r.push(m),i.push(h),i.push(c),i.push(m);e.sort(t),n.sort(t),r.sort(t),i.sort(t),this._weekdaysRegex=new RegExp("^("+i.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+e.join("|")+")","i")}function Gc(){return this.hours()%12||12}function fO(){return this.hours()||24}fe("H",["HH",2],0,"hour");fe("h",["hh",2],0,Gc);fe("k",["kk",2],0,fO);fe("hmm",0,0,function(){return""+Gc.apply(this)+nn(this.minutes(),2)});fe("hmmss",0,0,function(){return""+Gc.apply(this)+nn(this.minutes(),2)+nn(this.seconds(),2)});fe("Hmm",0,0,function(){return""+this.hours()+nn(this.minutes(),2)});fe("Hmmss",0,0,function(){return""+this.hours()+nn(this.minutes(),2)+nn(this.seconds(),2)});function Em(t,e){fe(t,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)})}Em("a",!0);Em("A",!1);ut("hour","h");ht("hour",13);function _m(t,e){return e._meridiemParse}le("a",_m);le("A",_m);le("H",Ve);le("h",Ve);le("k",Ve);le("HH",Ve,$t);le("hh",Ve,$t);le("kk",Ve,$t);le("hmm",pm);le("hmmss",gm);le("Hmm",pm);le("Hmmss",gm);Ie(["H","HH"],tt);Ie(["k","kk"],function(t,e,n){var r=ke(t);e[tt]=r===24?0:r});Ie(["a","A"],function(t,e,n){n._isPm=n._locale.isPM(t),n._meridiem=t});Ie(["h","hh"],function(t,e,n){e[tt]=ke(t),xe(n).bigHour=!0});Ie("hmm",function(t,e,n){var r=t.length-2;e[tt]=ke(t.substr(0,r)),e[Ht]=ke(t.substr(r)),xe(n).bigHour=!0});Ie("hmmss",function(t,e,n){var r=t.length-4,i=t.length-2;e[tt]=ke(t.substr(0,r)),e[Ht]=ke(t.substr(r,2)),e[wn]=ke(t.substr(i)),xe(n).bigHour=!0});Ie("Hmm",function(t,e,n){var r=t.length-2;e[tt]=ke(t.substr(0,r)),e[Ht]=ke(t.substr(r))});Ie("Hmmss",function(t,e,n){var r=t.length-4,i=t.length-2;e[tt]=ke(t.substr(0,r)),e[Ht]=ke(t.substr(r,2)),e[wn]=ke(t.substr(i))});function mO(t){return(t+"").toLowerCase().charAt(0)==="p"}var pO=/[ap]\.?m?\.?/i,gO=Yr("Hours",!0);function vO(t,e,n){return t>11?n?"pm":"PM":n?"am":"AM"}var Tm={calendar:o$,longDateFormat:u$,invalidDate:d$,ordinal:m$,dayOfMonthOrdinalParse:p$,relativeTime:v$,months:L$,monthsShort:vm,week:j$,weekdays:q$,weekdaysMin:Q$,weekdaysShort:Cm,meridiemParse:pO},We={},ni={},zi;function wO(t,e){var n,r=Math.min(t.length,e.length);for(n=0;n<r;n+=1)if(t[n]!==e[n])return n;return r}function Uh(t){return t&&t.toLowerCase().replace("_","-")}function yO(t){for(var e=0,n,r,i,s;e<t.length;){for(s=Uh(t[e]).split("-"),n=s.length,r=Uh(t[e+1]),r=r?r.split("-"):null;n>0;){if(i=oa(s.slice(0,n).join("-")),i)return i;if(r&&r.length>=n&&wO(s,r)>=n-1)break;n--}e++}return zi}function bO(t){return t.match("^[^/\\\\]*$")!=null}function oa(t){var e=null,n;if(We[t]===void 0&&typeof module<"u"&&module&&module.exports&&bO(t))try{e=zi._abbr,n=require,n("./locale/"+t),Hn(e)}catch{We[t]=null}return We[t]}function Hn(t,e){var n;return t&&(gt(e)?n=Tn(t):n=Yc(t,e),n?zi=n:typeof console<"u"&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),zi._abbr}function Yc(t,e){if(e!==null){var n,r=Tm;if(e.abbr=t,We[t]!=null)cm("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=We[t]._config;else if(e.parentLocale!=null)if(We[e.parentLocale]!=null)r=We[e.parentLocale]._config;else if(n=oa(e.parentLocale),n!=null)r=n._config;else return ni[e.parentLocale]||(ni[e.parentLocale]=[]),ni[e.parentLocale].push({name:t,config:e}),null;return We[t]=new Fc(Cl(r,e)),ni[t]&&ni[t].forEach(function(i){Yc(i.name,i.config)}),Hn(t),We[t]}else return delete We[t],null}function SO(t,e){if(e!=null){var n,r,i=Tm;We[t]!=null&&We[t].parentLocale!=null?We[t].set(Cl(We[t]._config,e)):(r=oa(t),r!=null&&(i=r._config),e=Cl(i,e),r==null&&(e.abbr=t),n=new Fc(e),n.parentLocale=We[t],We[t]=n),Hn(t)}else We[t]!=null&&(We[t].parentLocale!=null?(We[t]=We[t].parentLocale,t===Hn()&&Hn(t)):We[t]!=null&&delete We[t]);return We[t]}function Tn(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return zi;if(!Gt(t)){if(e=oa(t),e)return e;t=[t]}return yO(t)}function xO(){return El(We)}function Jc(t){var e,n=t._a;return n&&xe(t).overflow===-2&&(e=n[vn]<0||n[vn]>11?vn:n[Qt]<1||n[Qt]>sa(n[ct],n[vn])?Qt:n[tt]<0||n[tt]>24||n[tt]===24&&(n[Ht]!==0||n[wn]!==0||n[ir]!==0)?tt:n[Ht]<0||n[Ht]>59?Ht:n[wn]<0||n[wn]>59?wn:n[ir]<0||n[ir]>999?ir:-1,xe(t)._overflowDayOfYear&&(e<ct||e>Qt)&&(e=Qt),xe(t)._overflowWeeks&&e===-1&&(e=A$),xe(t)._overflowWeekday&&e===-1&&(e=$$),xe(t).overflow=e),t}var kO=/^\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)?)?$/,CO=/^\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)?)?$/,EO=/Z|[+-]\d\d(?::?\d\d)?/,ks=[["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]],La=[["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/]],_O=/^\/?Date\((-?\d+)/i,TO=/^(?:(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}))$/,AO={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 Am(t){var e,n,r=t._i,i=kO.exec(r)||CO.exec(r),s,d,h,c,m=ks.length,a=La.length;if(i){for(xe(t).iso=!0,e=0,n=m;e<n;e++)if(ks[e][1].exec(i[1])){d=ks[e][0],s=ks[e][2]!==!1;break}if(d==null){t._isValid=!1;return}if(i[3]){for(e=0,n=a;e<n;e++)if(La[e][1].exec(i[3])){h=(i[2]||" ")+La[e][0];break}if(h==null){t._isValid=!1;return}}if(!s&&h!=null){t._isValid=!1;return}if(i[4])if(EO.exec(i[4]))c="Z";else{t._isValid=!1;return}t._f=d+(h||"")+(c||""),Xc(t)}else t._isValid=!1}function $O(t,e,n,r,i,s){var d=[OO(t),vm.indexOf(e),parseInt(n,10),parseInt(r,10),parseInt(i,10)];return s&&d.push(parseInt(s,10)),d}function OO(t){var e=parseInt(t,10);return e<=49?2e3+e:e<=999?1900+e:e}function LO(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function MO(t,e,n){if(t){var r=Cm.indexOf(t),i=new Date(e[0],e[1],e[2]).getDay();if(r!==i)return xe(n).weekdayMismatch=!0,n._isValid=!1,!1}return!0}function RO(t,e,n){if(t)return AO[t];if(e)return 0;var r=parseInt(n,10),i=r%100,s=(r-i)/100;return s*60+i}function $m(t){var e=TO.exec(LO(t._i)),n;if(e){if(n=$O(e[4],e[3],e[2],e[5],e[6],e[7]),!MO(e[1],n,t))return;t._a=n,t._tzm=RO(e[8],e[9],e[10]),t._d=Hi.apply(null,t._a),t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),xe(t).rfc2822=!0}else t._isValid=!1}function NO(t){var e=_O.exec(t._i);if(e!==null){t._d=new Date(+e[1]);return}if(Am(t),t._isValid===!1)delete t._isValid;else return;if($m(t),t._isValid===!1)delete t._isValid;else return;t._strict?t._isValid=!1:ae.createFromInputFallback(t)}ae.createFromInputFallback=Bt("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(t){t._d=new Date(t._i+(t._useUTC?" UTC":""))});function Cr(t,e,n){return t??e??n}function IO(t){var e=new Date(ae.now());return t._useUTC?[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()]:[e.getFullYear(),e.getMonth(),e.getDate()]}function Kc(t){var e,n,r=[],i,s,d;if(!t._d){for(i=IO(t),t._w&&t._a[Qt]==null&&t._a[vn]==null&&DO(t),t._dayOfYear!=null&&(d=Cr(t._a[ct],i[ct]),(t._dayOfYear>pi(d)||t._dayOfYear===0)&&(xe(t)._overflowDayOfYear=!0),n=Hi(d,0,t._dayOfYear),t._a[vn]=n.getUTCMonth(),t._a[Qt]=n.getUTCDate()),e=0;e<3&&t._a[e]==null;++e)t._a[e]=r[e]=i[e];for(;e<7;e++)t._a[e]=r[e]=t._a[e]==null?e===2?1:0:t._a[e];t._a[tt]===24&&t._a[Ht]===0&&t._a[wn]===0&&t._a[ir]===0&&(t._nextDay=!0,t._a[tt]=0),t._d=(t._useUTC?Hi:W$).apply(null,r),s=t._useUTC?t._d.getUTCDay():t._d.getDay(),t._tzm!=null&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[tt]=24),t._w&&typeof t._w.d<"u"&&t._w.d!==s&&(xe(t).weekdayMismatch=!0)}}function DO(t){var e,n,r,i,s,d,h,c,m;e=t._w,e.GG!=null||e.W!=null||e.E!=null?(s=1,d=4,n=Cr(e.GG,t._a[ct],ji(Fe(),1,4).year),r=Cr(e.W,1),i=Cr(e.E,1),(i<1||i>7)&&(c=!0)):(s=t._locale._week.dow,d=t._locale._week.doy,m=ji(Fe(),s,d),n=Cr(e.gg,t._a[ct],m.year),r=Cr(e.w,m.week),e.d!=null?(i=e.d,(i<0||i>6)&&(c=!0)):e.e!=null?(i=e.e+s,(e.e<0||e.e>6)&&(c=!0)):i=s),r<1||r>bn(n,s,d)?xe(t)._overflowWeeks=!0:c!=null?xe(t)._overflowWeekday=!0:(h=km(n,r,i,s,d),t._a[ct]=h.year,t._dayOfYear=h.dayOfYear)}ae.ISO_8601=function(){};ae.RFC_2822=function(){};function Xc(t){if(t._f===ae.ISO_8601){Am(t);return}if(t._f===ae.RFC_2822){$m(t);return}t._a=[],xe(t).empty=!0;var e=""+t._i,n,r,i,s,d,h=e.length,c=0,m,a;for(i=um(t._f,t._locale).match(Vc)||[],a=i.length,n=0;n<a;n++)s=i[n],r=(e.match(E$(s,t))||[])[0],r&&(d=e.substr(0,e.indexOf(r)),d.length>0&&xe(t).unusedInput.push(d),e=e.slice(e.indexOf(r)+r.length),c+=r.length),Or[s]?(r?xe(t).empty=!1:xe(t).unusedTokens.push(s),T$(s,r,t)):t._strict&&!r&&xe(t).unusedTokens.push(s);xe(t).charsLeftOver=h-c,e.length>0&&xe(t).unusedInput.push(e),t._a[tt]<=12&&xe(t).bigHour===!0&&t._a[tt]>0&&(xe(t).bigHour=void 0),xe(t).parsedDateParts=t._a.slice(0),xe(t).meridiem=t._meridiem,t._a[tt]=PO(t._locale,t._a[tt],t._meridiem),m=xe(t).era,m!==null&&(t._a[ct]=t._locale.erasConvertYear(m,t._a[ct])),Kc(t),Jc(t)}function PO(t,e,n){var r;return n==null?e:t.meridiemHour!=null?t.meridiemHour(e,n):(t.isPM!=null&&(r=t.isPM(n),r&&e<12&&(e+=12),!r&&e===12&&(e=0)),e)}function BO(t){var e,n,r,i,s,d,h=!1,c=t._f.length;if(c===0){xe(t).invalidFormat=!0,t._d=new Date(NaN);return}for(i=0;i<c;i++)s=0,d=!1,e=Bc({},t),t._useUTC!=null&&(e._useUTC=t._useUTC),e._f=t._f[i],Xc(e),Pc(e)&&(d=!0),s+=xe(e).charsLeftOver,s+=xe(e).unusedTokens.length*10,xe(e).score=s,h?s<r&&(r=s,n=e):(r==null||s<r||d)&&(r=s,n=e,d&&(h=!0));Bn(t,n||e)}function FO(t){if(!t._d){var e=Uc(t._i),n=e.day===void 0?e.date:e.day;t._a=am([e.year,e.month,n,e.hour,e.minute,e.second,e.millisecond],function(r){return r&&parseInt(r,10)}),Kc(t)}}function VO(t){var e=new ds(Jc(Om(t)));return e._nextDay&&(e.add(1,"d"),e._nextDay=void 0),e}function Om(t){var e=t._i,n=t._f;return t._locale=t._locale||Tn(t._l),e===null||n===void 0&&e===""?Qo({nullInput:!0}):(typeof e=="string"&&(t._i=e=t._locale.preparse(e)),Yt(e)?new ds(Jc(e)):(hs(e)?t._d=e:Gt(n)?BO(t):n?Xc(t):UO(t),Pc(t)||(t._d=null),t))}function UO(t){var e=t._i;gt(e)?t._d=new Date(ae.now()):hs(e)?t._d=new Date(e.valueOf()):typeof e=="string"?NO(t):Gt(e)?(t._a=am(e.slice(0),function(n){return parseInt(n,10)}),Kc(t)):or(e)?FO(t):xn(e)?t._d=new Date(e):ae.createFromInputFallback(t)}function Lm(t,e,n,r,i){var s={};return(e===!0||e===!1)&&(r=e,e=void 0),(n===!0||n===!1)&&(r=n,n=void 0),(or(t)&&Dc(t)||Gt(t)&&t.length===0)&&(t=void 0),s._isAMomentObject=!0,s._useUTC=s._isUTC=i,s._l=n,s._i=t,s._f=e,s._strict=r,VO(s)}function Fe(t,e,n,r){return Lm(t,e,n,r,!1)}var WO=Bt("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=Fe.apply(null,arguments);return this.isValid()&&t.isValid()?t<this?this:t:Qo()}),HO=Bt("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=Fe.apply(null,arguments);return this.isValid()&&t.isValid()?t>this?this:t:Qo()});function Mm(t,e){var n,r;if(e.length===1&&Gt(e[0])&&(e=e[0]),!e.length)return Fe();for(n=e[0],r=1;r<e.length;++r)(!e[r].isValid()||e[r][t](n))&&(n=e[r]);return n}function jO(){var t=[].slice.call(arguments,0);return Mm("isBefore",t)}function zO(){var t=[].slice.call(arguments,0);return Mm("isAfter",t)}var GO=function(){return Date.now?Date.now():+new Date},ri=["year","quarter","month","week","day","hour","minute","second","millisecond"];function YO(t){var e,n=!1,r,i=ri.length;for(e in t)if(Oe(t,e)&&!(Ke.call(ri,e)!==-1&&(t[e]==null||!isNaN(t[e]))))return!1;for(r=0;r<i;++r)if(t[ri[r]]){if(n)return!1;parseFloat(t[ri[r]])!==ke(t[ri[r]])&&(n=!0)}return!0}function JO(){return this._isValid}function KO(){return Jt(NaN)}function aa(t){var e=Uc(t),n=e.year||0,r=e.quarter||0,i=e.month||0,s=e.week||e.isoWeek||0,d=e.day||0,h=e.hour||0,c=e.minute||0,m=e.second||0,a=e.millisecond||0;this._isValid=YO(e),this._milliseconds=+a+m*1e3+c*6e4+h*1e3*60*60,this._days=+d+s*7,this._months=+i+r*3+n*12,this._data={},this._locale=Tn(),this._bubble()}function Rs(t){return t instanceof aa}function Tl(t){return t<0?Math.round(-1*t)*-1:Math.round(t)}function XO(t,e,n){var r=Math.min(t.length,e.length),i=Math.abs(t.length-e.length),s=0,d;for(d=0;d<r;d++)(n&&t[d]!==e[d]||!n&&ke(t[d])!==ke(e[d]))&&s++;return s+i}function Rm(t,e){fe(t,0,0,function(){var n=this.utcOffset(),r="+";return n<0&&(n=-n,r="-"),r+nn(~~(n/60),2)+e+nn(~~n%60,2)})}Rm("Z",":");Rm("ZZ","");le("Z",ia);le("ZZ",ia);Ie(["Z","ZZ"],function(t,e,n){n._useUTC=!0,n._tzm=qc(ia,t)});var qO=/([\+\-]|\d\d)/gi;function qc(t,e){var n=(e||"").match(t),r,i,s;return n===null?null:(r=n[n.length-1]||[],i=(r+"").match(qO)||["-",0,0],s=+(i[1]*60)+ke(i[2]),s===0?0:i[0]==="+"?s:-s)}function Qc(t,e){var n,r;return e._isUTC?(n=e.clone(),r=(Yt(t)||hs(t)?t.valueOf():Fe(t).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+r),ae.updateOffset(n,!1),n):Fe(t).local()}function Al(t){return-Math.round(t._d.getTimezoneOffset())}ae.updateOffset=function(){};function QO(t,e,n){var r=this._offset||0,i;if(!this.isValid())return t!=null?this:NaN;if(t!=null){if(typeof t=="string"){if(t=qc(ia,t),t===null)return this}else Math.abs(t)<16&&!n&&(t=t*60);return!this._isUTC&&e&&(i=Al(this)),this._offset=t,this._isUTC=!0,i!=null&&this.add(i,"m"),r!==t&&(!e||this._changeInProgress?Dm(this,Jt(t-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,ae.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?r:Al(this)}function ZO(t,e){return t!=null?(typeof t!="string"&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()}function eL(t){return this.utcOffset(0,t)}function tL(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(Al(this),"m")),this}function nL(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var t=qc(k$,this._i);t!=null?this.utcOffset(t):this.utcOffset(0,!0)}return this}function rL(t){return this.isValid()?(t=t?Fe(t).utcOffset():0,(this.utcOffset()-t)%60===0):!1}function iL(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function sL(){if(!gt(this._isDSTShifted))return this._isDSTShifted;var t={},e;return Bc(t,this),t=Om(t),t._a?(e=t._isUTC?an(t._a):Fe(t._a),this._isDSTShifted=this.isValid()&&XO(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function oL(){return this.isValid()?!this._isUTC:!1}function aL(){return this.isValid()?this._isUTC:!1}function Nm(){return this.isValid()?this._isUTC&&this._offset===0:!1}var lL=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,cL=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Jt(t,e){var n=t,r=null,i,s,d;return Rs(t)?n={ms:t._milliseconds,d:t._days,M:t._months}:xn(t)||!isNaN(+t)?(n={},e?n[e]=+t:n.milliseconds=+t):(r=lL.exec(t))?(i=r[1]==="-"?-1:1,n={y:0,d:ke(r[Qt])*i,h:ke(r[tt])*i,m:ke(r[Ht])*i,s:ke(r[wn])*i,ms:ke(Tl(r[ir]*1e3))*i}):(r=cL.exec(t))?(i=r[1]==="-"?-1:1,n={y:qn(r[2],i),M:qn(r[3],i),w:qn(r[4],i),d:qn(r[5],i),h:qn(r[6],i),m:qn(r[7],i),s:qn(r[8],i)}):n==null?n={}:typeof n=="object"&&("from"in n||"to"in n)&&(d=uL(Fe(n.from),Fe(n.to)),n={},n.ms=d.milliseconds,n.M=d.months),s=new aa(n),Rs(t)&&Oe(t,"_locale")&&(s._locale=t._locale),Rs(t)&&Oe(t,"_isValid")&&(s._isValid=t._isValid),s}Jt.fn=aa.prototype;Jt.invalid=KO;function qn(t,e){var n=t&&parseFloat(t.replace(",","."));return(isNaN(n)?0:n)*e}function Wh(t,e){var n={};return n.months=e.month()-t.month()+(e.year()-t.year())*12,t.clone().add(n.months,"M").isAfter(e)&&--n.months,n.milliseconds=+e-+t.clone().add(n.months,"M"),n}function uL(t,e){var n;return t.isValid()&&e.isValid()?(e=Qc(e,t),t.isBefore(e)?n=Wh(t,e):(n=Wh(e,t),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function Im(t,e){return function(n,r){var i,s;return r!==null&&!isNaN(+r)&&(cm(e,"moment()."+e+"(period, number) is deprecated. Please use moment()."+e+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),s=n,n=r,r=s),i=Jt(n,r),Dm(this,i,t),this}}function Dm(t,e,n,r){var i=e._milliseconds,s=Tl(e._days),d=Tl(e._months);!t.isValid()||(r=r??!0,d&&ym(t,Js(t,"Month")+d*n),s&&dm(t,"Date",Js(t,"Date")+s*n),i&&t._d.setTime(t._d.valueOf()+i*n),r&&ae.updateOffset(t,s||d))}var hL=Im(1,"add"),dL=Im(-1,"subtract");function Pm(t){return typeof t=="string"||t instanceof String}function fL(t){return Yt(t)||hs(t)||Pm(t)||xn(t)||pL(t)||mL(t)||t===null||t===void 0}function mL(t){var e=or(t)&&!Dc(t),n=!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"],i,s,d=r.length;for(i=0;i<d;i+=1)s=r[i],n=n||Oe(t,s);return e&&n}function pL(t){var e=Gt(t),n=!1;return e&&(n=t.filter(function(r){return!xn(r)&&Pm(t)}).length===0),e&&n}function gL(t){var e=or(t)&&!Dc(t),n=!1,r=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],i,s;for(i=0;i<r.length;i+=1)s=r[i],n=n||Oe(t,s);return e&&n}function vL(t,e){var n=t.diff(e,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function wL(t,e){arguments.length===1&&(arguments[0]?fL(arguments[0])?(t=arguments[0],e=void 0):gL(arguments[0])&&(e=arguments[0],t=void 0):(t=void 0,e=void 0));var n=t||Fe(),r=Qc(n,this).startOf("day"),i=ae.calendarFormat(this,r)||"sameElse",s=e&&(ln(e[i])?e[i].call(this,n):e[i]);return this.format(s||this.localeData().calendar(i,this,Fe(n)))}function yL(){return new ds(this)}function bL(t,e){var n=Yt(t)?t:Fe(t);return this.isValid()&&n.isValid()?(e=Ft(e)||"millisecond",e==="millisecond"?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(e).valueOf()):!1}function SL(t,e){var n=Yt(t)?t:Fe(t);return this.isValid()&&n.isValid()?(e=Ft(e)||"millisecond",e==="millisecond"?this.valueOf()<n.valueOf():this.clone().endOf(e).valueOf()<n.valueOf()):!1}function xL(t,e,n,r){var i=Yt(t)?t:Fe(t),s=Yt(e)?e:Fe(e);return this.isValid()&&i.isValid()&&s.isValid()?(r=r||"()",(r[0]==="("?this.isAfter(i,n):!this.isBefore(i,n))&&(r[1]===")"?this.isBefore(s,n):!this.isAfter(s,n))):!1}function kL(t,e){var n=Yt(t)?t:Fe(t),r;return this.isValid()&&n.isValid()?(e=Ft(e)||"millisecond",e==="millisecond"?this.valueOf()===n.valueOf():(r=n.valueOf(),this.clone().startOf(e).valueOf()<=r&&r<=this.clone().endOf(e).valueOf())):!1}function CL(t,e){return this.isSame(t,e)||this.isAfter(t,e)}function EL(t,e){return this.isSame(t,e)||this.isBefore(t,e)}function _L(t,e,n){var r,i,s;if(!this.isValid())return NaN;if(r=Qc(t,this),!r.isValid())return NaN;switch(i=(r.utcOffset()-this.utcOffset())*6e4,e=Ft(e),e){case"year":s=Ns(this,r)/12;break;case"month":s=Ns(this,r);break;case"quarter":s=Ns(this,r)/3;break;case"second":s=(this-r)/1e3;break;case"minute":s=(this-r)/6e4;break;case"hour":s=(this-r)/36e5;break;case"day":s=(this-r-i)/864e5;break;case"week":s=(this-r-i)/6048e5;break;default:s=this-r}return n?s:Rt(s)}function Ns(t,e){if(t.date()<e.date())return-Ns(e,t);var n=(e.year()-t.year())*12+(e.month()-t.month()),r=t.clone().add(n,"months"),i,s;return e-r<0?(i=t.clone().add(n-1,"months"),s=(e-r)/(r-i)):(i=t.clone().add(n+1,"months"),s=(e-r)/(i-r)),-(n+s)||0}ae.defaultFormat="YYYY-MM-DDTHH:mm:ssZ";ae.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function TL(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function AL(t){if(!this.isValid())return null;var e=t!==!0,n=e?this.clone().utc():this;return n.year()<0||n.year()>9999?Ms(n,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):ln(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",Ms(n,"Z")):Ms(n,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function $L(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t="moment",e="",n,r,i,s;return this.isLocal()||(t=this.utcOffset()===0?"moment.utc":"moment.parseZone",e="Z"),n="["+t+'("]',r=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",i="-MM-DD[T]HH:mm:ss.SSS",s=e+'[")]',this.format(n+r+i+s)}function OL(t){t||(t=this.isUtc()?ae.defaultFormatUtc:ae.defaultFormat);var e=Ms(this,t);return this.localeData().postformat(e)}function LL(t,e){return this.isValid()&&(Yt(t)&&t.isValid()||Fe(t).isValid())?Jt({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function ML(t){return this.from(Fe(),t)}function RL(t,e){return this.isValid()&&(Yt(t)&&t.isValid()||Fe(t).isValid())?Jt({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function NL(t){return this.to(Fe(),t)}function Bm(t){var e;return t===void 0?this._locale._abbr:(e=Tn(t),e!=null&&(this._locale=e),this)}var Fm=Bt("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(t){return t===void 0?this.localeData():this.locale(t)});function Vm(){return this._locale}var qs=1e3,Lr=60*qs,Qs=60*Lr,Um=(365*400+97)*24*Qs;function Mr(t,e){return(t%e+e)%e}function Wm(t,e,n){return t<100&&t>=0?new Date(t+400,e,n)-Um:new Date(t,e,n).valueOf()}function Hm(t,e,n){return t<100&&t>=0?Date.UTC(t+400,e,n)-Um:Date.UTC(t,e,n)}function IL(t){var e,n;if(t=Ft(t),t===void 0||t==="millisecond"||!this.isValid())return this;switch(n=this._isUTC?Hm:Wm,t){case"year":e=n(this.year(),0,1);break;case"quarter":e=n(this.year(),this.month()-this.month()%3,1);break;case"month":e=n(this.year(),this.month(),1);break;case"week":e=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":e=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":e=n(this.year(),this.month(),this.date());break;case"hour":e=this._d.valueOf(),e-=Mr(e+(this._isUTC?0:this.utcOffset()*Lr),Qs);break;case"minute":e=this._d.valueOf(),e-=Mr(e,Lr);break;case"second":e=this._d.valueOf(),e-=Mr(e,qs);break}return this._d.setTime(e),ae.updateOffset(this,!0),this}function DL(t){var e,n;if(t=Ft(t),t===void 0||t==="millisecond"||!this.isValid())return this;switch(n=this._isUTC?Hm:Wm,t){case"year":e=n(this.year()+1,0,1)-1;break;case"quarter":e=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":e=n(this.year(),this.month()+1,1)-1;break;case"week":e=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":e=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":e=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":e=this._d.valueOf(),e+=Qs-Mr(e+(this._isUTC?0:this.utcOffset()*Lr),Qs)-1;break;case"minute":e=this._d.valueOf(),e+=Lr-Mr(e,Lr)-1;break;case"second":e=this._d.valueOf(),e+=qs-Mr(e,qs)-1;break}return this._d.setTime(e),ae.updateOffset(this,!0),this}function PL(){return this._d.valueOf()-(this._offset||0)*6e4}function BL(){return Math.floor(this.valueOf()/1e3)}function FL(){return new Date(this.valueOf())}function VL(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]}function UL(){var t=this;return{years:t.year(),months:t.month(),date:t.date(),hours:t.hours(),minutes:t.minutes(),seconds:t.seconds(),milliseconds:t.milliseconds()}}function WL(){return this.isValid()?this.toISOString():null}function HL(){return Pc(this)}function jL(){return Bn({},xe(this))}function zL(){return xe(this).overflow}function GL(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}fe("N",0,0,"eraAbbr");fe("NN",0,0,"eraAbbr");fe("NNN",0,0,"eraAbbr");fe("NNNN",0,0,"eraName");fe("NNNNN",0,0,"eraNarrow");fe("y",["y",1],"yo","eraYear");fe("y",["yy",2],0,"eraYear");fe("y",["yyy",3],0,"eraYear");fe("y",["yyyy",4],0,"eraYear");le("N",Zc);le("NN",Zc);le("NNN",Zc);le("NNNN",rM);le("NNNNN",iM);Ie(["N","NN","NNN","NNNN","NNNNN"],function(t,e,n,r){var i=n._locale.erasParse(t,r,n._strict);i?xe(n).era=i:xe(n).invalidEra=t});le("y",Jr);le("yy",Jr);le("yyy",Jr);le("yyyy",Jr);le("yo",sM);Ie(["y","yy","yyy","yyyy"],ct);Ie(["yo"],function(t,e,n,r){var i;n._locale._eraYearOrdinalRegex&&(i=t.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?e[ct]=n._locale.eraYearOrdinalParse(t,i):e[ct]=parseInt(t,10)});function YL(t,e){var n,r,i,s=this._eras||Tn("en")._eras;for(n=0,r=s.length;n<r;++n){switch(typeof s[n].since){case"string":i=ae(s[n].since).startOf("day"),s[n].since=i.valueOf();break}switch(typeof s[n].until){case"undefined":s[n].until=1/0;break;case"string":i=ae(s[n].until).startOf("day").valueOf(),s[n].until=i.valueOf();break}}return s}function JL(t,e,n){var r,i,s=this.eras(),d,h,c;for(t=t.toUpperCase(),r=0,i=s.length;r<i;++r)if(d=s[r].name.toUpperCase(),h=s[r].abbr.toUpperCase(),c=s[r].narrow.toUpperCase(),n)switch(e){case"N":case"NN":case"NNN":if(h===t)return s[r];break;case"NNNN":if(d===t)return s[r];break;case"NNNNN":if(c===t)return s[r];break}else if([d,h,c].indexOf(t)>=0)return s[r]}function KL(t,e){var n=t.since<=t.until?1:-1;return e===void 0?ae(t.since).year():ae(t.since).year()+(e-t.offset)*n}function XL(){var t,e,n,r=this.localeData().eras();for(t=0,e=r.length;t<e;++t)if(n=this.clone().startOf("day").valueOf(),r[t].since<=n&&n<=r[t].until||r[t].until<=n&&n<=r[t].since)return r[t].name;return""}function qL(){var t,e,n,r=this.localeData().eras();for(t=0,e=r.length;t<e;++t)if(n=this.clone().startOf("day").valueOf(),r[t].since<=n&&n<=r[t].until||r[t].until<=n&&n<=r[t].since)return r[t].narrow;return""}function QL(){var t,e,n,r=this.localeData().eras();for(t=0,e=r.length;t<e;++t)if(n=this.clone().startOf("day").valueOf(),r[t].since<=n&&n<=r[t].until||r[t].until<=n&&n<=r[t].since)return r[t].abbr;return""}function ZL(){var t,e,n,r,i=this.localeData().eras();for(t=0,e=i.length;t<e;++t)if(n=i[t].since<=i[t].until?1:-1,r=this.clone().startOf("day").valueOf(),i[t].since<=r&&r<=i[t].until||i[t].until<=r&&r<=i[t].since)return(this.year()-ae(i[t].since).year())*n+i[t].offset;return this.year()}function eM(t){return Oe(this,"_erasNameRegex")||eu.call(this),t?this._erasNameRegex:this._erasRegex}function tM(t){return Oe(this,"_erasAbbrRegex")||eu.call(this),t?this._erasAbbrRegex:this._erasRegex}function nM(t){return Oe(this,"_erasNarrowRegex")||eu.call(this),t?this._erasNarrowRegex:this._erasRegex}function Zc(t,e){return e.erasAbbrRegex(t)}function rM(t,e){return e.erasNameRegex(t)}function iM(t,e){return e.erasNarrowRegex(t)}function sM(t,e){return e._eraYearOrdinalRegex||Jr}function eu(){var t=[],e=[],n=[],r=[],i,s,d=this.eras();for(i=0,s=d.length;i<s;++i)e.push(Ct(d[i].name)),t.push(Ct(d[i].abbr)),n.push(Ct(d[i].narrow)),r.push(Ct(d[i].name)),r.push(Ct(d[i].abbr)),r.push(Ct(d[i].narrow));this._erasRegex=new RegExp("^("+r.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+e.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+t.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+n.join("|")+")","i")}fe(0,["gg",2],0,function(){return this.weekYear()%100});fe(0,["GG",2],0,function(){return this.isoWeekYear()%100});function la(t,e){fe(0,[t,t.length],0,e)}la("gggg","weekYear");la("ggggg","weekYear");la("GGGG","isoWeekYear");la("GGGGG","isoWeekYear");ut("weekYear","gg");ut("isoWeekYear","GG");ht("weekYear",1);ht("isoWeekYear",1);le("G",ra);le("g",ra);le("GG",Ve,$t);le("gg",Ve,$t);le("GGGG",Hc,Wc);le("gggg",Hc,Wc);le("GGGGG",na,ea);le("ggggg",na,ea);ms(["gggg","ggggg","GGGG","GGGGG"],function(t,e,n,r){e[r.substr(0,2)]=ke(t)});ms(["gg","GG"],function(t,e,n,r){e[r]=ae.parseTwoDigitYear(t)});function oM(t){return jm.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function aM(t){return jm.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)}function lM(){return bn(this.year(),1,4)}function cM(){return bn(this.isoWeekYear(),1,4)}function uM(){var t=this.localeData()._week;return bn(this.year(),t.dow,t.doy)}function hM(){var t=this.localeData()._week;return bn(this.weekYear(),t.dow,t.doy)}function jm(t,e,n,r,i){var s;return t==null?ji(this,r,i).year:(s=bn(t,r,i),e>s&&(e=s),dM.call(this,t,e,n,r,i))}function dM(t,e,n,r,i){var s=km(t,e,n,r,i),d=Hi(s.year,0,s.dayOfYear);return this.year(d.getUTCFullYear()),this.month(d.getUTCMonth()),this.date(d.getUTCDate()),this}fe("Q",0,"Qo","quarter");ut("quarter","Q");ht("quarter",7);le("Q",fm);Ie("Q",function(t,e){e[vn]=(ke(t)-1)*3});function fM(t){return t==null?Math.ceil((this.month()+1)/3):this.month((t-1)*3+this.month()%3)}fe("D",["DD",2],"Do","date");ut("date","D");ht("date",9);le("D",Ve);le("DD",Ve,$t);le("Do",function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient});Ie(["D","DD"],Qt);Ie("Do",function(t,e){e[Qt]=ke(t.match(Ve)[0])});var zm=Yr("Date",!0);fe("DDD",["DDDD",3],"DDDo","dayOfYear");ut("dayOfYear","DDD");ht("dayOfYear",4);le("DDD",ta);le("DDDD",mm);Ie(["DDD","DDDD"],function(t,e,n){n._dayOfYear=ke(t)});function mM(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return t==null?e:this.add(t-e,"d")}fe("m",["mm",2],0,"minute");ut("minute","m");ht("minute",14);le("m",Ve);le("mm",Ve,$t);Ie(["m","mm"],Ht);var pM=Yr("Minutes",!1);fe("s",["ss",2],0,"second");ut("second","s");ht("second",15);le("s",Ve);le("ss",Ve,$t);Ie(["s","ss"],wn);var gM=Yr("Seconds",!1);fe("S",0,0,function(){return~~(this.millisecond()/100)});fe(0,["SS",2],0,function(){return~~(this.millisecond()/10)});fe(0,["SSS",3],0,"millisecond");fe(0,["SSSS",4],0,function(){return this.millisecond()*10});fe(0,["SSSSS",5],0,function(){return this.millisecond()*100});fe(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3});fe(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4});fe(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5});fe(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6});ut("millisecond","ms");ht("millisecond",16);le("S",ta,fm);le("SS",ta,$t);le("SSS",ta,mm);var Fn,Gm;for(Fn="SSSS";Fn.length<=9;Fn+="S")le(Fn,Jr);function vM(t,e){e[ir]=ke(("0."+t)*1e3)}for(Fn="S";Fn.length<=9;Fn+="S")Ie(Fn,vM);Gm=Yr("Milliseconds",!1);fe("z",0,0,"zoneAbbr");fe("zz",0,0,"zoneName");function wM(){return this._isUTC?"UTC":""}function yM(){return this._isUTC?"Coordinated Universal Time":""}var ee=ds.prototype;ee.add=hL;ee.calendar=wL;ee.clone=yL;ee.diff=_L;ee.endOf=DL;ee.format=OL;ee.from=LL;ee.fromNow=ML;ee.to=RL;ee.toNow=NL;ee.get=S$;ee.invalidAt=zL;ee.isAfter=bL;ee.isBefore=SL;ee.isBetween=xL;ee.isSame=kL;ee.isSameOrAfter=CL;ee.isSameOrBefore=EL;ee.isValid=HL;ee.lang=Fm;ee.locale=Bm;ee.localeData=Vm;ee.max=HO;ee.min=WO;ee.parsingFlags=jL;ee.set=x$;ee.startOf=IL;ee.subtract=dL;ee.toArray=VL;ee.toObject=UL;ee.toDate=FL;ee.toISOString=AL;ee.inspect=$L;typeof Symbol<"u"&&Symbol.for!=null&&(ee[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"});ee.toJSON=WL;ee.toString=TL;ee.unix=BL;ee.valueOf=PL;ee.creationData=GL;ee.eraName=XL;ee.eraNarrow=qL;ee.eraAbbr=QL;ee.eraYear=ZL;ee.year=xm;ee.isLeapYear=U$;ee.weekYear=oM;ee.isoWeekYear=aM;ee.quarter=ee.quarters=fM;ee.month=bm;ee.daysInMonth=B$;ee.week=ee.weeks=Y$;ee.isoWeek=ee.isoWeeks=J$;ee.weeksInYear=uM;ee.weeksInWeekYear=hM;ee.isoWeeksInYear=lM;ee.isoWeeksInISOWeekYear=cM;ee.date=zm;ee.day=ee.days=aO;ee.weekday=lO;ee.isoWeekday=cO;ee.dayOfYear=mM;ee.hour=ee.hours=gO;ee.minute=ee.minutes=pM;ee.second=ee.seconds=gM;ee.millisecond=ee.milliseconds=Gm;ee.utcOffset=QO;ee.utc=eL;ee.local=tL;ee.parseZone=nL;ee.hasAlignedHourOffset=rL;ee.isDST=iL;ee.isLocal=oL;ee.isUtcOffset=aL;ee.isUtc=Nm;ee.isUTC=Nm;ee.zoneAbbr=wM;ee.zoneName=yM;ee.dates=Bt("dates accessor is deprecated. Use date instead.",zm);ee.months=Bt("months accessor is deprecated. Use month instead",bm);ee.years=Bt("years accessor is deprecated. Use year instead",xm);ee.zone=Bt("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",ZO);ee.isDSTShifted=Bt("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",sL);function bM(t){return Fe(t*1e3)}function SM(){return Fe.apply(null,arguments).parseZone()}function Ym(t){return t}var Le=Fc.prototype;Le.calendar=a$;Le.longDateFormat=h$;Le.invalidDate=f$;Le.ordinal=g$;Le.preparse=Ym;Le.postformat=Ym;Le.relativeTime=w$;Le.pastFuture=y$;Le.set=s$;Le.eras=YL;Le.erasParse=JL;Le.erasConvertYear=KL;Le.erasAbbrRegex=tM;Le.erasNameRegex=eM;Le.erasNarrowRegex=nM;Le.months=N$;Le.monthsShort=I$;Le.monthsParse=P$;Le.monthsRegex=V$;Le.monthsShortRegex=F$;Le.week=H$;Le.firstDayOfYear=G$;Le.firstDayOfWeek=z$;Le.weekdays=nO;Le.weekdaysMin=iO;Le.weekdaysShort=rO;Le.weekdaysParse=oO;Le.weekdaysRegex=uO;Le.weekdaysShortRegex=hO;Le.weekdaysMinRegex=dO;Le.isPM=mO;Le.meridiem=vO;function Zs(t,e,n,r){var i=Tn(),s=an().set(r,e);return i[n](s,t)}function Jm(t,e,n){if(xn(t)&&(e=t,t=void 0),t=t||"",e!=null)return Zs(t,e,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=Zs(t,r,n,"month");return i}function tu(t,e,n,r){typeof t=="boolean"?(xn(e)&&(n=e,e=void 0),e=e||""):(e=t,n=e,t=!1,xn(e)&&(n=e,e=void 0),e=e||"");var i=Tn(),s=t?i._week.dow:0,d,h=[];if(n!=null)return Zs(e,(n+s)%7,r,"day");for(d=0;d<7;d++)h[d]=Zs(e,(d+s)%7,r,"day");return h}function xM(t,e){return Jm(t,e,"months")}function kM(t,e){return Jm(t,e,"monthsShort")}function CM(t,e,n){return tu(t,e,n,"weekdays")}function EM(t,e,n){return tu(t,e,n,"weekdaysShort")}function _M(t,e,n){return tu(t,e,n,"weekdaysMin")}Hn("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(t){var e=t%10,n=ke(t%100/10)===1?"th":e===1?"st":e===2?"nd":e===3?"rd":"th";return t+n}});ae.lang=Bt("moment.lang is deprecated. Use moment.locale instead.",Hn);ae.langData=Bt("moment.langData is deprecated. Use moment.localeData instead.",Tn);var un=Math.abs;function TM(){var t=this._data;return this._milliseconds=un(this._milliseconds),this._days=un(this._days),this._months=un(this._months),t.milliseconds=un(t.milliseconds),t.seconds=un(t.seconds),t.minutes=un(t.minutes),t.hours=un(t.hours),t.months=un(t.months),t.years=un(t.years),this}function Km(t,e,n,r){var i=Jt(e,n);return t._milliseconds+=r*i._milliseconds,t._days+=r*i._days,t._months+=r*i._months,t._bubble()}function AM(t,e){return Km(this,t,e,1)}function $M(t,e){return Km(this,t,e,-1)}function Hh(t){return t<0?Math.floor(t):Math.ceil(t)}function OM(){var t=this._milliseconds,e=this._days,n=this._months,r=this._data,i,s,d,h,c;return t>=0&&e>=0&&n>=0||t<=0&&e<=0&&n<=0||(t+=Hh($l(n)+e)*864e5,e=0,n=0),r.milliseconds=t%1e3,i=Rt(t/1e3),r.seconds=i%60,s=Rt(i/60),r.minutes=s%60,d=Rt(s/60),r.hours=d%24,e+=Rt(d/24),c=Rt(Xm(e)),n+=c,e-=Hh($l(c)),h=Rt(n/12),n%=12,r.days=e,r.months=n,r.years=h,this}function Xm(t){return t*4800/146097}function $l(t){return t*146097/4800}function LM(t){if(!this.isValid())return NaN;var e,n,r=this._milliseconds;if(t=Ft(t),t==="month"||t==="quarter"||t==="year")switch(e=this._days+r/864e5,n=this._months+Xm(e),t){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(e=this._days+Math.round($l(this._months)),t){case"week":return e/7+r/6048e5;case"day":return e+r/864e5;case"hour":return e*24+r/36e5;case"minute":return e*1440+r/6e4;case"second":return e*86400+r/1e3;case"millisecond":return Math.floor(e*864e5)+r;default:throw new Error("Unknown unit "+t)}}function MM(){return this.isValid()?this._milliseconds+this._days*864e5+this._months%12*2592e6+ke(this._months/12)*31536e6:NaN}function An(t){return function(){return this.as(t)}}var RM=An("ms"),NM=An("s"),IM=An("m"),DM=An("h"),PM=An("d"),BM=An("w"),FM=An("M"),VM=An("Q"),UM=An("y");function WM(){return Jt(this)}function HM(t){return t=Ft(t),this.isValid()?this[t+"s"]():NaN}function vr(t){return function(){return this.isValid()?this._data[t]:NaN}}var jM=vr("milliseconds"),zM=vr("seconds"),GM=vr("minutes"),YM=vr("hours"),JM=vr("days"),KM=vr("months"),XM=vr("years");function qM(){return Rt(this.days()/7)}var dn=Math.round,Tr={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function QM(t,e,n,r,i){return i.relativeTime(e||1,!!n,t,r)}function ZM(t,e,n,r){var i=Jt(t).abs(),s=dn(i.as("s")),d=dn(i.as("m")),h=dn(i.as("h")),c=dn(i.as("d")),m=dn(i.as("M")),a=dn(i.as("w")),o=dn(i.as("y")),u=s<=n.ss&&["s",s]||s<n.s&&["ss",s]||d<=1&&["m"]||d<n.m&&["mm",d]||h<=1&&["h"]||h<n.h&&["hh",h]||c<=1&&["d"]||c<n.d&&["dd",c];return n.w!=null&&(u=u||a<=1&&["w"]||a<n.w&&["ww",a]),u=u||m<=1&&["M"]||m<n.M&&["MM",m]||o<=1&&["y"]||["yy",o],u[2]=e,u[3]=+t>0,u[4]=r,QM.apply(null,u)}function eR(t){return t===void 0?dn:typeof t=="function"?(dn=t,!0):!1}function tR(t,e){return Tr[t]===void 0?!1:e===void 0?Tr[t]:(Tr[t]=e,t==="s"&&(Tr.ss=e-1),!0)}function nR(t,e){if(!this.isValid())return this.localeData().invalidDate();var n=!1,r=Tr,i,s;return typeof t=="object"&&(e=t,t=!1),typeof t=="boolean"&&(n=t),typeof e=="object"&&(r=Object.assign({},Tr,e),e.s!=null&&e.ss==null&&(r.ss=e.s-1)),i=this.localeData(),s=ZM(this,!n,r,i),n&&(s=i.pastFuture(+this,s)),i.postformat(s)}var Ma=Math.abs;function Sr(t){return(t>0)-(t<0)||+t}function ca(){if(!this.isValid())return this.localeData().invalidDate();var t=Ma(this._milliseconds)/1e3,e=Ma(this._days),n=Ma(this._months),r,i,s,d,h=this.asSeconds(),c,m,a,o;return h?(r=Rt(t/60),i=Rt(r/60),t%=60,r%=60,s=Rt(n/12),n%=12,d=t?t.toFixed(3).replace(/\.?0+$/,""):"",c=h<0?"-":"",m=Sr(this._months)!==Sr(h)?"-":"",a=Sr(this._days)!==Sr(h)?"-":"",o=Sr(this._milliseconds)!==Sr(h)?"-":"",c+"P"+(s?m+s+"Y":"")+(n?m+n+"M":"")+(e?a+e+"D":"")+(i||r||t?"T":"")+(i?o+i+"H":"")+(r?o+r+"M":"")+(t?o+d+"S":"")):"P0D"}var Te=aa.prototype;Te.isValid=JO;Te.abs=TM;Te.add=AM;Te.subtract=$M;Te.as=LM;Te.asMilliseconds=RM;Te.asSeconds=NM;Te.asMinutes=IM;Te.asHours=DM;Te.asDays=PM;Te.asWeeks=BM;Te.asMonths=FM;Te.asQuarters=VM;Te.asYears=UM;Te.valueOf=MM;Te._bubble=OM;Te.clone=WM;Te.get=HM;Te.milliseconds=jM;Te.seconds=zM;Te.minutes=GM;Te.hours=YM;Te.days=JM;Te.weeks=qM;Te.months=KM;Te.years=XM;Te.humanize=nR;Te.toISOString=ca;Te.toString=ca;Te.toJSON=ca;Te.locale=Bm;Te.localeData=Vm;Te.toIsoString=Bt("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",ca);Te.lang=Fm;fe("X",0,0,"unix");fe("x",0,0,"valueOf");le("x",ra);le("X",C$);Ie("X",function(t,e,n){n._d=new Date(parseFloat(t)*1e3)});Ie("x",function(t,e,n){n._d=new Date(ke(t))});//! moment.js
|
|
1096
|
+
ae.version="2.29.4";r$(Fe);ae.fn=ee;ae.min=jO;ae.max=zO;ae.now=GO;ae.utc=an;ae.unix=bM;ae.months=xM;ae.isDate=hs;ae.locale=Hn;ae.invalid=Qo;ae.duration=Jt;ae.isMoment=Yt;ae.weekdays=CM;ae.parseZone=SM;ae.localeData=Tn;ae.isDuration=Rs;ae.monthsShort=kM;ae.weekdaysMin=_M;ae.defineLocale=Yc;ae.updateLocale=SO;ae.locales=xO;ae.weekdaysShort=EM;ae.normalizeUnits=Ft;ae.relativeTimeRounding=eR;ae.relativeTimeThreshold=tR;ae.calendarFormat=vL;ae.prototype=ee;ae.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"};const rR={class:"tw-text-[#a5a5a5] tw-text-xs"},iR={key:1},sR={key:1,class:"tw-text-[#a5a5a5]"},oR={key:2,class:"tw-text-[#a5a5a5]"},aR={key:5,class:"tw-flex tw-justify-center"},lR={key:6,class:"tw-text-right"},cR={key:8},uR=l.defineComponent({__name:"vc-table-cell",props:{cell:{default:void 0},item:{default:void 0}},setup(t){const e=t,n=window.navigator.language,r=l.computed(()=>(e.cell.field||e.cell.id).split(".").reduce((i,s)=>i&&i[s]||null,e.item));return(i,s)=>t.cell.type==="money"?(l.openBlock(),l.createElementBlock(l.Fragment,{key:0},[l.unref(r)>0?(l.openBlock(),l.createElementBlock(l.Fragment,{key:0},[l.createElementVNode("span",null,l.toDisplayString(Math.trunc(Number(l.unref(r)))),1),l.createElementVNode("span",rR,"."+l.toDisplayString(`${Number(l.unref(r))*100%100}`.padEnd(2,"0").slice(0,2)),1)],64)):(l.openBlock(),l.createElementBlock("span",iR,"N/A"))],64)):t.cell.type==="date-ago"?(l.openBlock(),l.createElementBlock("span",sR,[l.unref(r)?(l.openBlock(),l.createElementBlock(l.Fragment,{key:0},[l.createTextVNode(l.toDisplayString(l.unref(ae)(l.unref(r)).fromNow()),1)],64)):(l.openBlock(),l.createElementBlock(l.Fragment,{key:1},[l.createTextVNode("N/A")],64))])):t.cell.type==="date"||t.cell.type==="time"||t.cell.type==="date-time"?(l.openBlock(),l.createElementBlock("span",oR,[l.unref(r)?(l.openBlock(),l.createElementBlock(l.Fragment,{key:0},[t.cell.format?(l.openBlock(),l.createElementBlock(l.Fragment,{key:0},[l.createTextVNode(l.toDisplayString(l.unref(ae)(l.unref(r)).locale(l.unref(n)).format(t.cell.format)),1)],64)):(l.openBlock(),l.createElementBlock(l.Fragment,{key:1},[t.cell.type==="date"?(l.openBlock(),l.createElementBlock(l.Fragment,{key:0},[l.createTextVNode(l.toDisplayString(l.unref(r).toLocaleDateString()),1)],64)):l.createCommentVNode("",!0),t.cell.type==="time"?(l.openBlock(),l.createElementBlock(l.Fragment,{key:1},[l.createTextVNode(l.toDisplayString(l.unref(r).toLocaleTimeString()),1)],64)):l.createCommentVNode("",!0),t.cell.type==="date-time"?(l.openBlock(),l.createElementBlock(l.Fragment,{key:2},[l.createTextVNode(l.toDisplayString(l.unref(r).toLocaleString()),1)],64)):l.createCommentVNode("",!0)],64))],64)):(l.openBlock(),l.createElementBlock(l.Fragment,{key:1},[l.createTextVNode("N/A")],64))])):t.cell.type==="image"?(l.openBlock(),l.createBlock(l.unref(oo),{key:3,bordered:!0,size:"s",aspect:"1x1",src:l.unref(r),background:"contain"},null,8,["src"])):t.cell.type==="status"?(l.openBlock(),l.createBlock(l.unref(Bl),{key:4},{default:l.withCtx(()=>[l.createTextVNode(l.toDisplayString(l.unref(r)),1)]),_:1})):t.cell.type==="status-icon"?(l.openBlock(),l.createElementBlock("div",aR,[l.createVNode(l.unref(Fl),{status:l.unref(r)},null,8,["status"])])):t.cell.type==="number"?(l.openBlock(),l.createElementBlock("span",lR,l.toDisplayString(Number(l.unref(r)).toFixed(0)),1)):t.cell.type==="link"?(l.openBlock(),l.createBlock(l.unref(Il),{key:7},{default:l.withCtx(()=>[l.createTextVNode(l.toDisplayString(l.unref(r)),1)]),_:1})):(l.openBlock(),l.createElementBlock("span",cR,l.toDisplayString(l.unref(r)),1))}}),hR={class:"tw-relative tw-overflow-hidden tw-flex tw-flex-col tw-grow tw-basis-0"},dR={class:"tw-shrink-0 tw-flex tw-items-center tw-justify-between tw-p-4"},fR={key:0,class:"tw-mr-3"},mR={key:1,class:"tw-ml-3"},pR={class:"tw-flex tw-relative tw-overflow-hidden tw-grow"},gR={key:0},vR={key:0,class:"vc-table__header"},wR={class:"vc-table__header-row"},yR={key:0,class:"tw-h-[42px] tw-bg-[#f9f9f9] !tw-border-0 tw-shadow-[inset_0px_1px_0px_#eaedf3,_inset_0px_-1px_0px_#eaedf3] tw-box-border sticky tw-top-0 tw-select-none tw-overflow-hidden tw-z-[1]",width:"50"},bR={class:"tw-flex tw-justify-center tw-items-center"},SR=["width","onClick"],xR={key:0,class:"tw-ml-1"},kR={key:1,class:"tw-flex tw-flex-col tw-ml-1 tw-invisible group-hover:tw-visible"},CR={key:1,class:"tw-h-[42px] tw-bg-[#f9f9f9] !tw-border-0 tw-shadow-[inset_0px_1px_0px_#eaedf3,_inset_0px_-1px_0px_#eaedf3] tw-box-border sticky tw-top-0 tw-select-none tw-overflow-hidden tw-z-[1]",width:"44"},ER={key:1,class:"vc-table__body"},_R=["onClick","onMouseover"],TR={key:0,width:"50"},AR={class:"tw-flex tw-justify-center tw-items-center"},$R=["width"],OR={key:1,class:"tw-box-border tw-overflow-visible tw-px-3",width:"44"},LR={class:"vc-table__body-actions-container tw-relative !tw-hidden tw-justify-center tw-items-center"},MR=["onClick","disabled"],RR={class:"tw-flex tw-items-center tw-flex-row tw-text-[#3f3f3f] tw-font-normal not-italic tw-text-base tw-leading-[20px] tw-gap-[25px]"},NR=["onClick"],IR={class:"tw-not-italic tw-font-normal tw-text-base tw-leading-[20px] tw-text-[#3f3f3f] tw-ml-[7px]"},DR=l.createElementVNode("div",{class:"vc-table__body-tooltip-arrow","data-popper-arrow":""},null,-1),PR={key:0,class:"tw-w-full tw-h-full tw-box-border tw-flex tw-flex-col tw-items-center tw-justify-center"},BR=["src"],FR={class:"tw-m-4 vc-table__empty-text"},VR={key:0,class:"tw-w-full tw-h-full tw-box-border tw-flex tw-flex-col tw-items-center tw-justify-center"},UR=["src"],WR={class:"tw-m-4 tw-text-xl tw-font-medium"},HR={class:"tw-bg-[#fbfdfe] tw-border-t tw-border-solid tw-border-[#eaedf3] tw-flex-shrink-0 tw-flex tw-items-center tw-justify-between tw-p-4"},qm=l.defineComponent({__name:"vc-table",props:{columns:{type:Array,default:()=>[]},items:{type:Array,default:()=>[]},filterItems:{type:Array,default:()=>[]},itemActionBuilder:{type:Function,default:void 0},sort:{type:String,default:void 0},multiselect:{type:Boolean,default:!1},expanded:{type:Boolean,default:!1},totalLabel:{type:String,default:"Totals:"},totalCount:{type:Number,default:0},pages:{type:Number,default:0},currentPage:{type:Number,default:0},searchPlaceholder:{type:String,default:"Search..."},searchValue:{type:String,default:void 0},loading:{type:Boolean,default:!1},empty:{type:Object,default:()=>({text:"List is empty."})},notfound:{type:Object,default:()=>({text:"Nothing found."})},header:{type:Boolean,default:!0},footer:{type:Boolean,default:!0},activeFilterCount:{type:Number,default:0},selectedItemId:{type:String,default:void 0},scrolling:{type:Boolean,default:!1},onItemClick:{type:Function,default:void 0}},emits:["paginationClick","selectionChanged","search:change","filter:apply","filter:reset","headerClick"],setup(t,{emit:e}){const n=t,r=l.ref({}),i=l.ref(),s=l.ref(),d=l.ref(),h=l.ref([]),c=l.ref([]),m=l.ref([]),a=l.ref();l.onBeforeUpdate(()=>{h.value=[],c.value=[]});const o=l.computed(()=>{const _=n.sort?.split(":");return _&&_.length===2&&_[1]}),u=l.computed(()=>{const _=n.sort?.split(":");return _&&_.length===2&&_[0]}),f={start:"justify-start",end:"justify-end",center:"justify-center",between:"justify-between",around:"justify-around",evenly:"justify-evenly"},p=l.computed(()=>Object.values(r.value).every(_=>_));l.watch(()=>n.items,_=>{r.value={},_?.forEach(S=>r.value[S.id]=!1),d.value?.scrollTop()});function g(_,S){_&&(c.value.some(E=>E.id===S)||c.value.push({element:_,id:S}))}function v(_,S){_&&(h.value.some(E=>E.id===S)||h.value.push({element:_,id:S}))}function y(){const _=Object.values(r.value).every(S=>S);Object.keys(r.value).forEach(S=>r.value[S]=!_),e("selectionChanged",r.value)}function x(_,S){r.value[_]=S,e("selectionChanged",r.value)}function T(_,S){i.value=_.id;const w=h.value.find(A=>A.id===S),E=c.value.find(A=>A.id===S);w&&E&&l.nextTick(()=>{s.value=Ji(w.element,E.element,{placement:"bottom",onFirstUpdate:()=>s.value?.update(),modifiers:[{name:"offset",options:{offset:[-15,15]}}]})})}async function k(_){typeof n.itemActionBuilder=="function"&&(m.value=await n.itemActionBuilder(_))}function b(){i.value=void 0,s.value?.destroy()}function C(_){a.value=_}function $(_){e("headerClick",_)}return(_,S)=>{const w=l.resolveComponent("VcButton");return l.openBlock(),l.createElementBlock("div",hR,[(_.$slots.header||t.header)&&(t.items&&t.items.length||t.searchValue||t.searchValue===""||t.activeFilterCount)?l.renderSlot(_.$slots,"header",{key:0},()=>[l.createElementVNode("div",dR,[_.$isMobile.value&&_.$slots.filters?(l.openBlock(),l.createElementBlock("div",fR,[l.createVNode(Bh,{counter:t.activeFilterCount},{default:l.withCtx(({closePanel:E})=>[l.renderSlot(_.$slots,"filters",{closePanel:E})]),_:3},8,["counter"])])):l.createCommentVNode("",!0),l.createVNode(l.unref(xi),{class:"tw-grow tw-basis-0",placeholder:t.searchPlaceholder,clearable:"",name:"table_search",modelValue:t.searchValue,"onUpdate:modelValue":S[0]||(S[0]=E=>_.$emit("search:change",E))},null,8,["placeholder","modelValue"]),_.$isDesktop.value&&_.$slots.filters?(l.openBlock(),l.createElementBlock("div",mR,[l.createVNode(Bh,{title:_.$t("Filters"),counter:t.activeFilterCount,parentExpanded:t.expanded},{default:l.withCtx(({closePanel:E})=>[l.renderSlot(_.$slots,"filters",{closePanel:E})]),_:3},8,["title","counter","parentExpanded"])])):l.createCommentVNode("",!0)])]):l.createCommentVNode("",!0),l.createElementVNode("div",pR,[l.createVNode(l.unref(Dl),{active:t.loading},null,8,["active"]),t.items&&t.items.length?(l.openBlock(),l.createBlock(l.unref(jr),{key:0,ref_key:"scrollContainer",ref:d,noPadding:!0,class:"tw-grow tw-basis-0",usePtr:!!_.$attrs["onScroll:ptr"],"onScroll:ptr":S[3]||(S[3]=E=>_.$emit("scroll:ptr"))},{default:l.withCtx(()=>[_.$isMobile.value&&_.$slots["mobile-item"]?(l.openBlock(),l.createElementBlock("div",gR,[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(t.items,E=>(l.openBlock(),l.createBlock(n$,{key:E.id,item:E,actionBuilder:t.itemActionBuilder,onClick:A=>_.$emit("itemClick",E),onSwipeStart:C,swipingItem:a.value},{default:l.withCtx(()=>[l.renderSlot(_.$slots,"mobile-item",{item:E})]),_:2},1032,["item","actionBuilder","onClick","swipingItem"]))),128))])):(l.openBlock(),l.createElementBlock("table",{key:1,class:l.normalizeClass(["[border-spacing:0] tw-border-collapse tw-relative tw-pt-[43px] tw-table-fixed tw-box-border tw-w-full",{"vc-table_empty":!t.items||!t.items.length,"vc-table_multiselect":t.multiselect}])},[t.columns?(l.openBlock(),l.createElementBlock("thead",vR,[l.createElementVNode("tr",wR,[t.multiselect?(l.openBlock(),l.createElementBlock("th",yR,[l.createElementVNode("div",bR,[l.createVNode(l.unref(Vs),{modelValue:l.unref(p),"onUpdate:modelValue":y,onClick:S[1]||(S[1]=l.withModifiers(()=>{},["stop"]))},null,8,["modelValue"])])])):l.createCommentVNode("",!0),(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(t.columns,E=>(l.openBlock(),l.createElementBlock("th",{key:E.id,class:l.normalizeClass(["tw-h-[42px] tw-bg-[#f9f9f9] !tw-border-0 tw-shadow-[inset_0px_1px_0px_#eaedf3,_inset_0px_-1px_0px_#eaedf3] tw-box-border sticky tw-top-0 tw-select-none tw-overflow-hidden tw-z-[1] tw-px-3",{"tw-cursor-pointer tw-group":E.sortable}]),width:E.width,onClick:A=>$(E)},[l.createElementVNode("div",{class:l.normalizeClass(["tw-flex tw-items-center tw-flex-nowrap",f[E.align]])},[l.createElementVNode("div",null,[l.renderSlot(_.$slots,`header_${E.id}`,{},()=>[l.createTextVNode(l.toDisplayString(E.title),1)])]),l.unref(u)===E.id?(l.openBlock(),l.createElementBlock("div",xR,[l.createVNode(l.unref(Se),{size:"xs",icon:`fas fa-caret-${l.unref(o)==="DESC"?"down":"up"}`},null,8,["icon"])])):(l.openBlock(),l.createElementBlock("div",kR,[l.createVNode(l.unref(Se),{size:"xs",icon:"fas fa-caret-up"}),l.createVNode(l.unref(Se),{size:"xs",icon:"fas fa-caret-down"})]))],2)],10,SR))),128)),t.itemActionBuilder?(l.openBlock(),l.createElementBlock("th",CR)):l.createCommentVNode("",!0)])])):l.createCommentVNode("",!0),t.items?(l.openBlock(),l.createElementBlock("tbody",ER,[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(t.items,(E,A)=>(l.openBlock(),l.createElementBlock("tr",{key:E.id,class:l.normalizeClass(["vc-table__body-row tw-h-[60px] tw-bg-white hover:tw-bg-[#dfeef9]",{"tw-cursor-pointer hover:tw-bg-[#dfeef9]":t.onItemClick,"tw-bg-[#f8f8f8]":A%2===1,"!tw-bg-[#dfeef9] hover:tw-bg-[#dfeef9]":E&&E.id?t.selectedItemId===E.id:!1}]),onClick:O=>_.$emit("itemClick",E),onMouseover:O=>k(E),onMouseleave:b},[t.multiselect?(l.openBlock(),l.createElementBlock("td",TR,[l.createElementVNode("div",AR,[l.createVNode(l.unref(Vs),{modelValue:r.value[E.id],"onUpdate:modelValue":O=>x(E.id,O),onClick:S[2]||(S[2]=l.withModifiers(()=>{},["stop"]))},null,8,["modelValue","onUpdate:modelValue"])])])):l.createCommentVNode("",!0),(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(t.columns,O=>(l.openBlock(),l.createElementBlock("td",{key:`${E.id}_${O.id}`,class:l.normalizeClass(["tw-box-border tw-overflow-hidden tw-px-3",O.class]),width:O.width},[l.renderSlot(_.$slots,`item_${O.id}`,{item:E,cell:O},()=>[l.createVNode(uR,{cell:O,item:E},null,8,["cell","item"])])],10,$R))),128)),t.itemActionBuilder?(l.openBlock(),l.createElementBlock("td",OR,[l.createElementVNode("div",LR,[l.createElementVNode("button",{class:"tw-text-[#319ed4] tw-cursor-pointer tw-border-none tw-bg-transparent disabled:tw-text-[gray]",onClick:l.withModifiers(O=>T(E,E.id),["stop"]),ref_for:!0,ref:O=>v(O,E.id),"aria-describedby":"tooltip",disabled:!(m.value&&m.value.length)},[l.createVNode(l.unref(Se),{icon:"fas fa-cog",size:"m"})],8,MR),l.withDirectives(l.createElementVNode("div",{class:"vc-table__body-tooltip tw-bg-white tw-rounded-l-[4px] tw-p-[15px] tw-z-0 tw-absolute tw-right-0 tw-drop-shadow-[1px_3px_14px_rgba(111,122,131,0.25)]",onMouseleave:b,ref_for:!0,ref:O=>g(O,E.id),role:"tooltip"},[l.createElementVNode("div",RR,[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(m.value,(O,L)=>(l.openBlock(),l.createElementBlock("div",{key:L,class:l.normalizeClass(["tw-flex tw-flex-row tw-items-center tw-text-[#319ed4] tw-cursor-pointer",`vc-table__body-actions-item_${O.variant}`]),onClick:l.withModifiers(M=>O.clickHandler(E),["stop"])},[l.createVNode(l.unref(Se),{icon:O.icon,size:"m"},null,8,["icon"]),l.createElementVNode("div",IR,l.toDisplayString(O.title),1)],10,NR))),128))]),DR],544),[[l.vShow,i.value===E.id]])])])):l.createCommentVNode("",!0)],42,_R))),128))])):l.createCommentVNode("",!0)],2))]),_:3},8,["usePtr"])):(l.openBlock(),l.createElementBlock(l.Fragment,{key:1},[t.searchValue||t.searchValue===""||t.activeFilterCount?l.renderSlot(_.$slots,"notfound",{key:0},()=>[t.notfound?(l.openBlock(),l.createElementBlock("div",PR,[t.notfound.image?(l.openBlock(),l.createElementBlock("img",{key:0,src:t.notfound.image},null,8,BR)):l.createCommentVNode("",!0),l.createElementVNode("div",FR,l.toDisplayString(t.notfound.text),1),t.notfound.action?(l.openBlock(),l.createBlock(w,{key:1,onClick:t.notfound.clickHandler},{default:l.withCtx(()=>[l.createTextVNode(l.toDisplayString(t.notfound.action),1)]),_:1},8,["onClick"])):l.createCommentVNode("",!0)])):l.createCommentVNode("",!0)]):l.renderSlot(_.$slots,"empty",{key:1},()=>[t.empty?(l.openBlock(),l.createElementBlock("div",VR,[t.empty.image?(l.openBlock(),l.createElementBlock("img",{key:0,src:t.empty.image},null,8,UR)):l.createCommentVNode("",!0),l.createElementVNode("div",WR,l.toDisplayString(t.empty.text),1),t.empty.action?(l.openBlock(),l.createBlock(w,{key:1,onClick:t.empty.clickHandler},{default:l.withCtx(()=>[l.createTextVNode(l.toDisplayString(t.empty.action),1)]),_:1},8,["onClick"])):l.createCommentVNode("",!0)])):l.createCommentVNode("",!0)])],64))]),(_.$slots.footer||t.footer)&&t.items&&t.items.length?l.renderSlot(_.$slots,"footer",{key:1},()=>[l.createElementVNode("div",HR,[l.createVNode(l.unref($c),{expanded:t.expanded,pages:t.pages,currentPage:t.currentPage,onItemClick:S[4]||(S[4]=E=>_.$emit("paginationClick",E))},null,8,["expanded","pages","currentPage"]),l.createVNode(DA,{label:t.totalLabel,value:t.totalCount},null,8,["label","value"])])]):l.createCommentVNode("",!0)])}}});const jR=Object.freeze(Object.defineProperty({__proto__:null,VcBadge:od,VcButton:ad,VcCard:ld,VcCheckbox:Vs,VcCol:Us,VcContainer:jr,VcHint:cd,VcIcon:Se,VcInfoRow:ud,VcImage:oo,VcLabel:Gn,VcLink:Il,VcLoading:Dl,VcProgress:hd,VcRow:Pl,VcStatus:Bl,VcStatusIcon:Fl,VcSwitch:dd,VcWidget:fd,VcBreadcrumbs:md,VcEditor:Sd,VcForm:Vl,VcFileUpload:Ul,VcInput:xi,VcInputCurrency:Ed,VcMultivalue:Ff,VcNotification:Vf,VcPagination:$c,VcRating:Uf,VcSelect:jf,VcSlider:tm,VcTextarea:Rc,VcApp:nm,VcBlade:Nc,VcDynamicProperty:rm,VcGallery:im,VcLoginForm:sm,VcPopup:Ic,VcTable:qm},Symbol.toStringTag,{value:"Module"}));function jh(t){return t.type.indexOf("mouse")!==-1?t.clientX:t.touches[0].clientX}function zh(t){return t.type.indexOf("mouse")!==-1?t.clientY:t.touches[0].clientY}var zR=function(){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("test",null,e)}catch{}return t}(),GR={install:function(t,e){var n=Object.assign({},{disableClick:!1,tapTolerance:10,swipeTolerance:30,touchHoldTolerance:400,longTapTimeInterval:400,touchClass:"",dragFrequency:100,rollOverFrequency:100},e);function r(g){var v=this.$$touchObj,y=g.type.indexOf("touch")>=0,x=g.type.indexOf("mouse")>=0,T=this;y&&(v.lastTouchStartTime=g.timeStamp),!(x&&v.lastTouchStartTime&&g.timeStamp-v.lastTouchStartTime<350)&&(v.touchStarted||(o(this),v.touchStarted=!0,v.touchMoved=!1,v.swipeOutBounded=!1,v.startX=jh(g),v.startY=zh(g),v.currentX=0,v.currentY=0,v.touchStartTime=g.timeStamp,v.hasSwipe=m(this,"swipe")||m(this,"swipe.left")||m(this,"swipe.right")||m(this,"swipe.top")||m(this,"swipe.bottom"),m(this,"hold")&&(v.touchHoldTimer=setTimeout(function(){v.touchHoldTimer=null,a(g,T,"hold")},v.options.touchHoldTolerance)),a(g,this,"press")))}function i(g){var v=this.$$touchObj,y=jh(g),x=zh(g),T=v.currentX!=y||v.currentY!=x;if(v.currentX=y,v.currentY=x,v.touchMoved){if(v.hasSwipe&&!v.swipeOutBounded){var b=v.options.swipeTolerance;v.swipeOutBounded=Math.abs(v.startX-v.currentX)>b&&Math.abs(v.startY-v.currentY)>b}}else{var k=v.options.tapTolerance;v.touchMoved=Math.abs(v.startX-v.currentX)>k||Math.abs(v.startY-v.currentY)>k,v.touchMoved&&(f(v),a(g,this,"drag.once"))}if(m(this,"rollover")&&T){var C=g.timeStamp,$=v.options.rollOverFrequency;(v.touchRollTime==null||C>v.touchRollTime+$)&&(v.touchRollTime=C,a(g,this,"rollover"))}if(m(this,"drag")&&v.touchStarted&&v.touchMoved&&T){var C=g.timeStamp,$=v.options.dragFrequency;(v.touchDragTime==null||C>v.touchDragTime+$)&&(v.touchDragTime=C,a(g,this,"drag"))}}function s(){var g=this.$$touchObj;f(g),u(this),g.touchStarted=g.touchMoved=!1,g.startX=g.startY=0}function d(g){var v=this.$$touchObj,y=g.type.indexOf("touch")>=0,x=g.type.indexOf("mouse")>=0;y&&(v.lastTouchEndTime=g.timeStamp);var T=y&&!v.touchHoldTimer;if(f(v),v.touchStarted=!1,u(this),!(x&&v.lastTouchEndTime&&g.timeStamp-v.lastTouchEndTime<350))if(a(g,this,"release"),v.touchMoved){if(v.hasSwipe&&!v.swipeOutBounded){var k=v.options.swipeTolerance,b,C=Math.abs(v.startY-v.currentY),$=Math.abs(v.startX-v.currentX);(C>k||$>k)&&(C>k?b=v.startY>v.currentY?"top":"bottom":b=v.startX>v.currentX?"left":"right",m(this,"swipe."+b)?a(g,this,"swipe."+b,b):a(g,this,"swipe",b))}}else if(m(this,"longtap")&&g.timeStamp-v.touchStartTime>v.options.longTapTimeInterval)g.cancelable&&g.preventDefault(),a(g,this,"longtap");else if(m(this,"hold")&&T){g.cancelable&&g.preventDefault();return}else a(g,this,"tap")}function h(){o(this)}function c(){u(this)}function m(g,v){var y=g.$$touchObj.callbacks[v];return y!=null&&y.length>0}function a(g,v,y,x){var T=v.$$touchObj,k=T.callbacks[y];if(k==null||k.length===0)return null;for(var b=0;b<k.length;b++){var C=k[b];C.modifiers.stop&&g.stopPropagation(),C.modifiers.prevent&&g.preventDefault(),!(C.modifiers.self&&g.target!==g.currentTarget)&&typeof C.value=="function"&&(x?C.value(x,g):C.value(g))}}function o(g){var v=g.$$touchObj.options.touchClass;v&&g.classList.add(v)}function u(g){var v=g.$$touchObj.options.touchClass;v&&g.classList.remove(v)}function f(g){g.touchHoldTimer&&(clearTimeout(g.touchHoldTimer),g.touchHoldTimer=null)}function p(g,v){var y=g.$$touchObj||{callbacks:{},hasBindTouchEvents:!1,options:n};return v&&(y.options=Object.assign({},y.options,v)),g.$$touchObj=y,g.$$touchObj}t.directive("touch",{beforeMount:function(g,v){var y=p(g),x=zR?{passive:!0}:!1,T=v.arg||"tap";switch(T){case"swipe":var k=v.modifiers;if(k.left||k.right||k.top||k.bottom){for(var b in v.modifiers)if(["left","right","top","bottom"].indexOf(b)>=0){var C="swipe."+b;y.callbacks[C]=y.callbacks[C]||[],y.callbacks[C].push(v)}}else y.callbacks.swipe=y.callbacks.swipe||[],y.callbacks.swipe.push(v);break;case"press":case"drag":v.modifiers.disablePassive&&(x=!1);default:y.callbacks[T]=y.callbacks[T]||[],y.callbacks[T].push(v)}y.hasBindTouchEvents||(g.addEventListener("touchstart",r,x),g.addEventListener("touchmove",i,x),g.addEventListener("touchcancel",s),g.addEventListener("touchend",d),y.options.disableClick||(g.addEventListener("mousedown",r),g.addEventListener("mousemove",i),g.addEventListener("mouseup",d),g.addEventListener("mouseenter",h),g.addEventListener("mouseleave",c)),y.hasBindTouchEvents=!0)},unmounted:function(g){g.removeEventListener("touchstart",r),g.removeEventListener("touchmove",i),g.removeEventListener("touchcancel",s),g.removeEventListener("touchend",d),g.$$touchObj&&!g.$$touchObj.options.disableClick&&(g.removeEventListener("mousedown",r),g.removeEventListener("mousemove",i),g.removeEventListener("mouseup",d),g.removeEventListener("mouseenter",h),g.removeEventListener("mouseleave",c)),delete g.$$touchObj}}),t.directive("touch-class",{beforeMount:function(g,v){p(g,{touchClass:v.value})}}),t.directive("touch-options",{beforeMount:function(g,v){p(g,v.value)}})}};/**!
|
|
1097
1097
|
* Sortable 1.14.0
|
|
1098
1098
|
* @author RubaXa <trash@rubaxa.org>
|
|
1099
1099
|
* @author owenm <owen23355@gmail.com>
|
|
1100
1100
|
* @license MIT
|
|
1101
|
-
*/function Gh(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),n.push.apply(n,r)}return n}function rn(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?Gh(Object(n),!0).forEach(function(r){JR(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Gh(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}function Is(t){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Is=function(e){return typeof e}:Is=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Is(t)}function JR(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function kn(){return kn=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},kn.apply(this,arguments)}function KR(t,e){if(t==null)return{};var n={},r=Object.keys(t),i,s;for(s=0;s<r.length;s++)i=r[s],!(e.indexOf(i)>=0)&&(n[i]=t[i]);return n}function XR(t,e){if(t==null)return{};var n=KR(t,e),r,i;if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);for(i=0;i<s.length;i++)r=s[i],!(e.indexOf(r)>=0)&&(!Object.prototype.propertyIsEnumerable.call(t,r)||(n[r]=t[r]))}return n}var qR="1.14.0";function Sn(t){if(typeof window<"u"&&window.navigator)return!!navigator.userAgent.match(t)}var $n=Sn(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),ps=Sn(/Edge/i),Yh=Sn(/firefox/i),gi=Sn(/safari/i)&&!Sn(/chrome/i)&&!Sn(/android/i),Qm=Sn(/iP(ad|od|hone)/i),QR=Sn(/chrome/i)&&Sn(/android/i),Zm={capture:!1,passive:!1};function Me(t,e,n){t.addEventListener(e,n,!$n&&Zm)}function Ae(t,e,n){t.removeEventListener(e,n,!$n&&Zm)}function eo(t,e){if(!!e){if(e[0]===">"&&(e=e.substring(1)),t)try{if(t.matches)return t.matches(e);if(t.msMatchesSelector)return t.msMatchesSelector(e);if(t.webkitMatchesSelector)return t.webkitMatchesSelector(e)}catch{return!1}return!1}}function ZR(t){return t.host&&t!==document&&t.host.nodeType?t.host:t.parentNode}function Xt(t,e,n,r){if(t){n=n||document;do{if(e!=null&&(e[0]===">"?t.parentNode===n&&eo(t,e):eo(t,e))||r&&t===n)return t;if(t===n)break}while(t=ZR(t))}return null}var Jh=/\s+/g;function St(t,e,n){if(t&&e)if(t.classList)t.classList[n?"add":"remove"](e);else{var r=(" "+t.className+" ").replace(Jh," ").replace(" "+e+" "," ");t.className=(r+(n?" "+e:"")).replace(Jh," ")}}function pe(t,e,n){var r=t&&t.style;if(r){if(n===void 0)return document.defaultView&&document.defaultView.getComputedStyle?n=document.defaultView.getComputedStyle(t,""):t.currentStyle&&(n=t.currentStyle),e===void 0?n:n[e];!(e in r)&&e.indexOf("webkit")===-1&&(e="-webkit-"+e),r[e]=n+(typeof n=="string"?"":"px")}}function Rr(t,e){var n="";if(typeof t=="string")n=t;else do{var r=pe(t,"transform");r&&r!=="none"&&(n=r+" "+n)}while(!e&&(t=t.parentNode));var i=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return i&&new i(n)}function ep(t,e,n){if(t){var r=t.getElementsByTagName(e),i=0,s=r.length;if(n)for(;i<s;i++)n(r[i],i);return r}return[]}function Zt(){var t=document.scrollingElement;return t||document.documentElement}function Ze(t,e,n,r,i){if(!(!t.getBoundingClientRect&&t!==window)){var s,d,h,c,m,a,o;if(t!==window&&t.parentNode&&t!==Zt()?(s=t.getBoundingClientRect(),d=s.top,h=s.left,c=s.bottom,m=s.right,a=s.height,o=s.width):(d=0,h=0,c=window.innerHeight,m=window.innerWidth,a=window.innerHeight,o=window.innerWidth),(e||n)&&t!==window&&(i=i||t.parentNode,!$n))do if(i&&i.getBoundingClientRect&&(pe(i,"transform")!=="none"||n&&pe(i,"position")!=="static")){var u=i.getBoundingClientRect();d-=u.top+parseInt(pe(i,"border-top-width")),h-=u.left+parseInt(pe(i,"border-left-width")),c=d+s.height,m=h+s.width;break}while(i=i.parentNode);if(r&&t!==window){var f=Rr(i||t),p=f&&f.a,g=f&&f.d;f&&(d/=g,h/=p,o/=p,a/=g,c=d+a,m=h+o)}return{top:d,left:h,bottom:c,right:m,width:o,height:a}}}function Kh(t,e,n){for(var r=Vn(t,!0),i=Ze(t)[e];r;){var s=Ze(r)[n],d=void 0;if(n==="top"||n==="left"?d=i>=s:d=i<=s,!d)return r;if(r===Zt())break;r=Vn(r,!1)}return!1}function Hr(t,e,n,r){for(var i=0,s=0,d=t.children;s<d.length;){if(d[s].style.display!=="none"&&d[s]!==ge.ghost&&(r||d[s]!==ge.dragged)&&Xt(d[s],n.draggable,t,!1)){if(i===e)return d[s];i++}s++}return null}function nu(t,e){for(var n=t.lastElementChild;n&&(n===ge.ghost||pe(n,"display")==="none"||e&&!eo(n,e));)n=n.previousElementSibling;return n||null}function Mt(t,e){var n=0;if(!t||!t.parentNode)return-1;for(;t=t.previousElementSibling;)t.nodeName.toUpperCase()!=="TEMPLATE"&&t!==ge.clone&&(!e||eo(t,e))&&n++;return n}function Xh(t){var e=0,n=0,r=Zt();if(t)do{var i=Rr(t),s=i.a,d=i.d;e+=t.scrollLeft*s,n+=t.scrollTop*d}while(t!==r&&(t=t.parentNode));return[e,n]}function eN(t,e){for(var n in t)if(!!t.hasOwnProperty(n)){for(var r in e)if(e.hasOwnProperty(r)&&e[r]===t[n][r])return Number(n)}return-1}function Vn(t,e){if(!t||!t.getBoundingClientRect)return Zt();var n=t,r=!1;do if(n.clientWidth<n.scrollWidth||n.clientHeight<n.scrollHeight){var i=pe(n);if(n.clientWidth<n.scrollWidth&&(i.overflowX=="auto"||i.overflowX=="scroll")||n.clientHeight<n.scrollHeight&&(i.overflowY=="auto"||i.overflowY=="scroll")){if(!n.getBoundingClientRect||n===document.body)return Zt();if(r||e)return n;r=!0}}while(n=n.parentNode);return Zt()}function tN(t,e){if(t&&e)for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}function Ra(t,e){return Math.round(t.top)===Math.round(e.top)&&Math.round(t.left)===Math.round(e.left)&&Math.round(t.height)===Math.round(e.height)&&Math.round(t.width)===Math.round(e.width)}var vi;function tp(t,e){return function(){if(!vi){var n=arguments,r=this;n.length===1?t.call(r,n[0]):t.apply(r,n),vi=setTimeout(function(){vi=void 0},e)}}}function nN(){clearTimeout(vi),vi=void 0}function np(t,e,n){t.scrollLeft+=e,t.scrollTop+=n}function rp(t){var e=window.Polymer,n=window.jQuery||window.Zepto;return e&&e.dom?e.dom(t).cloneNode(!0):n?n(t).clone(!0)[0]:t.cloneNode(!0)}var Et="Sortable"+new Date().getTime();function rN(){var t=[],e;return{captureAnimationState:function(){if(t=[],!!this.options.animation){var r=[].slice.call(this.el.children);r.forEach(function(i){if(!(pe(i,"display")==="none"||i===ge.ghost)){t.push({target:i,rect:Ze(i)});var s=rn({},t[t.length-1].rect);if(i.thisAnimationDuration){var d=Rr(i,!0);d&&(s.top-=d.f,s.left-=d.e)}i.fromRect=s}})}},addAnimationState:function(r){t.push(r)},removeAnimationState:function(r){t.splice(eN(t,{target:r}),1)},animateAll:function(r){var i=this;if(!this.options.animation){clearTimeout(e),typeof r=="function"&&r();return}var s=!1,d=0;t.forEach(function(h){var c=0,m=h.target,a=m.fromRect,o=Ze(m),u=m.prevFromRect,f=m.prevToRect,p=h.rect,g=Rr(m,!0);g&&(o.top-=g.f,o.left-=g.e),m.toRect=o,m.thisAnimationDuration&&Ra(u,o)&&!Ra(a,o)&&(p.top-o.top)/(p.left-o.left)===(a.top-o.top)/(a.left-o.left)&&(c=sN(p,u,f,i.options)),Ra(o,a)||(m.prevFromRect=a,m.prevToRect=o,c||(c=i.options.animation),i.animate(m,p,o,c)),c&&(s=!0,d=Math.max(d,c),clearTimeout(m.animationResetTimer),m.animationResetTimer=setTimeout(function(){m.animationTime=0,m.prevFromRect=null,m.fromRect=null,m.prevToRect=null,m.thisAnimationDuration=null},c),m.thisAnimationDuration=c)}),clearTimeout(e),s?e=setTimeout(function(){typeof r=="function"&&r()},d):typeof r=="function"&&r(),t=[]},animate:function(r,i,s,d){if(d){pe(r,"transition",""),pe(r,"transform","");var h=Rr(this.el),c=h&&h.a,m=h&&h.d,a=(i.left-s.left)/(c||1),o=(i.top-s.top)/(m||1);r.animatingX=!!a,r.animatingY=!!o,pe(r,"transform","translate3d("+a+"px,"+o+"px,0)"),this.forRepaintDummy=iN(r),pe(r,"transition","transform "+d+"ms"+(this.options.easing?" "+this.options.easing:"")),pe(r,"transform","translate3d(0,0,0)"),typeof r.animated=="number"&&clearTimeout(r.animated),r.animated=setTimeout(function(){pe(r,"transition",""),pe(r,"transform",""),r.animated=!1,r.animatingX=!1,r.animatingY=!1},d)}}}}function iN(t){return t.offsetWidth}function sN(t,e,n,r){return Math.sqrt(Math.pow(e.top-t.top,2)+Math.pow(e.left-t.left,2))/Math.sqrt(Math.pow(e.top-n.top,2)+Math.pow(e.left-n.left,2))*r.animation}var xr=[],Na={initializeByDefault:!0},gs={mount:function(e){for(var n in Na)Na.hasOwnProperty(n)&&!(n in e)&&(e[n]=Na[n]);xr.forEach(function(r){if(r.pluginName===e.pluginName)throw"Sortable: Cannot mount plugin ".concat(e.pluginName," more than once")}),xr.push(e)},pluginEvent:function(e,n,r){var i=this;this.eventCanceled=!1,r.cancel=function(){i.eventCanceled=!0};var s=e+"Global";xr.forEach(function(d){!n[d.pluginName]||(n[d.pluginName][s]&&n[d.pluginName][s](rn({sortable:n},r)),n.options[d.pluginName]&&n[d.pluginName][e]&&n[d.pluginName][e](rn({sortable:n},r)))})},initializePlugins:function(e,n,r,i){xr.forEach(function(h){var c=h.pluginName;if(!(!e.options[c]&&!h.initializeByDefault)){var m=new h(e,n,e.options);m.sortable=e,m.options=e.options,e[c]=m,kn(r,m.defaults)}});for(var s in e.options)if(!!e.options.hasOwnProperty(s)){var d=this.modifyOption(e,s,e.options[s]);typeof d<"u"&&(e.options[s]=d)}},getEventProperties:function(e,n){var r={};return xr.forEach(function(i){typeof i.eventProperties=="function"&&kn(r,i.eventProperties.call(n[i.pluginName],e))}),r},modifyOption:function(e,n,r){var i;return xr.forEach(function(s){!e[s.pluginName]||s.optionListeners&&typeof s.optionListeners[n]=="function"&&(i=s.optionListeners[n].call(e[s.pluginName],r))}),i}};function oN(t){var e=t.sortable,n=t.rootEl,r=t.name,i=t.targetEl,s=t.cloneEl,d=t.toEl,h=t.fromEl,c=t.oldIndex,m=t.newIndex,a=t.oldDraggableIndex,o=t.newDraggableIndex,u=t.originalEvent,f=t.putSortable,p=t.extraEventProperties;if(e=e||n&&n[Et],!!e){var g,v=e.options,y="on"+r.charAt(0).toUpperCase()+r.substr(1);window.CustomEvent&&!$n&&!ps?g=new CustomEvent(r,{bubbles:!0,cancelable:!0}):(g=document.createEvent("Event"),g.initEvent(r,!0,!0)),g.to=d||n,g.from=h||n,g.item=i||n,g.clone=s,g.oldIndex=c,g.newIndex=m,g.oldDraggableIndex=a,g.newDraggableIndex=o,g.originalEvent=u,g.pullMode=f?f.lastPutMode:void 0;var x=rn(rn({},p),gs.getEventProperties(r,e));for(var T in x)g[T]=x[T];n&&n.dispatchEvent(g),v[y]&&v[y].call(e,g)}}var aN=["evt"],pt=function(e,n){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i=r.evt,s=XR(r,aN);gs.pluginEvent.bind(ge)(e,n,rn({dragEl:ie,parentEl:je,ghostEl:be,rootEl:Ue,nextEl:tr,lastDownEl:Ds,cloneEl:ze,cloneHidden:In,dragStarted:oi,putSortable:st,activeSortable:ge.active,originalEvent:i,oldIndex:Ar,oldDraggableIndex:wi,newIndex:xt,newDraggableIndex:Nn,hideGhostForTarget:ap,unhideGhostForTarget:lp,cloneNowHidden:function(){In=!0},cloneNowShown:function(){In=!1},dispatchSortableEvent:function(h){dt({sortable:n,name:h,originalEvent:i})}},s))};function dt(t){oN(rn({putSortable:st,cloneEl:ze,targetEl:ie,rootEl:Ue,oldIndex:Ar,oldDraggableIndex:wi,newIndex:xt,newDraggableIndex:Nn},t))}var ie,je,be,Ue,tr,Ds,ze,In,Ar,xt,wi,Nn,Cs,st,Er=!1,to=!1,no=[],Qn,Ut,Ia,Da,qh,Qh,oi,kr,yi,bi=!1,Es=!1,Ps,lt,Pa=[],Ol=!1,ro=[],ua=typeof document<"u",_s=Qm,Zh=ps||$n?"cssFloat":"float",lN=ua&&!QR&&!Qm&&"draggable"in document.createElement("div"),ip=function(){if(!!ua){if($n)return!1;var t=document.createElement("x");return t.style.cssText="pointer-events:auto",t.style.pointerEvents==="auto"}}(),sp=function(e,n){var r=pe(e),i=parseInt(r.width)-parseInt(r.paddingLeft)-parseInt(r.paddingRight)-parseInt(r.borderLeftWidth)-parseInt(r.borderRightWidth),s=Hr(e,0,n),d=Hr(e,1,n),h=s&&pe(s),c=d&&pe(d),m=h&&parseInt(h.marginLeft)+parseInt(h.marginRight)+Ze(s).width,a=c&&parseInt(c.marginLeft)+parseInt(c.marginRight)+Ze(d).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(s&&h.float&&h.float!=="none"){var o=h.float==="left"?"left":"right";return d&&(c.clear==="both"||c.clear===o)?"vertical":"horizontal"}return s&&(h.display==="block"||h.display==="flex"||h.display==="table"||h.display==="grid"||m>=i&&r[Zh]==="none"||d&&r[Zh]==="none"&&m+a>i)?"vertical":"horizontal"},cN=function(e,n,r){var i=r?e.left:e.top,s=r?e.right:e.bottom,d=r?e.width:e.height,h=r?n.left:n.top,c=r?n.right:n.bottom,m=r?n.width:n.height;return i===h||s===c||i+d/2===h+m/2},uN=function(e,n){var r;return no.some(function(i){var s=i[Et].options.emptyInsertThreshold;if(!(!s||nu(i))){var d=Ze(i),h=e>=d.left-s&&e<=d.right+s,c=n>=d.top-s&&n<=d.bottom+s;if(h&&c)return r=i}}),r},op=function(e){function n(s,d){return function(h,c,m,a){var o=h.options.group.name&&c.options.group.name&&h.options.group.name===c.options.group.name;if(s==null&&(d||o))return!0;if(s==null||s===!1)return!1;if(d&&s==="clone")return s;if(typeof s=="function")return n(s(h,c,m,a),d)(h,c,m,a);var u=(d?h:c).options.group.name;return s===!0||typeof s=="string"&&s===u||s.join&&s.indexOf(u)>-1}}var r={},i=e.group;(!i||Is(i)!="object")&&(i={name:i}),r.name=i.name,r.checkPull=n(i.pull,!0),r.checkPut=n(i.put),r.revertClone=i.revertClone,e.group=r},ap=function(){!ip&&be&&pe(be,"display","none")},lp=function(){!ip&&be&&pe(be,"display","")};ua&&document.addEventListener("click",function(t){if(to)return t.preventDefault(),t.stopPropagation&&t.stopPropagation(),t.stopImmediatePropagation&&t.stopImmediatePropagation(),to=!1,!1},!0);var Zn=function(e){if(ie){e=e.touches?e.touches[0]:e;var n=uN(e.clientX,e.clientY);if(n){var r={};for(var i in e)e.hasOwnProperty(i)&&(r[i]=e[i]);r.target=r.rootEl=n,r.preventDefault=void 0,r.stopPropagation=void 0,n[Et]._onDragOver(r)}}},hN=function(e){ie&&ie.parentNode[Et]._isOutsideThisEl(e.target)};function ge(t,e){if(!(t&&t.nodeType&&t.nodeType===1))throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(t));this.el=t,this.options=e=kn({},e),t[Et]=this;var n={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(t.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return sp(t,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(d,h){d.setData("Text",h.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:ge.supportPointer!==!1&&"PointerEvent"in window&&!gi,emptyInsertThreshold:5};gs.initializePlugins(this,t,n);for(var r in n)!(r in e)&&(e[r]=n[r]);op(e);for(var i in this)i.charAt(0)==="_"&&typeof this[i]=="function"&&(this[i]=this[i].bind(this));this.nativeDraggable=e.forceFallback?!1:lN,this.nativeDraggable&&(this.options.touchStartThreshold=1),e.supportPointer?Me(t,"pointerdown",this._onTapStart):(Me(t,"mousedown",this._onTapStart),Me(t,"touchstart",this._onTapStart)),this.nativeDraggable&&(Me(t,"dragover",this),Me(t,"dragenter",this)),no.push(this.el),e.store&&e.store.get&&this.sort(e.store.get(this)||[]),kn(this,rN())}ge.prototype={constructor:ge,_isOutsideThisEl:function(e){!this.el.contains(e)&&e!==this.el&&(kr=null)},_getDirection:function(e,n){return typeof this.options.direction=="function"?this.options.direction.call(this,e,n,ie):this.options.direction},_onTapStart:function(e){if(!!e.cancelable){var n=this,r=this.el,i=this.options,s=i.preventOnFilter,d=e.type,h=e.touches&&e.touches[0]||e.pointerType&&e.pointerType==="touch"&&e,c=(h||e).target,m=e.target.shadowRoot&&(e.path&&e.path[0]||e.composedPath&&e.composedPath()[0])||c,a=i.filter;if(yN(r),!ie&&!(/mousedown|pointerdown/.test(d)&&e.button!==0||i.disabled)&&!m.isContentEditable&&!(!this.nativeDraggable&&gi&&c&&c.tagName.toUpperCase()==="SELECT")&&(c=Xt(c,i.draggable,r,!1),!(c&&c.animated)&&Ds!==c)){if(Ar=Mt(c),wi=Mt(c,i.draggable),typeof a=="function"){if(a.call(this,e,c,this)){dt({sortable:n,rootEl:m,name:"filter",targetEl:c,toEl:r,fromEl:r}),pt("filter",n,{evt:e}),s&&e.cancelable&&e.preventDefault();return}}else if(a&&(a=a.split(",").some(function(o){if(o=Xt(m,o.trim(),r,!1),o)return dt({sortable:n,rootEl:o,name:"filter",targetEl:c,fromEl:r,toEl:r}),pt("filter",n,{evt:e}),!0}),a)){s&&e.cancelable&&e.preventDefault();return}i.handle&&!Xt(m,i.handle,r,!1)||this._prepareDragStart(e,h,c)}}},_prepareDragStart:function(e,n,r){var i=this,s=i.el,d=i.options,h=s.ownerDocument,c;if(r&&!ie&&r.parentNode===s){var m=Ze(r);if(Ue=s,ie=r,je=ie.parentNode,tr=ie.nextSibling,Ds=r,Cs=d.group,ge.dragged=ie,Qn={target:ie,clientX:(n||e).clientX,clientY:(n||e).clientY},qh=Qn.clientX-m.left,Qh=Qn.clientY-m.top,this._lastX=(n||e).clientX,this._lastY=(n||e).clientY,ie.style["will-change"]="all",c=function(){if(pt("delayEnded",i,{evt:e}),ge.eventCanceled){i._onDrop();return}i._disableDelayedDragEvents(),!Yh&&i.nativeDraggable&&(ie.draggable=!0),i._triggerDragStart(e,n),dt({sortable:i,name:"choose",originalEvent:e}),St(ie,d.chosenClass,!0)},d.ignore.split(",").forEach(function(a){ep(ie,a.trim(),Ba)}),Me(h,"dragover",Zn),Me(h,"mousemove",Zn),Me(h,"touchmove",Zn),Me(h,"mouseup",i._onDrop),Me(h,"touchend",i._onDrop),Me(h,"touchcancel",i._onDrop),Yh&&this.nativeDraggable&&(this.options.touchStartThreshold=4,ie.draggable=!0),pt("delayStart",this,{evt:e}),d.delay&&(!d.delayOnTouchOnly||n)&&(!this.nativeDraggable||!(ps||$n))){if(ge.eventCanceled){this._onDrop();return}Me(h,"mouseup",i._disableDelayedDrag),Me(h,"touchend",i._disableDelayedDrag),Me(h,"touchcancel",i._disableDelayedDrag),Me(h,"mousemove",i._delayedDragTouchMoveHandler),Me(h,"touchmove",i._delayedDragTouchMoveHandler),d.supportPointer&&Me(h,"pointermove",i._delayedDragTouchMoveHandler),i._dragStartTimer=setTimeout(c,d.delay)}else c()}},_delayedDragTouchMoveHandler:function(e){var n=e.touches?e.touches[0]:e;Math.max(Math.abs(n.clientX-this._lastX),Math.abs(n.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){ie&&Ba(ie),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var e=this.el.ownerDocument;Ae(e,"mouseup",this._disableDelayedDrag),Ae(e,"touchend",this._disableDelayedDrag),Ae(e,"touchcancel",this._disableDelayedDrag),Ae(e,"mousemove",this._delayedDragTouchMoveHandler),Ae(e,"touchmove",this._delayedDragTouchMoveHandler),Ae(e,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(e,n){n=n||e.pointerType=="touch"&&e,!this.nativeDraggable||n?this.options.supportPointer?Me(document,"pointermove",this._onTouchMove):n?Me(document,"touchmove",this._onTouchMove):Me(document,"mousemove",this._onTouchMove):(Me(ie,"dragend",this),Me(Ue,"dragstart",this._onDragStart));try{document.selection?Bs(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch{}},_dragStarted:function(e,n){if(Er=!1,Ue&&ie){pt("dragStarted",this,{evt:n}),this.nativeDraggable&&Me(document,"dragover",hN);var r=this.options;!e&&St(ie,r.dragClass,!1),St(ie,r.ghostClass,!0),ge.active=this,e&&this._appendGhost(),dt({sortable:this,name:"start",originalEvent:n})}else this._nulling()},_emulateDragOver:function(){if(Ut){this._lastX=Ut.clientX,this._lastY=Ut.clientY,ap();for(var e=document.elementFromPoint(Ut.clientX,Ut.clientY),n=e;e&&e.shadowRoot&&(e=e.shadowRoot.elementFromPoint(Ut.clientX,Ut.clientY),e!==n);)n=e;if(ie.parentNode[Et]._isOutsideThisEl(e),n)do{if(n[Et]){var r=void 0;if(r=n[Et]._onDragOver({clientX:Ut.clientX,clientY:Ut.clientY,target:e,rootEl:n}),r&&!this.options.dragoverBubble)break}e=n}while(n=n.parentNode);lp()}},_onTouchMove:function(e){if(Qn){var n=this.options,r=n.fallbackTolerance,i=n.fallbackOffset,s=e.touches?e.touches[0]:e,d=be&&Rr(be,!0),h=be&&d&&d.a,c=be&&d&&d.d,m=_s&<&&Xh(lt),a=(s.clientX-Qn.clientX+i.x)/(h||1)+(m?m[0]-Pa[0]:0)/(h||1),o=(s.clientY-Qn.clientY+i.y)/(c||1)+(m?m[1]-Pa[1]:0)/(c||1);if(!ge.active&&!Er){if(r&&Math.max(Math.abs(s.clientX-this._lastX),Math.abs(s.clientY-this._lastY))<r)return;this._onDragStart(e,!0)}if(be){d?(d.e+=a-(Ia||0),d.f+=o-(Da||0)):d={a:1,b:0,c:0,d:1,e:a,f:o};var u="matrix(".concat(d.a,",").concat(d.b,",").concat(d.c,",").concat(d.d,",").concat(d.e,",").concat(d.f,")");pe(be,"webkitTransform",u),pe(be,"mozTransform",u),pe(be,"msTransform",u),pe(be,"transform",u),Ia=a,Da=o,Ut=s}e.cancelable&&e.preventDefault()}},_appendGhost:function(){if(!be){var e=this.options.fallbackOnBody?document.body:Ue,n=Ze(ie,!0,_s,!0,e),r=this.options;if(_s){for(lt=e;pe(lt,"position")==="static"&&pe(lt,"transform")==="none"&<!==document;)lt=lt.parentNode;lt!==document.body&<!==document.documentElement?(lt===document&&(lt=Zt()),n.top+=lt.scrollTop,n.left+=lt.scrollLeft):lt=Zt(),Pa=Xh(lt)}be=ie.cloneNode(!0),St(be,r.ghostClass,!1),St(be,r.fallbackClass,!0),St(be,r.dragClass,!0),pe(be,"transition",""),pe(be,"transform",""),pe(be,"box-sizing","border-box"),pe(be,"margin",0),pe(be,"top",n.top),pe(be,"left",n.left),pe(be,"width",n.width),pe(be,"height",n.height),pe(be,"opacity","0.8"),pe(be,"position",_s?"absolute":"fixed"),pe(be,"zIndex","100000"),pe(be,"pointerEvents","none"),ge.ghost=be,e.appendChild(be),pe(be,"transform-origin",qh/parseInt(be.style.width)*100+"% "+Qh/parseInt(be.style.height)*100+"%")}},_onDragStart:function(e,n){var r=this,i=e.dataTransfer,s=r.options;if(pt("dragStart",this,{evt:e}),ge.eventCanceled){this._onDrop();return}pt("setupClone",this),ge.eventCanceled||(ze=rp(ie),ze.draggable=!1,ze.style["will-change"]="",this._hideClone(),St(ze,this.options.chosenClass,!1),ge.clone=ze),r.cloneId=Bs(function(){pt("clone",r),!ge.eventCanceled&&(r.options.removeCloneOnHide||Ue.insertBefore(ze,ie),r._hideClone(),dt({sortable:r,name:"clone"}))}),!n&&St(ie,s.dragClass,!0),n?(to=!0,r._loopId=setInterval(r._emulateDragOver,50)):(Ae(document,"mouseup",r._onDrop),Ae(document,"touchend",r._onDrop),Ae(document,"touchcancel",r._onDrop),i&&(i.effectAllowed="move",s.setData&&s.setData.call(r,i,ie)),Me(document,"drop",r),pe(ie,"transform","translateZ(0)")),Er=!0,r._dragStartId=Bs(r._dragStarted.bind(r,n,e)),Me(document,"selectstart",r),oi=!0,gi&&pe(document.body,"user-select","none")},_onDragOver:function(e){var n=this.el,r=e.target,i,s,d,h=this.options,c=h.group,m=ge.active,a=Cs===c,o=h.sort,u=st||m,f,p=this,g=!1;if(Ol)return;function v(B,P){pt(B,p,rn({evt:e,isOwner:a,axis:f?"vertical":"horizontal",revert:d,dragRect:i,targetRect:s,canSort:o,fromSortable:u,target:r,completed:x,onMove:function(Y,G){return Ts(Ue,n,ie,i,Y,Ze(Y),e,G)},changed:T},P))}function y(){v("dragOverAnimationCapture"),p.captureAnimationState(),p!==u&&u.captureAnimationState()}function x(B){return v("dragOverCompleted",{insertion:B}),B&&(a?m._hideClone():m._showClone(p),p!==u&&(St(ie,st?st.options.ghostClass:m.options.ghostClass,!1),St(ie,h.ghostClass,!0)),st!==p&&p!==ge.active?st=p:p===ge.active&&st&&(st=null),u===p&&(p._ignoreWhileAnimating=r),p.animateAll(function(){v("dragOverAnimationComplete"),p._ignoreWhileAnimating=null}),p!==u&&(u.animateAll(),u._ignoreWhileAnimating=null)),(r===ie&&!ie.animated||r===n&&!r.animated)&&(kr=null),!h.dragoverBubble&&!e.rootEl&&r!==document&&(ie.parentNode[Et]._isOutsideThisEl(e.target),!B&&Zn(e)),!h.dragoverBubble&&e.stopPropagation&&e.stopPropagation(),g=!0}function T(){xt=Mt(ie),Nn=Mt(ie,h.draggable),dt({sortable:p,name:"change",toEl:n,newIndex:xt,newDraggableIndex:Nn,originalEvent:e})}if(e.preventDefault!==void 0&&e.cancelable&&e.preventDefault(),r=Xt(r,h.draggable,n,!0),v("dragOver"),ge.eventCanceled)return g;if(ie.contains(e.target)||r.animated&&r.animatingX&&r.animatingY||p._ignoreWhileAnimating===r)return x(!1);if(to=!1,m&&!h.disabled&&(a?o||(d=je!==Ue):st===this||(this.lastPutMode=Cs.checkPull(this,m,ie,e))&&c.checkPut(this,m,ie,e))){if(f=this._getDirection(e,r)==="vertical",i=Ze(ie),v("dragOverValid"),ge.eventCanceled)return g;if(d)return je=Ue,y(),this._hideClone(),v("revert"),ge.eventCanceled||(tr?Ue.insertBefore(ie,tr):Ue.appendChild(ie)),x(!0);var k=nu(n,h.draggable);if(!k||pN(e,f,this)&&!k.animated){if(k===ie)return x(!1);if(k&&n===e.target&&(r=k),r&&(s=Ze(r)),Ts(Ue,n,ie,i,r,s,e,!!r)!==!1)return y(),n.appendChild(ie),je=n,T(),x(!0)}else if(k&&mN(e,f,this)){var b=Hr(n,0,h,!0);if(b===ie)return x(!1);if(r=b,s=Ze(r),Ts(Ue,n,ie,i,r,s,e,!1)!==!1)return y(),n.insertBefore(ie,b),je=n,T(),x(!0)}else if(r.parentNode===n){s=Ze(r);var C=0,$,_=ie.parentNode!==n,S=!cN(ie.animated&&ie.toRect||i,r.animated&&r.toRect||s,f),w=f?"top":"left",E=Kh(r,"top","top")||Kh(ie,"top","top"),A=E?E.scrollTop:void 0;kr!==r&&($=s[w],bi=!1,Es=!S&&h.invertSwap||_),C=gN(e,r,s,f,S?1:h.swapThreshold,h.invertedSwapThreshold==null?h.swapThreshold:h.invertedSwapThreshold,Es,kr===r);var O;if(C!==0){var L=Mt(ie);do L-=C,O=je.children[L];while(O&&(pe(O,"display")==="none"||O===be))}if(C===0||O===r)return x(!1);kr=r,yi=C;var M=r.nextElementSibling,R=!1;R=C===1;var D=Ts(Ue,n,ie,i,r,s,e,R);if(D!==!1)return(D===1||D===-1)&&(R=D===1),Ol=!0,setTimeout(fN,30),y(),R&&!M?n.appendChild(ie):r.parentNode.insertBefore(ie,R?M:r),E&&np(E,0,A-E.scrollTop),je=ie.parentNode,$!==void 0&&!Es&&(Ps=Math.abs($-Ze(r)[w])),T(),x(!0)}if(n.contains(ie))return x(!1)}return!1},_ignoreWhileAnimating:null,_offMoveEvents:function(){Ae(document,"mousemove",this._onTouchMove),Ae(document,"touchmove",this._onTouchMove),Ae(document,"pointermove",this._onTouchMove),Ae(document,"dragover",Zn),Ae(document,"mousemove",Zn),Ae(document,"touchmove",Zn)},_offUpEvents:function(){var e=this.el.ownerDocument;Ae(e,"mouseup",this._onDrop),Ae(e,"touchend",this._onDrop),Ae(e,"pointerup",this._onDrop),Ae(e,"touchcancel",this._onDrop),Ae(document,"selectstart",this)},_onDrop:function(e){var n=this.el,r=this.options;if(xt=Mt(ie),Nn=Mt(ie,r.draggable),pt("drop",this,{evt:e}),je=ie&&ie.parentNode,xt=Mt(ie),Nn=Mt(ie,r.draggable),ge.eventCanceled){this._nulling();return}Er=!1,Es=!1,bi=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),Ll(this.cloneId),Ll(this._dragStartId),this.nativeDraggable&&(Ae(document,"drop",this),Ae(n,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),gi&&pe(document.body,"user-select",""),pe(ie,"transform",""),e&&(oi&&(e.cancelable&&e.preventDefault(),!r.dropBubble&&e.stopPropagation()),be&&be.parentNode&&be.parentNode.removeChild(be),(Ue===je||st&&st.lastPutMode!=="clone")&&ze&&ze.parentNode&&ze.parentNode.removeChild(ze),ie&&(this.nativeDraggable&&Ae(ie,"dragend",this),Ba(ie),ie.style["will-change"]="",oi&&!Er&&St(ie,st?st.options.ghostClass:this.options.ghostClass,!1),St(ie,this.options.chosenClass,!1),dt({sortable:this,name:"unchoose",toEl:je,newIndex:null,newDraggableIndex:null,originalEvent:e}),Ue!==je?(xt>=0&&(dt({rootEl:je,name:"add",toEl:je,fromEl:Ue,originalEvent:e}),dt({sortable:this,name:"remove",toEl:je,originalEvent:e}),dt({rootEl:je,name:"sort",toEl:je,fromEl:Ue,originalEvent:e}),dt({sortable:this,name:"sort",toEl:je,originalEvent:e})),st&&st.save()):xt!==Ar&&xt>=0&&(dt({sortable:this,name:"update",toEl:je,originalEvent:e}),dt({sortable:this,name:"sort",toEl:je,originalEvent:e})),ge.active&&((xt==null||xt===-1)&&(xt=Ar,Nn=wi),dt({sortable:this,name:"end",toEl:je,originalEvent:e}),this.save()))),this._nulling()},_nulling:function(){pt("nulling",this),Ue=ie=je=be=tr=ze=Ds=In=Qn=Ut=oi=xt=Nn=Ar=wi=kr=yi=st=Cs=ge.dragged=ge.ghost=ge.clone=ge.active=null,ro.forEach(function(e){e.checked=!0}),ro.length=Ia=Da=0},handleEvent:function(e){switch(e.type){case"drop":case"dragend":this._onDrop(e);break;case"dragenter":case"dragover":ie&&(this._onDragOver(e),dN(e));break;case"selectstart":e.preventDefault();break}},toArray:function(){for(var e=[],n,r=this.el.children,i=0,s=r.length,d=this.options;i<s;i++)n=r[i],Xt(n,d.draggable,this.el,!1)&&e.push(n.getAttribute(d.dataIdAttr)||wN(n));return e},sort:function(e,n){var r={},i=this.el;this.toArray().forEach(function(s,d){var h=i.children[d];Xt(h,this.options.draggable,i,!1)&&(r[s]=h)},this),n&&this.captureAnimationState(),e.forEach(function(s){r[s]&&(i.removeChild(r[s]),i.appendChild(r[s]))}),n&&this.animateAll()},save:function(){var e=this.options.store;e&&e.set&&e.set(this)},closest:function(e,n){return Xt(e,n||this.options.draggable,this.el,!1)},option:function(e,n){var r=this.options;if(n===void 0)return r[e];var i=gs.modifyOption(this,e,n);typeof i<"u"?r[e]=i:r[e]=n,e==="group"&&op(r)},destroy:function(){pt("destroy",this);var e=this.el;e[Et]=null,Ae(e,"mousedown",this._onTapStart),Ae(e,"touchstart",this._onTapStart),Ae(e,"pointerdown",this._onTapStart),this.nativeDraggable&&(Ae(e,"dragover",this),Ae(e,"dragenter",this)),Array.prototype.forEach.call(e.querySelectorAll("[draggable]"),function(n){n.removeAttribute("draggable")}),this._onDrop(),this._disableDelayedDragEvents(),no.splice(no.indexOf(this.el),1),this.el=e=null},_hideClone:function(){if(!In){if(pt("hideClone",this),ge.eventCanceled)return;pe(ze,"display","none"),this.options.removeCloneOnHide&&ze.parentNode&&ze.parentNode.removeChild(ze),In=!0}},_showClone:function(e){if(e.lastPutMode!=="clone"){this._hideClone();return}if(In){if(pt("showClone",this),ge.eventCanceled)return;ie.parentNode==Ue&&!this.options.group.revertClone?Ue.insertBefore(ze,ie):tr?Ue.insertBefore(ze,tr):Ue.appendChild(ze),this.options.group.revertClone&&this.animate(ie,ze),pe(ze,"display",""),In=!1}}};function dN(t){t.dataTransfer&&(t.dataTransfer.dropEffect="move"),t.cancelable&&t.preventDefault()}function Ts(t,e,n,r,i,s,d,h){var c,m=t[Et],a=m.options.onMove,o;return window.CustomEvent&&!$n&&!ps?c=new CustomEvent("move",{bubbles:!0,cancelable:!0}):(c=document.createEvent("Event"),c.initEvent("move",!0,!0)),c.to=e,c.from=t,c.dragged=n,c.draggedRect=r,c.related=i||e,c.relatedRect=s||Ze(e),c.willInsertAfter=h,c.originalEvent=d,t.dispatchEvent(c),a&&(o=a.call(m,c,d)),o}function Ba(t){t.draggable=!1}function fN(){Ol=!1}function mN(t,e,n){var r=Ze(Hr(n.el,0,n.options,!0)),i=10;return e?t.clientX<r.left-i||t.clientY<r.top&&t.clientX<r.right:t.clientY<r.top-i||t.clientY<r.bottom&&t.clientX<r.left}function pN(t,e,n){var r=Ze(nu(n.el,n.options.draggable)),i=10;return e?t.clientX>r.right+i||t.clientX<=r.right&&t.clientY>r.bottom&&t.clientX>=r.left:t.clientX>r.right&&t.clientY>r.top||t.clientX<=r.right&&t.clientY>r.bottom+i}function gN(t,e,n,r,i,s,d,h){var c=r?t.clientY:t.clientX,m=r?n.height:n.width,a=r?n.top:n.left,o=r?n.bottom:n.right,u=!1;if(!d){if(h&&Ps<m*i){if(!bi&&(yi===1?c>a+m*s/2:c<o-m*s/2)&&(bi=!0),bi)u=!0;else if(yi===1?c<a+Ps:c>o-Ps)return-yi}else if(c>a+m*(1-i)/2&&c<o-m*(1-i)/2)return vN(e)}return u=u||d,u&&(c<a+m*s/2||c>o-m*s/2)?c>a+m/2?1:-1:0}function vN(t){return Mt(ie)<Mt(t)?1:-1}function wN(t){for(var e=t.tagName+t.className+t.src+t.href+t.textContent,n=e.length,r=0;n--;)r+=e.charCodeAt(n);return r.toString(36)}function yN(t){ro.length=0;for(var e=t.getElementsByTagName("input"),n=e.length;n--;){var r=e[n];r.checked&&ro.push(r)}}function Bs(t){return setTimeout(t,0)}function Ll(t){return clearTimeout(t)}ua&&Me(document,"touchmove",function(t){(ge.active||Er)&&t.cancelable&&t.preventDefault()});ge.utils={on:Me,off:Ae,css:pe,find:ep,is:function(e,n){return!!Xt(e,n,e,!1)},extend:tN,throttle:tp,closest:Xt,toggleClass:St,clone:rp,index:Mt,nextTick:Bs,cancelNextTick:Ll,detectDirection:sp,getChild:Hr};ge.get=function(t){return t[Et]};ge.mount=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];e[0].constructor===Array&&(e=e[0]),e.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&&(ge.utils=rn(rn({},ge.utils),r.utils)),gs.mount(r)})};ge.create=function(t,e){return new ge(t,e)};ge.version=qR;var qe=[],ai,Ml,Rl=!1,Fa,Va,io,li;function bN(){function t(){this.defaults={scroll:!0,forceAutoScrollFallback:!1,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0};for(var e in this)e.charAt(0)==="_"&&typeof this[e]=="function"&&(this[e]=this[e].bind(this))}return t.prototype={dragStarted:function(n){var r=n.originalEvent;this.sortable.nativeDraggable?Me(document,"dragover",this._handleAutoScroll):this.options.supportPointer?Me(document,"pointermove",this._handleFallbackAutoScroll):r.touches?Me(document,"touchmove",this._handleFallbackAutoScroll):Me(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(n){var r=n.originalEvent;!this.options.dragOverBubble&&!r.rootEl&&this._handleAutoScroll(r)},drop:function(){this.sortable.nativeDraggable?Ae(document,"dragover",this._handleAutoScroll):(Ae(document,"pointermove",this._handleFallbackAutoScroll),Ae(document,"touchmove",this._handleFallbackAutoScroll),Ae(document,"mousemove",this._handleFallbackAutoScroll)),ed(),Fs(),nN()},nulling:function(){io=Ml=ai=Rl=li=Fa=Va=null,qe.length=0},_handleFallbackAutoScroll:function(n){this._handleAutoScroll(n,!0)},_handleAutoScroll:function(n,r){var i=this,s=(n.touches?n.touches[0]:n).clientX,d=(n.touches?n.touches[0]:n).clientY,h=document.elementFromPoint(s,d);if(io=n,r||this.options.forceAutoScrollFallback||ps||$n||gi){Ua(n,this.options,h,r);var c=Vn(h,!0);Rl&&(!li||s!==Fa||d!==Va)&&(li&&ed(),li=setInterval(function(){var m=Vn(document.elementFromPoint(s,d),!0);m!==c&&(c=m,Fs()),Ua(n,i.options,m,r)},10),Fa=s,Va=d)}else{if(!this.options.bubbleScroll||Vn(h,!0)===Zt()){Fs();return}Ua(n,this.options,Vn(h,!1),!1)}}},kn(t,{pluginName:"scroll",initializeByDefault:!0})}function Fs(){qe.forEach(function(t){clearInterval(t.pid)}),qe=[]}function ed(){clearInterval(li)}var Ua=tp(function(t,e,n,r){if(!!e.scroll){var i=(t.touches?t.touches[0]:t).clientX,s=(t.touches?t.touches[0]:t).clientY,d=e.scrollSensitivity,h=e.scrollSpeed,c=Zt(),m=!1,a;Ml!==n&&(Ml=n,Fs(),ai=e.scroll,a=e.scrollFn,ai===!0&&(ai=Vn(n,!0)));var o=0,u=ai;do{var f=u,p=Ze(f),g=p.top,v=p.bottom,y=p.left,x=p.right,T=p.width,k=p.height,b=void 0,C=void 0,$=f.scrollWidth,_=f.scrollHeight,S=pe(f),w=f.scrollLeft,E=f.scrollTop;f===c?(b=T<$&&(S.overflowX==="auto"||S.overflowX==="scroll"||S.overflowX==="visible"),C=k<_&&(S.overflowY==="auto"||S.overflowY==="scroll"||S.overflowY==="visible")):(b=T<$&&(S.overflowX==="auto"||S.overflowX==="scroll"),C=k<_&&(S.overflowY==="auto"||S.overflowY==="scroll"));var A=b&&(Math.abs(x-i)<=d&&w+T<$)-(Math.abs(y-i)<=d&&!!w),O=C&&(Math.abs(v-s)<=d&&E+k<_)-(Math.abs(g-s)<=d&&!!E);if(!qe[o])for(var L=0;L<=o;L++)qe[L]||(qe[L]={});(qe[o].vx!=A||qe[o].vy!=O||qe[o].el!==f)&&(qe[o].el=f,qe[o].vx=A,qe[o].vy=O,clearInterval(qe[o].pid),(A!=0||O!=0)&&(m=!0,qe[o].pid=setInterval(function(){r&&this.layer===0&&ge.active._onTouchMove(io);var M=qe[this.layer].vy?qe[this.layer].vy*h:0,R=qe[this.layer].vx?qe[this.layer].vx*h:0;typeof a=="function"&&a.call(ge.dragged.parentNode[Et],R,M,t,io,qe[this.layer].el)!=="continue"||np(qe[this.layer].el,R,M)}.bind({layer:o}),24))),o++}while(e.bubbleScroll&&u!==c&&(u=Vn(u,!1)));Rl=m}},30),cp=function(e){var n=e.originalEvent,r=e.putSortable,i=e.dragEl,s=e.activeSortable,d=e.dispatchSortableEvent,h=e.hideGhostForTarget,c=e.unhideGhostForTarget;if(!!n){var m=r||s;h();var a=n.changedTouches&&n.changedTouches.length?n.changedTouches[0]:n,o=document.elementFromPoint(a.clientX,a.clientY);c(),m&&!m.el.contains(o)&&(d("spill"),this.onSpill({dragEl:i,putSortable:r}))}};function ru(){}ru.prototype={startIndex:null,dragStart:function(e){var n=e.oldDraggableIndex;this.startIndex=n},onSpill:function(e){var n=e.dragEl,r=e.putSortable;this.sortable.captureAnimationState(),r&&r.captureAnimationState();var i=Hr(this.sortable.el,this.startIndex,this.options);i?this.sortable.el.insertBefore(n,i):this.sortable.el.appendChild(n),this.sortable.animateAll(),r&&r.animateAll()},drop:cp};kn(ru,{pluginName:"revertOnSpill"});function iu(){}iu.prototype={onSpill:function(e){var n=e.dragEl,r=e.putSortable,i=r||this.sortable;i.captureAnimationState(),n.parentNode&&n.parentNode.removeChild(n),i.animateAll()},drop:cp};kn(iu,{pluginName:"removeOnSpill"});ge.mount(new bN);ge.mount(iu,ru);function Wa(t){t.parentElement!==null&&t.parentElement.removeChild(t)}function td(t,e,n){const r=n===0?t.children[0]:t.children[n-1].nextSibling;t.insertBefore(e,r)}function SN(){return typeof window<"u"?window.console:global.console}const xN=SN();function kN(t){const e=Object.create(null);return function(r){return e[r]||(e[r]=t(r))}}const CN=/-(\w)/g,EN=kN(t=>t.replace(CN,(e,n)=>n.toUpperCase())),up=["Start","Add","Remove","Update","End"],hp=["Choose","Unchoose","Sort","Filter","Clone"],dp=["Move"],_N=[dp,up,hp].flatMap(t=>t).map(t=>`on${t}`),Nl={manage:dp,manageAndEmit:up,emit:hp};function TN(t){return _N.indexOf(t)!==-1}const AN=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","link","main","map","mark","math","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rb","rp","rt","rtc","ruby","s","samp","script","section","select","slot","small","source","span","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr"];function $N(t){return AN.includes(t)}function ON(t){return["transition-group","TransitionGroup"].includes(t)}function fp(t){return["id","class","role","style"].includes(t)||t.startsWith("data-")||t.startsWith("aria-")||t.startsWith("on")}function mp(t){return t.reduce((e,[n,r])=>(e[n]=r,e),{})}function LN({$attrs:t,componentData:e={}}){return{...mp(Object.entries(t).filter(([r,i])=>fp(r))),...e}}function MN({$attrs:t,callBackBuilder:e}){const n=mp(pp(t));Object.entries(e).forEach(([i,s])=>{Nl[i].forEach(d=>{n[`on${d}`]=s(d)})});const r=`[data-draggable]${n.draggable||""}`;return{...n,draggable:r}}function pp(t){return Object.entries(t).filter(([e,n])=>!fp(e)).map(([e,n])=>[EN(e),n]).filter(([e,n])=>!TN(e))}const nd=({el:t})=>t,RN=(t,e)=>t.__draggable_context=e,rd=t=>t.__draggable_context;class NN{constructor({nodes:{header:e,default:n,footer:r},root:i,realList:s}){this.defaultNodes=n,this.children=[...e,...n,...r],this.externalComponent=i.externalComponent,this.rootTransition=i.transition,this.tag=i.tag,this.realList=s}get _isRootComponent(){return this.externalComponent||this.rootTransition}render(e,n){const{tag:r,children:i,_isRootComponent:s}=this;return e(r,n,s?{default:()=>i}:i)}updated(){const{defaultNodes:e,realList:n}=this;e.forEach((r,i)=>{RN(nd(r),{element:n[i],index:i})})}getUnderlyingVm(e){return rd(e)}getVmIndexFromDomIndex(e,n){const{defaultNodes:r}=this,{length:i}=r,s=n.children,d=s.item(e);if(d===null)return i;const h=rd(d);if(h)return h.index;if(i===0)return 0;const c=nd(r[0]),m=[...s].findIndex(a=>a===c);return e<m?0:i}}function IN(t,e){const n=t[e];return n?n():[]}function DN({$slots:t,realList:e,getKey:n}){const r=e||[],[i,s]=["header","footer"].map(c=>IN(t,c)),{item:d}=t;if(!d)throw new Error("draggable element must have an item slot");const h=r.flatMap((c,m)=>d({element:c,index:m}).map(a=>(a.key=n(c),a.props={...a.props||{},"data-draggable":!0},a)));if(h.length!==r.length)throw new Error("Item slot must have only one child");return{header:i,footer:s,default:h}}function PN(t){const e=ON(t),n=!$N(t)&&!e;return{transition:e,externalComponent:n,tag:n?l.resolveComponent(t):e?l.TransitionGroup:t}}function BN({$slots:t,tag:e,realList:n,getKey:r}){const i=DN({$slots:t,realList:n,getKey:r}),s=PN(e);return new NN({nodes:i,root:s,realList:n})}function gp(t,e){l.nextTick(()=>this.$emit(t.toLowerCase(),e))}function vp(t){return(e,n)=>{if(this.realList!==null)return this[`onDrag${t}`](e,n)}}function FN(t){const e=vp.call(this,t);return(n,r)=>{e.call(this,n,r),gp.call(this,t,n)}}let Ha=null;const VN={list:{type:Array,required:!1,default:null},modelValue:{type:Array,required:!1,default:null},itemKey:{type:[String,Function],required:!0},clone:{type:Function,default:t=>t},tag:{type:String,default:"div"},move:{type:Function,default:null},componentData:{type:Object,required:!1,default:null}},UN=["update:modelValue","change",...[...Nl.manageAndEmit,...Nl.emit].map(t=>t.toLowerCase())],WN=l.defineComponent({name:"draggable",inheritAttrs:!1,props:VN,emits:UN,data(){return{error:!1}},render(){try{this.error=!1;const{$slots:t,$attrs:e,tag:n,componentData:r,realList:i,getKey:s}=this,d=BN({$slots:t,tag:n,realList:i,getKey:s});this.componentStructure=d;const h=LN({$attrs:e,componentData:r});return d.render(l.h,h)}catch(t){return this.error=!0,l.h("pre",{style:{color:"red"}},t.stack)}},created(){this.list!==null&&this.modelValue!==null&&xN.error("modelValue and list props are mutually exclusive! Please set one or another.")},mounted(){if(this.error)return;const{$attrs:t,$el:e,componentStructure:n}=this;n.updated();const r=MN({$attrs:t,callBackBuilder:{manageAndEmit:s=>FN.call(this,s),emit:s=>gp.bind(this,s),manage:s=>vp.call(this,s)}}),i=e.nodeType===1?e:e.parentElement;this._sortable=new ge(i,r),this.targetDomElement=i,i.__draggable_component__=this},updated(){this.componentStructure.updated()},beforeUnmount(){this._sortable!==void 0&&this._sortable.destroy()},computed:{realList(){const{list:t}=this;return t||this.modelValue},getKey(){const{itemKey:t}=this;return typeof t=="function"?t:e=>e[t]}},watch:{$attrs:{handler(t){const{_sortable:e}=this;!e||pp(t).forEach(([n,r])=>{e.option(n,r)})},deep:!0}},methods:{getUnderlyingVm(t){return this.componentStructure.getUnderlyingVm(t)||null},getUnderlyingPotencialDraggableComponent(t){return t.__draggable_component__},emitChanges(t){l.nextTick(()=>this.$emit("change",t))},alterList(t){if(this.list){t(this.list);return}const e=[...this.modelValue];t(e),this.$emit("update:modelValue",e)},spliceList(){const t=e=>e.splice(...arguments);this.alterList(t)},updatePosition(t,e){const n=r=>r.splice(e,0,r.splice(t,1)[0]);this.alterList(n)},getRelatedContextFromMoveEvent({to:t,related:e}){const n=this.getUnderlyingPotencialDraggableComponent(t);if(!n)return{component:n};const r=n.realList,i={list:r,component:n};return t!==e&&r?{...n.getUnderlyingVm(e)||{},...i}:i},getVmIndexFromDomIndex(t){return this.componentStructure.getVmIndexFromDomIndex(t,this.targetDomElement)},onDragStart(t){this.context=this.getUnderlyingVm(t.item),t.item._underlying_vm_=this.clone(this.context.element),Ha=t.item},onDragAdd(t){const e=t.item._underlying_vm_;if(e===void 0)return;Wa(t.item);const n=this.getVmIndexFromDomIndex(t.newIndex);this.spliceList(n,0,e);const r={element:e,newIndex:n};this.emitChanges({added:r})},onDragRemove(t){if(td(this.$el,t.item,t.oldIndex),t.pullMode==="clone"){Wa(t.clone);return}const{index:e,element:n}=this.context;this.spliceList(e,1);const r={element:n,oldIndex:e};this.emitChanges({removed:r})},onDragUpdate(t){Wa(t.item),td(t.from,t.item,t.oldIndex);const e=this.context.index,n=this.getVmIndexFromDomIndex(t.newIndex);this.updatePosition(e,n);const r={element:this.context.element,oldIndex:e,newIndex:n};this.emitChanges({moved:r})},computeFutureIndex(t,e){if(!t.element)return 0;const n=[...e.to.children].filter(d=>d.style.display!=="none"),r=n.indexOf(e.related),i=t.component.getVmIndexFromDomIndex(r);return n.indexOf(Ha)!==-1||!e.willInsertAfter?i:i+1},onDragMove(t,e){const{move:n,realList:r}=this;if(!n||!r)return!0;const i=this.getRelatedContextFromMoveEvent(t),s=this.computeFutureIndex(i,t),d={...this.context,futureIndex:s},h={...t,relatedContext:i,draggedContext:d};return n(h,e)},onDragEnd(){Ha=null}}}),HN={class:"tw-flex tw-grow-1 tw-border-t tw-border-solid tw-border-t-[#eaedf3]"},jN={class:"assets-details__content tw-grow tw-basis-0"},zN={class:"tw-p-4"},wp=l.defineComponent({__name:"assets-details",props:{expanded:{type:Boolean,default:!0},closable:{type:Boolean,default:!0},options:{default:()=>({})}},emits:["parent:call","close:blade"],setup(t,{emit:e}){const n=t,{t:r}=nc(),i=l.reactive({...n.options.editableAsset}),s=[{id:"save",title:r("ASSETS.PAGES.DETAILS.TOOLBAR.SAVE"),icon:"fas fa-save",clickHandler(){n.options.sortHandler&&typeof n.options.sortHandler=="function"&&(n.options.sortHandler(!1,i),e("close:blade"))}},{id:"delete",title:r("ASSETS.PAGES.DETAILS.TOOLBAR.DELETE"),icon:"fas fa-trash",clickHandler(){window.confirm(l.unref(l.computed(()=>r("ASSETS.PAGES.DETAILS.DELETE_CONFIRMATION"))))&&n.options.sortHandler&&typeof n.options.sortHandler=="function"&&(n.options.sortHandler(!0,i),e("close:blade"))}}];return(d,h)=>(l.openBlock(),l.createBlock(l.unref(Nc),{title:t.options.editableAsset.name,subtitle:d.$t("ASSETS.PAGES.DETAILS.SUBTITLE"),expanded:t.expanded,closable:t.closable,toolbarItems:s,onClose:h[3]||(h[3]=c=>d.$emit("close:blade"))},{default:l.withCtx(()=>[l.createElementVNode("div",HN,[l.createElementVNode("div",jN,[l.createVNode(l.unref(jr),{"no-padding":!0},{default:l.withCtx(()=>[l.createElementVNode("div",zN,[l.createVNode(l.unref(Vl),null,{default:l.withCtx(()=>[l.createVNode(l.unref(oo),{class:"tw-mb-4",src:i.url,size:"xl",bordered:!0},null,8,["src"]),l.createVNode(l.unref(xi),{class:"tw-mb-4",label:d.$t("ASSETS.PAGES.DETAILS.FIELDS.NAME.TITLE"),modelValue:i.name,"onUpdate:modelValue":h[0]||(h[0]=c=>i.name=c),clearable:"",required:"",placeholder:d.$t("ASSETS.PAGES.DETAILS.FIELDS.NAME.PLACEHOLDER")},null,8,["label","modelValue","placeholder"]),l.createVNode(l.unref(xi),{class:"tw-mb-4",label:d.$t("ASSETS.PAGES.DETAILS.FIELDS.ALT.TITLE"),modelValue:i.altText,"onUpdate:modelValue":h[1]||(h[1]=c=>i.altText=c),clearable:"",placeholder:d.$t("ASSETS.PAGES.DETAILS.FIELDS.ALT.PLACEHOLDER"),tooltip:d.$t("ASSETS.PAGES.DETAILS.FIELDS.ALT.TOOLTIP"),required:""},null,8,["label","modelValue","placeholder","tooltip"]),l.createVNode(l.unref(Rc),{class:"tw-mb-4",label:d.$t("ASSETS.PAGES.DETAILS.FIELDS.DESCRIPTION.TITLE"),modelValue:i.description,"onUpdate:modelValue":h[2]||(h[2]=c=>i.description=c),placeholder:d.$t("ASSETS.PAGES.DETAILS.FIELDS.DESCRIPTION.PLACEHOLDER"),"is-required":""},null,8,["label","modelValue","placeholder"])]),_:1})])]),_:1})])])]),_:1},8,["title","subtitle","expanded","closable"]))}}),GN=Object.freeze(Object.defineProperty({__proto__:null,AssetsDetails:wp},Symbol.toStringTag,{value:"Module"})),yp={PAGES:{DETAILS:{SUBTITLE:"Image edit",TOOLBAR:{SAVE:"Save",DELETE:"Delete"},FIELDS:{NAME:{TITLE:"Image name",PLACEHOLDER:"Enter image name"},ALT:{TITLE:"Image alternative text",PLACEHOLDER:"Enter image alt text",TOOLTIP:"This text will be displayed in case of disabled/unloaded image on the page"},DESCRIPTION:{TITLE:"Meta description",PLACEHOLDER:"Enter meta description"}},DELETE_CONFIRMATION:"Are you sure you want to delete this image?"}}},YN={ASSETS:yp},JN=Object.freeze(Object.defineProperty({__proto__:null,ASSETS:yp,default:YN},Symbol.toStringTag,{value:"Module"})),KN=Object.freeze(Object.defineProperty({__proto__:null,en:JN},Symbol.toStringTag,{value:"Module"})),XN={install(t){Object.entries(GN).forEach(([e,n])=>{t.component(e,n),t.config.globalProperties.pages?.push(n)}),Object.entries(KN).forEach(([e,n])=>{t.config.globalProperties.$mergeLocaleMessage(e,n)})}},qN={class:"tw-relative tw-h-full tw-flex tw-items-center tw-justify-center tw-ml-2 tw-mr-[15px] tw-shrink-0"},QN=["onClick"],ZN=l.createElementVNode("div",{class:"tw-h-[22px] tw-w-[22px] [mask:url(/assets/app-select.svg)] tw-bg-[color:var(--app-bar-button-color)] tw-duration-200"},null,-1),eI=[ZN],tI={key:0,class:"tw-px-4 tw-py-3.5 tw-bg-white tw-drop-shadow-[4px_4px_20px_rgba(47,86,108,0.25)] tw-absolute tw-z-[10000] tw-rounded tw-top-[var(--app-bar-height)] tw-left-0"},nI={class:"tw-flex tw-flex-col tw-gap-3 tw-overflow-hidden"},rI=["onClick"],iI=["src","alt"],sI={class:"tw-font-normal tw-text-sm tw-text-[#727C87] tw-truncate group-hover:tw-opacity-80"},bp=l.defineComponent({__name:"vc-app-switcher",props:{appsList:{default:void 0}},emits:["onClick"],setup(t,{emit:e}){const n=t,r=l.ref(!1),i=m=>"https://vcmp-dev.paas.govirto.com/".replace(/\/+$/,"")+m,s=m=>{const a=window.location.pathname.replace(/\/+$/,""),o=m.match(a);return o?o[0]:null},d=m=>{e("onClick",m),c()},h=()=>{n.appsList&&n.appsList.length&&(r.value=!r.value)},c=()=>{r.value=!1};return(m,a)=>{const o=l.resolveDirective("click-outside");return l.withDirectives((l.openBlock(),l.createElementBlock("div",qN,[l.createElementVNode("button",{class:"hover:[&>img] hover:[&_div]:tw-bg-[color:var(--app-bar-button-color-hover)]",onClick:l.withModifiers(h,["stop"])},eI,8,QN),r.value&&t.appsList&&t.appsList.length?(l.openBlock(),l.createElementBlock("div",tI,[l.createElementVNode("ul",nI,[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(t.appsList,u=>(l.openBlock(),l.createElementBlock("li",{key:u.id,onClick:f=>d(u),class:l.normalizeClass(["tw-flex tw-flex-row tw-items-center tw-cursor-pointer tw-group",{"[&>p]:tw-font-extrabold":s(u.relativeUrl)}])},[l.createElementVNode("img",{src:i(u.iconUrl),alt:`icon_${u.id}`,class:"tw-w-5 tw-h-5 tw-mr-2 tw-shrink-0"},null,8,iI),l.createElementVNode("p",sI,l.toDisplayString(u.title),1)],10,rI))),128))])])):l.createCommentVNode("",!0)])),[[o,c]])}}}),oI=Object.freeze(Object.defineProperty({__proto__:null,VcAppSwitcher:bp},Symbol.toStringTag,{value:"Module"})),aI=()=>{const t=Xi(),{checkPermission:e}=qo(),n=l.ref([]);async function r(){const{getAccessToken:d}=zr(),h=new vf;return h.setAuthToken(await d()),h}async function i(){const d=await r();try{n.value=await d.getApps()}catch(h){throw t.error(h),h}}function s(d){e(d.permission)?d.relativeUrl&&(window.location.href=window.location.origin+d.relativeUrl):alert("Access restricted")}return{appsList:l.computed(()=>n.value),getApps:i,switchApp:s}},lI={install(t){Object.entries(oI).forEach(([e,n])=>{t.component(e,n)})}},Sp=l.defineComponent({__name:"vc-blade-navigation",props:{blades:{default:()=>[]},parentBladeOptions:{default:()=>({})},parentBladeParam:{default:void 0}},emits:["onOpen","onClose","onParentCall"],setup(t,{expose:e}){const n=t,r=Si.useRoute(),i=l.ref([]),s=l.ref();l.onBeforeUpdate(()=>{i.value=[s.value]});const d=c=>{c&&Object.keys(c).length&&i.value.push(c)},h=l.computed(()=>n.parentBladeParam?n.parentBladeParam:r.params.param);return e({bladesRefs:i}),(c,m)=>{const a=l.resolveComponent("router-view");return l.openBlock(),l.createElementBlock(l.Fragment,null,[l.createVNode(a,null,{default:l.withCtx(({Component:o,route:u})=>[l.withDirectives((l.openBlock(),l.createBlock(l.resolveDynamicComponent(o),{closable:!1,"onOpen:blade":m[0]||(m[0]=f=>c.$emit("onOpen",{blade:f,id:0})),options:t.parentBladeOptions,expanded:t.blades.length===0,param:l.unref(h),key:u,ref_key:"parentRef",ref:s},null,40,["options","expanded","param"])),[[l.vShow,c.$isMobile.value?!t.blades.length:t.blades.length<=1]])]),_:1}),(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(t.blades,(o,u)=>l.withDirectives((l.openBlock(),l.createBlock(l.resolveDynamicComponent(o.component),{key:`blade_${u}`,param:o.param,closable:u>=0,expanded:u===t.blades.length-1,options:o.bladeOptions,"onOpen:blade":f=>c.$emit("onOpen",{blade:f,id:o.idx}),"onClose:blade":f=>c.$emit("onClose",u),"onClose:children":f=>c.$emit("onClose",u+1),"onParent:call":f=>c.$emit("onParentCall",{id:u,cb:f}),ref_for:!0,ref:d},null,40,["param","closable","expanded","options","onOpen:blade","onClose:blade","onClose:children","onParent:call"])),[[l.vShow,u>=t.blades.length-(c.$isMobile.value?1:2)]])),128))],64)}}}),cI=Object.freeze(Object.defineProperty({__proto__:null,VcBladeNavigation:Sp},Symbol.toStringTag,{value:"Module"})),hn=l.ref([]),As=l.ref([]),id=l.ref(),sd=l.ref(),uI=()=>{const t=Si.useRouter(),e=Si.useRoute(),{checkPermission:n}=qo(),r=l.ref(!1);l.watch(()=>hn.value,a=>{const o=a[a.length-1];o&&o.component.url?o.param?c(o.component.url+"/"+o.param):c(o.component.url):o||c(e.path)},{deep:!0});async function i({parentBlade:a,component:o,param:u,bladeOptions:f,onOpen:p,onClose:g},v,y){console.debug(`openBlade(${1}) called.`);const x=l.unref(a),T=l.unref(o),k=m(T);if(x&&x.url&&(await s(0),!r.value))if(id.value=l.unref(f),sd.value=l.unref(u),y&&typeof y=="function")try{await y()}catch(b){console.log(b)}finally{console.debug(`Navigated to: ${x.url}`)}else y||await t.push(x.url);T&&(k===void 0?T.idx=v+1:k&&(await s(hn.value.findIndex(b=>b.idx===k.idx)),T.idx=k.idx),await d(T,u,f,p,g,v))}async function s(a){if(a<As.value.length){const o=As.value.slice(a).reverse();r.value=!1;for(let u=0;u<o.length;u++)if(o[u]?.onBeforeClose&&typeof o[u].onBeforeClose=="function"&&await o[u].onBeforeClose()===!1){r.value=!0;break}if(!r.value)typeof hn.value[a]?.onClose=="function"&&hn.value[a]?.onClose?.(),hn.value.splice(a);else throw"Closing prevented"}}async function d(a,o,u,f,p,g){hn.value.length>g&&await s(g),a&&n(a.permissions)?(hn.value.push({component:a,bladeOptions:u,param:o,onOpen:f,onClose:p,idx:a.idx}),f&&typeof f=="function"&&f()):alert("Access restricted")}async function h(a,o){if(console.debug(`vc-app#onParentCall(${a}, { method: ${o.method} }) called.`),a>=0){const u=l.unref(As.value[a]);if(u)if(o.method&&typeof u[o.method]=="function"){const f=u[o.method],p=await f(o.args);typeof o.callback=="function"&&o.callback(p)}else console.error(`No such method: ${o.method}.`)}}function c(a){history.pushState({},null,"#"+a)}function m(a){return hn.value.find(o=>ii(o.component,a))}return{blades:l.computed(()=>hn.value),parentBladeOptions:l.computed(()=>id.value),parentBladeParam:l.computed(()=>sd.value),bladesRefs:As,openBlade:i,closeBlade:s,onParentCall:h}},hI={install(t){Object.entries(cI).forEach(([e,n])=>{t.component(e,n)})}},dI=[XN,lI,hI];function xp(t){return dI.forEach(e=>t.use(e)),t}/**
|
|
1101
|
+
*/function Gh(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),n.push.apply(n,r)}return n}function rn(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?Gh(Object(n),!0).forEach(function(r){YR(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Gh(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}function Is(t){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Is=function(e){return typeof e}:Is=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Is(t)}function YR(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function kn(){return kn=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},kn.apply(this,arguments)}function JR(t,e){if(t==null)return{};var n={},r=Object.keys(t),i,s;for(s=0;s<r.length;s++)i=r[s],!(e.indexOf(i)>=0)&&(n[i]=t[i]);return n}function KR(t,e){if(t==null)return{};var n=JR(t,e),r,i;if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);for(i=0;i<s.length;i++)r=s[i],!(e.indexOf(r)>=0)&&(!Object.prototype.propertyIsEnumerable.call(t,r)||(n[r]=t[r]))}return n}var XR="1.14.0";function Sn(t){if(typeof window<"u"&&window.navigator)return!!navigator.userAgent.match(t)}var $n=Sn(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),ps=Sn(/Edge/i),Yh=Sn(/firefox/i),gi=Sn(/safari/i)&&!Sn(/chrome/i)&&!Sn(/android/i),Qm=Sn(/iP(ad|od|hone)/i),qR=Sn(/chrome/i)&&Sn(/android/i),Zm={capture:!1,passive:!1};function Me(t,e,n){t.addEventListener(e,n,!$n&&Zm)}function Ae(t,e,n){t.removeEventListener(e,n,!$n&&Zm)}function eo(t,e){if(!!e){if(e[0]===">"&&(e=e.substring(1)),t)try{if(t.matches)return t.matches(e);if(t.msMatchesSelector)return t.msMatchesSelector(e);if(t.webkitMatchesSelector)return t.webkitMatchesSelector(e)}catch{return!1}return!1}}function QR(t){return t.host&&t!==document&&t.host.nodeType?t.host:t.parentNode}function Xt(t,e,n,r){if(t){n=n||document;do{if(e!=null&&(e[0]===">"?t.parentNode===n&&eo(t,e):eo(t,e))||r&&t===n)return t;if(t===n)break}while(t=QR(t))}return null}var Jh=/\s+/g;function St(t,e,n){if(t&&e)if(t.classList)t.classList[n?"add":"remove"](e);else{var r=(" "+t.className+" ").replace(Jh," ").replace(" "+e+" "," ");t.className=(r+(n?" "+e:"")).replace(Jh," ")}}function pe(t,e,n){var r=t&&t.style;if(r){if(n===void 0)return document.defaultView&&document.defaultView.getComputedStyle?n=document.defaultView.getComputedStyle(t,""):t.currentStyle&&(n=t.currentStyle),e===void 0?n:n[e];!(e in r)&&e.indexOf("webkit")===-1&&(e="-webkit-"+e),r[e]=n+(typeof n=="string"?"":"px")}}function Rr(t,e){var n="";if(typeof t=="string")n=t;else do{var r=pe(t,"transform");r&&r!=="none"&&(n=r+" "+n)}while(!e&&(t=t.parentNode));var i=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return i&&new i(n)}function ep(t,e,n){if(t){var r=t.getElementsByTagName(e),i=0,s=r.length;if(n)for(;i<s;i++)n(r[i],i);return r}return[]}function Zt(){var t=document.scrollingElement;return t||document.documentElement}function Ze(t,e,n,r,i){if(!(!t.getBoundingClientRect&&t!==window)){var s,d,h,c,m,a,o;if(t!==window&&t.parentNode&&t!==Zt()?(s=t.getBoundingClientRect(),d=s.top,h=s.left,c=s.bottom,m=s.right,a=s.height,o=s.width):(d=0,h=0,c=window.innerHeight,m=window.innerWidth,a=window.innerHeight,o=window.innerWidth),(e||n)&&t!==window&&(i=i||t.parentNode,!$n))do if(i&&i.getBoundingClientRect&&(pe(i,"transform")!=="none"||n&&pe(i,"position")!=="static")){var u=i.getBoundingClientRect();d-=u.top+parseInt(pe(i,"border-top-width")),h-=u.left+parseInt(pe(i,"border-left-width")),c=d+s.height,m=h+s.width;break}while(i=i.parentNode);if(r&&t!==window){var f=Rr(i||t),p=f&&f.a,g=f&&f.d;f&&(d/=g,h/=p,o/=p,a/=g,c=d+a,m=h+o)}return{top:d,left:h,bottom:c,right:m,width:o,height:a}}}function Kh(t,e,n){for(var r=Vn(t,!0),i=Ze(t)[e];r;){var s=Ze(r)[n],d=void 0;if(n==="top"||n==="left"?d=i>=s:d=i<=s,!d)return r;if(r===Zt())break;r=Vn(r,!1)}return!1}function Hr(t,e,n,r){for(var i=0,s=0,d=t.children;s<d.length;){if(d[s].style.display!=="none"&&d[s]!==ge.ghost&&(r||d[s]!==ge.dragged)&&Xt(d[s],n.draggable,t,!1)){if(i===e)return d[s];i++}s++}return null}function nu(t,e){for(var n=t.lastElementChild;n&&(n===ge.ghost||pe(n,"display")==="none"||e&&!eo(n,e));)n=n.previousElementSibling;return n||null}function Mt(t,e){var n=0;if(!t||!t.parentNode)return-1;for(;t=t.previousElementSibling;)t.nodeName.toUpperCase()!=="TEMPLATE"&&t!==ge.clone&&(!e||eo(t,e))&&n++;return n}function Xh(t){var e=0,n=0,r=Zt();if(t)do{var i=Rr(t),s=i.a,d=i.d;e+=t.scrollLeft*s,n+=t.scrollTop*d}while(t!==r&&(t=t.parentNode));return[e,n]}function ZR(t,e){for(var n in t)if(!!t.hasOwnProperty(n)){for(var r in e)if(e.hasOwnProperty(r)&&e[r]===t[n][r])return Number(n)}return-1}function Vn(t,e){if(!t||!t.getBoundingClientRect)return Zt();var n=t,r=!1;do if(n.clientWidth<n.scrollWidth||n.clientHeight<n.scrollHeight){var i=pe(n);if(n.clientWidth<n.scrollWidth&&(i.overflowX=="auto"||i.overflowX=="scroll")||n.clientHeight<n.scrollHeight&&(i.overflowY=="auto"||i.overflowY=="scroll")){if(!n.getBoundingClientRect||n===document.body)return Zt();if(r||e)return n;r=!0}}while(n=n.parentNode);return Zt()}function eN(t,e){if(t&&e)for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}function Ra(t,e){return Math.round(t.top)===Math.round(e.top)&&Math.round(t.left)===Math.round(e.left)&&Math.round(t.height)===Math.round(e.height)&&Math.round(t.width)===Math.round(e.width)}var vi;function tp(t,e){return function(){if(!vi){var n=arguments,r=this;n.length===1?t.call(r,n[0]):t.apply(r,n),vi=setTimeout(function(){vi=void 0},e)}}}function tN(){clearTimeout(vi),vi=void 0}function np(t,e,n){t.scrollLeft+=e,t.scrollTop+=n}function rp(t){var e=window.Polymer,n=window.jQuery||window.Zepto;return e&&e.dom?e.dom(t).cloneNode(!0):n?n(t).clone(!0)[0]:t.cloneNode(!0)}var Et="Sortable"+new Date().getTime();function nN(){var t=[],e;return{captureAnimationState:function(){if(t=[],!!this.options.animation){var r=[].slice.call(this.el.children);r.forEach(function(i){if(!(pe(i,"display")==="none"||i===ge.ghost)){t.push({target:i,rect:Ze(i)});var s=rn({},t[t.length-1].rect);if(i.thisAnimationDuration){var d=Rr(i,!0);d&&(s.top-=d.f,s.left-=d.e)}i.fromRect=s}})}},addAnimationState:function(r){t.push(r)},removeAnimationState:function(r){t.splice(ZR(t,{target:r}),1)},animateAll:function(r){var i=this;if(!this.options.animation){clearTimeout(e),typeof r=="function"&&r();return}var s=!1,d=0;t.forEach(function(h){var c=0,m=h.target,a=m.fromRect,o=Ze(m),u=m.prevFromRect,f=m.prevToRect,p=h.rect,g=Rr(m,!0);g&&(o.top-=g.f,o.left-=g.e),m.toRect=o,m.thisAnimationDuration&&Ra(u,o)&&!Ra(a,o)&&(p.top-o.top)/(p.left-o.left)===(a.top-o.top)/(a.left-o.left)&&(c=iN(p,u,f,i.options)),Ra(o,a)||(m.prevFromRect=a,m.prevToRect=o,c||(c=i.options.animation),i.animate(m,p,o,c)),c&&(s=!0,d=Math.max(d,c),clearTimeout(m.animationResetTimer),m.animationResetTimer=setTimeout(function(){m.animationTime=0,m.prevFromRect=null,m.fromRect=null,m.prevToRect=null,m.thisAnimationDuration=null},c),m.thisAnimationDuration=c)}),clearTimeout(e),s?e=setTimeout(function(){typeof r=="function"&&r()},d):typeof r=="function"&&r(),t=[]},animate:function(r,i,s,d){if(d){pe(r,"transition",""),pe(r,"transform","");var h=Rr(this.el),c=h&&h.a,m=h&&h.d,a=(i.left-s.left)/(c||1),o=(i.top-s.top)/(m||1);r.animatingX=!!a,r.animatingY=!!o,pe(r,"transform","translate3d("+a+"px,"+o+"px,0)"),this.forRepaintDummy=rN(r),pe(r,"transition","transform "+d+"ms"+(this.options.easing?" "+this.options.easing:"")),pe(r,"transform","translate3d(0,0,0)"),typeof r.animated=="number"&&clearTimeout(r.animated),r.animated=setTimeout(function(){pe(r,"transition",""),pe(r,"transform",""),r.animated=!1,r.animatingX=!1,r.animatingY=!1},d)}}}}function rN(t){return t.offsetWidth}function iN(t,e,n,r){return Math.sqrt(Math.pow(e.top-t.top,2)+Math.pow(e.left-t.left,2))/Math.sqrt(Math.pow(e.top-n.top,2)+Math.pow(e.left-n.left,2))*r.animation}var xr=[],Na={initializeByDefault:!0},gs={mount:function(e){for(var n in Na)Na.hasOwnProperty(n)&&!(n in e)&&(e[n]=Na[n]);xr.forEach(function(r){if(r.pluginName===e.pluginName)throw"Sortable: Cannot mount plugin ".concat(e.pluginName," more than once")}),xr.push(e)},pluginEvent:function(e,n,r){var i=this;this.eventCanceled=!1,r.cancel=function(){i.eventCanceled=!0};var s=e+"Global";xr.forEach(function(d){!n[d.pluginName]||(n[d.pluginName][s]&&n[d.pluginName][s](rn({sortable:n},r)),n.options[d.pluginName]&&n[d.pluginName][e]&&n[d.pluginName][e](rn({sortable:n},r)))})},initializePlugins:function(e,n,r,i){xr.forEach(function(h){var c=h.pluginName;if(!(!e.options[c]&&!h.initializeByDefault)){var m=new h(e,n,e.options);m.sortable=e,m.options=e.options,e[c]=m,kn(r,m.defaults)}});for(var s in e.options)if(!!e.options.hasOwnProperty(s)){var d=this.modifyOption(e,s,e.options[s]);typeof d<"u"&&(e.options[s]=d)}},getEventProperties:function(e,n){var r={};return xr.forEach(function(i){typeof i.eventProperties=="function"&&kn(r,i.eventProperties.call(n[i.pluginName],e))}),r},modifyOption:function(e,n,r){var i;return xr.forEach(function(s){!e[s.pluginName]||s.optionListeners&&typeof s.optionListeners[n]=="function"&&(i=s.optionListeners[n].call(e[s.pluginName],r))}),i}};function sN(t){var e=t.sortable,n=t.rootEl,r=t.name,i=t.targetEl,s=t.cloneEl,d=t.toEl,h=t.fromEl,c=t.oldIndex,m=t.newIndex,a=t.oldDraggableIndex,o=t.newDraggableIndex,u=t.originalEvent,f=t.putSortable,p=t.extraEventProperties;if(e=e||n&&n[Et],!!e){var g,v=e.options,y="on"+r.charAt(0).toUpperCase()+r.substr(1);window.CustomEvent&&!$n&&!ps?g=new CustomEvent(r,{bubbles:!0,cancelable:!0}):(g=document.createEvent("Event"),g.initEvent(r,!0,!0)),g.to=d||n,g.from=h||n,g.item=i||n,g.clone=s,g.oldIndex=c,g.newIndex=m,g.oldDraggableIndex=a,g.newDraggableIndex=o,g.originalEvent=u,g.pullMode=f?f.lastPutMode:void 0;var x=rn(rn({},p),gs.getEventProperties(r,e));for(var T in x)g[T]=x[T];n&&n.dispatchEvent(g),v[y]&&v[y].call(e,g)}}var oN=["evt"],pt=function(e,n){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i=r.evt,s=KR(r,oN);gs.pluginEvent.bind(ge)(e,n,rn({dragEl:ie,parentEl:je,ghostEl:be,rootEl:Ue,nextEl:tr,lastDownEl:Ds,cloneEl:ze,cloneHidden:In,dragStarted:oi,putSortable:st,activeSortable:ge.active,originalEvent:i,oldIndex:Ar,oldDraggableIndex:wi,newIndex:xt,newDraggableIndex:Nn,hideGhostForTarget:ap,unhideGhostForTarget:lp,cloneNowHidden:function(){In=!0},cloneNowShown:function(){In=!1},dispatchSortableEvent:function(h){dt({sortable:n,name:h,originalEvent:i})}},s))};function dt(t){sN(rn({putSortable:st,cloneEl:ze,targetEl:ie,rootEl:Ue,oldIndex:Ar,oldDraggableIndex:wi,newIndex:xt,newDraggableIndex:Nn},t))}var ie,je,be,Ue,tr,Ds,ze,In,Ar,xt,wi,Nn,Cs,st,Er=!1,to=!1,no=[],Qn,Ut,Ia,Da,qh,Qh,oi,kr,yi,bi=!1,Es=!1,Ps,lt,Pa=[],Ol=!1,ro=[],ua=typeof document<"u",_s=Qm,Zh=ps||$n?"cssFloat":"float",aN=ua&&!qR&&!Qm&&"draggable"in document.createElement("div"),ip=function(){if(!!ua){if($n)return!1;var t=document.createElement("x");return t.style.cssText="pointer-events:auto",t.style.pointerEvents==="auto"}}(),sp=function(e,n){var r=pe(e),i=parseInt(r.width)-parseInt(r.paddingLeft)-parseInt(r.paddingRight)-parseInt(r.borderLeftWidth)-parseInt(r.borderRightWidth),s=Hr(e,0,n),d=Hr(e,1,n),h=s&&pe(s),c=d&&pe(d),m=h&&parseInt(h.marginLeft)+parseInt(h.marginRight)+Ze(s).width,a=c&&parseInt(c.marginLeft)+parseInt(c.marginRight)+Ze(d).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(s&&h.float&&h.float!=="none"){var o=h.float==="left"?"left":"right";return d&&(c.clear==="both"||c.clear===o)?"vertical":"horizontal"}return s&&(h.display==="block"||h.display==="flex"||h.display==="table"||h.display==="grid"||m>=i&&r[Zh]==="none"||d&&r[Zh]==="none"&&m+a>i)?"vertical":"horizontal"},lN=function(e,n,r){var i=r?e.left:e.top,s=r?e.right:e.bottom,d=r?e.width:e.height,h=r?n.left:n.top,c=r?n.right:n.bottom,m=r?n.width:n.height;return i===h||s===c||i+d/2===h+m/2},cN=function(e,n){var r;return no.some(function(i){var s=i[Et].options.emptyInsertThreshold;if(!(!s||nu(i))){var d=Ze(i),h=e>=d.left-s&&e<=d.right+s,c=n>=d.top-s&&n<=d.bottom+s;if(h&&c)return r=i}}),r},op=function(e){function n(s,d){return function(h,c,m,a){var o=h.options.group.name&&c.options.group.name&&h.options.group.name===c.options.group.name;if(s==null&&(d||o))return!0;if(s==null||s===!1)return!1;if(d&&s==="clone")return s;if(typeof s=="function")return n(s(h,c,m,a),d)(h,c,m,a);var u=(d?h:c).options.group.name;return s===!0||typeof s=="string"&&s===u||s.join&&s.indexOf(u)>-1}}var r={},i=e.group;(!i||Is(i)!="object")&&(i={name:i}),r.name=i.name,r.checkPull=n(i.pull,!0),r.checkPut=n(i.put),r.revertClone=i.revertClone,e.group=r},ap=function(){!ip&&be&&pe(be,"display","none")},lp=function(){!ip&&be&&pe(be,"display","")};ua&&document.addEventListener("click",function(t){if(to)return t.preventDefault(),t.stopPropagation&&t.stopPropagation(),t.stopImmediatePropagation&&t.stopImmediatePropagation(),to=!1,!1},!0);var Zn=function(e){if(ie){e=e.touches?e.touches[0]:e;var n=cN(e.clientX,e.clientY);if(n){var r={};for(var i in e)e.hasOwnProperty(i)&&(r[i]=e[i]);r.target=r.rootEl=n,r.preventDefault=void 0,r.stopPropagation=void 0,n[Et]._onDragOver(r)}}},uN=function(e){ie&&ie.parentNode[Et]._isOutsideThisEl(e.target)};function ge(t,e){if(!(t&&t.nodeType&&t.nodeType===1))throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(t));this.el=t,this.options=e=kn({},e),t[Et]=this;var n={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(t.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return sp(t,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(d,h){d.setData("Text",h.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:ge.supportPointer!==!1&&"PointerEvent"in window&&!gi,emptyInsertThreshold:5};gs.initializePlugins(this,t,n);for(var r in n)!(r in e)&&(e[r]=n[r]);op(e);for(var i in this)i.charAt(0)==="_"&&typeof this[i]=="function"&&(this[i]=this[i].bind(this));this.nativeDraggable=e.forceFallback?!1:aN,this.nativeDraggable&&(this.options.touchStartThreshold=1),e.supportPointer?Me(t,"pointerdown",this._onTapStart):(Me(t,"mousedown",this._onTapStart),Me(t,"touchstart",this._onTapStart)),this.nativeDraggable&&(Me(t,"dragover",this),Me(t,"dragenter",this)),no.push(this.el),e.store&&e.store.get&&this.sort(e.store.get(this)||[]),kn(this,nN())}ge.prototype={constructor:ge,_isOutsideThisEl:function(e){!this.el.contains(e)&&e!==this.el&&(kr=null)},_getDirection:function(e,n){return typeof this.options.direction=="function"?this.options.direction.call(this,e,n,ie):this.options.direction},_onTapStart:function(e){if(!!e.cancelable){var n=this,r=this.el,i=this.options,s=i.preventOnFilter,d=e.type,h=e.touches&&e.touches[0]||e.pointerType&&e.pointerType==="touch"&&e,c=(h||e).target,m=e.target.shadowRoot&&(e.path&&e.path[0]||e.composedPath&&e.composedPath()[0])||c,a=i.filter;if(wN(r),!ie&&!(/mousedown|pointerdown/.test(d)&&e.button!==0||i.disabled)&&!m.isContentEditable&&!(!this.nativeDraggable&&gi&&c&&c.tagName.toUpperCase()==="SELECT")&&(c=Xt(c,i.draggable,r,!1),!(c&&c.animated)&&Ds!==c)){if(Ar=Mt(c),wi=Mt(c,i.draggable),typeof a=="function"){if(a.call(this,e,c,this)){dt({sortable:n,rootEl:m,name:"filter",targetEl:c,toEl:r,fromEl:r}),pt("filter",n,{evt:e}),s&&e.cancelable&&e.preventDefault();return}}else if(a&&(a=a.split(",").some(function(o){if(o=Xt(m,o.trim(),r,!1),o)return dt({sortable:n,rootEl:o,name:"filter",targetEl:c,fromEl:r,toEl:r}),pt("filter",n,{evt:e}),!0}),a)){s&&e.cancelable&&e.preventDefault();return}i.handle&&!Xt(m,i.handle,r,!1)||this._prepareDragStart(e,h,c)}}},_prepareDragStart:function(e,n,r){var i=this,s=i.el,d=i.options,h=s.ownerDocument,c;if(r&&!ie&&r.parentNode===s){var m=Ze(r);if(Ue=s,ie=r,je=ie.parentNode,tr=ie.nextSibling,Ds=r,Cs=d.group,ge.dragged=ie,Qn={target:ie,clientX:(n||e).clientX,clientY:(n||e).clientY},qh=Qn.clientX-m.left,Qh=Qn.clientY-m.top,this._lastX=(n||e).clientX,this._lastY=(n||e).clientY,ie.style["will-change"]="all",c=function(){if(pt("delayEnded",i,{evt:e}),ge.eventCanceled){i._onDrop();return}i._disableDelayedDragEvents(),!Yh&&i.nativeDraggable&&(ie.draggable=!0),i._triggerDragStart(e,n),dt({sortable:i,name:"choose",originalEvent:e}),St(ie,d.chosenClass,!0)},d.ignore.split(",").forEach(function(a){ep(ie,a.trim(),Ba)}),Me(h,"dragover",Zn),Me(h,"mousemove",Zn),Me(h,"touchmove",Zn),Me(h,"mouseup",i._onDrop),Me(h,"touchend",i._onDrop),Me(h,"touchcancel",i._onDrop),Yh&&this.nativeDraggable&&(this.options.touchStartThreshold=4,ie.draggable=!0),pt("delayStart",this,{evt:e}),d.delay&&(!d.delayOnTouchOnly||n)&&(!this.nativeDraggable||!(ps||$n))){if(ge.eventCanceled){this._onDrop();return}Me(h,"mouseup",i._disableDelayedDrag),Me(h,"touchend",i._disableDelayedDrag),Me(h,"touchcancel",i._disableDelayedDrag),Me(h,"mousemove",i._delayedDragTouchMoveHandler),Me(h,"touchmove",i._delayedDragTouchMoveHandler),d.supportPointer&&Me(h,"pointermove",i._delayedDragTouchMoveHandler),i._dragStartTimer=setTimeout(c,d.delay)}else c()}},_delayedDragTouchMoveHandler:function(e){var n=e.touches?e.touches[0]:e;Math.max(Math.abs(n.clientX-this._lastX),Math.abs(n.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){ie&&Ba(ie),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var e=this.el.ownerDocument;Ae(e,"mouseup",this._disableDelayedDrag),Ae(e,"touchend",this._disableDelayedDrag),Ae(e,"touchcancel",this._disableDelayedDrag),Ae(e,"mousemove",this._delayedDragTouchMoveHandler),Ae(e,"touchmove",this._delayedDragTouchMoveHandler),Ae(e,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(e,n){n=n||e.pointerType=="touch"&&e,!this.nativeDraggable||n?this.options.supportPointer?Me(document,"pointermove",this._onTouchMove):n?Me(document,"touchmove",this._onTouchMove):Me(document,"mousemove",this._onTouchMove):(Me(ie,"dragend",this),Me(Ue,"dragstart",this._onDragStart));try{document.selection?Bs(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch{}},_dragStarted:function(e,n){if(Er=!1,Ue&&ie){pt("dragStarted",this,{evt:n}),this.nativeDraggable&&Me(document,"dragover",uN);var r=this.options;!e&&St(ie,r.dragClass,!1),St(ie,r.ghostClass,!0),ge.active=this,e&&this._appendGhost(),dt({sortable:this,name:"start",originalEvent:n})}else this._nulling()},_emulateDragOver:function(){if(Ut){this._lastX=Ut.clientX,this._lastY=Ut.clientY,ap();for(var e=document.elementFromPoint(Ut.clientX,Ut.clientY),n=e;e&&e.shadowRoot&&(e=e.shadowRoot.elementFromPoint(Ut.clientX,Ut.clientY),e!==n);)n=e;if(ie.parentNode[Et]._isOutsideThisEl(e),n)do{if(n[Et]){var r=void 0;if(r=n[Et]._onDragOver({clientX:Ut.clientX,clientY:Ut.clientY,target:e,rootEl:n}),r&&!this.options.dragoverBubble)break}e=n}while(n=n.parentNode);lp()}},_onTouchMove:function(e){if(Qn){var n=this.options,r=n.fallbackTolerance,i=n.fallbackOffset,s=e.touches?e.touches[0]:e,d=be&&Rr(be,!0),h=be&&d&&d.a,c=be&&d&&d.d,m=_s&<&&Xh(lt),a=(s.clientX-Qn.clientX+i.x)/(h||1)+(m?m[0]-Pa[0]:0)/(h||1),o=(s.clientY-Qn.clientY+i.y)/(c||1)+(m?m[1]-Pa[1]:0)/(c||1);if(!ge.active&&!Er){if(r&&Math.max(Math.abs(s.clientX-this._lastX),Math.abs(s.clientY-this._lastY))<r)return;this._onDragStart(e,!0)}if(be){d?(d.e+=a-(Ia||0),d.f+=o-(Da||0)):d={a:1,b:0,c:0,d:1,e:a,f:o};var u="matrix(".concat(d.a,",").concat(d.b,",").concat(d.c,",").concat(d.d,",").concat(d.e,",").concat(d.f,")");pe(be,"webkitTransform",u),pe(be,"mozTransform",u),pe(be,"msTransform",u),pe(be,"transform",u),Ia=a,Da=o,Ut=s}e.cancelable&&e.preventDefault()}},_appendGhost:function(){if(!be){var e=this.options.fallbackOnBody?document.body:Ue,n=Ze(ie,!0,_s,!0,e),r=this.options;if(_s){for(lt=e;pe(lt,"position")==="static"&&pe(lt,"transform")==="none"&<!==document;)lt=lt.parentNode;lt!==document.body&<!==document.documentElement?(lt===document&&(lt=Zt()),n.top+=lt.scrollTop,n.left+=lt.scrollLeft):lt=Zt(),Pa=Xh(lt)}be=ie.cloneNode(!0),St(be,r.ghostClass,!1),St(be,r.fallbackClass,!0),St(be,r.dragClass,!0),pe(be,"transition",""),pe(be,"transform",""),pe(be,"box-sizing","border-box"),pe(be,"margin",0),pe(be,"top",n.top),pe(be,"left",n.left),pe(be,"width",n.width),pe(be,"height",n.height),pe(be,"opacity","0.8"),pe(be,"position",_s?"absolute":"fixed"),pe(be,"zIndex","100000"),pe(be,"pointerEvents","none"),ge.ghost=be,e.appendChild(be),pe(be,"transform-origin",qh/parseInt(be.style.width)*100+"% "+Qh/parseInt(be.style.height)*100+"%")}},_onDragStart:function(e,n){var r=this,i=e.dataTransfer,s=r.options;if(pt("dragStart",this,{evt:e}),ge.eventCanceled){this._onDrop();return}pt("setupClone",this),ge.eventCanceled||(ze=rp(ie),ze.draggable=!1,ze.style["will-change"]="",this._hideClone(),St(ze,this.options.chosenClass,!1),ge.clone=ze),r.cloneId=Bs(function(){pt("clone",r),!ge.eventCanceled&&(r.options.removeCloneOnHide||Ue.insertBefore(ze,ie),r._hideClone(),dt({sortable:r,name:"clone"}))}),!n&&St(ie,s.dragClass,!0),n?(to=!0,r._loopId=setInterval(r._emulateDragOver,50)):(Ae(document,"mouseup",r._onDrop),Ae(document,"touchend",r._onDrop),Ae(document,"touchcancel",r._onDrop),i&&(i.effectAllowed="move",s.setData&&s.setData.call(r,i,ie)),Me(document,"drop",r),pe(ie,"transform","translateZ(0)")),Er=!0,r._dragStartId=Bs(r._dragStarted.bind(r,n,e)),Me(document,"selectstart",r),oi=!0,gi&&pe(document.body,"user-select","none")},_onDragOver:function(e){var n=this.el,r=e.target,i,s,d,h=this.options,c=h.group,m=ge.active,a=Cs===c,o=h.sort,u=st||m,f,p=this,g=!1;if(Ol)return;function v(B,P){pt(B,p,rn({evt:e,isOwner:a,axis:f?"vertical":"horizontal",revert:d,dragRect:i,targetRect:s,canSort:o,fromSortable:u,target:r,completed:x,onMove:function(Y,G){return Ts(Ue,n,ie,i,Y,Ze(Y),e,G)},changed:T},P))}function y(){v("dragOverAnimationCapture"),p.captureAnimationState(),p!==u&&u.captureAnimationState()}function x(B){return v("dragOverCompleted",{insertion:B}),B&&(a?m._hideClone():m._showClone(p),p!==u&&(St(ie,st?st.options.ghostClass:m.options.ghostClass,!1),St(ie,h.ghostClass,!0)),st!==p&&p!==ge.active?st=p:p===ge.active&&st&&(st=null),u===p&&(p._ignoreWhileAnimating=r),p.animateAll(function(){v("dragOverAnimationComplete"),p._ignoreWhileAnimating=null}),p!==u&&(u.animateAll(),u._ignoreWhileAnimating=null)),(r===ie&&!ie.animated||r===n&&!r.animated)&&(kr=null),!h.dragoverBubble&&!e.rootEl&&r!==document&&(ie.parentNode[Et]._isOutsideThisEl(e.target),!B&&Zn(e)),!h.dragoverBubble&&e.stopPropagation&&e.stopPropagation(),g=!0}function T(){xt=Mt(ie),Nn=Mt(ie,h.draggable),dt({sortable:p,name:"change",toEl:n,newIndex:xt,newDraggableIndex:Nn,originalEvent:e})}if(e.preventDefault!==void 0&&e.cancelable&&e.preventDefault(),r=Xt(r,h.draggable,n,!0),v("dragOver"),ge.eventCanceled)return g;if(ie.contains(e.target)||r.animated&&r.animatingX&&r.animatingY||p._ignoreWhileAnimating===r)return x(!1);if(to=!1,m&&!h.disabled&&(a?o||(d=je!==Ue):st===this||(this.lastPutMode=Cs.checkPull(this,m,ie,e))&&c.checkPut(this,m,ie,e))){if(f=this._getDirection(e,r)==="vertical",i=Ze(ie),v("dragOverValid"),ge.eventCanceled)return g;if(d)return je=Ue,y(),this._hideClone(),v("revert"),ge.eventCanceled||(tr?Ue.insertBefore(ie,tr):Ue.appendChild(ie)),x(!0);var k=nu(n,h.draggable);if(!k||mN(e,f,this)&&!k.animated){if(k===ie)return x(!1);if(k&&n===e.target&&(r=k),r&&(s=Ze(r)),Ts(Ue,n,ie,i,r,s,e,!!r)!==!1)return y(),n.appendChild(ie),je=n,T(),x(!0)}else if(k&&fN(e,f,this)){var b=Hr(n,0,h,!0);if(b===ie)return x(!1);if(r=b,s=Ze(r),Ts(Ue,n,ie,i,r,s,e,!1)!==!1)return y(),n.insertBefore(ie,b),je=n,T(),x(!0)}else if(r.parentNode===n){s=Ze(r);var C=0,$,_=ie.parentNode!==n,S=!lN(ie.animated&&ie.toRect||i,r.animated&&r.toRect||s,f),w=f?"top":"left",E=Kh(r,"top","top")||Kh(ie,"top","top"),A=E?E.scrollTop:void 0;kr!==r&&($=s[w],bi=!1,Es=!S&&h.invertSwap||_),C=pN(e,r,s,f,S?1:h.swapThreshold,h.invertedSwapThreshold==null?h.swapThreshold:h.invertedSwapThreshold,Es,kr===r);var O;if(C!==0){var L=Mt(ie);do L-=C,O=je.children[L];while(O&&(pe(O,"display")==="none"||O===be))}if(C===0||O===r)return x(!1);kr=r,yi=C;var M=r.nextElementSibling,R=!1;R=C===1;var D=Ts(Ue,n,ie,i,r,s,e,R);if(D!==!1)return(D===1||D===-1)&&(R=D===1),Ol=!0,setTimeout(dN,30),y(),R&&!M?n.appendChild(ie):r.parentNode.insertBefore(ie,R?M:r),E&&np(E,0,A-E.scrollTop),je=ie.parentNode,$!==void 0&&!Es&&(Ps=Math.abs($-Ze(r)[w])),T(),x(!0)}if(n.contains(ie))return x(!1)}return!1},_ignoreWhileAnimating:null,_offMoveEvents:function(){Ae(document,"mousemove",this._onTouchMove),Ae(document,"touchmove",this._onTouchMove),Ae(document,"pointermove",this._onTouchMove),Ae(document,"dragover",Zn),Ae(document,"mousemove",Zn),Ae(document,"touchmove",Zn)},_offUpEvents:function(){var e=this.el.ownerDocument;Ae(e,"mouseup",this._onDrop),Ae(e,"touchend",this._onDrop),Ae(e,"pointerup",this._onDrop),Ae(e,"touchcancel",this._onDrop),Ae(document,"selectstart",this)},_onDrop:function(e){var n=this.el,r=this.options;if(xt=Mt(ie),Nn=Mt(ie,r.draggable),pt("drop",this,{evt:e}),je=ie&&ie.parentNode,xt=Mt(ie),Nn=Mt(ie,r.draggable),ge.eventCanceled){this._nulling();return}Er=!1,Es=!1,bi=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),Ll(this.cloneId),Ll(this._dragStartId),this.nativeDraggable&&(Ae(document,"drop",this),Ae(n,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),gi&&pe(document.body,"user-select",""),pe(ie,"transform",""),e&&(oi&&(e.cancelable&&e.preventDefault(),!r.dropBubble&&e.stopPropagation()),be&&be.parentNode&&be.parentNode.removeChild(be),(Ue===je||st&&st.lastPutMode!=="clone")&&ze&&ze.parentNode&&ze.parentNode.removeChild(ze),ie&&(this.nativeDraggable&&Ae(ie,"dragend",this),Ba(ie),ie.style["will-change"]="",oi&&!Er&&St(ie,st?st.options.ghostClass:this.options.ghostClass,!1),St(ie,this.options.chosenClass,!1),dt({sortable:this,name:"unchoose",toEl:je,newIndex:null,newDraggableIndex:null,originalEvent:e}),Ue!==je?(xt>=0&&(dt({rootEl:je,name:"add",toEl:je,fromEl:Ue,originalEvent:e}),dt({sortable:this,name:"remove",toEl:je,originalEvent:e}),dt({rootEl:je,name:"sort",toEl:je,fromEl:Ue,originalEvent:e}),dt({sortable:this,name:"sort",toEl:je,originalEvent:e})),st&&st.save()):xt!==Ar&&xt>=0&&(dt({sortable:this,name:"update",toEl:je,originalEvent:e}),dt({sortable:this,name:"sort",toEl:je,originalEvent:e})),ge.active&&((xt==null||xt===-1)&&(xt=Ar,Nn=wi),dt({sortable:this,name:"end",toEl:je,originalEvent:e}),this.save()))),this._nulling()},_nulling:function(){pt("nulling",this),Ue=ie=je=be=tr=ze=Ds=In=Qn=Ut=oi=xt=Nn=Ar=wi=kr=yi=st=Cs=ge.dragged=ge.ghost=ge.clone=ge.active=null,ro.forEach(function(e){e.checked=!0}),ro.length=Ia=Da=0},handleEvent:function(e){switch(e.type){case"drop":case"dragend":this._onDrop(e);break;case"dragenter":case"dragover":ie&&(this._onDragOver(e),hN(e));break;case"selectstart":e.preventDefault();break}},toArray:function(){for(var e=[],n,r=this.el.children,i=0,s=r.length,d=this.options;i<s;i++)n=r[i],Xt(n,d.draggable,this.el,!1)&&e.push(n.getAttribute(d.dataIdAttr)||vN(n));return e},sort:function(e,n){var r={},i=this.el;this.toArray().forEach(function(s,d){var h=i.children[d];Xt(h,this.options.draggable,i,!1)&&(r[s]=h)},this),n&&this.captureAnimationState(),e.forEach(function(s){r[s]&&(i.removeChild(r[s]),i.appendChild(r[s]))}),n&&this.animateAll()},save:function(){var e=this.options.store;e&&e.set&&e.set(this)},closest:function(e,n){return Xt(e,n||this.options.draggable,this.el,!1)},option:function(e,n){var r=this.options;if(n===void 0)return r[e];var i=gs.modifyOption(this,e,n);typeof i<"u"?r[e]=i:r[e]=n,e==="group"&&op(r)},destroy:function(){pt("destroy",this);var e=this.el;e[Et]=null,Ae(e,"mousedown",this._onTapStart),Ae(e,"touchstart",this._onTapStart),Ae(e,"pointerdown",this._onTapStart),this.nativeDraggable&&(Ae(e,"dragover",this),Ae(e,"dragenter",this)),Array.prototype.forEach.call(e.querySelectorAll("[draggable]"),function(n){n.removeAttribute("draggable")}),this._onDrop(),this._disableDelayedDragEvents(),no.splice(no.indexOf(this.el),1),this.el=e=null},_hideClone:function(){if(!In){if(pt("hideClone",this),ge.eventCanceled)return;pe(ze,"display","none"),this.options.removeCloneOnHide&&ze.parentNode&&ze.parentNode.removeChild(ze),In=!0}},_showClone:function(e){if(e.lastPutMode!=="clone"){this._hideClone();return}if(In){if(pt("showClone",this),ge.eventCanceled)return;ie.parentNode==Ue&&!this.options.group.revertClone?Ue.insertBefore(ze,ie):tr?Ue.insertBefore(ze,tr):Ue.appendChild(ze),this.options.group.revertClone&&this.animate(ie,ze),pe(ze,"display",""),In=!1}}};function hN(t){t.dataTransfer&&(t.dataTransfer.dropEffect="move"),t.cancelable&&t.preventDefault()}function Ts(t,e,n,r,i,s,d,h){var c,m=t[Et],a=m.options.onMove,o;return window.CustomEvent&&!$n&&!ps?c=new CustomEvent("move",{bubbles:!0,cancelable:!0}):(c=document.createEvent("Event"),c.initEvent("move",!0,!0)),c.to=e,c.from=t,c.dragged=n,c.draggedRect=r,c.related=i||e,c.relatedRect=s||Ze(e),c.willInsertAfter=h,c.originalEvent=d,t.dispatchEvent(c),a&&(o=a.call(m,c,d)),o}function Ba(t){t.draggable=!1}function dN(){Ol=!1}function fN(t,e,n){var r=Ze(Hr(n.el,0,n.options,!0)),i=10;return e?t.clientX<r.left-i||t.clientY<r.top&&t.clientX<r.right:t.clientY<r.top-i||t.clientY<r.bottom&&t.clientX<r.left}function mN(t,e,n){var r=Ze(nu(n.el,n.options.draggable)),i=10;return e?t.clientX>r.right+i||t.clientX<=r.right&&t.clientY>r.bottom&&t.clientX>=r.left:t.clientX>r.right&&t.clientY>r.top||t.clientX<=r.right&&t.clientY>r.bottom+i}function pN(t,e,n,r,i,s,d,h){var c=r?t.clientY:t.clientX,m=r?n.height:n.width,a=r?n.top:n.left,o=r?n.bottom:n.right,u=!1;if(!d){if(h&&Ps<m*i){if(!bi&&(yi===1?c>a+m*s/2:c<o-m*s/2)&&(bi=!0),bi)u=!0;else if(yi===1?c<a+Ps:c>o-Ps)return-yi}else if(c>a+m*(1-i)/2&&c<o-m*(1-i)/2)return gN(e)}return u=u||d,u&&(c<a+m*s/2||c>o-m*s/2)?c>a+m/2?1:-1:0}function gN(t){return Mt(ie)<Mt(t)?1:-1}function vN(t){for(var e=t.tagName+t.className+t.src+t.href+t.textContent,n=e.length,r=0;n--;)r+=e.charCodeAt(n);return r.toString(36)}function wN(t){ro.length=0;for(var e=t.getElementsByTagName("input"),n=e.length;n--;){var r=e[n];r.checked&&ro.push(r)}}function Bs(t){return setTimeout(t,0)}function Ll(t){return clearTimeout(t)}ua&&Me(document,"touchmove",function(t){(ge.active||Er)&&t.cancelable&&t.preventDefault()});ge.utils={on:Me,off:Ae,css:pe,find:ep,is:function(e,n){return!!Xt(e,n,e,!1)},extend:eN,throttle:tp,closest:Xt,toggleClass:St,clone:rp,index:Mt,nextTick:Bs,cancelNextTick:Ll,detectDirection:sp,getChild:Hr};ge.get=function(t){return t[Et]};ge.mount=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];e[0].constructor===Array&&(e=e[0]),e.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&&(ge.utils=rn(rn({},ge.utils),r.utils)),gs.mount(r)})};ge.create=function(t,e){return new ge(t,e)};ge.version=XR;var qe=[],ai,Ml,Rl=!1,Fa,Va,io,li;function yN(){function t(){this.defaults={scroll:!0,forceAutoScrollFallback:!1,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0};for(var e in this)e.charAt(0)==="_"&&typeof this[e]=="function"&&(this[e]=this[e].bind(this))}return t.prototype={dragStarted:function(n){var r=n.originalEvent;this.sortable.nativeDraggable?Me(document,"dragover",this._handleAutoScroll):this.options.supportPointer?Me(document,"pointermove",this._handleFallbackAutoScroll):r.touches?Me(document,"touchmove",this._handleFallbackAutoScroll):Me(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(n){var r=n.originalEvent;!this.options.dragOverBubble&&!r.rootEl&&this._handleAutoScroll(r)},drop:function(){this.sortable.nativeDraggable?Ae(document,"dragover",this._handleAutoScroll):(Ae(document,"pointermove",this._handleFallbackAutoScroll),Ae(document,"touchmove",this._handleFallbackAutoScroll),Ae(document,"mousemove",this._handleFallbackAutoScroll)),ed(),Fs(),tN()},nulling:function(){io=Ml=ai=Rl=li=Fa=Va=null,qe.length=0},_handleFallbackAutoScroll:function(n){this._handleAutoScroll(n,!0)},_handleAutoScroll:function(n,r){var i=this,s=(n.touches?n.touches[0]:n).clientX,d=(n.touches?n.touches[0]:n).clientY,h=document.elementFromPoint(s,d);if(io=n,r||this.options.forceAutoScrollFallback||ps||$n||gi){Ua(n,this.options,h,r);var c=Vn(h,!0);Rl&&(!li||s!==Fa||d!==Va)&&(li&&ed(),li=setInterval(function(){var m=Vn(document.elementFromPoint(s,d),!0);m!==c&&(c=m,Fs()),Ua(n,i.options,m,r)},10),Fa=s,Va=d)}else{if(!this.options.bubbleScroll||Vn(h,!0)===Zt()){Fs();return}Ua(n,this.options,Vn(h,!1),!1)}}},kn(t,{pluginName:"scroll",initializeByDefault:!0})}function Fs(){qe.forEach(function(t){clearInterval(t.pid)}),qe=[]}function ed(){clearInterval(li)}var Ua=tp(function(t,e,n,r){if(!!e.scroll){var i=(t.touches?t.touches[0]:t).clientX,s=(t.touches?t.touches[0]:t).clientY,d=e.scrollSensitivity,h=e.scrollSpeed,c=Zt(),m=!1,a;Ml!==n&&(Ml=n,Fs(),ai=e.scroll,a=e.scrollFn,ai===!0&&(ai=Vn(n,!0)));var o=0,u=ai;do{var f=u,p=Ze(f),g=p.top,v=p.bottom,y=p.left,x=p.right,T=p.width,k=p.height,b=void 0,C=void 0,$=f.scrollWidth,_=f.scrollHeight,S=pe(f),w=f.scrollLeft,E=f.scrollTop;f===c?(b=T<$&&(S.overflowX==="auto"||S.overflowX==="scroll"||S.overflowX==="visible"),C=k<_&&(S.overflowY==="auto"||S.overflowY==="scroll"||S.overflowY==="visible")):(b=T<$&&(S.overflowX==="auto"||S.overflowX==="scroll"),C=k<_&&(S.overflowY==="auto"||S.overflowY==="scroll"));var A=b&&(Math.abs(x-i)<=d&&w+T<$)-(Math.abs(y-i)<=d&&!!w),O=C&&(Math.abs(v-s)<=d&&E+k<_)-(Math.abs(g-s)<=d&&!!E);if(!qe[o])for(var L=0;L<=o;L++)qe[L]||(qe[L]={});(qe[o].vx!=A||qe[o].vy!=O||qe[o].el!==f)&&(qe[o].el=f,qe[o].vx=A,qe[o].vy=O,clearInterval(qe[o].pid),(A!=0||O!=0)&&(m=!0,qe[o].pid=setInterval(function(){r&&this.layer===0&&ge.active._onTouchMove(io);var M=qe[this.layer].vy?qe[this.layer].vy*h:0,R=qe[this.layer].vx?qe[this.layer].vx*h:0;typeof a=="function"&&a.call(ge.dragged.parentNode[Et],R,M,t,io,qe[this.layer].el)!=="continue"||np(qe[this.layer].el,R,M)}.bind({layer:o}),24))),o++}while(e.bubbleScroll&&u!==c&&(u=Vn(u,!1)));Rl=m}},30),cp=function(e){var n=e.originalEvent,r=e.putSortable,i=e.dragEl,s=e.activeSortable,d=e.dispatchSortableEvent,h=e.hideGhostForTarget,c=e.unhideGhostForTarget;if(!!n){var m=r||s;h();var a=n.changedTouches&&n.changedTouches.length?n.changedTouches[0]:n,o=document.elementFromPoint(a.clientX,a.clientY);c(),m&&!m.el.contains(o)&&(d("spill"),this.onSpill({dragEl:i,putSortable:r}))}};function ru(){}ru.prototype={startIndex:null,dragStart:function(e){var n=e.oldDraggableIndex;this.startIndex=n},onSpill:function(e){var n=e.dragEl,r=e.putSortable;this.sortable.captureAnimationState(),r&&r.captureAnimationState();var i=Hr(this.sortable.el,this.startIndex,this.options);i?this.sortable.el.insertBefore(n,i):this.sortable.el.appendChild(n),this.sortable.animateAll(),r&&r.animateAll()},drop:cp};kn(ru,{pluginName:"revertOnSpill"});function iu(){}iu.prototype={onSpill:function(e){var n=e.dragEl,r=e.putSortable,i=r||this.sortable;i.captureAnimationState(),n.parentNode&&n.parentNode.removeChild(n),i.animateAll()},drop:cp};kn(iu,{pluginName:"removeOnSpill"});ge.mount(new yN);ge.mount(iu,ru);function Wa(t){t.parentElement!==null&&t.parentElement.removeChild(t)}function td(t,e,n){const r=n===0?t.children[0]:t.children[n-1].nextSibling;t.insertBefore(e,r)}function bN(){return typeof window<"u"?window.console:global.console}const SN=bN();function xN(t){const e=Object.create(null);return function(r){return e[r]||(e[r]=t(r))}}const kN=/-(\w)/g,CN=xN(t=>t.replace(kN,(e,n)=>n.toUpperCase())),up=["Start","Add","Remove","Update","End"],hp=["Choose","Unchoose","Sort","Filter","Clone"],dp=["Move"],EN=[dp,up,hp].flatMap(t=>t).map(t=>`on${t}`),Nl={manage:dp,manageAndEmit:up,emit:hp};function _N(t){return EN.indexOf(t)!==-1}const TN=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","link","main","map","mark","math","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rb","rp","rt","rtc","ruby","s","samp","script","section","select","slot","small","source","span","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr"];function AN(t){return TN.includes(t)}function $N(t){return["transition-group","TransitionGroup"].includes(t)}function fp(t){return["id","class","role","style"].includes(t)||t.startsWith("data-")||t.startsWith("aria-")||t.startsWith("on")}function mp(t){return t.reduce((e,[n,r])=>(e[n]=r,e),{})}function ON({$attrs:t,componentData:e={}}){return{...mp(Object.entries(t).filter(([r,i])=>fp(r))),...e}}function LN({$attrs:t,callBackBuilder:e}){const n=mp(pp(t));Object.entries(e).forEach(([i,s])=>{Nl[i].forEach(d=>{n[`on${d}`]=s(d)})});const r=`[data-draggable]${n.draggable||""}`;return{...n,draggable:r}}function pp(t){return Object.entries(t).filter(([e,n])=>!fp(e)).map(([e,n])=>[CN(e),n]).filter(([e,n])=>!_N(e))}const nd=({el:t})=>t,MN=(t,e)=>t.__draggable_context=e,rd=t=>t.__draggable_context;class RN{constructor({nodes:{header:e,default:n,footer:r},root:i,realList:s}){this.defaultNodes=n,this.children=[...e,...n,...r],this.externalComponent=i.externalComponent,this.rootTransition=i.transition,this.tag=i.tag,this.realList=s}get _isRootComponent(){return this.externalComponent||this.rootTransition}render(e,n){const{tag:r,children:i,_isRootComponent:s}=this;return e(r,n,s?{default:()=>i}:i)}updated(){const{defaultNodes:e,realList:n}=this;e.forEach((r,i)=>{MN(nd(r),{element:n[i],index:i})})}getUnderlyingVm(e){return rd(e)}getVmIndexFromDomIndex(e,n){const{defaultNodes:r}=this,{length:i}=r,s=n.children,d=s.item(e);if(d===null)return i;const h=rd(d);if(h)return h.index;if(i===0)return 0;const c=nd(r[0]),m=[...s].findIndex(a=>a===c);return e<m?0:i}}function NN(t,e){const n=t[e];return n?n():[]}function IN({$slots:t,realList:e,getKey:n}){const r=e||[],[i,s]=["header","footer"].map(c=>NN(t,c)),{item:d}=t;if(!d)throw new Error("draggable element must have an item slot");const h=r.flatMap((c,m)=>d({element:c,index:m}).map(a=>(a.key=n(c),a.props={...a.props||{},"data-draggable":!0},a)));if(h.length!==r.length)throw new Error("Item slot must have only one child");return{header:i,footer:s,default:h}}function DN(t){const e=$N(t),n=!AN(t)&&!e;return{transition:e,externalComponent:n,tag:n?l.resolveComponent(t):e?l.TransitionGroup:t}}function PN({$slots:t,tag:e,realList:n,getKey:r}){const i=IN({$slots:t,realList:n,getKey:r}),s=DN(e);return new RN({nodes:i,root:s,realList:n})}function gp(t,e){l.nextTick(()=>this.$emit(t.toLowerCase(),e))}function vp(t){return(e,n)=>{if(this.realList!==null)return this[`onDrag${t}`](e,n)}}function BN(t){const e=vp.call(this,t);return(n,r)=>{e.call(this,n,r),gp.call(this,t,n)}}let Ha=null;const FN={list:{type:Array,required:!1,default:null},modelValue:{type:Array,required:!1,default:null},itemKey:{type:[String,Function],required:!0},clone:{type:Function,default:t=>t},tag:{type:String,default:"div"},move:{type:Function,default:null},componentData:{type:Object,required:!1,default:null}},VN=["update:modelValue","change",...[...Nl.manageAndEmit,...Nl.emit].map(t=>t.toLowerCase())],UN=l.defineComponent({name:"draggable",inheritAttrs:!1,props:FN,emits:VN,data(){return{error:!1}},render(){try{this.error=!1;const{$slots:t,$attrs:e,tag:n,componentData:r,realList:i,getKey:s}=this,d=PN({$slots:t,tag:n,realList:i,getKey:s});this.componentStructure=d;const h=ON({$attrs:e,componentData:r});return d.render(l.h,h)}catch(t){return this.error=!0,l.h("pre",{style:{color:"red"}},t.stack)}},created(){this.list!==null&&this.modelValue!==null&&SN.error("modelValue and list props are mutually exclusive! Please set one or another.")},mounted(){if(this.error)return;const{$attrs:t,$el:e,componentStructure:n}=this;n.updated();const r=LN({$attrs:t,callBackBuilder:{manageAndEmit:s=>BN.call(this,s),emit:s=>gp.bind(this,s),manage:s=>vp.call(this,s)}}),i=e.nodeType===1?e:e.parentElement;this._sortable=new ge(i,r),this.targetDomElement=i,i.__draggable_component__=this},updated(){this.componentStructure.updated()},beforeUnmount(){this._sortable!==void 0&&this._sortable.destroy()},computed:{realList(){const{list:t}=this;return t||this.modelValue},getKey(){const{itemKey:t}=this;return typeof t=="function"?t:e=>e[t]}},watch:{$attrs:{handler(t){const{_sortable:e}=this;!e||pp(t).forEach(([n,r])=>{e.option(n,r)})},deep:!0}},methods:{getUnderlyingVm(t){return this.componentStructure.getUnderlyingVm(t)||null},getUnderlyingPotencialDraggableComponent(t){return t.__draggable_component__},emitChanges(t){l.nextTick(()=>this.$emit("change",t))},alterList(t){if(this.list){t(this.list);return}const e=[...this.modelValue];t(e),this.$emit("update:modelValue",e)},spliceList(){const t=e=>e.splice(...arguments);this.alterList(t)},updatePosition(t,e){const n=r=>r.splice(e,0,r.splice(t,1)[0]);this.alterList(n)},getRelatedContextFromMoveEvent({to:t,related:e}){const n=this.getUnderlyingPotencialDraggableComponent(t);if(!n)return{component:n};const r=n.realList,i={list:r,component:n};return t!==e&&r?{...n.getUnderlyingVm(e)||{},...i}:i},getVmIndexFromDomIndex(t){return this.componentStructure.getVmIndexFromDomIndex(t,this.targetDomElement)},onDragStart(t){this.context=this.getUnderlyingVm(t.item),t.item._underlying_vm_=this.clone(this.context.element),Ha=t.item},onDragAdd(t){const e=t.item._underlying_vm_;if(e===void 0)return;Wa(t.item);const n=this.getVmIndexFromDomIndex(t.newIndex);this.spliceList(n,0,e);const r={element:e,newIndex:n};this.emitChanges({added:r})},onDragRemove(t){if(td(this.$el,t.item,t.oldIndex),t.pullMode==="clone"){Wa(t.clone);return}const{index:e,element:n}=this.context;this.spliceList(e,1);const r={element:n,oldIndex:e};this.emitChanges({removed:r})},onDragUpdate(t){Wa(t.item),td(t.from,t.item,t.oldIndex);const e=this.context.index,n=this.getVmIndexFromDomIndex(t.newIndex);this.updatePosition(e,n);const r={element:this.context.element,oldIndex:e,newIndex:n};this.emitChanges({moved:r})},computeFutureIndex(t,e){if(!t.element)return 0;const n=[...e.to.children].filter(d=>d.style.display!=="none"),r=n.indexOf(e.related),i=t.component.getVmIndexFromDomIndex(r);return n.indexOf(Ha)!==-1||!e.willInsertAfter?i:i+1},onDragMove(t,e){const{move:n,realList:r}=this;if(!n||!r)return!0;const i=this.getRelatedContextFromMoveEvent(t),s=this.computeFutureIndex(i,t),d={...this.context,futureIndex:s},h={...t,relatedContext:i,draggedContext:d};return n(h,e)},onDragEnd(){Ha=null}}}),WN={class:"tw-flex tw-grow-1 tw-border-t tw-border-solid tw-border-t-[#eaedf3]"},HN={class:"assets-details__content tw-grow tw-basis-0"},jN={class:"tw-p-4"},wp=l.defineComponent({__name:"assets-details",props:{expanded:{type:Boolean,default:!0},closable:{type:Boolean,default:!0},options:{default:()=>({})}},emits:["parent:call","close:blade"],setup(t,{emit:e}){const n=t,{t:r}=nc(),i=l.reactive({...n.options.editableAsset}),s=[{id:"save",title:r("ASSETS.PAGES.DETAILS.TOOLBAR.SAVE"),icon:"fas fa-save",clickHandler(){n.options.sortHandler&&typeof n.options.sortHandler=="function"&&(n.options.sortHandler(!1,i),e("close:blade"))}},{id:"delete",title:r("ASSETS.PAGES.DETAILS.TOOLBAR.DELETE"),icon:"fas fa-trash",clickHandler(){window.confirm(l.unref(l.computed(()=>r("ASSETS.PAGES.DETAILS.DELETE_CONFIRMATION"))))&&n.options.sortHandler&&typeof n.options.sortHandler=="function"&&(n.options.sortHandler(!0,i),e("close:blade"))}}];return(d,h)=>(l.openBlock(),l.createBlock(l.unref(Nc),{title:t.options.editableAsset.name,subtitle:d.$t("ASSETS.PAGES.DETAILS.SUBTITLE"),expanded:t.expanded,closable:t.closable,toolbarItems:s,onClose:h[3]||(h[3]=c=>d.$emit("close:blade"))},{default:l.withCtx(()=>[l.createElementVNode("div",WN,[l.createElementVNode("div",HN,[l.createVNode(l.unref(jr),{"no-padding":!0},{default:l.withCtx(()=>[l.createElementVNode("div",jN,[l.createVNode(l.unref(Vl),null,{default:l.withCtx(()=>[l.createVNode(l.unref(oo),{class:"tw-mb-4",src:i.url,size:"xl",bordered:!0},null,8,["src"]),l.createVNode(l.unref(xi),{class:"tw-mb-4",label:d.$t("ASSETS.PAGES.DETAILS.FIELDS.NAME.TITLE"),modelValue:i.name,"onUpdate:modelValue":h[0]||(h[0]=c=>i.name=c),clearable:"",required:"",placeholder:d.$t("ASSETS.PAGES.DETAILS.FIELDS.NAME.PLACEHOLDER")},null,8,["label","modelValue","placeholder"]),l.createVNode(l.unref(xi),{class:"tw-mb-4",label:d.$t("ASSETS.PAGES.DETAILS.FIELDS.ALT.TITLE"),modelValue:i.altText,"onUpdate:modelValue":h[1]||(h[1]=c=>i.altText=c),clearable:"",placeholder:d.$t("ASSETS.PAGES.DETAILS.FIELDS.ALT.PLACEHOLDER"),tooltip:d.$t("ASSETS.PAGES.DETAILS.FIELDS.ALT.TOOLTIP"),required:""},null,8,["label","modelValue","placeholder","tooltip"]),l.createVNode(l.unref(Rc),{class:"tw-mb-4",label:d.$t("ASSETS.PAGES.DETAILS.FIELDS.DESCRIPTION.TITLE"),modelValue:i.description,"onUpdate:modelValue":h[2]||(h[2]=c=>i.description=c),placeholder:d.$t("ASSETS.PAGES.DETAILS.FIELDS.DESCRIPTION.PLACEHOLDER"),"is-required":""},null,8,["label","modelValue","placeholder"])]),_:1})])]),_:1})])])]),_:1},8,["title","subtitle","expanded","closable"]))}}),zN=Object.freeze(Object.defineProperty({__proto__:null,AssetsDetails:wp},Symbol.toStringTag,{value:"Module"})),yp={PAGES:{DETAILS:{SUBTITLE:"Image edit",TOOLBAR:{SAVE:"Save",DELETE:"Delete"},FIELDS:{NAME:{TITLE:"Image name",PLACEHOLDER:"Enter image name"},ALT:{TITLE:"Image alternative text",PLACEHOLDER:"Enter image alt text",TOOLTIP:"This text will be displayed in case of disabled/unloaded image on the page"},DESCRIPTION:{TITLE:"Meta description",PLACEHOLDER:"Enter meta description"}},DELETE_CONFIRMATION:"Are you sure you want to delete this image?"}}},GN={ASSETS:yp},YN=Object.freeze(Object.defineProperty({__proto__:null,ASSETS:yp,default:GN},Symbol.toStringTag,{value:"Module"})),JN=Object.freeze(Object.defineProperty({__proto__:null,en:YN},Symbol.toStringTag,{value:"Module"})),KN={install(t){Object.entries(zN).forEach(([e,n])=>{t.component(e,n),t.config.globalProperties.pages?.push(n)}),Object.entries(JN).forEach(([e,n])=>{t.config.globalProperties.$mergeLocaleMessage(e,n)})}},XN={class:"tw-relative tw-h-full tw-flex tw-items-center tw-justify-center tw-mx-2 tw-shrink-0"},qN=["onClick"],QN=l.createElementVNode("div",{class:"tw-h-[22px] tw-w-[22px] [mask:url(/assets/app-select.svg)] tw-bg-[color:var(--app-bar-button-color)] tw-duration-200"},null,-1),ZN=[QN],eI={key:0,class:"tw-px-4 tw-py-3.5 tw-bg-white tw-drop-shadow-[4px_4px_20px_rgba(47,86,108,0.25)] tw-absolute tw-z-[10000] tw-rounded tw-top-[var(--app-bar-height)] tw-left-0"},tI={class:"tw-flex tw-flex-col tw-gap-3 tw-overflow-hidden"},nI=["onClick"],rI=["src","alt"],iI={class:"tw-font-normal tw-text-sm tw-text-[#727C87] tw-truncate group-hover:tw-opacity-80"},bp=l.defineComponent({__name:"vc-app-switcher",props:{appsList:{default:void 0}},emits:["onClick"],setup(t,{emit:e}){const n=t,r=l.ref(!1),i=m=>"https://vcmp-dev.paas.govirto.com/".replace(/\/+$/,"")+m,s=m=>{const a=window.location.pathname.replace(/\/+$/,""),o=m.match(a);return o?o[0]:null},d=m=>{e("onClick",m),c()},h=()=>{n.appsList&&n.appsList.length&&(r.value=!r.value)},c=()=>{r.value=!1};return(m,a)=>{const o=l.resolveDirective("click-outside");return l.withDirectives((l.openBlock(),l.createElementBlock("div",XN,[l.createElementVNode("button",{class:"hover:[&>img] hover:[&_div]:tw-bg-[color:var(--app-bar-button-color-hover)]",onClick:l.withModifiers(h,["stop"])},ZN,8,qN),r.value&&t.appsList&&t.appsList.length?(l.openBlock(),l.createElementBlock("div",eI,[l.createElementVNode("ul",tI,[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(t.appsList,u=>(l.openBlock(),l.createElementBlock("li",{key:u.id,onClick:f=>d(u),class:l.normalizeClass(["tw-flex tw-flex-row tw-items-center tw-cursor-pointer tw-group",{"[&>p]:tw-font-extrabold":s(u.relativeUrl)}])},[l.createElementVNode("img",{src:i(u.iconUrl),alt:`icon_${u.id}`,class:"tw-w-5 tw-h-5 tw-mr-2 tw-shrink-0"},null,8,rI),l.createElementVNode("p",iI,l.toDisplayString(u.title),1)],10,nI))),128))])])):l.createCommentVNode("",!0)])),[[o,c]])}}}),sI=Object.freeze(Object.defineProperty({__proto__:null,VcAppSwitcher:bp},Symbol.toStringTag,{value:"Module"})),oI=()=>{const t=Xi(),{checkPermission:e}=qo(),n=l.ref([]);async function r(){const{getAccessToken:d}=zr(),h=new vf;return h.setAuthToken(await d()),h}async function i(){const d=await r();try{n.value=await d.getApps()}catch(h){throw t.error(h),h}}function s(d){e(d.permission)?d.relativeUrl&&(window.location.href=window.location.origin+d.relativeUrl):alert("Access restricted")}return{appsList:l.computed(()=>n.value),getApps:i,switchApp:s}},aI={install(t){Object.entries(sI).forEach(([e,n])=>{t.component(e,n)})}},Sp=l.defineComponent({__name:"vc-blade-navigation",props:{blades:{default:()=>[]},parentBladeOptions:{default:()=>({})},parentBladeParam:{default:void 0}},emits:["onOpen","onClose","onParentCall"],setup(t,{expose:e}){const n=t,r=Si.useRoute(),i=l.ref([]),s=l.ref();l.onBeforeUpdate(()=>{i.value=[s.value]});const d=c=>{c&&Object.keys(c).length&&i.value.push(c)},h=l.computed(()=>n.parentBladeParam?n.parentBladeParam:r.params.param);return e({bladesRefs:i}),(c,m)=>{const a=l.resolveComponent("router-view");return l.openBlock(),l.createElementBlock(l.Fragment,null,[l.createVNode(a,null,{default:l.withCtx(({Component:o,route:u})=>[l.withDirectives((l.openBlock(),l.createBlock(l.resolveDynamicComponent(o),{closable:!1,"onOpen:blade":m[0]||(m[0]=f=>c.$emit("onOpen",{blade:f,id:0})),options:t.parentBladeOptions,expanded:t.blades.length===0,param:l.unref(h),key:u,ref_key:"parentRef",ref:s},null,40,["options","expanded","param"])),[[l.vShow,c.$isMobile.value?!t.blades.length:t.blades.length<=1]])]),_:1}),(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(t.blades,(o,u)=>l.withDirectives((l.openBlock(),l.createBlock(l.resolveDynamicComponent(o.component),{key:`blade_${u}`,param:o.param,closable:u>=0,expanded:u===t.blades.length-1,options:o.bladeOptions,"onOpen:blade":f=>c.$emit("onOpen",{blade:f,id:o.idx}),"onClose:blade":f=>c.$emit("onClose",u),"onClose:children":f=>c.$emit("onClose",u+1),"onParent:call":f=>c.$emit("onParentCall",{id:u,cb:f}),ref_for:!0,ref:d},null,40,["param","closable","expanded","options","onOpen:blade","onClose:blade","onClose:children","onParent:call"])),[[l.vShow,u>=t.blades.length-(c.$isMobile.value?1:2)]])),128))],64)}}}),lI=Object.freeze(Object.defineProperty({__proto__:null,VcBladeNavigation:Sp},Symbol.toStringTag,{value:"Module"})),hn=l.ref([]),As=l.ref([]),id=l.ref(),sd=l.ref(),cI=()=>{const t=Si.useRouter(),e=Si.useRoute(),{checkPermission:n}=qo(),r=l.ref(!1);l.watch(()=>hn.value,a=>{const o=a[a.length-1];o&&o.component.url?o.param?c(o.component.url+"/"+o.param):c(o.component.url):o||c(e.path)},{deep:!0});async function i({parentBlade:a,component:o,param:u,bladeOptions:f,onOpen:p,onClose:g},v,y){console.debug(`openBlade(${1}) called.`);const x=l.unref(a),T=l.unref(o),k=m(T);if(x&&x.url&&(await s(0),!r.value))if(id.value=l.unref(f),sd.value=l.unref(u),y&&typeof y=="function")try{await y()}catch(b){console.log(b)}finally{console.debug(`Navigated to: ${x.url}`)}else y||await t.push(x.url);T&&(k===void 0?T.idx=v+1:k&&(await s(hn.value.findIndex(b=>b.idx===k.idx)),T.idx=k.idx),await d(T,u,f,p,g,v))}async function s(a){if(a<As.value.length){const o=As.value.slice(a).reverse();r.value=!1;for(let u=0;u<o.length;u++)if(o[u]?.onBeforeClose&&typeof o[u].onBeforeClose=="function"&&await o[u].onBeforeClose()===!1){r.value=!0;break}if(!r.value)typeof hn.value[a]?.onClose=="function"&&hn.value[a]?.onClose?.(),hn.value.splice(a);else throw"Closing prevented"}}async function d(a,o,u,f,p,g){hn.value.length>g&&await s(g),a&&n(a.permissions)?(hn.value.push({component:a,bladeOptions:u,param:o,onOpen:f,onClose:p,idx:a.idx}),f&&typeof f=="function"&&f()):alert("Access restricted")}async function h(a,o){if(console.debug(`vc-app#onParentCall(${a}, { method: ${o.method} }) called.`),a>=0){const u=l.unref(As.value[a]);if(u)if(o.method&&typeof u[o.method]=="function"){const f=u[o.method],p=await f(o.args);typeof o.callback=="function"&&o.callback(p)}else console.error(`No such method: ${o.method}.`)}}function c(a){history.pushState({},null,"#"+a)}function m(a){return hn.value.find(o=>ii(o.component,a))}return{blades:l.computed(()=>hn.value),parentBladeOptions:l.computed(()=>id.value),parentBladeParam:l.computed(()=>sd.value),bladesRefs:As,openBlade:i,closeBlade:s,onParentCall:h}},uI={install(t){Object.entries(lI).forEach(([e,n])=>{t.component(e,n)})}},hI=[KN,aI,uI];function xp(t){return hI.forEach(e=>t.use(e)),t}/**
|
|
1102
1102
|
* vee-validate v4.7.3
|
|
1103
1103
|
* (c) 2022 Abdelrahman Awad
|
|
1104
1104
|
* @license MIT
|
|
1105
|
-
*/function kp(t){return!!(t==null||t===""||Array.isArray(t)&&t.length===0)}const Cp=t=>{if(kp(t))return!0;const e=/^(([^<>()\[\]\\.,;:\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 Array.isArray(t)?t.every(n=>e.test(String(n))):e.test(String(t))},
|
|
1105
|
+
*/function kp(t){return!!(t==null||t===""||Array.isArray(t)&&t.length===0)}const Cp=t=>{if(kp(t))return!0;const e=/^(([^<>()\[\]\\.,;:\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 Array.isArray(t)?t.every(n=>e.test(String(n))):e.test(String(t))},dI=/^[٠١٢٣٤٥٦٧٨٩]+$/,fI=/^[0-9]+$/,Ep=t=>{if(kp(t))return!0;const e=n=>{const r=String(n);return fI.test(r)||dI.test(r)};return Array.isArray(t)?t.every(e):e(t)},_p=t=>t==null||t===!1||t===""?"This field is required":!0;He.defineRule("required",_p);He.defineRule("numeric",Ep);He.defineRule("email",Cp);const Tp=(t,[e])=>!t||!t.length?!0:t.length<e?`This field must contain at least ${e} characters`:!0;He.defineRule("min",Tp);const Ap=(t,[e])=>!t||!t.length?!0:t.length>e?`This field must contain not more than ${e} characters`:!0;He.defineRule("max",Ap);const $p=(t,[e])=>!t||!t.length||e.test(t)?!0:"This field must match a given pattern";He.defineRule("regex",$p);const Op=(t,[e])=>!t||!t.length?!0:Number(t)<e?`Value must be greater than ${e}`:!0;He.defineRule("min_value",Op);const Lp=(t,[e])=>!t||!t.length?!0:Number(t)>e?`Value must be less than ${e}`:!0;He.defineRule("max_value",Lp);const Mp=(t,[e])=>{if(!t||!t.length)return!0;const n=new Date(t),r=new Date(e);return n.getTime()>0&&r.getTime()>0&&r.getTime()>n.getTime()?"End date must be later than start date":!0};He.defineRule("after",Mp);const Rp=(t,[e,n])=>{if(!t?.files||!t.files?.length)return!0;const r=(d,h,c)=>{const m=window.URL||window.webkitURL;return new Promise(a=>{const o=new Image;o.onerror=()=>a(!1),o.onload=()=>{const u=o.width>=Number(h)&&o.height>=Number(c);a(u?!0:`Image dimensions must be greater than ${c}*${h}`)},o.src=m.createObjectURL(d)})},i=[],s=t.files;for(let d=0;d<s.length;d++){if(!/\.(jpg|svg|jpeg|png|bmp|gif)$/i.test(s[d].name))return Promise.resolve("Not image file");i.push(s[d])}return Promise.all(i.map(d=>r(d,e,n))).then(d=>{const h=d.find(c=>c!==!0);return h===!1||typeof h=="string"?h:!0})};He.defineRule("maxdimensions",Rp);const Np=(t,[e])=>{if(!t?.files||!t.files?.length)return!0;const n=e*1e3,r=h=>h.size>n,i=[];for(let h=0;h<t.files.length;h++)i.push(t.files[h]);return i.map(h=>r(h)).find(h=>h===!0)?`File size must be maximum ${e} kb`:!0};He.defineRule("size",Np);function mI(t){return t.replace(/[\w]([A-Z])/g,function(e){return e[0]+"_"+e[1]}).toLowerCase()}const pI=[Xb,zb,xp],gI={install(t){pI.forEach(n=>n(t)),t.use(GR),t.component("draggable",UN),Object.entries(jR).forEach(([n,r])=>{t.component(n,r)}),Object.entries(WC).forEach(([n,r])=>{t.directive(n,r)});const e=cE({phone:480,desktop:1024});t.config.globalProperties.pages=[],t.config.globalProperties.$isPhone=e.smaller("phone"),t.config.globalProperties.$isTablet=e.between("phone","desktop"),t.config.globalProperties.$isMobile=e.smaller("desktop"),t.config.globalProperties.$isDesktop=e.greater("desktop"),t.config.globalProperties.$isTouch="ontouchstart"in window||navigator.maxTouchPoints>0,t.provide("isPhone",t.config.globalProperties.$isPhone),t.provide("isTablet",t.config.globalProperties.$isTablet),t.provide("isMobile",t.config.globalProperties.$isMobile),t.provide("isDesktop",t.config.globalProperties.$isDesktop),t.provide("pages",t.config.globalProperties.pages)}};Object.defineProperty(exports,"useForm",{enumerable:!0,get:()=>He.useForm});exports.ApiException=Sf;exports.AppDescriptor=bo;exports.ApplicationUser=gn;exports.ApplicationUserLogin=Uo;exports.AppsClient=vf;exports.AssetsDetails=wp;exports.AuthApiBase=At;exports.AuthorizationClient=c0;exports.Body=bc;exports.ChangeLogClient=h0;exports.ChangeLogSearchCriteria=lc;exports.ChangeLogSearchResult=Co;exports.ChangePasswordRequest=vc;exports.ChangedEntitiesRequest=ac;exports.ChangedEntitiesResponse=ko;exports.ChangedEntity=xo;exports.Claim=ss;exports.ClaimsIdentity=Ii;exports.DiagnosticsClient=d0;exports.DynamicObjectProperty=Oo;exports.DynamicPropertiesClient=f0;exports.DynamicProperty=rs;exports.DynamicPropertyDictionaryItem=Mo;exports.DynamicPropertyDictionaryItemName=Lo;exports.DynamicPropertyDictionaryItemSearchCriteria=uc;exports.DynamicPropertyDictionaryItemSearchResult=Ro;exports.DynamicPropertyName=ns;exports.DynamicPropertyObjectValue=$o;exports.DynamicPropertySearchCriteria=cc;exports.DynamicPropertySearchResult=Ao;exports.ExternalSignInClient=u0;exports.IdentityError=Ho;exports.IdentityResult=Pi;exports.Job=No;exports.JobsClient=m0;exports.JsonElement=Ri;exports.LastModifiedResponse=So;exports.License=Eo;exports.LoginRequest=fc;exports.ModuleAutoInstallPushNotification=Io;exports.ModuleDescriptor=pn;exports.ModuleIdentity=Li;exports.ModulePushNotification=Mi;exports.ModulesClient=p0;exports.OAuthAppSearchCriteria=hc;exports.OAuthAppSearchResult=Do;exports.OAuthAppsClient=g0;exports.ObjectSettingEntry=rr;exports.OpenIddictApplicationDescriptor=Wr;exports.OpenIddictResponse=Oi;exports.OperationLog=ts;exports.Permission=os;exports.PermissionScope=Di;exports.ProgressMessage=is;exports.PushNotification=Po;exports.PushNotificationClient=wf;exports.PushNotificationSearchCriteria=dc;exports.PushNotificationSearchResult=Ni;exports.ResetPasswordConfirmRequest=wc;exports.Role=hr;exports.RoleSearchCriteria=mc;exports.RoleSearchResult=Vo;exports.SecurityClient=yf;exports.SecurityResult=Lt;exports.SemanticVersion=_o;exports.SettingClient=bf;exports.SignInResult=Bo;exports.SortInfo=on;exports.StringIdentityUserRole=pc;exports.SystemInfo=To;exports.UserApiKey=nr;exports.UserDetail=Fo;exports.UserLockedResult=jo;exports.UserSearchCriteria=gc;exports.UserSearchResult=Wo;exports.ValidatePasswordResetTokenRequest=yc;exports.VcApp=nm;exports.VcAppSwitcher=bp;exports.VcBadge=od;exports.VcBlade=Nc;exports.VcBladeNavigation=Sp;exports.VcBreadcrumbs=md;exports.VcButton=ad;exports.VcCard=ld;exports.VcCheckbox=Vs;exports.VcCol=Us;exports.VcContainer=jr;exports.VcDynamicProperty=rm;exports.VcEditor=Sd;exports.VcFileUpload=Ul;exports.VcForm=Vl;exports.VcGallery=im;exports.VcHint=cd;exports.VcIcon=Se;exports.VcImage=oo;exports.VcInfoRow=ud;exports.VcInput=xi;exports.VcInputCurrency=Ed;exports.VcLabel=Gn;exports.VcLink=Il;exports.VcLoading=Dl;exports.VcLoginForm=sm;exports.VcMultivalue=Ff;exports.VcNotification=Vf;exports.VcPagination=$c;exports.VcPopup=Ic;exports.VcProgress=hd;exports.VcRating=Uf;exports.VcRow=Pl;exports.VcSelect=jf;exports.VcSlider=tm;exports.VcStatus=Bl;exports.VcStatusIcon=Fl;exports.VcSwitch=dd;exports.VcTable=qm;exports.VcTextarea=Rc;exports.VcWidget=fd;exports.after=Mp;exports.autofocus=Pf;exports.camelToSnake=mI;exports.clickOutside=ls;exports.default=gI;exports.email=Cp;exports.init=xp;exports.loading=Bf;exports.max=Ap;exports.max_value=Lp;exports.maxdimensions=Rp;exports.min=Tp;exports.min_value=Op;exports.numeric=Ep;exports.permissions=Df;exports.regex=$p;exports.required=_p;exports.size=Np;exports.useApiClient=FC;exports.useAppSwitcher=oI;exports.useAsync=BC;exports.useAutosave=PC;exports.useBladeNavigation=cI;exports.useFunctions=Iw;exports.useI18n=nc;exports.useLoading=VC;exports.useLogger=Xi;exports.useNotifications=IC;exports.usePermissions=qo;exports.useSettings=DC;exports.useUser=zr;
|
|
1106
1106
|
//# sourceMappingURL=framework.js.map
|