{"version":3,"sources":["webpack://cyt-item-availability-notification/webpack/runtime/compat","webpack://cyt-item-availability-notification/./resources/js/src/components/itemAvailabilityNotification.component.vue?6b89","webpack://cyt-item-availability-notification/./resources/js/src/components/itemAvailabilityNotification.component.vue","webpack://cyt-item-availability-notification/./node_modules/vue-loader/lib/runtime/componentNormalizer.js","webpack://cyt-item-availability-notification/resources/js/src/components/itemAvailabilityNotification.component.vue","webpack://cyt-item-availability-notification/./resources/js/src/app.js"],"names":["jsonpScriptSrc","original_jsonpScriptSrc","__loadPluginChunk","Error","newSrc","apply","this","arguments","e","console","error","render","_vm","_h","$createElement","_c","_self","componentLoading","_e","directives","name","rawName","value","isVisible","expression","staticClass","on","submit","$event","preventDefault","_t","_v","attrs","for","_uid","_s","$translate","mailValue","type","autocomplete","id","disabled","isLoading","domProps","input","target","composing","hasPrivacyHint","requirePrivacyCheck","privacyAccepted","checked","Array","isArray","_i","change","$$a","$$el","$$c","$$i","concat","slice","submitDisabled","_withStripped","component","scriptExports","staticRenderFns","functionalTemplate","injectStyles","scopeId","moduleIdentifier","shadowMode","hook","options","_compiled","functional","_injectStyles","originalRender","h","context","call","existing","beforeCreate","exports","data","inject","itemId","default","props","mail","String","required","visibility","comparison","Boolean","$store","watch","$nextTick","computed","methods","__file","Vue","ItemAvailabilityNotification"],"mappings":"yBAIA,GAA8B,mBAAnBA,eAA+B,CACxC,IAAIC,EAA0BD,eAkB9BA,eAjBA,WACE,IACE,GAAiC,mBAAtBE,kBACT,MAAM,IAAIC,MAAM,8JAElB,IAAIC,EAASF,kBAAkBD,EAAwBI,MAAMC,KAAMC,YACnE,IAAKH,GAA4B,iBAAXA,EACpB,MAAM,IAAID,MAAM,uIAElB,OAAOC,EACP,MAAOI,GAIP,OAFEC,QAAQC,MAAMF,GAETP,EAAwBI,MAAMC,KAAMC,aCpBjD,IAAII,EAAS,WACX,IAAIC,EAAMN,KACNO,EAAKD,EAAIE,eACTC,EAAKH,EAAII,MAAMD,IAAMF,EACzB,OA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AR,EAGM,MAAN,oDACA,2CACM,OAAN,oBACQ,IAAR,MACU,OAAV,KACQ,IAAR,KACU,OAAV,IACQ,IAAR,MACU,OAAV,KACQ,IAAR,KACU,OAAV,IACQ,IAAR,KACQ,QACE,OAAV,SAKEC,QACF,CACI,UAEE,OADN,qKACA,sBAGI,4BAAJ,GACM,MAAN,sBACA,kBAEA,YAII,mBAAJ,GACM,OAAN,sDAGI,SACJ,sBAIA,iDACQ,KAAR,aACQ,EAAR,KACA,8BACA,CACU,OAAV,OACU,SAAV,OACU,KAAV,CACY,YAAZ,4BACY,UAAZ,aACY,KAAZ,UACY,MAAZ,WACY,KAAZ,eACY,gBAAZ,mBACY,eAAZ,mBACY,gBAAZ,4CAGA,UACU,KAAV,aACU,OAAV,oDACA,qFAGA,UACU,KAAV,aACU,OAAV,kDACA,iFAEU,QAAV,aAGQ,OAAR,kDACA,8EFrOEvF,GA4BFoD,EAAUS,QAAQ2B,OAAS,yEAC3B,MAAepC,E,QGlCXqC,IAAIrC,UAAU,qCAAsCsC,G","file":"client.min.js","sourcesContent":["\n// WebpackRequireFrom - monkey-patching\n\n\nif (typeof jsonpScriptSrc === 'function') {\n var original_jsonpScriptSrc = jsonpScriptSrc;\n function patchJsonpScriptSrc () {\n try {\n if (typeof __loadPluginChunk !== \"function\") {\n throw new Error(\"WebpackRequireFrom: '__loadPluginChunk' is not a function or not available at runtime. See https://github.com/agoldis/webpack-require-from#troubleshooting\");\n }\n var newSrc = __loadPluginChunk(original_jsonpScriptSrc.apply(this, arguments));\n if (!newSrc || typeof newSrc !== 'string') {\n throw new Error(\"WebpackRequireFrom: '__loadPluginChunk' does not return string. See https://github.com/agoldis/webpack-require-from#troubleshooting\");\n }\n return newSrc;\n } catch (e) {\n if (!false) {\n console.error(e);\n }\n return original_jsonpScriptSrc.apply(this, arguments);\n }\n }\n jsonpScriptSrc = patchJsonpScriptSrc\n}","var render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return !_vm.componentLoading\n ? _c(\"div\", [\n _c(\n \"form\",\n {\n directives: [\n {\n name: \"show\",\n rawName: \"v-show\",\n value: _vm.isVisible,\n expression: \"isVisible\"\n }\n ],\n staticClass: \"cyt-availability-notification\",\n on: {\n submit: function($event) {\n $event.preventDefault()\n return _vm.submit($event)\n }\n }\n },\n [\n _vm._t(\"before\"),\n _vm._v(\" \"),\n _c(\n \"div\",\n {\n staticClass: \"input input-unit\",\n attrs: { \"data-validate\": \"mail\" }\n },\n [\n _c(\"label\", { attrs: { for: \"mail_\" + _vm._uid } }, [\n _vm._v(\n _vm._s(\n _vm.$translate(\n \"cytItemAvailabilityNotification::Template.mailInputLabel\"\n )\n )\n )\n ]),\n _vm._v(\" \"),\n _c(\"input\", {\n directives: [\n {\n name: \"model\",\n rawName: \"v-model\",\n value: _vm.mailValue,\n expression: \"mailValue\"\n }\n ],\n attrs: {\n type: \"email\",\n autocomplete: \"email\",\n id: \"mail_\" + _vm._uid,\n disabled: _vm.isLoading\n },\n domProps: { value: _vm.mailValue },\n on: {\n input: function($event) {\n if ($event.target.composing) {\n return\n }\n _vm.mailValue = $event.target.value\n }\n }\n })\n ]\n ),\n _vm._v(\" \"),\n _c(\n \"div\",\n {\n directives: [\n {\n name: \"show\",\n rawName: \"v-show\",\n value: _vm.hasPrivacyHint && _vm.requirePrivacyCheck,\n expression: \"hasPrivacyHint && requirePrivacyCheck\"\n }\n ],\n staticClass: \"form-check small mb-3\"\n },\n [\n _c(\"input\", {\n directives: [\n {\n name: \"show\",\n rawName: \"v-show\",\n value: _vm.requirePrivacyCheck,\n expression: \"requirePrivacyCheck\"\n },\n {\n name: \"model\",\n rawName: \"v-model\",\n value: _vm.privacyAccepted,\n expression: \"privacyAccepted\"\n }\n ],\n staticClass: \"form-check-input\",\n attrs: {\n type: \"checkbox\",\n id: \"cyt_privacy_check_\" + _vm._uid\n },\n domProps: {\n checked: Array.isArray(_vm.privacyAccepted)\n ? _vm._i(_vm.privacyAccepted, null) > -1\n : _vm.privacyAccepted\n },\n on: {\n change: function($event) {\n var $$a = _vm.privacyAccepted,\n $$el = $event.target,\n $$c = $$el.checked ? true : false\n if (Array.isArray($$a)) {\n var $$v = null,\n $$i = _vm._i($$a, $$v)\n if ($$el.checked) {\n $$i < 0 && (_vm.privacyAccepted = $$a.concat([$$v]))\n } else {\n $$i > -1 &&\n (_vm.privacyAccepted = $$a\n .slice(0, $$i)\n .concat($$a.slice($$i + 1)))\n }\n } else {\n _vm.privacyAccepted = $$c\n }\n }\n }\n }),\n _vm._v(\" \"),\n _c(\n \"label\",\n {\n staticClass: \"form-check-label\",\n attrs: { for: \"cyt_privacy_check_\" + _vm._uid }\n },\n [_vm._t(\"privacyhint\")],\n 2\n )\n ]\n ),\n _vm._v(\" \"),\n _c(\n \"div\",\n {\n directives: [\n {\n name: \"show\",\n rawName: \"v-show\",\n value: _vm.hasPrivacyHint && !_vm.requirePrivacyCheck,\n expression: \"hasPrivacyHint && !requirePrivacyCheck\"\n }\n ],\n staticClass: \"privacy-hint small mb-3\"\n },\n [_vm._t(\"privacyhint\")],\n 2\n ),\n _vm._v(\" \"),\n _c(\n \"button\",\n {\n staticClass: \"btn btn-primary btn-appearance\",\n attrs: { type: \"submit\", disabled: _vm.submitDisabled }\n },\n [\n _vm._v(\n \"\\n \" +\n _vm._s(\n _vm.$translate(\n \"cytItemAvailabilityNotification::Template.submitLabel\"\n )\n ) +\n \"\\n \"\n )\n ]\n ),\n _vm._v(\" \"),\n _vm._t(\"after\")\n ],\n 2\n )\n ])\n : _vm._e()\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns }","import { render, staticRenderFns } from \"./itemAvailabilityNotification.component.vue?vue&type=template&id=42d306f0&\"\nimport script from \"./itemAvailabilityNotification.component.vue?vue&type=script&lang=js&\"\nexport * from \"./itemAvailabilityNotification.component.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/raschi/Sites/item-availability-notification/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('42d306f0')) {\n api.createRecord('42d306f0', component.options)\n } else {\n api.reload('42d306f0', component.options)\n }\n module.hot.accept(\"./itemAvailabilityNotification.component.vue?vue&type=template&id=42d306f0&\", function () {\n api.rerender('42d306f0', {\n render: render,\n staticRenderFns: staticRenderFns\n })\n })\n }\n}\ncomponent.options.__file = \"resources/js/src/components/itemAvailabilityNotification.component.vue\"\nexport default component.exports","/* globals __VUE_SSR_CONTEXT__ */\n\n// IMPORTANT: Do NOT use ES2015 features in this file (except for modules).\n// This module is a runtime utility for cleaner component module output and will\n// be included in the final webpack user bundle.\n\nexport default function normalizeComponent (\n scriptExports,\n render,\n staticRenderFns,\n functionalTemplate,\n injectStyles,\n scopeId,\n moduleIdentifier, /* server only */\n shadowMode /* vue-cli only */\n) {\n // Vue.extend constructor export interop\n var options = typeof scriptExports === 'function'\n ? scriptExports.options\n : scriptExports\n\n // render functions\n if (render) {\n options.render = render\n options.staticRenderFns = staticRenderFns\n options._compiled = true\n }\n\n // functional template\n if (functionalTemplate) {\n options.functional = true\n }\n\n // scopedId\n if (scopeId) {\n options._scopeId = 'data-v-' + scopeId\n }\n\n var hook\n if (moduleIdentifier) { // server build\n hook = function (context) {\n // 2.3 injection\n context =\n context || // cached call\n (this.$vnode && this.$vnode.ssrContext) || // stateful\n (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional\n // 2.2 with runInNewContext: true\n if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {\n context = __VUE_SSR_CONTEXT__\n }\n // inject component styles\n if (injectStyles) {\n injectStyles.call(this, context)\n }\n // register component module identifier for async chunk inferrence\n if (context && context._registeredComponents) {\n context._registeredComponents.add(moduleIdentifier)\n }\n }\n // used by ssr in case component is cached and beforeCreate\n // never gets called\n options._ssrRegister = hook\n } else if (injectStyles) {\n hook = shadowMode\n ? function () {\n injectStyles.call(\n this,\n (options.functional ? this.parent : this).$root.$options.shadowRoot\n )\n }\n : injectStyles\n }\n\n if (hook) {\n if (options.functional) {\n // for template-only hot-reload because in that case the render fn doesn't\n // go through the normalizer\n options._injectStyles = hook\n // register for functional component in vue file\n var originalRender = options.render\n options.render = function renderWithStyleInjection (h, context) {\n hook.call(context)\n return originalRender(h, context)\n }\n } else {\n // inject component registration as beforeCreate hook\n var existing = options.beforeCreate\n options.beforeCreate = existing\n ? [].concat(existing, hook)\n : [hook]\n }\n }\n\n return {\n exports: scriptExports,\n options: options\n }\n}\n","\n
\n \n
\n\n\n\n","import ItemAvailabilityNotification from \"./components/itemAvailabilityNotification.component.vue\";\n\nexport function createApp()\n{\n Vue.component(\"cyt-item-availability-notification\", ItemAvailabilityNotification);\n}\n"],"sourceRoot":""}