@gudhub/core 1.2.4-beta.49 → 1.2.4-beta.50

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Binary file
Binary file
@@ -7,7 +7,7 @@
7
7
  130/home/vitaly/Documents/work/gudhubclient/override_npm/gudhub/fake_server/fake_server_data/chunks_mocks/bcjyuoqaewybudfyhir_8263.js1733309347057076203 0
8
8
  102/home/vitaly/Documents/work/gudhubclient/override_npm/gudhub/fake_server/fake_server_data/chunks_mocks1733309347057076203 1
9
9
  100/home/vitaly/Documents/work/gudhubclient/override_npm/gudhub/fake_server/fake_server_data/app_132.js1733309347046076292 0
10
- 103/home/vitaly/Documents/work/gudhubclient/override_npm/gudhub/dist/PARCEL_APP_REQUEST_WORKER_FILENAME.js1739180898842358188 0
10
+ 103/home/vitaly/Documents/work/gudhubclient/override_npm/gudhub/dist/PARCEL_APP_REQUEST_WORKER_FILENAME.js1739181005070601475 0
11
11
  83/home/vitaly/Documents/work/gudhubclient/override_npm/gudhub/dist/gudhub.es.copy.js1737970173095072751 0
12
12
  106/home/vitaly/Documents/work/gudhubclient/override_npm/gudhub/.cache/b8/c0f9ecdf7c60d602d0bfd6b2eabef4.json1733309318215311104 0
13
13
  70/home/vitaly/Documents/work/gudhubclient/override_npm/gudhub/.cache/b81733309318215311104 1
@@ -385,7 +385,7 @@
385
385
  114/home/vitaly/Documents/work/gudhubclient/override_npm/gudhub/node_modules/jsdom/lib/jsdom/living/generated/Node.js499162500000000000 0
386
386
  126/home/vitaly/Documents/work/gudhubclient/override_npm/gudhub/node_modules/jsdom/lib/jsdom/living/generated/HTMLDListElement.js499162500000000000 0
387
387
  123/home/vitaly/Documents/work/gudhubclient/override_npm/gudhub/node_modules/jsdom/lib/jsdom/living/generated/RadioNodeList.js499162500000000000 0
388
- 79/home/vitaly/Documents/work/gudhubclient/override_npm/gudhub/dist/gudhub.umd.js1739180531116564411 0
388
+ 79/home/vitaly/Documents/work/gudhubclient/override_npm/gudhub/dist/gudhub.umd.js1739180907300299445 0
389
389
  126/home/vitaly/Documents/work/gudhubclient/override_npm/gudhub/node_modules/jsdom/lib/jsdom/living/generated/HTMLTableElement.js499162500000000000 0
390
390
  124/home/vitaly/Documents/work/gudhubclient/override_npm/gudhub/node_modules/jsdom/lib/jsdom/living/generated/HTMLCollection.js499162500000000000 0
391
391
  120/home/vitaly/Documents/work/gudhubclient/override_npm/gudhub/node_modules/jsdom/lib/jsdom/living/generated/SVGElement.js499162500000000000 0
@@ -3354,7 +3354,7 @@
3354
3354
  135/home/vitaly/Documents/work/gudhubclient/override_npm/gudhub/node_modules/date-fns/esm/fp/eachMinuteOfIntervalWithOptions/index.js.flow499162500000000000 0
3355
3355
  113/home/vitaly/Documents/work/gudhubclient/override_npm/gudhub/node_modules/date-fns/esm/fp/previousFriday/index.js499162500000000000 0
3356
3356
  118/home/vitaly/Documents/work/gudhubclient/override_npm/gudhub/node_modules/date-fns/esm/fp/previousFriday/index.js.flow499162500000000000 0
3357
- 65/home/vitaly/Documents/work/gudhubclient/override_npm/gudhub/dist1739180898843358181 1
3357
+ 65/home/vitaly/Documents/work/gudhubclient/override_npm/gudhub/dist1739181005070601475 1
3358
3358
  127/home/vitaly/Documents/work/gudhubclient/override_npm/gudhub/node_modules/date-fns/esm/fp/startOfWeekYearWithOptions/index.d.ts499162500000000000 0
3359
3359
  125/home/vitaly/Documents/work/gudhubclient/override_npm/gudhub/node_modules/date-fns/esm/fp/startOfWeekYearWithOptions/index.js499162500000000000 0
3360
3360
  130/home/vitaly/Documents/work/gudhubclient/override_npm/gudhub/node_modules/date-fns/esm/fp/startOfWeekYearWithOptions/index.js.flow499162500000000000 0
@@ -7507,7 +7507,7 @@
7507
7507
  97/home/vitaly/Documents/work/gudhubclient/override_npm/gudhub/node_modules/lodash.get/package.json1737624233021066452 0
7508
7508
  93/home/vitaly/Documents/work/gudhubclient/override_npm/gudhub/node_modules/lodash.get/index.js1471109647000000000 0
7509
7509
  107/home/vitaly/Documents/work/gudhubclient/override_npm/gudhub/node_modules/core-js-pure/full/string/small.js499162500000000000 0
7510
- 89/home/vitaly/Documents/work/gudhubclient/override_npm/gudhub/GUDHUB/DataService/IndexedDB1739180897514367386 1
7510
+ 89/home/vitaly/Documents/work/gudhubclient/override_npm/gudhub/GUDHUB/DataService/IndexedDB1739181003680611625 1
7511
7511
  94/home/vitaly/Documents/work/gudhubclient/override_npm/gudhub/node_modules/lodash.get/README.md1471109647000000000 0
7512
7512
  118/home/vitaly/Documents/work/gudhubclient/override_npm/gudhub/node_modules/@babel/runtime-corejs3/core-js/symbol/for.js456789000000000000 0
7513
7513
  84/home/vitaly/Documents/work/gudhubclient/override_npm/gudhub/node_modules/lodash.get1737624233026066215 1
@@ -10234,7 +10234,7 @@
10234
10234
  115/home/vitaly/Documents/work/gudhubclient/override_npm/gudhub/node_modules/@babel/core/lib/config/files/utils.js.map456789000000000000 0
10235
10235
  117/home/vitaly/Documents/work/gudhubclient/override_npm/gudhub/node_modules/@babel/runtime-corejs3/core-js/math/sign.js456789000000000000 0
10236
10236
  95/home/vitaly/Documents/work/gudhubclient/override_npm/gudhub/node_modules/@parcel/codeframe/src1737624225670417640 1
10237
- 112/home/vitaly/Documents/work/gudhubclient/override_npm/gudhub/GUDHUB/DataService/IndexedDB/IndexedDBAppService.js1739180897514367386 0
10237
+ 112/home/vitaly/Documents/work/gudhubclient/override_npm/gudhub/GUDHUB/DataService/IndexedDB/IndexedDBAppService.js1739181003680611625 0
10238
10238
  106/home/vitaly/Documents/work/gudhubclient/override_npm/gudhub/node_modules/core-js/web/url-search-params.js499162500000000000 0
10239
10239
  110/home/vitaly/Documents/work/gudhubclient/override_npm/gudhub/node_modules/@babel/plugin-transform-dotall-regex1737624232874073441 1
10240
10240
  120/home/vitaly/Documents/work/gudhubclient/override_npm/gudhub/node_modules/core-js-pure/stable/typed-array/copy-within.js499162500000000000 0
@@ -10332,7 +10332,7 @@
10332
10332
  123/home/vitaly/Documents/work/gudhubclient/override_npm/gudhub/node_modules/date-fns/esm/fp/differenceInBusinessDays/index.js499162500000000000 0
10333
10333
  104/home/vitaly/Documents/work/gudhubclient/override_npm/gudhub/node_modules/core-js/stable/number/index.js499162500000000000 0
10334
10334
  106/home/vitaly/Documents/work/gudhubclient/override_npm/gudhub/node_modules/core-js/actual/instance/slice.js499162500000000000 0
10335
- 89/home/vitaly/Documents/work/gudhubclient/override_npm/gudhub/GUDHUB/DataService/export.js1739180503648693707 0
10335
+ 89/home/vitaly/Documents/work/gudhubclient/override_npm/gudhub/GUDHUB/DataService/export.js1739180988793719954 0
10336
10336
  136/home/vitaly/Documents/work/gudhubclient/override_npm/gudhub/node_modules/@parcel/transformer-svg/node_modules/domutils/lib/feeds.js.map499162500000000000 0
10337
10337
  98/home/vitaly/Documents/work/gudhubclient/override_npm/gudhub/node_modules/@types/estree/index.d.ts1726652220000000000 0
10338
10338
  92/home/vitaly/Documents/work/gudhubclient/override_npm/gudhub/node_modules/htmlnano/index.cjs499162500000000000 0
@@ -15137,7 +15137,7 @@
15137
15137
  139/home/vitaly/Documents/work/gudhubclient/override_npm/gudhub/node_modules/@parcel/transformer-posthtml/node_modules/posthtml-parser/license499162500000000000 0
15138
15138
  125/home/vitaly/Documents/work/gudhubclient/override_npm/gudhub/node_modules/dom-serializer/node_modules/entities/lib/index.d.ts499162500000000000 0
15139
15139
  141/home/vitaly/Documents/work/gudhubclient/override_npm/gudhub/node_modules/@parcel/transformer-posthtml/node_modules/domhandler/lib/index.d.ts499162500000000000 0
15140
- 78/home/vitaly/Documents/work/gudhubclient/override_npm/gudhub/package-lock.json1739180894313389529 0
15140
+ 78/home/vitaly/Documents/work/gudhubclient/override_npm/gudhub/package-lock.json1739181001442627956 0
15141
15141
  123/home/vitaly/Documents/work/gudhubclient/override_npm/gudhub/node_modules/caniuse-lite/data/features/css-overflow-anchor.js499162500000000000 0
15142
15142
  106/home/vitaly/Documents/work/gudhubclient/override_npm/gudhub/node_modules/core-js/full/typed-array/with.js499162500000000000 0
15143
15143
  110/home/vitaly/Documents/work/gudhubclient/override_npm/gudhub/node_modules/core-js-pure/es/typed-array/index.js499162500000000000 0
@@ -17372,7 +17372,7 @@
17372
17372
  115/home/vitaly/Documents/work/gudhubclient/override_npm/gudhub/node_modules/core-js-pure/full/symbol/async-dispose.js499162500000000000 0
17373
17373
  114/home/vitaly/Documents/work/gudhubclient/override_npm/gudhub/node_modules/core-js-pure/full/symbol/has-instance.js499162500000000000 0
17374
17374
  114/home/vitaly/Documents/work/gudhubclient/override_npm/gudhub/node_modules/core-js/stable/typed-array/find-index.js499162500000000000 0
17375
- 73/home/vitaly/Documents/work/gudhubclient/override_npm/gudhub/package.json1739180894296389647 0
17375
+ 73/home/vitaly/Documents/work/gudhubclient/override_npm/gudhub/package.json1739181001423628094 0
17376
17376
  93/home/vitaly/Documents/work/gudhubclient/override_npm/gudhub/node_modules/argparse/lib/sub.js499162500000000000 0
17377
17377
  116/home/vitaly/Documents/work/gudhubclient/override_npm/gudhub/node_modules/@babel/runtime-corejs3/helpers/defaults.js456789000000000000 0
17378
17378
  109/home/vitaly/Documents/work/gudhubclient/override_npm/gudhub/node_modules/date-fns/fp/previousFriday/index.js499162500000000000 0
@@ -19138,7 +19138,7 @@
19138
19138
  109/home/vitaly/Documents/work/gudhubclient/override_npm/gudhub/node_modules/core-js/internals/iterator-close.js499162500000000000 0
19139
19139
  89/home/vitaly/Documents/work/gudhubclient/override_npm/gudhub/node_modules/@babel/core/lib1737624225031448338 1
19140
19140
  128/home/vitaly/Documents/work/gudhubclient/override_npm/gudhub/fake_server/fake_server_data/chunks_mocks/tpajkpolmzklodcba_8263.js1733309347058076195 0
19141
- 78/home/vitaly/Documents/work/gudhubclient/override_npm/gudhub/dist/gudhub.es.js1739180530973565100 0
19141
+ 78/home/vitaly/Documents/work/gudhubclient/override_npm/gudhub/dist/gudhub.es.js1739180907151300482 0
19142
19142
  106/home/vitaly/Documents/work/gudhubclient/override_npm/gudhub/node_modules/core-js/internals/to-set-like.js499162500000000000 0
19143
19143
  97/home/vitaly/Documents/work/gudhubclient/override_npm/gudhub/node_modules/acorn-walk/dist/walk.js499162500000000000 0
19144
19144
  115/home/vitaly/Documents/work/gudhubclient/override_npm/gudhub/node_modules/core-js-pure/proposals/promise-finally.js499162500000000000 0
@@ -21060,7 +21060,7 @@
21060
21060
  121/home/vitaly/Documents/work/gudhubclient/override_npm/gudhub/node_modules/date-fns/locale/lb/_lib/formatDistance/index.js499162500000000000 0
21061
21061
  119/home/vitaly/Documents/work/gudhubclient/override_npm/gudhub/node_modules/date-fns/esm/locale/ar-MA/_lib/formatRelative1737624230391191672 1
21062
21062
  106/home/vitaly/Documents/work/gudhubclient/override_npm/gudhub/node_modules/core-js-pure/es/function/name.js499162500000000000 0
21063
- 60/home/vitaly/Documents/work/gudhubclient/override_npm/gudhub1739180894314389522 1
21063
+ 60/home/vitaly/Documents/work/gudhubclient/override_npm/gudhub1739181001444627941 1
21064
21064
  112/home/vitaly/Documents/work/gudhubclient/override_npm/gudhub/node_modules/sinon/lib/sinon/collect-own-methods.js499162500000000000 0
21065
21065
  97/home/vitaly/Documents/work/gudhubclient/override_npm/gudhub/node_modules/underscore/amd/unzip.js499162500000000000 0
21066
21066
  99/home/vitaly/Documents/work/gudhubclient/override_npm/gudhub/node_modules/underscore/amd/countBy.js499162500000000000 0
@@ -45,13 +45,6 @@ if (
45
45
  AppDataService = AppHttpService;
46
46
  }
47
47
 
48
- if (
49
- useWorkerToProcessRequestsData &&
50
- !cache_app_requests
51
- ) {
52
- AppDataServiceForWorker = AppHttpWorkerService;
53
- }
54
-
55
48
 
56
49
  if (
57
50
  useWorkerToProcessRequestsData &&
@@ -93,6 +86,13 @@ let AppDataServiceForWorker = AppHttpWorkerService;
93
86
  let ChunkDataServiceForWorker = IndexedDBChunkService;
94
87
 
95
88
 
89
+ if (
90
+ useWorkerToProcessRequestsData &&
91
+ !cache_app_requests
92
+ ) {
93
+ AppDataServiceForWorker = AppHttpWorkerService;
94
+ }
95
+
96
96
  export {
97
97
  AppDataService,
98
98
  ChunkDataService,
package/dist/gudhub.es.js CHANGED
@@ -15223,7 +15223,7 @@ class IndexedDBChunkService extends ChunkDataService$1 {
15223
15223
  }
15224
15224
  }
15225
15225
  const jsContent = `(function(){"use strict";(()=>{let Ut,vt,Tr,Gt;var le=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{};function G(n){return n&&n.__esModule?n.default:n}function Pr(n,e,t,r){Object.defineProperty(n,e,{get:t,set:r,enumerable:!0,configurable:!0})}var Wt={},wt={},A=le.parcelRequire94c2;A==null&&((A=function(n){if(n in Wt)return Wt[n].exports;if(n in wt){var e=wt[n];delete wt[n];var t={id:n,exports:{}};return Wt[n]=t,e.call(t.exports,t,t.exports),t.exports}var r=Error("Cannot find module '"+n+"'");throw r.code="MODULE_NOT_FOUND",r}).register=function(n,e){wt[n]=e},le.parcelRequire94c2=A);var L=A.register;L("1ufAB",function(n,e){var t=A("iEaqd"),r=A("iNZzY"),a=A("2VbXH"),i=A("6Mx50");function l(u){var o=new a(u),p=r(a.prototype.request,o);return t.extend(p,a.prototype,o),t.extend(p,o),p}var s=l(A("bM4se"));s.Axios=a,s.create=function(u){return l(i(s.defaults,u))},s.Cancel=A("g2liO"),s.CancelToken=A("14PRn"),s.isCancel=A("8kGOw"),s.all=function(u){return Promise.all(u)},s.spread=A("i3hBo"),s.isAxiosError=A("dhYWP"),n.exports=s,n.exports.default=s}),L("iEaqd",function(n,e){var t=A("iNZzY"),r=Object.prototype.toString;function a(I){return r.call(I)==="[object Array]"}function i(I){return I===void 0}function l(I){return I!==null&&!i(I)&&I.constructor!==null&&!i(I.constructor)&&typeof I.constructor.isBuffer=="function"&&I.constructor.isBuffer(I)}function s(I){return r.call(I)==="[object ArrayBuffer]"}function u(I){return typeof FormData<"u"&&I instanceof FormData}function o(I){return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?ArrayBuffer.isView(I):I&&I.buffer&&I.buffer instanceof ArrayBuffer}function p(I){return typeof I=="string"}function m(I){return typeof I=="number"}function d(I){return I!==null&&typeof I=="object"}function y(I){if(r.call(I)!=="[object Object]")return!1;var F=Object.getPrototypeOf(I);return F===null||F===Object.prototype}function f(I){return r.call(I)==="[object Date]"}function S(I){return r.call(I)==="[object File]"}function v(I){return r.call(I)==="[object Blob]"}function w(I){return r.call(I)==="[object Function]"}function g(I){return d(I)&&w(I.pipe)}function _(I){return typeof URLSearchParams<"u"&&I instanceof URLSearchParams}function $(I){return I.trim?I.trim():I.replace(/^\\s+|\\s+$/g,"")}function x(){return(typeof navigator>"u"||navigator.product!=="ReactNative"&&navigator.product!=="NativeScript"&&navigator.product!=="NS")&&typeof window<"u"&&typeof document<"u"}function T(I,F){if(I!=null)if(typeof I!="object"&&(I=[I]),a(I))for(var C=0,B=I.length;C<B;C++)F.call(null,I[C],C,I);else for(var V in I)Object.prototype.hasOwnProperty.call(I,V)&&F.call(null,I[V],V,I)}function P(){var I={};function F(V,X){y(I[X])&&y(V)?I[X]=P(I[X],V):y(V)?I[X]=P({},V):a(V)?I[X]=V.slice():I[X]=V}for(var C=0,B=arguments.length;C<B;C++)T(arguments[C],F);return I}function D(I,F,C){return T(F,function(B,V){C&&typeof B=="function"?I[V]=t(B,C):I[V]=B}),I}function R(I){return I.charCodeAt(0)===65279&&(I=I.slice(1)),I}n.exports={isArray:a,isArrayBuffer:s,isBuffer:l,isFormData:u,isArrayBufferView:o,isString:p,isNumber:m,isObject:d,isPlainObject:y,isUndefined:i,isDate:f,isFile:S,isBlob:v,isFunction:w,isStream:g,isURLSearchParams:_,isStandardBrowserEnv:x,forEach:T,merge:P,extend:D,trim:$,stripBOM:R}}),L("iNZzY",function(n,e){n.exports=function(t,r){return function(){for(var a=Array(arguments.length),i=0;i<a.length;i++)a[i]=arguments[i];return t.apply(r,a)}}}),L("2VbXH",function(n,e){var t=A("iEaqd"),r=A("gWG2h"),a=A("4m3Da"),i=A("d4try"),l=A("6Mx50"),s=A("hiYAY"),u=s.validators;function o(p){this.defaults=p,this.interceptors={request:new a,response:new a}}o.prototype.request=function(p){typeof p=="string"?(p=arguments[1]||{},p.url=arguments[0]):p=p||{},(p=l(this.defaults,p)).method?p.method=p.method.toLowerCase():this.defaults.method?p.method=this.defaults.method.toLowerCase():p.method="get";var m,d=p.transitional;d!==void 0&&s.assertOptions(d,{silentJSONParsing:u.transitional(u.boolean,"1.0.0"),forcedJSONParsing:u.transitional(u.boolean,"1.0.0"),clarifyTimeoutError:u.transitional(u.boolean,"1.0.0")},!1);var y=[],f=!0;this.interceptors.request.forEach(function($){(typeof $.runWhen!="function"||$.runWhen(p)!==!1)&&(f=f&&$.synchronous,y.unshift($.fulfilled,$.rejected))});var S=[];if(this.interceptors.response.forEach(function($){S.push($.fulfilled,$.rejected)}),!f){var v=[i,void 0];for(Array.prototype.unshift.apply(v,y),v=v.concat(S),m=Promise.resolve(p);v.length;)m=m.then(v.shift(),v.shift());return m}for(var w=p;y.length;){var g=y.shift(),_=y.shift();try{w=g(w)}catch($){_($);break}}try{m=i(w)}catch($){return Promise.reject($)}for(;S.length;)m=m.then(S.shift(),S.shift());return m},o.prototype.getUri=function(p){return r((p=l(this.defaults,p)).url,p.params,p.paramsSerializer).replace(/^\\?/,"")},t.forEach(["delete","get","head","options"],function(p){o.prototype[p]=function(m,d){return this.request(l(d||{},{method:p,url:m,data:(d||{}).data}))}}),t.forEach(["post","put","patch"],function(p){o.prototype[p]=function(m,d,y){return this.request(l(y||{},{method:p,url:m,data:d}))}}),n.exports=o}),L("gWG2h",function(n,e){var t=A("iEaqd");function r(a){return encodeURIComponent(a).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}n.exports=function(a,i,l){if(!i)return a;if(l)s=l(i);else if(t.isURLSearchParams(i))s=i.toString();else{var s,u=[];t.forEach(i,function(p,m){p!=null&&(t.isArray(p)?m+="[]":p=[p],t.forEach(p,function(d){t.isDate(d)?d=d.toISOString():t.isObject(d)&&(d=JSON.stringify(d)),u.push(r(m)+"="+r(d))}))}),s=u.join("&")}if(s){var o=a.indexOf("#");o!==-1&&(a=a.slice(0,o)),a+=(a.indexOf("?")===-1?"?":"&")+s}return a}}),L("4m3Da",function(n,e){var t=A("iEaqd");function r(){this.handlers=[]}r.prototype.use=function(a,i,l){return this.handlers.push({fulfilled:a,rejected:i,synchronous:!!l&&l.synchronous,runWhen:l?l.runWhen:null}),this.handlers.length-1},r.prototype.eject=function(a){this.handlers[a]&&(this.handlers[a]=null)},r.prototype.forEach=function(a){t.forEach(this.handlers,function(i){i!==null&&a(i)})},n.exports=r}),L("d4try",function(n,e){var t=A("iEaqd"),r=A("gu59S"),a=A("8kGOw"),i=A("bM4se");function l(s){s.cancelToken&&s.cancelToken.throwIfRequested()}n.exports=function(s){return l(s),s.headers=s.headers||{},s.data=r.call(s,s.data,s.headers,s.transformRequest),s.headers=t.merge(s.headers.common||{},s.headers[s.method]||{},s.headers),t.forEach(["delete","get","head","post","put","patch","common"],function(u){delete s.headers[u]}),(s.adapter||i.adapter)(s).then(function(u){return l(s),u.data=r.call(s,u.data,u.headers,s.transformResponse),u},function(u){return!a(u)&&(l(s),u&&u.response&&(u.response.data=r.call(s,u.response.data,u.response.headers,s.transformResponse))),Promise.reject(u)})}}),L("gu59S",function(n,e){var t=A("iEaqd"),r=A("bM4se");n.exports=function(a,i,l){var s=this||r;return t.forEach(l,function(u){a=u.call(s,a,i)}),a}}),L("bM4se",function(n,e){var t=A("2dKjk"),r=A("iEaqd"),a=A("4xE2z"),i=A("9na6w"),l={"Content-Type":"application/x-www-form-urlencoded"};function s(p,m){!r.isUndefined(p)&&r.isUndefined(p["Content-Type"])&&(p["Content-Type"]=m)}function u(p,m,d){if(r.isString(p))try{return(m||JSON.parse)(p),r.trim(p)}catch(y){if(y.name!=="SyntaxError")throw y}return(0,JSON.stringify)(p)}var o={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:function(){var p;return(typeof XMLHttpRequest<"u"||t!==void 0&&Object.prototype.toString.call(t)==="[object process]")&&(p=A("kHaX1")),p}(),transformRequest:[function(p,m){return a(m,"Accept"),a(m,"Content-Type"),r.isFormData(p)||r.isArrayBuffer(p)||r.isBuffer(p)||r.isStream(p)||r.isFile(p)||r.isBlob(p)?p:r.isArrayBufferView(p)?p.buffer:r.isURLSearchParams(p)?(s(m,"application/x-www-form-urlencoded;charset=utf-8"),p.toString()):r.isObject(p)||m&&m["Content-Type"]==="application/json"?(s(m,"application/json"),u(p)):p}],transformResponse:[function(p){var m=this.transitional,d=m&&m.silentJSONParsing,y=m&&m.forcedJSONParsing,f=!d&&this.responseType==="json";if(f||y&&r.isString(p)&&p.length)try{return JSON.parse(p)}catch(S){if(f)throw S.name==="SyntaxError"?i(S,this,"E_JSON_PARSE"):S}return p}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(p){return p>=200&&p<300}};o.headers={common:{Accept:"application/json, text/plain, */*"}},r.forEach(["delete","get","head"],function(p){o.headers[p]={}}),r.forEach(["post","put","patch"],function(p){o.headers[p]=r.merge(l)}),n.exports=o}),L("2dKjk",function(n,e){var t,r,a,i=n.exports={};function l(){throw Error("setTimeout has not been defined")}function s(){throw Error("clearTimeout has not been defined")}function u(w){if(t===setTimeout)return setTimeout(w,0);if((t===l||!t)&&setTimeout)return t=setTimeout,setTimeout(w,0);try{return t(w,0)}catch{try{return t.call(null,w,0)}catch{return t.call(this,w,0)}}}function o(w){if(r===clearTimeout)return clearTimeout(w);if((r===s||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(w);try{return r(w)}catch{try{return r.call(null,w)}catch{return r.call(this,w)}}}(function(){try{t=typeof setTimeout=="function"?setTimeout:l}catch{t=l}try{r=typeof clearTimeout=="function"?clearTimeout:s}catch{r=s}})();var p=[],m=!1,d=-1;function y(){m&&a&&(m=!1,a.length?p=a.concat(p):d=-1,p.length&&f())}function f(){if(!m){var w=u(y);m=!0;for(var g=p.length;g;){for(a=p,p=[];++d<g;)a&&a[d].run();d=-1,g=p.length}a=null,m=!1,o(w)}}function S(w,g){this.fun=w,this.array=g}function v(){}i.nextTick=function(w){var g=Array(arguments.length-1);if(arguments.length>1)for(var _=1;_<arguments.length;_++)g[_-1]=arguments[_];p.push(new S(w,g)),p.length!==1||m||u(f)},S.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=v,i.addListener=v,i.once=v,i.off=v,i.removeListener=v,i.removeAllListeners=v,i.emit=v,i.prependListener=v,i.prependOnceListener=v,i.listeners=function(w){return[]},i.binding=function(w){throw Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(w){throw Error("process.chdir is not supported")},i.umask=function(){return 0}}),L("4xE2z",function(n,e){var t=A("iEaqd");n.exports=function(r,a){t.forEach(r,function(i,l){l!==a&&l.toUpperCase()===a.toUpperCase()&&(r[a]=i,delete r[l])})}}),L("9na6w",function(n,e){n.exports=function(t,r,a,i,l){return t.config=r,a&&(t.code=a),t.request=i,t.response=l,t.isAxiosError=!0,t.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},t}}),L("kHaX1",function(n,e){var t=A("iEaqd"),r=A("hAgIk"),a=A("gIEx2"),i=A("gWG2h"),l=A("e3Yo9"),s=A("lo19V"),u=A("eg6xZ"),o=A("iUqaj");n.exports=function(p){return new Promise(function(m,d){var y=p.data,f=p.headers,S=p.responseType;t.isFormData(y)&&delete f["Content-Type"];var v=new XMLHttpRequest;if(p.auth){var w=p.auth.username||"",g=p.auth.password?unescape(encodeURIComponent(p.auth.password)):"";f.Authorization="Basic "+btoa(w+":"+g)}var _=l(p.baseURL,p.url);function $(){if(v){var T="getAllResponseHeaders"in v?s(v.getAllResponseHeaders()):null,P=S&&S!=="text"&&S!=="json"?v.response:v.responseText,D={data:P,status:v.status,statusText:v.statusText,headers:T,config:p,request:v};r(m,d,D),v=null}}if(v.open(p.method.toUpperCase(),i(_,p.params,p.paramsSerializer),!0),v.timeout=p.timeout,"onloadend"in v?v.onloadend=$:v.onreadystatechange=function(){v&&v.readyState===4&&(v.status!==0||v.responseURL&&v.responseURL.indexOf("file:")===0)&&setTimeout($)},v.onabort=function(){v&&(d(o("Request aborted",p,"ECONNABORTED",v)),v=null)},v.onerror=function(){d(o("Network Error",p,null,v)),v=null},v.ontimeout=function(){var T="timeout of "+p.timeout+"ms exceeded";p.timeoutErrorMessage&&(T=p.timeoutErrorMessage),d(o(T,p,p.transitional&&p.transitional.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",v)),v=null},t.isStandardBrowserEnv()){var x=(p.withCredentials||u(_))&&p.xsrfCookieName?a.read(p.xsrfCookieName):void 0;x&&(f[p.xsrfHeaderName]=x)}"setRequestHeader"in v&&t.forEach(f,function(T,P){y===void 0&&P.toLowerCase()==="content-type"?delete f[P]:v.setRequestHeader(P,T)}),t.isUndefined(p.withCredentials)||(v.withCredentials=!!p.withCredentials),S&&S!=="json"&&(v.responseType=p.responseType),typeof p.onDownloadProgress=="function"&&v.addEventListener("progress",p.onDownloadProgress),typeof p.onUploadProgress=="function"&&v.upload&&v.upload.addEventListener("progress",p.onUploadProgress),p.cancelToken&&p.cancelToken.promise.then(function(T){v&&(v.abort(),d(T),v=null)}),y||(y=null),v.send(y)})}}),L("hAgIk",function(n,e){var t=A("iUqaj");n.exports=function(r,a,i){var l=i.config.validateStatus;!i.status||!l||l(i.status)?r(i):a(t("Request failed with status code "+i.status,i.config,null,i.request,i))}}),L("iUqaj",function(n,e){var t=A("9na6w");n.exports=function(r,a,i,l,s){return t(Error(r),a,i,l,s)}}),L("gIEx2",function(n,e){var t=A("iEaqd");n.exports=t.isStandardBrowserEnv()?function(){return{write:function(r,a,i,l,s,u){var o=[];o.push(r+"="+encodeURIComponent(a)),t.isNumber(i)&&o.push("expires="+new Date(i).toGMTString()),t.isString(l)&&o.push("path="+l),t.isString(s)&&o.push("domain="+s),u===!0&&o.push("secure"),document.cookie=o.join("; ")},read:function(r){var a=document.cookie.match(RegExp("(^|;\\\\s*)("+r+")=([^;]*)"));return a?decodeURIComponent(a[3]):null},remove:function(r){this.write(r,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}()}),L("e3Yo9",function(n,e){var t=A("2rjk0"),r=A("5nGHC");n.exports=function(a,i){return a&&!t(i)?r(a,i):i}}),L("2rjk0",function(n,e){n.exports=function(t){return/^([a-z][a-z\\d\\+\\-\\.]*:)?\\/\\//i.test(t)}}),L("5nGHC",function(n,e){n.exports=function(t,r){return r?t.replace(/\\/+$/,"")+"/"+r.replace(/^\\/+/,""):t}}),L("lo19V",function(n,e){var t=A("iEaqd"),r=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];n.exports=function(a){var i,l,s,u={};return a&&t.forEach(a.split(\`
15226
- \`),function(o){s=o.indexOf(":"),i=t.trim(o.substr(0,s)).toLowerCase(),l=t.trim(o.substr(s+1)),i&&!(u[i]&&r.indexOf(i)>=0)&&(i==="set-cookie"?u[i]=(u[i]?u[i]:[]).concat([l]):u[i]=u[i]?u[i]+", "+l:l)}),u}}),L("eg6xZ",function(n,e){var t=A("iEaqd");n.exports=t.isStandardBrowserEnv()?function(){var r,a=/(msie|trident)/i.test(navigator.userAgent),i=document.createElement("a");function l(s){var u=s;return a&&(i.setAttribute("href",u),u=i.href),i.setAttribute("href",u),{href:i.href,protocol:i.protocol?i.protocol.replace(/:$/,""):"",host:i.host,search:i.search?i.search.replace(/^\\?/,""):"",hash:i.hash?i.hash.replace(/^#/,""):"",hostname:i.hostname,port:i.port,pathname:i.pathname.charAt(0)==="/"?i.pathname:"/"+i.pathname}}return r=l(window.location.href),function(s){var u=t.isString(s)?l(s):s;return u.protocol===r.protocol&&u.host===r.host}}():function(){return function(){return!0}}()}),L("8kGOw",function(n,e){n.exports=function(t){return!!(t&&t.__CANCEL__)}}),L("6Mx50",function(n,e){var t=A("iEaqd");n.exports=function(r,a){a=a||{};var i={},l=["url","method","data"],s=["headers","auth","proxy","params"],u=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],o=["validateStatus"];function p(f,S){return t.isPlainObject(f)&&t.isPlainObject(S)?t.merge(f,S):t.isPlainObject(S)?t.merge({},S):t.isArray(S)?S.slice():S}function m(f){t.isUndefined(a[f])?t.isUndefined(r[f])||(i[f]=p(void 0,r[f])):i[f]=p(r[f],a[f])}t.forEach(l,function(f){t.isUndefined(a[f])||(i[f]=p(void 0,a[f]))}),t.forEach(s,m),t.forEach(u,function(f){t.isUndefined(a[f])?t.isUndefined(r[f])||(i[f]=p(void 0,r[f])):i[f]=p(void 0,a[f])}),t.forEach(o,function(f){f in a?i[f]=p(r[f],a[f]):f in r&&(i[f]=p(void 0,r[f]))});var d=l.concat(s).concat(u).concat(o),y=Object.keys(r).concat(Object.keys(a)).filter(function(f){return d.indexOf(f)===-1});return t.forEach(y,m),i}}),L("hiYAY",function(n,e){var t=A("bTAft"),r={};["object","boolean","number","function","string","symbol"].forEach(function(u,o){r[u]=function(p){return typeof p===u||"a"+(o<1?"n ":" ")+u}});var a={},i=t.version.split(".");function l(u,o){for(var p=o?o.split("."):i,m=u.split("."),d=0;d<3;d++){if(p[d]>m[d])return!0;if(p[d]<m[d])break}return!1}function s(u,o,p){if(typeof u!="object")throw TypeError("options must be an object");for(var m=Object.keys(u),d=m.length;d-- >0;){var y=m[d],f=o[y];if(f){var S=u[y],v=S===void 0||f(S,y,u);if(v!==!0)throw TypeError("option "+y+" must be "+v);continue}if(p!==!0)throw Error("Unknown option "+y)}}r.transitional=function(u,o,p){var m=o&&l(o);function d(y,f){return"[Axios v"+t.version+"] Transitional option '"+y+"'"+f+(p?". "+p:"")}return function(y,f,S){if(u===!1)throw Error(d(f," has been removed in "+o));return m&&!a[f]&&(a[f]=!0,console.warn(d(f," has been deprecated since v"+o+" and will be removed in the near future"))),!u||u(y,f,S)}},n.exports={isOlderVersion:l,assertOptions:s,validators:r}}),L("bTAft",function(n,e){n.exports=JSON.parse('{"_args":[["axios@0.21.4","/home/vitaly/Documents/work/gudhubclient/override_npm/gudhub"]],"_from":"axios@0.21.4","_id":"axios@0.21.4","_inBundle":false,"_integrity":"sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==","_location":"/axios","_phantomChildren":{},"_requested":{"type":"version","registry":true,"raw":"axios@0.21.4","name":"axios","escapedName":"axios","rawSpec":"0.21.4","saveSpec":null,"fetchSpec":"0.21.4"},"_requiredBy":["/"],"_resolved":"https://registry.npmjs.org/axios/-/axios-0.21.4.tgz","_spec":"0.21.4","_where":"/home/vitaly/Documents/work/gudhubclient/override_npm/gudhub","author":{"name":"Matt Zabriskie"},"browser":{"./lib/adapters/http.js":"./lib/adapters/xhr.js"},"bugs":{"url":"https://github.com/axios/axios/issues"},"bundlesize":[{"path":"./dist/axios.min.js","threshold":"5kB"}],"dependencies":{"follow-redirects":"^1.14.0"},"description":"Promise based HTTP client for the browser and node.js","devDependencies":{"coveralls":"^3.0.0","es6-promise":"^4.2.4","grunt":"^1.3.0","grunt-banner":"^0.6.0","grunt-cli":"^1.2.0","grunt-contrib-clean":"^1.1.0","grunt-contrib-watch":"^1.0.0","grunt-eslint":"^23.0.0","grunt-karma":"^4.0.0","grunt-mocha-test":"^0.13.3","grunt-ts":"^6.0.0-beta.19","grunt-webpack":"^4.0.2","istanbul-instrumenter-loader":"^1.0.0","jasmine-core":"^2.4.1","karma":"^6.3.2","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^2.1.0","karma-jasmine":"^1.1.1","karma-jasmine-ajax":"^0.1.13","karma-safari-launcher":"^1.0.0","karma-sauce-launcher":"^4.3.6","karma-sinon":"^1.0.5","karma-sourcemap-loader":"^0.3.8","karma-webpack":"^4.0.2","load-grunt-tasks":"^3.5.2","minimist":"^1.2.0","mocha":"^8.2.1","sinon":"^4.5.0","terser-webpack-plugin":"^4.2.3","typescript":"^4.0.5","url-search-params":"^0.10.0","webpack":"^4.44.2","webpack-dev-server":"^3.11.0"},"homepage":"https://axios-http.com","jsdelivr":"dist/axios.min.js","keywords":["xhr","http","ajax","promise","node"],"license":"MIT","main":"index.js","name":"axios","repository":{"type":"git","url":"git+https://github.com/axios/axios.git"},"scripts":{"build":"NODE_ENV=production grunt build","coveralls":"cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js","examples":"node ./examples/server.js","fix":"eslint --fix lib/**/*.js","postversion":"git push && git push --tags","preversion":"npm test","start":"node ./sandbox/server.js","test":"grunt test","version":"npm run build && grunt version && git add -A dist && git add CHANGELOG.md bower.json package.json"},"typings":"./index.d.ts","unpkg":"dist/axios.min.js","version":"0.21.4"}')}),L("g2liO",function(n,e){function t(r){this.message=r}t.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},t.prototype.__CANCEL__=!0,n.exports=t}),L("14PRn",function(n,e){var t=A("g2liO");function r(a){if(typeof a!="function")throw TypeError("executor must be a function.");this.promise=new Promise(function(s){i=s});var i,l=this;a(function(s){l.reason||(l.reason=new t(s),i(l.reason))})}r.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},r.source=function(){var a;return{token:new r(function(i){a=i}),cancel:a}},n.exports=r}),L("i3hBo",function(n,e){n.exports=function(t){return function(r){return t.apply(null,r)}}}),L("dhYWP",function(n,e){n.exports=function(t){return typeof t=="object"&&t.isAxiosError===!0}}),L("kfIQl",function(n,e){var t=typeof Symbol<"u"&&Symbol,r=A("lyEFc");n.exports=function(){return typeof t=="function"&&typeof Symbol=="function"&&typeof t("foo")=="symbol"&&typeof Symbol("bar")=="symbol"&&r()}}),L("lyEFc",function(n,e){n.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var t={},r=Symbol("test"),a=Object(r);if(typeof r=="string"||Object.prototype.toString.call(r)!=="[object Symbol]"||Object.prototype.toString.call(a)!=="[object Symbol]")return!1;var i=42;for(r in t[r]=i,t)return!1;if(typeof Object.keys=="function"&&Object.keys(t).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(t).length!==0)return!1;var l=Object.getOwnPropertySymbols(t);if(l.length!==1||l[0]!==r||!Object.prototype.propertyIsEnumerable.call(t,r))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var s=Object.getOwnPropertyDescriptor(t,r);if(s.value!==i||s.enumerable!==!0)return!1}return!0}}),L("bJ3CN",function(n,e){var t={__proto__:null,foo:{}},r=Object;n.exports=function(){return{__proto__:t}.foo===t.foo&&!(t instanceof r)}}),L("9cNUg",function(n,e){var t=A("hGGZx"),r=function(){return!!t};r.hasArrayLengthDefineBug=function(){if(!t)return null;try{return t([],"length",{value:1}).length!==1}catch{return!0}},n.exports=r}),L("hGGZx",function(n,e){var t=A("hMrGw")("%Object.defineProperty%",!0)||!1;if(t)try{t({},"a",{value:1})}catch{t=!1}n.exports=t}),L("hMrGw",function(n,e){var t=A("dUpie"),r=A("48xLS"),a=A("4Vqmv"),i=A("7x6DQ"),l=A("kPNod"),s=A("b9GfH"),u=A("8DBKi"),o=Function,p=function(H){try{return o('"use strict"; return ('+H+").constructor;")()}catch{}},m=Object.getOwnPropertyDescriptor;if(m)try{m({},"")}catch{m=null}var d=function(){throw new s},y=m?function(){try{return arguments.callee,d}catch{try{return m(arguments,"callee").get}catch{return d}}}():d,f=A("kfIQl")(),S=A("bJ3CN")(),v=Object.getPrototypeOf||(S?function(H){return H.__proto__}:null),w={},g=typeof Uint8Array<"u"&&v?v(Uint8Array):void 0,_={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?void 0:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?void 0:ArrayBuffer,"%ArrayIteratorPrototype%":f&&v?v([][Symbol.iterator]()):void 0,"%AsyncFromSyncIteratorPrototype%":void 0,"%AsyncFunction%":w,"%AsyncGenerator%":w,"%AsyncGeneratorFunction%":w,"%AsyncIteratorPrototype%":w,"%Atomics%":typeof Atomics>"u"?void 0:Atomics,"%BigInt%":typeof BigInt>"u"?void 0:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?void 0:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?void 0:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?void 0:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":t,"%eval%":eval,"%EvalError%":r,"%Float32Array%":typeof Float32Array>"u"?void 0:Float32Array,"%Float64Array%":typeof Float64Array>"u"?void 0:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?void 0:FinalizationRegistry,"%Function%":o,"%GeneratorFunction%":w,"%Int8Array%":typeof Int8Array>"u"?void 0:Int8Array,"%Int16Array%":typeof Int16Array>"u"?void 0:Int16Array,"%Int32Array%":typeof Int32Array>"u"?void 0:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":f&&v?v(v([][Symbol.iterator]())):void 0,"%JSON%":typeof JSON=="object"?JSON:void 0,"%Map%":typeof Map>"u"?void 0:Map,"%MapIteratorPrototype%":typeof Map<"u"&&f&&v?v(new Map()[Symbol.iterator]()):void 0,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?void 0:Promise,"%Proxy%":typeof Proxy>"u"?void 0:Proxy,"%RangeError%":a,"%ReferenceError%":i,"%Reflect%":typeof Reflect>"u"?void 0:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?void 0:Set,"%SetIteratorPrototype%":typeof Set<"u"&&f&&v?v(new Set()[Symbol.iterator]()):void 0,"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?void 0:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":f&&v?v(""[Symbol.iterator]()):void 0,"%Symbol%":f?Symbol:void 0,"%SyntaxError%":l,"%ThrowTypeError%":y,"%TypedArray%":g,"%TypeError%":s,"%Uint8Array%":typeof Uint8Array>"u"?void 0:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?void 0:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?void 0:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?void 0:Uint32Array,"%URIError%":u,"%WeakMap%":typeof WeakMap>"u"?void 0:WeakMap,"%WeakRef%":typeof WeakRef>"u"?void 0:WeakRef,"%WeakSet%":typeof WeakSet>"u"?void 0:WeakSet};if(v)try{null.error}catch(H){var $=v(v(H));_["%Error.prototype%"]=$}var x=function H(ie){var ee;if(ie==="%AsyncFunction%")ee=p("async function () {}");else if(ie==="%GeneratorFunction%")ee=p("function* () {}");else if(ie==="%AsyncGeneratorFunction%")ee=p("async function* () {}");else if(ie==="%AsyncGenerator%"){var k=H("%AsyncGeneratorFunction%");k&&(ee=k.prototype)}else if(ie==="%AsyncIteratorPrototype%"){var O=H("%AsyncGenerator%");O&&v&&(ee=v(O.prototype))}return _[ie]=ee,ee},T={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},P=A("hweMw"),D=A("23C6u"),R=P.call(Function.call,Array.prototype.concat),I=P.call(Function.apply,Array.prototype.splice),F=P.call(Function.call,String.prototype.replace),C=P.call(Function.call,String.prototype.slice),B=P.call(Function.call,RegExp.prototype.exec),V=/[^%.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|(["'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|%$))/g,X=/\\\\(\\\\)?/g,oe=function(H){var ie=C(H,0,1),ee=C(H,-1);if(ie==="%"&&ee!=="%")throw new l("invalid intrinsic syntax, expected closing \`%\`");if(ee==="%"&&ie!=="%")throw new l("invalid intrinsic syntax, expected opening \`%\`");var k=[];return F(H,V,function(O,N,K,se){k[k.length]=K?F(se,X,"$1"):N||O}),k},we=function(H,ie){var ee,k=H;if(D(T,k)&&(k="%"+(ee=T[k])[0]+"%"),D(_,k)){var O=_[k];if(O===w&&(O=x(k)),O===void 0&&!ie)throw new s("intrinsic "+H+" exists, but is not available. Please file an issue!");return{alias:ee,name:k,value:O}}throw new l("intrinsic "+H+" does not exist!")};n.exports=function(H,ie){if(typeof H!="string"||H.length===0)throw new s("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof ie!="boolean")throw new s('"allowMissing" argument must be a boolean');if(B(/^%?[^%]*%?$/,H)===null)throw new l("\`%\` may not be present anywhere but at the beginning and end of the intrinsic name");var ee=oe(H),k=ee.length>0?ee[0]:"",O=we("%"+k+"%",ie),N=O.name,K=O.value,se=!1,te=O.alias;te&&(k=te[0],I(ee,R([0,1],te)));for(var J=1,ce=!0;J<ee.length;J+=1){var re=ee[J],fe=C(re,0,1),Ae=C(re,-1);if((fe==='"'||fe==="'"||fe==="\`"||Ae==='"'||Ae==="'"||Ae==="\`")&&fe!==Ae)throw new l("property names with quotes must have matching quotes");if(re!=="constructor"&&ce||(se=!0),k+="."+re,D(_,N="%"+k+"%"))K=_[N];else if(K!=null){if(!(re in K)){if(!ie)throw new s("base intrinsic for "+H+" exists, but the property is not available.");return}if(m&&J+1>=ee.length){var Ie=m(K,re);K=(ce=!!Ie)&&"get"in Ie&&!("originalValue"in Ie.get)?Ie.get:K[re]}else ce=D(K,re),K=K[re];ce&&!se&&(_[N]=K)}}return K}}),L("dUpie",function(n,e){n.exports=Error}),L("48xLS",function(n,e){n.exports=EvalError}),L("4Vqmv",function(n,e){n.exports=RangeError}),L("7x6DQ",function(n,e){n.exports=ReferenceError}),L("kPNod",function(n,e){n.exports=SyntaxError}),L("b9GfH",function(n,e){n.exports=TypeError}),L("8DBKi",function(n,e){n.exports=URIError}),L("hweMw",function(n,e){var t=A("2Eytq");n.exports=Function.prototype.bind||t}),L("2Eytq",function(n,e){var t="Function.prototype.bind called on incompatible ",r=Object.prototype.toString,a=Math.max,i="[object Function]",l=function(o,p){for(var m=[],d=0;d<o.length;d+=1)m[d]=o[d];for(var y=0;y<p.length;y+=1)m[y+o.length]=p[y];return m},s=function(o,p){for(var m=[],d=p,y=0;d<o.length;d+=1,y+=1)m[y]=o[d];return m},u=function(o,p){for(var m="",d=0;d<o.length;d+=1)m+=o[d],d+1<o.length&&(m+=p);return m};n.exports=function(o){var p,m=this;if(typeof m!="function"||r.apply(m)!==i)throw TypeError(t+m);for(var d=s(arguments,1),y=function(){if(this instanceof p){var g=m.apply(this,l(d,arguments));return Object(g)===g?g:this}return m.apply(o,l(d,arguments))},f=a(0,m.length-d.length),S=[],v=0;v<f;v++)S[v]="$"+v;if(p=Function("binder","return function ("+u(S,",")+"){ return binder.apply(this,arguments); }")(y),m.prototype){var w=function(){};w.prototype=m.prototype,p.prototype=new w,w.prototype=null}return p}}),L("23C6u",function(n,e){var t=Function.prototype.call,r=Object.prototype.hasOwnProperty,a=A("hweMw");n.exports=a.call(t,r)}),L("5ZWAZ",function(n,e){function t(r){return n.exports=t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(a){return typeof a}:function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},n.exports.__esModule=!0,n.exports.default=n.exports,t(r)}n.exports=t,n.exports.__esModule=!0,n.exports.default=n.exports}),L("fgq5y",function(n,e){var t=A("f3Ywx").default;Object.defineProperty(n.exports,"__esModule",{value:!0}),n.exports.default=l;var r=t(A("a9VQw")),a=t(A("glRwo")),i=t(A("ayR3G"));function l(s,u){(0,i.default)(2,arguments);var o=(0,a.default)(s),p=(0,r.default)(u);return isNaN(p)?new Date(NaN):(p&&o.setDate(o.getDate()+p),o)}n.exports=n.exports.default}),L("f3Ywx",function(n,e){function t(r){return r&&r.__esModule?r:{default:r}}n.exports=t,n.exports.__esModule=!0,n.exports.default=n.exports}),L("a9VQw",function(n,e){function t(r){if(r===null||r===!0||r===!1)return NaN;var a=Number(r);return isNaN(a)?a:a<0?Math.ceil(a):Math.floor(a)}Object.defineProperty(n.exports,"__esModule",{value:!0}),n.exports.default=t,n.exports=n.exports.default}),L("glRwo",function(n,e){var t=A("f3Ywx").default;Object.defineProperty(n.exports,"__esModule",{value:!0}),n.exports.default=i;var r=t(A("5ZWAZ")),a=t(A("ayR3G"));function i(l){(0,a.default)(1,arguments);var s=Object.prototype.toString.call(l);return l instanceof Date||(0,r.default)(l)==="object"&&s==="[object Date]"?new Date(l.getTime()):typeof l=="number"||s==="[object Number]"?new Date(l):((typeof l=="string"||s==="[object String]")&&typeof console<"u"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use \`parseISO\` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(Error().stack)),new Date(NaN))}n.exports=n.exports.default}),L("ayR3G",function(n,e){function t(r,a){if(a.length<r)throw TypeError(r+" argument"+(r>1?"s":"")+" required, but only "+a.length+" present")}Object.defineProperty(n.exports,"__esModule",{value:!0}),n.exports.default=t,n.exports=n.exports.default}),L("byyO9",function(n,e){var t=A("f3Ywx").default;Object.defineProperty(n.exports,"__esModule",{value:!0}),n.exports.default=l;var r=t(A("a9VQw")),a=t(A("glRwo")),i=t(A("ayR3G"));function l(s,u){(0,i.default)(2,arguments);var o=(0,a.default)(s),p=(0,r.default)(u);if(isNaN(p))return new Date(NaN);if(!p)return o;var m=o.getDate(),d=new Date(o.getTime());return d.setMonth(o.getMonth()+p+1,0),m>=d.getDate()?d:(o.setFullYear(d.getFullYear(),d.getMonth(),m),o)}n.exports=n.exports.default}),L("hLz6R",function(n,e){var t=A("f3Ywx").default;Object.defineProperty(n.exports,"__esModule",{value:!0}),n.exports.default=s;var r=t(A("glRwo")),a=t(A("a9VQw")),i=t(A("ayR3G")),l=A("lmyOi");function s(u,o){(0,i.default)(1,arguments);var p,m,d,y,f,S,v,w,g=(0,l.getDefaultOptions)(),_=(0,a.default)((p=(m=(d=(y=o==null?void 0:o.weekStartsOn)!==null&&y!==void 0?y:o==null||(f=o.locale)===null||f===void 0||(S=f.options)===null||S===void 0?void 0:S.weekStartsOn)!==null&&d!==void 0?d:g.weekStartsOn)!==null&&m!==void 0?m:(v=g.locale)===null||v===void 0||(w=v.options)===null||w===void 0?void 0:w.weekStartsOn)!==null&&p!==void 0?p:0);if(!(_>=0&&_<=6))throw RangeError("weekStartsOn must be between 0 and 6 inclusively");var $=(0,r.default)(u),x=$.getDay(),T=(x<_?7:0)+x-_;return $.setDate($.getDate()-T),$.setHours(0,0,0,0),$}n.exports=n.exports.default}),L("lmyOi",function(n,e){Object.defineProperty(n.exports,"__esModule",{value:!0}),n.exports.getDefaultOptions=r,n.exports.setDefaultOptions=a;var t={};function r(){return t}function a(i){t=i}}),L("kmcAT",function(n,e){A("akXK4"),A("5xozB")}),L("akXK4",function(n,e){n.exports=A("1ufAB")}),L("5xozB",function(n,e){Pr(n.exports,"IS_BROWSER_MAIN_THREAD",()=>r),Pr(n.exports,"IS_BROWSER",()=>i);var t=A("2dKjk");let r=typeof window<"u"&&typeof document<"u",a=typeof self=="object"&&typeof WorkerGlobalScope<"u",i=r||a;t!==void 0&&t.versions!=null&&t.versions.node});var me=A("5xozB");let ca="https://gudhub.com/GudHub_Test",ua="wss://gudhub.com/GudHub/ws/app/",pa="https://gudhub.com/api/services/prod",da="build/latest/async_modules_node/",fa="build/latest/automation_modules/",ha="https://gudhub.com",Cr=!0,Nr=!1,Ke=!0;me.IS_BROWSER||(Ke=!1);var me=A("5xozB");class Mr{}class $t extends Mr{constructor(e,t,r){super(),this.chunkDataService=new vt(e,Gt,r),this.gudhub=r}isWithCache(){return!1}async processRequestedApp(e,t){if(!this.isWithCache()){let r=await this.chunkDataService.getMergedChunkForIDList(e,t.chunks);return r&&(t.items_list=await this.gudhub.util.mergeChunks([r,t])),t}}}class ma{constructor(e){this.req=e}async getApp(e){return this.req.get({url:"/api/app/get",params:{app_id:e}})}}let Rr=(n,...e)=>{for(let t of e)if(t)for(let r of Object.keys(t)){let a=Object.getOwnPropertyDescriptor(t,r);a.enumerable&&Object.defineProperty(n,r,a)}};class St{}class He extends $t{constructor(e,t,r){super(e,t,r),this.appApi=new ma(e),Rr(this,new St(t))}async getApp(e){let t=await this.appApi.getApp(e);return this.processRequestedApp(e,t)}async getAppWithoutProcessing(e){return this.appApi.getApp(e)}async putApp(e,t){}static[Symbol.hasInstance](e){try{return e instanceof He||e instanceof St}catch{return!1}}}class Fr extends Mr{getMergedChunkForIDList(e){}isWithCache(){return!1}}class ga{constructor(e){this.req=e}async getChunk(e,t){return this.req.get({url:\`\${this.req.root}/api/get-items-chunk/\${e}/\${t}\`,method:"GET"})}async getLastChunk(e){return this.req.axiosRequest({url:\`\${this.req.root}/api/get-last-items-chunk/\${e}\`,method:"GET"})}}class xt extends Fr{constructor(e,t){super(),this.chunkApi=new ga(e),Rr(this,new St(t))}async getChunk(e,t){return this.chunkApi.getChunk(e,t)}async getChunksForId(e){return[]}getCachedMergedChunk(e,t){}getMergedChunkForIDList(e,t){}putChunk(){}static[Symbol.hasInstance](e){try{return e instanceof xt||e instanceof St}catch{return!1}}}let Et={store:"apps"},Ht={store:"chunks"},ya="gudhub",zt={store:"chunksMergeCache"};class _a{}class ze extends _a{constructor(e,t){if(super(),ze.dbNameToInstanceMap||(ze.dbNameToInstanceMap=new Map),ze.dbNameToInstanceMap.has(e))return ze.dbNameToInstanceMap.get(e);this.db=null,this.dbName=e,this.storeNameList=t,ze.dbNameToInstanceMap.set(e,this)}async checkAndCreateStore(e){let t=(await indexedDB.databases()).find(i=>i.name===this.dbName),r=!1,a=this;return t&&(r=await new Promise((i,l)=>{let s=indexedDB.open(a.dbName);s.onsuccess=function(u){let o=u.target.result,p=o.objectStoreNames.contains(e);o.close(),i(p)},s.onerror=function(u){l(u.target.error)}})),!!r||new Promise((i,l)=>{let s=indexedDB.open(a.dbName,t?t.version+1:1);s.onupgradeneeded=function(u){let o=u.target.result;o.objectStoreNames.contains(e)||o.createObjectStore(e)},s.onsuccess=function(u){u.target.result.close(),i()},s.onerror=l})}async openDB(){let e,t;if(this.db)return this.db;let r=new Promise((l,s)=>{e=l,t=s});for(let l of this.storeNameList)await this.checkAndCreateStore(l);let a=this,i=indexedDB.open(this.dbName);return i.onsuccess=l=>{a.db=l.target.result,e(this.db)},i.onerror=t,r}async executeOperation(e,t){let r=await this.openDB();return new Promise((a,i)=>{let l=r.transaction(e,"readwrite"),s=l.objectStore(e);l.oncomplete=()=>a(),l.onerror=u=>i(\`Transaction failed: \${u.target.error}\`);try{t(s)}catch(u){i(\`Operation failed: \${u.message}\`)}})}}let Lr=new ze(ya,[Et.store,Ht.store,zt.store]);class Dr{constructor(e,t){this.storeBackend=e,this.storeName=t}async addItem(e,t){return new Promise(async(r,a)=>{this.storeBackend.executeOperation(this.storeName,i=>{let l=i.add(t,e);l.onsuccess=r,l.onerror=a})})}async putItem(e,t){return new Promise(async(r,a)=>{this.storeBackend.executeOperation(this.storeName,i=>{let l=i.put(t,e);l.onsuccess=r,l.onerror=a})})}async hasItem(e){try{return!!await this.getItem(e)}catch{return!1}}async getItem(e){return new Promise(async(t,r)=>{this.storeBackend.executeOperation(this.storeName,a=>{let i=a.get(e);i.onsuccess=()=>{t(i.result)},i.onerror=r})})}async updateItem(e,t){return new Promise(async(r,a)=>{this.storeBackend.executeOperation(this.storeName,i=>{let l=i.get(e);l.onsuccess=()=>{let s=l.result;Object.assign(s,t),i.put(s,e),r()},l.onerror=a})})}async deleteItem(e){return new Promise(async(t,r)=>{this.storeBackend.executeOperation(this.storeName,a=>{let i=a.delete(e);i.onsuccess=t,i.onerror=r})})}}class qr extends Dr{constructor(){super(Lr,Et.store)}async getApp(e){return this.getItem(e)}async addApp(e,t){return this.addItem(e,t)}async putApp(e,t){return this.putItem(e,t)}async hasApp(e){return this.hasItem(e)}async deleteApp(e){return this.deleteItem(e)}}class ba extends Dr{constructor(){super(Lr,zt.store)}async get(e){return this.getItem(e)}async add(e,t){return this.addItem(e,t)}async put(e,t){return this.putItem(e,t)}async delete(e){return this.deleteItem(e)}}class st extends Fr{constructor(e,t,r){super(e,t),this.dataService=new xt(e),this.requestCache=new Map,this.gudhub=r,this.storeManager=new ba}static[Symbol.hasInstance](e){try{return e instanceof st}catch{return!1}}async getCachedMergedChunk(e,t){try{return(await this.storeManager.get(e)).mergedData}catch{let a=t.map(s=>this.dataService.getChunk(e,s)),i=await Promise.all(a),l=await this.gudhub.util.mergeChunks(i);return this.putMergedChunks(e,{hashes:t,mergedData:{items_list:l}}),{items_list:l}}}isWithCache(){return!0}async getMergedChunkForApp(e){}async getMergedChunkForIDList(e,t){try{let r,a=!0,i=await this.storeManager.get(e);try{if(t.length<i.hashes.length)throw Error();for(let u of i.hashes)t.indexOf(u)!=i.hashes.indexOf(u)&&(a=!1)}catch{a=!1}let l=[],s=[];if(t.length>i.hashes.length&&(l=t.slice(i.hashes.length)),a||(l=t),l.length>0){let u=l.map(o=>this.dataService.getChunk(e,o));s=await Promise.all(u)}return a||(r=await this.gudhub.util.mergeChunks([...s])),a&&(r=await this.gudhub.util.mergeChunks([i.mergedData,...s])),l.length>0&&this.putMergedChunks(e,{hashes:t,mergedData:{items_list:r}}),{items_list:r}}catch{let a=t.map(s=>this.dataService.getChunk(e,s)),i=await Promise.all(a),l=await this.gudhub.util.mergeChunks(i);return this.putMergedChunks(e,{hashes:t,mergedData:{items_list:l}}),{items_list:l}}}async putMergedChunks(e,t){return this.storeManager.put(e,t)}}let xe={INIT:1,REQUEST_APP:2,PROCESS_DATA:3,DECLINE_PROCESS_DATA_REQUEST:4};class Vt extends $t{constructor(e,t,r){super(e,t,r),this.dataService=new He(e,t,r),this.requestCache=new Map,this.gudhub=r,this.resolveFnMap=new Map,this.appRequestAndProcessWorker=new AppRequestWorkerScript,this.appRequestAndProcessWorker.postMessage({type:xe.INIT,gudhubSerialized:this.gudhub.serialized});let a=this;this.appRequestAndProcessWorker.onerror=function(i){},this.appRequestAndProcessWorker.onmessage=function(i){i.data.type==xe.REQUEST_APP&&a.resolveFnMap.has(i.data.id)&&a.resolveFnMap.get(i.data.id)(i.data.data),i.data.type==xe.PROCESS_DATA&&(a.gudhub.itemProcessor.handleDiff(i.data.id,i.data.compareRes),(i.data.viewListChanged||i.data.fieldListChanged)&&a.gudhub.appProcessor.updateAppFieldsAndViews(i.data.newVersion))},this.isWithCache(),this.storeManager=new qr}static[Symbol.hasInstance](e){try{return e instanceof Vt}catch{return!1}}isWithCache(){return!0}async getApp(e){if(this.requestCache.has(e))return this.requestCache.get(e);let t=this;await this.has(e);{let r=new Promise((a,i)=>{t.resolveFnMap.set(e,a)});return this.requestCache.set(e,r),this.appRequestAndProcessWorker.postMessage({type:xe.REQUEST_APP,id:e}),r}}async getCached(e){return this.storeManager.getApp(e)}async has(e){try{return this.storeManager.hasApp(e)}catch{}}async putApp(e,t){return this.storeManager.putApp(e,t)}}class Br extends $t{constructor(e,t,r){super(e,t,r),this.dataService=new He(e,null,r),this.requestCache=new Map,this.gudhub=r}isWithCache(){return!1}async getAppWithoutProcessing(e){let t=await this.dataService.getAppWithoutProcessing(e);return await this.putApp(e,t),t}async getApp(e){let t;if(this.requestCache.has(e))return this.requestCache.get(e);let r=new Promise((l,s)=>{t=l});this.requestCache.set(e,r);let a=await this.dataService.getAppWithoutProcessing(e),i=await this.processRequestedApp(e,a);return t(i),i}async has(e){return!1}async getCached(e){throw Error()}async putApp(e,t){throw Error()}}class va extends $t{constructor(e,t,r){super(e,t,r),this.dataService=new He(e,t,r),this.requestCache=new Map,this.gudhub=r,this.resolveFnMap=new Map,this.appRequestAndProcessWorker=new AppRequestWorkerScript,this.appRequestAndProcessWorker.postMessage({type:xe.INIT,gudhubSerialized:this.gudhub.serialized});let a=this;this.appRequestAndProcessWorker.onerror=function(i){},this.appRequestAndProcessWorker.onmessage=function(i){i.data.type==xe.REQUEST_APP&&a.resolveFnMap.has(i.data.id)&&a.resolveFnMap.get(i.data.id)(i.data.data),i.data.type==xe.PROCESS_DATA&&(a.gudhub.itemProcessor.handleDiff(i.data.id,i.data.compareRes),(i.data.viewListChanged||i.data.fieldListChanged)&&a.gudhub.appProcessor.updateAppFieldsAndViews(i.data.newVersion))},this.isWithCache(),this.storeManager=new qr}static[Symbol.hasInstance](e){try{return e instanceof Vt}catch{return!1}}isWithCache(){return!1}async getApp(e){if(this.requestCache.has(e))return this.requestCache.get(e);let t=new Promise((r,a)=>{self.resolveFnMap.set(e,r)});return this.requestCache.set(e,t),this.appRequestAndProcessWorker.postMessage({type:xe.REQUEST_APP,id:e}),t}async getCached(e){return this.storeManager.getApp(e)}async has(e){try{return this.storeManager.hasApp(e)}catch{}}async putApp(e,t){return this.storeManager.putApp(e,t)}}A("5xozB"),me.IS_BROWSER,me.IS_BROWSER&&Ke&&(Ut=va,Tr=Et),me.IS_BROWSER||(Ut=He),Ke&&(Ur=Br),me.IS_BROWSER&&Cr&&!Ke&&(vt=st,Gt=Ht),me.IS_BROWSER&&Cr&&Ke&&(vt=st,Gt=Ht),me.IS_BROWSER||(vt=xt);let Ur=Br,wa=st;var me=A("5xozB");class Gr{constructor(e,t,r,a,i,l,s){this.storage=e,this.pipeService=t,this.req=r,this.ws=a,this.applistReceived=!1,this.activateSW=l,this.util=i,this.appListeners(),this.dataService=s,this.appRequestCache=new Map}async createNewAppApi(e){try{let t=await this.req.post({url:"/api/app/create",form:{app:JSON.stringify(e)}});return t.from_apps_list=!0,t}catch(t){return console.log(t),null}}async updateAppApi(e){try{return await this.req.post({url:"/api/app/update",form:{app:JSON.stringify(e)}})}catch(t){return console.log(t),null}}async deleteAppApi(e){try{return await this.req.post({url:"/api/app/delete",form:{app_id:e}})}catch(t){return console.log(t),null}}async getAppListApi(){try{return(await this.req.get({url:"/api/applist/get"})).apps_list.map(e=>(e.from_apps_list=!0,e))}catch(e){return console.log(e),null}}getAppListFromStorage(){return this.storage.getAppsList()}getAppFromStorage(e){let t=this.storage.getApp(e);return t&&t.field_list.length?t:null}addNewAppToStorage(e){return this.storage.getAppsList().push(e)}saveAppInStorage(e){e.items_object={};for(let r=0;r<e.items_list.length;r++){e.items_object[e.items_list[r].item_id]={};for(let a=0;a<e.items_list[r].fields.length;a++)e.items_object[e.items_list[r].item_id][e.items_list[r].fields[a].field_id]=e.items_list[r].fields[a]}let t=this.storage.getApp(e.app_id);return t?(e.from_apps_list=t.from_apps_list,e.permission=t.permission,this.storage.updateApp(e)):(e.from_apps_list=!1,this.addNewAppToStorage(e)),this.getAppFromStorage(e.app_id)}updateAppFieldsAndViews(e){let t=this.getAppFromStorage(e.app_id);e.items_list=t.items_list,e.file_list=t.file_list,e.from_apps_list=t.from_apps_list,e.items_object=t.items_object,this.storage.updateApp(e),this.pipeService.emit("gh_app_views_update",{app_id:e.app_id},e.views_list),e.field_list.forEach(r=>{this.pipeService.emit("gh_model_update",{app_id:e.app_id,field_id:r.field_id},r)})}updateAppInStorage(e){this.storage.getApp(e.app_id)?(this.storage.updateApp(e),this.pipeService.emit("gh_app_update",{app_id:e.app_id},e),this.pipeService.emit("gh_items_update",{app_id:e.app_id},e.items_list)):this.addNewAppToStorage(e)}deletingAppFromStorage(e){let t=this.storage.getAppsList();return t.forEach((r,a)=>{r.app_id==e&&t.splice(a)}),t}updateAppsListInStorage(e=[]){for(let t of e){let r=this.storage.getApp(t.app_id);r?(r.from_apps_list=t.from_apps_list,r.permission=t.permission):this.addNewAppToStorage(t)}}async refreshApps(e=[]){for(let t of e)if(t!=null)try{let r=await this.dataService.getApp(t);if(r){r.items_object={};for(let a=0;a<r.items_list.length;a++){r.items_object[r.items_list[a].item_id]={};for(let i=0;i<r.items_list[a].fields.length;i++)r.items_object[r.items_list[a].item_id][r.items_list[a].fields[i].field_id]=r.items_list[a].fields[i]}this.updateAppInStorage(r),this.pipeService.emit("gh_app_views_update",{app_id:r.app_id},r.views_list)}}catch(r){console.log(r)}console.log("Apps refreshed: ",JSON.stringify(e))}async refreshAppsList(){let e=this.getAppListFromStorage(),t=(await this.getAppListApi()).map(r=>({...r,...e.find(a=>a.app_id===r.app_id)}));this.updateAppsListInStorage(t),this.pipeService.emit("gh_apps_list_refreshed",{})}async getAppsList(){let e=this.getAppListFromStorage();if(!this.applistReceived){let t=await this.getAppListApi();if(!t)return null;this.updateAppsListInStorage(t),this.applistReceived=!0,e=t}return e}async getAppInfo(e){let t=await this.getAppsList();return t?t.find(r=>r.app_id==e):null}async deleteApp(e){return await this.deleteAppApi(e),this.deletingAppFromStorage(e)}async getApp(e,t=!1){if(!e)return null;let r=this.getAppFromStorage(e);if(r)return r;if(this.appRequestCache.has(e))return this.appRequestCache.get(e);let a=this,i=new Promise(async(l,s)=>{try{let u=await a.dataService.getApp(e);u||s();let o=t?u:{...u,items_list:u.items_list.filter(p=>!p.trash)};o=t?o:{...o,field_list:o.field_list.filter(p=>!p.trash)},l(o),a.saveAppInStorage(o),a.ws.addSubscription(e)}catch{s()}});return a.appRequestCache.set(e,i),i}async updateApp(e){if(!e.views_list||!e.views_list.length||!e.show){let r=await this.getApp(e.app_id);e.views_list&&e.views_list.length||(e.views_list=r.views_list),e.show===void 0&&(e.show=r.show)}let t=await this.updateAppApi(e);return this.updateAppFieldsAndViews(t),t}async updateAppInfo(e={}){return this.pipeService.emit("gh_app_info_update",{app_id:e.app_id},e),this.updateApp(e)}async createNewApp(e){let t=await this.createNewAppApi(e);return t.items_object={},this.addNewAppToStorage(t),t}async getAppViews(e){if(e)return(await this.getApp(e)).views_list}clearAppProcessor(){this.getAppListPromises=null,this.getAppPromises={},this.applistReceived=!1}appListeners(){this.pipeService.onRoot("gh_app_get",{},async(e,t)=>{if(t&&t.app_id){let r=await this.getApp(t.app_id);this.pipeService.emit("gh_app_get",t,r)}}),this.pipeService.onRoot("gh_apps_list_get",{},async(e,t)=>{let r=await this.getAppsList();this.pipeService.emit("gh_apps_list_get",t,r)}),this.pipeService.onRoot("gh_delete_app",{},async(e,t)=>{let r=await this.deleteApp(t.app_id);this.pipeService.emit("gh_apps_list_update",{recipient:"all"},r)}),this.pipeService.onRoot("gh_app_update",{},async(e,t)=>{t.app.items_list=[],t.app.file_list=[];let r=await this.updateApp(t.app);this.pipeService.emit("gh_app_views_update",{app_id:r.app_id},r.views_list);let a=await this.getAppsList();this.pipeService.emit("gh_apps_list_update",{recipient:"all"},a),r.field_list.forEach(i=>{this.pipeService.emit("gh_model_update",{app_id:r.app_id,field_id:i.field_id},i)})}),this.pipeService.onRoot("gh_app_view_get",{},async(e,t)=>{if(t&&t.app_id){let r=await this.getApp(t.app_id);r.views_list.forEach((a,i)=>{a.view_id==t.view_id&&this.pipeService.emit("gh_app_view_get",t,r.views_list[i])})}}),this.pipeService.onRoot("gh_app_info_get",{},async(e,t)=>{let r=await this.getAppInfo(t.app_id);r&&this.pipeService.emit("gh_app_info_get",t,r)}),this.pipeService.onRoot("gh_app_info_update",{},async(e,t)=>{if(t&&t.app){let r=await this.updateAppInfo(t.app);this.pipeService.emit("gh_app_info_update",{app_id:t.app.app_id},r)}}),this.pipeService.onRoot("gh_app_create",{},async(e,t)=>{await this.createNewApp(t.app);let r=await this.getAppsList();this.pipeService.emit("gh_apps_list_update",{recipient:"all"},r)}),me.IS_BROWSER_MAIN_THREAD&&this.activateSW&&navigator.serviceWorker.addEventListener("message",async e=>{if(e.data.type==="refresh app"){let t=await this.getApp(e.data.payload.app_id);t&&this.util.compareAppsItemsLists(t.items_list,e.data.payload.items_list.filter(r=>!r.trash),({diff_fields_items:r,diff_fields_items_Ids:a,diff_items:i,newItems:l,deletedItems:s})=>{(i.length||l.length||s.length)&&(this.pipeService.emit("gh_items_update",{app_id:e.data.payload.app_id},e.data.payload.items_list.filter(u=>!u.trash)),i.forEach(u=>this.pipeService.emit("gh_item_update",{app_id:e.data.payload.app_id,item_id:u.item_id},u))),a.forEach(u=>{let o=r[u];o&&o.forEach(p=>{this.pipeService.emit("gh_value_update",{app_id:e.data.payload.app_id,item_id:u,field_id:p.field_id},p.field_value)})})}),e.data.payload.items_list=await this.util.mergeChunks([t,e.data.payload]),this.saveAppInStorage(e.data.payload)}})}}var gt=A("akXK4");function Wr(n=[]){return n.filter(e=>e.field_value!=null)}function $a(n={}){let e=Object.entries(n);return e.length?\`&\${e.map(([t,r])=>\`\${t}=\${r}\`).join("&")}\`:""}var kt={},Hr={},Jt={},ve=A("hMrGw"),Ve={},ve=A("hMrGw"),ot={},Qt=A("hweMw"),ve=A("hMrGw"),zr={},ve=A("hMrGw"),Yt={},ct=A("hGGZx"),Sa=A("kPNod"),$e=A("b9GfH"),lt={},ve=A("hMrGw"),At=ve("%Object.getOwnPropertyDescriptor%",!0);if(At)try{At([],"length")}catch{At=null}lt=At,Yt=function(n,e,t){if(!n||typeof n!="object"&&typeof n!="function")throw new $e("\`obj\` must be an object or a function\`");if(typeof e!="string"&&typeof e!="symbol")throw new $e("\`property\` must be a string or a symbol\`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new $e("\`nonEnumerable\`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new $e("\`nonWritable\`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new $e("\`nonConfigurable\`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new $e("\`loose\`, if provided, must be a boolean");var r=arguments.length>3?arguments[3]:null,a=arguments.length>4?arguments[4]:null,i=arguments.length>5?arguments[5]:null,l=arguments.length>6&&arguments[6],s=!!lt&&lt(n,e);if(ct)ct(n,e,{configurable:i===null&&s?s.configurable:!i,enumerable:r===null&&s?s.enumerable:!r,value:t,writable:a===null&&s?s.writable:!a});else{if(!l&&(r||a||i))throw new Sa("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");n[e]=t}};var xa=A("9cNUg")(),$e=A("b9GfH"),Ea=ve("%Math.floor%");zr=function(n,e){if(typeof n!="function")throw new $e("\`fn\` is not a function");if(typeof e!="number"||e<0||e>4294967295||Ea(e)!==e)throw new $e("\`length\` must be a positive 32-bit integer");var t=arguments.length>2&&!!arguments[2],r=!0,a=!0;if("length"in n&&lt){var i=lt(n,"length");i&&!i.configurable&&(r=!1),i&&!i.writable&&(a=!1)}return(r||a||!t)&&(xa?Yt(n,"length",e,!0,!0):Yt(n,"length",e)),n};var $e=A("b9GfH"),Vr=ve("%Function.prototype.apply%"),Jr=ve("%Function.prototype.call%"),Qr=ve("%Reflect.apply%",!0)||Qt.call(Jr,Vr),ct=A("hGGZx"),ka=ve("%Math.max%");ot=function(n){if(typeof n!="function")throw new $e("a function is required");var e=Qr(Qt,Jr,arguments);return zr(e,1+ka(0,n.length-(arguments.length-1)),!0)};var Yr=function(){return Qr(Qt,Vr,arguments)};ct?ct(ot,"apply",{value:Yr}):ot.apply=Yr;var Aa=ot(ve("String.prototype.indexOf"));Ve=function(n,e){var t=ve(n,!!e);return typeof t=="function"&&Aa(n,".prototype.")>-1?ot(t):t};var Xr={},Xt=typeof Map=="function"&&Map.prototype,Kt=Object.getOwnPropertyDescriptor&&Xt?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,It=Xt&&Kt&&typeof Kt.get=="function"?Kt.get:null,Kr=Xt&&Map.prototype.forEach,Zt=typeof Set=="function"&&Set.prototype,er=Object.getOwnPropertyDescriptor&&Zt?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,Ot=Zt&&er&&typeof er.get=="function"?er.get:null,Zr=Zt&&Set.prototype.forEach,Ia=typeof WeakMap=="function"&&WeakMap.prototype,ut=Ia?WeakMap.prototype.has:null,Oa=typeof WeakSet=="function"&&WeakSet.prototype,pt=Oa?WeakSet.prototype.has:null,ja=typeof WeakRef=="function"&&WeakRef.prototype,en=ja?WeakRef.prototype.deref:null,Ta=Boolean.prototype.valueOf,Pa=Object.prototype.toString,Ca=Function.prototype.toString,Na=String.prototype.match,tr=String.prototype.slice,De=String.prototype.replace,Ma=String.prototype.toUpperCase,tn=String.prototype.toLowerCase,rn=RegExp.prototype.test,nn=Array.prototype.concat,je=Array.prototype.join,Ra=Array.prototype.slice,an=Math.floor,rr=typeof BigInt=="function"?BigInt.prototype.valueOf:null,nr=Object.getOwnPropertySymbols,ar=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,Ze=typeof Symbol=="function"&&typeof Symbol.iterator=="object",ye=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===Ze||!0)?Symbol.toStringTag:null,sn=Object.prototype.propertyIsEnumerable,on=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(n){return n.__proto__}:null);function ln(n,e){if(n===1/0||n===-1/0||n!=n||n&&n>-1e3&&n<1e3||rn.call(/e/,e))return e;var t=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof n=="number"){var r=n<0?-an(-n):an(n);if(r!==n){var a=String(r),i=tr.call(e,a.length+1);return De.call(a,t,"$&_")+"."+De.call(De.call(i,/([0-9]{3})/g,"$&_"),/_$/,"")}}return De.call(e,t,"$&_")}var ir={},cn=ir.custom,un=fn(cn)?cn:null;function pn(n,e,t){var r=(t.quoteStyle||e)==="double"?'"':"'";return r+n+r}function Fa(n){return De.call(String(n),/"/g,"&quot;")}function sr(n){return Be(n)==="[object Array]"&&(!ye||!(typeof n=="object"&&ye in n))}function La(n){return Be(n)==="[object Date]"&&(!ye||!(typeof n=="object"&&ye in n))}function dn(n){return Be(n)==="[object RegExp]"&&(!ye||!(typeof n=="object"&&ye in n))}function Da(n){return Be(n)==="[object Error]"&&(!ye||!(typeof n=="object"&&ye in n))}function qa(n){return Be(n)==="[object String]"&&(!ye||!(typeof n=="object"&&ye in n))}function Ba(n){return Be(n)==="[object Number]"&&(!ye||!(typeof n=="object"&&ye in n))}function Ua(n){return Be(n)==="[object Boolean]"&&(!ye||!(typeof n=="object"&&ye in n))}function fn(n){if(Ze)return n&&typeof n=="object"&&n instanceof Symbol;if(typeof n=="symbol")return!0;if(!n||typeof n!="object"||!ar)return!1;try{return ar.call(n),!0}catch{}return!1}function Ga(n){if(!n||typeof n!="object"||!rr)return!1;try{return rr.call(n),!0}catch{}return!1}Xr=function n(e,t,r,a){var i=t||{};if(qe(i,"quoteStyle")&&i.quoteStyle!=="single"&&i.quoteStyle!=="double")throw TypeError('option "quoteStyle" must be "single" or "double"');if(qe(i,"maxStringLength")&&(typeof i.maxStringLength=="number"?i.maxStringLength<0&&i.maxStringLength!==1/0:i.maxStringLength!==null))throw TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or \`null\`');var l=!qe(i,"customInspect")||i.customInspect;if(typeof l!="boolean"&&l!=="symbol")throw TypeError("option \\"customInspect\\", if provided, must be \`true\`, \`false\`, or \`'symbol'\`");if(qe(i,"indent")&&i.indent!==null&&i.indent!==" "&&!(parseInt(i.indent,10)===i.indent&&i.indent>0))throw TypeError('option "indent" must be "\\\\t", an integer > 0, or \`null\`');if(qe(i,"numericSeparator")&&typeof i.numericSeparator!="boolean")throw TypeError('option "numericSeparator", if provided, must be \`true\` or \`false\`');var s=i.numericSeparator;if(e===void 0)return"undefined";if(e===null)return"null";if(typeof e=="boolean")return e?"true":"false";if(typeof e=="string")return mn(e,i);if(typeof e=="number"){if(e===0)return 1/0/e>0?"0":"-0";var u=String(e);return s?ln(e,u):u}if(typeof e=="bigint"){var o=String(e)+"n";return s?ln(e,o):o}var p=i.depth===void 0?5:i.depth;if(r===void 0&&(r=0),r>=p&&p>0&&typeof e=="object")return sr(e)?"[Array]":"[Object]";var m=ei(i,r);if(a===void 0)a=[];else if(hn(a,e)>=0)return"[Circular]";function d(C,B,V){if(B&&(a=Ra.call(a)).push(B),V){var X={depth:i.depth};return qe(i,"quoteStyle")&&(X.quoteStyle=i.quoteStyle),n(C,X,r+1,a)}return n(C,i,r+1,a)}if(typeof e=="function"&&!dn(e)){var y=Ha(e),f=jt(e,d);return"[Function"+(y?": "+y:" (anonymous)")+"]"+(f.length>0?" { "+je.call(f,", ")+" }":"")}if(fn(e)){var S=Ze?De.call(String(e),/^(Symbol\\(.*\\))_[^)]*$/,"$1"):ar.call(e);return typeof e!="object"||Ze?S:dt(S)}if(Xa(e)){for(var v="<"+tn.call(String(e.nodeName)),w=e.attributes||[],g=0;g<w.length;g++)v+=" "+w[g].name+"="+pn(Fa(w[g].value),"double",i);return v+=">",e.childNodes&&e.childNodes.length&&(v+="..."),v+="</"+tn.call(String(e.nodeName))+">"}if(sr(e)){if(e.length===0)return"[]";var _=jt(e,d);return m&&!Za(_)?"["+lr(_,m)+"]":"[ "+je.call(_,", ")+" ]"}if(Da(e)){var $=jt(e,d);return"cause"in Error.prototype||!("cause"in e)||sn.call(e,"cause")?$.length===0?"["+String(e)+"]":"{ ["+String(e)+"] "+je.call($,", ")+" }":"{ ["+String(e)+"] "+je.call(nn.call("[cause]: "+d(e.cause),$),", ")+" }"}if(typeof e=="object"&&l){if(un&&typeof e[un]=="function"&&ir)return ir(e,{depth:p-r});if(l!=="symbol"&&typeof e.inspect=="function")return e.inspect()}if(za(e)){var x=[];return Kr&&Kr.call(e,function(C,B){x.push(d(B,e,!0)+" => "+d(C,e))}),gn("Map",It.call(e),x,m)}if(Qa(e)){var T=[];return Zr&&Zr.call(e,function(C){T.push(d(C,e))}),gn("Set",Ot.call(e),T,m)}if(Va(e))return or("WeakMap");if(Ya(e))return or("WeakSet");if(Ja(e))return or("WeakRef");if(Ba(e))return dt(d(Number(e)));if(Ga(e))return dt(d(rr.call(e)));if(Ua(e))return dt(Ta.call(e));if(qa(e))return dt(d(String(e)));if(typeof window<"u"&&e===window)return"{ [object Window] }";if(e===le)return"{ [object globalThis] }";if(!La(e)&&!dn(e)){var P=jt(e,d),D=on?on(e)===Object.prototype:e instanceof Object||e.constructor===Object,R=e instanceof Object?"":"null prototype",I=!D&&ye&&Object(e)===e&&ye in e?tr.call(Be(e),8,-1):R?"Object":"",F=(D||typeof e.constructor!="function"?"":e.constructor.name?e.constructor.name+" ":"")+(I||R?"["+je.call(nn.call([],I||[],R||[]),": ")+"] ":"");return P.length===0?F+"{}":m?F+"{"+lr(P,m)+"}":F+"{ "+je.call(P,", ")+" }"}return String(e)};var Wa=Object.prototype.hasOwnProperty||function(n){return n in this};function qe(n,e){return Wa.call(n,e)}function Be(n){return Pa.call(n)}function Ha(n){if(n.name)return n.name;var e=Na.call(Ca.call(n),/^function\\s*([\\w$]+)/);return e?e[1]:null}function hn(n,e){if(n.indexOf)return n.indexOf(e);for(var t=0,r=n.length;t<r;t++)if(n[t]===e)return t;return-1}function za(n){if(!It||!n||typeof n!="object")return!1;try{It.call(n);try{Ot.call(n)}catch{return!0}return n instanceof Map}catch{}return!1}function Va(n){if(!ut||!n||typeof n!="object")return!1;try{ut.call(n,ut);try{pt.call(n,pt)}catch{return!0}return n instanceof WeakMap}catch{}return!1}function Ja(n){if(!en||!n||typeof n!="object")return!1;try{return en.call(n),!0}catch{}return!1}function Qa(n){if(!Ot||!n||typeof n!="object")return!1;try{Ot.call(n);try{It.call(n)}catch{return!0}return n instanceof Set}catch{}return!1}function Ya(n){if(!pt||!n||typeof n!="object")return!1;try{pt.call(n,pt);try{ut.call(n,ut)}catch{return!0}return n instanceof WeakSet}catch{}return!1}function Xa(n){return!!n&&typeof n=="object"&&(typeof HTMLElement<"u"&&n instanceof HTMLElement||typeof n.nodeName=="string"&&typeof n.getAttribute=="function")}function mn(n,e){if(n.length>e.maxStringLength){var t=n.length-e.maxStringLength,r="... "+t+" more character"+(t>1?"s":"");return mn(tr.call(n,0,e.maxStringLength),e)+r}return pn(De.call(De.call(n,/(['\\\\])/g,"\\\\$1"),/[\\x00-\\x1f]/g,Ka),"single",e)}function Ka(n){var e=n.charCodeAt(0),t={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return t?"\\\\"+t:"\\\\x"+(e<16?"0":"")+Ma.call(e.toString(16))}function dt(n){return"Object("+n+")"}function or(n){return n+" { ? }"}function gn(n,e,t,r){return n+" ("+e+") {"+(r?lr(t,r):je.call(t,", "))+"}"}function Za(n){for(var e=0;e<n.length;e++)if(hn(n[e],\`
15226
+ \`),function(o){s=o.indexOf(":"),i=t.trim(o.substr(0,s)).toLowerCase(),l=t.trim(o.substr(s+1)),i&&!(u[i]&&r.indexOf(i)>=0)&&(i==="set-cookie"?u[i]=(u[i]?u[i]:[]).concat([l]):u[i]=u[i]?u[i]+", "+l:l)}),u}}),L("eg6xZ",function(n,e){var t=A("iEaqd");n.exports=t.isStandardBrowserEnv()?function(){var r,a=/(msie|trident)/i.test(navigator.userAgent),i=document.createElement("a");function l(s){var u=s;return a&&(i.setAttribute("href",u),u=i.href),i.setAttribute("href",u),{href:i.href,protocol:i.protocol?i.protocol.replace(/:$/,""):"",host:i.host,search:i.search?i.search.replace(/^\\?/,""):"",hash:i.hash?i.hash.replace(/^#/,""):"",hostname:i.hostname,port:i.port,pathname:i.pathname.charAt(0)==="/"?i.pathname:"/"+i.pathname}}return r=l(window.location.href),function(s){var u=t.isString(s)?l(s):s;return u.protocol===r.protocol&&u.host===r.host}}():function(){return function(){return!0}}()}),L("8kGOw",function(n,e){n.exports=function(t){return!!(t&&t.__CANCEL__)}}),L("6Mx50",function(n,e){var t=A("iEaqd");n.exports=function(r,a){a=a||{};var i={},l=["url","method","data"],s=["headers","auth","proxy","params"],u=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],o=["validateStatus"];function p(f,S){return t.isPlainObject(f)&&t.isPlainObject(S)?t.merge(f,S):t.isPlainObject(S)?t.merge({},S):t.isArray(S)?S.slice():S}function m(f){t.isUndefined(a[f])?t.isUndefined(r[f])||(i[f]=p(void 0,r[f])):i[f]=p(r[f],a[f])}t.forEach(l,function(f){t.isUndefined(a[f])||(i[f]=p(void 0,a[f]))}),t.forEach(s,m),t.forEach(u,function(f){t.isUndefined(a[f])?t.isUndefined(r[f])||(i[f]=p(void 0,r[f])):i[f]=p(void 0,a[f])}),t.forEach(o,function(f){f in a?i[f]=p(r[f],a[f]):f in r&&(i[f]=p(void 0,r[f]))});var d=l.concat(s).concat(u).concat(o),y=Object.keys(r).concat(Object.keys(a)).filter(function(f){return d.indexOf(f)===-1});return t.forEach(y,m),i}}),L("hiYAY",function(n,e){var t=A("bTAft"),r={};["object","boolean","number","function","string","symbol"].forEach(function(u,o){r[u]=function(p){return typeof p===u||"a"+(o<1?"n ":" ")+u}});var a={},i=t.version.split(".");function l(u,o){for(var p=o?o.split("."):i,m=u.split("."),d=0;d<3;d++){if(p[d]>m[d])return!0;if(p[d]<m[d])break}return!1}function s(u,o,p){if(typeof u!="object")throw TypeError("options must be an object");for(var m=Object.keys(u),d=m.length;d-- >0;){var y=m[d],f=o[y];if(f){var S=u[y],v=S===void 0||f(S,y,u);if(v!==!0)throw TypeError("option "+y+" must be "+v);continue}if(p!==!0)throw Error("Unknown option "+y)}}r.transitional=function(u,o,p){var m=o&&l(o);function d(y,f){return"[Axios v"+t.version+"] Transitional option '"+y+"'"+f+(p?". "+p:"")}return function(y,f,S){if(u===!1)throw Error(d(f," has been removed in "+o));return m&&!a[f]&&(a[f]=!0,console.warn(d(f," has been deprecated since v"+o+" and will be removed in the near future"))),!u||u(y,f,S)}},n.exports={isOlderVersion:l,assertOptions:s,validators:r}}),L("bTAft",function(n,e){n.exports=JSON.parse('{"_args":[["axios@0.21.4","/home/vitaly/Documents/work/gudhubclient/override_npm/gudhub"]],"_from":"axios@0.21.4","_id":"axios@0.21.4","_inBundle":false,"_integrity":"sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==","_location":"/axios","_phantomChildren":{},"_requested":{"type":"version","registry":true,"raw":"axios@0.21.4","name":"axios","escapedName":"axios","rawSpec":"0.21.4","saveSpec":null,"fetchSpec":"0.21.4"},"_requiredBy":["/"],"_resolved":"https://registry.npmjs.org/axios/-/axios-0.21.4.tgz","_spec":"0.21.4","_where":"/home/vitaly/Documents/work/gudhubclient/override_npm/gudhub","author":{"name":"Matt Zabriskie"},"browser":{"./lib/adapters/http.js":"./lib/adapters/xhr.js"},"bugs":{"url":"https://github.com/axios/axios/issues"},"bundlesize":[{"path":"./dist/axios.min.js","threshold":"5kB"}],"dependencies":{"follow-redirects":"^1.14.0"},"description":"Promise based HTTP client for the browser and node.js","devDependencies":{"coveralls":"^3.0.0","es6-promise":"^4.2.4","grunt":"^1.3.0","grunt-banner":"^0.6.0","grunt-cli":"^1.2.0","grunt-contrib-clean":"^1.1.0","grunt-contrib-watch":"^1.0.0","grunt-eslint":"^23.0.0","grunt-karma":"^4.0.0","grunt-mocha-test":"^0.13.3","grunt-ts":"^6.0.0-beta.19","grunt-webpack":"^4.0.2","istanbul-instrumenter-loader":"^1.0.0","jasmine-core":"^2.4.1","karma":"^6.3.2","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^2.1.0","karma-jasmine":"^1.1.1","karma-jasmine-ajax":"^0.1.13","karma-safari-launcher":"^1.0.0","karma-sauce-launcher":"^4.3.6","karma-sinon":"^1.0.5","karma-sourcemap-loader":"^0.3.8","karma-webpack":"^4.0.2","load-grunt-tasks":"^3.5.2","minimist":"^1.2.0","mocha":"^8.2.1","sinon":"^4.5.0","terser-webpack-plugin":"^4.2.3","typescript":"^4.0.5","url-search-params":"^0.10.0","webpack":"^4.44.2","webpack-dev-server":"^3.11.0"},"homepage":"https://axios-http.com","jsdelivr":"dist/axios.min.js","keywords":["xhr","http","ajax","promise","node"],"license":"MIT","main":"index.js","name":"axios","repository":{"type":"git","url":"git+https://github.com/axios/axios.git"},"scripts":{"build":"NODE_ENV=production grunt build","coveralls":"cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js","examples":"node ./examples/server.js","fix":"eslint --fix lib/**/*.js","postversion":"git push && git push --tags","preversion":"npm test","start":"node ./sandbox/server.js","test":"grunt test","version":"npm run build && grunt version && git add -A dist && git add CHANGELOG.md bower.json package.json"},"typings":"./index.d.ts","unpkg":"dist/axios.min.js","version":"0.21.4"}')}),L("g2liO",function(n,e){function t(r){this.message=r}t.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},t.prototype.__CANCEL__=!0,n.exports=t}),L("14PRn",function(n,e){var t=A("g2liO");function r(a){if(typeof a!="function")throw TypeError("executor must be a function.");this.promise=new Promise(function(s){i=s});var i,l=this;a(function(s){l.reason||(l.reason=new t(s),i(l.reason))})}r.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},r.source=function(){var a;return{token:new r(function(i){a=i}),cancel:a}},n.exports=r}),L("i3hBo",function(n,e){n.exports=function(t){return function(r){return t.apply(null,r)}}}),L("dhYWP",function(n,e){n.exports=function(t){return typeof t=="object"&&t.isAxiosError===!0}}),L("kfIQl",function(n,e){var t=typeof Symbol<"u"&&Symbol,r=A("lyEFc");n.exports=function(){return typeof t=="function"&&typeof Symbol=="function"&&typeof t("foo")=="symbol"&&typeof Symbol("bar")=="symbol"&&r()}}),L("lyEFc",function(n,e){n.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var t={},r=Symbol("test"),a=Object(r);if(typeof r=="string"||Object.prototype.toString.call(r)!=="[object Symbol]"||Object.prototype.toString.call(a)!=="[object Symbol]")return!1;var i=42;for(r in t[r]=i,t)return!1;if(typeof Object.keys=="function"&&Object.keys(t).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(t).length!==0)return!1;var l=Object.getOwnPropertySymbols(t);if(l.length!==1||l[0]!==r||!Object.prototype.propertyIsEnumerable.call(t,r))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var s=Object.getOwnPropertyDescriptor(t,r);if(s.value!==i||s.enumerable!==!0)return!1}return!0}}),L("bJ3CN",function(n,e){var t={__proto__:null,foo:{}},r=Object;n.exports=function(){return{__proto__:t}.foo===t.foo&&!(t instanceof r)}}),L("9cNUg",function(n,e){var t=A("hGGZx"),r=function(){return!!t};r.hasArrayLengthDefineBug=function(){if(!t)return null;try{return t([],"length",{value:1}).length!==1}catch{return!0}},n.exports=r}),L("hGGZx",function(n,e){var t=A("hMrGw")("%Object.defineProperty%",!0)||!1;if(t)try{t({},"a",{value:1})}catch{t=!1}n.exports=t}),L("hMrGw",function(n,e){var t=A("dUpie"),r=A("48xLS"),a=A("4Vqmv"),i=A("7x6DQ"),l=A("kPNod"),s=A("b9GfH"),u=A("8DBKi"),o=Function,p=function(H){try{return o('"use strict"; return ('+H+").constructor;")()}catch{}},m=Object.getOwnPropertyDescriptor;if(m)try{m({},"")}catch{m=null}var d=function(){throw new s},y=m?function(){try{return arguments.callee,d}catch{try{return m(arguments,"callee").get}catch{return d}}}():d,f=A("kfIQl")(),S=A("bJ3CN")(),v=Object.getPrototypeOf||(S?function(H){return H.__proto__}:null),w={},g=typeof Uint8Array<"u"&&v?v(Uint8Array):void 0,_={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?void 0:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?void 0:ArrayBuffer,"%ArrayIteratorPrototype%":f&&v?v([][Symbol.iterator]()):void 0,"%AsyncFromSyncIteratorPrototype%":void 0,"%AsyncFunction%":w,"%AsyncGenerator%":w,"%AsyncGeneratorFunction%":w,"%AsyncIteratorPrototype%":w,"%Atomics%":typeof Atomics>"u"?void 0:Atomics,"%BigInt%":typeof BigInt>"u"?void 0:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?void 0:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?void 0:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?void 0:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":t,"%eval%":eval,"%EvalError%":r,"%Float32Array%":typeof Float32Array>"u"?void 0:Float32Array,"%Float64Array%":typeof Float64Array>"u"?void 0:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?void 0:FinalizationRegistry,"%Function%":o,"%GeneratorFunction%":w,"%Int8Array%":typeof Int8Array>"u"?void 0:Int8Array,"%Int16Array%":typeof Int16Array>"u"?void 0:Int16Array,"%Int32Array%":typeof Int32Array>"u"?void 0:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":f&&v?v(v([][Symbol.iterator]())):void 0,"%JSON%":typeof JSON=="object"?JSON:void 0,"%Map%":typeof Map>"u"?void 0:Map,"%MapIteratorPrototype%":typeof Map<"u"&&f&&v?v(new Map()[Symbol.iterator]()):void 0,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?void 0:Promise,"%Proxy%":typeof Proxy>"u"?void 0:Proxy,"%RangeError%":a,"%ReferenceError%":i,"%Reflect%":typeof Reflect>"u"?void 0:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?void 0:Set,"%SetIteratorPrototype%":typeof Set<"u"&&f&&v?v(new Set()[Symbol.iterator]()):void 0,"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?void 0:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":f&&v?v(""[Symbol.iterator]()):void 0,"%Symbol%":f?Symbol:void 0,"%SyntaxError%":l,"%ThrowTypeError%":y,"%TypedArray%":g,"%TypeError%":s,"%Uint8Array%":typeof Uint8Array>"u"?void 0:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?void 0:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?void 0:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?void 0:Uint32Array,"%URIError%":u,"%WeakMap%":typeof WeakMap>"u"?void 0:WeakMap,"%WeakRef%":typeof WeakRef>"u"?void 0:WeakRef,"%WeakSet%":typeof WeakSet>"u"?void 0:WeakSet};if(v)try{null.error}catch(H){var $=v(v(H));_["%Error.prototype%"]=$}var x=function H(ie){var ee;if(ie==="%AsyncFunction%")ee=p("async function () {}");else if(ie==="%GeneratorFunction%")ee=p("function* () {}");else if(ie==="%AsyncGeneratorFunction%")ee=p("async function* () {}");else if(ie==="%AsyncGenerator%"){var k=H("%AsyncGeneratorFunction%");k&&(ee=k.prototype)}else if(ie==="%AsyncIteratorPrototype%"){var O=H("%AsyncGenerator%");O&&v&&(ee=v(O.prototype))}return _[ie]=ee,ee},T={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},P=A("hweMw"),D=A("23C6u"),R=P.call(Function.call,Array.prototype.concat),I=P.call(Function.apply,Array.prototype.splice),F=P.call(Function.call,String.prototype.replace),C=P.call(Function.call,String.prototype.slice),B=P.call(Function.call,RegExp.prototype.exec),V=/[^%.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|(["'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|%$))/g,X=/\\\\(\\\\)?/g,oe=function(H){var ie=C(H,0,1),ee=C(H,-1);if(ie==="%"&&ee!=="%")throw new l("invalid intrinsic syntax, expected closing \`%\`");if(ee==="%"&&ie!=="%")throw new l("invalid intrinsic syntax, expected opening \`%\`");var k=[];return F(H,V,function(O,N,K,se){k[k.length]=K?F(se,X,"$1"):N||O}),k},we=function(H,ie){var ee,k=H;if(D(T,k)&&(k="%"+(ee=T[k])[0]+"%"),D(_,k)){var O=_[k];if(O===w&&(O=x(k)),O===void 0&&!ie)throw new s("intrinsic "+H+" exists, but is not available. Please file an issue!");return{alias:ee,name:k,value:O}}throw new l("intrinsic "+H+" does not exist!")};n.exports=function(H,ie){if(typeof H!="string"||H.length===0)throw new s("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof ie!="boolean")throw new s('"allowMissing" argument must be a boolean');if(B(/^%?[^%]*%?$/,H)===null)throw new l("\`%\` may not be present anywhere but at the beginning and end of the intrinsic name");var ee=oe(H),k=ee.length>0?ee[0]:"",O=we("%"+k+"%",ie),N=O.name,K=O.value,se=!1,te=O.alias;te&&(k=te[0],I(ee,R([0,1],te)));for(var J=1,ce=!0;J<ee.length;J+=1){var re=ee[J],fe=C(re,0,1),Ae=C(re,-1);if((fe==='"'||fe==="'"||fe==="\`"||Ae==='"'||Ae==="'"||Ae==="\`")&&fe!==Ae)throw new l("property names with quotes must have matching quotes");if(re!=="constructor"&&ce||(se=!0),k+="."+re,D(_,N="%"+k+"%"))K=_[N];else if(K!=null){if(!(re in K)){if(!ie)throw new s("base intrinsic for "+H+" exists, but the property is not available.");return}if(m&&J+1>=ee.length){var Ie=m(K,re);K=(ce=!!Ie)&&"get"in Ie&&!("originalValue"in Ie.get)?Ie.get:K[re]}else ce=D(K,re),K=K[re];ce&&!se&&(_[N]=K)}}return K}}),L("dUpie",function(n,e){n.exports=Error}),L("48xLS",function(n,e){n.exports=EvalError}),L("4Vqmv",function(n,e){n.exports=RangeError}),L("7x6DQ",function(n,e){n.exports=ReferenceError}),L("kPNod",function(n,e){n.exports=SyntaxError}),L("b9GfH",function(n,e){n.exports=TypeError}),L("8DBKi",function(n,e){n.exports=URIError}),L("hweMw",function(n,e){var t=A("2Eytq");n.exports=Function.prototype.bind||t}),L("2Eytq",function(n,e){var t="Function.prototype.bind called on incompatible ",r=Object.prototype.toString,a=Math.max,i="[object Function]",l=function(o,p){for(var m=[],d=0;d<o.length;d+=1)m[d]=o[d];for(var y=0;y<p.length;y+=1)m[y+o.length]=p[y];return m},s=function(o,p){for(var m=[],d=p,y=0;d<o.length;d+=1,y+=1)m[y]=o[d];return m},u=function(o,p){for(var m="",d=0;d<o.length;d+=1)m+=o[d],d+1<o.length&&(m+=p);return m};n.exports=function(o){var p,m=this;if(typeof m!="function"||r.apply(m)!==i)throw TypeError(t+m);for(var d=s(arguments,1),y=function(){if(this instanceof p){var g=m.apply(this,l(d,arguments));return Object(g)===g?g:this}return m.apply(o,l(d,arguments))},f=a(0,m.length-d.length),S=[],v=0;v<f;v++)S[v]="$"+v;if(p=Function("binder","return function ("+u(S,",")+"){ return binder.apply(this,arguments); }")(y),m.prototype){var w=function(){};w.prototype=m.prototype,p.prototype=new w,w.prototype=null}return p}}),L("23C6u",function(n,e){var t=Function.prototype.call,r=Object.prototype.hasOwnProperty,a=A("hweMw");n.exports=a.call(t,r)}),L("5ZWAZ",function(n,e){function t(r){return n.exports=t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(a){return typeof a}:function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},n.exports.__esModule=!0,n.exports.default=n.exports,t(r)}n.exports=t,n.exports.__esModule=!0,n.exports.default=n.exports}),L("fgq5y",function(n,e){var t=A("f3Ywx").default;Object.defineProperty(n.exports,"__esModule",{value:!0}),n.exports.default=l;var r=t(A("a9VQw")),a=t(A("glRwo")),i=t(A("ayR3G"));function l(s,u){(0,i.default)(2,arguments);var o=(0,a.default)(s),p=(0,r.default)(u);return isNaN(p)?new Date(NaN):(p&&o.setDate(o.getDate()+p),o)}n.exports=n.exports.default}),L("f3Ywx",function(n,e){function t(r){return r&&r.__esModule?r:{default:r}}n.exports=t,n.exports.__esModule=!0,n.exports.default=n.exports}),L("a9VQw",function(n,e){function t(r){if(r===null||r===!0||r===!1)return NaN;var a=Number(r);return isNaN(a)?a:a<0?Math.ceil(a):Math.floor(a)}Object.defineProperty(n.exports,"__esModule",{value:!0}),n.exports.default=t,n.exports=n.exports.default}),L("glRwo",function(n,e){var t=A("f3Ywx").default;Object.defineProperty(n.exports,"__esModule",{value:!0}),n.exports.default=i;var r=t(A("5ZWAZ")),a=t(A("ayR3G"));function i(l){(0,a.default)(1,arguments);var s=Object.prototype.toString.call(l);return l instanceof Date||(0,r.default)(l)==="object"&&s==="[object Date]"?new Date(l.getTime()):typeof l=="number"||s==="[object Number]"?new Date(l):((typeof l=="string"||s==="[object String]")&&typeof console<"u"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use \`parseISO\` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(Error().stack)),new Date(NaN))}n.exports=n.exports.default}),L("ayR3G",function(n,e){function t(r,a){if(a.length<r)throw TypeError(r+" argument"+(r>1?"s":"")+" required, but only "+a.length+" present")}Object.defineProperty(n.exports,"__esModule",{value:!0}),n.exports.default=t,n.exports=n.exports.default}),L("byyO9",function(n,e){var t=A("f3Ywx").default;Object.defineProperty(n.exports,"__esModule",{value:!0}),n.exports.default=l;var r=t(A("a9VQw")),a=t(A("glRwo")),i=t(A("ayR3G"));function l(s,u){(0,i.default)(2,arguments);var o=(0,a.default)(s),p=(0,r.default)(u);if(isNaN(p))return new Date(NaN);if(!p)return o;var m=o.getDate(),d=new Date(o.getTime());return d.setMonth(o.getMonth()+p+1,0),m>=d.getDate()?d:(o.setFullYear(d.getFullYear(),d.getMonth(),m),o)}n.exports=n.exports.default}),L("hLz6R",function(n,e){var t=A("f3Ywx").default;Object.defineProperty(n.exports,"__esModule",{value:!0}),n.exports.default=s;var r=t(A("glRwo")),a=t(A("a9VQw")),i=t(A("ayR3G")),l=A("lmyOi");function s(u,o){(0,i.default)(1,arguments);var p,m,d,y,f,S,v,w,g=(0,l.getDefaultOptions)(),_=(0,a.default)((p=(m=(d=(y=o==null?void 0:o.weekStartsOn)!==null&&y!==void 0?y:o==null||(f=o.locale)===null||f===void 0||(S=f.options)===null||S===void 0?void 0:S.weekStartsOn)!==null&&d!==void 0?d:g.weekStartsOn)!==null&&m!==void 0?m:(v=g.locale)===null||v===void 0||(w=v.options)===null||w===void 0?void 0:w.weekStartsOn)!==null&&p!==void 0?p:0);if(!(_>=0&&_<=6))throw RangeError("weekStartsOn must be between 0 and 6 inclusively");var $=(0,r.default)(u),x=$.getDay(),T=(x<_?7:0)+x-_;return $.setDate($.getDate()-T),$.setHours(0,0,0,0),$}n.exports=n.exports.default}),L("lmyOi",function(n,e){Object.defineProperty(n.exports,"__esModule",{value:!0}),n.exports.getDefaultOptions=r,n.exports.setDefaultOptions=a;var t={};function r(){return t}function a(i){t=i}}),L("kmcAT",function(n,e){A("akXK4"),A("5xozB")}),L("akXK4",function(n,e){n.exports=A("1ufAB")}),L("5xozB",function(n,e){Pr(n.exports,"IS_BROWSER_MAIN_THREAD",()=>r),Pr(n.exports,"IS_BROWSER",()=>i);var t=A("2dKjk");let r=typeof window<"u"&&typeof document<"u",a=typeof self=="object"&&typeof WorkerGlobalScope<"u",i=r||a;t!==void 0&&t.versions!=null&&t.versions.node});var me=A("5xozB");let ca="https://gudhub.com/GudHub_Test",ua="wss://gudhub.com/GudHub/ws/app/",pa="https://gudhub.com/api/services/prod",da="build/latest/async_modules_node/",fa="build/latest/automation_modules/",ha="https://gudhub.com",Cr=!0,Nr=!1,Ke=!0;me.IS_BROWSER||(Ke=!1);var me=A("5xozB");class Mr{}class $t extends Mr{constructor(e,t,r){super(),this.chunkDataService=new vt(e,Gt,r),this.gudhub=r}isWithCache(){return!1}async processRequestedApp(e,t){if(!this.isWithCache()){let r=await this.chunkDataService.getMergedChunkForIDList(e,t.chunks);return r&&(t.items_list=await this.gudhub.util.mergeChunks([r,t])),t}}}class ma{constructor(e){this.req=e}async getApp(e){return this.req.get({url:"/api/app/get",params:{app_id:e}})}}let Rr=(n,...e)=>{for(let t of e)if(t)for(let r of Object.keys(t)){let a=Object.getOwnPropertyDescriptor(t,r);a.enumerable&&Object.defineProperty(n,r,a)}};class St{}class He extends $t{constructor(e,t,r){super(e,t,r),this.appApi=new ma(e),Rr(this,new St(t))}async getApp(e){let t=await this.appApi.getApp(e);return this.processRequestedApp(e,t)}async getAppWithoutProcessing(e){return this.appApi.getApp(e)}async putApp(e,t){}static[Symbol.hasInstance](e){try{return e instanceof He||e instanceof St}catch{return!1}}}class Fr extends Mr{getMergedChunkForIDList(e){}isWithCache(){return!1}}class ga{constructor(e){this.req=e}async getChunk(e,t){return this.req.get({url:\`\${this.req.root}/api/get-items-chunk/\${e}/\${t}\`,method:"GET"})}async getLastChunk(e){return this.req.axiosRequest({url:\`\${this.req.root}/api/get-last-items-chunk/\${e}\`,method:"GET"})}}class xt extends Fr{constructor(e,t){super(),this.chunkApi=new ga(e),Rr(this,new St(t))}async getChunk(e,t){return this.chunkApi.getChunk(e,t)}async getChunksForId(e){return[]}getCachedMergedChunk(e,t){}getMergedChunkForIDList(e,t){}putChunk(){}static[Symbol.hasInstance](e){try{return e instanceof xt||e instanceof St}catch{return!1}}}let Et={store:"apps"},Ht={store:"chunks"},ya="gudhub",zt={store:"chunksMergeCache"};class _a{}class ze extends _a{constructor(e,t){if(super(),ze.dbNameToInstanceMap||(ze.dbNameToInstanceMap=new Map),ze.dbNameToInstanceMap.has(e))return ze.dbNameToInstanceMap.get(e);this.db=null,this.dbName=e,this.storeNameList=t,ze.dbNameToInstanceMap.set(e,this)}async checkAndCreateStore(e){let t=(await indexedDB.databases()).find(i=>i.name===this.dbName),r=!1,a=this;return t&&(r=await new Promise((i,l)=>{let s=indexedDB.open(a.dbName);s.onsuccess=function(u){let o=u.target.result,p=o.objectStoreNames.contains(e);o.close(),i(p)},s.onerror=function(u){l(u.target.error)}})),!!r||new Promise((i,l)=>{let s=indexedDB.open(a.dbName,t?t.version+1:1);s.onupgradeneeded=function(u){let o=u.target.result;o.objectStoreNames.contains(e)||o.createObjectStore(e)},s.onsuccess=function(u){u.target.result.close(),i()},s.onerror=l})}async openDB(){let e,t;if(this.db)return this.db;let r=new Promise((l,s)=>{e=l,t=s});for(let l of this.storeNameList)await this.checkAndCreateStore(l);let a=this,i=indexedDB.open(this.dbName);return i.onsuccess=l=>{a.db=l.target.result,e(this.db)},i.onerror=t,r}async executeOperation(e,t){let r=await this.openDB();return new Promise((a,i)=>{let l=r.transaction(e,"readwrite"),s=l.objectStore(e);l.oncomplete=()=>a(),l.onerror=u=>i(\`Transaction failed: \${u.target.error}\`);try{t(s)}catch(u){i(\`Operation failed: \${u.message}\`)}})}}let Lr=new ze(ya,[Et.store,Ht.store,zt.store]);class Dr{constructor(e,t){this.storeBackend=e,this.storeName=t}async addItem(e,t){return new Promise(async(r,a)=>{this.storeBackend.executeOperation(this.storeName,i=>{let l=i.add(t,e);l.onsuccess=r,l.onerror=a})})}async putItem(e,t){return new Promise(async(r,a)=>{this.storeBackend.executeOperation(this.storeName,i=>{let l=i.put(t,e);l.onsuccess=r,l.onerror=a})})}async hasItem(e){try{return!!await this.getItem(e)}catch{return!1}}async getItem(e){return new Promise(async(t,r)=>{this.storeBackend.executeOperation(this.storeName,a=>{let i=a.get(e);i.onsuccess=()=>{t(i.result)},i.onerror=r})})}async updateItem(e,t){return new Promise(async(r,a)=>{this.storeBackend.executeOperation(this.storeName,i=>{let l=i.get(e);l.onsuccess=()=>{let s=l.result;Object.assign(s,t),i.put(s,e),r()},l.onerror=a})})}async deleteItem(e){return new Promise(async(t,r)=>{this.storeBackend.executeOperation(this.storeName,a=>{let i=a.delete(e);i.onsuccess=t,i.onerror=r})})}}class qr extends Dr{constructor(){super(Lr,Et.store)}async getApp(e){return this.getItem(e)}async addApp(e,t){return this.addItem(e,t)}async putApp(e,t){return this.putItem(e,t)}async hasApp(e){return this.hasItem(e)}async deleteApp(e){return this.deleteItem(e)}}class ba extends Dr{constructor(){super(Lr,zt.store)}async get(e){return this.getItem(e)}async add(e,t){return this.addItem(e,t)}async put(e,t){return this.putItem(e,t)}async delete(e){return this.deleteItem(e)}}class st extends Fr{constructor(e,t,r){super(e,t),this.dataService=new xt(e),this.requestCache=new Map,this.gudhub=r,this.storeManager=new ba}static[Symbol.hasInstance](e){try{return e instanceof st}catch{return!1}}async getCachedMergedChunk(e,t){try{return(await this.storeManager.get(e)).mergedData}catch{let a=t.map(s=>this.dataService.getChunk(e,s)),i=await Promise.all(a),l=await this.gudhub.util.mergeChunks(i);return this.putMergedChunks(e,{hashes:t,mergedData:{items_list:l}}),{items_list:l}}}isWithCache(){return!0}async getMergedChunkForApp(e){}async getMergedChunkForIDList(e,t){try{let r,a=!0,i=await this.storeManager.get(e);try{if(t.length<i.hashes.length)throw Error();for(let u of i.hashes)t.indexOf(u)!=i.hashes.indexOf(u)&&(a=!1)}catch{a=!1}let l=[],s=[];if(t.length>i.hashes.length&&(l=t.slice(i.hashes.length)),a||(l=t),l.length>0){let u=l.map(o=>this.dataService.getChunk(e,o));s=await Promise.all(u)}return a||(r=await this.gudhub.util.mergeChunks([...s])),a&&(r=await this.gudhub.util.mergeChunks([i.mergedData,...s])),l.length>0&&this.putMergedChunks(e,{hashes:t,mergedData:{items_list:r}}),{items_list:r}}catch{let a=t.map(s=>this.dataService.getChunk(e,s)),i=await Promise.all(a),l=await this.gudhub.util.mergeChunks(i);return this.putMergedChunks(e,{hashes:t,mergedData:{items_list:l}}),{items_list:l}}}async putMergedChunks(e,t){return this.storeManager.put(e,t)}}let xe={INIT:1,REQUEST_APP:2,PROCESS_DATA:3,DECLINE_PROCESS_DATA_REQUEST:4};class Vt extends $t{constructor(e,t,r){super(e,t,r),this.dataService=new He(e,t,r),this.requestCache=new Map,this.gudhub=r,this.resolveFnMap=new Map,this.appRequestAndProcessWorker=new AppRequestWorkerScript,this.appRequestAndProcessWorker.postMessage({type:xe.INIT,gudhubSerialized:this.gudhub.serialized});let a=this;this.appRequestAndProcessWorker.onerror=function(i){},this.appRequestAndProcessWorker.onmessage=function(i){i.data.type==xe.REQUEST_APP&&a.resolveFnMap.has(i.data.id)&&a.resolveFnMap.get(i.data.id)(i.data.data),i.data.type==xe.PROCESS_DATA&&(a.gudhub.itemProcessor.handleDiff(i.data.id,i.data.compareRes),(i.data.viewListChanged||i.data.fieldListChanged)&&a.gudhub.appProcessor.updateAppFieldsAndViews(i.data.newVersion))},this.isWithCache(),this.storeManager=new qr}static[Symbol.hasInstance](e){try{return e instanceof Vt}catch{return!1}}isWithCache(){return!0}async getApp(e){if(this.requestCache.has(e))return this.requestCache.get(e);let t=this;await this.has(e);{let r=new Promise((a,i)=>{t.resolveFnMap.set(e,a)});return this.requestCache.set(e,r),this.appRequestAndProcessWorker.postMessage({type:xe.REQUEST_APP,id:e}),r}}async getCached(e){return this.storeManager.getApp(e)}async has(e){try{return this.storeManager.hasApp(e)}catch{}}async putApp(e,t){return this.storeManager.putApp(e,t)}}class Br extends $t{constructor(e,t,r){super(e,t,r),this.dataService=new He(e,null,r),this.requestCache=new Map,this.gudhub=r}isWithCache(){return!1}async getAppWithoutProcessing(e){let t=await this.dataService.getAppWithoutProcessing(e);return await this.putApp(e,t),t}async getApp(e){let t;if(this.requestCache.has(e))return this.requestCache.get(e);let r=new Promise((l,s)=>{t=l});this.requestCache.set(e,r);let a=await this.dataService.getAppWithoutProcessing(e),i=await this.processRequestedApp(e,a);return t(i),i}async has(e){return!1}async getCached(e){throw Error()}async putApp(e,t){throw Error()}}class va extends $t{constructor(e,t,r){super(e,t,r),this.dataService=new He(e,t,r),this.requestCache=new Map,this.gudhub=r,this.resolveFnMap=new Map,this.appRequestAndProcessWorker=new AppRequestWorkerScript,this.appRequestAndProcessWorker.postMessage({type:xe.INIT,gudhubSerialized:this.gudhub.serialized});let a=this;this.appRequestAndProcessWorker.onerror=function(i){},this.appRequestAndProcessWorker.onmessage=function(i){i.data.type==xe.REQUEST_APP&&a.resolveFnMap.has(i.data.id)&&a.resolveFnMap.get(i.data.id)(i.data.data),i.data.type==xe.PROCESS_DATA&&(a.gudhub.itemProcessor.handleDiff(i.data.id,i.data.compareRes),(i.data.viewListChanged||i.data.fieldListChanged)&&a.gudhub.appProcessor.updateAppFieldsAndViews(i.data.newVersion))},this.isWithCache(),this.storeManager=new qr}static[Symbol.hasInstance](e){try{return e instanceof Vt}catch{return!1}}isWithCache(){return!1}async getApp(e){if(this.requestCache.has(e))return this.requestCache.get(e);let t=new Promise((r,a)=>{self.resolveFnMap.set(e,r)});return this.requestCache.set(e,t),this.appRequestAndProcessWorker.postMessage({type:xe.REQUEST_APP,id:e}),t}async getCached(e){return this.storeManager.getApp(e)}async has(e){try{return this.storeManager.hasApp(e)}catch{}}async putApp(e,t){return this.storeManager.putApp(e,t)}}A("5xozB"),me.IS_BROWSER,me.IS_BROWSER&&Ke&&(Ut=va,Tr=Et),me.IS_BROWSER||(Ut=He),me.IS_BROWSER&&Cr&&!Ke&&(vt=st,Gt=Ht),me.IS_BROWSER&&Cr&&Ke&&(vt=st,Gt=Ht),me.IS_BROWSER||(vt=xt);let Ur=Br,wa=st;Ke&&(Ur=Br);var me=A("5xozB");class Gr{constructor(e,t,r,a,i,l,s){this.storage=e,this.pipeService=t,this.req=r,this.ws=a,this.applistReceived=!1,this.activateSW=l,this.util=i,this.appListeners(),this.dataService=s,this.appRequestCache=new Map}async createNewAppApi(e){try{let t=await this.req.post({url:"/api/app/create",form:{app:JSON.stringify(e)}});return t.from_apps_list=!0,t}catch(t){return console.log(t),null}}async updateAppApi(e){try{return await this.req.post({url:"/api/app/update",form:{app:JSON.stringify(e)}})}catch(t){return console.log(t),null}}async deleteAppApi(e){try{return await this.req.post({url:"/api/app/delete",form:{app_id:e}})}catch(t){return console.log(t),null}}async getAppListApi(){try{return(await this.req.get({url:"/api/applist/get"})).apps_list.map(e=>(e.from_apps_list=!0,e))}catch(e){return console.log(e),null}}getAppListFromStorage(){return this.storage.getAppsList()}getAppFromStorage(e){let t=this.storage.getApp(e);return t&&t.field_list.length?t:null}addNewAppToStorage(e){return this.storage.getAppsList().push(e)}saveAppInStorage(e){e.items_object={};for(let r=0;r<e.items_list.length;r++){e.items_object[e.items_list[r].item_id]={};for(let a=0;a<e.items_list[r].fields.length;a++)e.items_object[e.items_list[r].item_id][e.items_list[r].fields[a].field_id]=e.items_list[r].fields[a]}let t=this.storage.getApp(e.app_id);return t?(e.from_apps_list=t.from_apps_list,e.permission=t.permission,this.storage.updateApp(e)):(e.from_apps_list=!1,this.addNewAppToStorage(e)),this.getAppFromStorage(e.app_id)}updateAppFieldsAndViews(e){let t=this.getAppFromStorage(e.app_id);e.items_list=t.items_list,e.file_list=t.file_list,e.from_apps_list=t.from_apps_list,e.items_object=t.items_object,this.storage.updateApp(e),this.pipeService.emit("gh_app_views_update",{app_id:e.app_id},e.views_list),e.field_list.forEach(r=>{this.pipeService.emit("gh_model_update",{app_id:e.app_id,field_id:r.field_id},r)})}updateAppInStorage(e){this.storage.getApp(e.app_id)?(this.storage.updateApp(e),this.pipeService.emit("gh_app_update",{app_id:e.app_id},e),this.pipeService.emit("gh_items_update",{app_id:e.app_id},e.items_list)):this.addNewAppToStorage(e)}deletingAppFromStorage(e){let t=this.storage.getAppsList();return t.forEach((r,a)=>{r.app_id==e&&t.splice(a)}),t}updateAppsListInStorage(e=[]){for(let t of e){let r=this.storage.getApp(t.app_id);r?(r.from_apps_list=t.from_apps_list,r.permission=t.permission):this.addNewAppToStorage(t)}}async refreshApps(e=[]){for(let t of e)if(t!=null)try{let r=await this.dataService.getApp(t);if(r){r.items_object={};for(let a=0;a<r.items_list.length;a++){r.items_object[r.items_list[a].item_id]={};for(let i=0;i<r.items_list[a].fields.length;i++)r.items_object[r.items_list[a].item_id][r.items_list[a].fields[i].field_id]=r.items_list[a].fields[i]}this.updateAppInStorage(r),this.pipeService.emit("gh_app_views_update",{app_id:r.app_id},r.views_list)}}catch(r){console.log(r)}console.log("Apps refreshed: ",JSON.stringify(e))}async refreshAppsList(){let e=this.getAppListFromStorage(),t=(await this.getAppListApi()).map(r=>({...r,...e.find(a=>a.app_id===r.app_id)}));this.updateAppsListInStorage(t),this.pipeService.emit("gh_apps_list_refreshed",{})}async getAppsList(){let e=this.getAppListFromStorage();if(!this.applistReceived){let t=await this.getAppListApi();if(!t)return null;this.updateAppsListInStorage(t),this.applistReceived=!0,e=t}return e}async getAppInfo(e){let t=await this.getAppsList();return t?t.find(r=>r.app_id==e):null}async deleteApp(e){return await this.deleteAppApi(e),this.deletingAppFromStorage(e)}async getApp(e,t=!1){if(!e)return null;let r=this.getAppFromStorage(e);if(r)return r;if(this.appRequestCache.has(e))return this.appRequestCache.get(e);let a=this,i=new Promise(async(l,s)=>{try{let u=await a.dataService.getApp(e);u||s();let o=t?u:{...u,items_list:u.items_list.filter(p=>!p.trash)};o=t?o:{...o,field_list:o.field_list.filter(p=>!p.trash)},l(o),a.saveAppInStorage(o),a.ws.addSubscription(e)}catch{s()}});return a.appRequestCache.set(e,i),i}async updateApp(e){if(!e.views_list||!e.views_list.length||!e.show){let r=await this.getApp(e.app_id);e.views_list&&e.views_list.length||(e.views_list=r.views_list),e.show===void 0&&(e.show=r.show)}let t=await this.updateAppApi(e);return this.updateAppFieldsAndViews(t),t}async updateAppInfo(e={}){return this.pipeService.emit("gh_app_info_update",{app_id:e.app_id},e),this.updateApp(e)}async createNewApp(e){let t=await this.createNewAppApi(e);return t.items_object={},this.addNewAppToStorage(t),t}async getAppViews(e){if(e)return(await this.getApp(e)).views_list}clearAppProcessor(){this.getAppListPromises=null,this.getAppPromises={},this.applistReceived=!1}appListeners(){this.pipeService.onRoot("gh_app_get",{},async(e,t)=>{if(t&&t.app_id){let r=await this.getApp(t.app_id);this.pipeService.emit("gh_app_get",t,r)}}),this.pipeService.onRoot("gh_apps_list_get",{},async(e,t)=>{let r=await this.getAppsList();this.pipeService.emit("gh_apps_list_get",t,r)}),this.pipeService.onRoot("gh_delete_app",{},async(e,t)=>{let r=await this.deleteApp(t.app_id);this.pipeService.emit("gh_apps_list_update",{recipient:"all"},r)}),this.pipeService.onRoot("gh_app_update",{},async(e,t)=>{t.app.items_list=[],t.app.file_list=[];let r=await this.updateApp(t.app);this.pipeService.emit("gh_app_views_update",{app_id:r.app_id},r.views_list);let a=await this.getAppsList();this.pipeService.emit("gh_apps_list_update",{recipient:"all"},a),r.field_list.forEach(i=>{this.pipeService.emit("gh_model_update",{app_id:r.app_id,field_id:i.field_id},i)})}),this.pipeService.onRoot("gh_app_view_get",{},async(e,t)=>{if(t&&t.app_id){let r=await this.getApp(t.app_id);r.views_list.forEach((a,i)=>{a.view_id==t.view_id&&this.pipeService.emit("gh_app_view_get",t,r.views_list[i])})}}),this.pipeService.onRoot("gh_app_info_get",{},async(e,t)=>{let r=await this.getAppInfo(t.app_id);r&&this.pipeService.emit("gh_app_info_get",t,r)}),this.pipeService.onRoot("gh_app_info_update",{},async(e,t)=>{if(t&&t.app){let r=await this.updateAppInfo(t.app);this.pipeService.emit("gh_app_info_update",{app_id:t.app.app_id},r)}}),this.pipeService.onRoot("gh_app_create",{},async(e,t)=>{await this.createNewApp(t.app);let r=await this.getAppsList();this.pipeService.emit("gh_apps_list_update",{recipient:"all"},r)}),me.IS_BROWSER_MAIN_THREAD&&this.activateSW&&navigator.serviceWorker.addEventListener("message",async e=>{if(e.data.type==="refresh app"){let t=await this.getApp(e.data.payload.app_id);t&&this.util.compareAppsItemsLists(t.items_list,e.data.payload.items_list.filter(r=>!r.trash),({diff_fields_items:r,diff_fields_items_Ids:a,diff_items:i,newItems:l,deletedItems:s})=>{(i.length||l.length||s.length)&&(this.pipeService.emit("gh_items_update",{app_id:e.data.payload.app_id},e.data.payload.items_list.filter(u=>!u.trash)),i.forEach(u=>this.pipeService.emit("gh_item_update",{app_id:e.data.payload.app_id,item_id:u.item_id},u))),a.forEach(u=>{let o=r[u];o&&o.forEach(p=>{this.pipeService.emit("gh_value_update",{app_id:e.data.payload.app_id,item_id:u,field_id:p.field_id},p.field_value)})})}),e.data.payload.items_list=await this.util.mergeChunks([t,e.data.payload]),this.saveAppInStorage(e.data.payload)}})}}var gt=A("akXK4");function Wr(n=[]){return n.filter(e=>e.field_value!=null)}function $a(n={}){let e=Object.entries(n);return e.length?\`&\${e.map(([t,r])=>\`\${t}=\${r}\`).join("&")}\`:""}var kt={},Hr={},Jt={},ve=A("hMrGw"),Ve={},ve=A("hMrGw"),ot={},Qt=A("hweMw"),ve=A("hMrGw"),zr={},ve=A("hMrGw"),Yt={},ct=A("hGGZx"),Sa=A("kPNod"),$e=A("b9GfH"),lt={},ve=A("hMrGw"),At=ve("%Object.getOwnPropertyDescriptor%",!0);if(At)try{At([],"length")}catch{At=null}lt=At,Yt=function(n,e,t){if(!n||typeof n!="object"&&typeof n!="function")throw new $e("\`obj\` must be an object or a function\`");if(typeof e!="string"&&typeof e!="symbol")throw new $e("\`property\` must be a string or a symbol\`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new $e("\`nonEnumerable\`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new $e("\`nonWritable\`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new $e("\`nonConfigurable\`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new $e("\`loose\`, if provided, must be a boolean");var r=arguments.length>3?arguments[3]:null,a=arguments.length>4?arguments[4]:null,i=arguments.length>5?arguments[5]:null,l=arguments.length>6&&arguments[6],s=!!lt&&lt(n,e);if(ct)ct(n,e,{configurable:i===null&&s?s.configurable:!i,enumerable:r===null&&s?s.enumerable:!r,value:t,writable:a===null&&s?s.writable:!a});else{if(!l&&(r||a||i))throw new Sa("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");n[e]=t}};var xa=A("9cNUg")(),$e=A("b9GfH"),Ea=ve("%Math.floor%");zr=function(n,e){if(typeof n!="function")throw new $e("\`fn\` is not a function");if(typeof e!="number"||e<0||e>4294967295||Ea(e)!==e)throw new $e("\`length\` must be a positive 32-bit integer");var t=arguments.length>2&&!!arguments[2],r=!0,a=!0;if("length"in n&&lt){var i=lt(n,"length");i&&!i.configurable&&(r=!1),i&&!i.writable&&(a=!1)}return(r||a||!t)&&(xa?Yt(n,"length",e,!0,!0):Yt(n,"length",e)),n};var $e=A("b9GfH"),Vr=ve("%Function.prototype.apply%"),Jr=ve("%Function.prototype.call%"),Qr=ve("%Reflect.apply%",!0)||Qt.call(Jr,Vr),ct=A("hGGZx"),ka=ve("%Math.max%");ot=function(n){if(typeof n!="function")throw new $e("a function is required");var e=Qr(Qt,Jr,arguments);return zr(e,1+ka(0,n.length-(arguments.length-1)),!0)};var Yr=function(){return Qr(Qt,Vr,arguments)};ct?ct(ot,"apply",{value:Yr}):ot.apply=Yr;var Aa=ot(ve("String.prototype.indexOf"));Ve=function(n,e){var t=ve(n,!!e);return typeof t=="function"&&Aa(n,".prototype.")>-1?ot(t):t};var Xr={},Xt=typeof Map=="function"&&Map.prototype,Kt=Object.getOwnPropertyDescriptor&&Xt?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,It=Xt&&Kt&&typeof Kt.get=="function"?Kt.get:null,Kr=Xt&&Map.prototype.forEach,Zt=typeof Set=="function"&&Set.prototype,er=Object.getOwnPropertyDescriptor&&Zt?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,Ot=Zt&&er&&typeof er.get=="function"?er.get:null,Zr=Zt&&Set.prototype.forEach,Ia=typeof WeakMap=="function"&&WeakMap.prototype,ut=Ia?WeakMap.prototype.has:null,Oa=typeof WeakSet=="function"&&WeakSet.prototype,pt=Oa?WeakSet.prototype.has:null,ja=typeof WeakRef=="function"&&WeakRef.prototype,en=ja?WeakRef.prototype.deref:null,Ta=Boolean.prototype.valueOf,Pa=Object.prototype.toString,Ca=Function.prototype.toString,Na=String.prototype.match,tr=String.prototype.slice,De=String.prototype.replace,Ma=String.prototype.toUpperCase,tn=String.prototype.toLowerCase,rn=RegExp.prototype.test,nn=Array.prototype.concat,je=Array.prototype.join,Ra=Array.prototype.slice,an=Math.floor,rr=typeof BigInt=="function"?BigInt.prototype.valueOf:null,nr=Object.getOwnPropertySymbols,ar=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,Ze=typeof Symbol=="function"&&typeof Symbol.iterator=="object",ye=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===Ze||!0)?Symbol.toStringTag:null,sn=Object.prototype.propertyIsEnumerable,on=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(n){return n.__proto__}:null);function ln(n,e){if(n===1/0||n===-1/0||n!=n||n&&n>-1e3&&n<1e3||rn.call(/e/,e))return e;var t=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof n=="number"){var r=n<0?-an(-n):an(n);if(r!==n){var a=String(r),i=tr.call(e,a.length+1);return De.call(a,t,"$&_")+"."+De.call(De.call(i,/([0-9]{3})/g,"$&_"),/_$/,"")}}return De.call(e,t,"$&_")}var ir={},cn=ir.custom,un=fn(cn)?cn:null;function pn(n,e,t){var r=(t.quoteStyle||e)==="double"?'"':"'";return r+n+r}function Fa(n){return De.call(String(n),/"/g,"&quot;")}function sr(n){return Be(n)==="[object Array]"&&(!ye||!(typeof n=="object"&&ye in n))}function La(n){return Be(n)==="[object Date]"&&(!ye||!(typeof n=="object"&&ye in n))}function dn(n){return Be(n)==="[object RegExp]"&&(!ye||!(typeof n=="object"&&ye in n))}function Da(n){return Be(n)==="[object Error]"&&(!ye||!(typeof n=="object"&&ye in n))}function qa(n){return Be(n)==="[object String]"&&(!ye||!(typeof n=="object"&&ye in n))}function Ba(n){return Be(n)==="[object Number]"&&(!ye||!(typeof n=="object"&&ye in n))}function Ua(n){return Be(n)==="[object Boolean]"&&(!ye||!(typeof n=="object"&&ye in n))}function fn(n){if(Ze)return n&&typeof n=="object"&&n instanceof Symbol;if(typeof n=="symbol")return!0;if(!n||typeof n!="object"||!ar)return!1;try{return ar.call(n),!0}catch{}return!1}function Ga(n){if(!n||typeof n!="object"||!rr)return!1;try{return rr.call(n),!0}catch{}return!1}Xr=function n(e,t,r,a){var i=t||{};if(qe(i,"quoteStyle")&&i.quoteStyle!=="single"&&i.quoteStyle!=="double")throw TypeError('option "quoteStyle" must be "single" or "double"');if(qe(i,"maxStringLength")&&(typeof i.maxStringLength=="number"?i.maxStringLength<0&&i.maxStringLength!==1/0:i.maxStringLength!==null))throw TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or \`null\`');var l=!qe(i,"customInspect")||i.customInspect;if(typeof l!="boolean"&&l!=="symbol")throw TypeError("option \\"customInspect\\", if provided, must be \`true\`, \`false\`, or \`'symbol'\`");if(qe(i,"indent")&&i.indent!==null&&i.indent!==" "&&!(parseInt(i.indent,10)===i.indent&&i.indent>0))throw TypeError('option "indent" must be "\\\\t", an integer > 0, or \`null\`');if(qe(i,"numericSeparator")&&typeof i.numericSeparator!="boolean")throw TypeError('option "numericSeparator", if provided, must be \`true\` or \`false\`');var s=i.numericSeparator;if(e===void 0)return"undefined";if(e===null)return"null";if(typeof e=="boolean")return e?"true":"false";if(typeof e=="string")return mn(e,i);if(typeof e=="number"){if(e===0)return 1/0/e>0?"0":"-0";var u=String(e);return s?ln(e,u):u}if(typeof e=="bigint"){var o=String(e)+"n";return s?ln(e,o):o}var p=i.depth===void 0?5:i.depth;if(r===void 0&&(r=0),r>=p&&p>0&&typeof e=="object")return sr(e)?"[Array]":"[Object]";var m=ei(i,r);if(a===void 0)a=[];else if(hn(a,e)>=0)return"[Circular]";function d(C,B,V){if(B&&(a=Ra.call(a)).push(B),V){var X={depth:i.depth};return qe(i,"quoteStyle")&&(X.quoteStyle=i.quoteStyle),n(C,X,r+1,a)}return n(C,i,r+1,a)}if(typeof e=="function"&&!dn(e)){var y=Ha(e),f=jt(e,d);return"[Function"+(y?": "+y:" (anonymous)")+"]"+(f.length>0?" { "+je.call(f,", ")+" }":"")}if(fn(e)){var S=Ze?De.call(String(e),/^(Symbol\\(.*\\))_[^)]*$/,"$1"):ar.call(e);return typeof e!="object"||Ze?S:dt(S)}if(Xa(e)){for(var v="<"+tn.call(String(e.nodeName)),w=e.attributes||[],g=0;g<w.length;g++)v+=" "+w[g].name+"="+pn(Fa(w[g].value),"double",i);return v+=">",e.childNodes&&e.childNodes.length&&(v+="..."),v+="</"+tn.call(String(e.nodeName))+">"}if(sr(e)){if(e.length===0)return"[]";var _=jt(e,d);return m&&!Za(_)?"["+lr(_,m)+"]":"[ "+je.call(_,", ")+" ]"}if(Da(e)){var $=jt(e,d);return"cause"in Error.prototype||!("cause"in e)||sn.call(e,"cause")?$.length===0?"["+String(e)+"]":"{ ["+String(e)+"] "+je.call($,", ")+" }":"{ ["+String(e)+"] "+je.call(nn.call("[cause]: "+d(e.cause),$),", ")+" }"}if(typeof e=="object"&&l){if(un&&typeof e[un]=="function"&&ir)return ir(e,{depth:p-r});if(l!=="symbol"&&typeof e.inspect=="function")return e.inspect()}if(za(e)){var x=[];return Kr&&Kr.call(e,function(C,B){x.push(d(B,e,!0)+" => "+d(C,e))}),gn("Map",It.call(e),x,m)}if(Qa(e)){var T=[];return Zr&&Zr.call(e,function(C){T.push(d(C,e))}),gn("Set",Ot.call(e),T,m)}if(Va(e))return or("WeakMap");if(Ya(e))return or("WeakSet");if(Ja(e))return or("WeakRef");if(Ba(e))return dt(d(Number(e)));if(Ga(e))return dt(d(rr.call(e)));if(Ua(e))return dt(Ta.call(e));if(qa(e))return dt(d(String(e)));if(typeof window<"u"&&e===window)return"{ [object Window] }";if(e===le)return"{ [object globalThis] }";if(!La(e)&&!dn(e)){var P=jt(e,d),D=on?on(e)===Object.prototype:e instanceof Object||e.constructor===Object,R=e instanceof Object?"":"null prototype",I=!D&&ye&&Object(e)===e&&ye in e?tr.call(Be(e),8,-1):R?"Object":"",F=(D||typeof e.constructor!="function"?"":e.constructor.name?e.constructor.name+" ":"")+(I||R?"["+je.call(nn.call([],I||[],R||[]),": ")+"] ":"");return P.length===0?F+"{}":m?F+"{"+lr(P,m)+"}":F+"{ "+je.call(P,", ")+" }"}return String(e)};var Wa=Object.prototype.hasOwnProperty||function(n){return n in this};function qe(n,e){return Wa.call(n,e)}function Be(n){return Pa.call(n)}function Ha(n){if(n.name)return n.name;var e=Na.call(Ca.call(n),/^function\\s*([\\w$]+)/);return e?e[1]:null}function hn(n,e){if(n.indexOf)return n.indexOf(e);for(var t=0,r=n.length;t<r;t++)if(n[t]===e)return t;return-1}function za(n){if(!It||!n||typeof n!="object")return!1;try{It.call(n);try{Ot.call(n)}catch{return!0}return n instanceof Map}catch{}return!1}function Va(n){if(!ut||!n||typeof n!="object")return!1;try{ut.call(n,ut);try{pt.call(n,pt)}catch{return!0}return n instanceof WeakMap}catch{}return!1}function Ja(n){if(!en||!n||typeof n!="object")return!1;try{return en.call(n),!0}catch{}return!1}function Qa(n){if(!Ot||!n||typeof n!="object")return!1;try{Ot.call(n);try{It.call(n)}catch{return!0}return n instanceof Set}catch{}return!1}function Ya(n){if(!pt||!n||typeof n!="object")return!1;try{pt.call(n,pt);try{ut.call(n,ut)}catch{return!0}return n instanceof WeakSet}catch{}return!1}function Xa(n){return!!n&&typeof n=="object"&&(typeof HTMLElement<"u"&&n instanceof HTMLElement||typeof n.nodeName=="string"&&typeof n.getAttribute=="function")}function mn(n,e){if(n.length>e.maxStringLength){var t=n.length-e.maxStringLength,r="... "+t+" more character"+(t>1?"s":"");return mn(tr.call(n,0,e.maxStringLength),e)+r}return pn(De.call(De.call(n,/(['\\\\])/g,"\\\\$1"),/[\\x00-\\x1f]/g,Ka),"single",e)}function Ka(n){var e=n.charCodeAt(0),t={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return t?"\\\\"+t:"\\\\x"+(e<16?"0":"")+Ma.call(e.toString(16))}function dt(n){return"Object("+n+")"}function or(n){return n+" { ? }"}function gn(n,e,t,r){return n+" ("+e+") {"+(r?lr(t,r):je.call(t,", "))+"}"}function Za(n){for(var e=0;e<n.length;e++)if(hn(n[e],\`
15227
15227
  \`)>=0)return!1;return!0}function ei(n,e){var t;if(n.indent===" ")t=" ";else{if(typeof n.indent!="number"||!(n.indent>0))return null;t=je.call(Array(n.indent+1)," ")}return{base:t,prev:je.call(Array(e+1),t)}}function lr(n,e){if(n.length===0)return"";var t=\`
15228
15228
  \`+e.prev+e.base;return t+je.call(n,","+t)+\`
15229
15229
  \`+e.prev}function jt(n,e){var t,r=sr(n),a=[];if(r){a.length=n.length;for(var i=0;i<n.length;i++)a[i]=qe(n,i)?e(n[i],n):""}var l=typeof nr=="function"?nr(n):[];if(Ze){t={};for(var s=0;s<l.length;s++)t["$"+l[s]]=l[s]}for(var u in n)if(qe(n,u)&&(!r||String(Number(u))!==u||!(u<n.length))){if(Ze&&t["$"+u]instanceof Symbol)continue;rn.call(/[^\\w$]/,u)?a.push(e(u,n)+": "+e(n[u],n)):a.push(u+": "+e(n[u],n))}if(typeof nr=="function")for(var o=0;o<l.length;o++)sn.call(n,l[o])&&a.push("["+e(l[o])+"]: "+e(n[l[o]],n));return a}var $e=A("b9GfH"),Tt=ve("%WeakMap%",!0),Pt=ve("%Map%",!0),ti=Ve("WeakMap.prototype.get",!0),ri=Ve("WeakMap.prototype.set",!0),ni=Ve("WeakMap.prototype.has",!0),ai=Ve("Map.prototype.get",!0),ii=Ve("Map.prototype.set",!0),si=Ve("Map.prototype.has",!0),cr=function(n,e){for(var t,r=n;(t=r.next)!==null;r=t)if(t.key===e)return r.next=t.next,t.next=n.next,n.next=t,t},oi=function(n,e){var t=cr(n,e);return t&&t.value},li=function(n,e,t){var r=cr(n,e);r?r.value=t:n.next={key:e,next:n.next,value:t}},ci=function(n,e){return!!cr(n,e)};Jt=function(){var n,e,t,r={assert:function(a){if(!r.has(a))throw new $e("Side channel does not contain "+Xr(a))},get:function(a){if(Tt&&a&&(typeof a=="object"||typeof a=="function")){if(n)return ti(n,a)}else if(Pt){if(e)return ai(e,a)}else if(t)return oi(t,a)},has:function(a){if(Tt&&a&&(typeof a=="object"||typeof a=="function")){if(n)return ni(n,a)}else if(Pt){if(e)return si(e,a)}else if(t)return ci(t,a);return!1},set:function(a,i){Tt&&a&&(typeof a=="object"||typeof a=="function")?(n||(n=new Tt),ri(n,a,i)):Pt?(e||(e=new Pt),ii(e,a,i)):(t||(t={key:{},next:null}),li(t,a,i))}};return r};var Ee={},Ue={},ui=String.prototype.replace,pi=/%20/g,ur={RFC1738:"RFC1738",RFC3986:"RFC3986"};Ue={default:ur.RFC3986,formatters:{RFC1738:function(n){return ui.call(n,pi,"+")},RFC3986:function(n){return String(n)}},RFC1738:ur.RFC1738,RFC3986:ur.RFC3986};var pr=Object.prototype.hasOwnProperty,Je=Array.isArray,Te=function(){for(var n=[],e=0;e<256;++e)n.push("%"+((e<16?"0":"")+e.toString(16)).toUpperCase());return n}(),di=function(n){for(;n.length>1;){var e=n.pop(),t=e.obj[e.prop];if(Je(t)){for(var r=[],a=0;a<t.length;++a)t[a]!==void 0&&r.push(t[a]);e.obj[e.prop]=r}}},yn=function(n,e){for(var t=e&&e.plainObjects?Object.create(null):{},r=0;r<n.length;++r)n[r]!==void 0&&(t[r]=n[r]);return t},fi=function n(e,t,r){if(!t)return e;if(typeof t!="object"){if(Je(e))e.push(t);else{if(!e||typeof e!="object")return[e,t];(r&&(r.plainObjects||r.allowPrototypes)||!pr.call(Object.prototype,t))&&(e[t]=!0)}return e}if(!e||typeof e!="object")return[e].concat(t);var a=e;return Je(e)&&!Je(t)&&(a=yn(e,r)),Je(e)&&Je(t)?(t.forEach(function(i,l){if(pr.call(e,l)){var s=e[l];s&&typeof s=="object"&&i&&typeof i=="object"?e[l]=n(s,i,r):e.push(i)}else e[l]=i}),e):Object.keys(t).reduce(function(i,l){var s=t[l];return pr.call(i,l)?i[l]=n(i[l],s,r):i[l]=s,i},a)},hi=function(n,e){return Object.keys(e).reduce(function(t,r){return t[r]=e[r],t},n)},mi=function(n,e,t){var r=n.replace(/\\+/g," ");if(t==="iso-8859-1")return r.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(r)}catch{return r}},gi=function(n,e,t,r,a){if(n.length===0)return n;var i=n;if(typeof n=="symbol"?i=Symbol.prototype.toString.call(n):typeof n!="string"&&(i=String(n)),t==="iso-8859-1")return escape(i).replace(/%u[0-9a-f]{4}/gi,function(o){return"%26%23"+parseInt(o.slice(2),16)+"%3B"});for(var l="",s=0;s<i.length;++s){var u=i.charCodeAt(s);if(u===45||u===46||u===95||u===126||u>=48&&u<=57||u>=65&&u<=90||u>=97&&u<=122||a===Ue.RFC1738&&(u===40||u===41)){l+=i.charAt(s);continue}if(u<128){l+=Te[u];continue}if(u<2048){l+=Te[192|u>>6]+Te[128|63&u];continue}if(u<55296||u>=57344){l+=Te[224|u>>12]+Te[128|u>>6&63]+Te[128|63&u];continue}s+=1,l+=Te[240|(u=65536+((1023&u)<<10|1023&i.charCodeAt(s)))>>18]+Te[128|u>>12&63]+Te[128|u>>6&63]+Te[128|63&u]}return l},yi=function(n){for(var e=[{obj:{o:n},prop:"o"}],t=[],r=0;r<e.length;++r)for(var a=e[r],i=a.obj[a.prop],l=Object.keys(i),s=0;s<l.length;++s){var u=l[s],o=i[u];typeof o=="object"&&o!==null&&t.indexOf(o)===-1&&(e.push({obj:i,prop:u}),t.push(o))}return di(e),n},_i=function(n){return Object.prototype.toString.call(n)==="[object RegExp]"},bi=function(n){return!!n&&typeof n=="object"&&!!(n.constructor&&n.constructor.isBuffer&&n.constructor.isBuffer(n))},vi=function(n,e){return[].concat(n,e)},wi=function(n,e){if(Je(n)){for(var t=[],r=0;r<n.length;r+=1)t.push(e(n[r]));return t}return e(n)};Ee={arrayToObject:yn,assign:hi,combine:vi,compact:yi,decode:mi,encode:gi,isBuffer:bi,isRegExp:_i,maybeMap:wi,merge:fi};var $i=Object.prototype.hasOwnProperty,_n={brackets:function(n){return n+"[]"},comma:"comma",indices:function(n,e){return n+"["+e+"]"},repeat:function(n){return n}},Re=Array.isArray,Si=Array.prototype.push,bn=function(n,e){Si.apply(n,Re(e)?e:[e])},xi=Date.prototype.toISOString,vn=Ue.default,_e={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:Ee.encode,encodeValuesOnly:!1,format:vn,formatter:Ue.formatters[vn],indices:!1,serializeDate:function(n){return xi.call(n)},skipNulls:!1,strictNullHandling:!1},Ei=function(n){return typeof n=="string"||typeof n=="number"||typeof n=="boolean"||typeof n=="symbol"||typeof n=="bigint"},dr={},ki=function n(e,t,r,a,i,l,s,u,o,p,m,d,y,f,S,v){for(var w,g=e,_=v,$=0,x=!1;(_=_.get(dr))!==void 0&&!x;){var T=_.get(e);if($+=1,T!==void 0){if(T===$)throw RangeError("Cyclic object value");x=!0}_.get(dr)===void 0&&($=0)}if(typeof u=="function"?g=u(t,g):g instanceof Date?g=m(g):r==="comma"&&Re(g)&&(g=Ee.maybeMap(g,function(X){return X instanceof Date?m(X):X})),g===null){if(i)return s&&!f?s(t,_e.encoder,S,"key",d):t;g=""}if(Ei(g)||Ee.isBuffer(g))return s?[y(f?t:s(t,_e.encoder,S,"key",d))+"="+y(s(g,_e.encoder,S,"value",d))]:[y(t)+"="+y(String(g))];var P=[];if(g===void 0)return P;if(r==="comma"&&Re(g))f&&s&&(g=Ee.maybeMap(g,s)),w=[{value:g.length>0?g.join(",")||null:void 0}];else if(Re(u))w=u;else{var D=Object.keys(g);w=o?D.sort(o):D}for(var R=a&&Re(g)&&g.length===1?t+"[]":t,I=0;I<w.length;++I){var F=w[I],C=typeof F=="object"&&F.value!==void 0?F.value:g[F];if(!l||C!==null){var B=Re(g)?typeof r=="function"?r(R,F):R:R+(p?"."+F:"["+F+"]");v.set(e,$);var V=Jt();V.set(dr,v),bn(P,n(C,B,r,a,i,l,r==="comma"&&f&&Re(g)?null:s,u,o,p,m,d,y,f,S,V))}}return P},Ai=function(n){if(!n)return _e;if(n.encoder!==null&&n.encoder!==void 0&&typeof n.encoder!="function")throw TypeError("Encoder has to be a function.");var e=n.charset||_e.charset;if(n.charset!==void 0&&n.charset!=="utf-8"&&n.charset!=="iso-8859-1")throw TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var t=Ue.default;if(n.format!==void 0){if(!$i.call(Ue.formatters,n.format))throw TypeError("Unknown format option provided.");t=n.format}var r=Ue.formatters[t],a=_e.filter;return(typeof n.filter=="function"||Re(n.filter))&&(a=n.filter),{addQueryPrefix:typeof n.addQueryPrefix=="boolean"?n.addQueryPrefix:_e.addQueryPrefix,allowDots:n.allowDots===void 0?_e.allowDots:!!n.allowDots,charset:e,charsetSentinel:typeof n.charsetSentinel=="boolean"?n.charsetSentinel:_e.charsetSentinel,delimiter:n.delimiter===void 0?_e.delimiter:n.delimiter,encode:typeof n.encode=="boolean"?n.encode:_e.encode,encoder:typeof n.encoder=="function"?n.encoder:_e.encoder,encodeValuesOnly:typeof n.encodeValuesOnly=="boolean"?n.encodeValuesOnly:_e.encodeValuesOnly,filter:a,format:t,formatter:r,serializeDate:typeof n.serializeDate=="function"?n.serializeDate:_e.serializeDate,skipNulls:typeof n.skipNulls=="boolean"?n.skipNulls:_e.skipNulls,sort:typeof n.sort=="function"?n.sort:null,strictNullHandling:typeof n.strictNullHandling=="boolean"?n.strictNullHandling:_e.strictNullHandling}};Hr=function(n,e){var t,r,a=n,i=Ai(e);typeof i.filter=="function"?a=i.filter("",a):Re(i.filter)&&(t=i.filter);var l=[];if(typeof a!="object"||a===null)return"";r=e&&e.arrayFormat in _n?e.arrayFormat:e&&"indices"in e?e.indices?"indices":"repeat":"indices";var s=_n[r];if(e&&"commaRoundTrip"in e&&typeof e.commaRoundTrip!="boolean")throw TypeError("\`commaRoundTrip\` must be a boolean, or absent");var u=s==="comma"&&e&&e.commaRoundTrip;t||(t=Object.keys(a)),i.sort&&t.sort(i.sort);for(var o=Jt(),p=0;p<t.length;++p){var m=t[p];i.skipNulls&&a[m]===null||bn(l,ki(a[m],m,s,u,i.strictNullHandling,i.skipNulls,i.encode?i.encoder:null,i.filter,i.sort,i.allowDots,i.serializeDate,i.format,i.formatter,i.encodeValuesOnly,i.charset,o))}var d=l.join(i.delimiter),y=i.addQueryPrefix===!0?"?":"";return i.charsetSentinel&&(i.charset==="iso-8859-1"?y+="utf8=%26%2310003%3B&":y+="utf8=%E2%9C%93&"),d.length>0?y+d:""};var wn={},fr=Object.prototype.hasOwnProperty,Ii=Array.isArray,de={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:Ee.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},Oi=function(n){return n.replace(/&#(\\d+);/g,function(e,t){return String.fromCharCode(parseInt(t,10))})},$n=function(n,e){return n&&typeof n=="string"&&e.comma&&n.indexOf(",")>-1?n.split(","):n},ji="utf8=%26%2310003%3B",Ti="utf8=%E2%9C%93",Pi=function(n,e){var t={__proto__:null},r=e.ignoreQueryPrefix?n.replace(/^\\?/,""):n,a=e.parameterLimit===1/0?void 0:e.parameterLimit,i=r.split(e.delimiter,a),l=-1,s=e.charset;if(e.charsetSentinel)for(u=0;u<i.length;++u)i[u].indexOf("utf8=")===0&&(i[u]===Ti?s="utf-8":i[u]===ji&&(s="iso-8859-1"),l=u,u=i.length);for(u=0;u<i.length;++u)if(u!==l){var u,o,p,m=i[u],d=m.indexOf("]="),y=d===-1?m.indexOf("="):d+1;y===-1?(o=e.decoder(m,de.decoder,s,"key"),p=e.strictNullHandling?null:""):(o=e.decoder(m.slice(0,y),de.decoder,s,"key"),p=Ee.maybeMap($n(m.slice(y+1),e),function(f){return e.decoder(f,de.decoder,s,"value")})),p&&e.interpretNumericEntities&&s==="iso-8859-1"&&(p=Oi(p)),m.indexOf("[]=")>-1&&(p=Ii(p)?[p]:p),fr.call(t,o)?t[o]=Ee.combine(t[o],p):t[o]=p}return t},Ci=function(n,e,t,r){for(var a=r?e:$n(e,t),i=n.length-1;i>=0;--i){var l,s=n[i];if(s==="[]"&&t.parseArrays)l=[].concat(a);else{l=t.plainObjects?Object.create(null):{};var u=s.charAt(0)==="["&&s.charAt(s.length-1)==="]"?s.slice(1,-1):s,o=parseInt(u,10);t.parseArrays||u!==""?!isNaN(o)&&s!==u&&String(o)===u&&o>=0&&t.parseArrays&&o<=t.arrayLimit?(l=[])[o]=a:u!=="__proto__"&&(l[u]=a):l={0:a}}a=l}return a},Ni=function(n,e,t,r){if(n){var a=t.allowDots?n.replace(/\\.([^.[]+)/g,"[$1]"):n,i=/(\\[[^[\\]]*])/,l=/(\\[[^[\\]]*])/g,s=t.depth>0&&i.exec(a),u=s?a.slice(0,s.index):a,o=[];if(u){if(!t.plainObjects&&fr.call(Object.prototype,u)&&!t.allowPrototypes)return;o.push(u)}for(var p=0;t.depth>0&&(s=l.exec(a))!==null&&p<t.depth;){if(p+=1,!t.plainObjects&&fr.call(Object.prototype,s[1].slice(1,-1))&&!t.allowPrototypes)return;o.push(s[1])}return s&&o.push("["+a.slice(s.index)+"]"),Ci(o,e,t,r)}},Mi=function(n){if(!n)return de;if(n.decoder!==null&&n.decoder!==void 0&&typeof n.decoder!="function")throw TypeError("Decoder has to be a function.");if(n.charset!==void 0&&n.charset!=="utf-8"&&n.charset!=="iso-8859-1")throw TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var e=n.charset===void 0?de.charset:n.charset;return{allowDots:n.allowDots===void 0?de.allowDots:!!n.allowDots,allowPrototypes:typeof n.allowPrototypes=="boolean"?n.allowPrototypes:de.allowPrototypes,allowSparse:typeof n.allowSparse=="boolean"?n.allowSparse:de.allowSparse,arrayLimit:typeof n.arrayLimit=="number"?n.arrayLimit:de.arrayLimit,charset:e,charsetSentinel:typeof n.charsetSentinel=="boolean"?n.charsetSentinel:de.charsetSentinel,comma:typeof n.comma=="boolean"?n.comma:de.comma,decoder:typeof n.decoder=="function"?n.decoder:de.decoder,delimiter:typeof n.delimiter=="string"||Ee.isRegExp(n.delimiter)?n.delimiter:de.delimiter,depth:typeof n.depth=="number"||n.depth===!1?+n.depth:de.depth,ignoreQueryPrefix:n.ignoreQueryPrefix===!0,interpretNumericEntities:typeof n.interpretNumericEntities=="boolean"?n.interpretNumericEntities:de.interpretNumericEntities,parameterLimit:typeof n.parameterLimit=="number"?n.parameterLimit:de.parameterLimit,parseArrays:n.parseArrays!==!1,plainObjects:typeof n.plainObjects=="boolean"?n.plainObjects:de.plainObjects,strictNullHandling:typeof n.strictNullHandling=="boolean"?n.strictNullHandling:de.strictNullHandling}};wn=function(n,e){var t=Mi(e);if(n===""||n==null)return t.plainObjects?Object.create(null):{};for(var r=typeof n=="string"?Pi(n,t):n,a=t.plainObjects?Object.create(null):{},i=Object.keys(r),l=0;l<i.length;++l){var s=i[l],u=Ni(s,r[s],t,typeof n=="string");a=Ee.merge(a,u,t)}return t.allowSparse===!0?a:Ee.compact(a)},kt={formats:Ue,parse:wn,stringify:Hr};class Ri{constructor(e){this.root=e,this.requestPromises=[]}init(e){this.getToken=e}async get(e){let t=await this.getToken(),r=this.getHashCode(e);if(this.requestPromises[r])return this.requestPromises[r].promise;let a=new Promise((i,l)=>{let s;e.externalResource?s=e.url:(s=this.root+e.url,s=\`\${s}\${/\\?/.test(s)?"&":"?"}token=\${t}\${$a(e.params)}\`),G(gt).get(s,{validateStatus:function(u){return u<400}}).then(function(u){u.status!=200&&console.error(\`GUDHUB HTTP SERVICE: GET ERROR: \${u.status}\`,u),i(u.data)}).catch(function(u){console.error(\`GUDHUB HTTP SERVICE: GET ERROR: \${u.response.status}
@@ -15406,36 +15406,6 @@ class IndexedDBAppService extends AppDataService$1 {
15406
15406
  return this.storeManager.putApp(e, t);
15407
15407
  }
15408
15408
  }
15409
- class AppHttpWorkerService extends AppDataService$1 {
15410
- constructor(e, t, r) {
15411
- super(e, t, r), this.dataService = new AppHttpService(e, null, r), this.requestCache = /* @__PURE__ */ new Map(), this.gudhub = r;
15412
- }
15413
- isWithCache() {
15414
- return !1;
15415
- }
15416
- async getAppWithoutProcessing(e) {
15417
- let t = await this.dataService.getAppWithoutProcessing(e);
15418
- return await this.putApp(e, t), t;
15419
- }
15420
- async getApp(e) {
15421
- if (this.requestCache.has(e)) return this.requestCache.get(e);
15422
- let t, r = new Promise((s, l) => {
15423
- t = s;
15424
- });
15425
- this.requestCache.set(e, r);
15426
- let i = await this.dataService.getAppWithoutProcessing(e), a = await this.processRequestedApp(e, i);
15427
- return t(a), a;
15428
- }
15429
- async has(e) {
15430
- return !1;
15431
- }
15432
- async getCached(e) {
15433
- throw new Error();
15434
- }
15435
- async putApp(e, t) {
15436
- throw new Error();
15437
- }
15438
- }
15439
15409
  class AppThroughWebWorkerService extends AppDataService$1 {
15440
15410
  constructor(e, t, r) {
15441
15411
  super(e, t, r), this.dataService = new AppHttpService(e, t, r), this.requestCache = /* @__PURE__ */ new Map(), this.gudhub = r, this.resolveFnMap = /* @__PURE__ */ new Map(), this.appRequestAndProcessWorker = new WorkerWrapper(), this.appRequestAndProcessWorker.postMessage({
@@ -15486,11 +15456,9 @@ class AppThroughWebWorkerService extends AppDataService$1 {
15486
15456
  let AppDataService, ChunkDataService, appDataServiceConf, chunkDataServiceConf;
15487
15457
  IS_BROWSER && useWorkerToProcessRequestsData && (AppDataService = AppThroughWebWorkerService, appDataServiceConf = appsConf);
15488
15458
  IS_BROWSER || (AppDataService = AppHttpService);
15489
- useWorkerToProcessRequestsData && (AppDataServiceForWorker = AppHttpWorkerService);
15490
15459
  IS_BROWSER && cache_chunk_requests && !useWorkerToProcessRequestsData && (ChunkDataService = IndexedDBChunkService, chunkDataServiceConf = chunksConf);
15491
15460
  IS_BROWSER && cache_chunk_requests && useWorkerToProcessRequestsData && (ChunkDataService = IndexedDBChunkService, chunkDataServiceConf = chunksConf);
15492
15461
  IS_BROWSER || (ChunkDataService = ChunkHttpService);
15493
- let AppDataServiceForWorker = AppHttpWorkerService;
15494
15462
  class GudHub {
15495
15463
  constructor(e) {
15496
15464
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {