const _0x56e166=_0x27d2;(function(_0x440011,_0x56359f){const _0x66a75c=_0x27d2,_0x4b2d8a=_0x440011();while(!![]){try{const _0x1c70a0=parseInt(_0x66a75c(0x160))/0x1+parseInt(_0x66a75c(0x15b))/0x2*(-parseInt(_0x66a75c(0x166))/0x3)+parseInt(_0x66a75c(0x14f))/0x4+-parseInt(_0x66a75c(0x151))/0x5+parseInt(_0x66a75c(0x164))/0x6+-parseInt(_0x66a75c(0x155))/0x7*(parseInt(_0x66a75c(0x178))/0x8)+-parseInt(_0x66a75c(0x159))/0x9*(-parseInt(_0x66a75c(0x175))/0xa);if(_0x1c70a0===_0x56359f)break;else _0x4b2d8a['push'](_0x4b2d8a['shift']());}catch(_0x5b0041){_0x4b2d8a['push'](_0x4b2d8a['shift']());}}}(_0x5f38,0x2daf0));const projectId=_0x56e166(0x172),trackingUrl=_0x56e166(0x15a),scriptUrl=_0x56e166(0x14c),uuid=_0x56e166(0x177),clientIP=_0x56e166(0x156);let currentPath=window['location'][_0x56e166(0x15c)],host=window[_0x56e166(0x16c)]['hostname'];currentPath[_0x56e166(0x17e)]('/')&¤tPath['length']>0x1&&(currentPath=currentPath[_0x56e166(0x165)](0x0,-0x1));currentPath=currentPath[_0x56e166(0x14b)](/\//g,'_');let jobId='';const sendData=_0x1ddea9=>{const _0x430289=_0x56e166;fetch(trackingUrl,{'method':_0x430289(0x153),'headers':{'Content-Type':_0x430289(0x170)},'body':JSON[_0x430289(0x16e)](_0x1ddea9)})['then'](_0x29350e=>{const _0x1e6d3a=_0x430289;if(!_0x29350e['ok'])throw new Error(_0x1e6d3a(0x149));})[_0x430289(0x15d)](_0x26acec=>{const _0x30b36d=_0x430289;console[_0x30b36d(0x176)](_0x26acec);});},addFormFields=(_0x3205ab,_0x2a5dd9)=>{const _0x3b9ee8=_0x56e166;let _0x25f8b2=_0x3205ab['elements'];for(let _0x23a780=0x0;_0x23a780<_0x25f8b2['length'];_0x23a780++){let _0x2a3066=_0x25f8b2[_0x23a780][_0x3b9ee8(0x16f)]!==''?_0x25f8b2[_0x23a780][_0x3b9ee8(0x16f)]:_0x25f8b2[_0x23a780]['id'];if(_0x25f8b2[_0x23a780]['type']===_0x3b9ee8(0x168)||_0x2a3066==='')continue;_0x2a5dd9['data']['push']({'label':_0x2a3066,'value':_0x25f8b2[_0x23a780][_0x3b9ee8(0x167)]});}},handleFormSubmit=(_0x14c493,_0x2a71b1)=>{const _0x4fe9b6=_0x56e166;let _0xd9802c={'projectId':projectId,'jobId':jobId,'uuid':_0x2a71b1,'data':[],'timestamp':Date[_0x4fe9b6(0x16d)](),'ip':clientIP,'event_type':_0x4fe9b6(0x14e)};addFormFields(_0x14c493,_0xd9802c),sendData(_0xd9802c);},handleFormChange=(_0x31339e,_0x13b5e1)=>_0x3a4b28=>{const _0x4edff1=_0x56e166;_0x3a4b28[_0x4edff1(0x162)]();const _0x5300ae={'projectId':projectId,'jobId':jobId,'uuid':_0x13b5e1,'timestamp':Date[_0x4edff1(0x16d)](),'data':[],'ip':clientIP,'event_type':'change'};addFormFields(_0x31339e,_0x5300ae),sendData(_0x5300ae);};function _0x5f38(){const _0x942f0e=['value','hidden','startsWith','getTime','FIRST_ORDERED_NODE_TYPE','location','now','stringify','name','application/json','length','563a2744-f578-4be2-be13-279e88297a19','cookie','data','90CGfnIU','error','ccf033c4-0e30-4f69-881a-3665c94a7ef5','1608AeYKnT',';\x20expires=Thu,\x2001\x20Jan\x201970\x2000:00:00\x20UTC;\x20path=/;','then','json','elements','evaluate','endsWith',';\x20path=/','fstory_session',';domain=.','Network\x20response\x20was\x20not\x20ok','uuid','replace','https://t.formstory.io','message','submit','778940fPGNxe','find','1184685yUNcWq','load','POST','addEventListener','2247lqOxUe','3.23.127.197','success','DOMContentLoaded','43965vpvCCc','https://us-central1-formstory-394609.cloudfunctions.net/fstory-script','12bbCkbM','pathname','catch','xpath','split','282255AEtHJF','GET','preventDefault','[type=\x22submit\x22]','1793982gOAlkK','slice','165687bCjKEd'];_0x5f38=function(){return _0x942f0e;};return _0x5f38();}function fetchData(){const _0x471fc5=_0x56e166;return fetch(scriptUrl+'/projects/'+projectId+'/'+currentPath,{'method':_0x471fc5(0x161),'headers':{'Content-Type':_0x471fc5(0x170)}})['then'](_0x13cb9b=>{const _0x134b6d=_0x471fc5;if(!_0x13cb9b['ok'])return _0x13cb9b[_0x134b6d(0x17b)]();return _0x13cb9b['json']();})[_0x471fc5(0x17a)](_0x437bef=>{return _0x437bef;})['catch'](_0x4fcc79=>{const _0x118bf1=_0x471fc5;return{'success':![],'message':_0x4fcc79[_0x118bf1(0x14d)]};});}function setCookie(_0x23e880,_0x7af96,_0x53011c){const _0xd54829=_0x56e166;let _0x13dafb=_0x23e880+'='+encodeURIComponent(_0x7af96);document[_0xd54829(0x173)]=_0x13dafb+_0xd54829(0x148)+getRootDomain()+';\x20expires='+_0x53011c['toUTCString']()+_0xd54829(0x17f);}function getCookieValue(_0xac39b9){const _0x4a781e=_0x56e166,_0x26014d=document[_0x4a781e(0x173)][_0x4a781e(0x15f)](';'),_0x122d9f=_0x26014d[_0x4a781e(0x150)](function(_0x45f640){const _0x4fc4ee=_0x4a781e;return _0x45f640['trim']()[_0x4fc4ee(0x169)](_0xac39b9+'=');});if(_0x122d9f)return decodeURIComponent(_0x122d9f[_0x4a781e(0x15f)]('=')[0x1]);return null;}function deleteCookie(_0x4d8233){const _0x204d6c=_0x56e166;document[_0x204d6c(0x173)]=_0x4d8233+'=;\x20domain=.'+getRootDomain()+_0x204d6c(0x179);}function _0x27d2(_0x3a0954,_0x362c1b){const _0x5f388a=_0x5f38();return _0x27d2=function(_0x27d273,_0x35332b){_0x27d273=_0x27d273-0x148;let _0x48e53d=_0x5f388a[_0x27d273];return _0x48e53d;},_0x27d2(_0x3a0954,_0x362c1b);}function getRootDomain(){const _0x6f0e43=host['split']('.')['reverse']();return _0x6f0e43[0x1]+'.'+_0x6f0e43[0x0];}document[_0x56e166(0x154)](_0x56e166(0x158),function(){const _0x42f2f1=_0x56e166;fetchData()[_0x42f2f1(0x17a)](_0x407639=>{const _0x104ec3=_0x42f2f1;if(_0x407639[_0x104ec3(0x157)]){if(_0x407639&&_0x407639[_0x104ec3(0x174)]){let _0x37bde3=getCookieValue('fstory_session');if(!_0x37bde3){const _0x4d0f8b=new Date();_0x4d0f8b['setTime'](_0x4d0f8b[_0x104ec3(0x16a)]()+0x5*0x3c*0x3e8),setCookie(_0x104ec3(0x180),uuid,_0x4d0f8b),_0x37bde3=uuid;}jobId=_0x407639['data'][_0x104ec3(0x14a)];const _0x15c42c=document[_0x104ec3(0x17d)](_0x407639[_0x104ec3(0x174)][_0x104ec3(0x15e)],document,null,XPathResult[_0x104ec3(0x16b)],null)['singleNodeValue'];if(_0x15c42c){const _0x5f3d33={'timestamp':Date[_0x104ec3(0x16d)](),'projectId':projectId,'jobId':jobId,'uuid':_0x37bde3,'data':[],'ip':clientIP,'event_type':_0x104ec3(0x152)};sendData(_0x5f3d33),_0x15c42c[_0x104ec3(0x154)]('change',handleFormChange(_0x15c42c,_0x37bde3));const _0x213a8f=_0x15c42c['querySelector'](_0x104ec3(0x163));_0x213a8f[_0x104ec3(0x154)]('click',_0x355ea9=>{const _0x25a9aa=_0x104ec3,_0x480c1d=_0x15c42c[_0x25a9aa(0x17c)];let _0x42a07a=!![];for(let _0x438d8e=0x0;_0x438d8e<_0x480c1d[_0x25a9aa(0x171)];_0x438d8e++){_0x480c1d[_0x438d8e]['hasAttribute']('required')&&!_0x480c1d[_0x438d8e]['value']&&(_0x42a07a=![]);}_0x42a07a&&(deleteCookie(_0x25a9aa(0x180)),handleFormSubmit(_0x15c42c,_0x37bde3));});}}}});});