{"project":"looprx","branch":"main","commit":"fb23c846bde4e523f0a63a894fd4cecb7346a515","component":{"name":"Login","nodes":{"root":{"tag":"div","type":"element","classes":{"page-wrapper":{"formula":{"type":"value","value":true}},"dfUJty":{"formula":{"type":"value","value":true}}},"children":["EzUIAQ0iP10ZBfphAkU3m","nkgLUX1dmjXU_C62X1Q2J","ICjbU7WG_tDMlsze9IJ84","Xl-wCtyk0_Njv3LDacR3j","_podvvd1kdfPUOLSu8RO2"],"customProperties":{}},"EzUIAQ0iP10ZBfphAkU3m":{"name":"Header","type":"component","classes":{},"customProperties":{}},"ICjbU7WG_tDMlsze9IJ84":{"name":"Login-OTP-Popup","type":"component","attrs":{"type":{"type":"value","value":"login"},"email":{"path":["Variables","Email"],"type":"path"},"password":{"path":["Variables","password"],"type":"path"},"show_hide_otp":{"path":["Variables","showHideOTP"],"type":"path"}},"events":{"hide_popup":{"actions":[{"data":{"type":"value","value":false},"type":"SetVariable","variable":"showHideOTP"}],"trigger":"hide_popup"},"notification_eror":{"actions":[{"type":"TriggerWorkflow","workflow":"Dsow_8","parameters":{"message":{"formula":{"path":["Event"],"type":"path"}}}}],"trigger":"notification_eror"},"notification_success":{"actions":[{"type":"TriggerWorkflow","workflow":"_tJa4z","parameters":{"message":{"formula":{"path":["Event"],"type":"path"}}}}],"trigger":"notification_success"}},"condition":{"path":["Variables","showHideOTP"],"type":"path"},"customProperties":{}},"Xl-wCtyk0_Njv3LDacR3j":{"name":"Notification","type":"component","attrs":{"message":{"path":["Variables","message"],"type":"path","label":null},"success_message":{"path":["Variables","message"],"type":"path","label":null},"notification_error":{"path":["Variables","notificationError"],"type":"path","label":null},"notification_success":{"path":["Variables","notificationSuccess"],"type":"path","label":null}},"customProperties":{}},"_podvvd1kdfPUOLSu8RO2":{"name":"Dashboard Unavailable","type":"component","customProperties":{}},"nkgLUX1dmjXU_C62X1Q2J":{"name":"Login-Request-OTP","type":"component","events":{"email":{"actions":[{"data":{"path":["Event"],"type":"path"},"type":"SetVariable","variable":"Email"}],"trigger":"email"},"password":{"actions":[{"data":{"path":["Event"],"type":"path"},"type":"SetVariable","variable":"password"}],"trigger":"password"},"request_otp":{"actions":[{"data":{"type":"value","value":true},"type":"SetVariable","variable":"showHideOTP"},{"data":{"path":["Event"],"type":"path"},"type":"SetVariable","variable":"password"}],"trigger":"request_otp"},"notification_error":{"actions":[{"type":"TriggerWorkflow","workflow":"Dsow_8","parameters":{"message":{"formula":{"path":["Event"],"type":"path"}}}}],"trigger":"notification_error"},"notification_success":{"actions":[{"type":"TriggerWorkflow","workflow":"_tJa4z","parameters":{"message":{"formula":{"path":["Event"],"type":"path"}}}}],"trigger":"notification_success"}},"customProperties":{}}},"route":{"info":{"meta":{"0NFhOREzutmvo0nyxQQbb":{"tag":"script","attrs":{},"content":{"type":"value","value":"https://cdn.zipy.ai/sdk/v1.0/zipy.min.umd.js\" crossorigin=\"anonymous\"></script> <script> window.zipy && window.zipy.init('d64c33a7');"}}}},"path":[],"query":{}},"onLoad":{"actions":[],"trigger":"Load"},"variables":{"Email":{"initialValue":{"type":"value","value":""}},"message":{"initialValue":{"type":"value","value":""}},"password":{"initialValue":{"type":"value","value":""}},"showHideOTP":{"initialValue":{"type":"value","value":false}},"notificationError":{"initialValue":{"type":"value","value":false}},"notificationSuccess":{"initialValue":{"type":"value","value":false}}},"workflows":{"Dsow_8":{"name":"Notification Error","actions":[{"data":{"type":"value","value":true},"type":"SetVariable","variable":"notificationError"},{"data":{"path":["Parameters","message"],"type":"path"},"type":"SetVariable","variable":"message"},{"name":"@toddle/sleep","events":{"tick":{"actions":[{"data":{"type":"value","value":false},"type":"SetVariable","variable":"notificationError"}],"trigger":"tick"}},"arguments":[{"name":"Delay in milliseconds","formula":{"type":"value","value":3000}}]}],"parameters":[{"name":"message"}],"exposeInContext":true},"_tJa4z":{"name":"Notification Success","actions":[{"data":{"type":"value","value":true},"type":"SetVariable","variable":"notificationSuccess"},{"data":{"path":["Parameters","message"],"type":"path"},"type":"SetVariable","variable":"message"},{"name":"@toddle/sleep","events":{"tick":{"actions":[{"data":{"type":"value","value":false},"type":"SetVariable","variable":"notificationSuccess"}],"trigger":"tick"}},"arguments":[{"name":"Delay in milliseconds","formula":{"type":"value","value":3000}}]}],"parameters":[{"name":"message"}],"exposeInContext":true}}},"components":[{"name":"Header","nodes":{"root":{"tag":"header","type":"element","children":["-Tzi7tliJgAlgssXYph03"],"classes":{"ea-dena":{"formula":{"type":"value","value":true}}},"customProperties":{}},"-Tzi7tliJgAlgssXYph03":{"tag":"svg","type":"element","attrs":{"fill":{"type":"value","value":"none"},"width":{"type":"value","value":120},"xmlns":{"type":"value","value":"http://www.w3.org/2000/svg"},"height":{"type":"value","value":60},"viewBox":{"type":"value","value":"0 0 83 25"}},"children":["NfEgBgd5mxhDQkqNswmzs","hCApS0-BEY8K1_0-Majru","S2OpJEeK4iv21cdm3F80m"],"customProperties":{}},"NfEgBgd5mxhDQkqNswmzs":{"tag":"path","type":"element","attrs":{"d":{"type":"value","value":"M10.928 20H1.996V4.6H3.91V18.24H10.928V20ZM25.6805 12.3C25.6805 16.832 22.6665 20.132 18.3325 20.132C13.9985 20.132 10.9845 16.832 10.9845 12.3C10.9845 7.768 13.9985 4.468 18.3325 4.468C22.6665 4.468 25.6805 7.768 25.6805 12.3ZM12.9425 12.3C12.9425 15.842 15.1205 18.372 18.3325 18.372C21.5445 18.372 23.7225 15.842 23.7225 12.3C23.7225 8.758 21.5445 6.228 18.3325 6.228C15.1205 6.228 12.9425 8.758 12.9425 12.3ZM42.2235 12.3C42.2235 16.832 39.2095 20.132 34.8755 20.132C30.5415 20.132 27.5275 16.832 27.5275 12.3C27.5275 7.768 30.5415 4.468 34.8755 4.468C39.2095 4.468 42.2235 7.768 42.2235 12.3ZM29.4855 12.3C29.4855 15.842 31.6635 18.372 34.8755 18.372C38.0875 18.372 40.2655 15.842 40.2655 12.3C40.2655 8.758 38.0875 6.228 34.8755 6.228C31.6635 6.228 29.4855 8.758 29.4855 12.3ZM44.6425 20V4.6H50.5605C53.6405 4.6 55.6645 6.448 55.6645 9.33C55.6645 12.212 53.6405 14.082 50.5605 14.082H46.5565V20H44.6425ZM50.4065 6.36H46.5565V12.322H50.3845C52.4085 12.322 53.7065 11.156 53.7065 9.33C53.7065 7.504 52.4305 6.36 50.4065 6.36Z"},"fill":{"type":"value","value":"#304A4B"}},"customProperties":{}},"S2OpJEeK4iv21cdm3F80m":{"tag":"defs","type":"element","children":["c6YbufJTwNnNtH_kIeG3l"],"customProperties":{}},"XneyEDqjeAxCgiC_mx959":{"tag":"path","type":"element","attrs":{"d":{"type":"value","value":"M82.2061 22.7264C81.9307 22.6463 81.7033 22.5523 81.529 22.4474C81.3454 22.3378 81.172 22.2058 81.0128 22.0565C80.8443 21.8988 80.6574 21.6991 80.4586 21.4636C80.2564 21.2258 79.9221 20.8046 79.4362 20.1775L76.2317 16.0472L75.8693 15.5839L79.5145 10.9986C79.9841 10.4078 80.7306 10.0588 81.5245 10.0588H82.1395V8.97091H76.3539V10.0588H77.8429C78.24 10.0588 78.4685 10.4751 78.2337 10.7705L75.1441 14.6569L74.8876 14.329L73.2926 12.2347C73.0837 11.9635 72.9069 11.7164 72.7662 11.5003L69.982 7.79359C70.4941 7.51851 70.9286 7.20373 71.279 6.85487C72.0361 6.10028 72.4201 5.17559 72.4201 4.10779C72.4201 2.69971 71.8221 1.64123 70.6414 0.963645C69.5264 0.324021 67.8497 0 65.6567 0H58.5V1.21619L58.8234 1.28767C59.2993 1.39339 59.5241 1.46874 59.6286 1.5138C59.7381 1.56118 59.8256 1.62258 59.8872 1.69562C59.9318 1.74844 59.9924 1.85334 60.0321 2.0562C60.0599 2.19065 60.0935 2.47192 60.0935 3.05245V12.2719C60.0935 12.767 60.0666 13.1337 60.0143 13.3622C59.9756 13.5278 59.9032 13.6474 59.792 13.7282C59.7271 13.7756 59.504 13.8991 58.8328 14.0321L58.5002 14.0981V15.3244H65.0859V14.1059L64.7634 14.0344C64.2816 13.9279 64.0577 13.8533 63.9591 13.8114C63.8471 13.7625 63.7612 13.7034 63.6997 13.6303C63.6745 13.6016 63.6096 13.5084 63.5607 13.2759C63.5296 13.1337 63.4925 12.8384 63.4925 12.2393V8.99567C64.6429 8.96926 65.8194 8.91792 66.8586 8.77498L72.8936 16.5763L73.2535 17.0354L69.1982 22.1366C68.8106 22.624 68.1947 22.912 67.5396 22.912H66.7088V23.9999H72.4945V22.912H71.0003C70.6033 22.912 70.3748 22.4957 70.6096 22.2003L73.9794 17.9613L74.2259 18.2758L76.2967 20.9832C76.5494 21.3127 76.7381 21.5909 76.8576 21.8093C76.9562 21.9911 77.0067 22.1496 77.0067 22.2825C77.0067 22.4294 76.9512 22.476 76.899 22.5086C76.8021 22.5692 76.5957 22.654 76.1662 22.7123L75.8067 22.762V23.9969H82.5002V22.8125L82.2063 22.7263L82.2061 22.7264ZM68.515 5.84146C68.2995 6.22457 68.0123 6.52449 67.6602 6.7328C67.5726 6.78488 67.4867 6.83151 67.4042 6.87187C67.1052 7.01795 66.7836 7.12285 66.4476 7.18351L66.3734 7.19671C65.9287 7.27289 65.3359 7.31094 64.6091 7.31094H63.4924V1.73912C63.9345 1.72277 64.4592 1.71502 65.058 1.71502C66.013 1.71502 66.7726 1.82305 67.3159 2.03516C67.8371 2.24033 68.2119 2.52391 68.4612 2.90397C68.7138 3.28635 68.8426 3.78517 68.8426 4.38509C68.8426 4.98502 68.7324 5.45521 68.515 5.84137V5.84146Z"},"fill":{"type":"value","value":"#304A4B"}},"customProperties":{}},"c6YbufJTwNnNtH_kIeG3l":{"tag":"clipPath","type":"element","attrs":{"id":{"type":"value","value":"clip0_86_209"}},"children":["jTeLLuVZqVPpRGHgK0va5"],"customProperties":{}},"hCApS0-BEY8K1_0-Majru":{"tag":"g","type":"element","attrs":{"clip-path":{"type":"value","value":"url(#clip0_86_209)"}},"children":["XneyEDqjeAxCgiC_mx959"],"customProperties":{}},"jTeLLuVZqVPpRGHgK0va5":{"tag":"rect","type":"element","attrs":{"fill":{"type":"value","value":"white"},"width":{"type":"value","value":"24"},"height":{"type":"value","value":"24"},"transform":{"type":"value","value":"translate(58.5)"}},"customProperties":{}}},"variables":{"Untitled":{"initialValue":{"type":"value","value":null}}}},{"apis":{"OTP":{"url":{"type":"value","value":"https://demo-app-config.looprx.io"},"body":{"type":"object","arguments":[{"Name":0,"name":"email","formula":{"path":["Attributes","email"],"type":"path"}},{"Name":0,"name":"otp","formula":{"path":["Variables","OTP"],"type":"path"}}]},"name":"OTP","path":{"067daea7-cada-45fb-9525-829984b686a5":{"index":2,"formula":{"type":"value","value":"verify-otp"}},"a6fa2b17-ac89-4f66-be74-99a0af199630":{"index":0,"formula":{"type":"value","value":"api"}},"de699b28-f579-487b-9e89-2f73035e354e":{"index":1,"formula":{"type":"value","value":"login"}}},"type":"http","client":{"onCompleted":{"actions":[],"trigger":"Completed"}},"inputs":{},"method":"POST","server":{"ssr":{"enabled":{"formula":{"type":"value","value":true}}},"proxy":{"enabled":{"formula":{"type":"value","value":true}}}},"headers":{"Content-Type":{"enabled":{"type":"value","value":true},"formula":{"type":"value","value":"application/json"}}},"isError":{},"timeout":{},"version":2,"autoFetch":{"type":"value","value":false},"queryParams":{},"redirectRules":{},"dependsOn":[]},"Login":{"url":{"type":"value","value":"https://demo-app-config.looprx.io"},"body":{"type":"object","arguments":[{"Name":0,"name":"email","formula":{"path":["Attributes","email"],"type":"path"}},{"Name":0,"name":"password","formula":{"path":["Attributes","password"],"type":"path"}}]},"name":"Login","path":{"6eac3571-87a0-468d-a7eb-744a67bf75b4":{"index":2,"formula":{"type":"value","value":"send-otp"}},"c936c7fa-1962-4265-ac7f-ee1cbecd64c4":{"index":1,"formula":{"type":"value","value":"login"}},"c9eb32ef-02d8-42af-a7a8-bb50869880c7":{"index":0,"formula":{"type":"value","value":"api"}}},"type":"http","client":{"debounce":null,"parserMode":"auto","onCompleted":{"actions":[],"trigger":"Success"}},"inputs":{},"method":"POST","server":{"ssr":{"enabled":{"formula":{"type":"value","value":true}}},"proxy":null},"headers":{"Content-type":{"formula":{"type":"value","value":"application/json"}},"Authorization":{"name":"Authorization","enabled":{"type":"value","value":true},"formula":{"name":"@toddle/concatenate","type":"function","arguments":[{"formula":{"type":"value","value":"Bearer "}},{"formula":{"name":"@toddle/getHttpOnlyCookie","type":"function","arguments":[{"formula":{"type":"value","value":"access_token"}}],"display_name":"Get Http-Only Cookie"}}],"display_name":"Concatenate"}}},"version":2,"autoFetch":{"type":"value","value":false},"queryParams":{},"redirectRules":{},"dependsOn":[]},"userSignup":{"url":{"type":"value","value":"https://demo-app-config.looprx.io"},"body":{"type":"object","arguments":[{"Name":0,"name":"email","formula":{"path":["Attributes","email"],"type":"path"}},{"Name":0,"name":"otp","formula":{"path":["Variables","OTP"],"type":"path"}},{"Name":0,"name":"password","formula":{"path":["Attributes","password"],"type":"path"}}]},"name":"userSignup","path":{"59169ec1-f24a-4636-acb0-8ebf131f3b8f":{"index":2,"formula":{"type":"value","value":"verify-otp"}},"7ade47a3-cb02-4775-b8eb-0442c0ecf907":{"index":1,"formula":{"type":"value","value":"sign-up"}},"faf996f9-1a95-4c2f-95b4-0d5e0d1f3ba2":{"index":0,"formula":{"type":"value","value":"api"}}},"type":"http","client":{},"inputs":{},"method":"POST","server":{"ssr":{"enabled":{"formula":{"type":"value","value":true}}},"proxy":{"enabled":{"formula":{"type":"value","value":true}}}},"headers":{"Content-Type":{"enabled":{"type":"value","value":true},"formula":{"type":"value","value":"application/json"}}},"isError":{},"timeout":{},"version":2,"autoFetch":{"type":"value","value":false},"queryParams":{},"redirectRules":{},"dependsOn":[]},"Request OTP":{"url":{"type":"value","value":"https://demo-app-config.looprx.io"},"body":{"type":"object","arguments":[{"Name":0,"name":"email","formula":{"name":"@toddle/decodeURIComponent","type":"function","arguments":[{"name":"EncodedURI","type":{"type":"String"},"formula":{"path":["Attributes","email"],"type":"path"}}],"display_name":"Decode URI Component"}}]},"name":"Request OTP","path":{"5020289e-8180-4b34-aa3f-4a4cf2f8791b":{"index":1,"formula":{"type":"value","value":"forgot-password"}},"7210df2c-3ce7-44f4-99eb-c9cb0cb6ec2a":{"index":2,"formula":{"type":"value","value":"send-otp"}},"fe2a3eec-9b3b-44c2-bacb-0f86cc13399d":{"index":0,"formula":{"type":"value","value":"api"}}},"type":"http","client":{"onFailed":{"actions":[],"trigger":"Error"},"onCompleted":{"actions":[],"trigger":"Completed"}},"inputs":{},"method":"POST","server":{"ssr":{"enabled":{"formula":{"type":"value","value":true}}},"proxy":{"enabled":{"formula":{"type":"value","value":true}}}},"headers":{"Content-Type":{"enabled":{"type":"value","value":true},"formula":{"type":"value","value":"application/json"}}},"isError":{},"timeout":{},"version":2,"autoFetch":{"type":"value","value":false},"queryParams":{},"redirectRules":{},"dependsOn":[]},"Request Sign Up OTP":{"url":{"type":"value","value":"https://demo-app-config.looprx.io"},"body":{"type":"object","arguments":[{"Name":0,"name":"name","formula":{"path":["Attributes","fullname"],"type":"path"}},{"Name":0,"name":"email","formula":{"path":["Attributes","email"],"type":"path"}},{"Name":0,"name":"invitation_token","formula":{"path":["Attributes","token"],"type":"path"}},{"Name":0,"name":"mobile","formula":{"path":["Attributes","phone"],"type":"path"}},{"Name":0,"name":"password","formula":{"path":["Attributes","password"],"type":"path"}},{"Name":0,"name":"date_of_birth","formula":{"type":"switch","cases":[{"formula":{"name":"@toddle/concatenate","type":"function","arguments":[{"name":"0","type":{"type":"Array \\| String \\| Object"},"formula":{"path":["Attributes","dd"],"type":"path"}},{"name":"0","type":{"type":"Array \\| String \\| Object"},"formula":{"type":"switch","cases":[{"formula":{"type":"value","value":"-"},"condition":{"name":"@toddle/equals","type":"function","arguments":[{"name":"First","type":{"type":"Any"},"formula":{"path":["Attributes","role"],"type":"path"}},{"name":"Second","type":{"type":"Any"},"formula":{"type":"value","value":"prescriber"}}],"display_name":"Equals"}}],"default":{"type":"value","value":""}}},{"name":"0","type":{"type":"Array \\| String \\| Object"},"formula":{"path":["Attributes","dm"],"type":"path"}},{"name":"0","type":{"type":"Array \\| String \\| Object"},"formula":{"type":"switch","cases":[{"formula":{"type":"value","value":"-"},"condition":{"name":"@toddle/equals","type":"function","arguments":[{"name":"First","type":{"type":"Any"},"formula":{"path":["Attributes","role"],"type":"path"}},{"name":"Second","type":{"type":"Any"},"formula":{"type":"value","value":"prescriber"}}],"display_name":"Equals"}}],"default":{"type":"value","value":""}}},{"name":"0","type":{"type":"Array \\| String \\| Object"},"formula":{"path":["Attributes","dy"],"type":"path"}}],"display_name":"Concatenate","variableArguments":true},"condition":{"name":"@toddle/equals","type":"function","arguments":[{"name":"First","type":{"type":"Any"},"formula":{"path":["Attributes","role"],"type":"path"}},{"name":"Second","type":{"type":"Any"},"formula":{"type":"value","value":"prescriber"}}],"display_name":"Equals"}}],"default":{"type":"value","value":""}}},{"Name":0,"name":"address1","formula":{"type":"switch","cases":[{"formula":{"path":["Attributes","address"],"type":"path"},"condition":{"name":"@toddle/equals","type":"function","arguments":[{"name":"First","type":{"type":"Any"},"formula":{"path":["Attributes","role"],"type":"path"}},{"name":"Second","type":{"type":"Any"},"formula":{"type":"value","value":"prescriber"}}],"display_name":"Equals"}}],"default":{"type":"value","value":""}}},{"Name":0,"name":"city","formula":{"type":"switch","cases":[{"formula":{"path":["Attributes","city"],"type":"path"},"condition":{"name":"@toddle/equals","type":"function","arguments":[{"name":"First","type":{"type":"Any"},"formula":{"path":["Attributes","role"],"type":"path"}},{"name":"Second","type":{"type":"Any"},"formula":{"type":"value","value":"prescriber"}}],"display_name":"Equals"}}],"default":{"type":"value","value":""}}},{"Name":0,"name":"postcode","formula":{"type":"switch","cases":[{"formula":{"path":["Attributes","postal-code"],"type":"path"},"condition":{"name":"@toddle/equals","type":"function","arguments":[{"name":"First","type":{"type":"Any"},"formula":{"path":["Attributes","role"],"type":"path"}},{"name":"Second","type":{"type":"Any"},"formula":{"type":"value","value":"prescriber"}}],"display_name":"Equals"}}],"default":{"type":"value","value":""}}},{"Name":0,"name":"country","formula":{"type":"switch","cases":[{"formula":{"path":["Attributes","country"],"type":"path"},"condition":{"name":"@toddle/equals","type":"function","arguments":[{"name":"First","type":{"type":"Any"},"formula":{"path":["Attributes","role"],"type":"path"}},{"name":"Second","type":{"type":"Any"},"formula":{"type":"value","value":"prescriber"}}],"display_name":"Equals"}}],"default":{"type":"value","value":""}}},{"Name":0,"name":"role","formula":{"type":"switch","cases":[{"formula":{"type":"value","value":"prescriber"},"condition":{"name":"@toddle/equals","type":"function","arguments":[{"name":"First","type":{"type":"Any"},"formula":{"path":["Attributes","role"],"type":"path"}},{"name":"Second","type":{"type":"Any"},"formula":{"type":"value","value":"prescriber"}}],"display_name":"Equals"}}],"default":{"type":"value","value":""}}}]},"name":"Request Sign Up OTP","path":{"5f8d1d3a-09c0-4ce1-adbc-443274f9efe5":{"index":2,"formula":{"type":"value","value":"send-otp"}},"e7d1f9e7-f6d5-45f3-99c6-a4af28c3b431":{"index":0,"formula":{"type":"value","value":"api"}},"ffd1e3cd-e7d2-4aec-8a14-fbdffb40e718":{"index":1,"formula":{"type":"value","value":"sign-up"}}},"type":"http","client":{},"inputs":{},"method":"POST","server":{"ssr":{"enabled":{"formula":{"type":"value","value":true}}},"proxy":{"enabled":{"formula":{"type":"value","value":true}}}},"headers":{"Content-Type":{"enabled":{"type":"value","value":true},"formula":{"type":"value","value":"application/json"}}},"isError":{},"timeout":{},"version":2,"autoFetch":{"type":"value","value":false},"queryParams":{},"redirectRules":{},"dependsOn":[]},"Request Login OTP Via SMS":{"url":{"type":"value","value":"https://demo-app-config.looprx.io"},"body":{"type":"object","arguments":[{"Name":0,"name":"email","formula":{"path":["Attributes","email"],"type":"path"}}]},"name":"Request Login OTP Via SMS","path":{"e7d1f9e7-f6d5-45f3-99c6-a4af28c3b431":{"index":0,"formula":{"type":"value","value":"api"}},"ffd1e3cd-e7d2-4aec-8a14-fbdffb40e718":{"index":1,"formula":{"type":"value","value":"send-otp-phone"}}},"type":"http","client":{},"inputs":{},"method":"POST","server":{"ssr":{"enabled":{"formula":{"type":"value","value":true}}},"proxy":{"enabled":{"formula":{"type":"value","value":true}}}},"headers":{"Content-Type":{"enabled":{"type":"value","value":true},"formula":{"type":"value","value":"application/json"}}},"isError":{},"timeout":{},"version":2,"autoFetch":{"type":"value","value":false},"queryParams":{},"redirectRules":{},"dependsOn":[]},"Verify & Confirm Password":{"url":{"type":"value","value":"https://demo-app-config.looprx.io"},"body":{"type":"object","arguments":[{"Name":0,"name":"otp","formula":{"path":["Variables","OTP"],"type":"path"}},{"Name":0,"name":"password","formula":{"path":["Attributes","password"],"type":"path"}},{"Name":0,"name":"email","formula":{"path":["Attributes","email"],"type":"path"}}]},"name":"Verify & Confirm Password","path":{"1e70ad0a-c284-4604-957c-05ade6da3eaa":{"index":1,"formula":{"type":"value","value":"forgot-password"}},"834afc8c-1d31-4112-9e12-ef0607fb9459":{"index":2,"formula":{"type":"value","value":"confirm-password"}},"ecbd52fb-73f8-454d-a747-2a9bb39fe60f":{"index":0,"formula":{"type":"value","value":"api"}}},"type":"http","client":{"onFailed":{"actions":[],"trigger":"Error"},"onCompleted":{"actions":[],"trigger":"Completed"}},"inputs":{},"method":"POST","server":{"ssr":{"enabled":{"formula":{"type":"value","value":true}}},"proxy":{"enabled":{"formula":{"type":"value","value":true}}}},"headers":{"Content-Type":{"enabled":{"type":"value","value":true},"formula":{"type":"value","value":"application/json"}}},"isError":{},"timeout":{},"version":2,"autoFetch":{"type":"value","value":false},"queryParams":{},"redirectRules":{},"dependsOn":[]},"Request Sign Up OTP Via SMS":{"url":{"type":"value","value":"https://demo-app-config.looprx.io"},"body":{"type":"object","arguments":[{"Name":0,"name":"mobile","formula":{"name":"@toddle/concatenate","type":"function","arguments":[{"name":"0","type":{"type":"Array \\| String"},"formula":{"type":"value","value":44}},{"name":"0","type":{"type":"Array \\| String"},"formula":{"path":["Attributes","phone"],"type":"path"}}],"display_name":"Concatenate","variableArguments":true}}]},"name":"Request Sign Up OTP Via SMS","path":{"e7d1f9e7-f6d5-45f3-99c6-a4af28c3b431":{"index":0,"formula":{"type":"value","value":"api"}},"ffd1e3cd-e7d2-4aec-8a14-fbdffb40e718":{"index":1,"formula":{"type":"value","value":"send-otp-phone"}}},"type":"http","client":{},"inputs":{},"method":"POST","server":{"ssr":{"enabled":{"formula":{"type":"value","value":true}}},"proxy":{"enabled":{"formula":{"type":"value","value":true}}}},"headers":{"Content-Type":{"enabled":{"type":"value","value":true},"formula":{"type":"value","value":"application/json"}}},"isError":{},"timeout":{},"version":2,"autoFetch":{"type":"value","value":false},"queryParams":{},"redirectRules":{},"dependsOn":[]}},"name":"Login-OTP-Popup","nodes":{"root":{"tag":"div","type":"element","children":["X25y7aoh2Faz6fNoaVqA4","LSoNs2rTgg6WY_y9bXiE2","WJZ-RNrrQW0DdbjITfiCB"],"condition":{"path":["Attributes","show_hide_otp"],"type":"path"},"classes":{"WVtvR":{"formula":{"type":"value","value":true}}},"customProperties":{}},"1EaeIolCQ7dsJ3GT6523y":{"tag":"form","type":"element","events":{"submit":{"actions":[{"name":"@toddle/preventDefault"},{"type":"Switch","cases":[{"actions":[{"api":"OTP","type":"Fetch","inputs":{},"onError":{"actions":[{"data":{"path":["Apis","OTP","error","message"],"type":"path"},"type":"TriggerEvent","event":"notification_eror"}],"trigger":"onError"},"onMessage":{"actions":[]},"onSuccess":{"actions":[{"name":"@toddle/setSessionCookies","events":{"Error":{"actions":[],"description":"This event is triggered if toddle is unable to set the session cookies"},"Success":{"actions":[{"name":"@toddle/gotToURL","arguments":[{"name":"URL","formula":{"type":"value","value":"/dashboard"}}]}],"trigger":"Success","description":"This event is triggered once the tokens have been saved."}},"arguments":[{"name":"Access token","formula":{"path":["Apis","OTP","data","token"],"type":"path"}},{"name":"Expires in","formula":{"type":"value","value":86000}}]},{"data":{"path":["Apis","OTP","data","message"],"type":"path"},"type":"TriggerEvent","event":"notification_success"}],"trigger":"onSuccess"}}],"condition":{"type":"switch","cases":[{"formula":{"type":"value","value":true},"condition":{"name":"@toddle/equals","type":"function","arguments":[{"name":"First","type":{"type":"Any"},"formula":{"path":["Attributes","type"],"type":"path"}},{"name":"Second","type":{"type":"Any"},"formula":{"type":"value","value":"login"}}],"display_name":"Equals"}}],"default":{"type":"value","value":false}}}],"default":{"actions":[{"type":"Switch","cases":[{"actions":[{"api":"userSignup","type":"Fetch","inputs":{},"onError":{"actions":[{"data":{"path":["Apis","userSignup","error","message"],"type":"path"},"type":"TriggerEvent","event":"notification_eror"}],"trigger":"onError"},"onMessage":{"actions":[]},"onSuccess":{"actions":[{"data":{"path":["Apis","userSignup","data","message"],"type":"path"},"type":"TriggerEvent","event":"notification_success"},{"name":"@toddle/gotToURL","arguments":[{"name":"URL","formula":{"type":"value","value":"/"}}]}],"trigger":"onSuccess"}}],"condition":{"type":"switch","cases":[{"formula":{"type":"value","value":true},"condition":{"name":"@toddle/equals","type":"function","arguments":[{"name":"First","type":{"type":"Any"},"formula":{"path":["Attributes","type"],"type":"path"}},{"name":"Second","type":{"type":"Any"},"formula":{"type":"value","value":"signup"}}],"display_name":"Equals"}}],"default":{"type":"value","value":false}}}],"default":{"actions":[{"api":"Verify & Confirm Password","type":"Fetch","inputs":{},"onError":{"actions":[{"data":{"path":["Apis","Verify & Confirm Password","error","message"],"type":"path"},"type":"TriggerEvent","event":"notification_eror"},{"name":"@toddle/sleep","events":{"tick":{"actions":[],"trigger":"tick"}},"arguments":[{"name":"Delay in milliseconds","formula":{"type":"value","value":3000}}]}],"trigger":"onError"},"onMessage":{"actions":[]},"onSuccess":{"actions":[{"data":{"path":["Apis","Verify & Confirm Password","data","message"],"type":"path"},"type":"TriggerEvent","event":"notification_success"},{"name":"@toddle/sleep","events":{"tick":{"actions":[{"name":"@toddle/sleep","events":{"tick":{"actions":[{"name":"@toddle/gotToURL","arguments":[{"name":"URL","formula":{"type":"value","value":"/"}}]}],"trigger":"tick"}},"arguments":[{"name":"Delay in milliseconds","formula":{"type":"value","value":200}}]}],"trigger":"tick"}},"arguments":[{"name":"Delay in milliseconds","formula":{"type":"value","value":3000}}]}],"trigger":"onSuccess"}}]}}]}}],"trigger":"submit"}},"children":["5UHH8GjRY2eInHCub5-0n","NHZYcXRtJXXOmQ5KN2mgw"],"classes":{"MqBcO":{"formula":{"type":"value","value":true}}},"customProperties":{}},"5UHH8GjRY2eInHCub5-0n":{"tag":"div","type":"element","children":["YSS59SKzNofjv14UJgEKf","MeANCSq13cdly092Hqc43"],"customProperties":{}},"LSoNs2rTgg6WY_y9bXiE2":{"tag":"div","type":"element","events":{"click":{"actions":[{"data":{"path":["Event"],"type":"path"},"type":"TriggerEvent","event":"hide_popup"},{"data":{"type":"value","value":-1},"type":"SetVariable","variable":"timer"},{"data":{"type":"value","value":0},"type":"SetVariable","variable":"otp_sent_count"}],"trigger":"click"}},"classes":{"fMVA":{"formula":{"type":"value","value":true}}},"customProperties":{}},"MeANCSq13cdly092Hqc43":{"tag":"div","type":"element","children":["QGI4D4-Py6hYM9R4Ph---"],"classes":{"dcKcrc":{"formula":{"type":"value","value":true}}},"customProperties":{}},"NHZYcXRtJXXOmQ5KN2mgw":{"name":"Buttton-Big","type":"component","attrs":{"title":{"type":"switch","cases":[{"formula":{"type":"value","value":"Log In"},"condition":{"name":"@toddle/equals","type":"function","arguments":[{"name":"First","type":{"type":"Any"},"formula":{"path":["Attributes","type"],"type":"path"}},{"name":"Second","type":{"type":"Any"},"formula":{"type":"value","value":"login"}}],"display_name":"Equals"}}],"default":{"type":"switch","cases":[{"formula":{"type":"value","value":"Complete Sign Up"},"condition":{"name":"@toddle/equals","type":"function","arguments":[{"name":"First","type":{"type":"Any"},"formula":{"path":["Attributes","type"],"type":"path"}},{"name":"Second","type":{"type":"Any"},"formula":{"type":"value","value":"signup"}}],"display_name":"Equals"}}],"default":{"type":"value","value":"Reset Password"}}},"is_loading":{"type":"switch","cases":[{"formula":{"path":["Apis","OTP","isLoading"],"type":"path"},"condition":{"name":"@toddle/equals","type":"function","arguments":[{"name":"First","type":{"type":"Any"},"formula":{"path":["Attributes","type"],"type":"path"}},{"name":"Second","type":{"type":"Any"},"formula":{"type":"value","value":"login"}}],"display_name":"Equals"}}],"default":{"type":"switch","cases":[{"formula":{"path":["Apis","Request Sign Up OTP","isLoading"],"type":"path"},"condition":{"name":"@toddle/equals","type":"function","arguments":[{"name":"First","type":{"type":"Any"},"formula":{"path":["Attributes","type"],"type":"path"}},{"name":"Second","type":{"type":"Any"},"formula":{"type":"value","value":"signup"}}],"display_name":"Equals"}}],"default":{"path":["Apis","Verify & Confirm Password","isLoading"],"type":"path"}}}},"customProperties":{}},"QGI4D4-Py6hYM9R4Ph---":{"tag":"div","type":"element","events":{"click":{"actions":[{"type":"Switch","cases":[{"actions":[{"type":"Switch","cases":[{"actions":[],"condition":{"path":["Variables","isCounting"],"type":"path"}}],"default":{"actions":[{"type":"Switch","cases":[{"actions":[{"api":"Request Login OTP Via SMS","type":"Fetch","inputs":{},"onError":{"actions":[{"data":{"path":["Apis","Request Login OTP Via SMS","error","message"],"type":"path"},"type":"TriggerEvent","event":"notification_eror"}],"trigger":"onError"},"onMessage":{"actions":[]},"onSuccess":{"actions":[{"data":{"path":["Apis","Request Login OTP Via SMS","data","message"],"type":"path"},"type":"TriggerEvent","event":"notification_success"},{"type":"TriggerWorkflow","workflow":"au-OF5"},{"type":"Switch","cases":[{"actions":[{"type":"TriggerWorkflow","workflow":"OdJdLI"}],"condition":{"type":"and","label":"Should start countdown","arguments":[{"formula":{"name":"@toddle/greaterThan","type":"function","label":"Should start countdown","arguments":[{"name":"First","type":{"type":"Number"},"formula":{"path":["Variables","timer"],"type":"path"}},{"name":"Second","type":{"type":"Number"},"formula":{"type":"value","value":0}}],"display_name":"Greater than"}}]}}],"default":{"actions":[]}}],"trigger":"onSuccess"}}],"condition":{"name":"@toddle/equals","type":"function","arguments":[{"name":"First","type":{"type":"Any"},"formula":{"path":["Variables","otp_sent_count"],"type":"path"}},{"name":"Second","type":{"type":"Any"},"formula":{"type":"value","value":2}}],"display_name":"Equals"}}],"default":{"actions":[{"api":"Login","type":"Fetch","inputs":{},"onError":{"actions":[{"data":{"path":["Apis","Login","error","message"],"type":"path"},"type":"TriggerEvent","event":"notification_eror"}],"trigger":"onError"},"onMessage":{"actions":[]},"onSuccess":{"actions":[{"data":{"path":["Apis","Login","data","message"],"type":"path"},"type":"TriggerEvent","event":"notification_success"},{"type":"TriggerWorkflow","workflow":"au-OF5"},{"type":"Switch","cases":[{"actions":[{"type":"TriggerWorkflow","workflow":"OdJdLI"}],"condition":{"type":"and","label":"Should start countdown","arguments":[{"formula":{"name":"@toddle/greaterThan","type":"function","label":"Should start countdown","arguments":[{"name":"First","type":{"type":"Number"},"formula":{"path":["Variables","timer"],"type":"path"}},{"name":"Second","type":{"type":"Number"},"formula":{"type":"value","value":0}}],"display_name":"Greater than"}}]}}],"default":{"actions":[]}}],"trigger":"onSuccess"}},{"data":{"name":"@toddle/add","type":"function","arguments":[{"name":"0","type":{"type":"Number"},"formula":{"path":["Variables","otp_sent_count"],"type":"path"}},{"name":"1","type":{"type":"Number"},"formula":{"type":"value","value":1}}],"display_name":"Add","variableArguments":true},"type":"SetVariable","variable":"otp_sent_count"}]}}]}}],"condition":{"type":"switch","cases":[{"formula":{"type":"value","value":true},"condition":{"name":"@toddle/equals","type":"function","arguments":[{"name":"First","type":{"type":"Any"},"formula":{"path":["Attributes","type"],"type":"path"}},{"name":"Second","type":{"type":"Any"},"formula":{"type":"value","value":"login"}}],"display_name":"Equals"}}],"default":{"type":"value","value":false}}}],"default":{"actions":[{"type":"Switch","cases":[{"actions":[{"type":"Switch","cases":[{"actions":[],"condition":{"path":["Variables","isCounting"],"type":"path"}}],"default":{"actions":[{"type":"Switch","cases":[{"actions":[{"api":"Request Sign Up OTP Via SMS","type":"Fetch","inputs":{},"onError":{"actions":[{"data":{"path":["Apis","Request Sign Up OTP Via SMS","error","message"],"type":"path"},"type":"TriggerEvent","event":"notification_eror"}],"trigger":"onError"},"onMessage":{"actions":[]},"onSuccess":{"actions":[{"data":{"type":"value","value":"OTP Sent Successfully"},"type":"TriggerEvent","event":"notification_success"},{"type":"TriggerWorkflow","workflow":"au-OF5"},{"type":"Switch","cases":[{"actions":[{"type":"TriggerWorkflow","workflow":"OdJdLI"}],"condition":{"type":"and","label":"Should start countdown","arguments":[{"formula":{"name":"@toddle/greaterThan","type":"function","label":"Should start countdown","arguments":[{"name":"First","type":{"type":"Number"},"formula":{"path":["Variables","timer"],"type":"path"}},{"name":"Second","type":{"type":"Number"},"formula":{"type":"value","value":0}}],"display_name":"Greater than"}}]}}],"default":{"actions":[]}}],"trigger":"onSuccess"}}],"condition":{"name":"@toddle/equals","type":"function","arguments":[{"name":"First","type":{"type":"Any"},"formula":{"path":["Variables","otp_sent_count"],"type":"path"}},{"name":"Second","type":{"type":"Any"},"formula":{"type":"value","value":2}}],"display_name":"Equals"}}],"default":{"actions":[{"api":"Request Sign Up OTP","type":"Fetch","inputs":{},"onError":{"actions":[{"data":{"path":["Apis","Request Sign Up OTP","error","message"],"type":"path"},"type":"TriggerEvent","event":"notification_eror"}],"trigger":"onError"},"onMessage":{"actions":[]},"onSuccess":{"actions":[{"data":{"type":"value","value":"OTP Sent Successfully"},"type":"TriggerEvent","event":"notification_success"},{"type":"TriggerWorkflow","workflow":"au-OF5"},{"type":"Switch","cases":[{"actions":[{"type":"TriggerWorkflow","workflow":"OdJdLI"}],"condition":{"type":"and","label":"Should start countdown","arguments":[{"formula":{"name":"@toddle/greaterThan","type":"function","label":"Should start countdown","arguments":[{"name":"First","type":{"type":"Number"},"formula":{"path":["Variables","timer"],"type":"path"}},{"name":"Second","type":{"type":"Number"},"formula":{"type":"value","value":0}}],"display_name":"Greater than"}}]}}],"default":{"actions":[]}}],"trigger":"onSuccess"}},{"data":{"name":"@toddle/add","type":"function","arguments":[{"name":"0","type":{"type":"Number"},"formula":{"path":["Variables","otp_sent_count"],"type":"path"}},{"name":"1","type":{"type":"Number"},"formula":{"type":"value","value":1}}],"display_name":"Add","variableArguments":true},"type":"SetVariable","variable":"otp_sent_count"}]}}]}}],"condition":{"type":"switch","cases":[{"formula":{"type":"value","value":true},"condition":{"name":"@toddle/equals","type":"function","arguments":[{"name":"First","type":{"type":"Any"},"formula":{"path":["Attributes","type"],"type":"path"}},{"name":"Second","type":{"type":"Any"},"formula":{"type":"value","value":"signup"}}],"display_name":"Equals"}}],"default":{"type":"value","value":false}}}],"default":{"actions":[{"type":"Switch","cases":[{"actions":[],"condition":{"path":["Variables","isCounting"],"type":"path"}}],"default":{"actions":[{"type":"Switch","cases":[{"actions":[{"api":"Request Login OTP Via SMS","type":"Fetch","inputs":{},"onError":{"actions":[{"data":{"path":["Apis","Request Login OTP Via SMS","error","message"],"type":"path"},"type":"TriggerEvent","event":"notification_eror"}],"trigger":"onError"},"onMessage":{"actions":[]},"onSuccess":{"actions":[{"data":{"path":["Apis","Request Login OTP Via SMS","data","message"],"type":"path"},"type":"TriggerEvent","event":"notification_success"},{"type":"TriggerWorkflow","workflow":"au-OF5"},{"type":"Switch","cases":[{"actions":[{"type":"TriggerWorkflow","workflow":"OdJdLI"}],"condition":{"type":"and","label":"Should start countdown","arguments":[{"formula":{"name":"@toddle/greaterThan","type":"function","label":"Should start countdown","arguments":[{"name":"First","type":{"type":"Number"},"formula":{"path":["Variables","timer"],"type":"path"}},{"name":"Second","type":{"type":"Number"},"formula":{"type":"value","value":0}}],"display_name":"Greater than"}}]}}],"default":{"actions":[]}}],"trigger":"onSuccess"}}],"condition":{"name":"@toddle/equals","type":"function","arguments":[{"name":"First","type":{"type":"Any"},"formula":{"path":["Variables","otp_sent_count"],"type":"path"}},{"name":"Second","type":{"type":"Any"},"formula":{"type":"value","value":2}}],"display_name":"Equals"}}],"default":{"actions":[{"api":"Request OTP","type":"Fetch","inputs":{},"onError":{"actions":[{"data":{"path":["Apis","Request OTP","error","message"],"type":"path"},"type":"TriggerEvent","event":"notification_eror"},{"name":"@toddle/sleep","events":{"tick":{"actions":[],"trigger":"tick"}},"arguments":[{"name":"Delay in milliseconds","formula":{"type":"value","value":3000}}]}],"trigger":"onError"},"onMessage":{"actions":[]},"onSuccess":{"actions":[{"data":{"path":["Apis","Request OTP","data","message"],"type":"path"},"type":"TriggerEvent","event":"notification_success"},{"type":"TriggerWorkflow","workflow":"au-OF5"},{"type":"Switch","cases":[{"actions":[{"type":"TriggerWorkflow","workflow":"OdJdLI"}],"condition":{"type":"and","label":"Should start countdown","arguments":[{"formula":{"name":"@toddle/greaterThan","type":"function","label":"Should start countdown","arguments":[{"name":"First","type":{"type":"Number"},"formula":{"path":["Variables","timer"],"type":"path"}},{"name":"Second","type":{"type":"Number"},"formula":{"type":"value","value":0}}],"display_name":"Greater than"}}]}}],"default":{"actions":[]}},{"name":"@toddle/sleep","events":{"tick":{"actions":[],"trigger":"tick"}},"arguments":[{"name":"Delay in milliseconds","formula":{"type":"value","value":3000}}]}],"trigger":"onSuccess"}},{"data":{"name":"@toddle/add","type":"function","arguments":[{"name":"0","type":{"type":"Number"},"formula":{"path":["Variables","otp_sent_count"],"type":"path"}},{"name":"1","type":{"type":"Number"},"formula":{"type":"value","value":1}}],"display_name":"Add","variableArguments":true},"type":"SetVariable","variable":"otp_sent_count"}]}}]}}]}}]}}],"trigger":"click"}},"classes":{"disabled":{"formula":{"path":["Variables","isCounting"],"type":"path"}},"bKGTa":{"formula":{"type":"value","value":true}}},"children":["kgkiENIggsEI5THJsgy5L"],"customProperties":{}},"VWV8DDlDthsr0iicDIsrs":{"tag":"div","type":"element","children":["1EaeIolCQ7dsJ3GT6523y"],"classes":{"bsoBDd":{"formula":{"type":"value","value":true}}},"customProperties":{}},"WJZ-RNrrQW0DdbjITfiCB":{"tag":"div","type":"element","children":["agFRvXQzE7yYizTN2Psfj","vqnX9pCYB_YDRv4r6vPh-","VWV8DDlDthsr0iicDIsrs"],"classes":{"dXMFGU":{"formula":{"type":"value","value":true}}},"customProperties":{}},"X25y7aoh2Faz6fNoaVqA4":{"name":"Background","type":"component","customProperties":{}},"YSS59SKzNofjv14UJgEKf":{"name":"input","type":"component","attrs":{"type":{"type":"value","value":"Text"},"value":{"path":["Variables","OTP"],"type":"path"},"maxlenght":{"type":"value","value":5},"onkeypress":{"type":"value","value":"return event.charCode >= 48 && event.charCode <= 57"}},"events":{"onInput":{"actions":[{"data":{"path":["Event"],"type":"path"},"type":"SetVariable","variable":"OTP"}],"trigger":"onInput"}},"customProperties":{}},"_9lSOmnlikBqtu-eN-c2w":{"type":"text","value":{"type":"value","value":"One Time Password"},"events":null},"agFRvXQzE7yYizTN2Psfj":{"tag":"h2","type":"element","children":["_9lSOmnlikBqtu-eN-c2w"],"classes":{"cdwNlr":{"formula":{"type":"value","value":true}}},"customProperties":{}},"kgkiENIggsEI5THJsgy5L":{"type":"text","value":{"type":"switch","cases":[{"formula":{"type":"switch","cases":[{"formula":{"type":"value","value":"Resend OTP via SMS"},"condition":{"name":"@toddle/lessOrEqual","type":"function","arguments":[{"name":"First","type":{"type":"Number"},"formula":{"path":["Variables","timer"],"type":"path"}},{"name":"Second","type":{"type":"Number"},"formula":{"type":"value","value":0}}],"display_name":"Less or equal"}}],"default":{"name":"@toddle/concatenate","type":"function","arguments":[{"name":"0","type":{"type":"Union","types":[{"type":"String"},{"type":"Array","ofType":{"type":"Any"}}]},"formula":{"path":["Variables","timer"],"type":"path"}},{"name":"0","type":{"type":"Union","types":[{"type":"String"},{"type":"Array","ofType":{"type":"Any"}}]},"formula":{"type":"value","value":"  seconds"}},{"name":"0","type":{"type":"Union","types":[{"type":"String"},{"type":"Array","ofType":{"type":"Any"}}]},"formula":{"type":"value","value":" to "}},{"name":"0","type":{"type":"Union","types":[{"type":"String"},{"type":"Array","ofType":{"type":"Any"}}]},"formula":{"name":"@toddle/string","type":"function","arguments":[{"name":"Input","type":{"type":"Any"},"formula":{"type":"value","value":"Resend OTP via SMS"}}],"display_name":"String"}}],"display_name":"Concatenate","variableArguments":true}},"condition":{"type":"and","arguments":[{"formula":{"name":"@toddle/equals","type":"function","arguments":[{"name":"First","type":{"type":"Any"},"formula":{"path":["Variables","otp_sent_count"],"type":"path"}},{"name":"Second","type":{"type":"Any"},"formula":{"type":"value","value":2}}],"display_name":"Equals"}}]}}],"default":{"type":"switch","cases":[{"formula":{"type":"value","value":"Resend OTP"},"condition":{"name":"@toddle/lessOrEqual","type":"function","arguments":[{"name":"First","type":{"type":"Number"},"formula":{"path":["Variables","timer"],"type":"path"}},{"name":"Second","type":{"type":"Number"},"formula":{"type":"value","value":0}}],"display_name":"Less or equal"}}],"default":{"name":"@toddle/concatenate","type":"function","arguments":[{"name":"0","type":{"type":"Union","types":[{"type":"String"},{"type":"Array","ofType":{"type":"Any"}}]},"formula":{"path":["Variables","timer"],"type":"path"}},{"name":"0","type":{"type":"Union","types":[{"type":"String"},{"type":"Array","ofType":{"type":"Any"}}]},"formula":{"type":"value","value":"  seconds"}},{"name":"0","type":{"type":"Union","types":[{"type":"String"},{"type":"Array","ofType":{"type":"Any"}}]},"formula":{"type":"value","value":" to "}},{"name":"0","type":{"type":"Union","types":[{"type":"String"},{"type":"Array","ofType":{"type":"Any"}}]},"formula":{"type":"value","value":"Resend OTP "}}],"display_name":"Concatenate","variableArguments":true}}},"events":null},"rO2LxgigQxUu1sw1hfBd6":{"type":"text","value":{"type":"value","value":"We have sent you an email with an access code to your email address."},"events":null},"vqnX9pCYB_YDRv4r6vPh-":{"tag":"label","type":"element","children":["rO2LxgigQxUu1sw1hfBd6"],"classes":{"ebEONN":{"formula":{"type":"value","value":true}}},"customProperties":{}}},"events":[{"name":"notification_success"},{"name":"notification_eror"},{"name":"hide_popup"}],"onLoad":{"actions":[{"type":"TriggerWorkflow","workflow":"OdJdLI"}],"trigger":"Load"},"variables":{"OTP":{"initialValue":{"type":"value","value":""}},"timer":{"initialValue":{"type":"value","value":30}},"isCounting":{"initialValue":{"type":"value","value":false}},"otp_sent_count":{"initialValue":{"type":"value","value":0}}},"workflows":{"OdJdLI":{"name":"countDown","actions":[{"data":{"type":"value","value":true},"type":"SetVariable","variable":"isCounting"},{"type":"Switch","cases":[{"actions":[{"data":{"name":"@toddle/minus","type":"function","arguments":[{"name":"Minuend","type":{"type":"Number"},"formula":{"path":["Variables","timer"],"type":"path"}},{"name":"Substrahend","type":{"type":"Number"},"formula":{"type":"value","value":1}}],"display_name":"Minus"},"type":"SetVariable","variable":"timer"},{"name":"@toddle/sleep","events":{"tick":{"actions":[{"type":"TriggerWorkflow","workflow":"OdJdLI"}],"trigger":"tick"}},"arguments":[{"name":"Delay in milliseconds","formula":{"type":"value","value":1000}}]}],"condition":{"name":"@toddle/greaterThan","type":"function","label":"Should keep on counting","arguments":[{"name":"First","type":{"type":"Number"},"formula":{"path":["Variables","timer"],"type":"path"}},{"name":"Second","type":{"type":"Number"},"formula":{"type":"value","value":0}}],"display_name":"Greater than"}}],"default":{"actions":[{"data":{"type":"value","value":false},"type":"SetVariable","variable":"isCounting"},{"data":{"type":"value","value":-1},"type":"SetVariable","variable":"timer"}]}}],"exposeInContext":false,"parameters":[]},"au-OF5":{"name":"reset","actions":[{"data":{"type":"value","value":30},"type":"SetVariable","variable":"timer"}],"exposeInContext":false,"parameters":[]}},"attributes":{"dd":{"name":"dd"},"dm":{"name":"dm"},"dy":{"name":"dy"},"city":{"name":"city"},"role":{"name":"role"},"type":{"name":"type"},"email":{"name":"email"},"phone":{"name":"phone"},"token":{"name":"token"},"address":{"name":"address"},"country":{"name":"country"},"fullname":{"name":"fullname"},"password":{"name":"password"},"postal-code":{"name":"postal-code"},"show_hide_otp":{"name":"show_hide_otp"}}},{"name":"Buttton-Big","nodes":{"root":{"tag":"div","type":"element","events":{"click":{"actions":[{"data":{"path":["Event"],"type":"path"},"type":"TriggerEvent","event":"click"}],"trigger":"click"}},"children":["dLL6UiheVkieeKYYBqGer"],"classes":{"bfhuXQ":{"formula":{"type":"value","value":true}}},"customProperties":{}},"VpQaAxoswPAohBykgrh6p":{"tag":"div","type":"element","children":["ZYTKYGTUcY1qMKiAmyjcL"],"condition":{"name":"@toddle/not","type":"function","label":null,"arguments":[{"name":"Input","type":{"type":"Boolean"},"formula":{"path":["Attributes","is_loading"],"type":"path"}}],"display_name":"Not"},"customProperties":{}},"WxuHfbtAXI2nJSfC99h9R":{"tag":"style","type":"element","children":["qmWrBmhEbpA0OQQhqBkp-"],"classes":{"dkNCxK":{"formula":{"type":"value","value":true}}},"customProperties":{}},"ZYTKYGTUcY1qMKiAmyjcL":{"type":"text","value":{"path":["Attributes","title"],"type":"path"},"events":null},"dLL6UiheVkieeKYYBqGer":{"tag":"button","type":"element","classes":{"is_filter":{"formula":{"path":["Attributes","is_filter"],"type":"path"}},"eSyClx":{"formula":{"type":"value","value":true}}},"children":["VpQaAxoswPAohBykgrh6p","mMaFanPA1aawicouPOopl"],"customProperties":{}},"mMaFanPA1aawicouPOopl":{"tag":"span","type":"element","classes":{"loader":{},"zPCpS":{"formula":{"type":"value","value":true}}},"children":["WxuHfbtAXI2nJSfC99h9R"],"condition":{"path":["Attributes","is_loading"],"type":"path"},"customProperties":{}},"qmWrBmhEbpA0OQQhqBkp-":{"type":"text","value":{"type":"value","value":".loader {\n    border: 3px solid #FFFFFF;\n    border-bottom-color: transparent;\n    border-radius: 50%;\n    display: inline-block;\n    box-sizing: border-box;\n    animation: rotation 1s linear infinite;\n    }\n\n    @keyframes rotation {\n    0% {\n        transform: rotate(0deg);\n    }\n    100% {\n        transform: rotate(360deg);\n    }\n    } "}}},"events":[{"name":"click"}],"attributes":{"title":{"name":"title"},"is_filter":{"name":"is_filter"},"is_loading":{"name":"is_loading"}}},{"name":"Background","nodes":{"root":{"tag":"div","type":"element","classes":{"cGENZk":{"formula":{"type":"value","value":true}}},"customProperties":{}}}},{"key":"input","name":"input","nodes":{"root":{"tag":"div","type":"element","children":["tmXG91uQ60FdbwxoIa2IX"],"classes":{"eNNskM":{"formula":{"type":"value","value":true}}},"customProperties":{}},"mtIIr9EFWlbJ-Kz-5QxPd":{"type":"text","value":{"type":"value","value":"DD"}},"tmXG91uQ60FdbwxoIa2IX":{"tag":"input","type":"element","attrs":{"type":{"path":["Attributes","type"],"type":"path"},"value":{"path":["Attributes","value"],"type":"path"},"onkeyup":{"path":["Attributes","onkeyup"],"type":"path"},"readonly":{"path":["Attributes","readonly"],"type":"path"},"inputmode":{"path":["Attributes","inputmode"],"type":"path"},"maxlength":{"path":["Attributes","maxlenght"],"type":"path"},"minilength":{"path":["Attributes","minilength"],"type":"path"},"onkeypress":{"path":["Attributes","onkeypress"],"type":"path"},"placeholder":{"path":["Attributes","placeholders"],"type":"path"}},"events":{"input":{"actions":[{"data":{"path":["Event","target","value"],"type":"path"},"type":"TriggerEvent","event":"onInput"}],"trigger":"input"}},"children":["mtIIr9EFWlbJ-Kz-5QxPd"],"classes":{"dfNmbd":{"formula":{"type":"value","value":true}}},"customProperties":{}}},"events":[{"name":"onInput"}],"attributes":{"type":{"name":"type"},"value":{"name":"value"},"onkeyup":{"name":"onkeyup"},"readonly":{"name":"readonly"},"inputmode":{"name":"inputmode"},"maxlenght":{"name":"maxlenght"},"minilength":{"name":"minilength"},"onkeypress":{"name":"onkeypress"},"placeholders":{"name":"placeholders"}}},{"name":"Notification","nodes":{"root":{"tag":"div","type":"element","children":["E8rK8PTFmpWPx7ylrxofL","PUe2ZKToYjGkr_McSuXEH"],"style-variables":[{"name":"Untitled","unit":"px","formula":{"type":"value","value":100},"category":"spacing"}],"classes":{"dTobk":{"formula":{"type":"value","value":true}}},"customProperties":{}},"E8rK8PTFmpWPx7ylrxofL":{"tag":"div","type":"element","classes":{"notificationError":{"formula":{"path":["Attributes","notification_error"],"type":"path"}},"cErgSA":{"formula":{"type":"value","value":true}}},"children":["aAE7pItPQJziYtsBKommE"],"customProperties":{}},"PUe2ZKToYjGkr_McSuXEH":{"tag":"div","type":"element","classes":{"notificationSuccess":{"formula":{"path":["Attributes","notification_success"],"type":"path"}},"dfGEHs":{"formula":{"type":"value","value":true}}},"children":["RFhRBnjfTPwykDeFGKfDF"],"customProperties":{}},"Qp9V_qg1LcEdY6MGN2xXU":{"type":"text","value":{"path":["Attributes","message"],"type":"path"}},"RFhRBnjfTPwykDeFGKfDF":{"tag":"div","type":"element","children":["Qp9V_qg1LcEdY6MGN2xXU"],"classes":{"AVjae":{"formula":{"type":"value","value":true}}},"customProperties":{}},"aAE7pItPQJziYtsBKommE":{"tag":"div","type":"element","children":["bKWX_-UtQQwjLkPmIkLkD"],"classes":{"AVjae":{"formula":{"type":"value","value":true}}},"customProperties":{}},"bKWX_-UtQQwjLkPmIkLkD":{"type":"text","value":{"path":["Attributes","message"],"type":"path"}}},"workflows":{"HJ0zAQ":{"name":"Untitled","actions":[],"exposeInContext":false,"parameters":[]}},"attributes":{"message":{"name":"message"},"notification_error":{"name":"notification_error"},"notification_success":{"name":"notification_success"}}},{"name":"Dashboard Unavailable","nodes":{"root":{"tag":"div","type":"element","children":["vcxIxlO4aDtFH4jrq3yWQ"],"classes":{"eCoIBG":{"formula":{"type":"value","value":true}}},"customProperties":{}},"EADauy0FrtJT0cp--KBQ3":{"tag":"svg","type":"element","attrs":{"fill":{"type":"value","value":"none"},"width":{"type":"value","value":120},"xmlns":{"type":"value","value":"http://www.w3.org/2000/svg"},"height":{"type":"value","value":60},"viewBox":{"type":"value","value":"0 0 83 25"}},"children":["tJ2zEHx5s8xbWt7fE_N6G","XS8KSvNaPNZ_a5i3bvKyd","mOTsvnFvvTf9XEHlWPU9X"],"customProperties":{}},"GyXB9PgY6yJRKSJSW3e-m":{"tag":"path","type":"element","attrs":{"d":{"type":"value","value":"M82.2061 22.7264C81.9307 22.6463 81.7033 22.5523 81.529 22.4474C81.3454 22.3378 81.172 22.2058 81.0128 22.0565C80.8443 21.8988 80.6574 21.6991 80.4586 21.4636C80.2564 21.2258 79.9221 20.8046 79.4362 20.1775L76.2317 16.0472L75.8693 15.5839L79.5145 10.9986C79.9841 10.4078 80.7306 10.0588 81.5245 10.0588H82.1395V8.97091H76.3539V10.0588H77.8429C78.24 10.0588 78.4685 10.4751 78.2337 10.7705L75.1441 14.6569L74.8876 14.329L73.2926 12.2347C73.0837 11.9635 72.9069 11.7164 72.7662 11.5003L69.982 7.79359C70.4941 7.51851 70.9286 7.20373 71.279 6.85487C72.0361 6.10028 72.4201 5.17559 72.4201 4.10779C72.4201 2.69971 71.8221 1.64123 70.6414 0.963645C69.5264 0.324021 67.8497 0 65.6567 0H58.5V1.21619L58.8234 1.28767C59.2993 1.39339 59.5241 1.46874 59.6286 1.5138C59.7381 1.56118 59.8256 1.62258 59.8872 1.69562C59.9318 1.74844 59.9924 1.85334 60.0321 2.0562C60.0599 2.19065 60.0935 2.47192 60.0935 3.05245V12.2719C60.0935 12.767 60.0666 13.1337 60.0143 13.3622C59.9756 13.5278 59.9032 13.6474 59.792 13.7282C59.7271 13.7756 59.504 13.8991 58.8328 14.0321L58.5002 14.0981V15.3244H65.0859V14.1059L64.7634 14.0344C64.2816 13.9279 64.0577 13.8533 63.9591 13.8114C63.8471 13.7625 63.7612 13.7034 63.6997 13.6303C63.6745 13.6016 63.6096 13.5084 63.5607 13.2759C63.5296 13.1337 63.4925 12.8384 63.4925 12.2393V8.99567C64.6429 8.96926 65.8194 8.91792 66.8586 8.77498L72.8936 16.5763L73.2535 17.0354L69.1982 22.1366C68.8106 22.624 68.1947 22.912 67.5396 22.912H66.7088V23.9999H72.4945V22.912H71.0003C70.6033 22.912 70.3748 22.4957 70.6096 22.2003L73.9794 17.9613L74.2259 18.2758L76.2967 20.9832C76.5494 21.3127 76.7381 21.5909 76.8576 21.8093C76.9562 21.9911 77.0067 22.1496 77.0067 22.2825C77.0067 22.4294 76.9512 22.476 76.899 22.5086C76.8021 22.5692 76.5957 22.654 76.1662 22.7123L75.8067 22.762V23.9969H82.5002V22.8125L82.2063 22.7263L82.2061 22.7264ZM68.515 5.84146C68.2995 6.22457 68.0123 6.52449 67.6602 6.7328C67.5726 6.78488 67.4867 6.83151 67.4042 6.87187C67.1052 7.01795 66.7836 7.12285 66.4476 7.18351L66.3734 7.19671C65.9287 7.27289 65.3359 7.31094 64.6091 7.31094H63.4924V1.73912C63.9345 1.72277 64.4592 1.71502 65.058 1.71502C66.013 1.71502 66.7726 1.82305 67.3159 2.03516C67.8371 2.24033 68.2119 2.52391 68.4612 2.90397C68.7138 3.28635 68.8426 3.78517 68.8426 4.38509C68.8426 4.98502 68.7324 5.45521 68.515 5.84137V5.84146Z"},"fill":{"type":"value","value":"#304A4B"}},"customProperties":{}},"IIQnbtO9dOOsAcHbVLbZG":{"tag":"div","type":"element","children":["JNOvUIL28b8Ch-4M2ugRF"],"classes":{"bIgpTa":{"formula":{"type":"value","value":true}}},"customProperties":{}},"IiAJR6L7sZJ9SZMQseGxP":{"type":"text","value":{"type":"value","value":"The admin dashboard isn’t available on mobile. Try again on a desktop."}},"JNOvUIL28b8Ch-4M2ugRF":{"type":"text","value":{"type":"value","value":"Dashboard Unavailable"}},"Us2__DUCEj0v4NlUMLaIY":{"tag":"clipPath","type":"element","attrs":{"id":{"type":"value","value":"clip0_86_209"}},"children":["rOBgcGP1klMZSpVHA333W"],"customProperties":{}},"XS8KSvNaPNZ_a5i3bvKyd":{"tag":"g","type":"element","attrs":{"clip-path":{"type":"value","value":"url(#clip0_86_209)"}},"children":["GyXB9PgY6yJRKSJSW3e-m"],"customProperties":{}},"ayYg5VBE4mqKxfkiTznsw":{"tag":"div","type":"element","children":["EADauy0FrtJT0cp--KBQ3"],"classes":{"xUeDI":{"formula":{"type":"value","value":true}}},"customProperties":{}},"mOTsvnFvvTf9XEHlWPU9X":{"tag":"defs","type":"element","children":["Us2__DUCEj0v4NlUMLaIY"],"customProperties":{}},"rOBgcGP1klMZSpVHA333W":{"tag":"rect","type":"element","attrs":{"fill":{"type":"value","value":"white"},"width":{"type":"value","value":"24"},"height":{"type":"value","value":"24"},"transform":{"type":"value","value":"translate(58.5)"}},"customProperties":{}},"roCNrj6FzTKMVPHHEvpZE":{"tag":"div","type":"element","children":["IiAJR6L7sZJ9SZMQseGxP"],"classes":{"oQPCa":{"formula":{"type":"value","value":true}}},"customProperties":{}},"tJ2zEHx5s8xbWt7fE_N6G":{"tag":"path","type":"element","attrs":{"d":{"type":"value","value":"M10.928 20H1.996V4.6H3.91V18.24H10.928V20ZM25.6805 12.3C25.6805 16.832 22.6665 20.132 18.3325 20.132C13.9985 20.132 10.9845 16.832 10.9845 12.3C10.9845 7.768 13.9985 4.468 18.3325 4.468C22.6665 4.468 25.6805 7.768 25.6805 12.3ZM12.9425 12.3C12.9425 15.842 15.1205 18.372 18.3325 18.372C21.5445 18.372 23.7225 15.842 23.7225 12.3C23.7225 8.758 21.5445 6.228 18.3325 6.228C15.1205 6.228 12.9425 8.758 12.9425 12.3ZM42.2235 12.3C42.2235 16.832 39.2095 20.132 34.8755 20.132C30.5415 20.132 27.5275 16.832 27.5275 12.3C27.5275 7.768 30.5415 4.468 34.8755 4.468C39.2095 4.468 42.2235 7.768 42.2235 12.3ZM29.4855 12.3C29.4855 15.842 31.6635 18.372 34.8755 18.372C38.0875 18.372 40.2655 15.842 40.2655 12.3C40.2655 8.758 38.0875 6.228 34.8755 6.228C31.6635 6.228 29.4855 8.758 29.4855 12.3ZM44.6425 20V4.6H50.5605C53.6405 4.6 55.6645 6.448 55.6645 9.33C55.6645 12.212 53.6405 14.082 50.5605 14.082H46.5565V20H44.6425ZM50.4065 6.36H46.5565V12.322H50.3845C52.4085 12.322 53.7065 11.156 53.7065 9.33C53.7065 7.504 52.4305 6.36 50.4065 6.36Z"},"fill":{"type":"value","value":"#304A4B"}},"customProperties":{}},"vcxIxlO4aDtFH4jrq3yWQ":{"tag":"div","type":"element","classes":{"page-wrapper":{"formula":{"type":"value","value":true}},"dfUJty":{"formula":{"type":"value","value":true}}},"children":["ayYg5VBE4mqKxfkiTznsw","IIQnbtO9dOOsAcHbVLbZG","roCNrj6FzTKMVPHHEvpZE"],"customProperties":{}}}},{"apis":{"Login":{"url":{"type":"value","value":"https://demo-app-config.looprx.io"},"body":{"type":"object","arguments":[{"Name":0,"name":"email","formula":{"path":["Variables","Email"],"type":"path"}},{"Name":0,"name":"password","formula":{"path":["Variables","password"],"type":"path"}}]},"name":"Login","path":{"6eac3571-87a0-468d-a7eb-744a67bf75b4":{"index":2,"formula":{"type":"value","value":"send-otp"}},"c936c7fa-1962-4265-ac7f-ee1cbecd64c4":{"index":1,"formula":{"type":"value","value":"login"}},"c9eb32ef-02d8-42af-a7a8-bb50869880c7":{"index":0,"formula":{"type":"value","value":"api"}}},"type":"http","client":{"debounce":null,"parserMode":"auto","onCompleted":{"actions":[],"trigger":"Success"}},"inputs":{},"method":"POST","server":{"ssr":{"enabled":{"formula":{"type":"value","value":true}}},"proxy":null},"headers":{"Content-type":{"formula":{"type":"value","value":"application/json"}},"Authorization":{"name":"Authorization","enabled":{"type":"value","value":true},"formula":{"name":"@toddle/concatenate","type":"function","arguments":[{"formula":{"type":"value","value":"Bearer "}},{"formula":{"name":"@toddle/getHttpOnlyCookie","type":"function","arguments":[{"formula":{"type":"value","value":"access_token"}}],"display_name":"Get Http-Only Cookie"}}],"display_name":"Concatenate"}}},"version":2,"autoFetch":{"type":"value","value":false},"queryParams":{},"redirectRules":{},"dependsOn":[]}},"name":"Login-Request-OTP","nodes":{"root":{"tag":"div","type":"element","children":["ba83m0UhL5XdXLaU3lzbl","a2riaiqOK9SdhmLa1cxgs"],"classes":{"duplWH":{"formula":{"type":"value","value":true}}},"customProperties":{}},"CPK3-xt7iBXG90I1U0k3Z":{"name":"Buttton-Big","type":"component","attrs":{"title":{"type":"value","value":"Request OTP"},"is_loading":{"path":["Apis","Login","isLoading"],"type":"path"}},"customProperties":{}},"DVgzTFzlREHXZSdCrILmB":{"tag":"div","type":"element","children":["y01iVSfIIsaXtDisvY8By"],"classes":{"bcqhBV":{"formula":{"type":"value","value":true}}},"customProperties":{}},"FMgeAlZMIx8Z6aQB8PW1K":{"tag":"div","type":"element","children":["vadlWJOPxJYdQMqbVe02M","njWo76BRb75QeCGRFuLbO"],"classes":{"dzeZvG":{"formula":{"type":"value","value":true}}},"customProperties":{}},"N1wUEXsZnwY61it1m6VdZ":{"tag":"form","type":"element","events":{"submit":{"actions":[{"name":"@toddle/preventDefault"},{"api":"Login","type":"Fetch","inputs":{},"onError":{"actions":[{"data":{"path":["Apis","Login","error","message"],"type":"path"},"type":"TriggerEvent","event":"notification_error"}],"trigger":"onError"},"onMessage":{"actions":[]},"onSuccess":{"actions":[{"data":{"path":["Apis","Login","data","message"],"type":"path"},"type":"TriggerEvent","event":"notification_success"},{"data":null,"type":"TriggerEvent","event":"request_otp"},{"data":{"path":["Variables","Email"],"type":"path"},"type":"TriggerEvent","event":"email"},{"data":{"path":["Variables","password"],"type":"path"},"type":"TriggerEvent","event":"password"},{"data":{"type":"value","value":30},"type":"SetVariable","variable":"timer"},{"type":"Switch","cases":[{"actions":[],"condition":{"name":"@toddle/greaterThan","type":"function","label":"Should start countdown","arguments":[{"name":"First","type":{"type":"Number"},"formula":{"path":["Variables","timer"],"type":"path"}},{"name":"Second","type":{"type":"Number"},"formula":{"type":"value","value":0}}],"display_name":"Greater than"}}],"default":{"actions":[]}}],"trigger":"onSuccess"}}],"trigger":"submit"}},"children":["tBN8wGVzPzKklRPUA26Ff","FMgeAlZMIx8Z6aQB8PW1K","CPK3-xt7iBXG90I1U0k3Z","DVgzTFzlREHXZSdCrILmB"],"classes":{"MqBcO":{"formula":{"type":"value","value":true}}},"customProperties":{}},"Sv2zCqH8OfSiqtDSgwQ3A":{"type":"text","value":{"type":"value","value":"Email\n"},"events":null},"a2riaiqOK9SdhmLa1cxgs":{"tag":"div","type":"element","children":["N1wUEXsZnwY61it1m6VdZ"],"classes":{"bsoBDd":{"formula":{"type":"value","value":true}}},"customProperties":{}},"av7FF7f_v_iFiNCGsH_MK":{"name":"input","type":"component","attrs":{"type":{"type":"value","value":"Email"},"value":{"path":["Variables","Email"],"type":"path"}},"events":{"onInput":{"actions":[{"data":{"path":["Event"],"type":"path"},"type":"SetVariable","variable":"Email"}],"trigger":"onInput"}},"customProperties":{}},"ba83m0UhL5XdXLaU3lzbl":{"tag":"h2","type":"element","children":["y8eAEYze-kGDqmVdIipNM"],"classes":{"eYOoMX":{"formula":{"type":"value","value":true}}},"customProperties":{}},"lxJbLLqXrLqgO0Z-l5gY0":{"type":"text","value":{"type":"value","value":"Reset Password"},"events":null},"njWo76BRb75QeCGRFuLbO":{"name":"input","type":"component","attrs":{"type":{"type":"value","value":"Password"},"value":{"path":["Variables","password"],"type":"path"}},"events":{"onInput":{"actions":[{"data":{"path":["Event"],"type":"path"},"type":"SetVariable","variable":"password"}],"trigger":"onInput"}},"customProperties":{}},"tBN8wGVzPzKklRPUA26Ff":{"tag":"div","type":"element","children":["yRX0fOqinp1hlpjizEv3i","av7FF7f_v_iFiNCGsH_MK"],"classes":{"dzeZvG":{"formula":{"type":"value","value":true}}},"customProperties":{}},"v3q6xDb_BvUbOEMTQawx7":{"type":"text","value":{"type":"value","value":"Password\n"},"events":null},"vadlWJOPxJYdQMqbVe02M":{"tag":"label","type":"element","children":["v3q6xDb_BvUbOEMTQawx7"],"classes":{"LLuRd":{"formula":{"type":"value","value":true}}},"customProperties":{}},"y01iVSfIIsaXtDisvY8By":{"tag":"a","type":"element","attrs":{"href":{"type":"value","value":"/request-reset-password"},"data-prerender":{"type":"value","value":"moderate"}},"children":["lxJbLLqXrLqgO0Z-l5gY0"],"classes":{"sbuaX":{"formula":{"type":"value","value":true}}},"customProperties":{}},"y8eAEYze-kGDqmVdIipNM":{"type":"text","value":{"type":"value","value":"Admin Portal"},"events":null},"yRX0fOqinp1hlpjizEv3i":{"tag":"label","type":"element","children":["Sv2zCqH8OfSiqtDSgwQ3A"],"classes":{"LLuRd":{"formula":{"type":"value","value":true}}},"customProperties":{}}},"events":[{"name":"notification_success"},{"name":"notification_error"},{"name":"request_otp"},{"name":"email"},{"name":"password"}],"variables":{"Email":{"initialValue":{"type":"value","value":""}},"timer":{"initialValue":{"type":"value","value":30}},"password":{"initialValue":{"type":"value","value":""}}}}]}