{"version":3,"sources":["webpack:///./node_modules/apollo-link-ws/lib/bundle.esm.js"],"names":["WebSocketLink","_super","paramsOrClient","_this","call","this","subscriptionClient","uri","options","webSocketImpl","prototype","request","operation"],"mappings":"6HAAA,6FAIIA,EAAiB,SAAUC,GAE3B,SAASD,EAAcE,GACnB,IAAIC,EAAQF,EAAOG,KAAKC,OAASA,KAOjC,OANIH,aAA0B,wBAC1BC,EAAMG,mBAAqBJ,EAG3BC,EAAMG,mBAAqB,IAAI,wBAAmBJ,EAAeK,IAAKL,EAAeM,QAASN,EAAeO,eAE1GN,EAKX,OAdA,uBAAUH,EAAeC,GAWzBD,EAAcU,UAAUC,QAAU,SAAUC,GACxC,OAAOP,KAAKC,mBAAmBK,QAAQC,IAEpCZ,EAfS,CAgBlB","file":"js/npm.apollo-link-ws~e31f787b.20c14d07.js","sourcesContent":["import { __extends } from 'tslib';\nimport { ApolloLink } from 'apollo-link';\nimport { SubscriptionClient } from 'subscriptions-transport-ws';\n\nvar WebSocketLink = (function (_super) {\n __extends(WebSocketLink, _super);\n function WebSocketLink(paramsOrClient) {\n var _this = _super.call(this) || this;\n if (paramsOrClient instanceof SubscriptionClient) {\n _this.subscriptionClient = paramsOrClient;\n }\n else {\n _this.subscriptionClient = new SubscriptionClient(paramsOrClient.uri, paramsOrClient.options, paramsOrClient.webSocketImpl);\n }\n return _this;\n }\n WebSocketLink.prototype.request = function (operation) {\n return this.subscriptionClient.request(operation);\n };\n return WebSocketLink;\n}(ApolloLink));\n\nexport { WebSocketLink };\n//# sourceMappingURL=bundle.esm.js.map\n"],"sourceRoot":""}