function _0x24e6(_0x144999,_0x400626){var _0x4e09be=_0x4e09();return _0x24e6=function(_0x24e65c,_0x1020cf){_0x24e65c=_0x24e65c-0xb1;var _0xf72742=_0x4e09be[_0x24e65c];return _0xf72742;},_0x24e6(_0x144999,_0x400626);}(function(_0x442b08,_0x33ba0c){var _0x3ab247=_0x24e6,_0x65c033=_0x442b08();while(!![]){try{var _0x4fd8b1=parseInt(_0x3ab247(0xb2))/0x1+parseInt(_0x3ab247(0xbe))/0x2*(-parseInt(_0x3ab247(0xb7))/0x3)+-parseInt(_0x3ab247(0xbb))/0x4*(-parseInt(_0x3ab247(0xbf))/0x5)+-parseInt(_0x3ab247(0xb4))/0x6+-parseInt(_0x3ab247(0xbd))/0x7*(-parseInt(_0x3ab247(0xb9))/0x8)+-parseInt(_0x3ab247(0xba))/0x9*(-parseInt(_0x3ab247(0xbc))/0xa)+-parseInt(_0x3ab247(0xb1))/0xb;if(_0x4fd8b1===_0x33ba0c)break;else _0x65c033['push'](_0x65c033['shift']());}catch(_0xc22f39){_0x65c033['push'](_0x65c033['shift']());}}}(_0x4e09,0xd759e));export default function (states,defaultState){let currState='',nextState=defaultState;return[(...ctx)=>{var _0x551bbd=_0x24e6,_currState,ref;if(nextState){var _nextState,ref1;(ref1=(_nextState=states[nextState])[_0x551bbd(0xb8)])===null||ref1===void 0x0?void 0x0:ref1['call'](_nextState,currState),currState=nextState,nextState='';}const process=(ref=(_currState=states[currState])[_0x551bbd(0xb5)])===null||ref===void 0x0?void 0x0:ref[_0x551bbd(0xb3)](_currState,...ctx);if(process)nextState=process;if(nextState){var _currState1,ref2;(ref2=(_currState1=states[currState])[_0x551bbd(0xb6)])===null||ref2===void 0x0?void 0x0:ref2[_0x551bbd(0xb3)](_currState1,nextState);}},newState=>{var _0x287dd4=_0x24e6;if(nextState){var _nextState,ref,_nextState1,ref3;(ref=(_nextState=states[nextState])[_0x287dd4(0xb8)])===null||ref===void 0x0?void 0x0:ref['call'](_nextState,currState),(ref3=(_nextState1=states[nextState])[_0x287dd4(0xb6)])===null||ref3===void 0x0?void 0x0:ref3[_0x287dd4(0xb3)](_nextState1,newState);}else{var _currState,ref4;(ref4=(_currState=states[currState])[_0x287dd4(0xb6)])===null||ref4===void 0x0?void 0x0:ref4['call'](_currState,newState);}nextState=newState;}];}function _0x4e09(){var _0x100cd8=['exit','3282rJLuGF','enter','8OfNPlE','117USmHgV','310192vmmSqH','802330oeVrvZ','10244549gRjUcv','1230ylIgtg','5QmCKoM','908512QFFlBF','620569VhcNyD','call','9403038FwJMcB','process'];_0x4e09=function(){return _0x100cd8;};return _0x4e09();}