1 line
66 KiB
JSON
1 line
66 KiB
JSON
{"id":"LM4G","dependencies":[{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/package.json","includedInParent":true,"mtime":1545395749058},{"name":"./webdetector.plugins","loc":{"line":45,"column":35},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/ts/index.ts","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/ts/webdetector.plugins.ts"},{"name":"rxjs/operators","loc":{"line":46,"column":26},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/ts/index.ts","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/operators/index.js"}],"generated":{"js":"\"use strict\";var t=this&&this.__awaiter||function(t,e,n,r){return new(n||(n=Promise))(function(i,o){function s(t){try{u(r.next(t))}catch(e){o(e)}}function a(t){try{u(r.throw(t))}catch(e){o(e)}}function u(t){t.done?i(t.value):new n(function(e){e(t.value)}).then(s,a)}u((r=r.apply(t,e||[])).next())})},e=this&&this.__generator||function(t,e){var n,r,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},\"function\"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(n)throw new TypeError(\"Generator is already executing.\");for(;s;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,r=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!(i=(i=s.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){s.label=o[1];break}if(6===o[0]&&s.label<i[1]){s.label=i[1],i=o;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(o);break}i[2]&&s.ops.pop(),s.trys.pop();continue}o=e.call(t,s)}catch(a){o=[6,a],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,a])}}},n=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e};exports.__esModule=!0;var r=n(require(\"./webdetector.plugins\")),i=require(\"rxjs/operators\"),o=function(){function n(t){this.onlineObservableIntake=new r.smartrx.ObservableIntake,this.onlineObservable=this.onlineObservableIntake.observable.pipe(i.throttleTime(1e4)),this.latestState=\"online\",this.options=t}return n.prototype.isOnline=function(){return t(this,void 0,void 0,function(){var n,r,i,o,s=this;return e(this,function(a){switch(a.label){case 0:return n=!1,r=new AbortController,i=fetch(this.options.checkOnlineUrl,{signal:r.signal}),setTimeout(function(){r.abort()},1e3),[4,i.then(function(r){return t(s,void 0,void 0,function(){return e(this,function(t){return n=!0,[2]})})}).catch(function(t){})];case 1:return a.sent(),(o=n?\"online\":\"offline\")!==this.latestState&&this.onlineObservableIntake.push(this.latestState),this.latestState=o,[2,n]}})})},n.prototype.startPeriodicChecks=function(){return t(this,void 0,void 0,function(){return e(this,function(t){switch(t.label){case 0:return[4,this.isOnline()];case 1:return t.sent(),[4,r.smartdelay.delayFor(3e3)];case 2:return t.sent(),[3,0];case 3:return[2]}})})},n}();exports.WebDetector=o;","map":{"mappings":[{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":0}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":13}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":17}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":19}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":25}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":30}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":41}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":50}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":52}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":54}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":56}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":59}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":66}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":70}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":74}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":76}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":86}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":95}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":97}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":100}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":109}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":111}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":114}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":118}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":120}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":122}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":127}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":131}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":137}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":140}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":142}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":146}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":155}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":157}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":160}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":164}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":166}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":168}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":174}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":178}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":184}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":187}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":189}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":193}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":202}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":204}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":207}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":209}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":214}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":216}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":218}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":225}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":229}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":231}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":240}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":243}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":245}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":247}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":256}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":261}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":263}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":266}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":269}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":271}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":273}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":279}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":281}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":284}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":289}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":300}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":302}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":308}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":313}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":326}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":335}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":337}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":340}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":344}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":346}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":348}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":350}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":352}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":354}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":355}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":361}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":363}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":368}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":379}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":382}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":384}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":386}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":389}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":395}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":397}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":400}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":407}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":409}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":413}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":418}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":421}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":425}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":429}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":436}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":438}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":439}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":444}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":446}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":449}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":455}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":457}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":460}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":467}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":469}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":473}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":492}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":501}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":503}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":510}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":520}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":531}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":538}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":545}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":547}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":556}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":558}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":561}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":568}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":577}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":580}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":587}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":596}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":599}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":602}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":604}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":610}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":614}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":624}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":659}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":664}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":667}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":671}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":674}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":676}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":678}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":682}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":684}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":686}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":688}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":691}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":693}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":700}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":702}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":705}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":707}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":716}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":718}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":720}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":729}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":731}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":736}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":739}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":742}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":744}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":753}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":755}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":757}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":762}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":764}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":766}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":771}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":776}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":783}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":785}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":792}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":794}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":796}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":800}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":802}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":803}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":805}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":807}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":810}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":812}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":820}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":822}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":826}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":831}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":833}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":838}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":840}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":842}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":844}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":850}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":855}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":857}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":864}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":866}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":874}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":875}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":881}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":883}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":886}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":892}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":895}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":900}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":902}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":904}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":912}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":914}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":916}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":919}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":921}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":922}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":925}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":934}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":939}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":941}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":943}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":945}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":949}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":955}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":957}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":962}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":968}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":977}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":985}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":990}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":993}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":995}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":997}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1003}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1010}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1013}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1015}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1017}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1024}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1030}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1034}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1036}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1040}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1044}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1046}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1050}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1051}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1053}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1055}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1064}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1067}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1071}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1073}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1079}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1082}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1084}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1087}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1089}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1093}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1095}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1098}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1100}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1104}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1105}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1107}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1113}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1115}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1118}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1124}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1127}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1131}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1133}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1137}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1139}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1145}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1147}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1150}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1151}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1153}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1159}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1161}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1164}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1166}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1168}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1174}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1177}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1180}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1182}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1188}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1190}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1193}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1194}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1196}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1202}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1204}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1207}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1209}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1213}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1218}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1221}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1227}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1229}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1233}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1235}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1239}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1245}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1247}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1252}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1258}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1267}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1269}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1271}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1276}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1278}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1281}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1287}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1290}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1292}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1293}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1295}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1298}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1300}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1302}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1310}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1312}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1314}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1316}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1319}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1321}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1323}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1326}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1332}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1334}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1337}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1343}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1344}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1350}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1352}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1355}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1357}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1365}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1367}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1373}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1376}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1377}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1378}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1380}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1387}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1389}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1395}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1400}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1414}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1423}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1426}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1429}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1432}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1434}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1445}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1452}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1454}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1458}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1460}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1463}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1466}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1472}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1474}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1478}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1482}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1487}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1489}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1496}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1511}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1516}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1518}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1523}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1525}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1528}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1530}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1534}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1541}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1543}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1551}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1553}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1556}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1564}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1576}},{"source":"../ts/index.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":1578}},{"source":"../ts/index.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":1582}},{"source":"../ts/index.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":1584}},{"source":"../ts/index.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":1586}},{"source":"../ts/index.ts","name":null,"original":{"line":1,"column":0},"generated":{"line":1,"column":1594}},{"source":"../ts/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":1620}},{"source":"../ts/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":1622}},{"source":"../ts/index.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":1630}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":0},"generated":{"line":1,"column":1648}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":0},"generated":{"line":1,"column":1650}},{"source":"../ts/index.ts","name":null,"original":{"line":15,"column":2},"generated":{"line":1,"column":1661}},{"source":"../ts/index.ts","name":null,"original":{"line":15,"column":2},"generated":{"line":1,"column":1670}},{"source":"../ts/index.ts","name":null,"original":{"line":15,"column":14},"generated":{"line":1,"column":1672}},{"source":"../ts/index.ts","name":null,"original":{"line":11,"column":10},"generated":{"line":1,"column":1675}},{"source":"../ts/index.ts","name":null,"original":{"line":11,"column":10},"generated":{"line":1,"column":1680}},{"source":"../ts/index.ts","name":null,"original":{"line":11,"column":35},"generated":{"line":1,"column":1703}},{"source":"../ts/index.ts","name":null,"original":{"line":11,"column":39},"generated":{"line":1,"column":1707}},{"source":"../ts/index.ts","name":null,"original":{"line":11,"column":47},"generated":{"line":1,"column":1709}},{"source":"../ts/index.ts","name":null,"original":{"line":11,"column":55},"generated":{"line":1,"column":1717}},{"source":"../ts/index.ts","name":null,"original":{"line":12,"column":2},"generated":{"line":1,"column":1734}},{"source":"../ts/index.ts","name":null,"original":{"line":12,"column":2},"generated":{"line":1,"column":1739}},{"source":"../ts/index.ts","name":null,"original":{"line":12,"column":21},"generated":{"line":1,"column":1756}},{"source":"../ts/index.ts","name":null,"original":{"line":12,"column":26},"generated":{"line":1,"column":1761}},{"source":"../ts/index.ts","name":null,"original":{"line":12,"column":49},"generated":{"line":1,"column":1784}},{"source":"../ts/index.ts","name":null,"original":{"line":12,"column":60},"generated":{"line":1,"column":1795}},{"source":"../ts/index.ts","name":null,"original":{"line":12,"column":65},"generated":{"line":1,"column":1800}},{"source":"../ts/index.ts","name":null,"original":{"line":12,"column":65},"generated":{"line":1,"column":1802}},{"source":"../ts/index.ts","name":null,"original":{"line":12,"column":78},"generated":{"line":1,"column":1815}},{"source":"../ts/index.ts","name":null,"original":{"line":13,"column":2},"generated":{"line":1,"column":1821}},{"source":"../ts/index.ts","name":null,"original":{"line":13,"column":2},"generated":{"line":1,"column":1826}},{"source":"../ts/index.ts","name":null,"original":{"line":13,"column":38},"generated":{"line":1,"column":1838}},{"source":"../ts/index.ts","name":null,"original":{"line":16,"column":9},"generated":{"line":1,"column":1847}},{"source":"../ts/index.ts","name":null,"original":{"line":16,"column":9},"generated":{"line":1,"column":1852}},{"source":"../ts/index.ts","name":null,"original":{"line":16,"column":19},"generated":{"line":1,"column":1860}},{"source":"../ts/index.ts","name":null,"original":{"line":56,"column":0},"generated":{"line":1,"column":1862}},{"source":"../ts/index.ts","name":null,"original":{"line":22,"column":8},"generated":{"line":1,"column":1869}},{"source":"../ts/index.ts","name":null,"original":{"line":22,"column":8},"generated":{"line":1,"column":1871}},{"source":"../ts/index.ts","name":null,"original":{"line":22,"column":8},"generated":{"line":1,"column":1881}},{"source":"../ts/index.ts","name":null,"original":{"line":22,"column":2},"generated":{"line":1,"column":1890}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1901}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1908}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1910}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1920}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1927}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1929}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1940}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1944}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1946}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1948}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1950}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1952}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1954}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1959}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1966}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1968}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1973}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1982}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1985}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1992}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":1994}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":2001}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":2006}},{"source":"../ts/index.ts","name":null,"original":{"line":30,"column":4},"generated":{"line":1,"column":2008}},{"source":"../ts/index.ts","name":null,"original":{"line":23,"column":8},"generated":{"line":1,"column":2015}},{"source":"../ts/index.ts","name":null,"original":{"line":23,"column":35},"generated":{"line":1,"column":2018}},{"source":"../ts/index.ts","name":null,"original":{"line":24,"column":10},"generated":{"line":1,"column":2020}},{"source":"../ts/index.ts","name":null,"original":{"line":24,"column":23},"generated":{"line":1,"column":2022}},{"source":"../ts/index.ts","name":null,"original":{"line":24,"column":27},"generated":{"line":1,"column":2026}},{"source":"../ts/index.ts","name":null,"original":{"line":25,"column":10},"generated":{"line":1,"column":2042}},{"source":"../ts/index.ts","name":null,"original":{"line":25,"column":25},"generated":{"line":1,"column":2044}},{"source":"../ts/index.ts","name":null,"original":{"line":25,"column":31},"generated":{"line":1,"column":2050}},{"source":"../ts/index.ts","name":null,"original":{"line":25,"column":36},"generated":{"line":1,"column":2055}},{"source":"../ts/index.ts","name":null,"original":{"line":25,"column":44},"generated":{"line":1,"column":2063}},{"source":"../ts/index.ts","name":null,"original":{"line":25,"column":60},"generated":{"line":1,"column":2078}},{"source":"../ts/index.ts","name":null,"original":{"line":25,"column":62},"generated":{"line":1,"column":2079}},{"source":"../ts/index.ts","name":null,"original":{"line":25,"column":70},"generated":{"line":1,"column":2086}},{"source":"../ts/index.ts","name":null,"original":{"line":25,"column":81},"generated":{"line":1,"column":2088}},{"source":"../ts/index.ts","name":null,"original":{"line":26,"column":20},"generated":{"line":1,"column":2097}},{"source":"../ts/index.ts","name":null,"original":{"line":26,"column":31},"generated":{"line":1,"column":2108}},{"source":"../ts/index.ts","name":null,"original":{"line":27,"column":6},"generated":{"line":1,"column":2119}},{"source":"../ts/index.ts","name":null,"original":{"line":27,"column":17},"generated":{"line":1,"column":2121}},{"source":"../ts/index.ts","name":null,"original":{"line":28,"column":7},"generated":{"line":1,"column":2130}},{"source":"../ts/index.ts","name":null,"original":{"line":30,"column":4},"generated":{"line":1,"column":2135}},{"source":"../ts/index.ts","name":null,"original":{"line":30,"column":4},"generated":{"line":1,"column":2136}},{"source":"../ts/index.ts","name":null,"original":{"line":30,"column":10},"generated":{"line":1,"column":2138}},{"source":"../ts/index.ts","name":null,"original":{"line":30,"column":23},"generated":{"line":1,"column":2140}},{"source":"../ts/index.ts","name":null,"original":{"line":30,"column":28},"generated":{"line":1,"column":2145}},{"source":"../ts/index.ts","name":null,"original":{"line":30,"column":34},"generated":{"line":1,"column":2154}},{"source":"../ts/index.ts","name":null,"original":{"line":30,"column":42},"generated":{"line":1,"column":2157}},{"source":"../ts/index.ts","name":null,"original":{"line":30,"column":42},"generated":{"line":1,"column":2164}},{"source":"../ts/index.ts","name":null,"original":{"line":30,"column":42},"generated":{"line":1,"column":2166}},{"source":"../ts/index.ts","name":null,"original":{"line":30,"column":42},"generated":{"line":1,"column":2173}},{"source":"../ts/index.ts","name":null,"original":{"line":30,"column":42},"generated":{"line":1,"column":2180}},{"source":"../ts/index.ts","name":null,"original":{"line":30,"column":42},"generated":{"line":1,"column":2182}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":2193}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":2200}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":2202}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":2207}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":2216}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":2219}},{"source":"../ts/index.ts","name":null,"original":{"line":31,"column":8},"generated":{"line":1,"column":2226}},{"source":"../ts/index.ts","name":null,"original":{"line":31,"column":26},"generated":{"line":1,"column":2229}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":2231}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":2232}},{"source":"../ts/index.ts","name":null,"original":{"line":30,"column":10},"generated":{"line":1,"column":2241}},{"source":"../ts/index.ts","name":null,"original":{"line":32,"column":13},"generated":{"line":1,"column":2247}},{"source":"../ts/index.ts","name":null,"original":{"line":32,"column":13},"generated":{"line":1,"column":2256}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":2263}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":2268}},{"source":"../ts/index.ts","name":null,"original":{"line":47,"column":4},"generated":{"line":1,"column":2270}},{"source":"../ts/index.ts","name":null,"original":{"line":30,"column":4},"generated":{"line":1,"column":2277}},{"source":"../ts/index.ts","name":null,"original":{"line":30,"column":4},"generated":{"line":1,"column":2279}},{"source":"../ts/index.ts","name":null,"original":{"line":35,"column":10},"generated":{"line":1,"column":2287}},{"source":"../ts/index.ts","name":null,"original":{"line":36,"column":9},"generated":{"line":1,"column":2289}},{"source":"../ts/index.ts","name":null,"original":{"line":37,"column":15},"generated":{"line":1,"column":2291}},{"source":"../ts/index.ts","name":null,"original":{"line":39,"column":15},"generated":{"line":1,"column":2300}},{"source":"../ts/index.ts","name":null,"original":{"line":42,"column":28},"generated":{"line":1,"column":2313}},{"source":"../ts/index.ts","name":null,"original":{"line":42,"column":33},"generated":{"line":1,"column":2318}},{"source":"../ts/index.ts","name":null,"original":{"line":44,"column":11},"generated":{"line":1,"column":2331}},{"source":"../ts/index.ts","name":null,"original":{"line":44,"column":11},"generated":{"line":1,"column":2336}},{"source":"../ts/index.ts","name":null,"original":{"line":44,"column":34},"generated":{"line":1,"column":2359}},{"source":"../ts/index.ts","name":null,"original":{"line":44,"column":39},"generated":{"line":1,"column":2364}},{"source":"../ts/index.ts","name":null,"original":{"line":44,"column":44},"generated":{"line":1,"column":2369}},{"source":"../ts/index.ts","name":null,"original":{"line":46,"column":9},"generated":{"line":1,"column":2382}},{"source":"../ts/index.ts","name":null,"original":{"line":46,"column":9},"generated":{"line":1,"column":2387}},{"source":"../ts/index.ts","name":null,"original":{"line":46,"column":23},"generated":{"line":1,"column":2399}},{"source":"../ts/index.ts","name":null,"original":{"line":47,"column":4},"generated":{"line":1,"column":2401}},{"source":"../ts/index.ts","name":null,"original":{"line":47,"column":4},"generated":{"line":1,"column":2402}},{"source":"../ts/index.ts","name":null,"original":{"line":47,"column":11},"generated":{"line":1,"column":2404}},{"source":"../ts/index.ts","name":null,"original":{"line":50,"column":8},"generated":{"line":1,"column":2413}},{"source":"../ts/index.ts","name":null,"original":{"line":50,"column":8},"generated":{"line":1,"column":2415}},{"source":"../ts/index.ts","name":null,"original":{"line":50,"column":8},"generated":{"line":1,"column":2425}},{"source":"../ts/index.ts","name":null,"original":{"line":50,"column":2},"generated":{"line":1,"column":2445}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":2456}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":2463}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":2465}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":2475}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":2482}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":2484}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":2495}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":2502}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":2504}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":2509}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":2518}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":2521}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":2528}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":2530}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":2537}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":2542}},{"source":"../ts/index.ts","name":null,"original":{"line":52,"column":6},"generated":{"line":1,"column":2544}},{"source":"../ts/index.ts","name":null,"original":{"line":52,"column":6},"generated":{"line":1,"column":2550}},{"source":"../ts/index.ts","name":null,"original":{"line":52,"column":6},"generated":{"line":1,"column":2551}},{"source":"../ts/index.ts","name":null,"original":{"line":52,"column":12},"generated":{"line":1,"column":2553}},{"source":"../ts/index.ts","name":null,"original":{"line":52,"column":17},"generated":{"line":1,"column":2558}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":2570}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":2575}},{"source":"../ts/index.ts","name":null,"original":{"line":53,"column":6},"generated":{"line":1,"column":2577}},{"source":"../ts/index.ts","name":null,"original":{"line":52,"column":6},"generated":{"line":1,"column":2584}},{"source":"../ts/index.ts","name":null,"original":{"line":52,"column":6},"generated":{"line":1,"column":2586}},{"source":"../ts/index.ts","name":null,"original":{"line":53,"column":6},"generated":{"line":1,"column":2593}},{"source":"../ts/index.ts","name":null,"original":{"line":53,"column":6},"generated":{"line":1,"column":2594}},{"source":"../ts/index.ts","name":null,"original":{"line":53,"column":12},"generated":{"line":1,"column":2596}},{"source":"../ts/index.ts","name":null,"original":{"line":53,"column":20},"generated":{"line":1,"column":2598}},{"source":"../ts/index.ts","name":null,"original":{"line":53,"column":31},"generated":{"line":1,"column":2609}},{"source":"../ts/index.ts","name":null,"original":{"line":53,"column":40},"generated":{"line":1,"column":2618}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":2624}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":2629}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":2631}},{"source":"../ts/index.ts","name":null,"original":{"line":53,"column":6},"generated":{"line":1,"column":2638}},{"source":"../ts/index.ts","name":null,"original":{"line":53,"column":6},"generated":{"line":1,"column":2640}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":2647}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":2648}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":2650}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":2653}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":2658}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":2660}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":2666}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":2667}},{"source":"../ts/index.ts","name":null,"original":{"line":56,"column":0},"generated":{"line":1,"column":2676}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":0},"generated":{"line":1,"column":2678}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":2681}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":2689}},{"source":"../ts/index.ts","name":null,"original":{"line":9,"column":13},"generated":{"line":1,"column":2701}}],"sources":{"../ts/index.ts":"import * as plugins from './webdetector.plugins';\n\nimport {throttleTime } from 'rxjs/operators';\n\nexport interface IWebDetectorOptions {\n checkOnlineUrl: string;\n}\n\nexport class WebDetector {\n options: IWebDetectorOptions;\n private onlineObservableIntake = new plugins.smartrx.ObservableIntake();\n onlineObservable = this.onlineObservableIntake.observable.pipe(throttleTime(10000));\n latestState: 'online' | 'offline' = 'online';\n\n constructor(optionsArg: IWebDetectorOptions) {\n this.options = optionsArg;\n }\n\n /**\n * \n */\n async isOnline() {\n let reachesInternet: boolean = false;\n const controller = new AbortController();\n const fetchPromise = fetch(this.options.checkOnlineUrl, { signal: controller.signal });\n const timeout = setTimeout(() => {\n controller.abort();\n }, 1000);\n\n await fetchPromise.then(async response => {\n reachesInternet = true\n }).catch(err => {\n // console.log(`request to ${this.options.checkOnlineUrl} failed}`)\n });\n const latestLocalState = (() => {\n if(reachesInternet) {\n return 'online'\n } else {\n return 'offline'\n }\n })();\n if(latestLocalState !== this.latestState) {\n \n this.onlineObservableIntake.push(this.latestState);\n }\n this.latestState = latestLocalState;\n return reachesInternet;\n }\n\n async startPeriodicChecks() {\n while (true) {\n await this.isOnline();\n await plugins.smartdelay.delayFor(3000);\n }\n }\n}"},"lineCount":null}},"hash":"6bf02d84ac2eabfdde00ece73fdd7d39","cacheData":{"env":{}}} |