diff --git a/public/chunks/admin-account.js b/public/chunks/admin-account.js index ef444e28..73f7f78d 100644 --- a/public/chunks/admin-account.js +++ b/public/chunks/admin-account.js @@ -1,2 +1,2 @@ /*! For license information please see admin-account.js.LICENSE.txt */ -(self.webpackChunk=self.webpackChunk||[]).push([[5065],{6632:(e,t,r)=>{"use strict";r.d(t,{Z:()=>a});var n=r(3645),i=r.n(n)()((function(e){return e[1]}));i.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=i},9397:(e,t,r)=>{"use strict";r.d(t,{Z:()=>a});var n=r(3645),i=r.n(n)()((function(e){return e[1]}));i.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=i},2189:(e,t,r)=>{"use strict";r.d(t,{Z:()=>a});var n=r(3645),i=r.n(n)()((function(e){return e[1]}));i.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=i},7395:(e,t,r)=>{"use strict";r.d(t,{Z:()=>a});var n=r(3645),i=r.n(n)()((function(e){return e[1]}));i.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=i},4479:(e,t,r)=>{"use strict";r.d(t,{C1:()=>a});function n(e){return null==e}function i(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 n(e)||i(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 n=r(t),i={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},s={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},o={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},u={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},l=function(e,t){var r=(void 0===t?{}:t).locale,n=void 0===r?"":r;return Array.isArray(e)?e.every((function(e){return l(e,{locale:n})})):n?(a[n]||a.en).test(e):Object.keys(a).some((function(t){return a[t].test(e)}))},d={validate:l,params:[{name:"locale"}]},c=function(e,t){var r=(void 0===t?{}:t).locale,n=void 0===r?"":r;return Array.isArray(e)?e.every((function(e){return c(e,{locale:n})})):n?(u[n]||u.en).test(e):Object.keys(u).some((function(t){return u[t].test(e)}))},f={validate:c,params:[{name:"locale"}]},v=function(e,t){var r=(void 0===t?{}:t).locale,n=void 0===r?"":r;return Array.isArray(e)?e.every((function(e){return v(e,{locale:n})})):n?(o[n]||o.en).test(e):Object.keys(o).some((function(t){return o[t].test(e)}))},p={validate:v,params:[{name:"locale"}]},m=function(e,t){var r=(void 0===t?{}:t).locale,n=void 0===r?"":r;return Array.isArray(e)?e.every((function(e){return m(e,{locale:n})})):n?(s[n]||s.en).test(e):Object.keys(s).some((function(t){return s[t].test(e)}))},h={validate:m,params:[{name:"locale"}]},g=function(e,t){var r=void 0===t?{}:t,n=r.min,i=r.max;return Array.isArray(e)?e.every((function(e){return!!g(e,{min:n,max:i})})):Number(n)<=e&&Number(i)>=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 n=String(e);return/^[0-9]*$/.test(n)&&n.length===r},x={validate:y,params:[{name:"length",cast:function(e){return Number(e)}}]},A=function(e,t,r){var n=window.URL||window.webkitURL;return new Promise((function(i){var a=new Image;a.onerror=function(){return i(!1)},a.onload=function(){return i(a.width===t&&a.height===r)},a.src=n.createObjectURL(e)}))},w=function(e,t){var r=t.width,n=t.height,i=[];e=Array.isArray(e)?e:[e];for(var a=0;a()\[\]\\.,;:\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 n.test(String(e))})):n.test(String(e))},params:[{name:"multiple",default:!1}]};function Z(e){return e!=e}function O(e){return null==e}function C(e){return Array.isArray(e)&&0===e.length}var E=function(e){return null!==e&&e&&"object"==typeof e&&!Array.isArray(e)};function S(e,t){return!(!Z(e)||!Z(t))||e===t}function R(e){return""!==e&&!O(e)}function z(e){return"function"==typeof e}function I(e){return z(e)&&!!e.__locatorRef}function j(e,t){var r=Array.isArray(e)?e:P(e);if(z(r.findIndex))return r.findIndex(t);for(var n=0;n=0:Array.isArray(e)?e.every((function(e){return ie(e,{length:r})})):String(e).length<=r},ae={validate:ie,params:[{name:"length",cast:function(e){return Number(e)}}]},se=function(e,t){var r=t.max;return!O(e)&&""!==e&&(Array.isArray(e)?e.length>0&&e.every((function(e){return se(e,{max:r})})):Number(e)<=r)},oe={validate:se,params:[{name:"max",cast:function(e){return Number(e)}}]},ue=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)},le={validate:ue},de=function(e,t){var r=t.length;return!O(e)&&(Array.isArray(e)?e.every((function(e){return de(e,{length:r})})):String(e).length>=r)},ce={validate:de,params:[{name:"length",cast:function(e){return Number(e)}}]},fe=function(e,t){var r=t.min;return!O(e)&&""!==e&&(Array.isArray(e)?e.length>0&&e.every((function(e){return fe(e,{min:r})})):Number(e)>=r)},ve={validate:fe,params:[{name:"min",cast:function(e){return Number(e)}}]},pe=/^[٠١٢٣٤٥٦٧٨٩]+$/,me=/^[0-9]+$/,he={validate:function(e){var t=function(e){var t=String(e);return me.test(t)||pe.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,n={valid:!1,required:!0};return O(e)||C(e)?n:!1!==e||r?(n.valid=!!String(e).trim().length,n):n},params:[{name:"allowFalse",default:!0}],computesRequired:!0},ye=function(e){return C(e)||q([!1,null,void 0],e)||!String(e).trim().length},xe=function(e,t){var r,n=t.target,i=t.values;return i&&i.length?(Array.isArray(i)||"string"!=typeof i||(i=[i]),r=i.some((function(e){return e==String(n).trim()}))):r=!ye(n),r?{valid:!ye(e),required:r}:{valid:!0,required:r}},Ae={validate:xe,params:[{name:"target",isTarget:!0},{name:"values"}],computesRequired:!0},we=function(e,t){var r=t.size;if(isNaN(r))return!1;var n=1024*r;if(!Array.isArray(e))return e.size<=n;for(var i=0;in)return!1;return!0},$e={validate:we,params:[{name:"size",cast:function(e){return Number(e)}}]},ke=function(e,t){var r=t||{},n=r.decimals,i=void 0===n?0:n,a=r.separator,s=new RegExp("^-?\\d+"+("comma"===(void 0===a?"dot":a)?",?":"\\.?")+(0===i?"\\d*":"(\\d{"+i+"})?")+"$");return Array.isArray(e)?e.every((function(e){return s.test(String(e))})):s.test(String(e))},Ze={validate:ke,params:[{name:"decimals",default:0},{name:"separator",default:"dot"}]},Oe=Object.freeze({__proto__:null,alpha_dash:f,alpha_num:p,alpha_spaces:h,alpha:d,between:b,confirmed:_,digits:x,dimensions:$,email:k,ext:J,image:Y,oneOf:U,integer:Q,length:ne,is_not:te,is:ee,max:ae,max_value:oe,mimes:le,min:ce,min_value:ve,excluded:X,numeric:he,regex:be,required:_e,required_if:Ae,size:$e,double:Ze}),Ce=function(){return Ce=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0&&i[i.length-1])||6!==a[0]&&2!==a[0])){s=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]=0&&Be.getRuleDefinition("max")&&(n.max=r.maxlength),r.minlength>=0&&Be.getRuleDefinition("min")&&(n.min=r.minlength),"number"===r.type&&(R(r.min)&&Be.getRuleDefinition("min_value")&&(n.min_value=Number(r.min)),R(r.max)&&Be.getRuleDefinition("max_value")&&(n.max_value=Number(r.max))),n):n}function kt(e){var t,r=["input","select","textarea"],n=null===(t=e.data)||void 0===t?void 0:t.attrs;if(!q(r,e.tag)||!n)return{};var i={};return"required"in n&&!1!==n.required&&Be.getRuleDefinition("required")&&(i.required="checkbox"!==n.type||[!0]),ct(e)?Xe(Ce(Ce({},i),$t(e))):Xe(i)}function Zt(e,t){return e.$scopedSlots.default?e.$scopedSlots.default(t)||[]:e.$slots.default||[]}function Ot(e,t){return!(e._ignoreImmediate||!e.immediate)||!(S(e.value,t)||!e.normalizedEvents.length)||!!e._needsValidation||!e.initialized&&void 0===t}function Ct(e){return Ce(Ce({},e.flags),{errors:e.errors,classes:e.classes,failedRules:e.failedRules,reset:function(){return e.reset()},validate:function(){for(var t=[],r=0;r0)){var l=Ie().useConstraintAttrs?kt(e):{};ut(t._resolvedRules,l)||(t._needsValidation=!0),At(e)&&(t.fieldName=(null===(s=null===(a=e.data)||void 0===a?void 0:a.attrs)||void 0===s?void 0:s.name)||(null===(u=null===(o=e.data)||void 0===o?void 0:o.attrs)||void 0===u?void 0:u.id)),t._resolvedRules=l,It(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=dt(e);this.value=t,this.flags.changed=!ut(this.initialValue,t)},reset:function(){var e=this;this.errors=[],this.initialValue=this.value;var t=N();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;t0&&this.syncValue(e[0]),[2,Rt(this)]}))}))},validateSilent:function(){return Ee(this,void 0,void 0,(function(){var e,t;return Se(this,(function(r){switch(r.label){case 0:return this.setFlags({pending:!0}),e=Ce(Ce({},this._resolvedRules),this.normalizedRules),Object.defineProperty(e,"_$$isNormalized",{value:!0,writable:!1,enumerable:!1,configurable:!1}),[4,Qe(this.value,e,Ce(Ce({name:this.name||this.fieldName},Tt(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,n=e.regenerateMap;this.errors=t,this._regenerateMap=n,this.failedRules=Ce({},r||{}),this.setFlags({valid:!t.length,passed:!t.length,invalid:!!t.length,failed:!!t.length,validated:!0,changed:!ut(this.value,this.initialValue)})},registerField:function(){Vt(this)},checkComputesRequiredState:function(){var e=Ce(Ce({},this._resolvedRules),this.normalizedRules);return Object.keys(e).some(Be.isRequireRule)}}});function Pt(e,t){for(var r={},n=Object.keys(t),i=n.length,a=function(i){var a=n[i],s=e&&e[a]||a,o=t[a];return O(o)?"continue":"valid"!==a&&"invalid"!==a||t.validated?void("string"==typeof s?r[s]=o:Array.isArray(s)&&s.forEach((function(e){r[e]=o}))):"continue"},s=0;s{"use strict";r.d(t,{Z:()=>i});const n={name:"AppInputText",props:["description","isLast","title","error"]};const i=(0,r(1900).Z)(n,(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:()=>l});var n=r(9101);const i={name:"AuthContent",props:["loading","icon","text"],components:{ChevronRightIcon:n.XCv,RefreshCwIcon:n.Iyk},data:function(){return{isVisible:!1}},created:function(){this.isVisible=this.visible}};var a=r(3379),s=r.n(a),o=r(6632),u={insert:"head",singleton:!1};s()(o.Z,u);o.Z.locals;const l=(0,r(1900).Z)(i,(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:()=>i});const n={name:"AuthContent",props:["visible","name"],data:function(){return{isVisible:!1}},created:function(){this.isVisible=this.visible}};const i=(0,r(1900).Z)(n,(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:()=>i});const n={name:"AuthContentWrapper"};const i=(0,r(1900).Z)(n,(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},5996:(e,t,r)=>{"use strict";r.d(t,{Z:()=>a});var n=r(9101);const i={name:"FormLabel",props:["icon"],components:{WifiIcon:n.kVp,ListIcon:n.DE2,MailIcon:n.bV6,InfoIcon:n.szr,DatabaseIcon:n.VHe,UsersIcon:n.oyc,CreditCardIcon:n.ciH,DollarSignIcon:n.bkH,SmartphoneIcon:n.BEV,HardDriveIcon:n.zvn,BarChartIcon:n.eJP,SettingsIcon:n.ewm,FileTextIcon:n.zPP,ShieldIcon:n.b7C,FrownIcon:n.eFi,Edit2Icon:n.me4,BellIcon:n.Dkj,KeyIcon:n._m8}};const a=(0,r(1900).Z)(i,(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(" "),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 n=r(9101);const i={name:"ImageInput",props:["image","error"],components:{ImageIcon:n.XBm,XIcon:n.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,n=r.substring(r.lastIndexOf(".")+1).toLowerCase();if(["png","jpg","jpeg","svg"].includes(n)){var i=e.target.files[0],a=new FileReader;a.onload=function(){return t.imagePreview=a.result},a.readAsDataURL(i),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)(i,(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:()=>u});const n={name:"InfoBox",props:["type"]};var i=r(3379),a=r.n(i),s=r(9397),o={insert:"head",singleton:!1};a()(s.Z,o);s.Z.locals;const u=(0,r(1900).Z)(n,(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:()=>d});var n=r(9101),i=r(6486);const a={name:"SelectInput",props:["placeholder","options","isError","default"],components:{Edit2Icon:n.me4,UserIcon:n.tBG,ChevronDownIcon:n.v4q},watch:{query:(0,i.debounce)((function(e){this.searchedResults=(0,i.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 s=r(3379),o=r.n(s),u=r(2189),l={insert:"head",singleton:!1};o()(u.Z,l);u.Z.locals;const d=(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,n){return r("li",{key:n,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:()=>u});const n={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 i=r(3379),a=r.n(i),s=r(7395),o={insert:"head",singleton:!1};a()(s.Z,o);s.Z.locals;const u=(0,r(1900).Z)(n,(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:()=>o});function n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>w});var n=r(7757),i=r.n(n),a=r(4383),s=r(9495),o=r(868),u=r(1638),l=r(667),d=r(6784),c=r(5996),f=r(6291),v=r(4006),p=r(2276),m=r(4479),h=r(9101),g=r(3755),b=r(826),_=r(9669),y=r.n(_);function x(e,t,r,n,i,a,s){try{var o=e[a](s),u=o.value}catch(e){return void r(e)}o.done?t(u):Promise.resolve(u).then(n,i)}const A={name:"EnvironmentSetup",components:{AuthContentWrapper:o.Z,ValidationProvider:s.ValidationProvider,ValidationObserver:s.ValidationObserver,AppInputText:a.Z,SettingsIcon:h.ewm,SelectInput:u.Z,SwitchInput:l.Z,AuthContent:v.Z,ImageInput:d.Z,AuthButton:p.Z,FormLabel:c.Z,required:m.C1,Headline:g.Z,InfoBox:f.Z},data:function(){return{isLoading:!1,admin:{name:"",email:"",avatar:void 0,password:"",password_confirmation:""}}},methods:{adminAccountSubmit:function(){var e,t=this;return(e=i().mark((function e(){var r;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.$refs.adminAccount.validate();case 2:if(e.sent){e.next=5;break}return e.abrupt("return");case 5:t.isLoading=!0,(r=new FormData).append("name",t.admin.name),r.append("email",t.admin.email),r.append("password",t.admin.password),r.append("password_confirmation",t.admin.password_confirmation),r.append("license",localStorage.getItem("license")),r.append("purchase_code",localStorage.getItem("purchase_code")),t.admin.avatar&&r.append("avatar",t.admin.avatar),y().post("/admin-setup",r,{headers:{"Content-Type":"multipart/form-data"}}).then((function(e){window.location="/sign-in"})).catch((function(e){500===e.response.status&&b.U.$emit("alert:open",{emoji:"🤔",title:t.$t("popup_signup_error.title"),message:t.$t("popup_signup_error.message")}),422===e.response.status&&(e.response.data.errors.email&&t.$refs.adminAccount.setErrors({Email:e.response.data.errors.email}),e.response.data.errors.password&&t.$refs.adminAccount.setErrors({Password:e.response.data.errors.password}))})).finally((function(){return t.isLoading=!1}));case 15:case"end":return e.stop()}}),e)})),function(){var t=this,r=arguments;return new Promise((function(n,i){var a=e.apply(t,r);function s(e){x(a,n,i,s,o,"next",e)}function o(e){x(a,n,i,s,o,"throw",e)}s(void 0)}))})()}},created:function(){this.$scrollTop(),this.$root.$data.config.isSetupWizardDebug&&(this.admin={name:"Jane Doe",email:"howdy@hi5ve.digital",avatar:void 0,password:"vuefilemanager",password_confirmation:"vuefilemanager"})}};const w=(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:"Create your admin account."}},[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:"adminAccount",staticClass:"card text-left shadow-card",attrs:{tag:"form"},on:{submit:function(t){return t.preventDefault(),e.adminAccountSubmit.apply(null,arguments)}},scopedSlots:e._u([{key:"default",fn:function(t){t.invalid;return[r("FormLabel",[e._v(" Create Admin Account ")]),e._v(" "),r("ValidationProvider",{attrs:{tag:"div",mode:"passive",name:"Avatar"},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.errors;return[r("AppInputText",{attrs:{title:"Avatar (optional)",error:n[0]}},[r("ImageInput",{attrs:{error:n[0]},model:{value:e.admin.avatar,callback:function(t){e.$set(e.admin,"avatar",t)},expression:"admin.avatar"}})],1)]}}],null,!0)}),e._v(" "),r("ValidationProvider",{attrs:{tag:"div",mode:"passive",name:"Full Name",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.errors;return[r("AppInputText",{attrs:{title:"Full Name",error:n[0]}},[r("input",{directives:[{name:"model",rawName:"v-model",value:e.admin.name,expression:"admin.name"}],staticClass:"focus-border-theme input-dark",class:{"!border-rose-600":n[0]},attrs:{placeholder:"Type your full name",type:"text"},domProps:{value:e.admin.name},on:{input:function(t){t.target.composing||e.$set(e.admin,"name",t.target.value)}}})])]}}],null,!0)}),e._v(" "),r("ValidationProvider",{attrs:{tag:"div",mode:"passive",name:"Email",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.errors;return[r("AppInputText",{attrs:{title:"Email",error:n[0]}},[r("input",{directives:[{name:"model",rawName:"v-model",value:e.admin.email,expression:"admin.email"}],staticClass:"focus-border-theme input-dark",class:{"!border-rose-600":n[0]},attrs:{placeholder:"Type your email",type:"email"},domProps:{value:e.admin.email},on:{input:function(t){t.target.composing||e.$set(e.admin,"email",t.target.value)}}})])]}}],null,!0)}),e._v(" "),r("ValidationProvider",{attrs:{tag:"div",mode:"passive",name:"Password",rules:"required|confirmed:confirmation"},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.errors;return[r("AppInputText",{attrs:{title:"Password",error:n[0]}},[r("input",{directives:[{name:"model",rawName:"v-model",value:e.admin.password,expression:"admin.password"}],staticClass:"focus-border-theme input-dark",class:{"!border-rose-600":n[0]},attrs:{placeholder:"Type your password",type:"password"},domProps:{value:e.admin.password},on:{input:function(t){t.target.composing||e.$set(e.admin,"password",t.target.value)}}})])]}}],null,!0)}),e._v(" "),r("ValidationProvider",{attrs:{tag:"div",name:"confirmation",rules:"required",vid:"confirmation"},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.errors;return[r("AppInputText",{attrs:{title:"Password Confirmation",error:n[0],"is-last":!0}},[r("input",{directives:[{name:"model",rawName:"v-model",value:e.admin.password_confirmation,expression:"admin.password_confirmation"}],staticClass:"focus-border-theme input-dark",class:{"!border-rose-600":n[0]},attrs:{placeholder:"Confirm your password",type:"password"},domProps:{value:e.admin.password_confirmation},on:{input:function(t){t.target.composing||e.$set(e.admin,"password_confirmation",t.target.value)}}})])]}}],null,!0)})]}}])}),e._v(" "),r("AuthButton",{staticClass:"w-full justify-center",attrs:{icon:"chevron-right",text:"Create Admin and Login",loading:e.isLoading,disabled:e.isLoading},nativeOn:{click:function(t){return e.adminAccountSubmit.apply(null,arguments)}}})],1)],1)}),[],!1,null,null,null).exports}}]); \ No newline at end of file +(self.webpackChunk=self.webpackChunk||[]).push([[5065],{6632:(e,t,r)=>{"use strict";r.d(t,{Z:()=>a});var n=r(3645),i=r.n(n)()((function(e){return e[1]}));i.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=i},9397:(e,t,r)=>{"use strict";r.d(t,{Z:()=>a});var n=r(3645),i=r.n(n)()((function(e){return e[1]}));i.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=i},2189:(e,t,r)=>{"use strict";r.d(t,{Z:()=>a});var n=r(3645),i=r.n(n)()((function(e){return e[1]}));i.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=i},7395:(e,t,r)=>{"use strict";r.d(t,{Z:()=>a});var n=r(3645),i=r.n(n)()((function(e){return e[1]}));i.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=i},4479:(e,t,r)=>{"use strict";r.d(t,{C1:()=>a});function n(e){return null==e}function i(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 n(e)||i(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 n=r(t),i={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},s={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},o={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},u={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},l=function(e,t){var r=(void 0===t?{}:t).locale,n=void 0===r?"":r;return Array.isArray(e)?e.every((function(e){return l(e,{locale:n})})):n?(a[n]||a.en).test(e):Object.keys(a).some((function(t){return a[t].test(e)}))},d={validate:l,params:[{name:"locale"}]},c=function(e,t){var r=(void 0===t?{}:t).locale,n=void 0===r?"":r;return Array.isArray(e)?e.every((function(e){return c(e,{locale:n})})):n?(u[n]||u.en).test(e):Object.keys(u).some((function(t){return u[t].test(e)}))},f={validate:c,params:[{name:"locale"}]},v=function(e,t){var r=(void 0===t?{}:t).locale,n=void 0===r?"":r;return Array.isArray(e)?e.every((function(e){return v(e,{locale:n})})):n?(o[n]||o.en).test(e):Object.keys(o).some((function(t){return o[t].test(e)}))},p={validate:v,params:[{name:"locale"}]},m=function(e,t){var r=(void 0===t?{}:t).locale,n=void 0===r?"":r;return Array.isArray(e)?e.every((function(e){return m(e,{locale:n})})):n?(s[n]||s.en).test(e):Object.keys(s).some((function(t){return s[t].test(e)}))},h={validate:m,params:[{name:"locale"}]},g=function(e,t){var r=void 0===t?{}:t,n=r.min,i=r.max;return Array.isArray(e)?e.every((function(e){return!!g(e,{min:n,max:i})})):Number(n)<=e&&Number(i)>=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 n=String(e);return/^[0-9]*$/.test(n)&&n.length===r},x={validate:y,params:[{name:"length",cast:function(e){return Number(e)}}]},A=function(e,t,r){var n=window.URL||window.webkitURL;return new Promise((function(i){var a=new Image;a.onerror=function(){return i(!1)},a.onload=function(){return i(a.width===t&&a.height===r)},a.src=n.createObjectURL(e)}))},w=function(e,t){var r=t.width,n=t.height,i=[];e=Array.isArray(e)?e:[e];for(var a=0;a()\[\]\\.,;:\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 n.test(String(e))})):n.test(String(e))},params:[{name:"multiple",default:!1}]};function Z(e){return e!=e}function O(e){return null==e}function C(e){return Array.isArray(e)&&0===e.length}var E=function(e){return null!==e&&e&&"object"==typeof e&&!Array.isArray(e)};function S(e,t){return!(!Z(e)||!Z(t))||e===t}function z(e){return""!==e&&!O(e)}function R(e){return"function"==typeof e}function I(e){return R(e)&&!!e.__locatorRef}function j(e,t){var r=Array.isArray(e)?e:T(e);if(R(r.findIndex))return r.findIndex(t);for(var n=0;n=0:Array.isArray(e)?e.every((function(e){return ie(e,{length:r})})):String(e).length<=r},ae={validate:ie,params:[{name:"length",cast:function(e){return Number(e)}}]},se=function(e,t){var r=t.max;return!O(e)&&""!==e&&(Array.isArray(e)?e.length>0&&e.every((function(e){return se(e,{max:r})})):Number(e)<=r)},oe={validate:se,params:[{name:"max",cast:function(e){return Number(e)}}]},ue=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)},le={validate:ue},de=function(e,t){var r=t.length;return!O(e)&&(Array.isArray(e)?e.every((function(e){return de(e,{length:r})})):String(e).length>=r)},ce={validate:de,params:[{name:"length",cast:function(e){return Number(e)}}]},fe=function(e,t){var r=t.min;return!O(e)&&""!==e&&(Array.isArray(e)?e.length>0&&e.every((function(e){return fe(e,{min:r})})):Number(e)>=r)},ve={validate:fe,params:[{name:"min",cast:function(e){return Number(e)}}]},pe=/^[٠١٢٣٤٥٦٧٨٩]+$/,me=/^[0-9]+$/,he={validate:function(e){var t=function(e){var t=String(e);return me.test(t)||pe.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,n={valid:!1,required:!0};return O(e)||C(e)?n:!1!==e||r?(n.valid=!!String(e).trim().length,n):n},params:[{name:"allowFalse",default:!0}],computesRequired:!0},ye=function(e){return C(e)||q([!1,null,void 0],e)||!String(e).trim().length},xe=function(e,t){var r,n=t.target,i=t.values;return i&&i.length?(Array.isArray(i)||"string"!=typeof i||(i=[i]),r=i.some((function(e){return e==String(n).trim()}))):r=!ye(n),r?{valid:!ye(e),required:r}:{valid:!0,required:r}},Ae={validate:xe,params:[{name:"target",isTarget:!0},{name:"values"}],computesRequired:!0},we=function(e,t){var r=t.size;if(isNaN(r))return!1;var n=1024*r;if(!Array.isArray(e))return e.size<=n;for(var i=0;in)return!1;return!0},$e={validate:we,params:[{name:"size",cast:function(e){return Number(e)}}]},ke=function(e,t){var r=t||{},n=r.decimals,i=void 0===n?0:n,a=r.separator,s=new RegExp("^-?\\d+"+("comma"===(void 0===a?"dot":a)?",?":"\\.?")+(0===i?"\\d*":"(\\d{"+i+"})?")+"$");return Array.isArray(e)?e.every((function(e){return s.test(String(e))})):s.test(String(e))},Ze={validate:ke,params:[{name:"decimals",default:0},{name:"separator",default:"dot"}]},Oe=Object.freeze({__proto__:null,alpha_dash:f,alpha_num:p,alpha_spaces:h,alpha:d,between:b,confirmed:_,digits:x,dimensions:$,email:k,ext:J,image:Y,oneOf:U,integer:Q,length:ne,is_not:te,is:ee,max:ae,max_value:oe,mimes:le,min:ce,min_value:ve,excluded:X,numeric:he,regex:be,required:_e,required_if:Ae,size:$e,double:Ze}),Ce=function(){return Ce=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0&&i[i.length-1])||6!==a[0]&&2!==a[0])){s=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]=0&&Be.getRuleDefinition("max")&&(n.max=r.maxlength),r.minlength>=0&&Be.getRuleDefinition("min")&&(n.min=r.minlength),"number"===r.type&&(z(r.min)&&Be.getRuleDefinition("min_value")&&(n.min_value=Number(r.min)),z(r.max)&&Be.getRuleDefinition("max_value")&&(n.max_value=Number(r.max))),n):n}function kt(e){var t,r=["input","select","textarea"],n=null===(t=e.data)||void 0===t?void 0:t.attrs;if(!q(r,e.tag)||!n)return{};var i={};return"required"in n&&!1!==n.required&&Be.getRuleDefinition("required")&&(i.required="checkbox"!==n.type||[!0]),ct(e)?Xe(Ce(Ce({},i),$t(e))):Xe(i)}function Zt(e,t){return e.$scopedSlots.default?e.$scopedSlots.default(t)||[]:e.$slots.default||[]}function Ot(e,t){return!(e._ignoreImmediate||!e.immediate)||!(S(e.value,t)||!e.normalizedEvents.length)||!!e._needsValidation||!e.initialized&&void 0===t}function Ct(e){return Ce(Ce({},e.flags),{errors:e.errors,classes:e.classes,failedRules:e.failedRules,reset:function(){return e.reset()},validate:function(){for(var t=[],r=0;r0)){var l=Ie().useConstraintAttrs?kt(e):{};ut(t._resolvedRules,l)||(t._needsValidation=!0),At(e)&&(t.fieldName=(null===(s=null===(a=e.data)||void 0===a?void 0:a.attrs)||void 0===s?void 0:s.name)||(null===(u=null===(o=e.data)||void 0===o?void 0:o.attrs)||void 0===u?void 0:u.id)),t._resolvedRules=l,It(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=dt(e);this.value=t,this.flags.changed=!ut(this.initialValue,t)},reset:function(){var e=this;this.errors=[],this.initialValue=this.value;var t=N();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;t0&&this.syncValue(e[0]),[2,zt(this)]}))}))},validateSilent:function(){return Ee(this,void 0,void 0,(function(){var e,t;return Se(this,(function(r){switch(r.label){case 0:return this.setFlags({pending:!0}),e=Ce(Ce({},this._resolvedRules),this.normalizedRules),Object.defineProperty(e,"_$$isNormalized",{value:!0,writable:!1,enumerable:!1,configurable:!1}),[4,Qe(this.value,e,Ce(Ce({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,n=e.regenerateMap;this.errors=t,this._regenerateMap=n,this.failedRules=Ce({},r||{}),this.setFlags({valid:!t.length,passed:!t.length,invalid:!!t.length,failed:!!t.length,validated:!0,changed:!ut(this.value,this.initialValue)})},registerField:function(){Vt(this)},checkComputesRequiredState:function(){var e=Ce(Ce({},this._resolvedRules),this.normalizedRules);return Object.keys(e).some(Be.isRequireRule)}}});function Tt(e,t){for(var r={},n=Object.keys(t),i=n.length,a=function(i){var a=n[i],s=e&&e[a]||a,o=t[a];return O(o)?"continue":"valid"!==a&&"invalid"!==a||t.validated?void("string"==typeof s?r[s]=o:Array.isArray(s)&&s.forEach((function(e){r[e]=o}))):"continue"},s=0;s{"use strict";r.d(t,{Z:()=>i});const n={name:"AppInputText",props:["description","isLast","title","error"]};const i=(0,r(1900).Z)(n,(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:()=>l});var n=r(9101);const i={name:"AuthContent",props:["loading","icon","text"],components:{ChevronRightIcon:n.XCv,RefreshCwIcon:n.Iyk},data:function(){return{isVisible:!1}},created:function(){this.isVisible=this.visible}};var a=r(3379),s=r.n(a),o=r(6632),u={insert:"head",singleton:!1};s()(o.Z,u);o.Z.locals;const l=(0,r(1900).Z)(i,(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:()=>i});const n={name:"AuthContent",props:["visible","name"],data:function(){return{isVisible:!1}},created:function(){this.isVisible=this.visible}};const i=(0,r(1900).Z)(n,(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:()=>i});const n={name:"AuthContentWrapper"};const i=(0,r(1900).Z)(n,(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 n=r(9101);const i={name:"FormLabel",props:["icon"],components:{TrendingUpIcon:n.Zab,WifiIcon:n.kVp,ListIcon:n.DE2,MailIcon:n.bV6,InfoIcon:n.szr,DatabaseIcon:n.VHe,UsersIcon:n.oyc,CreditCardIcon:n.ciH,DollarSignIcon:n.bkH,SmartphoneIcon:n.BEV,HardDriveIcon:n.zvn,BarChartIcon:n.eJP,SettingsIcon:n.ewm,FileTextIcon:n.zPP,ShieldIcon:n.b7C,FrownIcon:n.eFi,Edit2Icon:n.me4,BellIcon:n.Dkj,KeyIcon:n._m8}};const a=(0,r(1900).Z)(i,(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 n=r(9101);const i={name:"ImageInput",props:["image","error"],components:{ImageIcon:n.XBm,XIcon:n.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,n=r.substring(r.lastIndexOf(".")+1).toLowerCase();if(["png","jpg","jpeg","svg"].includes(n)){var i=e.target.files[0],a=new FileReader;a.onload=function(){return t.imagePreview=a.result},a.readAsDataURL(i),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)(i,(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:()=>u});const n={name:"InfoBox",props:["type"]};var i=r(3379),a=r.n(i),s=r(9397),o={insert:"head",singleton:!1};a()(s.Z,o);s.Z.locals;const u=(0,r(1900).Z)(n,(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:()=>d});var n=r(9101),i=r(6486);const a={name:"SelectInput",props:["placeholder","options","isError","default"],components:{Edit2Icon:n.me4,UserIcon:n.tBG,ChevronDownIcon:n.v4q},watch:{query:(0,i.debounce)((function(e){this.searchedResults=(0,i.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 s=r(3379),o=r.n(s),u=r(2189),l={insert:"head",singleton:!1};o()(u.Z,l);u.Z.locals;const d=(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,n){return r("li",{key:n,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:()=>u});const n={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 i=r(3379),a=r.n(i),s=r(7395),o={insert:"head",singleton:!1};a()(s.Z,o);s.Z.locals;const u=(0,r(1900).Z)(n,(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:()=>o});function n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t{"use strict";r.r(t),r.d(t,{default:()=>w});var n=r(7757),i=r.n(n),a=r(4383),s=r(9495),o=r(868),u=r(1638),l=r(667),d=r(6784),c=r(1655),f=r(6291),v=r(4006),p=r(2276),m=r(4479),h=r(9101),g=r(3755),b=r(826),_=r(9669),y=r.n(_);function x(e,t,r,n,i,a,s){try{var o=e[a](s),u=o.value}catch(e){return void r(e)}o.done?t(u):Promise.resolve(u).then(n,i)}const A={name:"EnvironmentSetup",components:{AuthContentWrapper:o.Z,ValidationProvider:s.ValidationProvider,ValidationObserver:s.ValidationObserver,AppInputText:a.Z,SettingsIcon:h.ewm,SelectInput:u.Z,SwitchInput:l.Z,AuthContent:v.Z,ImageInput:d.Z,AuthButton:p.Z,FormLabel:c.Z,required:m.C1,Headline:g.Z,InfoBox:f.Z},data:function(){return{isLoading:!1,admin:{name:"",email:"",avatar:void 0,password:"",password_confirmation:""}}},methods:{adminAccountSubmit:function(){var e,t=this;return(e=i().mark((function e(){var r;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.$refs.adminAccount.validate();case 2:if(e.sent){e.next=5;break}return e.abrupt("return");case 5:t.isLoading=!0,(r=new FormData).append("name",t.admin.name),r.append("email",t.admin.email),r.append("password",t.admin.password),r.append("password_confirmation",t.admin.password_confirmation),r.append("license",localStorage.getItem("license")),r.append("purchase_code",localStorage.getItem("purchase_code")),t.admin.avatar&&r.append("avatar",t.admin.avatar),y().post("/admin-setup",r,{headers:{"Content-Type":"multipart/form-data"}}).then((function(e){window.location="/sign-in"})).catch((function(e){500===e.response.status&&b.U.$emit("alert:open",{emoji:"🤔",title:t.$t("popup_signup_error.title"),message:t.$t("popup_signup_error.message")}),422===e.response.status&&(e.response.data.errors.email&&t.$refs.adminAccount.setErrors({Email:e.response.data.errors.email}),e.response.data.errors.password&&t.$refs.adminAccount.setErrors({Password:e.response.data.errors.password}))})).finally((function(){return t.isLoading=!1}));case 15:case"end":return e.stop()}}),e)})),function(){var t=this,r=arguments;return new Promise((function(n,i){var a=e.apply(t,r);function s(e){x(a,n,i,s,o,"next",e)}function o(e){x(a,n,i,s,o,"throw",e)}s(void 0)}))})()}},created:function(){this.$scrollTop(),this.$root.$data.config.isSetupWizardDebug&&(this.admin={name:"Jane Doe",email:"howdy@hi5ve.digital",avatar:void 0,password:"vuefilemanager",password_confirmation:"vuefilemanager"})}};const w=(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:"Create your admin account."}},[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:"adminAccount",staticClass:"card text-left shadow-card",attrs:{tag:"form"},on:{submit:function(t){return t.preventDefault(),e.adminAccountSubmit.apply(null,arguments)}},scopedSlots:e._u([{key:"default",fn:function(t){t.invalid;return[r("FormLabel",[e._v(" Create Admin Account ")]),e._v(" "),r("ValidationProvider",{attrs:{tag:"div",mode:"passive",name:"Avatar"},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.errors;return[r("AppInputText",{attrs:{title:"Avatar (optional)",error:n[0]}},[r("ImageInput",{attrs:{error:n[0]},model:{value:e.admin.avatar,callback:function(t){e.$set(e.admin,"avatar",t)},expression:"admin.avatar"}})],1)]}}],null,!0)}),e._v(" "),r("ValidationProvider",{attrs:{tag:"div",mode:"passive",name:"Full Name",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.errors;return[r("AppInputText",{attrs:{title:"Full Name",error:n[0]}},[r("input",{directives:[{name:"model",rawName:"v-model",value:e.admin.name,expression:"admin.name"}],staticClass:"focus-border-theme input-dark",class:{"!border-rose-600":n[0]},attrs:{placeholder:"Type your full name",type:"text"},domProps:{value:e.admin.name},on:{input:function(t){t.target.composing||e.$set(e.admin,"name",t.target.value)}}})])]}}],null,!0)}),e._v(" "),r("ValidationProvider",{attrs:{tag:"div",mode:"passive",name:"Email",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.errors;return[r("AppInputText",{attrs:{title:"Email",error:n[0]}},[r("input",{directives:[{name:"model",rawName:"v-model",value:e.admin.email,expression:"admin.email"}],staticClass:"focus-border-theme input-dark",class:{"!border-rose-600":n[0]},attrs:{placeholder:"Type your email",type:"email"},domProps:{value:e.admin.email},on:{input:function(t){t.target.composing||e.$set(e.admin,"email",t.target.value)}}})])]}}],null,!0)}),e._v(" "),r("ValidationProvider",{attrs:{tag:"div",mode:"passive",name:"Password",rules:"required|confirmed:confirmation"},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.errors;return[r("AppInputText",{attrs:{title:"Password",error:n[0]}},[r("input",{directives:[{name:"model",rawName:"v-model",value:e.admin.password,expression:"admin.password"}],staticClass:"focus-border-theme input-dark",class:{"!border-rose-600":n[0]},attrs:{placeholder:"Type your password",type:"password"},domProps:{value:e.admin.password},on:{input:function(t){t.target.composing||e.$set(e.admin,"password",t.target.value)}}})])]}}],null,!0)}),e._v(" "),r("ValidationProvider",{attrs:{tag:"div",name:"confirmation",rules:"required",vid:"confirmation"},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.errors;return[r("AppInputText",{attrs:{title:"Password Confirmation",error:n[0],"is-last":!0}},[r("input",{directives:[{name:"model",rawName:"v-model",value:e.admin.password_confirmation,expression:"admin.password_confirmation"}],staticClass:"focus-border-theme input-dark",class:{"!border-rose-600":n[0]},attrs:{placeholder:"Confirm your password",type:"password"},domProps:{value:e.admin.password_confirmation},on:{input:function(t){t.target.composing||e.$set(e.admin,"password_confirmation",t.target.value)}}})])]}}],null,!0)})]}}])}),e._v(" "),r("AuthButton",{staticClass:"w-full justify-center",attrs:{icon:"chevron-right",text:"Create Admin and Login",loading:e.isLoading,disabled:e.isLoading},nativeOn:{click:function(t){return e.adminAccountSubmit.apply(null,arguments)}}})],1)],1)}),[],!1,null,null,null).exports}}]); \ No newline at end of file diff --git a/public/chunks/app-adsense.js b/public/chunks/app-adsense.js index d60789b2..107d08e3 100644 --- a/public/chunks/app-adsense.js +++ b/public/chunks/app-adsense.js @@ -1 +1 @@ -"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[8441],{7395:(e,t,s)=>{s.d(t,{Z:()=>i});var a=s(3645),n=s.n(a)()((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 i=n},1213:(e,t,s)=>{s.d(t,{Z:()=>i});var a=s(3645),n=s.n(a)()((function(e){return e[1]}));n.push([e.id,"",""]);const i=n},5218:(e,t,s)=>{s.d(t,{Z:()=>n});const a={name:"AppInputButton",props:["description","isLast","title","error"]};const n=(0,s(1900).Z)(a,(function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"w-full justify-between space-y-4 sm:flex sm:space-x-8 sm:space-x-2 sm:space-y-0",class:{"mb-6 sm:mb-7":!e.isLast}},[s("div",{staticClass:"leading-5"},[s("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?s("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?s("span",{staticClass:"error-message"},[e._v("\n "+e._s(e.error)+"\n ")]):e._e()]),e._v(" "),s("div",[e._t("default")],2)])}),[],!1,null,null,null).exports},9194:(e,t,s)=>{s.d(t,{Z:()=>n});const a={name:"AppInputSwitch",props:["description","isLast","title","error"]};const n=(0,s(1900).Z)(a,(function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"flex w-full items-center justify-between space-x-2 sm:space-x-8",class:{"mb-6 sm:mb-7":!e.isLast}},[s("div",{staticClass:"leading-5"},[s("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?s("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?s("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(" "),s("div",[e._t("default")],2)])}),[],!1,null,null,null).exports},4383:(e,t,s)=>{s.d(t,{Z:()=>n});const a={name:"AppInputText",props:["description","isLast","title","error"]};const n=(0,s(1900).Z)(a,(function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{class:{"mb-6 sm:mb-7":!e.isLast}},[e.title?s("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?s("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?s("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},5996:(e,t,s)=>{s.d(t,{Z:()=>i});var a=s(9101);const n={name:"FormLabel",props:["icon"],components:{WifiIcon:a.kVp,ListIcon:a.DE2,MailIcon:a.bV6,InfoIcon:a.szr,DatabaseIcon:a.VHe,UsersIcon:a.oyc,CreditCardIcon:a.ciH,DollarSignIcon:a.bkH,SmartphoneIcon:a.BEV,HardDriveIcon:a.zvn,BarChartIcon:a.eJP,SettingsIcon:a.ewm,FileTextIcon:a.zPP,ShieldIcon:a.b7C,FrownIcon:a.eFi,Edit2Icon:a.me4,BellIcon:a.Dkj,KeyIcon:a._m8}};const i=(0,s(1900).Z)(n,(function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"mb-8 flex items-center"},[e.icon?e._e():s("edit-2-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}),e._v(" "),"frown"===e.icon?s("frown-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"list"===e.icon?s("list-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"info"===e.icon?s("info-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"database"===e.icon?s("database-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"file-text"===e.icon?s("file-text-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"dollar"===e.icon?s("dollar-sign-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"credit-card"===e.icon?s("credit-card-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"bar-chart"===e.icon?s("bar-chart-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"settings"===e.icon?s("settings-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"hard-drive"===e.icon?s("hard-drive-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"mail"===e.icon?s("mail-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"smartphone"===e.icon?s("smartphone-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"shield"===e.icon?s("shield-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"bell"===e.icon?s("bell-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"key"===e.icon?s("key-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"users"===e.icon?s("users-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"wifi"===e.icon?s("wifi-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),s("b",{staticClass:"text-md font-bold dark:text-gray-200 sm:text-lg"},[e._t("default")],2)],1)}),[],!1,null,null,null).exports},667:(e,t,s)=>{s.d(t,{Z:()=>c});const a={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=s(3379),i=s.n(n),r=s(7395),o={insert:"head",singleton:!1};i()(r.Z,o);r.Z.locals;const c=(0,s(1900).Z)(a,(function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[s("div",{staticClass:"switch-content"},[e.label?s("label",{staticClass:"input-label"},[e._v(" "+e._s(e.label)+": ")]):e._e(),e._v(" "),e.info?s("small",{staticClass:"input-info"},[e._v("\n "+e._s(e.info)+"\n ")]):e._e()]),e._v(" "),s("div",{staticClass:"switch-content text-right"},[s("div",{staticClass:"switch",class:{active:e.state},on:{click:e.changeState}},[s("div",{staticClass:"switch-button"})])])])}),[],!1,null,"615ed0c1",null).exports},2792:(e,t,s)=>{s.d(t,{Z:()=>c});const a={name:"PageTab",props:["isLoading"],components:{Spinner:s(7318).Z}};var n=s(3379),i=s.n(n),r=s(1213),o={insert:"head",singleton:!1};i()(r.Z,o);r.Z.locals;const c=(0,s(1900).Z)(a,(function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"page-tab"},[s("div",{directives:[{name:"show",rawName:"v-show",value:e.isLoading,expression:"isLoading"}],attrs:{id:"loader"}},[s("Spinner")],1),e._v(" "),e._t("default")],2)}),[],!1,null,"6c76a2be",null).exports},5158:(e,t,s)=>{s.r(t),s.d(t,{default:()=>h});var a=s(667),n=s(5218),i=s(9194),r=s(5996),o=s(4383),c=s(2792),l=s(629);function d(e,t){var s=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),s.push.apply(s,a)}return s}function p(e,t,s){return t in e?Object.defineProperty(e,t,{value:s,enumerable:!0,configurable:!0,writable:!0}):e[t]=s,e}const u={name:"Adsense",components:{AppInputButton:n.Z,AppInputSwitch:i.Z,AppInputText:o.Z,SwitchInput:a.Z,FormLabel:r.Z,PageTab:c.Z},computed:function(e){for(var t=1;t tag here..."),type:"text"},domProps:{value:e.adsense.banner01},on:{input:[function(t){t.target.composing||e.$set(e.adsense,"banner01",t.target.value)},function(t){return e.$updateText("/admin/settings","adsense_banner_01",e.adsense.banner01,!0)}]}})]),e._v(" "),s("AppInputText",{attrs:{title:e.$t("Download Page Banner"),description:e.$t("This banner will be showed below file download page")}},[s("textarea",{directives:[{name:"model",rawName:"v-model",value:e.adsense.banner02,expression:"adsense.banner02"}],staticClass:"focus-border-theme input-dark",attrs:{rows:"3",placeholder:e.$t("Paste the tag here..."),type:"text"},domProps:{value:e.adsense.banner02},on:{input:[function(t){t.target.composing||e.$set(e.adsense,"banner02",t.target.value)},function(t){return e.$updateText("/admin/settings","adsense_banner_02",e.adsense.banner02,!0)}]}})]),e._v(" "),s("AppInputText",{attrs:{title:e.$t("Homepage Banner"),description:e.$t("This banner will be showed on the homepage"),"is-last":!0}},[s("textarea",{directives:[{name:"model",rawName:"v-model",value:e.adsense.banner03,expression:"adsense.banner03"}],staticClass:"focus-border-theme input-dark",attrs:{rows:"3",placeholder:e.$t("Paste the tag here..."),type:"text"},domProps:{value:e.adsense.banner03},on:{input:[function(t){t.target.composing||e.$set(e.adsense,"banner03",t.target.value)},function(t){return e.$updateText("/admin/settings","adsense_banner_03",e.adsense.banner03,!0)}]}})])],1):e._e()])}),[],!1,null,null,null).exports}}]); \ No newline at end of file +"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[8441],{7395:(e,t,s)=>{s.d(t,{Z:()=>i});var a=s(3645),n=s.n(a)()((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 i=n},1213:(e,t,s)=>{s.d(t,{Z:()=>i});var a=s(3645),n=s.n(a)()((function(e){return e[1]}));n.push([e.id,"",""]);const i=n},5218:(e,t,s)=>{s.d(t,{Z:()=>n});const a={name:"AppInputButton",props:["description","isLast","title","error"]};const n=(0,s(1900).Z)(a,(function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"w-full justify-between space-y-4 sm:flex sm:space-x-8 sm:space-x-2 sm:space-y-0",class:{"mb-6 sm:mb-7":!e.isLast}},[s("div",{staticClass:"leading-5"},[s("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?s("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?s("span",{staticClass:"error-message"},[e._v("\n "+e._s(e.error)+"\n ")]):e._e()]),e._v(" "),s("div",[e._t("default")],2)])}),[],!1,null,null,null).exports},9194:(e,t,s)=>{s.d(t,{Z:()=>n});const a={name:"AppInputSwitch",props:["description","isLast","title","error"]};const n=(0,s(1900).Z)(a,(function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"flex w-full items-center justify-between space-x-2 sm:space-x-8",class:{"mb-6 sm:mb-7":!e.isLast}},[s("div",{staticClass:"leading-5"},[s("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?s("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?s("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(" "),s("div",[e._t("default")],2)])}),[],!1,null,null,null).exports},4383:(e,t,s)=>{s.d(t,{Z:()=>n});const a={name:"AppInputText",props:["description","isLast","title","error"]};const n=(0,s(1900).Z)(a,(function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{class:{"mb-6 sm:mb-7":!e.isLast}},[e.title?s("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?s("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?s("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},1655:(e,t,s)=>{s.d(t,{Z:()=>i});var a=s(9101);const n={name:"FormLabel",props:["icon"],components:{TrendingUpIcon:a.Zab,WifiIcon:a.kVp,ListIcon:a.DE2,MailIcon:a.bV6,InfoIcon:a.szr,DatabaseIcon:a.VHe,UsersIcon:a.oyc,CreditCardIcon:a.ciH,DollarSignIcon:a.bkH,SmartphoneIcon:a.BEV,HardDriveIcon:a.zvn,BarChartIcon:a.eJP,SettingsIcon:a.ewm,FileTextIcon:a.zPP,ShieldIcon:a.b7C,FrownIcon:a.eFi,Edit2Icon:a.me4,BellIcon:a.Dkj,KeyIcon:a._m8}};const i=(0,s(1900).Z)(n,(function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"mb-8 flex items-center"},[e.icon?e._e():s("edit-2-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}),e._v(" "),"frown"===e.icon?s("frown-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"list"===e.icon?s("list-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"info"===e.icon?s("info-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"database"===e.icon?s("database-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"file-text"===e.icon?s("file-text-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"dollar"===e.icon?s("dollar-sign-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"credit-card"===e.icon?s("credit-card-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"bar-chart"===e.icon?s("bar-chart-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"settings"===e.icon?s("settings-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"hard-drive"===e.icon?s("hard-drive-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"mail"===e.icon?s("mail-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"smartphone"===e.icon?s("smartphone-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"shield"===e.icon?s("shield-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"bell"===e.icon?s("bell-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"key"===e.icon?s("key-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"users"===e.icon?s("users-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"wifi"===e.icon?s("wifi-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"trending-up"===e.icon?s("trending-up-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),s("b",{staticClass:"text-md font-bold dark:text-gray-200 sm:text-lg"},[e._t("default")],2)],1)}),[],!1,null,null,null).exports},667:(e,t,s)=>{s.d(t,{Z:()=>c});const a={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=s(3379),i=s.n(n),r=s(7395),o={insert:"head",singleton:!1};i()(r.Z,o);r.Z.locals;const c=(0,s(1900).Z)(a,(function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[s("div",{staticClass:"switch-content"},[e.label?s("label",{staticClass:"input-label"},[e._v(" "+e._s(e.label)+": ")]):e._e(),e._v(" "),e.info?s("small",{staticClass:"input-info"},[e._v("\n "+e._s(e.info)+"\n ")]):e._e()]),e._v(" "),s("div",{staticClass:"switch-content text-right"},[s("div",{staticClass:"switch",class:{active:e.state},on:{click:e.changeState}},[s("div",{staticClass:"switch-button"})])])])}),[],!1,null,"615ed0c1",null).exports},2792:(e,t,s)=>{s.d(t,{Z:()=>c});const a={name:"PageTab",props:["isLoading"],components:{Spinner:s(7318).Z}};var n=s(3379),i=s.n(n),r=s(1213),o={insert:"head",singleton:!1};i()(r.Z,o);r.Z.locals;const c=(0,s(1900).Z)(a,(function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"page-tab"},[s("div",{directives:[{name:"show",rawName:"v-show",value:e.isLoading,expression:"isLoading"}],attrs:{id:"loader"}},[s("Spinner")],1),e._v(" "),e._t("default")],2)}),[],!1,null,"6c76a2be",null).exports},5158:(e,t,s)=>{s.r(t),s.d(t,{default:()=>h});var a=s(667),n=s(5218),i=s(9194),r=s(1655),o=s(4383),c=s(2792),l=s(629);function d(e,t){var s=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),s.push.apply(s,a)}return s}function p(e,t,s){return t in e?Object.defineProperty(e,t,{value:s,enumerable:!0,configurable:!0,writable:!0}):e[t]=s,e}const u={name:"Adsense",components:{AppInputButton:n.Z,AppInputSwitch:i.Z,AppInputText:o.Z,SwitchInput:a.Z,FormLabel:r.Z,PageTab:c.Z},computed:function(e){for(var t=1;t tag here..."),type:"text"},domProps:{value:e.adsense.banner01},on:{input:[function(t){t.target.composing||e.$set(e.adsense,"banner01",t.target.value)},function(t){return e.$updateText("/admin/settings","adsense_banner_01",e.adsense.banner01,!0)}]}})]),e._v(" "),s("AppInputText",{attrs:{title:e.$t("Download Page Banner"),description:e.$t("This banner will be showed below file download page")}},[s("textarea",{directives:[{name:"model",rawName:"v-model",value:e.adsense.banner02,expression:"adsense.banner02"}],staticClass:"focus-border-theme input-dark",attrs:{rows:"3",placeholder:e.$t("Paste the tag here..."),type:"text"},domProps:{value:e.adsense.banner02},on:{input:[function(t){t.target.composing||e.$set(e.adsense,"banner02",t.target.value)},function(t){return e.$updateText("/admin/settings","adsense_banner_02",e.adsense.banner02,!0)}]}})]),e._v(" "),s("AppInputText",{attrs:{title:e.$t("Homepage Banner"),description:e.$t("This banner will be showed on the homepage"),"is-last":!0}},[s("textarea",{directives:[{name:"model",rawName:"v-model",value:e.adsense.banner03,expression:"adsense.banner03"}],staticClass:"focus-border-theme input-dark",attrs:{rows:"3",placeholder:e.$t("Paste the tag here..."),type:"text"},domProps:{value:e.adsense.banner03},on:{input:[function(t){t.target.composing||e.$set(e.adsense,"banner03",t.target.value)},function(t){return e.$updateText("/admin/settings","adsense_banner_03",e.adsense.banner03,!0)}]}})])],1):e._e()])}),[],!1,null,null,null).exports}}]); \ No newline at end of file diff --git a/public/chunks/app-appearance.js b/public/chunks/app-appearance.js index 3c67844d..5afe6bda 100644 --- a/public/chunks/app-appearance.js +++ b/public/chunks/app-appearance.js @@ -1,2 +1,2 @@ /*! For license information please see app-appearance.js.LICENSE.txt */ -(self.webpackChunk=self.webpackChunk||[]).push([[4655],{9397:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(3645),i=n.n(r)()((function(e){return e[1]}));i.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=i},2189:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(3645),i=n.n(r)()((function(e){return e[1]}));i.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=i},4265:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(3645),i=n.n(r)()((function(e){return e[1]}));i.push([e.id,".setup-box[data-v-7f4fdc54]{border-radius:8px;margin-bottom:30px;padding:20px}.setup-box .title[data-v-7f4fdc54]{display:block;font-size:1.3125em;font-weight:700;margin-bottom:5px}.setup-box .description[data-v-7f4fdc54]{font-size:.9375em;line-height:1.5;margin-bottom:20px}.setup-box.base[data-v-7f4fdc54],.setup-box.danger[data-v-7f4fdc54]{background:#f4f5f6}.setup-box.danger .title[data-v-7f4fdc54]{color:#fd397a}.setup-box[data-v-7f4fdc54] .input-area,.setup-box[data-v-7f4fdc54] input .input-area,.setup-box[data-v-7f4fdc54] input[type=number],.setup-box[data-v-7f4fdc54] input[type=text]{background:#fff}.setup-box[data-v-7f4fdc54] .form{margin-top:20px}.setup-box[data-v-7f4fdc54] .form.block-form{max-width:450px}.setup-box[data-v-7f4fdc54] .form.block-form .single-line-form{display:flex}.setup-box[data-v-7f4fdc54] .form.block-form .single-line-form .submit-button{margin-left:20px}@media only screen and (max-width:960px){.setup-box[data-v-7f4fdc54] .form.block-form{max-width:100%}.setup-box[data-v-7f4fdc54] .form input{min-width:auto}}@media only screen and (max-width:690px){.setup-box[data-v-7f4fdc54]{padding:15px}.setup-box .title[data-v-7f4fdc54]{font-size:1.0625em;margin-bottom:10px}.setup-box .description[data-v-7f4fdc54]{font-size:.875em}.setup-box[data-v-7f4fdc54] .form.block-form .single-line-form{display:block}.setup-box[data-v-7f4fdc54] .form.block-form .single-line-form .submit-button{margin-left:0;margin-top:10px}}.dark .setup-box.base[data-v-7f4fdc54],.dark .setup-box.danger[data-v-7f4fdc54]{background:#1e2024}.dark .setup-box[data-v-7f4fdc54] .input-area,.dark .setup-box[data-v-7f4fdc54] input .input-area,.dark .setup-box[data-v-7f4fdc54] input[type=number],.dark .setup-box[data-v-7f4fdc54] input[type=text]{background:#151515}",""]);const a=i},1213:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(3645),i=n.n(r)()((function(e){return e[1]}));i.push([e.id,"",""]);const a=i},4619:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(3645),i=n.n(r)()((function(e){return e[1]}));i.push([e.id,".page-tab-group[data-v-61f8c98e]{margin-bottom:65px}",""]);const a=i},4479:(e,t,n)=>{"use strict";n.d(t,{C1:()=>a});function r(e){return null==e}function i(e){return Array.isArray(e)&&0===e.length}var a={validate:function(e,t){var n=(void 0===t?{allowFalse:!0}:t).allowFalse,a={valid:!1,required:!0};return r(e)||i(e)?a:!1!==e||n?(a.valid=!!String(e).trim().length,a):a},params:[{name:"allowFalse",default:!0}],computesRequired:!0}},9495:function(e,t,n){!function(e,t){"use strict";function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var r=n(t),i={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},u={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},l=function(e,t){var n=(void 0===t?{}:t).locale,r=void 0===n?"":n;return Array.isArray(e)?e.every((function(e){return l(e,{locale:r})})):r?(a[r]||a.en).test(e):Object.keys(a).some((function(t){return a[t].test(e)}))},d={validate:l,params:[{name:"locale"}]},c=function(e,t){var n=(void 0===t?{}:t).locale,r=void 0===n?"":n;return Array.isArray(e)?e.every((function(e){return c(e,{locale:r})})):r?(u[r]||u.en).test(e):Object.keys(u).some((function(t){return u[t].test(e)}))},f={validate:c,params:[{name:"locale"}]},p=function(e,t){var n=(void 0===t?{}:t).locale,r=void 0===n?"":n;return Array.isArray(e)?e.every((function(e){return p(e,{locale:r})})):r?(s[r]||s.en).test(e):Object.keys(s).some((function(t){return s[t].test(e)}))},v={validate:p,params:[{name:"locale"}]},m=function(e,t){var n=(void 0===t?{}:t).locale,r=void 0===n?"":n;return Array.isArray(e)?e.every((function(e){return m(e,{locale:r})})):r?(o[r]||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 n=void 0===t?{}:t,r=n.min,i=n.max;return Array.isArray(e)?e.every((function(e){return!!g(e,{min:r,max:i})})):Number(r)<=e&&Number(i)>=e},_={validate:g,params:[{name:"min"},{name:"max"}]},b={validate:function(e,t){var n=t.target;return String(e)===String(n)},params:[{name:"target",isTarget:!0}]},y=function(e,t){var n=t.length;if(Array.isArray(e))return e.every((function(e){return y(e,{length:n})}));var r=String(e);return/^[0-9]*$/.test(r)&&r.length===n},x={validate:y,params:[{name:"length",cast:function(e){return Number(e)}}]},$=function(e,t,n){var r=window.URL||window.webkitURL;return new Promise((function(i){var a=new Image;a.onerror=function(){return i(!1)},a.onload=function(){return i(a.width===t&&a.height===n)},a.src=r.createObjectURL(e)}))},A=function(e,t){var n=t.width,r=t.height,i=[];e=Array.isArray(e)?e:[e];for(var a=0;a()\[\]\\.,;:\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 n&&!Array.isArray(e)&&(e=String(e).split(",").map((function(e){return e.trim()}))),Array.isArray(e)?e.every((function(e){return r.test(String(e))})):r.test(String(e))},params:[{name:"multiple",default:!1}]};function Z(e){return e!=e}function I(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 C(e,t){return!(!Z(e)||!Z(t))||e===t}function R(e){return""!==e&&!I(e)}function E(e){return"function"==typeof e}function F(e){return E(e)&&!!e.__locatorRef}function j(e,t){var n=Array.isArray(e)?e:q(e);if(E(n.findIndex))return n.findIndex(t);for(var r=0;r=0:Array.isArray(e)?e.every((function(e){return ie(e,{length:n})})):String(e).length<=n},ae={validate:ie,params:[{name:"length",cast:function(e){return Number(e)}}]},oe=function(e,t){var n=t.max;return!I(e)&&""!==e&&(Array.isArray(e)?e.length>0&&e.every((function(e){return oe(e,{max:n})})):Number(e)<=n)},se={validate:oe,params:[{name:"max",cast:function(e){return Number(e)}}]},ue=function(e,t){var n=new RegExp(t.join("|").replace("*",".+")+"$","i");return Array.isArray(e)?e.every((function(e){return n.test(e.type)})):n.test(e.type)},le={validate:ue},de=function(e,t){var n=t.length;return!I(e)&&(Array.isArray(e)?e.every((function(e){return de(e,{length:n})})):String(e).length>=n)},ce={validate:de,params:[{name:"length",cast:function(e){return Number(e)}}]},fe=function(e,t){var n=t.min;return!I(e)&&""!==e&&(Array.isArray(e)?e.length>0&&e.every((function(e){return fe(e,{min:n})})):Number(e)>=n)},pe={validate:fe,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 n=t.regex;return Array.isArray(e)?e.every((function(e){return ge(e,{regex:n})})):n.test(String(e))},_e={validate:ge,params:[{name:"regex",cast:function(e){return"string"==typeof e?new RegExp(e):e}}]},be={validate:function(e,t){var n=(void 0===t?{allowFalse:!0}:t).allowFalse,r={valid:!1,required:!0};return I(e)||z(e)?r:!1!==e||n?(r.valid=!!String(e).trim().length,r):r},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 n,r=t.target,i=t.values;return i&&i.length?(Array.isArray(i)||"string"!=typeof i||(i=[i]),n=i.some((function(e){return e==String(r).trim()}))):n=!ye(r),n?{valid:!ye(e),required:n}:{valid:!0,required:n}},$e={validate:xe,params:[{name:"target",isTarget:!0},{name:"values"}],computesRequired:!0},Ae=function(e,t){var n=t.size;if(isNaN(n))return!1;var r=1024*n;if(!Array.isArray(e))return e.size<=r;for(var i=0;ir)return!1;return!0},ke={validate:Ae,params:[{name:"size",cast:function(e){return Number(e)}}]},we=function(e,t){var n=t||{},r=n.decimals,i=void 0===r?0:r,a=n.separator,o=new RegExp("^-?\\d+"+("comma"===(void 0===a?"dot":a)?",?":"\\.?")+(0===i?"\\d*":"(\\d{"+i+"})?")+"$");return Array.isArray(e)?e.every((function(e){return o.test(String(e))})):o.test(String(e))},Ze={validate:we,params:[{name:"decimals",default:0},{name:"separator",default:"dot"}]},Ie=Object.freeze({__proto__:null,alpha_dash:f,alpha_num:v,alpha_spaces:h,alpha:d,between:_,confirmed:b,digits:x,dimensions:k,email:w,ext:X,image:J,oneOf:U,integer:Q,length:re,is_not:te,is:ee,max:ae,max_value:se,mimes:le,min:ce,min_value:pe,excluded:G,numeric:he,regex:_e,required:be,required_if:$e,size:ke,double:Ze}),ze=function(){return ze=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0&&i[i.length-1])||6!==a[0]&&2!==a[0])){o=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]=0&&Be.getRuleDefinition("max")&&(r.max=n.maxlength),n.minlength>=0&&Be.getRuleDefinition("min")&&(r.min=n.minlength),"number"===n.type&&(R(n.min)&&Be.getRuleDefinition("min_value")&&(r.min_value=Number(n.min)),R(n.max)&&Be.getRuleDefinition("max_value")&&(r.max_value=Number(n.max))),r):r}function wt(e){var t,n=["input","select","textarea"],r=null===(t=e.data)||void 0===t?void 0:t.attrs;if(!T(n,e.tag)||!r)return{};var i={};return"required"in r&&!1!==r.required&&Be.getRuleDefinition("required")&&(i.required="checkbox"!==r.type||[!0]),ct(e)?Ge(ze(ze({},i),kt(e))):Ge(i)}function Zt(e,t){return e.$scopedSlots.default?e.$scopedSlots.default(t)||[]:e.$slots.default||[]}function It(e,t){return!(e._ignoreImmediate||!e.immediate)||!(C(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=[],n=0;n0)){var l=Fe().useConstraintAttrs?wt(e):{};ut(t._resolvedRules,l)||(t._needsValidation=!0),$t(e)&&(t.fieldName=(null===(o=null===(a=e.data)||void 0===a?void 0:a.attrs)||void 0===o?void 0:o.name)||(null===(u=null===(s=e.data)||void 0===s?void 0:s.attrs)||void 0===u?void 0:u.id)),t._resolvedRules=l,Ft(t,e)}}))}return this.slim&&n.length<=1?n[0]:e(this.tag,n)},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(n){t.flags[n]=e[n]}))},syncValue:function(e){var t=dt(e);this.value=t,this.flags.changed=!ut(this.initialValue,t)},reset:function(){var e=this;this.errors=[],this.initialValue=this.value;var t=D();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;t0&&this.syncValue(e[0]),[2,Rt(this)]}))}))},validateSilent:function(){return Oe(this,void 0,void 0,(function(){var e,t;return Ce(this,(function(n){switch(n.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=n.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,n=e.failedRules,r=e.regenerateMap;this.errors=t,this._regenerateMap=r,this.failedRules=ze({},n||{}),this.setFlags({valid:!t.length,passed:!t.length,invalid:!!t.length,failed:!!t.length,validated:!0,changed:!ut(this.value,this.initialValue)})},registerField:function(){Vt(this)},checkComputesRequiredState:function(){var e=ze(ze({},this._resolvedRules),this.normalizedRules);return Object.keys(e).some(Be.isRequireRule)}}});function qt(e,t){for(var n={},r=Object.keys(t),i=r.length,a=function(i){var a=r[i],o=e&&e[a]||a,s=t[a];return I(s)?"continue":"valid"!==a&&"invalid"!==a||t.validated?void("string"==typeof o?n[o]=s:Array.isArray(o)&&o.forEach((function(e){n[e]=s}))):"continue"},o=0;o{"use strict";n.d(t,{Z:()=>i});const r={name:"AppInputSwitch",props:["description","isLast","title","error"]};const i=(0,n(1900).Z)(r,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"flex w-full items-center justify-between space-x-2 sm:space-x-8",class:{"mb-6 sm:mb-7":!e.isLast}},[n("div",{staticClass:"leading-5"},[n("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?n("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?n("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(" "),n("div",[e._t("default")],2)])}),[],!1,null,null,null).exports},4383:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});const r={name:"AppInputText",props:["description","isLast","title","error"]};const i=(0,n(1900).Z)(r,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:{"mb-6 sm:mb-7":!e.isLast}},[e.title?n("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?n("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?n("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},5996:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(9101);const i={name:"FormLabel",props:["icon"],components:{WifiIcon:r.kVp,ListIcon:r.DE2,MailIcon:r.bV6,InfoIcon:r.szr,DatabaseIcon:r.VHe,UsersIcon:r.oyc,CreditCardIcon:r.ciH,DollarSignIcon:r.bkH,SmartphoneIcon:r.BEV,HardDriveIcon:r.zvn,BarChartIcon:r.eJP,SettingsIcon:r.ewm,FileTextIcon:r.zPP,ShieldIcon:r.b7C,FrownIcon:r.eFi,Edit2Icon:r.me4,BellIcon:r.Dkj,KeyIcon:r._m8}};const a=(0,n(1900).Z)(i,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"mb-8 flex items-center"},[e.icon?e._e():n("edit-2-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}),e._v(" "),"frown"===e.icon?n("frown-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"list"===e.icon?n("list-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"info"===e.icon?n("info-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"database"===e.icon?n("database-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"file-text"===e.icon?n("file-text-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"dollar"===e.icon?n("dollar-sign-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"credit-card"===e.icon?n("credit-card-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"bar-chart"===e.icon?n("bar-chart-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"settings"===e.icon?n("settings-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"hard-drive"===e.icon?n("hard-drive-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"mail"===e.icon?n("mail-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"smartphone"===e.icon?n("smartphone-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"shield"===e.icon?n("shield-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"bell"===e.icon?n("bell-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"key"===e.icon?n("key-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"users"===e.icon?n("users-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"wifi"===e.icon?n("wifi-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),n("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,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(9101);const i={name:"ImageInput",props:["image","error"],components:{ImageIcon:r.XBm,XIcon:r.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,n=e.target.files[0].name,r=n.substring(n.lastIndexOf(".")+1).toLowerCase();if(["png","jpg","jpeg","svg"].includes(r)){var i=e.target.files[0],a=new FileReader;a.onload=function(){return t.imagePreview=a.result},a.readAsDataURL(i),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,n(1900).Z)(i,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("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?n("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}},[n("x-icon",{staticClass:"vue-feather dark:text-gray-500",attrs:{size:"14"}})],1):e._e(),e._v(" "),n("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?n("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():n("div",{staticClass:"text-center"},[n("image-icon",{staticClass:"vue-feather text-theme mb-4 inline-block",attrs:{size:"34"}}),e._v(" "),n("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(" "),n("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,n)=>{"use strict";n.d(t,{Z:()=>u});const r={name:"InfoBox",props:["type"]};var i=n(3379),a=n.n(i),o=n(9397),s={insert:"head",singleton:!1};a()(o.Z,s);o.Z.locals;const u=(0,n(1900).Z)(r,(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,n)=>{"use strict";n.d(t,{Z:()=>d});var r=n(9101),i=n(6486);const a={name:"SelectInput",props:["placeholder","options","isError","default"],components:{Edit2Icon:r.me4,UserIcon:r.tBG,ChevronDownIcon:r.v4q},watch:{query:(0,i.debounce)((function(e){this.searchedResults=(0,i.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=n(3379),s=n.n(o),u=n(2189),l={insert:"head",singleton:!1};s()(u.Z,l);u.Z.locals;const d=(0,n(1900).Z)(a,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"select"},[n("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?n("div",{staticClass:"selected flex w-full items-center"},[e.selected.icon?n("div",{staticClass:"option-icon"},["user"===e.selected.icon?n("user-icon",{staticClass:"vue-feather text-theme",attrs:{size:"14"}}):e._e(),e._v(" "),"user-edit"===e.selected.icon?n("edit2-icon",{staticClass:"vue-feather text-theme",attrs:{size:"14"}}):e._e()],1):e._e(),e._v(" "),n("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():n("div",{staticClass:"not-selected"},[n("span",{staticClass:"option-value placehoder"},[e._v(e._s(e.placeholder))])]),e._v(" "),n("chevron-down-icon",{staticClass:"chevron",attrs:{size:"19"}})],1),e._v(" "),n("transition",{attrs:{name:"slide-in"}},[e.isOpen?n("div",{staticClass:"input-options rounded-lg"},[e.options.length>5?n("div",{staticClass:"select-search"},[n("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(" "),n("ul",{staticClass:"option-list"},e._l(e.optionList,(function(t,r){return n("li",{key:r,staticClass:"option-item",on:{click:function(n){return e.selectOption(t)}}},[t.icon?n("div",{staticClass:"option-icon"},["user"===t.icon?n("user-icon",{attrs:{size:"14"}}):e._e(),e._v(" "),"user-edit"===t.icon?n("edit2-icon",{attrs:{size:"14"}}):e._e()],1):e._e(),e._v(" "),n("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},1472:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});const r={name:"SetupBox",props:["title","description","theme"]};var i=n(3379),a=n.n(i),o=n(4265),s={insert:"head",singleton:!1};a()(o.Z,s);o.Z.locals;const u=(0,n(1900).Z)(r,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"setup-box",class:e.theme},[n("b",{staticClass:"title"},[e._v(e._s(e.title))]),e._v(" "),n("p",{staticClass:"description"},[e._v(e._s(e.description))]),e._v(" "),e._t("default")],2)}),[],!1,null,"7f4fdc54",null).exports},2792:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});const r={name:"PageTab",props:["isLoading"],components:{Spinner:n(7318).Z}};var i=n(3379),a=n.n(i),o=n(1213),s={insert:"head",singleton:!1};a()(o.Z,s);o.Z.locals;const u=(0,n(1900).Z)(r,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"page-tab"},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.isLoading,expression:"isLoading"}],attrs:{id:"loader"}},[n("Spinner")],1),e._v(" "),e._t("default")],2)}),[],!1,null,"6c76a2be",null).exports},5840:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});const r={name:"PageTabGroup"};var i=n(3379),a=n.n(i),o=n(4619),s={insert:"head",singleton:!1};a()(o.Z,s);o.Z.locals;const u=(0,n(1900).Z)(r,(function(){var e=this,t=e.$createElement;return(e._self._c||t)("div",{staticClass:"page-tab-group"},[e._t("default")],2)}),[],!1,null,"61f8c98e",null).exports},6030:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>_});var r=n(9194),i=n(4383),a=n(9495),o=n(5840),s=n(1638),u=n(6784),l=n(5996),d=n(6746),c=n(1472),f=n(2792),p=n(6291),v=n(4479),m=n(9669),h=n.n(m);const g={name:"AppAppearance",components:{AppInputSwitch:r.Z,AppInputText:i.Z,ValidationObserver:a.ValidationObserver,ValidationProvider:a.ValidationProvider,PageTabGroup:o.Z,SelectInput:s.Z,ImageInput:u.Z,ButtonBase:d.Z,FormLabel:l.Z,SetupBox:c.Z,required:v.C1,PageTab:f.Z,InfoBox:p.Z},data:function(){return{isLoading:!0,app:void 0}},mounted:function(){var e=this;h().get("/api/admin/settings",{params:{column:"app_title|app_description|app_logo|app_logo_dark|app_favicon|app_logo_horizontal|app_logo_horizontal_dark|app_color|app_og_image|app_touch_icon"}}).then((function(t){e.app={logo_horizontal:t.data.app_logo_horizontal,logo_horizontal_dark:t.data.app_logo_horizontal_dark,description:t.data.app_description,favicon:t.data.app_favicon,title:t.data.app_title,color:t.data.app_color,logo:t.data.app_logo,logo_dark:t.data.app_logo_dark,og_image:t.data.app_og_image,touch_icon:t.data.app_touch_icon}})).finally((function(){e.isLoading=!1}))}};const _=(0,n(1900).Z)(g,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("PageTab",{attrs:{"is-loading":e.isLoading}},[e.app?n("div",{staticClass:"card shadow-card"},[n("FormLabel",[e._v("\n "+e._s(e.$t("admin_settings.appearance.section_general"))+"\n ")]),e._v(" "),n("AppInputSwitch",{attrs:{title:e.$t("color_theme"),description:e.$t("color_theme_description")}},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.app.color,expression:"app.color"}],attrs:{placeholder:e.$t("admin_settings.appearance.title_plac"),type:"color"},domProps:{value:e.app.color},on:{input:[function(t){t.target.composing||e.$set(e.app,"color",t.target.value)},function(t){return e.$updateText("/admin/settings","app_color",e.app.color)}]}})]),e._v(" "),n("AppInputText",{attrs:{title:e.$t("admin_settings.appearance.title")}},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.app.title,expression:"app.title"}],staticClass:"focus-border-theme input-dark",attrs:{placeholder:e.$t("admin_settings.appearance.title_plac"),type:"text"},domProps:{value:e.app.title},on:{input:[function(t){t.target.composing||e.$set(e.app,"title",t.target.value)},function(t){return e.$updateText("/admin/settings","app_title",e.app.title)}]}})]),e._v(" "),n("AppInputText",{attrs:{title:e.$t("admin_settings.appearance.description"),"is-last":!0}},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.app.description,expression:"app.description"}],staticClass:"focus-border-theme input-dark",attrs:{placeholder:e.$t("admin_settings.appearance.description_plac"),type:"text"},domProps:{value:e.app.description},on:{input:[function(t){t.target.composing||e.$set(e.app,"description",t.target.value)},function(t){return e.$updateText("/admin/settings","app_description",e.app.description)}]}})])],1):e._e(),e._v(" "),e.app?n("div",{staticClass:"card shadow-card"},[n("FormLabel",[e._v("\n "+e._s(e.$t("branding"))+"\n ")]),e._v(" "),n("AppInputText",{attrs:{title:e.$t("admin_settings.appearance.logo")}},[n("ImageInput",{attrs:{image:e.$getImage(e.app.logo)},on:{input:function(t){return e.$updateImage("/admin/settings","app_logo",e.app.logo)}},model:{value:e.app.logo,callback:function(t){e.$set(e.app,"logo",t)},expression:"app.logo"}})],1),e._v(" "),n("AppInputText",{attrs:{title:e.$t("app_logo_dark_mode")}},[n("ImageInput",{attrs:{image:e.$getImage(e.app.logo_dark)},on:{input:function(t){return e.$updateImage("/admin/settings","app_logo_dark",e.app.logo_dark)}},model:{value:e.app.logo_dark,callback:function(t){e.$set(e.app,"logo_dark",t)},expression:"app.logo_dark"}})],1),e._v(" "),n("AppInputText",{attrs:{title:e.$t("admin_settings.appearance.logo_horizontal")}},[n("ImageInput",{attrs:{image:e.$getImage(e.app.logo_horizontal)},on:{input:function(t){return e.$updateImage("/admin/settings","app_logo_horizontal",e.app.logo_horizontal)}},model:{value:e.app.logo_horizontal,callback:function(t){e.$set(e.app,"logo_horizontal",t)},expression:"app.logo_horizontal"}})],1),e._v(" "),n("AppInputText",{attrs:{title:e.$t("app_logo_horizontal_dark_mode")}},[n("ImageInput",{attrs:{image:e.$getImage(e.app.logo_horizontal_dark)},on:{input:function(t){return e.$updateImage("/admin/settings","app_logo_horizontal_dark",e.app.logo_horizontal_dark)}},model:{value:e.app.logo_horizontal_dark,callback:function(t){e.$set(e.app,"logo_horizontal_dark",t)},expression:"app.logo_horizontal_dark"}})],1),e._v(" "),n("AppInputText",{attrs:{title:e.$t("admin_settings.appearance.favicon")}},[n("ImageInput",{attrs:{image:e.$getImage(e.app.favicon)},on:{input:function(t){return e.$updateImage("/admin/settings","app_favicon",e.app.favicon)}},model:{value:e.app.favicon,callback:function(t){e.$set(e.app,"favicon",t)},expression:"app.favicon"}})],1),e._v(" "),n("AppInputText",{attrs:{title:e.$t("og_image"),description:e.$t("og_image_description")}},[n("ImageInput",{attrs:{image:e.$getImage(e.app.og_image)},on:{input:function(t){return e.$updateImage("/admin/settings","app_og_image",e.app.og_image)}},model:{value:e.app.og_image,callback:function(t){e.$set(e.app,"og_image",t)},expression:"app.og_image"}})],1),e._v(" "),n("AppInputText",{attrs:{title:e.$t("app_touch_icon"),description:e.$t("app_touch_icon_description"),"is-last":!0}},[n("ImageInput",{attrs:{image:e.$getImage(e.app.touch_icon)},on:{input:function(t){return e.$updateImage("/admin/settings","app_touch_icon",e.app.touch_icon)}},model:{value:e.app.touch_icon,callback:function(t){e.$set(e.app,"touch_icon",t)},expression:"app.touch_icon"}})],1)],1):e._e()])}),[],!1,null,null,null).exports}}]); \ No newline at end of file +(self.webpackChunk=self.webpackChunk||[]).push([[4655],{9397:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(3645),i=n.n(r)()((function(e){return e[1]}));i.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=i},2189:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(3645),i=n.n(r)()((function(e){return e[1]}));i.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=i},4265:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(3645),i=n.n(r)()((function(e){return e[1]}));i.push([e.id,".setup-box[data-v-7f4fdc54]{border-radius:8px;margin-bottom:30px;padding:20px}.setup-box .title[data-v-7f4fdc54]{display:block;font-size:1.3125em;font-weight:700;margin-bottom:5px}.setup-box .description[data-v-7f4fdc54]{font-size:.9375em;line-height:1.5;margin-bottom:20px}.setup-box.base[data-v-7f4fdc54],.setup-box.danger[data-v-7f4fdc54]{background:#f4f5f6}.setup-box.danger .title[data-v-7f4fdc54]{color:#fd397a}.setup-box[data-v-7f4fdc54] .input-area,.setup-box[data-v-7f4fdc54] input .input-area,.setup-box[data-v-7f4fdc54] input[type=number],.setup-box[data-v-7f4fdc54] input[type=text]{background:#fff}.setup-box[data-v-7f4fdc54] .form{margin-top:20px}.setup-box[data-v-7f4fdc54] .form.block-form{max-width:450px}.setup-box[data-v-7f4fdc54] .form.block-form .single-line-form{display:flex}.setup-box[data-v-7f4fdc54] .form.block-form .single-line-form .submit-button{margin-left:20px}@media only screen and (max-width:960px){.setup-box[data-v-7f4fdc54] .form.block-form{max-width:100%}.setup-box[data-v-7f4fdc54] .form input{min-width:auto}}@media only screen and (max-width:690px){.setup-box[data-v-7f4fdc54]{padding:15px}.setup-box .title[data-v-7f4fdc54]{font-size:1.0625em;margin-bottom:10px}.setup-box .description[data-v-7f4fdc54]{font-size:.875em}.setup-box[data-v-7f4fdc54] .form.block-form .single-line-form{display:block}.setup-box[data-v-7f4fdc54] .form.block-form .single-line-form .submit-button{margin-left:0;margin-top:10px}}.dark .setup-box.base[data-v-7f4fdc54],.dark .setup-box.danger[data-v-7f4fdc54]{background:#1e2024}.dark .setup-box[data-v-7f4fdc54] .input-area,.dark .setup-box[data-v-7f4fdc54] input .input-area,.dark .setup-box[data-v-7f4fdc54] input[type=number],.dark .setup-box[data-v-7f4fdc54] input[type=text]{background:#151515}",""]);const a=i},1213:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(3645),i=n.n(r)()((function(e){return e[1]}));i.push([e.id,"",""]);const a=i},4619:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(3645),i=n.n(r)()((function(e){return e[1]}));i.push([e.id,".page-tab-group[data-v-61f8c98e]{margin-bottom:65px}",""]);const a=i},4479:(e,t,n)=>{"use strict";n.d(t,{C1:()=>a});function r(e){return null==e}function i(e){return Array.isArray(e)&&0===e.length}var a={validate:function(e,t){var n=(void 0===t?{allowFalse:!0}:t).allowFalse,a={valid:!1,required:!0};return r(e)||i(e)?a:!1!==e||n?(a.valid=!!String(e).trim().length,a):a},params:[{name:"allowFalse",default:!0}],computesRequired:!0}},9495:function(e,t,n){!function(e,t){"use strict";function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var r=n(t),i={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},u={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},l=function(e,t){var n=(void 0===t?{}:t).locale,r=void 0===n?"":n;return Array.isArray(e)?e.every((function(e){return l(e,{locale:r})})):r?(a[r]||a.en).test(e):Object.keys(a).some((function(t){return a[t].test(e)}))},d={validate:l,params:[{name:"locale"}]},c=function(e,t){var n=(void 0===t?{}:t).locale,r=void 0===n?"":n;return Array.isArray(e)?e.every((function(e){return c(e,{locale:r})})):r?(u[r]||u.en).test(e):Object.keys(u).some((function(t){return u[t].test(e)}))},f={validate:c,params:[{name:"locale"}]},p=function(e,t){var n=(void 0===t?{}:t).locale,r=void 0===n?"":n;return Array.isArray(e)?e.every((function(e){return p(e,{locale:r})})):r?(s[r]||s.en).test(e):Object.keys(s).some((function(t){return s[t].test(e)}))},v={validate:p,params:[{name:"locale"}]},m=function(e,t){var n=(void 0===t?{}:t).locale,r=void 0===n?"":n;return Array.isArray(e)?e.every((function(e){return m(e,{locale:r})})):r?(o[r]||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 n=void 0===t?{}:t,r=n.min,i=n.max;return Array.isArray(e)?e.every((function(e){return!!g(e,{min:r,max:i})})):Number(r)<=e&&Number(i)>=e},_={validate:g,params:[{name:"min"},{name:"max"}]},b={validate:function(e,t){var n=t.target;return String(e)===String(n)},params:[{name:"target",isTarget:!0}]},y=function(e,t){var n=t.length;if(Array.isArray(e))return e.every((function(e){return y(e,{length:n})}));var r=String(e);return/^[0-9]*$/.test(r)&&r.length===n},x={validate:y,params:[{name:"length",cast:function(e){return Number(e)}}]},$=function(e,t,n){var r=window.URL||window.webkitURL;return new Promise((function(i){var a=new Image;a.onerror=function(){return i(!1)},a.onload=function(){return i(a.width===t&&a.height===n)},a.src=r.createObjectURL(e)}))},A=function(e,t){var n=t.width,r=t.height,i=[];e=Array.isArray(e)?e:[e];for(var a=0;a()\[\]\\.,;:\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 n&&!Array.isArray(e)&&(e=String(e).split(",").map((function(e){return e.trim()}))),Array.isArray(e)?e.every((function(e){return r.test(String(e))})):r.test(String(e))},params:[{name:"multiple",default:!1}]};function Z(e){return e!=e}function I(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 C(e,t){return!(!Z(e)||!Z(t))||e===t}function R(e){return""!==e&&!I(e)}function E(e){return"function"==typeof e}function F(e){return E(e)&&!!e.__locatorRef}function j(e,t){var n=Array.isArray(e)?e:q(e);if(E(n.findIndex))return n.findIndex(t);for(var r=0;r=0:Array.isArray(e)?e.every((function(e){return ie(e,{length:n})})):String(e).length<=n},ae={validate:ie,params:[{name:"length",cast:function(e){return Number(e)}}]},oe=function(e,t){var n=t.max;return!I(e)&&""!==e&&(Array.isArray(e)?e.length>0&&e.every((function(e){return oe(e,{max:n})})):Number(e)<=n)},se={validate:oe,params:[{name:"max",cast:function(e){return Number(e)}}]},ue=function(e,t){var n=new RegExp(t.join("|").replace("*",".+")+"$","i");return Array.isArray(e)?e.every((function(e){return n.test(e.type)})):n.test(e.type)},le={validate:ue},de=function(e,t){var n=t.length;return!I(e)&&(Array.isArray(e)?e.every((function(e){return de(e,{length:n})})):String(e).length>=n)},ce={validate:de,params:[{name:"length",cast:function(e){return Number(e)}}]},fe=function(e,t){var n=t.min;return!I(e)&&""!==e&&(Array.isArray(e)?e.length>0&&e.every((function(e){return fe(e,{min:n})})):Number(e)>=n)},pe={validate:fe,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 n=t.regex;return Array.isArray(e)?e.every((function(e){return ge(e,{regex:n})})):n.test(String(e))},_e={validate:ge,params:[{name:"regex",cast:function(e){return"string"==typeof e?new RegExp(e):e}}]},be={validate:function(e,t){var n=(void 0===t?{allowFalse:!0}:t).allowFalse,r={valid:!1,required:!0};return I(e)||z(e)?r:!1!==e||n?(r.valid=!!String(e).trim().length,r):r},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 n,r=t.target,i=t.values;return i&&i.length?(Array.isArray(i)||"string"!=typeof i||(i=[i]),n=i.some((function(e){return e==String(r).trim()}))):n=!ye(r),n?{valid:!ye(e),required:n}:{valid:!0,required:n}},$e={validate:xe,params:[{name:"target",isTarget:!0},{name:"values"}],computesRequired:!0},Ae=function(e,t){var n=t.size;if(isNaN(n))return!1;var r=1024*n;if(!Array.isArray(e))return e.size<=r;for(var i=0;ir)return!1;return!0},ke={validate:Ae,params:[{name:"size",cast:function(e){return Number(e)}}]},we=function(e,t){var n=t||{},r=n.decimals,i=void 0===r?0:r,a=n.separator,o=new RegExp("^-?\\d+"+("comma"===(void 0===a?"dot":a)?",?":"\\.?")+(0===i?"\\d*":"(\\d{"+i+"})?")+"$");return Array.isArray(e)?e.every((function(e){return o.test(String(e))})):o.test(String(e))},Ze={validate:we,params:[{name:"decimals",default:0},{name:"separator",default:"dot"}]},Ie=Object.freeze({__proto__:null,alpha_dash:f,alpha_num:v,alpha_spaces:h,alpha:d,between:_,confirmed:b,digits:x,dimensions:k,email:w,ext:X,image:J,oneOf:U,integer:Q,length:re,is_not:te,is:ee,max:ae,max_value:se,mimes:le,min:ce,min_value:pe,excluded:G,numeric:he,regex:_e,required:be,required_if:$e,size:ke,double:Ze}),ze=function(){return ze=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0&&i[i.length-1])||6!==a[0]&&2!==a[0])){o=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]=0&&Be.getRuleDefinition("max")&&(r.max=n.maxlength),n.minlength>=0&&Be.getRuleDefinition("min")&&(r.min=n.minlength),"number"===n.type&&(R(n.min)&&Be.getRuleDefinition("min_value")&&(r.min_value=Number(n.min)),R(n.max)&&Be.getRuleDefinition("max_value")&&(r.max_value=Number(n.max))),r):r}function wt(e){var t,n=["input","select","textarea"],r=null===(t=e.data)||void 0===t?void 0:t.attrs;if(!T(n,e.tag)||!r)return{};var i={};return"required"in r&&!1!==r.required&&Be.getRuleDefinition("required")&&(i.required="checkbox"!==r.type||[!0]),ct(e)?Ge(ze(ze({},i),kt(e))):Ge(i)}function Zt(e,t){return e.$scopedSlots.default?e.$scopedSlots.default(t)||[]:e.$slots.default||[]}function It(e,t){return!(e._ignoreImmediate||!e.immediate)||!(C(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=[],n=0;n0)){var l=Fe().useConstraintAttrs?wt(e):{};ut(t._resolvedRules,l)||(t._needsValidation=!0),$t(e)&&(t.fieldName=(null===(o=null===(a=e.data)||void 0===a?void 0:a.attrs)||void 0===o?void 0:o.name)||(null===(u=null===(s=e.data)||void 0===s?void 0:s.attrs)||void 0===u?void 0:u.id)),t._resolvedRules=l,Ft(t,e)}}))}return this.slim&&n.length<=1?n[0]:e(this.tag,n)},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(n){t.flags[n]=e[n]}))},syncValue:function(e){var t=dt(e);this.value=t,this.flags.changed=!ut(this.initialValue,t)},reset:function(){var e=this;this.errors=[],this.initialValue=this.value;var t=D();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;t0&&this.syncValue(e[0]),[2,Rt(this)]}))}))},validateSilent:function(){return Oe(this,void 0,void 0,(function(){var e,t;return Ce(this,(function(n){switch(n.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=n.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,n=e.failedRules,r=e.regenerateMap;this.errors=t,this._regenerateMap=r,this.failedRules=ze({},n||{}),this.setFlags({valid:!t.length,passed:!t.length,invalid:!!t.length,failed:!!t.length,validated:!0,changed:!ut(this.value,this.initialValue)})},registerField:function(){Vt(this)},checkComputesRequiredState:function(){var e=ze(ze({},this._resolvedRules),this.normalizedRules);return Object.keys(e).some(Be.isRequireRule)}}});function qt(e,t){for(var n={},r=Object.keys(t),i=r.length,a=function(i){var a=r[i],o=e&&e[a]||a,s=t[a];return I(s)?"continue":"valid"!==a&&"invalid"!==a||t.validated?void("string"==typeof o?n[o]=s:Array.isArray(o)&&o.forEach((function(e){n[e]=s}))):"continue"},o=0;o{"use strict";n.d(t,{Z:()=>i});const r={name:"AppInputSwitch",props:["description","isLast","title","error"]};const i=(0,n(1900).Z)(r,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"flex w-full items-center justify-between space-x-2 sm:space-x-8",class:{"mb-6 sm:mb-7":!e.isLast}},[n("div",{staticClass:"leading-5"},[n("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?n("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?n("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(" "),n("div",[e._t("default")],2)])}),[],!1,null,null,null).exports},4383:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});const r={name:"AppInputText",props:["description","isLast","title","error"]};const i=(0,n(1900).Z)(r,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:{"mb-6 sm:mb-7":!e.isLast}},[e.title?n("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?n("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?n("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},1655:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(9101);const i={name:"FormLabel",props:["icon"],components:{TrendingUpIcon:r.Zab,WifiIcon:r.kVp,ListIcon:r.DE2,MailIcon:r.bV6,InfoIcon:r.szr,DatabaseIcon:r.VHe,UsersIcon:r.oyc,CreditCardIcon:r.ciH,DollarSignIcon:r.bkH,SmartphoneIcon:r.BEV,HardDriveIcon:r.zvn,BarChartIcon:r.eJP,SettingsIcon:r.ewm,FileTextIcon:r.zPP,ShieldIcon:r.b7C,FrownIcon:r.eFi,Edit2Icon:r.me4,BellIcon:r.Dkj,KeyIcon:r._m8}};const a=(0,n(1900).Z)(i,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"mb-8 flex items-center"},[e.icon?e._e():n("edit-2-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}),e._v(" "),"frown"===e.icon?n("frown-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"list"===e.icon?n("list-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"info"===e.icon?n("info-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"database"===e.icon?n("database-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"file-text"===e.icon?n("file-text-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"dollar"===e.icon?n("dollar-sign-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"credit-card"===e.icon?n("credit-card-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"bar-chart"===e.icon?n("bar-chart-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"settings"===e.icon?n("settings-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"hard-drive"===e.icon?n("hard-drive-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"mail"===e.icon?n("mail-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"smartphone"===e.icon?n("smartphone-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"shield"===e.icon?n("shield-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"bell"===e.icon?n("bell-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"key"===e.icon?n("key-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"users"===e.icon?n("users-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"wifi"===e.icon?n("wifi-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"trending-up"===e.icon?n("trending-up-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),n("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,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(9101);const i={name:"ImageInput",props:["image","error"],components:{ImageIcon:r.XBm,XIcon:r.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,n=e.target.files[0].name,r=n.substring(n.lastIndexOf(".")+1).toLowerCase();if(["png","jpg","jpeg","svg"].includes(r)){var i=e.target.files[0],a=new FileReader;a.onload=function(){return t.imagePreview=a.result},a.readAsDataURL(i),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,n(1900).Z)(i,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("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?n("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}},[n("x-icon",{staticClass:"vue-feather dark:text-gray-500",attrs:{size:"14"}})],1):e._e(),e._v(" "),n("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?n("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():n("div",{staticClass:"text-center"},[n("image-icon",{staticClass:"vue-feather text-theme mb-4 inline-block",attrs:{size:"34"}}),e._v(" "),n("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(" "),n("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,n)=>{"use strict";n.d(t,{Z:()=>u});const r={name:"InfoBox",props:["type"]};var i=n(3379),a=n.n(i),o=n(9397),s={insert:"head",singleton:!1};a()(o.Z,s);o.Z.locals;const u=(0,n(1900).Z)(r,(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,n)=>{"use strict";n.d(t,{Z:()=>d});var r=n(9101),i=n(6486);const a={name:"SelectInput",props:["placeholder","options","isError","default"],components:{Edit2Icon:r.me4,UserIcon:r.tBG,ChevronDownIcon:r.v4q},watch:{query:(0,i.debounce)((function(e){this.searchedResults=(0,i.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=n(3379),s=n.n(o),u=n(2189),l={insert:"head",singleton:!1};s()(u.Z,l);u.Z.locals;const d=(0,n(1900).Z)(a,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"select"},[n("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?n("div",{staticClass:"selected flex w-full items-center"},[e.selected.icon?n("div",{staticClass:"option-icon"},["user"===e.selected.icon?n("user-icon",{staticClass:"vue-feather text-theme",attrs:{size:"14"}}):e._e(),e._v(" "),"user-edit"===e.selected.icon?n("edit2-icon",{staticClass:"vue-feather text-theme",attrs:{size:"14"}}):e._e()],1):e._e(),e._v(" "),n("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():n("div",{staticClass:"not-selected"},[n("span",{staticClass:"option-value placehoder"},[e._v(e._s(e.placeholder))])]),e._v(" "),n("chevron-down-icon",{staticClass:"chevron",attrs:{size:"19"}})],1),e._v(" "),n("transition",{attrs:{name:"slide-in"}},[e.isOpen?n("div",{staticClass:"input-options rounded-lg"},[e.options.length>5?n("div",{staticClass:"select-search"},[n("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(" "),n("ul",{staticClass:"option-list"},e._l(e.optionList,(function(t,r){return n("li",{key:r,staticClass:"option-item",on:{click:function(n){return e.selectOption(t)}}},[t.icon?n("div",{staticClass:"option-icon"},["user"===t.icon?n("user-icon",{attrs:{size:"14"}}):e._e(),e._v(" "),"user-edit"===t.icon?n("edit2-icon",{attrs:{size:"14"}}):e._e()],1):e._e(),e._v(" "),n("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},1472:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});const r={name:"SetupBox",props:["title","description","theme"]};var i=n(3379),a=n.n(i),o=n(4265),s={insert:"head",singleton:!1};a()(o.Z,s);o.Z.locals;const u=(0,n(1900).Z)(r,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"setup-box",class:e.theme},[n("b",{staticClass:"title"},[e._v(e._s(e.title))]),e._v(" "),n("p",{staticClass:"description"},[e._v(e._s(e.description))]),e._v(" "),e._t("default")],2)}),[],!1,null,"7f4fdc54",null).exports},2792:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});const r={name:"PageTab",props:["isLoading"],components:{Spinner:n(7318).Z}};var i=n(3379),a=n.n(i),o=n(1213),s={insert:"head",singleton:!1};a()(o.Z,s);o.Z.locals;const u=(0,n(1900).Z)(r,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"page-tab"},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.isLoading,expression:"isLoading"}],attrs:{id:"loader"}},[n("Spinner")],1),e._v(" "),e._t("default")],2)}),[],!1,null,"6c76a2be",null).exports},5840:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});const r={name:"PageTabGroup"};var i=n(3379),a=n.n(i),o=n(4619),s={insert:"head",singleton:!1};a()(o.Z,s);o.Z.locals;const u=(0,n(1900).Z)(r,(function(){var e=this,t=e.$createElement;return(e._self._c||t)("div",{staticClass:"page-tab-group"},[e._t("default")],2)}),[],!1,null,"61f8c98e",null).exports},6030:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>_});var r=n(9194),i=n(4383),a=n(9495),o=n(5840),s=n(1638),u=n(6784),l=n(1655),d=n(6746),c=n(1472),f=n(2792),p=n(6291),v=n(4479),m=n(9669),h=n.n(m);const g={name:"AppAppearance",components:{AppInputSwitch:r.Z,AppInputText:i.Z,ValidationObserver:a.ValidationObserver,ValidationProvider:a.ValidationProvider,PageTabGroup:o.Z,SelectInput:s.Z,ImageInput:u.Z,ButtonBase:d.Z,FormLabel:l.Z,SetupBox:c.Z,required:v.C1,PageTab:f.Z,InfoBox:p.Z},data:function(){return{isLoading:!0,app:void 0}},mounted:function(){var e=this;h().get("/api/admin/settings",{params:{column:"app_title|app_description|app_logo|app_logo_dark|app_favicon|app_logo_horizontal|app_logo_horizontal_dark|app_color|app_og_image|app_touch_icon"}}).then((function(t){e.app={logo_horizontal:t.data.app_logo_horizontal,logo_horizontal_dark:t.data.app_logo_horizontal_dark,description:t.data.app_description,favicon:t.data.app_favicon,title:t.data.app_title,color:t.data.app_color,logo:t.data.app_logo,logo_dark:t.data.app_logo_dark,og_image:t.data.app_og_image,touch_icon:t.data.app_touch_icon}})).finally((function(){e.isLoading=!1}))}};const _=(0,n(1900).Z)(g,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("PageTab",{attrs:{"is-loading":e.isLoading}},[e.app?n("div",{staticClass:"card shadow-card"},[n("FormLabel",[e._v("\n "+e._s(e.$t("admin_settings.appearance.section_general"))+"\n ")]),e._v(" "),n("AppInputSwitch",{attrs:{title:e.$t("color_theme"),description:e.$t("color_theme_description")}},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.app.color,expression:"app.color"}],attrs:{placeholder:e.$t("admin_settings.appearance.title_plac"),type:"color"},domProps:{value:e.app.color},on:{input:[function(t){t.target.composing||e.$set(e.app,"color",t.target.value)},function(t){return e.$updateText("/admin/settings","app_color",e.app.color)}]}})]),e._v(" "),n("AppInputText",{attrs:{title:e.$t("admin_settings.appearance.title")}},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.app.title,expression:"app.title"}],staticClass:"focus-border-theme input-dark",attrs:{placeholder:e.$t("admin_settings.appearance.title_plac"),type:"text"},domProps:{value:e.app.title},on:{input:[function(t){t.target.composing||e.$set(e.app,"title",t.target.value)},function(t){return e.$updateText("/admin/settings","app_title",e.app.title)}]}})]),e._v(" "),n("AppInputText",{attrs:{title:e.$t("admin_settings.appearance.description"),"is-last":!0}},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.app.description,expression:"app.description"}],staticClass:"focus-border-theme input-dark",attrs:{placeholder:e.$t("admin_settings.appearance.description_plac"),type:"text"},domProps:{value:e.app.description},on:{input:[function(t){t.target.composing||e.$set(e.app,"description",t.target.value)},function(t){return e.$updateText("/admin/settings","app_description",e.app.description)}]}})])],1):e._e(),e._v(" "),e.app?n("div",{staticClass:"card shadow-card"},[n("FormLabel",[e._v("\n "+e._s(e.$t("branding"))+"\n ")]),e._v(" "),n("AppInputText",{attrs:{title:e.$t("admin_settings.appearance.logo")}},[n("ImageInput",{attrs:{image:e.$getImage(e.app.logo)},on:{input:function(t){return e.$updateImage("/admin/settings","app_logo",e.app.logo)}},model:{value:e.app.logo,callback:function(t){e.$set(e.app,"logo",t)},expression:"app.logo"}})],1),e._v(" "),n("AppInputText",{attrs:{title:e.$t("app_logo_dark_mode")}},[n("ImageInput",{attrs:{image:e.$getImage(e.app.logo_dark)},on:{input:function(t){return e.$updateImage("/admin/settings","app_logo_dark",e.app.logo_dark)}},model:{value:e.app.logo_dark,callback:function(t){e.$set(e.app,"logo_dark",t)},expression:"app.logo_dark"}})],1),e._v(" "),n("AppInputText",{attrs:{title:e.$t("admin_settings.appearance.logo_horizontal")}},[n("ImageInput",{attrs:{image:e.$getImage(e.app.logo_horizontal)},on:{input:function(t){return e.$updateImage("/admin/settings","app_logo_horizontal",e.app.logo_horizontal)}},model:{value:e.app.logo_horizontal,callback:function(t){e.$set(e.app,"logo_horizontal",t)},expression:"app.logo_horizontal"}})],1),e._v(" "),n("AppInputText",{attrs:{title:e.$t("app_logo_horizontal_dark_mode")}},[n("ImageInput",{attrs:{image:e.$getImage(e.app.logo_horizontal_dark)},on:{input:function(t){return e.$updateImage("/admin/settings","app_logo_horizontal_dark",e.app.logo_horizontal_dark)}},model:{value:e.app.logo_horizontal_dark,callback:function(t){e.$set(e.app,"logo_horizontal_dark",t)},expression:"app.logo_horizontal_dark"}})],1),e._v(" "),n("AppInputText",{attrs:{title:e.$t("admin_settings.appearance.favicon")}},[n("ImageInput",{attrs:{image:e.$getImage(e.app.favicon)},on:{input:function(t){return e.$updateImage("/admin/settings","app_favicon",e.app.favicon)}},model:{value:e.app.favicon,callback:function(t){e.$set(e.app,"favicon",t)},expression:"app.favicon"}})],1),e._v(" "),n("AppInputText",{attrs:{title:e.$t("og_image"),description:e.$t("og_image_description")}},[n("ImageInput",{attrs:{image:e.$getImage(e.app.og_image)},on:{input:function(t){return e.$updateImage("/admin/settings","app_og_image",e.app.og_image)}},model:{value:e.app.og_image,callback:function(t){e.$set(e.app,"og_image",t)},expression:"app.og_image"}})],1),e._v(" "),n("AppInputText",{attrs:{title:e.$t("app_touch_icon"),description:e.$t("app_touch_icon_description"),"is-last":!0}},[n("ImageInput",{attrs:{image:e.$getImage(e.app.touch_icon)},on:{input:function(t){return e.$updateImage("/admin/settings","app_touch_icon",e.app.touch_icon)}},model:{value:e.app.touch_icon,callback:function(t){e.$set(e.app,"touch_icon",t)},expression:"app.touch_icon"}})],1)],1):e._e()])}),[],!1,null,null,null).exports}}]); \ No newline at end of file diff --git a/public/chunks/app-environment.js b/public/chunks/app-environment.js index a19bf262..1d5180ee 100644 --- a/public/chunks/app-environment.js +++ b/public/chunks/app-environment.js @@ -1,2 +1,2 @@ /*! For license information please see app-environment.js.LICENSE.txt */ -(self.webpackChunk=self.webpackChunk||[]).push([[8131],{9397:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i});var a=r(3645),n=r.n(a)()((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 i=n},2189:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i});var a=r(3645),n=r.n(a)()((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 i=n},4265:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i});var a=r(3645),n=r.n(a)()((function(e){return e[1]}));n.push([e.id,".setup-box[data-v-7f4fdc54]{border-radius:8px;margin-bottom:30px;padding:20px}.setup-box .title[data-v-7f4fdc54]{display:block;font-size:1.3125em;font-weight:700;margin-bottom:5px}.setup-box .description[data-v-7f4fdc54]{font-size:.9375em;line-height:1.5;margin-bottom:20px}.setup-box.base[data-v-7f4fdc54],.setup-box.danger[data-v-7f4fdc54]{background:#f4f5f6}.setup-box.danger .title[data-v-7f4fdc54]{color:#fd397a}.setup-box[data-v-7f4fdc54] .input-area,.setup-box[data-v-7f4fdc54] input .input-area,.setup-box[data-v-7f4fdc54] input[type=number],.setup-box[data-v-7f4fdc54] input[type=text]{background:#fff}.setup-box[data-v-7f4fdc54] .form{margin-top:20px}.setup-box[data-v-7f4fdc54] .form.block-form{max-width:450px}.setup-box[data-v-7f4fdc54] .form.block-form .single-line-form{display:flex}.setup-box[data-v-7f4fdc54] .form.block-form .single-line-form .submit-button{margin-left:20px}@media only screen and (max-width:960px){.setup-box[data-v-7f4fdc54] .form.block-form{max-width:100%}.setup-box[data-v-7f4fdc54] .form input{min-width:auto}}@media only screen and (max-width:690px){.setup-box[data-v-7f4fdc54]{padding:15px}.setup-box .title[data-v-7f4fdc54]{font-size:1.0625em;margin-bottom:10px}.setup-box .description[data-v-7f4fdc54]{font-size:.875em}.setup-box[data-v-7f4fdc54] .form.block-form .single-line-form{display:block}.setup-box[data-v-7f4fdc54] .form.block-form .single-line-form .submit-button{margin-left:0;margin-top:10px}}.dark .setup-box.base[data-v-7f4fdc54],.dark .setup-box.danger[data-v-7f4fdc54]{background:#1e2024}.dark .setup-box[data-v-7f4fdc54] .input-area,.dark .setup-box[data-v-7f4fdc54] input .input-area,.dark .setup-box[data-v-7f4fdc54] input[type=number],.dark .setup-box[data-v-7f4fdc54] input[type=text]{background:#151515}",""]);const i=n},1213:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i});var a=r(3645),n=r.n(a)()((function(e){return e[1]}));n.push([e.id,"",""]);const i=n},4619:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i});var a=r(3645),n=r.n(a)()((function(e){return e[1]}));n.push([e.id,".page-tab-group[data-v-61f8c98e]{margin-bottom:65px}",""]);const i=n},4479:(e,t,r)=>{"use strict";r.d(t,{C1:()=>i});function a(e){return null==e}function n(e){return Array.isArray(e)&&0===e.length}var i={validate:function(e,t){var r=(void 0===t?{allowFalse:!0}:t).allowFalse,i={valid:!1,required:!0};return a(e)||n(e)?i:!1!==e||r?(i.valid=!!String(e).trim().length,i):i},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 a=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"}},i={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},s={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},o={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},u={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},l=function(e,t){var r=(void 0===t?{}:t).locale,a=void 0===r?"":r;return Array.isArray(e)?e.every((function(e){return l(e,{locale:a})})):a?(i[a]||i.en).test(e):Object.keys(i).some((function(t){return i[t].test(e)}))},d={validate:l,params:[{name:"locale"}]},c=function(e,t){var r=(void 0===t?{}:t).locale,a=void 0===r?"":r;return Array.isArray(e)?e.every((function(e){return c(e,{locale:a})})):a?(u[a]||u.en).test(e):Object.keys(u).some((function(t){return u[t].test(e)}))},v={validate:c,params:[{name:"locale"}]},p=function(e,t){var r=(void 0===t?{}:t).locale,a=void 0===r?"":r;return Array.isArray(e)?e.every((function(e){return p(e,{locale:a})})):a?(o[a]||o.en).test(e):Object.keys(o).some((function(t){return o[t].test(e)}))},f={validate:p,params:[{name:"locale"}]},m=function(e,t){var r=(void 0===t?{}:t).locale,a=void 0===r?"":r;return Array.isArray(e)?e.every((function(e){return m(e,{locale:a})})):a?(s[a]||s.en).test(e):Object.keys(s).some((function(t){return s[t].test(e)}))},h={validate:m,params:[{name:"locale"}]},g=function(e,t){var r=void 0===t?{}:t,a=r.min,n=r.max;return Array.isArray(e)?e.every((function(e){return!!g(e,{min:a,max:n})})):Number(a)<=e&&Number(n)>=e},b={validate:g,params:[{name:"min"},{name:"max"}]},y={validate:function(e,t){var r=t.target;return String(e)===String(r)},params:[{name:"target",isTarget:!0}]},_=function(e,t){var r=t.length;if(Array.isArray(e))return e.every((function(e){return _(e,{length:r})}));var a=String(e);return/^[0-9]*$/.test(a)&&a.length===r},x={validate:_,params:[{name:"length",cast:function(e){return Number(e)}}]},k=function(e,t,r){var a=window.URL||window.webkitURL;return new Promise((function(n){var i=new Image;i.onerror=function(){return n(!1)},i.onload=function(){return n(i.width===t&&i.height===r)},i.src=a.createObjectURL(e)}))},$=function(e,t){var r=t.width,a=t.height,n=[];e=Array.isArray(e)?e:[e];for(var i=0;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 a.test(String(e))})):a.test(String(e))},params:[{name:"multiple",default:!1}]};function S(e){return e!=e}function O(e){return null==e}function C(e){return Array.isArray(e)&&0===e.length}var Z=function(e){return null!==e&&e&&"object"==typeof e&&!Array.isArray(e)};function P(e,t){return!(!S(e)||!S(t))||e===t}function E(e){return""!==e&&!O(e)}function I(e){return"function"==typeof e}function R(e){return I(e)&&!!e.__locatorRef}function z(e,t){var r=Array.isArray(e)?e:j(e);if(I(r.findIndex))return r.findIndex(t);for(var a=0;a=0:Array.isArray(e)?e.every((function(e){return ne(e,{length:r})})):String(e).length<=r},ie={validate:ne,params:[{name:"length",cast:function(e){return Number(e)}}]},se=function(e,t){var r=t.max;return!O(e)&&""!==e&&(Array.isArray(e)?e.length>0&&e.every((function(e){return se(e,{max:r})})):Number(e)<=r)},oe={validate:se,params:[{name:"max",cast:function(e){return Number(e)}}]},ue=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)},le={validate:ue},de=function(e,t){var r=t.length;return!O(e)&&(Array.isArray(e)?e.every((function(e){return de(e,{length:r})})):String(e).length>=r)},ce={validate:de,params:[{name:"length",cast:function(e){return Number(e)}}]},ve=function(e,t){var r=t.min;return!O(e)&&""!==e&&(Array.isArray(e)?e.length>0&&e.every((function(e){return ve(e,{min:r})})):Number(e)>=r)},pe={validate:ve,params:[{name:"min",cast:function(e){return Number(e)}}]},fe=/^[٠١٢٣٤٥٦٧٨٩]+$/,me=/^[0-9]+$/,he={validate:function(e){var t=function(e){var t=String(e);return me.test(t)||fe.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}}]},ye={validate:function(e,t){var r=(void 0===t?{allowFalse:!0}:t).allowFalse,a={valid:!1,required:!0};return O(e)||C(e)?a:!1!==e||r?(a.valid=!!String(e).trim().length,a):a},params:[{name:"allowFalse",default:!0}],computesRequired:!0},_e=function(e){return C(e)||F([!1,null,void 0],e)||!String(e).trim().length},xe=function(e,t){var r,a=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(a).trim()}))):r=!_e(a),r?{valid:!_e(e),required:r}:{valid:!0,required:r}},ke={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 a=1024*r;if(!Array.isArray(e))return e.size<=a;for(var n=0;na)return!1;return!0},Ae={validate:$e,params:[{name:"size",cast:function(e){return Number(e)}}]},we=function(e,t){var r=t||{},a=r.decimals,n=void 0===a?0:a,i=r.separator,s=new RegExp("^-?\\d+"+("comma"===(void 0===i?"dot":i)?",?":"\\.?")+(0===n?"\\d*":"(\\d{"+n+"})?")+"$");return Array.isArray(e)?e.every((function(e){return s.test(String(e))})):s.test(String(e))},Se={validate:we,params:[{name:"decimals",default:0},{name:"separator",default:"dot"}]},Oe=Object.freeze({__proto__:null,alpha_dash:v,alpha_num:f,alpha_spaces:h,alpha:d,between:b,confirmed:y,digits:x,dimensions:A,email:w,ext:Y,image:J,oneOf:W,integer:Q,length:ae,is_not:te,is:ee,max:ie,max_value:oe,mimes:le,min:ce,min_value:pe,excluded:K,numeric:he,regex:be,required:ye,required_if:ke,size:Ae,double:Se}),Ce=function(){return Ce=Object.assign||function(e){for(var t,r=1,a=arguments.length;r0&&n[n.length-1])||6!==i[0]&&2!==i[0])){s=0;continue}if(3===i[0]&&(!n||i[1]>n[0]&&i[1]=0&&Me.getRuleDefinition("max")&&(a.max=r.maxlength),r.minlength>=0&&Me.getRuleDefinition("min")&&(a.min=r.minlength),"number"===r.type&&(E(r.min)&&Me.getRuleDefinition("min_value")&&(a.min_value=Number(r.min)),E(r.max)&&Me.getRuleDefinition("max_value")&&(a.max_value=Number(r.max))),a):a}function wt(e){var t,r=["input","select","textarea"],a=null===(t=e.data)||void 0===t?void 0:t.attrs;if(!F(r,e.tag)||!a)return{};var n={};return"required"in a&&!1!==a.required&&Me.getRuleDefinition("required")&&(n.required="checkbox"!==a.type||[!0]),ct(e)?Ke(Ce(Ce({},n),At(e))):Ke(n)}function St(e,t){return e.$scopedSlots.default?e.$scopedSlots.default(t)||[]:e.$slots.default||[]}function Ot(e,t){return!(e._ignoreImmediate||!e.immediate)||!(P(e.value,t)||!e.normalizedEvents.length)||!!e._needsValidation||!e.initialized&&void 0===t}function Ct(e){return Ce(Ce({},e.flags),{errors:e.errors,classes:e.classes,failedRules:e.failedRules,reset:function(){return e.reset()},validate:function(){for(var t=[],r=0;r0)){var l=Re().useConstraintAttrs?wt(e):{};ut(t._resolvedRules,l)||(t._needsValidation=!0),kt(e)&&(t.fieldName=(null===(s=null===(i=e.data)||void 0===i?void 0:i.attrs)||void 0===s?void 0:s.name)||(null===(u=null===(o=e.data)||void 0===o?void 0:o.attrs)||void 0===u?void 0:u.id)),t._resolvedRules=l,Rt(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=dt(e);this.value=t,this.flags.changed=!ut(this.initialValue,t)},reset:function(){var e=this;this.errors=[],this.initialValue=this.value;var t=N();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;t0&&this.syncValue(e[0]),[2,Et(this)]}))}))},validateSilent:function(){return Ze(this,void 0,void 0,(function(){var e,t;return Pe(this,(function(r){switch(r.label){case 0:return this.setFlags({pending:!0}),e=Ce(Ce({},this._resolvedRules),this.normalizedRules),Object.defineProperty(e,"_$$isNormalized",{value:!0,writable:!1,enumerable:!1,configurable:!1}),[4,Qe(this.value,e,Ce(Ce({name:this.name||this.fieldName},qt(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,a=e.regenerateMap;this.errors=t,this._regenerateMap=a,this.failedRules=Ce({},r||{}),this.setFlags({valid:!t.length,passed:!t.length,invalid:!!t.length,failed:!!t.length,validated:!0,changed:!ut(this.value,this.initialValue)})},registerField:function(){Dt(this)},checkComputesRequiredState:function(){var e=Ce(Ce({},this._resolvedRules),this.normalizedRules);return Object.keys(e).some(Me.isRequireRule)}}});function jt(e,t){for(var r={},a=Object.keys(t),n=a.length,i=function(n){var i=a[n],s=e&&e[i]||i,o=t[i];return O(o)?"continue":"valid"!==i&&"invalid"!==i||t.validated?void("string"==typeof s?r[s]=o:Array.isArray(s)&&s.forEach((function(e){r[e]=o}))):"continue"},s=0;s{"use strict";r.d(t,{Z:()=>n});const a={name:"AppInputText",props:["description","isLast","title","error"]};const n=(0,r(1900).Z)(a,(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},5996:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i});var a=r(9101);const n={name:"FormLabel",props:["icon"],components:{WifiIcon:a.kVp,ListIcon:a.DE2,MailIcon:a.bV6,InfoIcon:a.szr,DatabaseIcon:a.VHe,UsersIcon:a.oyc,CreditCardIcon:a.ciH,DollarSignIcon:a.bkH,SmartphoneIcon:a.BEV,HardDriveIcon:a.zvn,BarChartIcon:a.eJP,SettingsIcon:a.ewm,FileTextIcon:a.zPP,ShieldIcon:a.b7C,FrownIcon:a.eFi,Edit2Icon:a.me4,BellIcon:a.Dkj,KeyIcon:a._m8}};const i=(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(" "),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:()=>i});var a=r(9101);const n={name:"ImageInput",props:["image","error"],components:{ImageIcon:a.XBm,XIcon:a.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,a=r.substring(r.lastIndexOf(".")+1).toLowerCase();if(["png","jpg","jpeg","svg"].includes(a)){var n=e.target.files[0],i=new FileReader;i.onload=function(){return t.imagePreview=i.result},i.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 i=(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:()=>u});const a={name:"InfoBox",props:["type"]};var n=r(3379),i=r.n(n),s=r(9397),o={insert:"head",singleton:!1};i()(s.Z,o);s.Z.locals;const u=(0,r(1900).Z)(a,(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:()=>d});var a=r(9101),n=r(6486);const i={name:"SelectInput",props:["placeholder","options","isError","default"],components:{Edit2Icon:a.me4,UserIcon:a.tBG,ChevronDownIcon:a.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 s=r(3379),o=r.n(s),u=r(2189),l={insert:"head",singleton:!1};o()(u.Z,l);u.Z.locals;const d=(0,r(1900).Z)(i,(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,a){return r("li",{key:a,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},1472:(e,t,r)=>{"use strict";r.d(t,{Z:()=>u});const a={name:"SetupBox",props:["title","description","theme"]};var n=r(3379),i=r.n(n),s=r(4265),o={insert:"head",singleton:!1};i()(s.Z,o);s.Z.locals;const u=(0,r(1900).Z)(a,(function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"setup-box",class:e.theme},[r("b",{staticClass:"title"},[e._v(e._s(e.title))]),e._v(" "),r("p",{staticClass:"description"},[e._v(e._s(e.description))]),e._v(" "),e._t("default")],2)}),[],!1,null,"7f4fdc54",null).exports},2792:(e,t,r)=>{"use strict";r.d(t,{Z:()=>u});const a={name:"PageTab",props:["isLoading"],components:{Spinner:r(7318).Z}};var n=r(3379),i=r.n(n),s=r(1213),o={insert:"head",singleton:!1};i()(s.Z,o);s.Z.locals;const u=(0,r(1900).Z)(a,(function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"page-tab"},[r("div",{directives:[{name:"show",rawName:"v-show",value:e.isLoading,expression:"isLoading"}],attrs:{id:"loader"}},[r("Spinner")],1),e._v(" "),e._t("default")],2)}),[],!1,null,"6c76a2be",null).exports},5840:(e,t,r)=>{"use strict";r.d(t,{Z:()=>u});const a={name:"PageTabGroup"};var n=r(3379),i=r.n(n),s=r(4619),o={insert:"head",singleton:!1};i()(s.Z,o);s.Z.locals;const u=(0,r(1900).Z)(a,(function(){var e=this,t=e.$createElement;return(e._self._c||t)("div",{staticClass:"page-tab-group"},[e._t("default")],2)}),[],!1,null,"61f8c98e",null).exports},7182:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>S});var a=r(7757),n=r.n(a),i=r(4383),s=r(9495),o=r(5840),u=r(1638),l=r(6784),d=r(5996),c=r(6746),v=r(1472),p=r(2792),f=r(6291),m=r(4479),h=r(826),g=r(9669),b=r.n(g),y=r(629);function _(e,t,r,a,n,i,s){try{var o=e[i](s),u=o.value}catch(e){return void r(e)}o.done?t(u):Promise.resolve(u).then(a,n)}function x(e){return function(){var t=this,r=arguments;return new Promise((function(a,n){var i=e.apply(t,r);function s(e){_(i,a,n,s,o,"next",e)}function o(e){_(i,a,n,s,o,"throw",e)}s(void 0)}))}}function k(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function $(e){for(var t=1;t{"use strict";r.d(t,{Z:()=>i});var a=r(3645),n=r.n(a)()((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 i=n},2189:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i});var a=r(3645),n=r.n(a)()((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 i=n},4265:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i});var a=r(3645),n=r.n(a)()((function(e){return e[1]}));n.push([e.id,".setup-box[data-v-7f4fdc54]{border-radius:8px;margin-bottom:30px;padding:20px}.setup-box .title[data-v-7f4fdc54]{display:block;font-size:1.3125em;font-weight:700;margin-bottom:5px}.setup-box .description[data-v-7f4fdc54]{font-size:.9375em;line-height:1.5;margin-bottom:20px}.setup-box.base[data-v-7f4fdc54],.setup-box.danger[data-v-7f4fdc54]{background:#f4f5f6}.setup-box.danger .title[data-v-7f4fdc54]{color:#fd397a}.setup-box[data-v-7f4fdc54] .input-area,.setup-box[data-v-7f4fdc54] input .input-area,.setup-box[data-v-7f4fdc54] input[type=number],.setup-box[data-v-7f4fdc54] input[type=text]{background:#fff}.setup-box[data-v-7f4fdc54] .form{margin-top:20px}.setup-box[data-v-7f4fdc54] .form.block-form{max-width:450px}.setup-box[data-v-7f4fdc54] .form.block-form .single-line-form{display:flex}.setup-box[data-v-7f4fdc54] .form.block-form .single-line-form .submit-button{margin-left:20px}@media only screen and (max-width:960px){.setup-box[data-v-7f4fdc54] .form.block-form{max-width:100%}.setup-box[data-v-7f4fdc54] .form input{min-width:auto}}@media only screen and (max-width:690px){.setup-box[data-v-7f4fdc54]{padding:15px}.setup-box .title[data-v-7f4fdc54]{font-size:1.0625em;margin-bottom:10px}.setup-box .description[data-v-7f4fdc54]{font-size:.875em}.setup-box[data-v-7f4fdc54] .form.block-form .single-line-form{display:block}.setup-box[data-v-7f4fdc54] .form.block-form .single-line-form .submit-button{margin-left:0;margin-top:10px}}.dark .setup-box.base[data-v-7f4fdc54],.dark .setup-box.danger[data-v-7f4fdc54]{background:#1e2024}.dark .setup-box[data-v-7f4fdc54] .input-area,.dark .setup-box[data-v-7f4fdc54] input .input-area,.dark .setup-box[data-v-7f4fdc54] input[type=number],.dark .setup-box[data-v-7f4fdc54] input[type=text]{background:#151515}",""]);const i=n},1213:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i});var a=r(3645),n=r.n(a)()((function(e){return e[1]}));n.push([e.id,"",""]);const i=n},4619:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i});var a=r(3645),n=r.n(a)()((function(e){return e[1]}));n.push([e.id,".page-tab-group[data-v-61f8c98e]{margin-bottom:65px}",""]);const i=n},4479:(e,t,r)=>{"use strict";r.d(t,{C1:()=>i});function a(e){return null==e}function n(e){return Array.isArray(e)&&0===e.length}var i={validate:function(e,t){var r=(void 0===t?{allowFalse:!0}:t).allowFalse,i={valid:!1,required:!0};return a(e)||n(e)?i:!1!==e||r?(i.valid=!!String(e).trim().length,i):i},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 a=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"}},i={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},s={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},o={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},u={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},l=function(e,t){var r=(void 0===t?{}:t).locale,a=void 0===r?"":r;return Array.isArray(e)?e.every((function(e){return l(e,{locale:a})})):a?(i[a]||i.en).test(e):Object.keys(i).some((function(t){return i[t].test(e)}))},d={validate:l,params:[{name:"locale"}]},c=function(e,t){var r=(void 0===t?{}:t).locale,a=void 0===r?"":r;return Array.isArray(e)?e.every((function(e){return c(e,{locale:a})})):a?(u[a]||u.en).test(e):Object.keys(u).some((function(t){return u[t].test(e)}))},v={validate:c,params:[{name:"locale"}]},p=function(e,t){var r=(void 0===t?{}:t).locale,a=void 0===r?"":r;return Array.isArray(e)?e.every((function(e){return p(e,{locale:a})})):a?(o[a]||o.en).test(e):Object.keys(o).some((function(t){return o[t].test(e)}))},f={validate:p,params:[{name:"locale"}]},m=function(e,t){var r=(void 0===t?{}:t).locale,a=void 0===r?"":r;return Array.isArray(e)?e.every((function(e){return m(e,{locale:a})})):a?(s[a]||s.en).test(e):Object.keys(s).some((function(t){return s[t].test(e)}))},h={validate:m,params:[{name:"locale"}]},g=function(e,t){var r=void 0===t?{}:t,a=r.min,n=r.max;return Array.isArray(e)?e.every((function(e){return!!g(e,{min:a,max:n})})):Number(a)<=e&&Number(n)>=e},b={validate:g,params:[{name:"min"},{name:"max"}]},y={validate:function(e,t){var r=t.target;return String(e)===String(r)},params:[{name:"target",isTarget:!0}]},_=function(e,t){var r=t.length;if(Array.isArray(e))return e.every((function(e){return _(e,{length:r})}));var a=String(e);return/^[0-9]*$/.test(a)&&a.length===r},x={validate:_,params:[{name:"length",cast:function(e){return Number(e)}}]},k=function(e,t,r){var a=window.URL||window.webkitURL;return new Promise((function(n){var i=new Image;i.onerror=function(){return n(!1)},i.onload=function(){return n(i.width===t&&i.height===r)},i.src=a.createObjectURL(e)}))},$=function(e,t){var r=t.width,a=t.height,n=[];e=Array.isArray(e)?e:[e];for(var i=0;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 a.test(String(e))})):a.test(String(e))},params:[{name:"multiple",default:!1}]};function S(e){return e!=e}function O(e){return null==e}function C(e){return Array.isArray(e)&&0===e.length}var Z=function(e){return null!==e&&e&&"object"==typeof e&&!Array.isArray(e)};function P(e,t){return!(!S(e)||!S(t))||e===t}function E(e){return""!==e&&!O(e)}function I(e){return"function"==typeof e}function z(e){return I(e)&&!!e.__locatorRef}function R(e,t){var r=Array.isArray(e)?e:j(e);if(I(r.findIndex))return r.findIndex(t);for(var a=0;a=0:Array.isArray(e)?e.every((function(e){return ne(e,{length:r})})):String(e).length<=r},ie={validate:ne,params:[{name:"length",cast:function(e){return Number(e)}}]},se=function(e,t){var r=t.max;return!O(e)&&""!==e&&(Array.isArray(e)?e.length>0&&e.every((function(e){return se(e,{max:r})})):Number(e)<=r)},oe={validate:se,params:[{name:"max",cast:function(e){return Number(e)}}]},ue=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)},le={validate:ue},de=function(e,t){var r=t.length;return!O(e)&&(Array.isArray(e)?e.every((function(e){return de(e,{length:r})})):String(e).length>=r)},ce={validate:de,params:[{name:"length",cast:function(e){return Number(e)}}]},ve=function(e,t){var r=t.min;return!O(e)&&""!==e&&(Array.isArray(e)?e.length>0&&e.every((function(e){return ve(e,{min:r})})):Number(e)>=r)},pe={validate:ve,params:[{name:"min",cast:function(e){return Number(e)}}]},fe=/^[٠١٢٣٤٥٦٧٨٩]+$/,me=/^[0-9]+$/,he={validate:function(e){var t=function(e){var t=String(e);return me.test(t)||fe.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}}]},ye={validate:function(e,t){var r=(void 0===t?{allowFalse:!0}:t).allowFalse,a={valid:!1,required:!0};return O(e)||C(e)?a:!1!==e||r?(a.valid=!!String(e).trim().length,a):a},params:[{name:"allowFalse",default:!0}],computesRequired:!0},_e=function(e){return C(e)||F([!1,null,void 0],e)||!String(e).trim().length},xe=function(e,t){var r,a=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(a).trim()}))):r=!_e(a),r?{valid:!_e(e),required:r}:{valid:!0,required:r}},ke={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 a=1024*r;if(!Array.isArray(e))return e.size<=a;for(var n=0;na)return!1;return!0},Ae={validate:$e,params:[{name:"size",cast:function(e){return Number(e)}}]},we=function(e,t){var r=t||{},a=r.decimals,n=void 0===a?0:a,i=r.separator,s=new RegExp("^-?\\d+"+("comma"===(void 0===i?"dot":i)?",?":"\\.?")+(0===n?"\\d*":"(\\d{"+n+"})?")+"$");return Array.isArray(e)?e.every((function(e){return s.test(String(e))})):s.test(String(e))},Se={validate:we,params:[{name:"decimals",default:0},{name:"separator",default:"dot"}]},Oe=Object.freeze({__proto__:null,alpha_dash:v,alpha_num:f,alpha_spaces:h,alpha:d,between:b,confirmed:y,digits:x,dimensions:A,email:w,ext:Y,image:J,oneOf:W,integer:Q,length:ae,is_not:te,is:ee,max:ie,max_value:oe,mimes:le,min:ce,min_value:pe,excluded:K,numeric:he,regex:be,required:ye,required_if:ke,size:Ae,double:Se}),Ce=function(){return Ce=Object.assign||function(e){for(var t,r=1,a=arguments.length;r0&&n[n.length-1])||6!==i[0]&&2!==i[0])){s=0;continue}if(3===i[0]&&(!n||i[1]>n[0]&&i[1]=0&&Me.getRuleDefinition("max")&&(a.max=r.maxlength),r.minlength>=0&&Me.getRuleDefinition("min")&&(a.min=r.minlength),"number"===r.type&&(E(r.min)&&Me.getRuleDefinition("min_value")&&(a.min_value=Number(r.min)),E(r.max)&&Me.getRuleDefinition("max_value")&&(a.max_value=Number(r.max))),a):a}function wt(e){var t,r=["input","select","textarea"],a=null===(t=e.data)||void 0===t?void 0:t.attrs;if(!F(r,e.tag)||!a)return{};var n={};return"required"in a&&!1!==a.required&&Me.getRuleDefinition("required")&&(n.required="checkbox"!==a.type||[!0]),ct(e)?Ke(Ce(Ce({},n),At(e))):Ke(n)}function St(e,t){return e.$scopedSlots.default?e.$scopedSlots.default(t)||[]:e.$slots.default||[]}function Ot(e,t){return!(e._ignoreImmediate||!e.immediate)||!(P(e.value,t)||!e.normalizedEvents.length)||!!e._needsValidation||!e.initialized&&void 0===t}function Ct(e){return Ce(Ce({},e.flags),{errors:e.errors,classes:e.classes,failedRules:e.failedRules,reset:function(){return e.reset()},validate:function(){for(var t=[],r=0;r0)){var l=ze().useConstraintAttrs?wt(e):{};ut(t._resolvedRules,l)||(t._needsValidation=!0),kt(e)&&(t.fieldName=(null===(s=null===(i=e.data)||void 0===i?void 0:i.attrs)||void 0===s?void 0:s.name)||(null===(u=null===(o=e.data)||void 0===o?void 0:o.attrs)||void 0===u?void 0:u.id)),t._resolvedRules=l,zt(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=dt(e);this.value=t,this.flags.changed=!ut(this.initialValue,t)},reset:function(){var e=this;this.errors=[],this.initialValue=this.value;var t=N();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;t0&&this.syncValue(e[0]),[2,Et(this)]}))}))},validateSilent:function(){return Ze(this,void 0,void 0,(function(){var e,t;return Pe(this,(function(r){switch(r.label){case 0:return this.setFlags({pending:!0}),e=Ce(Ce({},this._resolvedRules),this.normalizedRules),Object.defineProperty(e,"_$$isNormalized",{value:!0,writable:!1,enumerable:!1,configurable:!1}),[4,Qe(this.value,e,Ce(Ce({name:this.name||this.fieldName},qt(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,a=e.regenerateMap;this.errors=t,this._regenerateMap=a,this.failedRules=Ce({},r||{}),this.setFlags({valid:!t.length,passed:!t.length,invalid:!!t.length,failed:!!t.length,validated:!0,changed:!ut(this.value,this.initialValue)})},registerField:function(){Dt(this)},checkComputesRequiredState:function(){var e=Ce(Ce({},this._resolvedRules),this.normalizedRules);return Object.keys(e).some(Me.isRequireRule)}}});function jt(e,t){for(var r={},a=Object.keys(t),n=a.length,i=function(n){var i=a[n],s=e&&e[i]||i,o=t[i];return O(o)?"continue":"valid"!==i&&"invalid"!==i||t.validated?void("string"==typeof s?r[s]=o:Array.isArray(s)&&s.forEach((function(e){r[e]=o}))):"continue"},s=0;s{"use strict";r.d(t,{Z:()=>n});const a={name:"AppInputText",props:["description","isLast","title","error"]};const n=(0,r(1900).Z)(a,(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},1655:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i});var a=r(9101);const n={name:"FormLabel",props:["icon"],components:{TrendingUpIcon:a.Zab,WifiIcon:a.kVp,ListIcon:a.DE2,MailIcon:a.bV6,InfoIcon:a.szr,DatabaseIcon:a.VHe,UsersIcon:a.oyc,CreditCardIcon:a.ciH,DollarSignIcon:a.bkH,SmartphoneIcon:a.BEV,HardDriveIcon:a.zvn,BarChartIcon:a.eJP,SettingsIcon:a.ewm,FileTextIcon:a.zPP,ShieldIcon:a.b7C,FrownIcon:a.eFi,Edit2Icon:a.me4,BellIcon:a.Dkj,KeyIcon:a._m8}};const i=(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:()=>i});var a=r(9101);const n={name:"ImageInput",props:["image","error"],components:{ImageIcon:a.XBm,XIcon:a.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,a=r.substring(r.lastIndexOf(".")+1).toLowerCase();if(["png","jpg","jpeg","svg"].includes(a)){var n=e.target.files[0],i=new FileReader;i.onload=function(){return t.imagePreview=i.result},i.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 i=(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:()=>u});const a={name:"InfoBox",props:["type"]};var n=r(3379),i=r.n(n),s=r(9397),o={insert:"head",singleton:!1};i()(s.Z,o);s.Z.locals;const u=(0,r(1900).Z)(a,(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:()=>d});var a=r(9101),n=r(6486);const i={name:"SelectInput",props:["placeholder","options","isError","default"],components:{Edit2Icon:a.me4,UserIcon:a.tBG,ChevronDownIcon:a.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 s=r(3379),o=r.n(s),u=r(2189),l={insert:"head",singleton:!1};o()(u.Z,l);u.Z.locals;const d=(0,r(1900).Z)(i,(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,a){return r("li",{key:a,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},1472:(e,t,r)=>{"use strict";r.d(t,{Z:()=>u});const a={name:"SetupBox",props:["title","description","theme"]};var n=r(3379),i=r.n(n),s=r(4265),o={insert:"head",singleton:!1};i()(s.Z,o);s.Z.locals;const u=(0,r(1900).Z)(a,(function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"setup-box",class:e.theme},[r("b",{staticClass:"title"},[e._v(e._s(e.title))]),e._v(" "),r("p",{staticClass:"description"},[e._v(e._s(e.description))]),e._v(" "),e._t("default")],2)}),[],!1,null,"7f4fdc54",null).exports},2792:(e,t,r)=>{"use strict";r.d(t,{Z:()=>u});const a={name:"PageTab",props:["isLoading"],components:{Spinner:r(7318).Z}};var n=r(3379),i=r.n(n),s=r(1213),o={insert:"head",singleton:!1};i()(s.Z,o);s.Z.locals;const u=(0,r(1900).Z)(a,(function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"page-tab"},[r("div",{directives:[{name:"show",rawName:"v-show",value:e.isLoading,expression:"isLoading"}],attrs:{id:"loader"}},[r("Spinner")],1),e._v(" "),e._t("default")],2)}),[],!1,null,"6c76a2be",null).exports},5840:(e,t,r)=>{"use strict";r.d(t,{Z:()=>u});const a={name:"PageTabGroup"};var n=r(3379),i=r.n(n),s=r(4619),o={insert:"head",singleton:!1};i()(s.Z,o);s.Z.locals;const u=(0,r(1900).Z)(a,(function(){var e=this,t=e.$createElement;return(e._self._c||t)("div",{staticClass:"page-tab-group"},[e._t("default")],2)}),[],!1,null,"61f8c98e",null).exports},7182:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>S});var a=r(7757),n=r.n(a),i=r(4383),s=r(9495),o=r(5840),u=r(1638),l=r(6784),d=r(1655),c=r(6746),v=r(1472),p=r(2792),f=r(6291),m=r(4479),h=r(826),g=r(9669),b=r.n(g),y=r(629);function _(e,t,r,a,n,i,s){try{var o=e[i](s),u=o.value}catch(e){return void r(e)}o.done?t(u):Promise.resolve(u).then(a,n)}function x(e){return function(){var t=this,r=arguments;return new Promise((function(a,n){var i=e.apply(t,r);function s(e){_(i,a,n,s,o,"next",e)}function o(e){_(i,a,n,s,o,"throw",e)}s(void 0)}))}}function k(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function $(e){for(var t=1;t{"use strict";a.d(t,{Z:()=>n});var r=a(3645),i=a.n(r)()((function(e){return e[1]}));i.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 n=i},2189:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});var r=a(3645),i=a.n(r)()((function(e){return e[1]}));i.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 n=i},4265:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});var r=a(3645),i=a.n(r)()((function(e){return e[1]}));i.push([e.id,".setup-box[data-v-7f4fdc54]{border-radius:8px;margin-bottom:30px;padding:20px}.setup-box .title[data-v-7f4fdc54]{display:block;font-size:1.3125em;font-weight:700;margin-bottom:5px}.setup-box .description[data-v-7f4fdc54]{font-size:.9375em;line-height:1.5;margin-bottom:20px}.setup-box.base[data-v-7f4fdc54],.setup-box.danger[data-v-7f4fdc54]{background:#f4f5f6}.setup-box.danger .title[data-v-7f4fdc54]{color:#fd397a}.setup-box[data-v-7f4fdc54] .input-area,.setup-box[data-v-7f4fdc54] input .input-area,.setup-box[data-v-7f4fdc54] input[type=number],.setup-box[data-v-7f4fdc54] input[type=text]{background:#fff}.setup-box[data-v-7f4fdc54] .form{margin-top:20px}.setup-box[data-v-7f4fdc54] .form.block-form{max-width:450px}.setup-box[data-v-7f4fdc54] .form.block-form .single-line-form{display:flex}.setup-box[data-v-7f4fdc54] .form.block-form .single-line-form .submit-button{margin-left:20px}@media only screen and (max-width:960px){.setup-box[data-v-7f4fdc54] .form.block-form{max-width:100%}.setup-box[data-v-7f4fdc54] .form input{min-width:auto}}@media only screen and (max-width:690px){.setup-box[data-v-7f4fdc54]{padding:15px}.setup-box .title[data-v-7f4fdc54]{font-size:1.0625em;margin-bottom:10px}.setup-box .description[data-v-7f4fdc54]{font-size:.875em}.setup-box[data-v-7f4fdc54] .form.block-form .single-line-form{display:block}.setup-box[data-v-7f4fdc54] .form.block-form .single-line-form .submit-button{margin-left:0;margin-top:10px}}.dark .setup-box.base[data-v-7f4fdc54],.dark .setup-box.danger[data-v-7f4fdc54]{background:#1e2024}.dark .setup-box[data-v-7f4fdc54] .input-area,.dark .setup-box[data-v-7f4fdc54] input .input-area,.dark .setup-box[data-v-7f4fdc54] input[type=number],.dark .setup-box[data-v-7f4fdc54] input[type=text]{background:#151515}",""]);const n=i},7395:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});var r=a(3645),i=a.n(r)()((function(e){return e[1]}));i.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 n=i},1213:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});var r=a(3645),i=a.n(r)()((function(e){return e[1]}));i.push([e.id,"",""]);const n=i},4619:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});var r=a(3645),i=a.n(r)()((function(e){return e[1]}));i.push([e.id,".page-tab-group[data-v-61f8c98e]{margin-bottom:65px}",""]);const n=i},4172:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});var r=a(3645),i=a.n(r)()((function(e){return e[1]}));i.push([e.id,".form.inline-form[data-v-6ce1d012]{display:flex;justify-content:center;margin:0 auto;position:relative}.form.inline-form .input-wrapper[data-v-6ce1d012]{position:relative}.form.inline-form .input-wrapper .error-message[data-v-6ce1d012]{bottom:-25px;left:0;position:absolute}.form.block-form .switch-wrapper[data-v-6ce1d012]{border-bottom:1px solid #f4f5f6;margin-bottom:13px;padding-bottom:13px}.form.block-form .switch-wrapper[data-v-6ce1d012]:last-child{border-bottom:none;margin-bottom:0;padding-bottom:0}.form.block-form .wrapper-inline[data-v-6ce1d012]{display:flex;margin:0 -15px}.form.block-form .wrapper-inline .block-wrapper[data-v-6ce1d012]{padding:0 15px;width:100%}.form.block-form .block-wrapper[data-v-6ce1d012]{margin-bottom:32px}.form.block-form .block-wrapper label[data-v-6ce1d012]{color:rgba(27,37,57,.8);display:block;font-size:.875em;font-weight:700;margin-bottom:7px;text-align:left}.form.block-form .block-wrapper[data-v-6ce1d012]:last-child{margin-bottom:0}.form.block-form .button[data-v-6ce1d012]{margin-top:50px}.form .inline-wrapper[data-v-6ce1d012]{align-items:center;display:flex;justify-content:space-between}.form .inline-wrapper .switch-label .input-help[data-v-6ce1d012]{padding-top:0}.form .inline-wrapper .switch-label .input-label[data-v-6ce1d012]{color:#1b2539;font-size:1em;font-weight:700;margin-bottom:5px}.input-help[data-v-6ce1d012]{color:rgba(27,37,57,.7);display:block;font-size:.75em;line-height:1.35;padding-top:10px}.single-line-form[data-v-6ce1d012]{display:flex}.single-line-form .submit-button[data-v-6ce1d012]{margin-left:20px}.error-message[data-v-6ce1d012]{color:#fd397a;display:block;font-size:.875em;padding-top:5px;text-align:left}textarea[data-v-6ce1d012]{width:100%}input[type=email].is-error[data-v-6ce1d012],input[type=number].is-error[data-v-6ce1d012],input[type=password].is-error[data-v-6ce1d012],input[type=text].is-error[data-v-6ce1d012],textarea.is-error[data-v-6ce1d012]{border-color:#fd397a}input[type=email][data-v-6ce1d012]::-moz-placeholder,input[type=number][data-v-6ce1d012]::-moz-placeholder,input[type=password][data-v-6ce1d012]::-moz-placeholder,input[type=text][data-v-6ce1d012]::-moz-placeholder,textarea[data-v-6ce1d012]::-moz-placeholder{color:rgba(27,37,57,.5);font-size:.9375em}input[type=email][data-v-6ce1d012]:-ms-input-placeholder,input[type=number][data-v-6ce1d012]:-ms-input-placeholder,input[type=password][data-v-6ce1d012]:-ms-input-placeholder,input[type=text][data-v-6ce1d012]:-ms-input-placeholder,textarea[data-v-6ce1d012]:-ms-input-placeholder{color:rgba(27,37,57,.5);font-size:.9375em}input[type=email][data-v-6ce1d012]::placeholder,input[type=number][data-v-6ce1d012]::placeholder,input[type=password][data-v-6ce1d012]::placeholder,input[type=text][data-v-6ce1d012]::placeholder,textarea[data-v-6ce1d012]::placeholder{color:rgba(27,37,57,.5);font-size:.9375em}input[type=email][disabled][data-v-6ce1d012],input[type=number][disabled][data-v-6ce1d012],input[type=password][disabled][data-v-6ce1d012],input[type=text][disabled][data-v-6ce1d012],textarea[disabled][data-v-6ce1d012]{-webkit-text-fill-color:rgba(27,37,57,.8);color:rgba(27,37,57,.8);cursor:not-allowed;opacity:1}input[type=color][data-v-6ce1d012]{background:none;border:none;height:40px;min-width:auto!important;outline:none;width:38px!important}.additional-link[data-v-6ce1d012]{display:block;font-size:1em;margin-top:50px}.additional-link a[data-v-6ce1d012],.additional-link b[data-v-6ce1d012]{cursor:pointer}.additional-link a[data-v-6ce1d012]:hover,.additional-link b[data-v-6ce1d012]:hover{text-decoration:underline}@media only screen and (max-width:1024px){.form[data-v-6ce1d012]{max-width:100%}}@media only screen and (max-width:960px){.form .button[data-v-6ce1d012]{margin-left:0;margin-right:0;margin-top:20px;width:100%}.form input[data-v-6ce1d012],.form textarea[data-v-6ce1d012]{min-width:100%;width:100%}.form.block-form .block-wrapper[data-v-6ce1d012]{display:block}.form.block-form .block-wrapper label[data-v-6ce1d012]{display:block;font-size:.875em;margin-bottom:7px;padding-right:0;padding-top:0;text-align:left!important;width:100%}.form.block-form .button[data-v-6ce1d012]{margin-left:0;margin-right:0;margin-top:25px}.form.inline-form[data-v-6ce1d012]{display:block}.form.inline-form .input-wrapper .error-message[data-v-6ce1d012]{bottom:0;position:relative}.form .button[data-v-6ce1d012]{padding:14px 32px}.single-line-form[data-v-6ce1d012]{display:block}.single-line-form .submit-button[data-v-6ce1d012]{margin-left:0;margin-top:20px;width:100%}input[type=email][data-v-6ce1d012],input[type=number][data-v-6ce1d012],input[type=password][data-v-6ce1d012],input[type=text][data-v-6ce1d012],textarea[data-v-6ce1d012]{padding:14px 20px}}@media only screen and (max-width:690px){.form.block-form .wrapper-inline[data-v-6ce1d012]{display:block}}.dark .form .input-help[data-v-6ce1d012]{color:#7d858c}.dark .form.block-form .block-wrapper label[data-v-6ce1d012]{color:#bec6cf}.dark .form.block-form .switch-wrapper[data-v-6ce1d012]{border-color:hsla(0,0%,100%,.02)}.dark .form .inline-wrapper .switch-label .input-label[data-v-6ce1d012]{color:#bec6cf}.dark input[type=email][data-v-6ce1d012],.dark input[type=number][data-v-6ce1d012],.dark input[type=password][data-v-6ce1d012],.dark input[type=text][data-v-6ce1d012],.dark textarea[data-v-6ce1d012]{background:#1e2024;border-color:#1e2024;color:#bec6cf}.dark input[type=email][data-v-6ce1d012]::-moz-placeholder,.dark input[type=number][data-v-6ce1d012]::-moz-placeholder,.dark input[type=password][data-v-6ce1d012]::-moz-placeholder,.dark input[type=text][data-v-6ce1d012]::-moz-placeholder,.dark textarea[data-v-6ce1d012]::-moz-placeholder{color:#7d858c}.dark input[type=email][data-v-6ce1d012]:-ms-input-placeholder,.dark input[type=number][data-v-6ce1d012]:-ms-input-placeholder,.dark input[type=password][data-v-6ce1d012]:-ms-input-placeholder,.dark input[type=text][data-v-6ce1d012]:-ms-input-placeholder,.dark textarea[data-v-6ce1d012]:-ms-input-placeholder{color:#7d858c}.dark input[type=email][data-v-6ce1d012]::placeholder,.dark input[type=number][data-v-6ce1d012]::placeholder,.dark input[type=password][data-v-6ce1d012]::placeholder,.dark input[type=text][data-v-6ce1d012]::placeholder,.dark textarea[data-v-6ce1d012]::placeholder{color:#7d858c}.dark input[type=email][disabled][data-v-6ce1d012],.dark input[type=number][disabled][data-v-6ce1d012],.dark input[type=password][disabled][data-v-6ce1d012],.dark input[type=text][disabled][data-v-6ce1d012],.dark textarea[disabled][data-v-6ce1d012]{-webkit-text-fill-color:hsla(208,6%,52%,.8);color:hsla(208,6%,52%,.8)}.dark .popup-wrapper input[type=email][data-v-6ce1d012],.dark .popup-wrapper input[type=number][data-v-6ce1d012],.dark .popup-wrapper input[type=password][data-v-6ce1d012],.dark .popup-wrapper input[type=text][data-v-6ce1d012],.dark .popup-wrapper textarea[data-v-6ce1d012]{background:#25272c}.block-form[data-v-6ce1d012]{max-width:100%}.page-image[data-v-6ce1d012]{border:1px solid #ececec;border-radius:8px;display:block;margin:0 auto;width:100%}",""]);const n=i},4479:(e,t,a)=>{"use strict";a.d(t,{C1:()=>n});function r(e){return null==e}function i(e){return Array.isArray(e)&&0===e.length}var n={validate:function(e,t){var a=(void 0===t?{allowFalse:!0}:t).allowFalse,n={valid:!1,required:!0};return r(e)||i(e)?n:!1!==e||a?(n.valid=!!String(e).trim().length,n):n},params:[{name:"allowFalse",default:!0}],computesRequired:!0}},9495:function(e,t,a){!function(e,t){"use strict";function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var r=a(t),i={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"}},n={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},s={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},o={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},d=function(e,t){var a=(void 0===t?{}:t).locale,r=void 0===a?"":a;return Array.isArray(e)?e.every((function(e){return d(e,{locale:r})})):r?(n[r]||n.en).test(e):Object.keys(n).some((function(t){return n[t].test(e)}))},u={validate:d,params:[{name:"locale"}]},c=function(e,t){var a=(void 0===t?{}:t).locale,r=void 0===a?"":a;return Array.isArray(e)?e.every((function(e){return c(e,{locale:r})})):r?(l[r]||l.en).test(e):Object.keys(l).some((function(t){return l[t].test(e)}))},p={validate:c,params:[{name:"locale"}]},v=function(e,t){var a=(void 0===t?{}:t).locale,r=void 0===a?"":a;return Array.isArray(e)?e.every((function(e){return v(e,{locale:r})})):r?(o[r]||o.en).test(e):Object.keys(o).some((function(t){return o[t].test(e)}))},f={validate:v,params:[{name:"locale"}]},m=function(e,t){var a=(void 0===t?{}:t).locale,r=void 0===a?"":a;return Array.isArray(e)?e.every((function(e){return m(e,{locale:r})})):r?(s[r]||s.en).test(e):Object.keys(s).some((function(t){return s[t].test(e)}))},h={validate:m,params:[{name:"locale"}]},_=function(e,t){var a=void 0===t?{}:t,r=a.min,i=a.max;return Array.isArray(e)?e.every((function(e){return!!_(e,{min:r,max:i})})):Number(r)<=e&&Number(i)>=e},g={validate:_,params:[{name:"min"},{name:"max"}]},b={validate:function(e,t){var a=t.target;return String(e)===String(a)},params:[{name:"target",isTarget:!0}]},x=function(e,t){var a=t.length;if(Array.isArray(e))return e.every((function(e){return x(e,{length:a})}));var r=String(e);return/^[0-9]*$/.test(r)&&r.length===a},y={validate:x,params:[{name:"length",cast:function(e){return Number(e)}}]},w=function(e,t,a){var r=window.URL||window.webkitURL;return new Promise((function(i){var n=new Image;n.onerror=function(){return i(!1)},n.onload=function(){return i(n.width===t&&n.height===a)},n.src=r.createObjectURL(e)}))},k=function(e,t){var a=t.width,r=t.height,i=[];e=Array.isArray(e)?e:[e];for(var n=0;n()\[\]\\.,;:\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 a&&!Array.isArray(e)&&(e=String(e).split(",").map((function(e){return e.trim()}))),Array.isArray(e)?e.every((function(e){return r.test(String(e))})):r.test(String(e))},params:[{name:"multiple",default:!1}]};function C(e){return e!=e}function Z(e){return null==e}function O(e){return Array.isArray(e)&&0===e.length}var S=function(e){return null!==e&&e&&"object"==typeof e&&!Array.isArray(e)};function z(e,t){return!(!C(e)||!C(t))||e===t}function F(e){return""!==e&&!Z(e)}function T(e){return"function"==typeof e}function j(e){return T(e)&&!!e.__locatorRef}function E(e,t){var a=Array.isArray(e)?e:P(e);if(T(a.findIndex))return a.findIndex(t);for(var r=0;r=0:Array.isArray(e)?e.every((function(e){return ie(e,{length:a})})):String(e).length<=a},ne={validate:ie,params:[{name:"length",cast:function(e){return Number(e)}}]},se=function(e,t){var a=t.max;return!Z(e)&&""!==e&&(Array.isArray(e)?e.length>0&&e.every((function(e){return se(e,{max:a})})):Number(e)<=a)},oe={validate:se,params:[{name:"max",cast:function(e){return Number(e)}}]},le=function(e,t){var a=new RegExp(t.join("|").replace("*",".+")+"$","i");return Array.isArray(e)?e.every((function(e){return a.test(e.type)})):a.test(e.type)},de={validate:le},ue=function(e,t){var a=t.length;return!Z(e)&&(Array.isArray(e)?e.every((function(e){return ue(e,{length:a})})):String(e).length>=a)},ce={validate:ue,params:[{name:"length",cast:function(e){return Number(e)}}]},pe=function(e,t){var a=t.min;return!Z(e)&&""!==e&&(Array.isArray(e)?e.length>0&&e.every((function(e){return pe(e,{min:a})})):Number(e)>=a)},ve={validate:pe,params:[{name:"min",cast:function(e){return Number(e)}}]},fe=/^[٠١٢٣٤٥٦٧٨٩]+$/,me=/^[0-9]+$/,he={validate:function(e){var t=function(e){var t=String(e);return me.test(t)||fe.test(t)};return Array.isArray(e)?e.every(t):t(e)}},_e=function(e,t){var a=t.regex;return Array.isArray(e)?e.every((function(e){return _e(e,{regex:a})})):a.test(String(e))},ge={validate:_e,params:[{name:"regex",cast:function(e){return"string"==typeof e?new RegExp(e):e}}]},be={validate:function(e,t){var a=(void 0===t?{allowFalse:!0}:t).allowFalse,r={valid:!1,required:!0};return Z(e)||O(e)?r:!1!==e||a?(r.valid=!!String(e).trim().length,r):r},params:[{name:"allowFalse",default:!0}],computesRequired:!0},xe=function(e){return O(e)||R([!1,null,void 0],e)||!String(e).trim().length},ye=function(e,t){var a,r=t.target,i=t.values;return i&&i.length?(Array.isArray(i)||"string"!=typeof i||(i=[i]),a=i.some((function(e){return e==String(r).trim()}))):a=!xe(r),a?{valid:!xe(e),required:a}:{valid:!0,required:a}},we={validate:ye,params:[{name:"target",isTarget:!0},{name:"values"}],computesRequired:!0},ke=function(e,t){var a=t.size;if(isNaN(a))return!1;var r=1024*a;if(!Array.isArray(e))return e.size<=r;for(var i=0;ir)return!1;return!0},$e={validate:ke,params:[{name:"size",cast:function(e){return Number(e)}}]},Ae=function(e,t){var a=t||{},r=a.decimals,i=void 0===r?0:r,n=a.separator,s=new RegExp("^-?\\d+"+("comma"===(void 0===n?"dot":n)?",?":"\\.?")+(0===i?"\\d*":"(\\d{"+i+"})?")+"$");return Array.isArray(e)?e.every((function(e){return s.test(String(e))})):s.test(String(e))},Ce={validate:Ae,params:[{name:"decimals",default:0},{name:"separator",default:"dot"}]},Ze=Object.freeze({__proto__:null,alpha_dash:p,alpha_num:f,alpha_spaces:h,alpha:u,between:g,confirmed:b,digits:y,dimensions:$,email:A,ext:X,image:J,oneOf:U,integer:Q,length:re,is_not:te,is:ee,max:ne,max_value:oe,mimes:de,min:ce,min_value:ve,excluded:G,numeric:he,regex:ge,required:be,required_if:we,size:$e,double:Ce}),Oe=function(){return Oe=Object.assign||function(e){for(var t,a=1,r=arguments.length;a0&&i[i.length-1])||6!==n[0]&&2!==n[0])){s=0;continue}if(3===n[0]&&(!i||n[1]>i[0]&&n[1]=0&&Le.getRuleDefinition("max")&&(r.max=a.maxlength),a.minlength>=0&&Le.getRuleDefinition("min")&&(r.min=a.minlength),"number"===a.type&&(F(a.min)&&Le.getRuleDefinition("min_value")&&(r.min_value=Number(a.min)),F(a.max)&&Le.getRuleDefinition("max_value")&&(r.max_value=Number(a.max))),r):r}function At(e){var t,a=["input","select","textarea"],r=null===(t=e.data)||void 0===t?void 0:t.attrs;if(!R(a,e.tag)||!r)return{};var i={};return"required"in r&&!1!==r.required&&Le.getRuleDefinition("required")&&(i.required="checkbox"!==r.type||[!0]),ct(e)?Ge(Oe(Oe({},i),$t(e))):Ge(i)}function Ct(e,t){return e.$scopedSlots.default?e.$scopedSlots.default(t)||[]:e.$slots.default||[]}function Zt(e,t){return!(e._ignoreImmediate||!e.immediate)||!(z(e.value,t)||!e.normalizedEvents.length)||!!e._needsValidation||!e.initialized&&void 0===t}function Ot(e){return Oe(Oe({},e.flags),{errors:e.errors,classes:e.classes,failedRules:e.failedRules,reset:function(){return e.reset()},validate:function(){for(var t=[],a=0;a0)){var d=je().useConstraintAttrs?At(e):{};lt(t._resolvedRules,d)||(t._needsValidation=!0),wt(e)&&(t.fieldName=(null===(s=null===(n=e.data)||void 0===n?void 0:n.attrs)||void 0===s?void 0:s.name)||(null===(l=null===(o=e.data)||void 0===o?void 0:o.attrs)||void 0===l?void 0:l.id)),t._resolvedRules=d,jt(t,e)}}))}return this.slim&&a.length<=1?a[0]:e(this.tag,a)},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(a){t.flags[a]=e[a]}))},syncValue:function(e){var t=ut(e);this.value=t,this.flags.changed=!lt(this.initialValue,t)},reset:function(){var e=this;this.errors=[],this.initialValue=this.value;var t=N();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;t0&&this.syncValue(e[0]),[2,Ft(this)]}))}))},validateSilent:function(){return Se(this,void 0,void 0,(function(){var e,t;return ze(this,(function(a){switch(a.label){case 0:return this.setFlags({pending:!0}),e=Oe(Oe({},this._resolvedRules),this.normalizedRules),Object.defineProperty(e,"_$$isNormalized",{value:!0,writable:!1,enumerable:!1,configurable:!1}),[4,Qe(this.value,e,Oe(Oe({name:this.name||this.fieldName},qt(this)),{bails:this.bails,skipIfEmpty:this.skipIfEmpty,isInitial:!this.initialized,customMessages:this.customMessages}))];case 1:return t=a.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,a=e.failedRules,r=e.regenerateMap;this.errors=t,this._regenerateMap=r,this.failedRules=Oe({},a||{}),this.setFlags({valid:!t.length,passed:!t.length,invalid:!!t.length,failed:!!t.length,validated:!0,changed:!lt(this.value,this.initialValue)})},registerField:function(){Vt(this)},checkComputesRequiredState:function(){var e=Oe(Oe({},this._resolvedRules),this.normalizedRules);return Object.keys(e).some(Le.isRequireRule)}}});function Pt(e,t){for(var a={},r=Object.keys(t),i=r.length,n=function(i){var n=r[i],s=e&&e[n]||n,o=t[n];return Z(o)?"continue":"valid"!==n&&"invalid"!==n||t.validated?void("string"==typeof s?a[s]=o:Array.isArray(s)&&s.forEach((function(e){a[e]=o}))):"continue"},s=0;s{"use strict";a.d(t,{Z:()=>i});const r={name:"AppInputSwitch",props:["description","isLast","title","error"]};const i=(0,a(1900).Z)(r,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"flex w-full items-center justify-between space-x-2 sm:space-x-8",class:{"mb-6 sm:mb-7":!e.isLast}},[a("div",{staticClass:"leading-5"},[a("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?a("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?a("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(" "),a("div",[e._t("default")],2)])}),[],!1,null,null,null).exports},4383:(e,t,a)=>{"use strict";a.d(t,{Z:()=>i});const r={name:"AppInputText",props:["description","isLast","title","error"]};const i=(0,a(1900).Z)(r,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{class:{"mb-6 sm:mb-7":!e.isLast}},[e.title?a("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?a("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?a("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},5996:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});var r=a(9101);const i={name:"FormLabel",props:["icon"],components:{WifiIcon:r.kVp,ListIcon:r.DE2,MailIcon:r.bV6,InfoIcon:r.szr,DatabaseIcon:r.VHe,UsersIcon:r.oyc,CreditCardIcon:r.ciH,DollarSignIcon:r.bkH,SmartphoneIcon:r.BEV,HardDriveIcon:r.zvn,BarChartIcon:r.eJP,SettingsIcon:r.ewm,FileTextIcon:r.zPP,ShieldIcon:r.b7C,FrownIcon:r.eFi,Edit2Icon:r.me4,BellIcon:r.Dkj,KeyIcon:r._m8}};const n=(0,a(1900).Z)(i,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"mb-8 flex items-center"},[e.icon?e._e():a("edit-2-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}),e._v(" "),"frown"===e.icon?a("frown-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"list"===e.icon?a("list-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"info"===e.icon?a("info-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"database"===e.icon?a("database-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"file-text"===e.icon?a("file-text-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"dollar"===e.icon?a("dollar-sign-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"credit-card"===e.icon?a("credit-card-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"bar-chart"===e.icon?a("bar-chart-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"settings"===e.icon?a("settings-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"hard-drive"===e.icon?a("hard-drive-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"mail"===e.icon?a("mail-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"smartphone"===e.icon?a("smartphone-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"shield"===e.icon?a("shield-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"bell"===e.icon?a("bell-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"key"===e.icon?a("key-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"users"===e.icon?a("users-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"wifi"===e.icon?a("wifi-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),a("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,a)=>{"use strict";a.d(t,{Z:()=>n});var r=a(9101);const i={name:"ImageInput",props:["image","error"],components:{ImageIcon:r.XBm,XIcon:r.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,a=e.target.files[0].name,r=a.substring(a.lastIndexOf(".")+1).toLowerCase();if(["png","jpg","jpeg","svg"].includes(r)){var i=e.target.files[0],n=new FileReader;n.onload=function(){return t.imagePreview=n.result},n.readAsDataURL(i),this.$emit("input",e.target.files[0])}else alert(this.$t("wrong_image_error"))}},created:function(){this.image&&(this.imagePreview=this.image)}};const n=(0,a(1900).Z)(i,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("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?a("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}},[a("x-icon",{staticClass:"vue-feather dark:text-gray-500",attrs:{size:"14"}})],1):e._e(),e._v(" "),a("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?a("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():a("div",{staticClass:"text-center"},[a("image-icon",{staticClass:"vue-feather text-theme mb-4 inline-block",attrs:{size:"34"}}),e._v(" "),a("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(" "),a("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,a)=>{"use strict";a.d(t,{Z:()=>l});const r={name:"InfoBox",props:["type"]};var i=a(3379),n=a.n(i),s=a(9397),o={insert:"head",singleton:!1};n()(s.Z,o);s.Z.locals;const l=(0,a(1900).Z)(r,(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,a)=>{"use strict";a.d(t,{Z:()=>u});var r=a(9101),i=a(6486);const n={name:"SelectInput",props:["placeholder","options","isError","default"],components:{Edit2Icon:r.me4,UserIcon:r.tBG,ChevronDownIcon:r.v4q},watch:{query:(0,i.debounce)((function(e){this.searchedResults=(0,i.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 s=a(3379),o=a.n(s),l=a(2189),d={insert:"head",singleton:!1};o()(l.Z,d);l.Z.locals;const u=(0,a(1900).Z)(n,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"select"},[a("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?a("div",{staticClass:"selected flex w-full items-center"},[e.selected.icon?a("div",{staticClass:"option-icon"},["user"===e.selected.icon?a("user-icon",{staticClass:"vue-feather text-theme",attrs:{size:"14"}}):e._e(),e._v(" "),"user-edit"===e.selected.icon?a("edit2-icon",{staticClass:"vue-feather text-theme",attrs:{size:"14"}}):e._e()],1):e._e(),e._v(" "),a("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():a("div",{staticClass:"not-selected"},[a("span",{staticClass:"option-value placehoder"},[e._v(e._s(e.placeholder))])]),e._v(" "),a("chevron-down-icon",{staticClass:"chevron",attrs:{size:"19"}})],1),e._v(" "),a("transition",{attrs:{name:"slide-in"}},[e.isOpen?a("div",{staticClass:"input-options rounded-lg"},[e.options.length>5?a("div",{staticClass:"select-search"},[a("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(" "),a("ul",{staticClass:"option-list"},e._l(e.optionList,(function(t,r){return a("li",{key:r,staticClass:"option-item",on:{click:function(a){return e.selectOption(t)}}},[t.icon?a("div",{staticClass:"option-icon"},["user"===t.icon?a("user-icon",{attrs:{size:"14"}}):e._e(),e._v(" "),"user-edit"===t.icon?a("edit2-icon",{attrs:{size:"14"}}):e._e()],1):e._e(),e._v(" "),a("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},1472:(e,t,a)=>{"use strict";a.d(t,{Z:()=>l});const r={name:"SetupBox",props:["title","description","theme"]};var i=a(3379),n=a.n(i),s=a(4265),o={insert:"head",singleton:!1};n()(s.Z,o);s.Z.locals;const l=(0,a(1900).Z)(r,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"setup-box",class:e.theme},[a("b",{staticClass:"title"},[e._v(e._s(e.title))]),e._v(" "),a("p",{staticClass:"description"},[e._v(e._s(e.description))]),e._v(" "),e._t("default")],2)}),[],!1,null,"7f4fdc54",null).exports},667:(e,t,a)=>{"use strict";a.d(t,{Z:()=>l});const r={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 i=a(3379),n=a.n(i),s=a(7395),o={insert:"head",singleton:!1};n()(s.Z,o);s.Z.locals;const l=(0,a(1900).Z)(r,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("div",{staticClass:"switch-content"},[e.label?a("label",{staticClass:"input-label"},[e._v(" "+e._s(e.label)+": ")]):e._e(),e._v(" "),e.info?a("small",{staticClass:"input-info"},[e._v("\n "+e._s(e.info)+"\n ")]):e._e()]),e._v(" "),a("div",{staticClass:"switch-content text-right"},[a("div",{staticClass:"switch",class:{active:e.state},on:{click:e.changeState}},[a("div",{staticClass:"switch-button"})])])])}),[],!1,null,"615ed0c1",null).exports},2792:(e,t,a)=>{"use strict";a.d(t,{Z:()=>l});const r={name:"PageTab",props:["isLoading"],components:{Spinner:a(7318).Z}};var i=a(3379),n=a.n(i),s=a(1213),o={insert:"head",singleton:!1};n()(s.Z,o);s.Z.locals;const l=(0,a(1900).Z)(r,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"page-tab"},[a("div",{directives:[{name:"show",rawName:"v-show",value:e.isLoading,expression:"isLoading"}],attrs:{id:"loader"}},[a("Spinner")],1),e._v(" "),e._t("default")],2)}),[],!1,null,"6c76a2be",null).exports},5840:(e,t,a)=>{"use strict";a.d(t,{Z:()=>l});const r={name:"PageTabGroup"};var i=a(3379),n=a.n(i),s=a(4619),o={insert:"head",singleton:!1};n()(s.Z,o);s.Z.locals;const l=(0,a(1900).Z)(r,(function(){var e=this,t=e.$createElement;return(e._self._c||t)("div",{staticClass:"page-tab-group"},[e._t("default")],2)}),[],!1,null,"61f8c98e",null).exports},7287:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>C});var r=a(9194),i=a(4383),n=a(9495),s=a(5840),o=a(1638),l=a(667),d=a(6784),u=a(5996),c=a(6746),p=a(1472),v=a(2792),f=a(6291),m=a(4479),h=a(9669),_=a.n(h),g=a(629);function b(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function x(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}const y={name:"AppIndex",components:{AppInputSwitch:r.Z,AppInputText:i.Z,ValidationObserver:n.ValidationObserver,ValidationProvider:n.ValidationProvider,PageTabGroup:s.Z,SwitchInput:l.Z,SelectInput:o.Z,ImageInput:d.Z,ButtonBase:c.Z,FormLabel:u.Z,SetupBox:p.Z,required:m.C1,PageTab:v.Z,InfoBox:f.Z},computed:function(e){for(var t=1;t{"use strict";a.d(t,{Z:()=>n});var r=a(3645),i=a.n(r)()((function(e){return e[1]}));i.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 n=i},2189:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});var r=a(3645),i=a.n(r)()((function(e){return e[1]}));i.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 n=i},4265:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});var r=a(3645),i=a.n(r)()((function(e){return e[1]}));i.push([e.id,".setup-box[data-v-7f4fdc54]{border-radius:8px;margin-bottom:30px;padding:20px}.setup-box .title[data-v-7f4fdc54]{display:block;font-size:1.3125em;font-weight:700;margin-bottom:5px}.setup-box .description[data-v-7f4fdc54]{font-size:.9375em;line-height:1.5;margin-bottom:20px}.setup-box.base[data-v-7f4fdc54],.setup-box.danger[data-v-7f4fdc54]{background:#f4f5f6}.setup-box.danger .title[data-v-7f4fdc54]{color:#fd397a}.setup-box[data-v-7f4fdc54] .input-area,.setup-box[data-v-7f4fdc54] input .input-area,.setup-box[data-v-7f4fdc54] input[type=number],.setup-box[data-v-7f4fdc54] input[type=text]{background:#fff}.setup-box[data-v-7f4fdc54] .form{margin-top:20px}.setup-box[data-v-7f4fdc54] .form.block-form{max-width:450px}.setup-box[data-v-7f4fdc54] .form.block-form .single-line-form{display:flex}.setup-box[data-v-7f4fdc54] .form.block-form .single-line-form .submit-button{margin-left:20px}@media only screen and (max-width:960px){.setup-box[data-v-7f4fdc54] .form.block-form{max-width:100%}.setup-box[data-v-7f4fdc54] .form input{min-width:auto}}@media only screen and (max-width:690px){.setup-box[data-v-7f4fdc54]{padding:15px}.setup-box .title[data-v-7f4fdc54]{font-size:1.0625em;margin-bottom:10px}.setup-box .description[data-v-7f4fdc54]{font-size:.875em}.setup-box[data-v-7f4fdc54] .form.block-form .single-line-form{display:block}.setup-box[data-v-7f4fdc54] .form.block-form .single-line-form .submit-button{margin-left:0;margin-top:10px}}.dark .setup-box.base[data-v-7f4fdc54],.dark .setup-box.danger[data-v-7f4fdc54]{background:#1e2024}.dark .setup-box[data-v-7f4fdc54] .input-area,.dark .setup-box[data-v-7f4fdc54] input .input-area,.dark .setup-box[data-v-7f4fdc54] input[type=number],.dark .setup-box[data-v-7f4fdc54] input[type=text]{background:#151515}",""]);const n=i},7395:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});var r=a(3645),i=a.n(r)()((function(e){return e[1]}));i.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 n=i},1213:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});var r=a(3645),i=a.n(r)()((function(e){return e[1]}));i.push([e.id,"",""]);const n=i},4619:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});var r=a(3645),i=a.n(r)()((function(e){return e[1]}));i.push([e.id,".page-tab-group[data-v-61f8c98e]{margin-bottom:65px}",""]);const n=i},4172:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});var r=a(3645),i=a.n(r)()((function(e){return e[1]}));i.push([e.id,".form.inline-form[data-v-6ce1d012]{display:flex;justify-content:center;margin:0 auto;position:relative}.form.inline-form .input-wrapper[data-v-6ce1d012]{position:relative}.form.inline-form .input-wrapper .error-message[data-v-6ce1d012]{bottom:-25px;left:0;position:absolute}.form.block-form .switch-wrapper[data-v-6ce1d012]{border-bottom:1px solid #f4f5f6;margin-bottom:13px;padding-bottom:13px}.form.block-form .switch-wrapper[data-v-6ce1d012]:last-child{border-bottom:none;margin-bottom:0;padding-bottom:0}.form.block-form .wrapper-inline[data-v-6ce1d012]{display:flex;margin:0 -15px}.form.block-form .wrapper-inline .block-wrapper[data-v-6ce1d012]{padding:0 15px;width:100%}.form.block-form .block-wrapper[data-v-6ce1d012]{margin-bottom:32px}.form.block-form .block-wrapper label[data-v-6ce1d012]{color:rgba(27,37,57,.8);display:block;font-size:.875em;font-weight:700;margin-bottom:7px;text-align:left}.form.block-form .block-wrapper[data-v-6ce1d012]:last-child{margin-bottom:0}.form.block-form .button[data-v-6ce1d012]{margin-top:50px}.form .inline-wrapper[data-v-6ce1d012]{align-items:center;display:flex;justify-content:space-between}.form .inline-wrapper .switch-label .input-help[data-v-6ce1d012]{padding-top:0}.form .inline-wrapper .switch-label .input-label[data-v-6ce1d012]{color:#1b2539;font-size:1em;font-weight:700;margin-bottom:5px}.input-help[data-v-6ce1d012]{color:rgba(27,37,57,.7);display:block;font-size:.75em;line-height:1.35;padding-top:10px}.single-line-form[data-v-6ce1d012]{display:flex}.single-line-form .submit-button[data-v-6ce1d012]{margin-left:20px}.error-message[data-v-6ce1d012]{color:#fd397a;display:block;font-size:.875em;padding-top:5px;text-align:left}textarea[data-v-6ce1d012]{width:100%}input[type=email].is-error[data-v-6ce1d012],input[type=number].is-error[data-v-6ce1d012],input[type=password].is-error[data-v-6ce1d012],input[type=text].is-error[data-v-6ce1d012],textarea.is-error[data-v-6ce1d012]{border-color:#fd397a}input[type=email][data-v-6ce1d012]::-moz-placeholder,input[type=number][data-v-6ce1d012]::-moz-placeholder,input[type=password][data-v-6ce1d012]::-moz-placeholder,input[type=text][data-v-6ce1d012]::-moz-placeholder,textarea[data-v-6ce1d012]::-moz-placeholder{color:rgba(27,37,57,.5);font-size:.9375em}input[type=email][data-v-6ce1d012]:-ms-input-placeholder,input[type=number][data-v-6ce1d012]:-ms-input-placeholder,input[type=password][data-v-6ce1d012]:-ms-input-placeholder,input[type=text][data-v-6ce1d012]:-ms-input-placeholder,textarea[data-v-6ce1d012]:-ms-input-placeholder{color:rgba(27,37,57,.5);font-size:.9375em}input[type=email][data-v-6ce1d012]::placeholder,input[type=number][data-v-6ce1d012]::placeholder,input[type=password][data-v-6ce1d012]::placeholder,input[type=text][data-v-6ce1d012]::placeholder,textarea[data-v-6ce1d012]::placeholder{color:rgba(27,37,57,.5);font-size:.9375em}input[type=email][disabled][data-v-6ce1d012],input[type=number][disabled][data-v-6ce1d012],input[type=password][disabled][data-v-6ce1d012],input[type=text][disabled][data-v-6ce1d012],textarea[disabled][data-v-6ce1d012]{-webkit-text-fill-color:rgba(27,37,57,.8);color:rgba(27,37,57,.8);cursor:not-allowed;opacity:1}input[type=color][data-v-6ce1d012]{background:none;border:none;height:40px;min-width:auto!important;outline:none;width:38px!important}.additional-link[data-v-6ce1d012]{display:block;font-size:1em;margin-top:50px}.additional-link a[data-v-6ce1d012],.additional-link b[data-v-6ce1d012]{cursor:pointer}.additional-link a[data-v-6ce1d012]:hover,.additional-link b[data-v-6ce1d012]:hover{text-decoration:underline}@media only screen and (max-width:1024px){.form[data-v-6ce1d012]{max-width:100%}}@media only screen and (max-width:960px){.form .button[data-v-6ce1d012]{margin-left:0;margin-right:0;margin-top:20px;width:100%}.form input[data-v-6ce1d012],.form textarea[data-v-6ce1d012]{min-width:100%;width:100%}.form.block-form .block-wrapper[data-v-6ce1d012]{display:block}.form.block-form .block-wrapper label[data-v-6ce1d012]{display:block;font-size:.875em;margin-bottom:7px;padding-right:0;padding-top:0;text-align:left!important;width:100%}.form.block-form .button[data-v-6ce1d012]{margin-left:0;margin-right:0;margin-top:25px}.form.inline-form[data-v-6ce1d012]{display:block}.form.inline-form .input-wrapper .error-message[data-v-6ce1d012]{bottom:0;position:relative}.form .button[data-v-6ce1d012]{padding:14px 32px}.single-line-form[data-v-6ce1d012]{display:block}.single-line-form .submit-button[data-v-6ce1d012]{margin-left:0;margin-top:20px;width:100%}input[type=email][data-v-6ce1d012],input[type=number][data-v-6ce1d012],input[type=password][data-v-6ce1d012],input[type=text][data-v-6ce1d012],textarea[data-v-6ce1d012]{padding:14px 20px}}@media only screen and (max-width:690px){.form.block-form .wrapper-inline[data-v-6ce1d012]{display:block}}.dark .form .input-help[data-v-6ce1d012]{color:#7d858c}.dark .form.block-form .block-wrapper label[data-v-6ce1d012]{color:#bec6cf}.dark .form.block-form .switch-wrapper[data-v-6ce1d012]{border-color:hsla(0,0%,100%,.02)}.dark .form .inline-wrapper .switch-label .input-label[data-v-6ce1d012]{color:#bec6cf}.dark input[type=email][data-v-6ce1d012],.dark input[type=number][data-v-6ce1d012],.dark input[type=password][data-v-6ce1d012],.dark input[type=text][data-v-6ce1d012],.dark textarea[data-v-6ce1d012]{background:#1e2024;border-color:#1e2024;color:#bec6cf}.dark input[type=email][data-v-6ce1d012]::-moz-placeholder,.dark input[type=number][data-v-6ce1d012]::-moz-placeholder,.dark input[type=password][data-v-6ce1d012]::-moz-placeholder,.dark input[type=text][data-v-6ce1d012]::-moz-placeholder,.dark textarea[data-v-6ce1d012]::-moz-placeholder{color:#7d858c}.dark input[type=email][data-v-6ce1d012]:-ms-input-placeholder,.dark input[type=number][data-v-6ce1d012]:-ms-input-placeholder,.dark input[type=password][data-v-6ce1d012]:-ms-input-placeholder,.dark input[type=text][data-v-6ce1d012]:-ms-input-placeholder,.dark textarea[data-v-6ce1d012]:-ms-input-placeholder{color:#7d858c}.dark input[type=email][data-v-6ce1d012]::placeholder,.dark input[type=number][data-v-6ce1d012]::placeholder,.dark input[type=password][data-v-6ce1d012]::placeholder,.dark input[type=text][data-v-6ce1d012]::placeholder,.dark textarea[data-v-6ce1d012]::placeholder{color:#7d858c}.dark input[type=email][disabled][data-v-6ce1d012],.dark input[type=number][disabled][data-v-6ce1d012],.dark input[type=password][disabled][data-v-6ce1d012],.dark input[type=text][disabled][data-v-6ce1d012],.dark textarea[disabled][data-v-6ce1d012]{-webkit-text-fill-color:hsla(208,6%,52%,.8);color:hsla(208,6%,52%,.8)}.dark .popup-wrapper input[type=email][data-v-6ce1d012],.dark .popup-wrapper input[type=number][data-v-6ce1d012],.dark .popup-wrapper input[type=password][data-v-6ce1d012],.dark .popup-wrapper input[type=text][data-v-6ce1d012],.dark .popup-wrapper textarea[data-v-6ce1d012]{background:#25272c}.block-form[data-v-6ce1d012]{max-width:100%}.page-image[data-v-6ce1d012]{border:1px solid #ececec;border-radius:8px;display:block;margin:0 auto;width:100%}",""]);const n=i},4479:(e,t,a)=>{"use strict";a.d(t,{C1:()=>n});function r(e){return null==e}function i(e){return Array.isArray(e)&&0===e.length}var n={validate:function(e,t){var a=(void 0===t?{allowFalse:!0}:t).allowFalse,n={valid:!1,required:!0};return r(e)||i(e)?n:!1!==e||a?(n.valid=!!String(e).trim().length,n):n},params:[{name:"allowFalse",default:!0}],computesRequired:!0}},9495:function(e,t,a){!function(e,t){"use strict";function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var r=a(t),i={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"}},n={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},s={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},o={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},d=function(e,t){var a=(void 0===t?{}:t).locale,r=void 0===a?"":a;return Array.isArray(e)?e.every((function(e){return d(e,{locale:r})})):r?(n[r]||n.en).test(e):Object.keys(n).some((function(t){return n[t].test(e)}))},u={validate:d,params:[{name:"locale"}]},c=function(e,t){var a=(void 0===t?{}:t).locale,r=void 0===a?"":a;return Array.isArray(e)?e.every((function(e){return c(e,{locale:r})})):r?(l[r]||l.en).test(e):Object.keys(l).some((function(t){return l[t].test(e)}))},p={validate:c,params:[{name:"locale"}]},v=function(e,t){var a=(void 0===t?{}:t).locale,r=void 0===a?"":a;return Array.isArray(e)?e.every((function(e){return v(e,{locale:r})})):r?(o[r]||o.en).test(e):Object.keys(o).some((function(t){return o[t].test(e)}))},f={validate:v,params:[{name:"locale"}]},m=function(e,t){var a=(void 0===t?{}:t).locale,r=void 0===a?"":a;return Array.isArray(e)?e.every((function(e){return m(e,{locale:r})})):r?(s[r]||s.en).test(e):Object.keys(s).some((function(t){return s[t].test(e)}))},h={validate:m,params:[{name:"locale"}]},_=function(e,t){var a=void 0===t?{}:t,r=a.min,i=a.max;return Array.isArray(e)?e.every((function(e){return!!_(e,{min:r,max:i})})):Number(r)<=e&&Number(i)>=e},g={validate:_,params:[{name:"min"},{name:"max"}]},b={validate:function(e,t){var a=t.target;return String(e)===String(a)},params:[{name:"target",isTarget:!0}]},x=function(e,t){var a=t.length;if(Array.isArray(e))return e.every((function(e){return x(e,{length:a})}));var r=String(e);return/^[0-9]*$/.test(r)&&r.length===a},y={validate:x,params:[{name:"length",cast:function(e){return Number(e)}}]},w=function(e,t,a){var r=window.URL||window.webkitURL;return new Promise((function(i){var n=new Image;n.onerror=function(){return i(!1)},n.onload=function(){return i(n.width===t&&n.height===a)},n.src=r.createObjectURL(e)}))},k=function(e,t){var a=t.width,r=t.height,i=[];e=Array.isArray(e)?e:[e];for(var n=0;n()\[\]\\.,;:\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 a&&!Array.isArray(e)&&(e=String(e).split(",").map((function(e){return e.trim()}))),Array.isArray(e)?e.every((function(e){return r.test(String(e))})):r.test(String(e))},params:[{name:"multiple",default:!1}]};function C(e){return e!=e}function Z(e){return null==e}function O(e){return Array.isArray(e)&&0===e.length}var S=function(e){return null!==e&&e&&"object"==typeof e&&!Array.isArray(e)};function z(e,t){return!(!C(e)||!C(t))||e===t}function F(e){return""!==e&&!Z(e)}function T(e){return"function"==typeof e}function j(e){return T(e)&&!!e.__locatorRef}function E(e,t){var a=Array.isArray(e)?e:P(e);if(T(a.findIndex))return a.findIndex(t);for(var r=0;r=0:Array.isArray(e)?e.every((function(e){return ie(e,{length:a})})):String(e).length<=a},ne={validate:ie,params:[{name:"length",cast:function(e){return Number(e)}}]},se=function(e,t){var a=t.max;return!Z(e)&&""!==e&&(Array.isArray(e)?e.length>0&&e.every((function(e){return se(e,{max:a})})):Number(e)<=a)},oe={validate:se,params:[{name:"max",cast:function(e){return Number(e)}}]},le=function(e,t){var a=new RegExp(t.join("|").replace("*",".+")+"$","i");return Array.isArray(e)?e.every((function(e){return a.test(e.type)})):a.test(e.type)},de={validate:le},ue=function(e,t){var a=t.length;return!Z(e)&&(Array.isArray(e)?e.every((function(e){return ue(e,{length:a})})):String(e).length>=a)},ce={validate:ue,params:[{name:"length",cast:function(e){return Number(e)}}]},pe=function(e,t){var a=t.min;return!Z(e)&&""!==e&&(Array.isArray(e)?e.length>0&&e.every((function(e){return pe(e,{min:a})})):Number(e)>=a)},ve={validate:pe,params:[{name:"min",cast:function(e){return Number(e)}}]},fe=/^[٠١٢٣٤٥٦٧٨٩]+$/,me=/^[0-9]+$/,he={validate:function(e){var t=function(e){var t=String(e);return me.test(t)||fe.test(t)};return Array.isArray(e)?e.every(t):t(e)}},_e=function(e,t){var a=t.regex;return Array.isArray(e)?e.every((function(e){return _e(e,{regex:a})})):a.test(String(e))},ge={validate:_e,params:[{name:"regex",cast:function(e){return"string"==typeof e?new RegExp(e):e}}]},be={validate:function(e,t){var a=(void 0===t?{allowFalse:!0}:t).allowFalse,r={valid:!1,required:!0};return Z(e)||O(e)?r:!1!==e||a?(r.valid=!!String(e).trim().length,r):r},params:[{name:"allowFalse",default:!0}],computesRequired:!0},xe=function(e){return O(e)||R([!1,null,void 0],e)||!String(e).trim().length},ye=function(e,t){var a,r=t.target,i=t.values;return i&&i.length?(Array.isArray(i)||"string"!=typeof i||(i=[i]),a=i.some((function(e){return e==String(r).trim()}))):a=!xe(r),a?{valid:!xe(e),required:a}:{valid:!0,required:a}},we={validate:ye,params:[{name:"target",isTarget:!0},{name:"values"}],computesRequired:!0},ke=function(e,t){var a=t.size;if(isNaN(a))return!1;var r=1024*a;if(!Array.isArray(e))return e.size<=r;for(var i=0;ir)return!1;return!0},$e={validate:ke,params:[{name:"size",cast:function(e){return Number(e)}}]},Ae=function(e,t){var a=t||{},r=a.decimals,i=void 0===r?0:r,n=a.separator,s=new RegExp("^-?\\d+"+("comma"===(void 0===n?"dot":n)?",?":"\\.?")+(0===i?"\\d*":"(\\d{"+i+"})?")+"$");return Array.isArray(e)?e.every((function(e){return s.test(String(e))})):s.test(String(e))},Ce={validate:Ae,params:[{name:"decimals",default:0},{name:"separator",default:"dot"}]},Ze=Object.freeze({__proto__:null,alpha_dash:p,alpha_num:f,alpha_spaces:h,alpha:u,between:g,confirmed:b,digits:y,dimensions:$,email:A,ext:X,image:J,oneOf:U,integer:Q,length:re,is_not:te,is:ee,max:ne,max_value:oe,mimes:de,min:ce,min_value:ve,excluded:G,numeric:he,regex:ge,required:be,required_if:we,size:$e,double:Ce}),Oe=function(){return Oe=Object.assign||function(e){for(var t,a=1,r=arguments.length;a0&&i[i.length-1])||6!==n[0]&&2!==n[0])){s=0;continue}if(3===n[0]&&(!i||n[1]>i[0]&&n[1]=0&&Le.getRuleDefinition("max")&&(r.max=a.maxlength),a.minlength>=0&&Le.getRuleDefinition("min")&&(r.min=a.minlength),"number"===a.type&&(F(a.min)&&Le.getRuleDefinition("min_value")&&(r.min_value=Number(a.min)),F(a.max)&&Le.getRuleDefinition("max_value")&&(r.max_value=Number(a.max))),r):r}function At(e){var t,a=["input","select","textarea"],r=null===(t=e.data)||void 0===t?void 0:t.attrs;if(!R(a,e.tag)||!r)return{};var i={};return"required"in r&&!1!==r.required&&Le.getRuleDefinition("required")&&(i.required="checkbox"!==r.type||[!0]),ct(e)?Ge(Oe(Oe({},i),$t(e))):Ge(i)}function Ct(e,t){return e.$scopedSlots.default?e.$scopedSlots.default(t)||[]:e.$slots.default||[]}function Zt(e,t){return!(e._ignoreImmediate||!e.immediate)||!(z(e.value,t)||!e.normalizedEvents.length)||!!e._needsValidation||!e.initialized&&void 0===t}function Ot(e){return Oe(Oe({},e.flags),{errors:e.errors,classes:e.classes,failedRules:e.failedRules,reset:function(){return e.reset()},validate:function(){for(var t=[],a=0;a0)){var d=je().useConstraintAttrs?At(e):{};lt(t._resolvedRules,d)||(t._needsValidation=!0),wt(e)&&(t.fieldName=(null===(s=null===(n=e.data)||void 0===n?void 0:n.attrs)||void 0===s?void 0:s.name)||(null===(l=null===(o=e.data)||void 0===o?void 0:o.attrs)||void 0===l?void 0:l.id)),t._resolvedRules=d,jt(t,e)}}))}return this.slim&&a.length<=1?a[0]:e(this.tag,a)},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(a){t.flags[a]=e[a]}))},syncValue:function(e){var t=ut(e);this.value=t,this.flags.changed=!lt(this.initialValue,t)},reset:function(){var e=this;this.errors=[],this.initialValue=this.value;var t=N();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;t0&&this.syncValue(e[0]),[2,Ft(this)]}))}))},validateSilent:function(){return Se(this,void 0,void 0,(function(){var e,t;return ze(this,(function(a){switch(a.label){case 0:return this.setFlags({pending:!0}),e=Oe(Oe({},this._resolvedRules),this.normalizedRules),Object.defineProperty(e,"_$$isNormalized",{value:!0,writable:!1,enumerable:!1,configurable:!1}),[4,Qe(this.value,e,Oe(Oe({name:this.name||this.fieldName},qt(this)),{bails:this.bails,skipIfEmpty:this.skipIfEmpty,isInitial:!this.initialized,customMessages:this.customMessages}))];case 1:return t=a.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,a=e.failedRules,r=e.regenerateMap;this.errors=t,this._regenerateMap=r,this.failedRules=Oe({},a||{}),this.setFlags({valid:!t.length,passed:!t.length,invalid:!!t.length,failed:!!t.length,validated:!0,changed:!lt(this.value,this.initialValue)})},registerField:function(){Vt(this)},checkComputesRequiredState:function(){var e=Oe(Oe({},this._resolvedRules),this.normalizedRules);return Object.keys(e).some(Le.isRequireRule)}}});function Pt(e,t){for(var a={},r=Object.keys(t),i=r.length,n=function(i){var n=r[i],s=e&&e[n]||n,o=t[n];return Z(o)?"continue":"valid"!==n&&"invalid"!==n||t.validated?void("string"==typeof s?a[s]=o:Array.isArray(s)&&s.forEach((function(e){a[e]=o}))):"continue"},s=0;s{"use strict";a.d(t,{Z:()=>i});const r={name:"AppInputSwitch",props:["description","isLast","title","error"]};const i=(0,a(1900).Z)(r,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"flex w-full items-center justify-between space-x-2 sm:space-x-8",class:{"mb-6 sm:mb-7":!e.isLast}},[a("div",{staticClass:"leading-5"},[a("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?a("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?a("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(" "),a("div",[e._t("default")],2)])}),[],!1,null,null,null).exports},4383:(e,t,a)=>{"use strict";a.d(t,{Z:()=>i});const r={name:"AppInputText",props:["description","isLast","title","error"]};const i=(0,a(1900).Z)(r,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{class:{"mb-6 sm:mb-7":!e.isLast}},[e.title?a("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?a("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?a("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},1655:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});var r=a(9101);const i={name:"FormLabel",props:["icon"],components:{TrendingUpIcon:r.Zab,WifiIcon:r.kVp,ListIcon:r.DE2,MailIcon:r.bV6,InfoIcon:r.szr,DatabaseIcon:r.VHe,UsersIcon:r.oyc,CreditCardIcon:r.ciH,DollarSignIcon:r.bkH,SmartphoneIcon:r.BEV,HardDriveIcon:r.zvn,BarChartIcon:r.eJP,SettingsIcon:r.ewm,FileTextIcon:r.zPP,ShieldIcon:r.b7C,FrownIcon:r.eFi,Edit2Icon:r.me4,BellIcon:r.Dkj,KeyIcon:r._m8}};const n=(0,a(1900).Z)(i,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"mb-8 flex items-center"},[e.icon?e._e():a("edit-2-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}),e._v(" "),"frown"===e.icon?a("frown-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"list"===e.icon?a("list-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"info"===e.icon?a("info-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"database"===e.icon?a("database-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"file-text"===e.icon?a("file-text-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"dollar"===e.icon?a("dollar-sign-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"credit-card"===e.icon?a("credit-card-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"bar-chart"===e.icon?a("bar-chart-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"settings"===e.icon?a("settings-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"hard-drive"===e.icon?a("hard-drive-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"mail"===e.icon?a("mail-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"smartphone"===e.icon?a("smartphone-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"shield"===e.icon?a("shield-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"bell"===e.icon?a("bell-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"key"===e.icon?a("key-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"users"===e.icon?a("users-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"wifi"===e.icon?a("wifi-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"trending-up"===e.icon?a("trending-up-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),a("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,a)=>{"use strict";a.d(t,{Z:()=>n});var r=a(9101);const i={name:"ImageInput",props:["image","error"],components:{ImageIcon:r.XBm,XIcon:r.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,a=e.target.files[0].name,r=a.substring(a.lastIndexOf(".")+1).toLowerCase();if(["png","jpg","jpeg","svg"].includes(r)){var i=e.target.files[0],n=new FileReader;n.onload=function(){return t.imagePreview=n.result},n.readAsDataURL(i),this.$emit("input",e.target.files[0])}else alert(this.$t("wrong_image_error"))}},created:function(){this.image&&(this.imagePreview=this.image)}};const n=(0,a(1900).Z)(i,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("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?a("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}},[a("x-icon",{staticClass:"vue-feather dark:text-gray-500",attrs:{size:"14"}})],1):e._e(),e._v(" "),a("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?a("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():a("div",{staticClass:"text-center"},[a("image-icon",{staticClass:"vue-feather text-theme mb-4 inline-block",attrs:{size:"34"}}),e._v(" "),a("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(" "),a("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,a)=>{"use strict";a.d(t,{Z:()=>l});const r={name:"InfoBox",props:["type"]};var i=a(3379),n=a.n(i),s=a(9397),o={insert:"head",singleton:!1};n()(s.Z,o);s.Z.locals;const l=(0,a(1900).Z)(r,(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,a)=>{"use strict";a.d(t,{Z:()=>u});var r=a(9101),i=a(6486);const n={name:"SelectInput",props:["placeholder","options","isError","default"],components:{Edit2Icon:r.me4,UserIcon:r.tBG,ChevronDownIcon:r.v4q},watch:{query:(0,i.debounce)((function(e){this.searchedResults=(0,i.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 s=a(3379),o=a.n(s),l=a(2189),d={insert:"head",singleton:!1};o()(l.Z,d);l.Z.locals;const u=(0,a(1900).Z)(n,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"select"},[a("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?a("div",{staticClass:"selected flex w-full items-center"},[e.selected.icon?a("div",{staticClass:"option-icon"},["user"===e.selected.icon?a("user-icon",{staticClass:"vue-feather text-theme",attrs:{size:"14"}}):e._e(),e._v(" "),"user-edit"===e.selected.icon?a("edit2-icon",{staticClass:"vue-feather text-theme",attrs:{size:"14"}}):e._e()],1):e._e(),e._v(" "),a("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():a("div",{staticClass:"not-selected"},[a("span",{staticClass:"option-value placehoder"},[e._v(e._s(e.placeholder))])]),e._v(" "),a("chevron-down-icon",{staticClass:"chevron",attrs:{size:"19"}})],1),e._v(" "),a("transition",{attrs:{name:"slide-in"}},[e.isOpen?a("div",{staticClass:"input-options rounded-lg"},[e.options.length>5?a("div",{staticClass:"select-search"},[a("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(" "),a("ul",{staticClass:"option-list"},e._l(e.optionList,(function(t,r){return a("li",{key:r,staticClass:"option-item",on:{click:function(a){return e.selectOption(t)}}},[t.icon?a("div",{staticClass:"option-icon"},["user"===t.icon?a("user-icon",{attrs:{size:"14"}}):e._e(),e._v(" "),"user-edit"===t.icon?a("edit2-icon",{attrs:{size:"14"}}):e._e()],1):e._e(),e._v(" "),a("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},1472:(e,t,a)=>{"use strict";a.d(t,{Z:()=>l});const r={name:"SetupBox",props:["title","description","theme"]};var i=a(3379),n=a.n(i),s=a(4265),o={insert:"head",singleton:!1};n()(s.Z,o);s.Z.locals;const l=(0,a(1900).Z)(r,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"setup-box",class:e.theme},[a("b",{staticClass:"title"},[e._v(e._s(e.title))]),e._v(" "),a("p",{staticClass:"description"},[e._v(e._s(e.description))]),e._v(" "),e._t("default")],2)}),[],!1,null,"7f4fdc54",null).exports},667:(e,t,a)=>{"use strict";a.d(t,{Z:()=>l});const r={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 i=a(3379),n=a.n(i),s=a(7395),o={insert:"head",singleton:!1};n()(s.Z,o);s.Z.locals;const l=(0,a(1900).Z)(r,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("div",{staticClass:"switch-content"},[e.label?a("label",{staticClass:"input-label"},[e._v(" "+e._s(e.label)+": ")]):e._e(),e._v(" "),e.info?a("small",{staticClass:"input-info"},[e._v("\n "+e._s(e.info)+"\n ")]):e._e()]),e._v(" "),a("div",{staticClass:"switch-content text-right"},[a("div",{staticClass:"switch",class:{active:e.state},on:{click:e.changeState}},[a("div",{staticClass:"switch-button"})])])])}),[],!1,null,"615ed0c1",null).exports},2792:(e,t,a)=>{"use strict";a.d(t,{Z:()=>l});const r={name:"PageTab",props:["isLoading"],components:{Spinner:a(7318).Z}};var i=a(3379),n=a.n(i),s=a(1213),o={insert:"head",singleton:!1};n()(s.Z,o);s.Z.locals;const l=(0,a(1900).Z)(r,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"page-tab"},[a("div",{directives:[{name:"show",rawName:"v-show",value:e.isLoading,expression:"isLoading"}],attrs:{id:"loader"}},[a("Spinner")],1),e._v(" "),e._t("default")],2)}),[],!1,null,"6c76a2be",null).exports},5840:(e,t,a)=>{"use strict";a.d(t,{Z:()=>l});const r={name:"PageTabGroup"};var i=a(3379),n=a.n(i),s=a(4619),o={insert:"head",singleton:!1};n()(s.Z,o);s.Z.locals;const l=(0,a(1900).Z)(r,(function(){var e=this,t=e.$createElement;return(e._self._c||t)("div",{staticClass:"page-tab-group"},[e._t("default")],2)}),[],!1,null,"61f8c98e",null).exports},7287:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>C});var r=a(9194),i=a(4383),n=a(9495),s=a(5840),o=a(1638),l=a(667),d=a(6784),u=a(1655),c=a(6746),p=a(1472),v=a(2792),f=a(6291),m=a(4479),h=a(9669),_=a.n(h),g=a(629);function b(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function x(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}const y={name:"AppIndex",components:{AppInputSwitch:r.Z,AppInputText:i.Z,ValidationObserver:n.ValidationObserver,ValidationProvider:n.ValidationProvider,PageTabGroup:s.Z,SwitchInput:l.Z,SelectInput:o.Z,ImageInput:d.Z,ButtonBase:c.Z,FormLabel:u.Z,SetupBox:p.Z,required:m.C1,PageTab:v.Z,InfoBox:f.Z},computed:function(e){for(var t=1;t{"use strict";a.d(t,{Z:()=>i});var r=a(3645),n=a.n(r)()((function(e){return e[1]}));n.push([e.id,".mobile-header[data-v-17905508]{background:#fff;display:none;padding:10px 0;position:-webkit-sticky;position:sticky;text-align:center;top:0;z-index:6}.mobile-header>div[data-v-17905508]{align-self:center;flex-grow:1;white-space:nowrap}.mobile-header .go-back[data-v-17905508]{text-align:left}.mobile-header .location-name[data-v-17905508]{color:#1b2539;display:inline-block;font-size:.9375em;font-weight:700;line-height:1;max-width:220px;overflow:hidden;text-align:center;text-overflow:ellipsis;vertical-align:middle;width:100%}.mobile-header .mobile-menu[data-v-17905508]{text-align:right}.mobile-header .icon[data-v-17905508]{margin-top:-4px;vertical-align:middle}@media only screen and (max-width:690px){.mobile-header[data-v-17905508]{display:flex;margin-bottom:15px}}.dark .mobile-header[data-v-17905508]{background:#151515}.dark .mobile-header .location-name[data-v-17905508]{color:#bec6cf}",""]);const i=n},9397:(e,t,a)=>{"use strict";a.d(t,{Z:()=>i});var r=a(3645),n=a.n(r)()((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 i=n},9e3:(e,t,a)=>{"use strict";a.d(t,{Z:()=>i});var r=a(3645),n=a.n(r)()((function(e){return e[1]}));n.push([e.id,".form.inline-form[data-v-54e5f845]{display:flex;justify-content:center;margin:0 auto;position:relative}.form.inline-form .input-wrapper[data-v-54e5f845]{position:relative}.form.inline-form .input-wrapper .error-message[data-v-54e5f845]{bottom:-25px;left:0;position:absolute}.form.block-form .switch-wrapper[data-v-54e5f845]{border-bottom:1px solid #f4f5f6;margin-bottom:13px;padding-bottom:13px}.form.block-form .switch-wrapper[data-v-54e5f845]:last-child{border-bottom:none;margin-bottom:0;padding-bottom:0}.form.block-form .wrapper-inline[data-v-54e5f845]{display:flex;margin:0 -15px}.form.block-form .wrapper-inline .block-wrapper[data-v-54e5f845]{padding:0 15px;width:100%}.form.block-form .block-wrapper[data-v-54e5f845]{margin-bottom:32px}.form.block-form .block-wrapper label[data-v-54e5f845]{color:rgba(27,37,57,.8);display:block;font-size:.875em;font-weight:700;margin-bottom:7px;text-align:left}.form.block-form .block-wrapper[data-v-54e5f845]:last-child{margin-bottom:0}.form.block-form .button[data-v-54e5f845]{margin-top:50px}.form .inline-wrapper[data-v-54e5f845]{align-items:center;display:flex;justify-content:space-between}.form .inline-wrapper .switch-label .input-help[data-v-54e5f845]{padding-top:0}.form .inline-wrapper .switch-label .input-label[data-v-54e5f845]{color:#1b2539;font-size:1em;font-weight:700;margin-bottom:5px}.input-help[data-v-54e5f845]{color:rgba(27,37,57,.7);display:block;font-size:.75em;line-height:1.35;padding-top:10px}.single-line-form[data-v-54e5f845]{display:flex}.single-line-form .submit-button[data-v-54e5f845]{margin-left:20px}.error-message[data-v-54e5f845]{color:#fd397a;display:block;font-size:.875em;padding-top:5px;text-align:left}textarea[data-v-54e5f845]{width:100%}input[type=email].is-error[data-v-54e5f845],input[type=number].is-error[data-v-54e5f845],input[type=password].is-error[data-v-54e5f845],input[type=text].is-error[data-v-54e5f845],textarea.is-error[data-v-54e5f845]{border-color:#fd397a}input[type=email][data-v-54e5f845]::-moz-placeholder,input[type=number][data-v-54e5f845]::-moz-placeholder,input[type=password][data-v-54e5f845]::-moz-placeholder,input[type=text][data-v-54e5f845]::-moz-placeholder,textarea[data-v-54e5f845]::-moz-placeholder{color:rgba(27,37,57,.5);font-size:.9375em}input[type=email][data-v-54e5f845]:-ms-input-placeholder,input[type=number][data-v-54e5f845]:-ms-input-placeholder,input[type=password][data-v-54e5f845]:-ms-input-placeholder,input[type=text][data-v-54e5f845]:-ms-input-placeholder,textarea[data-v-54e5f845]:-ms-input-placeholder{color:rgba(27,37,57,.5);font-size:.9375em}input[type=email][data-v-54e5f845]::placeholder,input[type=number][data-v-54e5f845]::placeholder,input[type=password][data-v-54e5f845]::placeholder,input[type=text][data-v-54e5f845]::placeholder,textarea[data-v-54e5f845]::placeholder{color:rgba(27,37,57,.5);font-size:.9375em}input[type=email][disabled][data-v-54e5f845],input[type=number][disabled][data-v-54e5f845],input[type=password][disabled][data-v-54e5f845],input[type=text][disabled][data-v-54e5f845],textarea[disabled][data-v-54e5f845]{-webkit-text-fill-color:rgba(27,37,57,.8);color:rgba(27,37,57,.8);cursor:not-allowed;opacity:1}input[type=color][data-v-54e5f845]{background:none;border:none;height:40px;min-width:auto!important;outline:none;width:38px!important}.additional-link[data-v-54e5f845]{display:block;font-size:1em;margin-top:50px}.additional-link a[data-v-54e5f845],.additional-link b[data-v-54e5f845]{cursor:pointer}.additional-link a[data-v-54e5f845]:hover,.additional-link b[data-v-54e5f845]:hover{text-decoration:underline}@media only screen and (max-width:1024px){.form[data-v-54e5f845]{max-width:100%}}@media only screen and (max-width:960px){.form .button[data-v-54e5f845]{margin-left:0;margin-right:0;margin-top:20px;width:100%}.form input[data-v-54e5f845],.form textarea[data-v-54e5f845]{min-width:100%;width:100%}.form.block-form .block-wrapper[data-v-54e5f845]{display:block}.form.block-form .block-wrapper label[data-v-54e5f845]{display:block;font-size:.875em;margin-bottom:7px;padding-right:0;padding-top:0;text-align:left!important;width:100%}.form.block-form .button[data-v-54e5f845]{margin-left:0;margin-right:0;margin-top:25px}.form.inline-form[data-v-54e5f845]{display:block}.form.inline-form .input-wrapper .error-message[data-v-54e5f845]{bottom:0;position:relative}.form .button[data-v-54e5f845]{padding:14px 32px}.single-line-form[data-v-54e5f845]{display:block}.single-line-form .submit-button[data-v-54e5f845]{margin-left:0;margin-top:20px;width:100%}input[type=email][data-v-54e5f845],input[type=number][data-v-54e5f845],input[type=password][data-v-54e5f845],input[type=text][data-v-54e5f845],textarea[data-v-54e5f845]{padding:14px 20px}}@media only screen and (max-width:690px){.form.block-form .wrapper-inline[data-v-54e5f845]{display:block}}.dark .form .input-help[data-v-54e5f845]{color:#7d858c}.dark .form.block-form .block-wrapper label[data-v-54e5f845]{color:#bec6cf}.dark .form.block-form .switch-wrapper[data-v-54e5f845]{border-color:hsla(0,0%,100%,.02)}.dark .form .inline-wrapper .switch-label .input-label[data-v-54e5f845]{color:#bec6cf}.dark input[type=email][data-v-54e5f845],.dark input[type=number][data-v-54e5f845],.dark input[type=password][data-v-54e5f845],.dark input[type=text][data-v-54e5f845],.dark textarea[data-v-54e5f845]{background:#1e2024;border-color:#1e2024;color:#bec6cf}.dark input[type=email][data-v-54e5f845]::-moz-placeholder,.dark input[type=number][data-v-54e5f845]::-moz-placeholder,.dark input[type=password][data-v-54e5f845]::-moz-placeholder,.dark input[type=text][data-v-54e5f845]::-moz-placeholder,.dark textarea[data-v-54e5f845]::-moz-placeholder{color:#7d858c}.dark input[type=email][data-v-54e5f845]:-ms-input-placeholder,.dark input[type=number][data-v-54e5f845]:-ms-input-placeholder,.dark input[type=password][data-v-54e5f845]:-ms-input-placeholder,.dark input[type=text][data-v-54e5f845]:-ms-input-placeholder,.dark textarea[data-v-54e5f845]:-ms-input-placeholder{color:#7d858c}.dark input[type=email][data-v-54e5f845]::placeholder,.dark input[type=number][data-v-54e5f845]::placeholder,.dark input[type=password][data-v-54e5f845]::placeholder,.dark input[type=text][data-v-54e5f845]::placeholder,.dark textarea[data-v-54e5f845]::placeholder{color:#7d858c}.dark input[type=email][disabled][data-v-54e5f845],.dark input[type=number][disabled][data-v-54e5f845],.dark input[type=password][disabled][data-v-54e5f845],.dark input[type=text][disabled][data-v-54e5f845],.dark textarea[disabled][data-v-54e5f845]{-webkit-text-fill-color:hsla(208,6%,52%,.8);color:hsla(208,6%,52%,.8)}.dark .popup-wrapper input[type=email][data-v-54e5f845],.dark .popup-wrapper input[type=number][data-v-54e5f845],.dark .popup-wrapper input[type=password][data-v-54e5f845],.dark .popup-wrapper input[type=text][data-v-54e5f845],.dark .popup-wrapper textarea[data-v-54e5f845]{background:#25272c}.search-bar[data-v-54e5f845]{border-radius:8px;position:relative;width:100%}.search-bar input[data-v-54e5f845]{-webkit-appearance:none;background:#f4f5f6;border:1px solid transparent;border-radius:8px;box-shadow:none;font-size:1em;font-weight:700;height:50px;min-width:175px;outline:0;padding:9px 20px 9px 43px;transition:all .15s ease;width:100%}.search-bar input[data-v-54e5f845]::-moz-placeholder{color:#a4adb6;font-size:.875em;font-weight:700}.search-bar input[data-v-54e5f845]:-ms-input-placeholder{color:#a4adb6;font-size:.875em;font-weight:700}.search-bar input[data-v-54e5f845]::placeholder{color:#a4adb6;font-size:.875em;font-weight:700}.search-bar input[data-v-54e5f845]:focus{border-style:solid;border-width:1px}.search-bar input:focus+.icon path[data-v-54e5f845]{color:inherit}.search-bar .icon[data-v-54e5f845]{align-items:center;display:flex;height:100%;left:0;padding:11px 15px;position:absolute;top:0}.search-bar .icon circle[data-v-54e5f845],.search-bar .icon line[data-v-54e5f845]{color:#a4adb6}.search-bar .icon .pointer[data-v-54e5f845]{cursor:pointer}.dark .search-bar input[data-v-54e5f845]{background:#1e2024}",""]);const i=n},7395:(e,t,a)=>{"use strict";a.d(t,{Z:()=>i});var r=a(3645),n=a.n(r)()((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 i=n},5377:(e,t,a)=>{"use strict";a.d(t,{Z:()=>i});var r=a(3645),n=a.n(r)()((function(e){return e[1]}));n.push([e.id,".page-header[data-v-719f11ff]{align-items:center;background:#fff;display:flex;padding-bottom:20px;padding-top:20px;position:-webkit-sticky;position:sticky;top:0;width:100%;z-index:9}.page-header .title[data-v-719f11ff]{color:#1b2539;font-size:1.125em;font-weight:700}.page-header .go-back[data-v-719f11ff]{cursor:pointer;margin-right:10px}.page-header .go-back svg[data-v-719f11ff]{margin-top:-4px;vertical-align:middle}@media only screen and (max-width:960px){.page-header .title[data-v-719f11ff]{font-size:1.125em}}@media only screen and (max-width:690px){.page-header[data-v-719f11ff]{display:none}}.dark .page-header[data-v-719f11ff]{background:#151515}.dark .page-header .title[data-v-719f11ff]{color:#bec6cf}.dark .page-header .icon path[data-v-719f11ff]{fill:#00bc7e}",""]);const i=n},9495:function(e,t,a){!function(e,t){"use strict";function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var r=a(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"}},i={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 a=(void 0===t?{}:t).locale,r=void 0===a?"":a;return Array.isArray(e)?e.every((function(e){return u(e,{locale:r})})):r?(i[r]||i.en).test(e):Object.keys(i).some((function(t){return i[t].test(e)}))},d={validate:u,params:[{name:"locale"}]},c=function(e,t){var a=(void 0===t?{}:t).locale,r=void 0===a?"":a;return Array.isArray(e)?e.every((function(e){return c(e,{locale:r})})):r?(l[r]||l.en).test(e):Object.keys(l).some((function(t){return l[t].test(e)}))},f={validate:c,params:[{name:"locale"}]},v=function(e,t){var a=(void 0===t?{}:t).locale,r=void 0===a?"":a;return Array.isArray(e)?e.every((function(e){return v(e,{locale:r})})):r?(s[r]||s.en).test(e):Object.keys(s).some((function(t){return s[t].test(e)}))},p={validate:v,params:[{name:"locale"}]},m=function(e,t){var a=(void 0===t?{}:t).locale,r=void 0===a?"":a;return Array.isArray(e)?e.every((function(e){return m(e,{locale:r})})):r?(o[r]||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 a=void 0===t?{}:t,r=a.min,n=a.max;return Array.isArray(e)?e.every((function(e){return!!g(e,{min:r,max:n})})):Number(r)<=e&&Number(n)>=e},b={validate:g,params:[{name:"min"},{name:"max"}]},y={validate:function(e,t){var a=t.target;return String(e)===String(a)},params:[{name:"target",isTarget:!0}]},x=function(e,t){var a=t.length;if(Array.isArray(e))return e.every((function(e){return x(e,{length:a})}));var r=String(e);return/^[0-9]*$/.test(r)&&r.length===a},_={validate:x,params:[{name:"length",cast:function(e){return Number(e)}}]},k=function(e,t,a){var r=window.URL||window.webkitURL;return new Promise((function(n){var i=new Image;i.onerror=function(){return n(!1)},i.onload=function(){return n(i.width===t&&i.height===a)},i.src=r.createObjectURL(e)}))},w=function(e,t){var a=t.width,r=t.height,n=[];e=Array.isArray(e)?e:[e];for(var i=0;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 a&&!Array.isArray(e)&&(e=String(e).split(",").map((function(e){return e.trim()}))),Array.isArray(e)?e.every((function(e){return r.test(String(e))})):r.test(String(e))},params:[{name:"multiple",default:!1}]};function Z(e){return e!=e}function z(e){return null==e}function C(e){return Array.isArray(e)&&0===e.length}var O=function(e){return null!==e&&e&&"object"==typeof e&&!Array.isArray(e)};function S(e,t){return!(!Z(e)||!Z(t))||e===t}function R(e){return""!==e&&!z(e)}function E(e){return"function"==typeof e}function L(e){return E(e)&&!!e.__locatorRef}function q(e,t){var a=Array.isArray(e)?e:j(e);if(E(a.findIndex))return a.findIndex(t);for(var r=0;r=0:Array.isArray(e)?e.every((function(e){return ne(e,{length:a})})):String(e).length<=a},ie={validate:ne,params:[{name:"length",cast:function(e){return Number(e)}}]},oe=function(e,t){var a=t.max;return!z(e)&&""!==e&&(Array.isArray(e)?e.length>0&&e.every((function(e){return oe(e,{max:a})})):Number(e)<=a)},se={validate:oe,params:[{name:"max",cast:function(e){return Number(e)}}]},le=function(e,t){var a=new RegExp(t.join("|").replace("*",".+")+"$","i");return Array.isArray(e)?e.every((function(e){return a.test(e.type)})):a.test(e.type)},ue={validate:le},de=function(e,t){var a=t.length;return!z(e)&&(Array.isArray(e)?e.every((function(e){return de(e,{length:a})})):String(e).length>=a)},ce={validate:de,params:[{name:"length",cast:function(e){return Number(e)}}]},fe=function(e,t){var a=t.min;return!z(e)&&""!==e&&(Array.isArray(e)?e.length>0&&e.every((function(e){return fe(e,{min:a})})):Number(e)>=a)},ve={validate:fe,params:[{name:"min",cast:function(e){return Number(e)}}]},pe=/^[٠١٢٣٤٥٦٧٨٩]+$/,me=/^[0-9]+$/,he={validate:function(e){var t=function(e){var t=String(e);return me.test(t)||pe.test(t)};return Array.isArray(e)?e.every(t):t(e)}},ge=function(e,t){var a=t.regex;return Array.isArray(e)?e.every((function(e){return ge(e,{regex:a})})):a.test(String(e))},be={validate:ge,params:[{name:"regex",cast:function(e){return"string"==typeof e?new RegExp(e):e}}]},ye={validate:function(e,t){var a=(void 0===t?{allowFalse:!0}:t).allowFalse,r={valid:!1,required:!0};return z(e)||C(e)?r:!1!==e||a?(r.valid=!!String(e).trim().length,r):r},params:[{name:"allowFalse",default:!0}],computesRequired:!0},xe=function(e){return C(e)||F([!1,null,void 0],e)||!String(e).trim().length},_e=function(e,t){var a,r=t.target,n=t.values;return n&&n.length?(Array.isArray(n)||"string"!=typeof n||(n=[n]),a=n.some((function(e){return e==String(r).trim()}))):a=!xe(r),a?{valid:!xe(e),required:a}:{valid:!0,required:a}},ke={validate:_e,params:[{name:"target",isTarget:!0},{name:"values"}],computesRequired:!0},we=function(e,t){var a=t.size;if(isNaN(a))return!1;var r=1024*a;if(!Array.isArray(e))return e.size<=r;for(var n=0;nr)return!1;return!0},$e={validate:we,params:[{name:"size",cast:function(e){return Number(e)}}]},Ae=function(e,t){var a=t||{},r=a.decimals,n=void 0===r?0:r,i=a.separator,o=new RegExp("^-?\\d+"+("comma"===(void 0===i?"dot":i)?",?":"\\.?")+(0===n?"\\d*":"(\\d{"+n+"})?")+"$");return Array.isArray(e)?e.every((function(e){return o.test(String(e))})):o.test(String(e))},Ze={validate:Ae,params:[{name:"decimals",default:0},{name:"separator",default:"dot"}]},ze=Object.freeze({__proto__:null,alpha_dash:f,alpha_num:p,alpha_spaces:h,alpha:d,between:b,confirmed:y,digits:_,dimensions:$,email:A,ext:Y,image:J,oneOf:U,integer:Q,length:re,is_not:te,is:ee,max:ie,max_value:se,mimes:ue,min:ce,min_value:ve,excluded:K,numeric:he,regex:be,required:ye,required_if:ke,size:$e,double:Ze}),Ce=function(){return Ce=Object.assign||function(e){for(var t,a=1,r=arguments.length;a0&&n[n.length-1])||6!==i[0]&&2!==i[0])){o=0;continue}if(3===i[0]&&(!n||i[1]>n[0]&&i[1]=0&&Me.getRuleDefinition("max")&&(r.max=a.maxlength),a.minlength>=0&&Me.getRuleDefinition("min")&&(r.min=a.minlength),"number"===a.type&&(R(a.min)&&Me.getRuleDefinition("min_value")&&(r.min_value=Number(a.min)),R(a.max)&&Me.getRuleDefinition("max_value")&&(r.max_value=Number(a.max))),r):r}function At(e){var t,a=["input","select","textarea"],r=null===(t=e.data)||void 0===t?void 0:t.attrs;if(!F(a,e.tag)||!r)return{};var n={};return"required"in r&&!1!==r.required&&Me.getRuleDefinition("required")&&(n.required="checkbox"!==r.type||[!0]),ct(e)?Ke(Ce(Ce({},n),$t(e))):Ke(n)}function Zt(e,t){return e.$scopedSlots.default?e.$scopedSlots.default(t)||[]:e.$slots.default||[]}function zt(e,t){return!(e._ignoreImmediate||!e.immediate)||!(S(e.value,t)||!e.normalizedEvents.length)||!!e._needsValidation||!e.initialized&&void 0===t}function Ct(e){return Ce(Ce({},e.flags),{errors:e.errors,classes:e.classes,failedRules:e.failedRules,reset:function(){return e.reset()},validate:function(){for(var t=[],a=0;a0)){var u=Le().useConstraintAttrs?At(e):{};lt(t._resolvedRules,u)||(t._needsValidation=!0),kt(e)&&(t.fieldName=(null===(o=null===(i=e.data)||void 0===i?void 0:i.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,Lt(t,e)}}))}return this.slim&&a.length<=1?a[0]:e(this.tag,a)},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(a){t.flags[a]=e[a]}))},syncValue:function(e){var t=dt(e);this.value=t,this.flags.changed=!lt(this.initialValue,t)},reset:function(){var e=this;this.errors=[],this.initialValue=this.value;var t=V();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;t0&&this.syncValue(e[0]),[2,Rt(this)]}))}))},validateSilent:function(){return Oe(this,void 0,void 0,(function(){var e,t;return Se(this,(function(a){switch(a.label){case 0:return this.setFlags({pending:!0}),e=Ce(Ce({},this._resolvedRules),this.normalizedRules),Object.defineProperty(e,"_$$isNormalized",{value:!0,writable:!1,enumerable:!1,configurable:!1}),[4,Qe(this.value,e,Ce(Ce({name:this.name||this.fieldName},Tt(this)),{bails:this.bails,skipIfEmpty:this.skipIfEmpty,isInitial:!this.initialized,customMessages:this.customMessages}))];case 1:return t=a.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,a=e.failedRules,r=e.regenerateMap;this.errors=t,this._regenerateMap=r,this.failedRules=Ce({},a||{}),this.setFlags({valid:!t.length,passed:!t.length,invalid:!!t.length,failed:!!t.length,validated:!0,changed:!lt(this.value,this.initialValue)})},registerField:function(){Nt(this)},checkComputesRequiredState:function(){var e=Ce(Ce({},this._resolvedRules),this.normalizedRules);return Object.keys(e).some(Me.isRequireRule)}}});function jt(e,t){for(var a={},r=Object.keys(t),n=r.length,i=function(n){var i=r[n],o=e&&e[i]||i,s=t[i];return z(s)?"continue":"valid"!==i&&"invalid"!==i||t.validated?void("string"==typeof o?a[o]=s:Array.isArray(o)&&o.forEach((function(e){a[e]=s}))):"continue"},o=0;o{"use strict";a.d(t,{Z:()=>n});const r={name:"AppInputSwitch",props:["description","isLast","title","error"]};const n=(0,a(1900).Z)(r,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"flex w-full items-center justify-between space-x-2 sm:space-x-8",class:{"mb-6 sm:mb-7":!e.isLast}},[a("div",{staticClass:"leading-5"},[a("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?a("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?a("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(" "),a("div",[e._t("default")],2)])}),[],!1,null,null,null).exports},4383:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});const r={name:"AppInputText",props:["description","isLast","title","error"]};const n=(0,a(1900).Z)(r,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{class:{"mb-6 sm:mb-7":!e.isLast}},[e.title?a("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?a("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?a("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},3802:(e,t,a)=>{"use strict";a.d(t,{Z:()=>u});a(826);var r=a(9101);const n={name:"MobileHeader",props:["title"],components:{ChevronLeftIcon:r.wyc,MenuIcon:r.Oqj},methods:{goBack:function(){this.$router.back()}}};var i=a(3379),o=a.n(i),s=a(5063),l={insert:"head",singleton:!1};o()(s.Z,l);s.Z.locals;const u=(0,a(1900).Z)(n,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("header",{staticClass:"mobile-header"},[a("div",{staticClass:"go-back",on:{click:e.goBack}},[a("chevron-left-icon",{staticClass:"icon",attrs:{size:"17"}})],1),e._v(" "),a("div",{staticClass:"location-name"},[e._v(e._s(e.title))]),e._v(" "),a("div",{staticClass:"mobile-menu",on:{click:function(t){return e.$showMobileMenu("user-navigation")}}},[a("menu-icon",{staticClass:"icon",attrs:{size:"17"}})],1)])}),[],!1,null,"17905508",null).exports},5996:(e,t,a)=>{"use strict";a.d(t,{Z:()=>i});var r=a(9101);const n={name:"FormLabel",props:["icon"],components:{WifiIcon:r.kVp,ListIcon:r.DE2,MailIcon:r.bV6,InfoIcon:r.szr,DatabaseIcon:r.VHe,UsersIcon:r.oyc,CreditCardIcon:r.ciH,DollarSignIcon:r.bkH,SmartphoneIcon:r.BEV,HardDriveIcon:r.zvn,BarChartIcon:r.eJP,SettingsIcon:r.ewm,FileTextIcon:r.zPP,ShieldIcon:r.b7C,FrownIcon:r.eFi,Edit2Icon:r.me4,BellIcon:r.Dkj,KeyIcon:r._m8}};const i=(0,a(1900).Z)(n,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"mb-8 flex items-center"},[e.icon?e._e():a("edit-2-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}),e._v(" "),"frown"===e.icon?a("frown-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"list"===e.icon?a("list-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"info"===e.icon?a("info-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"database"===e.icon?a("database-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"file-text"===e.icon?a("file-text-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"dollar"===e.icon?a("dollar-sign-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"credit-card"===e.icon?a("credit-card-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"bar-chart"===e.icon?a("bar-chart-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"settings"===e.icon?a("settings-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"hard-drive"===e.icon?a("hard-drive-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"mail"===e.icon?a("mail-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"smartphone"===e.icon?a("smartphone-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"shield"===e.icon?a("shield-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"bell"===e.icon?a("bell-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"key"===e.icon?a("key-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"users"===e.icon?a("users-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"wifi"===e.icon?a("wifi-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),a("b",{staticClass:"text-md font-bold dark:text-gray-200 sm:text-lg"},[e._t("default")],2)],1)}),[],!1,null,null,null).exports},6291:(e,t,a)=>{"use strict";a.d(t,{Z:()=>l});const r={name:"InfoBox",props:["type"]};var n=a(3379),i=a.n(n),o=a(9397),s={insert:"head",singleton:!1};i()(o.Z,s);o.Z.locals;const l=(0,a(1900).Z)(r,(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},667:(e,t,a)=>{"use strict";a.d(t,{Z:()=>l});const r={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=a(3379),i=a.n(n),o=a(7395),s={insert:"head",singleton:!1};i()(o.Z,s);o.Z.locals;const l=(0,a(1900).Z)(r,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("div",{staticClass:"switch-content"},[e.label?a("label",{staticClass:"input-label"},[e._v(" "+e._s(e.label)+": ")]):e._e(),e._v(" "),e.info?a("small",{staticClass:"input-info"},[e._v("\n "+e._s(e.info)+"\n ")]):e._e()]),e._v(" "),a("div",{staticClass:"switch-content text-right"},[a("div",{staticClass:"switch",class:{active:e.state},on:{click:e.changeState}},[a("div",{staticClass:"switch-button"})])])])}),[],!1,null,"615ed0c1",null).exports},522:(e,t,a)=>{"use strict";a.d(t,{Z:()=>l});const r={name:"PageHeader",props:["title","canBack"],components:{ChevronLeftIcon:a(9101).wyc}};var n=a(3379),i=a.n(n),o=a(5377),s={insert:"head",singleton:!1};i()(o.Z,s);o.Z.locals;const l=(0,a(1900).Z)(r,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"page-header"},[e.canBack?a("div",{staticClass:"go-back",on:{click:function(t){return e.$router.back()}}},[a("chevron-left-icon",{attrs:{size:"17"}})],1):e._e(),e._v(" "),a("div",{staticClass:"content"},[a("h1",{staticClass:"title"},[e._v(e._s(e.title))])])])}),[],!1,null,"719f11ff",null).exports},6909:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>A});var r=a(9194),n=a(4383),i=a(9495),o=a(3911),s=a(667),l=a(9101);const u={name:"SearchInput",components:{SearchIcon:l.W1M,XIcon:l.b0D},data:function(){return{query:void 0}},methods:{clearInput:function(){this.query=void 0,this.$emit("reset-query")}}};var d=a(3379),c=a.n(d),f=a(9e3),v={insert:"head",singleton:!1};c()(f.Z,v);f.Z.locals;var p=a(1900);const m=(0,p.Z)(u,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"search-bar"},[e.query?e._e():a("div",{staticClass:"icon"},[a("search-icon",{attrs:{size:"19"}})],1),e._v(" "),e.query?a("div",{staticClass:"icon",on:{click:e.clearInput}},[a("x-icon",{staticClass:"pointer",attrs:{size:"19"}})],1):e._e(),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.query,expression:"query"}],staticClass:"query focus-border-theme",attrs:{type:"text",name:"searchInput",placeholder:e.$t("search_translations")},domProps:{value:e.query},on:{input:[function(t){t.target.composing||(e.query=t.target.value)},function(t){return e.$emit("input",e.query)}]}})])}),[],!1,null,"54e5f845",null).exports;var h=a(5996),g=a(3802),b=a(6746),y=a(6291),x=a(522),_=a(7318),k=a(6486),w=a(826);const $={name:"Language",components:{ValidationProvider:i.ValidationProvider,ValidationObserver:i.ValidationObserver,MobileActionButton:o.Z,AppInputSwitch:r.Z,AppInputText:n.Z,MobileHeader:g.Z,SearchInput:m,SwitchInput:s.Z,ButtonBase:b.Z,PageHeader:x.Z,FormLabel:h.Z,PlusIcon:l.pOD,InfoBox:y.Z,Spinner:_.Z,XIcon:l.b0D},data:function(){return{searchedTranslationResults:void 0,referenceTranslations:void 0,defaultLanguageLocale:void 0,selectedLanguage:void 0,languages:void 0,query:"",fixedNav:!1}},watch:{query:(0,k.debounce)((function(e){this.searchedTranslationResults=(0,k.omitBy)(this.selectedLanguage.data.attributes.translations,(function(t){return!t.toLowerCase().includes(e.toLowerCase())})),document.getElementById("single-page").scrollTop=0}),300)},computed:{isSearching:function(){return this.searchedTranslationResults&&""!==this.query},translationList:function(){return this.isSearching?this.searchedTranslationResults:this.selectedLanguage.data.attributes.translations}},methods:{setDefaultLanguage:function(){this.$updateText("/admin/settings","language",this.selectedLanguage.data.attributes.locale),this.defaultLanguageLocale=this.selectedLanguage.data.attributes.locale,setTimeout((function(){return location.reload()}),500)},getLanguages:function(){var e=this;axios.get("/api/admin/languages").then((function(t){e.languages=t.data.data,e.referenceTranslations=t.data.meta.reference_translations,e.selectedLanguage=t.data.meta.current_language,e.defaultLanguageLocale=t.data.meta.current_language.data.attributes.locale})).catch((function(){e.$isSomethingWrong()}))},getLanguage:function(e){var t=this;this.selectedLanguage=void 0,axios.get("/api/admin/languages/".concat(e.data.id)).then((function(e){t.selectedLanguage=e.data})).catch((function(){t.$isSomethingWrong()}))},deleteLanguage:function(e){w.U.$emit("confirm:open",{title:'Delete "'.concat(e.data.attributes.name,'" language?'),message:"Your language will be permanently deleted.",buttonColor:"danger-solid",action:{id:e.data.id,operation:"delete-language"}})},createLanguage:function(){w.U.$emit("popup:open",{name:"create-language"})}},mounted:function(){var e=this;this.getLanguages(),w.U.$on("reload:languages",(function(){return e.getLanguages()})),w.U.$on("action:confirmed",(function(t){"delete-language"===t.operation&&axios.delete("/api/admin/languages/".concat(t.id)).then((function(){return e.getLanguages()})).catch((function(){return e.$isSomethingWrong()}))})),window.addEventListener("scroll",(function(){var t=document.getElementById("card-navigation");e.fixedNav=t.getBoundingClientRect().top<0}))},destroyed:function(){w.U.$off("action:confirmed")}};const A=(0,p.Z)($,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[e.languages?a("div",{staticClass:"mb-24 block md:hidden",staticStyle:{height:"62px"},attrs:{id:"card-navigation"}},[a("div",{staticClass:"z-20 bg-white pt-3 sm:pt-5",class:{"fixed top-0 left-0 right-0 z-10 rounded-none bg-white bg-opacity-70 px-6 backdrop-blur-lg backdrop-filter dark:bg-dark-foreground":e.fixedNav,"card sticky top-0 z-10 block py-0 shadow-card md:hidden":!e.fixedNav}},[a("SearchInput",{on:{"reset-query":function(t){e.query=""}},model:{value:e.query,callback:function(t){e.query=t},expression:"query"}}),e._v(" "),a("div",{staticClass:"flex items-center"},[e._l(e.languages,(function(t){return a("div",{key:t.data.id,staticClass:"border-bottom-theme inline-block border-b-2 border-transparent px-4 py-5 text-sm font-bold",class:{"text-theme router-link-active":e.selectedLanguage&&e.selectedLanguage.data.attributes.locale===t.data.attributes.locale,"text-gray-600":!e.selectedLanguage&&e.selectedLanguage.data.attributes.locale!==t.data.attributes.locale},on:{click:function(a){return e.getLanguage(t)}}},[e._v("\n "+e._s(t.data.attributes.name)+"\n ")])})),e._v(" "),a("div",{staticClass:"ml-2 cursor-pointer",on:{click:e.createLanguage}},[a("plus-icon",{staticClass:"vue-feather text-gray-400",attrs:{size:"14"}})],1)],2)],1)]):e._e(),e._v(" "),e.languages?a("div",{staticClass:"flex md:space-x-6"},[a("div",{staticClass:"hidden md:block"},[a("div",{staticClass:"card sticky top-0 shadow-card"},[a("label",{staticClass:"mb-2 text-xs font-bold text-gray-400"},[e._v("\n "+e._s(e.$t("languages"))+"\n ")]),e._v(" "),e._l(e.languages,(function(t){return a("div",{key:t.data.id,staticClass:"group flex cursor-pointer items-center justify-between py-2 pr-4",on:{click:function(a){return e.getLanguage(t)}}},[a("label",{staticClass:"text-base font-bold",class:{"text-theme":e.selectedLanguage&&e.selectedLanguage.data.attributes.locale===t.data.attributes.locale}},[e._v("\n "+e._s(t.data.attributes.name)+"\n ")]),e._v(" "),"en"!==t.data.attributes.locale?a("x-icon",{staticClass:"opacity-0 group-hover:opacity-100",attrs:{size:"12"},on:{click:function(a){return a.stopPropagation(),e.deleteLanguage(t)}}}):e._e()],1)})),e._v(" "),a("MobileActionButton",{staticClass:"mt-5 whitespace-nowrap",attrs:{icon:"plus"},nativeOn:{click:function(t){return e.createLanguage.apply(null,arguments)}}},[e._v("\n "+e._s(e.$t("add_language"))+"\n ")])],2)]),e._v(" "),a("div",{staticClass:"dynamic-content"},[e.selectedLanguage?e._e():a("Spinner",{staticClass:"spinner"}),e._v(" "),e.selectedLanguage?a("div",[e.isSearching?e._e():a("div",{staticClass:"card shadow-card"},[a("FormLabel",{attrs:{icon:"settings"}},[e._v("\n "+e._s(e.$t("language_settings"))+"\n ")]),e._v(" "),a("ValidationProvider",{attrs:{tag:"div",mode:"passive",name:"Language name",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(t){var r=t.errors;return[a("AppInputText",{attrs:{title:e.$t("language_name"),error:r[0]}},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.selectedLanguage.data.attributes.name,expression:"selectedLanguage.data.attributes.name"}],staticClass:"focus-border-theme input-dark",class:{"!border-rose-600":r[0]},attrs:{placeholder:e.$t("admin_settings.appearance.description_plac"),type:"text"},domProps:{value:e.selectedLanguage.data.attributes.name},on:{input:[function(t){t.target.composing||e.$set(e.selectedLanguage.data.attributes,"name",t.target.value)},function(t){return e.$updateText("/admin/languages/"+e.selectedLanguage.data.id,"name",e.selectedLanguage.data.attributes.name)}]}})])]}}],null,!1,3715077545)}),e._v(" "),a("AppInputSwitch",{attrs:{title:e.$t("set_as_default_language"),description:e.$t("default_language_disclaimer"),"is-last":!0}},[a("SwitchInput",{staticClass:"switch",class:{"disable-switch":e.selectedLanguage.data.attributes.locale===this.defaultLanguageLocale},attrs:{state:e.selectedLanguage.data.attributes.locale===this.defaultLanguageLocale},on:{input:e.setDefaultLanguage}})],1)],1),e._v(" "),e.selectedLanguage?a("div",{staticClass:"card shadow-card"},[a("FormLabel",[e._v("\n "+e._s(e.$t("edit_translations"))+"\n ")]),e._v(" "),a("InfoBox",[a("p",[e._v("\n Please preserve in your translations special string variables defined in format as\n "),a("b",{staticClass:"text-theme"},[e._v(":variable")]),e._v(" or "),a("b",{staticClass:"text-theme"},[e._v("{variable}")]),e._v(".\n ")])]),e._v(" "),a("div",{staticClass:"sticky top-0 z-10 mb-8 hidden md:block"},[a("SearchInput",{on:{"reset-query":function(t){e.query=""}},model:{value:e.query,callback:function(t){e.query=t},expression:"query"}})],1),e._v(" "),a("ValidationProvider",{attrs:{tag:"div",name:"Language string",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(t){var r=t.errors;return e._l(e.translationList,(function(t,n){return a("AppInputText",{key:n,attrs:{title:e.referenceTranslations[n],error:r[0]}},[a("textarea",{directives:[{name:"model",rawName:"v-model",value:e.selectedLanguage.data.attributes.translations[n],expression:"selectedLanguage.data.attributes.translations[key]"}],staticClass:"focus-border-theme input-dark",class:{"!border-rose-600":r[0]},attrs:{rows:e.selectedLanguage.data.attributes.translations[n].length>=80?3:1},domProps:{value:e.selectedLanguage.data.attributes.translations[n]},on:{input:[function(t){t.target.composing||e.$set(e.selectedLanguage.data.attributes.translations,n,t.target.value)},function(t){return e.$updateText("/admin/languages/"+e.selectedLanguage.data.id+"/strings",n,e.selectedLanguage.data.attributes.translations[n])}]}})])}))}}],null,!1,2702513187)})],1):e._e()]):e._e()],1)]):e._e(),e._v(" "),e.languages?e._e():a("Spinner")],1)}),[],!1,null,null,null).exports}}]); \ No newline at end of file +(self.webpackChunk=self.webpackChunk||[]).push([[7630],{5063:(e,t,a)=>{"use strict";a.d(t,{Z:()=>i});var r=a(3645),n=a.n(r)()((function(e){return e[1]}));n.push([e.id,".mobile-header[data-v-17905508]{background:#fff;display:none;padding:10px 0;position:-webkit-sticky;position:sticky;text-align:center;top:0;z-index:6}.mobile-header>div[data-v-17905508]{align-self:center;flex-grow:1;white-space:nowrap}.mobile-header .go-back[data-v-17905508]{text-align:left}.mobile-header .location-name[data-v-17905508]{color:#1b2539;display:inline-block;font-size:.9375em;font-weight:700;line-height:1;max-width:220px;overflow:hidden;text-align:center;text-overflow:ellipsis;vertical-align:middle;width:100%}.mobile-header .mobile-menu[data-v-17905508]{text-align:right}.mobile-header .icon[data-v-17905508]{margin-top:-4px;vertical-align:middle}@media only screen and (max-width:690px){.mobile-header[data-v-17905508]{display:flex;margin-bottom:15px}}.dark .mobile-header[data-v-17905508]{background:#151515}.dark .mobile-header .location-name[data-v-17905508]{color:#bec6cf}",""]);const i=n},9397:(e,t,a)=>{"use strict";a.d(t,{Z:()=>i});var r=a(3645),n=a.n(r)()((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 i=n},9e3:(e,t,a)=>{"use strict";a.d(t,{Z:()=>i});var r=a(3645),n=a.n(r)()((function(e){return e[1]}));n.push([e.id,".form.inline-form[data-v-54e5f845]{display:flex;justify-content:center;margin:0 auto;position:relative}.form.inline-form .input-wrapper[data-v-54e5f845]{position:relative}.form.inline-form .input-wrapper .error-message[data-v-54e5f845]{bottom:-25px;left:0;position:absolute}.form.block-form .switch-wrapper[data-v-54e5f845]{border-bottom:1px solid #f4f5f6;margin-bottom:13px;padding-bottom:13px}.form.block-form .switch-wrapper[data-v-54e5f845]:last-child{border-bottom:none;margin-bottom:0;padding-bottom:0}.form.block-form .wrapper-inline[data-v-54e5f845]{display:flex;margin:0 -15px}.form.block-form .wrapper-inline .block-wrapper[data-v-54e5f845]{padding:0 15px;width:100%}.form.block-form .block-wrapper[data-v-54e5f845]{margin-bottom:32px}.form.block-form .block-wrapper label[data-v-54e5f845]{color:rgba(27,37,57,.8);display:block;font-size:.875em;font-weight:700;margin-bottom:7px;text-align:left}.form.block-form .block-wrapper[data-v-54e5f845]:last-child{margin-bottom:0}.form.block-form .button[data-v-54e5f845]{margin-top:50px}.form .inline-wrapper[data-v-54e5f845]{align-items:center;display:flex;justify-content:space-between}.form .inline-wrapper .switch-label .input-help[data-v-54e5f845]{padding-top:0}.form .inline-wrapper .switch-label .input-label[data-v-54e5f845]{color:#1b2539;font-size:1em;font-weight:700;margin-bottom:5px}.input-help[data-v-54e5f845]{color:rgba(27,37,57,.7);display:block;font-size:.75em;line-height:1.35;padding-top:10px}.single-line-form[data-v-54e5f845]{display:flex}.single-line-form .submit-button[data-v-54e5f845]{margin-left:20px}.error-message[data-v-54e5f845]{color:#fd397a;display:block;font-size:.875em;padding-top:5px;text-align:left}textarea[data-v-54e5f845]{width:100%}input[type=email].is-error[data-v-54e5f845],input[type=number].is-error[data-v-54e5f845],input[type=password].is-error[data-v-54e5f845],input[type=text].is-error[data-v-54e5f845],textarea.is-error[data-v-54e5f845]{border-color:#fd397a}input[type=email][data-v-54e5f845]::-moz-placeholder,input[type=number][data-v-54e5f845]::-moz-placeholder,input[type=password][data-v-54e5f845]::-moz-placeholder,input[type=text][data-v-54e5f845]::-moz-placeholder,textarea[data-v-54e5f845]::-moz-placeholder{color:rgba(27,37,57,.5);font-size:.9375em}input[type=email][data-v-54e5f845]:-ms-input-placeholder,input[type=number][data-v-54e5f845]:-ms-input-placeholder,input[type=password][data-v-54e5f845]:-ms-input-placeholder,input[type=text][data-v-54e5f845]:-ms-input-placeholder,textarea[data-v-54e5f845]:-ms-input-placeholder{color:rgba(27,37,57,.5);font-size:.9375em}input[type=email][data-v-54e5f845]::placeholder,input[type=number][data-v-54e5f845]::placeholder,input[type=password][data-v-54e5f845]::placeholder,input[type=text][data-v-54e5f845]::placeholder,textarea[data-v-54e5f845]::placeholder{color:rgba(27,37,57,.5);font-size:.9375em}input[type=email][disabled][data-v-54e5f845],input[type=number][disabled][data-v-54e5f845],input[type=password][disabled][data-v-54e5f845],input[type=text][disabled][data-v-54e5f845],textarea[disabled][data-v-54e5f845]{-webkit-text-fill-color:rgba(27,37,57,.8);color:rgba(27,37,57,.8);cursor:not-allowed;opacity:1}input[type=color][data-v-54e5f845]{background:none;border:none;height:40px;min-width:auto!important;outline:none;width:38px!important}.additional-link[data-v-54e5f845]{display:block;font-size:1em;margin-top:50px}.additional-link a[data-v-54e5f845],.additional-link b[data-v-54e5f845]{cursor:pointer}.additional-link a[data-v-54e5f845]:hover,.additional-link b[data-v-54e5f845]:hover{text-decoration:underline}@media only screen and (max-width:1024px){.form[data-v-54e5f845]{max-width:100%}}@media only screen and (max-width:960px){.form .button[data-v-54e5f845]{margin-left:0;margin-right:0;margin-top:20px;width:100%}.form input[data-v-54e5f845],.form textarea[data-v-54e5f845]{min-width:100%;width:100%}.form.block-form .block-wrapper[data-v-54e5f845]{display:block}.form.block-form .block-wrapper label[data-v-54e5f845]{display:block;font-size:.875em;margin-bottom:7px;padding-right:0;padding-top:0;text-align:left!important;width:100%}.form.block-form .button[data-v-54e5f845]{margin-left:0;margin-right:0;margin-top:25px}.form.inline-form[data-v-54e5f845]{display:block}.form.inline-form .input-wrapper .error-message[data-v-54e5f845]{bottom:0;position:relative}.form .button[data-v-54e5f845]{padding:14px 32px}.single-line-form[data-v-54e5f845]{display:block}.single-line-form .submit-button[data-v-54e5f845]{margin-left:0;margin-top:20px;width:100%}input[type=email][data-v-54e5f845],input[type=number][data-v-54e5f845],input[type=password][data-v-54e5f845],input[type=text][data-v-54e5f845],textarea[data-v-54e5f845]{padding:14px 20px}}@media only screen and (max-width:690px){.form.block-form .wrapper-inline[data-v-54e5f845]{display:block}}.dark .form .input-help[data-v-54e5f845]{color:#7d858c}.dark .form.block-form .block-wrapper label[data-v-54e5f845]{color:#bec6cf}.dark .form.block-form .switch-wrapper[data-v-54e5f845]{border-color:hsla(0,0%,100%,.02)}.dark .form .inline-wrapper .switch-label .input-label[data-v-54e5f845]{color:#bec6cf}.dark input[type=email][data-v-54e5f845],.dark input[type=number][data-v-54e5f845],.dark input[type=password][data-v-54e5f845],.dark input[type=text][data-v-54e5f845],.dark textarea[data-v-54e5f845]{background:#1e2024;border-color:#1e2024;color:#bec6cf}.dark input[type=email][data-v-54e5f845]::-moz-placeholder,.dark input[type=number][data-v-54e5f845]::-moz-placeholder,.dark input[type=password][data-v-54e5f845]::-moz-placeholder,.dark input[type=text][data-v-54e5f845]::-moz-placeholder,.dark textarea[data-v-54e5f845]::-moz-placeholder{color:#7d858c}.dark input[type=email][data-v-54e5f845]:-ms-input-placeholder,.dark input[type=number][data-v-54e5f845]:-ms-input-placeholder,.dark input[type=password][data-v-54e5f845]:-ms-input-placeholder,.dark input[type=text][data-v-54e5f845]:-ms-input-placeholder,.dark textarea[data-v-54e5f845]:-ms-input-placeholder{color:#7d858c}.dark input[type=email][data-v-54e5f845]::placeholder,.dark input[type=number][data-v-54e5f845]::placeholder,.dark input[type=password][data-v-54e5f845]::placeholder,.dark input[type=text][data-v-54e5f845]::placeholder,.dark textarea[data-v-54e5f845]::placeholder{color:#7d858c}.dark input[type=email][disabled][data-v-54e5f845],.dark input[type=number][disabled][data-v-54e5f845],.dark input[type=password][disabled][data-v-54e5f845],.dark input[type=text][disabled][data-v-54e5f845],.dark textarea[disabled][data-v-54e5f845]{-webkit-text-fill-color:hsla(208,6%,52%,.8);color:hsla(208,6%,52%,.8)}.dark .popup-wrapper input[type=email][data-v-54e5f845],.dark .popup-wrapper input[type=number][data-v-54e5f845],.dark .popup-wrapper input[type=password][data-v-54e5f845],.dark .popup-wrapper input[type=text][data-v-54e5f845],.dark .popup-wrapper textarea[data-v-54e5f845]{background:#25272c}.search-bar[data-v-54e5f845]{border-radius:8px;position:relative;width:100%}.search-bar input[data-v-54e5f845]{-webkit-appearance:none;background:#f4f5f6;border:1px solid transparent;border-radius:8px;box-shadow:none;font-size:1em;font-weight:700;height:50px;min-width:175px;outline:0;padding:9px 20px 9px 43px;transition:all .15s ease;width:100%}.search-bar input[data-v-54e5f845]::-moz-placeholder{color:#a4adb6;font-size:.875em;font-weight:700}.search-bar input[data-v-54e5f845]:-ms-input-placeholder{color:#a4adb6;font-size:.875em;font-weight:700}.search-bar input[data-v-54e5f845]::placeholder{color:#a4adb6;font-size:.875em;font-weight:700}.search-bar input[data-v-54e5f845]:focus{border-style:solid;border-width:1px}.search-bar input:focus+.icon path[data-v-54e5f845]{color:inherit}.search-bar .icon[data-v-54e5f845]{align-items:center;display:flex;height:100%;left:0;padding:11px 15px;position:absolute;top:0}.search-bar .icon circle[data-v-54e5f845],.search-bar .icon line[data-v-54e5f845]{color:#a4adb6}.search-bar .icon .pointer[data-v-54e5f845]{cursor:pointer}.dark .search-bar input[data-v-54e5f845]{background:#1e2024}",""]);const i=n},7395:(e,t,a)=>{"use strict";a.d(t,{Z:()=>i});var r=a(3645),n=a.n(r)()((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 i=n},5377:(e,t,a)=>{"use strict";a.d(t,{Z:()=>i});var r=a(3645),n=a.n(r)()((function(e){return e[1]}));n.push([e.id,".page-header[data-v-719f11ff]{align-items:center;background:#fff;display:flex;padding-bottom:20px;padding-top:20px;position:-webkit-sticky;position:sticky;top:0;width:100%;z-index:9}.page-header .title[data-v-719f11ff]{color:#1b2539;font-size:1.125em;font-weight:700}.page-header .go-back[data-v-719f11ff]{cursor:pointer;margin-right:10px}.page-header .go-back svg[data-v-719f11ff]{margin-top:-4px;vertical-align:middle}@media only screen and (max-width:960px){.page-header .title[data-v-719f11ff]{font-size:1.125em}}@media only screen and (max-width:690px){.page-header[data-v-719f11ff]{display:none}}.dark .page-header[data-v-719f11ff]{background:#151515}.dark .page-header .title[data-v-719f11ff]{color:#bec6cf}.dark .page-header .icon path[data-v-719f11ff]{fill:#00bc7e}",""]);const i=n},9495:function(e,t,a){!function(e,t){"use strict";function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var r=a(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"}},i={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 a=(void 0===t?{}:t).locale,r=void 0===a?"":a;return Array.isArray(e)?e.every((function(e){return u(e,{locale:r})})):r?(i[r]||i.en).test(e):Object.keys(i).some((function(t){return i[t].test(e)}))},d={validate:u,params:[{name:"locale"}]},c=function(e,t){var a=(void 0===t?{}:t).locale,r=void 0===a?"":a;return Array.isArray(e)?e.every((function(e){return c(e,{locale:r})})):r?(l[r]||l.en).test(e):Object.keys(l).some((function(t){return l[t].test(e)}))},f={validate:c,params:[{name:"locale"}]},v=function(e,t){var a=(void 0===t?{}:t).locale,r=void 0===a?"":a;return Array.isArray(e)?e.every((function(e){return v(e,{locale:r})})):r?(s[r]||s.en).test(e):Object.keys(s).some((function(t){return s[t].test(e)}))},p={validate:v,params:[{name:"locale"}]},m=function(e,t){var a=(void 0===t?{}:t).locale,r=void 0===a?"":a;return Array.isArray(e)?e.every((function(e){return m(e,{locale:r})})):r?(o[r]||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 a=void 0===t?{}:t,r=a.min,n=a.max;return Array.isArray(e)?e.every((function(e){return!!g(e,{min:r,max:n})})):Number(r)<=e&&Number(n)>=e},b={validate:g,params:[{name:"min"},{name:"max"}]},y={validate:function(e,t){var a=t.target;return String(e)===String(a)},params:[{name:"target",isTarget:!0}]},x=function(e,t){var a=t.length;if(Array.isArray(e))return e.every((function(e){return x(e,{length:a})}));var r=String(e);return/^[0-9]*$/.test(r)&&r.length===a},_={validate:x,params:[{name:"length",cast:function(e){return Number(e)}}]},k=function(e,t,a){var r=window.URL||window.webkitURL;return new Promise((function(n){var i=new Image;i.onerror=function(){return n(!1)},i.onload=function(){return n(i.width===t&&i.height===a)},i.src=r.createObjectURL(e)}))},w=function(e,t){var a=t.width,r=t.height,n=[];e=Array.isArray(e)?e:[e];for(var i=0;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 a&&!Array.isArray(e)&&(e=String(e).split(",").map((function(e){return e.trim()}))),Array.isArray(e)?e.every((function(e){return r.test(String(e))})):r.test(String(e))},params:[{name:"multiple",default:!1}]};function Z(e){return e!=e}function z(e){return null==e}function C(e){return Array.isArray(e)&&0===e.length}var O=function(e){return null!==e&&e&&"object"==typeof e&&!Array.isArray(e)};function S(e,t){return!(!Z(e)||!Z(t))||e===t}function R(e){return""!==e&&!z(e)}function E(e){return"function"==typeof e}function L(e){return E(e)&&!!e.__locatorRef}function q(e,t){var a=Array.isArray(e)?e:j(e);if(E(a.findIndex))return a.findIndex(t);for(var r=0;r=0:Array.isArray(e)?e.every((function(e){return ne(e,{length:a})})):String(e).length<=a},ie={validate:ne,params:[{name:"length",cast:function(e){return Number(e)}}]},oe=function(e,t){var a=t.max;return!z(e)&&""!==e&&(Array.isArray(e)?e.length>0&&e.every((function(e){return oe(e,{max:a})})):Number(e)<=a)},se={validate:oe,params:[{name:"max",cast:function(e){return Number(e)}}]},le=function(e,t){var a=new RegExp(t.join("|").replace("*",".+")+"$","i");return Array.isArray(e)?e.every((function(e){return a.test(e.type)})):a.test(e.type)},ue={validate:le},de=function(e,t){var a=t.length;return!z(e)&&(Array.isArray(e)?e.every((function(e){return de(e,{length:a})})):String(e).length>=a)},ce={validate:de,params:[{name:"length",cast:function(e){return Number(e)}}]},fe=function(e,t){var a=t.min;return!z(e)&&""!==e&&(Array.isArray(e)?e.length>0&&e.every((function(e){return fe(e,{min:a})})):Number(e)>=a)},ve={validate:fe,params:[{name:"min",cast:function(e){return Number(e)}}]},pe=/^[٠١٢٣٤٥٦٧٨٩]+$/,me=/^[0-9]+$/,he={validate:function(e){var t=function(e){var t=String(e);return me.test(t)||pe.test(t)};return Array.isArray(e)?e.every(t):t(e)}},ge=function(e,t){var a=t.regex;return Array.isArray(e)?e.every((function(e){return ge(e,{regex:a})})):a.test(String(e))},be={validate:ge,params:[{name:"regex",cast:function(e){return"string"==typeof e?new RegExp(e):e}}]},ye={validate:function(e,t){var a=(void 0===t?{allowFalse:!0}:t).allowFalse,r={valid:!1,required:!0};return z(e)||C(e)?r:!1!==e||a?(r.valid=!!String(e).trim().length,r):r},params:[{name:"allowFalse",default:!0}],computesRequired:!0},xe=function(e){return C(e)||F([!1,null,void 0],e)||!String(e).trim().length},_e=function(e,t){var a,r=t.target,n=t.values;return n&&n.length?(Array.isArray(n)||"string"!=typeof n||(n=[n]),a=n.some((function(e){return e==String(r).trim()}))):a=!xe(r),a?{valid:!xe(e),required:a}:{valid:!0,required:a}},ke={validate:_e,params:[{name:"target",isTarget:!0},{name:"values"}],computesRequired:!0},we=function(e,t){var a=t.size;if(isNaN(a))return!1;var r=1024*a;if(!Array.isArray(e))return e.size<=r;for(var n=0;nr)return!1;return!0},$e={validate:we,params:[{name:"size",cast:function(e){return Number(e)}}]},Ae=function(e,t){var a=t||{},r=a.decimals,n=void 0===r?0:r,i=a.separator,o=new RegExp("^-?\\d+"+("comma"===(void 0===i?"dot":i)?",?":"\\.?")+(0===n?"\\d*":"(\\d{"+n+"})?")+"$");return Array.isArray(e)?e.every((function(e){return o.test(String(e))})):o.test(String(e))},Ze={validate:Ae,params:[{name:"decimals",default:0},{name:"separator",default:"dot"}]},ze=Object.freeze({__proto__:null,alpha_dash:f,alpha_num:p,alpha_spaces:h,alpha:d,between:b,confirmed:y,digits:_,dimensions:$,email:A,ext:Y,image:J,oneOf:U,integer:Q,length:re,is_not:te,is:ee,max:ie,max_value:se,mimes:ue,min:ce,min_value:ve,excluded:K,numeric:he,regex:be,required:ye,required_if:ke,size:$e,double:Ze}),Ce=function(){return Ce=Object.assign||function(e){for(var t,a=1,r=arguments.length;a0&&n[n.length-1])||6!==i[0]&&2!==i[0])){o=0;continue}if(3===i[0]&&(!n||i[1]>n[0]&&i[1]=0&&Me.getRuleDefinition("max")&&(r.max=a.maxlength),a.minlength>=0&&Me.getRuleDefinition("min")&&(r.min=a.minlength),"number"===a.type&&(R(a.min)&&Me.getRuleDefinition("min_value")&&(r.min_value=Number(a.min)),R(a.max)&&Me.getRuleDefinition("max_value")&&(r.max_value=Number(a.max))),r):r}function At(e){var t,a=["input","select","textarea"],r=null===(t=e.data)||void 0===t?void 0:t.attrs;if(!F(a,e.tag)||!r)return{};var n={};return"required"in r&&!1!==r.required&&Me.getRuleDefinition("required")&&(n.required="checkbox"!==r.type||[!0]),ct(e)?Ke(Ce(Ce({},n),$t(e))):Ke(n)}function Zt(e,t){return e.$scopedSlots.default?e.$scopedSlots.default(t)||[]:e.$slots.default||[]}function zt(e,t){return!(e._ignoreImmediate||!e.immediate)||!(S(e.value,t)||!e.normalizedEvents.length)||!!e._needsValidation||!e.initialized&&void 0===t}function Ct(e){return Ce(Ce({},e.flags),{errors:e.errors,classes:e.classes,failedRules:e.failedRules,reset:function(){return e.reset()},validate:function(){for(var t=[],a=0;a0)){var u=Le().useConstraintAttrs?At(e):{};lt(t._resolvedRules,u)||(t._needsValidation=!0),kt(e)&&(t.fieldName=(null===(o=null===(i=e.data)||void 0===i?void 0:i.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,Lt(t,e)}}))}return this.slim&&a.length<=1?a[0]:e(this.tag,a)},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(a){t.flags[a]=e[a]}))},syncValue:function(e){var t=dt(e);this.value=t,this.flags.changed=!lt(this.initialValue,t)},reset:function(){var e=this;this.errors=[],this.initialValue=this.value;var t=V();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;t0&&this.syncValue(e[0]),[2,Rt(this)]}))}))},validateSilent:function(){return Oe(this,void 0,void 0,(function(){var e,t;return Se(this,(function(a){switch(a.label){case 0:return this.setFlags({pending:!0}),e=Ce(Ce({},this._resolvedRules),this.normalizedRules),Object.defineProperty(e,"_$$isNormalized",{value:!0,writable:!1,enumerable:!1,configurable:!1}),[4,Qe(this.value,e,Ce(Ce({name:this.name||this.fieldName},Tt(this)),{bails:this.bails,skipIfEmpty:this.skipIfEmpty,isInitial:!this.initialized,customMessages:this.customMessages}))];case 1:return t=a.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,a=e.failedRules,r=e.regenerateMap;this.errors=t,this._regenerateMap=r,this.failedRules=Ce({},a||{}),this.setFlags({valid:!t.length,passed:!t.length,invalid:!!t.length,failed:!!t.length,validated:!0,changed:!lt(this.value,this.initialValue)})},registerField:function(){Nt(this)},checkComputesRequiredState:function(){var e=Ce(Ce({},this._resolvedRules),this.normalizedRules);return Object.keys(e).some(Me.isRequireRule)}}});function jt(e,t){for(var a={},r=Object.keys(t),n=r.length,i=function(n){var i=r[n],o=e&&e[i]||i,s=t[i];return z(s)?"continue":"valid"!==i&&"invalid"!==i||t.validated?void("string"==typeof o?a[o]=s:Array.isArray(o)&&o.forEach((function(e){a[e]=s}))):"continue"},o=0;o{"use strict";a.d(t,{Z:()=>n});const r={name:"AppInputSwitch",props:["description","isLast","title","error"]};const n=(0,a(1900).Z)(r,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"flex w-full items-center justify-between space-x-2 sm:space-x-8",class:{"mb-6 sm:mb-7":!e.isLast}},[a("div",{staticClass:"leading-5"},[a("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?a("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?a("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(" "),a("div",[e._t("default")],2)])}),[],!1,null,null,null).exports},4383:(e,t,a)=>{"use strict";a.d(t,{Z:()=>n});const r={name:"AppInputText",props:["description","isLast","title","error"]};const n=(0,a(1900).Z)(r,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{class:{"mb-6 sm:mb-7":!e.isLast}},[e.title?a("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?a("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?a("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},3802:(e,t,a)=>{"use strict";a.d(t,{Z:()=>u});a(826);var r=a(9101);const n={name:"MobileHeader",props:["title"],components:{ChevronLeftIcon:r.wyc,MenuIcon:r.Oqj},methods:{goBack:function(){this.$router.back()}}};var i=a(3379),o=a.n(i),s=a(5063),l={insert:"head",singleton:!1};o()(s.Z,l);s.Z.locals;const u=(0,a(1900).Z)(n,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("header",{staticClass:"mobile-header"},[a("div",{staticClass:"go-back",on:{click:e.goBack}},[a("chevron-left-icon",{staticClass:"icon",attrs:{size:"17"}})],1),e._v(" "),a("div",{staticClass:"location-name"},[e._v(e._s(e.title))]),e._v(" "),a("div",{staticClass:"mobile-menu",on:{click:function(t){return e.$showMobileMenu("user-navigation")}}},[a("menu-icon",{staticClass:"icon",attrs:{size:"17"}})],1)])}),[],!1,null,"17905508",null).exports},1655:(e,t,a)=>{"use strict";a.d(t,{Z:()=>i});var r=a(9101);const n={name:"FormLabel",props:["icon"],components:{TrendingUpIcon:r.Zab,WifiIcon:r.kVp,ListIcon:r.DE2,MailIcon:r.bV6,InfoIcon:r.szr,DatabaseIcon:r.VHe,UsersIcon:r.oyc,CreditCardIcon:r.ciH,DollarSignIcon:r.bkH,SmartphoneIcon:r.BEV,HardDriveIcon:r.zvn,BarChartIcon:r.eJP,SettingsIcon:r.ewm,FileTextIcon:r.zPP,ShieldIcon:r.b7C,FrownIcon:r.eFi,Edit2Icon:r.me4,BellIcon:r.Dkj,KeyIcon:r._m8}};const i=(0,a(1900).Z)(n,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"mb-8 flex items-center"},[e.icon?e._e():a("edit-2-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}),e._v(" "),"frown"===e.icon?a("frown-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"list"===e.icon?a("list-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"info"===e.icon?a("info-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"database"===e.icon?a("database-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"file-text"===e.icon?a("file-text-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"dollar"===e.icon?a("dollar-sign-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"credit-card"===e.icon?a("credit-card-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"bar-chart"===e.icon?a("bar-chart-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"settings"===e.icon?a("settings-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"hard-drive"===e.icon?a("hard-drive-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"mail"===e.icon?a("mail-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"smartphone"===e.icon?a("smartphone-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"shield"===e.icon?a("shield-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"bell"===e.icon?a("bell-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"key"===e.icon?a("key-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"users"===e.icon?a("users-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"wifi"===e.icon?a("wifi-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"trending-up"===e.icon?a("trending-up-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),a("b",{staticClass:"text-md font-bold dark:text-gray-200 sm:text-lg"},[e._t("default")],2)],1)}),[],!1,null,null,null).exports},6291:(e,t,a)=>{"use strict";a.d(t,{Z:()=>l});const r={name:"InfoBox",props:["type"]};var n=a(3379),i=a.n(n),o=a(9397),s={insert:"head",singleton:!1};i()(o.Z,s);o.Z.locals;const l=(0,a(1900).Z)(r,(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},667:(e,t,a)=>{"use strict";a.d(t,{Z:()=>l});const r={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=a(3379),i=a.n(n),o=a(7395),s={insert:"head",singleton:!1};i()(o.Z,s);o.Z.locals;const l=(0,a(1900).Z)(r,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("div",{staticClass:"switch-content"},[e.label?a("label",{staticClass:"input-label"},[e._v(" "+e._s(e.label)+": ")]):e._e(),e._v(" "),e.info?a("small",{staticClass:"input-info"},[e._v("\n "+e._s(e.info)+"\n ")]):e._e()]),e._v(" "),a("div",{staticClass:"switch-content text-right"},[a("div",{staticClass:"switch",class:{active:e.state},on:{click:e.changeState}},[a("div",{staticClass:"switch-button"})])])])}),[],!1,null,"615ed0c1",null).exports},522:(e,t,a)=>{"use strict";a.d(t,{Z:()=>l});const r={name:"PageHeader",props:["title","canBack"],components:{ChevronLeftIcon:a(9101).wyc}};var n=a(3379),i=a.n(n),o=a(5377),s={insert:"head",singleton:!1};i()(o.Z,s);o.Z.locals;const l=(0,a(1900).Z)(r,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"page-header"},[e.canBack?a("div",{staticClass:"go-back",on:{click:function(t){return e.$router.back()}}},[a("chevron-left-icon",{attrs:{size:"17"}})],1):e._e(),e._v(" "),a("div",{staticClass:"content"},[a("h1",{staticClass:"title"},[e._v(e._s(e.title))])])])}),[],!1,null,"719f11ff",null).exports},6909:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>A});var r=a(9194),n=a(4383),i=a(9495),o=a(3911),s=a(667),l=a(9101);const u={name:"SearchInput",components:{SearchIcon:l.W1M,XIcon:l.b0D},data:function(){return{query:void 0}},methods:{clearInput:function(){this.query=void 0,this.$emit("reset-query")}}};var d=a(3379),c=a.n(d),f=a(9e3),v={insert:"head",singleton:!1};c()(f.Z,v);f.Z.locals;var p=a(1900);const m=(0,p.Z)(u,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"search-bar"},[e.query?e._e():a("div",{staticClass:"icon"},[a("search-icon",{attrs:{size:"19"}})],1),e._v(" "),e.query?a("div",{staticClass:"icon",on:{click:e.clearInput}},[a("x-icon",{staticClass:"pointer",attrs:{size:"19"}})],1):e._e(),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.query,expression:"query"}],staticClass:"query focus-border-theme",attrs:{type:"text",name:"searchInput",placeholder:e.$t("search_translations")},domProps:{value:e.query},on:{input:[function(t){t.target.composing||(e.query=t.target.value)},function(t){return e.$emit("input",e.query)}]}})])}),[],!1,null,"54e5f845",null).exports;var h=a(1655),g=a(3802),b=a(6746),y=a(6291),x=a(522),_=a(7318),k=a(6486),w=a(826);const $={name:"Language",components:{ValidationProvider:i.ValidationProvider,ValidationObserver:i.ValidationObserver,MobileActionButton:o.Z,AppInputSwitch:r.Z,AppInputText:n.Z,MobileHeader:g.Z,SearchInput:m,SwitchInput:s.Z,ButtonBase:b.Z,PageHeader:x.Z,FormLabel:h.Z,PlusIcon:l.pOD,InfoBox:y.Z,Spinner:_.Z,XIcon:l.b0D},data:function(){return{searchedTranslationResults:void 0,referenceTranslations:void 0,defaultLanguageLocale:void 0,selectedLanguage:void 0,languages:void 0,query:"",fixedNav:!1}},watch:{query:(0,k.debounce)((function(e){this.searchedTranslationResults=(0,k.omitBy)(this.selectedLanguage.data.attributes.translations,(function(t){return!t.toLowerCase().includes(e.toLowerCase())})),document.getElementById("single-page").scrollTop=0}),300)},computed:{isSearching:function(){return this.searchedTranslationResults&&""!==this.query},translationList:function(){return this.isSearching?this.searchedTranslationResults:this.selectedLanguage.data.attributes.translations}},methods:{setDefaultLanguage:function(){this.$updateText("/admin/settings","language",this.selectedLanguage.data.attributes.locale),this.defaultLanguageLocale=this.selectedLanguage.data.attributes.locale,setTimeout((function(){return location.reload()}),500)},getLanguages:function(){var e=this;axios.get("/api/admin/languages").then((function(t){e.languages=t.data.data,e.referenceTranslations=t.data.meta.reference_translations,e.selectedLanguage=t.data.meta.current_language,e.defaultLanguageLocale=t.data.meta.current_language.data.attributes.locale})).catch((function(){e.$isSomethingWrong()}))},getLanguage:function(e){var t=this;this.selectedLanguage=void 0,axios.get("/api/admin/languages/".concat(e.data.id)).then((function(e){t.selectedLanguage=e.data})).catch((function(){t.$isSomethingWrong()}))},deleteLanguage:function(e){w.U.$emit("confirm:open",{title:'Delete "'.concat(e.data.attributes.name,'" language?'),message:"Your language will be permanently deleted.",buttonColor:"danger-solid",action:{id:e.data.id,operation:"delete-language"}})},createLanguage:function(){w.U.$emit("popup:open",{name:"create-language"})}},mounted:function(){var e=this;this.getLanguages(),w.U.$on("reload:languages",(function(){return e.getLanguages()})),w.U.$on("action:confirmed",(function(t){"delete-language"===t.operation&&axios.delete("/api/admin/languages/".concat(t.id)).then((function(){return e.getLanguages()})).catch((function(){return e.$isSomethingWrong()}))})),window.addEventListener("scroll",(function(){var t=document.getElementById("card-navigation");e.fixedNav=t.getBoundingClientRect().top<0}))},destroyed:function(){w.U.$off("action:confirmed")}};const A=(0,p.Z)($,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[e.languages?a("div",{staticClass:"mb-24 block md:hidden",staticStyle:{height:"62px"},attrs:{id:"card-navigation"}},[a("div",{staticClass:"z-20 bg-white pt-3 sm:pt-5",class:{"fixed top-0 left-0 right-0 z-10 rounded-none bg-white bg-opacity-70 px-6 backdrop-blur-lg backdrop-filter dark:bg-dark-foreground":e.fixedNav,"card sticky top-0 z-10 block py-0 shadow-card md:hidden":!e.fixedNav}},[a("SearchInput",{on:{"reset-query":function(t){e.query=""}},model:{value:e.query,callback:function(t){e.query=t},expression:"query"}}),e._v(" "),a("div",{staticClass:"flex items-center"},[e._l(e.languages,(function(t){return a("div",{key:t.data.id,staticClass:"border-bottom-theme inline-block border-b-2 border-transparent px-4 py-5 text-sm font-bold",class:{"text-theme router-link-active":e.selectedLanguage&&e.selectedLanguage.data.attributes.locale===t.data.attributes.locale,"text-gray-600":!e.selectedLanguage&&e.selectedLanguage.data.attributes.locale!==t.data.attributes.locale},on:{click:function(a){return e.getLanguage(t)}}},[e._v("\n "+e._s(t.data.attributes.name)+"\n ")])})),e._v(" "),a("div",{staticClass:"ml-2 cursor-pointer",on:{click:e.createLanguage}},[a("plus-icon",{staticClass:"vue-feather text-gray-400",attrs:{size:"14"}})],1)],2)],1)]):e._e(),e._v(" "),e.languages?a("div",{staticClass:"flex md:space-x-6"},[a("div",{staticClass:"hidden md:block"},[a("div",{staticClass:"card sticky top-0 shadow-card"},[a("label",{staticClass:"mb-2 text-xs font-bold text-gray-400"},[e._v("\n "+e._s(e.$t("languages"))+"\n ")]),e._v(" "),e._l(e.languages,(function(t){return a("div",{key:t.data.id,staticClass:"group flex cursor-pointer items-center justify-between py-2 pr-4",on:{click:function(a){return e.getLanguage(t)}}},[a("label",{staticClass:"text-base font-bold",class:{"text-theme":e.selectedLanguage&&e.selectedLanguage.data.attributes.locale===t.data.attributes.locale}},[e._v("\n "+e._s(t.data.attributes.name)+"\n ")]),e._v(" "),"en"!==t.data.attributes.locale?a("x-icon",{staticClass:"opacity-0 group-hover:opacity-100",attrs:{size:"12"},on:{click:function(a){return a.stopPropagation(),e.deleteLanguage(t)}}}):e._e()],1)})),e._v(" "),a("MobileActionButton",{staticClass:"mt-5 whitespace-nowrap",attrs:{icon:"plus"},nativeOn:{click:function(t){return e.createLanguage.apply(null,arguments)}}},[e._v("\n "+e._s(e.$t("add_language"))+"\n ")])],2)]),e._v(" "),a("div",{staticClass:"dynamic-content"},[e.selectedLanguage?e._e():a("Spinner",{staticClass:"spinner"}),e._v(" "),e.selectedLanguage?a("div",[e.isSearching?e._e():a("div",{staticClass:"card shadow-card"},[a("FormLabel",{attrs:{icon:"settings"}},[e._v("\n "+e._s(e.$t("language_settings"))+"\n ")]),e._v(" "),a("ValidationProvider",{attrs:{tag:"div",mode:"passive",name:"Language name",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(t){var r=t.errors;return[a("AppInputText",{attrs:{title:e.$t("language_name"),error:r[0]}},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.selectedLanguage.data.attributes.name,expression:"selectedLanguage.data.attributes.name"}],staticClass:"focus-border-theme input-dark",class:{"!border-rose-600":r[0]},attrs:{placeholder:e.$t("admin_settings.appearance.description_plac"),type:"text"},domProps:{value:e.selectedLanguage.data.attributes.name},on:{input:[function(t){t.target.composing||e.$set(e.selectedLanguage.data.attributes,"name",t.target.value)},function(t){return e.$updateText("/admin/languages/"+e.selectedLanguage.data.id,"name",e.selectedLanguage.data.attributes.name)}]}})])]}}],null,!1,3715077545)}),e._v(" "),a("AppInputSwitch",{attrs:{title:e.$t("set_as_default_language"),description:e.$t("default_language_disclaimer"),"is-last":!0}},[a("SwitchInput",{staticClass:"switch",class:{"disable-switch":e.selectedLanguage.data.attributes.locale===this.defaultLanguageLocale},attrs:{state:e.selectedLanguage.data.attributes.locale===this.defaultLanguageLocale},on:{input:e.setDefaultLanguage}})],1)],1),e._v(" "),e.selectedLanguage?a("div",{staticClass:"card shadow-card"},[a("FormLabel",[e._v("\n "+e._s(e.$t("edit_translations"))+"\n ")]),e._v(" "),a("InfoBox",[a("p",[e._v("\n Please preserve in your translations special string variables defined in format as\n "),a("b",{staticClass:"text-theme"},[e._v(":variable")]),e._v(" or "),a("b",{staticClass:"text-theme"},[e._v("{variable}")]),e._v(".\n ")])]),e._v(" "),a("div",{staticClass:"sticky top-0 z-10 mb-8 hidden md:block"},[a("SearchInput",{on:{"reset-query":function(t){e.query=""}},model:{value:e.query,callback:function(t){e.query=t},expression:"query"}})],1),e._v(" "),a("ValidationProvider",{attrs:{tag:"div",name:"Language string",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(t){var r=t.errors;return e._l(e.translationList,(function(t,n){return a("AppInputText",{key:n,attrs:{title:e.referenceTranslations[n],error:r[0]}},[a("textarea",{directives:[{name:"model",rawName:"v-model",value:e.selectedLanguage.data.attributes.translations[n],expression:"selectedLanguage.data.attributes.translations[key]"}],staticClass:"focus-border-theme input-dark",class:{"!border-rose-600":r[0]},attrs:{rows:e.selectedLanguage.data.attributes.translations[n].length>=80?3:1},domProps:{value:e.selectedLanguage.data.attributes.translations[n]},on:{input:[function(t){t.target.composing||e.$set(e.selectedLanguage.data.attributes.translations,n,t.target.value)},function(t){return e.$updateText("/admin/languages/"+e.selectedLanguage.data.id+"/strings",n,e.selectedLanguage.data.attributes.translations[n])}]}})])}))}}],null,!1,2702513187)})],1):e._e()]):e._e()],1)]):e._e(),e._v(" "),e.languages?e._e():a("Spinner")],1)}),[],!1,null,null,null).exports}}]); \ No newline at end of file diff --git a/public/chunks/app-others.js b/public/chunks/app-others.js index 480b458a..94fb5304 100644 --- a/public/chunks/app-others.js +++ b/public/chunks/app-others.js @@ -1,2 +1,2 @@ /*! For license information please see app-others.js.LICENSE.txt */ -(self.webpackChunk=self.webpackChunk||[]).push([[1719],{2189:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var r=i(3645),n=i.n(r)()((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,i)=>{"use strict";i.d(t,{Z:()=>a});var r=i(3645),n=i.n(r)()((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},1213:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var r=i(3645),n=i.n(r)()((function(e){return e[1]}));n.push([e.id,"",""]);const a=n},4479:(e,t,i)=>{"use strict";i.d(t,{C1:()=>a});function r(e){return null==e}function n(e){return Array.isArray(e)&&0===e.length}var a={validate:function(e,t){var i=(void 0===t?{allowFalse:!0}:t).allowFalse,a={valid:!1,required:!0};return r(e)||n(e)?a:!1!==e||i?(a.valid=!!String(e).trim().length,a):a},params:[{name:"allowFalse",default:!0}],computesRequired:!0}},9495:function(e,t,i){!function(e,t){"use strict";function i(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var r=i(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},s={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},o={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 i=(void 0===t?{}:t).locale,r=void 0===i?"":i;return Array.isArray(e)?e.every((function(e){return u(e,{locale:r})})):r?(a[r]||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 i=(void 0===t?{}:t).locale,r=void 0===i?"":i;return Array.isArray(e)?e.every((function(e){return d(e,{locale:r})})):r?(l[r]||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 i=(void 0===t?{}:t).locale,r=void 0===i?"":i;return Array.isArray(e)?e.every((function(e){return f(e,{locale:r})})):r?(o[r]||o.en).test(e):Object.keys(o).some((function(t){return o[t].test(e)}))},v={validate:f,params:[{name:"locale"}]},h=function(e,t){var i=(void 0===t?{}:t).locale,r=void 0===i?"":i;return Array.isArray(e)?e.every((function(e){return h(e,{locale:r})})):r?(s[r]||s.en).test(e):Object.keys(s).some((function(t){return s[t].test(e)}))},m={validate:h,params:[{name:"locale"}]},g=function(e,t){var i=void 0===t?{}:t,r=i.min,n=i.max;return Array.isArray(e)?e.every((function(e){return!!g(e,{min:r,max:n})})):Number(r)<=e&&Number(n)>=e},_={validate:g,params:[{name:"min"},{name:"max"}]},b={validate:function(e,t){var i=t.target;return String(e)===String(i)},params:[{name:"target",isTarget:!0}]},y=function(e,t){var i=t.length;if(Array.isArray(e))return e.every((function(e){return y(e,{length:i})}));var r=String(e);return/^[0-9]*$/.test(r)&&r.length===i},$={validate:y,params:[{name:"length",cast:function(e){return Number(e)}}]},x=function(e,t,i){var r=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===i)},a.src=r.createObjectURL(e)}))},A=function(e,t){var i=t.width,r=t.height,n=[];e=Array.isArray(e)?e:[e];for(var a=0;a()\[\]\\.,;:\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 i&&!Array.isArray(e)&&(e=String(e).split(",").map((function(e){return e.trim()}))),Array.isArray(e)?e.every((function(e){return r.test(String(e))})):r.test(String(e))},params:[{name:"multiple",default:!1}]};function O(e){return e!=e}function C(e){return null==e}function Z(e){return Array.isArray(e)&&0===e.length}var S=function(e){return null!==e&&e&&"object"==typeof e&&!Array.isArray(e)};function F(e,t){return!(!O(e)||!O(t))||e===t}function E(e){return""!==e&&!C(e)}function R(e){return"function"==typeof e}function I(e){return R(e)&&!!e.__locatorRef}function T(e,t){var i=Array.isArray(e)?e:q(e);if(R(i.findIndex))return i.findIndex(t);for(var r=0;r=0:Array.isArray(e)?e.every((function(e){return ne(e,{length:i})})):String(e).length<=i},ae={validate:ne,params:[{name:"length",cast:function(e){return Number(e)}}]},se=function(e,t){var i=t.max;return!C(e)&&""!==e&&(Array.isArray(e)?e.length>0&&e.every((function(e){return se(e,{max:i})})):Number(e)<=i)},oe={validate:se,params:[{name:"max",cast:function(e){return Number(e)}}]},le=function(e,t){var i=new RegExp(t.join("|").replace("*",".+")+"$","i");return Array.isArray(e)?e.every((function(e){return i.test(e.type)})):i.test(e.type)},ue={validate:le},ce=function(e,t){var i=t.length;return!C(e)&&(Array.isArray(e)?e.every((function(e){return ce(e,{length:i})})):String(e).length>=i)},de={validate:ce,params:[{name:"length",cast:function(e){return Number(e)}}]},pe=function(e,t){var i=t.min;return!C(e)&&""!==e&&(Array.isArray(e)?e.length>0&&e.every((function(e){return pe(e,{min:i})})):Number(e)>=i)},fe={validate:pe,params:[{name:"min",cast:function(e){return Number(e)}}]},ve=/^[٠١٢٣٤٥٦٧٨٩]+$/,he=/^[0-9]+$/,me={validate:function(e){var t=function(e){var t=String(e);return he.test(t)||ve.test(t)};return Array.isArray(e)?e.every(t):t(e)}},ge=function(e,t){var i=t.regex;return Array.isArray(e)?e.every((function(e){return ge(e,{regex:i})})):i.test(String(e))},_e={validate:ge,params:[{name:"regex",cast:function(e){return"string"==typeof e?new RegExp(e):e}}]},be={validate:function(e,t){var i=(void 0===t?{allowFalse:!0}:t).allowFalse,r={valid:!1,required:!0};return C(e)||Z(e)?r:!1!==e||i?(r.valid=!!String(e).trim().length,r):r},params:[{name:"allowFalse",default:!0}],computesRequired:!0},ye=function(e){return Z(e)||z([!1,null,void 0],e)||!String(e).trim().length},$e=function(e,t){var i,r=t.target,n=t.values;return n&&n.length?(Array.isArray(n)||"string"!=typeof n||(n=[n]),i=n.some((function(e){return e==String(r).trim()}))):i=!ye(r),i?{valid:!ye(e),required:i}:{valid:!0,required:i}},xe={validate:$e,params:[{name:"target",isTarget:!0},{name:"values"}],computesRequired:!0},Ae=function(e,t){var i=t.size;if(isNaN(i))return!1;var r=1024*i;if(!Array.isArray(e))return e.size<=r;for(var n=0;nr)return!1;return!0},we={validate:Ae,params:[{name:"size",cast:function(e){return Number(e)}}]},ke=function(e,t){var i=t||{},r=i.decimals,n=void 0===r?0:r,a=i.separator,s=new RegExp("^-?\\d+"+("comma"===(void 0===a?"dot":a)?",?":"\\.?")+(0===n?"\\d*":"(\\d{"+n+"})?")+"$");return Array.isArray(e)?e.every((function(e){return s.test(String(e))})):s.test(String(e))},Oe={validate:ke,params:[{name:"decimals",default:0},{name:"separator",default:"dot"}]},Ce=Object.freeze({__proto__:null,alpha_dash:p,alpha_num:v,alpha_spaces:m,alpha:c,between:_,confirmed:b,digits:$,dimensions:w,email:k,ext:Y,image:Q,oneOf:W,integer:X,length:re,is_not:te,is:ee,max:ae,max_value:oe,mimes:ue,min:de,min_value:fe,excluded:K,numeric:me,regex:_e,required:be,required_if:xe,size:we,double:Oe}),Ze=function(){return Ze=Object.assign||function(e){for(var t,i=1,r=arguments.length;i0&&n[n.length-1])||6!==a[0]&&2!==a[0])){s=0;continue}if(3===a[0]&&(!n||a[1]>n[0]&&a[1]=0&&Be.getRuleDefinition("max")&&(r.max=i.maxlength),i.minlength>=0&&Be.getRuleDefinition("min")&&(r.min=i.minlength),"number"===i.type&&(E(i.min)&&Be.getRuleDefinition("min_value")&&(r.min_value=Number(i.min)),E(i.max)&&Be.getRuleDefinition("max_value")&&(r.max_value=Number(i.max))),r):r}function kt(e){var t,i=["input","select","textarea"],r=null===(t=e.data)||void 0===t?void 0:t.attrs;if(!z(i,e.tag)||!r)return{};var n={};return"required"in r&&!1!==r.required&&Be.getRuleDefinition("required")&&(n.required="checkbox"!==r.type||[!0]),dt(e)?Ke(Ze(Ze({},n),wt(e))):Ke(n)}function Ot(e,t){return e.$scopedSlots.default?e.$scopedSlots.default(t)||[]:e.$slots.default||[]}function Ct(e,t){return!(e._ignoreImmediate||!e.immediate)||!(F(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=[],i=0;i0)){var u=Ie().useConstraintAttrs?kt(e):{};lt(t._resolvedRules,u)||(t._needsValidation=!0),xt(e)&&(t.fieldName=(null===(s=null===(a=e.data)||void 0===a?void 0:a.attrs)||void 0===s?void 0:s.name)||(null===(l=null===(o=e.data)||void 0===o?void 0:o.attrs)||void 0===l?void 0:l.id)),t._resolvedRules=u,It(t,e)}}))}return this.slim&&i.length<=1?i[0]:e(this.tag,i)},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(i){t.flags[i]=e[i]}))},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=N();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;t0&&this.syncValue(e[0]),[2,Et(this)]}))}))},validateSilent:function(){return Se(this,void 0,void 0,(function(){var e,t;return Fe(this,(function(i){switch(i.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,Xe(this.value,e,Ze(Ze({name:this.name||this.fieldName},Lt(this)),{bails:this.bails,skipIfEmpty:this.skipIfEmpty,isInitial:!this.initialized,customMessages:this.customMessages}))];case 1:return t=i.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,i=e.failedRules,r=e.regenerateMap;this.errors=t,this._regenerateMap=r,this.failedRules=Ze({},i||{}),this.setFlags({valid:!t.length,passed:!t.length,invalid:!!t.length,failed:!!t.length,validated:!0,changed:!lt(this.value,this.initialValue)})},registerField:function(){Vt(this)},checkComputesRequiredState:function(){var e=Ze(Ze({},this._resolvedRules),this.normalizedRules);return Object.keys(e).some(Be.isRequireRule)}}});function qt(e,t){for(var i={},r=Object.keys(t),n=r.length,a=function(n){var a=r[n],s=e&&e[a]||a,o=t[a];return C(o)?"continue":"valid"!==a&&"invalid"!==a||t.validated?void("string"==typeof s?i[s]=o:Array.isArray(s)&&s.forEach((function(e){i[e]=o}))):"continue"},s=0;s{"use strict";i.d(t,{Z:()=>n});const r={name:"AppInputButton",props:["description","isLast","title","error"]};const n=(0,i(1900).Z)(r,(function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"w-full justify-between space-y-4 sm:flex sm:space-x-8 sm:space-x-2 sm:space-y-0",class:{"mb-6 sm:mb-7":!e.isLast}},[i("div",{staticClass:"leading-5"},[i("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?i("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?i("span",{staticClass:"error-message"},[e._v("\n "+e._s(e.error)+"\n ")]):e._e()]),e._v(" "),i("div",[e._t("default")],2)])}),[],!1,null,null,null).exports},9194:(e,t,i)=>{"use strict";i.d(t,{Z:()=>n});const r={name:"AppInputSwitch",props:["description","isLast","title","error"]};const n=(0,i(1900).Z)(r,(function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"flex w-full items-center justify-between space-x-2 sm:space-x-8",class:{"mb-6 sm:mb-7":!e.isLast}},[i("div",{staticClass:"leading-5"},[i("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?i("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?i("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(" "),i("div",[e._t("default")],2)])}),[],!1,null,null,null).exports},4383:(e,t,i)=>{"use strict";i.d(t,{Z:()=>n});const r={name:"AppInputText",props:["description","isLast","title","error"]};const n=(0,i(1900).Z)(r,(function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{class:{"mb-6 sm:mb-7":!e.isLast}},[e.title?i("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?i("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?i("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},5996:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var r=i(9101);const n={name:"FormLabel",props:["icon"],components:{WifiIcon:r.kVp,ListIcon:r.DE2,MailIcon:r.bV6,InfoIcon:r.szr,DatabaseIcon:r.VHe,UsersIcon:r.oyc,CreditCardIcon:r.ciH,DollarSignIcon:r.bkH,SmartphoneIcon:r.BEV,HardDriveIcon:r.zvn,BarChartIcon:r.eJP,SettingsIcon:r.ewm,FileTextIcon:r.zPP,ShieldIcon:r.b7C,FrownIcon:r.eFi,Edit2Icon:r.me4,BellIcon:r.Dkj,KeyIcon:r._m8}};const a=(0,i(1900).Z)(n,(function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"mb-8 flex items-center"},[e.icon?e._e():i("edit-2-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}),e._v(" "),"frown"===e.icon?i("frown-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"list"===e.icon?i("list-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"info"===e.icon?i("info-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"database"===e.icon?i("database-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"file-text"===e.icon?i("file-text-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"dollar"===e.icon?i("dollar-sign-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"credit-card"===e.icon?i("credit-card-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"bar-chart"===e.icon?i("bar-chart-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"settings"===e.icon?i("settings-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"hard-drive"===e.icon?i("hard-drive-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"mail"===e.icon?i("mail-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"smartphone"===e.icon?i("smartphone-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"shield"===e.icon?i("shield-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"bell"===e.icon?i("bell-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"key"===e.icon?i("key-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"users"===e.icon?i("users-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"wifi"===e.icon?i("wifi-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),i("b",{staticClass:"text-md font-bold dark:text-gray-200 sm:text-lg"},[e._t("default")],2)],1)}),[],!1,null,null,null).exports},1638:(e,t,i)=>{"use strict";i.d(t,{Z:()=>c});var r=i(9101),n=i(6486);const a={name:"SelectInput",props:["placeholder","options","isError","default"],components:{Edit2Icon:r.me4,UserIcon:r.tBG,ChevronDownIcon:r.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 s=i(3379),o=i.n(s),l=i(2189),u={insert:"head",singleton:!1};o()(l.Z,u);l.Z.locals;const c=(0,i(1900).Z)(a,(function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"select"},[i("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?i("div",{staticClass:"selected flex w-full items-center"},[e.selected.icon?i("div",{staticClass:"option-icon"},["user"===e.selected.icon?i("user-icon",{staticClass:"vue-feather text-theme",attrs:{size:"14"}}):e._e(),e._v(" "),"user-edit"===e.selected.icon?i("edit2-icon",{staticClass:"vue-feather text-theme",attrs:{size:"14"}}):e._e()],1):e._e(),e._v(" "),i("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():i("div",{staticClass:"not-selected"},[i("span",{staticClass:"option-value placehoder"},[e._v(e._s(e.placeholder))])]),e._v(" "),i("chevron-down-icon",{staticClass:"chevron",attrs:{size:"19"}})],1),e._v(" "),i("transition",{attrs:{name:"slide-in"}},[e.isOpen?i("div",{staticClass:"input-options rounded-lg"},[e.options.length>5?i("div",{staticClass:"select-search"},[i("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(" "),i("ul",{staticClass:"option-list"},e._l(e.optionList,(function(t,r){return i("li",{key:r,staticClass:"option-item",on:{click:function(i){return e.selectOption(t)}}},[t.icon?i("div",{staticClass:"option-icon"},["user"===t.icon?i("user-icon",{attrs:{size:"14"}}):e._e(),e._v(" "),"user-edit"===t.icon?i("edit2-icon",{attrs:{size:"14"}}):e._e()],1):e._e(),e._v(" "),i("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,i)=>{"use strict";i.d(t,{Z:()=>l});const r={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=i(3379),a=i.n(n),s=i(7395),o={insert:"head",singleton:!1};a()(s.Z,o);s.Z.locals;const l=(0,i(1900).Z)(r,(function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",[i("div",{staticClass:"switch-content"},[e.label?i("label",{staticClass:"input-label"},[e._v(" "+e._s(e.label)+": ")]):e._e(),e._v(" "),e.info?i("small",{staticClass:"input-info"},[e._v("\n "+e._s(e.info)+"\n ")]):e._e()]),e._v(" "),i("div",{staticClass:"switch-content text-right"},[i("div",{staticClass:"switch",class:{active:e.state},on:{click:e.changeState}},[i("div",{staticClass:"switch-button"})])])])}),[],!1,null,"615ed0c1",null).exports},2792:(e,t,i)=>{"use strict";i.d(t,{Z:()=>l});const r={name:"PageTab",props:["isLoading"],components:{Spinner:i(7318).Z}};var n=i(3379),a=i.n(n),s=i(1213),o={insert:"head",singleton:!1};a()(s.Z,o);s.Z.locals;const l=(0,i(1900).Z)(r,(function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"page-tab"},[i("div",{directives:[{name:"show",rawName:"v-show",value:e.isLoading,expression:"isLoading"}],attrs:{id:"loader"}},[i("Spinner")],1),e._v(" "),e._t("default")],2)}),[],!1,null,"6c76a2be",null).exports},4602:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>A});var r=i(7757),n=i.n(r),a=i(9101),s=i(9495),o=i(667),l=i(5218),u=i(9194),c=i(5996),d=i(6746),p=i(4383),f=i(2792),v=i(4479),h=i(826),m=i(629),g=i(9669),_=i.n(g);function b(e,t,i,r,n,a,s){try{var o=e[a](s),l=o.value}catch(e){return void i(e)}o.done?t(l):Promise.resolve(l).then(r,n)}function y(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,r)}return i}function $(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}const x={name:"AppOthers",components:{SelectInput:i(1638).Z,AppInputButton:l.Z,ValidationObserver:s.ValidationObserver,ValidationProvider:s.ValidationProvider,AppInputSwitch:u.Z,AppInputText:p.Z,SwitchInput:o.Z,ButtonBase:d.Z,Edit2Icon:a.me4,FormLabel:c.Z,required:v.C1,PageTab:f.Z},computed:function(e){for(var t=1;t{"use strict";i.d(t,{Z:()=>a});var r=i(3645),n=i.n(r)()((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,i)=>{"use strict";i.d(t,{Z:()=>a});var r=i(3645),n=i.n(r)()((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},1213:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var r=i(3645),n=i.n(r)()((function(e){return e[1]}));n.push([e.id,"",""]);const a=n},4479:(e,t,i)=>{"use strict";i.d(t,{C1:()=>a});function r(e){return null==e}function n(e){return Array.isArray(e)&&0===e.length}var a={validate:function(e,t){var i=(void 0===t?{allowFalse:!0}:t).allowFalse,a={valid:!1,required:!0};return r(e)||n(e)?a:!1!==e||i?(a.valid=!!String(e).trim().length,a):a},params:[{name:"allowFalse",default:!0}],computesRequired:!0}},9495:function(e,t,i){!function(e,t){"use strict";function i(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var r=i(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},s={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},o={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 i=(void 0===t?{}:t).locale,r=void 0===i?"":i;return Array.isArray(e)?e.every((function(e){return u(e,{locale:r})})):r?(a[r]||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 i=(void 0===t?{}:t).locale,r=void 0===i?"":i;return Array.isArray(e)?e.every((function(e){return d(e,{locale:r})})):r?(l[r]||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 i=(void 0===t?{}:t).locale,r=void 0===i?"":i;return Array.isArray(e)?e.every((function(e){return f(e,{locale:r})})):r?(o[r]||o.en).test(e):Object.keys(o).some((function(t){return o[t].test(e)}))},v={validate:f,params:[{name:"locale"}]},m=function(e,t){var i=(void 0===t?{}:t).locale,r=void 0===i?"":i;return Array.isArray(e)?e.every((function(e){return m(e,{locale:r})})):r?(s[r]||s.en).test(e):Object.keys(s).some((function(t){return s[t].test(e)}))},h={validate:m,params:[{name:"locale"}]},g=function(e,t){var i=void 0===t?{}:t,r=i.min,n=i.max;return Array.isArray(e)?e.every((function(e){return!!g(e,{min:r,max:n})})):Number(r)<=e&&Number(n)>=e},_={validate:g,params:[{name:"min"},{name:"max"}]},b={validate:function(e,t){var i=t.target;return String(e)===String(i)},params:[{name:"target",isTarget:!0}]},y=function(e,t){var i=t.length;if(Array.isArray(e))return e.every((function(e){return y(e,{length:i})}));var r=String(e);return/^[0-9]*$/.test(r)&&r.length===i},$={validate:y,params:[{name:"length",cast:function(e){return Number(e)}}]},x=function(e,t,i){var r=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===i)},a.src=r.createObjectURL(e)}))},A=function(e,t){var i=t.width,r=t.height,n=[];e=Array.isArray(e)?e:[e];for(var a=0;a()\[\]\\.,;:\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 i&&!Array.isArray(e)&&(e=String(e).split(",").map((function(e){return e.trim()}))),Array.isArray(e)?e.every((function(e){return r.test(String(e))})):r.test(String(e))},params:[{name:"multiple",default:!1}]};function C(e){return e!=e}function O(e){return null==e}function S(e){return Array.isArray(e)&&0===e.length}var Z=function(e){return null!==e&&e&&"object"==typeof e&&!Array.isArray(e)};function F(e,t){return!(!C(e)||!C(t))||e===t}function E(e){return""!==e&&!O(e)}function R(e){return"function"==typeof e}function I(e){return R(e)&&!!e.__locatorRef}function T(e,t){var i=Array.isArray(e)?e:L(e);if(R(i.findIndex))return i.findIndex(t);for(var r=0;r=0:Array.isArray(e)?e.every((function(e){return ne(e,{length:i})})):String(e).length<=i},ae={validate:ne,params:[{name:"length",cast:function(e){return Number(e)}}]},se=function(e,t){var i=t.max;return!O(e)&&""!==e&&(Array.isArray(e)?e.length>0&&e.every((function(e){return se(e,{max:i})})):Number(e)<=i)},oe={validate:se,params:[{name:"max",cast:function(e){return Number(e)}}]},le=function(e,t){var i=new RegExp(t.join("|").replace("*",".+")+"$","i");return Array.isArray(e)?e.every((function(e){return i.test(e.type)})):i.test(e.type)},ue={validate:le},ce=function(e,t){var i=t.length;return!O(e)&&(Array.isArray(e)?e.every((function(e){return ce(e,{length:i})})):String(e).length>=i)},de={validate:ce,params:[{name:"length",cast:function(e){return Number(e)}}]},pe=function(e,t){var i=t.min;return!O(e)&&""!==e&&(Array.isArray(e)?e.length>0&&e.every((function(e){return pe(e,{min:i})})):Number(e)>=i)},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 i=t.regex;return Array.isArray(e)?e.every((function(e){return ge(e,{regex:i})})):i.test(String(e))},_e={validate:ge,params:[{name:"regex",cast:function(e){return"string"==typeof e?new RegExp(e):e}}]},be={validate:function(e,t){var i=(void 0===t?{allowFalse:!0}:t).allowFalse,r={valid:!1,required:!0};return O(e)||S(e)?r:!1!==e||i?(r.valid=!!String(e).trim().length,r):r},params:[{name:"allowFalse",default:!0}],computesRequired:!0},ye=function(e){return S(e)||z([!1,null,void 0],e)||!String(e).trim().length},$e=function(e,t){var i,r=t.target,n=t.values;return n&&n.length?(Array.isArray(n)||"string"!=typeof n||(n=[n]),i=n.some((function(e){return e==String(r).trim()}))):i=!ye(r),i?{valid:!ye(e),required:i}:{valid:!0,required:i}},xe={validate:$e,params:[{name:"target",isTarget:!0},{name:"values"}],computesRequired:!0},Ae=function(e,t){var i=t.size;if(isNaN(i))return!1;var r=1024*i;if(!Array.isArray(e))return e.size<=r;for(var n=0;nr)return!1;return!0},we={validate:Ae,params:[{name:"size",cast:function(e){return Number(e)}}]},ke=function(e,t){var i=t||{},r=i.decimals,n=void 0===r?0:r,a=i.separator,s=new RegExp("^-?\\d+"+("comma"===(void 0===a?"dot":a)?",?":"\\.?")+(0===n?"\\d*":"(\\d{"+n+"})?")+"$");return Array.isArray(e)?e.every((function(e){return s.test(String(e))})):s.test(String(e))},Ce={validate:ke,params:[{name:"decimals",default:0},{name:"separator",default:"dot"}]},Oe=Object.freeze({__proto__:null,alpha_dash:p,alpha_num:v,alpha_spaces:h,alpha:c,between:_,confirmed:b,digits:$,dimensions:w,email:k,ext:Y,image:Q,oneOf:W,integer:X,length:re,is_not:te,is:ee,max:ae,max_value:oe,mimes:ue,min:de,min_value:fe,excluded:G,numeric:he,regex:_e,required:be,required_if:xe,size:we,double:Ce}),Se=function(){return Se=Object.assign||function(e){for(var t,i=1,r=arguments.length;i0&&n[n.length-1])||6!==a[0]&&2!==a[0])){s=0;continue}if(3===a[0]&&(!n||a[1]>n[0]&&a[1]=0&&Be.getRuleDefinition("max")&&(r.max=i.maxlength),i.minlength>=0&&Be.getRuleDefinition("min")&&(r.min=i.minlength),"number"===i.type&&(E(i.min)&&Be.getRuleDefinition("min_value")&&(r.min_value=Number(i.min)),E(i.max)&&Be.getRuleDefinition("max_value")&&(r.max_value=Number(i.max))),r):r}function kt(e){var t,i=["input","select","textarea"],r=null===(t=e.data)||void 0===t?void 0:t.attrs;if(!z(i,e.tag)||!r)return{};var n={};return"required"in r&&!1!==r.required&&Be.getRuleDefinition("required")&&(n.required="checkbox"!==r.type||[!0]),dt(e)?Ge(Se(Se({},n),wt(e))):Ge(n)}function Ct(e,t){return e.$scopedSlots.default?e.$scopedSlots.default(t)||[]:e.$slots.default||[]}function Ot(e,t){return!(e._ignoreImmediate||!e.immediate)||!(F(e.value,t)||!e.normalizedEvents.length)||!!e._needsValidation||!e.initialized&&void 0===t}function St(e){return Se(Se({},e.flags),{errors:e.errors,classes:e.classes,failedRules:e.failedRules,reset:function(){return e.reset()},validate:function(){for(var t=[],i=0;i0)){var u=Ie().useConstraintAttrs?kt(e):{};lt(t._resolvedRules,u)||(t._needsValidation=!0),xt(e)&&(t.fieldName=(null===(s=null===(a=e.data)||void 0===a?void 0:a.attrs)||void 0===s?void 0:s.name)||(null===(l=null===(o=e.data)||void 0===o?void 0:o.attrs)||void 0===l?void 0:l.id)),t._resolvedRules=u,It(t,e)}}))}return this.slim&&i.length<=1?i[0]:e(this.tag,i)},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(i){t.flags[i]=e[i]}))},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=N();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;t0&&this.syncValue(e[0]),[2,Et(this)]}))}))},validateSilent:function(){return Ze(this,void 0,void 0,(function(){var e,t;return Fe(this,(function(i){switch(i.label){case 0:return this.setFlags({pending:!0}),e=Se(Se({},this._resolvedRules),this.normalizedRules),Object.defineProperty(e,"_$$isNormalized",{value:!0,writable:!1,enumerable:!1,configurable:!1}),[4,Xe(this.value,e,Se(Se({name:this.name||this.fieldName},qt(this)),{bails:this.bails,skipIfEmpty:this.skipIfEmpty,isInitial:!this.initialized,customMessages:this.customMessages}))];case 1:return t=i.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,i=e.failedRules,r=e.regenerateMap;this.errors=t,this._regenerateMap=r,this.failedRules=Se({},i||{}),this.setFlags({valid:!t.length,passed:!t.length,invalid:!!t.length,failed:!!t.length,validated:!0,changed:!lt(this.value,this.initialValue)})},registerField:function(){Vt(this)},checkComputesRequiredState:function(){var e=Se(Se({},this._resolvedRules),this.normalizedRules);return Object.keys(e).some(Be.isRequireRule)}}});function Lt(e,t){for(var i={},r=Object.keys(t),n=r.length,a=function(n){var a=r[n],s=e&&e[a]||a,o=t[a];return O(o)?"continue":"valid"!==a&&"invalid"!==a||t.validated?void("string"==typeof s?i[s]=o:Array.isArray(s)&&s.forEach((function(e){i[e]=o}))):"continue"},s=0;s{"use strict";i.d(t,{Z:()=>n});const r={name:"AppInputButton",props:["description","isLast","title","error"]};const n=(0,i(1900).Z)(r,(function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"w-full justify-between space-y-4 sm:flex sm:space-x-8 sm:space-x-2 sm:space-y-0",class:{"mb-6 sm:mb-7":!e.isLast}},[i("div",{staticClass:"leading-5"},[i("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?i("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?i("span",{staticClass:"error-message"},[e._v("\n "+e._s(e.error)+"\n ")]):e._e()]),e._v(" "),i("div",[e._t("default")],2)])}),[],!1,null,null,null).exports},9194:(e,t,i)=>{"use strict";i.d(t,{Z:()=>n});const r={name:"AppInputSwitch",props:["description","isLast","title","error"]};const n=(0,i(1900).Z)(r,(function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"flex w-full items-center justify-between space-x-2 sm:space-x-8",class:{"mb-6 sm:mb-7":!e.isLast}},[i("div",{staticClass:"leading-5"},[i("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?i("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?i("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(" "),i("div",[e._t("default")],2)])}),[],!1,null,null,null).exports},4383:(e,t,i)=>{"use strict";i.d(t,{Z:()=>n});const r={name:"AppInputText",props:["description","isLast","title","error"]};const n=(0,i(1900).Z)(r,(function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{class:{"mb-6 sm:mb-7":!e.isLast}},[e.title?i("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?i("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?i("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},1655:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var r=i(9101);const n={name:"FormLabel",props:["icon"],components:{TrendingUpIcon:r.Zab,WifiIcon:r.kVp,ListIcon:r.DE2,MailIcon:r.bV6,InfoIcon:r.szr,DatabaseIcon:r.VHe,UsersIcon:r.oyc,CreditCardIcon:r.ciH,DollarSignIcon:r.bkH,SmartphoneIcon:r.BEV,HardDriveIcon:r.zvn,BarChartIcon:r.eJP,SettingsIcon:r.ewm,FileTextIcon:r.zPP,ShieldIcon:r.b7C,FrownIcon:r.eFi,Edit2Icon:r.me4,BellIcon:r.Dkj,KeyIcon:r._m8}};const a=(0,i(1900).Z)(n,(function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"mb-8 flex items-center"},[e.icon?e._e():i("edit-2-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}),e._v(" "),"frown"===e.icon?i("frown-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"list"===e.icon?i("list-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"info"===e.icon?i("info-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"database"===e.icon?i("database-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"file-text"===e.icon?i("file-text-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"dollar"===e.icon?i("dollar-sign-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"credit-card"===e.icon?i("credit-card-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"bar-chart"===e.icon?i("bar-chart-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"settings"===e.icon?i("settings-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"hard-drive"===e.icon?i("hard-drive-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"mail"===e.icon?i("mail-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"smartphone"===e.icon?i("smartphone-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"shield"===e.icon?i("shield-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"bell"===e.icon?i("bell-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"key"===e.icon?i("key-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"users"===e.icon?i("users-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"wifi"===e.icon?i("wifi-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"trending-up"===e.icon?i("trending-up-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),i("b",{staticClass:"text-md font-bold dark:text-gray-200 sm:text-lg"},[e._t("default")],2)],1)}),[],!1,null,null,null).exports},1638:(e,t,i)=>{"use strict";i.d(t,{Z:()=>c});var r=i(9101),n=i(6486);const a={name:"SelectInput",props:["placeholder","options","isError","default"],components:{Edit2Icon:r.me4,UserIcon:r.tBG,ChevronDownIcon:r.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 s=i(3379),o=i.n(s),l=i(2189),u={insert:"head",singleton:!1};o()(l.Z,u);l.Z.locals;const c=(0,i(1900).Z)(a,(function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"select"},[i("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?i("div",{staticClass:"selected flex w-full items-center"},[e.selected.icon?i("div",{staticClass:"option-icon"},["user"===e.selected.icon?i("user-icon",{staticClass:"vue-feather text-theme",attrs:{size:"14"}}):e._e(),e._v(" "),"user-edit"===e.selected.icon?i("edit2-icon",{staticClass:"vue-feather text-theme",attrs:{size:"14"}}):e._e()],1):e._e(),e._v(" "),i("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():i("div",{staticClass:"not-selected"},[i("span",{staticClass:"option-value placehoder"},[e._v(e._s(e.placeholder))])]),e._v(" "),i("chevron-down-icon",{staticClass:"chevron",attrs:{size:"19"}})],1),e._v(" "),i("transition",{attrs:{name:"slide-in"}},[e.isOpen?i("div",{staticClass:"input-options rounded-lg"},[e.options.length>5?i("div",{staticClass:"select-search"},[i("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(" "),i("ul",{staticClass:"option-list"},e._l(e.optionList,(function(t,r){return i("li",{key:r,staticClass:"option-item",on:{click:function(i){return e.selectOption(t)}}},[t.icon?i("div",{staticClass:"option-icon"},["user"===t.icon?i("user-icon",{attrs:{size:"14"}}):e._e(),e._v(" "),"user-edit"===t.icon?i("edit2-icon",{attrs:{size:"14"}}):e._e()],1):e._e(),e._v(" "),i("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,i)=>{"use strict";i.d(t,{Z:()=>l});const r={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=i(3379),a=i.n(n),s=i(7395),o={insert:"head",singleton:!1};a()(s.Z,o);s.Z.locals;const l=(0,i(1900).Z)(r,(function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",[i("div",{staticClass:"switch-content"},[e.label?i("label",{staticClass:"input-label"},[e._v(" "+e._s(e.label)+": ")]):e._e(),e._v(" "),e.info?i("small",{staticClass:"input-info"},[e._v("\n "+e._s(e.info)+"\n ")]):e._e()]),e._v(" "),i("div",{staticClass:"switch-content text-right"},[i("div",{staticClass:"switch",class:{active:e.state},on:{click:e.changeState}},[i("div",{staticClass:"switch-button"})])])])}),[],!1,null,"615ed0c1",null).exports},2792:(e,t,i)=>{"use strict";i.d(t,{Z:()=>l});const r={name:"PageTab",props:["isLoading"],components:{Spinner:i(7318).Z}};var n=i(3379),a=i.n(n),s=i(1213),o={insert:"head",singleton:!1};a()(s.Z,o);s.Z.locals;const l=(0,i(1900).Z)(r,(function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"page-tab"},[i("div",{directives:[{name:"show",rawName:"v-show",value:e.isLoading,expression:"isLoading"}],attrs:{id:"loader"}},[i("Spinner")],1),e._v(" "),e._t("default")],2)}),[],!1,null,"6c76a2be",null).exports},8374:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>w});var r=i(7757),n=i.n(r),a=i(9101),s=i(9495),o=i(667),l=i(5218),u=i(9194),c=i(1655),d=i(6746),p=i(4383),f=i(2792),v=i(4479),m=i(826),h=i(629),g=i(9669),_=i.n(g);function b(e,t,i,r,n,a,s){try{var o=e[a](s),l=o.value}catch(e){return void i(e)}o.done?t(l):Promise.resolve(l).then(r,n)}function y(e){return function(){var t=this,i=arguments;return new Promise((function(r,n){var a=e.apply(t,i);function s(e){b(a,r,n,s,o,"next",e)}function o(e){b(a,r,n,s,o,"throw",e)}s(void 0)}))}}function $(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,r)}return i}function x(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}const A={name:"AppOthers",components:{SelectInput:i(1638).Z,AppInputButton:l.Z,ValidationObserver:s.ValidationObserver,ValidationProvider:s.ValidationProvider,AppInputSwitch:u.Z,AppInputText:p.Z,SwitchInput:o.Z,ButtonBase:d.Z,Edit2Icon:a.me4,FormLabel:c.Z,required:v.C1,PageTab:f.Z},computed:function(e){for(var t=1;t{a.d(e,{Z:()=>n});var s=a(3645),r=a.n(s)()((function(t){return t[1]}));r.push([t.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 n=r},1213:(t,e,a)=>{a.d(e,{Z:()=>n});var s=a(3645),r=a.n(s)()((function(t){return t[1]}));r.push([t.id,"",""]);const n=r},5996:(t,e,a)=>{a.d(e,{Z:()=>n});var s=a(9101);const r={name:"FormLabel",props:["icon"],components:{WifiIcon:s.kVp,ListIcon:s.DE2,MailIcon:s.bV6,InfoIcon:s.szr,DatabaseIcon:s.VHe,UsersIcon:s.oyc,CreditCardIcon:s.ciH,DollarSignIcon:s.bkH,SmartphoneIcon:s.BEV,HardDriveIcon:s.zvn,BarChartIcon:s.eJP,SettingsIcon:s.ewm,FileTextIcon:s.zPP,ShieldIcon:s.b7C,FrownIcon:s.eFi,Edit2Icon:s.me4,BellIcon:s.Dkj,KeyIcon:s._m8}};const n=(0,a(1900).Z)(r,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"mb-8 flex items-center"},[t.icon?t._e():a("edit-2-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}),t._v(" "),"frown"===t.icon?a("frown-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):t._e(),t._v(" "),"list"===t.icon?a("list-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):t._e(),t._v(" "),"info"===t.icon?a("info-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):t._e(),t._v(" "),"database"===t.icon?a("database-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):t._e(),t._v(" "),"file-text"===t.icon?a("file-text-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):t._e(),t._v(" "),"dollar"===t.icon?a("dollar-sign-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):t._e(),t._v(" "),"credit-card"===t.icon?a("credit-card-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):t._e(),t._v(" "),"bar-chart"===t.icon?a("bar-chart-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):t._e(),t._v(" "),"settings"===t.icon?a("settings-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):t._e(),t._v(" "),"hard-drive"===t.icon?a("hard-drive-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):t._e(),t._v(" "),"mail"===t.icon?a("mail-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):t._e(),t._v(" "),"smartphone"===t.icon?a("smartphone-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):t._e(),t._v(" "),"shield"===t.icon?a("shield-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):t._e(),t._v(" "),"bell"===t.icon?a("bell-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):t._e(),t._v(" "),"key"===t.icon?a("key-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):t._e(),t._v(" "),"users"===t.icon?a("users-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):t._e(),t._v(" "),"wifi"===t.icon?a("wifi-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):t._e(),t._v(" "),a("b",{staticClass:"text-md font-bold dark:text-gray-200 sm:text-lg"},[t._t("default")],2)],1)}),[],!1,null,null,null).exports},6291:(t,e,a)=>{a.d(e,{Z:()=>c});const s={name:"InfoBox",props:["type"]};var r=a(3379),n=a.n(r),i=a(9397),o={insert:"head",singleton:!1};n()(i.Z,o);i.Z.locals;const c=(0,a(1900).Z)(s,(function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{staticClass:"info-box",class:t.type},[t._t("default")],2)}),[],!1,null,"4d9e9780",null).exports},2792:(t,e,a)=>{a.d(e,{Z:()=>c});const s={name:"PageTab",props:["isLoading"],components:{Spinner:a(7318).Z}};var r=a(3379),n=a.n(r),i=a(1213),o={insert:"head",singleton:!1};n()(i.Z,o);i.Z.locals;const c=(0,a(1900).Z)(s,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"page-tab"},[a("div",{directives:[{name:"show",rawName:"v-show",value:t.isLoading,expression:"isLoading"}],attrs:{id:"loader"}},[a("Spinner")],1),t._v(" "),t._t("default")],2)}),[],!1,null,"6c76a2be",null).exports},9228:(t,e,a)=>{a.r(e),a.d(e,{default:()=>f});var s=a(9101),r=a(5996),n=a(2792),i=a(6291),o=a(629),c=a(9669),d=a.n(c);function l(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);e&&(s=s.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,s)}return a}function v(t){for(var e=1;e{a.d(e,{Z:()=>n});var s=a(3645),r=a.n(s)()((function(t){return t[1]}));r.push([t.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 n=r},1213:(t,e,a)=>{a.d(e,{Z:()=>n});var s=a(3645),r=a.n(s)()((function(t){return t[1]}));r.push([t.id,"",""]);const n=r},1655:(t,e,a)=>{a.d(e,{Z:()=>n});var s=a(9101);const r={name:"FormLabel",props:["icon"],components:{TrendingUpIcon:s.Zab,WifiIcon:s.kVp,ListIcon:s.DE2,MailIcon:s.bV6,InfoIcon:s.szr,DatabaseIcon:s.VHe,UsersIcon:s.oyc,CreditCardIcon:s.ciH,DollarSignIcon:s.bkH,SmartphoneIcon:s.BEV,HardDriveIcon:s.zvn,BarChartIcon:s.eJP,SettingsIcon:s.ewm,FileTextIcon:s.zPP,ShieldIcon:s.b7C,FrownIcon:s.eFi,Edit2Icon:s.me4,BellIcon:s.Dkj,KeyIcon:s._m8}};const n=(0,a(1900).Z)(r,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"mb-8 flex items-center"},[t.icon?t._e():a("edit-2-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}),t._v(" "),"frown"===t.icon?a("frown-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):t._e(),t._v(" "),"list"===t.icon?a("list-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):t._e(),t._v(" "),"info"===t.icon?a("info-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):t._e(),t._v(" "),"database"===t.icon?a("database-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):t._e(),t._v(" "),"file-text"===t.icon?a("file-text-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):t._e(),t._v(" "),"dollar"===t.icon?a("dollar-sign-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):t._e(),t._v(" "),"credit-card"===t.icon?a("credit-card-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):t._e(),t._v(" "),"bar-chart"===t.icon?a("bar-chart-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):t._e(),t._v(" "),"settings"===t.icon?a("settings-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):t._e(),t._v(" "),"hard-drive"===t.icon?a("hard-drive-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):t._e(),t._v(" "),"mail"===t.icon?a("mail-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):t._e(),t._v(" "),"smartphone"===t.icon?a("smartphone-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):t._e(),t._v(" "),"shield"===t.icon?a("shield-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):t._e(),t._v(" "),"bell"===t.icon?a("bell-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):t._e(),t._v(" "),"key"===t.icon?a("key-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):t._e(),t._v(" "),"users"===t.icon?a("users-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):t._e(),t._v(" "),"wifi"===t.icon?a("wifi-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):t._e(),t._v(" "),"trending-up"===t.icon?a("trending-up-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):t._e(),t._v(" "),a("b",{staticClass:"text-md font-bold dark:text-gray-200 sm:text-lg"},[t._t("default")],2)],1)}),[],!1,null,null,null).exports},6291:(t,e,a)=>{a.d(e,{Z:()=>c});const s={name:"InfoBox",props:["type"]};var r=a(3379),n=a.n(r),i=a(9397),o={insert:"head",singleton:!1};n()(i.Z,o);i.Z.locals;const c=(0,a(1900).Z)(s,(function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{staticClass:"info-box",class:t.type},[t._t("default")],2)}),[],!1,null,"4d9e9780",null).exports},2792:(t,e,a)=>{a.d(e,{Z:()=>c});const s={name:"PageTab",props:["isLoading"],components:{Spinner:a(7318).Z}};var r=a(3379),n=a.n(r),i=a(1213),o={insert:"head",singleton:!1};n()(i.Z,o);i.Z.locals;const c=(0,a(1900).Z)(s,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"page-tab"},[a("div",{directives:[{name:"show",rawName:"v-show",value:t.isLoading,expression:"isLoading"}],attrs:{id:"loader"}},[a("Spinner")],1),t._v(" "),t._t("default")],2)}),[],!1,null,"6c76a2be",null).exports},9228:(t,e,a)=>{a.r(e),a.d(e,{default:()=>f});var s=a(9101),r=a(1655),n=a(2792),i=a(6291),o=a(629),c=a(9669),d=a.n(c);function l(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);e&&(s=s.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,s)}return a}function v(t){for(var e=1;e{"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()\[\]\\.,;:\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 S(e){return e!=e}function C(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!(!S(e)||!S(t))||e===t}function z(e){return""!==e&&!C(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=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!C(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!C(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!C(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 C(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;ni)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))},Se={validate:ke,params:[{name:"decimals",default:0},{name:"separator",default:"dot"}]},Ce=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:Se}),Ze=function(){return Ze=Object.assign||function(e){for(var t,r=1,i=arguments.length;r0&&n[n.length-1])||6!==a[0]&&2!==a[0])){o=0;continue}if(3===a[0]&&(!n||a[1]>n[0]&&a[1]=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 St(e,t){return e.$scopedSlots.default?e.$scopedSlots.default(t)||[]:e.$slots.default||[]}function Ct(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;r0)){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;t0&&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 C(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{"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},5996:(e,t,r)=>{"use strict";r.d(t,{Z:()=>a});var i=r(9101);const n={name:"FormLabel",props:["icon"],components:{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(" "),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{"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(5996),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}}]); \ No newline at end of file +(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()\[\]\\.,;:\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=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;ni)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;r0&&n[n.length-1])||6!==a[0]&&2!==a[0])){o=0;continue}if(3===a[0]&&(!n||a[1]>n[0]&&a[1]=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;r0)){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;t0&&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{"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{"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}}]); \ No newline at end of file diff --git a/public/chunks/app-sign-in-out.js b/public/chunks/app-sign-in-out.js index fd87de28..13077140 100644 --- a/public/chunks/app-sign-in-out.js +++ b/public/chunks/app-sign-in-out.js @@ -1,2 +1,2 @@ /*! For license information please see app-sign-in-out.js.LICENSE.txt */ -(self.webpackChunk=self.webpackChunk||[]).push([[3522],{7395:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var r=i(3645),n=i.n(r)()((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},1213:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var r=i(3645),n=i.n(r)()((function(e){return e[1]}));n.push([e.id,"",""]);const a=n},4479:(e,t,i)=>{"use strict";i.d(t,{C1:()=>a});function r(e){return null==e}function n(e){return Array.isArray(e)&&0===e.length}var a={validate:function(e,t){var i=(void 0===t?{allowFalse:!0}:t).allowFalse,a={valid:!1,required:!0};return r(e)||n(e)?a:!1!==e||i?(a.valid=!!String(e).trim().length,a):a},params:[{name:"allowFalse",default:!0}],computesRequired:!0}},9495:function(e,t,i){!function(e,t){"use strict";function i(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var r=i(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},s={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},o={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 i=(void 0===t?{}:t).locale,r=void 0===i?"":i;return Array.isArray(e)?e.every((function(e){return u(e,{locale:r})})):r?(a[r]||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 i=(void 0===t?{}:t).locale,r=void 0===i?"":i;return Array.isArray(e)?e.every((function(e){return d(e,{locale:r})})):r?(l[r]||l.en).test(e):Object.keys(l).some((function(t){return l[t].test(e)}))},f={validate:d,params:[{name:"locale"}]},v=function(e,t){var i=(void 0===t?{}:t).locale,r=void 0===i?"":i;return Array.isArray(e)?e.every((function(e){return v(e,{locale:r})})):r?(o[r]||o.en).test(e):Object.keys(o).some((function(t){return o[t].test(e)}))},p={validate:v,params:[{name:"locale"}]},h=function(e,t){var i=(void 0===t?{}:t).locale,r=void 0===i?"":i;return Array.isArray(e)?e.every((function(e){return h(e,{locale:r})})):r?(s[r]||s.en).test(e):Object.keys(s).some((function(t){return s[t].test(e)}))},m={validate:h,params:[{name:"locale"}]},g=function(e,t){var i=void 0===t?{}:t,r=i.min,n=i.max;return Array.isArray(e)?e.every((function(e){return!!g(e,{min:r,max:n})})):Number(r)<=e&&Number(n)>=e},b={validate:g,params:[{name:"min"},{name:"max"}]},_={validate:function(e,t){var i=t.target;return String(e)===String(i)},params:[{name:"target",isTarget:!0}]},y=function(e,t){var i=t.length;if(Array.isArray(e))return e.every((function(e){return y(e,{length:i})}));var r=String(e);return/^[0-9]*$/.test(r)&&r.length===i},$={validate:y,params:[{name:"length",cast:function(e){return Number(e)}}]},x=function(e,t,i){var r=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===i)},a.src=r.createObjectURL(e)}))},A=function(e,t){var i=t.width,r=t.height,n=[];e=Array.isArray(e)?e:[e];for(var a=0;a()\[\]\\.,;:\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 i&&!Array.isArray(e)&&(e=String(e).split(",").map((function(e){return e.trim()}))),Array.isArray(e)?e.every((function(e){return r.test(String(e))})):r.test(String(e))},params:[{name:"multiple",default:!1}]};function C(e){return e!=e}function S(e){return null==e}function O(e){return Array.isArray(e)&&0===e.length}var Z=function(e){return null!==e&&e&&"object"==typeof e&&!Array.isArray(e)};function F(e,t){return!(!C(e)||!C(t))||e===t}function I(e){return""!==e&&!S(e)}function R(e){return"function"==typeof e}function E(e){return R(e)&&!!e.__locatorRef}function j(e,t){var i=Array.isArray(e)?e:T(e);if(R(i.findIndex))return i.findIndex(t);for(var r=0;r=0:Array.isArray(e)?e.every((function(e){return ne(e,{length:i})})):String(e).length<=i},ae={validate:ne,params:[{name:"length",cast:function(e){return Number(e)}}]},se=function(e,t){var i=t.max;return!S(e)&&""!==e&&(Array.isArray(e)?e.length>0&&e.every((function(e){return se(e,{max:i})})):Number(e)<=i)},oe={validate:se,params:[{name:"max",cast:function(e){return Number(e)}}]},le=function(e,t){var i=new RegExp(t.join("|").replace("*",".+")+"$","i");return Array.isArray(e)?e.every((function(e){return i.test(e.type)})):i.test(e.type)},ue={validate:le},ce=function(e,t){var i=t.length;return!S(e)&&(Array.isArray(e)?e.every((function(e){return ce(e,{length:i})})):String(e).length>=i)},de={validate:ce,params:[{name:"length",cast:function(e){return Number(e)}}]},fe=function(e,t){var i=t.min;return!S(e)&&""!==e&&(Array.isArray(e)?e.length>0&&e.every((function(e){return fe(e,{min:i})})):Number(e)>=i)},ve={validate:fe,params:[{name:"min",cast:function(e){return Number(e)}}]},pe=/^[٠١٢٣٤٥٦٧٨٩]+$/,he=/^[0-9]+$/,me={validate:function(e){var t=function(e){var t=String(e);return he.test(t)||pe.test(t)};return Array.isArray(e)?e.every(t):t(e)}},ge=function(e,t){var i=t.regex;return Array.isArray(e)?e.every((function(e){return ge(e,{regex:i})})):i.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 i=(void 0===t?{allowFalse:!0}:t).allowFalse,r={valid:!1,required:!0};return S(e)||O(e)?r:!1!==e||i?(r.valid=!!String(e).trim().length,r):r},params:[{name:"allowFalse",default:!0}],computesRequired:!0},ye=function(e){return O(e)||V([!1,null,void 0],e)||!String(e).trim().length},$e=function(e,t){var i,r=t.target,n=t.values;return n&&n.length?(Array.isArray(n)||"string"!=typeof n||(n=[n]),i=n.some((function(e){return e==String(r).trim()}))):i=!ye(r),i?{valid:!ye(e),required:i}:{valid:!0,required:i}},xe={validate:$e,params:[{name:"target",isTarget:!0},{name:"values"}],computesRequired:!0},Ae=function(e,t){var i=t.size;if(isNaN(i))return!1;var r=1024*i;if(!Array.isArray(e))return e.size<=r;for(var n=0;nr)return!1;return!0},we={validate:Ae,params:[{name:"size",cast:function(e){return Number(e)}}]},ke=function(e,t){var i=t||{},r=i.decimals,n=void 0===r?0:r,a=i.separator,s=new RegExp("^-?\\d+"+("comma"===(void 0===a?"dot":a)?",?":"\\.?")+(0===n?"\\d*":"(\\d{"+n+"})?")+"$");return Array.isArray(e)?e.every((function(e){return s.test(String(e))})):s.test(String(e))},Ce={validate:ke,params:[{name:"decimals",default:0},{name:"separator",default:"dot"}]},Se=Object.freeze({__proto__:null,alpha_dash:f,alpha_num:p,alpha_spaces:m,alpha:c,between:b,confirmed:_,digits:$,dimensions:w,email:k,ext:K,image:Q,oneOf:H,integer:X,length:re,is_not:te,is:ee,max:ae,max_value:oe,mimes:ue,min:de,min_value:ve,excluded:W,numeric:me,regex:be,required:_e,required_if:xe,size:we,double:Ce}),Oe=function(){return Oe=Object.assign||function(e){for(var t,i=1,r=arguments.length;i0&&n[n.length-1])||6!==a[0]&&2!==a[0])){s=0;continue}if(3===a[0]&&(!n||a[1]>n[0]&&a[1]=0&&Be.getRuleDefinition("max")&&(r.max=i.maxlength),i.minlength>=0&&Be.getRuleDefinition("min")&&(r.min=i.minlength),"number"===i.type&&(I(i.min)&&Be.getRuleDefinition("min_value")&&(r.min_value=Number(i.min)),I(i.max)&&Be.getRuleDefinition("max_value")&&(r.max_value=Number(i.max))),r):r}function kt(e){var t,i=["input","select","textarea"],r=null===(t=e.data)||void 0===t?void 0:t.attrs;if(!V(i,e.tag)||!r)return{};var n={};return"required"in r&&!1!==r.required&&Be.getRuleDefinition("required")&&(n.required="checkbox"!==r.type||[!0]),dt(e)?We(Oe(Oe({},n),wt(e))):We(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)||!(F(e.value,t)||!e.normalizedEvents.length)||!!e._needsValidation||!e.initialized&&void 0===t}function Ot(e){return Oe(Oe({},e.flags),{errors:e.errors,classes:e.classes,failedRules:e.failedRules,reset:function(){return e.reset()},validate:function(){for(var t=[],i=0;i0)){var u=Ee().useConstraintAttrs?kt(e):{};lt(t._resolvedRules,u)||(t._needsValidation=!0),xt(e)&&(t.fieldName=(null===(s=null===(a=e.data)||void 0===a?void 0:a.attrs)||void 0===s?void 0:s.name)||(null===(l=null===(o=e.data)||void 0===o?void 0:o.attrs)||void 0===l?void 0:l.id)),t._resolvedRules=u,Et(t,e)}}))}return this.slim&&i.length<=1?i[0]:e(this.tag,i)},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(i){t.flags[i]=e[i]}))},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=D();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;t0&&this.syncValue(e[0]),[2,It(this)]}))}))},validateSilent:function(){return Ze(this,void 0,void 0,(function(){var e,t;return Fe(this,(function(i){switch(i.label){case 0:return this.setFlags({pending:!0}),e=Oe(Oe({},this._resolvedRules),this.normalizedRules),Object.defineProperty(e,"_$$isNormalized",{value:!0,writable:!1,enumerable:!1,configurable:!1}),[4,Xe(this.value,e,Oe(Oe({name:this.name||this.fieldName},Lt(this)),{bails:this.bails,skipIfEmpty:this.skipIfEmpty,isInitial:!this.initialized,customMessages:this.customMessages}))];case 1:return t=i.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,i=e.failedRules,r=e.regenerateMap;this.errors=t,this._regenerateMap=r,this.failedRules=Oe({},i||{}),this.setFlags({valid:!t.length,passed:!t.length,invalid:!!t.length,failed:!!t.length,validated:!0,changed:!lt(this.value,this.initialValue)})},registerField:function(){Pt(this)},checkComputesRequiredState:function(){var e=Oe(Oe({},this._resolvedRules),this.normalizedRules);return Object.keys(e).some(Be.isRequireRule)}}});function Tt(e,t){for(var i={},r=Object.keys(t),n=r.length,a=function(n){var a=r[n],s=e&&e[a]||a,o=t[a];return S(o)?"continue":"valid"!==a&&"invalid"!==a||t.validated?void("string"==typeof s?i[s]=o:Array.isArray(s)&&s.forEach((function(e){i[e]=o}))):"continue"},s=0;s{"use strict";i.d(t,{Z:()=>n});const r={name:"AppInputSwitch",props:["description","isLast","title","error"]};const n=(0,i(1900).Z)(r,(function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"flex w-full items-center justify-between space-x-2 sm:space-x-8",class:{"mb-6 sm:mb-7":!e.isLast}},[i("div",{staticClass:"leading-5"},[i("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?i("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?i("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(" "),i("div",[e._t("default")],2)])}),[],!1,null,null,null).exports},4383:(e,t,i)=>{"use strict";i.d(t,{Z:()=>n});const r={name:"AppInputText",props:["description","isLast","title","error"]};const n=(0,i(1900).Z)(r,(function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{class:{"mb-6 sm:mb-7":!e.isLast}},[e.title?i("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?i("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?i("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},5585:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var r=i(9101);const n={name:"CopyInput",props:["size","str"],components:{CheckIcon:r.nQG,CopyIcon:r.TIy,SendIcon:r.jE$},data:function(){return{isCopiedLink:!1,id:"link-input-"+Math.floor(1e7*Math.random())}},methods:{copyUrl:function(){var e=this,t=document.getElementById(this.id);t.select(),t.setSelectionRange(0,99999),document.execCommand("copy"),this.isCopiedLink=!0,setTimeout((function(){e.isCopiedLink=!1}),1e3)}}};const a=(0,i(1900).Z)(n,(function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"relative flex items-center",on:{click:e.copyUrl}},[i("input",{ref:"sel",staticClass:"focus-border-theme input-dark !pr-10",attrs:{id:e.id,type:"text",readonly:""},domProps:{value:e.str}}),e._v(" "),i("div",{staticClass:"absolute right-0 px-4"},[e.isCopiedLink?e._e():i("copy-icon",{staticClass:"hover-text-theme vue-feather cursor-pointer",attrs:{size:"16"}}),e._v(" "),e.isCopiedLink?i("check-icon",{staticClass:"text-theme vue-feather cursor-pointer",attrs:{size:"16"}}):e._e()],1)])}),[],!1,null,null,null).exports},5996:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var r=i(9101);const n={name:"FormLabel",props:["icon"],components:{WifiIcon:r.kVp,ListIcon:r.DE2,MailIcon:r.bV6,InfoIcon:r.szr,DatabaseIcon:r.VHe,UsersIcon:r.oyc,CreditCardIcon:r.ciH,DollarSignIcon:r.bkH,SmartphoneIcon:r.BEV,HardDriveIcon:r.zvn,BarChartIcon:r.eJP,SettingsIcon:r.ewm,FileTextIcon:r.zPP,ShieldIcon:r.b7C,FrownIcon:r.eFi,Edit2Icon:r.me4,BellIcon:r.Dkj,KeyIcon:r._m8}};const a=(0,i(1900).Z)(n,(function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"mb-8 flex items-center"},[e.icon?e._e():i("edit-2-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}),e._v(" "),"frown"===e.icon?i("frown-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"list"===e.icon?i("list-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"info"===e.icon?i("info-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"database"===e.icon?i("database-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"file-text"===e.icon?i("file-text-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"dollar"===e.icon?i("dollar-sign-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"credit-card"===e.icon?i("credit-card-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"bar-chart"===e.icon?i("bar-chart-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"settings"===e.icon?i("settings-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"hard-drive"===e.icon?i("hard-drive-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"mail"===e.icon?i("mail-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"smartphone"===e.icon?i("smartphone-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"shield"===e.icon?i("shield-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"bell"===e.icon?i("bell-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"key"===e.icon?i("key-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"users"===e.icon?i("users-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"wifi"===e.icon?i("wifi-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),i("b",{staticClass:"text-md font-bold dark:text-gray-200 sm:text-lg"},[e._t("default")],2)],1)}),[],!1,null,null,null).exports},667:(e,t,i)=>{"use strict";i.d(t,{Z:()=>l});const r={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=i(3379),a=i.n(n),s=i(7395),o={insert:"head",singleton:!1};a()(s.Z,o);s.Z.locals;const l=(0,i(1900).Z)(r,(function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",[i("div",{staticClass:"switch-content"},[e.label?i("label",{staticClass:"input-label"},[e._v(" "+e._s(e.label)+": ")]):e._e(),e._v(" "),e.info?i("small",{staticClass:"input-info"},[e._v("\n "+e._s(e.info)+"\n ")]):e._e()]),e._v(" "),i("div",{staticClass:"switch-content text-right"},[i("div",{staticClass:"switch",class:{active:e.state},on:{click:e.changeState}},[i("div",{staticClass:"switch-button"})])])])}),[],!1,null,"615ed0c1",null).exports},2792:(e,t,i)=>{"use strict";i.d(t,{Z:()=>l});const r={name:"PageTab",props:["isLoading"],components:{Spinner:i(7318).Z}};var n=i(3379),a=i.n(n),s=i(1213),o={insert:"head",singleton:!1};a()(s.Z,o);s.Z.locals;const l=(0,i(1900).Z)(r,(function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"page-tab"},[i("div",{directives:[{name:"show",rawName:"v-show",value:e.isLoading,expression:"isLoading"}],attrs:{id:"loader"}},[i("Spinner")],1),e._v(" "),e._t("default")],2)}),[],!1,null,"6c76a2be",null).exports},7885:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>A});var r=i(7757),n=i.n(r),a=i(9101),s=i(9495),o=i(667),l=i(9194),u=i(5585),c=i(5996),d=i(6746),f=i(4383),v=i(2792),p=i(4479),h=i(826),m=i(629),g=i(9669),b=i.n(g);function _(e,t,i,r,n,a,s){try{var o=e[a](s),l=o.value}catch(e){return void i(e)}o.done?t(l):Promise.resolve(l).then(r,n)}function y(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,r)}return i}function $(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}const x={name:"SignInUp",components:{CopyInput:u.Z,ValidationObserver:s.ValidationObserver,ValidationProvider:s.ValidationProvider,AppInputSwitch:l.Z,AppInputText:f.Z,SwitchInput:o.Z,ButtonBase:d.Z,Edit2Icon:a.me4,FormLabel:c.Z,required:p.C1,PageTab:v.Z,events:h.U},computed:function(e){for(var t=1;t{"use strict";i.d(t,{Z:()=>a});var r=i(3645),n=i.n(r)()((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},1213:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var r=i(3645),n=i.n(r)()((function(e){return e[1]}));n.push([e.id,"",""]);const a=n},4479:(e,t,i)=>{"use strict";i.d(t,{C1:()=>a});function r(e){return null==e}function n(e){return Array.isArray(e)&&0===e.length}var a={validate:function(e,t){var i=(void 0===t?{allowFalse:!0}:t).allowFalse,a={valid:!1,required:!0};return r(e)||n(e)?a:!1!==e||i?(a.valid=!!String(e).trim().length,a):a},params:[{name:"allowFalse",default:!0}],computesRequired:!0}},9495:function(e,t,i){!function(e,t){"use strict";function i(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var r=i(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},s={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},o={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 i=(void 0===t?{}:t).locale,r=void 0===i?"":i;return Array.isArray(e)?e.every((function(e){return u(e,{locale:r})})):r?(a[r]||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 i=(void 0===t?{}:t).locale,r=void 0===i?"":i;return Array.isArray(e)?e.every((function(e){return d(e,{locale:r})})):r?(l[r]||l.en).test(e):Object.keys(l).some((function(t){return l[t].test(e)}))},f={validate:d,params:[{name:"locale"}]},v=function(e,t){var i=(void 0===t?{}:t).locale,r=void 0===i?"":i;return Array.isArray(e)?e.every((function(e){return v(e,{locale:r})})):r?(o[r]||o.en).test(e):Object.keys(o).some((function(t){return o[t].test(e)}))},p={validate:v,params:[{name:"locale"}]},h=function(e,t){var i=(void 0===t?{}:t).locale,r=void 0===i?"":i;return Array.isArray(e)?e.every((function(e){return h(e,{locale:r})})):r?(s[r]||s.en).test(e):Object.keys(s).some((function(t){return s[t].test(e)}))},m={validate:h,params:[{name:"locale"}]},g=function(e,t){var i=void 0===t?{}:t,r=i.min,n=i.max;return Array.isArray(e)?e.every((function(e){return!!g(e,{min:r,max:n})})):Number(r)<=e&&Number(n)>=e},b={validate:g,params:[{name:"min"},{name:"max"}]},_={validate:function(e,t){var i=t.target;return String(e)===String(i)},params:[{name:"target",isTarget:!0}]},y=function(e,t){var i=t.length;if(Array.isArray(e))return e.every((function(e){return y(e,{length:i})}));var r=String(e);return/^[0-9]*$/.test(r)&&r.length===i},$={validate:y,params:[{name:"length",cast:function(e){return Number(e)}}]},x=function(e,t,i){var r=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===i)},a.src=r.createObjectURL(e)}))},A=function(e,t){var i=t.width,r=t.height,n=[];e=Array.isArray(e)?e:[e];for(var a=0;a()\[\]\\.,;:\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 i&&!Array.isArray(e)&&(e=String(e).split(",").map((function(e){return e.trim()}))),Array.isArray(e)?e.every((function(e){return r.test(String(e))})):r.test(String(e))},params:[{name:"multiple",default:!1}]};function C(e){return e!=e}function S(e){return null==e}function O(e){return Array.isArray(e)&&0===e.length}var Z=function(e){return null!==e&&e&&"object"==typeof e&&!Array.isArray(e)};function F(e,t){return!(!C(e)||!C(t))||e===t}function I(e){return""!==e&&!S(e)}function R(e){return"function"==typeof e}function E(e){return R(e)&&!!e.__locatorRef}function j(e,t){var i=Array.isArray(e)?e:T(e);if(R(i.findIndex))return i.findIndex(t);for(var r=0;r=0:Array.isArray(e)?e.every((function(e){return ne(e,{length:i})})):String(e).length<=i},ae={validate:ne,params:[{name:"length",cast:function(e){return Number(e)}}]},se=function(e,t){var i=t.max;return!S(e)&&""!==e&&(Array.isArray(e)?e.length>0&&e.every((function(e){return se(e,{max:i})})):Number(e)<=i)},oe={validate:se,params:[{name:"max",cast:function(e){return Number(e)}}]},le=function(e,t){var i=new RegExp(t.join("|").replace("*",".+")+"$","i");return Array.isArray(e)?e.every((function(e){return i.test(e.type)})):i.test(e.type)},ue={validate:le},ce=function(e,t){var i=t.length;return!S(e)&&(Array.isArray(e)?e.every((function(e){return ce(e,{length:i})})):String(e).length>=i)},de={validate:ce,params:[{name:"length",cast:function(e){return Number(e)}}]},fe=function(e,t){var i=t.min;return!S(e)&&""!==e&&(Array.isArray(e)?e.length>0&&e.every((function(e){return fe(e,{min:i})})):Number(e)>=i)},ve={validate:fe,params:[{name:"min",cast:function(e){return Number(e)}}]},pe=/^[٠١٢٣٤٥٦٧٨٩]+$/,he=/^[0-9]+$/,me={validate:function(e){var t=function(e){var t=String(e);return he.test(t)||pe.test(t)};return Array.isArray(e)?e.every(t):t(e)}},ge=function(e,t){var i=t.regex;return Array.isArray(e)?e.every((function(e){return ge(e,{regex:i})})):i.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 i=(void 0===t?{allowFalse:!0}:t).allowFalse,r={valid:!1,required:!0};return S(e)||O(e)?r:!1!==e||i?(r.valid=!!String(e).trim().length,r):r},params:[{name:"allowFalse",default:!0}],computesRequired:!0},ye=function(e){return O(e)||V([!1,null,void 0],e)||!String(e).trim().length},$e=function(e,t){var i,r=t.target,n=t.values;return n&&n.length?(Array.isArray(n)||"string"!=typeof n||(n=[n]),i=n.some((function(e){return e==String(r).trim()}))):i=!ye(r),i?{valid:!ye(e),required:i}:{valid:!0,required:i}},xe={validate:$e,params:[{name:"target",isTarget:!0},{name:"values"}],computesRequired:!0},Ae=function(e,t){var i=t.size;if(isNaN(i))return!1;var r=1024*i;if(!Array.isArray(e))return e.size<=r;for(var n=0;nr)return!1;return!0},we={validate:Ae,params:[{name:"size",cast:function(e){return Number(e)}}]},ke=function(e,t){var i=t||{},r=i.decimals,n=void 0===r?0:r,a=i.separator,s=new RegExp("^-?\\d+"+("comma"===(void 0===a?"dot":a)?",?":"\\.?")+(0===n?"\\d*":"(\\d{"+n+"})?")+"$");return Array.isArray(e)?e.every((function(e){return s.test(String(e))})):s.test(String(e))},Ce={validate:ke,params:[{name:"decimals",default:0},{name:"separator",default:"dot"}]},Se=Object.freeze({__proto__:null,alpha_dash:f,alpha_num:p,alpha_spaces:m,alpha:c,between:b,confirmed:_,digits:$,dimensions:w,email:k,ext:K,image:Q,oneOf:H,integer:X,length:re,is_not:te,is:ee,max:ae,max_value:oe,mimes:ue,min:de,min_value:ve,excluded:W,numeric:me,regex:be,required:_e,required_if:xe,size:we,double:Ce}),Oe=function(){return Oe=Object.assign||function(e){for(var t,i=1,r=arguments.length;i0&&n[n.length-1])||6!==a[0]&&2!==a[0])){s=0;continue}if(3===a[0]&&(!n||a[1]>n[0]&&a[1]=0&&Be.getRuleDefinition("max")&&(r.max=i.maxlength),i.minlength>=0&&Be.getRuleDefinition("min")&&(r.min=i.minlength),"number"===i.type&&(I(i.min)&&Be.getRuleDefinition("min_value")&&(r.min_value=Number(i.min)),I(i.max)&&Be.getRuleDefinition("max_value")&&(r.max_value=Number(i.max))),r):r}function kt(e){var t,i=["input","select","textarea"],r=null===(t=e.data)||void 0===t?void 0:t.attrs;if(!V(i,e.tag)||!r)return{};var n={};return"required"in r&&!1!==r.required&&Be.getRuleDefinition("required")&&(n.required="checkbox"!==r.type||[!0]),dt(e)?We(Oe(Oe({},n),wt(e))):We(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)||!(F(e.value,t)||!e.normalizedEvents.length)||!!e._needsValidation||!e.initialized&&void 0===t}function Ot(e){return Oe(Oe({},e.flags),{errors:e.errors,classes:e.classes,failedRules:e.failedRules,reset:function(){return e.reset()},validate:function(){for(var t=[],i=0;i0)){var u=Ee().useConstraintAttrs?kt(e):{};lt(t._resolvedRules,u)||(t._needsValidation=!0),xt(e)&&(t.fieldName=(null===(s=null===(a=e.data)||void 0===a?void 0:a.attrs)||void 0===s?void 0:s.name)||(null===(l=null===(o=e.data)||void 0===o?void 0:o.attrs)||void 0===l?void 0:l.id)),t._resolvedRules=u,Et(t,e)}}))}return this.slim&&i.length<=1?i[0]:e(this.tag,i)},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(i){t.flags[i]=e[i]}))},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=D();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;t0&&this.syncValue(e[0]),[2,It(this)]}))}))},validateSilent:function(){return Ze(this,void 0,void 0,(function(){var e,t;return Fe(this,(function(i){switch(i.label){case 0:return this.setFlags({pending:!0}),e=Oe(Oe({},this._resolvedRules),this.normalizedRules),Object.defineProperty(e,"_$$isNormalized",{value:!0,writable:!1,enumerable:!1,configurable:!1}),[4,Xe(this.value,e,Oe(Oe({name:this.name||this.fieldName},Lt(this)),{bails:this.bails,skipIfEmpty:this.skipIfEmpty,isInitial:!this.initialized,customMessages:this.customMessages}))];case 1:return t=i.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,i=e.failedRules,r=e.regenerateMap;this.errors=t,this._regenerateMap=r,this.failedRules=Oe({},i||{}),this.setFlags({valid:!t.length,passed:!t.length,invalid:!!t.length,failed:!!t.length,validated:!0,changed:!lt(this.value,this.initialValue)})},registerField:function(){Pt(this)},checkComputesRequiredState:function(){var e=Oe(Oe({},this._resolvedRules),this.normalizedRules);return Object.keys(e).some(Be.isRequireRule)}}});function Tt(e,t){for(var i={},r=Object.keys(t),n=r.length,a=function(n){var a=r[n],s=e&&e[a]||a,o=t[a];return S(o)?"continue":"valid"!==a&&"invalid"!==a||t.validated?void("string"==typeof s?i[s]=o:Array.isArray(s)&&s.forEach((function(e){i[e]=o}))):"continue"},s=0;s{"use strict";i.d(t,{Z:()=>n});const r={name:"AppInputSwitch",props:["description","isLast","title","error"]};const n=(0,i(1900).Z)(r,(function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"flex w-full items-center justify-between space-x-2 sm:space-x-8",class:{"mb-6 sm:mb-7":!e.isLast}},[i("div",{staticClass:"leading-5"},[i("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?i("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?i("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(" "),i("div",[e._t("default")],2)])}),[],!1,null,null,null).exports},4383:(e,t,i)=>{"use strict";i.d(t,{Z:()=>n});const r={name:"AppInputText",props:["description","isLast","title","error"]};const n=(0,i(1900).Z)(r,(function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{class:{"mb-6 sm:mb-7":!e.isLast}},[e.title?i("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?i("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?i("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},5585:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var r=i(9101);const n={name:"CopyInput",props:["size","str"],components:{CheckIcon:r.nQG,CopyIcon:r.TIy,SendIcon:r.jE$},data:function(){return{isCopiedLink:!1,id:"link-input-"+Math.floor(1e7*Math.random())}},methods:{copyUrl:function(){var e=this,t=document.getElementById(this.id);t.select(),t.setSelectionRange(0,99999),document.execCommand("copy"),this.isCopiedLink=!0,setTimeout((function(){e.isCopiedLink=!1}),1e3)}}};const a=(0,i(1900).Z)(n,(function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"relative flex items-center",on:{click:e.copyUrl}},[i("input",{ref:"sel",staticClass:"focus-border-theme input-dark !pr-10",attrs:{id:e.id,type:"text",readonly:""},domProps:{value:e.str}}),e._v(" "),i("div",{staticClass:"absolute right-0 px-4"},[e.isCopiedLink?e._e():i("copy-icon",{staticClass:"hover-text-theme vue-feather cursor-pointer",attrs:{size:"16"}}),e._v(" "),e.isCopiedLink?i("check-icon",{staticClass:"text-theme vue-feather cursor-pointer",attrs:{size:"16"}}):e._e()],1)])}),[],!1,null,null,null).exports},1655:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var r=i(9101);const n={name:"FormLabel",props:["icon"],components:{TrendingUpIcon:r.Zab,WifiIcon:r.kVp,ListIcon:r.DE2,MailIcon:r.bV6,InfoIcon:r.szr,DatabaseIcon:r.VHe,UsersIcon:r.oyc,CreditCardIcon:r.ciH,DollarSignIcon:r.bkH,SmartphoneIcon:r.BEV,HardDriveIcon:r.zvn,BarChartIcon:r.eJP,SettingsIcon:r.ewm,FileTextIcon:r.zPP,ShieldIcon:r.b7C,FrownIcon:r.eFi,Edit2Icon:r.me4,BellIcon:r.Dkj,KeyIcon:r._m8}};const a=(0,i(1900).Z)(n,(function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"mb-8 flex items-center"},[e.icon?e._e():i("edit-2-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}),e._v(" "),"frown"===e.icon?i("frown-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"list"===e.icon?i("list-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"info"===e.icon?i("info-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"database"===e.icon?i("database-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"file-text"===e.icon?i("file-text-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"dollar"===e.icon?i("dollar-sign-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"credit-card"===e.icon?i("credit-card-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"bar-chart"===e.icon?i("bar-chart-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"settings"===e.icon?i("settings-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"hard-drive"===e.icon?i("hard-drive-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"mail"===e.icon?i("mail-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"smartphone"===e.icon?i("smartphone-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"shield"===e.icon?i("shield-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"bell"===e.icon?i("bell-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"key"===e.icon?i("key-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"users"===e.icon?i("users-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"wifi"===e.icon?i("wifi-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),"trending-up"===e.icon?i("trending-up-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):e._e(),e._v(" "),i("b",{staticClass:"text-md font-bold dark:text-gray-200 sm:text-lg"},[e._t("default")],2)],1)}),[],!1,null,null,null).exports},667:(e,t,i)=>{"use strict";i.d(t,{Z:()=>l});const r={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=i(3379),a=i.n(n),s=i(7395),o={insert:"head",singleton:!1};a()(s.Z,o);s.Z.locals;const l=(0,i(1900).Z)(r,(function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",[i("div",{staticClass:"switch-content"},[e.label?i("label",{staticClass:"input-label"},[e._v(" "+e._s(e.label)+": ")]):e._e(),e._v(" "),e.info?i("small",{staticClass:"input-info"},[e._v("\n "+e._s(e.info)+"\n ")]):e._e()]),e._v(" "),i("div",{staticClass:"switch-content text-right"},[i("div",{staticClass:"switch",class:{active:e.state},on:{click:e.changeState}},[i("div",{staticClass:"switch-button"})])])])}),[],!1,null,"615ed0c1",null).exports},2792:(e,t,i)=>{"use strict";i.d(t,{Z:()=>l});const r={name:"PageTab",props:["isLoading"],components:{Spinner:i(7318).Z}};var n=i(3379),a=i.n(n),s=i(1213),o={insert:"head",singleton:!1};a()(s.Z,o);s.Z.locals;const l=(0,i(1900).Z)(r,(function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"page-tab"},[i("div",{directives:[{name:"show",rawName:"v-show",value:e.isLoading,expression:"isLoading"}],attrs:{id:"loader"}},[i("Spinner")],1),e._v(" "),e._t("default")],2)}),[],!1,null,"6c76a2be",null).exports},7885:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>A});var r=i(7757),n=i.n(r),a=i(9101),s=i(9495),o=i(667),l=i(9194),u=i(5585),c=i(1655),d=i(6746),f=i(4383),v=i(2792),p=i(4479),h=i(826),m=i(629),g=i(9669),b=i.n(g);function _(e,t,i,r,n,a,s){try{var o=e[a](s),l=o.value}catch(e){return void i(e)}o.done?t(l):Promise.resolve(l).then(r,n)}function y(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,r)}return i}function $(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}const x={name:"SignInUp",components:{CopyInput:u.Z,ValidationObserver:s.ValidationObserver,ValidationProvider:s.ValidationProvider,AppInputSwitch:l.Z,AppInputText:f.Z,SwitchInput:o.Z,ButtonBase:d.Z,Edit2Icon:a.me4,FormLabel:c.Z,required:p.C1,PageTab:v.Z,events:h.U},computed:function(e){for(var t=1;t{"use strict";r.d(e,{Z:()=>i});var n=r(3645),a=r.n(n)()((function(t){return t[1]}));a.push([t.id,".label[data-v-2e087afb]{align-items:center;display:flex}.label .label-dot[data-v-2e087afb]{border-radius:8px;display:block;flex:none;height:8px;margin-right:10px;width:8px}.label .label-dot.success[data-v-2e087afb]{background:#0abb87}.label .label-dot.danger[data-v-2e087afb]{background:#fd397a}.label .label-dot.warning[data-v-2e087afb]{background:#ffb822}.label .label-dot.info[data-v-2e087afb]{background:#5578eb}.label .label-dot.primary[data-v-2e087afb]{background:red}.label .label-dot.purple[data-v-2e087afb]{background:#9d66fe}.label .label-dot.secondary[data-v-2e087afb]{background:#e1e1ef}.label .label-title[data-v-2e087afb]{font-size:16px;font-weight:700}",""]);const i=a},9935:(t,e,r)=>{"use strict";r.d(e,{Z:()=>i});var n=r(3645),a=r.n(n)()((function(t){return t[1]}));a.push([t.id,".chart-progress.success[data-v-561dbfda]{background:#0abb87;box-shadow:0 3px 10px rgba(10,187,135,.5)}.chart-progress.danger[data-v-561dbfda]{background:#fd397a;box-shadow:0 3px 10px rgba(253,57,122,.5)}.chart-progress.warning[data-v-561dbfda]{background:#ffb822;box-shadow:0 3px 10px rgba(255,184,34,.5)}.chart-progress.info[data-v-561dbfda]{background:#5578eb;box-shadow:0 3px 10px rgba(85,120,235,.5)}.chart-progress.purple[data-v-561dbfda]{background:#9d66fe;box-shadow:0 3px 10px rgba(157,102,254,.5)}.chart-progress.secondary[data-v-561dbfda]{background:#e1e1ef;box-shadow:0 3px 10px rgba(225,225,239,.5)}.dark .chart-progress.secondary[data-v-561dbfda]{background:#282a2f!important;box-shadow:0 3px 10px rgba(40,42,47,.5)!important}",""]);const i=a},6798:(t,e,r)=>{"use strict";r.d(e,{Z:()=>i});var n=r(3645),a=r.n(n)()((function(t){return t[1]}));a.push([t.id,".color-label.purple[data-v-d470f17c]{background:rgba(157,102,254,.1);color:#9d66fe}.color-label.yellow[data-v-d470f17c]{background:rgba(255,189,45,.1);color:#ffbd2d}.color-label.green[data-v-d470f17c]{background:rgba(0,188,126,.1);color:#00bc7e}.color-label.red[data-v-d470f17c]{background:rgba(253,57,122,.1);color:#fd397a}",""]);const i=a},9397:(t,e,r)=>{"use strict";r.d(e,{Z:()=>i});var n=r(3645),a=r.n(n)()((function(t){return t[1]}));a.push([t.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 i=a},1213:(t,e,r)=>{"use strict";r.d(e,{Z:()=>i});var n=r(3645),a=r.n(n)()((function(t){return t[1]}));a.push([t.id,"",""]);const i=a},9611:(t,e,r)=>{"use strict";r.d(e,{Z:()=>i});var n=r(3645),a=r.n(n)()((function(t){return t[1]}));a.push([t.id,".table-row[data-v-4f806708]{border-radius:8px}.table-row[data-v-4f806708]:hover{background:#f4f5f6}.table-row .table-cell[data-v-4f806708]{padding-bottom:15px;padding-top:15px}.table-row .table-cell[data-v-4f806708]:first-child{padding-left:15px}.table-row .table-cell[data-v-4f806708]:last-child{padding-right:15px;text-align:right}.table-row .table-cell span[data-v-4f806708]{font-size:1em;font-weight:700}",""]);const i=a},9495:function(t,e,r){!function(t,e){"use strict";function r(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var n=r(e),a={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"}},i={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},s={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},o={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},c=function(t,e){var r=(void 0===e?{}:e).locale,n=void 0===r?"":r;return Array.isArray(t)?t.every((function(t){return c(t,{locale:n})})):n?(i[n]||i.en).test(t):Object.keys(i).some((function(e){return i[e].test(t)}))},u={validate:c,params:[{name:"locale"}]},d=function(t,e){var r=(void 0===e?{}:e).locale,n=void 0===r?"":r;return Array.isArray(t)?t.every((function(t){return d(t,{locale:n})})):n?(l[n]||l.en).test(t):Object.keys(l).some((function(e){return l[e].test(t)}))},f={validate:d,params:[{name:"locale"}]},p=function(t,e){var r=(void 0===e?{}:e).locale,n=void 0===r?"":r;return Array.isArray(t)?t.every((function(t){return p(t,{locale:n})})):n?(o[n]||o.en).test(t):Object.keys(o).some((function(e){return o[e].test(t)}))},v={validate:p,params:[{name:"locale"}]},m=function(t,e){var r=(void 0===e?{}:e).locale,n=void 0===r?"":r;return Array.isArray(t)?t.every((function(t){return m(t,{locale:n})})):n?(s[n]||s.en).test(t):Object.keys(s).some((function(e){return s[e].test(t)}))},h={validate:m,params:[{name:"locale"}]},b=function(t,e){var r=void 0===e?{}:e,n=r.min,a=r.max;return Array.isArray(t)?t.every((function(t){return!!b(t,{min:n,max:a})})):Number(n)<=t&&Number(a)>=t},g={validate:b,params:[{name:"min"},{name:"max"}]},_={validate:function(t,e){var r=e.target;return String(t)===String(r)},params:[{name:"target",isTarget:!0}]},y=function(t,e){var r=e.length;if(Array.isArray(t))return t.every((function(t){return y(t,{length:r})}));var n=String(t);return/^[0-9]*$/.test(n)&&n.length===r},x={validate:y,params:[{name:"length",cast:function(t){return Number(t)}}]},w=function(t,e,r){var n=window.URL||window.webkitURL;return new Promise((function(a){var i=new Image;i.onerror=function(){return a(!1)},i.onload=function(){return a(i.width===e&&i.height===r)},i.src=n.createObjectURL(t)}))},$=function(t,e){var r=e.width,n=e.height,a=[];t=Array.isArray(t)?t:[t];for(var i=0;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(t)&&(t=String(t).split(",").map((function(t){return t.trim()}))),Array.isArray(t)?t.every((function(t){return n.test(String(t))})):n.test(String(t))},params:[{name:"multiple",default:!1}]};function A(t){return t!=t}function O(t){return null==t}function S(t){return Array.isArray(t)&&0===t.length}var Z=function(t){return null!==t&&t&&"object"==typeof t&&!Array.isArray(t)};function j(t,e){return!(!A(t)||!A(e))||t===e}function P(t){return""!==t&&!O(t)}function F(t){return"function"==typeof t}function E(t){return F(t)&&!!t.__locatorRef}function I(t,e){var r=Array.isArray(t)?t:B(t);if(F(r.findIndex))return r.findIndex(e);for(var n=0;n=0:Array.isArray(t)?t.every((function(t){return at(t,{length:r})})):String(t).length<=r},it={validate:at,params:[{name:"length",cast:function(t){return Number(t)}}]},st=function(t,e){var r=e.max;return!O(t)&&""!==t&&(Array.isArray(t)?t.length>0&&t.every((function(t){return st(t,{max:r})})):Number(t)<=r)},ot={validate:st,params:[{name:"max",cast:function(t){return Number(t)}}]},lt=function(t,e){var r=new RegExp(e.join("|").replace("*",".+")+"$","i");return Array.isArray(t)?t.every((function(t){return r.test(t.type)})):r.test(t.type)},ct={validate:lt},ut=function(t,e){var r=e.length;return!O(t)&&(Array.isArray(t)?t.every((function(t){return ut(t,{length:r})})):String(t).length>=r)},dt={validate:ut,params:[{name:"length",cast:function(t){return Number(t)}}]},ft=function(t,e){var r=e.min;return!O(t)&&""!==t&&(Array.isArray(t)?t.length>0&&t.every((function(t){return ft(t,{min:r})})):Number(t)>=r)},pt={validate:ft,params:[{name:"min",cast:function(t){return Number(t)}}]},vt=/^[٠١٢٣٤٥٦٧٨٩]+$/,mt=/^[0-9]+$/,ht={validate:function(t){var e=function(t){var e=String(t);return mt.test(e)||vt.test(e)};return Array.isArray(t)?t.every(e):e(t)}},bt=function(t,e){var r=e.regex;return Array.isArray(t)?t.every((function(t){return bt(t,{regex:r})})):r.test(String(t))},gt={validate:bt,params:[{name:"regex",cast:function(t){return"string"==typeof t?new RegExp(t):t}}]},_t={validate:function(t,e){var r=(void 0===e?{allowFalse:!0}:e).allowFalse,n={valid:!1,required:!0};return O(t)||S(t)?n:!1!==t||r?(n.valid=!!String(t).trim().length,n):n},params:[{name:"allowFalse",default:!0}],computesRequired:!0},yt=function(t){return S(t)||D([!1,null,void 0],t)||!String(t).trim().length},xt=function(t,e){var r,n=e.target,a=e.values;return a&&a.length?(Array.isArray(a)||"string"!=typeof a||(a=[a]),r=a.some((function(t){return t==String(n).trim()}))):r=!yt(n),r?{valid:!yt(t),required:r}:{valid:!0,required:r}},wt={validate:xt,params:[{name:"target",isTarget:!0},{name:"values"}],computesRequired:!0},$t=function(t,e){var r=e.size;if(isNaN(r))return!1;var n=1024*r;if(!Array.isArray(t))return t.size<=n;for(var a=0;an)return!1;return!0},kt={validate:$t,params:[{name:"size",cast:function(t){return Number(t)}}]},Ct=function(t,e){var r=e||{},n=r.decimals,a=void 0===n?0:n,i=r.separator,s=new RegExp("^-?\\d+"+("comma"===(void 0===i?"dot":i)?",?":"\\.?")+(0===a?"\\d*":"(\\d{"+a+"})?")+"$");return Array.isArray(t)?t.every((function(t){return s.test(String(t))})):s.test(String(t))},At={validate:Ct,params:[{name:"decimals",default:0},{name:"separator",default:"dot"}]},Ot=Object.freeze({__proto__:null,alpha_dash:f,alpha_num:v,alpha_spaces:h,alpha:u,between:g,confirmed:_,digits:x,dimensions:k,email:C,ext:J,image:Y,oneOf:H,integer:Q,length:nt,is_not:et,is:tt,max:it,max_value:ot,mimes:ct,min:dt,min_value:pt,excluded:G,numeric:ht,regex:gt,required:_t,required_if:wt,size:kt,double:At}),St=function(){return St=Object.assign||function(t){for(var e,r=1,n=arguments.length;r0&&a[a.length-1])||6!==i[0]&&2!==i[0])){s=0;continue}if(3===i[0]&&(!a||i[1]>a[0]&&i[1]=0&&qt.getRuleDefinition("max")&&(n.max=r.maxlength),r.minlength>=0&&qt.getRuleDefinition("min")&&(n.min=r.minlength),"number"===r.type&&(P(r.min)&&qt.getRuleDefinition("min_value")&&(n.min_value=Number(r.min)),P(r.max)&&qt.getRuleDefinition("max_value")&&(n.max_value=Number(r.max))),n):n}function Ce(t){var e,r=["input","select","textarea"],n=null===(e=t.data)||void 0===e?void 0:e.attrs;if(!D(r,t.tag)||!n)return{};var a={};return"required"in n&&!1!==n.required&&qt.getRuleDefinition("required")&&(a.required="checkbox"!==n.type||[!0]),de(t)?Gt(St(St({},a),ke(t))):Gt(a)}function Ae(t,e){return t.$scopedSlots.default?t.$scopedSlots.default(e)||[]:t.$slots.default||[]}function Oe(t,e){return!(t._ignoreImmediate||!t.immediate)||!(j(t.value,e)||!t.normalizedEvents.length)||!!t._needsValidation||!t.initialized&&void 0===e}function Se(t){return St(St({},t.flags),{errors:t.errors,classes:t.classes,failedRules:t.failedRules,reset:function(){return t.reset()},validate:function(){for(var e=[],r=0;r0)){var c=Et().useConstraintAttrs?Ce(t):{};le(e._resolvedRules,c)||(e._needsValidation=!0),we(t)&&(e.fieldName=(null===(s=null===(i=t.data)||void 0===i?void 0:i.attrs)||void 0===s?void 0:s.name)||(null===(l=null===(o=t.data)||void 0===o?void 0:o.attrs)||void 0===l?void 0:l.id)),e._resolvedRules=c,Ee(e,t)}}))}return this.slim&&r.length<=1?r[0]:t(this.tag,r)},beforeDestroy:function(){this.$_veeObserver.unobserve(this.id)},activated:function(){this.isActive=!0},deactivated:function(){this.isActive=!1},methods:{setFlags:function(t){var e=this;Object.keys(t).forEach((function(r){e.flags[r]=t[r]}))},syncValue:function(t){var e=ue(t);this.value=e,this.flags.changed=!le(this.initialValue,e)},reset:function(){var t=this;this.errors=[],this.initialValue=this.value;var e=L();e.required=this.isRequired,this.setFlags(e),this.failedRules={},this.validateSilent(),this._pendingValidation=void 0,this._pendingReset=!0,setTimeout((function(){t._pendingReset=!1}),this.debounce)},validate:function(){for(var t=[],e=0;e0&&this.syncValue(t[0]),[2,Pe(this)]}))}))},validateSilent:function(){return Zt(this,void 0,void 0,(function(){var t,e;return jt(this,(function(r){switch(r.label){case 0:return this.setFlags({pending:!0}),t=St(St({},this._resolvedRules),this.normalizedRules),Object.defineProperty(t,"_$$isNormalized",{value:!0,writable:!1,enumerable:!1,configurable:!1}),[4,Qt(this.value,t,St(St({name:this.name||this.fieldName},Re(this)),{bails:this.bails,skipIfEmpty:this.skipIfEmpty,isInitial:!this.initialized,customMessages:this.customMessages}))];case 1:return e=r.sent(),this.setFlags({pending:!1,valid:e.valid,invalid:!e.valid}),void 0!==e.required&&this.setFlags({required:e.required}),[2,e]}}))}))},setErrors:function(t){this.applyResult({errors:t,failedRules:{}})},applyResult:function(t){var e=t.errors,r=t.failedRules,n=t.regenerateMap;this.errors=e,this._regenerateMap=n,this.failedRules=St({},r||{}),this.setFlags({valid:!e.length,passed:!e.length,invalid:!!e.length,failed:!!e.length,validated:!0,changed:!le(this.value,this.initialValue)})},registerField:function(){Ue(this)},checkComputesRequiredState:function(){var t=St(St({},this._resolvedRules),this.normalizedRules);return Object.keys(t).some(qt.isRequireRule)}}});function Be(t,e){for(var r={},n=Object.keys(e),a=n.length,i=function(a){var i=n[a],s=t&&t[i]||i,o=e[i];return O(o)?"continue":"valid"!==i&&"invalid"!==i||e.validated?void("string"==typeof s?r[s]=o:Array.isArray(s)&&s.forEach((function(t){r[t]=o}))):"continue"},s=0;s{"use strict";r.d(e,{Z:()=>a});const n={name:"AppInputButton",props:["description","isLast","title","error"]};const a=(0,r(1900).Z)(n,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"w-full justify-between space-y-4 sm:flex sm:space-x-8 sm:space-x-2 sm:space-y-0",class:{"mb-6 sm:mb-7":!t.isLast}},[r("div",{staticClass:"leading-5"},[r("label",{staticClass:"mb-1.5 block text-sm font-bold text-gray-700 dark:text-gray-200"},[t._v(" "+t._s(t.title)+": ")]),t._v(" "),t.description?r("span",{staticClass:"block text-xs leading-4 dark:text-gray-500 text-gray-500",domProps:{innerHTML:t._s(t.description)}}):t._e(),t._v(" "),t.error?r("span",{staticClass:"error-message"},[t._v("\n "+t._s(t.error)+"\n ")]):t._e()]),t._v(" "),r("div",[t._t("default")],2)])}),[],!1,null,null,null).exports},9194:(t,e,r)=>{"use strict";r.d(e,{Z:()=>a});const n={name:"AppInputSwitch",props:["description","isLast","title","error"]};const a=(0,r(1900).Z)(n,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"flex w-full items-center justify-between space-x-2 sm:space-x-8",class:{"mb-6 sm:mb-7":!t.isLast}},[r("div",{staticClass:"leading-5"},[r("label",{staticClass:"mb-1.5 block text-sm font-bold text-gray-700 dark:text-gray-200"},[t._v(" "+t._s(t.title)+": ")]),t._v(" "),t.description?r("span",{staticClass:"block text-xs leading-4 dark:text-gray-500 text-gray-500",domProps:{innerHTML:t._s(t.description)}}):t._e(),t._v(" "),t.error?r("span",{staticClass:"pt-2 text-xs dark:text-rose-600 text-rose-600"},[t._v("\n "+t._s(t.error)+"\n ")]):t._e()]),t._v(" "),r("div",[t._t("default")],2)])}),[],!1,null,null,null).exports},4383:(t,e,r)=>{"use strict";r.d(e,{Z:()=>a});const n={name:"AppInputText",props:["description","isLast","title","error"]};const a=(0,r(1900).Z)(n,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{class:{"mb-6 sm:mb-7":!t.isLast}},[t.title?r("label",{staticClass:"mb-1.5 block text-sm font-bold text-gray-700 dark:text-gray-200"},[t._v("\n "+t._s(t.title)+":\n ")]):t._e(),t._v(" "),t._t("default"),t._v(" "),t.error?r("span",{staticClass:"pt-2 text-xs dark:text-rose-600 text-rose-600"},[t._v("\n "+t._s(t.error)+"\n ")]):t._e(),t._v(" "),t.description?r("small",{staticClass:"block pt-2 text-xs leading-4 dark:text-gray-500 text-gray-500",domProps:{innerHTML:t._s(t.description)}}):t._e()],2)}),[],!1,null,null,null).exports},9275:(t,e,r)=>{"use strict";r.d(e,{Z:()=>f});const n={name:"DotLabel",props:["color","title"]};var a=r(3379),i=r.n(a),s=r(2316),o={insert:"head",singleton:!1};i()(s.Z,o);s.Z.locals;var l=r(1900);const c={name:"ProgressLine",props:["data"],components:{DotLabel:(0,l.Z)(n,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"label"},[r("span",{class:["label-dot",t.color]}),t._v(" "),r("b",{staticClass:"label-title"},[t._v("\n "+t._s(t.title)+"\n ")])])}),[],!1,null,"2e087afb",null).exports}};var u=r(9935),d={insert:"head",singleton:!1};i()(u.Z,d);u.Z.locals;const f=(0,l.Z)(c,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",[r("div",{staticClass:"mb-4 flex h-2.5 items-center rounded bg-light-300 dark:bg-2x-dark-foreground"},t._l(t.data,(function(e,n){return r("div",{key:n,staticClass:"chart-wrapper",style:{width:(e.progress>1?e.progress:0)+"%"}},[1===t.data.length?r("span",{staticClass:"chart-progress block h-2.5 w-full",class:[{"rounded-tl-lg rounded-bl-lg border-r-2 border-white dark:border-gray-800":e.progress<100,"rounded-lg border-none":e.progress>=100},e.color]}):t._e(),t._v(" "),t.data.length>1&&e.progress>0?r("span",{staticClass:"chart-progress block h-2.5 w-full",class:[{"rounded-tl-lg rounded-bl-lg border-r-2 border-white dark:border-gray-800":0===n,"border-r-2 border-white dark:border-gray-800":n{"use strict";r.d(e,{Z:()=>l});const n={name:"ColorLabel",props:["color"]};var a=r(3379),i=r.n(a),s=r(6798),o={insert:"head",singleton:!1};i()(s.Z,o);s.Z.locals;const l=(0,r(1900).Z)(n,(function(){var t=this,e=t.$createElement;return(t._self._c||e)("b",{staticClass:"color-label inline-block rounded-lg py-1 px-2 text-xs font-bold capitalize",class:t.color},[t._t("default")],2)}),[],!1,null,"d470f17c",null).exports},5996:(t,e,r)=>{"use strict";r.d(e,{Z:()=>i});var n=r(9101);const a={name:"FormLabel",props:["icon"],components:{WifiIcon:n.kVp,ListIcon:n.DE2,MailIcon:n.bV6,InfoIcon:n.szr,DatabaseIcon:n.VHe,UsersIcon:n.oyc,CreditCardIcon:n.ciH,DollarSignIcon:n.bkH,SmartphoneIcon:n.BEV,HardDriveIcon:n.zvn,BarChartIcon:n.eJP,SettingsIcon:n.ewm,FileTextIcon:n.zPP,ShieldIcon:n.b7C,FrownIcon:n.eFi,Edit2Icon:n.me4,BellIcon:n.Dkj,KeyIcon:n._m8}};const i=(0,r(1900).Z)(a,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"mb-8 flex items-center"},[t.icon?t._e():r("edit-2-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}),t._v(" "),"frown"===t.icon?r("frown-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):t._e(),t._v(" "),"list"===t.icon?r("list-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):t._e(),t._v(" "),"info"===t.icon?r("info-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):t._e(),t._v(" "),"database"===t.icon?r("database-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):t._e(),t._v(" "),"file-text"===t.icon?r("file-text-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):t._e(),t._v(" "),"dollar"===t.icon?r("dollar-sign-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):t._e(),t._v(" "),"credit-card"===t.icon?r("credit-card-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):t._e(),t._v(" "),"bar-chart"===t.icon?r("bar-chart-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):t._e(),t._v(" "),"settings"===t.icon?r("settings-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):t._e(),t._v(" "),"hard-drive"===t.icon?r("hard-drive-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):t._e(),t._v(" "),"mail"===t.icon?r("mail-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):t._e(),t._v(" "),"smartphone"===t.icon?r("smartphone-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):t._e(),t._v(" "),"shield"===t.icon?r("shield-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):t._e(),t._v(" "),"bell"===t.icon?r("bell-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):t._e(),t._v(" "),"key"===t.icon?r("key-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):t._e(),t._v(" "),"users"===t.icon?r("users-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):t._e(),t._v(" "),"wifi"===t.icon?r("wifi-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):t._e(),t._v(" "),r("b",{staticClass:"text-md font-bold dark:text-gray-200 sm:text-lg"},[t._t("default")],2)],1)}),[],!1,null,null,null).exports},6291:(t,e,r)=>{"use strict";r.d(e,{Z:()=>l});const n={name:"InfoBox",props:["type"]};var a=r(3379),i=r.n(a),s=r(9397),o={insert:"head",singleton:!1};i()(s.Z,o);s.Z.locals;const l=(0,r(1900).Z)(n,(function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{staticClass:"info-box",class:t.type},[t._t("default")],2)}),[],!1,null,"4d9e9780",null).exports},2792:(t,e,r)=>{"use strict";r.d(e,{Z:()=>l});const n={name:"PageTab",props:["isLoading"],components:{Spinner:r(7318).Z}};var a=r(3379),i=r.n(a),s=r(1213),o={insert:"head",singleton:!1};i()(s.Z,o);s.Z.locals;const l=(0,r(1900).Z)(n,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"page-tab"},[r("div",{directives:[{name:"show",rawName:"v-show",value:t.isLoading,expression:"isLoading"}],attrs:{id:"loader"}},[r("Spinner")],1),t._v(" "),t._t("default")],2)}),[],!1,null,"6c76a2be",null).exports},3808:(t,e,r)=>{"use strict";r.d(e,{Z:()=>v});var n=r(9101);const a={props:["data"],computed:{normalizedColumns:function(){return this.data.id&&delete this.data.id,Object.values(this.data)}}};var i=r(3379),s=r.n(i),o=r(9611),l={insert:"head",singleton:!1};s()(o.Z,l);o.Z.locals;var c=r(1900);const u=(0,c.Z)(a,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("tr",{staticClass:"table-row"},t._l(t.normalizedColumns,(function(e,n){return r("td",{key:n,staticClass:"table-cell"},[r("span",[t._v(t._s(e))])])})),0)}),[],!1,null,"4f806708",null).exports;var d=r(9669),f=r.n(d);const p={name:"DatatableWrapper",props:["paginator","tableData","columns","scope","api"],components:{ChevronRightIcon:n.XCv,ChevronLeftIcon:n.wyc,DatatableCell:u,ChevronUpIcon:n.g8U},computed:{hasData:function(){return this.data&&this.data.data&&this.data.data.length>0},floatPages:function(){return[this.pageIndex-1,this.pageIndex,this.pageIndex+1]}},data:function(){return{data:void 0,isLoading:!0,pageIndex:1,filter:{sort:"DESC",field:void 0}}},methods:{goToPage:function(t){t>this.data.meta.last_page||0===t||(this.pageIndex=t,this.getPage(t))},sort:function(t,e){e&&(this.filter.field=t,"DESC"===this.filter.sort?this.filter.sort="ASC":"ASC"===this.filter.sort&&(this.filter.sort="DESC"),this.getPage(this.pageIndex))},getPage:function(t){var e=this;this.URI=this.api,this.paginator&&(this.URI=this.URI+"?page="+t),this.filter.field&&(this.URI=this.URI+(this.paginator?"&":"?")+"sort="+this.filter.field+"&direction="+this.filter.sort),this.isLoading=!0,f().get(this.URI).then((function(t){e.data=t.data,e.$emit("data",t.data)})).catch((function(){return e.$isSomethingWrong()})).finally((function(){e.$emit("init",!0),e.isLoading=!1}))}},created:function(){this.api&&this.getPage(this.pageIndex),this.tableData&&(this.data=this.tableData,this.isLoading=!1)}};const v=(0,c.Z)(p,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"w-full"},[t.hasData?r("table",{staticClass:"w-full"},[r("thead",[r("tr",{staticClass:"whitespace-nowrap"},t._l(t.columns,(function(e,n){return e.hidden?t._e():r("th",{key:n,staticClass:"text-left",class:{"sortable cursor-pointer":e.sortable,"text-right":Object.values(t.columns).length-1===n},on:{click:function(r){return t.sort(e.field,e.sortable)}}},[r("span",{staticClass:"text-xs text-gray-400 dark:text-gray-500"},[t._v("\n "+t._s(t.$t(e.label))+"\n ")]),t._v(" "),e.sortable?r("chevron-up-icon",{staticClass:"vue-feather inline-block text-gray-300 dark:text-gray-500",class:{"arrow-down":"ASC"===t.filter.sort},attrs:{size:"12"}}):t._e()],1)})),0)]),t._v(" "),r("tbody",{staticClass:"table-body"},[t._l(t.data.data,(function(e){return t._t("default",(function(){return[r("DatatableCell",{key:e.id,attrs:{data:e}})]}),{row:e})}))],2)]):t._e(),t._v(" "),t.isLoading||t.hasData?t._e():t._t("empty-page"),t._v(" "),t.paginator&&t.hasData?r("div",{staticClass:"mt-6 flex items-center justify-between"},[t.data.meta.total>15&&t.data.meta.last_page<=6?r("ul",{staticClass:"pagination flex items-center"},[r("li",{staticClass:"previous inline-block p-1"},[r("a",{staticClass:"page-link",class:{"cursor-default opacity-20":1===t.pageIndex},on:{click:function(e){return t.goToPage(t.pageIndex-1)}}},[r("chevron-left-icon",{staticClass:"inline-block",attrs:{size:"14"}})],1)]),t._v(" "),t._l(t.data.meta.last_page,(function(e,n){return r("li",{key:n,staticClass:"inline-block p-1",on:{click:function(r){return t.goToPage(e)}}},[r("a",{staticClass:"page-link",class:{"bg-light-background dark:bg-4x-dark-foreground dark:text-gray-300":t.pageIndex===e}},[t._v("\n "+t._s(e)+"\n ")])])})),t._v(" "),r("li",{staticClass:"next inline-block p-1"},[r("a",{staticClass:"page-link",class:{"cursor-default opacity-20":t.pageIndex===t.data.meta.last_page},on:{click:function(e){return t.goToPage(t.pageIndex+1)}}},[r("chevron-right-icon",{staticClass:"inline-block",attrs:{size:"14"}})],1)])],2):t._e(),t._v(" "),t.data.meta.total>15&&t.data.meta.last_page>6?r("ul",{staticClass:"pagination flex items-center"},[r("li",{staticClass:"previous inline-block p-1"},[r("a",{staticClass:"page-link",class:{"cursor-default opacity-20":1===t.pageIndex},on:{click:function(e){return t.goToPage(t.pageIndex-1)}}},[r("chevron-left-icon",{staticClass:"inline-block",attrs:{size:"14"}})],1)]),t._v(" "),t.pageIndex>=5?r("li",{staticClass:"inline-block p-1",on:{click:function(e){return t.goToPage(1)}}},[r("a",{staticClass:"page-link"},[t._v(" 1 ")])]):t._e(),t._v(" "),t._l(5,(function(e,n){return t.pageIndex<5?r("li",{key:n,staticClass:"inline-block p-1",on:{click:function(r){return t.goToPage(e)}}},[r("a",{staticClass:"page-link",class:{"bg-light-background dark:bg-4x-dark-foreground dark:text-gray-300":t.pageIndex===e}},[t._v("\n "+t._s(e)+"\n ")])]):t._e()})),t._v(" "),t.pageIndex>=5?r("li",{staticClass:"inline-block p-1"},[r("a",{staticClass:"page-link"},[t._v("...")])]):t._e(),t._v(" "),t._l(t.floatPages,(function(e,n){return t.pageIndex>=5&&t.pageIndext.data.meta.last_page-4?r("li",{key:n,staticClass:"inline-block p-1",on:{click:function(e){t.goToPage(t.data.meta.last_page-(4-n))}}},[r("a",{staticClass:"page-link",class:{"bg-light-background dark:bg-4x-dark-foreground dark:text-gray-300":t.pageIndex===t.data.meta.last_page-(4-n)}},[t._v("\n "+t._s(t.data.meta.last_page-(4-n))+"\n ")])]):t._e()})),t._v(" "),t.pageIndex{"use strict";r.d(e,{Z:()=>l});var n=r(167),a=r(2547),i=r(3426),s=r(9101);const o={name:"FixedTransactionRow",components:{MeteredTransactionDetailRow:a.Z,MemberAvatar:n.Z,FileTextIcon:s.zPP,ColorLabel:i.Z,EyeIcon:s.tEF},props:{row:{},user:{type:Boolean,default:!1}},data:function(){return{showedTransactionDetailById:void 0}},methods:{showTransactionDetail:function(t){this.showedTransactionDetailById===t?this.showedTransactionDetailById=void 0:this.showedTransactionDetailById=t}}};const l=(0,r(1900).Z)(o,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("tr",{staticClass:"whitespace-nowrap border-b border-dashed border-light dark:border-opacity-5"},[r("td",{staticClass:"py-5 pr-3 md:pr-1"},[r("span",{staticClass:"text-sm font-bold"},[t._v("\n "+t._s(t.row.data.attributes.note)+"\n ")])]),t._v(" "),t.user?r("td",{staticClass:"whitespace-nowrap px-3 md:px-1"},[t.row.data.relationships.user?r("div",{staticClass:"flex items-center"},[r("MemberAvatar",{attrs:{"is-border":!1,size:36,member:t.row.data.relationships.user}}),t._v(" "),r("div",{staticClass:"ml-3 pr-10"},[r("b",{staticClass:"max-w-1 block overflow-hidden text-ellipsis whitespace-nowrap text-sm font-bold",staticStyle:{"max-width":"155px"}},[t._v("\n "+t._s(t.row.data.relationships.user.data.attributes.name)+"\n ")]),t._v(" "),r("span",{staticClass:"block text-xs text-gray-600 dark:text-gray-500"},[t._v("\n "+t._s(t.row.data.relationships.user.data.attributes.email)+"\n ")])])],1):t._e(),t._v(" "),t.row.data.relationships.user?t._e():r("span",{staticClass:"text-xs font-bold text-gray-500"},[t._v("\n "+t._s(t.$t("user_was_deleted"))+"\n ")])]):t._e(),t._v(" "),r("td",{staticClass:"px-3 md:px-1"},[r("ColorLabel",{staticClass:"capitalize",attrs:{color:t.$getTransactionStatusColor(t.row.data.attributes.status)}},[t._v("\n "+t._s(t.$t(t.row.data.attributes.status))+"\n ")])],1),t._v(" "),r("td",{staticClass:"px-3 md:px-1"},[r("span",{staticClass:"text-sm font-bold",class:t.$getTransactionTypeTextColor(t.row.data.attributes.type)},[t._v("\n "+t._s(t.$getTransactionMark(t.row.data.attributes.type)+t.row.data.attributes.price)+"\n ")])]),t._v(" "),r("td",{staticClass:"px-3 md:px-1"},[r("span",{staticClass:"text-sm font-bold"},[t._v("\n "+t._s(t.row.data.attributes.created_at)+"\n ")])]),t._v(" "),r("td",{staticClass:"px-3 md:px-1"},[r("div",{staticClass:"w-28"},[r("img",{staticClass:"inline-block max-h-5",attrs:{src:t.$getPaymentLogo(t.row.data.attributes.driver),alt:t.row.data.attributes.driver}})])]),t._v(" "),r("td",{staticClass:"pl-3 text-right md:pl-1"},[r("div",{staticClass:"inline-block"},[r("a",{staticClass:"inline-block flex h-8 w-8 cursor-pointer items-center justify-center rounded-md bg-light-background transition-colors hover:bg-purple-100 dark:bg-2x-dark-foreground",attrs:{href:t.$getInvoiceLink(t.row.data.id),target:"_blank"}},[r("FileTextIcon",{staticClass:"opacity-75",attrs:{size:"15"}})],1)])])])}),[],!1,null,null,null).exports},2547:(t,e,r)=>{"use strict";r.d(e,{Z:()=>a});const n={name:"MeteredTransactionDetailRow",props:["row"]};const a=(0,r(1900).Z)(n,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("tr",[r("td",{staticClass:"overflow-hidden rounded-lg py-2",attrs:{colspan:"10"}},t._l(t.row.data.attributes.metadata,(function(e,n){return r("div",{key:n,staticClass:"flex items-center justify-between border-b border-dashed border-light py-2 dark:border-opacity-5"},[r("div",{staticClass:"w-2/4 leading-none"},[r("b",{staticClass:"text-sm font-bold leading-none"},[t._v("\n "+t._s(t.$t(e.feature))+"\n ")]),t._v(" "),r("small",{staticClass:"hidden pt-2 text-xs leading-none text-gray-500 sm:block"},[t._v("\n "+t._s(t.$t("feature_usage_desc_"+e.feature))+"\n ")])]),t._v(" "),r("div",{staticClass:"w-1/4 text-left"},[r("span",{staticClass:"text-gray-560 text-sm font-bold"},[t._v("\n "+t._s(e.usage)+"\n ")])]),t._v(" "),r("div",{staticClass:"w-1/4 text-right"},[r("span",{staticClass:"text-theme text-sm font-bold"},[t._v("\n "+t._s(e.cost)+"\n ")])])])})),0)])}),[],!1,null,null,null).exports},8384:(t,e,r)=>{"use strict";r.d(e,{Z:()=>l});var n=r(167),a=r(2547),i=r(3426),s=r(9101);const o={name:"MeteredTransactionRow",components:{MeteredTransactionDetailRow:a.Z,MemberAvatar:n.Z,FileTextIcon:s.zPP,ColorLabel:i.Z,EyeIcon:s.tEF},props:{row:{},user:{type:Boolean,default:!1}},data:function(){return{showedTransactionDetailById:void 0}},methods:{showTransactionDetail:function(t){this.showedTransactionDetailById===t?this.showedTransactionDetailById=void 0:this.showedTransactionDetailById=t}}};const l=(0,r(1900).Z)(o,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("tr",{staticClass:"whitespace-nowrap border-b border-dashed border-light dark:border-opacity-5"},[r("td",{staticClass:"py-5 pr-3 md:pr-1"},[r("span",{staticClass:"text-sm font-bold"},[t._v("\n "+t._s(t.row.data.attributes.note)+"\n ")])]),t._v(" "),t.user?r("td",{staticClass:"whitespace-nowrap px-3 md:px-1"},[t.row.data.relationships.user?r("div",{staticClass:"flex items-center"},[r("MemberAvatar",{attrs:{"is-border":!1,size:36,member:t.row.data.relationships.user}}),t._v(" "),r("div",{staticClass:"ml-3 pr-10"},[r("b",{staticClass:"max-w-1 block overflow-hidden text-ellipsis whitespace-nowrap text-sm font-bold",staticStyle:{"max-width":"155px"}},[t._v("\n "+t._s(t.row.data.relationships.user.data.attributes.name)+"\n ")]),t._v(" "),r("span",{staticClass:"block text-xs text-gray-600 dark:text-gray-500"},[t._v("\n "+t._s(t.row.data.relationships.user.data.attributes.email)+"\n ")])])],1):t._e(),t._v(" "),t.row.data.relationships.user?t._e():r("span",{staticClass:"text-xs font-bold text-gray-500"},[t._v("\n "+t._s(t.$t("user_was_deleted"))+"\n ")])]):t._e(),t._v(" "),r("td",{staticClass:"px-3 md:px-1"},[r("ColorLabel",{staticClass:"capitalize",attrs:{color:t.$getTransactionStatusColor(t.row.data.attributes.status)}},[t._v("\n "+t._s(t.$t(t.row.data.attributes.status))+"\n ")])],1),t._v(" "),r("td",{staticClass:"px-3 md:px-1"},[r("span",{staticClass:"text-sm font-bold capitalize"},[t._v("\n "+t._s(t.$t(t.row.data.attributes.type))+"\n ")])]),t._v(" "),r("td",{staticClass:"px-3 md:px-1"},[r("span",{staticClass:"text-sm font-bold",class:t.$getTransactionTypeTextColor(t.row.data.attributes.type)},[t._v("\n "+t._s(t.$getTransactionMark(t.row.data.attributes.type)+t.row.data.attributes.price)+"\n ")])]),t._v(" "),r("td",{staticClass:"px-3 md:px-1"},[r("span",{staticClass:"text-sm font-bold"},[t._v("\n "+t._s(t.row.data.attributes.created_at)+"\n ")])]),t._v(" "),r("td",{staticClass:"px-3 md:px-1"},[r("div",{staticClass:"w-28"},[r("img",{staticClass:"inline-block max-h-5",attrs:{src:t.$getPaymentLogo(t.row.data.attributes.driver),alt:t.row.data.attributes.driver}})])]),t._v(" "),r("td",{staticClass:"pl-3 text-right md:pl-1"},[t.row.data.attributes.metadata?r("div",{staticClass:"flex w-full justify-end space-x-2"},[r("div",{staticClass:"flex h-8 w-8 cursor-pointer items-center justify-center rounded-md bg-light-background transition-colors hover:bg-green-100 dark:bg-2x-dark-foreground",on:{click:function(e){return t.$emit("showDetail",t.row.data.id)}}},[r("EyeIcon",{staticClass:"opacity-75",attrs:{size:"15"}})],1),t._v(" "),r("a",{staticClass:"flex h-8 w-8 cursor-pointer items-center justify-center rounded-md bg-light-background transition-colors hover:bg-purple-100 dark:bg-2x-dark-foreground",attrs:{href:t.$getInvoiceLink(t.row.data.id),target:"_blank"}},[r("FileTextIcon",{staticClass:"opacity-75",attrs:{size:"15"}})],1)]):r("div",[t._v("-")])])])}),[],!1,null,null,null).exports},3390:(t,e,r)=>{"use strict";r.r(e),r.d(e,{default:()=>Ft});var n=r(9194),a=r(6746),i=r(5996),s=r(9669),o=r.n(s),l=r(826),c=r(5218);const u={name:"UserUpdatePaymentMethodsExternally",components:{AppInputButton:c.Z,AppInputSwitch:n.Z,ButtonBase:a.Z,FormLabel:i.Z},computed:{canShowForSubscription:function(){return this.hasSubscription&&!this.subscription.attributes.is_cancelled&&["paystack","paypal"].includes(this.subscription.attributes.driver)},subscription:function(){return this.$store.getters.user.data.relationships.subscription.data},hasSubscription:function(){return this.$store.getters.user.data.relationships.subscription}},data:function(){return{isGeneratedUpdateLink:!1}},methods:{updatePaymentMethod:function(){var t=this;this.isGeneratedUpdateLink=!0,o().post("/api/subscriptions/edit/".concat(this.subscription.id)).then((function(t){window.location=t.data.url})).catch((function(){l.U.$emit("toaster",{type:"danger",message:t.$t("popup_error.title")}),t.isGeneratedUpdateLink=!1}))}}};var d=r(1900);const f=(0,d.Z)(u,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return t.canShowForSubscription?r("div",{staticClass:"card shadow-card"},[r("FormLabel",[t._v("\n "+t._s(t.$t("update_payments"))+"\n ")]),t._v(" "),r("AppInputButton",{attrs:{title:t.$t("update_payment_method"),description:t.$t("payment_method_update_redirect_description"),"is-last":!0}},[r("ButtonBase",{staticClass:"w-full sm:w-auto",attrs:{loading:t.isGeneratedUpdateLink,"button-style":"theme"},nativeOn:{click:function(e){return t.updatePaymentMethod.apply(null,arguments)}}},[t._v("\n "+t._s(t.$t("update_payments"))+"\n ")])],1)],1):t._e()}),[],!1,null,null,null).exports;var p=r(9101),v=r(3426),m=r(3808),h=r(6291),b=r(629),g=r(2547),_=r(8384);function y(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function x(t){for(var e=1;et.length)&&(e=t.length);for(var r=0,n=new Array(e);r element.");return n.appendChild(r),r}(t)),n.addEventListener("load",(function(){window.Stripe?e(window.Stripe):r(new Error("Stripe.js not available"))})),n.addEventListener("error",(function(){r(new Error("Failed to load Stripe.js"))}))}catch(t){return void r(t)}else e(null)}))),M},V=function(t,e,r){if(null===t)return null;var n=t.apply(void 0,e);return function(t,e){t&&t._registerWrapper&&t._registerWrapper({name:"stripe-js",version:"1.24.0",startTime:e})}(n,r),n},N=Promise.resolve().then((function(){return q(null)})),W=!1;N.catch((function(t){W||console.warn(t)}));var H=function(){for(var t=arguments.length,e=new Array(t),r=0;r0}}),data:function(){return{isLoading:!1,isCreditCardForm:!1,stripe:{isInitialization:!0,storingStripePaymentMethod:!1}}},methods:{storeStripePaymentMethod:function(){var t=this;return K(T().mark((function e(){var r,n;return T().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t.config.isDemo||"ho**@hi5ve.digital"!==t.user.data.attributes.email){e.next=3;break}return l.U.$emit("toaster",{type:"success",message:t.$t("credit_card_stored")}),e.abrupt("return");case 3:return t.stripe.storingStripePaymentMethod=!0,e.next=6,Q.confirmSetup({elements:tt,redirect:"if_required",confirmParams:{return_url:window.location.href}});case 6:r=e.sent,(n=r.error)?document.querySelector("#error-message").textContent=n.message:(l.U.$emit("toaster",{type:"success",message:t.$t("credit_card_stored")}),setTimeout((function(){return document.location.reload()}),500)),t.stripe.storingStripePaymentMethod=!1;case 10:case"end":return e.stop()}}),e)})))()},stripeInit:function(){var t=this;return K(T().mark((function e(){return T().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,H(t.config.stripe_public_key);case 2:return Q=e.sent,e.next=5,o().get("/api/stripe/setup-intent").then((function(e){(tt=Q.elements({clientSecret:e.data.client_secret,appearance:{theme:"stripe",variables:{colorPrimary:t.config.app_color,fontFamily:"Nunito",borderRadius:"8px",colorText:t.isDarkMode?"#bec6cf":"#1B2539",colorBackground:t.isDarkMode?"#191b1e":"#fff",fontWeightNormal:"700",fontSizeSm:"0.875rem",colorSuccessText:"#0ABB87",colorSuccess:"#0ABB87",colorWarning:"#fd397a",colorWarningText:"#fd397a",colorDangerText:"#fd397a",colorTextSecondary:"#6b7280",spacingGridRow:"20px"}}})).create("payment").mount("#payment-element")})).catch((function(){l.U.$emit("toaster",{type:"danger",message:t.$t("popup_error.title")})}));case 5:t.stripe.isInitialization=!1;case 6:case"end":return e.stop()}}),e)})))()},showStoreCreditCardForm:function(){this.isCreditCardForm=!this.isCreditCardForm,this.stripeInit()}}};const rt=(0,d.Z)(et,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return t.canShowForMeteredBilling||t.canShowForFixedBilling?r("div",{staticClass:"card shadow-card"},[r("FormLabel",{attrs:{icon:"credit-card"}},[t._v("\n "+t._s(t.$t("payment_method"))+"\n ")]),t._v(" "),t.hasPaymentMethod?r("div",["metered"===t.config.subscriptionType&&t.user.data.relationships.balance.data.attributes.balance>0?r("b",{staticClass:"mb-3 mb-5 block text-sm"},[t._v("\n "+t._s(t.$t("credit_to_auto_withdraw",{credit:t.user.data.relationships.balance.data.attributes.formatted}))+"\n ")]):t._e(),t._v(" "),t._l(t.user.data.relationships.creditCards.data,(function(t){return r("PaymentCard",{key:t.data.id,attrs:{card:t}})})),t._v(" "),r("small",{staticClass:"hidden pt-3 text-xs leading-none dark:text-gray-500 text-gray-500 sm:block"},[t._v("\n "+t._s(t.$t("auto_settled_credit_card"))+"\n ")])],2):t._e(),t._v(" "),t.hasPaymentMethod?t._e():r("div",[t.isCreditCardForm?t._e():r("ButtonBase",{staticClass:"mt-4 w-full",attrs:{loading:t.stripe.storingStripePaymentMethod,type:"submit","button-style":"theme"},nativeOn:{click:function(e){return t.showStoreCreditCardForm.apply(null,arguments)}}},[t._v("\n "+t._s(t.$t("add_payment_method"))+"\n ")]),t._v(" "),t.isCreditCardForm?r("form",{staticClass:"mt-6",attrs:{id:"payment-form"},on:{submit:function(e){return e.preventDefault(),t.storeStripePaymentMethod.apply(null,arguments)}}},[t.stripe.isInitialization?r("div",{staticClass:"relative mb-6 h-10"},[r("Spinner")],1):t._e(),t._v(" "),t.config.isDemo&&!t.stripe.isInitialization?r("InfoBox",[r("p",[t._v("For adding test credit card please use "),r("b",{staticClass:"text-theme"},[t._v("4242 4242 4242 4242")]),t._v(" as a card number, "),r("b",{staticClass:"text-theme"},[t._v("11/22")]),t._v("\n\t\t\t\t\t\tas the expiration date and "),r("b",{staticClass:"text-theme"},[t._v("123")]),t._v(" as CVC number and ZIP "),r("b",{staticClass:"text-theme"},[t._v("12345")]),t._v(" if required.")])]):t._e(),t._v(" "),r("div",{attrs:{id:"payment-element"}}),t._v(" "),r("ButtonBase",{staticClass:"mt-4 w-full",attrs:{loading:t.stripe.storingStripePaymentMethod,type:"submit","button-style":"theme"}},[t._v("\n "+t._s(t.$t("store_my_credit_card"))+"\n ")]),t._v(" "),r("div",{staticClass:"pt-2 text-xs text-rose-600",attrs:{id:"error-message"}})],1):t._e()],1)],1):t._e()}),[],!1,null,null,null).exports;const nt={name:"UserEmptySubscription",components:{ButtonBase:a.Z,FormLabel:i.Z,InfoBox:h.Z},computed:{hasSubscription:function(){return this.$store.getters.user.data.relationships.subscription}}};const at=(0,d.Z)(nt,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return t.hasSubscription?t._e():r("div",{staticClass:"card shadow-card"},[r("FormLabel",[t._v("\n "+t._s(t.$t("subscription"))+"\n ")]),t._v(" "),r("b",{staticClass:"-mt-3 mb-0.5 block text-2xl font-extrabold sm:text-3xl"},[t._v("\n "+t._s(t.$t("free_plan"))+"\n ")]),t._v(" "),t.$store.getters.config.allowed_payments?r("b",{staticClass:"mb-3 mb-8 block text-sm text-gray-400"},[t._v("\n "+t._s(t.$t("upgrade_to_get_more"))+"\n ")]):t._e(),t._v(" "),t.$store.getters.config.allowed_payments?r("ButtonBase",{staticClass:"mt-4 w-full",attrs:{type:"submit","button-style":"theme"},nativeOn:{click:function(e){return t.$openSubscribeOptions.apply(null,arguments)}}},[t._v("\n "+t._s(t.$t("upgrade_your_account"))+"\n ")]):t._e()],1)}),[],!1,null,null,null).exports;var it=r(4383);const st={name:"UserEditSubscription",components:{AppInputButton:c.Z,AppInputSwitch:n.Z,AppInputText:it.Z,ButtonBase:a.Z,FormLabel:i.Z},computed:{subscription:function(){return this.$store.getters.user.data.relationships.subscription.data},hasSubscription:function(){return this.$store.getters.user.data.relationships.subscription}},data:function(){return{isCancelling:!1}},methods:{cancelSubscriptionConfirmation:function(){l.U.$emit("confirm:open",{title:this.$t("want_cancel_subscription"),message:this.$t("popup_subscription_cancel.message"),action:{operation:"cancel-subscription"}})}},created:function(){var t=this;l.U.$on("action:confirmed",(function(e){"cancel-subscription"===e.operation&&(t.isCancelling=!0,o().post("/api/subscriptions/cancel").then((function(){t.$store.dispatch("getAppData"),l.U.$emit("toaster",{type:"success",message:t.$t("popup_subscription_cancel.title")})})).catch((function(){l.U.$emit("toaster",{type:"danger",message:t.$t("popup_error.title")})})).finally((function(){t.isCancelling=!1})))}))},destroyed:function(){l.U.$off("action:confirmed")}};const ot=(0,d.Z)(st,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return t.hasSubscription?r("div",{staticClass:"card shadow-card"},[r("FormLabel",[t._v("\n "+t._s(t.$t("edit_your_subscription"))+"\n ")]),t._v(" "),"cancelled"!==t.subscription.attributes.status?r("AppInputButton",{attrs:{title:t.$t("cancel_subscription"),description:t.$t("cancel_subscription_description")}},[r("ButtonBase",{staticClass:"w-full sm:w-auto",attrs:{loading:t.isCancelling,"button-style":"secondary"},nativeOn:{click:function(e){return t.cancelSubscriptionConfirmation.apply(null,arguments)}}},[t._v("\n "+t._s(t.$t("cancel_now"))+"\n ")])],1):t._e(),t._v(" "),r("AppInputButton",{attrs:{title:t.$t("upgrade_downgrade_plan"),description:t.$t("upgrade_downgrade_plan_description"),"is-last":!0}},[r("ButtonBase",{staticClass:"w-full sm:w-auto",attrs:{"button-style":"secondary"},nativeOn:{click:function(e){return t.$changeSubscriptionOptions.apply(null,arguments)}}},[t._v("\n "+t._s(t.$t("change_plan"))+"\n ")])],1)],1):t._e()}),[],!1,null,null,null).exports;function lt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function ct(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}const ut={name:"UserFailedPayments",components:{FormLabel:i.Z,InfoBox:h.Z},computed:function(t){for(var e=1;e0?r("div",{staticClass:"card shadow-card"},[r("FormLabel",{attrs:{icon:"frown"}},[t._v("\n "+t._s(t.$t("failed_payments"))+"\n ")]),t._v(" "),r("b",{staticClass:"-mt-3 mb-0.5 block text-2xl font-extrabold sm:text-3xl"},[t._v("\n -"+t._s(t.user.data.meta.totalDebt.formatted)+"\n ")]),t._v(" "),r("b",{staticClass:"mb-3 mb-5 block text-sm text-gray-400"},[t._v("\n "+t._s(t.$t("unable_to_charge"))+"\n ")]),t._v(" "),t._l(t.user.data.relationships.failedPayments.data,(function(e){return r("div",{key:e.data.id,staticClass:"flex items-center justify-between border-b border-dashed border-light py-2 dark:border-opacity-5"},[r("div",{staticClass:"w-2/4 leading-none"},[r("b",{staticClass:"text-sm font-bold leading-none"},[t._v("\n "+t._s(e.data.attributes.note)+"\n ")])]),t._v(" "),r("div",{staticClass:"w-1/4 text-left"},[r("span",{staticClass:"text-gray-560 text-sm font-bold capitalize"},[t._v("\n "+t._s(t.$t(e.data.attributes.source))+"\n ")])]),t._v(" "),r("div",{staticClass:"w-1/4 text-right"},[r("span",{staticClass:"text-sm font-bold"},[t._v("\n "+t._s(e.data.attributes.created_at)+"\n ")])]),t._v(" "),r("div",{staticClass:"w-1/4 text-right"},[r("span",{staticClass:"text-red text-sm font-bold"},[t._v("\n "+t._s(e.data.attributes.amount)+"\n ")])])])}))],2):t._e()}),[],!1,null,null,null).exports;function ft(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function pt(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}const vt={name:"UserUsageEstimates",components:{FormLabel:i.Z},computed:function(t){for(var e=1;e0}}),data:function(){return{chargeAmount:void 0}},methods:{makePayment:function(){var t,e=this;return(t=T().mark((function t(){return T().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.$refs.fundAccount.validate();case 2:if(t.sent){t.next=5;break}return t.abrupt("return");case 5:e.$store.dispatch("callSingleChargeProcess",e.chargeAmount);case 6:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,a){var i=t.apply(e,r);function s(t){kt(i,n,a,s,o,"next",t)}function o(t){kt(i,n,a,s,o,"throw",t)}s(void 0)}))})()}}};function Zt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function jt(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}const Pt={name:"Billing",components:{UserUpdatePaymentMethodsExternally:f,UserTransactionsForMeteredBilling:k,UserTransactionsForFixedBilling:A,UserFixedSubscriptionDetail:E,UserStoredPaymentMethods:rt,UserEmptySubscription:at,UserEditSubscription:ot,UserFailedPayments:dt,UserUsageEstimates:mt,UserBillingAlerts:wt,UserBalance:(0,d.Z)(St,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return t.hasPaymentMethod?t._e():r("div",{staticClass:"card shadow-card"},[r("FormLabel",{attrs:{icon:"dollar"}},[t._v("\n "+t._s(t.$t("balance"))+"\n ")]),t._v(" "),r("b",{staticClass:"-mt-3 mb-0.5 block text-2xl font-extrabold sm:text-3xl"},[t._v("\n "+t._s(t.user.data.relationships.balance.data.attributes.formatted)+"\n ")]),t._v(" "),r("ValidationObserver",{ref:"fundAccount",staticClass:"mt-6",attrs:{tag:"form"},on:{submit:function(e){return e.preventDefault(),t.makePayment.apply(null,arguments)}},scopedSlots:t._u([{key:"default",fn:function(e){e.invalid;return[r("ValidationProvider",{attrs:{tag:"div",mode:"passive",name:"Amount",rules:"required|min_value:"+t.user.data.meta.totalDebt.amount},scopedSlots:t._u([{key:"default",fn:function(e){var n=e.errors;return[r("AppInputText",{attrs:{description:t.$t("amount_increase_description"),error:n[0],"is-last":!0}},[r("div",{staticClass:"space-y-4 sm:flex sm:space-x-4 sm:space-y-0"},[r("input",{directives:[{name:"model",rawName:"v-model",value:t.chargeAmount,expression:"chargeAmount"}],staticClass:"focus-border-theme input-dark",class:{"!border-rose-600":n[0]},attrs:{placeholder:t.$t("fund_account_balance"),type:"number",min:"1",max:"999999999"},domProps:{value:t.chargeAmount},on:{input:function(e){e.target.composing||(t.chargeAmount=e.target.value)}}}),t._v(" "),r("ButtonBase",{staticClass:"w-full sm:w-auto",attrs:{type:"submit","button-style":"theme"}},[t._v("\n "+t._s(t.$t("make_payment"))+"\n ")])],1)])]}}],null,!0)})]}}],null,!1,1144290692)})],1)}),[],!1,null,null,null).exports,PageTab:$t.Z},computed:function(t){for(var e=1;e{"use strict";r.d(e,{Z:()=>i});var n=r(3645),a=r.n(n)()((function(t){return t[1]}));a.push([t.id,".label[data-v-2e087afb]{align-items:center;display:flex}.label .label-dot[data-v-2e087afb]{border-radius:8px;display:block;flex:none;height:8px;margin-right:10px;width:8px}.label .label-dot.success[data-v-2e087afb]{background:#0abb87}.label .label-dot.danger[data-v-2e087afb]{background:#fd397a}.label .label-dot.warning[data-v-2e087afb]{background:#ffb822}.label .label-dot.info[data-v-2e087afb]{background:#5578eb}.label .label-dot.primary[data-v-2e087afb]{background:red}.label .label-dot.purple[data-v-2e087afb]{background:#9d66fe}.label .label-dot.secondary[data-v-2e087afb]{background:#e1e1ef}.label .label-title[data-v-2e087afb]{font-size:16px;font-weight:700}",""]);const i=a},9935:(t,e,r)=>{"use strict";r.d(e,{Z:()=>i});var n=r(3645),a=r.n(n)()((function(t){return t[1]}));a.push([t.id,".chart-progress.success[data-v-561dbfda]{background:#0abb87;box-shadow:0 3px 10px rgba(10,187,135,.5)}.chart-progress.danger[data-v-561dbfda]{background:#fd397a;box-shadow:0 3px 10px rgba(253,57,122,.5)}.chart-progress.warning[data-v-561dbfda]{background:#ffb822;box-shadow:0 3px 10px rgba(255,184,34,.5)}.chart-progress.info[data-v-561dbfda]{background:#5578eb;box-shadow:0 3px 10px rgba(85,120,235,.5)}.chart-progress.purple[data-v-561dbfda]{background:#9d66fe;box-shadow:0 3px 10px rgba(157,102,254,.5)}.chart-progress.secondary[data-v-561dbfda]{background:#e1e1ef;box-shadow:0 3px 10px rgba(225,225,239,.5)}.dark .chart-progress.secondary[data-v-561dbfda]{background:#282a2f!important;box-shadow:0 3px 10px rgba(40,42,47,.5)!important}",""]);const i=a},6798:(t,e,r)=>{"use strict";r.d(e,{Z:()=>i});var n=r(3645),a=r.n(n)()((function(t){return t[1]}));a.push([t.id,".color-label.purple[data-v-d470f17c]{background:rgba(157,102,254,.1);color:#9d66fe}.color-label.yellow[data-v-d470f17c]{background:rgba(255,189,45,.1);color:#ffbd2d}.color-label.green[data-v-d470f17c]{background:rgba(0,188,126,.1);color:#00bc7e}.color-label.red[data-v-d470f17c]{background:rgba(253,57,122,.1);color:#fd397a}",""]);const i=a},9397:(t,e,r)=>{"use strict";r.d(e,{Z:()=>i});var n=r(3645),a=r.n(n)()((function(t){return t[1]}));a.push([t.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 i=a},1213:(t,e,r)=>{"use strict";r.d(e,{Z:()=>i});var n=r(3645),a=r.n(n)()((function(t){return t[1]}));a.push([t.id,"",""]);const i=a},9611:(t,e,r)=>{"use strict";r.d(e,{Z:()=>i});var n=r(3645),a=r.n(n)()((function(t){return t[1]}));a.push([t.id,".table-row[data-v-4f806708]{border-radius:8px}.table-row[data-v-4f806708]:hover{background:#f4f5f6}.table-row .table-cell[data-v-4f806708]{padding-bottom:15px;padding-top:15px}.table-row .table-cell[data-v-4f806708]:first-child{padding-left:15px}.table-row .table-cell[data-v-4f806708]:last-child{padding-right:15px;text-align:right}.table-row .table-cell span[data-v-4f806708]{font-size:1em;font-weight:700}",""]);const i=a},9495:function(t,e,r){!function(t,e){"use strict";function r(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var n=r(e),a={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"}},i={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},s={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},o={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},c=function(t,e){var r=(void 0===e?{}:e).locale,n=void 0===r?"":r;return Array.isArray(t)?t.every((function(t){return c(t,{locale:n})})):n?(i[n]||i.en).test(t):Object.keys(i).some((function(e){return i[e].test(t)}))},u={validate:c,params:[{name:"locale"}]},d=function(t,e){var r=(void 0===e?{}:e).locale,n=void 0===r?"":r;return Array.isArray(t)?t.every((function(t){return d(t,{locale:n})})):n?(l[n]||l.en).test(t):Object.keys(l).some((function(e){return l[e].test(t)}))},f={validate:d,params:[{name:"locale"}]},p=function(t,e){var r=(void 0===e?{}:e).locale,n=void 0===r?"":r;return Array.isArray(t)?t.every((function(t){return p(t,{locale:n})})):n?(o[n]||o.en).test(t):Object.keys(o).some((function(e){return o[e].test(t)}))},v={validate:p,params:[{name:"locale"}]},m=function(t,e){var r=(void 0===e?{}:e).locale,n=void 0===r?"":r;return Array.isArray(t)?t.every((function(t){return m(t,{locale:n})})):n?(s[n]||s.en).test(t):Object.keys(s).some((function(e){return s[e].test(t)}))},h={validate:m,params:[{name:"locale"}]},b=function(t,e){var r=void 0===e?{}:e,n=r.min,a=r.max;return Array.isArray(t)?t.every((function(t){return!!b(t,{min:n,max:a})})):Number(n)<=t&&Number(a)>=t},g={validate:b,params:[{name:"min"},{name:"max"}]},_={validate:function(t,e){var r=e.target;return String(t)===String(r)},params:[{name:"target",isTarget:!0}]},y=function(t,e){var r=e.length;if(Array.isArray(t))return t.every((function(t){return y(t,{length:r})}));var n=String(t);return/^[0-9]*$/.test(n)&&n.length===r},x={validate:y,params:[{name:"length",cast:function(t){return Number(t)}}]},w=function(t,e,r){var n=window.URL||window.webkitURL;return new Promise((function(a){var i=new Image;i.onerror=function(){return a(!1)},i.onload=function(){return a(i.width===e&&i.height===r)},i.src=n.createObjectURL(t)}))},$=function(t,e){var r=e.width,n=e.height,a=[];t=Array.isArray(t)?t:[t];for(var i=0;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(t)&&(t=String(t).split(",").map((function(t){return t.trim()}))),Array.isArray(t)?t.every((function(t){return n.test(String(t))})):n.test(String(t))},params:[{name:"multiple",default:!1}]};function A(t){return t!=t}function O(t){return null==t}function S(t){return Array.isArray(t)&&0===t.length}var Z=function(t){return null!==t&&t&&"object"==typeof t&&!Array.isArray(t)};function j(t,e){return!(!A(t)||!A(e))||t===e}function P(t){return""!==t&&!O(t)}function F(t){return"function"==typeof t}function I(t){return F(t)&&!!t.__locatorRef}function E(t,e){var r=Array.isArray(t)?t:B(t);if(F(r.findIndex))return r.findIndex(e);for(var n=0;n=0:Array.isArray(t)?t.every((function(t){return at(t,{length:r})})):String(t).length<=r},it={validate:at,params:[{name:"length",cast:function(t){return Number(t)}}]},st=function(t,e){var r=e.max;return!O(t)&&""!==t&&(Array.isArray(t)?t.length>0&&t.every((function(t){return st(t,{max:r})})):Number(t)<=r)},ot={validate:st,params:[{name:"max",cast:function(t){return Number(t)}}]},lt=function(t,e){var r=new RegExp(e.join("|").replace("*",".+")+"$","i");return Array.isArray(t)?t.every((function(t){return r.test(t.type)})):r.test(t.type)},ct={validate:lt},ut=function(t,e){var r=e.length;return!O(t)&&(Array.isArray(t)?t.every((function(t){return ut(t,{length:r})})):String(t).length>=r)},dt={validate:ut,params:[{name:"length",cast:function(t){return Number(t)}}]},ft=function(t,e){var r=e.min;return!O(t)&&""!==t&&(Array.isArray(t)?t.length>0&&t.every((function(t){return ft(t,{min:r})})):Number(t)>=r)},pt={validate:ft,params:[{name:"min",cast:function(t){return Number(t)}}]},vt=/^[٠١٢٣٤٥٦٧٨٩]+$/,mt=/^[0-9]+$/,ht={validate:function(t){var e=function(t){var e=String(t);return mt.test(e)||vt.test(e)};return Array.isArray(t)?t.every(e):e(t)}},bt=function(t,e){var r=e.regex;return Array.isArray(t)?t.every((function(t){return bt(t,{regex:r})})):r.test(String(t))},gt={validate:bt,params:[{name:"regex",cast:function(t){return"string"==typeof t?new RegExp(t):t}}]},_t={validate:function(t,e){var r=(void 0===e?{allowFalse:!0}:e).allowFalse,n={valid:!1,required:!0};return O(t)||S(t)?n:!1!==t||r?(n.valid=!!String(t).trim().length,n):n},params:[{name:"allowFalse",default:!0}],computesRequired:!0},yt=function(t){return S(t)||D([!1,null,void 0],t)||!String(t).trim().length},xt=function(t,e){var r,n=e.target,a=e.values;return a&&a.length?(Array.isArray(a)||"string"!=typeof a||(a=[a]),r=a.some((function(t){return t==String(n).trim()}))):r=!yt(n),r?{valid:!yt(t),required:r}:{valid:!0,required:r}},wt={validate:xt,params:[{name:"target",isTarget:!0},{name:"values"}],computesRequired:!0},$t=function(t,e){var r=e.size;if(isNaN(r))return!1;var n=1024*r;if(!Array.isArray(t))return t.size<=n;for(var a=0;an)return!1;return!0},kt={validate:$t,params:[{name:"size",cast:function(t){return Number(t)}}]},Ct=function(t,e){var r=e||{},n=r.decimals,a=void 0===n?0:n,i=r.separator,s=new RegExp("^-?\\d+"+("comma"===(void 0===i?"dot":i)?",?":"\\.?")+(0===a?"\\d*":"(\\d{"+a+"})?")+"$");return Array.isArray(t)?t.every((function(t){return s.test(String(t))})):s.test(String(t))},At={validate:Ct,params:[{name:"decimals",default:0},{name:"separator",default:"dot"}]},Ot=Object.freeze({__proto__:null,alpha_dash:f,alpha_num:v,alpha_spaces:h,alpha:u,between:g,confirmed:_,digits:x,dimensions:k,email:C,ext:J,image:Y,oneOf:H,integer:Q,length:nt,is_not:et,is:tt,max:it,max_value:ot,mimes:ct,min:dt,min_value:pt,excluded:G,numeric:ht,regex:gt,required:_t,required_if:wt,size:kt,double:At}),St=function(){return St=Object.assign||function(t){for(var e,r=1,n=arguments.length;r0&&a[a.length-1])||6!==i[0]&&2!==i[0])){s=0;continue}if(3===i[0]&&(!a||i[1]>a[0]&&i[1]=0&&qt.getRuleDefinition("max")&&(n.max=r.maxlength),r.minlength>=0&&qt.getRuleDefinition("min")&&(n.min=r.minlength),"number"===r.type&&(P(r.min)&&qt.getRuleDefinition("min_value")&&(n.min_value=Number(r.min)),P(r.max)&&qt.getRuleDefinition("max_value")&&(n.max_value=Number(r.max))),n):n}function Ce(t){var e,r=["input","select","textarea"],n=null===(e=t.data)||void 0===e?void 0:e.attrs;if(!D(r,t.tag)||!n)return{};var a={};return"required"in n&&!1!==n.required&&qt.getRuleDefinition("required")&&(a.required="checkbox"!==n.type||[!0]),de(t)?Gt(St(St({},a),ke(t))):Gt(a)}function Ae(t,e){return t.$scopedSlots.default?t.$scopedSlots.default(e)||[]:t.$slots.default||[]}function Oe(t,e){return!(t._ignoreImmediate||!t.immediate)||!(j(t.value,e)||!t.normalizedEvents.length)||!!t._needsValidation||!t.initialized&&void 0===e}function Se(t){return St(St({},t.flags),{errors:t.errors,classes:t.classes,failedRules:t.failedRules,reset:function(){return t.reset()},validate:function(){for(var e=[],r=0;r0)){var c=It().useConstraintAttrs?Ce(t):{};le(e._resolvedRules,c)||(e._needsValidation=!0),we(t)&&(e.fieldName=(null===(s=null===(i=t.data)||void 0===i?void 0:i.attrs)||void 0===s?void 0:s.name)||(null===(l=null===(o=t.data)||void 0===o?void 0:o.attrs)||void 0===l?void 0:l.id)),e._resolvedRules=c,Ie(e,t)}}))}return this.slim&&r.length<=1?r[0]:t(this.tag,r)},beforeDestroy:function(){this.$_veeObserver.unobserve(this.id)},activated:function(){this.isActive=!0},deactivated:function(){this.isActive=!1},methods:{setFlags:function(t){var e=this;Object.keys(t).forEach((function(r){e.flags[r]=t[r]}))},syncValue:function(t){var e=ue(t);this.value=e,this.flags.changed=!le(this.initialValue,e)},reset:function(){var t=this;this.errors=[],this.initialValue=this.value;var e=L();e.required=this.isRequired,this.setFlags(e),this.failedRules={},this.validateSilent(),this._pendingValidation=void 0,this._pendingReset=!0,setTimeout((function(){t._pendingReset=!1}),this.debounce)},validate:function(){for(var t=[],e=0;e0&&this.syncValue(t[0]),[2,Pe(this)]}))}))},validateSilent:function(){return Zt(this,void 0,void 0,(function(){var t,e;return jt(this,(function(r){switch(r.label){case 0:return this.setFlags({pending:!0}),t=St(St({},this._resolvedRules),this.normalizedRules),Object.defineProperty(t,"_$$isNormalized",{value:!0,writable:!1,enumerable:!1,configurable:!1}),[4,Qt(this.value,t,St(St({name:this.name||this.fieldName},ze(this)),{bails:this.bails,skipIfEmpty:this.skipIfEmpty,isInitial:!this.initialized,customMessages:this.customMessages}))];case 1:return e=r.sent(),this.setFlags({pending:!1,valid:e.valid,invalid:!e.valid}),void 0!==e.required&&this.setFlags({required:e.required}),[2,e]}}))}))},setErrors:function(t){this.applyResult({errors:t,failedRules:{}})},applyResult:function(t){var e=t.errors,r=t.failedRules,n=t.regenerateMap;this.errors=e,this._regenerateMap=n,this.failedRules=St({},r||{}),this.setFlags({valid:!e.length,passed:!e.length,invalid:!!e.length,failed:!!e.length,validated:!0,changed:!le(this.value,this.initialValue)})},registerField:function(){Ue(this)},checkComputesRequiredState:function(){var t=St(St({},this._resolvedRules),this.normalizedRules);return Object.keys(t).some(qt.isRequireRule)}}});function Be(t,e){for(var r={},n=Object.keys(e),a=n.length,i=function(a){var i=n[a],s=t&&t[i]||i,o=e[i];return O(o)?"continue":"valid"!==i&&"invalid"!==i||e.validated?void("string"==typeof s?r[s]=o:Array.isArray(s)&&s.forEach((function(t){r[t]=o}))):"continue"},s=0;s{"use strict";r.d(e,{Z:()=>a});const n={name:"AppInputButton",props:["description","isLast","title","error"]};const a=(0,r(1900).Z)(n,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"w-full justify-between space-y-4 sm:flex sm:space-x-8 sm:space-x-2 sm:space-y-0",class:{"mb-6 sm:mb-7":!t.isLast}},[r("div",{staticClass:"leading-5"},[r("label",{staticClass:"mb-1.5 block text-sm font-bold text-gray-700 dark:text-gray-200"},[t._v(" "+t._s(t.title)+": ")]),t._v(" "),t.description?r("span",{staticClass:"block text-xs leading-4 dark:text-gray-500 text-gray-500",domProps:{innerHTML:t._s(t.description)}}):t._e(),t._v(" "),t.error?r("span",{staticClass:"error-message"},[t._v("\n "+t._s(t.error)+"\n ")]):t._e()]),t._v(" "),r("div",[t._t("default")],2)])}),[],!1,null,null,null).exports},9194:(t,e,r)=>{"use strict";r.d(e,{Z:()=>a});const n={name:"AppInputSwitch",props:["description","isLast","title","error"]};const a=(0,r(1900).Z)(n,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"flex w-full items-center justify-between space-x-2 sm:space-x-8",class:{"mb-6 sm:mb-7":!t.isLast}},[r("div",{staticClass:"leading-5"},[r("label",{staticClass:"mb-1.5 block text-sm font-bold text-gray-700 dark:text-gray-200"},[t._v(" "+t._s(t.title)+": ")]),t._v(" "),t.description?r("span",{staticClass:"block text-xs leading-4 dark:text-gray-500 text-gray-500",domProps:{innerHTML:t._s(t.description)}}):t._e(),t._v(" "),t.error?r("span",{staticClass:"pt-2 text-xs dark:text-rose-600 text-rose-600"},[t._v("\n "+t._s(t.error)+"\n ")]):t._e()]),t._v(" "),r("div",[t._t("default")],2)])}),[],!1,null,null,null).exports},4383:(t,e,r)=>{"use strict";r.d(e,{Z:()=>a});const n={name:"AppInputText",props:["description","isLast","title","error"]};const a=(0,r(1900).Z)(n,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{class:{"mb-6 sm:mb-7":!t.isLast}},[t.title?r("label",{staticClass:"mb-1.5 block text-sm font-bold text-gray-700 dark:text-gray-200"},[t._v("\n "+t._s(t.title)+":\n ")]):t._e(),t._v(" "),t._t("default"),t._v(" "),t.error?r("span",{staticClass:"pt-2 text-xs dark:text-rose-600 text-rose-600"},[t._v("\n "+t._s(t.error)+"\n ")]):t._e(),t._v(" "),t.description?r("small",{staticClass:"block pt-2 text-xs leading-4 dark:text-gray-500 text-gray-500",domProps:{innerHTML:t._s(t.description)}}):t._e()],2)}),[],!1,null,null,null).exports},9275:(t,e,r)=>{"use strict";r.d(e,{Z:()=>f});const n={name:"DotLabel",props:["color","title"]};var a=r(3379),i=r.n(a),s=r(2316),o={insert:"head",singleton:!1};i()(s.Z,o);s.Z.locals;var l=r(1900);const c={name:"ProgressLine",props:["data"],components:{DotLabel:(0,l.Z)(n,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"label"},[r("span",{class:["label-dot",t.color]}),t._v(" "),r("b",{staticClass:"label-title"},[t._v("\n "+t._s(t.title)+"\n ")])])}),[],!1,null,"2e087afb",null).exports}};var u=r(9935),d={insert:"head",singleton:!1};i()(u.Z,d);u.Z.locals;const f=(0,l.Z)(c,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",[r("div",{staticClass:"mb-4 flex h-2.5 items-center rounded bg-light-300 dark:bg-2x-dark-foreground"},t._l(t.data,(function(e,n){return r("div",{key:n,staticClass:"chart-wrapper",style:{width:(e.progress>1?e.progress:0)+"%"}},[1===t.data.length?r("span",{staticClass:"chart-progress block h-2.5 w-full",class:[{"rounded-tl-lg rounded-bl-lg border-r-2 border-white dark:border-gray-800":e.progress<100,"rounded-lg border-none":e.progress>=100},e.color]}):t._e(),t._v(" "),t.data.length>1&&e.progress>0?r("span",{staticClass:"chart-progress block h-2.5 w-full",class:[{"rounded-tl-lg rounded-bl-lg border-r-2 border-white dark:border-gray-800":0===n,"border-r-2 border-white dark:border-gray-800":n{"use strict";r.d(e,{Z:()=>l});const n={name:"ColorLabel",props:["color"]};var a=r(3379),i=r.n(a),s=r(6798),o={insert:"head",singleton:!1};i()(s.Z,o);s.Z.locals;const l=(0,r(1900).Z)(n,(function(){var t=this,e=t.$createElement;return(t._self._c||e)("b",{staticClass:"color-label inline-block rounded-lg py-1 px-2 text-xs font-bold capitalize",class:t.color},[t._t("default")],2)}),[],!1,null,"d470f17c",null).exports},1655:(t,e,r)=>{"use strict";r.d(e,{Z:()=>i});var n=r(9101);const a={name:"FormLabel",props:["icon"],components:{TrendingUpIcon:n.Zab,WifiIcon:n.kVp,ListIcon:n.DE2,MailIcon:n.bV6,InfoIcon:n.szr,DatabaseIcon:n.VHe,UsersIcon:n.oyc,CreditCardIcon:n.ciH,DollarSignIcon:n.bkH,SmartphoneIcon:n.BEV,HardDriveIcon:n.zvn,BarChartIcon:n.eJP,SettingsIcon:n.ewm,FileTextIcon:n.zPP,ShieldIcon:n.b7C,FrownIcon:n.eFi,Edit2Icon:n.me4,BellIcon:n.Dkj,KeyIcon:n._m8}};const i=(0,r(1900).Z)(a,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"mb-8 flex items-center"},[t.icon?t._e():r("edit-2-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}),t._v(" "),"frown"===t.icon?r("frown-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):t._e(),t._v(" "),"list"===t.icon?r("list-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):t._e(),t._v(" "),"info"===t.icon?r("info-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):t._e(),t._v(" "),"database"===t.icon?r("database-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):t._e(),t._v(" "),"file-text"===t.icon?r("file-text-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):t._e(),t._v(" "),"dollar"===t.icon?r("dollar-sign-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):t._e(),t._v(" "),"credit-card"===t.icon?r("credit-card-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):t._e(),t._v(" "),"bar-chart"===t.icon?r("bar-chart-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):t._e(),t._v(" "),"settings"===t.icon?r("settings-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):t._e(),t._v(" "),"hard-drive"===t.icon?r("hard-drive-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):t._e(),t._v(" "),"mail"===t.icon?r("mail-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):t._e(),t._v(" "),"smartphone"===t.icon?r("smartphone-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):t._e(),t._v(" "),"shield"===t.icon?r("shield-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):t._e(),t._v(" "),"bell"===t.icon?r("bell-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):t._e(),t._v(" "),"key"===t.icon?r("key-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):t._e(),t._v(" "),"users"===t.icon?r("users-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):t._e(),t._v(" "),"wifi"===t.icon?r("wifi-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):t._e(),t._v(" "),"trending-up"===t.icon?r("trending-up-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):t._e(),t._v(" "),r("b",{staticClass:"text-md font-bold dark:text-gray-200 sm:text-lg"},[t._t("default")],2)],1)}),[],!1,null,null,null).exports},6291:(t,e,r)=>{"use strict";r.d(e,{Z:()=>l});const n={name:"InfoBox",props:["type"]};var a=r(3379),i=r.n(a),s=r(9397),o={insert:"head",singleton:!1};i()(s.Z,o);s.Z.locals;const l=(0,r(1900).Z)(n,(function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{staticClass:"info-box",class:t.type},[t._t("default")],2)}),[],!1,null,"4d9e9780",null).exports},2792:(t,e,r)=>{"use strict";r.d(e,{Z:()=>l});const n={name:"PageTab",props:["isLoading"],components:{Spinner:r(7318).Z}};var a=r(3379),i=r.n(a),s=r(1213),o={insert:"head",singleton:!1};i()(s.Z,o);s.Z.locals;const l=(0,r(1900).Z)(n,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"page-tab"},[r("div",{directives:[{name:"show",rawName:"v-show",value:t.isLoading,expression:"isLoading"}],attrs:{id:"loader"}},[r("Spinner")],1),t._v(" "),t._t("default")],2)}),[],!1,null,"6c76a2be",null).exports},3808:(t,e,r)=>{"use strict";r.d(e,{Z:()=>v});var n=r(9101);const a={props:["data"],computed:{normalizedColumns:function(){return this.data.id&&delete this.data.id,Object.values(this.data)}}};var i=r(3379),s=r.n(i),o=r(9611),l={insert:"head",singleton:!1};s()(o.Z,l);o.Z.locals;var c=r(1900);const u=(0,c.Z)(a,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("tr",{staticClass:"table-row"},t._l(t.normalizedColumns,(function(e,n){return r("td",{key:n,staticClass:"table-cell"},[r("span",[t._v(t._s(e))])])})),0)}),[],!1,null,"4f806708",null).exports;var d=r(9669),f=r.n(d);const p={name:"DatatableWrapper",props:["paginator","tableData","columns","scope","api"],components:{ChevronRightIcon:n.XCv,ChevronLeftIcon:n.wyc,DatatableCell:u,ChevronUpIcon:n.g8U},computed:{hasData:function(){return this.data&&this.data.data&&this.data.data.length>0},floatPages:function(){return[this.pageIndex-1,this.pageIndex,this.pageIndex+1]}},data:function(){return{data:void 0,isLoading:!0,pageIndex:1,filter:{sort:"DESC",field:void 0}}},methods:{goToPage:function(t){t>this.data.meta.last_page||0===t||(this.pageIndex=t,this.getPage(t))},sort:function(t,e){e&&(this.filter.field=t,"DESC"===this.filter.sort?this.filter.sort="ASC":"ASC"===this.filter.sort&&(this.filter.sort="DESC"),this.getPage(this.pageIndex))},getPage:function(t){var e=this;this.URI=this.api,this.paginator&&(this.URI=this.URI+"?page="+t),this.filter.field&&(this.URI=this.URI+(this.paginator?"&":"?")+"sort="+this.filter.field+"&direction="+this.filter.sort),this.isLoading=!0,f().get(this.URI).then((function(t){e.data=t.data,e.$emit("data",t.data)})).catch((function(){return e.$isSomethingWrong()})).finally((function(){e.$emit("init",!0),e.isLoading=!1}))}},created:function(){this.api&&this.getPage(this.pageIndex),this.tableData&&(this.data=this.tableData,this.isLoading=!1)}};const v=(0,c.Z)(p,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"w-full"},[t.hasData?r("table",{staticClass:"w-full"},[r("thead",[r("tr",{staticClass:"whitespace-nowrap"},t._l(t.columns,(function(e,n){return e.hidden?t._e():r("th",{key:n,staticClass:"text-left",class:{"sortable cursor-pointer":e.sortable,"text-right":Object.values(t.columns).length-1===n},on:{click:function(r){return t.sort(e.field,e.sortable)}}},[r("span",{staticClass:"text-xs text-gray-400 dark:text-gray-500"},[t._v("\n "+t._s(t.$t(e.label))+"\n ")]),t._v(" "),e.sortable?r("chevron-up-icon",{staticClass:"vue-feather inline-block text-gray-300 dark:text-gray-500",class:{"arrow-down":"ASC"===t.filter.sort},attrs:{size:"12"}}):t._e()],1)})),0)]),t._v(" "),r("tbody",{staticClass:"table-body"},[t._l(t.data.data,(function(e){return t._t("default",(function(){return[r("DatatableCell",{key:e.id,attrs:{data:e}})]}),{row:e})}))],2)]):t._e(),t._v(" "),t.isLoading||t.hasData?t._e():t._t("empty-page"),t._v(" "),t.paginator&&t.hasData?r("div",{staticClass:"mt-6 flex items-center justify-between"},[t.data.meta.total>15&&t.data.meta.last_page<=6?r("ul",{staticClass:"pagination flex items-center"},[r("li",{staticClass:"previous inline-block p-1"},[r("a",{staticClass:"page-link",class:{"cursor-default opacity-20":1===t.pageIndex},on:{click:function(e){return t.goToPage(t.pageIndex-1)}}},[r("chevron-left-icon",{staticClass:"inline-block",attrs:{size:"14"}})],1)]),t._v(" "),t._l(t.data.meta.last_page,(function(e,n){return r("li",{key:n,staticClass:"inline-block p-1",on:{click:function(r){return t.goToPage(e)}}},[r("a",{staticClass:"page-link",class:{"bg-light-background dark:bg-4x-dark-foreground dark:text-gray-300":t.pageIndex===e}},[t._v("\n "+t._s(e)+"\n ")])])})),t._v(" "),r("li",{staticClass:"next inline-block p-1"},[r("a",{staticClass:"page-link",class:{"cursor-default opacity-20":t.pageIndex===t.data.meta.last_page},on:{click:function(e){return t.goToPage(t.pageIndex+1)}}},[r("chevron-right-icon",{staticClass:"inline-block",attrs:{size:"14"}})],1)])],2):t._e(),t._v(" "),t.data.meta.total>15&&t.data.meta.last_page>6?r("ul",{staticClass:"pagination flex items-center"},[r("li",{staticClass:"previous inline-block p-1"},[r("a",{staticClass:"page-link",class:{"cursor-default opacity-20":1===t.pageIndex},on:{click:function(e){return t.goToPage(t.pageIndex-1)}}},[r("chevron-left-icon",{staticClass:"inline-block",attrs:{size:"14"}})],1)]),t._v(" "),t.pageIndex>=5?r("li",{staticClass:"inline-block p-1",on:{click:function(e){return t.goToPage(1)}}},[r("a",{staticClass:"page-link"},[t._v(" 1 ")])]):t._e(),t._v(" "),t._l(5,(function(e,n){return t.pageIndex<5?r("li",{key:n,staticClass:"inline-block p-1",on:{click:function(r){return t.goToPage(e)}}},[r("a",{staticClass:"page-link",class:{"bg-light-background dark:bg-4x-dark-foreground dark:text-gray-300":t.pageIndex===e}},[t._v("\n "+t._s(e)+"\n ")])]):t._e()})),t._v(" "),t.pageIndex>=5?r("li",{staticClass:"inline-block p-1"},[r("a",{staticClass:"page-link"},[t._v("...")])]):t._e(),t._v(" "),t._l(t.floatPages,(function(e,n){return t.pageIndex>=5&&t.pageIndext.data.meta.last_page-4?r("li",{key:n,staticClass:"inline-block p-1",on:{click:function(e){t.goToPage(t.data.meta.last_page-(4-n))}}},[r("a",{staticClass:"page-link",class:{"bg-light-background dark:bg-4x-dark-foreground dark:text-gray-300":t.pageIndex===t.data.meta.last_page-(4-n)}},[t._v("\n "+t._s(t.data.meta.last_page-(4-n))+"\n ")])]):t._e()})),t._v(" "),t.pageIndex{"use strict";r.d(e,{Z:()=>l});var n=r(167),a=r(2547),i=r(3426),s=r(9101);const o={name:"FixedTransactionRow",components:{MeteredTransactionDetailRow:a.Z,MemberAvatar:n.Z,FileTextIcon:s.zPP,ColorLabel:i.Z,EyeIcon:s.tEF},props:{row:{},user:{type:Boolean,default:!1}},data:function(){return{showedTransactionDetailById:void 0}},methods:{showTransactionDetail:function(t){this.showedTransactionDetailById===t?this.showedTransactionDetailById=void 0:this.showedTransactionDetailById=t}}};const l=(0,r(1900).Z)(o,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("tr",{staticClass:"whitespace-nowrap border-b border-dashed border-light dark:border-opacity-5"},[r("td",{staticClass:"py-5 pr-3 md:pr-1"},[r("span",{staticClass:"text-sm font-bold"},[t._v("\n "+t._s(t.row.data.attributes.note)+"\n ")])]),t._v(" "),t.user?r("td",{staticClass:"whitespace-nowrap px-3 md:px-1"},[t.row.data.relationships.user?r("div",{staticClass:"flex items-center"},[r("MemberAvatar",{attrs:{"is-border":!1,size:36,member:t.row.data.relationships.user}}),t._v(" "),r("div",{staticClass:"ml-3 pr-10"},[r("b",{staticClass:"max-w-1 block overflow-hidden text-ellipsis whitespace-nowrap text-sm font-bold",staticStyle:{"max-width":"155px"}},[t._v("\n "+t._s(t.row.data.relationships.user.data.attributes.name)+"\n ")]),t._v(" "),r("span",{staticClass:"block text-xs text-gray-600 dark:text-gray-500"},[t._v("\n "+t._s(t.row.data.relationships.user.data.attributes.email)+"\n ")])])],1):t._e(),t._v(" "),t.row.data.relationships.user?t._e():r("span",{staticClass:"text-xs font-bold text-gray-500"},[t._v("\n "+t._s(t.$t("user_was_deleted"))+"\n ")])]):t._e(),t._v(" "),r("td",{staticClass:"px-3 md:px-1"},[r("ColorLabel",{staticClass:"capitalize",attrs:{color:t.$getTransactionStatusColor(t.row.data.attributes.status)}},[t._v("\n "+t._s(t.$t(t.row.data.attributes.status))+"\n ")])],1),t._v(" "),r("td",{staticClass:"px-3 md:px-1"},[r("span",{staticClass:"text-sm font-bold",class:t.$getTransactionTypeTextColor(t.row.data.attributes.type)},[t._v("\n "+t._s(t.$getTransactionMark(t.row.data.attributes.type)+t.row.data.attributes.price)+"\n ")])]),t._v(" "),r("td",{staticClass:"px-3 md:px-1"},[r("span",{staticClass:"text-sm font-bold"},[t._v("\n "+t._s(t.row.data.attributes.created_at)+"\n ")])]),t._v(" "),r("td",{staticClass:"px-3 md:px-1"},[r("div",{staticClass:"w-28"},[r("img",{staticClass:"inline-block max-h-5",attrs:{src:t.$getPaymentLogo(t.row.data.attributes.driver),alt:t.row.data.attributes.driver}})])]),t._v(" "),r("td",{staticClass:"pl-3 text-right md:pl-1"},[r("div",{staticClass:"inline-block"},[r("a",{staticClass:"inline-block flex h-8 w-8 cursor-pointer items-center justify-center rounded-md bg-light-background transition-colors hover:bg-purple-100 dark:bg-2x-dark-foreground",attrs:{href:t.$getInvoiceLink(t.row.data.id),target:"_blank"}},[r("FileTextIcon",{staticClass:"opacity-75",attrs:{size:"15"}})],1)])])])}),[],!1,null,null,null).exports},2547:(t,e,r)=>{"use strict";r.d(e,{Z:()=>a});const n={name:"MeteredTransactionDetailRow",props:["row"]};const a=(0,r(1900).Z)(n,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("tr",[r("td",{staticClass:"overflow-hidden rounded-lg py-2",attrs:{colspan:"10"}},t._l(t.row.data.attributes.metadata,(function(e,n){return r("div",{key:n,staticClass:"flex items-center justify-between border-b border-dashed border-light py-2 dark:border-opacity-5"},[r("div",{staticClass:"w-2/4 leading-none"},[r("b",{staticClass:"text-sm font-bold leading-none"},[t._v("\n "+t._s(t.$t(e.feature))+"\n ")]),t._v(" "),r("small",{staticClass:"hidden pt-2 text-xs leading-none text-gray-500 sm:block"},[t._v("\n "+t._s(t.$t("feature_usage_desc_"+e.feature))+"\n ")])]),t._v(" "),r("div",{staticClass:"w-1/4 text-left"},[r("span",{staticClass:"text-gray-560 text-sm font-bold"},[t._v("\n "+t._s(e.usage)+"\n ")])]),t._v(" "),r("div",{staticClass:"w-1/4 text-right"},[r("span",{staticClass:"text-theme text-sm font-bold"},[t._v("\n "+t._s(e.cost)+"\n ")])])])})),0)])}),[],!1,null,null,null).exports},8384:(t,e,r)=>{"use strict";r.d(e,{Z:()=>l});var n=r(167),a=r(2547),i=r(3426),s=r(9101);const o={name:"MeteredTransactionRow",components:{MeteredTransactionDetailRow:a.Z,MemberAvatar:n.Z,FileTextIcon:s.zPP,ColorLabel:i.Z,EyeIcon:s.tEF},props:{row:{},user:{type:Boolean,default:!1}},data:function(){return{showedTransactionDetailById:void 0}},methods:{showTransactionDetail:function(t){this.showedTransactionDetailById===t?this.showedTransactionDetailById=void 0:this.showedTransactionDetailById=t}}};const l=(0,r(1900).Z)(o,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("tr",{staticClass:"whitespace-nowrap border-b border-dashed border-light dark:border-opacity-5"},[r("td",{staticClass:"py-5 pr-3 md:pr-1"},[r("span",{staticClass:"text-sm font-bold"},[t._v("\n "+t._s(t.row.data.attributes.note)+"\n ")])]),t._v(" "),t.user?r("td",{staticClass:"whitespace-nowrap px-3 md:px-1"},[t.row.data.relationships.user?r("div",{staticClass:"flex items-center"},[r("MemberAvatar",{attrs:{"is-border":!1,size:36,member:t.row.data.relationships.user}}),t._v(" "),r("div",{staticClass:"ml-3 pr-10"},[r("b",{staticClass:"max-w-1 block overflow-hidden text-ellipsis whitespace-nowrap text-sm font-bold",staticStyle:{"max-width":"155px"}},[t._v("\n "+t._s(t.row.data.relationships.user.data.attributes.name)+"\n ")]),t._v(" "),r("span",{staticClass:"block text-xs text-gray-600 dark:text-gray-500"},[t._v("\n "+t._s(t.row.data.relationships.user.data.attributes.email)+"\n ")])])],1):t._e(),t._v(" "),t.row.data.relationships.user?t._e():r("span",{staticClass:"text-xs font-bold text-gray-500"},[t._v("\n "+t._s(t.$t("user_was_deleted"))+"\n ")])]):t._e(),t._v(" "),r("td",{staticClass:"px-3 md:px-1"},[r("ColorLabel",{staticClass:"capitalize",attrs:{color:t.$getTransactionStatusColor(t.row.data.attributes.status)}},[t._v("\n "+t._s(t.$t(t.row.data.attributes.status))+"\n ")])],1),t._v(" "),r("td",{staticClass:"px-3 md:px-1"},[r("span",{staticClass:"text-sm font-bold capitalize"},[t._v("\n "+t._s(t.$t(t.row.data.attributes.type))+"\n ")])]),t._v(" "),r("td",{staticClass:"px-3 md:px-1"},[r("span",{staticClass:"text-sm font-bold",class:t.$getTransactionTypeTextColor(t.row.data.attributes.type)},[t._v("\n "+t._s(t.$getTransactionMark(t.row.data.attributes.type)+t.row.data.attributes.price)+"\n ")])]),t._v(" "),r("td",{staticClass:"px-3 md:px-1"},[r("span",{staticClass:"text-sm font-bold"},[t._v("\n "+t._s(t.row.data.attributes.created_at)+"\n ")])]),t._v(" "),r("td",{staticClass:"px-3 md:px-1"},[r("div",{staticClass:"w-28"},[r("img",{staticClass:"inline-block max-h-5",attrs:{src:t.$getPaymentLogo(t.row.data.attributes.driver),alt:t.row.data.attributes.driver}})])]),t._v(" "),r("td",{staticClass:"pl-3 text-right md:pl-1"},[t.row.data.attributes.metadata?r("div",{staticClass:"flex w-full justify-end space-x-2"},[r("div",{staticClass:"flex h-8 w-8 cursor-pointer items-center justify-center rounded-md bg-light-background transition-colors hover:bg-green-100 dark:bg-2x-dark-foreground",on:{click:function(e){return t.$emit("showDetail",t.row.data.id)}}},[r("EyeIcon",{staticClass:"opacity-75",attrs:{size:"15"}})],1),t._v(" "),r("a",{staticClass:"flex h-8 w-8 cursor-pointer items-center justify-center rounded-md bg-light-background transition-colors hover:bg-purple-100 dark:bg-2x-dark-foreground",attrs:{href:t.$getInvoiceLink(t.row.data.id),target:"_blank"}},[r("FileTextIcon",{staticClass:"opacity-75",attrs:{size:"15"}})],1)]):r("div",[t._v("-")])])])}),[],!1,null,null,null).exports},3390:(t,e,r)=>{"use strict";r.r(e),r.d(e,{default:()=>Ft});var n=r(9194),a=r(6746),i=r(1655),s=r(9669),o=r.n(s),l=r(826),c=r(5218);const u={name:"UserUpdatePaymentMethodsExternally",components:{AppInputButton:c.Z,AppInputSwitch:n.Z,ButtonBase:a.Z,FormLabel:i.Z},computed:{canShowForSubscription:function(){return this.hasSubscription&&!this.subscription.attributes.is_cancelled&&["paystack","paypal"].includes(this.subscription.attributes.driver)},subscription:function(){return this.$store.getters.user.data.relationships.subscription.data},hasSubscription:function(){return this.$store.getters.user.data.relationships.subscription}},data:function(){return{isGeneratedUpdateLink:!1}},methods:{updatePaymentMethod:function(){var t=this;this.isGeneratedUpdateLink=!0,o().post("/api/subscriptions/edit/".concat(this.subscription.id)).then((function(t){window.location=t.data.url})).catch((function(){l.U.$emit("toaster",{type:"danger",message:t.$t("popup_error.title")}),t.isGeneratedUpdateLink=!1}))}}};var d=r(1900);const f=(0,d.Z)(u,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return t.canShowForSubscription?r("div",{staticClass:"card shadow-card"},[r("FormLabel",[t._v("\n "+t._s(t.$t("update_payments"))+"\n ")]),t._v(" "),r("AppInputButton",{attrs:{title:t.$t("update_payment_method"),description:t.$t("payment_method_update_redirect_description"),"is-last":!0}},[r("ButtonBase",{staticClass:"w-full sm:w-auto",attrs:{loading:t.isGeneratedUpdateLink,"button-style":"theme"},nativeOn:{click:function(e){return t.updatePaymentMethod.apply(null,arguments)}}},[t._v("\n "+t._s(t.$t("update_payments"))+"\n ")])],1)],1):t._e()}),[],!1,null,null,null).exports;var p=r(9101),v=r(3426),m=r(3808),h=r(6291),b=r(629),g=r(2547),_=r(8384);function y(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function x(t){for(var e=1;et.length)&&(e=t.length);for(var r=0,n=new Array(e);r element.");return n.appendChild(r),r}(t)),n.addEventListener("load",(function(){window.Stripe?e(window.Stripe):r(new Error("Stripe.js not available"))})),n.addEventListener("error",(function(){r(new Error("Failed to load Stripe.js"))}))}catch(t){return void r(t)}else e(null)}))),M},V=function(t,e,r){if(null===t)return null;var n=t.apply(void 0,e);return function(t,e){t&&t._registerWrapper&&t._registerWrapper({name:"stripe-js",version:"1.24.0",startTime:e})}(n,r),n},N=Promise.resolve().then((function(){return q(null)})),W=!1;N.catch((function(t){W||console.warn(t)}));var H=function(){for(var t=arguments.length,e=new Array(t),r=0;r0}}),data:function(){return{isLoading:!1,isCreditCardForm:!1,stripe:{isInitialization:!0,storingStripePaymentMethod:!1}}},methods:{storeStripePaymentMethod:function(){var t=this;return K(T().mark((function e(){var r,n;return T().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t.config.isDemo||"ho**@hi5ve.digital"!==t.user.data.attributes.email){e.next=3;break}return l.U.$emit("toaster",{type:"success",message:t.$t("credit_card_stored")}),e.abrupt("return");case 3:return t.stripe.storingStripePaymentMethod=!0,e.next=6,Q.confirmSetup({elements:tt,redirect:"if_required",confirmParams:{return_url:window.location.href}});case 6:r=e.sent,(n=r.error)?document.querySelector("#error-message").textContent=n.message:(l.U.$emit("toaster",{type:"success",message:t.$t("credit_card_stored")}),setTimeout((function(){return document.location.reload()}),500)),t.stripe.storingStripePaymentMethod=!1;case 10:case"end":return e.stop()}}),e)})))()},stripeInit:function(){var t=this;return K(T().mark((function e(){return T().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,H(t.config.stripe_public_key);case 2:return Q=e.sent,e.next=5,o().get("/api/stripe/setup-intent").then((function(e){(tt=Q.elements({clientSecret:e.data.client_secret,appearance:{theme:"stripe",variables:{colorPrimary:t.config.app_color,fontFamily:"Nunito",borderRadius:"8px",colorText:t.isDarkMode?"#bec6cf":"#1B2539",colorBackground:t.isDarkMode?"#191b1e":"#fff",fontWeightNormal:"700",fontSizeSm:"0.875rem",colorSuccessText:"#0ABB87",colorSuccess:"#0ABB87",colorWarning:"#fd397a",colorWarningText:"#fd397a",colorDangerText:"#fd397a",colorTextSecondary:"#6b7280",spacingGridRow:"20px"}}})).create("payment").mount("#payment-element")})).catch((function(){l.U.$emit("toaster",{type:"danger",message:t.$t("popup_error.title")})}));case 5:t.stripe.isInitialization=!1;case 6:case"end":return e.stop()}}),e)})))()},showStoreCreditCardForm:function(){this.isCreditCardForm=!this.isCreditCardForm,this.stripeInit()}}};const rt=(0,d.Z)(et,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return t.canShowForMeteredBilling||t.canShowForFixedBilling?r("div",{staticClass:"card shadow-card"},[r("FormLabel",{attrs:{icon:"credit-card"}},[t._v("\n "+t._s(t.$t("payment_method"))+"\n ")]),t._v(" "),t.hasPaymentMethod?r("div",["metered"===t.config.subscriptionType&&t.user.data.relationships.balance.data.attributes.balance>0?r("b",{staticClass:"mb-3 mb-5 block text-sm"},[t._v("\n "+t._s(t.$t("credit_to_auto_withdraw",{credit:t.user.data.relationships.balance.data.attributes.formatted}))+"\n ")]):t._e(),t._v(" "),t._l(t.user.data.relationships.creditCards.data,(function(t){return r("PaymentCard",{key:t.data.id,attrs:{card:t}})})),t._v(" "),r("small",{staticClass:"hidden pt-3 text-xs leading-none dark:text-gray-500 text-gray-500 sm:block"},[t._v("\n "+t._s(t.$t("auto_settled_credit_card"))+"\n ")])],2):t._e(),t._v(" "),t.hasPaymentMethod?t._e():r("div",[t.isCreditCardForm?t._e():r("ButtonBase",{staticClass:"mt-4 w-full",attrs:{loading:t.stripe.storingStripePaymentMethod,type:"submit","button-style":"theme"},nativeOn:{click:function(e){return t.showStoreCreditCardForm.apply(null,arguments)}}},[t._v("\n "+t._s(t.$t("add_payment_method"))+"\n ")]),t._v(" "),t.isCreditCardForm?r("form",{staticClass:"mt-6",attrs:{id:"payment-form"},on:{submit:function(e){return e.preventDefault(),t.storeStripePaymentMethod.apply(null,arguments)}}},[t.stripe.isInitialization?r("div",{staticClass:"relative mb-6 h-10"},[r("Spinner")],1):t._e(),t._v(" "),t.config.isDemo&&!t.stripe.isInitialization?r("InfoBox",[r("p",[t._v("For adding test credit card please use "),r("b",{staticClass:"text-theme"},[t._v("4242 4242 4242 4242")]),t._v(" as a card number, "),r("b",{staticClass:"text-theme"},[t._v("11/22")]),t._v("\n\t\t\t\t\t\tas the expiration date and "),r("b",{staticClass:"text-theme"},[t._v("123")]),t._v(" as CVC number and ZIP "),r("b",{staticClass:"text-theme"},[t._v("12345")]),t._v(" if required.")])]):t._e(),t._v(" "),r("div",{attrs:{id:"payment-element"}}),t._v(" "),r("ButtonBase",{staticClass:"mt-4 w-full",attrs:{loading:t.stripe.storingStripePaymentMethod,type:"submit","button-style":"theme"}},[t._v("\n "+t._s(t.$t("store_my_credit_card"))+"\n ")]),t._v(" "),r("div",{staticClass:"pt-2 text-xs text-rose-600",attrs:{id:"error-message"}})],1):t._e()],1)],1):t._e()}),[],!1,null,null,null).exports;const nt={name:"UserEmptySubscription",components:{ButtonBase:a.Z,FormLabel:i.Z,InfoBox:h.Z},computed:{hasSubscription:function(){return this.$store.getters.user.data.relationships.subscription}}};const at=(0,d.Z)(nt,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return t.hasSubscription?t._e():r("div",{staticClass:"card shadow-card"},[r("FormLabel",[t._v("\n "+t._s(t.$t("subscription"))+"\n ")]),t._v(" "),r("b",{staticClass:"-mt-3 mb-0.5 block text-2xl font-extrabold sm:text-3xl"},[t._v("\n "+t._s(t.$t("free_plan"))+"\n ")]),t._v(" "),t.$store.getters.config.allowed_payments?r("b",{staticClass:"mb-3 mb-8 block text-sm text-gray-400"},[t._v("\n "+t._s(t.$t("upgrade_to_get_more"))+"\n ")]):t._e(),t._v(" "),t.$store.getters.config.allowed_payments?r("ButtonBase",{staticClass:"mt-4 w-full",attrs:{type:"submit","button-style":"theme"},nativeOn:{click:function(e){return t.$openSubscribeOptions.apply(null,arguments)}}},[t._v("\n "+t._s(t.$t("upgrade_your_account"))+"\n ")]):t._e()],1)}),[],!1,null,null,null).exports;var it=r(4383);const st={name:"UserEditSubscription",components:{AppInputButton:c.Z,AppInputSwitch:n.Z,AppInputText:it.Z,ButtonBase:a.Z,FormLabel:i.Z},computed:{subscription:function(){return this.$store.getters.user.data.relationships.subscription.data},hasSubscription:function(){return this.$store.getters.user.data.relationships.subscription}},data:function(){return{isCancelling:!1}},methods:{cancelSubscriptionConfirmation:function(){l.U.$emit("confirm:open",{title:this.$t("want_cancel_subscription"),message:this.$t("popup_subscription_cancel.message"),action:{operation:"cancel-subscription"}})}},created:function(){var t=this;l.U.$on("action:confirmed",(function(e){"cancel-subscription"===e.operation&&(t.isCancelling=!0,o().post("/api/subscriptions/cancel").then((function(){t.$store.dispatch("getAppData"),l.U.$emit("toaster",{type:"success",message:t.$t("popup_subscription_cancel.title")})})).catch((function(){l.U.$emit("toaster",{type:"danger",message:t.$t("popup_error.title")})})).finally((function(){t.isCancelling=!1})))}))},destroyed:function(){l.U.$off("action:confirmed")}};const ot=(0,d.Z)(st,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return t.hasSubscription?r("div",{staticClass:"card shadow-card"},[r("FormLabel",[t._v("\n "+t._s(t.$t("edit_your_subscription"))+"\n ")]),t._v(" "),"cancelled"!==t.subscription.attributes.status?r("AppInputButton",{attrs:{title:t.$t("cancel_subscription"),description:t.$t("cancel_subscription_description")}},[r("ButtonBase",{staticClass:"w-full sm:w-auto",attrs:{loading:t.isCancelling,"button-style":"secondary"},nativeOn:{click:function(e){return t.cancelSubscriptionConfirmation.apply(null,arguments)}}},[t._v("\n "+t._s(t.$t("cancel_now"))+"\n ")])],1):t._e(),t._v(" "),r("AppInputButton",{attrs:{title:t.$t("upgrade_downgrade_plan"),description:t.$t("upgrade_downgrade_plan_description"),"is-last":!0}},[r("ButtonBase",{staticClass:"w-full sm:w-auto",attrs:{"button-style":"secondary"},nativeOn:{click:function(e){return t.$changeSubscriptionOptions.apply(null,arguments)}}},[t._v("\n "+t._s(t.$t("change_plan"))+"\n ")])],1)],1):t._e()}),[],!1,null,null,null).exports;function lt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function ct(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}const ut={name:"UserFailedPayments",components:{FormLabel:i.Z,InfoBox:h.Z},computed:function(t){for(var e=1;e0?r("div",{staticClass:"card shadow-card"},[r("FormLabel",{attrs:{icon:"frown"}},[t._v("\n "+t._s(t.$t("failed_payments"))+"\n ")]),t._v(" "),r("b",{staticClass:"-mt-3 mb-0.5 block text-2xl font-extrabold sm:text-3xl"},[t._v("\n -"+t._s(t.user.data.meta.totalDebt.formatted)+"\n ")]),t._v(" "),r("b",{staticClass:"mb-3 mb-5 block text-sm text-gray-400"},[t._v("\n "+t._s(t.$t("unable_to_charge"))+"\n ")]),t._v(" "),t._l(t.user.data.relationships.failedPayments.data,(function(e){return r("div",{key:e.data.id,staticClass:"flex items-center justify-between border-b border-dashed border-light py-2 dark:border-opacity-5"},[r("div",{staticClass:"w-2/4 leading-none"},[r("b",{staticClass:"text-sm font-bold leading-none"},[t._v("\n "+t._s(e.data.attributes.note)+"\n ")])]),t._v(" "),r("div",{staticClass:"w-1/4 text-left"},[r("span",{staticClass:"text-gray-560 text-sm font-bold capitalize"},[t._v("\n "+t._s(t.$t(e.data.attributes.source))+"\n ")])]),t._v(" "),r("div",{staticClass:"w-1/4 text-right"},[r("span",{staticClass:"text-sm font-bold"},[t._v("\n "+t._s(e.data.attributes.created_at)+"\n ")])]),t._v(" "),r("div",{staticClass:"w-1/4 text-right"},[r("span",{staticClass:"text-red text-sm font-bold"},[t._v("\n "+t._s(e.data.attributes.amount)+"\n ")])])])}))],2):t._e()}),[],!1,null,null,null).exports;function ft(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function pt(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}const vt={name:"UserUsageEstimates",components:{FormLabel:i.Z},computed:function(t){for(var e=1;e0}}),data:function(){return{chargeAmount:void 0}},methods:{makePayment:function(){var t,e=this;return(t=T().mark((function t(){return T().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.$refs.fundAccount.validate();case 2:if(t.sent){t.next=5;break}return t.abrupt("return");case 5:e.$store.dispatch("callSingleChargeProcess",e.chargeAmount);case 6:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,a){var i=t.apply(e,r);function s(t){kt(i,n,a,s,o,"next",t)}function o(t){kt(i,n,a,s,o,"throw",t)}s(void 0)}))})()}}};function Zt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function jt(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}const Pt={name:"Billing",components:{UserUpdatePaymentMethodsExternally:f,UserTransactionsForMeteredBilling:k,UserTransactionsForFixedBilling:A,UserFixedSubscriptionDetail:I,UserStoredPaymentMethods:rt,UserEmptySubscription:at,UserEditSubscription:ot,UserFailedPayments:dt,UserUsageEstimates:mt,UserBillingAlerts:wt,UserBalance:(0,d.Z)(St,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return t.hasPaymentMethod?t._e():r("div",{staticClass:"card shadow-card"},[r("FormLabel",{attrs:{icon:"dollar"}},[t._v("\n "+t._s(t.$t("balance"))+"\n ")]),t._v(" "),r("b",{staticClass:"-mt-3 mb-0.5 block text-2xl font-extrabold sm:text-3xl"},[t._v("\n "+t._s(t.user.data.relationships.balance.data.attributes.formatted)+"\n ")]),t._v(" "),r("ValidationObserver",{ref:"fundAccount",staticClass:"mt-6",attrs:{tag:"form"},on:{submit:function(e){return e.preventDefault(),t.makePayment.apply(null,arguments)}},scopedSlots:t._u([{key:"default",fn:function(e){e.invalid;return[r("ValidationProvider",{attrs:{tag:"div",mode:"passive",name:"Amount",rules:"required|min_value:"+t.user.data.meta.totalDebt.amount},scopedSlots:t._u([{key:"default",fn:function(e){var n=e.errors;return[r("AppInputText",{attrs:{description:t.$t("amount_increase_description"),error:n[0],"is-last":!0}},[r("div",{staticClass:"space-y-4 sm:flex sm:space-x-4 sm:space-y-0"},[r("input",{directives:[{name:"model",rawName:"v-model",value:t.chargeAmount,expression:"chargeAmount"}],staticClass:"focus-border-theme input-dark",class:{"!border-rose-600":n[0]},attrs:{placeholder:t.$t("fund_account_balance"),type:"number",min:"1",max:"999999999"},domProps:{value:t.chargeAmount},on:{input:function(e){e.target.composing||(t.chargeAmount=e.target.value)}}}),t._v(" "),r("ButtonBase",{staticClass:"w-full sm:w-auto",attrs:{type:"submit","button-style":"theme"}},[t._v("\n "+t._s(t.$t("make_payment"))+"\n ")])],1)])]}}],null,!0)})]}}],null,!1,1144290692)})],1)}),[],!1,null,null,null).exports,PageTab:$t.Z},computed:function(t){for(var e=1;e{e.d(a,{Z:()=>i});var s=e(3645),r=e.n(s)()((function(t){return t[1]}));r.push([t.id,".color-label.purple[data-v-d470f17c]{background:rgba(157,102,254,.1);color:#9d66fe}.color-label.yellow[data-v-d470f17c]{background:rgba(255,189,45,.1);color:#ffbd2d}.color-label.green[data-v-d470f17c]{background:rgba(0,188,126,.1);color:#00bc7e}.color-label.red[data-v-d470f17c]{background:rgba(253,57,122,.1);color:#fd397a}",""]);const i=r},9397:(t,a,e)=>{e.d(a,{Z:()=>i});var s=e(3645),r=e.n(s)()((function(t){return t[1]}));r.push([t.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 i=r},9611:(t,a,e)=>{e.d(a,{Z:()=>i});var s=e(3645),r=e.n(s)()((function(t){return t[1]}));r.push([t.id,".table-row[data-v-4f806708]{border-radius:8px}.table-row[data-v-4f806708]:hover{background:#f4f5f6}.table-row .table-cell[data-v-4f806708]{padding-bottom:15px;padding-top:15px}.table-row .table-cell[data-v-4f806708]:first-child{padding-left:15px}.table-row .table-cell[data-v-4f806708]:last-child{padding-right:15px;text-align:right}.table-row .table-cell span[data-v-4f806708]{font-size:1em;font-weight:700}",""]);const i=r},1695:(t,a,e)=>{e.d(a,{Z:()=>i});var s=e(3645),r=e.n(s)()((function(t){return t[1]}));r.push([t.id,".info .description[data-v-61fa07ec],.info .name[data-v-61fa07ec]{display:block;max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.info .name[data-v-61fa07ec]{color:#1b2539;font-size:.9375em;line-height:1}.info .description[data-v-61fa07ec]{color:rgba(27,37,57,.7);font-size:.75em}.dark .cell-image-thumbnail .image img.blurred[data-v-61fa07ec]{display:none}.dark .cell-image-thumbnail .info .name[data-v-61fa07ec]{color:#bec6cf}.dark .cell-image-thumbnail .info .description[data-v-61fa07ec]{color:#7d858c}",""]);const i=r},3426:(t,a,e)=>{e.d(a,{Z:()=>l});const s={name:"ColorLabel",props:["color"]};var r=e(3379),i=e.n(r),n=e(6798),o={insert:"head",singleton:!1};i()(n.Z,o);n.Z.locals;const l=(0,e(1900).Z)(s,(function(){var t=this,a=t.$createElement;return(t._self._c||a)("b",{staticClass:"color-label inline-block rounded-lg py-1 px-2 text-xs font-bold capitalize",class:t.color},[t._t("default")],2)}),[],!1,null,"d470f17c",null).exports},5996:(t,a,e)=>{e.d(a,{Z:()=>i});var s=e(9101);const r={name:"FormLabel",props:["icon"],components:{WifiIcon:s.kVp,ListIcon:s.DE2,MailIcon:s.bV6,InfoIcon:s.szr,DatabaseIcon:s.VHe,UsersIcon:s.oyc,CreditCardIcon:s.ciH,DollarSignIcon:s.bkH,SmartphoneIcon:s.BEV,HardDriveIcon:s.zvn,BarChartIcon:s.eJP,SettingsIcon:s.ewm,FileTextIcon:s.zPP,ShieldIcon:s.b7C,FrownIcon:s.eFi,Edit2Icon:s.me4,BellIcon:s.Dkj,KeyIcon:s._m8}};const i=(0,e(1900).Z)(r,(function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"mb-8 flex items-center"},[t.icon?t._e():e("edit-2-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}),t._v(" "),"frown"===t.icon?e("frown-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):t._e(),t._v(" "),"list"===t.icon?e("list-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):t._e(),t._v(" "),"info"===t.icon?e("info-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):t._e(),t._v(" "),"database"===t.icon?e("database-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):t._e(),t._v(" "),"file-text"===t.icon?e("file-text-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):t._e(),t._v(" "),"dollar"===t.icon?e("dollar-sign-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):t._e(),t._v(" "),"credit-card"===t.icon?e("credit-card-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):t._e(),t._v(" "),"bar-chart"===t.icon?e("bar-chart-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):t._e(),t._v(" "),"settings"===t.icon?e("settings-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):t._e(),t._v(" "),"hard-drive"===t.icon?e("hard-drive-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):t._e(),t._v(" "),"mail"===t.icon?e("mail-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):t._e(),t._v(" "),"smartphone"===t.icon?e("smartphone-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):t._e(),t._v(" "),"shield"===t.icon?e("shield-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):t._e(),t._v(" "),"bell"===t.icon?e("bell-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):t._e(),t._v(" "),"key"===t.icon?e("key-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):t._e(),t._v(" "),"users"===t.icon?e("users-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):t._e(),t._v(" "),"wifi"===t.icon?e("wifi-icon",{staticClass:"vue-feather text-theme dark-text-theme mr-3",attrs:{size:"22"}}):t._e(),t._v(" "),e("b",{staticClass:"text-md font-bold dark:text-gray-200 sm:text-lg"},[t._t("default")],2)],1)}),[],!1,null,null,null).exports},6291:(t,a,e)=>{e.d(a,{Z:()=>l});const s={name:"InfoBox",props:["type"]};var r=e(3379),i=e.n(r),n=e(9397),o={insert:"head",singleton:!1};i()(n.Z,o);n.Z.locals;const l=(0,e(1900).Z)(s,(function(){var t=this,a=t.$createElement;return(t._self._c||a)("div",{staticClass:"info-box",class:t.type},[t._t("default")],2)}),[],!1,null,"4d9e9780",null).exports},8716:(t,a,e)=>{e.d(a,{Z:()=>l});const s={name:"DatatableCellImage",props:["member","title","description","image-size"],components:{MemberAvatar:e(167).Z}};var r=e(3379),i=e.n(r),n=e(1695),o={insert:"head",singleton:!1};i()(n.Z,o);n.Z.locals;const l=(0,e(1900).Z)(s,(function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"flex shrink-0 grow-0 items-center"},[e("MemberAvatar",{staticClass:"mr-3 shrink-0",attrs:{"is-border":!1,size:52,member:t.member}}),t._v(" "),e("div",{staticClass:"info"},[t.title?e("b",{staticClass:"name"},[t._v(t._s(t.title))]):t._e(),t._v(" "),t.description?e("span",{staticClass:"description"},[t._v(t._s(t.description))]):t._e()])],1)}),[],!1,null,"61fa07ec",null).exports},3808:(t,a,e)=>{e.d(a,{Z:()=>m});var s=e(9101);const r={props:["data"],computed:{normalizedColumns:function(){return this.data.id&&delete this.data.id,Object.values(this.data)}}};var i=e(3379),n=e.n(i),o=e(9611),l={insert:"head",singleton:!1};n()(o.Z,l);o.Z.locals;var c=e(1900);const d=(0,c.Z)(r,(function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("tr",{staticClass:"table-row"},t._l(t.normalizedColumns,(function(a,s){return e("td",{key:s,staticClass:"table-cell"},[e("span",[t._v(t._s(a))])])})),0)}),[],!1,null,"4f806708",null).exports;var b=e(9669),p=e.n(b);const u={name:"DatatableWrapper",props:["paginator","tableData","columns","scope","api"],components:{ChevronRightIcon:s.XCv,ChevronLeftIcon:s.wyc,DatatableCell:d,ChevronUpIcon:s.g8U},computed:{hasData:function(){return this.data&&this.data.data&&this.data.data.length>0},floatPages:function(){return[this.pageIndex-1,this.pageIndex,this.pageIndex+1]}},data:function(){return{data:void 0,isLoading:!0,pageIndex:1,filter:{sort:"DESC",field:void 0}}},methods:{goToPage:function(t){t>this.data.meta.last_page||0===t||(this.pageIndex=t,this.getPage(t))},sort:function(t,a){a&&(this.filter.field=t,"DESC"===this.filter.sort?this.filter.sort="ASC":"ASC"===this.filter.sort&&(this.filter.sort="DESC"),this.getPage(this.pageIndex))},getPage:function(t){var a=this;this.URI=this.api,this.paginator&&(this.URI=this.URI+"?page="+t),this.filter.field&&(this.URI=this.URI+(this.paginator?"&":"?")+"sort="+this.filter.field+"&direction="+this.filter.sort),this.isLoading=!0,p().get(this.URI).then((function(t){a.data=t.data,a.$emit("data",t.data)})).catch((function(){return a.$isSomethingWrong()})).finally((function(){a.$emit("init",!0),a.isLoading=!1}))}},created:function(){this.api&&this.getPage(this.pageIndex),this.tableData&&(this.data=this.tableData,this.isLoading=!1)}};const m=(0,c.Z)(u,(function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"w-full"},[t.hasData?e("table",{staticClass:"w-full"},[e("thead",[e("tr",{staticClass:"whitespace-nowrap"},t._l(t.columns,(function(a,s){return a.hidden?t._e():e("th",{key:s,staticClass:"text-left",class:{"sortable cursor-pointer":a.sortable,"text-right":Object.values(t.columns).length-1===s},on:{click:function(e){return t.sort(a.field,a.sortable)}}},[e("span",{staticClass:"text-xs text-gray-400 dark:text-gray-500"},[t._v("\n "+t._s(t.$t(a.label))+"\n ")]),t._v(" "),a.sortable?e("chevron-up-icon",{staticClass:"vue-feather inline-block text-gray-300 dark:text-gray-500",class:{"arrow-down":"ASC"===t.filter.sort},attrs:{size:"12"}}):t._e()],1)})),0)]),t._v(" "),e("tbody",{staticClass:"table-body"},[t._l(t.data.data,(function(a){return t._t("default",(function(){return[e("DatatableCell",{key:a.id,attrs:{data:a}})]}),{row:a})}))],2)]):t._e(),t._v(" "),t.isLoading||t.hasData?t._e():t._t("empty-page"),t._v(" "),t.paginator&&t.hasData?e("div",{staticClass:"mt-6 flex items-center justify-between"},[t.data.meta.total>15&&t.data.meta.last_page<=6?e("ul",{staticClass:"pagination flex items-center"},[e("li",{staticClass:"previous inline-block p-1"},[e("a",{staticClass:"page-link",class:{"cursor-default opacity-20":1===t.pageIndex},on:{click:function(a){return t.goToPage(t.pageIndex-1)}}},[e("chevron-left-icon",{staticClass:"inline-block",attrs:{size:"14"}})],1)]),t._v(" "),t._l(t.data.meta.last_page,(function(a,s){return e("li",{key:s,staticClass:"inline-block p-1",on:{click:function(e){return t.goToPage(a)}}},[e("a",{staticClass:"page-link",class:{"bg-light-background dark:bg-4x-dark-foreground dark:text-gray-300":t.pageIndex===a}},[t._v("\n "+t._s(a)+"\n ")])])})),t._v(" "),e("li",{staticClass:"next inline-block p-1"},[e("a",{staticClass:"page-link",class:{"cursor-default opacity-20":t.pageIndex===t.data.meta.last_page},on:{click:function(a){return t.goToPage(t.pageIndex+1)}}},[e("chevron-right-icon",{staticClass:"inline-block",attrs:{size:"14"}})],1)])],2):t._e(),t._v(" "),t.data.meta.total>15&&t.data.meta.last_page>6?e("ul",{staticClass:"pagination flex items-center"},[e("li",{staticClass:"previous inline-block p-1"},[e("a",{staticClass:"page-link",class:{"cursor-default opacity-20":1===t.pageIndex},on:{click:function(a){return t.goToPage(t.pageIndex-1)}}},[e("chevron-left-icon",{staticClass:"inline-block",attrs:{size:"14"}})],1)]),t._v(" "),t.pageIndex>=5?e("li",{staticClass:"inline-block p-1",on:{click:function(a){return t.goToPage(1)}}},[e("a",{staticClass:"page-link"},[t._v(" 1 ")])]):t._e(),t._v(" "),t._l(5,(function(a,s){return t.pageIndex<5?e("li",{key:s,staticClass:"inline-block p-1",on:{click:function(e){return t.goToPage(a)}}},[e("a",{staticClass:"page-link",class:{"bg-light-background dark:bg-4x-dark-foreground dark:text-gray-300":t.pageIndex===a}},[t._v("\n "+t._s(a)+"\n ")])]):t._e()})),t._v(" "),t.pageIndex>=5?e("li",{staticClass:"inline-block p-1"},[e("a",{staticClass:"page-link"},[t._v("...")])]):t._e(),t._v(" "),t._l(t.floatPages,(function(a,s){return t.pageIndex>=5&&t.pageIndext.data.meta.last_page-4?e("li",{key:s,staticClass:"inline-block p-1",on:{click:function(a){t.goToPage(t.data.meta.last_page-(4-s))}}},[e("a",{staticClass:"page-link",class:{"bg-light-background dark:bg-4x-dark-foreground dark:text-gray-300":t.pageIndex===t.data.meta.last_page-(4-s)}},[t._v("\n "+t._s(t.data.meta.last_page-(4-s))+"\n ")])]):t._e()})),t._v(" "),t.pageIndex{e.d(a,{Z:()=>n});const s={name:"Bar",props:["bar"],data:function(){return{isVisible:!1}}};var r=e(1900);const i={name:"BarChart",props:["color","data"],components:{Bar:(0,r.Z)(s,(function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"relative flex items-center justify-center block cursor-pointer lg:mx-1 lg:w-2 2xl:w-3",style:{height:t.bar.percentage>0?t.bar.percentage+"%":"8px"},on:{mouseover:function(a){t.isVisible=!0},mouseleave:function(a){t.isVisible=!1}}},[t.isVisible||85.5===t.bar.percentage?e("div",{staticClass:"absolute -top-4 z-10 -translate-y-full transform rounded-lg bg-gray-800 py-2 px-3 shadow-lg dark:bg-white"},[e("b",{staticClass:"mb-2 block whitespace-nowrap text-xs text-white dark:text-gray-800"},[t._v("\n "+t._s(t.bar.created_at)+"\n ")]),t._v(" "),e("div",{staticClass:"flex items-center pb-1"},[e("span",{staticClass:"bg-theme mr-2 block h-3 w-3 rounded"}),t._v(" "),e("b",{staticClass:"whitespace-nowrap text-xs text-white dark:text-gray-800"},[t._v("\n "+t._s(t.bar.amount)+"\n ")])]),t._v(" "),t._m(0)]):t._e(),t._v(" "),e("span",{staticClass:"block h-full w-full rounded-lg",class:{"bg-theme":t.bar.percentage>0,"dark:bg-gray-700 bg-gray-200":0===t.bar.percentage}})])}),[function(){var t=this.$createElement,a=this._self._c||t;return a("div",{staticClass:"absolute -bottom-2.5 left-0 right-0 mx-auto inline-block w-[17px] overflow-hidden"},[a("div",{staticClass:"h-3 w-3 origin-top-left -rotate-45 transform bg-gray-800 dark:bg-white"})])}],!1,null,null,null).exports}};const n=(0,r.Z)(i,(function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"grid h-20 grid-flow-col items-end gap-1 sm:h-28 sm:gap-2 lg:flex lg:items-end lg:justify-between lg:gap-0"},t._l(t.data,(function(t,a){return e("Bar",{key:a,attrs:{bar:t}})})),1)}),[],!1,null,null,null).exports},6414:(t,a,e)=>{e.r(a),e.d(a,{default:()=>D});var s=e(8716),r=e(3808),i=e(3426),n=e(9101),o=e(167),l=e(629);function c(t,a){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);a&&(s=s.filter((function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable}))),e.push.apply(e,s)}return e}function d(t){for(var a=1;a