{"version":3,"sources":["webpack:///./node_modules/Ceres/resources/js/src/app/mixins/componentId.mixin.js","webpack:///./resources/js/src/app/components/pageDesign/CookieBar.vue?d98a","webpack:///resources/js/src/app/components/pageDesign/CookieBar.vue","webpack:///./resources/js/src/app/components/pageDesign/CookieBar.vue?afb8","webpack:///./resources/js/src/app/components/pageDesign/CookieBar.vue"],"names":["KEYS","document","debug_component_ids","ComponentIdMixin","created","this","$options","_componentTag","$vnode","tag","_cid","node","prevNode","isNullOrUndefined","hasSiblings","$children","occurenceIndex","getOwnOccurenceIndex","$parent","potentialSiblings","potentialSibling","filter","indexOf","render","_vm","_h","$createElement","_c","_self","directives","name","rawName","value","$ceres","isSSR","expression","staticClass","class","out","isVisible","isShopBuilder","isExpanded","classes","style","styles","domProps","innerHTML","_s","text","_v","_l","consentGroups","consentGroup","consents","length","key","attrs","type","id","disabled","necessary","checked","isConsented","on","change","$event","toggleConsent","for","label","$translate","_e","href","click","preventDefault","stopPropagation","acceptAll","close","showRejectAll","denyAll","storeConsents","isCollapsed","_withStripped","component","options","__file"],"mappings":"6tCAOA,IAAMA,EAAO,GAEW,oBAAbC,WAEPA,SAASC,oBAAsBF,GAG5B,IAAMG,EAAmB,CAC5BC,QAD4B,WAE5B,MAEI,GAAKC,KAAKC,SAASC,eAAiB,UAACF,KAAKG,cAAN,OAAC,EAAaC,IAAlD,CAKAJ,KAAKK,KAAO,GAMZ,IAJA,IAAIC,EAAON,KAEPO,EAAW,MAEPC,YAAkBF,IAC1B,CACI,IAAKE,YAAkBD,IAEfE,EAAYH,EAAKI,UAAWH,GAChC,CACI,IAAMI,EAAiBC,EAAqBN,EAAKI,UAAWH,GAE5DP,KAAKK,MAAQM,EAIrBX,KAAKK,MAAQ,IAETC,EAAKL,SAASC,gBAEdF,KAAKK,MAAQC,EAAKL,SAASC,eAG/BK,EAAWD,EACXA,EAAOA,EAAKO,QAGXlB,EAAKK,KAAKK,QAEXV,EAAKK,KAAKK,MAAQ,GAGtBV,EAAKK,K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ACF,qBACEzB,EAAIuB,GACFvB,EAAI6C,WACF,oCAGJ,wBAMZ7C,EAAI8C,KACR9C,EAAIyB,GAAG,KACPtB,EACE,MACA,CAAES,YAAa,gCACf,CACET,EACE,SACA,CACES,YAAa,+BACboB,MAAO,CACL,eACE,kCAEJO,GAAI,CACFS,MAAO,SAASP,GACdzC,EAAImD,YACJnD,EAAIoD,WAIV,CACEpD,EAAIyB,GACF,qBACEzB,EAAIuB,GACFvB,EAAI6C,WACF,uCAGJ,8BAUpB7C,EAAI8C,OAEV3C,EAAG,MAAO,CACRA,EACE,SACA,CACES,YAAa,iCACboB,MAAO,CACL,aAAchC,EAAI6C,WAChB,6CAGJN,GAAI,CACFS,MAAO,SAASP,GACdA,EAAOQ,iBACPR,EAAOS,kBACPlD,EAAIwD,aAAc,KAIxB,CACErD,EAAG,IAAK,CAAES,YAAa,4BACvBZ,EAAIyB,GAAG,KACPtB,EAAG,OAAQ,CAAES,YAAa,4BAA8B,CACtDZ,EAAIyB,GACFzB,EAAIuB,GACFvB,EAAI6C,WAAW,uDAWrC9C,EAAO0D,eAAgB,E,8uBCtSvB,IC9HiN,ED8HjN,CACA,MACA,CACI,OAAJ,OACI,QAAJ,OACI,cAAJ,OACI,cAAJ,CACM,KAAN,QACM,SAAN,IAIE,OAAF,MAEA,KAdA,WAgBA,OACA,eACA,gBAIA,SACA,CAEA,UAFA,WAIA,sFAGA,cAPA,WASA,0BAGA,KAZA,WAcA,OACA,gIACA,uLACA,wKACA,yJAGA,gEAIA,eAEA,aACA,gBACA,YACA,aALA,IAQA,MARA,WAUA,oBACA,oBAGA,KAdA,WAgBA,qBAGA,YAnBA,SAmBA,GAEA,gDAGA,cAxBA,SAwBA,GAEA,+C,OEjMIC,EAAY,YACd,EACA3D,EH0ZoB,IGxZpB,EACA,KACA,KACA,MAuBF2D,EAAUC,QAAQC,OAAS,2DACZ,UAAAF,E","file":"chunks/ceres-14.min.js","sourcesContent":["/**\n * Mixing for generating unique keys, that can be similarly created on server and clientside.\n * Collisions are possible in theory, be advised that this is an experimental mixin and may be removed in the future.\n */\n\nimport { isNullOrUndefined } from \"../helper/utils\";\n\nconst KEYS = {};\n\nif (typeof document !== \"undefined\")\n{\n    document.debug_component_ids = KEYS;\n}\n\nexport const ComponentIdMixin = {\n    created()\n    {\n        // Root elements, early exit\n        if (!this.$options._componentTag && !this.$vnode?.tag)\n        {\n            return;\n        }\n\n        this._cid = \"\";\n\n        let node = this;\n\n        let prevNode = null;\n\n        while (!isNullOrUndefined(node))\n        {\n            if (!isNullOrUndefined(prevNode))\n            {\n                if (hasSiblings(node.$children, prevNode))\n                {\n                    const occurenceIndex = getOwnOccurenceIndex(node.$children, prevNode);\n\n                    this._cid += occurenceIndex;\n                }\n            }\n\n            this._cid += \"_\";\n\n            if (node.$options._componentTag)\n            {\n                this._cid += node.$options._componentTag;\n            }\n\n            prevNode = node;\n            node = node.$parent;\n        }\n\n        if (!KEYS[this._cid])\n        {\n            KEYS[this._cid] = 0;\n        }\n\n        KEYS[this._cid]++;\n    }\n};\n\nfunction hasSiblings(potentialSiblings, node)\n{\n    for (const potentialSibling of potentialSiblings)\n    {\n        if (potentialSibling.$options._componentTag === node.$options._componentTag && potentialSibling !== node)\n        {\n            return true;\n        }\n    }\n\n    return false;\n}\n\nfunction getOwnOccurenceIndex(potentialSiblings, node)\n{\n    const siblings = potentialSiblings.filter(potentialSibling => potentialSibling.$options._componentTag === node.$options._componentTag);\n\n    return siblings.indexOf(node);\n}\n","var render = function() {\n  var _vm = this\n  var _h = _vm.$createElement\n  var _c = _vm._self._c || _h\n  return _c(\n    \"div\",\n    {\n      directives: [\n        {\n          name: \"show\",\n          rawName: \"v-show\",\n          value: !_vm.$ceres.isSSR,\n          expression: \"!$ceres.isSSR\"\n        }\n      ],\n      staticClass: \"cookie-bar\",\n      class: {\n        out: !_vm.isVisible,\n        \"border-top bg-white\": _vm.isVisible,\n        \"fixed-bottom\": !_vm.isShopBuilder || false\n      }\n    },\n    [\n      _vm.isVisible\n        ? _c(\"div\", { staticClass: \"container-max\" }, [\n            _c(\n              \"div\",\n              {\n                directives: [\n                  {\n                    name: \"show\",\n                    rawName: \"v-show\",\n                    value: !_vm.isExpanded,\n                    expression: \"!isExpanded\"\n                  }\n                ],\n                staticClass: \"row py-3\",\n                class: _vm.classes,\n                style: _vm.styles\n              },\n              [\n                _c(\"div\", { staticClass: \"col-12 col-md-8\" }, [\n                  _c(\"p\", { domProps: { innerHTML: _vm._s(_vm.text) } }),\n                  _vm._v(\" \"),\n                  _c(\n                    \"div\",\n                    [\n                      _vm._l(_vm.consentGroups, function(consentGroup) {\n                        return [\n                          consentGroup.consents.length > 0\n                            ? _c(\n                                \"span\",\n                                {\n                                  key: consentGroup.key,\n                                  staticClass:\n                                    \"custom-control custom-switch custom-control-appearance d-md-inline-block mr-3\"\n                                },\n                                [\n                                  _c(\"input\", {\n                                    staticClass: \"custom-control-input\",\n                                    attrs: {\n                                      type: \"checkbox\",\n                                      id:\n                                        _vm._cid + \"-group-\" + consentGroup.key,\n                                      disabled: consentGroup.necessary\n                                    },\n                                    domProps: {\n                                      checked:\n                                        _vm.isConsented(consentGroup.key) ||\n                                        consentGroup.necessary\n                                    },\n                                    on: {\n                                      change: function($event) {\n                                        return _vm.toggleConsent(\n                                          consentGroup.key\n                                        )\n                                      }\n                                    }\n                                  }),\n                                  _vm._v(\" \"),\n                                  _c(\n                                    \"label\",\n                                    {\n                                      staticClass: \"custom-control-label\",\n                                      attrs: {\n                                        for:\n                                          _vm._cid +\n                                          \"-group-\" +\n                                          consentGroup.key\n                                      }\n                                    },\n                                    [\n                                      consentGroup.label.length > 0\n                                        ? [\n                                            _vm._v(\n                                              \"\\n                                        \" +\n                                                _vm._s(consentGroup.label) +\n                                                \"\\n                                    \"\n                                            )\n                                          ]\n                                        : [\n                                            _vm._v(\n                                              \"\\n                                        \" +\n                                                _vm._s(\n                                                  _vm.$translate(\n                                                    \"Ceres::Template.privacySettingsDefaultGroup\"\n                                                  )\n                                                ) +\n                                                \"\\n                                    \"\n                                            )\n                                          ]\n                                    ],\n                                    2\n                                  )\n                                ]\n                              )\n                            : _vm._e()\n                        ]\n                      }),\n                      _vm._v(\" \"),\n                      _c(\n                        \"a\",\n                        {\n                          staticClass:\n                            \"text-primary text-appearance d-block d-md-inline-block\",\n                          attrs: {\n                            href: \"#\",\n                            \"data-testing\": \"cookie-bar-show-more-information\"\n                          },\n                          on: {\n                            click: function($event) {\n                              $event.preventDefault()\n                              $event.stopPropagation()\n                              _vm.isExpanded = true\n                            }\n                          }\n                        },\n                        [\n                          _vm._v(\n                            _vm._s(\n                              _vm.$translate(\n                                \"Ceres::Template.cookieBarMoreSettings\"\n                              )\n                            )\n                          )\n                        ]\n                      )\n                    ],\n                    2\n                  )\n                ]),\n                _vm._v(\" \"),\n                _c(\"div\", { staticClass: \"col-12 col-md-4 pt-3 pt-md-0\" }, [\n                  _c(\n                    \"button\",\n                    {\n                      staticClass: \"btn btn-block btn-appearance\",\n                      attrs: { \"data-testing\": \"cookie-bar-accept-all\" },\n                      on: {\n                        click: function($event) {\n                          _vm.acceptAll()\n                          _vm.close()\n                        }\n                      }\n                    },\n                    [\n                      _vm._v(\n                        \"\\n\\t\\t\\t\\t\\t\\t\" +\n                          _vm._s(\n                            _vm.$translate(\"Ceres::Template.cookieBarAcceptAll\")\n                          ) +\n                          \"\\n\\t\\t\\t\\t\\t\"\n                      )\n                    ]\n                  ),\n                  _vm._v(\" \"),\n                  _vm.showRejectAll\n                    ? _c(\n                        \"button\",\n                        {\n                          staticClass: \"btn btn-block btn-appearance\",\n                          attrs: { \"data-testing\": \"cookie-bar-deny-all\" },\n                          on: {\n                            click: function($event) {\n                              _vm.denyAll()\n                              _vm.close()\n                            }\n                          }\n                        },\n                        [\n                          _vm._v(\n                            \"\\n\\t\\t\\t\\t\\t\\t\" +\n                              _vm._s(\n                                _vm.$translate(\n                                  \"Gejo::Template.cookieBarDenyAll\"\n                                )\n                              ) +\n                              \"\\n\\t\\t\\t\\t\\t\"\n                          )\n                        ]\n                      )\n                    : _vm._e(),\n                  _vm._v(\" \"),\n                  _c(\n                    \"button\",\n                    {\n                      staticClass: \"btn btn-block btn-appearance\",\n                      attrs: { \"data-testing\": \"cookie-bar-save\" },\n                      on: {\n                        click: function($event) {\n                          _vm.storeConsents()\n                          _vm.close()\n                        }\n                      }\n                    },\n                    [\n                      _vm._v(\n                        \"\\n\\t\\t\\t\\t\\t\\t\" +\n                          _vm._s(\n                            _vm.$translate(\"Ceres::Template.cookieBarSave\")\n                          ) +\n                          \"\\n\\t\\t\\t\\t\\t\"\n                      )\n                    ]\n                  )\n                ])\n              ]\n            ),\n            _vm._v(\" \"),\n            _vm.isExpanded\n              ? _c(\n                  \"div\",\n                  {\n                    staticClass: \"row py-3\",\n                    class: _vm.classes,\n                    style: _vm.styles\n                  },\n                  [\n                    _c(\n                      \"div\",\n                      { staticClass: \"col-12 mb-3\" },\n                      [\n                        _c(\"privacy-settings\", {\n                          attrs: { \"consent-groups\": _vm.consentGroups }\n                        })\n                      ],\n                      1\n                    ),\n                    _vm._v(\" \"),\n                    _c(\"div\", { staticClass: \"col-12 col-md-3\" }, [\n                      _c(\n                        \"a\",\n                        {\n                          staticClass:\n                            \"text-primary text-appearance d-inline-block mb-3\",\n                          attrs: {\n                            href: \"#\",\n                            \"data-testing\": \"cookie-bar-hide-more-information\"\n                          },\n                          on: {\n                            click: function($event) {\n                              $event.preventDefault()\n                              $event.stopPropagation()\n                              _vm.isExpanded = false\n                            }\n                          }\n                        },\n                        [\n                          _vm._v(\n                            \"\\n\\t\\t\\t\\t\\t\\t\" +\n                              _vm._s(\n                                _vm.$translate(\"Ceres::Template.cookieBarBack\")\n                              ) +\n                              \"\\n\\t\\t\\t\\t\\t\"\n                          )\n                        ]\n                      )\n                    ]),\n                    _vm._v(\" \"),\n                    _c(\"div\", { staticClass: \"col-12 col-md-9\" }, [\n                      _c(\"div\", { staticClass: \"row\" }, [\n                        _c(\"div\", { staticClass: \"col-12 col-md-4\" }, [\n                          _c(\n                            \"button\",\n                            {\n                              staticClass: \"btn btn-block btn-appearance\",\n                              attrs: {\n                                \"data-testing\": \"cookie-bar-expanded-save\"\n                              },\n                              on: {\n                                click: function($event) {\n                                  _vm.storeConsents()\n                                  _vm.close()\n                                }\n                              }\n                            },\n                            [\n                              _vm._v(\n                                \"\\n\\t\\t\\t\\t\\t\\t\\t\\t\" +\n                                  _vm._s(\n                                    _vm.$translate(\n                                      \"Ceres::Template.cookieBarSave\"\n                                    )\n                                  ) +\n                                  \"\\n\\t\\t\\t\\t\\t\\t\\t\"\n                              )\n                            ]\n                          )\n                        ]),\n                        _vm._v(\" \"),\n                        _vm.showRejectAll\n                          ? _c(\n                              \"div\",\n                              { staticClass: \"col-12 col-md-4 mt-2 mt-md-0\" },\n                              [\n                                _c(\n                                  \"button\",\n                                  {\n                                    staticClass: \"btn btn-block btn-appearance\",\n                                    attrs: {\n                                      \"data-testing\":\n                                        \"cookie-bar-expanded-deny-all\"\n                                    },\n                                    on: {\n                                      click: function($event) {\n                                        _vm.denyAll()\n                                        _vm.close()\n                                      }\n                                    }\n                                  },\n                                  [\n                                    _vm._v(\n                                      \"\\n\\t\\t\\t\\t\\t\\t\\t\\t\" +\n                                        _vm._s(\n                                          _vm.$translate(\n                                            \"Gejo::Template.cookieBarDenyAll\"\n                                          )\n                                        ) +\n                                        \"\\n\\t\\t\\t\\t\\t\\t\\t\"\n                                    )\n                                  ]\n                                )\n                              ]\n                            )\n                          : _vm._e(),\n                        _vm._v(\" \"),\n                        _c(\n                          \"div\",\n                          { staticClass: \"col-12 col-md-4 mt-2 mt-md-0\" },\n                          [\n                            _c(\n                              \"button\",\n                              {\n                                staticClass: \"btn btn-block btn-appearance\",\n                                attrs: {\n                                  \"data-testing\":\n                                    \"cookie-bar-expanded-accept-all\"\n                                },\n                                on: {\n                                  click: function($event) {\n                                    _vm.acceptAll()\n                                    _vm.close()\n                                  }\n                                }\n                              },\n                              [\n                                _vm._v(\n                                  \"\\n\\t\\t\\t\\t\\t\\t\\t\\t\" +\n                                    _vm._s(\n                                      _vm.$translate(\n                                        \"Ceres::Template.cookieBarAcceptAll\"\n                                      )\n                                    ) +\n                                    \"\\n\\t\\t\\t\\t\\t\\t\\t\"\n                                )\n                              ]\n                            )\n                          ]\n                        )\n                      ])\n                    ])\n                  ]\n                )\n              : _vm._e()\n          ])\n        : _c(\"div\", [\n            _c(\n              \"button\",\n              {\n                staticClass: \"btn btn-primary btn-appearance\",\n                attrs: {\n                  \"aria-label\": _vm.$translate(\n                    \"Ceres::Template.cookieBarPrivacySettings\"\n                  )\n                },\n                on: {\n                  click: function($event) {\n                    $event.preventDefault()\n                    $event.stopPropagation()\n                    _vm.isCollapsed = false\n                  }\n                }\n              },\n              [\n                _c(\"i\", { staticClass: \"fa fa-shield float-none\" }),\n                _vm._v(\" \"),\n                _c(\"span\", { staticClass: \"d-none d-sm-inline-block\" }, [\n                  _vm._v(\n                    _vm._s(\n                      _vm.$translate(\"Ceres::Template.cookieBarPrivacySettings\")\n                    )\n                  )\n                ])\n              ]\n            )\n          ])\n    ]\n  )\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns }","<template>\n\t<!-- v-show is required to prevent CLS for ssr -->\n\t<div\n\t\tv-show=\"!$ceres.isSSR\"\n\t\tclass=\"cookie-bar\"\n\t\t:class=\"{\n            'out': !isVisible,\n            'border-top bg-white': isVisible,\n            'fixed-bottom': !isShopBuilder || false\n        }\"\n\t>\n\t\t<div class=\"container-max\" v-if=\"isVisible\">\n\t\t\t<div class=\"row py-3\" v-show=\"!isExpanded\" :class=\"classes\" :style=\"styles\">\n\t\t\t\t<div class=\"col-12 col-md-8\">\n\n\t\t\t\t\t<p v-html=\"text\"></p>\n\n\t\t\t\t\t<div>\n\t\t\t\t\t\t<template v-for=\"consentGroup in consentGroups\">\n                            <span v-if=\"consentGroup.consents.length > 0\"\n\t\t\t\t\t\t\t\t  class=\"custom-control custom-switch custom-control-appearance d-md-inline-block mr-3\"\n\t\t\t\t\t\t\t\t  :key=\"consentGroup.key\">\n                                <input type=\"checkbox\"\n\t\t\t\t\t\t\t\t\t   class=\"custom-control-input\"\n\t\t\t\t\t\t\t\t\t   :id=\"_cid + '-group-' + consentGroup.key\"\n\t\t\t\t\t\t\t\t\t   :disabled=\"consentGroup.necessary\"\n\t\t\t\t\t\t\t\t\t   :checked=\"isConsented(consentGroup.key) || consentGroup.necessary\"\n\t\t\t\t\t\t\t\t\t   @change=\"toggleConsent(consentGroup.key)\">\n                                <label class=\"custom-control-label\" :for=\"_cid + '-group-' + consentGroup.key\">\n                                    <template v-if=\"consentGroup.label.length > 0\">\n                                        {{ consentGroup.label }}\n                                    </template>\n                                    <template v-else>\n                                        {{ $translate(\"Ceres::Template.privacySettingsDefaultGroup\") }}\n                                    </template>\n                                </label>\n                            </span>\n\t\t\t\t\t\t</template>\n\n\t\t\t\t\t\t<a href=\"#\" class=\"text-primary text-appearance d-block d-md-inline-block\" data-testing=\"cookie-bar-show-more-information\" @click.prevent.stop=\"isExpanded=true\">{{ $translate(\"Ceres::Template.cookieBarMoreSettings\") }}</a>\n\t\t\t\t\t</div>\n\n\t\t\t\t</div>\n\t\t\t\t<div class=\"col-12 col-md-4 pt-3 pt-md-0\">\n\t\t\t\t\t<button\n\t\t\t\t\t\tclass=\"btn btn-block btn-appearance\"\n\t\t\t\t\t\t@click=\"acceptAll(); close()\"\n\t\t\t\t\t\tdata-testing=\"cookie-bar-accept-all\">\n\t\t\t\t\t\t{{ $translate(\"Ceres::Template.cookieBarAcceptAll\") }}\n\t\t\t\t\t</button>\n\n\t\t\t\t\t<button\n                        v-if=\"showRejectAll\"\n\t\t\t\t\t\tclass=\"btn btn-block btn-appearance\"\n\t\t\t\t\t\t@click=\"denyAll(); close()\"\n\t\t\t\t\t\tdata-testing=\"cookie-bar-deny-all\">\n\t\t\t\t\t\t{{ $translate(\"Gejo::Template.cookieBarDenyAll\") }}\n\t\t\t\t\t</button>\n\n\t\t\t\t\t<button\n\t\t\t\t\t\tclass=\"btn btn-block btn-appearance\"\n\t\t\t\t\t\t@click=\"storeConsents(); close()\"\n\t\t\t\t\t\tdata-testing=\"cookie-bar-save\">\n\t\t\t\t\t\t{{ $translate(\"Ceres::Template.cookieBarSave\") }}\n\t\t\t\t\t</button>\n\n\t\t\t\t</div>\n\n\t\t\t</div>\n\t\t\t<div class=\"row py-3\" v-if=\"isExpanded\" :class=\"classes\" :style=\"styles\">\n\t\t\t\t<div class=\"col-12 mb-3\">\n\t\t\t\t\t<privacy-settings :consent-groups=\"consentGroups\"></privacy-settings>\n\t\t\t\t</div>\n\t\t\t\t<div class=\"col-12 col-md-3\">\n\t\t\t\t\t<a\n\t\t\t\t\t\thref=\"#\"\n\t\t\t\t\t\tclass=\"text-primary text-appearance d-inline-block mb-3\"\n\t\t\t\t\t\tdata-testing=\"cookie-bar-hide-more-information\"\n\t\t\t\t\t\t@click.prevent.stop=\"isExpanded = false\">\n\t\t\t\t\t\t{{ $translate(\"Ceres::Template.cookieBarBack\") }}\n\t\t\t\t\t</a>\n\t\t\t\t</div>\n\t\t\t\t<div class=\"col-12 col-md-9\">\n\t\t\t\t\t<div class=\"row\">\n\t\t\t\t\t\t<div class=\"col-12 col-md-4\">\n\t\t\t\t\t\t\t<button\n\t\t\t\t\t\t\t\tclass=\"btn btn-block btn-appearance\"\n\t\t\t\t\t\t\t\t@click=\"storeConsents(); close()\"\n\t\t\t\t\t\t\t\tdata-testing=\"cookie-bar-expanded-save\">\n\t\t\t\t\t\t\t\t{{ $translate(\"Ceres::Template.cookieBarSave\") }}\n\t\t\t\t\t\t\t</button>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t<div v-if=\"showRejectAll\" class=\"col-12 col-md-4 mt-2 mt-md-0\">\n\t\t\t\t\t\t\t<button\n\t\t\t\t\t\t\t\tclass=\"btn btn-block btn-appearance\"\n\t\t\t\t\t\t\t\t@click=\"denyAll(); close()\"\n\t\t\t\t\t\t\t\tdata-testing=\"cookie-bar-expanded-deny-all\">\n\t\t\t\t\t\t\t\t{{ $translate(\"Gejo::Template.cookieBarDenyAll\") }}\n\t\t\t\t\t\t\t</button>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t<div class=\"col-12 col-md-4 mt-2 mt-md-0\">\n\t\t\t\t\t\t\t<button\n\t\t\t\t\t\t\t\tclass=\"btn btn-block btn-appearance\"\n\t\t\t\t\t\t\t\t@click=\"acceptAll(); close()\"\n\t\t\t\t\t\t\t\tdata-testing=\"cookie-bar-expanded-accept-all\">\n\t\t\t\t\t\t\t\t{{ $translate(\"Ceres::Template.cookieBarAcceptAll\") }}\n\t\t\t\t\t\t\t</button>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>\n\n\t\t<div v-else>\n\t\t\t<button class=\"btn btn-primary btn-appearance\" @click.prevent.stop=\"isCollapsed = false\" :aria-label=\"$translate('Ceres::Template.cookieBarPrivacySettings')\">\n\t\t\t\t<i class=\"fa fa-shield float-none\"></i>\n\t\t\t\t<span class=\"d-none d-sm-inline-block\">{{ $translate(\"Ceres::Template.cookieBarPrivacySettings\") }}</span>\n\t\t\t</button>\n\t\t</div>\n\t</div>\n</template>\n\n<script>\nimport { mapMutations } from \"vuex\";\nimport { ComponentIdMixin } from \"ceres/app/mixins/componentId.mixin\";\n\nexport default {\n\tprops:\n    {\n        styles: String,\n        classes: String,\n        consentGroups: Object,\n        showRejectAll: {\n            type: Boolean,\n            default: true\n        },\n    },\n\n    mixins: [ComponentIdMixin], // Experimental mixin, may be removed in the future.\n\n\tdata()\n\t{\n\t\treturn {\n\t\t\tisCollapsed: true,\n\t\t\tisExpanded: false\n\t\t};\n\t},\n\n\tcomputed:\n\t\t{\n\n\t\t\tisVisible()\n\t\t\t{\n\t\t\t\treturn App.isShopBuilder || !this.$store.state.consents.hasResponse || !this.isCollapsed;\n\t\t\t},\n\n\t\t\tisShopBuilder()\n\t\t\t{\n\t\t\t\treturn App.isShopBuilder;\n\t\t\t},\n\n\t\t\ttext()\n\t\t\t{\n\t\t\t\tconst links = {\n\t\t\t\t\tgtc: \"<a class=\\\"text-appearance\\\" href=\\\"\" + App.urls.gtc + \"\\\" target=\\\"_blank\\\">\" + this.$translate(\"Ceres::Template.checkoutGtc\") + \"</a>\",\n\t\t\t\t\tcancellation: \"<a class=\\\"text-appearance\\\" href=\\\"\" + App.urls.cancellationRights + \"\\\" target=\\\"_blank\\\">\" + this.$translate(\"Ceres::Template.checkoutCancellationRight\", {\"hyphen\": \"&shy;\"}) + \"</a>\",\n\t\t\t\t\tpolicy: \"<a class=\\\"text-appearance\\\" href=\\\"\" + App.urls.privacyPolicy + \"\\\" target=\\\"_blank\\\">\" + this.$translate(\"Ceres::Template.checkoutPrivacyPolicy\", {\"hyphen\": \"&shy;\"}) + \"</a>\",\n\t\t\t\t\tlegal: \"<a class=\\\"text-appearance\\\" href=\\\"\" + App.urls.legalDisclosure + \"\\\" target=\\\"_blank\\\">\" + this.$translate('Ceres::Template.footerLegalDisclosure') + \"</a>\"\n\t\t\t\t};\n\n\t\t\t\treturn this.$translate(\"Ceres::Template.cookieBarHintText\", links);\n\t\t\t}\n\t\t},\n\n\tmethods:\n\t\t{\n\t\t\t...mapMutations([\n\t\t\t\t\"storeConsents\",\n\t\t\t\t\"acceptAll\",\n                \"denyAll\"\n\t\t\t]),\n\n\t\t\tclose()\n\t\t\t{\n\t\t\t\tthis.isCollapsed = true;\n\t\t\t\tthis.isExpanded = false;\n\t\t\t},\n\n\t\t\topen()\n\t\t\t{\n\t\t\t\tthis.isCollapsed = false;\n\t\t\t},\n\n\t\t\tisConsented(groupKey)\n\t\t\t{\n\t\t\t\treturn this.$store.getters.isConsented(groupKey + \".*\");\n\t\t\t},\n\n\t\t\ttoggleConsent(groupKey)\n\t\t\t{\n\t\t\t\tthis.$store.commit(\"toggleConsent\", groupKey + \".*\");\n\t\t\t}\n\t\t}\n}\n</script>\n","import mod from \"-!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CookieBar.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!./CookieBar.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./CookieBar.vue?vue&type=template&id=cb92f282&\"\nimport script from \"./CookieBar.vue?vue&type=script&lang=js&\"\nexport * from \"./CookieBar.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-gejo/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('cb92f282')) {\n      api.createRecord('cb92f282', component.options)\n    } else {\n      api.reload('cb92f282', component.options)\n    }\n    module.hot.accept(\"./CookieBar.vue?vue&type=template&id=cb92f282&\", function () {\n      api.rerender('cb92f282', {\n        render: render,\n        staticRenderFns: staticRenderFns\n      })\n    })\n  }\n}\ncomponent.options.__file = \"resources/js/src/app/components/pageDesign/CookieBar.vue\"\nexport default component.exports"],"sourceRoot":""}