@progressive-development/pd-spa-helper 0.3.104 → 0.5.0

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.
Files changed (278) hide show
  1. package/dist/PdSpaHelper.d.ts +86 -0
  2. package/dist/PdSpaHelper.d.ts.map +1 -0
  3. package/dist/{src/PdSpaHelper.js → PdSpaHelper.js} +16 -17
  4. package/dist/defaultpage/default-confirm-popup.d.ts +19 -0
  5. package/dist/defaultpage/default-confirm-popup.d.ts.map +1 -0
  6. package/dist/{src/defaultpage → defaultpage}/default-confirm-popup.js +4 -5
  7. package/dist/defaultpage/default-dialog-popup.d.ts +15 -0
  8. package/dist/defaultpage/default-dialog-popup.d.ts.map +1 -0
  9. package/dist/{src/defaultpage → defaultpage}/default-dialog-popup.js +4 -5
  10. package/dist/defaultpage/default-login.d.ts +8 -0
  11. package/dist/defaultpage/default-login.d.ts.map +1 -0
  12. package/dist/{src/defaultpage → defaultpage}/default-login.js +2 -3
  13. package/dist/defaultpage/default-popup.d.ts +7 -0
  14. package/dist/defaultpage/default-popup.d.ts.map +1 -0
  15. package/dist/{src/defaultpage → defaultpage}/default-popup.js +1 -1
  16. package/dist/defaultpage/default-step-address.d.ts +19 -0
  17. package/dist/defaultpage/default-step-address.d.ts.map +1 -0
  18. package/dist/{src/defaultpage → defaultpage}/default-step-address.js +5 -6
  19. package/dist/defaultpage/default-step-summary.d.ts +30 -0
  20. package/dist/defaultpage/default-step-summary.d.ts.map +1 -0
  21. package/dist/{src/defaultpage → defaultpage}/default-step-summary.js +6 -7
  22. package/dist/defaultpage/default-view-page.d.ts +10 -0
  23. package/dist/defaultpage/default-view-page.d.ts.map +1 -0
  24. package/dist/{src/defaultpage → defaultpage}/default-view-page.js +2 -3
  25. package/dist/defaultpage/default-wizard-step.d.ts +35 -0
  26. package/dist/defaultpage/default-wizard-step.d.ts.map +1 -0
  27. package/dist/{src/defaultpage → defaultpage}/default-wizard-step.js +4 -5
  28. package/dist/defaultpage/default-wizard.d.ts +32 -0
  29. package/dist/defaultpage/default-wizard.d.ts.map +1 -0
  30. package/dist/{src/defaultpage → defaultpage}/default-wizard.js +7 -8
  31. package/dist/generated/locale-codes.d.ts +14 -0
  32. package/dist/generated/locale-codes.d.ts.map +1 -0
  33. package/dist/generated/locale-wrapper/be-wrapper.d.ts +16 -0
  34. package/dist/generated/locale-wrapper/be-wrapper.d.ts.map +1 -0
  35. package/dist/generated/locale-wrapper/be-wrapper.js +17 -0
  36. package/dist/generated/locale-wrapper/de-wrapper.d.ts +16 -0
  37. package/dist/generated/locale-wrapper/de-wrapper.d.ts.map +1 -0
  38. package/dist/generated/locale-wrapper/de-wrapper.js +17 -0
  39. package/dist/generated/locale-wrapper/en-wrapper.d.ts +16 -0
  40. package/dist/generated/locale-wrapper/en-wrapper.d.ts.map +1 -0
  41. package/dist/generated/locale-wrapper/en-wrapper.js +17 -0
  42. package/dist/generated/locales/be.d.ts +16 -0
  43. package/dist/generated/locales/be.d.ts.map +1 -0
  44. package/dist/generated/locales/de.d.ts +16 -0
  45. package/dist/generated/locales/de.d.ts.map +1 -0
  46. package/dist/generated/locales/en.d.ts +16 -0
  47. package/dist/generated/locales/en.d.ts.map +1 -0
  48. package/dist/helper/helper-utils.d.ts +6 -0
  49. package/dist/helper/helper-utils.d.ts.map +1 -0
  50. package/dist/index.d.ts +23 -0
  51. package/dist/index.d.ts.map +1 -0
  52. package/dist/index.js +21 -21
  53. package/dist/model/spa-model.d.ts +17 -0
  54. package/dist/model/spa-model.d.ts.map +1 -0
  55. package/dist/pd-panel-viewer.d.ts +2 -0
  56. package/dist/pd-panel-viewer.js +10 -12
  57. package/dist/pd-panel.d.ts +2 -0
  58. package/dist/pd-panel.js +2 -3
  59. package/dist/pd-spa-helper.d.ts +1 -0
  60. package/dist/pd-spa-helper.d.ts.map +1 -0
  61. package/dist/popup/wizard-close-popup.d.ts +11 -0
  62. package/dist/popup/wizard-close-popup.d.ts.map +1 -0
  63. package/dist/{src/popup → popup}/wizard-close-popup.js +3 -5
  64. package/dist/popup/wizard-reload-popup.d.ts +14 -0
  65. package/dist/popup/wizard-reload-popup.d.ts.map +1 -0
  66. package/dist/{src/popup → popup}/wizard-reload-popup.js +3 -5
  67. package/dist/router/AppMain.d.ts +7 -0
  68. package/dist/router/AppMain.d.ts.map +1 -0
  69. package/dist/{src/router → router}/AppMain.js +4 -5
  70. package/dist/service-call-controller2.d.ts +17 -0
  71. package/dist/service-call-controller2.d.ts.map +1 -0
  72. package/dist/service-provider/firebase/auth.d.ts +15 -0
  73. package/dist/service-provider/firebase/auth.d.ts.map +1 -0
  74. package/dist/{src/service-provider → service-provider}/firebase/auth.js +1 -3
  75. package/dist/service-provider/firebase/firestorage-client.d.ts +21 -0
  76. package/dist/service-provider/firebase/firestorage-client.d.ts.map +1 -0
  77. package/dist/{src/service-provider → service-provider}/firebase/firestorage-client.js +1 -1
  78. package/dist/service-provider/firebase/firestore-client.d.ts +12 -0
  79. package/dist/service-provider/firebase/firestore-client.d.ts.map +1 -0
  80. package/dist/{src/service-provider → service-provider}/firebase/firestore-client.js +1 -1
  81. package/dist/service-provider/firebase/functions-client.d.ts +10 -0
  82. package/dist/service-provider/firebase/functions-client.d.ts.map +1 -0
  83. package/dist/{src/service-provider → service-provider}/firebase/functions-client.js +1 -1
  84. package/dist/service-provider/firebase/messagingFirebaseClient.d.ts +9 -0
  85. package/dist/service-provider/firebase/messagingFirebaseClient.d.ts.map +1 -0
  86. package/dist/{src/service-provider → service-provider}/firebase/messagingFirebaseClient.js +2 -2
  87. package/dist/service-provider/mock/auth.d.ts +6 -0
  88. package/dist/service-provider/mock/auth.d.ts.map +1 -0
  89. package/dist/service-provider/mock/function-client.d.ts +9 -0
  90. package/dist/service-provider/mock/function-client.d.ts.map +1 -0
  91. package/dist/service-provider/mock/storage-client.d.ts +11 -0
  92. package/dist/service-provider/mock/storage-client.d.ts.map +1 -0
  93. package/dist/service-provider/service-provider-impl.d.ts +22 -0
  94. package/dist/service-provider/service-provider-impl.d.ts.map +1 -0
  95. package/dist/{src/service-provider → service-provider}/service-provider-impl.js +1 -2
  96. package/dist/service-provider/service-provider-model.d.ts +137 -0
  97. package/dist/service-provider/service-provider-model.d.ts.map +1 -0
  98. package/dist/store/indexDB.d.ts +28 -0
  99. package/dist/store/indexDB.d.ts.map +1 -0
  100. package/dist/store/mini-rx.store.d.ts +5 -0
  101. package/dist/store/mini-rx.store.d.ts.map +1 -0
  102. package/dist/{src/store → store}/mini-rx.store.js +1 -1
  103. package/dist/store/spa-app-actions.d.ts +105 -0
  104. package/dist/store/spa-app-actions.d.ts.map +1 -0
  105. package/dist/store/spa-app-effects.d.ts +24 -0
  106. package/dist/store/spa-app-effects.d.ts.map +1 -0
  107. package/dist/{src/store → store}/spa-app-effects.js +2 -2
  108. package/dist/store/spa-app-reducer.d.ts +10 -0
  109. package/dist/store/spa-app-reducer.d.ts.map +1 -0
  110. package/dist/store/spa-app-selector.d.ts +7 -0
  111. package/dist/store/spa-app-selector.d.ts.map +1 -0
  112. package/dist/{src/store → store}/spa-app-selector.js +1 -1
  113. package/dist/stories/pd-loading-state.stories.d.ts +30 -0
  114. package/dist/stories/pd-loading-state.stories.d.ts.map +1 -0
  115. package/dist/stories/pd-toast.stories.d.ts +23 -0
  116. package/dist/stories/pd-toast.stories.d.ts.map +1 -0
  117. package/dist/tmpown/pd-loading-state.d.ts +9 -0
  118. package/dist/tmpown/pd-loading-state.d.ts.map +1 -0
  119. package/dist/{src/tmpown → tmpown}/pd-loading-state.js +6 -8
  120. package/dist/tmpown/pd-login.d.ts +11 -0
  121. package/dist/tmpown/pd-login.d.ts.map +1 -0
  122. package/dist/{src/tmpown → tmpown}/pd-login.js +6 -7
  123. package/dist/tmpown/pd-panel-viewer.d.ts +17 -0
  124. package/dist/tmpown/pd-panel-viewer.d.ts.map +1 -0
  125. package/dist/tmpown/pd-panel.d.ts +6 -0
  126. package/dist/tmpown/pd-panel.d.ts.map +1 -0
  127. package/dist/tmpown/pd-toast.d.ts +13 -0
  128. package/dist/tmpown/pd-toast.d.ts.map +1 -0
  129. package/dist/{src/tmpown → tmpown}/pd-toast.js +5 -7
  130. package/package.json +25 -20
  131. package/dist/node_modules/@firebase/app/dist/esm/index.esm2017.js +0 -749
  132. package/dist/node_modules/@firebase/auth/dist/esm2017/index-68602d24.js +0 -6265
  133. package/dist/node_modules/@firebase/component/dist/esm/index.esm2017.js +0 -341
  134. package/dist/node_modules/@firebase/firestore/dist/index.esm2017.js +0 -10250
  135. package/dist/node_modules/@firebase/functions/dist/index.esm2017.js +0 -513
  136. package/dist/node_modules/@firebase/installations/dist/esm/index.esm2017.js +0 -863
  137. package/dist/node_modules/@firebase/logger/dist/esm/index.esm2017.js +0 -122
  138. package/dist/node_modules/@firebase/messaging/dist/esm/index.esm2017.js +0 -1019
  139. package/dist/node_modules/@firebase/storage/dist/index.esm2017.js +0 -2042
  140. package/dist/node_modules/@firebase/util/dist/index.esm2017.js +0 -931
  141. package/dist/node_modules/@firebase/webchannel-wrapper/dist/bloom-blob/esm/bloom_blob_es2018.js +0 -417
  142. package/dist/node_modules/@firebase/webchannel-wrapper/dist/webchannel-blob/esm/webchannel_blob_es2018.js +0 -2155
  143. package/dist/node_modules/@lit/reactive-element/decorators/custom-element.js +0 -14
  144. package/dist/node_modules/@lit/reactive-element/decorators/property.js +0 -20
  145. package/dist/node_modules/@lit/reactive-element/decorators/query-assigned-elements.js +0 -7
  146. package/dist/node_modules/@progressive-development/pd-dialog/pd-popup-dialog.js +0 -5
  147. package/dist/node_modules/@progressive-development/pd-dialog/pd-popup.js +0 -2
  148. package/dist/node_modules/@progressive-development/pd-dialog/src/PdPopup.js +0 -113
  149. package/dist/node_modules/@progressive-development/pd-dialog/src/PdPopupDialog.js +0 -189
  150. package/dist/node_modules/@progressive-development/pd-forms/pd-button.js +0 -2
  151. package/dist/node_modules/@progressive-development/pd-forms/pd-form-container.js +0 -2
  152. package/dist/node_modules/@progressive-development/pd-forms/pd-form-row.js +0 -2
  153. package/dist/node_modules/@progressive-development/pd-forms/pd-hover-box.js +0 -2
  154. package/dist/node_modules/@progressive-development/pd-forms/pd-input.js +0 -2
  155. package/dist/node_modules/@progressive-development/pd-forms/src/PdBaseInputElement.js +0 -86
  156. package/dist/node_modules/@progressive-development/pd-forms/src/PdBaseUi.js +0 -34
  157. package/dist/node_modules/@progressive-development/pd-forms/src/PdBaseUiInput.js +0 -227
  158. package/dist/node_modules/@progressive-development/pd-forms/src/PdButton.js +0 -194
  159. package/dist/node_modules/@progressive-development/pd-forms/src/PdFormContainer.js +0 -167
  160. package/dist/node_modules/@progressive-development/pd-forms/src/PdFormRow.js +0 -92
  161. package/dist/node_modules/@progressive-development/pd-forms/src/PdHoverBox.js +0 -108
  162. package/dist/node_modules/@progressive-development/pd-forms/src/PdInput.js +0 -79
  163. package/dist/node_modules/@progressive-development/pd-forms/src/generated/locale/be.js +0 -11
  164. package/dist/node_modules/@progressive-development/pd-forms/src/generated/locale/en.js +0 -11
  165. package/dist/node_modules/@progressive-development/pd-forms/src/shared-input-field-styles.js +0 -152
  166. package/dist/node_modules/@progressive-development/pd-forms/src/shared-input-styles.js +0 -64
  167. package/dist/node_modules/@progressive-development/pd-icon/pd-icon.js +0 -4
  168. package/dist/node_modules/@progressive-development/pd-icon/src/PdIcon.js +0 -596
  169. package/dist/node_modules/@progressive-development/pd-order/dist/locales/be.js +0 -15
  170. package/dist/node_modules/@progressive-development/pd-order/dist/locales/de.js +0 -15
  171. package/dist/node_modules/@progressive-development/pd-order/dist/locales/en.js +0 -15
  172. package/dist/node_modules/@progressive-development/pd-order/dist/node_modules/@progressive-development/pd-contact/pd-contact.js +0 -2
  173. package/dist/node_modules/@progressive-development/pd-order/dist/node_modules/@progressive-development/pd-contact/src/PdContact.js +0 -567
  174. package/dist/node_modules/@progressive-development/pd-order/dist/node_modules/@progressive-development/pd-content/pd-collapse.js +0 -2
  175. package/dist/node_modules/@progressive-development/pd-order/dist/node_modules/@progressive-development/pd-content/pd-edit-content.js +0 -2
  176. package/dist/node_modules/@progressive-development/pd-order/dist/node_modules/@progressive-development/pd-content/src/PdCollapse.js +0 -136
  177. package/dist/node_modules/@progressive-development/pd-order/dist/node_modules/@progressive-development/pd-content/src/PdEditContent.js +0 -224
  178. package/dist/node_modules/@progressive-development/pd-order/dist/node_modules/@progressive-development/pd-dialog/pd-popup.js +0 -2
  179. package/dist/node_modules/@progressive-development/pd-order/dist/node_modules/@progressive-development/pd-dialog/src/PdPopup.js +0 -113
  180. package/dist/node_modules/@progressive-development/pd-order/dist/node_modules/@progressive-development/pd-forms/pd-checkbox.js +0 -2
  181. package/dist/node_modules/@progressive-development/pd-order/dist/node_modules/@progressive-development/pd-forms/pd-form-container.js +0 -2
  182. package/dist/node_modules/@progressive-development/pd-order/dist/node_modules/@progressive-development/pd-forms/pd-form-row.js +0 -2
  183. package/dist/node_modules/@progressive-development/pd-order/dist/node_modules/@progressive-development/pd-forms/pd-hover-box.js +0 -2
  184. package/dist/node_modules/@progressive-development/pd-order/dist/node_modules/@progressive-development/pd-forms/pd-input.js +0 -2
  185. package/dist/node_modules/@progressive-development/pd-order/dist/node_modules/@progressive-development/pd-forms/pd-radio-group.js +0 -2
  186. package/dist/node_modules/@progressive-development/pd-order/dist/node_modules/@progressive-development/pd-forms/src/PdBaseInputElement.js +0 -86
  187. package/dist/node_modules/@progressive-development/pd-order/dist/node_modules/@progressive-development/pd-forms/src/PdBaseUi.js +0 -34
  188. package/dist/node_modules/@progressive-development/pd-order/dist/node_modules/@progressive-development/pd-forms/src/PdBaseUiInput.js +0 -229
  189. package/dist/node_modules/@progressive-development/pd-order/dist/node_modules/@progressive-development/pd-forms/src/PdCheckbox.js +0 -230
  190. package/dist/node_modules/@progressive-development/pd-order/dist/node_modules/@progressive-development/pd-forms/src/PdFormContainer.js +0 -167
  191. package/dist/node_modules/@progressive-development/pd-order/dist/node_modules/@progressive-development/pd-forms/src/PdFormRow.js +0 -92
  192. package/dist/node_modules/@progressive-development/pd-order/dist/node_modules/@progressive-development/pd-forms/src/PdHoverBox.js +0 -108
  193. package/dist/node_modules/@progressive-development/pd-order/dist/node_modules/@progressive-development/pd-forms/src/PdInput.js +0 -79
  194. package/dist/node_modules/@progressive-development/pd-order/dist/node_modules/@progressive-development/pd-forms/src/PdRadioGroup.js +0 -72
  195. package/dist/node_modules/@progressive-development/pd-order/dist/node_modules/@progressive-development/pd-forms/src/shared-input-field-styles.js +0 -152
  196. package/dist/node_modules/@progressive-development/pd-order/dist/node_modules/@progressive-development/pd-forms/src/shared-input-styles.js +0 -64
  197. package/dist/node_modules/@progressive-development/pd-order/dist/node_modules/@progressive-development/pd-icon/pd-icon.js +0 -4
  198. package/dist/node_modules/@progressive-development/pd-order/dist/node_modules/@progressive-development/pd-icon/src/PdIcon.js +0 -596
  199. package/dist/node_modules/@progressive-development/pd-order/dist/node_modules/@progressive-development/pd-price/pd-pricetable.js +0 -2
  200. package/dist/node_modules/@progressive-development/pd-order/dist/node_modules/@progressive-development/pd-price/src/PdPricetable.js +0 -149
  201. package/dist/node_modules/@progressive-development/pd-order/dist/node_modules/fecha/lib/fecha.js +0 -200
  202. package/dist/node_modules/@progressive-development/pd-order/dist/node_modules/lit/node_modules/lit-html/directive.js +0 -27
  203. package/dist/node_modules/@progressive-development/pd-order/dist/node_modules/lit/node_modules/lit-html/directives/class-map.js +0 -36
  204. package/dist/node_modules/@progressive-development/pd-order/dist/node_modules/lit/node_modules/lit-html/lit-html.js +0 -242
  205. package/dist/node_modules/@progressive-development/pd-order/dist/pd-order-contacts.js +0 -2
  206. package/dist/node_modules/@progressive-development/pd-order/dist/pd-order-summary.js +0 -2
  207. package/dist/node_modules/@progressive-development/pd-order/dist/src/PdOrderContacts.js +0 -192
  208. package/dist/node_modules/@progressive-development/pd-order/dist/src/PdOrderSummary.js +0 -243
  209. package/dist/node_modules/@progressive-development/pd-page/pd-footer.js +0 -2
  210. package/dist/node_modules/@progressive-development/pd-page/pd-menu.js +0 -2
  211. package/dist/node_modules/@progressive-development/pd-page/src/PdFooter.js +0 -141
  212. package/dist/node_modules/@progressive-development/pd-page/src/PdMenu.js +0 -450
  213. package/dist/node_modules/@progressive-development/pd-shared-styles/src/shared-color-styles.js +0 -30
  214. package/dist/node_modules/@progressive-development/pd-shared-styles/src/shared-font-styles.js +0 -32
  215. package/dist/node_modules/@progressive-development/pd-wizard/pd-wizard.js +0 -2
  216. package/dist/node_modules/@progressive-development/pd-wizard/src/PdSteps.js +0 -191
  217. package/dist/node_modules/@progressive-development/pd-wizard/src/PdWizard.js +0 -280
  218. package/dist/node_modules/firebase/app/dist/esm/index.esm.js +0 -35
  219. package/dist/node_modules/idb/build/index.js +0 -81
  220. package/dist/node_modules/idb/build/wrap-idb-value.js +0 -148
  221. package/dist/node_modules/lit/node_modules/lit-html/directive.js +0 -27
  222. package/dist/node_modules/lit/node_modules/lit-html/directives/class-map.js +0 -36
  223. package/dist/node_modules/lit/node_modules/lit-html/lit-html.js +0 -242
  224. package/dist/node_modules/lit-element-router/lit-element-router.js +0 -131
  225. package/dist/node_modules/lit-element-router/utility/router-utility.js +0 -36
  226. package/dist/node_modules/mini-rx-store/index.esm.js +0 -458
  227. package/dist/node_modules/pwa-helpers/media-query.js +0 -17
  228. package/dist/node_modules/rxjs/dist/esm5/internal/Observable.js +0 -100
  229. package/dist/node_modules/rxjs/dist/esm5/internal/Subscriber.js +0 -147
  230. package/dist/node_modules/rxjs/dist/esm5/internal/Subscription.js +0 -139
  231. package/dist/node_modules/rxjs/dist/esm5/internal/config.js +0 -10
  232. package/dist/node_modules/rxjs/dist/esm5/internal/observable/innerFrom.js +0 -159
  233. package/dist/node_modules/rxjs/dist/esm5/internal/operators/OperatorSubscriber.js +0 -52
  234. package/dist/node_modules/rxjs/dist/esm5/internal/operators/catchError.js +0 -28
  235. package/dist/node_modules/rxjs/dist/esm5/internal/operators/distinctUntilChanged.js +0 -27
  236. package/dist/node_modules/rxjs/dist/esm5/internal/operators/filter.js +0 -13
  237. package/dist/node_modules/rxjs/dist/esm5/internal/operators/map.js +0 -13
  238. package/dist/node_modules/rxjs/dist/esm5/internal/operators/observeOn.js +0 -26
  239. package/dist/node_modules/rxjs/dist/esm5/internal/operators/tap.js +0 -36
  240. package/dist/node_modules/rxjs/dist/esm5/internal/operators/withLatestFrom.js +0 -43
  241. package/dist/node_modules/rxjs/dist/esm5/internal/scheduler/timeoutProvider.js +0 -18
  242. package/dist/node_modules/rxjs/dist/esm5/internal/symbol/iterator.js +0 -11
  243. package/dist/node_modules/rxjs/dist/esm5/internal/symbol/observable.js +0 -6
  244. package/dist/node_modules/rxjs/dist/esm5/internal/util/UnsubscriptionError.js +0 -14
  245. package/dist/node_modules/rxjs/dist/esm5/internal/util/args.js +0 -10
  246. package/dist/node_modules/rxjs/dist/esm5/internal/util/arrRemove.js +0 -9
  247. package/dist/node_modules/rxjs/dist/esm5/internal/util/createErrorClass.js +0 -13
  248. package/dist/node_modules/rxjs/dist/esm5/internal/util/errorContext.js +0 -8
  249. package/dist/node_modules/rxjs/dist/esm5/internal/util/executeSchedule.js +0 -23
  250. package/dist/node_modules/rxjs/dist/esm5/internal/util/identity.js +0 -6
  251. package/dist/node_modules/rxjs/dist/esm5/internal/util/isArrayLike.js +0 -6
  252. package/dist/node_modules/rxjs/dist/esm5/internal/util/isAsyncIterable.js +0 -7
  253. package/dist/node_modules/rxjs/dist/esm5/internal/util/isFunction.js +0 -6
  254. package/dist/node_modules/rxjs/dist/esm5/internal/util/isInteropObservable.js +0 -8
  255. package/dist/node_modules/rxjs/dist/esm5/internal/util/isIterable.js +0 -8
  256. package/dist/node_modules/rxjs/dist/esm5/internal/util/isPromise.js +0 -7
  257. package/dist/node_modules/rxjs/dist/esm5/internal/util/isReadableStreamLike.js +0 -46
  258. package/dist/node_modules/rxjs/dist/esm5/internal/util/lift.js +0 -22
  259. package/dist/node_modules/rxjs/dist/esm5/internal/util/noop.js +0 -5
  260. package/dist/node_modules/rxjs/dist/esm5/internal/util/pipe.js +0 -17
  261. package/dist/node_modules/rxjs/dist/esm5/internal/util/reportUnhandledError.js +0 -11
  262. package/dist/node_modules/rxjs/dist/esm5/internal/util/throwUnobservableError.js +0 -6
  263. package/dist/node_modules/tslib/tslib.es6.js +0 -240
  264. package/dist/src/generated/locale-wrapper/be-wrapper.js +0 -15
  265. package/dist/src/generated/locale-wrapper/de-wrapper.js +0 -13
  266. package/dist/src/generated/locale-wrapper/en-wrapper.js +0 -15
  267. /package/dist/{src/generated → generated}/locales/be.js +0 -0
  268. /package/dist/{src/generated → generated}/locales/de.js +0 -0
  269. /package/dist/{src/generated → generated}/locales/en.js +0 -0
  270. /package/dist/{src/helper → helper}/helper-utils.js +0 -0
  271. /package/dist/{src/model → model}/spa-model.js +0 -0
  272. /package/dist/{src/service-provider → service-provider}/mock/auth.js +0 -0
  273. /package/dist/{src/service-provider → service-provider}/mock/function-client.js +0 -0
  274. /package/dist/{src/service-provider → service-provider}/mock/storage-client.js +0 -0
  275. /package/dist/{src/service-provider → service-provider}/service-provider-model.js +0 -0
  276. /package/dist/{src/store → store}/indexDB.js +0 -0
  277. /package/dist/{src/store → store}/spa-app-actions.js +0 -0
  278. /package/dist/{src/store → store}/spa-app-reducer.js +0 -0
@@ -1,2155 +0,0 @@
1
- var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
2
- /** @license
3
- Copyright The Closure Library Authors.
4
- SPDX-License-Identifier: Apache-2.0
5
- */
6
- var XhrIo;
7
- var WebChannel;
8
- var EventType;
9
- var ErrorCode;
10
- var Stat;
11
- var Event;
12
- var getStatEventTarget;
13
- var createWebChannelTransport;
14
- (function() {
15
- var h, aa = "function" == typeof Object.defineProperties ? Object.defineProperty : function(a, b, c) {
16
- if (a == Array.prototype || a == Object.prototype) return a;
17
- a[b] = c.value;
18
- return a;
19
- };
20
- function ba(a) {
21
- a = ["object" == typeof globalThis && globalThis, a, "object" == typeof window && window, "object" == typeof self && self, "object" == typeof commonjsGlobal && commonjsGlobal];
22
- for (var b = 0; b < a.length; ++b) {
23
- var c = a[b];
24
- if (c && c.Math == Math) return c;
25
- }
26
- throw Error("Cannot find global object");
27
- }
28
- var ca = ba(this);
29
- function da(a, b) {
30
- if (b) a: {
31
- var c = ca;
32
- a = a.split(".");
33
- for (var d = 0; d < a.length - 1; d++) {
34
- var e = a[d];
35
- if (!(e in c)) break a;
36
- c = c[e];
37
- }
38
- a = a[a.length - 1];
39
- d = c[a];
40
- b = b(d);
41
- b != d && null != b && aa(c, a, { configurable: true, writable: true, value: b });
42
- }
43
- }
44
- function ea(a, b) {
45
- a instanceof String && (a += "");
46
- var c = 0, d = false, e = { next: function() {
47
- if (!d && c < a.length) {
48
- var f = c++;
49
- return { value: b(f, a[f]), done: false };
50
- }
51
- d = true;
52
- return { done: true, value: void 0 };
53
- } };
54
- e[Symbol.iterator] = function() {
55
- return e;
56
- };
57
- return e;
58
- }
59
- da("Array.prototype.values", function(a) {
60
- return a ? a : function() {
61
- return ea(this, function(b, c) {
62
- return c;
63
- });
64
- };
65
- });
66
- /** @license
67
-
68
- Copyright The Closure Library Authors.
69
- SPDX-License-Identifier: Apache-2.0
70
- */
71
- var fa = fa || {}, k = this || self;
72
- function ha(a) {
73
- var b = typeof a;
74
- b = "object" != b ? b : a ? Array.isArray(a) ? "array" : b : "null";
75
- return "array" == b || "object" == b && "number" == typeof a.length;
76
- }
77
- function n(a) {
78
- var b = typeof a;
79
- return "object" == b && null != a || "function" == b;
80
- }
81
- function ia(a, b, c) {
82
- return a.call.apply(a.bind, arguments);
83
- }
84
- function ja(a, b, c) {
85
- if (!a) throw Error();
86
- if (2 < arguments.length) {
87
- var d = Array.prototype.slice.call(arguments, 2);
88
- return function() {
89
- var e = Array.prototype.slice.call(arguments);
90
- Array.prototype.unshift.apply(e, d);
91
- return a.apply(b, e);
92
- };
93
- }
94
- return function() {
95
- return a.apply(b, arguments);
96
- };
97
- }
98
- function p(a, b, c) {
99
- p = Function.prototype.bind && -1 != Function.prototype.bind.toString().indexOf("native code") ? ia : ja;
100
- return p.apply(null, arguments);
101
- }
102
- function ka(a, b) {
103
- var c = Array.prototype.slice.call(arguments, 1);
104
- return function() {
105
- var d = c.slice();
106
- d.push.apply(d, arguments);
107
- return a.apply(this, d);
108
- };
109
- }
110
- function r(a, b) {
111
- function c() {
112
- }
113
- c.prototype = b.prototype;
114
- a.aa = b.prototype;
115
- a.prototype = new c();
116
- a.prototype.constructor = a;
117
- a.Qb = function(d, e, f) {
118
- for (var g = Array(arguments.length - 2), m = 2; m < arguments.length; m++) g[m - 2] = arguments[m];
119
- return b.prototype[e].apply(d, g);
120
- };
121
- }
122
- function la(a) {
123
- const b = a.length;
124
- if (0 < b) {
125
- const c = Array(b);
126
- for (let d = 0; d < b; d++) c[d] = a[d];
127
- return c;
128
- }
129
- return [];
130
- }
131
- function ma(a, b) {
132
- for (let c = 1; c < arguments.length; c++) {
133
- const d = arguments[c];
134
- if (ha(d)) {
135
- const e = a.length || 0, f = d.length || 0;
136
- a.length = e + f;
137
- for (let g = 0; g < f; g++) a[e + g] = d[g];
138
- } else a.push(d);
139
- }
140
- }
141
- class na {
142
- constructor(a, b) {
143
- this.i = a;
144
- this.j = b;
145
- this.h = 0;
146
- this.g = null;
147
- }
148
- get() {
149
- let a;
150
- 0 < this.h ? (this.h--, a = this.g, this.g = a.next, a.next = null) : a = this.i();
151
- return a;
152
- }
153
- }
154
- function t(a) {
155
- return /^[\s\xa0]*$/.test(a);
156
- }
157
- function u() {
158
- var a = k.navigator;
159
- return a && (a = a.userAgent) ? a : "";
160
- }
161
- function oa(a) {
162
- oa[" "](a);
163
- return a;
164
- }
165
- oa[" "] = function() {
166
- };
167
- var pa = -1 != u().indexOf("Gecko") && !(-1 != u().toLowerCase().indexOf("webkit") && -1 == u().indexOf("Edge")) && !(-1 != u().indexOf("Trident") || -1 != u().indexOf("MSIE")) && -1 == u().indexOf("Edge");
168
- function qa(a, b, c) {
169
- for (const d in a) b.call(c, a[d], d, a);
170
- }
171
- function ra(a, b) {
172
- for (const c in a) b.call(void 0, a[c], c, a);
173
- }
174
- function sa(a) {
175
- const b = {};
176
- for (const c in a) b[c] = a[c];
177
- return b;
178
- }
179
- const ta = "constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");
180
- function ua(a, b) {
181
- let c, d;
182
- for (let e = 1; e < arguments.length; e++) {
183
- d = arguments[e];
184
- for (c in d) a[c] = d[c];
185
- for (let f = 0; f < ta.length; f++) c = ta[f], Object.prototype.hasOwnProperty.call(d, c) && (a[c] = d[c]);
186
- }
187
- }
188
- function va(a) {
189
- var b = 1;
190
- a = a.split(":");
191
- const c = [];
192
- for (; 0 < b && a.length; ) c.push(a.shift()), b--;
193
- a.length && c.push(a.join(":"));
194
- return c;
195
- }
196
- function wa(a) {
197
- k.setTimeout(() => {
198
- throw a;
199
- }, 0);
200
- }
201
- function xa() {
202
- var a = za;
203
- let b = null;
204
- a.g && (b = a.g, a.g = a.g.next, a.g || (a.h = null), b.next = null);
205
- return b;
206
- }
207
- class Aa {
208
- constructor() {
209
- this.h = this.g = null;
210
- }
211
- add(a, b) {
212
- const c = Ba.get();
213
- c.set(a, b);
214
- this.h ? this.h.next = c : this.g = c;
215
- this.h = c;
216
- }
217
- }
218
- var Ba = new na(() => new Ca(), (a) => a.reset());
219
- class Ca {
220
- constructor() {
221
- this.next = this.g = this.h = null;
222
- }
223
- set(a, b) {
224
- this.h = a;
225
- this.g = b;
226
- this.next = null;
227
- }
228
- reset() {
229
- this.next = this.g = this.h = null;
230
- }
231
- }
232
- let x, y = false, za = new Aa(), Ea = () => {
233
- const a = k.Promise.resolve(void 0);
234
- x = () => {
235
- a.then(Da);
236
- };
237
- };
238
- var Da = () => {
239
- for (var a; a = xa(); ) {
240
- try {
241
- a.h.call(a.g);
242
- } catch (c) {
243
- wa(c);
244
- }
245
- var b = Ba;
246
- b.j(a);
247
- 100 > b.h && (b.h++, a.next = b.g, b.g = a);
248
- }
249
- y = false;
250
- };
251
- function z() {
252
- this.s = this.s;
253
- this.C = this.C;
254
- }
255
- z.prototype.s = false;
256
- z.prototype.ma = function() {
257
- this.s || (this.s = true, this.N());
258
- };
259
- z.prototype.N = function() {
260
- if (this.C) for (; this.C.length; ) this.C.shift()();
261
- };
262
- function A(a, b) {
263
- this.type = a;
264
- this.g = this.target = b;
265
- this.defaultPrevented = false;
266
- }
267
- A.prototype.h = function() {
268
- this.defaultPrevented = true;
269
- };
270
- var Fa = function() {
271
- if (!k.addEventListener || !Object.defineProperty) return false;
272
- var a = false, b = Object.defineProperty({}, "passive", { get: function() {
273
- a = true;
274
- } });
275
- try {
276
- const c = () => {
277
- };
278
- k.addEventListener("test", c, b);
279
- k.removeEventListener("test", c, b);
280
- } catch (c) {
281
- }
282
- return a;
283
- }();
284
- function C(a, b) {
285
- A.call(this, a ? a.type : "");
286
- this.relatedTarget = this.g = this.target = null;
287
- this.button = this.screenY = this.screenX = this.clientY = this.clientX = 0;
288
- this.key = "";
289
- this.metaKey = this.shiftKey = this.altKey = this.ctrlKey = false;
290
- this.state = null;
291
- this.pointerId = 0;
292
- this.pointerType = "";
293
- this.i = null;
294
- if (a) {
295
- var c = this.type = a.type, d = a.changedTouches && a.changedTouches.length ? a.changedTouches[0] : null;
296
- this.target = a.target || a.srcElement;
297
- this.g = b;
298
- if (b = a.relatedTarget) {
299
- if (pa) {
300
- a: {
301
- try {
302
- oa(b.nodeName);
303
- var e = true;
304
- break a;
305
- } catch (f) {
306
- }
307
- e = false;
308
- }
309
- e || (b = null);
310
- }
311
- } else "mouseover" == c ? b = a.fromElement : "mouseout" == c && (b = a.toElement);
312
- this.relatedTarget = b;
313
- d ? (this.clientX = void 0 !== d.clientX ? d.clientX : d.pageX, this.clientY = void 0 !== d.clientY ? d.clientY : d.pageY, this.screenX = d.screenX || 0, this.screenY = d.screenY || 0) : (this.clientX = void 0 !== a.clientX ? a.clientX : a.pageX, this.clientY = void 0 !== a.clientY ? a.clientY : a.pageY, this.screenX = a.screenX || 0, this.screenY = a.screenY || 0);
314
- this.button = a.button;
315
- this.key = a.key || "";
316
- this.ctrlKey = a.ctrlKey;
317
- this.altKey = a.altKey;
318
- this.shiftKey = a.shiftKey;
319
- this.metaKey = a.metaKey;
320
- this.pointerId = a.pointerId || 0;
321
- this.pointerType = "string" === typeof a.pointerType ? a.pointerType : Ga[a.pointerType] || "";
322
- this.state = a.state;
323
- this.i = a;
324
- a.defaultPrevented && C.aa.h.call(this);
325
- }
326
- }
327
- r(C, A);
328
- var Ga = { 2: "touch", 3: "pen", 4: "mouse" };
329
- C.prototype.h = function() {
330
- C.aa.h.call(this);
331
- var a = this.i;
332
- a.preventDefault ? a.preventDefault() : a.returnValue = false;
333
- };
334
- var D = "closure_listenable_" + (1e6 * Math.random() | 0);
335
- var Ha = 0;
336
- function Ia(a, b, c, d, e) {
337
- this.listener = a;
338
- this.proxy = null;
339
- this.src = b;
340
- this.type = c;
341
- this.capture = !!d;
342
- this.ha = e;
343
- this.key = ++Ha;
344
- this.da = this.fa = false;
345
- }
346
- function Ja(a) {
347
- a.da = true;
348
- a.listener = null;
349
- a.proxy = null;
350
- a.src = null;
351
- a.ha = null;
352
- }
353
- function Ka(a) {
354
- this.src = a;
355
- this.g = {};
356
- this.h = 0;
357
- }
358
- Ka.prototype.add = function(a, b, c, d, e) {
359
- var f = a.toString();
360
- a = this.g[f];
361
- a || (a = this.g[f] = [], this.h++);
362
- var g = La(a, b, d, e);
363
- -1 < g ? (b = a[g], c || (b.fa = false)) : (b = new Ia(b, this.src, f, !!d, e), b.fa = c, a.push(b));
364
- return b;
365
- };
366
- function Ma(a, b) {
367
- var c = b.type;
368
- if (c in a.g) {
369
- var d = a.g[c], e = Array.prototype.indexOf.call(d, b, void 0), f;
370
- (f = 0 <= e) && Array.prototype.splice.call(d, e, 1);
371
- f && (Ja(b), 0 == a.g[c].length && (delete a.g[c], a.h--));
372
- }
373
- }
374
- function La(a, b, c, d) {
375
- for (var e = 0; e < a.length; ++e) {
376
- var f = a[e];
377
- if (!f.da && f.listener == b && f.capture == !!c && f.ha == d) return e;
378
- }
379
- return -1;
380
- }
381
- var Na = "closure_lm_" + (1e6 * Math.random() | 0), Oa = {};
382
- function Qa(a, b, c, d, e) {
383
- if (Array.isArray(b)) {
384
- for (var f = 0; f < b.length; f++) Qa(a, b[f], c, d, e);
385
- return null;
386
- }
387
- c = Sa(c);
388
- return a && a[D] ? a.K(b, c, n(d) ? !!d.capture : !!d, e) : Ta(a, b, c, false, d, e);
389
- }
390
- function Ta(a, b, c, d, e, f) {
391
- if (!b) throw Error("Invalid event type");
392
- var g = n(e) ? !!e.capture : !!e, m = Ua(a);
393
- m || (a[Na] = m = new Ka(a));
394
- c = m.add(b, c, d, g, f);
395
- if (c.proxy) return c;
396
- d = Va();
397
- c.proxy = d;
398
- d.src = a;
399
- d.listener = c;
400
- if (a.addEventListener) Fa || (e = g), void 0 === e && (e = false), a.addEventListener(b.toString(), d, e);
401
- else if (a.attachEvent) a.attachEvent(Wa(b.toString()), d);
402
- else if (a.addListener && a.removeListener) a.addListener(d);
403
- else throw Error("addEventListener and attachEvent are unavailable.");
404
- return c;
405
- }
406
- function Va() {
407
- function a(c) {
408
- return b.call(a.src, a.listener, c);
409
- }
410
- const b = Xa;
411
- return a;
412
- }
413
- function Ya(a, b, c, d, e) {
414
- if (Array.isArray(b)) for (var f = 0; f < b.length; f++) Ya(a, b[f], c, d, e);
415
- else (d = n(d) ? !!d.capture : !!d, c = Sa(c), a && a[D]) ? (a = a.i, b = String(b).toString(), b in a.g && (f = a.g[b], c = La(f, c, d, e), -1 < c && (Ja(f[c]), Array.prototype.splice.call(f, c, 1), 0 == f.length && (delete a.g[b], a.h--)))) : a && (a = Ua(a)) && (b = a.g[b.toString()], a = -1, b && (a = La(b, c, d, e)), (c = -1 < a ? b[a] : null) && Za(c));
416
- }
417
- function Za(a) {
418
- if ("number" !== typeof a && a && !a.da) {
419
- var b = a.src;
420
- if (b && b[D]) Ma(b.i, a);
421
- else {
422
- var c = a.type, d = a.proxy;
423
- b.removeEventListener ? b.removeEventListener(c, d, a.capture) : b.detachEvent ? b.detachEvent(Wa(c), d) : b.addListener && b.removeListener && b.removeListener(d);
424
- (c = Ua(b)) ? (Ma(c, a), 0 == c.h && (c.src = null, b[Na] = null)) : Ja(a);
425
- }
426
- }
427
- }
428
- function Wa(a) {
429
- return a in Oa ? Oa[a] : Oa[a] = "on" + a;
430
- }
431
- function Xa(a, b) {
432
- if (a.da) a = true;
433
- else {
434
- b = new C(b, this);
435
- var c = a.listener, d = a.ha || a.src;
436
- a.fa && Za(a);
437
- a = c.call(d, b);
438
- }
439
- return a;
440
- }
441
- function Ua(a) {
442
- a = a[Na];
443
- return a instanceof Ka ? a : null;
444
- }
445
- var $a = "__closure_events_fn_" + (1e9 * Math.random() >>> 0);
446
- function Sa(a) {
447
- if ("function" === typeof a) return a;
448
- a[$a] || (a[$a] = function(b) {
449
- return a.handleEvent(b);
450
- });
451
- return a[$a];
452
- }
453
- function E() {
454
- z.call(this);
455
- this.i = new Ka(this);
456
- this.M = this;
457
- this.F = null;
458
- }
459
- r(E, z);
460
- E.prototype[D] = true;
461
- E.prototype.removeEventListener = function(a, b, c, d) {
462
- Ya(this, a, b, c, d);
463
- };
464
- function F(a, b) {
465
- var c, d = a.F;
466
- if (d) for (c = []; d; d = d.F) c.push(d);
467
- a = a.M;
468
- d = b.type || b;
469
- if ("string" === typeof b) b = new A(b, a);
470
- else if (b instanceof A) b.target = b.target || a;
471
- else {
472
- var e = b;
473
- b = new A(d, a);
474
- ua(b, e);
475
- }
476
- e = true;
477
- if (c) for (var f = c.length - 1; 0 <= f; f--) {
478
- var g = b.g = c[f];
479
- e = ab(g, d, true, b) && e;
480
- }
481
- g = b.g = a;
482
- e = ab(g, d, true, b) && e;
483
- e = ab(g, d, false, b) && e;
484
- if (c) for (f = 0; f < c.length; f++) g = b.g = c[f], e = ab(g, d, false, b) && e;
485
- }
486
- E.prototype.N = function() {
487
- E.aa.N.call(this);
488
- if (this.i) {
489
- var a = this.i, c;
490
- for (c in a.g) {
491
- for (var d = a.g[c], e = 0; e < d.length; e++) Ja(d[e]);
492
- delete a.g[c];
493
- a.h--;
494
- }
495
- }
496
- this.F = null;
497
- };
498
- E.prototype.K = function(a, b, c, d) {
499
- return this.i.add(String(a), b, false, c, d);
500
- };
501
- E.prototype.L = function(a, b, c, d) {
502
- return this.i.add(String(a), b, true, c, d);
503
- };
504
- function ab(a, b, c, d) {
505
- b = a.i.g[String(b)];
506
- if (!b) return true;
507
- b = b.concat();
508
- for (var e = true, f = 0; f < b.length; ++f) {
509
- var g = b[f];
510
- if (g && !g.da && g.capture == c) {
511
- var m = g.listener, q = g.ha || g.src;
512
- g.fa && Ma(a.i, g);
513
- e = false !== m.call(q, d) && e;
514
- }
515
- }
516
- return e && !d.defaultPrevented;
517
- }
518
- function bb(a, b, c) {
519
- if ("function" === typeof a) c && (a = p(a, c));
520
- else if (a && "function" == typeof a.handleEvent) a = p(a.handleEvent, a);
521
- else throw Error("Invalid listener argument");
522
- return 2147483647 < Number(b) ? -1 : k.setTimeout(a, b || 0);
523
- }
524
- function cb(a) {
525
- a.g = bb(() => {
526
- a.g = null;
527
- a.i && (a.i = false, cb(a));
528
- }, a.l);
529
- const b = a.h;
530
- a.h = null;
531
- a.m.apply(null, b);
532
- }
533
- class eb extends z {
534
- constructor(a, b) {
535
- super();
536
- this.m = a;
537
- this.l = b;
538
- this.h = null;
539
- this.i = false;
540
- this.g = null;
541
- }
542
- j(a) {
543
- this.h = arguments;
544
- this.g ? this.i = true : cb(this);
545
- }
546
- N() {
547
- super.N();
548
- this.g && (k.clearTimeout(this.g), this.g = null, this.i = false, this.h = null);
549
- }
550
- }
551
- function G(a) {
552
- z.call(this);
553
- this.h = a;
554
- this.g = {};
555
- }
556
- r(G, z);
557
- var fb = [];
558
- function gb(a) {
559
- qa(a.g, function(b, c) {
560
- this.g.hasOwnProperty(c) && Za(b);
561
- }, a);
562
- a.g = {};
563
- }
564
- G.prototype.N = function() {
565
- G.aa.N.call(this);
566
- gb(this);
567
- };
568
- G.prototype.handleEvent = function() {
569
- throw Error("EventHandler.handleEvent not implemented");
570
- };
571
- var hb = k.JSON.stringify;
572
- var ib = k.JSON.parse;
573
- var jb = class {
574
- stringify(a) {
575
- return k.JSON.stringify(a, void 0);
576
- }
577
- parse(a) {
578
- return k.JSON.parse(a, void 0);
579
- }
580
- };
581
- function kb() {
582
- }
583
- kb.prototype.h = null;
584
- function lb(a) {
585
- return a.h || (a.h = a.i());
586
- }
587
- function mb() {
588
- }
589
- var H = { OPEN: "a", kb: "b", Ja: "c", wb: "d" };
590
- function nb() {
591
- A.call(this, "d");
592
- }
593
- r(nb, A);
594
- function ob() {
595
- A.call(this, "c");
596
- }
597
- r(ob, A);
598
- var I = {}, pb = null;
599
- function qb() {
600
- return pb = pb || new E();
601
- }
602
- I.La = "serverreachability";
603
- function rb(a) {
604
- A.call(this, I.La, a);
605
- }
606
- r(rb, A);
607
- function J(a) {
608
- const b = qb();
609
- F(b, new rb(b));
610
- }
611
- I.STAT_EVENT = "statevent";
612
- function sb(a, b) {
613
- A.call(this, I.STAT_EVENT, a);
614
- this.stat = b;
615
- }
616
- r(sb, A);
617
- function K(a) {
618
- const b = qb();
619
- F(b, new sb(b, a));
620
- }
621
- I.Ma = "timingevent";
622
- function tb(a, b) {
623
- A.call(this, I.Ma, a);
624
- this.size = b;
625
- }
626
- r(tb, A);
627
- function ub(a, b) {
628
- if ("function" !== typeof a) throw Error("Fn must not be null and must be a function");
629
- return k.setTimeout(function() {
630
- a();
631
- }, b);
632
- }
633
- function vb() {
634
- this.g = true;
635
- }
636
- vb.prototype.xa = function() {
637
- this.g = false;
638
- };
639
- function wb(a, b, c, d, e, f) {
640
- a.info(function() {
641
- if (a.g) if (f) {
642
- var g = "";
643
- for (var m = f.split("&"), q = 0; q < m.length; q++) {
644
- var l = m[q].split("=");
645
- if (1 < l.length) {
646
- var v = l[0];
647
- l = l[1];
648
- var w = v.split("_");
649
- g = 2 <= w.length && "type" == w[1] ? g + (v + "=" + l + "&") : g + (v + "=redacted&");
650
- }
651
- }
652
- } else g = null;
653
- else g = f;
654
- return "XMLHTTP REQ (" + d + ") [attempt " + e + "]: " + b + "\n" + c + "\n" + g;
655
- });
656
- }
657
- function xb(a, b, c, d, e, f, g) {
658
- a.info(function() {
659
- return "XMLHTTP RESP (" + d + ") [ attempt " + e + "]: " + b + "\n" + c + "\n" + f + " " + g;
660
- });
661
- }
662
- function L(a, b, c, d) {
663
- a.info(function() {
664
- return "XMLHTTP TEXT (" + b + "): " + yb(a, c) + (d ? " " + d : "");
665
- });
666
- }
667
- function zb(a, b) {
668
- a.info(function() {
669
- return "TIMEOUT: " + b;
670
- });
671
- }
672
- vb.prototype.info = function() {
673
- };
674
- function yb(a, b) {
675
- if (!a.g) return b;
676
- if (!b) return null;
677
- try {
678
- var c = JSON.parse(b);
679
- if (c) {
680
- for (a = 0; a < c.length; a++) if (Array.isArray(c[a])) {
681
- var d = c[a];
682
- if (!(2 > d.length)) {
683
- var e = d[1];
684
- if (Array.isArray(e) && !(1 > e.length)) {
685
- var f = e[0];
686
- if ("noop" != f && "stop" != f && "close" != f) for (var g = 1; g < e.length; g++) e[g] = "";
687
- }
688
- }
689
- }
690
- }
691
- return hb(c);
692
- } catch (m) {
693
- return b;
694
- }
695
- }
696
- var Ab = { NO_ERROR: 0, gb: 1, tb: 2, sb: 3, nb: 4, rb: 5, ub: 6, Ia: 7, TIMEOUT: 8, xb: 9 };
697
- var Bb = { lb: "complete", Hb: "success", Ja: "error", Ia: "abort", zb: "ready", Ab: "readystatechange", TIMEOUT: "timeout", vb: "incrementaldata", yb: "progress", ob: "downloadprogress", Pb: "uploadprogress" };
698
- var Cb;
699
- function Db() {
700
- }
701
- r(Db, kb);
702
- Db.prototype.g = function() {
703
- return new XMLHttpRequest();
704
- };
705
- Db.prototype.i = function() {
706
- return {};
707
- };
708
- Cb = new Db();
709
- function M(a, b, c, d) {
710
- this.j = a;
711
- this.i = b;
712
- this.l = c;
713
- this.R = d || 1;
714
- this.U = new G(this);
715
- this.I = 45e3;
716
- this.H = null;
717
- this.o = false;
718
- this.m = this.A = this.v = this.L = this.F = this.S = this.B = null;
719
- this.D = [];
720
- this.g = null;
721
- this.C = 0;
722
- this.s = this.u = null;
723
- this.X = -1;
724
- this.J = false;
725
- this.O = 0;
726
- this.M = null;
727
- this.W = this.K = this.T = this.P = false;
728
- this.h = new Eb();
729
- }
730
- function Eb() {
731
- this.i = null;
732
- this.g = "";
733
- this.h = false;
734
- }
735
- var Fb = {}, Gb = {};
736
- function Hb(a, b, c) {
737
- a.L = 1;
738
- a.v = Ib(N(b));
739
- a.m = c;
740
- a.P = true;
741
- Jb(a, null);
742
- }
743
- function Jb(a, b) {
744
- a.F = Date.now();
745
- Kb(a);
746
- a.A = N(a.v);
747
- var c = a.A, d = a.R;
748
- Array.isArray(d) || (d = [String(d)]);
749
- Lb(c.i, "t", d);
750
- a.C = 0;
751
- c = a.j.J;
752
- a.h = new Eb();
753
- a.g = Mb(a.j, c ? b : null, !a.m);
754
- 0 < a.O && (a.M = new eb(p(a.Y, a, a.g), a.O));
755
- b = a.U;
756
- c = a.g;
757
- d = a.ca;
758
- var e = "readystatechange";
759
- Array.isArray(e) || (e && (fb[0] = e.toString()), e = fb);
760
- for (var f = 0; f < e.length; f++) {
761
- var g = Qa(c, e[f], d || b.handleEvent, false, b.h || b);
762
- if (!g) break;
763
- b.g[g.key] = g;
764
- }
765
- b = a.H ? sa(a.H) : {};
766
- a.m ? (a.u || (a.u = "POST"), b["Content-Type"] = "application/x-www-form-urlencoded", a.g.ea(
767
- a.A,
768
- a.u,
769
- a.m,
770
- b
771
- )) : (a.u = "GET", a.g.ea(a.A, a.u, null, b));
772
- J();
773
- wb(a.i, a.u, a.A, a.l, a.R, a.m);
774
- }
775
- M.prototype.ca = function(a) {
776
- a = a.target;
777
- const b = this.M;
778
- b && 3 == P(a) ? b.j() : this.Y(a);
779
- };
780
- M.prototype.Y = function(a) {
781
- try {
782
- if (a == this.g) a: {
783
- const w = P(this.g);
784
- var b = this.g.Ba();
785
- const O = this.g.Z();
786
- if (!(3 > w) && (3 != w || this.g && (this.h.h || this.g.oa() || Nb(this.g)))) {
787
- this.J || 4 != w || 7 == b || (8 == b || 0 >= O ? J(3) : J(2));
788
- Ob(this);
789
- var c = this.g.Z();
790
- this.X = c;
791
- b: if (Pb(this)) {
792
- var d = Nb(this.g);
793
- a = "";
794
- var e = d.length, f = 4 == P(this.g);
795
- if (!this.h.i) {
796
- if ("undefined" === typeof TextDecoder) {
797
- Q(this);
798
- Qb(this);
799
- var g = "";
800
- break b;
801
- }
802
- this.h.i = new k.TextDecoder();
803
- }
804
- for (b = 0; b < e; b++) this.h.h = true, a += this.h.i.decode(d[b], { stream: !(f && b == e - 1) });
805
- d.length = 0;
806
- this.h.g += a;
807
- this.C = 0;
808
- g = this.h.g;
809
- } else g = this.g.oa();
810
- this.o = 200 == c;
811
- xb(this.i, this.u, this.A, this.l, this.R, w, c);
812
- if (this.o) {
813
- if (this.T && !this.K) {
814
- b: {
815
- if (this.g) {
816
- var m, q = this.g;
817
- if ((m = q.g ? q.g.getResponseHeader("X-HTTP-Initial-Response") : null) && !t(m)) {
818
- var l = m;
819
- break b;
820
- }
821
- }
822
- l = null;
823
- }
824
- if (c = l) L(this.i, this.l, c, "Initial handshake response via X-HTTP-Initial-Response"), this.K = true, Rb(this, c);
825
- else {
826
- this.o = false;
827
- this.s = 3;
828
- K(12);
829
- Q(this);
830
- Qb(this);
831
- break a;
832
- }
833
- }
834
- if (this.P) {
835
- c = true;
836
- let B;
837
- for (; !this.J && this.C < g.length; ) if (B = Sb(this, g), B == Gb) {
838
- 4 == w && (this.s = 4, K(14), c = false);
839
- L(this.i, this.l, null, "[Incomplete Response]");
840
- break;
841
- } else if (B == Fb) {
842
- this.s = 4;
843
- K(15);
844
- L(this.i, this.l, g, "[Invalid Chunk]");
845
- c = false;
846
- break;
847
- } else L(this.i, this.l, B, null), Rb(this, B);
848
- Pb(this) && 0 != this.C && (this.h.g = this.h.g.slice(this.C), this.C = 0);
849
- 4 != w || 0 != g.length || this.h.h || (this.s = 1, K(16), c = false);
850
- this.o = this.o && c;
851
- if (!c) L(this.i, this.l, g, "[Invalid Chunked Response]"), Q(this), Qb(this);
852
- else if (0 < g.length && !this.W) {
853
- this.W = true;
854
- var v = this.j;
855
- v.g == this && v.ba && !v.M && (v.j.info("Great, no buffering proxy detected. Bytes received: " + g.length), Tb(v), v.M = true, K(11));
856
- }
857
- } else L(this.i, this.l, g, null), Rb(this, g);
858
- 4 == w && Q(this);
859
- this.o && !this.J && (4 == w ? Ub(this.j, this) : (this.o = false, Kb(this)));
860
- } else Vb(this.g), 400 == c && 0 < g.indexOf("Unknown SID") ? (this.s = 3, K(12)) : (this.s = 0, K(13)), Q(this), Qb(this);
861
- }
862
- }
863
- } catch (w) {
864
- } finally {
865
- }
866
- };
867
- function Pb(a) {
868
- return a.g ? "GET" == a.u && 2 != a.L && a.j.Ca : false;
869
- }
870
- function Sb(a, b) {
871
- var c = a.C, d = b.indexOf("\n", c);
872
- if (-1 == d) return Gb;
873
- c = Number(b.substring(c, d));
874
- if (isNaN(c)) return Fb;
875
- d += 1;
876
- if (d + c > b.length) return Gb;
877
- b = b.slice(d, d + c);
878
- a.C = d + c;
879
- return b;
880
- }
881
- M.prototype.cancel = function() {
882
- this.J = true;
883
- Q(this);
884
- };
885
- function Kb(a) {
886
- a.S = Date.now() + a.I;
887
- Wb(a, a.I);
888
- }
889
- function Wb(a, b) {
890
- if (null != a.B) throw Error("WatchDog timer not null");
891
- a.B = ub(p(a.ba, a), b);
892
- }
893
- function Ob(a) {
894
- a.B && (k.clearTimeout(a.B), a.B = null);
895
- }
896
- M.prototype.ba = function() {
897
- this.B = null;
898
- const a = Date.now();
899
- 0 <= a - this.S ? (zb(this.i, this.A), 2 != this.L && (J(), K(17)), Q(this), this.s = 2, Qb(this)) : Wb(this, this.S - a);
900
- };
901
- function Qb(a) {
902
- 0 == a.j.G || a.J || Ub(a.j, a);
903
- }
904
- function Q(a) {
905
- Ob(a);
906
- var b = a.M;
907
- b && "function" == typeof b.ma && b.ma();
908
- a.M = null;
909
- gb(a.U);
910
- a.g && (b = a.g, a.g = null, b.abort(), b.ma());
911
- }
912
- function Rb(a, b) {
913
- try {
914
- var c = a.j;
915
- if (0 != c.G && (c.g == a || Xb(c.h, a))) {
916
- if (!a.K && Xb(c.h, a) && 3 == c.G) {
917
- try {
918
- var d = c.Da.g.parse(b);
919
- } catch (l) {
920
- d = null;
921
- }
922
- if (Array.isArray(d) && 3 == d.length) {
923
- var e = d;
924
- if (0 == e[0]) a: {
925
- if (!c.u) {
926
- if (c.g) if (c.g.F + 3e3 < a.F) Yb(c), Zb(c);
927
- else break a;
928
- $b(c);
929
- K(18);
930
- }
931
- }
932
- else c.za = e[1], 0 < c.za - c.T && 37500 > e[2] && c.F && 0 == c.v && !c.C && (c.C = ub(p(c.Za, c), 6e3));
933
- if (1 >= ac(c.h) && c.ca) {
934
- try {
935
- c.ca();
936
- } catch (l) {
937
- }
938
- c.ca = void 0;
939
- }
940
- } else R(c, 11);
941
- } else if ((a.K || c.g == a) && Yb(c), !t(b)) for (e = c.Da.g.parse(b), b = 0; b < e.length; b++) {
942
- let l = e[b];
943
- c.T = l[0];
944
- l = l[1];
945
- if (2 == c.G) if ("c" == l[0]) {
946
- c.K = l[1];
947
- c.ia = l[2];
948
- const v = l[3];
949
- null != v && (c.la = v, c.j.info("VER=" + c.la));
950
- const w = l[4];
951
- null != w && (c.Aa = w, c.j.info("SVER=" + c.Aa));
952
- const O = l[5];
953
- null != O && "number" === typeof O && 0 < O && (d = 1.5 * O, c.L = d, c.j.info("backChannelRequestTimeoutMs_=" + d));
954
- d = c;
955
- const B = a.g;
956
- if (B) {
957
- const ya = B.g ? B.g.getResponseHeader("X-Client-Wire-Protocol") : null;
958
- if (ya) {
959
- var f = d.h;
960
- f.g || -1 == ya.indexOf("spdy") && -1 == ya.indexOf("quic") && -1 == ya.indexOf("h2") || (f.j = f.l, f.g = /* @__PURE__ */ new Set(), f.h && (bc(f, f.h), f.h = null));
961
- }
962
- if (d.D) {
963
- const db = B.g ? B.g.getResponseHeader("X-HTTP-Session-Id") : null;
964
- db && (d.ya = db, S(d.I, d.D, db));
965
- }
966
- }
967
- c.G = 3;
968
- c.l && c.l.ua();
969
- c.ba && (c.R = Date.now() - a.F, c.j.info("Handshake RTT: " + c.R + "ms"));
970
- d = c;
971
- var g = a;
972
- d.qa = cc(d, d.J ? d.ia : null, d.W);
973
- if (g.K) {
974
- dc(d.h, g);
975
- var m = g, q = d.L;
976
- q && (m.I = q);
977
- m.B && (Ob(m), Kb(m));
978
- d.g = g;
979
- } else ec(d);
980
- 0 < c.i.length && fc(c);
981
- } else "stop" != l[0] && "close" != l[0] || R(c, 7);
982
- else 3 == c.G && ("stop" == l[0] || "close" == l[0] ? "stop" == l[0] ? R(c, 7) : gc(c) : "noop" != l[0] && c.l && c.l.ta(l), c.v = 0);
983
- }
984
- }
985
- J(4);
986
- } catch (l) {
987
- }
988
- }
989
- var hc = class {
990
- constructor(a, b) {
991
- this.g = a;
992
- this.map = b;
993
- }
994
- };
995
- function ic(a) {
996
- this.l = a || 10;
997
- k.PerformanceNavigationTiming ? (a = k.performance.getEntriesByType("navigation"), a = 0 < a.length && ("hq" == a[0].nextHopProtocol || "h2" == a[0].nextHopProtocol)) : a = !!(k.chrome && k.chrome.loadTimes && k.chrome.loadTimes() && k.chrome.loadTimes().wasFetchedViaSpdy);
998
- this.j = a ? this.l : 1;
999
- this.g = null;
1000
- 1 < this.j && (this.g = /* @__PURE__ */ new Set());
1001
- this.h = null;
1002
- this.i = [];
1003
- }
1004
- function jc(a) {
1005
- return a.h ? true : a.g ? a.g.size >= a.j : false;
1006
- }
1007
- function ac(a) {
1008
- return a.h ? 1 : a.g ? a.g.size : 0;
1009
- }
1010
- function Xb(a, b) {
1011
- return a.h ? a.h == b : a.g ? a.g.has(b) : false;
1012
- }
1013
- function bc(a, b) {
1014
- a.g ? a.g.add(b) : a.h = b;
1015
- }
1016
- function dc(a, b) {
1017
- a.h && a.h == b ? a.h = null : a.g && a.g.has(b) && a.g.delete(b);
1018
- }
1019
- ic.prototype.cancel = function() {
1020
- this.i = kc(this);
1021
- if (this.h) this.h.cancel(), this.h = null;
1022
- else if (this.g && 0 !== this.g.size) {
1023
- for (const a of this.g.values()) a.cancel();
1024
- this.g.clear();
1025
- }
1026
- };
1027
- function kc(a) {
1028
- if (null != a.h) return a.i.concat(a.h.D);
1029
- if (null != a.g && 0 !== a.g.size) {
1030
- let b = a.i;
1031
- for (const c of a.g.values()) b = b.concat(c.D);
1032
- return b;
1033
- }
1034
- return la(a.i);
1035
- }
1036
- function lc(a) {
1037
- if (a.V && "function" == typeof a.V) return a.V();
1038
- if ("undefined" !== typeof Map && a instanceof Map || "undefined" !== typeof Set && a instanceof Set) return Array.from(a.values());
1039
- if ("string" === typeof a) return a.split("");
1040
- if (ha(a)) {
1041
- for (var b = [], c = a.length, d = 0; d < c; d++) b.push(a[d]);
1042
- return b;
1043
- }
1044
- b = [];
1045
- c = 0;
1046
- for (d in a) b[c++] = a[d];
1047
- return b;
1048
- }
1049
- function mc(a) {
1050
- if (a.na && "function" == typeof a.na) return a.na();
1051
- if (!a.V || "function" != typeof a.V) {
1052
- if ("undefined" !== typeof Map && a instanceof Map) return Array.from(a.keys());
1053
- if (!("undefined" !== typeof Set && a instanceof Set)) {
1054
- if (ha(a) || "string" === typeof a) {
1055
- var b = [];
1056
- a = a.length;
1057
- for (var c = 0; c < a; c++) b.push(c);
1058
- return b;
1059
- }
1060
- b = [];
1061
- c = 0;
1062
- for (const d in a) b[c++] = d;
1063
- return b;
1064
- }
1065
- }
1066
- }
1067
- function nc(a, b) {
1068
- if (a.forEach && "function" == typeof a.forEach) a.forEach(b, void 0);
1069
- else if (ha(a) || "string" === typeof a) Array.prototype.forEach.call(a, b, void 0);
1070
- else for (var c = mc(a), d = lc(a), e = d.length, f = 0; f < e; f++) b.call(void 0, d[f], c && c[f], a);
1071
- }
1072
- var oc = RegExp("^(?:([^:/?#.]+):)?(?://(?:([^\\\\/?#]*)@)?([^\\\\/?#]*?)(?::([0-9]+))?(?=[\\\\/?#]|$))?([^?#]+)?(?:\\?([^#]*))?(?:#([\\s\\S]*))?$");
1073
- function pc(a, b) {
1074
- if (a) {
1075
- a = a.split("&");
1076
- for (var c = 0; c < a.length; c++) {
1077
- var d = a[c].indexOf("="), e = null;
1078
- if (0 <= d) {
1079
- var f = a[c].substring(0, d);
1080
- e = a[c].substring(d + 1);
1081
- } else f = a[c];
1082
- b(f, e ? decodeURIComponent(e.replace(/\+/g, " ")) : "");
1083
- }
1084
- }
1085
- }
1086
- function T(a) {
1087
- this.g = this.o = this.j = "";
1088
- this.s = null;
1089
- this.m = this.l = "";
1090
- this.h = false;
1091
- if (a instanceof T) {
1092
- this.h = a.h;
1093
- qc(this, a.j);
1094
- this.o = a.o;
1095
- this.g = a.g;
1096
- rc(this, a.s);
1097
- this.l = a.l;
1098
- var b = a.i;
1099
- var c = new sc();
1100
- c.i = b.i;
1101
- b.g && (c.g = new Map(b.g), c.h = b.h);
1102
- tc(this, c);
1103
- this.m = a.m;
1104
- } else a && (b = String(a).match(oc)) ? (this.h = false, qc(this, b[1] || "", true), this.o = uc(b[2] || ""), this.g = uc(b[3] || "", true), rc(this, b[4]), this.l = uc(b[5] || "", true), tc(this, b[6] || "", true), this.m = uc(b[7] || "")) : (this.h = false, this.i = new sc(null, this.h));
1105
- }
1106
- T.prototype.toString = function() {
1107
- var a = [], b = this.j;
1108
- b && a.push(vc(b, wc, true), ":");
1109
- var c = this.g;
1110
- if (c || "file" == b) a.push("//"), (b = this.o) && a.push(vc(b, wc, true), "@"), a.push(encodeURIComponent(String(c)).replace(/%25([0-9a-fA-F]{2})/g, "%$1")), c = this.s, null != c && a.push(":", String(c));
1111
- if (c = this.l) this.g && "/" != c.charAt(0) && a.push("/"), a.push(vc(c, "/" == c.charAt(0) ? xc : yc, true));
1112
- (c = this.i.toString()) && a.push("?", c);
1113
- (c = this.m) && a.push("#", vc(c, zc));
1114
- return a.join("");
1115
- };
1116
- function N(a) {
1117
- return new T(a);
1118
- }
1119
- function qc(a, b, c) {
1120
- a.j = c ? uc(b, true) : b;
1121
- a.j && (a.j = a.j.replace(/:$/, ""));
1122
- }
1123
- function rc(a, b) {
1124
- if (b) {
1125
- b = Number(b);
1126
- if (isNaN(b) || 0 > b) throw Error("Bad port number " + b);
1127
- a.s = b;
1128
- } else a.s = null;
1129
- }
1130
- function tc(a, b, c) {
1131
- b instanceof sc ? (a.i = b, Ac(a.i, a.h)) : (c || (b = vc(b, Bc)), a.i = new sc(b, a.h));
1132
- }
1133
- function S(a, b, c) {
1134
- a.i.set(b, c);
1135
- }
1136
- function Ib(a) {
1137
- S(a, "zx", Math.floor(2147483648 * Math.random()).toString(36) + Math.abs(Math.floor(2147483648 * Math.random()) ^ Date.now()).toString(36));
1138
- return a;
1139
- }
1140
- function uc(a, b) {
1141
- return a ? b ? decodeURI(a.replace(/%25/g, "%2525")) : decodeURIComponent(a) : "";
1142
- }
1143
- function vc(a, b, c) {
1144
- return "string" === typeof a ? (a = encodeURI(a).replace(b, Cc), c && (a = a.replace(/%25([0-9a-fA-F]{2})/g, "%$1")), a) : null;
1145
- }
1146
- function Cc(a) {
1147
- a = a.charCodeAt(0);
1148
- return "%" + (a >> 4 & 15).toString(16) + (a & 15).toString(16);
1149
- }
1150
- var wc = /[#\/\?@]/g, yc = /[#\?:]/g, xc = /[#\?]/g, Bc = /[#\?@]/g, zc = /#/g;
1151
- function sc(a, b) {
1152
- this.h = this.g = null;
1153
- this.i = a || null;
1154
- this.j = !!b;
1155
- }
1156
- function U(a) {
1157
- a.g || (a.g = /* @__PURE__ */ new Map(), a.h = 0, a.i && pc(a.i, function(b, c) {
1158
- a.add(decodeURIComponent(b.replace(/\+/g, " ")), c);
1159
- }));
1160
- }
1161
- h = sc.prototype;
1162
- h.add = function(a, b) {
1163
- U(this);
1164
- this.i = null;
1165
- a = V(this, a);
1166
- var c = this.g.get(a);
1167
- c || this.g.set(a, c = []);
1168
- c.push(b);
1169
- this.h += 1;
1170
- return this;
1171
- };
1172
- function Dc(a, b) {
1173
- U(a);
1174
- b = V(a, b);
1175
- a.g.has(b) && (a.i = null, a.h -= a.g.get(b).length, a.g.delete(b));
1176
- }
1177
- function Ec(a, b) {
1178
- U(a);
1179
- b = V(a, b);
1180
- return a.g.has(b);
1181
- }
1182
- h.forEach = function(a, b) {
1183
- U(this);
1184
- this.g.forEach(function(c, d) {
1185
- c.forEach(function(e) {
1186
- a.call(b, e, d, this);
1187
- }, this);
1188
- }, this);
1189
- };
1190
- h.na = function() {
1191
- U(this);
1192
- const a = Array.from(this.g.values()), b = Array.from(this.g.keys()), c = [];
1193
- for (let d = 0; d < b.length; d++) {
1194
- const e = a[d];
1195
- for (let f = 0; f < e.length; f++) c.push(b[d]);
1196
- }
1197
- return c;
1198
- };
1199
- h.V = function(a) {
1200
- U(this);
1201
- let b = [];
1202
- if ("string" === typeof a) Ec(this, a) && (b = b.concat(this.g.get(V(this, a))));
1203
- else {
1204
- a = Array.from(this.g.values());
1205
- for (let c = 0; c < a.length; c++) b = b.concat(a[c]);
1206
- }
1207
- return b;
1208
- };
1209
- h.set = function(a, b) {
1210
- U(this);
1211
- this.i = null;
1212
- a = V(this, a);
1213
- Ec(this, a) && (this.h -= this.g.get(a).length);
1214
- this.g.set(a, [b]);
1215
- this.h += 1;
1216
- return this;
1217
- };
1218
- h.get = function(a, b) {
1219
- if (!a) return b;
1220
- a = this.V(a);
1221
- return 0 < a.length ? String(a[0]) : b;
1222
- };
1223
- function Lb(a, b, c) {
1224
- Dc(a, b);
1225
- 0 < c.length && (a.i = null, a.g.set(V(a, b), la(c)), a.h += c.length);
1226
- }
1227
- h.toString = function() {
1228
- if (this.i) return this.i;
1229
- if (!this.g) return "";
1230
- const a = [], b = Array.from(this.g.keys());
1231
- for (var c = 0; c < b.length; c++) {
1232
- var d = b[c];
1233
- const f = encodeURIComponent(String(d)), g = this.V(d);
1234
- for (d = 0; d < g.length; d++) {
1235
- var e = f;
1236
- "" !== g[d] && (e += "=" + encodeURIComponent(String(g[d])));
1237
- a.push(e);
1238
- }
1239
- }
1240
- return this.i = a.join("&");
1241
- };
1242
- function V(a, b) {
1243
- b = String(b);
1244
- a.j && (b = b.toLowerCase());
1245
- return b;
1246
- }
1247
- function Ac(a, b) {
1248
- b && !a.j && (U(a), a.i = null, a.g.forEach(function(c, d) {
1249
- var e = d.toLowerCase();
1250
- d != e && (Dc(this, d), Lb(this, e, c));
1251
- }, a));
1252
- a.j = b;
1253
- }
1254
- function Fc(a, b) {
1255
- const c = new vb();
1256
- if (k.Image) {
1257
- const d = new Image();
1258
- d.onload = ka(W, c, "TestLoadImage: loaded", true, b, d);
1259
- d.onerror = ka(W, c, "TestLoadImage: error", false, b, d);
1260
- d.onabort = ka(W, c, "TestLoadImage: abort", false, b, d);
1261
- d.ontimeout = ka(W, c, "TestLoadImage: timeout", false, b, d);
1262
- k.setTimeout(function() {
1263
- if (d.ontimeout) d.ontimeout();
1264
- }, 1e4);
1265
- d.src = a;
1266
- } else b(false);
1267
- }
1268
- function Gc(a, b) {
1269
- const c = new vb(), d = new AbortController(), e = setTimeout(() => {
1270
- d.abort();
1271
- W(c, "TestPingServer: timeout", false, b);
1272
- }, 1e4);
1273
- fetch(a, { signal: d.signal }).then((f) => {
1274
- clearTimeout(e);
1275
- f.ok ? W(c, "TestPingServer: ok", true, b) : W(c, "TestPingServer: server error", false, b);
1276
- }).catch(() => {
1277
- clearTimeout(e);
1278
- W(c, "TestPingServer: error", false, b);
1279
- });
1280
- }
1281
- function W(a, b, c, d, e) {
1282
- try {
1283
- e && (e.onload = null, e.onerror = null, e.onabort = null, e.ontimeout = null), d(c);
1284
- } catch (f) {
1285
- }
1286
- }
1287
- function Hc() {
1288
- this.g = new jb();
1289
- }
1290
- function Ic(a, b, c) {
1291
- const d = c || "";
1292
- try {
1293
- nc(a, function(e, f) {
1294
- let g = e;
1295
- n(e) && (g = hb(e));
1296
- b.push(d + f + "=" + encodeURIComponent(g));
1297
- });
1298
- } catch (e) {
1299
- throw b.push(d + "type=" + encodeURIComponent("_badmap")), e;
1300
- }
1301
- }
1302
- function Jc(a) {
1303
- this.l = a.Ub || null;
1304
- this.j = a.eb || false;
1305
- }
1306
- r(Jc, kb);
1307
- Jc.prototype.g = function() {
1308
- return new Kc(this.l, this.j);
1309
- };
1310
- Jc.prototype.i = /* @__PURE__ */ function(a) {
1311
- return function() {
1312
- return a;
1313
- };
1314
- }({});
1315
- function Kc(a, b) {
1316
- E.call(this);
1317
- this.D = a;
1318
- this.o = b;
1319
- this.m = void 0;
1320
- this.status = this.readyState = 0;
1321
- this.responseType = this.responseText = this.response = this.statusText = "";
1322
- this.onreadystatechange = null;
1323
- this.u = new Headers();
1324
- this.h = null;
1325
- this.B = "GET";
1326
- this.A = "";
1327
- this.g = false;
1328
- this.v = this.j = this.l = null;
1329
- }
1330
- r(Kc, E);
1331
- h = Kc.prototype;
1332
- h.open = function(a, b) {
1333
- if (0 != this.readyState) throw this.abort(), Error("Error reopening a connection");
1334
- this.B = a;
1335
- this.A = b;
1336
- this.readyState = 1;
1337
- Lc(this);
1338
- };
1339
- h.send = function(a) {
1340
- if (1 != this.readyState) throw this.abort(), Error("need to call open() first. ");
1341
- this.g = true;
1342
- const b = { headers: this.u, method: this.B, credentials: this.m, cache: void 0 };
1343
- a && (b.body = a);
1344
- (this.D || k).fetch(new Request(this.A, b)).then(this.Sa.bind(this), this.ga.bind(this));
1345
- };
1346
- h.abort = function() {
1347
- this.response = this.responseText = "";
1348
- this.u = new Headers();
1349
- this.status = 0;
1350
- this.j && this.j.cancel("Request was aborted.").catch(() => {
1351
- });
1352
- 1 <= this.readyState && this.g && 4 != this.readyState && (this.g = false, Mc(this));
1353
- this.readyState = 0;
1354
- };
1355
- h.Sa = function(a) {
1356
- if (this.g && (this.l = a, this.h || (this.status = this.l.status, this.statusText = this.l.statusText, this.h = a.headers, this.readyState = 2, Lc(this)), this.g && (this.readyState = 3, Lc(this), this.g))) if ("arraybuffer" === this.responseType) a.arrayBuffer().then(this.Qa.bind(this), this.ga.bind(this));
1357
- else if ("undefined" !== typeof k.ReadableStream && "body" in a) {
1358
- this.j = a.body.getReader();
1359
- if (this.o) {
1360
- if (this.responseType) throw Error('responseType must be empty for "streamBinaryChunks" mode responses.');
1361
- this.response = [];
1362
- } else this.response = this.responseText = "", this.v = new TextDecoder();
1363
- Nc(this);
1364
- } else a.text().then(this.Ra.bind(this), this.ga.bind(this));
1365
- };
1366
- function Nc(a) {
1367
- a.j.read().then(a.Pa.bind(a)).catch(a.ga.bind(a));
1368
- }
1369
- h.Pa = function(a) {
1370
- if (this.g) {
1371
- if (this.o && a.value) this.response.push(a.value);
1372
- else if (!this.o) {
1373
- var b = a.value ? a.value : new Uint8Array(0);
1374
- if (b = this.v.decode(b, { stream: !a.done })) this.response = this.responseText += b;
1375
- }
1376
- a.done ? Mc(this) : Lc(this);
1377
- 3 == this.readyState && Nc(this);
1378
- }
1379
- };
1380
- h.Ra = function(a) {
1381
- this.g && (this.response = this.responseText = a, Mc(this));
1382
- };
1383
- h.Qa = function(a) {
1384
- this.g && (this.response = a, Mc(this));
1385
- };
1386
- h.ga = function() {
1387
- this.g && Mc(this);
1388
- };
1389
- function Mc(a) {
1390
- a.readyState = 4;
1391
- a.l = null;
1392
- a.j = null;
1393
- a.v = null;
1394
- Lc(a);
1395
- }
1396
- h.setRequestHeader = function(a, b) {
1397
- this.u.append(a, b);
1398
- };
1399
- h.getResponseHeader = function(a) {
1400
- return this.h ? this.h.get(a.toLowerCase()) || "" : "";
1401
- };
1402
- h.getAllResponseHeaders = function() {
1403
- if (!this.h) return "";
1404
- const a = [], b = this.h.entries();
1405
- for (var c = b.next(); !c.done; ) c = c.value, a.push(c[0] + ": " + c[1]), c = b.next();
1406
- return a.join("\r\n");
1407
- };
1408
- function Lc(a) {
1409
- a.onreadystatechange && a.onreadystatechange.call(a);
1410
- }
1411
- Object.defineProperty(Kc.prototype, "withCredentials", { get: function() {
1412
- return "include" === this.m;
1413
- }, set: function(a) {
1414
- this.m = a ? "include" : "same-origin";
1415
- } });
1416
- function Oc(a) {
1417
- let b = "";
1418
- qa(a, function(c, d) {
1419
- b += d;
1420
- b += ":";
1421
- b += c;
1422
- b += "\r\n";
1423
- });
1424
- return b;
1425
- }
1426
- function Pc(a, b, c) {
1427
- a: {
1428
- for (d in c) {
1429
- var d = false;
1430
- break a;
1431
- }
1432
- d = true;
1433
- }
1434
- d || (c = Oc(c), "string" === typeof a ? null != c && encodeURIComponent(String(c)) : S(a, b, c));
1435
- }
1436
- function X(a) {
1437
- E.call(this);
1438
- this.headers = /* @__PURE__ */ new Map();
1439
- this.o = a || null;
1440
- this.h = false;
1441
- this.v = this.g = null;
1442
- this.D = "";
1443
- this.m = 0;
1444
- this.l = "";
1445
- this.j = this.B = this.u = this.A = false;
1446
- this.I = null;
1447
- this.H = "";
1448
- this.J = false;
1449
- }
1450
- r(X, E);
1451
- var Qc = /^https?$/i, Rc = ["POST", "PUT"];
1452
- h = X.prototype;
1453
- h.Ha = function(a) {
1454
- this.J = a;
1455
- };
1456
- h.ea = function(a, b, c, d) {
1457
- if (this.g) throw Error("[goog.net.XhrIo] Object is active with another request=" + this.D + "; newUri=" + a);
1458
- b = b ? b.toUpperCase() : "GET";
1459
- this.D = a;
1460
- this.l = "";
1461
- this.m = 0;
1462
- this.A = false;
1463
- this.h = true;
1464
- this.g = this.o ? this.o.g() : Cb.g();
1465
- this.v = this.o ? lb(this.o) : lb(Cb);
1466
- this.g.onreadystatechange = p(this.Ea, this);
1467
- try {
1468
- this.B = true, this.g.open(b, String(a), true), this.B = false;
1469
- } catch (f) {
1470
- Sc(this, f);
1471
- return;
1472
- }
1473
- a = c || "";
1474
- c = new Map(this.headers);
1475
- if (d) if (Object.getPrototypeOf(d) === Object.prototype) for (var e in d) c.set(e, d[e]);
1476
- else if ("function" === typeof d.keys && "function" === typeof d.get) for (const f of d.keys()) c.set(f, d.get(f));
1477
- else throw Error("Unknown input type for opt_headers: " + String(d));
1478
- d = Array.from(c.keys()).find((f) => "content-type" == f.toLowerCase());
1479
- e = k.FormData && a instanceof k.FormData;
1480
- !(0 <= Array.prototype.indexOf.call(Rc, b, void 0)) || d || e || c.set("Content-Type", "application/x-www-form-urlencoded;charset=utf-8");
1481
- for (const [f, g] of c) this.g.setRequestHeader(f, g);
1482
- this.H && (this.g.responseType = this.H);
1483
- "withCredentials" in this.g && this.g.withCredentials !== this.J && (this.g.withCredentials = this.J);
1484
- try {
1485
- Tc(this), this.u = true, this.g.send(a), this.u = false;
1486
- } catch (f) {
1487
- Sc(this, f);
1488
- }
1489
- };
1490
- function Sc(a, b) {
1491
- a.h = false;
1492
- a.g && (a.j = true, a.g.abort(), a.j = false);
1493
- a.l = b;
1494
- a.m = 5;
1495
- Uc(a);
1496
- Vc(a);
1497
- }
1498
- function Uc(a) {
1499
- a.A || (a.A = true, F(a, "complete"), F(a, "error"));
1500
- }
1501
- h.abort = function(a) {
1502
- this.g && this.h && (this.h = false, this.j = true, this.g.abort(), this.j = false, this.m = a || 7, F(this, "complete"), F(this, "abort"), Vc(this));
1503
- };
1504
- h.N = function() {
1505
- this.g && (this.h && (this.h = false, this.j = true, this.g.abort(), this.j = false), Vc(this, true));
1506
- X.aa.N.call(this);
1507
- };
1508
- h.Ea = function() {
1509
- this.s || (this.B || this.u || this.j ? Wc(this) : this.bb());
1510
- };
1511
- h.bb = function() {
1512
- Wc(this);
1513
- };
1514
- function Wc(a) {
1515
- if (a.h && "undefined" != typeof fa && (!a.v[1] || 4 != P(a) || 2 != a.Z())) {
1516
- if (a.u && 4 == P(a)) bb(a.Ea, 0, a);
1517
- else if (F(a, "readystatechange"), 4 == P(a)) {
1518
- a.h = false;
1519
- try {
1520
- const g = a.Z();
1521
- a: switch (g) {
1522
- case 200:
1523
- case 201:
1524
- case 202:
1525
- case 204:
1526
- case 206:
1527
- case 304:
1528
- case 1223:
1529
- var b = true;
1530
- break a;
1531
- default:
1532
- b = false;
1533
- }
1534
- var c;
1535
- if (!(c = b)) {
1536
- var d;
1537
- if (d = 0 === g) {
1538
- var e = String(a.D).match(oc)[1] || null;
1539
- !e && k.self && k.self.location && (e = k.self.location.protocol.slice(0, -1));
1540
- d = !Qc.test(e ? e.toLowerCase() : "");
1541
- }
1542
- c = d;
1543
- }
1544
- if (c) F(a, "complete"), F(a, "success");
1545
- else {
1546
- a.m = 6;
1547
- try {
1548
- var f = 2 < P(a) ? a.g.statusText : "";
1549
- } catch (m) {
1550
- f = "";
1551
- }
1552
- a.l = f + " [" + a.Z() + "]";
1553
- Uc(a);
1554
- }
1555
- } finally {
1556
- Vc(a);
1557
- }
1558
- }
1559
- }
1560
- }
1561
- function Vc(a, b) {
1562
- if (a.g) {
1563
- Tc(a);
1564
- const c = a.g, d = a.v[0] ? () => {
1565
- } : null;
1566
- a.g = null;
1567
- a.v = null;
1568
- b || F(a, "ready");
1569
- try {
1570
- c.onreadystatechange = d;
1571
- } catch (e) {
1572
- }
1573
- }
1574
- }
1575
- function Tc(a) {
1576
- a.I && (k.clearTimeout(a.I), a.I = null);
1577
- }
1578
- h.isActive = function() {
1579
- return !!this.g;
1580
- };
1581
- function P(a) {
1582
- return a.g ? a.g.readyState : 0;
1583
- }
1584
- h.Z = function() {
1585
- try {
1586
- return 2 < P(this) ? this.g.status : -1;
1587
- } catch (a) {
1588
- return -1;
1589
- }
1590
- };
1591
- h.oa = function() {
1592
- try {
1593
- return this.g ? this.g.responseText : "";
1594
- } catch (a) {
1595
- return "";
1596
- }
1597
- };
1598
- h.Oa = function(a) {
1599
- if (this.g) {
1600
- var b = this.g.responseText;
1601
- a && 0 == b.indexOf(a) && (b = b.substring(a.length));
1602
- return ib(b);
1603
- }
1604
- };
1605
- function Nb(a) {
1606
- try {
1607
- if (!a.g) return null;
1608
- if ("response" in a.g) return a.g.response;
1609
- switch (a.H) {
1610
- case "":
1611
- case "text":
1612
- return a.g.responseText;
1613
- case "arraybuffer":
1614
- if ("mozResponseArrayBuffer" in a.g) return a.g.mozResponseArrayBuffer;
1615
- }
1616
- return null;
1617
- } catch (b) {
1618
- return null;
1619
- }
1620
- }
1621
- function Vb(a) {
1622
- const b = {};
1623
- a = (a.g && 2 <= P(a) ? a.g.getAllResponseHeaders() || "" : "").split("\r\n");
1624
- for (let d = 0; d < a.length; d++) {
1625
- if (t(a[d])) continue;
1626
- var c = va(a[d]);
1627
- const e = c[0];
1628
- c = c[1];
1629
- if ("string" !== typeof c) continue;
1630
- c = c.trim();
1631
- const f = b[e] || [];
1632
- b[e] = f;
1633
- f.push(c);
1634
- }
1635
- ra(b, function(d) {
1636
- return d.join(", ");
1637
- });
1638
- }
1639
- h.Ba = function() {
1640
- return this.m;
1641
- };
1642
- h.Ka = function() {
1643
- return "string" === typeof this.l ? this.l : String(this.l);
1644
- };
1645
- function Xc(a, b, c) {
1646
- return c && c.internalChannelParams ? c.internalChannelParams[a] || b : b;
1647
- }
1648
- function Yc(a) {
1649
- this.Aa = 0;
1650
- this.i = [];
1651
- this.j = new vb();
1652
- this.ia = this.qa = this.I = this.W = this.g = this.ya = this.D = this.H = this.m = this.S = this.o = null;
1653
- this.Ya = this.U = 0;
1654
- this.Va = Xc("failFast", false, a);
1655
- this.F = this.C = this.u = this.s = this.l = null;
1656
- this.X = true;
1657
- this.za = this.T = -1;
1658
- this.Y = this.v = this.B = 0;
1659
- this.Ta = Xc("baseRetryDelayMs", 5e3, a);
1660
- this.cb = Xc("retryDelaySeedMs", 1e4, a);
1661
- this.Wa = Xc("forwardChannelMaxRetries", 2, a);
1662
- this.wa = Xc("forwardChannelRequestTimeoutMs", 2e4, a);
1663
- this.pa = a && a.xmlHttpFactory || void 0;
1664
- this.Xa = a && a.Tb || void 0;
1665
- this.Ca = a && a.useFetchStreams || false;
1666
- this.L = void 0;
1667
- this.J = a && a.supportsCrossDomainXhr || false;
1668
- this.K = "";
1669
- this.h = new ic(a && a.concurrentRequestLimit);
1670
- this.Da = new Hc();
1671
- this.P = a && a.fastHandshake || false;
1672
- this.O = a && a.encodeInitMessageHeaders || false;
1673
- this.P && this.O && (this.O = false);
1674
- this.Ua = a && a.Rb || false;
1675
- a && a.xa && this.j.xa();
1676
- a && a.forceLongPolling && (this.X = false);
1677
- this.ba = !this.P && this.X && a && a.detectBufferingProxy || false;
1678
- this.ja = void 0;
1679
- a && a.longPollingTimeout && 0 < a.longPollingTimeout && (this.ja = a.longPollingTimeout);
1680
- this.ca = void 0;
1681
- this.R = 0;
1682
- this.M = false;
1683
- this.ka = this.A = null;
1684
- }
1685
- h = Yc.prototype;
1686
- h.la = 8;
1687
- h.G = 1;
1688
- h.connect = function(a, b, c, d) {
1689
- K(0);
1690
- this.W = a;
1691
- this.H = b || {};
1692
- c && void 0 !== d && (this.H.OSID = c, this.H.OAID = d);
1693
- this.F = this.X;
1694
- this.I = cc(this, null, this.W);
1695
- fc(this);
1696
- };
1697
- function gc(a) {
1698
- Zc(a);
1699
- if (3 == a.G) {
1700
- var b = a.U++, c = N(a.I);
1701
- S(c, "SID", a.K);
1702
- S(c, "RID", b);
1703
- S(c, "TYPE", "terminate");
1704
- $c(a, c);
1705
- b = new M(a, a.j, b);
1706
- b.L = 2;
1707
- b.v = Ib(N(c));
1708
- c = false;
1709
- if (k.navigator && k.navigator.sendBeacon) try {
1710
- c = k.navigator.sendBeacon(b.v.toString(), "");
1711
- } catch (d) {
1712
- }
1713
- !c && k.Image && (new Image().src = b.v, c = true);
1714
- c || (b.g = Mb(b.j, null), b.g.ea(b.v));
1715
- b.F = Date.now();
1716
- Kb(b);
1717
- }
1718
- ad(a);
1719
- }
1720
- function Zb(a) {
1721
- a.g && (Tb(a), a.g.cancel(), a.g = null);
1722
- }
1723
- function Zc(a) {
1724
- Zb(a);
1725
- a.u && (k.clearTimeout(a.u), a.u = null);
1726
- Yb(a);
1727
- a.h.cancel();
1728
- a.s && ("number" === typeof a.s && k.clearTimeout(a.s), a.s = null);
1729
- }
1730
- function fc(a) {
1731
- if (!jc(a.h) && !a.s) {
1732
- a.s = true;
1733
- var b = a.Ga;
1734
- x || Ea();
1735
- y || (x(), y = true);
1736
- za.add(b, a);
1737
- a.B = 0;
1738
- }
1739
- }
1740
- function bd(a, b) {
1741
- if (ac(a.h) >= a.h.j - (a.s ? 1 : 0)) return false;
1742
- if (a.s) return a.i = b.D.concat(a.i), true;
1743
- if (1 == a.G || 2 == a.G || a.B >= (a.Va ? 0 : a.Wa)) return false;
1744
- a.s = ub(p(a.Ga, a, b), cd(a, a.B));
1745
- a.B++;
1746
- return true;
1747
- }
1748
- h.Ga = function(a) {
1749
- if (this.s) if (this.s = null, 1 == this.G) {
1750
- if (!a) {
1751
- this.U = Math.floor(1e5 * Math.random());
1752
- a = this.U++;
1753
- const e = new M(this, this.j, a);
1754
- let f = this.o;
1755
- this.S && (f ? (f = sa(f), ua(f, this.S)) : f = this.S);
1756
- null !== this.m || this.O || (e.H = f, f = null);
1757
- if (this.P) a: {
1758
- var b = 0;
1759
- for (var c = 0; c < this.i.length; c++) {
1760
- b: {
1761
- var d = this.i[c];
1762
- if ("__data__" in d.map && (d = d.map.__data__, "string" === typeof d)) {
1763
- d = d.length;
1764
- break b;
1765
- }
1766
- d = void 0;
1767
- }
1768
- if (void 0 === d) break;
1769
- b += d;
1770
- if (4096 < b) {
1771
- b = c;
1772
- break a;
1773
- }
1774
- if (4096 === b || c === this.i.length - 1) {
1775
- b = c + 1;
1776
- break a;
1777
- }
1778
- }
1779
- b = 1e3;
1780
- }
1781
- else b = 1e3;
1782
- b = dd(this, e, b);
1783
- c = N(this.I);
1784
- S(c, "RID", a);
1785
- S(c, "CVER", 22);
1786
- this.D && S(c, "X-HTTP-Session-Id", this.D);
1787
- $c(this, c);
1788
- f && (this.O ? b = "headers=" + encodeURIComponent(String(Oc(f))) + "&" + b : this.m && Pc(c, this.m, f));
1789
- bc(this.h, e);
1790
- this.Ua && S(c, "TYPE", "init");
1791
- this.P ? (S(c, "$req", b), S(c, "SID", "null"), e.T = true, Hb(e, c, null)) : Hb(e, c, b);
1792
- this.G = 2;
1793
- }
1794
- } else 3 == this.G && (a ? ed(this, a) : 0 == this.i.length || jc(this.h) || ed(this));
1795
- };
1796
- function ed(a, b) {
1797
- var c;
1798
- b ? c = b.l : c = a.U++;
1799
- const d = N(a.I);
1800
- S(d, "SID", a.K);
1801
- S(d, "RID", c);
1802
- S(d, "AID", a.T);
1803
- $c(a, d);
1804
- a.m && a.o && Pc(d, a.m, a.o);
1805
- c = new M(a, a.j, c, a.B + 1);
1806
- null === a.m && (c.H = a.o);
1807
- b && (a.i = b.D.concat(a.i));
1808
- b = dd(a, c, 1e3);
1809
- c.I = Math.round(0.5 * a.wa) + Math.round(0.5 * a.wa * Math.random());
1810
- bc(a.h, c);
1811
- Hb(c, d, b);
1812
- }
1813
- function $c(a, b) {
1814
- a.H && qa(a.H, function(c, d) {
1815
- S(b, d, c);
1816
- });
1817
- a.l && nc({}, function(c, d) {
1818
- S(b, d, c);
1819
- });
1820
- }
1821
- function dd(a, b, c) {
1822
- c = Math.min(a.i.length, c);
1823
- var d = a.l ? p(a.l.Na, a.l, a) : null;
1824
- a: {
1825
- var e = a.i;
1826
- let f = -1;
1827
- for (; ; ) {
1828
- const g = ["count=" + c];
1829
- -1 == f ? 0 < c ? (f = e[0].g, g.push("ofs=" + f)) : f = 0 : g.push("ofs=" + f);
1830
- let m = true;
1831
- for (let q = 0; q < c; q++) {
1832
- let l = e[q].g;
1833
- const v = e[q].map;
1834
- l -= f;
1835
- if (0 > l) f = Math.max(0, e[q].g - 100), m = false;
1836
- else try {
1837
- Ic(v, g, "req" + l + "_");
1838
- } catch (w) {
1839
- d && d(v);
1840
- }
1841
- }
1842
- if (m) {
1843
- d = g.join("&");
1844
- break a;
1845
- }
1846
- }
1847
- }
1848
- a = a.i.splice(0, c);
1849
- b.D = a;
1850
- return d;
1851
- }
1852
- function ec(a) {
1853
- if (!a.g && !a.u) {
1854
- a.Y = 1;
1855
- var b = a.Fa;
1856
- x || Ea();
1857
- y || (x(), y = true);
1858
- za.add(b, a);
1859
- a.v = 0;
1860
- }
1861
- }
1862
- function $b(a) {
1863
- if (a.g || a.u || 3 <= a.v) return false;
1864
- a.Y++;
1865
- a.u = ub(p(a.Fa, a), cd(a, a.v));
1866
- a.v++;
1867
- return true;
1868
- }
1869
- h.Fa = function() {
1870
- this.u = null;
1871
- fd(this);
1872
- if (this.ba && !(this.M || null == this.g || 0 >= this.R)) {
1873
- var a = 2 * this.R;
1874
- this.j.info("BP detection timer enabled: " + a);
1875
- this.A = ub(p(this.ab, this), a);
1876
- }
1877
- };
1878
- h.ab = function() {
1879
- this.A && (this.A = null, this.j.info("BP detection timeout reached."), this.j.info("Buffering proxy detected and switch to long-polling!"), this.F = false, this.M = true, K(10), Zb(this), fd(this));
1880
- };
1881
- function Tb(a) {
1882
- null != a.A && (k.clearTimeout(a.A), a.A = null);
1883
- }
1884
- function fd(a) {
1885
- a.g = new M(a, a.j, "rpc", a.Y);
1886
- null === a.m && (a.g.H = a.o);
1887
- a.g.O = 0;
1888
- var b = N(a.qa);
1889
- S(b, "RID", "rpc");
1890
- S(b, "SID", a.K);
1891
- S(b, "AID", a.T);
1892
- S(b, "CI", a.F ? "0" : "1");
1893
- !a.F && a.ja && S(b, "TO", a.ja);
1894
- S(b, "TYPE", "xmlhttp");
1895
- $c(a, b);
1896
- a.m && a.o && Pc(b, a.m, a.o);
1897
- a.L && (a.g.I = a.L);
1898
- var c = a.g;
1899
- a = a.ia;
1900
- c.L = 1;
1901
- c.v = Ib(N(b));
1902
- c.m = null;
1903
- c.P = true;
1904
- Jb(c, a);
1905
- }
1906
- h.Za = function() {
1907
- null != this.C && (this.C = null, Zb(this), $b(this), K(19));
1908
- };
1909
- function Yb(a) {
1910
- null != a.C && (k.clearTimeout(a.C), a.C = null);
1911
- }
1912
- function Ub(a, b) {
1913
- var c = null;
1914
- if (a.g == b) {
1915
- Yb(a);
1916
- Tb(a);
1917
- a.g = null;
1918
- var d = 2;
1919
- } else if (Xb(a.h, b)) c = b.D, dc(a.h, b), d = 1;
1920
- else return;
1921
- if (0 != a.G) {
1922
- if (b.o) if (1 == d) {
1923
- c = b.m ? b.m.length : 0;
1924
- b = Date.now() - b.F;
1925
- var e = a.B;
1926
- d = qb();
1927
- F(d, new tb(d, c));
1928
- fc(a);
1929
- } else ec(a);
1930
- else if (e = b.s, 3 == e || 0 == e && 0 < b.X || !(1 == d && bd(a, b) || 2 == d && $b(a))) switch (c && 0 < c.length && (b = a.h, b.i = b.i.concat(c)), e) {
1931
- case 1:
1932
- R(a, 5);
1933
- break;
1934
- case 4:
1935
- R(a, 10);
1936
- break;
1937
- case 3:
1938
- R(a, 6);
1939
- break;
1940
- default:
1941
- R(a, 2);
1942
- }
1943
- }
1944
- }
1945
- function cd(a, b) {
1946
- let c = a.Ta + Math.floor(Math.random() * a.cb);
1947
- a.isActive() || (c *= 2);
1948
- return c * b;
1949
- }
1950
- function R(a, b) {
1951
- a.j.info("Error code " + b);
1952
- if (2 == b) {
1953
- var c = p(a.fb, a), d = a.Xa;
1954
- const e = !d;
1955
- d = new T(d || "//www.google.com/images/cleardot.gif");
1956
- k.location && "http" == k.location.protocol || qc(d, "https");
1957
- Ib(d);
1958
- e ? Fc(d.toString(), c) : Gc(d.toString(), c);
1959
- } else K(2);
1960
- a.G = 0;
1961
- a.l && a.l.sa(b);
1962
- ad(a);
1963
- Zc(a);
1964
- }
1965
- h.fb = function(a) {
1966
- a ? (this.j.info("Successfully pinged google.com"), K(2)) : (this.j.info("Failed to ping google.com"), K(1));
1967
- };
1968
- function ad(a) {
1969
- a.G = 0;
1970
- a.ka = [];
1971
- if (a.l) {
1972
- const b = kc(a.h);
1973
- if (0 != b.length || 0 != a.i.length) ma(a.ka, b), ma(a.ka, a.i), a.h.i.length = 0, la(a.i), a.i.length = 0;
1974
- a.l.ra();
1975
- }
1976
- }
1977
- function cc(a, b, c) {
1978
- var d = c instanceof T ? N(c) : new T(c);
1979
- if ("" != d.g) b && (d.g = b + "." + d.g), rc(d, d.s);
1980
- else {
1981
- var e = k.location;
1982
- d = e.protocol;
1983
- b = b ? b + "." + e.hostname : e.hostname;
1984
- e = +e.port;
1985
- var f = new T(null);
1986
- d && qc(f, d);
1987
- b && (f.g = b);
1988
- e && rc(f, e);
1989
- c && (f.l = c);
1990
- d = f;
1991
- }
1992
- c = a.D;
1993
- b = a.ya;
1994
- c && b && S(d, c, b);
1995
- S(d, "VER", a.la);
1996
- $c(a, d);
1997
- return d;
1998
- }
1999
- function Mb(a, b, c) {
2000
- if (b && !a.J) throw Error("Can't create secondary domain capable XhrIo object.");
2001
- b = a.Ca && !a.pa ? new X(new Jc({ eb: c })) : new X(a.pa);
2002
- b.Ha(a.J);
2003
- return b;
2004
- }
2005
- h.isActive = function() {
2006
- return !!this.l && this.l.isActive(this);
2007
- };
2008
- function gd() {
2009
- }
2010
- h = gd.prototype;
2011
- h.ua = function() {
2012
- };
2013
- h.ta = function() {
2014
- };
2015
- h.sa = function() {
2016
- };
2017
- h.ra = function() {
2018
- };
2019
- h.isActive = function() {
2020
- return true;
2021
- };
2022
- h.Na = function() {
2023
- };
2024
- function hd() {
2025
- }
2026
- hd.prototype.g = function(a, b) {
2027
- return new Y(a, b);
2028
- };
2029
- function Y(a, b) {
2030
- E.call(this);
2031
- this.g = new Yc(b);
2032
- this.l = a;
2033
- this.h = b && b.messageUrlParams || null;
2034
- a = b && b.messageHeaders || null;
2035
- b && b.clientProtocolHeaderRequired && (a ? a["X-Client-Protocol"] = "webchannel" : a = { "X-Client-Protocol": "webchannel" });
2036
- this.g.o = a;
2037
- a = b && b.initMessageHeaders || null;
2038
- b && b.messageContentType && (a ? a["X-WebChannel-Content-Type"] = b.messageContentType : a = { "X-WebChannel-Content-Type": b.messageContentType });
2039
- b && b.va && (a ? a["X-WebChannel-Client-Profile"] = b.va : a = { "X-WebChannel-Client-Profile": b.va });
2040
- this.g.S = a;
2041
- (a = b && b.Sb) && !t(a) && (this.g.m = a);
2042
- this.v = b && b.supportsCrossDomainXhr || false;
2043
- this.u = b && b.sendRawJson || false;
2044
- (b = b && b.httpSessionIdParam) && !t(b) && (this.g.D = b, a = this.h, null !== a && b in a && (a = this.h, b in a && delete a[b]));
2045
- this.j = new Z(this);
2046
- }
2047
- r(Y, E);
2048
- Y.prototype.m = function() {
2049
- this.g.l = this.j;
2050
- this.v && (this.g.J = true);
2051
- this.g.connect(this.l, this.h || void 0);
2052
- };
2053
- Y.prototype.close = function() {
2054
- gc(this.g);
2055
- };
2056
- Y.prototype.o = function(a) {
2057
- var b = this.g;
2058
- if ("string" === typeof a) {
2059
- var c = {};
2060
- c.__data__ = a;
2061
- a = c;
2062
- } else this.u && (c = {}, c.__data__ = hb(a), a = c);
2063
- b.i.push(new hc(b.Ya++, a));
2064
- 3 == b.G && fc(b);
2065
- };
2066
- Y.prototype.N = function() {
2067
- this.g.l = null;
2068
- delete this.j;
2069
- gc(this.g);
2070
- delete this.g;
2071
- Y.aa.N.call(this);
2072
- };
2073
- function id(a) {
2074
- nb.call(this);
2075
- a.__headers__ && (this.headers = a.__headers__, this.statusCode = a.__status__, delete a.__headers__, delete a.__status__);
2076
- var b = a.__sm__;
2077
- if (b) {
2078
- a: {
2079
- for (const c in b) {
2080
- a = c;
2081
- break a;
2082
- }
2083
- a = void 0;
2084
- }
2085
- if (this.i = a) a = this.i, b = null !== b && a in b ? b[a] : void 0;
2086
- this.data = b;
2087
- } else this.data = a;
2088
- }
2089
- r(id, nb);
2090
- function jd() {
2091
- ob.call(this);
2092
- this.status = 1;
2093
- }
2094
- r(jd, ob);
2095
- function Z(a) {
2096
- this.g = a;
2097
- }
2098
- r(Z, gd);
2099
- Z.prototype.ua = function() {
2100
- F(this.g, "a");
2101
- };
2102
- Z.prototype.ta = function(a) {
2103
- F(this.g, new id(a));
2104
- };
2105
- Z.prototype.sa = function(a) {
2106
- F(this.g, new jd());
2107
- };
2108
- Z.prototype.ra = function() {
2109
- F(this.g, "b");
2110
- };
2111
- hd.prototype.createWebChannel = hd.prototype.g;
2112
- Y.prototype.send = Y.prototype.o;
2113
- Y.prototype.open = Y.prototype.m;
2114
- Y.prototype.close = Y.prototype.close;
2115
- createWebChannelTransport = function() {
2116
- return new hd();
2117
- };
2118
- getStatEventTarget = function() {
2119
- return qb();
2120
- };
2121
- Event = I;
2122
- Stat = { mb: 0, pb: 1, qb: 2, Jb: 3, Ob: 4, Lb: 5, Mb: 6, Kb: 7, Ib: 8, Nb: 9, PROXY: 10, NOPROXY: 11, Gb: 12, Cb: 13, Db: 14, Bb: 15, Eb: 16, Fb: 17, ib: 18, hb: 19, jb: 20 };
2123
- Ab.NO_ERROR = 0;
2124
- Ab.TIMEOUT = 8;
2125
- Ab.HTTP_ERROR = 6;
2126
- ErrorCode = Ab;
2127
- Bb.COMPLETE = "complete";
2128
- EventType = Bb;
2129
- mb.EventType = H;
2130
- H.OPEN = "a";
2131
- H.CLOSE = "b";
2132
- H.ERROR = "c";
2133
- H.MESSAGE = "d";
2134
- E.prototype.listen = E.prototype.K;
2135
- WebChannel = mb;
2136
- X.prototype.listenOnce = X.prototype.L;
2137
- X.prototype.getLastError = X.prototype.Ka;
2138
- X.prototype.getLastErrorCode = X.prototype.Ba;
2139
- X.prototype.getStatus = X.prototype.Z;
2140
- X.prototype.getResponseJson = X.prototype.Oa;
2141
- X.prototype.getResponseText = X.prototype.oa;
2142
- X.prototype.send = X.prototype.ea;
2143
- X.prototype.setWithCredentials = X.prototype.Ha;
2144
- XhrIo = X;
2145
- }).apply(typeof commonjsGlobal !== "undefined" ? commonjsGlobal : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {});
2146
- export {
2147
- ErrorCode,
2148
- Event,
2149
- EventType,
2150
- Stat,
2151
- WebChannel,
2152
- XhrIo,
2153
- createWebChannelTransport,
2154
- getStatEventTarget
2155
- };