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fH,EAAOpC,OAAQ,EACfkC,SAASM,KAAKC,YAAYL,EAC5B,CAEJ,EACAM,QAAS,WACP,IAAIC,EAAQjP,KAEZ4N,EAAUF,qBAEV,IAAIwB,EAAOlD,EAAS,CAAC,EAAGhM,KAAKmP,OAAQ,CACnC9R,SAAU2C,KAAKoP,WACf,mBAAoBpP,KAAKqP,YACzB,iBAAkBrP,KAAKsP,YAGrBC,EAAYvP,KAAKwP,OAAO,WAAaxP,KAAKyP,IAAIC,SAAS,GAAK1P,KAAKyP,IACrE7B,EAAU1O,OAAOqQ,EAAWL,GAAM,SAAUtJ,GAC1CqJ,EAAMU,UAAY/J,EAElBqJ,EAAMrQ,MAAM,SAAUgH,EACxB,GACF,EACA1E,QAAS,CACP8C,MAAO,WACL4J,EAAU5J,MAAMhE,KAAK2P,UACvB,EACAlC,QAAS,WACPG,EAAUH,QAAQzN,KAAK2P,UACzB,EACAP,WAAY,SAAoBQ,GAC9B5P,KAAKpB,MAAM,SAAUgR,EACvB,EACAP,YAAa,WACXrP,KAAKpB,MAAM,UACb,EACA0Q,UAAW,WACTtP,KAAKpB,MAAM,QACb,GAEFM,OAAQ,SAAgB2F,GACtB,OAAOA,EAAE,MAAO,CAAC,EAAG7E,KAAKwP,OAAO,WAClC,GAGF,K","sources":["webpack://neuro-terminal-spa-client/./src/view/login/components/registration-consents.vue","webpack://neuro-terminal-spa-client/src/view/login/components/registration-consents.vue","webpack://neuro-terminal-spa-client/./src/view/login/components/registration-consents.vue?1ead","webpack://neuro-terminal-spa-client/./src/view/login/components/registration-consents.vue?b0c1","webpack://neuro-terminal-spa-client/../../../src/components/VCheckbox/VCheckbox.ts","webpack://neuro-terminal-spa-client/../../../src/components/VForm/VForm.ts","webpack://neuro-terminal-spa-client/../../../src/mixins/rippleable/index.ts","webpack://neuro-terminal-spa-client/../../../src/mixins/selectable/index.ts","webpack://neuro-terminal-spa-client/./src/utility/error.handler.js","webpack://neuro-terminal-spa-client/./src/utility/validation.rules.js","webpack://neuro-terminal-spa-client/./node_modules/vue-recaptcha/dist/vue-recaptcha.es.js"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"mx-2\"},[(!_vm.isAdmin)?_c('div',{staticClass:\"d-flex mb-4\"},[_c('v-checkbox',{staticClass:\"mt-0\",attrs:{\"disabled\":_vm.disabled,\"hide-details\":\"\"},on:{\"change\":function($event){return _vm.changeAllConsents($event)}}}),_c('div',{staticClass:\"text-left font-weight-medium mt-2\"},[_c('span',[_vm._v(_vm._s(_vm.$t(\"view.login.register.selectAll\")))])])],1):_vm._e(),_c('div',{staticClass:\"d-flex mb-4\"},[_c('v-checkbox',{staticClass:\"mt-0\",attrs:{\"disabled\":_vm.disabled,\"rules\":_vm.rules.required,\"hide-details\":\"\"},on:{\"change\":function($event){return _vm.emitChanges()}},model:{value:(_vm.formData.approve),callback:function ($$v) {_vm.$set(_vm.formData, \"approve\", $$v)},expression:\"formData.approve\"}}),_c('div',{staticClass:\"text-left mt-1\"},[_c('span',[_vm._v(_vm._s(\"* \" + _vm.$t(\"view.login.register.isApprove1\")))]),_c('a',{staticClass:\"d-inline text-decoration-none\",attrs:{\"href\":\"\\\\documents\\\\Z3 POLITYKA PRYWATNOŚCI NEUROSPHERA.pdf\",\"target\":\"_blank\"}},[_vm._v(\" \"+_vm._s(_vm.$t(\"view.login.register.isApprove2\"))+\" \")]),_c('span',[_vm._v(_vm._s(_vm.$t(\"view.login.register.isApprove3\")))]),_c('a',{staticClass:\"d-inline text-decoration-none\",attrs:{\"target\":\"_blank\",\"href\":\"\\\\documents\\\\Z4 POLITYKA PRYWATNOŚCI NEUROTERMINAL.pdf\"}},[_vm._v(\" \"+_vm._s(_vm.$t(\"view.login.register.isApprove4\"))+\" \")])])],1),_c('div',{staticClass:\"d-flex mb-4\"},[_c('v-checkbox',{staticClass:\"mt-0\",attrs:{\"disabled\":_vm.disabled,\"rules\":_vm.rules.required,\"hide-details\":\"\"},on:{\"change\":function($event){return _vm.emitChanges()}},model:{value:(_vm.formData.terms),callback:function ($$v) {_vm.$set(_vm.formData, \"terms\", $$v)},expression:\"formData.terms\"}}),_c('div',{staticClass:\"text-left mt-1\"},[_c('span',[_vm._v(_vm._s(\"* \" + _vm.$t(\"component.patient.registration.form.isAgreeTerms1\")))]),_c('a',{staticClass:\"d-inline text-decoration-none\",attrs:{\"target\":\"_blank\",\"href\":\"\\\\documents\\\\Z2 REGULAMIN ŚWIADCZENIA USŁUG DROGĄ ELEKTRONICZNĄ W RAMACH APLIKACJI NEUROTERMINAL SKIEROWANY DO PACJENTÓW NEUROSPHERA.pdf\"}},[_vm._v(\" \"+_vm._s(_vm.$t(\"component.patient.registration.form.isAgreeTerms2\"))+\" \")]),_c('span',[_vm._v(_vm._s(_vm.$t(\"component.patient.registration.form.isAgreeTerms3\")))])])],1),(_vm.showMarketing)?_c('div',{staticClass:\"d-flex mb-4\"},[_c('v-checkbox',{staticClass:\"mt-0\",attrs:{\"disabled\":_vm.disabled,\"hide-details\":\"\"},on:{\"change\":function($event){return _vm.emitChanges()}},model:{value:(_vm.formData.marketing1and2),callback:function ($$v) {_vm.$set(_vm.formData, \"marketing1and2\", $$v)},expression:\"formData.marketing1and2\"}}),_c('div',{staticClass:\"text-left mt-1\"},[_c('span',[_vm._v(_vm._s(_vm.$t(\"component.patient.registration.form.marketing1and2\")))])])],1):_vm._e(),(_vm.showMarketing)?_c('div',{staticClass:\"d-flex\"},[_c('v-checkbox',{staticClass:\"mt-0\",attrs:{\"disabled\":_vm.disabled,\"hide-details\":\"\"},on:{\"change\":function($event){return _vm.emitChanges()}},model:{value:(_vm.formData.marketing3),callback:function ($$v) {_vm.$set(_vm.formData, \"marketing3\", $$v)},expression:\"formData.marketing3\"}}),_c('div',{staticClass:\"text-left mt-1\"},[_c('span',[_vm._v(_vm._s(_vm.$t(\"component.patient.registration.form.marketing3\")))])])],1):_vm._e()])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n \n \n \n \n {{ $t(\"view.login.register.selectAll\") }}\n \n \n \n \n \n {{ \"* \" + $t(\"view.login.register.isApprove1\") }}\n \n {{ $t(\"view.login.register.isApprove2\") }}\n \n {{ $t(\"view.login.register.isApprove3\") }}\n \n {{ $t(\"view.login.register.isApprove4\") }}\n \n \n \n \n \n \n {{ \"* \" + $t(\"component.patient.registration.form.isAgreeTerms1\") }}\n \n {{ $t(\"component.patient.registration.form.isAgreeTerms2\") }}\n \n {{ $t(\"component.patient.registration.form.isAgreeTerms3\") }}\n \n \n\n \n \n \n {{ $t(\"component.patient.registration.form.marketing1and2\") }}\n \n \n\n \n \n \n {{ $t(\"component.patient.registration.form.marketing3\") }}\n \n \n \n\n\n","import mod from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-41.use[2]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./registration-consents.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??clonedRuleSet-41.use[2]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./registration-consents.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./registration-consents.vue?vue&type=template&id=18058d8e\"\nimport script from \"./registration-consents.vue?vue&type=script&lang=ts\"\nexport * from \"./registration-consents.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","// Styles\nimport './VCheckbox.sass'\nimport '../../styles/components/_selection-controls.sass'\n\n// Components\nimport VIcon from '../VIcon'\nimport VInput from '../VInput'\n\n// Mixins\nimport Selectable from '../../mixins/selectable'\n\n/* @vue/component */\nexport default Selectable.extend({\n name: 'v-checkbox',\n\n props: {\n indeterminate: Boolean,\n indeterminateIcon: {\n type: String,\n default: '$checkboxIndeterminate',\n },\n offIcon: {\n type: String,\n default: '$checkboxOff',\n },\n onIcon: {\n type: String,\n default: '$checkboxOn',\n },\n },\n\n data () {\n return {\n inputIndeterminate: this.indeterminate,\n }\n },\n\n computed: {\n classes (): object {\n return {\n ...VInput.options.computed.classes.call(this),\n 'v-input--selection-controls': true,\n 'v-input--checkbox': true,\n 'v-input--indeterminate': this.inputIndeterminate,\n }\n },\n computedIcon (): string {\n if (this.inputIndeterminate) {\n return this.indeterminateIcon\n } else if (this.isActive) {\n return this.onIcon\n } else {\n return this.offIcon\n }\n },\n // Do not return undefined if disabled,\n // according to spec, should still show\n // a color when disabled and active\n validationState (): string | undefined {\n if (this.isDisabled && !this.inputIndeterminate) return undefined\n if (this.hasError && this.shouldValidate) return 'error'\n if (this.hasSuccess) return 'success'\n if (this.hasColor !== null) return this.computedColor\n return undefined\n },\n },\n\n watch: {\n indeterminate (val) {\n // https://github.com/vuetifyjs/vuetify/issues/8270\n this.$nextTick(() => (this.inputIndeterminate = val))\n },\n inputIndeterminate (val) {\n this.$emit('update:indeterminate', val)\n },\n isActive () {\n if (!this.indeterminate) return\n this.inputIndeterminate = false\n },\n },\n\n methods: {\n genCheckbox () {\n const { title, ...checkboxAttrs } = this.attrs$\n return this.$createElement('div', {\n staticClass: 'v-input--selection-controls__input',\n }, [\n this.$createElement(VIcon, this.setTextColor(this.validationState, {\n props: {\n dense: this.dense,\n dark: this.dark,\n light: this.light,\n },\n }), this.computedIcon),\n this.genInput('checkbox', {\n ...checkboxAttrs,\n 'aria-checked': this.inputIndeterminate\n ? 'mixed'\n : this.isActive.toString(),\n }),\n this.genRipple(this.setTextColor(this.rippleState)),\n ])\n },\n genDefaultSlot () {\n return [\n this.genCheckbox(),\n this.genLabel(),\n ]\n },\n },\n})\n","// Components\nimport VInput from '../VInput/VInput'\n\n// Mixins\nimport mixins from '../../util/mixins'\nimport BindsAttrs from '../../mixins/binds-attrs'\nimport { provide as RegistrableProvide } from '../../mixins/registrable'\n\n// Helpers\nimport { VNode } from 'vue'\nimport { getSlot } from '../../util/helpers'\n\ntype ErrorBag = Record\ntype VInputInstance = InstanceType\ntype Watchers = {\n _uid: number\n valid: () => void\n shouldValidate: () => void\n}\n\n/* @vue/component */\nexport default mixins(\n BindsAttrs,\n RegistrableProvide('form')\n /* @vue/component */\n).extend({\n name: 'v-form',\n\n provide (): object {\n return { form: this }\n },\n\n inheritAttrs: false,\n\n props: {\n disabled: Boolean,\n lazyValidation: Boolean,\n readonly: Boolean,\n value: Boolean,\n },\n\n data: () => ({\n inputs: [] as VInputInstance[],\n watchers: [] as Watchers[],\n errorBag: {} as ErrorBag,\n }),\n\n watch: {\n errorBag: {\n handler (val) {\n const errors = Object.values(val).includes(true)\n\n this.$emit('input', !errors)\n },\n deep: true,\n immediate: true,\n },\n },\n\n methods: {\n watchInput (input: any): Watchers {\n const watcher = (input: any): (() => void) => {\n return input.$watch('hasError', (val: boolean) => {\n this.$set(this.errorBag, input._uid, val)\n }, { immediate: true })\n }\n\n const watchers: Watchers = {\n _uid: input._uid,\n valid: () => {},\n shouldValidate: () => {},\n }\n\n if (this.lazyValidation) {\n // Only start watching inputs if we need to\n watchers.shouldValidate = input.$watch('shouldValidate', (val: boolean) => {\n if (!val) return\n\n // Only watch if we're not already doing it\n if (this.errorBag.hasOwnProperty(input._uid)) return\n\n watchers.valid = watcher(input)\n })\n } else {\n watchers.valid = watcher(input)\n }\n\n return watchers\n },\n /** @public */\n validate (): boolean {\n return this.inputs.filter(input => !input.validate(true)).length === 0\n },\n /** @public */\n reset (): void {\n this.inputs.forEach(input => input.reset())\n this.resetErrorBag()\n },\n resetErrorBag () {\n if (this.lazyValidation) {\n // Account for timeout in validatable\n setTimeout(() => {\n this.errorBag = {}\n }, 0)\n }\n },\n /** @public */\n resetValidation () {\n this.inputs.forEach(input => input.resetValidation())\n this.resetErrorBag()\n },\n register (input: VInputInstance) {\n this.inputs.push(input)\n this.watchers.push(this.watchInput(input))\n },\n unregister (input: VInputInstance) {\n const found = this.inputs.find(i => i._uid === input._uid)\n\n if (!found) return\n\n const unwatch = this.watchers.find(i => i._uid === found._uid)\n if (unwatch) {\n unwatch.valid()\n unwatch.shouldValidate()\n }\n\n this.watchers = this.watchers.filter(i => i._uid !== found._uid)\n this.inputs = this.inputs.filter(i => i._uid !== found._uid)\n this.$delete(this.errorBag, found._uid)\n },\n },\n\n render (h): VNode {\n return h('form', {\n staticClass: 'v-form',\n attrs: {\n novalidate: true,\n ...this.attrs$,\n },\n on: {\n submit: (e: Event) => this.$emit('submit', e),\n },\n }, getSlot(this))\n },\n})\n","// Directives\nimport ripple from '../../directives/ripple'\n\n// Types\nimport Vue, { VNode, VNodeData, VNodeDirective } from 'vue'\n\nexport default Vue.extend({\n name: 'rippleable',\n\n directives: { ripple },\n\n props: {\n ripple: {\n type: [Boolean, Object],\n default: true,\n },\n },\n\n methods: {\n genRipple (data: VNodeData = {}): VNode | null {\n if (!this.ripple) return null\n\n data.staticClass = 'v-input--selection-controls__ripple'\n\n data.directives = data.directives || []\n data.directives.push({\n name: 'ripple',\n value: { center: true },\n } as VNodeDirective)\n\n return this.$createElement('div', data)\n },\n },\n})\n","// Components\nimport VInput from '../../components/VInput'\n\n// Mixins\nimport Rippleable from '../rippleable'\nimport Comparable from '../comparable'\n\n// Utilities\nimport mixins from '../../util/mixins'\n\nexport function prevent (e: Event) {\n e.preventDefault()\n}\n\n/* @vue/component */\nexport default mixins(\n VInput,\n Rippleable,\n Comparable\n).extend({\n name: 'selectable',\n\n model: {\n prop: 'inputValue',\n event: 'change',\n },\n\n props: {\n id: String,\n inputValue: null as any,\n falseValue: null as any,\n trueValue: null as any,\n multiple: {\n type: Boolean,\n default: null,\n },\n label: String,\n },\n\n data () {\n return {\n hasColor: this.inputValue,\n lazyValue: this.inputValue,\n }\n },\n\n computed: {\n computedColor (): string | undefined {\n if (!this.isActive) return undefined\n if (this.color) return this.color\n if (this.isDark && !this.appIsDark) return 'white'\n return 'primary'\n },\n isMultiple (): boolean {\n return this.multiple === true || (this.multiple === null && Array.isArray(this.internalValue))\n },\n isActive (): boolean {\n const value = this.value\n const input = this.internalValue\n\n if (this.isMultiple) {\n if (!Array.isArray(input)) return false\n\n return input.some(item => this.valueComparator(item, value))\n }\n\n if (this.trueValue === undefined || this.falseValue === undefined) {\n return value\n ? this.valueComparator(value, input)\n : Boolean(input)\n }\n\n return this.valueComparator(input, this.trueValue)\n },\n isDirty (): boolean {\n return this.isActive\n },\n rippleState (): string | undefined {\n return !this.isDisabled && !this.validationState\n ? undefined\n : this.validationState\n },\n },\n\n watch: {\n inputValue (val) {\n this.lazyValue = val\n this.hasColor = val\n },\n },\n\n methods: {\n genLabel () {\n const label = VInput.options.methods.genLabel.call(this)\n\n if (!label) return label\n\n label!.data!.on = {\n // Label shouldn't cause the input to focus\n click: prevent,\n }\n\n return label\n },\n genInput (type: string, attrs: object) {\n return this.$createElement('input', {\n attrs: Object.assign({\n 'aria-checked': this.isActive.toString(),\n disabled: this.isDisabled,\n id: this.computedId,\n role: type,\n type,\n }, attrs),\n domProps: {\n value: this.value,\n checked: this.isActive,\n },\n on: {\n blur: this.onBlur,\n change: this.onChange,\n focus: this.onFocus,\n keydown: this.onKeydown,\n click: prevent,\n },\n ref: 'input',\n })\n },\n onClick (e: Event) {\n this.onChange()\n this.$emit('click', e)\n },\n onChange () {\n if (!this.isInteractive) return\n\n const value = this.value\n let input = this.internalValue\n\n if (this.isMultiple) {\n if (!Array.isArray(input)) {\n input = []\n }\n\n const length = input.length\n\n input = input.filter((item: any) => !this.valueComparator(item, value))\n\n if (input.length === length) {\n input.push(value)\n }\n } else if (this.trueValue !== undefined && this.falseValue !== undefined) {\n input = this.valueComparator(input, this.trueValue) ? this.falseValue : this.trueValue\n } else if (value) {\n input = this.valueComparator(input, value) ? null : value\n } else {\n input = !input\n }\n\n this.validate(true, input)\n this.internalValue = input\n this.hasColor = input\n },\n onFocus (e: FocusEvent) {\n this.isFocused = true\n this.$emit('focus', e)\n },\n onBlur (e: FocusEvent) {\n this.isFocused = false\n this.$emit('blur', e)\n },\n /** @abstract */\n onKeydown (e: Event) {},\n },\n})\n","import EventBus from \"./event.bus\";\nimport Vue from \"vue\";\nimport {instance} from \"../main\";\nimport lodash from 'lodash';\n\nconst noOpAction = () => {\n // no-op\n};\n\nexport default new Vue({\n i18n: instance.$i18n,\n methods: {\n handleGenericError(error, skipTranslation = false) {\n\n // console.log(JSON.stringify(error));\n\n const message = lodash.get(error, 'response.data.message', lodash.get(error, 'message'));\n const key = `serverErrors.${message}`;\n EventBus.$emit('show-error-info', {\n message: this.$te(key) ? key : ((skipTranslation && message) || this.$te(message) ? message : 'serverErrors.unexpected'),\n action: noOpAction,\n });\n },\n }\n})\n","import Vue from \"vue\";\nimport i18n from \"../plugin/i18n\";\nimport ProcessingUtils from './processing.utils';\n\nconst instance = new Vue({\n i18n,\n\n data: () => ({\n\n required: [\n v => !!v || instance.$i18n.t('validation.required')\n ],\n\n booleanRequired: [v => !!v || v === false || instance.$i18n.t('validation.required')],\n\n email: [\n v => /^(([^<>()\\[\\]\\\\.,;:\\s@\"]+(\\.[^<>()\\[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/.test(v) || instance.$i18n.t('validation.email')\n ],\n\n // phone: [\n // v =>\n // ],\n\n alphanumeric: [\n v => /^[a-z0-9]+$/i.test(v) || instance.$i18n.t('validation.alphanumeric') //FIXME: dopuszczac znaki diakrytyczne\n ],\n\n doctorWorkCertNr: [\n v => {\n const msg = instance.$i18n.t('validation.pwz');\n\n if (!v || typeof v !== 'string' || v.length !== 7) {\n return msg;\n }\n\n let calc = v.substring(1);\n let weights = [1, 2, 3, 4, 5, 6];\n let product = 0;\n\n for (let i = 0; i < weights.length; ++i) {\n product += weights[i] * parseInt(calc.substr(i, 1));\n }\n\n let control = product % 11;\n if (control === 0 || control > 9) {\n return msg;\n }\n\n if (control !== parseInt(v.substr(0, 1))) {\n return msg;\n }\n\n return true;\n }\n ],\n\n zusCertificate: [\n v => {\n if (v && !v.name.endsWith('.pfx')) {\n return instance.$i18n.t('validation.zusCertificate')\n } else {\n return true;\n }\n },\n ],\n\n nip: [\n v => {\n const msg = instance.$i18n.t('validation.nip');\n\n if (!v || typeof v !== 'string' || v.length !== 10) {\n return msg;\n }\n\n let nip = v.replace(/[\\ \\-]/gi, '');\n\n let weight = [6, 5, 7, 2, 3, 4, 5, 6, 7];\n let sum = 0;\n let controlNumber = parseInt(nip.substring(9, 10));\n for (let i = 0; i < weight.length; i++) {\n sum += (parseInt(nip.substr(i, 1)) * weight[i]);\n }\n\n if (sum % 11 !== controlNumber) {\n return msg;\n }\n\n return true;\n }\n ],\n\n regon: [\n v => {\n const msg = instance.$i18n.t('validation.regon');\n\n if (!v || typeof v !== 'string' || v.length !== 9) {\n return msg;\n }\n\n return true;\n }\n ],\n\n regon14: [\n v => {\n const msg = instance.$i18n.t('validation.regon');\n\n if (!v || typeof v !== 'string' || v.length !== 14) {\n return msg;\n }\n\n return true;\n }\n ],\n\n pesel: [\n v => {\n const msg = instance.$i18n.t('validation.pesel');\n\n if (v) {\n if (typeof v !== 'string' || v.length !== 11 || isNaN(v)) {\n return msg;\n }\n\n if (!ProcessingUtils.decodePeselInfo(v).valid) {\n return msg;\n }\n }\n\n return true;\n }\n ],\n\n strongPassword: [\n v => {\n if (!/[a-z]+/.test(v)) {\n return instance.$i18n.t('validation.password.lowercase');\n }\n if (!/[A-Z]+/.test(v)) {\n return instance.$i18n.t('validation.password.uppercase');\n }\n if (!/.{8,}/.test(v)) {\n return instance.$i18n.t('validation.password.minimumChar', {length: 8});\n }\n if (!/[0-9]+/.test(v)) {\n return instance.$i18n.t('validation.password.numericChar');\n }\n if (!(/[!@$\\-_\\\\.*]+/.test(v) && /^[a-zA-Z0-9!@$\\-_\\\\.*]+$/.test(v))) {\n return instance.$i18n.t('validation.password.specialChar');\n }\n return true;\n }\n ],\n\n weightRules: [\n (v) => (v !== undefined && v !== null && v !== '') || instance.$i18n.t('view.ictal.lab.drugs.validation.weightRequired'),\n (v) => (Number(v) >= -3 && Number(v) <= 3) || instance.$i18n.t('view.ictal.lab.drugs.validation.weightRange')\n ],\n\n minCharLength(length) {\n return [\n v => (v || '').length >= length || instance.$i18n.t('validation.min', {length})\n ]\n },\n\n maxCharLength(length) {\n return [\n v => (v || '').length <= length || instance.$i18n.t('validation.max', {length})\n ];\n },\n\n exactCharLength(length) {\n return this.minCharLength(length).concat(this.maxCharLength(length));\n },\n\n maxFileSize(size) {\n return [\n value => !value || value.size < size || instance.$i18n.t('validation.maxFileSize', {size: size / 1000000})\n ]\n },\n\n maxLines(maxLines, lineLength) {\n return [v => {\n const lines = (v || '').split(\"\\n\")\n const lineCount = lines.flatMap(line => {\n const words = line.split(/\\s+/)\n const newLines = [\"\"];\n words.forEach(word => {\n let lastLine = newLines[newLines.length - 1];\n if((lastLine + word).length < lineLength) {\n newLines[newLines.length - 1] = `${lastLine} ${word}`\n } else {\n newLines.push(word)\n }\n })\n return newLines;\n }).length\n return lineCount <= maxLines || instance.$i18n.t('validation.maxLines')\n }]\n }\n }),\n\n computed: {\n\n requiredAlphanumeric() {\n return this.required.concat(this.alphanumeric);\n }\n }\n});\n\nexport default instance;\n","function _extends() {\n _extends = Object.assign || function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n\n return target;\n };\n\n return _extends.apply(this, arguments);\n}\n\nvar defer = function defer() {\n var state = false; // Resolved or not\n\n var callbacks = [];\n\n var resolve = function resolve(val) {\n if (state) {\n return;\n }\n\n state = true;\n\n for (var i = 0, len = callbacks.length; i < len; i++) {\n callbacks[i](val);\n }\n };\n\n var then = function then(cb) {\n if (!state) {\n callbacks.push(cb);\n return;\n }\n\n cb();\n };\n\n var deferred = {\n resolved: function resolved() {\n return state;\n },\n resolve: resolve,\n promise: {\n then: then\n }\n };\n return deferred;\n};\n\nvar ownProp = Object.prototype.hasOwnProperty;\nfunction createRecaptcha() {\n var deferred = defer();\n return {\n notify: function notify() {\n deferred.resolve();\n },\n wait: function wait() {\n return deferred.promise;\n },\n render: function render(ele, options, cb) {\n this.wait().then(function () {\n cb(window.grecaptcha.render(ele, options));\n });\n },\n reset: function reset(widgetId) {\n if (typeof widgetId === 'undefined') {\n return;\n }\n\n this.assertLoaded();\n this.wait().then(function () {\n return window.grecaptcha.reset(widgetId);\n });\n },\n execute: function execute(widgetId) {\n if (typeof widgetId === 'undefined') {\n return;\n }\n\n this.assertLoaded();\n this.wait().then(function () {\n return window.grecaptcha.execute(widgetId);\n });\n },\n checkRecaptchaLoad: function checkRecaptchaLoad() {\n if (ownProp.call(window, 'grecaptcha') && ownProp.call(window.grecaptcha, 'render')) {\n this.notify();\n }\n },\n assertLoaded: function assertLoaded() {\n if (!deferred.resolved()) {\n throw new Error('ReCAPTCHA has not been loaded');\n }\n }\n };\n}\nvar recaptcha = createRecaptcha();\n\nif (typeof window !== 'undefined') {\n window.vueRecaptchaApiLoaded = recaptcha.notify;\n}\n\nvar VueRecaptcha = {\n name: 'VueRecaptcha',\n props: {\n sitekey: {\n type: String,\n required: true\n },\n theme: {\n type: String\n },\n badge: {\n type: String\n },\n type: {\n type: String\n },\n size: {\n type: String\n },\n tabindex: {\n type: String\n },\n loadRecaptchaScript: {\n type: Boolean,\n \"default\": false\n },\n recaptchaScriptId: {\n type: String,\n \"default\": '__RECAPTCHA_SCRIPT'\n },\n recaptchaHost: {\n type: String,\n \"default\": 'www.google.com'\n },\n language: {\n type: String,\n \"default\": ''\n }\n },\n beforeMount: function beforeMount() {\n if (this.loadRecaptchaScript) {\n if (!document.getElementById(this.recaptchaScriptId)) {\n // Note: vueRecaptchaApiLoaded load callback name is per the latest documentation\n var script = document.createElement('script');\n script.id = this.recaptchaScriptId;\n script.src = \"https://\" + this.recaptchaHost + \"/recaptcha/api.js?onload=vueRecaptchaApiLoaded&render=explicit&hl=\" + this.language;\n script.async = true;\n script.defer = true;\n document.head.appendChild(script);\n }\n }\n },\n mounted: function mounted() {\n var _this = this;\n\n recaptcha.checkRecaptchaLoad();\n\n var opts = _extends({}, this.$props, {\n callback: this.emitVerify,\n 'expired-callback': this.emitExpired,\n 'error-callback': this.emitError\n });\n\n var container = this.$slots[\"default\"] ? this.$el.children[0] : this.$el;\n recaptcha.render(container, opts, function (id) {\n _this.$widgetId = id;\n\n _this.$emit('render', id);\n });\n },\n methods: {\n reset: function reset() {\n recaptcha.reset(this.$widgetId);\n },\n execute: function execute() {\n recaptcha.execute(this.$widgetId);\n },\n emitVerify: function emitVerify(response) {\n this.$emit('verify', response);\n },\n emitExpired: function emitExpired() {\n this.$emit('expired');\n },\n emitError: function emitError() {\n this.$emit('error');\n }\n },\n render: function render(h) {\n return h('div', {}, this.$slots[\"default\"]);\n }\n};\n\nexport default VueRecaptcha;\n"],"names":["_c","_self","_setup","staticClass","_vm","isAdmin","attrs","model","callback","$set","formData","expression","staticRenderFns","RegistrationConsents","Vue","constructor","args","_defineProperty","rules","ValidationRules","DataStore","isBusinessUserSet","getUser","profile","changeAllConsents","value","approve","terms","marketing1and2","marketing3","emitChanges","$emit","__decorate","Prop","default","Component","component","render","Selectable","extend","name","props","indeterminate","Boolean","indeterminateIcon","type","String","offIcon","onIcon","data","inputIndeterminate","this","computed","classes","VInput","options","call","computedIcon","isActive","validationState","isDisabled","hasError","shouldValidate","hasSuccess","hasColor","computedColor","watch","val","$nextTick","methods","genCheckbox","title","checkboxAttrs","attrs$","$createElement","VIcon","setTextColor","dense","dark","light","genInput","toString","genRipple","rippleState","genDefaultSlot","genLabel","mixins","BindsAttrs","RegistrableProvide","provide","form","inheritAttrs","disabled","lazyValidation","readonly","inputs","watchers","errorBag","handler","errors","Object","values","includes","deep","immediate","watchInput","input","watcher","$watch","_uid","valid","hasOwnProperty","validate","filter","length","reset","forEach","resetErrorBag","setTimeout","resetValidation","register","push","unregister","found","find","i","unwatch","$delete","h","novalidate","on","submit","e","getSlot","directives","ripple","center","prevent","preventDefault","Rippleable","Comparable","prop","event","id","inputValue","falseValue","trueValue","multiple","label","lazyValue","color","isDark","appIsDark","isMultiple","Array","isArray","internalValue","some","item","valueComparator","undefined","isDirty","click","assign","computedId","role","domProps","checked","blur","onBlur","change","onChange","focus","onFocus","keydown","onKeydown","ref","onClick","isInteractive","isFocused","noOpAction","i18n","instance","$i18n","handleGenericError","error","skipTranslation","message","lodash","key","EventBus","$te","action","required","v","t","booleanRequired","email","test","alphanumeric","doctorWorkCertNr","msg","calc","substring","weights","product","parseInt","substr","control","zusCertificate","endsWith","nip","replace","weight","sum","controlNumber","regon","regon14","pesel","isNaN","ProcessingUtils","decodePeselInfo","strongPassword","weightRules","Number","minCharLength","maxCharLength","exactCharLength","concat","maxFileSize","size","maxLines","lineLength","lines","split","lineCount","flatMap","line","words","newLines","word","lastLine","requiredAlphanumeric","_extends","target","arguments","source","prototype","apply","defer","state","callbacks","resolve","len","then","cb","deferred","resolved","promise","ownProp","createRecaptcha","notify","wait","ele","window","grecaptcha","widgetId","assertLoaded","execute","checkRecaptchaLoad","Error","recaptcha","vueRecaptchaApiLoaded","VueRecaptcha","sitekey","theme","badge","tabindex","loadRecaptchaScript","recaptchaScriptId","recaptchaHost","language","beforeMount","document","getElementById","script","createElement","src","async","head","appendChild","mounted","_this","opts","$props","emitVerify","emitExpired","emitError","container","$slots","$el","children","$widgetId","response"],"sourceRoot":""}