{"version":3,"sources":["webpack:///./resources/js/src/app/mixins/buttonSizeProperty.mixin.js","webpack:///./resources/js/src/app/components/customer/Registration.vue?bb57","webpack:///./resources/js/src/app/components/customer/AcceptPrivacyPolicyCheck.vue?4617","webpack:///./resources/js/src/app/components/customer/AcceptPrivacyPolicyCheck.vue?aee7","webpack:///resources/js/src/app/components/customer/AcceptPrivacyPolicyCheck.vue","webpack:///./resources/js/src/app/components/customer/AcceptPrivacyPolicyCheck.vue","webpack:///resources/js/src/app/components/customer/Registration.vue","webpack:///./resources/js/src/app/components/customer/Registration.vue?6074","webpack:///./resources/js/src/app/components/customer/Registration.vue"],"names":["BUTTON_SIZES","LEGACY_CLASS_MAP","ButtonSizePropertyMixin","props","buttonSize","type","String","default","validator","value","Object","keys","indexOf","computed","buttonSizeClass","hasOwnProperty","this","render","_vm","_h","$createElement","_c","_self","ref","staticClass","attrs","autocomplete","method","on","submit","$event","preventDefault","validateRegistration","directives","name","rawName","username","expression","id","_uid","domProps","input","target","composing","_v","for","_s","$translate","guestMode","_e","class","modalElement","showPassword","password","checked","Array","isArray","_i","change","$$a","$$el","$$c","$$i","concat","slice","_q","staticStyle","cursor","click","togglePasswordVisibility","height","width","fill","xmlns","viewBox","d","showPasswordRepeat","passwordRepeat","validPassLength","validPassDigit","validPassCharacter","honeypot","tabindex","isSimpleRegistration","template","billingAddress","shownFields","requiredFields","defaultSalutation","setAddressDataField","scopedSlots","_u","key","fn","_t","proxy","enableConfirmingPrivacyPolicy","privacyPolicyShowError","privacyPolicyValueChanged","model","privacyPolicyAccepted","callback","$$v","disabled","isDisabled","icon","loading","_withStripped","error","showError","onValueChanged","innerHTML","labelHtml","component","options","__file"],"mappings":"q8BAAA,IAAMA,EAAe,CAAC,SAAU,UAE1BC,EAAmB,CACrB,GAAM,SACN,GAAM,GACN,GAAM,UAGGC,EACb,CACIC,MAAO,CACHC,WACA,CACIC,KAAM,CAACC,OAAQ,MACfC,QAAS,KACTC,UAAW,SAAAC,GAEP,OAIs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"btn-lg\"\n};\n\nexport const ButtonSizePropertyMixin =\n{\n props: {\n buttonSize:\n {\n type: [String, null],\n default: null,\n validator: value =>\n {\n return [\n \"\",\n ...BUTTON_SIZES,\n ...Object.keys(LEGACY_CLASS_MAP)\n ].indexOf(value) !== -1;\n }\n }\n },\n\n computed: {\n buttonSizeClass()\n {\n if (LEGACY_CLASS_MAP.hasOwnProperty(this.buttonSize))\n {\n return LEGACY_CLASS_MAP[this.buttonSize];\n }\n\n return this.buttonSize;\n }\n }\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 \"form\",\n {\n ref: \"registrationForm\",\n staticClass: \"w-100\",\n attrs: { autocomplete: \"on\", method: \"post\" },\n on: {\n submit: function ($event) {\n $event.preventDefault()\n return _vm.validateRegistration()\n },\n },\n },\n [\n _c(\"div\", { staticClass: \"row\" }, [\n _c(\"div\", { staticClass: \"col-sm-12 col-md-8\" }, [\n _c(\n \"div\",\n { staticClass: \"input-unit\", attrs: { \"data-validate\": \"mail\" } },\n [\n _c(\"input\", {\n directives: [\n {\n name: \"model\",\n rawName: \"v-model\",\n value: _vm.username,\n expression: \"username\",\n },\n ],\n attrs: {\n \"data-testing\": \"mail-register\",\n type: \"email\",\n name: \"email\",\n autocomplete: \"email\",\n id: \"email\" + _vm._uid,\n \"data-autofocus\": \"\",\n },\n domProps: { value: _vm.username },\n on: {\n input: function ($event) {\n if ($event.target.composing) {\n return\n }\n _vm.username = $event.target.value\n },\n },\n }),\n _vm._v(\" \"),\n _c(\"label\", { attrs: { for: \"email\" + _vm._uid } }, [\n _vm._v(\n _vm._s(_vm.$translate(\"Ceres::Template.regEmail\")) + \"*\"\n ),\n ]),\n ]\n ),\n ]),\n _vm._v(\" \"),\n !_vm.guestMode\n ? _c(\"div\", { staticClass: \"col-sm-6\" }, [\n _c(\n \"div\",\n {\n ref: \"passwordInput\",\n staticClass: \"input-unit d-flex align-items-center\",\n class: { \"no-bottom media-xs-d\": _vm.modalElement },\n attrs: { \"data-validate\": \"password\" },\n },\n [\n (_vm.showPassword ? \"text\" : \"password\") === \"checkbox\"\n ? _c(\"input\", {\n directives: [\n {\n name: \"model\",\n rawName: \"v-model\",\n value: _vm.password,\n expression: \"password\",\n },\n ],\n attrs: {\n \"data-testing\": \"password-register\",\n name: \"password\",\n autocomplete: \"new-password\",\n id: \"new-password-\" + _vm._uid,\n type: \"checkbox\",\n },\n domProps: {\n checked: Array.isArray(_vm.password)\n ? _vm._i(_vm.password, null) > -1\n : _vm.password,\n },\n on: {\n change: function ($event) {\n var $$a = _vm.password,\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.password = $$a.concat([$$v]))\n } else {\n $$i > -1 &&\n (_vm.password = $$a\n .slice(0, $$i)\n .concat($$a.slice($$i + 1)))\n }\n } else {\n _vm.password = $$c\n }\n },\n },\n })\n : (_vm.showPassword ? \"text\" : \"password\") === \"radio\"\n ? _c(\"input\", {\n directives: [\n {\n name: \"model\",\n rawName: \"v-model\",\n value: _vm.password,\n expression: \"password\",\n },\n ],\n attrs: {\n \"data-testing\": \"password-register\",\n name: \"password\",\n autocomplete: \"new-password\",\n id: \"new-password-\" + _vm._uid,\n type: \"radio\",\n },\n domProps: { checked: _vm._q(_vm.password, null) },\n on: {\n change: function ($event) {\n _vm.password = null\n },\n },\n })\n : _c(\"input\", {\n directives: [\n {\n name: \"model\",\n rawName: \"v-model\",\n value: _vm.password,\n expression: \"password\",\n },\n ],\n attrs: {\n \"data-testing\": \"password-register\",\n name: \"password\",\n autocomplete: \"new-password\",\n id: \"new-password-\" + _vm._uid,\n type: _vm.showPassword ? \"text\" : \"password\",\n },\n domProps: { value: _vm.password },\n on: {\n input: function ($event) {\n if ($event.target.composing) {\n return\n }\n _vm.password = $event.target.value\n },\n },\n }),\n _vm._v(\" \"),\n _c(\"label\", { attrs: { for: \"new-password-\" + _vm._uid } }, [\n _vm._v(\n _vm._s(_vm.$translate(\"Ceres::Template.regPassword\")) +\n \"*\"\n ),\n ]),\n _vm._v(\" \"),\n _c(\n \"span\",\n {\n staticStyle: {\n cursor: \"pointer\",\n \"margin-right\": \"0.5rem\",\n },\n on: {\n click: function ($event) {\n return _vm.togglePasswordVisibility(\"password\")\n },\n },\n },\n [\n !_vm.showPassword\n ? _c(\n \"svg\",\n {\n staticStyle: {\n height: \"1rem\",\n width: \"auto\",\n fill: \"#999\",\n },\n attrs: {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 576 512\",\n },\n },\n [\n _c(\"path\", {\n attrs: {\n d: \"M288 80c-65.2 0-118.8 29.6-159.9 67.7C89.6 183.5 63 226 49.4 256c13.6 30 40.2 72.5 78.6 108.3C169.2 402.4 222.8 432 288 432s118.8-29.6 159.9-67.7C486.4 328.5 513 286 526.6 256c-13.6-30-40.2-72.5-78.6-108.3C406.8 109.6 353.2 80 288 80zM95.4 112.6C142.5 68.8 207.2 32 288 32s145.5 36.8 192.6 80.6c46.8 43.5 78.1 95.4 93 131.1c3.3 7.9 3.3 16.7 0 24.6c-14.9 35.7-46.2 87.7-93 131.1C433.5 443.2 368.8 480 288 480s-145.5-36.8-192.6-80.6C48.6 356 17.3 304 2.5 268.3c-3.3-7.9-3.3-16.7 0-24.6C17.3 208 48.6 156 95.4 112.6zM288 336c44.2 0 80-35.8 80-80s-35.8-80-80-80c-.7 0-1.3 0-2 0c1.3 5.1 2 10.5 2 16c0 35.3-28.7 64-64 64c-5.5 0-10.9-.7-16-2c0 .7 0 1.3 0 2c0 44.2 35.8 80 80 80zm0-208a128 128 0 1 1 0 256 128 128 0 1 1 0-256z\",\n },\n }),\n ]\n )\n : _c(\n \"svg\",\n {\n staticStyle: {\n height: \"1rem\",\n width: \"auto\",\n fill: \"#999\",\n },\n attrs: {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 640 512\",\n },\n },\n [\n _c(\"path\", {\n attrs: {\n d: \"M38.8 5.1C28.4-3.1 13.3-1.2 5.1 9.2S-1.2 34.7 9.2 42.9l592 464c10.4 8.2 25.5 6.3 33.7-4.1s6.3-25.5-4.1-33.7L525.6 386.7c39.6-40.6 66.4-86.1 79.9-118.4c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C465.5 68.8 400.8 32 320 32c-68.2 0-125 26.3-169.3 60.8L38.8 5.1zm151 118.3C226 97.7 269.5 80 320 80c65.2 0 118.8 29.6 159.9 67.7C518.4 183.5 545 226 558.6 256c-12.6 28-36.6 66.8-70.9 100.9l-53.8-42.2c9.1-17.6 14.2-37.5 14.2-58.7c0-70.7-57.3-128-128-128c-32.2 0-61.7 11.9-84.2 31.5l-46.1-36.1zM394.9 284.2l-81.5-63.9c4.2-8.5 6.6-18.2 6.6-28.3c0-5.5-.7-10.9-2-16c.7 0 1.3 0 2 0c44.2 0 80 35.8 80 80c0 9.9-1.8 19.4-5.1 28.2zm9.4 130.3C378.8 425.4 350.7 432 320 432c-65.2 0-118.8-29.6-159.9-67.7C121.6 328.5 95 286 81.4 256c8.3-18.4 21.5-41.5 39.4-64.8L83.1 161.5C60.3 191.2 44 220.8 34.5 243.7c-3.3 7.9-3.3 16.7 0 24.6c14.9 35.7 46.2 87.7 93 131.1C174.5 443.2 239.2 480 320 480c47.8 0 89.9-12.9 126.2-32.5l-41.9-33zM192 256c0 70.7 57.3 128 128 128c13.3 0 26.1-2 38.2-5.8L302 334c-23.5-5.4-43.1-21.2-53.7-42.3l-56.1-44.2c-.2 2.8-.3 5.6-.3 8.5z\",\n },\n }),\n ]\n ),\n ]\n ),\n ]\n ),\n ])\n : _vm._e(),\n _vm._v(\" \"),\n !_vm.guestMode\n ? _c(\"div\", { staticClass: \"col-sm-6 input-unit-group\" }, [\n _c(\n \"div\",\n {\n staticClass: \"input-unit d-flex align-items-center\",\n class: { \"no-bottom\": _vm.modalElement },\n attrs: { \"data-validate\": \"ref\" },\n },\n [\n (_vm.showPasswordRepeat ? \"text\" : \"password\") === \"checkbox\"\n ? _c(\"input\", {\n directives: [\n {\n name: \"model\",\n rawName: \"v-model\",\n value: _vm.passwordRepeat,\n expression: \"passwordRepeat\",\n },\n ],\n attrs: {\n name: \"password-repeat\",\n autocomplete: \"new-password\",\n id: \"new-password-repeat-\" + _vm._uid,\n \"data-validate-ref\": \"#new-password-\" + _vm._uid,\n \"data-testing\": \"repeat-password-register\",\n type: \"checkbox\",\n },\n domProps: {\n checked: Array.isArray(_vm.passwordRepeat)\n ? _vm._i(_vm.passwordRepeat, null) > -1\n : _vm.passwordRepeat,\n },\n on: {\n change: function ($event) {\n var $$a = _vm.passwordRepeat,\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 &&\n (_vm.passwordRepeat = $$a.concat([$$v]))\n } else {\n $$i > -1 &&\n (_vm.passwordRepeat = $$a\n .slice(0, $$i)\n .concat($$a.slice($$i + 1)))\n }\n } else {\n _vm.passwordRepeat = $$c\n }\n },\n },\n })\n : (_vm.showPasswordRepeat ? \"text\" : \"password\") === \"radio\"\n ? _c(\"input\", {\n directives: [\n {\n name: \"model\",\n rawName: \"v-model\",\n value: _vm.passwordRepeat,\n expression: \"passwordRepeat\",\n },\n ],\n attrs: {\n name: \"password-repeat\",\n autocomplete: \"new-password\",\n id: \"new-password-repeat-\" + _vm._uid,\n \"data-validate-ref\": \"#new-password-\" + _vm._uid,\n \"data-testing\": \"repeat-password-register\",\n type: \"radio\",\n },\n domProps: { checked: _vm._q(_vm.passwordRepeat, null) },\n on: {\n change: function ($event) {\n _vm.passwordRepeat = null\n },\n },\n })\n : _c(\"input\", {\n directives: [\n {\n name: \"model\",\n rawName: \"v-model\",\n value: _vm.passwordRepeat,\n expression: \"passwordRepeat\",\n },\n ],\n attrs: {\n name: \"password-repeat\",\n autocomplete: \"new-password\",\n id: \"new-password-repeat-\" + _vm._uid,\n \"data-validate-ref\": \"#new-password-\" + _vm._uid,\n \"data-testing\": \"repeat-password-register\",\n type: _vm.showPasswordRepeat ? \"text\" : \"password\",\n },\n domProps: { value: _vm.passwordRepeat },\n on: {\n input: function ($event) {\n if ($event.target.composing) {\n return\n }\n _vm.passwordRepeat = $event.target.value\n },\n },\n }),\n _vm._v(\" \"),\n _c(\n \"label\",\n { attrs: { for: \"new-password-repeat-\" + _vm._uid } },\n [\n _vm._v(\n _vm._s(\n _vm.$translate(\"Ceres::Template.regRepeatPassword\")\n ) + \"*\"\n ),\n ]\n ),\n _vm._v(\" \"),\n _c(\n \"span\",\n {\n staticStyle: {\n cursor: \"pointer\",\n \"margin-right\": \"0.5rem\",\n },\n on: {\n click: function ($event) {\n return _vm.togglePasswordVisibility(\"passwordRepeat\")\n },\n },\n },\n [\n !_vm.showPasswordRepeat\n ? _c(\n \"svg\",\n {\n staticStyle: {\n height: \"1rem\",\n width: \"auto\",\n fill: \"#999\",\n },\n attrs: {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 576 512\",\n },\n },\n [\n _c(\"path\", {\n attrs: {\n d: \"M288 80c-65.2 0-118.8 29.6-159.9 67.7C89.6 183.5 63 226 49.4 256c13.6 30 40.2 72.5 78.6 108.3C169.2 402.4 222.8 432 288 432s118.8-29.6 159.9-67.7C486.4 328.5 513 286 526.6 256c-13.6-30-40.2-72.5-78.6-108.3C406.8 109.6 353.2 80 288 80zM95.4 112.6C142.5 68.8 207.2 32 288 32s145.5 36.8 192.6 80.6c46.8 43.5 78.1 95.4 93 131.1c3.3 7.9 3.3 16.7 0 24.6c-14.9 35.7-46.2 87.7-93 131.1C433.5 443.2 368.8 480 288 480s-145.5-36.8-192.6-80.6C48.6 356 17.3 304 2.5 268.3c-3.3-7.9-3.3-16.7 0-24.6C17.3 208 48.6 156 95.4 112.6zM288 336c44.2 0 80-35.8 80-80s-35.8-80-80-80c-.7 0-1.3 0-2 0c1.3 5.1 2 10.5 2 16c0 35.3-28.7 64-64 64c-5.5 0-10.9-.7-16-2c0 .7 0 1.3 0 2c0 44.2 35.8 80 80 80zm0-208a128 128 0 1 1 0 256 128 128 0 1 1 0-256z\",\n },\n }),\n ]\n )\n : _c(\n \"svg\",\n {\n staticStyle: {\n height: \"1rem\",\n width: \"auto\",\n fill: \"#999\",\n },\n attrs: {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 640 512\",\n },\n },\n [\n _c(\"path\", {\n attrs: {\n d: \"M38.8 5.1C28.4-3.1 13.3-1.2 5.1 9.2S-1.2 34.7 9.2 42.9l592 464c10.4 8.2 25.5 6.3 33.7-4.1s6.3-25.5-4.1-33.7L525.6 386.7c39.6-40.6 66.4-86.1 79.9-118.4c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C465.5 68.8 400.8 32 320 32c-68.2 0-125 26.3-169.3 60.8L38.8 5.1zm151 118.3C226 97.7 269.5 80 320 80c65.2 0 118.8 29.6 159.9 67.7C518.4 183.5 545 226 558.6 256c-12.6 28-36.6 66.8-70.9 100.9l-53.8-42.2c9.1-17.6 14.2-37.5 14.2-58.7c0-70.7-57.3-128-128-128c-32.2 0-61.7 11.9-84.2 31.5l-46.1-36.1zM394.9 284.2l-81.5-63.9c4.2-8.5 6.6-18.2 6.6-28.3c0-5.5-.7-10.9-2-16c.7 0 1.3 0 2 0c44.2 0 80 35.8 80 80c0 9.9-1.8 19.4-5.1 28.2zm9.4 130.3C378.8 425.4 350.7 432 320 432c-65.2 0-118.8-29.6-159.9-67.7C121.6 328.5 95 286 81.4 256c8.3-18.4 21.5-41.5 39.4-64.8L83.1 161.5C60.3 191.2 44 220.8 34.5 243.7c-3.3 7.9-3.3 16.7 0 24.6c14.9 35.7 46.2 87.7 93 131.1C174.5 443.2 239.2 480 320 480c47.8 0 89.9-12.9 126.2-32.5l-41.9-33zM192 256c0 70.7 57.3 128 128 128c13.3 0 26.1-2 38.2-5.8L302 334c-23.5-5.4-43.1-21.2-53.7-42.3l-56.1-44.2c-.2 2.8-.3 5.6-.3 8.5z\",\n },\n }),\n ]\n ),\n ]\n ),\n ]\n ),\n ])\n : _vm._e(),\n _vm._v(\" \"),\n !_vm.guestMode\n ? _c(\"div\", { staticClass: \"col-12 mt-3\" }, [\n _c(\"ul\", { staticClass: \"fa-ul\" }, [\n _c(\"li\", [\n _c(\"i\", {\n class: [\n \"fa-li fa\",\n {\n \"fa-times\": !_vm.validPassLength,\n \"fa-check text-success\": _vm.validPassLength,\n },\n ],\n attrs: { \"aria-hidden\": \"true\" },\n }),\n _vm._v(\n _vm._s(\n _vm.$translate(\"Ceres::Template.regPasswordHintLength\")\n ) + \"\\n \"\n ),\n ]),\n _vm._v(\" \"),\n _c(\"li\", [\n _c(\"i\", {\n class: [\n \"fa-li fa\",\n {\n \"fa-times\": !_vm.validPassDigit,\n \"fa-check text-success\": _vm.validPassDigit,\n },\n ],\n attrs: { \"aria-hidden\": \"true\" },\n }),\n _vm._v(\n \"\\n \" +\n _vm._s(\n _vm.$translate(\"Ceres::Template.regPasswordHintDigit\")\n ) +\n \"\\n \"\n ),\n ]),\n _vm._v(\" \"),\n _c(\"li\", [\n _c(\"i\", {\n class: [\n \"fa-li fa\",\n {\n \"fa-times\": !_vm.validPassCharacter,\n \"fa-check text-success\": _vm.validPassCharacter,\n },\n ],\n attrs: { \"aria-hidden\": \"true\" },\n }),\n _vm._v(\n \"\\n \" +\n _vm._s(\n _vm.$translate(\"Ceres::Template.regPasswordHintChar\")\n ) +\n \"\\n \"\n ),\n ]),\n ]),\n ])\n : _vm._e(),\n _vm._v(\" \"),\n _c(\"input\", {\n directives: [\n {\n name: \"model\",\n rawName: \"v-model\",\n value: _vm.honeypot,\n expression: \"honeypot\",\n },\n ],\n staticClass: \"honey\",\n attrs: {\n type: \"text\",\n name: \"username\",\n autocomplete: \"new-password\",\n tabindex: \"-1\",\n },\n domProps: { value: _vm.honeypot },\n on: {\n input: function ($event) {\n if ($event.target.composing) {\n return\n }\n _vm.honeypot = $event.target.value\n },\n },\n }),\n _vm._v(\" \"),\n _c(\n \"div\",\n { staticClass: \"col-12\" },\n [\n !_vm.isSimpleRegistration\n ? _c(\"address-input-group\", {\n attrs: {\n template: \"#vue-address-input-group\",\n \"address-type\": \"1\",\n value: _vm.billingAddress,\n \"optional-address-fields\": _vm.shownFields,\n \"required-address-fields\": _vm.requiredFields,\n \"default-salutation\": _vm.defaultSalutation,\n },\n on: {\n input: function ($event) {\n return _vm.setAddressDataField($event)\n },\n },\n scopedSlots: _vm._u(\n [\n {\n key: \"custom-address-fields\",\n fn: function () {\n return [_vm._t(\"custom-address-fields\")]\n },\n proxy: true,\n },\n ],\n null,\n true\n ),\n })\n : _vm._e(),\n ],\n 1\n ),\n _vm._v(\" \"),\n _vm.enableConfirmingPrivacyPolicy\n ? _c(\n \"div\",\n { staticClass: \"col-12\" },\n [\n _c(\"accept-privacy-policy-check\", {\n staticClass: \"mt-3 mb-0\",\n attrs: { \"show-error\": _vm.privacyPolicyShowError },\n on: {\n input: function ($event) {\n return _vm.privacyPolicyValueChanged($event)\n },\n },\n model: {\n value: _vm.privacyPolicyAccepted,\n callback: function ($$v) {\n _vm.privacyPolicyAccepted = $$v\n },\n expression: \"privacyPolicyAccepted\",\n },\n }),\n ],\n 1\n )\n : _vm._e(),\n ]),\n _vm._v(\" \"),\n _c(\n \"div\",\n { staticClass: \"border-top mt-2 text-right\" },\n [\n _vm._t(\"extend-overlay-buttons\"),\n _vm._v(\" \"),\n _c(\n \"button\",\n {\n staticClass: \"btn btn-appearance btn-primary btn-medium mt-3\",\n class: _vm.buttonSizeClass,\n attrs: {\n disabled: _vm.isDisabled,\n \"data-testing\": \"register-submit\",\n },\n },\n [\n _vm._v(\n \"\\n \" +\n _vm._s(_vm.$translate(\"Ceres::Template.regRegister\")) +\n \"\\n \"\n ),\n _c(\"icon\", {\n staticClass: \"default-float\",\n attrs: { icon: \"user-plus\", loading: _vm.isDisabled },\n }),\n ],\n 1\n ),\n ],\n 2\n ),\n ]\n )\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns }","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 { staticClass: \"form-check\", class: { error: _vm.showError } },\n [\n _c(\"input\", {\n staticClass: \"form-check-input\",\n attrs: {\n type: \"checkbox\",\n id: \"privacy-policy-accept\" + _vm._uid,\n \"data-testing\": \"privacy-policy-accept-register\",\n },\n domProps: { checked: _vm.value },\n on: {\n change: function ($event) {\n return _vm.onValueChanged($event.target.checked)\n },\n },\n }),\n _vm._v(\" \"),\n _c(\n \"label\",\n {\n staticClass: \"form-check-label\",\n attrs: { for: \"privacy-policy-accept\" + _vm._uid },\n },\n [\n _c(\"span\", { domProps: { innerHTML: _vm._s(_vm.labelHtml) } }),\n _c(\"sup\", [_vm._v(\"*\")]),\n ]\n ),\n ]\n )\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AcceptPrivacyPolicyCheck.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!./AcceptPrivacyPolicyCheck.vue?vue&type=script&lang=js&\"","<template>\n <div class=\"form-check\" :class=\"{ 'error': showError }\">\n <input class=\"form-check-input\" type=\"checkbox\" :id=\"'privacy-policy-accept' + _uid\" :checked=\"value\" @change=\"onValueChanged($event.target.checked)\" data-testing=\"privacy-policy-accept-register\">\n <label class=\"form-check-label\" :for=\"'privacy-policy-accept' + _uid\">\n <span v-html=\"labelHtml\"></span><!--\n --><sup>*</sup>\n </label>\n </div>\n</template>\n\n<script>\nexport default {\n\n name: \"accept-privacy-policy-check\",\n\n props: {\n value: Boolean ,\n showError: Boolean\n },\n\n computed: {\n labelHtml()\n {\n const contactPrivacyPolicy = this.$translate(\"Ceres::Template.contactPrivacyPolicy\", {\"hyphen\": \"­\"});\n const html = `\n <!----><a href=\"${ App.urls.privacyPolicy }\" target=\"_blank\" class=\"text-appearance\">\n <span>${ contactPrivacyPolicy }</span>\n </a><!---->\n `;\n\n return this.$translate(\"Ceres::Template.contactAcceptPrivacyPolicy\", {policy: html});\n }\n },\n\n methods:\n {\n onValueChanged(value)\n {\n this.$emit(\"input\", value);\n }\n }\n}\n</script>","import { render, staticRenderFns } from \"./AcceptPrivacyPolicyCheck.vue?vue&type=template&id=b37bfc36&\"\nimport script from \"./AcceptPrivacyPolicyCheck.vue?vue&type=script&lang=js&\"\nexport * from \"./AcceptPrivacyPolicyCheck.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/philippneumann/Documents/frontendstudios/8291/430/GonserDT/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('b37bfc36')) {\n api.createRecord('b37bfc36', component.options)\n } else {\n api.reload('b37bfc36', component.options)\n }\n module.hot.accept(\"./AcceptPrivacyPolicyCheck.vue?vue&type=template&id=b37bfc36&\", function () {\n api.rerender('b37bfc36', {\n render: render,\n staticRenderFns: staticRenderFns\n })\n })\n }\n}\ncomponent.options.__file = \"resources/js/src/app/components/customer/AcceptPrivacyPolicyCheck.vue\"\nexport default component.exports","<template>\n <form class=\"w-100\" autocomplete=\"on\" method=\"post\" @submit.prevent=\"validateRegistration()\" ref=\"registrationForm\">\n <div class=\"row\">\n <div class=\"col-sm-12 col-md-8\">\n <div class=\"input-unit\" data-validate=\"mail\">\n <input data-testing=\"mail-register\" type=\"email\" name=\"email\" autocomplete=\"email\"\n :id=\"'email' + _uid\" v-model=\"username\" data-autofocus>\n <label :for=\"'email' + _uid\">{{ $translate(\"Ceres::Template.regEmail\") }}*</label>\n </div>\n </div>\n\n <div class=\"col-sm-6\" v-if=\"!guestMode\">\n <div class=\"input-unit d-flex align-items-center\" :class=\"{ 'no-bottom media-xs-d': modalElement }\" data-validate=\"password\"\n ref=\"passwordInput\">\n <input data-testing=\"password-register\" :type=\"showPassword ? 'text' : 'password'\" name=\"password\" autocomplete=\"new-password\"\n :id=\"'new-password-' + _uid\" v-model=\"password\">\n <label :for=\"'new-password-' + _uid\">{{ $translate(\"Ceres::Template.regPassword\") }}*</label>\n <span @click=\"togglePasswordVisibility('password')\" style=\"cursor: pointer; margin-right: 0.5rem;\">\n <svg v-if=\"!showPassword\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 576 512\" style=\"height: 1rem; width: auto; fill: #999;\">\n <path d=\"M288 80c-65.2 0-118.8 29.6-159.9 67.7C89.6 183.5 63 226 49.4 256c13.6 30 40.2 72.5 78.6 108.3C169.2 402.4 222.8 432 288 432s118.8-29.6 159.9-67.7C486.4 328.5 513 286 526.6 256c-13.6-30-40.2-72.5-78.6-108.3C406.8 109.6 353.2 80 288 80zM95.4 112.6C142.5 68.8 207.2 32 288 32s145.5 36.8 192.6 80.6c46.8 43.5 78.1 95.4 93 131.1c3.3 7.9 3.3 16.7 0 24.6c-14.9 35.7-46.2 87.7-93 131.1C433.5 443.2 368.8 480 288 480s-145.5-36.8-192.6-80.6C48.6 356 17.3 304 2.5 268.3c-3.3-7.9-3.3-16.7 0-24.6C17.3 208 48.6 156 95.4 112.6zM288 336c44.2 0 80-35.8 80-80s-35.8-80-80-80c-.7 0-1.3 0-2 0c1.3 5.1 2 10.5 2 16c0 35.3-28.7 64-64 64c-5.5 0-10.9-.7-16-2c0 .7 0 1.3 0 2c0 44.2 35.8 80 80 80zm0-208a128 128 0 1 1 0 256 128 128 0 1 1 0-256z\"/>\n </svg>\n <svg v-else xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 640 512\" style=\"height: 1rem; width: auto; fill: #999;\">\n <path d=\"M38.8 5.1C28.4-3.1 13.3-1.2 5.1 9.2S-1.2 34.7 9.2 42.9l592 464c10.4 8.2 25.5 6.3 33.7-4.1s6.3-25.5-4.1-33.7L525.6 386.7c39.6-40.6 66.4-86.1 79.9-118.4c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C465.5 68.8 400.8 32 320 32c-68.2 0-125 26.3-169.3 60.8L38.8 5.1zm151 118.3C226 97.7 269.5 80 320 80c65.2 0 118.8 29.6 159.9 67.7C518.4 183.5 545 226 558.6 256c-12.6 28-36.6 66.8-70.9 100.9l-53.8-42.2c9.1-17.6 14.2-37.5 14.2-58.7c0-70.7-57.3-128-128-128c-32.2 0-61.7 11.9-84.2 31.5l-46.1-36.1zM394.9 284.2l-81.5-63.9c4.2-8.5 6.6-18.2 6.6-28.3c0-5.5-.7-10.9-2-16c.7 0 1.3 0 2 0c44.2 0 80 35.8 80 80c0 9.9-1.8 19.4-5.1 28.2zm9.4 130.3C378.8 425.4 350.7 432 320 432c-65.2 0-118.8-29.6-159.9-67.7C121.6 328.5 95 286 81.4 256c8.3-18.4 21.5-41.5 39.4-64.8L83.1 161.5C60.3 191.2 44 220.8 34.5 243.7c-3.3 7.9-3.3 16.7 0 24.6c14.9 35.7 46.2 87.7 93 131.1C174.5 443.2 239.2 480 320 480c47.8 0 89.9-12.9 126.2-32.5l-41.9-33zM192 256c0 70.7 57.3 128 128 128c13.3 0 26.1-2 38.2-5.8L302 334c-23.5-5.4-43.1-21.2-53.7-42.3l-56.1-44.2c-.2 2.8-.3 5.6-.3 8.5z\"/>\n </svg>\n </span>\n </div>\n </div>\n\n <div class=\"col-sm-6 input-unit-group\" v-if=\"!guestMode\">\n <div class=\"input-unit d-flex align-items-center\" :class=\"{ 'no-bottom': modalElement }\" data-validate=\"ref\">\n <input :type=\"showPasswordRepeat ? 'text' : 'password'\" name=\"password-repeat\" autocomplete=\"new-password\"\n :id=\"'new-password-repeat-' + _uid\" v-model=\"passwordRepeat\"\n :data-validate-ref=\"'#new-password-' + _uid\" data-testing=\"repeat-password-register\">\n <label :for=\"'new-password-repeat-' + _uid\">{{ $translate(\"Ceres::Template.regRepeatPassword\")\n }}*</label>\n <span @click=\"togglePasswordVisibility('passwordRepeat')\" style=\"cursor: pointer; margin-right: 0.5rem;\">\n <svg v-if=\"!showPasswordRepeat\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 576 512\" style=\"height: 1rem; width: auto; fill: #999;\">\n <path d=\"M288 80c-65.2 0-118.8 29.6-159.9 67.7C89.6 183.5 63 226 49.4 256c13.6 30 40.2 72.5 78.6 108.3C169.2 402.4 222.8 432 288 432s118.8-29.6 159.9-67.7C486.4 328.5 513 286 526.6 256c-13.6-30-40.2-72.5-78.6-108.3C406.8 109.6 353.2 80 288 80zM95.4 112.6C142.5 68.8 207.2 32 288 32s145.5 36.8 192.6 80.6c46.8 43.5 78.1 95.4 93 131.1c3.3 7.9 3.3 16.7 0 24.6c-14.9 35.7-46.2 87.7-93 131.1C433.5 443.2 368.8 480 288 480s-145.5-36.8-192.6-80.6C48.6 356 17.3 304 2.5 268.3c-3.3-7.9-3.3-16.7 0-24.6C17.3 208 48.6 156 95.4 112.6zM288 336c44.2 0 80-35.8 80-80s-35.8-80-80-80c-.7 0-1.3 0-2 0c1.3 5.1 2 10.5 2 16c0 35.3-28.7 64-64 64c-5.5 0-10.9-.7-16-2c0 .7 0 1.3 0 2c0 44.2 35.8 80 80 80zm0-208a128 128 0 1 1 0 256 128 128 0 1 1 0-256z\"/>\n </svg>\n <svg v-else xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 640 512\" style=\"height: 1rem; width: auto; fill: #999;\">\n <path d=\"M38.8 5.1C28.4-3.1 13.3-1.2 5.1 9.2S-1.2 34.7 9.2 42.9l592 464c10.4 8.2 25.5 6.3 33.7-4.1s6.3-25.5-4.1-33.7L525.6 386.7c39.6-40.6 66.4-86.1 79.9-118.4c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C465.5 68.8 400.8 32 320 32c-68.2 0-125 26.3-169.3 60.8L38.8 5.1zm151 118.3C226 97.7 269.5 80 320 80c65.2 0 118.8 29.6 159.9 67.7C518.4 183.5 545 226 558.6 256c-12.6 28-36.6 66.8-70.9 100.9l-53.8-42.2c9.1-17.6 14.2-37.5 14.2-58.7c0-70.7-57.3-128-128-128c-32.2 0-61.7 11.9-84.2 31.5l-46.1-36.1zM394.9 284.2l-81.5-63.9c4.2-8.5 6.6-18.2 6.6-28.3c0-5.5-.7-10.9-2-16c.7 0 1.3 0 2 0c44.2 0 80 35.8 80 80c0 9.9-1.8 19.4-5.1 28.2zm9.4 130.3C378.8 425.4 350.7 432 320 432c-65.2 0-118.8-29.6-159.9-67.7C121.6 328.5 95 286 81.4 256c8.3-18.4 21.5-41.5 39.4-64.8L83.1 161.5C60.3 191.2 44 220.8 34.5 243.7c-3.3 7.9-3.3 16.7 0 24.6c14.9 35.7 46.2 87.7 93 131.1C174.5 443.2 239.2 480 320 480c47.8 0 89.9-12.9 126.2-32.5l-41.9-33zM192 256c0 70.7 57.3 128 128 128c13.3 0 26.1-2 38.2-5.8L302 334c-23.5-5.4-43.1-21.2-53.7-42.3l-56.1-44.2c-.2 2.8-.3 5.6-.3 8.5z\"/>\n </svg>\n </span>\n </div>\n </div>\n\n <div v-if=\"!guestMode\" class=\"col-12 mt-3\">\n <ul class=\"fa-ul\">\n <li>\n <i :class=\"['fa-li fa', { 'fa-times': !validPassLength, 'fa-check text-success': validPassLength }]\"\n aria-hidden=\"true\"></i><!--\n -->{{ $translate(\"Ceres::Template.regPasswordHintLength\") }}\n </li>\n <li>\n <i :class=\"['fa-li fa', { 'fa-times': !validPassDigit, 'fa-check text-success': validPassDigit }]\"\n aria-hidden=\"true\"></i>\n {{ $translate(\"Ceres::Template.regPasswordHintDigit\") }}\n </li>\n <li>\n <i :class=\"['fa-li fa', { 'fa-times': !validPassCharacter, 'fa-check text-success': validPassCharacter }]\"\n aria-hidden=\"true\"></i>\n {{ $translate(\"Ceres::Template.regPasswordHintChar\") }}\n </li>\n </ul>\n </div>\n\n <input class=\"honey\" type=\"text\" name=\"username\" autocomplete=\"new-password\" tabindex=\"-1\"\n v-model=\"honeypot\">\n\n <div class=\"col-12\">\n <address-input-group template=\"#vue-address-input-group\" v-if=\"!isSimpleRegistration\" address-type=\"1\"\n :value=\"billingAddress\" @input=\"setAddressDataField($event)\" :optional-address-fields=\"shownFields\"\n :required-address-fields=\"requiredFields\" :default-salutation=\"defaultSalutation\">\n <template #custom-address-fields>\n <slot name=\"custom-address-fields\"></slot>\n </template>\n </address-input-group>\n </div>\n\n <div class=\"col-12\" v-if=\"enableConfirmingPrivacyPolicy\">\n <accept-privacy-policy-check class=\"mt-3 mb-0\" v-model=\"privacyPolicyAccepted\"\n @input=\"privacyPolicyValueChanged($event)\" :show-error=\"privacyPolicyShowError\">\n </accept-privacy-policy-check>\n </div>\n </div>\n <div class=\"border-top mt-2 text-right\">\n <slot name=\"extend-overlay-buttons\"></slot>\n\n <button :disabled=\"isDisabled\" class=\"btn btn-appearance btn-primary btn-medium mt-3\"\n :class=\"buttonSizeClass\" data-testing=\"register-submit\">\n {{ $translate(\"Ceres::Template.regRegister\") }}\n <icon icon=\"user-plus\" class=\"default-float\" :loading=\"isDisabled\"></icon>\n </button>\n </div>\n\n </form>\n</template>\n\n<script>\nimport ValidationService from \"../../services/ValidationService\";\nimport { navigateTo } from \"../../services/UrlService\";\nimport { isNullOrUndefined, isDefined } from \"../../helper/utils\";\nimport { ButtonSizePropertyMixin } from \"../../mixins/buttonSizeProperty.mixin\";\nimport AddressInputGroup from \"./AddressInputGroup.vue\";\nimport ApiService from \"../../services/ApiService\";\nimport NotificationService from \"../../services/NotificationService\";\nimport ModalService from \"../../services/ModalService\";\nimport AcceptPrivacyPolicyCheck from \"./AcceptPrivacyPolicyCheck.vue\";\n\nexport default {\n\n name: \"registration\",\n\n components:\n {\n AddressInputGroup,\n AcceptPrivacyPolicyCheck\n },\n\n mixins: [ButtonSizePropertyMixin],\n\n props: {\n modalElement: String,\n guestMode: { type: Boolean, default: false },\n isSimpleRegistration: { type: Boolean, default: false },\n template: String,\n backlink: String,\n shownFields: Object,\n requiredFields: Object,\n defaultSalutation: {\n type: String,\n default: App.config.addresses.defaultSalutation\n }\n },\n\n data() {\n return {\n password: \"\",\n passwordRepeat: \"\",\n username: \"\",\n billingAddress: {\n countryId: null,\n stateId: null,\n gender: this.defaultSalutation\n },\n isDisabled: false,\n privacyPolicyAccepted: false,\n privacyPolicyShowError: false,\n enableConfirmingPrivacyPolicy: App.config.global.registrationRequirePrivacyPolicyConfirmation,\n modalShown: false,\n honeypot: \"\",\n validPassLength: false,\n validPassDigit: false,\n validPassCharacter: false,\n showPassword: false,\n showPasswordRepeat: false\n };\n },\n\n mounted() {\n this.$nextTick(() => {\n if (this.modalElement) {\n this.initModalEventListeners();\n }\n });\n },\n\n watch: {\n password() {\n this.validPassLength = this.password.length >= 8;\n this.validPassDigit = this.password.match(/\\d/) !== null;\n this.validPassCharacter = this.password.match(/[a-zA-Z]/) !== null;\n }\n },\n\n methods: {\n validateRegistration() {\n ValidationService.validate(this.$refs.registrationForm)\n .done(() => {\n if (!this.enableConfirmingPrivacyPolicy || this.privacyPolicyAccepted) {\n this.sendRegistration();\n }\n else {\n this.privacyPolicyShowError = true;\n NotificationService.error(\n this.$translate(\"Ceres::Template.contactAcceptFormPrivacyPolicy\", { hyphen: \"­\" })\n );\n }\n })\n .fail(invalidFields => {\n if (!isNullOrUndefined(this.$refs.passwordHint) && invalidFields.indexOf(this.$refs.passwordInput) >= 0) {\n this.$refs.passwordHint.showPopper();\n }\n const invalidFieldNames = this.getInvalidFieldNames(invalidFields);\n if (invalidFieldNames.length > 0) {\n NotificationService.error(\n this.$translate(\"Ceres::Template.checkoutCheckAddressFormFields\", { fields: invalidFieldNames.join(\", \") })\n );\n }\n ValidationService.markInvalidFields(invalidFields, \"error\");\n if (this.enableConfirmingPrivacyPolicy && !this.privacyPolicyAccepted) {\n this.privacyPolicyShowError = true;\n NotificationService.error(\n this.$translate(\"Ceres::Template.contactAcceptFormPrivacyPolicy\", { hyphen: \"­\" })\n );\n }\n });\n },\n getInvalidFieldNames(invalidFields = []) {\n const fieldNames = [];\n\n for (const field of invalidFields) {\n let fieldName = field.querySelector('label').innerHTML.trim();\n\n fieldName = fieldName.slice(-1) === \"*\" ? fieldName.slice(0, fieldName.length - 1) : fieldName;\n fieldNames.push(fieldName);\n }\n\n return fieldNames;\n },\n\n /**\n * Send the registration\n */\n sendRegistration() {\n const userObject = this.getUserObject();\n\n this.isDisabled = true;\n\n ApiService.post(\"/rest/io/customer\", userObject)\n .done(response => {\n ApiService.setToken(response);\n\n if (!response.code) {\n document.dispatchEvent(new CustomEvent(\"onSignUpSuccess\", { detail: userObject }));\n\n NotificationService.success(\n this.$translate(\"Ceres::Template.regSuccessful\")\n ).closeAfter(3000);\n\n if (document.getElementById(this.modalElement) !== null) {\n ModalService.findModal(document.getElementById(this.modalElement)).hide();\n }\n\n if (this.backlink !== null && this.backlink) {\n navigateTo(decodeURIComponent(this.backlink));\n }\n else {\n location.reload();\n }\n }\n else {\n NotificationService.error(\n this.$translate(\"Ceres::Template.regError\")\n ).closeAfter(10000);\n }\n\n this.isDisabled = false;\n })\n .fail((error) => {\n NotificationService.error(error.error).closeAfter(10000);\n\n this.isDisabled = false;\n });\n },\n\n setAddressDataField({ field, value }) {\n this.billingAddress[field] = value;\n this.billingAddress = Object.assign({}, this.billingAddress);\n },\n\n /**\n * Handle the user object which is send to the server\n * @returns {{contact: {referrerId: number, typeId: number, options: {typeId: {typeId: number, subTypeId: number, value: *, priority: number}}}, honeypot: string}|{contact: {referrerId: number, typeId: number, password: *, options: {typeId: {typeId: number, subTypeId: number, value: *, priority: number}}}, honeypot: string}}\n */\n getUserObject() {\n const userObject =\n {\n contact: {\n referrerId: 1,\n typeId: 1,\n options: {\n typeId: {\n typeId: 2,\n subTypeId: 4,\n value: this.username,\n priority: 0\n }\n }\n },\n honeypot: this.honeypot\n };\n\n if (!this.guestMode) {\n userObject.contact.password = this.password;\n }\n\n if (!this.isSimpleRegistration) {\n this.billingAddress.isPrimary = 1;\n userObject.billingAddress = this.billingAddress;\n }\n\n return userObject;\n },\n\n privacyPolicyValueChanged(value) {\n this.privacyPolicyAccepted = value;\n\n if (value) {\n this.privacyPolicyShowError = false;\n }\n },\n\n initModalEventListeners() {\n const modal = ModalService.findModal(document.getElementById(this.modalElement));\n\n if (isDefined(modal)) {\n modal.on(\"show.bs.modal\",\n () => {\n this.modalShown = true;\n });\n\n modal.on(\"hide.bs.modal\",\n () => {\n this.modalShown = false;\n });\n }\n },\n\n togglePasswordVisibility(field) {\n if (field === 'password') {\n this.showPassword = !this.showPassword;\n } else if (field === 'passwordRepeat') {\n this.showPasswordRepeat = !this.showPasswordRepeat;\n }\n }\n }\n}\n</script>\n","import mod from \"-!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Registration.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!./Registration.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Registration.vue?vue&type=template&id=660f5e28&\"\nimport script from \"./Registration.vue?vue&type=script&lang=js&\"\nexport * from \"./Registration.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/philippneumann/Documents/frontendstudios/8291/430/GonserDT/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('660f5e28')) {\n api.createRecord('660f5e28', component.options)\n } else {\n api.reload('660f5e28', component.options)\n }\n module.hot.accept(\"./Registration.vue?vue&type=template&id=660f5e28&\", function () {\n api.rerender('660f5e28', {\n render: render,\n staticRenderFns: staticRenderFns\n })\n })\n }\n}\ncomponent.options.__file = \"resources/js/src/app/components/customer/Registration.vue\"\nexport default component.exports"],"sourceRoot":""}