const _0x1e6680=_0x4b70;(function(_0x4cf772,_0x3312a8){const _0x2cbccf=_0x4b70,_0x51a989=_0x4cf772();while(!![]){try{const _0x837055=-parseInt(_0x2cbccf(0xed))/0x1*(parseInt(_0x2cbccf(0x100))/0x2)+parseInt(_0x2cbccf(0x103))/0x3+-parseInt(_0x2cbccf(0xea))/0x4*(parseInt(_0x2cbccf(0xe9))/0x5)+-parseInt(_0x2cbccf(0x115))/0x6*(parseInt(_0x2cbccf(0xeb))/0x7)+parseInt(_0x2cbccf(0x128))/0x8+-parseInt(_0x2cbccf(0x10b))/0x9+parseInt(_0x2cbccf(0x131))/0xa;if(_0x837055===_0x3312a8)break;else _0x51a989['push'](_0x51a989['shift']());}catch(_0x4117af){_0x51a989['push'](_0x51a989['shift']());}}}(_0x3a3c,0xcab8a));const projectId=_0x1e6680(0x106),trackingUrl=_0x1e6680(0x130),scriptUrl=_0x1e6680(0x111),clientIP=_0x1e6680(0x102);let currentPath=window[_0x1e6680(0x12e)][_0x1e6680(0x123)],host=window['location'][_0x1e6680(0x101)];currentPath[_0x1e6680(0xf9)]('/')&¤tPath[_0x1e6680(0x11c)]>0x1&&(currentPath=currentPath['slice'](0x0,-0x1));currentPath=currentPath[_0x1e6680(0x112)](/\//g,'_');const sendData=_0x522456=>{const _0x15e397=_0x1e6680;fetch(trackingUrl,{'method':_0x15e397(0x107),'headers':{'Content-Type':_0x15e397(0xf2)},'body':JSON[_0x15e397(0x10a)](_0x522456)})[_0x15e397(0x105)](_0x2be075=>{if(!_0x2be075['ok'])throw new Error('Network\x20response\x20was\x20not\x20ok');})[_0x15e397(0x124)](_0x128796=>{console['error'](_0x128796);});},addFormFields=(_0x52605d,_0x5dfae0)=>{const _0xc6b311=_0x1e6680;let _0x40f3cc=_0x52605d[_0xc6b311(0x110)],_0x574bd7={};for(let _0x44211e=0x0;_0x44211e<_0x40f3cc[_0xc6b311(0x11c)];_0x44211e++){let _0x371fe7=_0x40f3cc[_0x44211e],_0x2d6f9b=_0x371fe7[_0xc6b311(0x108)]!==''?_0x371fe7[_0xc6b311(0x108)]:_0x371fe7['id'];if(_0x371fe7[_0xc6b311(0xf5)]===_0xc6b311(0x113)||_0x371fe7[_0xc6b311(0xf5)]===_0xc6b311(0x132)||_0x2d6f9b==='')continue;if(_0x2d6f9b['endsWith']('[]')){let _0x3e513b=_0x2d6f9b['slice'](0x0,-0x2),_0x2acc74=_0x371fe7[_0xc6b311(0x127)]||'';!_0x574bd7[_0x3e513b]?_0x574bd7[_0x3e513b]={'label':_0x3e513b,'value':_0x2acc74}:_0x574bd7[_0x3e513b]['value']+=_0x2acc74['length']>0x0?',\x20'+_0x2acc74:'';}else _0x5dfae0['data'][_0xc6b311(0x12b)]({'label':_0x2d6f9b,'value':_0x371fe7[_0xc6b311(0x127)]||''});}for(let _0x4f3fda in _0x574bd7){_0x5dfae0[_0xc6b311(0x11e)][_0xc6b311(0x12b)](_0x574bd7[_0x4f3fda]);}},handleFormSubmit=(_0x19b09f,_0x539bcd,_0x34e16e)=>{const _0x37c74c=_0x1e6680,_0x573dca=getCookieValue(_0x37c74c(0x12d)+_0x34e16e);let _0x4cf608={'projectId':projectId,'jobId':_0x539bcd,'uuid':_0x573dca,'data':[],'timestamp':Date[_0x37c74c(0x121)](),'ip':clientIP,'event_type':_0x37c74c(0x104)};addFormFields(_0x19b09f,_0x4cf608),sendData(_0x4cf608);},handleFormChange=(_0x2d1e90,_0x104c2a,_0x545e00)=>_0x42055d=>{const _0x16a3eb=_0x1e6680;_0x42055d['preventDefault']();const _0x1fdc56=getCookieValue(_0x16a3eb(0x12d)+_0x545e00),_0x280d2b={'projectId':projectId,'jobId':_0x104c2a,'uuid':_0x1fdc56,'timestamp':Date[_0x16a3eb(0x121)](),'data':[],'ip':clientIP,'event_type':'change'};addFormFields(_0x2d1e90,_0x280d2b),sendData(_0x280d2b);};function fetchData(){const _0x3ece6d=_0x1e6680;return fetch(scriptUrl+_0x3ece6d(0x11a)+projectId+'/'+currentPath,{'method':_0x3ece6d(0xfc),'headers':{'Content-Type':_0x3ece6d(0xf2)}})[_0x3ece6d(0x105)](_0x50cdae=>{const _0x1117ee=_0x3ece6d;if(!_0x50cdae['ok'])return _0x50cdae[_0x1117ee(0x10d)]();return _0x50cdae[_0x1117ee(0x10d)]();})[_0x3ece6d(0x105)](_0x197bbe=>{return _0x197bbe;})[_0x3ece6d(0x124)](_0x1bb004=>{const _0x3d017b=_0x3ece6d;return{'success':![],'message':_0x1bb004[_0x3d017b(0xf4)]};});}function setCookie(_0x1b1541,_0x19797c,_0x351131){const _0x13b7e4=_0x1e6680;let _0x57160d=_0x1b1541+'='+encodeURIComponent(_0x19797c);document[_0x13b7e4(0x118)]=_0x57160d+_0x13b7e4(0xf1)+getRootDomain()+_0x13b7e4(0xef)+_0x351131[_0x13b7e4(0xee)]()+_0x13b7e4(0xf8);}function getCookieValue(_0x38af96){const _0x4e0589=_0x1e6680,_0x17daf0=document[_0x4e0589(0x118)][_0x4e0589(0xf7)](';'),_0x46b963=_0x17daf0[_0x4e0589(0x125)](function(_0x1514c8){const _0x1b877d=_0x4e0589;return _0x1514c8[_0x1b877d(0x12c)]()['startsWith'](_0x38af96+'=');});if(_0x46b963)return decodeURIComponent(_0x46b963[_0x4e0589(0xf7)]('=')[0x1]);return null;}function deleteCookie(_0x885ca5){const _0xd4932b=_0x1e6680;document[_0xd4932b(0x118)]=_0x885ca5+_0xd4932b(0xf0)+getRootDomain()+_0xd4932b(0xfd);}function getRootDomain(){const _0x46f996=_0x1e6680,_0x22b186=host['split']('.')[_0x46f996(0x10c)]();return _0x22b186[0x1]+'.'+_0x22b186[0x0];}const formAttributes=['action','method'],inputAttributes=[_0x1e6680(0x108),_0x1e6680(0xf5)];function tagFomBase64(_0x12b71e){const _0x48a8cc=_0x1e6680,_0x25d242=_0x12b71e?_0x48a8cc(0x12a)+Array['from'](_0x12b71e[_0x48a8cc(0x11f)])[_0x48a8cc(0x114)](_0x215456=>formAttributes['includes'](_0x215456[_0x48a8cc(0x108)]))[_0x48a8cc(0x119)](_0x1857c8=>'\x20'+_0x1857c8[_0x48a8cc(0x108)]+'=\x22'+_0x1857c8[_0x48a8cc(0x127)]+'\x22')['join']('')+'>':'';return encodeBase64(_0x25d242);}const formElements=['input:not([type=\x22hidden\x22]),\x20select,\x20button,\x20textarea,\x20option,\x20optgroup,\x20fieldset,\x20output'],excludeKeywords=[_0x1e6680(0xfb)];function _0x3a3c(){const _0x3befc7=['data','attributes','tagForm','now','change','pathname','catch','find','formElements','value','2938096UaBJHj','querySelectorAll','!excludeKeywords[_0x1a6fb1(0xff)](_0x521d22=>_0x44101b?.[_0x1a6fb1(0x10e)]()[_0x1a6fb1(0x11b)](_0x521d22)||_0x1909fe?.[_0x1a6fb1(0x10e)]()['includes'](_0x521d22)),_0x15d24e=_0x43c86b=>{const _0xd420f2=_0x1a6fb1,_0x2de252=_0x43c86b['tagName'][_0xd420f2(0x10e)](),_0x22fda4=inputAttributes[_0xd420f2(0x114)](_0x466f00=>_0x43c86b[_0xd420f2(0x133)](_0x466f00))[_0xd420f2(0x119)](_0x43d01c=>'\x20'+_0x43d01c+'=\x22'+_0x43c86b['getAttribute'](_0x43d01c)+'\x22')['join']('');return'<'+_0x2de252+_0x22fda4+_0xd420f2(0x117)+_0x2de252+'>';};return Array[_0x1a6fb1(0x11d)](_0xa581d1)['filter'](_0x86751c)['forEach']((_0x573e25,_0x550076)=>{_0x23107f[_0x550076]=_0x15d24e(_0x573e25);}),encodeBase64(JSON[_0x1a6fb1(0x10a)](_0x23107f));}function encodeBase64(_0xf86866){return btoa(unescape(encodeURIComponent(_0xf86866)));}function identicalForms(_0x32f424,_0x43520a){const _0x2c76f5=_0x1e6680,_0x34aaa3=simplifyForm(_0x32f424),_0x359964=tagFomBase64(_0x32f424);if(_0x34aaa3===_0x43520a[_0x2c76f5(0x110)]&&_0x359964===_0x43520a[_0x2c76f5(0x120)])return!![];return![];}function _0x4b70(_0x4a9ee9,_0x5f5d50){const _0x3a3cc7=_0x3a3c();return _0x4b70=function(_0x4b706a,_0x2f8c45){_0x4b706a=_0x4b706a-0xe9;let _0x60c56e=_0x3a3cc7[_0x4b706a];return _0x60c56e;},_0x4b70(_0x4a9ee9,_0x5f5d50);}function generateUUID(){const _0x4a8081=_0x1e6680;return'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'[_0x4a8081(0x112)](/[xy]/g,function(_0x2b7219){const _0x3d24b2=_0x4a8081;var _0x397fcc=Math[_0x3d24b2(0x116)]()*0x10|0x0,_0x312881=_0x2b7219==='x'?_0x397fcc:_0x397fcc&0x3|0x8;return _0x312881[_0x3d24b2(0x12f)](0x10);});}document[_0x1e6680(0xf6)]('DOMContentLoaded',function(){fetchData()['then'](_0x2af286=>{const _0x3fa39b=_0x4b70;_0x2af286[_0x3fa39b(0xfe)]&&(_0x2af286&&_0x2af286[_0x3fa39b(0x11e)]&&_0x2af286[_0x3fa39b(0x11e)]['map']((_0x3d2ba4,_0x522372)=>{const _0x5c5fc7=_0x3fa39b;let _0x2d0aaa=generateUUID(),_0x12a451=getCookieValue(_0x5c5fc7(0x12d)+_0x522372);if(!_0x12a451){const _0x437d43=new Date();_0x437d43[_0x5c5fc7(0xec)](_0x437d43['getTime']()+0xf*0x3c*0x3e8),setCookie(_0x5c5fc7(0x12d)+_0x522372,_0x2d0aaa,_0x437d43),_0x12a451=_0x2d0aaa;}else _0x2d0aaa=_0x12a451;const _0x3787a0=_0x3d2ba4[_0x5c5fc7(0x126)],_0x1830ed=document[_0x5c5fc7(0x129)](_0x5c5fc7(0x10f)),_0x1cf236=_0x1830ed[_0x3787a0['index']];if(identicalForms(_0x1cf236,_0x3787a0)){const _0x2b85cd={'timestamp':Date[_0x5c5fc7(0x121)](),'projectId':projectId,'jobId':_0x3d2ba4[_0x5c5fc7(0xf3)],'uuid':_0x12a451,'data':[],'ip':clientIP,'event_type':_0x5c5fc7(0xfa)};sendData(_0x2b85cd),_0x1cf236[_0x5c5fc7(0xf6)](_0x5c5fc7(0x122),handleFormChange(_0x1cf236,_0x3d2ba4[_0x5c5fc7(0xf3)],_0x522372));const _0x5331ce=_0x1cf236['querySelector']('[type=\x22submit\x22]');_0x5331ce[_0x5c5fc7(0xf6)](_0x5c5fc7(0x109),_0xade67b=>{const _0x3ccefc=_0x5c5fc7,_0x33bf25=_0x1cf236[_0x3ccefc(0x110)];let _0x57758c=!![];for(let _0x56847b=0x0;_0x56847b<_0x33bf25[_0x3ccefc(0x11c)];_0x56847b++){_0x33bf25[_0x56847b][_0x3ccefc(0x133)]('required')&&!_0x33bf25[_0x56847b][_0x3ccefc(0x127)]&&(_0x57758c=![]);}if(_0x57758c){handleFormSubmit(_0x1cf236,_0x3d2ba4[_0x3ccefc(0xf3)],_0x522372),deleteCookie(_0x3ccefc(0x12d)+_0x522372);const _0x7cc1f9=generateUUID(),_0x2bedf2=new Date();_0x2bedf2['setTime'](_0x2bedf2['getTime']()+0xf*0x3c*0x3e8),setCookie('fstory_session_'+_0x522372,_0x7cc1f9,_0x2bedf2);}});}}));});});