{"version":3,"sources":["webpack:///./node_modules/quasar/src/components/img/QImg.js","webpack:///./node_modules/quasar/src/directives/close-popup/ClosePopup.js","webpack:///./src/modules/auth/pages/Login.vue?1f71","webpack:///./src/modules/auth/pages/Login.vue?b9ca","webpack:///./src/modules/auth/pages/Login.vue?dc31","webpack:///./node_modules/quasar/src/composables/private/use-ratio.js","webpack:///./src/modules/auth/pages/Login.vue?3834","webpack:///./src/modules/auth/pages/Login.vue","webpack:///./src/modules/auth/pages/Login.vue?88a2"],"names":["defaultRatio","createComponent","name","props","useRatioProps","src","String","srcset","sizes","alt","crossorigin","decoding","referrerpolicy","draggable","Boolean","loading","type","default","loadingShowDelay","Number","fetchpriority","width","height","initialRatio","placeholderSrc","errorSrc","fit","position","imgClass","imgStyle","Object","noSpinner","noNativeMenu","noTransition","spinnerColor","spinnerSize","emits","setup","slots","emit","naturalRatio","ref","ratioStyle","useRatio","vm","getCurrentInstance","registerTimeout","registerLoadTimeout","removeTimeout","removeLoadTimeout","useTimeout","registerLoadShowTimeout","removeLoadShowTimeout","placeholderImg","computed","errorImg","__qerror","images","value","isLoading","hasError","classes","style","objectFit","objectPosition","setLoading","clearLoading","onLoad","target","vmIsDestroyed","naturalHeight","naturalWidth","waitForCompleteness","count","complete","onReady","getAttribute","currentSrc","onError","err","getImage","index","img","data","key","class","assign","h","getContent","hSlot","QSpinner","color","size","__QUASAR_SSR_SERVER__","watchSrc","watch","imgProps","immediate","isRuntimeSsrPreHydration","onMounted","content","push","Transition","role","getDepth","depth","parseInt","isNaN","createDirective","beforeMount","el","ctx","handler","evt","setTimeout","proxy","getPortalProxy","closePortals","handlerKey","isKeyCode","__qclosepopup","addEventListener","updated","oldValue","beforeUnmount","removeEventListener","ratio","paddingBottom","defineComponent","components","Field","Form","router","useRouter","route","useRoute","in_request","disapprovedModal","disapprovedMsg","hasLoginRoute","recaptchaErrorMessage","hasOtherSignUp","refreshThePage","location","reload","schema","emailLogin","password","rules","yup","email","urlParams","URLSearchParams","window","search","initialValues","get","signInAction","useActions","partner","useGetters","executeRecaptcha","recaptchaLoaded","useReCaptcha","onSubmit","actions","token","senha","slug","params","recaptcha_response","then","deleteUtmParams","path","deleteLoginRoute","catch","error","errors","reproved","analysis","_error$errors","showFailMessages","setFieldValue","isRecaptchaError","length","includes","finally","redirectToSignUp","open","utmParams","getUtmParams","routeConf","JSON","parse","fetchParam","param","axios","baseURL","res","setCustomLayout","loginRoute","getLoginRoute","keys","labels","_createElementVNode","_hoisted_1","_toDisplayString","_ctx","$t","_createVNode","_component_Form","_component_q_card_section","_component_Field","errorMessage","field","_component_q_input","_mergeProps","autocomplete","filled","label","placeholder","_hoisted_2","_createElementBlock","_hoisted_3","_hoisted_4","innerHTML","onClick","_cache","args","_component_q_btn","unelevated","disable","_component_q_item","to","_component_q_item_label","_createBlock","$event","clickable","_component_q_dialog","_component_q_card","_component_q_img","logo","_hoisted_7","_component_q_card_actions","align","flat"],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAwF;AAE3C;AAEgC;AACG;AAEjB;AACV;AACI;AACA;AAEzD,MAAMA,YAAY,GAAG,MAAM,EAAC;;AAEbC,+IAAe,CAAC;EAC7BC,IAAI,EAAE,MAAM;EAEZC,KAAK,EAAE;IACL,GAAGC,+EAAa;IAEhBC,GAAG,EAAEC,MAAM;IACXC,MAAM,EAAED,MAAM;IACdE,KAAK,EAAEF,MAAM;IAEbG,GAAG,EAAEH,MAAM;IACXI,WAAW,EAAEJ,MAAM;IACnBK,QAAQ,EAAEL,MAAM;IAChBM,cAAc,EAAEN,MAAM;IAEtBO,SAAS,EAAEC,OAAO;IAElBC,OAAO,EAAE;MACPC,IAAI,EAAEV,MAAM;MACZW,OAAO,EAAE;IACX,CAAC;IACDC,gBAAgB,EAAE;MAChBF,IAAI,EAAE,CAAEG,MAAM,EAAEb,MAAM,CAAE;MACxBW,OAAO,EAAE;IACX,CAAC;IAEDG,aAAa,EAAE;MACbJ,IAAI,EAAEV,MAAM;MACZW,OAAO,EAAE;I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AAuB,EAAflB,IAAA,CAAArE;;;UAEvCwG,UAGM,EAENjC,uDAAA,CAEiBkC,yBAAA;QAFDC,KAAK,EAAC,OAAO;QAAC/J,KAAK,EAAC;;qEAClC,MAAyD,C,2DAAzD4H,uDAAA,CAAyDoB,gBAAA;UAAlDgB,IAAI,EAAJ,EAAI;UAAC1B,KAAK,EAAC,QAAQ;UAAChI,KAAK,EAAC","file":"js/chunk-7db6c59f.356bd03a.js","sourcesContent":["import { h, ref, computed, watch, onMounted, Transition, getCurrentInstance } from 'vue'\n\nimport QSpinner from '../spinner/QSpinner.js'\n\nimport { isRuntimeSsrPreHydration } from '../../plugins/platform/Platform.js'\nimport useRatio, { useRatioProps } from '../../composables/private/use-ratio.js'\n\nimport { createComponent } from '../../utils/private/create.js'\nimport { hSlot } from '../../utils/private/render.js'\nimport { vmIsDestroyed } from '../../utils/private/vm.js'\nimport useTimeout from '../../composables/use-timeout.js'\n\nconst defaultRatio = 1.7778 /* 16/9 */\n\nexport default createComponent({\n name: 'QImg',\n\n props: {\n ...useRatioProps,\n\n src: String,\n srcset: String,\n sizes: String,\n\n alt: String,\n crossorigin: String,\n decoding: String,\n referrerpolicy: String,\n\n draggable: Boolean,\n\n loading: {\n type: String,\n default: 'lazy'\n },\n loadingShowDelay: {\n type: [ Number, String ],\n default: 0\n },\n\n fetchpriority: {\n type: String,\n default: 'auto'\n },\n width: String,\n height: String,\n initialRatio: {\n type: [ Number, String ],\n default: defaultRatio\n },\n\n placeholderSrc: String,\n errorSrc: String,\n\n fit: {\n type: String,\n default: 'cover'\n },\n position: {\n type: String,\n default: '50% 50%'\n },\n\n imgClass: String,\n imgStyle: Object,\n\n noSpinner: Boolean,\n noNativeMenu: Boolean,\n noTransition: Boolean,\n\n spinnerColor: String,\n spinnerSize: String\n },\n\n emits: [ 'load', 'error' ],\n\n setup (props, { slots, emit }) {\n const naturalRatio = ref(props.initialRatio)\n const ratioStyle = useRatio(props, naturalRatio)\n const vm = getCurrentInstance()\n\n const { registerTimeout: registerLoadTimeout, removeTimeout: removeLoadTimeout } = useTimeout()\n const { registerTimeout: registerLoadShowTimeout, removeTimeout: removeLoadShowTimeout } = useTimeout()\n\n const placeholderImg = computed(() => (\n props.placeholderSrc !== void 0\n ? { src: props.placeholderSrc }\n : null\n ))\n\n const errorImg = computed(() => (\n props.errorSrc !== void 0\n ? { src: props.errorSrc, __qerror: true }\n : null\n ))\n\n const images = [\n ref(null),\n ref(placeholderImg.value)\n ]\n\n const position = ref(0)\n\n const isLoading = ref(false)\n const hasError = ref(false)\n\n const classes = computed(() =>\n `q-img q-img--${ props.noNativeMenu === true ? 'no-' : '' }menu`\n )\n\n const style = computed(() => ({\n width: props.width,\n height: props.height\n }))\n\n const imgClass = computed(() =>\n `q-img__image ${ props.imgClass !== void 0 ? props.imgClass + ' ' : '' }`\n + `q-img__image--with${ props.noTransition === true ? 'out' : '' }-transition`\n + ' q-img__image--'\n )\n\n const imgStyle = computed(() => ({\n ...props.imgStyle,\n objectFit: props.fit,\n objectPosition: props.position\n }))\n\n function setLoading () {\n removeLoadShowTimeout()\n\n if (props.loadingShowDelay === 0) {\n isLoading.value = true\n return\n }\n\n registerLoadShowTimeout(() => {\n isLoading.value = true\n }, props.loadingShowDelay)\n }\n\n function clearLoading () {\n removeLoadShowTimeout()\n isLoading.value = false\n }\n\n function onLoad ({ target }) {\n if (vmIsDestroyed(vm) === false) {\n removeLoadTimeout()\n\n naturalRatio.value = target.naturalHeight === 0\n ? 0.5\n : target.naturalWidth / target.naturalHeight\n\n waitForCompleteness(target, 1)\n }\n }\n\n function waitForCompleteness (target, count) {\n // protect against running forever\n if (count === 1000 || vmIsDestroyed(vm) === true) return\n\n if (target.complete === true) {\n onReady(target)\n }\n else {\n registerLoadTimeout(() => {\n waitForCompleteness(target, count + 1)\n }, 50)\n }\n }\n\n function onReady (target) {\n if (vmIsDestroyed(vm) === true) return\n\n position.value = position.value ^ 1\n images[ position.value ].value = null\n\n clearLoading()\n\n if (target.getAttribute('__qerror') !== 'true') {\n hasError.value = false\n }\n\n emit('load', target.currentSrc || target.src)\n }\n\n function onError (err) {\n removeLoadTimeout()\n clearLoading()\n\n hasError.value = true\n images[ position.value ].value = errorImg.value\n images[ position.value ^ 1 ].value = placeholderImg.value\n\n emit('error', err)\n }\n\n function getImage (index) {\n const img = images[ index ].value\n\n const data = {\n key: 'img_' + index,\n class: imgClass.value,\n style: imgStyle.value,\n alt: props.alt,\n crossorigin: props.crossorigin,\n decoding: props.decoding,\n referrerpolicy: props.referrerpolicy,\n height: props.height,\n width: props.width,\n loading: props.loading,\n fetchpriority: props.fetchpriority,\n 'aria-hidden': 'true',\n draggable: props.draggable,\n ...img\n }\n\n if (position.value === index) {\n Object.assign(data, {\n class: data.class + 'current',\n onLoad,\n onError\n })\n }\n else {\n data.class += 'loaded'\n }\n\n return h(\n 'div',\n { class: 'q-img__container absolute-full', key: 'img' + index },\n h('img', data)\n )\n }\n\n function getContent () {\n if (isLoading.value === false) {\n return h('div', {\n key: 'content',\n class: 'q-img__content absolute-full q-anchor--skip'\n }, hSlot(slots[ hasError.value === true ? 'error' : 'default' ]))\n }\n\n return h('div', {\n key: 'loading',\n class: 'q-img__loading absolute-full flex flex-center'\n }, (\n slots.loading !== void 0\n ? slots.loading()\n : (\n props.noSpinner === true\n ? void 0\n : [\n h(QSpinner, {\n color: props.spinnerColor,\n size: props.spinnerSize\n })\n ]\n )\n ))\n }\n\n if (__QUASAR_SSR_SERVER__ !== true) {\n function watchSrc () {\n watch(\n () => (\n props.src || props.srcset || props.sizes\n ? {\n src: props.src,\n srcset: props.srcset,\n sizes: props.sizes\n }\n : null\n ),\n imgProps => {\n removeLoadTimeout()\n hasError.value = false\n\n if (imgProps === null) {\n clearLoading()\n images[ position.value ^ 1 ].value = placeholderImg.value\n }\n else {\n setLoading()\n }\n\n images[ position.value ].value = imgProps\n },\n { immediate: true }\n )\n }\n\n if (isRuntimeSsrPreHydration.value === true) {\n onMounted(watchSrc)\n }\n else {\n watchSrc()\n }\n }\n\n return () => {\n const content = []\n\n if (ratioStyle.value !== null) {\n content.push(\n h('div', { key: 'filler', style: ratioStyle.value })\n )\n }\n\n if (images[ 0 ].value !== null) {\n content.push(\n getImage(0)\n )\n }\n\n if (images[ 1 ].value !== null) {\n content.push(\n getImage(1)\n )\n }\n\n content.push(\n h(Transition, { name: 'q-transition--fade' }, getContent)\n )\n\n return h('div', {\n key: 'main',\n class: classes.value,\n style: style.value,\n role: 'img',\n 'aria-label': props.alt\n }, content)\n }\n }\n})\n","import { createDirective } from '../../utils/private/create.js'\nimport { closePortals, getPortalProxy } from '../../utils/private/portal.js'\nimport { isKeyCode } from '../../utils/private/key-composition.js'\nimport getSSRProps from '../../utils/private/noop-ssr-directive-transform.js'\n\n/*\n * depth\n * < 0 --> close all chain\n * 0 --> disabled\n * > 0 --> close chain up to N parent\n */\n\nfunction getDepth (value) {\n if (value === false) {\n return 0\n }\n if (value === true || value === void 0) {\n return 1\n }\n\n const depth = parseInt(value, 10)\n return isNaN(depth) ? 0 : depth\n}\n\nexport default createDirective(__QUASAR_SSR_SERVER__\n ? { name: 'close-popup', getSSRProps }\n : {\n name: 'close-popup',\n\n beforeMount (el, { value }) {\n const ctx = {\n depth: getDepth(value),\n\n handler (evt) {\n // allow @click to be emitted\n ctx.depth !== 0 && setTimeout(() => {\n const proxy = getPortalProxy(el)\n if (proxy !== void 0) {\n closePortals(proxy, evt, ctx.depth)\n }\n })\n },\n\n handlerKey (evt) {\n isKeyCode(evt, 13) === true && ctx.handler(evt)\n }\n }\n\n el.__qclosepopup = ctx\n\n el.addEventListener('click', ctx.handler)\n el.addEventListener('keyup', ctx.handlerKey)\n },\n\n updated (el, { value, oldValue }) {\n if (value !== oldValue) {\n el.__qclosepopup.depth = getDepth(value)\n }\n },\n\n beforeUnmount (el) {\n const ctx = el.__qclosepopup\n el.removeEventListener('click', ctx.handler)\n el.removeEventListener('keyup', ctx.handlerKey)\n delete el.__qclosepopup\n }\n }\n)\n","export { default } from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/vue-cli-plugin-quasar/lib/loader.js.transform-quasar-imports.js!../../../../node_modules/vue-cli-plugin-quasar/lib/loader.vue.auto-import-quasar.js??ref--1-0!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-1!../../../../node_modules/vue-loader-v16/dist/index.js??ref--1-2!./Login.vue?vue&type=script&lang=js\"; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/vue-cli-plugin-quasar/lib/loader.js.transform-quasar-imports.js!../../../../node_modules/vue-cli-plugin-quasar/lib/loader.vue.auto-import-quasar.js??ref--1-0!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-1!../../../../node_modules/vue-loader-v16/dist/index.js??ref--1-2!./Login.vue?vue&type=script&lang=js\"","import { render } from \"./Login.vue?vue&type=template&id=50f1f03a&scoped=true\"\nimport script from \"./Login.vue?vue&type=script&lang=js\"\nexport * from \"./Login.vue?vue&type=script&lang=js\"\n\nimport \"./Login.vue?vue&type=style&index=0&id=50f1f03a&lang=scss&scoped=true\"\n\nimport exportComponent from \"/codebuild/output/src1250588209/src/flip-child-frontend/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-50f1f03a\"]])\n\nexport default __exports__\nimport QCardSection from 'quasar/src/components/card/QCardSection.js';\nimport QInput from 'quasar/src/components/input/QInput.js';\nimport QBtn from 'quasar/src/components/btn/QBtn.js';\nimport QItem from 'quasar/src/components/item/QItem.js';\nimport QItemLabel from 'quasar/src/components/item/QItemLabel.js';\nimport QDialog from 'quasar/src/components/dialog/QDialog.js';\nimport QCard from 'quasar/src/components/card/QCard.js';\nimport QImg from 'quasar/src/components/img/QImg.js';\nimport QCardActions from 'quasar/src/components/card/QCardActions.js';import ClosePopup from 'quasar/src/directives/close-popup/ClosePopup.js';\nimport qInstall from \"../../../../node_modules/vue-cli-plugin-quasar/lib/runtime.auto-import.js\";\nqInstall(script, 'components', {QCardSection,QInput,QBtn,QItem,QItemLabel,QDialog,QCard,QImg,QCardActions});qInstall(script, 'directives', {ClosePopup});\n","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../node_modules/vue-cli-plugin-quasar/lib/loader.vue.auto-import-quasar.js??ref--1-0!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-1!../../../../node_modules/vue-loader-v16/dist/index.js??ref--1-2!./Login.vue?vue&type=style&index=0&id=50f1f03a&lang=scss&scoped=true\"","import { computed } from 'vue'\n\nexport const useRatioProps = {\n ratio: [ String, Number ]\n}\n\nexport default function (props, naturalRatio) {\n // return ratioStyle\n return computed(() => {\n const ratio = Number(\n props.ratio || (naturalRatio !== void 0 ? naturalRatio.value : void 0)\n )\n\n return isNaN(ratio) !== true && ratio > 0\n ? { paddingBottom: `${ 100 / ratio }%` }\n : null\n })\n}\n","// extracted by mini-css-extract-plugin","\n\n\n\n","export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/vue-cli-plugin-quasar/lib/loader.js.transform-quasar-imports.js!../../../../node_modules/vue-loader-v16/dist/templateLoader.js??ref--7!../../../../node_modules/vue-cli-plugin-quasar/lib/loader.vue.auto-import-quasar.js??ref--1-0!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-1!../../../../node_modules/vue-loader-v16/dist/index.js??ref--1-2!./Login.vue?vue&type=template&id=50f1f03a&scoped=true\""],"sourceRoot":""}