@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
|
@@ -6759,7 +6759,7 @@ function randomId() {
|
|
|
6759
6759
|
/* harmony import */ var preact_hooks__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(9207);
|
|
6760
6760
|
/* harmony import */ var preact_hooks__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(preact_hooks__WEBPACK_IMPORTED_MODULE_1__);
|
|
6761
6761
|
/* harmony import */ var ui_components_conversation_message_container__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(2480);
|
|
6762
|
-
/* harmony import */ var ui_components_layout_icon__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
|
|
6762
|
+
/* harmony import */ var ui_components_layout_icon__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(2398);
|
|
6763
6763
|
/* harmony import */ var ui_hooks_seamly_hooks__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(9470);
|
|
6764
6764
|
/* harmony import */ var ui_utils_seamly_utils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(1149);
|
|
6765
6765
|
/* harmony import */ var domains_i18n_hooks__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(5962);
|
|
@@ -6882,7 +6882,8 @@ const ChoicePrompt = ({
|
|
|
6882
6882
|
"aria-describedby": descriptorId,
|
|
6883
6883
|
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, {
|
|
6884
6884
|
name: "chevronDown",
|
|
6885
|
-
size: "8"
|
|
6885
|
+
size: "8",
|
|
6886
|
+
alt: ""
|
|
6886
6887
|
})]
|
|
6887
6888
|
}), showOptions && (0,preact_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(ui_components_conversation_message_container__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z, {
|
|
6888
6889
|
type: "choice-prompt",
|
|
@@ -7100,143 +7101,6 @@ const SeamlyLiveRegionContext = (0,preact__WEBPACK_IMPORTED_MODULE_0__.createCon
|
|
|
7100
7101
|
|
|
7101
7102
|
/***/ }),
|
|
7102
7103
|
|
|
7103
|
-
/***/ 9016:
|
|
7104
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
7105
|
-
|
|
7106
|
-
|
|
7107
|
-
// EXPORTS
|
|
7108
|
-
__webpack_require__.d(__webpack_exports__, {
|
|
7109
|
-
Z: () => (/* binding */ icon)
|
|
7110
|
-
});
|
|
7111
|
-
|
|
7112
|
-
;// CONCATENATED MODULE: ./node_modules/raw-loader/dist/cjs.js!./src/icons/avatar_bot-32.svg
|
|
7113
|
-
/* 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");
|
|
7114
|
-
;// CONCATENATED MODULE: ./node_modules/raw-loader/dist/cjs.js!./src/icons/icon_arrow_left-16.svg
|
|
7115
|
-
/* 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");
|
|
7116
|
-
;// CONCATENATED MODULE: ./node_modules/raw-loader/dist/cjs.js!./src/icons/icon_arrow_right-16.svg
|
|
7117
|
-
/* 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");
|
|
7118
|
-
;// CONCATENATED MODULE: ./node_modules/raw-loader/dist/cjs.js!./src/icons/icon_balloon-32.svg
|
|
7119
|
-
/* 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>");
|
|
7120
|
-
;// CONCATENATED MODULE: ./node_modules/raw-loader/dist/cjs.js!./src/icons/icon_check-16.svg
|
|
7121
|
-
/* 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");
|
|
7122
|
-
;// CONCATENATED MODULE: ./node_modules/raw-loader/dist/cjs.js!./src/icons/icon_check-32.svg
|
|
7123
|
-
/* 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");
|
|
7124
|
-
;// CONCATENATED MODULE: ./node_modules/raw-loader/dist/cjs.js!./src/icons/icon_chevron_down-8.svg
|
|
7125
|
-
/* 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>");
|
|
7126
|
-
;// CONCATENATED MODULE: ./node_modules/raw-loader/dist/cjs.js!./src/icons/icon_chevron_down-32.svg
|
|
7127
|
-
/* 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>");
|
|
7128
|
-
;// CONCATENATED MODULE: ./node_modules/raw-loader/dist/cjs.js!./src/icons/icon_chevron_right-8.svg
|
|
7129
|
-
/* 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>");
|
|
7130
|
-
;// CONCATENATED MODULE: ./node_modules/raw-loader/dist/cjs.js!./src/icons/icon_chevron_right-16.svg
|
|
7131
|
-
/* 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>");
|
|
7132
|
-
;// CONCATENATED MODULE: ./node_modules/raw-loader/dist/cjs.js!./src/icons/icon_close-8.svg
|
|
7133
|
-
/* 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>");
|
|
7134
|
-
;// CONCATENATED MODULE: ./node_modules/raw-loader/dist/cjs.js!./src/icons/icon_close-16.svg
|
|
7135
|
-
/* 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>");
|
|
7136
|
-
;// CONCATENATED MODULE: ./node_modules/raw-loader/dist/cjs.js!./src/icons/icon_download-16.svg
|
|
7137
|
-
/* 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>");
|
|
7138
|
-
;// CONCATENATED MODULE: ./node_modules/raw-loader/dist/cjs.js!./src/icons/icon_enlarge-32.svg
|
|
7139
|
-
/* 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>");
|
|
7140
|
-
;// CONCATENATED MODULE: ./node_modules/raw-loader/dist/cjs.js!./src/icons/icon_error-16.svg
|
|
7141
|
-
/* 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>");
|
|
7142
|
-
;// CONCATENATED MODULE: ./node_modules/raw-loader/dist/cjs.js!./src/icons/icon_file-32.svg
|
|
7143
|
-
/* 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>");
|
|
7144
|
-
;// CONCATENATED MODULE: ./node_modules/raw-loader/dist/cjs.js!./src/icons/icon_newtopic-32.svg
|
|
7145
|
-
/* 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>");
|
|
7146
|
-
;// CONCATENATED MODULE: ./node_modules/raw-loader/dist/cjs.js!./src/icons/icon_newtranslation-16.svg
|
|
7147
|
-
/* 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>");
|
|
7148
|
-
;// CONCATENATED MODULE: ./node_modules/raw-loader/dist/cjs.js!./src/icons/icon_newtranslation-32.svg
|
|
7149
|
-
/* 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>");
|
|
7150
|
-
;// CONCATENATED MODULE: ./node_modules/raw-loader/dist/cjs.js!./src/icons/icon_options-32.svg
|
|
7151
|
-
/* 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>");
|
|
7152
|
-
;// CONCATENATED MODULE: ./node_modules/raw-loader/dist/cjs.js!./src/icons/icon_send-32.svg
|
|
7153
|
-
/* 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>");
|
|
7154
|
-
;// CONCATENATED MODULE: ./node_modules/raw-loader/dist/cjs.js!./src/icons/icon_upload-32.svg
|
|
7155
|
-
/* 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>");
|
|
7156
|
-
// EXTERNAL MODULE: ./src/javascripts/lib/css.js
|
|
7157
|
-
var css = __webpack_require__(2);
|
|
7158
|
-
// EXTERNAL MODULE: external "preact/jsx-runtime"
|
|
7159
|
-
var jsx_runtime_ = __webpack_require__(7844);
|
|
7160
|
-
;// CONCATENATED MODULE: ./src/javascripts/ui/components/layout/icon.js
|
|
7161
|
-
/* eslint-disable import/no-webpack-loader-syntax */
|
|
7162
|
-
// The eslint rules are disabled for this as otherwsise we'd need to include the loader rule in all implementations
|
|
7163
|
-
// this can again be changed when we can import pre-built packages in implementations
|
|
7164
|
-
|
|
7165
|
-
|
|
7166
|
-
|
|
7167
|
-
|
|
7168
|
-
|
|
7169
|
-
|
|
7170
|
-
|
|
7171
|
-
|
|
7172
|
-
|
|
7173
|
-
|
|
7174
|
-
|
|
7175
|
-
|
|
7176
|
-
|
|
7177
|
-
|
|
7178
|
-
|
|
7179
|
-
|
|
7180
|
-
|
|
7181
|
-
|
|
7182
|
-
|
|
7183
|
-
|
|
7184
|
-
|
|
7185
|
-
|
|
7186
|
-
|
|
7187
|
-
|
|
7188
|
-
/* eslint-enable import/no-webpack-loader-syntax */
|
|
7189
|
-
|
|
7190
|
-
|
|
7191
|
-
|
|
7192
|
-
const ICONS = {
|
|
7193
|
-
send32: icon_send_32,
|
|
7194
|
-
balloon32: icon_balloon_32,
|
|
7195
|
-
newTopic32: icon_newtopic_32,
|
|
7196
|
-
newTranslation16: icon_newtranslation_16,
|
|
7197
|
-
newTranslation32: icon_newtranslation_32,
|
|
7198
|
-
avatar32: avatar_bot_32,
|
|
7199
|
-
chevronDown8: icon_chevron_down_8,
|
|
7200
|
-
chevronDown32: icon_chevron_down_32,
|
|
7201
|
-
chevronRight8: icon_chevron_right_8,
|
|
7202
|
-
chevronRight16: icon_chevron_right_16,
|
|
7203
|
-
close8: icon_close_8,
|
|
7204
|
-
close16: icon_close_16,
|
|
7205
|
-
enlarge32: icon_enlarge_32,
|
|
7206
|
-
options32: icon_options_32,
|
|
7207
|
-
file32: icon_file_32,
|
|
7208
|
-
upload32: icon_upload_32,
|
|
7209
|
-
download16: icon_download_16,
|
|
7210
|
-
error16: icon_error_16,
|
|
7211
|
-
arrowLeft16: icon_arrow_left_16,
|
|
7212
|
-
arrowRight16: icon_arrow_right_16,
|
|
7213
|
-
check32: icon_check_32,
|
|
7214
|
-
check16: icon_check_16
|
|
7215
|
-
};
|
|
7216
|
-
const Icon = ({
|
|
7217
|
-
name,
|
|
7218
|
-
size = '32',
|
|
7219
|
-
className = undefined,
|
|
7220
|
-
alt
|
|
7221
|
-
}) => {
|
|
7222
|
-
const iconName = `${name}${size}`;
|
|
7223
|
-
return (0,jsx_runtime_.jsxs)(jsx_runtime_.Fragment, {
|
|
7224
|
-
children: [(0,jsx_runtime_.jsx)("div", {
|
|
7225
|
-
"aria-hidden": "true",
|
|
7226
|
-
className: className || (0,css/* className */.o)('icon'),
|
|
7227
|
-
dangerouslySetInnerHTML: {
|
|
7228
|
-
__html: ICONS[iconName]
|
|
7229
|
-
}
|
|
7230
|
-
}), alt && (0,jsx_runtime_.jsx)("span", {
|
|
7231
|
-
className: (0,css/* className */.o)('visually-hidden'),
|
|
7232
|
-
children: alt
|
|
7233
|
-
})]
|
|
7234
|
-
});
|
|
7235
|
-
};
|
|
7236
|
-
/* harmony default export */ const icon = (Icon);
|
|
7237
|
-
|
|
7238
|
-
/***/ }),
|
|
7239
|
-
|
|
7240
7104
|
/***/ 7054:
|
|
7241
7105
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
7242
7106
|
|
|
@@ -8407,32 +8271,34 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
8407
8271
|
/* harmony export */ Component: () => (/* reexport safe */ preact__WEBPACK_IMPORTED_MODULE_0__.Component),
|
|
8408
8272
|
/* harmony export */ Fragment: () => (/* reexport safe */ preact__WEBPACK_IMPORTED_MODULE_0__.Fragment),
|
|
8409
8273
|
/* harmony export */ PureComponent: () => (/* binding */ w),
|
|
8410
|
-
/* harmony export */ StrictMode: () => (/* binding */
|
|
8411
|
-
/* harmony export */ Suspense: () => (/* binding */
|
|
8274
|
+
/* harmony export */ StrictMode: () => (/* binding */ yn),
|
|
8275
|
+
/* harmony export */ Suspense: () => (/* binding */ U),
|
|
8412
8276
|
/* harmony export */ SuspenseList: () => (/* binding */ V),
|
|
8413
8277
|
/* harmony export */ __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: () => (/* binding */ ln),
|
|
8414
|
-
/* harmony export */ cloneElement: () => (/* binding */
|
|
8278
|
+
/* harmony export */ cloneElement: () => (/* binding */ hn),
|
|
8415
8279
|
/* harmony export */ createContext: () => (/* reexport safe */ preact__WEBPACK_IMPORTED_MODULE_0__.createContext),
|
|
8416
8280
|
/* harmony export */ createElement: () => (/* reexport safe */ preact__WEBPACK_IMPORTED_MODULE_0__.createElement),
|
|
8417
8281
|
/* harmony export */ createFactory: () => (/* binding */ fn),
|
|
8418
8282
|
/* harmony export */ createPortal: () => (/* binding */ z),
|
|
8419
8283
|
/* harmony export */ createRef: () => (/* reexport safe */ preact__WEBPACK_IMPORTED_MODULE_0__.createRef),
|
|
8420
|
-
/* harmony export */ "default": () => (/* binding */
|
|
8421
|
-
/* harmony export */ findDOMNode: () => (/* binding */
|
|
8422
|
-
/* harmony export */ flushSync: () => (/* binding */
|
|
8284
|
+
/* harmony export */ "default": () => (/* binding */ wn),
|
|
8285
|
+
/* harmony export */ findDOMNode: () => (/* binding */ dn),
|
|
8286
|
+
/* harmony export */ flushSync: () => (/* binding */ mn),
|
|
8423
8287
|
/* harmony export */ forwardRef: () => (/* binding */ k),
|
|
8424
8288
|
/* harmony export */ hydrate: () => (/* binding */ J),
|
|
8289
|
+
/* harmony export */ isElement: () => (/* binding */ Cn),
|
|
8290
|
+
/* harmony export */ isFragment: () => (/* binding */ sn),
|
|
8425
8291
|
/* harmony export */ isValidElement: () => (/* binding */ an),
|
|
8426
8292
|
/* harmony export */ lazy: () => (/* binding */ M),
|
|
8427
8293
|
/* harmony export */ memo: () => (/* binding */ x),
|
|
8428
8294
|
/* harmony export */ render: () => (/* binding */ G),
|
|
8429
|
-
/* harmony export */ startTransition: () => (/* binding */
|
|
8430
|
-
/* harmony export */ unmountComponentAtNode: () => (/* binding */
|
|
8431
|
-
/* harmony export */ unstable_batchedUpdates: () => (/* binding */
|
|
8432
|
-
/* harmony export */ useDeferredValue: () => (/* binding */
|
|
8433
|
-
/* harmony export */ useInsertionEffect: () => (/* binding */
|
|
8434
|
-
/* harmony export */ useSyncExternalStore: () => (/* binding */
|
|
8435
|
-
/* harmony export */ useTransition: () => (/* binding */
|
|
8295
|
+
/* harmony export */ startTransition: () => (/* binding */ _n),
|
|
8296
|
+
/* harmony export */ unmountComponentAtNode: () => (/* binding */ vn),
|
|
8297
|
+
/* harmony export */ unstable_batchedUpdates: () => (/* binding */ pn),
|
|
8298
|
+
/* harmony export */ useDeferredValue: () => (/* binding */ bn),
|
|
8299
|
+
/* harmony export */ useInsertionEffect: () => (/* binding */ gn),
|
|
8300
|
+
/* harmony export */ useSyncExternalStore: () => (/* binding */ En),
|
|
8301
|
+
/* harmony export */ useTransition: () => (/* binding */ Sn),
|
|
8436
8302
|
/* harmony export */ version: () => (/* binding */ cn)
|
|
8437
8303
|
/* harmony export */ });
|
|
8438
8304
|
/* harmony import */ var preact__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7210);
|
|
@@ -8440,9 +8306,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
8440
8306
|
/* harmony import */ var preact_hooks__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(9207);
|
|
8441
8307
|
/* harmony import */ var preact_hooks__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(preact_hooks__WEBPACK_IMPORTED_MODULE_1__);
|
|
8442
8308
|
/* harmony reexport (unknown) */ var __WEBPACK_REEXPORT_OBJECT__ = {};
|
|
8443
|
-
/* 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__]
|
|
8309
|
+
/* 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__]
|
|
8444
8310
|
/* harmony reexport (unknown) */ __webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
|
|
8445
|
-
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};
|
|
8311
|
+
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};
|
|
8446
8312
|
//# sourceMappingURL=compat.module.js.map
|
|
8447
8313
|
|
|
8448
8314
|
|
|
@@ -8506,42 +8372,41 @@ var compat_module = __webpack_require__(8661);
|
|
|
8506
8372
|
var batch = __webpack_require__(9256);
|
|
8507
8373
|
;// CONCATENATED MODULE: ./node_modules/react-redux/es/components/Context.js
|
|
8508
8374
|
|
|
8509
|
-
const ContextKey = Symbol.for(`react-redux-context
|
|
8510
|
-
const gT = globalThis
|
|
8375
|
+
const ContextKey = Symbol.for(`react-redux-context`);
|
|
8376
|
+
const gT = typeof globalThis !== "undefined" ? globalThis :
|
|
8377
|
+
/* fall back to a per-module scope (pre-8.1 behaviour) if `globalThis` is not available */
|
|
8378
|
+
{};
|
|
8511
8379
|
|
|
8512
8380
|
function getContext() {
|
|
8513
|
-
|
|
8381
|
+
var _gT$ContextKey;
|
|
8382
|
+
|
|
8383
|
+
if (!compat_module.createContext) return {};
|
|
8384
|
+
const contextMap = (_gT$ContextKey = gT[ContextKey]) != null ? _gT$ContextKey : gT[ContextKey] = new Map();
|
|
8385
|
+
let realContext = contextMap.get(compat_module.createContext);
|
|
8514
8386
|
|
|
8515
8387
|
if (!realContext) {
|
|
8516
|
-
realContext =
|
|
8388
|
+
realContext = compat_module.createContext(null);
|
|
8517
8389
|
|
|
8518
8390
|
if (false) {}
|
|
8519
8391
|
|
|
8520
|
-
|
|
8392
|
+
contextMap.set(compat_module.createContext, realContext);
|
|
8521
8393
|
}
|
|
8522
8394
|
|
|
8523
8395
|
return realContext;
|
|
8524
8396
|
}
|
|
8525
8397
|
|
|
8526
|
-
const Context_ReactReduxContext = /*#__PURE__*/
|
|
8527
|
-
get(_, handler) {
|
|
8528
|
-
const target = getContext(); // @ts-ignore
|
|
8529
|
-
|
|
8530
|
-
return (_target, ...args) => Reflect[handler](target, ...args);
|
|
8531
|
-
}
|
|
8532
|
-
|
|
8533
|
-
}));
|
|
8398
|
+
const Context_ReactReduxContext = /*#__PURE__*/getContext();
|
|
8534
8399
|
/* harmony default export */ const Context = ((/* unused pure expression or super */ null && (Context_ReactReduxContext)));
|
|
8535
8400
|
;// CONCATENATED MODULE: ./node_modules/react-redux/es/hooks/useReduxContext.js
|
|
8536
8401
|
|
|
8537
8402
|
|
|
8538
8403
|
|
|
8539
|
-
/**
|
|
8540
|
-
* Hook factory, which creates a `useReduxContext` hook bound to a given context. This is a low-level
|
|
8541
|
-
* hook that you should usually not need to call directly.
|
|
8542
|
-
*
|
|
8543
|
-
* @param {React.Context} [context=ReactReduxContext] Context passed to your `<Provider>`.
|
|
8544
|
-
* @returns {Function} A `useReduxContext` hook bound to the specified context.
|
|
8404
|
+
/**
|
|
8405
|
+
* Hook factory, which creates a `useReduxContext` hook bound to a given context. This is a low-level
|
|
8406
|
+
* hook that you should usually not need to call directly.
|
|
8407
|
+
*
|
|
8408
|
+
* @param {React.Context} [context=ReactReduxContext] Context passed to your `<Provider>`.
|
|
8409
|
+
* @returns {Function} A `useReduxContext` hook bound to the specified context.
|
|
8545
8410
|
*/
|
|
8546
8411
|
function createReduxContextHook(context = Context_ReactReduxContext) {
|
|
8547
8412
|
return function useReduxContext() {
|
|
@@ -8552,21 +8417,21 @@ function createReduxContextHook(context = Context_ReactReduxContext) {
|
|
|
8552
8417
|
return contextValue;
|
|
8553
8418
|
};
|
|
8554
8419
|
}
|
|
8555
|
-
/**
|
|
8556
|
-
* A hook to access the value of the `ReactReduxContext`. This is a low-level
|
|
8557
|
-
* hook that you should usually not need to call directly.
|
|
8558
|
-
*
|
|
8559
|
-
* @returns {any} the value of the `ReactReduxContext`
|
|
8560
|
-
*
|
|
8561
|
-
* @example
|
|
8562
|
-
*
|
|
8563
|
-
* import React from 'react'
|
|
8564
|
-
* import { useReduxContext } from 'react-redux'
|
|
8565
|
-
*
|
|
8566
|
-
* export const CounterComponent = () => {
|
|
8567
|
-
* const { store } = useReduxContext()
|
|
8568
|
-
* return <div>{store.getState()}</div>
|
|
8569
|
-
* }
|
|
8420
|
+
/**
|
|
8421
|
+
* A hook to access the value of the `ReactReduxContext`. This is a low-level
|
|
8422
|
+
* hook that you should usually not need to call directly.
|
|
8423
|
+
*
|
|
8424
|
+
* @returns {any} the value of the `ReactReduxContext`
|
|
8425
|
+
*
|
|
8426
|
+
* @example
|
|
8427
|
+
*
|
|
8428
|
+
* import React from 'react'
|
|
8429
|
+
* import { useReduxContext } from 'react-redux'
|
|
8430
|
+
*
|
|
8431
|
+
* export const CounterComponent = () => {
|
|
8432
|
+
* const { store } = useReduxContext()
|
|
8433
|
+
* return <div>{store.getState()}</div>
|
|
8434
|
+
* }
|
|
8570
8435
|
*/
|
|
8571
8436
|
|
|
8572
8437
|
const useReduxContext_useReduxContext = /*#__PURE__*/createReduxContextHook();
|
|
@@ -8585,11 +8450,11 @@ const initializeUseSelector = fn => {
|
|
|
8585
8450
|
};
|
|
8586
8451
|
|
|
8587
8452
|
const refEquality = (a, b) => a === b;
|
|
8588
|
-
/**
|
|
8589
|
-
* Hook factory, which creates a `useSelector` hook bound to a given context.
|
|
8590
|
-
*
|
|
8591
|
-
* @param {React.Context} [context=ReactReduxContext] Context passed to your `<Provider>`.
|
|
8592
|
-
* @returns {Function} A `useSelector` hook bound to the specified context.
|
|
8453
|
+
/**
|
|
8454
|
+
* Hook factory, which creates a `useSelector` hook bound to a given context.
|
|
8455
|
+
*
|
|
8456
|
+
* @param {React.Context} [context=ReactReduxContext] Context passed to your `<Provider>`.
|
|
8457
|
+
* @returns {Function} A `useSelector` hook bound to the specified context.
|
|
8593
8458
|
*/
|
|
8594
8459
|
|
|
8595
8460
|
|
|
@@ -8629,28 +8494,28 @@ function createSelectorHook(context = Context_ReactReduxContext) {
|
|
|
8629
8494
|
return selectedState;
|
|
8630
8495
|
};
|
|
8631
8496
|
}
|
|
8632
|
-
/**
|
|
8633
|
-
* A hook to access the redux store's state. This hook takes a selector function
|
|
8634
|
-
* as an argument. The selector is called with the store state.
|
|
8635
|
-
*
|
|
8636
|
-
* This hook takes an optional equality comparison function as the second parameter
|
|
8637
|
-
* that allows you to customize the way the selected state is compared to determine
|
|
8638
|
-
* whether the component needs to be re-rendered.
|
|
8639
|
-
*
|
|
8640
|
-
* @param {Function} selector the selector function
|
|
8641
|
-
* @param {Function=} equalityFn the function that will be used to determine equality
|
|
8642
|
-
*
|
|
8643
|
-
* @returns {any} the selected state
|
|
8644
|
-
*
|
|
8645
|
-
* @example
|
|
8646
|
-
*
|
|
8647
|
-
* import React from 'react'
|
|
8648
|
-
* import { useSelector } from 'react-redux'
|
|
8649
|
-
*
|
|
8650
|
-
* export const CounterComponent = () => {
|
|
8651
|
-
* const counter = useSelector(state => state.counter)
|
|
8652
|
-
* return <div>{counter}</div>
|
|
8653
|
-
* }
|
|
8497
|
+
/**
|
|
8498
|
+
* A hook to access the redux store's state. This hook takes a selector function
|
|
8499
|
+
* as an argument. The selector is called with the store state.
|
|
8500
|
+
*
|
|
8501
|
+
* This hook takes an optional equality comparison function as the second parameter
|
|
8502
|
+
* that allows you to customize the way the selected state is compared to determine
|
|
8503
|
+
* whether the component needs to be re-rendered.
|
|
8504
|
+
*
|
|
8505
|
+
* @param {Function} selector the selector function
|
|
8506
|
+
* @param {Function=} equalityFn the function that will be used to determine equality
|
|
8507
|
+
*
|
|
8508
|
+
* @returns {any} the selected state
|
|
8509
|
+
*
|
|
8510
|
+
* @example
|
|
8511
|
+
*
|
|
8512
|
+
* import React from 'react'
|
|
8513
|
+
* import { useSelector } from 'react-redux'
|
|
8514
|
+
*
|
|
8515
|
+
* export const CounterComponent = () => {
|
|
8516
|
+
* const counter = useSelector(state => state.counter)
|
|
8517
|
+
* return <div>{counter}</div>
|
|
8518
|
+
* }
|
|
8654
8519
|
*/
|
|
8655
8520
|
|
|
8656
8521
|
const useSelector = /*#__PURE__*/createSelectorHook();
|
|
@@ -8798,7 +8663,7 @@ function Subscription_createSubscription(store, parentSub) {
|
|
|
8798
8663
|
// Matches logic in React's `shared/ExecutionEnvironment` file
|
|
8799
8664
|
|
|
8800
8665
|
const canUseDOM = !!(typeof window !== 'undefined' && typeof window.document !== 'undefined' && typeof window.document.createElement !== 'undefined');
|
|
8801
|
-
const useIsomorphicLayoutEffect_useIsomorphicLayoutEffect =
|
|
8666
|
+
const useIsomorphicLayoutEffect_useIsomorphicLayoutEffect = canUseDOM ? compat_module.useLayoutEffect : compat_module.useEffect;
|
|
8802
8667
|
;// CONCATENATED MODULE: ./node_modules/react-redux/es/components/connect.js
|
|
8803
8668
|
|
|
8804
8669
|
|
|
@@ -8940,31 +8805,31 @@ const initStateUpdates = () => EMPTY_ARRAY;
|
|
|
8940
8805
|
function strictEqual(a, b) {
|
|
8941
8806
|
return a === b;
|
|
8942
8807
|
}
|
|
8943
|
-
/**
|
|
8944
|
-
* Infers the type of props that a connector will inject into a component.
|
|
8808
|
+
/**
|
|
8809
|
+
* Infers the type of props that a connector will inject into a component.
|
|
8945
8810
|
*/
|
|
8946
8811
|
|
|
8947
8812
|
|
|
8948
8813
|
let hasWarnedAboutDeprecatedPureOption = false;
|
|
8949
|
-
/**
|
|
8950
|
-
* Connects a React component to a Redux store.
|
|
8951
|
-
*
|
|
8952
|
-
* - Without arguments, just wraps the component, without changing the behavior / props
|
|
8953
|
-
*
|
|
8954
|
-
* - If 2 params are passed (3rd param, mergeProps, is skipped), default behavior
|
|
8955
|
-
* is to override ownProps (as stated in the docs), so what remains is everything that's
|
|
8956
|
-
* not a state or dispatch prop
|
|
8957
|
-
*
|
|
8958
|
-
* - When 3rd param is passed, we don't know if ownProps propagate and whether they
|
|
8959
|
-
* should be valid component props, because it depends on mergeProps implementation.
|
|
8960
|
-
* As such, it is the user's responsibility to extend ownProps interface from state or
|
|
8961
|
-
* dispatch props or both when applicable
|
|
8962
|
-
*
|
|
8963
|
-
* @param mapStateToProps A function that extracts values from state
|
|
8964
|
-
* @param mapDispatchToProps Setup for dispatching actions
|
|
8965
|
-
* @param mergeProps Optional callback to merge state and dispatch props together
|
|
8966
|
-
* @param options Options for configuring the connection
|
|
8967
|
-
*
|
|
8814
|
+
/**
|
|
8815
|
+
* Connects a React component to a Redux store.
|
|
8816
|
+
*
|
|
8817
|
+
* - Without arguments, just wraps the component, without changing the behavior / props
|
|
8818
|
+
*
|
|
8819
|
+
* - If 2 params are passed (3rd param, mergeProps, is skipped), default behavior
|
|
8820
|
+
* is to override ownProps (as stated in the docs), so what remains is everything that's
|
|
8821
|
+
* not a state or dispatch prop
|
|
8822
|
+
*
|
|
8823
|
+
* - When 3rd param is passed, we don't know if ownProps propagate and whether they
|
|
8824
|
+
* should be valid component props, because it depends on mergeProps implementation.
|
|
8825
|
+
* As such, it is the user's responsibility to extend ownProps interface from state or
|
|
8826
|
+
* dispatch props or both when applicable
|
|
8827
|
+
*
|
|
8828
|
+
* @param mapStateToProps A function that extracts values from state
|
|
8829
|
+
* @param mapDispatchToProps Setup for dispatching actions
|
|
8830
|
+
* @param mergeProps Optional callback to merge state and dispatch props together
|
|
8831
|
+
* @param options Options for configuring the connection
|
|
8832
|
+
*
|
|
8968
8833
|
*/
|
|
8969
8834
|
|
|
8970
8835
|
function connect(mapStateToProps, mapDispatchToProps, mergeProps, {
|
|
@@ -9010,7 +8875,7 @@ function connect(mapStateToProps, mapDispatchToProps, mergeProps, {
|
|
|
9010
8875
|
};
|
|
9011
8876
|
|
|
9012
8877
|
function ConnectFunction(props) {
|
|
9013
|
-
const [propsContext, reactReduxForwardedRef, wrapperProps] = useMemo(() => {
|
|
8878
|
+
const [propsContext, reactReduxForwardedRef, wrapperProps] = React.useMemo(() => {
|
|
9014
8879
|
// Distinguish between actual "data" props that were passed to the wrapper component,
|
|
9015
8880
|
// and values needed to control behavior (forwarded refs, alternate context instances).
|
|
9016
8881
|
// To maintain the wrapperProps object reference, memoize this destructuring.
|
|
@@ -9021,14 +8886,14 @@ function connect(mapStateToProps, mapDispatchToProps, mergeProps, {
|
|
|
9021
8886
|
|
|
9022
8887
|
return [props.context, reactReduxForwardedRef, wrapperProps];
|
|
9023
8888
|
}, [props]);
|
|
9024
|
-
const ContextToUse = useMemo(() => {
|
|
8889
|
+
const ContextToUse = React.useMemo(() => {
|
|
9025
8890
|
// Users may optionally pass in a custom context instance to use instead of our ReactReduxContext.
|
|
9026
8891
|
// Memoize the check that determines which context instance we should use.
|
|
9027
8892
|
return propsContext && propsContext.Consumer && // @ts-ignore
|
|
9028
8893
|
isContextConsumer( /*#__PURE__*/React.createElement(propsContext.Consumer, null)) ? propsContext : Context;
|
|
9029
8894
|
}, [propsContext, Context]); // Retrieve the store and ancestor subscription via context, if available
|
|
9030
8895
|
|
|
9031
|
-
const contextValue = useContext(ContextToUse); // The store _must_ exist as either a prop or in context.
|
|
8896
|
+
const contextValue = React.useContext(ContextToUse); // The store _must_ exist as either a prop or in context.
|
|
9032
8897
|
// We'll check to see if it _looks_ like a Redux store first.
|
|
9033
8898
|
// This allows us to pass through a `store` prop that is just a plain value.
|
|
9034
8899
|
|
|
@@ -9040,12 +8905,12 @@ function connect(mapStateToProps, mapDispatchToProps, mergeProps, {
|
|
|
9040
8905
|
|
|
9041
8906
|
const store = didStoreComeFromProps ? props.store : contextValue.store;
|
|
9042
8907
|
const getServerState = didStoreComeFromContext ? contextValue.getServerState : store.getState;
|
|
9043
|
-
const childPropsSelector = useMemo(() => {
|
|
8908
|
+
const childPropsSelector = React.useMemo(() => {
|
|
9044
8909
|
// The child props selector needs the store reference as an input.
|
|
9045
8910
|
// Re-create this selector whenever the store changes.
|
|
9046
8911
|
return defaultSelectorFactory(store.dispatch, selectorFactoryOptions);
|
|
9047
8912
|
}, [store]);
|
|
9048
|
-
const [subscription, notifyNestedSubs] = useMemo(() => {
|
|
8913
|
+
const [subscription, notifyNestedSubs] = React.useMemo(() => {
|
|
9049
8914
|
if (!shouldHandleStateChanges) return NO_SUBSCRIPTION_ARRAY; // This Subscription's source should match where store came from: props vs. context. A component
|
|
9050
8915
|
// connected to the store via props shouldn't use subscription from context, or vice versa.
|
|
9051
8916
|
|
|
@@ -9059,7 +8924,7 @@ function connect(mapStateToProps, mapDispatchToProps, mergeProps, {
|
|
|
9059
8924
|
}, [store, didStoreComeFromProps, contextValue]); // Determine what {store, subscription} value should be put into nested context, if necessary,
|
|
9060
8925
|
// and memoize that value to avoid unnecessary context updates.
|
|
9061
8926
|
|
|
9062
|
-
const overriddenContextValue = useMemo(() => {
|
|
8927
|
+
const overriddenContextValue = React.useMemo(() => {
|
|
9063
8928
|
if (didStoreComeFromProps) {
|
|
9064
8929
|
// This component is directly subscribed to a store from props.
|
|
9065
8930
|
// We don't want descendants reading from this store - pass down whatever
|
|
@@ -9074,20 +8939,20 @@ function connect(mapStateToProps, mapDispatchToProps, mergeProps, {
|
|
|
9074
8939
|
});
|
|
9075
8940
|
}, [didStoreComeFromProps, contextValue, subscription]); // Set up refs to coordinate values between the subscription effect and the render logic
|
|
9076
8941
|
|
|
9077
|
-
const lastChildProps = useRef();
|
|
9078
|
-
const lastWrapperProps = useRef(wrapperProps);
|
|
9079
|
-
const childPropsFromStoreUpdate = useRef();
|
|
9080
|
-
const renderIsScheduled = useRef(false);
|
|
9081
|
-
const isProcessingDispatch = useRef(false);
|
|
9082
|
-
const isMounted = useRef(false);
|
|
9083
|
-
const latestSubscriptionCallbackError = useRef();
|
|
8942
|
+
const lastChildProps = React.useRef();
|
|
8943
|
+
const lastWrapperProps = React.useRef(wrapperProps);
|
|
8944
|
+
const childPropsFromStoreUpdate = React.useRef();
|
|
8945
|
+
const renderIsScheduled = React.useRef(false);
|
|
8946
|
+
const isProcessingDispatch = React.useRef(false);
|
|
8947
|
+
const isMounted = React.useRef(false);
|
|
8948
|
+
const latestSubscriptionCallbackError = React.useRef();
|
|
9084
8949
|
useIsomorphicLayoutEffect(() => {
|
|
9085
8950
|
isMounted.current = true;
|
|
9086
8951
|
return () => {
|
|
9087
8952
|
isMounted.current = false;
|
|
9088
8953
|
};
|
|
9089
8954
|
}, []);
|
|
9090
|
-
const actualChildPropsSelector = useMemo(() => {
|
|
8955
|
+
const actualChildPropsSelector = React.useMemo(() => {
|
|
9091
8956
|
const selector = () => {
|
|
9092
8957
|
// Tricky logic here:
|
|
9093
8958
|
// - This render may have been triggered by a Redux store update that produced new child props
|
|
@@ -9111,7 +8976,7 @@ function connect(mapStateToProps, mapDispatchToProps, mergeProps, {
|
|
|
9111
8976
|
// about useLayoutEffect in SSR, so we try to detect environment and fall back to
|
|
9112
8977
|
// just useEffect instead to avoid the warning, since neither will run anyway.
|
|
9113
8978
|
|
|
9114
|
-
const subscribeForReact = useMemo(() => {
|
|
8979
|
+
const subscribeForReact = React.useMemo(() => {
|
|
9115
8980
|
const subscribe = reactListener => {
|
|
9116
8981
|
if (!subscription) {
|
|
9117
8982
|
return () => {};
|
|
@@ -9147,7 +9012,7 @@ function connect(mapStateToProps, mapDispatchToProps, mergeProps, {
|
|
|
9147
9012
|
}); // Now that all that's done, we can finally try to actually render the child component.
|
|
9148
9013
|
// We memoize the elements for the rendered child component as an optimization.
|
|
9149
9014
|
|
|
9150
|
-
const renderedWrappedComponent = useMemo(() => {
|
|
9015
|
+
const renderedWrappedComponent = React.useMemo(() => {
|
|
9151
9016
|
return (
|
|
9152
9017
|
/*#__PURE__*/
|
|
9153
9018
|
// @ts-ignore
|
|
@@ -9158,7 +9023,7 @@ function connect(mapStateToProps, mapDispatchToProps, mergeProps, {
|
|
|
9158
9023
|
}, [reactReduxForwardedRef, WrappedComponent, actualChildProps]); // If React sees the exact same element reference as last time, it bails out of re-rendering
|
|
9159
9024
|
// that child, same as if it was wrapped in React.memo() or returned false from shouldComponentUpdate.
|
|
9160
9025
|
|
|
9161
|
-
const renderedChild = useMemo(() => {
|
|
9026
|
+
const renderedChild = React.useMemo(() => {
|
|
9162
9027
|
if (shouldHandleStateChanges) {
|
|
9163
9028
|
// If this component is subscribed to store updates, we need to pass its own
|
|
9164
9029
|
// subscription instance down to our descendants. That means rendering the same
|
|
@@ -9215,7 +9080,7 @@ function Provider({
|
|
|
9215
9080
|
stabilityCheck = 'once',
|
|
9216
9081
|
noopCheck = 'once'
|
|
9217
9082
|
}) {
|
|
9218
|
-
const contextValue = useMemo(() => {
|
|
9083
|
+
const contextValue = React.useMemo(() => {
|
|
9219
9084
|
const subscription = createSubscription(store);
|
|
9220
9085
|
return {
|
|
9221
9086
|
store,
|
|
@@ -9225,7 +9090,7 @@ function Provider({
|
|
|
9225
9090
|
noopCheck
|
|
9226
9091
|
};
|
|
9227
9092
|
}, [store, serverState, stabilityCheck, noopCheck]);
|
|
9228
|
-
const previousState = useMemo(() => store.getState(), [store]);
|
|
9093
|
+
const previousState = React.useMemo(() => store.getState(), [store]);
|
|
9229
9094
|
useIsomorphicLayoutEffect(() => {
|
|
9230
9095
|
const {
|
|
9231
9096
|
subscription
|
|
@@ -9253,11 +9118,11 @@ function Provider({
|
|
|
9253
9118
|
;// CONCATENATED MODULE: ./node_modules/react-redux/es/hooks/useStore.js
|
|
9254
9119
|
|
|
9255
9120
|
|
|
9256
|
-
/**
|
|
9257
|
-
* Hook factory, which creates a `useStore` hook bound to a given context.
|
|
9258
|
-
*
|
|
9259
|
-
* @param {React.Context} [context=ReactReduxContext] Context passed to your `<Provider>`.
|
|
9260
|
-
* @returns {Function} A `useStore` hook bound to the specified context.
|
|
9121
|
+
/**
|
|
9122
|
+
* Hook factory, which creates a `useStore` hook bound to a given context.
|
|
9123
|
+
*
|
|
9124
|
+
* @param {React.Context} [context=ReactReduxContext] Context passed to your `<Provider>`.
|
|
9125
|
+
* @returns {Function} A `useStore` hook bound to the specified context.
|
|
9261
9126
|
*/
|
|
9262
9127
|
|
|
9263
9128
|
function createStoreHook(context = Context_ReactReduxContext) {
|
|
@@ -9272,31 +9137,31 @@ function createStoreHook(context = Context_ReactReduxContext) {
|
|
|
9272
9137
|
return store;
|
|
9273
9138
|
};
|
|
9274
9139
|
}
|
|
9275
|
-
/**
|
|
9276
|
-
* A hook to access the redux store.
|
|
9277
|
-
*
|
|
9278
|
-
* @returns {any} the redux store
|
|
9279
|
-
*
|
|
9280
|
-
* @example
|
|
9281
|
-
*
|
|
9282
|
-
* import React from 'react'
|
|
9283
|
-
* import { useStore } from 'react-redux'
|
|
9284
|
-
*
|
|
9285
|
-
* export const ExampleComponent = () => {
|
|
9286
|
-
* const store = useStore()
|
|
9287
|
-
* return <div>{store.getState()}</div>
|
|
9288
|
-
* }
|
|
9140
|
+
/**
|
|
9141
|
+
* A hook to access the redux store.
|
|
9142
|
+
*
|
|
9143
|
+
* @returns {any} the redux store
|
|
9144
|
+
*
|
|
9145
|
+
* @example
|
|
9146
|
+
*
|
|
9147
|
+
* import React from 'react'
|
|
9148
|
+
* import { useStore } from 'react-redux'
|
|
9149
|
+
*
|
|
9150
|
+
* export const ExampleComponent = () => {
|
|
9151
|
+
* const store = useStore()
|
|
9152
|
+
* return <div>{store.getState()}</div>
|
|
9153
|
+
* }
|
|
9289
9154
|
*/
|
|
9290
9155
|
|
|
9291
9156
|
const useStore_useStore = /*#__PURE__*/createStoreHook();
|
|
9292
9157
|
;// CONCATENATED MODULE: ./node_modules/react-redux/es/hooks/useDispatch.js
|
|
9293
9158
|
|
|
9294
9159
|
|
|
9295
|
-
/**
|
|
9296
|
-
* Hook factory, which creates a `useDispatch` hook bound to a given context.
|
|
9297
|
-
*
|
|
9298
|
-
* @param {React.Context} [context=ReactReduxContext] Context passed to your `<Provider>`.
|
|
9299
|
-
* @returns {Function} A `useDispatch` hook bound to the specified context.
|
|
9160
|
+
/**
|
|
9161
|
+
* Hook factory, which creates a `useDispatch` hook bound to a given context.
|
|
9162
|
+
*
|
|
9163
|
+
* @param {React.Context} [context=ReactReduxContext] Context passed to your `<Provider>`.
|
|
9164
|
+
* @returns {Function} A `useDispatch` hook bound to the specified context.
|
|
9300
9165
|
*/
|
|
9301
9166
|
|
|
9302
9167
|
function createDispatchHook(context = Context_ReactReduxContext) {
|
|
@@ -9308,26 +9173,26 @@ function createDispatchHook(context = Context_ReactReduxContext) {
|
|
|
9308
9173
|
return store.dispatch;
|
|
9309
9174
|
};
|
|
9310
9175
|
}
|
|
9311
|
-
/**
|
|
9312
|
-
* A hook to access the redux `dispatch` function.
|
|
9313
|
-
*
|
|
9314
|
-
* @returns {any|function} redux store's `dispatch` function
|
|
9315
|
-
*
|
|
9316
|
-
* @example
|
|
9317
|
-
*
|
|
9318
|
-
* import React, { useCallback } from 'react'
|
|
9319
|
-
* import { useDispatch } from 'react-redux'
|
|
9320
|
-
*
|
|
9321
|
-
* export const CounterComponent = ({ value }) => {
|
|
9322
|
-
* const dispatch = useDispatch()
|
|
9323
|
-
* const increaseCounter = useCallback(() => dispatch({ type: 'increase-counter' }), [])
|
|
9324
|
-
* return (
|
|
9325
|
-
* <div>
|
|
9326
|
-
* <span>{value}</span>
|
|
9327
|
-
* <button onClick={increaseCounter}>Increase counter</button>
|
|
9328
|
-
* </div>
|
|
9329
|
-
* )
|
|
9330
|
-
* }
|
|
9176
|
+
/**
|
|
9177
|
+
* A hook to access the redux `dispatch` function.
|
|
9178
|
+
*
|
|
9179
|
+
* @returns {any|function} redux store's `dispatch` function
|
|
9180
|
+
*
|
|
9181
|
+
* @example
|
|
9182
|
+
*
|
|
9183
|
+
* import React, { useCallback } from 'react'
|
|
9184
|
+
* import { useDispatch } from 'react-redux'
|
|
9185
|
+
*
|
|
9186
|
+
* export const CounterComponent = ({ value }) => {
|
|
9187
|
+
* const dispatch = useDispatch()
|
|
9188
|
+
* const increaseCounter = useCallback(() => dispatch({ type: 'increase-counter' }), [])
|
|
9189
|
+
* return (
|
|
9190
|
+
* <div>
|
|
9191
|
+
* <span>{value}</span>
|
|
9192
|
+
* <button onClick={increaseCounter}>Increase counter</button>
|
|
9193
|
+
* </div>
|
|
9194
|
+
* )
|
|
9195
|
+
* }
|
|
9331
9196
|
*/
|
|
9332
9197
|
|
|
9333
9198
|
const useDispatch = /*#__PURE__*/createDispatchHook();
|
|
@@ -9706,6 +9571,158 @@ var createStructuredSelector = function createStructuredSelector(selectors, sele
|
|
|
9706
9571
|
return resultSelector;
|
|
9707
9572
|
};
|
|
9708
9573
|
|
|
9574
|
+
/***/ }),
|
|
9575
|
+
|
|
9576
|
+
/***/ 2398:
|
|
9577
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
9578
|
+
|
|
9579
|
+
|
|
9580
|
+
// EXPORTS
|
|
9581
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
9582
|
+
Z: () => (/* binding */ icon)
|
|
9583
|
+
});
|
|
9584
|
+
|
|
9585
|
+
// UNUSED EXPORTS: ICONS
|
|
9586
|
+
|
|
9587
|
+
// EXTERNAL MODULE: external "preact/jsx-runtime"
|
|
9588
|
+
var jsx_runtime_ = __webpack_require__(7844);
|
|
9589
|
+
;// CONCATENATED MODULE: ./node_modules/raw-loader/dist/cjs.js!./src/icons/avatar_bot-32.svg
|
|
9590
|
+
/* 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");
|
|
9591
|
+
;// CONCATENATED MODULE: ./node_modules/raw-loader/dist/cjs.js!./src/icons/icon_arrow_left-16.svg
|
|
9592
|
+
/* 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");
|
|
9593
|
+
;// CONCATENATED MODULE: ./node_modules/raw-loader/dist/cjs.js!./src/icons/icon_arrow_right-16.svg
|
|
9594
|
+
/* 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");
|
|
9595
|
+
;// CONCATENATED MODULE: ./node_modules/raw-loader/dist/cjs.js!./src/icons/icon_balloon-32.svg
|
|
9596
|
+
/* 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>");
|
|
9597
|
+
;// CONCATENATED MODULE: ./node_modules/raw-loader/dist/cjs.js!./src/icons/icon_check-16.svg
|
|
9598
|
+
/* 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");
|
|
9599
|
+
;// CONCATENATED MODULE: ./node_modules/raw-loader/dist/cjs.js!./src/icons/icon_check-32.svg
|
|
9600
|
+
/* 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");
|
|
9601
|
+
;// CONCATENATED MODULE: ./node_modules/raw-loader/dist/cjs.js!./src/icons/icon_chevron_down-8.svg
|
|
9602
|
+
/* 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>");
|
|
9603
|
+
;// CONCATENATED MODULE: ./node_modules/raw-loader/dist/cjs.js!./src/icons/icon_chevron_down-32.svg
|
|
9604
|
+
/* 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>");
|
|
9605
|
+
;// CONCATENATED MODULE: ./node_modules/raw-loader/dist/cjs.js!./src/icons/icon_chevron_right-8.svg
|
|
9606
|
+
/* 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>");
|
|
9607
|
+
;// CONCATENATED MODULE: ./node_modules/raw-loader/dist/cjs.js!./src/icons/icon_chevron_right-16.svg
|
|
9608
|
+
/* 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>");
|
|
9609
|
+
;// CONCATENATED MODULE: ./node_modules/raw-loader/dist/cjs.js!./src/icons/icon_close-8.svg
|
|
9610
|
+
/* 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>");
|
|
9611
|
+
;// CONCATENATED MODULE: ./node_modules/raw-loader/dist/cjs.js!./src/icons/icon_close-16.svg
|
|
9612
|
+
/* 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>");
|
|
9613
|
+
;// CONCATENATED MODULE: ./node_modules/raw-loader/dist/cjs.js!./src/icons/icon_download-16.svg
|
|
9614
|
+
/* 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>");
|
|
9615
|
+
;// CONCATENATED MODULE: ./node_modules/raw-loader/dist/cjs.js!./src/icons/icon_enlarge-32.svg
|
|
9616
|
+
/* 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>");
|
|
9617
|
+
;// CONCATENATED MODULE: ./node_modules/raw-loader/dist/cjs.js!./src/icons/icon_error-16.svg
|
|
9618
|
+
/* 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>");
|
|
9619
|
+
;// CONCATENATED MODULE: ./node_modules/raw-loader/dist/cjs.js!./src/icons/icon_file-32.svg
|
|
9620
|
+
/* 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>");
|
|
9621
|
+
;// CONCATENATED MODULE: ./node_modules/raw-loader/dist/cjs.js!./src/icons/icon_newtopic-32.svg
|
|
9622
|
+
/* 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>");
|
|
9623
|
+
;// CONCATENATED MODULE: ./node_modules/raw-loader/dist/cjs.js!./src/icons/icon_newtranslation-16.svg
|
|
9624
|
+
/* 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>");
|
|
9625
|
+
;// CONCATENATED MODULE: ./node_modules/raw-loader/dist/cjs.js!./src/icons/icon_newtranslation-32.svg
|
|
9626
|
+
/* 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>");
|
|
9627
|
+
;// CONCATENATED MODULE: ./node_modules/raw-loader/dist/cjs.js!./src/icons/icon_options-32.svg
|
|
9628
|
+
/* 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>");
|
|
9629
|
+
;// CONCATENATED MODULE: ./node_modules/raw-loader/dist/cjs.js!./src/icons/icon_send-32.svg
|
|
9630
|
+
/* 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>");
|
|
9631
|
+
;// CONCATENATED MODULE: ./node_modules/raw-loader/dist/cjs.js!./src/icons/icon_upload-32.svg
|
|
9632
|
+
/* 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>");
|
|
9633
|
+
// EXTERNAL MODULE: ./src/javascripts/lib/css.js
|
|
9634
|
+
var css = __webpack_require__(2);
|
|
9635
|
+
;// CONCATENATED MODULE: ./src/javascripts/ui/components/layout/icon.tsx
|
|
9636
|
+
|
|
9637
|
+
/* eslint-disable import/no-webpack-loader-syntax */
|
|
9638
|
+
// The eslint rules are disabled for this as otherwsise we'd need to include the loader rule in all implementations
|
|
9639
|
+
// this can again be changed when we can import pre-built packages in implementations
|
|
9640
|
+
|
|
9641
|
+
|
|
9642
|
+
|
|
9643
|
+
|
|
9644
|
+
|
|
9645
|
+
|
|
9646
|
+
|
|
9647
|
+
|
|
9648
|
+
|
|
9649
|
+
|
|
9650
|
+
|
|
9651
|
+
|
|
9652
|
+
|
|
9653
|
+
|
|
9654
|
+
|
|
9655
|
+
|
|
9656
|
+
|
|
9657
|
+
|
|
9658
|
+
|
|
9659
|
+
|
|
9660
|
+
|
|
9661
|
+
|
|
9662
|
+
|
|
9663
|
+
/* eslint-enable import/no-webpack-loader-syntax */
|
|
9664
|
+
const ICONS = {
|
|
9665
|
+
send: {
|
|
9666
|
+
32: icon_send_32,
|
|
9667
|
+
},
|
|
9668
|
+
balloon: {
|
|
9669
|
+
32: icon_balloon_32,
|
|
9670
|
+
},
|
|
9671
|
+
newTopic: {
|
|
9672
|
+
32: icon_newtopic_32,
|
|
9673
|
+
},
|
|
9674
|
+
newTranslation: {
|
|
9675
|
+
16: icon_newtranslation_16,
|
|
9676
|
+
32: icon_newtranslation_32,
|
|
9677
|
+
},
|
|
9678
|
+
avatar: {
|
|
9679
|
+
32: avatar_bot_32,
|
|
9680
|
+
},
|
|
9681
|
+
chevronDown: {
|
|
9682
|
+
8: icon_chevron_down_8,
|
|
9683
|
+
32: icon_chevron_down_32,
|
|
9684
|
+
},
|
|
9685
|
+
chevronRight: {
|
|
9686
|
+
8: icon_chevron_right_8,
|
|
9687
|
+
16: icon_chevron_right_16,
|
|
9688
|
+
},
|
|
9689
|
+
close: {
|
|
9690
|
+
8: icon_close_8,
|
|
9691
|
+
16: icon_close_16,
|
|
9692
|
+
},
|
|
9693
|
+
enlarge: {
|
|
9694
|
+
32: icon_enlarge_32,
|
|
9695
|
+
},
|
|
9696
|
+
options: {
|
|
9697
|
+
32: icon_options_32,
|
|
9698
|
+
},
|
|
9699
|
+
file: {
|
|
9700
|
+
32: icon_file_32,
|
|
9701
|
+
},
|
|
9702
|
+
upload: {
|
|
9703
|
+
32: icon_upload_32,
|
|
9704
|
+
},
|
|
9705
|
+
download: {
|
|
9706
|
+
16: icon_download_16,
|
|
9707
|
+
},
|
|
9708
|
+
error: {
|
|
9709
|
+
16: icon_error_16,
|
|
9710
|
+
},
|
|
9711
|
+
arrowLeft: {
|
|
9712
|
+
16: icon_arrow_left_16,
|
|
9713
|
+
},
|
|
9714
|
+
arrowRight: {
|
|
9715
|
+
16: icon_arrow_right_16,
|
|
9716
|
+
},
|
|
9717
|
+
check: {
|
|
9718
|
+
16: icon_check_16,
|
|
9719
|
+
32: icon_check_32,
|
|
9720
|
+
},
|
|
9721
|
+
};
|
|
9722
|
+
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 })] }));
|
|
9723
|
+
/* harmony default export */ const icon = (Icon);
|
|
9724
|
+
|
|
9725
|
+
|
|
9709
9726
|
/***/ }),
|
|
9710
9727
|
|
|
9711
9728
|
/***/ 3250:
|
|
@@ -10451,8 +10468,8 @@ function CarouselMessageSlide({
|
|
|
10451
10468
|
}
|
|
10452
10469
|
// EXTERNAL MODULE: ./src/javascripts/ui/hooks/utility-hooks.js
|
|
10453
10470
|
var utility_hooks = __webpack_require__(7750);
|
|
10454
|
-
// EXTERNAL MODULE: ./src/javascripts/ui/components/layout/icon.
|
|
10455
|
-
var layout_icon = __webpack_require__(
|
|
10471
|
+
// EXTERNAL MODULE: ./src/javascripts/ui/components/layout/icon.tsx + 22 modules
|
|
10472
|
+
var layout_icon = __webpack_require__(2398);
|
|
10456
10473
|
;// CONCATENATED MODULE: ./src/javascripts/ui/components/conversation/event/carousel-component/components/controls.js
|
|
10457
10474
|
|
|
10458
10475
|
|
|
@@ -10483,7 +10500,8 @@ function CarouselControls({
|
|
|
10483
10500
|
onClick: handlePrevious,
|
|
10484
10501
|
children: (0,jsx_runtime_.jsx)(layout_icon/* default */.Z, {
|
|
10485
10502
|
name: "arrowLeft",
|
|
10486
|
-
size: "16"
|
|
10503
|
+
size: "16",
|
|
10504
|
+
alt: ""
|
|
10487
10505
|
})
|
|
10488
10506
|
}), children, (0,jsx_runtime_.jsx)("button", {
|
|
10489
10507
|
className: (0,css/* className */.o)('button', 'button--next'),
|
|
@@ -10491,7 +10509,8 @@ function CarouselControls({
|
|
|
10491
10509
|
onClick: handleNext,
|
|
10492
10510
|
children: (0,jsx_runtime_.jsx)(layout_icon/* default */.Z, {
|
|
10493
10511
|
name: "arrowRight",
|
|
10494
|
-
size: "16"
|
|
10512
|
+
size: "16",
|
|
10513
|
+
alt: ""
|
|
10495
10514
|
})
|
|
10496
10515
|
})]
|
|
10497
10516
|
});
|
|
@@ -10698,7 +10717,8 @@ const SuggestionsItem = ({
|
|
|
10698
10717
|
className: (0,css/* className */.o)('button', 'button--primary'),
|
|
10699
10718
|
children: [hasIcon && (0,jsx_runtime_.jsx)(layout_icon/* default */.Z, {
|
|
10700
10719
|
name: "chevronRight",
|
|
10701
|
-
size: "8"
|
|
10720
|
+
size: "8",
|
|
10721
|
+
alt: ""
|
|
10702
10722
|
}), question]
|
|
10703
10723
|
})
|
|
10704
10724
|
});
|
|
@@ -10932,7 +10952,8 @@ function EventDivider({
|
|
|
10932
10952
|
children: iconName ? (0,jsx_runtime_.jsx)(layout_icon/* default */.Z, {
|
|
10933
10953
|
name: iconName,
|
|
10934
10954
|
size: iconSize,
|
|
10935
|
-
className: iconClassName
|
|
10955
|
+
className: iconClassName,
|
|
10956
|
+
alt: ""
|
|
10936
10957
|
}) : (0,jsx_runtime_.jsx)("img", {
|
|
10937
10958
|
src: graphicSrc,
|
|
10938
10959
|
className: (0,css/* className */.o)({
|
|
@@ -12822,7 +12843,8 @@ const Lightbox = ({
|
|
|
12822
12843
|
onClick: onClose,
|
|
12823
12844
|
children: [(0,jsx_runtime_.jsx)(layout_icon/* default */.Z, {
|
|
12824
12845
|
name: "close",
|
|
12825
|
-
size: "16"
|
|
12846
|
+
size: "16",
|
|
12847
|
+
alt: ""
|
|
12826
12848
|
}), t('lightbox.closeLabel')]
|
|
12827
12849
|
})]
|
|
12828
12850
|
})
|
|
@@ -12870,7 +12892,8 @@ const ImageLightbox = ({
|
|
|
12870
12892
|
description
|
|
12871
12893
|
}), (0,jsx_runtime_.jsx)(layout_icon/* default */.Z, {
|
|
12872
12894
|
name: "enlarge",
|
|
12873
|
-
size: "32"
|
|
12895
|
+
size: "32",
|
|
12896
|
+
alt: ""
|
|
12874
12897
|
})]
|
|
12875
12898
|
}), showLightBox && (0,jsx_runtime_.jsx)(lightbox, {
|
|
12876
12899
|
url: url,
|
|
@@ -13846,7 +13869,8 @@ function error_Error({
|
|
|
13846
13869
|
className: (0,css/* className */.o)('error__message'),
|
|
13847
13870
|
children: [(0,jsx_runtime_.jsx)(layout_icon/* default */.Z, {
|
|
13848
13871
|
name: "error",
|
|
13849
|
-
size: "16"
|
|
13872
|
+
size: "16",
|
|
13873
|
+
alt: ""
|
|
13850
13874
|
}), error]
|
|
13851
13875
|
})
|
|
13852
13876
|
});
|
|
@@ -14172,7 +14196,8 @@ function FileInput({
|
|
|
14172
14196
|
className: (0,css/* className */.o)('upload__label'),
|
|
14173
14197
|
children: [(0,jsx_runtime_.jsx)(layout_icon/* default */.Z, {
|
|
14174
14198
|
name: "upload",
|
|
14175
|
-
size: "32"
|
|
14199
|
+
size: "32",
|
|
14200
|
+
alt: ""
|
|
14176
14201
|
}), (0,jsx_runtime_.jsxs)("div", {
|
|
14177
14202
|
children: [(0,jsx_runtime_.jsx)("span", {
|
|
14178
14203
|
className: (0,css/* className */.o)(['upload__label--text']),
|
|
@@ -14747,7 +14772,8 @@ const AgentInfo = () => {
|
|
|
14747
14772
|
alt: ""
|
|
14748
14773
|
}) : (0,jsx_runtime_.jsx)(layout_icon/* default */.Z, {
|
|
14749
14774
|
name: "avatar",
|
|
14750
|
-
size: "32"
|
|
14775
|
+
size: "32",
|
|
14776
|
+
alt: ""
|
|
14751
14777
|
}), (0,jsx_runtime_.jsx)("span", {
|
|
14752
14778
|
className: (0,css/* className */.o)(classNames),
|
|
14753
14779
|
"aria-hidden": "true",
|
|
@@ -15390,7 +15416,8 @@ const OptionsButton = () => {
|
|
|
15390
15416
|
"aria-disabled": !multiMenu && !firstOption.available ? 'true' : null,
|
|
15391
15417
|
children: [multiMenu && (0,jsx_runtime_.jsx)(layout_icon/* default */.Z, {
|
|
15392
15418
|
name: "options",
|
|
15393
|
-
size: "32"
|
|
15419
|
+
size: "32",
|
|
15420
|
+
alt: ""
|
|
15394
15421
|
}), (0,jsx_runtime_.jsx)("span", {
|
|
15395
15422
|
className: (0,css/* className */.o)('button__text'),
|
|
15396
15423
|
children: multiMenu ? t('options.openButtonText') : `${firstOption.title}${!firstOption.available ? ' ' : ''}`
|
|
@@ -15413,7 +15440,7 @@ const TranslationOption = ({ label, checked, description, onChange, id, itemClas
|
|
|
15413
15440
|
onChange();
|
|
15414
15441
|
}
|
|
15415
15442
|
};
|
|
15416
|
-
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, {
|
|
15443
|
+
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, ")"] })] }));
|
|
15417
15444
|
};
|
|
15418
15445
|
/* harmony default export */ const translation_option = (TranslationOption);
|
|
15419
15446
|
|
|
@@ -16112,7 +16139,8 @@ const ButtonIcon = () => {
|
|
|
16112
16139
|
alt: ""
|
|
16113
16140
|
}) : (0,jsx_runtime_.jsx)(layout_icon/* default */.Z, {
|
|
16114
16141
|
name: "avatar",
|
|
16115
|
-
size: "32"
|
|
16142
|
+
size: "32",
|
|
16143
|
+
alt: ""
|
|
16116
16144
|
});
|
|
16117
16145
|
};
|
|
16118
16146
|
const WindowOpenButton = ({
|