@platform/react.ssr
Version:
A lightweight SSR (server-side-rendering) system for react apps bundled with ParcelJS and hosted on S3.
1 lines • 3.77 kB
JSON
{"id":"TotJ","dependencies":[{"name":"/Users/phil/code/@platform/code/react.ssr/sample/ui/.uiharness/package.json","includedInParent":true,"mtime":1567548362275},{"name":"/Users/phil/code/@platform/code/react.ssr/sample/ui/node_modules/rxjs/package.json","includedInParent":true,"mtime":1567547709152},{"name":"tslib","loc":{"line":2,"column":25},"parent":"/Users/phil/code/@platform/code/react.ssr/sample/ui/node_modules/rxjs/_esm5/internal/operators/bufferToggle.js","resolved":"/Users/phil/code/@platform/code/react.ssr/sample/ui/node_modules/tslib/tslib.es6.js"},{"name":"../Subscription","loc":{"line":3,"column":29},"parent":"/Users/phil/code/@platform/code/react.ssr/sample/ui/node_modules/rxjs/_esm5/internal/operators/bufferToggle.js","resolved":"/Users/phil/code/@platform/code/react.ssr/sample/ui/node_modules/rxjs/_esm5/internal/Subscription.js"},{"name":"../util/subscribeToResult","loc":{"line":4,"column":34},"parent":"/Users/phil/code/@platform/code/react.ssr/sample/ui/node_modules/rxjs/_esm5/internal/operators/bufferToggle.js","resolved":"/Users/phil/code/@platform/code/react.ssr/sample/ui/node_modules/rxjs/_esm5/internal/util/subscribeToResult.js"},{"name":"../OuterSubscriber","loc":{"line":5,"column":32},"parent":"/Users/phil/code/@platform/code/react.ssr/sample/ui/node_modules/rxjs/_esm5/internal/operators/bufferToggle.js","resolved":"/Users/phil/code/@platform/code/react.ssr/sample/ui/node_modules/rxjs/_esm5/internal/OuterSubscriber.js"}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.bufferToggle=n;var t=i(require(\"tslib\")),e=require(\"../Subscription\"),r=require(\"../util/subscribeToResult\"),o=require(\"../OuterSubscriber\");function i(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r)){var o=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(t,r):{};o.get||o.set?Object.defineProperty(e,r,o):e[r]=t[r]}return e.default=t,e}function n(t,e){return function(r){return r.lift(new s(t,e))}}var s=function(){function t(t,e){this.openings=t,this.closingSelector=e}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.openings,this.closingSelector))},t}(),u=function(o){function i(t,e,i){var n=o.call(this,t)||this;return n.openings=e,n.closingSelector=i,n.contexts=[],n.add((0,r.subscribeToResult)(n,e)),n}return t.__extends(i,o),i.prototype._next=function(t){for(var e=this.contexts,r=e.length,o=0;o<r;o++)e[o].buffer.push(t)},i.prototype._error=function(t){for(var e=this.contexts;e.length>0;){var r=e.shift();r.subscription.unsubscribe(),r.buffer=null,r.subscription=null}this.contexts=null,o.prototype._error.call(this,t)},i.prototype._complete=function(){for(var t=this.contexts;t.length>0;){var e=t.shift();this.destination.next(e.buffer),e.subscription.unsubscribe(),e.buffer=null,e.subscription=null}this.contexts=null,o.prototype._complete.call(this)},i.prototype.notifyNext=function(t,e,r,o,i){t?this.closeBuffer(t):this.openBuffer(e)},i.prototype.notifyComplete=function(t){this.closeBuffer(t.context)},i.prototype.openBuffer=function(t){try{var e=this.closingSelector.call(this,t);e&&this.trySubscribe(e)}catch(r){this._error(r)}},i.prototype.closeBuffer=function(t){var e=this.contexts;if(e&&t){var r=t.buffer,o=t.subscription;this.destination.next(r),e.splice(e.indexOf(t),1),this.remove(o),o.unsubscribe()}},i.prototype.trySubscribe=function(t){var o=this.contexts,i=new e.Subscription,n={buffer:[],subscription:i};o.push(n);var s=(0,r.subscribeToResult)(this,t,n);!s||s.closed?this.closeBuffer(n):(s.context=n,this.add(s),i.add(s))},i}(o.OuterSubscriber);"},"sourceMaps":null,"error":null,"hash":"6ed7ffdb38f5d2dcc7b4c0edeb5a9575","cacheData":{"env":{}}}