{"version":3,"sources":["webpack:///./resources/js/src/app/components/pageDesign/MobileNavigation.vue?484f","webpack:///./node_modules/Ceres/resources/js/src/app/helper/array.js","webpack:///./node_modules/Ceres/resources/js/src/app/helper/MediaQueryHelper.js","webpack:///./resources/js/src/app/components/pageDesign/MobileNavigation.vue","webpack:///./resources/js/src/app/components/pageDesign/MobileNavigation.vue?6ec8","webpack:///./resources/js/src/app/components/pageDesign/MobileNavigation.vue?82bd"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","directives","name","rawName","value","isNavigationInitialized","expression","on","click","$event","closeNavigation","attrs","_v","template","class","dataContainer1","parent","id","slideTo","_m","_e","details","href","getCategoryUrl","url","_s","_l","categories","category","childCount","siblingCount","length","number","style","width","Math","random","urls","wishList","myAccount","dataContainer2","_withStripped","safePush","array","entry","isNullOrUndefined","push","_instance","MediaQueryHelper","initListener","functionList","currentBreakpoint","getCurrentBreakpoint","oldBreakpoint","window","addEventListener","executeFunctions","document","documentElement","clientWidth","Array","prototype","concat","functionToExecute","isDefined","addedFunction","breakpoints","breakpoint","props","default","type","String","initialCategory","Object","includeLanguage","Boolean","data","useFirstContainer","selectedCategory","App","saleClass","computed","breadcrumbs","container","keys","unshift","mapState","navigationTree","state","navigation","tree","created","$store","commit","mounted","methods","QueryHelper","addFunction","loadInitialTree","includes","categoryId","dispatch","then","response","initNavigation","linklist","parseInt","initialSlide","currentCategory","children","back","loadPartialTree","$","trigger","updateDataContainers","getCategoryById","cat","foundCat","querySelector","classList","remove","trailingSlash","language","menu","bind","el","event","params","target","addClass","removeClass","index","className","match","join","component","options","__file"],"mappings":"kGAAA,IAAIA,EAAS,WACX,IAAIC,EAAMC,KACNC,EAAKF,EAAIG,eACTC,EAAKJ,EAAIK,MAAMD,IAAMF,EACzB,OAAOE,EAAG,MAAO,CAAEE,YAAa,wCAA0C,CACxEF,EACE,MACA,CAAEE,YAAa,qBACf,CACEF,EACE,MACA,CACEG,WAAY,CACV,CACEC,KAAM,OACNC,QAAS,S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OC,GAEjCf,EAAEc,EAAME,QAAQE,YAAY,eAC5BlB,EAAEc,EAAME,QAAQC,SAASF,EAAOjB,KAAO,uBAAyB,0BAGpEE,EAAEa,GAAItH,GAAG,gEAAgE,WAErEyG,EAAE,aAAakB,aAAY,SAACC,EAAOC,GAE/B,OAAQA,EAAUC,MAAM,uBAAyB,IAAIC,KAAK,e,QEnY9EC,EAAY,YACd,EACA9I,EL+ZoB,CACpB,WACE,IACIG,EADMD,KACGE,eACTC,EAFMH,KAEGI,MAAMD,IAAMF,EACzB,OAAOE,EACL,OACA,CAAEE,YAAa,gDACf,CACEF,EAAG,IAAK,CACNE,YAAa,uBACbW,MAAO,CAAE,cAAe,UATpBhB,KAWFiB,GACF,2EAKR,WACE,IACIhB,EADMD,KACGE,eACTC,EAFMH,KAEGI,MAAMD,IAAMF,EACzB,OAAOE,EACL,OACA,CAAEE,YAAa,gDACf,CACEF,EAAG,IAAK,CACNE,YAAa,uBACbW,MAAO,CAAE,cAAe,UATpBhB,KAWFiB,GAAG,KACPd,EAAG,OAAQ,CAZLH,KAYUiB,GAAG,6BAIzB,WACE,IACIhB,EADMD,KACGE,eACTC,EAFMH,KAEGI,MAAMD,IAAMF,EACzB,OAAOE,EAAG,KAAM,CAAEE,YAAa,mBAAqB,CAClDF,EAAG,IAAK,CAAEE,YAAa,aAAcW,MAAO,CAAE,cAAe,eKtcjE,EACA,KACA,KACA,MAuBF4H,EAAUC,QAAQC,OAAS,kEACZ,UAAAF,E","file":"chunks/ceres-client-53.min.js","sourcesContent":["var render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"div\", { staticClass: \"mobile-navigation__wrapper d-lg-none\" }, [\n _c(\n \"div\",\n { staticClass: \"mobile-navigation\" },\n [\n _c(\n \"div\",\n {\n directives: [\n {\n name: \"show\",\n rawName: \"v-show\",\n value: _vm.isNavigationInitialized,\n expression: \"isNavigationInitialized\"\n }\n ]\n },\n [\n _c(\"ul\", { staticClass: \"breadcrumb\" }, [\n _c(\n \"li\",\n {\n staticClass: \"btn-close\",\n on: {\n click: function($event) {\n return _vm.closeNavigation()\n }\n }\n },\n [\n _c(\"i\", {\n staticClass: \"fa fa-close\",\n attrs: { \"aria-hidden\": \"true\" }\n }),\n _vm._v(\"\\n Schließen\\n \")\n ]\n ),\n _vm._v(\" \"),\n _c(\n \"li\",\n [\n _c(\"item-search\", {\n attrs: {\n template: \"#vue-item-search\",\n \"show-item-images\": false,\n \"forward-to-single-item\": false\n }\n })\n ],\n 1\n )\n ]),\n _vm._v(\" \"),\n _c(\n \"ul\",\n {\n directives: [{ name: \"menu\", rawName: \"v-menu\" }],\n staticClass: \"mainmenu w-100 p-0 m-0 menu-active\",\n class: {\n \"mobile-navigation__no-parent\": !_vm.dataContainer1.parent\n },\n attrs: { id: \"menu-1\" }\n },\n [\n _vm.dataContainer1.parent\n ? _c(\n \"li\",\n {\n staticClass: \"ddown\",\n on: {\n click: function($event) {\n return _vm.slideTo(\n (_vm.dataContainer1.parent &&\n _vm.dataContainer1.parent.parent) ||\n null,\n true\n )\n }\n }\n },\n [_vm._m(0)]\n )\n : _vm._e(),\n _vm._v(\" \"),\n _vm.dataContainer1.parent && _vm.dataContainer1.parent.details\n ? _c(\"li\", { staticClass: \"ddown all-from\" }, [\n _c(\n \"a\",\n {\n attrs: {\n href: _vm.getCategoryUrl(\n _vm.dataContainer1.parent.url\n )\n }\n },\n [\n _vm._v(\n \"\\n Alles aus \" +\n _vm._s(\n _vm.dataContainer1.parent.details[0].name\n ) +\n \"\\n \"\n )\n ]\n )\n ])\n : _vm._e(),\n _vm._v(\" \"),\n _vm._l(_vm.dataContainer1.categories, function(category) {\n return _c(\n \"li\",\n { staticClass: \"ddown\" },\n [\n category.childCount === 0\n ? [\n _c(\n \"a\",\n {\n class: {\n \"mobile-navigation__item--red\":\n _vm.getCategoryUrl(category.url) ===\n \"/sale/\"\n },\n attrs: {\n href: _vm.getCategoryUrl(category.url)\n }\n },\n [\n _vm._v(\n \"\\n \" +\n _vm._s(category.details[0].name) +\n \"\\n \"\n )\n ]\n )\n ]\n : [\n _c(\n \"span\",\n {\n on: {\n click: function($event) {\n return _vm.slideTo(category)\n }\n }\n },\n [\n _vm._v(\n \"\\n \" +\n _vm._s(category.details[0].name) +\n \"\\n \"\n )\n ]\n ),\n _vm._v(\" \"),\n _c(\n \"span\",\n {\n staticClass: \"nav-direction\",\n on: {\n click: function($event) {\n return _vm.slideTo(category)\n }\n }\n },\n [\n _c(\"i\", {\n staticClass: \"fa fa-lg fa-caret-right\",\n attrs: { \"aria-hidden\": \"true\" }\n })\n ]\n )\n ]\n ],\n 2\n )\n }),\n _vm._v(\" \"),\n _vm.dataContainer1.categories[0]\n ? _vm._l(\n _vm.dataContainer1.categories[0].siblingCount -\n _vm.dataContainer1.categories.length,\n function(number) {\n return _c(\"li\", { staticClass: \"ddown+\" }, [\n _c(\"span\", {\n staticClass: \"nav-placeholder m-3\",\n style: { width: Math.random() * 20 + 60 + \"%\" }\n })\n ])\n }\n )\n : _vm.dataContainer1.parent\n ? _vm._l(_vm.dataContainer1.parent.childCount, function(\n number\n ) {\n return _c(\"li\", { staticClass: \"ddown\" }, [\n _c(\"span\", {\n staticClass: \"nav-placeholder m-3\",\n style: { width: Math.random() * 20 + 60 + \"%\" }\n })\n ])\n })\n : _vm._e(),\n _vm._v(\" \"),\n !_vm.dataContainer1.parent\n ? [\n _c(\"li\", { staticClass: \"ddown ddown__wishlist\" }, [\n _c(\"a\", { attrs: { href: _vm.urls.wishList } }, [\n _c(\"i\", {\n staticClass: \"fa fa-heart-o\",\n attrs: { \"aria-hidden\": \"true\" }\n }),\n _vm._v(\n \"\\n Wunschliste\\n \"\n )\n ])\n ]),\n _vm._v(\" \"),\n _c(\"li\", { staticClass: \"ddown ddown__myaccount\" }, [\n _c(\"a\", { attrs: { href: _vm.urls.myAccount } }, [\n _c(\"i\", {\n staticClass: \"fa fa-user\",\n attrs: { \"aria-hidden\": \"true\" }\n }),\n _vm._v(\n \"\\n Mein Konto\\n \"\n )\n ])\n ])\n ]\n : _vm._e()\n ],\n 2\n ),\n _vm._v(\" \"),\n _c(\n \"ul\",\n {\n directives: [{ name: \"menu\", rawName: \"v-menu\" }],\n staticClass: \"mainmenu w-100 p-0 m-0\",\n attrs: { id: \"menu-2\" }\n },\n [\n _vm.dataContainer2.parent\n ? _c(\n \"li\",\n {\n staticClass: \"ddown\",\n on: {\n click: function($event) {\n return _vm.slideTo(\n (_vm.dataContainer2.parent &&\n _vm.dataContainer2.parent.parent) ||\n null,\n true\n )\n }\n }\n },\n [_vm._m(1)]\n )\n : _vm._e(),\n _vm._v(\" \"),\n _vm.dataContainer2.parent && _vm.dataContainer2.parent.details\n ? _c(\"li\", { staticClass: \"ddown all-from\" }, [\n _c(\n \"a\",\n {\n attrs: {\n href: _vm.getCategoryUrl(\n _vm.dataContainer2.parent.url\n )\n }\n },\n [\n _vm._v(\n \"\\n Alles aus \" +\n _vm._s(\n _vm.dataContainer2.parent.details[0].name\n ) +\n \"\\n \"\n )\n ]\n )\n ])\n : _vm._e(),\n _vm._v(\" \"),\n _vm._l(_vm.dataContainer2.categories, function(category) {\n return _c(\n \"li\",\n { staticClass: \"ddown\" },\n [\n category.childCount === 0\n ? [\n _c(\n \"a\",\n {\n class: {\n \"mobile-navigation__item--red\":\n _vm.getCategoryUrl(category.url) ===\n \"/sale/\"\n },\n attrs: {\n href: _vm.getCategoryUrl(category.url)\n }\n },\n [\n _vm._v(\n \"\\n \" +\n _vm._s(category.details[0].name) +\n \"\\n \"\n )\n ]\n )\n ]\n : [\n _c(\n \"span\",\n {\n on: {\n click: function($event) {\n return _vm.slideTo(category)\n }\n }\n },\n [\n _vm._v(\n \"\\n \" +\n _vm._s(category.details[0].name) +\n \"\\n \"\n )\n ]\n ),\n _vm._v(\" \"),\n _c(\n \"span\",\n {\n staticClass: \"nav-direction\",\n on: {\n click: function($event) {\n return _vm.slideTo(category)\n }\n }\n },\n [\n _c(\"i\", {\n staticClass: \"fa fa-lg fa-caret-right\",\n attrs: { \"aria-hidden\": \"true\" }\n })\n ]\n )\n ]\n ],\n 2\n )\n }),\n _vm._v(\" \"),\n _vm.dataContainer2.categories[0]\n ? _vm._l(\n _vm.dataContainer2.categories[0].siblingCount -\n _vm.dataContainer2.categories.length,\n function(number) {\n return _c(\"li\", { staticClass: \"ddown\" }, [\n _c(\"span\", {\n staticClass: \"nav-placeholder m-3\",\n style: { width: Math.random() * 20 + 60 + \"%\" }\n })\n ])\n }\n )\n : _vm.dataContainer2.parent\n ? _vm._l(_vm.dataContainer2.parent.childCount, function(\n number\n ) {\n return _c(\"li\", { staticClass: \"ddown\" }, [\n _c(\"span\", {\n staticClass: \"nav-placeholder m-3\",\n style: { width: Math.random() * 20 + 60 + \"%\" }\n })\n ])\n })\n : _vm._e()\n ],\n 2\n )\n ]\n ),\n _vm._v(\" \"),\n !_vm.isNavigationInitialized\n ? [\n _c(\"ul\", { staticClass: \"breadcrumb\" }, [\n _c(\"li\", {\n staticClass: \"btn-close\",\n on: {\n click: function($event) {\n return _vm.closeNavigation()\n }\n }\n }),\n _vm._v(\" \"),\n _vm._m(2)\n ]),\n _vm._v(\" \"),\n _c(\"loading-animation\")\n ]\n : _vm._e()\n ],\n 2\n ),\n _vm._v(\" \"),\n _c(\"div\", {\n staticClass: \"mobile-navigation__overlay\",\n on: {\n click: function($event) {\n return _vm.closeNavigation()\n }\n }\n })\n ])\n}\nvar staticRenderFns = [\n function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\n \"span\",\n { staticClass: \"nav-direction btn-up mobile-navigation__back\" },\n [\n _c(\"i\", {\n staticClass: \"fa fa-lg fa-level-up\",\n attrs: { \"aria-hidden\": \"true\" }\n }),\n _vm._v(\n \"\\n Zurück zur Übersicht\\n \"\n )\n ]\n )\n },\n function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\n \"span\",\n { staticClass: \"nav-direction btn-up mobile-navigation__back\" },\n [\n _c(\"i\", {\n staticClass: \"fa fa-lg fa-level-up\",\n attrs: { \"aria-hidden\": \"true\" }\n }),\n _vm._v(\" \"),\n _c(\"span\", [_vm._v(\"Zurück zur Übersicht\")])\n ]\n )\n },\n function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"li\", { staticClass: \"breadcrumb-item\" }, [\n _c(\"i\", { staticClass: \"fa fa-home\", attrs: { \"aria-hidden\": \"true\" } })\n ])\n }\n]\nrender._withStripped = true\n\nexport { render, staticRenderFns }","import { isNullOrUndefined } from \"./utils\";\n\n/**\n * Checks if array is set otherwise creates new array and pushes the entry\n *\n * @param {arry} array\n * @param {*} entry\n */\nexport function safePush(array, entry)\n{\n if (isNullOrUndefined(array))\n {\n array = [];\n }\n\n array.push(entry);\n\n return array;\n}\n\n/**\n * Check if the array is null/undefined or empty\n *\n * @param {array} array\n */\nexport function isEmpty(array)\n{\n return isNullOrUndefined(array) || array.length <= 0;\n}\n\n/**\n * Returns true if the array is filled\n * @param {array} array\n */\nexport function isFilled(array)\n{\n return !isEmpty(array);\n}\n","import { safePush } from \"./array\";\nimport { isDefined } from \"./utils\";\n\nlet _instance = null;\n\nexport class MediaQueryHelper\n{\n constructor()\n {\n if (!_instance)\n {\n _instance = this;\n this.initListener();\n }\n\n return _instance;\n }\n\n initListener()\n {\n this.functionList = {};\n const currentBreakpoint = this.getCurrentBreakpoint();\n\n this.oldBreakpoint = currentBreakpoint;\n\n window.addEventListener(\"resize\", () =>\n {\n const currentBreakpoint = this.getCurrentBreakpoint();\n\n // If breakpoint changed execute functions\n if (currentBreakpoint !== this.oldBreakpoint)\n {\n this.executeFunctions();\n this.oldBreakpoint = currentBreakpoint;\n }\n });\n }\n\n // Calculate the currently used Bootstrap Breakpoint\n getCurrentBreakpoint()\n {\n let currentBreakpoint;\n\n if (document.documentElement.clientWidth >= 1200)\n {\n currentBreakpoint = \"xl\";\n }\n else if (document.documentElement.clientWidth >= 992)\n {\n currentBreakpoint = \"lg\";\n }\n else if (document.documentElement.clientWidth >= 768)\n {\n currentBreakpoint = \"md\";\n }\n else if (document.documentElement.clientWidth >= 576)\n {\n currentBreakpoint = \"sm\";\n }\n else\n {\n currentBreakpoint = \"xs\";\n }\n\n return currentBreakpoint;\n }\n\n executeFunctions()\n {\n const currentBreakpoint = this.getCurrentBreakpoint();\n const functionsToRun = Array.prototype.concat(this.functionList[currentBreakpoint], this.functionList[\"all\"]);\n\n for (const functionToExecute of functionsToRun)\n {\n if (isDefined(functionToExecute))\n {\n functionToExecute();\n }\n }\n }\n\n addFunction(addedFunction, breakpoints = [\"all\"])\n {\n for (const breakpoint of breakpoints)\n {\n this.functionList[breakpoint] = safePush(this.functionList[breakpoint], addedFunction);\n }\n }\n}\n","//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\nimport { MediaQueryHelper } from \"ceres/app/helper/MediaQueryHelper\";\nimport { isNullOrUndefined, isDefined } from \"ceres/app/helper/utils\";\nimport { mapState } from \"vuex\";\n\nexport default {\n\n props: {\n template: {\n default: \"#vue-mobile-navigation\",\n type: String\n },\n initialCategory: Object,\n breakpoints: {\n type: Array,\n default: () => [\"xs\", \"sm\", \"md\"]\n },\n includeLanguage: Boolean\n },\n\n data()\n {\n return {\n dataContainer1: {\n parent: {},\n categories: []\n },\n dataContainer2: {\n parent: {},\n categories: []\n },\n useFirstContainer: false,\n isNavigationInitialized: false,\n selectedCategory: null,\n urls: App.urls,\n saleClass: 'text-danger'\n };\n },\n\n computed:\n {\n breadcrumbs()\n {\n const breadcrumbs = [];\n let container = this.useFirstContainer ? this.dataContainer2 : this.dataContainer1;\n\n while (container && container.parent && Object.keys(container.parent).length)\n {\n breadcrumbs.unshift(\n {\n name: container.parent.details[0].name,\n parent: container.parent || null\n });\n\n container = container.parent;\n }\n\n return breadcrumbs;\n },\n\n ...mapState({\n navigationTree: state => state.navigation.tree\n })\n },\n\n created()\n {\n this.$store.commit(\"setCurrentCategory\", this.initialCategory);\n },\n\n mounted()\n {\n this.addEventListener();\n },\n\n methods:\n {\n addEventListener()\n {\n const QueryHelper = new MediaQueryHelper();\n const breakpoint = QueryHelper.getCurrentBreakpoint();\n\n QueryHelper.addFunction(this.loadInitialTree, this.breakpoints);\n\n if (this.breakpoints.includes(breakpoint))\n {\n this.loadInitialTree();\n }\n },\n\n loadInitialTree()\n {\n if (this.navigationTree.length <= 0)\n {\n const categoryId = this.initialCategory && this.initialCategory.id ? this.initialCategory.id : null;\n\n this.$store.dispatch(\"loadPartialNavigationTree\", categoryId)\n .then(response =>\n {\n this.$store.commit(\"setNavigationTree\", response);\n this.initNavigation();\n });\n }\n },\n\n initNavigation()\n {\n if (this.initialCategory && this.initialCategory.id)\n {\n if (this.initialCategory.linklist === \"N\")\n {\n this.$store.commit(\"setCurrentCategory\", this.initialCategory);\n }\n else\n {\n this.$store.dispatch(\"setCurrentCategoryById\", { categoryId: parseInt(this.initialCategory.id) });\n this.initialSlide(this.$store.state.navigation.currentCategory);\n }\n }\n\n this.dataContainer1.parent = null;\n this.dataContainer1.categories = this.navigationTree;\n this.isNavigationInitialized = true;\n },\n\n initialSlide(currentCategory)\n {\n if (currentCategory)\n {\n if (currentCategory.children)\n {\n this.slideTo(currentCategory);\n }\n else if (currentCategory.parent)\n {\n this.slideTo(currentCategory.parent);\n }\n }\n },\n\n slideTo(category, back)\n {\n const children = isDefined(category) ? category.children : this.navigationTree;\n const categoryId = isDefined(category) ? category.id : null;\n\n this.loadPartialTree(categoryId);\n this.selectedCategory = category;\n\n if (this.useFirstContainer)\n {\n this.dataContainer1.parent = category;\n this.dataContainer1.categories = children || [];\n\n $(\"#menu-2\").trigger(\"menu-deactivated\", { back: !!back });\n $(\"#menu-1\").trigger(\"menu-activated\", { back: !!back });\n }\n else\n {\n this.dataContainer2.parent = category;\n this.dataContainer2.categories = children || [];\n\n $(\"#menu-1\").trigger(\"menu-deactivated\", { back: !!back });\n $(\"#menu-2\").trigger(\"menu-activated\", { back: !!back });\n }\n\n this.useFirstContainer = !this.useFirstContainer;\n },\n\n loadPartialTree(categoryId)\n {\n // eslint-disable-next-line eqeqeq\n if (this.selectedCategory != categoryId ||\n (isDefined(this.selectedCategory) && this.selectedCategory.id !== categoryId))\n {\n this.$store.dispatch(\"loadPartialNavigationTree\", categoryId)\n .then(response =>\n {\n if ((isNullOrUndefined(this.selectedCategory) && isNullOrUndefined(categoryId)) ||\n (isDefined(this.selectedCategory) && this.selectedCategory.id === categoryId))\n {\n this.$store.commit(\"setNavigationTree\", response);\n this.updateDataContainers(categoryId);\n }\n });\n }\n },\n\n updateDataContainers(categoryId)\n {\n const containers = [\"dataContainer1\", \"dataContainer2\"];\n const category = this.getCategoryById(categoryId, this.navigationTree);\n\n for (const container of containers)\n {\n if (category)\n {\n this[container].parent = category;\n this[container].categories = category.children;\n }\n else\n {\n // root level\n this[container].parent = null;\n this[container].categories = this.navigationTree;\n }\n }\n },\n\n getCategoryById(categoryId, tree)\n {\n for (const cat of tree)\n {\n if (categoryId === cat.id)\n {\n return cat;\n }\n else if (cat.children)\n {\n const foundCat = this.getCategoryById(categoryId, cat.children);\n\n if (foundCat)\n {\n return foundCat;\n }\n }\n }\n\n return null;\n },\n\n closeNavigation()\n {\n document.querySelector(\".mobile-navigation\").classList.remove(\"open\");\n document.querySelector(\"body\").classList.remove(\"menu-is-visible\");\n },\n\n getCategoryUrl(url)\n {\n const trailingSlash = url[0] === \"/\" ? \"\" : \"/\";\n const prefix = this.includeLanguage ? `/${App.language}${trailingSlash}` : \"\";\n\n return prefix + url;\n }\n },\n\n directives:\n {\n menu: {\n bind(el)\n {\n // add \"activated\" classes when menu is activated\n $(el).on(\"menu-activated\", (event, params) =>\n {\n $(event.target).addClass(\"menu-active\");\n $(event.target).addClass(params.back ? \"animate-in-from-left\" : \"animate-in-from-right\");\n });\n // add \"deactivated\" classes when menu is deactivated\n $(el).on(\"menu-deactivated\", (event, params) =>\n {\n $(event.target).removeClass(\"menu-active\");\n $(event.target).addClass(params.back ? \"animate-out-to-right\" : \"animate-out-to-left\");\n });\n // this removes the animation class automatically after the animation has completed\n $(el).on(\"animationend webkitAnimationEnd oAnimationEnd MSAnimationEnd\", () =>\n {\n $(\".mainmenu\").removeClass((index, className) =>\n {\n return (className.match(/(^|\\s)animate-\\S+/g) || []).join(\" \");\n });\n });\n }\n }\n }\n}\n","import mod from \"-!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MobileNavigation.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MobileNavigation.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./MobileNavigation.vue?vue&type=template&id=8786e754&\"\nimport script from \"./MobileNavigation.vue?vue&type=script&lang=js&\"\nexport * from \"./MobileNavigation.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\n/* hot reload */\nif (module.hot) {\n var api = require(\"/Users/fhartwig/Sites/pp-heySilvity/node_modules/vue-hot-reload-api/dist/index.js\")\n api.install(require('vue'))\n if (api.compatible) {\n module.hot.accept()\n if (!api.isRecorded('8786e754')) {\n api.createRecord('8786e754', component.options)\n } else {\n api.reload('8786e754', component.options)\n }\n module.hot.accept(\"./MobileNavigation.vue?vue&type=template&id=8786e754&\", function () {\n api.rerender('8786e754', {\n render: render,\n staticRenderFns: staticRenderFns\n })\n })\n }\n}\ncomponent.options.__file = \"resources/js/src/app/components/pageDesign/MobileNavigation.vue\"\nexport default component.exports"],"sourceRoot":""}