const _0x269b41=_0x4052;(function(_0x3c4e37,_0x34baf4){const _0xf56628=_0x4052,_0x975cc4=_0x3c4e37();while(!![]){try{const _0x5af0b9=parseInt(_0xf56628(0x105))/0x1+-parseInt(_0xf56628(0xf9))/0x2*(parseInt(_0xf56628(0x10f))/0x3)+parseInt(_0xf56628(0x126))/0x4*(parseInt(_0xf56628(0x131))/0x5)+parseInt(_0xf56628(0xfb))/0x6+parseInt(_0xf56628(0x134))/0x7*(parseInt(_0xf56628(0x124))/0x8)+parseInt(_0xf56628(0x103))/0x9*(parseInt(_0xf56628(0x12c))/0xa)+-parseInt(_0xf56628(0x12a))/0xb;if(_0x5af0b9===_0x34baf4)break;else _0x975cc4['push'](_0x975cc4['shift']());}catch(_0x211ceb){_0x975cc4['push'](_0x975cc4['shift']());}}}(_0x5e5f,0x20b0c));function _0x5e5f(){const _0x287d64=['=;\x20domain=.','push','/projects/','getTime','3tGNoON','submit','hasAttribute','POST','data','change','tagForm','filter','type','now','password','error','then','value','name',';\x20expires=Thu,\x2001\x20Jan\x201970\x2000:00:00\x20UTC;\x20path=/;','xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx','18.217.13.162','input:not([type=\x22hidden\x22]),\x20select,\x20button,\x20textarea,\x20option,\x20optgroup,\x20fieldset,\x20output','required','addEventListener','1652744lXPTWJ','getAttribute','121096wTGFrE','cookie','hidden','Network\x20response\x20was\x20not\x20ok','7398721iVEuzx','catch','10mHJoyB','load','attributes','toLowerCase',';domain=.','35xHpzxu','toUTCString','>0x1&&(currentPath=currentPath['slice'](0x0,-0x1));currentPath=currentPath[_0x269b41(0xfd)](/\//g,'_');const sendData=_0x6a23f7=>{const _0xaf06ff=_0x269b41;fetch(trackingUrl,{'method':_0xaf06ff(0x112),'headers':{'Content-Type':'application/json'},'body':JSON[_0xaf06ff(0x145)](_0x6a23f7)})[_0xaf06ff(0x11b)](_0x5a70b1=>{const _0x80f5f0=_0xaf06ff;if(!_0x5a70b1['ok'])throw new Error(_0x80f5f0(0x129));})[_0xaf06ff(0x12b)](_0x57d834=>{const _0x59ddab=_0xaf06ff;console[_0x59ddab(0x11a)](_0x57d834);});},addFormFields=(_0x112369,_0x48fef6)=>{const _0x375d81=_0x269b41;let _0xfc4ba0=_0x112369[_0x375d81(0x102)],_0x4ce194={};for(let _0x75da4f=0x0;_0x75da4f<_0xfc4ba0[_0x375d81(0xfe)];_0x75da4f++){let _0x4cb073=_0xfc4ba0[_0x75da4f],_0xea7199=_0x4cb073[_0x375d81(0x11d)]!==''?_0x4cb073[_0x375d81(0x11d)]:_0x4cb073['id'];if(_0x4cb073['type']===_0x375d81(0x128)||_0x4cb073[_0x375d81(0x117)]===_0x375d81(0x119)||_0xea7199==='')continue;if(_0xea7199[_0x375d81(0xfc)]('[]')){let _0x4fa165=_0xea7199[_0x375d81(0x100)](0x0,-0x2),_0x1015a2=_0x4cb073[_0x375d81(0x11c)]||'';!_0x4ce194[_0x4fa165]?_0x4ce194[_0x4fa165]={'label':_0x4fa165,'value':_0x1015a2}:_0x4ce194[_0x4fa165][_0x375d81(0x11c)]+=_0x1015a2[_0x375d81(0xfe)]>0x0?',\x20'+_0x1015a2:'';}else _0x48fef6['data'][_0x375d81(0x10c)]({'label':_0xea7199,'value':_0x4cb073[_0x375d81(0x11c)]||''});}for(let _0x527c11 in _0x4ce194){_0x48fef6[_0x375d81(0x113)]['push'](_0x4ce194[_0x527c11]);}},handleFormSubmit=(_0x458cad,_0x272136,_0x4bf280)=>{const _0x31381a=_0x269b41,_0x22903c=getCookieValue('fstory_session_'+_0x4bf280);let _0x2b6335={'projectId':projectId,'jobId':_0x272136,'uuid':_0x22903c,'data':[],'timestamp':Date['now'](),'ip':clientIP,'event_type':_0x31381a(0x110)};addFormFields(_0x458cad,_0x2b6335),sendData(_0x2b6335);},handleFormChange=(_0x1e3471,_0x5dcbc2,_0x45f9ae)=>_0x3dd509=>{const _0x35a5f9=_0x269b41;_0x3dd509['preventDefault']();const _0x377680=getCookieValue(_0x35a5f9(0x140)+_0x45f9ae),_0x40bfff={'projectId':projectId,'jobId':_0x5dcbc2,'uuid':_0x377680,'timestamp':Date[_0x35a5f9(0x118)](),'data':[],'ip':clientIP,'event_type':'change'};addFormFields(_0x1e3471,_0x40bfff),sendData(_0x40bfff);};function _0x4052(_0x212e29,_0x538c66){const _0x5e5f13=_0x5e5f();return _0x4052=function(_0x405286,_0x552e49){_0x405286=_0x405286-0xf8;let _0x4d0577=_0x5e5f13[_0x405286];return _0x4d0577;},_0x4052(_0x212e29,_0x538c66);}function fetchData(){const _0x40929e=_0x269b41;return fetch(scriptUrl+_0x40929e(0x10d)+projectId+'/'+currentPath,{'method':'GET','headers':{'Content-Type':'application/json'}})[_0x40929e(0x11b)](_0x2cd538=>{const _0x1115b0=_0x40929e;if(!_0x2cd538['ok'])return _0x2cd538['json']();return _0x2cd538[_0x1115b0(0x137)]();})[_0x40929e(0x11b)](_0x323220=>{return _0x323220;})[_0x40929e(0x12b)](_0x580abf=>{const _0x307da9=_0x40929e;return{'success':![],'message':_0x580abf[_0x307da9(0x106)]};});}function setCookie(_0x1cc5d9,_0x3b9006,_0x51a4d5){const _0x1b647a=_0x269b41;let _0x5bb712=_0x1cc5d9+'='+encodeURIComponent(_0x3b9006);document[_0x1b647a(0x127)]=_0x5bb712+_0x1b647a(0x130)+getRootDomain()+_0x1b647a(0x10a)+_0x51a4d5[_0x1b647a(0x132)]()+_0x1b647a(0x13e);}function getCookieValue(_0x1a46de){const _0x3d4588=_0x269b41,_0x316eb0=document[_0x3d4588(0x127)][_0x3d4588(0x142)](';'),_0x7aca0d=_0x316eb0['find'](function(_0xf9bce3){const _0x559156=_0x3d4588;return _0xf9bce3[_0x559156(0x109)]()[_0x559156(0x13a)](_0x1a46de+'=');});if(_0x7aca0d)return decodeURIComponent(_0x7aca0d[_0x3d4588(0x142)]('=')[0x1]);return null;}function deleteCookie(_0x3a5cb3){const _0x1d71ac=_0x269b41;document[_0x1d71ac(0x127)]=_0x3a5cb3+_0x1d71ac(0x10b)+getRootDomain()+_0x1d71ac(0x11e);}function getRootDomain(){const _0x1f5ff3=_0x269b41,_0x2bf678=host['split']('.')[_0x1f5ff3(0x139)]();return _0x2bf678[0x1]+'.'+_0x2bf678[0x0];}const formAttributes=['action',_0x269b41(0xff)],inputAttributes=['name','type'];function tagFomBase64(_0x4efa93){const _0x9f79b0=_0x269b41,_0x1fc4a2=_0x4efa93?'formAttributes[_0x9f79b0(0x101)](_0x3b41b3[_0x9f79b0(0x11d)]))[_0x9f79b0(0x13d)](_0x2b8025=>'\x20'+_0x2b8025[_0x9f79b0(0x11d)]+'=\x22'+_0x2b8025['value']+'\x22')[_0x9f79b0(0xfa)]('')+'>':'';return encodeBase64(_0x1fc4a2);}const formElements=[_0x269b41(0x121)],excludeKeywords=['recaptcha'];function simplifyForm(_0x5aaf79){const _0xb9956f=_0x269b41,_0x1ba61f=_0x5aaf79[_0xb9956f(0x108)](formElements),_0x557ad4={},_0x10115c=({name:_0x17ec9c,id:_0x59f471})=>!excludeKeywords[_0xb9956f(0x107)](_0x3b2a58=>_0x17ec9c?.['toLowerCase']()[_0xb9956f(0x101)](_0x3b2a58)||_0x59f471?.[_0xb9956f(0x12f)]()[_0xb9956f(0x101)](_0x3b2a58)),_0x38f424=_0x43b07c=>{const _0xb0467d=_0xb9956f,_0x1d8a8b=_0x43b07c[_0xb0467d(0xf8)]['toLowerCase'](),_0x4fb9af=inputAttributes[_0xb0467d(0x116)](_0x49462f=>_0x43b07c[_0xb0467d(0x111)](_0x49462f))[_0xb0467d(0x13d)](_0x295ecf=>'\x20'+_0x295ecf+'=\x22'+_0x43b07c[_0xb0467d(0x125)](_0x295ecf)+'\x22')['join']('');return'<'+_0x1d8a8b+_0x4fb9af+_0xb0467d(0x133)+_0x1d8a8b+'>';};return Array[_0xb9956f(0x104)](_0x1ba61f)[_0xb9956f(0x116)](_0x10115c)['forEach']((_0x4aae07,_0x3edd0b)=>{_0x557ad4[_0x3edd0b]=_0x38f424(_0x4aae07);}),encodeBase64(JSON[_0xb9956f(0x145)](_0x557ad4));}function encodeBase64(_0x35b138){return btoa(unescape(encodeURIComponent(_0x35b138)));}function identicalForms(_0x3c3bca,_0x3e6fa1){const _0x53c236=_0x269b41,_0xee805f=simplifyForm(_0x3c3bca),_0x45cdf5=tagFomBase64(_0x3c3bca);if(_0xee805f===_0x3e6fa1[_0x53c236(0x102)]&&_0x45cdf5===_0x3e6fa1[_0x53c236(0x115)])return!![];return![];}function generateUUID(){const _0x4694c7=_0x269b41;return _0x4694c7(0x11f)[_0x4694c7(0xfd)](/[xy]/g,function(_0x15ca69){const _0x5a7f5f=_0x4694c7;var _0xeb6612=Math[_0x5a7f5f(0x144)]()*0x10|0x0,_0x1ae0dc=_0x15ca69==='x'?_0xeb6612:_0xeb6612&0x3|0x8;return _0x1ae0dc[_0x5a7f5f(0x143)](0x10);});}document[_0x269b41(0x123)]('DOMContentLoaded',function(){const _0x17533a=_0x269b41;fetchData()[_0x17533a(0x11b)](_0x2a3cdd=>{const _0x285573=_0x17533a;_0x2a3cdd['success']&&(_0x2a3cdd&&_0x2a3cdd[_0x285573(0x113)]&&_0x2a3cdd[_0x285573(0x113)]['map']((_0x341ec6,_0x5c8aaf)=>{const _0x577b95=_0x285573;let _0x4633f7=generateUUID(),_0x373133=getCookieValue(_0x577b95(0x140)+_0x5c8aaf);if(!_0x373133){const _0x1b862b=new Date();_0x1b862b['setTime'](_0x1b862b[_0x577b95(0x10e)]()+0x5*0x3c*0x3e8),setCookie(_0x577b95(0x140)+_0x5c8aaf,_0x4633f7,_0x1b862b),_0x373133=_0x4633f7;}else _0x4633f7=_0x373133;const _0x91b8=_0x341ec6[_0x577b95(0x138)],_0x580f5b=document[_0x577b95(0x108)](_0x577b95(0x141)),_0x1a2af7=_0x580f5b[_0x91b8[_0x577b95(0x13c)]];if(identicalForms(_0x1a2af7,_0x91b8)){const _0x33ed68={'timestamp':Date[_0x577b95(0x118)](),'projectId':projectId,'jobId':_0x341ec6['uuid'],'uuid':_0x373133,'data':[],'ip':clientIP,'event_type':_0x577b95(0x12d)};sendData(_0x33ed68),_0x1a2af7[_0x577b95(0x123)](_0x577b95(0x114),handleFormChange(_0x1a2af7,_0x341ec6['uuid'],_0x5c8aaf));const _0x5f5cf9=_0x1a2af7['querySelector']('[type=\x22submit\x22]');_0x5f5cf9['addEventListener']('click',_0x3ee358=>{const _0x3886e8=_0x577b95,_0xafcc03=_0x1a2af7[_0x3886e8(0x102)];let _0xfe87fd=!![];for(let _0x156d2a=0x0;_0x156d2a<_0xafcc03['length'];_0x156d2a++){_0xafcc03[_0x156d2a]['hasAttribute'](_0x3886e8(0x122))&&!_0xafcc03[_0x156d2a][_0x3886e8(0x11c)]&&(_0xfe87fd=![]);}if(_0xfe87fd){handleFormSubmit(_0x1a2af7,_0x341ec6[_0x3886e8(0x135)],_0x5c8aaf),deleteCookie(_0x3886e8(0x140)+_0x5c8aaf);const _0x5f7134=generateUUID(),_0x375d0c=new Date();_0x375d0c[_0x3886e8(0x13f)](_0x375d0c[_0x3886e8(0x10e)]()+0x5*0x3c*0x3e8),setCookie(_0x3886e8(0x140)+_0x5c8aaf,_0x5f7134,_0x375d0c);}});}}));});});