{"map":"{\"version\":3,\"file\":\"subscribe.js\",\"sourceRoot\":\"\",\"sources\":[\"../../src/subscribe.ts\"],\"names\":[],\"mappings\":\"AAAA;;;;;;;;;;;;;;GAcG;AAyCH,MAAM,oBAAuB,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,EAAqD;IACrG,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC;QACT,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC;IAEhC,CAAC;IAAC,IAAI,CAAC,CAAC;QACN,MAAM,CAAC,KAAK,CAAC,GAAG,CACd,CAAC,IAAiB,KAAK,MAAM,CAAC,SAAS,CAAC,IAAI,CAAC,CAC9C,CAAC;IACJ,CAAC;AACH,CAAC;AACD,eAAe,SAAS,CAAC\"}","code":"/** @license\r\n *  Copyright 2016 - present The Material Motion Authors. All Rights Reserved.\r\n *\r\n *  Licensed under the Apache License, Version 2.0 (the \"License\"); you may not\r\n *  use this file except in compliance with the License. You may obtain a copy\r\n *  of the License at\r\n *\r\n *      http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n *  Unless required by applicable law or agreed to in writing, software\r\n *  distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\r\n *  WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the\r\n *  License for the specific language governing permissions and limitations\r\n *  under the License.\r\n */\r\nexport function subscribe({ sink, sinks, source }) {\r\n    if (sink) {\r\n        return source.subscribe(sink);\r\n    }\r\n    else {\r\n        return sinks.map((sink) => source.subscribe(sink));\r\n    }\r\n}\r\nexport default subscribe;\r\n//# sourceMappingURL=subscribe.js.map"}
