"use strict";exports.__esModule=!0,exports.default=stopWatchShake;var _invoker=_interopRequireWildcard(require("./invoker"));function _getRequireWildcardCache(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(_getRequireWildcardCache=function(e){return e?r:t})(e)}function _interopRequireWildcard(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=_getRequireWildcardCache(t);if(r&&r.has(e))return r.get(e);var o={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var i=n?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(o,a,i):o[a]=e[a]}return o.default=e,r&&r.set(e,o),o}function stopWatchShakeHandler(e,t){var r=t.resolve,o=t.reject,n=t.containerType,a=t.platformType,i=t.context;if(n){a===_invoker.PLATFORM_TYPE_ENUM.ANDROID?i&&i((function(t){e.onSuccess&&e.onSuccess(),r()}),(function(e){o()}),"taurus.common","stopWatchShake",e):a===_invoker.PLATFORM_TYPE_ENUM.IOS&&i.callHandler("taurus.common.stopWatchShake",Object.assign({},e),(function(e){r()}))}else i&&i.call("stopWatchShake",e,(function(e){_invoker.default.removeContinuesEvent("shake"),_invoker.default.handleBridgeResponse(e,r,o)}))}function stopWatchShake(){return _invoker.default.invoke("stopWatchShake")}_invoker.default.registerAPI("stopWatchShake",{mobile:stopWatchShakeHandler}),stopWatchShake.version={android:"1.6.2",ios:"1.6.2"},module.exports=exports.default,module.exports.default=exports.default;