@seamly/web-ui 22.3.0-beta.1 → 22.3.0-beta.3
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.
- package/build/dist/lib/components.js +342 -314
- package/build/dist/lib/components.js.map +1 -1
- package/build/dist/lib/components.min.js +1 -1
- package/build/dist/lib/components.min.js.map +1 -1
- package/build/dist/lib/hooks.js +312 -297
- package/build/dist/lib/hooks.js.map +1 -1
- package/build/dist/lib/hooks.min.js +1 -1
- package/build/dist/lib/hooks.min.js.map +1 -1
- package/build/dist/lib/index.debug.js +192 -120
- package/build/dist/lib/index.debug.js.map +1 -1
- package/build/dist/lib/index.debug.min.js +1 -1
- package/build/dist/lib/index.debug.min.js.LICENSE.txt +4 -4
- package/build/dist/lib/index.debug.min.js.map +1 -1
- package/build/dist/lib/index.js +433 -250
- package/build/dist/lib/index.js.map +1 -1
- package/build/dist/lib/index.min.js +1 -1
- package/build/dist/lib/index.min.js.map +1 -1
- package/build/dist/lib/standalone.js +849 -262
- package/build/dist/lib/standalone.js.map +1 -1
- package/build/dist/lib/standalone.min.js +1 -1
- package/build/dist/lib/standalone.min.js.map +1 -1
- package/build/dist/lib/storage.min.js.map +1 -1
- package/build/dist/lib/style-guide.js +293 -248
- package/build/dist/lib/style-guide.js.map +1 -1
- package/build/dist/lib/style-guide.min.js +1 -1
- package/build/dist/lib/style-guide.min.js.map +1 -1
- package/build/dist/lib/styles-default-implementation.css +1 -1
- package/build/dist/lib/styles.css +1 -1
- package/build/dist/lib/utils.js +381 -341
- package/build/dist/lib/utils.js.map +1 -1
- package/build/dist/lib/utils.min.js +1 -1
- package/build/dist/lib/utils.min.js.map +1 -1
- package/package.json +1 -1
- package/src/javascripts/api/conversation-connector.ts +6 -9
- package/src/javascripts/domains/translations/components/options-dialog/translation-option.tsx +1 -1
- package/src/javascripts/style-guide/states.js +8 -0
- package/src/javascripts/ui/components/chat-status/chat-status-action.tsx +2 -2
- package/src/javascripts/ui/components/conversation/event/carousel-component/components/controls.js +2 -2
- package/src/javascripts/ui/components/conversation/event/choice-prompt.js +1 -1
- package/src/javascripts/ui/components/conversation/event/image-lightbox.js +1 -1
- package/src/javascripts/ui/components/conversation/event-divider.js +6 -1
- package/src/javascripts/ui/components/core/seamly-event-subscriber.ts +20 -15
- package/src/javascripts/ui/components/form-controls/error.js +1 -1
- package/src/javascripts/ui/components/form-controls/file-input.js +1 -1
- package/src/javascripts/ui/components/layout/agent-info.js +1 -1
- package/src/javascripts/ui/components/layout/{icon.js → icon.tsx} +74 -37
- package/src/javascripts/ui/components/options/options-button.js +1 -1
- package/src/javascripts/ui/components/suggestions/suggestions-item.js +1 -1
- package/src/javascripts/ui/components/view/window-view/window-open-button.js +1 -1
- package/src/javascripts/ui/components/widgets/lightbox.js +1 -1
- package/src/stylesheets/5-components/_message-card.scss +4 -3
package/build/dist/lib/utils.js
CHANGED
|
@@ -6861,7 +6861,7 @@ function randomId() {
|
|
|
6861
6861
|
/* harmony import */ var preact_hooks__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(9207);
|
|
6862
6862
|
/* harmony import */ var preact_hooks__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(preact_hooks__WEBPACK_IMPORTED_MODULE_1__);
|
|
6863
6863
|
/* harmony import */ var ui_components_conversation_message_container__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(2480);
|
|
6864
|
-
/* harmony import */ var ui_components_layout_icon__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
|
|
6864
|
+
/* harmony import */ var ui_components_layout_icon__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(2398);
|
|
6865
6865
|
/* harmony import */ var ui_hooks_seamly_hooks__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(9470);
|
|
6866
6866
|
/* harmony import */ var ui_utils_seamly_utils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(1149);
|
|
6867
6867
|
/* harmony import */ var domains_i18n_hooks__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(5962);
|
|
@@ -6984,7 +6984,8 @@ const ChoicePrompt = ({
|
|
|
6984
6984
|
"aria-describedby": descriptorId,
|
|
6985
6985
|
children: [showOptions ? t('message.choicePrompts.cancelChooseAgain') : t('message.choicePrompts.chooseAgain'), (0,preact_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(ui_components_layout_icon__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z, {
|
|
6986
6986
|
name: "chevronDown",
|
|
6987
|
-
size: "8"
|
|
6987
|
+
size: "8",
|
|
6988
|
+
alt: ""
|
|
6988
6989
|
})]
|
|
6989
6990
|
}), showOptions && (0,preact_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(ui_components_conversation_message_container__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z, {
|
|
6990
6991
|
type: "choice-prompt",
|
|
@@ -7207,144 +7208,6 @@ const SeamlyLiveRegionContext = (0,preact__WEBPACK_IMPORTED_MODULE_0__.createCon
|
|
|
7207
7208
|
|
|
7208
7209
|
/***/ }),
|
|
7209
7210
|
|
|
7210
|
-
/***/ 9016:
|
|
7211
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
7212
|
-
|
|
7213
|
-
"use strict";
|
|
7214
|
-
|
|
7215
|
-
// EXPORTS
|
|
7216
|
-
__webpack_require__.d(__webpack_exports__, {
|
|
7217
|
-
Z: () => (/* binding */ icon)
|
|
7218
|
-
});
|
|
7219
|
-
|
|
7220
|
-
;// CONCATENATED MODULE: ./node_modules/raw-loader/dist/cjs.js!./src/icons/avatar_bot-32.svg
|
|
7221
|
-
/* harmony default export */ const avatar_bot_32 = ("<svg version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" x=\"0px\" y=\"0px\"\n\t viewBox=\"0 0 32 32\" enable-background=\"new 0 0 32 32\" xml:space=\"preserve\">\n<path fill=\"#4A48C1\" d=\"M10,14.8c-1.1,0-2-0.9-2-2s0.9-2,2-2s2,0.9,2,2S11.1,14.8,10,14.8z M15.9,14.8c1.1,0,2-0.9,2-2s-0.9-2-2-2\n\ts-2,0.9-2,2S14.8,14.8,15.9,14.8z M21.8,10.8c-1.1,0-2,0.9-2,2s0.9,2,2,2s2-0.9,2-2S22.9,10.8,21.8,10.8z M21.3,18.1H10.7\n\tC11.7,23.9,20.2,23.9,21.3,18.1z\"/>\n</svg>\n");
|
|
7222
|
-
;// CONCATENATED MODULE: ./node_modules/raw-loader/dist/cjs.js!./src/icons/icon_arrow_left-16.svg
|
|
7223
|
-
/* harmony default export */ const icon_arrow_left_16 = ("<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<!-- Generator: Adobe Illustrator 25.2.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->\n<svg version=\"1.1\" id=\"Layer_1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" x=\"0px\" y=\"0px\"\n\t viewBox=\"0 0 16 16\" enable-background=\"new 0 0 16 16\" xml:space=\"preserve\">\n<path fill=\"#5053A4\" d=\"M13.6,8c0,0.6-0.4,1-1,1h-7l2.2,2.5c0.4,0.4,0.3,1-0.1,1.4c-0.2,0.2-0.4,0.2-0.7,0.2c-0.3,0-0.6-0.1-0.8-0.3\n\tL2.6,8.6c0,0-0.1-0.1-0.1-0.2c0,0-0.1-0.1-0.1-0.1c0-0.1-0.1-0.2-0.1-0.3c0,0,0,0,0,0c0,0,0,0,0,0c0-0.1,0-0.3,0.1-0.4\n\tc0,0,0.1-0.1,0.1-0.1c0-0.1,0.1-0.1,0.1-0.2l3.7-4.1c0.4-0.4,1-0.4,1.4-0.1c0.4,0.4,0.4,1,0.1,1.4L5.6,7h7C13.2,7,13.6,7.4,13.6,8z\"\n\t/>\n</svg>\n");
|
|
7224
|
-
;// CONCATENATED MODULE: ./node_modules/raw-loader/dist/cjs.js!./src/icons/icon_arrow_right-16.svg
|
|
7225
|
-
/* harmony default export */ const icon_arrow_right_16 = ("<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<!-- Generator: Adobe Illustrator 25.2.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->\n<svg version=\"1.1\" id=\"Layer_1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" x=\"0px\" y=\"0px\"\n\t viewBox=\"0 0 16 16\" enable-background=\"new 0 0 16 16\" xml:space=\"preserve\">\n<path fill=\"#5053A4\" d=\"M2.4,8.1c0-0.6,0.4-1,1-1h7L8.1,4.5c-0.4-0.4-0.3-1,0.1-1.4c0.2-0.2,0.4-0.2,0.7-0.2c0.3,0,0.6,0.1,0.8,0.3\n\tl3.7,4.2c0,0,0.1,0.1,0.1,0.2c0,0,0.1,0.1,0.1,0.1c0,0.1,0.1,0.2,0.1,0.3c0,0,0,0,0,0c0,0,0,0,0,0c0,0.1,0,0.3-0.1,0.4\n\tc0,0-0.1,0.1-0.1,0.1c0,0.1-0.1,0.1-0.1,0.2l-3.7,4.1c-0.4,0.4-1,0.4-1.4,0.1c-0.4-0.4-0.4-1-0.1-1.4l2.2-2.4h-7\n\tC2.8,9.1,2.4,8.6,2.4,8.1z\"/>\n</svg>\n");
|
|
7226
|
-
;// CONCATENATED MODULE: ./node_modules/raw-loader/dist/cjs.js!./src/icons/icon_balloon-32.svg
|
|
7227
|
-
/* harmony default export */ const icon_balloon_32 = ("<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"32px\" height=\"32px\" x=\"0px\" y=\"0px\" viewBox=\"0 0 32 32\"><defs/><path fill=\"#4A48C1\" d=\"M24,10.824v10.375c0,1.104-0.896,2-2,2h-4.694l-4.931,3.625v-3.625H10c-1.104,0-2-0.896-2-2V10.824\tc0-1.104,0.896-2,2-2h12C23.104,8.824,24,9.719,24,10.824z\"/></svg>");
|
|
7228
|
-
;// CONCATENATED MODULE: ./node_modules/raw-loader/dist/cjs.js!./src/icons/icon_check-16.svg
|
|
7229
|
-
/* harmony default export */ const icon_check_16 = ("<svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"16px\"\n height=\"16px\"\n x=\"0px\"\n y=\"0px\"\n viewBox=\"0 0 16 16\"\n>\n <path\n fill=\"currentColor\"\n d=\"M11.6,4.3l-5,5L4.9,7.5C4.4,7,3.7,7,3.2,7.5l0,0C2.8,8,2.8,8.7,3.2,9.2l1.7,1.7l0,0l0.8,0.8\n\tc0.5,0.5,1.2,0.5,1.7,0l0.8-0.8l5-5c0.5-0.5,0.5-1.2,0-1.7l0,0C12.8,3.8,12.1,3.8,11.6,4.3z\"\n />\n</svg>\n");
|
|
7230
|
-
;// CONCATENATED MODULE: ./node_modules/raw-loader/dist/cjs.js!./src/icons/icon_check-32.svg
|
|
7231
|
-
/* harmony default export */ const icon_check_32 = ("<svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"32px\"\n height=\"32px\"\n x=\"0px\"\n y=\"0px\"\n viewBox=\"0 0 32 32\"\n>\n <path\n fill=\"currentColor\"\n d=\"M22.9,9.3l-9.3,9.3l-3.2-3.2c-0.9-0.9-2.3-0.9-3.2,0l0,0c-0.9,0.9-0.9,2.3,0,3.2l3.2,3.2l0,0l1.6,1.6\n\tc0.9,0.9,2.3,0.9,3.2,0l1.6-1.6l9.3-9.3c0.9-0.9,0.9-2.3,0-3.2l0,0C25.2,8.4,23.7,8.4,22.9,9.3z\"\n />\n</svg>\n");
|
|
7232
|
-
;// CONCATENATED MODULE: ./node_modules/raw-loader/dist/cjs.js!./src/icons/icon_chevron_down-8.svg
|
|
7233
|
-
/* harmony default export */ const icon_chevron_down_8 = ("<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"8px\" height=\"8px\" x=\"0px\" y=\"0px\" viewBox=\"0 0 8 8\"><defs/><path fill=\"#4A48C1\" d=\"M-0.001,2.876c0-0.247,0.091-0.494,0.273-0.688c0.38-0.401,1.013-0.418,1.414-0.039l1.938,1.834\tc0.199,0.188,0.547,0.188,0.746,0L6.31,2.15c0.401-0.379,1.034-0.362,1.414,0.04c0.379,0.401,0.361,1.034-0.04,1.414L5.745,5.437\tC4.782,6.35,3.213,6.35,2.249,5.436L0.311,3.603C0.103,3.406-0.001,3.142-0.001,2.876z\"/></svg>");
|
|
7234
|
-
;// CONCATENATED MODULE: ./node_modules/raw-loader/dist/cjs.js!./src/icons/icon_chevron_down-32.svg
|
|
7235
|
-
/* harmony default export */ const icon_chevron_down_32 = ("<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"32px\" height=\"32px\" x=\"0px\" y=\"0px\" viewBox=\"0 0 32 32\"><defs/><path fill=\"#4A48C1\" d=\"M16,20.425c-0.782,0-1.563-0.291-2.159-0.874l-6.541-6.408c-0.395-0.387-0.401-1.02-0.015-1.414\tc0.387-0.394,1.021-0.4,1.414-0.015l6.541,6.408c0.42,0.409,1.102,0.409,1.52-0.001l6.541-6.407c0.396-0.386,1.028-0.38,1.414,0.015\tc0.387,0.395,0.381,1.027-0.014,1.414l-6.541,6.407C17.563,20.133,16.782,20.425,16,20.425z\"/></svg>");
|
|
7236
|
-
;// CONCATENATED MODULE: ./node_modules/raw-loader/dist/cjs.js!./src/icons/icon_chevron_right-8.svg
|
|
7237
|
-
/* harmony default export */ const icon_chevron_right_8 = ("<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"8px\" height=\"8px\" x=\"0px\" y=\"0px\" viewBox=\"0 0 8 8\"><defs/><path fill=\"#4A48C1\" d=\"M2.875,7.998c-0.247,0-0.494-0.091-0.688-0.273c-0.401-0.38-0.418-1.013-0.039-1.414l1.834-1.938\tc0.188-0.199,0.188-0.547,0-0.746l-1.835-1.94c-0.379-0.401-0.362-1.034,0.04-1.414s1.034-0.361,1.414,0.04l1.834,1.939\tc0.913,0.963,0.913,2.532-0.001,3.496L3.601,7.686C3.405,7.894,3.14,7.998,2.875,7.998z\"/></svg>");
|
|
7238
|
-
;// CONCATENATED MODULE: ./node_modules/raw-loader/dist/cjs.js!./src/icons/icon_chevron_right-16.svg
|
|
7239
|
-
/* harmony default export */ const icon_chevron_right_16 = ("<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16px\" height=\"16px\" x=\"0px\" y=\"0px\" viewBox=\"0 0 16 16\"><defs/><path fill=\"#4A48C1\" d=\"M6.5,13c-0.247,0-0.494-0.091-0.687-0.273c-0.401-0.38-0.419-1.013-0.04-1.414L8.22,8.727\tc0.373-0.394,0.373-1.06,0-1.454L5.773,4.687c-0.379-0.401-0.362-1.034,0.04-1.414c0.4-0.378,1.034-0.362,1.414,0.04l2.446,2.586\tc1.096,1.159,1.096,3.043,0,4.203l-2.446,2.586C7.03,12.896,6.765,13,6.5,13z\"/></svg>");
|
|
7240
|
-
;// CONCATENATED MODULE: ./node_modules/raw-loader/dist/cjs.js!./src/icons/icon_close-8.svg
|
|
7241
|
-
/* harmony default export */ const icon_close_8 = ("<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"8px\" height=\"8px\" x=\"0px\" y=\"0px\" viewBox=\"0 0 8 8\"><defs/><path fill=\"#4A48C1\" d=\"M7.705,7.729C7.511,7.923,7.255,8.02,7,8.02c-0.257,0-0.514-0.099-0.709-0.295L4,5.423L1.709,7.725\tC1.513,7.921,1.257,8.02,1,8.02c-0.255,0-0.51-0.097-0.706-0.291c-0.391-0.39-0.393-1.022-0.003-1.414l2.298-2.309l-2.27-2.28\tC-0.07,1.334-0.068,0.701,0.323,0.311c0.392-0.389,1.024-0.387,1.415,0.003L4,2.587l2.263-2.274C6.653-0.077,7.287-0.079,7.677,0.31\tC8.068,0.7,8.07,1.333,7.681,1.725l-2.27,2.281l2.298,2.309C8.099,6.705,8.097,7.339,7.705,7.729z\"/></svg>");
|
|
7242
|
-
;// CONCATENATED MODULE: ./node_modules/raw-loader/dist/cjs.js!./src/icons/icon_close-16.svg
|
|
7243
|
-
/* harmony default export */ const icon_close_16 = ("<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16px\" height=\"16px\" x=\"0px\" y=\"0px\" viewBox=\"0 0 16 16\"><defs/><path fill=\"#4A48C1\" d=\"M12.709,11.295L9.411,7.982l3.262-3.276c0.39-0.392,0.388-1.024-0.004-1.414\tc-0.39-0.39-1.023-0.388-1.414,0.003L8,6.564L4.746,3.295C4.357,2.904,3.724,2.903,3.332,3.292C2.94,3.682,2.939,4.315,3.329,4.707\tl3.261,3.275l-3.298,3.313c-0.39,0.391-0.388,1.024,0.003,1.414C3.49,12.903,3.745,13,4,13c0.257,0,0.513-0.099,0.708-0.295L8,9.399\tl3.291,3.306C11.486,12.901,11.743,13,12,13c0.255,0,0.511-0.097,0.705-0.291C13.097,12.319,13.099,11.686,12.709,11.295z\"/></svg>");
|
|
7244
|
-
;// CONCATENATED MODULE: ./node_modules/raw-loader/dist/cjs.js!./src/icons/icon_download-16.svg
|
|
7245
|
-
/* harmony default export */ const icon_download_16 = ("<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16px\" height=\"16px\" x=\"0px\" y=\"0px\" viewBox=\"0 0 16 16\"><defs/><path fill=\"#FFF\" d=\"M3.175,7.726c-0.413-0.367-0.45-0.999-0.083-1.412c0.367-0.413,0.999-0.45,1.412-0.083L7,8.45V1.5\tc0-0.552,0.448-1,1-1c0.553,0,1,0.448,1,1v6.95l2.496-2.219c0.412-0.367,1.044-0.331,1.411,0.083\tc0.367,0.413,0.33,1.045-0.083,1.412l-4.16,3.698c-0.047,0.041-0.103,0.062-0.154,0.094c-0.047,0.028-0.089,0.064-0.141,0.085\tC8.25,11.649,8.125,11.677,8,11.677c-0.126,0-0.25-0.027-0.369-0.074c-0.05-0.021-0.09-0.055-0.136-0.083\tc-0.053-0.031-0.111-0.053-0.159-0.096L3.175,7.726z M12.018,13.5H3.983c-0.552,0-1,0.447-1,1s0.448,1,1,1h8.035\tc0.553,0,1-0.447,1-1S12.57,13.5,12.018,13.5z\"/></svg>");
|
|
7246
|
-
;// CONCATENATED MODULE: ./node_modules/raw-loader/dist/cjs.js!./src/icons/icon_enlarge-32.svg
|
|
7247
|
-
/* harmony default export */ const icon_enlarge_32 = ("<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"32px\" height=\"32px\" x=\"0px\" y=\"0px\" viewBox=\"0 0 32 32\"><defs/><path fill=\"#4A48C1\" d=\"M24,9v6.5c0,0.552-0.447,1-1,1s-1-0.448-1-1v-4.086L11.414,22H15.5c0.552,0,1,0.447,1,1s-0.448,1-1,1H9\tc-0.13,0-0.26-0.026-0.382-0.077c-0.245-0.102-0.439-0.296-0.541-0.541C8.026,23.26,8,23.13,8,23v-6.5c0-0.552,0.448-1,1-1\ts1,0.448,1,1v4.085L20.586,10H16.5c-0.552,0-1-0.448-1-1s0.448-1,1-1H23c0.13,0,0.26,0.026,0.382,0.077\tc0.245,0.102,0.439,0.296,0.541,0.541C23.974,8.74,24,8.87,24,9z\"/></svg>");
|
|
7248
|
-
;// CONCATENATED MODULE: ./node_modules/raw-loader/dist/cjs.js!./src/icons/icon_error-16.svg
|
|
7249
|
-
/* harmony default export */ const icon_error_16 = ("<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16px\" height=\"16px\" x=\"0px\" y=\"0px\" viewBox=\"0 0 16 16\"><defs/><path fill=\"#ad001f\" d=\"M15.744,13.104L9.097,1.47c-0.604-1.055-1.59-1.055-2.193,0L0.256,13.104\tc-0.604,1.056-0.102,1.919,1.113,1.919H14.63C15.847,15.022,16.348,14.159,15.744,13.104z M7,5.045c0-0.552,0.448-1,1-1s1,0.448,1,1\tv3.656c0,0.552-0.448,1-1,1s-1-0.448-1-1V5.045z M8,13.212c-0.748,0-1.354-0.607-1.354-1.354c0-0.748,0.606-1.354,1.354-1.354\ts1.354,0.606,1.354,1.354C9.354,12.604,8.748,13.212,8,13.212z\"/></svg>");
|
|
7250
|
-
;// CONCATENATED MODULE: ./node_modules/raw-loader/dist/cjs.js!./src/icons/icon_file-32.svg
|
|
7251
|
-
/* harmony default export */ const icon_file_32 = ("<svg xmlns=\"http://www.w3.org/2000/svg\" xml:space=\"preserve\" x=\"0px\" y=\"0px\" version=\"1.1\" viewBox=\"0 0 32 32\"><path fill=\"#4A48C1\" d=\"M16,28.5c-3.6,0-6.5-3-6.5-6.6V9.6c0-0.6,0.4-1,1-1s1,0.4,1,1v12.3c0,2.5,2,4.6,4.5,4.6\tc2.5,0,4.5-2.1,4.5-4.6V8.3c0-1.5-1.2-2.8-2.7-2.8c-1.5,0-2.7,1.3-2.7,2.8v13.5c0,0.6,0.5,1.1,1,1.1c0.6,0,1-0.5,1-1.1v-10\tc0-0.6,0.4-1,1-1s1,0.4,1,1v10c0,1.7-1.4,3.1-3,3.1s-3-1.4-3-3.1V8.3c0-2.6,2.1-4.8,4.7-4.8c2.6,0,4.7,2.2,4.7,4.8v13.6\tC22.5,25.5,19.6,28.5,16,28.5z\"/></svg>");
|
|
7252
|
-
;// CONCATENATED MODULE: ./node_modules/raw-loader/dist/cjs.js!./src/icons/icon_newtopic-32.svg
|
|
7253
|
-
/* harmony default export */ const icon_newtopic_32 = ("<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"32px\" height=\"32px\" x=\"0px\" y=\"0px\" viewBox=\"0 0 32 32\"><path fill=\"#4A48C1\" d=\"M16,8.593l2.407,4.573l5.093,0.876l-3.604,3.702l0.74,5.115L16,20.574l-4.634,2.285l0.739-5.115L8.5,14.042\tl5.094-0.876L16,8.593z\"/></svg>");
|
|
7254
|
-
;// CONCATENATED MODULE: ./node_modules/raw-loader/dist/cjs.js!./src/icons/icon_newtranslation-16.svg
|
|
7255
|
-
/* harmony default export */ const icon_newtranslation_16 = ("<svg xmlns=\"http://www.w3.org/2000/svg\" x=\"0px\" y=\"0px\" viewBox=\"0 0 16 16\"><path fill=\"#4A48C1\" d=\"M8,0C3.6,0,0,3.6,0,8s3.6,8,8,8s8-3.6,8-8S12.4,0,8,0z M14.1,7.1h-1.4c-0.1-1.5-0.4-2.9-1-4\tC13,4,13.9,5.4,14.1,7.1z M7.1,2.1v5H5C5.2,4.7,6.1,2.9,7.1,2.1z M7.1,8.9v5c-1-0.7-1.9-2.5-2.1-5H7.1z M8.9,13.9v-5H11\tC10.8,11.3,9.9,13.2,8.9,13.9z M8.9,7.1v-5c1,0.7,1.9,2.5,2.1,5H8.9z M4.2,3.1c-0.5,1.1-0.9,2.5-1,4H1.9C2.1,5.4,3,4,4.2,3.1z M1.9,8.9h1.4c0.1,1.5,0.4,2.9,1,4C3,12,2.1,10.5,1.9,8.9z M11.8,12.9c0.5-1.1,0.9-2.5,1-4h1.4C13.9,10.5,13,12,11.8,12.9z\"/></svg>");
|
|
7256
|
-
;// CONCATENATED MODULE: ./node_modules/raw-loader/dist/cjs.js!./src/icons/icon_newtranslation-32.svg
|
|
7257
|
-
/* harmony default export */ const icon_newtranslation_32 = ("<svg xmlns=\"http://www.w3.org/2000/svg\" x=\"0px\" y=\"0px\" viewBox=\"0 0 32 32\"><path fill=\"#4A48C1\" d=\"M16,7c-4.9,0-9,4.1-9,9s4.1,9,9,9s9-4.1,9-9S20.9,7,16,7z M22.9,15h-1.6c-0.1-1.7-0.5-3.3-1.1-4.5\tC21.6,11.5,22.6,13.1,22.9,15z M15,9.4V15h-2.3C12.9,12.3,13.9,10.2,15,9.4z M15,17v5.6c-1.1-0.8-2.1-2.9-2.3-5.6H15z M17,22.6V17\th2.3C19.1,19.8,18.1,21.8,17,22.6z M17,15V9.4c1.1,0.8,2.1,2.9,2.3,5.6H17z M11.8,10.4c-0.6,1.3-1,2.8-1.1,4.5H9.1\tC9.4,13.1,10.4,11.5,11.8,10.4z M9.1,17h1.6c0.1,1.7,0.5,3.3,1.1,4.5C10.4,20.5,9.4,18.9,9.1,17z M20.2,21.5c0.6-1.3,1-2.8,1.1-4.5\th1.6C22.6,18.8,21.6,20.5,20.2,21.5z\"/></svg>");
|
|
7258
|
-
;// CONCATENATED MODULE: ./node_modules/raw-loader/dist/cjs.js!./src/icons/icon_options-32.svg
|
|
7259
|
-
/* harmony default export */ const icon_options_32 = ("<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"32px\" height=\"32px\" x=\"0px\" y=\"0px\" viewBox=\"0 0 32 32\"><defs/><path fill=\"#4A48C1\" d=\"M26.1,21.383c0.334-0.625,0.602-1.279,0.812-1.949L32,18.609V13.51l-5.058-0.846\tc-0.208-0.67-0.468-1.325-0.795-1.956l3.009-4.145l-3.604-3.634L21.38,5.903c-0.626-0.333-1.276-0.602-1.948-0.81L18.609,0\tl-5.098,0.001l-0.847,5.061c-0.669,0.203-1.326,0.465-1.957,0.794L6.562,2.847L2.929,6.449l2.973,4.171\tC5.569,11.247,5.3,11.9,5.091,12.569L0,13.373v5.099l5.06,0.866c0.204,0.669,0.467,1.324,0.796,1.955l-3.009,4.146l3.601,3.635\tl4.171-2.975c0.627,0.335,1.282,0.603,1.951,0.811L13.372,32h5.118l0.849-5.057c0.668-0.207,1.323-0.469,1.953-0.795l4.144,3.01\tl3.639-3.604L26.1,21.383z M19.01,19.035c-1.675,1.663-4.381,1.652-6.041-0.025c-1.662-1.675-1.649-4.381,0.024-6.042\tc1.676-1.661,4.382-1.648,6.043,0.025C20.699,14.67,20.686,17.377,19.01,19.035z\"/></svg>");
|
|
7260
|
-
;// CONCATENATED MODULE: ./node_modules/raw-loader/dist/cjs.js!./src/icons/icon_send-32.svg
|
|
7261
|
-
/* harmony default export */ const icon_send_32 = ("<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"32px\" height=\"32px\" x=\"0px\" y=\"0px\" viewBox=\"0 0 32 32\"><defs/><path fill=\"#4A48C1\" d=\"M6.714,14.985l17.837-7.906c0.681-0.302,1.414,0.301,1.25,1.027L22.273,23.59\tc-0.13,0.566-0.751,0.865-1.275,0.613l-3.623-1.752l-2.334,2.287c-0.572,0.562-1.538,0.156-1.538-0.645V21.01\tc0-0.217,0.078-0.43,0.222-0.594l7.676-8.841l-10.414,7.472l-4.351-2.445C5.987,16.236,6.033,15.287,6.714,14.985L6.714,14.985z\"/></svg>");
|
|
7262
|
-
;// CONCATENATED MODULE: ./node_modules/raw-loader/dist/cjs.js!./src/icons/icon_upload-32.svg
|
|
7263
|
-
/* harmony default export */ const icon_upload_32 = ("<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"32px\" height=\"32px\" x=\"0px\" y=\"0px\" viewBox=\"0 0 32 32\"><defs/><path fill=\"#4A48C1\" d=\"M9.488,13.481c-0.391-0.391-0.391-1.023,0-1.414l5.805-5.805c0.026-0.026,0.06-0.036,0.088-0.058\tc0.073-0.06,0.146-0.119,0.235-0.156c0.246-0.103,0.522-0.103,0.769,0c0.093,0.039,0.171,0.101,0.249,0.165\tc0.023,0.02,0.053,0.027,0.074,0.049l5.805,5.805c0.391,0.391,0.391,1.023,0,1.414c-0.195,0.195-0.451,0.293-0.707,0.293\ts-0.512-0.098-0.707-0.293L17,9.383V20.33c0,0.553-0.447,1-1,1c-0.552,0-1-0.447-1-1V9.383l-4.098,4.098\tC10.512,13.872,9.879,13.872,9.488,13.481z M22.819,24.031H9.181c-0.552,0-1,0.447-1,1s0.448,1,1,1h13.639c0.553,0,1-0.447,1-1\tS23.372,24.031,22.819,24.031z\"/></svg>");
|
|
7264
|
-
// EXTERNAL MODULE: ./src/javascripts/lib/css.js
|
|
7265
|
-
var css = __webpack_require__(2);
|
|
7266
|
-
// EXTERNAL MODULE: external "preact/jsx-runtime"
|
|
7267
|
-
var jsx_runtime_ = __webpack_require__(7844);
|
|
7268
|
-
;// CONCATENATED MODULE: ./src/javascripts/ui/components/layout/icon.js
|
|
7269
|
-
/* eslint-disable import/no-webpack-loader-syntax */
|
|
7270
|
-
// The eslint rules are disabled for this as otherwsise we'd need to include the loader rule in all implementations
|
|
7271
|
-
// this can again be changed when we can import pre-built packages in implementations
|
|
7272
|
-
|
|
7273
|
-
|
|
7274
|
-
|
|
7275
|
-
|
|
7276
|
-
|
|
7277
|
-
|
|
7278
|
-
|
|
7279
|
-
|
|
7280
|
-
|
|
7281
|
-
|
|
7282
|
-
|
|
7283
|
-
|
|
7284
|
-
|
|
7285
|
-
|
|
7286
|
-
|
|
7287
|
-
|
|
7288
|
-
|
|
7289
|
-
|
|
7290
|
-
|
|
7291
|
-
|
|
7292
|
-
|
|
7293
|
-
|
|
7294
|
-
|
|
7295
|
-
|
|
7296
|
-
/* eslint-enable import/no-webpack-loader-syntax */
|
|
7297
|
-
|
|
7298
|
-
|
|
7299
|
-
|
|
7300
|
-
const ICONS = {
|
|
7301
|
-
send32: icon_send_32,
|
|
7302
|
-
balloon32: icon_balloon_32,
|
|
7303
|
-
newTopic32: icon_newtopic_32,
|
|
7304
|
-
newTranslation16: icon_newtranslation_16,
|
|
7305
|
-
newTranslation32: icon_newtranslation_32,
|
|
7306
|
-
avatar32: avatar_bot_32,
|
|
7307
|
-
chevronDown8: icon_chevron_down_8,
|
|
7308
|
-
chevronDown32: icon_chevron_down_32,
|
|
7309
|
-
chevronRight8: icon_chevron_right_8,
|
|
7310
|
-
chevronRight16: icon_chevron_right_16,
|
|
7311
|
-
close8: icon_close_8,
|
|
7312
|
-
close16: icon_close_16,
|
|
7313
|
-
enlarge32: icon_enlarge_32,
|
|
7314
|
-
options32: icon_options_32,
|
|
7315
|
-
file32: icon_file_32,
|
|
7316
|
-
upload32: icon_upload_32,
|
|
7317
|
-
download16: icon_download_16,
|
|
7318
|
-
error16: icon_error_16,
|
|
7319
|
-
arrowLeft16: icon_arrow_left_16,
|
|
7320
|
-
arrowRight16: icon_arrow_right_16,
|
|
7321
|
-
check32: icon_check_32,
|
|
7322
|
-
check16: icon_check_16
|
|
7323
|
-
};
|
|
7324
|
-
const Icon = ({
|
|
7325
|
-
name,
|
|
7326
|
-
size = '32',
|
|
7327
|
-
className = undefined,
|
|
7328
|
-
alt
|
|
7329
|
-
}) => {
|
|
7330
|
-
const iconName = `${name}${size}`;
|
|
7331
|
-
return (0,jsx_runtime_.jsxs)(jsx_runtime_.Fragment, {
|
|
7332
|
-
children: [(0,jsx_runtime_.jsx)("div", {
|
|
7333
|
-
"aria-hidden": "true",
|
|
7334
|
-
className: className || (0,css/* className */.o)('icon'),
|
|
7335
|
-
dangerouslySetInnerHTML: {
|
|
7336
|
-
__html: ICONS[iconName]
|
|
7337
|
-
}
|
|
7338
|
-
}), alt && (0,jsx_runtime_.jsx)("span", {
|
|
7339
|
-
className: (0,css/* className */.o)('visually-hidden'),
|
|
7340
|
-
children: alt
|
|
7341
|
-
})]
|
|
7342
|
-
});
|
|
7343
|
-
};
|
|
7344
|
-
/* harmony default export */ const icon = (Icon);
|
|
7345
|
-
|
|
7346
|
-
/***/ }),
|
|
7347
|
-
|
|
7348
7211
|
/***/ 7054:
|
|
7349
7212
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
7350
7213
|
|
|
@@ -8537,32 +8400,34 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
8537
8400
|
/* harmony export */ Component: () => (/* reexport safe */ preact__WEBPACK_IMPORTED_MODULE_0__.Component),
|
|
8538
8401
|
/* harmony export */ Fragment: () => (/* reexport safe */ preact__WEBPACK_IMPORTED_MODULE_0__.Fragment),
|
|
8539
8402
|
/* harmony export */ PureComponent: () => (/* binding */ w),
|
|
8540
|
-
/* harmony export */ StrictMode: () => (/* binding */
|
|
8541
|
-
/* harmony export */ Suspense: () => (/* binding */
|
|
8403
|
+
/* harmony export */ StrictMode: () => (/* binding */ yn),
|
|
8404
|
+
/* harmony export */ Suspense: () => (/* binding */ U),
|
|
8542
8405
|
/* harmony export */ SuspenseList: () => (/* binding */ V),
|
|
8543
8406
|
/* harmony export */ __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: () => (/* binding */ ln),
|
|
8544
|
-
/* harmony export */ cloneElement: () => (/* binding */
|
|
8407
|
+
/* harmony export */ cloneElement: () => (/* binding */ hn),
|
|
8545
8408
|
/* harmony export */ createContext: () => (/* reexport safe */ preact__WEBPACK_IMPORTED_MODULE_0__.createContext),
|
|
8546
8409
|
/* harmony export */ createElement: () => (/* reexport safe */ preact__WEBPACK_IMPORTED_MODULE_0__.createElement),
|
|
8547
8410
|
/* harmony export */ createFactory: () => (/* binding */ fn),
|
|
8548
8411
|
/* harmony export */ createPortal: () => (/* binding */ z),
|
|
8549
8412
|
/* harmony export */ createRef: () => (/* reexport safe */ preact__WEBPACK_IMPORTED_MODULE_0__.createRef),
|
|
8550
|
-
/* harmony export */ "default": () => (/* binding */
|
|
8551
|
-
/* harmony export */ findDOMNode: () => (/* binding */
|
|
8552
|
-
/* harmony export */ flushSync: () => (/* binding */
|
|
8413
|
+
/* harmony export */ "default": () => (/* binding */ wn),
|
|
8414
|
+
/* harmony export */ findDOMNode: () => (/* binding */ dn),
|
|
8415
|
+
/* harmony export */ flushSync: () => (/* binding */ mn),
|
|
8553
8416
|
/* harmony export */ forwardRef: () => (/* binding */ k),
|
|
8554
8417
|
/* harmony export */ hydrate: () => (/* binding */ J),
|
|
8418
|
+
/* harmony export */ isElement: () => (/* binding */ Cn),
|
|
8419
|
+
/* harmony export */ isFragment: () => (/* binding */ sn),
|
|
8555
8420
|
/* harmony export */ isValidElement: () => (/* binding */ an),
|
|
8556
8421
|
/* harmony export */ lazy: () => (/* binding */ M),
|
|
8557
8422
|
/* harmony export */ memo: () => (/* binding */ x),
|
|
8558
8423
|
/* harmony export */ render: () => (/* binding */ G),
|
|
8559
|
-
/* harmony export */ startTransition: () => (/* binding */
|
|
8560
|
-
/* harmony export */ unmountComponentAtNode: () => (/* binding */
|
|
8561
|
-
/* harmony export */ unstable_batchedUpdates: () => (/* binding */
|
|
8562
|
-
/* harmony export */ useDeferredValue: () => (/* binding */
|
|
8563
|
-
/* harmony export */ useInsertionEffect: () => (/* binding */
|
|
8564
|
-
/* harmony export */ useSyncExternalStore: () => (/* binding */
|
|
8565
|
-
/* harmony export */ useTransition: () => (/* binding */
|
|
8424
|
+
/* harmony export */ startTransition: () => (/* binding */ _n),
|
|
8425
|
+
/* harmony export */ unmountComponentAtNode: () => (/* binding */ vn),
|
|
8426
|
+
/* harmony export */ unstable_batchedUpdates: () => (/* binding */ pn),
|
|
8427
|
+
/* harmony export */ useDeferredValue: () => (/* binding */ bn),
|
|
8428
|
+
/* harmony export */ useInsertionEffect: () => (/* binding */ gn),
|
|
8429
|
+
/* harmony export */ useSyncExternalStore: () => (/* binding */ En),
|
|
8430
|
+
/* harmony export */ useTransition: () => (/* binding */ Sn),
|
|
8566
8431
|
/* harmony export */ version: () => (/* binding */ cn)
|
|
8567
8432
|
/* harmony export */ });
|
|
8568
8433
|
/* harmony import */ var preact__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7210);
|
|
@@ -8570,9 +8435,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
8570
8435
|
/* harmony import */ var preact_hooks__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(9207);
|
|
8571
8436
|
/* harmony import */ var preact_hooks__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(preact_hooks__WEBPACK_IMPORTED_MODULE_1__);
|
|
8572
8437
|
/* harmony reexport (unknown) */ var __WEBPACK_REEXPORT_OBJECT__ = {};
|
|
8573
|
-
/* harmony reexport (unknown) */ for(const __WEBPACK_IMPORT_KEY__ in preact_hooks__WEBPACK_IMPORTED_MODULE_1__) if(["default","Component","Fragment","createContext","createElement","createRef","Children","PureComponent","StrictMode","Suspense","SuspenseList","__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED","cloneElement","createFactory","createPortal","findDOMNode","flushSync","forwardRef","hydrate","isValidElement","lazy","memo","render","startTransition","unmountComponentAtNode","unstable_batchedUpdates","useDeferredValue","useInsertionEffect","useSyncExternalStore","useTransition","version"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] = () => preact_hooks__WEBPACK_IMPORTED_MODULE_1__[__WEBPACK_IMPORT_KEY__]
|
|
8438
|
+
/* harmony reexport (unknown) */ for(const __WEBPACK_IMPORT_KEY__ in preact_hooks__WEBPACK_IMPORTED_MODULE_1__) if(["default","Component","Fragment","createContext","createElement","createRef","Children","PureComponent","StrictMode","Suspense","SuspenseList","__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED","cloneElement","createFactory","createPortal","findDOMNode","flushSync","forwardRef","hydrate","isElement","isFragment","isValidElement","lazy","memo","render","startTransition","unmountComponentAtNode","unstable_batchedUpdates","useDeferredValue","useInsertionEffect","useSyncExternalStore","useTransition","version"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] = () => preact_hooks__WEBPACK_IMPORTED_MODULE_1__[__WEBPACK_IMPORT_KEY__]
|
|
8574
8439
|
/* harmony reexport (unknown) */ __webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
|
|
8575
|
-
function g(n,t){for(var e in t)n[e]=t[e];return n}function C(n,t){for(var e in n)if("__source"!==e&&!(e in t))return!0;for(var r in t)if("__source"!==r&&n[r]!==t[r])return!0;return!1}function E(n,t){return n===t&&(0!==n||1/n==1/t)||n!=n&&t!=t}function w(n){this.props=n}function x(n,e){function r(n){var t=this.props.ref,r=t==n.ref;return!r&&t&&(t.call?t(null):t.current=null),e?!e(this.props,n)||!r:C(this.props,n)}function u(e){return this.shouldComponentUpdate=r,(0,preact__WEBPACK_IMPORTED_MODULE_0__.createElement)(n,e)}return u.displayName="Memo("+(n.displayName||n.name)+")",u.prototype.isReactComponent=!0,u.__f=!0,u}(w.prototype=new preact__WEBPACK_IMPORTED_MODULE_0__.Component).isPureReactComponent=!0,w.prototype.shouldComponentUpdate=function(n,t){return C(this.props,n)||C(this.state,t)};var R=preact__WEBPACK_IMPORTED_MODULE_0__.options.__b;preact__WEBPACK_IMPORTED_MODULE_0__.options.__b=function(n){n.type&&n.type.__f&&n.ref&&(n.props.ref=n.ref,n.ref=null),R&&R(n)};var N="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function k(n){function t(t){var e=g({},t);return delete e.ref,n(e,t.ref||null)}return t.$$typeof=N,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(n.displayName||n.name)+")",t}var A=function(n,t){return null==n?null:(0,preact__WEBPACK_IMPORTED_MODULE_0__.toChildArray)((0,preact__WEBPACK_IMPORTED_MODULE_0__.toChildArray)(n).map(t))},O={map:A,forEach:A,count:function(n){return n?(0,preact__WEBPACK_IMPORTED_MODULE_0__.toChildArray)(n).length:0},only:function(n){var t=(0,preact__WEBPACK_IMPORTED_MODULE_0__.toChildArray)(n);if(1!==t.length)throw"Children.only";return t[0]},toArray:preact__WEBPACK_IMPORTED_MODULE_0__.toChildArray},T=preact__WEBPACK_IMPORTED_MODULE_0__.options.__e;preact__WEBPACK_IMPORTED_MODULE_0__.options.__e=function(n,t,e,r){if(n.then)for(var u,o=t;o=o.__;)if((u=o.__c)&&u.__c)return null==t.__e&&(t.__e=e.__e,t.__k=e.__k),u.__c(n,t);T(n,t,e,r)};var I=preact__WEBPACK_IMPORTED_MODULE_0__.options.unmount;function L(n,t,e){return n&&(n.__c&&n.__c.__H&&(n.__c.__H.__.forEach(function(n){"function"==typeof n.__c&&n.__c()}),n.__c.__H=null),null!=(n=g({},n)).__c&&(n.__c.__P===e&&(n.__c.__P=t),n.__c=null),n.__k=n.__k&&n.__k.map(function(n){return L(n,t,e)})),n}function U(n,t,e){return n&&(n.__v=null,n.__k=n.__k&&n.__k.map(function(n){return U(n,t,e)}),n.__c&&n.__c.__P===t&&(n.__e&&e.insertBefore(n.__e,n.__d),n.__c.__e=!0,n.__c.__P=e)),n}function D(){this.__u=0,this.t=null,this.__b=null}function F(n){var t=n.__.__c;return t&&t.__a&&t.__a(n)}function M(n){var e,r,u;function o(o){if(e||(e=n()).then(function(n){r=n.default||n},function(n){u=n}),u)throw u;if(!r)throw e;return (0,preact__WEBPACK_IMPORTED_MODULE_0__.createElement)(r,o)}return o.displayName="Lazy",o.__f=!0,o}function V(){this.u=null,this.o=null}preact__WEBPACK_IMPORTED_MODULE_0__.options.unmount=function(n){var t=n.__c;t&&t.__R&&t.__R(),t&&!0===n.__h&&(n.type=null),I&&I(n)},(D.prototype=new preact__WEBPACK_IMPORTED_MODULE_0__.Component).__c=function(n,t){var e=t.__c,r=this;null==r.t&&(r.t=[]),r.t.push(e);var u=F(r.__v),o=!1,i=function(){o||(o=!0,e.__R=null,u?u(l):l())};e.__R=i;var l=function(){if(!--r.__u){if(r.state.__a){var n=r.state.__a;r.__v.__k[0]=U(n,n.__c.__P,n.__c.__O)}var t;for(r.setState({__a:r.__b=null});t=r.t.pop();)t.forceUpdate()}},c=!0===t.__h;r.__u++||c||r.setState({__a:r.__b=r.__v.__k[0]}),n.then(i,i)},D.prototype.componentWillUnmount=function(){this.t=[]},D.prototype.render=function(n,e){if(this.__b){if(this.__v.__k){var r=document.createElement("div"),o=this.__v.__k[0].__c;this.__v.__k[0]=L(this.__b,r,o.__O=o.__P)}this.__b=null}var i=e.__a&&(0,preact__WEBPACK_IMPORTED_MODULE_0__.createElement)(preact__WEBPACK_IMPORTED_MODULE_0__.Fragment,null,n.fallback);return i&&(i.__h=null),[(0,preact__WEBPACK_IMPORTED_MODULE_0__.createElement)(preact__WEBPACK_IMPORTED_MODULE_0__.Fragment,null,e.__a?null:n.children),i]};var W=function(n,t,e){if(++e[1]===e[0]&&n.o.delete(t),n.props.revealOrder&&("t"!==n.props.revealOrder[0]||!n.o.size))for(e=n.u;e;){for(;e.length>3;)e.pop()();if(e[1]<e[0])break;n.u=e=e[2]}};function P(n){return this.getChildContext=function(){return n.context},n.children}function j(n){var e=this,r=n.i;e.componentWillUnmount=function(){(0,preact__WEBPACK_IMPORTED_MODULE_0__.render)(null,e.l),e.l=null,e.i=null},e.i&&e.i!==r&&e.componentWillUnmount(),n.__v?(e.l||(e.i=r,e.l={nodeType:1,parentNode:r,childNodes:[],appendChild:function(n){this.childNodes.push(n),e.i.appendChild(n)},insertBefore:function(n,t){this.childNodes.push(n),e.i.appendChild(n)},removeChild:function(n){this.childNodes.splice(this.childNodes.indexOf(n)>>>1,1),e.i.removeChild(n)}}),(0,preact__WEBPACK_IMPORTED_MODULE_0__.render)((0,preact__WEBPACK_IMPORTED_MODULE_0__.createElement)(P,{context:e.context},n.__v),e.l)):e.l&&e.componentWillUnmount()}function z(n,e){var r=(0,preact__WEBPACK_IMPORTED_MODULE_0__.createElement)(j,{__v:n,i:e});return r.containerInfo=e,r}(V.prototype=new preact__WEBPACK_IMPORTED_MODULE_0__.Component).__a=function(n){var t=this,e=F(t.__v),r=t.o.get(n);return r[0]++,function(u){var o=function(){t.props.revealOrder?(r.push(u),W(t,n,r)):u()};e?e(o):o()}},V.prototype.render=function(n){this.u=null,this.o=new Map;var t=(0,preact__WEBPACK_IMPORTED_MODULE_0__.toChildArray)(n.children);n.revealOrder&&"b"===n.revealOrder[0]&&t.reverse();for(var e=t.length;e--;)this.o.set(t[e],this.u=[1,0,this.u]);return n.children},V.prototype.componentDidUpdate=V.prototype.componentDidMount=function(){var n=this;this.o.forEach(function(t,e){W(n,e,t)})};var B="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,H=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,Z=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,Y=/[A-Z0-9]/g,$="undefined"!=typeof document,q=function(n){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/:/fil|che|ra/).test(n)};function G(n,t,e){return null==t.__k&&(t.textContent=""),(0,preact__WEBPACK_IMPORTED_MODULE_0__.render)(n,t),"function"==typeof e&&e(),n?n.__c:null}function J(n,t,e){return (0,preact__WEBPACK_IMPORTED_MODULE_0__.hydrate)(n,t),"function"==typeof e&&e(),n?n.__c:null}preact__WEBPACK_IMPORTED_MODULE_0__.Component.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(t){Object.defineProperty(preact__WEBPACK_IMPORTED_MODULE_0__.Component.prototype,t,{configurable:!0,get:function(){return this["UNSAFE_"+t]},set:function(n){Object.defineProperty(this,t,{configurable:!0,writable:!0,value:n})}})});var K=preact__WEBPACK_IMPORTED_MODULE_0__.options.event;function Q(){}function X(){return this.cancelBubble}function nn(){return this.defaultPrevented}preact__WEBPACK_IMPORTED_MODULE_0__.options.event=function(n){return K&&(n=K(n)),n.persist=Q,n.isPropagationStopped=X,n.isDefaultPrevented=nn,n.nativeEvent=n};var tn,en={enumerable:!1,configurable:!0,get:function(){return this.class}},rn=preact__WEBPACK_IMPORTED_MODULE_0__.options.vnode;preact__WEBPACK_IMPORTED_MODULE_0__.options.vnode=function(n){"string"==typeof n.type&&function(n){var t=n.props,e=n.type,u={};for(var o in t){var i=t[o];if(!("value"===o&&"defaultValue"in t&&null==i||$&&"children"===o&&"noscript"===e||"class"===o||"className"===o)){var l=o.toLowerCase();"defaultValue"===o&&"value"in t&&null==t.value?o="value":"download"===o&&!0===i?i="":"ondoubleclick"===l?o="ondblclick":"onchange"!==l||"input"!==e&&"textarea"!==e||q(t.type)?"onfocus"===l?o="onfocusin":"onblur"===l?o="onfocusout":Z.test(o)?o=l:-1===e.indexOf("-")&&H.test(o)?o=o.replace(Y,"-$&").toLowerCase():null===i&&(i=void 0):l=o="oninput","oninput"===l&&u[o=l]&&(o="oninputCapture"),u[o]=i}}"select"==e&&u.multiple&&Array.isArray(u.value)&&(u.value=(0,preact__WEBPACK_IMPORTED_MODULE_0__.toChildArray)(t.children).forEach(function(n){n.props.selected=-1!=u.value.indexOf(n.props.value)})),"select"==e&&null!=u.defaultValue&&(u.value=(0,preact__WEBPACK_IMPORTED_MODULE_0__.toChildArray)(t.children).forEach(function(n){n.props.selected=u.multiple?-1!=u.defaultValue.indexOf(n.props.value):u.defaultValue==n.props.value})),t.class&&!t.className?(u.class=t.class,Object.defineProperty(u,"className",en)):(t.className&&!t.class||t.class&&t.className)&&(u.class=u.className=t.className),n.props=u}(n),n.$$typeof=B,rn&&rn(n)};var un=preact__WEBPACK_IMPORTED_MODULE_0__.options.__r;preact__WEBPACK_IMPORTED_MODULE_0__.options.__r=function(n){un&&un(n),tn=n.__c};var on=preact__WEBPACK_IMPORTED_MODULE_0__.options.diffed;preact__WEBPACK_IMPORTED_MODULE_0__.options.diffed=function(n){on&&on(n);var t=n.props,e=n.__e;null!=e&&"textarea"===n.type&&"value"in t&&t.value!==e.value&&(e.value=null==t.value?"":t.value),tn=null};var ln={ReactCurrentDispatcher:{current:{readContext:function(n){return tn.__n[n.__c].props.value}}}},cn="17.0.2";function fn(n){return preact__WEBPACK_IMPORTED_MODULE_0__.createElement.bind(null,n)}function an(n){return!!n&&n.$$typeof===B}function sn(n){return an(n)?preact__WEBPACK_IMPORTED_MODULE_0__.cloneElement.apply(null,arguments):n}function hn(n){return!!n.__k&&((0,preact__WEBPACK_IMPORTED_MODULE_0__.render)(null,n),!0)}function vn(n){return n&&(n.base||1===n.nodeType&&n)||null}var dn=function(n,t){return n(t)},pn=function(n,t){return n(t)},mn=preact__WEBPACK_IMPORTED_MODULE_0__.Fragment;function yn(n){n()}function _n(n){return n}function bn(){return[!1,yn]}var Sn=preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useLayoutEffect;function gn(n,t){var e=t(),r=(0,preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useState)({h:{__:e,v:t}}),u=r[0].h,o=r[1];return (0,preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useLayoutEffect)(function(){u.__=e,u.v=t,E(u.__,t())||o({h:u})},[n,e,t]),(0,preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useEffect)(function(){return E(u.__,u.v())||o({h:u}),n(function(){E(u.__,u.v())||o({h:u})})},[n]),e}var Cn={useState:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useState,useId:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useId,useReducer:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useReducer,useEffect:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useEffect,useLayoutEffect:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useLayoutEffect,useInsertionEffect:Sn,useTransition:bn,useDeferredValue:_n,useSyncExternalStore:gn,startTransition:yn,useRef:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useRef,useImperativeHandle:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useImperativeHandle,useMemo:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useMemo,useCallback:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useCallback,useContext:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useContext,useDebugValue:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useDebugValue,version:"17.0.2",Children:O,render:G,hydrate:J,unmountComponentAtNode:hn,createPortal:z,createElement:preact__WEBPACK_IMPORTED_MODULE_0__.createElement,createContext:preact__WEBPACK_IMPORTED_MODULE_0__.createContext,createFactory:fn,cloneElement:sn,createRef:preact__WEBPACK_IMPORTED_MODULE_0__.createRef,Fragment:preact__WEBPACK_IMPORTED_MODULE_0__.Fragment,isValidElement:an,findDOMNode:vn,Component:preact__WEBPACK_IMPORTED_MODULE_0__.Component,PureComponent:w,memo:x,forwardRef:k,flushSync:pn,unstable_batchedUpdates:dn,StrictMode:mn,Suspense:D,SuspenseList:V,lazy:M,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:ln};
|
|
8440
|
+
function g(n,t){for(var e in t)n[e]=t[e];return n}function C(n,t){for(var e in n)if("__source"!==e&&!(e in t))return!0;for(var r in t)if("__source"!==r&&n[r]!==t[r])return!0;return!1}function E(n,t){return n===t&&(0!==n||1/n==1/t)||n!=n&&t!=t}function w(n){this.props=n}function x(n,e){function r(n){var t=this.props.ref,r=t==n.ref;return!r&&t&&(t.call?t(null):t.current=null),e?!e(this.props,n)||!r:C(this.props,n)}function u(e){return this.shouldComponentUpdate=r,(0,preact__WEBPACK_IMPORTED_MODULE_0__.createElement)(n,e)}return u.displayName="Memo("+(n.displayName||n.name)+")",u.prototype.isReactComponent=!0,u.__f=!0,u}(w.prototype=new preact__WEBPACK_IMPORTED_MODULE_0__.Component).isPureReactComponent=!0,w.prototype.shouldComponentUpdate=function(n,t){return C(this.props,n)||C(this.state,t)};var R=preact__WEBPACK_IMPORTED_MODULE_0__.options.__b;preact__WEBPACK_IMPORTED_MODULE_0__.options.__b=function(n){n.type&&n.type.__f&&n.ref&&(n.props.ref=n.ref,n.ref=null),R&&R(n)};var N="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function k(n){function t(t){var e=g({},t);return delete e.ref,n(e,t.ref||null)}return t.$$typeof=N,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(n.displayName||n.name)+")",t}var A=function(n,t){return null==n?null:(0,preact__WEBPACK_IMPORTED_MODULE_0__.toChildArray)((0,preact__WEBPACK_IMPORTED_MODULE_0__.toChildArray)(n).map(t))},O={map:A,forEach:A,count:function(n){return n?(0,preact__WEBPACK_IMPORTED_MODULE_0__.toChildArray)(n).length:0},only:function(n){var t=(0,preact__WEBPACK_IMPORTED_MODULE_0__.toChildArray)(n);if(1!==t.length)throw"Children.only";return t[0]},toArray:preact__WEBPACK_IMPORTED_MODULE_0__.toChildArray},T=preact__WEBPACK_IMPORTED_MODULE_0__.options.__e;preact__WEBPACK_IMPORTED_MODULE_0__.options.__e=function(n,t,e,r){if(n.then)for(var u,o=t;o=o.__;)if((u=o.__c)&&u.__c)return null==t.__e&&(t.__e=e.__e,t.__k=e.__k),u.__c(n,t);T(n,t,e,r)};var F=preact__WEBPACK_IMPORTED_MODULE_0__.options.unmount;function I(n,t,e){return n&&(n.__c&&n.__c.__H&&(n.__c.__H.__.forEach(function(n){"function"==typeof n.__c&&n.__c()}),n.__c.__H=null),null!=(n=g({},n)).__c&&(n.__c.__P===e&&(n.__c.__P=t),n.__c=null),n.__k=n.__k&&n.__k.map(function(n){return I(n,t,e)})),n}function L(n,t,e){return n&&(n.__v=null,n.__k=n.__k&&n.__k.map(function(n){return L(n,t,e)}),n.__c&&n.__c.__P===t&&(n.__e&&e.insertBefore(n.__e,n.__d),n.__c.__e=!0,n.__c.__P=e)),n}function U(){this.__u=0,this.t=null,this.__b=null}function D(n){var t=n.__.__c;return t&&t.__a&&t.__a(n)}function M(n){var e,r,u;function o(o){if(e||(e=n()).then(function(n){r=n.default||n},function(n){u=n}),u)throw u;if(!r)throw e;return (0,preact__WEBPACK_IMPORTED_MODULE_0__.createElement)(r,o)}return o.displayName="Lazy",o.__f=!0,o}function V(){this.u=null,this.o=null}preact__WEBPACK_IMPORTED_MODULE_0__.options.unmount=function(n){var t=n.__c;t&&t.__R&&t.__R(),t&&!0===n.__h&&(n.type=null),F&&F(n)},(U.prototype=new preact__WEBPACK_IMPORTED_MODULE_0__.Component).__c=function(n,t){var e=t.__c,r=this;null==r.t&&(r.t=[]),r.t.push(e);var u=D(r.__v),o=!1,i=function(){o||(o=!0,e.__R=null,u?u(l):l())};e.__R=i;var l=function(){if(!--r.__u){if(r.state.__a){var n=r.state.__a;r.__v.__k[0]=L(n,n.__c.__P,n.__c.__O)}var t;for(r.setState({__a:r.__b=null});t=r.t.pop();)t.forceUpdate()}},c=!0===t.__h;r.__u++||c||r.setState({__a:r.__b=r.__v.__k[0]}),n.then(i,i)},U.prototype.componentWillUnmount=function(){this.t=[]},U.prototype.render=function(n,e){if(this.__b){if(this.__v.__k){var r=document.createElement("div"),o=this.__v.__k[0].__c;this.__v.__k[0]=I(this.__b,r,o.__O=o.__P)}this.__b=null}var i=e.__a&&(0,preact__WEBPACK_IMPORTED_MODULE_0__.createElement)(preact__WEBPACK_IMPORTED_MODULE_0__.Fragment,null,n.fallback);return i&&(i.__h=null),[(0,preact__WEBPACK_IMPORTED_MODULE_0__.createElement)(preact__WEBPACK_IMPORTED_MODULE_0__.Fragment,null,e.__a?null:n.children),i]};var W=function(n,t,e){if(++e[1]===e[0]&&n.o.delete(t),n.props.revealOrder&&("t"!==n.props.revealOrder[0]||!n.o.size))for(e=n.u;e;){for(;e.length>3;)e.pop()();if(e[1]<e[0])break;n.u=e=e[2]}};function P(n){return this.getChildContext=function(){return n.context},n.children}function j(n){var e=this,r=n.i;e.componentWillUnmount=function(){(0,preact__WEBPACK_IMPORTED_MODULE_0__.render)(null,e.l),e.l=null,e.i=null},e.i&&e.i!==r&&e.componentWillUnmount(),e.l||(e.i=r,e.l={nodeType:1,parentNode:r,childNodes:[],appendChild:function(n){this.childNodes.push(n),e.i.appendChild(n)},insertBefore:function(n,t){this.childNodes.push(n),e.i.appendChild(n)},removeChild:function(n){this.childNodes.splice(this.childNodes.indexOf(n)>>>1,1),e.i.removeChild(n)}}),(0,preact__WEBPACK_IMPORTED_MODULE_0__.render)((0,preact__WEBPACK_IMPORTED_MODULE_0__.createElement)(P,{context:e.context},n.__v),e.l)}function z(n,e){var r=(0,preact__WEBPACK_IMPORTED_MODULE_0__.createElement)(j,{__v:n,i:e});return r.containerInfo=e,r}(V.prototype=new preact__WEBPACK_IMPORTED_MODULE_0__.Component).__a=function(n){var t=this,e=D(t.__v),r=t.o.get(n);return r[0]++,function(u){var o=function(){t.props.revealOrder?(r.push(u),W(t,n,r)):u()};e?e(o):o()}},V.prototype.render=function(n){this.u=null,this.o=new Map;var t=(0,preact__WEBPACK_IMPORTED_MODULE_0__.toChildArray)(n.children);n.revealOrder&&"b"===n.revealOrder[0]&&t.reverse();for(var e=t.length;e--;)this.o.set(t[e],this.u=[1,0,this.u]);return n.children},V.prototype.componentDidUpdate=V.prototype.componentDidMount=function(){var n=this;this.o.forEach(function(t,e){W(n,e,t)})};var B="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,H=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,Z=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,Y=/[A-Z0-9]/g,$="undefined"!=typeof document,q=function(n){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/:/fil|che|ra/).test(n)};function G(n,t,e){return null==t.__k&&(t.textContent=""),(0,preact__WEBPACK_IMPORTED_MODULE_0__.render)(n,t),"function"==typeof e&&e(),n?n.__c:null}function J(n,t,e){return (0,preact__WEBPACK_IMPORTED_MODULE_0__.hydrate)(n,t),"function"==typeof e&&e(),n?n.__c:null}preact__WEBPACK_IMPORTED_MODULE_0__.Component.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(t){Object.defineProperty(preact__WEBPACK_IMPORTED_MODULE_0__.Component.prototype,t,{configurable:!0,get:function(){return this["UNSAFE_"+t]},set:function(n){Object.defineProperty(this,t,{configurable:!0,writable:!0,value:n})}})});var K=preact__WEBPACK_IMPORTED_MODULE_0__.options.event;function Q(){}function X(){return this.cancelBubble}function nn(){return this.defaultPrevented}preact__WEBPACK_IMPORTED_MODULE_0__.options.event=function(n){return K&&(n=K(n)),n.persist=Q,n.isPropagationStopped=X,n.isDefaultPrevented=nn,n.nativeEvent=n};var tn,en={enumerable:!1,configurable:!0,get:function(){return this.class}},rn=preact__WEBPACK_IMPORTED_MODULE_0__.options.vnode;preact__WEBPACK_IMPORTED_MODULE_0__.options.vnode=function(n){"string"==typeof n.type&&function(n){var t=n.props,e=n.type,u={};for(var o in t){var i=t[o];if(!("value"===o&&"defaultValue"in t&&null==i||$&&"children"===o&&"noscript"===e||"class"===o||"className"===o)){var l=o.toLowerCase();"defaultValue"===o&&"value"in t&&null==t.value?o="value":"download"===o&&!0===i?i="":"ondoubleclick"===l?o="ondblclick":"onchange"!==l||"input"!==e&&"textarea"!==e||q(t.type)?"onfocus"===l?o="onfocusin":"onblur"===l?o="onfocusout":Z.test(o)?o=l:-1===e.indexOf("-")&&H.test(o)?o=o.replace(Y,"-$&").toLowerCase():null===i&&(i=void 0):l=o="oninput","oninput"===l&&u[o=l]&&(o="oninputCapture"),u[o]=i}}"select"==e&&u.multiple&&Array.isArray(u.value)&&(u.value=(0,preact__WEBPACK_IMPORTED_MODULE_0__.toChildArray)(t.children).forEach(function(n){n.props.selected=-1!=u.value.indexOf(n.props.value)})),"select"==e&&null!=u.defaultValue&&(u.value=(0,preact__WEBPACK_IMPORTED_MODULE_0__.toChildArray)(t.children).forEach(function(n){n.props.selected=u.multiple?-1!=u.defaultValue.indexOf(n.props.value):u.defaultValue==n.props.value})),t.class&&!t.className?(u.class=t.class,Object.defineProperty(u,"className",en)):(t.className&&!t.class||t.class&&t.className)&&(u.class=u.className=t.className),n.props=u}(n),n.$$typeof=B,rn&&rn(n)};var un=preact__WEBPACK_IMPORTED_MODULE_0__.options.__r;preact__WEBPACK_IMPORTED_MODULE_0__.options.__r=function(n){un&&un(n),tn=n.__c};var on=preact__WEBPACK_IMPORTED_MODULE_0__.options.diffed;preact__WEBPACK_IMPORTED_MODULE_0__.options.diffed=function(n){on&&on(n);var t=n.props,e=n.__e;null!=e&&"textarea"===n.type&&"value"in t&&t.value!==e.value&&(e.value=null==t.value?"":t.value),tn=null};var ln={ReactCurrentDispatcher:{current:{readContext:function(n){return tn.__n[n.__c].props.value}}}},cn="17.0.2";function fn(n){return preact__WEBPACK_IMPORTED_MODULE_0__.createElement.bind(null,n)}function an(n){return!!n&&n.$$typeof===B}function sn(n){return an(n)&&n.type===preact__WEBPACK_IMPORTED_MODULE_0__.Fragment}function hn(n){return an(n)?preact__WEBPACK_IMPORTED_MODULE_0__.cloneElement.apply(null,arguments):n}function vn(n){return!!n.__k&&((0,preact__WEBPACK_IMPORTED_MODULE_0__.render)(null,n),!0)}function dn(n){return n&&(n.base||1===n.nodeType&&n)||null}var pn=function(n,t){return n(t)},mn=function(n,t){return n(t)},yn=preact__WEBPACK_IMPORTED_MODULE_0__.Fragment;function _n(n){n()}function bn(n){return n}function Sn(){return[!1,_n]}var gn=preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useLayoutEffect,Cn=an;function En(n,t){var e=t(),r=(0,preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useState)({h:{__:e,v:t}}),u=r[0].h,o=r[1];return (0,preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useLayoutEffect)(function(){u.__=e,u.v=t,E(u.__,t())||o({h:u})},[n,e,t]),(0,preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useEffect)(function(){return E(u.__,u.v())||o({h:u}),n(function(){E(u.__,u.v())||o({h:u})})},[n]),e}var wn={useState:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useState,useId:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useId,useReducer:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useReducer,useEffect:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useEffect,useLayoutEffect:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useLayoutEffect,useInsertionEffect:gn,useTransition:Sn,useDeferredValue:bn,useSyncExternalStore:En,startTransition:_n,useRef:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useRef,useImperativeHandle:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useImperativeHandle,useMemo:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useMemo,useCallback:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useCallback,useContext:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useContext,useDebugValue:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useDebugValue,version:"17.0.2",Children:O,render:G,hydrate:J,unmountComponentAtNode:vn,createPortal:z,createElement:preact__WEBPACK_IMPORTED_MODULE_0__.createElement,createContext:preact__WEBPACK_IMPORTED_MODULE_0__.createContext,createFactory:fn,cloneElement:hn,createRef:preact__WEBPACK_IMPORTED_MODULE_0__.createRef,Fragment:preact__WEBPACK_IMPORTED_MODULE_0__.Fragment,isValidElement:an,isElement:Cn,isFragment:sn,findDOMNode:dn,Component:preact__WEBPACK_IMPORTED_MODULE_0__.Component,PureComponent:w,memo:x,forwardRef:k,flushSync:mn,unstable_batchedUpdates:pn,StrictMode:yn,Suspense:U,SuspenseList:V,lazy:M,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:ln};
|
|
8576
8441
|
//# sourceMappingURL=compat.module.js.map
|
|
8577
8442
|
|
|
8578
8443
|
|
|
@@ -8640,42 +8505,41 @@ var compat_module = __webpack_require__(8661);
|
|
|
8640
8505
|
var utils_batch = __webpack_require__(9256);
|
|
8641
8506
|
;// CONCATENATED MODULE: ./node_modules/react-redux/es/components/Context.js
|
|
8642
8507
|
|
|
8643
|
-
const ContextKey = Symbol.for(`react-redux-context
|
|
8644
|
-
const gT = globalThis
|
|
8508
|
+
const ContextKey = Symbol.for(`react-redux-context`);
|
|
8509
|
+
const gT = typeof globalThis !== "undefined" ? globalThis :
|
|
8510
|
+
/* fall back to a per-module scope (pre-8.1 behaviour) if `globalThis` is not available */
|
|
8511
|
+
{};
|
|
8645
8512
|
|
|
8646
8513
|
function getContext() {
|
|
8647
|
-
|
|
8514
|
+
var _gT$ContextKey;
|
|
8515
|
+
|
|
8516
|
+
if (!compat_module.createContext) return {};
|
|
8517
|
+
const contextMap = (_gT$ContextKey = gT[ContextKey]) != null ? _gT$ContextKey : gT[ContextKey] = new Map();
|
|
8518
|
+
let realContext = contextMap.get(compat_module.createContext);
|
|
8648
8519
|
|
|
8649
8520
|
if (!realContext) {
|
|
8650
|
-
realContext =
|
|
8521
|
+
realContext = compat_module.createContext(null);
|
|
8651
8522
|
|
|
8652
8523
|
if (false) {}
|
|
8653
8524
|
|
|
8654
|
-
|
|
8525
|
+
contextMap.set(compat_module.createContext, realContext);
|
|
8655
8526
|
}
|
|
8656
8527
|
|
|
8657
8528
|
return realContext;
|
|
8658
8529
|
}
|
|
8659
8530
|
|
|
8660
|
-
const Context_ReactReduxContext = /*#__PURE__*/
|
|
8661
|
-
get(_, handler) {
|
|
8662
|
-
const target = getContext(); // @ts-ignore
|
|
8663
|
-
|
|
8664
|
-
return (_target, ...args) => Reflect[handler](target, ...args);
|
|
8665
|
-
}
|
|
8666
|
-
|
|
8667
|
-
}));
|
|
8531
|
+
const Context_ReactReduxContext = /*#__PURE__*/getContext();
|
|
8668
8532
|
/* harmony default export */ const Context = ((/* unused pure expression or super */ null && (Context_ReactReduxContext)));
|
|
8669
8533
|
;// CONCATENATED MODULE: ./node_modules/react-redux/es/hooks/useReduxContext.js
|
|
8670
8534
|
|
|
8671
8535
|
|
|
8672
8536
|
|
|
8673
|
-
/**
|
|
8674
|
-
* Hook factory, which creates a `useReduxContext` hook bound to a given context. This is a low-level
|
|
8675
|
-
* hook that you should usually not need to call directly.
|
|
8676
|
-
*
|
|
8677
|
-
* @param {React.Context} [context=ReactReduxContext] Context passed to your `<Provider>`.
|
|
8678
|
-
* @returns {Function} A `useReduxContext` hook bound to the specified context.
|
|
8537
|
+
/**
|
|
8538
|
+
* Hook factory, which creates a `useReduxContext` hook bound to a given context. This is a low-level
|
|
8539
|
+
* hook that you should usually not need to call directly.
|
|
8540
|
+
*
|
|
8541
|
+
* @param {React.Context} [context=ReactReduxContext] Context passed to your `<Provider>`.
|
|
8542
|
+
* @returns {Function} A `useReduxContext` hook bound to the specified context.
|
|
8679
8543
|
*/
|
|
8680
8544
|
function createReduxContextHook(context = Context_ReactReduxContext) {
|
|
8681
8545
|
return function useReduxContext() {
|
|
@@ -8686,21 +8550,21 @@ function createReduxContextHook(context = Context_ReactReduxContext) {
|
|
|
8686
8550
|
return contextValue;
|
|
8687
8551
|
};
|
|
8688
8552
|
}
|
|
8689
|
-
/**
|
|
8690
|
-
* A hook to access the value of the `ReactReduxContext`. This is a low-level
|
|
8691
|
-
* hook that you should usually not need to call directly.
|
|
8692
|
-
*
|
|
8693
|
-
* @returns {any} the value of the `ReactReduxContext`
|
|
8694
|
-
*
|
|
8695
|
-
* @example
|
|
8696
|
-
*
|
|
8697
|
-
* import React from 'react'
|
|
8698
|
-
* import { useReduxContext } from 'react-redux'
|
|
8699
|
-
*
|
|
8700
|
-
* export const CounterComponent = () => {
|
|
8701
|
-
* const { store } = useReduxContext()
|
|
8702
|
-
* return <div>{store.getState()}</div>
|
|
8703
|
-
* }
|
|
8553
|
+
/**
|
|
8554
|
+
* A hook to access the value of the `ReactReduxContext`. This is a low-level
|
|
8555
|
+
* hook that you should usually not need to call directly.
|
|
8556
|
+
*
|
|
8557
|
+
* @returns {any} the value of the `ReactReduxContext`
|
|
8558
|
+
*
|
|
8559
|
+
* @example
|
|
8560
|
+
*
|
|
8561
|
+
* import React from 'react'
|
|
8562
|
+
* import { useReduxContext } from 'react-redux'
|
|
8563
|
+
*
|
|
8564
|
+
* export const CounterComponent = () => {
|
|
8565
|
+
* const { store } = useReduxContext()
|
|
8566
|
+
* return <div>{store.getState()}</div>
|
|
8567
|
+
* }
|
|
8704
8568
|
*/
|
|
8705
8569
|
|
|
8706
8570
|
const useReduxContext_useReduxContext = /*#__PURE__*/createReduxContextHook();
|
|
@@ -8719,11 +8583,11 @@ const initializeUseSelector = fn => {
|
|
|
8719
8583
|
};
|
|
8720
8584
|
|
|
8721
8585
|
const refEquality = (a, b) => a === b;
|
|
8722
|
-
/**
|
|
8723
|
-
* Hook factory, which creates a `useSelector` hook bound to a given context.
|
|
8724
|
-
*
|
|
8725
|
-
* @param {React.Context} [context=ReactReduxContext] Context passed to your `<Provider>`.
|
|
8726
|
-
* @returns {Function} A `useSelector` hook bound to the specified context.
|
|
8586
|
+
/**
|
|
8587
|
+
* Hook factory, which creates a `useSelector` hook bound to a given context.
|
|
8588
|
+
*
|
|
8589
|
+
* @param {React.Context} [context=ReactReduxContext] Context passed to your `<Provider>`.
|
|
8590
|
+
* @returns {Function} A `useSelector` hook bound to the specified context.
|
|
8727
8591
|
*/
|
|
8728
8592
|
|
|
8729
8593
|
|
|
@@ -8763,28 +8627,28 @@ function createSelectorHook(context = Context_ReactReduxContext) {
|
|
|
8763
8627
|
return selectedState;
|
|
8764
8628
|
};
|
|
8765
8629
|
}
|
|
8766
|
-
/**
|
|
8767
|
-
* A hook to access the redux store's state. This hook takes a selector function
|
|
8768
|
-
* as an argument. The selector is called with the store state.
|
|
8769
|
-
*
|
|
8770
|
-
* This hook takes an optional equality comparison function as the second parameter
|
|
8771
|
-
* that allows you to customize the way the selected state is compared to determine
|
|
8772
|
-
* whether the component needs to be re-rendered.
|
|
8773
|
-
*
|
|
8774
|
-
* @param {Function} selector the selector function
|
|
8775
|
-
* @param {Function=} equalityFn the function that will be used to determine equality
|
|
8776
|
-
*
|
|
8777
|
-
* @returns {any} the selected state
|
|
8778
|
-
*
|
|
8779
|
-
* @example
|
|
8780
|
-
*
|
|
8781
|
-
* import React from 'react'
|
|
8782
|
-
* import { useSelector } from 'react-redux'
|
|
8783
|
-
*
|
|
8784
|
-
* export const CounterComponent = () => {
|
|
8785
|
-
* const counter = useSelector(state => state.counter)
|
|
8786
|
-
* return <div>{counter}</div>
|
|
8787
|
-
* }
|
|
8630
|
+
/**
|
|
8631
|
+
* A hook to access the redux store's state. This hook takes a selector function
|
|
8632
|
+
* as an argument. The selector is called with the store state.
|
|
8633
|
+
*
|
|
8634
|
+
* This hook takes an optional equality comparison function as the second parameter
|
|
8635
|
+
* that allows you to customize the way the selected state is compared to determine
|
|
8636
|
+
* whether the component needs to be re-rendered.
|
|
8637
|
+
*
|
|
8638
|
+
* @param {Function} selector the selector function
|
|
8639
|
+
* @param {Function=} equalityFn the function that will be used to determine equality
|
|
8640
|
+
*
|
|
8641
|
+
* @returns {any} the selected state
|
|
8642
|
+
*
|
|
8643
|
+
* @example
|
|
8644
|
+
*
|
|
8645
|
+
* import React from 'react'
|
|
8646
|
+
* import { useSelector } from 'react-redux'
|
|
8647
|
+
*
|
|
8648
|
+
* export const CounterComponent = () => {
|
|
8649
|
+
* const counter = useSelector(state => state.counter)
|
|
8650
|
+
* return <div>{counter}</div>
|
|
8651
|
+
* }
|
|
8788
8652
|
*/
|
|
8789
8653
|
|
|
8790
8654
|
const useSelector = /*#__PURE__*/createSelectorHook();
|
|
@@ -9074,31 +8938,31 @@ const initStateUpdates = () => EMPTY_ARRAY;
|
|
|
9074
8938
|
function strictEqual(a, b) {
|
|
9075
8939
|
return a === b;
|
|
9076
8940
|
}
|
|
9077
|
-
/**
|
|
9078
|
-
* Infers the type of props that a connector will inject into a component.
|
|
8941
|
+
/**
|
|
8942
|
+
* Infers the type of props that a connector will inject into a component.
|
|
9079
8943
|
*/
|
|
9080
8944
|
|
|
9081
8945
|
|
|
9082
8946
|
let hasWarnedAboutDeprecatedPureOption = false;
|
|
9083
|
-
/**
|
|
9084
|
-
* Connects a React component to a Redux store.
|
|
9085
|
-
*
|
|
9086
|
-
* - Without arguments, just wraps the component, without changing the behavior / props
|
|
9087
|
-
*
|
|
9088
|
-
* - If 2 params are passed (3rd param, mergeProps, is skipped), default behavior
|
|
9089
|
-
* is to override ownProps (as stated in the docs), so what remains is everything that's
|
|
9090
|
-
* not a state or dispatch prop
|
|
9091
|
-
*
|
|
9092
|
-
* - When 3rd param is passed, we don't know if ownProps propagate and whether they
|
|
9093
|
-
* should be valid component props, because it depends on mergeProps implementation.
|
|
9094
|
-
* As such, it is the user's responsibility to extend ownProps interface from state or
|
|
9095
|
-
* dispatch props or both when applicable
|
|
9096
|
-
*
|
|
9097
|
-
* @param mapStateToProps A function that extracts values from state
|
|
9098
|
-
* @param mapDispatchToProps Setup for dispatching actions
|
|
9099
|
-
* @param mergeProps Optional callback to merge state and dispatch props together
|
|
9100
|
-
* @param options Options for configuring the connection
|
|
9101
|
-
*
|
|
8947
|
+
/**
|
|
8948
|
+
* Connects a React component to a Redux store.
|
|
8949
|
+
*
|
|
8950
|
+
* - Without arguments, just wraps the component, without changing the behavior / props
|
|
8951
|
+
*
|
|
8952
|
+
* - If 2 params are passed (3rd param, mergeProps, is skipped), default behavior
|
|
8953
|
+
* is to override ownProps (as stated in the docs), so what remains is everything that's
|
|
8954
|
+
* not a state or dispatch prop
|
|
8955
|
+
*
|
|
8956
|
+
* - When 3rd param is passed, we don't know if ownProps propagate and whether they
|
|
8957
|
+
* should be valid component props, because it depends on mergeProps implementation.
|
|
8958
|
+
* As such, it is the user's responsibility to extend ownProps interface from state or
|
|
8959
|
+
* dispatch props or both when applicable
|
|
8960
|
+
*
|
|
8961
|
+
* @param mapStateToProps A function that extracts values from state
|
|
8962
|
+
* @param mapDispatchToProps Setup for dispatching actions
|
|
8963
|
+
* @param mergeProps Optional callback to merge state and dispatch props together
|
|
8964
|
+
* @param options Options for configuring the connection
|
|
8965
|
+
*
|
|
9102
8966
|
*/
|
|
9103
8967
|
|
|
9104
8968
|
function connect(mapStateToProps, mapDispatchToProps, mergeProps, {
|
|
@@ -9144,7 +9008,7 @@ function connect(mapStateToProps, mapDispatchToProps, mergeProps, {
|
|
|
9144
9008
|
};
|
|
9145
9009
|
|
|
9146
9010
|
function ConnectFunction(props) {
|
|
9147
|
-
const [propsContext, reactReduxForwardedRef, wrapperProps] = useMemo(() => {
|
|
9011
|
+
const [propsContext, reactReduxForwardedRef, wrapperProps] = React.useMemo(() => {
|
|
9148
9012
|
// Distinguish between actual "data" props that were passed to the wrapper component,
|
|
9149
9013
|
// and values needed to control behavior (forwarded refs, alternate context instances).
|
|
9150
9014
|
// To maintain the wrapperProps object reference, memoize this destructuring.
|
|
@@ -9155,14 +9019,14 @@ function connect(mapStateToProps, mapDispatchToProps, mergeProps, {
|
|
|
9155
9019
|
|
|
9156
9020
|
return [props.context, reactReduxForwardedRef, wrapperProps];
|
|
9157
9021
|
}, [props]);
|
|
9158
|
-
const ContextToUse = useMemo(() => {
|
|
9022
|
+
const ContextToUse = React.useMemo(() => {
|
|
9159
9023
|
// Users may optionally pass in a custom context instance to use instead of our ReactReduxContext.
|
|
9160
9024
|
// Memoize the check that determines which context instance we should use.
|
|
9161
9025
|
return propsContext && propsContext.Consumer && // @ts-ignore
|
|
9162
9026
|
isContextConsumer( /*#__PURE__*/React.createElement(propsContext.Consumer, null)) ? propsContext : Context;
|
|
9163
9027
|
}, [propsContext, Context]); // Retrieve the store and ancestor subscription via context, if available
|
|
9164
9028
|
|
|
9165
|
-
const contextValue = useContext(ContextToUse); // The store _must_ exist as either a prop or in context.
|
|
9029
|
+
const contextValue = React.useContext(ContextToUse); // The store _must_ exist as either a prop or in context.
|
|
9166
9030
|
// We'll check to see if it _looks_ like a Redux store first.
|
|
9167
9031
|
// This allows us to pass through a `store` prop that is just a plain value.
|
|
9168
9032
|
|
|
@@ -9174,12 +9038,12 @@ function connect(mapStateToProps, mapDispatchToProps, mergeProps, {
|
|
|
9174
9038
|
|
|
9175
9039
|
const store = didStoreComeFromProps ? props.store : contextValue.store;
|
|
9176
9040
|
const getServerState = didStoreComeFromContext ? contextValue.getServerState : store.getState;
|
|
9177
|
-
const childPropsSelector = useMemo(() => {
|
|
9041
|
+
const childPropsSelector = React.useMemo(() => {
|
|
9178
9042
|
// The child props selector needs the store reference as an input.
|
|
9179
9043
|
// Re-create this selector whenever the store changes.
|
|
9180
9044
|
return defaultSelectorFactory(store.dispatch, selectorFactoryOptions);
|
|
9181
9045
|
}, [store]);
|
|
9182
|
-
const [subscription, notifyNestedSubs] = useMemo(() => {
|
|
9046
|
+
const [subscription, notifyNestedSubs] = React.useMemo(() => {
|
|
9183
9047
|
if (!shouldHandleStateChanges) return NO_SUBSCRIPTION_ARRAY; // This Subscription's source should match where store came from: props vs. context. A component
|
|
9184
9048
|
// connected to the store via props shouldn't use subscription from context, or vice versa.
|
|
9185
9049
|
|
|
@@ -9193,7 +9057,7 @@ function connect(mapStateToProps, mapDispatchToProps, mergeProps, {
|
|
|
9193
9057
|
}, [store, didStoreComeFromProps, contextValue]); // Determine what {store, subscription} value should be put into nested context, if necessary,
|
|
9194
9058
|
// and memoize that value to avoid unnecessary context updates.
|
|
9195
9059
|
|
|
9196
|
-
const overriddenContextValue = useMemo(() => {
|
|
9060
|
+
const overriddenContextValue = React.useMemo(() => {
|
|
9197
9061
|
if (didStoreComeFromProps) {
|
|
9198
9062
|
// This component is directly subscribed to a store from props.
|
|
9199
9063
|
// We don't want descendants reading from this store - pass down whatever
|
|
@@ -9208,20 +9072,20 @@ function connect(mapStateToProps, mapDispatchToProps, mergeProps, {
|
|
|
9208
9072
|
});
|
|
9209
9073
|
}, [didStoreComeFromProps, contextValue, subscription]); // Set up refs to coordinate values between the subscription effect and the render logic
|
|
9210
9074
|
|
|
9211
|
-
const lastChildProps = useRef();
|
|
9212
|
-
const lastWrapperProps = useRef(wrapperProps);
|
|
9213
|
-
const childPropsFromStoreUpdate = useRef();
|
|
9214
|
-
const renderIsScheduled = useRef(false);
|
|
9215
|
-
const isProcessingDispatch = useRef(false);
|
|
9216
|
-
const isMounted = useRef(false);
|
|
9217
|
-
const latestSubscriptionCallbackError = useRef();
|
|
9075
|
+
const lastChildProps = React.useRef();
|
|
9076
|
+
const lastWrapperProps = React.useRef(wrapperProps);
|
|
9077
|
+
const childPropsFromStoreUpdate = React.useRef();
|
|
9078
|
+
const renderIsScheduled = React.useRef(false);
|
|
9079
|
+
const isProcessingDispatch = React.useRef(false);
|
|
9080
|
+
const isMounted = React.useRef(false);
|
|
9081
|
+
const latestSubscriptionCallbackError = React.useRef();
|
|
9218
9082
|
useIsomorphicLayoutEffect(() => {
|
|
9219
9083
|
isMounted.current = true;
|
|
9220
9084
|
return () => {
|
|
9221
9085
|
isMounted.current = false;
|
|
9222
9086
|
};
|
|
9223
9087
|
}, []);
|
|
9224
|
-
const actualChildPropsSelector = useMemo(() => {
|
|
9088
|
+
const actualChildPropsSelector = React.useMemo(() => {
|
|
9225
9089
|
const selector = () => {
|
|
9226
9090
|
// Tricky logic here:
|
|
9227
9091
|
// - This render may have been triggered by a Redux store update that produced new child props
|
|
@@ -9245,7 +9109,7 @@ function connect(mapStateToProps, mapDispatchToProps, mergeProps, {
|
|
|
9245
9109
|
// about useLayoutEffect in SSR, so we try to detect environment and fall back to
|
|
9246
9110
|
// just useEffect instead to avoid the warning, since neither will run anyway.
|
|
9247
9111
|
|
|
9248
|
-
const subscribeForReact = useMemo(() => {
|
|
9112
|
+
const subscribeForReact = React.useMemo(() => {
|
|
9249
9113
|
const subscribe = reactListener => {
|
|
9250
9114
|
if (!subscription) {
|
|
9251
9115
|
return () => {};
|
|
@@ -9281,7 +9145,7 @@ function connect(mapStateToProps, mapDispatchToProps, mergeProps, {
|
|
|
9281
9145
|
}); // Now that all that's done, we can finally try to actually render the child component.
|
|
9282
9146
|
// We memoize the elements for the rendered child component as an optimization.
|
|
9283
9147
|
|
|
9284
|
-
const renderedWrappedComponent = useMemo(() => {
|
|
9148
|
+
const renderedWrappedComponent = React.useMemo(() => {
|
|
9285
9149
|
return (
|
|
9286
9150
|
/*#__PURE__*/
|
|
9287
9151
|
// @ts-ignore
|
|
@@ -9292,7 +9156,7 @@ function connect(mapStateToProps, mapDispatchToProps, mergeProps, {
|
|
|
9292
9156
|
}, [reactReduxForwardedRef, WrappedComponent, actualChildProps]); // If React sees the exact same element reference as last time, it bails out of re-rendering
|
|
9293
9157
|
// that child, same as if it was wrapped in React.memo() or returned false from shouldComponentUpdate.
|
|
9294
9158
|
|
|
9295
|
-
const renderedChild = useMemo(() => {
|
|
9159
|
+
const renderedChild = React.useMemo(() => {
|
|
9296
9160
|
if (shouldHandleStateChanges) {
|
|
9297
9161
|
// If this component is subscribed to store updates, we need to pass its own
|
|
9298
9162
|
// subscription instance down to our descendants. That means rendering the same
|
|
@@ -9349,7 +9213,7 @@ function Provider({
|
|
|
9349
9213
|
stabilityCheck = 'once',
|
|
9350
9214
|
noopCheck = 'once'
|
|
9351
9215
|
}) {
|
|
9352
|
-
const contextValue =
|
|
9216
|
+
const contextValue = compat_module.useMemo(() => {
|
|
9353
9217
|
const subscription = Subscription_createSubscription(store);
|
|
9354
9218
|
return {
|
|
9355
9219
|
store,
|
|
@@ -9359,7 +9223,7 @@ function Provider({
|
|
|
9359
9223
|
noopCheck
|
|
9360
9224
|
};
|
|
9361
9225
|
}, [store, serverState, stabilityCheck, noopCheck]);
|
|
9362
|
-
const previousState =
|
|
9226
|
+
const previousState = compat_module.useMemo(() => store.getState(), [store]);
|
|
9363
9227
|
useIsomorphicLayoutEffect_useIsomorphicLayoutEffect(() => {
|
|
9364
9228
|
const {
|
|
9365
9229
|
subscription
|
|
@@ -9378,7 +9242,7 @@ function Provider({
|
|
|
9378
9242
|
}, [contextValue, previousState]);
|
|
9379
9243
|
const Context = context || Context_ReactReduxContext; // @ts-ignore 'AnyAction' is assignable to the constraint of type 'A', but 'A' could be instantiated with a different subtype
|
|
9380
9244
|
|
|
9381
|
-
return /*#__PURE__*/compat_module
|
|
9245
|
+
return /*#__PURE__*/compat_module.createElement(Context.Provider, {
|
|
9382
9246
|
value: contextValue
|
|
9383
9247
|
}, children);
|
|
9384
9248
|
}
|
|
@@ -9387,11 +9251,11 @@ function Provider({
|
|
|
9387
9251
|
;// CONCATENATED MODULE: ./node_modules/react-redux/es/hooks/useStore.js
|
|
9388
9252
|
|
|
9389
9253
|
|
|
9390
|
-
/**
|
|
9391
|
-
* Hook factory, which creates a `useStore` hook bound to a given context.
|
|
9392
|
-
*
|
|
9393
|
-
* @param {React.Context} [context=ReactReduxContext] Context passed to your `<Provider>`.
|
|
9394
|
-
* @returns {Function} A `useStore` hook bound to the specified context.
|
|
9254
|
+
/**
|
|
9255
|
+
* Hook factory, which creates a `useStore` hook bound to a given context.
|
|
9256
|
+
*
|
|
9257
|
+
* @param {React.Context} [context=ReactReduxContext] Context passed to your `<Provider>`.
|
|
9258
|
+
* @returns {Function} A `useStore` hook bound to the specified context.
|
|
9395
9259
|
*/
|
|
9396
9260
|
|
|
9397
9261
|
function createStoreHook(context = Context_ReactReduxContext) {
|
|
@@ -9406,31 +9270,31 @@ function createStoreHook(context = Context_ReactReduxContext) {
|
|
|
9406
9270
|
return store;
|
|
9407
9271
|
};
|
|
9408
9272
|
}
|
|
9409
|
-
/**
|
|
9410
|
-
* A hook to access the redux store.
|
|
9411
|
-
*
|
|
9412
|
-
* @returns {any} the redux store
|
|
9413
|
-
*
|
|
9414
|
-
* @example
|
|
9415
|
-
*
|
|
9416
|
-
* import React from 'react'
|
|
9417
|
-
* import { useStore } from 'react-redux'
|
|
9418
|
-
*
|
|
9419
|
-
* export const ExampleComponent = () => {
|
|
9420
|
-
* const store = useStore()
|
|
9421
|
-
* return <div>{store.getState()}</div>
|
|
9422
|
-
* }
|
|
9273
|
+
/**
|
|
9274
|
+
* A hook to access the redux store.
|
|
9275
|
+
*
|
|
9276
|
+
* @returns {any} the redux store
|
|
9277
|
+
*
|
|
9278
|
+
* @example
|
|
9279
|
+
*
|
|
9280
|
+
* import React from 'react'
|
|
9281
|
+
* import { useStore } from 'react-redux'
|
|
9282
|
+
*
|
|
9283
|
+
* export const ExampleComponent = () => {
|
|
9284
|
+
* const store = useStore()
|
|
9285
|
+
* return <div>{store.getState()}</div>
|
|
9286
|
+
* }
|
|
9423
9287
|
*/
|
|
9424
9288
|
|
|
9425
9289
|
const useStore_useStore = /*#__PURE__*/createStoreHook();
|
|
9426
9290
|
;// CONCATENATED MODULE: ./node_modules/react-redux/es/hooks/useDispatch.js
|
|
9427
9291
|
|
|
9428
9292
|
|
|
9429
|
-
/**
|
|
9430
|
-
* Hook factory, which creates a `useDispatch` hook bound to a given context.
|
|
9431
|
-
*
|
|
9432
|
-
* @param {React.Context} [context=ReactReduxContext] Context passed to your `<Provider>`.
|
|
9433
|
-
* @returns {Function} A `useDispatch` hook bound to the specified context.
|
|
9293
|
+
/**
|
|
9294
|
+
* Hook factory, which creates a `useDispatch` hook bound to a given context.
|
|
9295
|
+
*
|
|
9296
|
+
* @param {React.Context} [context=ReactReduxContext] Context passed to your `<Provider>`.
|
|
9297
|
+
* @returns {Function} A `useDispatch` hook bound to the specified context.
|
|
9434
9298
|
*/
|
|
9435
9299
|
|
|
9436
9300
|
function createDispatchHook(context = Context_ReactReduxContext) {
|
|
@@ -9442,26 +9306,26 @@ function createDispatchHook(context = Context_ReactReduxContext) {
|
|
|
9442
9306
|
return store.dispatch;
|
|
9443
9307
|
};
|
|
9444
9308
|
}
|
|
9445
|
-
/**
|
|
9446
|
-
* A hook to access the redux `dispatch` function.
|
|
9447
|
-
*
|
|
9448
|
-
* @returns {any|function} redux store's `dispatch` function
|
|
9449
|
-
*
|
|
9450
|
-
* @example
|
|
9451
|
-
*
|
|
9452
|
-
* import React, { useCallback } from 'react'
|
|
9453
|
-
* import { useDispatch } from 'react-redux'
|
|
9454
|
-
*
|
|
9455
|
-
* export const CounterComponent = ({ value }) => {
|
|
9456
|
-
* const dispatch = useDispatch()
|
|
9457
|
-
* const increaseCounter = useCallback(() => dispatch({ type: 'increase-counter' }), [])
|
|
9458
|
-
* return (
|
|
9459
|
-
* <div>
|
|
9460
|
-
* <span>{value}</span>
|
|
9461
|
-
* <button onClick={increaseCounter}>Increase counter</button>
|
|
9462
|
-
* </div>
|
|
9463
|
-
* )
|
|
9464
|
-
* }
|
|
9309
|
+
/**
|
|
9310
|
+
* A hook to access the redux `dispatch` function.
|
|
9311
|
+
*
|
|
9312
|
+
* @returns {any|function} redux store's `dispatch` function
|
|
9313
|
+
*
|
|
9314
|
+
* @example
|
|
9315
|
+
*
|
|
9316
|
+
* import React, { useCallback } from 'react'
|
|
9317
|
+
* import { useDispatch } from 'react-redux'
|
|
9318
|
+
*
|
|
9319
|
+
* export const CounterComponent = ({ value }) => {
|
|
9320
|
+
* const dispatch = useDispatch()
|
|
9321
|
+
* const increaseCounter = useCallback(() => dispatch({ type: 'increase-counter' }), [])
|
|
9322
|
+
* return (
|
|
9323
|
+
* <div>
|
|
9324
|
+
* <span>{value}</span>
|
|
9325
|
+
* <button onClick={increaseCounter}>Increase counter</button>
|
|
9326
|
+
* </div>
|
|
9327
|
+
* )
|
|
9328
|
+
* }
|
|
9465
9329
|
*/
|
|
9466
9330
|
|
|
9467
9331
|
const useDispatch = /*#__PURE__*/createDispatchHook();
|
|
@@ -9886,6 +9750,159 @@ var createStructuredSelector = function createStructuredSelector(selectors, sele
|
|
|
9886
9750
|
return resultSelector;
|
|
9887
9751
|
};
|
|
9888
9752
|
|
|
9753
|
+
/***/ }),
|
|
9754
|
+
|
|
9755
|
+
/***/ 2398:
|
|
9756
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
9757
|
+
|
|
9758
|
+
"use strict";
|
|
9759
|
+
|
|
9760
|
+
// EXPORTS
|
|
9761
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
9762
|
+
Z: () => (/* binding */ icon)
|
|
9763
|
+
});
|
|
9764
|
+
|
|
9765
|
+
// UNUSED EXPORTS: ICONS
|
|
9766
|
+
|
|
9767
|
+
// EXTERNAL MODULE: external "preact/jsx-runtime"
|
|
9768
|
+
var jsx_runtime_ = __webpack_require__(7844);
|
|
9769
|
+
;// CONCATENATED MODULE: ./node_modules/raw-loader/dist/cjs.js!./src/icons/avatar_bot-32.svg
|
|
9770
|
+
/* harmony default export */ const avatar_bot_32 = ("<svg version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" x=\"0px\" y=\"0px\"\n\t viewBox=\"0 0 32 32\" enable-background=\"new 0 0 32 32\" xml:space=\"preserve\">\n<path fill=\"#4A48C1\" d=\"M10,14.8c-1.1,0-2-0.9-2-2s0.9-2,2-2s2,0.9,2,2S11.1,14.8,10,14.8z M15.9,14.8c1.1,0,2-0.9,2-2s-0.9-2-2-2\n\ts-2,0.9-2,2S14.8,14.8,15.9,14.8z M21.8,10.8c-1.1,0-2,0.9-2,2s0.9,2,2,2s2-0.9,2-2S22.9,10.8,21.8,10.8z M21.3,18.1H10.7\n\tC11.7,23.9,20.2,23.9,21.3,18.1z\"/>\n</svg>\n");
|
|
9771
|
+
;// CONCATENATED MODULE: ./node_modules/raw-loader/dist/cjs.js!./src/icons/icon_arrow_left-16.svg
|
|
9772
|
+
/* harmony default export */ const icon_arrow_left_16 = ("<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<!-- Generator: Adobe Illustrator 25.2.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->\n<svg version=\"1.1\" id=\"Layer_1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" x=\"0px\" y=\"0px\"\n\t viewBox=\"0 0 16 16\" enable-background=\"new 0 0 16 16\" xml:space=\"preserve\">\n<path fill=\"#5053A4\" d=\"M13.6,8c0,0.6-0.4,1-1,1h-7l2.2,2.5c0.4,0.4,0.3,1-0.1,1.4c-0.2,0.2-0.4,0.2-0.7,0.2c-0.3,0-0.6-0.1-0.8-0.3\n\tL2.6,8.6c0,0-0.1-0.1-0.1-0.2c0,0-0.1-0.1-0.1-0.1c0-0.1-0.1-0.2-0.1-0.3c0,0,0,0,0,0c0,0,0,0,0,0c0-0.1,0-0.3,0.1-0.4\n\tc0,0,0.1-0.1,0.1-0.1c0-0.1,0.1-0.1,0.1-0.2l3.7-4.1c0.4-0.4,1-0.4,1.4-0.1c0.4,0.4,0.4,1,0.1,1.4L5.6,7h7C13.2,7,13.6,7.4,13.6,8z\"\n\t/>\n</svg>\n");
|
|
9773
|
+
;// CONCATENATED MODULE: ./node_modules/raw-loader/dist/cjs.js!./src/icons/icon_arrow_right-16.svg
|
|
9774
|
+
/* harmony default export */ const icon_arrow_right_16 = ("<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<!-- Generator: Adobe Illustrator 25.2.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->\n<svg version=\"1.1\" id=\"Layer_1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" x=\"0px\" y=\"0px\"\n\t viewBox=\"0 0 16 16\" enable-background=\"new 0 0 16 16\" xml:space=\"preserve\">\n<path fill=\"#5053A4\" d=\"M2.4,8.1c0-0.6,0.4-1,1-1h7L8.1,4.5c-0.4-0.4-0.3-1,0.1-1.4c0.2-0.2,0.4-0.2,0.7-0.2c0.3,0,0.6,0.1,0.8,0.3\n\tl3.7,4.2c0,0,0.1,0.1,0.1,0.2c0,0,0.1,0.1,0.1,0.1c0,0.1,0.1,0.2,0.1,0.3c0,0,0,0,0,0c0,0,0,0,0,0c0,0.1,0,0.3-0.1,0.4\n\tc0,0-0.1,0.1-0.1,0.1c0,0.1-0.1,0.1-0.1,0.2l-3.7,4.1c-0.4,0.4-1,0.4-1.4,0.1c-0.4-0.4-0.4-1-0.1-1.4l2.2-2.4h-7\n\tC2.8,9.1,2.4,8.6,2.4,8.1z\"/>\n</svg>\n");
|
|
9775
|
+
;// CONCATENATED MODULE: ./node_modules/raw-loader/dist/cjs.js!./src/icons/icon_balloon-32.svg
|
|
9776
|
+
/* harmony default export */ const icon_balloon_32 = ("<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"32px\" height=\"32px\" x=\"0px\" y=\"0px\" viewBox=\"0 0 32 32\"><defs/><path fill=\"#4A48C1\" d=\"M24,10.824v10.375c0,1.104-0.896,2-2,2h-4.694l-4.931,3.625v-3.625H10c-1.104,0-2-0.896-2-2V10.824\tc0-1.104,0.896-2,2-2h12C23.104,8.824,24,9.719,24,10.824z\"/></svg>");
|
|
9777
|
+
;// CONCATENATED MODULE: ./node_modules/raw-loader/dist/cjs.js!./src/icons/icon_check-16.svg
|
|
9778
|
+
/* harmony default export */ const icon_check_16 = ("<svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"16px\"\n height=\"16px\"\n x=\"0px\"\n y=\"0px\"\n viewBox=\"0 0 16 16\"\n>\n <path\n fill=\"currentColor\"\n d=\"M11.6,4.3l-5,5L4.9,7.5C4.4,7,3.7,7,3.2,7.5l0,0C2.8,8,2.8,8.7,3.2,9.2l1.7,1.7l0,0l0.8,0.8\n\tc0.5,0.5,1.2,0.5,1.7,0l0.8-0.8l5-5c0.5-0.5,0.5-1.2,0-1.7l0,0C12.8,3.8,12.1,3.8,11.6,4.3z\"\n />\n</svg>\n");
|
|
9779
|
+
;// CONCATENATED MODULE: ./node_modules/raw-loader/dist/cjs.js!./src/icons/icon_check-32.svg
|
|
9780
|
+
/* harmony default export */ const icon_check_32 = ("<svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"32px\"\n height=\"32px\"\n x=\"0px\"\n y=\"0px\"\n viewBox=\"0 0 32 32\"\n>\n <path\n fill=\"currentColor\"\n d=\"M22.9,9.3l-9.3,9.3l-3.2-3.2c-0.9-0.9-2.3-0.9-3.2,0l0,0c-0.9,0.9-0.9,2.3,0,3.2l3.2,3.2l0,0l1.6,1.6\n\tc0.9,0.9,2.3,0.9,3.2,0l1.6-1.6l9.3-9.3c0.9-0.9,0.9-2.3,0-3.2l0,0C25.2,8.4,23.7,8.4,22.9,9.3z\"\n />\n</svg>\n");
|
|
9781
|
+
;// CONCATENATED MODULE: ./node_modules/raw-loader/dist/cjs.js!./src/icons/icon_chevron_down-8.svg
|
|
9782
|
+
/* harmony default export */ const icon_chevron_down_8 = ("<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"8px\" height=\"8px\" x=\"0px\" y=\"0px\" viewBox=\"0 0 8 8\"><defs/><path fill=\"#4A48C1\" d=\"M-0.001,2.876c0-0.247,0.091-0.494,0.273-0.688c0.38-0.401,1.013-0.418,1.414-0.039l1.938,1.834\tc0.199,0.188,0.547,0.188,0.746,0L6.31,2.15c0.401-0.379,1.034-0.362,1.414,0.04c0.379,0.401,0.361,1.034-0.04,1.414L5.745,5.437\tC4.782,6.35,3.213,6.35,2.249,5.436L0.311,3.603C0.103,3.406-0.001,3.142-0.001,2.876z\"/></svg>");
|
|
9783
|
+
;// CONCATENATED MODULE: ./node_modules/raw-loader/dist/cjs.js!./src/icons/icon_chevron_down-32.svg
|
|
9784
|
+
/* harmony default export */ const icon_chevron_down_32 = ("<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"32px\" height=\"32px\" x=\"0px\" y=\"0px\" viewBox=\"0 0 32 32\"><defs/><path fill=\"#4A48C1\" d=\"M16,20.425c-0.782,0-1.563-0.291-2.159-0.874l-6.541-6.408c-0.395-0.387-0.401-1.02-0.015-1.414\tc0.387-0.394,1.021-0.4,1.414-0.015l6.541,6.408c0.42,0.409,1.102,0.409,1.52-0.001l6.541-6.407c0.396-0.386,1.028-0.38,1.414,0.015\tc0.387,0.395,0.381,1.027-0.014,1.414l-6.541,6.407C17.563,20.133,16.782,20.425,16,20.425z\"/></svg>");
|
|
9785
|
+
;// CONCATENATED MODULE: ./node_modules/raw-loader/dist/cjs.js!./src/icons/icon_chevron_right-8.svg
|
|
9786
|
+
/* harmony default export */ const icon_chevron_right_8 = ("<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"8px\" height=\"8px\" x=\"0px\" y=\"0px\" viewBox=\"0 0 8 8\"><defs/><path fill=\"#4A48C1\" d=\"M2.875,7.998c-0.247,0-0.494-0.091-0.688-0.273c-0.401-0.38-0.418-1.013-0.039-1.414l1.834-1.938\tc0.188-0.199,0.188-0.547,0-0.746l-1.835-1.94c-0.379-0.401-0.362-1.034,0.04-1.414s1.034-0.361,1.414,0.04l1.834,1.939\tc0.913,0.963,0.913,2.532-0.001,3.496L3.601,7.686C3.405,7.894,3.14,7.998,2.875,7.998z\"/></svg>");
|
|
9787
|
+
;// CONCATENATED MODULE: ./node_modules/raw-loader/dist/cjs.js!./src/icons/icon_chevron_right-16.svg
|
|
9788
|
+
/* harmony default export */ const icon_chevron_right_16 = ("<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16px\" height=\"16px\" x=\"0px\" y=\"0px\" viewBox=\"0 0 16 16\"><defs/><path fill=\"#4A48C1\" d=\"M6.5,13c-0.247,0-0.494-0.091-0.687-0.273c-0.401-0.38-0.419-1.013-0.04-1.414L8.22,8.727\tc0.373-0.394,0.373-1.06,0-1.454L5.773,4.687c-0.379-0.401-0.362-1.034,0.04-1.414c0.4-0.378,1.034-0.362,1.414,0.04l2.446,2.586\tc1.096,1.159,1.096,3.043,0,4.203l-2.446,2.586C7.03,12.896,6.765,13,6.5,13z\"/></svg>");
|
|
9789
|
+
;// CONCATENATED MODULE: ./node_modules/raw-loader/dist/cjs.js!./src/icons/icon_close-8.svg
|
|
9790
|
+
/* harmony default export */ const icon_close_8 = ("<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"8px\" height=\"8px\" x=\"0px\" y=\"0px\" viewBox=\"0 0 8 8\"><defs/><path fill=\"#4A48C1\" d=\"M7.705,7.729C7.511,7.923,7.255,8.02,7,8.02c-0.257,0-0.514-0.099-0.709-0.295L4,5.423L1.709,7.725\tC1.513,7.921,1.257,8.02,1,8.02c-0.255,0-0.51-0.097-0.706-0.291c-0.391-0.39-0.393-1.022-0.003-1.414l2.298-2.309l-2.27-2.28\tC-0.07,1.334-0.068,0.701,0.323,0.311c0.392-0.389,1.024-0.387,1.415,0.003L4,2.587l2.263-2.274C6.653-0.077,7.287-0.079,7.677,0.31\tC8.068,0.7,8.07,1.333,7.681,1.725l-2.27,2.281l2.298,2.309C8.099,6.705,8.097,7.339,7.705,7.729z\"/></svg>");
|
|
9791
|
+
;// CONCATENATED MODULE: ./node_modules/raw-loader/dist/cjs.js!./src/icons/icon_close-16.svg
|
|
9792
|
+
/* harmony default export */ const icon_close_16 = ("<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16px\" height=\"16px\" x=\"0px\" y=\"0px\" viewBox=\"0 0 16 16\"><defs/><path fill=\"#4A48C1\" d=\"M12.709,11.295L9.411,7.982l3.262-3.276c0.39-0.392,0.388-1.024-0.004-1.414\tc-0.39-0.39-1.023-0.388-1.414,0.003L8,6.564L4.746,3.295C4.357,2.904,3.724,2.903,3.332,3.292C2.94,3.682,2.939,4.315,3.329,4.707\tl3.261,3.275l-3.298,3.313c-0.39,0.391-0.388,1.024,0.003,1.414C3.49,12.903,3.745,13,4,13c0.257,0,0.513-0.099,0.708-0.295L8,9.399\tl3.291,3.306C11.486,12.901,11.743,13,12,13c0.255,0,0.511-0.097,0.705-0.291C13.097,12.319,13.099,11.686,12.709,11.295z\"/></svg>");
|
|
9793
|
+
;// CONCATENATED MODULE: ./node_modules/raw-loader/dist/cjs.js!./src/icons/icon_download-16.svg
|
|
9794
|
+
/* harmony default export */ const icon_download_16 = ("<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16px\" height=\"16px\" x=\"0px\" y=\"0px\" viewBox=\"0 0 16 16\"><defs/><path fill=\"#FFF\" d=\"M3.175,7.726c-0.413-0.367-0.45-0.999-0.083-1.412c0.367-0.413,0.999-0.45,1.412-0.083L7,8.45V1.5\tc0-0.552,0.448-1,1-1c0.553,0,1,0.448,1,1v6.95l2.496-2.219c0.412-0.367,1.044-0.331,1.411,0.083\tc0.367,0.413,0.33,1.045-0.083,1.412l-4.16,3.698c-0.047,0.041-0.103,0.062-0.154,0.094c-0.047,0.028-0.089,0.064-0.141,0.085\tC8.25,11.649,8.125,11.677,8,11.677c-0.126,0-0.25-0.027-0.369-0.074c-0.05-0.021-0.09-0.055-0.136-0.083\tc-0.053-0.031-0.111-0.053-0.159-0.096L3.175,7.726z M12.018,13.5H3.983c-0.552,0-1,0.447-1,1s0.448,1,1,1h8.035\tc0.553,0,1-0.447,1-1S12.57,13.5,12.018,13.5z\"/></svg>");
|
|
9795
|
+
;// CONCATENATED MODULE: ./node_modules/raw-loader/dist/cjs.js!./src/icons/icon_enlarge-32.svg
|
|
9796
|
+
/* harmony default export */ const icon_enlarge_32 = ("<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"32px\" height=\"32px\" x=\"0px\" y=\"0px\" viewBox=\"0 0 32 32\"><defs/><path fill=\"#4A48C1\" d=\"M24,9v6.5c0,0.552-0.447,1-1,1s-1-0.448-1-1v-4.086L11.414,22H15.5c0.552,0,1,0.447,1,1s-0.448,1-1,1H9\tc-0.13,0-0.26-0.026-0.382-0.077c-0.245-0.102-0.439-0.296-0.541-0.541C8.026,23.26,8,23.13,8,23v-6.5c0-0.552,0.448-1,1-1\ts1,0.448,1,1v4.085L20.586,10H16.5c-0.552,0-1-0.448-1-1s0.448-1,1-1H23c0.13,0,0.26,0.026,0.382,0.077\tc0.245,0.102,0.439,0.296,0.541,0.541C23.974,8.74,24,8.87,24,9z\"/></svg>");
|
|
9797
|
+
;// CONCATENATED MODULE: ./node_modules/raw-loader/dist/cjs.js!./src/icons/icon_error-16.svg
|
|
9798
|
+
/* harmony default export */ const icon_error_16 = ("<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16px\" height=\"16px\" x=\"0px\" y=\"0px\" viewBox=\"0 0 16 16\"><defs/><path fill=\"#ad001f\" d=\"M15.744,13.104L9.097,1.47c-0.604-1.055-1.59-1.055-2.193,0L0.256,13.104\tc-0.604,1.056-0.102,1.919,1.113,1.919H14.63C15.847,15.022,16.348,14.159,15.744,13.104z M7,5.045c0-0.552,0.448-1,1-1s1,0.448,1,1\tv3.656c0,0.552-0.448,1-1,1s-1-0.448-1-1V5.045z M8,13.212c-0.748,0-1.354-0.607-1.354-1.354c0-0.748,0.606-1.354,1.354-1.354\ts1.354,0.606,1.354,1.354C9.354,12.604,8.748,13.212,8,13.212z\"/></svg>");
|
|
9799
|
+
;// CONCATENATED MODULE: ./node_modules/raw-loader/dist/cjs.js!./src/icons/icon_file-32.svg
|
|
9800
|
+
/* harmony default export */ const icon_file_32 = ("<svg xmlns=\"http://www.w3.org/2000/svg\" xml:space=\"preserve\" x=\"0px\" y=\"0px\" version=\"1.1\" viewBox=\"0 0 32 32\"><path fill=\"#4A48C1\" d=\"M16,28.5c-3.6,0-6.5-3-6.5-6.6V9.6c0-0.6,0.4-1,1-1s1,0.4,1,1v12.3c0,2.5,2,4.6,4.5,4.6\tc2.5,0,4.5-2.1,4.5-4.6V8.3c0-1.5-1.2-2.8-2.7-2.8c-1.5,0-2.7,1.3-2.7,2.8v13.5c0,0.6,0.5,1.1,1,1.1c0.6,0,1-0.5,1-1.1v-10\tc0-0.6,0.4-1,1-1s1,0.4,1,1v10c0,1.7-1.4,3.1-3,3.1s-3-1.4-3-3.1V8.3c0-2.6,2.1-4.8,4.7-4.8c2.6,0,4.7,2.2,4.7,4.8v13.6\tC22.5,25.5,19.6,28.5,16,28.5z\"/></svg>");
|
|
9801
|
+
;// CONCATENATED MODULE: ./node_modules/raw-loader/dist/cjs.js!./src/icons/icon_newtopic-32.svg
|
|
9802
|
+
/* harmony default export */ const icon_newtopic_32 = ("<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"32px\" height=\"32px\" x=\"0px\" y=\"0px\" viewBox=\"0 0 32 32\"><path fill=\"#4A48C1\" d=\"M16,8.593l2.407,4.573l5.093,0.876l-3.604,3.702l0.74,5.115L16,20.574l-4.634,2.285l0.739-5.115L8.5,14.042\tl5.094-0.876L16,8.593z\"/></svg>");
|
|
9803
|
+
;// CONCATENATED MODULE: ./node_modules/raw-loader/dist/cjs.js!./src/icons/icon_newtranslation-16.svg
|
|
9804
|
+
/* harmony default export */ const icon_newtranslation_16 = ("<svg xmlns=\"http://www.w3.org/2000/svg\" x=\"0px\" y=\"0px\" viewBox=\"0 0 16 16\"><path fill=\"#4A48C1\" d=\"M8,0C3.6,0,0,3.6,0,8s3.6,8,8,8s8-3.6,8-8S12.4,0,8,0z M14.1,7.1h-1.4c-0.1-1.5-0.4-2.9-1-4\tC13,4,13.9,5.4,14.1,7.1z M7.1,2.1v5H5C5.2,4.7,6.1,2.9,7.1,2.1z M7.1,8.9v5c-1-0.7-1.9-2.5-2.1-5H7.1z M8.9,13.9v-5H11\tC10.8,11.3,9.9,13.2,8.9,13.9z M8.9,7.1v-5c1,0.7,1.9,2.5,2.1,5H8.9z M4.2,3.1c-0.5,1.1-0.9,2.5-1,4H1.9C2.1,5.4,3,4,4.2,3.1z M1.9,8.9h1.4c0.1,1.5,0.4,2.9,1,4C3,12,2.1,10.5,1.9,8.9z M11.8,12.9c0.5-1.1,0.9-2.5,1-4h1.4C13.9,10.5,13,12,11.8,12.9z\"/></svg>");
|
|
9805
|
+
;// CONCATENATED MODULE: ./node_modules/raw-loader/dist/cjs.js!./src/icons/icon_newtranslation-32.svg
|
|
9806
|
+
/* harmony default export */ const icon_newtranslation_32 = ("<svg xmlns=\"http://www.w3.org/2000/svg\" x=\"0px\" y=\"0px\" viewBox=\"0 0 32 32\"><path fill=\"#4A48C1\" d=\"M16,7c-4.9,0-9,4.1-9,9s4.1,9,9,9s9-4.1,9-9S20.9,7,16,7z M22.9,15h-1.6c-0.1-1.7-0.5-3.3-1.1-4.5\tC21.6,11.5,22.6,13.1,22.9,15z M15,9.4V15h-2.3C12.9,12.3,13.9,10.2,15,9.4z M15,17v5.6c-1.1-0.8-2.1-2.9-2.3-5.6H15z M17,22.6V17\th2.3C19.1,19.8,18.1,21.8,17,22.6z M17,15V9.4c1.1,0.8,2.1,2.9,2.3,5.6H17z M11.8,10.4c-0.6,1.3-1,2.8-1.1,4.5H9.1\tC9.4,13.1,10.4,11.5,11.8,10.4z M9.1,17h1.6c0.1,1.7,0.5,3.3,1.1,4.5C10.4,20.5,9.4,18.9,9.1,17z M20.2,21.5c0.6-1.3,1-2.8,1.1-4.5\th1.6C22.6,18.8,21.6,20.5,20.2,21.5z\"/></svg>");
|
|
9807
|
+
;// CONCATENATED MODULE: ./node_modules/raw-loader/dist/cjs.js!./src/icons/icon_options-32.svg
|
|
9808
|
+
/* harmony default export */ const icon_options_32 = ("<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"32px\" height=\"32px\" x=\"0px\" y=\"0px\" viewBox=\"0 0 32 32\"><defs/><path fill=\"#4A48C1\" d=\"M26.1,21.383c0.334-0.625,0.602-1.279,0.812-1.949L32,18.609V13.51l-5.058-0.846\tc-0.208-0.67-0.468-1.325-0.795-1.956l3.009-4.145l-3.604-3.634L21.38,5.903c-0.626-0.333-1.276-0.602-1.948-0.81L18.609,0\tl-5.098,0.001l-0.847,5.061c-0.669,0.203-1.326,0.465-1.957,0.794L6.562,2.847L2.929,6.449l2.973,4.171\tC5.569,11.247,5.3,11.9,5.091,12.569L0,13.373v5.099l5.06,0.866c0.204,0.669,0.467,1.324,0.796,1.955l-3.009,4.146l3.601,3.635\tl4.171-2.975c0.627,0.335,1.282,0.603,1.951,0.811L13.372,32h5.118l0.849-5.057c0.668-0.207,1.323-0.469,1.953-0.795l4.144,3.01\tl3.639-3.604L26.1,21.383z M19.01,19.035c-1.675,1.663-4.381,1.652-6.041-0.025c-1.662-1.675-1.649-4.381,0.024-6.042\tc1.676-1.661,4.382-1.648,6.043,0.025C20.699,14.67,20.686,17.377,19.01,19.035z\"/></svg>");
|
|
9809
|
+
;// CONCATENATED MODULE: ./node_modules/raw-loader/dist/cjs.js!./src/icons/icon_send-32.svg
|
|
9810
|
+
/* harmony default export */ const icon_send_32 = ("<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"32px\" height=\"32px\" x=\"0px\" y=\"0px\" viewBox=\"0 0 32 32\"><defs/><path fill=\"#4A48C1\" d=\"M6.714,14.985l17.837-7.906c0.681-0.302,1.414,0.301,1.25,1.027L22.273,23.59\tc-0.13,0.566-0.751,0.865-1.275,0.613l-3.623-1.752l-2.334,2.287c-0.572,0.562-1.538,0.156-1.538-0.645V21.01\tc0-0.217,0.078-0.43,0.222-0.594l7.676-8.841l-10.414,7.472l-4.351-2.445C5.987,16.236,6.033,15.287,6.714,14.985L6.714,14.985z\"/></svg>");
|
|
9811
|
+
;// CONCATENATED MODULE: ./node_modules/raw-loader/dist/cjs.js!./src/icons/icon_upload-32.svg
|
|
9812
|
+
/* harmony default export */ const icon_upload_32 = ("<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"32px\" height=\"32px\" x=\"0px\" y=\"0px\" viewBox=\"0 0 32 32\"><defs/><path fill=\"#4A48C1\" d=\"M9.488,13.481c-0.391-0.391-0.391-1.023,0-1.414l5.805-5.805c0.026-0.026,0.06-0.036,0.088-0.058\tc0.073-0.06,0.146-0.119,0.235-0.156c0.246-0.103,0.522-0.103,0.769,0c0.093,0.039,0.171,0.101,0.249,0.165\tc0.023,0.02,0.053,0.027,0.074,0.049l5.805,5.805c0.391,0.391,0.391,1.023,0,1.414c-0.195,0.195-0.451,0.293-0.707,0.293\ts-0.512-0.098-0.707-0.293L17,9.383V20.33c0,0.553-0.447,1-1,1c-0.552,0-1-0.447-1-1V9.383l-4.098,4.098\tC10.512,13.872,9.879,13.872,9.488,13.481z M22.819,24.031H9.181c-0.552,0-1,0.447-1,1s0.448,1,1,1h13.639c0.553,0,1-0.447,1-1\tS23.372,24.031,22.819,24.031z\"/></svg>");
|
|
9813
|
+
// EXTERNAL MODULE: ./src/javascripts/lib/css.js
|
|
9814
|
+
var css = __webpack_require__(2);
|
|
9815
|
+
;// CONCATENATED MODULE: ./src/javascripts/ui/components/layout/icon.tsx
|
|
9816
|
+
|
|
9817
|
+
/* eslint-disable import/no-webpack-loader-syntax */
|
|
9818
|
+
// The eslint rules are disabled for this as otherwsise we'd need to include the loader rule in all implementations
|
|
9819
|
+
// this can again be changed when we can import pre-built packages in implementations
|
|
9820
|
+
|
|
9821
|
+
|
|
9822
|
+
|
|
9823
|
+
|
|
9824
|
+
|
|
9825
|
+
|
|
9826
|
+
|
|
9827
|
+
|
|
9828
|
+
|
|
9829
|
+
|
|
9830
|
+
|
|
9831
|
+
|
|
9832
|
+
|
|
9833
|
+
|
|
9834
|
+
|
|
9835
|
+
|
|
9836
|
+
|
|
9837
|
+
|
|
9838
|
+
|
|
9839
|
+
|
|
9840
|
+
|
|
9841
|
+
|
|
9842
|
+
|
|
9843
|
+
/* eslint-enable import/no-webpack-loader-syntax */
|
|
9844
|
+
const ICONS = {
|
|
9845
|
+
send: {
|
|
9846
|
+
32: icon_send_32,
|
|
9847
|
+
},
|
|
9848
|
+
balloon: {
|
|
9849
|
+
32: icon_balloon_32,
|
|
9850
|
+
},
|
|
9851
|
+
newTopic: {
|
|
9852
|
+
32: icon_newtopic_32,
|
|
9853
|
+
},
|
|
9854
|
+
newTranslation: {
|
|
9855
|
+
16: icon_newtranslation_16,
|
|
9856
|
+
32: icon_newtranslation_32,
|
|
9857
|
+
},
|
|
9858
|
+
avatar: {
|
|
9859
|
+
32: avatar_bot_32,
|
|
9860
|
+
},
|
|
9861
|
+
chevronDown: {
|
|
9862
|
+
8: icon_chevron_down_8,
|
|
9863
|
+
32: icon_chevron_down_32,
|
|
9864
|
+
},
|
|
9865
|
+
chevronRight: {
|
|
9866
|
+
8: icon_chevron_right_8,
|
|
9867
|
+
16: icon_chevron_right_16,
|
|
9868
|
+
},
|
|
9869
|
+
close: {
|
|
9870
|
+
8: icon_close_8,
|
|
9871
|
+
16: icon_close_16,
|
|
9872
|
+
},
|
|
9873
|
+
enlarge: {
|
|
9874
|
+
32: icon_enlarge_32,
|
|
9875
|
+
},
|
|
9876
|
+
options: {
|
|
9877
|
+
32: icon_options_32,
|
|
9878
|
+
},
|
|
9879
|
+
file: {
|
|
9880
|
+
32: icon_file_32,
|
|
9881
|
+
},
|
|
9882
|
+
upload: {
|
|
9883
|
+
32: icon_upload_32,
|
|
9884
|
+
},
|
|
9885
|
+
download: {
|
|
9886
|
+
16: icon_download_16,
|
|
9887
|
+
},
|
|
9888
|
+
error: {
|
|
9889
|
+
16: icon_error_16,
|
|
9890
|
+
},
|
|
9891
|
+
arrowLeft: {
|
|
9892
|
+
16: icon_arrow_left_16,
|
|
9893
|
+
},
|
|
9894
|
+
arrowRight: {
|
|
9895
|
+
16: icon_arrow_right_16,
|
|
9896
|
+
},
|
|
9897
|
+
check: {
|
|
9898
|
+
16: icon_check_16,
|
|
9899
|
+
32: icon_check_32,
|
|
9900
|
+
},
|
|
9901
|
+
};
|
|
9902
|
+
const Icon = ({ name, size = '32', className, alt }) => ((0,jsx_runtime_.jsxs)(jsx_runtime_.Fragment, { children: [(0,jsx_runtime_.jsx)("div", { "aria-hidden": "true", className: className || (0,css/* className */.o)('icon'), dangerouslySetInnerHTML: { __html: ICONS[name][size] } }), alt && (0,jsx_runtime_.jsx)("span", { className: (0,css/* className */.o)('visually-hidden'), children: alt })] }));
|
|
9903
|
+
/* harmony default export */ const icon = (Icon);
|
|
9904
|
+
|
|
9905
|
+
|
|
9889
9906
|
/***/ }),
|
|
9890
9907
|
|
|
9891
9908
|
/***/ 3250:
|
|
@@ -10700,6 +10717,15 @@ var Ajax = class {
|
|
|
10700
10717
|
};
|
|
10701
10718
|
|
|
10702
10719
|
// js/phoenix/longpoll.js
|
|
10720
|
+
var arrayBufferToBase64 = (buffer) => {
|
|
10721
|
+
let binary = "";
|
|
10722
|
+
let bytes = new Uint8Array(buffer);
|
|
10723
|
+
let len = bytes.byteLength;
|
|
10724
|
+
for (let i = 0; i < len; i++) {
|
|
10725
|
+
binary += String.fromCharCode(bytes[i]);
|
|
10726
|
+
}
|
|
10727
|
+
return btoa(binary);
|
|
10728
|
+
};
|
|
10703
10729
|
var LongPoll = class {
|
|
10704
10730
|
constructor(endPoint) {
|
|
10705
10731
|
this.endPoint = null;
|
|
@@ -10777,6 +10803,9 @@ var LongPoll = class {
|
|
|
10777
10803
|
});
|
|
10778
10804
|
}
|
|
10779
10805
|
send(body) {
|
|
10806
|
+
if (typeof body !== "string") {
|
|
10807
|
+
body = arrayBufferToBase64(body);
|
|
10808
|
+
}
|
|
10780
10809
|
if (this.currentBatch) {
|
|
10781
10810
|
this.currentBatch.push(body);
|
|
10782
10811
|
} else if (this.awaitingBatchAck) {
|
|
@@ -11515,12 +11544,14 @@ class ConversationConnector {
|
|
|
11515
11544
|
url: splittedUrl,
|
|
11516
11545
|
params
|
|
11517
11546
|
} = split_url_params(this.url);
|
|
11518
|
-
this.socket
|
|
11519
|
-
|
|
11520
|
-
|
|
11521
|
-
|
|
11522
|
-
|
|
11523
|
-
|
|
11547
|
+
if (!this.socket) {
|
|
11548
|
+
this.socket = new Socket(splittedUrl, {
|
|
11549
|
+
params: Object.assign(Object.assign({}, params), {
|
|
11550
|
+
v: javascripts_config/* apiVersion */.tW
|
|
11551
|
+
})
|
|
11552
|
+
});
|
|
11553
|
+
this.socket.connect();
|
|
11554
|
+
}
|
|
11524
11555
|
this.channel = this.socket.channel(this.channelTopic, {
|
|
11525
11556
|
authorization: `Bearer ${this.accessToken}`,
|
|
11526
11557
|
channelName: this.channelName
|
|
@@ -11585,8 +11616,6 @@ class ConversationConnector {
|
|
|
11585
11616
|
ready: false,
|
|
11586
11617
|
currentState: 'join_channel_erred'
|
|
11587
11618
|
});
|
|
11588
|
-
// @ts-ignore
|
|
11589
|
-
this.channel.socket.disconnect();
|
|
11590
11619
|
}).receive('timeout', () => {
|
|
11591
11620
|
log('[CHANEL][JOIN] Networking issue. Still waiting...');
|
|
11592
11621
|
});
|
|
@@ -11594,10 +11623,7 @@ class ConversationConnector {
|
|
|
11594
11623
|
disconnect() {
|
|
11595
11624
|
var _a;
|
|
11596
11625
|
(_a = this.channel) === null || _a === void 0 ? void 0 : _a.leave().receive('ok', () => {
|
|
11597
|
-
var _a, _b;
|
|
11598
11626
|
log('[CHANNEL][LEAVE] OK');
|
|
11599
|
-
(_a = this.socket) === null || _a === void 0 ? void 0 : _a.remove(this.channel);
|
|
11600
|
-
(_b = this.socket) === null || _b === void 0 ? void 0 : _b.disconnect();
|
|
11601
11627
|
__classPrivateFieldSet(this, _ConversationConnector_connectionListeners, [], "f");
|
|
11602
11628
|
});
|
|
11603
11629
|
}
|
|
@@ -12139,7 +12165,7 @@ _API_ready = new WeakMap(), _API_externalId = new WeakMap(), _API_conversationAu
|
|
|
12139
12165
|
return {
|
|
12140
12166
|
clientName: "@seamly/web-ui",
|
|
12141
12167
|
clientVariant: api_classPrivateFieldGet(this, _API_layoutMode, "f"),
|
|
12142
|
-
clientVersion: "22.3.0-beta.
|
|
12168
|
+
clientVersion: "22.3.0-beta.3",
|
|
12143
12169
|
currentUrl: window.location.toString(),
|
|
12144
12170
|
screenResolution: `${window.screen.width}x${window.screen.height}`,
|
|
12145
12171
|
timezone: getTimeZone(),
|
|
@@ -12292,8 +12318,8 @@ function CarouselMessageSlide({
|
|
|
12292
12318
|
}
|
|
12293
12319
|
// EXTERNAL MODULE: ./src/javascripts/ui/hooks/utility-hooks.js
|
|
12294
12320
|
var utility_hooks = __webpack_require__(7750);
|
|
12295
|
-
// EXTERNAL MODULE: ./src/javascripts/ui/components/layout/icon.
|
|
12296
|
-
var layout_icon = __webpack_require__(
|
|
12321
|
+
// EXTERNAL MODULE: ./src/javascripts/ui/components/layout/icon.tsx + 22 modules
|
|
12322
|
+
var layout_icon = __webpack_require__(2398);
|
|
12297
12323
|
;// CONCATENATED MODULE: ./src/javascripts/ui/components/conversation/event/carousel-component/components/controls.js
|
|
12298
12324
|
|
|
12299
12325
|
|
|
@@ -12324,7 +12350,8 @@ function CarouselControls({
|
|
|
12324
12350
|
onClick: handlePrevious,
|
|
12325
12351
|
children: (0,jsx_runtime_.jsx)(layout_icon/* default */.Z, {
|
|
12326
12352
|
name: "arrowLeft",
|
|
12327
|
-
size: "16"
|
|
12353
|
+
size: "16",
|
|
12354
|
+
alt: ""
|
|
12328
12355
|
})
|
|
12329
12356
|
}), children, (0,jsx_runtime_.jsx)("button", {
|
|
12330
12357
|
className: (0,css/* className */.o)('button', 'button--next'),
|
|
@@ -12332,7 +12359,8 @@ function CarouselControls({
|
|
|
12332
12359
|
onClick: handleNext,
|
|
12333
12360
|
children: (0,jsx_runtime_.jsx)(layout_icon/* default */.Z, {
|
|
12334
12361
|
name: "arrowRight",
|
|
12335
|
-
size: "16"
|
|
12362
|
+
size: "16",
|
|
12363
|
+
alt: ""
|
|
12336
12364
|
})
|
|
12337
12365
|
})]
|
|
12338
12366
|
});
|
|
@@ -12539,7 +12567,8 @@ const SuggestionsItem = ({
|
|
|
12539
12567
|
className: (0,css/* className */.o)('button', 'button--primary'),
|
|
12540
12568
|
children: [hasIcon && (0,jsx_runtime_.jsx)(layout_icon/* default */.Z, {
|
|
12541
12569
|
name: "chevronRight",
|
|
12542
|
-
size: "8"
|
|
12570
|
+
size: "8",
|
|
12571
|
+
alt: ""
|
|
12543
12572
|
}), question]
|
|
12544
12573
|
})
|
|
12545
12574
|
});
|
|
@@ -12773,7 +12802,8 @@ function EventDivider({
|
|
|
12773
12802
|
children: iconName ? (0,jsx_runtime_.jsx)(layout_icon/* default */.Z, {
|
|
12774
12803
|
name: iconName,
|
|
12775
12804
|
size: iconSize,
|
|
12776
|
-
className: iconClassName
|
|
12805
|
+
className: iconClassName,
|
|
12806
|
+
alt: ""
|
|
12777
12807
|
}) : (0,jsx_runtime_.jsx)("img", {
|
|
12778
12808
|
src: graphicSrc,
|
|
12779
12809
|
className: (0,css/* className */.o)({
|
|
@@ -14667,7 +14697,8 @@ const Lightbox = ({
|
|
|
14667
14697
|
onClick: onClose,
|
|
14668
14698
|
children: [(0,jsx_runtime_.jsx)(layout_icon/* default */.Z, {
|
|
14669
14699
|
name: "close",
|
|
14670
|
-
size: "16"
|
|
14700
|
+
size: "16",
|
|
14701
|
+
alt: ""
|
|
14671
14702
|
}), t('lightbox.closeLabel')]
|
|
14672
14703
|
})]
|
|
14673
14704
|
})
|
|
@@ -14715,7 +14746,8 @@ const ImageLightbox = ({
|
|
|
14715
14746
|
description
|
|
14716
14747
|
}), (0,jsx_runtime_.jsx)(layout_icon/* default */.Z, {
|
|
14717
14748
|
name: "enlarge",
|
|
14718
|
-
size: "32"
|
|
14749
|
+
size: "32",
|
|
14750
|
+
alt: ""
|
|
14719
14751
|
})]
|
|
14720
14752
|
}), showLightBox && (0,jsx_runtime_.jsx)(lightbox, {
|
|
14721
14753
|
url: url,
|
|
@@ -15245,21 +15277,25 @@ const SeamlyEventSubscriber = () => {
|
|
|
15245
15277
|
}
|
|
15246
15278
|
}, [api, api.connectionInfo, api.conversation.socket, dispatch]);
|
|
15247
15279
|
(0,hooks_.useEffect)(() => {
|
|
15248
|
-
api.conversation.
|
|
15249
|
-
|
|
15250
|
-
|
|
15251
|
-
|
|
15252
|
-
|
|
15253
|
-
|
|
15254
|
-
|
|
15255
|
-
|
|
15256
|
-
|
|
15257
|
-
|
|
15258
|
-
|
|
15259
|
-
|
|
15260
|
-
|
|
15261
|
-
|
|
15262
|
-
|
|
15280
|
+
if (api.connectionInfo && api.conversation.socket) {
|
|
15281
|
+
api.conversation.onConnection(({
|
|
15282
|
+
currentState
|
|
15283
|
+
}) => {
|
|
15284
|
+
if (currentState === 'join_channel_erred') {
|
|
15285
|
+
const seamlyGeneralError = new seamly_general_error/* default */.Z();
|
|
15286
|
+
dispatch((0,interrupt_slice/* setInterrupt */.uc)({
|
|
15287
|
+
name: seamlyGeneralError.name,
|
|
15288
|
+
message: seamlyGeneralError.message,
|
|
15289
|
+
langKey: seamlyGeneralError.langKey,
|
|
15290
|
+
originalEvent: seamlyGeneralError.originalEvent,
|
|
15291
|
+
originalError: seamlyGeneralError.originalError,
|
|
15292
|
+
action: seamlyGeneralError.action
|
|
15293
|
+
}));
|
|
15294
|
+
return true;
|
|
15295
|
+
}
|
|
15296
|
+
return false;
|
|
15297
|
+
});
|
|
15298
|
+
}
|
|
15263
15299
|
}, [api, api.connectionInfo, api.conversation.channel, dispatch]);
|
|
15264
15300
|
(0,hooks_.useEffect)(() => {
|
|
15265
15301
|
if (api.connectionInfo) {
|
|
@@ -17077,7 +17113,8 @@ function error_Error({
|
|
|
17077
17113
|
className: (0,css/* className */.o)('error__message'),
|
|
17078
17114
|
children: [(0,jsx_runtime_.jsx)(layout_icon/* default */.Z, {
|
|
17079
17115
|
name: "error",
|
|
17080
|
-
size: "16"
|
|
17116
|
+
size: "16",
|
|
17117
|
+
alt: ""
|
|
17081
17118
|
}), error]
|
|
17082
17119
|
})
|
|
17083
17120
|
});
|
|
@@ -17454,7 +17491,8 @@ const OptionsButton = () => {
|
|
|
17454
17491
|
"aria-disabled": !multiMenu && !firstOption.available ? 'true' : null,
|
|
17455
17492
|
children: [multiMenu && (0,jsx_runtime_.jsx)(layout_icon/* default */.Z, {
|
|
17456
17493
|
name: "options",
|
|
17457
|
-
size: "32"
|
|
17494
|
+
size: "32",
|
|
17495
|
+
alt: ""
|
|
17458
17496
|
}), (0,jsx_runtime_.jsx)("span", {
|
|
17459
17497
|
className: (0,css/* className */.o)('button__text'),
|
|
17460
17498
|
children: multiMenu ? t('options.openButtonText') : `${firstOption.title}${!firstOption.available ? ' ' : ''}`
|
|
@@ -17477,7 +17515,7 @@ const TranslationOption = ({ label, checked, description, onChange, id, itemClas
|
|
|
17477
17515
|
onChange();
|
|
17478
17516
|
}
|
|
17479
17517
|
};
|
|
17480
|
-
return ((0,jsx_runtime_.jsxs)("li", { className: (0,css/* className */.o)([itemClassName, 'translation-options__item']), "aria-selected": checked, role: "option", tabIndex: 0, onClick: onChange, onKeyDown: onKeyDown, id: id, children: [(0,jsx_runtime_.jsx)(layout_icon/* default */.Z, {
|
|
17518
|
+
return ((0,jsx_runtime_.jsxs)("li", { className: (0,css/* className */.o)([itemClassName, 'translation-options__item']), "aria-selected": checked, role: "option", tabIndex: 0, onClick: onChange, onKeyDown: onKeyDown, id: id, children: [(0,jsx_runtime_.jsx)(layout_icon/* default */.Z, { name: "check", size: "16", alt: "" }), label, " ", description && (0,jsx_runtime_.jsxs)("span", { children: ["(", description, ")"] })] }));
|
|
17481
17519
|
};
|
|
17482
17520
|
/* harmony default export */ const translation_option = (TranslationOption);
|
|
17483
17521
|
|
|
@@ -18306,7 +18344,8 @@ function FileInput({
|
|
|
18306
18344
|
className: (0,css/* className */.o)('upload__label'),
|
|
18307
18345
|
children: [(0,jsx_runtime_.jsx)(layout_icon/* default */.Z, {
|
|
18308
18346
|
name: "upload",
|
|
18309
|
-
size: "32"
|
|
18347
|
+
size: "32",
|
|
18348
|
+
alt: ""
|
|
18310
18349
|
}), (0,jsx_runtime_.jsxs)("div", {
|
|
18311
18350
|
children: [(0,jsx_runtime_.jsx)("span", {
|
|
18312
18351
|
className: (0,css/* className */.o)(['upload__label--text']),
|
|
@@ -19051,7 +19090,8 @@ const ButtonIcon = () => {
|
|
|
19051
19090
|
alt: ""
|
|
19052
19091
|
}) : (0,jsx_runtime_.jsx)(layout_icon/* default */.Z, {
|
|
19053
19092
|
name: "avatar",
|
|
19054
|
-
size: "32"
|
|
19093
|
+
size: "32",
|
|
19094
|
+
alt: ""
|
|
19055
19095
|
});
|
|
19056
19096
|
};
|
|
19057
19097
|
const WindowOpenButton = ({
|