{"dependencies":[{"name":"@babel/runtime/helpers/objectWithoutProperties","data":{"asyncType":null,"isESMImport":false,"locs":[],"key":"fnQVLibs90KHiJ7y48fLgPWzDS0=","exportNames":["*"],"imports":1}},{"name":"./NativeActionSheetManager","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":14,"column":0},"end":{"line":14,"column":63}}],"key":"8iBtwA0xN4HnhPjw8oRwDgAQcyY=","exportNames":["*"],"imports":1}},{"name":"../StyleSheet/processColor","data":{"asyncType":null,"isESMImport":false,"locs":[{"start":{"line":16,"column":21},"end":{"line":16,"column":58}}],"key":"I0Lk++/6Upr1uZbth/i3RrMPl94=","exportNames":["*"],"imports":1}},{"name":"invariant","data":{"asyncType":null,"isESMImport":false,"locs":[{"start":{"line":17,"column":18},"end":{"line":17,"column":38}}],"key":"oQpL0Es3H146KnQH9ygFeHrzVP4=","exportNames":["*"],"imports":1}}],"output":[{"data":{"code":"__d(function (global, require, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {\n \"use strict\";\n\n var _excluded = [\"tintColor\", \"cancelButtonTintColor\", \"disabledButtonTintColor\", \"destructiveButtonIndex\"];\n Object.defineProperty(exports, '__esModule', {\n value: true\n });\n function _interopDefault(e) {\n return e && e.__esModule ? e : {\n default: e\n };\n }\n Object.defineProperty(exports, \"default\", {\n enumerable: true,\n get: function () {\n return _default;\n }\n });\n var _babelRuntimeHelpersObjectWithoutProperties = require(_dependencyMap[0], \"@babel/runtime/helpers/objectWithoutProperties\");\n var _objectWithoutProperties = _interopDefault(_babelRuntimeHelpersObjectWithoutProperties);\n var _NativeActionSheetManager = require(_dependencyMap[1], \"./NativeActionSheetManager\");\n var RCTActionSheetManager = _interopDefault(_NativeActionSheetManager);\n var processColor = require(_dependencyMap[2], \"../StyleSheet/processColor\").default;\n var invariant = require(_dependencyMap[3], \"invariant\");\n var ActionSheetIOS = {\n showActionSheetWithOptions: function showActionSheetWithOptions(options, callback) {\n invariant(typeof options === 'object' && options !== null, 'Options must be a valid object');\n invariant(typeof callback === 'function', 'Must provide a valid callback');\n invariant(RCTActionSheetManager.default, \"ActionSheetManager doesn't exist\");\n var tintColor = options.tintColor,\n cancelButtonTintColor = options.cancelButtonTintColor,\n disabledButtonTintColor = options.disabledButtonTintColor,\n destructiveButtonIndex = options.destructiveButtonIndex,\n remainingOptions = (0, _objectWithoutProperties.default)(options, _excluded);\n var destructiveButtonIndices = null;\n if (Array.isArray(destructiveButtonIndex)) {\n destructiveButtonIndices = destructiveButtonIndex;\n } else if (typeof destructiveButtonIndex === 'number') {\n destructiveButtonIndices = [destructiveButtonIndex];\n }\n var processedTintColor = processColor(tintColor);\n var processedCancelButtonTintColor = processColor(cancelButtonTintColor);\n var processedDisabledButtonTintColor = processColor(disabledButtonTintColor);\n invariant(processedTintColor == null || typeof processedTintColor === 'number', 'Unexpected color given for ActionSheetIOS.showActionSheetWithOptions tintColor');\n invariant(processedCancelButtonTintColor == null || typeof processedCancelButtonTintColor === 'number', 'Unexpected color given for ActionSheetIOS.showActionSheetWithOptions cancelButtonTintColor');\n invariant(processedDisabledButtonTintColor == null || typeof processedDisabledButtonTintColor === 'number', 'Unexpected color given for ActionSheetIOS.showActionSheetWithOptions disabledButtonTintColor');\n RCTActionSheetManager.default.showActionSheetWithOptions(Object.assign({}, remainingOptions, {\n tintColor: processedTintColor,\n cancelButtonTintColor: processedCancelButtonTintColor,\n disabledButtonTintColor: processedDisabledButtonTintColor,\n destructiveButtonIndices: destructiveButtonIndices\n }), callback);\n },\n showShareActionSheetWithOptions: function showShareActionSheetWithOptions(options, failureCallback, successCallback) {\n invariant(typeof options === 'object' && options !== null, 'Options must be a valid object');\n invariant(typeof failureCallback === 'function', 'Must provide a valid failureCallback');\n invariant(typeof successCallback === 'function', 'Must provide a valid successCallback');\n invariant(RCTActionSheetManager.default, \"ActionSheetManager doesn't exist\");\n RCTActionSheetManager.default.showShareActionSheetWithOptions(Object.assign({}, options, {\n tintColor: processColor(options.tintColor)\n }), failureCallback, successCallback);\n },\n dismissActionSheet: function dismissActionSheet() {\n invariant(RCTActionSheetManager.default, \"ActionSheetManager doesn't exist\");\n if (typeof RCTActionSheetManager.default.dismissActionSheet === 'function') {\n RCTActionSheetManager.default.dismissActionSheet();\n }\n }\n };\n var _default = ActionSheetIOS;\n});","lineCount":71,"map":[[13,2,196,0,"Object"],[13,8,196,0],[13,9,196,0,"defineProperty"],[13,23,196,0],[13,24,196,0,"exports"],[13,31,196,0],[14,4,196,0,"enumerable"],[14,14,196,0],[15,4,196,0,"get"],[15,7,196,0],[15,18,196,0,"get"],[15,19,196,0],[16,6,196,0],[16,13,196,0,"_default"],[16,21,196,0],[17,4,196,0],[18,2,196,0],[19,2,196,30],[19,6,196,30,"_babelRuntimeHelpersObjectWithoutProperties"],[19,49,196,30],[19,52,196,30,"require"],[19,59,196,30],[19,60,196,30,"_dependencyMap"],[19,74,196,30],[20,2,196,30],[20,6,196,30,"_objectWithoutProperties"],[20,30,196,30],[20,33,196,30,"_interopDefault"],[20,48,196,30],[20,49,196,30,"_babelRuntimeHelpersObjectWithoutProperties"],[20,92,196,30],[21,2,14,0],[21,6,14,0,"_NativeActionSheetManager"],[21,31,14,0],[21,34,14,0,"require"],[21,41,14,0],[21,42,14,0,"_dependencyMap"],[21,56,14,0],[22,2,14,0],[22,6,14,0,"RCTActionSheetManager"],[22,27,14,0],[22,30,14,0,"_interopDefault"],[22,45,14,0],[22,46,14,0,"_NativeActionSheetManager"],[22,71,14,0],[23,2,16,0],[23,6,16,6,"processColor"],[23,18,16,18],[23,21,16,21,"require"],[23,28,16,28],[23,29,16,28,"_dependencyMap"],[23,43,16,28],[23,76,16,57],[23,77,16,58],[23,78,16,59,"default"],[23,85,16,66],[24,2,17,0],[24,6,17,6,"invariant"],[24,15,17,15],[24,18,17,18,"require"],[24,25,17,25],[24,26,17,25,"_dependencyMap"],[24,40,17,25],[24,56,17,37],[24,57,17,38],[25,2,57,0],[25,6,57,6,"ActionSheetIOS"],[25,20,57,20],[25,23,57,23],[26,4,75,2,"showActionSheetWithOptions"],[26,30,75,28],[26,41,75,2,"showActionSheetWithOptions"],[26,67,75,28,"showActionSheetWithOptions"],[26,68,76,4,"options"],[26,75,76,34],[26,77,77,4,"callback"],[26,85,77,43],[26,87,78,4],[27,6,79,4,"invariant"],[27,15,79,13],[27,16,80,6],[27,23,80,13,"options"],[27,30,80,20],[27,35,80,25],[27,43,80,33],[27,47,80,37,"options"],[27,54,80,44],[27,59,80,49],[27,63,80,53],[27,65,81,6],[27,97,82,4],[27,98,82,5],[28,6,83,4,"invariant"],[28,15,83,13],[28,16,83,14],[28,23,83,21,"callback"],[28,31,83,29],[28,36,83,34],[28,46,83,44],[28,48,83,46],[28,79,83,77],[28,80,83,78],[29,6,84,4,"invariant"],[29,15,84,13],[29,16,84,14,"RCTActionSheetManager"],[29,37,84,35],[29,38,84,35,"default"],[29,45,84,35],[29,47,84,37],[29,81,84,71],[29,82,84,72],[30,6,86,4],[30,10,87,6,"tintColor"],[30,19,87,15],[30,22,92,8,"options"],[30,29,92,15],[30,30,87,6,"tintColor"],[30,39,87,15],[31,8,88,6,"cancelButtonTintColor"],[31,29,88,27],[31,32,92,8,"options"],[31,39,92,15],[31,40,88,6,"cancelButtonTintColor"],[31,61,88,27],[32,8,89,6,"disabledButtonTintColor"],[32,31,89,29],[32,34,92,8,"options"],[32,41,92,15],[32,42,89,6,"disabledButtonTintColor"],[32,65,89,29],[33,8,90,6,"destructiveButtonIndex"],[33,30,90,28],[33,33,92,8,"options"],[33,40,92,15],[33,41,90,6,"destructiveButtonIndex"],[33,63,90,28],[34,8,91,9,"remainingOptions"],[34,24,91,25],[34,31,91,25,"_objectWithoutProperties"],[34,55,91,25],[34,56,91,25,"default"],[34,63,91,25],[34,65,92,8,"options"],[34,72,92,15],[34,74,92,15,"_excluded"],[34,83,92,15],[35,6,93,4],[35,10,93,8,"destructiveButtonIndices"],[35,34,93,32],[35,37,93,35],[35,41,93,39],[36,6,95,4],[36,10,95,8,"Array"],[36,15,95,13],[36,16,95,14,"isArray"],[36,23,95,21],[36,24,95,22,"destructiveButtonIndex"],[36,46,95,44],[36,47,95,45],[36,49,95,47],[37,8,96,6,"destructiveButtonIndices"],[37,32,96,30],[37,35,96,33,"destructiveButtonIndex"],[37,57,96,55],[38,6,97,4],[38,7,97,5],[38,13,97,11],[38,17,97,15],[38,24,97,22,"destructiveButtonIndex"],[38,46,97,44],[38,51,97,49],[38,59,97,57],[38,61,97,59],[39,8,98,6,"destructiveButtonIndices"],[39,32,98,30],[39,35,98,33],[39,36,98,34,"destructiveButtonIndex"],[39,58,98,56],[39,59,98,57],[40,6,99,4],[41,6,101,4],[41,10,101,10,"processedTintColor"],[41,28,101,28],[41,31,101,31,"processColor"],[41,43,101,43],[41,44,101,44,"tintColor"],[41,53,101,53],[41,54,101,54],[42,6,102,4],[42,10,102,10,"processedCancelButtonTintColor"],[42,40,102,40],[42,43,102,43,"processColor"],[42,55,102,55],[42,56,102,56,"cancelButtonTintColor"],[42,77,102,77],[42,78,102,78],[43,6,103,4],[43,10,103,10,"processedDisabledButtonTintColor"],[43,42,103,42],[43,45,103,45,"processColor"],[43,57,103,57],[43,58,104,6,"disabledButtonTintColor"],[43,81,105,4],[43,82,105,5],[44,6,107,4,"invariant"],[44,15,107,13],[44,16,108,6,"processedTintColor"],[44,34,108,24],[44,38,108,28],[44,42,108,32],[44,46,108,36],[44,53,108,43,"processedTintColor"],[44,71,108,61],[44,76,108,66],[44,84,108,74],[44,86,109,6],[44,166,110,4],[44,167,110,5],[45,6,111,4,"invariant"],[45,15,111,13],[45,16,112,6,"processedCancelButtonTintColor"],[45,46,112,36],[45,50,112,40],[45,54,112,44],[45,58,113,8],[45,65,113,15,"processedCancelButtonTintColor"],[45,95,113,45],[45,100,113,50],[45,108,113,58],[45,110,114,6],[45,202,115,4],[45,203,115,5],[46,6,116,4,"invariant"],[46,15,116,13],[46,16,117,6,"processedDisabledButtonTintColor"],[46,48,117,38],[46,52,117,42],[46,56,117,46],[46,60,118,8],[46,67,118,15,"processedDisabledButtonTintColor"],[46,99,118,47],[46,104,118,52],[46,112,118,60],[46,114,119,6],[46,208,120,4],[46,209,120,5],[47,6,121,4,"RCTActionSheetManager"],[47,27,121,25],[47,28,121,25,"default"],[47,35,121,25],[47,36,121,26,"showActionSheetWithOptions"],[47,62,121,52],[47,63,121,52,"Object"],[47,69,121,52],[47,70,121,52,"assign"],[47,76,121,52],[47,81,123,11,"remainingOptions"],[47,97,123,27],[48,8,125,8,"tintColor"],[48,17,125,17],[48,19,125,19,"processedTintColor"],[48,37,125,37],[49,8,127,8,"cancelButtonTintColor"],[49,29,127,29],[49,31,127,31,"processedCancelButtonTintColor"],[49,61,127,61],[50,8,129,8,"disabledButtonTintColor"],[50,31,129,31],[50,33,129,33,"processedDisabledButtonTintColor"],[50,65,129,65],[51,8,130,8,"destructiveButtonIndices"],[51,32,130,32],[51,34,130,8,"destructiveButtonIndices"],[52,6,130,32],[52,10,132,6,"callback"],[52,18,133,4],[52,19,133,5],[53,4,134,2],[53,5,134,3],[54,4,159,2,"showShareActionSheetWithOptions"],[54,35,159,33],[54,46,159,2,"showShareActionSheetWithOptions"],[54,77,159,33,"showShareActionSheetWithOptions"],[54,78,160,4,"options"],[54,85,160,39],[54,87,161,4,"failureCallback"],[54,102,161,72],[54,104,162,4,"successCallback"],[54,119,162,77],[54,121,163,4],[55,6,164,4,"invariant"],[55,15,164,13],[55,16,165,6],[55,23,165,13,"options"],[55,30,165,20],[55,35,165,25],[55,43,165,33],[55,47,165,37,"options"],[55,54,165,44],[55,59,165,49],[55,63,165,53],[55,65,166,6],[55,97,167,4],[55,98,167,5],[56,6,168,4,"invariant"],[56,15,168,13],[56,16,169,6],[56,23,169,13,"failureCallback"],[56,38,169,28],[56,43,169,33],[56,53,169,43],[56,55,170,6],[56,93,171,4],[56,94,171,5],[57,6,172,4,"invariant"],[57,15,172,13],[57,16,173,6],[57,23,173,13,"successCallback"],[57,38,173,28],[57,43,173,33],[57,53,173,43],[57,55,174,6],[57,93,175,4],[57,94,175,5],[58,6,176,4,"invariant"],[58,15,176,13],[58,16,176,14,"RCTActionSheetManager"],[58,37,176,35],[58,38,176,35,"default"],[58,45,176,35],[58,47,176,37],[58,81,176,71],[58,82,176,72],[59,6,177,4,"RCTActionSheetManager"],[59,27,177,25],[59,28,177,25,"default"],[59,35,177,25],[59,36,177,26,"showShareActionSheetWithOptions"],[59,67,177,57],[59,68,177,57,"Object"],[59,74,177,57],[59,75,177,57,"assign"],[59,81,177,57],[59,86,178,10,"options"],[59,93,178,17],[60,8,178,19,"tintColor"],[60,17,178,28],[60,19,178,30,"processColor"],[60,31,178,42],[60,32,178,43,"options"],[60,39,178,50],[60,40,178,51,"tintColor"],[60,49,178,60],[61,6,178,75],[61,10,179,6,"failureCallback"],[61,25,179,21],[61,27,180,6,"successCallback"],[61,42,181,4],[61,43,181,5],[62,4,182,2],[62,5,182,3],[63,4,188,2,"dismissActionSheet"],[63,22,188,20],[63,24,188,22],[63,33,188,2,"dismissActionSheet"],[63,51,188,20,"dismissActionSheet"],[63,52,188,20],[63,54,188,28],[64,6,189,4,"invariant"],[64,15,189,13],[64,16,189,14,"RCTActionSheetManager"],[64,37,189,35],[64,38,189,35,"default"],[64,45,189,35],[64,47,189,37],[64,81,189,71],[64,82,189,72],[65,6,190,4],[65,10,190,8],[65,17,190,15,"RCTActionSheetManager"],[65,38,190,36],[65,39,190,36,"default"],[65,46,190,36],[65,47,190,37,"dismissActionSheet"],[65,65,190,55],[65,70,190,60],[65,80,190,70],[65,82,190,72],[66,8,191,6,"RCTActionSheetManager"],[66,29,191,27],[66,30,191,27,"default"],[66,37,191,27],[66,38,191,28,"dismissActionSheet"],[66,56,191,46],[66,57,191,47],[66,58,191,48],[67,6,192,4],[68,4,193,2],[69,2,194,0],[69,3,194,1],[70,2,196,0],[70,6,196,0,"_default"],[70,14,196,0],[70,17,196,15,"ActionSheetIOS"],[70,31,196,29],[71,0,196,30],[71,3]],"functionMap":{"names":["","showActionSheetWithOptions","showShareActionSheetWithOptions","dismissActionSheet"],"mappings":"AAA;EC0E;GD2D;EEyB;GFuB;sBGM;GHK"},"hasCjsExports":false},"type":"js/module"}]}