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wG,SAAU,YAGRC,EAAarH,IACfmH,EAAOC,SAAWpH,EAAQ,SAAW,SAAS,EAG5C5C,GAAOyC,EAAAA,EAAAA,KAAS,IAAM,UAAY1C,EAAM0J,YDH9C,MAAO,CAAC/I,EAAUC,MACRC,EAAAA,EAAAA,OAAcC,EAAAA,EAAAA,IAAoB,MAAO,CAC/CC,MAAO,mBACPoJ,OAAOC,EAAAA,EAAAA,IAAgBJ,IACtB,GACAnJ,EAAAA,EAAAA,OAAcuI,EAAAA,EAAAA,KAAaiB,EAAAA,EAAAA,IAAyBT,EAAU/G,OAAQ,CACrE5C,KAAMA,EAAK4C,MACXyH,QAAS1J,EAAO,KAAOA,EAAO,GAAM2D,GAAiB2F,GAAU,IAC/DK,aAAc3J,EAAO,KAAOA,EAAO,GAAM2D,GAAiB2F,GAAU,KACnE,CACD1F,SAASC,EAAAA,EAAAA,KAAS,IAAM,EACtBnD,EAAAA,EAAAA,IAAYX,EAAKY,OAAQ,cAE3B6D,EAAG,GACF,GAAI,CAAC,WACP,GAEL,IE3CM1D,EAAc,EAEpB,G","sources":["webpack://@sazka/kasa-loyalty/./js/app/account/components/inputs/account-input.vue?1127","webpack://@sazka/kasa-loyalty/./js/app/account/components/inputs/account-input.vue","webpack://@sazka/kasa-loyalty/./js/app/account/components/inputs/account-input.vue?4fe4","webpack://@sazka/kasa-loyalty/./js/app/account/components/inputs/new-password-input.vue?2fdc","webpack://@sazka/kasa-loyalty/./js/app/account/components/inputs/new-password-input.vue","webpack://@sazka/kasa-loyalty/./js/app/account/components/inputs/new-password-input.vue?0435","webpack://@sazka/kasa-loyalty/./js/app/account/components/inputs/phone-input.vue?eec0","webpack://@sazka/kasa-loyalty/./js/app/account/components/inputs/phone-input.vue","webpack://@sazka/kasa-loyalty/./js/app/account/components/inputs/phone-input.vue?dddf","webpack://@sazka/kasa-loyalty/./js/app/account/components/inputs/pin-input.vue?e144","webpack://@sazka/kasa-loyalty/./js/app/account/components/inputs/pin-input.vue","webpack://@sazka/kasa-loyalty/./js/app/account/components/inputs/pin-input.vue?3a60","webpack://@sazka/kasa-loyalty/./js/app/account/components/shared/info-text.vue?f9c5","webpack://@sazka/kasa-loyalty/./js/app/account/components/shared/info-text.vue","webpack://@sazka/kasa-loyalty/./js/app/account/components/shared/info-text.vue?410a","webpack://@sazka/kasa-loyalty/./js/app/components/shared/assets/kasa-icon.vue?6bdf","webpack://@sazka/kasa-loyalty/./js/app/components/shared/assets/kasa-icon.vue","webpack://@sazka/kasa-loyalty/./js/app/components/shared/assets/kasa-icon.vue?01c8","webpack://@sazka/kasa-loyalty/../../libs/design-system/src/transitions/transition-slide.vue?2640","webpack://@sazka/kasa-loyalty/../../libs/design-system/src/transitions/transition-slide.vue","webpack://@sazka/kasa-loyalty/../../libs/design-system/src/transitions/transition-slide.vue?4522"],"sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { toDisplayString as _toDisplayString, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, renderSlot as _renderSlot, createElementVNode as _createElementVNode, normalizeClass as _normalizeClass } from \"vue\"\n\nconst _hoisted_1 = [\"for\"]\nconst _hoisted_2 = [\"innerHTML\"]\n\nimport { watch } from \"vue\";\r\n\r\n\nexport default /*@__PURE__*/_defineComponent({\n  __name: 'account-input',\n  props: {\n    name: {},\n    errorMessage: {},\n    title: {}\n  },\n  emits: [\"inputErrorDetected\"],\n  setup(__props: any, { emit: __emit }) {\n\r\nconst emit = __emit;\r\n\r\nconst props = __props;\r\n\r\nwatch(\r\n    () => props.errorMessage,\r\n    (newErrorMessage) => {\r\n        if (newErrorMessage) emit(\"inputErrorDetected\");\r\n    }\r\n);\r\n\nreturn (_ctx: any,_cache: any) => {\n  return (_openBlock(), _createElementBlock(\"div\", {\n    class: _normalizeClass([\"account-input\", { error: _ctx.errorMessage }])\n  }, [\n    (_ctx.title)\n      ? (_openBlock(), _createElementBlock(\"label\", {\n          key: 0,\n          class: \"account-input__label\",\n          for: _ctx.name\n        }, _toDisplayString(_ctx.title), 9, _hoisted_1))\n      : _createCommentVNode(\"\", true),\n    _renderSlot(_ctx.$slots, \"default\"),\n    _createElementVNode(\"div\", {\n      class: \"account-input__error\",\n      innerHTML: _ctx.errorMessage\n    }, null, 8, _hoisted_2)\n  ], 2))\n}\n}\n\n})","<template>\r\n    <div class=\"account-input\" :class=\"{ error: errorMessage }\">\r\n        <label class=\"account-input__label\" v-if=\"title\" :for=\"name\">{{ title }}</label>\r\n        <slot></slot>\r\n        <div class=\"account-input__error\" v-html=\"errorMessage\"></div>\r\n    </div>\r\n</template>\r\n\r\n<script setup lang=\"ts\">\r\nimport { watch } from \"vue\";\r\n\r\nconst emit = defineEmits([\"inputErrorDetected\"]);\r\n\r\nconst props = defineProps<{\r\n    name: string;\r\n    errorMessage?: string;\r\n    title?: string;\r\n}>();\r\n\r\nwatch(\r\n    () => props.errorMessage,\r\n    (newErrorMessage) => {\r\n        if (newErrorMessage) emit(\"inputErrorDetected\");\r\n    }\r\n);\r\n</script>\r\n","import script from \"./account-input.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./account-input.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { useModel as _useModel, mergeModels as _mergeModels, defineComponent as _defineComponent } from 'vue'\nimport { vModelDynamic as _vModelDynamic, createElementVNode as _createElementVNode, withDirectives as _withDirectives, createVNode as _createVNode, withCtx as _withCtx, normalizeClass as _normalizeClass, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"password-input\" }\nconst _hoisted_2 = { class: \"password-input__container\" }\nconst _hoisted_3 = [\"type\", \"id\", \"placeholder\", \"autocomplete\"]\nconst _hoisted_4 = { class: \"password-input__check-list\" }\n\nimport { computed, onMounted, reactive, ref } from \"vue\";\r\nimport KasaIcon from \"@/components/shared/assets/kasa-icon.vue\";\r\nimport AccountInput from \"./account-input.vue\";\r\n\r\n/* eslint-disable @typescript-eslint/naming-convention */\r\n\nexport default /*@__PURE__*/_defineComponent({\n  __name: 'new-password-input',\n  props: /*@__PURE__*/_mergeModels({\n    modelValue: {},\n    name: {},\n    dataLayerErrorLogger: { type: Function },\n    placeholder: {},\n    autocompleteOff: { type: Boolean },\n    hideTitle: { type: Boolean }\n  }, {\n    \"errorMessage\": {},\n    \"errorMessageModifiers\": {},\n  }),\n  emits: /*@__PURE__*/_mergeModels([\"update:modelValue\", \"inputErrorDetected\"], [\"update:errorMessage\"]),\n  setup(__props: any, { expose: __expose, emit: __emit }) {\n\r\nconst emit = __emit;\r\n\r\nconst props = __props;\r\n\r\nconst errorMessage = _useModel<string>(__props, \"errorMessage\");\r\n\r\nconst passwordValue = computed({\r\n    get() {\r\n        return props.modelValue;\r\n    },\r\n    set(passwordValue) {\r\n        errorMessage.value = null;\r\n        emit(\"update:modelValue\", passwordValue);\r\n    },\r\n});\r\n\r\nconst eyeActive = ref(false);\r\nconst showPassword = async () => {\r\n    eyeActive.value = !eyeActive.value;\r\n};\r\n\r\nconst inputType = computed(() => (eyeActive.value ? \"text\" : \"password\"));\r\n\r\nconst checkPasswordSpecialCharacters = () => /\\W+/.test(passwordValue.value);\r\nconst checkPasswordNumberLetter = () => /\\d+/.test(passwordValue.value) && /[A-Za-z]+/.test(passwordValue.value);\r\nconst checkPasswordLength = () => passwordValue.value.length >= 6;\r\n\r\nconst checkList = reactive({\r\n    specialCharacters: true,\r\n    number: false,\r\n    length: false,\r\n});\r\n\r\nconst isNewPasswordValid = computed(() => checkList.specialCharacters && checkList.number && checkList.length);\r\n\r\nconst validPassword = () => {\r\n    checkList.specialCharacters = !checkPasswordSpecialCharacters();\r\n    checkList.number = checkPasswordNumberLetter();\r\n    checkList.length = checkPasswordLength();\r\n\r\n    return isNewPasswordValid.value;\r\n};\r\n\r\nconst checkIfIsValid = (silentCheck?: boolean): boolean => {\r\n    let isValid = true;\r\n\r\n    if (!passwordValue.value) {\r\n        if (!silentCheck) {\r\n            errorMessage.value = \"Nastavte si vaše heslo.\";\r\n        }\r\n        isValid = false;\r\n    } else if (!isNewPasswordValid.value) {\r\n        if (!silentCheck) {\r\n            errorMessage.value = \"Heslo není validní.\";\r\n        }\r\n        isValid = false;\r\n    }\r\n\r\n    return isValid;\r\n};\r\n\r\n__expose({\r\n    checkIfIsValid,\r\n});\r\n\r\nconst inputRef = ref<HTMLInputElement>(null);\r\nonMounted(() => {\r\n    inputRef.value.focus();\r\n});\r\n\nreturn (_ctx: any,_cache: any) => {\n  return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n    _createVNode(AccountInput, {\n      errorMessage: errorMessage.value,\n      title: _ctx.hideTitle ? null : 'Vytvořte heslo',\n      name: _ctx.name,\n      onInputErrorDetected: _cache[1] || (_cache[1] = ($event: any) => (emit('inputErrorDetected', _ctx.name, errorMessage.value)))\n    }, {\n      default: _withCtx(() => [\n        _createElementVNode(\"div\", _hoisted_2, [\n          _withDirectives(_createElementVNode(\"input\", {\n            type: inputType.value,\n            \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((passwordValue).value = $event)),\n            id: _ctx.name,\n            ref_key: \"inputRef\",\n            ref: inputRef,\n            onKeyup: validPassword,\n            placeholder: _ctx.placeholder,\n            autocomplete: _ctx.autocompleteOff ? 'off' : null\n          }, null, 40, _hoisted_3), [\n            [_vModelDynamic, passwordValue.value]\n          ]),\n          _createVNode(KasaIcon, {\n            name: \"eye\",\n            width: 20,\n            height: 20,\n            class: \"password-input__input-icon\",\n            onClick: showPassword\n          })\n        ])\n      ]),\n      _: 1\n    }, 8, [\"errorMessage\", \"title\", \"name\"]),\n    _createElementVNode(\"div\", _hoisted_4, [\n      _createElementVNode(\"div\", {\n        class: _normalizeClass([\"password-input__check\", { checked: checkList.specialCharacters }])\n      }, \" Nesmí obsahovat diakritiku či speciální znaky \", 2),\n      _createElementVNode(\"div\", {\n        class: _normalizeClass([\"password-input__check\", { checked: checkList.number }])\n      }, \" Musí obsahovat alespoň 1 číslici a písmeno. \", 2),\n      _createElementVNode(\"div\", {\n        class: _normalizeClass([\"password-input__check\", { checked: checkList.length }])\n      }, \" Musí mít délku alespoň 6 znaků. \", 2)\n    ])\n  ]))\n}\n}\n\n})","<template>\r\n    <div class=\"password-input\">\r\n        <AccountInput\r\n            :errorMessage=\"errorMessage\"\r\n            :title=\"hideTitle ? null : 'Vytvořte heslo'\"\r\n            :name=\"name\"\r\n            @inputErrorDetected=\"emit('inputErrorDetected', name, errorMessage)\"\r\n        >\r\n            <div class=\"password-input__container\">\r\n                <input\r\n                    :type=\"inputType\"\r\n                    v-model=\"passwordValue\"\r\n                    :id=\"name\"\r\n                    ref=\"inputRef\"\r\n                    @keyup=\"validPassword\"\r\n                    :placeholder=\"placeholder\"\r\n                    :autocomplete=\"autocompleteOff ? 'off' : null\"\r\n                />\r\n                <KasaIcon\r\n                    name=\"eye\"\r\n                    :width=\"20\"\r\n                    :height=\"20\"\r\n                    class=\"password-input__input-icon\"\r\n                    @click=\"showPassword\"\r\n                ></KasaIcon>\r\n            </div>\r\n        </AccountInput>\r\n\r\n        <div class=\"password-input__check-list\">\r\n            <div class=\"password-input__check\" :class=\"{ checked: checkList.specialCharacters }\">\r\n                Nesmí obsahovat diakritiku či speciální znaky\r\n            </div>\r\n            <div class=\"password-input__check\" :class=\"{ checked: checkList.number }\">\r\n                Musí obsahovat alespoň 1 číslici a&nbsp;písmeno.\r\n            </div>\r\n            <div class=\"password-input__check\" :class=\"{ checked: checkList.length }\">\r\n                Musí mít délku alespoň 6 znaků.\r\n            </div>\r\n        </div>\r\n    </div>\r\n</template>\r\n\r\n<script setup lang=\"ts\">\r\nimport { computed, onMounted, reactive, ref } from \"vue\";\r\nimport KasaIcon from \"@/components/shared/assets/kasa-icon.vue\";\r\nimport AccountInput from \"./account-input.vue\";\r\n\r\n/* eslint-disable @typescript-eslint/naming-convention */\r\nconst emit = defineEmits<{\r\n    \"update:modelValue\": [newValue: string];\r\n    inputErrorDetected: [fieldName: string, errorMessage: string];\r\n}>();\r\n\r\nconst props = defineProps<{\r\n    modelValue: string;\r\n    name: string;\r\n    dataLayerErrorLogger?: (fieldName: string, message: string) => void;\r\n    placeholder?: string;\r\n    autocompleteOff?: boolean;\r\n    hideTitle?: boolean;\r\n}>();\r\n\r\nconst errorMessage = defineModel<string>(\"errorMessage\");\r\n\r\nconst passwordValue = computed({\r\n    get() {\r\n        return props.modelValue;\r\n    },\r\n    set(passwordValue) {\r\n        errorMessage.value = null;\r\n        emit(\"update:modelValue\", passwordValue);\r\n    },\r\n});\r\n\r\nconst eyeActive = ref(false);\r\nconst showPassword = async () => {\r\n    eyeActive.value = !eyeActive.value;\r\n};\r\n\r\nconst inputType = computed(() => (eyeActive.value ? \"text\" : \"password\"));\r\n\r\nconst checkPasswordSpecialCharacters = () => /\\W+/.test(passwordValue.value);\r\nconst checkPasswordNumberLetter = () => /\\d+/.test(passwordValue.value) && /[A-Za-z]+/.test(passwordValue.value);\r\nconst checkPasswordLength = () => passwordValue.value.length >= 6;\r\n\r\nconst checkList = reactive({\r\n    specialCharacters: true,\r\n    number: false,\r\n    length: false,\r\n});\r\n\r\nconst isNewPasswordValid = computed(() => checkList.specialCharacters && checkList.number && checkList.length);\r\n\r\nconst validPassword = () => {\r\n    checkList.specialCharacters = !checkPasswordSpecialCharacters();\r\n    checkList.number = checkPasswordNumberLetter();\r\n    checkList.length = checkPasswordLength();\r\n\r\n    return isNewPasswordValid.value;\r\n};\r\n\r\nconst checkIfIsValid = (silentCheck?: boolean): boolean => {\r\n    let isValid = true;\r\n\r\n    if (!passwordValue.value) {\r\n        if (!silentCheck) {\r\n            errorMessage.value = \"Nastavte si vaše heslo.\";\r\n        }\r\n        isValid = false;\r\n    } else if (!isNewPasswordValid.value) {\r\n        if (!silentCheck) {\r\n            errorMessage.value = \"Heslo není validní.\";\r\n        }\r\n        isValid = false;\r\n    }\r\n\r\n    return isValid;\r\n};\r\n\r\ndefineExpose({\r\n    checkIfIsValid,\r\n});\r\n\r\nconst inputRef = ref<HTMLInputElement>(null);\r\nonMounted(() => {\r\n    inputRef.value.focus();\r\n});\r\n</script>\r\n","import script from \"./new-password-input.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./new-password-input.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { useModel as _useModel, mergeModels as _mergeModels, defineComponent as _defineComponent } from 'vue'\nimport { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, vModelText as _vModelText, withDirectives as _withDirectives, withCtx as _withCtx, createVNode as _createVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, normalizeClass as _normalizeClass } from \"vue\"\n\nconst _hoisted_1 = { class: \"phone-input__content\" }\nconst _hoisted_2 = { class: \"phone-input__prefix\" }\nconst _hoisted_3 = [\"id\", \"placeholder\", \"disabled\"]\nconst _hoisted_4 = {\n  key: 0,\n  class: \"phone-input__tooltip\"\n}\n\nimport { computed, onMounted, ref } from \"vue\";\r\nimport AccountInput from \"./account-input.vue\";\r\n\r\n\nexport default /*@__PURE__*/_defineComponent({\n  __name: 'phone-input',\n  props: /*@__PURE__*/_mergeModels({\n    modelValue: {},\n    name: {},\n    title: {},\n    phoneExtension: {},\n    placeholder: {},\n    showTooltip: { type: Boolean },\n    disabled: { type: Boolean }\n  }, {\n    \"errorMessage\": {},\n    \"errorMessageModifiers\": {},\n  }),\n  emits: /*@__PURE__*/_mergeModels([\"update:modelValue\", \"inputKeyUp\", \"inputErrorDetected\"], [\"update:errorMessage\"]),\n  setup(__props: any, { expose: __expose, emit: __emit }) {\n\r\nconst emit = __emit;\r\n\r\nconst props = __props;\r\n\r\nconst errorMessage = _useModel<string>(__props, \"errorMessage\");\r\n\r\nconst isPhone = (phone: string) => /^(\\d{9})$/.test(phone?.replaceAll(\" \", \"\"));\r\n\r\nconst modelIsWithPrefix = computed(() => props.modelValue?.length > 3 && props.modelValue[0] == \"+\");\r\n\r\nconst phonePrefix = computed(() => {\r\n    return modelIsWithPrefix.value ? props.modelValue.slice(0, 4) : \"+420\";\r\n});\r\n\r\nconst phoneValue = computed({\r\n    get() {\r\n        return modelIsWithPrefix.value ? props.modelValue.slice(4) : props.modelValue;\r\n    },\r\n    set(phoneNumber) {\r\n        errorMessage.value = null;\r\n        emit(\"update:modelValue\", phonePrefix.value + phoneNumber);\r\n    },\r\n});\r\n\r\nconst inputKeyUp = (event: KeyboardEvent) => {\r\n    emit(\"inputKeyUp\", event);\r\n};\r\n\r\nconst checkIfIsValid = (): boolean => {\r\n    let isValid = true;\r\n\r\n    if (!phoneValue.value) {\r\n        errorMessage.value = \"Vyplňte vaše telefoní číslo.\";\r\n        isValid = false;\r\n    } else if (!isPhone(phoneValue.value)) {\r\n        errorMessage.value = \"Chybný formát telefonního čísla.\";\r\n        isValid = false;\r\n    }\r\n\r\n    return isValid;\r\n};\r\n\r\nconst inputRef = ref<HTMLInputElement>(null);\r\nonMounted(() => {\r\n    inputRef.value.focus();\r\n});\r\n\r\n__expose({\r\n    checkIfIsValid,\r\n});\r\n\nreturn (_ctx: any,_cache: any) => {\n  return (_openBlock(), _createElementBlock(\"div\", {\n    class: _normalizeClass([\"phone-input\", { 'phone-input--disabled': _ctx.disabled }])\n  }, [\n    _createVNode(AccountInput, {\n      errorMessage: errorMessage.value,\n      name: _ctx.name,\n      title: _ctx.title,\n      onInputErrorDetected: _cache[1] || (_cache[1] = ($event: any) => (emit('inputErrorDetected', _ctx.name, errorMessage.value)))\n    }, {\n      default: _withCtx(() => [\n        _createElementVNode(\"div\", _hoisted_1, [\n          _createElementVNode(\"div\", _hoisted_2, _toDisplayString(phonePrefix.value), 1),\n          _withDirectives(_createElementVNode(\"input\", {\n            class: \"phone-input__input\",\n            type: \"text\",\n            inputmode: \"numeric\",\n            \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((phoneValue).value = $event)),\n            id: _ctx.name,\n            placeholder: _ctx.placeholder ?? 'Vaše telefonní číslo',\n            maxlength: \"9\",\n            required: \"\",\n            disabled: _ctx.disabled,\n            ref_key: \"inputRef\",\n            ref: inputRef,\n            onKeyup: inputKeyUp\n          }, null, 40, _hoisted_3), [\n            [_vModelText, phoneValue.value]\n          ])\n        ])\n      ]),\n      _: 1\n    }, 8, [\"errorMessage\", \"name\", \"title\"]),\n    (_ctx.showTooltip)\n      ? (_openBlock(), _createElementBlock(\"div\", _hoisted_4, \"Na telefon vám v dalším kroku zašleme PIN k ověření.\"))\n      : _createCommentVNode(\"\", true)\n  ], 2))\n}\n}\n\n})","<template>\r\n    <div class=\"phone-input\" :class=\"{ 'phone-input--disabled': disabled }\">\r\n        <AccountInput\r\n            :errorMessage=\"errorMessage\"\r\n            :name=\"name\"\r\n            :title=\"title\"\r\n            @inputErrorDetected=\"emit('inputErrorDetected', name, errorMessage)\"\r\n        >\r\n            <div class=\"phone-input__content\">\r\n                <div class=\"phone-input__prefix\">\r\n                    {{ phonePrefix }}\r\n                </div>\r\n                <input\r\n                    class=\"phone-input__input\"\r\n                    type=\"text\"\r\n                    inputmode=\"numeric\"\r\n                    v-model=\"phoneValue\"\r\n                    :id=\"name\"\r\n                    :placeholder=\"placeholder ?? 'Vaše telefonní číslo'\"\r\n                    maxlength=\"9\"\r\n                    required\r\n                    :disabled=\"disabled\"\r\n                    ref=\"inputRef\"\r\n                    @keyup=\"inputKeyUp\"\r\n                />\r\n            </div>\r\n        </AccountInput>\r\n        <div v-if=\"showTooltip\" class=\"phone-input__tooltip\">Na telefon vám v dalším kroku zašleme PIN k ověření.</div>\r\n    </div>\r\n</template>\r\n\r\n<script setup lang=\"ts\">\r\nimport { computed, onMounted, ref } from \"vue\";\r\nimport AccountInput from \"./account-input.vue\";\r\n\r\nconst emit = defineEmits<{\r\n    /* eslint-disable @typescript-eslint/naming-convention */\r\n    \"update:modelValue\": [newValue: string];\r\n    inputKeyUp: [event: KeyboardEvent];\r\n    inputErrorDetected: [fieldName: string, errorMessage: string];\r\n}>();\r\n\r\nconst props = defineProps<{\r\n    modelValue: string;\r\n    name: string;\r\n    title?: string;\r\n    phoneExtension?: string;\r\n    placeholder?: string;\r\n    showTooltip?: boolean;\r\n    disabled?: boolean;\r\n}>();\r\n\r\nconst errorMessage = defineModel<string>(\"errorMessage\");\r\n\r\nconst isPhone = (phone: string) => /^(\\d{9})$/.test(phone?.replaceAll(\" \", \"\"));\r\n\r\nconst modelIsWithPrefix = computed(() => props.modelValue?.length > 3 && props.modelValue[0] == \"+\");\r\n\r\nconst phonePrefix = computed(() => {\r\n    return modelIsWithPrefix.value ? props.modelValue.slice(0, 4) : \"+420\";\r\n});\r\n\r\nconst phoneValue = computed({\r\n    get() {\r\n        return modelIsWithPrefix.value ? props.modelValue.slice(4) : props.modelValue;\r\n    },\r\n    set(phoneNumber) {\r\n        errorMessage.value = null;\r\n        emit(\"update:modelValue\", phonePrefix.value + phoneNumber);\r\n    },\r\n});\r\n\r\nconst inputKeyUp = (event: KeyboardEvent) => {\r\n    emit(\"inputKeyUp\", event);\r\n};\r\n\r\nconst checkIfIsValid = (): boolean => {\r\n    let isValid = true;\r\n\r\n    if (!phoneValue.value) {\r\n        errorMessage.value = \"Vyplňte vaše telefoní číslo.\";\r\n        isValid = false;\r\n    } else if (!isPhone(phoneValue.value)) {\r\n        errorMessage.value = \"Chybný formát telefonního čísla.\";\r\n        isValid = false;\r\n    }\r\n\r\n    return isValid;\r\n};\r\n\r\nconst inputRef = ref<HTMLInputElement>(null);\r\nonMounted(() => {\r\n    inputRef.value.focus();\r\n});\r\n\r\ndefineExpose({\r\n    checkIfIsValid,\r\n});\r\n</script>\r\n","import script from \"./phone-input.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./phone-input.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { useModel as _useModel, mergeModels as _mergeModels, defineComponent as _defineComponent } from 'vue'\nimport { renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, vModelText as _vModelText, withDirectives as _withDirectives, createElementVNode as _createElementVNode, withCtx as _withCtx, createVNode as _createVNode, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, createCommentVNode as _createCommentVNode } from \"vue\"\n\nconst _hoisted_1 = { class: \"pin-input\" }\nconst _hoisted_2 = { class: \"pin-input__fields\" }\nconst _hoisted_3 = [\"onUpdate:modelValue\", \"onKeydown\", \"onKeyup\"]\nconst _hoisted_4 = { class: \"pin-input__info\" }\nconst _hoisted_5 = { key: 0 }\nconst _hoisted_6 = { key: 1 }\nconst _hoisted_7 = { class: \"pin-input__resend-container\" }\nconst _hoisted_8 = {\n  key: 0,\n  class: \"pin-input__resend\"\n}\nconst _hoisted_9 = {\n  key: 1,\n  class: \"pin-input__resend-success\"\n}\nconst _hoisted_10 = {\n  key: 2,\n  class: \"pin-input__resend-fail\"\n}\n\nimport { ref, computed, onMounted, watch } from \"vue\";\r\nimport AccountInput from \"./account-input.vue\";\r\n\r\n\nexport default /*@__PURE__*/_defineComponent({\n  __name: 'pin-input',\n  props: /*@__PURE__*/_mergeModels({\n    modelValue: {},\n    name: {},\n    phoneNumber: {}\n  }, {\n    \"errorMessage\": {},\n    \"errorMessageModifiers\": {},\n  }),\n  emits: /*@__PURE__*/_mergeModels([\"update:modelValue\", \"resendPin\", \"inputErrorDetected\"], [\"update:errorMessage\"]),\n  setup(__props: any, { expose: __expose, emit: __emit }) {\n\r\nconst emit = __emit;\r\n\r\nconst props = __props;\r\n\r\nconst phoneNumberFormatted = computed(() => {\r\n    const number = props.phoneNumber;\r\n    if (!number) return \"\";\r\n    return number.slice(0, 4) + \" \" + number.slice(4, 7) + \" \" + number.slice(7, 10) + \" \" + number.slice(10, 13);\r\n});\r\n\r\nconst inputValues = [ref(\"\"), ref(\"\"), ref(\"\"), ref(\"\")];\r\n\r\nconst inputRefs = ref<HTMLInputElement[]>([]);\r\n\r\nconst getCode = () =>\r\n    inputValues.map((inputValueRef) => inputValueRef.value).reduce((prevValue, inputValue) => prevValue + inputValue);\r\n\r\n/*  MUST BE CRAZY SOLUTION BECAUSE OLD ANDROIND IS SHIT -> dont support key detection. */\r\nwatch(\r\n    () => inputValues,\r\n    () => {\r\n        emit(\"update:modelValue\", getCode());\r\n    },\r\n    {\r\n        deep: true,\r\n    }\r\n);\r\n\r\nlet secondLetter = false;\r\nconst enabledKeys = [\"Unidentified\", \"Delete\", \"Backspace\", \"ArrowLeft\", \"ArrowRight\", \"Tab\"];\r\nconst keyDownEventHandler = (event: KeyboardEvent, index: number) => {\r\n    console.log(event, index);\r\n    if ((event.key < \"0\" || event.key > \"9\") && !enabledKeys.find((enabledKey) => enabledKey == event.key)) {\r\n        event.preventDefault();\r\n    }\r\n\r\n    secondLetter = inputRefs.value[index].selectionStart > 0;\r\n};\r\n\r\nconst keyUpEventHandler = (event: KeyboardEvent, index: number) => {\r\n    if (event.key == \"Delete\" || event.key == \"Backspace\") {\r\n        if (index > 0) {\r\n            inputRefs.value[index - 1].setSelectionRange(1, 1);\r\n            inputRefs.value[index - 1].focus();\r\n        }\r\n    } else if ((event.key >= \"0\" && event.key <= \"9\") || event.key == \"Unidentified\") {\r\n        if (event.key >= \"0\" && event.key <= \"9\") {\r\n            if (secondLetter) {\r\n                inputValues[index + 1].value = event.key;\r\n            } else if (inputValues[index].value != event.key) {\r\n                inputValues[index].value = event.key;\r\n            }\r\n        }\r\n\r\n        if (index < inputRefs.value.length - 1) {\r\n            inputRefs.value[index + 1].setSelectionRange(0, 0);\r\n            inputRefs.value[index + 1].focus();\r\n        } else {\r\n            inputRefs.value[index].blur();\r\n        }\r\n    }\r\n};\r\n\r\n/* ****************** END CRAZY SOLUTION ********************* */\r\n\r\nconst resendPin = () => {\r\n    emit(\"resendPin\");\r\n};\r\n\r\nconst pinResendedInternal = ref(false);\r\nconst pinResendedSuccess = ref(false);\r\nconst pinResended = (success: boolean) => {\r\n    pinResendedInternal.value = true;\r\n    pinResendedSuccess.value = success;\r\n};\r\n\r\nonMounted(() => {\r\n    inputRefs.value[0].focus();\r\n});\r\n\r\nconst checkCode = (code: string) => /^(\\d{4})$/.test(code);\r\n\r\nconst errorMessage = _useModel<string>(__props, \"errorMessage\");\r\n\r\nconst checkIfIsValid = (): boolean => {\r\n    let isValid = true;\r\n\r\n    const code = getCode();\r\n\r\n    if (!code) {\r\n        errorMessage.value = \"Vyplňte prosím kód.\";\r\n        isValid = false;\r\n    } else if (!checkCode(code)) {\r\n        errorMessage.value = \"Pin není zadaný správně.\";\r\n        isValid = false;\r\n    }\r\n\r\n    return isValid;\r\n};\r\n\r\n__expose({\r\n    pinResended,\r\n    checkIfIsValid,\r\n});\r\n\nreturn (_ctx: any,_cache: any) => {\n  return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n    _createVNode(AccountInput, {\n      class: \"pin-input__enter\",\n      errorMessage: errorMessage.value,\n      name: _ctx.name,\n      onInputErrorDetected: _cache[0] || (_cache[0] = ($event: any) => (emit('inputErrorDetected', _ctx.name, errorMessage.value)))\n    }, {\n      default: _withCtx(() => [\n        _createElementVNode(\"div\", _hoisted_2, [\n          (_openBlock(), _createElementBlock(_Fragment, null, _renderList(inputValues, (_, index) => {\n            return _withDirectives(_createElementVNode(\"input\", {\n              class: \"pin-input__field-input\",\n              type: \"text\",\n              inputmode: \"numeric\",\n              placeholder: \"\",\n              maxlength: \"1\",\n              key: 'pin-input' + index,\n              ref_for: true,\n              ref_key: \"inputRefs\",\n              ref: inputRefs,\n              \"onUpdate:modelValue\": ($event: any) => ((inputValues[index].value) = $event),\n              onKeydown: (event) => keyDownEventHandler(event, index),\n              onKeyup: (event) => keyUpEventHandler(event, index)\n            }, null, 40, _hoisted_3), [\n              [_vModelText, inputValues[index].value]\n            ])\n          }), 64))\n        ])\n      ]),\n      _: 1\n    }, 8, [\"errorMessage\", \"name\"]),\n    _createElementVNode(\"div\", _hoisted_4, [\n      _cache[2] || (_cache[2] = _createTextVNode(\" Na \")),\n      (_ctx.phoneNumber)\n        ? (_openBlock(), _createElementBlock(\"span\", _hoisted_5, [\n            _cache[1] || (_cache[1] = _createTextVNode(\" číslo \")),\n            _createElementVNode(\"b\", null, _toDisplayString(phoneNumberFormatted.value), 1)\n          ]))\n        : (_openBlock(), _createElementBlock(\"span\", _hoisted_6, \" vaše číslo \")),\n      _cache[3] || (_cache[3] = _createTextVNode(\" jsme odeslali 4místný PIN kód. Zadejte ho prosím. \"))\n    ]),\n    _createElementVNode(\"div\", _hoisted_7, [\n      (!pinResendedInternal.value)\n        ? (_openBlock(), _createElementBlock(\"div\", _hoisted_8, [\n            _cache[4] || (_cache[4] = _createTextVNode(\" Kód mi nepřišel. \")),\n            _createElementVNode(\"a\", {\n              onClick: resendPin,\n              class: \"pin-input__resend-link\"\n            }, \"Odeslat znovu\")\n          ]))\n        : (pinResendedInternal.value && pinResendedSuccess.value)\n          ? (_openBlock(), _createElementBlock(\"div\", _hoisted_9, \"ODESLÁNO\"))\n          : (_openBlock(), _createElementBlock(\"div\", _hoisted_10, \"ODESLÁNÍ SELHALO\"))\n    ])\n  ]))\n}\n}\n\n})","<template>\r\n    <div class=\"pin-input\">\r\n        <AccountInput\r\n            class=\"pin-input__enter\"\r\n            :errorMessage=\"errorMessage\"\r\n            :name=\"name\"\r\n            @inputErrorDetected=\"emit('inputErrorDetected', name, errorMessage)\"\r\n        >\r\n            <div class=\"pin-input__fields\">\r\n                <input\r\n                    class=\"pin-input__field-input\"\r\n                    type=\"text\"\r\n                    inputmode=\"numeric\"\r\n                    placeholder=\"\"\r\n                    maxlength=\"1\"\r\n                    v-for=\"(_, index) in inputValues\"\r\n                    :key=\"'pin-input' + index\"\r\n                    ref=\"inputRefs\"\r\n                    v-model=\"inputValues[index].value\"\r\n                    @keydown=\"(event) => keyDownEventHandler(event, index)\"\r\n                    @keyup=\"(event) => keyUpEventHandler(event, index)\"\r\n                />\r\n            </div>\r\n        </AccountInput>\r\n\r\n        <div class=\"pin-input__info\">\r\n            Na\r\n            <span v-if=\"phoneNumber\">\r\n                číslo\r\n                <b>{{ phoneNumberFormatted }}</b>\r\n            </span>\r\n            <span v-else> vaše číslo </span>\r\n            jsme odeslali 4místný PIN kód. Zadejte ho prosím.\r\n        </div>\r\n\r\n        <div class=\"pin-input__resend-container\">\r\n            <div v-if=\"!pinResendedInternal\" class=\"pin-input__resend\">\r\n                Kód mi nepřišel. <a @click=\"resendPin\" class=\"pin-input__resend-link\">Odeslat znovu</a>\r\n            </div>\r\n            <div v-else-if=\"pinResendedInternal && pinResendedSuccess\" class=\"pin-input__resend-success\">ODESLÁNO</div>\r\n            <div v-else class=\"pin-input__resend-fail\">ODESLÁNÍ SELHALO</div>\r\n        </div>\r\n    </div>\r\n</template>\r\n\r\n<script setup lang=\"ts\">\r\nimport { ref, computed, onMounted, watch } from \"vue\";\r\nimport AccountInput from \"./account-input.vue\";\r\n\r\nconst emit = defineEmits<{\r\n    /* eslint-disable @typescript-eslint/naming-convention */\r\n    \"update:modelValue\": [newValue: string];\r\n    resendPin: [];\r\n    inputErrorDetected: [fieldName: string, errorMessage: string];\r\n}>();\r\n\r\nconst props = defineProps<{\r\n    modelValue: string;\r\n    name: string;\r\n    phoneNumber: string;\r\n}>();\r\n\r\nconst phoneNumberFormatted = computed(() => {\r\n    const number = props.phoneNumber;\r\n    if (!number) return \"\";\r\n    return number.slice(0, 4) + \" \" + number.slice(4, 7) + \" \" + number.slice(7, 10) + \" \" + number.slice(10, 13);\r\n});\r\n\r\nconst inputValues = [ref(\"\"), ref(\"\"), ref(\"\"), ref(\"\")];\r\n\r\nconst inputRefs = ref<HTMLInputElement[]>([]);\r\n\r\nconst getCode = () =>\r\n    inputValues.map((inputValueRef) => inputValueRef.value).reduce((prevValue, inputValue) => prevValue + inputValue);\r\n\r\n/*  MUST BE CRAZY SOLUTION BECAUSE OLD ANDROIND IS SHIT -> dont support key detection. */\r\nwatch(\r\n    () => inputValues,\r\n    () => {\r\n        emit(\"update:modelValue\", getCode());\r\n    },\r\n    {\r\n        deep: true,\r\n    }\r\n);\r\n\r\nlet secondLetter = false;\r\nconst enabledKeys = [\"Unidentified\", \"Delete\", \"Backspace\", \"ArrowLeft\", \"ArrowRight\", \"Tab\"];\r\nconst keyDownEventHandler = (event: KeyboardEvent, index: number) => {\r\n    console.log(event, index);\r\n    if ((event.key < \"0\" || event.key > \"9\") && !enabledKeys.find((enabledKey) => enabledKey == event.key)) {\r\n        event.preventDefault();\r\n    }\r\n\r\n    secondLetter = inputRefs.value[index].selectionStart > 0;\r\n};\r\n\r\nconst keyUpEventHandler = (event: KeyboardEvent, index: number) => {\r\n    if (event.key == \"Delete\" || event.key == \"Backspace\") {\r\n        if (index > 0) {\r\n            inputRefs.value[index - 1].setSelectionRange(1, 1);\r\n            inputRefs.value[index - 1].focus();\r\n        }\r\n    } else if ((event.key >= \"0\" && event.key <= \"9\") || event.key == \"Unidentified\") {\r\n        if (event.key >= \"0\" && event.key <= \"9\") {\r\n            if (secondLetter) {\r\n                inputValues[index + 1].value = event.key;\r\n            } else if (inputValues[index].value != event.key) {\r\n                inputValues[index].value = event.key;\r\n            }\r\n        }\r\n\r\n        if (index < inputRefs.value.length - 1) {\r\n            inputRefs.value[index + 1].setSelectionRange(0, 0);\r\n            inputRefs.value[index + 1].focus();\r\n        } else {\r\n            inputRefs.value[index].blur();\r\n        }\r\n    }\r\n};\r\n\r\n/* ****************** END CRAZY SOLUTION ********************* */\r\n\r\nconst resendPin = () => {\r\n    emit(\"resendPin\");\r\n};\r\n\r\nconst pinResendedInternal = ref(false);\r\nconst pinResendedSuccess = ref(false);\r\nconst pinResended = (success: boolean) => {\r\n    pinResendedInternal.value = true;\r\n    pinResendedSuccess.value = success;\r\n};\r\n\r\nonMounted(() => {\r\n    inputRefs.value[0].focus();\r\n});\r\n\r\nconst checkCode = (code: string) => /^(\\d{4})$/.test(code);\r\n\r\nconst errorMessage = defineModel<string>(\"errorMessage\");\r\n\r\nconst checkIfIsValid = (): boolean => {\r\n    let isValid = true;\r\n\r\n    const code = getCode();\r\n\r\n    if (!code) {\r\n        errorMessage.value = \"Vyplňte prosím kód.\";\r\n        isValid = false;\r\n    } else if (!checkCode(code)) {\r\n        errorMessage.value = \"Pin není zadaný správně.\";\r\n        isValid = false;\r\n    }\r\n\r\n    return isValid;\r\n};\r\n\r\ndefineExpose({\r\n    pinResended,\r\n    checkIfIsValid,\r\n});\r\n</script>\r\n","import script from \"./pin-input.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./pin-input.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createElementVNode as _createElementVNode, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = {\n  key: 0,\n  class: \"info-text\"\n}\nconst _hoisted_2 = {\n  key: 0,\n  class: \"info-text__title\"\n}\nconst _hoisted_3 = [\"innerHTML\"]\nconst _hoisted_4 = [\"innerHTML\"]\n\nimport DsIcon from \"@sazka/design-system/src/icon/ds-icon.vue\";\r\n\r\n\nexport default /*@__PURE__*/_defineComponent({\n  __name: 'info-text',\n  props: {\n    title: {},\n    perex: {},\n    showBackLink: { type: Boolean }\n  },\n  emits: [\"prevStep\"],\n  setup(__props: any, { emit: __emit }) {\n\r\n\r\n\r\nconst emit = __emit;\r\n\r\nconst goBack = () => {\r\n    emit(\"prevStep\");\r\n};\r\n\nreturn (_ctx: any,_cache: any) => {\n  return (_ctx.title || _ctx.perex)\n    ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n        (_ctx.title)\n          ? (_openBlock(), _createElementBlock(\"h2\", _hoisted_2, [\n              (_ctx.showBackLink)\n                ? (_openBlock(), _createBlock(DsIcon, {\n                    key: 0,\n                    class: \"info-text__title-arrow\",\n                    width: 22,\n                    height: 22,\n                    name: \"arrow-right\",\n                    onClick: _cache[0] || (_cache[0] = ($event: any) => (goBack()))\n                  }))\n                : _createCommentVNode(\"\", true),\n              _createElementVNode(\"span\", {\n                class: \"info-text__title-text\",\n                innerHTML: _ctx.title\n              }, null, 8, _hoisted_3)\n            ]))\n          : _createCommentVNode(\"\", true),\n        (_ctx.perex)\n          ? (_openBlock(), _createElementBlock(\"div\", {\n              key: 1,\n              class: \"info-text__perex\",\n              innerHTML: _ctx.perex\n            }, null, 8, _hoisted_4))\n          : _createCommentVNode(\"\", true)\n      ]))\n    : _createCommentVNode(\"\", true)\n}\n}\n\n})","<template>\r\n    <div v-if=\"title || perex\" class=\"info-text\">\r\n        <h2 class=\"info-text__title\" v-if=\"title\">\r\n            <DsIcon\r\n                class=\"info-text__title-arrow\"\r\n                :width=\"22\"\r\n                :height=\"22\"\r\n                v-if=\"showBackLink\"\r\n                name=\"arrow-right\"\r\n                @click=\"goBack()\"\r\n            />\r\n            <span class=\"info-text__title-text\" v-html=\"title\"></span>\r\n        </h2>\r\n        <div class=\"info-text__perex\" v-if=\"perex\" v-html=\"perex\"></div>\r\n    </div>\r\n</template>\r\n\r\n<script setup lang=\"ts\">\r\nimport DsIcon from \"@sazka/design-system/src/icon/ds-icon.vue\";\r\n\r\ndefineProps<{\r\n    title?: string;\r\n    perex?: string;\r\n    showBackLink?: boolean;\r\n}>();\r\n\r\nconst emit = defineEmits([\"prevStep\"]);\r\n\r\nconst goBack = () => {\r\n    emit(\"prevStep\");\r\n};\r\n</script>\r\n","import script from \"./info-text.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./info-text.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, normalizeClass as _normalizeClass, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = [\"width\", \"height\", \"viewBox\"]\nconst _hoisted_2 = [\"xlink:href\"]\n\nimport { computed } from \"vue\";\r\nimport { BasicIcons } from \"./basic-icons\";\r\n\r\n\nexport default /*@__PURE__*/_defineComponent({\n  __name: 'kasa-icon',\n  props: {\n    name: {},\n    width: { default: 16 },\n    height: { default: 16 }\n  },\n  setup(__props: any) {\n\r\nconst props = __props;\r\n\r\nconst className = computed(() => `svg-ico-${props.name}`);\r\n\r\nconst getViewBox = computed(() => {\r\n    return `0 0 ${props.height} ${props.width}`;\r\n});\r\n\r\nconst getName = computed(() => `/frontend/kasa-loyalty/img/icons/basic/${props.name}.svg#${props.name}`);\r\n\nreturn (_ctx: any,_cache: any) => {\n  return (_openBlock(), _createElementBlock(\"svg\", {\n    width: _ctx.width,\n    height: _ctx.height,\n    viewBox: getViewBox.value,\n    class: _normalizeClass(className.value)\n  }, [\n    _createElementVNode(\"use\", { \"xlink:href\": getName.value }, null, 8, _hoisted_2)\n  ], 10, _hoisted_1))\n}\n}\n\n})","<template>\r\n    <svg :width=\"width\" :height=\"height\" :viewBox=\"getViewBox\" :class=\"className\">\r\n        <use :xlink:href=\"getName\" />\r\n    </svg>\r\n</template>\r\n\r\n<script lang=\"ts\" setup>\r\nimport { computed } from \"vue\";\r\nimport { BasicIcons } from \"./basic-icons\";\r\n\r\nconst props = withDefaults(\r\n    defineProps<{\r\n        name: BasicIcons;\r\n        width?: number;\r\n        height?: number;\r\n    }>(),\r\n    {\r\n        width: 16,\r\n        height: 16\r\n    }\r\n);\r\n\r\nconst className = computed(() => `svg-ico-${props.name}`);\r\n\r\nconst getViewBox = computed(() => {\r\n    return `0 0 ${props.height} ${props.width}`;\r\n});\r\n\r\nconst getName = computed(() => `/frontend/kasa-loyalty/img/icons/basic/${props.name}.svg#${props.name}`);\r\n</script>\r\n","import script from \"./kasa-icon.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./kasa-icon.vue?vue&type=script&lang=ts&setup=true\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { renderSlot as _renderSlot, resolveDynamicComponent as _resolveDynamicComponent, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock, normalizeStyle as _normalizeStyle, createElementBlock as _createElementBlock } from \"vue\"\n\nimport { TransitionGroup, Transition, computed, markRaw, reactive } from \"vue\";\r\nimport { TransitionSlideDirection } from \"./transition-slide-direction\";\r\n\r\n\nexport default /*@__PURE__*/_defineComponent({\n  __name: 'transition-slide',\n  props: {\n    direction: { default: \"rtl\" },\n    isGroup: { type: Boolean }\n  },\n  setup(__props: any) {\n\r\nconst props = __props;\r\n\r\nconst component = computed(() => (props.isGroup ? markRaw(TransitionGroup) : markRaw(Transition)));\r\n\r\nconst styles = reactive({\r\n    overflow: \"visible\",\r\n});\r\n\r\nconst setHidden = (value: boolean) => {\r\n    styles.overflow = value ? \"hidden\" : \"visible\";\r\n};\r\n\r\nconst name = computed(() => \"slide--\" + props.direction);\r\n\nreturn (_ctx: any,_cache: any) => {\n  return (_openBlock(), _createElementBlock(\"div\", {\n    class: \"transition-slide\",\n    style: _normalizeStyle(styles)\n  }, [\n    (_openBlock(), _createBlock(_resolveDynamicComponent(component.value), {\n      name: name.value,\n      onEnter: _cache[0] || (_cache[0] = ($event: any) => (setHidden(true))),\n      onAfterLeave: _cache[1] || (_cache[1] = ($event: any) => (setHidden(false)))\n    }, {\n      default: _withCtx(() => [\n        _renderSlot(_ctx.$slots, \"default\")\n      ]),\n      _: 3\n    }, 40, [\"name\"]))\n  ], 4))\n}\n}\n\n})","<template>\r\n    <div class=\"transition-slide\" :style=\"styles\">\r\n        <component :is=\"component\" :name=\"name\" @enter=\"setHidden(true)\" @after-leave=\"setHidden(false)\">\r\n            <slot></slot>\r\n        </component>\r\n    </div>\r\n</template>\r\n\r\n<script lang=\"ts\" setup>\r\nimport { TransitionGroup, Transition, computed, markRaw, reactive } from \"vue\";\r\nimport { TransitionSlideDirection } from \"./transition-slide-direction\";\r\n\r\nconst props = withDefaults(\r\n    defineProps<{\r\n        direction: TransitionSlideDirection;\r\n        isGroup?: boolean;\r\n    }>(),\r\n    {\r\n        direction: \"rtl\",\r\n    }\r\n);\r\n\r\nconst component = computed(() => (props.isGroup ? markRaw(TransitionGroup) : markRaw(Transition)));\r\n\r\nconst styles = reactive({\r\n    overflow: \"visible\",\r\n});\r\n\r\nconst setHidden = (value: boolean) => {\r\n    styles.overflow = value ? \"hidden\" : \"visible\";\r\n};\r\n\r\nconst name = computed(() => \"slide--\" + props.direction);\r\n</script>\r\n","import script from \"./transition-slide.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./transition-slide.vue?vue&type=script&lang=ts&setup=true\"\n\nconst __exports__ = script;\n\nexport default __exports__"],"names":["_hoisted_1","_hoisted_2","_defineComponent","__name","props","name","errorMessage","title","emits","setup","__props","emit","__emit","watch","newErrorMessage","_ctx","_cache","_openBlock","_createElementBlock","class","_normalizeClass","error","key","for","_toDisplayString","_createCommentVNode","_renderSlot","$slots","_createElementVNode","innerHTML","__exports__","_hoisted_3","_hoisted_4","_mergeModels","modelValue","dataLayerErrorLogger","type","Function","placeholder","autocompleteOff","Boolean","hideTitle","expose","__expose","_useModel","passwordValue","computed","get","set","value","eyeActive","ref","showPassword","async","inputType","checkPasswordSpecialCharacters","test","checkPasswordNumberLetter","checkPasswordLength","length","checkList","reactive","specialCharacters","number","isNewPasswordValid","validPassword","checkIfIsValid","silentCheck","isValid","inputRef","onMounted","focus","_createVNode","AccountInput","onInputErrorDetected","$event","default","_withCtx","_withDirectives","id","ref_key","onKeyup","autocomplete","_vModelDynamic","KasaIcon","width","height","onClick","_","checked","phoneExtension","showTooltip","disabled","isPhone","phone","replaceAll","modelIsWithPrefix","_props$modelValue","phonePrefix","slice","phoneValue","phoneNumber","inputKeyUp","event","inputmode","maxlength","required","_vModelText","_hoisted_5","_hoisted_6","_hoisted_7","_hoisted_8","_hoisted_9","_hoisted_10","phoneNumberFormatted","inputValues","inputRefs","getCode","map","inputValueRef","reduce","prevValue","inputValue","deep","secondLetter","enabledKeys","keyDownEventHandler","index","console","log","find","enabledKey","preventDefault","selectionStart","keyUpEventHandler","setSelectionRange","blur","resendPin","pinResendedInternal","pinResendedSuccess","pinResended","success","checkCode","code","_Fragment","_renderList","ref_for","onKeydown","_createTextVNode","perex","showBackLink","goBack","_createBlock","DsIcon","className","getViewBox","getName","viewBox","direction","isGroup","component","markRaw","TransitionGroup","Transition","styles","overflow","setHidden","style","_normalizeStyle","_resolveDynamicComponent","onEnter","onAfterLeave"],"sourceRoot":""}