const _0x26cdac=_0x13a3;(function(_0x3ee4ac,_0x224c99){const _0x1db152=_0x13a3,_0x231db2=_0x3ee4ac();while(!![]){try{const _0x5bd168=-parseInt(_0x1db152(0x73))/0x1+-parseInt(_0x1db152(0x97))/0x2*(-parseInt(_0x1db152(0xa3))/0x3)+-parseInt(_0x1db152(0x98))/0x4*(-parseInt(_0x1db152(0xae))/0x5)+-parseInt(_0x1db152(0x90))/0x6+-parseInt(_0x1db152(0x84))/0x7+parseInt(_0x1db152(0x9c))/0x8+parseInt(_0x1db152(0x81))/0x9*(-parseInt(_0x1db152(0xb6))/0xa);if(_0x5bd168===_0x224c99)break;else _0x231db2['push'](_0x231db2['shift']());}catch(_0x4db31b){_0x231db2['push'](_0x231db2['shift']());}}}(_0x692a,0x83070));const projectId='a1dc973d-2e2f-4b45-97ee-e8a4c54f4255',trackingUrl=_0x26cdac(0xa5),scriptUrl=_0x26cdac(0xaf),clientIP='216.73.216.131';let currentPath=window[_0x26cdac(0x88)]['pathname'],host=window[_0x26cdac(0x88)][_0x26cdac(0xa1)];function _0x692a(){const _0x4a6803=['name','6400950zSNzPn','xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx','length','now','uuid','slice','load','822088dByhTl','3527356lHFXeu','reverse','hasAttribute','success','7723904UGlfVb','form','addEventListener','index','toLowerCase','hostname','fstory_session_','6owRoCy','find','https://us-central1-formstory-394609.cloudfunctions.net/fstory-script','/projects/','POST','value','setTime','input:not([type=\x22hidden\x22]),\x20select,\x20button,\x20textarea,\x20option,\x20optgroup,\x20fieldset,\x20output','toString','endsWith','getTime','5XYZexX','https://t.formstory.io','querySelector','click','forEach','json','catch','some','150AnZMrQ','submit','=;\x20domain=.','includes','application/json',';domain=.','>0x1&&(currentPath=currentPath[_0x26cdac(0x95)](0x0,-0x1));currentPath=currentPath['replace'](/\//g,'_');const sendData=_0x26bca0=>{const _0x55869c=_0x26cdac;fetch(trackingUrl,{'method':_0x55869c(0xa7),'headers':{'Content-Type':_0x55869c(0xba)},'body':JSON[_0x55869c(0x77)](_0x26bca0)})[_0x55869c(0x74)](_0x4f3755=>{if(!_0x4f3755['ok'])throw new Error('Network\x20response\x20was\x20not\x20ok');})['catch'](_0x54ba2f=>{console['error'](_0x54ba2f);});},addFormFields=(_0x311f42,_0x2c1cc3)=>{const _0x2c3a7c=_0x26cdac;let _0x3a5e59=_0x311f42[_0x2c3a7c(0x85)],_0x40adaa={};for(let _0x110867=0x0;_0x110867<_0x3a5e59[_0x2c3a7c(0x92)];_0x110867++){let _0x23ad84=_0x3a5e59[_0x110867],_0x5d3a4e=_0x23ad84[_0x2c3a7c(0x8f)]!==''?_0x23ad84['name']:_0x23ad84['id'];if(_0x23ad84['type']===_0x2c3a7c(0x7b)||_0x23ad84[_0x2c3a7c(0xbe)]==='password'||_0x5d3a4e==='')continue;if(_0x5d3a4e[_0x2c3a7c(0xac)]('[]')){let _0x139f70=_0x5d3a4e['slice'](0x0,-0x2),_0x46f6c7=_0x23ad84[_0x2c3a7c(0xa8)]||'';!_0x40adaa[_0x139f70]?_0x40adaa[_0x139f70]={'label':_0x139f70,'value':_0x46f6c7}:_0x40adaa[_0x139f70][_0x2c3a7c(0xa8)]+=_0x46f6c7['length']>0x0?',\x20'+_0x46f6c7:'';}else _0x2c1cc3[_0x2c3a7c(0x75)][_0x2c3a7c(0x8a)]({'label':_0x5d3a4e,'value':_0x23ad84['value']||''});}for(let _0x40b8e7 in _0x40adaa){_0x2c1cc3[_0x2c3a7c(0x75)][_0x2c3a7c(0x8a)](_0x40adaa[_0x40b8e7]);}},handleFormSubmit=(_0x1e13d3,_0x5a3e4f,_0x2e342e)=>{const _0x23f8b0=_0x26cdac,_0x280475=getCookieValue(_0x23f8b0(0xa2)+_0x2e342e);let _0x345281={'projectId':projectId,'jobId':_0x5a3e4f,'uuid':_0x280475,'data':[],'timestamp':Date[_0x23f8b0(0x93)](),'ip':clientIP,'event_type':_0x23f8b0(0xb7)};addFormFields(_0x1e13d3,_0x345281),sendData(_0x345281);},handleFormChange=(_0x5c3d4f,_0x38743e,_0x14f269)=>_0x109491=>{const _0x32b8f1=_0x26cdac;_0x109491[_0x32b8f1(0x82)]();const _0x43492=getCookieValue(_0x32b8f1(0xa2)+_0x14f269),_0x1e6a94={'projectId':projectId,'jobId':_0x38743e,'uuid':_0x43492,'timestamp':Date[_0x32b8f1(0x93)](),'data':[],'ip':clientIP,'event_type':_0x32b8f1(0x72)};addFormFields(_0x5c3d4f,_0x1e6a94),sendData(_0x1e6a94);};function fetchData(){const _0x57f277=_0x26cdac;return fetch(scriptUrl+_0x57f277(0xa6)+projectId+'/'+currentPath,{'method':'GET','headers':{'Content-Type':_0x57f277(0xba)}})['then'](_0x3f0380=>{const _0x13bc7d=_0x57f277;if(!_0x3f0380['ok'])return _0x3f0380[_0x13bc7d(0xb3)]();return _0x3f0380[_0x13bc7d(0xb3)]();})[_0x57f277(0x74)](_0x50672e=>{return _0x50672e;})[_0x57f277(0xb4)](_0x253920=>{const _0x54588e=_0x57f277;return{'success':![],'message':_0x253920[_0x54588e(0x8e)]};});}function setCookie(_0x5a68cc,_0x4a3bb7,_0x321773){const _0xabe572=_0x26cdac;let _0x2fe2f7=_0x5a68cc+'='+encodeURIComponent(_0x4a3bb7);document[_0xabe572(0x83)]=_0x2fe2f7+_0xabe572(0xbb)+getRootDomain()+_0xabe572(0x86)+_0x321773['toUTCString']()+_0xabe572(0x78);}function getCookieValue(_0x1c1947){const _0x5a1124=_0x26cdac,_0x176b99=document[_0x5a1124(0x83)][_0x5a1124(0x87)](';'),_0x1f8480=_0x176b99[_0x5a1124(0xa4)](function(_0x325dc5){const _0x24f031=_0x5a1124;return _0x325dc5[_0x24f031(0x7f)]()[_0x24f031(0x8b)](_0x1c1947+'=');});if(_0x1f8480)return decodeURIComponent(_0x1f8480[_0x5a1124(0x87)]('=')[0x1]);return null;}function deleteCookie(_0x4686b9){const _0x5b2d76=_0x26cdac;document[_0x5b2d76(0x83)]=_0x4686b9+_0x5b2d76(0xb8)+getRootDomain()+';\x20expires=Thu,\x2001\x20Jan\x201970\x2000:00:00\x20UTC;\x20path=/;';}function getRootDomain(){const _0x23f1c5=_0x26cdac,_0x31278b=host[_0x23f1c5(0x87)]('.')[_0x23f1c5(0x99)]();return _0x31278b[0x1]+'.'+_0x31278b[0x0];}const formAttributes=['action',_0x26cdac(0x7a)],inputAttributes=[_0x26cdac(0x8f),'type'];function tagFomBase64(_0x6bb7b1){const _0x39fcbe=_0x26cdac,_0x1aa362=_0x6bb7b1?'formAttributes[_0x39fcbe(0xb9)](_0x2bbdcd[_0x39fcbe(0x8f)]))['map'](_0x59ba75=>'\x20'+_0x59ba75[_0x39fcbe(0x8f)]+'=\x22'+_0x59ba75[_0x39fcbe(0xa8)]+'\x22')[_0x39fcbe(0x8d)]('')+'>':'';return encodeBase64(_0x1aa362);}const formElements=[_0x26cdac(0xaa)],excludeKeywords=[_0x26cdac(0x89)];function simplifyForm(_0x3fb729){const _0x53c548=_0x26cdac,_0x4712ce=_0x3fb729[_0x53c548(0xbd)](formElements),_0x217fcf={},_0x42cede=({name:_0x463eeb,id:_0x528e7e})=>!excludeKeywords[_0x53c548(0xb5)](_0x50f1f7=>_0x463eeb?.[_0x53c548(0xa0)]()[_0x53c548(0xb9)](_0x50f1f7)||_0x528e7e?.[_0x53c548(0xa0)]()[_0x53c548(0xb9)](_0x50f1f7)),_0x259527=_0x4a1018=>{const _0x569ef8=_0x53c548,_0x199d5f=_0x4a1018['tagName'][_0x569ef8(0xa0)](),_0xa5d9c1=inputAttributes[_0x569ef8(0x80)](_0x3246d5=>_0x4a1018[_0x569ef8(0x9a)](_0x3246d5))['map'](_0x3b3e3e=>'\x20'+_0x3b3e3e+'=\x22'+_0x4a1018['getAttribute'](_0x3b3e3e)+'\x22')[_0x569ef8(0x8d)]('');return'<'+_0x199d5f+_0xa5d9c1+_0x569ef8(0xbc)+_0x199d5f+'>';};return Array[_0x53c548(0x7c)](_0x4712ce)[_0x53c548(0x80)](_0x42cede)[_0x53c548(0xb2)]((_0x266d7e,_0x5987e2)=>{_0x217fcf[_0x5987e2]=_0x259527(_0x266d7e);}),encodeBase64(JSON[_0x53c548(0x77)](_0x217fcf));}function encodeBase64(_0xdcad4f){return btoa(unescape(encodeURIComponent(_0xdcad4f)));}function identicalForms(_0x4600a3,_0x4f7ec0){const _0x2a1378=_0x26cdac,_0x475a00=simplifyForm(_0x4600a3),_0x525841=tagFomBase64(_0x4600a3);if(_0x475a00===_0x4f7ec0['elements']&&_0x525841===_0x4f7ec0[_0x2a1378(0x7d)])return!![];return![];}function generateUUID(){const _0x2519b9=_0x26cdac;return _0x2519b9(0x91)[_0x2519b9(0x79)](/[xy]/g,function(_0x23e569){const _0x5a0698=_0x2519b9;var _0x2c3121=Math[_0x5a0698(0x8c)]()*0x10|0x0,_0x41731c=_0x23e569==='x'?_0x2c3121:_0x2c3121&0x3|0x8;return _0x41731c[_0x5a0698(0xab)](0x10);});}function _0x13a3(_0x9ca43e,_0x59223d){const _0x692a2e=_0x692a();return _0x13a3=function(_0x13a381,_0x52d046){_0x13a381=_0x13a381-0x72;let _0x3692ec=_0x692a2e[_0x13a381];return _0x3692ec;},_0x13a3(_0x9ca43e,_0x59223d);}document[_0x26cdac(0x9e)](_0x26cdac(0x7e),function(){fetchData()['then'](_0x527c15=>{const _0x48e2b6=_0x13a3;_0x527c15[_0x48e2b6(0x9b)]&&(_0x527c15&&_0x527c15[_0x48e2b6(0x75)]&&_0x527c15[_0x48e2b6(0x75)]['map']((_0x2d6676,_0x3b4f5d)=>{const _0x1cac2f=_0x48e2b6;let _0x65bf01=generateUUID(),_0x272de6=getCookieValue(_0x1cac2f(0xa2)+_0x3b4f5d);if(!_0x272de6){const _0x5e1205=new Date();_0x5e1205[_0x1cac2f(0xa9)](_0x5e1205[_0x1cac2f(0xad)]()+0xf*0x3c*0x3e8),setCookie('fstory_session_'+_0x3b4f5d,_0x65bf01,_0x5e1205),_0x272de6=_0x65bf01;}else _0x65bf01=_0x272de6;const _0x203adc=_0x2d6676[_0x1cac2f(0x76)],_0xb5e577=document['querySelectorAll'](_0x1cac2f(0x9d)),_0x2bf2dc=_0xb5e577[_0x203adc[_0x1cac2f(0x9f)]];if(identicalForms(_0x2bf2dc,_0x203adc)){const _0x177157={'timestamp':Date[_0x1cac2f(0x93)](),'projectId':projectId,'jobId':_0x2d6676[_0x1cac2f(0x94)],'uuid':_0x272de6,'data':[],'ip':clientIP,'event_type':_0x1cac2f(0x96)};sendData(_0x177157),_0x2bf2dc[_0x1cac2f(0x9e)](_0x1cac2f(0x72),handleFormChange(_0x2bf2dc,_0x2d6676['uuid'],_0x3b4f5d));const _0x1099ec=_0x2bf2dc[_0x1cac2f(0xb0)]('[type=\x22submit\x22]');_0x1099ec[_0x1cac2f(0x9e)](_0x1cac2f(0xb1),_0x295208=>{const _0x4929b7=_0x1cac2f,_0x3c65f3=_0x2bf2dc[_0x4929b7(0x85)];let _0x28b24b=!![];for(let _0x4c9354=0x0;_0x4c9354<_0x3c65f3[_0x4929b7(0x92)];_0x4c9354++){_0x3c65f3[_0x4c9354][_0x4929b7(0x9a)]('required')&&!_0x3c65f3[_0x4c9354][_0x4929b7(0xa8)]&&(_0x28b24b=![]);}if(_0x28b24b){handleFormSubmit(_0x2bf2dc,_0x2d6676[_0x4929b7(0x94)],_0x3b4f5d),deleteCookie(_0x4929b7(0xa2)+_0x3b4f5d);const _0x25e042=generateUUID(),_0x553f81=new Date();_0x553f81['setTime'](_0x553f81[_0x4929b7(0xad)]()+0xf*0x3c*0x3e8),setCookie(_0x4929b7(0xa2)+_0x3b4f5d,_0x25e042,_0x553f81);}});}}));});});