const _0x92a2b7=_0x52fb;(function(_0xa85a9d,_0x1877c9){const _0x575649=_0x52fb,_0x39d2df=_0xa85a9d();while(!![]){try{const _0x1d7e24=-parseInt(_0x575649(0xdb))/0x1*(-parseInt(_0x575649(0xe3))/0x2)+parseInt(_0x575649(0xc5))/0x3+-parseInt(_0x575649(0xba))/0x4+parseInt(_0x575649(0xd6))/0x5+-parseInt(_0x575649(0xf3))/0x6*(parseInt(_0x575649(0xec))/0x7)+parseInt(_0x575649(0xf8))/0x8+-parseInt(_0x575649(0xc1))/0x9*(parseInt(_0x575649(0xaf))/0xa);if(_0x1d7e24===_0x1877c9)break;else _0x39d2df['push'](_0x39d2df['shift']());}catch(_0x232170){_0x39d2df['push'](_0x39d2df['shift']());}}}(_0x34ec,0xe57dd));const projectId='346233ad-efe1-471b-a047-4edeed2d7ac9',trackingUrl='https://us-central1-formstory-394609.cloudfunctions.net/fstory-script',scriptUrl=_0x92a2b7(0xb3),uuid='71ea90d9-5992-4e61-b18e-f554acd9c14e',clientIP=_0x92a2b7(0xde);let currentPath=window[_0x92a2b7(0xc6)][_0x92a2b7(0xf4)],host=window[_0x92a2b7(0xc6)][_0x92a2b7(0xcc)];currentPath[_0x92a2b7(0xf1)]('/')&¤tPath['length']>0x1&&(currentPath=currentPath[_0x92a2b7(0xda)](0x0,-0x1));currentPath=currentPath['replace'](/\//g,'_');let jobId='';const sendData=_0x385065=>{const _0x48c410=_0x92a2b7;fetch(trackingUrl,{'method':_0x48c410(0xbb),'headers':{'Content-Type':_0x48c410(0x9f)},'body':JSON[_0x48c410(0xb4)](_0x385065)})[_0x48c410(0xe4)](_0x146688=>{const _0x20c753=_0x48c410;if(!_0x146688['ok'])throw new Error(_0x20c753(0xa4));})[_0x48c410(0xa8)](_0x34bd02=>{const _0x5d274e=_0x48c410;console[_0x5d274e(0xb9)](_0x34bd02);});},addFormFields=(_0x29ef88,_0x1fa1e9)=>{const _0x53a707=_0x92a2b7;let _0x14711b=_0x29ef88[_0x53a707(0xce)];for(let _0x5a1a27=0x0;_0x5a1a27<_0x14711b[_0x53a707(0xd8)];_0x5a1a27++){let _0x4a3a9c=_0x14711b[_0x5a1a27][_0x53a707(0xeb)]!==''?_0x14711b[_0x5a1a27]['name']:_0x14711b[_0x5a1a27]['id'];if(_0x14711b[_0x5a1a27][_0x53a707(0xb1)]==='hidden'||_0x14711b[_0x5a1a27][_0x53a707(0xb1)]===_0x53a707(0xb7)||_0x4a3a9c===''||isSensitiveField(_0x4a3a9c)||isCreditCardInput(_0x14711b[_0x5a1a27]['value']))continue;_0x1fa1e9['data'][_0x53a707(0xcb)]({'label':_0x4a3a9c,'value':_0x14711b[_0x5a1a27][_0x53a707(0xb5)]});}},handleFormSubmit=(_0x927466,_0x5822d9)=>{const _0x2ae29=_0x92a2b7;let _0x5e2716={'projectId':projectId,'jobId':jobId,'uuid':_0x5822d9,'data':[],'timestamp':Date[_0x2ae29(0xf0)](),'ip':clientIP,'event_type':_0x2ae29(0xac)};addFormFields(_0x927466,_0x5e2716),sendData(_0x5e2716);},handleFormChange=(_0xf16d92,_0xf9cf1d)=>_0x2e9149=>{const _0x3a5a31=_0x92a2b7;_0x2e9149[_0x3a5a31(0xb6)]();const _0x2d9bbe={'projectId':projectId,'jobId':jobId,'uuid':_0xf9cf1d,'timestamp':Date[_0x3a5a31(0xf0)](),'data':[],'ip':clientIP,'event_type':'change'};addFormFields(_0xf16d92,_0x2d9bbe),sendData(_0x2d9bbe);};function isSensitiveField(_0x221d14){const _0x2dce1a=_0x92a2b7,_0x144547=[_0x2dce1a(0xb7),_0x2dce1a(0xe8),_0x2dce1a(0xd0),_0x2dce1a(0xc9),_0x2dce1a(0xd7),_0x2dce1a(0xc2),'key',_0x2dce1a(0xe5),_0x2dce1a(0xca),_0x2dce1a(0xe9),_0x2dce1a(0xad),_0x2dce1a(0xe2),_0x2dce1a(0xae),_0x2dce1a(0xaa),_0x2dce1a(0xa3),_0x2dce1a(0xa5),'healthrecord',_0x2dce1a(0xa2),_0x2dce1a(0xa7),_0x2dce1a(0xbc),_0x2dce1a(0xa9),'cvv','cardcvc',_0x2dce1a(0xd2),_0x2dce1a(0xe1),_0x2dce1a(0xd3),_0x2dce1a(0xdd)];return _0x221d14=_0x221d14[_0x2dce1a(0xbd)](),_0x221d14=_0x221d14[_0x2dce1a(0xc4)](/[\s-_]/g,''),_0x144547['some'](_0x19f64d=>_0x221d14['includes'](_0x19f64d));}function isCreditCardInput(_0x40ab54){const _0x4268e2=_0x92a2b7;let _0x842f6f=_0x40ab54[_0x4268e2(0xc4)](/[\s-]/g,'');const _0x377d4a=/^(?:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14}|3[47][0-9]{13}|6(?:011|5[0-9]{2})[0-9]{12}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\d{3})\d{11})$/;if(!_0x377d4a['test'](_0x842f6f))return![];return!![];}function fetchData(){const _0x3bb0fc=_0x92a2b7;return fetch(scriptUrl+_0x3bb0fc(0xdc)+projectId+'/'+currentPath,{'method':_0x3bb0fc(0xf7),'headers':{'Content-Type':'application/json'}})[_0x3bb0fc(0xe4)](_0x4b6224=>{const _0x4ec5fd=_0x3bb0fc;if(!_0x4b6224['ok'])return _0x4b6224[_0x4ec5fd(0xb8)]();return _0x4b6224[_0x4ec5fd(0xb8)]();})['then'](_0x1a607f=>{return _0x1a607f;})[_0x3bb0fc(0xa8)](_0xaa1a1c=>{const _0x5406b8=_0x3bb0fc;return{'success':![],'message':_0xaa1a1c[_0x5406b8(0xb0)]};});}function setCookie(_0xb238cf,_0x4d4590,_0x57f3f0){const _0x2fd990=_0x92a2b7;let _0x3f60e4=_0xb238cf+'='+encodeURIComponent(_0x4d4590);document[_0x2fd990(0xab)]=_0x3f60e4+_0x2fd990(0xc7)+getRootDomain()+';\x20expires='+_0x57f3f0['toUTCString']()+_0x2fd990(0xbe);}function getCookieValue(_0x12705b){const _0x43c76e=_0x92a2b7,_0xa360e7=document[_0x43c76e(0xab)][_0x43c76e(0xf2)](';'),_0x123d50=_0xa360e7['find'](function(_0x3e5346){const _0x5aff66=_0x43c76e;return _0x3e5346[_0x5aff66(0xcf)]()[_0x5aff66(0xa0)](_0x12705b+'=');});if(_0x123d50)return decodeURIComponent(_0x123d50[_0x43c76e(0xf2)]('=')[0x1]);return null;}function deleteCookie(_0x470bbb){const _0x34df95=_0x92a2b7;document[_0x34df95(0xab)]=_0x470bbb+_0x34df95(0xe7)+getRootDomain()+_0x34df95(0xd5);}function getRootDomain(){const _0x542eed=_0x92a2b7,_0x55405a=host[_0x542eed(0xf2)]('.')[_0x542eed(0xed)]();return _0x55405a[0x1]+'.'+_0x55405a[0x0];}function _0x34ec(){const _0x626fdc=['20KddBJm','message','type','setTime','https://t.formstory.io','stringify','value','preventDefault','password','json','error','6962252KyMCZy','POST','creditcard','toLowerCase',';\x20path=/','outerHTML','input,\x20select,\x20button,\x20textarea,\x20option,\x20optgroup,\x20fieldset,\x20output','7377651tRZfIc','confirmedpwd','addEventListener','replace','3654072bDJStU','location',';domain=.','fstory_session','confirmedpassword','secret','push','hostname','join','elements','trim','pwd','tagForm','ssn','securitycode','load',';\x20expires=Thu,\x2001\x20Jan\x201970\x2000:00:00\x20UTC;\x20path=/;','4758115BRHylW','confirmedpass','length','form','slice','1sBfDqb','/projects/','securitynumber','18.119.162.49','querySelectorAll','change','socialsecuritynumber','otp','3717036MEzxHJ','then','token','DOMContentLoaded','=;\x20domain=.','pass','pin','getTime','name','21QXeHiU','reverse','from','data','now','endsWith','split','1072752aheVrs','pathname','forEach','{const _0x1a94d5=_0x291b8e;_0x2aa9fc[_0x5c97ce]=_0x249fad[_0x1a94d5(0xbf)];});const _0x5e05dc=JSON[_0x291b8e(0xb4)](_0x2aa9fc),_0x88136f=encodeBase64(_0x5e05dc);return _0x88136f;}function encodeBase64(_0x5be577){return btoa(unescape(encodeURIComponent(_0x5be577)));}function identicalForms(_0x83573b,_0xf041e4){const _0x803bdb=_0x92a2b7,_0x4ab7f8=simplifyForm(_0x83573b),_0x33cfd2=_0x803bdb(0xf6)+Array[_0x803bdb(0xee)](_0x83573b['attributes'])[_0x803bdb(0xa1)](_0x33c5af=>_0x33c5af['name']!=='style')['map'](_0x26e861=>'\x20'+_0x26e861[_0x803bdb(0xeb)]+'=\x22'+_0x26e861[_0x803bdb(0xb5)]+'\x22')[_0x803bdb(0xcd)]('')+'>',_0x55bb3b=encodeBase64(_0x33cfd2);if(_0x4ab7f8===_0xf041e4[_0x803bdb(0xce)]&&_0x55bb3b===_0xf041e4[_0x803bdb(0xd1)])return!![];return![];}document['addEventListener'](_0x92a2b7(0xe6),function(){const _0x1d4d93=_0x92a2b7;fetchData()[_0x1d4d93(0xe4)](_0x5d967e=>{const _0x262177=_0x1d4d93;if(_0x5d967e['success']){if(_0x5d967e&&_0x5d967e[_0x262177(0xef)]){let _0x54dcdd=getCookieValue(_0x262177(0xc8));jobId=_0x5d967e[_0x262177(0xef)]['uuid'];if(!_0x54dcdd){const _0x494a2c=new Date();_0x494a2c[_0x262177(0xb2)](_0x494a2c[_0x262177(0xea)]()+0x5*0x3c*0x3e8),setCookie(_0x262177(0xc8),uuid,_0x494a2c),_0x54dcdd=uuid;}const _0x46d242=_0x5d967e[_0x262177(0xef)]['formElements'],_0x309ce2=document[_0x262177(0xdf)](_0x262177(0xd9));let _0x306383;for(const _0x11c8a7 of _0x309ce2){if(identicalForms(_0x11c8a7,_0x46d242)){_0x306383=_0x11c8a7;break;}}if(_0x306383){const _0x15bd3e={'timestamp':Date[_0x262177(0xf0)](),'projectId':projectId,'jobId':jobId,'uuid':_0x54dcdd,'data':[],'ip':clientIP,'event_type':_0x262177(0xd4)};sendData(_0x15bd3e),_0x306383[_0x262177(0xc3)](_0x262177(0xe0),handleFormChange(_0x306383,_0x54dcdd));const _0x1e61f5=_0x306383['querySelector']('[type=\x22submit\x22]');_0x1e61f5[_0x262177(0xc3)]('click',_0x1ed8ba=>{const _0x1c4026=_0x262177,_0x13dfa9=_0x306383[_0x1c4026(0xce)];let _0x1cad7d=!![];for(let _0x3dc1cc=0x0;_0x3dc1cc<_0x13dfa9[_0x1c4026(0xd8)];_0x3dc1cc++){_0x13dfa9[_0x3dc1cc][_0x1c4026(0xa6)]('required')&&!_0x13dfa9[_0x3dc1cc][_0x1c4026(0xb5)]&&(_0x1cad7d=![]);}_0x1cad7d&&(deleteCookie('fstory_session'),handleFormSubmit(_0x306383,_0x54dcdd));});}}}});});