{"version":3,"sources":["webpack:///./node_modules/core-js/internals/engine-ff-version.js","webpack:///./src/assets/feed.svg","webpack:///./src/components/FarmInfo.vue?b65e","webpack:///./node_modules/core-js/modules/web.dom-collections.for-each.js","webpack:///./node_modules/core-js/internals/array-for-each.js","webpack:///./src/assets/mic.svg","webpack:///./node_modules/core-js/modules/es.string.includes.js","webpack:///./src/components/Loading.vue","webpack:///./src/components/Loading.vue?b977","webpack:///./node_modules/core-js/internals/this-number-value.js","webpack:///./node_modules/core-js/internals/is-regexp.js","webpack:///./src/components/SensorGeneralInfo.vue?347a","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:///./src/assets/view.svg","webpack:///./node_modules/core-js/internals/whitespaces.js","webpack:///./node_modules/core-js/internals/string-trim.js","webpack:///./node_modules/core-js/internals/not-a-regexp.js","webpack:///./src/components/Loading.vue?920e","webpack:///./src/utils/ping_time_limit.ts","webpack:///./src/components/FarmInfo.vue","webpack:///./src/components/FarmInfo.vue?4e12","webpack:///./src/components/FarmsContainer.vue","webpack:///./src/components/FarmsContainer.vue?52f1","webpack:///./src/components/SensorGeneralInfo.vue","webpack:///./src/components/SensorGeneralInfo.vue?5f59","webpack:///./src/views/Dashboard.vue","webpack:///./src/views/Dashboard.vue?1521","webpack:///./node_modules/core-js/modules/es.array.find.js","webpack:///./src/store/dashboard.ts","webpack:///./src/assets/kg.svg","webpack:///./node_modules/core-js/internals/array-method-is-strict.js","webpack:///./node_modules/core-js/modules/es.number.constructor.js","webpack:///./node_modules/core-js/internals/correct-is-regexp-logic.js","webpack:///./node_modules/core-js/internals/array-sort.js","webpack:///./src/assets/cleaning.svg","webpack:///./node_modules/core-js/modules/es.array.includes.js","webpack:///./src/components/FarmsContainer.vue?6315","webpack:///./node_modules/core-js/modules/es.array.map.js","webpack:///./node_modules/core-js/internals/engine-is-ie-or-edge.js","webpack:///./src/views/Dashboard.vue?5c9d"],"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","class","script","__exports__","render","valueOf","isObject","classof","wellKnownSymbol","MATCH","it","isRegExp","$filter","filter","arrayMethodHasSpeciesSupport","HAS_SPECIES_SUPPORT","aCallable","toObject","lengthOfArrayLike","fails","internalSort","FF","IE_OR_EDGE","V8","WEBKIT","test","un$Sort","sort","push","FAILS_ON_UNDEFINED","FAILS_ON_NULL","STABLE_SORT","code","chr","value","index","result","String","fromCharCode","k","v","a","b","charAt","FORCED","getSortCompare","comparefn","x","y","array","itemsLength","items","arrayLength","webkit","whitespaces","replace","whitespace","ltrim","RegExp","rtrim","createMethod","TYPE","$this","string","start","end","trim","TypeError","ping_time_limit","n","_hoisted_1","_hoisted_2","_hoisted_3","_hoisted_4","key","style","src","_hoisted_5","_hoisted_6","_hoisted_7","_hoisted_8","title","_hoisted_9","_hoisted_10","_hoisted_11","_hoisted_12","_hoisted_13","_hoisted_14","_hoisted_15","_hoisted_16","props","farm","type","Object","required","is_from_first_top_half","Boolean","setup","__props","store","sensorsWithData","sensor_list","verification_period","sensor","datetime_last_data","sensorsWithPing","datetime_last_ping","color","sensors_with_data","sensors_with_ping","sensors_total","isAllSensorsResponding","barn","all_sensors_from_barn","sensors","status","cams","mics","feeds","sensors_responding","concat","is_some_batch_disabled","barns","some","is_last_batch_active","getVisibility","registered","disabled","smartcams","smartmics","smartfeeds","smartcamsOnline","smartmicsOnline","smartfeedsOnline","smartcamsPing","smartmicsPing","smartfeedsPing","_ctx","_cache","_component_router_link","name","arrow","pk","to","params","farm_pk","default","_","rows","changeDirection","is_direction_down","stopScroll","clearInterval","interval","startScroll","autoScrollDown","autoScrollUp","setInterval","farm_info_container","scrollHeight","scrollTop","offsetHeight","isFromFirstTopHalf","getFarms","Math","ceil","ref_key","ref","onMouseover","onMouseleave","FarmInfo","sensor_type","Number","onlineBarWidth","withPingBarWidth","offlineBarWidth","sensorPercentage","count","round","sensors_online","sensorWithData","map","item","id","sensors_offline","filterSensors","filter_condition","toLowerCase","getSmartCamSensors","getSmartMicSensors","getSmartFeedSensors","sensorsOffline","for","checkbox_value","getCompanies","checkbox","newValue","setVisibility","Loading","productObject","SensorGeneralInfo","$event","FarmsContainer","$find","find","addToUnscopables","FIND","SKIPS_HOLES","Array","MAIN_STORE","useDashboardStore","state","companies","visibility","actions","setHomeInfo","getFromAPI","Error","getters","farms","company","localeCompare","getBarns","getAllSensors","getActiveSensors","getSensorsInstalled","getActiveSmartFeedSensors","getFarmByBarn","barn_pk","getBarnByPK","METHOD_NAME","argument","method","call","DESCRIPTORS","isForced","redefine","hasOwn","inheritIfRequired","isPrototypeOf","isSymbol","toPrimitive","getOwnPropertyNames","f","getOwnPropertyDescriptor","defineProperty","thisNumberValue","NUMBER","NativeNumber","NumberPrototype","arraySlice","slice","charCodeAt","toNumeric","primValue","toNumber","first","third","radix","maxCode","digits","NaN","parseInt","NumberWrapper","dummy","keys","split","j","constructor","regexp","error1","error2","floor","mergeSort","middle","insertionSort","merge","element","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,uBCJvCE,EAAOC,QAAU,IAA0B,yB,oCCA3C,W,uBCAA,IAAIC,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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AGPmO,EAAQ,SAAUnO,EAAOsO,EAAMC,EAAO1O,GACxC,IAAI2O,EAAUF,EAAKrS,OACfwS,EAAUF,EAAMtS,OAChByS,EAAS,EACTC,EAAS,EAEb,MAAOD,EAASF,GAAWG,EAASF,EAClCzO,EAAM0O,EAASC,GAAWD,EAASF,GAAWG,EAASF,EACnD5O,EAAUyO,EAAKI,GAASH,EAAMI,KAAY,EAAIL,EAAKI,KAAYH,EAAMI,KACrED,EAASF,EAAUF,EAAKI,KAAYH,EAAMI,KAC9C,OAAO3O,GAGXjF,EAAOC,QAAUgT,G,4CC3CjBjT,EAAOC,QAAU,IAA0B,6B,kCCC3C,IAAImB,EAAI,EAAQ,QACZyS,EAAY,EAAQ,QAA+B9R,SACnD8M,EAAmB,EAAQ,QAI/BzN,EAAE,CAAEQ,OAAQ,QAASC,OAAO,GAAQ,CAClCE,SAAU,SAAkB+R,GAC1B,OAAOD,EAAU7S,KAAM8S,EAAI7S,UAAUC,OAAS,EAAID,UAAU,QAAKE,MAKrE0N,EAAiB,a,kCCdjB,W,kCCCA,IAAIzN,EAAI,EAAQ,QACZ2S,EAAO,EAAQ,QAAgC1G,IAC/CvK,EAA+B,EAAQ,QAEvCC,EAAsBD,EAA6B,OAKvD1B,EAAE,CAAEQ,OAAQ,QAASC,OAAO,EAAMC,QAASiB,GAAuB,CAChEsK,IAAK,SAAatM,GAChB,OAAOgT,EAAK/S,KAAMD,EAAYE,UAAUC,OAAS,EAAID,UAAU,QAAKE,O,qBCZxE,IAAI6S,EAAK,EAAQ,QAEjBhU,EAAOC,QAAU,eAAewD,KAAKuQ,I,kCCFrC","file":"js/chunk-0f5277c4.cee7dd4b.js","sourcesContent":["var userAgent = require('../internals/engine-user-agent');\n\nvar firefox = userAgent.match(/firefox\\/(\\d+)/i);\n\nmodule.exports = !!firefox && +firefox[1];\n","module.exports = __webpack_public_path__ + \"img/feed.8e37d942.svg\";","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!./FarmInfo.vue?vue&type=style&index=0&id=349b1267&scoped=true&lang=css\"","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","module.exports = __webpack_public_path__ + \"img/mic.7cdb0f05.svg\";","'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","\n \n\n\n\n","import { render } from \"./Loading.vue?vue&type=template&id=00324ed9&scoped=true\"\nconst script = {}\n\nimport \"./Loading.vue?vue&type=style&index=0&id=00324ed9&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, [['render',render],['__scopeId',\"data-v-00324ed9\"]])\n\nexport default __exports__","var uncurryThis = require('../internals/function-uncurry-this');\n\n// `thisNumberValue` abstract operation\n// https://tc39.es/ecma262/#sec-thisnumbervalue\nmodule.exports = uncurryThis(1.0.valueOf);\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","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!./SensorGeneralInfo.vue?vue&type=style&index=0&id=89a8ffb0&scoped=true&lang=css\"","'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","module.exports = __webpack_public_path__ + \"img/view.19afcec6.svg\";","// a string of all valid unicode whitespaces\nmodule.exports = '\\u0009\\u000A\\u000B\\u000C\\u000D\\u0020\\u00A0\\u1680\\u2000\\u2001\\u2002' +\n '\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000\\u2028\\u2029\\uFEFF';\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar toString = require('../internals/to-string');\nvar whitespaces = require('../internals/whitespaces');\n\nvar replace = uncurryThis(''.replace);\nvar whitespace = '[' + whitespaces + ']';\nvar ltrim = RegExp('^' + whitespace + whitespace + '*');\nvar rtrim = RegExp(whitespace + whitespace + '*$');\n\n// `String.prototype.{ trim, trimStart, trimEnd, trimLeft, trimRight }` methods implementation\nvar createMethod = function (TYPE) {\n return function ($this) {\n var string = toString(requireObjectCoercible($this));\n if (TYPE & 1) string = replace(string, ltrim, '');\n if (TYPE & 2) string = replace(string, rtrim, '');\n return string;\n };\n};\n\nmodule.exports = {\n // `String.prototype.{ trimLeft, trimStart }` methods\n // https://tc39.es/ecma262/#sec-string.prototype.trimstart\n start: createMethod(1),\n // `String.prototype.{ trimRight, trimEnd }` methods\n // https://tc39.es/ecma262/#sec-string.prototype.trimend\n end: createMethod(2),\n // `String.prototype.trim` method\n // https://tc39.es/ecma262/#sec-string.prototype.trim\n trim: createMethod(3)\n};\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","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!./Loading.vue?vue&type=style&index=0&id=00324ed9&scoped=true&lang=css\"","// minutes\nexport const ping_time_limit = 150\n","import { defineComponent as _defineComponent } from 'vue'\nimport { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, unref as _unref, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, normalizeClass as _normalizeClass, renderList as _renderList, Fragment as _Fragment, normalizeStyle as _normalizeStyle, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\nimport _imports_0 from '../assets/cleaning.svg'\nimport _imports_1 from '../assets/kg.svg'\nimport _imports_2 from '../assets/mic.svg'\nimport _imports_3 from '../assets/feed.svg'\nimport _imports_4 from '../assets/view.svg'\n\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-349b1267\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"individual-farm-info\" }\nconst _hoisted_2 = { class: \"farm-name\" }\nconst _hoisted_3 = { class: \"farm-name-content\" }\nconst _hoisted_4 = {\n key: 0,\n style: {\"height\":\"24px\"},\n src: _imports_0\n}\nconst _hoisted_5 = {\n key: 0,\n style: {\"height\":\"18px\"},\n src: _imports_0\n}\nconst _hoisted_6 = { class: \"sensor-availability-container\" }\nconst _hoisted_7 = { class: \"content-sensors\" }\nconst _hoisted_8 = {\n title: \"registered\",\n class: \"sensor-availability grey\"\n}\nconst _hoisted_9 = {\n title: \"disabled\",\n class: \"sensor-availability grey\"\n}\nconst _hoisted_10 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"img\", { src: _imports_1 }, null, -1))\nconst _hoisted_11 = { title: \"with data / with ping / total count\" }\nconst _hoisted_12 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"img\", { src: _imports_2 }, null, -1))\nconst _hoisted_13 = { title: \"with data / with ping / total count\" }\nconst _hoisted_14 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"img\", { src: _imports_3 }, null, -1))\nconst _hoisted_15 = { title: \"with data / with ping / total count\" }\nconst _hoisted_16 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"img\", { src: _imports_4 }, null, -1))\n\nimport { useDashboardStore } from '@/store/dashboard';\nimport { ComputedRef, computed, PropType } from 'vue';\nimport { SensorType } from '@/types/sensor';\nimport { compareDateToCurrent } from \"@/utils/helper\";\nimport { getSensorsInFarm, getSmartcamsOnline } from \"@/utils/helper\";\nimport { ping_time_limit } from \"@/utils/ping_time_limit\";\nimport { data_mic_time_limit } from \"@/utils/data_time_limit\";\nimport { data_feed_time_limit } from \"@/utils/data_time_limit\";\nimport { FarmType } from \"@/types/farm\";\nimport { BarnType } from \"@/types/barn\";\n\nexport default /*#__PURE__*/_defineComponent({\n props: {\n farm: { type: Object as PropType, required: true },\n // show tooltip at the bootom or at the top\n is_from_first_top_half: { type: Boolean as PropType, required: true },\n},\n setup(__props) {\n\nconst props = __props\n\nconst store = useDashboardStore();\n\n\n// Props\n\n\n// Methods\nconst sensorsWithData = (sensor_list: SensorType[], verification_period: number): SensorType[] => {\n return sensor_list.filter((sensor: SensorType) => {\n if (sensor.datetime_last_data == null) return false\n return compareDateToCurrent(sensor.datetime_last_data) < verification_period\n })\n}\nconst sensorsWithPing = (sensor_list: SensorType[]): SensorType[] => {\n return sensor_list.filter((sensor: SensorType) => {\n if (sensor.datetime_last_ping == null) return false\n return compareDateToCurrent(sensor.datetime_last_ping) < ping_time_limit\n })\n}\nconst color = (sensors_with_data: number, sensors_with_ping: number, sensors_total: number): string => {\n if (sensors_total === 0) return 'grey'\n if (sensors_with_data === sensors_total) return 'green'\n if (sensors_with_ping === sensors_total) return 'yellow'\n return 'red'\n}\nconst isAllSensorsResponding = (barn: BarnType): boolean => {\n const all_sensors_from_barn = barn.sensors.filter((sensor: SensorType) => sensor.status === 'installed')\n const cams = getSmartcamsOnline(all_sensors_from_barn.filter((sensor: SensorType) => sensor.type === 'smartcam'))\n const mics = sensorsWithData(all_sensors_from_barn.filter((sensor: SensorType) => sensor.type.includes('smartmic')), data_mic_time_limit)\n const feeds = sensorsWithData(all_sensors_from_barn.filter((sensor: SensorType) => sensor.type === 'smartfeed'), data_feed_time_limit)\n const sensors_responding = cams.concat(mics).concat(feeds)\n return sensors_responding.length === all_sensors_from_barn.length\n}\n\n// Computed\nconst is_some_batch_disabled: ComputedRef = computed(() => props.farm.barns.some((barn: BarnType) => !barn.is_last_batch_active))\nconst barns: ComputedRef = computed(() => props.farm.barns)\nconst sensors: ComputedRef = computed(() => getSensorsInFarm(props.farm, store.getVisibility))\nconst registered: ComputedRef = computed(() => sensors.value.filter((sensor: SensorType) => sensor.status === 'registered'))\nconst disabled: ComputedRef = computed(() => sensors.value.filter((sensor: SensorType) => sensor.status === 'disabled'))\nconst smartcams: ComputedRef = computed(() => sensors.value.filter((sensor: SensorType) => {\n return sensor.type === 'smartcam' && sensor.status === 'installed'\n}))\nconst smartmics: ComputedRef = computed(() => sensors.value.filter((sensor: SensorType) => {\n return sensor.type.includes('smartmic') && sensor.status === 'installed'\n}))\nconst smartfeeds: ComputedRef = computed(() => sensors.value.filter((sensor: SensorType) => {\n return sensor.type === 'smartfeed' && sensor.status === 'installed'\n}))\n\nconst smartcamsOnline : ComputedRef = computed(() => getSmartcamsOnline(smartcams.value).length)\nconst smartmicsOnline : ComputedRef = computed(() => sensorsWithData(smartmics.value, data_mic_time_limit).length)\nconst smartfeedsOnline : ComputedRef = computed(() => sensorsWithData(smartfeeds.value, data_feed_time_limit).length)\n\nconst smartcamsPing : ComputedRef = computed(() => sensorsWithPing(smartcams.value).length)\nconst smartmicsPing : ComputedRef = computed(() => sensorsWithPing(smartmics.value).length)\nconst smartfeedsPing: ComputedRef = computed(() => sensorsWithPing(smartfeeds.value).length)\n\nreturn (_ctx: any,_cache: any) => {\n const _component_router_link = _resolveComponent(\"router-link\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"p\", null, _toDisplayString(__props.farm.name), 1),\n (_unref(is_some_batch_disabled))\n ? (_openBlock(), _createElementBlock(\"img\", _hoisted_4))\n : _createCommentVNode(\"\", true)\n ]),\n _createElementVNode(\"div\", {\n class: _normalizeClass({arrow: __props.is_from_first_top_half, 'inverted-arrow': !__props.is_from_first_top_half})\n }, null, 2),\n _createElementVNode(\"div\", {\n class: _normalizeClass({'barns-tooltip': __props.is_from_first_top_half, 'inverted-barns-tooltip': !__props.is_from_first_top_half})\n }, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_unref(barns), (barn) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n style: _normalizeStyle({\n 'font-weight': barn.is_last_batch_active ? 500 : 600,\n 'color': isAllSensorsResponding(barn) ? 'var(--dark-green-pecsmart)' : 'var(--error-dark-red)'\n }),\n key: barn.pk\n }, [\n (!barn.is_last_batch_active)\n ? (_openBlock(), _createElementBlock(\"img\", _hoisted_5))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"p\", null, _toDisplayString(barn.name), 1)\n ], 4))\n }), 128))\n ], 2)\n ]),\n _createElementVNode(\"div\", _hoisted_6, [\n _createElementVNode(\"div\", _hoisted_7, [\n _createElementVNode(\"div\", _hoisted_8, [\n _createElementVNode(\"p\", null, _toDisplayString(_unref(registered).length), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_9, [\n _createElementVNode(\"p\", null, _toDisplayString(_unref(disabled).length), 1)\n ]),\n _createElementVNode(\"div\", {\n class: _normalizeClass([color(_unref(smartcamsOnline), _unref(smartcamsPing), _unref(smartcams).length), \"sensor-availability\"])\n }, [\n _hoisted_10,\n _createElementVNode(\"p\", _hoisted_11, _toDisplayString(_unref(smartcamsOnline)) + \"/\" + _toDisplayString(_unref(smartcamsPing)) + \"/\" + _toDisplayString(_unref(smartcams).length), 1)\n ], 2),\n _createElementVNode(\"div\", {\n class: _normalizeClass([color(_unref(smartmicsOnline), _unref(smartmicsPing), _unref(smartmics).length), \"sensor-availability\"])\n }, [\n _hoisted_12,\n _createElementVNode(\"p\", _hoisted_13, _toDisplayString(_unref(smartmicsOnline)) + \"/\" + _toDisplayString(_unref(smartmicsPing)) + \"/\" + _toDisplayString(_unref(smartmics).length), 1)\n ], 2),\n _createElementVNode(\"div\", {\n class: _normalizeClass([color(_unref(smartfeedsOnline), _unref(smartfeedsPing), _unref(smartfeeds).length), \"sensor-availability\"])\n }, [\n _hoisted_14,\n _createElementVNode(\"p\", _hoisted_15, _toDisplayString(_unref(smartfeedsOnline)) + \"/\" + _toDisplayString(_unref(smartfeedsPing)) + \"/\" + _toDisplayString(_unref(smartfeeds).length), 1)\n ], 2)\n ]),\n _createVNode(_component_router_link, {\n to: {name: 'SensorLog', params: {farm_pk: __props.farm.pk}},\n class: \"view-btn\"\n }, {\n default: _withCtx(() => [\n _hoisted_16\n ]),\n _: 1\n }, 8, [\"to\"])\n ])\n ]))\n}\n}\n\n})","import script from \"./FarmInfo.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./FarmInfo.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./FarmInfo.vue?vue&type=style&index=0&id=349b1267&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-349b1267\"]])\n\nexport default __exports__","import { useCssVars as _useCssVars, defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, createBlock as _createBlock } from \"vue\"\n\nimport { useDashboardStore } from '@/store/dashboard';\nimport { Ref, ref, computed, ComputedRef, onBeforeUnmount } from 'vue';\nimport { FarmType } from \"@/types/farm\";\nimport FarmInfo from '@/components/FarmInfo.vue';\n\nexport default /*#__PURE__*/_defineComponent({\n setup(__props) {\n\n_useCssVars(_ctx => ({\n \"63d39dc5\": (_unref(rows))\n}))\n\nconst store = useDashboardStore()\n\n\n// Methods\nconst changeDirection = (): void => { is_direction_down.value = !is_direction_down.value }\nconst stopScroll = (): void => clearInterval(interval.value)\nconst startScroll = (): void => {\n if (is_direction_down.value) interval.value = autoScrollDown()\n if (!is_direction_down.value) interval.value = autoScrollUp()\n}\nconst autoScrollDown = (): number => {\n return setInterval(() => {\n // when arriving at the bottom cancel the interval and start scrolling up\n if (farm_info_container.value.scrollHeight - farm_info_container.value.scrollTop === farm_info_container.value.offsetHeight) {\n changeDirection()\n clearInterval(interval.value)\n interval.value = autoScrollUp()\n }\n farm_info_container.value.scrollTop += 1\n }, 30);\n}\nconst autoScrollUp = (): number => {\n return setInterval(() => {\n // when arriving at the top cancel the interval and start scrolling down\n if (farm_info_container.value.scrollTop === 0) {\n changeDirection()\n clearInterval(interval.value)\n interval.value = autoScrollDown()\n }\n farm_info_container.value.scrollTop -= 1\n }, 5);\n}\nconst isFromFirstTopHalf = (index: number): boolean => {\n if (index <= getFarms.value.length/4) return true\n if (index > getFarms.value.length/4 && index < getFarms.value.length/2) return false\n if (index > getFarms.value.length/2 && index < getFarms.value.length - getFarms.value.length/4) return true\n return false\n}\n\n// Computed\nconst getFarms: ComputedRef = computed(() => store.getFarms);\nconst rows: ComputedRef = computed(() => Math.ceil(getFarms.value.length/2));\n\n// Data\nconst farm_info_container = ref(null) as Ref\nlet interval: Ref = ref(autoScrollDown())\nlet is_direction_down: Ref = ref(true)\n\nonBeforeUnmount(() => clearInterval(interval.value)) \n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n ref_key: \"farm_info_container\",\n ref: farm_info_container,\n onMouseover: stopScroll,\n onMouseleave: startScroll,\n class: \"farm-info-container\"\n }, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_unref(getFarms), (farm, index) => {\n return (_openBlock(), _createBlock(FarmInfo, {\n is_from_first_top_half: isFromFirstTopHalf(index),\n farm: farm,\n key: farm.name\n }, null, 8, [\"is_from_first_top_half\", \"farm\"]))\n }), 128))\n ], 544))\n}\n}\n\n})","import script from \"./FarmsContainer.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./FarmsContainer.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./FarmsContainer.vue?vue&type=style&index=0&id=1432b611&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-1432b611\"]])\n\nexport default __exports__","import { useCssVars as _useCssVars, defineComponent as _defineComponent } from 'vue'\nimport { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, unref as _unref, openBlock as _openBlock, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-89a8ffb0\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"sensor-container\" }\nconst _hoisted_2 = { class: \"header\" }\nconst _hoisted_3 = { style: {\"display\":\"flex\"} }\nconst _hoisted_4 = { title: \"Sensor with Data\" }\nconst _hoisted_5 = { title: \"Sensor with Data or Ping\" }\nconst _hoisted_6 = {\n title: \"Total Sensor Count\",\n style: {\"margin-right\":\"6px\"}\n}\nconst _hoisted_7 = { style: {\"margin-right\":\"6px\"} }\nconst _hoisted_8 = { class: \"bar\" }\nconst _hoisted_9 = { class: \"bar-content\" }\nconst _hoisted_10 = [\"title\"]\nconst _hoisted_11 = [\"title\"]\nconst _hoisted_12 = [\"title\"]\n\nimport { useDashboardStore } from '@/store/dashboard';\nimport { computed, ComputedRef } from \"vue\";\nimport { SensorType } from \"@/types/sensor\";\nimport { FilterSensorFunctionType } from \"@/types/check_status_function\";\nimport { compareDateToCurrent, isSmartcamOnline } from \"@/utils/helper\";\nimport { ping_time_limit } from \"@/utils/ping_time_limit\";\n\nexport default /*#__PURE__*/_defineComponent({\n props: {\n sensor_type: { type: String, required: true},\n verification_period: { type: Number, required: true},\n},\n setup(__props) {\n\nconst props = __props\n\n_useCssVars(_ctx => ({\n \"ef6f053c\": (_unref(onlineBarWidth)),\n \"e79ed332\": (_unref(withPingBarWidth)),\n \"0a45990c\": (_unref(offlineBarWidth))\n}))\n\nconst store = useDashboardStore();\n\n\n// Props\n\n\n// Methods\nconst sensorPercentage = (count: number): number => Math.round(count * (100 / sensors.value.length))\nconst sensors_online = (sensor: SensorType): boolean => {\n if (sensor.type === 'smartcam') return isSmartcamOnline(sensor)\n \n if (sensor.datetime_last_data == null) return false\n\n return compareDateToCurrent(sensor.datetime_last_data) < props.verification_period\n}\n\nconst sensors_with_ping = (sensor: SensorType): boolean => {\n if (sensorWithData.value.map((item: SensorType) => item.id).includes(sensor.id)) return false\n return compareDateToCurrent(sensor.datetime_last_ping) < ping_time_limit\n}\n\nconst sensors_offline = (sensor: SensorType): boolean => {\n return !sensorWithData.value.map((item: SensorType) => item.id)\n .concat(sensorsWithPing.value.map((item: SensorType) => item.id))\n .includes(sensor.id)\n}\n\nconst filterSensors = (filter_condition: FilterSensorFunctionType): SensorType[] => {\n return sensors.value.filter((sensor: SensorType) => filter_condition(sensor))\n}\n\n// Computed\nconst sensors: ComputedRef = computed(() => {\n if (props.sensor_type.toLowerCase() === 'smartcam') return store.getSmartCamSensors\n if (props.sensor_type.toLowerCase() === 'smartmic') return store.getSmartMicSensors\n return store.getSmartFeedSensors\n})\nconst sensorWithData : ComputedRef = computed(() => filterSensors(sensors_online))\nconst sensorsWithPing: ComputedRef = computed(() => filterSensors(sensors_with_ping))\nconst sensorsOffline: ComputedRef = computed(() => filterSensors(sensors_offline))\n\nconst onlineBarWidth: ComputedRef = computed(() => `${sensorPercentage(sensorWithData.value.length)}%`)\nconst withPingBarWidth: ComputedRef = computed(() => `${sensorPercentage(sensorsWithPing.value.length)}%`)\nconst offlineBarWidth: ComputedRef = computed(() => `${100 - (sensorPercentage(sensorWithData.value.length) + sensorPercentage(sensorsWithPing.value.length))}%`)\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"h2\", null, _toDisplayString(props.sensor_type), 1),\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"h2\", _hoisted_4, _toDisplayString(_unref(sensorWithData).length) + \"/\", 1),\n _createElementVNode(\"h2\", _hoisted_5, _toDisplayString(_unref(sensorsWithPing).length + _unref(sensorWithData).length) + \"/\", 1),\n _createElementVNode(\"h2\", _hoisted_6, _toDisplayString(_unref(sensors).length), 1),\n _createElementVNode(\"h2\", _hoisted_7, \"(\" + _toDisplayString(sensorPercentage(_unref(sensorWithData).length)) + \"%,\", 1),\n _createElementVNode(\"h2\", null, _toDisplayString(sensorPercentage(_unref(sensorsWithPing).length) + sensorPercentage(_unref(sensorWithData).length)) + \"%)\", 1)\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_8, [\n _createElementVNode(\"div\", _hoisted_9, [\n _createElementVNode(\"div\", {\n class: \"with-data\",\n title: `${sensorPercentage(_unref(sensorWithData).length)}% of Sensors with Data`\n }, null, 8, _hoisted_10),\n _createElementVNode(\"div\", {\n class: \"only-ping\",\n title: `${sensorPercentage(_unref(sensorsWithPing).length)}% of Sensor without Data, but with Ping`\n }, null, 8, _hoisted_11),\n _createElementVNode(\"div\", {\n class: \"offline\",\n title: `${sensorPercentage(_unref(sensorsOffline).length)}% of Sensor without Both`\n }, null, 8, _hoisted_12)\n ])\n ])\n ]))\n}\n}\n\n})","import script from \"./SensorGeneralInfo.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./SensorGeneralInfo.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./SensorGeneralInfo.vue?vue&type=style&index=0&id=89a8ffb0&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-89a8ffb0\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, renderList as _renderList, Fragment as _Fragment, createElementBlock as _createElementBlock, createElementVNode as _createElementVNode, vModelCheckbox as _vModelCheckbox, withDirectives as _withDirectives, createVNode as _createVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-42bc3525\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"dashboard-page\" }\nconst _hoisted_2 = {\n key: 1,\n class: \"dashboard\"\n}\nconst _hoisted_3 = { class: \"sensor-info-container\" }\nconst _hoisted_4 = { class: \"sensor-info\" }\nconst _hoisted_5 = { class: \"checkbox\" }\nconst _hoisted_6 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"label\", { for: \"checkbox\" }, \"Esconder dados dos barracoes sem lotes\", -1))\n\nimport { useDashboardStore } from '@/store/dashboard';\nimport { computed, ComputedRef, Ref, ref, watch } from 'vue';\nimport { CompanyType } from \"@/types/company\";\nimport FarmsContainer from '@/components/FarmsContainer.vue';\nimport SensorGeneralInfo from '@/components/SensorGeneralInfo.vue';\nimport Loading from '@/components/Loading.vue';\nimport { data_cam_time_limit } from \"@/utils/data_time_limit\";\nimport { data_mic_time_limit } from \"@/utils/data_time_limit\";\nimport { data_feed_time_limit } from \"@/utils/data_time_limit\";\n\nexport default /*#__PURE__*/_defineComponent({\n setup(__props) {\n\nconst store = useDashboardStore()\n\n\n// Methods\nconst checkbox_value = (): boolean => {\n switch(store.getVisibility) { \n case 'hide_disabled': { \n return true\n } \n default: { \n return false\n }\n }\n};\n\n// Computed\nconst getCompanies: ComputedRef = computed(() => store.getCompanies);\n\n// Data\nconst checkbox: Ref = ref(checkbox_value())\n\nwatch(checkbox, (newValue: boolean) => {\n switch(newValue) { \n case true: { \n store.setVisibility('hide_disabled')\n break;\n } \n case false: { \n store.setVisibility('show_all')\n break;\n }\n}\n});\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n (_unref(getCompanies).length === 0)\n ? (_openBlock(), _createBlock(Loading, { key: 0 }))\n : (_unref(getCompanies))\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"div\", _hoisted_4, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList([\n {type: 'Smartcam', verification_period: _unref(data_cam_time_limit)},\n {type: 'Smartmic', verification_period: _unref(data_mic_time_limit)},\n {type: 'Smartfeed', verification_period: _unref(data_feed_time_limit)},\n ], (productObject) => {\n return (_openBlock(), _createBlock(SensorGeneralInfo, {\n sensor_type: productObject.type,\n verification_period: productObject.verification_period,\n key: productObject.type\n }, null, 8, [\"sensor_type\", \"verification_period\"]))\n }), 128))\n ]),\n _createElementVNode(\"div\", _hoisted_5, [\n _hoisted_6,\n _withDirectives(_createElementVNode(\"input\", {\n title: \"esconder dados dos barracoes sem lotes\",\n type: \"checkbox\",\n class: \"checkmark\",\n name: \"checkbox\",\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((checkbox).value = $event))\n }, null, 512), [\n [_vModelCheckbox, checkbox.value]\n ])\n ])\n ]),\n _createVNode(FarmsContainer)\n ]))\n : _createCommentVNode(\"\", true)\n ]))\n}\n}\n\n})","import script from \"./Dashboard.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./Dashboard.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./Dashboard.vue?vue&type=style&index=0&id=42bc3525&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-42bc3525\"]])\n\nexport default __exports__","'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","module.exports = __webpack_public_path__ + \"img/kg.5824c641.svg\";","'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","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar global = require('../internals/global');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar isForced = require('../internals/is-forced');\nvar redefine = require('../internals/redefine');\nvar hasOwn = require('../internals/has-own-property');\nvar inheritIfRequired = require('../internals/inherit-if-required');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar isSymbol = require('../internals/is-symbol');\nvar toPrimitive = require('../internals/to-primitive');\nvar fails = require('../internals/fails');\nvar getOwnPropertyNames = require('../internals/object-get-own-property-names').f;\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar defineProperty = require('../internals/object-define-property').f;\nvar thisNumberValue = require('../internals/this-number-value');\nvar trim = require('../internals/string-trim').trim;\n\nvar NUMBER = 'Number';\nvar NativeNumber = global[NUMBER];\nvar NumberPrototype = NativeNumber.prototype;\nvar TypeError = global.TypeError;\nvar arraySlice = uncurryThis(''.slice);\nvar charCodeAt = uncurryThis(''.charCodeAt);\n\n// `ToNumeric` abstract operation\n// https://tc39.es/ecma262/#sec-tonumeric\nvar toNumeric = function (value) {\n var primValue = toPrimitive(value, 'number');\n return typeof primValue == 'bigint' ? primValue : toNumber(primValue);\n};\n\n// `ToNumber` abstract operation\n// https://tc39.es/ecma262/#sec-tonumber\nvar toNumber = function (argument) {\n var it = toPrimitive(argument, 'number');\n var first, third, radix, maxCode, digits, length, index, code;\n if (isSymbol(it)) throw TypeError('Cannot convert a Symbol value to a number');\n if (typeof it == 'string' && it.length > 2) {\n it = trim(it);\n first = charCodeAt(it, 0);\n if (first === 43 || first === 45) {\n third = charCodeAt(it, 2);\n if (third === 88 || third === 120) return NaN; // Number('+0x1') should be NaN, old V8 fix\n } else if (first === 48) {\n switch (charCodeAt(it, 1)) {\n case 66: case 98: radix = 2; maxCode = 49; break; // fast equal of /^0b[01]+$/i\n case 79: case 111: radix = 8; maxCode = 55; break; // fast equal of /^0o[0-7]+$/i\n default: return +it;\n }\n digits = arraySlice(it, 2);\n length = digits.length;\n for (index = 0; index < length; index++) {\n code = charCodeAt(digits, index);\n // parseInt parses a string to a first unavailable symbol\n // but ToNumber should return NaN if a string contains unavailable symbols\n if (code < 48 || code > maxCode) return NaN;\n } return parseInt(digits, radix);\n }\n } return +it;\n};\n\n// `Number` constructor\n// https://tc39.es/ecma262/#sec-number-constructor\nif (isForced(NUMBER, !NativeNumber(' 0o1') || !NativeNumber('0b1') || NativeNumber('+0x1'))) {\n var NumberWrapper = function Number(value) {\n var n = arguments.length < 1 ? 0 : NativeNumber(toNumeric(value));\n var dummy = this;\n // check on 1..constructor(foo) case\n return isPrototypeOf(NumberPrototype, dummy) && fails(function () { thisNumberValue(dummy); })\n ? inheritIfRequired(Object(n), dummy, NumberWrapper) : n;\n };\n for (var keys = DESCRIPTORS ? getOwnPropertyNames(NativeNumber) : (\n // ES3:\n 'MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,' +\n // ES2015 (in case, if modules with ES2015 Number statics required before):\n 'EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,' +\n // ESNext\n 'fromString,range'\n ).split(','), j = 0, key; keys.length > j; j++) {\n if (hasOwn(NativeNumber, key = keys[j]) && !hasOwn(NumberWrapper, key)) {\n defineProperty(NumberWrapper, key, getOwnPropertyDescriptor(NativeNumber, key));\n }\n }\n NumberWrapper.prototype = NumberPrototype;\n NumberPrototype.constructor = NumberWrapper;\n redefine(global, NUMBER, NumberWrapper);\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","module.exports = __webpack_public_path__ + \"img/cleaning.234d866a.svg\";","'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","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!./FarmsContainer.vue?vue&type=style&index=0&id=1432b611&scoped=true&lang=css\"","'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!./Dashboard.vue?vue&type=style&index=0&id=42bc3525&scoped=true&lang=css\""],"sourceRoot":""}