(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[0],{

/***/ "./node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/components/cky-connect-modal.vue?vue&type=script&lang=js":
/*!*************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/cky-connect-modal.vue?vue&type=script&lang=js ***!
  \*************************************************************************************************************************************************************************************************************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _mixins_connect__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @/mixins/connect */ \"./src/mixins/connect.js\");\n/* harmony import */ var _components_cky_modal_vue__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/components/cky-modal.vue */ \"./src/components/cky-modal.vue\");\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n  name: \"CkyConnectModal\",\n  mixins: [_mixins_connect__WEBPACK_IMPORTED_MODULE_0__[\"connect\"]],\n  components: {\n    CkyModal: _components_cky_modal_vue__WEBPACK_IMPORTED_MODULE_1__[\"default\"]\n  },\n  data() {\n    return {\n      hasFilter: false,\n      filterParams: null\n    };\n  },\n  props: {\n    visible: {\n      type: Boolean,\n      default: false\n    },\n    availablePlan: {\n      type: String,\n      default: 'all'\n    },\n    feature: {\n      type: String,\n      default: \"\"\n    }\n  },\n  methods: {\n    show() {\n      this.$refs.ckyConnectModal && this.$refs.ckyConnectModal.show();\n    },\n    close() {\n      this.$refs.ckyConnectModal && this.$refs.ckyConnectModal.close();\n    },\n    async handleNavigate() {\n      // Call WordPress filter hook before navigation\n      const response = await this.applyFilter({});\n\n      // If filter returns false, prevent navigation\n      if (response && response.prevent_navigation === true) {\n        return;\n      }\n\n      // Check if filter is present and returns meaningful data\n      if (this.hasFilterData(response)) {\n        // Filter is present - check if we have additional parameters\n        if (response.filter_result && typeof response.filter_result === 'object') {\n          // Store filter parameters and pass them to connectToApp\n          this.connectToApp(false, this.feature, response.filter_result);\n          return;\n        }\n\n        // Filter is present but no additional parameters - route to dashboard/plans\n        document.body.classList.remove('cky-app-modal-open');\n        this.$router.push({\n          path: 'dashboard/plans',\n          query: {\n            available: this.availablePlan\n          }\n        });\n        return;\n      }\n\n      // No filter present or filter returns empty data - navigate normally\n      document.body.classList.remove('cky-app-modal-open');\n      this.$router.push({\n        path: 'dashboard/plans',\n        query: {\n          available: this.availablePlan\n        }\n      });\n    },\n    async handleExistingAccountConnection() {\n      // Handle existing account connection with filter parameters\n      const response = await this.applyFilter({});\n\n      // If filter returns false, prevent navigation\n      if (response && response.prevent_navigation === true) {\n        return;\n      }\n\n      // Check if filter is present and returns meaningful data\n      if (this.hasFilterData(response)) {\n        // Filter is present - add parameters to the existing connection flow\n        if (response.filter_result && typeof response.filter_result === 'object') {\n          // Pass filter parameters to connectToApp\n          this.connectToApp(true, this.feature, response.filter_result);\n          return;\n        }\n      }\n\n      // Proceed with existing account connection (no filter parameters)\n      this.connectToApp(true, this.feature);\n    }\n  },\n  computed: {\n    dismissable() {\n      return !this.visible;\n    }\n  },\n  mounted() {\n    this.$root.$on(\"afterConnection\", () => {\n      this.close();\n    });\n    // Check if the filter is present\n    this.checkForFilter();\n  }\n});\n\n//# sourceURL=webpack:///./src/components/cky-connect-modal.vue?./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options");

/***/ }),

/***/ "./node_modules/cache-loader/dist/cjs.js?{\"cacheDirectory\":\"node_modules/.cache/vue-loader\",\"cacheIdentifier\":\"4f9de052-vue-loader-template\"}!./node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/components/cky-connect-modal.vue?vue&type=template&id=22d1d96e":
/*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"4f9de052-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/cky-connect-modal.vue?vue&type=template&id=22d1d96e ***!
  \********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/*! exports provided: render, staticRenderFns */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"staticRenderFns\", function() { return staticRenderFns; });\nvar render = function render() {\n  var _vm = this,\n    _c = _vm._self._c;\n  return _c(\"cky-modal\", {\n    ref: \"ckyConnectModal\",\n    staticClass: \"cky-connect-modal cky-text-center\",\n    attrs: {\n      type: \"info\",\n      visible: _vm.visible,\n      dismissable: _vm.dismissable\n    },\n    scopedSlots: _vm._u([{\n      key: \"body\",\n      fn: function () {\n        return [_vm._t(\"title\")];\n      },\n      proxy: true\n    }, {\n      key: \"footer\",\n      fn: function () {\n        return [_vm._t(\"message\"), _c(\"div\", {\n          staticClass: \"cky-app-modal-actions cky-justify-center\"\n        }, [_c(\"cky-button\", {\n          ref: \"ckyButtonConnect\",\n          class: {\n            \"cky-external-link\": _vm.hasFilter\n          },\n          nativeOn: {\n            click: function ($event) {\n              return _vm.handleNavigate();\n            }\n          }\n        }, [_vm._v(\" \" + _vm._s(_vm.$i18n.__(\"Connect to Web App to Access\", \"cookie-law-info\")) + \" \")]), _c(\"p\", {\n          staticClass: \"cky-login-text\"\n        }, [_vm.availablePlan === \"all\" ? _c(\"a\", {\n          staticClass: \"cky-login-and-connect cky-external-link\",\n          attrs: {\n            href: \"\"\n          },\n          on: {\n            click: function ($event) {\n              $event.preventDefault();\n              return _vm.handleExistingAccountConnection.apply(null, arguments);\n            }\n          }\n        }, [_vm._v(\" \" + _vm._s(_vm.$i18n.__(\"Have an account? Log in and connect\", \"cookie-law-info\")) + \" \")]) : _c(\"a\", {\n          staticClass: \"cky-login-and-connect cky-external-link\",\n          attrs: {\n            href: \"\"\n          },\n          on: {\n            click: function ($event) {\n              $event.preventDefault();\n              return _vm.handleExistingAccountConnection.apply(null, arguments);\n            }\n          }\n        }, [_vm._v(\" \" + _vm._s(_vm.$i18n.__(\"Have an account? Log in and connect\", \"cookie-law-info\")) + \" \")])])], 1)];\n      },\n      proxy: true\n    }], null, true)\n  });\n};\nvar staticRenderFns = [];\nrender._withStripped = true;\n\n\n//# sourceURL=webpack:///./src/components/cky-connect-modal.vue?./node_modules/cache-loader/dist/cjs.js?%7B%22cacheDirectory%22:%22node_modules/.cache/vue-loader%22,%22cacheIdentifier%22:%224f9de052-vue-loader-template%22%7D!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options");

/***/ }),

/***/ "./node_modules/mini-css-extract-plugin/dist/loader.js?!./node_modules/css-loader/dist/cjs.js?!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src/index.js?!./node_modules/sass-loader/dist/cjs.js?!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/components/cky-connect-modal.vue?vue&type=style&index=0&id=22d1d96e&lang=scss":
/*!*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** ./node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!./node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src??ref--9-oneOf-1-2!./node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/cky-connect-modal.vue?vue&type=style&index=0&id=22d1d96e&lang=scss ***!
  \*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {

eval("// extracted by mini-css-extract-plugin\n    if(false) { var cssReload; }\n  \n\n//# sourceURL=webpack:///./src/components/cky-connect-modal.vue?./node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!./node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src??ref--9-oneOf-1-2!./node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options");

/***/ }),

/***/ "./node_modules/vue-frag/dist/frag.esm.js":
/*!************************************************!*\
  !*** ./node_modules/vue-frag/dist/frag.esm.js ***!
  \************************************************/
/*! exports provided: Fragment, default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Fragment\", function() { return fragment; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return frag; });\nvar $placeholder = Symbol();\n\nvar $fakeParent = Symbol();\n\nvar nextSiblingPatched = Symbol();\n\nvar childNodesPatched = Symbol();\n\nvar isFrag = function isFrag(node) {\n    return \"frag\" in node;\n};\n\nfunction patchParentNode(node, fakeParent) {\n    if ($fakeParent in node) {\n        return;\n    }\n    node[$fakeParent] = fakeParent;\n    Object.defineProperty(node, \"parentNode\", {\n        get: function get() {\n            return this[$fakeParent] || this.parentElement;\n        }\n    });\n}\n\nfunction patchNextSibling(node) {\n    if (nextSiblingPatched in node) {\n        return;\n    }\n    node[nextSiblingPatched] = true;\n    Object.defineProperty(node, \"nextSibling\", {\n        get: function get() {\n            var childNodes = this.parentNode.childNodes;\n            var index = childNodes.indexOf(this);\n            if (index > -1) {\n                return childNodes[index + 1] || null;\n            }\n            return null;\n        }\n    });\n}\n\nfunction getTopFragment(node, fromParent) {\n    while (node.parentNode !== fromParent) {\n        var _node = node, parentNode = _node.parentNode;\n        if (parentNode) {\n            node = parentNode;\n        }\n    }\n    return node;\n}\n\nvar getChildNodes;\n\nfunction getChildNodesWithFragments(node) {\n    if (!getChildNodes) {\n        var childNodesDescriptor = Object.getOwnPropertyDescriptor(Node.prototype, \"childNodes\");\n        getChildNodes = childNodesDescriptor.get;\n    }\n    var realChildNodes = getChildNodes.apply(node);\n    var childNodes = Array.from(realChildNodes).map((function(childNode) {\n        return getTopFragment(childNode, node);\n    }));\n    return childNodes.filter((function(childNode, index) {\n        return childNode !== childNodes[index - 1];\n    }));\n}\n\nfunction patchChildNodes(node) {\n    if (childNodesPatched in node) {\n        return;\n    }\n    node[childNodesPatched] = true;\n    Object.defineProperties(node, {\n        childNodes: {\n            get: function get() {\n                return this.frag || getChildNodesWithFragments(this);\n            }\n        },\n        firstChild: {\n            get: function get() {\n                return this.childNodes[0] || null;\n            }\n        }\n    });\n    node.hasChildNodes = function() {\n        return this.childNodes.length > 0;\n    };\n}\n\nfunction before() {\n    var _this$frag$;\n    (_this$frag$ = this.frag[0]).before.apply(_this$frag$, arguments);\n}\n\nfunction remove() {\n    var frag = this.frag;\n    var removed = frag.splice(0, frag.length);\n    removed.forEach((function(node) {\n        node.remove();\n    }));\n}\n\nvar getFragmentLeafNodes = function getFragmentLeafNodes(children) {\n    var _Array$prototype;\n    return (_Array$prototype = Array.prototype).concat.apply(_Array$prototype, children.map((function(childNode) {\n        return isFrag(childNode) ? getFragmentLeafNodes(childNode.frag) : childNode;\n    })));\n};\n\nfunction addPlaceholder(node, insertBeforeNode) {\n    var placeholder = node[$placeholder];\n    insertBeforeNode.before(placeholder);\n    patchParentNode(placeholder, node);\n    node.frag.unshift(placeholder);\n}\n\nfunction removeChild(node) {\n    if (isFrag(this)) {\n        var hasChildInFragment = this.frag.indexOf(node);\n        if (hasChildInFragment > -1) {\n            var _this$frag$splice = this.frag.splice(hasChildInFragment, 1), removedNode = _this$frag$splice[0];\n            if (this.frag.length === 0) {\n                addPlaceholder(this, removedNode);\n            }\n            node.remove();\n        }\n    } else {\n        var children = getChildNodesWithFragments(this);\n        var hasChild = children.indexOf(node);\n        if (hasChild > -1) {\n            node.remove();\n        }\n    }\n    return node;\n}\n\nfunction insertBefore(insertNode, insertBeforeNode) {\n    var _this = this;\n    var insertNodes = insertNode.frag || [ insertNode ];\n    if (isFrag(this)) {\n        var _frag = this.frag;\n        if (insertBeforeNode) {\n            var index = _frag.indexOf(insertBeforeNode);\n            if (index > -1) {\n                _frag.splice.apply(_frag, [ index, 0 ].concat(insertNodes));\n                insertBeforeNode.before.apply(insertBeforeNode, insertNodes);\n            }\n        } else {\n            var _lastNode = _frag[_frag.length - 1];\n            _frag.push.apply(_frag, insertNodes);\n            _lastNode.after.apply(_lastNode, insertNodes);\n        }\n        removePlaceholder(this);\n    } else if (insertBeforeNode) {\n        if (this.childNodes.includes(insertBeforeNode)) {\n            insertBeforeNode.before.apply(insertBeforeNode, insertNodes);\n        }\n    } else {\n        this.append.apply(this, insertNodes);\n    }\n    insertNodes.forEach((function(node) {\n        patchParentNode(node, _this);\n    }));\n    var lastNode = insertNodes[insertNodes.length - 1];\n    patchNextSibling(lastNode);\n    return insertNode;\n}\n\nfunction appendChild(node) {\n    var frag = this.frag;\n    var lastChild = frag[frag.length - 1];\n    lastChild.after(node);\n    patchParentNode(node, this);\n    removePlaceholder(this);\n    frag.push(node);\n    return node;\n}\n\nfunction removePlaceholder(node) {\n    var placeholder = node[$placeholder];\n    if (node.frag[0] === placeholder) {\n        node.frag.shift();\n        placeholder.remove();\n    }\n}\n\nvar frag = {\n    inserted: function inserted(element) {\n        var parentNode = element.parentNode, nextSibling = element.nextSibling, previousSibling = element.previousSibling;\n        var childNodes = Array.from(element.childNodes);\n        var placeholder = document.createComment(\"\");\n        if (childNodes.length === 0) {\n            childNodes.push(placeholder);\n        }\n        element.frag = childNodes;\n        element[$placeholder] = placeholder;\n        var fragment = document.createDocumentFragment();\n        fragment.append.apply(fragment, getFragmentLeafNodes(childNodes));\n        element.replaceWith(fragment);\n        childNodes.forEach((function(node) {\n            patchParentNode(node, element);\n            patchNextSibling(node);\n        }));\n        patchChildNodes(element);\n        Object.assign(element, {\n            remove: remove,\n            appendChild: appendChild,\n            insertBefore: insertBefore,\n            removeChild: removeChild,\n            before: before\n        });\n        Object.defineProperty(element, \"innerHTML\", {\n            set: function set(htmlString) {\n                var _this2 = this;\n                var domify = document.createElement(\"div\");\n                domify.innerHTML = htmlString;\n                var oldNodesIndex = this.frag.length;\n                Array.from(domify.childNodes).forEach((function(node) {\n                    _this2.appendChild(node);\n                }));\n                domify.append.apply(domify, this.frag.splice(0, oldNodesIndex));\n            },\n            get: function get() {\n                return \"\";\n            }\n        });\n        if (parentNode) {\n            Object.assign(parentNode, {\n                removeChild: removeChild,\n                insertBefore: insertBefore\n            });\n            patchParentNode(element, parentNode);\n            patchChildNodes(parentNode);\n        }\n        if (nextSibling) {\n            patchNextSibling(element);\n        }\n        if (previousSibling) {\n            patchNextSibling(previousSibling);\n        }\n    },\n    unbind: function unbind(element) {\n        element.remove();\n    }\n};\n\nvar fragment = {\n    name: \"Fragment\",\n    directives: {\n        frag: frag\n    },\n    render: function render(h) {\n        return h(\"div\", {\n            directives: [ {\n                name: \"frag\"\n            } ]\n        }, this.$slots[\"default\"]);\n    }\n};\n\n\n\n\n//# sourceURL=webpack:///./node_modules/vue-frag/dist/frag.esm.js?");

/***/ }),

/***/ "./src/assets/scan-now.svg":
/*!*********************************!*\
  !*** ./src/assets/scan-now.svg ***!
  \*********************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {

eval("module.exports = __webpack_require__.p + \"img/scan-now.svg\";\n\n//# sourceURL=webpack:///./src/assets/scan-now.svg?");

/***/ }),

/***/ "./src/assets/schedule-scan.svg":
/*!**************************************!*\
  !*** ./src/assets/schedule-scan.svg ***!
  \**************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {

eval("module.exports = __webpack_require__.p + \"img/schedule-scan.svg\";\n\n//# sourceURL=webpack:///./src/assets/schedule-scan.svg?");

/***/ }),

/***/ "./src/assets/search.svg":
/*!*******************************!*\
  !*** ./src/assets/search.svg ***!
  \*******************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {

eval("module.exports = __webpack_require__.p + \"img/search.svg\";\n\n//# sourceURL=webpack:///./src/assets/search.svg?");

/***/ }),

/***/ "./src/assets/time-schedule.svg":
/*!**************************************!*\
  !*** ./src/assets/time-schedule.svg ***!
  \**************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {

eval("module.exports = __webpack_require__.p + \"img/time-schedule.svg\";\n\n//# sourceURL=webpack:///./src/assets/time-schedule.svg?");

/***/ }),

/***/ "./src/components/cky-connect-modal.vue":
/*!**********************************************!*\
  !*** ./src/components/cky-connect-modal.vue ***!
  \**********************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _cky_connect_modal_vue_vue_type_template_id_22d1d96e__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./cky-connect-modal.vue?vue&type=template&id=22d1d96e */ \"./src/components/cky-connect-modal.vue?vue&type=template&id=22d1d96e\");\n/* harmony import */ var _cky_connect_modal_vue_vue_type_script_lang_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./cky-connect-modal.vue?vue&type=script&lang=js */ \"./src/components/cky-connect-modal.vue?vue&type=script&lang=js\");\n/* empty/unused harmony star reexport *//* harmony import */ var _cky_connect_modal_vue_vue_type_style_index_0_id_22d1d96e_lang_scss__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./cky-connect-modal.vue?vue&type=style&index=0&id=22d1d96e&lang=scss */ \"./src/components/cky-connect-modal.vue?vue&type=style&index=0&id=22d1d96e&lang=scss\");\n/* harmony import */ var _node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */ \"./node_modules/vue-loader/lib/runtime/componentNormalizer.js\");\n\n\n\n\n\n\n/* normalize component */\n\nvar component = Object(_node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(\n  _cky_connect_modal_vue_vue_type_script_lang_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"],\n  _cky_connect_modal_vue_vue_type_template_id_22d1d96e__WEBPACK_IMPORTED_MODULE_0__[\"render\"],\n  _cky_connect_modal_vue_vue_type_template_id_22d1d96e__WEBPACK_IMPORTED_MODULE_0__[\"staticRenderFns\"],\n  false,\n  null,\n  null,\n  null\n  \n)\n\n/* hot reload */\nif (false) { var api; }\ncomponent.options.__file = \"src/components/cky-connect-modal.vue\"\n/* harmony default export */ __webpack_exports__[\"default\"] = (component.exports);\n\n//# sourceURL=webpack:///./src/components/cky-connect-modal.vue?");

/***/ }),

/***/ "./src/components/cky-connect-modal.vue?vue&type=script&lang=js":
/*!**********************************************************************!*\
  !*** ./src/components/cky-connect-modal.vue?vue&type=script&lang=js ***!
  \**********************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_cache_loader_dist_cjs_js_ref_13_0_node_modules_babel_loader_lib_index_js_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_cky_connect_modal_vue_vue_type_script_lang_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/babel-loader/lib!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib??vue-loader-options!./cky-connect-modal.vue?vue&type=script&lang=js */ \"./node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/components/cky-connect-modal.vue?vue&type=script&lang=js\");\n/* empty/unused harmony star reexport */ /* harmony default export */ __webpack_exports__[\"default\"] = (_node_modules_cache_loader_dist_cjs_js_ref_13_0_node_modules_babel_loader_lib_index_js_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_cky_connect_modal_vue_vue_type_script_lang_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"]); \n\n//# sourceURL=webpack:///./src/components/cky-connect-modal.vue?");

/***/ }),

/***/ "./src/components/cky-connect-modal.vue?vue&type=style&index=0&id=22d1d96e&lang=scss":
/*!*******************************************************************************************!*\
  !*** ./src/components/cky-connect-modal.vue?vue&type=style&index=0&id=22d1d96e&lang=scss ***!
  \*******************************************************************************************/
/*! no static exports found */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_cky_connect_modal_vue_vue_type_style_index_0_id_22d1d96e_lang_scss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src??ref--9-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib??vue-loader-options!./cky-connect-modal.vue?vue&type=style&index=0&id=22d1d96e&lang=scss */ \"./node_modules/mini-css-extract-plugin/dist/loader.js?!./node_modules/css-loader/dist/cjs.js?!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src/index.js?!./node_modules/sass-loader/dist/cjs.js?!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/components/cky-connect-modal.vue?vue&type=style&index=0&id=22d1d96e&lang=scss\");\n/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_cky_connect_modal_vue_vue_type_style_index_0_id_22d1d96e_lang_scss__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_cky_connect_modal_vue_vue_type_style_index_0_id_22d1d96e_lang_scss__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_cky_connect_modal_vue_vue_type_style_index_0_id_22d1d96e_lang_scss__WEBPACK_IMPORTED_MODULE_0__) if([\"default\"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_cky_connect_modal_vue_vue_type_style_index_0_id_22d1d96e_lang_scss__WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));\n\n\n//# sourceURL=webpack:///./src/components/cky-connect-modal.vue?");

/***/ }),

/***/ "./src/components/cky-connect-modal.vue?vue&type=template&id=22d1d96e":
/*!****************************************************************************!*\
  !*** ./src/components/cky-connect-modal.vue?vue&type=template&id=22d1d96e ***!
  \****************************************************************************/
/*! exports provided: render, staticRenderFns */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_cache_loader_dist_cjs_js_cacheDirectory_node_modules_cache_vue_loader_cacheIdentifier_4f9de052_vue_loader_template_node_modules_cache_loader_dist_cjs_js_ref_13_0_node_modules_babel_loader_lib_index_js_node_modules_vue_loader_lib_loaders_templateLoader_js_ref_6_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_cky_connect_modal_vue_vue_type_template_id_22d1d96e__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../node_modules/cache-loader/dist/cjs.js?{\"cacheDirectory\":\"node_modules/.cache/vue-loader\",\"cacheIdentifier\":\"4f9de052-vue-loader-template\"}!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/babel-loader/lib!../../node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib??vue-loader-options!./cky-connect-modal.vue?vue&type=template&id=22d1d96e */ \"./node_modules/cache-loader/dist/cjs.js?{\\\"cacheDirectory\\\":\\\"node_modules/.cache/vue-loader\\\",\\\"cacheIdentifier\\\":\\\"4f9de052-vue-loader-template\\\"}!./node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/components/cky-connect-modal.vue?vue&type=template&id=22d1d96e\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return _node_modules_cache_loader_dist_cjs_js_cacheDirectory_node_modules_cache_vue_loader_cacheIdentifier_4f9de052_vue_loader_template_node_modules_cache_loader_dist_cjs_js_ref_13_0_node_modules_babel_loader_lib_index_js_node_modules_vue_loader_lib_loaders_templateLoader_js_ref_6_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_cky_connect_modal_vue_vue_type_template_id_22d1d96e__WEBPACK_IMPORTED_MODULE_0__[\"render\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"staticRenderFns\", function() { return _node_modules_cache_loader_dist_cjs_js_cacheDirectory_node_modules_cache_vue_loader_cacheIdentifier_4f9de052_vue_loader_template_node_modules_cache_loader_dist_cjs_js_ref_13_0_node_modules_babel_loader_lib_index_js_node_modules_vue_loader_lib_loaders_templateLoader_js_ref_6_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_cky_connect_modal_vue_vue_type_template_id_22d1d96e__WEBPACK_IMPORTED_MODULE_0__[\"staticRenderFns\"]; });\n\n\n\n//# sourceURL=webpack:///./src/components/cky-connect-modal.vue?");

/***/ }),

/***/ "./src/mixins/visibility.js":
/*!**********************************!*\
  !*** ./src/mixins/visibility.js ***!
  \**********************************/
/*! exports provided: visibility */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"visibility\", function() { return visibility; });\n/* harmony import */ var _helpers_common__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @/helpers/common */ \"./src/helpers/common.js\");\n\nconst visibility = {\n  data() {\n    return {\n      checkFocusTimer: 0,\n      hidden: 'hidden',\n      visibilityChange: 'visibilitychange',\n      hasFocus: false\n    };\n  },\n  components: {},\n  computed: {\n    account() {\n      return Object(_helpers_common__WEBPACK_IMPORTED_MODULE_0__[\"getOption\"])('account');\n    }\n  },\n  mounted() {\n    this.initialize();\n  },\n  beforeDestroy() {\n    document.removeEventListener(this.visibilityChange, this.handleVisibilityChange);\n  },\n  methods: {\n    initialize() {\n      if (this.account.connected === true) return;\n      if (typeof document.hidden !== 'undefined') {\n        this.hidden = 'hidden';\n        this.visibilityChange = 'visibilitychange';\n      } else if (typeof document.msHidden !== 'undefined') {\n        // IE10.\n        this.hidden = 'msHidden';\n        this.visibilityChange = 'msvisibilitychange';\n      } else if (typeof document.webkitHidden !== 'undefined') {\n        // Android.\n        this.hidden = 'webkitHidden';\n        this.visibilityChange = 'webkitvisibilitychange';\n      }\n      document.addEventListener(this.visibilityChange, this.handleVisibilityChange, false);\n    },\n    handleVisibilityChange() {\n      if (!document[this.hidden]) {\n        this.checkForScreenChange();\n      }\n    },\n    async checkForScreenChange() {\n      await Object(_helpers_common__WEBPACK_IMPORTED_MODULE_0__[\"reloadSettings\"])();\n      if (this.account.connected) {\n        document.removeEventListener(this.visibilityChange, this.handleVisibilityChange);\n        this.$router.redirectToDashboard(this.$route.name);\n      }\n    }\n  }\n};\n\n//# sourceURL=webpack:///./src/mixins/visibility.js?");

/***/ })

}]);