const _0x4c5b58=_0x4045;(function(_0x54ddaa,_0x218960){const _0xb32d75=_0x4045,_0x552c02=_0x54ddaa();while(!![]){try{const _0x2fedb4=-parseInt(_0xb32d75(0x1d8))/0x1*(-parseInt(_0xb32d75(0x1c9))/0x2)+parseInt(_0xb32d75(0x1f9))/0x3+-parseInt(_0xb32d75(0x1db))/0x4*(-parseInt(_0xb32d75(0x1ca))/0x5)+-parseInt(_0xb32d75(0x1c0))/0x6*(parseInt(_0xb32d75(0x1f5))/0x7)+-parseInt(_0xb32d75(0x1e2))/0x8*(-parseInt(_0xb32d75(0x1f6))/0x9)+-parseInt(_0xb32d75(0x1dc))/0xa*(-parseInt(_0xb32d75(0x1cf))/0xb)+-parseInt(_0xb32d75(0x1c5))/0xc*(parseInt(_0xb32d75(0x1fc))/0xd);if(_0x2fedb4===_0x218960)break;else _0x552c02['push'](_0x552c02['shift']());}catch(_0xd80e56){_0x552c02['push'](_0x552c02['shift']());}}}(_0x3e79,0x7a588));const projectId=_0x4c5b58(0x1e4),trackingUrl=_0x4c5b58(0x1ef),scriptUrl='https://t.formstory.io',uuid=_0x4c5b58(0x1fd),clientIP=_0x4c5b58(0x1ed);let currentPath=window['location']['pathname'],host=window['location']['hostname'];currentPath[_0x4c5b58(0x1d3)]('/')&¤tPath[_0x4c5b58(0x1d6)]>0x1&&(currentPath=currentPath[_0x4c5b58(0x1d4)](0x0,-0x1));currentPath=currentPath[_0x4c5b58(0x1e3)](/\//g,'_');let jobId='';const sendData=_0x428a14=>{const _0x5f0fba=_0x4c5b58;fetch(trackingUrl,{'method':_0x5f0fba(0x1ea),'headers':{'Content-Type':'application/json'},'body':JSON[_0x5f0fba(0x1da)](_0x428a14)})[_0x5f0fba(0x1f8)](_0x3a7359=>{const _0x12d902=_0x5f0fba;if(!_0x3a7359['ok'])throw new Error(_0x12d902(0x1e9));})['catch'](_0x44147f=>{const _0xdca22b=_0x5f0fba;console[_0xdca22b(0x1d0)](_0x44147f);});},addFormFields=(_0x2bb713,_0x255f01)=>{const _0x413160=_0x4c5b58;let _0x5664de=_0x2bb713[_0x413160(0x1cd)];for(let _0x5a2eb4=0x0;_0x5a2eb4<_0x5664de[_0x413160(0x1d6)];_0x5a2eb4++){let _0x1b746f=_0x5664de[_0x5a2eb4][_0x413160(0x1d7)]!==''?_0x5664de[_0x5a2eb4][_0x413160(0x1d7)]:_0x5664de[_0x5a2eb4]['id'];if(_0x5664de[_0x5a2eb4]['type']===_0x413160(0x1e8)||_0x1b746f==='')continue;_0x255f01[_0x413160(0x1dd)][_0x413160(0x1f2)]({'label':_0x1b746f,'value':_0x5664de[_0x5a2eb4][_0x413160(0x1c4)]});}},handleFormSubmit=(_0x90ca5d,_0x3b9f69)=>{let _0x53c1ba={'projectId':projectId,'jobId':jobId,'uuid':_0x3b9f69,'data':[],'timestamp':Date['now'](),'ip':clientIP,'event_type':'submit'};addFormFields(_0x90ca5d,_0x53c1ba),sendData(_0x53c1ba);},handleFormChange=(_0x4e3028,_0x5d8abd)=>_0x38a424=>{const _0x24ac4a=_0x4c5b58;_0x38a424[_0x24ac4a(0x1e7)]();const _0x4ccfda={'projectId':projectId,'jobId':jobId,'uuid':_0x5d8abd,'timestamp':Date[_0x24ac4a(0x1f4)](),'data':[],'ip':clientIP,'event_type':_0x24ac4a(0x1ce)};addFormFields(_0x4e3028,_0x4ccfda),sendData(_0x4ccfda);};function fetchData(){const _0x3cf7ef=_0x4c5b58;return fetch(scriptUrl+_0x3cf7ef(0x1fe)+projectId+'/'+currentPath,{'method':'GET','headers':{'Content-Type':_0x3cf7ef(0x1eb)}})['then'](_0x52caf5=>{const _0x5c62cb=_0x3cf7ef;if(!_0x52caf5['ok'])return _0x52caf5[_0x5c62cb(0x1c7)]();return _0x52caf5[_0x5c62cb(0x1c7)]();})[_0x3cf7ef(0x1f8)](_0xfd6a65=>{return _0xfd6a65;})[_0x3cf7ef(0x1f0)](_0x808764=>{return{'success':![],'message':_0x808764['message']};});}function setCookie(_0x4ca30b,_0x54aa5e,_0xb52252){const _0x2b6696=_0x4c5b58;let _0x3482b3=_0x4ca30b+'='+encodeURIComponent(_0x54aa5e);document[_0x2b6696(0x1c1)]=_0x3482b3+_0x2b6696(0x1df)+getRootDomain()+';\x20expires='+_0xb52252[_0x2b6696(0x1f1)]()+_0x2b6696(0x1f7);}function getCookieValue(_0x147371){const _0xed6673=_0x4c5b58,_0x26a5cb=document[_0xed6673(0x1c1)][_0xed6673(0x1c8)](';'),_0x3afc3c=_0x26a5cb[_0xed6673(0x1e5)](function(_0x43195d){const _0x4900ac=_0xed6673;return _0x43195d[_0x4900ac(0x1c6)]()[_0x4900ac(0x1e1)](_0x147371+'=');});if(_0x3afc3c)return decodeURIComponent(_0x3afc3c[_0xed6673(0x1c8)]('=')[0x1]);return null;}function deleteCookie(_0x3bd361){const _0x4299a4=_0x4c5b58;document[_0x4299a4(0x1c1)]=_0x3bd361+'=;\x20domain=.'+getRootDomain()+_0x4299a4(0x1d9);}function _0x3e79(){const _0x1a9319=[';\x20path=/','then','861345UpdTFa','xpath','DOMContentLoaded','10075OJDxKC','d5b32754-1cae-49cd-9d0f-5f4978e82a64','/projects/','5613834cfFkdn','cookie','FIRST_ORDERED_NODE_TYPE','load','value','11304WGwdOX','trim','json','split','646HyxbpS','21055GsZedx','reverse','success','elements','change','33022jSkEnU','error','querySelector','evaluate','endsWith','slice','addEventListener','length','name','1039agjRJH',';\x20expires=Thu,\x2001\x20Jan\x201970\x2000:00:00\x20UTC;\x20path=/;','stringify','344lmoaSj','1750PLsJPX','data','uuid',';domain=.','hasAttribute','startsWith','8MNEces','replace','f1b08809-81db-4b79-b2be-a1f9d98036b8','find','fstory_session','preventDefault','hidden','Network\x20response\x20was\x20not\x20ok','POST','application/json','required','18.223.210.104','[type=\x22submit\x22]','https://us-central1-formstory-394609.cloudfunctions.net/fstory-script','catch','toUTCString','push','click','now','7UizEIS','5909481CxLzoE'];_0x3e79=function(){return _0x1a9319;};return _0x3e79();}function _0x4045(_0x1d0a71,_0x3bfe41){const _0x3e798c=_0x3e79();return _0x4045=function(_0x404580,_0x3abf53){_0x404580=_0x404580-0x1c0;let _0x5e2a96=_0x3e798c[_0x404580];return _0x5e2a96;},_0x4045(_0x1d0a71,_0x3bfe41);}function getRootDomain(){const _0xedba9c=_0x4c5b58,_0xd34244=host[_0xedba9c(0x1c8)]('.')[_0xedba9c(0x1cb)]();return _0xd34244[0x1]+'.'+_0xd34244[0x0];}document[_0x4c5b58(0x1d5)](_0x4c5b58(0x1fb),function(){const _0x4bd48e=_0x4c5b58;fetchData()[_0x4bd48e(0x1f8)](_0x593fc3=>{const _0x2c17ef=_0x4bd48e;if(_0x593fc3[_0x2c17ef(0x1cc)]){if(_0x593fc3&&_0x593fc3[_0x2c17ef(0x1dd)]){let _0x334f84=getCookieValue('fstory_session');if(!_0x334f84){const _0x47e816=new Date();_0x47e816['setTime'](_0x47e816['getTime']()+0x5*0x3c*0x3e8),setCookie('fstory_session',uuid,_0x47e816),_0x334f84=uuid;}jobId=_0x593fc3[_0x2c17ef(0x1dd)][_0x2c17ef(0x1de)];const _0x3b0902=document[_0x2c17ef(0x1d2)](_0x593fc3['data'][_0x2c17ef(0x1fa)],document,null,XPathResult[_0x2c17ef(0x1c2)],null)['singleNodeValue'];if(_0x3b0902){const _0x12d74d={'timestamp':Date[_0x2c17ef(0x1f4)](),'projectId':projectId,'jobId':jobId,'uuid':_0x334f84,'data':[],'ip':clientIP,'event_type':_0x2c17ef(0x1c3)};sendData(_0x12d74d),_0x3b0902[_0x2c17ef(0x1d5)](_0x2c17ef(0x1ce),handleFormChange(_0x3b0902,_0x334f84));const _0xe522bc=_0x3b0902[_0x2c17ef(0x1d1)](_0x2c17ef(0x1ee));_0xe522bc['addEventListener'](_0x2c17ef(0x1f3),_0x37e46a=>{const _0x1c9099=_0x2c17ef,_0x4ce0ed=_0x3b0902[_0x1c9099(0x1cd)];let _0x3df349=!![];for(let _0x12f98c=0x0;_0x12f98c<_0x4ce0ed['length'];_0x12f98c++){_0x4ce0ed[_0x12f98c][_0x1c9099(0x1e0)](_0x1c9099(0x1ec))&&!_0x4ce0ed[_0x12f98c][_0x1c9099(0x1c4)]&&(_0x3df349=![]);}_0x3df349&&(deleteCookie(_0x1c9099(0x1e6)),handleFormSubmit(_0x3b0902,_0x334f84));});}}}});});