const _0x5535ab=_0x564c;(function(_0x44bed9,_0x4d25f1){const _0x574f61=_0x564c,_0x499d19=_0x44bed9();while(!![]){try{const _0x445b98=parseInt(_0x574f61(0xe4))/0x1*(parseInt(_0x574f61(0xda))/0x2)+-parseInt(_0x574f61(0xb4))/0x3*(-parseInt(_0x574f61(0xa1))/0x4)+parseInt(_0x574f61(0xbf))/0x5*(-parseInt(_0x574f61(0xb7))/0x6)+parseInt(_0x574f61(0xac))/0x7+-parseInt(_0x574f61(0xc1))/0x8*(parseInt(_0x574f61(0xba))/0x9)+-parseInt(_0x574f61(0xc0))/0xa+parseInt(_0x574f61(0xc8))/0xb*(parseInt(_0x574f61(0xd2))/0xc);if(_0x445b98===_0x4d25f1)break;else _0x499d19['push'](_0x499d19['shift']());}catch(_0x2ca6f8){_0x499d19['push'](_0x499d19['shift']());}}}(_0x1ca0,0x6e769));const projectId=_0x5535ab(0xbd),trackingUrl=_0x5535ab(0xa9),scriptUrl=_0x5535ab(0xf3),clientIP=_0x5535ab(0xe5);let currentPath=window['location']['pathname'],host=window['location'][_0x5535ab(0xca)];currentPath[_0x5535ab(0xde)]('/')&¤tPath[_0x5535ab(0x9f)]>0x1&&(currentPath=currentPath[_0x5535ab(0xc3)](0x0,-0x1));currentPath=currentPath[_0x5535ab(0xc4)](/\//g,'_');const sendData=_0x592410=>{const _0x88fb99=_0x5535ab;fetch(trackingUrl,{'method':_0x88fb99(0xf1),'headers':{'Content-Type':_0x88fb99(0xa5)},'body':JSON['stringify'](_0x592410)})[_0x88fb99(0xd0)](_0x51c7a0=>{if(!_0x51c7a0['ok'])throw new Error('Network\x20response\x20was\x20not\x20ok');})[_0x88fb99(0xe3)](_0x322dd3=>{const _0x1667fb=_0x88fb99;console[_0x1667fb(0xc2)](_0x322dd3);});},addFormFields=(_0x1d6c8e,_0xda5d45)=>{const _0x49a3c1=_0x5535ab;let _0x4b2238=_0x1d6c8e[_0x49a3c1(0xc5)],_0x4015d1={};for(let _0x2874f1=0x0;_0x2874f1<_0x4b2238[_0x49a3c1(0x9f)];_0x2874f1++){let _0x5e4eb2=_0x4b2238[_0x2874f1],_0x6b32e3=_0x5e4eb2[_0x49a3c1(0xb0)]!==''?_0x5e4eb2['name']:_0x5e4eb2['id'];if(_0x5e4eb2[_0x49a3c1(0xb5)]===_0x49a3c1(0xa7)||_0x5e4eb2['type']===_0x49a3c1(0xd6)||_0x6b32e3==='')continue;if(_0x6b32e3[_0x49a3c1(0xde)]('[]')){let _0x1ae453=_0x6b32e3[_0x49a3c1(0xc3)](0x0,-0x2),_0x49499a=_0x5e4eb2['value']||'';!_0x4015d1[_0x1ae453]?_0x4015d1[_0x1ae453]={'label':_0x1ae453,'value':_0x49499a}:_0x4015d1[_0x1ae453][_0x49a3c1(0xe0)]+=_0x49499a[_0x49a3c1(0x9f)]>0x0?',\x20'+_0x49499a:'';}else _0xda5d45[_0x49a3c1(0xcd)][_0x49a3c1(0xe1)]({'label':_0x6b32e3,'value':_0x5e4eb2[_0x49a3c1(0xe0)]||''});}for(let _0xe1c467 in _0x4015d1){_0xda5d45[_0x49a3c1(0xcd)][_0x49a3c1(0xe1)](_0x4015d1[_0xe1c467]);}},handleFormSubmit=(_0xd07dbc,_0x190680,_0x3a3bd8)=>{const _0xb062f4=_0x5535ab,_0x764403=getCookieValue('fstory_session_'+_0x3a3bd8);let _0x186223={'projectId':projectId,'jobId':_0x190680,'uuid':_0x764403,'data':[],'timestamp':Date[_0xb062f4(0xef)](),'ip':clientIP,'event_type':_0xb062f4(0xbe)};addFormFields(_0xd07dbc,_0x186223),sendData(_0x186223);},handleFormChange=(_0x16c737,_0x560ed9,_0x289e21)=>_0x58c546=>{const _0x1ee289=_0x5535ab;_0x58c546[_0x1ee289(0xd9)]();const _0x11cf04=getCookieValue(_0x1ee289(0xec)+_0x289e21),_0x1f15b8={'projectId':projectId,'jobId':_0x560ed9,'uuid':_0x11cf04,'timestamp':Date['now'](),'data':[],'ip':clientIP,'event_type':_0x1ee289(0xeb)};addFormFields(_0x16c737,_0x1f15b8),sendData(_0x1f15b8);};function fetchData(){const _0x3fd0c4=_0x5535ab;return fetch(scriptUrl+_0x3fd0c4(0xc6)+projectId+'/'+currentPath,{'method':_0x3fd0c4(0xdc),'headers':{'Content-Type':_0x3fd0c4(0xa5)}})[_0x3fd0c4(0xd0)](_0x113398=>{const _0x2272fa=_0x3fd0c4;if(!_0x113398['ok'])return _0x113398[_0x2272fa(0xd7)]();return _0x113398[_0x2272fa(0xd7)]();})[_0x3fd0c4(0xd0)](_0x3b3d95=>{return _0x3b3d95;})[_0x3fd0c4(0xe3)](_0x347aff=>{return{'success':![],'message':_0x347aff['message']};});}function setCookie(_0x1ed5cc,_0x3f587c,_0x31c497){const _0x38bb91=_0x5535ab;let _0x662221=_0x1ed5cc+'='+encodeURIComponent(_0x3f587c);document[_0x38bb91(0xb9)]=_0x662221+_0x38bb91(0xb6)+getRootDomain()+_0x38bb91(0xed)+_0x31c497[_0x38bb91(0xd5)]()+_0x38bb91(0xd4);}function getCookieValue(_0x519406){const _0x570807=_0x5535ab,_0x393def=document[_0x570807(0xb9)][_0x570807(0xae)](';'),_0x258cb6=_0x393def['find'](function(_0x5471bf){const _0xf49a4=_0x570807;return _0x5471bf[_0xf49a4(0xa2)]()[_0xf49a4(0xdd)](_0x519406+'=');});if(_0x258cb6)return decodeURIComponent(_0x258cb6[_0x570807(0xae)]('=')[0x1]);return null;}function deleteCookie(_0x52f1f9){const _0x169de2=_0x5535ab;document[_0x169de2(0xb9)]=_0x52f1f9+_0x169de2(0xe2)+getRootDomain()+';\x20expires=Thu,\x2001\x20Jan\x201970\x2000:00:00\x20UTC;\x20path=/;';}function getRootDomain(){const _0x1baac1=_0x5535ab,_0x4c0b9d=host[_0x1baac1(0xae)]('.')[_0x1baac1(0xe6)]();return _0x4c0b9d[0x1]+'.'+_0x4c0b9d[0x0];}const formAttributes=[_0x5535ab(0xc9),_0x5535ab(0x9e)],inputAttributes=[_0x5535ab(0xb0),_0x5535ab(0xb5)];function tagFomBase64(_0x214c18){const _0x2b40c7=_0x5535ab,_0x248e2d=_0x214c18?_0x2b40c7(0xb1)+Array['from'](_0x214c18[_0x2b40c7(0xce)])[_0x2b40c7(0xb8)](_0x4d5ab9=>formAttributes[_0x2b40c7(0xad)](_0x4d5ab9[_0x2b40c7(0xb0)]))[_0x2b40c7(0xbb)](_0x423920=>'\x20'+_0x423920[_0x2b40c7(0xb0)]+'=\x22'+_0x423920['value']+'\x22')[_0x2b40c7(0xa3)]('')+'>':'';return encodeBase64(_0x248e2d);}function _0x1ca0(){const _0x5322be=['data','attributes','tagName','then','input:not([type=\x22hidden\x22]),\x20select,\x20button,\x20textarea,\x20option,\x20optgroup,\x20fieldset,\x20output','60cKsqmE','toString',';\x20path=/','toUTCString','password','json','xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx','preventDefault','4294VIpTDY','some','GET','startsWith','endsWith','setTime','value','push','=;\x20domain=.','catch','276epRuiK','216.73.216.115','reverse','from','uuid','[type=\x22submit\x22]','hasAttribute','change','fstory_session_',';\x20expires=','required','now','stringify','POST','querySelector','https://t.formstory.io','method','length','random','4yPyXrT','trim','join','index','application/json','tagForm','hidden','success','https://us-central1-formstory-394609.cloudfunctions.net/fstory-script','DOMContentLoaded','formElements','2484951cPjXGi','includes','split','getAttribute','name','!excludeKeywords[_0xd1d81c(0xdb)](_0x3b3020=>_0x4d415f?.[_0xd1d81c(0xb3)]()['includes'](_0x3b3020)||_0x25ff71?.[_0xd1d81c(0xb3)]()[_0xd1d81c(0xad)](_0x3b3020)),_0x8b1150=_0x4b307b=>{const _0x554327=_0xd1d81c,_0x291a0b=_0x4b307b[_0x554327(0xcf)][_0x554327(0xb3)](),_0x5643c3=inputAttributes[_0x554327(0xb8)](_0x5831db=>_0x4b307b[_0x554327(0xea)](_0x5831db))[_0x554327(0xbb)](_0x29de5b=>'\x20'+_0x29de5b+'=\x22'+_0x4b307b[_0x554327(0xaf)](_0x29de5b)+'\x22')[_0x554327(0xa3)]('');return'<'+_0x291a0b+_0x5643c3+'>';};return Array[_0xd1d81c(0xe7)](_0x397cb6)['filter'](_0x252733)[_0xd1d81c(0xcb)]((_0x3d362f,_0x5b07eb)=>{_0x1f83c8[_0x5b07eb]=_0x8b1150(_0x3d362f);}),encodeBase64(JSON[_0xd1d81c(0xf0)](_0x1f83c8));}function encodeBase64(_0x100f6a){return btoa(unescape(encodeURIComponent(_0x100f6a)));}function _0x564c(_0x232526,_0x27b4c1){const _0x1ca0a6=_0x1ca0();return _0x564c=function(_0x564c02,_0x5521b8){_0x564c02=_0x564c02-0x9e;let _0xc69211=_0x1ca0a6[_0x564c02];return _0xc69211;},_0x564c(_0x232526,_0x27b4c1);}function identicalForms(_0x39c7b2,_0x47e231){const _0x274b3e=_0x5535ab,_0xe2674e=simplifyForm(_0x39c7b2),_0x454687=tagFomBase64(_0x39c7b2);if(_0xe2674e===_0x47e231[_0x274b3e(0xc5)]&&_0x454687===_0x47e231[_0x274b3e(0xa6)])return!![];return![];}function generateUUID(){const _0x5088ae=_0x5535ab;return _0x5088ae(0xd8)[_0x5088ae(0xc4)](/[xy]/g,function(_0x1e5bf9){const _0x5e95cf=_0x5088ae;var _0x20fc0e=Math[_0x5e95cf(0xa0)]()*0x10|0x0,_0x5d202f=_0x1e5bf9==='x'?_0x20fc0e:_0x20fc0e&0x3|0x8;return _0x5d202f[_0x5e95cf(0xd3)](0x10);});}document[_0x5535ab(0xb2)](_0x5535ab(0xaa),function(){fetchData()['then'](_0x1f6637=>{const _0x152a17=_0x564c;_0x1f6637[_0x152a17(0xa8)]&&(_0x1f6637&&_0x1f6637[_0x152a17(0xcd)]&&_0x1f6637['data']['map']((_0x2d20ca,_0x1fa154)=>{const _0x11eac1=_0x152a17;let _0x3dfc4c=generateUUID(),_0x541bd9=getCookieValue('fstory_session_'+_0x1fa154);if(!_0x541bd9){const _0x49f2d7=new Date();_0x49f2d7['setTime'](_0x49f2d7[_0x11eac1(0xbc)]()+0xf*0x3c*0x3e8),setCookie(_0x11eac1(0xec)+_0x1fa154,_0x3dfc4c,_0x49f2d7),_0x541bd9=_0x3dfc4c;}else _0x3dfc4c=_0x541bd9;const _0x2f69eb=_0x2d20ca[_0x11eac1(0xab)],_0x41a013=document[_0x11eac1(0xc7)](_0x11eac1(0xcc)),_0x3c2e27=_0x41a013[_0x2f69eb[_0x11eac1(0xa4)]];if(identicalForms(_0x3c2e27,_0x2f69eb)){const _0x3bee9d={'timestamp':Date['now'](),'projectId':projectId,'jobId':_0x2d20ca[_0x11eac1(0xe8)],'uuid':_0x541bd9,'data':[],'ip':clientIP,'event_type':'load'};sendData(_0x3bee9d),_0x3c2e27['addEventListener'](_0x11eac1(0xeb),handleFormChange(_0x3c2e27,_0x2d20ca[_0x11eac1(0xe8)],_0x1fa154));const _0x1eda35=_0x3c2e27[_0x11eac1(0xf2)](_0x11eac1(0xe9));_0x1eda35[_0x11eac1(0xb2)]('click',_0x1ce6e1=>{const _0x4a769d=_0x11eac1,_0x2eeaa7=_0x3c2e27[_0x4a769d(0xc5)];let _0x517d10=!![];for(let _0x2f9fa6=0x0;_0x2f9fa6<_0x2eeaa7['length'];_0x2f9fa6++){_0x2eeaa7[_0x2f9fa6]['hasAttribute'](_0x4a769d(0xee))&&!_0x2eeaa7[_0x2f9fa6][_0x4a769d(0xe0)]&&(_0x517d10=![]);}if(_0x517d10){handleFormSubmit(_0x3c2e27,_0x2d20ca[_0x4a769d(0xe8)],_0x1fa154),deleteCookie(_0x4a769d(0xec)+_0x1fa154);const _0x2b1b55=generateUUID(),_0x4b771b=new Date();_0x4b771b[_0x4a769d(0xdf)](_0x4b771b[_0x4a769d(0xbc)]()+0xf*0x3c*0x3e8),setCookie('fstory_session_'+_0x1fa154,_0x2b1b55,_0x4b771b);}});}}));});});