@farm-investimentos/front-mfe-components 9.1.2 → 9.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/front-mfe-components.common.js +178 -59
- package/dist/front-mfe-components.common.js.map +1 -1
- package/dist/front-mfe-components.css +1 -1
- package/dist/front-mfe-components.umd.js +178 -59
- package/dist/front-mfe-components.umd.js.map +1 -1
- package/dist/front-mfe-components.umd.min.js +1 -1
- package/dist/front-mfe-components.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/src/components/ButtonToggle/ButtonToggle.scss +14 -0
- package/src/components/ButtonToggle/ButtonToggle.stories.js +49 -0
- package/src/components/ButtonToggle/ButtonToggle.vue +52 -0
- package/src/components/ButtonToggle/IButtonToggle.ts +5 -0
- package/src/components/ButtonToggle/__tests__/ButtonToggle.spec.js +18 -0
- package/src/components/ButtonToggle/index.ts +4 -0
- package/src/components/Icon/Icon.scss +1 -1
- package/src/components/Icon/Icon.stories.js +17 -13
- package/src/components/Icon/Icons.stories.scss +17 -0
- package/src/components/Icon/icons_list.ts +2566 -0
- package/src/main.ts +1 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
(function(t,e){"object"===typeof exports&&"object"===typeof module?module.exports=e(require("vue")):"function"===typeof define&&define.amd?define([],e):"object"===typeof exports?exports["front-mfe-components"]=e(require("vue")):t["front-mfe-components"]=e(t["Vue"])})("undefined"!==typeof self?self:this,(function(t){return function(t){var e={};function i(s){if(e[s])return e[s].exports;var n=e[s]={i:s,l:!1,exports:{}};return t[s].call(n.exports,n,n.exports,i),n.l=!0,n.exports}return i.m=t,i.c=e,i.d=function(t,e,s){i.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:s})},i.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.t=function(t,e){if(1&e&&(t=i(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var s=Object.create(null);if(i.r(s),Object.defineProperty(s,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var n in t)i.d(s,n,function(e){return t[e]}.bind(null,n));return s},i.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="",i(i.s="fae3")}({"0068":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=i("7776");e.default=function(t){var e={};return t.forEach((function(t){e["set".concat((0,s.capitalize)(t))]=function(e,i){e[t]=i}})),e}},"0157":function(t,e,i){},"02f0":function(t,e,i){},"0545":function(t,e,i){"use strict";var s=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var n=s(i("51428"));e.default=n.default},"0556":function(t,e,i){"use strict";var s=this&&this.__createBinding||(Object.create?function(t,e,i,s){void 0===s&&(s=i);var n=Object.getOwnPropertyDescriptor(e,i);n&&!("get"in n?!e.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return e[i]}}),Object.defineProperty(t,s,n)}:function(t,e,i,s){void 0===s&&(s=i),t[s]=e[i]}),n=this&&this.__exportStar||function(t,e){for(var i in t)"default"===i||Object.prototype.hasOwnProperty.call(e,i)||s(e,t,i)};Object.defineProperty(e,"__esModule",{value:!0}),n(i("3282"),e),n(i("8e45"),e),n(i("c2c8"),e),n(i("af98"),e),n(i("c6f9"),e),n(i("d052"),e)},"0597":function(t,e,i){"use strict";i("9568")},"0614":function(t,e,i){"use strict";i("9f68")},"07b9":function(t,e,i){},"0a26":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,i){var s=function(t){e("LOADING_START");var i=localStorage.getItem("Token");return void 0!==t.headers&&(t.headers.authorization="Bearer ".concat(i)),t},n=function(t){return e("LOADING_END"),t},r=function(t){if(e("LOADING_END"),t.response&&401===t.response.status)throw e("UNAUTHORIZED",{err:t}),t;throw t},a=function(t){var e=t.create({baseURL:i,timeout:2e4});return e.interceptors.request.use((function(t){return s(t)}),(function(t){return Promise.reject(t)})),e.interceptors.response.use(n,r),e};return a(t)}},"0aae":function(t,e,i){"use strict";var s=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var n=s(i("5376"));e.default=n.default},"0b96":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=/(^\d{3}\.\d{3}\.\d{3}-\d{2}$)|(^\d{2}\.\d{3}\.\d{3}\/\d{4}-\d{2}$)/;return e.test(t)||!1}},"0bc6":function(t,e,i){},"0c0e":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){if(11===t.length){for(var e=t.split(""),i=0,s=0,n=!1,r=1;e.length>r;r+=1)e[r-1]!==e[r]&&(n=!0);if(!1===n)return!1;r=0;for(var a=10;e.length-2>r;r+=1,a-=1)i+=+e[r]*a;i=10*i%11,10===i&&(i=0);var o=parseInt(e[9],10);if(i!==o)return!1;for(r=0,a=11;e.length-1>r;r+=1,a-=1)s+=+e[r]*a;s=10*s%11,10===s&&(s=0);var l=parseInt(e[10],10);return s===l}return!1}},"0c96":function(t,e,i){},"0cc0":function(t,e,i){"use strict";i("b84d")},"0fc3":function(t,e,i){"use strict";var s=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.notificationWrapper=e.notification=void 0;var n=s(i("e6f2"));e.notification=n.default;var r=s(i("1e79"));e.notificationWrapper=r.default},"103a":function(t,e,i){"use strict";i("cdeb")},"112a":function(t,e,i){},"121f":function(t,e,i){"use strict";i("59f2")},1225:function(t,e,i){"use strict";var s=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var n=s(i("0a26"));e.default=n.default},"12f0":function(t,e,i){},"13b3":function(t,e,i){},"14af":function(t,e,i){},"158d":function(t,e,i){},"166a":function(t,e,i){},"169b":function(t,e,i){"use strict";var s=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var n=s(i("bbd2"));e.default=n.default},"16db":function(t,e,i){},1757:function(t,e,i){"use strict";var s=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var n=s(i("0c0e"));e.default=n.default},1803:function(t,e,i){},"19b1":function(t,e,i){},"1b2c":function(t,e,i){},"1bfb":function(t,e,i){},"1c18":function(t,e,i){},"1e79":function(t,e,i){"use strict";var s=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var n=s(i("e6f2")),r=i("c7ca");e.default=function(t,e,i){return"ERROR"===t.type?((0,n.default)(r.StatusEnum.ERROR,"Ocorreu um erro ao ".concat(i,": ").concat(t.message)),"ERROR"):"SUCCESS"===t||"SUCCESS"===t.type?((0,n.default)(r.StatusEnum.SUCCESS,"".concat(e," com sucesso")),"SUCCESS"):void 0}},"1ed2":function(t,e,i){"use strict";var s=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var n=s(i("ba9c"));e.default=n.default},"1f29":function(t,e,i){},"1f2b":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return t.data.content.length>0?t.data.content[0]:null}},2102:function(t,e,i){},2155:function(t,e,i){"use strict";var s=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var n=s(i("fdc0"));e.default=n.default},2232:function(t,e,i){"use strict";var s=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.formatDateRangeSetKeys=e.dateStringToISO=e.unFormatDate=e.defaultDateFormat=void 0;var n=s(i("a580"));e.formatDateRangeSetKeys=n.default;var r=s(i("df68"));e.defaultDateFormat=r.default;var a=s(i("464c"));e.unFormatDate=a.default;var o=s(i("b482"));e.dateStringToISO=o.default},2241:function(t,e,i){"use strict";var s=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var n=s(i("7427"));e.default=n.default},"22ee":function(t,e,i){"use strict";var s=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var n=s(i("cfcd"));e.default=n.default},"240e":function(t,e,i){},"242e":function(t,e,i){"use strict";i("7f88")},"24a2":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,i,s){var n=i?i(e):e;return t("set".concat(s),n),t("set".concat(s,"RequestStatus"),"SUCCESS"),{result:n}}},"24ef":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=t.split("/"),i=new Date(+e[2],+e[1]-1,+e[0]);return i.toISOString()}},"25a8":function(t,e,i){},2884:function(t,e,i){"use strict";i("158d")},2959:function(t,e,i){"use strict";i("9a06")},"296f":function(t,e,i){"use strict";var s=this&&this.__awaiter||function(t,e,i,s){function n(t){return t instanceof i?t:new i((function(e){e(t)}))}return new(i||(i=Promise))((function(i,r){function a(t){try{l(s.next(t))}catch(e){r(e)}}function o(t){try{l(s["throw"](t))}catch(e){r(e)}}function l(t){t.done?i(t.value):n(t.value).then(a,o)}l((s=s.apply(t,e||[])).next())}))},n=this&&this.__generator||function(t,e){var i,s,n,r,a={label:0,sent:function(){if(1&n[0])throw n[1];return n[1]},trys:[],ops:[]};return r={next:o(0),throw:o(1),return:o(2)},"function"===typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function o(t){return function(e){return l([t,e])}}function l(r){if(i)throw new TypeError("Generator is already executing.");while(a)try{if(i=1,s&&(n=2&r[0]?s["return"]:r[0]?s["throw"]||((n=s["return"])&&n.call(s),0):s.next)&&!(n=n.call(s,r[1])).done)return n;switch(s=0,n&&(r=[2&r[0],n.value]),r[0]){case 0:case 1:n=r;break;case 4:return a.label++,{value:r[1],done:!1};case 5:a.label++,s=r[1],r=[0];continue;case 7:r=a.ops.pop(),a.trys.pop();continue;default:if(n=a.trys,!(n=n.length>0&&n[n.length-1])&&(6===r[0]||2===r[0])){a=0;continue}if(3===r[0]&&(!n||r[1]>n[0]&&r[1]<n[3])){a.label=r[1];break}if(6===r[0]&&a.label<n[1]){a.label=n[1],n=r;break}if(n&&a.label<n[2]){a.label=n[2],a.ops.push(r);break}n[2]&&a.ops.pop(),a.trys.pop();continue}r=e.call(t,a)}catch(o){r=[6,o],s=0}finally{i=n=0}if(5&r[0])throw r[1];return{value:r[0]?r[1]:void 0,done:!0}}};function r(t){var e={},i=[];function s(t){if(t!==Object(t))return e[i.join(".")]=t;for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(i.push(n),s(t[n]),i.pop())}return s(t),e}Object.defineProperty(e,"__esModule",{value:!0}),e.flatObject=void 0,e.flatObject=r,e.default=function(t,e){var i={};t.mixin({methods:{loadFeatures:function(t){return s(this,void 0,void 0,(function(){var s;return n(this,(function(n){switch(n.label){case 0:return[4,e.get("/features/".concat(t,".json"))];case 1:return s=n.sent().data,i=r(s),[2]}}))}))},isFeatureEnabled:function(t){return!t||(i[t]||!1)}}})}},"2a45":function(t,e,i){"use strict";var s=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var n=s(i("6074"));e.default=n.default},"2b2b":function(t,e,i){},"2bd1":function(t,e,i){"use strict";var s=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var n=s(i("725d"));e.default=n.default},"2d3c":function(t,e,i){},"2e0d":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={theme:{themes:{light:{primary:"#1C1C1C",secondary:{base:"#00B493",lighten5:"#EBFFFB",lighten4:"#D6FFF8",lighten3:"#ADFFF0",lighten2:"#99FFEC",lighten1:"#70FFE5",darken1:"#47FFDD",darken2:"#0AFFD2",darken3:"#00F5C8",darken4:"#00CCA7",darken5:"#006653"},error:"#EA5455",extra:{base:"#FFFFFF",lighten1:"#467D7E",lighten2:"#1A3738",lighten3:"#0B1A1B",lighten4:"#FADD9E",lighten5:"#F8CC6B",darken1:"#595959",darken2:"#4d4d4d",darken3:"#404040",darken4:"#333333",darken5:"#262626"},gray:{base:"#5C5C5C",lighten1:"#858585",lighten2:"#D6D6D6",lighten3:"#0B1A1B",lighten4:"#F5F5F5",lighten5:"#FFFFFF",darken1:"#595959",darken2:"#4d4d4d",darken3:"#404040",darken4:"#333333",darken5:"#262626"},accent:"#5089DE",yellow:"#F8CC6B"}},options:{customProperties:!0}}}},"2e45":function(t,e,i){"use strict";i("0c96")},"2ea0":function(t,e,i){"use strict";i("14af")},"2eae":function(t,e,i){"use strict";i("3a97")},3140:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={updateCurrentUserRoles:function(t,e){var i=t.commit;i("setCurrentUserRoles",e)},updateCurrentRouteRole:function(t,e){var i=t.commit;i("setCurrentRouteRole",e)},updateInternalUser:function(t,e){var i=t.commit;i("setInternalUser",e)}}},3282:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.StatusEnum=void 0;var s=i("c7ca");Object.defineProperty(e,"StatusEnum",{enumerable:!0,get:function(){return s.StatusEnum}})},3408:function(t,e,i){},"357b":function(t,e,i){"use strict";var s=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var n=s(i("0b96"));e.default=n.default},"368e":function(t,e,i){},3707:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e={};return t.forEach((function(t){return e[t]=t.endsWith("List")?[]:null})),e}},"38a4":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){return Object.keys(t).filter((function(e){return""!==t[e]&&null!==t[e]&&void 0!==t[e]})).map((function(i){return(e[i]?e[i]:i)+"="+t[i]})).join("&")}},"39da":function(t,e,i){"use strict";i("240e")},"3a97":function(t,e,i){},"3ad0":function(t,e,i){},"3c93":function(t,e,i){},"3d45":function(t,e,i){"use strict";var s=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.usd=e.brlPlain=e.brl=void 0;var n=s(i("545d"));e.brl=n.default;var r=s(i("716a"));e.brlPlain=r.default;var a=s(i("169b"));e.usd=a.default},4088:function(t,e,i){},"40c3":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=function(t){return{methods:{tagExportEvent:function(e){var i=e.page,s=e.format;this.$gtag.event("export",{format:s,page:i,origin:t})}}}};e.default=s},"415c":function(t,e,i){"use strict";var s=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var n=s(i("b513"));e.default=n.default},"41e3":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=["a","abbr","acronym","address","applet","area","article","aside","audio","b","base","basefont","bdi","bdo","bgsound","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dir","div","dl","dt","element","em","embed","fieldset","figcaption","figure","font","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","isindex","kbd","keygen","label","legend","li","line","link","listing","main","map","mark","marquee","menu","menuitem","meta","meter","nav","nobr","noframes","noscript","object","ol","optgroup","option","output","p","param","plaintext","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","tt","u","ul","var","video","wbr","xmp"]},4298:function(t,e,i){"use strict";var s=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var n=s(i("f293"));e.default=n.default},4441:function(t,e,i){"use strict";var s=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var n=s(i("0068"));e.default=n.default},4562:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){return void 0===e&&(e=2),0===t||t?new Intl.NumberFormat("pt-BR",{minimumFractionDigits:e,maximumFractionDigits:e}).format(t):null}},"464c":function(t,e,i){"use strict";var s=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var n=s(i("bfb9"));e.default=n.default},4804:function(t,e,i){},"495c":function(t,e,i){"use strict";i("5b50")},"495d":function(t,e,i){},"4b09":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.sizeOf=void 0;var s=i("c62c");Object.defineProperty(e,"sizeOf",{enumerable:!0,get:function(){return s.sizeOf}})},"4b85":function(t,e,i){},"4c91":function(t,e,i){"use strict";var s=this&&this.__assign||function(){return s=Object.assign||function(t){for(var e,i=1,s=arguments.length;i<s;i++)for(var n in e=arguments[i],e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t},s.apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,i,n){t.mixin({data:function(){return{userHasAccess:!0}},computed:s(s({},e(n,{currentRouteRole:"currentRouteRole",currentUserRoles:"currentUserRoles",internalUser:"internalUser"})),{canWrite:function(){return"WRITE"===this.currentRouteRole}}),methods:s(s({},i(n,{updateCurrentUserRoles:"updateCurrentUserRoles",updateCurrentRouteRole:"updateCurrentRouteRole",updateInternalUser:"updateInternalUser"})),{checkAccess:function(){var t=this,e=this.currentUserRoles,i=this.$route.meta.roleKey,s=i.split(".").map((function(e){return 0===e.indexOf(":")?t.$route.params[e.split(":")[1]]:e}));if(i=s.join("."),!i||!e)return this.updateCurrentRouteRole("WRITE"),void(this.userHasAccess=!0);var n=e[i];if(n&&n>0)return this.updateCurrentRouteRole(2===n?"WRITE":"READ"),void(this.userHasAccess=!0);this.updateCurrentRouteRole(0),this.userHasAccess=!1},listenToUserRolesChange:function(){var t=this;window.addEventListener("CURRENT_USER_ROLES",(function(e){t.updateCurrentUserRoles(e.detail.message),t.checkAccess()})),window.addEventListener("CURRENT_USER_INTERNAL",(function(e){t.updateInternalUser(e.detail.message)}))}})})}},"4cda":function(t,e,i){"use strict";i("1803")},"4dfe":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={updateCurrentFilters:function(t,e){var i=t.commit,s=e.key,n=e.filters,r=e.showFilters;i("setCurrentFilters",{key:s,filters:n,showFilters:r})}}},"4e5d":function(t,e,i){"use strict";i("5027")},"4fec":function(t,e,i){},"4ff9":function(t,e,i){},5027:function(t,e,i){},5142:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={currentUserRoles:[],currentRouteRole:null,internalUser:null}},51428:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e={type:"ERROR"};if("ECONNABORTED"===t.code)return e.message="timeout",e.code=t.code,e;if(t.response&&(e.httpStatus=t.response.status,t.response.data)){var i=t.response.data;i&&i.data&&(e.message=i.data),i&&i.message&&(e.message=i.message),i.errors&&1===i.errors.length&&(e.message=i.errors[0]),i.errors&&i.errors.length>1&&(e.message=i.errors.map((function(t){return t?t.defaultMessage?t.defaultMessage:t:"Erro inesperado"})).join(". "))}e.message&&e.message.message&&(e.message=e.message.message);var s=e;return s}},5159:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={currentFiltersFromKey:function(t){return function(e){if(!t.currentFilters)return null;if(t.currentFilters.key!==e)return null;var i=t.currentFilters,s=i.filters,n=i.showFilters;return{filters:s,showFilters:n}}}}},5376:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=function(t){return function(e,i,s){var n=new Blob([e],{type:i}),r=t.document.createElement("a");return r.href=t.URL.createObjectURL?t.URL.createObjectURL(n):"",r.download=s||"",r.click(),r}};e.default=s(window)},5449:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=function(t){function e(e,i){var s=t.getItem(e)||i||"";try{return JSON.parse(s)}catch(n){return s}}function i(e,i){try{return"string"===typeof i?t.setItem(e,i):t.setItem(e,JSON.stringify(i)),!0}catch(s){return!1}}function s(e){return t.removeItem(e)}function n(){return t.clear()}return{getItem:e,setItem:i,clear:n,clearKey:s}};e.default=s(localStorage)},"545d":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){return void 0===e&&(e=2),0===t||t?new Intl.NumberFormat("pt-BR",{style:"currency",currency:"BRL",minimumFractionDigits:e,maximumFractionDigits:e}).format(t).replace(/\s/g,""):null}},5622:function(t,e,i){"use strict";var s=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var n=s(i("f104"));e.default=n.default},5726:function(t,e,i){},5768:function(t,e,i){"use strict";i("642a")},"578c":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={currentFilters:{}}},"58c6":function(t,e,i){},"59f2":function(t,e,i){},"5b50":function(t,e,i){},"5bb6":function(t,e,i){"use strict";var s=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var n=s(i("5449"));e.default=n.default},"5bc7":function(t,e,i){"use strict";i("d591")},"5daf":function(t,e,i){"use strict";var s=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var n=s(i("296f"));e.default=n.default},6031:function(t,e,i){"use strict";i("ee34")},6074:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return new Promise((function(e,i){var s="clipboard-write";navigator.permissions.query({name:s}).then((function(s){"granted"!==s.state&&"prompt"!==s.state||navigator.clipboard.writeText(t).then((function(){e()}),(function(){i()}))}))}))}},"608c":function(t,e,i){},"615b":function(t,e,i){},"61b9":function(t,e,i){"use strict";var s=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var n=s(i("24a2"));e.default=n.default},"61d2":function(t,e,i){},"62a5":function(t,e,i){},6336:function(t,e,i){"use strict";i("a000")},"637f":function(t,e,i){"use strict";i("6a7d")},"639f":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return!(t.length<=0)&&t.charAt(0).toUpperCase()+t.slice(1)}},"641a":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={setCurrentUserRoles:function(t,e){return t.currentUserRoles=e},setCurrentRouteRole:function(t,e){return t.currentRouteRole=e},setInternalUser:function(t,e){return t.internalUser=e}}},"642a":function(t,e,i){},"66c5":function(t,e,i){"use strict";i("8f42")},"68dd":function(t,e,i){},"6a7d":function(t,e,i){},"6d92":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.approve=e.download=e.remove=e.historic=e.invite=e.edit=e.details=void 0,e.details={label:"Ver",handler:"details",icon:{color:"secondary",type:"open-in-new"}},e.edit={label:"Editar",handler:"edit",icon:{color:"secondary",type:"square-edit-outline"}},e.invite={label:"Convidar",handler:"invite",icon:{color:"secondary",type:"email"}},e.historic={label:"Histórico",handler:"historic",icon:{color:"grey",type:"history"}},e.remove={label:"Excluir",handler:"remove",icon:{color:"error",type:"trash-can"}},e.download={label:"Baixar Documento",handler:"download",icon:{color:"secondary",type:"download"}},e.approve={label:"Analisar Documento",handler:"approve",icon:{color:"secondary",type:"check-circle"}}},"6ece":function(t,e,i){},"70f8":function(t,e,i){"use strict";i("62a5")},"716a":function(t,e,i){"use strict";var s=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var n=s(i("4562"));e.default=n.default},"725d":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e={};return t.forEach((function(t){return e[t]={results:[],totalPages:null,total:null}})),e}},7427:function(t,e,i){"use strict";var s=this&&this.__assign||function(){return s=Object.assign||function(t){for(var e,i=1,s=arguments.length;i<s;i++)for(var n in e=arguments[i],e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t},s.apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0});var n={data:function(){return{canDoSearch:!0}},methods:{onChangeLimitPerPage:function(t){this.filters.limit=t,this.canDoSearch&&this.redoSearchFirstPage()},onChangePage:function(t){this.filters.page=t-1,this.canDoSearch&&this.doSearch()},redoSearchFirstPage:function(){0===this.filters.page?this.doSearch():this.filters.page=0},searchListener:function(t){var e=this.filters[this.filterInputKey]||"";this.filters=s(s({},t),{limit:this.lastSearchFilters.limit,page:this.lastSearchFilters.page}),this.filters[this.filterInputKey]=e,this.redoSearchFirstPage()},filterInputChanged:function(t){this.filters[this.filterInputKey]=t,(t.length>=3||""===t)&&this.redoSearchFirstPage()},enableSearch:function(){this.canDoSearch=!0},disableSearch:function(){this.canDoSearch=!1},checkStateOnMount:function(t){var e=this;if(!this.hasQueryParams())return!1;var i=this.currentFiltersFromKey(t);if(i){this.disableSearch();var n=s(s({},i.filters),{page:i.filters.page});return this.filters=s({},n),this.initFiltersValues=s({},n),this.filter=i.showFilters,this.$nextTick((function(){e.enableSearch()})),!0}return!1},checkUrlQueryOnMount:function(){return!(!this.$route.query||!this.$route.query.page)&&(this.filters=s(s({},this.$route.query),{page:parseInt(this.$route.query.page,10),limit:parseInt(this.$route.query.limit,10)}),this.hasSort&&(this.hasSort.orderby=this.$route.query.orderby,this.hasSort.order=this.$route.query.order),!0)},hasQueryParams:function(){return Object.keys(this.$route.query).length>0},updateQueryInUrl:function(){var t=this,e={};Object.keys(this.filters).forEach((function(i){var s=t.filters[i];if(Array.isArray(s))return e[i]=s.join(",").toString();void 0!==s&&(e[i]=s.toString())})),this.hasSort&&(e.orderby=this.hasSort.orderby,e.order=this.hasSort.order),JSON.stringify(e)!==JSON.stringify(this.$route.query)&&this.$router.replace({path:this.$route.path,query:s({path:this.$route.query.path},e)})}},computed:{currentPage:{get:function(){return this.filters.page+1}}}};e.default=n},7435:function(t,e,i){},"74cb":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,i,s){var n,r,a,o=i?e.data.content.map((function(t){return i(t)})):e.data.content,l=(null===(n=e.data)||void 0===n?void 0:n.totalPages)||(null===(a=null===(r=e.data)||void 0===r?void 0:r.pageable)||void 0===a?void 0:a.totalPages);return t("set".concat(s),o),t("set".concat(s,"TotalPages"),l),t("set".concat(s,"RequestStatus"),"SUCCESS"),{result:o,totalPages:l}}},7776:function(t,e,i){"use strict";var s=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.capitalize=void 0;var n=s(i("639f"));e.capitalize=n.default},"787b":function(t,e,i){"use strict";i("f9f5")},"7a0b":function(t,e,i){"use strict";var s=this&&this.__assign||function(){return s=Object.assign||function(t){for(var e,i=1,s=arguments.length;i<s;i++)for(var n in e=arguments[i],e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t},s.apply(this,arguments)},n=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var r=n(i("5142")),a=n(i("3140")),o=n(i("641a")),l=n(i("abd7"));e.default={namespaced:!0,state:s({},r.default),actions:a.default,mutations:o.default,getters:l.default}},"7b38":function(t,e,i){},"7f88":function(t,e,i){},8302:function(t,e,i){"use strict";i("07b9")},"83d2":function(t,e,i){"use strict";var s=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.search=e.userAccess=e.resetListBuilder=e.mutationsBuilder=e.gettersBuilder=e.getFirstItemFromResponseArray=e.dismissDefaultParserState=e.buildStateRequestStatus=e.buildStateListResult=e.buildBasicState=e.fetchDefaultParserPagination=e.fetchDefaultParser=void 0;var n=s(i("61b9"));e.fetchDefaultParser=n.default;var r=s(i("fc23"));e.fetchDefaultParserPagination=r.default;var a=s(i("f1f7"));e.buildBasicState=a.default;var o=s(i("2bd1"));e.buildStateListResult=o.default;var l=s(i("2155"));e.buildStateRequestStatus=l.default;var u=s(i("5622"));e.dismissDefaultParserState=u.default;var c=s(i("ce5e"));e.getFirstItemFromResponseArray=c.default;var h=s(i("f445"));e.gettersBuilder=h.default;var d=s(i("4441"));e.mutationsBuilder=d.default;var p=s(i("22ee"));e.resetListBuilder=p.default;var f=s(i("7a0b"));e.userAccess=f.default;var m=s(i("8ab3"));e.search=m.default},"859a":function(t,e,i){"use strict";i("4fec")},"86cc":function(t,e,i){},"892b":function(t,e,i){"use strict";var s=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var n=s(i("2e0d"));e.default=n.default},"899c":function(t,e,i){},"89cb":function(t,e,i){"use strict";var s=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var n=s(i("8da7"));e.default=n.default},"8ab3":function(t,e,i){"use strict";var s=this&&this.__assign||function(){return s=Object.assign||function(t){for(var e,i=1,s=arguments.length;i<s;i++)for(var n in e=arguments[i],e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t},s.apply(this,arguments)},n=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var r=n(i("578c")),a=n(i("4dfe")),o=n(i("b4d2")),l=n(i("5159"));e.default={namespaced:!0,state:s({},r.default),actions:a.default,mutations:o.default,getters:l.default}},"8adc":function(t,e,i){},"8b37":function(t,e,i){},"8b98":function(t,e,i){"use strict";i("b321")},"8bbf":function(e,i){e.exports=t},"8c11":function(t,e,i){},"8ce9":function(t,e,i){},"8d4f":function(t,e,i){},"8da7":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return function(e){return Object.fromEntries(Object.keys(t).map((function(i){return[[t[i]],e[i]]})))}}},"8e45":function(t,e,i){"use strict";var s=this&&this.__createBinding||(Object.create?function(t,e,i,s){void 0===s&&(s=i);var n=Object.getOwnPropertyDescriptor(e,i);n&&!("get"in n?!e.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return e[i]}}),Object.defineProperty(t,s,n)}:function(t,e,i,s){void 0===s&&(s=i),t[s]=e[i]}),n=this&&this.__exportStar||function(t,e){for(var i in t)"default"===i||Object.prototype.hasOwnProperty.call(e,i)||s(e,t,i)},r=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.cacheClient=e.axiosWrapper=e.localStorageWrapper=e.toClipboard=e.simpleBuilder=e.installComponents=e.errorBuilder=e.fileSaver=e.queryString=e.file=void 0,n(i("2232"),e),n(i("e067"),e),n(i("83d2"),e),n(i("0fc3"),e),n(i("7776"),e);var a=r(i("a786"));e.file=a.default;var o=r(i("fd38"));e.queryString=o.default;var l=r(i("0aae"));e.fileSaver=l.default;var u=r(i("0545"));e.errorBuilder=u.default;var c=r(i("4298"));e.installComponents=c.default;var h=r(i("89cb"));e.simpleBuilder=h.default;var d=r(i("2a45"));e.toClipboard=d.default;var p=r(i("5bb6"));e.localStorageWrapper=p.default;var f=r(i("1ed2"));e.cacheClient=f.default;var m=r(i("1225"));e.axiosWrapper=m.default},"8f42":function(t,e,i){},"8fba":function(t,e,i){"use strict";i("1f29")},"8ff2":function(t,e,i){},"91f4":function(t,e,i){},9568:function(t,e,i){},9597:function(t,e,i){},"95ed":function(t,e,i){},9678:function(t,e,i){"use strict";i("7b38")},"96c7":function(t,e,i){"use strict";i("ab22")},"9a06":function(t,e,i){},"9a42":function(t,e,i){},"9af0":function(t,e,i){"use strict";i("f33a")},"9b06":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e={};return t.forEach((function(t){e[t]=function(e){return e[t]}})),e}},"9e51":function(t,e,i){"use strict";var s=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var n=s(i("40c3"));e.default=n.default},"9f68":function(t,e,i){},a000:function(t,e,i){},a0ef:function(t,e,i){"use strict";var s=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var n=s(i("ad8f"));e.default=n.default},a2e1:function(t,e,i){"use strict";i("0157")},a464:function(t,e,i){},a580:function(t,e,i){"use strict";var s=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var n=s(i("f599"));e.default=n.default},a786:function(t,e,i){"use strict";var s=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var n=s(i("bbe8"));e.default=n.default},a80d:function(t,e,i){"use strict";i("9597")},ab22:function(t,e,i){},abd7:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={currentUserRoles:function(t){return t.currentUserRoles},currentRouteRole:function(t){return t.currentRouteRole},internalUser:function(t){return t.internalUser}}},ac29:function(t,e,i){},acbc:function(t,e,i){"use strict";var s;Object.defineProperty(e,"__esModule",{value:!0}),function(t){t["START"]="START",t["SUCCESS"]="SUCCESS",t["ERROR"]="ERROR",t["IDLE"]="IDLE"}(s||(s={})),e.default=s},ad8f:function(t,e,i){"use strict";var s=this&&this.__awaiter||function(t,e,i,s){function n(t){return t instanceof i?t:new i((function(e){e(t)}))}return new(i||(i=Promise))((function(i,r){function a(t){try{l(s.next(t))}catch(e){r(e)}}function o(t){try{l(s["throw"](t))}catch(e){r(e)}}function l(t){t.done?i(t.value):n(t.value).then(a,o)}l((s=s.apply(t,e||[])).next())}))},n=this&&this.__generator||function(t,e){var i,s,n,r,a={label:0,sent:function(){if(1&n[0])throw n[1];return n[1]},trys:[],ops:[]};return r={next:o(0),throw:o(1),return:o(2)},"function"===typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function o(t){return function(e){return l([t,e])}}function l(r){if(i)throw new TypeError("Generator is already executing.");while(a)try{if(i=1,s&&(n=2&r[0]?s["return"]:r[0]?s["throw"]||((n=s["return"])&&n.call(s),0):s.next)&&!(n=n.call(s,r[1])).done)return n;switch(s=0,n&&(r=[2&r[0],n.value]),r[0]){case 0:case 1:n=r;break;case 4:return a.label++,{value:r[1],done:!1};case 5:a.label++,s=r[1],r=[0];continue;case 7:r=a.ops.pop(),a.trys.pop();continue;default:if(n=a.trys,!(n=n.length>0&&n[n.length-1])&&(6===r[0]||2===r[0])){a=0;continue}if(3===r[0]&&(!n||r[1]>n[0]&&r[1]<n[3])){a.label=r[1];break}if(6===r[0]&&a.label<n[1]){a.label=n[1],n=r;break}if(n&&a.label<n[2]){a.label=n[2],a.ops.push(r);break}n[2]&&a.ops.pop(),a.trys.pop();continue}r=e.call(t,a)}catch(o){r=[6,o],s=0}finally{i=n=0}if(5&r[0])throw r[1];return{value:r[0]?r[1]:void 0,done:!0}}};Object.defineProperty(e,"__esModule",{value:!0});var r={methods:{exportHandler:function(t){return s(this,void 0,void 0,(function(){var e;return n(this,(function(i){switch(i.label){case 0:return[4,this.$dialog.info({text:"O download do arquivo será iniciado em uma nova aba. Para continuar usando a plataforma, você terá que retornar manualmente.",title:"Download",icon:!1,actions:{},waitForResult:!1})];case 1:return e=i.sent(),setTimeout((function(){e.close(),t()}),2e3),[2]}}))}))}}};e.default=r},ae7a:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,i){if(void 0===i&&(i=1),0===t||0===e)return 0;if(Number.isNaN(+t)||Number.isNaN(+e))return"0";var s=+t/+e*100;return Math.round(s)===s?s:s.toFixed(i)}},af98:function(t,e,i){"use strict";var s=this&&this.__createBinding||(Object.create?function(t,e,i,s){void 0===s&&(s=i);var n=Object.getOwnPropertyDescriptor(e,i);n&&!("get"in n?!e.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return e[i]}}),Object.defineProperty(t,s,n)}:function(t,e,i,s){void 0===s&&(s=i),t[s]=e[i]}),n=this&&this.__exportStar||function(t,e){for(var i in t)"default"===i||Object.prototype.hasOwnProperty.call(e,i)||s(e,t,i)},r=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.environment=void 0;var a=r(i("b0c1"));e.environment=a.default,n(i("e4fa"),e)},afa9:function(t,e,i){"use strict";i("bfba")},b0c1:function(t,e,i){"use strict";var s=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var n=s(i("bf58"));e.default=n.default},b169:function(t,e,i){},b2bd:function(t,e,i){},b307:function(t,e,i){"use strict";var s=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var n=s(i("4c91"));e.default=n.default},b321:function(t,e,i){},b482:function(t,e,i){"use strict";var s=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var n=s(i("24ef"));e.default=n.default},b4d2:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={setCurrentFilters:function(t,e){var i=e.key,s=e.filters,n=e.showFilters;t.currentFilters={key:i,filters:s,showFilters:n}}}},b4d9:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){if(14===t.length){for(var e=t.split(""),i=0,s=0,n=!1,r=1;e.length>r;r+=1)e[r-1]!==e[r]&&(n=!0);if(!1===n)return!1;r=0;for(var a=5,o=13;e.length-2>r;r+=1,a-=1,o-=1)i+=a>=2?+e[r]*a:+e[r]*o;i%=11,i=i<2?0:11-i;var l=parseInt(e[12],10);if(i!==l)return!1;for(r=0,a=6,o=14;e.length-1>r;r+=1,a-=1,o-=1)s+=a>=2?+e[r]*a:+e[r]*o;s%=11,s=s<2?0:11-s;var u=parseInt(e[13],10);return s===u}return!1}},b510:function(t,e,i){"use strict";i("1c18")},b513:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s={props:{value:{required:!0}},computed:{inputVal:{get:function(){return this.value},set:function(t){this.$emit("input",t)}}},methods:{close:function(){this.inputVal=!1}}};e.default=s},b6d8:function(t,e,i){"use strict";i("b169")},b7c2:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e={timeZone:"UTC"};return t?new Date(t).toLocaleDateString("pt-BR",e):null}},b84d:function(t,e,i){},b8e9:function(t,e,i){"use strict";var s=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var n=s(i("b4d9"));e.default=n.default},ba9c:function(t,e,i){"use strict";var s=this&&this.__awaiter||function(t,e,i,s){function n(t){return t instanceof i?t:new i((function(e){e(t)}))}return new(i||(i=Promise))((function(i,r){function a(t){try{l(s.next(t))}catch(e){r(e)}}function o(t){try{l(s["throw"](t))}catch(e){r(e)}}function l(t){t.done?i(t.value):n(t.value).then(a,o)}l((s=s.apply(t,e||[])).next())}))},n=this&&this.__generator||function(t,e){var i,s,n,r,a={label:0,sent:function(){if(1&n[0])throw n[1];return n[1]},trys:[],ops:[]};return r={next:o(0),throw:o(1),return:o(2)},"function"===typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function o(t){return function(e){return l([t,e])}}function l(r){if(i)throw new TypeError("Generator is already executing.");while(a)try{if(i=1,s&&(n=2&r[0]?s["return"]:r[0]?s["throw"]||((n=s["return"])&&n.call(s),0):s.next)&&!(n=n.call(s,r[1])).done)return n;switch(s=0,n&&(r=[2&r[0],n.value]),r[0]){case 0:case 1:n=r;break;case 4:return a.label++,{value:r[1],done:!1};case 5:a.label++,s=r[1],r=[0];continue;case 7:r=a.ops.pop(),a.trys.pop();continue;default:if(n=a.trys,!(n=n.length>0&&n[n.length-1])&&(6===r[0]||2===r[0])){a=0;continue}if(3===r[0]&&(!n||r[1]>n[0]&&r[1]<n[3])){a.label=r[1];break}if(6===r[0]&&a.label<n[1]){a.label=n[1],n=r;break}if(n&&a.label<n[2]){a.label=n[2],a.ops.push(r);break}n[2]&&a.ops.pop(),a.trys.pop();continue}r=e.call(t,a)}catch(o){r=[6,o],s=0}finally{i=n=0}if(5&r[0])throw r[1];return{value:r[0]?r[1]:void 0,done:!0}}},r=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var a=r(i("f1b2")),o=30;function l(t){var e=this,i={};return{get:function(r,l){return s(e,void 0,void 0,(function(){var e,s,u,c,h,d;return n(this,(function(n){switch(n.label){case 0:if(e=new Date,s=i[r],u=l&&l.cache&&l.cache.maxAge?l.cache.maxAge:o,c=(0,a.default)(s,e,u),c)return[2,new Promise((function(t){t(s.response)}))];n.label=1;case 1:return n.trys.push([1,3,,4]),[4,t.get(r,l)];case 2:return h=n.sent(),i[r]={response:h,date:e},[2,new Promise((function(t){return t(h)}))];case 3:return d=n.sent(),[2,new Promise((function(t,e){return e(d)}))];case 4:return[2]}}))}))}}}e.default=l},bbd2:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){return void 0===e&&(e=2),0===t||t?t.toLocaleString("en-US",{style:"currency",currency:"USD",minimumFractionDigits:e,maximumFractionDigits:e}).replace(/\s/g,""):null}},bbe8:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=window.localStorage.getItem("Token"),i="".concat(t,"&token=").concat(e);return window.open(i,"_blank"),new Promise((function(t){t({data:{content:"Download do arquivo foi iniciado na aba aberta",status:200}})}))}},bca1:function(t,e,i){"use strict";var s=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var n=s(i("cf2c"));e.default=n.default},bd0c:function(t,e,i){},bd8c:function(t,e,i){"use strict";i("9a42")},be41:function(t,e,i){"use strict";var s=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var n=s(i("ae7a"));e.default=n.default},bf58:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=window,n=s["FARM"]||{};n.APIS=n.APIS||{},e.default={get apiRevendaUrl(){return n.APIS.revenda},get apiConfigUrl(){return n.APIS.config},get apiDashboardUrl(){return n.APIS.dashboard},get apiExcelUrl(){return n.APIS.excel},get apiZipCodeUrl(){return n.APIS.cep},get onboardingApiUrl(){return n.APIS.onboarding},get apiCadastrosUrlV2(){return n.APIS.cadastrosV2},get apiCadastrosUrl(){return n.APIS.cadastros},get apiOperacoesUrl(){return n.APIS.operacoes},get apiCreditoUrl(){return n.APIS.credito},get apiFormalizacaosUrl(){return n.APIS.formalizacao},get apiOperacoesNotasUrl(){return n.APIS.notas},get apiSegurancaUrl(){return n.APIS.seguranca},get apiDesembolsosUrl(){return n.APIS.desembolsos},get apiCreditoSolicitacaoLimiteUrl(){return n.APIS.creditoSolicitacaoLimite},get apiCreditoGestaoLimiteUrl(){return n.APIS.creditoGestaoLimite},get apiBlipKey(){return n.BLIP},get analyticsId(){return n.GA_ID},get cognito(){return{userPoolId:n.COGNITO.USERPOOL_ID,clientId:n.COGNITO.CLIENT_ID}}}},bfb9:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){if(!t)return null;var e=t.split("/"),i=e[0],s=e[1],n=e[2];return"".concat(n,"-").concat(s,"-").concat(i)}},bfba:function(t,e,i){},bfdf:function(t,e,i){},c225:function(t,e,i){"use strict";i("16db")},c26b:function(t,e,i){"use strict";i("112a")},c2c8:function(t,e,i){"use strict";var s=this&&this.__createBinding||(Object.create?function(t,e,i,s){void 0===s&&(s=i);var n=Object.getOwnPropertyDescriptor(e,i);n&&!("get"in n?!e.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return e[i]}}),Object.defineProperty(t,s,n)}:function(t,e,i,s){void 0===s&&(s=i),t[s]=e[i]}),n=this&&this.__exportStar||function(t,e){for(var i in t)"default"===i||Object.prototype.hasOwnProperty.call(e,i)||s(e,t,i)};Object.defineProperty(e,"__esModule",{value:!0}),n(i("3d45"),e),n(i("ebd4"),e),n(i("4b09"),e)},c399:function(t,e,i){"use strict";i("8c11")},c62c:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.sizeOf=void 0;var s=function(t){if(0===t)return"0.00 B";var e=Math.floor(Math.log(t)/Math.log(1024));return"".concat((t/Math.pow(1024,e)).toFixed(2)," ").concat(" KMGTP".charAt(e),"B")};e.sizeOf=s},c6f9:function(t,e,i){"use strict";var s=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.RequestStatusEnum=e.vuetify=void 0;var n=s(i("892b"));e.vuetify=n.default;var r=s(i("acbc"));e.RequestStatusEnum=r.default},c7ca:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.StatusEnum=void 0,function(t){t["START"]="START",t["SUCCESS"]="SUCCESS",t["ERROR"]="ERROR",t["IDLE"]="IDLE"}(e.StatusEnum||(e.StatusEnum={}))},c982:function(t,e,i){},cb03:function(t,e,i){"use strict";i("5726")},cdeb:function(t,e,i){},ce5e:function(t,e,i){"use strict";var s=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var n=s(i("1f2b"));e.default=n.default},cf2c:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){if(!t)return!1;var e=/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;return e.test(t.trim())||!1}},cf36:function(t,e,i){},cfcd:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=i("7776");e.default=function(t){var e,i=(0,s.capitalize)(t);return e={},e["setReset".concat(i)]=function(e){e[t]=[],e["".concat(t,"TotalPages")]=null},e}},d052:function(t,e,i){"use strict";var s=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.routeRole=e.pageable=e.modalable=e.gtag=e.featureToggle=e.exportHandler=void 0;var n=s(i("a0ef"));e.exportHandler=n.default;var r=s(i("5daf"));e.featureToggle=r.default;var a=s(i("9e51"));e.gtag=a.default;var o=s(i("415c"));e.modalable=o.default;var l=s(i("2241"));e.pageable=l.default;var u=s(i("b307"));e.routeRole=u.default},d191:function(t,e,i){},d261:function(t,e,i){"use strict";i("2b2b")},d42f:function(t,e,i){},d4e7:function(t,e,i){"use strict";i("ac29")},d591:function(t,e,i){},d5b1:function(t,e,i){"use strict";i("bfdf")},d951:function(t,e,i){},db42:function(t,e,i){},ddf7:function(t,e,i){"use strict";i("d42f")},df68:function(t,e,i){"use strict";var s=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var n=s(i("b7c2"));e.default=n.default},e067:function(t,e,i){"use strict";var s=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.isValidCPF=e.isValidCNPJ=e.cpfOrCnpj=e.email=e.cpfOrCnpjRules=void 0;var n=s(i("e1b2"));e.cpfOrCnpjRules=n.default;var r=s(i("bca1"));e.email=r.default;var a=s(i("357b"));e.cpfOrCnpj=a.default;var o=s(i("b8e9"));e.isValidCNPJ=o.default;var l=s(i("1757"));e.isValidCPF=l.default},e1b2:function(t,e,i){"use strict";var s=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var n=s(i("1757")),r=s(i("b8e9"));e.default=function(t){return(0,n.default)(t)||(0,r.default)(t)}},e268:function(t,e,i){"use strict";i("58c6")},e4fa:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.approve=e.download=e.historic=e.invite=e.remove=e.edit=e.details=void 0;var s=i("6d92");Object.defineProperty(e,"details",{enumerable:!0,get:function(){return s.details}}),Object.defineProperty(e,"edit",{enumerable:!0,get:function(){return s.edit}}),Object.defineProperty(e,"remove",{enumerable:!0,get:function(){return s.remove}}),Object.defineProperty(e,"invite",{enumerable:!0,get:function(){return s.invite}}),Object.defineProperty(e,"historic",{enumerable:!0,get:function(){return s.historic}}),Object.defineProperty(e,"download",{enumerable:!0,get:function(){return s.download}}),Object.defineProperty(e,"approve",{enumerable:!0,get:function(){return s.approve}})},e53c:function(t,e,i){},e6d7:function(t,e,i){"use strict";i("19b1")},e6f2:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){var i=new CustomEvent(t,{detail:{message:e}});return window.dispatchEvent(i),i}},e951:function(t,e,i){"use strict";i("a464")},e9b1:function(t,e,i){},eb52:function(t,e,i){"use strict";i("2d3c")},ebd4:function(t,e,i){"use strict";var s=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.decimals=void 0;var n=s(i("be41"));e.decimals=n.default},ee34:function(t,e,i){},ee6f:function(t,e,i){},f066:function(t,e,i){"use strict";i("4088")},f104:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){return t("set".concat(e),[]),t("set".concat(e,"TotalPages"),null),t("set".concat(e,"RequestStatus"),"IDLE"),!0}},f1b2:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,i){if(!t||!t.response||!t.date)return!1;var s=Math.round((e.getTime()-t.date.getTime())/1e3);return s<i}},f1f7:function(t,e,i){"use strict";var s=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var n=s(i("3707"));e.default=n.default},f293:function(t,e,i){"use strict";var s=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var n=s(i("41e3"));e.default=function(t,e){Object.keys(e).forEach((function(i){var s=e[i];s.extendOptions&&s.extendOptions.name&&t.component(s.extendOptions.name,s),n.default.includes(i.toLowerCase())||t.component(i,s)}))}},f33a:function(t,e,i){},f38c:function(t,e,i){"use strict";i("b2bd")},f445:function(t,e,i){"use strict";var s=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var n=s(i("9b06"));e.default=n.default},f4dc:function(t,e,i){"use strict";i("12f0")},f599:function(t,e,i){"use strict";var s=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var n=s(i("b7c2"));e.default=function(t,e,i,s){if(void 0===s&&(s=["","_fim"]),!t||t.length<1)return delete i.filters[e+s[0]],void delete i.filters[e+s[1]];if(i.filters[e+s[0]]=t[0],t.length>1&&(i.filters[e+s[1]]=t[1]),t.length>1&&t[1]!==t[0]){i.filters[e+s[1]]=t[1];var r=new Date(t[0])>new Date(t[1]);if(r){var a=i.filters[e+s[1]];i.filters[e+s[1]]=i.filters[e+s[0]],i.filters[e+s[0]]=a}i[e+"Range"]=(0,n.default)(i.filters[e+s[0]])+" a "+(0,n.default)(i.filters[e+s[1]])}else i[e+"Range"]=(0,n.default)(i.filters[e]);return i[e+"Range"]}},f823:function(t,e,i){},f9f5:function(t,e,i){},fae3:function(t,e,i){"use strict";i.r(e),i.d(e,"DataTableEmptyWrapper",(function(){return Ee})),i.d(e,"DataTablePaginator",(function(){return _n})),i.d(e,"DataTableHeader",(function(){return On})),i.d(e,"MainFilter",(function(){return Tn})),i.d(e,"Loader",(function(){return zn})),i.d(e,"FilePicker",(function(){return er})),i.d(e,"MultipleFilePicker",(function(){return ur})),i.d(e,"Tabs",(function(){return qr})),i.d(e,"DialogHeader",(function(){return Jr})),i.d(e,"DialogFooter",(function(){return ra})),i.d(e,"DefaultTextField",(function(){return Ta})),i.d(e,"RangeDatePicker",(function(){return _o})),i.d(e,"DatePicker",(function(){return Oo})),i.d(e,"ManagersList",(function(){return To})),i.d(e,"PromptUserToConfirm",(function(){return il})),i.d(e,"TableContextMenu",(function(){return Cl})),i.d(e,"ModalPromptUser",(function(){return ml})),i.d(e,"DefaultButton",(function(){return Gn})),i.d(e,"IconBox",(function(){return Il})),i.d(e,"CardContext",(function(){return El})),i.d(e,"Collapsible",(function(){return Hl})),i.d(e,"IdCaption",(function(){return Gl})),i.d(e,"AlertReload",(function(){return iu})),i.d(e,"DangerButton",(function(){return lu})),i.d(e,"ConfirmButton",(function(){return fu})),i.d(e,"ExportButton",(function(){return _u})),i.d(e,"ImportButton",(function(){return ku})),i.d(e,"ToggleButton",(function(){return Au})),i.d(e,"RemoveButton",(function(){return Vu})),i.d(e,"MultiImportButton",(function(){return Wu})),i.d(e,"Card",(function(){return Gu})),i.d(e,"CardContent",(function(){return ic})),i.d(e,"Checkbox",(function(){return lc})),i.d(e,"Chip",(function(){return fc})),i.d(e,"ProductLogo",(function(){return _c})),i.d(e,"OriginatorLogo",(function(){return kc})),i.d(e,"ResetTableRowSelection",(function(){return Ac})),i.d(e,"MultipleSelectShortener",(function(){return Vc})),i.d(e,"SelectModalOptions",(function(){return lh})),i.d(e,"ChipInviteStatus",(function(){return gh})),i.d(e,"Label",(function(){return pa})),i.d(e,"Logger",(function(){return Ih})),i.d(e,"LoggerItem",(function(){return $h})),i.d(e,"Icon",(function(){return fn})),i.d(e,"CopyToClipboard",(function(){return Bh})),i.d(e,"ProgressBar",(function(){return zh})),i.d(e,"StepperHeader",(function(){return Yh})),i.d(e,"Switcher",(function(){return Qh})),i.d(e,"TextField",(function(){return _a})),i.d(e,"Tooltip",(function(){return rd})),i.d(e,"Typography",(function(){return pd})),i.d(e,"Heading",(function(){return _d})),i.d(e,"Subtitle",(function(){return Od})),i.d(e,"BodyText",(function(){return Td})),i.d(e,"Caption",(function(){return zd})),i.d(e,"OverlayText",(function(){return Yd})),i.d(e,"Container",(function(){return Qd})),i.d(e,"ContainerFooter",(function(){return rp})),i.d(e,"Line",(function(){return hp}));var s={};if(i.r(s),i.d(s,"linear",(function(){return et})),i.d(s,"easeInQuad",(function(){return it})),i.d(s,"easeOutQuad",(function(){return st})),i.d(s,"easeInOutQuad",(function(){return nt})),i.d(s,"easeInCubic",(function(){return rt})),i.d(s,"easeOutCubic",(function(){return at})),i.d(s,"easeInOutCubic",(function(){return ot})),i.d(s,"easeInQuart",(function(){return lt})),i.d(s,"easeOutQuart",(function(){return ut})),i.d(s,"easeInOutQuart",(function(){return ct})),i.d(s,"easeInQuint",(function(){return ht})),i.d(s,"easeOutQuint",(function(){return dt})),i.d(s,"easeInOutQuint",(function(){return pt})),"undefined"!==typeof window){var n=window.document.currentScript,r=n&&n.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);r&&(i.p=r[1])}var a=function(){var t=this,e=t._self._c;return e("div",{attrs:{align:"center"}},[e("v-icon",[t._v("mdi-magnify")]),e("p",[t._v(t._s(t.title))]),e("p",[t._v(t._s(t.subtitle))])],1)},o=[],l=(i("4804"),i("8bbf")),u=i.n(l);function c(t){return function(e,i){for(const s in i)Object.prototype.hasOwnProperty.call(e,s)||this.$delete(this.$data[t],s);for(const s in e)this.$set(this.$data[t],s,e[s])}}var h=u.a.extend({data:()=>({attrs$:{},listeners$:{}}),created(){this.$watch("$attrs",c("attrs$"),{immediate:!0}),this.$watch("$listeners",c("listeners$"),{immediate:!0})}});function d(t,e={}){if(d.installed)return;d.installed=!0,u.a!==t&&de("Multiple instances of Vue detected\nSee https://github.com/vuetifyjs/vuetify/issues/4068\n\nIf you're seeing \"$attrs is readonly\", it's caused by this");const i=e.components||{},s=e.directives||{};for(const n in s){const e=s[n];t.directive(n,e)}(function e(i){if(i){for(const s in i){const n=i[s];n&&!e(n.$_vuetify_subcomponents)&&t.component(s,n)}return!0}return!1})(i),t.$_vuetify_installed||(t.$_vuetify_installed=!0,t.mixin({beforeCreate(){const e=this.$options;e.vuetify?(e.vuetify.init(this,this.$ssrContext),this.$vuetify=t.observable(e.vuetify.framework)):this.$vuetify=e.parent&&e.parent.$vuetify||this},beforeMount(){this.$options.vuetify&&this.$el&&this.$el.hasAttribute("data-server-rendered")&&(this.$vuetify.isHydrating=!0,this.$vuetify.breakpoint.update(!0))},mounted(){this.$options.vuetify&&this.$vuetify.isHydrating&&(this.$vuetify.isHydrating=!1,this.$vuetify.breakpoint.update())}}))}i("95ed");var p={badge:"Badge",close:"Close",dataIterator:{noResultsText:"No matching records found",loadingText:"Loading items..."},dataTable:{itemsPerPageText:"Rows per page:",ariaLabel:{sortDescending:"Sorted descending.",sortAscending:"Sorted ascending.",sortNone:"Not sorted.",activateNone:"Activate to remove sorting.",activateDescending:"Activate to sort descending.",activateAscending:"Activate to sort ascending."},sortBy:"Sort by"},dataFooter:{itemsPerPageText:"Items per page:",itemsPerPageAll:"All",nextPage:"Next page",prevPage:"Previous page",firstPage:"First page",lastPage:"Last page",pageText:"{0}-{1} of {2}"},datePicker:{itemsSelected:"{0} selected",nextMonthAriaLabel:"Next month",nextYearAriaLabel:"Next year",prevMonthAriaLabel:"Previous month",prevYearAriaLabel:"Previous year"},noDataText:"No data available",carousel:{prev:"Previous visual",next:"Next visual",ariaLabel:{delimiter:"Carousel slide {0} of {1}"}},calendar:{moreEvents:"{0} more"},fileInput:{counter:"{0} files",counterSize:"{0} files ({1} in total)"},timePicker:{am:"AM",pm:"PM"},pagination:{ariaLabel:{wrapper:"Pagination Navigation",next:"Next page",previous:"Previous page",page:"Goto Page {0}",currentPage:"Current Page, Page {0}"}},rating:{ariaLabel:{icon:"Rating {0} of {1}"}}};const f={breakpoint:{mobileBreakpoint:1264,scrollBarWidth:16,thresholds:{xs:600,sm:960,md:1280,lg:1920}},icons:{iconfont:"mdi",values:{}},lang:{current:"en",locales:{en:p},t:void 0},rtl:!1,theme:{dark:!1,default:"light",disable:!1,options:{cspNonce:void 0,customProperties:void 0,minifyTheme:void 0,themeCache:void 0,variations:!0},themes:{light:{primary:"#1976D2",secondary:"#424242",accent:"#82B1FF",error:"#FF5252",info:"#2196F3",success:"#4CAF50",warning:"#FB8C00"},dark:{primary:"#2196F3",secondary:"#424242",accent:"#FF4081",error:"#FF5252",info:"#2196F3",success:"#4CAF50",warning:"#FB8C00"}}}};function m(t,e="div",i){return u.a.extend({name:i||t.replace(/__/g,"-"),functional:!0,props:{tag:{type:String,default:e}},render(e,{data:i,props:s,children:n}){return i.staticClass=`${t} ${i.staticClass||""}`.trim(),e(s.tag,i,n)}})}function g(t,e,i,s=!1){const n=r=>{i(r),t.removeEventListener(e,n,s)};t.addEventListener(e,n,s)}let v=!1;try{if("undefined"!==typeof window){const t=Object.defineProperty({},"passive",{get:()=>{v=!0}});window.addEventListener("testListener",t,t),window.removeEventListener("testListener",t,t)}}catch(dp){console.warn(dp)}function b(t,e,i,s){t.addEventListener(e,i,!!v&&s)}function y(t,e,i){const s=e.length-1;if(s<0)return void 0===t?i:t;for(let n=0;n<s;n++){if(null==t)return i;t=t[e[n]]}return null==t||void 0===t[e[s]]?i:t[e[s]]}function _(t,e){if(t===e)return!0;if(t instanceof Date&&e instanceof Date&&t.getTime()!==e.getTime())return!1;if(t!==Object(t)||e!==Object(e))return!1;const i=Object.keys(t);return i.length===Object.keys(e).length&&i.every(i=>_(t[i],e[i]))}function x(t,e,i){return null!=t&&e&&"string"===typeof e?void 0!==t[e]?t[e]:(e=e.replace(/\[(\w+)\]/g,".$1"),e=e.replace(/^\./,""),y(t,e.split("."),i)):i}function C(t,e,i){if(null==e)return void 0===t?i:t;if(t!==Object(t))return void 0===i?t:i;if("string"===typeof e)return x(t,e,i);if(Array.isArray(e))return y(t,e,i);if("function"!==typeof e)return i;const s=e(t,i);return"undefined"===typeof s?i:s}function S(t){return Array.from({length:t},(t,e)=>e)}function $(t){if(!t||t.nodeType!==Node.ELEMENT_NODE)return 0;const e=+window.getComputedStyle(t).getPropertyValue("z-index");return e||$(t.parentNode)}const w={"&":"&","<":"<",">":">"};function k(t){return t.replace(/[&<>]/g,t=>w[t]||t)}function O(t,e){const i={};for(let s=0;s<e.length;s++){const n=e[s];"undefined"!==typeof t[n]&&(i[n]=t[n])}return i}function P(t,e="px"){return null==t||""===t?void 0:isNaN(+t)?String(t):`${Number(t)}${e}`}function I(t){return(t||"").replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function L(t){return null!==t&&"object"===typeof t}const D=Object.freeze({enter:13,tab:9,delete:46,esc:27,space:32,up:38,down:40,left:37,right:39,end:35,home:36,del:46,backspace:8,insert:45,pageup:33,pagedown:34,shift:16});function A(t,e){const i=t.$vuetify.icons.component;if(e.startsWith("$")){const i="$vuetify.icons.values."+e.split("$").pop().split(".").pop(),s=x(t,i,e);if("string"!==typeof s)return s;e=s}return null==i?e:{component:i,props:{icon:e}}}function M(t){return Object.keys(t)}const T=/-(\w)/g,B=t=>t.replace(T,(t,e)=>e?e.toUpperCase():"");function E(t){return t.charAt(0).toUpperCase()+t.slice(1)}function F(t,e,i){const s=e[0],n=[];let r;for(let a=0;a<t.length;a++){const e=t[a],i=x(e,s,null);r!==i&&(r=i,n.push({name:null!==i&&void 0!==i?i:"",items:[]})),n[n.length-1].items.push(e)}return n}function V(t){return null!=t?Array.isArray(t)?t:[t]:[]}function j(t,e,i,s,n){if(null===e||!e.length)return t;const r=new Intl.Collator(s,{sensitivity:"accent",usage:"sort"});return t.sort((t,s)=>{for(let a=0;a<e.length;a++){const o=e[a];let l=x(t,o),u=x(s,o);if(i[a]&&([l,u]=[u,l]),n&&n[o]){const t=n[o](l,u);if(!t)continue;return t}if(null!==l||null!==u){if(l instanceof Date&&u instanceof Date)return l.getTime()-u.getTime();if([l,u]=[l,u].map(t=>(t||"").toString().toLocaleLowerCase()),l!==u)return isNaN(l)||isNaN(u)?r.compare(l,u):Number(l)-Number(u)}}return 0})}function R(t,e,i){return null!=t&&null!=e&&"boolean"!==typeof t&&-1!==t.toString().toLocaleLowerCase().indexOf(e.toLocaleLowerCase())}function z(t,e){return e?(e=e.toString().toLowerCase(),""===e.trim()?t:t.filter(t=>Object.keys(t).some(i=>R(x(t,i),e,t)))):t}function N(t,e,i){return t.$slots.hasOwnProperty(e)&&t.$scopedSlots.hasOwnProperty(e)&&t.$scopedSlots[e].name?i?"v-slot":"scoped":t.$slots.hasOwnProperty(e)?"normal":t.$scopedSlots.hasOwnProperty(e)?"scoped":void 0}function H(t,e){let i=!1;return(...s)=>{if(!i)return i=!0,setTimeout(()=>i=!1,e),t(...s)}}function W(t,e){return Object.keys(e).filter(e=>e.startsWith(t)).reduce((i,s)=>(i[s.replace(t,"")]=e[s],i),{})}function q(t,e="default",i,s=!1){return t.$scopedSlots.hasOwnProperty(e)?t.$scopedSlots[e](i instanceof Function?i():i):!t.$slots.hasOwnProperty(e)||i&&!s?void 0:t.$slots[e]}function U(t,e=0,i=1){return Math.max(e,Math.min(i,t))}function Y(t){return t?Object.keys(t).reduce((e,i)=>(e[B(i)]=t[i],e),{}):{}}function Z(t={},e={}){for(const i in e){const s=t[i],n=e[i];L(s)&&L(n)?t[i]=Z(s,n):t[i]=n}return t}function K(t,e){return Array(t).fill(e)}function G(t){if(t.composedPath)return t.composedPath();const e=[];let i=t.target;while(i){if(e.push(i),"HTML"===i.tagName)return e.push(document),e.push(window),e;i=i.parentElement}return e}class X{constructor(){this.framework={}}init(t,e){}}class J extends X{constructor(t,e){super();const i=Z({},f),{userPreset:s}=e,{preset:n={},...r}=s;null!=n.preset&&he("Global presets do not support the **preset** option, it can be safely omitted"),e.preset=Z(Z(i,n),r)}}J.property="presets";class Q extends X{constructor(){super(...arguments),this.bar=0,this.top=0,this.left=0,this.insetFooter=0,this.right=0,this.bottom=0,this.footer=0,this.application={bar:{},top:{},left:{},insetFooter:{},right:{},bottom:{},footer:{}}}register(t,e,i){this.application[e][t]=i,this.update(e)}unregister(t,e){null!=this.application[e][t]&&(delete this.application[e][t],this.update(e))}update(t){this[t]=Object.values(this.application[t]).reduce((t,e)=>t+e,0)}}Q.property="application";class tt extends X{constructor(t){super(),this.xs=!1,this.sm=!1,this.md=!1,this.lg=!1,this.xl=!1,this.xsOnly=!1,this.smOnly=!1,this.smAndDown=!1,this.smAndUp=!1,this.mdOnly=!1,this.mdAndDown=!1,this.mdAndUp=!1,this.lgOnly=!1,this.lgAndDown=!1,this.lgAndUp=!1,this.xlOnly=!1,this.name="xs",this.height=0,this.width=0,this.mobile=!0,this.resizeTimeout=0;const{mobileBreakpoint:e,scrollBarWidth:i,thresholds:s}=t[tt.property];this.mobileBreakpoint=e,this.scrollBarWidth=i,this.thresholds=s}init(){this.update(),"undefined"!==typeof window&&window.addEventListener("resize",this.onResize.bind(this),{passive:!0})}update(t=!1){const e=t?0:this.getClientHeight(),i=t?0:this.getClientWidth(),s=i<this.thresholds.xs,n=i<this.thresholds.sm&&!s,r=i<this.thresholds.md-this.scrollBarWidth&&!(n||s),a=i<this.thresholds.lg-this.scrollBarWidth&&!(r||n||s),o=i>=this.thresholds.lg-this.scrollBarWidth;switch(this.height=e,this.width=i,this.xs=s,this.sm=n,this.md=r,this.lg=a,this.xl=o,this.xsOnly=s,this.smOnly=n,this.smAndDown=(s||n)&&!(r||a||o),this.smAndUp=!s&&(n||r||a||o),this.mdOnly=r,this.mdAndDown=(s||n||r)&&!(a||o),this.mdAndUp=!(s||n)&&(r||a||o),this.lgOnly=a,this.lgAndDown=(s||n||r||a)&&!o,this.lgAndUp=!(s||n||r)&&(a||o),this.xlOnly=o,!0){case s:this.name="xs";break;case n:this.name="sm";break;case r:this.name="md";break;case a:this.name="lg";break;default:this.name="xl";break}if("number"===typeof this.mobileBreakpoint)return void(this.mobile=i<parseInt(this.mobileBreakpoint,10));const l={xs:0,sm:1,md:2,lg:3,xl:4},u=l[this.name],c=l[this.mobileBreakpoint];this.mobile=u<=c}onResize(){clearTimeout(this.resizeTimeout),this.resizeTimeout=window.setTimeout(this.update.bind(this),200)}getClientWidth(){return"undefined"===typeof document?0:Math.max(document.documentElement.clientWidth,window.innerWidth||0)}getClientHeight(){return"undefined"===typeof document?0:Math.max(document.documentElement.clientHeight,window.innerHeight||0)}}tt.property="breakpoint";const et=t=>t,it=t=>t**2,st=t=>t*(2-t),nt=t=>t<.5?2*t**2:(4-2*t)*t-1,rt=t=>t**3,at=t=>--t**3+1,ot=t=>t<.5?4*t**3:(t-1)*(2*t-2)*(2*t-2)+1,lt=t=>t**4,ut=t=>1- --t**4,ct=t=>t<.5?8*t*t*t*t:1-8*--t*t*t*t,ht=t=>t**5,dt=t=>1+--t**5,pt=t=>t<.5?16*t**5:1+16*--t**5;function ft(t){if("number"===typeof t)return t;let e=vt(t);if(!e)throw"string"===typeof t?new Error(`Target element "${t}" not found.`):new TypeError(`Target must be a Number/Selector/HTMLElement/VueComponent, received ${gt(t)} instead.`);let i=0;while(e)i+=e.offsetTop,e=e.offsetParent;return i}function mt(t){const e=vt(t);if(e)return e;throw"string"===typeof t?new Error(`Container element "${t}" not found.`):new TypeError(`Container must be a Selector/HTMLElement/VueComponent, received ${gt(t)} instead.`)}function gt(t){return null==t?t:t.constructor.name}function vt(t){return"string"===typeof t?document.querySelector(t):t&&t._isVue?t.$el:t instanceof HTMLElement?t:null}function bt(t,e={}){const i={container:document.scrollingElement||document.body||document.documentElement,duration:500,offset:0,easing:"easeInOutCubic",appOffset:!0,...e},n=mt(i.container);if(i.appOffset&&bt.framework.application){const t=n.classList.contains("v-navigation-drawer"),e=n.classList.contains("v-navigation-drawer--clipped"),{bar:s,top:r}=bt.framework.application;i.offset+=s,t&&!e||(i.offset+=r)}const r=performance.now();let a;a="number"===typeof t?ft(t)-i.offset:ft(t)-ft(n)-i.offset;const o=n.scrollTop;if(a===o)return Promise.resolve(a);const l="function"===typeof i.easing?i.easing:s[i.easing];if(!l)throw new TypeError(`Easing function "${i.easing}" not found.`);return new Promise(t=>requestAnimationFrame((function e(s){const u=s-r,c=Math.abs(i.duration?Math.min(u/i.duration,1):1);n.scrollTop=Math.floor(o+(a-o)*l(c));const h=n===document.body?document.documentElement.clientHeight:n.clientHeight,d=h+n.scrollTop>=n.scrollHeight;if(1===c||a>n.scrollTop&&d)return t(a);requestAnimationFrame(e)})))}bt.framework={},bt.init=()=>{};class yt extends X{constructor(){return super(),bt}}yt.property="goTo";const _t={complete:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z",cancel:"M12,2C17.53,2 22,6.47 22,12C22,17.53 17.53,22 12,22C6.47,22 2,17.53 2,12C2,6.47 6.47,2 12,2M15.59,7L12,10.59L8.41,7L7,8.41L10.59,12L7,15.59L8.41,17L12,13.41L15.59,17L17,15.59L13.41,12L17,8.41L15.59,7Z",close:"M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z",delete:"M12,2C17.53,2 22,6.47 22,12C22,17.53 17.53,22 12,22C6.47,22 2,17.53 2,12C2,6.47 6.47,2 12,2M15.59,7L12,10.59L8.41,7L7,8.41L10.59,12L7,15.59L8.41,17L12,13.41L15.59,17L17,15.59L13.41,12L17,8.41L15.59,7Z",clear:"M12,2C17.53,2 22,6.47 22,12C22,17.53 17.53,22 12,22C6.47,22 2,17.53 2,12C2,6.47 6.47,2 12,2M15.59,7L12,10.59L8.41,7L7,8.41L10.59,12L7,15.59L8.41,17L12,13.41L15.59,17L17,15.59L13.41,12L17,8.41L15.59,7Z",success:"M12 2C6.5 2 2 6.5 2 12S6.5 22 12 22 22 17.5 22 12 17.5 2 12 2M10 17L5 12L6.41 10.59L10 14.17L17.59 6.58L19 8L10 17Z",info:"M13,9H11V7H13M13,17H11V11H13M12,2C6.48,2 2,6.48 2,12C2,17.52 6.48,22 12,22C17.52,22 22,17.52 22,12C22,6.48 17.52,2 12,2ZM13,9H11V7H13M13,17H11V11H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z",warning:"M13,13H11V7H13M13,17H11V15H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z",error:"M12,2C17.53,2 22,6.47 22,12C22,17.53 17.53,22 12,22C6.47,22 2,17.53 2,12C2,6.47 6.47,2 12,2M15.59,7L12,10.59L8.41,7L7,8.41L10.59,12L7,15.59L8.41,17L12,13.41L15.59,17L17,15.59L13.41,12L17,8.41L15.59,7Z",prev:"M15.41,16.58L10.83,12L15.41,7.41L14,6L8,12L14,18L15.41,16.58Z",next:"M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z",checkboxOn:"M10,17L5,12L6.41,10.58L10,14.17L17.59,6.58L19,8M19,3H5C3.89,3 3,3.89 3,5V19C3,20.1 3.9,21 5,21H19C20.1,21 21,20.1 21,19V5C21,3.89 20.1,3 19,3Z",checkboxOff:"M19,3H5C3.89,3 3,3.89 3,5V19C3,20.1 3.9,21 5,21H19C20.1,21 21,20.1 21,19V5C21,3.89 20.1,3 19,3M19,5V19H5V5H19Z",checkboxIndeterminate:"M17,13H7V11H17M19,3H5C3.89,3 3,3.89 3,5V19C3,20.1 3.9,21 5,21H19C20.1,21 21,20.1 21,19V5C21,3.89 20.1,3 19,3Z",delimiter:"M12,2C6.48,2 2,6.48 2,12C2,17.52 6.48,22 12,22C17.52,22 22,17.52 22,12C22,6.48 17.52,2 12,2Z",sort:"M13,20H11V8L5.5,13.5L4.08,12.08L12,4.16L19.92,12.08L18.5,13.5L13,8V20Z",expand:"M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z",menu:"M3,6H21V8H3V6M3,11H21V13H3V11M3,16H21V18H3V16Z",subgroup:"M7,10L12,15L17,10H7Z",dropdown:"M7,10L12,15L17,10H7Z",radioOn:"M12,20C7.58,20 4,16.42 4,12C4,7.58 7.58,4 12,4C16.42,4 20,7.58 20,12C20,16.42 16.42,20 12,20M12,2C6.48,2 2,6.48 2,12C2,17.52 6.48,22 12,22C17.52,22 22,17.52 22,12C22,6.48 17.52,2 12,2M12,7C9.24,7 7,9.24 7,12C7,14.76 9.24,17 12,17C14.76,17 17,14.76 17,12C17,9.24 14.76,7 12,7Z",radioOff:"M12,20C7.58,20 4,16.42 4,12C4,7.58 7.58,4 12,4C16.42,4 20,7.58 20,12C20,16.42 16.42,20 12,20M12,2C6.48,2 2,6.48 2,12C2,17.52 6.48,22 12,22C17.52,22 22,17.52 22,12C22,6.48 17.52,2 12,2Z",edit:"M20.71,7.04C21.1,6.65 21.1,6 20.71,5.63L18.37,3.29C18,2.9 17.35,2.9 16.96,3.29L15.12,5.12L18.87,8.87M3,17.25V21H6.75L17.81,9.93L14.06,6.18L3,17.25Z",ratingEmpty:"M12,15.39L8.24,17.66L9.23,13.38L5.91,10.5L10.29,10.13L12,6.09L13.71,10.13L18.09,10.5L14.77,13.38L15.76,17.66M22,9.24L14.81,8.63L12,2L9.19,8.63L2,9.24L7.45,13.97L5.82,21L12,17.27L18.18,21L16.54,13.97L22,9.24Z",ratingFull:"M12,17.27L18.18,21L16.54,13.97L22,9.24L14.81,8.62L12,2L9.19,8.62L2,9.24L7.45,13.97L5.82,21L12,17.27Z",ratingHalf:"M12,15.4V6.1L13.71,10.13L18.09,10.5L14.77,13.39L15.76,17.67M22,9.24L14.81,8.63L12,2L9.19,8.63L2,9.24L7.45,13.97L5.82,21L12,17.27L18.18,21L16.54,13.97L22,9.24Z",loading:"M19,8L15,12H18C18,15.31 15.31,18 12,18C11,18 10.03,17.75 9.2,17.3L7.74,18.76C8.97,19.54 10.43,20 12,20C16.42,20 20,16.42 20,12H23M6,12C6,8.69 8.69,6 12,6C13,6 13.97,6.25 14.8,6.7L16.26,5.24C15.03,4.46 13.57,4 12,4C7.58,4 4,7.58 4,12H1L5,16L9,12",first:"M18.41,16.59L13.82,12L18.41,7.41L17,6L11,12L17,18L18.41,16.59M6,6H8V18H6V6Z",last:"M5.59,7.41L10.18,12L5.59,16.59L7,18L13,12L7,6L5.59,7.41M16,6H18V18H16V6Z",unfold:"M12,18.17L8.83,15L7.42,16.41L12,21L16.59,16.41L15.17,15M12,5.83L15.17,9L16.58,7.59L12,3L7.41,7.59L8.83,9L12,5.83Z",file:"M16.5,6V17.5C16.5,19.71 14.71,21.5 12.5,21.5C10.29,21.5 8.5,19.71 8.5,17.5V5C8.5,3.62 9.62,2.5 11,2.5C12.38,2.5 13.5,3.62 13.5,5V15.5C13.5,16.05 13.05,16.5 12.5,16.5C11.95,16.5 11.5,16.05 11.5,15.5V6H10V15.5C10,16.88 11.12,18 12.5,18C13.88,18 15,16.88 15,15.5V5C15,2.79 13.21,1 11,1C8.79,1 7,2.79 7,5V17.5C7,20.54 9.46,23 12.5,23C15.54,23 18,20.54 18,17.5V6H16.5Z",plus:"M19,13H13V19H11V13H5V11H11V5H13V11H19V13Z",minus:"M19,13H5V11H19V13Z"};var xt=_t;const Ct={complete:"check",cancel:"cancel",close:"close",delete:"cancel",clear:"clear",success:"check_circle",info:"info",warning:"priority_high",error:"warning",prev:"chevron_left",next:"chevron_right",checkboxOn:"check_box",checkboxOff:"check_box_outline_blank",checkboxIndeterminate:"indeterminate_check_box",delimiter:"fiber_manual_record",sort:"arrow_upward",expand:"keyboard_arrow_down",menu:"menu",subgroup:"arrow_drop_down",dropdown:"arrow_drop_down",radioOn:"radio_button_checked",radioOff:"radio_button_unchecked",edit:"edit",ratingEmpty:"star_border",ratingFull:"star",ratingHalf:"star_half",loading:"cached",first:"first_page",last:"last_page",unfold:"unfold_more",file:"attach_file",plus:"add",minus:"remove"};var St=Ct;const $t={complete:"mdi-check",cancel:"mdi-close-circle",close:"mdi-close",delete:"mdi-close-circle",clear:"mdi-close",success:"mdi-check-circle",info:"mdi-information",warning:"mdi-exclamation",error:"mdi-alert",prev:"mdi-chevron-left",next:"mdi-chevron-right",checkboxOn:"mdi-checkbox-marked",checkboxOff:"mdi-checkbox-blank-outline",checkboxIndeterminate:"mdi-minus-box",delimiter:"mdi-circle",sort:"mdi-arrow-up",expand:"mdi-chevron-down",menu:"mdi-menu",subgroup:"mdi-menu-down",dropdown:"mdi-menu-down",radioOn:"mdi-radiobox-marked",radioOff:"mdi-radiobox-blank",edit:"mdi-pencil",ratingEmpty:"mdi-star-outline",ratingFull:"mdi-star",ratingHalf:"mdi-star-half-full",loading:"mdi-cached",first:"mdi-page-first",last:"mdi-page-last",unfold:"mdi-unfold-more-horizontal",file:"mdi-paperclip",plus:"mdi-plus",minus:"mdi-minus"};var wt=$t;const kt={complete:"fas fa-check",cancel:"fas fa-times-circle",close:"fas fa-times",delete:"fas fa-times-circle",clear:"fas fa-times-circle",success:"fas fa-check-circle",info:"fas fa-info-circle",warning:"fas fa-exclamation",error:"fas fa-exclamation-triangle",prev:"fas fa-chevron-left",next:"fas fa-chevron-right",checkboxOn:"fas fa-check-square",checkboxOff:"far fa-square",checkboxIndeterminate:"fas fa-minus-square",delimiter:"fas fa-circle",sort:"fas fa-sort-up",expand:"fas fa-chevron-down",menu:"fas fa-bars",subgroup:"fas fa-caret-down",dropdown:"fas fa-caret-down",radioOn:"far fa-dot-circle",radioOff:"far fa-circle",edit:"fas fa-edit",ratingEmpty:"far fa-star",ratingFull:"fas fa-star",ratingHalf:"fas fa-star-half",loading:"fas fa-sync",first:"fas fa-step-backward",last:"fas fa-step-forward",unfold:"fas fa-arrows-alt-v",file:"fas fa-paperclip",plus:"fas fa-plus",minus:"fas fa-minus"};var Ot=kt;const Pt={complete:"fa fa-check",cancel:"fa fa-times-circle",close:"fa fa-times",delete:"fa fa-times-circle",clear:"fa fa-times-circle",success:"fa fa-check-circle",info:"fa fa-info-circle",warning:"fa fa-exclamation",error:"fa fa-exclamation-triangle",prev:"fa fa-chevron-left",next:"fa fa-chevron-right",checkboxOn:"fa fa-check-square",checkboxOff:"fa fa-square-o",checkboxIndeterminate:"fa fa-minus-square",delimiter:"fa fa-circle",sort:"fa fa-sort-up",expand:"fa fa-chevron-down",menu:"fa fa-bars",subgroup:"fa fa-caret-down",dropdown:"fa fa-caret-down",radioOn:"fa fa-dot-circle-o",radioOff:"fa fa-circle-o",edit:"fa fa-pencil",ratingEmpty:"fa fa-star-o",ratingFull:"fa fa-star",ratingHalf:"fa fa-star-half-o",loading:"fa fa-refresh",first:"fa fa-step-backward",last:"fa fa-step-forward",unfold:"fa fa-angle-double-down",file:"fa fa-paperclip",plus:"fa fa-plus",minus:"fa fa-minus"};var It=Pt;function Lt(t,e){const i={};for(const s in e)i[s]={component:t,props:{icon:e[s].split(" fa-")}};return i}var Dt=Lt("font-awesome-icon",Ot),At=Object.freeze({mdiSvg:xt,md:St,mdi:wt,fa:Ot,fa4:It,faSvg:Dt});class Mt extends X{constructor(t){super();const{iconfont:e,values:i,component:s}=t[Mt.property];this.component=s,this.iconfont=e,this.values=Z(At[e],i)}}Mt.property="icons";const Tt="$vuetify.",Bt=Symbol("Lang fallback");function Et(t,e,i=!1,s){const n=e.replace(Tt,"");let r=x(t,n,Bt);return r===Bt&&(i?(de(`Translation key "${n}" not found in fallback`),r=e):(he(`Translation key "${n}" not found, falling back to default`),r=Et(s,e,!0,s))),r}class Ft extends X{constructor(t){super(),this.defaultLocale="en";const{current:e,locales:i,t:s}=t[Ft.property];this.current=e,this.locales=i,this.translator=s||this.defaultTranslator}currentLocale(t){const e=this.locales[this.current],i=this.locales[this.defaultLocale];return Et(e,t,!1,i)}t(t,...e){return t.startsWith(Tt)?this.translator(t,...e):this.replace(t,e)}defaultTranslator(t,...e){return this.replace(this.currentLocale(t),e)}replace(t,e){return t.replace(/\{(\d+)\}/g,(t,i)=>String(e[+i]))}}Ft.property="lang";const Vt=[[3.2406,-1.5372,-.4986],[-.9689,1.8758,.0415],[.0557,-.204,1.057]],jt=t=>t<=.0031308?12.92*t:1.055*t**(1/2.4)-.055,Rt=[[.4124,.3576,.1805],[.2126,.7152,.0722],[.0193,.1192,.9505]],zt=t=>t<=.04045?t/12.92:((t+.055)/1.055)**2.4;function Nt(t){const e=Array(3),i=jt,s=Vt;for(let n=0;n<3;++n)e[n]=Math.round(255*U(i(s[n][0]*t[0]+s[n][1]*t[1]+s[n][2]*t[2])));return(e[0]<<16)+(e[1]<<8)+(e[2]<<0)}function Ht(t){const e=[0,0,0],i=zt,s=Rt,n=i((t>>16&255)/255),r=i((t>>8&255)/255),a=i((t>>0&255)/255);for(let o=0;o<3;++o)e[o]=s[o][0]*n+s[o][1]*r+s[o][2]*a;return e}function Wt(t){return!!t&&!!t.match(/^(#|var\(--|(rgb|hsl)a?\()/)}function qt(t){let e;if("number"===typeof t)e=t;else{if("string"!==typeof t)throw new TypeError(`Colors can only be numbers or strings, recieved ${null==t?t:t.constructor.name} instead`);{let i="#"===t[0]?t.substring(1):t;3===i.length&&(i=i.split("").map(t=>t+t).join("")),6!==i.length&&he(`'${t}' is not a valid rgb color`),e=parseInt(i,16)}}return e<0?(he(`Colors cannot be negative: '${t}'`),e=0):(e>16777215||isNaN(e))&&(he(`'${t}' is not a valid rgb color`),e=16777215),e}function Ut(t){let e=t.toString(16);return e.length<6&&(e="0".repeat(6-e.length)+e),"#"+e}function Yt(t){return Ut(qt(t))}const Zt=.20689655172413793,Kt=t=>t>Zt**3?Math.cbrt(t):t/(3*Zt**2)+4/29,Gt=t=>t>Zt?t**3:3*Zt**2*(t-4/29);function Xt(t){const e=Kt,i=e(t[1]);return[116*i-16,500*(e(t[0]/.95047)-i),200*(i-e(t[2]/1.08883))]}function Jt(t){const e=Gt,i=(t[0]+16)/116;return[.95047*e(i+t[1]/500),e(i),1.08883*e(i-t[2]/200)]}function Qt(t,e=!1,i=!0){const{anchor:s,...n}=t,r=Object.keys(n),a={};for(let o=0;o<r.length;++o){const s=r[o],n=t[s];null!=n&&(i?e?("base"===s||s.startsWith("lighten")||s.startsWith("darken"))&&(a[s]=Yt(n)):a[s]="object"===typeof n?Qt(n,!0,i):re(s,qt(n)):a[s]={base:Ut(qt(n))})}return e||(a.anchor=s||a.base||a.primary.base),a}const te=(t,e)=>`\n.v-application .${t} {\n background-color: ${e} !important;\n border-color: ${e} !important;\n}\n.v-application .${t}--text {\n color: ${e} !important;\n caret-color: ${e} !important;\n}`,ee=(t,e,i)=>{const[s,n]=e.split(/(\d)/,2);return`\n.v-application .${t}.${s}-${n} {\n background-color: ${i} !important;\n border-color: ${i} !important;\n}\n.v-application .${t}--text.text--${s}-${n} {\n color: ${i} !important;\n caret-color: ${i} !important;\n}`},ie=(t,e="base")=>`--v-${t}-${e}`,se=(t,e="base")=>`var(${ie(t,e)})`;function ne(t,e=!1){const{anchor:i,...s}=t,n=Object.keys(s);if(!n.length)return"";let r="",a="";const o=e?se("anchor"):i;a+=`.v-application a { color: ${o}; }`,e&&(r+=` ${ie("anchor")}: ${i};\n`);for(let l=0;l<n.length;++l){const i=n[l],s=t[i];a+=te(i,e?se(i):s.base),e&&(r+=` ${ie(i)}: ${s.base};\n`);const o=M(s);for(let t=0;t<o.length;++t){const n=o[t],l=s[n];"base"!==n&&(a+=ee(i,n,e?se(i,n):l),e&&(r+=` ${ie(i,n)}: ${l};\n`))}}return e&&(r=`:root {\n${r}}\n\n`),r+a}function re(t,e){const i={base:Ut(e)};for(let s=5;s>0;--s)i["lighten"+s]=Ut(ae(e,s));for(let s=1;s<=4;++s)i["darken"+s]=Ut(oe(e,s));return i}function ae(t,e){const i=Xt(Ht(t));return i[0]=i[0]+10*e,Nt(Jt(i))}function oe(t,e){const i=Xt(Ht(t));return i[0]=i[0]-10*e,Nt(Jt(i))}class le extends X{constructor(t){super(),this.disabled=!1,this.isDark=null,this.unwatch=null,this.vueMeta=null;const{dark:e,disable:i,options:s,themes:n}=t[le.property];this.dark=Boolean(e),this.defaults=this.themes=n,this.options=s,i?this.disabled=!0:this.themes={dark:this.fillVariant(n.dark,!0),light:this.fillVariant(n.light,!1)}}set css(t){this.vueMeta?this.isVueMeta23&&this.applyVueMeta23():this.checkOrCreateStyleElement()&&(this.styleEl.innerHTML=t)}set dark(t){const e=this.isDark;this.isDark=t,null!=e&&this.applyTheme()}get dark(){return Boolean(this.isDark)}applyTheme(){if(this.disabled)return this.clearCss();this.css=this.generatedStyles}clearCss(){this.css=""}init(t,e){this.disabled||(t.$meta?this.initVueMeta(t):e&&this.initSSR(e),this.initTheme(t))}setTheme(t,e){this.themes[t]=Object.assign(this.themes[t],e),this.applyTheme()}resetThemes(){this.themes.light=Object.assign({},this.defaults.light),this.themes.dark=Object.assign({},this.defaults.dark),this.applyTheme()}checkOrCreateStyleElement(){return this.styleEl=document.getElementById("vuetify-theme-stylesheet"),!!this.styleEl||(this.genStyleElement(),Boolean(this.styleEl))}fillVariant(t={},e){const i=this.themes[e?"dark":"light"];return Object.assign({},i,t)}genStyleElement(){"undefined"!==typeof document&&(this.styleEl=document.createElement("style"),this.styleEl.type="text/css",this.styleEl.id="vuetify-theme-stylesheet",this.options.cspNonce&&this.styleEl.setAttribute("nonce",this.options.cspNonce),document.head.appendChild(this.styleEl))}initVueMeta(t){if(this.vueMeta=t.$meta(),this.isVueMeta23)return void t.$nextTick(()=>{this.applyVueMeta23()});const e="function"===typeof this.vueMeta.getOptions?this.vueMeta.getOptions().keyName:"metaInfo",i=t.$options[e]||{};t.$options[e]=()=>{i.style=i.style||[];const t=i.style.find(t=>"vuetify-theme-stylesheet"===t.id);return t?t.cssText=this.generatedStyles:i.style.push({cssText:this.generatedStyles,type:"text/css",id:"vuetify-theme-stylesheet",nonce:(this.options||{}).cspNonce}),i}}applyVueMeta23(){const{set:t}=this.vueMeta.addApp("vuetify");t({style:[{cssText:this.generatedStyles,type:"text/css",id:"vuetify-theme-stylesheet",nonce:this.options.cspNonce}]})}initSSR(t){const e=this.options.cspNonce?` nonce="${this.options.cspNonce}"`:"";t.head=t.head||"",t.head+=`<style type="text/css" id="vuetify-theme-stylesheet"${e}>${this.generatedStyles}</style>`}initTheme(t){"undefined"!==typeof document&&(this.unwatch&&(this.unwatch(),this.unwatch=null),t.$once("hook:created",()=>{const e=u.a.observable({themes:this.themes});this.unwatch=t.$watch(()=>e.themes,()=>this.applyTheme(),{deep:!0})}),this.applyTheme())}get currentTheme(){const t=this.dark?"dark":"light";return this.themes[t]}get generatedStyles(){const t=this.parsedTheme,e=this.options||{};let i;return null!=e.themeCache&&(i=e.themeCache.get(t),null!=i)||(i=ne(t,e.customProperties),null!=e.minifyTheme&&(i=e.minifyTheme(i)),null!=e.themeCache&&e.themeCache.set(t,i)),i}get parsedTheme(){return Qt(this.currentTheme||{},void 0,y(this.options,["variations"],!0))}get isVueMeta23(){return"function"===typeof this.vueMeta.addApp}}le.property="theme";class ue{constructor(t={}){this.framework={isHydrating:!1},this.installed=[],this.preset={},this.userPreset={},this.userPreset=t,this.use(J),this.use(Q),this.use(tt),this.use(yt),this.use(Mt),this.use(Ft),this.use(le)}init(t,e){this.installed.forEach(i=>{const s=this.framework[i];s.framework=this.framework,s.init(t,e)}),this.framework.rtl=Boolean(this.preset.rtl)}use(t){const e=t.property;this.installed.includes(e)||(this.framework[e]=new t(this.preset,this),this.installed.push(e))}}function ce(t,e,i){if(!ue.config.silent){if(i&&(e={_isVue:!0,$parent:i,$options:e}),e){if(e.$_alreadyWarned=e.$_alreadyWarned||[],e.$_alreadyWarned.includes(t))return;e.$_alreadyWarned.push(t)}return"[Vuetify] "+t+(e?ye(e):"")}}function he(t,e,i){const s=ce(t,e,i);null!=s&&console.warn(s)}function de(t,e,i){const s=ce(t,e,i);null!=s&&console.error(s)}function pe(t,e,i,s){he(`[UPGRADE] '${t}' is deprecated, use '${e}' instead.`,i,s)}function fe(t,e,i,s){de(`[BREAKING] '${t}' has been removed, use '${e}' instead. For more information, see the upgrade guide https://github.com/vuetifyjs/vuetify/releases/tag/v2.0.0#user-content-upgrade-guide`,i,s)}function me(t,e,i){he(`[REMOVED] '${t}' has been removed. You can safely omit it.`,e,i)}ue.install=d,ue.installed=!1,ue.version="2.6.9",ue.config={silent:!1};const ge=/(?:^|[-_])(\w)/g,ve=t=>t.replace(ge,t=>t.toUpperCase()).replace(/[-_]/g,"");function be(t,e){if(t.$root===t)return"<Root>";const i="function"===typeof t&&null!=t.cid?t.options:t._isVue?t.$options||t.constructor.options:t||{};let s=i.name||i._componentTag;const n=i.__file;if(!s&&n){const t=n.match(/([^/\\]+)\.vue$/);s=t&&t[1]}return(s?`<${ve(s)}>`:"<Anonymous>")+(n&&!1!==e?" at "+n:"")}function ye(t){if(t._isVue&&t.$parent){const e=[];let i=0;while(t){if(e.length>0){const s=e[e.length-1];if(s.constructor===t.constructor){i++,t=t.$parent;continue}i>0&&(e[e.length-1]=[s,i],i=0)}e.push(t),t=t.$parent}return"\n\nfound in\n\n"+e.map((t,e)=>`${0===e?"---\x3e ":" ".repeat(5+2*e)}${Array.isArray(t)?`${be(t[0])}... (${t[1]} recursive calls)`:be(t)}`).join("\n")}return`\n\n(found in ${be(t)})`}var _e=u.a.extend({name:"colorable",props:{color:String},methods:{setBackgroundColor(t,e={}){return"string"===typeof e.style?(de("style must be an object",this),e):"string"===typeof e.class?(de("class must be an object",this),e):(Wt(t)?e.style={...e.style,"background-color":""+t,"border-color":""+t}:t&&(e.class={...e.class,[t]:!0}),e)},setTextColor(t,e={}){if("string"===typeof e.style)return de("style must be an object",this),e;if("string"===typeof e.class)return de("class must be an object",this),e;if(Wt(t))e.style={...e.style,color:""+t,"caret-color":""+t};else if(t){const[i,s]=t.toString().trim().split(" ",2);e.class={...e.class,[i+"--text"]:!0},s&&(e.class["text--"+s]=!0)}return e}}}),xe=u.a.extend({name:"sizeable",props:{large:Boolean,small:Boolean,xLarge:Boolean,xSmall:Boolean},computed:{medium(){return Boolean(!this.xSmall&&!this.small&&!this.large&&!this.xLarge)},sizeableClasses(){return{"v-size--x-small":this.xSmall,"v-size--small":this.small,"v-size--default":this.medium,"v-size--large":this.large,"v-size--x-large":this.xLarge}}}});const Ce=u.a.extend().extend({name:"themeable",provide(){return{theme:this.themeableProvide}},inject:{theme:{default:{isDark:!1}}},props:{dark:{type:Boolean,default:null},light:{type:Boolean,default:null}},data(){return{themeableProvide:{isDark:!1}}},computed:{appIsDark(){return this.$vuetify.theme.dark||!1},isDark(){return!0===this.dark||!0!==this.light&&this.theme.isDark},themeClasses(){return{"theme--dark":this.isDark,"theme--light":!this.isDark}},rootIsDark(){return!0===this.dark||!0!==this.light&&this.appIsDark},rootThemeClasses(){return{"theme--dark":this.rootIsDark,"theme--light":!this.rootIsDark}}},watch:{isDark:{handler(t,e){t!==e&&(this.themeableProvide.isDark=this.isDark)},immediate:!0}}});var Se,$e=Ce;function we(t){const e={...t.props,...t.injections},i=Ce.options.computed.isDark.call(e);return Ce.options.computed.themeClasses.call({isDark:i})}function ke(...t){return u.a.extend({mixins:t})}function Oe(t){return["fas","far","fal","fab","fad","fak"].some(e=>t.includes(e))}function Pe(t){return/^[mzlhvcsqta]\s*[-+.0-9][^mlhvzcsqta]+/i.test(t)&&/[\dz]$/i.test(t)&&t.length>4}(function(t){t["xSmall"]="12px",t["small"]="16px",t["default"]="24px",t["medium"]="28px",t["large"]="36px",t["xLarge"]="40px"})(Se||(Se={}));const Ie=ke(h,_e,xe,$e).extend({name:"v-icon",props:{dense:Boolean,disabled:Boolean,left:Boolean,right:Boolean,size:[Number,String],tag:{type:String,required:!1,default:"i"}},computed:{medium(){return!1},hasClickListener(){return Boolean(this.listeners$.click||this.listeners$["!click"])}},methods:{getIcon(){let t="";return this.$slots.default&&(t=this.$slots.default[0].text.trim()),A(this,t)},getSize(){const t={xSmall:this.xSmall,small:this.small,medium:this.medium,large:this.large,xLarge:this.xLarge},e=M(t).find(e=>t[e]);return e&&Se[e]||P(this.size)},getDefaultData(){return{staticClass:"v-icon notranslate",class:{"v-icon--disabled":this.disabled,"v-icon--left":this.left,"v-icon--link":this.hasClickListener,"v-icon--right":this.right,"v-icon--dense":this.dense},attrs:{"aria-hidden":!this.hasClickListener,disabled:this.hasClickListener&&this.disabled,type:this.hasClickListener?"button":void 0,...this.attrs$},on:this.listeners$}},getSvgWrapperData(){const t=this.getSize(),e={...this.getDefaultData(),style:t?{fontSize:t,height:t,width:t}:void 0};return this.applyColors(e),e},applyColors(t){t.class={...t.class,...this.themeClasses},this.setTextColor(this.color,t)},renderFontIcon(t,e){const i=[],s=this.getDefaultData();let n="material-icons";const r=t.indexOf("-"),a=r<=-1;a?i.push(t):(n=t.slice(0,r),Oe(n)&&(n="")),s.class[n]=!0,s.class[t]=!a;const o=this.getSize();return o&&(s.style={fontSize:o}),this.applyColors(s),e(this.hasClickListener?"button":this.tag,s,i)},renderSvgIcon(t,e){const i={class:"v-icon__svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",role:"img","aria-hidden":!0}},s=this.getSize();return s&&(i.style={fontSize:s,height:s,width:s}),e(this.hasClickListener?"button":"span",this.getSvgWrapperData(),[e("svg",i,[e("path",{attrs:{d:t}})])])},renderSvgIconComponent(t,e){const i={class:{"v-icon__component":!0}},s=this.getSize();s&&(i.style={fontSize:s,height:s,width:s}),this.applyColors(i);const n=t.component;return i.props=t.props,i.nativeOn=i.on,e(this.hasClickListener?"button":"span",this.getSvgWrapperData(),[e(n,i)])}},render(t){const e=this.getIcon();return"string"===typeof e?Pe(e)?this.renderSvgIcon(e,t):this.renderFontIcon(e,t):this.renderSvgIconComponent(e,t)}});var Le=u.a.extend({name:"v-icon",$_wrapperFor:Ie,functional:!0,render(t,{data:e,children:i}){let s="";return e.domProps&&(s=e.domProps.textContent||e.domProps.innerHTML||s,delete e.domProps.textContent,delete e.domProps.innerHTML),t(Ie,e,s?[s]:i)}}),De={name:"DataTableEmptyWrapper",props:{title:{type:String,default:"Nenhuma informação para exibir aqui"},subtitle:{type:String,default:"Tente filtrar novamente sua pesquisa ou faça uma importação para ver mais resultados"}},components:{VIcon:Le}},Ae=De;i("cb03");function Me(t,e,i,s,n,r,a,o){var l,u="function"===typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=i,u._compiled=!0),s&&(u.functional=!0),r&&(u._scopeId="data-v-"+r),a?(l=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),n&&n.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},u._ssrRegister=l):n&&(l=o?function(){n.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:n),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(t,e){return l.call(e),c(t,e)}}else{var h=u.beforeCreate;u.beforeCreate=h?[].concat(h,l):[l]}return{exports:t,options:u}}var Te=Me(Ae,a,o,!1,null,"a4b1af68",null),Be=Te.exports,Ee=Be,Fe=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("section",{staticClass:"v-data-table-custom-footer",class:{"hidden-perpageoptions":t.hidePerPageOptions}},[t.hidePerPageOptions?t._e():e("div",[e("v-select",{attrs:{outlined:"",disabled:!t.totalPages||t.totalPages<1,items:t.perPageBuiltItems,dense:""},model:{value:t.selectedLimit,callback:function(e){t.selectedLimit=e},expression:"selectedLimit"}})],1),e("ul",{class:{"farm-paginator":!0,"farm-paginator--disabled":t.disabled}},[e("li",[e("button",{attrs:{disabled:1===t.currentPage||t.disabled},on:{click:t.previousPage}},[e("farm-icon",{attrs:{color:"gray",size:"sm"}},[t._v("chevron-left")])],1)]),t._l(t.itemsInPagination,(function(i,s){return e("li",{key:"button_"+s,class:{"farm-paginator__item--selected":i===t.currentPage&&!t.disabled}},[e("button",{attrs:{disabled:t.currentPage===i||"..."===i||t.disabled},on:{click:function(e){t.currentPage=i}}},[t._v(" "+t._s(i)+" ")])])})),e("li",[e("button",{attrs:{disabled:t.currentPage===t.totalPages||t.disabled},on:{click:t.nextPage}},[e("farm-icon",{attrs:{color:"gray",size:"sm"}},[t._v("chevron-right")])],1)])],2)])},Ve=[];i("4ff9"),i("68dd"),i("8adc");const je={styleList:/;(?![^(]*\))/g,styleProp:/:(.*)/};function Re(t){const e={};for(const i of t.split(je.styleList)){let[t,s]=i.split(je.styleProp);t=t.trim(),t&&("string"===typeof s&&(s=s.trim()),e[B(t)]=s)}return e}function ze(){const t={};let e,i=arguments.length;while(i--)for(e of Object.keys(arguments[i]))switch(e){case"class":case"directives":arguments[i][e]&&(t[e]=He(t[e],arguments[i][e]));break;case"style":arguments[i][e]&&(t[e]=Ne(t[e],arguments[i][e]));break;case"staticClass":if(!arguments[i][e])break;void 0===t[e]&&(t[e]=""),t[e]&&(t[e]+=" "),t[e]+=arguments[i][e].trim();break;case"on":case"nativeOn":arguments[i][e]&&(t[e]=We(t[e],arguments[i][e]));break;case"attrs":case"props":case"domProps":case"scopedSlots":case"staticStyle":case"hook":case"transition":if(!arguments[i][e])break;t[e]||(t[e]={}),t[e]={...arguments[i][e],...t[e]};break;default:t[e]||(t[e]=arguments[i][e])}return t}function Ne(t,e){return t?e?(t=V("string"===typeof t?Re(t):t),t.concat("string"===typeof e?Re(e):e)):t:e}function He(t,e){return e?t&&t?V(t).concat(e):e:t}function We(...t){if(!t[0])return t[1];if(!t[1])return t[0];const e={};for(let i=2;i--;){const s=t[i];for(const t in s)s[t]&&(e[t]?e[t]=[].concat(s[t],e[t]):e[t]=s[t])}return e}function qe(t=[],...e){return Array().concat(t,...e)}function Ue(t,e="top center 0",i){return{name:t,functional:!0,props:{group:{type:Boolean,default:!1},hideOnLeave:{type:Boolean,default:!1},leaveAbsolute:{type:Boolean,default:!1},mode:{type:String,default:i},origin:{type:String,default:e}},render(e,i){const s="transition"+(i.props.group?"-group":""),n={props:{name:t,mode:i.props.mode},on:{beforeEnter(t){t.style.transformOrigin=i.props.origin,t.style.webkitTransformOrigin=i.props.origin}}};return i.props.leaveAbsolute&&(n.on.leave=qe(n.on.leave,t=>{const{offsetTop:e,offsetLeft:i,offsetWidth:s,offsetHeight:n}=t;t._transitionInitialStyles={position:t.style.position,top:t.style.top,left:t.style.left,width:t.style.width,height:t.style.height},t.style.position="absolute",t.style.top=e+"px",t.style.left=i+"px",t.style.width=s+"px",t.style.height=n+"px"}),n.on.afterLeave=qe(n.on.afterLeave,t=>{if(t&&t._transitionInitialStyles){const{position:e,top:i,left:s,width:n,height:r}=t._transitionInitialStyles;delete t._transitionInitialStyles,t.style.position=e||"",t.style.top=i||"",t.style.left=s||"",t.style.width=n||"",t.style.height=r||""}})),i.props.hideOnLeave&&(n.on.leave=qe(n.on.leave,t=>{t.style.setProperty("display","none","important")})),e(s,ze(i.data,n),i.children)}}}function Ye(t,e,i="in-out"){return{name:t,functional:!0,props:{mode:{type:String,default:i}},render(i,s){return i("transition",ze(s.data,{props:{name:t},on:e}),s.children)}}}var Ze=function(t="",e=!1){const i=e?"width":"height",s="offset"+E(i);return{beforeEnter(t){t._parent=t.parentNode,t._initialStyle={transition:t.style.transition,overflow:t.style.overflow,[i]:t.style[i]}},enter(e){const n=e._initialStyle;e.style.setProperty("transition","none","important"),e.style.overflow="hidden";const r=e[s]+"px";e.style[i]="0",e.offsetHeight,e.style.transition=n.transition,t&&e._parent&&e._parent.classList.add(t),requestAnimationFrame(()=>{e.style[i]=r})},afterEnter:r,enterCancelled:r,leave(t){t._initialStyle={transition:"",overflow:t.style.overflow,[i]:t.style[i]},t.style.overflow="hidden",t.style[i]=t[s]+"px",t.offsetHeight,requestAnimationFrame(()=>t.style[i]="0")},afterLeave:n,leaveCancelled:n};function n(e){t&&e._parent&&e._parent.classList.remove(t),r(e)}function r(t){const e=t._initialStyle[i];t.style.overflow=t._initialStyle.overflow,null!=e&&(t.style[i]=e),delete t._initialStyle}};Ue("carousel-transition"),Ue("carousel-reverse-transition"),Ue("tab-transition"),Ue("tab-reverse-transition"),Ue("menu-transition"),Ue("fab-transition","center center","out-in"),Ue("dialog-transition"),Ue("dialog-bottom-transition"),Ue("dialog-top-transition");const Ke=Ue("fade-transition"),Ge=(Ue("scale-transition"),Ue("scroll-x-transition"),Ue("scroll-x-reverse-transition"),Ue("scroll-y-transition"),Ue("scroll-y-reverse-transition"),Ue("slide-x-transition")),Xe=(Ue("slide-x-reverse-transition"),Ue("slide-y-transition"),Ue("slide-y-reverse-transition"),Ye("expand-transition",Ze())),Je=Ye("expand-x-transition",Ze("",!0));var Qe=Le;function ti(t,e){return()=>he(`The ${t} component must be used inside a ${e}`)}function ei(t,e,i){const s=e&&i?{register:ti(e,i),unregister:ti(e,i)}:null;return u.a.extend({name:"registrable-inject",inject:{[t]:{default:s}}})}function ii(t,e=!1){return u.a.extend({name:"registrable-provide",provide(){return{[t]:e?this:{register:this.register,unregister:this.unregister}}}})}function si(t,e,i){return ei(t,e,i).extend({name:"groupable",props:{activeClass:{type:String,default(){if(this[t])return this[t].activeClass}},disabled:Boolean},data(){return{isActive:!1}},computed:{groupClasses(){return this.activeClass?{[this.activeClass]:this.isActive}:{}}},created(){this[t]&&this[t].register(this)},beforeDestroy(){this[t]&&this[t].unregister(this)},methods:{toggle(){this.$emit("change")}}})}si("itemGroup");function ni(t="value",e="input"){return u.a.extend({name:"toggleable",model:{prop:t,event:e},props:{[t]:{required:!1}},data(){return{isActive:!!this[t]}},watch:{[t](t){this.isActive=!!t},isActive(i){!!i!==this[t]&&this.$emit(e,i)}}})}const ri=ni();var ai=ri;i("7435");const oi=80;function li(t,e){t.style.transform=e,t.style.webkitTransform=e}function ui(t){return"TouchEvent"===t.constructor.name}function ci(t){return"KeyboardEvent"===t.constructor.name}const hi=(t,e,i={})=>{let s=0,n=0;if(!ci(t)){const i=e.getBoundingClientRect(),r=ui(t)?t.touches[t.touches.length-1]:t;s=r.clientX-i.left,n=r.clientY-i.top}let r=0,a=.3;e._ripple&&e._ripple.circle?(a=.15,r=e.clientWidth/2,r=i.center?r:r+Math.sqrt((s-r)**2+(n-r)**2)/4):r=Math.sqrt(e.clientWidth**2+e.clientHeight**2)/2;const o=(e.clientWidth-2*r)/2+"px",l=(e.clientHeight-2*r)/2+"px",u=i.center?o:s-r+"px",c=i.center?l:n-r+"px";return{radius:r,scale:a,x:u,y:c,centerX:o,centerY:l}},di={show(t,e,i={}){if(!e._ripple||!e._ripple.enabled)return;const s=document.createElement("span"),n=document.createElement("span");s.appendChild(n),s.className="v-ripple__container",i.class&&(s.className+=" "+i.class);const{radius:r,scale:a,x:o,y:l,centerX:u,centerY:c}=hi(t,e,i),h=2*r+"px";n.className="v-ripple__animation",n.style.width=h,n.style.height=h,e.appendChild(s);const d=window.getComputedStyle(e);d&&"static"===d.position&&(e.style.position="relative",e.dataset.previousPosition="static"),n.classList.add("v-ripple__animation--enter"),n.classList.add("v-ripple__animation--visible"),li(n,`translate(${o}, ${l}) scale3d(${a},${a},${a})`),n.dataset.activated=String(performance.now()),setTimeout(()=>{n.classList.remove("v-ripple__animation--enter"),n.classList.add("v-ripple__animation--in"),li(n,`translate(${u}, ${c}) scale3d(1,1,1)`)},0)},hide(t){if(!t||!t._ripple||!t._ripple.enabled)return;const e=t.getElementsByClassName("v-ripple__animation");if(0===e.length)return;const i=e[e.length-1];if(i.dataset.isHiding)return;i.dataset.isHiding="true";const s=performance.now()-Number(i.dataset.activated),n=Math.max(250-s,0);setTimeout(()=>{i.classList.remove("v-ripple__animation--in"),i.classList.add("v-ripple__animation--out"),setTimeout(()=>{const e=t.getElementsByClassName("v-ripple__animation");1===e.length&&t.dataset.previousPosition&&(t.style.position=t.dataset.previousPosition,delete t.dataset.previousPosition),i.parentNode&&t.removeChild(i.parentNode)},300)},n)}};function pi(t){return"undefined"===typeof t||!!t}function fi(t){const e={},i=t.currentTarget;if(i&&i._ripple&&!i._ripple.touched&&!t.rippleStop){if(t.rippleStop=!0,ui(t))i._ripple.touched=!0,i._ripple.isTouch=!0;else if(i._ripple.isTouch)return;if(e.center=i._ripple.centered||ci(t),i._ripple.class&&(e.class=i._ripple.class),ui(t)){if(i._ripple.showTimerCommit)return;i._ripple.showTimerCommit=()=>{di.show(t,i,e)},i._ripple.showTimer=window.setTimeout(()=>{i&&i._ripple&&i._ripple.showTimerCommit&&(i._ripple.showTimerCommit(),i._ripple.showTimerCommit=null)},oi)}else di.show(t,i,e)}}function mi(t){const e=t.currentTarget;if(e&&e._ripple){if(window.clearTimeout(e._ripple.showTimer),"touchend"===t.type&&e._ripple.showTimerCommit)return e._ripple.showTimerCommit(),e._ripple.showTimerCommit=null,void(e._ripple.showTimer=setTimeout(()=>{mi(t)}));window.setTimeout(()=>{e._ripple&&(e._ripple.touched=!1)}),di.hide(e)}}function gi(t){const e=t.currentTarget;e&&e._ripple&&(e._ripple.showTimerCommit&&(e._ripple.showTimerCommit=null),window.clearTimeout(e._ripple.showTimer))}let vi=!1;function bi(t){vi||t.keyCode!==D.enter&&t.keyCode!==D.space||(vi=!0,fi(t))}function yi(t){vi=!1,mi(t)}function _i(t){!0===vi&&(vi=!1,mi(t))}function xi(t,e,i){const s=pi(e.value);s||di.hide(t),t._ripple=t._ripple||{},t._ripple.enabled=s;const n=e.value||{};n.center&&(t._ripple.centered=!0),n.class&&(t._ripple.class=e.value.class),n.circle&&(t._ripple.circle=n.circle),s&&!i?(t.addEventListener("touchstart",fi,{passive:!0}),t.addEventListener("touchend",mi,{passive:!0}),t.addEventListener("touchmove",gi,{passive:!0}),t.addEventListener("touchcancel",mi),t.addEventListener("mousedown",fi),t.addEventListener("mouseup",mi),t.addEventListener("mouseleave",mi),t.addEventListener("keydown",bi),t.addEventListener("keyup",yi),t.addEventListener("blur",_i),t.addEventListener("dragstart",mi,{passive:!0})):!s&&i&&Ci(t)}function Ci(t){t.removeEventListener("mousedown",fi),t.removeEventListener("touchstart",fi),t.removeEventListener("touchend",mi),t.removeEventListener("touchmove",gi),t.removeEventListener("touchcancel",mi),t.removeEventListener("mouseup",mi),t.removeEventListener("mouseleave",mi),t.removeEventListener("keydown",bi),t.removeEventListener("keyup",yi),t.removeEventListener("dragstart",mi),t.removeEventListener("blur",_i)}function Si(t,e,i){xi(t,e,!1)}function $i(t){delete t._ripple,Ci(t)}function wi(t,e){if(e.value===e.oldValue)return;const i=pi(e.oldValue);xi(t,e,i)}const ki={bind:Si,unbind:$i,update:wi};var Oi=ki,Pi=u.a.extend({name:"routable",directives:{Ripple:Oi},props:{activeClass:String,append:Boolean,disabled:Boolean,exact:{type:Boolean,default:void 0},exactPath:Boolean,exactActiveClass:String,link:Boolean,href:[String,Object],to:[String,Object],nuxt:Boolean,replace:Boolean,ripple:{type:[Boolean,Object],default:null},tag:String,target:String},data:()=>({isActive:!1,proxyClass:""}),computed:{classes(){const t={};return this.to||(this.activeClass&&(t[this.activeClass]=this.isActive),this.proxyClass&&(t[this.proxyClass]=this.isActive)),t},computedRipple(){var t;return null!==(t=this.ripple)&&void 0!==t?t:!this.disabled&&this.isClickable},isClickable(){return!this.disabled&&Boolean(this.isLink||this.$listeners.click||this.$listeners["!click"]||this.$attrs.tabindex)},isLink(){return this.to||this.href||this.link},styles:()=>({})},watch:{$route:"onRouteChange"},mounted(){this.onRouteChange()},methods:{generateRouteLink(){let t,e=this.exact;const i={attrs:{tabindex:"tabindex"in this.$attrs?this.$attrs.tabindex:void 0},class:this.classes,style:this.styles,props:{},directives:[{name:"ripple",value:this.computedRipple}],[this.to?"nativeOn":"on"]:{...this.$listeners,..."click"in this?{click:this.click}:void 0},ref:"link"};if("undefined"===typeof this.exact&&(e="/"===this.to||this.to===Object(this.to)&&"/"===this.to.path),this.to){let s=this.activeClass,n=this.exactActiveClass||s;this.proxyClass&&(s=`${s} ${this.proxyClass}`.trim(),n=`${n} ${this.proxyClass}`.trim()),t=this.nuxt?"nuxt-link":"router-link",Object.assign(i.props,{to:this.to,exact:e,exactPath:this.exactPath,activeClass:s,exactActiveClass:n,append:this.append,replace:this.replace})}else t=(this.href?"a":this.tag)||"div","a"===t&&this.href&&(i.attrs.href=this.href);return this.target&&(i.attrs.target=this.target),{tag:t,data:i}},onRouteChange(){if(!this.to||!this.$refs.link||!this.$route)return;const t=`${this.activeClass||""} ${this.proxyClass||""}`.trim(),e=`${this.exactActiveClass||""} ${this.proxyClass||""}`.trim()||t,i="_vnode.data.class."+(this.exact?e:t);this.$nextTick(()=>{!x(this.$refs.link,i)===this.isActive&&this.toggle()})},toggle(){this.isActive=!this.isActive}}}),Ii=ke(_e,xe,Pi,$e,si("chipGroup"),ni("inputValue")).extend({name:"v-chip",props:{active:{type:Boolean,default:!0},activeClass:{type:String,default(){return this.chipGroup?this.chipGroup.activeClass:""}},close:Boolean,closeIcon:{type:String,default:"$delete"},closeLabel:{type:String,default:"$vuetify.close"},disabled:Boolean,draggable:Boolean,filter:Boolean,filterIcon:{type:String,default:"$complete"},label:Boolean,link:Boolean,outlined:Boolean,pill:Boolean,tag:{type:String,default:"span"},textColor:String,value:null},data:()=>({proxyClass:"v-chip--active"}),computed:{classes(){return{"v-chip":!0,...Pi.options.computed.classes.call(this),"v-chip--clickable":this.isClickable,"v-chip--disabled":this.disabled,"v-chip--draggable":this.draggable,"v-chip--label":this.label,"v-chip--link":this.isLink,"v-chip--no-color":!this.color,"v-chip--outlined":this.outlined,"v-chip--pill":this.pill,"v-chip--removable":this.hasClose,...this.themeClasses,...this.sizeableClasses,...this.groupClasses}},hasClose(){return Boolean(this.close)},isClickable(){return Boolean(Pi.options.computed.isClickable.call(this)||this.chipGroup)}},created(){const t=[["outline","outlined"],["selected","input-value"],["value","active"],["@input","@active.sync"]];t.forEach(([t,e])=>{this.$attrs.hasOwnProperty(t)&&fe(t,e,this)})},methods:{click(t){this.$emit("click",t),this.chipGroup&&this.toggle()},genFilter(){const t=[];return this.isActive&&t.push(this.$createElement(Qe,{staticClass:"v-chip__filter",props:{left:!0}},this.filterIcon)),this.$createElement(Je,t)},genClose(){return this.$createElement(Qe,{staticClass:"v-chip__close",props:{right:!0,size:18},attrs:{"aria-label":this.$vuetify.lang.t(this.closeLabel)},on:{click:t=>{t.stopPropagation(),t.preventDefault(),this.$emit("click:close"),this.$emit("update:active",!1)}}},this.closeIcon)},genContent(){return this.$createElement("span",{staticClass:"v-chip__content"},[this.filter&&this.genFilter(),this.$slots.default,this.hasClose&&this.genClose()])}},render(t){const e=[this.genContent()];let{tag:i,data:s}=this.generateRouteLink();s.attrs={...s.attrs,draggable:this.draggable?"true":void 0,tabindex:this.chipGroup&&!this.disabled?0:s.attrs.tabindex},s.directives.push({name:"show",value:this.active}),s=this.setBackgroundColor(this.color,s);const n=this.textColor||this.outlined&&this.color;return t(i,this.setTextColor(n,s),e)}}),Li=Ii,Di=(i("ee6f"),$e.extend({name:"v-theme-provider",props:{root:Boolean},computed:{isDark(){return this.root?this.rootIsDark:$e.options.computed.isDark.call(this)}},render(){return this.$slots.default&&this.$slots.default.find(t=>!t.isComment&&" "!==t.text)}})),Ai=u.a.extend().extend({name:"delayable",props:{openDelay:{type:[Number,String],default:0},closeDelay:{type:[Number,String],default:0}},data:()=>({openTimeout:void 0,closeTimeout:void 0}),methods:{clearDelay(){clearTimeout(this.openTimeout),clearTimeout(this.closeTimeout)},runDelay(t,e){this.clearDelay();const i=parseInt(this[t+"Delay"],10);this[t+"Timeout"]=setTimeout(e||(()=>{this.isActive={open:!0,close:!1}[t]}),i)}}});const Mi=ke(Ai,ai);var Ti=Mi.extend({name:"activatable",props:{activator:{default:null,validator:t=>["string","object"].includes(typeof t)},disabled:Boolean,internalActivator:Boolean,openOnClick:{type:Boolean,default:!0},openOnHover:Boolean,openOnFocus:Boolean},data:()=>({activatorElement:null,activatorNode:[],events:["click","mouseenter","mouseleave","focus"],listeners:{}}),watch:{activator:"resetActivator",openOnFocus:"resetActivator",openOnHover:"resetActivator"},mounted(){const t=N(this,"activator",!0);t&&["v-slot","normal"].includes(t)&&de('The activator slot must be bound, try \'<template v-slot:activator="{ on }"><v-btn v-on="on">\'',this),this.addActivatorEvents()},beforeDestroy(){this.removeActivatorEvents()},methods:{addActivatorEvents(){if(!this.activator||this.disabled||!this.getActivator())return;this.listeners=this.genActivatorListeners();const t=Object.keys(this.listeners);for(const e of t)this.getActivator().addEventListener(e,this.listeners[e])},genActivator(){const t=q(this,"activator",Object.assign(this.getValueProxy(),{on:this.genActivatorListeners(),attrs:this.genActivatorAttributes()}))||[];return this.activatorNode=t,t},genActivatorAttributes(){return{role:this.openOnClick&&!this.openOnHover?"button":void 0,"aria-haspopup":!0,"aria-expanded":String(this.isActive)}},genActivatorListeners(){if(this.disabled)return{};const t={};return this.openOnHover?(t.mouseenter=t=>{this.getActivator(t),this.runDelay("open")},t.mouseleave=t=>{this.getActivator(t),this.runDelay("close")}):this.openOnClick&&(t.click=t=>{const e=this.getActivator(t);e&&e.focus(),t.stopPropagation(),this.isActive=!this.isActive}),this.openOnFocus&&(t.focus=t=>{this.getActivator(t),t.stopPropagation(),this.isActive=!this.isActive}),t},getActivator(t){if(this.activatorElement)return this.activatorElement;let e=null;if(this.activator){const t=this.internalActivator?this.$el:document;e="string"===typeof this.activator?t.querySelector(this.activator):this.activator.$el?this.activator.$el:this.activator}else if(1===this.activatorNode.length||this.activatorNode.length&&!t){const t=this.activatorNode[0].componentInstance;e=t&&t.$options.mixins&&t.$options.mixins.some(t=>t.options&&["activatable","menuable"].includes(t.options.name))?t.getActivator():this.activatorNode[0].elm}else t&&(e=t.currentTarget||t.target);return this.activatorElement=(null===e||void 0===e?void 0:e.nodeType)===Node.ELEMENT_NODE?e:null,this.activatorElement},getContentSlot(){return q(this,"default",this.getValueProxy(),!0)},getValueProxy(){const t=this;return{get value(){return t.isActive},set value(e){t.isActive=e}}},removeActivatorEvents(){if(!this.activator||!this.activatorElement)return;const t=Object.keys(this.listeners);for(const e of t)this.activatorElement.removeEventListener(e,this.listeners[e]);this.listeners={}},resetActivator(){this.removeActivatorEvents(),this.activatorElement=null,this.getActivator(),this.addActivatorEvents()}}});function Bi(t){const e=[];for(let i=0;i<t.length;i++){const s=t[i];s.isActive&&s.isDependent?e.push(s):e.push(...Bi(s.$children))}return e}var Ei=ke().extend({name:"dependent",data(){return{closeDependents:!0,isActive:!1,isDependent:!0}},watch:{isActive(t){if(t)return;const e=this.getOpenDependents();for(let i=0;i<e.length;i++)e[i].isActive=!1}},methods:{getOpenDependents(){return this.closeDependents?Bi(this.$children):[]},getOpenDependentElements(){const t=[],e=this.getOpenDependents();for(let i=0;i<e.length;i++)t.push(...e[i].getClickableDependentElements());return t},getClickableDependentElements(){const t=[this.$el];return this.$refs.content&&t.push(this.$refs.content),this.overlay&&t.push(this.overlay.$el),t.push(...this.getOpenDependentElements()),t}}}),Fi=u.a.extend().extend({name:"stackable",data(){return{stackElement:null,stackExclude:null,stackMinZIndex:0,isActive:!1}},computed:{activeZIndex(){if("undefined"===typeof window)return 0;const t=this.stackElement||this.$refs.content,e=this.isActive?this.getMaxZIndex(this.stackExclude||[t])+2:$(t);return null==e?e:parseInt(e)}},methods:{getMaxZIndex(t=[]){const e=this.$el,i=[this.stackMinZIndex,$(e)],s=[...document.getElementsByClassName("v-menu__content--active"),...document.getElementsByClassName("v-dialog__content--active")];for(let n=0;n<s.length;n++)t.includes(s[n])||i.push($(s[n]));return Math.max(...i)}}});const Vi={absolute:Boolean,bottom:Boolean,fixed:Boolean,left:Boolean,right:Boolean,top:Boolean};function ji(t=[]){return u.a.extend({name:"positionable",props:t.length?O(Vi,t):Vi})}var Ri=ji(),zi=u.a.extend().extend({name:"bootable",props:{eager:Boolean},data:()=>({isBooted:!1}),computed:{hasContent(){return this.isBooted||this.eager||this.isActive}},watch:{isActive(){this.isBooted=!0}},created(){"lazy"in this.$attrs&&me("lazy",this)},methods:{showLazyContent(t){return this.hasContent&&t?t():[this.$createElement()]}}});function Ni(t){const e=typeof t;return"boolean"===e||"string"===e||t.nodeType===Node.ELEMENT_NODE}function Hi(t){t.forEach(t=>{t.elm&&t.elm.parentNode&&t.elm.parentNode.removeChild(t.elm)})}var Wi=ke(zi).extend({name:"detachable",props:{attach:{default:!1,validator:Ni},contentClass:{type:String,default:""}},data:()=>({activatorNode:null,hasDetached:!1}),watch:{attach(){this.hasDetached=!1,this.initDetach()},hasContent(){this.$nextTick(this.initDetach)}},beforeMount(){this.$nextTick(()=>{if(this.activatorNode){const t=Array.isArray(this.activatorNode)?this.activatorNode:[this.activatorNode];t.forEach(t=>{if(!t.elm)return;if(!this.$el.parentNode)return;const e=this.$el===this.$el.parentNode.firstChild?this.$el:this.$el.nextSibling;this.$el.parentNode.insertBefore(t.elm,e)})}})},mounted(){this.hasContent&&this.initDetach()},deactivated(){this.isActive=!1},beforeDestroy(){this.$refs.content&&this.$refs.content.parentNode&&this.$refs.content.parentNode.removeChild(this.$refs.content)},destroyed(){if(this.activatorNode){const t=Array.isArray(this.activatorNode)?this.activatorNode:[this.activatorNode];if(this.$el.isConnected){const e=new MutationObserver(i=>{i.some(t=>Array.from(t.removedNodes).includes(this.$el))&&(e.disconnect(),Hi(t))});e.observe(this.$el.parentNode,{subtree:!1,childList:!0})}else Hi(t)}},methods:{getScopeIdAttrs(){const t=x(this.$vnode,"context.$options._scopeId");return t&&{[t]:""}},initDetach(){if(this._isDestroyed||!this.$refs.content||this.hasDetached||""===this.attach||!0===this.attach||"attach"===this.attach)return;let t;t=!1===this.attach?document.querySelector("[data-app]"):"string"===typeof this.attach?document.querySelector(this.attach):this.attach,t?(t.appendChild(this.$refs.content),this.hasDetached=!0):he("Unable to locate target "+(this.attach||"[data-app]"),this)}}});const qi=ke(Fi,ji(["top","right","bottom","left","absolute"]),Ti,Wi);var Ui=qi.extend().extend({name:"menuable",props:{allowOverflow:Boolean,light:Boolean,dark:Boolean,maxWidth:{type:[Number,String],default:"auto"},minWidth:[Number,String],nudgeBottom:{type:[Number,String],default:0},nudgeLeft:{type:[Number,String],default:0},nudgeRight:{type:[Number,String],default:0},nudgeTop:{type:[Number,String],default:0},nudgeWidth:{type:[Number,String],default:0},offsetOverflow:Boolean,positionX:{type:Number,default:null},positionY:{type:Number,default:null},zIndex:{type:[Number,String],default:null}},data:()=>({activatorNode:[],absoluteX:0,absoluteY:0,activatedBy:null,activatorFixed:!1,dimensions:{activator:{top:0,left:0,bottom:0,right:0,width:0,height:0,offsetTop:0,scrollHeight:0,offsetLeft:0},content:{top:0,left:0,bottom:0,right:0,width:0,height:0,offsetTop:0,scrollHeight:0}},relativeYOffset:0,hasJustFocused:!1,hasWindow:!1,inputActivator:!1,isContentActive:!1,pageWidth:0,pageYOffset:0,stackClass:"v-menu__content--active",stackMinZIndex:6}),computed:{computedLeft(){const t=this.dimensions.activator,e=this.dimensions.content,i=(!1!==this.attach?t.offsetLeft:t.left)||0,s=Math.max(t.width,e.width);let n=0;if(n+=i,(this.left||this.$vuetify.rtl&&!this.right)&&(n-=s-t.width),this.offsetX){const e=isNaN(Number(this.maxWidth))?t.width:Math.min(t.width,Number(this.maxWidth));n+=this.left?-e:t.width}return this.nudgeLeft&&(n-=parseInt(this.nudgeLeft)),this.nudgeRight&&(n+=parseInt(this.nudgeRight)),n},computedTop(){const t=this.dimensions.activator,e=this.dimensions.content;let i=0;return this.top&&(i+=t.height-e.height),!1!==this.attach?i+=t.offsetTop:i+=t.top+this.pageYOffset,this.offsetY&&(i+=this.top?-t.height:t.height),this.nudgeTop&&(i-=parseInt(this.nudgeTop)),this.nudgeBottom&&(i+=parseInt(this.nudgeBottom)),i},hasActivator(){return!!this.$slots.activator||!!this.$scopedSlots.activator||!!this.activator||!!this.inputActivator},absoluteYOffset(){return this.pageYOffset-this.relativeYOffset}},watch:{disabled(t){t&&this.callDeactivate()},isActive(t){this.disabled||(t?this.callActivate():this.callDeactivate())},positionX:"updateDimensions",positionY:"updateDimensions"},beforeMount(){this.hasWindow="undefined"!==typeof window,this.hasWindow&&window.addEventListener("resize",this.updateDimensions,!1)},beforeDestroy(){this.hasWindow&&window.removeEventListener("resize",this.updateDimensions,!1)},methods:{absolutePosition(){return{offsetTop:this.positionY||this.absoluteY,offsetLeft:this.positionX||this.absoluteX,scrollHeight:0,top:this.positionY||this.absoluteY,bottom:this.positionY||this.absoluteY,left:this.positionX||this.absoluteX,right:this.positionX||this.absoluteX,height:0,width:0}},activate(){},calcLeft(t){return P(!1!==this.attach?this.computedLeft:this.calcXOverflow(this.computedLeft,t))},calcTop(){return P(!1!==this.attach?this.computedTop:this.calcYOverflow(this.computedTop))},calcXOverflow(t,e){const i=t+e-this.pageWidth+12;return t=(!this.left||this.right)&&i>0?Math.max(t-i,0):Math.max(t,12),t+this.getOffsetLeft()},calcYOverflow(t){const e=this.getInnerHeight(),i=this.absoluteYOffset+e,s=this.dimensions.activator,n=this.dimensions.content.height,r=t+n,a=i<r;return a&&this.offsetOverflow&&s.top>n?t=this.pageYOffset+(s.top-n):a&&!this.allowOverflow?t=i-n-12:t<this.absoluteYOffset&&!this.allowOverflow&&(t=this.absoluteYOffset+12),t<12?12:t},callActivate(){this.hasWindow&&this.activate()},callDeactivate(){this.isContentActive=!1,this.deactivate()},checkForPageYOffset(){this.hasWindow&&(this.pageYOffset=this.activatorFixed?0:this.getOffsetTop())},checkActivatorFixed(){if(!1!==this.attach)return;let t=this.getActivator();while(t){if("fixed"===window.getComputedStyle(t).position)return void(this.activatorFixed=!0);t=t.offsetParent}this.activatorFixed=!1},deactivate(){},genActivatorListeners(){const t=Ti.options.methods.genActivatorListeners.call(this),e=t.click;return e&&(t.click=t=>{this.openOnClick&&e&&e(t),this.absoluteX=t.clientX,this.absoluteY=t.clientY}),t},getInnerHeight(){return this.hasWindow?window.innerHeight||document.documentElement.clientHeight:0},getOffsetLeft(){return this.hasWindow?window.pageXOffset||document.documentElement.scrollLeft:0},getOffsetTop(){return this.hasWindow?window.pageYOffset||document.documentElement.scrollTop:0},getRoundedBoundedClientRect(t){const e=t.getBoundingClientRect();return{top:Math.round(e.top),left:Math.round(e.left),bottom:Math.round(e.bottom),right:Math.round(e.right),width:Math.round(e.width),height:Math.round(e.height)}},measure(t){if(!t||!this.hasWindow)return null;const e=this.getRoundedBoundedClientRect(t);if(!1!==this.attach){const i=window.getComputedStyle(t);e.left=parseInt(i.marginLeft),e.top=parseInt(i.marginTop)}return e},sneakPeek(t){requestAnimationFrame(()=>{const e=this.$refs.content;e&&"none"===e.style.display?(e.style.display="inline-block",t(),e.style.display="none"):t()})},startTransition(){return new Promise(t=>requestAnimationFrame(()=>{this.isContentActive=this.hasJustFocused=this.isActive,t()}))},updateDimensions(){this.hasWindow="undefined"!==typeof window,this.checkActivatorFixed(),this.checkForPageYOffset(),this.pageWidth=document.documentElement.clientWidth;const t={activator:{...this.dimensions.activator},content:{...this.dimensions.content}};if(!this.hasActivator||this.absolute)t.activator=this.absolutePosition();else{const e=this.getActivator();if(!e)return;t.activator=this.measure(e),t.activator.offsetLeft=e.offsetLeft,!1!==this.attach?t.activator.offsetTop=e.offsetTop:t.activator.offsetTop=0}this.sneakPeek(()=>{if(this.$refs.content){if(this.$refs.content.offsetParent){const e=this.getRoundedBoundedClientRect(this.$refs.content.offsetParent);this.relativeYOffset=window.pageYOffset+e.top,t.activator.top-=this.relativeYOffset,t.activator.left-=window.pageXOffset+e.left}t.content=this.measure(this.$refs.content)}this.dimensions=t})}}}),Yi=u.a.extend({name:"returnable",props:{returnValue:null},data:()=>({isActive:!1,originalValue:null}),watch:{isActive(t){t?this.originalValue=this.returnValue:this.$emit("update:return-value",this.originalValue)}},methods:{save(t){this.originalValue=t,setTimeout(()=>{this.isActive=!1})}}}),Zi=u.a.extend({name:"roundable",props:{rounded:[Boolean,String],tile:Boolean},computed:{roundedClasses(){const t=[],e="string"===typeof this.rounded?String(this.rounded):!0===this.rounded;if(this.tile)t.push("rounded-0");else if("string"===typeof e){const i=e.split(" ");for(const e of i)t.push("rounded-"+e)}else e&&t.push("rounded");return t.length>0?{[t.join(" ")]:!0}:{}}}});function Ki(t){if("function"!==typeof t.getRootNode){while(t.parentNode)t=t.parentNode;return t!==document?null:document}const e=t.getRootNode();return e!==document&&e.getRootNode({composed:!0})!==document?null:e}function Gi(){return!0}function Xi(t,e,i){if(!t||!1===Ji(t,i))return!1;const s=Ki(e);if("undefined"!==typeof ShadowRoot&&s instanceof ShadowRoot&&s.host===t.target)return!1;const n=("object"===typeof i.value&&i.value.include||(()=>[]))();return n.push(e),!n.some(e=>e.contains(t.target))}function Ji(t,e){const i="object"===typeof e.value&&e.value.closeConditional||Gi;return i(t)}function Qi(t,e,i,s){const n="function"===typeof i.value?i.value:i.value.handler;e._clickOutside.lastMousedownWasOutside&&Xi(t,e,i)&&setTimeout(()=>{Ji(t,i)&&n&&n(t)},0)}function ts(t,e){const i=Ki(t);e(document),"undefined"!==typeof ShadowRoot&&i instanceof ShadowRoot&&e(i)}const es={inserted(t,e,i){const s=s=>Qi(s,t,e,i),n=i=>{t._clickOutside.lastMousedownWasOutside=Xi(i,t,e)};ts(t,t=>{t.addEventListener("click",s,!0),t.addEventListener("mousedown",n,!0)}),t._clickOutside||(t._clickOutside={lastMousedownWasOutside:!0}),t._clickOutside[i.context._uid]={onClick:s,onMousedown:n}},unbind(t,e,i){t._clickOutside&&(ts(t,e=>{var s;if(!e||!(null===(s=t._clickOutside)||void 0===s?void 0:s[i.context._uid]))return;const{onClick:n,onMousedown:r}=t._clickOutside[i.context._uid];e.removeEventListener("click",n,!0),e.removeEventListener("mousedown",r,!0)}),delete t._clickOutside[i.context._uid])}};var is=es;function ss(t,e,i){const s=e.value,n=e.options||{passive:!0};window.addEventListener("resize",s,n),t._onResize=Object(t._onResize),t._onResize[i.context._uid]={callback:s,options:n},e.modifiers&&e.modifiers.quiet||s()}function ns(t,e,i){var s;if(!(null===(s=t._onResize)||void 0===s?void 0:s[i.context._uid]))return;const{callback:n,options:r}=t._onResize[i.context._uid];window.removeEventListener("resize",n,r),delete t._onResize[i.context._uid]}const rs={inserted:ss,unbind:ns};var as=rs;const os=ke(Ei,Ai,Yi,Zi,$e,Ui);var ls=os.extend({name:"v-menu",directives:{ClickOutside:is,Resize:as},provide(){return{isInMenu:!0,theme:this.theme}},props:{auto:Boolean,closeOnClick:{type:Boolean,default:!0},closeOnContentClick:{type:Boolean,default:!0},disabled:Boolean,disableKeys:Boolean,maxHeight:{type:[Number,String],default:"auto"},offsetX:Boolean,offsetY:Boolean,openOnHover:Boolean,origin:{type:String,default:"top left"},transition:{type:[Boolean,String],default:"v-menu-transition"}},data(){return{calculatedTopAuto:0,defaultOffset:8,hasJustFocused:!1,listIndex:-1,resizeTimeout:0,selectedIndex:null,tiles:[]}},computed:{activeTile(){return this.tiles[this.listIndex]},calculatedLeft(){const t=Math.max(this.dimensions.content.width,parseFloat(this.calculatedMinWidth));return this.auto?P(this.calcXOverflow(this.calcLeftAuto(),t))||"0":this.calcLeft(t)||"0"},calculatedMaxHeight(){const t=this.auto?"200px":P(this.maxHeight);return t||"0"},calculatedMaxWidth(){return P(this.maxWidth)||"0"},calculatedMinWidth(){if(this.minWidth)return P(this.minWidth)||"0";const t=Math.min(this.dimensions.activator.width+Number(this.nudgeWidth)+(this.auto?16:0),Math.max(this.pageWidth-24,0)),e=isNaN(parseInt(this.calculatedMaxWidth))?t:parseInt(this.calculatedMaxWidth);return P(Math.min(e,t))||"0"},calculatedTop(){const t=this.auto?P(this.calcYOverflow(this.calculatedTopAuto)):this.calcTop();return t||"0"},hasClickableTiles(){return Boolean(this.tiles.find(t=>t.tabIndex>-1))},styles(){return{maxHeight:this.calculatedMaxHeight,minWidth:this.calculatedMinWidth,maxWidth:this.calculatedMaxWidth,top:this.calculatedTop,left:this.calculatedLeft,transformOrigin:this.origin,zIndex:this.zIndex||this.activeZIndex}}},watch:{isActive(t){t||(this.listIndex=-1)},isContentActive(t){this.hasJustFocused=t},listIndex(t,e){if(t in this.tiles){const e=this.tiles[t];e.classList.add("v-list-item--highlighted");const i=this.$refs.content.scrollTop,s=this.$refs.content.clientHeight;i>e.offsetTop-8?bt(e.offsetTop-e.clientHeight,{appOffset:!1,duration:300,container:this.$refs.content}):i+s<e.offsetTop+e.clientHeight+8&&bt(e.offsetTop-s+2*e.clientHeight,{appOffset:!1,duration:300,container:this.$refs.content})}e in this.tiles&&this.tiles[e].classList.remove("v-list-item--highlighted")}},created(){this.$attrs.hasOwnProperty("full-width")&&me("full-width",this)},mounted(){this.isActive&&this.callActivate()},methods:{activate(){this.updateDimensions(),requestAnimationFrame(()=>{this.startTransition().then(()=>{this.$refs.content&&(this.calculatedTopAuto=this.calcTopAuto(),this.auto&&(this.$refs.content.scrollTop=this.calcScrollPosition()))})})},calcScrollPosition(){const t=this.$refs.content,e=t.querySelector(".v-list-item--active"),i=t.scrollHeight-t.offsetHeight;return e?Math.min(i,Math.max(0,e.offsetTop-t.offsetHeight/2+e.offsetHeight/2)):t.scrollTop},calcLeftAuto(){return parseInt(this.dimensions.activator.left-2*this.defaultOffset)},calcTopAuto(){const t=this.$refs.content,e=t.querySelector(".v-list-item--active");if(e||(this.selectedIndex=null),this.offsetY||!e)return this.computedTop;this.selectedIndex=Array.from(this.tiles).indexOf(e);const i=e.offsetTop-this.calcScrollPosition(),s=t.querySelector(".v-list-item").offsetTop;return this.computedTop-i-s-1},changeListIndex(t){if(this.getTiles(),this.isActive&&this.hasClickableTiles)if(t.keyCode!==D.tab){if(t.keyCode===D.down)this.nextTile();else if(t.keyCode===D.up)this.prevTile();else if(t.keyCode===D.end)this.lastTile();else if(t.keyCode===D.home)this.firstTile();else{if(t.keyCode!==D.enter||-1===this.listIndex)return;this.tiles[this.listIndex].click()}t.preventDefault()}else this.isActive=!1},closeConditional(t){const e=t.target;return this.isActive&&!this._isDestroyed&&this.closeOnClick&&!this.$refs.content.contains(e)},genActivatorAttributes(){const t=Ti.options.methods.genActivatorAttributes.call(this);return this.activeTile&&this.activeTile.id?{...t,"aria-activedescendant":this.activeTile.id}:t},genActivatorListeners(){const t=Ui.options.methods.genActivatorListeners.call(this);return this.disableKeys||(t.keydown=this.onKeyDown),t},genTransition(){const t=this.genContent();return this.transition?this.$createElement("transition",{props:{name:this.transition}},[t]):t},genDirectives(){const t=[{name:"show",value:this.isContentActive}];return!this.openOnHover&&this.closeOnClick&&t.push({name:"click-outside",value:{handler:()=>{this.isActive=!1},closeConditional:this.closeConditional,include:()=>[this.$el,...this.getOpenDependentElements()]}}),t},genContent(){const t={attrs:{...this.getScopeIdAttrs(),role:"role"in this.$attrs?this.$attrs.role:"menu"},staticClass:"v-menu__content",class:{...this.rootThemeClasses,...this.roundedClasses,"v-menu__content--auto":this.auto,"v-menu__content--fixed":this.activatorFixed,menuable__content__active:this.isActive,[this.contentClass.trim()]:!0},style:this.styles,directives:this.genDirectives(),ref:"content",on:{click:t=>{const e=t.target;e.getAttribute("disabled")||this.closeOnContentClick&&(this.isActive=!1)},keydown:this.onKeyDown}};return this.$listeners.scroll&&(t.on=t.on||{},t.on.scroll=this.$listeners.scroll),!this.disabled&&this.openOnHover&&(t.on=t.on||{},t.on.mouseenter=this.mouseEnterHandler),this.openOnHover&&(t.on=t.on||{},t.on.mouseleave=this.mouseLeaveHandler),this.$createElement("div",t,this.getContentSlot())},getTiles(){this.$refs.content&&(this.tiles=Array.from(this.$refs.content.querySelectorAll(".v-list-item, .v-divider, .v-subheader")))},mouseEnterHandler(){this.runDelay("open",()=>{this.hasJustFocused||(this.hasJustFocused=!0)})},mouseLeaveHandler(t){this.runDelay("close",()=>{var e;(null===(e=this.$refs.content)||void 0===e?void 0:e.contains(t.relatedTarget))||requestAnimationFrame(()=>{this.isActive=!1,this.callDeactivate()})})},nextTile(){const t=this.tiles[this.listIndex+1];if(!t){if(!this.tiles.length)return;return this.listIndex=-1,void this.nextTile()}this.listIndex++,-1===t.tabIndex&&this.nextTile()},prevTile(){const t=this.tiles[this.listIndex-1];if(!t){if(!this.tiles.length)return;return this.listIndex=this.tiles.length,void this.prevTile()}this.listIndex--,-1===t.tabIndex&&this.prevTile()},lastTile(){const t=this.tiles[this.tiles.length-1];t&&(this.listIndex=this.tiles.length-1,-1===t.tabIndex&&this.prevTile())},firstTile(){const t=this.tiles[0];t&&(this.listIndex=0,-1===t.tabIndex&&this.nextTile())},onKeyDown(t){if(t.keyCode===D.esc){setTimeout(()=>{this.isActive=!1});const t=this.getActivator();this.$nextTick(()=>t&&t.focus())}else!this.isActive&&[D.up,D.down].includes(t.keyCode)&&(this.isActive=!0);this.$nextTick(()=>this.changeListIndex(t))},onResize(){this.isActive&&(this.$refs.content.offsetWidth,this.updateDimensions(),clearTimeout(this.resizeTimeout),this.resizeTimeout=window.setTimeout(this.updateDimensions,100))}},render(t){const e={staticClass:"v-menu",class:{"v-menu--attached":""===this.attach||!0===this.attach||"attach"===this.attach},directives:[{arg:"500",name:"resize",value:this.onResize}]};return t("div",e,[!this.activator&&this.genActivator(),this.showLazyContent(()=>[this.$createElement(Di,{props:{root:!0,light:this.light,dark:this.dark}},[this.genTransition()])])])}}),us=ls,cs=(i("cf36"),u.a.extend({name:"v-simple-checkbox",functional:!0,directives:{Ripple:Oi},props:{..._e.options.props,...$e.options.props,disabled:Boolean,ripple:{type:Boolean,default:!0},value:Boolean,indeterminate:Boolean,indeterminateIcon:{type:String,default:"$checkboxIndeterminate"},onIcon:{type:String,default:"$checkboxOn"},offIcon:{type:String,default:"$checkboxOff"}},render(t,{props:e,data:i,listeners:s}){const n=[];let r=e.offIcon;if(e.indeterminate?r=e.indeterminateIcon:e.value&&(r=e.onIcon),n.push(t(Le,_e.options.methods.setTextColor(e.value&&e.color,{props:{disabled:e.disabled,dark:e.dark,light:e.light}}),r)),e.ripple&&!e.disabled){const i=t("div",_e.options.methods.setTextColor(e.color,{staticClass:"v-input--selection-controls__ripple",directives:[{def:Oi,name:"ripple",value:{center:!0}}]}));n.push(i)}return t("div",ze(i,{class:{"v-simple-checkbox":!0,"v-simple-checkbox--disabled":e.disabled},on:{click:t=>{t.stopPropagation(),i.on&&i.on.input&&!e.disabled&&V(i.on.input).forEach(t=>t(!e.value))}}}),[t("div",{staticClass:"v-input--selection-controls__input"},n)])}})),hs=(i("8ce9"),$e.extend({name:"v-divider",props:{inset:Boolean,vertical:Boolean},render(t){let e;return this.$attrs.role&&"separator"!==this.$attrs.role||(e=this.vertical?"vertical":"horizontal"),t("hr",{class:{"v-divider":!0,"v-divider--inset":this.inset,"v-divider--vertical":this.vertical,...this.themeClasses},attrs:{role:"separator","aria-orientation":e,...this.$attrs},on:this.$listeners})}})),ds=hs,ps=(i("0bc6"),ke($e).extend({name:"v-subheader",props:{inset:Boolean},render(t){return t("div",{staticClass:"v-subheader",class:{"v-subheader--inset":this.inset,...this.themeClasses},attrs:this.$attrs,on:this.$listeners},this.$slots.default)}})),fs=ps;i("61d2");const ms=ke(_e,Pi,$e,si("listItemGroup"),ni("inputValue"));var gs=ms.extend().extend({name:"v-list-item",directives:{Ripple:Oi},inject:{isInGroup:{default:!1},isInList:{default:!1},isInMenu:{default:!1},isInNav:{default:!1}},inheritAttrs:!1,props:{activeClass:{type:String,default(){return this.listItemGroup?this.listItemGroup.activeClass:""}},dense:Boolean,inactive:Boolean,link:Boolean,selectable:{type:Boolean},tag:{type:String,default:"div"},threeLine:Boolean,twoLine:Boolean,value:null},data:()=>({proxyClass:"v-list-item--active"}),computed:{classes(){return{"v-list-item":!0,...Pi.options.computed.classes.call(this),"v-list-item--dense":this.dense,"v-list-item--disabled":this.disabled,"v-list-item--link":this.isClickable&&!this.inactive,"v-list-item--selectable":this.selectable,"v-list-item--three-line":this.threeLine,"v-list-item--two-line":this.twoLine,...this.themeClasses}},isClickable(){return Boolean(Pi.options.computed.isClickable.call(this)||this.listItemGroup)}},created(){this.$attrs.hasOwnProperty("avatar")&&me("avatar",this)},methods:{click(t){t.detail&&this.$el.blur(),this.$emit("click",t),this.to||this.toggle()},genAttrs(){const t={"aria-disabled":!!this.disabled||void 0,tabindex:this.isClickable&&!this.disabled?0:-1,...this.$attrs};return this.$attrs.hasOwnProperty("role")||this.isInNav||(this.isInGroup?(t.role="option",t["aria-selected"]=String(this.isActive)):this.isInMenu?(t.role=this.isClickable?"menuitem":void 0,t.id=t.id||"list-item-"+this._uid):this.isInList&&(t.role="listitem")),t},toggle(){this.to&&void 0===this.inputValue&&(this.isActive=!this.isActive),this.$emit("change")}},render(t){let{tag:e,data:i}=this.generateRouteLink();i.attrs={...i.attrs,...this.genAttrs()},i[this.to?"nativeOn":"on"]={...i[this.to?"nativeOn":"on"],keydown:t=>{this.disabled||(t.keyCode===D.enter&&this.click(t),this.$emit("keydown",t))}},this.inactive&&(e="div"),this.inactive&&this.to&&(i.on=i.nativeOn,delete i.nativeOn);const s=this.$scopedSlots.default?this.$scopedSlots.default({active:this.isActive,toggle:this.toggle}):this.$slots.default;return t(e,this.isActive?this.setTextColor(this.color,i):i,s)}}),vs=u.a.extend({name:"v-list-item-action",functional:!0,render(t,{data:e,children:i=[]}){e.staticClass=e.staticClass?"v-list-item__action "+e.staticClass:"v-list-item__action";const s=i.filter(t=>!1===t.isComment&&" "!==t.text);return s.length>1&&(e.staticClass+=" v-list-item__action--stack"),t("div",e,i)}}),bs=(i("3ad0"),i("25a8"),u.a.extend({name:"elevatable",props:{elevation:[Number,String]},computed:{computedElevation(){return this.elevation},elevationClasses(){const t=this.computedElevation;return null==t||isNaN(parseInt(t))?{}:{["elevation-"+this.elevation]:!0}}}})),ys=u.a.extend({name:"measurable",props:{height:[Number,String],maxHeight:[Number,String],maxWidth:[Number,String],minHeight:[Number,String],minWidth:[Number,String],width:[Number,String]},computed:{measurableStyles(){const t={},e=P(this.height),i=P(this.minHeight),s=P(this.minWidth),n=P(this.maxHeight),r=P(this.maxWidth),a=P(this.width);return e&&(t.height=e),i&&(t.minHeight=i),s&&(t.minWidth=s),n&&(t.maxHeight=n),r&&(t.maxWidth=r),a&&(t.width=a),t}}}),_s=ke(h,_e,bs,ys,Zi,$e).extend({name:"v-sheet",props:{outlined:Boolean,shaped:Boolean,tag:{type:String,default:"div"}},computed:{classes(){return{"v-sheet":!0,"v-sheet--outlined":this.outlined,"v-sheet--shaped":this.shaped,...this.themeClasses,...this.elevationClasses,...this.roundedClasses}},styles(){return this.measurableStyles}},render(t){const e={class:this.classes,style:this.styles,on:this.listeners$};return t(this.tag,this.setBackgroundColor(this.color,e),this.$slots.default)}}),xs=_s.extend().extend({name:"v-list",provide(){return{isInList:!0,list:this}},inject:{isInMenu:{default:!1},isInNav:{default:!1}},props:{dense:Boolean,disabled:Boolean,expand:Boolean,flat:Boolean,nav:Boolean,rounded:Boolean,subheader:Boolean,threeLine:Boolean,twoLine:Boolean},data:()=>({groups:[]}),computed:{classes(){return{..._s.options.computed.classes.call(this),"v-list--dense":this.dense,"v-list--disabled":this.disabled,"v-list--flat":this.flat,"v-list--nav":this.nav,"v-list--rounded":this.rounded,"v-list--subheader":this.subheader,"v-list--two-line":this.twoLine,"v-list--three-line":this.threeLine}}},methods:{register(t){this.groups.push(t)},unregister(t){const e=this.groups.findIndex(e=>e._uid===t._uid);e>-1&&this.groups.splice(e,1)},listClick(t){if(!this.expand)for(const e of this.groups)e.toggle(t)}},render(t){const e={staticClass:"v-list",class:this.classes,style:this.styles,attrs:{role:this.isInNav||this.isInMenu?void 0:"list",...this.attrs$}};return t(this.tag,this.setBackgroundColor(this.color,e),[this.$slots.default])}}),Cs=(i("db42"),u.a.extend({name:"v-list-item-icon",functional:!0,render(t,{data:e,children:i}){return e.staticClass=("v-list-item__icon "+(e.staticClass||"")).trim(),t("div",e,i)}}));const Ss=ke(h,zi,_e,ei("list"),ai);Ss.extend().extend({name:"v-list-group",directives:{ripple:Oi},props:{activeClass:{type:String,default:""},appendIcon:{type:String,default:"$expand"},color:{type:String,default:"primary"},disabled:Boolean,group:[String,RegExp],noAction:Boolean,prependIcon:String,ripple:{type:[Boolean,Object],default:!0},subGroup:Boolean},computed:{classes(){return{"v-list-group--active":this.isActive,"v-list-group--disabled":this.disabled,"v-list-group--no-action":this.noAction,"v-list-group--sub-group":this.subGroup}}},watch:{isActive(t){!this.subGroup&&t&&this.list&&this.list.listClick(this._uid)},$route:"onRouteChange"},created(){this.list&&this.list.register(this),this.group&&this.$route&&null==this.value&&(this.isActive=this.matchRoute(this.$route.path))},beforeDestroy(){this.list&&this.list.unregister(this)},methods:{click(t){this.disabled||(this.isBooted=!0,this.$emit("click",t),this.$nextTick(()=>this.isActive=!this.isActive))},genIcon(t){return this.$createElement(Qe,t)},genAppendIcon(){const t=!this.subGroup&&this.appendIcon;return t||this.$slots.appendIcon?this.$createElement(Cs,{staticClass:"v-list-group__header__append-icon"},[this.$slots.appendIcon||this.genIcon(t)]):null},genHeader(){return this.$createElement(gs,{staticClass:"v-list-group__header",attrs:{"aria-expanded":String(this.isActive),role:"button"},class:{[this.activeClass]:this.isActive},props:{inputValue:this.isActive},directives:[{name:"ripple",value:this.ripple}],on:{...this.listeners$,click:this.click}},[this.genPrependIcon(),this.$slots.activator,this.genAppendIcon()])},genItems(){return this.showLazyContent(()=>[this.$createElement("div",{staticClass:"v-list-group__items",directives:[{name:"show",value:this.isActive}]},q(this))])},genPrependIcon(){const t=this.subGroup&&null==this.prependIcon?"$subgroup":this.prependIcon;return t||this.$slots.prependIcon?this.$createElement(Cs,{staticClass:"v-list-group__header__prepend-icon"},[this.$slots.prependIcon||this.genIcon(t)]):null},onRouteChange(t){if(!this.group)return;const e=this.matchRoute(t.path);e&&this.isActive!==e&&this.list&&this.list.listClick(this._uid),this.isActive=e},toggle(t){const e=this._uid===t;e&&(this.isBooted=!0),this.$nextTick(()=>this.isActive=e)},matchRoute(t){return null!==t.match(this.group)}},render(t){return t("div",this.setTextColor(this.isActive&&this.color,{staticClass:"v-list-group",class:this.classes}),[this.genHeader(),t(Xe,this.genItems())])}}),i("899c"),i("166a");var $s=u.a.extend({name:"comparable",props:{valueComparator:{type:Function,default:_}}});function ws(t="value",e="change"){return u.a.extend({name:"proxyable",model:{prop:t,event:e},props:{[t]:{required:!1}},data(){return{internalLazyValue:this[t]}},computed:{internalValue:{get(){return this.internalLazyValue},set(t){t!==this.internalLazyValue&&(this.internalLazyValue=t,this.$emit(e,t))}}},watch:{[t](t){this.internalLazyValue=t}}})}const ks=ws();var Os=ks;const Ps=ke($s,Os,$e).extend({name:"base-item-group",props:{activeClass:{type:String,default:"v-item--active"},mandatory:Boolean,max:{type:[Number,String],default:null},multiple:Boolean,tag:{type:String,default:"div"}},data(){return{internalLazyValue:void 0!==this.value?this.value:this.multiple?[]:void 0,items:[]}},computed:{classes(){return{"v-item-group":!0,...this.themeClasses}},selectedIndex(){return this.selectedItem&&this.items.indexOf(this.selectedItem)||-1},selectedItem(){if(!this.multiple)return this.selectedItems[0]},selectedItems(){return this.items.filter((t,e)=>this.toggleMethod(this.getValue(t,e)))},selectedValues(){return null==this.internalValue?[]:Array.isArray(this.internalValue)?this.internalValue:[this.internalValue]},toggleMethod(){if(!this.multiple)return t=>this.valueComparator(this.internalValue,t);const t=this.internalValue;return Array.isArray(t)?e=>t.some(t=>this.valueComparator(t,e)):()=>!1}},watch:{internalValue:"updateItemsState",items:"updateItemsState"},created(){this.multiple&&!Array.isArray(this.internalValue)&&he("Model must be bound to an array if the multiple property is true.",this)},methods:{genData(){return{class:this.classes}},getValue(t,e){return void 0===t.value?e:t.value},onClick(t){this.updateInternalValue(this.getValue(t,this.items.indexOf(t)))},register(t){const e=this.items.push(t)-1;t.$on("change",()=>this.onClick(t)),this.mandatory&&!this.selectedValues.length&&this.updateMandatory(),this.updateItem(t,e)},unregister(t){if(this._isDestroyed)return;const e=this.items.indexOf(t),i=this.getValue(t,e);this.items.splice(e,1);const s=this.selectedValues.indexOf(i);if(!(s<0)){if(!this.mandatory)return this.updateInternalValue(i);this.multiple&&Array.isArray(this.internalValue)?this.internalValue=this.internalValue.filter(t=>t!==i):this.internalValue=void 0,this.selectedItems.length||this.updateMandatory(!0)}},updateItem(t,e){const i=this.getValue(t,e);t.isActive=this.toggleMethod(i)},updateItemsState(){this.$nextTick(()=>{if(this.mandatory&&!this.selectedItems.length)return this.updateMandatory();this.items.forEach(this.updateItem)})},updateInternalValue(t){this.multiple?this.updateMultiple(t):this.updateSingle(t)},updateMandatory(t){if(!this.items.length)return;const e=this.items.slice();t&&e.reverse();const i=e.find(t=>!t.disabled);if(!i)return;const s=this.items.indexOf(i);this.updateInternalValue(this.getValue(i,s))},updateMultiple(t){const e=Array.isArray(this.internalValue)?this.internalValue:[],i=e.slice(),s=i.findIndex(e=>this.valueComparator(e,t));this.mandatory&&s>-1&&i.length-1<1||null!=this.max&&s<0&&i.length+1>this.max||(s>-1?i.splice(s,1):i.push(t),this.internalValue=i)},updateSingle(t){const e=this.valueComparator(this.internalValue,t);this.mandatory&&e||(this.internalValue=e?void 0:t)}},render(t){return t(this.tag,this.genData(),this.$slots.default)}});Ps.extend({name:"v-item-group",provide(){return{itemGroup:this}}}),ke(Ps,_e).extend({name:"v-list-item-group",provide(){return{isInGroup:!0,listItemGroup:this}},computed:{classes(){return{...Ps.options.computed.classes.call(this),"v-list-item-group":!0}}},methods:{genData(){return this.setTextColor(this.color,{...Ps.options.methods.genData.call(this),attrs:{role:"listbox"}})}}}),i("3408");var Is=ke(_e,ys,Zi).extend({name:"v-avatar",props:{left:Boolean,right:Boolean,size:{type:[Number,String],default:48}},computed:{classes(){return{"v-avatar--left":this.left,"v-avatar--right":this.right,...this.roundedClasses}},styles(){return{height:P(this.size),minWidth:P(this.size),width:P(this.size),...this.measurableStyles}}},render(t){const e={staticClass:"v-avatar",class:this.classes,style:this.styles,on:this.$listeners};return t("div",this.setBackgroundColor(this.color,e),this.$slots.default)}}),Ls=Is;Ls.extend({name:"v-list-item-avatar",props:{horizontal:Boolean,size:{type:[Number,String],default:40}},computed:{classes(){return{"v-list-item__avatar--horizontal":this.horizontal,...Ls.options.computed.classes.call(this),"v-avatar--tile":this.tile||this.horizontal}}},render(t){const e=Ls.options.render.call(this,t);return e.data=e.data||{},e.data.staticClass+=" v-list-item__avatar",e}});m("v-list-item__action-text","span");const Ds=m("v-list-item__content","div"),As=m("v-list-item__title","div");m("v-list-item__subtitle","div");var Ms=ke(_e,$e).extend({name:"v-select-list",directives:{ripple:Oi},props:{action:Boolean,dense:Boolean,hideSelected:Boolean,items:{type:Array,default:()=>[]},itemDisabled:{type:[String,Array,Function],default:"disabled"},itemText:{type:[String,Array,Function],default:"text"},itemValue:{type:[String,Array,Function],default:"value"},noDataText:String,noFilter:Boolean,searchInput:null,selectedItems:{type:Array,default:()=>[]}},computed:{parsedItems(){return this.selectedItems.map(t=>this.getValue(t))},tileActiveClass(){return Object.keys(this.setTextColor(this.color).class||{}).join(" ")},staticNoDataTile(){const t={attrs:{role:void 0},on:{mousedown:t=>t.preventDefault()}};return this.$createElement(gs,t,[this.genTileContent(this.noDataText)])}},methods:{genAction(t,e){return this.$createElement(vs,[this.$createElement(cs,{props:{color:this.color,value:e,ripple:!1},on:{input:()=>this.$emit("select",t)}})])},genDivider(t){return this.$createElement(ds,{props:t})},genFilteredText(t){if(t=t||"",!this.searchInput||this.noFilter)return k(t);const{start:e,middle:i,end:s}=this.getMaskedCharacters(t);return`${k(e)}${this.genHighlight(i)}${k(s)}`},genHeader(t){return this.$createElement(fs,{props:t},t.header)},genHighlight(t){return`<span class="v-list-item__mask">${k(t)}</span>`},getMaskedCharacters(t){const e=(this.searchInput||"").toString().toLocaleLowerCase(),i=t.toLocaleLowerCase().indexOf(e);if(i<0)return{start:t,middle:"",end:""};const s=t.slice(0,i),n=t.slice(i,i+e.length),r=t.slice(i+e.length);return{start:s,middle:n,end:r}},genTile({item:t,index:e,disabled:i=null,value:s=!1}){s||(s=this.hasItem(t)),t===Object(t)&&(i=null!==i?i:this.getDisabled(t));const n={attrs:{"aria-selected":String(s),id:`list-item-${this._uid}-${e}`,role:"option"},on:{mousedown:t=>{t.preventDefault()},click:()=>i||this.$emit("select",t)},props:{activeClass:this.tileActiveClass,disabled:i,ripple:!0,inputValue:s}};if(!this.$scopedSlots.item)return this.$createElement(gs,n,[this.action&&!this.hideSelected&&this.items.length>0?this.genAction(t,s):null,this.genTileContent(t,e)]);const r=this,a=this.$scopedSlots.item({parent:r,item:t,attrs:{...n.attrs,...n.props},on:n.on});return this.needsTile(a)?this.$createElement(gs,n,a):a},genTileContent(t,e=0){const i=this.genFilteredText(this.getText(t));return this.$createElement(Ds,[this.$createElement(As,{domProps:{innerHTML:i}})])},hasItem(t){return this.parsedItems.indexOf(this.getValue(t))>-1},needsTile(t){return 1!==t.length||null==t[0].componentOptions||"v-list-item"!==t[0].componentOptions.Ctor.options.name},getDisabled(t){return Boolean(C(t,this.itemDisabled,!1))},getText(t){return String(C(t,this.itemText,t))},getValue(t){return C(t,this.itemValue,this.getText(t))}},render(){const t=[],e=this.items.length;for(let i=0;i<e;i++){const e=this.items[i];this.hideSelected&&this.hasItem(e)||(null==e?t.push(this.genTile({item:e,index:i})):e.header?t.push(this.genHeader(e)):e.divider?t.push(this.genDivider(e)):t.push(this.genTile({item:e,index:i})))}return t.length||t.push(this.$slots["no-data"]||this.staticNoDataTile),this.$slots["prepend-item"]&&t.unshift(this.$slots["prepend-item"]),this.$slots["append-item"]&&t.push(this.$slots["append-item"]),this.$createElement(xs,{staticClass:"v-select-list",class:this.themeClasses,attrs:{role:"listbox",tabindex:-1},props:{dense:this.dense}},t)}}),Ts=(i("d191"),i("1b2c"),ke($e).extend({name:"v-label",functional:!0,props:{absolute:Boolean,color:{type:String,default:"primary"},disabled:Boolean,focused:Boolean,for:String,left:{type:[Number,String],default:0},right:{type:[Number,String],default:"auto"},value:Boolean},render(t,e){const{children:i,listeners:s,props:n}=e,r={staticClass:"v-label",class:{"v-label--active":n.value,"v-label--is-disabled":n.disabled,...we(e)},attrs:{for:n.for,"aria-hidden":!n.for},on:s,style:{left:P(n.left),right:P(n.right),position:n.absolute?"absolute":"relative"},ref:"label"};return t("label",_e.options.methods.setTextColor(n.focused&&n.color,r),i)}})),Bs=Ts,Es=(i("8ff2"),ke(_e,$e).extend({name:"v-messages",props:{value:{type:Array,default:()=>[]}},methods:{genChildren(){return this.$createElement("transition-group",{staticClass:"v-messages__wrapper",attrs:{name:"message-transition",tag:"div"}},this.value.map(this.genMessage))},genMessage(t,e){return this.$createElement("div",{staticClass:"v-messages__message",key:e},q(this,"default",{message:t,key:e})||[t])}},render(t){return t("div",this.setTextColor(this.color,{staticClass:"v-messages",class:this.themeClasses}),[this.genChildren()])}})),Fs=Es;const Vs=ke(_e,ei("form"),$e);var js=Vs.extend({name:"validatable",props:{disabled:Boolean,error:Boolean,errorCount:{type:[Number,String],default:1},errorMessages:{type:[String,Array],default:()=>[]},messages:{type:[String,Array],default:()=>[]},readonly:Boolean,rules:{type:Array,default:()=>[]},success:Boolean,successMessages:{type:[String,Array],default:()=>[]},validateOnBlur:Boolean,value:{required:!1}},data(){return{errorBucket:[],hasColor:!1,hasFocused:!1,hasInput:!1,isFocused:!1,isResetting:!1,lazyValue:this.value,valid:!1}},computed:{computedColor(){if(!this.isDisabled)return this.color?this.color:this.isDark&&!this.appIsDark?"white":"primary"},hasError(){return this.internalErrorMessages.length>0||this.errorBucket.length>0||this.error},hasSuccess(){return this.internalSuccessMessages.length>0||this.success},externalError(){return this.internalErrorMessages.length>0||this.error},hasMessages(){return this.validationTarget.length>0},hasState(){return!this.isDisabled&&(this.hasSuccess||this.shouldValidate&&this.hasError)},internalErrorMessages(){return this.genInternalMessages(this.errorMessages)},internalMessages(){return this.genInternalMessages(this.messages)},internalSuccessMessages(){return this.genInternalMessages(this.successMessages)},internalValue:{get(){return this.lazyValue},set(t){this.lazyValue=t,this.$emit("input",t)}},isDisabled(){return this.disabled||!!this.form&&this.form.disabled},isInteractive(){return!this.isDisabled&&!this.isReadonly},isReadonly(){return this.readonly||!!this.form&&this.form.readonly},shouldValidate(){return!!this.externalError||!this.isResetting&&(this.validateOnBlur?this.hasFocused&&!this.isFocused:this.hasInput||this.hasFocused)},validations(){return this.validationTarget.slice(0,Number(this.errorCount))},validationState(){if(!this.isDisabled)return this.hasError&&this.shouldValidate?"error":this.hasSuccess?"success":this.hasColor?this.computedColor:void 0},validationTarget(){return this.internalErrorMessages.length>0?this.internalErrorMessages:this.successMessages&&this.successMessages.length>0?this.internalSuccessMessages:this.messages&&this.messages.length>0?this.internalMessages:this.shouldValidate?this.errorBucket:[]}},watch:{rules:{handler(t,e){_(t,e)||this.validate()},deep:!0},internalValue(){this.hasInput=!0,this.validateOnBlur||this.$nextTick(this.validate)},isFocused(t){t||this.isDisabled||(this.hasFocused=!0,this.validateOnBlur&&this.$nextTick(this.validate))},isResetting(){setTimeout(()=>{this.hasInput=!1,this.hasFocused=!1,this.isResetting=!1,this.validate()},0)},hasError(t){this.shouldValidate&&this.$emit("update:error",t)},value(t){this.lazyValue=t}},beforeMount(){this.validate()},created(){this.form&&this.form.register(this)},beforeDestroy(){this.form&&this.form.unregister(this)},methods:{genInternalMessages(t){return t?Array.isArray(t)?t:[t]:[]},reset(){this.isResetting=!0,this.internalValue=Array.isArray(this.internalValue)?[]:null},resetValidation(){this.isResetting=!0},validate(t=!1,e){const i=[];e=e||this.internalValue,t&&(this.hasInput=this.hasFocused=!0);for(let s=0;s<this.rules.length;s++){const t=this.rules[s],n="function"===typeof t?t(e):t;!1===n||"string"===typeof n?i.push(n||""):"boolean"!==typeof n&&de(`Rules should return a string or boolean, received '${typeof n}' instead`,this)}return this.errorBucket=i,this.valid=0===i.length,this.valid}}});const Rs=ke(h,js);var zs=Rs.extend().extend({name:"v-input",inheritAttrs:!1,props:{appendIcon:String,backgroundColor:{type:String,default:""},dense:Boolean,height:[Number,String],hideDetails:[Boolean,String],hideSpinButtons:Boolean,hint:String,id:String,label:String,loading:Boolean,persistentHint:Boolean,prependIcon:String,value:null},data(){return{lazyValue:this.value,hasMouseDown:!1}},computed:{classes(){return{"v-input--has-state":this.hasState,"v-input--hide-details":!this.showDetails,"v-input--is-label-active":this.isLabelActive,"v-input--is-dirty":this.isDirty,"v-input--is-disabled":this.isDisabled,"v-input--is-focused":this.isFocused,"v-input--is-loading":!1!==this.loading&&null!=this.loading,"v-input--is-readonly":this.isReadonly,"v-input--dense":this.dense,"v-input--hide-spin-buttons":this.hideSpinButtons,...this.themeClasses}},computedId(){return this.id||"input-"+this._uid},hasDetails(){return this.messagesToDisplay.length>0},hasHint(){return!this.hasMessages&&!!this.hint&&(this.persistentHint||this.isFocused)},hasLabel(){return!(!this.$slots.label&&!this.label)},internalValue:{get(){return this.lazyValue},set(t){this.lazyValue=t,this.$emit(this.$_modelEvent,t)}},isDirty(){return!!this.lazyValue},isLabelActive(){return this.isDirty},messagesToDisplay(){return this.hasHint?[this.hint]:this.hasMessages?this.validations.map(t=>{if("string"===typeof t)return t;const e=t(this.internalValue);return"string"===typeof e?e:""}).filter(t=>""!==t):[]},showDetails(){return!1===this.hideDetails||"auto"===this.hideDetails&&this.hasDetails}},watch:{value(t){this.lazyValue=t}},beforeCreate(){this.$_modelEvent=this.$options.model&&this.$options.model.event||"input"},methods:{genContent(){return[this.genPrependSlot(),this.genControl(),this.genAppendSlot()]},genControl(){return this.$createElement("div",{staticClass:"v-input__control",attrs:{title:this.attrs$.title}},[this.genInputSlot(),this.genMessages()])},genDefaultSlot(){return[this.genLabel(),this.$slots.default]},genIcon(t,e,i={}){const s=this[t+"Icon"],n="click:"+I(t),r=!(!this.listeners$[n]&&!e),a=ze({attrs:{"aria-label":r?I(t).split("-")[0]+" icon":void 0,color:this.validationState,dark:this.dark,disabled:this.isDisabled,light:this.light},on:r?{click:t=>{t.preventDefault(),t.stopPropagation(),this.$emit(n,t),e&&e(t)},mouseup:t=>{t.preventDefault(),t.stopPropagation()}}:void 0},i);return this.$createElement("div",{staticClass:"v-input__icon",class:t?"v-input__icon--"+I(t):void 0},[this.$createElement(Qe,a,s)])},genInputSlot(){return this.$createElement("div",this.setBackgroundColor(this.backgroundColor,{staticClass:"v-input__slot",style:{height:P(this.height)},on:{click:this.onClick,mousedown:this.onMouseDown,mouseup:this.onMouseUp},ref:"input-slot"}),[this.genDefaultSlot()])},genLabel(){return this.hasLabel?this.$createElement(Bs,{props:{color:this.validationState,dark:this.dark,disabled:this.isDisabled,focused:this.hasState,for:this.computedId,light:this.light}},this.$slots.label||this.label):null},genMessages(){return this.showDetails?this.$createElement(Fs,{props:{color:this.hasHint?"":this.validationState,dark:this.dark,light:this.light,value:this.messagesToDisplay},attrs:{role:this.hasMessages?"alert":null},scopedSlots:{default:t=>q(this,"message",t)}}):null},genSlot(t,e,i){if(!i.length)return null;const s=`${t}-${e}`;return this.$createElement("div",{staticClass:"v-input__"+s,ref:s},i)},genPrependSlot(){const t=[];return this.$slots.prepend?t.push(this.$slots.prepend):this.prependIcon&&t.push(this.genIcon("prepend")),this.genSlot("prepend","outer",t)},genAppendSlot(){const t=[];return this.$slots.append?t.push(this.$slots.append):this.appendIcon&&t.push(this.genIcon("append")),this.genSlot("append","outer",t)},onClick(t){this.$emit("click",t)},onMouseDown(t){this.hasMouseDown=!0,this.$emit("mousedown",t)},onMouseUp(t){this.hasMouseDown=!1,this.$emit("mouseup",t)}},render(t){return t("div",this.setTextColor(this.validationState,{staticClass:"v-input",class:this.classes}),this.genContent())}}),Ns=zs,Hs=(i("e9b1"),ke($e).extend({name:"v-counter",functional:!0,props:{value:{type:[Number,String],default:""},max:[Number,String]},render(t,e){const{props:i}=e,s=parseInt(i.max,10),n=parseInt(i.value,10),r=s?`${n} / ${s}`:String(i.value),a=s&&n>s;return t("div",{staticClass:"v-counter",class:{"error--text":a,...we(e)}},r)}})),Ws=Hs;function qs(t,e,i){if("undefined"===typeof window||!("IntersectionObserver"in window))return;const s=e.modifiers||{},n=e.value,{handler:r,options:a}="object"===typeof n?n:{handler:n,options:{}},o=new IntersectionObserver((n=[],a)=>{var o;const l=null===(o=t._observe)||void 0===o?void 0:o[i.context._uid];if(!l)return;const u=n.some(t=>t.isIntersecting);!r||s.quiet&&!l.init||s.once&&!u&&!l.init||r(n,a,u),u&&s.once?Us(t,e,i):l.init=!0},a);t._observe=Object(t._observe),t._observe[i.context._uid]={init:!1,observer:o},o.observe(t)}function Us(t,e,i){var s;const n=null===(s=t._observe)||void 0===s?void 0:s[i.context._uid];n&&(n.observer.unobserve(t),delete t._observe[i.context._uid])}const Ys={inserted:qs,unbind:Us};var Zs=Ys;function Ks(t){return u.a.extend({name:"intersectable",data:()=>({isIntersecting:!1}),mounted(){Zs.inserted(this.$el,{name:"intersect",value:this.onObserve},this.$vnode)},destroyed(){Zs.unbind(this.$el,{name:"intersect",value:this.onObserve},this.$vnode)},methods:{onObserve(e,i,s){if(this.isIntersecting=s,s)for(let n=0,r=t.onVisible.length;n<r;n++){const e=this[t.onVisible[n]];"function"!==typeof e?he(t.onVisible[n]+" method is not available on the instance but referenced in intersectable mixin options"):e()}}}})}i("6ece");const Gs=ke(_e,ji(["absolute","fixed","top","bottom"]),Os,$e);var Xs=Gs.extend({name:"v-progress-linear",directives:{intersect:Zs},props:{active:{type:Boolean,default:!0},backgroundColor:{type:String,default:null},backgroundOpacity:{type:[Number,String],default:null},bufferValue:{type:[Number,String],default:100},color:{type:String,default:"primary"},height:{type:[Number,String],default:4},indeterminate:Boolean,query:Boolean,reverse:Boolean,rounded:Boolean,stream:Boolean,striped:Boolean,value:{type:[Number,String],default:0}},data(){return{internalLazyValue:this.value||0,isVisible:!0}},computed:{__cachedBackground(){return this.$createElement("div",this.setBackgroundColor(this.backgroundColor||this.color,{staticClass:"v-progress-linear__background",style:this.backgroundStyle}))},__cachedBar(){return this.$createElement(this.computedTransition,[this.__cachedBarType])},__cachedBarType(){return this.indeterminate?this.__cachedIndeterminate:this.__cachedDeterminate},__cachedBuffer(){return this.$createElement("div",{staticClass:"v-progress-linear__buffer",style:this.styles})},__cachedDeterminate(){return this.$createElement("div",this.setBackgroundColor(this.color,{staticClass:"v-progress-linear__determinate",style:{width:P(this.normalizedValue,"%")}}))},__cachedIndeterminate(){return this.$createElement("div",{staticClass:"v-progress-linear__indeterminate",class:{"v-progress-linear__indeterminate--active":this.active}},[this.genProgressBar("long"),this.genProgressBar("short")])},__cachedStream(){return this.stream?this.$createElement("div",this.setTextColor(this.color,{staticClass:"v-progress-linear__stream",style:{width:P(100-this.normalizedBuffer,"%")}})):null},backgroundStyle(){const t=null==this.backgroundOpacity?this.backgroundColor?1:.3:parseFloat(this.backgroundOpacity);return{opacity:t,[this.isReversed?"right":"left"]:P(this.normalizedValue,"%"),width:P(Math.max(0,this.normalizedBuffer-this.normalizedValue),"%")}},classes(){return{"v-progress-linear--absolute":this.absolute,"v-progress-linear--fixed":this.fixed,"v-progress-linear--query":this.query,"v-progress-linear--reactive":this.reactive,"v-progress-linear--reverse":this.isReversed,"v-progress-linear--rounded":this.rounded,"v-progress-linear--striped":this.striped,"v-progress-linear--visible":this.isVisible,...this.themeClasses}},computedTransition(){return this.indeterminate?Ke:Ge},isReversed(){return this.$vuetify.rtl!==this.reverse},normalizedBuffer(){return this.normalize(this.bufferValue)},normalizedValue(){return this.normalize(this.internalLazyValue)},reactive(){return Boolean(this.$listeners.change)},styles(){const t={};return this.active||(t.height=0),this.indeterminate||100===parseFloat(this.normalizedBuffer)||(t.width=P(this.normalizedBuffer,"%")),t}},methods:{genContent(){const t=q(this,"default",{value:this.internalLazyValue});return t?this.$createElement("div",{staticClass:"v-progress-linear__content"},t):null},genListeners(){const t=this.$listeners;return this.reactive&&(t.click=this.onClick),t},genProgressBar(t){return this.$createElement("div",this.setBackgroundColor(this.color,{staticClass:"v-progress-linear__indeterminate",class:{[t]:!0}}))},onClick(t){if(!this.reactive)return;const{width:e}=this.$el.getBoundingClientRect();this.internalValue=t.offsetX/e*100},onObserve(t,e,i){this.isVisible=i},normalize(t){return t<0?0:t>100?100:parseFloat(t)}},render(t){const e={staticClass:"v-progress-linear",attrs:{role:"progressbar","aria-valuemin":0,"aria-valuemax":this.normalizedBuffer,"aria-valuenow":this.indeterminate?void 0:this.normalizedValue},class:this.classes,directives:[{name:"intersect",value:this.onObserve}],style:{bottom:this.bottom?0:void 0,height:this.active?P(this.height):0,top:this.top?0:void 0},on:this.genListeners()};return t("div",e,[this.__cachedStream,this.__cachedBackground,this.__cachedBuffer,this.__cachedBar,this.genContent()])}}),Js=Xs,Qs=u.a.extend().extend({name:"loadable",props:{loading:{type:[Boolean,String],default:!1},loaderHeight:{type:[Number,String],default:2}},methods:{genProgress(){return!1===this.loading?null:this.$slots.progress||this.$createElement(Js,{props:{absolute:!0,color:!0===this.loading||""===this.loading?this.color||"primary":this.loading,height:this.loaderHeight,indeterminate:!0}})}}});const tn=ke(Ns,Ks({onVisible:["onResize","tryAutofocus"]}),Qs),en=["color","file","time","date","datetime-local","week","month"];var sn=tn.extend().extend({name:"v-text-field",directives:{resize:as,ripple:Oi},inheritAttrs:!1,props:{appendOuterIcon:String,autofocus:Boolean,clearable:Boolean,clearIcon:{type:String,default:"$clear"},counter:[Boolean,Number,String],counterValue:Function,filled:Boolean,flat:Boolean,fullWidth:Boolean,label:String,outlined:Boolean,placeholder:String,prefix:String,prependInnerIcon:String,persistentPlaceholder:Boolean,reverse:Boolean,rounded:Boolean,shaped:Boolean,singleLine:Boolean,solo:Boolean,soloInverted:Boolean,suffix:String,type:{type:String,default:"text"}},data:()=>({badInput:!1,labelWidth:0,prefixWidth:0,prependWidth:0,initialValue:null,isBooted:!1,isClearing:!1}),computed:{classes(){return{...Ns.options.computed.classes.call(this),"v-text-field":!0,"v-text-field--full-width":this.fullWidth,"v-text-field--prefix":this.prefix,"v-text-field--single-line":this.isSingle,"v-text-field--solo":this.isSolo,"v-text-field--solo-inverted":this.soloInverted,"v-text-field--solo-flat":this.flat,"v-text-field--filled":this.filled,"v-text-field--is-booted":this.isBooted,"v-text-field--enclosed":this.isEnclosed,"v-text-field--reverse":this.reverse,"v-text-field--outlined":this.outlined,"v-text-field--placeholder":this.placeholder,"v-text-field--rounded":this.rounded,"v-text-field--shaped":this.shaped}},computedColor(){const t=js.options.computed.computedColor.call(this);return this.soloInverted&&this.isFocused?this.color||"primary":t},computedCounterValue(){return"function"===typeof this.counterValue?this.counterValue(this.internalValue):[...(this.internalValue||"").toString()].length},hasCounter(){return!1!==this.counter&&null!=this.counter},hasDetails(){return Ns.options.computed.hasDetails.call(this)||this.hasCounter},internalValue:{get(){return this.lazyValue},set(t){this.lazyValue=t,this.$emit("input",this.lazyValue)}},isDirty(){var t;return(null===(t=this.lazyValue)||void 0===t?void 0:t.toString().length)>0||this.badInput},isEnclosed(){return this.filled||this.isSolo||this.outlined},isLabelActive(){return this.isDirty||en.includes(this.type)},isSingle(){return this.isSolo||this.singleLine||this.fullWidth||this.filled&&!this.hasLabel},isSolo(){return this.solo||this.soloInverted},labelPosition(){let t=this.prefix&&!this.labelValue?this.prefixWidth:0;return this.labelValue&&this.prependWidth&&(t-=this.prependWidth),this.$vuetify.rtl===this.reverse?{left:t,right:"auto"}:{left:"auto",right:t}},showLabel(){return this.hasLabel&&!(this.isSingle&&this.labelValue)},labelValue(){return this.isFocused||this.isLabelActive||this.persistentPlaceholder}},watch:{outlined:"setLabelWidth",label(){this.$nextTick(this.setLabelWidth)},prefix(){this.$nextTick(this.setPrefixWidth)},isFocused:"updateValue",value(t){this.lazyValue=t}},created(){this.$attrs.hasOwnProperty("box")&&fe("box","filled",this),this.$attrs.hasOwnProperty("browser-autocomplete")&&fe("browser-autocomplete","autocomplete",this),this.shaped&&!(this.filled||this.outlined||this.isSolo)&&he("shaped should be used with either filled or outlined",this)},mounted(){this.$watch(()=>this.labelValue,this.setLabelWidth),this.autofocus&&this.tryAutofocus(),requestAnimationFrame(()=>{this.isBooted=!0,requestAnimationFrame(()=>{this.isIntersecting||this.onResize()})})},methods:{focus(){this.onFocus()},blur(t){window.requestAnimationFrame(()=>{this.$refs.input&&this.$refs.input.blur()})},clearableCallback(){this.$refs.input&&this.$refs.input.focus(),this.$nextTick(()=>this.internalValue=null)},genAppendSlot(){const t=[];return this.$slots["append-outer"]?t.push(this.$slots["append-outer"]):this.appendOuterIcon&&t.push(this.genIcon("appendOuter")),this.genSlot("append","outer",t)},genPrependInnerSlot(){const t=[];return this.$slots["prepend-inner"]?t.push(this.$slots["prepend-inner"]):this.prependInnerIcon&&t.push(this.genIcon("prependInner")),this.genSlot("prepend","inner",t)},genIconSlot(){const t=[];return this.$slots.append?t.push(this.$slots.append):this.appendIcon&&t.push(this.genIcon("append")),this.genSlot("append","inner",t)},genInputSlot(){const t=Ns.options.methods.genInputSlot.call(this),e=this.genPrependInnerSlot();return e&&(t.children=t.children||[],t.children.unshift(e)),t},genClearIcon(){return this.clearable?this.isDirty?this.genSlot("append","inner",[this.genIcon("clear",this.clearableCallback)]):this.genSlot("append","inner",[this.$createElement("div")]):null},genCounter(){var t,e,i;if(!this.hasCounter)return null;const s=!0===this.counter?this.attrs$.maxlength:this.counter,n={dark:this.dark,light:this.light,max:s,value:this.computedCounterValue};return null!==(i=null===(e=(t=this.$scopedSlots).counter)||void 0===e?void 0:e.call(t,{props:n}))&&void 0!==i?i:this.$createElement(Ws,{props:n})},genControl(){return Ns.options.methods.genControl.call(this)},genDefaultSlot(){return[this.genFieldset(),this.genTextFieldSlot(),this.genClearIcon(),this.genIconSlot(),this.genProgress()]},genFieldset(){return this.outlined?this.$createElement("fieldset",{attrs:{"aria-hidden":!0}},[this.genLegend()]):null},genLabel(){if(!this.showLabel)return null;const t={props:{absolute:!0,color:this.validationState,dark:this.dark,disabled:this.isDisabled,focused:!this.isSingle&&(this.isFocused||!!this.validationState),for:this.computedId,left:this.labelPosition.left,light:this.light,right:this.labelPosition.right,value:this.labelValue}};return this.$createElement(Bs,t,this.$slots.label||this.label)},genLegend(){const t=this.singleLine||!this.labelValue&&!this.isDirty?0:this.labelWidth,e=this.$createElement("span",{domProps:{innerHTML:"​"},staticClass:"notranslate"});return this.$createElement("legend",{style:{width:this.isSingle?void 0:P(t)}},[e])},genInput(){const t=Object.assign({},this.listeners$);delete t.change;const{title:e,...i}=this.attrs$;return this.$createElement("input",{style:{},domProps:{value:"number"===this.type&&Object.is(this.lazyValue,-0)?"-0":this.lazyValue},attrs:{...i,autofocus:this.autofocus,disabled:this.isDisabled,id:this.computedId,placeholder:this.persistentPlaceholder||this.isFocused||!this.hasLabel?this.placeholder:void 0,readonly:this.isReadonly,type:this.type},on:Object.assign(t,{blur:this.onBlur,input:this.onInput,focus:this.onFocus,keydown:this.onKeyDown}),ref:"input",directives:[{name:"resize",modifiers:{quiet:!0},value:this.onResize}]})},genMessages(){if(!this.showDetails)return null;const t=Ns.options.methods.genMessages.call(this),e=this.genCounter();return this.$createElement("div",{staticClass:"v-text-field__details"},[t,e])},genTextFieldSlot(){return this.$createElement("div",{staticClass:"v-text-field__slot"},[this.genLabel(),this.prefix?this.genAffix("prefix"):null,this.genInput(),this.suffix?this.genAffix("suffix"):null])},genAffix(t){return this.$createElement("div",{class:"v-text-field__"+t,ref:t},this[t])},onBlur(t){this.isFocused=!1,t&&this.$nextTick(()=>this.$emit("blur",t))},onClick(){this.isFocused||this.isDisabled||!this.$refs.input||this.$refs.input.focus()},onFocus(t){if(!this.$refs.input)return;const e=Ki(this.$el);return e?e.activeElement!==this.$refs.input?this.$refs.input.focus():void(this.isFocused||(this.isFocused=!0,t&&this.$emit("focus",t))):void 0},onInput(t){const e=t.target;this.internalValue=e.value,this.badInput=e.validity&&e.validity.badInput},onKeyDown(t){t.keyCode===D.enter&&this.lazyValue!==this.initialValue&&(this.initialValue=this.lazyValue,this.$emit("change",this.initialValue)),this.$emit("keydown",t)},onMouseDown(t){t.target!==this.$refs.input&&(t.preventDefault(),t.stopPropagation()),Ns.options.methods.onMouseDown.call(this,t)},onMouseUp(t){this.hasMouseDown&&this.focus(),Ns.options.methods.onMouseUp.call(this,t)},setLabelWidth(){this.outlined&&(this.labelWidth=this.$refs.label?Math.min(.75*this.$refs.label.scrollWidth+6,this.$el.offsetWidth-24):0)},setPrefixWidth(){this.$refs.prefix&&(this.prefixWidth=this.$refs.prefix.offsetWidth)},setPrependWidth(){this.outlined&&this.$refs["prepend-inner"]&&(this.prependWidth=this.$refs["prepend-inner"].offsetWidth)},tryAutofocus(){if(!this.autofocus||"undefined"===typeof document||!this.$refs.input)return!1;const t=Ki(this.$el);return!(!t||t.activeElement===this.$refs.input)&&(this.$refs.input.focus(),!0)},updateValue(t){this.hasColor=t,t?this.initialValue=this.lazyValue:this.initialValue!==this.lazyValue&&this.$emit("change",this.lazyValue)},onResize(){this.setLabelWidth(),this.setPrefixWidth(),this.setPrependWidth()}}}),nn=u.a.extend({name:"filterable",props:{noDataText:{type:String,default:"$vuetify.noDataText"}}});const rn={closeOnClick:!1,closeOnContentClick:!1,disableKeys:!0,openOnClick:!1,maxHeight:304},an=ke(sn,$s,Ei,nn);var on=an.extend().extend({name:"v-select",directives:{ClickOutside:is},props:{appendIcon:{type:String,default:"$dropdown"},attach:{type:null,default:!1},cacheItems:Boolean,chips:Boolean,clearable:Boolean,deletableChips:Boolean,disableLookup:Boolean,eager:Boolean,hideSelected:Boolean,items:{type:Array,default:()=>[]},itemColor:{type:String,default:"primary"},itemDisabled:{type:[String,Array,Function],default:"disabled"},itemText:{type:[String,Array,Function],default:"text"},itemValue:{type:[String,Array,Function],default:"value"},menuProps:{type:[String,Array,Object],default:()=>rn},multiple:Boolean,openOnClear:Boolean,returnObject:Boolean,smallChips:Boolean},data(){return{cachedItems:this.cacheItems?this.items:[],menuIsBooted:!1,isMenuActive:!1,lastItem:20,lazyValue:void 0!==this.value?this.value:this.multiple?[]:void 0,selectedIndex:-1,selectedItems:[],keyboardLookupPrefix:"",keyboardLookupLastTime:0}},computed:{allItems(){return this.filterDuplicates(this.cachedItems.concat(this.items))},classes(){return{...sn.options.computed.classes.call(this),"v-select":!0,"v-select--chips":this.hasChips,"v-select--chips--small":this.smallChips,"v-select--is-menu-active":this.isMenuActive,"v-select--is-multi":this.multiple}},computedItems(){return this.allItems},computedOwns(){return"list-"+this._uid},computedCounterValue(){var t;const e=this.multiple?this.selectedItems:(null!==(t=this.getText(this.selectedItems[0]))&&void 0!==t?t:"").toString();return"function"===typeof this.counterValue?this.counterValue(e):e.length},directives(){return this.isFocused?[{name:"click-outside",value:{handler:this.blur,closeConditional:this.closeConditional,include:()=>this.getOpenDependentElements()}}]:void 0},dynamicHeight(){return"auto"},hasChips(){return this.chips||this.smallChips},hasSlot(){return Boolean(this.hasChips||this.$scopedSlots.selection)},isDirty(){return this.selectedItems.length>0},listData(){const t=this.$vnode&&this.$vnode.context.$options._scopeId,e=t?{[t]:!0}:{};return{attrs:{...e,id:this.computedOwns},props:{action:this.multiple,color:this.itemColor,dense:this.dense,hideSelected:this.hideSelected,items:this.virtualizedItems,itemDisabled:this.itemDisabled,itemText:this.itemText,itemValue:this.itemValue,noDataText:this.$vuetify.lang.t(this.noDataText),selectedItems:this.selectedItems},on:{select:this.selectItem},scopedSlots:{item:this.$scopedSlots.item}}},staticList(){return(this.$slots["no-data"]||this.$slots["prepend-item"]||this.$slots["append-item"])&&de("assert: staticList should not be called if slots are used"),this.$createElement(Ms,this.listData)},virtualizedItems(){return this.$_menuProps.auto?this.computedItems:this.computedItems.slice(0,this.lastItem)},menuCanShow:()=>!0,$_menuProps(){let t="string"===typeof this.menuProps?this.menuProps.split(","):this.menuProps;return Array.isArray(t)&&(t=t.reduce((t,e)=>(t[e.trim()]=!0,t),{})),{...rn,eager:this.eager,value:this.menuCanShow&&this.isMenuActive,nudgeBottom:t.offsetY?1:0,...t}}},watch:{internalValue(t){this.initialValue=t,this.setSelectedItems(),this.multiple&&this.$nextTick(()=>{var t;null===(t=this.$refs.menu)||void 0===t||t.updateDimensions()})},isMenuActive(t){window.setTimeout(()=>this.onMenuActiveChange(t))},items:{immediate:!0,handler(t){this.cacheItems&&this.$nextTick(()=>{this.cachedItems=this.filterDuplicates(this.cachedItems.concat(t))}),this.setSelectedItems()}}},methods:{blur(t){sn.options.methods.blur.call(this,t),this.isMenuActive=!1,this.isFocused=!1,this.selectedIndex=-1,this.setMenuIndex(-1)},activateMenu(){this.isInteractive&&!this.isMenuActive&&(this.isMenuActive=!0)},clearableCallback(){this.setValue(this.multiple?[]:null),this.setMenuIndex(-1),this.$nextTick(()=>this.$refs.input&&this.$refs.input.focus()),this.openOnClear&&(this.isMenuActive=!0)},closeConditional(t){return!this.isMenuActive||!this._isDestroyed&&(!this.getContent()||!this.getContent().contains(t.target))&&this.$el&&!this.$el.contains(t.target)&&t.target!==this.$el},filterDuplicates(t){const e=new Map;for(let i=0;i<t.length;++i){const s=t[i];if(null==s)continue;if(s.header||s.divider){e.set(s,s);continue}const n=this.getValue(s);!e.has(n)&&e.set(n,s)}return Array.from(e.values())},findExistingIndex(t){const e=this.getValue(t);return(this.internalValue||[]).findIndex(t=>this.valueComparator(this.getValue(t),e))},getContent(){return this.$refs.menu&&this.$refs.menu.$refs.content},genChipSelection(t,e){const i=this.isDisabled||this.getDisabled(t),s=!i&&this.isInteractive;return this.$createElement(Li,{staticClass:"v-chip--select",attrs:{tabindex:-1},props:{close:this.deletableChips&&s,disabled:i,inputValue:e===this.selectedIndex,small:this.smallChips},on:{click:t=>{s&&(t.stopPropagation(),this.selectedIndex=e)},"click:close":()=>this.onChipInput(t)},key:JSON.stringify(this.getValue(t))},this.getText(t))},genCommaSelection(t,e,i){const s=e===this.selectedIndex&&this.computedColor,n=this.isDisabled||this.getDisabled(t);return this.$createElement("div",this.setTextColor(s,{staticClass:"v-select__selection v-select__selection--comma",class:{"v-select__selection--disabled":n},key:JSON.stringify(this.getValue(t))}),`${this.getText(t)}${i?"":", "}`)},genDefaultSlot(){const t=this.genSelections(),e=this.genInput();return Array.isArray(t)?t.push(e):(t.children=t.children||[],t.children.push(e)),[this.genFieldset(),this.$createElement("div",{staticClass:"v-select__slot",directives:this.directives},[this.genLabel(),this.prefix?this.genAffix("prefix"):null,t,this.suffix?this.genAffix("suffix"):null,this.genClearIcon(),this.genIconSlot(),this.genHiddenInput()]),this.genMenu(),this.genProgress()]},genIcon(t,e,i){const s=Ns.options.methods.genIcon.call(this,t,e,i);return"append"===t&&(s.children[0].data=ze(s.children[0].data,{attrs:{tabindex:s.children[0].componentOptions.listeners&&"-1","aria-hidden":"true","aria-label":void 0}})),s},genInput(){const t=sn.options.methods.genInput.call(this);return delete t.data.attrs.name,t.data=ze(t.data,{domProps:{value:null},attrs:{readonly:!0,type:"text","aria-readonly":String(this.isReadonly),"aria-activedescendant":x(this.$refs.menu,"activeTile.id"),autocomplete:x(t.data,"attrs.autocomplete","off"),placeholder:this.isDirty||!this.persistentPlaceholder&&!this.isFocused&&this.hasLabel?void 0:this.placeholder},on:{keypress:this.onKeyPress}}),t},genHiddenInput(){return this.$createElement("input",{domProps:{value:this.lazyValue},attrs:{type:"hidden",name:this.attrs$.name}})},genInputSlot(){const t=sn.options.methods.genInputSlot.call(this);return t.data.attrs={...t.data.attrs,role:"button","aria-haspopup":"listbox","aria-expanded":String(this.isMenuActive),"aria-owns":this.computedOwns},t},genList(){return this.$slots["no-data"]||this.$slots["prepend-item"]||this.$slots["append-item"]?this.genListWithSlot():this.staticList},genListWithSlot(){const t=["prepend-item","no-data","append-item"].filter(t=>this.$slots[t]).map(t=>this.$createElement("template",{slot:t},this.$slots[t]));return this.$createElement(Ms,{...this.listData},t)},genMenu(){const t=this.$_menuProps;return t.activator=this.$refs["input-slot"],""===this.attach||!0===this.attach||"attach"===this.attach?t.attach=this.$el:t.attach=this.attach,this.$createElement(us,{attrs:{role:void 0},props:t,on:{input:t=>{this.isMenuActive=t,this.isFocused=t},scroll:this.onScroll},ref:"menu"},[this.genList()])},genSelections(){let t=this.selectedItems.length;const e=new Array(t);let i;i=this.$scopedSlots.selection?this.genSlotSelection:this.hasChips?this.genChipSelection:this.genCommaSelection;while(t--)e[t]=i(this.selectedItems[t],t,t===e.length-1);return this.$createElement("div",{staticClass:"v-select__selections"},e)},genSlotSelection(t,e){return this.$scopedSlots.selection({attrs:{class:"v-chip--select"},parent:this,item:t,index:e,select:t=>{t.stopPropagation(),this.selectedIndex=e},selected:e===this.selectedIndex,disabled:!this.isInteractive})},getMenuIndex(){return this.$refs.menu?this.$refs.menu.listIndex:-1},getDisabled(t){return C(t,this.itemDisabled,!1)},getText(t){return C(t,this.itemText,t)},getValue(t){return C(t,this.itemValue,this.getText(t))},onBlur(t){t&&this.$emit("blur",t)},onChipInput(t){this.multiple?this.selectItem(t):this.setValue(null),0===this.selectedItems.length?this.isMenuActive=!0:this.isMenuActive=!1,this.selectedIndex=-1},onClick(t){this.isInteractive&&(this.isAppendInner(t.target)||(this.isMenuActive=!0),this.isFocused||(this.isFocused=!0,this.$emit("focus")),this.$emit("click",t))},onEscDown(t){t.preventDefault(),this.isMenuActive&&(t.stopPropagation(),this.isMenuActive=!1)},onKeyPress(t){if(this.multiple||!this.isInteractive||this.disableLookup)return;const e=1e3,i=performance.now();i-this.keyboardLookupLastTime>e&&(this.keyboardLookupPrefix=""),this.keyboardLookupPrefix+=t.key.toLowerCase(),this.keyboardLookupLastTime=i;const s=this.allItems.findIndex(t=>{var e;const i=(null!==(e=this.getText(t))&&void 0!==e?e:"").toString();return i.toLowerCase().startsWith(this.keyboardLookupPrefix)}),n=this.allItems[s];-1!==s&&(this.lastItem=Math.max(this.lastItem,s+5),this.setValue(this.returnObject?n:this.getValue(n)),this.$nextTick(()=>this.$refs.menu.getTiles()),setTimeout(()=>this.setMenuIndex(s)))},onKeyDown(t){if(this.isReadonly&&t.keyCode!==D.tab)return;const e=t.keyCode,i=this.$refs.menu;return this.$emit("keydown",t),i?(this.isMenuActive&&[D.up,D.down,D.home,D.end,D.enter].includes(e)&&this.$nextTick(()=>{i.changeListIndex(t),this.$emit("update:list-index",i.listIndex)}),[D.enter,D.space].includes(e)&&this.activateMenu(),!this.isMenuActive&&[D.up,D.down,D.home,D.end].includes(e)?this.onUpDown(t):e===D.esc?this.onEscDown(t):e===D.tab?this.onTabDown(t):e===D.space?this.onSpaceDown(t):void 0):void 0},onMenuActiveChange(t){if(this.multiple&&!t||this.getMenuIndex()>-1)return;const e=this.$refs.menu;if(e&&this.isDirty){this.$refs.menu.getTiles();for(let t=0;t<e.tiles.length;t++)if("true"===e.tiles[t].getAttribute("aria-selected")){this.setMenuIndex(t);break}}},onMouseUp(t){this.hasMouseDown&&3!==t.which&&this.isInteractive&&this.isAppendInner(t.target)&&this.$nextTick(()=>this.isMenuActive=!this.isMenuActive),sn.options.methods.onMouseUp.call(this,t)},onScroll(){if(this.isMenuActive){if(this.lastItem>this.computedItems.length)return;const t=this.getContent().scrollHeight-(this.getContent().scrollTop+this.getContent().clientHeight)<200;t&&(this.lastItem+=20)}else requestAnimationFrame(()=>this.getContent().scrollTop=0)},onSpaceDown(t){t.preventDefault()},onTabDown(t){const e=this.$refs.menu;if(!e)return;const i=e.activeTile;!this.multiple&&i&&this.isMenuActive?(t.preventDefault(),t.stopPropagation(),i.click()):this.blur(t)},onUpDown(t){const e=this.$refs.menu;if(!e)return;if(t.preventDefault(),this.multiple)return this.activateMenu();const i=t.keyCode;e.isBooted=!0,window.requestAnimationFrame(()=>{if(e.getTiles(),!e.hasClickableTiles)return this.activateMenu();switch(i){case D.up:e.prevTile();break;case D.down:e.nextTile();break;case D.home:e.firstTile();break;case D.end:e.lastTile();break}this.selectItem(this.allItems[this.getMenuIndex()])})},selectItem(t){if(this.multiple){const e=(this.internalValue||[]).slice(),i=this.findExistingIndex(t);if(-1!==i?e.splice(i,1):e.push(t),this.setValue(e.map(t=>this.returnObject?t:this.getValue(t))),this.hideSelected)this.setMenuIndex(-1);else{const e=this.allItems.indexOf(t);~e&&(this.$nextTick(()=>this.$refs.menu.getTiles()),setTimeout(()=>this.setMenuIndex(e)))}}else this.setValue(this.returnObject?t:this.getValue(t)),this.isMenuActive=!1},setMenuIndex(t){this.$refs.menu&&(this.$refs.menu.listIndex=t)},setSelectedItems(){const t=[],e=this.multiple&&Array.isArray(this.internalValue)?this.internalValue:[this.internalValue];for(const i of e){const e=this.allItems.findIndex(t=>this.valueComparator(this.getValue(t),this.getValue(i)));e>-1&&t.push(this.allItems[e])}this.selectedItems=t},setValue(t){this.valueComparator(t,this.internalValue)||(this.internalValue=t,this.$emit("change",t))},isAppendInner(t){const e=this.$refs["append-inner"];return e&&(e===t||e.contains(t))}}}),ln=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("i",t._g(t._b({ref:"el",class:t.classes,attrs:{size:t.$props.size}},"i",t.$attrs,!1),t.$listeners))},un=[];const cn=["xs","sm","md","lg","xl"];var hn=u.a.extend({name:"farm-icon",inheritAttrs:!0,props:{color:{type:String,default:"primary"},size:{type:String,default:"default"}},data(){return{icon:""}},computed:{classes(){const t={};return{"farm-icon":!0,["farm-icon--"+this.color]:!0,mdi:!0,["mdi-"+this.icon]:!0,...t}},fontSize(){return isNaN(this.size)?this.size:this.size+"px"}},mounted(){"default"===this.size||cn.includes(this.size)||(this.$el.style.fontSize=this.fontSize)},created(){this.checkForSlotContent()},beforeUpdate(){this.checkForSlotContent()},methods:{checkForSlotContent(){this.$slots.default?this.icon=this.$slots.default[0].text.trim():this.icon=""}}}),dn=hn,pn=(i("39da"),Me(dn,ln,un,!1,null,"fc12ac78",null)),fn=pn.exports,mn=fn,gn=u.a.extend({name:"farm-datatable-paginator",props:{perPageOptions:{type:Array,default:()=>[5,10,20,50,100]},page:null,totalPages:null,disabled:{type:Boolean,default:!1},hidePerPageOptions:{type:Boolean,default:!1},initialLimitPerPage:{type:Number,default:10}},methods:{range(t,e){const i=[];t=t>0?t:1;for(let s=t;s<=e;s++)i.push(s);return i},previousPage(){this.currentPage--},nextPage(){this.currentPage++}},data(){return{selectedLimit:this.initialLimitPerPage,currentPage:this.page}},computed:{perPageBuiltItems:function(){return this.perPageOptions.map(t=>({text:t+" registros por página",value:t}))},itemsInPagination:function(){const t=7;if(this.totalPages<=t)return this.range(1,this.totalPages);const e=t%2===0?1:0,i=Math.floor(t/2),s=this.totalPages-i+1+e;if(this.currentPage>i&&this.currentPage<s){const t=1,s=this.totalPages,n=this.currentPage-i+2,r=this.currentPage+i-2-e,a=n-1===t+1?2:"...",o=r+1===s-1?r+1:"...";return[1,a,...this.range(n,r),o,this.totalPages]}if(this.currentPage===i){const t=this.currentPage+i-1-e;return[...this.range(1,t),"...",this.totalPages]}if(this.currentPage===s){const t=this.currentPage-i+1;return[1,"...",...this.range(t,this.totalPages)]}return[...this.range(1,i),"...",...this.range(s,this.totalPages)]}},watch:{selectedLimit(t){this.$emit("onChangeLimitPerPage",t)},currentPage(t){this.$emit("onChangePage",t)},page(t){this.currentPage=t},initialLimitPerPage(t){this.selectedLimit=t}},components:{VSelect:on,"farm-icon":mn}}),vn=gn,bn=(i("afa9"),Me(vn,Fe,Ve,!1,null,"1481cadd",null)),yn=bn.exports,_n=yn,xn=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("thead",[e("tr",t._l(t.headers,(function(i,s){return e("th",{key:i.value,class:[i.sortable?"sortable":"",t.sortClick[s].clicked?"active":"",i.sortable?"DESC"===t.sortClick[s].descending?"DESC":"ASC":""],style:{textAlign:i.align?i.align:"",width:t.thWidth(i),minWidth:t.thWidth(i)},on:{click:function(e){i.sortable&&t.clickSort(i.value,s)},mouseover:function(e){return t.changeShow(s)},mouseout:function(e){return t.changeHidden(s)}}},[t.isTHDataTableSelect(i)?t._e():e("span",{staticClass:"header-text"},[t._v(" "+t._s(i.text)+" "),i.sortable&&t.sortClick[s].show?e("farm-icon",{class:[t.sortClick[s][i.value]?"farm-icon--desc":"farm-icon--asc"],attrs:{size:"sm",color:"gray"}},[t._v(" sort-descending ")]):t._e()],1),t.isTHDataTableSelect(i)&&t.showCheckbox?e("span",[e("v-simple-checkbox",{attrs:{indeterminate:t.headerProps.someItems&&!t.headerProps.everyItem},on:{input:t.selectAll},model:{value:t.inputVal,callback:function(e){t.inputVal=e},expression:"inputVal"}})],1):t._e()])})),0)])},Cn=[],Sn=u.a.extend({name:"farm-datatable-header",components:{VSimpleCheckbox:cs},props:{headers:{type:Array,required:!0},sortClick:{type:Array,required:!0},firstSelected:{type:Boolean,default:!1},selectedIndex:{type:Number,default:0},value:{default:!1},headerProps:{type:Object},showCheckbox:{default:!0}},computed:{inputVal:{get(){return this.value},set(t){this.$emit("input",t)}}},methods:{getTypeSort(t){return t?"DESC":"ASC"},clickSort(t,e){this.removeClicked(),this.sortClick[e].clicked=!0,this.sortClick[e].show=!0,this.sortClick[e][t]=!this.sortClick[e][t],this.sortClick[e].descending=this.getTypeSort(this.sortClick[e][t]),this.$emit("onClickSort",this.sortClick[e])},changeShow(t){setTimeout(()=>{this.sortClick[t].show=!0},10)},changeHidden(t){setTimeout(()=>{this.sortClick[t].clicked||(this.sortClick[t].show=!1)},10)},removeClicked(){for(let t=0;t<this.sortClick.length;t+=1)this.sortClick[t].clicked=!1,this.sortClick[t].show=!1},checkFirstSelected(t){return t===this.selectedIndex&&this.firstSelected},thWidth(t){return this.isTHDataTableSelect(t)?"64px":t.width?t.width+"px":"auto"},isTHDataTableSelect(t){return"data-table-select"===t.value},selectAll(t){this.$emit("toggleSelectAll",t),this.inputVal=t}},created(){for(let t=0;t<this.headers.length;t+=1)this.sortClick.push({[this.headers[t].value]:!1,descending:"ASC",field:this.headers[t].value,clicked:this.checkFirstSelected(t),show:this.checkFirstSelected(t)})}}),$n=Sn,wn=(i("e268"),Me($n,xn,Cn,!1,null,"6a78d670",null)),kn=wn.exports,On=kn,Pn=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("section",{class:{"justify-end":!0===t.justifyEnd}},[t.hasInitialInput?e("fieldset",[e("farm-label",{attrs:{for:t.elementId}},[t._v(" "+t._s(t.label)+" ")]),e("farm-textfield",{attrs:{id:t.elementId},on:{keyup:t.onKeyUp},model:{value:t.inputValue,callback:function(e){t.inputValue=e},expression:"inputValue"}})],1):t._e(),t.hasExtraFilters?e("farm-btn",{staticClass:"farm-btn--responsive mt-14 mt-sm-8",attrs:{color:"secondary"},on:{click:t.onFilterClick}},[e("farm-icon",{staticClass:"mr-2"},[t._v(t._s(t.extraFiltersBtnIcon))]),t._v(" "+t._s(t.extraFiltersBtnLabel)+" ")],1):t._e()],1)},In=[],Ln=u.a.extend({name:"farm-form-mainfilter",props:{hasExtraFilters:{type:Boolean,default:!0},hasInitialInput:{type:Boolean,default:!0},justifyEnd:{type:Boolean,default:!1},label:{type:String,default:"Quer localizar um cliente?"},elementId:{type:String,default:"form-main-filter-search"},initialValue:{type:String,default:""},showFilters:{type:Boolean,default:!1}},watch:{initialValue(t){this.inputValue=t}},computed:{extraFiltersBtnLabel(){return(this.showFilters?"Esconder":"Ver")+" Filtros"},extraFiltersBtnIcon(){return this.showFilters?"filter-off":"filter"}},data(){return{timer:null,inputValue:this.initialValue}},methods:{onFilterClick(){this.$emit("onClick")},onKeyUp(t){const e=t.keyCode;return 13===e?(this.$emit("onEnter",t.target.value),!1):!(e<48&&8!==e&&46!==e||e>90&&e<96&&91!==e||e>105&&e<186)&&(this.timer&&(clearTimeout(this.timer),this.timer=null),void(this.timer=setTimeout(()=>{this.$emit("onInputChange",t.target.value)},750)))}}}),Dn=Ln,An=(i("787b"),Me(Dn,Pn,In,!1,null,"42f03a65",null)),Mn=An.exports,Tn=Mn,Bn=function(){var t=this,e=t._self._c;t._self._setupProxy;return"overlay"===t.mode?e("div",{staticClass:"farm-loader__overlay",style:t.styleObject},[e("span",{staticClass:"farm-loader__spinner farm-loader__spinner--big"})]):e("div",[e("span",{staticClass:"farm-loader__spinner farm-loader__spinner--big-border",class:t.calculateSize})])},En=[],Fn=u.a.extend({name:"farm-loader",props:{mode:{type:String,default:"inline"},size:{type:String,default:"normal"}},data(){const t=Math.max(...Array.from(document.querySelectorAll("body *"),t=>parseFloat(window.getComputedStyle(t).zIndex)).filter(t=>!Number.isNaN(t)),0);return{styleObject:{zIndex:t}}},computed:{calculateSize(){return"small"===this.size?"loader--small":""}}}),Vn=Fn,jn=(i("0cc0"),Me(Vn,Bn,En,!1,null,"e153ff08",null)),Rn=jn.exports,zn=Rn,Nn=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("section",{ref:"container",attrs:{id:"droparea-container"}},[e("input",{attrs:{type:"file",name:"file",accept:t.acceptedFileTypes},on:{change:function(e){return t.fileChange(e.target.files)}}}),t.selectedFile?t._e():e("div",{staticClass:"selectfile-container"},[e("farm-icon",{attrs:{color:"secondary"}},[t._v("cloud-upload")]),e("p",[t._v("Clique para selecionar ou arraste o arquivo aqui")])],1),t.selectedFile||t.maxSizeReach?e("div",{staticClass:"reset-container"},[t.selectedFile?e("div",[e("farm-icon",[t._v("file")]),t._v(" Arquivo selecionado: "+t._s(t.selectedFile.name)+" ("+t._s(Math.floor(t.selectedFile.size/1024))+"kB) ")],1):t._e(),t.maxSizeReach?e("p",{domProps:{innerHTML:t._s(t.maxSizeReachMsg)}}):t._e(),e("farm-btn",{staticClass:"farm-btn--responsive",attrs:{outlined:"",color:"secondary",title:"Escolher outro"},on:{click:t.reset}},[t._v(" Escolher outro ")])],1):t._e()])},Hn=[],Wn=function(){var t=this,e=t._self._c;t._self._setupProxy;return t.to?e("router-link",t._b({class:t.classes,attrs:{to:t.to,disabled:t.disabled}},"router-link",t.$attrs,!1),[e("span",{staticClass:"farm-btn__content"},[t._t("default")],2)]):e("button",t._g(t._b({class:t.classes,attrs:{disabled:t.disabled,type:t.type,size:t.$props.size}},"button",t.$attrs,!1),t.$listeners),[e("span",{staticClass:"farm-btn__content"},[t._t("default")],2)])},qn=[],Un=u.a.extend({name:"farm-btn",inheritAttrs:!0,props:{color:{type:String,default:"primary"},outlined:{type:Boolean,default:!1},plain:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},rounded:{type:Boolean,default:!1},icon:{type:Boolean,default:!1},elevated:{type:Boolean,default:!1},type:{type:String,default:"button"},to:{type:String,default:null},size:{type:String,default:"default"}},computed:{classes(){const t={};return["outlined","plain","disabled"].filter(t=>this[t]).forEach(e=>{t["farm-btn--"+e]=this[e]}),{"farm-btn":!0,"farm-btn--elevated":this.elevated,"farm-btn--round":this.isRound,"farm-btn--rounded":this.rounded,"farm-btn--icon":this.icon,["farm-btn--"+this.color]:!0,...t}},isRound(){return Boolean(this.icon||this.fab)}}}),Yn=Un,Zn=(i("a2e1"),Me(Yn,Wn,qn,!1,null,"a62da412",null)),Kn=Zn.exports,Gn=Kn,Xn=u.a.extend({name:"farm-filepicker",props:{acceptedFileTypes:{type:String,default:"*"},maxFileSize:{default:null}},data(){return{selectedFile:null,dropArea:null,maxSizeReach:!1}},computed:{maxSizeReachMsg(){return`Arquivo ultrapassou o tamanho máximo de ${this.maxFileSize}MB`}},mounted(){this.dropArea=this.$refs.container,this.addListeners()},methods:{reset(){this.$refs.container.querySelector("input").value="",this.$emit("onReset"),this.maxSizeReach=!1,this.selectedFile=null},fileChange(t){if(this.maxSizeReach=!1,t.length&&!(t.length>1)){if(this.maxFileSize){const e=t[0].size/1048576;if(e>this.maxFileSize)return void(this.maxSizeReach=!0)}this.selectedFile=t[0],this.$emit("onFileChange",this.selectedFile)}},handlerFunctionHighlight(){this.dropArea.classList.add("highlight")},handlerFunctionUnhighlight(){this.dropArea.classList.remove("highlight")},addListeners(){this.dropArea.addEventListener("dragenter",this.handlerFunctionHighlight,!1),this.dropArea.addEventListener("dragleave",this.handlerFunctionUnhighlight,!1),this.dropArea.addEventListener("dragover",this.handlerFunctionHighlight,!1),this.dropArea.addEventListener("drop",this.handlerFunctionUnhighlight,!1)}},components:{"farm-btn":Gn,"farm-icon":mn}}),Jn=Xn,Qn=(i("2e45"),Me(Jn,Nn,Hn,!1,null,"f5ce4d8a",null)),tr=Qn.exports,er=tr,ir=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("section",{ref:"container",attrs:{id:"droparea-container"}},[e("input",{ref:"upload",class:{"hidden-input":t.hasFiles},attrs:{type:"file",name:"file",accept:t.acceptedFileTypes,multiple:""},on:{change:function(e){return t.fileChange(e.target.files)}}}),t.hasFiles?t._e():e("div",{staticClass:"selectfile-container"},[e("farm-icon",{staticClass:"upload-icon",attrs:{color:"secondary",size:"lg"},on:{click:t.addMoreFiles}},[t._v("cloud-upload")]),e("p",[t._v("Clique para selecionar ou arraste o arquivo aqui")])],1),t.downloadFiles.length?e("ul",{staticClass:"listFilesStyled listFilesStyled--download",class:{"listFilesStyled--margin-bottom":0===t.files.length}},t._l(t.downloadFiles,(function(i){return e("li",{key:i.id,staticClass:"itemFilesStyled"},[e("div",{staticClass:"itemFilesContentStyled"},[e("div",{staticClass:"fileDocumentStyled"},[e("farm-icon",{attrs:{color:"white",size:"md"}},[t._v("file")])],1),e("div",[e("span",{attrs:{clas:"textStyled"}},[t._v(" Arquivo selecionado: "+t._s(i.name)+" ("+t._s(t.sizeOf(i.size))+") ")])])]),e("div",{staticClass:"itemFilesContentButtonStyled"},[e("farm-btn",{staticClass:"download-button",attrs:{plain:"",title:"Baixar Arquivo"},on:{click:function(e){return e.preventDefault(),t.onDownload(i.id)}}},[e("farm-icon",{staticClass:"download-button__icon mr-sm-3",attrs:{size:"md"}},[t._v("download")]),e("span",{staticClass:"download-button__text"},[t._v("Baixar Arquivo")])],1)],1)])})),0):t._e(),t.files.length>0?e("ul",{staticClass:"listFilesStyled"},t._l(t.files,(function(i,s){return e("li",{key:s,staticClass:"itemFilesStyled"},[e("div",{staticClass:"itemFilesContentStyled"},[e("div",{staticClass:"fileDocumentStyled"},[e("farm-icon",{attrs:{color:"white",size:"md"}},[t._v("file")])],1),e("div",[e("span",{attrs:{clas:"textStyled"}},[t._v(" Arquivo selecionado: "+t._s(i.name)+" ("+t._s(t.sizeOf(i.size))+") ")])])]),e("div",{staticClass:"itemFilesContentButtonStyled"},[e("span",{staticClass:"mdi mdi-close",attrs:{"aria-role":"button",title:"Remover"},on:{click:function(e){return e.preventDefault(),t.remove(s)}}}),i.success?e("span",{staticClass:"mdi mdi-check"}):t._e()])])})),0):t._e(),t.hasFiles?e("farm-btn",{staticClass:"farm-btn--responsive",attrs:{depressed:"",outlined:"",title:"Escolher Outro",color:"gray",disabled:t.disabledButton},on:{click:t.addMoreFiles}},[t._v(" Escolher Outro ")]):t._e()],1)},sr=[],nr=i("0556"),rr=u.a.extend({name:"farm-multiple-filepicker",components:{"farm-btn":Gn,"farm-icon":mn},props:{acceptedFileTypes:{type:String,default:"*"},maxFileSize:{default:0},maxFilesNumber:{type:Number,default:0},downloadFiles:{type:Array,default:()=>[]}},data(){return{dropArea:null,files:[],sizeOf:nr["sizeOf"]}},computed:{hasFiles(){return this.files.length>0||this.downloadFiles.length>0},filesLength(){return this.files.length+this.downloadFiles.length},disabledButton(){return 0!==this.maxFilesNumber&&this.filesLength>=this.maxFilesNumber}},mounted(){this.dropArea=this.$refs.container,this.addListeners()},methods:{addMoreFiles(){this.$refs.container.querySelector("input").click()},reset(){this.$refs.container.querySelector("input").value=""},fileChange(t){this.files.push(...t)},handlerFunctionHighlight(){this.dropArea.classList.add("highlight")},handlerFunctionUnhighlight(){this.dropArea.classList.remove("highlight")},addListeners(){this.dropArea.addEventListener("dragenter",this.handlerFunctionHighlight,!1),this.dropArea.addEventListener("dragleave",this.handlerFunctionUnhighlight,!1),this.dropArea.addEventListener("dragover",this.handlerFunctionHighlight,!1),this.dropArea.addEventListener("drop",this.handlerFunctionUnhighlight,!1)},remove(t){1===this.files.length&&this.reset(),this.files.splice(t,1)},onDownload(t){this.$emit("onDownload",t)}},watch:{files(t){if(0===t.length&&0===this.downloadFiles.length)return void this.$emit("onFileChange",t);const e=t.filter(t=>"*"!==this.acceptedFileTypes&&-1===this.acceptedFileTypes.indexOf(t.type));if(e.length>0){const e=t.filter(t=>-1!==this.acceptedFileTypes.indexOf(t.type));this.files=e}else{if(this.maxFilesNumber&&t.length+this.downloadFiles.length>this.maxFilesNumber)return this.files=t.slice(0,this.maxFilesNumber-this.downloadFiles.length),void this.$emit("onMaxFilesNumberWarning");if(this.maxFileSize>0){const e=t.filter(t=>{const e=t.size/1048576;return e>this.maxFileSize});if(e.length>0)return this.files=t.filter(t=>{const e=t.size/1048576;return e<this.maxFileSize}),void this.$emit("onMaxFileSizeWarning")}this.$emit("onFileChange",this.files)}}}}),ar=rr,or=(i("6336"),Me(ar,ir,sr,!1,null,"d94d64a2",null)),lr=or.exports,ur=lr,cr=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("v-tabs",{attrs:{color:"secondary"},model:{value:t.selected,callback:function(e){t.selected=e},expression:"selected"}},t._l(t.tabs,(function(i,s){return e("v-tab",{key:s,class:{hideCounter:!t.showCounter},attrs:{disabled:!t.allowUserChange},on:{change:function(e){return t.changeTab(i,s)}}},[t.showCounter?e("div",{staticClass:"pl-3 pr-3 pt-2 pb-2 mr-2 rounded-circle d-inline-block white--text",class:{"is-selected":t.isSelected(s)}},[e("span",[t._v(t._s(s+1))])]):t._e(),e("span",{staticClass:"black--text text-capitalize"},[t._v(t._s(i.name))])])})),1)},hr=[],dr=(i("1bfb"),i("608c"),u.a.extend({name:"mobile",props:{mobileBreakpoint:{type:[Number,String],default(){return this.$vuetify?this.$vuetify.breakpoint.mobileBreakpoint:void 0},validator:t=>!isNaN(Number(t))||["xs","sm","md","lg","xl"].includes(String(t))}},computed:{isMobile(){const{mobile:t,width:e,name:i,mobileBreakpoint:s}=this.$vuetify.breakpoint;if(s===this.mobileBreakpoint)return t;const n=parseInt(this.mobileBreakpoint,10),r=!isNaN(n);return r?e<n:i===this.mobileBreakpoint}},created(){this.$attrs.hasOwnProperty("mobile-break-point")&&pe("mobile-break-point","mobile-breakpoint",this)}}));const pr=t=>{const{touchstartX:e,touchendX:i,touchstartY:s,touchendY:n}=t,r=.5,a=16;t.offsetX=i-e,t.offsetY=n-s,Math.abs(t.offsetY)<r*Math.abs(t.offsetX)&&(t.left&&i<e-a&&t.left(t),t.right&&i>e+a&&t.right(t)),Math.abs(t.offsetX)<r*Math.abs(t.offsetY)&&(t.up&&n<s-a&&t.up(t),t.down&&n>s+a&&t.down(t))};function fr(t,e){const i=t.changedTouches[0];e.touchstartX=i.clientX,e.touchstartY=i.clientY,e.start&&e.start(Object.assign(t,e))}function mr(t,e){const i=t.changedTouches[0];e.touchendX=i.clientX,e.touchendY=i.clientY,e.end&&e.end(Object.assign(t,e)),pr(e)}function gr(t,e){const i=t.changedTouches[0];e.touchmoveX=i.clientX,e.touchmoveY=i.clientY,e.move&&e.move(Object.assign(t,e))}function vr(t){const e={touchstartX:0,touchstartY:0,touchendX:0,touchendY:0,touchmoveX:0,touchmoveY:0,offsetX:0,offsetY:0,left:t.left,right:t.right,up:t.up,down:t.down,start:t.start,move:t.move,end:t.end};return{touchstart:t=>fr(t,e),touchend:t=>mr(t,e),touchmove:t=>gr(t,e)}}function br(t,e,i){const s=e.value,n=s.parent?t.parentElement:t,r=s.options||{passive:!0};if(!n)return;const a=vr(e.value);n._touchHandlers=Object(n._touchHandlers),n._touchHandlers[i.context._uid]=a,M(a).forEach(t=>{n.addEventListener(t,a[t],r)})}function yr(t,e,i){const s=e.value.parent?t.parentElement:t;if(!s||!s._touchHandlers)return;const n=s._touchHandlers[i.context._uid];M(n).forEach(t=>{s.removeEventListener(t,n[t])}),delete s._touchHandlers[i.context._uid]}const _r={inserted:br,unbind:yr};var xr=_r;function Cr(t){const e=.501,i=Math.abs(t);return Math.sign(t)*(i/((1/e-2)*(1-i)+1))}function Sr(t,e,i,s){const n=t.clientWidth,r=i?e.content-t.offsetLeft-n:t.offsetLeft;i&&(s=-s);const a=e.wrapper+s,o=n+r,l=.4*n;return r<=s?s=Math.max(r-l,0):a<=o&&(s=Math.min(s-(a-o-l),e.content-e.wrapper)),i?-s:s}function $r(t,e,i){const{offsetLeft:s,clientWidth:n}=t;if(i){const t=e.content-s-n/2-e.wrapper/2;return-Math.min(e.content-e.wrapper,Math.max(0,t))}{const t=s+n/2-e.wrapper/2;return Math.min(e.content-e.wrapper,Math.max(0,t))}}const wr=ke(Ps,dr).extend({name:"base-slide-group",directives:{Resize:as,Touch:xr},props:{activeClass:{type:String,default:"v-slide-item--active"},centerActive:Boolean,nextIcon:{type:String,default:"$next"},prevIcon:{type:String,default:"$prev"},showArrows:{type:[Boolean,String],validator:t=>"boolean"===typeof t||["always","desktop","mobile"].includes(t)}},data:()=>({isOverflowing:!1,resizeTimeout:0,startX:0,isSwipingHorizontal:!1,isSwiping:!1,scrollOffset:0,widths:{content:0,wrapper:0}}),computed:{canTouch(){return"undefined"!==typeof window},__cachedNext(){return this.genTransition("next")},__cachedPrev(){return this.genTransition("prev")},classes(){return{...Ps.options.computed.classes.call(this),"v-slide-group":!0,"v-slide-group--has-affixes":this.hasAffixes,"v-slide-group--is-overflowing":this.isOverflowing}},hasAffixes(){switch(this.showArrows){case"always":return!0;case"desktop":return!this.isMobile;case!0:return this.isOverflowing||Math.abs(this.scrollOffset)>0;case"mobile":return this.isMobile||this.isOverflowing||Math.abs(this.scrollOffset)>0;default:return!this.isMobile&&(this.isOverflowing||Math.abs(this.scrollOffset)>0)}},hasNext(){if(!this.hasAffixes)return!1;const{content:t,wrapper:e}=this.widths;return t>Math.abs(this.scrollOffset)+e},hasPrev(){return this.hasAffixes&&0!==this.scrollOffset}},watch:{internalValue:"setWidths",isOverflowing:"setWidths",scrollOffset(t){this.$vuetify.rtl&&(t=-t);let e=t<=0?Cr(-t):t>this.widths.content-this.widths.wrapper?-(this.widths.content-this.widths.wrapper)+Cr(this.widths.content-this.widths.wrapper-t):-t;this.$vuetify.rtl&&(e=-e),this.$refs.content.style.transform=`translateX(${e}px)`}},mounted(){if("undefined"!==typeof ResizeObserver){const t=new ResizeObserver(()=>{this.onResize()});t.observe(this.$el),t.observe(this.$refs.content),this.$on("hook:destroyed",()=>{t.disconnect()})}else{let t=0;this.$on("hook:beforeUpdate",()=>{var e;t=((null===(e=this.$refs.content)||void 0===e?void 0:e.children)||[]).length}),this.$on("hook:updated",()=>{var e;t!==((null===(e=this.$refs.content)||void 0===e?void 0:e.children)||[]).length&&this.setWidths()})}},methods:{onScroll(){this.$refs.wrapper.scrollLeft=0},onFocusin(t){if(this.isOverflowing)for(const e of G(t))for(const t of this.items)if(t.$el===e)return void(this.scrollOffset=Sr(t.$el,this.widths,this.$vuetify.rtl,this.scrollOffset))},genNext(){const t=this.$scopedSlots.next?this.$scopedSlots.next({}):this.$slots.next||this.__cachedNext;return this.$createElement("div",{staticClass:"v-slide-group__next",class:{"v-slide-group__next--disabled":!this.hasNext},on:{click:()=>this.onAffixClick("next")},key:"next"},[t])},genContent(){return this.$createElement("div",{staticClass:"v-slide-group__content",ref:"content",on:{focusin:this.onFocusin}},this.$slots.default)},genData(){return{class:this.classes,directives:[{name:"resize",value:this.onResize}]}},genIcon(t){let e=t;this.$vuetify.rtl&&"prev"===t?e="next":this.$vuetify.rtl&&"next"===t&&(e="prev");const i=`${t[0].toUpperCase()}${t.slice(1)}`,s=this["has"+i];return this.showArrows||s?this.$createElement(Qe,{props:{disabled:!s}},this[e+"Icon"]):null},genPrev(){const t=this.$scopedSlots.prev?this.$scopedSlots.prev({}):this.$slots.prev||this.__cachedPrev;return this.$createElement("div",{staticClass:"v-slide-group__prev",class:{"v-slide-group__prev--disabled":!this.hasPrev},on:{click:()=>this.onAffixClick("prev")},key:"prev"},[t])},genTransition(t){return this.$createElement(Ke,[this.genIcon(t)])},genWrapper(){return this.$createElement("div",{staticClass:"v-slide-group__wrapper",directives:[{name:"touch",value:{start:t=>this.overflowCheck(t,this.onTouchStart),move:t=>this.overflowCheck(t,this.onTouchMove),end:t=>this.overflowCheck(t,this.onTouchEnd)}}],ref:"wrapper",on:{scroll:this.onScroll}},[this.genContent()])},calculateNewOffset(t,e,i,s){const n=i?-1:1,r=n*s+("prev"===t?-1:1)*e.wrapper;return n*Math.max(Math.min(r,e.content-e.wrapper),0)},onAffixClick(t){this.$emit("click:"+t),this.scrollTo(t)},onResize(){this._isDestroyed||this.setWidths()},onTouchStart(t){const{content:e}=this.$refs;this.startX=this.scrollOffset+t.touchstartX,e.style.setProperty("transition","none"),e.style.setProperty("willChange","transform")},onTouchMove(t){if(this.canTouch){if(!this.isSwiping){const e=t.touchmoveX-t.touchstartX,i=t.touchmoveY-t.touchstartY;this.isSwipingHorizontal=Math.abs(e)>Math.abs(i),this.isSwiping=!0}this.isSwipingHorizontal&&(this.scrollOffset=this.startX-t.touchmoveX,document.documentElement.style.overflowY="hidden")}},onTouchEnd(){if(!this.canTouch)return;const{content:t,wrapper:e}=this.$refs,i=t.clientWidth-e.clientWidth;t.style.setProperty("transition",null),t.style.setProperty("willChange",null),this.$vuetify.rtl?this.scrollOffset>0||!this.isOverflowing?this.scrollOffset=0:this.scrollOffset<=-i&&(this.scrollOffset=-i):this.scrollOffset<0||!this.isOverflowing?this.scrollOffset=0:this.scrollOffset>=i&&(this.scrollOffset=i),this.isSwiping=!1,document.documentElement.style.removeProperty("overflow-y")},overflowCheck(t,e){t.stopPropagation(),this.isOverflowing&&e(t)},scrollIntoView(){if(!this.selectedItem&&this.items.length){const t=this.items[this.items.length-1].$el.getBoundingClientRect(),e=this.$refs.wrapper.getBoundingClientRect();(this.$vuetify.rtl&&e.right<t.right||!this.$vuetify.rtl&&e.left>t.left)&&this.scrollTo("prev")}this.selectedItem&&(0===this.selectedIndex||!this.centerActive&&!this.isOverflowing?this.scrollOffset=0:this.centerActive?this.scrollOffset=$r(this.selectedItem.$el,this.widths,this.$vuetify.rtl):this.isOverflowing&&(this.scrollOffset=Sr(this.selectedItem.$el,this.widths,this.$vuetify.rtl,this.scrollOffset)))},scrollTo(t){this.scrollOffset=this.calculateNewOffset(t,{content:this.$refs.content?this.$refs.content.clientWidth:0,wrapper:this.$refs.wrapper?this.$refs.wrapper.clientWidth:0},this.$vuetify.rtl,this.scrollOffset)},setWidths(){window.requestAnimationFrame(()=>{if(this._isDestroyed)return;const{content:t,wrapper:e}=this.$refs;this.widths={content:t?t.clientWidth:0,wrapper:e?e.clientWidth:0},this.isOverflowing=this.widths.wrapper+1<this.widths.content,this.scrollIntoView()})}},render(t){return t("div",this.genData(),[this.genPrev(),this.genWrapper(),this.genNext()])}});wr.extend({name:"v-slide-group",provide(){return{slideGroup:this}}});var kr=u.a.extend({name:"ssr-bootable",data:()=>({isBooted:!1}),mounted(){window.requestAnimationFrame(()=>{this.$el.setAttribute("data-booted","true"),this.isBooted=!0})}}),Or=ke(wr,kr,$e).extend({name:"v-tabs-bar",provide(){return{tabsBar:this}},computed:{classes(){return{...wr.options.computed.classes.call(this),"v-tabs-bar":!0,"v-tabs-bar--is-mobile":this.isMobile,"v-tabs-bar--show-arrows":this.showArrows,...this.themeClasses}}},watch:{items:"callSlider",internalValue:"callSlider",$route:"onRouteChange"},methods:{callSlider(){this.isBooted&&this.$emit("call:slider")},genContent(){const t=wr.options.methods.genContent.call(this);return t.data=t.data||{},t.data.staticClass+=" v-tabs-bar__content",t},onRouteChange(t,e){if(this.mandatory)return;const i=this.items,s=t.path,n=e.path;let r=!1,a=!1;for(const o of i)if(o.to===n?a=!0:o.to===s&&(r=!0),r&&a)break;!r&&a&&(this.internalValue=void 0)}},render(t){const e=wr.options.render.call(this,t);return e.data.attrs={role:"tablist"},e}}),Pr=(i("13b3"),i("86cc"),_s),Ir=(i("8d4f"),_e.extend({name:"v-progress-circular",directives:{intersect:Zs},props:{button:Boolean,indeterminate:Boolean,rotate:{type:[Number,String],default:0},size:{type:[Number,String],default:32},width:{type:[Number,String],default:4},value:{type:[Number,String],default:0}},data:()=>({radius:20,isVisible:!0}),computed:{calculatedSize(){return Number(this.size)+(this.button?8:0)},circumference(){return 2*Math.PI*this.radius},classes(){return{"v-progress-circular--visible":this.isVisible,"v-progress-circular--indeterminate":this.indeterminate,"v-progress-circular--button":this.button}},normalizedValue(){return this.value<0?0:this.value>100?100:parseFloat(this.value)},strokeDashArray(){return Math.round(1e3*this.circumference)/1e3},strokeDashOffset(){return(100-this.normalizedValue)/100*this.circumference+"px"},strokeWidth(){return Number(this.width)/+this.size*this.viewBoxSize*2},styles(){return{height:P(this.calculatedSize),width:P(this.calculatedSize)}},svgStyles(){return{transform:`rotate(${Number(this.rotate)}deg)`}},viewBoxSize(){return this.radius/(1-Number(this.width)/+this.size)}},methods:{genCircle(t,e){return this.$createElement("circle",{class:"v-progress-circular__"+t,attrs:{fill:"transparent",cx:2*this.viewBoxSize,cy:2*this.viewBoxSize,r:this.radius,"stroke-width":this.strokeWidth,"stroke-dasharray":this.strokeDashArray,"stroke-dashoffset":e}})},genSvg(){const t=[this.indeterminate||this.genCircle("underlay",0),this.genCircle("overlay",this.strokeDashOffset)];return this.$createElement("svg",{style:this.svgStyles,attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:`${this.viewBoxSize} ${this.viewBoxSize} ${2*this.viewBoxSize} ${2*this.viewBoxSize}`}},t)},genInfo(){return this.$createElement("div",{staticClass:"v-progress-circular__info"},this.$slots.default)},onObserve(t,e,i){this.isVisible=i}},render(t){return t("div",this.setTextColor(this.color,{staticClass:"v-progress-circular",attrs:{role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":this.indeterminate?void 0:this.normalizedValue},class:this.classes,directives:[{name:"intersect",value:this.onObserve}],style:this.styles,on:this.$listeners}),[this.genSvg(),this.genInfo()])}})),Lr=Ir;const Dr=ke(Pr,Pi,Ri,xe,si("btnToggle"),ni("inputValue"));var Ar=Dr.extend().extend({name:"v-btn",props:{activeClass:{type:String,default(){return this.btnToggle?this.btnToggle.activeClass:""}},block:Boolean,depressed:Boolean,fab:Boolean,icon:Boolean,loading:Boolean,outlined:Boolean,plain:Boolean,retainFocusOnClick:Boolean,rounded:Boolean,tag:{type:String,default:"button"},text:Boolean,tile:Boolean,type:{type:String,default:"button"},value:null},data:()=>({proxyClass:"v-btn--active"}),computed:{classes(){return{"v-btn":!0,...Pi.options.computed.classes.call(this),"v-btn--absolute":this.absolute,"v-btn--block":this.block,"v-btn--bottom":this.bottom,"v-btn--disabled":this.disabled,"v-btn--is-elevated":this.isElevated,"v-btn--fab":this.fab,"v-btn--fixed":this.fixed,"v-btn--has-bg":this.hasBg,"v-btn--icon":this.icon,"v-btn--left":this.left,"v-btn--loading":this.loading,"v-btn--outlined":this.outlined,"v-btn--plain":this.plain,"v-btn--right":this.right,"v-btn--round":this.isRound,"v-btn--rounded":this.rounded,"v-btn--router":this.to,"v-btn--text":this.text,"v-btn--tile":this.tile,"v-btn--top":this.top,...this.themeClasses,...this.groupClasses,...this.elevationClasses,...this.sizeableClasses}},computedElevation(){if(!this.disabled)return bs.options.computed.computedElevation.call(this)},computedRipple(){var t;const e=!this.icon&&!this.fab||{circle:!0};return!this.disabled&&(null!==(t=this.ripple)&&void 0!==t?t:e)},hasBg(){return!this.text&&!this.plain&&!this.outlined&&!this.icon},isElevated(){return Boolean(!this.icon&&!this.text&&!this.outlined&&!this.depressed&&!this.disabled&&!this.plain&&(null==this.elevation||Number(this.elevation)>0))},isRound(){return Boolean(this.icon||this.fab)},styles(){return{...this.measurableStyles}}},created(){const t=[["flat","text"],["outline","outlined"],["round","rounded"]];t.forEach(([t,e])=>{this.$attrs.hasOwnProperty(t)&&fe(t,e,this)})},methods:{click(t){!this.retainFocusOnClick&&!this.fab&&t.detail&&this.$el.blur(),this.$emit("click",t),this.btnToggle&&this.toggle()},genContent(){return this.$createElement("span",{staticClass:"v-btn__content"},this.$slots.default)},genLoader(){return this.$createElement("span",{class:"v-btn__loader"},this.$slots.loader||[this.$createElement(Lr,{props:{indeterminate:!0,size:23,width:2}})])}},render(t){const e=[this.genContent(),this.loading&&this.genLoader()],{tag:i,data:s}=this.generateRouteLink(),n=this.hasBg?this.setBackgroundColor:this.setTextColor;return"button"===i&&(s.attrs.type=this.type,s.attrs.disabled=this.disabled),s.attrs.value=["string","number"].includes(typeof this.value)?this.value:JSON.stringify(this.value),t(i,this.disabled?s:n(this.color,s),e)}}),Mr=Ar,Tr=Ps.extend({name:"v-window",directives:{Touch:xr},provide(){return{windowGroup:this}},props:{activeClass:{type:String,default:"v-window-item--active"},continuous:Boolean,mandatory:{type:Boolean,default:!0},nextIcon:{type:[Boolean,String],default:"$next"},prevIcon:{type:[Boolean,String],default:"$prev"},reverse:Boolean,showArrows:Boolean,showArrowsOnHover:Boolean,touch:Object,touchless:Boolean,value:{required:!1},vertical:Boolean},data(){return{changedByDelimiters:!1,internalHeight:void 0,transitionHeight:void 0,transitionCount:0,isBooted:!1,isReverse:!1}},computed:{isActive(){return this.transitionCount>0},classes(){return{...Ps.options.computed.classes.call(this),"v-window--show-arrows-on-hover":this.showArrowsOnHover}},computedTransition(){if(!this.isBooted)return"";const t=this.vertical?"y":"x",e=this.internalReverse?!this.isReverse:this.isReverse,i=e?"-reverse":"";return`v-window-${t}${i}-transition`},hasActiveItems(){return Boolean(this.items.find(t=>!t.disabled))},hasNext(){return this.continuous||this.internalIndex<this.items.length-1},hasPrev(){return this.continuous||this.internalIndex>0},internalIndex(){return this.items.findIndex((t,e)=>this.internalValue===this.getValue(t,e))},internalReverse(){return this.$vuetify.rtl?!this.reverse:this.reverse}},watch:{internalIndex(t,e){this.isReverse=this.updateReverse(t,e)}},mounted(){window.requestAnimationFrame(()=>this.isBooted=!0)},methods:{genDefaultSlot(){return this.$slots.default},genContainer(){const t=[this.genDefaultSlot()];return this.showArrows&&t.push(this.genControlIcons()),this.$createElement("div",{staticClass:"v-window__container",class:{"v-window__container--is-active":this.isActive},style:{height:this.internalHeight||this.transitionHeight}},t)},genIcon(t,e,i){var s,n,r;const a={click:t=>{t.stopPropagation(),this.changedByDelimiters=!0,i()}},o={"aria-label":this.$vuetify.lang.t("$vuetify.carousel."+t)},l=null!==(r=null===(n=(s=this.$scopedSlots)[t])||void 0===n?void 0:n.call(s,{on:a,attrs:o}))&&void 0!==r?r:[this.$createElement(Mr,{props:{icon:!0},attrs:o,on:a},[this.$createElement(Qe,{props:{large:!0}},e)])];return this.$createElement("div",{staticClass:"v-window__"+t},l)},genControlIcons(){const t=[],e=this.$vuetify.rtl?this.nextIcon:this.prevIcon;if(this.hasPrev&&e&&"string"===typeof e){const i=this.genIcon("prev",e,this.prev);i&&t.push(i)}const i=this.$vuetify.rtl?this.prevIcon:this.nextIcon;if(this.hasNext&&i&&"string"===typeof i){const e=this.genIcon("next",i,this.next);e&&t.push(e)}return t},getNextIndex(t){const e=(t+1)%this.items.length,i=this.items[e];return i.disabled?this.getNextIndex(e):e},getPrevIndex(t){const e=(t+this.items.length-1)%this.items.length,i=this.items[e];return i.disabled?this.getPrevIndex(e):e},next(){if(!this.hasActiveItems||!this.hasNext)return;const t=this.getNextIndex(this.internalIndex),e=this.items[t];this.internalValue=this.getValue(e,t)},prev(){if(!this.hasActiveItems||!this.hasPrev)return;const t=this.getPrevIndex(this.internalIndex),e=this.items[t];this.internalValue=this.getValue(e,t)},updateReverse(t,e){const i=this.items.length,s=i-1;return i<=2?t<e:t===s&&0===e||(0!==t||e!==s)&&t<e}},render(t){const e={staticClass:"v-window",class:this.classes,directives:[]};if(!this.touchless){const t=this.touch||{left:()=>{this.$vuetify.rtl?this.prev():this.next()},right:()=>{this.$vuetify.rtl?this.next():this.prev()},end:t=>{t.stopPropagation()},start:t=>{t.stopPropagation()}};e.directives.push({name:"touch",value:t})}return t("div",e,[this.genContainer()])}}),Br=Tr.extend({name:"v-tabs-items",props:{mandatory:{type:Boolean,default:!1}},computed:{classes(){return{...Tr.options.computed.classes.call(this),"v-tabs-items":!0}},isDark(){return this.rootIsDark}},methods:{getValue(t,e){return t.id||Ps.options.methods.getValue.call(this,t,e)}}}),Er=ke(_e).extend({name:"v-tabs-slider",render(t){return t("div",this.setBackgroundColor(this.color,{staticClass:"v-tabs-slider"}))}});const Fr=ke(_e,Os,$e);var Vr=Fr.extend().extend({name:"v-tabs",directives:{Resize:as},props:{activeClass:{type:String,default:""},alignWithTitle:Boolean,backgroundColor:String,centerActive:Boolean,centered:Boolean,fixedTabs:Boolean,grow:Boolean,height:{type:[Number,String],default:void 0},hideSlider:Boolean,iconsAndText:Boolean,mobileBreakpoint:[String,Number],nextIcon:{type:String,default:"$next"},optional:Boolean,prevIcon:{type:String,default:"$prev"},right:Boolean,showArrows:[Boolean,String],sliderColor:String,sliderSize:{type:[Number,String],default:2},vertical:Boolean},data(){return{resizeTimeout:0,slider:{height:null,left:null,right:null,top:null,width:null},transitionTime:300}},computed:{classes(){return{"v-tabs--align-with-title":this.alignWithTitle,"v-tabs--centered":this.centered,"v-tabs--fixed-tabs":this.fixedTabs,"v-tabs--grow":this.grow,"v-tabs--icons-and-text":this.iconsAndText,"v-tabs--right":this.right,"v-tabs--vertical":this.vertical,...this.themeClasses}},isReversed(){return this.$vuetify.rtl&&this.vertical},sliderStyles(){return{height:P(this.slider.height),left:this.isReversed?void 0:P(this.slider.left),right:this.isReversed?P(this.slider.right):void 0,top:this.vertical?P(this.slider.top):void 0,transition:null!=this.slider.left?null:"none",width:P(this.slider.width)}},computedColor(){return this.color?this.color:this.isDark&&!this.appIsDark?"white":"primary"}},watch:{alignWithTitle:"callSlider",centered:"callSlider",centerActive:"callSlider",fixedTabs:"callSlider",grow:"callSlider",iconsAndText:"callSlider",right:"callSlider",showArrows:"callSlider",vertical:"callSlider","$vuetify.application.left":"onResize","$vuetify.application.right":"onResize","$vuetify.rtl":"onResize"},mounted(){if("undefined"!==typeof ResizeObserver){const t=new ResizeObserver(()=>{this.onResize()});t.observe(this.$el),this.$on("hook:destroyed",()=>{t.disconnect()})}this.$nextTick(()=>{window.setTimeout(this.callSlider,30)})},methods:{callSlider(){return!this.hideSlider&&this.$refs.items&&this.$refs.items.selectedItems.length?(this.$nextTick(()=>{const t=this.$refs.items.selectedItems[0];if(!t||!t.$el)return this.slider.width=0,void(this.slider.left=0);const e=t.$el;this.slider={height:this.vertical?e.scrollHeight:Number(this.sliderSize),left:this.vertical?0:e.offsetLeft,right:this.vertical?0:e.offsetLeft+e.offsetWidth,top:e.offsetTop,width:this.vertical?Number(this.sliderSize):e.scrollWidth}}),!0):(this.slider.width=0,!1)},genBar(t,e){const i={style:{height:P(this.height)},props:{activeClass:this.activeClass,centerActive:this.centerActive,dark:this.dark,light:this.light,mandatory:!this.optional,mobileBreakpoint:this.mobileBreakpoint,nextIcon:this.nextIcon,prevIcon:this.prevIcon,showArrows:this.showArrows,value:this.internalValue},on:{"call:slider":this.callSlider,change:t=>{this.internalValue=t}},ref:"items"};return this.setTextColor(this.computedColor,i),this.setBackgroundColor(this.backgroundColor,i),this.$createElement(Or,i,[this.genSlider(e),t])},genItems(t,e){return t||(e.length?this.$createElement(Br,{props:{value:this.internalValue},on:{change:t=>{this.internalValue=t}}},e):null)},genSlider(t){return this.hideSlider?null:(t||(t=this.$createElement(Er,{props:{color:this.sliderColor}})),this.$createElement("div",{staticClass:"v-tabs-slider-wrapper",style:this.sliderStyles},[t]))},onResize(){this._isDestroyed||(clearTimeout(this.resizeTimeout),this.resizeTimeout=window.setTimeout(this.callSlider,0))},parseNodes(){let t=null,e=null;const i=[],s=[],n=this.$slots.default||[],r=n.length;for(let a=0;a<r;a++){const r=n[a];if(r.componentOptions)switch(r.componentOptions.Ctor.options.name){case"v-tabs-slider":e=r;break;case"v-tabs-items":t=r;break;case"v-tab-item":i.push(r);break;default:s.push(r)}else s.push(r)}return{tab:s,slider:e,items:t,item:i}}},render(t){const{tab:e,slider:i,items:s,item:n}=this.parseNodes();return t("div",{staticClass:"v-tabs",class:this.classes,directives:[{name:"resize",modifiers:{quiet:!0},value:this.onResize}]},[this.genBar(e,i),this.genItems(s,n)])}});const jr=ke(Pi,si("tabsBar"),$e);var Rr=jr.extend().extend().extend({name:"v-tab",props:{ripple:{type:[Boolean,Object],default:!0}},data:()=>({proxyClass:"v-tab--active"}),computed:{classes(){return{"v-tab":!0,...Pi.options.computed.classes.call(this),"v-tab--disabled":this.disabled,...this.groupClasses}},value(){let t=this.to||this.href;if(null==t)return t;if(this.$router&&this.to===Object(this.to)){const e=this.$router.resolve(this.to,this.$route,this.append);t=e.href}return t.replace("#","")}},methods:{click(t){this.disabled?t.preventDefault():(this.href&&this.href.indexOf("#")>-1&&t.preventDefault(),t.detail&&this.$el.blur(),this.$emit("click",t),this.to||this.toggle())},toggle(){this.isActive&&(this.tabsBar.mandatory||this.to)||this.$emit("change")}},render(t){const{tag:e,data:i}=this.generateRouteLink();return i.attrs={...i.attrs,"aria-selected":String(this.isActive),role:"tab",tabindex:this.disabled?-1:0},i.on={...i.on,keydown:t=>{t.keyCode===D.enter&&this.click(t),this.$emit("keydown",t)}},t(e,i,this.$slots.default)}}),zr=u.a.extend({name:"farm-tabs",data:()=>({selected:0}),props:{tabs:{type:Array,default:()=>[{name:"Seleção",path:"selection"},{name:"Revisão",path:"review"}]},showCounter:{type:Boolean,default:!0},initialSelect:{type:Number,default:0},allowUserChange:{type:Boolean,default:!0}},methods:{isSelected(t){return t===this.selected},changeTab(t,e){this.$emit("update",this.tabs[e])},next(){this.selected=this.selected+1,this.$emit("update",this.tabs[this.selected])},previous(){this.selected=this.selected-1,this.$emit("update",this.tabs[this.selected])},toIndex(t){this.selected=t,this.$emit("update",this.tabs[t])},updateTabRouting:(t,e,i)=>{t.currentTab=e.path;const s=`${i}/${e.path}`,n=t.$router.history.current.path;s!==n&&t.$router.push(s)}},created(){this.selected=this.initialSelect},components:{VTabs:Vr,VTab:Rr}}),Nr=zr,Hr=(i("d261"),Me(Nr,cr,hr,!1,null,"f40069a8",null)),Wr=Hr.exports,qr=Wr,Ur=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("header",[t.iconTitle?e("farm-icon",{attrs:{size:"16px",color:"secondary"}},[t._v(t._s(t.iconTitle))]):t._e(),t._v(" "+t._s(t.title)+" "),t.hasCloseIcon?e("farm-icon",{staticClass:"farm-dialog-header__close",attrs:{role:"button",title:"Fechar",color:"secondary"},on:{click:t.onClose}},[t._v(" close-thick ")]):t._e()],1)},Yr=[],Zr=u.a.extend({name:"farm-dialog-header",props:{title:{type:String,default:"",required:!0},iconTitle:{type:String,default:null,required:!1},hasCloseIcon:{type:Boolean,default:!0,required:!1}},components:{"farm-icon":mn},methods:{onClose(){this.$emit("onClose",{})}}}),Kr=Zr,Gr=(i("b510"),Me(Kr,Ur,Yr,!1,null,"151bfb7c",null)),Xr=Gr.exports,Jr=Xr,Qr=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"farm-dialog__footer"},[t.hasCancel?e("farm-btn",{attrs:{color:"secondary",outlined:""},on:{click:function(e){return t.$emit("onClose")}}},[t._v(" "+t._s(t.closeLabel)+" ")]):t._e(),t._l(t.extraButtons,(function(i){return e("farm-btn",{key:i.label,attrs:{color:i.color,outlined:i.outlined,disabled:i.disabled},on:{click:function(e){return t.$emit(i.listener?i.listener:"")}}},[t._v(" "+t._s(i.label)+" ")])})),t.hasConfirm?e("farm-btn",{attrs:{color:t.confirmColor,disabled:t.isConfirmDisabled},on:{click:function(e){return t.$emit("onConfirm")}}},[t.confirmIcon?e("farm-icon",[t._v(t._s(t.confirmIcon))]):t._e(),t._v(" "+t._s(t.confirmLabel)+" ")],1):t._e()],2)},ta=[],ea=u.a.extend({name:"farm-dialog-footer",components:{"farm-btn":Gn,"farm-icon":mn},props:{confirmLabel:{type:String,default:"Confirmar"},closeLabel:{type:String,default:"Fechar"},hasConfirm:{type:Boolean,default:!0},hasCancel:{type:Boolean,default:!0},confirmColor:{type:String,default:"secondary"},confirmIcon:{type:String,default:null},isConfirmDisabled:{type:Boolean,default:!1},extraButtons:{type:Array,default:()=>[]}}}),ia=ea,sa=(i("c225"),Me(ia,Qr,ta,!1,null,"1b90c3ae",null)),na=sa.exports,ra=na,aa=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("v-col",{staticClass:"pl-0",attrs:{cols:"12",sm:"12",md:t.item.md?t.item.md:2}},[e("farm-label",{attrs:{for:t.inputId,required:t.required&&!t.disabled}},[t._v(" "+t._s(t.item.label)+" ")]),e("farm-textfield",{directives:[{name:"mask",rawName:"v-mask",value:""+(t.mask?t.mask:""),expression:"`${mask ? mask : ''}`"}],attrs:{placeholder:t.placeholder,id:t.inputId,rules:t.inputRules,disabled:t.disabled,readonly:t.readonly},model:{value:t.inputVal,callback:function(e){t.inputVal=e},expression:"inputVal"}})],1)},oa=[],la=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("label",t._b({class:{"farm-label":!0,"farm-label--required":t.required}},"label",t.$attrs,!1),[t._t("default")],2)},ua=[],ca=u.a.extend({name:"farm-label",props:{required:{type:Boolean,default:!1}}}),ha=ca,da=(i("9af0"),Me(ha,la,ua,!1,null,"2819d5b7",null)),pa=da.exports,fa=pa,ma=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("v-text-field",t._g(t._b({staticClass:"farm-textfield",attrs:{outlined:""}},"v-text-field",t.$attrs,!1),{...t.$listeners}))},ga=[],va=u.a.extend({name:"farm-textfield",inheritAttrs:!0,components:{VTextField:sn}}),ba=va,ya=(i("96c7"),Me(ba,ma,ga,!1,null,"244613e6",null)),_a=ya.exports,xa=_a;i("4b85");const Ca=["sm","md","lg","xl"],Sa=(()=>Ca.reduce((t,e)=>(t[e]={type:[Boolean,String,Number],default:!1},t),{}))(),$a=(()=>Ca.reduce((t,e)=>(t["offset"+E(e)]={type:[String,Number],default:null},t),{}))(),wa=(()=>Ca.reduce((t,e)=>(t["order"+E(e)]={type:[String,Number],default:null},t),{}))(),ka={col:Object.keys(Sa),offset:Object.keys($a),order:Object.keys(wa)};function Oa(t,e,i){let s=t;if(null!=i&&!1!==i){if(e){const i=e.replace(t,"");s+="-"+i}return"col"!==t||""!==i&&!0!==i?(s+="-"+i,s.toLowerCase()):s.toLowerCase()}}const Pa=new Map;var Ia=u.a.extend({name:"v-col",functional:!0,props:{cols:{type:[Boolean,String,Number],default:!1},...Sa,offset:{type:[String,Number],default:null},...$a,order:{type:[String,Number],default:null},...wa,alignSelf:{type:String,default:null,validator:t=>["auto","start","end","center","baseline","stretch"].includes(t)},tag:{type:String,default:"div"}},render(t,{props:e,data:i,children:s,parent:n}){let r="";for(const o in e)r+=String(e[o]);let a=Pa.get(r);if(!a){let t;for(t in a=[],ka)ka[t].forEach(i=>{const s=e[i],n=Oa(t,i,s);n&&a.push(n)});const i=a.some(t=>t.startsWith("col-"));a.push({col:!i||!e.cols,["col-"+e.cols]:e.cols,["offset-"+e.offset]:e.offset,["order-"+e.order]:e.order,["align-self-"+e.alignSelf]:e.alignSelf}),Pa.set(r,a)}return t(e.tag,ze(i,{class:a}),s)}}),La=u.a.extend({name:"farm-textfield-labelled",components:{"farm-label":fa,"farm-textfield":xa,VCol:Ia},props:{item:{type:Object,required:!0},value:{required:!0},rules:{type:Array},disabled:{type:Boolean,default:!1},forKey:{type:String,required:!1,default:"form"},required:{type:Boolean,default:!1},mask:{type:String,default:null},readonly:{type:Boolean,default:!1},placeholder:{type:String,default:null}},computed:{inputVal:{get(){return this.value},set(t){this.$emit("input",t)}},inputRules(){return this.disabled?[]:this.rules&&this.rules.length?this.rules:[]},inputId(){return`${this.forKey}-${this.item.key}`}}}),Da=La,Aa=Me(Da,aa,oa,!1,null,null,null),Ma=Aa.exports,Ta=Ma,Ba=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("v-menu",{ref:"menuField",attrs:{"close-on-content-click":!1,"nudge-right":40,"return-value":t.fieldRange,transition:"scale-transition","offset-y":"","min-width":"290px"},on:{"update:returnValue":function(e){t.fieldRange=e},"update:return-value":function(e){t.fieldRange=e}},scopedSlots:t._u([{key:"activator",fn:function({on:i}){return[e("v-text-field",t._g({attrs:{color:"secondary","append-icon":"mdi-calendar",readonly:"",outlined:"",dense:"",id:t.inputId,rules:t.required?[t.requiredRule]:[]},model:{value:t.fieldRange,callback:function(e){t.fieldRange=e},expression:"fieldRange"}},i))]}}]),model:{value:t.menuField,callback:function(e){t.menuField=e},expression:"menuField"}},[t.menuField?e("v-date-picker",{attrs:{"no-title":"",scrollable:"",range:"",max:t.max,min:t.min,color:"secondary",locale:"pt-br"},model:{value:t.dateField,callback:function(e){t.dateField=e},expression:"dateField"}},[e("farm-btn",{attrs:{outlined:"",color:"primary",tutle:"Fechar"},on:{click:function(e){t.menuField=!1}}},[t._v(" Fechar ")]),e("farm-btn",{staticClass:"ml-2",attrs:{outlined:"",color:"secondary",title:"Limpar"},on:{click:function(e){return t.clear()}}},[t._v(" Limpar")]),e("farm-btn",{staticClass:"ml-2",attrs:{color:"secondary",disabled:t.canConfirm,title:"Confirmar"},on:{click:function(e){return t.save()}}},[t._v(" Confirmar ")])],1):t._e()],1)},Ea=[],Fa=(i("d951"),ke(_e).extend({methods:{genPickerButton(t,e,i,s=!1,n=""){const r=this[t]===e,a=i=>{i.stopPropagation(),this.$emit("update:"+I(t),e)};return this.$createElement("div",{staticClass:("v-picker__title__btn "+n).trim(),class:{"v-picker__title__btn--active":r,"v-picker__title__btn--readonly":s},on:r||s?void 0:{click:a}},Array.isArray(i)?i:[i])}}})),Va=ke(Fa).extend({name:"v-date-picker-title",props:{date:{type:String,default:""},disabled:Boolean,readonly:Boolean,selectingYear:Boolean,value:{type:String},year:{type:[Number,String],default:""},yearIcon:{type:String}},data:()=>({isReversing:!1}),computed:{computedTransition(){return this.isReversing?"picker-reverse-transition":"picker-transition"}},watch:{value(t,e){this.isReversing=t<e}},methods:{genYearIcon(){return this.$createElement(Qe,{props:{dark:!0}},this.yearIcon)},getYearBtn(){return this.genPickerButton("selectingYear",!0,[String(this.year),this.yearIcon?this.genYearIcon():null],!1,"v-date-picker-title__year")},genTitleText(){return this.$createElement("transition",{props:{name:this.computedTransition}},[this.$createElement("div",{domProps:{innerHTML:this.date||" "},key:this.value})])},genTitleDate(){return this.genPickerButton("selectingYear",!1,[this.genTitleText()],!1,"v-date-picker-title__date")}},render(t){return t("div",{staticClass:"v-date-picker-title",class:{"v-date-picker-title--disabled":this.disabled}},[this.getYearBtn(),this.genTitleDate()])}}),ja=(i("2102"),u.a.extend({name:"localable",props:{locale:String},computed:{currentLocale(){return this.locale||this.$vuetify.lang.current}}}));const Ra=(t,e,i)=>(e>>=0,t=String(t),i=String(i),t.length>e?String(t):(e-=t.length,e>i.length&&(i+=i.repeat(e/i.length)),i.slice(0,e)+String(t)));var za=(t,e=2)=>Ra(t,e,"0");function Na(t,e,i={start:0,length:0}){const s=t=>{const[e,i,s]=t.trim().split(" ")[0].split("-");return[za(e,4),za(i||1),za(s||1)].join("-")};try{const i=new Intl.DateTimeFormat(t||void 0,e);return t=>i.format(new Date(s(t)+"T00:00:00+00:00"))}catch(dp){return i.start||i.length?t=>s(t).substr(i.start||0,i.length):void 0}}var Ha=Na,Wa=(t,e)=>{const[i,s]=t.split("-").map(Number);return s+e===0?i-1+"-12":s+e===13?i+1+"-01":`${i}-${za(s+e)}`},qa=ke(_e,ja,$e).extend({name:"v-date-picker-header",props:{disabled:Boolean,format:Function,min:String,max:String,nextAriaLabel:String,nextIcon:{type:String,default:"$next"},prevAriaLabel:String,prevIcon:{type:String,default:"$prev"},readonly:Boolean,value:{type:[Number,String],required:!0}},data(){return{isReversing:!1}},computed:{formatter(){return this.format?this.format:String(this.value).split("-")[1]?Ha(this.currentLocale,{month:"long",year:"numeric",timeZone:"UTC"},{length:7}):Ha(this.currentLocale,{year:"numeric",timeZone:"UTC"},{length:4})}},watch:{value(t,e){this.isReversing=t<e}},methods:{genBtn(t){const e=t>0?this.nextAriaLabel:this.prevAriaLabel,i=e?this.$vuetify.lang.t(e):void 0,s=this.disabled||t<0&&this.min&&this.calculateChange(t)<this.min||t>0&&this.max&&this.calculateChange(t)>this.max;return this.$createElement(Mr,{attrs:{"aria-label":i},props:{dark:this.dark,disabled:s,icon:!0,light:this.light},on:{click:e=>{e.stopPropagation(),this.$emit("input",this.calculateChange(t))}}},[this.$createElement(Qe,t<0===!this.$vuetify.rtl?this.prevIcon:this.nextIcon)])},calculateChange(t){const[e,i]=String(this.value).split("-").map(Number);return null==i?""+(e+t):Wa(String(this.value),t)},genHeader(){const t=!this.disabled&&(this.color||"accent"),e=this.$createElement("div",this.setTextColor(t,{key:String(this.value)}),[this.$createElement("button",{attrs:{type:"button"},on:{click:()=>this.$emit("toggle")}},[this.$slots.default||this.formatter(String(this.value))])]),i=this.$createElement("transition",{props:{name:this.isReversing===!this.$vuetify.rtl?"tab-reverse-transition":"tab-transition"}},[e]);return this.$createElement("div",{staticClass:"v-date-picker-header__value",class:{"v-date-picker-header__value--disabled":this.disabled}},[i])}},render(){return this.$createElement("div",{staticClass:"v-date-picker-header",class:{"v-date-picker-header--disabled":this.disabled,...this.themeClasses}},[this.genBtn(-1),this.genHeader(),this.genBtn(1)])}});i("c982");function Ua(t,e,i){return Object.keys(t.$listeners).reduce((s,n)=>(n.endsWith(e)&&(s[n.slice(0,-e.length)]=e=>t.$emit(n,i,e)),s),{})}function Ya(t,e){return Object.keys(t.$listeners).reduce((i,s)=>(s.endsWith(e)&&(i[s]=t.$listeners[s]),i),{})}var Za=(t,e)=>{const[i,s=1,n=1]=t.split("-");return`${i}-${za(s)}-${za(n)}`.substr(0,{date:10,month:7,year:4}[e])};function Ka(t,e,i,s){return(!s||s(t))&&(!e||t>=e.substr(0,10))&&(!i||t<=i)}var Ga=ke(_e,ja,$e).extend({directives:{Touch:xr},props:{allowedDates:Function,current:String,disabled:Boolean,format:Function,events:{type:[Array,Function,Object],default:()=>null},eventColor:{type:[Array,Function,Object,String],default:()=>"warning"},min:String,max:String,range:Boolean,readonly:Boolean,scrollable:Boolean,tableDate:{type:String,required:!0},value:[String,Array]},data:()=>({isReversing:!1,wheelThrottle:null}),computed:{computedTransition(){return this.isReversing===!this.$vuetify.rtl?"tab-reverse-transition":"tab-transition"},displayedMonth(){return Number(this.tableDate.split("-")[1])-1},displayedYear(){return Number(this.tableDate.split("-")[0])}},watch:{tableDate(t,e){this.isReversing=t<e}},mounted(){this.wheelThrottle=H(this.wheel,250)},methods:{genButtonClasses(t,e,i,s,n,r){return{"v-size--default":!e,"v-date-picker-table__current":s,"v-btn--active":i,"v-btn--flat":!t||this.disabled,"v-btn--text":i===s,"v-btn--rounded":e,"v-btn--disabled":!t||this.disabled,"v-btn--outlined":s&&!i,"v-date-picker--first-in-range":n,"v-date-picker--last-in-range":r,...this.themeClasses}},genButtonEvents(t,e,i){if(!this.disabled)return We({click:()=>{e&&!this.readonly&&this.$emit("input",t)}},Ua(this,":"+i,t))},genButton(t,e,i,s,n=!1){const r=Ka(t,this.min,this.max,this.allowedDates),a=this.isSelected(t)&&r,o=t===this.current,l=a?this.setBackgroundColor:this.setTextColor,u=(a||o)&&(this.color||"accent");let c=!1,h=!1;return this.range&&this.value&&Array.isArray(this.value)&&(c=t===this.value[0],h=t===this.value[this.value.length-1]),this.$createElement("button",l(u,{staticClass:"v-btn",class:this.genButtonClasses(r&&!n,e,a,o,c,h),attrs:{type:"button"},domProps:{disabled:this.disabled||!r||n},on:this.genButtonEvents(t,r,i)}),[this.$createElement("div",{staticClass:"v-btn__content"},[s(t)]),this.genEvents(t)])},getEventColors(t){const e=t=>Array.isArray(t)?t:[t];let i,s=[];return i=Array.isArray(this.events)?this.events.includes(t):this.events instanceof Function?this.events(t)||!1:this.events&&this.events[t]||!1,i?(s=!0!==i?e(i):"string"===typeof this.eventColor?[this.eventColor]:"function"===typeof this.eventColor?e(this.eventColor(t)):Array.isArray(this.eventColor)?this.eventColor:e(this.eventColor[t]),s.filter(t=>t)):[]},genEvents(t){const e=this.getEventColors(t);return e.length?this.$createElement("div",{staticClass:"v-date-picker-table__events"},e.map(t=>this.$createElement("div",this.setBackgroundColor(t)))):null},isValidScroll(t,e){const i=e(t),s=1===i.split("-").length?"year":"month";return t<0&&(!this.min||i>=Za(this.min,s))||t>0&&(!this.max||i<=Za(this.max,s))},wheel(t,e){this.$emit("update:table-date",e(t.deltaY))},touch(t,e){this.$emit("update:table-date",e(t))},genTable(t,e,i){const s=this.$createElement("transition",{props:{name:this.computedTransition}},[this.$createElement("table",{key:this.tableDate},e)]),n={name:"touch",value:{left:t=>t.offsetX<-15&&this.isValidScroll(1,i)&&this.touch(1,i),right:t=>t.offsetX>15&&this.isValidScroll(-1,i)&&this.touch(-1,i)}};return this.$createElement("div",{staticClass:t,class:{"v-date-picker-table--disabled":this.disabled,...this.themeClasses},on:!this.disabled&&this.scrollable?{wheel:t=>{t.preventDefault(),this.isValidScroll(t.deltaY,i)&&this.wheelThrottle(t,i)}}:void 0,directives:[n]},[s])},isSelected(t){if(Array.isArray(this.value)){if(this.range&&2===this.value.length){const[e,i]=[...this.value].sort();return e<=t&&t<=i}return-1!==this.value.indexOf(t)}return t===this.value}}});function Xa(t,e=0,i=1){let s;return t<100&&t>=0?(s=new Date(Date.UTC(t,e,i)),isFinite(s.getUTCFullYear())&&s.setUTCFullYear(t)):s=new Date(Date.UTC(t,e,i)),s}function Ja(t,e,i){const s=7+e-i,n=(7+Xa(t,0,s).getUTCDay()-e)%7;return-n+s-1}function Qa(t,e,i,s){let n=[0,31,59,90,120,151,181,212,243,273,304,334][e];return e>1&&io(t)&&n++,n+i}function to(t,e,i){const s=Ja(t,e,i),n=Ja(t+1,e,i),r=io(t)?366:365;return(r-s+n)/7}function eo(t,e,i,s,n){const r=Ja(t,s,n),a=Math.ceil((Qa(t,e,i,s)-r)/7);return a<1?a+to(t-1,s,n):a>to(t,s,n)?a-to(t,s,n):a}function io(t){return t%4===0&&t%100!==0||t%400===0}var so=ke(Ga).extend({name:"v-date-picker-date-table",props:{firstDayOfWeek:{type:[String,Number],default:0},localeFirstDayOfYear:{type:[String,Number],default:0},showAdjacentMonths:Boolean,showWeek:Boolean,weekdayFormat:Function},computed:{formatter(){return this.format||Ha(this.currentLocale,{day:"numeric",timeZone:"UTC"},{start:8,length:2})},weekdayFormatter(){return this.weekdayFormat||Ha(this.currentLocale,{weekday:"narrow",timeZone:"UTC"})},weekDays(){const t=parseInt(this.firstDayOfWeek,10);return this.weekdayFormatter?S(7).map(e=>this.weekdayFormatter("2017-01-"+(t+e+15))):S(7).map(e=>["S","M","T","W","T","F","S"][(e+t)%7])}},methods:{calculateTableDate(t){return Wa(this.tableDate,Math.sign(t||1))},genTHead(){const t=this.weekDays.map(t=>this.$createElement("th",t));return this.showWeek&&t.unshift(this.$createElement("th")),this.$createElement("thead",this.genTR(t))},weekDaysBeforeFirstDayOfTheMonth(){const t=new Date(`${this.displayedYear}-${za(this.displayedMonth+1)}-01T00:00:00+00:00`),e=t.getUTCDay();return(e-parseInt(this.firstDayOfWeek)+7)%7},getWeekNumber(t){return eo(this.displayedYear,this.displayedMonth,t,parseInt(this.firstDayOfWeek),parseInt(this.localeFirstDayOfYear))},genWeekNumber(t){return this.$createElement("td",[this.$createElement("small",{staticClass:"v-date-picker-table--date__week"},String(t).padStart(2,"0"))])},genTBody(){const t=[],e=new Date(this.displayedYear,this.displayedMonth+1,0).getDate();let i=[],s=this.weekDaysBeforeFirstDayOfTheMonth();this.showWeek&&i.push(this.genWeekNumber(this.getWeekNumber(1)));const n=this.displayedMonth?this.displayedYear:this.displayedYear-1,r=(this.displayedMonth+11)%12,a=new Date(this.displayedYear,this.displayedMonth,0).getDate(),o=this.showWeek?8:7;while(s--){const t=`${n}-${za(r+1)}-${za(a-s)}`;i.push(this.$createElement("td",this.showAdjacentMonths?[this.genButton(t,!0,"date",this.formatter,!0)]:[]))}for(s=1;s<=e;s++){const n=`${this.displayedYear}-${za(this.displayedMonth+1)}-${za(s)}`;i.push(this.$createElement("td",[this.genButton(n,!0,"date",this.formatter)])),i.length%o===0&&(t.push(this.genTR(i)),i=[],this.showWeek&&(s<e||this.showAdjacentMonths)&&i.push(this.genWeekNumber(this.getWeekNumber(s+7))))}const l=11===this.displayedMonth?this.displayedYear+1:this.displayedYear,u=(this.displayedMonth+1)%12;let c=1;while(i.length<o){const t=`${l}-${za(u+1)}-${za(c++)}`;i.push(this.$createElement("td",this.showAdjacentMonths?[this.genButton(t,!0,"date",this.formatter,!0)]:[]))}return i.length&&t.push(this.genTR(i)),this.$createElement("tbody",t)},genTR(t){return[this.$createElement("tr",t)]}},render(){return this.genTable("v-date-picker-table v-date-picker-table--date",[this.genTHead(),this.genTBody()],this.calculateTableDate)}}),no=ke(Ga).extend({name:"v-date-picker-month-table",computed:{formatter(){return this.format||Ha(this.currentLocale,{month:"short",timeZone:"UTC"},{start:5,length:2})}},methods:{calculateTableDate(t){return""+(parseInt(this.tableDate,10)+Math.sign(t||1))},genTBody(){const t=[],e=Array(3).fill(null),i=12/e.length;for(let s=0;s<i;s++){const i=e.map((t,i)=>{const n=s*e.length+i,r=`${this.displayedYear}-${za(n+1)}`;return this.$createElement("td",{key:n},[this.genButton(r,!1,"month",this.formatter)])});t.push(this.$createElement("tr",{key:s},i))}return this.$createElement("tbody",t)}},render(){return this.genTable("v-date-picker-table v-date-picker-table--month",[this.genTBody()],this.calculateTableDate)}}),ro=(i("02f0"),ke(_e,ja).extend({name:"v-date-picker-years",props:{format:Function,min:[Number,String],max:[Number,String],readonly:Boolean,value:[Number,String]},data(){return{defaultColor:"primary"}},computed:{formatter(){return this.format||Ha(this.currentLocale,{year:"numeric",timeZone:"UTC"},{length:4})}},mounted(){setTimeout(()=>{const t=this.$el.getElementsByClassName("active")[0];t?this.$el.scrollTop=t.offsetTop-this.$el.offsetHeight/2+t.offsetHeight/2:this.min&&!this.max?this.$el.scrollTop=this.$el.scrollHeight:!this.min&&this.max?this.$el.scrollTop=0:this.$el.scrollTop=this.$el.scrollHeight/2-this.$el.offsetHeight/2})},methods:{genYearItem(t){const e=this.formatter(""+t),i=parseInt(this.value,10)===t,s=i&&(this.color||"primary");return this.$createElement("li",this.setTextColor(s,{key:t,class:{active:i},on:We({click:()=>this.$emit("input",t)},Ua(this,":year",t))}),e)},genYearItems(){const t=[],e=this.value?parseInt(this.value,10):(new Date).getFullYear(),i=this.max?parseInt(this.max,10):e+100,s=Math.min(i,this.min?parseInt(this.min,10):e-100);for(let n=i;n>=s;n--)t.push(this.genYearItem(n));return t}},render(){return this.$createElement("ul",{staticClass:"v-date-picker-years",ref:"years"},this.genYearItems())}})),ao=(i("e53c"),i("615b"),ke(_e,bs,$e).extend({name:"v-picker",props:{flat:Boolean,fullWidth:Boolean,landscape:Boolean,noTitle:Boolean,transition:{type:String,default:"fade-transition"},width:{type:[Number,String],default:290}},computed:{computedTitleColor(){const t=!this.isDark&&(this.color||"primary");return this.color||t}},methods:{genTitle(){return this.$createElement("div",this.setBackgroundColor(this.computedTitleColor,{staticClass:"v-picker__title",class:{"v-picker__title--landscape":this.landscape}}),this.$slots.title)},genBodyTransition(){return this.$createElement("transition",{props:{name:this.transition}},this.$slots.default)},genBody(){return this.$createElement("div",{staticClass:"v-picker__body",class:{"v-picker__body--no-title":this.noTitle,...this.themeClasses},style:this.fullWidth?void 0:{width:P(this.width)}},[this.genBodyTransition()])},genActions(){return this.$createElement("div",{staticClass:"v-picker__actions v-card__actions",class:{"v-picker__actions--no-title":this.noTitle}},this.$slots.actions)}},render(t){return t("div",{staticClass:"v-picker v-card",class:{"v-picker--flat":this.flat,"v-picker--landscape":this.landscape,"v-picker--full-width":this.fullWidth,...this.themeClasses,...this.elevationClasses}},[this.$slots.title?this.genTitle():null,this.genBody(),this.$slots.actions?this.genActions():null])}})),oo=ao,lo=ke(_e,bs,$e).extend({name:"picker",props:{flat:Boolean,fullWidth:Boolean,headerColor:String,landscape:Boolean,noTitle:Boolean,width:{type:[Number,String],default:290}},methods:{genPickerTitle(){return null},genPickerBody(){return null},genPickerActionsSlot(){return this.$scopedSlots.default?this.$scopedSlots.default({save:this.save,cancel:this.cancel}):this.$slots.default},genPicker(t){const e=[];if(!this.noTitle){const t=this.genPickerTitle();t&&e.push(t)}const i=this.genPickerBody();return i&&e.push(i),e.push(this.$createElement("template",{slot:"actions"},[this.genPickerActionsSlot()])),this.$createElement(oo,{staticClass:t,props:{color:this.headerColor||this.color,dark:this.dark,elevation:this.elevation,flat:this.flat,fullWidth:this.fullWidth,landscape:this.landscape,light:this.light,width:this.width,noTitle:this.noTitle}},e)}}});const uo=[0,31,28,31,30,31,30,31,31,30,31,30,31],co=[0,31,29,31,30,31,30,31,31,30,31,30,31];function ho(t,e){return io(t)?co[e]:uo[e]}var po=ke(ja,lo).extend({name:"v-date-picker",props:{activePicker:String,allowedDates:Function,dayFormat:Function,disabled:Boolean,events:{type:[Array,Function,Object],default:()=>null},eventColor:{type:[Array,Function,Object,String],default:()=>"warning"},firstDayOfWeek:{type:[String,Number],default:0},headerDateFormat:Function,localeFirstDayOfYear:{type:[String,Number],default:0},max:String,min:String,monthFormat:Function,multiple:Boolean,nextIcon:{type:String,default:"$next"},nextMonthAriaLabel:{type:String,default:"$vuetify.datePicker.nextMonthAriaLabel"},nextYearAriaLabel:{type:String,default:"$vuetify.datePicker.nextYearAriaLabel"},pickerDate:String,prevIcon:{type:String,default:"$prev"},prevMonthAriaLabel:{type:String,default:"$vuetify.datePicker.prevMonthAriaLabel"},prevYearAriaLabel:{type:String,default:"$vuetify.datePicker.prevYearAriaLabel"},range:Boolean,reactive:Boolean,readonly:Boolean,scrollable:Boolean,showCurrent:{type:[Boolean,String],default:!0},selectedItemsText:{type:String,default:"$vuetify.datePicker.itemsSelected"},showAdjacentMonths:Boolean,showWeek:Boolean,titleDateFormat:Function,type:{type:String,default:"date",validator:t=>["date","month"].includes(t)},value:[Array,String],weekdayFormat:Function,yearFormat:Function,yearIcon:String},data(){const t=new Date;return{internalActivePicker:this.type.toUpperCase(),inputDay:null,inputMonth:null,inputYear:null,isReversing:!1,now:t,tableDate:(()=>{if(this.pickerDate)return this.pickerDate;const e=V(this.value),i=e[e.length-1]||("string"===typeof this.showCurrent?this.showCurrent:`${t.getFullYear()}-${t.getMonth()+1}`);return Za(i,"date"===this.type?"month":"year")})()}},computed:{multipleValue(){return V(this.value)},isMultiple(){return this.multiple||this.range},lastValue(){return this.isMultiple?this.multipleValue[this.multipleValue.length-1]:this.value},selectedMonths(){return this.value&&"month"!==this.type?this.isMultiple?this.multipleValue.map(t=>t.substr(0,7)):this.value.substr(0,7):this.value},current(){return!0===this.showCurrent?Za(`${this.now.getFullYear()}-${this.now.getMonth()+1}-${this.now.getDate()}`,this.type):this.showCurrent||null},inputDate(){return"date"===this.type?`${this.inputYear}-${za(this.inputMonth+1)}-${za(this.inputDay)}`:`${this.inputYear}-${za(this.inputMonth+1)}`},tableMonth(){return Number((this.pickerDate||this.tableDate).split("-")[1])-1},tableYear(){return Number((this.pickerDate||this.tableDate).split("-")[0])},minMonth(){return this.min?Za(this.min,"month"):null},maxMonth(){return this.max?Za(this.max,"month"):null},minYear(){return this.min?Za(this.min,"year"):null},maxYear(){return this.max?Za(this.max,"year"):null},formatters(){return{year:this.yearFormat||Ha(this.currentLocale,{year:"numeric",timeZone:"UTC"},{length:4}),titleDate:this.titleDateFormat||(this.isMultiple?this.defaultTitleMultipleDateFormatter:this.defaultTitleDateFormatter)}},defaultTitleMultipleDateFormatter(){return t=>t.length?1===t.length?this.defaultTitleDateFormatter(t[0]):this.$vuetify.lang.t(this.selectedItemsText,t.length):"-"},defaultTitleDateFormatter(){const t={year:{year:"numeric",timeZone:"UTC"},month:{month:"long",timeZone:"UTC"},date:{weekday:"short",month:"short",day:"numeric",timeZone:"UTC"}},e=Ha(this.currentLocale,t[this.type],{start:0,length:{date:10,month:7,year:4}[this.type]}),i=t=>e(t).replace(/([^\d\s])([\d])/g,(t,e,i)=>`${e} ${i}`).replace(", ",",<br>");return this.landscape?i:e}},watch:{internalActivePicker:{immediate:!0,handler(t){this.$emit("update:active-picker",t)}},activePicker(t){this.internalActivePicker=t},tableDate(t,e){const i="month"===this.type?"year":"month";this.isReversing=Za(t,i)<Za(e,i),this.$emit("update:picker-date",t)},pickerDate(t){t?this.tableDate=t:this.lastValue&&"date"===this.type?this.tableDate=Za(this.lastValue,"month"):this.lastValue&&"month"===this.type&&(this.tableDate=Za(this.lastValue,"year"))},value(t,e){this.checkMultipleProp(),this.setInputDate(),(this.isMultiple||!this.value||this.pickerDate)&&(!this.isMultiple||!this.multipleValue.length||e&&e.length||this.pickerDate)||(this.tableDate=Za(this.inputDate,"month"===this.type?"year":"month"))},type(t){if(this.internalActivePicker=t.toUpperCase(),this.value&&this.value.length){const e=this.multipleValue.map(e=>Za(e,t)).filter(this.isDateAllowed);this.$emit("input",this.isMultiple?e:e[0])}}},created(){this.checkMultipleProp(),this.pickerDate!==this.tableDate&&this.$emit("update:picker-date",this.tableDate),this.setInputDate()},methods:{emitInput(t){if(this.range){if(1!==this.multipleValue.length)this.$emit("input",[t]);else{const e=[this.multipleValue[0],t];this.$emit("input",e),this.$emit("change",e)}return}const e=this.multiple?-1===this.multipleValue.indexOf(t)?this.multipleValue.concat([t]):this.multipleValue.filter(e=>e!==t):t;this.$emit("input",e),this.multiple||this.$emit("change",t)},checkMultipleProp(){if(null==this.value)return;const t=this.value.constructor.name,e=this.isMultiple?"Array":"String";t!==e&&he(`Value must be ${this.isMultiple?"an":"a"} ${e}, got ${t}`,this)},isDateAllowed(t){return Ka(t,this.min,this.max,this.allowedDates)},yearClick(t){this.inputYear=t,"month"===this.type?this.tableDate=""+t:this.tableDate=`${t}-${za((this.tableMonth||0)+1)}`,this.internalActivePicker="MONTH",this.reactive&&!this.readonly&&!this.isMultiple&&this.isDateAllowed(this.inputDate)&&this.$emit("input",this.inputDate)},monthClick(t){const[e,i]=t.split("-");this.inputYear=parseInt(e,10),this.inputMonth=parseInt(i,10)-1,"date"===this.type?(this.inputDay&&(this.inputDay=Math.min(this.inputDay,ho(this.inputYear,this.inputMonth+1))),this.tableDate=t,this.internalActivePicker="DATE",this.reactive&&!this.readonly&&!this.isMultiple&&this.isDateAllowed(this.inputDate)&&this.$emit("input",this.inputDate)):this.emitInput(this.inputDate)},dateClick(t){const[e,i,s]=t.split("-");this.inputYear=parseInt(e,10),this.inputMonth=parseInt(i,10)-1,this.inputDay=parseInt(s,10),this.emitInput(this.inputDate)},genPickerTitle(){return this.$createElement(Va,{props:{date:this.value?this.formatters.titleDate(this.isMultiple?this.multipleValue:this.value):"",disabled:this.disabled,readonly:this.readonly,selectingYear:"YEAR"===this.internalActivePicker,year:this.formatters.year(this.multipleValue.length?""+this.inputYear:this.tableDate),yearIcon:this.yearIcon,value:this.multipleValue[0]},slot:"title",on:{"update:selecting-year":t=>this.internalActivePicker=t?"YEAR":this.type.toUpperCase()}})},genTableHeader(){return this.$createElement(qa,{props:{nextIcon:this.nextIcon,color:this.color,dark:this.dark,disabled:this.disabled,format:this.headerDateFormat,light:this.light,locale:this.locale,min:"DATE"===this.internalActivePicker?this.minMonth:this.minYear,max:"DATE"===this.internalActivePicker?this.maxMonth:this.maxYear,nextAriaLabel:"DATE"===this.internalActivePicker?this.nextMonthAriaLabel:this.nextYearAriaLabel,prevAriaLabel:"DATE"===this.internalActivePicker?this.prevMonthAriaLabel:this.prevYearAriaLabel,prevIcon:this.prevIcon,readonly:this.readonly,value:"DATE"===this.internalActivePicker?`${za(this.tableYear,4)}-${za(this.tableMonth+1)}`:""+za(this.tableYear,4)},on:{toggle:()=>this.internalActivePicker="DATE"===this.internalActivePicker?"MONTH":"YEAR",input:t=>this.tableDate=t}})},genDateTable(){return this.$createElement(so,{props:{allowedDates:this.allowedDates,color:this.color,current:this.current,dark:this.dark,disabled:this.disabled,events:this.events,eventColor:this.eventColor,firstDayOfWeek:this.firstDayOfWeek,format:this.dayFormat,light:this.light,locale:this.locale,localeFirstDayOfYear:this.localeFirstDayOfYear,min:this.min,max:this.max,range:this.range,readonly:this.readonly,scrollable:this.scrollable,showAdjacentMonths:this.showAdjacentMonths,showWeek:this.showWeek,tableDate:`${za(this.tableYear,4)}-${za(this.tableMonth+1)}`,value:this.value,weekdayFormat:this.weekdayFormat},ref:"table",on:{input:this.dateClick,"update:table-date":t=>this.tableDate=t,...Ya(this,":date")}})},genMonthTable(){return this.$createElement(no,{props:{allowedDates:"month"===this.type?this.allowedDates:null,color:this.color,current:this.current?Za(this.current,"month"):null,dark:this.dark,disabled:this.disabled,events:"month"===this.type?this.events:null,eventColor:"month"===this.type?this.eventColor:null,format:this.monthFormat,light:this.light,locale:this.locale,min:this.minMonth,max:this.maxMonth,range:this.range,readonly:this.readonly&&"month"===this.type,scrollable:this.scrollable,value:this.selectedMonths,tableDate:""+za(this.tableYear,4)},ref:"table",on:{input:this.monthClick,"update:table-date":t=>this.tableDate=t,...Ya(this,":month")}})},genYears(){return this.$createElement(ro,{props:{color:this.color,format:this.yearFormat,locale:this.locale,min:this.minYear,max:this.maxYear,value:this.tableYear},on:{input:this.yearClick,...Ya(this,":year")}})},genPickerBody(){const t="YEAR"===this.internalActivePicker?[this.genYears()]:[this.genTableHeader(),"DATE"===this.internalActivePicker?this.genDateTable():this.genMonthTable()];return this.$createElement("div",{key:this.internalActivePicker},t)},setInputDate(){if(this.lastValue){const t=this.lastValue.split("-");this.inputYear=parseInt(t[0],10),this.inputMonth=parseInt(t[1],10)-1,"date"===this.type&&(this.inputDay=parseInt(t[2],10))}else this.inputYear=this.inputYear||this.now.getFullYear(),this.inputMonth=null==this.inputMonth?this.inputMonth:this.now.getMonth(),this.inputDay=this.inputDay||this.now.getDate()}},render(){return this.genPicker("v-picker--date")}});const fo=(t,e=!0)=>{const i={timeZone:"UTC"};return t?new Date(t).toLocaleDateString("pt-BR",e?i:{}):null},mo=t=>{let e=t.split("/").reverse().join("-");return e};var go=u.a.extend({name:"farm-input-rangedatepicker",components:{VTextField:sn,VMenu:ls,VDatePicker:po,"farm-btn":Gn},props:{inputId:{type:String,required:!0},value:{type:Array,default:()=>[]},max:{type:String,default:null},min:{type:String,default:null},required:{type:Boolean,default:!1}},data(){const t=this.formatDateRange(this.value);return{menuField:!1,dateField:this.value,fieldRange:t,requiredRule:t=>!!t||""!=t||"Campo obrigatório"}},watch:{value(t){this.dateField=t,this.fieldRange=this.formatDateRange(t)}},methods:{formatDateRange(t){if(!t||0===t.length)return"";const e=t[0],i=t[1];return fo(e)+" a "+fo(i)},save(){this.$refs.menuField.save(this.formatDateRange(this.dateField)),this.inputVal=this.dateField,this.menuField=!1},clear(){this.dateField=[],this.save()}},computed:{inputVal:{get(){return this.value},set(t){this.$emit("input",t)}},canConfirm(){return!this.dateField||1==this.dateField.length}}}),vo=go,bo=(i("242e"),Me(vo,Ba,Ea,!1,null,"4676439a",null)),yo=bo.exports,_o=yo,xo=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("v-menu",{ref:"menuField",attrs:{"close-on-content-click":!1,"return-value":t.fieldRange,transition:"scale-transition","offset-y":"","min-width":"290px"},on:{"update:returnValue":function(e){t.fieldRange=e},"update:return-value":function(e){t.fieldRange=e}},scopedSlots:t._u([{key:"activator",fn:function({on:i}){return[e("v-text-field",t._g({directives:[{name:"mask",rawName:"v-mask",value:""+(t.readonly?"":"##/##/####"),expression:"`${readonly ? '' : '##/##/####'}`"}],attrs:{color:"secondary","append-icon":"mdi-calendar",readonly:t.readonly,autocomplete:"off",outlined:"",dense:"",id:t.inputId,rules:[t.checkMax,t.checkMin,t.checkRequire]},on:{keyup:t.keyUpInput},model:{value:t.fieldRange,callback:function(e){t.fieldRange=e},expression:"fieldRange"}},i))]}}]),model:{value:t.menuField,callback:function(e){t.menuField=e},expression:"menuField"}},[t.menuField?e("v-date-picker",{attrs:{"no-title":"",scrollable:"",color:"secondary",locale:"pt-br",max:t.max,min:t.min},model:{value:t.dateField,callback:function(e){t.dateField=e},expression:"dateField"}},[e("farm-btn",{attrs:{outlined:"",color:"primary",title:"Fechar"},on:{click:function(e){t.menuField=!1}}},[t._v(" Fechar ")]),e("farm-btn",{staticClass:"ml-2",attrs:{outlined:"",color:"secondary"},on:{click:t.clear}},[t._v(" Limpar ")]),e("farm-btn",{staticClass:"ml-2",attrs:{color:"secondary",title:"Confirmar",disabled:!t.dateField.length},on:{click:function(e){return t.save()}}},[t._v(" Confirmar ")])],1):t._e()],1)},Co=[],So=u.a.extend({name:"farm-input-datepicker",components:{VTextField:sn,VMenu:ls,VDatePicker:po,"farm-btn":Gn},props:{inputId:{type:String,required:!0},value:{type:String,default:""},max:{type:String,default:null},min:{type:String,default:null},required:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1}},data(){const t=this.formatDateRange(this.value);return{menuField:!1,dateField:this.value,fieldRange:t,checkRequire:t=>!this.required||(!!t||""!=t||"Campo obrigatório"),checkMax:t=>!(this.max&&new Date(mo(t))>new Date(this.max))||"A data está fora do período permitido",checkMin:t=>{const e=new Date(mo(t)).toUTCString().slice(0,-4),i=new Date(e);i.setDate(i.getDate()+1);const s=new Date(i.toUTCString()).toLocaleString("pt-BR",{timeZone:"America/Sao_Paulo"}),n=new Date(this.min).toLocaleString("pt-BR",{timeZone:"America/Sao_Paulo"});return console.log(this.getUniversalDate(s),this.getUniversalDate(n)),!(this.min&&this.getUniversalDate(s)<this.getUniversalDate(n))||"A data está fora do período permitido"}}},watch:{value(t){this.dateField=t,this.fieldRange=this.formatDateRange(t)}},methods:{formatDateRange(t){return t&&0!==t.length?fo(t):""},save(){this.$refs.menuField.save(this.formatDateRange(this.dateField)),this.inputVal=this.dateField},clear(){this.dateField="",this.save()},validation(t){const e=/^(?:(?:31(\/|-|\.)(?:0?[13578]|1[02]))\1|(?:(?:29|30)(\/|-|\.)(?:0?[13-9]|1[0-2])\2))(?:(?:1[6-9]|[2-9]\d)?\d{2})$|^(?:29(\/|-|\.)0?2\3(?:(?:(?:1[6-9]|[2-9]\d)?(?:0[48]|[2468][048]|[13579][26])|(?:(?:16|[2468][048]|[3579][26])00))))$|^(?:0?[1-9]|1\d|2[0-8])(\/|-|\.)(?:(?:0?[1-9])|(?:1[0-2]))\4(?:(?:1[6-9]|[2-9]\d)?\d{2})$/gm;return e.test(t)},keyUpInput(t){let e=t.target.value;if(this.validation(e)&&10===e.length){const[t,i,s]=e.split("/");this.dateField=`${s}-${i}-${t}`,this.save()}},getUniversalDate(t){const e=t.split(" ")[0],i=e.split("/");return new Date(i[2],i[1]-1,i[0])}},computed:{inputVal:{get(){return this.value},set(t){this.$emit("input",t)}}}}),$o=So,wo=(i("e951"),Me($o,xo,Co,!1,null,"3db06bdf",null)),ko=wo.exports,Oo=ko,Po=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("ul",t._l(t.managers,(function(i,s){return e("li",{key:s},[t._v(" "+t._s(i)+" ")])})),0)},Io=[],Lo=u.a.extend({name:"farm-managers-list",props:{managersString:{type:String,required:!0}},computed:{managers(){return this.managersString?this.managersString.split(","):[]}}}),Do=Lo,Ao=(i("859a"),Me(Do,Po,Io,!1,null,"beedc8fc",null)),Mo=Ao.exports,To=Mo,Bo=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("v-form",{attrs:{autocomplete:"off"},model:{value:t.formVal,callback:function(e){t.formVal=e},expression:"formVal"}},[e("div",{domProps:{innerHTML:t._s(t.title)}}),e("v-row",[e("v-col",{staticClass:"mt-3 v-col-fieldset-default",attrs:{cols:"12",sm:"12"}},[e("v-text-field",{attrs:{id:"form-confirm-remove",color:"secondary",outlined:"",dense:"",rules:[t.rules.checkRemove]},model:{value:t.matchInput,callback:function(e){t.matchInput=e},expression:"matchInput"}})],1)],1)],1)},Eo=[],Fo=ke(h,ii("form")).extend({name:"v-form",provide(){return{form:this}},inheritAttrs:!1,props:{disabled:Boolean,lazyValidation:Boolean,readonly:Boolean,value:Boolean},data:()=>({inputs:[],watchers:[],errorBag:{}}),watch:{errorBag:{handler(t){const e=Object.values(t).includes(!0);this.$emit("input",!e)},deep:!0,immediate:!0}},methods:{watchInput(t){const e=t=>t.$watch("hasError",e=>{this.$set(this.errorBag,t._uid,e)},{immediate:!0}),i={_uid:t._uid,valid:()=>{},shouldValidate:()=>{}};return this.lazyValidation?i.shouldValidate=t.$watch("shouldValidate",s=>{s&&(this.errorBag.hasOwnProperty(t._uid)||(i.valid=e(t)))}):i.valid=e(t),i},validate(){return 0===this.inputs.filter(t=>!t.validate(!0)).length},reset(){this.inputs.forEach(t=>t.reset()),this.resetErrorBag()},resetErrorBag(){this.lazyValidation&&setTimeout(()=>{this.errorBag={}},0)},resetValidation(){this.inputs.forEach(t=>t.resetValidation()),this.resetErrorBag()},register(t){this.inputs.push(t),this.watchers.push(this.watchInput(t))},unregister(t){const e=this.inputs.find(e=>e._uid===t._uid);if(!e)return;const i=this.watchers.find(t=>t._uid===e._uid);i&&(i.valid(),i.shouldValidate()),this.watchers=this.watchers.filter(t=>t._uid!==e._uid),this.inputs=this.inputs.filter(t=>t._uid!==e._uid),this.$delete(this.errorBag,e._uid)}},render(t){return t("form",{staticClass:"v-form",attrs:{novalidate:!0,...this.attrs$},on:{submit:t=>this.$emit("submit",t)}},this.$slots.default)}});const Vo=["sm","md","lg","xl"],jo=["start","end","center"];function Ro(t,e){return Vo.reduce((i,s)=>(i[t+E(s)]=e(),i),{})}const zo=t=>[...jo,"baseline","stretch"].includes(t),No=Ro("align",()=>({type:String,default:null,validator:zo})),Ho=t=>[...jo,"space-between","space-around"].includes(t),Wo=Ro("justify",()=>({type:String,default:null,validator:Ho})),qo=t=>[...jo,"space-between","space-around","stretch"].includes(t),Uo=Ro("alignContent",()=>({type:String,default:null,validator:qo})),Yo={align:Object.keys(No),justify:Object.keys(Wo),alignContent:Object.keys(Uo)},Zo={align:"align",justify:"justify",alignContent:"align-content"};function Ko(t,e,i){let s=Zo[t];if(null!=i){if(e){const i=e.replace(t,"");s+="-"+i}return s+="-"+i,s.toLowerCase()}}const Go=new Map;var Xo=u.a.extend({name:"v-row",functional:!0,props:{tag:{type:String,default:"div"},dense:Boolean,noGutters:Boolean,align:{type:String,default:null,validator:zo},...No,justify:{type:String,default:null,validator:Ho},...Wo,alignContent:{type:String,default:null,validator:qo},...Uo},render(t,{props:e,data:i,children:s}){let n="";for(const a in e)n+=String(e[a]);let r=Go.get(n);if(!r){let t;for(t in r=[],Yo)Yo[t].forEach(i=>{const s=e[i],n=Ko(t,i,s);n&&r.push(n)});r.push({"no-gutters":e.noGutters,"row--dense":e.dense,["align-"+e.align]:e.align,["justify-"+e.justify]:e.justify,["align-content-"+e.alignContent]:e.alignContent}),Go.set(n,r)}return t(e.tag,ze(i,{staticClass:"row",class:r}),s)}}),Jo=u.a.extend({name:"farm-promptusertoconfirm",props:{match:{type:String,default:"EXCLUIR"},value:{required:!0},title:{type:String,default:'Escreva no campo abaixo "EXCLUIR" para confirmar a exclusão.'}},components:{VForm:Fo,VTextField:sn,VRow:Xo,VCol:Ia},data(){return{rules:{checkRemove:t=>t===this.match},matchInput:null}},computed:{formVal:{get(){return this.value},set(t){this.$emit("input",t)}}},mounted(){this.matchInput=null}}),Qo=Jo,tl=Me(Qo,Bo,Eo,!1,null,null,null),el=tl.exports,il=el,sl=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("v-dialog",{attrs:{"content-class":"modal-default modal-default-small"},model:{value:t.inputVal,callback:function(e){t.inputVal=e},expression:"inputVal"}},[e("DialogHeader",{attrs:{title:t.title},on:{onClose:t.close}}),e("v-main",[e("section",{staticClass:"mt-9"},[t.inputVal?e("PromptUserToConfirm",{attrs:{match:t.match,title:t.subtitle},model:{value:t.canConfirm,callback:function(e){t.canConfirm=e},expression:"canConfirm"}}):t._e()],1),e("DialogFooter",{attrs:{confirmColor:t.confirmColor,confirmLabel:t.confirmLabel,isConfirmDisabled:!t.canConfirm},on:{onClose:t.close,onConfirm:t.confirm}})],1)],1)},nl=[],rl=(i("368e"),i("3c93"),ke(_e,$e,ai).extend({name:"v-overlay",props:{absolute:Boolean,color:{type:String,default:"#212121"},dark:{type:Boolean,default:!0},opacity:{type:[Number,String],default:.46},value:{default:!0},zIndex:{type:[Number,String],default:5}},computed:{__scrim(){const t=this.setBackgroundColor(this.color,{staticClass:"v-overlay__scrim",style:{opacity:this.computedOpacity}});return this.$createElement("div",t)},classes(){return{"v-overlay--absolute":this.absolute,"v-overlay--active":this.isActive,...this.themeClasses}},computedOpacity(){return Number(this.isActive?this.opacity:0)},styles(){return{zIndex:this.zIndex}}},methods:{genContent(){return this.$createElement("div",{staticClass:"v-overlay__content"},this.$slots.default)}},render(t){const e=[this.__scrim];return this.isActive&&e.push(this.genContent()),t("div",{staticClass:"v-overlay",on:this.$listeners,class:this.classes,style:this.styles},e)}})),al=rl,ol=u.a.extend().extend({name:"overlayable",props:{hideOverlay:Boolean,overlayColor:String,overlayOpacity:[Number,String]},data(){return{animationFrame:0,overlay:null}},watch:{hideOverlay(t){this.isActive&&(t?this.removeOverlay():this.genOverlay())}},beforeDestroy(){this.removeOverlay()},methods:{createOverlay(){const t=new al({propsData:{absolute:this.absolute,value:!1,color:this.overlayColor,opacity:this.overlayOpacity}});t.$mount();const e=this.absolute?this.$el.parentNode:document.querySelector("[data-app]");e&&e.insertBefore(t.$el,e.firstChild),this.overlay=t},genOverlay(){if(this.hideScroll(),!this.hideOverlay)return this.overlay||this.createOverlay(),this.animationFrame=requestAnimationFrame(()=>{this.overlay&&(void 0!==this.activeZIndex?this.overlay.zIndex=String(this.activeZIndex-1):this.$el&&(this.overlay.zIndex=$(this.$el)),this.overlay.value=!0)}),!0},removeOverlay(t=!0){this.overlay&&(g(this.overlay.$el,"transitionend",()=>{this.overlay&&this.overlay.$el&&this.overlay.$el.parentNode&&!this.overlay.value&&!this.isActive&&(this.overlay.$el.parentNode.removeChild(this.overlay.$el),this.overlay.$destroy(),this.overlay=null)}),cancelAnimationFrame(this.animationFrame),this.overlay.value=!1),t&&this.showScroll()},scrollListener(t){if("key"in t){if(["INPUT","TEXTAREA","SELECT"].includes(t.target.tagName)||t.target.isContentEditable)return;const e=[D.up,D.pageup],i=[D.down,D.pagedown];if(e.includes(t.keyCode))t.deltaY=-1;else{if(!i.includes(t.keyCode))return;t.deltaY=1}}(t.target===this.overlay||"keydown"!==t.type&&t.target===document.body||this.checkPath(t))&&t.preventDefault()},hasScrollbar(t){if(!t||t.nodeType!==Node.ELEMENT_NODE)return!1;const e=window.getComputedStyle(t);return(["auto","scroll"].includes(e.overflowY)||"SELECT"===t.tagName)&&t.scrollHeight>t.clientHeight||["auto","scroll"].includes(e.overflowX)&&t.scrollWidth>t.clientWidth},shouldScroll(t,e){if(t.hasAttribute("data-app"))return!1;const i=e.shiftKey||e.deltaX?"x":"y",s="y"===i?e.deltaY:e.deltaX||e.deltaY;let n,r;"y"===i?(n=0===t.scrollTop,r=t.scrollTop+t.clientHeight===t.scrollHeight):(n=0===t.scrollLeft,r=t.scrollLeft+t.clientWidth===t.scrollWidth);const a=s<0,o=s>0;return!(n||!a)||(!(r||!o)||!(!n&&!r)&&this.shouldScroll(t.parentNode,e))},isInside(t,e){return t===e||null!==t&&t!==document.body&&this.isInside(t.parentNode,e)},checkPath(t){const e=G(t);if("keydown"===t.type&&e[0]===document.body){const e=this.$refs.dialog,i=window.getSelection().anchorNode;return!(e&&this.hasScrollbar(e)&&this.isInside(i,e))||!this.shouldScroll(e,t)}for(let i=0;i<e.length;i++){const s=e[i];if(s===document)return!0;if(s===document.documentElement)return!0;if(s===this.$refs.content)return!0;if(this.hasScrollbar(s))return!this.shouldScroll(s,t)}return!0},hideScroll(){this.$vuetify.breakpoint.smAndDown?document.documentElement.classList.add("overflow-y-hidden"):(b(window,"wheel",this.scrollListener,{passive:!1}),window.addEventListener("keydown",this.scrollListener))},showScroll(){document.documentElement.classList.remove("overflow-y-hidden"),window.removeEventListener("wheel",this.scrollListener),window.removeEventListener("keydown",this.scrollListener)}}});const ll=ke(Ei,Wi,ol,Yi,Fi,Ti);var ul=ll.extend({name:"v-dialog",directives:{ClickOutside:is},props:{dark:Boolean,disabled:Boolean,fullscreen:Boolean,light:Boolean,maxWidth:[String,Number],noClickAnimation:Boolean,origin:{type:String,default:"center center"},persistent:Boolean,retainFocus:{type:Boolean,default:!0},scrollable:Boolean,transition:{type:[String,Boolean],default:"dialog-transition"},width:[String,Number]},data(){return{activatedBy:null,animate:!1,animateTimeout:-1,stackMinZIndex:200,previousActiveElement:null}},computed:{classes(){return{[("v-dialog "+this.contentClass).trim()]:!0,"v-dialog--active":this.isActive,"v-dialog--persistent":this.persistent,"v-dialog--fullscreen":this.fullscreen,"v-dialog--scrollable":this.scrollable,"v-dialog--animated":this.animate}},contentClasses(){return{"v-dialog__content":!0,"v-dialog__content--active":this.isActive}},hasActivator(){return Boolean(!!this.$slots.activator||!!this.$scopedSlots.activator)}},watch:{isActive(t){var e;t?(this.show(),this.hideScroll()):(this.removeOverlay(),this.unbind(),null===(e=this.previousActiveElement)||void 0===e||e.focus())},fullscreen(t){this.isActive&&(t?(this.hideScroll(),this.removeOverlay(!1)):(this.showScroll(),this.genOverlay()))}},created(){this.$attrs.hasOwnProperty("full-width")&&me("full-width",this)},beforeMount(){this.$nextTick(()=>{this.isBooted=this.isActive,this.isActive&&this.show()})},beforeDestroy(){"undefined"!==typeof window&&this.unbind()},methods:{animateClick(){this.animate=!1,this.$nextTick(()=>{this.animate=!0,window.clearTimeout(this.animateTimeout),this.animateTimeout=window.setTimeout(()=>this.animate=!1,150)})},closeConditional(t){const e=t.target;return!(this._isDestroyed||!this.isActive||this.$refs.content.contains(e)||this.overlay&&e&&!this.overlay.$el.contains(e))&&this.activeZIndex>=this.getMaxZIndex()},hideScroll(){this.fullscreen?document.documentElement.classList.add("overflow-y-hidden"):ol.options.methods.hideScroll.call(this)},show(){!this.fullscreen&&!this.hideOverlay&&this.genOverlay(),this.$nextTick(()=>{this.$nextTick(()=>{var t,e;(null===(t=this.$refs.dialog)||void 0===t?void 0:t.contains(document.activeElement))||(this.previousActiveElement=document.activeElement,null===(e=this.$refs.dialog)||void 0===e||e.focus()),this.bind()})})},bind(){window.addEventListener("focusin",this.onFocusin)},unbind(){window.removeEventListener("focusin",this.onFocusin)},onClickOutside(t){this.$emit("click:outside",t),this.persistent?this.noClickAnimation||this.animateClick():this.isActive=!1},onKeydown(t){if(t.keyCode===D.esc&&!this.getOpenDependents().length)if(this.persistent)this.noClickAnimation||this.animateClick();else{this.isActive=!1;const t=this.getActivator();this.$nextTick(()=>t&&t.focus())}this.$emit("keydown",t)},onFocusin(t){if(!t||!this.retainFocus)return;const e=t.target;if(e&&this.$refs.dialog&&![document,this.$refs.dialog].includes(e)&&!this.$refs.dialog.contains(e)&&this.activeZIndex>=this.getMaxZIndex()&&!this.getOpenDependentElements().some(t=>t.contains(e))){const t=this.$refs.dialog.querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])'),e=[...t].find(t=>!t.hasAttribute("disabled"));e&&e.focus()}},genContent(){return this.showLazyContent(()=>[this.$createElement(Di,{props:{root:!0,light:this.light,dark:this.dark}},[this.$createElement("div",{class:this.contentClasses,attrs:{role:"dialog","aria-modal":this.hideOverlay?void 0:"true",...this.getScopeIdAttrs()},on:{keydown:this.onKeydown},style:{zIndex:this.activeZIndex},ref:"content"},[this.genTransition()])])])},genTransition(){const t=this.genInnerContent();return this.transition?this.$createElement("transition",{props:{name:this.transition,origin:this.origin,appear:!0}},[t]):t},genInnerContent(){const t={class:this.classes,attrs:{tabindex:this.isActive?0:void 0},ref:"dialog",directives:[{name:"click-outside",value:{handler:this.onClickOutside,closeConditional:this.closeConditional,include:this.getOpenDependentElements}},{name:"show",value:this.isActive}],style:{transformOrigin:this.origin}};return this.fullscreen||(t.style={...t.style,maxWidth:P(this.maxWidth),width:P(this.width)}),this.$createElement("div",t,this.getContentSlot())}},render(t){return t("div",{staticClass:"v-dialog__container",class:{"v-dialog__container--attached":""===this.attach||!0===this.attach||"attach"===this.attach}},[this.genActivator(),this.genContent()])}}),cl=(i("bd0c"),kr.extend({name:"v-main",props:{tag:{type:String,default:"main"}},computed:{styles(){const{bar:t,top:e,right:i,footer:s,insetFooter:n,bottom:r,left:a}=this.$vuetify.application;return{paddingTop:e+t+"px",paddingRight:i+"px",paddingBottom:s+n+r+"px",paddingLeft:a+"px"}}},render(t){const e={staticClass:"v-main",style:this.styles,ref:"main"};return t(this.tag,e,[t("div",{staticClass:"v-main__wrap"},this.$slots.default)])}})),hl=u.a.extend({name:"farm-prompt-user",components:{VDialog:ul,VMain:cl},props:{value:{required:!0},title:{required:!0,type:String},subtitle:{required:!0,type:String},confirmColor:{type:String,default:"secondary"},confirmLabel:{type:String,default:"Confirmar"},match:{required:!0,type:String}},data(){return{canConfirm:!1}},computed:{inputVal:{get(){return this.value},set(t){this.$emit("input",t)}}},methods:{close(){this.inputVal=!1},confirm(){this.$emit("onConfirm"),this.inputVal=!1}}}),dl=hl,pl=Me(dl,sl,nl,!1,null,null,null),fl=pl.exports,ml=fl,gl=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("v-menu",{scopedSlots:t._u([{key:"activator",fn:function({on:i,attrs:s}){return[e("farm-btn",t._g(t._b({attrs:{icon:"",title:"Abrir opções"}},"farm-btn",s,!1),i),[e("i",{staticClass:"farm-btn__icon mdi mdi-dots-horizontal"})])]}}])},[e("v-list",{staticClass:"pa-0",attrs:{dense:""}},t._l(t.items,(function(i){return e("v-list-item",{key:i.label,attrs:{title:i.label},on:{click:function(e){return t.onClick(i.handler)}}},[e("v-list-item-content",[e("v-list-item-title",[i.icon?e("v-icon",{staticClass:"mb-1",attrs:{color:i.icon.color||"secondary"}},[t._v("mdi-"+t._s(i.icon.type))]):t._e(),t._v(" "+t._s(i.label)+" ")],1)],1)],1)})),1)],1)},vl=[],bl=u.a.extend({name:"farm-context-menu",components:{VIcon:Le,VMenu:ls,VList:xs,VListItem:gs,VListItemContent:Ds,VListItemTitle:As},props:{items:{type:Array,required:!0}},methods:{onClick(t){void 0!==t&&this.$emit(t)}}}),yl=bl,_l=(i("c399"),Me(yl,gl,vl,!1,null,"f725fec2",null)),xl=_l.exports,Cl=xl,Sl=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{class:{"farm-icon-box":!0,[t.cssColorClass]:!0,"farm-icon-box--inverted":t.inverted},attrs:{size:t.size}},[e("farm-icon",{attrs:{color:t.inverted?"white":t.color,size:t.size}},[t._v(t._s(t.iconParsed))])],1)},$l=[],wl=u.a.extend({name:"farm-icon-box",props:{icon:{type:String,required:!0},color:{type:String,default:"secondary"},size:{type:String,default:"md"},inverted:{type:Boolean,default:!1}},computed:{iconParsed(){return 0===this.icon.indexOf("mdi-")?this.icon.split("mdi-")[1]:this.icon},cssColorClass(){return"farm-icon-box--"+this.color}}}),kl=wl,Ol=(i("0614"),Me(kl,Sl,$l,!1,null,"2f795bbf",null)),Pl=Ol.exports,Il=Pl,Ll=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{class:{"card-context":!0,"height-full":this.full,"card-context--outlined":this.outlined}},[t.isSuccess&&t.title?e("div",{staticClass:"card-context-header"},[t.icon?e("farm-icon-box",{attrs:{icon:t.icon}}):t._e(),e("div",{staticClass:"card-context-content"},[e("p",{class:{"card-context-title":!0,"card-context-content--bold":t.bold}},[t._v(" "+t._s(t.title)+" ")])])],1):t._e(),t.isSuccess?e("div",{staticClass:"card-context-body"},[t._t("default")],2):t._e(),t.isLoading?e("div",{staticClass:"card-context-loading-or-error"},[e("farm-loader",{attrs:{size:t.isLargeLoading}})],1):t._e(),t.isError?e("div",{staticClass:"card-context-loading-or-error"},[e("farm-alert-reload",{attrs:{label:t.errorLabel},on:{onClick:function(e){return t.$emit("onLoad")}}})],1):t._e()])},Dl=[],Al=u.a.extend({name:"farm-card-context",props:{title:{type:String,required:!0},bold:{type:Boolean,default:!1},icon:{type:String,default:null},isLoading:{type:Boolean,default:!1},largeLoading:{type:Boolean,default:!1},isError:{type:Boolean,default:!1},errorLabel:{type:String,default:"Ocorreu um erro"},full:{type:Boolean,default:!1},outlined:{type:Boolean,default:!1}},computed:{isSuccess(){return!this.isLoading&&!this.isError},isLargeLoading(){return this.largeLoading?"normal":"small"}}}),Ml=Al,Tl=(i("b6d8"),Me(Ml,Ll,Dl,!1,null,"661817d8",null)),Bl=Tl.exports,El=Bl,Fl=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("farm-card",{staticClass:"collapsible"},[e("farm-card-content",{attrs:{gutter:"md"}},[e("div",{staticClass:"collapsible__header",on:{click:function(e){return t.onToggleCollapsible(t.status)}}},[e("div",{staticClass:"collapsible__content-title"},[""!==t.icon?e("div",{staticClass:"collapsible__icon collapsible__icon--main"},[e("farm-icon",{attrs:{color:"secondary",size:"md"}},[t._v(" "+t._s(t.icon)+" ")])],1):t._e(),e("farm-typography",{attrs:{bold:"",size:"lg"}},[t._v(" "+t._s(t.title)+" ")])],1),e("div",{staticClass:"collapsible__icon collapsible__icon--arrow"},[e("farm-icon",{attrs:{size:"md",color:"primary"}},[t._v(" "+t._s(t.arrowIcon)+" ")])],1)]),e("transition",{attrs:{name:"fade"}},[e("div",{directives:[{name:"show",rawName:"v-show",value:t.status,expression:"status"}],staticClass:"collapsible__body"},[t._t("default")],2)])],1)],1)},Vl=[],jl=u.a.extend({name:"farm-collapsible",props:{title:{type:String,required:!0},icon:{type:String,default:""},open:{type:Boolean,default:!1}},data(){return{status:this.$props.open}},computed:{arrowIcon(){return this.status?"menu-up":"menu-down"}},methods:{onToggleCollapsible(t){this.status=!t,this.$emit("open",this.status)}}}),Rl=jl,zl=(i("0597"),Me(Rl,Fl,Vl,!1,null,"b2a9f398",null)),Nl=zl.exports,Hl=Nl,Wl=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"idcaption"},[t.icon?e("farm-icon-box",{attrs:{icon:t.icon,color:"secondary",size:"md"}}):t._e(),e("div",{class:{idcaption__body:!0,"idcaption__body--single":!t.hasTitle||!t.hasSubtitle}},[t.hasTitle?e("farm-caption",{attrs:{bold:"",variation:"medium"}},[e("span",[t._v(" "+t._s(t.$slots.title?t.$slots.title[0].text:null)+" "),t.link?e("farm-btn",{attrs:{icon:"",color:"gray"},on:{click:function(e){return t.$emit("onLinkClick")}}},[e("farm-icon",{attrs:{size:"xs"}},[t._v("open-in-new")])],1):t._e()],1)]):t._e(),t.hasSubtitle?e("farm-caption",{attrs:{variation:"regular",color:"gray"}},[e("span",[t._v(" "+t._s(t.$slots.subtitle?t.$slots.subtitle[0].text:null)+" "),t.copyText?e("farm-copytoclipboard",{attrs:{toCopy:t.copyText}}):t._e()],1)]):t._e()],1)],1)},ql=[],Ul=u.a.extend({name:"farm-idcaption",props:{icon:{type:String},copyText:{type:String},link:{type:Boolean,default:!1}},setup(t,{slots:e}){const i=Object(l["computed"])(()=>e.title),s=Object(l["computed"])(()=>e.subtitle);return{hasSubtitle:s,hasTitle:i}}}),Yl=Ul,Zl=(i("f38c"),Me(Yl,Wl,ql,!1,null,"4085cd89",null)),Kl=Zl.exports,Gl=Kl,Xl=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{class:{"farm-alert-reload":!0,"farm-alert-reload--vertical":t.$props.vertical}},[e("div",[e("farm-icon",{attrs:{color:"error"}},[t._v("alert")]),e("farm-typography",{staticClass:"farm-alert-reload__label",attrs:{tag:"span",color:"error"}},[t._v(" "+t._s(t.label)+" ")])],1),e("farm-btn",{attrs:{color:"secondary",alt:"Recarregar"},on:{click:function(e){return t.$emit("onClick")}}},[e("farm-icon",[t._v("refresh")]),t._v(" Recarregar ")],1)],1)},Jl=[],Ql=u.a.extend({name:"farm-alert-reload",props:{label:{type:String,default:""},vertical:{type:Boolean,default:!1}}}),tu=Ql,eu=(i("eb52"),Me(tu,Xl,Jl,!1,null,"8e483f9c",null)),iu=eu.exports,su=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("farm-btn",t._g(t._b({attrs:{color:"error"}},"farm-btn",t.$attrs,!1),t.$listeners),[t.icon?e("i",{class:{mdi:!0,[t.iconPath]:!0,"mr-3":!0}}):t._e(),t._t("default")],2)},nu=[],ru=u.a.extend({name:"farm-btn-danger",inheritAttrs:!0,props:{icon:{type:Boolean,default:!1},customIcon:{type:String,default:""}},computed:{iconPath(){return this.customIcon?"mdi-"+this.customIcon:"mdi-trash-can-outline"}}}),au=ru,ou=Me(au,su,nu,!1,null,null,null),lu=ou.exports,uu=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("farm-btn",t._g(t._b({attrs:{color:"secondary"}},"farm-btn",t.$attrs,!1),t.$listeners),[t.icon?e("i",{class:{mdi:!0,[t.iconPath]:!0,"mr-3":!0}}):t._e(),t._t("default")],2)},cu=[],hu=u.a.extend({name:"farm-btn-confirm",inheritAttrs:!0,props:{icon:{type:Boolean,default:!1},customIcon:{type:String,default:""}},computed:{iconPath(){return this.customIcon?"mdi-"+this.customIcon:"mdi-check"}}}),du=hu,pu=(i("8b98"),Me(du,uu,cu,!1,null,"1345014a",null)),fu=pu.exports,mu=function(){var t=this,e=t._self._c;t._self._setupProxy;return 0==t.optionsList.length?e("farm-btn",{staticClass:"farm-btn--responsive",attrs:{dense:"",outlined:"",title:"Exportar",disabled:t.disabled},on:{click:t.onClick}},[e("i",{class:{"mr-2":!0,"mdi-file-export-outline":!0,mdi:!0}}),t._v(" Exportar ")]):e("v-menu",{attrs:{"content-class":"elevation-1","offset-y":!0,rounded:"b t-0"},scopedSlots:t._u([{key:"activator",fn:function({on:i,attrs:s}){return[e("farm-btn",t._g(t._b({staticClass:"farm-btn--responsive",attrs:{dense:"",outlined:"",title:"Exportar",disabled:t.disabled},on:{onClick:function(e){t.togglePopover=!0}}},"farm-btn",s,!1),i),[t._v(" Exportar "),e("i",{class:{"ml-2":!0,"mr-0":!0,mdi:!0,"mdi-chevron-up":t.togglePopover,"mdi-chevron-down":!t.togglePopover}})])]}}]),model:{value:t.togglePopover,callback:function(e){t.togglePopover=e},expression:"togglePopover"}},[e("v-list",{staticClass:"pa-0",attrs:{dense:""}},t._l(t.optionsList,(function(i){return e("v-list-item",{key:i.key,attrs:{link:"",title:i.label},on:{click:function(e){return t.onClick(i.key)}}},[e("v-list-item-content",[e("v-list-item-title",{domProps:{textContent:t._s(i.label)}})],1)],1)})),1)],1)},gu=[],vu=u.a.extend({name:"farm-btn-export",props:{optionsList:{type:Array,default:()=>[]},disabled:{type:Boolean,default:!1}},data(){return{togglePopover:!1}},components:{VList:xs,VListItem:gs,VMenu:us,VListItemContent:Ds,VListItemTitle:As},methods:{onClick(t){this.$emit("onClick",t)}}}),bu=vu,yu=(i("5bc7"),Me(bu,mu,gu,!1,null,"052ab7e7",null)),_u=yu.exports,xu=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("farm-btn",{staticClass:"farm-btn--responsive farm-btn--import",attrs:{title:"Importar"},on:{click:t.onClick}},[e("farm-icon",[t._v("upload")]),t._v(" "+t._s(t.label)+" ")],1)},Cu=[],Su=u.a.extend({name:"farm-btn-import",props:{label:{type:String,default:"Importar"}},methods:{onClick(){this.$emit("onClick")}}}),$u=Su,wu=(i("4cda"),Me($u,xu,Cu,!1,null,"464b3921",null)),ku=wu.exports,Ou=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("farm-btn",{staticClass:"farm-btn--responsive",class:{"v-btn_icon--prepend":t.prepend,"v-btn_icon--apppend":!t.prepend},attrs:{dense:"",color:t.color,outlined:!t.open,title:t.label},on:{click:t.onClick}},[t.prepend?e("farm-icon",{staticClass:"mr-3 ml-0"},[t._v(t._s("chevron-"+(t.open?"up":"down")))]):t._e(),t._v(" "+t._s(t.label)+" "),t.prepend?t._e():e("farm-icon",{staticClass:"ml-3 mr-0"},[t._v(t._s("chevron-"+(t.open?"up":"down")))])],1)},Pu=[],Iu=u.a.extend({name:"farm-btn-toggle",data:()=>({open:!1}),props:{label:{type:String,default:""},color:{type:String,default:"secondary"},pressed:{type:Boolean,default:!1},position:{type:String,default:"left"}},methods:{onClick(){this.open=!this.open}},watch:{open(t){this.$emit("onChange",t)}},created(){this.open=this.pressed},computed:{prepend(){return"left"===this.position}}}),Lu=Iu,Du=Me(Lu,Ou,Pu,!1,null,null,null),Au=Du.exports,Mu=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("farm-btn",{staticClass:"farm-btn--responsive",attrs:{dense:"",color:"error",title:t.label,disabled:t.disabled},on:{click:t.onClick}},[e("farm-icon",[t._v("trash-can-outline")]),t._v(" "+t._s(t.label)+" ")],1)},Tu=[],Bu=u.a.extend({name:"farm-btn-remove",props:{label:{type:String,default:"Remover"},disabled:{type:Boolean,default:!1}},methods:{onClick(){this.$emit("onClick")}}}),Eu=Bu,Fu=(i("ddf7"),Me(Eu,Mu,Tu,!1,null,"e16764bc",null)),Vu=Fu.exports,ju=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("v-menu",{attrs:{"content-class":"elevation-1","offset-y":!0,rounded:"b t-0"},scopedSlots:t._u([{key:"activator",fn:function({on:i,attrs:s}){return[e("farm-btn",t._g(t._b({staticClass:"farm-btn--responsive farm-btn--import",attrs:{dense:"",outlined:"",title:"Importar"},on:{onClick:function(e){t.togglePopover=!0}}},"farm-btn",s,!1),i),[t._v(" Importar "),e("i",{class:{"ml-2":!0,"mr-0":!0,mdi:!0,"mdi-chevron-up":t.togglePopover,"mdi-chevron-down":!t.togglePopover}})])]}}]),model:{value:t.togglePopover,callback:function(e){t.togglePopover=e},expression:"togglePopover"}},[e("v-list",{staticClass:"pa-0",attrs:{dense:""}},t._l(t.optionsList,(function(i){return e("v-list-item",{key:i.listenerKey,attrs:{link:"",title:i.title},on:{click:function(e){return t.$emit("onClick",i.listenerKey)}}},[e("v-list-item-content",[e("v-list-item-title",[t._v(t._s(i.title))])],1)],1)})),1)],1)},Ru=[],zu=u.a.extend({name:"farm-btn-multipleimport",components:{VList:xs,VListItem:gs,VMenu:us,VListItemContent:Ds,VListItemTitle:As},props:{optionsList:{type:Array,default:()=>[]}},data(){return{togglePopover:!1}}}),Nu=zu,Hu=(i("2884"),Me(Nu,ju,Ru,!1,null,"7c355fe7",null)),Wu=Hu.exports,qu=function(){var t=this,e=t._self._c;t._self._setupProxy;return e(t.tag,{tag:"component",staticClass:"farm-card"},[t._t("default")],2)},Uu=[],Yu=u.a.extend({name:"farm-card",inheritAttrs:!0,props:{tag:{type:String,default:"div"}}}),Zu=Yu,Ku=(i("d4e7"),Me(Zu,qu,Uu,!1,null,"48fb5f54",null)),Gu=Ku.exports,Xu=function(){var t=this,e=t._self._c;t._self._setupProxy;return e(t.tag,{tag:"component",staticClass:"farm-card__content",attrs:{gutter:t.gutter}},[t._t("default")],2)},Ju=[],Qu=u.a.extend({name:"farm-card-content",props:{tag:{type:String,default:"div"},gutter:{type:String,default:"default"}},inheritAttrs:!0}),tc=Qu,ec=(i("495c"),Me(tc,Xu,Ju,!1,null,"3e5867b0",null)),ic=ec.exports,sc=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"farm-checkbox__container"},[e("span",{class:{"farm-checkbox":!0,"farm-checkbox--checked":t.innerValue},on:{click:t.toggleValue}},[t.innerValue?e("farm-icon",{attrs:{size:"sm"}},[t._v("check")]):t._e()],1),t.label?e("farm-label",[t._v(" "+t._s(t.label)+" ")]):t._e()],1)},nc=[],rc=u.a.extend({name:"farm-checkbox",props:{value:{type:Boolean,required:!0},label:{type:String,default:null}},setup(t,{emit:e}){const i=Object(l["ref"])(t.value),{label:s}=t,n=()=>{i.value=!i.value,e("input",i.value)};return{innerValue:i,label:s,toggleValue:n}}}),ac=rc,oc=(i("2959"),Me(ac,sc,nc,!1,null,"2c4c2ed3",null)),lc=oc.exports,uc=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("span",{class:{"farm-chip":!0}},[e("farm-typography",{attrs:{tag:"span",size:"sm"}},[t._t("default")],2)],1)},cc=[],hc=u.a.extend({name:"farm-chip",inheritAttrs:!0}),dc=hc,pc=(i("6031"),Me(dc,uc,cc,!1,null,"3cf5e20a",null)),fc=pc.exports,mc=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("img",{attrs:{src:t.imgSrc}})},gc=[],vc=u.a.extend({name:"farm-imglogo-product",inheritAttrs:!0,props:{id:{required:!0},variation:{type:String,default:"full"}},computed:{imgSrc(){const t=window.location.href;return`${t.indexOf("localhost")||t.indexOf("front-farm-storybook")?"https://dev.plataforma.portalfarm.com.br":""}/public/logos/products/${this.id}/${this.variation}.svg`}}}),bc=vc,yc=Me(bc,mc,gc,!1,null,null,null),_c=yc.exports,xc=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("img",{attrs:{src:t.imgSrc}})},Cc=[],Sc=u.a.extend({name:"farm-imglogo-originator",inheritAttrs:!0,props:{id:{required:!0},variation:{type:String,default:"full"}},computed:{imgSrc(){const t=window.location.href;return`${t.indexOf("localhost")||t.indexOf("front-farm-storybook")?"https://dev.plataforma.portalfarm.com.br":""}/public/logos/originadores/${this.id}/${this.variation}.svg`}}}),$c=Sc,wc=Me($c,xc,Cc,!1,null,null,null),kc=wc.exports,Oc=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"ml-6 mr-3 d-flex align-center"},[t._v(" Total de linhas selecionadas: "+t._s(t.length)+" "),t.length>0?e("farm-btn",{staticClass:"ml-3",attrs:{color:"error",small:"",dense:""},on:{click:t.reset}},[e("v-icon",{attrs:{small:""}},[t._v(" mdi-trash-can ")]),t._v(" Desmarcar ")],1):t._e()],1)},Pc=[],Ic=u.a.extend({name:"farm-tablerowselection",components:{VIcon:Qe,"farm-btn":Gn},props:{length:{default:0,type:Number}},methods:{reset(){this.$emit("onReset")}}}),Lc=Ic,Dc=(i("121f"),Me(Lc,Oc,Pc,!1,null,"6592acd8",null)),Ac=Dc.exports,Mc=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"align-center"},[0===t.index?e("span",{staticClass:"mr-1 label"},[t._v(t._s(t.item[t.labelKey]))]):t._e(),1===t.index?e("span",{staticClass:"label"},[t._v(" (+"+t._s(t.itemsLength-1)+" "+t._s(t.itemsLength>2?"outros":"outro")+" ) ")]):t._e()])},Tc=[],Bc=u.a.extend({name:"farm-multiple-select-shortener",props:{labelKey:{type:String,default:"label"},item:{type:Object},index:{type:Number},itemsLength:{type:Number}}}),Ec=Bc,Fc=(i("d5b1"),Me(Ec,Mc,Tc,!1,null,"31e8b3ae",null)),Vc=Fc.exports,jc=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("v-col",{staticClass:"v-col-fieldset-default",attrs:{cols:"12",sm:"12",md:t.config.md?t.config.md:2}},[e("div",{staticClass:"v-text-field"},[e("label",{attrs:{for:t.inputId}},[t._v(" "+t._s(t.label)+" "),t.config.required?e("span",{staticClass:"required"},[t._v("*")]):t._e()]),e("v-text-field",{attrs:{"append-icon":"mdi-magnify ",color:"secondary",outlined:"",dense:"",readonly:"",id:t.inputId,value:t.selectedValueText},on:{keyup:t.clearTextField,click:t.openModal}})],1),e("v-dialog",{attrs:{"content-class":"modal-default modal-default-small"},model:{value:t.showModal,callback:function(e){t.showModal=e},expression:"showModal"}},[e("DialogHeader",{staticClass:"dialog-header",attrs:{title:t.modalTitle},on:{onClose:t.closeModal}}),e("v-main",{staticClass:"mt-9"},[t.isLoading?e("Loader",{staticClass:"text-center mb-2"}):t._e(),t.isLoading?t._e():e("fieldset",{staticClass:"fieldset-default mx-4 mb-3"},[e("label",{attrs:{for:"searchInput"}},[t._v(" "+t._s(t.label)+" ")]),e("v-text-field",{attrs:{color:"secondary",id:"searchInput",outlined:"",dense:"","hide-details":"",placeholder:t.placeholder},model:{value:t.searchValue,callback:function(e){t.searchValue=e},expression:"searchValue"}})],1),t.isLoading?t._e():e("v-data-table",{staticClass:"v-data-table__clickable v-data-table__select-modal",attrs:{id:"inputModalOptionsTable","hide-default-footer":"","hide-default-header":"",items:t.items,headers:t.headers,options:t.pagination,search:t.searchValue,"custom-filter":t.customFilter},on:{"update:options":function(e){t.pagination=e},"click:row":t.handleClick,pagination:t.handlePagination},scopedSlots:t._u([{key:"item.label",fn:function({item:i}){return[e("td",{attrs:{title:t.getItemLabel(i),"aria-role":"button"}},[t._v(" "+t._s(t.getItemLabel(i))+" ")])]}},{key:"footer",fn:function(){return[e("DataTablePaginator",{staticClass:"my-6",attrs:{hidePerPageOptions:"",initialLimitPerPage:t.pagination.itemsPerPage,page:t.pagination.page,totalPages:t.pagination.pages},on:{onChangePage:t.onChangePage}})]},proxy:!0}],null,!0)},[e("template",{slot:"no-data"},[e("DataTableEmptyWrapper")],1),e("template",{slot:"no-results"},[e("DataTableEmptyWrapper")],1)],2)],1),e("DialogFooter",{attrs:{hasConfirm:!1},on:{onClose:t.closeModal}})],1)],1)},Rc=[],zc=sn,Nc=(i("91f4"),u.a.extend({name:"v-data",inheritAttrs:!1,props:{items:{type:Array,default:()=>[]},options:{type:Object,default:()=>({})},sortBy:{type:[String,Array]},sortDesc:{type:[Boolean,Array]},customSort:{type:Function,default:j},mustSort:Boolean,multiSort:Boolean,page:{type:Number,default:1},itemsPerPage:{type:Number,default:10},groupBy:{type:[String,Array],default:()=>[]},groupDesc:{type:[Boolean,Array],default:()=>[]},customGroup:{type:Function,default:F},locale:{type:String,default:"en-US"},disableSort:Boolean,disablePagination:Boolean,disableFiltering:Boolean,search:String,customFilter:{type:Function,default:z},serverItemsLength:{type:Number,default:-1}},data(){let t={page:this.page,itemsPerPage:this.itemsPerPage,sortBy:V(this.sortBy),sortDesc:V(this.sortDesc),groupBy:V(this.groupBy),groupDesc:V(this.groupDesc),mustSort:this.mustSort,multiSort:this.multiSort};this.options&&(t=Object.assign(t,this.options));const{sortBy:e,sortDesc:i,groupBy:s,groupDesc:n}=t,r=e.length-i.length,a=s.length-n.length;return r>0&&t.sortDesc.push(...K(r,!1)),a>0&&t.groupDesc.push(...K(a,!1)),{internalOptions:t}},computed:{itemsLength(){return this.serverItemsLength>=0?this.serverItemsLength:this.filteredItems.length},pageCount(){return this.internalOptions.itemsPerPage<=0?1:Math.ceil(this.itemsLength/this.internalOptions.itemsPerPage)},pageStart(){return-1!==this.internalOptions.itemsPerPage&&this.items.length?(this.internalOptions.page-1)*this.internalOptions.itemsPerPage:0},pageStop(){return-1===this.internalOptions.itemsPerPage?this.itemsLength:this.items.length?Math.min(this.itemsLength,this.internalOptions.page*this.internalOptions.itemsPerPage):0},isGrouped(){return!!this.internalOptions.groupBy.length},pagination(){return{page:this.internalOptions.page,itemsPerPage:this.internalOptions.itemsPerPage,pageStart:this.pageStart,pageStop:this.pageStop,pageCount:this.pageCount,itemsLength:this.itemsLength}},filteredItems(){let t=this.items.slice();return!this.disableFiltering&&this.serverItemsLength<=0&&(t=this.customFilter(t,this.search)),t},computedItems(){let t=this.filteredItems.slice();return(!this.disableSort||this.internalOptions.groupBy.length)&&this.serverItemsLength<=0&&(t=this.sortItems(t)),!this.disablePagination&&this.serverItemsLength<=0&&(t=this.paginateItems(t)),t},groupedItems(){return this.isGrouped?this.groupItems(this.computedItems):null},scopedProps(){return{sort:this.sort,sortArray:this.sortArray,group:this.group,items:this.computedItems,options:this.internalOptions,updateOptions:this.updateOptions,pagination:this.pagination,groupedItems:this.groupedItems,originalItemsLength:this.items.length}},computedOptions(){return{...this.options}}},watch:{computedOptions:{handler(t,e){_(t,e)||this.updateOptions(t)},deep:!0,immediate:!0},internalOptions:{handler(t,e){_(t,e)||this.$emit("update:options",t)},deep:!0,immediate:!0},page(t){this.updateOptions({page:t})},"internalOptions.page"(t){this.$emit("update:page",t)},itemsPerPage(t){this.updateOptions({itemsPerPage:t})},"internalOptions.itemsPerPage"(t){this.$emit("update:items-per-page",t)},sortBy(t){this.updateOptions({sortBy:V(t)})},"internalOptions.sortBy"(t,e){!_(t,e)&&this.$emit("update:sort-by",Array.isArray(this.sortBy)?t:t[0])},sortDesc(t){this.updateOptions({sortDesc:V(t)})},"internalOptions.sortDesc"(t,e){!_(t,e)&&this.$emit("update:sort-desc",Array.isArray(this.sortDesc)?t:t[0])},groupBy(t){this.updateOptions({groupBy:V(t)})},"internalOptions.groupBy"(t,e){!_(t,e)&&this.$emit("update:group-by",Array.isArray(this.groupBy)?t:t[0])},groupDesc(t){this.updateOptions({groupDesc:V(t)})},"internalOptions.groupDesc"(t,e){!_(t,e)&&this.$emit("update:group-desc",Array.isArray(this.groupDesc)?t:t[0])},multiSort(t){this.updateOptions({multiSort:t})},"internalOptions.multiSort"(t){this.$emit("update:multi-sort",t)},mustSort(t){this.updateOptions({mustSort:t})},"internalOptions.mustSort"(t){this.$emit("update:must-sort",t)},pageCount:{handler(t){this.$emit("page-count",t)},immediate:!0},computedItems:{handler(t){this.$emit("current-items",t)},immediate:!0},pagination:{handler(t,e){_(t,e)||this.$emit("pagination",this.pagination)},immediate:!0}},methods:{toggle(t,e,i,s,n,r){let a=e.slice(),o=i.slice();const l=a.findIndex(e=>e===t);return l<0?(r||(a=[],o=[]),a.push(t),o.push(!1)):l>=0&&!o[l]?o[l]=!0:n?o[l]=!1:(a.splice(l,1),o.splice(l,1)),_(a,e)&&_(o,i)||(s=1),{by:a,desc:o,page:s}},group(t){const{by:e,desc:i,page:s}=this.toggle(t,this.internalOptions.groupBy,this.internalOptions.groupDesc,this.internalOptions.page,!0,!1);this.updateOptions({groupBy:e,groupDesc:i,page:s})},sort(t){if(Array.isArray(t))return this.sortArray(t);const{by:e,desc:i,page:s}=this.toggle(t,this.internalOptions.sortBy,this.internalOptions.sortDesc,this.internalOptions.page,this.internalOptions.mustSort,this.internalOptions.multiSort);this.updateOptions({sortBy:e,sortDesc:i,page:s})},sortArray(t){const e=t.map(t=>{const e=this.internalOptions.sortBy.findIndex(e=>e===t);return e>-1&&this.internalOptions.sortDesc[e]});this.updateOptions({sortBy:t,sortDesc:e})},updateOptions(t){this.internalOptions={...this.internalOptions,...t,page:this.serverItemsLength<0?Math.max(1,Math.min(t.page||this.internalOptions.page,this.pageCount)):t.page||this.internalOptions.page}},sortItems(t){let e=[],i=[];return this.disableSort||(e=this.internalOptions.sortBy,i=this.internalOptions.sortDesc),this.internalOptions.groupBy.length&&(e=[...this.internalOptions.groupBy,...e],i=[...this.internalOptions.groupDesc,...i]),this.customSort(t,e,i,this.locale)},groupItems(t){return this.customGroup(t,this.internalOptions.groupBy,this.internalOptions.groupDesc)},paginateItems(t){return-1===this.serverItemsLength&&t.length<=this.pageStart&&(this.internalOptions.page=Math.max(1,Math.ceil(t.length/this.internalOptions.itemsPerPage))||1),t.slice(this.pageStart,this.pageStop)}},render(){return this.$scopedSlots.default&&this.$scopedSlots.default(this.scopedProps)}})),Hc=(i("495d"),u.a.extend({name:"v-data-footer",props:{options:{type:Object,required:!0},pagination:{type:Object,required:!0},itemsPerPageOptions:{type:Array,default:()=>[5,10,15,-1]},prevIcon:{type:String,default:"$prev"},nextIcon:{type:String,default:"$next"},firstIcon:{type:String,default:"$first"},lastIcon:{type:String,default:"$last"},itemsPerPageText:{type:String,default:"$vuetify.dataFooter.itemsPerPageText"},itemsPerPageAllText:{type:String,default:"$vuetify.dataFooter.itemsPerPageAll"},showFirstLastPage:Boolean,showCurrentPage:Boolean,disablePagination:Boolean,disableItemsPerPage:Boolean,pageText:{type:String,default:"$vuetify.dataFooter.pageText"}},computed:{disableNextPageIcon(){return this.options.itemsPerPage<=0||this.options.page*this.options.itemsPerPage>=this.pagination.itemsLength||this.pagination.pageStop<0},computedDataItemsPerPageOptions(){return this.itemsPerPageOptions.map(t=>"object"===typeof t?t:this.genDataItemsPerPageOption(t))}},methods:{updateOptions(t){this.$emit("update:options",Object.assign({},this.options,t))},onFirstPage(){this.updateOptions({page:1})},onPreviousPage(){this.updateOptions({page:this.options.page-1})},onNextPage(){this.updateOptions({page:this.options.page+1})},onLastPage(){this.updateOptions({page:this.pagination.pageCount})},onChangeItemsPerPage(t){this.updateOptions({itemsPerPage:t,page:1})},genDataItemsPerPageOption(t){return{text:-1===t?this.$vuetify.lang.t(this.itemsPerPageAllText):String(t),value:t}},genItemsPerPageSelect(){let t=this.options.itemsPerPage;const e=this.computedDataItemsPerPageOptions;return e.length<=1?null:(e.find(e=>e.value===t)||(t=e[0]),this.$createElement("div",{staticClass:"v-data-footer__select"},[this.$vuetify.lang.t(this.itemsPerPageText),this.$createElement(on,{attrs:{"aria-label":this.$vuetify.lang.t(this.itemsPerPageText)},props:{disabled:this.disableItemsPerPage,items:e,value:t,hideDetails:!0,auto:!0,minWidth:"75px"},on:{input:this.onChangeItemsPerPage}})]))},genPaginationInfo(){let t=["–"];const e=this.pagination.itemsLength;let i=this.pagination.pageStart,s=this.pagination.pageStop;return this.pagination.itemsLength&&this.pagination.itemsPerPage?(i=this.pagination.pageStart+1,s=e<this.pagination.pageStop||this.pagination.pageStop<0?e:this.pagination.pageStop,t=this.$scopedSlots["page-text"]?[this.$scopedSlots["page-text"]({pageStart:i,pageStop:s,itemsLength:e})]:[this.$vuetify.lang.t(this.pageText,i,s,e)]):this.$scopedSlots["page-text"]&&(t=[this.$scopedSlots["page-text"]({pageStart:i,pageStop:s,itemsLength:e})]),this.$createElement("div",{class:"v-data-footer__pagination"},t)},genIcon(t,e,i,s){return this.$createElement(Mr,{props:{disabled:e||this.disablePagination,icon:!0,text:!0},on:{click:t},attrs:{"aria-label":i}},[this.$createElement(Qe,s)])},genIcons(){const t=[],e=[];return t.push(this.genIcon(this.onPreviousPage,1===this.options.page,this.$vuetify.lang.t("$vuetify.dataFooter.prevPage"),this.$vuetify.rtl?this.nextIcon:this.prevIcon)),e.push(this.genIcon(this.onNextPage,this.disableNextPageIcon,this.$vuetify.lang.t("$vuetify.dataFooter.nextPage"),this.$vuetify.rtl?this.prevIcon:this.nextIcon)),this.showFirstLastPage&&(t.unshift(this.genIcon(this.onFirstPage,1===this.options.page,this.$vuetify.lang.t("$vuetify.dataFooter.firstPage"),this.$vuetify.rtl?this.lastIcon:this.firstIcon)),e.push(this.genIcon(this.onLastPage,this.options.page>=this.pagination.pageCount||-1===this.options.itemsPerPage,this.$vuetify.lang.t("$vuetify.dataFooter.lastPage"),this.$vuetify.rtl?this.firstIcon:this.lastIcon))),[this.$createElement("div",{staticClass:"v-data-footer__icons-before"},t),this.showCurrentPage&&this.$createElement("span",[this.options.page.toString()]),this.$createElement("div",{staticClass:"v-data-footer__icons-after"},e)]}},render(){return this.$createElement("div",{staticClass:"v-data-footer"},[q(this,"prepend"),this.genItemsPerPageSelect(),this.genPaginationInfo(),this.genIcons()])}})),Wc=ke(dr,$e).extend({name:"v-data-iterator",props:{...Nc.options.props,itemKey:{type:String,default:"id"},value:{type:Array,default:()=>[]},singleSelect:Boolean,expanded:{type:Array,default:()=>[]},mobileBreakpoint:{...dr.options.props.mobileBreakpoint,default:600},singleExpand:Boolean,loading:[Boolean,String],noResultsText:{type:String,default:"$vuetify.dataIterator.noResultsText"},noDataText:{type:String,default:"$vuetify.noDataText"},loadingText:{type:String,default:"$vuetify.dataIterator.loadingText"},hideDefaultFooter:Boolean,footerProps:Object,selectableKey:{type:String,default:"isSelectable"}},data:()=>({selection:{},expansion:{},internalCurrentItems:[],shiftKeyDown:!1,lastEntry:-1}),computed:{everyItem(){return!!this.selectableItems.length&&this.selectableItems.every(t=>this.isSelected(t))},someItems(){return this.selectableItems.some(t=>this.isSelected(t))},sanitizedFooterProps(){return Y(this.footerProps)},selectableItems(){return this.internalCurrentItems.filter(t=>this.isSelectable(t))}},watch:{value:{handler(t){this.selection=t.reduce((t,e)=>(t[x(e,this.itemKey)]=e,t),{})},immediate:!0},selection(t,e){_(Object.keys(t),Object.keys(e))||this.$emit("input",Object.values(t))},expanded:{handler(t){this.expansion=t.reduce((t,e)=>(t[x(e,this.itemKey)]=!0,t),{})},immediate:!0},expansion(t,e){if(_(t,e))return;const i=Object.keys(t).filter(e=>t[e]),s=i.length?this.items.filter(t=>i.includes(String(x(t,this.itemKey)))):[];this.$emit("update:expanded",s)}},created(){const t=[["disable-initial-sort","sort-by"],["filter","custom-filter"],["pagination","options"],["total-items","server-items-length"],["hide-actions","hide-default-footer"],["rows-per-page-items","footer-props.items-per-page-options"],["rows-per-page-text","footer-props.items-per-page-text"],["prev-icon","footer-props.prev-icon"],["next-icon","footer-props.next-icon"]];t.forEach(([t,e])=>{this.$attrs.hasOwnProperty(t)&&fe(t,e,this)});const e=["expand","content-class","content-props","content-tag"];e.forEach(t=>{this.$attrs.hasOwnProperty(t)&&me(t)})},mounted(){window.addEventListener("keydown",this.onKeyDown),window.addEventListener("keyup",this.onKeyUp)},beforeDestroy(){window.removeEventListener("keydown",this.onKeyDown),window.removeEventListener("keyup",this.onKeyUp)},methods:{onKeyDown(t){t.keyCode===D.shift&&(this.shiftKeyDown=!0)},onKeyUp(t){t.keyCode===D.shift&&(this.shiftKeyDown=!1)},toggleSelectAll(t){const e=Object.assign({},this.selection);for(let i=0;i<this.selectableItems.length;i++){const s=this.selectableItems[i];if(!this.isSelectable(s))continue;const n=x(s,this.itemKey);t?e[n]=s:delete e[n]}this.selection=e,this.$emit("toggle-select-all",{items:this.internalCurrentItems,value:t})},isSelectable(t){return!1!==x(t,this.selectableKey)},isSelected(t){return!!this.selection[x(t,this.itemKey)]||!1},select(t,e=!0,i=!0){if(!this.isSelectable(t))return;const s=this.singleSelect?{}:Object.assign({},this.selection),n=x(t,this.itemKey);e?s[n]=t:delete s[n];const r=this.selectableItems.findIndex(t=>x(t,this.itemKey)===n);if(-1===this.lastEntry)this.lastEntry=r;else if(this.shiftKeyDown&&!this.singleSelect&&i){const t=x(this.selectableItems[this.lastEntry],this.itemKey),e=Object.keys(this.selection).includes(String(t));this.multipleSelect(e,i,s,r)}if(this.lastEntry=r,this.singleSelect&&i){const t=Object.keys(this.selection),e=t.length&&x(this.selection[t[0]],this.itemKey);e&&e!==n&&this.$emit("item-selected",{item:this.selection[e],value:!1})}this.selection=s,i&&this.$emit("item-selected",{item:t,value:e})},multipleSelect(t=!0,e=!0,i,s){const n=s<this.lastEntry?s:this.lastEntry,r=s<this.lastEntry?this.lastEntry:s;for(let a=n;a<=r;a++){const s=this.selectableItems[a],n=x(s,this.itemKey);t?i[n]=s:delete i[n],e&&this.$emit("item-selected",{currentItem:s,value:t})}},isExpanded(t){return this.expansion[x(t,this.itemKey)]||!1},expand(t,e=!0){const i=this.singleExpand?{}:Object.assign({},this.expansion),s=x(t,this.itemKey);e?i[s]=!0:delete i[s],this.expansion=i,this.$emit("item-expanded",{item:t,value:e})},createItemProps(t,e){return{item:t,index:e,select:e=>this.select(t,e),isSelected:this.isSelected(t),expand:e=>this.expand(t,e),isExpanded:this.isExpanded(t),isMobile:this.isMobile}},genEmptyWrapper(t){return this.$createElement("div",t)},genEmpty(t,e){if(0===t&&this.loading){const t=this.$slots.loading||this.$vuetify.lang.t(this.loadingText);return this.genEmptyWrapper(t)}if(0===t){const t=this.$slots["no-data"]||this.$vuetify.lang.t(this.noDataText);return this.genEmptyWrapper(t)}if(0===e){const t=this.$slots["no-results"]||this.$vuetify.lang.t(this.noResultsText);return this.genEmptyWrapper(t)}return null},genItems(t){const e=this.genEmpty(t.originalItemsLength,t.pagination.itemsLength);return e?[e]:this.$scopedSlots.default?this.$scopedSlots.default({...t,isSelected:this.isSelected,select:this.select,isExpanded:this.isExpanded,isMobile:this.isMobile,expand:this.expand}):this.$scopedSlots.item?t.items.map((t,e)=>this.$scopedSlots.item(this.createItemProps(t,e))):[]},genFooter(t){if(this.hideDefaultFooter)return null;const e={props:{...this.sanitizedFooterProps,options:t.options,pagination:t.pagination},on:{"update:options":e=>t.updateOptions(e)}},i=W("footer.",this.$scopedSlots);return this.$createElement(Hc,{scopedSlots:i,...e})},genDefaultScopedSlot(t){const e={...t,someItems:this.someItems,everyItem:this.everyItem,toggleSelectAll:this.toggleSelectAll};return this.$createElement("div",{staticClass:"v-data-iterator"},[q(this,"header",e,!0),this.genItems(t),this.genFooter(t),q(this,"footer",e,!0)])}},render(){return this.$createElement(Nc,{props:this.$props,on:{"update:options":(t,e)=>!_(t,e)&&this.$emit("update:options",t),"update:page":t=>this.$emit("update:page",t),"update:items-per-page":t=>this.$emit("update:items-per-page",t),"update:sort-by":t=>this.$emit("update:sort-by",t),"update:sort-desc":t=>this.$emit("update:sort-desc",t),"update:group-by":t=>this.$emit("update:group-by",t),"update:group-desc":t=>this.$emit("update:group-desc",t),pagination:(t,e)=>!_(t,e)&&this.$emit("pagination",t),"current-items":t=>{this.internalCurrentItems=t,this.$emit("current-items",t)},"page-count":t=>this.$emit("page-count",t)},scopedSlots:{default:this.genDefaultScopedSlot}})}}),qc=(i("f823"),ke().extend({directives:{ripple:Oi},props:{headers:{type:Array,default:()=>[]},options:{type:Object,default:()=>({page:1,itemsPerPage:10,sortBy:[],sortDesc:[],groupBy:[],groupDesc:[],multiSort:!1,mustSort:!1})},checkboxColor:String,sortIcon:{type:String,default:"$sort"},everyItem:Boolean,someItems:Boolean,showGroupBy:Boolean,singleSelect:Boolean,disableSort:Boolean},methods:{genSelectAll(){var t;const e={props:{value:this.everyItem,indeterminate:!this.everyItem&&this.someItems,color:null!==(t=this.checkboxColor)&&void 0!==t?t:""},on:{input:t=>this.$emit("toggle-select-all",t)}};return this.$scopedSlots["data-table-select"]?this.$scopedSlots["data-table-select"](e):this.$createElement(cs,{staticClass:"v-data-table__checkbox",...e})},genSortIcon(){return this.$createElement(Qe,{staticClass:"v-data-table-header__icon",props:{size:18}},[this.sortIcon])}}})),Uc=ke(qc).extend({name:"v-data-table-header-mobile",props:{sortByText:{type:String,default:"$vuetify.dataTable.sortBy"}},methods:{genSortChip(t){const e=[t.item.text],i=this.options.sortBy.findIndex(e=>e===t.item.value),s=i>=0,n=this.options.sortDesc[i];return e.push(this.$createElement("div",{staticClass:"v-chip__close",class:{sortable:!0,active:s,asc:s&&!n,desc:s&&n}},[this.genSortIcon()])),this.$createElement(Li,{staticClass:"sortable",on:{click:e=>{e.stopPropagation(),this.$emit("sort",t.item.value)}}},e)},genSortSelect(t){return this.$createElement(on,{props:{label:this.$vuetify.lang.t(this.sortByText),items:t,hideDetails:!0,multiple:this.options.multiSort,value:this.options.multiSort?this.options.sortBy:this.options.sortBy[0],menuProps:{closeOnContentClick:!0}},on:{change:t=>this.$emit("sort",t)},scopedSlots:{selection:t=>this.genSortChip(t)}})}},render(t){const e=[],i=this.headers.find(t=>"data-table-select"===t.value);i&&!this.singleSelect&&e.push(this.$createElement("div",{class:["v-data-table-header-mobile__select",...V(i.class)],attrs:{width:i.width}},[this.genSelectAll()]));const s=this.headers.filter(t=>!1!==t.sortable&&"data-table-select"!==t.value).map(t=>({text:t.text,value:t.value}));!this.disableSort&&s.length&&e.push(this.genSortSelect(s));const n=e.length?t("th",[t("div",{staticClass:"v-data-table-header-mobile__wrapper"},e)]):void 0,r=t("tr",[n]);return t("thead",{staticClass:"v-data-table-header v-data-table-header-mobile"},[r])}}),Yc=ke(qc).extend({name:"v-data-table-header-desktop",methods:{genGroupByToggle(t){return this.$createElement("span",{on:{click:e=>{e.stopPropagation(),this.$emit("group",t.value)}}},["group"])},getAria(t,e){const i=t=>this.$vuetify.lang.t("$vuetify.dataTable.ariaLabel."+t);let s="none",n=[i("sortNone"),i("activateAscending")];return t?(e?(s="descending",n=[i("sortDescending"),i(this.options.mustSort?"activateAscending":"activateNone")]):(s="ascending",n=[i("sortAscending"),i("activateDescending")]),{ariaSort:s,ariaLabel:n.join(" ")}):{ariaSort:s,ariaLabel:n.join(" ")}},genHeader(t){const e={attrs:{role:"columnheader",scope:"col","aria-label":t.text||""},style:{width:P(t.width),minWidth:P(t.width)},class:["text-"+(t.align||"start"),...V(t.class),t.divider&&"v-data-table__divider"],on:{}},i=[];if("data-table-select"===t.value&&!this.singleSelect)return this.$createElement("th",e,[this.genSelectAll()]);if(i.push(this.$scopedSlots.hasOwnProperty(t.value)?this.$scopedSlots[t.value]({header:t}):this.$createElement("span",[t.text])),!this.disableSort&&(t.sortable||!t.hasOwnProperty("sortable"))){e.on.click=()=>this.$emit("sort",t.value);const s=this.options.sortBy.findIndex(e=>e===t.value),n=s>=0,r=this.options.sortDesc[s];e.class.push("sortable");const{ariaLabel:a,ariaSort:o}=this.getAria(n,r);e.attrs["aria-label"]+=`${t.text?": ":""}${a}`,e.attrs["aria-sort"]=o,n&&(e.class.push("active"),e.class.push(r?"desc":"asc")),"end"===t.align?i.unshift(this.genSortIcon()):i.push(this.genSortIcon()),this.options.multiSort&&n&&i.push(this.$createElement("span",{class:"v-data-table-header__sort-badge"},[String(s+1)]))}return this.showGroupBy&&!1!==t.groupable&&i.push(this.genGroupByToggle(t)),this.$createElement("th",e,i)}},render(){return this.$createElement("thead",{staticClass:"v-data-table-header"},[this.$createElement("tr",this.headers.map(t=>this.genHeader(t)))])}});function Zc(t){if(t.model&&t.on&&t.on.input)if(Array.isArray(t.on.input)){const e=t.on.input.indexOf(t.model.callback);e>-1&&t.on.input.splice(e,1)}else delete t.on.input}function Kc(t,e){const i=[];for(const s in t)t.hasOwnProperty(s)&&i.push(e("template",{slot:s},t[s]));return i}var Gc=u.a.extend({name:"v-data-table-header",functional:!0,props:{...qc.options.props,mobile:Boolean},render(t,{props:e,data:i,slots:s}){Zc(i);const n=Kc(s(),t);return i=ze(i,{props:e}),e.mobile?t(Uc,i,n):t(Yc,i,n)}});function Xc(t){var e;return 1!==t.length||!["td","th"].includes(null===(e=t[0])||void 0===e?void 0:e.tag)}var Jc=u.a.extend({name:"row",functional:!0,props:{headers:Array,index:Number,item:Object,rtl:Boolean},render(t,{props:e,slots:i,data:s}){const n=i(),r=e.headers.map(i=>{const r=[],a=x(e.item,i.value),o=i.value,l=s.scopedSlots&&s.scopedSlots.hasOwnProperty(o)&&s.scopedSlots[o],u=n.hasOwnProperty(o)&&n[o];l?r.push(...V(l({item:e.item,isMobile:!1,header:i,index:e.index,value:a}))):u?r.push(...V(u)):r.push(null==a?a:String(a));const c="text-"+(i.align||"start");return Xc(r)?t("td",{class:[c,i.cellClass,{"v-data-table__divider":i.divider}]},r):r});return t("tr",s,r)}}),Qc=u.a.extend({name:"row-group",functional:!0,props:{value:{type:Boolean,default:!0},headerClass:{type:String,default:"v-row-group__header"},contentClass:String,summaryClass:{type:String,default:"v-row-group__summary"}},render(t,{slots:e,props:i}){const s=e(),n=[];return s["column.header"]?n.push(t("tr",{staticClass:i.headerClass},s["column.header"])):s["row.header"]&&n.push(...s["row.header"]),s["row.content"]&&i.value&&n.push(...s["row.content"]),s["column.summary"]?n.push(t("tr",{staticClass:i.summaryClass},s["column.summary"])):s["row.summary"]&&n.push(...s["row.summary"]),n}}),th=(i("8b37"),ke($e).extend({name:"v-simple-table",props:{dense:Boolean,fixedHeader:Boolean,height:[Number,String]},computed:{classes(){return{"v-data-table--dense":this.dense,"v-data-table--fixed-height":!!this.height&&!this.fixedHeader,"v-data-table--fixed-header":this.fixedHeader,"v-data-table--has-top":!!this.$slots.top,"v-data-table--has-bottom":!!this.$slots.bottom,...this.themeClasses}}},methods:{genWrapper(){return this.$slots.wrapper||this.$createElement("div",{staticClass:"v-data-table__wrapper",style:{height:P(this.height)}},[this.$createElement("table",this.$slots.default)])}},render(t){return t("div",{staticClass:"v-data-table",class:this.classes},[this.$slots.top,this.genWrapper(),this.$slots.bottom])}})),eh=u.a.extend({name:"row",functional:!0,props:{headers:Array,hideDefaultHeader:Boolean,index:Number,item:Object,rtl:Boolean},render(t,{props:e,slots:i,data:s}){const n=i(),r=e.headers.map(i=>{const r={"v-data-table__mobile-row":!0},a=[],o=x(e.item,i.value),l=i.value,u=s.scopedSlots&&s.scopedSlots.hasOwnProperty(l)&&s.scopedSlots[l],c=n.hasOwnProperty(l)&&n[l];u?a.push(u({item:e.item,isMobile:!0,header:i,index:e.index,value:o})):c?a.push(c):a.push(null==o?o:String(o));const h=[t("div",{staticClass:"v-data-table__mobile-row__cell"},a)];return"dataTableSelect"===i.value||e.hideDefaultHeader||h.unshift(t("div",{staticClass:"v-data-table__mobile-row__header"},[i.text])),t("td",{class:r},h)});return t("tr",{...s,staticClass:"v-data-table__mobile-table-row"},r)}});function ih(t,e,i){return s=>{const n=x(t,s.value);return s.filter?s.filter(n,e,t):i(n,e,t)}}function sh(t,e,i,s,n){return e="string"===typeof e?e.trim():null,t.filter(t=>{const r=i.every(ih(t,e,R)),a=!e||s.some(ih(t,e,n));return r&&a})}var nh=ke(Wc,Qs).extend({name:"v-data-table",directives:{ripple:Oi},props:{headers:{type:Array,default:()=>[]},showSelect:Boolean,checkboxColor:String,showExpand:Boolean,showGroupBy:Boolean,height:[Number,String],hideDefaultHeader:Boolean,caption:String,dense:Boolean,headerProps:Object,calculateWidths:Boolean,fixedHeader:Boolean,headersLength:Number,expandIcon:{type:String,default:"$expand"},customFilter:{type:Function,default:R},itemClass:{type:[String,Function],default:()=>""},loaderHeight:{type:[Number,String],default:4}},data(){return{internalGroupBy:[],openCache:{},widths:[]}},computed:{computedHeaders(){if(!this.headers)return[];const t=this.headers.filter(t=>void 0===t.value||!this.internalGroupBy.find(e=>e===t.value)),e={text:"",sortable:!1,width:"1px"};if(this.showSelect){const i=t.findIndex(t=>"data-table-select"===t.value);i<0?t.unshift({...e,value:"data-table-select"}):t.splice(i,1,{...e,...t[i]})}if(this.showExpand){const i=t.findIndex(t=>"data-table-expand"===t.value);i<0?t.unshift({...e,value:"data-table-expand"}):t.splice(i,1,{...e,...t[i]})}return t},colspanAttrs(){return this.isMobile?void 0:{colspan:this.headersLength||this.computedHeaders.length}},columnSorters(){return this.computedHeaders.reduce((t,e)=>(e.sort&&(t[e.value]=e.sort),t),{})},headersWithCustomFilters(){return this.headers.filter(t=>t.filter&&(!t.hasOwnProperty("filterable")||!0===t.filterable))},headersWithoutCustomFilters(){return this.headers.filter(t=>!t.filter&&(!t.hasOwnProperty("filterable")||!0===t.filterable))},sanitizedHeaderProps(){return Y(this.headerProps)},computedItemsPerPage(){const t=this.options&&this.options.itemsPerPage?this.options.itemsPerPage:this.itemsPerPage,e=this.sanitizedFooterProps.itemsPerPageOptions;if(e&&!e.find(e=>"number"===typeof e?e===t:e.value===t)){const t=e[0];return"object"===typeof t?t.value:t}return t},groupByText(){var t,e,i;return null!==(i=null===(e=null===(t=this.headers)||void 0===t?void 0:t.find(t=>{var e;return t.value===(null===(e=this.internalGroupBy)||void 0===e?void 0:e[0])}))||void 0===e?void 0:e.text)&&void 0!==i?i:""}},created(){const t=[["sort-icon","header-props.sort-icon"],["hide-headers","hide-default-header"],["select-all","show-select"]];t.forEach(([t,e])=>{this.$attrs.hasOwnProperty(t)&&fe(t,e,this)})},mounted(){this.calculateWidths&&(window.addEventListener("resize",this.calcWidths),this.calcWidths())},beforeDestroy(){this.calculateWidths&&window.removeEventListener("resize",this.calcWidths)},methods:{calcWidths(){this.widths=Array.from(this.$el.querySelectorAll("th")).map(t=>t.clientWidth)},customFilterWithColumns(t,e){return sh(t,e,this.headersWithCustomFilters,this.headersWithoutCustomFilters,this.customFilter)},customSortWithHeaders(t,e,i,s){return this.customSort(t,e,i,s,this.columnSorters)},createItemProps(t,e){const i=Wc.options.methods.createItemProps.call(this,t,e);return Object.assign(i,{headers:this.computedHeaders})},genCaption(t){return this.caption?[this.$createElement("caption",[this.caption])]:q(this,"caption",t,!0)},genColgroup(t){return this.$createElement("colgroup",this.computedHeaders.map(t=>this.$createElement("col",{class:{divider:t.divider}})))},genLoading(){const t=this.$createElement("th",{staticClass:"column",attrs:this.colspanAttrs},[this.genProgress()]),e=this.$createElement("tr",{staticClass:"v-data-table__progress"},[t]);return this.$createElement("thead",[e])},genHeaders(t){const e={props:{...this.sanitizedHeaderProps,headers:this.computedHeaders,options:t.options,mobile:this.isMobile,showGroupBy:this.showGroupBy,checkboxColor:this.checkboxColor,someItems:this.someItems,everyItem:this.everyItem,singleSelect:this.singleSelect,disableSort:this.disableSort},on:{sort:t.sort,group:t.group,"toggle-select-all":this.toggleSelectAll}},i=[q(this,"header",{...e,isMobile:this.isMobile})];if(!this.hideDefaultHeader){const t=W("header.",this.$scopedSlots);i.push(this.$createElement(Gc,{...e,scopedSlots:t}))}return this.loading&&i.push(this.genLoading()),i},genEmptyWrapper(t){return this.$createElement("tr",{staticClass:"v-data-table__empty-wrapper"},[this.$createElement("td",{attrs:this.colspanAttrs},t)])},genItems(t,e){const i=this.genEmpty(e.originalItemsLength,e.pagination.itemsLength);return i?[i]:e.groupedItems?this.genGroupedRows(e.groupedItems,e):this.genRows(t,e)},genGroupedRows(t,e){return t.map(t=>(this.openCache.hasOwnProperty(t.name)||this.$set(this.openCache,t.name,!0),this.$scopedSlots.group?this.$scopedSlots.group({group:t.name,options:e.options,isMobile:this.isMobile,items:t.items,headers:this.computedHeaders}):this.genDefaultGroupedRow(t.name,t.items,e)))},genDefaultGroupedRow(t,e,i){const s=!!this.openCache[t],n=[this.$createElement("template",{slot:"row.content"},this.genRows(e,i))],r=()=>this.$set(this.openCache,t,!this.openCache[t]),a=()=>i.updateOptions({groupBy:[],groupDesc:[]});if(this.$scopedSlots["group.header"])n.unshift(this.$createElement("template",{slot:"column.header"},[this.$scopedSlots["group.header"]({group:t,groupBy:i.options.groupBy,isMobile:this.isMobile,items:e,headers:this.computedHeaders,isOpen:s,toggle:r,remove:a})]));else{const e=this.$createElement(Mr,{staticClass:"ma-0",props:{icon:!0,small:!0},on:{click:r}},[this.$createElement(Qe,[s?"$minus":"$plus"])]),i=this.$createElement(Mr,{staticClass:"ma-0",props:{icon:!0,small:!0},on:{click:a}},[this.$createElement(Qe,["$close"])]),o=this.$createElement("td",{staticClass:"text-start",attrs:this.colspanAttrs},[e,`${this.groupByText}: ${t}`,i]);n.unshift(this.$createElement("template",{slot:"column.header"},[o]))}return this.$scopedSlots["group.summary"]&&n.push(this.$createElement("template",{slot:"column.summary"},[this.$scopedSlots["group.summary"]({group:t,groupBy:i.options.groupBy,isMobile:this.isMobile,items:e,headers:this.computedHeaders,isOpen:s,toggle:r})])),this.$createElement(Qc,{key:t,props:{value:s}},n)},genRows(t,e){return this.$scopedSlots.item?this.genScopedRows(t,e):this.genDefaultRows(t,e)},genScopedRows(t,e){const i=[];for(let s=0;s<t.length;s++){const e=t[s];i.push(this.$scopedSlots.item({...this.createItemProps(e,s),isMobile:this.isMobile})),this.isExpanded(e)&&i.push(this.$scopedSlots["expanded-item"]({headers:this.computedHeaders,isMobile:this.isMobile,index:s,item:e}))}return i},genDefaultRows(t,e){return this.$scopedSlots["expanded-item"]?t.map((t,e)=>this.genDefaultExpandedRow(t,e)):t.map((t,e)=>this.genDefaultSimpleRow(t,e))},genDefaultExpandedRow(t,e){const i=this.isExpanded(t),s={"v-data-table__expanded v-data-table__expanded__row":i},n=this.genDefaultSimpleRow(t,e,s),r=this.$createElement("tr",{staticClass:"v-data-table__expanded v-data-table__expanded__content"},[this.$scopedSlots["expanded-item"]({headers:this.computedHeaders,isMobile:this.isMobile,item:t})]);return this.$createElement(Qc,{props:{value:i}},[this.$createElement("template",{slot:"row.header"},[n]),this.$createElement("template",{slot:"row.content"},[r])])},genDefaultSimpleRow(t,e,i={}){const s=W("item.",this.$scopedSlots),n=this.createItemProps(t,e);if(this.showSelect){const e=s["data-table-select"];s["data-table-select"]=e?()=>e({...n,isMobile:this.isMobile}):()=>{var e;return this.$createElement(cs,{staticClass:"v-data-table__checkbox",props:{value:n.isSelected,disabled:!this.isSelectable(t),color:null!==(e=this.checkboxColor)&&void 0!==e?e:""},on:{input:t=>n.select(t)}})}}if(this.showExpand){const t=s["data-table-expand"];s["data-table-expand"]=t?()=>t(n):()=>this.$createElement(Qe,{staticClass:"v-data-table__expand-icon",class:{"v-data-table__expand-icon--active":n.isExpanded},on:{click:t=>{t.stopPropagation(),n.expand(!n.isExpanded)}}},[this.expandIcon])}return this.$createElement(this.isMobile?eh:Jc,{key:x(t,this.itemKey),class:He({...i,"v-data-table__selected":n.isSelected},C(t,this.itemClass)),props:{headers:this.computedHeaders,hideDefaultHeader:this.hideDefaultHeader,index:e,item:t,rtl:this.$vuetify.rtl},scopedSlots:s,on:{click:()=>this.$emit("click:row",t,n),contextmenu:t=>this.$emit("contextmenu:row",t,n),dblclick:t=>this.$emit("dblclick:row",t,n)}})},genBody(t){const e={...t,expand:this.expand,headers:this.computedHeaders,isExpanded:this.isExpanded,isMobile:this.isMobile,isSelected:this.isSelected,select:this.select};return this.$scopedSlots.body?this.$scopedSlots.body(e):this.$createElement("tbody",[q(this,"body.prepend",e,!0),this.genItems(t.items,t),q(this,"body.append",e,!0)])},genFoot(t){var e,i;return null===(i=(e=this.$scopedSlots).foot)||void 0===i?void 0:i.call(e,t)},genFooters(t){const e={props:{options:t.options,pagination:t.pagination,itemsPerPageText:"$vuetify.dataTable.itemsPerPageText",...this.sanitizedFooterProps},on:{"update:options":e=>t.updateOptions(e)},widths:this.widths,headers:this.computedHeaders},i=[q(this,"footer",e,!0)];return this.hideDefaultFooter||i.push(this.$createElement(Hc,{...e,scopedSlots:W("footer.",this.$scopedSlots)})),i},genDefaultScopedSlot(t){const e={height:this.height,fixedHeader:this.fixedHeader,dense:this.dense};return this.$createElement(th,{props:e,class:{"v-data-table--mobile":this.isMobile}},[this.proxySlot("top",q(this,"top",{...t,isMobile:this.isMobile},!0)),this.genCaption(t),this.genColgroup(t),this.genHeaders(t),this.genBody(t),this.genFoot(t),this.proxySlot("bottom",this.genFooters(t))])},proxySlot(t,e){return this.$createElement("template",{slot:t},e)}},render(){return this.$createElement(Nc,{props:{...this.$props,customFilter:this.customFilterWithColumns,customSort:this.customSortWithHeaders,itemsPerPage:this.computedItemsPerPage},on:{"update:options":(t,e)=>{this.internalGroupBy=t.groupBy||[],!_(t,e)&&this.$emit("update:options",t)},"update:page":t=>this.$emit("update:page",t),"update:items-per-page":t=>this.$emit("update:items-per-page",t),"update:sort-by":t=>this.$emit("update:sort-by",t),"update:sort-desc":t=>this.$emit("update:sort-desc",t),"update:group-by":t=>this.$emit("update:group-by",t),"update:group-desc":t=>this.$emit("update:group-desc",t),pagination:(t,e)=>!_(t,e)&&this.$emit("pagination",t),"current-items":t=>{this.internalCurrentItems=t,this.$emit("current-items",t)},"page-count":t=>this.$emit("page-count",t)},scopedSlots:{default:this.genDefaultScopedSlot}})}}),rh=u.a.extend({name:"farm-select-modal-options",components:{VTextField:zc,VCol:Ia,VMain:cl,VDataTable:nh,VDialog:ul,DialogHeader:Jr,DialogFooter:ra,DataTableEmptyWrapper:Ee,DataTablePaginator:_n},props:{label:{type:String,required:!0},inputId:{type:String,required:!0},selectIdentifier:{type:String,default:"id"},itemLabelFormatter:{default:"name"},items:{type:Array,default:()=>[]},loadFn:{type:Function,default:()=>{}},loadingRequestStatus:{default:"IDLE"},modalTitle:{type:String,default:"Selecione um item"},config:{default:()=>({md:2,required:!1})},placeholder:{type:String,default:"Pesquise"},value:{required:!0}},computed:{inputVal:{get(){return this.value},set(t){this.$emit("input",t)}},isLoading(){return"START"===this.loadingRequestStatus},selectedValueText:{get(){return this.selectedItem?this.getItemLabel(this.selectedItem):""}},totalPages(){return void 0!==this.items?Math.ceil(this.items.length/10):0}},data(){return{selectedValue:{},showModal:!1,selectedItem:null,searchValue:"",headers:[{text:"Label",sortable:!1,value:"label",align:"left"}],pagination:{page:1,itemsPerPage:10,pages:0}}},watch:{value(t){t&&void 0!==t||(this.selectedItem=null)},items(t){this.pagination.pages=Math.ceil(t.length/10)}},mounted(){this.selectedItem={[this.itemLabelFormatter]:this.value}},methods:{handlePagination(t){1===t.page&&t.itemsLength!==this.pagination.pages&&(this.pagination.pages=Math.ceil(t.itemsLength/10))},openModal(){this.loadFn(),this.showModal=!0},closeModal(){this.showModal=!1},onChangePage(t){this.pagination.page=t},getItemLabel(t){return"function"===typeof this.itemLabelFormatter?this.itemLabelFormatter(t):t[this.itemLabelFormatter]},handleClick(t){this.inputVal=t[this.selectIdentifier],this.showModal=!1,this.selectedItem=t},customFilter(t,e,i){const s=this.getItemLabel(i);return s.toLowerCase().includes(e.toLowerCase())},clearTextField(t){"Delete"!==t.key&&"Backspace"!==t.key||(this.selectedItem=null)}}}),ah=rh,oh=(i("4e5d"),Me(ah,jc,Rc,!1,null,"5a2da9ca",null)),lh=oh.exports,uh=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("v-chip",{class:`status-chip ${t.isFull?"status-chip--fullwidth":""} status-chip-${t.color} status-chip--onboarding`,attrs:{small:""}},[e("span",{class:t.textColor+"--text"},[t._v(" "+t._s(t.label)+" ")])])},ch=[];const hh={10:"CONVIDAR",11:"CONVIDADO",12:"INCOMPLETO",13:"CONCLUÍDO",14:"FALHA/ERRO",15:"EM ANÁLISE",16:"EM ANDAMENTO",17:"EM ESPERA",18:"DECLINADO"},dh={10:"secondary",11:"yellow",12:"yellow",13:"success",14:"error",15:"accent",16:"primary",17:"on-wait",18:"error"};var ph=u.a.extend({name:"farm-chip-invite",components:{VChip:Li},props:{status:{type:Number,default:10},isFull:{type:Boolean,default:!0}},computed:{textColor(){return 10===this.status||16===this.status||17===this.status?"":dh[this.status]},color(){return this.status?dh[this.status]:""},label(){return hh[this.status]}}}),fh=ph,mh=(i("2eae"),Me(fh,uh,ch,!1,null,"5394a06e",null)),gh=mh.exports,vh=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("section",{staticClass:"logger"},[t._l(t.items,(function(i,s){return[e("LoggerItem",{key:s,attrs:{item:i}}),t.hasDivider(s)?e("div",{key:"divider_"+s,staticClass:"logger__divider",class:{"logger__divider--success":t.isPreviousLogAndCurrentLogSuccess(s),"logger__divider--error":t.isPreviousLogAndCurrentLogError(s),"logger__divider--success-to-error":t.isPreviousLogErrorAndCurrentLogSuccess(s),"logger__divider--error-to-success":t.isPreviousLogSuccessAndCurrentLogError(s)}}):t._e()]}))],2)},bh=[],yh=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("section",{staticClass:"logger__item",class:{"logger__item--error":"error"===t.item.status,"logger__item--success":"success"===t.item.status}},[e("farm-icon",[t._v(t._s(t.mdiIconName))]),e("div",[e("span",{staticClass:"logger__date"},[t._v(" "+t._s(t.item.formattedDate)+" ")]),e("span",{staticClass:"logger__message"},[t._v(" "+t._s(t.item.message)+" ")]),e("span",{staticClass:"logger__username"},[e("i",{staticClass:"mdi mdi-account-circle"}),t._v(" "+t._s(t.item.userName)+" ")])])],1)},_h=[],xh=u.a.extend({name:"farm-logger-item",props:{item:{required:!0,type:Object}},computed:{mdiIconName(){return this.item.icon?""+this.item.icon:this.item.status?""+("success"===this.item.status?"check":"close"):""}}}),Ch=xh,Sh=(i("66c5"),Me(Ch,yh,_h,!1,null,"7711caba",null)),$h=Sh.exports,wh=$h,kh=u.a.extend({name:"farm-logger",components:{LoggerItem:wh},props:{items:{required:!0,type:Array}},methods:{hasDivider(t){return t<this.items.length-1},isPreviousLogAndCurrentLogError(t){return this.isError(t)&&this.isError(t+1)},isPreviousLogAndCurrentLogSuccess(t){return this.isSuccess(t)&&this.isSuccess(t+1)},isPreviousLogErrorAndCurrentLogSuccess(t){return this.isSuccess(t)&&this.isError(t+1)},isPreviousLogSuccessAndCurrentLogError(t){return this.isError(t)&&this.isSuccess(t+1)},isError(t){return"error"===this.items[t].status},isSuccess(t){return"success"===this.items[t].status}}}),Oh=kh,Ph=(i("f066"),Me(Oh,vh,bh,!1,null,"17c87b5f",null)),Ih=Ph.exports,Lh=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("farm-tooltip",{scopedSlots:t._u([{key:"activator",fn:function({}){return[e("farm-btn",{attrs:{icon:"",color:"secondary",disabled:t.disabled},on:{click:t.onClick}},[e("farm-icon",{attrs:{size:"xs"}},[t._v("content-copy")])],1)]}}]),model:{value:t.show,callback:function(e){t.show=e},expression:"show"}},[t._v(" "+t._s(t.feedbackMessage)+" ")])},Dh=[],Ah=u.a.extend({name:"farm-copytoclipboard",props:{toCopy:{type:String,required:!0}},setup(t){const e=Object(l["ref"])(!1),i=Object(l["ref"])(""),s=Object(l["ref"])(!1),{toCopy:n}=Object(l["toRefs"])(t),r=async()=>{s.value=!0;try{await Object(nr["toClipboard"])(n.value),i.value="Conteúdo copiado para a área de trabalhado"}catch(dp){i.value="Ocorreu um erro: "+dp}e.value=!0,setTimeout(()=>{e.value=!1,s.value=!1},1e3)};return{show:e,feedbackMessage:i,disabled:s,onClick:r}}}),Mh=Ah,Th=Me(Mh,Lh,Dh,!1,null,null,null),Bh=Th.exports,Eh=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{class:t.classes,style:t.containerStyle},[e("div",{style:t.valueStyle})])},Fh=[],Vh=u.a.extend({name:"farm-progressbar",props:{backgroundColor:{type:String,default:"secondary"},valueColor:{type:String,default:"error"},value:{type:Number,required:!0}},computed:{classes(){const t={};return this.backgroundColor.startsWith("#")||(t["farm-progressbar--"+this.backgroundColor]=!0),this.valueColor.startsWith("#")||(t["farm-progressbar--value-"+this.valueColor]=!0),{"farm-progressbar":!0,...t}},valueStyle(){const t={width:this.value+"%"};return this.valueColor.startsWith("#")&&(t["background-color"]=this.valueColor),t},containerStyle(){const t={};return this.backgroundColor.startsWith("#")&&(t["background-color"]=this.backgroundColor),t}}}),jh=Vh,Rh=(i("103a"),Me(jh,Eh,Fh,!1,null,"f0377c2a",null)),zh=Rh.exports,Nh=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"horizontal-step-size"},[e("section",{class:{stepper__header:!0,"stepper__header--vertical":t.vertical}},[t._l(t.steps,(function(i,s){return[e("div",{key:i.label,class:{"stepper__header-step":!0,"stepper__header-step--current":t.isStepCurrent(s),"stepper__header-step--previous":t.isStepPrevious(s),"stepper__header-step--error":t.isStepError(s),"stepper__header-step--next":t.isStepNext(s)}},[i.icon?e("farm-icon",[t._v(" "+t._s(i.icon)+" ")]):e("span",{staticClass:"farm-icon__number"},[t._v(" "+t._s(s+1)+" ")]),e("span",[t._v(" "+t._s(i.label)+" ")])],1),t.hasDivider(s)?e("div",{key:"divider_"+i.label,class:{"stepper__divider--horizontal":!t.vertical,"stepper__divider--vertical":t.vertical,"stepper__divider--previous":t.isStepPrevious(s),"stepper__divider--previous-to-current":t.isStepPreviousToCurrent(s),"stepper__divider--previous-to-error":t.isStepPreviousToError(s),"stepper__divider--error-to-next":t.isStepErrorToNext(s),"stepper__divider--current-to-next":t.isStepCurrentToNext(s)}}):t._e()]}))],2)])},Hh=[],Wh=u.a.extend({name:"farm-stepper-header",props:{steps:Array,vertical:{type:Boolean,default:!1},currentStep:{type:Number},errorCurrentStepStatus:{type:Boolean,default:!1}},methods:{isStepCurrent(t){return this.currentStep===t+1},isStepPrevious(t){return this.currentStep>t+1},isStepError(t){return this.currentStep===t+1&&this.errorCurrentStepStatus},hasDivider(t){return t<this.steps.length-1},isStepPreviousToCurrent(t){return t+2==this.currentStep&&this.isStepCurrent(t+1)&&!this.isStepError(t+1)},isStepPreviousToError(t){return t+2==this.currentStep&&this.isStepCurrent(t+1)&&this.isStepError(t+1)},isStepNext(t){return t+1>this.currentStep},isStepErrorToNext(t){return this.errorCurrentStepStatus&&t+1===this.currentStep},isStepCurrentToNext(t){return!this.errorCurrentStepStatus&&t+1===this.currentStep}}}),qh=Wh,Uh=(i("5768"),Me(qh,Nh,Hh,!1,null,"6090de65",null)),Yh=Uh.exports,Zh=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"farm-switch",attrs:{role:"checkbox"},on:{click:t.toggle,keydown:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"space",32,e.key,[" ","Spacebar"])?null:(e.preventDefault(),t.toggle.apply(null,arguments))}}},[e("span",{staticClass:"farm-switch__background",class:t.backgroundStyles}),e("span",{staticClass:"farm-switch__indicator",style:t.indicatorStyles})])},Kh=[],Gh=u.a.extend({name:"farm-switcher",props:{value:{type:Boolean,required:!0}},computed:{backgroundStyles(){return{"farm-switch--selected":this.value,"farm-switch--idle":!this.value}},indicatorStyles(){return{transform:this.value?"translateX(16px)":"translateX(0)"}}},methods:{toggle(){this.$emit("input",!this.value)}}}),Xh=Gh,Jh=(i("bd8c"),Me(Xh,Zh,Kh,!1,null,"3c5b60f1",null)),Qh=Jh.exports,td=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("span",{ref:"parent",class:{"farm-tooltip":!0,["farm-tooltip--"+t.color]:!0},on:{mouseover:t.onOver,mouseout:t.onOut}},[t._t("activator"),e("span",{class:{"farm-tooltip__popup":!0,"farm-tooltip__popup--visible":!t.externalControl&&t.showOver||t.externalControl&&t.toggleComponent}},[t._t("default")],2)],2)},ed=[],id=u.a.extend({name:"farm-tooltip",props:{color:{type:String,default:"gray"},value:{}},setup(t){const e=Object(l["ref"])(null),i=Object(l["ref"])(!1),s=Object(l["computed"])(()=>t.value),n=Object(l["computed"])(()=>"boolean"===typeof t.value),r=()=>{i.value=!0},a=t=>{i.value=e.value.contains(t.relatedTarget)};return{parent:e,showOver:i,onOver:r,onOut:a,toggleComponent:s,externalControl:n}}}),sd=id,nd=(i("2ea0"),Me(sd,td,ed,!1,null,"7dc044c3",null)),rd=nd.exports,ad=function(){var t=this,e=t._self._c;t._self._setupProxy;return e(t.tag,{tag:"component",class:{"farm-typography":!0,["farm-typography--"+t.$props.size]:t.isSizeFromBreakpoints,["farm-typography--weight-"+t.weight]:void 0!==t.weight},style:t.style},[t._t("default")],2)},od=[],ld=["xs","sm","md","lg","xl"],ud=["p","span","h1","h2","h3","h4","h5","h6","legend","label","li"],cd=u.a.extend({inheritAttrs:!0,name:"farm-typography",props:{tag:{type:String,default:"p"},size:{type:String},lineHeight:{type:String},weight:{type:Number}},setup(t){const{size:e,lineHeight:i}=Object(l["toRefs"])(t);let s=Object(l["ref"])({}),n=Object(l["ref"])(ud.includes(t.tag)?t.tag:"p");const r=Object(l["computed"])(()=>ld.includes(e.value));return void 0===e||r.value||(s.value.fontSize=e.value),void 0!==i&&(s.value.lineHeight=i.value),{style:s,isSizeFromBreakpoints:r,tag:n}}}),hd=cd,dd=(i("e6d7"),Me(hd,ad,od,!1,null,"0783d2fc",null)),pd=dd.exports,fd=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("farm-typography",{key:t.key,class:{["farm-heading--"+t.tag]:!0},attrs:{weight:t.weight,size:t.size,tag:t.tag}},[t._t("default")],2)},md=[];const gd={1:{weight:300,size:"60px"},2:{weight:300,size:"56px"},3:{weight:400,size:"48px"},4:{weight:400,size:"32px"},5:{weight:400,size:"xl"},6:{weight:500,size:"lg"}};var vd=u.a.extend({inheritAttrs:!0,name:"farm-heading",props:{type:{type:Number,default:1}},setup(t){const{type:e}=Object(l["toRefs"])(t),i=Object(l["ref"])(+new Date);Object(l["watch"])(()=>t.type,()=>{i.value=+new Date});const s=Object(l["computed"])(()=>gd[e.value]),n=Object(l["computed"])(()=>"h"+e.value),r=Object(l["computed"])(()=>s.value.weight),a=Object(l["computed"])(()=>s.value.size);return{weight:r,size:a,tag:n,config:s,key:i}}}),bd=vd,yd=(i("637f"),Me(bd,fd,md,!1,null,"02e95b6e",null)),_d=yd.exports,xd=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("farm-typography",t._b({key:t.key,class:{["farm-subtitle--"+t.type]:!0,["farm-subtitle--"+t.variation]:!0},attrs:{weight:t.weight,size:t.size}},"farm-typography",t.$attrs,!1),[t._t("default")],2)},Cd=[];const Sd={"1_regular":{weight:400,size:"default"},"1_medium":{weight:500,size:"default"},"2_regular":{weight:400,size:"md"},"2_medium":{weight:500,size:"md"}};var $d=u.a.extend({inheritAttrs:!0,name:"farm-subtitle",props:{type:{type:Number,default:1},variation:{type:String,default:"medium"}},setup(t){const{type:e,variation:i}=Object(l["toRefs"])(t),s=Object(l["ref"])(e.value+"_"+i.value);Object(l["watch"])(()=>t,()=>{s.value=e.value+"_"+i.value});const n=Object(l["computed"])(()=>Sd[s.value]),r=Object(l["computed"])(()=>n.value.weight),a=Object(l["computed"])(()=>n.value.size);return{weight:r,size:a,key:s,type:e,variation:i}}}),wd=$d,kd=(i("8fba"),Me(wd,xd,Cd,!1,null,"7c1ea614",null)),Od=kd.exports,Pd=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("farm-typography",t._b({key:t.key,class:{["farm-subtitle--"+t.type]:!0,["farm-subtitle--"+t.variation]:!0},attrs:{weight:t.weight,size:t.size}},"farm-typography",t.$attrs,!1),[t._t("default")],2)},Id=[];const Ld={"1_regular":{weight:400,size:"default"},"1_medium":{weight:500,size:"default"},"1_bold":{weight:700,size:"default"},"2_regular":{weight:400,size:"md"},"2_medium":{weight:500,size:"md"},"2_bold":{weight:700,size:"md"}};var Dd=u.a.extend({inheritAttrs:!0,name:"farm-bodytext",props:{type:{type:Number,default:1},variation:{type:String,default:"medium"}},setup(t){const{type:e,variation:i}=Object(l["toRefs"])(t),s=Object(l["ref"])(e.value+"_"+i.value);Object(l["watch"])(()=>t,()=>{s.value=e.value+"_"+i.value});const n=Object(l["computed"])(()=>Ld[s.value]),r=Object(l["computed"])(()=>n.value.weight),a=Object(l["computed"])(()=>n.value.size);return{weight:r,size:a,key:s,type:e,variation:i}}}),Ad=Dd,Md=(i("a80d"),Me(Ad,Pd,Id,!1,null,"3b59e667",null)),Td=Md.exports,Bd=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("farm-typography",t._b({key:t.key,class:{["farm-caption--"+t.variation]:!0},attrs:{weight:t.weight,size:t.size}},"farm-typography",t.$attrs,!1),[t._t("default")],2)},Ed=[];const Fd={regular:{weight:400,size:"sm"},medium:{weight:500,size:"sm"}};var Vd=u.a.extend({inheritAttrs:!0,name:"farm-caption",props:{variation:{type:String,default:"medium"}},setup(t){const{variation:e}=Object(l["toRefs"])(t),i=Object(l["ref"])(e.value);Object(l["watch"])(()=>t,()=>{i.value=e.value});const s=Object(l["computed"])(()=>Fd[i.value]),n=Object(l["computed"])(()=>s.value.weight),r=Object(l["computed"])(()=>s.value.size);return{weight:n,size:r,key:i,variation:e}}}),jd=Vd,Rd=(i("8302"),Me(jd,Bd,Ed,!1,null,"dd6bcb7c",null)),zd=Rd.exports,Nd=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("farm-typography",t._b({class:{["farm-overlaytext"]:!0},attrs:{weight:400,size:"sm"}},"farm-typography",t.$attrs,!1),[t._t("default")],2)},Hd=[],Wd=u.a.extend({inheritAttrs:!0,name:"farm-overlaytext"}),qd=Wd,Ud=(i("70f8"),Me(qd,Nd,Hd,!1,null,"764f59bd",null)),Yd=Ud.exports,Zd=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("section",{staticClass:"farm-container"},[e("div",{staticClass:"elevation-2"},[t._t("default")],2)])},Kd=[],Gd=u.a.extend({name:"farm-container",inheritAttrs:!0}),Xd=Gd,Jd=(i("f4dc"),Me(Xd,Zd,Kd,!1,null,"3f8673d8",null)),Qd=Jd.exports,tp=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("footer",{staticClass:"farm-container-footer"},[t._t("default")],2)},ep=[],ip=u.a.extend({name:"farm-container-footer",inheritAttrs:!0}),sp=ip,np=(i("9678"),Me(sp,tp,ep,!1,null,"0ae893e0",null)),rp=np.exports,ap=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("hr",{class:{"farm-line":!0,"farm-line--spacing":!t.noSpacing}})},op=[],lp=u.a.extend({name:"farm-line",props:{noSpacing:{type:Boolean,default:!1}}}),up=lp,cp=(i("c26b"),Me(up,ap,op,!1,null,"5bc50bca",null)),hp=cp.exports},fc23:function(t,e,i){"use strict";var s=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var n=s(i("74cb"));e.default=n.default},fd38:function(t,e,i){"use strict";var s=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var n=s(i("38a4"));e.default=n.default},fdc0:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e={};return t.forEach((function(t){e[t]="IDLE"})),e}}})}));
|
|
1
|
+
(function(t,e){"object"===typeof exports&&"object"===typeof module?module.exports=e(require("vue")):"function"===typeof define&&define.amd?define([],e):"object"===typeof exports?exports["front-mfe-components"]=e(require("vue")):t["front-mfe-components"]=e(t["Vue"])})("undefined"!==typeof self?self:this,(function(t){return function(t){var e={};function i(s){if(e[s])return e[s].exports;var n=e[s]={i:s,l:!1,exports:{}};return t[s].call(n.exports,n,n.exports,i),n.l=!0,n.exports}return i.m=t,i.c=e,i.d=function(t,e,s){i.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:s})},i.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.t=function(t,e){if(1&e&&(t=i(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var s=Object.create(null);if(i.r(s),Object.defineProperty(s,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var n in t)i.d(s,n,function(e){return t[e]}.bind(null,n));return s},i.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="",i(i.s="fae3")}({"0068":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=i("7776");e.default=function(t){var e={};return t.forEach((function(t){e["set".concat((0,s.capitalize)(t))]=function(e,i){e[t]=i}})),e}},"0157":function(t,e,i){},"02f0":function(t,e,i){},"0545":function(t,e,i){"use strict";var s=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var n=s(i("51428"));e.default=n.default},"0556":function(t,e,i){"use strict";var s=this&&this.__createBinding||(Object.create?function(t,e,i,s){void 0===s&&(s=i);var n=Object.getOwnPropertyDescriptor(e,i);n&&!("get"in n?!e.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return e[i]}}),Object.defineProperty(t,s,n)}:function(t,e,i,s){void 0===s&&(s=i),t[s]=e[i]}),n=this&&this.__exportStar||function(t,e){for(var i in t)"default"===i||Object.prototype.hasOwnProperty.call(e,i)||s(e,t,i)};Object.defineProperty(e,"__esModule",{value:!0}),n(i("3282"),e),n(i("8e45"),e),n(i("c2c8"),e),n(i("af98"),e),n(i("c6f9"),e),n(i("d052"),e)},"0597":function(t,e,i){"use strict";i("9568")},"0614":function(t,e,i){"use strict";i("9f68")},"07b9":function(t,e,i){},"0a26":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,i){var s=function(t){e("LOADING_START");var i=localStorage.getItem("Token");return void 0!==t.headers&&(t.headers.authorization="Bearer ".concat(i)),t},n=function(t){return e("LOADING_END"),t},r=function(t){if(e("LOADING_END"),t.response&&401===t.response.status)throw e("UNAUTHORIZED",{err:t}),t;throw t},a=function(t){var e=t.create({baseURL:i,timeout:2e4});return e.interceptors.request.use((function(t){return s(t)}),(function(t){return Promise.reject(t)})),e.interceptors.response.use(n,r),e};return a(t)}},"0aae":function(t,e,i){"use strict";var s=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var n=s(i("5376"));e.default=n.default},"0b96":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=/(^\d{3}\.\d{3}\.\d{3}-\d{2}$)|(^\d{2}\.\d{3}\.\d{3}\/\d{4}-\d{2}$)/;return e.test(t)||!1}},"0bc6":function(t,e,i){},"0c0e":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){if(11===t.length){for(var e=t.split(""),i=0,s=0,n=!1,r=1;e.length>r;r+=1)e[r-1]!==e[r]&&(n=!0);if(!1===n)return!1;r=0;for(var a=10;e.length-2>r;r+=1,a-=1)i+=+e[r]*a;i=10*i%11,10===i&&(i=0);var o=parseInt(e[9],10);if(i!==o)return!1;for(r=0,a=11;e.length-1>r;r+=1,a-=1)s+=+e[r]*a;s=10*s%11,10===s&&(s=0);var l=parseInt(e[10],10);return s===l}return!1}},"0c96":function(t,e,i){},"0cc0":function(t,e,i){"use strict";i("b84d")},"0fc3":function(t,e,i){"use strict";var s=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.notificationWrapper=e.notification=void 0;var n=s(i("e6f2"));e.notification=n.default;var r=s(i("1e79"));e.notificationWrapper=r.default},"103a":function(t,e,i){"use strict";i("cdeb")},"112a":function(t,e,i){},"121f":function(t,e,i){"use strict";i("59f2")},1225:function(t,e,i){"use strict";var s=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var n=s(i("0a26"));e.default=n.default},"12f0":function(t,e,i){},"13b3":function(t,e,i){},"14af":function(t,e,i){},"158d":function(t,e,i){},"166a":function(t,e,i){},"169b":function(t,e,i){"use strict";var s=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var n=s(i("bbd2"));e.default=n.default},"16db":function(t,e,i){},1757:function(t,e,i){"use strict";var s=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var n=s(i("0c0e"));e.default=n.default},1803:function(t,e,i){},"19b1":function(t,e,i){},"1b2c":function(t,e,i){},"1bfb":function(t,e,i){},"1c18":function(t,e,i){},"1e79":function(t,e,i){"use strict";var s=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var n=s(i("e6f2")),r=i("c7ca");e.default=function(t,e,i){return"ERROR"===t.type?((0,n.default)(r.StatusEnum.ERROR,"Ocorreu um erro ao ".concat(i,": ").concat(t.message)),"ERROR"):"SUCCESS"===t||"SUCCESS"===t.type?((0,n.default)(r.StatusEnum.SUCCESS,"".concat(e," com sucesso")),"SUCCESS"):void 0}},"1ed2":function(t,e,i){"use strict";var s=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var n=s(i("ba9c"));e.default=n.default},"1f29":function(t,e,i){},"1f2b":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return t.data.content.length>0?t.data.content[0]:null}},2102:function(t,e,i){},2155:function(t,e,i){"use strict";var s=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var n=s(i("fdc0"));e.default=n.default},2232:function(t,e,i){"use strict";var s=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.formatDateRangeSetKeys=e.dateStringToISO=e.unFormatDate=e.defaultDateFormat=void 0;var n=s(i("a580"));e.formatDateRangeSetKeys=n.default;var r=s(i("df68"));e.defaultDateFormat=r.default;var a=s(i("464c"));e.unFormatDate=a.default;var o=s(i("b482"));e.dateStringToISO=o.default},2241:function(t,e,i){"use strict";var s=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var n=s(i("7427"));e.default=n.default},"22ee":function(t,e,i){"use strict";var s=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var n=s(i("cfcd"));e.default=n.default},"240e":function(t,e,i){},"242e":function(t,e,i){"use strict";i("7f88")},"24a2":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,i,s){var n=i?i(e):e;return t("set".concat(s),n),t("set".concat(s,"RequestStatus"),"SUCCESS"),{result:n}}},"24ef":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=t.split("/"),i=new Date(+e[2],+e[1]-1,+e[0]);return i.toISOString()}},"25a8":function(t,e,i){},2884:function(t,e,i){"use strict";i("158d")},2959:function(t,e,i){"use strict";i("9a06")},"296f":function(t,e,i){"use strict";var s=this&&this.__awaiter||function(t,e,i,s){function n(t){return t instanceof i?t:new i((function(e){e(t)}))}return new(i||(i=Promise))((function(i,r){function a(t){try{l(s.next(t))}catch(e){r(e)}}function o(t){try{l(s["throw"](t))}catch(e){r(e)}}function l(t){t.done?i(t.value):n(t.value).then(a,o)}l((s=s.apply(t,e||[])).next())}))},n=this&&this.__generator||function(t,e){var i,s,n,r,a={label:0,sent:function(){if(1&n[0])throw n[1];return n[1]},trys:[],ops:[]};return r={next:o(0),throw:o(1),return:o(2)},"function"===typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function o(t){return function(e){return l([t,e])}}function l(r){if(i)throw new TypeError("Generator is already executing.");while(a)try{if(i=1,s&&(n=2&r[0]?s["return"]:r[0]?s["throw"]||((n=s["return"])&&n.call(s),0):s.next)&&!(n=n.call(s,r[1])).done)return n;switch(s=0,n&&(r=[2&r[0],n.value]),r[0]){case 0:case 1:n=r;break;case 4:return a.label++,{value:r[1],done:!1};case 5:a.label++,s=r[1],r=[0];continue;case 7:r=a.ops.pop(),a.trys.pop();continue;default:if(n=a.trys,!(n=n.length>0&&n[n.length-1])&&(6===r[0]||2===r[0])){a=0;continue}if(3===r[0]&&(!n||r[1]>n[0]&&r[1]<n[3])){a.label=r[1];break}if(6===r[0]&&a.label<n[1]){a.label=n[1],n=r;break}if(n&&a.label<n[2]){a.label=n[2],a.ops.push(r);break}n[2]&&a.ops.pop(),a.trys.pop();continue}r=e.call(t,a)}catch(o){r=[6,o],s=0}finally{i=n=0}if(5&r[0])throw r[1];return{value:r[0]?r[1]:void 0,done:!0}}};function r(t){var e={},i=[];function s(t){if(t!==Object(t))return e[i.join(".")]=t;for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(i.push(n),s(t[n]),i.pop())}return s(t),e}Object.defineProperty(e,"__esModule",{value:!0}),e.flatObject=void 0,e.flatObject=r,e.default=function(t,e){var i={};t.mixin({methods:{loadFeatures:function(t){return s(this,void 0,void 0,(function(){var s;return n(this,(function(n){switch(n.label){case 0:return[4,e.get("/features/".concat(t,".json"))];case 1:return s=n.sent().data,i=r(s),[2]}}))}))},isFeatureEnabled:function(t){return!t||(i[t]||!1)}}})}},"2a45":function(t,e,i){"use strict";var s=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var n=s(i("6074"));e.default=n.default},"2b2b":function(t,e,i){},"2bd1":function(t,e,i){"use strict";var s=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var n=s(i("725d"));e.default=n.default},"2d3c":function(t,e,i){},"2e0d":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={theme:{themes:{light:{primary:"#1C1C1C",secondary:{base:"#00B493",lighten5:"#EBFFFB",lighten4:"#D6FFF8",lighten3:"#ADFFF0",lighten2:"#99FFEC",lighten1:"#70FFE5",darken1:"#47FFDD",darken2:"#0AFFD2",darken3:"#00F5C8",darken4:"#00CCA7",darken5:"#006653"},error:"#EA5455",extra:{base:"#FFFFFF",lighten1:"#467D7E",lighten2:"#1A3738",lighten3:"#0B1A1B",lighten4:"#FADD9E",lighten5:"#F8CC6B",darken1:"#595959",darken2:"#4d4d4d",darken3:"#404040",darken4:"#333333",darken5:"#262626"},gray:{base:"#5C5C5C",lighten1:"#858585",lighten2:"#D6D6D6",lighten3:"#0B1A1B",lighten4:"#F5F5F5",lighten5:"#FFFFFF",darken1:"#595959",darken2:"#4d4d4d",darken3:"#404040",darken4:"#333333",darken5:"#262626"},accent:"#5089DE",yellow:"#F8CC6B"}},options:{customProperties:!0}}}},"2e45":function(t,e,i){"use strict";i("0c96")},"2ea0":function(t,e,i){"use strict";i("14af")},"2eae":function(t,e,i){"use strict";i("3a97")},3140:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={updateCurrentUserRoles:function(t,e){var i=t.commit;i("setCurrentUserRoles",e)},updateCurrentRouteRole:function(t,e){var i=t.commit;i("setCurrentRouteRole",e)},updateInternalUser:function(t,e){var i=t.commit;i("setInternalUser",e)}}},3282:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.StatusEnum=void 0;var s=i("c7ca");Object.defineProperty(e,"StatusEnum",{enumerable:!0,get:function(){return s.StatusEnum}})},3408:function(t,e,i){},"357b":function(t,e,i){"use strict";var s=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var n=s(i("0b96"));e.default=n.default},"368e":function(t,e,i){},3707:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e={};return t.forEach((function(t){return e[t]=t.endsWith("List")?[]:null})),e}},"38a4":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){return Object.keys(t).filter((function(e){return""!==t[e]&&null!==t[e]&&void 0!==t[e]})).map((function(i){return(e[i]?e[i]:i)+"="+t[i]})).join("&")}},"39da":function(t,e,i){"use strict";i("240e")},"3a97":function(t,e,i){},"3ad0":function(t,e,i){},"3c93":function(t,e,i){},"3d45":function(t,e,i){"use strict";var s=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.usd=e.brlPlain=e.brl=void 0;var n=s(i("545d"));e.brl=n.default;var r=s(i("716a"));e.brlPlain=r.default;var a=s(i("169b"));e.usd=a.default},4088:function(t,e,i){},"40c3":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=function(t){return{methods:{tagExportEvent:function(e){var i=e.page,s=e.format;this.$gtag.event("export",{format:s,page:i,origin:t})}}}};e.default=s},"415c":function(t,e,i){"use strict";var s=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var n=s(i("b513"));e.default=n.default},"41e3":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=["a","abbr","acronym","address","applet","area","article","aside","audio","b","base","basefont","bdi","bdo","bgsound","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dir","div","dl","dt","element","em","embed","fieldset","figcaption","figure","font","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","isindex","kbd","keygen","label","legend","li","line","link","listing","main","map","mark","marquee","menu","menuitem","meta","meter","nav","nobr","noframes","noscript","object","ol","optgroup","option","output","p","param","plaintext","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","tt","u","ul","var","video","wbr","xmp"]},4298:function(t,e,i){"use strict";var s=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var n=s(i("f293"));e.default=n.default},4441:function(t,e,i){"use strict";var s=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var n=s(i("0068"));e.default=n.default},4562:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){return void 0===e&&(e=2),0===t||t?new Intl.NumberFormat("pt-BR",{minimumFractionDigits:e,maximumFractionDigits:e}).format(t):null}},"464c":function(t,e,i){"use strict";var s=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var n=s(i("bfb9"));e.default=n.default},4804:function(t,e,i){},"495c":function(t,e,i){"use strict";i("5b50")},"495d":function(t,e,i){},"4b09":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.sizeOf=void 0;var s=i("c62c");Object.defineProperty(e,"sizeOf",{enumerable:!0,get:function(){return s.sizeOf}})},"4b85":function(t,e,i){},"4c91":function(t,e,i){"use strict";var s=this&&this.__assign||function(){return s=Object.assign||function(t){for(var e,i=1,s=arguments.length;i<s;i++)for(var n in e=arguments[i],e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t},s.apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,i,n){t.mixin({data:function(){return{userHasAccess:!0}},computed:s(s({},e(n,{currentRouteRole:"currentRouteRole",currentUserRoles:"currentUserRoles",internalUser:"internalUser"})),{canWrite:function(){return"WRITE"===this.currentRouteRole}}),methods:s(s({},i(n,{updateCurrentUserRoles:"updateCurrentUserRoles",updateCurrentRouteRole:"updateCurrentRouteRole",updateInternalUser:"updateInternalUser"})),{checkAccess:function(){var t=this,e=this.currentUserRoles,i=this.$route.meta.roleKey,s=i.split(".").map((function(e){return 0===e.indexOf(":")?t.$route.params[e.split(":")[1]]:e}));if(i=s.join("."),!i||!e)return this.updateCurrentRouteRole("WRITE"),void(this.userHasAccess=!0);var n=e[i];if(n&&n>0)return this.updateCurrentRouteRole(2===n?"WRITE":"READ"),void(this.userHasAccess=!0);this.updateCurrentRouteRole(0),this.userHasAccess=!1},listenToUserRolesChange:function(){var t=this;window.addEventListener("CURRENT_USER_ROLES",(function(e){t.updateCurrentUserRoles(e.detail.message),t.checkAccess()})),window.addEventListener("CURRENT_USER_INTERNAL",(function(e){t.updateInternalUser(e.detail.message)}))}})})}},"4cda":function(t,e,i){"use strict";i("1803")},"4dfe":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={updateCurrentFilters:function(t,e){var i=t.commit,s=e.key,n=e.filters,r=e.showFilters;i("setCurrentFilters",{key:s,filters:n,showFilters:r})}}},"4e5d":function(t,e,i){"use strict";i("5027")},"4fec":function(t,e,i){},"4ff9":function(t,e,i){},5027:function(t,e,i){},5142:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={currentUserRoles:[],currentRouteRole:null,internalUser:null}},51428:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e={type:"ERROR"};if("ECONNABORTED"===t.code)return e.message="timeout",e.code=t.code,e;if(t.response&&(e.httpStatus=t.response.status,t.response.data)){var i=t.response.data;i&&i.data&&(e.message=i.data),i&&i.message&&(e.message=i.message),i.errors&&1===i.errors.length&&(e.message=i.errors[0]),i.errors&&i.errors.length>1&&(e.message=i.errors.map((function(t){return t?t.defaultMessage?t.defaultMessage:t:"Erro inesperado"})).join(". "))}e.message&&e.message.message&&(e.message=e.message.message);var s=e;return s}},5159:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={currentFiltersFromKey:function(t){return function(e){if(!t.currentFilters)return null;if(t.currentFilters.key!==e)return null;var i=t.currentFilters,s=i.filters,n=i.showFilters;return{filters:s,showFilters:n}}}}},5376:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=function(t){return function(e,i,s){var n=new Blob([e],{type:i}),r=t.document.createElement("a");return r.href=t.URL.createObjectURL?t.URL.createObjectURL(n):"",r.download=s||"",r.click(),r}};e.default=s(window)},5449:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=function(t){function e(e,i){var s=t.getItem(e)||i||"";try{return JSON.parse(s)}catch(n){return s}}function i(e,i){try{return"string"===typeof i?t.setItem(e,i):t.setItem(e,JSON.stringify(i)),!0}catch(s){return!1}}function s(e){return t.removeItem(e)}function n(){return t.clear()}return{getItem:e,setItem:i,clear:n,clearKey:s}};e.default=s(localStorage)},"545d":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){return void 0===e&&(e=2),0===t||t?new Intl.NumberFormat("pt-BR",{style:"currency",currency:"BRL",minimumFractionDigits:e,maximumFractionDigits:e}).format(t).replace(/\s/g,""):null}},5622:function(t,e,i){"use strict";var s=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var n=s(i("f104"));e.default=n.default},5726:function(t,e,i){},5768:function(t,e,i){"use strict";i("642a")},"578c":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={currentFilters:{}}},"58c6":function(t,e,i){},"59f2":function(t,e,i){},"5b50":function(t,e,i){},"5bb6":function(t,e,i){"use strict";var s=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var n=s(i("5449"));e.default=n.default},"5bc7":function(t,e,i){"use strict";i("d591")},"5daf":function(t,e,i){"use strict";var s=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var n=s(i("296f"));e.default=n.default},6031:function(t,e,i){"use strict";i("ee34")},6074:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return new Promise((function(e,i){var s="clipboard-write";navigator.permissions.query({name:s}).then((function(s){"granted"!==s.state&&"prompt"!==s.state||navigator.clipboard.writeText(t).then((function(){e()}),(function(){i()}))}))}))}},"608c":function(t,e,i){},"615b":function(t,e,i){},"61b9":function(t,e,i){"use strict";var s=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var n=s(i("24a2"));e.default=n.default},"61d2":function(t,e,i){},"62a5":function(t,e,i){},6336:function(t,e,i){"use strict";i("a000")},"637f":function(t,e,i){"use strict";i("6a7d")},"639f":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return!(t.length<=0)&&t.charAt(0).toUpperCase()+t.slice(1)}},"641a":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={setCurrentUserRoles:function(t,e){return t.currentUserRoles=e},setCurrentRouteRole:function(t,e){return t.currentRouteRole=e},setInternalUser:function(t,e){return t.internalUser=e}}},"642a":function(t,e,i){},"66c5":function(t,e,i){"use strict";i("8f42")},"68dd":function(t,e,i){},"6a7d":function(t,e,i){},"6d92":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.approve=e.download=e.remove=e.historic=e.invite=e.edit=e.details=void 0,e.details={label:"Ver",handler:"details",icon:{color:"secondary",type:"open-in-new"}},e.edit={label:"Editar",handler:"edit",icon:{color:"secondary",type:"square-edit-outline"}},e.invite={label:"Convidar",handler:"invite",icon:{color:"secondary",type:"email"}},e.historic={label:"Histórico",handler:"historic",icon:{color:"grey",type:"history"}},e.remove={label:"Excluir",handler:"remove",icon:{color:"error",type:"trash-can"}},e.download={label:"Baixar Documento",handler:"download",icon:{color:"secondary",type:"download"}},e.approve={label:"Analisar Documento",handler:"approve",icon:{color:"secondary",type:"check-circle"}}},"6ece":function(t,e,i){},"70f8":function(t,e,i){"use strict";i("62a5")},"716a":function(t,e,i){"use strict";var s=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var n=s(i("4562"));e.default=n.default},"725d":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e={};return t.forEach((function(t){return e[t]={results:[],totalPages:null,total:null}})),e}},7427:function(t,e,i){"use strict";var s=this&&this.__assign||function(){return s=Object.assign||function(t){for(var e,i=1,s=arguments.length;i<s;i++)for(var n in e=arguments[i],e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t},s.apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0});var n={data:function(){return{canDoSearch:!0}},methods:{onChangeLimitPerPage:function(t){this.filters.limit=t,this.canDoSearch&&this.redoSearchFirstPage()},onChangePage:function(t){this.filters.page=t-1,this.canDoSearch&&this.doSearch()},redoSearchFirstPage:function(){0===this.filters.page?this.doSearch():this.filters.page=0},searchListener:function(t){var e=this.filters[this.filterInputKey]||"";this.filters=s(s({},t),{limit:this.lastSearchFilters.limit,page:this.lastSearchFilters.page}),this.filters[this.filterInputKey]=e,this.redoSearchFirstPage()},filterInputChanged:function(t){this.filters[this.filterInputKey]=t,(t.length>=3||""===t)&&this.redoSearchFirstPage()},enableSearch:function(){this.canDoSearch=!0},disableSearch:function(){this.canDoSearch=!1},checkStateOnMount:function(t){var e=this;if(!this.hasQueryParams())return!1;var i=this.currentFiltersFromKey(t);if(i){this.disableSearch();var n=s(s({},i.filters),{page:i.filters.page});return this.filters=s({},n),this.initFiltersValues=s({},n),this.filter=i.showFilters,this.$nextTick((function(){e.enableSearch()})),!0}return!1},checkUrlQueryOnMount:function(){return!(!this.$route.query||!this.$route.query.page)&&(this.filters=s(s({},this.$route.query),{page:parseInt(this.$route.query.page,10),limit:parseInt(this.$route.query.limit,10)}),this.hasSort&&(this.hasSort.orderby=this.$route.query.orderby,this.hasSort.order=this.$route.query.order),!0)},hasQueryParams:function(){return Object.keys(this.$route.query).length>0},updateQueryInUrl:function(){var t=this,e={};Object.keys(this.filters).forEach((function(i){var s=t.filters[i];if(Array.isArray(s))return e[i]=s.join(",").toString();void 0!==s&&(e[i]=s.toString())})),this.hasSort&&(e.orderby=this.hasSort.orderby,e.order=this.hasSort.order),JSON.stringify(e)!==JSON.stringify(this.$route.query)&&this.$router.replace({path:this.$route.path,query:s({path:this.$route.query.path},e)})}},computed:{currentPage:{get:function(){return this.filters.page+1}}}};e.default=n},7435:function(t,e,i){},"74cb":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,i,s){var n,r,a,o=i?e.data.content.map((function(t){return i(t)})):e.data.content,l=(null===(n=e.data)||void 0===n?void 0:n.totalPages)||(null===(a=null===(r=e.data)||void 0===r?void 0:r.pageable)||void 0===a?void 0:a.totalPages);return t("set".concat(s),o),t("set".concat(s,"TotalPages"),l),t("set".concat(s,"RequestStatus"),"SUCCESS"),{result:o,totalPages:l}}},7776:function(t,e,i){"use strict";var s=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.capitalize=void 0;var n=s(i("639f"));e.capitalize=n.default},"787b":function(t,e,i){"use strict";i("f9f5")},"7a0b":function(t,e,i){"use strict";var s=this&&this.__assign||function(){return s=Object.assign||function(t){for(var e,i=1,s=arguments.length;i<s;i++)for(var n in e=arguments[i],e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t},s.apply(this,arguments)},n=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var r=n(i("5142")),a=n(i("3140")),o=n(i("641a")),l=n(i("abd7"));e.default={namespaced:!0,state:s({},r.default),actions:a.default,mutations:o.default,getters:l.default}},"7b38":function(t,e,i){},"7f88":function(t,e,i){},8302:function(t,e,i){"use strict";i("07b9")},"83d2":function(t,e,i){"use strict";var s=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.search=e.userAccess=e.resetListBuilder=e.mutationsBuilder=e.gettersBuilder=e.getFirstItemFromResponseArray=e.dismissDefaultParserState=e.buildStateRequestStatus=e.buildStateListResult=e.buildBasicState=e.fetchDefaultParserPagination=e.fetchDefaultParser=void 0;var n=s(i("61b9"));e.fetchDefaultParser=n.default;var r=s(i("fc23"));e.fetchDefaultParserPagination=r.default;var a=s(i("f1f7"));e.buildBasicState=a.default;var o=s(i("2bd1"));e.buildStateListResult=o.default;var l=s(i("2155"));e.buildStateRequestStatus=l.default;var u=s(i("5622"));e.dismissDefaultParserState=u.default;var c=s(i("ce5e"));e.getFirstItemFromResponseArray=c.default;var h=s(i("f445"));e.gettersBuilder=h.default;var d=s(i("4441"));e.mutationsBuilder=d.default;var p=s(i("22ee"));e.resetListBuilder=p.default;var f=s(i("7a0b"));e.userAccess=f.default;var m=s(i("8ab3"));e.search=m.default},"859a":function(t,e,i){"use strict";i("4fec")},"86cc":function(t,e,i){},"892b":function(t,e,i){"use strict";var s=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var n=s(i("2e0d"));e.default=n.default},"899c":function(t,e,i){},"89cb":function(t,e,i){"use strict";var s=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var n=s(i("8da7"));e.default=n.default},"8ab3":function(t,e,i){"use strict";var s=this&&this.__assign||function(){return s=Object.assign||function(t){for(var e,i=1,s=arguments.length;i<s;i++)for(var n in e=arguments[i],e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t},s.apply(this,arguments)},n=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var r=n(i("578c")),a=n(i("4dfe")),o=n(i("b4d2")),l=n(i("5159"));e.default={namespaced:!0,state:s({},r.default),actions:a.default,mutations:o.default,getters:l.default}},"8adc":function(t,e,i){},"8b37":function(t,e,i){},"8b98":function(t,e,i){"use strict";i("b321")},"8bbf":function(e,i){e.exports=t},"8c11":function(t,e,i){},"8ce9":function(t,e,i){},"8d4f":function(t,e,i){},"8da7":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return function(e){return Object.fromEntries(Object.keys(t).map((function(i){return[[t[i]],e[i]]})))}}},"8e45":function(t,e,i){"use strict";var s=this&&this.__createBinding||(Object.create?function(t,e,i,s){void 0===s&&(s=i);var n=Object.getOwnPropertyDescriptor(e,i);n&&!("get"in n?!e.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return e[i]}}),Object.defineProperty(t,s,n)}:function(t,e,i,s){void 0===s&&(s=i),t[s]=e[i]}),n=this&&this.__exportStar||function(t,e){for(var i in t)"default"===i||Object.prototype.hasOwnProperty.call(e,i)||s(e,t,i)},r=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.cacheClient=e.axiosWrapper=e.localStorageWrapper=e.toClipboard=e.simpleBuilder=e.installComponents=e.errorBuilder=e.fileSaver=e.queryString=e.file=void 0,n(i("2232"),e),n(i("e067"),e),n(i("83d2"),e),n(i("0fc3"),e),n(i("7776"),e);var a=r(i("a786"));e.file=a.default;var o=r(i("fd38"));e.queryString=o.default;var l=r(i("0aae"));e.fileSaver=l.default;var u=r(i("0545"));e.errorBuilder=u.default;var c=r(i("4298"));e.installComponents=c.default;var h=r(i("89cb"));e.simpleBuilder=h.default;var d=r(i("2a45"));e.toClipboard=d.default;var p=r(i("5bb6"));e.localStorageWrapper=p.default;var f=r(i("1ed2"));e.cacheClient=f.default;var m=r(i("1225"));e.axiosWrapper=m.default},"8f42":function(t,e,i){},"8fba":function(t,e,i){"use strict";i("1f29")},"8ff2":function(t,e,i){},"91f4":function(t,e,i){},9568:function(t,e,i){},9597:function(t,e,i){},"95ed":function(t,e,i){},9678:function(t,e,i){"use strict";i("7b38")},"96c7":function(t,e,i){"use strict";i("ab22")},"9a06":function(t,e,i){},"9a42":function(t,e,i){},"9af0":function(t,e,i){"use strict";i("f33a")},"9b06":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e={};return t.forEach((function(t){e[t]=function(e){return e[t]}})),e}},"9e51":function(t,e,i){"use strict";var s=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var n=s(i("40c3"));e.default=n.default},"9f68":function(t,e,i){},a000:function(t,e,i){},a0ef:function(t,e,i){"use strict";var s=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var n=s(i("ad8f"));e.default=n.default},a2e1:function(t,e,i){"use strict";i("0157")},a464:function(t,e,i){},a580:function(t,e,i){"use strict";var s=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var n=s(i("f599"));e.default=n.default},a786:function(t,e,i){"use strict";var s=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var n=s(i("bbe8"));e.default=n.default},a80d:function(t,e,i){"use strict";i("9597")},ab22:function(t,e,i){},abd7:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={currentUserRoles:function(t){return t.currentUserRoles},currentRouteRole:function(t){return t.currentRouteRole},internalUser:function(t){return t.internalUser}}},ac29:function(t,e,i){},acbc:function(t,e,i){"use strict";var s;Object.defineProperty(e,"__esModule",{value:!0}),function(t){t["START"]="START",t["SUCCESS"]="SUCCESS",t["ERROR"]="ERROR",t["IDLE"]="IDLE"}(s||(s={})),e.default=s},ad8f:function(t,e,i){"use strict";var s=this&&this.__awaiter||function(t,e,i,s){function n(t){return t instanceof i?t:new i((function(e){e(t)}))}return new(i||(i=Promise))((function(i,r){function a(t){try{l(s.next(t))}catch(e){r(e)}}function o(t){try{l(s["throw"](t))}catch(e){r(e)}}function l(t){t.done?i(t.value):n(t.value).then(a,o)}l((s=s.apply(t,e||[])).next())}))},n=this&&this.__generator||function(t,e){var i,s,n,r,a={label:0,sent:function(){if(1&n[0])throw n[1];return n[1]},trys:[],ops:[]};return r={next:o(0),throw:o(1),return:o(2)},"function"===typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function o(t){return function(e){return l([t,e])}}function l(r){if(i)throw new TypeError("Generator is already executing.");while(a)try{if(i=1,s&&(n=2&r[0]?s["return"]:r[0]?s["throw"]||((n=s["return"])&&n.call(s),0):s.next)&&!(n=n.call(s,r[1])).done)return n;switch(s=0,n&&(r=[2&r[0],n.value]),r[0]){case 0:case 1:n=r;break;case 4:return a.label++,{value:r[1],done:!1};case 5:a.label++,s=r[1],r=[0];continue;case 7:r=a.ops.pop(),a.trys.pop();continue;default:if(n=a.trys,!(n=n.length>0&&n[n.length-1])&&(6===r[0]||2===r[0])){a=0;continue}if(3===r[0]&&(!n||r[1]>n[0]&&r[1]<n[3])){a.label=r[1];break}if(6===r[0]&&a.label<n[1]){a.label=n[1],n=r;break}if(n&&a.label<n[2]){a.label=n[2],a.ops.push(r);break}n[2]&&a.ops.pop(),a.trys.pop();continue}r=e.call(t,a)}catch(o){r=[6,o],s=0}finally{i=n=0}if(5&r[0])throw r[1];return{value:r[0]?r[1]:void 0,done:!0}}};Object.defineProperty(e,"__esModule",{value:!0});var r={methods:{exportHandler:function(t){return s(this,void 0,void 0,(function(){var e;return n(this,(function(i){switch(i.label){case 0:return[4,this.$dialog.info({text:"O download do arquivo será iniciado em uma nova aba. Para continuar usando a plataforma, você terá que retornar manualmente.",title:"Download",icon:!1,actions:{},waitForResult:!1})];case 1:return e=i.sent(),setTimeout((function(){e.close(),t()}),2e3),[2]}}))}))}}};e.default=r},ae7a:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,i){if(void 0===i&&(i=1),0===t||0===e)return 0;if(Number.isNaN(+t)||Number.isNaN(+e))return"0";var s=+t/+e*100;return Math.round(s)===s?s:s.toFixed(i)}},af98:function(t,e,i){"use strict";var s=this&&this.__createBinding||(Object.create?function(t,e,i,s){void 0===s&&(s=i);var n=Object.getOwnPropertyDescriptor(e,i);n&&!("get"in n?!e.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return e[i]}}),Object.defineProperty(t,s,n)}:function(t,e,i,s){void 0===s&&(s=i),t[s]=e[i]}),n=this&&this.__exportStar||function(t,e){for(var i in t)"default"===i||Object.prototype.hasOwnProperty.call(e,i)||s(e,t,i)},r=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.environment=void 0;var a=r(i("b0c1"));e.environment=a.default,n(i("e4fa"),e)},afa9:function(t,e,i){"use strict";i("bfba")},b0c1:function(t,e,i){"use strict";var s=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var n=s(i("bf58"));e.default=n.default},b169:function(t,e,i){},b2bd:function(t,e,i){},b307:function(t,e,i){"use strict";var s=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var n=s(i("4c91"));e.default=n.default},b321:function(t,e,i){},b482:function(t,e,i){"use strict";var s=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var n=s(i("24ef"));e.default=n.default},b4d2:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={setCurrentFilters:function(t,e){var i=e.key,s=e.filters,n=e.showFilters;t.currentFilters={key:i,filters:s,showFilters:n}}}},b4d9:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){if(14===t.length){for(var e=t.split(""),i=0,s=0,n=!1,r=1;e.length>r;r+=1)e[r-1]!==e[r]&&(n=!0);if(!1===n)return!1;r=0;for(var a=5,o=13;e.length-2>r;r+=1,a-=1,o-=1)i+=a>=2?+e[r]*a:+e[r]*o;i%=11,i=i<2?0:11-i;var l=parseInt(e[12],10);if(i!==l)return!1;for(r=0,a=6,o=14;e.length-1>r;r+=1,a-=1,o-=1)s+=a>=2?+e[r]*a:+e[r]*o;s%=11,s=s<2?0:11-s;var u=parseInt(e[13],10);return s===u}return!1}},b510:function(t,e,i){"use strict";i("1c18")},b513:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s={props:{value:{required:!0}},computed:{inputVal:{get:function(){return this.value},set:function(t){this.$emit("input",t)}}},methods:{close:function(){this.inputVal=!1}}};e.default=s},b6d8:function(t,e,i){"use strict";i("b169")},b6ec:function(t,e,i){},b7c2:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e={timeZone:"UTC"};return t?new Date(t).toLocaleDateString("pt-BR",e):null}},b84d:function(t,e,i){},b8e9:function(t,e,i){"use strict";var s=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var n=s(i("b4d9"));e.default=n.default},ba9c:function(t,e,i){"use strict";var s=this&&this.__awaiter||function(t,e,i,s){function n(t){return t instanceof i?t:new i((function(e){e(t)}))}return new(i||(i=Promise))((function(i,r){function a(t){try{l(s.next(t))}catch(e){r(e)}}function o(t){try{l(s["throw"](t))}catch(e){r(e)}}function l(t){t.done?i(t.value):n(t.value).then(a,o)}l((s=s.apply(t,e||[])).next())}))},n=this&&this.__generator||function(t,e){var i,s,n,r,a={label:0,sent:function(){if(1&n[0])throw n[1];return n[1]},trys:[],ops:[]};return r={next:o(0),throw:o(1),return:o(2)},"function"===typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function o(t){return function(e){return l([t,e])}}function l(r){if(i)throw new TypeError("Generator is already executing.");while(a)try{if(i=1,s&&(n=2&r[0]?s["return"]:r[0]?s["throw"]||((n=s["return"])&&n.call(s),0):s.next)&&!(n=n.call(s,r[1])).done)return n;switch(s=0,n&&(r=[2&r[0],n.value]),r[0]){case 0:case 1:n=r;break;case 4:return a.label++,{value:r[1],done:!1};case 5:a.label++,s=r[1],r=[0];continue;case 7:r=a.ops.pop(),a.trys.pop();continue;default:if(n=a.trys,!(n=n.length>0&&n[n.length-1])&&(6===r[0]||2===r[0])){a=0;continue}if(3===r[0]&&(!n||r[1]>n[0]&&r[1]<n[3])){a.label=r[1];break}if(6===r[0]&&a.label<n[1]){a.label=n[1],n=r;break}if(n&&a.label<n[2]){a.label=n[2],a.ops.push(r);break}n[2]&&a.ops.pop(),a.trys.pop();continue}r=e.call(t,a)}catch(o){r=[6,o],s=0}finally{i=n=0}if(5&r[0])throw r[1];return{value:r[0]?r[1]:void 0,done:!0}}},r=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var a=r(i("f1b2")),o=30;function l(t){var e=this,i={};return{get:function(r,l){return s(e,void 0,void 0,(function(){var e,s,u,c,h,d;return n(this,(function(n){switch(n.label){case 0:if(e=new Date,s=i[r],u=l&&l.cache&&l.cache.maxAge?l.cache.maxAge:o,c=(0,a.default)(s,e,u),c)return[2,new Promise((function(t){t(s.response)}))];n.label=1;case 1:return n.trys.push([1,3,,4]),[4,t.get(r,l)];case 2:return h=n.sent(),i[r]={response:h,date:e},[2,new Promise((function(t){return t(h)}))];case 3:return d=n.sent(),[2,new Promise((function(t,e){return e(d)}))];case 4:return[2]}}))}))}}}e.default=l},bbd2:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){return void 0===e&&(e=2),0===t||t?t.toLocaleString("en-US",{style:"currency",currency:"USD",minimumFractionDigits:e,maximumFractionDigits:e}).replace(/\s/g,""):null}},bbe8:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=window.localStorage.getItem("Token"),i="".concat(t,"&token=").concat(e);return window.open(i,"_blank"),new Promise((function(t){t({data:{content:"Download do arquivo foi iniciado na aba aberta",status:200}})}))}},bca1:function(t,e,i){"use strict";var s=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var n=s(i("cf2c"));e.default=n.default},bd0c:function(t,e,i){},bd8c:function(t,e,i){"use strict";i("9a42")},be41:function(t,e,i){"use strict";var s=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var n=s(i("ae7a"));e.default=n.default},bf58:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=window,n=s["FARM"]||{};n.APIS=n.APIS||{},e.default={get apiRevendaUrl(){return n.APIS.revenda},get apiConfigUrl(){return n.APIS.config},get apiDashboardUrl(){return n.APIS.dashboard},get apiExcelUrl(){return n.APIS.excel},get apiZipCodeUrl(){return n.APIS.cep},get onboardingApiUrl(){return n.APIS.onboarding},get apiCadastrosUrlV2(){return n.APIS.cadastrosV2},get apiCadastrosUrl(){return n.APIS.cadastros},get apiOperacoesUrl(){return n.APIS.operacoes},get apiCreditoUrl(){return n.APIS.credito},get apiFormalizacaosUrl(){return n.APIS.formalizacao},get apiOperacoesNotasUrl(){return n.APIS.notas},get apiSegurancaUrl(){return n.APIS.seguranca},get apiDesembolsosUrl(){return n.APIS.desembolsos},get apiCreditoSolicitacaoLimiteUrl(){return n.APIS.creditoSolicitacaoLimite},get apiCreditoGestaoLimiteUrl(){return n.APIS.creditoGestaoLimite},get apiBlipKey(){return n.BLIP},get analyticsId(){return n.GA_ID},get cognito(){return{userPoolId:n.COGNITO.USERPOOL_ID,clientId:n.COGNITO.CLIENT_ID}}}},bfb9:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){if(!t)return null;var e=t.split("/"),i=e[0],s=e[1],n=e[2];return"".concat(n,"-").concat(s,"-").concat(i)}},bfba:function(t,e,i){},bfdf:function(t,e,i){},c225:function(t,e,i){"use strict";i("16db")},c26b:function(t,e,i){"use strict";i("112a")},c2c8:function(t,e,i){"use strict";var s=this&&this.__createBinding||(Object.create?function(t,e,i,s){void 0===s&&(s=i);var n=Object.getOwnPropertyDescriptor(e,i);n&&!("get"in n?!e.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return e[i]}}),Object.defineProperty(t,s,n)}:function(t,e,i,s){void 0===s&&(s=i),t[s]=e[i]}),n=this&&this.__exportStar||function(t,e){for(var i in t)"default"===i||Object.prototype.hasOwnProperty.call(e,i)||s(e,t,i)};Object.defineProperty(e,"__esModule",{value:!0}),n(i("3d45"),e),n(i("ebd4"),e),n(i("4b09"),e)},c399:function(t,e,i){"use strict";i("8c11")},c62c:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.sizeOf=void 0;var s=function(t){if(0===t)return"0.00 B";var e=Math.floor(Math.log(t)/Math.log(1024));return"".concat((t/Math.pow(1024,e)).toFixed(2)," ").concat(" KMGTP".charAt(e),"B")};e.sizeOf=s},c6f9:function(t,e,i){"use strict";var s=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.RequestStatusEnum=e.vuetify=void 0;var n=s(i("892b"));e.vuetify=n.default;var r=s(i("acbc"));e.RequestStatusEnum=r.default},c7ca:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.StatusEnum=void 0,function(t){t["START"]="START",t["SUCCESS"]="SUCCESS",t["ERROR"]="ERROR",t["IDLE"]="IDLE"}(e.StatusEnum||(e.StatusEnum={}))},c982:function(t,e,i){},cb03:function(t,e,i){"use strict";i("5726")},cdeb:function(t,e,i){},ce5e:function(t,e,i){"use strict";var s=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var n=s(i("1f2b"));e.default=n.default},cf2c:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){if(!t)return!1;var e=/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;return e.test(t.trim())||!1}},cf36:function(t,e,i){},cfcd:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=i("7776");e.default=function(t){var e,i=(0,s.capitalize)(t);return e={},e["setReset".concat(i)]=function(e){e[t]=[],e["".concat(t,"TotalPages")]=null},e}},d052:function(t,e,i){"use strict";var s=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.routeRole=e.pageable=e.modalable=e.gtag=e.featureToggle=e.exportHandler=void 0;var n=s(i("a0ef"));e.exportHandler=n.default;var r=s(i("5daf"));e.featureToggle=r.default;var a=s(i("9e51"));e.gtag=a.default;var o=s(i("415c"));e.modalable=o.default;var l=s(i("2241"));e.pageable=l.default;var u=s(i("b307"));e.routeRole=u.default},d191:function(t,e,i){},d261:function(t,e,i){"use strict";i("2b2b")},d42f:function(t,e,i){},d4e7:function(t,e,i){"use strict";i("ac29")},d591:function(t,e,i){},d5b1:function(t,e,i){"use strict";i("bfdf")},d951:function(t,e,i){},db42:function(t,e,i){},ddf7:function(t,e,i){"use strict";i("d42f")},df68:function(t,e,i){"use strict";var s=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var n=s(i("b7c2"));e.default=n.default},e067:function(t,e,i){"use strict";var s=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.isValidCPF=e.isValidCNPJ=e.cpfOrCnpj=e.email=e.cpfOrCnpjRules=void 0;var n=s(i("e1b2"));e.cpfOrCnpjRules=n.default;var r=s(i("bca1"));e.email=r.default;var a=s(i("357b"));e.cpfOrCnpj=a.default;var o=s(i("b8e9"));e.isValidCNPJ=o.default;var l=s(i("1757"));e.isValidCPF=l.default},e1b2:function(t,e,i){"use strict";var s=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var n=s(i("1757")),r=s(i("b8e9"));e.default=function(t){return(0,n.default)(t)||(0,r.default)(t)}},e268:function(t,e,i){"use strict";i("58c6")},e4fa:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.approve=e.download=e.historic=e.invite=e.remove=e.edit=e.details=void 0;var s=i("6d92");Object.defineProperty(e,"details",{enumerable:!0,get:function(){return s.details}}),Object.defineProperty(e,"edit",{enumerable:!0,get:function(){return s.edit}}),Object.defineProperty(e,"remove",{enumerable:!0,get:function(){return s.remove}}),Object.defineProperty(e,"invite",{enumerable:!0,get:function(){return s.invite}}),Object.defineProperty(e,"historic",{enumerable:!0,get:function(){return s.historic}}),Object.defineProperty(e,"download",{enumerable:!0,get:function(){return s.download}}),Object.defineProperty(e,"approve",{enumerable:!0,get:function(){return s.approve}})},e53c:function(t,e,i){},e6d7:function(t,e,i){"use strict";i("19b1")},e6f2:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){var i=new CustomEvent(t,{detail:{message:e}});return window.dispatchEvent(i),i}},e951:function(t,e,i){"use strict";i("a464")},e9b1:function(t,e,i){},eb52:function(t,e,i){"use strict";i("2d3c")},ebd4:function(t,e,i){"use strict";var s=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.decimals=void 0;var n=s(i("be41"));e.decimals=n.default},ee34:function(t,e,i){},ee6f:function(t,e,i){},f066:function(t,e,i){"use strict";i("4088")},f104:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){return t("set".concat(e),[]),t("set".concat(e,"TotalPages"),null),t("set".concat(e,"RequestStatus"),"IDLE"),!0}},f1b2:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,i){if(!t||!t.response||!t.date)return!1;var s=Math.round((e.getTime()-t.date.getTime())/1e3);return s<i}},f1f7:function(t,e,i){"use strict";var s=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var n=s(i("3707"));e.default=n.default},f293:function(t,e,i){"use strict";var s=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var n=s(i("41e3"));e.default=function(t,e){Object.keys(e).forEach((function(i){var s=e[i];s.extendOptions&&s.extendOptions.name&&t.component(s.extendOptions.name,s),n.default.includes(i.toLowerCase())||t.component(i,s)}))}},f33a:function(t,e,i){},f38c:function(t,e,i){"use strict";i("b2bd")},f445:function(t,e,i){"use strict";var s=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var n=s(i("9b06"));e.default=n.default},f4dc:function(t,e,i){"use strict";i("12f0")},f53a:function(t,e,i){"use strict";i("b6ec")},f599:function(t,e,i){"use strict";var s=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var n=s(i("b7c2"));e.default=function(t,e,i,s){if(void 0===s&&(s=["","_fim"]),!t||t.length<1)return delete i.filters[e+s[0]],void delete i.filters[e+s[1]];if(i.filters[e+s[0]]=t[0],t.length>1&&(i.filters[e+s[1]]=t[1]),t.length>1&&t[1]!==t[0]){i.filters[e+s[1]]=t[1];var r=new Date(t[0])>new Date(t[1]);if(r){var a=i.filters[e+s[1]];i.filters[e+s[1]]=i.filters[e+s[0]],i.filters[e+s[0]]=a}i[e+"Range"]=(0,n.default)(i.filters[e+s[0]])+" a "+(0,n.default)(i.filters[e+s[1]])}else i[e+"Range"]=(0,n.default)(i.filters[e]);return i[e+"Range"]}},f823:function(t,e,i){},f9f5:function(t,e,i){},fae3:function(t,e,i){"use strict";i.r(e),i.d(e,"DataTableEmptyWrapper",(function(){return Ee})),i.d(e,"DataTablePaginator",(function(){return _n})),i.d(e,"DataTableHeader",(function(){return On})),i.d(e,"MainFilter",(function(){return Tn})),i.d(e,"Loader",(function(){return zn})),i.d(e,"FilePicker",(function(){return er})),i.d(e,"MultipleFilePicker",(function(){return ur})),i.d(e,"Tabs",(function(){return qr})),i.d(e,"DialogHeader",(function(){return Jr})),i.d(e,"DialogFooter",(function(){return ra})),i.d(e,"DefaultTextField",(function(){return Ta})),i.d(e,"RangeDatePicker",(function(){return _o})),i.d(e,"DatePicker",(function(){return Oo})),i.d(e,"ManagersList",(function(){return To})),i.d(e,"PromptUserToConfirm",(function(){return il})),i.d(e,"TableContextMenu",(function(){return Cl})),i.d(e,"ModalPromptUser",(function(){return ml})),i.d(e,"DefaultButton",(function(){return Gn})),i.d(e,"IconBox",(function(){return Il})),i.d(e,"CardContext",(function(){return El})),i.d(e,"Collapsible",(function(){return Hl})),i.d(e,"IdCaption",(function(){return Gl})),i.d(e,"AlertReload",(function(){return iu})),i.d(e,"ButtonToggle",(function(){return lu})),i.d(e,"DangerButton",(function(){return fu})),i.d(e,"ConfirmButton",(function(){return _u})),i.d(e,"ExportButton",(function(){return ku})),i.d(e,"ImportButton",(function(){return Au})),i.d(e,"ToggleButton",(function(){return Vu})),i.d(e,"RemoveButton",(function(){return Wu})),i.d(e,"MultiImportButton",(function(){return Gu})),i.d(e,"Card",(function(){return ic})),i.d(e,"CardContent",(function(){return lc})),i.d(e,"Checkbox",(function(){return fc})),i.d(e,"Chip",(function(){return _c})),i.d(e,"ProductLogo",(function(){return kc})),i.d(e,"OriginatorLogo",(function(){return Ac})),i.d(e,"ResetTableRowSelection",(function(){return Vc})),i.d(e,"MultipleSelectShortener",(function(){return Wc})),i.d(e,"SelectModalOptions",(function(){return fh})),i.d(e,"ChipInviteStatus",(function(){return Ch})),i.d(e,"Label",(function(){return pa})),i.d(e,"Logger",(function(){return Bh})),i.d(e,"LoggerItem",(function(){return Lh})),i.d(e,"Icon",(function(){return fn})),i.d(e,"CopyToClipboard",(function(){return zh})),i.d(e,"ProgressBar",(function(){return Yh})),i.d(e,"StepperHeader",(function(){return Qh})),i.d(e,"Switcher",(function(){return rd})),i.d(e,"TextField",(function(){return _a})),i.d(e,"Tooltip",(function(){return hd})),i.d(e,"Typography",(function(){return yd})),i.d(e,"Heading",(function(){return kd})),i.d(e,"Subtitle",(function(){return Md})),i.d(e,"BodyText",(function(){return Rd})),i.d(e,"Caption",(function(){return Yd})),i.d(e,"OverlayText",(function(){return Qd})),i.d(e,"Container",(function(){return rp})),i.d(e,"ContainerFooter",(function(){return hp})),i.d(e,"Line",(function(){return vp}));var s={};if(i.r(s),i.d(s,"linear",(function(){return et})),i.d(s,"easeInQuad",(function(){return it})),i.d(s,"easeOutQuad",(function(){return st})),i.d(s,"easeInOutQuad",(function(){return nt})),i.d(s,"easeInCubic",(function(){return rt})),i.d(s,"easeOutCubic",(function(){return at})),i.d(s,"easeInOutCubic",(function(){return ot})),i.d(s,"easeInQuart",(function(){return lt})),i.d(s,"easeOutQuart",(function(){return ut})),i.d(s,"easeInOutQuart",(function(){return ct})),i.d(s,"easeInQuint",(function(){return ht})),i.d(s,"easeOutQuint",(function(){return dt})),i.d(s,"easeInOutQuint",(function(){return pt})),"undefined"!==typeof window){var n=window.document.currentScript,r=n&&n.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);r&&(i.p=r[1])}var a=function(){var t=this,e=t._self._c;return e("div",{attrs:{align:"center"}},[e("v-icon",[t._v("mdi-magnify")]),e("p",[t._v(t._s(t.title))]),e("p",[t._v(t._s(t.subtitle))])],1)},o=[],l=(i("4804"),i("8bbf")),u=i.n(l);function c(t){return function(e,i){for(const s in i)Object.prototype.hasOwnProperty.call(e,s)||this.$delete(this.$data[t],s);for(const s in e)this.$set(this.$data[t],s,e[s])}}var h=u.a.extend({data:()=>({attrs$:{},listeners$:{}}),created(){this.$watch("$attrs",c("attrs$"),{immediate:!0}),this.$watch("$listeners",c("listeners$"),{immediate:!0})}});function d(t,e={}){if(d.installed)return;d.installed=!0,u.a!==t&&de("Multiple instances of Vue detected\nSee https://github.com/vuetifyjs/vuetify/issues/4068\n\nIf you're seeing \"$attrs is readonly\", it's caused by this");const i=e.components||{},s=e.directives||{};for(const n in s){const e=s[n];t.directive(n,e)}(function e(i){if(i){for(const s in i){const n=i[s];n&&!e(n.$_vuetify_subcomponents)&&t.component(s,n)}return!0}return!1})(i),t.$_vuetify_installed||(t.$_vuetify_installed=!0,t.mixin({beforeCreate(){const e=this.$options;e.vuetify?(e.vuetify.init(this,this.$ssrContext),this.$vuetify=t.observable(e.vuetify.framework)):this.$vuetify=e.parent&&e.parent.$vuetify||this},beforeMount(){this.$options.vuetify&&this.$el&&this.$el.hasAttribute("data-server-rendered")&&(this.$vuetify.isHydrating=!0,this.$vuetify.breakpoint.update(!0))},mounted(){this.$options.vuetify&&this.$vuetify.isHydrating&&(this.$vuetify.isHydrating=!1,this.$vuetify.breakpoint.update())}}))}i("95ed");var p={badge:"Badge",close:"Close",dataIterator:{noResultsText:"No matching records found",loadingText:"Loading items..."},dataTable:{itemsPerPageText:"Rows per page:",ariaLabel:{sortDescending:"Sorted descending.",sortAscending:"Sorted ascending.",sortNone:"Not sorted.",activateNone:"Activate to remove sorting.",activateDescending:"Activate to sort descending.",activateAscending:"Activate to sort ascending."},sortBy:"Sort by"},dataFooter:{itemsPerPageText:"Items per page:",itemsPerPageAll:"All",nextPage:"Next page",prevPage:"Previous page",firstPage:"First page",lastPage:"Last page",pageText:"{0}-{1} of {2}"},datePicker:{itemsSelected:"{0} selected",nextMonthAriaLabel:"Next month",nextYearAriaLabel:"Next year",prevMonthAriaLabel:"Previous month",prevYearAriaLabel:"Previous year"},noDataText:"No data available",carousel:{prev:"Previous visual",next:"Next visual",ariaLabel:{delimiter:"Carousel slide {0} of {1}"}},calendar:{moreEvents:"{0} more"},fileInput:{counter:"{0} files",counterSize:"{0} files ({1} in total)"},timePicker:{am:"AM",pm:"PM"},pagination:{ariaLabel:{wrapper:"Pagination Navigation",next:"Next page",previous:"Previous page",page:"Goto Page {0}",currentPage:"Current Page, Page {0}"}},rating:{ariaLabel:{icon:"Rating {0} of {1}"}}};const f={breakpoint:{mobileBreakpoint:1264,scrollBarWidth:16,thresholds:{xs:600,sm:960,md:1280,lg:1920}},icons:{iconfont:"mdi",values:{}},lang:{current:"en",locales:{en:p},t:void 0},rtl:!1,theme:{dark:!1,default:"light",disable:!1,options:{cspNonce:void 0,customProperties:void 0,minifyTheme:void 0,themeCache:void 0,variations:!0},themes:{light:{primary:"#1976D2",secondary:"#424242",accent:"#82B1FF",error:"#FF5252",info:"#2196F3",success:"#4CAF50",warning:"#FB8C00"},dark:{primary:"#2196F3",secondary:"#424242",accent:"#FF4081",error:"#FF5252",info:"#2196F3",success:"#4CAF50",warning:"#FB8C00"}}}};function m(t,e="div",i){return u.a.extend({name:i||t.replace(/__/g,"-"),functional:!0,props:{tag:{type:String,default:e}},render(e,{data:i,props:s,children:n}){return i.staticClass=`${t} ${i.staticClass||""}`.trim(),e(s.tag,i,n)}})}function g(t,e,i,s=!1){const n=r=>{i(r),t.removeEventListener(e,n,s)};t.addEventListener(e,n,s)}let v=!1;try{if("undefined"!==typeof window){const t=Object.defineProperty({},"passive",{get:()=>{v=!0}});window.addEventListener("testListener",t,t),window.removeEventListener("testListener",t,t)}}catch(bp){console.warn(bp)}function b(t,e,i,s){t.addEventListener(e,i,!!v&&s)}function y(t,e,i){const s=e.length-1;if(s<0)return void 0===t?i:t;for(let n=0;n<s;n++){if(null==t)return i;t=t[e[n]]}return null==t||void 0===t[e[s]]?i:t[e[s]]}function _(t,e){if(t===e)return!0;if(t instanceof Date&&e instanceof Date&&t.getTime()!==e.getTime())return!1;if(t!==Object(t)||e!==Object(e))return!1;const i=Object.keys(t);return i.length===Object.keys(e).length&&i.every(i=>_(t[i],e[i]))}function x(t,e,i){return null!=t&&e&&"string"===typeof e?void 0!==t[e]?t[e]:(e=e.replace(/\[(\w+)\]/g,".$1"),e=e.replace(/^\./,""),y(t,e.split("."),i)):i}function C(t,e,i){if(null==e)return void 0===t?i:t;if(t!==Object(t))return void 0===i?t:i;if("string"===typeof e)return x(t,e,i);if(Array.isArray(e))return y(t,e,i);if("function"!==typeof e)return i;const s=e(t,i);return"undefined"===typeof s?i:s}function S(t){return Array.from({length:t},(t,e)=>e)}function $(t){if(!t||t.nodeType!==Node.ELEMENT_NODE)return 0;const e=+window.getComputedStyle(t).getPropertyValue("z-index");return e||$(t.parentNode)}const w={"&":"&","<":"<",">":">"};function k(t){return t.replace(/[&<>]/g,t=>w[t]||t)}function O(t,e){const i={};for(let s=0;s<e.length;s++){const n=e[s];"undefined"!==typeof t[n]&&(i[n]=t[n])}return i}function P(t,e="px"){return null==t||""===t?void 0:isNaN(+t)?String(t):`${Number(t)}${e}`}function I(t){return(t||"").replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function L(t){return null!==t&&"object"===typeof t}const D=Object.freeze({enter:13,tab:9,delete:46,esc:27,space:32,up:38,down:40,left:37,right:39,end:35,home:36,del:46,backspace:8,insert:45,pageup:33,pagedown:34,shift:16});function A(t,e){const i=t.$vuetify.icons.component;if(e.startsWith("$")){const i="$vuetify.icons.values."+e.split("$").pop().split(".").pop(),s=x(t,i,e);if("string"!==typeof s)return s;e=s}return null==i?e:{component:i,props:{icon:e}}}function M(t){return Object.keys(t)}const T=/-(\w)/g,B=t=>t.replace(T,(t,e)=>e?e.toUpperCase():"");function E(t){return t.charAt(0).toUpperCase()+t.slice(1)}function F(t,e,i){const s=e[0],n=[];let r;for(let a=0;a<t.length;a++){const e=t[a],i=x(e,s,null);r!==i&&(r=i,n.push({name:null!==i&&void 0!==i?i:"",items:[]})),n[n.length-1].items.push(e)}return n}function V(t){return null!=t?Array.isArray(t)?t:[t]:[]}function j(t,e,i,s,n){if(null===e||!e.length)return t;const r=new Intl.Collator(s,{sensitivity:"accent",usage:"sort"});return t.sort((t,s)=>{for(let a=0;a<e.length;a++){const o=e[a];let l=x(t,o),u=x(s,o);if(i[a]&&([l,u]=[u,l]),n&&n[o]){const t=n[o](l,u);if(!t)continue;return t}if(null!==l||null!==u){if(l instanceof Date&&u instanceof Date)return l.getTime()-u.getTime();if([l,u]=[l,u].map(t=>(t||"").toString().toLocaleLowerCase()),l!==u)return isNaN(l)||isNaN(u)?r.compare(l,u):Number(l)-Number(u)}}return 0})}function R(t,e,i){return null!=t&&null!=e&&"boolean"!==typeof t&&-1!==t.toString().toLocaleLowerCase().indexOf(e.toLocaleLowerCase())}function z(t,e){return e?(e=e.toString().toLowerCase(),""===e.trim()?t:t.filter(t=>Object.keys(t).some(i=>R(x(t,i),e,t)))):t}function N(t,e,i){return t.$slots.hasOwnProperty(e)&&t.$scopedSlots.hasOwnProperty(e)&&t.$scopedSlots[e].name?i?"v-slot":"scoped":t.$slots.hasOwnProperty(e)?"normal":t.$scopedSlots.hasOwnProperty(e)?"scoped":void 0}function H(t,e){let i=!1;return(...s)=>{if(!i)return i=!0,setTimeout(()=>i=!1,e),t(...s)}}function W(t,e){return Object.keys(e).filter(e=>e.startsWith(t)).reduce((i,s)=>(i[s.replace(t,"")]=e[s],i),{})}function q(t,e="default",i,s=!1){return t.$scopedSlots.hasOwnProperty(e)?t.$scopedSlots[e](i instanceof Function?i():i):!t.$slots.hasOwnProperty(e)||i&&!s?void 0:t.$slots[e]}function U(t,e=0,i=1){return Math.max(e,Math.min(i,t))}function Y(t){return t?Object.keys(t).reduce((e,i)=>(e[B(i)]=t[i],e),{}):{}}function Z(t={},e={}){for(const i in e){const s=t[i],n=e[i];L(s)&&L(n)?t[i]=Z(s,n):t[i]=n}return t}function K(t,e){return Array(t).fill(e)}function G(t){if(t.composedPath)return t.composedPath();const e=[];let i=t.target;while(i){if(e.push(i),"HTML"===i.tagName)return e.push(document),e.push(window),e;i=i.parentElement}return e}class X{constructor(){this.framework={}}init(t,e){}}class J extends X{constructor(t,e){super();const i=Z({},f),{userPreset:s}=e,{preset:n={},...r}=s;null!=n.preset&&he("Global presets do not support the **preset** option, it can be safely omitted"),e.preset=Z(Z(i,n),r)}}J.property="presets";class Q extends X{constructor(){super(...arguments),this.bar=0,this.top=0,this.left=0,this.insetFooter=0,this.right=0,this.bottom=0,this.footer=0,this.application={bar:{},top:{},left:{},insetFooter:{},right:{},bottom:{},footer:{}}}register(t,e,i){this.application[e][t]=i,this.update(e)}unregister(t,e){null!=this.application[e][t]&&(delete this.application[e][t],this.update(e))}update(t){this[t]=Object.values(this.application[t]).reduce((t,e)=>t+e,0)}}Q.property="application";class tt extends X{constructor(t){super(),this.xs=!1,this.sm=!1,this.md=!1,this.lg=!1,this.xl=!1,this.xsOnly=!1,this.smOnly=!1,this.smAndDown=!1,this.smAndUp=!1,this.mdOnly=!1,this.mdAndDown=!1,this.mdAndUp=!1,this.lgOnly=!1,this.lgAndDown=!1,this.lgAndUp=!1,this.xlOnly=!1,this.name="xs",this.height=0,this.width=0,this.mobile=!0,this.resizeTimeout=0;const{mobileBreakpoint:e,scrollBarWidth:i,thresholds:s}=t[tt.property];this.mobileBreakpoint=e,this.scrollBarWidth=i,this.thresholds=s}init(){this.update(),"undefined"!==typeof window&&window.addEventListener("resize",this.onResize.bind(this),{passive:!0})}update(t=!1){const e=t?0:this.getClientHeight(),i=t?0:this.getClientWidth(),s=i<this.thresholds.xs,n=i<this.thresholds.sm&&!s,r=i<this.thresholds.md-this.scrollBarWidth&&!(n||s),a=i<this.thresholds.lg-this.scrollBarWidth&&!(r||n||s),o=i>=this.thresholds.lg-this.scrollBarWidth;switch(this.height=e,this.width=i,this.xs=s,this.sm=n,this.md=r,this.lg=a,this.xl=o,this.xsOnly=s,this.smOnly=n,this.smAndDown=(s||n)&&!(r||a||o),this.smAndUp=!s&&(n||r||a||o),this.mdOnly=r,this.mdAndDown=(s||n||r)&&!(a||o),this.mdAndUp=!(s||n)&&(r||a||o),this.lgOnly=a,this.lgAndDown=(s||n||r||a)&&!o,this.lgAndUp=!(s||n||r)&&(a||o),this.xlOnly=o,!0){case s:this.name="xs";break;case n:this.name="sm";break;case r:this.name="md";break;case a:this.name="lg";break;default:this.name="xl";break}if("number"===typeof this.mobileBreakpoint)return void(this.mobile=i<parseInt(this.mobileBreakpoint,10));const l={xs:0,sm:1,md:2,lg:3,xl:4},u=l[this.name],c=l[this.mobileBreakpoint];this.mobile=u<=c}onResize(){clearTimeout(this.resizeTimeout),this.resizeTimeout=window.setTimeout(this.update.bind(this),200)}getClientWidth(){return"undefined"===typeof document?0:Math.max(document.documentElement.clientWidth,window.innerWidth||0)}getClientHeight(){return"undefined"===typeof document?0:Math.max(document.documentElement.clientHeight,window.innerHeight||0)}}tt.property="breakpoint";const et=t=>t,it=t=>t**2,st=t=>t*(2-t),nt=t=>t<.5?2*t**2:(4-2*t)*t-1,rt=t=>t**3,at=t=>--t**3+1,ot=t=>t<.5?4*t**3:(t-1)*(2*t-2)*(2*t-2)+1,lt=t=>t**4,ut=t=>1- --t**4,ct=t=>t<.5?8*t*t*t*t:1-8*--t*t*t*t,ht=t=>t**5,dt=t=>1+--t**5,pt=t=>t<.5?16*t**5:1+16*--t**5;function ft(t){if("number"===typeof t)return t;let e=vt(t);if(!e)throw"string"===typeof t?new Error(`Target element "${t}" not found.`):new TypeError(`Target must be a Number/Selector/HTMLElement/VueComponent, received ${gt(t)} instead.`);let i=0;while(e)i+=e.offsetTop,e=e.offsetParent;return i}function mt(t){const e=vt(t);if(e)return e;throw"string"===typeof t?new Error(`Container element "${t}" not found.`):new TypeError(`Container must be a Selector/HTMLElement/VueComponent, received ${gt(t)} instead.`)}function gt(t){return null==t?t:t.constructor.name}function vt(t){return"string"===typeof t?document.querySelector(t):t&&t._isVue?t.$el:t instanceof HTMLElement?t:null}function bt(t,e={}){const i={container:document.scrollingElement||document.body||document.documentElement,duration:500,offset:0,easing:"easeInOutCubic",appOffset:!0,...e},n=mt(i.container);if(i.appOffset&&bt.framework.application){const t=n.classList.contains("v-navigation-drawer"),e=n.classList.contains("v-navigation-drawer--clipped"),{bar:s,top:r}=bt.framework.application;i.offset+=s,t&&!e||(i.offset+=r)}const r=performance.now();let a;a="number"===typeof t?ft(t)-i.offset:ft(t)-ft(n)-i.offset;const o=n.scrollTop;if(a===o)return Promise.resolve(a);const l="function"===typeof i.easing?i.easing:s[i.easing];if(!l)throw new TypeError(`Easing function "${i.easing}" not found.`);return new Promise(t=>requestAnimationFrame((function e(s){const u=s-r,c=Math.abs(i.duration?Math.min(u/i.duration,1):1);n.scrollTop=Math.floor(o+(a-o)*l(c));const h=n===document.body?document.documentElement.clientHeight:n.clientHeight,d=h+n.scrollTop>=n.scrollHeight;if(1===c||a>n.scrollTop&&d)return t(a);requestAnimationFrame(e)})))}bt.framework={},bt.init=()=>{};class yt extends X{constructor(){return super(),bt}}yt.property="goTo";const _t={complete:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z",cancel:"M12,2C17.53,2 22,6.47 22,12C22,17.53 17.53,22 12,22C6.47,22 2,17.53 2,12C2,6.47 6.47,2 12,2M15.59,7L12,10.59L8.41,7L7,8.41L10.59,12L7,15.59L8.41,17L12,13.41L15.59,17L17,15.59L13.41,12L17,8.41L15.59,7Z",close:"M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z",delete:"M12,2C17.53,2 22,6.47 22,12C22,17.53 17.53,22 12,22C6.47,22 2,17.53 2,12C2,6.47 6.47,2 12,2M15.59,7L12,10.59L8.41,7L7,8.41L10.59,12L7,15.59L8.41,17L12,13.41L15.59,17L17,15.59L13.41,12L17,8.41L15.59,7Z",clear:"M12,2C17.53,2 22,6.47 22,12C22,17.53 17.53,22 12,22C6.47,22 2,17.53 2,12C2,6.47 6.47,2 12,2M15.59,7L12,10.59L8.41,7L7,8.41L10.59,12L7,15.59L8.41,17L12,13.41L15.59,17L17,15.59L13.41,12L17,8.41L15.59,7Z",success:"M12 2C6.5 2 2 6.5 2 12S6.5 22 12 22 22 17.5 22 12 17.5 2 12 2M10 17L5 12L6.41 10.59L10 14.17L17.59 6.58L19 8L10 17Z",info:"M13,9H11V7H13M13,17H11V11H13M12,2C6.48,2 2,6.48 2,12C2,17.52 6.48,22 12,22C17.52,22 22,17.52 22,12C22,6.48 17.52,2 12,2ZM13,9H11V7H13M13,17H11V11H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z",warning:"M13,13H11V7H13M13,17H11V15H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z",error:"M12,2C17.53,2 22,6.47 22,12C22,17.53 17.53,22 12,22C6.47,22 2,17.53 2,12C2,6.47 6.47,2 12,2M15.59,7L12,10.59L8.41,7L7,8.41L10.59,12L7,15.59L8.41,17L12,13.41L15.59,17L17,15.59L13.41,12L17,8.41L15.59,7Z",prev:"M15.41,16.58L10.83,12L15.41,7.41L14,6L8,12L14,18L15.41,16.58Z",next:"M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z",checkboxOn:"M10,17L5,12L6.41,10.58L10,14.17L17.59,6.58L19,8M19,3H5C3.89,3 3,3.89 3,5V19C3,20.1 3.9,21 5,21H19C20.1,21 21,20.1 21,19V5C21,3.89 20.1,3 19,3Z",checkboxOff:"M19,3H5C3.89,3 3,3.89 3,5V19C3,20.1 3.9,21 5,21H19C20.1,21 21,20.1 21,19V5C21,3.89 20.1,3 19,3M19,5V19H5V5H19Z",checkboxIndeterminate:"M17,13H7V11H17M19,3H5C3.89,3 3,3.89 3,5V19C3,20.1 3.9,21 5,21H19C20.1,21 21,20.1 21,19V5C21,3.89 20.1,3 19,3Z",delimiter:"M12,2C6.48,2 2,6.48 2,12C2,17.52 6.48,22 12,22C17.52,22 22,17.52 22,12C22,6.48 17.52,2 12,2Z",sort:"M13,20H11V8L5.5,13.5L4.08,12.08L12,4.16L19.92,12.08L18.5,13.5L13,8V20Z",expand:"M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z",menu:"M3,6H21V8H3V6M3,11H21V13H3V11M3,16H21V18H3V16Z",subgroup:"M7,10L12,15L17,10H7Z",dropdown:"M7,10L12,15L17,10H7Z",radioOn:"M12,20C7.58,20 4,16.42 4,12C4,7.58 7.58,4 12,4C16.42,4 20,7.58 20,12C20,16.42 16.42,20 12,20M12,2C6.48,2 2,6.48 2,12C2,17.52 6.48,22 12,22C17.52,22 22,17.52 22,12C22,6.48 17.52,2 12,2M12,7C9.24,7 7,9.24 7,12C7,14.76 9.24,17 12,17C14.76,17 17,14.76 17,12C17,9.24 14.76,7 12,7Z",radioOff:"M12,20C7.58,20 4,16.42 4,12C4,7.58 7.58,4 12,4C16.42,4 20,7.58 20,12C20,16.42 16.42,20 12,20M12,2C6.48,2 2,6.48 2,12C2,17.52 6.48,22 12,22C17.52,22 22,17.52 22,12C22,6.48 17.52,2 12,2Z",edit:"M20.71,7.04C21.1,6.65 21.1,6 20.71,5.63L18.37,3.29C18,2.9 17.35,2.9 16.96,3.29L15.12,5.12L18.87,8.87M3,17.25V21H6.75L17.81,9.93L14.06,6.18L3,17.25Z",ratingEmpty:"M12,15.39L8.24,17.66L9.23,13.38L5.91,10.5L10.29,10.13L12,6.09L13.71,10.13L18.09,10.5L14.77,13.38L15.76,17.66M22,9.24L14.81,8.63L12,2L9.19,8.63L2,9.24L7.45,13.97L5.82,21L12,17.27L18.18,21L16.54,13.97L22,9.24Z",ratingFull:"M12,17.27L18.18,21L16.54,13.97L22,9.24L14.81,8.62L12,2L9.19,8.62L2,9.24L7.45,13.97L5.82,21L12,17.27Z",ratingHalf:"M12,15.4V6.1L13.71,10.13L18.09,10.5L14.77,13.39L15.76,17.67M22,9.24L14.81,8.63L12,2L9.19,8.63L2,9.24L7.45,13.97L5.82,21L12,17.27L18.18,21L16.54,13.97L22,9.24Z",loading:"M19,8L15,12H18C18,15.31 15.31,18 12,18C11,18 10.03,17.75 9.2,17.3L7.74,18.76C8.97,19.54 10.43,20 12,20C16.42,20 20,16.42 20,12H23M6,12C6,8.69 8.69,6 12,6C13,6 13.97,6.25 14.8,6.7L16.26,5.24C15.03,4.46 13.57,4 12,4C7.58,4 4,7.58 4,12H1L5,16L9,12",first:"M18.41,16.59L13.82,12L18.41,7.41L17,6L11,12L17,18L18.41,16.59M6,6H8V18H6V6Z",last:"M5.59,7.41L10.18,12L5.59,16.59L7,18L13,12L7,6L5.59,7.41M16,6H18V18H16V6Z",unfold:"M12,18.17L8.83,15L7.42,16.41L12,21L16.59,16.41L15.17,15M12,5.83L15.17,9L16.58,7.59L12,3L7.41,7.59L8.83,9L12,5.83Z",file:"M16.5,6V17.5C16.5,19.71 14.71,21.5 12.5,21.5C10.29,21.5 8.5,19.71 8.5,17.5V5C8.5,3.62 9.62,2.5 11,2.5C12.38,2.5 13.5,3.62 13.5,5V15.5C13.5,16.05 13.05,16.5 12.5,16.5C11.95,16.5 11.5,16.05 11.5,15.5V6H10V15.5C10,16.88 11.12,18 12.5,18C13.88,18 15,16.88 15,15.5V5C15,2.79 13.21,1 11,1C8.79,1 7,2.79 7,5V17.5C7,20.54 9.46,23 12.5,23C15.54,23 18,20.54 18,17.5V6H16.5Z",plus:"M19,13H13V19H11V13H5V11H11V5H13V11H19V13Z",minus:"M19,13H5V11H19V13Z"};var xt=_t;const Ct={complete:"check",cancel:"cancel",close:"close",delete:"cancel",clear:"clear",success:"check_circle",info:"info",warning:"priority_high",error:"warning",prev:"chevron_left",next:"chevron_right",checkboxOn:"check_box",checkboxOff:"check_box_outline_blank",checkboxIndeterminate:"indeterminate_check_box",delimiter:"fiber_manual_record",sort:"arrow_upward",expand:"keyboard_arrow_down",menu:"menu",subgroup:"arrow_drop_down",dropdown:"arrow_drop_down",radioOn:"radio_button_checked",radioOff:"radio_button_unchecked",edit:"edit",ratingEmpty:"star_border",ratingFull:"star",ratingHalf:"star_half",loading:"cached",first:"first_page",last:"last_page",unfold:"unfold_more",file:"attach_file",plus:"add",minus:"remove"};var St=Ct;const $t={complete:"mdi-check",cancel:"mdi-close-circle",close:"mdi-close",delete:"mdi-close-circle",clear:"mdi-close",success:"mdi-check-circle",info:"mdi-information",warning:"mdi-exclamation",error:"mdi-alert",prev:"mdi-chevron-left",next:"mdi-chevron-right",checkboxOn:"mdi-checkbox-marked",checkboxOff:"mdi-checkbox-blank-outline",checkboxIndeterminate:"mdi-minus-box",delimiter:"mdi-circle",sort:"mdi-arrow-up",expand:"mdi-chevron-down",menu:"mdi-menu",subgroup:"mdi-menu-down",dropdown:"mdi-menu-down",radioOn:"mdi-radiobox-marked",radioOff:"mdi-radiobox-blank",edit:"mdi-pencil",ratingEmpty:"mdi-star-outline",ratingFull:"mdi-star",ratingHalf:"mdi-star-half-full",loading:"mdi-cached",first:"mdi-page-first",last:"mdi-page-last",unfold:"mdi-unfold-more-horizontal",file:"mdi-paperclip",plus:"mdi-plus",minus:"mdi-minus"};var wt=$t;const kt={complete:"fas fa-check",cancel:"fas fa-times-circle",close:"fas fa-times",delete:"fas fa-times-circle",clear:"fas fa-times-circle",success:"fas fa-check-circle",info:"fas fa-info-circle",warning:"fas fa-exclamation",error:"fas fa-exclamation-triangle",prev:"fas fa-chevron-left",next:"fas fa-chevron-right",checkboxOn:"fas fa-check-square",checkboxOff:"far fa-square",checkboxIndeterminate:"fas fa-minus-square",delimiter:"fas fa-circle",sort:"fas fa-sort-up",expand:"fas fa-chevron-down",menu:"fas fa-bars",subgroup:"fas fa-caret-down",dropdown:"fas fa-caret-down",radioOn:"far fa-dot-circle",radioOff:"far fa-circle",edit:"fas fa-edit",ratingEmpty:"far fa-star",ratingFull:"fas fa-star",ratingHalf:"fas fa-star-half",loading:"fas fa-sync",first:"fas fa-step-backward",last:"fas fa-step-forward",unfold:"fas fa-arrows-alt-v",file:"fas fa-paperclip",plus:"fas fa-plus",minus:"fas fa-minus"};var Ot=kt;const Pt={complete:"fa fa-check",cancel:"fa fa-times-circle",close:"fa fa-times",delete:"fa fa-times-circle",clear:"fa fa-times-circle",success:"fa fa-check-circle",info:"fa fa-info-circle",warning:"fa fa-exclamation",error:"fa fa-exclamation-triangle",prev:"fa fa-chevron-left",next:"fa fa-chevron-right",checkboxOn:"fa fa-check-square",checkboxOff:"fa fa-square-o",checkboxIndeterminate:"fa fa-minus-square",delimiter:"fa fa-circle",sort:"fa fa-sort-up",expand:"fa fa-chevron-down",menu:"fa fa-bars",subgroup:"fa fa-caret-down",dropdown:"fa fa-caret-down",radioOn:"fa fa-dot-circle-o",radioOff:"fa fa-circle-o",edit:"fa fa-pencil",ratingEmpty:"fa fa-star-o",ratingFull:"fa fa-star",ratingHalf:"fa fa-star-half-o",loading:"fa fa-refresh",first:"fa fa-step-backward",last:"fa fa-step-forward",unfold:"fa fa-angle-double-down",file:"fa fa-paperclip",plus:"fa fa-plus",minus:"fa fa-minus"};var It=Pt;function Lt(t,e){const i={};for(const s in e)i[s]={component:t,props:{icon:e[s].split(" fa-")}};return i}var Dt=Lt("font-awesome-icon",Ot),At=Object.freeze({mdiSvg:xt,md:St,mdi:wt,fa:Ot,fa4:It,faSvg:Dt});class Mt extends X{constructor(t){super();const{iconfont:e,values:i,component:s}=t[Mt.property];this.component=s,this.iconfont=e,this.values=Z(At[e],i)}}Mt.property="icons";const Tt="$vuetify.",Bt=Symbol("Lang fallback");function Et(t,e,i=!1,s){const n=e.replace(Tt,"");let r=x(t,n,Bt);return r===Bt&&(i?(de(`Translation key "${n}" not found in fallback`),r=e):(he(`Translation key "${n}" not found, falling back to default`),r=Et(s,e,!0,s))),r}class Ft extends X{constructor(t){super(),this.defaultLocale="en";const{current:e,locales:i,t:s}=t[Ft.property];this.current=e,this.locales=i,this.translator=s||this.defaultTranslator}currentLocale(t){const e=this.locales[this.current],i=this.locales[this.defaultLocale];return Et(e,t,!1,i)}t(t,...e){return t.startsWith(Tt)?this.translator(t,...e):this.replace(t,e)}defaultTranslator(t,...e){return this.replace(this.currentLocale(t),e)}replace(t,e){return t.replace(/\{(\d+)\}/g,(t,i)=>String(e[+i]))}}Ft.property="lang";const Vt=[[3.2406,-1.5372,-.4986],[-.9689,1.8758,.0415],[.0557,-.204,1.057]],jt=t=>t<=.0031308?12.92*t:1.055*t**(1/2.4)-.055,Rt=[[.4124,.3576,.1805],[.2126,.7152,.0722],[.0193,.1192,.9505]],zt=t=>t<=.04045?t/12.92:((t+.055)/1.055)**2.4;function Nt(t){const e=Array(3),i=jt,s=Vt;for(let n=0;n<3;++n)e[n]=Math.round(255*U(i(s[n][0]*t[0]+s[n][1]*t[1]+s[n][2]*t[2])));return(e[0]<<16)+(e[1]<<8)+(e[2]<<0)}function Ht(t){const e=[0,0,0],i=zt,s=Rt,n=i((t>>16&255)/255),r=i((t>>8&255)/255),a=i((t>>0&255)/255);for(let o=0;o<3;++o)e[o]=s[o][0]*n+s[o][1]*r+s[o][2]*a;return e}function Wt(t){return!!t&&!!t.match(/^(#|var\(--|(rgb|hsl)a?\()/)}function qt(t){let e;if("number"===typeof t)e=t;else{if("string"!==typeof t)throw new TypeError(`Colors can only be numbers or strings, recieved ${null==t?t:t.constructor.name} instead`);{let i="#"===t[0]?t.substring(1):t;3===i.length&&(i=i.split("").map(t=>t+t).join("")),6!==i.length&&he(`'${t}' is not a valid rgb color`),e=parseInt(i,16)}}return e<0?(he(`Colors cannot be negative: '${t}'`),e=0):(e>16777215||isNaN(e))&&(he(`'${t}' is not a valid rgb color`),e=16777215),e}function Ut(t){let e=t.toString(16);return e.length<6&&(e="0".repeat(6-e.length)+e),"#"+e}function Yt(t){return Ut(qt(t))}const Zt=.20689655172413793,Kt=t=>t>Zt**3?Math.cbrt(t):t/(3*Zt**2)+4/29,Gt=t=>t>Zt?t**3:3*Zt**2*(t-4/29);function Xt(t){const e=Kt,i=e(t[1]);return[116*i-16,500*(e(t[0]/.95047)-i),200*(i-e(t[2]/1.08883))]}function Jt(t){const e=Gt,i=(t[0]+16)/116;return[.95047*e(i+t[1]/500),e(i),1.08883*e(i-t[2]/200)]}function Qt(t,e=!1,i=!0){const{anchor:s,...n}=t,r=Object.keys(n),a={};for(let o=0;o<r.length;++o){const s=r[o],n=t[s];null!=n&&(i?e?("base"===s||s.startsWith("lighten")||s.startsWith("darken"))&&(a[s]=Yt(n)):a[s]="object"===typeof n?Qt(n,!0,i):re(s,qt(n)):a[s]={base:Ut(qt(n))})}return e||(a.anchor=s||a.base||a.primary.base),a}const te=(t,e)=>`\n.v-application .${t} {\n background-color: ${e} !important;\n border-color: ${e} !important;\n}\n.v-application .${t}--text {\n color: ${e} !important;\n caret-color: ${e} !important;\n}`,ee=(t,e,i)=>{const[s,n]=e.split(/(\d)/,2);return`\n.v-application .${t}.${s}-${n} {\n background-color: ${i} !important;\n border-color: ${i} !important;\n}\n.v-application .${t}--text.text--${s}-${n} {\n color: ${i} !important;\n caret-color: ${i} !important;\n}`},ie=(t,e="base")=>`--v-${t}-${e}`,se=(t,e="base")=>`var(${ie(t,e)})`;function ne(t,e=!1){const{anchor:i,...s}=t,n=Object.keys(s);if(!n.length)return"";let r="",a="";const o=e?se("anchor"):i;a+=`.v-application a { color: ${o}; }`,e&&(r+=` ${ie("anchor")}: ${i};\n`);for(let l=0;l<n.length;++l){const i=n[l],s=t[i];a+=te(i,e?se(i):s.base),e&&(r+=` ${ie(i)}: ${s.base};\n`);const o=M(s);for(let t=0;t<o.length;++t){const n=o[t],l=s[n];"base"!==n&&(a+=ee(i,n,e?se(i,n):l),e&&(r+=` ${ie(i,n)}: ${l};\n`))}}return e&&(r=`:root {\n${r}}\n\n`),r+a}function re(t,e){const i={base:Ut(e)};for(let s=5;s>0;--s)i["lighten"+s]=Ut(ae(e,s));for(let s=1;s<=4;++s)i["darken"+s]=Ut(oe(e,s));return i}function ae(t,e){const i=Xt(Ht(t));return i[0]=i[0]+10*e,Nt(Jt(i))}function oe(t,e){const i=Xt(Ht(t));return i[0]=i[0]-10*e,Nt(Jt(i))}class le extends X{constructor(t){super(),this.disabled=!1,this.isDark=null,this.unwatch=null,this.vueMeta=null;const{dark:e,disable:i,options:s,themes:n}=t[le.property];this.dark=Boolean(e),this.defaults=this.themes=n,this.options=s,i?this.disabled=!0:this.themes={dark:this.fillVariant(n.dark,!0),light:this.fillVariant(n.light,!1)}}set css(t){this.vueMeta?this.isVueMeta23&&this.applyVueMeta23():this.checkOrCreateStyleElement()&&(this.styleEl.innerHTML=t)}set dark(t){const e=this.isDark;this.isDark=t,null!=e&&this.applyTheme()}get dark(){return Boolean(this.isDark)}applyTheme(){if(this.disabled)return this.clearCss();this.css=this.generatedStyles}clearCss(){this.css=""}init(t,e){this.disabled||(t.$meta?this.initVueMeta(t):e&&this.initSSR(e),this.initTheme(t))}setTheme(t,e){this.themes[t]=Object.assign(this.themes[t],e),this.applyTheme()}resetThemes(){this.themes.light=Object.assign({},this.defaults.light),this.themes.dark=Object.assign({},this.defaults.dark),this.applyTheme()}checkOrCreateStyleElement(){return this.styleEl=document.getElementById("vuetify-theme-stylesheet"),!!this.styleEl||(this.genStyleElement(),Boolean(this.styleEl))}fillVariant(t={},e){const i=this.themes[e?"dark":"light"];return Object.assign({},i,t)}genStyleElement(){"undefined"!==typeof document&&(this.styleEl=document.createElement("style"),this.styleEl.type="text/css",this.styleEl.id="vuetify-theme-stylesheet",this.options.cspNonce&&this.styleEl.setAttribute("nonce",this.options.cspNonce),document.head.appendChild(this.styleEl))}initVueMeta(t){if(this.vueMeta=t.$meta(),this.isVueMeta23)return void t.$nextTick(()=>{this.applyVueMeta23()});const e="function"===typeof this.vueMeta.getOptions?this.vueMeta.getOptions().keyName:"metaInfo",i=t.$options[e]||{};t.$options[e]=()=>{i.style=i.style||[];const t=i.style.find(t=>"vuetify-theme-stylesheet"===t.id);return t?t.cssText=this.generatedStyles:i.style.push({cssText:this.generatedStyles,type:"text/css",id:"vuetify-theme-stylesheet",nonce:(this.options||{}).cspNonce}),i}}applyVueMeta23(){const{set:t}=this.vueMeta.addApp("vuetify");t({style:[{cssText:this.generatedStyles,type:"text/css",id:"vuetify-theme-stylesheet",nonce:this.options.cspNonce}]})}initSSR(t){const e=this.options.cspNonce?` nonce="${this.options.cspNonce}"`:"";t.head=t.head||"",t.head+=`<style type="text/css" id="vuetify-theme-stylesheet"${e}>${this.generatedStyles}</style>`}initTheme(t){"undefined"!==typeof document&&(this.unwatch&&(this.unwatch(),this.unwatch=null),t.$once("hook:created",()=>{const e=u.a.observable({themes:this.themes});this.unwatch=t.$watch(()=>e.themes,()=>this.applyTheme(),{deep:!0})}),this.applyTheme())}get currentTheme(){const t=this.dark?"dark":"light";return this.themes[t]}get generatedStyles(){const t=this.parsedTheme,e=this.options||{};let i;return null!=e.themeCache&&(i=e.themeCache.get(t),null!=i)||(i=ne(t,e.customProperties),null!=e.minifyTheme&&(i=e.minifyTheme(i)),null!=e.themeCache&&e.themeCache.set(t,i)),i}get parsedTheme(){return Qt(this.currentTheme||{},void 0,y(this.options,["variations"],!0))}get isVueMeta23(){return"function"===typeof this.vueMeta.addApp}}le.property="theme";class ue{constructor(t={}){this.framework={isHydrating:!1},this.installed=[],this.preset={},this.userPreset={},this.userPreset=t,this.use(J),this.use(Q),this.use(tt),this.use(yt),this.use(Mt),this.use(Ft),this.use(le)}init(t,e){this.installed.forEach(i=>{const s=this.framework[i];s.framework=this.framework,s.init(t,e)}),this.framework.rtl=Boolean(this.preset.rtl)}use(t){const e=t.property;this.installed.includes(e)||(this.framework[e]=new t(this.preset,this),this.installed.push(e))}}function ce(t,e,i){if(!ue.config.silent){if(i&&(e={_isVue:!0,$parent:i,$options:e}),e){if(e.$_alreadyWarned=e.$_alreadyWarned||[],e.$_alreadyWarned.includes(t))return;e.$_alreadyWarned.push(t)}return"[Vuetify] "+t+(e?ye(e):"")}}function he(t,e,i){const s=ce(t,e,i);null!=s&&console.warn(s)}function de(t,e,i){const s=ce(t,e,i);null!=s&&console.error(s)}function pe(t,e,i,s){he(`[UPGRADE] '${t}' is deprecated, use '${e}' instead.`,i,s)}function fe(t,e,i,s){de(`[BREAKING] '${t}' has been removed, use '${e}' instead. For more information, see the upgrade guide https://github.com/vuetifyjs/vuetify/releases/tag/v2.0.0#user-content-upgrade-guide`,i,s)}function me(t,e,i){he(`[REMOVED] '${t}' has been removed. You can safely omit it.`,e,i)}ue.install=d,ue.installed=!1,ue.version="2.6.9",ue.config={silent:!1};const ge=/(?:^|[-_])(\w)/g,ve=t=>t.replace(ge,t=>t.toUpperCase()).replace(/[-_]/g,"");function be(t,e){if(t.$root===t)return"<Root>";const i="function"===typeof t&&null!=t.cid?t.options:t._isVue?t.$options||t.constructor.options:t||{};let s=i.name||i._componentTag;const n=i.__file;if(!s&&n){const t=n.match(/([^/\\]+)\.vue$/);s=t&&t[1]}return(s?`<${ve(s)}>`:"<Anonymous>")+(n&&!1!==e?" at "+n:"")}function ye(t){if(t._isVue&&t.$parent){const e=[];let i=0;while(t){if(e.length>0){const s=e[e.length-1];if(s.constructor===t.constructor){i++,t=t.$parent;continue}i>0&&(e[e.length-1]=[s,i],i=0)}e.push(t),t=t.$parent}return"\n\nfound in\n\n"+e.map((t,e)=>`${0===e?"---\x3e ":" ".repeat(5+2*e)}${Array.isArray(t)?`${be(t[0])}... (${t[1]} recursive calls)`:be(t)}`).join("\n")}return`\n\n(found in ${be(t)})`}var _e=u.a.extend({name:"colorable",props:{color:String},methods:{setBackgroundColor(t,e={}){return"string"===typeof e.style?(de("style must be an object",this),e):"string"===typeof e.class?(de("class must be an object",this),e):(Wt(t)?e.style={...e.style,"background-color":""+t,"border-color":""+t}:t&&(e.class={...e.class,[t]:!0}),e)},setTextColor(t,e={}){if("string"===typeof e.style)return de("style must be an object",this),e;if("string"===typeof e.class)return de("class must be an object",this),e;if(Wt(t))e.style={...e.style,color:""+t,"caret-color":""+t};else if(t){const[i,s]=t.toString().trim().split(" ",2);e.class={...e.class,[i+"--text"]:!0},s&&(e.class["text--"+s]=!0)}return e}}}),xe=u.a.extend({name:"sizeable",props:{large:Boolean,small:Boolean,xLarge:Boolean,xSmall:Boolean},computed:{medium(){return Boolean(!this.xSmall&&!this.small&&!this.large&&!this.xLarge)},sizeableClasses(){return{"v-size--x-small":this.xSmall,"v-size--small":this.small,"v-size--default":this.medium,"v-size--large":this.large,"v-size--x-large":this.xLarge}}}});const Ce=u.a.extend().extend({name:"themeable",provide(){return{theme:this.themeableProvide}},inject:{theme:{default:{isDark:!1}}},props:{dark:{type:Boolean,default:null},light:{type:Boolean,default:null}},data(){return{themeableProvide:{isDark:!1}}},computed:{appIsDark(){return this.$vuetify.theme.dark||!1},isDark(){return!0===this.dark||!0!==this.light&&this.theme.isDark},themeClasses(){return{"theme--dark":this.isDark,"theme--light":!this.isDark}},rootIsDark(){return!0===this.dark||!0!==this.light&&this.appIsDark},rootThemeClasses(){return{"theme--dark":this.rootIsDark,"theme--light":!this.rootIsDark}}},watch:{isDark:{handler(t,e){t!==e&&(this.themeableProvide.isDark=this.isDark)},immediate:!0}}});var Se,$e=Ce;function we(t){const e={...t.props,...t.injections},i=Ce.options.computed.isDark.call(e);return Ce.options.computed.themeClasses.call({isDark:i})}function ke(...t){return u.a.extend({mixins:t})}function Oe(t){return["fas","far","fal","fab","fad","fak"].some(e=>t.includes(e))}function Pe(t){return/^[mzlhvcsqta]\s*[-+.0-9][^mlhvzcsqta]+/i.test(t)&&/[\dz]$/i.test(t)&&t.length>4}(function(t){t["xSmall"]="12px",t["small"]="16px",t["default"]="24px",t["medium"]="28px",t["large"]="36px",t["xLarge"]="40px"})(Se||(Se={}));const Ie=ke(h,_e,xe,$e).extend({name:"v-icon",props:{dense:Boolean,disabled:Boolean,left:Boolean,right:Boolean,size:[Number,String],tag:{type:String,required:!1,default:"i"}},computed:{medium(){return!1},hasClickListener(){return Boolean(this.listeners$.click||this.listeners$["!click"])}},methods:{getIcon(){let t="";return this.$slots.default&&(t=this.$slots.default[0].text.trim()),A(this,t)},getSize(){const t={xSmall:this.xSmall,small:this.small,medium:this.medium,large:this.large,xLarge:this.xLarge},e=M(t).find(e=>t[e]);return e&&Se[e]||P(this.size)},getDefaultData(){return{staticClass:"v-icon notranslate",class:{"v-icon--disabled":this.disabled,"v-icon--left":this.left,"v-icon--link":this.hasClickListener,"v-icon--right":this.right,"v-icon--dense":this.dense},attrs:{"aria-hidden":!this.hasClickListener,disabled:this.hasClickListener&&this.disabled,type:this.hasClickListener?"button":void 0,...this.attrs$},on:this.listeners$}},getSvgWrapperData(){const t=this.getSize(),e={...this.getDefaultData(),style:t?{fontSize:t,height:t,width:t}:void 0};return this.applyColors(e),e},applyColors(t){t.class={...t.class,...this.themeClasses},this.setTextColor(this.color,t)},renderFontIcon(t,e){const i=[],s=this.getDefaultData();let n="material-icons";const r=t.indexOf("-"),a=r<=-1;a?i.push(t):(n=t.slice(0,r),Oe(n)&&(n="")),s.class[n]=!0,s.class[t]=!a;const o=this.getSize();return o&&(s.style={fontSize:o}),this.applyColors(s),e(this.hasClickListener?"button":this.tag,s,i)},renderSvgIcon(t,e){const i={class:"v-icon__svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",role:"img","aria-hidden":!0}},s=this.getSize();return s&&(i.style={fontSize:s,height:s,width:s}),e(this.hasClickListener?"button":"span",this.getSvgWrapperData(),[e("svg",i,[e("path",{attrs:{d:t}})])])},renderSvgIconComponent(t,e){const i={class:{"v-icon__component":!0}},s=this.getSize();s&&(i.style={fontSize:s,height:s,width:s}),this.applyColors(i);const n=t.component;return i.props=t.props,i.nativeOn=i.on,e(this.hasClickListener?"button":"span",this.getSvgWrapperData(),[e(n,i)])}},render(t){const e=this.getIcon();return"string"===typeof e?Pe(e)?this.renderSvgIcon(e,t):this.renderFontIcon(e,t):this.renderSvgIconComponent(e,t)}});var Le=u.a.extend({name:"v-icon",$_wrapperFor:Ie,functional:!0,render(t,{data:e,children:i}){let s="";return e.domProps&&(s=e.domProps.textContent||e.domProps.innerHTML||s,delete e.domProps.textContent,delete e.domProps.innerHTML),t(Ie,e,s?[s]:i)}}),De={name:"DataTableEmptyWrapper",props:{title:{type:String,default:"Nenhuma informação para exibir aqui"},subtitle:{type:String,default:"Tente filtrar novamente sua pesquisa ou faça uma importação para ver mais resultados"}},components:{VIcon:Le}},Ae=De;i("cb03");function Me(t,e,i,s,n,r,a,o){var l,u="function"===typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=i,u._compiled=!0),s&&(u.functional=!0),r&&(u._scopeId="data-v-"+r),a?(l=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),n&&n.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},u._ssrRegister=l):n&&(l=o?function(){n.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:n),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(t,e){return l.call(e),c(t,e)}}else{var h=u.beforeCreate;u.beforeCreate=h?[].concat(h,l):[l]}return{exports:t,options:u}}var Te=Me(Ae,a,o,!1,null,"a4b1af68",null),Be=Te.exports,Ee=Be,Fe=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("section",{staticClass:"v-data-table-custom-footer",class:{"hidden-perpageoptions":t.hidePerPageOptions}},[t.hidePerPageOptions?t._e():e("div",[e("v-select",{attrs:{outlined:"",disabled:!t.totalPages||t.totalPages<1,items:t.perPageBuiltItems,dense:""},model:{value:t.selectedLimit,callback:function(e){t.selectedLimit=e},expression:"selectedLimit"}})],1),e("ul",{class:{"farm-paginator":!0,"farm-paginator--disabled":t.disabled}},[e("li",[e("button",{attrs:{disabled:1===t.currentPage||t.disabled},on:{click:t.previousPage}},[e("farm-icon",{attrs:{color:"gray",size:"sm"}},[t._v("chevron-left")])],1)]),t._l(t.itemsInPagination,(function(i,s){return e("li",{key:"button_"+s,class:{"farm-paginator__item--selected":i===t.currentPage&&!t.disabled}},[e("button",{attrs:{disabled:t.currentPage===i||"..."===i||t.disabled},on:{click:function(e){t.currentPage=i}}},[t._v(" "+t._s(i)+" ")])])})),e("li",[e("button",{attrs:{disabled:t.currentPage===t.totalPages||t.disabled},on:{click:t.nextPage}},[e("farm-icon",{attrs:{color:"gray",size:"sm"}},[t._v("chevron-right")])],1)])],2)])},Ve=[];i("4ff9"),i("68dd"),i("8adc");const je={styleList:/;(?![^(]*\))/g,styleProp:/:(.*)/};function Re(t){const e={};for(const i of t.split(je.styleList)){let[t,s]=i.split(je.styleProp);t=t.trim(),t&&("string"===typeof s&&(s=s.trim()),e[B(t)]=s)}return e}function ze(){const t={};let e,i=arguments.length;while(i--)for(e of Object.keys(arguments[i]))switch(e){case"class":case"directives":arguments[i][e]&&(t[e]=He(t[e],arguments[i][e]));break;case"style":arguments[i][e]&&(t[e]=Ne(t[e],arguments[i][e]));break;case"staticClass":if(!arguments[i][e])break;void 0===t[e]&&(t[e]=""),t[e]&&(t[e]+=" "),t[e]+=arguments[i][e].trim();break;case"on":case"nativeOn":arguments[i][e]&&(t[e]=We(t[e],arguments[i][e]));break;case"attrs":case"props":case"domProps":case"scopedSlots":case"staticStyle":case"hook":case"transition":if(!arguments[i][e])break;t[e]||(t[e]={}),t[e]={...arguments[i][e],...t[e]};break;default:t[e]||(t[e]=arguments[i][e])}return t}function Ne(t,e){return t?e?(t=V("string"===typeof t?Re(t):t),t.concat("string"===typeof e?Re(e):e)):t:e}function He(t,e){return e?t&&t?V(t).concat(e):e:t}function We(...t){if(!t[0])return t[1];if(!t[1])return t[0];const e={};for(let i=2;i--;){const s=t[i];for(const t in s)s[t]&&(e[t]?e[t]=[].concat(s[t],e[t]):e[t]=s[t])}return e}function qe(t=[],...e){return Array().concat(t,...e)}function Ue(t,e="top center 0",i){return{name:t,functional:!0,props:{group:{type:Boolean,default:!1},hideOnLeave:{type:Boolean,default:!1},leaveAbsolute:{type:Boolean,default:!1},mode:{type:String,default:i},origin:{type:String,default:e}},render(e,i){const s="transition"+(i.props.group?"-group":""),n={props:{name:t,mode:i.props.mode},on:{beforeEnter(t){t.style.transformOrigin=i.props.origin,t.style.webkitTransformOrigin=i.props.origin}}};return i.props.leaveAbsolute&&(n.on.leave=qe(n.on.leave,t=>{const{offsetTop:e,offsetLeft:i,offsetWidth:s,offsetHeight:n}=t;t._transitionInitialStyles={position:t.style.position,top:t.style.top,left:t.style.left,width:t.style.width,height:t.style.height},t.style.position="absolute",t.style.top=e+"px",t.style.left=i+"px",t.style.width=s+"px",t.style.height=n+"px"}),n.on.afterLeave=qe(n.on.afterLeave,t=>{if(t&&t._transitionInitialStyles){const{position:e,top:i,left:s,width:n,height:r}=t._transitionInitialStyles;delete t._transitionInitialStyles,t.style.position=e||"",t.style.top=i||"",t.style.left=s||"",t.style.width=n||"",t.style.height=r||""}})),i.props.hideOnLeave&&(n.on.leave=qe(n.on.leave,t=>{t.style.setProperty("display","none","important")})),e(s,ze(i.data,n),i.children)}}}function Ye(t,e,i="in-out"){return{name:t,functional:!0,props:{mode:{type:String,default:i}},render(i,s){return i("transition",ze(s.data,{props:{name:t},on:e}),s.children)}}}var Ze=function(t="",e=!1){const i=e?"width":"height",s="offset"+E(i);return{beforeEnter(t){t._parent=t.parentNode,t._initialStyle={transition:t.style.transition,overflow:t.style.overflow,[i]:t.style[i]}},enter(e){const n=e._initialStyle;e.style.setProperty("transition","none","important"),e.style.overflow="hidden";const r=e[s]+"px";e.style[i]="0",e.offsetHeight,e.style.transition=n.transition,t&&e._parent&&e._parent.classList.add(t),requestAnimationFrame(()=>{e.style[i]=r})},afterEnter:r,enterCancelled:r,leave(t){t._initialStyle={transition:"",overflow:t.style.overflow,[i]:t.style[i]},t.style.overflow="hidden",t.style[i]=t[s]+"px",t.offsetHeight,requestAnimationFrame(()=>t.style[i]="0")},afterLeave:n,leaveCancelled:n};function n(e){t&&e._parent&&e._parent.classList.remove(t),r(e)}function r(t){const e=t._initialStyle[i];t.style.overflow=t._initialStyle.overflow,null!=e&&(t.style[i]=e),delete t._initialStyle}};Ue("carousel-transition"),Ue("carousel-reverse-transition"),Ue("tab-transition"),Ue("tab-reverse-transition"),Ue("menu-transition"),Ue("fab-transition","center center","out-in"),Ue("dialog-transition"),Ue("dialog-bottom-transition"),Ue("dialog-top-transition");const Ke=Ue("fade-transition"),Ge=(Ue("scale-transition"),Ue("scroll-x-transition"),Ue("scroll-x-reverse-transition"),Ue("scroll-y-transition"),Ue("scroll-y-reverse-transition"),Ue("slide-x-transition")),Xe=(Ue("slide-x-reverse-transition"),Ue("slide-y-transition"),Ue("slide-y-reverse-transition"),Ye("expand-transition",Ze())),Je=Ye("expand-x-transition",Ze("",!0));var Qe=Le;function ti(t,e){return()=>he(`The ${t} component must be used inside a ${e}`)}function ei(t,e,i){const s=e&&i?{register:ti(e,i),unregister:ti(e,i)}:null;return u.a.extend({name:"registrable-inject",inject:{[t]:{default:s}}})}function ii(t,e=!1){return u.a.extend({name:"registrable-provide",provide(){return{[t]:e?this:{register:this.register,unregister:this.unregister}}}})}function si(t,e,i){return ei(t,e,i).extend({name:"groupable",props:{activeClass:{type:String,default(){if(this[t])return this[t].activeClass}},disabled:Boolean},data(){return{isActive:!1}},computed:{groupClasses(){return this.activeClass?{[this.activeClass]:this.isActive}:{}}},created(){this[t]&&this[t].register(this)},beforeDestroy(){this[t]&&this[t].unregister(this)},methods:{toggle(){this.$emit("change")}}})}si("itemGroup");function ni(t="value",e="input"){return u.a.extend({name:"toggleable",model:{prop:t,event:e},props:{[t]:{required:!1}},data(){return{isActive:!!this[t]}},watch:{[t](t){this.isActive=!!t},isActive(i){!!i!==this[t]&&this.$emit(e,i)}}})}const ri=ni();var ai=ri;i("7435");const oi=80;function li(t,e){t.style.transform=e,t.style.webkitTransform=e}function ui(t){return"TouchEvent"===t.constructor.name}function ci(t){return"KeyboardEvent"===t.constructor.name}const hi=(t,e,i={})=>{let s=0,n=0;if(!ci(t)){const i=e.getBoundingClientRect(),r=ui(t)?t.touches[t.touches.length-1]:t;s=r.clientX-i.left,n=r.clientY-i.top}let r=0,a=.3;e._ripple&&e._ripple.circle?(a=.15,r=e.clientWidth/2,r=i.center?r:r+Math.sqrt((s-r)**2+(n-r)**2)/4):r=Math.sqrt(e.clientWidth**2+e.clientHeight**2)/2;const o=(e.clientWidth-2*r)/2+"px",l=(e.clientHeight-2*r)/2+"px",u=i.center?o:s-r+"px",c=i.center?l:n-r+"px";return{radius:r,scale:a,x:u,y:c,centerX:o,centerY:l}},di={show(t,e,i={}){if(!e._ripple||!e._ripple.enabled)return;const s=document.createElement("span"),n=document.createElement("span");s.appendChild(n),s.className="v-ripple__container",i.class&&(s.className+=" "+i.class);const{radius:r,scale:a,x:o,y:l,centerX:u,centerY:c}=hi(t,e,i),h=2*r+"px";n.className="v-ripple__animation",n.style.width=h,n.style.height=h,e.appendChild(s);const d=window.getComputedStyle(e);d&&"static"===d.position&&(e.style.position="relative",e.dataset.previousPosition="static"),n.classList.add("v-ripple__animation--enter"),n.classList.add("v-ripple__animation--visible"),li(n,`translate(${o}, ${l}) scale3d(${a},${a},${a})`),n.dataset.activated=String(performance.now()),setTimeout(()=>{n.classList.remove("v-ripple__animation--enter"),n.classList.add("v-ripple__animation--in"),li(n,`translate(${u}, ${c}) scale3d(1,1,1)`)},0)},hide(t){if(!t||!t._ripple||!t._ripple.enabled)return;const e=t.getElementsByClassName("v-ripple__animation");if(0===e.length)return;const i=e[e.length-1];if(i.dataset.isHiding)return;i.dataset.isHiding="true";const s=performance.now()-Number(i.dataset.activated),n=Math.max(250-s,0);setTimeout(()=>{i.classList.remove("v-ripple__animation--in"),i.classList.add("v-ripple__animation--out"),setTimeout(()=>{const e=t.getElementsByClassName("v-ripple__animation");1===e.length&&t.dataset.previousPosition&&(t.style.position=t.dataset.previousPosition,delete t.dataset.previousPosition),i.parentNode&&t.removeChild(i.parentNode)},300)},n)}};function pi(t){return"undefined"===typeof t||!!t}function fi(t){const e={},i=t.currentTarget;if(i&&i._ripple&&!i._ripple.touched&&!t.rippleStop){if(t.rippleStop=!0,ui(t))i._ripple.touched=!0,i._ripple.isTouch=!0;else if(i._ripple.isTouch)return;if(e.center=i._ripple.centered||ci(t),i._ripple.class&&(e.class=i._ripple.class),ui(t)){if(i._ripple.showTimerCommit)return;i._ripple.showTimerCommit=()=>{di.show(t,i,e)},i._ripple.showTimer=window.setTimeout(()=>{i&&i._ripple&&i._ripple.showTimerCommit&&(i._ripple.showTimerCommit(),i._ripple.showTimerCommit=null)},oi)}else di.show(t,i,e)}}function mi(t){const e=t.currentTarget;if(e&&e._ripple){if(window.clearTimeout(e._ripple.showTimer),"touchend"===t.type&&e._ripple.showTimerCommit)return e._ripple.showTimerCommit(),e._ripple.showTimerCommit=null,void(e._ripple.showTimer=setTimeout(()=>{mi(t)}));window.setTimeout(()=>{e._ripple&&(e._ripple.touched=!1)}),di.hide(e)}}function gi(t){const e=t.currentTarget;e&&e._ripple&&(e._ripple.showTimerCommit&&(e._ripple.showTimerCommit=null),window.clearTimeout(e._ripple.showTimer))}let vi=!1;function bi(t){vi||t.keyCode!==D.enter&&t.keyCode!==D.space||(vi=!0,fi(t))}function yi(t){vi=!1,mi(t)}function _i(t){!0===vi&&(vi=!1,mi(t))}function xi(t,e,i){const s=pi(e.value);s||di.hide(t),t._ripple=t._ripple||{},t._ripple.enabled=s;const n=e.value||{};n.center&&(t._ripple.centered=!0),n.class&&(t._ripple.class=e.value.class),n.circle&&(t._ripple.circle=n.circle),s&&!i?(t.addEventListener("touchstart",fi,{passive:!0}),t.addEventListener("touchend",mi,{passive:!0}),t.addEventListener("touchmove",gi,{passive:!0}),t.addEventListener("touchcancel",mi),t.addEventListener("mousedown",fi),t.addEventListener("mouseup",mi),t.addEventListener("mouseleave",mi),t.addEventListener("keydown",bi),t.addEventListener("keyup",yi),t.addEventListener("blur",_i),t.addEventListener("dragstart",mi,{passive:!0})):!s&&i&&Ci(t)}function Ci(t){t.removeEventListener("mousedown",fi),t.removeEventListener("touchstart",fi),t.removeEventListener("touchend",mi),t.removeEventListener("touchmove",gi),t.removeEventListener("touchcancel",mi),t.removeEventListener("mouseup",mi),t.removeEventListener("mouseleave",mi),t.removeEventListener("keydown",bi),t.removeEventListener("keyup",yi),t.removeEventListener("dragstart",mi),t.removeEventListener("blur",_i)}function Si(t,e,i){xi(t,e,!1)}function $i(t){delete t._ripple,Ci(t)}function wi(t,e){if(e.value===e.oldValue)return;const i=pi(e.oldValue);xi(t,e,i)}const ki={bind:Si,unbind:$i,update:wi};var Oi=ki,Pi=u.a.extend({name:"routable",directives:{Ripple:Oi},props:{activeClass:String,append:Boolean,disabled:Boolean,exact:{type:Boolean,default:void 0},exactPath:Boolean,exactActiveClass:String,link:Boolean,href:[String,Object],to:[String,Object],nuxt:Boolean,replace:Boolean,ripple:{type:[Boolean,Object],default:null},tag:String,target:String},data:()=>({isActive:!1,proxyClass:""}),computed:{classes(){const t={};return this.to||(this.activeClass&&(t[this.activeClass]=this.isActive),this.proxyClass&&(t[this.proxyClass]=this.isActive)),t},computedRipple(){var t;return null!==(t=this.ripple)&&void 0!==t?t:!this.disabled&&this.isClickable},isClickable(){return!this.disabled&&Boolean(this.isLink||this.$listeners.click||this.$listeners["!click"]||this.$attrs.tabindex)},isLink(){return this.to||this.href||this.link},styles:()=>({})},watch:{$route:"onRouteChange"},mounted(){this.onRouteChange()},methods:{generateRouteLink(){let t,e=this.exact;const i={attrs:{tabindex:"tabindex"in this.$attrs?this.$attrs.tabindex:void 0},class:this.classes,style:this.styles,props:{},directives:[{name:"ripple",value:this.computedRipple}],[this.to?"nativeOn":"on"]:{...this.$listeners,..."click"in this?{click:this.click}:void 0},ref:"link"};if("undefined"===typeof this.exact&&(e="/"===this.to||this.to===Object(this.to)&&"/"===this.to.path),this.to){let s=this.activeClass,n=this.exactActiveClass||s;this.proxyClass&&(s=`${s} ${this.proxyClass}`.trim(),n=`${n} ${this.proxyClass}`.trim()),t=this.nuxt?"nuxt-link":"router-link",Object.assign(i.props,{to:this.to,exact:e,exactPath:this.exactPath,activeClass:s,exactActiveClass:n,append:this.append,replace:this.replace})}else t=(this.href?"a":this.tag)||"div","a"===t&&this.href&&(i.attrs.href=this.href);return this.target&&(i.attrs.target=this.target),{tag:t,data:i}},onRouteChange(){if(!this.to||!this.$refs.link||!this.$route)return;const t=`${this.activeClass||""} ${this.proxyClass||""}`.trim(),e=`${this.exactActiveClass||""} ${this.proxyClass||""}`.trim()||t,i="_vnode.data.class."+(this.exact?e:t);this.$nextTick(()=>{!x(this.$refs.link,i)===this.isActive&&this.toggle()})},toggle(){this.isActive=!this.isActive}}}),Ii=ke(_e,xe,Pi,$e,si("chipGroup"),ni("inputValue")).extend({name:"v-chip",props:{active:{type:Boolean,default:!0},activeClass:{type:String,default(){return this.chipGroup?this.chipGroup.activeClass:""}},close:Boolean,closeIcon:{type:String,default:"$delete"},closeLabel:{type:String,default:"$vuetify.close"},disabled:Boolean,draggable:Boolean,filter:Boolean,filterIcon:{type:String,default:"$complete"},label:Boolean,link:Boolean,outlined:Boolean,pill:Boolean,tag:{type:String,default:"span"},textColor:String,value:null},data:()=>({proxyClass:"v-chip--active"}),computed:{classes(){return{"v-chip":!0,...Pi.options.computed.classes.call(this),"v-chip--clickable":this.isClickable,"v-chip--disabled":this.disabled,"v-chip--draggable":this.draggable,"v-chip--label":this.label,"v-chip--link":this.isLink,"v-chip--no-color":!this.color,"v-chip--outlined":this.outlined,"v-chip--pill":this.pill,"v-chip--removable":this.hasClose,...this.themeClasses,...this.sizeableClasses,...this.groupClasses}},hasClose(){return Boolean(this.close)},isClickable(){return Boolean(Pi.options.computed.isClickable.call(this)||this.chipGroup)}},created(){const t=[["outline","outlined"],["selected","input-value"],["value","active"],["@input","@active.sync"]];t.forEach(([t,e])=>{this.$attrs.hasOwnProperty(t)&&fe(t,e,this)})},methods:{click(t){this.$emit("click",t),this.chipGroup&&this.toggle()},genFilter(){const t=[];return this.isActive&&t.push(this.$createElement(Qe,{staticClass:"v-chip__filter",props:{left:!0}},this.filterIcon)),this.$createElement(Je,t)},genClose(){return this.$createElement(Qe,{staticClass:"v-chip__close",props:{right:!0,size:18},attrs:{"aria-label":this.$vuetify.lang.t(this.closeLabel)},on:{click:t=>{t.stopPropagation(),t.preventDefault(),this.$emit("click:close"),this.$emit("update:active",!1)}}},this.closeIcon)},genContent(){return this.$createElement("span",{staticClass:"v-chip__content"},[this.filter&&this.genFilter(),this.$slots.default,this.hasClose&&this.genClose()])}},render(t){const e=[this.genContent()];let{tag:i,data:s}=this.generateRouteLink();s.attrs={...s.attrs,draggable:this.draggable?"true":void 0,tabindex:this.chipGroup&&!this.disabled?0:s.attrs.tabindex},s.directives.push({name:"show",value:this.active}),s=this.setBackgroundColor(this.color,s);const n=this.textColor||this.outlined&&this.color;return t(i,this.setTextColor(n,s),e)}}),Li=Ii,Di=(i("ee6f"),$e.extend({name:"v-theme-provider",props:{root:Boolean},computed:{isDark(){return this.root?this.rootIsDark:$e.options.computed.isDark.call(this)}},render(){return this.$slots.default&&this.$slots.default.find(t=>!t.isComment&&" "!==t.text)}})),Ai=u.a.extend().extend({name:"delayable",props:{openDelay:{type:[Number,String],default:0},closeDelay:{type:[Number,String],default:0}},data:()=>({openTimeout:void 0,closeTimeout:void 0}),methods:{clearDelay(){clearTimeout(this.openTimeout),clearTimeout(this.closeTimeout)},runDelay(t,e){this.clearDelay();const i=parseInt(this[t+"Delay"],10);this[t+"Timeout"]=setTimeout(e||(()=>{this.isActive={open:!0,close:!1}[t]}),i)}}});const Mi=ke(Ai,ai);var Ti=Mi.extend({name:"activatable",props:{activator:{default:null,validator:t=>["string","object"].includes(typeof t)},disabled:Boolean,internalActivator:Boolean,openOnClick:{type:Boolean,default:!0},openOnHover:Boolean,openOnFocus:Boolean},data:()=>({activatorElement:null,activatorNode:[],events:["click","mouseenter","mouseleave","focus"],listeners:{}}),watch:{activator:"resetActivator",openOnFocus:"resetActivator",openOnHover:"resetActivator"},mounted(){const t=N(this,"activator",!0);t&&["v-slot","normal"].includes(t)&&de('The activator slot must be bound, try \'<template v-slot:activator="{ on }"><v-btn v-on="on">\'',this),this.addActivatorEvents()},beforeDestroy(){this.removeActivatorEvents()},methods:{addActivatorEvents(){if(!this.activator||this.disabled||!this.getActivator())return;this.listeners=this.genActivatorListeners();const t=Object.keys(this.listeners);for(const e of t)this.getActivator().addEventListener(e,this.listeners[e])},genActivator(){const t=q(this,"activator",Object.assign(this.getValueProxy(),{on:this.genActivatorListeners(),attrs:this.genActivatorAttributes()}))||[];return this.activatorNode=t,t},genActivatorAttributes(){return{role:this.openOnClick&&!this.openOnHover?"button":void 0,"aria-haspopup":!0,"aria-expanded":String(this.isActive)}},genActivatorListeners(){if(this.disabled)return{};const t={};return this.openOnHover?(t.mouseenter=t=>{this.getActivator(t),this.runDelay("open")},t.mouseleave=t=>{this.getActivator(t),this.runDelay("close")}):this.openOnClick&&(t.click=t=>{const e=this.getActivator(t);e&&e.focus(),t.stopPropagation(),this.isActive=!this.isActive}),this.openOnFocus&&(t.focus=t=>{this.getActivator(t),t.stopPropagation(),this.isActive=!this.isActive}),t},getActivator(t){if(this.activatorElement)return this.activatorElement;let e=null;if(this.activator){const t=this.internalActivator?this.$el:document;e="string"===typeof this.activator?t.querySelector(this.activator):this.activator.$el?this.activator.$el:this.activator}else if(1===this.activatorNode.length||this.activatorNode.length&&!t){const t=this.activatorNode[0].componentInstance;e=t&&t.$options.mixins&&t.$options.mixins.some(t=>t.options&&["activatable","menuable"].includes(t.options.name))?t.getActivator():this.activatorNode[0].elm}else t&&(e=t.currentTarget||t.target);return this.activatorElement=(null===e||void 0===e?void 0:e.nodeType)===Node.ELEMENT_NODE?e:null,this.activatorElement},getContentSlot(){return q(this,"default",this.getValueProxy(),!0)},getValueProxy(){const t=this;return{get value(){return t.isActive},set value(e){t.isActive=e}}},removeActivatorEvents(){if(!this.activator||!this.activatorElement)return;const t=Object.keys(this.listeners);for(const e of t)this.activatorElement.removeEventListener(e,this.listeners[e]);this.listeners={}},resetActivator(){this.removeActivatorEvents(),this.activatorElement=null,this.getActivator(),this.addActivatorEvents()}}});function Bi(t){const e=[];for(let i=0;i<t.length;i++){const s=t[i];s.isActive&&s.isDependent?e.push(s):e.push(...Bi(s.$children))}return e}var Ei=ke().extend({name:"dependent",data(){return{closeDependents:!0,isActive:!1,isDependent:!0}},watch:{isActive(t){if(t)return;const e=this.getOpenDependents();for(let i=0;i<e.length;i++)e[i].isActive=!1}},methods:{getOpenDependents(){return this.closeDependents?Bi(this.$children):[]},getOpenDependentElements(){const t=[],e=this.getOpenDependents();for(let i=0;i<e.length;i++)t.push(...e[i].getClickableDependentElements());return t},getClickableDependentElements(){const t=[this.$el];return this.$refs.content&&t.push(this.$refs.content),this.overlay&&t.push(this.overlay.$el),t.push(...this.getOpenDependentElements()),t}}}),Fi=u.a.extend().extend({name:"stackable",data(){return{stackElement:null,stackExclude:null,stackMinZIndex:0,isActive:!1}},computed:{activeZIndex(){if("undefined"===typeof window)return 0;const t=this.stackElement||this.$refs.content,e=this.isActive?this.getMaxZIndex(this.stackExclude||[t])+2:$(t);return null==e?e:parseInt(e)}},methods:{getMaxZIndex(t=[]){const e=this.$el,i=[this.stackMinZIndex,$(e)],s=[...document.getElementsByClassName("v-menu__content--active"),...document.getElementsByClassName("v-dialog__content--active")];for(let n=0;n<s.length;n++)t.includes(s[n])||i.push($(s[n]));return Math.max(...i)}}});const Vi={absolute:Boolean,bottom:Boolean,fixed:Boolean,left:Boolean,right:Boolean,top:Boolean};function ji(t=[]){return u.a.extend({name:"positionable",props:t.length?O(Vi,t):Vi})}var Ri=ji(),zi=u.a.extend().extend({name:"bootable",props:{eager:Boolean},data:()=>({isBooted:!1}),computed:{hasContent(){return this.isBooted||this.eager||this.isActive}},watch:{isActive(){this.isBooted=!0}},created(){"lazy"in this.$attrs&&me("lazy",this)},methods:{showLazyContent(t){return this.hasContent&&t?t():[this.$createElement()]}}});function Ni(t){const e=typeof t;return"boolean"===e||"string"===e||t.nodeType===Node.ELEMENT_NODE}function Hi(t){t.forEach(t=>{t.elm&&t.elm.parentNode&&t.elm.parentNode.removeChild(t.elm)})}var Wi=ke(zi).extend({name:"detachable",props:{attach:{default:!1,validator:Ni},contentClass:{type:String,default:""}},data:()=>({activatorNode:null,hasDetached:!1}),watch:{attach(){this.hasDetached=!1,this.initDetach()},hasContent(){this.$nextTick(this.initDetach)}},beforeMount(){this.$nextTick(()=>{if(this.activatorNode){const t=Array.isArray(this.activatorNode)?this.activatorNode:[this.activatorNode];t.forEach(t=>{if(!t.elm)return;if(!this.$el.parentNode)return;const e=this.$el===this.$el.parentNode.firstChild?this.$el:this.$el.nextSibling;this.$el.parentNode.insertBefore(t.elm,e)})}})},mounted(){this.hasContent&&this.initDetach()},deactivated(){this.isActive=!1},beforeDestroy(){this.$refs.content&&this.$refs.content.parentNode&&this.$refs.content.parentNode.removeChild(this.$refs.content)},destroyed(){if(this.activatorNode){const t=Array.isArray(this.activatorNode)?this.activatorNode:[this.activatorNode];if(this.$el.isConnected){const e=new MutationObserver(i=>{i.some(t=>Array.from(t.removedNodes).includes(this.$el))&&(e.disconnect(),Hi(t))});e.observe(this.$el.parentNode,{subtree:!1,childList:!0})}else Hi(t)}},methods:{getScopeIdAttrs(){const t=x(this.$vnode,"context.$options._scopeId");return t&&{[t]:""}},initDetach(){if(this._isDestroyed||!this.$refs.content||this.hasDetached||""===this.attach||!0===this.attach||"attach"===this.attach)return;let t;t=!1===this.attach?document.querySelector("[data-app]"):"string"===typeof this.attach?document.querySelector(this.attach):this.attach,t?(t.appendChild(this.$refs.content),this.hasDetached=!0):he("Unable to locate target "+(this.attach||"[data-app]"),this)}}});const qi=ke(Fi,ji(["top","right","bottom","left","absolute"]),Ti,Wi);var Ui=qi.extend().extend({name:"menuable",props:{allowOverflow:Boolean,light:Boolean,dark:Boolean,maxWidth:{type:[Number,String],default:"auto"},minWidth:[Number,String],nudgeBottom:{type:[Number,String],default:0},nudgeLeft:{type:[Number,String],default:0},nudgeRight:{type:[Number,String],default:0},nudgeTop:{type:[Number,String],default:0},nudgeWidth:{type:[Number,String],default:0},offsetOverflow:Boolean,positionX:{type:Number,default:null},positionY:{type:Number,default:null},zIndex:{type:[Number,String],default:null}},data:()=>({activatorNode:[],absoluteX:0,absoluteY:0,activatedBy:null,activatorFixed:!1,dimensions:{activator:{top:0,left:0,bottom:0,right:0,width:0,height:0,offsetTop:0,scrollHeight:0,offsetLeft:0},content:{top:0,left:0,bottom:0,right:0,width:0,height:0,offsetTop:0,scrollHeight:0}},relativeYOffset:0,hasJustFocused:!1,hasWindow:!1,inputActivator:!1,isContentActive:!1,pageWidth:0,pageYOffset:0,stackClass:"v-menu__content--active",stackMinZIndex:6}),computed:{computedLeft(){const t=this.dimensions.activator,e=this.dimensions.content,i=(!1!==this.attach?t.offsetLeft:t.left)||0,s=Math.max(t.width,e.width);let n=0;if(n+=i,(this.left||this.$vuetify.rtl&&!this.right)&&(n-=s-t.width),this.offsetX){const e=isNaN(Number(this.maxWidth))?t.width:Math.min(t.width,Number(this.maxWidth));n+=this.left?-e:t.width}return this.nudgeLeft&&(n-=parseInt(this.nudgeLeft)),this.nudgeRight&&(n+=parseInt(this.nudgeRight)),n},computedTop(){const t=this.dimensions.activator,e=this.dimensions.content;let i=0;return this.top&&(i+=t.height-e.height),!1!==this.attach?i+=t.offsetTop:i+=t.top+this.pageYOffset,this.offsetY&&(i+=this.top?-t.height:t.height),this.nudgeTop&&(i-=parseInt(this.nudgeTop)),this.nudgeBottom&&(i+=parseInt(this.nudgeBottom)),i},hasActivator(){return!!this.$slots.activator||!!this.$scopedSlots.activator||!!this.activator||!!this.inputActivator},absoluteYOffset(){return this.pageYOffset-this.relativeYOffset}},watch:{disabled(t){t&&this.callDeactivate()},isActive(t){this.disabled||(t?this.callActivate():this.callDeactivate())},positionX:"updateDimensions",positionY:"updateDimensions"},beforeMount(){this.hasWindow="undefined"!==typeof window,this.hasWindow&&window.addEventListener("resize",this.updateDimensions,!1)},beforeDestroy(){this.hasWindow&&window.removeEventListener("resize",this.updateDimensions,!1)},methods:{absolutePosition(){return{offsetTop:this.positionY||this.absoluteY,offsetLeft:this.positionX||this.absoluteX,scrollHeight:0,top:this.positionY||this.absoluteY,bottom:this.positionY||this.absoluteY,left:this.positionX||this.absoluteX,right:this.positionX||this.absoluteX,height:0,width:0}},activate(){},calcLeft(t){return P(!1!==this.attach?this.computedLeft:this.calcXOverflow(this.computedLeft,t))},calcTop(){return P(!1!==this.attach?this.computedTop:this.calcYOverflow(this.computedTop))},calcXOverflow(t,e){const i=t+e-this.pageWidth+12;return t=(!this.left||this.right)&&i>0?Math.max(t-i,0):Math.max(t,12),t+this.getOffsetLeft()},calcYOverflow(t){const e=this.getInnerHeight(),i=this.absoluteYOffset+e,s=this.dimensions.activator,n=this.dimensions.content.height,r=t+n,a=i<r;return a&&this.offsetOverflow&&s.top>n?t=this.pageYOffset+(s.top-n):a&&!this.allowOverflow?t=i-n-12:t<this.absoluteYOffset&&!this.allowOverflow&&(t=this.absoluteYOffset+12),t<12?12:t},callActivate(){this.hasWindow&&this.activate()},callDeactivate(){this.isContentActive=!1,this.deactivate()},checkForPageYOffset(){this.hasWindow&&(this.pageYOffset=this.activatorFixed?0:this.getOffsetTop())},checkActivatorFixed(){if(!1!==this.attach)return;let t=this.getActivator();while(t){if("fixed"===window.getComputedStyle(t).position)return void(this.activatorFixed=!0);t=t.offsetParent}this.activatorFixed=!1},deactivate(){},genActivatorListeners(){const t=Ti.options.methods.genActivatorListeners.call(this),e=t.click;return e&&(t.click=t=>{this.openOnClick&&e&&e(t),this.absoluteX=t.clientX,this.absoluteY=t.clientY}),t},getInnerHeight(){return this.hasWindow?window.innerHeight||document.documentElement.clientHeight:0},getOffsetLeft(){return this.hasWindow?window.pageXOffset||document.documentElement.scrollLeft:0},getOffsetTop(){return this.hasWindow?window.pageYOffset||document.documentElement.scrollTop:0},getRoundedBoundedClientRect(t){const e=t.getBoundingClientRect();return{top:Math.round(e.top),left:Math.round(e.left),bottom:Math.round(e.bottom),right:Math.round(e.right),width:Math.round(e.width),height:Math.round(e.height)}},measure(t){if(!t||!this.hasWindow)return null;const e=this.getRoundedBoundedClientRect(t);if(!1!==this.attach){const i=window.getComputedStyle(t);e.left=parseInt(i.marginLeft),e.top=parseInt(i.marginTop)}return e},sneakPeek(t){requestAnimationFrame(()=>{const e=this.$refs.content;e&&"none"===e.style.display?(e.style.display="inline-block",t(),e.style.display="none"):t()})},startTransition(){return new Promise(t=>requestAnimationFrame(()=>{this.isContentActive=this.hasJustFocused=this.isActive,t()}))},updateDimensions(){this.hasWindow="undefined"!==typeof window,this.checkActivatorFixed(),this.checkForPageYOffset(),this.pageWidth=document.documentElement.clientWidth;const t={activator:{...this.dimensions.activator},content:{...this.dimensions.content}};if(!this.hasActivator||this.absolute)t.activator=this.absolutePosition();else{const e=this.getActivator();if(!e)return;t.activator=this.measure(e),t.activator.offsetLeft=e.offsetLeft,!1!==this.attach?t.activator.offsetTop=e.offsetTop:t.activator.offsetTop=0}this.sneakPeek(()=>{if(this.$refs.content){if(this.$refs.content.offsetParent){const e=this.getRoundedBoundedClientRect(this.$refs.content.offsetParent);this.relativeYOffset=window.pageYOffset+e.top,t.activator.top-=this.relativeYOffset,t.activator.left-=window.pageXOffset+e.left}t.content=this.measure(this.$refs.content)}this.dimensions=t})}}}),Yi=u.a.extend({name:"returnable",props:{returnValue:null},data:()=>({isActive:!1,originalValue:null}),watch:{isActive(t){t?this.originalValue=this.returnValue:this.$emit("update:return-value",this.originalValue)}},methods:{save(t){this.originalValue=t,setTimeout(()=>{this.isActive=!1})}}}),Zi=u.a.extend({name:"roundable",props:{rounded:[Boolean,String],tile:Boolean},computed:{roundedClasses(){const t=[],e="string"===typeof this.rounded?String(this.rounded):!0===this.rounded;if(this.tile)t.push("rounded-0");else if("string"===typeof e){const i=e.split(" ");for(const e of i)t.push("rounded-"+e)}else e&&t.push("rounded");return t.length>0?{[t.join(" ")]:!0}:{}}}});function Ki(t){if("function"!==typeof t.getRootNode){while(t.parentNode)t=t.parentNode;return t!==document?null:document}const e=t.getRootNode();return e!==document&&e.getRootNode({composed:!0})!==document?null:e}function Gi(){return!0}function Xi(t,e,i){if(!t||!1===Ji(t,i))return!1;const s=Ki(e);if("undefined"!==typeof ShadowRoot&&s instanceof ShadowRoot&&s.host===t.target)return!1;const n=("object"===typeof i.value&&i.value.include||(()=>[]))();return n.push(e),!n.some(e=>e.contains(t.target))}function Ji(t,e){const i="object"===typeof e.value&&e.value.closeConditional||Gi;return i(t)}function Qi(t,e,i,s){const n="function"===typeof i.value?i.value:i.value.handler;e._clickOutside.lastMousedownWasOutside&&Xi(t,e,i)&&setTimeout(()=>{Ji(t,i)&&n&&n(t)},0)}function ts(t,e){const i=Ki(t);e(document),"undefined"!==typeof ShadowRoot&&i instanceof ShadowRoot&&e(i)}const es={inserted(t,e,i){const s=s=>Qi(s,t,e,i),n=i=>{t._clickOutside.lastMousedownWasOutside=Xi(i,t,e)};ts(t,t=>{t.addEventListener("click",s,!0),t.addEventListener("mousedown",n,!0)}),t._clickOutside||(t._clickOutside={lastMousedownWasOutside:!0}),t._clickOutside[i.context._uid]={onClick:s,onMousedown:n}},unbind(t,e,i){t._clickOutside&&(ts(t,e=>{var s;if(!e||!(null===(s=t._clickOutside)||void 0===s?void 0:s[i.context._uid]))return;const{onClick:n,onMousedown:r}=t._clickOutside[i.context._uid];e.removeEventListener("click",n,!0),e.removeEventListener("mousedown",r,!0)}),delete t._clickOutside[i.context._uid])}};var is=es;function ss(t,e,i){const s=e.value,n=e.options||{passive:!0};window.addEventListener("resize",s,n),t._onResize=Object(t._onResize),t._onResize[i.context._uid]={callback:s,options:n},e.modifiers&&e.modifiers.quiet||s()}function ns(t,e,i){var s;if(!(null===(s=t._onResize)||void 0===s?void 0:s[i.context._uid]))return;const{callback:n,options:r}=t._onResize[i.context._uid];window.removeEventListener("resize",n,r),delete t._onResize[i.context._uid]}const rs={inserted:ss,unbind:ns};var as=rs;const os=ke(Ei,Ai,Yi,Zi,$e,Ui);var ls=os.extend({name:"v-menu",directives:{ClickOutside:is,Resize:as},provide(){return{isInMenu:!0,theme:this.theme}},props:{auto:Boolean,closeOnClick:{type:Boolean,default:!0},closeOnContentClick:{type:Boolean,default:!0},disabled:Boolean,disableKeys:Boolean,maxHeight:{type:[Number,String],default:"auto"},offsetX:Boolean,offsetY:Boolean,openOnHover:Boolean,origin:{type:String,default:"top left"},transition:{type:[Boolean,String],default:"v-menu-transition"}},data(){return{calculatedTopAuto:0,defaultOffset:8,hasJustFocused:!1,listIndex:-1,resizeTimeout:0,selectedIndex:null,tiles:[]}},computed:{activeTile(){return this.tiles[this.listIndex]},calculatedLeft(){const t=Math.max(this.dimensions.content.width,parseFloat(this.calculatedMinWidth));return this.auto?P(this.calcXOverflow(this.calcLeftAuto(),t))||"0":this.calcLeft(t)||"0"},calculatedMaxHeight(){const t=this.auto?"200px":P(this.maxHeight);return t||"0"},calculatedMaxWidth(){return P(this.maxWidth)||"0"},calculatedMinWidth(){if(this.minWidth)return P(this.minWidth)||"0";const t=Math.min(this.dimensions.activator.width+Number(this.nudgeWidth)+(this.auto?16:0),Math.max(this.pageWidth-24,0)),e=isNaN(parseInt(this.calculatedMaxWidth))?t:parseInt(this.calculatedMaxWidth);return P(Math.min(e,t))||"0"},calculatedTop(){const t=this.auto?P(this.calcYOverflow(this.calculatedTopAuto)):this.calcTop();return t||"0"},hasClickableTiles(){return Boolean(this.tiles.find(t=>t.tabIndex>-1))},styles(){return{maxHeight:this.calculatedMaxHeight,minWidth:this.calculatedMinWidth,maxWidth:this.calculatedMaxWidth,top:this.calculatedTop,left:this.calculatedLeft,transformOrigin:this.origin,zIndex:this.zIndex||this.activeZIndex}}},watch:{isActive(t){t||(this.listIndex=-1)},isContentActive(t){this.hasJustFocused=t},listIndex(t,e){if(t in this.tiles){const e=this.tiles[t];e.classList.add("v-list-item--highlighted");const i=this.$refs.content.scrollTop,s=this.$refs.content.clientHeight;i>e.offsetTop-8?bt(e.offsetTop-e.clientHeight,{appOffset:!1,duration:300,container:this.$refs.content}):i+s<e.offsetTop+e.clientHeight+8&&bt(e.offsetTop-s+2*e.clientHeight,{appOffset:!1,duration:300,container:this.$refs.content})}e in this.tiles&&this.tiles[e].classList.remove("v-list-item--highlighted")}},created(){this.$attrs.hasOwnProperty("full-width")&&me("full-width",this)},mounted(){this.isActive&&this.callActivate()},methods:{activate(){this.updateDimensions(),requestAnimationFrame(()=>{this.startTransition().then(()=>{this.$refs.content&&(this.calculatedTopAuto=this.calcTopAuto(),this.auto&&(this.$refs.content.scrollTop=this.calcScrollPosition()))})})},calcScrollPosition(){const t=this.$refs.content,e=t.querySelector(".v-list-item--active"),i=t.scrollHeight-t.offsetHeight;return e?Math.min(i,Math.max(0,e.offsetTop-t.offsetHeight/2+e.offsetHeight/2)):t.scrollTop},calcLeftAuto(){return parseInt(this.dimensions.activator.left-2*this.defaultOffset)},calcTopAuto(){const t=this.$refs.content,e=t.querySelector(".v-list-item--active");if(e||(this.selectedIndex=null),this.offsetY||!e)return this.computedTop;this.selectedIndex=Array.from(this.tiles).indexOf(e);const i=e.offsetTop-this.calcScrollPosition(),s=t.querySelector(".v-list-item").offsetTop;return this.computedTop-i-s-1},changeListIndex(t){if(this.getTiles(),this.isActive&&this.hasClickableTiles)if(t.keyCode!==D.tab){if(t.keyCode===D.down)this.nextTile();else if(t.keyCode===D.up)this.prevTile();else if(t.keyCode===D.end)this.lastTile();else if(t.keyCode===D.home)this.firstTile();else{if(t.keyCode!==D.enter||-1===this.listIndex)return;this.tiles[this.listIndex].click()}t.preventDefault()}else this.isActive=!1},closeConditional(t){const e=t.target;return this.isActive&&!this._isDestroyed&&this.closeOnClick&&!this.$refs.content.contains(e)},genActivatorAttributes(){const t=Ti.options.methods.genActivatorAttributes.call(this);return this.activeTile&&this.activeTile.id?{...t,"aria-activedescendant":this.activeTile.id}:t},genActivatorListeners(){const t=Ui.options.methods.genActivatorListeners.call(this);return this.disableKeys||(t.keydown=this.onKeyDown),t},genTransition(){const t=this.genContent();return this.transition?this.$createElement("transition",{props:{name:this.transition}},[t]):t},genDirectives(){const t=[{name:"show",value:this.isContentActive}];return!this.openOnHover&&this.closeOnClick&&t.push({name:"click-outside",value:{handler:()=>{this.isActive=!1},closeConditional:this.closeConditional,include:()=>[this.$el,...this.getOpenDependentElements()]}}),t},genContent(){const t={attrs:{...this.getScopeIdAttrs(),role:"role"in this.$attrs?this.$attrs.role:"menu"},staticClass:"v-menu__content",class:{...this.rootThemeClasses,...this.roundedClasses,"v-menu__content--auto":this.auto,"v-menu__content--fixed":this.activatorFixed,menuable__content__active:this.isActive,[this.contentClass.trim()]:!0},style:this.styles,directives:this.genDirectives(),ref:"content",on:{click:t=>{const e=t.target;e.getAttribute("disabled")||this.closeOnContentClick&&(this.isActive=!1)},keydown:this.onKeyDown}};return this.$listeners.scroll&&(t.on=t.on||{},t.on.scroll=this.$listeners.scroll),!this.disabled&&this.openOnHover&&(t.on=t.on||{},t.on.mouseenter=this.mouseEnterHandler),this.openOnHover&&(t.on=t.on||{},t.on.mouseleave=this.mouseLeaveHandler),this.$createElement("div",t,this.getContentSlot())},getTiles(){this.$refs.content&&(this.tiles=Array.from(this.$refs.content.querySelectorAll(".v-list-item, .v-divider, .v-subheader")))},mouseEnterHandler(){this.runDelay("open",()=>{this.hasJustFocused||(this.hasJustFocused=!0)})},mouseLeaveHandler(t){this.runDelay("close",()=>{var e;(null===(e=this.$refs.content)||void 0===e?void 0:e.contains(t.relatedTarget))||requestAnimationFrame(()=>{this.isActive=!1,this.callDeactivate()})})},nextTile(){const t=this.tiles[this.listIndex+1];if(!t){if(!this.tiles.length)return;return this.listIndex=-1,void this.nextTile()}this.listIndex++,-1===t.tabIndex&&this.nextTile()},prevTile(){const t=this.tiles[this.listIndex-1];if(!t){if(!this.tiles.length)return;return this.listIndex=this.tiles.length,void this.prevTile()}this.listIndex--,-1===t.tabIndex&&this.prevTile()},lastTile(){const t=this.tiles[this.tiles.length-1];t&&(this.listIndex=this.tiles.length-1,-1===t.tabIndex&&this.prevTile())},firstTile(){const t=this.tiles[0];t&&(this.listIndex=0,-1===t.tabIndex&&this.nextTile())},onKeyDown(t){if(t.keyCode===D.esc){setTimeout(()=>{this.isActive=!1});const t=this.getActivator();this.$nextTick(()=>t&&t.focus())}else!this.isActive&&[D.up,D.down].includes(t.keyCode)&&(this.isActive=!0);this.$nextTick(()=>this.changeListIndex(t))},onResize(){this.isActive&&(this.$refs.content.offsetWidth,this.updateDimensions(),clearTimeout(this.resizeTimeout),this.resizeTimeout=window.setTimeout(this.updateDimensions,100))}},render(t){const e={staticClass:"v-menu",class:{"v-menu--attached":""===this.attach||!0===this.attach||"attach"===this.attach},directives:[{arg:"500",name:"resize",value:this.onResize}]};return t("div",e,[!this.activator&&this.genActivator(),this.showLazyContent(()=>[this.$createElement(Di,{props:{root:!0,light:this.light,dark:this.dark}},[this.genTransition()])])])}}),us=ls,cs=(i("cf36"),u.a.extend({name:"v-simple-checkbox",functional:!0,directives:{Ripple:Oi},props:{..._e.options.props,...$e.options.props,disabled:Boolean,ripple:{type:Boolean,default:!0},value:Boolean,indeterminate:Boolean,indeterminateIcon:{type:String,default:"$checkboxIndeterminate"},onIcon:{type:String,default:"$checkboxOn"},offIcon:{type:String,default:"$checkboxOff"}},render(t,{props:e,data:i,listeners:s}){const n=[];let r=e.offIcon;if(e.indeterminate?r=e.indeterminateIcon:e.value&&(r=e.onIcon),n.push(t(Le,_e.options.methods.setTextColor(e.value&&e.color,{props:{disabled:e.disabled,dark:e.dark,light:e.light}}),r)),e.ripple&&!e.disabled){const i=t("div",_e.options.methods.setTextColor(e.color,{staticClass:"v-input--selection-controls__ripple",directives:[{def:Oi,name:"ripple",value:{center:!0}}]}));n.push(i)}return t("div",ze(i,{class:{"v-simple-checkbox":!0,"v-simple-checkbox--disabled":e.disabled},on:{click:t=>{t.stopPropagation(),i.on&&i.on.input&&!e.disabled&&V(i.on.input).forEach(t=>t(!e.value))}}}),[t("div",{staticClass:"v-input--selection-controls__input"},n)])}})),hs=(i("8ce9"),$e.extend({name:"v-divider",props:{inset:Boolean,vertical:Boolean},render(t){let e;return this.$attrs.role&&"separator"!==this.$attrs.role||(e=this.vertical?"vertical":"horizontal"),t("hr",{class:{"v-divider":!0,"v-divider--inset":this.inset,"v-divider--vertical":this.vertical,...this.themeClasses},attrs:{role:"separator","aria-orientation":e,...this.$attrs},on:this.$listeners})}})),ds=hs,ps=(i("0bc6"),ke($e).extend({name:"v-subheader",props:{inset:Boolean},render(t){return t("div",{staticClass:"v-subheader",class:{"v-subheader--inset":this.inset,...this.themeClasses},attrs:this.$attrs,on:this.$listeners},this.$slots.default)}})),fs=ps;i("61d2");const ms=ke(_e,Pi,$e,si("listItemGroup"),ni("inputValue"));var gs=ms.extend().extend({name:"v-list-item",directives:{Ripple:Oi},inject:{isInGroup:{default:!1},isInList:{default:!1},isInMenu:{default:!1},isInNav:{default:!1}},inheritAttrs:!1,props:{activeClass:{type:String,default(){return this.listItemGroup?this.listItemGroup.activeClass:""}},dense:Boolean,inactive:Boolean,link:Boolean,selectable:{type:Boolean},tag:{type:String,default:"div"},threeLine:Boolean,twoLine:Boolean,value:null},data:()=>({proxyClass:"v-list-item--active"}),computed:{classes(){return{"v-list-item":!0,...Pi.options.computed.classes.call(this),"v-list-item--dense":this.dense,"v-list-item--disabled":this.disabled,"v-list-item--link":this.isClickable&&!this.inactive,"v-list-item--selectable":this.selectable,"v-list-item--three-line":this.threeLine,"v-list-item--two-line":this.twoLine,...this.themeClasses}},isClickable(){return Boolean(Pi.options.computed.isClickable.call(this)||this.listItemGroup)}},created(){this.$attrs.hasOwnProperty("avatar")&&me("avatar",this)},methods:{click(t){t.detail&&this.$el.blur(),this.$emit("click",t),this.to||this.toggle()},genAttrs(){const t={"aria-disabled":!!this.disabled||void 0,tabindex:this.isClickable&&!this.disabled?0:-1,...this.$attrs};return this.$attrs.hasOwnProperty("role")||this.isInNav||(this.isInGroup?(t.role="option",t["aria-selected"]=String(this.isActive)):this.isInMenu?(t.role=this.isClickable?"menuitem":void 0,t.id=t.id||"list-item-"+this._uid):this.isInList&&(t.role="listitem")),t},toggle(){this.to&&void 0===this.inputValue&&(this.isActive=!this.isActive),this.$emit("change")}},render(t){let{tag:e,data:i}=this.generateRouteLink();i.attrs={...i.attrs,...this.genAttrs()},i[this.to?"nativeOn":"on"]={...i[this.to?"nativeOn":"on"],keydown:t=>{this.disabled||(t.keyCode===D.enter&&this.click(t),this.$emit("keydown",t))}},this.inactive&&(e="div"),this.inactive&&this.to&&(i.on=i.nativeOn,delete i.nativeOn);const s=this.$scopedSlots.default?this.$scopedSlots.default({active:this.isActive,toggle:this.toggle}):this.$slots.default;return t(e,this.isActive?this.setTextColor(this.color,i):i,s)}}),vs=u.a.extend({name:"v-list-item-action",functional:!0,render(t,{data:e,children:i=[]}){e.staticClass=e.staticClass?"v-list-item__action "+e.staticClass:"v-list-item__action";const s=i.filter(t=>!1===t.isComment&&" "!==t.text);return s.length>1&&(e.staticClass+=" v-list-item__action--stack"),t("div",e,i)}}),bs=(i("3ad0"),i("25a8"),u.a.extend({name:"elevatable",props:{elevation:[Number,String]},computed:{computedElevation(){return this.elevation},elevationClasses(){const t=this.computedElevation;return null==t||isNaN(parseInt(t))?{}:{["elevation-"+this.elevation]:!0}}}})),ys=u.a.extend({name:"measurable",props:{height:[Number,String],maxHeight:[Number,String],maxWidth:[Number,String],minHeight:[Number,String],minWidth:[Number,String],width:[Number,String]},computed:{measurableStyles(){const t={},e=P(this.height),i=P(this.minHeight),s=P(this.minWidth),n=P(this.maxHeight),r=P(this.maxWidth),a=P(this.width);return e&&(t.height=e),i&&(t.minHeight=i),s&&(t.minWidth=s),n&&(t.maxHeight=n),r&&(t.maxWidth=r),a&&(t.width=a),t}}}),_s=ke(h,_e,bs,ys,Zi,$e).extend({name:"v-sheet",props:{outlined:Boolean,shaped:Boolean,tag:{type:String,default:"div"}},computed:{classes(){return{"v-sheet":!0,"v-sheet--outlined":this.outlined,"v-sheet--shaped":this.shaped,...this.themeClasses,...this.elevationClasses,...this.roundedClasses}},styles(){return this.measurableStyles}},render(t){const e={class:this.classes,style:this.styles,on:this.listeners$};return t(this.tag,this.setBackgroundColor(this.color,e),this.$slots.default)}}),xs=_s.extend().extend({name:"v-list",provide(){return{isInList:!0,list:this}},inject:{isInMenu:{default:!1},isInNav:{default:!1}},props:{dense:Boolean,disabled:Boolean,expand:Boolean,flat:Boolean,nav:Boolean,rounded:Boolean,subheader:Boolean,threeLine:Boolean,twoLine:Boolean},data:()=>({groups:[]}),computed:{classes(){return{..._s.options.computed.classes.call(this),"v-list--dense":this.dense,"v-list--disabled":this.disabled,"v-list--flat":this.flat,"v-list--nav":this.nav,"v-list--rounded":this.rounded,"v-list--subheader":this.subheader,"v-list--two-line":this.twoLine,"v-list--three-line":this.threeLine}}},methods:{register(t){this.groups.push(t)},unregister(t){const e=this.groups.findIndex(e=>e._uid===t._uid);e>-1&&this.groups.splice(e,1)},listClick(t){if(!this.expand)for(const e of this.groups)e.toggle(t)}},render(t){const e={staticClass:"v-list",class:this.classes,style:this.styles,attrs:{role:this.isInNav||this.isInMenu?void 0:"list",...this.attrs$}};return t(this.tag,this.setBackgroundColor(this.color,e),[this.$slots.default])}}),Cs=(i("db42"),u.a.extend({name:"v-list-item-icon",functional:!0,render(t,{data:e,children:i}){return e.staticClass=("v-list-item__icon "+(e.staticClass||"")).trim(),t("div",e,i)}}));const Ss=ke(h,zi,_e,ei("list"),ai);Ss.extend().extend({name:"v-list-group",directives:{ripple:Oi},props:{activeClass:{type:String,default:""},appendIcon:{type:String,default:"$expand"},color:{type:String,default:"primary"},disabled:Boolean,group:[String,RegExp],noAction:Boolean,prependIcon:String,ripple:{type:[Boolean,Object],default:!0},subGroup:Boolean},computed:{classes(){return{"v-list-group--active":this.isActive,"v-list-group--disabled":this.disabled,"v-list-group--no-action":this.noAction,"v-list-group--sub-group":this.subGroup}}},watch:{isActive(t){!this.subGroup&&t&&this.list&&this.list.listClick(this._uid)},$route:"onRouteChange"},created(){this.list&&this.list.register(this),this.group&&this.$route&&null==this.value&&(this.isActive=this.matchRoute(this.$route.path))},beforeDestroy(){this.list&&this.list.unregister(this)},methods:{click(t){this.disabled||(this.isBooted=!0,this.$emit("click",t),this.$nextTick(()=>this.isActive=!this.isActive))},genIcon(t){return this.$createElement(Qe,t)},genAppendIcon(){const t=!this.subGroup&&this.appendIcon;return t||this.$slots.appendIcon?this.$createElement(Cs,{staticClass:"v-list-group__header__append-icon"},[this.$slots.appendIcon||this.genIcon(t)]):null},genHeader(){return this.$createElement(gs,{staticClass:"v-list-group__header",attrs:{"aria-expanded":String(this.isActive),role:"button"},class:{[this.activeClass]:this.isActive},props:{inputValue:this.isActive},directives:[{name:"ripple",value:this.ripple}],on:{...this.listeners$,click:this.click}},[this.genPrependIcon(),this.$slots.activator,this.genAppendIcon()])},genItems(){return this.showLazyContent(()=>[this.$createElement("div",{staticClass:"v-list-group__items",directives:[{name:"show",value:this.isActive}]},q(this))])},genPrependIcon(){const t=this.subGroup&&null==this.prependIcon?"$subgroup":this.prependIcon;return t||this.$slots.prependIcon?this.$createElement(Cs,{staticClass:"v-list-group__header__prepend-icon"},[this.$slots.prependIcon||this.genIcon(t)]):null},onRouteChange(t){if(!this.group)return;const e=this.matchRoute(t.path);e&&this.isActive!==e&&this.list&&this.list.listClick(this._uid),this.isActive=e},toggle(t){const e=this._uid===t;e&&(this.isBooted=!0),this.$nextTick(()=>this.isActive=e)},matchRoute(t){return null!==t.match(this.group)}},render(t){return t("div",this.setTextColor(this.isActive&&this.color,{staticClass:"v-list-group",class:this.classes}),[this.genHeader(),t(Xe,this.genItems())])}}),i("899c"),i("166a");var $s=u.a.extend({name:"comparable",props:{valueComparator:{type:Function,default:_}}});function ws(t="value",e="change"){return u.a.extend({name:"proxyable",model:{prop:t,event:e},props:{[t]:{required:!1}},data(){return{internalLazyValue:this[t]}},computed:{internalValue:{get(){return this.internalLazyValue},set(t){t!==this.internalLazyValue&&(this.internalLazyValue=t,this.$emit(e,t))}}},watch:{[t](t){this.internalLazyValue=t}}})}const ks=ws();var Os=ks;const Ps=ke($s,Os,$e).extend({name:"base-item-group",props:{activeClass:{type:String,default:"v-item--active"},mandatory:Boolean,max:{type:[Number,String],default:null},multiple:Boolean,tag:{type:String,default:"div"}},data(){return{internalLazyValue:void 0!==this.value?this.value:this.multiple?[]:void 0,items:[]}},computed:{classes(){return{"v-item-group":!0,...this.themeClasses}},selectedIndex(){return this.selectedItem&&this.items.indexOf(this.selectedItem)||-1},selectedItem(){if(!this.multiple)return this.selectedItems[0]},selectedItems(){return this.items.filter((t,e)=>this.toggleMethod(this.getValue(t,e)))},selectedValues(){return null==this.internalValue?[]:Array.isArray(this.internalValue)?this.internalValue:[this.internalValue]},toggleMethod(){if(!this.multiple)return t=>this.valueComparator(this.internalValue,t);const t=this.internalValue;return Array.isArray(t)?e=>t.some(t=>this.valueComparator(t,e)):()=>!1}},watch:{internalValue:"updateItemsState",items:"updateItemsState"},created(){this.multiple&&!Array.isArray(this.internalValue)&&he("Model must be bound to an array if the multiple property is true.",this)},methods:{genData(){return{class:this.classes}},getValue(t,e){return void 0===t.value?e:t.value},onClick(t){this.updateInternalValue(this.getValue(t,this.items.indexOf(t)))},register(t){const e=this.items.push(t)-1;t.$on("change",()=>this.onClick(t)),this.mandatory&&!this.selectedValues.length&&this.updateMandatory(),this.updateItem(t,e)},unregister(t){if(this._isDestroyed)return;const e=this.items.indexOf(t),i=this.getValue(t,e);this.items.splice(e,1);const s=this.selectedValues.indexOf(i);if(!(s<0)){if(!this.mandatory)return this.updateInternalValue(i);this.multiple&&Array.isArray(this.internalValue)?this.internalValue=this.internalValue.filter(t=>t!==i):this.internalValue=void 0,this.selectedItems.length||this.updateMandatory(!0)}},updateItem(t,e){const i=this.getValue(t,e);t.isActive=this.toggleMethod(i)},updateItemsState(){this.$nextTick(()=>{if(this.mandatory&&!this.selectedItems.length)return this.updateMandatory();this.items.forEach(this.updateItem)})},updateInternalValue(t){this.multiple?this.updateMultiple(t):this.updateSingle(t)},updateMandatory(t){if(!this.items.length)return;const e=this.items.slice();t&&e.reverse();const i=e.find(t=>!t.disabled);if(!i)return;const s=this.items.indexOf(i);this.updateInternalValue(this.getValue(i,s))},updateMultiple(t){const e=Array.isArray(this.internalValue)?this.internalValue:[],i=e.slice(),s=i.findIndex(e=>this.valueComparator(e,t));this.mandatory&&s>-1&&i.length-1<1||null!=this.max&&s<0&&i.length+1>this.max||(s>-1?i.splice(s,1):i.push(t),this.internalValue=i)},updateSingle(t){const e=this.valueComparator(this.internalValue,t);this.mandatory&&e||(this.internalValue=e?void 0:t)}},render(t){return t(this.tag,this.genData(),this.$slots.default)}});Ps.extend({name:"v-item-group",provide(){return{itemGroup:this}}}),ke(Ps,_e).extend({name:"v-list-item-group",provide(){return{isInGroup:!0,listItemGroup:this}},computed:{classes(){return{...Ps.options.computed.classes.call(this),"v-list-item-group":!0}}},methods:{genData(){return this.setTextColor(this.color,{...Ps.options.methods.genData.call(this),attrs:{role:"listbox"}})}}}),i("3408");var Is=ke(_e,ys,Zi).extend({name:"v-avatar",props:{left:Boolean,right:Boolean,size:{type:[Number,String],default:48}},computed:{classes(){return{"v-avatar--left":this.left,"v-avatar--right":this.right,...this.roundedClasses}},styles(){return{height:P(this.size),minWidth:P(this.size),width:P(this.size),...this.measurableStyles}}},render(t){const e={staticClass:"v-avatar",class:this.classes,style:this.styles,on:this.$listeners};return t("div",this.setBackgroundColor(this.color,e),this.$slots.default)}}),Ls=Is;Ls.extend({name:"v-list-item-avatar",props:{horizontal:Boolean,size:{type:[Number,String],default:40}},computed:{classes(){return{"v-list-item__avatar--horizontal":this.horizontal,...Ls.options.computed.classes.call(this),"v-avatar--tile":this.tile||this.horizontal}}},render(t){const e=Ls.options.render.call(this,t);return e.data=e.data||{},e.data.staticClass+=" v-list-item__avatar",e}});m("v-list-item__action-text","span");const Ds=m("v-list-item__content","div"),As=m("v-list-item__title","div");m("v-list-item__subtitle","div");var Ms=ke(_e,$e).extend({name:"v-select-list",directives:{ripple:Oi},props:{action:Boolean,dense:Boolean,hideSelected:Boolean,items:{type:Array,default:()=>[]},itemDisabled:{type:[String,Array,Function],default:"disabled"},itemText:{type:[String,Array,Function],default:"text"},itemValue:{type:[String,Array,Function],default:"value"},noDataText:String,noFilter:Boolean,searchInput:null,selectedItems:{type:Array,default:()=>[]}},computed:{parsedItems(){return this.selectedItems.map(t=>this.getValue(t))},tileActiveClass(){return Object.keys(this.setTextColor(this.color).class||{}).join(" ")},staticNoDataTile(){const t={attrs:{role:void 0},on:{mousedown:t=>t.preventDefault()}};return this.$createElement(gs,t,[this.genTileContent(this.noDataText)])}},methods:{genAction(t,e){return this.$createElement(vs,[this.$createElement(cs,{props:{color:this.color,value:e,ripple:!1},on:{input:()=>this.$emit("select",t)}})])},genDivider(t){return this.$createElement(ds,{props:t})},genFilteredText(t){if(t=t||"",!this.searchInput||this.noFilter)return k(t);const{start:e,middle:i,end:s}=this.getMaskedCharacters(t);return`${k(e)}${this.genHighlight(i)}${k(s)}`},genHeader(t){return this.$createElement(fs,{props:t},t.header)},genHighlight(t){return`<span class="v-list-item__mask">${k(t)}</span>`},getMaskedCharacters(t){const e=(this.searchInput||"").toString().toLocaleLowerCase(),i=t.toLocaleLowerCase().indexOf(e);if(i<0)return{start:t,middle:"",end:""};const s=t.slice(0,i),n=t.slice(i,i+e.length),r=t.slice(i+e.length);return{start:s,middle:n,end:r}},genTile({item:t,index:e,disabled:i=null,value:s=!1}){s||(s=this.hasItem(t)),t===Object(t)&&(i=null!==i?i:this.getDisabled(t));const n={attrs:{"aria-selected":String(s),id:`list-item-${this._uid}-${e}`,role:"option"},on:{mousedown:t=>{t.preventDefault()},click:()=>i||this.$emit("select",t)},props:{activeClass:this.tileActiveClass,disabled:i,ripple:!0,inputValue:s}};if(!this.$scopedSlots.item)return this.$createElement(gs,n,[this.action&&!this.hideSelected&&this.items.length>0?this.genAction(t,s):null,this.genTileContent(t,e)]);const r=this,a=this.$scopedSlots.item({parent:r,item:t,attrs:{...n.attrs,...n.props},on:n.on});return this.needsTile(a)?this.$createElement(gs,n,a):a},genTileContent(t,e=0){const i=this.genFilteredText(this.getText(t));return this.$createElement(Ds,[this.$createElement(As,{domProps:{innerHTML:i}})])},hasItem(t){return this.parsedItems.indexOf(this.getValue(t))>-1},needsTile(t){return 1!==t.length||null==t[0].componentOptions||"v-list-item"!==t[0].componentOptions.Ctor.options.name},getDisabled(t){return Boolean(C(t,this.itemDisabled,!1))},getText(t){return String(C(t,this.itemText,t))},getValue(t){return C(t,this.itemValue,this.getText(t))}},render(){const t=[],e=this.items.length;for(let i=0;i<e;i++){const e=this.items[i];this.hideSelected&&this.hasItem(e)||(null==e?t.push(this.genTile({item:e,index:i})):e.header?t.push(this.genHeader(e)):e.divider?t.push(this.genDivider(e)):t.push(this.genTile({item:e,index:i})))}return t.length||t.push(this.$slots["no-data"]||this.staticNoDataTile),this.$slots["prepend-item"]&&t.unshift(this.$slots["prepend-item"]),this.$slots["append-item"]&&t.push(this.$slots["append-item"]),this.$createElement(xs,{staticClass:"v-select-list",class:this.themeClasses,attrs:{role:"listbox",tabindex:-1},props:{dense:this.dense}},t)}}),Ts=(i("d191"),i("1b2c"),ke($e).extend({name:"v-label",functional:!0,props:{absolute:Boolean,color:{type:String,default:"primary"},disabled:Boolean,focused:Boolean,for:String,left:{type:[Number,String],default:0},right:{type:[Number,String],default:"auto"},value:Boolean},render(t,e){const{children:i,listeners:s,props:n}=e,r={staticClass:"v-label",class:{"v-label--active":n.value,"v-label--is-disabled":n.disabled,...we(e)},attrs:{for:n.for,"aria-hidden":!n.for},on:s,style:{left:P(n.left),right:P(n.right),position:n.absolute?"absolute":"relative"},ref:"label"};return t("label",_e.options.methods.setTextColor(n.focused&&n.color,r),i)}})),Bs=Ts,Es=(i("8ff2"),ke(_e,$e).extend({name:"v-messages",props:{value:{type:Array,default:()=>[]}},methods:{genChildren(){return this.$createElement("transition-group",{staticClass:"v-messages__wrapper",attrs:{name:"message-transition",tag:"div"}},this.value.map(this.genMessage))},genMessage(t,e){return this.$createElement("div",{staticClass:"v-messages__message",key:e},q(this,"default",{message:t,key:e})||[t])}},render(t){return t("div",this.setTextColor(this.color,{staticClass:"v-messages",class:this.themeClasses}),[this.genChildren()])}})),Fs=Es;const Vs=ke(_e,ei("form"),$e);var js=Vs.extend({name:"validatable",props:{disabled:Boolean,error:Boolean,errorCount:{type:[Number,String],default:1},errorMessages:{type:[String,Array],default:()=>[]},messages:{type:[String,Array],default:()=>[]},readonly:Boolean,rules:{type:Array,default:()=>[]},success:Boolean,successMessages:{type:[String,Array],default:()=>[]},validateOnBlur:Boolean,value:{required:!1}},data(){return{errorBucket:[],hasColor:!1,hasFocused:!1,hasInput:!1,isFocused:!1,isResetting:!1,lazyValue:this.value,valid:!1}},computed:{computedColor(){if(!this.isDisabled)return this.color?this.color:this.isDark&&!this.appIsDark?"white":"primary"},hasError(){return this.internalErrorMessages.length>0||this.errorBucket.length>0||this.error},hasSuccess(){return this.internalSuccessMessages.length>0||this.success},externalError(){return this.internalErrorMessages.length>0||this.error},hasMessages(){return this.validationTarget.length>0},hasState(){return!this.isDisabled&&(this.hasSuccess||this.shouldValidate&&this.hasError)},internalErrorMessages(){return this.genInternalMessages(this.errorMessages)},internalMessages(){return this.genInternalMessages(this.messages)},internalSuccessMessages(){return this.genInternalMessages(this.successMessages)},internalValue:{get(){return this.lazyValue},set(t){this.lazyValue=t,this.$emit("input",t)}},isDisabled(){return this.disabled||!!this.form&&this.form.disabled},isInteractive(){return!this.isDisabled&&!this.isReadonly},isReadonly(){return this.readonly||!!this.form&&this.form.readonly},shouldValidate(){return!!this.externalError||!this.isResetting&&(this.validateOnBlur?this.hasFocused&&!this.isFocused:this.hasInput||this.hasFocused)},validations(){return this.validationTarget.slice(0,Number(this.errorCount))},validationState(){if(!this.isDisabled)return this.hasError&&this.shouldValidate?"error":this.hasSuccess?"success":this.hasColor?this.computedColor:void 0},validationTarget(){return this.internalErrorMessages.length>0?this.internalErrorMessages:this.successMessages&&this.successMessages.length>0?this.internalSuccessMessages:this.messages&&this.messages.length>0?this.internalMessages:this.shouldValidate?this.errorBucket:[]}},watch:{rules:{handler(t,e){_(t,e)||this.validate()},deep:!0},internalValue(){this.hasInput=!0,this.validateOnBlur||this.$nextTick(this.validate)},isFocused(t){t||this.isDisabled||(this.hasFocused=!0,this.validateOnBlur&&this.$nextTick(this.validate))},isResetting(){setTimeout(()=>{this.hasInput=!1,this.hasFocused=!1,this.isResetting=!1,this.validate()},0)},hasError(t){this.shouldValidate&&this.$emit("update:error",t)},value(t){this.lazyValue=t}},beforeMount(){this.validate()},created(){this.form&&this.form.register(this)},beforeDestroy(){this.form&&this.form.unregister(this)},methods:{genInternalMessages(t){return t?Array.isArray(t)?t:[t]:[]},reset(){this.isResetting=!0,this.internalValue=Array.isArray(this.internalValue)?[]:null},resetValidation(){this.isResetting=!0},validate(t=!1,e){const i=[];e=e||this.internalValue,t&&(this.hasInput=this.hasFocused=!0);for(let s=0;s<this.rules.length;s++){const t=this.rules[s],n="function"===typeof t?t(e):t;!1===n||"string"===typeof n?i.push(n||""):"boolean"!==typeof n&&de(`Rules should return a string or boolean, received '${typeof n}' instead`,this)}return this.errorBucket=i,this.valid=0===i.length,this.valid}}});const Rs=ke(h,js);var zs=Rs.extend().extend({name:"v-input",inheritAttrs:!1,props:{appendIcon:String,backgroundColor:{type:String,default:""},dense:Boolean,height:[Number,String],hideDetails:[Boolean,String],hideSpinButtons:Boolean,hint:String,id:String,label:String,loading:Boolean,persistentHint:Boolean,prependIcon:String,value:null},data(){return{lazyValue:this.value,hasMouseDown:!1}},computed:{classes(){return{"v-input--has-state":this.hasState,"v-input--hide-details":!this.showDetails,"v-input--is-label-active":this.isLabelActive,"v-input--is-dirty":this.isDirty,"v-input--is-disabled":this.isDisabled,"v-input--is-focused":this.isFocused,"v-input--is-loading":!1!==this.loading&&null!=this.loading,"v-input--is-readonly":this.isReadonly,"v-input--dense":this.dense,"v-input--hide-spin-buttons":this.hideSpinButtons,...this.themeClasses}},computedId(){return this.id||"input-"+this._uid},hasDetails(){return this.messagesToDisplay.length>0},hasHint(){return!this.hasMessages&&!!this.hint&&(this.persistentHint||this.isFocused)},hasLabel(){return!(!this.$slots.label&&!this.label)},internalValue:{get(){return this.lazyValue},set(t){this.lazyValue=t,this.$emit(this.$_modelEvent,t)}},isDirty(){return!!this.lazyValue},isLabelActive(){return this.isDirty},messagesToDisplay(){return this.hasHint?[this.hint]:this.hasMessages?this.validations.map(t=>{if("string"===typeof t)return t;const e=t(this.internalValue);return"string"===typeof e?e:""}).filter(t=>""!==t):[]},showDetails(){return!1===this.hideDetails||"auto"===this.hideDetails&&this.hasDetails}},watch:{value(t){this.lazyValue=t}},beforeCreate(){this.$_modelEvent=this.$options.model&&this.$options.model.event||"input"},methods:{genContent(){return[this.genPrependSlot(),this.genControl(),this.genAppendSlot()]},genControl(){return this.$createElement("div",{staticClass:"v-input__control",attrs:{title:this.attrs$.title}},[this.genInputSlot(),this.genMessages()])},genDefaultSlot(){return[this.genLabel(),this.$slots.default]},genIcon(t,e,i={}){const s=this[t+"Icon"],n="click:"+I(t),r=!(!this.listeners$[n]&&!e),a=ze({attrs:{"aria-label":r?I(t).split("-")[0]+" icon":void 0,color:this.validationState,dark:this.dark,disabled:this.isDisabled,light:this.light},on:r?{click:t=>{t.preventDefault(),t.stopPropagation(),this.$emit(n,t),e&&e(t)},mouseup:t=>{t.preventDefault(),t.stopPropagation()}}:void 0},i);return this.$createElement("div",{staticClass:"v-input__icon",class:t?"v-input__icon--"+I(t):void 0},[this.$createElement(Qe,a,s)])},genInputSlot(){return this.$createElement("div",this.setBackgroundColor(this.backgroundColor,{staticClass:"v-input__slot",style:{height:P(this.height)},on:{click:this.onClick,mousedown:this.onMouseDown,mouseup:this.onMouseUp},ref:"input-slot"}),[this.genDefaultSlot()])},genLabel(){return this.hasLabel?this.$createElement(Bs,{props:{color:this.validationState,dark:this.dark,disabled:this.isDisabled,focused:this.hasState,for:this.computedId,light:this.light}},this.$slots.label||this.label):null},genMessages(){return this.showDetails?this.$createElement(Fs,{props:{color:this.hasHint?"":this.validationState,dark:this.dark,light:this.light,value:this.messagesToDisplay},attrs:{role:this.hasMessages?"alert":null},scopedSlots:{default:t=>q(this,"message",t)}}):null},genSlot(t,e,i){if(!i.length)return null;const s=`${t}-${e}`;return this.$createElement("div",{staticClass:"v-input__"+s,ref:s},i)},genPrependSlot(){const t=[];return this.$slots.prepend?t.push(this.$slots.prepend):this.prependIcon&&t.push(this.genIcon("prepend")),this.genSlot("prepend","outer",t)},genAppendSlot(){const t=[];return this.$slots.append?t.push(this.$slots.append):this.appendIcon&&t.push(this.genIcon("append")),this.genSlot("append","outer",t)},onClick(t){this.$emit("click",t)},onMouseDown(t){this.hasMouseDown=!0,this.$emit("mousedown",t)},onMouseUp(t){this.hasMouseDown=!1,this.$emit("mouseup",t)}},render(t){return t("div",this.setTextColor(this.validationState,{staticClass:"v-input",class:this.classes}),this.genContent())}}),Ns=zs,Hs=(i("e9b1"),ke($e).extend({name:"v-counter",functional:!0,props:{value:{type:[Number,String],default:""},max:[Number,String]},render(t,e){const{props:i}=e,s=parseInt(i.max,10),n=parseInt(i.value,10),r=s?`${n} / ${s}`:String(i.value),a=s&&n>s;return t("div",{staticClass:"v-counter",class:{"error--text":a,...we(e)}},r)}})),Ws=Hs;function qs(t,e,i){if("undefined"===typeof window||!("IntersectionObserver"in window))return;const s=e.modifiers||{},n=e.value,{handler:r,options:a}="object"===typeof n?n:{handler:n,options:{}},o=new IntersectionObserver((n=[],a)=>{var o;const l=null===(o=t._observe)||void 0===o?void 0:o[i.context._uid];if(!l)return;const u=n.some(t=>t.isIntersecting);!r||s.quiet&&!l.init||s.once&&!u&&!l.init||r(n,a,u),u&&s.once?Us(t,e,i):l.init=!0},a);t._observe=Object(t._observe),t._observe[i.context._uid]={init:!1,observer:o},o.observe(t)}function Us(t,e,i){var s;const n=null===(s=t._observe)||void 0===s?void 0:s[i.context._uid];n&&(n.observer.unobserve(t),delete t._observe[i.context._uid])}const Ys={inserted:qs,unbind:Us};var Zs=Ys;function Ks(t){return u.a.extend({name:"intersectable",data:()=>({isIntersecting:!1}),mounted(){Zs.inserted(this.$el,{name:"intersect",value:this.onObserve},this.$vnode)},destroyed(){Zs.unbind(this.$el,{name:"intersect",value:this.onObserve},this.$vnode)},methods:{onObserve(e,i,s){if(this.isIntersecting=s,s)for(let n=0,r=t.onVisible.length;n<r;n++){const e=this[t.onVisible[n]];"function"!==typeof e?he(t.onVisible[n]+" method is not available on the instance but referenced in intersectable mixin options"):e()}}}})}i("6ece");const Gs=ke(_e,ji(["absolute","fixed","top","bottom"]),Os,$e);var Xs=Gs.extend({name:"v-progress-linear",directives:{intersect:Zs},props:{active:{type:Boolean,default:!0},backgroundColor:{type:String,default:null},backgroundOpacity:{type:[Number,String],default:null},bufferValue:{type:[Number,String],default:100},color:{type:String,default:"primary"},height:{type:[Number,String],default:4},indeterminate:Boolean,query:Boolean,reverse:Boolean,rounded:Boolean,stream:Boolean,striped:Boolean,value:{type:[Number,String],default:0}},data(){return{internalLazyValue:this.value||0,isVisible:!0}},computed:{__cachedBackground(){return this.$createElement("div",this.setBackgroundColor(this.backgroundColor||this.color,{staticClass:"v-progress-linear__background",style:this.backgroundStyle}))},__cachedBar(){return this.$createElement(this.computedTransition,[this.__cachedBarType])},__cachedBarType(){return this.indeterminate?this.__cachedIndeterminate:this.__cachedDeterminate},__cachedBuffer(){return this.$createElement("div",{staticClass:"v-progress-linear__buffer",style:this.styles})},__cachedDeterminate(){return this.$createElement("div",this.setBackgroundColor(this.color,{staticClass:"v-progress-linear__determinate",style:{width:P(this.normalizedValue,"%")}}))},__cachedIndeterminate(){return this.$createElement("div",{staticClass:"v-progress-linear__indeterminate",class:{"v-progress-linear__indeterminate--active":this.active}},[this.genProgressBar("long"),this.genProgressBar("short")])},__cachedStream(){return this.stream?this.$createElement("div",this.setTextColor(this.color,{staticClass:"v-progress-linear__stream",style:{width:P(100-this.normalizedBuffer,"%")}})):null},backgroundStyle(){const t=null==this.backgroundOpacity?this.backgroundColor?1:.3:parseFloat(this.backgroundOpacity);return{opacity:t,[this.isReversed?"right":"left"]:P(this.normalizedValue,"%"),width:P(Math.max(0,this.normalizedBuffer-this.normalizedValue),"%")}},classes(){return{"v-progress-linear--absolute":this.absolute,"v-progress-linear--fixed":this.fixed,"v-progress-linear--query":this.query,"v-progress-linear--reactive":this.reactive,"v-progress-linear--reverse":this.isReversed,"v-progress-linear--rounded":this.rounded,"v-progress-linear--striped":this.striped,"v-progress-linear--visible":this.isVisible,...this.themeClasses}},computedTransition(){return this.indeterminate?Ke:Ge},isReversed(){return this.$vuetify.rtl!==this.reverse},normalizedBuffer(){return this.normalize(this.bufferValue)},normalizedValue(){return this.normalize(this.internalLazyValue)},reactive(){return Boolean(this.$listeners.change)},styles(){const t={};return this.active||(t.height=0),this.indeterminate||100===parseFloat(this.normalizedBuffer)||(t.width=P(this.normalizedBuffer,"%")),t}},methods:{genContent(){const t=q(this,"default",{value:this.internalLazyValue});return t?this.$createElement("div",{staticClass:"v-progress-linear__content"},t):null},genListeners(){const t=this.$listeners;return this.reactive&&(t.click=this.onClick),t},genProgressBar(t){return this.$createElement("div",this.setBackgroundColor(this.color,{staticClass:"v-progress-linear__indeterminate",class:{[t]:!0}}))},onClick(t){if(!this.reactive)return;const{width:e}=this.$el.getBoundingClientRect();this.internalValue=t.offsetX/e*100},onObserve(t,e,i){this.isVisible=i},normalize(t){return t<0?0:t>100?100:parseFloat(t)}},render(t){const e={staticClass:"v-progress-linear",attrs:{role:"progressbar","aria-valuemin":0,"aria-valuemax":this.normalizedBuffer,"aria-valuenow":this.indeterminate?void 0:this.normalizedValue},class:this.classes,directives:[{name:"intersect",value:this.onObserve}],style:{bottom:this.bottom?0:void 0,height:this.active?P(this.height):0,top:this.top?0:void 0},on:this.genListeners()};return t("div",e,[this.__cachedStream,this.__cachedBackground,this.__cachedBuffer,this.__cachedBar,this.genContent()])}}),Js=Xs,Qs=u.a.extend().extend({name:"loadable",props:{loading:{type:[Boolean,String],default:!1},loaderHeight:{type:[Number,String],default:2}},methods:{genProgress(){return!1===this.loading?null:this.$slots.progress||this.$createElement(Js,{props:{absolute:!0,color:!0===this.loading||""===this.loading?this.color||"primary":this.loading,height:this.loaderHeight,indeterminate:!0}})}}});const tn=ke(Ns,Ks({onVisible:["onResize","tryAutofocus"]}),Qs),en=["color","file","time","date","datetime-local","week","month"];var sn=tn.extend().extend({name:"v-text-field",directives:{resize:as,ripple:Oi},inheritAttrs:!1,props:{appendOuterIcon:String,autofocus:Boolean,clearable:Boolean,clearIcon:{type:String,default:"$clear"},counter:[Boolean,Number,String],counterValue:Function,filled:Boolean,flat:Boolean,fullWidth:Boolean,label:String,outlined:Boolean,placeholder:String,prefix:String,prependInnerIcon:String,persistentPlaceholder:Boolean,reverse:Boolean,rounded:Boolean,shaped:Boolean,singleLine:Boolean,solo:Boolean,soloInverted:Boolean,suffix:String,type:{type:String,default:"text"}},data:()=>({badInput:!1,labelWidth:0,prefixWidth:0,prependWidth:0,initialValue:null,isBooted:!1,isClearing:!1}),computed:{classes(){return{...Ns.options.computed.classes.call(this),"v-text-field":!0,"v-text-field--full-width":this.fullWidth,"v-text-field--prefix":this.prefix,"v-text-field--single-line":this.isSingle,"v-text-field--solo":this.isSolo,"v-text-field--solo-inverted":this.soloInverted,"v-text-field--solo-flat":this.flat,"v-text-field--filled":this.filled,"v-text-field--is-booted":this.isBooted,"v-text-field--enclosed":this.isEnclosed,"v-text-field--reverse":this.reverse,"v-text-field--outlined":this.outlined,"v-text-field--placeholder":this.placeholder,"v-text-field--rounded":this.rounded,"v-text-field--shaped":this.shaped}},computedColor(){const t=js.options.computed.computedColor.call(this);return this.soloInverted&&this.isFocused?this.color||"primary":t},computedCounterValue(){return"function"===typeof this.counterValue?this.counterValue(this.internalValue):[...(this.internalValue||"").toString()].length},hasCounter(){return!1!==this.counter&&null!=this.counter},hasDetails(){return Ns.options.computed.hasDetails.call(this)||this.hasCounter},internalValue:{get(){return this.lazyValue},set(t){this.lazyValue=t,this.$emit("input",this.lazyValue)}},isDirty(){var t;return(null===(t=this.lazyValue)||void 0===t?void 0:t.toString().length)>0||this.badInput},isEnclosed(){return this.filled||this.isSolo||this.outlined},isLabelActive(){return this.isDirty||en.includes(this.type)},isSingle(){return this.isSolo||this.singleLine||this.fullWidth||this.filled&&!this.hasLabel},isSolo(){return this.solo||this.soloInverted},labelPosition(){let t=this.prefix&&!this.labelValue?this.prefixWidth:0;return this.labelValue&&this.prependWidth&&(t-=this.prependWidth),this.$vuetify.rtl===this.reverse?{left:t,right:"auto"}:{left:"auto",right:t}},showLabel(){return this.hasLabel&&!(this.isSingle&&this.labelValue)},labelValue(){return this.isFocused||this.isLabelActive||this.persistentPlaceholder}},watch:{outlined:"setLabelWidth",label(){this.$nextTick(this.setLabelWidth)},prefix(){this.$nextTick(this.setPrefixWidth)},isFocused:"updateValue",value(t){this.lazyValue=t}},created(){this.$attrs.hasOwnProperty("box")&&fe("box","filled",this),this.$attrs.hasOwnProperty("browser-autocomplete")&&fe("browser-autocomplete","autocomplete",this),this.shaped&&!(this.filled||this.outlined||this.isSolo)&&he("shaped should be used with either filled or outlined",this)},mounted(){this.$watch(()=>this.labelValue,this.setLabelWidth),this.autofocus&&this.tryAutofocus(),requestAnimationFrame(()=>{this.isBooted=!0,requestAnimationFrame(()=>{this.isIntersecting||this.onResize()})})},methods:{focus(){this.onFocus()},blur(t){window.requestAnimationFrame(()=>{this.$refs.input&&this.$refs.input.blur()})},clearableCallback(){this.$refs.input&&this.$refs.input.focus(),this.$nextTick(()=>this.internalValue=null)},genAppendSlot(){const t=[];return this.$slots["append-outer"]?t.push(this.$slots["append-outer"]):this.appendOuterIcon&&t.push(this.genIcon("appendOuter")),this.genSlot("append","outer",t)},genPrependInnerSlot(){const t=[];return this.$slots["prepend-inner"]?t.push(this.$slots["prepend-inner"]):this.prependInnerIcon&&t.push(this.genIcon("prependInner")),this.genSlot("prepend","inner",t)},genIconSlot(){const t=[];return this.$slots.append?t.push(this.$slots.append):this.appendIcon&&t.push(this.genIcon("append")),this.genSlot("append","inner",t)},genInputSlot(){const t=Ns.options.methods.genInputSlot.call(this),e=this.genPrependInnerSlot();return e&&(t.children=t.children||[],t.children.unshift(e)),t},genClearIcon(){return this.clearable?this.isDirty?this.genSlot("append","inner",[this.genIcon("clear",this.clearableCallback)]):this.genSlot("append","inner",[this.$createElement("div")]):null},genCounter(){var t,e,i;if(!this.hasCounter)return null;const s=!0===this.counter?this.attrs$.maxlength:this.counter,n={dark:this.dark,light:this.light,max:s,value:this.computedCounterValue};return null!==(i=null===(e=(t=this.$scopedSlots).counter)||void 0===e?void 0:e.call(t,{props:n}))&&void 0!==i?i:this.$createElement(Ws,{props:n})},genControl(){return Ns.options.methods.genControl.call(this)},genDefaultSlot(){return[this.genFieldset(),this.genTextFieldSlot(),this.genClearIcon(),this.genIconSlot(),this.genProgress()]},genFieldset(){return this.outlined?this.$createElement("fieldset",{attrs:{"aria-hidden":!0}},[this.genLegend()]):null},genLabel(){if(!this.showLabel)return null;const t={props:{absolute:!0,color:this.validationState,dark:this.dark,disabled:this.isDisabled,focused:!this.isSingle&&(this.isFocused||!!this.validationState),for:this.computedId,left:this.labelPosition.left,light:this.light,right:this.labelPosition.right,value:this.labelValue}};return this.$createElement(Bs,t,this.$slots.label||this.label)},genLegend(){const t=this.singleLine||!this.labelValue&&!this.isDirty?0:this.labelWidth,e=this.$createElement("span",{domProps:{innerHTML:"​"},staticClass:"notranslate"});return this.$createElement("legend",{style:{width:this.isSingle?void 0:P(t)}},[e])},genInput(){const t=Object.assign({},this.listeners$);delete t.change;const{title:e,...i}=this.attrs$;return this.$createElement("input",{style:{},domProps:{value:"number"===this.type&&Object.is(this.lazyValue,-0)?"-0":this.lazyValue},attrs:{...i,autofocus:this.autofocus,disabled:this.isDisabled,id:this.computedId,placeholder:this.persistentPlaceholder||this.isFocused||!this.hasLabel?this.placeholder:void 0,readonly:this.isReadonly,type:this.type},on:Object.assign(t,{blur:this.onBlur,input:this.onInput,focus:this.onFocus,keydown:this.onKeyDown}),ref:"input",directives:[{name:"resize",modifiers:{quiet:!0},value:this.onResize}]})},genMessages(){if(!this.showDetails)return null;const t=Ns.options.methods.genMessages.call(this),e=this.genCounter();return this.$createElement("div",{staticClass:"v-text-field__details"},[t,e])},genTextFieldSlot(){return this.$createElement("div",{staticClass:"v-text-field__slot"},[this.genLabel(),this.prefix?this.genAffix("prefix"):null,this.genInput(),this.suffix?this.genAffix("suffix"):null])},genAffix(t){return this.$createElement("div",{class:"v-text-field__"+t,ref:t},this[t])},onBlur(t){this.isFocused=!1,t&&this.$nextTick(()=>this.$emit("blur",t))},onClick(){this.isFocused||this.isDisabled||!this.$refs.input||this.$refs.input.focus()},onFocus(t){if(!this.$refs.input)return;const e=Ki(this.$el);return e?e.activeElement!==this.$refs.input?this.$refs.input.focus():void(this.isFocused||(this.isFocused=!0,t&&this.$emit("focus",t))):void 0},onInput(t){const e=t.target;this.internalValue=e.value,this.badInput=e.validity&&e.validity.badInput},onKeyDown(t){t.keyCode===D.enter&&this.lazyValue!==this.initialValue&&(this.initialValue=this.lazyValue,this.$emit("change",this.initialValue)),this.$emit("keydown",t)},onMouseDown(t){t.target!==this.$refs.input&&(t.preventDefault(),t.stopPropagation()),Ns.options.methods.onMouseDown.call(this,t)},onMouseUp(t){this.hasMouseDown&&this.focus(),Ns.options.methods.onMouseUp.call(this,t)},setLabelWidth(){this.outlined&&(this.labelWidth=this.$refs.label?Math.min(.75*this.$refs.label.scrollWidth+6,this.$el.offsetWidth-24):0)},setPrefixWidth(){this.$refs.prefix&&(this.prefixWidth=this.$refs.prefix.offsetWidth)},setPrependWidth(){this.outlined&&this.$refs["prepend-inner"]&&(this.prependWidth=this.$refs["prepend-inner"].offsetWidth)},tryAutofocus(){if(!this.autofocus||"undefined"===typeof document||!this.$refs.input)return!1;const t=Ki(this.$el);return!(!t||t.activeElement===this.$refs.input)&&(this.$refs.input.focus(),!0)},updateValue(t){this.hasColor=t,t?this.initialValue=this.lazyValue:this.initialValue!==this.lazyValue&&this.$emit("change",this.lazyValue)},onResize(){this.setLabelWidth(),this.setPrefixWidth(),this.setPrependWidth()}}}),nn=u.a.extend({name:"filterable",props:{noDataText:{type:String,default:"$vuetify.noDataText"}}});const rn={closeOnClick:!1,closeOnContentClick:!1,disableKeys:!0,openOnClick:!1,maxHeight:304},an=ke(sn,$s,Ei,nn);var on=an.extend().extend({name:"v-select",directives:{ClickOutside:is},props:{appendIcon:{type:String,default:"$dropdown"},attach:{type:null,default:!1},cacheItems:Boolean,chips:Boolean,clearable:Boolean,deletableChips:Boolean,disableLookup:Boolean,eager:Boolean,hideSelected:Boolean,items:{type:Array,default:()=>[]},itemColor:{type:String,default:"primary"},itemDisabled:{type:[String,Array,Function],default:"disabled"},itemText:{type:[String,Array,Function],default:"text"},itemValue:{type:[String,Array,Function],default:"value"},menuProps:{type:[String,Array,Object],default:()=>rn},multiple:Boolean,openOnClear:Boolean,returnObject:Boolean,smallChips:Boolean},data(){return{cachedItems:this.cacheItems?this.items:[],menuIsBooted:!1,isMenuActive:!1,lastItem:20,lazyValue:void 0!==this.value?this.value:this.multiple?[]:void 0,selectedIndex:-1,selectedItems:[],keyboardLookupPrefix:"",keyboardLookupLastTime:0}},computed:{allItems(){return this.filterDuplicates(this.cachedItems.concat(this.items))},classes(){return{...sn.options.computed.classes.call(this),"v-select":!0,"v-select--chips":this.hasChips,"v-select--chips--small":this.smallChips,"v-select--is-menu-active":this.isMenuActive,"v-select--is-multi":this.multiple}},computedItems(){return this.allItems},computedOwns(){return"list-"+this._uid},computedCounterValue(){var t;const e=this.multiple?this.selectedItems:(null!==(t=this.getText(this.selectedItems[0]))&&void 0!==t?t:"").toString();return"function"===typeof this.counterValue?this.counterValue(e):e.length},directives(){return this.isFocused?[{name:"click-outside",value:{handler:this.blur,closeConditional:this.closeConditional,include:()=>this.getOpenDependentElements()}}]:void 0},dynamicHeight(){return"auto"},hasChips(){return this.chips||this.smallChips},hasSlot(){return Boolean(this.hasChips||this.$scopedSlots.selection)},isDirty(){return this.selectedItems.length>0},listData(){const t=this.$vnode&&this.$vnode.context.$options._scopeId,e=t?{[t]:!0}:{};return{attrs:{...e,id:this.computedOwns},props:{action:this.multiple,color:this.itemColor,dense:this.dense,hideSelected:this.hideSelected,items:this.virtualizedItems,itemDisabled:this.itemDisabled,itemText:this.itemText,itemValue:this.itemValue,noDataText:this.$vuetify.lang.t(this.noDataText),selectedItems:this.selectedItems},on:{select:this.selectItem},scopedSlots:{item:this.$scopedSlots.item}}},staticList(){return(this.$slots["no-data"]||this.$slots["prepend-item"]||this.$slots["append-item"])&&de("assert: staticList should not be called if slots are used"),this.$createElement(Ms,this.listData)},virtualizedItems(){return this.$_menuProps.auto?this.computedItems:this.computedItems.slice(0,this.lastItem)},menuCanShow:()=>!0,$_menuProps(){let t="string"===typeof this.menuProps?this.menuProps.split(","):this.menuProps;return Array.isArray(t)&&(t=t.reduce((t,e)=>(t[e.trim()]=!0,t),{})),{...rn,eager:this.eager,value:this.menuCanShow&&this.isMenuActive,nudgeBottom:t.offsetY?1:0,...t}}},watch:{internalValue(t){this.initialValue=t,this.setSelectedItems(),this.multiple&&this.$nextTick(()=>{var t;null===(t=this.$refs.menu)||void 0===t||t.updateDimensions()})},isMenuActive(t){window.setTimeout(()=>this.onMenuActiveChange(t))},items:{immediate:!0,handler(t){this.cacheItems&&this.$nextTick(()=>{this.cachedItems=this.filterDuplicates(this.cachedItems.concat(t))}),this.setSelectedItems()}}},methods:{blur(t){sn.options.methods.blur.call(this,t),this.isMenuActive=!1,this.isFocused=!1,this.selectedIndex=-1,this.setMenuIndex(-1)},activateMenu(){this.isInteractive&&!this.isMenuActive&&(this.isMenuActive=!0)},clearableCallback(){this.setValue(this.multiple?[]:null),this.setMenuIndex(-1),this.$nextTick(()=>this.$refs.input&&this.$refs.input.focus()),this.openOnClear&&(this.isMenuActive=!0)},closeConditional(t){return!this.isMenuActive||!this._isDestroyed&&(!this.getContent()||!this.getContent().contains(t.target))&&this.$el&&!this.$el.contains(t.target)&&t.target!==this.$el},filterDuplicates(t){const e=new Map;for(let i=0;i<t.length;++i){const s=t[i];if(null==s)continue;if(s.header||s.divider){e.set(s,s);continue}const n=this.getValue(s);!e.has(n)&&e.set(n,s)}return Array.from(e.values())},findExistingIndex(t){const e=this.getValue(t);return(this.internalValue||[]).findIndex(t=>this.valueComparator(this.getValue(t),e))},getContent(){return this.$refs.menu&&this.$refs.menu.$refs.content},genChipSelection(t,e){const i=this.isDisabled||this.getDisabled(t),s=!i&&this.isInteractive;return this.$createElement(Li,{staticClass:"v-chip--select",attrs:{tabindex:-1},props:{close:this.deletableChips&&s,disabled:i,inputValue:e===this.selectedIndex,small:this.smallChips},on:{click:t=>{s&&(t.stopPropagation(),this.selectedIndex=e)},"click:close":()=>this.onChipInput(t)},key:JSON.stringify(this.getValue(t))},this.getText(t))},genCommaSelection(t,e,i){const s=e===this.selectedIndex&&this.computedColor,n=this.isDisabled||this.getDisabled(t);return this.$createElement("div",this.setTextColor(s,{staticClass:"v-select__selection v-select__selection--comma",class:{"v-select__selection--disabled":n},key:JSON.stringify(this.getValue(t))}),`${this.getText(t)}${i?"":", "}`)},genDefaultSlot(){const t=this.genSelections(),e=this.genInput();return Array.isArray(t)?t.push(e):(t.children=t.children||[],t.children.push(e)),[this.genFieldset(),this.$createElement("div",{staticClass:"v-select__slot",directives:this.directives},[this.genLabel(),this.prefix?this.genAffix("prefix"):null,t,this.suffix?this.genAffix("suffix"):null,this.genClearIcon(),this.genIconSlot(),this.genHiddenInput()]),this.genMenu(),this.genProgress()]},genIcon(t,e,i){const s=Ns.options.methods.genIcon.call(this,t,e,i);return"append"===t&&(s.children[0].data=ze(s.children[0].data,{attrs:{tabindex:s.children[0].componentOptions.listeners&&"-1","aria-hidden":"true","aria-label":void 0}})),s},genInput(){const t=sn.options.methods.genInput.call(this);return delete t.data.attrs.name,t.data=ze(t.data,{domProps:{value:null},attrs:{readonly:!0,type:"text","aria-readonly":String(this.isReadonly),"aria-activedescendant":x(this.$refs.menu,"activeTile.id"),autocomplete:x(t.data,"attrs.autocomplete","off"),placeholder:this.isDirty||!this.persistentPlaceholder&&!this.isFocused&&this.hasLabel?void 0:this.placeholder},on:{keypress:this.onKeyPress}}),t},genHiddenInput(){return this.$createElement("input",{domProps:{value:this.lazyValue},attrs:{type:"hidden",name:this.attrs$.name}})},genInputSlot(){const t=sn.options.methods.genInputSlot.call(this);return t.data.attrs={...t.data.attrs,role:"button","aria-haspopup":"listbox","aria-expanded":String(this.isMenuActive),"aria-owns":this.computedOwns},t},genList(){return this.$slots["no-data"]||this.$slots["prepend-item"]||this.$slots["append-item"]?this.genListWithSlot():this.staticList},genListWithSlot(){const t=["prepend-item","no-data","append-item"].filter(t=>this.$slots[t]).map(t=>this.$createElement("template",{slot:t},this.$slots[t]));return this.$createElement(Ms,{...this.listData},t)},genMenu(){const t=this.$_menuProps;return t.activator=this.$refs["input-slot"],""===this.attach||!0===this.attach||"attach"===this.attach?t.attach=this.$el:t.attach=this.attach,this.$createElement(us,{attrs:{role:void 0},props:t,on:{input:t=>{this.isMenuActive=t,this.isFocused=t},scroll:this.onScroll},ref:"menu"},[this.genList()])},genSelections(){let t=this.selectedItems.length;const e=new Array(t);let i;i=this.$scopedSlots.selection?this.genSlotSelection:this.hasChips?this.genChipSelection:this.genCommaSelection;while(t--)e[t]=i(this.selectedItems[t],t,t===e.length-1);return this.$createElement("div",{staticClass:"v-select__selections"},e)},genSlotSelection(t,e){return this.$scopedSlots.selection({attrs:{class:"v-chip--select"},parent:this,item:t,index:e,select:t=>{t.stopPropagation(),this.selectedIndex=e},selected:e===this.selectedIndex,disabled:!this.isInteractive})},getMenuIndex(){return this.$refs.menu?this.$refs.menu.listIndex:-1},getDisabled(t){return C(t,this.itemDisabled,!1)},getText(t){return C(t,this.itemText,t)},getValue(t){return C(t,this.itemValue,this.getText(t))},onBlur(t){t&&this.$emit("blur",t)},onChipInput(t){this.multiple?this.selectItem(t):this.setValue(null),0===this.selectedItems.length?this.isMenuActive=!0:this.isMenuActive=!1,this.selectedIndex=-1},onClick(t){this.isInteractive&&(this.isAppendInner(t.target)||(this.isMenuActive=!0),this.isFocused||(this.isFocused=!0,this.$emit("focus")),this.$emit("click",t))},onEscDown(t){t.preventDefault(),this.isMenuActive&&(t.stopPropagation(),this.isMenuActive=!1)},onKeyPress(t){if(this.multiple||!this.isInteractive||this.disableLookup)return;const e=1e3,i=performance.now();i-this.keyboardLookupLastTime>e&&(this.keyboardLookupPrefix=""),this.keyboardLookupPrefix+=t.key.toLowerCase(),this.keyboardLookupLastTime=i;const s=this.allItems.findIndex(t=>{var e;const i=(null!==(e=this.getText(t))&&void 0!==e?e:"").toString();return i.toLowerCase().startsWith(this.keyboardLookupPrefix)}),n=this.allItems[s];-1!==s&&(this.lastItem=Math.max(this.lastItem,s+5),this.setValue(this.returnObject?n:this.getValue(n)),this.$nextTick(()=>this.$refs.menu.getTiles()),setTimeout(()=>this.setMenuIndex(s)))},onKeyDown(t){if(this.isReadonly&&t.keyCode!==D.tab)return;const e=t.keyCode,i=this.$refs.menu;return this.$emit("keydown",t),i?(this.isMenuActive&&[D.up,D.down,D.home,D.end,D.enter].includes(e)&&this.$nextTick(()=>{i.changeListIndex(t),this.$emit("update:list-index",i.listIndex)}),[D.enter,D.space].includes(e)&&this.activateMenu(),!this.isMenuActive&&[D.up,D.down,D.home,D.end].includes(e)?this.onUpDown(t):e===D.esc?this.onEscDown(t):e===D.tab?this.onTabDown(t):e===D.space?this.onSpaceDown(t):void 0):void 0},onMenuActiveChange(t){if(this.multiple&&!t||this.getMenuIndex()>-1)return;const e=this.$refs.menu;if(e&&this.isDirty){this.$refs.menu.getTiles();for(let t=0;t<e.tiles.length;t++)if("true"===e.tiles[t].getAttribute("aria-selected")){this.setMenuIndex(t);break}}},onMouseUp(t){this.hasMouseDown&&3!==t.which&&this.isInteractive&&this.isAppendInner(t.target)&&this.$nextTick(()=>this.isMenuActive=!this.isMenuActive),sn.options.methods.onMouseUp.call(this,t)},onScroll(){if(this.isMenuActive){if(this.lastItem>this.computedItems.length)return;const t=this.getContent().scrollHeight-(this.getContent().scrollTop+this.getContent().clientHeight)<200;t&&(this.lastItem+=20)}else requestAnimationFrame(()=>this.getContent().scrollTop=0)},onSpaceDown(t){t.preventDefault()},onTabDown(t){const e=this.$refs.menu;if(!e)return;const i=e.activeTile;!this.multiple&&i&&this.isMenuActive?(t.preventDefault(),t.stopPropagation(),i.click()):this.blur(t)},onUpDown(t){const e=this.$refs.menu;if(!e)return;if(t.preventDefault(),this.multiple)return this.activateMenu();const i=t.keyCode;e.isBooted=!0,window.requestAnimationFrame(()=>{if(e.getTiles(),!e.hasClickableTiles)return this.activateMenu();switch(i){case D.up:e.prevTile();break;case D.down:e.nextTile();break;case D.home:e.firstTile();break;case D.end:e.lastTile();break}this.selectItem(this.allItems[this.getMenuIndex()])})},selectItem(t){if(this.multiple){const e=(this.internalValue||[]).slice(),i=this.findExistingIndex(t);if(-1!==i?e.splice(i,1):e.push(t),this.setValue(e.map(t=>this.returnObject?t:this.getValue(t))),this.hideSelected)this.setMenuIndex(-1);else{const e=this.allItems.indexOf(t);~e&&(this.$nextTick(()=>this.$refs.menu.getTiles()),setTimeout(()=>this.setMenuIndex(e)))}}else this.setValue(this.returnObject?t:this.getValue(t)),this.isMenuActive=!1},setMenuIndex(t){this.$refs.menu&&(this.$refs.menu.listIndex=t)},setSelectedItems(){const t=[],e=this.multiple&&Array.isArray(this.internalValue)?this.internalValue:[this.internalValue];for(const i of e){const e=this.allItems.findIndex(t=>this.valueComparator(this.getValue(t),this.getValue(i)));e>-1&&t.push(this.allItems[e])}this.selectedItems=t},setValue(t){this.valueComparator(t,this.internalValue)||(this.internalValue=t,this.$emit("change",t))},isAppendInner(t){const e=this.$refs["append-inner"];return e&&(e===t||e.contains(t))}}}),ln=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("i",t._g(t._b({ref:"el",class:t.classes,attrs:{size:t.$props.size}},"i",t.$attrs,!1),t.$listeners))},un=[];const cn=["xs","sm","md","lg","xl"];var hn=u.a.extend({name:"farm-icon",inheritAttrs:!0,props:{color:{type:String,default:"primary"},size:{type:String,default:"default"}},data(){return{icon:""}},computed:{classes(){const t={};return{"farm-icon":!0,["farm-icon--"+this.color]:!0,mdi:!0,["mdi-"+this.icon]:!0,...t}},fontSize(){return isNaN(this.size)?this.size:this.size+"px"}},mounted(){"default"===this.size||cn.includes(this.size)||(this.$el.style.fontSize=this.fontSize)},created(){this.checkForSlotContent()},beforeUpdate(){this.checkForSlotContent()},methods:{checkForSlotContent(){this.$slots.default?this.icon=this.$slots.default[0].text.trim():this.icon=""}}}),dn=hn,pn=(i("39da"),Me(dn,ln,un,!1,null,"fc12ac78",null)),fn=pn.exports,mn=fn,gn=u.a.extend({name:"farm-datatable-paginator",props:{perPageOptions:{type:Array,default:()=>[5,10,20,50,100]},page:null,totalPages:null,disabled:{type:Boolean,default:!1},hidePerPageOptions:{type:Boolean,default:!1},initialLimitPerPage:{type:Number,default:10}},methods:{range(t,e){const i=[];t=t>0?t:1;for(let s=t;s<=e;s++)i.push(s);return i},previousPage(){this.currentPage--},nextPage(){this.currentPage++}},data(){return{selectedLimit:this.initialLimitPerPage,currentPage:this.page}},computed:{perPageBuiltItems:function(){return this.perPageOptions.map(t=>({text:t+" registros por página",value:t}))},itemsInPagination:function(){const t=7;if(this.totalPages<=t)return this.range(1,this.totalPages);const e=t%2===0?1:0,i=Math.floor(t/2),s=this.totalPages-i+1+e;if(this.currentPage>i&&this.currentPage<s){const t=1,s=this.totalPages,n=this.currentPage-i+2,r=this.currentPage+i-2-e,a=n-1===t+1?2:"...",o=r+1===s-1?r+1:"...";return[1,a,...this.range(n,r),o,this.totalPages]}if(this.currentPage===i){const t=this.currentPage+i-1-e;return[...this.range(1,t),"...",this.totalPages]}if(this.currentPage===s){const t=this.currentPage-i+1;return[1,"...",...this.range(t,this.totalPages)]}return[...this.range(1,i),"...",...this.range(s,this.totalPages)]}},watch:{selectedLimit(t){this.$emit("onChangeLimitPerPage",t)},currentPage(t){this.$emit("onChangePage",t)},page(t){this.currentPage=t},initialLimitPerPage(t){this.selectedLimit=t}},components:{VSelect:on,"farm-icon":mn}}),vn=gn,bn=(i("afa9"),Me(vn,Fe,Ve,!1,null,"1481cadd",null)),yn=bn.exports,_n=yn,xn=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("thead",[e("tr",t._l(t.headers,(function(i,s){return e("th",{key:i.value,class:[i.sortable?"sortable":"",t.sortClick[s].clicked?"active":"",i.sortable?"DESC"===t.sortClick[s].descending?"DESC":"ASC":""],style:{textAlign:i.align?i.align:"",width:t.thWidth(i),minWidth:t.thWidth(i)},on:{click:function(e){i.sortable&&t.clickSort(i.value,s)},mouseover:function(e){return t.changeShow(s)},mouseout:function(e){return t.changeHidden(s)}}},[t.isTHDataTableSelect(i)?t._e():e("span",{staticClass:"header-text"},[t._v(" "+t._s(i.text)+" "),i.sortable&&t.sortClick[s].show?e("farm-icon",{class:[t.sortClick[s][i.value]?"farm-icon--desc":"farm-icon--asc"],attrs:{size:"sm",color:"gray"}},[t._v(" sort-descending ")]):t._e()],1),t.isTHDataTableSelect(i)&&t.showCheckbox?e("span",[e("v-simple-checkbox",{attrs:{indeterminate:t.headerProps.someItems&&!t.headerProps.everyItem},on:{input:t.selectAll},model:{value:t.inputVal,callback:function(e){t.inputVal=e},expression:"inputVal"}})],1):t._e()])})),0)])},Cn=[],Sn=u.a.extend({name:"farm-datatable-header",components:{VSimpleCheckbox:cs},props:{headers:{type:Array,required:!0},sortClick:{type:Array,required:!0},firstSelected:{type:Boolean,default:!1},selectedIndex:{type:Number,default:0},value:{default:!1},headerProps:{type:Object},showCheckbox:{default:!0}},computed:{inputVal:{get(){return this.value},set(t){this.$emit("input",t)}}},methods:{getTypeSort(t){return t?"DESC":"ASC"},clickSort(t,e){this.removeClicked(),this.sortClick[e].clicked=!0,this.sortClick[e].show=!0,this.sortClick[e][t]=!this.sortClick[e][t],this.sortClick[e].descending=this.getTypeSort(this.sortClick[e][t]),this.$emit("onClickSort",this.sortClick[e])},changeShow(t){setTimeout(()=>{this.sortClick[t].show=!0},10)},changeHidden(t){setTimeout(()=>{this.sortClick[t].clicked||(this.sortClick[t].show=!1)},10)},removeClicked(){for(let t=0;t<this.sortClick.length;t+=1)this.sortClick[t].clicked=!1,this.sortClick[t].show=!1},checkFirstSelected(t){return t===this.selectedIndex&&this.firstSelected},thWidth(t){return this.isTHDataTableSelect(t)?"64px":t.width?t.width+"px":"auto"},isTHDataTableSelect(t){return"data-table-select"===t.value},selectAll(t){this.$emit("toggleSelectAll",t),this.inputVal=t}},created(){for(let t=0;t<this.headers.length;t+=1)this.sortClick.push({[this.headers[t].value]:!1,descending:"ASC",field:this.headers[t].value,clicked:this.checkFirstSelected(t),show:this.checkFirstSelected(t)})}}),$n=Sn,wn=(i("e268"),Me($n,xn,Cn,!1,null,"6a78d670",null)),kn=wn.exports,On=kn,Pn=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("section",{class:{"justify-end":!0===t.justifyEnd}},[t.hasInitialInput?e("fieldset",[e("farm-label",{attrs:{for:t.elementId}},[t._v(" "+t._s(t.label)+" ")]),e("farm-textfield",{attrs:{id:t.elementId},on:{keyup:t.onKeyUp},model:{value:t.inputValue,callback:function(e){t.inputValue=e},expression:"inputValue"}})],1):t._e(),t.hasExtraFilters?e("farm-btn",{staticClass:"farm-btn--responsive mt-14 mt-sm-8",attrs:{color:"secondary"},on:{click:t.onFilterClick}},[e("farm-icon",{staticClass:"mr-2"},[t._v(t._s(t.extraFiltersBtnIcon))]),t._v(" "+t._s(t.extraFiltersBtnLabel)+" ")],1):t._e()],1)},In=[],Ln=u.a.extend({name:"farm-form-mainfilter",props:{hasExtraFilters:{type:Boolean,default:!0},hasInitialInput:{type:Boolean,default:!0},justifyEnd:{type:Boolean,default:!1},label:{type:String,default:"Quer localizar um cliente?"},elementId:{type:String,default:"form-main-filter-search"},initialValue:{type:String,default:""},showFilters:{type:Boolean,default:!1}},watch:{initialValue(t){this.inputValue=t}},computed:{extraFiltersBtnLabel(){return(this.showFilters?"Esconder":"Ver")+" Filtros"},extraFiltersBtnIcon(){return this.showFilters?"filter-off":"filter"}},data(){return{timer:null,inputValue:this.initialValue}},methods:{onFilterClick(){this.$emit("onClick")},onKeyUp(t){const e=t.keyCode;return 13===e?(this.$emit("onEnter",t.target.value),!1):!(e<48&&8!==e&&46!==e||e>90&&e<96&&91!==e||e>105&&e<186)&&(this.timer&&(clearTimeout(this.timer),this.timer=null),void(this.timer=setTimeout(()=>{this.$emit("onInputChange",t.target.value)},750)))}}}),Dn=Ln,An=(i("787b"),Me(Dn,Pn,In,!1,null,"42f03a65",null)),Mn=An.exports,Tn=Mn,Bn=function(){var t=this,e=t._self._c;t._self._setupProxy;return"overlay"===t.mode?e("div",{staticClass:"farm-loader__overlay",style:t.styleObject},[e("span",{staticClass:"farm-loader__spinner farm-loader__spinner--big"})]):e("div",[e("span",{staticClass:"farm-loader__spinner farm-loader__spinner--big-border",class:t.calculateSize})])},En=[],Fn=u.a.extend({name:"farm-loader",props:{mode:{type:String,default:"inline"},size:{type:String,default:"normal"}},data(){const t=Math.max(...Array.from(document.querySelectorAll("body *"),t=>parseFloat(window.getComputedStyle(t).zIndex)).filter(t=>!Number.isNaN(t)),0);return{styleObject:{zIndex:t}}},computed:{calculateSize(){return"small"===this.size?"loader--small":""}}}),Vn=Fn,jn=(i("0cc0"),Me(Vn,Bn,En,!1,null,"e153ff08",null)),Rn=jn.exports,zn=Rn,Nn=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("section",{ref:"container",attrs:{id:"droparea-container"}},[e("input",{attrs:{type:"file",name:"file",accept:t.acceptedFileTypes},on:{change:function(e){return t.fileChange(e.target.files)}}}),t.selectedFile?t._e():e("div",{staticClass:"selectfile-container"},[e("farm-icon",{attrs:{color:"secondary"}},[t._v("cloud-upload")]),e("p",[t._v("Clique para selecionar ou arraste o arquivo aqui")])],1),t.selectedFile||t.maxSizeReach?e("div",{staticClass:"reset-container"},[t.selectedFile?e("div",[e("farm-icon",[t._v("file")]),t._v(" Arquivo selecionado: "+t._s(t.selectedFile.name)+" ("+t._s(Math.floor(t.selectedFile.size/1024))+"kB) ")],1):t._e(),t.maxSizeReach?e("p",{domProps:{innerHTML:t._s(t.maxSizeReachMsg)}}):t._e(),e("farm-btn",{staticClass:"farm-btn--responsive",attrs:{outlined:"",color:"secondary",title:"Escolher outro"},on:{click:t.reset}},[t._v(" Escolher outro ")])],1):t._e()])},Hn=[],Wn=function(){var t=this,e=t._self._c;t._self._setupProxy;return t.to?e("router-link",t._b({class:t.classes,attrs:{to:t.to,disabled:t.disabled}},"router-link",t.$attrs,!1),[e("span",{staticClass:"farm-btn__content"},[t._t("default")],2)]):e("button",t._g(t._b({class:t.classes,attrs:{disabled:t.disabled,type:t.type,size:t.$props.size}},"button",t.$attrs,!1),t.$listeners),[e("span",{staticClass:"farm-btn__content"},[t._t("default")],2)])},qn=[],Un=u.a.extend({name:"farm-btn",inheritAttrs:!0,props:{color:{type:String,default:"primary"},outlined:{type:Boolean,default:!1},plain:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},rounded:{type:Boolean,default:!1},icon:{type:Boolean,default:!1},elevated:{type:Boolean,default:!1},type:{type:String,default:"button"},to:{type:String,default:null},size:{type:String,default:"default"}},computed:{classes(){const t={};return["outlined","plain","disabled"].filter(t=>this[t]).forEach(e=>{t["farm-btn--"+e]=this[e]}),{"farm-btn":!0,"farm-btn--elevated":this.elevated,"farm-btn--round":this.isRound,"farm-btn--rounded":this.rounded,"farm-btn--icon":this.icon,["farm-btn--"+this.color]:!0,...t}},isRound(){return Boolean(this.icon||this.fab)}}}),Yn=Un,Zn=(i("a2e1"),Me(Yn,Wn,qn,!1,null,"a62da412",null)),Kn=Zn.exports,Gn=Kn,Xn=u.a.extend({name:"farm-filepicker",props:{acceptedFileTypes:{type:String,default:"*"},maxFileSize:{default:null}},data(){return{selectedFile:null,dropArea:null,maxSizeReach:!1}},computed:{maxSizeReachMsg(){return`Arquivo ultrapassou o tamanho máximo de ${this.maxFileSize}MB`}},mounted(){this.dropArea=this.$refs.container,this.addListeners()},methods:{reset(){this.$refs.container.querySelector("input").value="",this.$emit("onReset"),this.maxSizeReach=!1,this.selectedFile=null},fileChange(t){if(this.maxSizeReach=!1,t.length&&!(t.length>1)){if(this.maxFileSize){const e=t[0].size/1048576;if(e>this.maxFileSize)return void(this.maxSizeReach=!0)}this.selectedFile=t[0],this.$emit("onFileChange",this.selectedFile)}},handlerFunctionHighlight(){this.dropArea.classList.add("highlight")},handlerFunctionUnhighlight(){this.dropArea.classList.remove("highlight")},addListeners(){this.dropArea.addEventListener("dragenter",this.handlerFunctionHighlight,!1),this.dropArea.addEventListener("dragleave",this.handlerFunctionUnhighlight,!1),this.dropArea.addEventListener("dragover",this.handlerFunctionHighlight,!1),this.dropArea.addEventListener("drop",this.handlerFunctionUnhighlight,!1)}},components:{"farm-btn":Gn,"farm-icon":mn}}),Jn=Xn,Qn=(i("2e45"),Me(Jn,Nn,Hn,!1,null,"f5ce4d8a",null)),tr=Qn.exports,er=tr,ir=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("section",{ref:"container",attrs:{id:"droparea-container"}},[e("input",{ref:"upload",class:{"hidden-input":t.hasFiles},attrs:{type:"file",name:"file",accept:t.acceptedFileTypes,multiple:""},on:{change:function(e){return t.fileChange(e.target.files)}}}),t.hasFiles?t._e():e("div",{staticClass:"selectfile-container"},[e("farm-icon",{staticClass:"upload-icon",attrs:{color:"secondary",size:"lg"},on:{click:t.addMoreFiles}},[t._v("cloud-upload")]),e("p",[t._v("Clique para selecionar ou arraste o arquivo aqui")])],1),t.downloadFiles.length?e("ul",{staticClass:"listFilesStyled listFilesStyled--download",class:{"listFilesStyled--margin-bottom":0===t.files.length}},t._l(t.downloadFiles,(function(i){return e("li",{key:i.id,staticClass:"itemFilesStyled"},[e("div",{staticClass:"itemFilesContentStyled"},[e("div",{staticClass:"fileDocumentStyled"},[e("farm-icon",{attrs:{color:"white",size:"md"}},[t._v("file")])],1),e("div",[e("span",{attrs:{clas:"textStyled"}},[t._v(" Arquivo selecionado: "+t._s(i.name)+" ("+t._s(t.sizeOf(i.size))+") ")])])]),e("div",{staticClass:"itemFilesContentButtonStyled"},[e("farm-btn",{staticClass:"download-button",attrs:{plain:"",title:"Baixar Arquivo"},on:{click:function(e){return e.preventDefault(),t.onDownload(i.id)}}},[e("farm-icon",{staticClass:"download-button__icon mr-sm-3",attrs:{size:"md"}},[t._v("download")]),e("span",{staticClass:"download-button__text"},[t._v("Baixar Arquivo")])],1)],1)])})),0):t._e(),t.files.length>0?e("ul",{staticClass:"listFilesStyled"},t._l(t.files,(function(i,s){return e("li",{key:s,staticClass:"itemFilesStyled"},[e("div",{staticClass:"itemFilesContentStyled"},[e("div",{staticClass:"fileDocumentStyled"},[e("farm-icon",{attrs:{color:"white",size:"md"}},[t._v("file")])],1),e("div",[e("span",{attrs:{clas:"textStyled"}},[t._v(" Arquivo selecionado: "+t._s(i.name)+" ("+t._s(t.sizeOf(i.size))+") ")])])]),e("div",{staticClass:"itemFilesContentButtonStyled"},[e("span",{staticClass:"mdi mdi-close",attrs:{"aria-role":"button",title:"Remover"},on:{click:function(e){return e.preventDefault(),t.remove(s)}}}),i.success?e("span",{staticClass:"mdi mdi-check"}):t._e()])])})),0):t._e(),t.hasFiles?e("farm-btn",{staticClass:"farm-btn--responsive",attrs:{depressed:"",outlined:"",title:"Escolher Outro",color:"gray",disabled:t.disabledButton},on:{click:t.addMoreFiles}},[t._v(" Escolher Outro ")]):t._e()],1)},sr=[],nr=i("0556"),rr=u.a.extend({name:"farm-multiple-filepicker",components:{"farm-btn":Gn,"farm-icon":mn},props:{acceptedFileTypes:{type:String,default:"*"},maxFileSize:{default:0},maxFilesNumber:{type:Number,default:0},downloadFiles:{type:Array,default:()=>[]}},data(){return{dropArea:null,files:[],sizeOf:nr["sizeOf"]}},computed:{hasFiles(){return this.files.length>0||this.downloadFiles.length>0},filesLength(){return this.files.length+this.downloadFiles.length},disabledButton(){return 0!==this.maxFilesNumber&&this.filesLength>=this.maxFilesNumber}},mounted(){this.dropArea=this.$refs.container,this.addListeners()},methods:{addMoreFiles(){this.$refs.container.querySelector("input").click()},reset(){this.$refs.container.querySelector("input").value=""},fileChange(t){this.files.push(...t)},handlerFunctionHighlight(){this.dropArea.classList.add("highlight")},handlerFunctionUnhighlight(){this.dropArea.classList.remove("highlight")},addListeners(){this.dropArea.addEventListener("dragenter",this.handlerFunctionHighlight,!1),this.dropArea.addEventListener("dragleave",this.handlerFunctionUnhighlight,!1),this.dropArea.addEventListener("dragover",this.handlerFunctionHighlight,!1),this.dropArea.addEventListener("drop",this.handlerFunctionUnhighlight,!1)},remove(t){1===this.files.length&&this.reset(),this.files.splice(t,1)},onDownload(t){this.$emit("onDownload",t)}},watch:{files(t){if(0===t.length&&0===this.downloadFiles.length)return void this.$emit("onFileChange",t);const e=t.filter(t=>"*"!==this.acceptedFileTypes&&-1===this.acceptedFileTypes.indexOf(t.type));if(e.length>0){const e=t.filter(t=>-1!==this.acceptedFileTypes.indexOf(t.type));this.files=e}else{if(this.maxFilesNumber&&t.length+this.downloadFiles.length>this.maxFilesNumber)return this.files=t.slice(0,this.maxFilesNumber-this.downloadFiles.length),void this.$emit("onMaxFilesNumberWarning");if(this.maxFileSize>0){const e=t.filter(t=>{const e=t.size/1048576;return e>this.maxFileSize});if(e.length>0)return this.files=t.filter(t=>{const e=t.size/1048576;return e<this.maxFileSize}),void this.$emit("onMaxFileSizeWarning")}this.$emit("onFileChange",this.files)}}}}),ar=rr,or=(i("6336"),Me(ar,ir,sr,!1,null,"d94d64a2",null)),lr=or.exports,ur=lr,cr=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("v-tabs",{attrs:{color:"secondary"},model:{value:t.selected,callback:function(e){t.selected=e},expression:"selected"}},t._l(t.tabs,(function(i,s){return e("v-tab",{key:s,class:{hideCounter:!t.showCounter},attrs:{disabled:!t.allowUserChange},on:{change:function(e){return t.changeTab(i,s)}}},[t.showCounter?e("div",{staticClass:"pl-3 pr-3 pt-2 pb-2 mr-2 rounded-circle d-inline-block white--text",class:{"is-selected":t.isSelected(s)}},[e("span",[t._v(t._s(s+1))])]):t._e(),e("span",{staticClass:"black--text text-capitalize"},[t._v(t._s(i.name))])])})),1)},hr=[],dr=(i("1bfb"),i("608c"),u.a.extend({name:"mobile",props:{mobileBreakpoint:{type:[Number,String],default(){return this.$vuetify?this.$vuetify.breakpoint.mobileBreakpoint:void 0},validator:t=>!isNaN(Number(t))||["xs","sm","md","lg","xl"].includes(String(t))}},computed:{isMobile(){const{mobile:t,width:e,name:i,mobileBreakpoint:s}=this.$vuetify.breakpoint;if(s===this.mobileBreakpoint)return t;const n=parseInt(this.mobileBreakpoint,10),r=!isNaN(n);return r?e<n:i===this.mobileBreakpoint}},created(){this.$attrs.hasOwnProperty("mobile-break-point")&&pe("mobile-break-point","mobile-breakpoint",this)}}));const pr=t=>{const{touchstartX:e,touchendX:i,touchstartY:s,touchendY:n}=t,r=.5,a=16;t.offsetX=i-e,t.offsetY=n-s,Math.abs(t.offsetY)<r*Math.abs(t.offsetX)&&(t.left&&i<e-a&&t.left(t),t.right&&i>e+a&&t.right(t)),Math.abs(t.offsetX)<r*Math.abs(t.offsetY)&&(t.up&&n<s-a&&t.up(t),t.down&&n>s+a&&t.down(t))};function fr(t,e){const i=t.changedTouches[0];e.touchstartX=i.clientX,e.touchstartY=i.clientY,e.start&&e.start(Object.assign(t,e))}function mr(t,e){const i=t.changedTouches[0];e.touchendX=i.clientX,e.touchendY=i.clientY,e.end&&e.end(Object.assign(t,e)),pr(e)}function gr(t,e){const i=t.changedTouches[0];e.touchmoveX=i.clientX,e.touchmoveY=i.clientY,e.move&&e.move(Object.assign(t,e))}function vr(t){const e={touchstartX:0,touchstartY:0,touchendX:0,touchendY:0,touchmoveX:0,touchmoveY:0,offsetX:0,offsetY:0,left:t.left,right:t.right,up:t.up,down:t.down,start:t.start,move:t.move,end:t.end};return{touchstart:t=>fr(t,e),touchend:t=>mr(t,e),touchmove:t=>gr(t,e)}}function br(t,e,i){const s=e.value,n=s.parent?t.parentElement:t,r=s.options||{passive:!0};if(!n)return;const a=vr(e.value);n._touchHandlers=Object(n._touchHandlers),n._touchHandlers[i.context._uid]=a,M(a).forEach(t=>{n.addEventListener(t,a[t],r)})}function yr(t,e,i){const s=e.value.parent?t.parentElement:t;if(!s||!s._touchHandlers)return;const n=s._touchHandlers[i.context._uid];M(n).forEach(t=>{s.removeEventListener(t,n[t])}),delete s._touchHandlers[i.context._uid]}const _r={inserted:br,unbind:yr};var xr=_r;function Cr(t){const e=.501,i=Math.abs(t);return Math.sign(t)*(i/((1/e-2)*(1-i)+1))}function Sr(t,e,i,s){const n=t.clientWidth,r=i?e.content-t.offsetLeft-n:t.offsetLeft;i&&(s=-s);const a=e.wrapper+s,o=n+r,l=.4*n;return r<=s?s=Math.max(r-l,0):a<=o&&(s=Math.min(s-(a-o-l),e.content-e.wrapper)),i?-s:s}function $r(t,e,i){const{offsetLeft:s,clientWidth:n}=t;if(i){const t=e.content-s-n/2-e.wrapper/2;return-Math.min(e.content-e.wrapper,Math.max(0,t))}{const t=s+n/2-e.wrapper/2;return Math.min(e.content-e.wrapper,Math.max(0,t))}}const wr=ke(Ps,dr).extend({name:"base-slide-group",directives:{Resize:as,Touch:xr},props:{activeClass:{type:String,default:"v-slide-item--active"},centerActive:Boolean,nextIcon:{type:String,default:"$next"},prevIcon:{type:String,default:"$prev"},showArrows:{type:[Boolean,String],validator:t=>"boolean"===typeof t||["always","desktop","mobile"].includes(t)}},data:()=>({isOverflowing:!1,resizeTimeout:0,startX:0,isSwipingHorizontal:!1,isSwiping:!1,scrollOffset:0,widths:{content:0,wrapper:0}}),computed:{canTouch(){return"undefined"!==typeof window},__cachedNext(){return this.genTransition("next")},__cachedPrev(){return this.genTransition("prev")},classes(){return{...Ps.options.computed.classes.call(this),"v-slide-group":!0,"v-slide-group--has-affixes":this.hasAffixes,"v-slide-group--is-overflowing":this.isOverflowing}},hasAffixes(){switch(this.showArrows){case"always":return!0;case"desktop":return!this.isMobile;case!0:return this.isOverflowing||Math.abs(this.scrollOffset)>0;case"mobile":return this.isMobile||this.isOverflowing||Math.abs(this.scrollOffset)>0;default:return!this.isMobile&&(this.isOverflowing||Math.abs(this.scrollOffset)>0)}},hasNext(){if(!this.hasAffixes)return!1;const{content:t,wrapper:e}=this.widths;return t>Math.abs(this.scrollOffset)+e},hasPrev(){return this.hasAffixes&&0!==this.scrollOffset}},watch:{internalValue:"setWidths",isOverflowing:"setWidths",scrollOffset(t){this.$vuetify.rtl&&(t=-t);let e=t<=0?Cr(-t):t>this.widths.content-this.widths.wrapper?-(this.widths.content-this.widths.wrapper)+Cr(this.widths.content-this.widths.wrapper-t):-t;this.$vuetify.rtl&&(e=-e),this.$refs.content.style.transform=`translateX(${e}px)`}},mounted(){if("undefined"!==typeof ResizeObserver){const t=new ResizeObserver(()=>{this.onResize()});t.observe(this.$el),t.observe(this.$refs.content),this.$on("hook:destroyed",()=>{t.disconnect()})}else{let t=0;this.$on("hook:beforeUpdate",()=>{var e;t=((null===(e=this.$refs.content)||void 0===e?void 0:e.children)||[]).length}),this.$on("hook:updated",()=>{var e;t!==((null===(e=this.$refs.content)||void 0===e?void 0:e.children)||[]).length&&this.setWidths()})}},methods:{onScroll(){this.$refs.wrapper.scrollLeft=0},onFocusin(t){if(this.isOverflowing)for(const e of G(t))for(const t of this.items)if(t.$el===e)return void(this.scrollOffset=Sr(t.$el,this.widths,this.$vuetify.rtl,this.scrollOffset))},genNext(){const t=this.$scopedSlots.next?this.$scopedSlots.next({}):this.$slots.next||this.__cachedNext;return this.$createElement("div",{staticClass:"v-slide-group__next",class:{"v-slide-group__next--disabled":!this.hasNext},on:{click:()=>this.onAffixClick("next")},key:"next"},[t])},genContent(){return this.$createElement("div",{staticClass:"v-slide-group__content",ref:"content",on:{focusin:this.onFocusin}},this.$slots.default)},genData(){return{class:this.classes,directives:[{name:"resize",value:this.onResize}]}},genIcon(t){let e=t;this.$vuetify.rtl&&"prev"===t?e="next":this.$vuetify.rtl&&"next"===t&&(e="prev");const i=`${t[0].toUpperCase()}${t.slice(1)}`,s=this["has"+i];return this.showArrows||s?this.$createElement(Qe,{props:{disabled:!s}},this[e+"Icon"]):null},genPrev(){const t=this.$scopedSlots.prev?this.$scopedSlots.prev({}):this.$slots.prev||this.__cachedPrev;return this.$createElement("div",{staticClass:"v-slide-group__prev",class:{"v-slide-group__prev--disabled":!this.hasPrev},on:{click:()=>this.onAffixClick("prev")},key:"prev"},[t])},genTransition(t){return this.$createElement(Ke,[this.genIcon(t)])},genWrapper(){return this.$createElement("div",{staticClass:"v-slide-group__wrapper",directives:[{name:"touch",value:{start:t=>this.overflowCheck(t,this.onTouchStart),move:t=>this.overflowCheck(t,this.onTouchMove),end:t=>this.overflowCheck(t,this.onTouchEnd)}}],ref:"wrapper",on:{scroll:this.onScroll}},[this.genContent()])},calculateNewOffset(t,e,i,s){const n=i?-1:1,r=n*s+("prev"===t?-1:1)*e.wrapper;return n*Math.max(Math.min(r,e.content-e.wrapper),0)},onAffixClick(t){this.$emit("click:"+t),this.scrollTo(t)},onResize(){this._isDestroyed||this.setWidths()},onTouchStart(t){const{content:e}=this.$refs;this.startX=this.scrollOffset+t.touchstartX,e.style.setProperty("transition","none"),e.style.setProperty("willChange","transform")},onTouchMove(t){if(this.canTouch){if(!this.isSwiping){const e=t.touchmoveX-t.touchstartX,i=t.touchmoveY-t.touchstartY;this.isSwipingHorizontal=Math.abs(e)>Math.abs(i),this.isSwiping=!0}this.isSwipingHorizontal&&(this.scrollOffset=this.startX-t.touchmoveX,document.documentElement.style.overflowY="hidden")}},onTouchEnd(){if(!this.canTouch)return;const{content:t,wrapper:e}=this.$refs,i=t.clientWidth-e.clientWidth;t.style.setProperty("transition",null),t.style.setProperty("willChange",null),this.$vuetify.rtl?this.scrollOffset>0||!this.isOverflowing?this.scrollOffset=0:this.scrollOffset<=-i&&(this.scrollOffset=-i):this.scrollOffset<0||!this.isOverflowing?this.scrollOffset=0:this.scrollOffset>=i&&(this.scrollOffset=i),this.isSwiping=!1,document.documentElement.style.removeProperty("overflow-y")},overflowCheck(t,e){t.stopPropagation(),this.isOverflowing&&e(t)},scrollIntoView(){if(!this.selectedItem&&this.items.length){const t=this.items[this.items.length-1].$el.getBoundingClientRect(),e=this.$refs.wrapper.getBoundingClientRect();(this.$vuetify.rtl&&e.right<t.right||!this.$vuetify.rtl&&e.left>t.left)&&this.scrollTo("prev")}this.selectedItem&&(0===this.selectedIndex||!this.centerActive&&!this.isOverflowing?this.scrollOffset=0:this.centerActive?this.scrollOffset=$r(this.selectedItem.$el,this.widths,this.$vuetify.rtl):this.isOverflowing&&(this.scrollOffset=Sr(this.selectedItem.$el,this.widths,this.$vuetify.rtl,this.scrollOffset)))},scrollTo(t){this.scrollOffset=this.calculateNewOffset(t,{content:this.$refs.content?this.$refs.content.clientWidth:0,wrapper:this.$refs.wrapper?this.$refs.wrapper.clientWidth:0},this.$vuetify.rtl,this.scrollOffset)},setWidths(){window.requestAnimationFrame(()=>{if(this._isDestroyed)return;const{content:t,wrapper:e}=this.$refs;this.widths={content:t?t.clientWidth:0,wrapper:e?e.clientWidth:0},this.isOverflowing=this.widths.wrapper+1<this.widths.content,this.scrollIntoView()})}},render(t){return t("div",this.genData(),[this.genPrev(),this.genWrapper(),this.genNext()])}});wr.extend({name:"v-slide-group",provide(){return{slideGroup:this}}});var kr=u.a.extend({name:"ssr-bootable",data:()=>({isBooted:!1}),mounted(){window.requestAnimationFrame(()=>{this.$el.setAttribute("data-booted","true"),this.isBooted=!0})}}),Or=ke(wr,kr,$e).extend({name:"v-tabs-bar",provide(){return{tabsBar:this}},computed:{classes(){return{...wr.options.computed.classes.call(this),"v-tabs-bar":!0,"v-tabs-bar--is-mobile":this.isMobile,"v-tabs-bar--show-arrows":this.showArrows,...this.themeClasses}}},watch:{items:"callSlider",internalValue:"callSlider",$route:"onRouteChange"},methods:{callSlider(){this.isBooted&&this.$emit("call:slider")},genContent(){const t=wr.options.methods.genContent.call(this);return t.data=t.data||{},t.data.staticClass+=" v-tabs-bar__content",t},onRouteChange(t,e){if(this.mandatory)return;const i=this.items,s=t.path,n=e.path;let r=!1,a=!1;for(const o of i)if(o.to===n?a=!0:o.to===s&&(r=!0),r&&a)break;!r&&a&&(this.internalValue=void 0)}},render(t){const e=wr.options.render.call(this,t);return e.data.attrs={role:"tablist"},e}}),Pr=(i("13b3"),i("86cc"),_s),Ir=(i("8d4f"),_e.extend({name:"v-progress-circular",directives:{intersect:Zs},props:{button:Boolean,indeterminate:Boolean,rotate:{type:[Number,String],default:0},size:{type:[Number,String],default:32},width:{type:[Number,String],default:4},value:{type:[Number,String],default:0}},data:()=>({radius:20,isVisible:!0}),computed:{calculatedSize(){return Number(this.size)+(this.button?8:0)},circumference(){return 2*Math.PI*this.radius},classes(){return{"v-progress-circular--visible":this.isVisible,"v-progress-circular--indeterminate":this.indeterminate,"v-progress-circular--button":this.button}},normalizedValue(){return this.value<0?0:this.value>100?100:parseFloat(this.value)},strokeDashArray(){return Math.round(1e3*this.circumference)/1e3},strokeDashOffset(){return(100-this.normalizedValue)/100*this.circumference+"px"},strokeWidth(){return Number(this.width)/+this.size*this.viewBoxSize*2},styles(){return{height:P(this.calculatedSize),width:P(this.calculatedSize)}},svgStyles(){return{transform:`rotate(${Number(this.rotate)}deg)`}},viewBoxSize(){return this.radius/(1-Number(this.width)/+this.size)}},methods:{genCircle(t,e){return this.$createElement("circle",{class:"v-progress-circular__"+t,attrs:{fill:"transparent",cx:2*this.viewBoxSize,cy:2*this.viewBoxSize,r:this.radius,"stroke-width":this.strokeWidth,"stroke-dasharray":this.strokeDashArray,"stroke-dashoffset":e}})},genSvg(){const t=[this.indeterminate||this.genCircle("underlay",0),this.genCircle("overlay",this.strokeDashOffset)];return this.$createElement("svg",{style:this.svgStyles,attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:`${this.viewBoxSize} ${this.viewBoxSize} ${2*this.viewBoxSize} ${2*this.viewBoxSize}`}},t)},genInfo(){return this.$createElement("div",{staticClass:"v-progress-circular__info"},this.$slots.default)},onObserve(t,e,i){this.isVisible=i}},render(t){return t("div",this.setTextColor(this.color,{staticClass:"v-progress-circular",attrs:{role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":this.indeterminate?void 0:this.normalizedValue},class:this.classes,directives:[{name:"intersect",value:this.onObserve}],style:this.styles,on:this.$listeners}),[this.genSvg(),this.genInfo()])}})),Lr=Ir;const Dr=ke(Pr,Pi,Ri,xe,si("btnToggle"),ni("inputValue"));var Ar=Dr.extend().extend({name:"v-btn",props:{activeClass:{type:String,default(){return this.btnToggle?this.btnToggle.activeClass:""}},block:Boolean,depressed:Boolean,fab:Boolean,icon:Boolean,loading:Boolean,outlined:Boolean,plain:Boolean,retainFocusOnClick:Boolean,rounded:Boolean,tag:{type:String,default:"button"},text:Boolean,tile:Boolean,type:{type:String,default:"button"},value:null},data:()=>({proxyClass:"v-btn--active"}),computed:{classes(){return{"v-btn":!0,...Pi.options.computed.classes.call(this),"v-btn--absolute":this.absolute,"v-btn--block":this.block,"v-btn--bottom":this.bottom,"v-btn--disabled":this.disabled,"v-btn--is-elevated":this.isElevated,"v-btn--fab":this.fab,"v-btn--fixed":this.fixed,"v-btn--has-bg":this.hasBg,"v-btn--icon":this.icon,"v-btn--left":this.left,"v-btn--loading":this.loading,"v-btn--outlined":this.outlined,"v-btn--plain":this.plain,"v-btn--right":this.right,"v-btn--round":this.isRound,"v-btn--rounded":this.rounded,"v-btn--router":this.to,"v-btn--text":this.text,"v-btn--tile":this.tile,"v-btn--top":this.top,...this.themeClasses,...this.groupClasses,...this.elevationClasses,...this.sizeableClasses}},computedElevation(){if(!this.disabled)return bs.options.computed.computedElevation.call(this)},computedRipple(){var t;const e=!this.icon&&!this.fab||{circle:!0};return!this.disabled&&(null!==(t=this.ripple)&&void 0!==t?t:e)},hasBg(){return!this.text&&!this.plain&&!this.outlined&&!this.icon},isElevated(){return Boolean(!this.icon&&!this.text&&!this.outlined&&!this.depressed&&!this.disabled&&!this.plain&&(null==this.elevation||Number(this.elevation)>0))},isRound(){return Boolean(this.icon||this.fab)},styles(){return{...this.measurableStyles}}},created(){const t=[["flat","text"],["outline","outlined"],["round","rounded"]];t.forEach(([t,e])=>{this.$attrs.hasOwnProperty(t)&&fe(t,e,this)})},methods:{click(t){!this.retainFocusOnClick&&!this.fab&&t.detail&&this.$el.blur(),this.$emit("click",t),this.btnToggle&&this.toggle()},genContent(){return this.$createElement("span",{staticClass:"v-btn__content"},this.$slots.default)},genLoader(){return this.$createElement("span",{class:"v-btn__loader"},this.$slots.loader||[this.$createElement(Lr,{props:{indeterminate:!0,size:23,width:2}})])}},render(t){const e=[this.genContent(),this.loading&&this.genLoader()],{tag:i,data:s}=this.generateRouteLink(),n=this.hasBg?this.setBackgroundColor:this.setTextColor;return"button"===i&&(s.attrs.type=this.type,s.attrs.disabled=this.disabled),s.attrs.value=["string","number"].includes(typeof this.value)?this.value:JSON.stringify(this.value),t(i,this.disabled?s:n(this.color,s),e)}}),Mr=Ar,Tr=Ps.extend({name:"v-window",directives:{Touch:xr},provide(){return{windowGroup:this}},props:{activeClass:{type:String,default:"v-window-item--active"},continuous:Boolean,mandatory:{type:Boolean,default:!0},nextIcon:{type:[Boolean,String],default:"$next"},prevIcon:{type:[Boolean,String],default:"$prev"},reverse:Boolean,showArrows:Boolean,showArrowsOnHover:Boolean,touch:Object,touchless:Boolean,value:{required:!1},vertical:Boolean},data(){return{changedByDelimiters:!1,internalHeight:void 0,transitionHeight:void 0,transitionCount:0,isBooted:!1,isReverse:!1}},computed:{isActive(){return this.transitionCount>0},classes(){return{...Ps.options.computed.classes.call(this),"v-window--show-arrows-on-hover":this.showArrowsOnHover}},computedTransition(){if(!this.isBooted)return"";const t=this.vertical?"y":"x",e=this.internalReverse?!this.isReverse:this.isReverse,i=e?"-reverse":"";return`v-window-${t}${i}-transition`},hasActiveItems(){return Boolean(this.items.find(t=>!t.disabled))},hasNext(){return this.continuous||this.internalIndex<this.items.length-1},hasPrev(){return this.continuous||this.internalIndex>0},internalIndex(){return this.items.findIndex((t,e)=>this.internalValue===this.getValue(t,e))},internalReverse(){return this.$vuetify.rtl?!this.reverse:this.reverse}},watch:{internalIndex(t,e){this.isReverse=this.updateReverse(t,e)}},mounted(){window.requestAnimationFrame(()=>this.isBooted=!0)},methods:{genDefaultSlot(){return this.$slots.default},genContainer(){const t=[this.genDefaultSlot()];return this.showArrows&&t.push(this.genControlIcons()),this.$createElement("div",{staticClass:"v-window__container",class:{"v-window__container--is-active":this.isActive},style:{height:this.internalHeight||this.transitionHeight}},t)},genIcon(t,e,i){var s,n,r;const a={click:t=>{t.stopPropagation(),this.changedByDelimiters=!0,i()}},o={"aria-label":this.$vuetify.lang.t("$vuetify.carousel."+t)},l=null!==(r=null===(n=(s=this.$scopedSlots)[t])||void 0===n?void 0:n.call(s,{on:a,attrs:o}))&&void 0!==r?r:[this.$createElement(Mr,{props:{icon:!0},attrs:o,on:a},[this.$createElement(Qe,{props:{large:!0}},e)])];return this.$createElement("div",{staticClass:"v-window__"+t},l)},genControlIcons(){const t=[],e=this.$vuetify.rtl?this.nextIcon:this.prevIcon;if(this.hasPrev&&e&&"string"===typeof e){const i=this.genIcon("prev",e,this.prev);i&&t.push(i)}const i=this.$vuetify.rtl?this.prevIcon:this.nextIcon;if(this.hasNext&&i&&"string"===typeof i){const e=this.genIcon("next",i,this.next);e&&t.push(e)}return t},getNextIndex(t){const e=(t+1)%this.items.length,i=this.items[e];return i.disabled?this.getNextIndex(e):e},getPrevIndex(t){const e=(t+this.items.length-1)%this.items.length,i=this.items[e];return i.disabled?this.getPrevIndex(e):e},next(){if(!this.hasActiveItems||!this.hasNext)return;const t=this.getNextIndex(this.internalIndex),e=this.items[t];this.internalValue=this.getValue(e,t)},prev(){if(!this.hasActiveItems||!this.hasPrev)return;const t=this.getPrevIndex(this.internalIndex),e=this.items[t];this.internalValue=this.getValue(e,t)},updateReverse(t,e){const i=this.items.length,s=i-1;return i<=2?t<e:t===s&&0===e||(0!==t||e!==s)&&t<e}},render(t){const e={staticClass:"v-window",class:this.classes,directives:[]};if(!this.touchless){const t=this.touch||{left:()=>{this.$vuetify.rtl?this.prev():this.next()},right:()=>{this.$vuetify.rtl?this.next():this.prev()},end:t=>{t.stopPropagation()},start:t=>{t.stopPropagation()}};e.directives.push({name:"touch",value:t})}return t("div",e,[this.genContainer()])}}),Br=Tr.extend({name:"v-tabs-items",props:{mandatory:{type:Boolean,default:!1}},computed:{classes(){return{...Tr.options.computed.classes.call(this),"v-tabs-items":!0}},isDark(){return this.rootIsDark}},methods:{getValue(t,e){return t.id||Ps.options.methods.getValue.call(this,t,e)}}}),Er=ke(_e).extend({name:"v-tabs-slider",render(t){return t("div",this.setBackgroundColor(this.color,{staticClass:"v-tabs-slider"}))}});const Fr=ke(_e,Os,$e);var Vr=Fr.extend().extend({name:"v-tabs",directives:{Resize:as},props:{activeClass:{type:String,default:""},alignWithTitle:Boolean,backgroundColor:String,centerActive:Boolean,centered:Boolean,fixedTabs:Boolean,grow:Boolean,height:{type:[Number,String],default:void 0},hideSlider:Boolean,iconsAndText:Boolean,mobileBreakpoint:[String,Number],nextIcon:{type:String,default:"$next"},optional:Boolean,prevIcon:{type:String,default:"$prev"},right:Boolean,showArrows:[Boolean,String],sliderColor:String,sliderSize:{type:[Number,String],default:2},vertical:Boolean},data(){return{resizeTimeout:0,slider:{height:null,left:null,right:null,top:null,width:null},transitionTime:300}},computed:{classes(){return{"v-tabs--align-with-title":this.alignWithTitle,"v-tabs--centered":this.centered,"v-tabs--fixed-tabs":this.fixedTabs,"v-tabs--grow":this.grow,"v-tabs--icons-and-text":this.iconsAndText,"v-tabs--right":this.right,"v-tabs--vertical":this.vertical,...this.themeClasses}},isReversed(){return this.$vuetify.rtl&&this.vertical},sliderStyles(){return{height:P(this.slider.height),left:this.isReversed?void 0:P(this.slider.left),right:this.isReversed?P(this.slider.right):void 0,top:this.vertical?P(this.slider.top):void 0,transition:null!=this.slider.left?null:"none",width:P(this.slider.width)}},computedColor(){return this.color?this.color:this.isDark&&!this.appIsDark?"white":"primary"}},watch:{alignWithTitle:"callSlider",centered:"callSlider",centerActive:"callSlider",fixedTabs:"callSlider",grow:"callSlider",iconsAndText:"callSlider",right:"callSlider",showArrows:"callSlider",vertical:"callSlider","$vuetify.application.left":"onResize","$vuetify.application.right":"onResize","$vuetify.rtl":"onResize"},mounted(){if("undefined"!==typeof ResizeObserver){const t=new ResizeObserver(()=>{this.onResize()});t.observe(this.$el),this.$on("hook:destroyed",()=>{t.disconnect()})}this.$nextTick(()=>{window.setTimeout(this.callSlider,30)})},methods:{callSlider(){return!this.hideSlider&&this.$refs.items&&this.$refs.items.selectedItems.length?(this.$nextTick(()=>{const t=this.$refs.items.selectedItems[0];if(!t||!t.$el)return this.slider.width=0,void(this.slider.left=0);const e=t.$el;this.slider={height:this.vertical?e.scrollHeight:Number(this.sliderSize),left:this.vertical?0:e.offsetLeft,right:this.vertical?0:e.offsetLeft+e.offsetWidth,top:e.offsetTop,width:this.vertical?Number(this.sliderSize):e.scrollWidth}}),!0):(this.slider.width=0,!1)},genBar(t,e){const i={style:{height:P(this.height)},props:{activeClass:this.activeClass,centerActive:this.centerActive,dark:this.dark,light:this.light,mandatory:!this.optional,mobileBreakpoint:this.mobileBreakpoint,nextIcon:this.nextIcon,prevIcon:this.prevIcon,showArrows:this.showArrows,value:this.internalValue},on:{"call:slider":this.callSlider,change:t=>{this.internalValue=t}},ref:"items"};return this.setTextColor(this.computedColor,i),this.setBackgroundColor(this.backgroundColor,i),this.$createElement(Or,i,[this.genSlider(e),t])},genItems(t,e){return t||(e.length?this.$createElement(Br,{props:{value:this.internalValue},on:{change:t=>{this.internalValue=t}}},e):null)},genSlider(t){return this.hideSlider?null:(t||(t=this.$createElement(Er,{props:{color:this.sliderColor}})),this.$createElement("div",{staticClass:"v-tabs-slider-wrapper",style:this.sliderStyles},[t]))},onResize(){this._isDestroyed||(clearTimeout(this.resizeTimeout),this.resizeTimeout=window.setTimeout(this.callSlider,0))},parseNodes(){let t=null,e=null;const i=[],s=[],n=this.$slots.default||[],r=n.length;for(let a=0;a<r;a++){const r=n[a];if(r.componentOptions)switch(r.componentOptions.Ctor.options.name){case"v-tabs-slider":e=r;break;case"v-tabs-items":t=r;break;case"v-tab-item":i.push(r);break;default:s.push(r)}else s.push(r)}return{tab:s,slider:e,items:t,item:i}}},render(t){const{tab:e,slider:i,items:s,item:n}=this.parseNodes();return t("div",{staticClass:"v-tabs",class:this.classes,directives:[{name:"resize",modifiers:{quiet:!0},value:this.onResize}]},[this.genBar(e,i),this.genItems(s,n)])}});const jr=ke(Pi,si("tabsBar"),$e);var Rr=jr.extend().extend().extend({name:"v-tab",props:{ripple:{type:[Boolean,Object],default:!0}},data:()=>({proxyClass:"v-tab--active"}),computed:{classes(){return{"v-tab":!0,...Pi.options.computed.classes.call(this),"v-tab--disabled":this.disabled,...this.groupClasses}},value(){let t=this.to||this.href;if(null==t)return t;if(this.$router&&this.to===Object(this.to)){const e=this.$router.resolve(this.to,this.$route,this.append);t=e.href}return t.replace("#","")}},methods:{click(t){this.disabled?t.preventDefault():(this.href&&this.href.indexOf("#")>-1&&t.preventDefault(),t.detail&&this.$el.blur(),this.$emit("click",t),this.to||this.toggle())},toggle(){this.isActive&&(this.tabsBar.mandatory||this.to)||this.$emit("change")}},render(t){const{tag:e,data:i}=this.generateRouteLink();return i.attrs={...i.attrs,"aria-selected":String(this.isActive),role:"tab",tabindex:this.disabled?-1:0},i.on={...i.on,keydown:t=>{t.keyCode===D.enter&&this.click(t),this.$emit("keydown",t)}},t(e,i,this.$slots.default)}}),zr=u.a.extend({name:"farm-tabs",data:()=>({selected:0}),props:{tabs:{type:Array,default:()=>[{name:"Seleção",path:"selection"},{name:"Revisão",path:"review"}]},showCounter:{type:Boolean,default:!0},initialSelect:{type:Number,default:0},allowUserChange:{type:Boolean,default:!0}},methods:{isSelected(t){return t===this.selected},changeTab(t,e){this.$emit("update",this.tabs[e])},next(){this.selected=this.selected+1,this.$emit("update",this.tabs[this.selected])},previous(){this.selected=this.selected-1,this.$emit("update",this.tabs[this.selected])},toIndex(t){this.selected=t,this.$emit("update",this.tabs[t])},updateTabRouting:(t,e,i)=>{t.currentTab=e.path;const s=`${i}/${e.path}`,n=t.$router.history.current.path;s!==n&&t.$router.push(s)}},created(){this.selected=this.initialSelect},components:{VTabs:Vr,VTab:Rr}}),Nr=zr,Hr=(i("d261"),Me(Nr,cr,hr,!1,null,"f40069a8",null)),Wr=Hr.exports,qr=Wr,Ur=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("header",[t.iconTitle?e("farm-icon",{attrs:{size:"16px",color:"secondary"}},[t._v(t._s(t.iconTitle))]):t._e(),t._v(" "+t._s(t.title)+" "),t.hasCloseIcon?e("farm-icon",{staticClass:"farm-dialog-header__close",attrs:{role:"button",title:"Fechar",color:"secondary"},on:{click:t.onClose}},[t._v(" close-thick ")]):t._e()],1)},Yr=[],Zr=u.a.extend({name:"farm-dialog-header",props:{title:{type:String,default:"",required:!0},iconTitle:{type:String,default:null,required:!1},hasCloseIcon:{type:Boolean,default:!0,required:!1}},components:{"farm-icon":mn},methods:{onClose(){this.$emit("onClose",{})}}}),Kr=Zr,Gr=(i("b510"),Me(Kr,Ur,Yr,!1,null,"151bfb7c",null)),Xr=Gr.exports,Jr=Xr,Qr=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"farm-dialog__footer"},[t.hasCancel?e("farm-btn",{attrs:{color:"secondary",outlined:""},on:{click:function(e){return t.$emit("onClose")}}},[t._v(" "+t._s(t.closeLabel)+" ")]):t._e(),t._l(t.extraButtons,(function(i){return e("farm-btn",{key:i.label,attrs:{color:i.color,outlined:i.outlined,disabled:i.disabled},on:{click:function(e){return t.$emit(i.listener?i.listener:"")}}},[t._v(" "+t._s(i.label)+" ")])})),t.hasConfirm?e("farm-btn",{attrs:{color:t.confirmColor,disabled:t.isConfirmDisabled},on:{click:function(e){return t.$emit("onConfirm")}}},[t.confirmIcon?e("farm-icon",[t._v(t._s(t.confirmIcon))]):t._e(),t._v(" "+t._s(t.confirmLabel)+" ")],1):t._e()],2)},ta=[],ea=u.a.extend({name:"farm-dialog-footer",components:{"farm-btn":Gn,"farm-icon":mn},props:{confirmLabel:{type:String,default:"Confirmar"},closeLabel:{type:String,default:"Fechar"},hasConfirm:{type:Boolean,default:!0},hasCancel:{type:Boolean,default:!0},confirmColor:{type:String,default:"secondary"},confirmIcon:{type:String,default:null},isConfirmDisabled:{type:Boolean,default:!1},extraButtons:{type:Array,default:()=>[]}}}),ia=ea,sa=(i("c225"),Me(ia,Qr,ta,!1,null,"1b90c3ae",null)),na=sa.exports,ra=na,aa=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("v-col",{staticClass:"pl-0",attrs:{cols:"12",sm:"12",md:t.item.md?t.item.md:2}},[e("farm-label",{attrs:{for:t.inputId,required:t.required&&!t.disabled}},[t._v(" "+t._s(t.item.label)+" ")]),e("farm-textfield",{directives:[{name:"mask",rawName:"v-mask",value:""+(t.mask?t.mask:""),expression:"`${mask ? mask : ''}`"}],attrs:{placeholder:t.placeholder,id:t.inputId,rules:t.inputRules,disabled:t.disabled,readonly:t.readonly},model:{value:t.inputVal,callback:function(e){t.inputVal=e},expression:"inputVal"}})],1)},oa=[],la=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("label",t._b({class:{"farm-label":!0,"farm-label--required":t.required}},"label",t.$attrs,!1),[t._t("default")],2)},ua=[],ca=u.a.extend({name:"farm-label",props:{required:{type:Boolean,default:!1}}}),ha=ca,da=(i("9af0"),Me(ha,la,ua,!1,null,"2819d5b7",null)),pa=da.exports,fa=pa,ma=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("v-text-field",t._g(t._b({staticClass:"farm-textfield",attrs:{outlined:""}},"v-text-field",t.$attrs,!1),{...t.$listeners}))},ga=[],va=u.a.extend({name:"farm-textfield",inheritAttrs:!0,components:{VTextField:sn}}),ba=va,ya=(i("96c7"),Me(ba,ma,ga,!1,null,"244613e6",null)),_a=ya.exports,xa=_a;i("4b85");const Ca=["sm","md","lg","xl"],Sa=(()=>Ca.reduce((t,e)=>(t[e]={type:[Boolean,String,Number],default:!1},t),{}))(),$a=(()=>Ca.reduce((t,e)=>(t["offset"+E(e)]={type:[String,Number],default:null},t),{}))(),wa=(()=>Ca.reduce((t,e)=>(t["order"+E(e)]={type:[String,Number],default:null},t),{}))(),ka={col:Object.keys(Sa),offset:Object.keys($a),order:Object.keys(wa)};function Oa(t,e,i){let s=t;if(null!=i&&!1!==i){if(e){const i=e.replace(t,"");s+="-"+i}return"col"!==t||""!==i&&!0!==i?(s+="-"+i,s.toLowerCase()):s.toLowerCase()}}const Pa=new Map;var Ia=u.a.extend({name:"v-col",functional:!0,props:{cols:{type:[Boolean,String,Number],default:!1},...Sa,offset:{type:[String,Number],default:null},...$a,order:{type:[String,Number],default:null},...wa,alignSelf:{type:String,default:null,validator:t=>["auto","start","end","center","baseline","stretch"].includes(t)},tag:{type:String,default:"div"}},render(t,{props:e,data:i,children:s,parent:n}){let r="";for(const o in e)r+=String(e[o]);let a=Pa.get(r);if(!a){let t;for(t in a=[],ka)ka[t].forEach(i=>{const s=e[i],n=Oa(t,i,s);n&&a.push(n)});const i=a.some(t=>t.startsWith("col-"));a.push({col:!i||!e.cols,["col-"+e.cols]:e.cols,["offset-"+e.offset]:e.offset,["order-"+e.order]:e.order,["align-self-"+e.alignSelf]:e.alignSelf}),Pa.set(r,a)}return t(e.tag,ze(i,{class:a}),s)}}),La=u.a.extend({name:"farm-textfield-labelled",components:{"farm-label":fa,"farm-textfield":xa,VCol:Ia},props:{item:{type:Object,required:!0},value:{required:!0},rules:{type:Array},disabled:{type:Boolean,default:!1},forKey:{type:String,required:!1,default:"form"},required:{type:Boolean,default:!1},mask:{type:String,default:null},readonly:{type:Boolean,default:!1},placeholder:{type:String,default:null}},computed:{inputVal:{get(){return this.value},set(t){this.$emit("input",t)}},inputRules(){return this.disabled?[]:this.rules&&this.rules.length?this.rules:[]},inputId(){return`${this.forKey}-${this.item.key}`}}}),Da=La,Aa=Me(Da,aa,oa,!1,null,null,null),Ma=Aa.exports,Ta=Ma,Ba=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("v-menu",{ref:"menuField",attrs:{"close-on-content-click":!1,"nudge-right":40,"return-value":t.fieldRange,transition:"scale-transition","offset-y":"","min-width":"290px"},on:{"update:returnValue":function(e){t.fieldRange=e},"update:return-value":function(e){t.fieldRange=e}},scopedSlots:t._u([{key:"activator",fn:function({on:i}){return[e("v-text-field",t._g({attrs:{color:"secondary","append-icon":"mdi-calendar",readonly:"",outlined:"",dense:"",id:t.inputId,rules:t.required?[t.requiredRule]:[]},model:{value:t.fieldRange,callback:function(e){t.fieldRange=e},expression:"fieldRange"}},i))]}}]),model:{value:t.menuField,callback:function(e){t.menuField=e},expression:"menuField"}},[t.menuField?e("v-date-picker",{attrs:{"no-title":"",scrollable:"",range:"",max:t.max,min:t.min,color:"secondary",locale:"pt-br"},model:{value:t.dateField,callback:function(e){t.dateField=e},expression:"dateField"}},[e("farm-btn",{attrs:{outlined:"",color:"primary",tutle:"Fechar"},on:{click:function(e){t.menuField=!1}}},[t._v(" Fechar ")]),e("farm-btn",{staticClass:"ml-2",attrs:{outlined:"",color:"secondary",title:"Limpar"},on:{click:function(e){return t.clear()}}},[t._v(" Limpar")]),e("farm-btn",{staticClass:"ml-2",attrs:{color:"secondary",disabled:t.canConfirm,title:"Confirmar"},on:{click:function(e){return t.save()}}},[t._v(" Confirmar ")])],1):t._e()],1)},Ea=[],Fa=(i("d951"),ke(_e).extend({methods:{genPickerButton(t,e,i,s=!1,n=""){const r=this[t]===e,a=i=>{i.stopPropagation(),this.$emit("update:"+I(t),e)};return this.$createElement("div",{staticClass:("v-picker__title__btn "+n).trim(),class:{"v-picker__title__btn--active":r,"v-picker__title__btn--readonly":s},on:r||s?void 0:{click:a}},Array.isArray(i)?i:[i])}}})),Va=ke(Fa).extend({name:"v-date-picker-title",props:{date:{type:String,default:""},disabled:Boolean,readonly:Boolean,selectingYear:Boolean,value:{type:String},year:{type:[Number,String],default:""},yearIcon:{type:String}},data:()=>({isReversing:!1}),computed:{computedTransition(){return this.isReversing?"picker-reverse-transition":"picker-transition"}},watch:{value(t,e){this.isReversing=t<e}},methods:{genYearIcon(){return this.$createElement(Qe,{props:{dark:!0}},this.yearIcon)},getYearBtn(){return this.genPickerButton("selectingYear",!0,[String(this.year),this.yearIcon?this.genYearIcon():null],!1,"v-date-picker-title__year")},genTitleText(){return this.$createElement("transition",{props:{name:this.computedTransition}},[this.$createElement("div",{domProps:{innerHTML:this.date||" "},key:this.value})])},genTitleDate(){return this.genPickerButton("selectingYear",!1,[this.genTitleText()],!1,"v-date-picker-title__date")}},render(t){return t("div",{staticClass:"v-date-picker-title",class:{"v-date-picker-title--disabled":this.disabled}},[this.getYearBtn(),this.genTitleDate()])}}),ja=(i("2102"),u.a.extend({name:"localable",props:{locale:String},computed:{currentLocale(){return this.locale||this.$vuetify.lang.current}}}));const Ra=(t,e,i)=>(e>>=0,t=String(t),i=String(i),t.length>e?String(t):(e-=t.length,e>i.length&&(i+=i.repeat(e/i.length)),i.slice(0,e)+String(t)));var za=(t,e=2)=>Ra(t,e,"0");function Na(t,e,i={start:0,length:0}){const s=t=>{const[e,i,s]=t.trim().split(" ")[0].split("-");return[za(e,4),za(i||1),za(s||1)].join("-")};try{const i=new Intl.DateTimeFormat(t||void 0,e);return t=>i.format(new Date(s(t)+"T00:00:00+00:00"))}catch(bp){return i.start||i.length?t=>s(t).substr(i.start||0,i.length):void 0}}var Ha=Na,Wa=(t,e)=>{const[i,s]=t.split("-").map(Number);return s+e===0?i-1+"-12":s+e===13?i+1+"-01":`${i}-${za(s+e)}`},qa=ke(_e,ja,$e).extend({name:"v-date-picker-header",props:{disabled:Boolean,format:Function,min:String,max:String,nextAriaLabel:String,nextIcon:{type:String,default:"$next"},prevAriaLabel:String,prevIcon:{type:String,default:"$prev"},readonly:Boolean,value:{type:[Number,String],required:!0}},data(){return{isReversing:!1}},computed:{formatter(){return this.format?this.format:String(this.value).split("-")[1]?Ha(this.currentLocale,{month:"long",year:"numeric",timeZone:"UTC"},{length:7}):Ha(this.currentLocale,{year:"numeric",timeZone:"UTC"},{length:4})}},watch:{value(t,e){this.isReversing=t<e}},methods:{genBtn(t){const e=t>0?this.nextAriaLabel:this.prevAriaLabel,i=e?this.$vuetify.lang.t(e):void 0,s=this.disabled||t<0&&this.min&&this.calculateChange(t)<this.min||t>0&&this.max&&this.calculateChange(t)>this.max;return this.$createElement(Mr,{attrs:{"aria-label":i},props:{dark:this.dark,disabled:s,icon:!0,light:this.light},on:{click:e=>{e.stopPropagation(),this.$emit("input",this.calculateChange(t))}}},[this.$createElement(Qe,t<0===!this.$vuetify.rtl?this.prevIcon:this.nextIcon)])},calculateChange(t){const[e,i]=String(this.value).split("-").map(Number);return null==i?""+(e+t):Wa(String(this.value),t)},genHeader(){const t=!this.disabled&&(this.color||"accent"),e=this.$createElement("div",this.setTextColor(t,{key:String(this.value)}),[this.$createElement("button",{attrs:{type:"button"},on:{click:()=>this.$emit("toggle")}},[this.$slots.default||this.formatter(String(this.value))])]),i=this.$createElement("transition",{props:{name:this.isReversing===!this.$vuetify.rtl?"tab-reverse-transition":"tab-transition"}},[e]);return this.$createElement("div",{staticClass:"v-date-picker-header__value",class:{"v-date-picker-header__value--disabled":this.disabled}},[i])}},render(){return this.$createElement("div",{staticClass:"v-date-picker-header",class:{"v-date-picker-header--disabled":this.disabled,...this.themeClasses}},[this.genBtn(-1),this.genHeader(),this.genBtn(1)])}});i("c982");function Ua(t,e,i){return Object.keys(t.$listeners).reduce((s,n)=>(n.endsWith(e)&&(s[n.slice(0,-e.length)]=e=>t.$emit(n,i,e)),s),{})}function Ya(t,e){return Object.keys(t.$listeners).reduce((i,s)=>(s.endsWith(e)&&(i[s]=t.$listeners[s]),i),{})}var Za=(t,e)=>{const[i,s=1,n=1]=t.split("-");return`${i}-${za(s)}-${za(n)}`.substr(0,{date:10,month:7,year:4}[e])};function Ka(t,e,i,s){return(!s||s(t))&&(!e||t>=e.substr(0,10))&&(!i||t<=i)}var Ga=ke(_e,ja,$e).extend({directives:{Touch:xr},props:{allowedDates:Function,current:String,disabled:Boolean,format:Function,events:{type:[Array,Function,Object],default:()=>null},eventColor:{type:[Array,Function,Object,String],default:()=>"warning"},min:String,max:String,range:Boolean,readonly:Boolean,scrollable:Boolean,tableDate:{type:String,required:!0},value:[String,Array]},data:()=>({isReversing:!1,wheelThrottle:null}),computed:{computedTransition(){return this.isReversing===!this.$vuetify.rtl?"tab-reverse-transition":"tab-transition"},displayedMonth(){return Number(this.tableDate.split("-")[1])-1},displayedYear(){return Number(this.tableDate.split("-")[0])}},watch:{tableDate(t,e){this.isReversing=t<e}},mounted(){this.wheelThrottle=H(this.wheel,250)},methods:{genButtonClasses(t,e,i,s,n,r){return{"v-size--default":!e,"v-date-picker-table__current":s,"v-btn--active":i,"v-btn--flat":!t||this.disabled,"v-btn--text":i===s,"v-btn--rounded":e,"v-btn--disabled":!t||this.disabled,"v-btn--outlined":s&&!i,"v-date-picker--first-in-range":n,"v-date-picker--last-in-range":r,...this.themeClasses}},genButtonEvents(t,e,i){if(!this.disabled)return We({click:()=>{e&&!this.readonly&&this.$emit("input",t)}},Ua(this,":"+i,t))},genButton(t,e,i,s,n=!1){const r=Ka(t,this.min,this.max,this.allowedDates),a=this.isSelected(t)&&r,o=t===this.current,l=a?this.setBackgroundColor:this.setTextColor,u=(a||o)&&(this.color||"accent");let c=!1,h=!1;return this.range&&this.value&&Array.isArray(this.value)&&(c=t===this.value[0],h=t===this.value[this.value.length-1]),this.$createElement("button",l(u,{staticClass:"v-btn",class:this.genButtonClasses(r&&!n,e,a,o,c,h),attrs:{type:"button"},domProps:{disabled:this.disabled||!r||n},on:this.genButtonEvents(t,r,i)}),[this.$createElement("div",{staticClass:"v-btn__content"},[s(t)]),this.genEvents(t)])},getEventColors(t){const e=t=>Array.isArray(t)?t:[t];let i,s=[];return i=Array.isArray(this.events)?this.events.includes(t):this.events instanceof Function?this.events(t)||!1:this.events&&this.events[t]||!1,i?(s=!0!==i?e(i):"string"===typeof this.eventColor?[this.eventColor]:"function"===typeof this.eventColor?e(this.eventColor(t)):Array.isArray(this.eventColor)?this.eventColor:e(this.eventColor[t]),s.filter(t=>t)):[]},genEvents(t){const e=this.getEventColors(t);return e.length?this.$createElement("div",{staticClass:"v-date-picker-table__events"},e.map(t=>this.$createElement("div",this.setBackgroundColor(t)))):null},isValidScroll(t,e){const i=e(t),s=1===i.split("-").length?"year":"month";return t<0&&(!this.min||i>=Za(this.min,s))||t>0&&(!this.max||i<=Za(this.max,s))},wheel(t,e){this.$emit("update:table-date",e(t.deltaY))},touch(t,e){this.$emit("update:table-date",e(t))},genTable(t,e,i){const s=this.$createElement("transition",{props:{name:this.computedTransition}},[this.$createElement("table",{key:this.tableDate},e)]),n={name:"touch",value:{left:t=>t.offsetX<-15&&this.isValidScroll(1,i)&&this.touch(1,i),right:t=>t.offsetX>15&&this.isValidScroll(-1,i)&&this.touch(-1,i)}};return this.$createElement("div",{staticClass:t,class:{"v-date-picker-table--disabled":this.disabled,...this.themeClasses},on:!this.disabled&&this.scrollable?{wheel:t=>{t.preventDefault(),this.isValidScroll(t.deltaY,i)&&this.wheelThrottle(t,i)}}:void 0,directives:[n]},[s])},isSelected(t){if(Array.isArray(this.value)){if(this.range&&2===this.value.length){const[e,i]=[...this.value].sort();return e<=t&&t<=i}return-1!==this.value.indexOf(t)}return t===this.value}}});function Xa(t,e=0,i=1){let s;return t<100&&t>=0?(s=new Date(Date.UTC(t,e,i)),isFinite(s.getUTCFullYear())&&s.setUTCFullYear(t)):s=new Date(Date.UTC(t,e,i)),s}function Ja(t,e,i){const s=7+e-i,n=(7+Xa(t,0,s).getUTCDay()-e)%7;return-n+s-1}function Qa(t,e,i,s){let n=[0,31,59,90,120,151,181,212,243,273,304,334][e];return e>1&&io(t)&&n++,n+i}function to(t,e,i){const s=Ja(t,e,i),n=Ja(t+1,e,i),r=io(t)?366:365;return(r-s+n)/7}function eo(t,e,i,s,n){const r=Ja(t,s,n),a=Math.ceil((Qa(t,e,i,s)-r)/7);return a<1?a+to(t-1,s,n):a>to(t,s,n)?a-to(t,s,n):a}function io(t){return t%4===0&&t%100!==0||t%400===0}var so=ke(Ga).extend({name:"v-date-picker-date-table",props:{firstDayOfWeek:{type:[String,Number],default:0},localeFirstDayOfYear:{type:[String,Number],default:0},showAdjacentMonths:Boolean,showWeek:Boolean,weekdayFormat:Function},computed:{formatter(){return this.format||Ha(this.currentLocale,{day:"numeric",timeZone:"UTC"},{start:8,length:2})},weekdayFormatter(){return this.weekdayFormat||Ha(this.currentLocale,{weekday:"narrow",timeZone:"UTC"})},weekDays(){const t=parseInt(this.firstDayOfWeek,10);return this.weekdayFormatter?S(7).map(e=>this.weekdayFormatter("2017-01-"+(t+e+15))):S(7).map(e=>["S","M","T","W","T","F","S"][(e+t)%7])}},methods:{calculateTableDate(t){return Wa(this.tableDate,Math.sign(t||1))},genTHead(){const t=this.weekDays.map(t=>this.$createElement("th",t));return this.showWeek&&t.unshift(this.$createElement("th")),this.$createElement("thead",this.genTR(t))},weekDaysBeforeFirstDayOfTheMonth(){const t=new Date(`${this.displayedYear}-${za(this.displayedMonth+1)}-01T00:00:00+00:00`),e=t.getUTCDay();return(e-parseInt(this.firstDayOfWeek)+7)%7},getWeekNumber(t){return eo(this.displayedYear,this.displayedMonth,t,parseInt(this.firstDayOfWeek),parseInt(this.localeFirstDayOfYear))},genWeekNumber(t){return this.$createElement("td",[this.$createElement("small",{staticClass:"v-date-picker-table--date__week"},String(t).padStart(2,"0"))])},genTBody(){const t=[],e=new Date(this.displayedYear,this.displayedMonth+1,0).getDate();let i=[],s=this.weekDaysBeforeFirstDayOfTheMonth();this.showWeek&&i.push(this.genWeekNumber(this.getWeekNumber(1)));const n=this.displayedMonth?this.displayedYear:this.displayedYear-1,r=(this.displayedMonth+11)%12,a=new Date(this.displayedYear,this.displayedMonth,0).getDate(),o=this.showWeek?8:7;while(s--){const t=`${n}-${za(r+1)}-${za(a-s)}`;i.push(this.$createElement("td",this.showAdjacentMonths?[this.genButton(t,!0,"date",this.formatter,!0)]:[]))}for(s=1;s<=e;s++){const n=`${this.displayedYear}-${za(this.displayedMonth+1)}-${za(s)}`;i.push(this.$createElement("td",[this.genButton(n,!0,"date",this.formatter)])),i.length%o===0&&(t.push(this.genTR(i)),i=[],this.showWeek&&(s<e||this.showAdjacentMonths)&&i.push(this.genWeekNumber(this.getWeekNumber(s+7))))}const l=11===this.displayedMonth?this.displayedYear+1:this.displayedYear,u=(this.displayedMonth+1)%12;let c=1;while(i.length<o){const t=`${l}-${za(u+1)}-${za(c++)}`;i.push(this.$createElement("td",this.showAdjacentMonths?[this.genButton(t,!0,"date",this.formatter,!0)]:[]))}return i.length&&t.push(this.genTR(i)),this.$createElement("tbody",t)},genTR(t){return[this.$createElement("tr",t)]}},render(){return this.genTable("v-date-picker-table v-date-picker-table--date",[this.genTHead(),this.genTBody()],this.calculateTableDate)}}),no=ke(Ga).extend({name:"v-date-picker-month-table",computed:{formatter(){return this.format||Ha(this.currentLocale,{month:"short",timeZone:"UTC"},{start:5,length:2})}},methods:{calculateTableDate(t){return""+(parseInt(this.tableDate,10)+Math.sign(t||1))},genTBody(){const t=[],e=Array(3).fill(null),i=12/e.length;for(let s=0;s<i;s++){const i=e.map((t,i)=>{const n=s*e.length+i,r=`${this.displayedYear}-${za(n+1)}`;return this.$createElement("td",{key:n},[this.genButton(r,!1,"month",this.formatter)])});t.push(this.$createElement("tr",{key:s},i))}return this.$createElement("tbody",t)}},render(){return this.genTable("v-date-picker-table v-date-picker-table--month",[this.genTBody()],this.calculateTableDate)}}),ro=(i("02f0"),ke(_e,ja).extend({name:"v-date-picker-years",props:{format:Function,min:[Number,String],max:[Number,String],readonly:Boolean,value:[Number,String]},data(){return{defaultColor:"primary"}},computed:{formatter(){return this.format||Ha(this.currentLocale,{year:"numeric",timeZone:"UTC"},{length:4})}},mounted(){setTimeout(()=>{const t=this.$el.getElementsByClassName("active")[0];t?this.$el.scrollTop=t.offsetTop-this.$el.offsetHeight/2+t.offsetHeight/2:this.min&&!this.max?this.$el.scrollTop=this.$el.scrollHeight:!this.min&&this.max?this.$el.scrollTop=0:this.$el.scrollTop=this.$el.scrollHeight/2-this.$el.offsetHeight/2})},methods:{genYearItem(t){const e=this.formatter(""+t),i=parseInt(this.value,10)===t,s=i&&(this.color||"primary");return this.$createElement("li",this.setTextColor(s,{key:t,class:{active:i},on:We({click:()=>this.$emit("input",t)},Ua(this,":year",t))}),e)},genYearItems(){const t=[],e=this.value?parseInt(this.value,10):(new Date).getFullYear(),i=this.max?parseInt(this.max,10):e+100,s=Math.min(i,this.min?parseInt(this.min,10):e-100);for(let n=i;n>=s;n--)t.push(this.genYearItem(n));return t}},render(){return this.$createElement("ul",{staticClass:"v-date-picker-years",ref:"years"},this.genYearItems())}})),ao=(i("e53c"),i("615b"),ke(_e,bs,$e).extend({name:"v-picker",props:{flat:Boolean,fullWidth:Boolean,landscape:Boolean,noTitle:Boolean,transition:{type:String,default:"fade-transition"},width:{type:[Number,String],default:290}},computed:{computedTitleColor(){const t=!this.isDark&&(this.color||"primary");return this.color||t}},methods:{genTitle(){return this.$createElement("div",this.setBackgroundColor(this.computedTitleColor,{staticClass:"v-picker__title",class:{"v-picker__title--landscape":this.landscape}}),this.$slots.title)},genBodyTransition(){return this.$createElement("transition",{props:{name:this.transition}},this.$slots.default)},genBody(){return this.$createElement("div",{staticClass:"v-picker__body",class:{"v-picker__body--no-title":this.noTitle,...this.themeClasses},style:this.fullWidth?void 0:{width:P(this.width)}},[this.genBodyTransition()])},genActions(){return this.$createElement("div",{staticClass:"v-picker__actions v-card__actions",class:{"v-picker__actions--no-title":this.noTitle}},this.$slots.actions)}},render(t){return t("div",{staticClass:"v-picker v-card",class:{"v-picker--flat":this.flat,"v-picker--landscape":this.landscape,"v-picker--full-width":this.fullWidth,...this.themeClasses,...this.elevationClasses}},[this.$slots.title?this.genTitle():null,this.genBody(),this.$slots.actions?this.genActions():null])}})),oo=ao,lo=ke(_e,bs,$e).extend({name:"picker",props:{flat:Boolean,fullWidth:Boolean,headerColor:String,landscape:Boolean,noTitle:Boolean,width:{type:[Number,String],default:290}},methods:{genPickerTitle(){return null},genPickerBody(){return null},genPickerActionsSlot(){return this.$scopedSlots.default?this.$scopedSlots.default({save:this.save,cancel:this.cancel}):this.$slots.default},genPicker(t){const e=[];if(!this.noTitle){const t=this.genPickerTitle();t&&e.push(t)}const i=this.genPickerBody();return i&&e.push(i),e.push(this.$createElement("template",{slot:"actions"},[this.genPickerActionsSlot()])),this.$createElement(oo,{staticClass:t,props:{color:this.headerColor||this.color,dark:this.dark,elevation:this.elevation,flat:this.flat,fullWidth:this.fullWidth,landscape:this.landscape,light:this.light,width:this.width,noTitle:this.noTitle}},e)}}});const uo=[0,31,28,31,30,31,30,31,31,30,31,30,31],co=[0,31,29,31,30,31,30,31,31,30,31,30,31];function ho(t,e){return io(t)?co[e]:uo[e]}var po=ke(ja,lo).extend({name:"v-date-picker",props:{activePicker:String,allowedDates:Function,dayFormat:Function,disabled:Boolean,events:{type:[Array,Function,Object],default:()=>null},eventColor:{type:[Array,Function,Object,String],default:()=>"warning"},firstDayOfWeek:{type:[String,Number],default:0},headerDateFormat:Function,localeFirstDayOfYear:{type:[String,Number],default:0},max:String,min:String,monthFormat:Function,multiple:Boolean,nextIcon:{type:String,default:"$next"},nextMonthAriaLabel:{type:String,default:"$vuetify.datePicker.nextMonthAriaLabel"},nextYearAriaLabel:{type:String,default:"$vuetify.datePicker.nextYearAriaLabel"},pickerDate:String,prevIcon:{type:String,default:"$prev"},prevMonthAriaLabel:{type:String,default:"$vuetify.datePicker.prevMonthAriaLabel"},prevYearAriaLabel:{type:String,default:"$vuetify.datePicker.prevYearAriaLabel"},range:Boolean,reactive:Boolean,readonly:Boolean,scrollable:Boolean,showCurrent:{type:[Boolean,String],default:!0},selectedItemsText:{type:String,default:"$vuetify.datePicker.itemsSelected"},showAdjacentMonths:Boolean,showWeek:Boolean,titleDateFormat:Function,type:{type:String,default:"date",validator:t=>["date","month"].includes(t)},value:[Array,String],weekdayFormat:Function,yearFormat:Function,yearIcon:String},data(){const t=new Date;return{internalActivePicker:this.type.toUpperCase(),inputDay:null,inputMonth:null,inputYear:null,isReversing:!1,now:t,tableDate:(()=>{if(this.pickerDate)return this.pickerDate;const e=V(this.value),i=e[e.length-1]||("string"===typeof this.showCurrent?this.showCurrent:`${t.getFullYear()}-${t.getMonth()+1}`);return Za(i,"date"===this.type?"month":"year")})()}},computed:{multipleValue(){return V(this.value)},isMultiple(){return this.multiple||this.range},lastValue(){return this.isMultiple?this.multipleValue[this.multipleValue.length-1]:this.value},selectedMonths(){return this.value&&"month"!==this.type?this.isMultiple?this.multipleValue.map(t=>t.substr(0,7)):this.value.substr(0,7):this.value},current(){return!0===this.showCurrent?Za(`${this.now.getFullYear()}-${this.now.getMonth()+1}-${this.now.getDate()}`,this.type):this.showCurrent||null},inputDate(){return"date"===this.type?`${this.inputYear}-${za(this.inputMonth+1)}-${za(this.inputDay)}`:`${this.inputYear}-${za(this.inputMonth+1)}`},tableMonth(){return Number((this.pickerDate||this.tableDate).split("-")[1])-1},tableYear(){return Number((this.pickerDate||this.tableDate).split("-")[0])},minMonth(){return this.min?Za(this.min,"month"):null},maxMonth(){return this.max?Za(this.max,"month"):null},minYear(){return this.min?Za(this.min,"year"):null},maxYear(){return this.max?Za(this.max,"year"):null},formatters(){return{year:this.yearFormat||Ha(this.currentLocale,{year:"numeric",timeZone:"UTC"},{length:4}),titleDate:this.titleDateFormat||(this.isMultiple?this.defaultTitleMultipleDateFormatter:this.defaultTitleDateFormatter)}},defaultTitleMultipleDateFormatter(){return t=>t.length?1===t.length?this.defaultTitleDateFormatter(t[0]):this.$vuetify.lang.t(this.selectedItemsText,t.length):"-"},defaultTitleDateFormatter(){const t={year:{year:"numeric",timeZone:"UTC"},month:{month:"long",timeZone:"UTC"},date:{weekday:"short",month:"short",day:"numeric",timeZone:"UTC"}},e=Ha(this.currentLocale,t[this.type],{start:0,length:{date:10,month:7,year:4}[this.type]}),i=t=>e(t).replace(/([^\d\s])([\d])/g,(t,e,i)=>`${e} ${i}`).replace(", ",",<br>");return this.landscape?i:e}},watch:{internalActivePicker:{immediate:!0,handler(t){this.$emit("update:active-picker",t)}},activePicker(t){this.internalActivePicker=t},tableDate(t,e){const i="month"===this.type?"year":"month";this.isReversing=Za(t,i)<Za(e,i),this.$emit("update:picker-date",t)},pickerDate(t){t?this.tableDate=t:this.lastValue&&"date"===this.type?this.tableDate=Za(this.lastValue,"month"):this.lastValue&&"month"===this.type&&(this.tableDate=Za(this.lastValue,"year"))},value(t,e){this.checkMultipleProp(),this.setInputDate(),(this.isMultiple||!this.value||this.pickerDate)&&(!this.isMultiple||!this.multipleValue.length||e&&e.length||this.pickerDate)||(this.tableDate=Za(this.inputDate,"month"===this.type?"year":"month"))},type(t){if(this.internalActivePicker=t.toUpperCase(),this.value&&this.value.length){const e=this.multipleValue.map(e=>Za(e,t)).filter(this.isDateAllowed);this.$emit("input",this.isMultiple?e:e[0])}}},created(){this.checkMultipleProp(),this.pickerDate!==this.tableDate&&this.$emit("update:picker-date",this.tableDate),this.setInputDate()},methods:{emitInput(t){if(this.range){if(1!==this.multipleValue.length)this.$emit("input",[t]);else{const e=[this.multipleValue[0],t];this.$emit("input",e),this.$emit("change",e)}return}const e=this.multiple?-1===this.multipleValue.indexOf(t)?this.multipleValue.concat([t]):this.multipleValue.filter(e=>e!==t):t;this.$emit("input",e),this.multiple||this.$emit("change",t)},checkMultipleProp(){if(null==this.value)return;const t=this.value.constructor.name,e=this.isMultiple?"Array":"String";t!==e&&he(`Value must be ${this.isMultiple?"an":"a"} ${e}, got ${t}`,this)},isDateAllowed(t){return Ka(t,this.min,this.max,this.allowedDates)},yearClick(t){this.inputYear=t,"month"===this.type?this.tableDate=""+t:this.tableDate=`${t}-${za((this.tableMonth||0)+1)}`,this.internalActivePicker="MONTH",this.reactive&&!this.readonly&&!this.isMultiple&&this.isDateAllowed(this.inputDate)&&this.$emit("input",this.inputDate)},monthClick(t){const[e,i]=t.split("-");this.inputYear=parseInt(e,10),this.inputMonth=parseInt(i,10)-1,"date"===this.type?(this.inputDay&&(this.inputDay=Math.min(this.inputDay,ho(this.inputYear,this.inputMonth+1))),this.tableDate=t,this.internalActivePicker="DATE",this.reactive&&!this.readonly&&!this.isMultiple&&this.isDateAllowed(this.inputDate)&&this.$emit("input",this.inputDate)):this.emitInput(this.inputDate)},dateClick(t){const[e,i,s]=t.split("-");this.inputYear=parseInt(e,10),this.inputMonth=parseInt(i,10)-1,this.inputDay=parseInt(s,10),this.emitInput(this.inputDate)},genPickerTitle(){return this.$createElement(Va,{props:{date:this.value?this.formatters.titleDate(this.isMultiple?this.multipleValue:this.value):"",disabled:this.disabled,readonly:this.readonly,selectingYear:"YEAR"===this.internalActivePicker,year:this.formatters.year(this.multipleValue.length?""+this.inputYear:this.tableDate),yearIcon:this.yearIcon,value:this.multipleValue[0]},slot:"title",on:{"update:selecting-year":t=>this.internalActivePicker=t?"YEAR":this.type.toUpperCase()}})},genTableHeader(){return this.$createElement(qa,{props:{nextIcon:this.nextIcon,color:this.color,dark:this.dark,disabled:this.disabled,format:this.headerDateFormat,light:this.light,locale:this.locale,min:"DATE"===this.internalActivePicker?this.minMonth:this.minYear,max:"DATE"===this.internalActivePicker?this.maxMonth:this.maxYear,nextAriaLabel:"DATE"===this.internalActivePicker?this.nextMonthAriaLabel:this.nextYearAriaLabel,prevAriaLabel:"DATE"===this.internalActivePicker?this.prevMonthAriaLabel:this.prevYearAriaLabel,prevIcon:this.prevIcon,readonly:this.readonly,value:"DATE"===this.internalActivePicker?`${za(this.tableYear,4)}-${za(this.tableMonth+1)}`:""+za(this.tableYear,4)},on:{toggle:()=>this.internalActivePicker="DATE"===this.internalActivePicker?"MONTH":"YEAR",input:t=>this.tableDate=t}})},genDateTable(){return this.$createElement(so,{props:{allowedDates:this.allowedDates,color:this.color,current:this.current,dark:this.dark,disabled:this.disabled,events:this.events,eventColor:this.eventColor,firstDayOfWeek:this.firstDayOfWeek,format:this.dayFormat,light:this.light,locale:this.locale,localeFirstDayOfYear:this.localeFirstDayOfYear,min:this.min,max:this.max,range:this.range,readonly:this.readonly,scrollable:this.scrollable,showAdjacentMonths:this.showAdjacentMonths,showWeek:this.showWeek,tableDate:`${za(this.tableYear,4)}-${za(this.tableMonth+1)}`,value:this.value,weekdayFormat:this.weekdayFormat},ref:"table",on:{input:this.dateClick,"update:table-date":t=>this.tableDate=t,...Ya(this,":date")}})},genMonthTable(){return this.$createElement(no,{props:{allowedDates:"month"===this.type?this.allowedDates:null,color:this.color,current:this.current?Za(this.current,"month"):null,dark:this.dark,disabled:this.disabled,events:"month"===this.type?this.events:null,eventColor:"month"===this.type?this.eventColor:null,format:this.monthFormat,light:this.light,locale:this.locale,min:this.minMonth,max:this.maxMonth,range:this.range,readonly:this.readonly&&"month"===this.type,scrollable:this.scrollable,value:this.selectedMonths,tableDate:""+za(this.tableYear,4)},ref:"table",on:{input:this.monthClick,"update:table-date":t=>this.tableDate=t,...Ya(this,":month")}})},genYears(){return this.$createElement(ro,{props:{color:this.color,format:this.yearFormat,locale:this.locale,min:this.minYear,max:this.maxYear,value:this.tableYear},on:{input:this.yearClick,...Ya(this,":year")}})},genPickerBody(){const t="YEAR"===this.internalActivePicker?[this.genYears()]:[this.genTableHeader(),"DATE"===this.internalActivePicker?this.genDateTable():this.genMonthTable()];return this.$createElement("div",{key:this.internalActivePicker},t)},setInputDate(){if(this.lastValue){const t=this.lastValue.split("-");this.inputYear=parseInt(t[0],10),this.inputMonth=parseInt(t[1],10)-1,"date"===this.type&&(this.inputDay=parseInt(t[2],10))}else this.inputYear=this.inputYear||this.now.getFullYear(),this.inputMonth=null==this.inputMonth?this.inputMonth:this.now.getMonth(),this.inputDay=this.inputDay||this.now.getDate()}},render(){return this.genPicker("v-picker--date")}});const fo=(t,e=!0)=>{const i={timeZone:"UTC"};return t?new Date(t).toLocaleDateString("pt-BR",e?i:{}):null},mo=t=>{let e=t.split("/").reverse().join("-");return e};var go=u.a.extend({name:"farm-input-rangedatepicker",components:{VTextField:sn,VMenu:ls,VDatePicker:po,"farm-btn":Gn},props:{inputId:{type:String,required:!0},value:{type:Array,default:()=>[]},max:{type:String,default:null},min:{type:String,default:null},required:{type:Boolean,default:!1}},data(){const t=this.formatDateRange(this.value);return{menuField:!1,dateField:this.value,fieldRange:t,requiredRule:t=>!!t||""!=t||"Campo obrigatório"}},watch:{value(t){this.dateField=t,this.fieldRange=this.formatDateRange(t)}},methods:{formatDateRange(t){if(!t||0===t.length)return"";const e=t[0],i=t[1];return fo(e)+" a "+fo(i)},save(){this.$refs.menuField.save(this.formatDateRange(this.dateField)),this.inputVal=this.dateField,this.menuField=!1},clear(){this.dateField=[],this.save()}},computed:{inputVal:{get(){return this.value},set(t){this.$emit("input",t)}},canConfirm(){return!this.dateField||1==this.dateField.length}}}),vo=go,bo=(i("242e"),Me(vo,Ba,Ea,!1,null,"4676439a",null)),yo=bo.exports,_o=yo,xo=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("v-menu",{ref:"menuField",attrs:{"close-on-content-click":!1,"return-value":t.fieldRange,transition:"scale-transition","offset-y":"","min-width":"290px"},on:{"update:returnValue":function(e){t.fieldRange=e},"update:return-value":function(e){t.fieldRange=e}},scopedSlots:t._u([{key:"activator",fn:function({on:i}){return[e("v-text-field",t._g({directives:[{name:"mask",rawName:"v-mask",value:""+(t.readonly?"":"##/##/####"),expression:"`${readonly ? '' : '##/##/####'}`"}],attrs:{color:"secondary","append-icon":"mdi-calendar",readonly:t.readonly,autocomplete:"off",outlined:"",dense:"",id:t.inputId,rules:[t.checkMax,t.checkMin,t.checkRequire]},on:{keyup:t.keyUpInput},model:{value:t.fieldRange,callback:function(e){t.fieldRange=e},expression:"fieldRange"}},i))]}}]),model:{value:t.menuField,callback:function(e){t.menuField=e},expression:"menuField"}},[t.menuField?e("v-date-picker",{attrs:{"no-title":"",scrollable:"",color:"secondary",locale:"pt-br",max:t.max,min:t.min},model:{value:t.dateField,callback:function(e){t.dateField=e},expression:"dateField"}},[e("farm-btn",{attrs:{outlined:"",color:"primary",title:"Fechar"},on:{click:function(e){t.menuField=!1}}},[t._v(" Fechar ")]),e("farm-btn",{staticClass:"ml-2",attrs:{outlined:"",color:"secondary"},on:{click:t.clear}},[t._v(" Limpar ")]),e("farm-btn",{staticClass:"ml-2",attrs:{color:"secondary",title:"Confirmar",disabled:!t.dateField.length},on:{click:function(e){return t.save()}}},[t._v(" Confirmar ")])],1):t._e()],1)},Co=[],So=u.a.extend({name:"farm-input-datepicker",components:{VTextField:sn,VMenu:ls,VDatePicker:po,"farm-btn":Gn},props:{inputId:{type:String,required:!0},value:{type:String,default:""},max:{type:String,default:null},min:{type:String,default:null},required:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1}},data(){const t=this.formatDateRange(this.value);return{menuField:!1,dateField:this.value,fieldRange:t,checkRequire:t=>!this.required||(!!t||""!=t||"Campo obrigatório"),checkMax:t=>!(this.max&&new Date(mo(t))>new Date(this.max))||"A data está fora do período permitido",checkMin:t=>{const e=new Date(mo(t)).toUTCString().slice(0,-4),i=new Date(e);i.setDate(i.getDate()+1);const s=new Date(i.toUTCString()).toLocaleString("pt-BR",{timeZone:"America/Sao_Paulo"}),n=new Date(this.min).toLocaleString("pt-BR",{timeZone:"America/Sao_Paulo"});return console.log(this.getUniversalDate(s),this.getUniversalDate(n)),!(this.min&&this.getUniversalDate(s)<this.getUniversalDate(n))||"A data está fora do período permitido"}}},watch:{value(t){this.dateField=t,this.fieldRange=this.formatDateRange(t)}},methods:{formatDateRange(t){return t&&0!==t.length?fo(t):""},save(){this.$refs.menuField.save(this.formatDateRange(this.dateField)),this.inputVal=this.dateField},clear(){this.dateField="",this.save()},validation(t){const e=/^(?:(?:31(\/|-|\.)(?:0?[13578]|1[02]))\1|(?:(?:29|30)(\/|-|\.)(?:0?[13-9]|1[0-2])\2))(?:(?:1[6-9]|[2-9]\d)?\d{2})$|^(?:29(\/|-|\.)0?2\3(?:(?:(?:1[6-9]|[2-9]\d)?(?:0[48]|[2468][048]|[13579][26])|(?:(?:16|[2468][048]|[3579][26])00))))$|^(?:0?[1-9]|1\d|2[0-8])(\/|-|\.)(?:(?:0?[1-9])|(?:1[0-2]))\4(?:(?:1[6-9]|[2-9]\d)?\d{2})$/gm;return e.test(t)},keyUpInput(t){let e=t.target.value;if(this.validation(e)&&10===e.length){const[t,i,s]=e.split("/");this.dateField=`${s}-${i}-${t}`,this.save()}},getUniversalDate(t){const e=t.split(" ")[0],i=e.split("/");return new Date(i[2],i[1]-1,i[0])}},computed:{inputVal:{get(){return this.value},set(t){this.$emit("input",t)}}}}),$o=So,wo=(i("e951"),Me($o,xo,Co,!1,null,"3db06bdf",null)),ko=wo.exports,Oo=ko,Po=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("ul",t._l(t.managers,(function(i,s){return e("li",{key:s},[t._v(" "+t._s(i)+" ")])})),0)},Io=[],Lo=u.a.extend({name:"farm-managers-list",props:{managersString:{type:String,required:!0}},computed:{managers(){return this.managersString?this.managersString.split(","):[]}}}),Do=Lo,Ao=(i("859a"),Me(Do,Po,Io,!1,null,"beedc8fc",null)),Mo=Ao.exports,To=Mo,Bo=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("v-form",{attrs:{autocomplete:"off"},model:{value:t.formVal,callback:function(e){t.formVal=e},expression:"formVal"}},[e("div",{domProps:{innerHTML:t._s(t.title)}}),e("v-row",[e("v-col",{staticClass:"mt-3 v-col-fieldset-default",attrs:{cols:"12",sm:"12"}},[e("v-text-field",{attrs:{id:"form-confirm-remove",color:"secondary",outlined:"",dense:"",rules:[t.rules.checkRemove]},model:{value:t.matchInput,callback:function(e){t.matchInput=e},expression:"matchInput"}})],1)],1)],1)},Eo=[],Fo=ke(h,ii("form")).extend({name:"v-form",provide(){return{form:this}},inheritAttrs:!1,props:{disabled:Boolean,lazyValidation:Boolean,readonly:Boolean,value:Boolean},data:()=>({inputs:[],watchers:[],errorBag:{}}),watch:{errorBag:{handler(t){const e=Object.values(t).includes(!0);this.$emit("input",!e)},deep:!0,immediate:!0}},methods:{watchInput(t){const e=t=>t.$watch("hasError",e=>{this.$set(this.errorBag,t._uid,e)},{immediate:!0}),i={_uid:t._uid,valid:()=>{},shouldValidate:()=>{}};return this.lazyValidation?i.shouldValidate=t.$watch("shouldValidate",s=>{s&&(this.errorBag.hasOwnProperty(t._uid)||(i.valid=e(t)))}):i.valid=e(t),i},validate(){return 0===this.inputs.filter(t=>!t.validate(!0)).length},reset(){this.inputs.forEach(t=>t.reset()),this.resetErrorBag()},resetErrorBag(){this.lazyValidation&&setTimeout(()=>{this.errorBag={}},0)},resetValidation(){this.inputs.forEach(t=>t.resetValidation()),this.resetErrorBag()},register(t){this.inputs.push(t),this.watchers.push(this.watchInput(t))},unregister(t){const e=this.inputs.find(e=>e._uid===t._uid);if(!e)return;const i=this.watchers.find(t=>t._uid===e._uid);i&&(i.valid(),i.shouldValidate()),this.watchers=this.watchers.filter(t=>t._uid!==e._uid),this.inputs=this.inputs.filter(t=>t._uid!==e._uid),this.$delete(this.errorBag,e._uid)}},render(t){return t("form",{staticClass:"v-form",attrs:{novalidate:!0,...this.attrs$},on:{submit:t=>this.$emit("submit",t)}},this.$slots.default)}});const Vo=["sm","md","lg","xl"],jo=["start","end","center"];function Ro(t,e){return Vo.reduce((i,s)=>(i[t+E(s)]=e(),i),{})}const zo=t=>[...jo,"baseline","stretch"].includes(t),No=Ro("align",()=>({type:String,default:null,validator:zo})),Ho=t=>[...jo,"space-between","space-around"].includes(t),Wo=Ro("justify",()=>({type:String,default:null,validator:Ho})),qo=t=>[...jo,"space-between","space-around","stretch"].includes(t),Uo=Ro("alignContent",()=>({type:String,default:null,validator:qo})),Yo={align:Object.keys(No),justify:Object.keys(Wo),alignContent:Object.keys(Uo)},Zo={align:"align",justify:"justify",alignContent:"align-content"};function Ko(t,e,i){let s=Zo[t];if(null!=i){if(e){const i=e.replace(t,"");s+="-"+i}return s+="-"+i,s.toLowerCase()}}const Go=new Map;var Xo=u.a.extend({name:"v-row",functional:!0,props:{tag:{type:String,default:"div"},dense:Boolean,noGutters:Boolean,align:{type:String,default:null,validator:zo},...No,justify:{type:String,default:null,validator:Ho},...Wo,alignContent:{type:String,default:null,validator:qo},...Uo},render(t,{props:e,data:i,children:s}){let n="";for(const a in e)n+=String(e[a]);let r=Go.get(n);if(!r){let t;for(t in r=[],Yo)Yo[t].forEach(i=>{const s=e[i],n=Ko(t,i,s);n&&r.push(n)});r.push({"no-gutters":e.noGutters,"row--dense":e.dense,["align-"+e.align]:e.align,["justify-"+e.justify]:e.justify,["align-content-"+e.alignContent]:e.alignContent}),Go.set(n,r)}return t(e.tag,ze(i,{staticClass:"row",class:r}),s)}}),Jo=u.a.extend({name:"farm-promptusertoconfirm",props:{match:{type:String,default:"EXCLUIR"},value:{required:!0},title:{type:String,default:'Escreva no campo abaixo "EXCLUIR" para confirmar a exclusão.'}},components:{VForm:Fo,VTextField:sn,VRow:Xo,VCol:Ia},data(){return{rules:{checkRemove:t=>t===this.match},matchInput:null}},computed:{formVal:{get(){return this.value},set(t){this.$emit("input",t)}}},mounted(){this.matchInput=null}}),Qo=Jo,tl=Me(Qo,Bo,Eo,!1,null,null,null),el=tl.exports,il=el,sl=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("v-dialog",{attrs:{"content-class":"modal-default modal-default-small"},model:{value:t.inputVal,callback:function(e){t.inputVal=e},expression:"inputVal"}},[e("DialogHeader",{attrs:{title:t.title},on:{onClose:t.close}}),e("v-main",[e("section",{staticClass:"mt-9"},[t.inputVal?e("PromptUserToConfirm",{attrs:{match:t.match,title:t.subtitle},model:{value:t.canConfirm,callback:function(e){t.canConfirm=e},expression:"canConfirm"}}):t._e()],1),e("DialogFooter",{attrs:{confirmColor:t.confirmColor,confirmLabel:t.confirmLabel,isConfirmDisabled:!t.canConfirm},on:{onClose:t.close,onConfirm:t.confirm}})],1)],1)},nl=[],rl=(i("368e"),i("3c93"),ke(_e,$e,ai).extend({name:"v-overlay",props:{absolute:Boolean,color:{type:String,default:"#212121"},dark:{type:Boolean,default:!0},opacity:{type:[Number,String],default:.46},value:{default:!0},zIndex:{type:[Number,String],default:5}},computed:{__scrim(){const t=this.setBackgroundColor(this.color,{staticClass:"v-overlay__scrim",style:{opacity:this.computedOpacity}});return this.$createElement("div",t)},classes(){return{"v-overlay--absolute":this.absolute,"v-overlay--active":this.isActive,...this.themeClasses}},computedOpacity(){return Number(this.isActive?this.opacity:0)},styles(){return{zIndex:this.zIndex}}},methods:{genContent(){return this.$createElement("div",{staticClass:"v-overlay__content"},this.$slots.default)}},render(t){const e=[this.__scrim];return this.isActive&&e.push(this.genContent()),t("div",{staticClass:"v-overlay",on:this.$listeners,class:this.classes,style:this.styles},e)}})),al=rl,ol=u.a.extend().extend({name:"overlayable",props:{hideOverlay:Boolean,overlayColor:String,overlayOpacity:[Number,String]},data(){return{animationFrame:0,overlay:null}},watch:{hideOverlay(t){this.isActive&&(t?this.removeOverlay():this.genOverlay())}},beforeDestroy(){this.removeOverlay()},methods:{createOverlay(){const t=new al({propsData:{absolute:this.absolute,value:!1,color:this.overlayColor,opacity:this.overlayOpacity}});t.$mount();const e=this.absolute?this.$el.parentNode:document.querySelector("[data-app]");e&&e.insertBefore(t.$el,e.firstChild),this.overlay=t},genOverlay(){if(this.hideScroll(),!this.hideOverlay)return this.overlay||this.createOverlay(),this.animationFrame=requestAnimationFrame(()=>{this.overlay&&(void 0!==this.activeZIndex?this.overlay.zIndex=String(this.activeZIndex-1):this.$el&&(this.overlay.zIndex=$(this.$el)),this.overlay.value=!0)}),!0},removeOverlay(t=!0){this.overlay&&(g(this.overlay.$el,"transitionend",()=>{this.overlay&&this.overlay.$el&&this.overlay.$el.parentNode&&!this.overlay.value&&!this.isActive&&(this.overlay.$el.parentNode.removeChild(this.overlay.$el),this.overlay.$destroy(),this.overlay=null)}),cancelAnimationFrame(this.animationFrame),this.overlay.value=!1),t&&this.showScroll()},scrollListener(t){if("key"in t){if(["INPUT","TEXTAREA","SELECT"].includes(t.target.tagName)||t.target.isContentEditable)return;const e=[D.up,D.pageup],i=[D.down,D.pagedown];if(e.includes(t.keyCode))t.deltaY=-1;else{if(!i.includes(t.keyCode))return;t.deltaY=1}}(t.target===this.overlay||"keydown"!==t.type&&t.target===document.body||this.checkPath(t))&&t.preventDefault()},hasScrollbar(t){if(!t||t.nodeType!==Node.ELEMENT_NODE)return!1;const e=window.getComputedStyle(t);return(["auto","scroll"].includes(e.overflowY)||"SELECT"===t.tagName)&&t.scrollHeight>t.clientHeight||["auto","scroll"].includes(e.overflowX)&&t.scrollWidth>t.clientWidth},shouldScroll(t,e){if(t.hasAttribute("data-app"))return!1;const i=e.shiftKey||e.deltaX?"x":"y",s="y"===i?e.deltaY:e.deltaX||e.deltaY;let n,r;"y"===i?(n=0===t.scrollTop,r=t.scrollTop+t.clientHeight===t.scrollHeight):(n=0===t.scrollLeft,r=t.scrollLeft+t.clientWidth===t.scrollWidth);const a=s<0,o=s>0;return!(n||!a)||(!(r||!o)||!(!n&&!r)&&this.shouldScroll(t.parentNode,e))},isInside(t,e){return t===e||null!==t&&t!==document.body&&this.isInside(t.parentNode,e)},checkPath(t){const e=G(t);if("keydown"===t.type&&e[0]===document.body){const e=this.$refs.dialog,i=window.getSelection().anchorNode;return!(e&&this.hasScrollbar(e)&&this.isInside(i,e))||!this.shouldScroll(e,t)}for(let i=0;i<e.length;i++){const s=e[i];if(s===document)return!0;if(s===document.documentElement)return!0;if(s===this.$refs.content)return!0;if(this.hasScrollbar(s))return!this.shouldScroll(s,t)}return!0},hideScroll(){this.$vuetify.breakpoint.smAndDown?document.documentElement.classList.add("overflow-y-hidden"):(b(window,"wheel",this.scrollListener,{passive:!1}),window.addEventListener("keydown",this.scrollListener))},showScroll(){document.documentElement.classList.remove("overflow-y-hidden"),window.removeEventListener("wheel",this.scrollListener),window.removeEventListener("keydown",this.scrollListener)}}});const ll=ke(Ei,Wi,ol,Yi,Fi,Ti);var ul=ll.extend({name:"v-dialog",directives:{ClickOutside:is},props:{dark:Boolean,disabled:Boolean,fullscreen:Boolean,light:Boolean,maxWidth:[String,Number],noClickAnimation:Boolean,origin:{type:String,default:"center center"},persistent:Boolean,retainFocus:{type:Boolean,default:!0},scrollable:Boolean,transition:{type:[String,Boolean],default:"dialog-transition"},width:[String,Number]},data(){return{activatedBy:null,animate:!1,animateTimeout:-1,stackMinZIndex:200,previousActiveElement:null}},computed:{classes(){return{[("v-dialog "+this.contentClass).trim()]:!0,"v-dialog--active":this.isActive,"v-dialog--persistent":this.persistent,"v-dialog--fullscreen":this.fullscreen,"v-dialog--scrollable":this.scrollable,"v-dialog--animated":this.animate}},contentClasses(){return{"v-dialog__content":!0,"v-dialog__content--active":this.isActive}},hasActivator(){return Boolean(!!this.$slots.activator||!!this.$scopedSlots.activator)}},watch:{isActive(t){var e;t?(this.show(),this.hideScroll()):(this.removeOverlay(),this.unbind(),null===(e=this.previousActiveElement)||void 0===e||e.focus())},fullscreen(t){this.isActive&&(t?(this.hideScroll(),this.removeOverlay(!1)):(this.showScroll(),this.genOverlay()))}},created(){this.$attrs.hasOwnProperty("full-width")&&me("full-width",this)},beforeMount(){this.$nextTick(()=>{this.isBooted=this.isActive,this.isActive&&this.show()})},beforeDestroy(){"undefined"!==typeof window&&this.unbind()},methods:{animateClick(){this.animate=!1,this.$nextTick(()=>{this.animate=!0,window.clearTimeout(this.animateTimeout),this.animateTimeout=window.setTimeout(()=>this.animate=!1,150)})},closeConditional(t){const e=t.target;return!(this._isDestroyed||!this.isActive||this.$refs.content.contains(e)||this.overlay&&e&&!this.overlay.$el.contains(e))&&this.activeZIndex>=this.getMaxZIndex()},hideScroll(){this.fullscreen?document.documentElement.classList.add("overflow-y-hidden"):ol.options.methods.hideScroll.call(this)},show(){!this.fullscreen&&!this.hideOverlay&&this.genOverlay(),this.$nextTick(()=>{this.$nextTick(()=>{var t,e;(null===(t=this.$refs.dialog)||void 0===t?void 0:t.contains(document.activeElement))||(this.previousActiveElement=document.activeElement,null===(e=this.$refs.dialog)||void 0===e||e.focus()),this.bind()})})},bind(){window.addEventListener("focusin",this.onFocusin)},unbind(){window.removeEventListener("focusin",this.onFocusin)},onClickOutside(t){this.$emit("click:outside",t),this.persistent?this.noClickAnimation||this.animateClick():this.isActive=!1},onKeydown(t){if(t.keyCode===D.esc&&!this.getOpenDependents().length)if(this.persistent)this.noClickAnimation||this.animateClick();else{this.isActive=!1;const t=this.getActivator();this.$nextTick(()=>t&&t.focus())}this.$emit("keydown",t)},onFocusin(t){if(!t||!this.retainFocus)return;const e=t.target;if(e&&this.$refs.dialog&&![document,this.$refs.dialog].includes(e)&&!this.$refs.dialog.contains(e)&&this.activeZIndex>=this.getMaxZIndex()&&!this.getOpenDependentElements().some(t=>t.contains(e))){const t=this.$refs.dialog.querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])'),e=[...t].find(t=>!t.hasAttribute("disabled"));e&&e.focus()}},genContent(){return this.showLazyContent(()=>[this.$createElement(Di,{props:{root:!0,light:this.light,dark:this.dark}},[this.$createElement("div",{class:this.contentClasses,attrs:{role:"dialog","aria-modal":this.hideOverlay?void 0:"true",...this.getScopeIdAttrs()},on:{keydown:this.onKeydown},style:{zIndex:this.activeZIndex},ref:"content"},[this.genTransition()])])])},genTransition(){const t=this.genInnerContent();return this.transition?this.$createElement("transition",{props:{name:this.transition,origin:this.origin,appear:!0}},[t]):t},genInnerContent(){const t={class:this.classes,attrs:{tabindex:this.isActive?0:void 0},ref:"dialog",directives:[{name:"click-outside",value:{handler:this.onClickOutside,closeConditional:this.closeConditional,include:this.getOpenDependentElements}},{name:"show",value:this.isActive}],style:{transformOrigin:this.origin}};return this.fullscreen||(t.style={...t.style,maxWidth:P(this.maxWidth),width:P(this.width)}),this.$createElement("div",t,this.getContentSlot())}},render(t){return t("div",{staticClass:"v-dialog__container",class:{"v-dialog__container--attached":""===this.attach||!0===this.attach||"attach"===this.attach}},[this.genActivator(),this.genContent()])}}),cl=(i("bd0c"),kr.extend({name:"v-main",props:{tag:{type:String,default:"main"}},computed:{styles(){const{bar:t,top:e,right:i,footer:s,insetFooter:n,bottom:r,left:a}=this.$vuetify.application;return{paddingTop:e+t+"px",paddingRight:i+"px",paddingBottom:s+n+r+"px",paddingLeft:a+"px"}}},render(t){const e={staticClass:"v-main",style:this.styles,ref:"main"};return t(this.tag,e,[t("div",{staticClass:"v-main__wrap"},this.$slots.default)])}})),hl=u.a.extend({name:"farm-prompt-user",components:{VDialog:ul,VMain:cl},props:{value:{required:!0},title:{required:!0,type:String},subtitle:{required:!0,type:String},confirmColor:{type:String,default:"secondary"},confirmLabel:{type:String,default:"Confirmar"},match:{required:!0,type:String}},data(){return{canConfirm:!1}},computed:{inputVal:{get(){return this.value},set(t){this.$emit("input",t)}}},methods:{close(){this.inputVal=!1},confirm(){this.$emit("onConfirm"),this.inputVal=!1}}}),dl=hl,pl=Me(dl,sl,nl,!1,null,null,null),fl=pl.exports,ml=fl,gl=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("v-menu",{scopedSlots:t._u([{key:"activator",fn:function({on:i,attrs:s}){return[e("farm-btn",t._g(t._b({attrs:{icon:"",title:"Abrir opções"}},"farm-btn",s,!1),i),[e("i",{staticClass:"farm-btn__icon mdi mdi-dots-horizontal"})])]}}])},[e("v-list",{staticClass:"pa-0",attrs:{dense:""}},t._l(t.items,(function(i){return e("v-list-item",{key:i.label,attrs:{title:i.label},on:{click:function(e){return t.onClick(i.handler)}}},[e("v-list-item-content",[e("v-list-item-title",[i.icon?e("v-icon",{staticClass:"mb-1",attrs:{color:i.icon.color||"secondary"}},[t._v("mdi-"+t._s(i.icon.type))]):t._e(),t._v(" "+t._s(i.label)+" ")],1)],1)],1)})),1)],1)},vl=[],bl=u.a.extend({name:"farm-context-menu",components:{VIcon:Le,VMenu:ls,VList:xs,VListItem:gs,VListItemContent:Ds,VListItemTitle:As},props:{items:{type:Array,required:!0}},methods:{onClick(t){void 0!==t&&this.$emit(t)}}}),yl=bl,_l=(i("c399"),Me(yl,gl,vl,!1,null,"f725fec2",null)),xl=_l.exports,Cl=xl,Sl=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{class:{"farm-icon-box":!0,[t.cssColorClass]:!0,"farm-icon-box--inverted":t.inverted},attrs:{size:t.size}},[e("farm-icon",{attrs:{color:t.inverted?"white":t.color,size:t.size}},[t._v(t._s(t.iconParsed))])],1)},$l=[],wl=u.a.extend({name:"farm-icon-box",props:{icon:{type:String,required:!0},color:{type:String,default:"secondary"},size:{type:String,default:"md"},inverted:{type:Boolean,default:!1}},computed:{iconParsed(){return 0===this.icon.indexOf("mdi-")?this.icon.split("mdi-")[1]:this.icon},cssColorClass(){return"farm-icon-box--"+this.color}}}),kl=wl,Ol=(i("0614"),Me(kl,Sl,$l,!1,null,"2f795bbf",null)),Pl=Ol.exports,Il=Pl,Ll=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{class:{"card-context":!0,"height-full":this.full,"card-context--outlined":this.outlined}},[t.isSuccess&&t.title?e("div",{staticClass:"card-context-header"},[t.icon?e("farm-icon-box",{attrs:{icon:t.icon}}):t._e(),e("div",{staticClass:"card-context-content"},[e("p",{class:{"card-context-title":!0,"card-context-content--bold":t.bold}},[t._v(" "+t._s(t.title)+" ")])])],1):t._e(),t.isSuccess?e("div",{staticClass:"card-context-body"},[t._t("default")],2):t._e(),t.isLoading?e("div",{staticClass:"card-context-loading-or-error"},[e("farm-loader",{attrs:{size:t.isLargeLoading}})],1):t._e(),t.isError?e("div",{staticClass:"card-context-loading-or-error"},[e("farm-alert-reload",{attrs:{label:t.errorLabel},on:{onClick:function(e){return t.$emit("onLoad")}}})],1):t._e()])},Dl=[],Al=u.a.extend({name:"farm-card-context",props:{title:{type:String,required:!0},bold:{type:Boolean,default:!1},icon:{type:String,default:null},isLoading:{type:Boolean,default:!1},largeLoading:{type:Boolean,default:!1},isError:{type:Boolean,default:!1},errorLabel:{type:String,default:"Ocorreu um erro"},full:{type:Boolean,default:!1},outlined:{type:Boolean,default:!1}},computed:{isSuccess(){return!this.isLoading&&!this.isError},isLargeLoading(){return this.largeLoading?"normal":"small"}}}),Ml=Al,Tl=(i("b6d8"),Me(Ml,Ll,Dl,!1,null,"661817d8",null)),Bl=Tl.exports,El=Bl,Fl=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("farm-card",{staticClass:"collapsible"},[e("farm-card-content",{attrs:{gutter:"md"}},[e("div",{staticClass:"collapsible__header",on:{click:function(e){return t.onToggleCollapsible(t.status)}}},[e("div",{staticClass:"collapsible__content-title"},[""!==t.icon?e("div",{staticClass:"collapsible__icon collapsible__icon--main"},[e("farm-icon",{attrs:{color:"secondary",size:"md"}},[t._v(" "+t._s(t.icon)+" ")])],1):t._e(),e("farm-typography",{attrs:{bold:"",size:"lg"}},[t._v(" "+t._s(t.title)+" ")])],1),e("div",{staticClass:"collapsible__icon collapsible__icon--arrow"},[e("farm-icon",{attrs:{size:"md",color:"primary"}},[t._v(" "+t._s(t.arrowIcon)+" ")])],1)]),e("transition",{attrs:{name:"fade"}},[e("div",{directives:[{name:"show",rawName:"v-show",value:t.status,expression:"status"}],staticClass:"collapsible__body"},[t._t("default")],2)])],1)],1)},Vl=[],jl=u.a.extend({name:"farm-collapsible",props:{title:{type:String,required:!0},icon:{type:String,default:""},open:{type:Boolean,default:!1}},data(){return{status:this.$props.open}},computed:{arrowIcon(){return this.status?"menu-up":"menu-down"}},methods:{onToggleCollapsible(t){this.status=!t,this.$emit("open",this.status)}}}),Rl=jl,zl=(i("0597"),Me(Rl,Fl,Vl,!1,null,"b2a9f398",null)),Nl=zl.exports,Hl=Nl,Wl=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"idcaption"},[t.icon?e("farm-icon-box",{attrs:{icon:t.icon,color:"secondary",size:"md"}}):t._e(),e("div",{class:{idcaption__body:!0,"idcaption__body--single":!t.hasTitle||!t.hasSubtitle}},[t.hasTitle?e("farm-caption",{attrs:{bold:"",variation:"medium"}},[e("span",[t._v(" "+t._s(t.$slots.title?t.$slots.title[0].text:null)+" "),t.link?e("farm-btn",{attrs:{icon:"",color:"gray"},on:{click:function(e){return t.$emit("onLinkClick")}}},[e("farm-icon",{attrs:{size:"xs"}},[t._v("open-in-new")])],1):t._e()],1)]):t._e(),t.hasSubtitle?e("farm-caption",{attrs:{variation:"regular",color:"gray"}},[e("span",[t._v(" "+t._s(t.$slots.subtitle?t.$slots.subtitle[0].text:null)+" "),t.copyText?e("farm-copytoclipboard",{attrs:{toCopy:t.copyText}}):t._e()],1)]):t._e()],1)],1)},ql=[],Ul=u.a.extend({name:"farm-idcaption",props:{icon:{type:String},copyText:{type:String},link:{type:Boolean,default:!1}},setup(t,{slots:e}){const i=Object(l["computed"])(()=>e.title),s=Object(l["computed"])(()=>e.subtitle);return{hasSubtitle:s,hasTitle:i}}}),Yl=Ul,Zl=(i("f38c"),Me(Yl,Wl,ql,!1,null,"4085cd89",null)),Kl=Zl.exports,Gl=Kl,Xl=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{class:{"farm-alert-reload":!0,"farm-alert-reload--vertical":t.$props.vertical}},[e("div",[e("farm-icon",{attrs:{color:"error"}},[t._v("alert")]),e("farm-typography",{staticClass:"farm-alert-reload__label",attrs:{tag:"span",color:"error"}},[t._v(" "+t._s(t.label)+" ")])],1),e("farm-btn",{attrs:{color:"secondary",alt:"Recarregar"},on:{click:function(e){return t.$emit("onClick")}}},[e("farm-icon",[t._v("refresh")]),t._v(" Recarregar ")],1)],1)},Jl=[],Ql=u.a.extend({name:"farm-alert-reload",props:{label:{type:String,default:""},vertical:{type:Boolean,default:!1}}}),tu=Ql,eu=(i("eb52"),Me(tu,Xl,Jl,!1,null,"8e483f9c",null)),iu=eu.exports,su=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"farm-button-toggle"},t._l(t.buttons,(function(i,s){return e("farm-btn",{key:"button_toggle_"+s,attrs:{color:t.isSelected(s)?"secondary":"gray",outlined:!t.isSelected(s)},on:{click:function(e){return t.setValue(s)}}},[t._v(" "+t._s(i.label)+" ")])})),1)},nu=[],ru=u.a.extend({name:"farm-button-toggle",props:{buttons:{type:Array,default:()=>[]},value:{default:null}},setup(t,{emit:e}){const i=Object(l["ref"])(t.value),s=t=>{i.value=t,e("input",i.value)},n=t=>t===i.value;return{inputVal:i,setValue:s,isSelected:n}}}),au=ru,ou=(i("f53a"),Me(au,su,nu,!1,null,"7612bb4b",null)),lu=ou.exports,uu=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("farm-btn",t._g(t._b({attrs:{color:"error"}},"farm-btn",t.$attrs,!1),t.$listeners),[t.icon?e("i",{class:{mdi:!0,[t.iconPath]:!0,"mr-3":!0}}):t._e(),t._t("default")],2)},cu=[],hu=u.a.extend({name:"farm-btn-danger",inheritAttrs:!0,props:{icon:{type:Boolean,default:!1},customIcon:{type:String,default:""}},computed:{iconPath(){return this.customIcon?"mdi-"+this.customIcon:"mdi-trash-can-outline"}}}),du=hu,pu=Me(du,uu,cu,!1,null,null,null),fu=pu.exports,mu=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("farm-btn",t._g(t._b({attrs:{color:"secondary"}},"farm-btn",t.$attrs,!1),t.$listeners),[t.icon?e("i",{class:{mdi:!0,[t.iconPath]:!0,"mr-3":!0}}):t._e(),t._t("default")],2)},gu=[],vu=u.a.extend({name:"farm-btn-confirm",inheritAttrs:!0,props:{icon:{type:Boolean,default:!1},customIcon:{type:String,default:""}},computed:{iconPath(){return this.customIcon?"mdi-"+this.customIcon:"mdi-check"}}}),bu=vu,yu=(i("8b98"),Me(bu,mu,gu,!1,null,"1345014a",null)),_u=yu.exports,xu=function(){var t=this,e=t._self._c;t._self._setupProxy;return 0==t.optionsList.length?e("farm-btn",{staticClass:"farm-btn--responsive",attrs:{dense:"",outlined:"",title:"Exportar",disabled:t.disabled},on:{click:t.onClick}},[e("i",{class:{"mr-2":!0,"mdi-file-export-outline":!0,mdi:!0}}),t._v(" Exportar ")]):e("v-menu",{attrs:{"content-class":"elevation-1","offset-y":!0,rounded:"b t-0"},scopedSlots:t._u([{key:"activator",fn:function({on:i,attrs:s}){return[e("farm-btn",t._g(t._b({staticClass:"farm-btn--responsive",attrs:{dense:"",outlined:"",title:"Exportar",disabled:t.disabled},on:{onClick:function(e){t.togglePopover=!0}}},"farm-btn",s,!1),i),[t._v(" Exportar "),e("i",{class:{"ml-2":!0,"mr-0":!0,mdi:!0,"mdi-chevron-up":t.togglePopover,"mdi-chevron-down":!t.togglePopover}})])]}}]),model:{value:t.togglePopover,callback:function(e){t.togglePopover=e},expression:"togglePopover"}},[e("v-list",{staticClass:"pa-0",attrs:{dense:""}},t._l(t.optionsList,(function(i){return e("v-list-item",{key:i.key,attrs:{link:"",title:i.label},on:{click:function(e){return t.onClick(i.key)}}},[e("v-list-item-content",[e("v-list-item-title",{domProps:{textContent:t._s(i.label)}})],1)],1)})),1)],1)},Cu=[],Su=u.a.extend({name:"farm-btn-export",props:{optionsList:{type:Array,default:()=>[]},disabled:{type:Boolean,default:!1}},data(){return{togglePopover:!1}},components:{VList:xs,VListItem:gs,VMenu:us,VListItemContent:Ds,VListItemTitle:As},methods:{onClick(t){this.$emit("onClick",t)}}}),$u=Su,wu=(i("5bc7"),Me($u,xu,Cu,!1,null,"052ab7e7",null)),ku=wu.exports,Ou=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("farm-btn",{staticClass:"farm-btn--responsive farm-btn--import",attrs:{title:"Importar"},on:{click:t.onClick}},[e("farm-icon",[t._v("upload")]),t._v(" "+t._s(t.label)+" ")],1)},Pu=[],Iu=u.a.extend({name:"farm-btn-import",props:{label:{type:String,default:"Importar"}},methods:{onClick(){this.$emit("onClick")}}}),Lu=Iu,Du=(i("4cda"),Me(Lu,Ou,Pu,!1,null,"464b3921",null)),Au=Du.exports,Mu=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("farm-btn",{staticClass:"farm-btn--responsive",class:{"v-btn_icon--prepend":t.prepend,"v-btn_icon--apppend":!t.prepend},attrs:{dense:"",color:t.color,outlined:!t.open,title:t.label},on:{click:t.onClick}},[t.prepend?e("farm-icon",{staticClass:"mr-3 ml-0"},[t._v(t._s("chevron-"+(t.open?"up":"down")))]):t._e(),t._v(" "+t._s(t.label)+" "),t.prepend?t._e():e("farm-icon",{staticClass:"ml-3 mr-0"},[t._v(t._s("chevron-"+(t.open?"up":"down")))])],1)},Tu=[],Bu=u.a.extend({name:"farm-btn-toggle",data:()=>({open:!1}),props:{label:{type:String,default:""},color:{type:String,default:"secondary"},pressed:{type:Boolean,default:!1},position:{type:String,default:"left"}},methods:{onClick(){this.open=!this.open}},watch:{open(t){this.$emit("onChange",t)}},created(){this.open=this.pressed},computed:{prepend(){return"left"===this.position}}}),Eu=Bu,Fu=Me(Eu,Mu,Tu,!1,null,null,null),Vu=Fu.exports,ju=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("farm-btn",{staticClass:"farm-btn--responsive",attrs:{dense:"",color:"error",title:t.label,disabled:t.disabled},on:{click:t.onClick}},[e("farm-icon",[t._v("trash-can-outline")]),t._v(" "+t._s(t.label)+" ")],1)},Ru=[],zu=u.a.extend({name:"farm-btn-remove",props:{label:{type:String,default:"Remover"},disabled:{type:Boolean,default:!1}},methods:{onClick(){this.$emit("onClick")}}}),Nu=zu,Hu=(i("ddf7"),Me(Nu,ju,Ru,!1,null,"e16764bc",null)),Wu=Hu.exports,qu=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("v-menu",{attrs:{"content-class":"elevation-1","offset-y":!0,rounded:"b t-0"},scopedSlots:t._u([{key:"activator",fn:function({on:i,attrs:s}){return[e("farm-btn",t._g(t._b({staticClass:"farm-btn--responsive farm-btn--import",attrs:{dense:"",outlined:"",title:"Importar"},on:{onClick:function(e){t.togglePopover=!0}}},"farm-btn",s,!1),i),[t._v(" Importar "),e("i",{class:{"ml-2":!0,"mr-0":!0,mdi:!0,"mdi-chevron-up":t.togglePopover,"mdi-chevron-down":!t.togglePopover}})])]}}]),model:{value:t.togglePopover,callback:function(e){t.togglePopover=e},expression:"togglePopover"}},[e("v-list",{staticClass:"pa-0",attrs:{dense:""}},t._l(t.optionsList,(function(i){return e("v-list-item",{key:i.listenerKey,attrs:{link:"",title:i.title},on:{click:function(e){return t.$emit("onClick",i.listenerKey)}}},[e("v-list-item-content",[e("v-list-item-title",[t._v(t._s(i.title))])],1)],1)})),1)],1)},Uu=[],Yu=u.a.extend({name:"farm-btn-multipleimport",components:{VList:xs,VListItem:gs,VMenu:us,VListItemContent:Ds,VListItemTitle:As},props:{optionsList:{type:Array,default:()=>[]}},data(){return{togglePopover:!1}}}),Zu=Yu,Ku=(i("2884"),Me(Zu,qu,Uu,!1,null,"7c355fe7",null)),Gu=Ku.exports,Xu=function(){var t=this,e=t._self._c;t._self._setupProxy;return e(t.tag,{tag:"component",staticClass:"farm-card"},[t._t("default")],2)},Ju=[],Qu=u.a.extend({name:"farm-card",inheritAttrs:!0,props:{tag:{type:String,default:"div"}}}),tc=Qu,ec=(i("d4e7"),Me(tc,Xu,Ju,!1,null,"48fb5f54",null)),ic=ec.exports,sc=function(){var t=this,e=t._self._c;t._self._setupProxy;return e(t.tag,{tag:"component",staticClass:"farm-card__content",attrs:{gutter:t.gutter}},[t._t("default")],2)},nc=[],rc=u.a.extend({name:"farm-card-content",props:{tag:{type:String,default:"div"},gutter:{type:String,default:"default"}},inheritAttrs:!0}),ac=rc,oc=(i("495c"),Me(ac,sc,nc,!1,null,"3e5867b0",null)),lc=oc.exports,uc=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"farm-checkbox__container"},[e("span",{class:{"farm-checkbox":!0,"farm-checkbox--checked":t.innerValue},on:{click:t.toggleValue}},[t.innerValue?e("farm-icon",{attrs:{size:"sm"}},[t._v("check")]):t._e()],1),t.label?e("farm-label",[t._v(" "+t._s(t.label)+" ")]):t._e()],1)},cc=[],hc=u.a.extend({name:"farm-checkbox",props:{value:{type:Boolean,required:!0},label:{type:String,default:null}},setup(t,{emit:e}){const i=Object(l["ref"])(t.value),{label:s}=t,n=()=>{i.value=!i.value,e("input",i.value)};return{innerValue:i,label:s,toggleValue:n}}}),dc=hc,pc=(i("2959"),Me(dc,uc,cc,!1,null,"2c4c2ed3",null)),fc=pc.exports,mc=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("span",{class:{"farm-chip":!0}},[e("farm-typography",{attrs:{tag:"span",size:"sm"}},[t._t("default")],2)],1)},gc=[],vc=u.a.extend({name:"farm-chip",inheritAttrs:!0}),bc=vc,yc=(i("6031"),Me(bc,mc,gc,!1,null,"3cf5e20a",null)),_c=yc.exports,xc=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("img",{attrs:{src:t.imgSrc}})},Cc=[],Sc=u.a.extend({name:"farm-imglogo-product",inheritAttrs:!0,props:{id:{required:!0},variation:{type:String,default:"full"}},computed:{imgSrc(){const t=window.location.href;return`${t.indexOf("localhost")||t.indexOf("front-farm-storybook")?"https://dev.plataforma.portalfarm.com.br":""}/public/logos/products/${this.id}/${this.variation}.svg`}}}),$c=Sc,wc=Me($c,xc,Cc,!1,null,null,null),kc=wc.exports,Oc=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("img",{attrs:{src:t.imgSrc}})},Pc=[],Ic=u.a.extend({name:"farm-imglogo-originator",inheritAttrs:!0,props:{id:{required:!0},variation:{type:String,default:"full"}},computed:{imgSrc(){const t=window.location.href;return`${t.indexOf("localhost")||t.indexOf("front-farm-storybook")?"https://dev.plataforma.portalfarm.com.br":""}/public/logos/originadores/${this.id}/${this.variation}.svg`}}}),Lc=Ic,Dc=Me(Lc,Oc,Pc,!1,null,null,null),Ac=Dc.exports,Mc=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"ml-6 mr-3 d-flex align-center"},[t._v(" Total de linhas selecionadas: "+t._s(t.length)+" "),t.length>0?e("farm-btn",{staticClass:"ml-3",attrs:{color:"error",small:"",dense:""},on:{click:t.reset}},[e("v-icon",{attrs:{small:""}},[t._v(" mdi-trash-can ")]),t._v(" Desmarcar ")],1):t._e()],1)},Tc=[],Bc=u.a.extend({name:"farm-tablerowselection",components:{VIcon:Qe,"farm-btn":Gn},props:{length:{default:0,type:Number}},methods:{reset(){this.$emit("onReset")}}}),Ec=Bc,Fc=(i("121f"),Me(Ec,Mc,Tc,!1,null,"6592acd8",null)),Vc=Fc.exports,jc=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"align-center"},[0===t.index?e("span",{staticClass:"mr-1 label"},[t._v(t._s(t.item[t.labelKey]))]):t._e(),1===t.index?e("span",{staticClass:"label"},[t._v(" (+"+t._s(t.itemsLength-1)+" "+t._s(t.itemsLength>2?"outros":"outro")+" ) ")]):t._e()])},Rc=[],zc=u.a.extend({name:"farm-multiple-select-shortener",props:{labelKey:{type:String,default:"label"},item:{type:Object},index:{type:Number},itemsLength:{type:Number}}}),Nc=zc,Hc=(i("d5b1"),Me(Nc,jc,Rc,!1,null,"31e8b3ae",null)),Wc=Hc.exports,qc=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("v-col",{staticClass:"v-col-fieldset-default",attrs:{cols:"12",sm:"12",md:t.config.md?t.config.md:2}},[e("div",{staticClass:"v-text-field"},[e("label",{attrs:{for:t.inputId}},[t._v(" "+t._s(t.label)+" "),t.config.required?e("span",{staticClass:"required"},[t._v("*")]):t._e()]),e("v-text-field",{attrs:{"append-icon":"mdi-magnify ",color:"secondary",outlined:"",dense:"",readonly:"",id:t.inputId,value:t.selectedValueText},on:{keyup:t.clearTextField,click:t.openModal}})],1),e("v-dialog",{attrs:{"content-class":"modal-default modal-default-small"},model:{value:t.showModal,callback:function(e){t.showModal=e},expression:"showModal"}},[e("DialogHeader",{staticClass:"dialog-header",attrs:{title:t.modalTitle},on:{onClose:t.closeModal}}),e("v-main",{staticClass:"mt-9"},[t.isLoading?e("Loader",{staticClass:"text-center mb-2"}):t._e(),t.isLoading?t._e():e("fieldset",{staticClass:"fieldset-default mx-4 mb-3"},[e("label",{attrs:{for:"searchInput"}},[t._v(" "+t._s(t.label)+" ")]),e("v-text-field",{attrs:{color:"secondary",id:"searchInput",outlined:"",dense:"","hide-details":"",placeholder:t.placeholder},model:{value:t.searchValue,callback:function(e){t.searchValue=e},expression:"searchValue"}})],1),t.isLoading?t._e():e("v-data-table",{staticClass:"v-data-table__clickable v-data-table__select-modal",attrs:{id:"inputModalOptionsTable","hide-default-footer":"","hide-default-header":"",items:t.items,headers:t.headers,options:t.pagination,search:t.searchValue,"custom-filter":t.customFilter},on:{"update:options":function(e){t.pagination=e},"click:row":t.handleClick,pagination:t.handlePagination},scopedSlots:t._u([{key:"item.label",fn:function({item:i}){return[e("td",{attrs:{title:t.getItemLabel(i),"aria-role":"button"}},[t._v(" "+t._s(t.getItemLabel(i))+" ")])]}},{key:"footer",fn:function(){return[e("DataTablePaginator",{staticClass:"my-6",attrs:{hidePerPageOptions:"",initialLimitPerPage:t.pagination.itemsPerPage,page:t.pagination.page,totalPages:t.pagination.pages},on:{onChangePage:t.onChangePage}})]},proxy:!0}],null,!0)},[e("template",{slot:"no-data"},[e("DataTableEmptyWrapper")],1),e("template",{slot:"no-results"},[e("DataTableEmptyWrapper")],1)],2)],1),e("DialogFooter",{attrs:{hasConfirm:!1},on:{onClose:t.closeModal}})],1)],1)},Uc=[],Yc=sn,Zc=(i("91f4"),u.a.extend({name:"v-data",inheritAttrs:!1,props:{items:{type:Array,default:()=>[]},options:{type:Object,default:()=>({})},sortBy:{type:[String,Array]},sortDesc:{type:[Boolean,Array]},customSort:{type:Function,default:j},mustSort:Boolean,multiSort:Boolean,page:{type:Number,default:1},itemsPerPage:{type:Number,default:10},groupBy:{type:[String,Array],default:()=>[]},groupDesc:{type:[Boolean,Array],default:()=>[]},customGroup:{type:Function,default:F},locale:{type:String,default:"en-US"},disableSort:Boolean,disablePagination:Boolean,disableFiltering:Boolean,search:String,customFilter:{type:Function,default:z},serverItemsLength:{type:Number,default:-1}},data(){let t={page:this.page,itemsPerPage:this.itemsPerPage,sortBy:V(this.sortBy),sortDesc:V(this.sortDesc),groupBy:V(this.groupBy),groupDesc:V(this.groupDesc),mustSort:this.mustSort,multiSort:this.multiSort};this.options&&(t=Object.assign(t,this.options));const{sortBy:e,sortDesc:i,groupBy:s,groupDesc:n}=t,r=e.length-i.length,a=s.length-n.length;return r>0&&t.sortDesc.push(...K(r,!1)),a>0&&t.groupDesc.push(...K(a,!1)),{internalOptions:t}},computed:{itemsLength(){return this.serverItemsLength>=0?this.serverItemsLength:this.filteredItems.length},pageCount(){return this.internalOptions.itemsPerPage<=0?1:Math.ceil(this.itemsLength/this.internalOptions.itemsPerPage)},pageStart(){return-1!==this.internalOptions.itemsPerPage&&this.items.length?(this.internalOptions.page-1)*this.internalOptions.itemsPerPage:0},pageStop(){return-1===this.internalOptions.itemsPerPage?this.itemsLength:this.items.length?Math.min(this.itemsLength,this.internalOptions.page*this.internalOptions.itemsPerPage):0},isGrouped(){return!!this.internalOptions.groupBy.length},pagination(){return{page:this.internalOptions.page,itemsPerPage:this.internalOptions.itemsPerPage,pageStart:this.pageStart,pageStop:this.pageStop,pageCount:this.pageCount,itemsLength:this.itemsLength}},filteredItems(){let t=this.items.slice();return!this.disableFiltering&&this.serverItemsLength<=0&&(t=this.customFilter(t,this.search)),t},computedItems(){let t=this.filteredItems.slice();return(!this.disableSort||this.internalOptions.groupBy.length)&&this.serverItemsLength<=0&&(t=this.sortItems(t)),!this.disablePagination&&this.serverItemsLength<=0&&(t=this.paginateItems(t)),t},groupedItems(){return this.isGrouped?this.groupItems(this.computedItems):null},scopedProps(){return{sort:this.sort,sortArray:this.sortArray,group:this.group,items:this.computedItems,options:this.internalOptions,updateOptions:this.updateOptions,pagination:this.pagination,groupedItems:this.groupedItems,originalItemsLength:this.items.length}},computedOptions(){return{...this.options}}},watch:{computedOptions:{handler(t,e){_(t,e)||this.updateOptions(t)},deep:!0,immediate:!0},internalOptions:{handler(t,e){_(t,e)||this.$emit("update:options",t)},deep:!0,immediate:!0},page(t){this.updateOptions({page:t})},"internalOptions.page"(t){this.$emit("update:page",t)},itemsPerPage(t){this.updateOptions({itemsPerPage:t})},"internalOptions.itemsPerPage"(t){this.$emit("update:items-per-page",t)},sortBy(t){this.updateOptions({sortBy:V(t)})},"internalOptions.sortBy"(t,e){!_(t,e)&&this.$emit("update:sort-by",Array.isArray(this.sortBy)?t:t[0])},sortDesc(t){this.updateOptions({sortDesc:V(t)})},"internalOptions.sortDesc"(t,e){!_(t,e)&&this.$emit("update:sort-desc",Array.isArray(this.sortDesc)?t:t[0])},groupBy(t){this.updateOptions({groupBy:V(t)})},"internalOptions.groupBy"(t,e){!_(t,e)&&this.$emit("update:group-by",Array.isArray(this.groupBy)?t:t[0])},groupDesc(t){this.updateOptions({groupDesc:V(t)})},"internalOptions.groupDesc"(t,e){!_(t,e)&&this.$emit("update:group-desc",Array.isArray(this.groupDesc)?t:t[0])},multiSort(t){this.updateOptions({multiSort:t})},"internalOptions.multiSort"(t){this.$emit("update:multi-sort",t)},mustSort(t){this.updateOptions({mustSort:t})},"internalOptions.mustSort"(t){this.$emit("update:must-sort",t)},pageCount:{handler(t){this.$emit("page-count",t)},immediate:!0},computedItems:{handler(t){this.$emit("current-items",t)},immediate:!0},pagination:{handler(t,e){_(t,e)||this.$emit("pagination",this.pagination)},immediate:!0}},methods:{toggle(t,e,i,s,n,r){let a=e.slice(),o=i.slice();const l=a.findIndex(e=>e===t);return l<0?(r||(a=[],o=[]),a.push(t),o.push(!1)):l>=0&&!o[l]?o[l]=!0:n?o[l]=!1:(a.splice(l,1),o.splice(l,1)),_(a,e)&&_(o,i)||(s=1),{by:a,desc:o,page:s}},group(t){const{by:e,desc:i,page:s}=this.toggle(t,this.internalOptions.groupBy,this.internalOptions.groupDesc,this.internalOptions.page,!0,!1);this.updateOptions({groupBy:e,groupDesc:i,page:s})},sort(t){if(Array.isArray(t))return this.sortArray(t);const{by:e,desc:i,page:s}=this.toggle(t,this.internalOptions.sortBy,this.internalOptions.sortDesc,this.internalOptions.page,this.internalOptions.mustSort,this.internalOptions.multiSort);this.updateOptions({sortBy:e,sortDesc:i,page:s})},sortArray(t){const e=t.map(t=>{const e=this.internalOptions.sortBy.findIndex(e=>e===t);return e>-1&&this.internalOptions.sortDesc[e]});this.updateOptions({sortBy:t,sortDesc:e})},updateOptions(t){this.internalOptions={...this.internalOptions,...t,page:this.serverItemsLength<0?Math.max(1,Math.min(t.page||this.internalOptions.page,this.pageCount)):t.page||this.internalOptions.page}},sortItems(t){let e=[],i=[];return this.disableSort||(e=this.internalOptions.sortBy,i=this.internalOptions.sortDesc),this.internalOptions.groupBy.length&&(e=[...this.internalOptions.groupBy,...e],i=[...this.internalOptions.groupDesc,...i]),this.customSort(t,e,i,this.locale)},groupItems(t){return this.customGroup(t,this.internalOptions.groupBy,this.internalOptions.groupDesc)},paginateItems(t){return-1===this.serverItemsLength&&t.length<=this.pageStart&&(this.internalOptions.page=Math.max(1,Math.ceil(t.length/this.internalOptions.itemsPerPage))||1),t.slice(this.pageStart,this.pageStop)}},render(){return this.$scopedSlots.default&&this.$scopedSlots.default(this.scopedProps)}})),Kc=(i("495d"),u.a.extend({name:"v-data-footer",props:{options:{type:Object,required:!0},pagination:{type:Object,required:!0},itemsPerPageOptions:{type:Array,default:()=>[5,10,15,-1]},prevIcon:{type:String,default:"$prev"},nextIcon:{type:String,default:"$next"},firstIcon:{type:String,default:"$first"},lastIcon:{type:String,default:"$last"},itemsPerPageText:{type:String,default:"$vuetify.dataFooter.itemsPerPageText"},itemsPerPageAllText:{type:String,default:"$vuetify.dataFooter.itemsPerPageAll"},showFirstLastPage:Boolean,showCurrentPage:Boolean,disablePagination:Boolean,disableItemsPerPage:Boolean,pageText:{type:String,default:"$vuetify.dataFooter.pageText"}},computed:{disableNextPageIcon(){return this.options.itemsPerPage<=0||this.options.page*this.options.itemsPerPage>=this.pagination.itemsLength||this.pagination.pageStop<0},computedDataItemsPerPageOptions(){return this.itemsPerPageOptions.map(t=>"object"===typeof t?t:this.genDataItemsPerPageOption(t))}},methods:{updateOptions(t){this.$emit("update:options",Object.assign({},this.options,t))},onFirstPage(){this.updateOptions({page:1})},onPreviousPage(){this.updateOptions({page:this.options.page-1})},onNextPage(){this.updateOptions({page:this.options.page+1})},onLastPage(){this.updateOptions({page:this.pagination.pageCount})},onChangeItemsPerPage(t){this.updateOptions({itemsPerPage:t,page:1})},genDataItemsPerPageOption(t){return{text:-1===t?this.$vuetify.lang.t(this.itemsPerPageAllText):String(t),value:t}},genItemsPerPageSelect(){let t=this.options.itemsPerPage;const e=this.computedDataItemsPerPageOptions;return e.length<=1?null:(e.find(e=>e.value===t)||(t=e[0]),this.$createElement("div",{staticClass:"v-data-footer__select"},[this.$vuetify.lang.t(this.itemsPerPageText),this.$createElement(on,{attrs:{"aria-label":this.$vuetify.lang.t(this.itemsPerPageText)},props:{disabled:this.disableItemsPerPage,items:e,value:t,hideDetails:!0,auto:!0,minWidth:"75px"},on:{input:this.onChangeItemsPerPage}})]))},genPaginationInfo(){let t=["–"];const e=this.pagination.itemsLength;let i=this.pagination.pageStart,s=this.pagination.pageStop;return this.pagination.itemsLength&&this.pagination.itemsPerPage?(i=this.pagination.pageStart+1,s=e<this.pagination.pageStop||this.pagination.pageStop<0?e:this.pagination.pageStop,t=this.$scopedSlots["page-text"]?[this.$scopedSlots["page-text"]({pageStart:i,pageStop:s,itemsLength:e})]:[this.$vuetify.lang.t(this.pageText,i,s,e)]):this.$scopedSlots["page-text"]&&(t=[this.$scopedSlots["page-text"]({pageStart:i,pageStop:s,itemsLength:e})]),this.$createElement("div",{class:"v-data-footer__pagination"},t)},genIcon(t,e,i,s){return this.$createElement(Mr,{props:{disabled:e||this.disablePagination,icon:!0,text:!0},on:{click:t},attrs:{"aria-label":i}},[this.$createElement(Qe,s)])},genIcons(){const t=[],e=[];return t.push(this.genIcon(this.onPreviousPage,1===this.options.page,this.$vuetify.lang.t("$vuetify.dataFooter.prevPage"),this.$vuetify.rtl?this.nextIcon:this.prevIcon)),e.push(this.genIcon(this.onNextPage,this.disableNextPageIcon,this.$vuetify.lang.t("$vuetify.dataFooter.nextPage"),this.$vuetify.rtl?this.prevIcon:this.nextIcon)),this.showFirstLastPage&&(t.unshift(this.genIcon(this.onFirstPage,1===this.options.page,this.$vuetify.lang.t("$vuetify.dataFooter.firstPage"),this.$vuetify.rtl?this.lastIcon:this.firstIcon)),e.push(this.genIcon(this.onLastPage,this.options.page>=this.pagination.pageCount||-1===this.options.itemsPerPage,this.$vuetify.lang.t("$vuetify.dataFooter.lastPage"),this.$vuetify.rtl?this.firstIcon:this.lastIcon))),[this.$createElement("div",{staticClass:"v-data-footer__icons-before"},t),this.showCurrentPage&&this.$createElement("span",[this.options.page.toString()]),this.$createElement("div",{staticClass:"v-data-footer__icons-after"},e)]}},render(){return this.$createElement("div",{staticClass:"v-data-footer"},[q(this,"prepend"),this.genItemsPerPageSelect(),this.genPaginationInfo(),this.genIcons()])}})),Gc=ke(dr,$e).extend({name:"v-data-iterator",props:{...Zc.options.props,itemKey:{type:String,default:"id"},value:{type:Array,default:()=>[]},singleSelect:Boolean,expanded:{type:Array,default:()=>[]},mobileBreakpoint:{...dr.options.props.mobileBreakpoint,default:600},singleExpand:Boolean,loading:[Boolean,String],noResultsText:{type:String,default:"$vuetify.dataIterator.noResultsText"},noDataText:{type:String,default:"$vuetify.noDataText"},loadingText:{type:String,default:"$vuetify.dataIterator.loadingText"},hideDefaultFooter:Boolean,footerProps:Object,selectableKey:{type:String,default:"isSelectable"}},data:()=>({selection:{},expansion:{},internalCurrentItems:[],shiftKeyDown:!1,lastEntry:-1}),computed:{everyItem(){return!!this.selectableItems.length&&this.selectableItems.every(t=>this.isSelected(t))},someItems(){return this.selectableItems.some(t=>this.isSelected(t))},sanitizedFooterProps(){return Y(this.footerProps)},selectableItems(){return this.internalCurrentItems.filter(t=>this.isSelectable(t))}},watch:{value:{handler(t){this.selection=t.reduce((t,e)=>(t[x(e,this.itemKey)]=e,t),{})},immediate:!0},selection(t,e){_(Object.keys(t),Object.keys(e))||this.$emit("input",Object.values(t))},expanded:{handler(t){this.expansion=t.reduce((t,e)=>(t[x(e,this.itemKey)]=!0,t),{})},immediate:!0},expansion(t,e){if(_(t,e))return;const i=Object.keys(t).filter(e=>t[e]),s=i.length?this.items.filter(t=>i.includes(String(x(t,this.itemKey)))):[];this.$emit("update:expanded",s)}},created(){const t=[["disable-initial-sort","sort-by"],["filter","custom-filter"],["pagination","options"],["total-items","server-items-length"],["hide-actions","hide-default-footer"],["rows-per-page-items","footer-props.items-per-page-options"],["rows-per-page-text","footer-props.items-per-page-text"],["prev-icon","footer-props.prev-icon"],["next-icon","footer-props.next-icon"]];t.forEach(([t,e])=>{this.$attrs.hasOwnProperty(t)&&fe(t,e,this)});const e=["expand","content-class","content-props","content-tag"];e.forEach(t=>{this.$attrs.hasOwnProperty(t)&&me(t)})},mounted(){window.addEventListener("keydown",this.onKeyDown),window.addEventListener("keyup",this.onKeyUp)},beforeDestroy(){window.removeEventListener("keydown",this.onKeyDown),window.removeEventListener("keyup",this.onKeyUp)},methods:{onKeyDown(t){t.keyCode===D.shift&&(this.shiftKeyDown=!0)},onKeyUp(t){t.keyCode===D.shift&&(this.shiftKeyDown=!1)},toggleSelectAll(t){const e=Object.assign({},this.selection);for(let i=0;i<this.selectableItems.length;i++){const s=this.selectableItems[i];if(!this.isSelectable(s))continue;const n=x(s,this.itemKey);t?e[n]=s:delete e[n]}this.selection=e,this.$emit("toggle-select-all",{items:this.internalCurrentItems,value:t})},isSelectable(t){return!1!==x(t,this.selectableKey)},isSelected(t){return!!this.selection[x(t,this.itemKey)]||!1},select(t,e=!0,i=!0){if(!this.isSelectable(t))return;const s=this.singleSelect?{}:Object.assign({},this.selection),n=x(t,this.itemKey);e?s[n]=t:delete s[n];const r=this.selectableItems.findIndex(t=>x(t,this.itemKey)===n);if(-1===this.lastEntry)this.lastEntry=r;else if(this.shiftKeyDown&&!this.singleSelect&&i){const t=x(this.selectableItems[this.lastEntry],this.itemKey),e=Object.keys(this.selection).includes(String(t));this.multipleSelect(e,i,s,r)}if(this.lastEntry=r,this.singleSelect&&i){const t=Object.keys(this.selection),e=t.length&&x(this.selection[t[0]],this.itemKey);e&&e!==n&&this.$emit("item-selected",{item:this.selection[e],value:!1})}this.selection=s,i&&this.$emit("item-selected",{item:t,value:e})},multipleSelect(t=!0,e=!0,i,s){const n=s<this.lastEntry?s:this.lastEntry,r=s<this.lastEntry?this.lastEntry:s;for(let a=n;a<=r;a++){const s=this.selectableItems[a],n=x(s,this.itemKey);t?i[n]=s:delete i[n],e&&this.$emit("item-selected",{currentItem:s,value:t})}},isExpanded(t){return this.expansion[x(t,this.itemKey)]||!1},expand(t,e=!0){const i=this.singleExpand?{}:Object.assign({},this.expansion),s=x(t,this.itemKey);e?i[s]=!0:delete i[s],this.expansion=i,this.$emit("item-expanded",{item:t,value:e})},createItemProps(t,e){return{item:t,index:e,select:e=>this.select(t,e),isSelected:this.isSelected(t),expand:e=>this.expand(t,e),isExpanded:this.isExpanded(t),isMobile:this.isMobile}},genEmptyWrapper(t){return this.$createElement("div",t)},genEmpty(t,e){if(0===t&&this.loading){const t=this.$slots.loading||this.$vuetify.lang.t(this.loadingText);return this.genEmptyWrapper(t)}if(0===t){const t=this.$slots["no-data"]||this.$vuetify.lang.t(this.noDataText);return this.genEmptyWrapper(t)}if(0===e){const t=this.$slots["no-results"]||this.$vuetify.lang.t(this.noResultsText);return this.genEmptyWrapper(t)}return null},genItems(t){const e=this.genEmpty(t.originalItemsLength,t.pagination.itemsLength);return e?[e]:this.$scopedSlots.default?this.$scopedSlots.default({...t,isSelected:this.isSelected,select:this.select,isExpanded:this.isExpanded,isMobile:this.isMobile,expand:this.expand}):this.$scopedSlots.item?t.items.map((t,e)=>this.$scopedSlots.item(this.createItemProps(t,e))):[]},genFooter(t){if(this.hideDefaultFooter)return null;const e={props:{...this.sanitizedFooterProps,options:t.options,pagination:t.pagination},on:{"update:options":e=>t.updateOptions(e)}},i=W("footer.",this.$scopedSlots);return this.$createElement(Kc,{scopedSlots:i,...e})},genDefaultScopedSlot(t){const e={...t,someItems:this.someItems,everyItem:this.everyItem,toggleSelectAll:this.toggleSelectAll};return this.$createElement("div",{staticClass:"v-data-iterator"},[q(this,"header",e,!0),this.genItems(t),this.genFooter(t),q(this,"footer",e,!0)])}},render(){return this.$createElement(Zc,{props:this.$props,on:{"update:options":(t,e)=>!_(t,e)&&this.$emit("update:options",t),"update:page":t=>this.$emit("update:page",t),"update:items-per-page":t=>this.$emit("update:items-per-page",t),"update:sort-by":t=>this.$emit("update:sort-by",t),"update:sort-desc":t=>this.$emit("update:sort-desc",t),"update:group-by":t=>this.$emit("update:group-by",t),"update:group-desc":t=>this.$emit("update:group-desc",t),pagination:(t,e)=>!_(t,e)&&this.$emit("pagination",t),"current-items":t=>{this.internalCurrentItems=t,this.$emit("current-items",t)},"page-count":t=>this.$emit("page-count",t)},scopedSlots:{default:this.genDefaultScopedSlot}})}}),Xc=(i("f823"),ke().extend({directives:{ripple:Oi},props:{headers:{type:Array,default:()=>[]},options:{type:Object,default:()=>({page:1,itemsPerPage:10,sortBy:[],sortDesc:[],groupBy:[],groupDesc:[],multiSort:!1,mustSort:!1})},checkboxColor:String,sortIcon:{type:String,default:"$sort"},everyItem:Boolean,someItems:Boolean,showGroupBy:Boolean,singleSelect:Boolean,disableSort:Boolean},methods:{genSelectAll(){var t;const e={props:{value:this.everyItem,indeterminate:!this.everyItem&&this.someItems,color:null!==(t=this.checkboxColor)&&void 0!==t?t:""},on:{input:t=>this.$emit("toggle-select-all",t)}};return this.$scopedSlots["data-table-select"]?this.$scopedSlots["data-table-select"](e):this.$createElement(cs,{staticClass:"v-data-table__checkbox",...e})},genSortIcon(){return this.$createElement(Qe,{staticClass:"v-data-table-header__icon",props:{size:18}},[this.sortIcon])}}})),Jc=ke(Xc).extend({name:"v-data-table-header-mobile",props:{sortByText:{type:String,default:"$vuetify.dataTable.sortBy"}},methods:{genSortChip(t){const e=[t.item.text],i=this.options.sortBy.findIndex(e=>e===t.item.value),s=i>=0,n=this.options.sortDesc[i];return e.push(this.$createElement("div",{staticClass:"v-chip__close",class:{sortable:!0,active:s,asc:s&&!n,desc:s&&n}},[this.genSortIcon()])),this.$createElement(Li,{staticClass:"sortable",on:{click:e=>{e.stopPropagation(),this.$emit("sort",t.item.value)}}},e)},genSortSelect(t){return this.$createElement(on,{props:{label:this.$vuetify.lang.t(this.sortByText),items:t,hideDetails:!0,multiple:this.options.multiSort,value:this.options.multiSort?this.options.sortBy:this.options.sortBy[0],menuProps:{closeOnContentClick:!0}},on:{change:t=>this.$emit("sort",t)},scopedSlots:{selection:t=>this.genSortChip(t)}})}},render(t){const e=[],i=this.headers.find(t=>"data-table-select"===t.value);i&&!this.singleSelect&&e.push(this.$createElement("div",{class:["v-data-table-header-mobile__select",...V(i.class)],attrs:{width:i.width}},[this.genSelectAll()]));const s=this.headers.filter(t=>!1!==t.sortable&&"data-table-select"!==t.value).map(t=>({text:t.text,value:t.value}));!this.disableSort&&s.length&&e.push(this.genSortSelect(s));const n=e.length?t("th",[t("div",{staticClass:"v-data-table-header-mobile__wrapper"},e)]):void 0,r=t("tr",[n]);return t("thead",{staticClass:"v-data-table-header v-data-table-header-mobile"},[r])}}),Qc=ke(Xc).extend({name:"v-data-table-header-desktop",methods:{genGroupByToggle(t){return this.$createElement("span",{on:{click:e=>{e.stopPropagation(),this.$emit("group",t.value)}}},["group"])},getAria(t,e){const i=t=>this.$vuetify.lang.t("$vuetify.dataTable.ariaLabel."+t);let s="none",n=[i("sortNone"),i("activateAscending")];return t?(e?(s="descending",n=[i("sortDescending"),i(this.options.mustSort?"activateAscending":"activateNone")]):(s="ascending",n=[i("sortAscending"),i("activateDescending")]),{ariaSort:s,ariaLabel:n.join(" ")}):{ariaSort:s,ariaLabel:n.join(" ")}},genHeader(t){const e={attrs:{role:"columnheader",scope:"col","aria-label":t.text||""},style:{width:P(t.width),minWidth:P(t.width)},class:["text-"+(t.align||"start"),...V(t.class),t.divider&&"v-data-table__divider"],on:{}},i=[];if("data-table-select"===t.value&&!this.singleSelect)return this.$createElement("th",e,[this.genSelectAll()]);if(i.push(this.$scopedSlots.hasOwnProperty(t.value)?this.$scopedSlots[t.value]({header:t}):this.$createElement("span",[t.text])),!this.disableSort&&(t.sortable||!t.hasOwnProperty("sortable"))){e.on.click=()=>this.$emit("sort",t.value);const s=this.options.sortBy.findIndex(e=>e===t.value),n=s>=0,r=this.options.sortDesc[s];e.class.push("sortable");const{ariaLabel:a,ariaSort:o}=this.getAria(n,r);e.attrs["aria-label"]+=`${t.text?": ":""}${a}`,e.attrs["aria-sort"]=o,n&&(e.class.push("active"),e.class.push(r?"desc":"asc")),"end"===t.align?i.unshift(this.genSortIcon()):i.push(this.genSortIcon()),this.options.multiSort&&n&&i.push(this.$createElement("span",{class:"v-data-table-header__sort-badge"},[String(s+1)]))}return this.showGroupBy&&!1!==t.groupable&&i.push(this.genGroupByToggle(t)),this.$createElement("th",e,i)}},render(){return this.$createElement("thead",{staticClass:"v-data-table-header"},[this.$createElement("tr",this.headers.map(t=>this.genHeader(t)))])}});function th(t){if(t.model&&t.on&&t.on.input)if(Array.isArray(t.on.input)){const e=t.on.input.indexOf(t.model.callback);e>-1&&t.on.input.splice(e,1)}else delete t.on.input}function eh(t,e){const i=[];for(const s in t)t.hasOwnProperty(s)&&i.push(e("template",{slot:s},t[s]));return i}var ih=u.a.extend({name:"v-data-table-header",functional:!0,props:{...Xc.options.props,mobile:Boolean},render(t,{props:e,data:i,slots:s}){th(i);const n=eh(s(),t);return i=ze(i,{props:e}),e.mobile?t(Jc,i,n):t(Qc,i,n)}});function sh(t){var e;return 1!==t.length||!["td","th"].includes(null===(e=t[0])||void 0===e?void 0:e.tag)}var nh=u.a.extend({name:"row",functional:!0,props:{headers:Array,index:Number,item:Object,rtl:Boolean},render(t,{props:e,slots:i,data:s}){const n=i(),r=e.headers.map(i=>{const r=[],a=x(e.item,i.value),o=i.value,l=s.scopedSlots&&s.scopedSlots.hasOwnProperty(o)&&s.scopedSlots[o],u=n.hasOwnProperty(o)&&n[o];l?r.push(...V(l({item:e.item,isMobile:!1,header:i,index:e.index,value:a}))):u?r.push(...V(u)):r.push(null==a?a:String(a));const c="text-"+(i.align||"start");return sh(r)?t("td",{class:[c,i.cellClass,{"v-data-table__divider":i.divider}]},r):r});return t("tr",s,r)}}),rh=u.a.extend({name:"row-group",functional:!0,props:{value:{type:Boolean,default:!0},headerClass:{type:String,default:"v-row-group__header"},contentClass:String,summaryClass:{type:String,default:"v-row-group__summary"}},render(t,{slots:e,props:i}){const s=e(),n=[];return s["column.header"]?n.push(t("tr",{staticClass:i.headerClass},s["column.header"])):s["row.header"]&&n.push(...s["row.header"]),s["row.content"]&&i.value&&n.push(...s["row.content"]),s["column.summary"]?n.push(t("tr",{staticClass:i.summaryClass},s["column.summary"])):s["row.summary"]&&n.push(...s["row.summary"]),n}}),ah=(i("8b37"),ke($e).extend({name:"v-simple-table",props:{dense:Boolean,fixedHeader:Boolean,height:[Number,String]},computed:{classes(){return{"v-data-table--dense":this.dense,"v-data-table--fixed-height":!!this.height&&!this.fixedHeader,"v-data-table--fixed-header":this.fixedHeader,"v-data-table--has-top":!!this.$slots.top,"v-data-table--has-bottom":!!this.$slots.bottom,...this.themeClasses}}},methods:{genWrapper(){return this.$slots.wrapper||this.$createElement("div",{staticClass:"v-data-table__wrapper",style:{height:P(this.height)}},[this.$createElement("table",this.$slots.default)])}},render(t){return t("div",{staticClass:"v-data-table",class:this.classes},[this.$slots.top,this.genWrapper(),this.$slots.bottom])}})),oh=u.a.extend({name:"row",functional:!0,props:{headers:Array,hideDefaultHeader:Boolean,index:Number,item:Object,rtl:Boolean},render(t,{props:e,slots:i,data:s}){const n=i(),r=e.headers.map(i=>{const r={"v-data-table__mobile-row":!0},a=[],o=x(e.item,i.value),l=i.value,u=s.scopedSlots&&s.scopedSlots.hasOwnProperty(l)&&s.scopedSlots[l],c=n.hasOwnProperty(l)&&n[l];u?a.push(u({item:e.item,isMobile:!0,header:i,index:e.index,value:o})):c?a.push(c):a.push(null==o?o:String(o));const h=[t("div",{staticClass:"v-data-table__mobile-row__cell"},a)];return"dataTableSelect"===i.value||e.hideDefaultHeader||h.unshift(t("div",{staticClass:"v-data-table__mobile-row__header"},[i.text])),t("td",{class:r},h)});return t("tr",{...s,staticClass:"v-data-table__mobile-table-row"},r)}});function lh(t,e,i){return s=>{const n=x(t,s.value);return s.filter?s.filter(n,e,t):i(n,e,t)}}function uh(t,e,i,s,n){return e="string"===typeof e?e.trim():null,t.filter(t=>{const r=i.every(lh(t,e,R)),a=!e||s.some(lh(t,e,n));return r&&a})}var ch=ke(Gc,Qs).extend({name:"v-data-table",directives:{ripple:Oi},props:{headers:{type:Array,default:()=>[]},showSelect:Boolean,checkboxColor:String,showExpand:Boolean,showGroupBy:Boolean,height:[Number,String],hideDefaultHeader:Boolean,caption:String,dense:Boolean,headerProps:Object,calculateWidths:Boolean,fixedHeader:Boolean,headersLength:Number,expandIcon:{type:String,default:"$expand"},customFilter:{type:Function,default:R},itemClass:{type:[String,Function],default:()=>""},loaderHeight:{type:[Number,String],default:4}},data(){return{internalGroupBy:[],openCache:{},widths:[]}},computed:{computedHeaders(){if(!this.headers)return[];const t=this.headers.filter(t=>void 0===t.value||!this.internalGroupBy.find(e=>e===t.value)),e={text:"",sortable:!1,width:"1px"};if(this.showSelect){const i=t.findIndex(t=>"data-table-select"===t.value);i<0?t.unshift({...e,value:"data-table-select"}):t.splice(i,1,{...e,...t[i]})}if(this.showExpand){const i=t.findIndex(t=>"data-table-expand"===t.value);i<0?t.unshift({...e,value:"data-table-expand"}):t.splice(i,1,{...e,...t[i]})}return t},colspanAttrs(){return this.isMobile?void 0:{colspan:this.headersLength||this.computedHeaders.length}},columnSorters(){return this.computedHeaders.reduce((t,e)=>(e.sort&&(t[e.value]=e.sort),t),{})},headersWithCustomFilters(){return this.headers.filter(t=>t.filter&&(!t.hasOwnProperty("filterable")||!0===t.filterable))},headersWithoutCustomFilters(){return this.headers.filter(t=>!t.filter&&(!t.hasOwnProperty("filterable")||!0===t.filterable))},sanitizedHeaderProps(){return Y(this.headerProps)},computedItemsPerPage(){const t=this.options&&this.options.itemsPerPage?this.options.itemsPerPage:this.itemsPerPage,e=this.sanitizedFooterProps.itemsPerPageOptions;if(e&&!e.find(e=>"number"===typeof e?e===t:e.value===t)){const t=e[0];return"object"===typeof t?t.value:t}return t},groupByText(){var t,e,i;return null!==(i=null===(e=null===(t=this.headers)||void 0===t?void 0:t.find(t=>{var e;return t.value===(null===(e=this.internalGroupBy)||void 0===e?void 0:e[0])}))||void 0===e?void 0:e.text)&&void 0!==i?i:""}},created(){const t=[["sort-icon","header-props.sort-icon"],["hide-headers","hide-default-header"],["select-all","show-select"]];t.forEach(([t,e])=>{this.$attrs.hasOwnProperty(t)&&fe(t,e,this)})},mounted(){this.calculateWidths&&(window.addEventListener("resize",this.calcWidths),this.calcWidths())},beforeDestroy(){this.calculateWidths&&window.removeEventListener("resize",this.calcWidths)},methods:{calcWidths(){this.widths=Array.from(this.$el.querySelectorAll("th")).map(t=>t.clientWidth)},customFilterWithColumns(t,e){return uh(t,e,this.headersWithCustomFilters,this.headersWithoutCustomFilters,this.customFilter)},customSortWithHeaders(t,e,i,s){return this.customSort(t,e,i,s,this.columnSorters)},createItemProps(t,e){const i=Gc.options.methods.createItemProps.call(this,t,e);return Object.assign(i,{headers:this.computedHeaders})},genCaption(t){return this.caption?[this.$createElement("caption",[this.caption])]:q(this,"caption",t,!0)},genColgroup(t){return this.$createElement("colgroup",this.computedHeaders.map(t=>this.$createElement("col",{class:{divider:t.divider}})))},genLoading(){const t=this.$createElement("th",{staticClass:"column",attrs:this.colspanAttrs},[this.genProgress()]),e=this.$createElement("tr",{staticClass:"v-data-table__progress"},[t]);return this.$createElement("thead",[e])},genHeaders(t){const e={props:{...this.sanitizedHeaderProps,headers:this.computedHeaders,options:t.options,mobile:this.isMobile,showGroupBy:this.showGroupBy,checkboxColor:this.checkboxColor,someItems:this.someItems,everyItem:this.everyItem,singleSelect:this.singleSelect,disableSort:this.disableSort},on:{sort:t.sort,group:t.group,"toggle-select-all":this.toggleSelectAll}},i=[q(this,"header",{...e,isMobile:this.isMobile})];if(!this.hideDefaultHeader){const t=W("header.",this.$scopedSlots);i.push(this.$createElement(ih,{...e,scopedSlots:t}))}return this.loading&&i.push(this.genLoading()),i},genEmptyWrapper(t){return this.$createElement("tr",{staticClass:"v-data-table__empty-wrapper"},[this.$createElement("td",{attrs:this.colspanAttrs},t)])},genItems(t,e){const i=this.genEmpty(e.originalItemsLength,e.pagination.itemsLength);return i?[i]:e.groupedItems?this.genGroupedRows(e.groupedItems,e):this.genRows(t,e)},genGroupedRows(t,e){return t.map(t=>(this.openCache.hasOwnProperty(t.name)||this.$set(this.openCache,t.name,!0),this.$scopedSlots.group?this.$scopedSlots.group({group:t.name,options:e.options,isMobile:this.isMobile,items:t.items,headers:this.computedHeaders}):this.genDefaultGroupedRow(t.name,t.items,e)))},genDefaultGroupedRow(t,e,i){const s=!!this.openCache[t],n=[this.$createElement("template",{slot:"row.content"},this.genRows(e,i))],r=()=>this.$set(this.openCache,t,!this.openCache[t]),a=()=>i.updateOptions({groupBy:[],groupDesc:[]});if(this.$scopedSlots["group.header"])n.unshift(this.$createElement("template",{slot:"column.header"},[this.$scopedSlots["group.header"]({group:t,groupBy:i.options.groupBy,isMobile:this.isMobile,items:e,headers:this.computedHeaders,isOpen:s,toggle:r,remove:a})]));else{const e=this.$createElement(Mr,{staticClass:"ma-0",props:{icon:!0,small:!0},on:{click:r}},[this.$createElement(Qe,[s?"$minus":"$plus"])]),i=this.$createElement(Mr,{staticClass:"ma-0",props:{icon:!0,small:!0},on:{click:a}},[this.$createElement(Qe,["$close"])]),o=this.$createElement("td",{staticClass:"text-start",attrs:this.colspanAttrs},[e,`${this.groupByText}: ${t}`,i]);n.unshift(this.$createElement("template",{slot:"column.header"},[o]))}return this.$scopedSlots["group.summary"]&&n.push(this.$createElement("template",{slot:"column.summary"},[this.$scopedSlots["group.summary"]({group:t,groupBy:i.options.groupBy,isMobile:this.isMobile,items:e,headers:this.computedHeaders,isOpen:s,toggle:r})])),this.$createElement(rh,{key:t,props:{value:s}},n)},genRows(t,e){return this.$scopedSlots.item?this.genScopedRows(t,e):this.genDefaultRows(t,e)},genScopedRows(t,e){const i=[];for(let s=0;s<t.length;s++){const e=t[s];i.push(this.$scopedSlots.item({...this.createItemProps(e,s),isMobile:this.isMobile})),this.isExpanded(e)&&i.push(this.$scopedSlots["expanded-item"]({headers:this.computedHeaders,isMobile:this.isMobile,index:s,item:e}))}return i},genDefaultRows(t,e){return this.$scopedSlots["expanded-item"]?t.map((t,e)=>this.genDefaultExpandedRow(t,e)):t.map((t,e)=>this.genDefaultSimpleRow(t,e))},genDefaultExpandedRow(t,e){const i=this.isExpanded(t),s={"v-data-table__expanded v-data-table__expanded__row":i},n=this.genDefaultSimpleRow(t,e,s),r=this.$createElement("tr",{staticClass:"v-data-table__expanded v-data-table__expanded__content"},[this.$scopedSlots["expanded-item"]({headers:this.computedHeaders,isMobile:this.isMobile,item:t})]);return this.$createElement(rh,{props:{value:i}},[this.$createElement("template",{slot:"row.header"},[n]),this.$createElement("template",{slot:"row.content"},[r])])},genDefaultSimpleRow(t,e,i={}){const s=W("item.",this.$scopedSlots),n=this.createItemProps(t,e);if(this.showSelect){const e=s["data-table-select"];s["data-table-select"]=e?()=>e({...n,isMobile:this.isMobile}):()=>{var e;return this.$createElement(cs,{staticClass:"v-data-table__checkbox",props:{value:n.isSelected,disabled:!this.isSelectable(t),color:null!==(e=this.checkboxColor)&&void 0!==e?e:""},on:{input:t=>n.select(t)}})}}if(this.showExpand){const t=s["data-table-expand"];s["data-table-expand"]=t?()=>t(n):()=>this.$createElement(Qe,{staticClass:"v-data-table__expand-icon",class:{"v-data-table__expand-icon--active":n.isExpanded},on:{click:t=>{t.stopPropagation(),n.expand(!n.isExpanded)}}},[this.expandIcon])}return this.$createElement(this.isMobile?oh:nh,{key:x(t,this.itemKey),class:He({...i,"v-data-table__selected":n.isSelected},C(t,this.itemClass)),props:{headers:this.computedHeaders,hideDefaultHeader:this.hideDefaultHeader,index:e,item:t,rtl:this.$vuetify.rtl},scopedSlots:s,on:{click:()=>this.$emit("click:row",t,n),contextmenu:t=>this.$emit("contextmenu:row",t,n),dblclick:t=>this.$emit("dblclick:row",t,n)}})},genBody(t){const e={...t,expand:this.expand,headers:this.computedHeaders,isExpanded:this.isExpanded,isMobile:this.isMobile,isSelected:this.isSelected,select:this.select};return this.$scopedSlots.body?this.$scopedSlots.body(e):this.$createElement("tbody",[q(this,"body.prepend",e,!0),this.genItems(t.items,t),q(this,"body.append",e,!0)])},genFoot(t){var e,i;return null===(i=(e=this.$scopedSlots).foot)||void 0===i?void 0:i.call(e,t)},genFooters(t){const e={props:{options:t.options,pagination:t.pagination,itemsPerPageText:"$vuetify.dataTable.itemsPerPageText",...this.sanitizedFooterProps},on:{"update:options":e=>t.updateOptions(e)},widths:this.widths,headers:this.computedHeaders},i=[q(this,"footer",e,!0)];return this.hideDefaultFooter||i.push(this.$createElement(Kc,{...e,scopedSlots:W("footer.",this.$scopedSlots)})),i},genDefaultScopedSlot(t){const e={height:this.height,fixedHeader:this.fixedHeader,dense:this.dense};return this.$createElement(ah,{props:e,class:{"v-data-table--mobile":this.isMobile}},[this.proxySlot("top",q(this,"top",{...t,isMobile:this.isMobile},!0)),this.genCaption(t),this.genColgroup(t),this.genHeaders(t),this.genBody(t),this.genFoot(t),this.proxySlot("bottom",this.genFooters(t))])},proxySlot(t,e){return this.$createElement("template",{slot:t},e)}},render(){return this.$createElement(Zc,{props:{...this.$props,customFilter:this.customFilterWithColumns,customSort:this.customSortWithHeaders,itemsPerPage:this.computedItemsPerPage},on:{"update:options":(t,e)=>{this.internalGroupBy=t.groupBy||[],!_(t,e)&&this.$emit("update:options",t)},"update:page":t=>this.$emit("update:page",t),"update:items-per-page":t=>this.$emit("update:items-per-page",t),"update:sort-by":t=>this.$emit("update:sort-by",t),"update:sort-desc":t=>this.$emit("update:sort-desc",t),"update:group-by":t=>this.$emit("update:group-by",t),"update:group-desc":t=>this.$emit("update:group-desc",t),pagination:(t,e)=>!_(t,e)&&this.$emit("pagination",t),"current-items":t=>{this.internalCurrentItems=t,this.$emit("current-items",t)},"page-count":t=>this.$emit("page-count",t)},scopedSlots:{default:this.genDefaultScopedSlot}})}}),hh=u.a.extend({name:"farm-select-modal-options",components:{VTextField:Yc,VCol:Ia,VMain:cl,VDataTable:ch,VDialog:ul,DialogHeader:Jr,DialogFooter:ra,DataTableEmptyWrapper:Ee,DataTablePaginator:_n},props:{label:{type:String,required:!0},inputId:{type:String,required:!0},selectIdentifier:{type:String,default:"id"},itemLabelFormatter:{default:"name"},items:{type:Array,default:()=>[]},loadFn:{type:Function,default:()=>{}},loadingRequestStatus:{default:"IDLE"},modalTitle:{type:String,default:"Selecione um item"},config:{default:()=>({md:2,required:!1})},placeholder:{type:String,default:"Pesquise"},value:{required:!0}},computed:{inputVal:{get(){return this.value},set(t){this.$emit("input",t)}},isLoading(){return"START"===this.loadingRequestStatus},selectedValueText:{get(){return this.selectedItem?this.getItemLabel(this.selectedItem):""}},totalPages(){return void 0!==this.items?Math.ceil(this.items.length/10):0}},data(){return{selectedValue:{},showModal:!1,selectedItem:null,searchValue:"",headers:[{text:"Label",sortable:!1,value:"label",align:"left"}],pagination:{page:1,itemsPerPage:10,pages:0}}},watch:{value(t){t&&void 0!==t||(this.selectedItem=null)},items(t){this.pagination.pages=Math.ceil(t.length/10)}},mounted(){this.selectedItem={[this.itemLabelFormatter]:this.value}},methods:{handlePagination(t){1===t.page&&t.itemsLength!==this.pagination.pages&&(this.pagination.pages=Math.ceil(t.itemsLength/10))},openModal(){this.loadFn(),this.showModal=!0},closeModal(){this.showModal=!1},onChangePage(t){this.pagination.page=t},getItemLabel(t){return"function"===typeof this.itemLabelFormatter?this.itemLabelFormatter(t):t[this.itemLabelFormatter]},handleClick(t){this.inputVal=t[this.selectIdentifier],this.showModal=!1,this.selectedItem=t},customFilter(t,e,i){const s=this.getItemLabel(i);return s.toLowerCase().includes(e.toLowerCase())},clearTextField(t){"Delete"!==t.key&&"Backspace"!==t.key||(this.selectedItem=null)}}}),dh=hh,ph=(i("4e5d"),Me(dh,qc,Uc,!1,null,"5a2da9ca",null)),fh=ph.exports,mh=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("v-chip",{class:`status-chip ${t.isFull?"status-chip--fullwidth":""} status-chip-${t.color} status-chip--onboarding`,attrs:{small:""}},[e("span",{class:t.textColor+"--text"},[t._v(" "+t._s(t.label)+" ")])])},gh=[];const vh={10:"CONVIDAR",11:"CONVIDADO",12:"INCOMPLETO",13:"CONCLUÍDO",14:"FALHA/ERRO",15:"EM ANÁLISE",16:"EM ANDAMENTO",17:"EM ESPERA",18:"DECLINADO"},bh={10:"secondary",11:"yellow",12:"yellow",13:"success",14:"error",15:"accent",16:"primary",17:"on-wait",18:"error"};var yh=u.a.extend({name:"farm-chip-invite",components:{VChip:Li},props:{status:{type:Number,default:10},isFull:{type:Boolean,default:!0}},computed:{textColor(){return 10===this.status||16===this.status||17===this.status?"":bh[this.status]},color(){return this.status?bh[this.status]:""},label(){return vh[this.status]}}}),_h=yh,xh=(i("2eae"),Me(_h,mh,gh,!1,null,"5394a06e",null)),Ch=xh.exports,Sh=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("section",{staticClass:"logger"},[t._l(t.items,(function(i,s){return[e("LoggerItem",{key:s,attrs:{item:i}}),t.hasDivider(s)?e("div",{key:"divider_"+s,staticClass:"logger__divider",class:{"logger__divider--success":t.isPreviousLogAndCurrentLogSuccess(s),"logger__divider--error":t.isPreviousLogAndCurrentLogError(s),"logger__divider--success-to-error":t.isPreviousLogErrorAndCurrentLogSuccess(s),"logger__divider--error-to-success":t.isPreviousLogSuccessAndCurrentLogError(s)}}):t._e()]}))],2)},$h=[],wh=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("section",{staticClass:"logger__item",class:{"logger__item--error":"error"===t.item.status,"logger__item--success":"success"===t.item.status}},[e("farm-icon",[t._v(t._s(t.mdiIconName))]),e("div",[e("span",{staticClass:"logger__date"},[t._v(" "+t._s(t.item.formattedDate)+" ")]),e("span",{staticClass:"logger__message"},[t._v(" "+t._s(t.item.message)+" ")]),e("span",{staticClass:"logger__username"},[e("i",{staticClass:"mdi mdi-account-circle"}),t._v(" "+t._s(t.item.userName)+" ")])])],1)},kh=[],Oh=u.a.extend({name:"farm-logger-item",props:{item:{required:!0,type:Object}},computed:{mdiIconName(){return this.item.icon?""+this.item.icon:this.item.status?""+("success"===this.item.status?"check":"close"):""}}}),Ph=Oh,Ih=(i("66c5"),Me(Ph,wh,kh,!1,null,"7711caba",null)),Lh=Ih.exports,Dh=Lh,Ah=u.a.extend({name:"farm-logger",components:{LoggerItem:Dh},props:{items:{required:!0,type:Array}},methods:{hasDivider(t){return t<this.items.length-1},isPreviousLogAndCurrentLogError(t){return this.isError(t)&&this.isError(t+1)},isPreviousLogAndCurrentLogSuccess(t){return this.isSuccess(t)&&this.isSuccess(t+1)},isPreviousLogErrorAndCurrentLogSuccess(t){return this.isSuccess(t)&&this.isError(t+1)},isPreviousLogSuccessAndCurrentLogError(t){return this.isError(t)&&this.isSuccess(t+1)},isError(t){return"error"===this.items[t].status},isSuccess(t){return"success"===this.items[t].status}}}),Mh=Ah,Th=(i("f066"),Me(Mh,Sh,$h,!1,null,"17c87b5f",null)),Bh=Th.exports,Eh=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("farm-tooltip",{scopedSlots:t._u([{key:"activator",fn:function({}){return[e("farm-btn",{attrs:{icon:"",color:"secondary",disabled:t.disabled},on:{click:t.onClick}},[e("farm-icon",{attrs:{size:"xs"}},[t._v("content-copy")])],1)]}}]),model:{value:t.show,callback:function(e){t.show=e},expression:"show"}},[t._v(" "+t._s(t.feedbackMessage)+" ")])},Fh=[],Vh=u.a.extend({name:"farm-copytoclipboard",props:{toCopy:{type:String,required:!0}},setup(t){const e=Object(l["ref"])(!1),i=Object(l["ref"])(""),s=Object(l["ref"])(!1),{toCopy:n}=Object(l["toRefs"])(t),r=async()=>{s.value=!0;try{await Object(nr["toClipboard"])(n.value),i.value="Conteúdo copiado para a área de trabalhado"}catch(bp){i.value="Ocorreu um erro: "+bp}e.value=!0,setTimeout(()=>{e.value=!1,s.value=!1},1e3)};return{show:e,feedbackMessage:i,disabled:s,onClick:r}}}),jh=Vh,Rh=Me(jh,Eh,Fh,!1,null,null,null),zh=Rh.exports,Nh=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{class:t.classes,style:t.containerStyle},[e("div",{style:t.valueStyle})])},Hh=[],Wh=u.a.extend({name:"farm-progressbar",props:{backgroundColor:{type:String,default:"secondary"},valueColor:{type:String,default:"error"},value:{type:Number,required:!0}},computed:{classes(){const t={};return this.backgroundColor.startsWith("#")||(t["farm-progressbar--"+this.backgroundColor]=!0),this.valueColor.startsWith("#")||(t["farm-progressbar--value-"+this.valueColor]=!0),{"farm-progressbar":!0,...t}},valueStyle(){const t={width:this.value+"%"};return this.valueColor.startsWith("#")&&(t["background-color"]=this.valueColor),t},containerStyle(){const t={};return this.backgroundColor.startsWith("#")&&(t["background-color"]=this.backgroundColor),t}}}),qh=Wh,Uh=(i("103a"),Me(qh,Nh,Hh,!1,null,"f0377c2a",null)),Yh=Uh.exports,Zh=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"horizontal-step-size"},[e("section",{class:{stepper__header:!0,"stepper__header--vertical":t.vertical}},[t._l(t.steps,(function(i,s){return[e("div",{key:i.label,class:{"stepper__header-step":!0,"stepper__header-step--current":t.isStepCurrent(s),"stepper__header-step--previous":t.isStepPrevious(s),"stepper__header-step--error":t.isStepError(s),"stepper__header-step--next":t.isStepNext(s)}},[i.icon?e("farm-icon",[t._v(" "+t._s(i.icon)+" ")]):e("span",{staticClass:"farm-icon__number"},[t._v(" "+t._s(s+1)+" ")]),e("span",[t._v(" "+t._s(i.label)+" ")])],1),t.hasDivider(s)?e("div",{key:"divider_"+i.label,class:{"stepper__divider--horizontal":!t.vertical,"stepper__divider--vertical":t.vertical,"stepper__divider--previous":t.isStepPrevious(s),"stepper__divider--previous-to-current":t.isStepPreviousToCurrent(s),"stepper__divider--previous-to-error":t.isStepPreviousToError(s),"stepper__divider--error-to-next":t.isStepErrorToNext(s),"stepper__divider--current-to-next":t.isStepCurrentToNext(s)}}):t._e()]}))],2)])},Kh=[],Gh=u.a.extend({name:"farm-stepper-header",props:{steps:Array,vertical:{type:Boolean,default:!1},currentStep:{type:Number},errorCurrentStepStatus:{type:Boolean,default:!1}},methods:{isStepCurrent(t){return this.currentStep===t+1},isStepPrevious(t){return this.currentStep>t+1},isStepError(t){return this.currentStep===t+1&&this.errorCurrentStepStatus},hasDivider(t){return t<this.steps.length-1},isStepPreviousToCurrent(t){return t+2==this.currentStep&&this.isStepCurrent(t+1)&&!this.isStepError(t+1)},isStepPreviousToError(t){return t+2==this.currentStep&&this.isStepCurrent(t+1)&&this.isStepError(t+1)},isStepNext(t){return t+1>this.currentStep},isStepErrorToNext(t){return this.errorCurrentStepStatus&&t+1===this.currentStep},isStepCurrentToNext(t){return!this.errorCurrentStepStatus&&t+1===this.currentStep}}}),Xh=Gh,Jh=(i("5768"),Me(Xh,Zh,Kh,!1,null,"6090de65",null)),Qh=Jh.exports,td=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"farm-switch",attrs:{role:"checkbox"},on:{click:t.toggle,keydown:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"space",32,e.key,[" ","Spacebar"])?null:(e.preventDefault(),t.toggle.apply(null,arguments))}}},[e("span",{staticClass:"farm-switch__background",class:t.backgroundStyles}),e("span",{staticClass:"farm-switch__indicator",style:t.indicatorStyles})])},ed=[],id=u.a.extend({name:"farm-switcher",props:{value:{type:Boolean,required:!0}},computed:{backgroundStyles(){return{"farm-switch--selected":this.value,"farm-switch--idle":!this.value}},indicatorStyles(){return{transform:this.value?"translateX(16px)":"translateX(0)"}}},methods:{toggle(){this.$emit("input",!this.value)}}}),sd=id,nd=(i("bd8c"),Me(sd,td,ed,!1,null,"3c5b60f1",null)),rd=nd.exports,ad=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("span",{ref:"parent",class:{"farm-tooltip":!0,["farm-tooltip--"+t.color]:!0},on:{mouseover:t.onOver,mouseout:t.onOut}},[t._t("activator"),e("span",{class:{"farm-tooltip__popup":!0,"farm-tooltip__popup--visible":!t.externalControl&&t.showOver||t.externalControl&&t.toggleComponent}},[t._t("default")],2)],2)},od=[],ld=u.a.extend({name:"farm-tooltip",props:{color:{type:String,default:"gray"},value:{}},setup(t){const e=Object(l["ref"])(null),i=Object(l["ref"])(!1),s=Object(l["computed"])(()=>t.value),n=Object(l["computed"])(()=>"boolean"===typeof t.value),r=()=>{i.value=!0},a=t=>{i.value=e.value.contains(t.relatedTarget)};return{parent:e,showOver:i,onOver:r,onOut:a,toggleComponent:s,externalControl:n}}}),ud=ld,cd=(i("2ea0"),Me(ud,ad,od,!1,null,"7dc044c3",null)),hd=cd.exports,dd=function(){var t=this,e=t._self._c;t._self._setupProxy;return e(t.tag,{tag:"component",class:{"farm-typography":!0,["farm-typography--"+t.$props.size]:t.isSizeFromBreakpoints,["farm-typography--weight-"+t.weight]:void 0!==t.weight},style:t.style},[t._t("default")],2)},pd=[],fd=["xs","sm","md","lg","xl"],md=["p","span","h1","h2","h3","h4","h5","h6","legend","label","li"],gd=u.a.extend({inheritAttrs:!0,name:"farm-typography",props:{tag:{type:String,default:"p"},size:{type:String},lineHeight:{type:String},weight:{type:Number}},setup(t){const{size:e,lineHeight:i}=Object(l["toRefs"])(t);let s=Object(l["ref"])({}),n=Object(l["ref"])(md.includes(t.tag)?t.tag:"p");const r=Object(l["computed"])(()=>fd.includes(e.value));return void 0===e||r.value||(s.value.fontSize=e.value),void 0!==i&&(s.value.lineHeight=i.value),{style:s,isSizeFromBreakpoints:r,tag:n}}}),vd=gd,bd=(i("e6d7"),Me(vd,dd,pd,!1,null,"0783d2fc",null)),yd=bd.exports,_d=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("farm-typography",{key:t.key,class:{["farm-heading--"+t.tag]:!0},attrs:{weight:t.weight,size:t.size,tag:t.tag}},[t._t("default")],2)},xd=[];const Cd={1:{weight:300,size:"60px"},2:{weight:300,size:"56px"},3:{weight:400,size:"48px"},4:{weight:400,size:"32px"},5:{weight:400,size:"xl"},6:{weight:500,size:"lg"}};var Sd=u.a.extend({inheritAttrs:!0,name:"farm-heading",props:{type:{type:Number,default:1}},setup(t){const{type:e}=Object(l["toRefs"])(t),i=Object(l["ref"])(+new Date);Object(l["watch"])(()=>t.type,()=>{i.value=+new Date});const s=Object(l["computed"])(()=>Cd[e.value]),n=Object(l["computed"])(()=>"h"+e.value),r=Object(l["computed"])(()=>s.value.weight),a=Object(l["computed"])(()=>s.value.size);return{weight:r,size:a,tag:n,config:s,key:i}}}),$d=Sd,wd=(i("637f"),Me($d,_d,xd,!1,null,"02e95b6e",null)),kd=wd.exports,Od=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("farm-typography",t._b({key:t.key,class:{["farm-subtitle--"+t.type]:!0,["farm-subtitle--"+t.variation]:!0},attrs:{weight:t.weight,size:t.size}},"farm-typography",t.$attrs,!1),[t._t("default")],2)},Pd=[];const Id={"1_regular":{weight:400,size:"default"},"1_medium":{weight:500,size:"default"},"2_regular":{weight:400,size:"md"},"2_medium":{weight:500,size:"md"}};var Ld=u.a.extend({inheritAttrs:!0,name:"farm-subtitle",props:{type:{type:Number,default:1},variation:{type:String,default:"medium"}},setup(t){const{type:e,variation:i}=Object(l["toRefs"])(t),s=Object(l["ref"])(e.value+"_"+i.value);Object(l["watch"])(()=>t,()=>{s.value=e.value+"_"+i.value});const n=Object(l["computed"])(()=>Id[s.value]),r=Object(l["computed"])(()=>n.value.weight),a=Object(l["computed"])(()=>n.value.size);return{weight:r,size:a,key:s,type:e,variation:i}}}),Dd=Ld,Ad=(i("8fba"),Me(Dd,Od,Pd,!1,null,"7c1ea614",null)),Md=Ad.exports,Td=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("farm-typography",t._b({key:t.key,class:{["farm-subtitle--"+t.type]:!0,["farm-subtitle--"+t.variation]:!0},attrs:{weight:t.weight,size:t.size}},"farm-typography",t.$attrs,!1),[t._t("default")],2)},Bd=[];const Ed={"1_regular":{weight:400,size:"default"},"1_medium":{weight:500,size:"default"},"1_bold":{weight:700,size:"default"},"2_regular":{weight:400,size:"md"},"2_medium":{weight:500,size:"md"},"2_bold":{weight:700,size:"md"}};var Fd=u.a.extend({inheritAttrs:!0,name:"farm-bodytext",props:{type:{type:Number,default:1},variation:{type:String,default:"medium"}},setup(t){const{type:e,variation:i}=Object(l["toRefs"])(t),s=Object(l["ref"])(e.value+"_"+i.value);Object(l["watch"])(()=>t,()=>{s.value=e.value+"_"+i.value});const n=Object(l["computed"])(()=>Ed[s.value]),r=Object(l["computed"])(()=>n.value.weight),a=Object(l["computed"])(()=>n.value.size);return{weight:r,size:a,key:s,type:e,variation:i}}}),Vd=Fd,jd=(i("a80d"),Me(Vd,Td,Bd,!1,null,"3b59e667",null)),Rd=jd.exports,zd=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("farm-typography",t._b({key:t.key,class:{["farm-caption--"+t.variation]:!0},attrs:{weight:t.weight,size:t.size}},"farm-typography",t.$attrs,!1),[t._t("default")],2)},Nd=[];const Hd={regular:{weight:400,size:"sm"},medium:{weight:500,size:"sm"}};var Wd=u.a.extend({inheritAttrs:!0,name:"farm-caption",props:{variation:{type:String,default:"medium"}},setup(t){const{variation:e}=Object(l["toRefs"])(t),i=Object(l["ref"])(e.value);Object(l["watch"])(()=>t,()=>{i.value=e.value});const s=Object(l["computed"])(()=>Hd[i.value]),n=Object(l["computed"])(()=>s.value.weight),r=Object(l["computed"])(()=>s.value.size);return{weight:n,size:r,key:i,variation:e}}}),qd=Wd,Ud=(i("8302"),Me(qd,zd,Nd,!1,null,"dd6bcb7c",null)),Yd=Ud.exports,Zd=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("farm-typography",t._b({class:{["farm-overlaytext"]:!0},attrs:{weight:400,size:"sm"}},"farm-typography",t.$attrs,!1),[t._t("default")],2)},Kd=[],Gd=u.a.extend({inheritAttrs:!0,name:"farm-overlaytext"}),Xd=Gd,Jd=(i("70f8"),Me(Xd,Zd,Kd,!1,null,"764f59bd",null)),Qd=Jd.exports,tp=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("section",{staticClass:"farm-container"},[e("div",{staticClass:"elevation-2"},[t._t("default")],2)])},ep=[],ip=u.a.extend({name:"farm-container",inheritAttrs:!0}),sp=ip,np=(i("f4dc"),Me(sp,tp,ep,!1,null,"3f8673d8",null)),rp=np.exports,ap=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("footer",{staticClass:"farm-container-footer"},[t._t("default")],2)},op=[],lp=u.a.extend({name:"farm-container-footer",inheritAttrs:!0}),up=lp,cp=(i("9678"),Me(up,ap,op,!1,null,"0ae893e0",null)),hp=cp.exports,dp=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("hr",{class:{"farm-line":!0,"farm-line--spacing":!t.noSpacing}})},pp=[],fp=u.a.extend({name:"farm-line",props:{noSpacing:{type:Boolean,default:!1}}}),mp=fp,gp=(i("c26b"),Me(mp,dp,pp,!1,null,"5bc50bca",null)),vp=gp.exports},fc23:function(t,e,i){"use strict";var s=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var n=s(i("74cb"));e.default=n.default},fd38:function(t,e,i){"use strict";var s=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var n=s(i("38a4"));e.default=n.default},fdc0:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e={};return t.forEach((function(t){e[t]="IDLE"})),e}}})}));
|
|
2
2
|
//# sourceMappingURL=front-mfe-components.umd.min.js.map
|