const _0x3146db=_0x2595;(function(_0x9291e6,_0x5b1b6b){const _0x2848f1=_0x2595,_0x3c156c=_0x9291e6();while(!![]){try{const _0x2cee14=-parseInt(_0x2848f1(0x1db))/0x1*(parseInt(_0x2848f1(0x1ae))/0x2)+-parseInt(_0x2848f1(0x1c4))/0x3+-parseInt(_0x2848f1(0x1aa))/0x4+-parseInt(_0x2848f1(0x1eb))/0x5+-parseInt(_0x2848f1(0x1a0))/0x6*(-parseInt(_0x2848f1(0x1bb))/0x7)+parseInt(_0x2848f1(0x1b2))/0x8*(parseInt(_0x2848f1(0x1da))/0x9)+-parseInt(_0x2848f1(0x1d4))/0xa*(-parseInt(_0x2848f1(0x1af))/0xb);if(_0x2cee14===_0x5b1b6b)break;else _0x3c156c['push'](_0x3c156c['shift']());}catch(_0x4358ae){_0x3c156c['push'](_0x3c156c['shift']());}}}(_0x268b,0xd13d1));const projectId='184b063d-74cc-4eb8-8e12-a46112af5a30',trackingUrl=_0x3146db(0x1c0),scriptUrl=_0x3146db(0x1a8),clientIP='216.73.216.131';let currentPath=window[_0x3146db(0x19f)][_0x3146db(0x1df)],host=window[_0x3146db(0x19f)][_0x3146db(0x1f0)];currentPath[_0x3146db(0x1b7)]('/')&¤tPath[_0x3146db(0x1bd)]>0x1&&(currentPath=currentPath[_0x3146db(0x1e8)](0x0,-0x1));currentPath=currentPath['replace'](/\//g,'_');const sendData=_0x54e852=>{const _0x2cec5b=_0x3146db;fetch(trackingUrl,{'method':_0x2cec5b(0x1bf),'headers':{'Content-Type':_0x2cec5b(0x1ce)},'body':JSON[_0x2cec5b(0x1ca)](_0x54e852)})[_0x2cec5b(0x1c6)](_0x5c37c9=>{const _0x12d324=_0x2cec5b;if(!_0x5c37c9['ok'])throw new Error(_0x12d324(0x1a3));})[_0x2cec5b(0x1b8)](_0x3894cb=>{const _0x1d928f=_0x2cec5b;console[_0x1d928f(0x1dd)](_0x3894cb);});},addFormFields=(_0x4a4d81,_0x3cff33)=>{const _0x1cf3d4=_0x3146db;let _0x26caf5=_0x4a4d81[_0x1cf3d4(0x1cb)],_0x37bc0c={};for(let _0x15b3b1=0x0;_0x15b3b1<_0x26caf5[_0x1cf3d4(0x1bd)];_0x15b3b1++){let _0x353017=_0x26caf5[_0x15b3b1],_0xf8837d=_0x353017[_0x1cf3d4(0x1c7)]!==''?_0x353017['name']:_0x353017['id'];if(_0x353017['type']===_0x1cf3d4(0x1c5)||_0x353017[_0x1cf3d4(0x1bc)]==='password'||_0xf8837d==='')continue;if(_0xf8837d['endsWith']('[]')){let _0x1977be=_0xf8837d[_0x1cf3d4(0x1e8)](0x0,-0x2),_0x3c4d5c=_0x353017[_0x1cf3d4(0x1e7)]||'';!_0x37bc0c[_0x1977be]?_0x37bc0c[_0x1977be]={'label':_0x1977be,'value':_0x3c4d5c}:_0x37bc0c[_0x1977be][_0x1cf3d4(0x1e7)]+=_0x3c4d5c['length']>0x0?',\x20'+_0x3c4d5c:'';}else _0x3cff33[_0x1cf3d4(0x1e1)][_0x1cf3d4(0x1e0)]({'label':_0xf8837d,'value':_0x353017[_0x1cf3d4(0x1e7)]||''});}for(let _0x50d9d8 in _0x37bc0c){_0x3cff33[_0x1cf3d4(0x1e1)]['push'](_0x37bc0c[_0x50d9d8]);}},handleFormSubmit=(_0x2be519,_0x130db0,_0x282324)=>{const _0x31169c=_0x3146db,_0x4f3681=getCookieValue(_0x31169c(0x1ee)+_0x282324);let _0x7900f9={'projectId':projectId,'jobId':_0x130db0,'uuid':_0x4f3681,'data':[],'timestamp':Date[_0x31169c(0x1d3)](),'ip':clientIP,'event_type':_0x31169c(0x1cc)};addFormFields(_0x2be519,_0x7900f9),sendData(_0x7900f9);},handleFormChange=(_0x500d7a,_0x3cc3fe,_0x15f591)=>_0x7f9884=>{const _0x3f21cb=_0x3146db;_0x7f9884['preventDefault']();const _0x3ebbac=getCookieValue(_0x3f21cb(0x1ee)+_0x15f591),_0x1f95a={'projectId':projectId,'jobId':_0x3cc3fe,'uuid':_0x3ebbac,'timestamp':Date[_0x3f21cb(0x1d3)](),'data':[],'ip':clientIP,'event_type':_0x3f21cb(0x1c8)};addFormFields(_0x500d7a,_0x1f95a),sendData(_0x1f95a);};function fetchData(){const _0x228401=_0x3146db;return fetch(scriptUrl+'/projects/'+projectId+'/'+currentPath,{'method':'GET','headers':{'Content-Type':_0x228401(0x1ce)}})[_0x228401(0x1c6)](_0xb9ea3a=>{const _0x5c8321=_0x228401;if(!_0xb9ea3a['ok'])return _0xb9ea3a[_0x5c8321(0x1ef)]();return _0xb9ea3a[_0x5c8321(0x1ef)]();})[_0x228401(0x1c6)](_0x526fe8=>{return _0x526fe8;})[_0x228401(0x1b8)](_0xa51a28=>{const _0x4fa0ae=_0x228401;return{'success':![],'message':_0xa51a28[_0x4fa0ae(0x1ec)]};});}function _0x268b(){const _0x268df0=['now','1350sFLqSG','tagName','reverse','=;\x20domain=.','[type=\x22submit\x22]',';\x20path=/','299835CEVIzn','311158jbjDxG','method','error','toLowerCase','pathname','push','data','formElements','cookie','find','querySelectorAll','success','value','slice','some','getAttribute','3187760sXkYhJ','message','recaptcha','fstory_session_','json','hostname','click','location','203982fHMlsX','filter','forEach','Network\x20response\x20was\x20not\x20ok','getTime','input:not([type=\x22hidden\x22]),\x20select,\x20button,\x20textarea,\x20option,\x20optgroup,\x20fieldset,\x20output','querySelector','join','https://t.formstory.io','includes','2799520QacglH','addEventListener','action','formAttributes[_0x3eaabb(0x1a9)](_0x150ea5[_0x3eaabb(0x1c7)]))[_0x3eaabb(0x1d0)](_0x4fd235=>'\x20'+_0x4fd235[_0x3eaabb(0x1c7)]+'=\x22'+_0x4fd235[_0x3eaabb(0x1e7)]+'\x22')[_0x3eaabb(0x1a7)]('')+'>':'';return encodeBase64(_0x464371);}const formElements=[_0x3146db(0x1a5)],excludeKeywords=[_0x3146db(0x1ed)];function simplifyForm(_0xe145f6){const _0x28b8e5=_0x3146db,_0x2987f6=_0xe145f6[_0x28b8e5(0x1e5)](formElements),_0x1c6338={},_0x51ce20=({name:_0x5e386d,id:_0x38122b})=>!excludeKeywords[_0x28b8e5(0x1e9)](_0x503a23=>_0x5e386d?.[_0x28b8e5(0x1de)]()[_0x28b8e5(0x1a9)](_0x503a23)||_0x38122b?.[_0x28b8e5(0x1de)]()[_0x28b8e5(0x1a9)](_0x503a23)),_0x414b17=_0x1e83be=>{const _0x5b61f3=_0x28b8e5,_0x17a051=_0x1e83be[_0x5b61f3(0x1d5)]['toLowerCase'](),_0x198f3e=inputAttributes[_0x5b61f3(0x1a1)](_0x48ae8c=>_0x1e83be[_0x5b61f3(0x1b0)](_0x48ae8c))['map'](_0x33ee2e=>'\x20'+_0x33ee2e+'=\x22'+_0x1e83be[_0x5b61f3(0x1ea)](_0x33ee2e)+'\x22')['join']('');return'<'+_0x17a051+_0x198f3e+'>';};return Array[_0x28b8e5(0x1cd)](_0x2987f6)['filter'](_0x51ce20)[_0x28b8e5(0x1a2)]((_0x41fcd5,_0xdd53a3)=>{_0x1c6338[_0xdd53a3]=_0x414b17(_0x41fcd5);}),encodeBase64(JSON[_0x28b8e5(0x1ca)](_0x1c6338));}function encodeBase64(_0x4cc355){return btoa(unescape(encodeURIComponent(_0x4cc355)));}function identicalForms(_0xbbb476,_0xcb3525){const _0x5010f9=_0x3146db,_0x42ae91=simplifyForm(_0xbbb476),_0x2f811e=tagFomBase64(_0xbbb476);if(_0x42ae91===_0xcb3525[_0x5010f9(0x1cb)]&&_0x2f811e===_0xcb3525[_0x5010f9(0x1b9)])return!![];return![];}function generateUUID(){const _0x205ed0=_0x3146db;return _0x205ed0(0x1c3)['replace'](/[xy]/g,function(_0x3a25c8){const _0x473dd3=_0x205ed0;var _0x23d961=Math['random']()*0x10|0x0,_0x1c4495=_0x3a25c8==='x'?_0x23d961:_0x23d961&0x3|0x8;return _0x1c4495[_0x473dd3(0x1b6)](0x10);});}document['addEventListener']('DOMContentLoaded',function(){const _0x170d3f=_0x3146db;fetchData()[_0x170d3f(0x1c6)](_0x2a4153=>{const _0x67f11=_0x170d3f;_0x2a4153[_0x67f11(0x1e6)]&&(_0x2a4153&&_0x2a4153['data']&&_0x2a4153[_0x67f11(0x1e1)][_0x67f11(0x1d0)]((_0x38b370,_0x30777c)=>{const _0x286065=_0x67f11;let _0x122100=generateUUID(),_0x20600f=getCookieValue('fstory_session_'+_0x30777c);if(!_0x20600f){const _0x2eb857=new Date();_0x2eb857[_0x286065(0x1b3)](_0x2eb857['getTime']()+0xf*0x3c*0x3e8),setCookie(_0x286065(0x1ee)+_0x30777c,_0x122100,_0x2eb857),_0x20600f=_0x122100;}else _0x122100=_0x20600f;const _0x3eedfe=_0x38b370[_0x286065(0x1e2)],_0x1ac2d2=document['querySelectorAll'](_0x286065(0x1b4)),_0x48fe43=_0x1ac2d2[_0x3eedfe['index']];if(identicalForms(_0x48fe43,_0x3eedfe)){const _0x5b6e53={'timestamp':Date[_0x286065(0x1d3)](),'projectId':projectId,'jobId':_0x38b370['uuid'],'uuid':_0x20600f,'data':[],'ip':clientIP,'event_type':_0x286065(0x1cf)};sendData(_0x5b6e53),_0x48fe43[_0x286065(0x1ab)](_0x286065(0x1c8),handleFormChange(_0x48fe43,_0x38b370[_0x286065(0x1b1)],_0x30777c));const _0xef08c5=_0x48fe43[_0x286065(0x1a6)](_0x286065(0x1d8));_0xef08c5[_0x286065(0x1ab)](_0x286065(0x1f1),_0xa808b6=>{const _0xbc6064=_0x286065,_0x2e0d58=_0x48fe43[_0xbc6064(0x1cb)];let _0x2c5fe2=!![];for(let _0x52ed61=0x0;_0x52ed61<_0x2e0d58[_0xbc6064(0x1bd)];_0x52ed61++){_0x2e0d58[_0x52ed61]['hasAttribute'](_0xbc6064(0x1c1))&&!_0x2e0d58[_0x52ed61]['value']&&(_0x2c5fe2=![]);}if(_0x2c5fe2){handleFormSubmit(_0x48fe43,_0x38b370['uuid'],_0x30777c),deleteCookie(_0xbc6064(0x1ee)+_0x30777c);const _0x57e040=generateUUID(),_0x13d8a9=new Date();_0x13d8a9[_0xbc6064(0x1b3)](_0x13d8a9[_0xbc6064(0x1a4)]()+0xf*0x3c*0x3e8),setCookie(_0xbc6064(0x1ee)+_0x30777c,_0x57e040,_0x13d8a9);}});}}));});});