{"version":3,"sources":["webpack:///./node_modules/core-js/internals/engine-ff-version.js","webpack:///./node_modules/core-js/modules/web.dom-collections.for-each.js","webpack:///./node_modules/core-js/internals/array-for-each.js","webpack:///./node_modules/core-js/modules/es.string.includes.js","webpack:///./node_modules/core-js/internals/is-regexp.js","webpack:///./src/components/ErrorMessage.vue","webpack:///./src/components/ErrorMessage.vue?5fd2","webpack:///./src/components/SideBar.vue","webpack:///./src/components/SideBar.vue?50e0","webpack:///./src/views/Platform.vue","webpack:///./src/views/Platform.vue?5322","webpack:///./node_modules/core-js/modules/es.array.filter.js","webpack:///./node_modules/core-js/modules/es.array.sort.js","webpack:///./node_modules/core-js/internals/engine-webkit-version.js","webpack:///./node_modules/core-js/internals/not-a-regexp.js","webpack:///./node_modules/core-js/modules/es.array.find.js","webpack:///./src/store/dashboard.ts","webpack:///./node_modules/core-js/internals/array-method-is-strict.js","webpack:///./node_modules/core-js/internals/correct-is-regexp-logic.js","webpack:///./node_modules/core-js/internals/array-sort.js","webpack:///./src/views/Platform.vue?c22a","webpack:///./node_modules/core-js/modules/es.array.includes.js","webpack:///./node_modules/core-js/modules/es.array.map.js","webpack:///./node_modules/core-js/internals/engine-is-ie-or-edge.js","webpack:///./src/components/ErrorMessage.vue?e4bb","webpack:///./src/components/SideBar.vue?5919"],"names":["userAgent","firefox","match","module","exports","global","DOMIterables","DOMTokenListPrototype","forEach","createNonEnumerableProperty","handlePrototype","CollectionPrototype","error","COLLECTION_NAME","prototype","$forEach","arrayMethodIsStrict","STRICT_METHOD","callbackfn","this","arguments","length","undefined","$","uncurryThis","notARegExp","requireObjectCoercible","toString","correctIsRegExpLogic","stringIndexOf","indexOf","target","proto","forced","includes","searchString","isObject","classof","wellKnownSymbol","MATCH","it","isRegExp","n","_hoisted_1","class","_hoisted_2","props","message","String","setup","__props","_ctx","_cache","__exports__","id","src","_hoisted_3","_hoisted_4","_hoisted_5","_hoisted_6","_hoisted_7","_hoisted_8","_hoisted_9","_hoisted_10","_hoisted_11","_hoisted_12","_hoisted_13","_hoisted_14","_hoisted_15","style","_hoisted_16","href","_hoisted_17","_hoisted_18","isCollapsed","_component_router_link","collapsed","value","to","default","_","onClick","$event","store","error_occured","window","localStorage","getItem","router","push","setHomeInfo","error_message","replace","Object","values","JSON","parse","_component_router_view","SideBar","ErrorMessage","key","$filter","filter","arrayMethodHasSpeciesSupport","HAS_SPECIES_SUPPORT","aCallable","toObject","lengthOfArrayLike","fails","internalSort","FF","IE_OR_EDGE","V8","WEBKIT","test","un$Sort","sort","FAILS_ON_UNDEFINED","FAILS_ON_NULL","STABLE_SORT","code","chr","index","result","fromCharCode","k","v","a","b","charAt","FORCED","getSortCompare","comparefn","x","y","array","itemsLength","items","arrayLength","webkit","TypeError","$find","find","addToUnscopables","FIND","SKIPS_HOLES","Array","MAIN_STORE","useDashboardStore","state","companies","visibility","actions","getFromAPI","Error","setVisibility","getters","getVisibility","getCompanies","getFarms","farms","company","name","localeCompare","getBarns","barns","farm","getAllSensors","sensors","barn","getActiveSensors","is_last_batch_active","getSensorsInstalled","sensor","status","getSmartCamSensors","item","type","getSmartMicSensors","getSmartFeedSensors","getActiveSmartFeedSensors","getFarmByBarn","barn_pk","map","pk","getBarnByPK","METHOD_NAME","argument","method","call","regexp","error1","error2","arraySlice","floor","Math","mergeSort","middle","insertionSort","merge","element","j","i","left","right","llength","rlength","lindex","rindex","$includes","el","$map","UA"],"mappings":"qGAAA,IAAIA,EAAY,EAAQ,QAEpBC,EAAUD,EAAUE,MAAM,mBAE9BC,EAAOC,UAAYH,IAAYA,EAAQ,I,uBCJvC,IAAII,EAAS,EAAQ,QACjBC,EAAe,EAAQ,QACvBC,EAAwB,EAAQ,QAChCC,EAAU,EAAQ,QAClBC,EAA8B,EAAQ,QAEtCC,EAAkB,SAAUC,GAE9B,GAAIA,GAAuBA,EAAoBH,UAAYA,EAAS,IAClEC,EAA4BE,EAAqB,UAAWH,GAC5D,MAAOI,GACPD,EAAoBH,QAAUA,IAIlC,IAAK,IAA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,EAAE,CAAEQ,OAAQ,QAASC,OAAO,EAAMC,QAASuE,GAAuB,CAChE+E,IAAK,SAAarK,GAChB,OAAOiM,EAAKhM,KAAMD,EAAYE,UAAUC,OAAS,EAAID,UAAU,QAAKE,O,qBCZxE,IAAI8L,EAAK,EAAQ,QAEjBjN,EAAOC,QAAU,eAAe8G,KAAKkG,I,kCCFrC,W,kCCAA,W","file":"js/chunk-e5dd21e6.6bcdd1ef.js","sourcesContent":["var userAgent = require('../internals/engine-user-agent');\n\nvar firefox = userAgent.match(/firefox\\/(\\d+)/i);\n\nmodule.exports = !!firefox && +firefox[1];\n","var global = require('../internals/global');\nvar DOMIterables = require('../internals/dom-iterables');\nvar DOMTokenListPrototype = require('../internals/dom-token-list-prototype');\nvar forEach = require('../internals/array-for-each');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\n\nvar handlePrototype = function (CollectionPrototype) {\n // some Chrome versions have non-configurable methods on DOMTokenList\n if (CollectionPrototype && CollectionPrototype.forEach !== forEach) try {\n createNonEnumerableProperty(CollectionPrototype, 'forEach', forEach);\n } catch (error) {\n CollectionPrototype.forEach = forEach;\n }\n};\n\nfor (var COLLECTION_NAME in DOMIterables) {\n if (DOMIterables[COLLECTION_NAME]) {\n handlePrototype(global[COLLECTION_NAME] && global[COLLECTION_NAME].prototype);\n }\n}\n\nhandlePrototype(DOMTokenListPrototype);\n","'use strict';\nvar $forEach = require('../internals/array-iteration').forEach;\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\n\nvar STRICT_METHOD = arrayMethodIsStrict('forEach');\n\n// `Array.prototype.forEach` method implementation\n// https://tc39.es/ecma262/#sec-array.prototype.foreach\nmodule.exports = !STRICT_METHOD ? function forEach(callbackfn /* , thisArg */) {\n return $forEach(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n// eslint-disable-next-line es/no-array-prototype-foreach -- safe\n} : [].forEach;\n","'use strict';\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar notARegExp = require('../internals/not-a-regexp');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar toString = require('../internals/to-string');\nvar correctIsRegExpLogic = require('../internals/correct-is-regexp-logic');\n\nvar stringIndexOf = uncurryThis(''.indexOf);\n\n// `String.prototype.includes` method\n// https://tc39.es/ecma262/#sec-string.prototype.includes\n$({ target: 'String', proto: true, forced: !correctIsRegExpLogic('includes') }, {\n includes: function includes(searchString /* , position = 0 */) {\n return !!~stringIndexOf(\n toString(requireObjectCoercible(this)),\n toString(notARegExp(searchString)),\n arguments.length > 1 ? arguments[1] : undefined\n );\n }\n});\n","var isObject = require('../internals/is-object');\nvar classof = require('../internals/classof-raw');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar MATCH = wellKnownSymbol('match');\n\n// `IsRegExp` abstract operation\n// https://tc39.es/ecma262/#sec-isregexp\nmodule.exports = function (it) {\n var isRegExp;\n return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : classof(it) == 'RegExp');\n};\n","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, openBlock as _openBlock, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-0c74abd1\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"error\" }\nconst _hoisted_2 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"error-icon\" }, [\n /*#__PURE__*/_createElementVNode(\"div\", { class: \"triangle-container\" }, [\n /*#__PURE__*/_createElementVNode(\"div\", { class: \"triangle\" })\n ]),\n /*#__PURE__*/_createElementVNode(\"h2\", null, \"!\")\n], -1))\n\n\n\nexport default /*#__PURE__*/_defineComponent({\n props: {message: String},\n setup(__props) {\n\nconst props = __props\n\n\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _hoisted_2,\n _createElementVNode(\"h1\", null, _toDisplayString(props.message), 1)\n ]))\n}\n}\n\n})","import script from \"./ErrorMessage.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./ErrorMessage.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./ErrorMessage.vue?vue&type=style&index=0&id=0c74abd1&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/runner/work/support-platform/support-platform/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-0c74abd1\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, normalizeClass as _normalizeClass, openBlock as _openBlock, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nimport _imports_0 from '../assets/logo.svg'\n\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-1b7a865f\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { id: \"side-bar\" }\nconst _hoisted_2 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"img\", {\n id: \"logo\",\n src: _imports_0\n}, null, -1))\nconst _hoisted_3 = /*#__PURE__*/_createTextVNode(\"Dashboard\")\nconst _hoisted_4 = /*#__PURE__*/_createTextVNode(\" Maintenance \")\nconst _hoisted_5 = { id: \"tooltip\" }\nconst _hoisted_6 = /*#__PURE__*/_createTextVNode(\"SmartCam\")\nconst _hoisted_7 = /*#__PURE__*/_createTextVNode(\"SmartMic\")\nconst _hoisted_8 = /*#__PURE__*/_createTextVNode(\"SmartFeed\")\nconst _hoisted_9 = /*#__PURE__*/_createTextVNode(\"Registration\")\nconst _hoisted_10 = /*#__PURE__*/_createTextVNode(\" Installation \")\nconst _hoisted_11 = { id: \"tooltip\" }\nconst _hoisted_12 = /*#__PURE__*/_createTextVNode(\"SmartCam\")\nconst _hoisted_13 = /*#__PURE__*/_createTextVNode(\"SmartMic\")\nconst _hoisted_14 = /*#__PURE__*/_createTextVNode(\"SmartFeed\")\nconst _hoisted_15 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { style: {\"height\":\"76%\"} }, null, -1))\nconst _hoisted_16 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"a\", { href: \"/\" }, \"Sair\", -1))\nconst _hoisted_17 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", null, null, -1))\nconst _hoisted_18 = [\n _hoisted_17\n]\n\nimport { Ref, ref } from 'vue';\n\n// Data\n\nexport default /*#__PURE__*/_defineComponent({\n setup(__props) {\n\nconst isCollapsed: Ref = ref(false)\n\nreturn (_ctx: any,_cache: any) => {\n const _component_router_link = _resolveComponent(\"router-link\")!\n\n return (_openBlock(), _createElementBlock(\"div\", {\n id: \"side-bar-content\",\n class: _normalizeClass({collapsed: isCollapsed.value})\n }, [\n _createElementVNode(\"div\", _hoisted_1, [\n _hoisted_2,\n _createVNode(_component_router_link, { to: \"/platform/dashboard\" }, {\n default: _withCtx(() => [\n _hoisted_3\n ]),\n _: 1\n }),\n _createVNode(_component_router_link, {\n class: \"maintenance-router\",\n to: \"/platform/maintenance\"\n }, {\n default: _withCtx(() => [\n _hoisted_4,\n _createElementVNode(\"div\", _hoisted_5, [\n _createVNode(_component_router_link, { to: \"/platform/maintenance/smartcam\" }, {\n default: _withCtx(() => [\n _hoisted_6\n ]),\n _: 1\n }),\n _createVNode(_component_router_link, { to: \"/platform/maintenance/smartmic\" }, {\n default: _withCtx(() => [\n _hoisted_7\n ]),\n _: 1\n }),\n _createVNode(_component_router_link, { to: \"/platform/maintenance/smartfeed\" }, {\n default: _withCtx(() => [\n _hoisted_8\n ]),\n _: 1\n })\n ])\n ]),\n _: 1\n }),\n _createVNode(_component_router_link, { to: \"/platform/register/\" }, {\n default: _withCtx(() => [\n _hoisted_9\n ]),\n _: 1\n }),\n _createVNode(_component_router_link, {\n class: \"installation-router\",\n to: \"/platform/installation/\"\n }, {\n default: _withCtx(() => [\n _hoisted_10,\n _createElementVNode(\"div\", _hoisted_11, [\n _createVNode(_component_router_link, { to: \"/platform/installation/smartcam\" }, {\n default: _withCtx(() => [\n _hoisted_12\n ]),\n _: 1\n }),\n _createVNode(_component_router_link, { to: \"/platform/installation/smartmic\" }, {\n default: _withCtx(() => [\n _hoisted_13\n ]),\n _: 1\n }),\n _createVNode(_component_router_link, { to: \"/platform/installation/smartfeed\" }, {\n default: _withCtx(() => [\n _hoisted_14\n ]),\n _: 1\n })\n ])\n ]),\n _: 1\n }),\n _hoisted_15,\n _hoisted_16\n ]),\n _createElementVNode(\"button\", {\n onClick: _cache[0] || (_cache[0] = ($event: any) => (isCollapsed.value = !isCollapsed.value))\n }, _hoisted_18)\n ], 2))\n}\n}\n\n})","import script from \"./SideBar.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./SideBar.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./SideBar.vue?vue&type=style&index=0&id=1b7a865f&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/runner/work/support-platform/support-platform/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-1b7a865f\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createVNode as _createVNode, unref as _unref, resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-f992b89c\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"container\" }\n\nimport { useDashboardStore } from '@/store/dashboard';\nimport { Ref, ref, onMounted } from 'vue';\nimport ErrorMessage from '@/components/ErrorMessage.vue';\nimport SideBar from '@/components/SideBar.vue';\nimport router from '@/router';\n\nexport default /*#__PURE__*/_defineComponent({\n setup(__props) {\n\nconst store = useDashboardStore()\n\n\n// Data\nlet error_occured: Ref = ref(false)\nlet message: Ref = ref(\"\")\n\nonMounted(async () => {\n if (window.localStorage.getItem(\"Token\") == null) {\n router.push(\"/\")\n }\n else {\n try {\n await store.setHomeInfo();\n error_occured.value = false;\n await store.setHomeInfo();\n }\n catch (error) {\n error_occured.value = true;\n const error_message = `${error}`.replace(\"Error: \", \"\")\n message.value = `${Object.values(JSON.parse(error_message))[0]}`\n }\n }\n})\n\nreturn (_ctx: any,_cache: any) => {\n const _component_router_view = _resolveComponent(\"router-view\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode(SideBar),\n (!_unref(error_occured))\n ? (_openBlock(), _createBlock(_component_router_view, { key: 0 }))\n : (_openBlock(), _createBlock(ErrorMessage, {\n key: 1,\n message: _unref(message)\n }, null, 8, [\"message\"]))\n ]))\n}\n}\n\n})","import script from \"./Platform.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./Platform.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./Platform.vue?vue&type=style&index=0&id=f992b89c&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/runner/work/support-platform/support-platform/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-f992b89c\"]])\n\nexport default __exports__","'use strict';\nvar $ = require('../internals/export');\nvar $filter = require('../internals/array-iteration').filter;\nvar arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support');\n\nvar HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('filter');\n\n// `Array.prototype.filter` method\n// https://tc39.es/ecma262/#sec-array.prototype.filter\n// with adding support of @@species\n$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {\n filter: function filter(callbackfn /* , thisArg */) {\n return $filter(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar aCallable = require('../internals/a-callable');\nvar toObject = require('../internals/to-object');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar toString = require('../internals/to-string');\nvar fails = require('../internals/fails');\nvar internalSort = require('../internals/array-sort');\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\nvar FF = require('../internals/engine-ff-version');\nvar IE_OR_EDGE = require('../internals/engine-is-ie-or-edge');\nvar V8 = require('../internals/engine-v8-version');\nvar WEBKIT = require('../internals/engine-webkit-version');\n\nvar test = [];\nvar un$Sort = uncurryThis(test.sort);\nvar push = uncurryThis(test.push);\n\n// IE8-\nvar FAILS_ON_UNDEFINED = fails(function () {\n test.sort(undefined);\n});\n// V8 bug\nvar FAILS_ON_NULL = fails(function () {\n test.sort(null);\n});\n// Old WebKit\nvar STRICT_METHOD = arrayMethodIsStrict('sort');\n\nvar STABLE_SORT = !fails(function () {\n // feature detection can be too slow, so check engines versions\n if (V8) return V8 < 70;\n if (FF && FF > 3) return;\n if (IE_OR_EDGE) return true;\n if (WEBKIT) return WEBKIT < 603;\n\n var result = '';\n var code, chr, value, index;\n\n // generate an array with more 512 elements (Chakra and old V8 fails only in this case)\n for (code = 65; code < 76; code++) {\n chr = String.fromCharCode(code);\n\n switch (code) {\n case 66: case 69: case 70: case 72: value = 3; break;\n case 68: case 71: value = 4; break;\n default: value = 2;\n }\n\n for (index = 0; index < 47; index++) {\n test.push({ k: chr + index, v: value });\n }\n }\n\n test.sort(function (a, b) { return b.v - a.v; });\n\n for (index = 0; index < test.length; index++) {\n chr = test[index].k.charAt(0);\n if (result.charAt(result.length - 1) !== chr) result += chr;\n }\n\n return result !== 'DGBEFHACIJK';\n});\n\nvar FORCED = FAILS_ON_UNDEFINED || !FAILS_ON_NULL || !STRICT_METHOD || !STABLE_SORT;\n\nvar getSortCompare = function (comparefn) {\n return function (x, y) {\n if (y === undefined) return -1;\n if (x === undefined) return 1;\n if (comparefn !== undefined) return +comparefn(x, y) || 0;\n return toString(x) > toString(y) ? 1 : -1;\n };\n};\n\n// `Array.prototype.sort` method\n// https://tc39.es/ecma262/#sec-array.prototype.sort\n$({ target: 'Array', proto: true, forced: FORCED }, {\n sort: function sort(comparefn) {\n if (comparefn !== undefined) aCallable(comparefn);\n\n var array = toObject(this);\n\n if (STABLE_SORT) return comparefn === undefined ? un$Sort(array) : un$Sort(array, comparefn);\n\n var items = [];\n var arrayLength = lengthOfArrayLike(array);\n var itemsLength, index;\n\n for (index = 0; index < arrayLength; index++) {\n if (index in array) push(items, array[index]);\n }\n\n internalSort(items, getSortCompare(comparefn));\n\n itemsLength = items.length;\n index = 0;\n\n while (index < itemsLength) array[index] = items[index++];\n while (index < arrayLength) delete array[index++];\n\n return array;\n }\n});\n","var userAgent = require('../internals/engine-user-agent');\n\nvar webkit = userAgent.match(/AppleWebKit\\/(\\d+)\\./);\n\nmodule.exports = !!webkit && +webkit[1];\n","var global = require('../internals/global');\nvar isRegExp = require('../internals/is-regexp');\n\nvar TypeError = global.TypeError;\n\nmodule.exports = function (it) {\n if (isRegExp(it)) {\n throw TypeError(\"The method doesn't accept regular expressions\");\n } return it;\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar $find = require('../internals/array-iteration').find;\nvar addToUnscopables = require('../internals/add-to-unscopables');\n\nvar FIND = 'find';\nvar SKIPS_HOLES = true;\n\n// Shouldn't skip holes\nif (FIND in []) Array(1)[FIND](function () { SKIPS_HOLES = false; });\n\n// `Array.prototype.find` method\n// https://tc39.es/ecma262/#sec-array.prototype.find\n$({ target: 'Array', proto: true, forced: SKIPS_HOLES }, {\n find: function find(callbackfn /* , that = undefined */) {\n return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\naddToUnscopables(FIND);\n","import { defineStore } from \"pinia\";\nimport { useMainStore } from '@/store/main';\nimport { CompanyType } from \"@/types/company\";\nimport { FarmType } from \"@/types/farm\";\nimport { BarnType } from \"@/types/barn\";\nimport { SensorType } from \"@/types/sensor\";\nimport { BarnVisibilityType } from \"@/types/barn_visibility\";\nimport { API_URL } from \"@/utils/urls\";\n\nconst MAIN_STORE = useMainStore()\n\n\nexport const useDashboardStore = defineStore(\"dashboardStore\", {\n state: () => ({\n companies: [] as CompanyType[],\n visibility: 'hide_disabled' as BarnVisibilityType,\n }),\n actions: {\n async setHomeInfo(): Promise {\n try {\n this.companies = await MAIN_STORE.getFromAPI(`${API_URL}/companies/support_platform_report`)\n }\n catch(error) {throw Error(`${error}`.replace(\"Error: \", \"\"))}\n },\n setVisibility(value: BarnVisibilityType): void {\n this.visibility = value\n },\n },\n getters: {\n getVisibility: state => state.visibility,\n getCompanies: state => state.companies,\n getFarms: state => {\n const farms: FarmType[] = []\n state.companies.forEach((company: CompanyType) => {farms.push(...company.farms)})\n return farms.sort((a, b) => a.name.localeCompare(b.name))\n },\n getBarns() {\n const barns: BarnType[] = []\n this.getFarms.forEach((farm: FarmType) => {barns.push(...farm.barns)})\n return barns\n },\n getAllSensors() {\n const sensors: SensorType[] = []\n this.getBarns.forEach((barn: BarnType) => {sensors.push(...barn.sensors)})\n return sensors\n },\n getActiveSensors() {\n const sensors: SensorType[] = []\n this.getBarns.forEach((barn: BarnType) => {\n if (this.getVisibility === 'hide_disabled') {\n if (barn.is_last_batch_active) {\n sensors.push(...barn.sensors)\n }\n }\n else {\n sensors.push(...barn.sensors)\n }\n })\n return sensors\n },\n getSensorsInstalled(): SensorType[] {\n return this.getActiveSensors.filter((sensor: SensorType) => sensor.status === 'installed')\n },\n getSmartCamSensors(): SensorType[] {\n return this.getSensorsInstalled.filter((item: SensorType) => item.type === 'smartcam')\n },\n getSmartMicSensors(): SensorType[] { \n return this.getSensorsInstalled.filter((item: SensorType) => {\n return item.type.includes('smartmic')\n })\n },\n getSmartFeedSensors(): SensorType[] {\n return this.getSensorsInstalled.filter((item: SensorType) => item.type === 'smartfeed')\n },\n getActiveSmartFeedSensors(): SensorType[] {\n const sensors: SensorType[] = []\n this.getBarns.forEach((barn: BarnType) => {sensors.push(...barn.sensors)})\n return sensors.filter((sensor: SensorType) => sensor.type === 'smartfeed' && sensor.status !== 'disabled')\n },\n getFarmByBarn() {\n return (barn_pk: number | undefined): FarmType | null | undefined => {\n if (barn_pk === undefined) return null;\n return this.getFarms.find((farm: FarmType) => farm.barns.map((barn: BarnType) => barn.pk).includes(barn_pk) ? farm : null)\n }\n },\n getBarnByPK() {\n return (barn_pk: number | undefined): BarnType | null => {\n const barn = this.getBarns.find((barn: BarnType) => barn_pk === barn.pk)\n if (barn_pk == null || barn == null) return null\n return barn\n }\n },\n },\n});\n","'use strict';\nvar fails = require('../internals/fails');\n\nmodule.exports = function (METHOD_NAME, argument) {\n var method = [][METHOD_NAME];\n return !!method && fails(function () {\n // eslint-disable-next-line no-useless-call,no-throw-literal -- required for testing\n method.call(null, argument || function () { throw 1; }, 1);\n });\n};\n","var wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar MATCH = wellKnownSymbol('match');\n\nmodule.exports = function (METHOD_NAME) {\n var regexp = /./;\n try {\n '/./'[METHOD_NAME](regexp);\n } catch (error1) {\n try {\n regexp[MATCH] = false;\n return '/./'[METHOD_NAME](regexp);\n } catch (error2) { /* empty */ }\n } return false;\n};\n","var arraySlice = require('../internals/array-slice-simple');\n\nvar floor = Math.floor;\n\nvar mergeSort = function (array, comparefn) {\n var length = array.length;\n var middle = floor(length / 2);\n return length < 8 ? insertionSort(array, comparefn) : merge(\n array,\n mergeSort(arraySlice(array, 0, middle), comparefn),\n mergeSort(arraySlice(array, middle), comparefn),\n comparefn\n );\n};\n\nvar insertionSort = function (array, comparefn) {\n var length = array.length;\n var i = 1;\n var element, j;\n\n while (i < length) {\n j = i;\n element = array[i];\n while (j && comparefn(array[j - 1], element) > 0) {\n array[j] = array[--j];\n }\n if (j !== i++) array[j] = element;\n } return array;\n};\n\nvar merge = function (array, left, right, comparefn) {\n var llength = left.length;\n var rlength = right.length;\n var lindex = 0;\n var rindex = 0;\n\n while (lindex < llength || rindex < rlength) {\n array[lindex + rindex] = (lindex < llength && rindex < rlength)\n ? comparefn(left[lindex], right[rindex]) <= 0 ? left[lindex++] : right[rindex++]\n : lindex < llength ? left[lindex++] : right[rindex++];\n } return array;\n};\n\nmodule.exports = mergeSort;\n","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader-v16/dist/index.js??ref--1-1!./Platform.vue?vue&type=style&index=0&id=f992b89c&scoped=true&lang=css\"","'use strict';\nvar $ = require('../internals/export');\nvar $includes = require('../internals/array-includes').includes;\nvar addToUnscopables = require('../internals/add-to-unscopables');\n\n// `Array.prototype.includes` method\n// https://tc39.es/ecma262/#sec-array.prototype.includes\n$({ target: 'Array', proto: true }, {\n includes: function includes(el /* , fromIndex = 0 */) {\n return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\naddToUnscopables('includes');\n","'use strict';\nvar $ = require('../internals/export');\nvar $map = require('../internals/array-iteration').map;\nvar arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support');\n\nvar HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('map');\n\n// `Array.prototype.map` method\n// https://tc39.es/ecma262/#sec-array.prototype.map\n// with adding support of @@species\n$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {\n map: function map(callbackfn /* , thisArg */) {\n return $map(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n","var UA = require('../internals/engine-user-agent');\n\nmodule.exports = /MSIE|Trident/.test(UA);\n","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader-v16/dist/index.js??ref--1-1!./ErrorMessage.vue?vue&type=style&index=0&id=0c74abd1&scoped=true&lang=css\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader-v16/dist/index.js??ref--1-1!./SideBar.vue?vue&type=style&index=0&id=1b7a865f&scoped=true&lang=css\""],"sourceRoot":""}