Files
vuefilemanager/public/chunks/app-setup.js
2022-03-25 11:36:50 +01:00

2 lines
72 KiB
JavaScript
Vendored
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/*! For license information please see app-setup.js.LICENSE.txt */
(self.webpackChunk=self.webpackChunk||[]).push([[7655],{6632:(e,t,r)=>{"use strict";r.d(t,{Z:()=>a});var i=r(3645),n=r.n(i)()((function(e){return e[1]}));n.push([e.id,".sync-alt[data-v-0249f6ea]{-webkit-animation:spin-data-v-0249f6ea 1s linear infinite;animation:spin-data-v-0249f6ea 1s linear infinite}@-webkit-keyframes spin-data-v-0249f6ea{0%{transform:rotate(0)}to{transform:rotate(1turn)}}@keyframes spin-data-v-0249f6ea{0%{transform:rotate(0)}to{transform:rotate(1turn)}}",""]);const a=n},9397:(e,t,r)=>{"use strict";r.d(t,{Z:()=>a});var i=r(3645),n=r.n(i)()((function(e){return e[1]}));n.push([e.id,".info-box[data-v-4d9e9780]{background:#f4f5f6;border-radius:10px;margin-bottom:32px;padding:20px;text-align:left}.info-box.error[data-v-4d9e9780]{background:rgba(253,57,122,.1)}.info-box.error a[data-v-4d9e9780],.info-box.error p[data-v-4d9e9780]{color:#fd397a}.info-box.error a[data-v-4d9e9780]{text-decoration:underline}.info-box p[data-v-4d9e9780]{font-weight:600;line-height:1.6;word-break:break-word}.info-box p[data-v-4d9e9780],.info-box p[data-v-4d9e9780] a{font-size:15px}.info-box p[data-v-4d9e9780] b{font-size:15px;font-weight:700}.info-box a[data-v-4d9e9780],.info-box b[data-v-4d9e9780]{font-weight:700}.info-box a[data-v-4d9e9780]{font-size:.9375em;line-height:1.6}.info-box ul[data-v-4d9e9780]{margin-top:15px}.info-box ul[data-v-4d9e9780],.info-box ul li[data-v-4d9e9780],.info-box ul li a[data-v-4d9e9780]{display:block}@media only screen and (max-width:690px){.info-box[data-v-4d9e9780]{padding:15px}}.dark .info-box[data-v-4d9e9780]{background:#1e2024}.dark .info-box.error[data-v-4d9e9780]{background:rgba(253,57,122,.1)}.dark .info-box.error a[data-v-4d9e9780],.dark .info-box.error p[data-v-4d9e9780]{color:#fd397a}.dark .info-box.error a[data-v-4d9e9780]{text-decoration:underline}.dark .info-box p[data-v-4d9e9780],.dark .info-box ul li[data-v-4d9e9780]{color:#bec6cf}",""]);const a=n},2189:(e,t,r)=>{"use strict";r.d(t,{Z:()=>a});var i=r(3645),n=r.n(i)()((function(e){return e[1]}));n.push([e.id,".select[data-v-07825bd0]{position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;width:100%}.select-search[data-v-07825bd0]{background:#fff;padding:13px;position:-webkit-sticky;position:sticky;top:0}.select-search .search-input[data-v-07825bd0]{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:#f4f5f6;border:1px solid transparent;font-size:.875em;font-weight:700;outline:0;padding:13px 20px;transition:all .15s ease;width:100%}.input-options[data-v-07825bd0]{background:#fff;box-shadow:0 5px 15px rgba(0,0,0,.12);left:0;max-height:295px;overflow:hidden;overflow-y:auto;position:absolute;right:0;top:65px;z-index:9}.input-options .option-item[data-v-07825bd0]{cursor:pointer;display:block;padding:13px 20px}.input-options .option-item[data-v-07825bd0]:hover{background:#f4f5f6;color:#00bc7e}.input-options .option-item[data-v-07825bd0]:last-child{border-bottom:none}.input-area[data-v-07825bd0]{align-items:center;border:1px solid transparent;cursor:pointer;display:flex;justify-content:space-between;outline:0;padding:13px 20px;width:100%}.input-area[data-v-07825bd0],.input-area .chevron[data-v-07825bd0]{transition:all .15s ease}.input-area.is-active .chevron[data-v-07825bd0]{transform:rotate(180deg)}.input-area.is-error[data-v-07825bd0]{border-color:#fd397a;box-shadow:0 0 7px rgba(253,57,122,.3)}.option-icon[data-v-07825bd0]{display:inline-block;font-size:.625em;width:20px}.option-value[data-v-07825bd0]{font-size:.875em;font-weight:700;vertical-align:middle}.option-value.placehoder[data-v-07825bd0]{color:rgba(27,37,57,.5)}.slide-in-enter-active[data-v-07825bd0]{transition:all .15s ease}.slide-in-enter[data-v-07825bd0]{opacity:0;transform:translateY(-50px)}.dark .select-search[data-v-07825bd0]{background:#1e2024}.dark .select-search .search-input[data-v-07825bd0]{background:#151515}.dark .popup-wrapper .input-area[data-v-07825bd0]{background:#25272c}.dark .input-options[data-v-07825bd0]{background:#1e2024}.dark .input-options .option-item[data-v-07825bd0]{border-bottom:none}.dark .input-options .option-item[data-v-07825bd0]:hover{background:#2a2c32}.dark .input-options .option-item:hover .option-icon circle[data-v-07825bd0],.dark .input-options .option-item:hover .option-icon path[data-v-07825bd0]{color:inherit}.dark .input-options .option-item[data-v-07825bd0]:last-child{border-bottom:none}.dark .option-value.placehoder[data-v-07825bd0]{color:#7d858c}",""]);const a=n},7395:(e,t,r)=>{"use strict";r.d(t,{Z:()=>a});var i=r(3645),n=r.n(i)()((function(e){return e[1]}));n.push([e.id,".input-wrapper[data-v-615ed0c1]{display:flex;width:100%}.input-wrapper .input-label[data-v-615ed0c1]{color:#1b2539}.input-wrapper .switch-content[data-v-615ed0c1]{width:100%}.input-wrapper .switch-content[data-v-615ed0c1]:last-child{width:80px}.switch[data-v-615ed0c1]{background:#f1f1f5;height:28px;position:relative;width:50px}.switch[data-v-615ed0c1],.switch .switch-button[data-v-615ed0c1]{border-radius:50px;display:block;transition:all .3s ease}.switch .switch-button[data-v-615ed0c1]{background:#fff;box-shadow:0 2px 4px rgba(37,38,94,.1);cursor:pointer;height:22px;left:3px;position:absolute;top:3px;width:22px}.switch.active .switch-button[data-v-615ed0c1]{left:25px}.dark .switch[data-v-615ed0c1]{background:#1e2024}.dark .popup-wrapper .switch[data-v-615ed0c1]{background:#25272c}",""]);const a=n},4479:(e,t,r)=>{"use strict";r.d(t,{C1:()=>a});function i(e){return null==e}function n(e){return Array.isArray(e)&&0===e.length}var a={validate:function(e,t){var r=(void 0===t?{allowFalse:!0}:t).allowFalse,a={valid:!1,required:!0};return i(e)||n(e)?a:!1!==e||r?(a.valid=!!String(e).trim().length,a):a},params:[{name:"allowFalse",default:!0}],computesRequired:!0}},9495:function(e,t,r){!function(e,t){"use strict";function r(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var i=r(t),n={code:"en",messages:{alpha:"The {_field_} field may only contain alphabetic characters",alpha_num:"The {_field_} field may only contain alpha-numeric characters",alpha_dash:"The {_field_} field may contain alpha-numeric characters as well as dashes and underscores",alpha_spaces:"The {_field_} field may only contain alphabetic characters as well as spaces",between:"The {_field_} field must be between {min} and {max}",confirmed:"The {_field_} field confirmation does not match",digits:"The {_field_} field must be numeric and exactly contain {length} digits",dimensions:"The {_field_} field must be {width} pixels by {height} pixels",email:"The {_field_} field must be a valid email",excluded:"The {_field_} field is not a valid value",ext:"The {_field_} field is not a valid file",image:"The {_field_} field must be an image",integer:"The {_field_} field must be an integer",length:"The {_field_} field must be {length} long",max_value:"The {_field_} field must be {max} or less",max:"The {_field_} field may not be greater than {length} characters",mimes:"The {_field_} field must have a valid file type",min_value:"The {_field_} field must be {min} or more",min:"The {_field_} field must be at least {length} characters",numeric:"The {_field_} field may only contain numeric characters",oneOf:"The {_field_} field is not a valid value",regex:"The {_field_} field format is invalid",required_if:"The {_field_} field is required",required:"The {_field_} field is required",size:"The {_field_} field size must be less than {size}KB",double:"The {_field_} field must be a valid decimal"}},a={en:/^[A-Z]*$/i,cs:/^[A-ZÁČĎÉĚÍŇÓŘŠŤÚŮÝŽ]*$/i,da:/^[A-ZÆØÅ]*$/i,de:/^[A-ZÄÖÜß]*$/i,es:/^[A-ZÁÉÍÑÓÚÜ]*$/i,fa:/^[ءآأؤإئابةتثجحخدذرزسشصضطظعغفقكلمنهوىيًٌٍَُِّْٰپژگچکی]*$/,fr:/^[A-ZÀÂÆÇÉÈÊËÏÎÔŒÙÛÜŸ]*$/i,it:/^[A-Z\xC0-\xFF]*$/i,lt:/^[A-ZĄČĘĖĮŠŲŪŽ]*$/i,nl:/^[A-ZÉËÏÓÖÜ]*$/i,hu:/^[A-ZÁÉÍÓÖŐÚÜŰ]*$/i,pl:/^[A-ZĄĆĘŚŁŃÓŻŹ]*$/i,pt:/^[A-ZÃÁÀÂÇÉÊÍÕÓÔÚÜ]*$/i,ro:/^[A-ZĂÂÎŞŢ]*$/i,ru:/^[А-ЯЁ]*$/i,sk:/^[A-ZÁÄČĎÉÍĹĽŇÓŔŠŤÚÝŽ]*$/i,sr:/^[A-ZČĆŽŠĐ]*$/i,sv:/^[A-ZÅÄÖ]*$/i,tr:/^[A-ZÇĞİıÖŞÜ]*$/i,uk:/^[А-ЩЬЮЯЄІЇҐ]*$/i,ar:/^[ءآأؤإئابةتثجحخدذرزسشصضطظعغفقكلمنهوىيًٌٍَُِّْٰ]*$/,az:/^[A-ZÇƏĞİıÖŞÜ]*$/i,el:/^[Α-ώ]*$/i,ja:/^[A-Z\u3000-\u303F\u3040-\u309F\u30A0-\u30FF\uFF00-\uFFEF\u4E00-\u9FAF]*$/i,he:/^[A-Z\u05D0-\u05EA']*$/i},o={en:/^[A-Z\s]*$/i,cs:/^[A-ZÁČĎÉĚÍŇÓŘŠŤÚŮÝŽ\s]*$/i,da:/^[A-ZÆØÅ\s]*$/i,de:/^[A-ZÄÖÜß\s]*$/i,es:/^[A-ZÁÉÍÑÓÚÜ\s]*$/i,fa:/^[ءآأؤإئابةتثجحخدذرزسشصضطظعغفقكلمنهوىيًٌٍَُِّْٰپژگچکی]*$/,fr:/^[A-ZÀÂÆÇÉÈÊËÏÎÔŒÙÛÜŸ\s]*$/i,it:/^[A-Z\xC0-\xFF\s]*$/i,lt:/^[A-ZĄČĘĖĮŠŲŪŽ\s]*$/i,nl:/^[A-ZÉËÏÓÖÜ\s]*$/i,hu:/^[A-ZÁÉÍÓÖŐÚÜŰ\s]*$/i,pl:/^[A-ZĄĆĘŚŁŃÓŻŹ\s]*$/i,pt:/^[A-ZÃÁÀÂÇÉÊÍÕÓÔÚÜ\s]*$/i,ro:/^[A-ZĂÂÎŞŢ\s]*$/i,ru:/^[А-ЯЁ\s]*$/i,sk:/^[A-ZÁÄČĎÉÍĹĽŇÓŔŠŤÚÝŽ\s]*$/i,sr:/^[A-ZČĆŽŠĐ\s]*$/i,sv:/^[A-ZÅÄÖ\s]*$/i,tr:/^[A-ZÇĞİıÖŞÜ\s]*$/i,uk:/^[А-ЩЬЮЯЄІЇҐ\s]*$/i,ar:/^[ءآأؤإئابةتثجحخدذرزسشصضطظعغفقكلمنهوىيًٌٍَُِّْٰ\s]*$/,az:/^[A-ZÇƏĞİıÖŞÜ\s]*$/i,el:/^[Α-ώ\s]*$/i,ja:/^[A-Z\u3000-\u303F\u3040-\u309F\u30A0-\u30FF\uFF00-\uFFEF\u4E00-\u9FAF\s]*$/i,he:/^[A-Z\u05D0-\u05EA'\s]*$/i},s={en:/^[0-9A-Z]*$/i,cs:/^[0-9A-ZÁČĎÉĚÍŇÓŘŠŤÚŮÝŽ]*$/i,da:/^[0-9A-ZÆØÅ]$/i,de:/^[0-9A-ZÄÖÜß]*$/i,es:/^[0-9A-ZÁÉÍÑÓÚÜ]*$/i,fa:/^[ءآأؤإئابةتثجحخدذرزسشصضطظعغفقكلمنهوىيًٌٍَُِّْٰپژگچکی]*$/,fr:/^[0-9A-ZÀÂÆÇÉÈÊËÏÎÔŒÙÛÜŸ]*$/i,it:/^[0-9A-Z\xC0-\xFF]*$/i,lt:/^[0-9A-ZĄČĘĖĮŠŲŪŽ]*$/i,hu:/^[0-9A-ZÁÉÍÓÖŐÚÜŰ]*$/i,nl:/^[0-9A-ZÉËÏÓÖÜ]*$/i,pl:/^[0-9A-ZĄĆĘŚŁŃÓŻŹ]*$/i,pt:/^[0-9A-ZÃÁÀÂÇÉÊÍÕÓÔÚÜ]*$/i,ro:/^[0-9A-ZĂÂÎŞŢ]*$/i,ru:/^[0-9А-ЯЁ]*$/i,sk:/^[0-9A-ZÁÄČĎÉÍĹĽŇÓŔŠŤÚÝŽ]*$/i,sr:/^[0-9A-ZČĆŽŠĐ]*$/i,sv:/^[0-9A-ZÅÄÖ]*$/i,tr:/^[0-9A-ZÇĞİıÖŞÜ]*$/i,uk:/^[0-9А-ЩЬЮЯЄІЇҐ]*$/i,ar:/^[٠١٢٣٤٥٦٧٨٩0-9ءآأؤإئابةتثجحخدذرزسشصضطظعغفقكلمنهوىيًٌٍَُِّْٰ]*$/,az:/^[0-9A-ZÇƏĞİıÖŞÜ]*$/i,el:/^[0-9Α-ώ]*$/i,ja:/^[0-9A-Z\u3000-\u303F\u3040-\u309F\u30A0-\u30FF\uFF00-\uFFEF\u4E00-\u9FAF]*$/i,he:/^[0-9A-Z\u05D0-\u05EA']*$/i},l={en:/^[0-9A-Z_-]*$/i,cs:/^[0-9A-ZÁČĎÉĚÍŇÓŘŠŤÚŮÝŽ_-]*$/i,da:/^[0-9A-ZÆØÅ_-]*$/i,de:/^[0-9A-ZÄÖÜß_-]*$/i,es:/^[0-9A-ZÁÉÍÑÓÚÜ_-]*$/i,fa:/^[ءآأؤإئابةتثجحخدذرزسشصضطظعغفقكلمنهوىيًٌٍَُِّْٰپژگچکی]*$/,fr:/^[0-9A-ZÀÂÆÇÉÈÊËÏÎÔŒÙÛÜŸ_-]*$/i,it:/^[0-9A-Z\xC0-\xFF_-]*$/i,lt:/^[0-9A-ZĄČĘĖĮŠŲŪŽ_-]*$/i,nl:/^[0-9A-ZÉËÏÓÖÜ_-]*$/i,hu:/^[0-9A-ZÁÉÍÓÖŐÚÜŰ_-]*$/i,pl:/^[0-9A-ZĄĆĘŚŁŃÓŻŹ_-]*$/i,pt:/^[0-9A-ZÃÁÀÂÇÉÊÍÕÓÔÚÜ_-]*$/i,ro:/^[0-9A-ZĂÂÎŞŢ_-]*$/i,ru:/^[0-9А-ЯЁ_-]*$/i,sk:/^[0-9A-ZÁÄČĎÉÍĹĽŇÓŔŠŤÚÝŽ_-]*$/i,sr:/^[0-9A-ZČĆŽŠĐ_-]*$/i,sv:/^[0-9A-ZÅÄÖ_-]*$/i,tr:/^[0-9A-ZÇĞİıÖŞÜ_-]*$/i,uk:/^[0-9АЬЮЯЄІЇҐ_-]*$/i,ar:/^[٠١٢٣٤٥٦٧٨٩0-9ءآأؤإئابةتثجحخدذرزسشصضطظعغفقكلمنهوىيًٌٍَُِّْٰ_-]*$/,az:/^[0-9A-ZÇƏĞİıÖŞÜ_-]*$/i,el:/^[0-9Α-ώ_-]*$/i,ja:/^[0-9A-Z\u3000-\u303F\u3040-\u309F\u30A0-\u30FF\uFF00-\uFFEF\u4E00-\u9FAF_-]*$/i,he:/^[0-9A-Z\u05D0-\u05EA'_-]*$/i},u=function(e,t){var r=(void 0===t?{}:t).locale,i=void 0===r?"":r;return Array.isArray(e)?e.every((function(e){return u(e,{locale:i})})):i?(a[i]||a.en).test(e):Object.keys(a).some((function(t){return a[t].test(e)}))},c={validate:u,params:[{name:"locale"}]},d=function(e,t){var r=(void 0===t?{}:t).locale,i=void 0===r?"":r;return Array.isArray(e)?e.every((function(e){return d(e,{locale:i})})):i?(l[i]||l.en).test(e):Object.keys(l).some((function(t){return l[t].test(e)}))},p={validate:d,params:[{name:"locale"}]},f=function(e,t){var r=(void 0===t?{}:t).locale,i=void 0===r?"":r;return Array.isArray(e)?e.every((function(e){return f(e,{locale:i})})):i?(s[i]||s.en).test(e):Object.keys(s).some((function(t){return s[t].test(e)}))},v={validate:f,params:[{name:"locale"}]},m=function(e,t){var r=(void 0===t?{}:t).locale,i=void 0===r?"":r;return Array.isArray(e)?e.every((function(e){return m(e,{locale:i})})):i?(o[i]||o.en).test(e):Object.keys(o).some((function(t){return o[t].test(e)}))},h={validate:m,params:[{name:"locale"}]},g=function(e,t){var r=void 0===t?{}:t,i=r.min,n=r.max;return Array.isArray(e)?e.every((function(e){return!!g(e,{min:i,max:n})})):Number(i)<=e&&Number(n)>=e},b={validate:g,params:[{name:"min"},{name:"max"}]},_={validate:function(e,t){var r=t.target;return String(e)===String(r)},params:[{name:"target",isTarget:!0}]},y=function(e,t){var r=t.length;if(Array.isArray(e))return e.every((function(e){return y(e,{length:r})}));var i=String(e);return/^[0-9]*$/.test(i)&&i.length===r},x={validate:y,params:[{name:"length",cast:function(e){return Number(e)}}]},A=function(e,t,r){var i=window.URL||window.webkitURL;return new Promise((function(n){var a=new Image;a.onerror=function(){return n(!1)},a.onload=function(){return n(a.width===t&&a.height===r)},a.src=i.createObjectURL(e)}))},$=function(e,t){var r=t.width,i=t.height,n=[];e=Array.isArray(e)?e:[e];for(var a=0;a<e.length;a++){if(!/\.(jpg|svg|jpeg|png|bmp|gif)$/i.test(e[a].name))return Promise.resolve(!1);n.push(e[a])}return Promise.all(n.map((function(e){return A(e,r,i)}))).then((function(e){return e.every((function(e){return e}))}))},w={validate:$,params:[{name:"width",cast:function(e){return Number(e)}},{name:"height",cast:function(e){return Number(e)}}]},k={validate:function(e,t){var r=(void 0===t?{}:t).multiple,i=/^(([^<>()\[\]\\.,;:\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 r&&!Array.isArray(e)&&(e=String(e).split(",").map((function(e){return e.trim()}))),Array.isArray(e)?e.every((function(e){return i.test(String(e))})):i.test(String(e))},params:[{name:"multiple",default:!1}]};function C(e){return e!=e}function S(e){return null==e}function Z(e){return Array.isArray(e)&&0===e.length}var O=function(e){return null!==e&&e&&"object"==typeof e&&!Array.isArray(e)};function I(e,t){return!(!C(e)||!C(t))||e===t}function z(e){return""!==e&&!S(e)}function R(e){return"function"==typeof e}function E(e){return R(e)&&!!e.__locatorRef}function F(e,t){var r=Array.isArray(e)?e:q(e);if(R(r.findIndex))return r.findIndex(t);for(var i=0;i<r.length;i++)if(t(r[i],i))return i;return-1}function j(e,t){var r=Array.isArray(e)?e:q(e),i=F(r,t);return-1===i?void 0:r[i]}function T(e,t){return-1!==e.indexOf(t)}function q(e){return R(Array.from)?Array.from(e):P(e)}function P(e){for(var t=[],r=e.length,i=0;i<r;i++)t.push(e[i]);return t}function V(e){return R(Object.values)?Object.values(e):Object.keys(e).map((function(t){return e[t]}))}function D(e,t){return Object.keys(t).forEach((function(r){if(O(t[r]))return e[r]||(e[r]={}),void D(e[r],t[r]);e[r]=t[r]})),e}function L(){return{untouched:!0,touched:!1,dirty:!1,pristine:!0,valid:!1,invalid:!1,validated:!1,pending:!1,required:!1,changed:!1,passed:!1,failed:!1}}function N(e){return e}function M(e,t,r){return void 0===t&&(t=0),void 0===r&&(r={cancelled:!1}),0===t?e:function(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];var o=function(){i=void 0,r.cancelled||e.apply(void 0,n)};clearTimeout(i),i=setTimeout(o,t)};var i}function B(e){console.warn("[vee-validate] "+e)}function W(e,t){return e.replace(/{([^}]+)}/g,(function(e,r){return r in t?t[r]:"{"+r+"}"}))}var H=function(e,t){return Array.isArray(e)?e.every((function(e){return H(e,t)})):q(t).some((function(t){return t==e}))},U={validate:H},G={validate:function(e,t){return!H(e,t)}},Y=function(e,t){var r=new RegExp(".("+t.join("|")+")$","i");return Array.isArray(e)?e.every((function(e){return r.test(e.name)})):r.test(e.name)},X={validate:Y},K=function(e){var t=/\.(jpg|svg|jpeg|png|bmp|gif|webp)$/i;return Array.isArray(e)?e.every((function(e){return t.test(e.name)})):t.test(e.name)},J={validate:K},Q={validate:function(e){return Array.isArray(e)?e.every((function(e){return/^-?[0-9]+$/.test(String(e))})):/^-?[0-9]+$/.test(String(e))}},ee={validate:function(e,t){return e===t.other},params:[{name:"other"}]},te={validate:function(e,t){return e!==t.other},params:[{name:"other"}]},re=function(e,t){var r=t.length;return!S(e)&&("string"==typeof e&&(e=q(e)),"number"==typeof e&&(e=String(e)),e.length||(e=q(e)),e.length===r)},ie={validate:re,params:[{name:"length",cast:function(e){return Number(e)}}]},ne=function(e,t){var r=t.length;return S(e)?r>=0:Array.isArray(e)?e.every((function(e){return ne(e,{length:r})})):String(e).length<=r},ae={validate:ne,params:[{name:"length",cast:function(e){return Number(e)}}]},oe=function(e,t){var r=t.max;return!S(e)&&""!==e&&(Array.isArray(e)?e.length>0&&e.every((function(e){return oe(e,{max:r})})):Number(e)<=r)},se={validate:oe,params:[{name:"max",cast:function(e){return Number(e)}}]},le=function(e,t){var r=new RegExp(t.join("|").replace("*",".+")+"$","i");return Array.isArray(e)?e.every((function(e){return r.test(e.type)})):r.test(e.type)},ue={validate:le},ce=function(e,t){var r=t.length;return!S(e)&&(Array.isArray(e)?e.every((function(e){return ce(e,{length:r})})):String(e).length>=r)},de={validate:ce,params:[{name:"length",cast:function(e){return Number(e)}}]},pe=function(e,t){var r=t.min;return!S(e)&&""!==e&&(Array.isArray(e)?e.length>0&&e.every((function(e){return pe(e,{min:r})})):Number(e)>=r)},fe={validate:pe,params:[{name:"min",cast:function(e){return Number(e)}}]},ve=/^[٠١٢٣٤٥٦٧٨٩]+$/,me=/^[0-9]+$/,he={validate:function(e){var t=function(e){var t=String(e);return me.test(t)||ve.test(t)};return Array.isArray(e)?e.every(t):t(e)}},ge=function(e,t){var r=t.regex;return Array.isArray(e)?e.every((function(e){return ge(e,{regex:r})})):r.test(String(e))},be={validate:ge,params:[{name:"regex",cast:function(e){return"string"==typeof e?new RegExp(e):e}}]},_e={validate:function(e,t){var r=(void 0===t?{allowFalse:!0}:t).allowFalse,i={valid:!1,required:!0};return S(e)||Z(e)?i:!1!==e||r?(i.valid=!!String(e).trim().length,i):i},params:[{name:"allowFalse",default:!0}],computesRequired:!0},ye=function(e){return Z(e)||T([!1,null,void 0],e)||!String(e).trim().length},xe=function(e,t){var r,i=t.target,n=t.values;return n&&n.length?(Array.isArray(n)||"string"!=typeof n||(n=[n]),r=n.some((function(e){return e==String(i).trim()}))):r=!ye(i),r?{valid:!ye(e),required:r}:{valid:!0,required:r}},Ae={validate:xe,params:[{name:"target",isTarget:!0},{name:"values"}],computesRequired:!0},$e=function(e,t){var r=t.size;if(isNaN(r))return!1;var i=1024*r;if(!Array.isArray(e))return e.size<=i;for(var n=0;n<e.length;n++)if(e[n].size>i)return!1;return!0},we={validate:$e,params:[{name:"size",cast:function(e){return Number(e)}}]},ke=function(e,t){var r=t||{},i=r.decimals,n=void 0===i?0:i,a=r.separator,o=new RegExp("^-?\\d+"+("comma"===(void 0===a?"dot":a)?",?":"\\.?")+(0===n?"\\d*":"(\\d{"+n+"})?")+"$");return Array.isArray(e)?e.every((function(e){return o.test(String(e))})):o.test(String(e))},Ce={validate:ke,params:[{name:"decimals",default:0},{name:"separator",default:"dot"}]},Se=Object.freeze({__proto__:null,alpha_dash:p,alpha_num:v,alpha_spaces:h,alpha:c,between:b,confirmed:_,digits:x,dimensions:w,email:k,ext:X,image:J,oneOf:U,integer:Q,length:ie,is_not:te,is:ee,max:ae,max_value:se,mimes:ue,min:de,min_value:fe,excluded:G,numeric:he,regex:be,required:_e,required_if:Ae,size:we,double:Ce}),Ze=function(){return Ze=Object.assign||function(e){for(var t,r=1,i=arguments.length;r<i;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e},Ze.apply(this,arguments)};function Oe(e,t,r,i){function n(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,a){function o(e){try{l(i.next(e))}catch(e){a(e)}}function s(e){try{l(i.throw(e))}catch(e){a(e)}}function l(e){e.done?r(e.value):n(e.value).then(o,s)}l((i=i.apply(e,t||[])).next())}))}function Ie(e,t){var r,i,n,a,o={label:0,sent:function(){if(1&n[0])throw n[1];return n[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(e){return function(t){return l([e,t])}}function l(a){if(r)throw new TypeError("Generator is already executing.");for(;o;)try{if(r=1,i&&(n=2&a[0]?i.return:a[0]?i.throw||((n=i.return)&&n.call(i),0):i.next)&&!(n=n.call(i,a[1])).done)return n;switch(i=0,n&&(a=[2&a[0],n.value]),a[0]){case 0:case 1:n=a;break;case 4:return o.label++,{value:a[1],done:!1};case 5:o.label++,i=a[1],a=[0];continue;case 7:a=o.ops.pop(),o.trys.pop();continue;default:if(!((n=(n=o.trys).length>0&&n[n.length-1])||6!==a[0]&&2!==a[0])){o=0;continue}if(3===a[0]&&(!n||a[1]>n[0]&&a[1]<n[3])){o.label=a[1];break}if(6===a[0]&&o.label<n[1]){o.label=n[1],n=a;break}if(n&&o.label<n[2]){o.label=n[2],o.ops.push(a);break}n[2]&&o.ops.pop(),o.trys.pop();continue}a=t.call(e,o)}catch(e){a=[6,e],i=0}finally{r=n=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}}function ze(){for(var e=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;var i=Array(e),n=0;for(t=0;t<r;t++)for(var a=arguments[t],o=0,s=a.length;o<s;o++,n++)i[n]=a[o];return i}var Re=Ze({},{defaultMessage:"{_field_} is not valid.",skipOptional:!0,classes:{touched:"touched",untouched:"untouched",valid:"valid",invalid:"invalid",pristine:"pristine",dirty:"dirty"},bails:!0,mode:"aggressive",useConstraintAttrs:!0}),Ee=function(){return Re},Fe=function(e){Re=Ze(Ze({},Re),e)},je=function(e){Fe(e)},Te=new i.default;function qe(){Te.$emit("change:locale")}var Pe,Ve=function(){function e(e,t){this.container={},this.locale=e,this.merge(t)}return e.prototype.resolve=function(e,t,r){return this.format(this.locale,e,t,r)},e.prototype.format=function(e,t,r,i){var n,a,o,s,l,u,c,d,p,f=null===(o=null===(a=null===(n=this.container[e])||void 0===n?void 0:n.fields)||void 0===a?void 0:a[t])||void 0===o?void 0:o[r],v=null===(l=null===(s=this.container[e])||void 0===s?void 0:s.messages)||void 0===l?void 0:l[r];return(p=f||v||"")||(p="{_field_} is not valid"),t=null!==(d=null===(c=null===(u=this.container[e])||void 0===u?void 0:u.names)||void 0===c?void 0:c[t])&&void 0!==d?d:t,R(p)?p(t,i):W(p,Ze(Ze({},i),{_field_:t}))},e.prototype.merge=function(e){D(this.container,e)},e.prototype.hasRule=function(e){var t,r;return!!(null===(r=null===(t=this.container[this.locale])||void 0===t?void 0:t.messages)||void 0===r?void 0:r[e])},e}();function De(e,t){var r;if(Pe||(Pe=new Ve("en",{}),Fe({defaultMessage:function(e,t){return Pe.resolve(e,null==t?void 0:t._rule_,t||{})}})),"string"==typeof e)return Pe.locale=e,t&&Pe.merge(((r={})[e]=t,r)),void qe();Pe.merge(e)}var Le={};function Ne(e){var t;return(null===(t=e.params)||void 0===t?void 0:t.length)&&(e.params=e.params.map((function(e){return"string"==typeof e?{name:e}:e}))),e}var Me=function(){function e(){}return e.extend=function(e,t){var r=Ne(t);Le[e]?Le[e]=D(Le[e],t):Le[e]=Ze({lazy:!1,computesRequired:!1},r)},e.isLazy=function(e){var t;return!!(null===(t=Le[e])||void 0===t?void 0:t.lazy)},e.isRequireRule=function(e){var t;return!!(null===(t=Le[e])||void 0===t?void 0:t.computesRequired)},e.getRuleDefinition=function(e){return Le[e]},e}();function Be(e,t){We(e,t),"object"!=typeof t?Me.extend(e,{validate:t}):Me.extend(e,t)}function We(e,t){if(!R(t)&&!R(t.validate)&&!Me.getRuleDefinition(e))throw new Error("Extension Error: The validator '"+e+"' must be a function or have a 'validate' method.")}var He={aggressive:function(){return{on:["input","blur"]}},eager:function(e){return e.errors.length?{on:["input","change"]}:{on:["change","blur"]}},passive:function(){return{on:[]}},lazy:function(){return{on:["change","blur"]}}},Ue=function(e,t){if(Fe({mode:e}),t){if(!R(t))throw new Error("A mode implementation must be a function");He[e]=t}};function Ge(e){var t={};return Object.defineProperty(t,"_$$isNormalized",{value:!0,writable:!1,enumerable:!1,configurable:!1}),e?O(e)&&e._$$isNormalized?e:O(e)?Object.keys(e).reduce((function(t,r){var i=[];return i=!0===e[r]?[]:Array.isArray(e[r])||O(e[r])?e[r]:[e[r]],!1!==e[r]&&(t[r]=Ye(r,i)),t}),t):"string"!=typeof e?(B("rules must be either a string or an object."),t):e.split("|").reduce((function(e,t){var r=Xe(t);return r.name?(e[r.name]=Ye(r.name,r.params),e):e}),t):t}function Ye(e,t){var r=Me.getRuleDefinition(e);if(!r)return t;var i,n,a={};if(!r.params&&!Array.isArray(t))throw new Error("You provided an object params to a rule that has no defined schema.");if(Array.isArray(t)&&!r.params)return t;i=!r.params||r.params.length<t.length&&Array.isArray(t)?t.map((function(e,t){var i,a=null===(i=r.params)||void 0===i?void 0:i[t];return n=a||n,a||(a=n),a})):r.params;for(var o=0;o<i.length;o++){var s=i[o],l=s.default;Array.isArray(t)?o in t&&(l=t[o]):s.name in t?l=t[s.name]:1===i.length&&(l=t),s.isTarget&&(l=Ke(l,s.cast)),"string"==typeof l&&"@"===l[0]&&(l=Ke(l.slice(1),s.cast)),!E(l)&&s.cast&&(l=s.cast(l)),a[s.name]?(a[s.name]=Array.isArray(a[s.name])?a[s.name]:[a[s.name]],a[s.name].push(l)):a[s.name]=l}return a}var Xe=function(e){var t=[],r=e.split(":")[0];return T(e,":")&&(t=e.split(":").slice(1).join(":").split(",")),{name:r,params:t}};function Ke(e,t){var r=function(r){var i=r[e];return t?t(i):i};return r.__locatorRef=e,r}function Je(e){return Array.isArray(e)?e.filter((function(e){return E(e)||"string"==typeof e&&"@"===e[0]})):Object.keys(e).filter((function(t){return E(e[t])})).map((function(t){return e[t]}))}function Qe(e,t,r){return void 0===r&&(r={}),Oe(this,void 0,void 0,(function(){var i,n,a,o,s,l;return Ie(this,(function(u){switch(u.label){case 0:return i=null==r?void 0:r.bails,n=null==r?void 0:r.skipIfEmpty,[4,et({name:(null==r?void 0:r.name)||"{field}",rules:Ge(t),bails:null==i||i,skipIfEmpty:null==n||n,forceRequired:!1,crossTable:(null==r?void 0:r.values)||{},names:(null==r?void 0:r.names)||{},customMessages:(null==r?void 0:r.customMessages)||{}},e,r)];case 1:return a=u.sent(),o=[],s={},l={},a.errors.forEach((function(e){var t=e.msg();o.push(t),s[e.rule]=t,l[e.rule]=e.msg})),[2,{valid:a.valid,required:a.required,errors:o,failedRules:s,regenerateMap:l}]}}))}))}function et(e,t,r){var i=(void 0===r?{}:r).isInitial,n=void 0!==i&&i;return Oe(this,void 0,void 0,(function(){var r,i,a,o,s,l,u,c,d;return Ie(this,(function(p){switch(p.label){case 0:return[4,tt(e,t)];case 1:if(r=p.sent(),i=r.shouldSkip,a=r.required,o=r.errors,i)return[2,{valid:!o.length,required:a,errors:o}];s=Object.keys(e.rules).filter((function(e){return!Me.isRequireRule(e)})),l=s.length,u=0,p.label=2;case 2:return u<l?n&&Me.isLazy(s[u])?[3,4]:(c=s[u],[4,rt(e,t,{name:c,params:e.rules[c]})]):[3,5];case 3:if(!(d=p.sent()).valid&&d.error&&(o.push(d.error),e.bails))return[2,{valid:!1,required:a,errors:o}];p.label=4;case 4:return u++,[3,2];case 5:return[2,{valid:!o.length,required:a,errors:o}]}}))}))}function tt(e,t){return Oe(this,void 0,void 0,(function(){var r,i,n,a,o,s,l,u,c;return Ie(this,(function(d){switch(d.label){case 0:r=Object.keys(e.rules).filter(Me.isRequireRule),i=r.length,n=[],a=S(t)||""===t||Z(t),o=a&&e.skipIfEmpty,l=0,d.label=1;case 1:return l<i?(u=r[l],[4,rt(e,t,{name:u,params:e.rules[u]})]):[3,4];case 2:if(c=d.sent(),!O(c))throw new Error("Require rules has to return an object (see docs)");if(void 0!==c.required&&(s=c.required),!c.valid&&c.error&&(n.push(c.error),e.bails))return[2,{shouldSkip:!0,required:c.required,errors:n}];d.label=3;case 3:return l++,[3,1];case 4:return a&&!s&&!e.skipIfEmpty||!e.bails&&!o?[2,{shouldSkip:!1,required:s,errors:n}]:[2,{shouldSkip:!s&&a,required:s,errors:n}]}}))}))}function rt(e,t,r){return Oe(this,void 0,void 0,(function(){var i,n,a,o,s;return Ie(this,(function(l){switch(l.label){case 0:if(!(i=Me.getRuleDefinition(r.name))||!i.validate)throw new Error("No such validator '"+r.name+"' exists.");return n=i.castValue?i.castValue(t):t,a=st(r.params,e.crossTable),[4,i.validate(n,a)];case 1:return"string"==typeof(o=l.sent())?(s=Ze(Ze({},a||{}),{_field_:e.name,_value_:t,_rule_:r.name}),[2,{valid:!1,error:{rule:r.name,msg:function(){return W(o,s)}}}]):(O(o)||(o={valid:o}),[2,{valid:o.valid,required:o.required,error:o.valid?void 0:it(e,t,i,r.name,a)}])}}))}))}function it(e,t,r,i,n){var a,o=null!==(a=e.customMessages[i])&&void 0!==a?a:r.message,s=nt(e,r,i),l=at(e,r,i,o),u=l.userTargets,c=l.userMessage,d=Ze(Ze(Ze(Ze({},n||{}),{_field_:e.name,_value_:t,_rule_:i}),s),u);return{msg:function(){return ot(c||Ee().defaultMessage,e.name,d)},rule:i}}function nt(e,t,r){var i=t.params;if(!i)return{};var n=i.filter((function(e){return e.isTarget})).length;if(n<=0)return{};var a={},o=e.rules[r];!Array.isArray(o)&&O(o)&&(o=i.map((function(e){return o[e.name]})));for(var s=0;s<i.length;s++){var l=i[s],u=o[s];if(E(u)){u=u.__locatorRef;var c=e.names[u]||u;a[l.name]=c,a["_"+l.name+"_"]=e.crossTable[u]}}return a}function at(e,t,r,i){var n={},a=e.rules[r],o=t.params||[];return a?(Object.keys(a).forEach((function(t,r){var i=a[t];if(!E(i))return{};var s=o[r];if(!s)return{};var l=i.__locatorRef;n[s.name]=e.names[l]||l,n["_"+s.name+"_"]=e.crossTable[l]})),{userTargets:n,userMessage:i}):{}}function ot(e,t,r){return"function"==typeof e?e(t,r):W(e,Ze(Ze({},r),{_field_:t}))}function st(e,t){if(Array.isArray(e))return e.map((function(e){var r="string"==typeof e&&"@"===e[0]?e.slice(1):e;return r in t?t[r]:e}));var r={},i=function(e){return E(e)?e(t):e};return Object.keys(e).forEach((function(t){r[t]=i(e[t])})),r}var lt=function e(t,r){if(t===r)return!0;if(t&&r&&"object"==typeof t&&"object"==typeof r){if(t.constructor!==r.constructor)return!1;var i,n,a;if(Array.isArray(t)){if((i=t.length)!=r.length)return!1;for(n=i;0!=n--;)if(!e(t[n],r[n]))return!1;return!0}if(t.constructor===RegExp)return t.source===r.source&&t.flags===r.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===r.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===r.toString();if((i=(a=Object.keys(t)).length)!==Object.keys(r).length)return!1;for(n=i;0!=n--;)if(!Object.prototype.hasOwnProperty.call(r,a[n]))return!1;for(n=i;0!=n--;){var o=a[n];if(!e(t[o],r[o]))return!1}return!0}return t!=t&&r!=r},ut=function(e){return!!(e&&("undefined"!=typeof Event&&R(Event)&&e instanceof Event||e&&e.srcElement))};function ct(e){var t,r;if(!ut(e))return e;var i=e.target;if("file"===i.type&&i.files)return q(i.files);if(null===(t=i._vModifiers)||void 0===t?void 0:t.number){var n=parseFloat(i.value);return C(n)?i.value:n}return(null===(r=i._vModifiers)||void 0===r?void 0:r.trim)&&"string"==typeof i.value?i.value.trim():i.value}var dt=function(e){var t,r=(null===(t=e.data)||void 0===t?void 0:t.attrs)||e.elm;return!("input"!==e.tag||r&&r.type)||"textarea"===e.tag||T(["text","password","search","email","tel","url","number"],null==r?void 0:r.type)};function pt(e){if(e.data){var t=e.data;if("model"in t)return t.model;if(e.data.directives)return j(e.data.directives,(function(e){return"model"===e.name}))}}function ft(e){var t,r,i=pt(e);if(i)return{value:i.value};var n=ht(e),a=(null==n?void 0:n.prop)||"value";return(null===(t=e.componentOptions)||void 0===t?void 0:t.propsData)&&a in e.componentOptions.propsData?{value:e.componentOptions.propsData[a]}:(null===(r=e.data)||void 0===r?void 0:r.domProps)&&"value"in e.data.domProps?{value:e.data.domProps.value}:void 0}function vt(e){return Array.isArray(e)?e:Array.isArray(e.children)?e.children:e.componentOptions&&Array.isArray(e.componentOptions.children)?e.componentOptions.children:[]}function mt(e){return Array.isArray(e)||void 0===ft(e)?vt(e).reduce((function(e,t){var r=mt(t);return r.length&&e.push.apply(e,r),e}),[]):[e]}function ht(e){return e.componentOptions?e.componentOptions.Ctor.options.model:null}function gt(e,t,r){if(S(e[t]))e[t]=[r];else{if(R(e[t])&&e[t].fns){var i=e[t];return i.fns=Array.isArray(i.fns)?i.fns:[i.fns],void(T(i.fns,r)||i.fns.push(r))}if(R(e[t])){var n=e[t];e[t]=[n]}Array.isArray(e[t])&&!T(e[t],r)&&e[t].push(r)}}function bt(e,t,r){e.data||(e.data={}),S(e.data.on)&&(e.data.on={}),gt(e.data.on,t,r)}function _t(e,t,r){e.componentOptions&&(e.componentOptions.listeners||(e.componentOptions.listeners={}),gt(e.componentOptions.listeners,t,r))}function yt(e,t,r){e.componentOptions?_t(e,t,r):bt(e,t,r)}function xt(e,t){var r;return e.componentOptions?(ht(e)||{event:"input"}).event:(null===(r=null==t?void 0:t.modifiers)||void 0===r?void 0:r.lazy)?"change":dt(e)?"input":"change"}function At(e){return T(["input","select","textarea"],e.tag)}function $t(e,t){var r=[];return Object.keys(e).reduce((function(r,i){return e[i].forEach((function(r){r.context||(e[i].context=t,r.data||(r.data={}),r.data.slot=i)})),r.concat(e[i])}),r)}function wt(e){var t,r=null===(t=e.data)||void 0===t?void 0:t.attrs,i={};return r?("email"===r.type&&Me.getRuleDefinition("email")&&(i.email=["multiple"in r]),r.pattern&&Me.getRuleDefinition("regex")&&(i.regex=r.pattern),r.maxlength>=0&&Me.getRuleDefinition("max")&&(i.max=r.maxlength),r.minlength>=0&&Me.getRuleDefinition("min")&&(i.min=r.minlength),"number"===r.type&&(z(r.min)&&Me.getRuleDefinition("min_value")&&(i.min_value=Number(r.min)),z(r.max)&&Me.getRuleDefinition("max_value")&&(i.max_value=Number(r.max))),i):i}function kt(e){var t,r=["input","select","textarea"],i=null===(t=e.data)||void 0===t?void 0:t.attrs;if(!T(r,e.tag)||!i)return{};var n={};return"required"in i&&!1!==i.required&&Me.getRuleDefinition("required")&&(n.required="checkbox"!==i.type||[!0]),dt(e)?Ge(Ze(Ze({},n),wt(e))):Ge(n)}function Ct(e,t){return e.$scopedSlots.default?e.$scopedSlots.default(t)||[]:e.$slots.default||[]}function St(e,t){return!(e._ignoreImmediate||!e.immediate)||!(I(e.value,t)||!e.normalizedEvents.length)||!!e._needsValidation||!e.initialized&&void 0===t}function Zt(e){return Ze(Ze({},e.flags),{errors:e.errors,classes:e.classes,failedRules:e.failedRules,reset:function(){return e.reset()},validate:function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return e.validate.apply(e,t)},ariaInput:{"aria-invalid":e.flags.invalid?"true":"false","aria-required":e.isRequired?"true":"false","aria-errormessage":"vee_"+e.id},ariaMsg:{id:"vee_"+e.id,"aria-live":e.errors.length?"assertive":"off"}})}function Ot(e,t){e.initialized||(e.initialValue=t);var r=St(e,t);if(e._needsValidation=!1,e.value=t,e._ignoreImmediate=!0,r){var i=function(){if(e.immediate||e.flags.validated)return zt(e);e.validateSilent()};e.initialized?i():e.$once("hook:mounted",(function(){return i()}))}}function It(e){return(R(e.mode)?e.mode:He[e.mode])(e)}function zt(e){var t=e.validateSilent();return e._pendingValidation=t,t.then((function(r){return t===e._pendingValidation&&(e.applyResult(r),e._pendingValidation=void 0),r}))}function Rt(e){e.$veeOnInput||(e.$veeOnInput=function(t){e.syncValue(t),e.setFlags({dirty:!0,pristine:!1})});var t=e.$veeOnInput;e.$veeOnBlur||(e.$veeOnBlur=function(){e.setFlags({touched:!0,untouched:!1})});var r=e.$veeOnBlur,i=e.$veeHandler,n=It(e);return i&&e.$veeDebounce===e.debounce||(i=M((function(){e.$nextTick((function(){e._pendingReset||zt(e),e._pendingReset=!1}))}),n.debounce||e.debounce),e.$veeHandler=i,e.$veeDebounce=e.debounce),{onInput:t,onBlur:r,onValidate:i}}function Et(e,t){var r=ft(t);e._inputEventName=e._inputEventName||xt(t,pt(t)),Ot(e,null==r?void 0:r.value);var i=Rt(e),n=i.onInput,a=i.onBlur,o=i.onValidate;yt(t,e._inputEventName,n),yt(t,"blur",a),e.normalizedEvents.forEach((function(e){yt(t,e,o)})),e.initialized=!0}var Ft=0;function jt(){var e="";return{errors:[],value:void 0,initialized:!1,initialValue:void 0,flags:L(),failedRules:{},isActive:!0,fieldName:e,id:""}}var Tt=i.default.extend({name:"ValidationProvider",inject:{$_veeObserver:{from:"$_veeObserver",default:function(){return this.$vnode.context.$_veeObserver||(this.$vnode.context.$_veeObserver=Lt()),this.$vnode.context.$_veeObserver}}},props:{vid:{type:String,default:""},name:{type:String,default:null},mode:{type:[String,Function],default:function(){return Ee().mode}},rules:{type:[Object,String],default:null},immediate:{type:Boolean,default:!1},bails:{type:Boolean,default:function(){return Ee().bails}},skipIfEmpty:{type:Boolean,default:function(){return Ee().skipOptional}},debounce:{type:Number,default:0},tag:{type:String,default:"span"},slim:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},customMessages:{type:Object,default:function(){return{}}},detectInput:{type:Boolean,default:!0}},watch:{rules:{deep:!0,handler:function(e,t){this._needsValidation=!lt(e,t)}}},data:jt,computed:{fieldDeps:function(){var e=this;return Object.keys(this.normalizedRules).reduce((function(t,r){var i=Je(e.normalizedRules[r]).map((function(e){return E(e)?e.__locatorRef:e.slice(1)}));return t.push.apply(t,i),i.forEach((function(t){Nt(e,t)})),t}),[])},normalizedEvents:function(){var e=this;return(It(this).on||[]).map((function(t){return"input"===t?e._inputEventName:t}))},isRequired:function(){var e=Ze(Ze({},this._resolvedRules),this.normalizedRules),t=Object.keys(e).some(Me.isRequireRule);return this.flags.required=!!t,t},classes:function(){return qt(Ee().classes,this.flags)},normalizedRules:function(){return Ge(this.rules)}},mounted:function(){var e=this,t=function(){if(e.flags.validated){var t=e._regenerateMap;if(t){var r=[],i={};return Object.keys(t).forEach((function(e){var n=t[e]();r.push(n),i[e]=n})),void e.applyResult({errors:r,failedRules:i,regenerateMap:t})}e.validate()}};Te.$on("change:locale",t),this.$on("hook:beforeDestroy",(function(){Te.$off("change:locale",t)}))},render:function(e){var t=this;this.registerField();var r=Ct(this,Zt(this));if(this.detectInput){var i=mt(r);i.length&&i.forEach((function(e,r){var i,n,a,o,s,l;if(T(["checkbox","radio"],null===(n=null===(i=e.data)||void 0===i?void 0:i.attrs)||void 0===n?void 0:n.type)||!(r>0)){var u=Ee().useConstraintAttrs?kt(e):{};lt(t._resolvedRules,u)||(t._needsValidation=!0),At(e)&&(t.fieldName=(null===(o=null===(a=e.data)||void 0===a?void 0:a.attrs)||void 0===o?void 0:o.name)||(null===(l=null===(s=e.data)||void 0===s?void 0:s.attrs)||void 0===l?void 0:l.id)),t._resolvedRules=u,Et(t,e)}}))}return this.slim&&r.length<=1?r[0]:e(this.tag,r)},beforeDestroy:function(){this.$_veeObserver.unobserve(this.id)},activated:function(){this.isActive=!0},deactivated:function(){this.isActive=!1},methods:{setFlags:function(e){var t=this;Object.keys(e).forEach((function(r){t.flags[r]=e[r]}))},syncValue:function(e){var t=ct(e);this.value=t,this.flags.changed=!lt(this.initialValue,t)},reset:function(){var e=this;this.errors=[],this.initialValue=this.value;var t=L();t.required=this.isRequired,this.setFlags(t),this.failedRules={},this.validateSilent(),this._pendingValidation=void 0,this._pendingReset=!0,setTimeout((function(){e._pendingReset=!1}),this.debounce)},validate:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return Oe(this,void 0,void 0,(function(){return Ie(this,(function(t){return e.length>0&&this.syncValue(e[0]),[2,zt(this)]}))}))},validateSilent:function(){return Oe(this,void 0,void 0,(function(){var e,t;return Ie(this,(function(r){switch(r.label){case 0:return this.setFlags({pending:!0}),e=Ze(Ze({},this._resolvedRules),this.normalizedRules),Object.defineProperty(e,"_$$isNormalized",{value:!0,writable:!1,enumerable:!1,configurable:!1}),[4,Qe(this.value,e,Ze(Ze({name:this.name||this.fieldName},Pt(this)),{bails:this.bails,skipIfEmpty:this.skipIfEmpty,isInitial:!this.initialized,customMessages:this.customMessages}))];case 1:return t=r.sent(),this.setFlags({pending:!1,valid:t.valid,invalid:!t.valid}),void 0!==t.required&&this.setFlags({required:t.required}),[2,t]}}))}))},setErrors:function(e){this.applyResult({errors:e,failedRules:{}})},applyResult:function(e){var t=e.errors,r=e.failedRules,i=e.regenerateMap;this.errors=t,this._regenerateMap=i,this.failedRules=Ze({},r||{}),this.setFlags({valid:!t.length,passed:!t.length,invalid:!!t.length,failed:!!t.length,validated:!0,changed:!lt(this.value,this.initialValue)})},registerField:function(){Dt(this)},checkComputesRequiredState:function(){var e=Ze(Ze({},this._resolvedRules),this.normalizedRules);return Object.keys(e).some(Me.isRequireRule)}}});function qt(e,t){for(var r={},i=Object.keys(t),n=i.length,a=function(n){var a=i[n],o=e&&e[a]||a,s=t[a];return S(s)?"continue":"valid"!==a&&"invalid"!==a||t.validated?void("string"==typeof o?r[o]=s:Array.isArray(o)&&o.forEach((function(e){r[e]=s}))):"continue"},o=0;o<n;o++)a(o);return r}function Pt(e){var t=e.$_veeObserver.refs,r={names:{},values:{}};return e.fieldDeps.reduce((function(e,r){return t[r]?(e.values[r]=t[r].value,e.names[r]=t[r].name,e):e}),r)}function Vt(e){return e.vid?e.vid:e.name?e.name:e.id?e.id:e.fieldName?e.fieldName:"_vee_"+ ++Ft}function Dt(e){var t=Vt(e),r=e.id;!e.isActive||r===t&&e.$_veeObserver.refs[r]||(r!==t&&e.$_veeObserver.refs[r]===e&&e.$_veeObserver.unobserve(r),e.id=t,e.$_veeObserver.observe(e))}function Lt(){return{refs:{},observe:function(e){this.refs[e.id]=e},unobserve:function(e){delete this.refs[e]}}}function Nt(e,t,r){void 0===r&&(r=!0);var i=e.$_veeObserver.refs;if(e._veeWatchers||(e._veeWatchers={}),!i[t]&&r)return e.$once("hook:mounted",(function(){Nt(e,t,!1)}));!R(e._veeWatchers[t])&&i[t]&&(e._veeWatchers[t]=i[t].$watch("value",(function(){var t=e.checkComputesRequiredState();e.flags.validated&&(e._needsValidation=!0,e.validate()),t&&!e.flags.validated&&e.validateSilent()})))}var Mt=[["pristine","every"],["dirty","some"],["touched","some"],["untouched","every"],["valid","every"],["invalid","some"],["pending","some"],["validated","every"],["changed","some"],["passed","every"],["failed","some"]],Bt=0;function Wt(){return{id:"",refs:{},observers:[],errors:{},flags:Kt(),fields:{}}}function Ht(){return{$_veeObserver:this}}var Ut=i.default.extend({name:"ValidationObserver",provide:Ht,inject:{$_veeObserver:{from:"$_veeObserver",default:function(){return this.$vnode.context.$_veeObserver?this.$vnode.context.$_veeObserver:null}}},props:{tag:{type:String,default:"span"},vid:{type:String,default:function(){return"obs_"+Bt++}},slim:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},data:Wt,created:function(){var e=this;this.id=this.vid,Yt(this);var t=M((function(t){var r=t.errors,i=t.flags,n=t.fields;e.errors=r,e.flags=i,e.fields=n}),16);this.$watch(Jt,t)},activated:function(){Yt(this)},deactivated:function(){Gt(this)},beforeDestroy:function(){Gt(this)},render:function(e){var t=Ct(this,Xt(this));return this.slim&&t.length<=1?t[0]:e(this.tag,{on:this.$listeners},t)},methods:{observe:function(e,t){var r;void 0===t&&(t="provider"),"observer"!==t?this.refs=Ze(Ze({},this.refs),((r={})[e.id]=e,r)):this.observers.push(e)},unobserve:function(e,t){if(void 0===t&&(t="provider"),"provider"!==t){var r=F(this.observers,(function(t){return t.id===e}));-1!==r&&this.observers.splice(r,1)}else{if(!this.refs[e])return;this.$delete(this.refs,e)}},validateWithInfo:function(e){var t=(void 0===e?{}:e).silent,r=void 0!==t&&t;return Oe(this,void 0,void 0,(function(){var e,t,i,n,a,o;return Ie(this,(function(s){switch(s.label){case 0:return[4,Promise.all(ze(V(this.refs).filter((function(e){return!e.disabled})).map((function(e){return e[r?"validateSilent":"validate"]().then((function(e){return e.valid}))})),this.observers.filter((function(e){return!e.disabled})).map((function(e){return e.validate({silent:r})}))))];case 1:return e=s.sent(),t=e.every((function(e){return e})),i=Jt.call(this),n=i.errors,a=i.flags,o=i.fields,this.errors=n,this.flags=a,this.fields=o,[2,{errors:n,flags:a,fields:o,isValid:t}]}}))}))},validate:function(e){var t=(void 0===e?{}:e).silent,r=void 0!==t&&t;return Oe(this,void 0,void 0,(function(){return Ie(this,(function(e){switch(e.label){case 0:return[4,this.validateWithInfo({silent:r})];case 1:return[2,e.sent().isValid]}}))}))},handleSubmit:function(e){return Oe(this,void 0,void 0,(function(){return Ie(this,(function(t){switch(t.label){case 0:return[4,this.validate()];case 1:return t.sent()&&e?[2,e()]:[2]}}))}))},reset:function(){return ze(V(this.refs),this.observers).forEach((function(e){return e.reset()}))},setErrors:function(e){var t=this;Object.keys(e).forEach((function(r){var i=t.refs[r];if(i){var n=e[r]||[];n="string"==typeof n?[n]:n,i.setErrors(n)}})),this.observers.forEach((function(t){t.setErrors(e)}))}}});function Gt(e){e.$_veeObserver&&e.$_veeObserver.unobserve(e.id,"observer")}function Yt(e){e.$_veeObserver&&e.$_veeObserver.observe(e,"observer")}function Xt(e){return Ze(Ze({},e.flags),{errors:e.errors,fields:e.fields,validate:e.validate,validateWithInfo:e.validateWithInfo,passes:e.handleSubmit,handleSubmit:e.handleSubmit,reset:e.reset})}function Kt(){return Ze(Ze({},L()),{valid:!0,invalid:!1})}function Jt(){for(var e=ze(V(this.refs),this.observers.filter((function(e){return!e.disabled}))),t={},r=Kt(),i={},n=e.length,a=0;a<n;a++){var o=e[a];Array.isArray(o.errors)?(t[o.id]=o.errors,i[o.id]=Ze({id:o.id,name:o.name,failedRules:o.failedRules},o.flags)):(t=Ze(Ze({},t),o.errors),i=Ze(Ze({},i),o.fields))}return Mt.forEach((function(t){var i=t[0],n=t[1];r[i]=e[n]((function(e){return e.flags[i]}))})),{errors:t,flags:r,fields:i}}function Qt(e,t){var r;void 0===t&&(t=N);var i="options"in e?e.options:e,n=Tt.options,a={name:(i.name||"AnonymousHoc")+"WithValidation",props:Ze({},n.props),data:n.data,computed:Ze({},n.computed),methods:Ze({},n.methods),beforeDestroy:n.beforeDestroy,inject:n.inject},o=(null===(r=null==i?void 0:i.model)||void 0===r?void 0:r.event)||"input";return a.render=function(e){var r;this.registerField();var n=Zt(this),a=Ze({},this.$listeners),s=pt(this.$vnode);this._inputEventName=this._inputEventName||xt(this.$vnode,s);var l=ft(this.$vnode);Ot(this,null==l?void 0:l.value);var u=Rt(this),c=u.onInput,d=u.onBlur,p=u.onValidate;gt(a,o,c),gt(a,"blur",d),this.normalizedEvents.forEach((function(e){gt(a,e,p)}));var f=(ht(this.$vnode)||{prop:"value"}).prop,v=Ze(Ze(Ze({},this.$attrs),((r={})[f]=null==s?void 0:s.value,r)),t(n));return e(i,{attrs:this.$attrs,props:v,on:a,scopedSlots:this.$scopedSlots},$t(this.$slots,this.$vnode.context))},a}var er="3.4.14";Object.keys(Se).map((function(e){return{schema:Se[e],name:e}})).forEach((function(e){Be(e.name,e.schema)})),De("en",n),e.Rules=Se,e.ValidationObserver=Ut,e.ValidationProvider=Tt,e.configure=je,e.extend=Be,e.localeChanged=qe,e.localize=De,e.normalizeRules=Ge,e.setInteractionMode=Ue,e.validate=Qe,e.version=er,e.withValidation=Qt,Object.defineProperty(e,"__esModule",{value:!0})}(t,r(538))},9194:(e,t,r)=>{"use strict";r.d(t,{Z:()=>n});const i={name:"AppInputSwitch",props:["description","isLast","title","error"]};const n=(0,r(1900).Z)(i,(function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"flex w-full items-center justify-between space-x-2 sm:space-x-8",class:{"mb-6 sm:mb-7":!e.isLast}},[r("div",{staticClass:"leading-5"},[r("label",{staticClass:"mb-1.5 block text-sm font-bold text-gray-700 dark:text-gray-200"},[e._v(" "+e._s(e.title)+": ")]),e._v(" "),e.description?r("span",{staticClass:"block text-xs leading-4 dark:text-gray-500 text-gray-500",domProps:{innerHTML:e._s(e.description)}}):e._e(),e._v(" "),e.error?r("span",{staticClass:"pt-2 text-xs dark:text-rose-600 text-rose-600"},[e._v("\n "+e._s(e.error)+"\n ")]):e._e()]),e._v(" "),r("div",[e._t("default")],2)])}),[],!1,null,null,null).exports},4383:(e,t,r)=>{"use strict";r.d(t,{Z:()=>n});const i={name:"AppInputText",props:["description","isLast","title","error"]};const n=(0,r(1900).Z)(i,(function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{class:{"mb-6 sm:mb-7":!e.isLast}},[e.title?r("label",{staticClass:"mb-1.5 block text-sm font-bold text-gray-700 dark:text-gray-200"},[e._v("\n "+e._s(e.title)+":\n ")]):e._e(),e._v(" "),e._t("default"),e._v(" "),e.error?r("span",{staticClass:"pt-2 text-xs dark:text-rose-600 text-rose-600"},[e._v("\n "+e._s(e.error)+"\n ")]):e._e(),e._v(" "),e.description?r("small",{staticClass:"block pt-2 text-xs leading-4 dark:text-gray-500 text-gray-500",domProps:{innerHTML:e._s(e.description)}}):e._e()],2)}),[],!1,null,null,null).exports},2276:(e,t,r)=>{"use strict";r.d(t,{Z:()=>u});var i=r(9101);const n={name:"AuthContent",props:["loading","icon","text"],components:{ChevronRightIcon:i.XCv,RefreshCwIcon:i.Iyk},data:function(){return{isVisible:!1}},created:function(){this.isVisible=this.visible}};var a=r(3379),o=r.n(a),s=r(6632),l={insert:"head",singleton:!1};o()(s.Z,l);s.Z.locals;const u=(0,r(1900).Z)(n,(function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("button",{staticClass:"group mx-auto inline-block flex items-center whitespace-nowrap rounded-lg border-2 border-black px-7 py-2.5 dark:border-gray-300"},[r("span",{staticClass:"pr-1 text-lg font-extrabold"},[e._v("\n "+e._s(e.text)+"\n ")]),e._v(" "),e.loading?r("refresh-cw-icon",{staticClass:"vue-feather text-theme sync-alt -mr-1",attrs:{size:"20"}}):e._e(),e._v(" "),!e.loading&&e.icon?r("chevron-right-icon",{staticClass:"vue-feather text-theme -mr-1",attrs:{size:"20"}}):e._e()],1)}),[],!1,null,"0249f6ea",null).exports},4006:(e,t,r)=>{"use strict";r.d(t,{Z:()=>n});const i={name:"AuthContent",props:["visible","name"],data:function(){return{isVisible:!1}},created:function(){this.isVisible=this.visible}};const n=(0,r(1900).Z)(i,(function(){var e=this,t=e.$createElement,r=e._self._c||t;return e.isVisible?r("div",{staticClass:"w-full max-w-xl text-center"},[e._t("default")],2):e._e()}),[],!1,null,null,null).exports},868:(e,t,r)=>{"use strict";r.d(t,{Z:()=>n});const i={name:"AuthContentWrapper"};const n=(0,r(1900).Z)(i,(function(){var e=this,t=e.$createElement;return(e._self._c||t)("div",{staticClass:"flex items-center justify-center px-2.5 md:px-6"},[e._t("default")],2)}),[],!1,null,null,null).exports},1655:(e,t,r)=>{"use strict";r.d(t,{Z:()=>a});var i=r(9101);const n={name:"FormLabel",props:["icon"],components:{TrendingUpIcon:i.Zab,WifiIcon:i.kVp,ListIcon:i.DE2,MailIcon:i.bV6,InfoIcon:i.szr,DatabaseIcon:i.VHe,UsersIcon:i.oyc,CreditCardIcon:i.ciH,DollarSignIcon:i.bkH,SmartphoneIcon:i.BEV,HardDriveIcon:i.zvn,BarChartIcon:i.eJP,SettingsIcon:i.ewm,FileTextIcon:i.zPP,ShieldIcon:i.b7C,FrownIcon:i.eFi,Edit2Icon:i.me4,BellIcon:i.Dkj,KeyIcon:i._m8}};const a=(0,r(1900).Z)(n,(function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"mb-8 flex items-center"},[e.icon?e._e():r("edit-2-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}),e._v(" "),"frown"===e.icon?r("frown-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"list"===e.icon?r("list-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"info"===e.icon?r("info-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"database"===e.icon?r("database-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"file-text"===e.icon?r("file-text-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"dollar"===e.icon?r("dollar-sign-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"credit-card"===e.icon?r("credit-card-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"bar-chart"===e.icon?r("bar-chart-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"settings"===e.icon?r("settings-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"hard-drive"===e.icon?r("hard-drive-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"mail"===e.icon?r("mail-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"smartphone"===e.icon?r("smartphone-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"shield"===e.icon?r("shield-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"bell"===e.icon?r("bell-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"key"===e.icon?r("key-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"users"===e.icon?r("users-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"wifi"===e.icon?r("wifi-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"trending-up"===e.icon?r("trending-up-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),r("b",{staticClass:"text-md font-bold dark:text-gray-200 sm:text-lg"},[e._t("default")],2)],1)}),[],!1,null,null,null).exports},6784:(e,t,r)=>{"use strict";r.d(t,{Z:()=>a});var i=r(9101);const n={name:"ImageInput",props:["image","error"],components:{ImageIcon:i.XBm,XIcon:i.b0D},data:function(){return{imagePreview:void 0}},computed:{isData:function(){return!(void 0===this.imagePreview||""===this.imagePreview)}},methods:{resetImage:function(){this.imagePreview=void 0,this.$emit("input",void 0)},showImagePreview:function(e){var t=this,r=e.target.files[0].name,i=r.substring(r.lastIndexOf(".")+1).toLowerCase();if(["png","jpg","jpeg","svg"].includes(i)){var n=e.target.files[0],a=new FileReader;a.onload=function(){return t.imagePreview=a.result},a.readAsDataURL(n),this.$emit("input",e.target.files[0])}else alert(this.$t("wrong_image_error"))}},created:function(){this.image&&(this.imagePreview=this.image)}};const a=(0,r(1900).Z)(n,(function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"relative flex h-[175px] items-center justify-center rounded-lg bg-light-background dark:bg-2x-dark-foreground",class:{"is-error":e.error}},[e.imagePreview?r("div",{staticClass:"absolute right-0 top-0 z-[9] flex h-7 w-7 -translate-y-3 translate-x-3 cursor-pointer items-center justify-center rounded-md rounded-full dark:bg-4x-dark-foreground bg-white shadow-lg",on:{click:e.resetImage}},[r("x-icon",{staticClass:"vue-feather dark:text-gray-500",attrs:{size:"14"}})],1):e._e(),e._v(" "),r("input",{ref:"file",staticClass:"absolute top-0 left-0 right-0 bottom-0 z-10 w-full cursor-pointer opacity-0",attrs:{type:"file"},on:{change:function(t){return e.showImagePreview(t)}}}),e._v(" "),e.imagePreview?r("img",{ref:"image",staticClass:"absolute h-full w-full object-contain py-4 px-12",attrs:{src:e.imagePreview}}):e._e(),e._v(" "),e.isData?e._e():r("div",{staticClass:"text-center"},[r("image-icon",{staticClass:"vue-feather text-theme mb-4 inline-block",attrs:{size:"34"}}),e._v(" "),r("b",{staticClass:"block text-base font-bold leading-3"},[e._v("\n "+e._s(e.$te("input_image.title")?e.$t("input_image.title"):"Upload Image")+"\n ")]),e._v(" "),r("small",{staticClass:"text-xs text-gray-500"},[e._v("\n "+e._s(e.$te("input_image.supported")?e.$t("input_image.supported"):"Supported formats are .png, .jpg, .jpeg.")+"\n ")])],1)])}),[],!1,null,null,null).exports},6291:(e,t,r)=>{"use strict";r.d(t,{Z:()=>l});const i={name:"InfoBox",props:["type"]};var n=r(3379),a=r.n(n),o=r(9397),s={insert:"head",singleton:!1};a()(o.Z,s);o.Z.locals;const l=(0,r(1900).Z)(i,(function(){var e=this,t=e.$createElement;return(e._self._c||t)("div",{staticClass:"info-box",class:e.type},[e._t("default")],2)}),[],!1,null,"4d9e9780",null).exports},1638:(e,t,r)=>{"use strict";r.d(t,{Z:()=>c});var i=r(9101),n=r(6486);const a={name:"SelectInput",props:["placeholder","options","isError","default"],components:{Edit2Icon:i.me4,UserIcon:i.tBG,ChevronDownIcon:i.v4q},watch:{query:(0,n.debounce)((function(e){this.searchedResults=(0,n.omitBy)(this.options,(function(t){return!t.label.toLowerCase().includes(e.toLowerCase())}))}),200)},computed:{isSearching:function(){return this.searchedResults&&""!==this.query},optionList:function(){return this.isSearching?this.searchedResults:this.options}},data:function(){return{searchedResults:void 0,selected:void 0,isOpen:!1,query:""}},methods:{selectOption:function(e){this.$emit("input",e.value),this.$emit("change",e.value),this.selected=e,this.isOpen=!1},openMenu:function(){var e=this;this.isOpen=!this.isOpen,this.$refs.search&&this.isOpen&&this.$nextTick((function(){return e.$refs.search.focus()}))}},created:function(){var e=this;this.default&&(this.selected=this.options.find((function(t){return t.value===e.default})))}};var o=r(3379),s=r.n(o),l=r(2189),u={insert:"head",singleton:!1};s()(l.Z,u);l.Z.locals;const c=(0,r(1900).Z)(a,(function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"select"},[r("div",{staticClass:"input-area rounded-lg bg-light-background dark:bg-2x-dark-foreground",class:{"is-active":e.isOpen,"!border-rose-600":e.isError},on:{click:e.openMenu}},[e.selected?r("div",{staticClass:"selected flex w-full items-center"},[e.selected.icon?r("div",{staticClass:"option-icon"},["user"===e.selected.icon?r("user-icon",{staticClass:"vue-feather text-theme",attrs:{size:"14"}}):e._e(),e._v(" "),"user-edit"===e.selected.icon?r("edit2-icon",{staticClass:"vue-feather text-theme",attrs:{size:"14"}}):e._e()],1):e._e(),e._v(" "),r("span",{staticClass:"option-value inline-block w-full overflow-hidden text-ellipsis whitespace-nowrap pl-2"},[e._v("\n "+e._s(e.selected.label)+"\n ")])]):e._e(),e._v(" "),e.selected?e._e():r("div",{staticClass:"not-selected"},[r("span",{staticClass:"option-value placehoder"},[e._v(e._s(e.placeholder))])]),e._v(" "),r("chevron-down-icon",{staticClass:"chevron",attrs:{size:"19"}})],1),e._v(" "),r("transition",{attrs:{name:"slide-in"}},[e.isOpen?r("div",{staticClass:"input-options rounded-lg"},[e.options.length>5?r("div",{staticClass:"select-search"},[r("input",{directives:[{name:"model",rawName:"v-model",value:e.query,expression:"query"}],ref:"search",staticClass:"search-input focus-border-theme rounded-lg",attrs:{type:"text",placeholder:e.$te("search_in_list")?e.$t("search_in_list"):"Search in list..."},domProps:{value:e.query},on:{input:function(t){t.target.composing||(e.query=t.target.value)}}})]):e._e(),e._v(" "),r("ul",{staticClass:"option-list"},e._l(e.optionList,(function(t,i){return r("li",{key:i,staticClass:"option-item",on:{click:function(r){return e.selectOption(t)}}},[t.icon?r("div",{staticClass:"option-icon"},["user"===t.icon?r("user-icon",{attrs:{size:"14"}}):e._e(),e._v(" "),"user-edit"===t.icon?r("edit2-icon",{attrs:{size:"14"}}):e._e()],1):e._e(),e._v(" "),r("span",{staticClass:"option-value"},[e._v("\n\t\t\t\t\t\t\t"+e._s(e.$t(t.label))+"\n\t\t\t\t\t\t")])])})),0)]):e._e()])],1)}),[],!1,null,"07825bd0",null).exports},667:(e,t,r)=>{"use strict";r.d(t,{Z:()=>l});const i={name:"SwitchInput",props:["label","name","state","info","input","isDisabled"],data:function(){return{isSwitched:void 0}},methods:{changeState:function(){this.isDisabled||(this.isSwitched=!this.isSwitched,this.$emit("input",this.isSwitched))}},mounted:function(){this.isSwitched=this.state}};var n=r(3379),a=r.n(n),o=r(7395),s={insert:"head",singleton:!1};a()(o.Z,s);o.Z.locals;const l=(0,r(1900).Z)(i,(function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",[r("div",{staticClass:"switch-content"},[e.label?r("label",{staticClass:"input-label"},[e._v(" "+e._s(e.label)+": ")]):e._e(),e._v(" "),e.info?r("small",{staticClass:"input-info"},[e._v("\n "+e._s(e.info)+"\n ")]):e._e()]),e._v(" "),r("div",{staticClass:"switch-content text-right"},[r("div",{staticClass:"switch",class:{active:e.state},on:{click:e.changeState}},[r("div",{staticClass:"switch-button"})])])])}),[],!1,null,"615ed0c1",null).exports},3755:(e,t,r)=>{"use strict";r.d(t,{Z:()=>s});function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,i)}return r}function n(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){a(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const o={name:"Headline",props:["description","title"],computed:n(n({},(0,r(629).Se)(["config","isDarkMode"])),{},{logoSrc:function(){return this.isDarkMode&&this.config.app_logo?this.config.app_logo_dark:this.config.app_logo}})};const s=(0,r(1900).Z)(o,(function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"mb-14"},[e._t("default"),e._v(" "),e.$slots.default?e._e():r("div",[e.config.app_logo?r("img",{staticClass:"mx-auto mb-6 h-16 md:h-20 mb-10",attrs:{src:e.$getImage(e.logoSrc),alt:e.config.app_name}}):e._e(),e._v(" "),e.config.app_logo?e._e():r("b",{staticClass:"mb-10 block text-xl font-bold"},[e._v("\n "+e._s(e.config.app_name)+"\n ")])]),e._v(" "),r("h1",{staticClass:"mb-0.5 text-3xl font-extrabold md:text-4xl"},[e._v("\n "+e._s(e.title)+"\n ")]),e._v(" "),r("h2",{staticClass:"text-xl font-normal md:text-2xl"},[e._v("\n "+e._s(e.description)+"\n ")])],2)}),[],!1,null,null,null).exports},3565:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>$});var i=r(7757),n=r.n(i),a=r(9495),o=r(868),s=r(1638),l=r(667),u=r(9194),c=r(6784),d=r(1655),p=r(4383),f=r(6291),v=r(4006),m=r(2276),h=r(9101),g=r(3755),b=r(4479),_=r(9669),y=r.n(_);function x(e,t,r,i,n,a,o){try{var s=e[a](o),l=s.value}catch(e){return void r(e)}s.done?t(l):Promise.resolve(l).then(i,n)}const A={name:"EnvironmentSetup",components:{AppInputText:p.Z,AppInputSwitch:u.Z,AuthContentWrapper:o.Z,ValidationProvider:a.ValidationProvider,ValidationObserver:a.ValidationObserver,SettingsIcon:h.ewm,SelectInput:s.Z,SwitchInput:l.Z,AuthContent:v.Z,ImageInput:c.Z,AuthButton:m.Z,FormLabel:d.Z,required:b.C1,InfoBox:f.Z,Headline:g.Z},data:function(){return{isLoading:!1,isExtended:void 0,app:{color:"#00BC7E",subscriptionType:void 0,title:void 0,description:void 0,logo:void 0,logo_horizontal:void 0,favicon:void 0,og_image:void 0,touch_icon:void 0,contactMail:void 0,googleAnalytics:void 0,defaultStorage:"5",userRegistration:1,storageLimitation:1}}},methods:{appSetupSubmit:function(){var e,t=this;return(e=n().mark((function e(){var r;return n().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.$root.$data.config.isSetupWizardDemo&&t.$router.push({name:"AdminAccount"}),e.next=3,t.$refs.appSetup.validate();case 3:if(e.sent){e.next=6;break}return e.abrupt("return");case 6:t.isLoading=!0,(r=new FormData).append("color",t.app.color),r.append("title",t.app.title),r.append("description",t.app.description),r.append("contactMail",t.app.contactMail),r.append("userRegistration",Boolean(t.app.userRegistration)?1:0),r.append("storageLimitation",Boolean(t.app.storageLimitation)?1:0),t.app.subscriptionType&&r.append("subscriptionType",t.app.subscriptionType),t.app.googleAnalytics&&r.append("googleAnalytics",t.app.googleAnalytics),t.app.defaultStorage&&r.append("defaultStorage",t.app.defaultStorage),t.app.logo&&r.append("logo",t.app.logo),t.app.logo_horizontal&&r.append("logo_horizontal",t.app.logo_horizontal),t.app.og_image&&r.append("og_image",t.app.og_image),t.app.touch_icon&&r.append("touch_icon",t.app.touch_icon),t.app.favicon&&r.append("favicon",t.app.favicon),y().post("/api/setup/app-setup",r,{headers:{"Content-Type":"multipart/form-data"}}).then((function(){t.$router.push({name:"AdminAccount"})})).finally((function(e){t.isLoading=!1}));case 23:case"end":return e.stop()}}),e)})),function(){var t=this,r=arguments;return new Promise((function(i,n){var a=e.apply(t,r);function o(e){x(a,i,n,o,s,"next",e)}function s(e){x(a,i,n,o,s,"throw",e)}o(void 0)}))})()}},created:function(){this.$scrollTop(),this.isExtended="Extended"===localStorage.getItem("license"),this.$root.$data.config.isSetupWizardDebug&&(this.app.subscriptionType="metered",this.app.title="VueFileManager",this.app.description="Your private cloud storage software build on Laravel & Vue.js.",this.app.contactMail="howdy@hi5ve.digital",this.app.googleAnalytics="UA-123456789",this.app.defaultStorage="5",this.app.userRegistration=1,this.app.storageLimitation=1,this.app.userVerification=0)}};const $=(0,r(1900).Z)(A,(function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("AuthContentWrapper",{ref:"auth"},[r("AuthContent",{staticClass:"mt-6 mb-12 !max-w-2xl",attrs:{name:"database-credentials",visible:!0}},[r("Headline",{staticClass:"mx-auto !mb-10 max-w-screen-sm",attrs:{title:"Setup Wizard",description:"Set up your application appearance, analytics, etc."}},[r("settings-icon",{staticClass:"vue-feather text-theme mx-auto mb-3 animate-[spin_5s_linear_infinite]",attrs:{size:"40"}})],1),e._v(" "),r("ValidationObserver",{ref:"appSetup",attrs:{tag:"form"},on:{submit:function(t){return t.preventDefault(),e.appSetupSubmit.apply(null,arguments)}},scopedSlots:e._u([{key:"default",fn:function(t){t.invalid;return[r("div",{staticClass:"card text-left shadow-card"},[r("FormLabel",[e._v("General Settings")]),e._v(" "),r("ValidationProvider",{attrs:{tag:"div",mode:"passive",name:"App Title",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(t){var i=t.errors;return[r("AppInputText",{attrs:{title:"App Title",error:i[0]}},[r("input",{directives:[{name:"model",rawName:"v-model",value:e.app.title,expression:"app.title"}],staticClass:"focus-border-theme input-dark",class:{"!border-rose-600":i[0]},attrs:{placeholder:"Type your app title",type:"text"},domProps:{value:e.app.title},on:{input:function(t){t.target.composing||e.$set(e.app,"title",t.target.value)}}})])]}}],null,!0)}),e._v(" "),r("ValidationProvider",{attrs:{tag:"div",mode:"passive",name:"App Description",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(t){var i=t.errors;return[r("AppInputText",{attrs:{title:"App Description",error:i[0],"is-last":!0}},[r("textarea",{directives:[{name:"model",rawName:"v-model",value:e.app.description,expression:"app.description"}],staticClass:"focus-border-theme input-dark",class:{"!border-rose-600":i[0]},attrs:{placeholder:"Type your app description",type:"text"},domProps:{value:e.app.description},on:{input:function(t){t.target.composing||e.$set(e.app,"description",t.target.value)}}})])]}}],null,!0)})],1),e._v(" "),r("div",{staticClass:"card text-left shadow-card"},[r("FormLabel",[e._v("Appearance")]),e._v(" "),r("ValidationProvider",{attrs:{tag:"div",mode:"passive",name:"Theme Color"},scopedSlots:e._u([{key:"default",fn:function(t){t.errors;return[r("AppInputSwitch",{attrs:{title:"Color Theme"}},[r("input",{directives:[{name:"model",rawName:"v-model",value:e.app.color,expression:"app.color"}],attrs:{type:"color"},domProps:{value:e.app.color},on:{input:function(t){t.target.composing||e.$set(e.app,"color",t.target.value)}}})])]}}],null,!0)}),e._v(" "),r("ValidationProvider",{attrs:{tag:"div",mode:"passive",name:"App Logo"},scopedSlots:e._u([{key:"default",fn:function(t){var i=t.errors;return[r("AppInputText",{attrs:{title:"App Logo (optional)",error:i[0]}},[r("ImageInput",{attrs:{error:i[0]},model:{value:e.app.logo,callback:function(t){e.$set(e.app,"logo",t)},expression:"app.logo"}})],1)]}}],null,!0)}),e._v(" "),r("ValidationProvider",{attrs:{tag:"div",mode:"passive",name:"App Logo"},scopedSlots:e._u([{key:"default",fn:function(t){var i=t.errors;return[r("AppInputText",{attrs:{title:"App Logo Horizontal (optional)",error:i[0]}},[r("ImageInput",{attrs:{error:i[0]},model:{value:e.app.logo_horizontal,callback:function(t){e.$set(e.app,"logo_horizontal",t)},expression:"app.logo_horizontal"}})],1)]}}],null,!0)}),e._v(" "),r("ValidationProvider",{attrs:{tag:"div",mode:"passive",name:"App Favicon"},scopedSlots:e._u([{key:"default",fn:function(t){var i=t.errors;return[r("AppInputText",{attrs:{title:"App Favicon (optional)",error:i[0]}},[r("ImageInput",{attrs:{error:i[0]},model:{value:e.app.favicon,callback:function(t){e.$set(e.app,"favicon",t)},expression:"app.favicon"}})],1)]}}],null,!0)}),e._v(" "),r("ValidationProvider",{attrs:{tag:"div",mode:"passive",name:"App Favicon"},scopedSlots:e._u([{key:"default",fn:function(t){var i=t.errors;return[r("AppInputText",{attrs:{title:"OG Image (optional)",description:"Image that appear when someone shares the content to Facebook or any other social medium. Preferred size is 1200x627",error:i[0]}},[r("ImageInput",{attrs:{error:i[0]},model:{value:e.app.og_image,callback:function(t){e.$set(e.app,"og_image",t)},expression:"app.og_image"}})],1)]}}],null,!0)}),e._v(" "),r("ValidationProvider",{attrs:{tag:"div",mode:"passive",name:"App Favicon"},scopedSlots:e._u([{key:"default",fn:function(t){var i=t.errors;return[r("AppInputText",{attrs:{title:"App Touch Icon (optional)",description:"If user store bookmark on his phone screen, this icon appear in app thumbnail. Preferred size is 156x156",error:i[0],"is-last":!0}},[r("ImageInput",{attrs:{error:i[0]},model:{value:e.app.touch_icon,callback:function(t){e.$set(e.app,"touch_icon",t)},expression:"app.touch_icon"}})],1)]}}],null,!0)})],1),e._v(" "),r("div",{staticClass:"card text-left shadow-card"},[r("FormLabel",[e._v("Application")]),e._v(" "),r("ValidationProvider",{attrs:{tag:"div",mode:"passive",name:"Contact Email",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(t){var i=t.errors;return[r("AppInputText",{attrs:{title:"Contact Email",error:i[0]}},[r("input",{directives:[{name:"model",rawName:"v-model",value:e.app.contactMail,expression:"app.contactMail"}],staticClass:"focus-border-theme input-dark",class:{"!border-rose-600":i[0]},attrs:{placeholder:"Type your contact email",type:"email"},domProps:{value:e.app.contactMail},on:{input:function(t){t.target.composing||e.$set(e.app,"contactMail",t.target.value)}}})])]}}],null,!0)}),e._v(" "),r("ValidationProvider",{attrs:{tag:"div",mode:"passive",name:"Google Analytics Code"},scopedSlots:e._u([{key:"default",fn:function(t){var i=t.errors;return[r("AppInputText",{attrs:{title:"Google Analytics Code (optional)",error:i[0]}},[r("input",{directives:[{name:"model",rawName:"v-model",value:e.app.googleAnalytics,expression:"app.googleAnalytics"}],staticClass:"focus-border-theme input-dark",class:{"!border-rose-600":i[0]},attrs:{placeholder:"Paste your Google Analytics Code",type:"text"},domProps:{value:e.app.googleAnalytics},on:{input:function(t){t.target.composing||e.$set(e.app,"googleAnalytics",t.target.value)}}})])]}}],null,!0)}),e._v(" "),r("AppInputSwitch",{attrs:{title:"Storage Limitation",description:"If this value is off, all users will have infinity storage capacity and you won't be able to charge your users for storage plan."}},[r("SwitchInput",{attrs:{state:e.app.storageLimitation},model:{value:e.app.storageLimitation,callback:function(t){e.$set(e.app,"storageLimitation",t)},expression:"app.storageLimitation"}})],1),e._v(" "),r("ValidationProvider",{attrs:{tag:"div",mode:"passive",name:"Default Storage Space",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(t){var i=t.errors;return[e.app.storageLimitation?r("AppInputText",{attrs:{title:"Default Storage Space for Accounts",error:i[0]}},[r("input",{directives:[{name:"model",rawName:"v-model",value:e.app.defaultStorage,expression:"app.defaultStorage"}],staticClass:"focus-border-theme input-dark",class:{"!border-rose-600":i[0]},attrs:{min:"1",max:"999999999",placeholder:"Set default storage space in GB",type:"number"},domProps:{value:e.app.defaultStorage},on:{input:function(t){t.target.composing||e.$set(e.app,"defaultStorage",t.target.value)}}})]):e._e()]}}],null,!0)}),e._v(" "),r("AppInputSwitch",{attrs:{title:"Allow User Registration",description:"You can disable public registration for new users. You will still able to create new users in administration panel.","is-last":!0}},[r("SwitchInput",{staticClass:"switch",attrs:{state:e.app.userRegistration},model:{value:e.app.userRegistration,callback:function(t){e.$set(e.app,"userRegistration",t)},expression:"app.userRegistration"}})],1)],1),e._v(" "),e.isExtended?r("div",{staticClass:"card text-left shadow-card"},[r("FormLabel",[e._v("Subscription")]),e._v(" "),r("ValidationProvider",{attrs:{tag:"div",mode:"passive",name:"Subscription Type",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(t){var i=t.errors;return[r("AppInputText",{attrs:{title:e.$t("Subscription Type"),description:"Choose your preferred subscription system in advance. After installation and any other user registration, you can't change this setting later.",error:i[0]}},[r("SelectInput",{attrs:{default:e.app.subscriptionType,options:e.$store.getters.subscriptionTypes,placeholder:e.$t("Select your subscription type"),"is-error":i[0]},model:{value:e.app.subscriptionType,callback:function(t){e.$set(e.app,"subscriptionType",t)},expression:"app.subscriptionType"}})],1)]}}],null,!0)}),e._v(" "),r("InfoBox",{staticClass:"!mb-2"},[r("p",[e._v("Any other subscription related settings you will be able set up later in admin panel.")])])],1):e._e(),e._v(" "),r("AuthButton",{staticClass:"w-full justify-center",attrs:{icon:"chevron-right",text:"Save and Create Admin",loading:e.isLoading,disabled:e.isLoading}})]}}])})],1)],1)}),[],!1,null,null,null).exports}}]);