{"project":"slimmrcustomerportal","branch":"main","commit":"8e6e17c34e39f3754afe1b8f2913d2f5201283fe","component":{"key":"Login","apis":{"OTP":{"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":"otp","formula":{"path":["Variables","OTP"],"type":"path"}}]},"name":"OTP","path":{"Qb3RNm":{"index":1,"formula":{"type":"value","value":"customer"}},"067daea7-cada-45fb-9525-829984b686a5":{"index":3,"formula":{"type":"value","value":"verify-otp"}},"a6fa2b17-ac89-4f66-be74-99a0af199630":{"index":0,"formula":{"type":"value","value":"api"}},"de699b28-f579-487b-9e89-2f73035e354e":{"index":2,"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":{"X-Tenant":{"name":"X-Tenant","enabled":{"type":"value","value":true},"formula":{"type":"value","value":"slimmr-K9FQ7A2D"}},"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":["Variables","Email"],"type":"path"}}]},"name":"Login","path":{"gEKzZY":{"index":1,"formula":{"type":"value","value":"customer"}},"6eac3571-87a0-468d-a7eb-744a67bf75b4":{"index":3,"formula":{"type":"value","value":"send-otp"}},"c936c7fa-1962-4265-ac7f-ee1cbecd64c4":{"index":2,"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":{"X-Tenant":{"name":"X-Tenant","enabled":{"type":"value","value":true},"formula":{"type":"value","value":"slimmr-K9FQ7A2D"}},"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":{"path":["Apis","OTP","data","data","token"],"type":"path"}}],"display_name":"Concatenate"}}},"version":2,"autoFetch":{"type":"value","value":false},"queryParams":{},"redirectRules":{},"dependsOn":["OTP"]},"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":["Variables","Email"],"type":"path"}}]},"name":"Request Login OTP Via SMS","path":{"CIi6Kb":{"index":3,"formula":{"type":"value","value":"send-otp-phone"}},"sPhDeb":{"index":2,"formula":{"type":"value","value":"login"}},"e7d1f9e7-f6d5-45f3-99c6-a4af28c3b431":{"index":0,"formula":{"type":"value","value":"api"}},"ffd1e3cd-e7d2-4aec-8a14-fbdffb40e718":{"index":1,"formula":{"type":"value","value":"customer"}}},"type":"http","client":{},"inputs":{},"method":"POST","server":{"ssr":{"enabled":{"formula":{"type":"value","value":true}}},"proxy":{"enabled":{"formula":{"type":"value","value":true}}}},"headers":{"X-Tenant":{"name":"X-Tenant","enabled":{"type":"value","value":true},"formula":{"type":"value","value":""}},"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","nodes":{"root":{"tag":"div","type":"element","classes":{"page-wrapper":{"formula":{"type":"value","value":true}},"PgejT":{"formula":{"type":"value","value":true}}},"children":["EzUIAQ0iP10ZBfphAkU3m","T9fjIaIzaeYjCnn3wEZuz","OPS-u-lfW8QEManONUnX9","Xl-wCtyk0_Njv3LDacR3j","P0pY5lvCVTmeTnM2k3Hxa"],"customProperties":{}},"-88HxK-ErKMvegcBvxHT5":{"tag":"label","type":"element","children":["jL0vT8p090AFIJ53pPTMw"],"classes":{"eDxjrq":{"formula":{"type":"value","value":true}}},"customProperties":{}},"6jdfaHd8bCKolR-TE65G7":{"type":"text","value":{"type":"value","value":"@font-face {\n  font-family: 'SofiaPro';\n  src: url('https://raw.githubusercontent.com/jandre3000/j4n-co/master/assets/fonts/Sofia-Pro-Regular/Sofia%20Pro%20Regular.woff') format('woff');\n  font-weight: 400;\n  font-style: normal;\n  font-display: swap;\n}\n\n/* Apply to your existing component */\n:where([uc-simple-btn]) {\n  position: relative;\n  display: inline-flex;\n  height: 100%;\n  font-family: 'SofiaPro', sans-serif;\n}\n"}},"7nQNOx4OhAwR7sJgunWRB":{"type":"text","value":{"type":"value","value":"Request Secure Code"},"events":null},"CSkdVNIBfMs6jFCJnCyF1":{"type":"text","value":{"type":"value","value":"To access your account enter your email address and we’ll send you a secure verification code.\n\nCheck your inbox (and your junk or spam folder, just in case) for the email from us. Enter the code on the next screen and you’ll be logged in safely.\n\nIf it doesn’t arrive after a few minutes, double-check your email address and try again. After 3 attempts, you’ll have the option to receive your code by text instead.\n\nWe’re here if you need any help."},"events":null},"C_avk9Pc65Si02FKpR6ps":{"tag":"input","type":"element","attrs":{"type":{"type":"value","value":"email"},"value":{"path":["Variables","Email"],"type":"path"},"placeholder":{"type":"value","value":"Email"}},"events":{"input":{"actions":[{"data":{"path":["Event","target","value"],"type":"path"},"type":"SetVariable","variable":"Email"}],"trigger":"input"}},"classes":{"cnRIxB":{"formula":{"type":"value","value":true}}},"customProperties":{}},"E4TwVVbp9gQ3P0ztITzKI":{"tag":"button","type":"element","children":["HR8kQYOA_YyMaieLKr1IT","HmZEj4r_4DanIErZj08OF"],"classes":{"ePByJk":{"formula":{"type":"value","value":true}}},"customProperties":{}},"EzUIAQ0iP10ZBfphAkU3m":{"name":"Header","type":"component","classes":{},"customProperties":{}},"HR8kQYOA_YyMaieLKr1IT":{"tag":"div","type":"element","children":["X_UeOP0EdDafAjyvihM4t"],"condition":{"name":"@toddle/not","type":"function","label":null,"arguments":[{"name":"Input","type":{"type":"Boolean"},"formula":{"path":["Apis","OTP","isLoading"],"type":"path","label":null}}],"display_name":"Not"},"classes":{"cGFUpk":{"formula":{"type":"value","value":true}}},"customProperties":{}},"HmZEj4r_4DanIErZj08OF":{"tag":"span","type":"element","classes":{"loader":{},"zPCpS":{"formula":{"type":"value","value":true}}},"children":["TcAVMXBCA_WaEEns_MykB"],"condition":{"path":["Apis","OTP","isLoading"],"type":"path","label":null},"customProperties":{}},"JbzJ3mcSY34VcHMwguvCi":{"tag":"input","type":"element","attrs":{"type":{"type":"value","value":"text"},"value":{"path":["Variables","OTP"],"type":"path"},"maxlength":{"type":"value","value":5},"onkeypress":{"type":"value","value":"return event.charCode >= 48 && event.charCode <= 57"},"placeholder":{"type":"value","value":""}},"events":{"input":{"actions":[{"data":{"path":["Event","target","value"],"type":"path"},"type":"SetVariable","variable":"OTP"}],"trigger":"input"}},"classes":{"sOhGv":{"formula":{"type":"value","value":true}}},"customProperties":{}},"LJXstvOXGYfETw7XQJm-N":{"tag":"form","type":"element","events":{"submit":{"actions":[{"name":"@toddle/preventDefault"},{"api":"OTP","type":"Fetch","inputs":{},"onError":{"actions":[{"type":"TriggerWorkflow","workflow":"Dsow_8","parameters":{"message":{"formula":{"type":"value","value":"Invalid / Expired OTP"}}}}],"trigger":"onError"},"onMessage":{"actions":[]},"onSuccess":{"actions":[{"name":"@toddle/setHttpOnlyCookie","events":{"Error":{"actions":[],"description":"This event is triggered if the cookie could not be saved."},"Success":{"actions":[{"name":"@toddle/gotToURL","arguments":[{"name":"URL","formula":{"type":"value","value":"/"}}]}],"trigger":"Success","description":"This event is triggered once the cookie has been saved."}},"arguments":[{"name":"Name","formula":{"type":"value","value":"access_token"}},{"name":"Value","formula":{"path":["Apis","OTP","data","token"],"type":"path"}},{"name":"Expires in","formula":{"type":"value","value":86000}},{"name":"SameSite","formula":{"type":"value","value":null}},{"name":"Path","formula":{"type":"value","value":null}},{"name":"Include Subdomains","formula":{"type":"value","value":null}}]},{"type":"TriggerWorkflow","workflow":"_tJa4z","parameters":{"message":{"type":"value","formula":{"type":"value","value":"Successfully Logged In"}}}}],"trigger":"onSuccess"}}],"trigger":"submit"}},"children":["cluxnK0k0GJfu0TNC1tfg","E4TwVVbp9gQ3P0ztITzKI"],"classes":{"MqBcO":{"formula":{"type":"value","value":true}}},"customProperties":{}},"OPS-u-lfW8QEManONUnX9":{"tag":"div","type":"element","children":["VX2BwvwZA-FRgrcSJf-ok","mobHNDvWhQfAQ4UqxRvWj"],"condition":{"path":["Variables","showHideOTP"],"type":"path","label":null},"classes":{"eRWJUp":{"formula":{"type":"value","value":true}}},"customProperties":{}},"OqVp19j_LAFPSImAb6e7e":{"tag":"button","type":"element","children":["y9Pi8_8RrkAq7y9-AhLEj","Pn_O8wFzVtumvwDOESRRy"],"classes":{"cbvNHN":{"formula":{"type":"value","value":true}}},"customProperties":{}},"P0pY5lvCVTmeTnM2k3Hxa":{"tag":"style","type":"element","children":["6jdfaHd8bCKolR-TE65G7"],"customProperties":{}},"Pn_O8wFzVtumvwDOESRRy":{"tag":"span","type":"element","classes":{"loader":{},"zPCpS":{"formula":{"type":"value","value":true}}},"children":["bwGcLYOJUZfuLggCQ44GW"],"condition":{"path":["Apis","Login","isLoading"],"type":"path","label":null},"customProperties":{}},"T9fjIaIzaeYjCnn3wEZuz":{"tag":"div","type":"element","children":["egu5tkkBLUoQjx5-YvPlW","bleL6BF8946QNd_ZuQAQG"],"classes":{"eNtHWN":{"formula":{"type":"value","value":true}}},"customProperties":{}},"TcAVMXBCA_WaEEns_MykB":{"tag":"style","type":"element","children":["wsC94KZeKvSDJfTzp-6vs"],"classes":{"dkNCxK":{"formula":{"type":"value","value":true}}},"customProperties":{}},"VX2BwvwZA-FRgrcSJf-ok":{"tag":"div","type":"element","events":{"click":{"actions":[{"data":{"type":"value","value":false},"type":"SetVariable","variable":"showHideOTP"},{"data":{"type":"value","value":-1},"type":"SetVariable","variable":"timer"},{"data":{"type":"value","value":0},"type":"SetVariable","variable":"otp_sent_count"}],"trigger":"click"}},"classes":{"dlKEMI":{"formula":{"type":"value","value":true}}},"customProperties":{}},"X_UeOP0EdDafAjyvihM4t":{"type":"text","value":{"type":"value","value":"Log In"},"events":null},"Xl-wCtyk0_Njv3LDacR3j":{"name":"Notification","type":"component","attrs":{"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":{}},"Y5-c9GY1q4EacVFlDYdrj":{"tag":"form","type":"element","events":{"submit":{"actions":[{"name":"@toddle/preventDefault"},{"api":"Login","type":"Fetch","inputs":{},"onError":{"actions":[{"type":"TriggerWorkflow","workflow":"Dsow_8","parameters":{"message":{"formula":{"path":["Apis","Login","error","message"],"type":"path"}}}}],"trigger":"onError"},"onMessage":{"actions":[]},"onSuccess":{"actions":[{"type":"TriggerWorkflow","workflow":"_tJa4z","parameters":{"message":{"formula":{"path":["Apis","Login","data","message"],"type":"path"}}}},{"data":{"type":"value","value":true},"type":"SetVariable","variable":"showHideOTP"},{"data":{"type":"value","value":30},"type":"SetVariable","variable":"timer"},{"type":"Switch","cases":[{"actions":[{"type":"TriggerWorkflow","workflow":"WLfR_U"}],"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":["q6cRpYCXSnoyQ4P05Eccj","OqVp19j_LAFPSImAb6e7e"],"classes":{"MqBcO":{"formula":{"type":"value","value":true}}},"customProperties":{}},"_i0BVTBb7G-U1ea6bRYTG":{"tag":"label","type":"element","children":["CSkdVNIBfMs6jFCJnCyF1"],"classes":{"cnxAJQ":{"formula":{"type":"value","value":true}}},"customProperties":{}},"bcmBBdFgbvYHQfzAsKk7P":{"tag":"div","type":"element","children":["h-p2kcXfQN8U7eU_Xd_7T"],"classes":{"dcKcrc":{"formula":{"type":"value","value":true}}},"customProperties":{}},"bleL6BF8946QNd_ZuQAQG":{"tag":"div","type":"element","children":["Y5-c9GY1q4EacVFlDYdrj"],"classes":{"bsoBDd":{"formula":{"type":"value","value":true}}},"customProperties":{}},"bwGcLYOJUZfuLggCQ44GW":{"tag":"style","type":"element","children":["gQRz0BRVQsqJH8-l6-nsv"],"classes":{"dkNCxK":{"formula":{"type":"value","value":true}}},"customProperties":{}},"cluxnK0k0GJfu0TNC1tfg":{"tag":"div","type":"element","children":["JbzJ3mcSY34VcHMwguvCi","bcmBBdFgbvYHQfzAsKk7P"],"customProperties":{}},"efvEPv7GjeIXVMxEX5fc1":{"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},"egu5tkkBLUoQjx5-YvPlW":{"tag":"h2","type":"element","children":["w6aT9Cr5jDzABjb8W5CXK"],"classes":{"draMGg":{"formula":{"type":"value","value":true}}},"customProperties":{}},"gQRz0BRVQsqJH8-l6-nsv":{"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    } "}},"h-p2kcXfQN8U7eU_Xd_7T":{"tag":"a","type":"element","events":{"click":{"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":[{"type":"TriggerWorkflow","workflow":"Dsow_8","parameters":{"message":{"formula":{"path":["Apis","Request Login OTP Via SMS","error","message"],"type":"path"}}}}],"trigger":"onError"},"onMessage":{"actions":[]},"onSuccess":{"actions":[{"type":"TriggerWorkflow","workflow":"_tJa4z","parameters":{"message":{"formula":{"type":"value","value":"OTP Sent Successfully"}}}},{"type":"TriggerWorkflow","workflow":"lF-btD"},{"type":"Switch","cases":[{"actions":[{"type":"TriggerWorkflow","workflow":"WLfR_U"}],"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":[{"type":"TriggerWorkflow","workflow":"Dsow_8","parameters":{"message":{"formula":{"path":["Apis","Login","error","message"],"type":"path"}}}}],"trigger":"onError"},"onMessage":{"actions":[]},"onSuccess":{"actions":[{"type":"TriggerWorkflow","workflow":"_tJa4z","parameters":{"message":{"type":"value","formula":{"path":["Apis","Login","data","message"],"type":"path"}}}},{"type":"TriggerWorkflow","workflow":"lF-btD"},{"type":"Switch","cases":[{"actions":[{"type":"TriggerWorkflow","workflow":"WLfR_U"}],"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"}]}}]}}],"trigger":"click"}},"classes":{"disabled":{"formula":{"path":["Variables","isCounting"],"type":"path"}},"fnqNMB":{"formula":{"type":"value","value":true}}},"children":["efvEPv7GjeIXVMxEX5fc1"],"customProperties":{}},"jL0vT8p090AFIJ53pPTMw":{"type":"text","value":{"type":"value","value":"We have sent you an email with an access code to your email address."},"events":null},"mobHNDvWhQfAQ4UqxRvWj":{"tag":"div","type":"element","children":["uM82viY_yDWzZUm8F4onO","-88HxK-ErKMvegcBvxHT5","pemzq_MNX5Q1DTUrzpsnq"],"classes":{"ubUnj":{"formula":{"type":"value","value":true}}},"customProperties":{}},"pemzq_MNX5Q1DTUrzpsnq":{"tag":"div","type":"element","children":["LJXstvOXGYfETw7XQJm-N"],"classes":{"bsoBDd":{"formula":{"type":"value","value":true}}},"customProperties":{}},"q6cRpYCXSnoyQ4P05Eccj":{"tag":"div","type":"element","children":["_i0BVTBb7G-U1ea6bRYTG","C_avk9Pc65Si02FKpR6ps"],"classes":{"dzeZvG":{"formula":{"type":"value","value":true}}},"customProperties":{}},"uM82viY_yDWzZUm8F4onO":{"tag":"h2","type":"element","children":["zqKmCtsBq-n6tGOQfka7D"],"classes":{"draMGg":{"formula":{"type":"value","value":true}}},"customProperties":{}},"w6aT9Cr5jDzABjb8W5CXK":{"type":"text","value":{"type":"value","value":"Your Slimmr Account"},"events":null},"wsC94KZeKvSDJfTzp-6vs":{"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    } "}},"y9Pi8_8RrkAq7y9-AhLEj":{"tag":"div","type":"element","children":["7nQNOx4OhAwR7sJgunWRB"],"condition":{"name":"@toddle/not","type":"function","label":null,"arguments":[{"name":"Input","type":{"type":"Boolean"},"formula":{"path":["Apis","Login","isLoading"],"type":"path"}}],"display_name":"Not"},"classes":{"cGFUpk":{"formula":{"type":"value","value":true}}},"customProperties":{}},"zqKmCtsBq-n6tGOQfka7D":{"type":"text","value":{"type":"value","value":"One Time Password"},"events":null}},"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":[{"name":"login","type":"static"}],"query":{}},"onLoad":{"actions":[{"name":"userSnap","version":2}],"trigger":"Load"},"variables":{"OTP":{"initialValue":{"type":"value","value":""}},"Email":{"initialValue":{"type":"value","value":""}},"phone":{"initialValue":{"type":"value","value":""}},"timer":{"initialValue":{"type":"value","value":30}},"message":{"initialValue":{"type":"value","value":""}},"password":{"initialValue":{"type":"value","value":""}},"isCounting":{"initialValue":{"type":"value","value":false}},"showHideOTP":{"initialValue":{"type":"value","value":false}},"otp_sent_count":{"initialValue":{"type":"value","value":0}},"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},"WLfR_U":{"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":"WLfR_U"}],"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":[]},"_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},"lF-btD":{"name":"reset","actions":[{"data":{"type":"value","value":30},"type":"SetVariable","variable":"timer"}],"exposeInContext":false,"parameters":[]}}},"components":[{"name":"Header","nodes":{"root":{"tag":"header","type":"element","children":["1pT4D-U4vNgMkXpfNMC9j"],"classes":{"dnFhEm":{"formula":{"type":"value","value":true}}},"customProperties":{}},"1pT4D-U4vNgMkXpfNMC9j":{"tag":"a","type":"element","attrs":{"href":{"type":"value","value":"https://getslimmr.myshopify.com/"}},"children":["ZOKmmUwgLt4YtED3Y8GeL"],"customProperties":{}},"Cs-1Gi26qyEW7J5m84yoB":{"tag":"path","type":"element","attrs":{"d":{"type":"value","value":"M10 30.7576H15.3451C15.3451 32.1509 17.033 33.0798 19.3773 33.0798C21.7216 33.0798 22.9407 32.1509 22.9407 31.0363C22.9407 27.5065 10.2813 30.9434 10.2813 22.4906C10.2813 18.7751 14.2198 16.0813 19.1898 16.0813C24.1598 16.0813 28.0044 18.5893 28.0044 23.0479H22.5656C22.5656 21.8404 20.8777 21.0044 19.0022 21.0044C17.1268 21.0044 15.8139 21.8404 15.8139 22.955C15.8139 26.0203 28.3795 23.1408 28.4733 31.2221C28.4733 35.9594 24.4411 38.0958 19.1898 38.0958C14.4073 38.0029 10 35.4949 10 30.7576Z"},"fill":{"type":"value","value":"#82A3D4"}},"customProperties":{}},"E5-esdIBreM-OxMIbBhp_":{"tag":"path","type":"element","attrs":{"d":{"type":"value","value":"M81.7807 26.8563V38.0957H76.1543V26.8563C76.1543 23.4194 74.8415 21.8403 72.0283 21.8403C69.3089 21.8403 67.9023 23.4194 67.9023 26.8563V38.0957H62.2759V26.8563C62.2759 23.4194 60.9631 21.8403 58.1499 21.8403C55.4304 21.8403 54.0239 23.4194 54.0239 26.8563V38.0957H48.3975V26.8563C48.3975 19.7039 52.5235 16.4528 58.0561 16.4528C60.7755 16.4528 63.3074 17.3817 64.9015 19.4252C66.4957 17.3817 69.0276 16.4528 71.747 16.4528C77.6547 16.3599 81.7807 19.7039 81.7807 26.8563Z"},"fill":{"type":"value","value":"#82A3D4"}},"customProperties":{}},"ETbhJZ4Pvqmha1O4McL6X":{"tag":"path","type":"element","attrs":{"d":{"type":"value","value":"M31.02 38.0957V8.27856H36.6464V38.0957H31.02Z"},"fill":{"type":"value","value":"#82A3D4"}},"customProperties":{}},"UbbGbfFn0grKRIi8rlGQI":{"tag":"path","type":"element","attrs":{"d":{"type":"value","value":"M39.1929 11.2511C39.1929 9.39332 40.6932 8 42.5687 8C44.4442 8 45.8508 9.48621 45.8508 11.2511C45.8508 13.1088 44.3504 14.5951 42.5687 14.5951C40.6932 14.5951 39.1929 13.1088 39.1929 11.2511ZM39.7555 16.8244H45.3819V38.0957H39.7555V16.8244Z"},"fill":{"type":"value","value":"#82A3D4"}},"customProperties":{}},"ZOKmmUwgLt4YtED3Y8GeL":{"tag":"svg","type":"element","attrs":{"hr":null,"fill":{"type":"value","value":"none"},"width":{"type":"value","value":"140"},"xmlns":{"type":"value","value":"http://www.w3.org/2000/svg"},"height":{"type":"value","value":"47"},"viewBox":{"type":"value","value":"0 0 140 47"}},"children":["Cs-1Gi26qyEW7J5m84yoB","ETbhJZ4Pvqmha1O4McL6X","UbbGbfFn0grKRIi8rlGQI","E5-esdIBreM-OxMIbBhp_","lQru18-cdtQUP1aYlv1ES","hyMJmhoXqi6G1EqVfNgdH"],"customProperties":{}},"hyMJmhoXqi6G1EqVfNgdH":{"tag":"path","type":"element","attrs":{"d":{"type":"value","value":"M120.258 26.9491C120.258 19.8896 124.196 16.7314 129.448 16.7314H129.729V22.119H129.541C127.103 22.119 125.884 23.6052 125.884 26.8562V38.0957H120.258V26.9491Z"},"fill":{"type":"value","value":"#82A3D4"}},"customProperties":{}},"lQru18-cdtQUP1aYlv1ES":{"tag":"path","type":"element","attrs":{"d":{"type":"value","value":"M117.71 26.8563V38.0957H112.084V26.8563C112.084 23.4194 110.771 21.8403 107.958 21.8403C105.239 21.8403 103.832 23.4194 103.832 26.8563V38.0957H98.2056V26.8563C98.2056 23.4194 96.8928 21.8403 94.0796 21.8403C91.3601 21.8403 89.9535 23.4194 89.9535 26.8563V38.0957H84.3271V26.8563C84.3271 19.7039 88.4532 16.4528 93.9858 16.4528C96.7052 16.4528 99.2371 17.3817 100.831 19.4252C102.425 17.3817 104.957 16.4528 107.677 16.4528C113.584 16.3599 117.71 19.7039 117.71 26.8563Z"},"fill":{"type":"value","value":"#82A3D4"}},"customProperties":{}}},"variables":{"Untitled":{"initialValue":{"type":"value","value":null}}}},{"name":"Notification","nodes":{"root":{"tag":"div","type":"element","children":["E8rK8PTFmpWPx7ylrxofL","PUe2ZKToYjGkr_McSuXEH","_DNHSqIqivUmbOpSzRyx8"],"classes":{"cSuPGp":{"formula":{"type":"value","value":true}}},"customProperties":{}},"CZzXfwF_b4n6Ps85LSLBn":{"tag":"svg","type":"element","attrs":{"fill":{"type":"value","value":"none"},"width":{"type":"value","value":"18"},"xmlns":{"type":"value","value":"http://www.w3.org/2000/svg"},"height":{"type":"value","value":"18"},"viewBox":{"type":"value","value":"0 0 18 18"}},"children":["NMtM67empye4BqSqY6uCw","Gl7TvGFKmxceTXpB9N4PV"],"customProperties":{}},"E8rK8PTFmpWPx7ylrxofL":{"tag":"div","type":"element","classes":{"notificationError":{"formula":{"path":["Attributes","notification_error"],"type":"path"}},"bgQjMO":{"formula":{"type":"value","value":true}}},"children":["PTjIDNCgAkILJyG-KSMoe","aAE7pItPQJziYtsBKommE"],"customProperties":{}},"Gl7TvGFKmxceTXpB9N4PV":{"tag":"path","type":"element","attrs":{"d":{"type":"value","value":"M7.93508 11.6852C7.78508 11.6852 7.64258 11.6252 7.53758 11.5202L5.41508 9.3977C5.19758 9.1802 5.19758 8.8202 5.41508 8.6027C5.63258 8.3852 5.99258 8.3852 6.21008 8.6027L7.93508 10.3277L11.7901 6.4727C12.0076 6.2552 12.3676 6.2552 12.5851 6.4727C12.8026 6.6902 12.8026 7.05019 12.5851 7.26769L8.33258 11.5202C8.22758 11.6252 8.08508 11.6852 7.93508 11.6852Z"},"fill":{"type":"value","value":"#377300"}},"customProperties":{}},"NMtM67empye4BqSqY6uCw":{"tag":"path","type":"element","attrs":{"d":{"type":"value","value":"M9 17.0625C4.5525 17.0625 0.9375 13.4475 0.9375 9C0.9375 4.5525 4.5525 0.9375 9 0.9375C13.4475 0.9375 17.0625 4.5525 17.0625 9C17.0625 13.4475 13.4475 17.0625 9 17.0625ZM9 2.0625C5.175 2.0625 2.0625 5.175 2.0625 9C2.0625 12.825 5.175 15.9375 9 15.9375C12.825 15.9375 15.9375 12.825 15.9375 9C15.9375 5.175 12.825 2.0625 9 2.0625Z"},"fill":{"type":"value","value":"#377300"}},"customProperties":{}},"OInmWSbyWNVPIwjSZ9eHD":{"tag":"path","type":"element","attrs":{"d":{"type":"value","value":"M9 16.5C13.125 16.5 16.5 13.125 16.5 9C16.5 4.875 13.125 1.5 9 1.5C4.875 1.5 1.5 4.875 1.5 9C1.5 13.125 4.875 16.5 9 16.5Z"},"stroke":{"type":"value","value":"#AC0006"},"stroke-width":{"type":"value","value":"1.02539"},"stroke-linecap":{"type":"value","value":"round"},"stroke-linejoin":{"type":"value","value":"round"}},"customProperties":{}},"PTjIDNCgAkILJyG-KSMoe":{"tag":"svg","type":"element","attrs":{"fill":{"type":"value","value":"none"},"width":{"type":"value","value":"18"},"xmlns":{"type":"value","value":"http://www.w3.org/2000/svg"},"height":{"type":"value","value":"18"},"viewBox":{"type":"value","value":"0 0 18 18"}},"children":["OInmWSbyWNVPIwjSZ9eHD","QGpyO-9n-dGAQwuRE9dHq","qe3-RNY3kOR0dKdswzuV7"],"customProperties":{}},"PUe2ZKToYjGkr_McSuXEH":{"tag":"div","type":"element","classes":{"notificationSuccess":{"formula":{"path":["Attributes","notification_success"],"type":"path"}},"fvYdp":{"formula":{"type":"value","value":true}}},"children":["CZzXfwF_b4n6Ps85LSLBn","RFhRBnjfTPwykDeFGKfDF"],"customProperties":{}},"QGpyO-9n-dGAQwuRE9dHq":{"tag":"path","type":"element","attrs":{"d":{"type":"value","value":"M9 6V9.75"},"stroke":{"type":"value","value":"#AC0006"},"stroke-width":{"type":"value","value":"1.02539"},"stroke-linecap":{"type":"value","value":"round"},"stroke-linejoin":{"type":"value","value":"round"}},"customProperties":{}},"Qp9V_qg1LcEdY6MGN2xXU":{"type":"text","value":{"path":["Attributes","message"],"type":"path"}},"RFhRBnjfTPwykDeFGKfDF":{"tag":"div","type":"element","children":["Qp9V_qg1LcEdY6MGN2xXU"],"classes":{"cZaTdV":{"formula":{"type":"value","value":true}}},"customProperties":{}},"_DNHSqIqivUmbOpSzRyx8":{"tag":"style","type":"element","children":["fY62tNNQpKKae6ZklJFP_"],"customProperties":{}},"aAE7pItPQJziYtsBKommE":{"tag":"div","type":"element","children":["bKWX_-UtQQwjLkPmIkLkD"],"classes":{"cZaTdV":{"formula":{"type":"value","value":true}}},"customProperties":{}},"bKWX_-UtQQwjLkPmIkLkD":{"type":"text","value":{"path":["Attributes","message"],"type":"path"}},"fY62tNNQpKKae6ZklJFP_":{"type":"text","value":{"type":"value","value":"@font-face {\n  font-family: 'SofiaPro';\n  src: url('https://raw.githubusercontent.com/jandre3000/j4n-co/master/assets/fonts/Sofia-Pro-Regular/Sofia%20Pro%20Regular.woff') format('woff');\n  font-weight: 400;\n  font-style: normal;\n  font-display: swap;\n}\n\n/* Apply to your existing component */\n:where([uc-simple-btn]) {\n  position: relative;\n  display: inline-flex;\n  height: 100%;\n  font-family: 'SofiaPro', sans-serif;\n}\n"}},"qe3-RNY3kOR0dKdswzuV7":{"tag":"path","type":"element","attrs":{"d":{"type":"value","value":"M8.99561 12H9.00234"},"stroke":{"type":"value","value":"#AC0006"},"stroke-width":{"type":"value","value":"1.36719"},"stroke-linecap":{"type":"value","value":"round"},"stroke-linejoin":{"type":"value","value":"round"}},"customProperties":{}}},"workflows":{"HJ0zAQ":{"name":"Untitled","actions":[],"exposeInContext":false,"parameters":[]}},"attributes":{"message":{"name":"message"},"notification_error":{"name":"notification_error"},"notification_success":{"name":"notification_success"}}}]}