dt-shared-front 2.2.68 → 2.2.69
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/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/main.css +39 -39
- package/dist/main.css.map +1 -1
- package/package.json +1 -1
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","mappings":"CAAA,SAA2CA,EAAMC,GAC1B,iBAAZC,SAA0C,iBAAXC,OACxCA,OAAOD,QAAUD,IACQ,mBAAXG,QAAyBA,OAAOC,IAC9CD,OAAO,GAAIH,GACe,iBAAZC,QACdA,QAAQ,mBAAqBD,IAE7BD,EAAK,mBAAqBC,GAC3B,CATD,CASGK,MAAM,I,qBCRTH,EAAOD,QAAU,CAAC,mBAAmB,mBAAmB,4BAA4B,4BAA4B,iBAAiB,iBAAiB,2BAA2B,2BAA2B,eAAe,eAAe,4BAA4B,4BAA4B,mCAAmC,mCAAmC,6BAA6B,6BAA6B,kCAAkC,kCAAkC,+BAA+B,+BAA+B,8BAA8B,8BAA8B,sBAAsB,sBAAsB,2BAA2B,2BAA2B,4BAA4B,4BAA4B,0BAA0B,0BAA0B,6BAA6B,6BAA6B,qBAAqB,qBAAqB,4BAA4B,4BAA4B,8BAA8B,8BAA8B,wBAAwB,wBAAwB,sBAAsB,sBAAsB,qBAAqB,qBAAqB,qBAAqB,qBAAqB,yBAAyB,yBAAyB,uBAAuB,uBAAuB,sBAAsB,sBAAsB,sBAAsB,sBAAsB,qBAAqB,qBAAqB,sBAAsB,sBAAsB,uBAAuB,uBAAuB,2BAA2B,2BAA2B,uBAAuB,uBAAuB,iBAAiB,iBAAiB,oBAAoB,oBAAoB,aAAa,aAAa,6BAA6B,6BAA6B,oCAAoC,oCAAoC,2BAA2B,2BAA2B,wBAAwB,wBAAwB,sBAAsB,sBAAsB,iBAAiB,iBAAiB,mBAAmB,mBAAmB,mBAAmB,mBAAmB,4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KAAS,WACPkyB,EAAmB/c,KAAKkB,MAAM5M,EAAI9I,QAAQ+mB,cAAc0K,WAAa3oB,EAAI9I,QAAQ+mB,cAAca,YAAc,GAC/G,GAAG,KACH,IAGF,OACE,yBAAKjsB,UAAW,gBACd,yBAAKA,UAAW,YAAek2B,SAAUD,GACvC,yBAAK9oB,IAAKA,EAAKnN,UAAW,YACX,QAAZ,EAAAE,EAAM21B,cAAM,a,EAAExyB,KAAI,SAAC8yB,GAAU,OAC5B,yBAAKn2B,UAAW,WACd,yBAAK0L,QAAQ,OAAO1L,UAAW,WAAc2iB,IAAKyT,UAAUD,KAFlC,IAKlB,QAAX,EAAAj2B,EAAMwjB,aAAK,a,EAAErgB,KAAI,W,IAAC,sDAAY,OAC7B,6BAAMnD,EAAMm2B,aAAY,MAAlBn2B,EAAsBwT,GADC,MAKlCrP,EAAU,GACT,yBAAKrE,UAAW,IAAW,WAAc,eAAkBE,EAAMo2B,oBAAqBr2B,QAAS+hB,GAC7F,kBAAC,GAAa,OAGjB3d,EAAUnE,EAAM21B,OAAOn1B,OAAS,GAC/B,yBAAKV,UAAW,IAAW,WAAc,eAAkBE,EAAMq2B,oBAAqBt2B,QAAS8hB,GAC7F,kBAAC,GAAa,OAGlB,yBAAK/hB,UAAW,iBACbg2B,EAAK3yB,KAAI,SAACkN,EAAGvG,G,MAAU,OACtB,yBAAKhK,UAAW,KAAU,KAAG,EAAC,cAAiBgK,IAAU2rB,EAAe,IAAKn3B,IAAKwL,GAD5D,KAMhC,C","sources":["webpack://dt-shared-front/webpack/universalModuleDefinition","webpack://dt-shared-front/./src/styles/main.scss?daab","webpack://dt-shared-front/./src/components/auto-complete/auto-complete.module.scss?347c","webpack://dt-shared-front/./src/components/breadcrumbs/breadcrumbs.module.scss?9288","webpack://dt-shared-front/./src/components/button/button.module.scss?cb5e","webpack://dt-shared-front/./src/components/calendar/calendar.module.scss?d2a5","webpack://dt-shared-front/./src/components/checkbox/checkbox.module.scss?c589","webpack://dt-shared-front/./src/components/counter/counter.module.scss?eb10","webpack://dt-shared-front/./src/components/divider/divider.module.scss?cca0","webpack://dt-shared-front/./src/components/dropdown/dropdown.module.scss?bf5c","webpack://dt-shared-front/./src/components/form-control/form-control.module.scss?1d9b","webpack://dt-shared-front/./src/components/gallery/gallery.module.scss?11c9","webpack://dt-shared-front/./src/components/heading/heading.module.scss?c8fa","webpack://dt-shared-front/./src/components/icon/icon.module.scss?2ae3","webpack://dt-shared-front/./src/components/info-block/info-block.module.scss?8408","webpack://dt-shared-front/./src/components/input/input.module.scss?2249","webpack://dt-shared-front/./src/components/link/link.module.scss?3df9","webpack://dt-shared-front/./src/components/loader-line/loader-line.module.scss?f044","webpack://dt-shared-front/./src/components/loader/loader.module.scss?3129","webpack://dt-shared-front/./src/components/message/message.module.scss?9673","webpack://dt-shared-front/./src/components/modal/modal.module.scss?8bb4","webpack://dt-shared-front/./src/components/popover/popover-tooltip.module.scss?55e1","webpack://dt-shared-front/./src/components/radio/radio.module.scss?c71c","webpack://dt-shared-front/./src/components/rating/rating.module.scss?580b","webpack://dt-shared-front/./src/components/select/select.module.scss?ca24","webpack://dt-shared-front/./src/components/skeleton/skeleton.module.scss?5b5e","webpack://dt-shared-front/./src/components/slider-easy/slider-easy.module.scss?890e","webpack://dt-shared-front/./src/components/slider/slider.module.scss?8aed","webpack://dt-shared-front/./src/components/spoiler/spoiler.module.scss?78de","webpack://dt-shared-front/./src/components/stacked-input/stacked-input.module.scss?96c5","webpack://dt-shared-front/./src/components/steps/steps.module.scss?bd87","webpack://dt-shared-front/./src/components/switch/switch.module.scss?711d","webpack://dt-shared-front/./src/components/tag-box/tag-box.module.scss?2943","webpack://dt-shared-front/./src/components/tag-button/tag-button.module.scss?fcb2","webpack://dt-shared-front/./src/components/text-area/text-area.module.scss?d1bd","webpack://dt-shared-front/./src/components/text-spoiler/text-spoiler.module.scss?6fc7","webpack://dt-shared-front/./src/components/text/text.module.scss?540d","webpack://dt-shared-front/./src/components/tooltip/tooltip.module.scss?bcc3","webpack://dt-shared-front/./src/components/upload/upload.module.scss","webpack://dt-shared-front/./src/components/views-count/views-count.module.scss?d022","webpack://dt-shared-front/./src/components/warning-block/warning-block.module.scss?932c","webpack://dt-shared-front/webpack/bootstrap","webpack://dt-shared-front/webpack/runtime/compat get default export","webpack://dt-shared-front/webpack/runtime/define property getters","webpack://dt-shared-front/webpack/runtime/hasOwnProperty shorthand","webpack://dt-shared-front/webpack/runtime/make namespace object","webpack://dt-shared-front/external commonjs \"tslib\"","webpack://dt-shared-front/external commonjs \"react\"","webpack://dt-shared-front/external commonjs \"lodash.debounce\"","webpack://dt-shared-front/external commonjs \"classnames\"","webpack://dt-shared-front/external commonjs \"antd/lib/auto-complete\"","webpack://dt-shared-front/./src/components/icon/icon.tsx","webpack://dt-shared-front/./src/components/icon/icons/select-arrow.svg","webpack://dt-shared-front/./src/components/icon/icons/clear.svg","webpack://dt-shared-front/./src/components/auto-complete/auto-complete.tsx","webpack://dt-shared-front/external commonjs \"react-media\"","webpack://dt-shared-front/./src/components/media/media.tsx","webpack://dt-shared-front/./src/components/icon/icons/breadcrubms-arrow.svg","webpack://dt-shared-front/./src/components/icon/icons/back.svg","webpack://dt-shared-front/./src/components/text/text.tsx","webpack://dt-shared-front/./src/providers/shared.provider.tsx","webpack://dt-shared-front/./src/components/link/link.tsx","webpack://dt-shared-front/./src/components/breadcrumbs/breadcrumbs.tsx","webpack://dt-shared-front/./src/components/icon/icons/button-loader.svg","webpack://dt-shared-front/./src/components/button/button.tsx","webpack://dt-shared-front/./src/components/counter/icons/counter-minus.svg","webpack://dt-shared-front/./src/components/checkbox/checkbox.tsx","webpack://dt-shared-front/./src/components/counter/icons/counter-plus.svg","webpack://dt-shared-front/./src/components/icon/icons/date-picker.svg","webpack://dt-shared-front/./src/components/counter/counter.tsx","webpack://dt-shared-front/external commonjs \"antd/lib/date-picker/generatePicker\"","webpack://dt-shared-front/external commonjs \"rc-picker/lib/generate/dateFns\"","webpack://dt-shared-front/external commonjs \"antd/lib/date-picker/locale/ru_RU\"","webpack://dt-shared-front/./src/components/icon/icons/input-search.svg","webpack://dt-shared-front/./src/components/icon/icons/input-loader.svg","webpack://dt-shared-front/external commonjs \"inputmask\"","webpack://dt-shared-front/./src/components/input/input.tsx","webpack://dt-shared-front/./src/components/date-picker/date-picker.tsx","webpack://dt-shared-front/./src/components/divider/divider.tsx","webpack://dt-shared-front/external commonjs \"antd/lib/dropdown\"","webpack://dt-shared-front/./src/components/dropdown/dropdown.tsx","webpack://dt-shared-front/external commonjs \"formik\"","webpack://dt-shared-front/./src/components/form/form-focus-error.tsx","webpack://dt-shared-front/./src/components/form/form.tsx","webpack://dt-shared-front/./src/components/form-control/form-control.tsx","webpack://dt-shared-front/./src/components/heading/heading.tsx","webpack://dt-shared-front/./src/components/utils/apple-detect.ts","webpack://dt-shared-front/./src/components/utils/combine-ref.ts","webpack://dt-shared-front/./src/components/utils/date-format.ts","webpack://dt-shared-front/./src/components/utils/date.ts","webpack://dt-shared-front/./src/components/utils/pluralize.ts","webpack://dt-shared-front/./src/components/utils/views-format.ts","webpack://dt-shared-front/./src/components/utils/price-format.ts","webpack://dt-shared-front/./src/components/utils/text-sanitize.ts","webpack://dt-shared-front/./src/components/utils/time-left.ts","webpack://dt-shared-front/./src/components/utils/index.ts","webpack://dt-shared-front/./src/components/loader/loader.tsx","webpack://dt-shared-front/./src/components/loader-line/loader-line.tsx","webpack://dt-shared-front/external commonjs \"antd/lib/menu\"","webpack://dt-shared-front/./src/components/menu/menu.tsx","webpack://dt-shared-front/external commonjs \"antd/lib/modal\"","webpack://dt-shared-front/./src/components/icon/icons/modal-close.svg","webpack://dt-shared-front/./src/components/icon/icons/arrow-next.svg","webpack://dt-shared-front/./src/components/modal/modal.tsx","webpack://dt-shared-front/./src/components/modal/modal.provider.tsx","webpack://dt-shared-front/./src/components/icon/icons/arrow-prev.svg","webpack://dt-shared-front/./src/components/gallery/gallery.tsx","webpack://dt-shared-front/external commonjs \"antd/lib/radio\"","webpack://dt-shared-front/./src/components/radio/radio.tsx","webpack://dt-shared-front/./src/components/range-picker/range-picker.tsx","webpack://dt-shared-front/external commonjs \"antd/lib/select\"","webpack://dt-shared-front/./src/components/select/icons/arrow.svg","webpack://dt-shared-front/./src/components/select/select-modal.tsx","webpack://dt-shared-front/./src/components/select/select.tsx","webpack://dt-shared-front/external commonjs \"antd/lib/slider\"","webpack://dt-shared-front/./src/components/selector/selector.tsx","webpack://dt-shared-front/external commonjs \"react-loading-skeleton\"","webpack://dt-shared-front/./src/components/skeleton/skeleton.tsx","webpack://dt-shared-front/external commonjs \"swiper/react\"","webpack://dt-shared-front/external commonjs \"swiper\"","webpack://dt-shared-front/./src/components/slider/slider.tsx","webpack://dt-shared-front/./src/components/icon/icons/spoiler-arrow.svg","webpack://dt-shared-front/./src/components/icon/icons/spoiler-arrow-active.svg","webpack://dt-shared-front/./src/components/spoiler/icons/shevron-opened.svg","webpack://dt-shared-front/./src/components/spoiler/icons/shevron-closed.svg","webpack://dt-shared-front/./src/components/switch/icons/disabled.svg","webpack://dt-shared-front/./src/components/spoiler/spoiler.tsx","webpack://dt-shared-front/./src/components/stacked-input/stacked-input.tsx","webpack://dt-shared-front/./src/components/switch/switch.tsx","webpack://dt-shared-front/./src/components/tag-box/tag-box.tsx","webpack://dt-shared-front/./src/components/tag-button/tag-button.tsx","webpack://dt-shared-front/./src/components/tag-button/tag-buttton-group.tsx","webpack://dt-shared-front/./src/components/text-area/text-area.tsx","webpack://dt-shared-front/./src/components/text-spoiler/text-spoiler.tsx","webpack://dt-shared-front/external commonjs \"react-dom\"","webpack://dt-shared-front/./src/components/tooltip/tooltip.utils.tsx","webpack://dt-shared-front/./src/components/tooltip/tooltip.tsx","webpack://dt-shared-front/external commonjs \"antd/lib/upload\"","webpack://dt-shared-front/./src/components/icon/icons/rating.svg","webpack://dt-shared-front/./src/components/upload/upload.tsx","webpack://dt-shared-front/./src/components/icon/icons/rating-active.svg","webpack://dt-shared-front/./src/components/icon/icons/eye.svg","webpack://dt-shared-front/./src/components/rating/rating.tsx","webpack://dt-shared-front/./src/components/views-count/views-count.tsx","webpack://dt-shared-front/./src/components/icon/icons/success.svg","webpack://dt-shared-front/./src/components/icon/icons/error.svg","webpack://dt-shared-front/./src/components/icon/icons/warning.svg","webpack://dt-shared-front/./src/components/icon/icons/info.svg","webpack://dt-shared-front/./src/components/message/message.tsx","webpack://dt-shared-front/./src/components/steps/steps-arrow.svg","webpack://dt-shared-front/./src/components/warning-block/warning-block.tsx","webpack://dt-shared-front/./src/components/popover/popover-tooltip.utils.tsx","webpack://dt-shared-front/./src/components/steps/steps.tsx","webpack://dt-shared-front/./src/components/popover/icons/popover-close.svg","webpack://dt-shared-front/./src/components/popover/popover-tooltip.tsx","webpack://dt-shared-front/./src/components/popover/popover.tsx","webpack://dt-shared-front/./src/components/popover/popover.provider.tsx","webpack://dt-shared-front/./src/service/service.adapter.ts","webpack://dt-shared-front/external commonjs \"axios\"","webpack://dt-shared-front/./src/service/service.ts","webpack://dt-shared-front/external commonjs \"antd/lib/notification\"","webpack://dt-shared-front/./src/components/info-block/icons/warning.svg","webpack://dt-shared-front/./src/components/toast/toast.ts","webpack://dt-shared-front/./src/components/info-block/icons/error.svg","webpack://dt-shared-front/./src/components/info-block/info-block.tsx","webpack://dt-shared-front/external commonjs \"date-fns/addMonths\"","webpack://dt-shared-front/external commonjs \"date-fns/startOfDay\"","webpack://dt-shared-front/external commonjs \"date-fns/addDays\"","webpack://dt-shared-front/external commonjs \"date-fns/differenceInCalendarDays\"","webpack://dt-shared-front/./src/components/slider-easy/icons/arrow-prev.svg","webpack://dt-shared-front/./src/components/calendar/calendar.tsx","webpack://dt-shared-front/./src/components/slider-easy/icons/arrow-next.svg","webpack://dt-shared-front/./src/components/slider-easy/slider-easy.tsx"],"sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"dt-shared-front\"] = factory();\n\telse\n\t\troot[\"dt-shared-front\"] = factory();\n})(this, () => {\nreturn ","// extracted by mini-css-extract-plugin\nmodule.exports = {\"swiper-container\":\"swiper-container\",\"swiper-container-vertical\":\"swiper-container-vertical\",\"swiper-wrapper\":\"swiper-wrapper\",\"swiper-container-android\":\"swiper-container-android\",\"swiper-slide\":\"swiper-slide\",\"swiper-container-multirow\":\"swiper-container-multirow\",\"swiper-container-multirow-column\":\"swiper-container-multirow-column\",\"swiper-container-free-mode\":\"swiper-container-free-mode\",\"swiper-container-pointer-events\":\"swiper-container-pointer-events\",\"swiper-slide-invisible-blank\":\"swiper-slide-invisible-blank\",\"swiper-container-autoheight\":\"swiper-container-autoheight\",\"swiper-container-3d\":\"swiper-container-3d\",\"swiper-slide-shadow-left\":\"swiper-slide-shadow-left\",\"swiper-slide-shadow-right\":\"swiper-slide-shadow-right\",\"swiper-slide-shadow-top\":\"swiper-slide-shadow-top\",\"swiper-slide-shadow-bottom\":\"swiper-slide-shadow-bottom\",\"swiper-cube-shadow\":\"swiper-cube-shadow\",\"swiper-container-css-mode\":\"swiper-container-css-mode\",\"swiper-container-horizontal\":\"swiper-container-horizontal\",\"swiper-container-fade\":\"swiper-container-fade\",\"swiper-slide-active\":\"swiper-slide-active\",\"swiper-button-prev\":\"swiper-button-prev\",\"swiper-button-next\":\"swiper-button-next\",\"swiper-button-disabled\":\"swiper-button-disabled\",\"swiper-container-rtl\":\"swiper-container-rtl\",\"swiper-button-white\":\"swiper-button-white\",\"swiper-button-black\":\"swiper-button-black\",\"swiper-button-lock\":\"swiper-button-lock\",\"ant-collapse-header\":\"ant-collapse-header\",\"ant-collapse-content\":\"ant-collapse-content\",\"ant-collapse-content-box\":\"ant-collapse-content-box\",\"ant-modal-no-padding\":\"ant-modal-no-padding\",\"ant-modal-body\":\"ant-modal-body\",\"ant-modal-content\":\"ant-modal-content\",\"ant-select\":\"ant-select\",\"ant-select-customize-input\":\"ant-select-customize-input\",\"ant-select-selection-search-input\":\"ant-select-selection-search-input\",\"ant-select-auto-complete\":\"ant-select-auto-complete\",\"ant-select-borderless\":\"ant-select-borderless\",\"ant-select-selector\":\"ant-select-selector\",\"select-stacked\":\"select-stacked\",\"ant-select-arrow\":\"ant-select-arrow\",\"ant-select-clear\":\"ant-select-clear\",\"ant-select-selection-item\":\"ant-select-selection-item\",\"isWbTheme\":\"isWbTheme\",\"ant-select-loading\":\"ant-select-loading\",\"custom-suffix-icon\":\"custom-suffix-icon\",\"ant-select-selection-placeholder\":\"ant-select-selection-placeholder\",\"ant-select-selection-search\":\"ant-select-selection-search\",\"input-no-border\":\"input-no-border\",\"ant-select-open\":\"ant-select-open\",\"ant-select-disabled\":\"ant-select-disabled\",\"select-error\":\"select-error\",\"ant-tag-box-customize-input\":\"ant-tag-box-customize-input\",\"ant-select-selection-item-remove\":\"ant-select-selection-item-remove\",\"ant-select-selection-overflow\":\"ant-select-selection-overflow\",\"ant-select-multiple\":\"ant-select-multiple\",\"ant-select-focused\":\"ant-select-focused\",\"ant-select-dropdown\":\"ant-select-dropdown\",\"rc-virtual-list-holder-inner\":\"rc-virtual-list-holder-inner\",\"ant-select-item\":\"ant-select-item\",\"ant-select-item-option\":\"ant-select-item-option\",\"ant-select-item-option-active\":\"ant-select-item-option-active\",\"ant-select-item-option-disabled\":\"ant-select-item-option-disabled\",\"ant-select-item-option-selected\":\"ant-select-item-option-selected\",\"isMobileModal\":\"isMobileModal\",\"ant-radio-group-customize\":\"ant-radio-group-customize\",\"horizontal\":\"horizontal\",\"vertical\":\"vertical\",\"ant-radio-customize\":\"ant-radio-customize\",\"ant-radio-wrapper\":\"ant-radio-wrapper\",\"ant-radio\":\"ant-radio\",\"ant-radio-disabled\":\"ant-radio-disabled\",\"ant-radio-inner\":\"ant-radio-inner\",\"ant-radio-input\":\"ant-radio-input\",\"ant-radio-checked\":\"ant-radio-checked\",\"ant-picker-dropdown\":\"ant-picker-dropdown\",\"ant-picker-dropdown-range\":\"ant-picker-dropdown-range\",\"ant-picker\":\"ant-picker\",\"ant-picker-borderless\":\"ant-picker-borderless\",\"ant-picker-range-wrapper\":\"ant-picker-range-wrapper\",\"date-picker-error\":\"date-picker-error\",\"ant-picker-disabled\":\"ant-picker-disabled\",\"ant-picker-suffix\":\"ant-picker-suffix\",\"ant-picker-active-bar\":\"ant-picker-active-bar\",\"ant-picker-input\":\"ant-picker-input\",\"ant-picker-focused\":\"ant-picker-focused\",\"ant-picker-clear\":\"ant-picker-clear\",\"ant-picker-panel-container\":\"ant-picker-panel-container\",\"ant-picker-panel\":\"ant-picker-panel\",\"ant-picker-cell\":\"ant-picker-cell\",\"ant-picker-cell-inner\":\"ant-picker-cell-inner\",\"ant-picker-content\":\"ant-picker-content\",\"ant-picker-header\":\"ant-picker-header\",\"ant-picker-footer\":\"ant-picker-footer\",\"ant-picker-header-super-next-btn\":\"ant-picker-header-super-next-btn\",\"ant-picker-header-super-prev-btn\":\"ant-picker-header-super-prev-btn\",\"ant-picker-prev-icon\":\"ant-picker-prev-icon\",\"ant-picker-next-icon\":\"ant-picker-next-icon\",\"ant-picker-date-panel\":\"ant-picker-date-panel\",\"ant-picker-header-view\":\"ant-picker-header-view\",\"ant-picker-month-btn\":\"ant-picker-month-btn\",\"ant-picker-year-btn\":\"ant-picker-year-btn\",\"ant-picker-header-prev-btn\":\"ant-picker-header-prev-btn\",\"ant-picker-header-next-btn\":\"ant-picker-header-next-btn\",\"ant-picker-range\":\"ant-picker-range\",\"ant-picker-cell-in-view\":\"ant-picker-cell-in-view\",\"ant-picker-cell-selected\":\"ant-picker-cell-selected\",\"ant-picker-cell-range-start\":\"ant-picker-cell-range-start\",\"ant-picker-cell-range-end\":\"ant-picker-cell-range-end\",\"ant-picker-cell-range-hover-start\":\"ant-picker-cell-range-hover-start\",\"ant-picker-cell-in-range\":\"ant-picker-cell-in-range\",\"ant-picker-cell-range-hover-end\":\"ant-picker-cell-range-hover-end\",\"ant-picker-cell-range-start-single\":\"ant-picker-cell-range-start-single\",\"ant-picker-cell-range-end-near-hover\":\"ant-picker-cell-range-end-near-hover\",\"ant-picker-cell-range-start-near-hover\":\"ant-picker-cell-range-start-near-hover\",\"ant-picker-cell-range-end-single\":\"ant-picker-cell-range-end-single\",\"ant-picker-cell-range-hover\":\"ant-picker-cell-range-hover\",\"ant-picker-cell-end\":\"ant-picker-cell-end\",\"ant-picker-cell-range-hover-edge-end\":\"ant-picker-cell-range-hover-edge-end\",\"ant-picker-cell-range-hover-edge-end-near-range\":\"ant-picker-cell-range-hover-edge-end-near-range\",\"ant-picker-cell-start\":\"ant-picker-cell-start\",\"ant-picker-cell-range-hover-edge-start\":\"ant-picker-cell-range-hover-edge-start\",\"ant-picker-cell-range-hover-edge-start-near-range\":\"ant-picker-cell-range-hover-edge-start-near-range\",\"ant-picker-panels\":\"ant-picker-panels\",\"ant-picker-footer-extra\":\"ant-picker-footer-extra\",\"ant-tooltip-customize\":\"ant-tooltip-customize\",\"ant-tooltip-inner\":\"ant-tooltip-inner\",\"ant-slider-tooltip\":\"ant-slider-tooltip\",\"ant-tooltip-arrow-content\":\"ant-tooltip-arrow-content\",\"ant-slider\":\"ant-slider\",\"ant-slider-track\":\"ant-slider-track\",\"ant-slider-rail\":\"ant-slider-rail\",\"ant-slider-handle\":\"ant-slider-handle\",\"ant-tooltip-open\":\"ant-tooltip-open\",\"ant-modal-gallery\":\"ant-modal-gallery\",\"ant-modal-close\":\"ant-modal-close\",\"ant-modal-full\":\"ant-modal-full\",\"ant-modal-gray\":\"ant-modal-gray\",\"ant-modal-header\":\"ant-modal-header\",\"ant-modal-sidebar\":\"ant-modal-sidebar\",\"ant-modal-footer-fixed\":\"ant-modal-footer-fixed\",\"ant-modal-footer\":\"ant-modal-footer\",\"ant-modal-hide-close\":\"ant-modal-hide-close\",\"ant-modal-title\":\"ant-modal-title\",\"ant-modal-close-x\":\"ant-modal-close-x\",\"am-modal-wrap\":\"am-modal-wrap\",\"am-modal\":\"am-modal\",\"am-modal-body\":\"am-modal-body\",\"am-modal-content\":\"am-modal-content\",\"am-modal-close\":\"am-modal-close\",\"ant-modal-wrap\":\"ant-modal-wrap\",\"am-modal-header\":\"am-modal-header\",\"am-modal-title\":\"am-modal-title\",\"ant-modal-tablet-popup\":\"ant-modal-tablet-popup\",\"ant-upload\":\"ant-upload\",\"ant-upload-drag\":\"ant-upload-drag\",\"ant-upload-disabled\":\"ant-upload-disabled\",\"ant-upload-drag-hover\":\"ant-upload-drag-hover\",\"ant-upload-list-item-name\":\"ant-upload-list-item-name\",\"ant-upload-animate-leave\":\"ant-upload-animate-leave\",\"react-loading-skeleton\":\"react-loading-skeleton\",\"ant-dropdown-menu\":\"ant-dropdown-menu\",\"ant-dropdown-menu-item\":\"ant-dropdown-menu-item\",\"ant-dropdown-menu-submenu-title\":\"ant-dropdown-menu-submenu-title\",\"ant-dropdown-menu-item-selected\":\"ant-dropdown-menu-item-selected\",\"ant-dropdown-menu-submenu-title-selected\":\"ant-dropdown-menu-submenu-title-selected\",\"shared-toast\":\"shared-toast\",\"ant-notification-notice\":\"ant-notification-notice\",\"ant-notification-notice-message\":\"ant-notification-notice-message\",\"ant-notification-notice-with-icon\":\"ant-notification-notice-with-icon\",\"ant-notification-notice-description\":\"ant-notification-notice-description\",\"ant-notification-notice-icon\":\"ant-notification-notice-icon\",\"horizontal-scroll\":\"horizontal-scroll\",\"slider\":\"slider\",\"swiper-pagination\":\"swiper-pagination\",\"overflow\":\"overflow\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"autoComplete\":\"shared__auto-complete-module__autoComplete--E+tq+_1756137466815\",\"hasLabel\":\"shared__auto-complete-module__hasLabel--t+Z8x_1756137466815\",\"disabled\":\"shared__auto-complete-module__disabled--3VMd2_1756137466815\",\"invalid\":\"shared__auto-complete-module__invalid--yHbC5_1756137466815\",\"optionText\":\"shared__auto-complete-module__optionText--saGcQ_1756137466815\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"breadcrumbs\":\"shared__breadcrumbs-module__breadcrumbs--LxNAe_1756137466815\",\"text\":\"shared__breadcrumbs-module__text--x8KXW_1756137466815\",\"breadcrumbsLink\":\"shared__breadcrumbs-module__breadcrumbsLink--eg3Ec_1756137466815\",\"back\":\"shared__breadcrumbs-module__back--vlgPL_1756137466815\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"button\":\"shared__button-module__button--X-qXA_1756137466815\",\"button__smallS\":\"shared__button-module__button__smallS--eulj7_1756137466815\",\"withIcon\":\"shared__button-module__withIcon--J7ifR_1756137466815\",\"button__small\":\"shared__button-module__button__small--kA9VI_1756137466815\",\"isWbTheme\":\"shared__button-module__isWbTheme--cDz40_1756137466815\",\"button__medium\":\"shared__button-module__button__medium--E71L1_1756137466815\",\"button__large\":\"shared__button-module__button__large--PG1dR_1756137466815\",\"button__default\":\"shared__button-module__button__default--mYOHn_1756137466815\",\"button__secondary\":\"shared__button-module__button__secondary--bPOB9_1756137466815\",\"button__tertiary\":\"shared__button-module__button__tertiary--6HFY9_1756137466815\",\"button__outline\":\"shared__button-module__button__outline--EXQ9z_1756137466815\",\"button__icon_left\":\"shared__button-module__button__icon_left--EzgVg_1756137466815\",\"button__icon_right\":\"shared__button-module__button__icon_right--uPFlS_1756137466815\",\"loading\":\"shared__button-module__loading--IZ3gt_1756137466815\",\"icon\":\"shared__button-module__icon--Gso9o_1756137466815\",\"icon__smallS\":\"shared__button-module__icon__smallS--BQwBb_1756137466815\",\"icon__small\":\"shared__button-module__icon__small--SgRrC_1756137466815\",\"icon__medium\":\"shared__button-module__icon__medium--3L-IQ_1756137466815\",\"icon__large\":\"shared__button-module__icon__large--WSggm_1756137466815\",\"icon__default\":\"shared__button-module__icon__default--MzXx8_1756137466815\",\"icon__secondary\":\"shared__button-module__icon__secondary--n0RQn_1756137466815\",\"icon__only\":\"shared__button-module__icon__only--fpWXx_1756137466815\",\"loader\":\"shared__button-module__loader--v14UE_1756137466815\",\"loader__medium\":\"shared__button-module__loader__medium--7pr9v_1756137466815\",\"loader__large\":\"shared__button-module__loader__large--S4tzp_1756137466815\",\"loader__default\":\"shared__button-module__loader__default--5X5UT_1756137466815\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"calendar\":\"shared__calendar-module__calendar--u1HKw_1756137466815\",\"heading\":\"shared__calendar-module__heading--3QhLt_1756137466815\",\"days\":\"shared__calendar-module__days--MGiti_1756137466815\",\"days_rails\":\"shared__calendar-module__days_rails--X2ReV_1756137466815\",\"ranged\":\"shared__calendar-module__ranged--RNFpf_1756137466815\",\"rangedHotel\":\"shared__calendar-module__rangedHotel--mQrdh_1756137466815\",\"preSelect\":\"shared__calendar-module__preSelect--g0wCP_1756137466815\",\"start\":\"shared__calendar-module__start--3C4zV_1756137466815\",\"startHotel\":\"shared__calendar-module__startHotel--BaN7M_1756137466815\",\"selectedHotel\":\"shared__calendar-module__selectedHotel--xrUaI_1756137466815\",\"endHotel\":\"shared__calendar-module__endHotel--7AVuQ_1756137466815\",\"end\":\"shared__calendar-module__end--n1j8b_1756137466815\",\"disabled\":\"shared__calendar-module__disabled--Q-TaX_1756137466815\",\"selected\":\"shared__calendar-module__selected--tyWWw_1756137466815\",\"rail\":\"shared__calendar-module__rail--yrgg6_1756137466815\",\"badge\":\"shared__calendar-module__badge--fProa_1756137466815\",\"num\":\"shared__calendar-module__num--XY7Cp_1756137466815\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"checkbox\":\"shared__checkbox-module__checkbox--jOEle_1756137466815\",\"error\":\"shared__checkbox-module__error--xRaxv_1756137466815\",\"isWbTheme\":\"shared__checkbox-module__isWbTheme--mRLXg_1756137466815\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"counter\":\"shared__counter-module__counter--po6fU_1756137466815\",\"button\":\"shared__counter-module__button--sOvjE_1756137466815\",\"value\":\"shared__counter-module__value--JD2xM_1756137466815\",\"isWbTheme\":\"shared__counter-module__isWbTheme--8v44d_1756137466815\",\"disabled\":\"shared__counter-module__disabled--g0D9K_1756137466815\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"bordered\":\"shared__divider-module__bordered--8qnHN_1756137466815\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"dropdown\":\"shared__dropdown-module__dropdown--fuFze_1756137466815\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"label\":\"shared__form-control-module__label--0QO0D_1756137466815\",\"error\":\"shared__form-control-module__error--FVB3Z_1756137466815\",\"invalid\":\"shared__form-control-module__invalid--LEqRn_1756137466815\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"gallery\":\"shared__gallery-module__gallery--gb0c0_1756137466815\",\"counter\":\"shared__gallery-module__counter--RXshZ_1756137466815\",\"buttonPrev\":\"shared__gallery-module__buttonPrev--X93Ad_1756137466815\",\"buttonNext\":\"shared__gallery-module__buttonNext--e-b6M_1756137466815\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"heading\":\"shared__heading-module__heading--8sR8x_1756137466815\",\"heading__h1\":\"shared__heading-module__heading__h1--R6zxl_1756137466815\",\"isWbTheme\":\"shared__heading-module__isWbTheme--No1pQ_1756137466815\",\"heading__h2\":\"shared__heading-module__heading__h2--R3bM8_1756137466815\",\"heading__h3\":\"shared__heading-module__heading__h3--XTX7i_1756137466815\",\"heading__h4\":\"shared__heading-module__heading__h4--iTCuq_1756137466815\",\"heading__h5\":\"shared__heading-module__heading__h5--WR5IM_1756137466815\",\"heading__h6\":\"shared__heading-module__heading__h6--ZnM+T_1756137466815\",\"heading__mob__h1\":\"shared__heading-module__heading__mob__h1--HTcn+_1756137466815\",\"heading__mob__h2\":\"shared__heading-module__heading__mob__h2--eR6By_1756137466815\",\"heading__mob__h3\":\"shared__heading-module__heading__mob__h3--b9NJ6_1756137466815\",\"heading__mob__h4\":\"shared__heading-module__heading__mob__h4--CroIA_1756137466815\",\"heading__mob__h5\":\"shared__heading-module__heading__mob__h5--Vy2mS_1756137466815\",\"heading__mob__h6\":\"shared__heading-module__heading__mob__h6--6k6vL_1756137466815\",\"heading__weight_bold\":\"shared__heading-module__heading__weight_bold--6Hr8P_1756137466815\",\"heading__weight_medium\":\"shared__heading-module__heading__weight_medium--LAW22_1756137466815\",\"heading__weight_regular\":\"shared__heading-module__heading__weight_regular--vV61+_1756137466815\",\"heading__variant_default\":\"shared__heading-module__heading__variant_default--w64ZQ_1756137466815\",\"heading__variant_addition\":\"shared__heading-module__heading__variant_addition--N5KKv_1756137466815\",\"heading__variant_light\":\"shared__heading-module__heading__variant_light--WmpiP_1756137466815\",\"heading__variant_disabled\":\"shared__heading-module__heading__variant_disabled--M+jqa_1756137466815\",\"heading__variant_attention\":\"shared__heading-module__heading__variant_attention--US60O_1756137466815\",\"heading__variant_error\":\"shared__heading-module__heading__variant_error--ErlNt_1756137466815\",\"heading__variant_success\":\"shared__heading-module__heading__variant_success--LkZsY_1756137466815\",\"heading__variant_warning\":\"shared__heading-module__heading__variant_warning--XEnSb_1756137466815\",\"heading__variant_inverse\":\"shared__heading-module__heading__variant_inverse--Y0-U2_1756137466815\",\"textAddition\":\"shared__heading-module__textAddition--AJUlA_1756137466815\",\"textAttention\":\"shared__heading-module__textAttention--t8+tt_1756137466815\",\"textBold\":\"shared__heading-module__textBold--n8fQX_1756137466815\",\"textInverse\":\"shared__heading-module__textInverse--S-jep_1756137466815\",\"textError\":\"shared__heading-module__textError--Bm1mE_1756137466815\",\"textSuccess\":\"shared__heading-module__textSuccess--Q3GD+_1756137466815\",\"textWarning\":\"shared__heading-module__textWarning--f-7yo_1756137466815\",\"centerText\":\"shared__heading-module__centerText--CM0Hq_1756137466815\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"icon\":\"shared__icon-module__icon--Gnxeg_1756137466815\",\"icon__extraSmall\":\"shared__icon-module__icon__extraSmall--QDZdT_1756137466815\",\"icon__small\":\"shared__icon-module__icon__small--QBFuN_1756137466815\",\"icon__medium\":\"shared__icon-module__icon__medium--X-ly8_1756137466815\",\"icon__large\":\"shared__icon-module__icon__large--DzFuI_1756137466815\",\"icon__default\":\"shared__icon-module__icon__default--hQThA_1756137466815\",\"clickable\":\"shared__icon-module__clickable--3yjIa_1756137466815\",\"active\":\"shared__icon-module__active--HQWC5_1756137466815\",\"icon__warning\":\"shared__icon-module__icon__warning--TjqHn_1756137466815\",\"icon__error\":\"shared__icon-module__icon__error--TWoUG_1756137466815\",\"icon__neutral\":\"shared__icon-module__icon__neutral---PsGn_1756137466815\",\"icon__success\":\"shared__icon-module__icon__success--2ASUM_1756137466815\",\"icon__secondary\":\"shared__icon-module__icon__secondary--ws0VX_1756137466815\",\"icon__black\":\"shared__icon-module__icon__black--AVPMK_1756137466815\",\"icon__attention\":\"shared__icon-module__icon__attention--HiOeb_1756137466815\",\"icon__revert\":\"shared__icon-module__icon__revert--O4CPt_1756137466815\",\"icon__inherit\":\"shared__icon-module__icon__inherit--NeIkw_1756137466815\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"block\":\"shared__info-block-module__block--JolgJ_1756137466815\",\"block__warning\":\"shared__info-block-module__block__warning--MQ8Ix_1756137466815\",\"block__error\":\"shared__info-block-module__block__error--23Zvv_1756137466815\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"input\":\"shared__input-module__input--5GrwX_1756137466815\",\"input__medium\":\"shared__input-module__input__medium--g-8te_1756137466815\",\"label\":\"shared__input-module__label--tNO2a_1756137466815\",\"isWbTheme\":\"shared__input-module__isWbTheme--9TPrj_1756137466815\",\"input__small\":\"shared__input-module__input__small--PcnoR_1756137466815\",\"input__large\":\"shared__input-module__input__large--p-mBr_1756137466815\",\"input__action_medium\":\"shared__input-module__input__action_medium--hkQ1t_1756137466815\",\"input__actions_medium\":\"shared__input-module__input__actions_medium---YV3O_1756137466815\",\"input__action_large\":\"shared__input-module__input__action_large--64pM0_1756137466815\",\"input__actions_large\":\"shared__input-module__input__actions_large--kznb7_1756137466815\",\"input__actions_left\":\"shared__input-module__input__actions_left--mVKC8_1756137466815\",\"input__pure\":\"shared__input-module__input__pure--NNC8N_1756137466815\",\"disabled\":\"shared__input-module__disabled--ABDAb_1756137466815\",\"invalid\":\"shared__input-module__invalid--e--FF_1756137466815\",\"input__outlined\":\"shared__input-module__input__outlined--p-xCA_1756137466815\",\"input__filled\":\"shared__input-module__input__filled---tBbi_1756137466815\",\"clear\":\"shared__input-module__clear--OvXQO_1756137466815\",\"clear__large\":\"shared__input-module__clear__large--sWuYu_1756137466815\",\"clear__medium\":\"shared__input-module__clear__medium--09aiH_1756137466815\",\"clear__small\":\"shared__input-module__clear__small--0oTAe_1756137466815\",\"clear__action_medium\":\"shared__input-module__clear__action_medium--zfylI_1756137466815\",\"clear__action_left\":\"shared__input-module__clear__action_left--IEVa+_1756137466815\",\"clear__action_right\":\"shared__input-module__clear__action_right--10aXM_1756137466815\",\"clear__outlined\":\"shared__input-module__clear__outlined--iICxm_1756137466815\",\"icon\":\"shared__input-module__icon--zr4sW_1756137466815\",\"icon__large\":\"shared__input-module__icon__large--89dxq_1756137466815\",\"icon__small\":\"shared__input-module__icon__small--jC+EB_1756137466815\",\"icon__left\":\"shared__input-module__icon__left--hzu2X_1756137466815\",\"icon__right\":\"shared__input-module__icon__right--+QcVn_1756137466815\",\"icon__medium\":\"shared__input-module__icon__medium--GDtvJ_1756137466815\",\"icon__outlined\":\"shared__input-module__icon__outlined--dZgJq_1756137466815\",\"loader\":\"shared__input-module__loader--QYYkV_1756137466815\",\"loader__large\":\"shared__input-module__loader__large--Y9WB3_1756137466815\",\"loader__left\":\"shared__input-module__loader__left--U2pC4_1756137466815\",\"loader__right\":\"shared__input-module__loader__right--d0vTf_1756137466815\",\"loader__medium\":\"shared__input-module__loader__medium--QKgq8_1756137466815\",\"loader__small\":\"shared__input-module__loader__small--wiaoQ_1756137466815\",\"loader__outlined\":\"shared__input-module__loader__outlined--rHN8w_1756137466815\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"link\":\"shared__link-module__link--NcxZW_1756137466815\",\"link__underline\":\"shared__link-module__link__underline--7nVnP_1756137466815\",\"link__dashed\":\"shared__link-module__link__dashed--1tYsI_1756137466815\",\"link__link\":\"shared__link-module__link__link--gUwQW_1756137466815\",\"link__action\":\"shared__link-module__link__action--USwiE_1756137466815\",\"link__href\":\"shared__link-module__link__href--uTZ+A_1756137466815\",\"link__addition\":\"shared__link-module__link__addition--N+nsf_1756137466815\",\"link__attention\":\"shared__link-module__link__attention--P5GDN_1756137466815\",\"link__default\":\"shared__link-module__link__default--SOoTy_1756137466815\",\"link__success\":\"shared__link-module__link__success--oWpqh_1756137466815\",\"link__error\":\"shared__link-module__link__error--SNmQa_1756137466815\",\"link__inverse\":\"shared__link-module__link__inverse--i1RLl_1756137466815\",\"link__small\":\"shared__link-module__link__small--alNG-_1756137466815\",\"link__medium\":\"shared__link-module__link__medium--LJlDF_1756137466815\",\"link__large\":\"shared__link-module__link__large--2gcWq_1756137466815\",\"link__normal\":\"shared__link-module__link__normal--acQvJ_1756137466815\",\"link__semibold\":\"shared__link-module__link__semibold---tOWl_1756137466815\",\"link__bold\":\"shared__link-module__link__bold--QUUtI_1756137466815\",\"icon\":\"shared__link-module__icon--DUvf4_1756137466815\",\"icon__small\":\"shared__link-module__icon__small--Z11Nw_1756137466815\",\"icon__medium\":\"shared__link-module__icon__medium--rSXi1_1756137466815\",\"icon__large\":\"shared__link-module__icon__large--tIKI0_1756137466815\",\"icon__only\":\"shared__link-module__icon__only--nGgQ8_1756137466815\",\"linkBold\":\"shared__link-module__linkBold--E4KSC_1756137466815\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"loaderLine\":\"shared__loader-line-module__loaderLine--EZc2J_1756137466815\",\"bar\":\"shared__loader-line-module__bar--uH4lA_1756137466815\",\"active\":\"shared__loader-line-module__active--0J8lF_1756137466815\",\"loader-animation\":\"shared__loader-line-module__loader-animation--cSq+I_1756137466815\",\"border\":\"shared__loader-line-module__border--OXwgu_1756137466815\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"loader\":\"shared__loader-module__loader--ErOFa_1756137466815\",\"absolute\":\"shared__loader-module__absolute--nggvH_1756137466815\",\"active\":\"shared__loader-module__active--+b4cN_1756137466815\",\"fixed\":\"shared__loader-module__fixed--CUw3s_1756137466815\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"shared__message-module__container--3JHwS_1756137466815\",\"container__success\":\"shared__message-module__container__success--w4A5v_1756137466815\",\"container__error\":\"shared__message-module__container__error--md-mJ_1756137466815\",\"container__warning\":\"shared__message-module__container__warning--BJX+a_1756137466815\",\"container__info\":\"shared__message-module__container__info--6ZJPA_1756137466815\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"footer\":\"shared__modal-module__footer--wpZLV_1756137466815\",\"header\":\"shared__modal-module__header--RWaWy_1756137466815\",\"close\":\"shared__modal-module__close--wqN+L_1756137466815\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"tooltip\":\"shared__popover-tooltip-module__tooltip--Vxc91_1756137466815\",\"arrow\":\"shared__popover-tooltip-module__arrow--6PTMq_1756137466815\",\"left\":\"shared__popover-tooltip-module__left--g7SZQ_1756137466815\",\"right\":\"shared__popover-tooltip-module__right--+rCAJ_1756137466815\",\"top\":\"shared__popover-tooltip-module__top--s5iLQ_1756137466815\",\"bottom\":\"shared__popover-tooltip-module__bottom--PxuD3_1756137466815\",\"close\":\"shared__popover-tooltip-module__close--VDmb9_1756137466815\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"invalid\":\"shared__radio-module__invalid--6ByqJ_1756137466815\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"rating\":\"shared__rating-module__rating--eoGNU_1756137466815\",\"stars\":\"shared__rating-module__stars--dnMg4_1756137466815\",\"buttons\":\"shared__rating-module__buttons--oat0X_1756137466815\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"select\":\"shared__select-module__select--cm-a3_1756137466815\",\"hasLabel\":\"shared__select-module__hasLabel--ZRS9W_1756137466815\",\"disabled\":\"shared__select-module__disabled--gfQp-_1756137466815\",\"invalid\":\"shared__select-module__invalid--rXHCJ_1756137466815\",\"optionText\":\"shared__select-module__optionText--7GphM_1756137466815\",\"isWbTheme\":\"shared__select-module__isWbTheme--esUdx_1756137466815\",\"mobileModal\":\"shared__select-module__mobileModal--SSvHy_1756137466815\",\"option\":\"shared__select-module__option--Ev-7r_1756137466815\",\"option_selected\":\"shared__select-module__option_selected--djYI5_1756137466815\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"skeleton__default\":\"shared__skeleton-module__skeleton__default--akLOr_1756137466815\",\"skeleton__inverse\":\"shared__skeleton-module__skeleton__inverse--MQ3m6_1756137466815\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"shared__slider-easy-module__container--hPL+C_1756137466815\",\"scroll\":\"shared__slider-easy-module__scroll--UyUTh_1756137466815\",\"items\":\"shared__slider-easy-module__items--M1Jtj_1756137466815\",\"item\":\"shared__slider-easy-module__item--UyT7Z_1756137466815\",\"image\":\"shared__slider-easy-module__image--6geu7_1756137466815\",\"arrow\":\"shared__slider-easy-module__arrow--4jJUM_1756137466815\",\"arrowPrev\":\"shared__slider-easy-module__arrowPrev--kmNpn_1756137466815\",\"arrowNext\":\"shared__slider-easy-module__arrowNext--eaFMG_1756137466815\",\"pagination\":\"shared__slider-easy-module__pagination--cL0m+_1756137466815\",\"current\":\"shared__slider-easy-module__current--uB4eg_1756137466815\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"sliderContainer\":\"shared__slider-module__sliderContainer--KGFdN_1756137466815\",\"swiperSlide\":\"shared__slider-module__swiperSlide--es2Vl_1756137466815\",\"swiperSlideAuto\":\"shared__slider-module__swiperSlideAuto--Cwk8-_1756137466815\",\"sliderAutoLoop\":\"shared__slider-module__sliderAutoLoop--0OphC_1756137466815\",\"ready\":\"shared__slider-module__ready--H+y-p_1756137466815\",\"slider\":\"shared__slider-module__slider--UBNwU_1756137466815\",\"swiper-pagination-bullets\":\"shared__slider-module__swiper-pagination-bullets--PckKH_1756137466815\",\"swiperPaginationHidden\":\"shared__slider-module__swiperPaginationHidden--k4CIT_1756137466815\",\"buttonSlider\":\"shared__slider-module__buttonSlider---MRF3_1756137466815\",\"buttonSlider__prev\":\"shared__slider-module__buttonSlider__prev--X4kyB_1756137466815\",\"buttonSlider__prev_inset\":\"shared__slider-module__buttonSlider__prev_inset--3192S_1756137466815\",\"buttonSlider__next\":\"shared__slider-module__buttonSlider__next--JognR_1756137466815\",\"buttonSlider__next_inset\":\"shared__slider-module__buttonSlider__next_inset--HcKU3_1756137466815\",\"buttonSlider__hidden\":\"shared__slider-module__buttonSlider__hidden--BgKX-_1756137466815\",\"sliderCounter\":\"shared__slider-module__sliderCounter--ynG2f_1756137466815\",\"sliderCounter__text\":\"shared__slider-module__sliderCounter__text--kgEVd_1756137466815\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"spoiler\":\"shared__spoiler-module__spoiler--siWfv_1756137466815\",\"title\":\"shared__spoiler-module__title--N0ID7_1756137466815\",\"arrow\":\"shared__spoiler-module__arrow--VISBf_1756137466815\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"stacked_input\":\"shared__stacked-input-module__stacked_input--gd2Dh_1756137466815\",\"stacked_input__select\":\"shared__stacked-input-module__stacked_input__select--ewS4D_1756137466815\",\"stacked_input__input\":\"shared__stacked-input-module__stacked_input__input--t1qul_1756137466815\",\"focused\":\"shared__stacked-input-module__focused--2f0N-_1756137466815\",\"isWbTheme\":\"shared__stacked-input-module__isWbTheme--R7Zas_1756137466815\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"steps\":\"shared__steps-module__steps--EruNr_1756137466815\",\"step\":\"shared__steps-module__step--29DM6_1756137466815\",\"count\":\"shared__steps-module__count--mKmRV_1756137466815\",\"current\":\"shared__steps-module__current--cItLJ_1756137466815\",\"disabled\":\"shared__steps-module__disabled--NuvsU_1756137466815\",\"text\":\"shared__steps-module__text--pPhgx_1756137466815\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"switch\":\"shared__switch-module__switch--EGB08_1756137466815\",\"large\":\"shared__switch-module__large--aLOMA_1756137466815\",\"active\":\"shared__switch-module__active--Mghyc_1756137466815\",\"medium\":\"shared__switch-module__medium--Zpug8_1756137466815\",\"disabled\":\"shared__switch-module__disabled--POdUk_1756137466815\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"select\":\"shared__tag-box-module__select--aZcmW_1756137466815\",\"hasLabel\":\"shared__tag-box-module__hasLabel--OkuEn_1756137466815\",\"disabled\":\"shared__tag-box-module__disabled--8Eb9x_1756137466815\",\"invalid\":\"shared__tag-box-module__invalid--D6cKK_1756137466815\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"button\":\"shared__tag-button-module__button--Qv07L_1756137466815\",\"button__default\":\"shared__tag-button-module__button__default--dpNJZ_1756137466815\",\"button__primary\":\"shared__tag-button-module__button__primary--FtQdO_1756137466815\",\"selected\":\"shared__tag-button-module__selected--hP5R8_1756137466815\",\"disabled\":\"shared__tag-button-module__disabled--njSQe_1756137466815\",\"button__tertiary\":\"shared__tag-button-module__button__tertiary--vmTKI_1756137466815\",\"button__green\":\"shared__tag-button-module__button__green--7uieL_1756137466815\",\"button__secondary\":\"shared__tag-button-module__button__secondary--KiSTI_1756137466815\",\"isWbTheme\":\"shared__tag-button-module__isWbTheme--HnUDc_1756137466815\",\"button__tab\":\"shared__tag-button-module__button__tab--rVLma_1756137466815\",\"button__tumbler\":\"shared__tag-button-module__button__tumbler---2OQ2_1756137466815\",\"button__icons\":\"shared__tag-button-module__button__icons--rLBj8_1756137466815\",\"loading\":\"shared__tag-button-module__loading--emtZM_1756137466815\",\"icon\":\"shared__tag-button-module__icon--LtczE_1756137466815\",\"icon__small\":\"shared__tag-button-module__icon__small--2sXj9_1756137466815\",\"icon__medium\":\"shared__tag-button-module__icon__medium--WMllo_1756137466815\",\"icon__large\":\"shared__tag-button-module__icon__large--GhXfx_1756137466815\",\"icon__default\":\"shared__tag-button-module__icon__default--GYg6a_1756137466815\",\"shadow\":\"shared__tag-button-module__shadow---SujH_1756137466815\",\"tagButtonGroup\":\"shared__tag-button-module__tagButtonGroup--9aBd8_1756137466815\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"textarea\":\"shared__text-area-module__textarea--BYKqV_1756137466815\",\"textarea__small\":\"shared__text-area-module__textarea__small--vpKis_1756137466815\",\"textarea__medium\":\"shared__text-area-module__textarea__medium--YP0qD_1756137466815\",\"isWbTheme\":\"shared__text-area-module__isWbTheme--d24yj_1756137466815\",\"empty\":\"shared__text-area-module__empty--9is7y_1756137466815\",\"label\":\"shared__text-area-module__label--8TUUs_1756137466815\",\"textarea__large\":\"shared__text-area-module__textarea__large--qWZJ2_1756137466815\",\"textarea__large_adaptive\":\"shared__text-area-module__textarea__large_adaptive--UFOvf_1756137466815\",\"textarea__action_medium\":\"shared__text-area-module__textarea__action_medium--xPwcQ_1756137466815\",\"textarea__action_large\":\"shared__text-area-module__textarea__action_large--6pU6m_1756137466815\",\"textarea__actions_medium\":\"shared__text-area-module__textarea__actions_medium--xk3HL_1756137466815\",\"textarea__actions_large\":\"shared__text-area-module__textarea__actions_large--QPCon_1756137466815\",\"textarea__border_circle\":\"shared__text-area-module__textarea__border_circle--QwRke_1756137466815\",\"textarea__outlined\":\"shared__text-area-module__textarea__outlined--ip5t1_1756137466815\",\"invalid\":\"shared__text-area-module__invalid--HHkEP_1756137466815\",\"textarea__filled\":\"shared__text-area-module__textarea__filled--khZXb_1756137466815\",\"clear\":\"shared__text-area-module__clear--cniAi_1756137466815\",\"clear__small\":\"shared__text-area-module__clear__small--kWg6N_1756137466815\",\"clear__medium\":\"shared__text-area-module__clear__medium--pN-Zj_1756137466815\",\"clear__large\":\"shared__text-area-module__clear__large---rhZv_1756137466815\",\"clear__action_small\":\"shared__text-area-module__clear__action_small--y2Mh9_1756137466815\",\"clear__action_medium\":\"shared__text-area-module__clear__action_medium--VB44P_1756137466815\",\"clear__action_large\":\"shared__text-area-module__clear__action_large--gD65G_1756137466815\",\"icon\":\"shared__text-area-module__icon--HqPRa_1756137466815\",\"icon__small\":\"shared__text-area-module__icon__small--yOGgx_1756137466815\",\"icon__medium\":\"shared__text-area-module__icon__medium--Lap9Z_1756137466815\",\"icon__large\":\"shared__text-area-module__icon__large--Bpk53_1756137466815\",\"loader\":\"shared__text-area-module__loader--zfGHC_1756137466815\",\"loader__large\":\"shared__text-area-module__loader__large--h-OCh_1756137466815\",\"loader__filled\":\"shared__text-area-module__loader__filled--zQ1yA_1756137466815\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"textSpoiler\":\"shared__text-spoiler-module__textSpoiler--xJkwo_1756137466815\",\"openText\":\"shared__text-spoiler-module__openText--osI1V_1756137466815\",\"expander\":\"shared__text-spoiler-module__expander--Y2VRc_1756137466815\",\"active\":\"shared__text-spoiler-module__active--+DkdZ_1756137466815\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"text\":\"shared__text-module__text--L3+RG_1756137466815\",\"text__extraSmall\":\"shared__text-module__text__extraSmall--AoUTr_1756137466815\",\"isWbTheme\":\"shared__text-module__isWbTheme--eIbjb_1756137466815\",\"text__small\":\"shared__text-module__text__small--Rl3X5_1756137466815\",\"text__medium\":\"shared__text-module__text__medium--Znrxu_1756137466815\",\"text__large\":\"shared__text-module__text__large--oRnU3_1756137466815\",\"text__action\":\"shared__text-module__text__action--U+zk1_1756137466815\",\"text__paragraph\":\"shared__text-module__text__paragraph--DHPmO_1756137466815\",\"text__body\":\"shared__text-module__text__body--9uLk4_1756137466815\",\"text__description\":\"shared__text-module__text__description--jKU8G_1756137466815\",\"text__caption\":\"shared__text-module__text__caption--pvi2r_1756137466815\",\"text__mob__action\":\"shared__text-module__text__mob__action--4p1b6_1756137466815\",\"text__mob__paragraph\":\"shared__text-module__text__mob__paragraph--q2nC1_1756137466815\",\"text__mob__body\":\"shared__text-module__text__mob__body--ZP16L_1756137466815\",\"text__mob__description\":\"shared__text-module__text__mob__description--ytBnj_1756137466815\",\"text__mob__caption\":\"shared__text-module__text__mob__caption--rdEE8_1756137466815\",\"text__mob__extraSmall\":\"shared__text-module__text__mob__extraSmall--DyVus_1756137466815\",\"text__mob__small\":\"shared__text-module__text__mob__small--Mnbaz_1756137466815\",\"text__mob__medium\":\"shared__text-module__text__mob__medium--5X9R9_1756137466815\",\"text__mob__large\":\"shared__text-module__text__mob__large--x5bkf_1756137466815\",\"text__inherit\":\"shared__text-module__text__inherit--OKjEI_1756137466815\",\"text__normal\":\"shared__text-module__text__normal--EM-eZ_1756137466815\",\"text__semibold\":\"shared__text-module__text__semibold--8iUFE_1756137466815\",\"text__bold\":\"shared__text-module__text__bold--7+C1G_1756137466815\",\"text__variant_default\":\"shared__text-module__text__variant_default---h-3R_1756137466815\",\"text__variant_addition\":\"shared__text-module__text__variant_addition--bTi5B_1756137466815\",\"text__variant_light\":\"shared__text-module__text__variant_light--I0AJ-_1756137466815\",\"text__variant_disabled\":\"shared__text-module__text__variant_disabled--eUSX+_1756137466815\",\"text__variant_attention\":\"shared__text-module__text__variant_attention--rsi1z_1756137466815\",\"text__variant_error\":\"shared__text-module__text__variant_error--nyPhM_1756137466815\",\"text__variant_success\":\"shared__text-module__text__variant_success--gfYHs_1756137466815\",\"text__variant_warning\":\"shared__text-module__text__variant_warning--YIvQX_1756137466815\",\"text__variant_inverse\":\"shared__text-module__text__variant_inverse--78a1H_1756137466815\",\"text__variant_secondary\":\"shared__text-module__text__variant_secondary--yIoR6_1756137466815\",\"text__variant_brand\":\"shared__text-module__text__variant_brand--W2Bxk_1756137466815\",\"text__variant_primary\":\"shared__text-module__text__variant_primary--YeNOl_1756137466815\",\"text__variant_tertiary\":\"shared__text-module__text__variant_tertiary--b8Ale_1756137466815\",\"textAddition\":\"shared__text-module__textAddition--lz-qm_1756137466815\",\"textBold\":\"shared__text-module__textBold--56jgD_1756137466815\",\"textSuccess\":\"shared__text-module__textSuccess--H2yEM_1756137466815\",\"textError\":\"shared__text-module__textError--MvnkN_1756137466815\",\"textAttention\":\"shared__text-module__textAttention--VjWLj_1756137466815\",\"textThrough\":\"shared__text-module__textThrough--is3ha_1756137466815\",\"textInverse\":\"shared__text-module__textInverse--s78Gi_1756137466815\",\"textWarning\":\"shared__text-module__textWarning--S-MeA_1756137466815\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"tooltip\":\"shared__tooltip-module__tooltip--tS2G-_1756137466815\",\"isWbTheme\":\"shared__tooltip-module__isWbTheme--av0Qe_1756137466815\",\"arrow\":\"shared__tooltip-module__arrow--VbQb7_1756137466815\",\"left\":\"shared__tooltip-module__left--2nmo1_1756137466815\",\"right\":\"shared__tooltip-module__right--JgZSX_1756137466815\",\"top\":\"shared__tooltip-module__top--VsESz_1756137466815\",\"bottom\":\"shared__tooltip-module__bottom--2zx9D_1756137466815\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"viewsCountContainer\":\"shared__views-count-module__viewsCountContainer--X2mHB_1756137466815\",\"viewsCountText\":\"shared__views-count-module__viewsCountText--1o5-K_1756137466815\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"warning\":\"shared__warning-block-module__warning--HU7lj_1756137466815\"};","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"tslib\");","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"react\");","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"lodash.debounce\");","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"classnames\");","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"antd/lib/auto-complete\");","import React from 'react';\n\nimport cn from 'classnames';\nimport { useMemo } from 'react';\nimport { PropsWithChildren } from 'react';\n\nimport styles from './icon.module.scss';\n\nexport enum EIconSize {\n extraSmall = 'extraSmall',\n small = 'small',\n medium = 'medium',\n large = 'large',\n}\n\nexport enum EIconVariant {\n default = 'default',\n black = 'black',\n attention = 'attention',\n revert = 'revert',\n warning = 'warning',\n error = 'error',\n neutral = 'neutral',\n success = 'success',\n initial = 'initial',\n light = 'light',\n inherit = 'inherit',\n secondary = 'secondary',\n green = 'green',\n}\n\ninterface IIconProps {\n size?: keyof typeof EIconSize;\n variant?: keyof typeof EIconVariant;\n active?: boolean;\n icon: any;\n className?: string;\n onClick?: (e: any) => void;\n 'data-tooltip-target'?: boolean;\n}\n\nexport const Icon = ({\n icon: IconSvg,\n active,\n size = EIconSize.medium,\n variant = EIconVariant.default,\n className,\n onClick,\n ...props\n}: PropsWithChildren<IIconProps>) => {\n const classNames = useMemo(\n () =>\n cn(className, styles.icon, styles[`icon__${size}`], styles[`icon__${variant}`], {\n [styles.active]: active,\n [styles.clickable]: !!onClick,\n }),\n [size, variant, active, className, onClick]\n );\n\n if (!IconSvg) {\n return null;\n }\n\n return <IconSvg {...props} onClick={onClick} className={classNames} />;\n};\n","var _path;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgSelectArrow(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 28 28\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M7.65 11.24a1 1 0 10-1.3 1.52l7 6a1 1 0 001.3 0l7-6a1 1 0 00-1.3-1.52L14 16.684 7.65 11.24z\",\n fill: \"currentColor\"\n })));\n}\nexport default SvgSelectArrow;","var _path;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgClear(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 25 24\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M5.894 5.394a.857.857 0 011.212 0l5.394 5.393 5.394-5.393a.857.857 0 011.131-.071l.081.071a.857.857 0 010 1.212L13.713 12l5.393 5.394a.858.858 0 01.071 1.132l-.07.08a.857.857 0 01-1.213 0L12.5 13.213l-5.394 5.393a.857.857 0 01-1.131.072l-.081-.072a.857.857 0 010-1.212L11.287 12 5.894 6.606a.857.857 0 01-.071-1.131l.07-.08z\",\n fill: \"#8B8B8B\"\n })));\n}\nexport default SvgClear;","import React, { useCallback, useEffect, useMemo, useRef, useState } from 'react';\nimport debounce from 'lodash.debounce';\nimport classNames from 'classnames';\nimport AntdAutoComplete from 'antd/lib/auto-complete';\nimport { AutoCompleteProps } from 'antd/lib/auto-complete';\nimport { Icon } from '@shared/icon';\nimport SelectArrowIcon from '../icon/icons/select-arrow.svg';\nimport ClearIcon from '../icon/icons/clear.svg';\nimport styles from './auto-complete.module.scss';\n\nexport interface ISelectOption<T> {\n label: string;\n value: string | number | null | undefined;\n data?: T;\n}\n\nexport interface ISelectOptionsGroup<T> {\n label: string;\n options: ISelectOption<T>[];\n}\n\nfunction formatItemToOption<T = any>(\n item: any,\n valueKey: string = 'value',\n labelKey: string = 'label',\n labels?: IAutoCompleteProps<T>['labels']\n) {\n if (['string', 'number', 'boolean'].includes(typeof item)) {\n return {\n label: labels ? labels[`${item}`] : item,\n value: item,\n data: item,\n } as ISelectOption<T>;\n }\n\n return {\n label: item[labelKey],\n value: item[valueKey],\n data: item,\n } as ISelectOption<T>;\n}\n\nexport interface IAutoCompleteProps<T> extends Omit<AutoCompleteProps, 'options' | 'onChange'> {\n options?: T[] | T;\n optionsGroup?: ISelectOptionsGroup<T>[];\n labels?: { [key: string]: string };\n error?: boolean;\n valueKey?: string;\n labelKey?: string;\n labelPlaceholder?: string;\n onServerSearch?: (val: string) => Promise<T[]>;\n onServerSearchGroup?: (val: string) => Promise<ISelectOptionsGroup<T>[]>;\n onRenderOption?: (item: T) => React.ReactNode;\n onRenderOptionGroup?: (item: ISelectOptionsGroup<T>) => React.ReactNode;\n onChange?: (option: T, options?: T[]) => void;\n debounceTimeout?: number;\n stacked?: boolean;\n popupClassName?: string;\n notFoundContent?: React.ReactNode;\n icon?: any;\n}\n\nexport function AutoComplete<T>({\n labels,\n labelKey,\n valueKey,\n onServerSearch,\n icon,\n debounceTimeout = 500,\n labelPlaceholder,\n onRenderOption,\n onRenderOptionGroup,\n onServerSearchGroup,\n popupClassName,\n optionsGroup: optionsGroupFromProps,\n notFoundContent = null,\n ...props\n}: IAutoCompleteProps<T>) {\n const [fetching, setFetching] = useState(false);\n const [serverOptions, setServerOptions] = useState<ISelectOption<T>[]>(null);\n const [optionsGroup, setOptionsGroup] = useState<ISelectOptionsGroup<T>[]>(null);\n const [searchValue, setSearchValue] = useState<string>('');\n const fetchRef = useRef(0);\n\n const options = useMemo(() => {\n let _options = null;\n if (Array.isArray(props.options)) {\n _options = props.options;\n }\n\n if (props.options) {\n _options = Object.values(props.options);\n }\n\n return _options?.map((option) => formatItemToOption(option, valueKey, labelKey, labels)) || null;\n }, [props.options, labels]);\n\n useEffect(() => {\n setOptionsGroup(\n optionsGroupFromProps?.map((group) => ({\n label: group.label,\n options: group.options.map((option) => formatItemToOption<T>(option, valueKey, labelKey, labels)),\n }))\n );\n }, [optionsGroupFromProps]);\n\n const _onRenderOptions = useCallback(\n (option: ISelectOption<T>) => {\n if (onRenderOption) {\n return {\n label: onRenderOption(option.data),\n value: option.label,\n data: option.data,\n key: option.value,\n };\n }\n\n return {\n label: (\n <div className={classNames({ [styles.hasLabel]: labelPlaceholder })}>\n {!!labelPlaceholder && <label>{labelPlaceholder}</label>}\n <div className={styles.optionText}>{option.label}</div>\n </div>\n ),\n value: option.label,\n data: option.data,\n key: option.value,\n };\n },\n [onRenderOption, labelPlaceholder]\n );\n\n const _onRenderOptionsGroup = useCallback(\n (option: ISelectOptionsGroup<T>) => ({\n label: onRenderOptionGroup?.(option) || option.label,\n options: option.options.map(_onRenderOptions),\n }),\n [onRenderOptionGroup, _onRenderOptions]\n );\n\n const _options: any[] = useMemo(\n () => (serverOptions || options || []).map(_onRenderOptions),\n [onServerSearch, options, serverOptions]\n );\n\n const _optionsGroup = useMemo(() => (optionsGroup || []).map(_onRenderOptionsGroup), [optionsGroup]);\n\n const onChangeSearch = useCallback((value: string) => {\n setSearchValue(value);\n }, []);\n\n const onChange = useCallback(\n (value: any, _option: any) => {\n setSearchValue(value);\n\n const localOptions = optionsGroup?.length ? optionsGroup : (serverOptions || options)?.map((i) => i.data);\n props.onChange && props.onChange(_option?.data, localOptions);\n },\n [props.onChange, _options, serverOptions, options, optionsGroup]\n );\n\n useEffect(() => {\n const res = props.value && _options?.find((option) => option.key === props.value[valueKey]);\n res && setSearchValue(res.value);\n }, [props.value]);\n\n const debounceFetcher = useMemo(() => {\n const loadOptions = (value: string) => {\n fetchRef.current += 1;\n const fetchId = fetchRef.current;\n setServerOptions([]);\n setOptionsGroup([]);\n setFetching(true);\n\n if (!onServerSearch && !onServerSearchGroup) {\n setFetching(false);\n }\n\n onServerSearch &&\n onServerSearch(value)\n .then((newOptions) => {\n if (fetchId !== fetchRef.current) {\n return;\n }\n\n setServerOptions(newOptions?.map((option) => formatItemToOption(option, valueKey, labelKey)));\n })\n .finally(() => {\n setFetching(false);\n });\n\n onServerSearchGroup &&\n onServerSearchGroup(value)\n .then((newOptions) => {\n if (fetchId !== fetchRef.current) {\n return;\n }\n\n setOptionsGroup(\n newOptions.map((group) => ({\n label: group.label,\n options: group.options.map((option) => formatItemToOption(option, valueKey, labelKey, labels)),\n }))\n );\n setFetching(false);\n })\n .finally(() => {\n setFetching(false);\n });\n };\n\n return debounce(loadOptions, debounceTimeout);\n }, [onServerSearch, debounceTimeout]);\n\n return (\n //@ts-ignore\n <AntdAutoComplete\n {...props}\n value={searchValue}\n options={_optionsGroup.length ? _optionsGroup : _options}\n onSelect={onChange}\n popupClassName={popupClassName}\n notFoundContent={notFoundContent}\n onChange={onChangeSearch}\n placeholder={props.placeholder || labelPlaceholder}\n onSearch={(val) => {\n setSearchValue(val);\n debounceFetcher(val);\n }}\n backfill\n suffixIcon={<Icon icon={icon || SelectArrowIcon} />}\n className={classNames('ant-select-customize-input', props.className, styles.autoComplete, {\n 'select-error': props.error,\n 'select-stacked': props.stacked,\n 'ant-select-loading': fetching,\n })}\n clearIcon={<Icon icon={ClearIcon} />}\n ></AntdAutoComplete>\n );\n}\n","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"react-media\");","import React, {\n ComponentProps,\n createContext,\n PropsWithChildren,\n useCallback,\n useContext,\n useEffect,\n useState,\n} from 'react';\nimport ReactMedia from 'react-media';\n\ntype IMediaRender = () => any;\n\nconst MEDIA_MATCHES = {\n mobile: '(max-width: 767px)',\n tablet: '(max-width: 1023px) and (min-width: 768px)',\n desktop: '(min-width: 1024px)',\n};\n\nexport interface IMediaMatches {\n mobile: boolean;\n tablet: boolean;\n desktop: boolean;\n}\n\ninterface IMediaProps {\n renderMobile?: IMediaRender;\n renderTablet?: IMediaRender;\n renderDesktop?: IMediaRender;\n defaultMatches?: IMediaMatches;\n render?: (matches: IMediaMatches) => React.ReactNode;\n}\n\nexport const Media = ({ renderDesktop, renderMobile, renderTablet, render, defaultMatches }: IMediaProps) => {\n const [mounted, setMounted] = useState(false);\n useEffect(() => {\n setMounted(true);\n }, []);\n\n const defaultRender = useCallback(\n (matches) => {\n if (matches.tablet && renderTablet) {\n return renderTablet && renderTablet();\n } else if (matches.mobile && renderMobile) {\n return renderMobile && renderMobile();\n } else if (matches.desktop && renderDesktop) {\n return renderDesktop && renderDesktop();\n }\n\n return null;\n },\n [renderTablet, renderMobile, renderMobile, render]\n );\n\n return (\n <>\n {mounted && (\n <ReactMedia queries={MEDIA_MATCHES} defaultMatches={defaultMatches}>\n {render || defaultRender}\n </ReactMedia>\n )}\n </>\n );\n};\n\ninterface IMediaContext {\n mobile: boolean;\n tablet: boolean;\n desktop: boolean;\n}\n\nconst MediaContext = createContext<IMediaContext | null>(null);\n\nexport const MediaProvider = ({ children, defaultMatches }: PropsWithChildren<{ defaultMatches?: IMediaMatches }>) => {\n return (\n <ReactMedia queries={MEDIA_MATCHES} defaultMatches={defaultMatches}>\n {(matches: IMediaMatches) => <MediaContext.Provider value={matches}>{children}</MediaContext.Provider>}\n </ReactMedia>\n );\n};\n\nexport declare type IReactComponent<P = any> =\n | React.ClassicComponentClass<P>\n | React.ComponentClass<P>\n | React.FunctionComponent<P>\n | React.ForwardRefExoticComponent<P>;\nexport function withMedia<T extends IReactComponent>(Component: T): T;\nexport function withMedia<T extends React.FunctionComponent<any>>(Component: T) {\n return (props: ComponentProps<typeof Component>) => (\n <MediaProvider>\n <Component {...props} />\n </MediaProvider>\n );\n}\n\nexport const useMedia = () => {\n const data = useContext(MediaContext);\n if (!data) {\n throw new Error('Не подключен MediaProvider');\n }\n\n return data;\n};\n","var _path;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgBreadcrubmsArrow(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 13 8\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n fillRule: \"evenodd\",\n clipRule: \"evenodd\",\n d: \"M9.172.464l3.182 3.182a.5.5 0 010 .708L9.172 7.536a.5.5 0 11-.708-.708L10.793 4.5H0v-1h10.793L8.464 1.172a.5.5 0 11.708-.708z\",\n fill: \"#8B8B8B\"\n })));\n}\nexport default SvgBreadcrubmsArrow;","var _path;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgBack(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 24 24\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M9.662 12l4.673-5.296a1.002 1.002 0 000-1.293.741.741 0 00-1.14 0L7.95 11.354a1.003 1.003 0 000 1.293l5.244 5.943a.741.741 0 001.141 0 1.002 1.002 0 000-1.293L9.662 12z\",\n fill: \"#a73afd\"\n })));\n}\nexport default SvgBack;","import React from 'react';\n\nimport { useMemo } from 'react';\nimport classnames from 'classnames';\n\nimport styles from './text.module.scss';\nimport { useShared } from '../../providers/shared.provider';\n\nexport enum ETextSize {\n extraSmall = 'extraSmall',\n small = 'small',\n medium = 'medium',\n large = 'large',\n inherit = 'inherit',\n // WB THEME\n action = 'action',\n paragraph = 'paragraph',\n body = 'body',\n description = 'description',\n caption = 'caption',\n}\n\nexport enum ETextWeight {\n bold = 'bold',\n semibold = 'semibold',\n normal = 'normal',\n}\n\nexport enum ETextVariant {\n default = 'default',\n addition = 'addition',\n light = 'light',\n disabled = 'disabled',\n brand = 'brand',\n attention = 'attention',\n error = 'error',\n success = 'success',\n warning = 'warning',\n inverse = 'inverse',\n secondary = 'secondary',\n primary = 'primary',\n tertiary = 'tertiary',\n}\n\ninterface ITextProps {\n size?: keyof typeof ETextSize;\n mobSize?: keyof typeof ETextSize;\n children?: any;\n bold?: boolean;\n weight?: keyof typeof ETextWeight;\n variant?: keyof typeof ETextVariant;\n addition?: boolean;\n attention?: boolean;\n success?: boolean;\n warning?: boolean;\n error?: boolean;\n className?: string;\n inverse?: boolean;\n style?: any;\n through?: boolean;\n tag?: string;\n onClick?: (e: any) => void;\n isWbTheme?: boolean;\n}\n\nexport const Text = ({\n children,\n size = ETextSize.medium,\n mobSize,\n bold,\n weight = ETextWeight.normal,\n variant,\n addition,\n success,\n error,\n inverse,\n attention,\n warning,\n className,\n style,\n through,\n tag = 'div',\n onClick,\n isWbTheme,\n}: ITextProps) => {\n const shared = useShared();\n\n const TextTag = useMemo(() => tag as keyof JSX.IntrinsicElements, [tag]);\n\n const classNames = useMemo(\n () =>\n classnames(\n styles.text,\n className,\n styles[`text__${size}`],\n styles[`text__mob__${mobSize}`],\n styles[`text__${weight}`],\n styles[`text__variant_${variant}`],\n {\n [styles.textAddition]: addition,\n [styles.textBold]: bold,\n [styles.textSuccess]: success,\n [styles.textAttention]: attention,\n [styles.textError]: error,\n [styles.textThrough]: through,\n [styles.textInverse]: inverse,\n [styles.textWarning]: warning,\n [styles.isWbTheme]: shared.isWbTheme || isWbTheme,\n }\n ),\n [size, className, addition, bold, weight, success, attention, error, inverse, warning, variant]\n );\n\n return (\n <TextTag style={style} className={classNames} onClick={onClick}>\n {children}\n </TextTag>\n );\n};\n","import React from 'react';\n\nimport { createContext, PropsWithChildren, useContext } from 'react';\n\ntype ISharedContextPrivate = {\n LinkComponent?: any;\n isWbTheme?: boolean;\n};\n\ninterface ISharedProviderProps {\n LinkComponent?: any;\n isWbTheme?: boolean;\n}\n\nconst sharedContext = createContext<ISharedContextPrivate>(null);\n\nexport const SharedProvider = ({ children, ...props }: PropsWithChildren<ISharedProviderProps>) => {\n return <sharedContext.Provider value={props}>{children}</sharedContext.Provider>;\n};\n\nexport const useShared = () => {\n const data = useContext(sharedContext);\n\n return data || {};\n};\n","import React from 'react';\nimport { useMemo } from 'react';\nimport classnames from 'classnames';\n\nimport styles from './link.module.scss';\nimport { useShared } from '../../providers/shared.provider';\n\nexport enum ELinkVariant {\n link = 'link',\n href = 'href',\n action = 'action',\n}\n\nexport enum ELinkType {\n attention = 'attention',\n default = 'default',\n addition = 'addition',\n success = 'success',\n error = 'error',\n inverse = 'inverse'\n}\n\nexport enum ELinkSize {\n small = 'small',\n medium = 'medium',\n large = 'large',\n}\n\nexport enum ELinkWeight {\n bold = 'bold',\n semibold = 'semibold',\n normal = 'normal',\n}\n\nexport enum ELinkDecoration {\n none = 'none',\n underline = 'underline',\n dashed = 'dashed'\n}\n\ninterface ILinkProps {\n size?: keyof typeof ELinkSize;\n icon?: any;\n variant?: keyof typeof ELinkVariant;\n children: any;\n href?: string;\n bold?: boolean;\n weight?: keyof typeof ELinkWeight;\n type?: keyof typeof ELinkType;\n decoration?: keyof typeof ELinkDecoration;\n dashed?: boolean;\n className?: string;\n target?: '_blank';\n onClick?: (e: MouseEvent) => void;\n rel?: string;\n style?: any;\n tag?: string;\n}\n\nexport const Link = ({\n children,\n target,\n icon: Icon,\n variant = ELinkVariant.link,\n size = ELinkSize.medium,\n weight = ELinkWeight.normal,\n decoration = ELinkDecoration.none,\n href,\n bold,\n className,\n type,\n dashed,\n onClick,\n rel,\n style,\n tag = 'div',\n}: ILinkProps) => {\n const TextTag = useMemo(() => tag as any, [tag]);\n\n const shared = useShared();\n\n const classNames = useMemo(\n () =>\n classnames(styles.link, className, styles[`link__${variant}`], styles[`link__${size}`], styles[`link__${weight}`], styles[`link__${type}`], styles[`link__${decoration}`], {\n [styles.linkBold]: bold,\n [styles.dashed]: dashed,\n }),\n [variant, className, dashed, type, weight, decoration]\n );\n\n const iconClassNames = useMemo(\n () =>\n classnames(styles.icon, styles[`icon__${variant}`], styles[`icon__${size}`], { [styles.icon__only]: !children }),\n [variant, size, children]\n );\n\n if (variant === ELinkVariant.href || (variant === ELinkVariant.link && !shared.LinkComponent)) {\n return (\n <a className={classNames} target={target} rel={rel} href={href} style={style}>\n {children}\n </a>\n );\n }\n\n if (variant === ELinkVariant.link) {\n return (\n <shared.LinkComponent href={href} className={classNames} target={target} rel={rel} style={style}>\n {children}\n </shared.LinkComponent>\n );\n }\n\n return (\n <TextTag className={classNames} onClick={onClick} style={style}>\n {children}\n {Icon && <Icon className={iconClassNames} />}\n </TextTag>\n );\n};\n","import React from 'react';\n\nimport { Icon } from \"@shared/icon\";\nimport { useMedia, withMedia } from '@shared/media';\nimport { Fragment, useCallback } from 'react';\n\nimport BreadcrumbsArrowIcon from '../icon/icons/breadcrubms-arrow.svg';\nimport BackIcon from '../icon/icons/back.svg';\n\nimport styles from './breadcrumbs.module.scss';\nimport { Text } from '@shared/text';\nimport { Link } from '@shared/link';\n\nexport interface IBreadcrumbsPath {\n title: string;\n path: string;\n isBack?: boolean;\n isCurrent?: boolean;\n}\n\nexport enum EBreadcrumbsVariant {\n arrow = 'arrow',\n slash = 'slash'\n}\n\ninterface IBreadcrumbsProps {\n paths: IBreadcrumbsPath[];\n variant?: keyof typeof EBreadcrumbsVariant;\n onBack?: (path: string) => void;\n}\n\nexport const Breadcrumbs = withMedia(({ paths, onBack, variant = EBreadcrumbsVariant.arrow }: IBreadcrumbsProps) => {\n const media = useMedia();\n\n const _onBack = useCallback(() => {\n const backPath = paths.reverse().find((i) => i.path && i.isBack);\n if (backPath) {\n onBack && onBack(paths[paths.length - 1].path);\n } else {\n onBack && onBack('/');\n }\n }, [paths]);\n\n return media.mobile ? (\n <Link className={styles.back} variant=\"action\" onClick={_onBack}>\n <Icon variant=\"attention\" icon={BackIcon} />\n <Text size=\"large\" attention weight=\"semibold\">Назад</Text>\n </Link>\n ) : (\n <div className={styles.breadcrumbs}>\n {paths.map((item, index) => (\n <Fragment key={index}>\n {!!index && (variant === EBreadcrumbsVariant.slash ? <Text size=\"large\" addition>/</Text> : <BreadcrumbsArrowIcon />)}\n <span key={index}>\n {item.path ? (\n <Link href={item.path}>\n <Text size=\"large\" addition={variant === EBreadcrumbsVariant.slash} className={styles.breadcrumbsLink}>{item.title}</Text>\n </Link>\n ) : (\n <Text className={styles.text} size=\"large\" attention={item.isCurrent} weight=\"semibold\">{item.title}</Text>\n )}\n </span>\n </Fragment>\n ))}\n </div>\n );\n});\n","var _path, _path2, _defs;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgButtonLoader(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 20 20\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M17 10a7 7 0 11-2.706-5.528c.382.296.379.855.037 1.197-.342.342-.892.335-1.286.054A5.25 5.25 0 1015.25 10H17z\",\n fill: \"url(#button-loader_svg__paint0_linear)\"\n }, /*#__PURE__*/React.createElement(\"animateTransform\", {\n attributeType: \"xml\",\n attributeName: \"transform\",\n type: \"rotate\",\n from: \"0 10 10\",\n to: \"360 10 10\",\n dur: \"0.75s\",\n repeatCount: \"indefinite\"\n }))), _path2 || (_path2 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M17 10a7 7 0 11-2.706-5.528c.382.296.379.855.037 1.197-.342.342-.892.335-1.286.054A5.25 5.25 0 1015.25 10H17z\",\n fill: \"url(#button-loader_svg__paint1_linear)\"\n }, /*#__PURE__*/React.createElement(\"animateTransform\", {\n attributeType: \"xml\",\n attributeName: \"transform\",\n type: \"rotate\",\n from: \"0 10 10\",\n to: \"360 10 10\",\n dur: \"0.75s\",\n repeatCount: \"indefinite\"\n }))), _defs || (_defs = /*#__PURE__*/React.createElement(\"defs\", null, /*#__PURE__*/React.createElement(\"linearGradient\", {\n id: \"button-loader_svg__paint0_linear\",\n x1: 14.5,\n y1: 5.5,\n x2: 16.5,\n y2: 10,\n gradientUnits: \"userSpaceOnUse\"\n }, /*#__PURE__*/React.createElement(\"stop\", {\n stopColor: \"currentColor\"\n }), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 1,\n stopColor: \"currentColor\",\n stopOpacity: 0\n })), /*#__PURE__*/React.createElement(\"linearGradient\", {\n id: \"button-loader_svg__paint1_linear\",\n x1: 10,\n y1: 16,\n x2: 17,\n y2: 9.5,\n gradientUnits: \"userSpaceOnUse\"\n }, /*#__PURE__*/React.createElement(\"stop\", {\n stopColor: \"currentColor\"\n }), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 1,\n stopColor: \"currentColor\",\n stopOpacity: 0\n })))));\n}\nexport default SvgButtonLoader;","import React, { PropsWithChildren, useMemo, MouseEvent, useCallback } from 'react';\nimport classnames from 'classnames';\nimport Loader from '../icon/icons/button-loader.svg';\n\nimport styles from './button.module.scss';\nimport { useShared } from '../../providers/shared.provider';\n\nexport enum EButtonSize {\n smallS = 'smallS',\n small = 'small',\n medium = 'medium',\n large = 'large',\n}\n\nexport enum EButtonVariant {\n default = 'default',\n secondary = 'secondary',\n outline = 'outline',\n tertiary = 'tertiary',\n}\n\nexport enum EButtonIconPosition {\n left = 'left',\n right = 'right',\n}\n\nexport interface IButtonProps {\n variant?: keyof typeof EButtonVariant;\n size?: keyof typeof EButtonSize;\n icon?: any;\n width?: string;\n iconPosition?: keyof typeof EButtonIconPosition;\n loading?: boolean;\n isWbTheme?: boolean;\n disabled?: boolean;\n className?: string;\n type?: 'button' | 'submit' | 'reset';\n onClick?: (e?: MouseEvent<HTMLButtonElement>) => void;\n}\n\nexport const Button = ({\n variant = EButtonVariant.default,\n size = EButtonSize.medium,\n iconPosition = EButtonIconPosition.right,\n width,\n icon: Icon,\n loading,\n disabled,\n children,\n className,\n onClick,\n type = 'button',\n isWbTheme,\n}: PropsWithChildren<IButtonProps>) => {\n const shared = useShared();\n\n const classNames = useMemo(\n () =>\n classnames(\n styles.button,\n className,\n styles[`button__${variant}`],\n styles[`button__${size}`],\n styles[`button__icon_${iconPosition}`],\n {\n [styles.loading]: loading,\n [styles.withIcon]: Icon && !children,\n [styles.isWbTheme]: shared.isWbTheme || isWbTheme,\n }\n ),\n [variant, size, loading, Icon, disabled, className]\n );\n\n const loaderClassNames = useMemo(\n () => classnames(styles.loader, styles[`loader__${variant}`], styles[`loader__${size}`]),\n [variant, size]\n );\n\n const iconClassNames = useMemo(\n () =>\n classnames(styles.icon, styles[`icon__${variant}`], styles[`icon__${size}`], { [styles.icon__only]: !children }),\n [variant, size, children]\n );\n\n const _onClick = useCallback(\n (e?: MouseEvent<HTMLButtonElement>) => {\n if (disabled || loading) return;\n\n onClick && onClick(e);\n },\n [onClick, disabled, loading]\n );\n\n return (\n <button type={type} className={classNames} disabled={disabled} onClick={_onClick} style={{ width }}>\n {children}\n {Icon && <Icon className={iconClassNames} />}\n {loading && <Loader className={loaderClassNames} />}\n </button>\n );\n};\n","var _path, _path2;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgCounterMinus(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 24 24\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n fillRule: \"evenodd\",\n clipRule: \"evenodd\",\n d: \"M20 12a1 1 0 01-1 1H5a1 1 0 110-2h14a1 1 0 011 1z\",\n fill: \"#D1D1E0\"\n })), _path2 || (_path2 = /*#__PURE__*/React.createElement(\"path\", {\n fillRule: \"evenodd\",\n clipRule: \"evenodd\",\n d: \"M20 12a1 1 0 01-1 1H5a1 1 0 110-2h14a1 1 0 011 1z\",\n fill: \"#A73AFD\"\n })));\n}\nexport default SvgCounterMinus;","import React, { PropsWithChildren, useCallback, useEffect, useMemo, useState } from 'react';\nimport classnames from 'classnames';\nimport { ChangeEvent } from 'react';\nimport styles from './checkbox.module.scss';\nimport { useShared } from '../../providers/shared.provider';\n\nexport type ICheckboxProps = {\n disabled?: boolean;\n value?: boolean;\n error?: boolean;\n onChange?: (val: boolean, event: ChangeEvent<HTMLInputElement>) => void;\n className?: string;\n small?: boolean;\n name?: string;\n isWbTheme?: boolean;\n};\n\nlet UNIQ_COUNT = 1;\n\nexport const Checkbox = ({\n disabled = false,\n value = false,\n onChange = () => {},\n children,\n error,\n className,\n isWbTheme,\n name,\n}: PropsWithChildren<ICheckboxProps>) => {\n const shared = useShared();\n\n const [_value, _setValue] = useState(value);\n\n useEffect(() => {\n value !== _value && _setValue(value);\n }, [value]);\n\n const _onChange = useCallback(\n (e: ChangeEvent<HTMLInputElement>) => {\n if (value === e.currentTarget.checked) {\n return;\n }\n _setValue(e.currentTarget.checked);\n onChange(e.currentTarget.checked, e);\n },\n [onChange, value]\n );\n\n const id = useMemo(() => `${name}Checkbox${UNIQ_COUNT++}`, []);\n\n return (\n <div className={classnames(styles.checkboxContainer, className)}>\n <input\n name={name}\n className={classnames(styles.checkbox, {\n [styles.error]: error,\n [styles.isWbTheme]: shared.isWbTheme || isWbTheme,\n })}\n type=\"checkbox\"\n disabled={disabled}\n id={id}\n checked={_value}\n onChange={_onChange}\n />\n <label htmlFor={id}>{children}</label>\n </div>\n );\n};\n","var _path;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgCounterPlus(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 24 24\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M13 5a1 1 0 10-2 0v6H5a1 1 0 100 2h6v6a1 1 0 102 0v-6h6a1 1 0 100-2h-6V5z\",\n fill: \"#A73AFD\"\n })));\n}\nexport default SvgCounterPlus;","var _path;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgDatePicker(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 24 24\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M16.286.857c.473 0 .857.384.857.857v.994c.72.115 1.186.3 1.654.55a4.673 4.673 0 011.944 1.944c.408.762.642 1.518.681 3.369h.006v6.265l-.004.523c-.035 1.902-.27 2.668-.683 3.439a4.673 4.673 0 01-1.944 1.944c-.838.448-1.669.687-3.961.687H9.164l-.523-.005c-1.902-.035-2.668-.27-3.439-.682a4.673 4.673 0 01-1.944-1.944c-.43-.805-.667-1.603-.686-3.694V8.57c.045-1.851.279-2.607.686-3.369a4.673 4.673 0 011.944-1.944c.469-.25.935-.435 1.655-.55v-.994a.857.857 0 011.714 0v.863c.186-.004.383-.006.593-.006h5.672c.21 0 .407.002.594.006l-.002-.863c0-.473.384-.857.858-.857zm3.427 9.429H4.286v4.792l.008.488c.033 1.292.17 1.85.476 2.423.288.54.701.953 1.24 1.241.64.342 1.264.472 2.912.483h6.156l.488-.007c1.292-.033 1.85-.17 2.423-.476.54-.288.952-.701 1.24-1.24.343-.64.473-1.264.484-2.912v-4.792zm-3.388 4.286c.371 0 .663.07.908.2.244.13.436.322.566.567.131.244.2.536.2.907v.08c0 .37-.069.662-.2.907-.13.244-.322.436-.566.567-.245.13-.537.2-.908.2h-.079c-.37 0-.663-.07-.907-.2a1.363 1.363 0 01-.567-.567c-.131-.245-.2-.537-.2-.908v-.079c0-.37.069-.663.2-.907.13-.245.322-.437.567-.567.244-.13.536-.2.907-.2h.079zM15.078 4.287H8.922l-.35.004v.852a.857.857 0 01-1.715 0V4.45c-.327.075-.585.18-.846.32A2.96 2.96 0 004.77 6.01c-.317.592-.452 1.17-.48 2.56h15.418l-.002-.137c-.034-1.292-.17-1.85-.476-2.423a2.959 2.959 0 00-1.241-1.24 3.287 3.287 0 00-.845-.32l-.001.692a.857.857 0 11-1.715 0l.002-.852c-.112-.002-.229-.004-.352-.004z\",\n fill: \"#8B8B8B\"\n })));\n}\nexport default SvgDatePicker;","import React from 'react';\n\nimport { Button } from '@shared/button';\nimport { Text } from '@shared/text';\nimport { useCallback, useEffect, useState } from 'react';\n\nimport CounterMinusIcon from './icons/counter-minus.svg';\nimport CounterPlusIcon from './icons/counter-plus.svg';\n\nimport styles from './counter.module.scss';\nimport classNames from 'classnames';\nimport { Icon } from '@shared/icon';\nimport { useShared } from '../../providers/shared.provider';\n\ninterface ICounterProps {\n value?: number;\n max?: number;\n min?: number;\n onChange?: (count: number) => void;\n isWbTheme?: boolean;\n}\n\nexport const Counter = (props: ICounterProps) => {\n const shared = useShared();\n\n const [value, setValue] = useState(props.value || 0);\n\n const onChange = useCallback(\n (e: number) => {\n setValue((count) => {\n if (e > 0 && props.max != undefined && count >= props.max) {\n return count;\n }\n\n if (e < 0 && props.min != undefined && count <= props.min) {\n return count;\n }\n\n const newCount = count + e;\n props.onChange && props.onChange(newCount);\n return newCount;\n });\n },\n [props.onChange, props.min, props.max]\n );\n\n useEffect(() => {\n setValue(props.value);\n }, [props.value]);\n\n if (shared.isWbTheme || props.isWbTheme) {\n return (\n <div className={classNames(styles.counter, styles.isWbTheme)}>\n <Icon\n variant=\"attention\"\n className={classNames(styles.button, { [styles.disabled]: props.min != undefined && value <= props.min })}\n icon={CounterMinusIcon}\n onClick={onChange.bind(null, -1)}\n />\n <Text className={styles.value} size=\"large\">\n {value}\n </Text>\n <Icon\n variant=\"attention\"\n className={classNames(styles.button, { [styles.disabled]: props.max != undefined && value >= props.max })}\n icon={CounterPlusIcon}\n onClick={onChange.bind(null, 1)}\n />\n </div>\n );\n }\n\n return (\n <div className={styles.counter}>\n <Button\n className={styles.button}\n icon={CounterMinusIcon}\n disabled={props.min != undefined && value <= props.min}\n onClick={onChange.bind(null, -1)}\n />\n <Text className={styles.value} size=\"large\">\n {value}\n </Text>\n <Button\n className={styles.button}\n icon={CounterPlusIcon}\n disabled={props.max != undefined && value >= props.max}\n onClick={onChange.bind(null, 1)}\n />\n </div>\n );\n};\n","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"antd/lib/date-picker/generatePicker\");","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"rc-picker/lib/generate/dateFns\");","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"antd/lib/date-picker/locale/ru_RU\");","var _path;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgInputSearch(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 24 24\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n fillRule: \"evenodd\",\n clipRule: \"evenodd\",\n d: \"M10.667 17.333a6.667 6.667 0 115.266-2.578l4.49 4.49-1.179 1.178-4.49-4.49a6.637 6.637 0 01-4.087 1.4zm5-6.666a5 5 0 11-10 0 5 5 0 0110 0z\",\n fill: \"currentColor\"\n })));\n}\nexport default SvgInputSearch;","var _path, _path2, _defs;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgInputLoader(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 20 20\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M17 10a7 7 0 11-2.706-5.528c.382.296.379.855.037 1.197-.342.342-.892.335-1.286.054A5.25 5.25 0 1015.25 10H17z\",\n fill: \"url(#input-loader_svg__paint0_linear)\"\n }, /*#__PURE__*/React.createElement(\"animateTransform\", {\n attributeType: \"xml\",\n attributeName: \"transform\",\n type: \"rotate\",\n from: \"0 10 10\",\n to: \"360 10 10\",\n dur: \"0.75s\",\n repeatCount: \"indefinite\"\n }))), _path2 || (_path2 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M17 10a7 7 0 11-2.706-5.528c.382.296.379.855.037 1.197-.342.342-.892.335-1.286.054A5.25 5.25 0 1015.25 10H17z\",\n fill: \"url(#input-loader_svg__paint1_linear)\"\n }, /*#__PURE__*/React.createElement(\"animateTransform\", {\n attributeType: \"xml\",\n attributeName: \"transform\",\n type: \"rotate\",\n from: \"0 10 10\",\n to: \"360 10 10\",\n dur: \"0.75s\",\n repeatCount: \"indefinite\"\n }))), _defs || (_defs = /*#__PURE__*/React.createElement(\"defs\", null, /*#__PURE__*/React.createElement(\"linearGradient\", {\n id: \"input-loader_svg__paint0_linear\",\n x1: 14.5,\n y1: 5.5,\n x2: 16.5,\n y2: 10,\n gradientUnits: \"userSpaceOnUse\"\n }, /*#__PURE__*/React.createElement(\"stop\", {\n stopColor: \"currentColor\"\n }), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 1,\n stopColor: \"currentColor\",\n stopOpacity: 0\n })), /*#__PURE__*/React.createElement(\"linearGradient\", {\n id: \"input-loader_svg__paint1_linear\",\n x1: 10,\n y1: 16,\n x2: 17,\n y2: 9.5,\n gradientUnits: \"userSpaceOnUse\"\n }, /*#__PURE__*/React.createElement(\"stop\", {\n stopColor: \"currentColor\"\n }), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 1,\n stopColor: \"currentColor\",\n stopOpacity: 0\n })))));\n}\nexport default SvgInputLoader;","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"inputmask\");","import React, {\n InputHTMLAttributes,\n useMemo,\n ChangeEvent,\n forwardRef,\n KeyboardEvent,\n useEffect,\n useCallback,\n useState,\n useRef,\n useImperativeHandle,\n ReactNode,\n} from 'react';\nimport classnames from 'classnames';\nimport debounce from 'lodash.debounce';\n\nimport ClearIcon from '../icon/icons/clear.svg';\nimport InputSearchIcon from '../icon/icons/input-search.svg';\nimport InputLoaderIcon from '../icon/icons/input-loader.svg';\nimport { Icon as SharedIcon } from '../icon';\nimport Inputmask from 'inputmask';\n\nimport styles from './input.module.scss';\nimport { useShared } from '../../providers/shared.provider';\n\nexport enum EInputVariant {\n filled = 'filled',\n outlined = 'outlined',\n pure = 'pure',\n}\n\nexport enum EInputSize {\n small = 'small',\n medium = 'medium',\n large = 'large',\n}\n\nexport enum EInputBorder {\n circle = 'circle',\n normal = 'normal',\n}\n\nexport enum EInputIconPosition {\n left = 'left',\n right = 'right',\n}\n\nexport type IInputProps = {\n error?: boolean;\n icon?: any;\n value?: any;\n autofocus?: boolean;\n variant?: keyof typeof EInputVariant;\n size?: keyof typeof EInputSize;\n border?: keyof typeof EInputBorder;\n iconPositon?: keyof typeof EInputIconPosition;\n loading?: boolean;\n showClear?: boolean;\n adaptive?: boolean;\n className?: string;\n beginSearch?: number;\n debounceTime?: number;\n labelPlaceholder?: string | ReactNode;\n mask?: string;\n maskObj?: any;\n maskParams?: any;\n isWbTheme?: boolean;\n onClear?: (val?: string) => void;\n onBeforeMask?: (val?: string) => void;\n onPointerUp?: (e: any) => void;\n onChange?: (value: string, event: ChangeEvent<HTMLInputElement>) => void;\n onSearch?: ((val: string) => void) | ((val: string) => Promise<void>);\n valueTransformer?: (value: string) => string;\n} & Omit<InputHTMLAttributes<HTMLInputElement>, 'size' | 'variant' | 'onChange'>;\n\nexport const Input = forwardRef<HTMLInputElement, IInputProps>(\n (\n {\n onChange,\n onFocus = () => {},\n onBlur = () => {},\n onClear,\n onBeforeMask,\n onSearch,\n onPointerUp,\n icon: Icon,\n name,\n required,\n disabled,\n value,\n type = 'text',\n placeholder,\n style,\n loading = false,\n showClear,\n error,\n labelPlaceholder,\n size = EInputSize.medium,\n variant = EInputVariant.outlined,\n border = EInputBorder.normal,\n iconPositon = EInputIconPosition.right,\n adaptive,\n width,\n className,\n debounceTime = 500,\n beginSearch = NaN,\n mask,\n maskObj,\n maskParams,\n autofocus,\n isWbTheme,\n valueTransformer,\n ...props\n }: IInputProps,\n ref\n ) => {\n const shared = useShared();\n\n const [_value, _setValue] = useState<string | undefined>(value);\n const [_loading, _setLoading] = useState(loading);\n const [_mask, _setMask] = useState(null);\n\n const innerRef = useRef<HTMLInputElement>(null);\n\n useImperativeHandle(ref, () => innerRef.current);\n\n useEffect(() => {\n if (props.autoFocus) {\n setTimeout(() => {\n innerRef.current.focus();\n }, 1);\n }\n }, [props.autoFocus]);\n\n useEffect(() => _setValue(value), [value]);\n useEffect(() => _setLoading(loading), [loading]);\n useEffect(() => {\n if (!mask && !maskObj && _mask) {\n _mask.remove();\n _setMask(null);\n }\n\n if ((!mask && !maskObj) || !innerRef.current) {\n return;\n }\n\n if (!innerRef.current) {\n return;\n }\n\n const inputMask = new Inputmask({ mask: mask || maskObj, greedy: false, onBeforeMask, ...(maskParams || {}) });\n\n innerRef.current &&\n setTimeout(() => {\n if (!innerRef.current) {\n return;\n }\n innerRef.current.value = value;\n _setMask(inputMask.mask(innerRef.current));\n innerRef.current.dispatchEvent(new Event('change', { bubbles: true }));\n });\n }, [mask, maskObj, maskParams, innerRef.current]);\n\n const classNames = useMemo(\n () =>\n classnames(\n styles.input,\n className,\n styles[`input__${variant}`],\n styles[`input__${size}`],\n styles[`input__border_${border}`],\n {\n [styles[`input__${size}_adaptive`]]: adaptive,\n [styles[`input__action_${size}`]]: Icon || _loading || showClear || onSearch,\n [styles[`input__actions_${size}`]]: (Icon || _loading || onSearch) && showClear,\n [styles[`input__actions_${iconPositon}`]]: (Icon || _loading || onSearch) && showClear,\n [styles.disabled]: disabled,\n [styles.invalid]: error,\n [styles.isWbTheme]: shared.isWbTheme || isWbTheme,\n }\n ),\n [variant, size, border, disabled, _loading, showClear, adaptive, className, error, iconPositon, onSearch]\n );\n\n const inputClassNames = useMemo(\n () =>\n classnames({\n [styles.invalid]: error,\n }),\n [error]\n );\n\n const clearClassNames = useMemo(\n () =>\n classnames(styles.clear, styles[`clear__${variant}`], styles[`clear__${size}`], {\n [styles[`clear__action_${size}`]]: Icon || _loading || onSearch,\n [styles[`clear__action_${iconPositon}`]]: Icon || _loading || onSearch,\n [styles.isWbTheme]: shared.isWbTheme || isWbTheme,\n }),\n [variant, size, Icon, _loading, _value, onSearch]\n );\n\n const loaderClassNames = useMemo(\n () =>\n classnames(\n styles.loader,\n styles[`loader__${variant}`],\n styles[`loader__${size}`],\n styles[`loader__${iconPositon}`],\n { [styles.isWbTheme]: shared.isWbTheme || isWbTheme }\n ),\n [variant, size, iconPositon]\n );\n\n const iconClassNames = useMemo(\n () =>\n classnames(styles.icon, styles[`icon__${variant}`], styles[`icon__${size}`], styles[`icon__${iconPositon}`], {\n [styles.isWbTheme]: shared.isWbTheme || isWbTheme,\n }),\n [variant, size, iconPositon]\n );\n\n const labelClassNames = useMemo(() => classnames(styles.label), []);\n\n const _onSearchDebounce = useCallback(\n debounce((val, callback) => {\n _setValue((prev) => {\n if (prev !== val) {\n return;\n }\n\n (async () => {\n await callback(val);\n _setLoading(false);\n })();\n\n return val;\n });\n }, debounceTime),\n []\n );\n\n const _onChange = useCallback(\n (e: ChangeEvent<HTMLInputElement>) => {\n const formattedValue = valueTransformer?.(e.currentTarget.value);\n const resultValue = valueTransformer ? formattedValue : e.currentTarget.value;\n onSearch && _onSearch(resultValue);\n _setValue(resultValue);\n if (onChange) {\n onChange(resultValue, e);\n }\n },\n [_onSearchDebounce, onSearch, onChange, beginSearch]\n );\n\n const _onSearch = useCallback(\n (val: string) => {\n _setLoading(true);\n\n _setValue(() => {\n if (!val) {\n onClear && onClear();\n _setLoading(false);\n } else if (val?.length >= beginSearch) {\n _onSearchDebounce(val, onSearch);\n } else {\n _setLoading(false);\n }\n\n return val;\n });\n },\n [_onSearchDebounce, onSearch, onClear, beginSearch]\n );\n\n const _onClear = useCallback(() => {\n _setValue(undefined);\n\n if (onClear) {\n onClear();\n }\n }, [onClear]);\n\n const _onKeyPress = useCallback(\n (e: KeyboardEvent<HTMLInputElement>) => {\n if (e.key === 'Enter') {\n onSearch && onSearch(_value || '');\n }\n },\n [_value, onSearch]\n );\n\n return (\n <div className={classNames} style={{ width: width }} onPointerUp={onPointerUp}>\n {labelPlaceholder && _value && <div className={labelClassNames}>{labelPlaceholder}</div>}\n <input\n {...props}\n className={inputClassNames}\n ref={innerRef}\n name={name}\n disabled={disabled}\n placeholder={placeholder || (typeof labelPlaceholder === 'string' ? labelPlaceholder : '')}\n type={type}\n value={_value || ''}\n onChange={_onChange}\n onFocus={onFocus}\n onKeyPress={_onKeyPress}\n onBlur={onBlur}\n required={required}\n style={style}\n />\n {Boolean(showClear && _value) && <SharedIcon icon={ClearIcon} className={clearClassNames} onClick={_onClear} />}\n {onSearch && !_loading && (\n <InputSearchIcon className={iconClassNames} onClick={onSearch.bind(null, _value || '')} />\n )}\n {Icon && !_loading && <Icon className={iconClassNames} />}\n {_loading && <InputLoaderIcon className={loaderClassNames} />}\n </div>\n );\n }\n);\n","import React, { ComponentProps, forwardRef, useCallback } from 'react';\nimport cn from 'classnames';\nimport DatePickerIcon from '../icon/icons/date-picker.svg';\nimport ClearIcon from '../icon/icons/clear.svg';\nimport { Icon } from '@shared/icon';\n\nimport generatePicker from 'antd/lib/date-picker/generatePicker';\nimport dateFnsGenerateConfig from 'rc-picker/lib/generate/dateFns';\nimport locale from 'antd/lib/date-picker/locale/ru_RU';\nimport { EInputSize, Input } from '@shared/input';\nimport { useShared } from '../../providers/shared.provider';\nlocale.lang.locale = 'ru';\n\nconst AntDatePicker = generatePicker<Date>(dateFnsGenerateConfig);\n\ntype IDatePickerProps = {\n error?: boolean;\n onClear?: (e: any) => void;\n onTouchStart?: (e: any) => void;\n format?: string;\n mask?: string;\n labelPlaceholder?: string;\n isWbTheme?: boolean;\n} & ComponentProps<typeof AntDatePicker>;\n\nexport const DatePicker = forwardRef(\n ({ error, onClear, format = 'DD.MM.YYYY', mask, labelPlaceholder, onClick, isWbTheme, ...props }: IDatePickerProps, ref) => {\n const shared = useShared();\n const onRenderInput = useCallback(\n (props: React.InputHTMLAttributes<HTMLInputElement>) => {\n return (\n <Input\n variant=\"pure\"\n mask={mask}\n error={error}\n labelPlaceholder={labelPlaceholder}\n onPointerUp={onClick}\n {...props}\n size={EInputSize.medium}\n onChange={(_, e) => props.onChange(e)}\n />\n );\n },\n [onClick, error]\n );\n\n return (\n // @ts-ignore\n <AntDatePicker\n {...props}\n // @ts-ignore\n ref={ref}\n locale={locale}\n suffixIcon={props.suffixIcon || <Icon icon={DatePickerIcon} />}\n clearIcon={\n <div onClick={onClear}>\n <Icon icon={ClearIcon} />\n </div>\n }\n className={cn(props.className, { 'date-picker-error': error, isWbTheme: shared.isWbTheme || isWbTheme })}\n placeholder={props.placeholder || labelPlaceholder}\n format={format}\n onClick={onClick}\n // @ts-ignore\n showToday={false}\n inputRender={onRenderInput}\n />\n );\n }\n);\n\nDatePicker.displayName = 'DatePicker';\n","import React from 'react';\nimport classnames from 'classnames';\n\nimport styles from './divider.module.scss';\n\nexport type IDividerProps = {\n width?: string;\n height?: string;\n bordered?: boolean;\n overflow?: number;\n children?: JSX.Element;\n className?: string;\n};\n\nexport const Divider = ({ width, height, bordered, className}: IDividerProps) => {\n return (\n <div\n className={classnames(styles.divider, className, { [styles.bordered]: bordered })}\n style={{\n width,\n height,\n }}\n />\n );\n};\n","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"antd/lib/dropdown\");","import React from 'react';\n\nimport AntDropdown from 'antd/lib/dropdown';\nimport { DropDownProps as AntDropdownProps } from 'antd/lib/dropdown';\nimport { ReactNode, useCallback } from 'react';\n\nimport styles from './dropdown.module.scss';\n\ninterface IDropdownProps extends AntDropdownProps {}\n\nexport const Dropdown = (props: IDropdownProps) => {\n const dropdownRender = useCallback(\n (originNode: ReactNode) => {\n return props.dropdownRender ? (\n <div className={styles.dropdown}>{props.dropdownRender(originNode)}</div>\n ) : (\n originNode\n );\n },\n [props.dropdownRender]\n );\n\n //@ts-ignore\n return <AntDropdown {...props} dropdownRender={dropdownRender} />;\n};\n","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"formik\");","import { useFormikContext } from \"formik\";\nimport { MutableRefObject, useEffect } from \"react\";\n\ninterface IFocusErrorProps {\n formRef: MutableRefObject<HTMLFormElement>;\n}\n\nexport const FocusError = (props: IFocusErrorProps) => {\n const { errors, isSubmitting, isValidating } = useFormikContext();\n\n useEffect(() => {\n if (isSubmitting && !isValidating) {\n let keys = Object.keys(errors);\n if (keys.length > 0) {\n const selector = `[name=${keys[0]}]`;\n const errorElement = props.formRef.current.querySelector(selector) as HTMLElement;\n if (errorElement) {\n errorElement.focus();\n errorElement.scrollIntoView({ block: 'center' });\n }\n }\n }\n }, [errors, isSubmitting, isValidating]);\n\n return null;\n};\n","import React from 'react';\n\nimport { FormikContextType, FormikProvider } from \"formik\"\nimport { PropsWithChildren, useCallback, useRef } from \"react\"\nimport { FocusError } from \"./form-focus-error\";\n\ninterface IFormProps {\n form: FormikContextType<any>;\n className?: string;\n onBlur?: (values: any) => void;\n onChange?: (values: any) => void;\n onChangeBlur?: (values: any) => void;\n}\n\nexport const Form = (props: PropsWithChildren<IFormProps>) => {\n const ref = useRef<HTMLFormElement>();\n\n const onChangeBlur = useCallback(async () => {\n if (props.form.dirty && props.form.isValid) {\n const isValid = await props.form.validateForm();\n if (!Object.keys(isValid).length) {\n props.onChangeBlur && props.onChangeBlur(props.form.values);\n }\n }\n }, [props.form]);\n\n const onBlur = useCallback(() => {\n setTimeout(() => {\n props.onBlur && props.onBlur(props.form.values);\n onChangeBlur();\n });\n }, [props.onBlur, props.form]);\n\n const onChange = useCallback(() => {\n props.onChange && setTimeout(() => {\n props.onChange(props.form.values);\n });\n }, [props.onChange, props.form]);\n\n return <FormikProvider value={props.form}>\n <form ref={ref} className={props.className} onSubmit={props.form.handleSubmit} onBlur={onBlur} onChange={onChange}>\n {props.children}\n <FocusError formRef={ref} />\n </form>\n </FormikProvider>\n};\n","import React from 'react';\n\nimport { ComponentProps, ElementType, PropsWithChildren, useMemo } from 'react';\nimport { getIn, useField, useFormikContext } from 'formik';\nimport { Text } from '@shared/text';\nimport classnames from 'classnames';\n\nimport styles from './form-control.module.scss';\n\ntype IFormControlProps<C extends ElementType> = {\n [key in keyof ComponentProps<C>]?: ComponentProps<C>[key];\n} & {\n name: string;\n label?: string;\n component?: C;\n onChange?: any;\n errorPosition?: 'absolute' | 'relative' | 'static' | 'initial' | 'inherit';\n};\n\nexport const isRequiredField = (validationSchema, name) => {\n if (!validationSchema) {\n return false;\n }\n const schemaDescription = validationSchema.describe();\n const accessor = name.split('.').join('.fields.');\n const field = getIn(schemaDescription.fields, accessor);\n if (!field) {\n return false;\n }\n const isRequired = field.tests.some((test) => test.name === 'required');\n return isRequired;\n};\n\nexport function FormControl<T extends ElementType>({\n name,\n label,\n component,\n onChange,\n errorPosition = 'absolute',\n ...props\n}: PropsWithChildren<IFormControlProps<T>>) {\n const [field, meta, helpers] = useField({ name, type: 'object' });\n const ctx = useFormikContext();\n const Component = component as any;\n\n const _onChange = (value: any, args: any) => {\n helpers.setValue(value);\n helpers.setError(undefined);\n\n onChange &&\n setTimeout(() => {\n if (onChange) {\n onChange(value, args);\n }\n }, 0);\n\n helpers.setTouched(true, false);\n };\n\n const labelPlaceholder = useMemo(() => {\n if (props.labelPlaceholder && isRequiredField(ctx.validationSchema, name)) {\n return `${props.labelPlaceholder} *`;\n }\n\n return props.labelPlaceholder;\n }, [props.labelPlaceholder, ctx.validationSchema]);\n\n const labelClassNames = useMemo(\n () => classnames(styles.label, { [styles.invalid]: meta.touched && meta.error }),\n [meta.touched, meta.error]\n );\n\n return (\n <div>\n {!!label && (\n <Text className={labelClassNames} size=\"large\" addition>\n {label}\n </Text>\n )}\n <Component\n {...field}\n {...props}\n label={label}\n labelPlaceholder={labelPlaceholder}\n error={meta.touched && meta.error}\n onChange={_onChange}\n />\n {meta.touched && meta.error && (\n <Text className={styles.error} size=\"small\" error style={{ position: errorPosition }}>\n {meta.error}\n </Text>\n )}\n </div>\n );\n}\n","import React from 'react';\n\nimport { useMemo } from 'react';\nimport classnames from 'classnames';\n\nimport styles from './heading.module.scss';\nimport { useShared } from '../../providers/shared.provider';\n\nexport enum EHeadingLevel {\n h1 = 1,\n h2,\n h3,\n h4,\n h5,\n h6,\n}\n\nexport enum EHeadingWeight {\n bold = 'bold',\n medium = 'medium',\n regular = 'regular',\n}\n\nexport enum EHeadingVariant {\n default = 'default',\n addition = 'addition',\n light = 'light',\n disabled = 'disabled',\n brand = 'brand',\n attention = 'attention',\n error = 'error',\n success = 'success',\n warning = 'warning',\n inverse = 'inverse',\n}\n\ninterface IHeadingProps {\n level?: EHeadingLevel;\n mobLevel?: EHeadingLevel;\n children?: any;\n addition?: boolean;\n attention?: boolean;\n success?: boolean;\n warning?: boolean;\n inverse?: boolean;\n error?: boolean;\n variant?: keyof typeof EHeadingVariant;\n className?: string;\n centerText?: boolean;\n weight?: keyof typeof EHeadingWeight;\n isWbTheme?: boolean;\n}\n\nexport const Heading = ({\n children,\n level = EHeadingLevel.h1,\n mobLevel,\n addition,\n attention,\n warning,\n success,\n inverse,\n error,\n variant,\n className,\n centerText,\n weight,\n isWbTheme,\n}: IHeadingProps) => {\n const shared = useShared();\n\n const HeadingTag = useMemo(() => `h${level}` as keyof JSX.IntrinsicElements, [level]);\n\n const classNames = useMemo(\n () =>\n classnames(\n styles.heading,\n styles[`heading__h${level}`],\n styles[`heading__mob__h${mobLevel}`],\n styles[`heading__weight_${weight}`],\n styles[`heading__variant_${variant}`],\n {\n [styles.textAddition]: addition,\n [styles.textAttention]: attention,\n [styles.textInverse]: inverse,\n [styles.textSuccess]: success,\n [styles.textError]: error,\n [styles.textWarning]: warning,\n [styles.center]: centerText,\n [styles.isWbTheme]: shared.isWbTheme || isWbTheme,\n },\n className\n ),\n [addition, inverse, error, className, weight, warning, success, attention, centerText, level, variant]\n );\n\n return <HeadingTag className={classNames}>{children}</HeadingTag>;\n};\n","export const appleDetect = () => {\n try {\n return [\n 'iPad Simulator',\n 'iPhone Simulator',\n 'iPod Simulator',\n 'iPad',\n 'iPhone',\n 'iPod'\n ].includes(navigator.platform)\n // iPad on iOS 13 detection\n || (navigator.userAgent.includes(\"Mac\") && \"ontouchend\" in document)\n } catch (e) {\n return false;\n }\n}\n","import { useEffect, useRef } from 'react';\n\nexport function useCombinedRefs(...refs) {\n const targetRef = useRef();\n\n useEffect(() => {\n refs.forEach((ref) => {\n if (!ref) return;\n\n if (typeof ref === 'function') {\n ref(targetRef.current);\n } else {\n ref.current = targetRef.current;\n }\n });\n }, [refs]);\n\n return targetRef;\n}\n","const locale = 'ru-RU';\nconst units: { [key: string]: Intl.DateTimeFormatOptions } = {\n YYYY: {\n year: 'numeric',\n },\n YY: {\n year: '2-digit',\n },\n M: {\n month: 'numeric',\n },\n MM: {\n month: '2-digit',\n },\n MMM: {\n month: 'short',\n },\n MMMM: {\n month: 'long',\n },\n MMMMM: {\n month: 'long',\n },\n D: {\n day: 'numeric',\n },\n DD: {\n day: '2-digit',\n },\n d: {\n weekday: 'short',\n },\n dd: {\n weekday: 'long',\n },\n hh: {\n hour: '2-digit',\n },\n mm: {\n minute: '2-digit',\n },\n ss: {\n second: '2-digit',\n },\n};\n\ninterface IDateFormatOptions {\n plural?: boolean;\n utc?: boolean;\n}\n\nexport const getDate = (value: string = '') => {\n if (/[_]/.test(value)) {\n return new Date('Invalid Date');\n }\n\n return new Date(value.replaceAll('_', 'Ё').split('.').reverse().join('/'));\n}\n\nexport const dateFormat = (value: any, format: string, { plural, utc }: IDateFormatOptions = { utc: true, plural: true }) => {\n let _value = new Date(value);\n\n if ((!value && value !== 0) || _value.getTime() !== _value.getTime()) {\n return null;\n }\n\n if (utc) {\n const userTimezoneOffset = _value.getTimezoneOffset() * 60000;\n _value = new Date(_value.getTime() + userTimezoneOffset);\n }\n\n const dateUnits = [];\n const dateItems = format.split(/\\, | \\- | |:|\\-|\\.|_/);\n const delimeters = format.split(/[DMYdhms]/).filter(Boolean);\n let stringDate = '';\n\n dateItems.forEach((item) => {\n let unit: string;\n\n if (/hh|mm|ss/.test(item)) {\n unit = _value.toLocaleTimeString(locale, units[item]);\n if (unit.length === 1) {\n unit = `0${unit}`;\n }\n } else if (plural && item === 'MMMM') {\n const options = Object.assign({ day: 'numeric' }, units[item]);\n unit = _value.toLocaleDateString(locale, options).split(' ')[1];\n } else if (item === 'MMM') {\n unit = _value.toLocaleDateString(locale, units[item]);\n unit = unit.slice(0, 3);\n } else if (item === 'MMMMM') {\n const options = Object.assign({ day: 'numeric' }, units[item]);\n unit = _value.toLocaleDateString(locale, options).split(' ')[1].toUpperCase();\n } else if (item === 'd') {\n unit = _value.toLocaleString(locale, units[item]);\n unit = unit.replace(/^./, (c) => c.toUpperCase());\n } else {\n unit = _value.toLocaleString(locale, units[item]);\n }\n\n // if (index === 0) {\n // unit = unit.toCapitalize();\n // }\n\n dateUnits.push(unit);\n });\n\n dateUnits.forEach((item, i) => {\n stringDate += item + (delimeters[i] ? delimeters[i] : '');\n });\n\n return stringDate;\n};\n","export const dateWithoutTimezone = (date: Date) => {\n return new Date(date.getTime() - date.getTimezoneOffset() * 60000)\n}\n\nexport const dateWithTimezone = (date: Date) => {\n return new Date(date.getTime() + date.getTimezoneOffset() * 60000)\n}\n","export const pluralize = (val: number, plurals: string[]): string => {\n if (val % 10 === 0 || (val % 10 > 4 && val % 10 < 10) || (val % 100 > 4 && val % 100 < 20)) {\n return plurals[2];\n }\n\n if (val % 10 > 1 && val % 10 < 5) {\n return plurals[1];\n }\n\n if (val % 10 === 1) {\n return plurals[0];\n }\n\n return '';\n};\n","/**\n * Format a number of views into a string with thousands separators.\n *\n * @example\n * formatViews(1000) // '1 000'\n * formatViews(123456) // '123 456'\n * @param {number} num - The number of views.\n * @returns {string} The formatted string.\n */\nexport const formatViews = (num: number) => {\n let numStr = num.toString();\n\n if (numStr.length <= 3) {\n return numStr;\n }\n return formatViews(parseInt(numStr.slice(0, -3))) + ' ' + numStr.slice(-3);\n};\n","export const priceFormat = (value: number | string) => {\n const price = Intl.NumberFormat('ru-RU', {\n currency: 'RUB',\n style: 'currency',\n minimumFractionDigits: 0,\n }).formatToParts(Math.ceil((+value || 0) / 100));\n\n const currencySign = price.find((cur) => cur.type === 'currency').value;\n\n return (\n price\n .map(({ type, value }) => {\n switch (type) {\n case 'currency':\n return null;\n default:\n return value;\n }\n })\n .filter(Boolean)\n .slice(0, -1)\n .reduce((val, part) => val + part, '') +\n ' ' +\n currencySign\n );\n};\n","const PREPOSITIONS = [\n 'в',\n 'во',\n 'без',\n 'до',\n 'из',\n 'к',\n 'ко',\n 'на',\n 'по',\n 'о',\n 'от',\n 'при',\n 'с',\n 'со',\n 'у',\n 'не',\n 'за',\n 'над',\n 'для',\n 'об',\n 'под',\n 'про',\n 'и',\n 'а',\n 'но',\n 'да',\n 'или',\n 'ли',\n 'бы',\n 'то',\n 'что',\n 'как',\n 'я',\n 'он',\n 'мы',\n 'они',\n 'ни',\n 'же',\n 'вы',\n 'им',\n '-',\n];\n\nconst ESCAPE = ' ';\nconst DASH = '—';\n\nconst replacement = (str) => str.slice(0, -1) + ESCAPE;\n\nconst decorate = (value: string) => {\n const regex = new RegExp(\n PREPOSITIONS.map((x) => {\n if (x === '-') {\n x = DASH;\n }\n return ' ' + x + ' ';\n }).join('|'),\n 'gi',\n );\n const formattedText = value.replace(regex, replacement);\n return formattedText;\n};\n\nexport const textSanitize = (value: string): string => {\n if (!value) {\n return value;\n }\n return decorate(value);\n};\n","import { useEffect, useState } from \"react\";\nimport { dateFormat } from \"./date-format\";\nimport { dateWithTimezone } from \"./date\";\n\nconst UNITS = [\n {\n label: 'ч',\n value: 60 * 60 * 1000,\n },\n {\n label: 'мин',\n value: 60 * 1000,\n },\n];\n\nexport const timeLeftMinutes = (time: number) => {\n return timeLeft(time * 1000 * 60);\n};\n\nexport const timeLeft = (time: number) => {\n let str = '';\n\n UNITS.forEach((unit) => {\n\n if (Math.floor(time / unit.value)) {\n str += `${Math.floor(time / unit.value)} ${unit.label} `;\n }\n\n time = time - Math.floor(time / unit.value) * unit.value;\n });\n\n return str;\n};\n\nconst wzero = (input: number) => (input > 9 ? String(input) : `0${input > -1 ? input : '0'}`);\nconst getTimeLeft = (date: Date) => {\n const timeLeft = date.getTime() - new Date().getTime();\n\n if (timeLeft >= 24 * 60 * 60 * 1000) {\n return `до ${dateFormat(date, 'D MMMM hh:mm')}`;\n }\n\n if (timeLeft < 0) {\n return null;\n }\n\n const dateLeft = dateWithTimezone(new Date(timeLeft));\n return `${wzero(dateLeft.getHours())}:${wzero(dateLeft.getMinutes())}:${wzero(dateLeft.getSeconds())}`;\n};\n\ninterface IUseTimeLeftProps {\n expireDate: Date;\n onExpired: () => void;\n}\n\nexport const useTimeLeft = ({ expireDate = new Date(0), onExpired }: IUseTimeLeftProps) => {\n const [timeLeft, setTimeLeft] = useState(getTimeLeft(expireDate));\n\n useEffect(() => {\n setTimeLeft(getTimeLeft(expireDate));\n\n const timeout = setTimeout(() => {\n setTimeLeft(getTimeLeft(expireDate));\n }, 1000);\n\n if (!timeLeft) {\n onExpired();\n }\n\n return () => clearTimeout(timeout);\n }, [timeLeft, expireDate]);\n\n return timeLeft;\n};\n","export { appleDetect } from './apple-detect';\nexport { useCombinedRefs } from './combine-ref';\nexport { dateFormat, getDate } from './date-format';\nexport { dateWithTimezone, dateWithoutTimezone } from './date';\nexport { pluralize } from './pluralize';\nexport { formatViews } from './views-format';\nexport { priceFormat } from './price-format';\nexport { textSanitize } from './text-sanitize';\nexport { timeLeft, timeLeftMinutes, useTimeLeft } from './time-left';\n\nfunction generateToken(n) {\n var chars = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789';\n var token = '';\n for (var i = 0; i < n; i++) {\n token += chars[Math.floor(Math.random() * chars.length)];\n }\n return token;\n}\n\nexport const uuidv4 = () => {\n return generateToken(10);\n};\n","import React, { useState } from 'react';\n\nimport classNames from 'classnames';\n\nimport styles from './loader.module.scss';\nimport { uuidv4 } from '@shared/utils';\n\ninterface ILoaderProps {\n absolute?: boolean;\n fixed?: boolean;\n active?: boolean;\n id?: string;\n className?: string;\n}\n\ninterface ILoaderIconProps {\n className?: string;\n id?: string;\n}\n\nconst LoaderIcon = (props: ILoaderIconProps) => {\n const [id] = useState(props.id || uuidv4());\n\n return (\n <svg\n className={props.className}\n width=\"20\"\n height=\"20\"\n viewBox=\"0 0 20 20\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M17 10C17 11.6195 16.4385 13.1889 15.4111 14.4408C14.3837 15.6926 12.954 16.5495 11.3657 16.8655C9.77729 17.1814 8.1285 16.9369 6.70024 16.1734C5.27198 15.41 4.15262 14.175 3.53287 12.6788C2.91311 11.1826 2.83133 9.51776 3.30144 7.96801C3.77155 6.41825 4.76448 5.07945 6.11103 4.17971C7.45758 3.27997 9.07445 2.87497 10.6861 3.03371C12.0062 3.16372 13.2558 3.6653 14.294 4.47173C14.6757 4.76817 14.6728 5.32726 14.331 5.66897V5.66897C13.9893 6.01068 13.4387 6.00353 13.045 5.72325C12.3028 5.1948 11.4313 4.86557 10.5146 4.77528C9.30584 4.65623 8.09319 4.95998 7.08328 5.63478C6.07336 6.30959 5.32867 7.31369 4.97608 8.47601C4.6235 9.63832 4.68484 10.8869 5.14965 12.0091C5.61447 13.1312 6.45399 14.0575 7.52519 14.6301C8.59638 15.2027 9.83297 15.3861 11.0242 15.1491C12.2155 14.9122 13.2878 14.2695 14.0583 13.3306C14.8289 12.3917 15.25 11.2146 15.25 10H17Z\"\n fill={`url(#${id})`}\n >\n <animateTransform\n attributeType=\"xml\"\n attributeName=\"transform\"\n type=\"rotate\"\n from=\"0 10 10\"\n to=\"360 10 10\"\n dur=\"0.75s\"\n repeatCount=\"indefinite\"\n />\n </path>\n <path\n d=\"M17 10C17 11.6195 16.4385 13.1889 15.4111 14.4408C14.3837 15.6926 12.954 16.5495 11.3657 16.8655C9.77729 17.1814 8.1285 16.9369 6.70024 16.1734C5.27198 15.41 4.15262 14.175 3.53287 12.6788C2.91311 11.1826 2.83133 9.51776 3.30144 7.96801C3.77155 6.41825 4.76448 5.07945 6.11103 4.17971C7.45758 3.27997 9.07445 2.87497 10.6861 3.03371C12.0062 3.16372 13.2558 3.6653 14.294 4.47173C14.6757 4.76817 14.6728 5.32726 14.331 5.66897V5.66897C13.9893 6.01068 13.4387 6.00353 13.045 5.72325C12.3028 5.1948 11.4313 4.86557 10.5146 4.77528C9.30584 4.65623 8.09319 4.95998 7.08328 5.63478C6.07336 6.30959 5.32867 7.31369 4.97608 8.47601C4.6235 9.63832 4.68484 10.8869 5.14965 12.0091C5.61447 13.1312 6.45399 14.0575 7.52519 14.6301C8.59638 15.2027 9.83297 15.3861 11.0242 15.1491C12.2155 14.9122 13.2878 14.2695 14.0583 13.3306C14.8289 12.3917 15.25 11.2146 15.25 10H17Z\"\n fill={`url(#${id}_1)`}\n >\n <animateTransform\n attributeType=\"xml\"\n attributeName=\"transform\"\n type=\"rotate\"\n from=\"0 10 10\"\n to=\"360 10 10\"\n dur=\"0.75s\"\n repeatCount=\"indefinite\"\n />\n </path>\n <defs>\n <linearGradient id={`${id}`} x1=\"14.5\" y1=\"5.5\" x2=\"16.5\" y2=\"10\" gradientUnits=\"userSpaceOnUse\">\n <stop stop-color=\"currentColor\" />\n <stop offset=\"1\" stop-color=\"currentColor\" stop-opacity=\"0\" />\n </linearGradient>\n <linearGradient id={`${id}_1`} x1=\"10\" y1=\"16\" x2=\"17\" y2=\"9.5\" gradientUnits=\"userSpaceOnUse\">\n <stop stop-color=\"currentColor\" />\n <stop offset=\"1\" stop-color=\"currentColor\" stop-opacity=\"0\" />\n </linearGradient>\n </defs>\n </svg>\n );\n};\n\nexport const Loader = (props: ILoaderProps) => {\n if (props.absolute) {\n return (\n <div className={classNames(styles.absolute, props.className, { [styles.active]: props.active })}>\n {props.active && <LoaderIcon id={props.id} className={styles.loader} />}\n </div>\n );\n }\n\n if (props.fixed) {\n return (\n <div className={classNames(styles.fixed, props.className, { [styles.active]: props.active })}>\n {props.active && <LoaderIcon id={props.id} className={styles.loader} />}\n </div>\n );\n }\n\n return <LoaderIcon className={classNames(styles.loader, props.className)} />;\n};\n","import React from 'react';\nimport classnames from 'classnames';\n\nimport styles from './loader-line.module.scss';\n\nexport type ILoaderLineProps = {\n active?: boolean;\n children?: JSX.Element;\n};\n\n\nexport const LoaderLine = ({ active }: ILoaderLineProps) => {\n return (\n <>\n <div className={classnames(styles.loaderLine, { [styles.active]: active })}>\n <div className={styles.border} />\n <div className={styles.bar} />\n </div>\n </>\n );\n};\n","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"antd/lib/menu\");","import React, { PropsWithChildren } from 'react';\n\nimport AntMenu from 'antd/lib/menu';\nimport { MenuProps as AntMenuProps } from 'antd/lib/menu';\n\ninterface IMenuProps extends AntMenuProps {}\n\nexport const Menu = (props: PropsWithChildren<IMenuProps>) => {\n // @ts-ignore\n return <AntMenu {...props} />;\n};\n","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"antd/lib/modal\");","var _path, _g;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgModalClose(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 20 20\",\n fill: \"none\"\n }, props), /*#__PURE__*/React.createElement(\"mask\", {\n id: \"modal-close_svg__a\",\n style: {\n maskType: \"alpha\"\n },\n maskUnits: \"userSpaceOnUse\",\n x: 0,\n y: 0,\n width: 20,\n height: 20\n }, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n fill: \"color(display-p3 .851 .851 .851)\",\n d: \"M0 0h20v20H0z\"\n }))), _g || (_g = /*#__PURE__*/React.createElement(\"g\", {\n mask: \"url(#modal-close_svg__a)\"\n }, /*#__PURE__*/React.createElement(\"path\", {\n d: \"M4.494 4.495a.714.714 0 011.01 0L10 8.989l4.495-4.494a.714.714 0 01.943-.06l.068.06a.714.714 0 010 1.01L11.01 10l4.495 4.495a.714.714 0 01.059.943l-.06.067a.714.714 0 01-1.01 0L10 11.011l-4.494 4.494a.714.714 0 01-.943.06l-.068-.06a.714.714 0 010-1.01L8.99 10 4.494 5.505a.714.714 0 01-.06-.943l.06-.067z\",\n fill: \"color(display-p3 .4784 .4863 .502)\"\n }))));\n}\nexport default SvgModalClose;","var _circle, _path;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgArrowNext(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 49 48\",\n fill: \"none\",\n width: \"1em\",\n height: \"1em\"\n }, props), _circle || (_circle = /*#__PURE__*/React.createElement(\"circle\", {\n cx: 24,\n cy: 24,\n r: 24,\n transform: \"matrix(-1 0 0 1 48.5 0)\",\n fill: \"#F6F6F6\"\n })), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n fillRule: \"evenodd\",\n clipRule: \"evenodd\",\n d: \"M20.793 17.293a1 1 0 000 1.414L26.086 24l-5.293 5.293a1 1 0 001.414 1.414l6-6a1 1 0 000-1.414l-6-6a1 1 0 00-1.414 0z\",\n fill: \"#000\"\n })));\n}\nexport default SvgArrowNext;","import React from 'react';\n\nimport { Heading } from '@shared/heading';\nimport { Icon } from '@shared/icon';\nimport AntdModal from 'antd/lib/modal';\nimport {\n ComponentProps,\n ElementType,\n forwardRef,\n MutableRefObject,\n PropsWithChildren,\n ReactNode,\n useCallback,\n useEffect,\n useState,\n} from 'react';\nimport ModalCloseIcon from './../icon/icons/modal-close.svg';\nimport classNames from 'classnames';\n\nimport styles from './modal.module.scss';\nimport { useShared } from '../../providers/shared.provider';\n\nexport type PropsWithModal<P, D = any> = P & {\n data: D;\n modal: IModalRef<D>;\n};\n\nexport interface IModalRef<D = any> {\n open: (data: D) => void;\n close: () => void;\n setTitle: (title: string | ReactNode) => void;\n setFooter: (node: ReactNode) => void;\n setClosable: (show: boolean) => void;\n setWidth: (width: string | number) => void;\n setFooterFixed: (value: boolean) => void;\n setFull: (value: boolean) => void;\n setGallery: (value: boolean) => void;\n setSidebar: (value: boolean) => void;\n setTabletPopup: (value: boolean) => void;\n setShowCloseIcon: (value: boolean) => void;\n setMaskClosable: (value: boolean) => void;\n setGrayBackground: (value: boolean) => void;\n setNoPadding: (value: boolean) => void;\n setFooterClassName: (value: string) => void;\n}\n\ntype IModalProps<C extends ElementType> = {\n [key in keyof ComponentProps<C>]?: ComponentProps<C>[key];\n} & {\n component?: any;\n title?: string;\n width?: number | string;\n footer?: ReactNode;\n footerClassName?: string;\n sidebar?: boolean;\n showClose?: boolean;\n maskClosable?: boolean;\n footerFixed?: boolean;\n full?: boolean;\n gallery?: boolean;\n tabletPopup?: boolean;\n grayBackground?: string;\n noPadding?: boolean;\n};\n\nfunction _Modal<C extends ElementType>(\n {\n title,\n footer,\n width = 'max-content',\n closable = true,\n sidebar,\n showClose = true,\n maskClosable = true,\n component: Component,\n children,\n footerFixed,\n footerClassName,\n ...props\n }: PropsWithChildren<IModalProps<C>>,\n ref?: MutableRefObject<IModalRef>\n) {\n const shared = useShared();\n\n const [open, setOpen] = useState(false);\n const [data, setData] = useState<any>();\n const [_width, _setWidth] = useState<number | string>(width);\n const [_title, _setTitle] = useState<ReactNode>(title);\n const [_footer, _setFooter] = useState<ReactNode>(footer);\n const [_footerClassName, _setFooterClassName] = useState<ReactNode>(footerClassName);\n const [_closable, _setClosable] = useState<boolean>(props.closable);\n const [_full, _setFull] = useState<boolean>(props.full);\n const [_noPadding, _setNoPadding] = useState<boolean>(props.noPadding);\n const [_gallery, _setGallery] = useState<boolean>(props.gallery);\n const [_tabletPopup, _setTabletPopup] = useState<boolean>(props.tabletPopup);\n const [_footerFixed, _setFooterFixed] = useState<boolean>(props.footerFixed);\n const [_sidebar, _setSidebar] = useState<boolean>(sidebar);\n const [_showClose, _setShowClose] = useState<boolean>(showClose);\n const [_maskClosable, _setMaskClosable] = useState<boolean>(maskClosable);\n const [_grayBackground, _setGrayBackground] = useState<boolean>(props.grayBackground);\n\n useEffect(() => {\n const html = document.firstElementChild as HTMLElement;\n const container = document.body.firstElementChild as HTMLDivElement;\n const scrollTop = html.scrollTop;\n const isOpen = open;\n if (open) {\n document.body.style.overflowY = 'auto';\n html.style.overflowY = 'hidden';\n container.style.transform = `translateY(-${scrollTop}px)`;\n html.style.overscrollBehavior = 'none';\n }\n\n return () => {\n document.body.style.overflowY = '';\n html.style.overflowY = '';\n container.style.transform = '';\n html.style.overscrollBehavior = '';\n\n if (isOpen) {\n let item = html.offsetHeight;\n console.log(item);\n html.scrollTop = scrollTop;\n }\n };\n }, [open]);\n\n useEffect(() => {\n return () => {\n const html = document.firstElementChild as HTMLElement;\n const container = document.body.firstElementChild as HTMLDivElement;\n\n document.body.style.overflowY = '';\n html.style.overflowY = '';\n container.style.transform = '';\n html.style.overscrollBehavior = '';\n };\n }, []);\n\n const handleCancel = useCallback(() => {\n setOpen(false);\n }, []);\n\n const handleOpen = useCallback((data) => {\n setData(data);\n setTimeout(() => {\n setOpen(true);\n }, 1);\n }, []);\n\n useEffect(() => {\n if (!ref) {\n return;\n }\n\n ref.current = {\n open: handleOpen,\n close: handleCancel,\n setTitle: _setTitle,\n setFooter: _setFooter,\n setClosable: _setClosable,\n setWidth: _setWidth,\n setFooterFixed: _setFooterFixed,\n setFull: _setFull,\n setGallery: _setGallery,\n setSidebar: _setSidebar,\n setShowCloseIcon: _setShowClose,\n setMaskClosable: _setMaskClosable,\n setTabletPopup: _setTabletPopup,\n setGrayBackground: _setGrayBackground,\n setNoPadding: _setNoPadding,\n setFooterClassName: _setFooterClassName,\n };\n }, [ref?.current]);\n\n return (\n //@ts-ignore\n <AntdModal\n open={open}\n closable={_closable}\n maskClosable={_maskClosable}\n destroyOnClose={true}\n afterClose={() => {\n setData(null);\n setOpen(false);\n\n document.body.style.overflowY = '';\n }}\n width={_width}\n closeIcon={<Icon className={styles.close} size=\"medium\" icon={ModalCloseIcon} />}\n onCancel={handleCancel}\n title={\n typeof _title === 'string' ? (\n shared.isWbTheme ? (\n <Heading level={2} mobLevel={2}>\n {_title}\n </Heading>\n ) : (\n <Heading className={styles.header} level={4}>\n {_title}\n </Heading>\n )\n ) : (\n _title\n )\n }\n footer={_footer ? <div className={classNames(styles.footer, _footerClassName)}>{_footer}</div> : null}\n maskTransitionName=\"\"\n transitionName=\"\"\n className={classNames({\n 'ant-modal-hide-close': !_showClose,\n 'ant-modal-sidebar': _sidebar,\n 'ant-modal-footer-fixed': _footerFixed && !!_footer,\n 'ant-modal-full': _full,\n 'ant-modal-gallery': _gallery,\n 'ant-modal-gray': _grayBackground,\n 'ant-modal-no-padding': _noPadding,\n })}\n wrapClassName={classNames({\n 'ant-modal-tablet-popup': _tabletPopup,\n })}\n >\n {children}\n {!!Component && <Component {...props} data={data} modal={ref.current} />}\n </AntdModal>\n );\n}\n\nexport const Modal = forwardRef<IModalRef, IModalProps<any>>(_Modal);\n","import React from 'react';\n\nimport { createContext, createRef, PropsWithChildren, RefObject, useContext, useMemo, useState } from 'react';\nimport { IModalRef, Modal } from './modal';\nimport { uuidv4 } from '@shared/utils';\n\ntype IModalContextPrivate = {\n create: (component: any, initialProps: any) => RefObject<IModalRef<any>>;\n};\n\ntype IModalObj = {\n ref: RefObject<IModalRef<any>>;\n id: any;\n component: any;\n initialProps: any;\n};\n\nconst modalContext = createContext<IModalContextPrivate>(null);\n\nexport const ModalProvider = ({ children }: PropsWithChildren<any>) => {\n const [modals, setModals] = useState<IModalObj[]>([]);\n\n const value = useMemo(\n () => ({\n create: (component: any, initialProps: any) => {\n const ref = createRef<IModalRef>();\n const id = uuidv4();\n setModals((prev) => prev.concat({ ref, id, component, initialProps }));\n\n return ref;\n },\n }),\n []\n );\n\n return (\n <modalContext.Provider value={value}>\n {children}\n {modals.map((modal) => (\n <Modal key={modal.id} ref={modal.ref} component={modal.component} {...modal.initialProps} />\n ))}\n </modalContext.Provider>\n );\n};\n\nexport const useModal = (component: any, initialProps?: any) => {\n const data = useContext(modalContext);\n\n const res = useMemo(() => data.create(component, initialProps || {}), [component]);\n\n if (!data) {\n throw new Error('Не подключен ModalProvider');\n }\n\n return res;\n};\n","var _circle, _path;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgArrowPrev(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 49 48\",\n fill: \"none\",\n width: \"1em\",\n height: \"1em\"\n }, props), _circle || (_circle = /*#__PURE__*/React.createElement(\"circle\", {\n cx: 24.5,\n cy: 24,\n r: 24,\n fill: \"#F6F6F6\"\n })), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n fillRule: \"evenodd\",\n clipRule: \"evenodd\",\n d: \"M28.207 17.293a1 1 0 010 1.414L22.914 24l5.293 5.293a1 1 0 01-1.414 1.414l-6-6a1 1 0 010-1.414l6-6a1 1 0 011.414 0z\",\n fill: \"#000\"\n })));\n}\nexport default SvgArrowPrev;","import React, { useCallback, useEffect, useState } from 'react';\nimport ArrowNext from '../icon/icons/arrow-next.svg';\nimport ArrowPrev from '../icon/icons/arrow-prev.svg';\nimport styles from './gallery.module.scss';\nimport { PropsWithModal } from '@shared/modal';\nimport { Text } from '@shared/text';\n\ninterface IImageUrl {\n thumbWebp?: string;\n thumbJpeg?: string;\n jpeg: string;\n webp?: string;\n}\n\nexport interface IGalleryModalData {\n imageUrls: IImageUrl[];\n currentIndex: number;\n isImageCounter?: boolean;\n}\n\n/**\n * A gallery component for displaying a list of images in a modal.\n *\n * @param {Object} props.modal - The modal instance to use for displaying the gallery.\n * @param {function} props.modal.setGallery - Function to set the gallery state in the modal.\n * @param {IGalleryModalData} props.data - The data for the gallery.\n * @param {IImageUrl[]} props.data.imageUrls - An array of image URLs to display in the gallery\n * @param {number} props.data.currentIndex - The index of the currently displayed image.\n * @param {boolean} [props.data.isImageCounter=true] - Whether to display an image counter.\n * @returns {JSX.Element} A JSX element representing the gallery.\n */\n\nexport const Gallery = ({ modal, data }: PropsWithModal<{}, IGalleryModalData>) => {\n const { imageUrls, currentIndex = 0, isImageCounter = true } = data;\n\n const [current, setCurrent] = useState(currentIndex);\n\n useEffect(() => {\n modal.setGallery(true);\n }, []);\n\n const onNext = useCallback(() => {\n if (imageUrls.length <= current + 1) {\n setCurrent(0);\n } else {\n setCurrent(current + 1);\n }\n }, [imageUrls.length, current]);\n\n const onPrev = useCallback(() => {\n if (current - 1 < 0) {\n setCurrent(imageUrls.length - 1);\n } else {\n setCurrent(current - 1);\n }\n }, [imageUrls.length, current]);\n\n useEffect(() => {\n const handleKeyDown = (event: KeyboardEvent) => {\n if (event.key === 'ArrowRight') {\n onNext();\n } else if (event.key === 'ArrowLeft') {\n onPrev();\n }\n };\n\n window.addEventListener('keydown', handleKeyDown);\n return () => window.removeEventListener('keydown', handleKeyDown);\n }, [onNext, onPrev]);\n\n const getSliderPictures = () => {\n if (imageUrls[current]?.webp) {\n return (\n <figure>\n <picture>\n <source type=\"image/webp\" srcSet={`${imageUrls[current].thumbWebp} 1x, ${imageUrls[current].webp} 1x`} />\n <source type=\"image/jpeg\" srcSet={`${imageUrls[current]?.jpeg} 1x, ${imageUrls[current]?.thumbJpeg} 1x`} />\n <img\n src={decodeURI(imageUrls[current].jpeg)}\n srcSet={`${imageUrls[current]?.jpeg} 1x, ${imageUrls[current].thumbJpeg} 1x`}\n alt=\"Gallery image\"\n loading=\"lazy\"\n />\n </picture>\n </figure>\n );\n }\n return (\n <figure className={styles.galleryOnlyPicContainer}>\n <img src={decodeURI(imageUrls[current].jpeg)} alt=\"Gallery image\" loading=\"lazy\" />\n </figure>\n );\n };\n\n return (\n <div className={styles.gallery}>\n <ArrowNext className={styles.buttonNext} onClick={onNext} />\n <ArrowPrev className={styles.buttonPrev} onClick={onPrev} />\n {getSliderPictures()}\n {isImageCounter && (\n <Text weight=\"semibold\" className={styles.counter}>\n {current + 1} из {imageUrls.length}\n </Text>\n )}\n </div>\n );\n};\n","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"antd/lib/radio\");","import React from 'react';\n\nimport { Text } from '@shared/text';\nimport AntRadio from 'antd/lib/radio';\nimport { RadioChangeEvent, RadioGroupProps } from 'antd/lib/radio';\nimport { CheckboxValueType } from 'antd/lib/checkbox/Group';\nimport cn from 'classnames';\nimport { useCallback, useEffect, useMemo, useState } from 'react';\n\nimport styles from './radio.module.scss';\nimport { useShared } from '../../providers/shared.provider';\n\ninterface IRadioOption<T> {\n label: string;\n value: CheckboxValueType;\n disabled?: boolean;\n data: T;\n}\n\ntype IRadioProps<T> = Omit<RadioGroupProps, 'options' | 'onChange' | 'value'> & {\n options: T[] | T;\n labels?: { [key: string]: string };\n valueKey?: string;\n labelKey?: string;\n value?: any;\n onChange?: (value: T, e?: MouseEvent) => void;\n position?: 'vertical' | 'horizontal';\n className?: string;\n error?: boolean;\n isWbTheme?: boolean;\n};\n\nfunction formatItemToOption<T = any>(\n item: any,\n valueKey: string,\n labelKey: string,\n labels: { [key: string]: string },\n disabled: boolean\n) {\n if (['string', 'number', 'boolean'].includes(typeof item)) {\n return {\n label: labels ? labels[`${item}`] : item,\n value: item,\n data: item,\n disabled: disabled,\n } as IRadioOption<T>;\n }\n\n return {\n label: item[labelKey],\n value: item[valueKey],\n data: item,\n disabled: disabled,\n } as IRadioOption<T>;\n}\n\nexport function Radio<T = any>({\n options,\n position = 'horizontal',\n valueKey,\n labelKey,\n labels,\n className,\n error,\n isWbTheme,\n ...props\n}: IRadioProps<T>) {\n const shared = useShared();\n\n const [value, setValue] = useState<any>();\n\n const _options = useMemo(() => {\n let _options = null;\n if (Array.isArray(options)) {\n _options = options;\n }\n\n if (options) {\n _options = Object.values(options);\n }\n\n return _options?.map((option) => formatItemToOption(option, valueKey, labelKey, labels, option.disabled)) || null;\n }, [options, labels]);\n\n useEffect(() => {\n if (!options) {\n return;\n }\n\n const res = _options?.find(\n (option) => (props.value && option.value === props.value[valueKey]) || option.value === props.value\n );\n setValue(res?.value);\n }, [props.value, _options]);\n\n const _onChange = useCallback(\n (e: RadioChangeEvent) => {\n const value = _options.find((option) => option.value === e.target.value);\n setValue(value.value);\n props.onChange && props.onChange(value?.data, e.nativeEvent);\n },\n [props.onChange, _options]\n );\n\n const classNames = useMemo(\n () =>\n cn('ant-radio-customize', className, {\n [styles.invalid]: error,\n isWbTheme: shared.isWbTheme || isWbTheme,\n }),\n [className, error]\n );\n\n const labelClassNames = useMemo(() => cn({ [styles.invalid]: error }), [error]);\n\n return (\n //@ts-ignore\n <AntRadio.Group className={cn('ant-radio-group-customize', position)} {...props} onChange={_onChange} value={value}>\n {_options.map((option, index) => (\n //@ts-ignore\n <AntRadio\n className={cn(classNames, { [styles.disabled]: option.disabled })}\n key={index}\n value={option.value}\n disabled={option.disabled}\n >\n <Text size=\"large\" className={labelClassNames}>\n {option.label}\n </Text>\n </AntRadio>\n ))}\n </AntRadio.Group>\n );\n}\n","import React, { ComponentProps, forwardRef, useCallback } from 'react';\n\nimport generatePicker from 'antd/lib/date-picker/generatePicker';\nimport dateFnsGenerateConfig from 'rc-picker/lib/generate/dateFns';\nimport ClearIcon from '../icon/icons/clear.svg';\nimport DatePickerIcon from '../icon/icons/date-picker.svg';\n\nimport locale from 'antd/lib/date-picker/locale/ru_RU';\nimport { Icon } from '../icon';\nlocale.lang.locale = 'ru';\n\nconst AntDatePicker = generatePicker<Date>(dateFnsGenerateConfig);\n\ntype IRangePickerProps = {\n isFromToday?: boolean;\n onClear?: (e: any) => void;\n} & ComponentProps<typeof AntDatePicker.RangePicker>;\n\nexport const RangePicker = forwardRef(({ onClear, ...props }: IRangePickerProps, ref) => {\n const disabledDate = useCallback(\n (current: Date) => {\n if (props.disabledDate && props.disabledDate(current)) {\n return true;\n }\n\n if (props.isFromToday) {\n const date = new Date();\n date.setHours(0);\n date.setMinutes(0);\n date.setSeconds(0);\n date.setMilliseconds(0);\n return current && current.getTime() < date.getTime();\n }\n\n return false;\n },\n [props.isFromToday, props.disabledDate]\n );\n\n // @ts-ignore\n return (\n // @ts-ignore\n <AntDatePicker.RangePicker\n locale={locale}\n pickerRef={ref as any}\n {...props}\n disabledDate={disabledDate}\n suffixIcon={props.suffixIcon || <Icon icon={DatePickerIcon} />}\n clearIcon={\n <div onClick={onClear}>\n <Icon icon={ClearIcon} />\n </div>\n }\n />\n );\n});\n","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"antd/lib/select\");","var _path;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgArrow(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 25 24\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n fillRule: \"evenodd\",\n clipRule: \"evenodd\",\n d: \"M17.544 9.295a.998.998 0 00-1.41-.001L12.25 13.17 8.365 9.294a.998.998 0 00-1.41 1.411l4.588 4.588a1 1 0 001.414 0l4.587-4.588a.998.998 0 000-1.41z\",\n fill: \"#C4C4D4\"\n })));\n}\nexport default SvgArrow;","import React, { useCallback, useEffect, useState } from 'react';\nimport styles from './select.module.scss';\nimport { PropsWithModal } from '@shared/modal';\nimport cn from 'classnames';\nimport classNames from 'classnames';\n\ninterface IContactsModalData {\n title?: string;\n filter: any;\n items: any[];\n onClick: (item: any, option) => void;\n}\n\nexport const SelectModal = ({ modal, data }: PropsWithModal<{}, IContactsModalData>) => {\n const [currentValue, setCurrentValue] = useState(data.items?.find(({ value }) => value === data.filter));\n useEffect(() => {\n modal.setTitle(data.title || 'Выберите вариант');\n }, []);\n\n const _onClick = useCallback((item) => {\n setCurrentValue(item);\n data.onClick(item.value, item);\n }, []);\n\n return (\n <div className={cn(styles.mobileModal)}>\n {data.items.map((item) => (\n <div\n onClick={() => _onClick(item)}\n className={classNames(styles.option, {\n [styles.option_selected]: currentValue?.label === item?.label,\n })}\n >\n {item.label}\n </div>\n ))}\n </div>\n );\n};\n","import React, { forwardRef, ReactElement, Ref } from 'react';\n\nimport AntSelect from 'antd/lib/select';\nimport { SelectProps } from 'antd/lib/select';\nimport cn from 'classnames';\nimport { useCallback, useEffect, useMemo, useRef, useState } from 'react';\nimport debounce from 'lodash.debounce';\n\nimport SelectArrowIcon from '../icon/icons/select-arrow.svg';\nimport ArrowIcon from './icons/arrow.svg';\n\nimport { Icon } from '@shared/icon';\nimport ClearIcon from '../icon/icons/clear.svg';\n\nimport styles from './select.module.scss';\nimport classNames from 'classnames';\nimport { useModal } from '@shared/modal';\nimport { SelectModal } from './select-modal';\nimport { useShared } from '../../providers/shared.provider';\n\nexport interface ISelectOption<T> {\n label: string;\n value: string | number | null | undefined;\n data?: T;\n}\n\ninterface ISelectOptionGroup<T> {\n label: string;\n options: ISelectOption<T>[];\n}\n\ninterface ISelectGroup<T> {\n label: string;\n options: T[];\n}\n\ntype ISelectProps<T> = Omit<SelectProps, 'options' | 'onChange'> & {\n options?: T[] | T;\n optionsGroup?: ISelectGroup<T>[];\n labels?: { [key: string]: string };\n error?: boolean;\n valueKey?: string;\n labelKey?: string;\n labelPlaceholder?: string;\n onServerSearch?: (val: string) => Promise<T[]>;\n onServerSearchGroup?: (val: string) => Promise<ISelectGroup<T>[]>;\n onRenderOption?: (item: T) => React.ReactNode;\n onChange?: (option: T, options?: T[]) => void;\n debounceTimeout?: number;\n stacked?: boolean;\n popupClassName?: string;\n suffixIcon?: any;\n isMobileModal?: boolean;\n modalTitle?: string;\n isWbTheme?: boolean;\n notFoundContent?: React.ReactNode;\n};\n\nfunction formatItemToOption<T = any>(\n item: any,\n valueKey: string = 'value',\n labelKey: string = 'label',\n labels?: ISelectProps<T>['labels']\n) {\n if (['string', 'number', 'boolean'].includes(typeof item)) {\n return {\n label: labels ? labels[`${item}`] : item,\n value: item,\n data: item,\n } as ISelectOption<T>;\n }\n\n return {\n label: item[labelKey],\n value: item[valueKey],\n data: item,\n } as ISelectOption<T>;\n}\n\nfunction InnerSelect<T>(\n {\n debounceTimeout = 500,\n onServerSearch,\n onServerSearchGroup,\n onRenderOption,\n valueKey = 'value',\n labelKey,\n labelPlaceholder,\n labels,\n popupClassName,\n suffixIcon,\n stacked,\n error,\n isMobileModal = false,\n modalTitle,\n disabled,\n isWbTheme,\n notFoundContent = null,\n ...props\n }: ISelectProps<T>,\n ref\n) {\n const shared = useShared();\n const [fetching, setFetching] = useState(false);\n const [serverOptions, setServerOptions] = useState<ISelectOption<T>[]>(null);\n const [optionsGroup, setOptionsGroup] = useState<ISelectOptionGroup<T>[]>(null);\n const modal = useModal(SelectModal, {\n tabletPopup: true,\n });\n\n const [value, setValue] = useState<ISelectOption<T>>();\n const fetchRef = useRef(0);\n\n const isEqual = (option) =>\n option.key === props.value ||\n option.props.data === props.value ||\n (props.value && (option.key === props.value[valueKey] || option.props.value === props.value[valueKey]));\n\n const options = useMemo(() => {\n let _options = null;\n if (Array.isArray(props.options)) {\n _options = props.options;\n }\n\n if (props.options) {\n _options = Object.values(props.options);\n }\n\n return _options?.map((option) => formatItemToOption(option, valueKey, labelKey, labels)) || null;\n }, [props.options, labels]);\n\n useEffect(() => {\n setOptionsGroup(\n props.optionsGroup?.map((group) => ({\n label: group.label,\n options: group.options.map((option) => formatItemToOption(option, valueKey, labelKey, labels)),\n }))\n );\n }, [props.optionsGroup]);\n\n const debounceFetcher = useMemo(() => {\n const loadOptions = (value: string) => {\n fetchRef.current += 1;\n const fetchId = fetchRef.current;\n setFetching(true);\n\n if (!onServerSearch && !onServerSearchGroup) {\n setFetching(false);\n }\n\n onServerSearch &&\n onServerSearch(value)\n .then((newOptions) => {\n if (fetchId !== fetchRef.current) {\n return;\n }\n\n setServerOptions(newOptions?.map((option) => formatItemToOption(option, valueKey, labelKey)));\n setFetching(false);\n })\n .catch(() => {\n setFetching(false);\n setServerOptions([]);\n });\n\n onServerSearchGroup &&\n onServerSearchGroup(value)\n .then((newOptions) => {\n if (fetchId !== fetchRef.current) {\n return;\n }\n\n setOptionsGroup(\n newOptions?.map((group) => ({\n label: group.label,\n options: group.options.map((option) => formatItemToOption(option, valueKey, labelKey, labels)),\n }))\n );\n setFetching(false);\n })\n .catch(() => {\n setFetching(false);\n setOptionsGroup([]);\n });\n };\n\n return debounce(loadOptions, debounceTimeout);\n }, [onServerSearch, onServerSearchGroup, debounceTimeout]);\n\n const _onRenderOptions = useCallback(\n (option: ISelectOption<T>, index: number) => {\n if (onRenderOption) {\n return (\n <AntSelect.Option\n option={option}\n data={option.data}\n key={`${option.value}${index}`}\n label={option.label}\n value={option.value}\n >\n {onRenderOption(option.data)}\n </AntSelect.Option>\n );\n }\n\n return (\n <AntSelect.Option\n option={option}\n data={option.data}\n key={option.value}\n label={option.label}\n value={option.value}\n >\n <div className={classNames({ [styles.hasLabel]: labelPlaceholder })}>\n {!!labelPlaceholder && <label>{labelPlaceholder}</label>}\n <div className={styles.optionText}>{option.label}</div>\n </div>\n </AntSelect.Option>\n );\n },\n [onRenderOption, labelPlaceholder]\n );\n\n const _onRenderGroup = useCallback((group: ISelectOptionGroup<T>) => {\n return <AntSelect.OptGroup label={group.label}>{group.options.map(_onRenderOptions)}</AntSelect.OptGroup>;\n }, []);\n\n const onDropdownVisibleChange = useCallback(\n (open: boolean) => {\n if (!open) {\n setServerOptions(null);\n return;\n }\n },\n [value]\n );\n\n const _options: any[] = useMemo(\n () => (serverOptions || options || []).map(_onRenderOptions),\n [onServerSearch, options, serverOptions]\n );\n\n const _optionsGroup: any[] = useMemo(() => optionsGroup?.map(_onRenderGroup) || null, [optionsGroup]);\n\n const onChange = useCallback(\n (value: any, _option: any) => {\n setValue(value);\n props.onChange &&\n props.onChange(\n _option?.data,\n (serverOptions || options)?.map((i) => i.data)\n );\n modal?.current.close();\n },\n [props.onChange, _options, serverOptions, options, modal?.current]\n );\n\n useEffect(() => {\n let res = props.value && _options?.find(isEqual);\n\n if (_optionsGroup?.length) {\n for (const group of _optionsGroup) {\n res = group.props.children.find(isEqual);\n if (res) break;\n }\n }\n\n setValue(res?.props.value);\n }, [props.value, _options, _optionsGroup]);\n\n const _onClick = useCallback(\n (e) => {\n if (disabled) return;\n\n if (isMobileModal)\n modal?.current.open({\n title: modalTitle,\n filter: value,\n items: options,\n onClick: onChange,\n });\n props?.onClick?.(e);\n },\n [isMobileModal, modal?.current, value, options, onChange, disabled]\n );\n\n return (\n <AntSelect\n {...props}\n ref={ref}\n value={value}\n options={undefined}\n onSearch={onServerSearch || onServerSearchGroup ? debounceFetcher : undefined}\n popupClassName={classNames(popupClassName, {\n isMobileModal: isMobileModal,\n })}\n onDropdownVisibleChange={onDropdownVisibleChange}\n notFoundContent={notFoundContent}\n loading={fetching || props.loading}\n onChange={onChange}\n placeholder={props.placeholder || labelPlaceholder}\n clearIcon={<Icon icon={ClearIcon} />}\n className={cn('ant-select-customize-input', props.className, styles.select, {\n 'select-error': error,\n 'select-stacked': stacked,\n 'select-loading': fetching,\n isWbTheme: shared.isWbTheme || isWbTheme,\n [styles.isWbTheme]: shared.isWbTheme || isWbTheme,\n })}\n suffixIcon={suffixIcon ? suffixIcon : <Icon icon={shared.isWbTheme || isWbTheme ? ArrowIcon : SelectArrowIcon} />}\n onClick={_onClick}\n disabled={disabled}\n >\n {_optionsGroup?.length ? _optionsGroup : _options}\n </AntSelect>\n );\n};\n\nexport const Select = forwardRef(InnerSelect) as <T = any>(\n props: ISelectProps<T>,\n ref: Ref<HTMLInputElement>\n) => ReactElement;\n","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"antd/lib/slider\");","import React from 'react';\n\nimport Slider from 'antd/lib/slider';\nimport { SliderRangeProps, SliderSingleProps } from 'antd/lib/slider';\nimport { useEffect, useState } from 'react';\n\ninterface ISelectorRangeProps extends SliderRangeProps {}\n\nexport const SelectorRange = (props: ISelectorRangeProps) => {\n const [value, setValue] = useState<[number, number]>(props.value);\n\n useEffect(() => {\n setValue(props.value);\n }, [props.value]);\n\n //@ts-ignore\n return <Slider {...props} value={value} onChange={setValue} />;\n};\n\ninterface ISelectorProps extends SliderSingleProps {}\n\nexport const Selector = (props: ISelectorProps) => {\n //@ts-ignore\n return <Slider {...props} />;\n};\n","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"react-loading-skeleton\");","import React from 'react';\n\nimport RLSkeleton, { SkeletonProps } from 'react-loading-skeleton';\nimport { useShared } from '../../providers/shared.provider';\nimport classnames from 'classnames';\n\nimport styles from './skeleton.module.scss';\n\nenum ESkeletonVariant {\n default = 'default',\n inverse = 'inverse',\n}\n\ntype ISkeletonProps = SkeletonProps & {\n isWbTheme?: boolean;\n variant?: keyof typeof ESkeletonVariant;\n};\n\nexport const Skeleton = ({ isWbTheme, variant = ESkeletonVariant.default, ...props }: ISkeletonProps) => {\n const shared = useShared();\n\n return (\n <RLSkeleton\n {...props}\n className={classnames(\n {\n [styles.isWbTheme]: isWbTheme || shared.isWbTheme,\n },\n props.className,\n styles[`skeleton__${variant}`]\n )}\n />\n );\n};\n","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"swiper/react\");","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"swiper\");","import React, { useEffect } from 'react';\nimport { Text } from '@shared/text';\nimport { Swiper, SwiperSlide } from 'swiper/react';\nimport ArrowNext from '../icon/icons/arrow-next.svg';\nimport ArrowPrev from '../icon/icons/arrow-prev.svg';\nimport classnames from 'classnames';\nimport SwiperCore, { Navigation, Autoplay, Controller, EffectFade } from 'swiper';\nimport { useCallback, useMemo, useRef, useState } from 'react';\n\nimport styles from './slider.module.scss';\n\nSwiperCore.use([Navigation, Autoplay, Controller, EffectFade]);\n\ninterface ISliderProps {\n items: any[];\n slidesPerView: any;\n showNavigation?: boolean;\n navPosition?: 'inset' | '';\n renderItem: (item: any, index: number) => any;\n viewItem?: (item: any, index: number) => void;\n loop?: boolean;\n asyncReady?: boolean;\n spaceBetween?: number;\n autoplay?: boolean;\n delay?: number;\n freeMode?: boolean;\n showCounter?: boolean;\n centeredSlides?: boolean;\n className?: string;\n classNamePrev?: string;\n classNameNext?: string;\n touchStartPreventDefault?: boolean;\n overflow?: boolean;\n preloadImages?: boolean;\n shortSwipes?: boolean;\n longSwipes?: boolean;\n longSwipesRatio?: number;\n longSwipesMs?: number;\n preventClicks?: boolean;\n preventClicksPropagation?: boolean;\n speed?: number;\n effect?: 'slide' | 'fade' | 'cube' | 'coverflow' | 'flip';\n}\n\nexport const Slider = ({\n items,\n slidesPerView,\n renderItem,\n viewItem = () => {},\n loop,\n asyncReady,\n showNavigation,\n navPosition = '',\n spaceBetween = 24,\n autoplay = false,\n delay = 10000,\n freeMode,\n showCounter,\n centeredSlides,\n className,\n classNamePrev,\n classNameNext,\n touchStartPreventDefault,\n overflow,\n preloadImages,\n shortSwipes = true,\n longSwipes = true,\n longSwipesMs = 300,\n longSwipesRatio = 0.5,\n preventClicks = true,\n preventClicksPropagation = true,\n effect,\n speed = 1000,\n}: ISliderProps) => {\n const navigationPrevRef = useRef(null);\n const navigationNextRef = useRef(null);\n const [index, setIndex] = useState(0);\n const [ready, setReady] = useState(asyncReady);\n\n const classNames = useMemo(\n () =>\n classnames(styles.slider, className, {\n [styles.sliderAutoLoop]: loop && slidesPerView === 'auto',\n [styles.ready]: ready,\n overflow,\n }),\n [loop, slidesPerView, ready, className, overflow]\n );\n\n const onSlideItem = useCallback(\n (indexItem) => {\n const findItem = items.find((_, index) => index === indexItem);\n viewItem(findItem, indexItem);\n },\n [viewItem]\n );\n\n const renderSliderCounter = useMemo(\n () => (\n <div className={styles.sliderCounterContainer}>\n <div className={styles.sliderCounter}>\n <Text size=\"medium\" attention weight=\"semibold\" className={styles.sliderCounter__text}>\n {index} из {items.length}\n </Text>\n </div>\n </div>\n ),\n [index, items.length, styles]\n );\n\n useEffect(() => {\n if (asyncReady) {\n setReady(true);\n }\n }, [asyncReady]);\n\n return (\n <>\n <div className={classnames(styles.sliderContainer, 'slider')}>\n <div\n ref={navigationPrevRef}\n className={classnames(\n styles.buttonSlider,\n styles[`buttonSlider__prev_${navPosition}`],\n styles[`buttonSlider__prev`],\n {\n [styles[`buttonSlider__hidden`]]: !showNavigation || items?.length <= slidesPerView,\n },\n classNamePrev\n )}\n >\n <ArrowPrev />\n </div>\n <div\n ref={navigationNextRef}\n className={classnames(\n styles.buttonSlider,\n styles[`buttonSlider__next_${navPosition}`],\n styles[`buttonSlider__next`],\n {\n [styles[`buttonSlider__hidden`]]: !showNavigation || items?.length <= slidesPerView,\n },\n classNameNext\n )}\n >\n <ArrowNext />\n </div>\n <Swiper\n preventClicks={preventClicks}\n preventClicksPropagation={preventClicksPropagation}\n shortSwipes={shortSwipes}\n longSwipes={longSwipes}\n longSwipesRatio={longSwipesRatio}\n longSwipesMs={longSwipesMs}\n loop={(loop && items?.length > slidesPerView) || (loop && slidesPerView === 'auto')}\n speed={speed}\n fadeEffect={effect === 'fade' ? { crossFade: true } : undefined}\n effect={effect}\n touchStartPreventDefault={touchStartPreventDefault}\n preloadImages={preloadImages}\n loopedSlides={loop && slidesPerView === 'auto' ? items.length : null}\n centeredSlides={centeredSlides}\n freeMode={freeMode}\n onSlideChange={(sw) => {\n setIndex(sw.realIndex + 1);\n onSlideItem(sw.realIndex);\n }}\n autoplay={\n autoplay\n ? {\n delay,\n disableOnInteraction: true,\n }\n : undefined\n }\n navigation={{\n nextEl: navigationNextRef.current,\n prevEl: navigationPrevRef.current,\n }}\n onImagesReady={(swiper) => {\n swiper.slideTo(0, 0);\n setReady(true);\n }}\n onBeforeInit={(swiper) => {\n if (typeof swiper.params.navigation === 'boolean') {\n return;\n }\n\n swiper.params.navigation.prevEl = navigationPrevRef.current;\n swiper.params.navigation.nextEl = navigationNextRef.current;\n }}\n lazy={{\n checkInView: true,\n loadPrevNext: true,\n }}\n slidesPerView={slidesPerView}\n spaceBetween={spaceBetween}\n className={classNames}\n >\n {items?.map((item, index) => {\n let key: any = index;\n if (typeof item === 'string') {\n key = item;\n }\n\n return (\n <SwiperSlide\n key={key}\n className={classnames(styles.swiperSlide, { [styles.swiperSlideAuto]: slidesPerView === 'auto' })}\n >\n {renderItem(item, index)}\n </SwiperSlide>\n );\n })}\n </Swiper>\n {showCounter && items.length > 1 && renderSliderCounter}\n </div>\n </>\n );\n};\n","var _path;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgSpoilerArrow(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 25 24\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M6.817 9.635A.857.857 0 105.7 10.937l6 5.142a.857.857 0 001.116 0l6-5.143A.857.857 0 1017.7 9.636L12.26 14.3 6.817 9.635z\",\n fill: \"#8B8B8B\"\n })));\n}\nexport default SvgSpoilerArrow;","var _path;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgSpoilerArrowActive(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 24 24\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M6.558 16.08a.857.857 0 11-1.116-1.302l6-5.143a.857.857 0 011.116 0l6 5.143a.857.857 0 11-1.116 1.301L12 11.415l-5.442 4.664z\",\n fill: \"#8B8B8B\"\n })));\n}\nexport default SvgSpoilerArrowActive;","var _path;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgShevronOpened(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 24 24\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n fillRule: \"evenodd\",\n clipRule: \"evenodd\",\n d: \"M6.705 14.706c.39.389 1.02.39 1.41 0L12 10.83l3.884 3.876a.998.998 0 001.41-1.411l-4.587-4.588a1 1 0 00-1.414 0l-4.588 4.588a.998.998 0 000 1.41z\",\n fill: \"#C4C4D4\"\n })));\n}\nexport default SvgShevronOpened;","var _path;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgShevronClosed(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 24 24\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n fillRule: \"evenodd\",\n clipRule: \"evenodd\",\n d: \"M6.705 8.706a.998.998 0 011.41 0L12 12.582l3.884-3.876a.998.998 0 011.41 1.411l-4.587 4.588a1 1 0 01-1.414 0l-4.588-4.588a.998.998 0 010-1.41z\",\n fill: \"#C4C4D4\"\n })));\n}\nexport default SvgShevronClosed;","var _path, _path2;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgDisabled(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 16 16\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M8.662 10.214a.667.667 0 10-1.334 0v1.333a.667.667 0 001.334 0v-1.333z\",\n fill: \"#E0E0EB\"\n })), _path2 || (_path2 = /*#__PURE__*/React.createElement(\"path\", {\n fillRule: \"evenodd\",\n clipRule: \"evenodd\",\n d: \"M3.994 5.212v1.34a2.683 2.683 0 00-.093.005 1.348 1.348 0 00-.513.134 1.334 1.334 0 00-.583.583c-.092.181-.121.361-.134.513a6.12 6.12 0 00-.011.471v3.117c0 .537 0 .98.03 1.34.03.375.096.72.26 1.043.256.502.664.91 1.166 1.166.324.165.669.23 1.043.261.361.03.804.03 1.341.03h2.99c.536 0 .98 0 1.34-.03.375-.03.72-.096 1.043-.26.502-.257.91-.665 1.166-1.167.165-.323.23-.668.261-1.042.03-.361.03-.804.03-1.341V8.258c0-.168 0-.332-.012-.47a1.348 1.348 0 00-.134-.514 1.334 1.334 0 00-.583-.583 1.348 1.348 0 00-.513-.134 2.698 2.698 0 00-.092-.006V5.212a4.001 4.001 0 00-8.002 0zm4-2.667a2.667 2.667 0 00-2.667 2.667v1.334h5.335V5.212a2.667 2.667 0 00-2.667-2.667zm3.994 5.342h-.009a5.464 5.464 0 00-.383-.007H4.394c-.198 0-.306 0-.384.006l-.009.001v.01a5.462 5.462 0 00-.007.383v3.067c0 .571 0 .96.025 1.26.024.292.067.442.12.546.128.251.332.455.583.583.104.053.254.096.546.12.3.025.688.025 1.26.025h2.934c.571 0 .96 0 1.26-.025.292-.024.441-.067.546-.12.25-.128.455-.332.582-.583.054-.104.097-.254.12-.546.025-.3.026-.689.026-1.26V8.28c0-.198 0-.306-.007-.384v-.009z\",\n fill: \"#E0E0EB\"\n })));\n}\nexport default SvgDisabled;","import React from 'react';\n\nimport { PropsWithChildren, ReactNode, useCallback, useState } from 'react';\n\nimport { Icon } from '@shared/icon';\n\nimport SpoilerArrowIcon from '../icon/icons/spoiler-arrow.svg';\nimport SpoilerArrowActiveIcon from '../icon/icons/spoiler-arrow-active.svg';\nimport ShevronOpenedIcon from './icons/shevron-opened.svg';\nimport ShevronClosedIcon from './icons/shevron-closed.svg';\n\nimport styles from './spoiler.module.scss';\nimport classNames from 'classnames';\nimport { useShared } from '../../providers/shared.provider';\n\ninterface ISpoilerProps {\n title: string | ReactNode;\n initialValue?: boolean;\n className?: string;\n isWbTheme?: boolean;\n}\n\nexport const Spoiler = (props: PropsWithChildren<ISpoilerProps>) => {\n const [opened, setOpened] = useState(props.initialValue);\n const shared = useShared();\n\n const onChange = useCallback(() => {\n setOpened((prev) => !prev);\n }, []);\n\n return (\n <div className={classNames(styles.spoiler, props.className)}>\n <div className={styles.title} onClick={onChange.bind(null)}>\n {props.title}\n {!props.isWbTheme && !shared.isWbTheme && (\n <Icon\n size=\"large\"\n variant=\"initial\"\n className={styles.arrow}\n icon={opened ? SpoilerArrowActiveIcon : SpoilerArrowIcon}\n />\n )}\n {(props.isWbTheme || shared.isWbTheme) && (\n <Icon\n size=\"large\"\n variant=\"initial\"\n className={styles.arrow}\n icon={opened ? ShevronOpenedIcon : ShevronClosedIcon}\n />\n )}\n </div>\n {opened && props.children}\n </div>\n );\n};\n","import React, {\n ComponentProps,\n InputHTMLAttributes,\n ReactNode,\n useState,\n forwardRef,\n Ref,\n ReactElement,\n useEffect,\n} from 'react';\nimport cn from 'classnames';\nimport { Input, IInputProps } from '@shared/input';\nimport { Select } from '@shared/select';\n\nimport styles from './stacked-input.module.scss';\nimport { useShared } from '../../providers/shared.provider';\n\nexport interface IStackedInputValue<T> {\n value: string;\n key: T;\n}\n\ntype IStackedInputProps<T> = {\n onChange: (val: string) => void;\n onSearch?: (val: string) => void;\n onSelect?: (key: T) => void;\n options: T[];\n option: T;\n className?: string;\n autoFocus?: boolean;\n showClear?: boolean;\n placeholder?: string;\n labelPlaceholder?: string;\n mask?: IInputProps['mask'];\n value?: string;\n isWbTheme?: boolean,\n onRenderOption?: (item: T) => ReactNode;\n} & ComponentProps<typeof Input> &\n Omit<InputHTMLAttributes<HTMLInputElement>, 'size' | 'variant' | 'onChange'>;\n\nconst InnerStackedInput = <T,>({ onSelect, onRenderOption, options, option, isWbTheme, ...props }: IStackedInputProps<T>, ref) => {\n const [key, setKey] = useState<T>(option || options[0]);\n const shared = useShared();\n const [focusedSelect, setFocusedSelect] = useState(false);\n const [focusedInput, setFocusedInput] = useState(false);\n\n const _onSelect = (key: T) => {\n setKey(key);\n onSelect(key);\n };\n\n useEffect(() => {\n setKey(option);\n }, [option]);\n\n return (\n <div\n className={cn(styles.stacked_input, props.className, {\n [styles.focused]: focusedInput || focusedSelect,\n [styles.isWbTheme]: shared.isWbTheme || isWbTheme,\n })}\n >\n <Select\n className={styles.stacked_input__select}\n size=\"large\"\n options={options}\n onChange={_onSelect}\n value={key}\n suffixIcon={null}\n onRenderOption={onRenderOption}\n dropdownMatchSelectWidth={false}\n onFocus={() => setFocusedSelect(true)}\n onBlur={() => setFocusedSelect(false)}\n stacked\n />\n <Input\n {...props}\n ref={ref}\n className={styles.stacked_input__input}\n labelPlaceholder={props.labelPlaceholder}\n mask={props.mask}\n variant={shared.isWbTheme || isWbTheme ? 'filled' : 'outlined'}\n showClear={props.showClear}\n placeholder={props.placeholder}\n onFocus={() => setFocusedInput(true)}\n onBlur={() => setFocusedInput(false)}\n />\n </div>\n );\n};\n\nexport const StackedInput = forwardRef(InnerStackedInput) as <T>(\n props: IStackedInputProps<T>,\n ref: Ref<HTMLInputElement>\n) => ReactElement;\n","import React from 'react';\n\nimport { useCallback, useEffect, useState } from 'react';\n\nimport styles from './switch.module.scss';\nimport classNames from 'classnames';\nimport { Text } from '@shared/text';\nimport DisabledIcon from './icons/disabled.svg';\n\nenum ESwitchSize {\n small = 'small',\n medium = 'medium',\n large = 'large',\n}\n\ntype ISwitchProps = {\n value?: boolean;\n name?: string;\n title?: string;\n className?: string;\n onChange?: (value: boolean) => void;\n disabled?: boolean;\n size?: keyof typeof ESwitchSize;\n};\n\nexport const Switch = ({size = 'medium', ...props }: ISwitchProps) => {\n const [value, setValue] = useState(props.value);\n\n useEffect(() => setValue(!!props.value), [props.value]);\n\n const onChange = useCallback(() => {\n if (props.disabled) return;\n\n setValue(!value);\n props.onChange && props.onChange(!value);\n }, [value, props.onChange, props.disabled]);\n\n return (\n <div\n className={classNames(styles.switch, props.className, {\n [styles.active]: value,\n [styles.disabled]: props.disabled,\n [styles[size]]: size\n })}\n onClick={onChange}\n >\n <div>{props.disabled && <DisabledIcon />}</div>\n <input name={props.name} type=\"checkbox\" checked={value} disabled={props.disabled} />\n {!!props.title && <Text size={size}>{props.title}</Text>}\n </div>\n );\n};\n","import React from 'react';\n\nimport AntdSelect from 'antd/lib/select';\nimport { SelectProps } from 'antd/lib/select';\nimport classNames from 'classnames';\nimport { useCallback, useEffect, useMemo, useState } from 'react';\nimport { Icon } from '@shared/icon';\nimport ClearIcon from '../icon/icons/clear.svg';\n\nimport styles from './tag-box.module.scss';\n\nexport interface ITagBoxOption<T> {\n label: string;\n value: string | number | null | undefined;\n data?: T;\n}\n\nfunction formatItemToOption<T = any>(\n item: any,\n valueKey: string = 'value',\n labelKey: string = 'label',\n labels?: ITagBoxProps<T>['labels']\n) {\n if (['string', 'number', 'boolean'].includes(typeof item)) {\n return {\n label: labels ? labels[`${item}`] : item,\n value: item,\n data: item,\n } as ITagBoxOption<T>;\n }\n\n return {\n label: item[labelKey],\n value: item[valueKey],\n data: item,\n } as ITagBoxOption<T>;\n}\n\ntype ITagBoxProps<T> = Omit<SelectProps, 'options' | 'onChange'> & {\n options?: T[] | T;\n labels?: { [key: string]: string };\n error?: boolean;\n valueKey?: string;\n labelKey?: string;\n labelPlaceholder?: string;\n onChange?: (option: T[], options?: T[]) => void;\n onRenderOption?: (item: T) => React.ReactNode;\n popupClassName?: string;\n notFoundContent?: React.ReactNode;\n};\n\nexport function TagBox<T>({\n labels,\n valueKey,\n labelKey,\n labelPlaceholder,\n onRenderOption,\n popupClassName,\n notFoundContent = null,\n ...props\n}: ITagBoxProps<T>) {\n const [value, setValue] = useState<ITagBoxOption<T>[]>();\n\n const isEqual = (option) =>\n props.value.some(\n (v) =>\n v === option.key ||\n v === option.props?.data ||\n v === option.props.value ||\n v[valueKey] === option.key ||\n v[valueKey] === option.props.value\n );\n\n const options = useMemo(() => {\n let _options = null;\n if (Array.isArray(props.options)) {\n _options = props.options;\n }\n\n if (props.options) {\n _options = Object.values(props.options);\n }\n\n return _options?.map((option) => formatItemToOption(option, valueKey, labelKey, labels)) || [];\n }, [props.options, labels]);\n\n const _onRenderOptions = useCallback(\n (option: ITagBoxOption<T>, index: number) => {\n if (onRenderOption) {\n return (\n //@ts-ignore\n <AntdSelect.Option\n option={option}\n data={option.data}\n key={`${option.value}${index}`}\n label={option.label}\n value={option.value}\n >\n {onRenderOption(option.data)}\n </AntdSelect.Option>\n );\n }\n\n return (\n //@ts-ignore\n <AntdSelect.Option\n option={option}\n data={option.data}\n key={option.value}\n label={option.label}\n value={option.value}\n >\n <div className={classNames({ [styles.hasLabel]: labelPlaceholder })}>\n {!!labelPlaceholder && <label>{labelPlaceholder}</label>}\n <div className={styles.optionText}>{option.label}</div>\n </div>\n </AntdSelect.Option>\n );\n },\n [onRenderOption, labelPlaceholder]\n );\n\n const _options: any[] = useMemo(() => (options || []).map(_onRenderOptions), [options]);\n\n const onChange = useCallback(\n (value: any, _option: any) => {\n setValue(value);\n props.onChange &&\n props.onChange(\n _option?.map((i) => i.data),\n options?.map((i) => i.data)\n );\n },\n [props.onChange, _options, options]\n );\n\n useEffect(() => {\n let res = props.value && _options?.filter(isEqual);\n setValue(res?.map((i) => i.props.value));\n }, [props.value, _options]);\n\n return (\n //@ts-ignore\n <AntdSelect\n {...props}\n mode=\"multiple\"\n value={value}\n options={undefined}\n popupClassName={popupClassName}\n notFoundContent={notFoundContent}\n onChange={onChange}\n maxTagCount=\"responsive\"\n //@ts-ignore\n removeIcon={<Icon size=\"small\" icon={ClearIcon} />}\n menuItemSelectedIcon={null}\n placeholder={props.placeholder || labelPlaceholder}\n className={classNames('ant-tag-box-customize-input', props.className, styles.select, {\n 'select-error': props.error,\n })}\n >\n {_options}\n </AntdSelect>\n );\n}\n","import React, { PropsWithChildren, useMemo, useCallback } from 'react';\nimport classnames from 'classnames';\n\nimport styles from './tag-button.module.scss';\nimport { useShared } from '../../providers/shared.provider';\n\nexport enum ETagButtonSize {\n small = 'small',\n medium = 'medium',\n large = 'large',\n}\n\nexport enum ETagButtonVariant {\n default = 'default',\n primary = 'primary',\n tertiary = 'tertiary',\n secondary = 'secondary',\n tumbler = 'tumbler',\n green = 'green',\n tab = 'tab',\n text = 'text',\n icons = 'icons',\n custom = 'custom',\n}\n\ninterface IButtonProps {\n variant?: keyof typeof ETagButtonVariant;\n size?: keyof typeof ETagButtonSize;\n icon?: any;\n disabled?: boolean;\n selected?: boolean;\n notChangeSelected?: boolean;\n shadow?: boolean;\n onClick: (e?: boolean) => void;\n selectedClassName?: string;\n isWbTheme?: boolean;\n}\n\nexport const TagButton = ({\n variant = ETagButtonVariant.default,\n size = ETagButtonSize.medium,\n disabled,\n selected,\n children,\n onClick,\n selectedClassName,\n isWbTheme,\n}: PropsWithChildren<IButtonProps>) => {\n const shared = useShared();\n\n const classNames = useMemo(\n () =>\n classnames(styles.button, styles[`button__${variant}`], styles[`button__${size}`], {\n [styles.selected]: selected,\n [selectedClassName]: selected,\n [styles.isWbTheme]: shared.isWbTheme || isWbTheme,\n }),\n [variant, size, disabled, selected]\n );\n\n const _onClick = useCallback(() => {\n onClick();\n }, [onClick]);\n\n return (\n <div className={classNames} onClick={_onClick}>\n <span>{children}</span>\n </div>\n );\n};\n","import React from 'react';\n\nimport { useCallback, useEffect, useMemo, useState } from 'react';\nimport { ETagButtonSize, ETagButtonVariant, TagButton } from './tag-button';\n\nimport styles from './tag-button.module.scss';\nimport classNames from 'classnames';\n\ninterface ITagButtonGroupProps<T> {\n variant?: keyof typeof ETagButtonVariant;\n className?: string;\n selectedClassName?: string;\n labels?: { [key: string]: string };\n size?: keyof typeof ETagButtonSize;\n options: T[];\n onChange?: (value: T) => void;\n onRenderLabel?: (value: T, active: boolean) => void;\n value?: T;\n valueKey?: string;\n labelKey?: string;\n}\n\ninterface ITagOption<T> {\n label: string;\n value: string;\n data: T;\n}\n\nfunction formatItemToOption<T = any>(\n item: any,\n valueKey: string = 'value',\n labelKey: string = 'label',\n labels?: ITagButtonGroupProps<T>['labels']\n) {\n if (['string', 'number', 'boolean'].includes(typeof item)) {\n return {\n label: labels ? labels[`${item}`] : item,\n value: item,\n data: item,\n } as ITagOption<T>;\n }\n\n return {\n label: item[labelKey],\n value: item[valueKey],\n data: item,\n } as ITagOption<T>;\n}\n\nexport function TagButtonGroup<T>({\n labelKey = 'label',\n valueKey = 'value',\n labels,\n className,\n selectedClassName,\n ...props\n}: ITagButtonGroupProps<T>) {\n const [value, setValue] = useState<ITagOption<T>>();\n\n const options = useMemo(() => {\n let _options = null;\n if (Array.isArray(props.options)) {\n _options = props.options;\n }\n\n if (props.options) {\n _options = Object.values(props.options);\n }\n\n return _options?.map((option) => formatItemToOption(option, valueKey, labelKey, labels)) || null;\n }, [props.options, labels]);\n\n const onChange = useCallback(\n (val: ITagOption<T>) => {\n const option = options?.find(\n (option) => option.value === val.value || option.data === val.value || option.value === val[valueKey]\n );\n setValue(option);\n props.onChange && props.onChange(option?.data);\n },\n [props.onChange]\n );\n\n useEffect(() => {\n const res =\n props.value &&\n options?.find(\n (option) =>\n option.value === props.value || option.data === props.value || option.value === props.value[valueKey]\n );\n\n setValue(res);\n }, [props.value, options]);\n\n return (\n <div className={classNames(styles.tagButtonGroup, className)}>\n {options.map((item) => (\n <TagButton\n key={item.value}\n variant={props.variant}\n size={props.size}\n selected={value === item}\n onClick={onChange.bind(null, item)}\n selectedClassName={selectedClassName}\n >\n {props.onRenderLabel ? props.onRenderLabel(item.data, value === item) : item.label}\n </TagButton>\n ))}\n </div>\n );\n}\n","import React, { useMemo, ChangeEvent, forwardRef, useRef, TextareaHTMLAttributes, ReactNode } from 'react';\nimport classnames from 'classnames';\nimport Loader from '../icon/icons/input-loader.svg';\nimport Clear from '../icon/icons/clear.svg';\n\nimport styles from './text-area.module.scss';\nimport { useState } from 'react';\nimport { useCallback } from 'react';\nimport { useEffect } from 'react';\nimport { useCombinedRefs } from '@shared/utils/combine-ref';\nimport { useShared } from '../../providers/shared.provider';\n\nconst observe = function (element, event, handler) {\n element.addEventListener(event, handler, false);\n};\n\nconst deobserve = function (element, event, handler) {\n element.removeEventListener(event, handler);\n};\n\nfunction resizeFn(text: HTMLTextAreaElement) {\n const resize = () => {\n text.style.height = 'auto';\n text.style.height = `${2 + text.scrollHeight}px`;\n };\n\n /* 0-timeout to get the already changed text */\n function delayedResize() {\n window.setTimeout(resize, 0);\n }\n\n observe(text, 'change', resize);\n observe(text, 'cut', delayedResize);\n observe(text, 'paste', delayedResize);\n observe(text, 'drop', delayedResize);\n observe(text, 'keydown', delayedResize);\n observe(text, 'input', resize);\n\n // text.select();\n resize();\n\n return () => {\n deobserve(text, 'change', resize);\n deobserve(text, 'cut', delayedResize);\n deobserve(text, 'paste', delayedResize);\n deobserve(text, 'drop', delayedResize);\n deobserve(text, 'keydown', delayedResize);\n deobserve(text, 'input', resize);\n };\n}\n\nexport enum ETextAreaVariant {\n filled = 'filled',\n outlined = 'outlined',\n}\n\nexport enum ETextAreaSize {\n small = 'small',\n medium = 'medium',\n large = 'large',\n}\n\nexport enum ETextAreaBorder {\n circle = 'circle',\n normal = 'normal',\n}\n\ntype ITextAreaProps = {\n invalid?: boolean;\n icon?: any;\n variant?: keyof typeof ETextAreaVariant;\n size?: keyof typeof ETextAreaSize;\n border?: ETextAreaBorder;\n loading?: boolean;\n showClear?: boolean;\n adaptive?: boolean;\n autoResize?: boolean;\n placeholder?: string;\n labelPlaceholder?: string | ReactNode;\n isWbTheme?: boolean;\n onClear?: () => void;\n onSearch?: (e: any) => void;\n onChange?: (value: string, event?: ChangeEvent<HTMLTextAreaElement>) => void;\n} & Omit<TextareaHTMLAttributes<HTMLTextAreaElement>, 'size' | 'variant' | 'onChange'>;\n\nexport const TextArea = forwardRef<HTMLTextAreaElement, ITextAreaProps>(\n (\n {\n onChange,\n onFocus = () => {},\n onBlur = () => {},\n onClear,\n onSearch,\n icon: Icon,\n name,\n required,\n disabled,\n value,\n placeholder,\n labelPlaceholder,\n style,\n loading,\n showClear,\n invalid,\n autoFocus,\n size = ETextAreaSize.medium,\n variant = ETextAreaVariant.outlined,\n border = ETextAreaBorder.normal,\n adaptive,\n autoResize,\n isWbTheme,\n ...props\n }: ITextAreaProps,\n ref\n ) => {\n const shared = useShared();\n\n const [_value, _setValue] = useState(value);\n\n const innerRef = useRef<HTMLTextAreaElement>();\n const combineRef: React.MutableRefObject<HTMLTextAreaElement> = useCombinedRefs(ref, innerRef);\n\n useEffect(() => _setValue(value), [value]);\n\n useEffect(() => {\n if (autoFocus && combineRef.current) {\n combineRef.current.focus();\n }\n }, [autoFocus, combineRef]);\n\n useEffect(() => {\n let unsubscribe;\n\n if (combineRef && combineRef.current) {\n combineRef.current.value = '';\n combineRef.current.value = `${value || ''}`;\n unsubscribe = resizeFn(combineRef.current);\n\n return () => {\n unsubscribe();\n };\n }\n\n return () => {\n unsubscribe && unsubscribe();\n };\n }, [autoResize, combineRef]);\n\n const classNames = useMemo(\n () =>\n classnames(\n styles.textarea,\n styles[`textarea__${variant}`],\n styles[`textarea__${size}`],\n styles[`textarea__border_${border}`],\n {\n [styles[`textarea__${size}_adaptive`]]: adaptive,\n [styles[`textarea__action_${size}`]]: Icon || loading || showClear,\n [styles[`textarea__actions_${size}`]]: (Icon || loading) && showClear,\n [styles.textarea__disabled]: disabled,\n [styles.isWbTheme]: shared.isWbTheme || isWbTheme,\n }\n ),\n [variant, size, border, disabled, loading, showClear, adaptive]\n );\n\n const inputClassNames = useMemo(\n () =>\n classnames(props.className, {\n [styles.invalid]: invalid,\n [styles.empty]: !_value,\n }),\n [invalid, props.className, _value]\n );\n\n const clearClassNames = useMemo(\n () =>\n classnames(styles.clear, styles[`clear__${variant}`], styles[`clear__${size}`], {\n [styles[`clear__action_${size}`]]: Icon || loading,\n [styles.isWbTheme]: shared.isWbTheme || isWbTheme,\n }),\n [variant, size, Icon, loading]\n );\n\n const loaderClassNames = useMemo(\n () =>\n classnames(styles.loader, styles[`loader__${variant}`], styles[`loader__${size}`], {\n [styles.isWbTheme]: shared.isWbTheme || isWbTheme,\n }),\n [variant, size]\n );\n\n const iconClassNames = useMemo(\n () =>\n classnames(styles.icon, styles[`icon__${variant}`], styles[`icon__${size}`], {\n [styles.isWbTheme]: shared.isWbTheme || isWbTheme,\n }),\n [variant, size]\n );\n\n const _onChange = useCallback((e: ChangeEvent<HTMLTextAreaElement>) => {\n _setValue(e.target.value);\n if (onChange) {\n onChange(e.target.value, e);\n }\n }, []);\n\n const _onSearch = useCallback(() => {\n if (onSearch) {\n onSearch(_value);\n }\n }, [onSearch]);\n\n const _onClear = useCallback(() => {\n _setValue(undefined);\n\n if (onClear) {\n onClear();\n }\n }, [onClear]);\n\n const labelClassNames = useMemo(() => classnames(styles.label), []);\n\n return (\n <div className={classNames}>\n {labelPlaceholder && _value && <div className={labelClassNames}>{labelPlaceholder}</div>}\n <textarea\n {...props}\n className={inputClassNames}\n ref={combineRef}\n name={name}\n disabled={disabled}\n placeholder={placeholder}\n value={_value || ''}\n onChange={_onChange}\n onFocus={onFocus}\n onBlur={onBlur}\n required={required}\n style={style}\n />\n {showClear && _value && <Clear className={clearClassNames} onClick={_onClear} />}\n {Icon && !loading && <Icon className={iconClassNames} onClick={_onSearch} />}\n {loading && <Loader className={loaderClassNames} />}\n </div>\n );\n }\n);\n","import classnames from 'classnames';\nimport React, { PropsWithChildren, useMemo, useState } from 'react';\n\nimport styles from './text-spoiler.module.scss';\nimport { ELinkVariant, Link } from '@shared/link';\nimport { ELinkSize } from '@shared/link/link';\n\nexport const TextSpoiler = (props: PropsWithChildren<{}>) => {\n const [isOpen, setOpen] = useState(false);\n\n const classNames = useMemo(\n () =>\n classnames(styles.textSpoiler, {\n [styles.openText]: isOpen,\n }),\n [isOpen],\n );\n\n return (\n <div>\n <div className={classNames}>{props.children}</div>\n <Link bold size={ELinkSize.large} variant={ELinkVariant.action} onClick={() => setOpen(!isOpen)}>\n {isOpen ? 'Свернуть' : 'Читать далее'}\n </Link>\n </div>\n );\n};\n","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"react-dom\");","import { CSSProperties } from 'react';\n\nexport enum TooltipPosition {\n left = 'left',\n top = 'top',\n right = 'right',\n bottom = 'bottom',\n}\n\nexport const isCurrent = (e: Event, element: Element): any => {\n const find = (el: HTMLElement) => {\n if (el === element) {\n return el;\n }\n\n return el?.parentElement && find(el.parentElement);\n };\n\n if (find(e.target as HTMLElement)) {\n return true;\n }\n};\n\nexport const findTargetElement = (element: Element) => {\n let elem = element;\n\n const find = (child: Element) => {\n if (child.getAttribute('data-tooltip-target')) {\n elem = child;\n }\n\n if (child.children.length) {\n return Array.prototype.slice.call(child.children, 0).find(find);\n }\n };\n\n find(element);\n\n return elem;\n};\n\nexport const getScrollTopParent = (element: HTMLElement): HTMLElement | null => {\n if (element?.scrollHeight > element?.clientHeight) {\n return element;\n }\n\n if (element?.parentElement) {\n return getScrollTopParent(element.parentElement);\n }\n\n return null;\n};\n\nexport const recalcArrowStyles = (\n targetElement: Element,\n tooltipProperties: CSSProperties,\n position: TooltipPosition\n): CSSProperties => {\n const { left, width } = targetElement.getBoundingClientRect();\n\n switch (position) {\n case TooltipPosition.top:\n return { left: left - (tooltipProperties.left as number) + width / 2 };\n case TooltipPosition.bottom:\n return { left: left - (tooltipProperties.left as number) + width / 2 };\n case TooltipPosition.left:\n return {};\n case TooltipPosition.right:\n return {};\n }\n};\n\nexport const recalcStyles = (\n targetElement: Element,\n tooltipElement: HTMLDivElement,\n position: TooltipPosition\n): CSSProperties => {\n const { top, left, width, height } = targetElement.getBoundingClientRect();\n const { width: tooltipWidth, height: tooltipHeight } = tooltipElement.getBoundingClientRect();\n\n let leftPosition = 0;\n if ([TooltipPosition.top, TooltipPosition.bottom].includes(position)) {\n leftPosition = left + width / 2 - tooltipWidth / 2;\n if (leftPosition + tooltipElement.offsetWidth > document.body.offsetWidth) {\n leftPosition -= leftPosition + tooltipElement.offsetWidth - document.body.offsetWidth;\n }\n if (leftPosition < 0) {\n leftPosition = 0;\n }\n }\n\n switch (position) {\n case TooltipPosition.top:\n return { top: top - tooltipHeight, left: leftPosition, opacity: 1 };\n case TooltipPosition.bottom:\n return { top: top + height, left: leftPosition, opacity: 1 };\n case TooltipPosition.left:\n return { top: top + height / 2 - tooltipHeight / 2, left: left - tooltipWidth, opacity: 1 };\n case TooltipPosition.right:\n return { top: top + height / 2 - tooltipHeight / 2, left: left + width, opacity: 1 };\n }\n};\n","import { createPortal } from 'react-dom';\nimport classNames from 'classnames';\nimport React, {\n CSSProperties,\n MouseEvent as ReactMouseEvent,\n PropsWithChildren,\n TouchEvent as ReactTouchEvent,\n useCallback,\n useEffect,\n useMemo,\n useRef,\n useState,\n} from 'react';\n\nimport styles from './tooltip.module.scss';\nimport { useMedia, withMedia } from '@shared/media';\nimport {\n TooltipPosition,\n findTargetElement,\n getScrollTopParent,\n isCurrent,\n recalcArrowStyles,\n recalcStyles,\n} from './tooltip.utils';\nimport { useShared } from '../../providers/shared.provider';\n\ntype ITootipProps = {\n title: any;\n className?: string;\n onOpenChange?: (val: boolean) => void;\n placement?: keyof typeof TooltipPosition;\n trigger?: any;\n isWbTheme?: boolean;\n};\n\nexport const Tooltip = withMedia(({ placement = 'top', isWbTheme, ...props }: PropsWithChildren<ITootipProps>) => {\n const shared = useShared();\n const media = useMedia();\n\n const ref = useRef<HTMLDivElement>(null);\n const refTooltip = useRef<HTMLDivElement>(null);\n const refArrow = useRef<HTMLDivElement>(null);\n\n const [opened, setOpened] = useState<boolean>(false);\n const [stylesTooltip, setStylesTooltip] = useState<CSSProperties>();\n const [stylesArrow, setStylesArrow] = useState<CSSProperties>();\n\n const scrollElement = useRef<HTMLElement>(null);\n\n const recalcPosition = useCallback(() => {\n if (!refTooltip.current || !ref.current) return;\n\n const targetElement = findTargetElement(ref.current);\n const res = recalcStyles(targetElement, refTooltip.current, placement as TooltipPosition);\n setStylesTooltip(res);\n setStylesArrow(recalcArrowStyles(targetElement, res, placement as TooltipPosition));\n }, []);\n\n useEffect(() => {\n return () => {\n setOpened(false);\n };\n }, []);\n\n useEffect(() => {\n recalcPosition();\n\n setTimeout(() => {\n recalcPosition();\n });\n }, [props.title]);\n\n const onTouchStart = useCallback((e: ReactTouchEvent) => {\n e.stopPropagation();\n return;\n }, []);\n\n const onClose = useCallback((e?: Event | ReactMouseEvent) => {\n if (e instanceof Event && isCurrent(e, ref.current)) {\n return;\n }\n\n setOpened(false);\n setStylesTooltip(null);\n\n scrollElement.current && scrollElement.current.parentElement?.removeEventListener('scroll', onClose);\n document.removeEventListener('scroll', onClose);\n document.body.removeEventListener('touchstart', onClose);\n document.body.removeEventListener('click', onClose);\n }, []);\n\n const onOpen = useCallback(\n (e: ReactMouseEvent) => {\n e.stopPropagation();\n if (opened) {\n media.mobile && onClose();\n return;\n }\n\n setOpened(true);\n props.onOpenChange && props.onOpenChange(true);\n\n setTimeout(() => {\n recalcPosition();\n\n const element = getScrollTopParent(ref.current);\n if (element) {\n scrollElement.current = element;\n element.parentElement.addEventListener('scroll', onClose);\n document.addEventListener('scroll', onClose);\n document.body.addEventListener('click', onClose);\n document.body.addEventListener('touchstart', onClose);\n }\n }, 10);\n },\n [props.onOpenChange, opened]\n );\n\n const title = useMemo(\n () => (\n <div\n ref={refTooltip}\n style={stylesTooltip}\n className={classNames(styles.tooltip, styles[placement], { [styles.isWbTheme]: shared.isWbTheme || isWbTheme })}\n >\n {props.title}\n <div ref={refArrow} style={stylesArrow} className={styles.arrow}></div>\n </div>\n ),\n [stylesTooltip, stylesArrow, props.title]\n );\n\n return (\n <div\n ref={ref}\n className={classNames(props.className)}\n onMouseOver={!media.mobile ? onOpen : null}\n onClick={media.mobile ? onOpen : null}\n onMouseLeave={!media.mobile ? onClose : null}\n onTouchStart={media.mobile ? onTouchStart : null}\n // onTouch={media.mobile ? onClose : null}\n >\n {props.children}\n {opened && props.title && createPortal(title, document.body)}\n </div>\n );\n\n // return <AntTooltip ref={ref} color=\"#212121\" {...props} overlayClassName=\"ant-tooltip-customize\" />;\n});\n","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"antd/lib/upload\");","var _path;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgRating(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 136 24\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M15.62 7.972L12.567.395a.605.605 0 00-1.135 0L8.38 7.972l-7.815.705c-.544.048-.762.757-.35 1.131l5.928 5.386-1.776 8.013c-.124.555.45.992.917.697L12 19.658l6.716 4.246c.466.297 1.043-.142.919-.697l-1.776-8.013 5.928-5.386c.412-.374.19-1.082-.351-1.131l-7.816-.705zM43.62 7.972L40.567.395a.605.605 0 00-1.135 0L36.38 7.972l-7.815.705c-.544.048-.762.757-.35 1.131l5.928 5.386-1.776 8.013c-.123.555.45.992.917.697L40 19.658l6.716 4.246c.466.297 1.042-.142.919-.697l-1.776-8.013 5.928-5.386c.412-.374.19-1.082-.351-1.131l-7.816-.705zM71.62 7.972L68.567.395a.605.605 0 00-1.135 0L64.38 7.972l-7.815.705c-.544.048-.761.757-.35 1.131l5.928 5.386-1.776 8.013c-.123.555.45.992.917.697L68 19.658l6.716 4.246c.467.297 1.043-.142.919-.697l-1.776-8.013 5.928-5.386c.411-.374.19-1.082-.351-1.131l-7.816-.705zM99.62 7.972L96.567.395a.605.605 0 00-1.135 0L92.38 7.972l-7.815.705c-.544.048-.761.757-.35 1.131l5.928 5.386-1.776 8.013c-.123.555.45.992.917.697L96 19.658l6.716 4.246c.466.297 1.042-.142.919-.697l-1.776-8.013 5.928-5.386c.411-.374.19-1.082-.351-1.131l-7.816-.705zM127.62 7.972L124.567.395A.602.602 0 00124 0a.604.604 0 00-.568.395l-3.053 7.577-7.815.705c-.544.048-.762.757-.35 1.131l5.928 5.386-1.776 8.013c-.124.555.451.992.917.697L124 19.658l6.716 4.246c.466.297 1.042-.142.919-.697l-1.776-8.013 5.928-5.386c.411-.374.19-1.082-.351-1.131l-7.816-.705z\",\n fill: \"#C8C8C8\"\n })));\n}\nexport default SvgRating;","import React from 'react';\n\nimport { Text } from '@shared/text';\nimport AntdUpload from 'antd/lib/upload';\nimport { UploadFile, UploadProps } from 'antd/lib/upload';\nimport { PropsWithChildren, useCallback, useEffect, useMemo, useState } from 'react';\n\nimport styles from './upload.module.scss';\nimport { uuidv4 } from '@shared/utils';\nimport classNames from 'classnames';\n\ntype IUploadProps = UploadProps & {\n onUpload?: (file: File) => Promise<string>;\n onChange?: (link: string[]) => void;\n renderName?: (link: string) => string;\n path?: string;\n value?: string[];\n maxCount?: number;\n showRemove?: boolean;\n hiddenList?: boolean;\n};\n\nexport const Upload = ({\n onUpload,\n onChange,\n renderName,\n showRemove,\n hiddenList,\n maxCount,\n path = '',\n value,\n ...props\n}: PropsWithChildren<IUploadProps>) => {\n const [files, setFiles] = useState<UploadFile[]>([]);\n\n useEffect(() => {\n setFiles(\n value\n ? value?.map((val, index) => ({\n uid: `${index}`,\n name: renderName ? renderName(val) : '',\n status: 'done',\n url: val,\n thumbUrl: val,\n }))\n : []\n );\n }, [value]);\n\n const onRemove = useCallback((item) => {\n let items = [];\n setFiles((prev) => (items = prev.filter((i) => i !== item)));\n onChange(items.map((i) => i.url));\n }, []);\n\n const _onChange = () => {\n setFiles((file) => {\n onChange(file.map((i) => i.url));\n return file;\n });\n };\n\n const onUploadFile = useCallback(\n async (file: File) => {\n if (maxCount && files.length >= maxCount) {\n return '';\n }\n\n const uuid = uuidv4();\n let link = path ? `${path}${file.name}` : URL.createObjectURL(file);\n\n setFiles((prev) =>\n prev.concat({\n uid: uuid,\n name: renderName ? renderName(file.name) : '',\n status: 'uploading',\n url: link,\n thumbUrl: link,\n })\n );\n\n try {\n if (onUpload) {\n link = await onUpload(file);\n }\n\n setFiles((prev) =>\n prev\n .filter((item) => item.uid !== uuid)\n .concat({\n uid: uuid,\n name: renderName ? renderName(file.name) : '',\n status: 'success',\n url: link,\n thumbUrl: link,\n })\n );\n } catch (e) {\n setFiles((prev) => prev.filter((item) => item.uid !== uuid));\n }\n\n return link;\n },\n [files]\n );\n\n const className = useMemo(() => classNames(styles.upload, props.className), [props.className]);\n\n return (\n //@ts-ignore\n <AntdUpload.Dragger\n {...props}\n showUploadList={hiddenList ? false : { showRemoveIcon: showRemove }}\n maxCount={maxCount}\n className={className}\n action={onUploadFile}\n customRequest={() => {}}\n onChange={_onChange}\n fileList={files}\n listType=\"picture\"\n accept=\"image/png, image/jpeg\"\n onRemove={onRemove}\n >\n {props.children || <Text bold>Выберите файл или перетащите сюда</Text>}\n </AntdUpload.Dragger>\n );\n};\n","var _path;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgRatingActive(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 136 24\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M15.62 7.972L12.567.395a.605.605 0 00-1.135 0L8.38 7.972l-7.815.705c-.544.048-.762.757-.35 1.131l5.928 5.386-1.776 8.013c-.124.555.45.992.917.697L12 19.658l6.716 4.246c.466.297 1.043-.142.919-.697l-1.776-8.013 5.928-5.386c.412-.374.19-1.082-.351-1.131l-7.816-.705zM43.62 7.972L40.567.395a.605.605 0 00-1.135 0L36.38 7.972l-7.815.705c-.544.048-.762.757-.35 1.131l5.928 5.386-1.776 8.013c-.123.555.45.992.917.697L40 19.658l6.716 4.246c.466.297 1.042-.142.919-.697l-1.776-8.013 5.928-5.386c.412-.374.19-1.082-.351-1.131l-7.816-.705zM71.62 7.972L68.567.395a.605.605 0 00-1.135 0L64.38 7.972l-7.815.705c-.544.048-.761.757-.35 1.131l5.928 5.386-1.776 8.013c-.123.555.45.992.917.697L68 19.658l6.716 4.246c.467.297 1.043-.142.919-.697l-1.776-8.013 5.928-5.386c.411-.374.19-1.082-.351-1.131l-7.816-.705zM99.62 7.972L96.567.395a.605.605 0 00-1.135 0L92.38 7.972l-7.815.705c-.544.048-.761.757-.35 1.131l5.928 5.386-1.776 8.013c-.123.555.45.992.917.697L96 19.658l6.716 4.246c.466.297 1.042-.142.919-.697l-1.776-8.013 5.928-5.386c.411-.374.19-1.082-.351-1.131l-7.816-.705zM127.62 7.972L124.567.395A.602.602 0 00124 0a.604.604 0 00-.568.395l-3.053 7.577-7.815.705c-.544.048-.762.757-.35 1.131l5.928 5.386-1.776 8.013c-.124.555.451.992.917.697L124 19.658l6.716 4.246c.466.297 1.042-.142.919-.697l-1.776-8.013 5.928-5.386c.411-.374.19-1.082-.351-1.131l-7.816-.705z\",\n fill: \"#FE9542\"\n })));\n}\nexport default SvgRatingActive;","var _path;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgEye(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 14 10\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M7 .429C10.425.429 13.57 3.033 13.57 5c0 1.968-3.146 4.572-6.571 4.572S.428 6.968.428 5C.428 3.033 3.575.43 7 .43zm0 1.143C4.163 1.572 1.57 3.717 1.57 5 1.571 6.284 4.163 8.43 7 8.43S12.428 6.284 12.428 5c0-1.283-2.591-3.428-5.428-3.428zm0 1.142a2.286 2.286 0 110 4.572 2.286 2.286 0 010-4.572zm0 1.143a1.143 1.143 0 100 2.286 1.143 1.143 0 000-2.286z\",\n fill: \"#fff\"\n })));\n}\nexport default SvgEye;","import React, { useCallback, useEffect, useState } from \"react\";\nimport RatingIcon from './../icon/icons/rating.svg';\nimport RatingActiveIcon from './../icon/icons/rating-active.svg';\nimport cn from 'classnames';\n\nimport styles from './rating.module.scss';\n\ninterface IRatingProps {\n value: number;\n onChange?: (val: number) => void;\n readonly?: boolean;\n className?: string;\n}\n\nexport const Rating = (props: IRatingProps) => {\n const [value, setValue] = useState(0);\n\n useEffect(() => {\n setValue(props.value);\n }, [props.value])\n\n const onChange = useCallback((index: number) => {\n setValue(index + 1);\n\n props.onChange && props.onChange(index + 1);\n }, [props.onChange]);\n\n return <div className={cn(styles.rating, props.className)}>\n <RatingIcon />\n {!!props.value && <RatingActiveIcon className={styles.stars} style={{\n WebkitMaskImage: `linear-gradient(to right, #FF00FFFF 0 ${(100 / 5) * value}%, #00FF0011 ${(100 / 5) * value}% 100%)`,\n maskImage: `linear-gradient(to right, #FF00FFFF 0 ${(100 / 5) * value}%, #00FF0011 ${(100 / 5) * value}% 100%)`\n }} />}\n {!props.readonly && <div className={styles.buttons}>\n {[0, 1, 2, 3, 4].map(item => <div onClick={onChange.bind(null, item)} key={item}></div>)}\n </div>}\n </div>\n}\n","import React from 'react';\nimport { Icon, EIconSize } from '../icon';\nimport { formatViews } from '@shared/utils/views-format';\nimport { Text } from '@shared/text';\nimport styles from './views-count.module.scss';\nimport Eye from '../icon/icons/eye.svg';\nimport classNames from 'classnames';\ninterface IViewsCountProps {\n viewsCount: number;\n className?: string;\n size?: keyof typeof EIconSize;\n}\n\nexport const ViewsCount = ({ viewsCount, className, size = 'extraSmall' }: IViewsCountProps) => {\n return (\n <Text className={classNames([styles.viewsCountContainer, `${className}`])} tag=\"span\">\n <Icon size={size} icon={Eye} variant=\"initial\" />\n <span className={styles.viewsCountText}>{formatViews(viewsCount)}</span>\n </Text>\n );\n};\n","var _path, _g;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgSuccess(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 24 24\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }, props), /*#__PURE__*/React.createElement(\"mask\", {\n id: \"success_svg__a\",\n style: {\n maskType: \"alpha\"\n },\n maskUnits: \"userSpaceOnUse\",\n x: 0,\n y: 0,\n width: 24,\n height: 24\n }, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M0 0h24v24H0V0z\",\n fill: \"#D9D9D9\"\n }))), _g || (_g = /*#__PURE__*/React.createElement(\"g\", {\n mask: \"url(#success_svg__a)\"\n }, /*#__PURE__*/React.createElement(\"path\", {\n d: \"M12 1.714c5.68 0 10.286 4.605 10.286 10.286 0 5.68-4.605 10.286-10.286 10.286C6.32 22.286 1.714 17.68 1.714 12 1.714 6.32 6.32 1.714 12 1.714zm0 1.715a8.571 8.571 0 100 17.143 8.571 8.571 0 000-17.143zm3.677 5.391a.863.863 0 011.217 0 .863.863 0 010 1.217l-6.002 5.998a.857.857 0 01-1.212 0l-3-3a.857.857 0 011.212-1.213l2.394 2.395 5.391-5.397z\",\n fill: \"#00B649\"\n }))));\n}\nexport default SvgSuccess;","var _path, _g;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgError(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 24 24\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }, props), /*#__PURE__*/React.createElement(\"mask\", {\n id: \"error_svg__a\",\n style: {\n maskType: \"alpha\"\n },\n maskUnits: \"userSpaceOnUse\",\n x: 0,\n y: 0,\n width: 24,\n height: 24\n }, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n fill: \"#D9D9D9\",\n d: \"M0 0h24v24H0z\"\n }))), _g || (_g = /*#__PURE__*/React.createElement(\"g\", {\n mask: \"url(#error_svg__a)\"\n }, /*#__PURE__*/React.createElement(\"path\", {\n d: \"M12 1.714c5.68 0 10.286 4.605 10.286 10.286 0 5.68-4.605 10.286-10.286 10.286C6.32 22.286 1.714 17.68 1.714 12 1.714 6.32 6.32 1.714 12 1.714zm0 1.715a8.571 8.571 0 100 17.143 8.571 8.571 0 000-17.143zM8.394 8.394a.857.857 0 011.212 0L12 10.787l2.394-2.393a.857.857 0 011.131-.071l.081.071a.857.857 0 010 1.212L13.213 12l2.393 2.394a.857.857 0 01.072 1.131l-.072.081a.857.857 0 01-1.212 0L12 13.213l-2.394 2.393a.857.857 0 01-1.131.072l-.081-.072a.857.857 0 010-1.212L10.787 12 8.394 9.606a.857.857 0 01-.071-1.131l.071-.081z\",\n fill: \"#F96666\"\n }))));\n}\nexport default SvgError;","var _path;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgWarning(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 24 24\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M2.725 21a.973.973 0 01-.85-.5 1.098 1.098 0 01-.137-.488.898.898 0 01.137-.512l9.25-16c.1-.167.23-.292.387-.375.159-.083.321-.125.488-.125.167 0 .33.042.488.125a.983.983 0 01.387.375l9.25 16c.1.167.146.337.137.512a1.098 1.098 0 01-.137.488.973.973 0 01-.85.5H2.725zm1.725-2h15.1L12 6 4.45 19zM12 18c.283 0 .52-.096.713-.288A.968.968 0 0013 17a.968.968 0 00-.287-.712A.968.968 0 0012 16a.968.968 0 00-.713.288A.968.968 0 0011 17c0 .283.096.52.287.712.192.192.43.288.713.288zm0-3c.283 0 .52-.096.713-.287A.968.968 0 0013 14v-3a.968.968 0 00-.287-.713A.968.968 0 0012 10a.968.968 0 00-.713.287A.968.968 0 0011 11v3c0 .283.096.52.287.713.192.191.43.287.713.287z\",\n fill: \"#FE9542\"\n })));\n}\nexport default SvgWarning;","var _path;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgInfo(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 24 24\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M12 1.714c5.68 0 10.286 4.605 10.286 10.286 0 5.68-4.605 10.286-10.286 10.286C6.32 22.286 1.714 17.68 1.714 12 1.714 6.32 6.32 1.714 12 1.714zm0 1.715a8.571 8.571 0 100 17.142A8.571 8.571 0 0012 3.43zm.063 6.857c.204 0 .332.032.443.091.112.06.2.148.26.26.06.111.091.24.091.443v5.269c0 .203-.032.331-.091.443a.624.624 0 01-.26.26c-.111.059-.24.09-.443.09h-.126c-.204 0-.332-.031-.443-.09a.623.623 0 01-.26-.26c-.06-.112-.091-.24-.091-.443v-5.27c0-.203.032-.33.091-.443.06-.111.148-.199.26-.259.111-.06.24-.091.443-.091h.126zM12 6.514a1.2 1.2 0 110 2.4 1.2 1.2 0 010-2.4z\",\n fill: \"#a73afd\"\n })));\n}\nexport default SvgInfo;","import React, { FC } from 'react';\nimport styles from './message.module.scss';\nimport SuccessIcon from '../icon/icons/success.svg';\nimport ErrorIcon from '../icon/icons/error.svg';\nimport WarningIcon from '../icon/icons/warning.svg';\nimport InfoIcon from '../icon/icons/info.svg';\nimport classNames from 'classnames';\nimport { Text } from '@shared/text';\nimport { Icon } from '@shared/icon';\n\nexport type IMessageType = 'success' | 'error' | 'warning' | 'info';\n\nexport interface IMessageProps {\n type: IMessageType;\n title?: string;\n description: string;\n}\n\nconst getIcon = (type: IMessageType) => {\n switch (type) {\n case 'success':\n return SuccessIcon;\n\n case 'error':\n return ErrorIcon;\n\n case 'warning':\n return WarningIcon;\n\n case 'info':\n return InfoIcon;\n }\n};\n\nexport const Message: FC<IMessageProps> = ({ type, title, description }) => {\n return (\n <div className={classNames(styles.container, styles[`container__${type}`])}>\n <Icon variant=\"initial\" icon={getIcon(type)} />\n <div>\n {title && (\n <Text size=\"large\" weight=\"semibold\">\n {title}\n </Text>\n )}\n <Text size=\"large\">{description}</Text>\n </div>\n </div>\n );\n};\n","var _path;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgStepsArrow(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 19 26\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n fillRule: \"evenodd\",\n clipRule: \"evenodd\",\n d: \"M13.94 8.759l4.837 5.617a.986.986 0 010 1.248l-4.836 5.617a.688.688 0 01-1.075 0 .986.986 0 010-1.248l3.54-4.11H.882a.883.883 0 010-1.766h15.522l-3.539-4.11a.986.986 0 010-1.248.688.688 0 011.075 0z\",\n fill: \"#fff\"\n })));\n}\nexport default SvgStepsArrow;","import React from 'react';\nimport styles from './warning-block.module.scss';\nimport WarningIcon from '../icon/icons/warning.svg';\nimport { Icon } from '@shared/icon';\nimport { Text } from '@shared/text';\n\ninterface IWarningBlockProps {\n title?: string;\n description: string;\n}\n\nexport const WarningBlock = ({ title, description }: IWarningBlockProps) => {\n return (\n <div className={styles.warning}>\n <Icon variant=\"initial\" icon={WarningIcon} />\n <div>\n {title && (\n <Text size=\"large\" weight=\"semibold\">\n {title}\n </Text>\n )}\n <Text size=\"large\">{description}</Text>\n </div>\n </div>\n );\n};\n","import { CSSProperties } from 'react';\n\nexport enum TooltipPosition {\n left = 'left',\n top = 'top',\n right = 'right',\n bottom = 'bottom',\n}\n\nexport const isCurrent = (e: Event, element: Element): any => {\n const find = (el: HTMLElement) => {\n if (el === element) {\n return el;\n }\n\n return el?.parentElement && find(el.parentElement);\n };\n\n if (find(e.target as HTMLElement)) {\n return true;\n }\n};\n\nexport const findTargetElement = (element: Element) => {\n let elem = element;\n\n const find = (child: Element) => {\n if (child.getAttribute('data-tooltip-target')) {\n elem = child;\n }\n\n if (child.children.length) {\n return Array.prototype.slice.call(child.children, 0).find(find);\n }\n };\n\n find(element);\n\n return elem;\n};\n\nexport const getScrollTopParent = (element: HTMLElement): HTMLElement | null => {\n if (element.scrollHeight > element.clientHeight) {\n return element;\n }\n\n if (element.parentElement) {\n return getScrollTopParent(element.parentElement);\n }\n\n return null;\n};\n\nexport const recalcArrowStyles = (\n targetElement: Element,\n tooltipProperties: CSSProperties,\n position: TooltipPosition\n): CSSProperties => {\n const { left, width } = targetElement.getBoundingClientRect();\n\n switch (position) {\n case TooltipPosition.top:\n return { left: left - (tooltipProperties.left as number) + width / 2 };\n case TooltipPosition.bottom:\n return { left: left - (tooltipProperties.left as number) + width / 2 };\n case TooltipPosition.left:\n return {};\n case TooltipPosition.right:\n return {};\n }\n};\n\nexport const recalcStyles = (\n targetElement: Element,\n tooltipElement: HTMLDivElement,\n position: TooltipPosition\n): CSSProperties => {\n const { top, left, width, height } = targetElement.getBoundingClientRect();\n const { width: tooltipWidth, height: tooltipHeight } = tooltipElement.getBoundingClientRect();\n\n let leftPosition = 0;\n if ([TooltipPosition.top, TooltipPosition.bottom].includes(position)) {\n leftPosition = left + width / 2 - tooltipWidth / 2;\n if (leftPosition + tooltipElement.offsetWidth > document.body.offsetWidth) {\n leftPosition -= leftPosition + tooltipElement.offsetWidth - document.body.offsetWidth;\n }\n if (leftPosition < 0) {\n leftPosition = 0;\n }\n }\n\n let topPosition = 0;\n if ([TooltipPosition.top, TooltipPosition.bottom].includes(position)) {\n topPosition = document.scrollingElement.scrollTop;\n }\n\n switch (position) {\n case TooltipPosition.top:\n return { top: topPosition + top - tooltipHeight, left: leftPosition, opacity: 1 };\n case TooltipPosition.bottom:\n return { top: topPosition + top + height, left: leftPosition, opacity: 1, transform: 'translateY(0)' };\n case TooltipPosition.left:\n return { top: topPosition + top + height / 2 - tooltipHeight / 2, left: left - tooltipWidth, opacity: 1 };\n case TooltipPosition.right:\n return { top: topPosition + top + height / 2 - tooltipHeight / 2, left: left + width, opacity: 1 };\n }\n};\n","import React from 'react';\n\nimport { Fragment } from 'react';\n\nimport StepsArrowIcon from './steps-arrow.svg';\n\nimport styles from './steps.module.scss';\nimport classNames from 'classnames';\nimport { useShared } from '../../providers/shared.provider';\nimport { Text } from '@shared/text';\nimport { Icon } from '@shared/icon';\n\ninterface IStepsPath {\n title: string;\n path?: string;\n onClick?: () => void;\n isBack?: boolean;\n isCurrent?: boolean;\n type?: 'current' | 'disabled';\n}\n\ninterface IStepsProps {\n paths: IStepsPath[];\n onBack?: (path: string) => void;\n linkComponent?: any;\n}\n\nexport const Steps = (props: IStepsProps) => {\n const shared = useShared();\n\n const LinkComponent = props.linkComponent || shared?.LinkComponent;\n\n return (\n <div className={styles.steps}>\n {props.paths.map((item, index) => (\n <Fragment key={index}>\n {!!index && <Icon size=\"medium\" variant=\"initial\" icon={StepsArrowIcon} />}\n <span className={styles.step} key={index}>\n <span className={classNames(styles.count, styles[item.type], { [styles.current]: item.isCurrent })}>\n {index + 1}\n </span>\n {item.path ? (\n <LinkComponent href={item.path}>\n <Text inverse size=\"large\" weight=\"semibold\" className={classNames(styles.text, styles[item.type])}>\n {item.title}\n </Text>\n </LinkComponent>\n ) : (\n <Text inverse className={classNames(styles.text, styles[item.type])} size=\"large\" weight=\"semibold\">\n {item.title}\n </Text>\n )}\n </span>\n </Fragment>\n ))}\n </div>\n );\n};\n","var _path;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgPopoverClose(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 28 28\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M6.293 6.293a1 1 0 011.414 0L14 12.585l6.293-6.292a1 1 0 011.32-.083l.094.083a1 1 0 010 1.414L15.415 14l6.292 6.293a1 1 0 01.083 1.32l-.083.094a1 1 0 01-1.414 0L14 15.415l-6.293 6.292a1 1 0 01-1.32.083l-.094-.083a1 1 0 010-1.414L12.585 14 6.293 7.707a1 1 0 01-.083-1.32l.083-.094z\",\n fill: \"currentColor\"\n })));\n}\nexport default SvgPopoverClose;","import { createPortal } from 'react-dom';\nimport classNames from 'classnames';\nimport React, {\n CSSProperties,\n MouseEvent as ReactMouseEvent,\n useCallback,\n useEffect,\n useMemo,\n useRef,\n useState,\n forwardRef,\n ReactNode,\n PropsWithChildren,\n} from 'react';\n\nimport styles from './popover-tooltip.module.scss';\nimport {\n TooltipPosition,\n getScrollTopParent,\n isCurrent,\n recalcArrowStyles,\n recalcStyles,\n} from './popover-tooltip.utils';\nimport PopoverClose from './icons/popover-close.svg';\nimport { Icon } from '@shared/icon';\n\nexport type IPopoverTootipRef = {\n open?: (target: HTMLElement) => void;\n close?: () => void;\n};\n\ntype IPopoverTootipProps = {\n content: ReactNode;\n className?: string;\n onOpenChange?: (val: boolean) => void;\n placement?: keyof typeof TooltipPosition;\n trigger?: any;\n closeOutsideClick?: boolean;\n closeOutsideScroll?: boolean;\n showClose?: boolean;\n zIndex?: number;\n};\n\nexport const PopoverTooltip = forwardRef<IPopoverTootipRef, PropsWithChildren<IPopoverTootipProps>>(\n ({ placement = 'bottom', zIndex, ...props }, ref) => {\n const refTarget = useRef<HTMLElement>(null);\n const refTooltip = useRef<HTMLDivElement>(null);\n const refArrow = useRef<HTMLDivElement>(null);\n\n const [opened, setOpened] = useState<boolean>(false);\n const [stylesTooltip, setStylesTooltip] = useState<CSSProperties>();\n const [stylesArrow, setStylesArrow] = useState<CSSProperties>();\n\n const scrollElement = useRef<HTMLElement>(null);\n\n const recalcPosition = useCallback(() => {\n if (!refTooltip.current || !refTarget) return;\n\n const targetElement = refTarget.current;\n const res = recalcStyles(targetElement, refTooltip.current, placement as TooltipPosition);\n setStylesTooltip(res);\n setStylesArrow(recalcArrowStyles(targetElement, res, placement as TooltipPosition));\n }, []);\n\n useEffect(() => {\n if (ref) {\n // @ts-ignore\n ref.current = {\n open: (target) => {\n refTarget.current = target;\n onOpen(target);\n },\n close: onClose,\n };\n }\n\n return () => {\n setOpened(false);\n };\n }, []);\n\n useEffect(() => {\n recalcPosition();\n }, [props.content]);\n\n const onClose = useCallback((e?: Event | ReactMouseEvent) => {\n if (e instanceof Event && isCurrent(e, refTarget.current)) {\n return;\n }\n\n if (refTooltip.current) {\n refTooltip.current.style.transform = '';\n refTooltip.current.style.opacity = '';\n }\n setTimeout(() => {\n setOpened(false);\n setStylesTooltip(null);\n }, 100);\n\n scrollElement.current && scrollElement.current.parentElement?.removeEventListener('scroll', onClose);\n document.removeEventListener('scroll', onClose);\n document.body.removeEventListener('click', onClose);\n window.removeEventListener('resize', recalcPosition);\n }, []);\n\n const onOpen = useCallback(\n (target: HTMLElement) => {\n setOpened(true);\n props.onOpenChange && props.onOpenChange(true);\n\n setTimeout(() => {\n recalcPosition();\n window.addEventListener('resize', recalcPosition);\n\n const element = getScrollTopParent(target);\n if (element) {\n if (props.closeOutsideScroll) {\n scrollElement.current = element;\n element.parentElement.addEventListener('scroll', onClose);\n document.addEventListener('scroll', onClose);\n }\n\n if (props.closeOutsideClick) {\n document.body.addEventListener('click', onClose);\n }\n }\n }, 0);\n },\n [props.onOpenChange, opened]\n );\n\n const content = useMemo(\n () => (\n <div\n ref={refTooltip}\n style={{ ...stylesTooltip, zIndex }}\n className={classNames(styles.tooltip, styles[placement])}\n onClick={(e) => e.stopPropagation()}\n >\n {props.content || props.children}\n <div ref={refArrow} style={stylesArrow} className={styles.arrow}></div>\n {props.showClose && <Icon variant=\"inherit\" className={styles.close} icon={PopoverClose} onClick={onClose} />}\n </div>\n ),\n [stylesTooltip, stylesArrow, props.content, props.children]\n );\n\n return opened && (props.content || props.children) && createPortal(content, document.body.firstElementChild);\n }\n);\n","import React, { ElementType, MouseEvent, PropsWithChildren, PropsWithRef, useMemo, useRef } from 'react';\n\nimport { ComponentProps, forwardRef, MutableRefObject, useCallback, useEffect, useState } from 'react';\nimport { IPopoverTootipRef, PopoverTooltip } from './popover-tooltip';\n\nexport type PropsWithPopover<P, D = any> = P & {\n data: D;\n popover: IPopoverRef<D>;\n};\n\nexport interface IPopoverRef<D = any> {\n open: (e: MouseEvent, data?: D) => void;\n close: () => void;\n}\n\nexport type IPopoverProps<C extends ElementType> = {\n [key in keyof ComponentProps<C>]?: ComponentProps<C>[key];\n} & {\n component?: C;\n showClose?: boolean;\n closeOutsideClick?: boolean;\n closeOutsideScroll?: boolean;\n zIndex?: number;\n};\n\nfunction _Popover<C extends ElementType>(\n props: PropsWithChildren<IPopoverProps<C>>,\n ref?: MutableRefObject<IPopoverRef>\n) {\n const tootipRef = useRef<IPopoverTootipRef>(null);\n\n const [data, setData] = useState<any>();\n\n const handleCancel = useCallback(() => {\n tootipRef.current.close();\n }, []);\n\n const handleOpen = useCallback((e: MouseEvent<HTMLElement>, data = {}) => {\n setData(data);\n tootipRef.current.open(e.currentTarget);\n }, []);\n\n useEffect(() => {\n if (!ref) {\n return;\n }\n\n ref.current = {\n open: handleOpen,\n close: handleCancel,\n };\n }, [ref?.current]);\n\n const content = useMemo(\n // @ts-ignore\n () => !!props.component && <props.component {...props} data={data} popover={ref.current} />,\n [props.component, props, data]\n );\n\n return (\n <PopoverTooltip\n ref={tootipRef}\n placement=\"bottom\"\n showClose={props.showClose}\n closeOutsideClick={props.closeOutsideClick}\n closeOutsideScroll={props.closeOutsideScroll}\n content={content}\n zIndex={props.zIndex}\n >\n {props.children}\n </PopoverTooltip>\n );\n}\n\nexport const Popover = forwardRef(_Popover) as <C extends ElementType>(\n props: PropsWithRef<IPopoverProps<C> & { ref?: MutableRefObject<IPopoverRef> }>\n) => React.JSX.Element;\n","import React, { ElementType } from 'react';\n\nimport { createContext, createRef, PropsWithChildren, RefObject, useContext, useMemo, useState } from 'react';\nimport { IPopoverProps, IPopoverRef, Popover } from './popover';\nimport { uuidv4 } from '@shared/utils';\n\ntype IPopoverContextPrivate = {\n create: (component: any, initialProps: any) => RefObject<IPopoverRef<any>>;\n};\n\ntype IPopoverObj = {\n ref: RefObject<IPopoverRef<any>>;\n id: any;\n component: any;\n initialProps: any;\n};\n\nconst popoverContext = createContext<IPopoverContextPrivate>(null);\n\nexport const PopoverProvider = ({ children }: PropsWithChildren<any>) => {\n const [popovers, setPopovers] = useState<IPopoverObj[]>([]);\n\n const value = useMemo(\n () => ({\n create: (component: any, initialProps: any) => {\n const ref = createRef<IPopoverRef>();\n const id = uuidv4();\n setPopovers((prev) => prev.concat({ ref, id, component, initialProps }));\n\n return ref;\n },\n }),\n []\n );\n\n return (\n <popoverContext.Provider value={value}>\n {children}\n {popovers.map((popover) => (\n <Popover key={popover.id} ref={popover.ref} component={popover.component} {...popover.initialProps} />\n ))}\n </popoverContext.Provider>\n );\n};\n\nexport function usePopover<C extends ElementType>(component: C, initialProps?: IPopoverProps<C>) {\n const data = useContext(popoverContext);\n\n const res = useMemo(() => data.create(component, initialProps || {}), [component]);\n\n if (!data) {\n throw new Error('Не подключен PopoverProvider');\n }\n\n return res;\n}\n","import type { IAdapterFunction } from './service.types';\n\nexport const adapter: IAdapterFunction =\n (mapper: Function) =>\n ([res, err]) =>\n [res && mapper(res), err];\n","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"axios\");","import axios, { AxiosInstance, AxiosRequestConfig, AxiosResponse, AxiosError } from 'axios';\nimport { IResult } from './service.types';\n\ninterface IServiceRequestConfig {\n requestInterceptor?: (req: AxiosRequestConfig<any>) => AxiosRequestConfig<any>;\n}\n\nexport interface IBaseServiceStreamOptions {\n complete?: () => void;\n init?: (destroy: () => void) => void;\n error?: (message: string) => void;\n first?: () => void;\n}\n\nconst _controllers = new Map<string, AbortController>();\nconst _readers = new Map<string, any>();\n\nexport default class BaseService {\n protected axios: AxiosInstance;\n private _params: IServiceRequestConfig & AxiosRequestConfig;\n\n constructor({ ...params }: IServiceRequestConfig & AxiosRequestConfig) {\n this.axios = axios.create(params);\n this._params = params;\n\n this.axios.interceptors.request.use((req) => {\n params.requestInterceptor?.(req);\n\n return req;\n });\n }\n\n public createCancelToken = () => axios.CancelToken.source();\n\n private async _request<IResponse>(callback: () => Promise<AxiosResponse<IResponse>>): Promise<IResult<IResponse>> {\n try {\n const res = await callback();\n\n return [res.data, null];\n } catch (err) {\n if (axios.isCancel(err)) {\n return [null, null];\n }\n\n if (err instanceof AxiosError) {\n return [null, err.response];\n }\n\n return [null, err];\n }\n }\n\n private async _requestRPC<IResponse extends Promise<any>>(\n callback: () => IResponse\n ): Promise<IResult<Awaited<IResponse>>> {\n try {\n const res = await callback();\n\n return [res, null];\n } catch (err) {\n if (axios.isCancel(err)) {\n return [null, null];\n }\n\n if (err instanceof AxiosError) {\n return [null, err.response];\n }\n\n return [null, err];\n }\n }\n\n protected get = async <IResponse = any, IRequest = any>(url: string, options?: AxiosRequestConfig) =>\n this._request(() => this.axios.get<IRequest, AxiosResponse<IResponse>>(url, options));\n\n protected post = async <IResponse = any, IRequest = any>(\n url: string,\n data?: IRequest,\n options?: AxiosRequestConfig\n ) => this._request(() => this.axios.post<IRequest, AxiosResponse<IResponse>>(url, data, options));\n\n protected put = async <IResponse = any, IRequest = any>(url: string, data?: IRequest, options?: AxiosRequestConfig) =>\n this._request(() => this.axios.put<IRequest, AxiosResponse<IResponse>>(url, data, options));\n\n protected patch = async <IResponse = any, IRequest = any>(\n url: string,\n data?: IRequest,\n options?: AxiosRequestConfig\n ) => this._request(() => this.axios.patch<IRequest, AxiosResponse<IResponse>>(url, data, options));\n\n protected remove = async <IResponse = any, IRequest = any>(url: string, options?: AxiosRequestConfig) =>\n this._request(() => this.axios.delete<IRequest, AxiosResponse<IResponse>>(url, options));\n\n protected rpc = <IMethod extends (...args: any) => Promise<any>>(\n method: IMethod,\n ...params: Parameters<IMethod>\n ): Promise<IResult<Awaited<ReturnType<IMethod>>>> => this._requestRPC(() => method(...params));\n\n protected stream = async <IResponse = any, IRequest = any>(\n url: string,\n params: IRequest,\n callback: (res: IResponse, init: boolean) => void,\n options?: IBaseServiceStreamOptions,\n adapter?: (res: IResponse) => IResponse\n ) => {\n try {\n if (_readers.has(url)) {\n _readers.get(url).cancel();\n _readers.delete(url);\n }\n\n if (_controllers.has(url)) {\n _controllers.get(url).abort();\n _controllers.delete(url);\n }\n _controllers.set(url, new AbortController());\n\n const req: any =\n this._params.requestInterceptor?.({\n headers: this._params.headers || {},\n baseURL: this._params.baseURL,\n }) || {};\n\n const res = await fetch(`${req.baseURL || ''}${url}`, {\n method: 'POST',\n signal: _controllers.get(url).signal,\n credentials: this._params.withCredentials ? 'include' : undefined,\n headers: req.headers || {},\n body: JSON.stringify(params),\n });\n\n options.init(() => {\n if (_readers.has(url)) {\n _readers.get(url).cancel();\n _readers.delete(url);\n }\n\n if (_controllers.has(url)) {\n _controllers.get(url).abort();\n _controllers.delete(url);\n }\n });\n\n _readers.set(url, res.body.pipeThrough(new TextDecoderStream()).getReader());\n let bufferJson = '';\n let init = false;\n let isFirst = false;\n while (true) {\n let { value, done } = await _readers.get(url).read();\n\n if (value) {\n if (!isFirst) {\n try {\n isFirst = true;\n options.first && options.first();\n } catch (e) {}\n }\n\n try {\n if (bufferJson) {\n value = bufferJson + value;\n }\n\n const arr = value.split('\\n').filter(Boolean);\n const parsed = JSON.parse(arr[arr.length - 1]);\n\n if (parsed.error) {\n bufferJson = null;\n init = true;\n options.error(parsed.error.message);\n options.complete();\n break;\n }\n\n const data = parsed.result.data;\n bufferJson = null;\n callback(adapter ? adapter(data) : data, init);\n init = true;\n if (data.isFullPack) {\n options.complete();\n break;\n }\n } catch (e) {\n bufferJson = value;\n console.log('JSON parse error', e);\n }\n }\n\n if (done) {\n options.complete();\n break;\n }\n }\n\n if (_readers.has(url)) {\n _readers.get(url).cancel();\n }\n } catch (e) {\n options.complete();\n console.log(e);\n }\n };\n}\n","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"antd/lib/notification\");","var _path;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgWarning(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 24 24\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M2.725 21a.973.973 0 01-.85-.5 1.098 1.098 0 01-.137-.488.898.898 0 01.137-.512l9.25-16c.1-.167.23-.292.387-.375.159-.083.321-.125.488-.125.167 0 .33.042.488.125a.983.983 0 01.387.375l9.25 16c.1.167.146.337.137.512a1.098 1.098 0 01-.137.488.973.973 0 01-.85.5H2.725zm1.725-2h15.1L12 6 4.45 19zM12 18c.283 0 .52-.096.713-.288A.968.968 0 0013 17a.968.968 0 00-.287-.712A.968.968 0 0012 16a.968.968 0 00-.713.288A.968.968 0 0011 17c0 .283.096.52.287.712.192.192.43.288.713.288zm0-3c.283 0 .52-.096.713-.287A.968.968 0 0013 14v-3a.968.968 0 00-.287-.713A.968.968 0 0012 10a.968.968 0 00-.713.287A.968.968 0 0011 11v3c0 .283.096.52.287.713.192.191.43.287.713.287z\",\n fill: \"#FE9542\"\n })));\n}\nexport default SvgWarning;","import notification from 'antd/lib/notification';\nimport type { ArgsProps } from 'antd/lib/notification';\nimport classNames from 'classnames';\n\n/*\nКак юзать?\n\nshowToast({\n message: <div>Комментарий содержит запрещенный контент</div>,\n placement: 'bottomLeft',\n duration: null,\n icon: <Icon size=\"large\" variant=\"warning\" icon={CalendarIcon} />,\n className: classNames('shared-notification', 'kek'),\n});\n*/\n\nexport type IToastParams = ArgsProps;\n\nexport const showToast = (params: IToastParams) => {\n notification.open({ ...params, className: classNames('shared-toast', params.className) });\n};\n","var _path;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgError(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 24 24\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M12 1.714c5.68 0 10.286 4.605 10.286 10.286 0 5.68-4.605 10.286-10.286 10.286C6.32 22.286 1.714 17.68 1.714 12 1.714 6.32 6.32 1.714 12 1.714zm0 1.715a8.571 8.571 0 100 17.143 8.571 8.571 0 000-17.143zM8.394 8.394a.857.857 0 011.212 0L12 10.787l2.394-2.393a.857.857 0 011.131-.071l.081.071a.857.857 0 010 1.212L13.213 12l2.393 2.394a.857.857 0 01.072 1.131l-.072.081a.857.857 0 01-1.212 0L12 13.213l-2.394 2.393a.857.857 0 01-1.131.072l-.081-.072a.857.857 0 010-1.212L10.787 12 8.394 9.606a.857.857 0 01-.071-1.131l.071-.081z\",\n fill: \"#F96666\"\n })));\n}\nexport default SvgError;","import React from 'react';\nimport styles from './info-block.module.scss';\nimport WarningIcon from './icons/warning.svg';\nimport ErrorIcon from './icons/error.svg';\nimport classnames from 'classnames';\n\nimport { Icon } from '@shared/icon';\nimport { Text } from '@shared/text';\n\nconst ICONS = {\n default: WarningIcon,\n warning: WarningIcon,\n error: ErrorIcon,\n};\n\nenum EInfoBlockVariant {\n default = 'default',\n warning = 'warning',\n error = 'error',\n}\n\ninterface IInfoBlockProps {\n title?: string;\n description: string;\n variant?: keyof typeof EInfoBlockVariant;\n}\n\nexport const InfoBlock = ({ title, description, variant = EInfoBlockVariant.default }: IInfoBlockProps) => {\n return (\n <div className={classnames(styles.block, styles[`block__${variant}`])}>\n <Icon variant=\"initial\" icon={ICONS[variant]} />\n <div>\n {title && (\n <Text size=\"large\" mobSize=\"medium\" weight=\"semibold\">\n {title}\n </Text>\n )}\n <Text size=\"large\" mobSize=\"medium\">\n {description}\n </Text>\n </div>\n </div>\n );\n};\n","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"date-fns/addMonths\");","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"date-fns/startOfDay\");","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"date-fns/addDays\");","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"date-fns/differenceInCalendarDays\");","var _circle, _path;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgArrowPrev(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 49 48\",\n fill: \"none\",\n width: \"1em\",\n height: \"1em\"\n }, props), _circle || (_circle = /*#__PURE__*/React.createElement(\"circle\", {\n cx: 24.5,\n cy: 24,\n r: 24,\n fill: \"#F6F6F6\"\n })), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n fillRule: \"evenodd\",\n clipRule: \"evenodd\",\n d: \"M28.207 17.293a1 1 0 010 1.414L22.914 24l5.293 5.293a1 1 0 01-1.414 1.414l-6-6a1 1 0 010-1.414l6-6a1 1 0 011.414 0z\",\n fill: \"#000\"\n })));\n}\nexport default SvgArrowPrev;","import React from 'react';\nimport addMonths from 'date-fns/addMonths';\n\nimport styles from './calendar.module.scss';\nimport classNames from 'classnames';\nimport startOfDay from 'date-fns/startOfDay';\nimport { useCallback, useEffect, useMemo, useRef, useState } from 'react';\nimport addDays from 'date-fns/addDays';\nimport differenceInCalendarDays from 'date-fns/differenceInCalendarDays';\nimport { dateFormat, dateWithoutTimezone } from '@shared/utils';\nimport { Heading } from '@shared/heading';\n\nconst RAIL_DIFF_DAYS = [45, 60, 90, 120];\n\nconst current = new Date();\n\nconst months = Array(13)\n .fill(null)\n .map((_, index) => {\n return addMonths(dateWithoutTimezone(new Date(current.getFullYear(), current.getMonth(), 1)), index);\n });\n\nconst daysInMonth = (year, month) => {\n return new Date(year, month, 0).getDate();\n};\n\nconst getDay = (date: Date) => {\n return date.getDay() === 0 ? 6 : date.getDay() - 1;\n};\n\nconst getDays = (date: Date): Date[] => {\n return [\n ...Array(getDay(date)).fill(null),\n ...Array(daysInMonth(date.getFullYear(), date.getMonth() + 1))\n .fill(null)\n .map((_, index) => dateWithoutTimezone(new Date(date.getFullYear(), date.getMonth(), index + 1))),\n ];\n};\n\nconst diffDays = (a: Date, disabledAfter?: number) => {\n return (\n startOfDay(a) < startOfDay(new Date()) ||\n startOfDay(a) >= startOfDay(addDays(new Date(), disabledAfter ? disabledAfter : 365))\n );\n};\n\ninterface ICalendarProps {\n value?: [Date, Date];\n onChange: (val: [Date, Date]) => void;\n isSingleDay?: boolean;\n disableAfter?: number;\n disabledDate?: (date: Date) => boolean;\n rails?: boolean;\n isHotel?: boolean;\n}\n\nexport const Calendar = (props: ICalendarProps) => {\n const ref = useRef<HTMLDivElement>(null);\n const [value, setValue] = useState<[Date, Date]>([null, null]);\n\n useEffect(() => {\n if (\n props.value &&\n (props.value[0]?.getTime() !== value[0]?.getTime() || props.value[1]?.getTime() !== value[1]?.getTime())\n ) {\n setValue(props.value);\n }\n }, [props.value]);\n\n useEffect(() => {\n if (props.value?.[0] && ref.current) {\n const index = months.findIndex((month) => month.getMonth() === props.value[0].getMonth());\n ref.current.children[index * 2].scrollIntoView({ block: 'start' });\n }\n }, [ref.current]);\n\n const onChange = useCallback(\n (day: Date) => {\n setValue((prev) => {\n let val: [Date, Date] = prev;\n\n if (props.isSingleDay) {\n val = [day, null];\n props.onChange(val);\n\n return val;\n }\n\n if (props.isHotel && prev[0] && !prev[1] && day === prev[0]) {\n val = [prev[0], addDays(prev[0], 1)];\n } else if (prev[0] && !prev[1] && day >= prev[0]) {\n val = [prev[0], day];\n } else if (prev[0] && !prev[1] && day < prev[0]) {\n val = [day, prev[0]];\n } else if (prev[0] && prev[1]) {\n val = [day, null];\n } else {\n val = [day, prev[1]];\n }\n\n props.onChange(val);\n return val;\n });\n },\n [props.onChange]\n );\n\n const onHotelChange = useCallback(\n (day: Date) => {\n setValue((prev) => {\n let val: [Date, Date] = prev;\n if (prev[0] && !prev[1] && day === prev[0]) {\n val = [null, null];\n } else if (prev[0] && !prev[1] && day >= prev[0]) {\n val = [prev[0], day];\n } else if (prev[0] && !prev[1] && day < prev[0]) {\n val = [day, prev[0]];\n } else if (prev[0] && prev[1]) {\n val = [day, null];\n } else {\n val = [day, prev[1]];\n }\n\n props.onChange(val);\n return val;\n });\n },\n [props.onChange]\n );\n\n return (\n <div className={styles.calendar} ref={ref}>\n {months.map((month) => (\n <Month\n value={value}\n month={month}\n onChange={props.isHotel ? onHotelChange : onChange}\n disableAfter={props.disableAfter}\n disabledDate={props.disabledDate}\n rails={props.rails}\n isHotel={props.isHotel}\n />\n ))}\n </div>\n );\n};\n\ninterface IMonthProps {\n value: [Date, Date];\n month: Date;\n onChange: (val: Date) => void;\n disableAfter?: number;\n disabledDate?: (date: Date) => boolean;\n rails?: boolean;\n isHotel?: boolean;\n}\n\nexport const Month = (props: IMonthProps) => {\n const days = useMemo(() => getDays(props.month), [props.month?.getTime]);\n const baseDate = new Date();\n\n return (\n <>\n <div className={styles.month}>\n {props.isHotel ? (\n <Heading className={styles.heading} level={4}>\n {props.month.getFullYear() > new Date().getFullYear()\n ? dateFormat(props.month, 'MMMM YYYY', { plural: false })\n : dateFormat(props.month, 'MMMM', { plural: false })}\n </Heading>\n ) : (\n <Heading className={styles.heading} level={4}>\n {dateFormat(props.month, 'MMMM', { plural: false })}\n </Heading>\n )}\n </div>\n <div className={classNames(styles.days, { [styles.days_rails]: props.rails })}>\n {days.map((day) => {\n const diff = differenceInCalendarDays(day, baseDate) + 1;\n\n return (\n <div\n key={day?.getTime()}\n className={classNames(\n {\n [props.isHotel ? styles.startHotel : styles.start]:\n day && props.value[1] && day?.getTime() === props.value[0]?.getTime(),\n [props.isHotel ? styles.endHotel : styles.end]: day && day?.getTime() === props.value[1]?.getTime(),\n [props.isHotel ? styles.rangedHotel : styles.ranged]:\n day?.getTime() > props.value[0]?.getTime() && day?.getTime() < props.value[1]?.getTime(),\n },\n { [props.isHotel && styles.preSelect]: day && day?.getTime() === addDays(props.value[0], 1)?.getTime() }\n )}\n >\n <span\n onClick={() => {\n const isDisabled =\n diffDays(day, props.disableAfter) || (props.disabledDate && props.disabledDate(day));\n if (!isDisabled) {\n props.onChange(day);\n }\n }}\n className={classNames({\n [styles.rail]: props.rails && RAIL_DIFF_DAYS.includes(diff),\n [styles.disabled]:\n diffDays(day, props.disableAfter) || (props.disabledDate && props.disabledDate(day)),\n [props.isHotel ? styles.selectedHotel : styles.selected]:\n day &&\n (day?.getTime() === props.value[0]?.getTime() || day?.getTime() === props.value[1]?.getTime()),\n })}\n >\n {dateFormat(day, 'D', { utc: false })}\n {props.rails && RAIL_DIFF_DAYS.includes(diff) && <div className={styles.badge}></div>}\n {props.rails && RAIL_DIFF_DAYS.includes(diff) && <div className={styles.num}>{diff}</div>}\n </span>\n </div>\n );\n })}\n </div>\n </>\n );\n};\n","var _circle, _path;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgArrowNext(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 49 48\",\n fill: \"none\",\n width: \"1em\",\n height: \"1em\"\n }, props), _circle || (_circle = /*#__PURE__*/React.createElement(\"circle\", {\n cx: 24,\n cy: 24,\n r: 24,\n transform: \"matrix(-1 0 0 1 48.5 0)\",\n fill: \"#F6F6F6\"\n })), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n fillRule: \"evenodd\",\n clipRule: \"evenodd\",\n d: \"M20.793 17.293a1 1 0 000 1.414L26.086 24l-5.293 5.293a1 1 0 001.414 1.414l6-6a1 1 0 000-1.414l-6-6a1 1 0 00-1.414 0z\",\n fill: \"#000\"\n })));\n}\nexport default SvgArrowNext;","import React, { ReactNode, useCallback, useEffect, useMemo, useRef, useState } from 'react';\nimport debounce from 'lodash.debounce';\nimport ArrowPrevIcon from './icons/arrow-prev.svg';\nimport ArrowNextIcon from './icons/arrow-next.svg';\nimport classNames from 'classnames';\n\nimport styles from './slider-easy.module.scss';\n\nexport const scrollIntoViewHorizontally = (container, element) => {\n container.scrollLeft = element.offsetLeft - container.offsetWidth / 2 + element.offsetWidth / 2;\n};\n\ninterface ISliderEasyProps {\n images?: string[];\n items?: any[];\n onRenderItem?: (item: any, index: number, list: any[]) => ReactNode;\n classNameArrowPrev: string;\n classNameArrowNext: string;\n}\n\nexport const SliderEasy = (props: ISliderEasyProps) => {\n const ref = useRef<HTMLDivElement>(null);\n const [current, setCurrent] = useState(0);\n const [currentPosition, setCurrentPosition] = useState(0);\n\n const onNext = useCallback(() => {\n if (current === props.images.length - 1) {\n return;\n }\n setCurrent(current + 1);\n }, [current, props.images]);\n\n const onPrev = useCallback(() => {\n if (current === 0) {\n return;\n }\n\n setCurrent(current - 1);\n }, [current, props.images]);\n\n useEffect(() => {\n if (ref.current.parentElement && ref.current.children[current]) {\n scrollIntoViewHorizontally(ref.current.parentElement, ref.current.children[current]);\n }\n }, [current]);\n\n const dots = useMemo(() => {\n if (props.images.length > 5) {\n return [null, null, null, null, null];\n }\n\n return props.images;\n }, [props.images.length]);\n\n const debounceCalcCurrentPos = useCallback(\n debounce(() => {\n setCurrentPosition(Math.floor(ref.current.parentElement.scrollLeft / ref.current.parentElement.offsetWidth / 5));\n }, 100),\n []\n );\n\n return (\n <div className={styles.container}>\n <div className={styles.scroll} onScroll={debounceCalcCurrentPos}>\n <div ref={ref} className={styles.items}>\n {props.images?.map((image) => (\n <div className={styles.item}>\n <img loading=\"lazy\" className={styles.image} src={encodeURI(image)} />\n </div>\n ))}\n {props.items?.map((...args) => (\n <div>{props.onRenderItem(...args)}</div>\n ))}\n </div>\n </div>\n {current > 0 && (\n <div className={classNames(styles.arrow, styles.arrowPrev, props.classNameArrowPrev)} onClick={onPrev}>\n <ArrowPrevIcon />\n </div>\n )}\n {current < props.images.length - 1 && (\n <div className={classNames(styles.arrow, styles.arrowNext, props.classNameArrowNext)} onClick={onNext}>\n <ArrowNextIcon />\n </div>\n )}\n <div className={styles.pagination}>\n {dots.map((_, index) => (\n <div className={classNames({ [styles.current]: index === currentPosition })} key={index}></div>\n ))}\n </div>\n </div>\n );\n};\n"],"names":["root","factory","exports","module","define","amd","this","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","__webpack_modules__","n","getter","__esModule","d","a","definition","key","o","Object","defineProperty","enumerable","get","obj","prop","prototype","hasOwnProperty","call","r","Symbol","toStringTag","value","require","EIconSize","EIconVariant","_path","IconSvg","active","size","medium","variant","className","onClick","props","classNames","useMemo","_extends","assign","bind","e","arguments","length","t","apply","width","height","viewBox","fill","xmlns","formatItemToOption","item","valueKey","labelKey","labels","includes","label","data","AutoComplete","onServerSearch","icon","debounceTimeout","labelPlaceholder","onRenderOption","onRenderOptionGroup","onServerSearchGroup","popupClassName","optionsGroupFromProps","notFoundContent","useState","fetching","setFetching","serverOptions","setServerOptions","optionsGroup","setOptionsGroup","searchValue","setSearchValue","fetchRef","useRef","options","_options","Array","isArray","values","map","option","useEffect","group","_onRenderOptions","useCallback","_onRenderOptionsGroup","_optionsGroup","onChangeSearch","onChange","_option","localOptions","i","res","find","debounceFetcher","current","fetchId","then","newOptions","onSelect","placeholder","onSearch","val","backfill","suffixIcon","error","stacked","clearIcon","MEDIA_MATCHES","mobile","tablet","desktop","Media","renderDesktop","renderMobile","renderTablet","render","defaultMatches","mounted","setMounted","defaultRender","matches","queries","MediaContext","createContext","MediaProvider","children","Provider","withMedia","Component","useMedia","useContext","Error","fillRule","clipRule","ETextSize","ETextWeight","ETextVariant","sharedContext","SharedProvider","useShared","ELinkVariant","ELinkType","ELinkSize","ELinkWeight","ELinkDecoration","Text","mobSize","bold","weight","normal","addition","success","inverse","attention","warning","style","through","tag","isWbTheme","shared","TextTag","EBreadcrumbsVariant","Link","target","Icon","link","decoration","none","href","type","dashed","rel","iconClassNames","LinkComponent","_path2","_defs","Breadcrumbs","paths","onBack","arrow","media","_onBack","reverse","path","isBack","index","Fragment","slash","title","isCurrent","attributeType","attributeName","from","to","dur","repeatCount","id","x1","y1","x2","y2","gradientUnits","stopColor","offset","stopOpacity","EButtonSize","EButtonVariant","EButtonIconPosition","Button","iconPosition","right","loading","disabled","loaderClassNames","_onClick","UNIQ_COUNT","Checkbox","name","_value","_setValue","_onChange","currentTarget","checked","htmlFor","Counter","setValue","count","max","min","newCount","EInputVariant","EInputSize","EInputBorder","EInputIconPosition","Input","forwardRef","ref","onFocus","onBlur","onClear","onBeforeMask","onPointerUp","required","showClear","outlined","border","iconPositon","adaptive","debounceTime","beginSearch","NaN","mask","maskObj","maskParams","valueTransformer","_loading","_setLoading","_mask","_setMask","innerRef","useImperativeHandle","autoFocus","setTimeout","focus","remove","inputMask","greedy","dispatchEvent","Event","bubbles","inputClassNames","clearClassNames","labelClassNames","_onSearchDebounce","callback","prev","formattedValue","resultValue","_onSearch","_onClear","_onKeyPress","onKeyPress","Boolean","locale","AntDatePicker","DatePicker","format","onRenderInput","_","showToday","inputRender","displayName","Divider","bordered","Dropdown","dropdownRender","originNode","FocusError","useFormikContext","errors","isSubmitting","isValidating","keys","selector","errorElement","formRef","querySelector","scrollIntoView","block","Form","onChangeBlur","form","dirty","isValid","validateForm","FormikProvider","onSubmit","handleSubmit","isRequiredField","validationSchema","schemaDescription","describe","accessor","split","join","field","getIn","fields","tests","some","test","FormControl","component","errorPosition","useField","meta","helpers","ctx","touched","args","setError","setTouched","position","EHeadingLevel","EHeadingWeight","EHeadingVariant","Heading","level","h1","mobLevel","centerText","HeadingTag","appleDetect","navigator","platform","userAgent","document","useCombinedRefs","targetRef","refs","forEach","units","YYYY","year","YY","M","month","MM","MMM","MMMM","MMMMM","D","day","DD","weekday","dd","hh","hour","mm","minute","ss","second","getDate","Date","replaceAll","dateFormat","utc","plural","getTime","userTimezoneOffset","getTimezoneOffset","dateUnits","dateItems","delimeters","filter","stringDate","unit","toLocaleTimeString","toLocaleDateString","slice","toUpperCase","toLocaleString","replace","c","push","dateWithoutTimezone","date","dateWithTimezone","pluralize","plurals","formatViews","num","numStr","toString","parseInt","priceFormat","price","Intl","NumberFormat","currency","minimumFractionDigits","formatToParts","Math","ceil","currencySign","cur","reduce","part","PREPOSITIONS","replacement","str","textSanitize","regex","RegExp","x","decorate","UNITS","timeLeftMinutes","time","timeLeft","floor","wzero","input","String","getTimeLeft","dateLeft","getHours","getMinutes","getSeconds","useTimeLeft","expireDate","onExpired","setTimeLeft","timeout","clearTimeout","uuidv4","token","chars","random","generateToken","LoaderIcon","Loader","absolute","fixed","LoaderLine","Menu","_g","maskType","maskUnits","y","_circle","Modal","footer","sidebar","closable","showClose","maskClosable","footerClassName","open","setOpen","setData","_width","_setWidth","_title","_setTitle","_footer","_setFooter","_footerClassName","_setFooterClassName","_closable","_setClosable","full","_full","_setFull","noPadding","_noPadding","_setNoPadding","gallery","_gallery","_setGallery","tabletPopup","_tabletPopup","_setTabletPopup","footerFixed","_footerFixed","_setFooterFixed","_sidebar","_setSidebar","_showClose","_setShowClose","_maskClosable","_setMaskClosable","grayBackground","_grayBackground","_setGrayBackground","html","firstElementChild","container","body","scrollTop","isOpen","overflowY","transform","overscrollBehavior","offsetHeight","console","log","handleCancel","handleOpen","close","setTitle","setFooter","setClosable","setWidth","setFooterFixed","setFull","setGallery","setSidebar","setShowCloseIcon","setMaskClosable","setTabletPopup","setGrayBackground","setNoPadding","setFooterClassName","destroyOnClose","afterClose","closeIcon","onCancel","maskTransitionName","transitionName","wrapClassName","modal","modalContext","ModalProvider","modals","setModals","create","initialProps","createRef","concat","useModal","cx","cy","Gallery","imageUrls","currentIndex","isImageCounter","setCurrent","onNext","onPrev","handleKeyDown","event","window","addEventListener","removeEventListener","webp","srcSet","thumbWebp","jpeg","thumbJpeg","src","decodeURI","alt","getSliderPictures","Radio","nativeEvent","RangePicker","disabledDate","isFromToday","setHours","setMinutes","setSeconds","setMilliseconds","pickerRef","SelectModal","items","currentValue","setCurrentValue","Select","isMobileModal","modalTitle","isEqual","_onRenderGroup","onDropdownVisibleChange","SelectorRange","Selector","ESkeletonVariant","Skeleton","Navigation","Autoplay","Controller","EffectFade","Slider","slidesPerView","renderItem","viewItem","loop","asyncReady","showNavigation","navPosition","spaceBetween","autoplay","delay","freeMode","showCounter","centeredSlides","classNamePrev","classNameNext","touchStartPreventDefault","overflow","preloadImages","shortSwipes","longSwipes","longSwipesMs","longSwipesRatio","preventClicks","preventClicksPropagation","effect","speed","navigationPrevRef","navigationNextRef","setIndex","ready","setReady","onSlideItem","indexItem","findItem","renderSliderCounter","Swiper","fadeEffect","crossFade","loopedSlides","onSlideChange","sw","realIndex","disableOnInteraction","navigation","nextEl","prevEl","onImagesReady","swiper","slideTo","onBeforeInit","params","lazy","checkInView","loadPrevNext","SwiperSlide","Spoiler","initialValue","opened","setOpened","StackedInput","setKey","focusedSelect","setFocusedSelect","focusedInput","setFocusedInput","dropdownMatchSelectWidth","ESwitchSize","Switch","TagBox","v","mode","maxTagCount","removeIcon","menuItemSelectedIcon","ETagButtonSize","ETagButtonVariant","TagButton","selected","selectedClassName","TagButtonGroup","onRenderLabel","ETextAreaVariant","ETextAreaSize","ETextAreaBorder","observe","element","handler","deobserve","TextArea","invalid","autoResize","combineRef","unsubscribe","text","resize","scrollHeight","delayedResize","resizeFn","TextSpoiler","large","action","TooltipPosition","getScrollTopParent","clientHeight","parentElement","recalcArrowStyles","targetElement","tooltipProperties","getBoundingClientRect","left","top","bottom","recalcStyles","tooltipElement","tooltipWidth","tooltipHeight","leftPosition","offsetWidth","opacity","Tooltip","placement","refTooltip","refArrow","stylesTooltip","setStylesTooltip","stylesArrow","setStylesArrow","scrollElement","recalcPosition","elem","child","getAttribute","onTouchStart","stopPropagation","onClose","el","onOpen","onOpenChange","onMouseOver","onMouseLeave","createPortal","Upload","onUpload","renderName","showRemove","hiddenList","maxCount","files","setFiles","uid","status","url","thumbUrl","onRemove","onUploadFile","file","uuid","URL","createObjectURL","showUploadList","showRemoveIcon","customRequest","fileList","listType","accept","Rating","WebkitMaskImage","maskImage","readonly","ViewsCount","viewsCount","getIcon","Message","description","WarningBlock","Steps","linkComponent","PopoverTooltip","zIndex","refTarget","topPosition","scrollingElement","content","closeOutsideScroll","closeOutsideClick","Popover","tootipRef","popover","popoverContext","PopoverProvider","popovers","setPopovers","usePopover","adapter","mapper","err","_controllers","Map","_readers","createCancelToken","source","_request","axios","post","put","patch","rpc","method","_requestRPC","stream","has","cancel","abort","set","AbortController","req","_params","requestInterceptor","headers","baseURL","fetch","signal","credentials","withCredentials","JSON","stringify","init","pipeThrough","TextDecoderStream","getReader","bufferJson","isFirst","read","done","first","arr","parsed","parse","message","complete","result","isFullPack","interceptors","request","use","AxiosError","response","showToast","EInfoBlockVariant","ICONS","default","InfoBlock","RAIL_DIFF_DAYS","months","getFullYear","getMonth","diffDays","disabledAfter","Calendar","findIndex","isSingleDay","isHotel","onHotelChange","Month","disableAfter","rails","days","getDay","baseDate","diff","SliderEasy","currentPosition","setCurrentPosition","images","scrollLeft","offsetLeft","dots","debounceCalcCurrentPos","onScroll","image","encodeURI","onRenderItem","classNameArrowPrev","classNameArrowNext"],"sourceRoot":""}
|
|
1
|
+
{"version":3,"file":"index.js","mappings":"CAAA,SAA2CA,EAAMC,GAC1B,iBAAZC,SAA0C,iBAAXC,OACxCA,OAAOD,QAAUD,IACQ,mBAAXG,QAAyBA,OAAOC,IAC9CD,OAAO,GAAIH,GACe,iBAAZC,QACdA,QAAQ,mBAAqBD,IAE7BD,EAAK,mBAAqBC,GAC3B,CATD,CASGK,MAAM,I,qBCRTH,EAAOD,QAAU,CAAC,mBAAmB,mBAAmB,4BAA4B,4BAA4B,iBAAiB,iBAAiB,2BAA2B,2BAA2B,eAAe,eAAe,4BAA4B,4BAA4B,mCAAmC,mCAAmC,6BAA6B,6BAA6B,kCAAkC,kCAAkC,+BAA+B,+BAA+B,8BAA8B,8BAA8B,sBAAsB,sBAAsB,2BAA2B,2BAA2B,4BAA4B,4BAA4B,0BAA0B,0BAA0B,6BAA6B,6BAA6B,qBAAqB,qBAAqB,4BAA4B,4BAA4B,8BAA8B,8BAA8B,wBAAwB,wBAAwB,sBAAsB,sBAAsB,qBAAqB,qBAAqB,qBAAqB,qBAAqB,yBAAyB,yBAAyB,uBAAuB,uBAAuB,sBAAsB,sBAAsB,sBAAsB,sBAAsB,qBAAqB,qBAAqB,sBAAsB,sBAAsB,uBAAuB,uBAAuB,2BAA2B,2BAA2B,uBAAuB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inition","webpack://dt-shared-front/./src/styles/main.scss?daab","webpack://dt-shared-front/./src/components/auto-complete/auto-complete.module.scss?347c","webpack://dt-shared-front/./src/components/breadcrumbs/breadcrumbs.module.scss?9288","webpack://dt-shared-front/./src/components/button/button.module.scss?cb5e","webpack://dt-shared-front/./src/components/calendar/calendar.module.scss?d2a5","webpack://dt-shared-front/./src/components/checkbox/checkbox.module.scss?c589","webpack://dt-shared-front/./src/components/counter/counter.module.scss?eb10","webpack://dt-shared-front/./src/components/divider/divider.module.scss?cca0","webpack://dt-shared-front/./src/components/dropdown/dropdown.module.scss?bf5c","webpack://dt-shared-front/./src/components/form-control/form-control.module.scss?1d9b","webpack://dt-shared-front/./src/components/gallery/gallery.module.scss?11c9","webpack://dt-shared-front/./src/components/heading/heading.module.scss?c8fa","webpack://dt-shared-front/./src/components/icon/icon.module.scss?2ae3","webpack://dt-shared-front/./src/components/info-block/info-block.module.scss?8408","webpack://dt-shared-front/./src/components/input/input.module.scss?2249","webpack://dt-shared-front/./src/components/link/link.module.scss?3df9","webpack://dt-shared-front/./src/components/loader-line/loader-line.module.scss?f044","webpack://dt-shared-front/./src/components/loader/loader.module.scss?3129","webpack://dt-shared-front/./src/components/message/message.module.scss?9673","webpack://dt-shared-front/./src/components/modal/modal.module.scss?8bb4","webpack://dt-shared-front/./src/components/popover/popover-tooltip.module.scss?55e1","webpack://dt-shared-front/./src/components/radio/radio.module.scss?c71c","webpack://dt-shared-front/./src/components/rating/rating.module.scss?580b","webpack://dt-shared-front/./src/components/select/select.module.scss?ca24","webpack://dt-shared-front/./src/components/skeleton/skeleton.module.scss?5b5e","webpack://dt-shared-front/./src/components/slider-easy/slider-easy.module.scss?890e","webpack://dt-shared-front/./src/components/slider/slider.module.scss?8aed","webpack://dt-shared-front/./src/components/spoiler/spoiler.module.scss?78de","webpack://dt-shared-front/./src/components/stacked-input/stacked-input.module.scss?96c5","webpack://dt-shared-front/./src/components/steps/steps.module.scss?bd87","webpack://dt-shared-front/./src/components/switch/switch.module.scss?711d","webpack://dt-shared-front/./src/components/tag-box/tag-box.module.scss?2943","webpack://dt-shared-front/./src/components/tag-button/tag-button.module.scss?fcb2","webpack://dt-shared-front/./src/components/text-area/text-area.module.scss?d1bd","webpack://dt-shared-front/./src/components/text-spoiler/text-spoiler.module.scss?6fc7","webpack://dt-shared-front/./src/components/text/text.module.scss?540d","webpack://dt-shared-front/./src/components/tooltip/tooltip.module.scss?bcc3","webpack://dt-shared-front/./src/components/upload/upload.module.scss","webpack://dt-shared-front/./src/components/views-count/views-count.module.scss?d022","webpack://dt-shared-front/./src/components/warning-block/warning-block.module.scss?932c","webpack://dt-shared-front/webpack/bootstrap","webpack://dt-shared-front/webpack/runtime/compat get default export","webpack://dt-shared-front/webpack/runtime/define property getters","webpack://dt-shared-front/webpack/runtime/hasOwnProperty shorthand","webpack://dt-shared-front/webpack/runtime/make namespace object","webpack://dt-shared-front/external commonjs \"tslib\"","webpack://dt-shared-front/external commonjs \"react\"","webpack://dt-shared-front/external commonjs \"lodash.debounce\"","webpack://dt-shared-front/external commonjs \"classnames\"","webpack://dt-shared-front/external commonjs \"antd/lib/auto-complete\"","webpack://dt-shared-front/./src/components/icon/icon.tsx","webpack://dt-shared-front/./src/components/icon/icons/select-arrow.svg","webpack://dt-shared-front/./src/components/icon/icons/clear.svg","webpack://dt-shared-front/./src/components/auto-complete/auto-complete.tsx","webpack://dt-shared-front/external commonjs \"react-media\"","webpack://dt-shared-front/./src/components/media/media.tsx","webpack://dt-shared-front/./src/components/icon/icons/breadcrubms-arrow.svg","webpack://dt-shared-front/./src/components/icon/icons/back.svg","webpack://dt-shared-front/./src/components/text/text.tsx","webpack://dt-shared-front/./src/providers/shared.provider.tsx","webpack://dt-shared-front/./src/components/link/link.tsx","webpack://dt-shared-front/./src/components/breadcrumbs/breadcrumbs.tsx","webpack://dt-shared-front/./src/components/icon/icons/button-loader.svg","webpack://dt-shared-front/./src/components/button/button.tsx","webpack://dt-shared-front/./src/components/counter/icons/counter-minus.svg","webpack://dt-shared-front/./src/components/checkbox/checkbox.tsx","webpack://dt-shared-front/./src/components/counter/icons/counter-plus.svg","webpack://dt-shared-front/./src/components/icon/icons/date-picker.svg","webpack://dt-shared-front/./src/components/counter/counter.tsx","webpack://dt-shared-front/external commonjs \"antd/lib/date-picker/generatePicker\"","webpack://dt-shared-front/external commonjs \"rc-picker/lib/generate/dateFns\"","webpack://dt-shared-front/external commonjs \"antd/lib/date-picker/locale/ru_RU\"","webpack://dt-shared-front/./src/components/input/icons/search.svg","webpack://dt-shared-front/./src/components/icon/icons/input-loader.svg","webpack://dt-shared-front/external commonjs \"inputmask\"","webpack://dt-shared-front/./src/components/input/input.tsx","webpack://dt-shared-front/./src/components/date-picker/date-picker.tsx","webpack://dt-shared-front/./src/components/divider/divider.tsx","webpack://dt-shared-front/external commonjs \"antd/lib/dropdown\"","webpack://dt-shared-front/./src/components/dropdown/dropdown.tsx","webpack://dt-shared-front/external commonjs \"formik\"","webpack://dt-shared-front/./src/components/form/form-focus-error.tsx","webpack://dt-shared-front/./src/components/form/form.tsx","webpack://dt-shared-front/./src/components/form-control/form-control.tsx","webpack://dt-shared-front/./src/components/heading/heading.tsx","webpack://dt-shared-front/./src/components/utils/apple-detect.ts","webpack://dt-shared-front/./src/components/utils/combine-ref.ts","webpack://dt-shared-front/./src/components/utils/date-format.ts","webpack://dt-shared-front/./src/components/utils/date.ts","webpack://dt-shared-front/./src/components/utils/pluralize.ts","webpack://dt-shared-front/./src/components/utils/views-format.ts","webpack://dt-shared-front/./src/components/utils/price-format.ts","webpack://dt-shared-front/./src/components/utils/text-sanitize.ts","webpack://dt-shared-front/./src/components/utils/time-left.ts","webpack://dt-shared-front/./src/components/utils/index.ts","webpack://dt-shared-front/./src/components/loader/loader.tsx","webpack://dt-shared-front/./src/components/loader-line/loader-line.tsx","webpack://dt-shared-front/external commonjs \"antd/lib/menu\"","webpack://dt-shared-front/./src/components/menu/menu.tsx","webpack://dt-shared-front/external commonjs \"antd/lib/modal\"","webpack://dt-shared-front/./src/components/icon/icons/modal-close.svg","webpack://dt-shared-front/./src/components/icon/icons/arrow-next.svg","webpack://dt-shared-front/./src/components/modal/modal.tsx","webpack://dt-shared-front/./src/components/modal/modal.provider.tsx","webpack://dt-shared-front/./src/components/icon/icons/arrow-prev.svg","webpack://dt-shared-front/./src/components/gallery/gallery.tsx","webpack://dt-shared-front/external commonjs \"antd/lib/radio\"","webpack://dt-shared-front/./src/components/radio/radio.tsx","webpack://dt-shared-front/./src/components/range-picker/range-picker.tsx","webpack://dt-shared-front/external commonjs \"antd/lib/select\"","webpack://dt-shared-front/./src/components/select/icons/arrow.svg","webpack://dt-shared-front/./src/components/select/select-modal.tsx","webpack://dt-shared-front/./src/components/select/select.tsx","webpack://dt-shared-front/external commonjs \"antd/lib/slider\"","webpack://dt-shared-front/./src/components/selector/selector.tsx","webpack://dt-shared-front/external commonjs \"react-loading-skeleton\"","webpack://dt-shared-front/./src/components/skeleton/skeleton.tsx","webpack://dt-shared-front/external commonjs \"swiper/react\"","webpack://dt-shared-front/external commonjs \"swiper\"","webpack://dt-shared-front/./src/components/slider/slider.tsx","webpack://dt-shared-front/./src/components/icon/icons/spoiler-arrow.svg","webpack://dt-shared-front/./src/components/icon/icons/spoiler-arrow-active.svg","webpack://dt-shared-front/./src/components/spoiler/icons/shevron-opened.svg","webpack://dt-shared-front/./src/components/spoiler/icons/shevron-closed.svg","webpack://dt-shared-front/./src/components/switch/icons/disabled.svg","webpack://dt-shared-front/./src/components/spoiler/spoiler.tsx","webpack://dt-shared-front/./src/components/stacked-input/stacked-input.tsx","webpack://dt-shared-front/./src/components/switch/switch.tsx","webpack://dt-shared-front/./src/components/tag-box/tag-box.tsx","webpack://dt-shared-front/./src/components/tag-button/tag-button.tsx","webpack://dt-shared-front/./src/components/tag-button/tag-buttton-group.tsx","webpack://dt-shared-front/./src/components/text-area/text-area.tsx","webpack://dt-shared-front/./src/components/text-spoiler/text-spoiler.tsx","webpack://dt-shared-front/external commonjs \"react-dom\"","webpack://dt-shared-front/./src/components/tooltip/tooltip.utils.tsx","webpack://dt-shared-front/./src/components/tooltip/tooltip.tsx","webpack://dt-shared-front/external commonjs \"antd/lib/upload\"","webpack://dt-shared-front/./src/components/icon/icons/rating.svg","webpack://dt-shared-front/./src/components/upload/upload.tsx","webpack://dt-shared-front/./src/components/icon/icons/rating-active.svg","webpack://dt-shared-front/./src/components/icon/icons/eye.svg","webpack://dt-shared-front/./src/components/rating/rating.tsx","webpack://dt-shared-front/./src/components/views-count/views-count.tsx","webpack://dt-shared-front/./src/components/icon/icons/success.svg","webpack://dt-shared-front/./src/components/icon/icons/error.svg","webpack://dt-shared-front/./src/components/icon/icons/warning.svg","webpack://dt-shared-front/./src/components/icon/icons/info.svg","webpack://dt-shared-front/./src/components/message/message.tsx","webpack://dt-shared-front/./src/components/steps/steps-arrow.svg","webpack://dt-shared-front/./src/components/warning-block/warning-block.tsx","webpack://dt-shared-front/./src/components/popover/popover-tooltip.utils.tsx","webpack://dt-shared-front/./src/components/steps/steps.tsx","webpack://dt-shared-front/./src/components/popover/icons/popover-close.svg","webpack://dt-shared-front/./src/components/popover/popover-tooltip.tsx","webpack://dt-shared-front/./src/components/popover/popover.tsx","webpack://dt-shared-front/./src/components/popover/popover.provider.tsx","webpack://dt-shared-front/./src/service/service.adapter.ts","webpack://dt-shared-front/external commonjs \"axios\"","webpack://dt-shared-front/./src/service/service.ts","webpack://dt-shared-front/external commonjs \"antd/lib/notification\"","webpack://dt-shared-front/./src/components/info-block/icons/warning.svg","webpack://dt-shared-front/./src/components/toast/toast.ts","webpack://dt-shared-front/./src/components/info-block/icons/error.svg","webpack://dt-shared-front/./src/components/info-block/info-block.tsx","webpack://dt-shared-front/external commonjs \"date-fns/addMonths\"","webpack://dt-shared-front/external commonjs \"date-fns/startOfDay\"","webpack://dt-shared-front/external commonjs \"date-fns/addDays\"","webpack://dt-shared-front/external commonjs \"date-fns/differenceInCalendarDays\"","webpack://dt-shared-front/./src/components/slider-easy/icons/arrow-prev.svg","webpack://dt-shared-front/./src/components/calendar/calendar.tsx","webpack://dt-shared-front/./src/components/slider-easy/icons/arrow-next.svg","webpack://dt-shared-front/./src/components/slider-easy/slider-easy.tsx"],"sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"dt-shared-front\"] = factory();\n\telse\n\t\troot[\"dt-shared-front\"] = factory();\n})(this, () => {\nreturn ","// extracted by mini-css-extract-plugin\nmodule.exports = {\"swiper-container\":\"swiper-container\",\"swiper-container-vertical\":\"swiper-container-vertical\",\"swiper-wrapper\":\"swiper-wrapper\",\"swiper-container-android\":\"swiper-container-android\",\"swiper-slide\":\"swiper-slide\",\"swiper-container-multirow\":\"swiper-container-multirow\",\"swiper-container-multirow-column\":\"swiper-container-multirow-column\",\"swiper-container-free-mode\":\"swiper-container-free-mode\",\"swiper-container-pointer-events\":\"swiper-container-pointer-events\",\"swiper-slide-invisible-blank\":\"swiper-slide-invisible-blank\",\"swiper-container-autoheight\":\"swiper-container-autoheight\",\"swiper-container-3d\":\"swiper-container-3d\",\"swiper-slide-shadow-left\":\"swiper-slide-shadow-left\",\"swiper-slide-shadow-right\":\"swiper-slide-shadow-right\",\"swiper-slide-shadow-top\":\"swiper-slide-shadow-top\",\"swiper-slide-shadow-bottom\":\"swiper-slide-shadow-bottom\",\"swiper-cube-shadow\":\"swiper-cube-shadow\",\"swiper-container-css-mode\":\"swiper-container-css-mode\",\"swiper-container-horizontal\":\"swiper-container-horizontal\",\"swiper-container-fade\":\"swiper-container-fade\",\"swiper-slide-active\":\"swiper-slide-active\",\"swiper-button-prev\":\"swiper-button-prev\",\"swiper-button-next\":\"swiper-button-next\",\"swiper-button-disabled\":\"swiper-button-disabled\",\"swiper-container-rtl\":\"swiper-container-rtl\",\"swiper-button-white\":\"swiper-button-white\",\"swiper-button-black\":\"swiper-button-black\",\"swiper-button-lock\":\"swiper-button-lock\",\"ant-collapse-header\":\"ant-collapse-header\",\"ant-collapse-content\":\"ant-collapse-content\",\"ant-collapse-content-box\":\"ant-collapse-content-box\",\"ant-modal-no-padding\":\"ant-modal-no-padding\",\"ant-modal-body\":\"ant-modal-body\",\"ant-modal-content\":\"ant-modal-content\",\"ant-select\":\"ant-select\",\"ant-select-customize-input\":\"ant-select-customize-input\",\"ant-select-selection-search-input\":\"ant-select-selection-search-input\",\"ant-select-auto-complete\":\"ant-select-auto-complete\",\"ant-select-borderless\":\"ant-select-borderless\",\"ant-select-selector\":\"ant-select-selector\",\"select-stacked\":\"select-stacked\",\"ant-select-arrow\":\"ant-select-arrow\",\"ant-select-clear\":\"ant-select-clear\",\"ant-select-selection-item\":\"ant-select-selection-item\",\"isWbTheme\":\"isWbTheme\",\"ant-select-loading\":\"ant-select-loading\",\"custom-suffix-icon\":\"custom-suffix-icon\",\"ant-select-selection-placeholder\":\"ant-select-selection-placeholder\",\"ant-select-selection-search\":\"ant-select-selection-search\",\"input-no-border\":\"input-no-border\",\"ant-select-open\":\"ant-select-open\",\"ant-select-disabled\":\"ant-select-disabled\",\"select-error\":\"select-error\",\"ant-tag-box-customize-input\":\"ant-tag-box-customize-input\",\"ant-select-selection-item-remove\":\"ant-select-selection-item-remove\",\"ant-select-selection-overflow\":\"ant-select-selection-overflow\",\"ant-select-multiple\":\"ant-select-multiple\",\"ant-select-focused\":\"ant-select-focused\",\"ant-select-dropdown\":\"ant-select-dropdown\",\"rc-virtual-list-holder-inner\":\"rc-virtual-list-holder-inner\",\"ant-select-item\":\"ant-select-item\",\"ant-select-item-option\":\"ant-select-item-option\",\"ant-select-item-option-active\":\"ant-select-item-option-active\",\"ant-select-item-option-disabled\":\"ant-select-item-option-disabled\",\"ant-select-item-option-selected\":\"ant-select-item-option-selected\",\"isMobileModal\":\"isMobileModal\",\"ant-radio-group-customize\":\"ant-radio-group-customize\",\"horizontal\":\"horizontal\",\"vertical\":\"vertical\",\"ant-radio-customize\":\"ant-radio-customize\",\"ant-radio-wrapper\":\"ant-radio-wrapper\",\"ant-radio\":\"ant-radio\",\"ant-radio-disabled\":\"ant-radio-disabled\",\"ant-radio-inner\":\"ant-radio-inner\",\"ant-radio-input\":\"ant-radio-input\",\"ant-radio-checked\":\"ant-radio-checked\",\"ant-picker-dropdown\":\"ant-picker-dropdown\",\"ant-picker-dropdown-range\":\"ant-picker-dropdown-range\",\"ant-picker\":\"ant-picker\",\"ant-picker-borderless\":\"ant-picker-borderless\",\"ant-picker-range-wrapper\":\"ant-picker-range-wrapper\",\"date-picker-error\":\"date-picker-error\",\"ant-picker-disabled\":\"ant-picker-disabled\",\"ant-picker-suffix\":\"ant-picker-suffix\",\"ant-picker-active-bar\":\"ant-picker-active-bar\",\"ant-picker-input\":\"ant-picker-input\",\"ant-picker-focused\":\"ant-picker-focused\",\"ant-picker-clear\":\"ant-picker-clear\",\"ant-picker-panel-container\":\"ant-picker-panel-container\",\"ant-picker-panel\":\"ant-picker-panel\",\"ant-picker-cell\":\"ant-picker-cell\",\"ant-picker-cell-inner\":\"ant-picker-cell-inner\",\"ant-picker-content\":\"ant-picker-content\",\"ant-picker-header\":\"ant-picker-header\",\"ant-picker-footer\":\"ant-picker-footer\",\"ant-picker-header-super-next-btn\":\"ant-picker-header-super-next-btn\",\"ant-picker-header-super-prev-btn\":\"ant-picker-header-super-prev-btn\",\"ant-picker-prev-icon\":\"ant-picker-prev-icon\",\"ant-picker-next-icon\":\"ant-picker-next-icon\",\"ant-picker-date-panel\":\"ant-picker-date-panel\",\"ant-picker-header-view\":\"ant-picker-header-view\",\"ant-picker-month-btn\":\"ant-picker-month-btn\",\"ant-picker-year-btn\":\"ant-picker-year-btn\",\"ant-picker-header-prev-btn\":\"ant-picker-header-prev-btn\",\"ant-picker-header-next-btn\":\"ant-picker-header-next-btn\",\"ant-picker-range\":\"ant-picker-range\",\"ant-picker-cell-in-view\":\"ant-picker-cell-in-view\",\"ant-picker-cell-selected\":\"ant-picker-cell-selected\",\"ant-picker-cell-range-start\":\"ant-picker-cell-range-start\",\"ant-picker-cell-range-end\":\"ant-picker-cell-range-end\",\"ant-picker-cell-range-hover-start\":\"ant-picker-cell-range-hover-start\",\"ant-picker-cell-in-range\":\"ant-picker-cell-in-range\",\"ant-picker-cell-range-hover-end\":\"ant-picker-cell-range-hover-end\",\"ant-picker-cell-range-start-single\":\"ant-picker-cell-range-start-single\",\"ant-picker-cell-range-end-near-hover\":\"ant-picker-cell-range-end-near-hover\",\"ant-picker-cell-range-start-near-hover\":\"ant-picker-cell-range-start-near-hover\",\"ant-picker-cell-range-end-single\":\"ant-picker-cell-range-end-single\",\"ant-picker-cell-range-hover\":\"ant-picker-cell-range-hover\",\"ant-picker-cell-end\":\"ant-picker-cell-end\",\"ant-picker-cell-range-hover-edge-end\":\"ant-picker-cell-range-hover-edge-end\",\"ant-picker-cell-range-hover-edge-end-near-range\":\"ant-picker-cell-range-hover-edge-end-near-range\",\"ant-picker-cell-start\":\"ant-picker-cell-start\",\"ant-picker-cell-range-hover-edge-start\":\"ant-picker-cell-range-hover-edge-start\",\"ant-picker-cell-range-hover-edge-start-near-range\":\"ant-picker-cell-range-hover-edge-start-near-range\",\"ant-picker-panels\":\"ant-picker-panels\",\"ant-picker-footer-extra\":\"ant-picker-footer-extra\",\"ant-tooltip-customize\":\"ant-tooltip-customize\",\"ant-tooltip-inner\":\"ant-tooltip-inner\",\"ant-slider-tooltip\":\"ant-slider-tooltip\",\"ant-tooltip-arrow-content\":\"ant-tooltip-arrow-content\",\"ant-slider\":\"ant-slider\",\"ant-slider-track\":\"ant-slider-track\",\"ant-slider-rail\":\"ant-slider-rail\",\"ant-slider-handle\":\"ant-slider-handle\",\"ant-tooltip-open\":\"ant-tooltip-open\",\"ant-modal-gallery\":\"ant-modal-gallery\",\"ant-modal-close\":\"ant-modal-close\",\"ant-modal-full\":\"ant-modal-full\",\"ant-modal-gray\":\"ant-modal-gray\",\"ant-modal-header\":\"ant-modal-header\",\"ant-modal-sidebar\":\"ant-modal-sidebar\",\"ant-modal-footer-fixed\":\"ant-modal-footer-fixed\",\"ant-modal-footer\":\"ant-modal-footer\",\"ant-modal-hide-close\":\"ant-modal-hide-close\",\"ant-modal-title\":\"ant-modal-title\",\"ant-modal-close-x\":\"ant-modal-close-x\",\"am-modal-wrap\":\"am-modal-wrap\",\"am-modal\":\"am-modal\",\"am-modal-body\":\"am-modal-body\",\"am-modal-content\":\"am-modal-content\",\"am-modal-close\":\"am-modal-close\",\"ant-modal-wrap\":\"ant-modal-wrap\",\"am-modal-header\":\"am-modal-header\",\"am-modal-title\":\"am-modal-title\",\"ant-modal-tablet-popup\":\"ant-modal-tablet-popup\",\"ant-upload\":\"ant-upload\",\"ant-upload-drag\":\"ant-upload-drag\",\"ant-upload-disabled\":\"ant-upload-disabled\",\"ant-upload-drag-hover\":\"ant-upload-drag-hover\",\"ant-upload-list-item-name\":\"ant-upload-list-item-name\",\"ant-upload-animate-leave\":\"ant-upload-animate-leave\",\"react-loading-skeleton\":\"react-loading-skeleton\",\"ant-dropdown-menu\":\"ant-dropdown-menu\",\"ant-dropdown-menu-item\":\"ant-dropdown-menu-item\",\"ant-dropdown-menu-submenu-title\":\"ant-dropdown-menu-submenu-title\",\"ant-dropdown-menu-item-selected\":\"ant-dropdown-menu-item-selected\",\"ant-dropdown-menu-submenu-title-selected\":\"ant-dropdown-menu-submenu-title-selected\",\"shared-toast\":\"shared-toast\",\"ant-notification-notice\":\"ant-notification-notice\",\"ant-notification-notice-message\":\"ant-notification-notice-message\",\"ant-notification-notice-with-icon\":\"ant-notification-notice-with-icon\",\"ant-notification-notice-description\":\"ant-notification-notice-description\",\"ant-notification-notice-icon\":\"ant-notification-notice-icon\",\"horizontal-scroll\":\"horizontal-scroll\",\"slider\":\"slider\",\"swiper-pagination\":\"swiper-pagination\",\"overflow\":\"overflow\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"autoComplete\":\"shared__auto-complete-module__autoComplete--E+tq+_1756151760175\",\"hasLabel\":\"shared__auto-complete-module__hasLabel--t+Z8x_1756151760175\",\"disabled\":\"shared__auto-complete-module__disabled--3VMd2_1756151760175\",\"invalid\":\"shared__auto-complete-module__invalid--yHbC5_1756151760175\",\"optionText\":\"shared__auto-complete-module__optionText--saGcQ_1756151760175\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"breadcrumbs\":\"shared__breadcrumbs-module__breadcrumbs--LxNAe_1756151760175\",\"text\":\"shared__breadcrumbs-module__text--x8KXW_1756151760175\",\"breadcrumbsLink\":\"shared__breadcrumbs-module__breadcrumbsLink--eg3Ec_1756151760175\",\"back\":\"shared__breadcrumbs-module__back--vlgPL_1756151760175\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"button\":\"shared__button-module__button--X-qXA_1756151760175\",\"button__smallS\":\"shared__button-module__button__smallS--eulj7_1756151760175\",\"withIcon\":\"shared__button-module__withIcon--J7ifR_1756151760175\",\"button__small\":\"shared__button-module__button__small--kA9VI_1756151760175\",\"isWbTheme\":\"shared__button-module__isWbTheme--cDz40_1756151760175\",\"button__medium\":\"shared__button-module__button__medium--E71L1_1756151760175\",\"button__large\":\"shared__button-module__button__large--PG1dR_1756151760175\",\"button__default\":\"shared__button-module__button__default--mYOHn_1756151760175\",\"button__secondary\":\"shared__button-module__button__secondary--bPOB9_1756151760175\",\"button__tertiary\":\"shared__button-module__button__tertiary--6HFY9_1756151760175\",\"button__outline\":\"shared__button-module__button__outline--EXQ9z_1756151760175\",\"button__icon_left\":\"shared__button-module__button__icon_left--EzgVg_1756151760175\",\"button__icon_right\":\"shared__button-module__button__icon_right--uPFlS_1756151760175\",\"loading\":\"shared__button-module__loading--IZ3gt_1756151760175\",\"icon\":\"shared__button-module__icon--Gso9o_1756151760175\",\"icon__smallS\":\"shared__button-module__icon__smallS--BQwBb_1756151760175\",\"icon__small\":\"shared__button-module__icon__small--SgRrC_1756151760175\",\"icon__medium\":\"shared__button-module__icon__medium--3L-IQ_1756151760175\",\"icon__large\":\"shared__button-module__icon__large--WSggm_1756151760175\",\"icon__default\":\"shared__button-module__icon__default--MzXx8_1756151760175\",\"icon__secondary\":\"shared__button-module__icon__secondary--n0RQn_1756151760175\",\"icon__only\":\"shared__button-module__icon__only--fpWXx_1756151760175\",\"loader\":\"shared__button-module__loader--v14UE_1756151760175\",\"loader__medium\":\"shared__button-module__loader__medium--7pr9v_1756151760175\",\"loader__large\":\"shared__button-module__loader__large--S4tzp_1756151760175\",\"loader__default\":\"shared__button-module__loader__default--5X5UT_1756151760175\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"calendar\":\"shared__calendar-module__calendar--u1HKw_1756151760175\",\"heading\":\"shared__calendar-module__heading--3QhLt_1756151760175\",\"days\":\"shared__calendar-module__days--MGiti_1756151760175\",\"days_rails\":\"shared__calendar-module__days_rails--X2ReV_1756151760175\",\"ranged\":\"shared__calendar-module__ranged--RNFpf_1756151760175\",\"rangedHotel\":\"shared__calendar-module__rangedHotel--mQrdh_1756151760175\",\"preSelect\":\"shared__calendar-module__preSelect--g0wCP_1756151760175\",\"start\":\"shared__calendar-module__start--3C4zV_1756151760175\",\"startHotel\":\"shared__calendar-module__startHotel--BaN7M_1756151760175\",\"selectedHotel\":\"shared__calendar-module__selectedHotel--xrUaI_1756151760175\",\"endHotel\":\"shared__calendar-module__endHotel--7AVuQ_1756151760175\",\"end\":\"shared__calendar-module__end--n1j8b_1756151760175\",\"disabled\":\"shared__calendar-module__disabled--Q-TaX_1756151760175\",\"selected\":\"shared__calendar-module__selected--tyWWw_1756151760175\",\"rail\":\"shared__calendar-module__rail--yrgg6_1756151760175\",\"badge\":\"shared__calendar-module__badge--fProa_1756151760175\",\"num\":\"shared__calendar-module__num--XY7Cp_1756151760175\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"checkbox\":\"shared__checkbox-module__checkbox--jOEle_1756151760175\",\"error\":\"shared__checkbox-module__error--xRaxv_1756151760175\",\"isWbTheme\":\"shared__checkbox-module__isWbTheme--mRLXg_1756151760175\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"counter\":\"shared__counter-module__counter--po6fU_1756151760175\",\"button\":\"shared__counter-module__button--sOvjE_1756151760175\",\"value\":\"shared__counter-module__value--JD2xM_1756151760175\",\"isWbTheme\":\"shared__counter-module__isWbTheme--8v44d_1756151760175\",\"disabled\":\"shared__counter-module__disabled--g0D9K_1756151760175\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"bordered\":\"shared__divider-module__bordered--8qnHN_1756151760175\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"dropdown\":\"shared__dropdown-module__dropdown--fuFze_1756151760175\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"label\":\"shared__form-control-module__label--0QO0D_1756151760175\",\"error\":\"shared__form-control-module__error--FVB3Z_1756151760175\",\"invalid\":\"shared__form-control-module__invalid--LEqRn_1756151760175\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"gallery\":\"shared__gallery-module__gallery--gb0c0_1756151760175\",\"counter\":\"shared__gallery-module__counter--RXshZ_1756151760175\",\"buttonPrev\":\"shared__gallery-module__buttonPrev--X93Ad_1756151760175\",\"buttonNext\":\"shared__gallery-module__buttonNext--e-b6M_1756151760175\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"heading\":\"shared__heading-module__heading--8sR8x_1756151760175\",\"heading__h1\":\"shared__heading-module__heading__h1--R6zxl_1756151760175\",\"isWbTheme\":\"shared__heading-module__isWbTheme--No1pQ_1756151760175\",\"heading__h2\":\"shared__heading-module__heading__h2--R3bM8_1756151760175\",\"heading__h3\":\"shared__heading-module__heading__h3--XTX7i_1756151760175\",\"heading__h4\":\"shared__heading-module__heading__h4--iTCuq_1756151760175\",\"heading__h5\":\"shared__heading-module__heading__h5--WR5IM_1756151760175\",\"heading__h6\":\"shared__heading-module__heading__h6--ZnM+T_1756151760175\",\"heading__mob__h1\":\"shared__heading-module__heading__mob__h1--HTcn+_1756151760175\",\"heading__mob__h2\":\"shared__heading-module__heading__mob__h2--eR6By_1756151760175\",\"heading__mob__h3\":\"shared__heading-module__heading__mob__h3--b9NJ6_1756151760175\",\"heading__mob__h4\":\"shared__heading-module__heading__mob__h4--CroIA_1756151760175\",\"heading__mob__h5\":\"shared__heading-module__heading__mob__h5--Vy2mS_1756151760175\",\"heading__mob__h6\":\"shared__heading-module__heading__mob__h6--6k6vL_1756151760175\",\"heading__weight_bold\":\"shared__heading-module__heading__weight_bold--6Hr8P_1756151760175\",\"heading__weight_medium\":\"shared__heading-module__heading__weight_medium--LAW22_1756151760175\",\"heading__weight_regular\":\"shared__heading-module__heading__weight_regular--vV61+_1756151760175\",\"heading__variant_default\":\"shared__heading-module__heading__variant_default--w64ZQ_1756151760175\",\"heading__variant_addition\":\"shared__heading-module__heading__variant_addition--N5KKv_1756151760175\",\"heading__variant_light\":\"shared__heading-module__heading__variant_light--WmpiP_1756151760175\",\"heading__variant_disabled\":\"shared__heading-module__heading__variant_disabled--M+jqa_1756151760175\",\"heading__variant_attention\":\"shared__heading-module__heading__variant_attention--US60O_1756151760175\",\"heading__variant_error\":\"shared__heading-module__heading__variant_error--ErlNt_1756151760175\",\"heading__variant_success\":\"shared__heading-module__heading__variant_success--LkZsY_1756151760175\",\"heading__variant_warning\":\"shared__heading-module__heading__variant_warning--XEnSb_1756151760175\",\"heading__variant_inverse\":\"shared__heading-module__heading__variant_inverse--Y0-U2_1756151760175\",\"textAddition\":\"shared__heading-module__textAddition--AJUlA_1756151760175\",\"textAttention\":\"shared__heading-module__textAttention--t8+tt_1756151760175\",\"textBold\":\"shared__heading-module__textBold--n8fQX_1756151760175\",\"textInverse\":\"shared__heading-module__textInverse--S-jep_1756151760175\",\"textError\":\"shared__heading-module__textError--Bm1mE_1756151760175\",\"textSuccess\":\"shared__heading-module__textSuccess--Q3GD+_1756151760175\",\"textWarning\":\"shared__heading-module__textWarning--f-7yo_1756151760175\",\"centerText\":\"shared__heading-module__centerText--CM0Hq_1756151760175\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"icon\":\"shared__icon-module__icon--Gnxeg_1756151760175\",\"icon__extraSmall\":\"shared__icon-module__icon__extraSmall--QDZdT_1756151760175\",\"icon__small\":\"shared__icon-module__icon__small--QBFuN_1756151760175\",\"icon__medium\":\"shared__icon-module__icon__medium--X-ly8_1756151760175\",\"icon__large\":\"shared__icon-module__icon__large--DzFuI_1756151760175\",\"icon__default\":\"shared__icon-module__icon__default--hQThA_1756151760175\",\"clickable\":\"shared__icon-module__clickable--3yjIa_1756151760175\",\"active\":\"shared__icon-module__active--HQWC5_1756151760175\",\"icon__warning\":\"shared__icon-module__icon__warning--TjqHn_1756151760175\",\"icon__error\":\"shared__icon-module__icon__error--TWoUG_1756151760175\",\"icon__neutral\":\"shared__icon-module__icon__neutral---PsGn_1756151760175\",\"icon__success\":\"shared__icon-module__icon__success--2ASUM_1756151760175\",\"icon__secondary\":\"shared__icon-module__icon__secondary--ws0VX_1756151760175\",\"icon__black\":\"shared__icon-module__icon__black--AVPMK_1756151760175\",\"icon__attention\":\"shared__icon-module__icon__attention--HiOeb_1756151760175\",\"icon__revert\":\"shared__icon-module__icon__revert--O4CPt_1756151760175\",\"icon__inherit\":\"shared__icon-module__icon__inherit--NeIkw_1756151760175\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"block\":\"shared__info-block-module__block--JolgJ_1756151760175\",\"block__warning\":\"shared__info-block-module__block__warning--MQ8Ix_1756151760175\",\"block__error\":\"shared__info-block-module__block__error--23Zvv_1756151760175\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"input\":\"shared__input-module__input--5GrwX_1756151760175\",\"input__medium\":\"shared__input-module__input__medium--g-8te_1756151760175\",\"label\":\"shared__input-module__label--tNO2a_1756151760175\",\"isWbTheme\":\"shared__input-module__isWbTheme--9TPrj_1756151760175\",\"input__action_medium\":\"shared__input-module__input__action_medium--hkQ1t_1756151760175\",\"input__actions_medium\":\"shared__input-module__input__actions_medium---YV3O_1756151760175\",\"input__action_large\":\"shared__input-module__input__action_large--64pM0_1756151760175\",\"input__actions_large\":\"shared__input-module__input__actions_large--kznb7_1756151760175\",\"input__actions_left\":\"shared__input-module__input__actions_left--mVKC8_1756151760175\",\"input__small\":\"shared__input-module__input__small--PcnoR_1756151760175\",\"input__large\":\"shared__input-module__input__large--p-mBr_1756151760175\",\"input__pure\":\"shared__input-module__input__pure--NNC8N_1756151760175\",\"disabled\":\"shared__input-module__disabled--ABDAb_1756151760175\",\"invalid\":\"shared__input-module__invalid--e--FF_1756151760175\",\"input__outlined\":\"shared__input-module__input__outlined--p-xCA_1756151760175\",\"input__filled\":\"shared__input-module__input__filled---tBbi_1756151760175\",\"clear\":\"shared__input-module__clear--OvXQO_1756151760175\",\"clear__large\":\"shared__input-module__clear__large--sWuYu_1756151760175\",\"clear__medium\":\"shared__input-module__clear__medium--09aiH_1756151760175\",\"clear__small\":\"shared__input-module__clear__small--0oTAe_1756151760175\",\"clear__action_medium\":\"shared__input-module__clear__action_medium--zfylI_1756151760175\",\"clear__action_left\":\"shared__input-module__clear__action_left--IEVa+_1756151760175\",\"clear__action_right\":\"shared__input-module__clear__action_right--10aXM_1756151760175\",\"clear__outlined\":\"shared__input-module__clear__outlined--iICxm_1756151760175\",\"icon\":\"shared__input-module__icon--zr4sW_1756151760175\",\"icon__large\":\"shared__input-module__icon__large--89dxq_1756151760175\",\"icon__small\":\"shared__input-module__icon__small--jC+EB_1756151760175\",\"icon__left\":\"shared__input-module__icon__left--hzu2X_1756151760175\",\"icon__right\":\"shared__input-module__icon__right--+QcVn_1756151760175\",\"icon__medium\":\"shared__input-module__icon__medium--GDtvJ_1756151760175\",\"icon__outlined\":\"shared__input-module__icon__outlined--dZgJq_1756151760175\",\"icon__filled\":\"shared__input-module__icon__filled--Q4N3g_1756151760175\",\"loader\":\"shared__input-module__loader--QYYkV_1756151760175\",\"loader__large\":\"shared__input-module__loader__large--Y9WB3_1756151760175\",\"loader__left\":\"shared__input-module__loader__left--U2pC4_1756151760175\",\"loader__right\":\"shared__input-module__loader__right--d0vTf_1756151760175\",\"loader__medium\":\"shared__input-module__loader__medium--QKgq8_1756151760175\",\"loader__small\":\"shared__input-module__loader__small--wiaoQ_1756151760175\",\"loader__outlined\":\"shared__input-module__loader__outlined--rHN8w_1756151760175\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"link\":\"shared__link-module__link--NcxZW_1756151760175\",\"link__underline\":\"shared__link-module__link__underline--7nVnP_1756151760175\",\"link__dashed\":\"shared__link-module__link__dashed--1tYsI_1756151760175\",\"link__link\":\"shared__link-module__link__link--gUwQW_1756151760175\",\"link__action\":\"shared__link-module__link__action--USwiE_1756151760175\",\"link__href\":\"shared__link-module__link__href--uTZ+A_1756151760175\",\"link__addition\":\"shared__link-module__link__addition--N+nsf_1756151760175\",\"link__attention\":\"shared__link-module__link__attention--P5GDN_1756151760175\",\"link__default\":\"shared__link-module__link__default--SOoTy_1756151760175\",\"link__success\":\"shared__link-module__link__success--oWpqh_1756151760175\",\"link__error\":\"shared__link-module__link__error--SNmQa_1756151760175\",\"link__inverse\":\"shared__link-module__link__inverse--i1RLl_1756151760175\",\"link__small\":\"shared__link-module__link__small--alNG-_1756151760175\",\"link__medium\":\"shared__link-module__link__medium--LJlDF_1756151760175\",\"link__large\":\"shared__link-module__link__large--2gcWq_1756151760175\",\"link__normal\":\"shared__link-module__link__normal--acQvJ_1756151760175\",\"link__semibold\":\"shared__link-module__link__semibold---tOWl_1756151760175\",\"link__bold\":\"shared__link-module__link__bold--QUUtI_1756151760175\",\"icon\":\"shared__link-module__icon--DUvf4_1756151760175\",\"icon__small\":\"shared__link-module__icon__small--Z11Nw_1756151760175\",\"icon__medium\":\"shared__link-module__icon__medium--rSXi1_1756151760175\",\"icon__large\":\"shared__link-module__icon__large--tIKI0_1756151760175\",\"icon__only\":\"shared__link-module__icon__only--nGgQ8_1756151760175\",\"linkBold\":\"shared__link-module__linkBold--E4KSC_1756151760175\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"loaderLine\":\"shared__loader-line-module__loaderLine--EZc2J_1756151760175\",\"bar\":\"shared__loader-line-module__bar--uH4lA_1756151760175\",\"active\":\"shared__loader-line-module__active--0J8lF_1756151760175\",\"loader-animation\":\"shared__loader-line-module__loader-animation--cSq+I_1756151760175\",\"border\":\"shared__loader-line-module__border--OXwgu_1756151760175\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"loader\":\"shared__loader-module__loader--ErOFa_1756151760175\",\"absolute\":\"shared__loader-module__absolute--nggvH_1756151760175\",\"active\":\"shared__loader-module__active--+b4cN_1756151760175\",\"fixed\":\"shared__loader-module__fixed--CUw3s_1756151760175\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"shared__message-module__container--3JHwS_1756151760175\",\"container__success\":\"shared__message-module__container__success--w4A5v_1756151760175\",\"container__error\":\"shared__message-module__container__error--md-mJ_1756151760175\",\"container__warning\":\"shared__message-module__container__warning--BJX+a_1756151760175\",\"container__info\":\"shared__message-module__container__info--6ZJPA_1756151760175\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"footer\":\"shared__modal-module__footer--wpZLV_1756151760175\",\"header\":\"shared__modal-module__header--RWaWy_1756151760175\",\"close\":\"shared__modal-module__close--wqN+L_1756151760175\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"tooltip\":\"shared__popover-tooltip-module__tooltip--Vxc91_1756151760175\",\"arrow\":\"shared__popover-tooltip-module__arrow--6PTMq_1756151760175\",\"left\":\"shared__popover-tooltip-module__left--g7SZQ_1756151760175\",\"right\":\"shared__popover-tooltip-module__right--+rCAJ_1756151760175\",\"top\":\"shared__popover-tooltip-module__top--s5iLQ_1756151760175\",\"bottom\":\"shared__popover-tooltip-module__bottom--PxuD3_1756151760175\",\"close\":\"shared__popover-tooltip-module__close--VDmb9_1756151760175\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"invalid\":\"shared__radio-module__invalid--6ByqJ_1756151760175\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"rating\":\"shared__rating-module__rating--eoGNU_1756151760175\",\"stars\":\"shared__rating-module__stars--dnMg4_1756151760175\",\"buttons\":\"shared__rating-module__buttons--oat0X_1756151760175\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"select\":\"shared__select-module__select--cm-a3_1756151760175\",\"hasLabel\":\"shared__select-module__hasLabel--ZRS9W_1756151760175\",\"disabled\":\"shared__select-module__disabled--gfQp-_1756151760175\",\"invalid\":\"shared__select-module__invalid--rXHCJ_1756151760175\",\"optionText\":\"shared__select-module__optionText--7GphM_1756151760175\",\"isWbTheme\":\"shared__select-module__isWbTheme--esUdx_1756151760175\",\"mobileModal\":\"shared__select-module__mobileModal--SSvHy_1756151760175\",\"option\":\"shared__select-module__option--Ev-7r_1756151760175\",\"option_selected\":\"shared__select-module__option_selected--djYI5_1756151760175\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"skeleton__default\":\"shared__skeleton-module__skeleton__default--akLOr_1756151760175\",\"skeleton__inverse\":\"shared__skeleton-module__skeleton__inverse--MQ3m6_1756151760175\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"shared__slider-easy-module__container--hPL+C_1756151760175\",\"scroll\":\"shared__slider-easy-module__scroll--UyUTh_1756151760175\",\"items\":\"shared__slider-easy-module__items--M1Jtj_1756151760175\",\"item\":\"shared__slider-easy-module__item--UyT7Z_1756151760175\",\"image\":\"shared__slider-easy-module__image--6geu7_1756151760175\",\"arrow\":\"shared__slider-easy-module__arrow--4jJUM_1756151760175\",\"arrowPrev\":\"shared__slider-easy-module__arrowPrev--kmNpn_1756151760175\",\"arrowNext\":\"shared__slider-easy-module__arrowNext--eaFMG_1756151760175\",\"pagination\":\"shared__slider-easy-module__pagination--cL0m+_1756151760175\",\"current\":\"shared__slider-easy-module__current--uB4eg_1756151760175\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"sliderContainer\":\"shared__slider-module__sliderContainer--KGFdN_1756151760175\",\"swiperSlide\":\"shared__slider-module__swiperSlide--es2Vl_1756151760175\",\"swiperSlideAuto\":\"shared__slider-module__swiperSlideAuto--Cwk8-_1756151760175\",\"sliderAutoLoop\":\"shared__slider-module__sliderAutoLoop--0OphC_1756151760175\",\"ready\":\"shared__slider-module__ready--H+y-p_1756151760175\",\"slider\":\"shared__slider-module__slider--UBNwU_1756151760175\",\"swiper-pagination-bullets\":\"shared__slider-module__swiper-pagination-bullets--PckKH_1756151760175\",\"swiperPaginationHidden\":\"shared__slider-module__swiperPaginationHidden--k4CIT_1756151760175\",\"buttonSlider\":\"shared__slider-module__buttonSlider---MRF3_1756151760175\",\"buttonSlider__prev\":\"shared__slider-module__buttonSlider__prev--X4kyB_1756151760175\",\"buttonSlider__prev_inset\":\"shared__slider-module__buttonSlider__prev_inset--3192S_1756151760175\",\"buttonSlider__next\":\"shared__slider-module__buttonSlider__next--JognR_1756151760175\",\"buttonSlider__next_inset\":\"shared__slider-module__buttonSlider__next_inset--HcKU3_1756151760175\",\"buttonSlider__hidden\":\"shared__slider-module__buttonSlider__hidden--BgKX-_1756151760175\",\"sliderCounter\":\"shared__slider-module__sliderCounter--ynG2f_1756151760175\",\"sliderCounter__text\":\"shared__slider-module__sliderCounter__text--kgEVd_1756151760175\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"spoiler\":\"shared__spoiler-module__spoiler--siWfv_1756151760175\",\"title\":\"shared__spoiler-module__title--N0ID7_1756151760175\",\"arrow\":\"shared__spoiler-module__arrow--VISBf_1756151760175\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"stacked_input\":\"shared__stacked-input-module__stacked_input--gd2Dh_1756151760175\",\"stacked_input__select\":\"shared__stacked-input-module__stacked_input__select--ewS4D_1756151760175\",\"stacked_input__input\":\"shared__stacked-input-module__stacked_input__input--t1qul_1756151760175\",\"focused\":\"shared__stacked-input-module__focused--2f0N-_1756151760175\",\"isWbTheme\":\"shared__stacked-input-module__isWbTheme--R7Zas_1756151760175\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"steps\":\"shared__steps-module__steps--EruNr_1756151760175\",\"step\":\"shared__steps-module__step--29DM6_1756151760175\",\"count\":\"shared__steps-module__count--mKmRV_1756151760175\",\"current\":\"shared__steps-module__current--cItLJ_1756151760175\",\"disabled\":\"shared__steps-module__disabled--NuvsU_1756151760175\",\"text\":\"shared__steps-module__text--pPhgx_1756151760175\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"switch\":\"shared__switch-module__switch--EGB08_1756151760175\",\"large\":\"shared__switch-module__large--aLOMA_1756151760175\",\"active\":\"shared__switch-module__active--Mghyc_1756151760175\",\"medium\":\"shared__switch-module__medium--Zpug8_1756151760175\",\"disabled\":\"shared__switch-module__disabled--POdUk_1756151760175\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"select\":\"shared__tag-box-module__select--aZcmW_1756151760175\",\"hasLabel\":\"shared__tag-box-module__hasLabel--OkuEn_1756151760175\",\"disabled\":\"shared__tag-box-module__disabled--8Eb9x_1756151760175\",\"invalid\":\"shared__tag-box-module__invalid--D6cKK_1756151760175\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"button\":\"shared__tag-button-module__button--Qv07L_1756151760175\",\"button__default\":\"shared__tag-button-module__button__default--dpNJZ_1756151760175\",\"button__primary\":\"shared__tag-button-module__button__primary--FtQdO_1756151760175\",\"selected\":\"shared__tag-button-module__selected--hP5R8_1756151760175\",\"disabled\":\"shared__tag-button-module__disabled--njSQe_1756151760175\",\"button__tertiary\":\"shared__tag-button-module__button__tertiary--vmTKI_1756151760175\",\"button__green\":\"shared__tag-button-module__button__green--7uieL_1756151760175\",\"button__secondary\":\"shared__tag-button-module__button__secondary--KiSTI_1756151760175\",\"isWbTheme\":\"shared__tag-button-module__isWbTheme--HnUDc_1756151760175\",\"button__tab\":\"shared__tag-button-module__button__tab--rVLma_1756151760175\",\"button__tumbler\":\"shared__tag-button-module__button__tumbler---2OQ2_1756151760175\",\"button__icons\":\"shared__tag-button-module__button__icons--rLBj8_1756151760175\",\"loading\":\"shared__tag-button-module__loading--emtZM_1756151760175\",\"icon\":\"shared__tag-button-module__icon--LtczE_1756151760175\",\"icon__small\":\"shared__tag-button-module__icon__small--2sXj9_1756151760175\",\"icon__medium\":\"shared__tag-button-module__icon__medium--WMllo_1756151760175\",\"icon__large\":\"shared__tag-button-module__icon__large--GhXfx_1756151760175\",\"icon__default\":\"shared__tag-button-module__icon__default--GYg6a_1756151760175\",\"shadow\":\"shared__tag-button-module__shadow---SujH_1756151760175\",\"tagButtonGroup\":\"shared__tag-button-module__tagButtonGroup--9aBd8_1756151760175\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"textarea\":\"shared__text-area-module__textarea--BYKqV_1756151760175\",\"textarea__small\":\"shared__text-area-module__textarea__small--vpKis_1756151760175\",\"textarea__medium\":\"shared__text-area-module__textarea__medium--YP0qD_1756151760175\",\"isWbTheme\":\"shared__text-area-module__isWbTheme--d24yj_1756151760175\",\"empty\":\"shared__text-area-module__empty--9is7y_1756151760175\",\"label\":\"shared__text-area-module__label--8TUUs_1756151760175\",\"textarea__large\":\"shared__text-area-module__textarea__large--qWZJ2_1756151760175\",\"textarea__large_adaptive\":\"shared__text-area-module__textarea__large_adaptive--UFOvf_1756151760175\",\"textarea__action_medium\":\"shared__text-area-module__textarea__action_medium--xPwcQ_1756151760175\",\"textarea__action_large\":\"shared__text-area-module__textarea__action_large--6pU6m_1756151760175\",\"textarea__actions_medium\":\"shared__text-area-module__textarea__actions_medium--xk3HL_1756151760175\",\"textarea__actions_large\":\"shared__text-area-module__textarea__actions_large--QPCon_1756151760175\",\"textarea__border_circle\":\"shared__text-area-module__textarea__border_circle--QwRke_1756151760175\",\"textarea__outlined\":\"shared__text-area-module__textarea__outlined--ip5t1_1756151760175\",\"invalid\":\"shared__text-area-module__invalid--HHkEP_1756151760175\",\"textarea__filled\":\"shared__text-area-module__textarea__filled--khZXb_1756151760175\",\"clear\":\"shared__text-area-module__clear--cniAi_1756151760175\",\"clear__small\":\"shared__text-area-module__clear__small--kWg6N_1756151760175\",\"clear__medium\":\"shared__text-area-module__clear__medium--pN-Zj_1756151760175\",\"clear__large\":\"shared__text-area-module__clear__large---rhZv_1756151760175\",\"clear__action_small\":\"shared__text-area-module__clear__action_small--y2Mh9_1756151760175\",\"clear__action_medium\":\"shared__text-area-module__clear__action_medium--VB44P_1756151760175\",\"clear__action_large\":\"shared__text-area-module__clear__action_large--gD65G_1756151760175\",\"icon\":\"shared__text-area-module__icon--HqPRa_1756151760175\",\"icon__small\":\"shared__text-area-module__icon__small--yOGgx_1756151760175\",\"icon__medium\":\"shared__text-area-module__icon__medium--Lap9Z_1756151760175\",\"icon__large\":\"shared__text-area-module__icon__large--Bpk53_1756151760175\",\"loader\":\"shared__text-area-module__loader--zfGHC_1756151760175\",\"loader__large\":\"shared__text-area-module__loader__large--h-OCh_1756151760175\",\"loader__filled\":\"shared__text-area-module__loader__filled--zQ1yA_1756151760175\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"textSpoiler\":\"shared__text-spoiler-module__textSpoiler--xJkwo_1756151760175\",\"openText\":\"shared__text-spoiler-module__openText--osI1V_1756151760175\",\"expander\":\"shared__text-spoiler-module__expander--Y2VRc_1756151760175\",\"active\":\"shared__text-spoiler-module__active--+DkdZ_1756151760175\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"text\":\"shared__text-module__text--L3+RG_1756151760175\",\"text__extraSmall\":\"shared__text-module__text__extraSmall--AoUTr_1756151760175\",\"isWbTheme\":\"shared__text-module__isWbTheme--eIbjb_1756151760175\",\"text__small\":\"shared__text-module__text__small--Rl3X5_1756151760175\",\"text__medium\":\"shared__text-module__text__medium--Znrxu_1756151760175\",\"text__large\":\"shared__text-module__text__large--oRnU3_1756151760175\",\"text__action\":\"shared__text-module__text__action--U+zk1_1756151760175\",\"text__paragraph\":\"shared__text-module__text__paragraph--DHPmO_1756151760175\",\"text__body\":\"shared__text-module__text__body--9uLk4_1756151760175\",\"text__description\":\"shared__text-module__text__description--jKU8G_1756151760175\",\"text__caption\":\"shared__text-module__text__caption--pvi2r_1756151760175\",\"text__mob__action\":\"shared__text-module__text__mob__action--4p1b6_1756151760175\",\"text__mob__paragraph\":\"shared__text-module__text__mob__paragraph--q2nC1_1756151760175\",\"text__mob__body\":\"shared__text-module__text__mob__body--ZP16L_1756151760175\",\"text__mob__description\":\"shared__text-module__text__mob__description--ytBnj_1756151760175\",\"text__mob__caption\":\"shared__text-module__text__mob__caption--rdEE8_1756151760175\",\"text__mob__extraSmall\":\"shared__text-module__text__mob__extraSmall--DyVus_1756151760175\",\"text__mob__small\":\"shared__text-module__text__mob__small--Mnbaz_1756151760175\",\"text__mob__medium\":\"shared__text-module__text__mob__medium--5X9R9_1756151760175\",\"text__mob__large\":\"shared__text-module__text__mob__large--x5bkf_1756151760175\",\"text__inherit\":\"shared__text-module__text__inherit--OKjEI_1756151760175\",\"text__normal\":\"shared__text-module__text__normal--EM-eZ_1756151760175\",\"text__semibold\":\"shared__text-module__text__semibold--8iUFE_1756151760175\",\"text__bold\":\"shared__text-module__text__bold--7+C1G_1756151760175\",\"text__variant_default\":\"shared__text-module__text__variant_default---h-3R_1756151760175\",\"text__variant_addition\":\"shared__text-module__text__variant_addition--bTi5B_1756151760175\",\"text__variant_light\":\"shared__text-module__text__variant_light--I0AJ-_1756151760175\",\"text__variant_disabled\":\"shared__text-module__text__variant_disabled--eUSX+_1756151760175\",\"text__variant_attention\":\"shared__text-module__text__variant_attention--rsi1z_1756151760175\",\"text__variant_error\":\"shared__text-module__text__variant_error--nyPhM_1756151760175\",\"text__variant_success\":\"shared__text-module__text__variant_success--gfYHs_1756151760175\",\"text__variant_warning\":\"shared__text-module__text__variant_warning--YIvQX_1756151760175\",\"text__variant_inverse\":\"shared__text-module__text__variant_inverse--78a1H_1756151760175\",\"text__variant_secondary\":\"shared__text-module__text__variant_secondary--yIoR6_1756151760175\",\"text__variant_brand\":\"shared__text-module__text__variant_brand--W2Bxk_1756151760175\",\"text__variant_primary\":\"shared__text-module__text__variant_primary--YeNOl_1756151760175\",\"text__variant_tertiary\":\"shared__text-module__text__variant_tertiary--b8Ale_1756151760175\",\"textAddition\":\"shared__text-module__textAddition--lz-qm_1756151760175\",\"textBold\":\"shared__text-module__textBold--56jgD_1756151760175\",\"textSuccess\":\"shared__text-module__textSuccess--H2yEM_1756151760175\",\"textError\":\"shared__text-module__textError--MvnkN_1756151760175\",\"textAttention\":\"shared__text-module__textAttention--VjWLj_1756151760175\",\"textThrough\":\"shared__text-module__textThrough--is3ha_1756151760175\",\"textInverse\":\"shared__text-module__textInverse--s78Gi_1756151760175\",\"textWarning\":\"shared__text-module__textWarning--S-MeA_1756151760175\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"tooltip\":\"shared__tooltip-module__tooltip--tS2G-_1756151760175\",\"isWbTheme\":\"shared__tooltip-module__isWbTheme--av0Qe_1756151760175\",\"arrow\":\"shared__tooltip-module__arrow--VbQb7_1756151760175\",\"left\":\"shared__tooltip-module__left--2nmo1_1756151760175\",\"right\":\"shared__tooltip-module__right--JgZSX_1756151760175\",\"top\":\"shared__tooltip-module__top--VsESz_1756151760175\",\"bottom\":\"shared__tooltip-module__bottom--2zx9D_1756151760175\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"viewsCountContainer\":\"shared__views-count-module__viewsCountContainer--X2mHB_1756151760175\",\"viewsCountText\":\"shared__views-count-module__viewsCountText--1o5-K_1756151760175\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"warning\":\"shared__warning-block-module__warning--HU7lj_1756151760175\"};","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"tslib\");","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"react\");","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"lodash.debounce\");","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"classnames\");","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"antd/lib/auto-complete\");","import React from 'react';\n\nimport cn from 'classnames';\nimport { useMemo } from 'react';\nimport { PropsWithChildren } from 'react';\n\nimport styles from './icon.module.scss';\n\nexport enum EIconSize {\n extraSmall = 'extraSmall',\n small = 'small',\n medium = 'medium',\n large = 'large',\n}\n\nexport enum EIconVariant {\n default = 'default',\n black = 'black',\n attention = 'attention',\n revert = 'revert',\n warning = 'warning',\n error = 'error',\n neutral = 'neutral',\n success = 'success',\n initial = 'initial',\n light = 'light',\n inherit = 'inherit',\n secondary = 'secondary',\n green = 'green',\n}\n\ninterface IIconProps {\n size?: keyof typeof EIconSize;\n variant?: keyof typeof EIconVariant;\n active?: boolean;\n icon: any;\n className?: string;\n onClick?: (e: any) => void;\n 'data-tooltip-target'?: boolean;\n}\n\nexport const Icon = ({\n icon: IconSvg,\n active,\n size = EIconSize.medium,\n variant = EIconVariant.default,\n className,\n onClick,\n ...props\n}: PropsWithChildren<IIconProps>) => {\n const classNames = useMemo(\n () =>\n cn(className, styles.icon, styles[`icon__${size}`], styles[`icon__${variant}`], {\n [styles.active]: active,\n [styles.clickable]: !!onClick,\n }),\n [size, variant, active, className, onClick]\n );\n\n if (!IconSvg) {\n return null;\n }\n\n return <IconSvg {...props} onClick={onClick} className={classNames} />;\n};\n","var _path;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgSelectArrow(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 28 28\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M7.65 11.24a1 1 0 10-1.3 1.52l7 6a1 1 0 001.3 0l7-6a1 1 0 00-1.3-1.52L14 16.684 7.65 11.24z\",\n fill: \"currentColor\"\n })));\n}\nexport default SvgSelectArrow;","var _path;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgClear(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 25 24\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M5.894 5.394a.857.857 0 011.212 0l5.394 5.393 5.394-5.393a.857.857 0 011.131-.071l.081.071a.857.857 0 010 1.212L13.713 12l5.393 5.394a.858.858 0 01.071 1.132l-.07.08a.857.857 0 01-1.213 0L12.5 13.213l-5.394 5.393a.857.857 0 01-1.131.072l-.081-.072a.857.857 0 010-1.212L11.287 12 5.894 6.606a.857.857 0 01-.071-1.131l.07-.08z\",\n fill: \"#8B8B8B\"\n })));\n}\nexport default SvgClear;","import React, { useCallback, useEffect, useMemo, useRef, useState } from 'react';\nimport debounce from 'lodash.debounce';\nimport classNames from 'classnames';\nimport AntdAutoComplete from 'antd/lib/auto-complete';\nimport { AutoCompleteProps } from 'antd/lib/auto-complete';\nimport { Icon } from '@shared/icon';\nimport SelectArrowIcon from '../icon/icons/select-arrow.svg';\nimport ClearIcon from '../icon/icons/clear.svg';\nimport styles from './auto-complete.module.scss';\n\nexport interface ISelectOption<T> {\n label: string;\n value: string | number | null | undefined;\n data?: T;\n}\n\nexport interface ISelectOptionsGroup<T> {\n label: string;\n options: ISelectOption<T>[];\n}\n\nfunction formatItemToOption<T = any>(\n item: any,\n valueKey: string = 'value',\n labelKey: string = 'label',\n labels?: IAutoCompleteProps<T>['labels']\n) {\n if (['string', 'number', 'boolean'].includes(typeof item)) {\n return {\n label: labels ? labels[`${item}`] : item,\n value: item,\n data: item,\n } as ISelectOption<T>;\n }\n\n return {\n label: item[labelKey],\n value: item[valueKey],\n data: item,\n } as ISelectOption<T>;\n}\n\nexport interface IAutoCompleteProps<T> extends Omit<AutoCompleteProps, 'options' | 'onChange'> {\n options?: T[] | T;\n optionsGroup?: ISelectOptionsGroup<T>[];\n labels?: { [key: string]: string };\n error?: boolean;\n valueKey?: string;\n labelKey?: string;\n labelPlaceholder?: string;\n onServerSearch?: (val: string) => Promise<T[]>;\n onServerSearchGroup?: (val: string) => Promise<ISelectOptionsGroup<T>[]>;\n onRenderOption?: (item: T) => React.ReactNode;\n onRenderOptionGroup?: (item: ISelectOptionsGroup<T>) => React.ReactNode;\n onChange?: (option: T, options?: T[]) => void;\n debounceTimeout?: number;\n stacked?: boolean;\n popupClassName?: string;\n notFoundContent?: React.ReactNode;\n icon?: any;\n}\n\nexport function AutoComplete<T>({\n labels,\n labelKey,\n valueKey,\n onServerSearch,\n icon,\n debounceTimeout = 500,\n labelPlaceholder,\n onRenderOption,\n onRenderOptionGroup,\n onServerSearchGroup,\n popupClassName,\n optionsGroup: optionsGroupFromProps,\n notFoundContent = null,\n ...props\n}: IAutoCompleteProps<T>) {\n const [fetching, setFetching] = useState(false);\n const [serverOptions, setServerOptions] = useState<ISelectOption<T>[]>(null);\n const [optionsGroup, setOptionsGroup] = useState<ISelectOptionsGroup<T>[]>(null);\n const [searchValue, setSearchValue] = useState<string>('');\n const fetchRef = useRef(0);\n\n const options = useMemo(() => {\n let _options = null;\n if (Array.isArray(props.options)) {\n _options = props.options;\n }\n\n if (props.options) {\n _options = Object.values(props.options);\n }\n\n return _options?.map((option) => formatItemToOption(option, valueKey, labelKey, labels)) || null;\n }, [props.options, labels]);\n\n useEffect(() => {\n setOptionsGroup(\n optionsGroupFromProps?.map((group) => ({\n label: group.label,\n options: group.options.map((option) => formatItemToOption<T>(option, valueKey, labelKey, labels)),\n }))\n );\n }, [optionsGroupFromProps]);\n\n const _onRenderOptions = useCallback(\n (option: ISelectOption<T>) => {\n if (onRenderOption) {\n return {\n label: onRenderOption(option.data),\n value: option.label,\n data: option.data,\n key: option.value,\n };\n }\n\n return {\n label: (\n <div className={classNames({ [styles.hasLabel]: labelPlaceholder })}>\n {!!labelPlaceholder && <label>{labelPlaceholder}</label>}\n <div className={styles.optionText}>{option.label}</div>\n </div>\n ),\n value: option.label,\n data: option.data,\n key: option.value,\n };\n },\n [onRenderOption, labelPlaceholder]\n );\n\n const _onRenderOptionsGroup = useCallback(\n (option: ISelectOptionsGroup<T>) => ({\n label: onRenderOptionGroup?.(option) || option.label,\n options: option.options.map(_onRenderOptions),\n }),\n [onRenderOptionGroup, _onRenderOptions]\n );\n\n const _options: any[] = useMemo(\n () => (serverOptions || options || []).map(_onRenderOptions),\n [onServerSearch, options, serverOptions]\n );\n\n const _optionsGroup = useMemo(() => (optionsGroup || []).map(_onRenderOptionsGroup), [optionsGroup]);\n\n const onChangeSearch = useCallback((value: string) => {\n setSearchValue(value);\n }, []);\n\n const onChange = useCallback(\n (value: any, _option: any) => {\n setSearchValue(value);\n\n const localOptions = optionsGroup?.length ? optionsGroup : (serverOptions || options)?.map((i) => i.data);\n props.onChange && props.onChange(_option?.data, localOptions);\n },\n [props.onChange, _options, serverOptions, options, optionsGroup]\n );\n\n useEffect(() => {\n const res = props.value && _options?.find((option) => option.key === props.value[valueKey]);\n res && setSearchValue(res.value);\n }, [props.value]);\n\n const debounceFetcher = useMemo(() => {\n const loadOptions = (value: string) => {\n fetchRef.current += 1;\n const fetchId = fetchRef.current;\n setServerOptions([]);\n setOptionsGroup([]);\n setFetching(true);\n\n if (!onServerSearch && !onServerSearchGroup) {\n setFetching(false);\n }\n\n onServerSearch &&\n onServerSearch(value)\n .then((newOptions) => {\n if (fetchId !== fetchRef.current) {\n return;\n }\n\n setServerOptions(newOptions?.map((option) => formatItemToOption(option, valueKey, labelKey)));\n })\n .finally(() => {\n setFetching(false);\n });\n\n onServerSearchGroup &&\n onServerSearchGroup(value)\n .then((newOptions) => {\n if (fetchId !== fetchRef.current) {\n return;\n }\n\n setOptionsGroup(\n newOptions.map((group) => ({\n label: group.label,\n options: group.options.map((option) => formatItemToOption(option, valueKey, labelKey, labels)),\n }))\n );\n setFetching(false);\n })\n .finally(() => {\n setFetching(false);\n });\n };\n\n return debounce(loadOptions, debounceTimeout);\n }, [onServerSearch, debounceTimeout]);\n\n return (\n //@ts-ignore\n <AntdAutoComplete\n {...props}\n value={searchValue}\n options={_optionsGroup.length ? _optionsGroup : _options}\n onSelect={onChange}\n popupClassName={popupClassName}\n notFoundContent={notFoundContent}\n onChange={onChangeSearch}\n placeholder={props.placeholder || labelPlaceholder}\n onSearch={(val) => {\n setSearchValue(val);\n debounceFetcher(val);\n }}\n backfill\n suffixIcon={<Icon icon={icon || SelectArrowIcon} />}\n className={classNames('ant-select-customize-input', props.className, styles.autoComplete, {\n 'select-error': props.error,\n 'select-stacked': props.stacked,\n 'ant-select-loading': fetching,\n })}\n clearIcon={<Icon icon={ClearIcon} />}\n ></AntdAutoComplete>\n );\n}\n","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"react-media\");","import React, {\n ComponentProps,\n createContext,\n PropsWithChildren,\n useCallback,\n useContext,\n useEffect,\n useState,\n} from 'react';\nimport ReactMedia from 'react-media';\n\ntype IMediaRender = () => any;\n\nconst MEDIA_MATCHES = {\n mobile: '(max-width: 767px)',\n tablet: '(max-width: 1023px) and (min-width: 768px)',\n desktop: '(min-width: 1024px)',\n};\n\nexport interface IMediaMatches {\n mobile: boolean;\n tablet: boolean;\n desktop: boolean;\n}\n\ninterface IMediaProps {\n renderMobile?: IMediaRender;\n renderTablet?: IMediaRender;\n renderDesktop?: IMediaRender;\n defaultMatches?: IMediaMatches;\n render?: (matches: IMediaMatches) => React.ReactNode;\n}\n\nexport const Media = ({ renderDesktop, renderMobile, renderTablet, render, defaultMatches }: IMediaProps) => {\n const [mounted, setMounted] = useState(false);\n useEffect(() => {\n setMounted(true);\n }, []);\n\n const defaultRender = useCallback(\n (matches) => {\n if (matches.tablet && renderTablet) {\n return renderTablet && renderTablet();\n } else if (matches.mobile && renderMobile) {\n return renderMobile && renderMobile();\n } else if (matches.desktop && renderDesktop) {\n return renderDesktop && renderDesktop();\n }\n\n return null;\n },\n [renderTablet, renderMobile, renderMobile, render]\n );\n\n return (\n <>\n {mounted && (\n <ReactMedia queries={MEDIA_MATCHES} defaultMatches={defaultMatches}>\n {render || defaultRender}\n </ReactMedia>\n )}\n </>\n );\n};\n\ninterface IMediaContext {\n mobile: boolean;\n tablet: boolean;\n desktop: boolean;\n}\n\nconst MediaContext = createContext<IMediaContext | null>(null);\n\nexport const MediaProvider = ({ children, defaultMatches }: PropsWithChildren<{ defaultMatches?: IMediaMatches }>) => {\n return (\n <ReactMedia queries={MEDIA_MATCHES} defaultMatches={defaultMatches}>\n {(matches: IMediaMatches) => <MediaContext.Provider value={matches}>{children}</MediaContext.Provider>}\n </ReactMedia>\n );\n};\n\nexport declare type IReactComponent<P = any> =\n | React.ClassicComponentClass<P>\n | React.ComponentClass<P>\n | React.FunctionComponent<P>\n | React.ForwardRefExoticComponent<P>;\nexport function withMedia<T extends IReactComponent>(Component: T): T;\nexport function withMedia<T extends React.FunctionComponent<any>>(Component: T) {\n return (props: ComponentProps<typeof Component>) => (\n <MediaProvider>\n <Component {...props} />\n </MediaProvider>\n );\n}\n\nexport const useMedia = () => {\n const data = useContext(MediaContext);\n if (!data) {\n throw new Error('Не подключен MediaProvider');\n }\n\n return data;\n};\n","var _path;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgBreadcrubmsArrow(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 13 8\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n fillRule: \"evenodd\",\n clipRule: \"evenodd\",\n d: \"M9.172.464l3.182 3.182a.5.5 0 010 .708L9.172 7.536a.5.5 0 11-.708-.708L10.793 4.5H0v-1h10.793L8.464 1.172a.5.5 0 11.708-.708z\",\n fill: \"#8B8B8B\"\n })));\n}\nexport default SvgBreadcrubmsArrow;","var _path;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgBack(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 24 24\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M9.662 12l4.673-5.296a1.002 1.002 0 000-1.293.741.741 0 00-1.14 0L7.95 11.354a1.003 1.003 0 000 1.293l5.244 5.943a.741.741 0 001.141 0 1.002 1.002 0 000-1.293L9.662 12z\",\n fill: \"#a73afd\"\n })));\n}\nexport default SvgBack;","import React from 'react';\n\nimport { useMemo } from 'react';\nimport classnames from 'classnames';\n\nimport styles from './text.module.scss';\nimport { useShared } from '../../providers/shared.provider';\n\nexport enum ETextSize {\n extraSmall = 'extraSmall',\n small = 'small',\n medium = 'medium',\n large = 'large',\n inherit = 'inherit',\n // WB THEME\n action = 'action',\n paragraph = 'paragraph',\n body = 'body',\n description = 'description',\n caption = 'caption',\n}\n\nexport enum ETextWeight {\n bold = 'bold',\n semibold = 'semibold',\n normal = 'normal',\n}\n\nexport enum ETextVariant {\n default = 'default',\n addition = 'addition',\n light = 'light',\n disabled = 'disabled',\n brand = 'brand',\n attention = 'attention',\n error = 'error',\n success = 'success',\n warning = 'warning',\n inverse = 'inverse',\n secondary = 'secondary',\n primary = 'primary',\n tertiary = 'tertiary',\n}\n\ninterface ITextProps {\n size?: keyof typeof ETextSize;\n mobSize?: keyof typeof ETextSize;\n children?: any;\n bold?: boolean;\n weight?: keyof typeof ETextWeight;\n variant?: keyof typeof ETextVariant;\n addition?: boolean;\n attention?: boolean;\n success?: boolean;\n warning?: boolean;\n error?: boolean;\n className?: string;\n inverse?: boolean;\n style?: any;\n through?: boolean;\n tag?: string;\n onClick?: (e: any) => void;\n isWbTheme?: boolean;\n}\n\nexport const Text = ({\n children,\n size = ETextSize.medium,\n mobSize,\n bold,\n weight = ETextWeight.normal,\n variant,\n addition,\n success,\n error,\n inverse,\n attention,\n warning,\n className,\n style,\n through,\n tag = 'div',\n onClick,\n isWbTheme,\n}: ITextProps) => {\n const shared = useShared();\n\n const TextTag = useMemo(() => tag as keyof JSX.IntrinsicElements, [tag]);\n\n const classNames = useMemo(\n () =>\n classnames(\n styles.text,\n className,\n styles[`text__${size}`],\n styles[`text__mob__${mobSize}`],\n styles[`text__${weight}`],\n styles[`text__variant_${variant}`],\n {\n [styles.textAddition]: addition,\n [styles.textBold]: bold,\n [styles.textSuccess]: success,\n [styles.textAttention]: attention,\n [styles.textError]: error,\n [styles.textThrough]: through,\n [styles.textInverse]: inverse,\n [styles.textWarning]: warning,\n [styles.isWbTheme]: shared.isWbTheme || isWbTheme,\n }\n ),\n [size, className, addition, bold, weight, success, attention, error, inverse, warning, variant]\n );\n\n return (\n <TextTag style={style} className={classNames} onClick={onClick}>\n {children}\n </TextTag>\n );\n};\n","import React from 'react';\n\nimport { createContext, PropsWithChildren, useContext } from 'react';\n\ntype ISharedContextPrivate = {\n LinkComponent?: any;\n isWbTheme?: boolean;\n};\n\ninterface ISharedProviderProps {\n LinkComponent?: any;\n isWbTheme?: boolean;\n}\n\nconst sharedContext = createContext<ISharedContextPrivate>(null);\n\nexport const SharedProvider = ({ children, ...props }: PropsWithChildren<ISharedProviderProps>) => {\n return <sharedContext.Provider value={props}>{children}</sharedContext.Provider>;\n};\n\nexport const useShared = () => {\n const data = useContext(sharedContext);\n\n return data || {};\n};\n","import React from 'react';\nimport { useMemo } from 'react';\nimport classnames from 'classnames';\n\nimport styles from './link.module.scss';\nimport { useShared } from '../../providers/shared.provider';\n\nexport enum ELinkVariant {\n link = 'link',\n href = 'href',\n action = 'action',\n}\n\nexport enum ELinkType {\n attention = 'attention',\n default = 'default',\n addition = 'addition',\n success = 'success',\n error = 'error',\n inverse = 'inverse'\n}\n\nexport enum ELinkSize {\n small = 'small',\n medium = 'medium',\n large = 'large',\n}\n\nexport enum ELinkWeight {\n bold = 'bold',\n semibold = 'semibold',\n normal = 'normal',\n}\n\nexport enum ELinkDecoration {\n none = 'none',\n underline = 'underline',\n dashed = 'dashed'\n}\n\ninterface ILinkProps {\n size?: keyof typeof ELinkSize;\n icon?: any;\n variant?: keyof typeof ELinkVariant;\n children: any;\n href?: string;\n bold?: boolean;\n weight?: keyof typeof ELinkWeight;\n type?: keyof typeof ELinkType;\n decoration?: keyof typeof ELinkDecoration;\n dashed?: boolean;\n className?: string;\n target?: '_blank';\n onClick?: (e: MouseEvent) => void;\n rel?: string;\n style?: any;\n tag?: string;\n}\n\nexport const Link = ({\n children,\n target,\n icon: Icon,\n variant = ELinkVariant.link,\n size = ELinkSize.medium,\n weight = ELinkWeight.normal,\n decoration = ELinkDecoration.none,\n href,\n bold,\n className,\n type,\n dashed,\n onClick,\n rel,\n style,\n tag = 'div',\n}: ILinkProps) => {\n const TextTag = useMemo(() => tag as any, [tag]);\n\n const shared = useShared();\n\n const classNames = useMemo(\n () =>\n classnames(styles.link, className, styles[`link__${variant}`], styles[`link__${size}`], styles[`link__${weight}`], styles[`link__${type}`], styles[`link__${decoration}`], {\n [styles.linkBold]: bold,\n [styles.dashed]: dashed,\n }),\n [variant, className, dashed, type, weight, decoration]\n );\n\n const iconClassNames = useMemo(\n () =>\n classnames(styles.icon, styles[`icon__${variant}`], styles[`icon__${size}`], { [styles.icon__only]: !children }),\n [variant, size, children]\n );\n\n if (variant === ELinkVariant.href || (variant === ELinkVariant.link && !shared.LinkComponent)) {\n return (\n <a className={classNames} target={target} rel={rel} href={href} style={style}>\n {children}\n </a>\n );\n }\n\n if (variant === ELinkVariant.link) {\n return (\n <shared.LinkComponent href={href} className={classNames} target={target} rel={rel} style={style}>\n {children}\n </shared.LinkComponent>\n );\n }\n\n return (\n <TextTag className={classNames} onClick={onClick} style={style}>\n {children}\n {Icon && <Icon className={iconClassNames} />}\n </TextTag>\n );\n};\n","import React from 'react';\n\nimport { Icon } from \"@shared/icon\";\nimport { useMedia, withMedia } from '@shared/media';\nimport { Fragment, useCallback } from 'react';\n\nimport BreadcrumbsArrowIcon from '../icon/icons/breadcrubms-arrow.svg';\nimport BackIcon from '../icon/icons/back.svg';\n\nimport styles from './breadcrumbs.module.scss';\nimport { Text } from '@shared/text';\nimport { Link } from '@shared/link';\n\nexport interface IBreadcrumbsPath {\n title: string;\n path: string;\n isBack?: boolean;\n isCurrent?: boolean;\n}\n\nexport enum EBreadcrumbsVariant {\n arrow = 'arrow',\n slash = 'slash'\n}\n\ninterface IBreadcrumbsProps {\n paths: IBreadcrumbsPath[];\n variant?: keyof typeof EBreadcrumbsVariant;\n onBack?: (path: string) => void;\n}\n\nexport const Breadcrumbs = withMedia(({ paths, onBack, variant = EBreadcrumbsVariant.arrow }: IBreadcrumbsProps) => {\n const media = useMedia();\n\n const _onBack = useCallback(() => {\n const backPath = paths.reverse().find((i) => i.path && i.isBack);\n if (backPath) {\n onBack && onBack(paths[paths.length - 1].path);\n } else {\n onBack && onBack('/');\n }\n }, [paths]);\n\n return media.mobile ? (\n <Link className={styles.back} variant=\"action\" onClick={_onBack}>\n <Icon variant=\"attention\" icon={BackIcon} />\n <Text size=\"large\" attention weight=\"semibold\">Назад</Text>\n </Link>\n ) : (\n <div className={styles.breadcrumbs}>\n {paths.map((item, index) => (\n <Fragment key={index}>\n {!!index && (variant === EBreadcrumbsVariant.slash ? <Text size=\"large\" addition>/</Text> : <BreadcrumbsArrowIcon />)}\n <span key={index}>\n {item.path ? (\n <Link href={item.path}>\n <Text size=\"large\" addition={variant === EBreadcrumbsVariant.slash} className={styles.breadcrumbsLink}>{item.title}</Text>\n </Link>\n ) : (\n <Text className={styles.text} size=\"large\" attention={item.isCurrent} weight=\"semibold\">{item.title}</Text>\n )}\n </span>\n </Fragment>\n ))}\n </div>\n );\n});\n","var _path, _path2, _defs;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgButtonLoader(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 20 20\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M17 10a7 7 0 11-2.706-5.528c.382.296.379.855.037 1.197-.342.342-.892.335-1.286.054A5.25 5.25 0 1015.25 10H17z\",\n fill: \"url(#button-loader_svg__paint0_linear)\"\n }, /*#__PURE__*/React.createElement(\"animateTransform\", {\n attributeType: \"xml\",\n attributeName: \"transform\",\n type: \"rotate\",\n from: \"0 10 10\",\n to: \"360 10 10\",\n dur: \"0.75s\",\n repeatCount: \"indefinite\"\n }))), _path2 || (_path2 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M17 10a7 7 0 11-2.706-5.528c.382.296.379.855.037 1.197-.342.342-.892.335-1.286.054A5.25 5.25 0 1015.25 10H17z\",\n fill: \"url(#button-loader_svg__paint1_linear)\"\n }, /*#__PURE__*/React.createElement(\"animateTransform\", {\n attributeType: \"xml\",\n attributeName: \"transform\",\n type: \"rotate\",\n from: \"0 10 10\",\n to: \"360 10 10\",\n dur: \"0.75s\",\n repeatCount: \"indefinite\"\n }))), _defs || (_defs = /*#__PURE__*/React.createElement(\"defs\", null, /*#__PURE__*/React.createElement(\"linearGradient\", {\n id: \"button-loader_svg__paint0_linear\",\n x1: 14.5,\n y1: 5.5,\n x2: 16.5,\n y2: 10,\n gradientUnits: \"userSpaceOnUse\"\n }, /*#__PURE__*/React.createElement(\"stop\", {\n stopColor: \"currentColor\"\n }), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 1,\n stopColor: \"currentColor\",\n stopOpacity: 0\n })), /*#__PURE__*/React.createElement(\"linearGradient\", {\n id: \"button-loader_svg__paint1_linear\",\n x1: 10,\n y1: 16,\n x2: 17,\n y2: 9.5,\n gradientUnits: \"userSpaceOnUse\"\n }, /*#__PURE__*/React.createElement(\"stop\", {\n stopColor: \"currentColor\"\n }), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 1,\n stopColor: \"currentColor\",\n stopOpacity: 0\n })))));\n}\nexport default SvgButtonLoader;","import React, { PropsWithChildren, useMemo, MouseEvent, useCallback } from 'react';\nimport classnames from 'classnames';\nimport Loader from '../icon/icons/button-loader.svg';\n\nimport styles from './button.module.scss';\nimport { useShared } from '../../providers/shared.provider';\n\nexport enum EButtonSize {\n smallS = 'smallS',\n small = 'small',\n medium = 'medium',\n large = 'large',\n}\n\nexport enum EButtonVariant {\n default = 'default',\n secondary = 'secondary',\n outline = 'outline',\n tertiary = 'tertiary',\n}\n\nexport enum EButtonIconPosition {\n left = 'left',\n right = 'right',\n}\n\nexport interface IButtonProps {\n variant?: keyof typeof EButtonVariant;\n size?: keyof typeof EButtonSize;\n icon?: any;\n width?: string;\n iconPosition?: keyof typeof EButtonIconPosition;\n loading?: boolean;\n isWbTheme?: boolean;\n disabled?: boolean;\n className?: string;\n type?: 'button' | 'submit' | 'reset';\n onClick?: (e?: MouseEvent<HTMLButtonElement>) => void;\n}\n\nexport const Button = ({\n variant = EButtonVariant.default,\n size = EButtonSize.medium,\n iconPosition = EButtonIconPosition.right,\n width,\n icon: Icon,\n loading,\n disabled,\n children,\n className,\n onClick,\n type = 'button',\n isWbTheme,\n}: PropsWithChildren<IButtonProps>) => {\n const shared = useShared();\n\n const classNames = useMemo(\n () =>\n classnames(\n styles.button,\n className,\n styles[`button__${variant}`],\n styles[`button__${size}`],\n styles[`button__icon_${iconPosition}`],\n {\n [styles.loading]: loading,\n [styles.withIcon]: Icon && !children,\n [styles.isWbTheme]: shared.isWbTheme || isWbTheme,\n }\n ),\n [variant, size, loading, Icon, disabled, className]\n );\n\n const loaderClassNames = useMemo(\n () => classnames(styles.loader, styles[`loader__${variant}`], styles[`loader__${size}`]),\n [variant, size]\n );\n\n const iconClassNames = useMemo(\n () =>\n classnames(styles.icon, styles[`icon__${variant}`], styles[`icon__${size}`], { [styles.icon__only]: !children }),\n [variant, size, children]\n );\n\n const _onClick = useCallback(\n (e?: MouseEvent<HTMLButtonElement>) => {\n if (disabled || loading) return;\n\n onClick && onClick(e);\n },\n [onClick, disabled, loading]\n );\n\n return (\n <button type={type} className={classNames} disabled={disabled} onClick={_onClick} style={{ width }}>\n {children}\n {Icon && <Icon className={iconClassNames} />}\n {loading && <Loader className={loaderClassNames} />}\n </button>\n );\n};\n","var _path, _path2;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgCounterMinus(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 24 24\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n fillRule: \"evenodd\",\n clipRule: \"evenodd\",\n d: \"M20 12a1 1 0 01-1 1H5a1 1 0 110-2h14a1 1 0 011 1z\",\n fill: \"#D1D1E0\"\n })), _path2 || (_path2 = /*#__PURE__*/React.createElement(\"path\", {\n fillRule: \"evenodd\",\n clipRule: \"evenodd\",\n d: \"M20 12a1 1 0 01-1 1H5a1 1 0 110-2h14a1 1 0 011 1z\",\n fill: \"#A73AFD\"\n })));\n}\nexport default SvgCounterMinus;","import React, { PropsWithChildren, useCallback, useEffect, useMemo, useState } from 'react';\nimport classnames from 'classnames';\nimport { ChangeEvent } from 'react';\nimport styles from './checkbox.module.scss';\nimport { useShared } from '../../providers/shared.provider';\n\nexport type ICheckboxProps = {\n disabled?: boolean;\n value?: boolean;\n error?: boolean;\n onChange?: (val: boolean, event: ChangeEvent<HTMLInputElement>) => void;\n className?: string;\n small?: boolean;\n name?: string;\n isWbTheme?: boolean;\n};\n\nlet UNIQ_COUNT = 1;\n\nexport const Checkbox = ({\n disabled = false,\n value = false,\n onChange = () => {},\n children,\n error,\n className,\n isWbTheme,\n name,\n}: PropsWithChildren<ICheckboxProps>) => {\n const shared = useShared();\n\n const [_value, _setValue] = useState(value);\n\n useEffect(() => {\n value !== _value && _setValue(value);\n }, [value]);\n\n const _onChange = useCallback(\n (e: ChangeEvent<HTMLInputElement>) => {\n if (value === e.currentTarget.checked) {\n return;\n }\n _setValue(e.currentTarget.checked);\n onChange(e.currentTarget.checked, e);\n },\n [onChange, value]\n );\n\n const id = useMemo(() => `${name}Checkbox${UNIQ_COUNT++}`, []);\n\n return (\n <div className={classnames(styles.checkboxContainer, className)}>\n <input\n name={name}\n className={classnames(styles.checkbox, {\n [styles.error]: error,\n [styles.isWbTheme]: shared.isWbTheme || isWbTheme,\n })}\n type=\"checkbox\"\n disabled={disabled}\n id={id}\n checked={_value}\n onChange={_onChange}\n />\n <label htmlFor={id}>{children}</label>\n </div>\n );\n};\n","var _path;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgCounterPlus(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 24 24\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M13 5a1 1 0 10-2 0v6H5a1 1 0 100 2h6v6a1 1 0 102 0v-6h6a1 1 0 100-2h-6V5z\",\n fill: \"#A73AFD\"\n })));\n}\nexport default SvgCounterPlus;","var _path;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgDatePicker(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 24 24\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M16.286.857c.473 0 .857.384.857.857v.994c.72.115 1.186.3 1.654.55a4.673 4.673 0 011.944 1.944c.408.762.642 1.518.681 3.369h.006v6.265l-.004.523c-.035 1.902-.27 2.668-.683 3.439a4.673 4.673 0 01-1.944 1.944c-.838.448-1.669.687-3.961.687H9.164l-.523-.005c-1.902-.035-2.668-.27-3.439-.682a4.673 4.673 0 01-1.944-1.944c-.43-.805-.667-1.603-.686-3.694V8.57c.045-1.851.279-2.607.686-3.369a4.673 4.673 0 011.944-1.944c.469-.25.935-.435 1.655-.55v-.994a.857.857 0 011.714 0v.863c.186-.004.383-.006.593-.006h5.672c.21 0 .407.002.594.006l-.002-.863c0-.473.384-.857.858-.857zm3.427 9.429H4.286v4.792l.008.488c.033 1.292.17 1.85.476 2.423.288.54.701.953 1.24 1.241.64.342 1.264.472 2.912.483h6.156l.488-.007c1.292-.033 1.85-.17 2.423-.476.54-.288.952-.701 1.24-1.24.343-.64.473-1.264.484-2.912v-4.792zm-3.388 4.286c.371 0 .663.07.908.2.244.13.436.322.566.567.131.244.2.536.2.907v.08c0 .37-.069.662-.2.907-.13.244-.322.436-.566.567-.245.13-.537.2-.908.2h-.079c-.37 0-.663-.07-.907-.2a1.363 1.363 0 01-.567-.567c-.131-.245-.2-.537-.2-.908v-.079c0-.37.069-.663.2-.907.13-.245.322-.437.567-.567.244-.13.536-.2.907-.2h.079zM15.078 4.287H8.922l-.35.004v.852a.857.857 0 01-1.715 0V4.45c-.327.075-.585.18-.846.32A2.96 2.96 0 004.77 6.01c-.317.592-.452 1.17-.48 2.56h15.418l-.002-.137c-.034-1.292-.17-1.85-.476-2.423a2.959 2.959 0 00-1.241-1.24 3.287 3.287 0 00-.845-.32l-.001.692a.857.857 0 11-1.715 0l.002-.852c-.112-.002-.229-.004-.352-.004z\",\n fill: \"#8B8B8B\"\n })));\n}\nexport default SvgDatePicker;","import React from 'react';\n\nimport { Button } from '@shared/button';\nimport { Text } from '@shared/text';\nimport { useCallback, useEffect, useState } from 'react';\n\nimport CounterMinusIcon from './icons/counter-minus.svg';\nimport CounterPlusIcon from './icons/counter-plus.svg';\n\nimport styles from './counter.module.scss';\nimport classNames from 'classnames';\nimport { Icon } from '@shared/icon';\nimport { useShared } from '../../providers/shared.provider';\n\ninterface ICounterProps {\n value?: number;\n max?: number;\n min?: number;\n onChange?: (count: number) => void;\n isWbTheme?: boolean;\n}\n\nexport const Counter = (props: ICounterProps) => {\n const shared = useShared();\n\n const [value, setValue] = useState(props.value || 0);\n\n const onChange = useCallback(\n (e: number) => {\n setValue((count) => {\n if (e > 0 && props.max != undefined && count >= props.max) {\n return count;\n }\n\n if (e < 0 && props.min != undefined && count <= props.min) {\n return count;\n }\n\n const newCount = count + e;\n props.onChange && props.onChange(newCount);\n return newCount;\n });\n },\n [props.onChange, props.min, props.max]\n );\n\n useEffect(() => {\n setValue(props.value);\n }, [props.value]);\n\n if (shared.isWbTheme || props.isWbTheme) {\n return (\n <div className={classNames(styles.counter, styles.isWbTheme)}>\n <Icon\n variant=\"attention\"\n className={classNames(styles.button, { [styles.disabled]: props.min != undefined && value <= props.min })}\n icon={CounterMinusIcon}\n onClick={onChange.bind(null, -1)}\n />\n <Text className={styles.value} size=\"large\">\n {value}\n </Text>\n <Icon\n variant=\"attention\"\n className={classNames(styles.button, { [styles.disabled]: props.max != undefined && value >= props.max })}\n icon={CounterPlusIcon}\n onClick={onChange.bind(null, 1)}\n />\n </div>\n );\n }\n\n return (\n <div className={styles.counter}>\n <Button\n className={styles.button}\n icon={CounterMinusIcon}\n disabled={props.min != undefined && value <= props.min}\n onClick={onChange.bind(null, -1)}\n />\n <Text className={styles.value} size=\"large\">\n {value}\n </Text>\n <Button\n className={styles.button}\n icon={CounterPlusIcon}\n disabled={props.max != undefined && value >= props.max}\n onClick={onChange.bind(null, 1)}\n />\n </div>\n );\n};\n","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"antd/lib/date-picker/generatePicker\");","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"rc-picker/lib/generate/dateFns\");","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"antd/lib/date-picker/locale/ru_RU\");","var _path;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgSearch(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 20 20\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n fillRule: \"evenodd\",\n clipRule: \"evenodd\",\n d: \"M9.167 1.667a7.5 7.5 0 104.681 13.36l3.48 3.479a.833.833 0 001.178-1.178l-3.48-3.48a7.5 7.5 0 00-5.86-12.181zm-5.834 7.5a5.833 5.833 0 1111.667 0 5.833 5.833 0 01-11.667 0z\",\n fill: \"currentColor\"\n })));\n}\nexport default SvgSearch;","var _path, _path2, _defs;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgInputLoader(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 20 20\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M17 10a7 7 0 11-2.706-5.528c.382.296.379.855.037 1.197-.342.342-.892.335-1.286.054A5.25 5.25 0 1015.25 10H17z\",\n fill: \"url(#input-loader_svg__paint0_linear)\"\n }, /*#__PURE__*/React.createElement(\"animateTransform\", {\n attributeType: \"xml\",\n attributeName: \"transform\",\n type: \"rotate\",\n from: \"0 10 10\",\n to: \"360 10 10\",\n dur: \"0.75s\",\n repeatCount: \"indefinite\"\n }))), _path2 || (_path2 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M17 10a7 7 0 11-2.706-5.528c.382.296.379.855.037 1.197-.342.342-.892.335-1.286.054A5.25 5.25 0 1015.25 10H17z\",\n fill: \"url(#input-loader_svg__paint1_linear)\"\n }, /*#__PURE__*/React.createElement(\"animateTransform\", {\n attributeType: \"xml\",\n attributeName: \"transform\",\n type: \"rotate\",\n from: \"0 10 10\",\n to: \"360 10 10\",\n dur: \"0.75s\",\n repeatCount: \"indefinite\"\n }))), _defs || (_defs = /*#__PURE__*/React.createElement(\"defs\", null, /*#__PURE__*/React.createElement(\"linearGradient\", {\n id: \"input-loader_svg__paint0_linear\",\n x1: 14.5,\n y1: 5.5,\n x2: 16.5,\n y2: 10,\n gradientUnits: \"userSpaceOnUse\"\n }, /*#__PURE__*/React.createElement(\"stop\", {\n stopColor: \"currentColor\"\n }), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 1,\n stopColor: \"currentColor\",\n stopOpacity: 0\n })), /*#__PURE__*/React.createElement(\"linearGradient\", {\n id: \"input-loader_svg__paint1_linear\",\n x1: 10,\n y1: 16,\n x2: 17,\n y2: 9.5,\n gradientUnits: \"userSpaceOnUse\"\n }, /*#__PURE__*/React.createElement(\"stop\", {\n stopColor: \"currentColor\"\n }), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 1,\n stopColor: \"currentColor\",\n stopOpacity: 0\n })))));\n}\nexport default SvgInputLoader;","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"inputmask\");","import React, {\n InputHTMLAttributes,\n useMemo,\n ChangeEvent,\n forwardRef,\n KeyboardEvent,\n useEffect,\n useCallback,\n useState,\n useRef,\n useImperativeHandle,\n ReactNode,\n} from 'react';\nimport classnames from 'classnames';\nimport debounce from 'lodash.debounce';\n\nimport ClearIcon from '../icon/icons/clear.svg';\nimport InputSearchIcon from './icons/search.svg';\nimport InputLoaderIcon from '../icon/icons/input-loader.svg';\nimport { Icon as SharedIcon } from '../icon';\nimport Inputmask from 'inputmask';\n\nimport styles from './input.module.scss';\nimport { useShared } from '../../providers/shared.provider';\n\nexport enum EInputVariant {\n filled = 'filled',\n outlined = 'outlined',\n pure = 'pure',\n}\n\nexport enum EInputSize {\n small = 'small',\n medium = 'medium',\n large = 'large',\n}\n\nexport enum EInputBorder {\n circle = 'circle',\n normal = 'normal',\n}\n\nexport enum EInputIconPosition {\n left = 'left',\n right = 'right',\n}\n\nexport type IInputProps = {\n error?: boolean;\n icon?: any;\n value?: any;\n autofocus?: boolean;\n variant?: keyof typeof EInputVariant;\n size?: keyof typeof EInputSize;\n border?: keyof typeof EInputBorder;\n iconPositon?: keyof typeof EInputIconPosition;\n loading?: boolean;\n showClear?: boolean;\n adaptive?: boolean;\n className?: string;\n beginSearch?: number;\n debounceTime?: number;\n labelPlaceholder?: string | ReactNode;\n mask?: string;\n maskObj?: any;\n maskParams?: any;\n isWbTheme?: boolean;\n onClear?: (val?: string) => void;\n onBeforeMask?: (val?: string) => void;\n onPointerUp?: (e: any) => void;\n onChange?: (value: string, event: ChangeEvent<HTMLInputElement>) => void;\n onSearch?: ((val: string) => void) | ((val: string) => Promise<void>);\n valueTransformer?: (value: string) => string;\n} & Omit<InputHTMLAttributes<HTMLInputElement>, 'size' | 'variant' | 'onChange'>;\n\nexport const Input = forwardRef<HTMLInputElement, IInputProps>(\n (\n {\n onChange,\n onFocus = () => {},\n onBlur = () => {},\n onClear,\n onBeforeMask,\n onSearch,\n onPointerUp,\n icon: Icon,\n name,\n required,\n disabled,\n value,\n type = 'text',\n placeholder,\n style,\n loading = false,\n showClear,\n error,\n labelPlaceholder,\n size = EInputSize.medium,\n variant = EInputVariant.outlined,\n border = EInputBorder.normal,\n iconPositon = EInputIconPosition.right,\n adaptive,\n width,\n className,\n debounceTime = 500,\n beginSearch = NaN,\n mask,\n maskObj,\n maskParams,\n autofocus,\n isWbTheme,\n valueTransformer,\n ...props\n }: IInputProps,\n ref\n ) => {\n const shared = useShared();\n\n const [_value, _setValue] = useState<string | undefined>(value);\n const [_loading, _setLoading] = useState(loading);\n const [_mask, _setMask] = useState(null);\n\n const innerRef = useRef<HTMLInputElement>(null);\n\n useImperativeHandle(ref, () => innerRef.current);\n\n useEffect(() => {\n if (props.autoFocus) {\n setTimeout(() => {\n innerRef.current.focus();\n }, 1);\n }\n }, [props.autoFocus]);\n\n useEffect(() => _setValue(value), [value]);\n useEffect(() => _setLoading(loading), [loading]);\n useEffect(() => {\n if (!mask && !maskObj && _mask) {\n _mask.remove();\n _setMask(null);\n }\n\n if ((!mask && !maskObj) || !innerRef.current) {\n return;\n }\n\n if (!innerRef.current) {\n return;\n }\n\n const inputMask = new Inputmask({ mask: mask || maskObj, greedy: false, onBeforeMask, ...(maskParams || {}) });\n\n innerRef.current &&\n setTimeout(() => {\n if (!innerRef.current) {\n return;\n }\n innerRef.current.value = value;\n _setMask(inputMask.mask(innerRef.current));\n innerRef.current.dispatchEvent(new Event('change', { bubbles: true }));\n });\n }, [mask, maskObj, maskParams, innerRef.current]);\n\n const classNames = useMemo(\n () =>\n classnames(\n styles.input,\n className,\n styles[`input__${variant}`],\n styles[`input__${size}`],\n styles[`input__border_${border}`],\n {\n [styles[`input__${size}_adaptive`]]: adaptive,\n [styles[`input__action_${size}`]]: Icon || _loading || showClear || onSearch,\n [styles[`input__action_${iconPositon}`]]: (Icon || _loading || onSearch),\n [styles[`input__actions_${size}`]]: (Icon || _loading || onSearch) && showClear,\n [styles[`input__actions_${iconPositon}`]]: (Icon || _loading || onSearch) && showClear,\n [styles.disabled]: disabled,\n [styles.invalid]: error,\n [styles.isWbTheme]: shared.isWbTheme || isWbTheme,\n }\n ),\n [variant, size, border, disabled, _loading, showClear, adaptive, className, error, iconPositon, onSearch]\n );\n\n const inputClassNames = useMemo(\n () =>\n classnames({\n [styles.invalid]: error,\n }),\n [error]\n );\n\n const clearClassNames = useMemo(\n () =>\n classnames(styles.clear, styles[`clear__${variant}`], styles[`clear__${size}`], {\n [styles[`clear__action_${size}`]]: Icon || _loading || onSearch,\n [styles[`clear__action_${iconPositon}`]]: Icon || _loading || onSearch,\n [styles.isWbTheme]: shared.isWbTheme || isWbTheme,\n }),\n [variant, size, Icon, _loading, _value, onSearch]\n );\n\n const loaderClassNames = useMemo(\n () =>\n classnames(\n styles.loader,\n styles[`loader__${variant}`],\n styles[`loader__${size}`],\n styles[`loader__${iconPositon}`],\n { [styles.isWbTheme]: shared.isWbTheme || isWbTheme }\n ),\n [variant, size, iconPositon]\n );\n\n const iconClassNames = useMemo(\n () =>\n classnames(styles.icon, styles[`icon__${variant}`], styles[`icon__${size}`], styles[`icon__${iconPositon}`], {\n [styles.isWbTheme]: shared.isWbTheme || isWbTheme,\n }),\n [variant, size, iconPositon]\n );\n\n const labelClassNames = useMemo(() => classnames(styles.label), []);\n\n const _onSearchDebounce = useCallback(\n debounce((val, callback) => {\n _setValue((prev) => {\n if (prev !== val) {\n return;\n }\n\n (async () => {\n await callback(val);\n _setLoading(false);\n })();\n\n return val;\n });\n }, debounceTime),\n []\n );\n\n const _onChange = useCallback(\n (e: ChangeEvent<HTMLInputElement>) => {\n const formattedValue = valueTransformer?.(e.currentTarget.value);\n const resultValue = valueTransformer ? formattedValue : e.currentTarget.value;\n onSearch && _onSearch(resultValue);\n _setValue(resultValue);\n if (onChange) {\n onChange(resultValue, e);\n }\n },\n [_onSearchDebounce, onSearch, onChange, beginSearch]\n );\n\n const _onSearch = useCallback(\n (val: string) => {\n _setLoading(true);\n\n _setValue(() => {\n if (!val) {\n onClear && onClear();\n _setLoading(false);\n } else if (val?.length >= beginSearch) {\n _onSearchDebounce(val, onSearch);\n } else {\n _setLoading(false);\n }\n\n return val;\n });\n },\n [_onSearchDebounce, onSearch, onClear, beginSearch]\n );\n\n const _onClear = useCallback(() => {\n _setValue(undefined);\n\n if (onClear) {\n onClear();\n }\n }, [onClear]);\n\n const _onKeyPress = useCallback(\n (e: KeyboardEvent<HTMLInputElement>) => {\n if (e.key === 'Enter') {\n onSearch && onSearch(_value || '');\n }\n },\n [_value, onSearch]\n );\n\n return (\n <div className={classNames} style={{ width: width }} onPointerUp={onPointerUp}>\n {labelPlaceholder && _value && <div className={labelClassNames}>{labelPlaceholder}</div>}\n <input\n {...props}\n className={inputClassNames}\n ref={innerRef}\n name={name}\n disabled={disabled}\n placeholder={placeholder || (typeof labelPlaceholder === 'string' ? labelPlaceholder : '')}\n type={type}\n value={_value || ''}\n onChange={_onChange}\n onFocus={onFocus}\n onKeyPress={_onKeyPress}\n onBlur={onBlur}\n required={required}\n style={style}\n />\n {Boolean(showClear && _value) && <SharedIcon icon={ClearIcon} className={clearClassNames} onClick={_onClear} />}\n {onSearch && !_loading && (\n <InputSearchIcon className={iconClassNames} onClick={onSearch.bind(null, _value || '')} />\n )}\n {Icon && !_loading && <Icon className={iconClassNames} />}\n {_loading && <InputLoaderIcon className={loaderClassNames} />}\n </div>\n );\n }\n);\n","import React, { ComponentProps, forwardRef, useCallback } from 'react';\nimport cn from 'classnames';\nimport DatePickerIcon from '../icon/icons/date-picker.svg';\nimport ClearIcon from '../icon/icons/clear.svg';\nimport { Icon } from '@shared/icon';\n\nimport generatePicker from 'antd/lib/date-picker/generatePicker';\nimport dateFnsGenerateConfig from 'rc-picker/lib/generate/dateFns';\nimport locale from 'antd/lib/date-picker/locale/ru_RU';\nimport { EInputSize, Input } from '@shared/input';\nimport { useShared } from '../../providers/shared.provider';\nlocale.lang.locale = 'ru';\n\nconst AntDatePicker = generatePicker<Date>(dateFnsGenerateConfig);\n\ntype IDatePickerProps = {\n error?: boolean;\n onClear?: (e: any) => void;\n onTouchStart?: (e: any) => void;\n format?: string;\n mask?: string;\n labelPlaceholder?: string;\n isWbTheme?: boolean;\n} & ComponentProps<typeof AntDatePicker>;\n\nexport const DatePicker = forwardRef(\n ({ error, onClear, format = 'DD.MM.YYYY', mask, labelPlaceholder, onClick, isWbTheme, ...props }: IDatePickerProps, ref) => {\n const shared = useShared();\n const onRenderInput = useCallback(\n (props: React.InputHTMLAttributes<HTMLInputElement>) => {\n return (\n <Input\n variant=\"pure\"\n mask={mask}\n error={error}\n labelPlaceholder={labelPlaceholder}\n onPointerUp={onClick}\n {...props}\n size={EInputSize.medium}\n onChange={(_, e) => props.onChange(e)}\n />\n );\n },\n [onClick, error]\n );\n\n return (\n // @ts-ignore\n <AntDatePicker\n {...props}\n // @ts-ignore\n ref={ref}\n locale={locale}\n suffixIcon={props.suffixIcon || <Icon icon={DatePickerIcon} />}\n clearIcon={\n <div onClick={onClear}>\n <Icon icon={ClearIcon} />\n </div>\n }\n className={cn(props.className, { 'date-picker-error': error, isWbTheme: shared.isWbTheme || isWbTheme })}\n placeholder={props.placeholder || labelPlaceholder}\n format={format}\n onClick={onClick}\n // @ts-ignore\n showToday={false}\n inputRender={onRenderInput}\n />\n );\n }\n);\n\nDatePicker.displayName = 'DatePicker';\n","import React from 'react';\nimport classnames from 'classnames';\n\nimport styles from './divider.module.scss';\n\nexport type IDividerProps = {\n width?: string;\n height?: string;\n bordered?: boolean;\n overflow?: number;\n children?: JSX.Element;\n className?: string;\n};\n\nexport const Divider = ({ width, height, bordered, className}: IDividerProps) => {\n return (\n <div\n className={classnames(styles.divider, className, { [styles.bordered]: bordered })}\n style={{\n width,\n height,\n }}\n />\n );\n};\n","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"antd/lib/dropdown\");","import React from 'react';\n\nimport AntDropdown from 'antd/lib/dropdown';\nimport { DropDownProps as AntDropdownProps } from 'antd/lib/dropdown';\nimport { ReactNode, useCallback } from 'react';\n\nimport styles from './dropdown.module.scss';\n\ninterface IDropdownProps extends AntDropdownProps {}\n\nexport const Dropdown = (props: IDropdownProps) => {\n const dropdownRender = useCallback(\n (originNode: ReactNode) => {\n return props.dropdownRender ? (\n <div className={styles.dropdown}>{props.dropdownRender(originNode)}</div>\n ) : (\n originNode\n );\n },\n [props.dropdownRender]\n );\n\n //@ts-ignore\n return <AntDropdown {...props} dropdownRender={dropdownRender} />;\n};\n","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"formik\");","import { useFormikContext } from \"formik\";\nimport { MutableRefObject, useEffect } from \"react\";\n\ninterface IFocusErrorProps {\n formRef: MutableRefObject<HTMLFormElement>;\n}\n\nexport const FocusError = (props: IFocusErrorProps) => {\n const { errors, isSubmitting, isValidating } = useFormikContext();\n\n useEffect(() => {\n if (isSubmitting && !isValidating) {\n let keys = Object.keys(errors);\n if (keys.length > 0) {\n const selector = `[name=${keys[0]}]`;\n const errorElement = props.formRef.current.querySelector(selector) as HTMLElement;\n if (errorElement) {\n errorElement.focus();\n errorElement.scrollIntoView({ block: 'center' });\n }\n }\n }\n }, [errors, isSubmitting, isValidating]);\n\n return null;\n};\n","import React from 'react';\n\nimport { FormikContextType, FormikProvider } from \"formik\"\nimport { PropsWithChildren, useCallback, useRef } from \"react\"\nimport { FocusError } from \"./form-focus-error\";\n\ninterface IFormProps {\n form: FormikContextType<any>;\n className?: string;\n onBlur?: (values: any) => void;\n onChange?: (values: any) => void;\n onChangeBlur?: (values: any) => void;\n}\n\nexport const Form = (props: PropsWithChildren<IFormProps>) => {\n const ref = useRef<HTMLFormElement>();\n\n const onChangeBlur = useCallback(async () => {\n if (props.form.dirty && props.form.isValid) {\n const isValid = await props.form.validateForm();\n if (!Object.keys(isValid).length) {\n props.onChangeBlur && props.onChangeBlur(props.form.values);\n }\n }\n }, [props.form]);\n\n const onBlur = useCallback(() => {\n setTimeout(() => {\n props.onBlur && props.onBlur(props.form.values);\n onChangeBlur();\n });\n }, [props.onBlur, props.form]);\n\n const onChange = useCallback(() => {\n props.onChange && setTimeout(() => {\n props.onChange(props.form.values);\n });\n }, [props.onChange, props.form]);\n\n return <FormikProvider value={props.form}>\n <form ref={ref} className={props.className} onSubmit={props.form.handleSubmit} onBlur={onBlur} onChange={onChange}>\n {props.children}\n <FocusError formRef={ref} />\n </form>\n </FormikProvider>\n};\n","import React from 'react';\n\nimport { ComponentProps, ElementType, PropsWithChildren, useMemo } from 'react';\nimport { getIn, useField, useFormikContext } from 'formik';\nimport { Text } from '@shared/text';\nimport classnames from 'classnames';\n\nimport styles from './form-control.module.scss';\n\ntype IFormControlProps<C extends ElementType> = {\n [key in keyof ComponentProps<C>]?: ComponentProps<C>[key];\n} & {\n name: string;\n label?: string;\n component?: C;\n onChange?: any;\n errorPosition?: 'absolute' | 'relative' | 'static' | 'initial' | 'inherit';\n};\n\nexport const isRequiredField = (validationSchema, name) => {\n if (!validationSchema) {\n return false;\n }\n const schemaDescription = validationSchema.describe();\n const accessor = name.split('.').join('.fields.');\n const field = getIn(schemaDescription.fields, accessor);\n if (!field) {\n return false;\n }\n const isRequired = field.tests.some((test) => test.name === 'required');\n return isRequired;\n};\n\nexport function FormControl<T extends ElementType>({\n name,\n label,\n component,\n onChange,\n errorPosition = 'absolute',\n ...props\n}: PropsWithChildren<IFormControlProps<T>>) {\n const [field, meta, helpers] = useField({ name, type: 'object' });\n const ctx = useFormikContext();\n const Component = component as any;\n\n const _onChange = (value: any, args: any) => {\n helpers.setValue(value);\n helpers.setError(undefined);\n\n onChange &&\n setTimeout(() => {\n if (onChange) {\n onChange(value, args);\n }\n }, 0);\n\n helpers.setTouched(true, false);\n };\n\n const labelPlaceholder = useMemo(() => {\n if (props.labelPlaceholder && isRequiredField(ctx.validationSchema, name)) {\n return `${props.labelPlaceholder} *`;\n }\n\n return props.labelPlaceholder;\n }, [props.labelPlaceholder, ctx.validationSchema]);\n\n const labelClassNames = useMemo(\n () => classnames(styles.label, { [styles.invalid]: meta.touched && meta.error }),\n [meta.touched, meta.error]\n );\n\n return (\n <div>\n {!!label && (\n <Text className={labelClassNames} size=\"large\" addition>\n {label}\n </Text>\n )}\n <Component\n {...field}\n {...props}\n label={label}\n labelPlaceholder={labelPlaceholder}\n error={meta.touched && meta.error}\n onChange={_onChange}\n />\n {meta.touched && meta.error && (\n <Text className={styles.error} size=\"small\" error style={{ position: errorPosition }}>\n {meta.error}\n </Text>\n )}\n </div>\n );\n}\n","import React from 'react';\n\nimport { useMemo } from 'react';\nimport classnames from 'classnames';\n\nimport styles from './heading.module.scss';\nimport { useShared } from '../../providers/shared.provider';\n\nexport enum EHeadingLevel {\n h1 = 1,\n h2,\n h3,\n h4,\n h5,\n h6,\n}\n\nexport enum EHeadingWeight {\n bold = 'bold',\n medium = 'medium',\n regular = 'regular',\n}\n\nexport enum EHeadingVariant {\n default = 'default',\n addition = 'addition',\n light = 'light',\n disabled = 'disabled',\n brand = 'brand',\n attention = 'attention',\n error = 'error',\n success = 'success',\n warning = 'warning',\n inverse = 'inverse',\n}\n\ninterface IHeadingProps {\n level?: EHeadingLevel;\n mobLevel?: EHeadingLevel;\n children?: any;\n addition?: boolean;\n attention?: boolean;\n success?: boolean;\n warning?: boolean;\n inverse?: boolean;\n error?: boolean;\n variant?: keyof typeof EHeadingVariant;\n className?: string;\n centerText?: boolean;\n weight?: keyof typeof EHeadingWeight;\n isWbTheme?: boolean;\n}\n\nexport const Heading = ({\n children,\n level = EHeadingLevel.h1,\n mobLevel,\n addition,\n attention,\n warning,\n success,\n inverse,\n error,\n variant,\n className,\n centerText,\n weight,\n isWbTheme,\n}: IHeadingProps) => {\n const shared = useShared();\n\n const HeadingTag = useMemo(() => `h${level}` as keyof JSX.IntrinsicElements, [level]);\n\n const classNames = useMemo(\n () =>\n classnames(\n styles.heading,\n styles[`heading__h${level}`],\n styles[`heading__mob__h${mobLevel}`],\n styles[`heading__weight_${weight}`],\n styles[`heading__variant_${variant}`],\n {\n [styles.textAddition]: addition,\n [styles.textAttention]: attention,\n [styles.textInverse]: inverse,\n [styles.textSuccess]: success,\n [styles.textError]: error,\n [styles.textWarning]: warning,\n [styles.center]: centerText,\n [styles.isWbTheme]: shared.isWbTheme || isWbTheme,\n },\n className\n ),\n [addition, inverse, error, className, weight, warning, success, attention, centerText, level, variant]\n );\n\n return <HeadingTag className={classNames}>{children}</HeadingTag>;\n};\n","export const appleDetect = () => {\n try {\n return [\n 'iPad Simulator',\n 'iPhone Simulator',\n 'iPod Simulator',\n 'iPad',\n 'iPhone',\n 'iPod'\n ].includes(navigator.platform)\n // iPad on iOS 13 detection\n || (navigator.userAgent.includes(\"Mac\") && \"ontouchend\" in document)\n } catch (e) {\n return false;\n }\n}\n","import { useEffect, useRef } from 'react';\n\nexport function useCombinedRefs(...refs) {\n const targetRef = useRef();\n\n useEffect(() => {\n refs.forEach((ref) => {\n if (!ref) return;\n\n if (typeof ref === 'function') {\n ref(targetRef.current);\n } else {\n ref.current = targetRef.current;\n }\n });\n }, [refs]);\n\n return targetRef;\n}\n","const locale = 'ru-RU';\nconst units: { [key: string]: Intl.DateTimeFormatOptions } = {\n YYYY: {\n year: 'numeric',\n },\n YY: {\n year: '2-digit',\n },\n M: {\n month: 'numeric',\n },\n MM: {\n month: '2-digit',\n },\n MMM: {\n month: 'short',\n },\n MMMM: {\n month: 'long',\n },\n MMMMM: {\n month: 'long',\n },\n D: {\n day: 'numeric',\n },\n DD: {\n day: '2-digit',\n },\n d: {\n weekday: 'short',\n },\n dd: {\n weekday: 'long',\n },\n hh: {\n hour: '2-digit',\n },\n mm: {\n minute: '2-digit',\n },\n ss: {\n second: '2-digit',\n },\n};\n\ninterface IDateFormatOptions {\n plural?: boolean;\n utc?: boolean;\n}\n\nexport const getDate = (value: string = '') => {\n if (/[_]/.test(value)) {\n return new Date('Invalid Date');\n }\n\n return new Date(value.replaceAll('_', 'Ё').split('.').reverse().join('/'));\n}\n\nexport const dateFormat = (value: any, format: string, { plural, utc }: IDateFormatOptions = { utc: true, plural: true }) => {\n let _value = new Date(value);\n\n if ((!value && value !== 0) || _value.getTime() !== _value.getTime()) {\n return null;\n }\n\n if (utc) {\n const userTimezoneOffset = _value.getTimezoneOffset() * 60000;\n _value = new Date(_value.getTime() + userTimezoneOffset);\n }\n\n const dateUnits = [];\n const dateItems = format.split(/\\, | \\- | |:|\\-|\\.|_/);\n const delimeters = format.split(/[DMYdhms]/).filter(Boolean);\n let stringDate = '';\n\n dateItems.forEach((item) => {\n let unit: string;\n\n if (/hh|mm|ss/.test(item)) {\n unit = _value.toLocaleTimeString(locale, units[item]);\n if (unit.length === 1) {\n unit = `0${unit}`;\n }\n } else if (plural && item === 'MMMM') {\n const options = Object.assign({ day: 'numeric' }, units[item]);\n unit = _value.toLocaleDateString(locale, options).split(' ')[1];\n } else if (item === 'MMM') {\n unit = _value.toLocaleDateString(locale, units[item]);\n unit = unit.slice(0, 3);\n } else if (item === 'MMMMM') {\n const options = Object.assign({ day: 'numeric' }, units[item]);\n unit = _value.toLocaleDateString(locale, options).split(' ')[1].toUpperCase();\n } else if (item === 'd') {\n unit = _value.toLocaleString(locale, units[item]);\n unit = unit.replace(/^./, (c) => c.toUpperCase());\n } else {\n unit = _value.toLocaleString(locale, units[item]);\n }\n\n // if (index === 0) {\n // unit = unit.toCapitalize();\n // }\n\n dateUnits.push(unit);\n });\n\n dateUnits.forEach((item, i) => {\n stringDate += item + (delimeters[i] ? delimeters[i] : '');\n });\n\n return stringDate;\n};\n","export const dateWithoutTimezone = (date: Date) => {\n return new Date(date.getTime() - date.getTimezoneOffset() * 60000)\n}\n\nexport const dateWithTimezone = (date: Date) => {\n return new Date(date.getTime() + date.getTimezoneOffset() * 60000)\n}\n","export const pluralize = (val: number, plurals: string[]): string => {\n if (val % 10 === 0 || (val % 10 > 4 && val % 10 < 10) || (val % 100 > 4 && val % 100 < 20)) {\n return plurals[2];\n }\n\n if (val % 10 > 1 && val % 10 < 5) {\n return plurals[1];\n }\n\n if (val % 10 === 1) {\n return plurals[0];\n }\n\n return '';\n};\n","/**\n * Format a number of views into a string with thousands separators.\n *\n * @example\n * formatViews(1000) // '1 000'\n * formatViews(123456) // '123 456'\n * @param {number} num - The number of views.\n * @returns {string} The formatted string.\n */\nexport const formatViews = (num: number) => {\n let numStr = num.toString();\n\n if (numStr.length <= 3) {\n return numStr;\n }\n return formatViews(parseInt(numStr.slice(0, -3))) + ' ' + numStr.slice(-3);\n};\n","export const priceFormat = (value: number | string) => {\n const price = Intl.NumberFormat('ru-RU', {\n currency: 'RUB',\n style: 'currency',\n minimumFractionDigits: 0,\n }).formatToParts(Math.ceil((+value || 0) / 100));\n\n const currencySign = price.find((cur) => cur.type === 'currency').value;\n\n return (\n price\n .map(({ type, value }) => {\n switch (type) {\n case 'currency':\n return null;\n default:\n return value;\n }\n })\n .filter(Boolean)\n .slice(0, -1)\n .reduce((val, part) => val + part, '') +\n ' ' +\n currencySign\n );\n};\n","const PREPOSITIONS = [\n 'в',\n 'во',\n 'без',\n 'до',\n 'из',\n 'к',\n 'ко',\n 'на',\n 'по',\n 'о',\n 'от',\n 'при',\n 'с',\n 'со',\n 'у',\n 'не',\n 'за',\n 'над',\n 'для',\n 'об',\n 'под',\n 'про',\n 'и',\n 'а',\n 'но',\n 'да',\n 'или',\n 'ли',\n 'бы',\n 'то',\n 'что',\n 'как',\n 'я',\n 'он',\n 'мы',\n 'они',\n 'ни',\n 'же',\n 'вы',\n 'им',\n '-',\n];\n\nconst ESCAPE = ' ';\nconst DASH = '—';\n\nconst replacement = (str) => str.slice(0, -1) + ESCAPE;\n\nconst decorate = (value: string) => {\n const regex = new RegExp(\n PREPOSITIONS.map((x) => {\n if (x === '-') {\n x = DASH;\n }\n return ' ' + x + ' ';\n }).join('|'),\n 'gi',\n );\n const formattedText = value.replace(regex, replacement);\n return formattedText;\n};\n\nexport const textSanitize = (value: string): string => {\n if (!value) {\n return value;\n }\n return decorate(value);\n};\n","import { useEffect, useState } from \"react\";\nimport { dateFormat } from \"./date-format\";\nimport { dateWithTimezone } from \"./date\";\n\nconst UNITS = [\n {\n label: 'ч',\n value: 60 * 60 * 1000,\n },\n {\n label: 'мин',\n value: 60 * 1000,\n },\n];\n\nexport const timeLeftMinutes = (time: number) => {\n return timeLeft(time * 1000 * 60);\n};\n\nexport const timeLeft = (time: number) => {\n let str = '';\n\n UNITS.forEach((unit) => {\n\n if (Math.floor(time / unit.value)) {\n str += `${Math.floor(time / unit.value)} ${unit.label} `;\n }\n\n time = time - Math.floor(time / unit.value) * unit.value;\n });\n\n return str;\n};\n\nconst wzero = (input: number) => (input > 9 ? String(input) : `0${input > -1 ? input : '0'}`);\nconst getTimeLeft = (date: Date) => {\n const timeLeft = date.getTime() - new Date().getTime();\n\n if (timeLeft >= 24 * 60 * 60 * 1000) {\n return `до ${dateFormat(date, 'D MMMM hh:mm')}`;\n }\n\n if (timeLeft < 0) {\n return null;\n }\n\n const dateLeft = dateWithTimezone(new Date(timeLeft));\n return `${wzero(dateLeft.getHours())}:${wzero(dateLeft.getMinutes())}:${wzero(dateLeft.getSeconds())}`;\n};\n\ninterface IUseTimeLeftProps {\n expireDate: Date;\n onExpired: () => void;\n}\n\nexport const useTimeLeft = ({ expireDate = new Date(0), onExpired }: IUseTimeLeftProps) => {\n const [timeLeft, setTimeLeft] = useState(getTimeLeft(expireDate));\n\n useEffect(() => {\n setTimeLeft(getTimeLeft(expireDate));\n\n const timeout = setTimeout(() => {\n setTimeLeft(getTimeLeft(expireDate));\n }, 1000);\n\n if (!timeLeft) {\n onExpired();\n }\n\n return () => clearTimeout(timeout);\n }, [timeLeft, expireDate]);\n\n return timeLeft;\n};\n","export { appleDetect } from './apple-detect';\nexport { useCombinedRefs } from './combine-ref';\nexport { dateFormat, getDate } from './date-format';\nexport { dateWithTimezone, dateWithoutTimezone } from './date';\nexport { pluralize } from './pluralize';\nexport { formatViews } from './views-format';\nexport { priceFormat } from './price-format';\nexport { textSanitize } from './text-sanitize';\nexport { timeLeft, timeLeftMinutes, useTimeLeft } from './time-left';\n\nfunction generateToken(n) {\n var chars = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789';\n var token = '';\n for (var i = 0; i < n; i++) {\n token += chars[Math.floor(Math.random() * chars.length)];\n }\n return token;\n}\n\nexport const uuidv4 = () => {\n return generateToken(10);\n};\n","import React, { useState } from 'react';\n\nimport classNames from 'classnames';\n\nimport styles from './loader.module.scss';\nimport { uuidv4 } from '@shared/utils';\n\ninterface ILoaderProps {\n absolute?: boolean;\n fixed?: boolean;\n active?: boolean;\n id?: string;\n className?: string;\n}\n\ninterface ILoaderIconProps {\n className?: string;\n id?: string;\n}\n\nconst LoaderIcon = (props: ILoaderIconProps) => {\n const [id] = useState(props.id || uuidv4());\n\n return (\n <svg\n className={props.className}\n width=\"20\"\n height=\"20\"\n viewBox=\"0 0 20 20\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M17 10C17 11.6195 16.4385 13.1889 15.4111 14.4408C14.3837 15.6926 12.954 16.5495 11.3657 16.8655C9.77729 17.1814 8.1285 16.9369 6.70024 16.1734C5.27198 15.41 4.15262 14.175 3.53287 12.6788C2.91311 11.1826 2.83133 9.51776 3.30144 7.96801C3.77155 6.41825 4.76448 5.07945 6.11103 4.17971C7.45758 3.27997 9.07445 2.87497 10.6861 3.03371C12.0062 3.16372 13.2558 3.6653 14.294 4.47173C14.6757 4.76817 14.6728 5.32726 14.331 5.66897V5.66897C13.9893 6.01068 13.4387 6.00353 13.045 5.72325C12.3028 5.1948 11.4313 4.86557 10.5146 4.77528C9.30584 4.65623 8.09319 4.95998 7.08328 5.63478C6.07336 6.30959 5.32867 7.31369 4.97608 8.47601C4.6235 9.63832 4.68484 10.8869 5.14965 12.0091C5.61447 13.1312 6.45399 14.0575 7.52519 14.6301C8.59638 15.2027 9.83297 15.3861 11.0242 15.1491C12.2155 14.9122 13.2878 14.2695 14.0583 13.3306C14.8289 12.3917 15.25 11.2146 15.25 10H17Z\"\n fill={`url(#${id})`}\n >\n <animateTransform\n attributeType=\"xml\"\n attributeName=\"transform\"\n type=\"rotate\"\n from=\"0 10 10\"\n to=\"360 10 10\"\n dur=\"0.75s\"\n repeatCount=\"indefinite\"\n />\n </path>\n <path\n d=\"M17 10C17 11.6195 16.4385 13.1889 15.4111 14.4408C14.3837 15.6926 12.954 16.5495 11.3657 16.8655C9.77729 17.1814 8.1285 16.9369 6.70024 16.1734C5.27198 15.41 4.15262 14.175 3.53287 12.6788C2.91311 11.1826 2.83133 9.51776 3.30144 7.96801C3.77155 6.41825 4.76448 5.07945 6.11103 4.17971C7.45758 3.27997 9.07445 2.87497 10.6861 3.03371C12.0062 3.16372 13.2558 3.6653 14.294 4.47173C14.6757 4.76817 14.6728 5.32726 14.331 5.66897V5.66897C13.9893 6.01068 13.4387 6.00353 13.045 5.72325C12.3028 5.1948 11.4313 4.86557 10.5146 4.77528C9.30584 4.65623 8.09319 4.95998 7.08328 5.63478C6.07336 6.30959 5.32867 7.31369 4.97608 8.47601C4.6235 9.63832 4.68484 10.8869 5.14965 12.0091C5.61447 13.1312 6.45399 14.0575 7.52519 14.6301C8.59638 15.2027 9.83297 15.3861 11.0242 15.1491C12.2155 14.9122 13.2878 14.2695 14.0583 13.3306C14.8289 12.3917 15.25 11.2146 15.25 10H17Z\"\n fill={`url(#${id}_1)`}\n >\n <animateTransform\n attributeType=\"xml\"\n attributeName=\"transform\"\n type=\"rotate\"\n from=\"0 10 10\"\n to=\"360 10 10\"\n dur=\"0.75s\"\n repeatCount=\"indefinite\"\n />\n </path>\n <defs>\n <linearGradient id={`${id}`} x1=\"14.5\" y1=\"5.5\" x2=\"16.5\" y2=\"10\" gradientUnits=\"userSpaceOnUse\">\n <stop stop-color=\"currentColor\" />\n <stop offset=\"1\" stop-color=\"currentColor\" stop-opacity=\"0\" />\n </linearGradient>\n <linearGradient id={`${id}_1`} x1=\"10\" y1=\"16\" x2=\"17\" y2=\"9.5\" gradientUnits=\"userSpaceOnUse\">\n <stop stop-color=\"currentColor\" />\n <stop offset=\"1\" stop-color=\"currentColor\" stop-opacity=\"0\" />\n </linearGradient>\n </defs>\n </svg>\n );\n};\n\nexport const Loader = (props: ILoaderProps) => {\n if (props.absolute) {\n return (\n <div className={classNames(styles.absolute, props.className, { [styles.active]: props.active })}>\n {props.active && <LoaderIcon id={props.id} className={styles.loader} />}\n </div>\n );\n }\n\n if (props.fixed) {\n return (\n <div className={classNames(styles.fixed, props.className, { [styles.active]: props.active })}>\n {props.active && <LoaderIcon id={props.id} className={styles.loader} />}\n </div>\n );\n }\n\n return <LoaderIcon className={classNames(styles.loader, props.className)} />;\n};\n","import React from 'react';\nimport classnames from 'classnames';\n\nimport styles from './loader-line.module.scss';\n\nexport type ILoaderLineProps = {\n active?: boolean;\n children?: JSX.Element;\n};\n\n\nexport const LoaderLine = ({ active }: ILoaderLineProps) => {\n return (\n <>\n <div className={classnames(styles.loaderLine, { [styles.active]: active })}>\n <div className={styles.border} />\n <div className={styles.bar} />\n </div>\n </>\n );\n};\n","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"antd/lib/menu\");","import React, { PropsWithChildren } from 'react';\n\nimport AntMenu from 'antd/lib/menu';\nimport { MenuProps as AntMenuProps } from 'antd/lib/menu';\n\ninterface IMenuProps extends AntMenuProps {}\n\nexport const Menu = (props: PropsWithChildren<IMenuProps>) => {\n // @ts-ignore\n return <AntMenu {...props} />;\n};\n","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"antd/lib/modal\");","var _path, _g;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgModalClose(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 20 20\",\n fill: \"none\"\n }, props), /*#__PURE__*/React.createElement(\"mask\", {\n id: \"modal-close_svg__a\",\n style: {\n maskType: \"alpha\"\n },\n maskUnits: \"userSpaceOnUse\",\n x: 0,\n y: 0,\n width: 20,\n height: 20\n }, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n fill: \"color(display-p3 .851 .851 .851)\",\n d: \"M0 0h20v20H0z\"\n }))), _g || (_g = /*#__PURE__*/React.createElement(\"g\", {\n mask: \"url(#modal-close_svg__a)\"\n }, /*#__PURE__*/React.createElement(\"path\", {\n d: \"M4.494 4.495a.714.714 0 011.01 0L10 8.989l4.495-4.494a.714.714 0 01.943-.06l.068.06a.714.714 0 010 1.01L11.01 10l4.495 4.495a.714.714 0 01.059.943l-.06.067a.714.714 0 01-1.01 0L10 11.011l-4.494 4.494a.714.714 0 01-.943.06l-.068-.06a.714.714 0 010-1.01L8.99 10 4.494 5.505a.714.714 0 01-.06-.943l.06-.067z\",\n fill: \"color(display-p3 .4784 .4863 .502)\"\n }))));\n}\nexport default SvgModalClose;","var _circle, _path;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgArrowNext(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 49 48\",\n fill: \"none\",\n width: \"1em\",\n height: \"1em\"\n }, props), _circle || (_circle = /*#__PURE__*/React.createElement(\"circle\", {\n cx: 24,\n cy: 24,\n r: 24,\n transform: \"matrix(-1 0 0 1 48.5 0)\",\n fill: \"#F6F6F6\"\n })), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n fillRule: \"evenodd\",\n clipRule: \"evenodd\",\n d: \"M20.793 17.293a1 1 0 000 1.414L26.086 24l-5.293 5.293a1 1 0 001.414 1.414l6-6a1 1 0 000-1.414l-6-6a1 1 0 00-1.414 0z\",\n fill: \"#000\"\n })));\n}\nexport default SvgArrowNext;","import React from 'react';\n\nimport { Heading } from '@shared/heading';\nimport { Icon } from '@shared/icon';\nimport AntdModal from 'antd/lib/modal';\nimport {\n ComponentProps,\n ElementType,\n forwardRef,\n MutableRefObject,\n PropsWithChildren,\n ReactNode,\n useCallback,\n useEffect,\n useState,\n} from 'react';\nimport ModalCloseIcon from './../icon/icons/modal-close.svg';\nimport classNames from 'classnames';\n\nimport styles from './modal.module.scss';\nimport { useShared } from '../../providers/shared.provider';\n\nexport type PropsWithModal<P, D = any> = P & {\n data: D;\n modal: IModalRef<D>;\n};\n\nexport interface IModalRef<D = any> {\n open: (data: D) => void;\n close: () => void;\n setTitle: (title: string | ReactNode) => void;\n setFooter: (node: ReactNode) => void;\n setClosable: (show: boolean) => void;\n setWidth: (width: string | number) => void;\n setFooterFixed: (value: boolean) => void;\n setFull: (value: boolean) => void;\n setGallery: (value: boolean) => void;\n setSidebar: (value: boolean) => void;\n setTabletPopup: (value: boolean) => void;\n setShowCloseIcon: (value: boolean) => void;\n setMaskClosable: (value: boolean) => void;\n setGrayBackground: (value: boolean) => void;\n setNoPadding: (value: boolean) => void;\n setFooterClassName: (value: string) => void;\n}\n\ntype IModalProps<C extends ElementType> = {\n [key in keyof ComponentProps<C>]?: ComponentProps<C>[key];\n} & {\n component?: any;\n title?: string;\n width?: number | string;\n footer?: ReactNode;\n footerClassName?: string;\n sidebar?: boolean;\n showClose?: boolean;\n maskClosable?: boolean;\n footerFixed?: boolean;\n full?: boolean;\n gallery?: boolean;\n tabletPopup?: boolean;\n grayBackground?: string;\n noPadding?: boolean;\n};\n\nfunction _Modal<C extends ElementType>(\n {\n title,\n footer,\n width = 'max-content',\n closable = true,\n sidebar,\n showClose = true,\n maskClosable = true,\n component: Component,\n children,\n footerFixed,\n footerClassName,\n ...props\n }: PropsWithChildren<IModalProps<C>>,\n ref?: MutableRefObject<IModalRef>\n) {\n const shared = useShared();\n\n const [open, setOpen] = useState(false);\n const [data, setData] = useState<any>();\n const [_width, _setWidth] = useState<number | string>(width);\n const [_title, _setTitle] = useState<ReactNode>(title);\n const [_footer, _setFooter] = useState<ReactNode>(footer);\n const [_footerClassName, _setFooterClassName] = useState<ReactNode>(footerClassName);\n const [_closable, _setClosable] = useState<boolean>(props.closable);\n const [_full, _setFull] = useState<boolean>(props.full);\n const [_noPadding, _setNoPadding] = useState<boolean>(props.noPadding);\n const [_gallery, _setGallery] = useState<boolean>(props.gallery);\n const [_tabletPopup, _setTabletPopup] = useState<boolean>(props.tabletPopup);\n const [_footerFixed, _setFooterFixed] = useState<boolean>(props.footerFixed);\n const [_sidebar, _setSidebar] = useState<boolean>(sidebar);\n const [_showClose, _setShowClose] = useState<boolean>(showClose);\n const [_maskClosable, _setMaskClosable] = useState<boolean>(maskClosable);\n const [_grayBackground, _setGrayBackground] = useState<boolean>(props.grayBackground);\n\n useEffect(() => {\n const html = document.firstElementChild as HTMLElement;\n const container = document.body.firstElementChild as HTMLDivElement;\n const scrollTop = html.scrollTop;\n const isOpen = open;\n if (open) {\n document.body.style.overflowY = 'auto';\n html.style.overflowY = 'hidden';\n container.style.transform = `translateY(-${scrollTop}px)`;\n html.style.overscrollBehavior = 'none';\n }\n\n return () => {\n document.body.style.overflowY = '';\n html.style.overflowY = '';\n container.style.transform = '';\n html.style.overscrollBehavior = '';\n\n if (isOpen) {\n let item = html.offsetHeight;\n console.log(item);\n html.scrollTop = scrollTop;\n }\n };\n }, [open]);\n\n useEffect(() => {\n return () => {\n const html = document.firstElementChild as HTMLElement;\n const container = document.body.firstElementChild as HTMLDivElement;\n\n document.body.style.overflowY = '';\n html.style.overflowY = '';\n container.style.transform = '';\n html.style.overscrollBehavior = '';\n };\n }, []);\n\n const handleCancel = useCallback(() => {\n setOpen(false);\n }, []);\n\n const handleOpen = useCallback((data) => {\n setData(data);\n setTimeout(() => {\n setOpen(true);\n }, 1);\n }, []);\n\n useEffect(() => {\n if (!ref) {\n return;\n }\n\n ref.current = {\n open: handleOpen,\n close: handleCancel,\n setTitle: _setTitle,\n setFooter: _setFooter,\n setClosable: _setClosable,\n setWidth: _setWidth,\n setFooterFixed: _setFooterFixed,\n setFull: _setFull,\n setGallery: _setGallery,\n setSidebar: _setSidebar,\n setShowCloseIcon: _setShowClose,\n setMaskClosable: _setMaskClosable,\n setTabletPopup: _setTabletPopup,\n setGrayBackground: _setGrayBackground,\n setNoPadding: _setNoPadding,\n setFooterClassName: _setFooterClassName,\n };\n }, [ref?.current]);\n\n return (\n //@ts-ignore\n <AntdModal\n open={open}\n closable={_closable}\n maskClosable={_maskClosable}\n destroyOnClose={true}\n afterClose={() => {\n setData(null);\n setOpen(false);\n\n document.body.style.overflowY = '';\n }}\n width={_width}\n closeIcon={<Icon className={styles.close} size=\"medium\" icon={ModalCloseIcon} />}\n onCancel={handleCancel}\n title={\n typeof _title === 'string' ? (\n shared.isWbTheme ? (\n <Heading level={2} mobLevel={2}>\n {_title}\n </Heading>\n ) : (\n <Heading className={styles.header} level={4}>\n {_title}\n </Heading>\n )\n ) : (\n _title\n )\n }\n footer={_footer ? <div className={classNames(styles.footer, _footerClassName)}>{_footer}</div> : null}\n maskTransitionName=\"\"\n transitionName=\"\"\n className={classNames({\n 'ant-modal-hide-close': !_showClose,\n 'ant-modal-sidebar': _sidebar,\n 'ant-modal-footer-fixed': _footerFixed && !!_footer,\n 'ant-modal-full': _full,\n 'ant-modal-gallery': _gallery,\n 'ant-modal-gray': _grayBackground,\n 'ant-modal-no-padding': _noPadding,\n })}\n wrapClassName={classNames({\n 'ant-modal-tablet-popup': _tabletPopup,\n })}\n >\n {children}\n {!!Component && <Component {...props} data={data} modal={ref.current} />}\n </AntdModal>\n );\n}\n\nexport const Modal = forwardRef<IModalRef, IModalProps<any>>(_Modal);\n","import React from 'react';\n\nimport { createContext, createRef, PropsWithChildren, RefObject, useContext, useMemo, useState } from 'react';\nimport { IModalRef, Modal } from './modal';\nimport { uuidv4 } from '@shared/utils';\n\ntype IModalContextPrivate = {\n create: (component: any, initialProps: any) => RefObject<IModalRef<any>>;\n};\n\ntype IModalObj = {\n ref: RefObject<IModalRef<any>>;\n id: any;\n component: any;\n initialProps: any;\n};\n\nconst modalContext = createContext<IModalContextPrivate>(null);\n\nexport const ModalProvider = ({ children }: PropsWithChildren<any>) => {\n const [modals, setModals] = useState<IModalObj[]>([]);\n\n const value = useMemo(\n () => ({\n create: (component: any, initialProps: any) => {\n const ref = createRef<IModalRef>();\n const id = uuidv4();\n setModals((prev) => prev.concat({ ref, id, component, initialProps }));\n\n return ref;\n },\n }),\n []\n );\n\n return (\n <modalContext.Provider value={value}>\n {children}\n {modals.map((modal) => (\n <Modal key={modal.id} ref={modal.ref} component={modal.component} {...modal.initialProps} />\n ))}\n </modalContext.Provider>\n );\n};\n\nexport const useModal = (component: any, initialProps?: any) => {\n const data = useContext(modalContext);\n\n const res = useMemo(() => data.create(component, initialProps || {}), [component]);\n\n if (!data) {\n throw new Error('Не подключен ModalProvider');\n }\n\n return res;\n};\n","var _circle, _path;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgArrowPrev(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 49 48\",\n fill: \"none\",\n width: \"1em\",\n height: \"1em\"\n }, props), _circle || (_circle = /*#__PURE__*/React.createElement(\"circle\", {\n cx: 24.5,\n cy: 24,\n r: 24,\n fill: \"#F6F6F6\"\n })), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n fillRule: \"evenodd\",\n clipRule: \"evenodd\",\n d: \"M28.207 17.293a1 1 0 010 1.414L22.914 24l5.293 5.293a1 1 0 01-1.414 1.414l-6-6a1 1 0 010-1.414l6-6a1 1 0 011.414 0z\",\n fill: \"#000\"\n })));\n}\nexport default SvgArrowPrev;","import React, { useCallback, useEffect, useState } from 'react';\nimport ArrowNext from '../icon/icons/arrow-next.svg';\nimport ArrowPrev from '../icon/icons/arrow-prev.svg';\nimport styles from './gallery.module.scss';\nimport { PropsWithModal } from '@shared/modal';\nimport { Text } from '@shared/text';\n\ninterface IImageUrl {\n thumbWebp?: string;\n thumbJpeg?: string;\n jpeg: string;\n webp?: string;\n}\n\nexport interface IGalleryModalData {\n imageUrls: IImageUrl[];\n currentIndex: number;\n isImageCounter?: boolean;\n}\n\n/**\n * A gallery component for displaying a list of images in a modal.\n *\n * @param {Object} props.modal - The modal instance to use for displaying the gallery.\n * @param {function} props.modal.setGallery - Function to set the gallery state in the modal.\n * @param {IGalleryModalData} props.data - The data for the gallery.\n * @param {IImageUrl[]} props.data.imageUrls - An array of image URLs to display in the gallery\n * @param {number} props.data.currentIndex - The index of the currently displayed image.\n * @param {boolean} [props.data.isImageCounter=true] - Whether to display an image counter.\n * @returns {JSX.Element} A JSX element representing the gallery.\n */\n\nexport const Gallery = ({ modal, data }: PropsWithModal<{}, IGalleryModalData>) => {\n const { imageUrls, currentIndex = 0, isImageCounter = true } = data;\n\n const [current, setCurrent] = useState(currentIndex);\n\n useEffect(() => {\n modal.setGallery(true);\n }, []);\n\n const onNext = useCallback(() => {\n if (imageUrls.length <= current + 1) {\n setCurrent(0);\n } else {\n setCurrent(current + 1);\n }\n }, [imageUrls.length, current]);\n\n const onPrev = useCallback(() => {\n if (current - 1 < 0) {\n setCurrent(imageUrls.length - 1);\n } else {\n setCurrent(current - 1);\n }\n }, [imageUrls.length, current]);\n\n useEffect(() => {\n const handleKeyDown = (event: KeyboardEvent) => {\n if (event.key === 'ArrowRight') {\n onNext();\n } else if (event.key === 'ArrowLeft') {\n onPrev();\n }\n };\n\n window.addEventListener('keydown', handleKeyDown);\n return () => window.removeEventListener('keydown', handleKeyDown);\n }, [onNext, onPrev]);\n\n const getSliderPictures = () => {\n if (imageUrls[current]?.webp) {\n return (\n <figure>\n <picture>\n <source type=\"image/webp\" srcSet={`${imageUrls[current].thumbWebp} 1x, ${imageUrls[current].webp} 1x`} />\n <source type=\"image/jpeg\" srcSet={`${imageUrls[current]?.jpeg} 1x, ${imageUrls[current]?.thumbJpeg} 1x`} />\n <img\n src={decodeURI(imageUrls[current].jpeg)}\n srcSet={`${imageUrls[current]?.jpeg} 1x, ${imageUrls[current].thumbJpeg} 1x`}\n alt=\"Gallery image\"\n loading=\"lazy\"\n />\n </picture>\n </figure>\n );\n }\n return (\n <figure className={styles.galleryOnlyPicContainer}>\n <img src={decodeURI(imageUrls[current].jpeg)} alt=\"Gallery image\" loading=\"lazy\" />\n </figure>\n );\n };\n\n return (\n <div className={styles.gallery}>\n <ArrowNext className={styles.buttonNext} onClick={onNext} />\n <ArrowPrev className={styles.buttonPrev} onClick={onPrev} />\n {getSliderPictures()}\n {isImageCounter && (\n <Text weight=\"semibold\" className={styles.counter}>\n {current + 1} из {imageUrls.length}\n </Text>\n )}\n </div>\n );\n};\n","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"antd/lib/radio\");","import React from 'react';\n\nimport { Text } from '@shared/text';\nimport AntRadio from 'antd/lib/radio';\nimport { RadioChangeEvent, RadioGroupProps } from 'antd/lib/radio';\nimport { CheckboxValueType } from 'antd/lib/checkbox/Group';\nimport cn from 'classnames';\nimport { useCallback, useEffect, useMemo, useState } from 'react';\n\nimport styles from './radio.module.scss';\nimport { useShared } from '../../providers/shared.provider';\n\ninterface IRadioOption<T> {\n label: string;\n value: CheckboxValueType;\n disabled?: boolean;\n data: T;\n}\n\ntype IRadioProps<T> = Omit<RadioGroupProps, 'options' | 'onChange' | 'value'> & {\n options: T[] | T;\n labels?: { [key: string]: string };\n valueKey?: string;\n labelKey?: string;\n value?: any;\n onChange?: (value: T, e?: MouseEvent) => void;\n position?: 'vertical' | 'horizontal';\n className?: string;\n error?: boolean;\n isWbTheme?: boolean;\n};\n\nfunction formatItemToOption<T = any>(\n item: any,\n valueKey: string,\n labelKey: string,\n labels: { [key: string]: string },\n disabled: boolean\n) {\n if (['string', 'number', 'boolean'].includes(typeof item)) {\n return {\n label: labels ? labels[`${item}`] : item,\n value: item,\n data: item,\n disabled: disabled,\n } as IRadioOption<T>;\n }\n\n return {\n label: item[labelKey],\n value: item[valueKey],\n data: item,\n disabled: disabled,\n } as IRadioOption<T>;\n}\n\nexport function Radio<T = any>({\n options,\n position = 'horizontal',\n valueKey,\n labelKey,\n labels,\n className,\n error,\n isWbTheme,\n ...props\n}: IRadioProps<T>) {\n const shared = useShared();\n\n const [value, setValue] = useState<any>();\n\n const _options = useMemo(() => {\n let _options = null;\n if (Array.isArray(options)) {\n _options = options;\n }\n\n if (options) {\n _options = Object.values(options);\n }\n\n return _options?.map((option) => formatItemToOption(option, valueKey, labelKey, labels, option.disabled)) || null;\n }, [options, labels]);\n\n useEffect(() => {\n if (!options) {\n return;\n }\n\n const res = _options?.find(\n (option) => (props.value && option.value === props.value[valueKey]) || option.value === props.value\n );\n setValue(res?.value);\n }, [props.value, _options]);\n\n const _onChange = useCallback(\n (e: RadioChangeEvent) => {\n const value = _options.find((option) => option.value === e.target.value);\n setValue(value.value);\n props.onChange && props.onChange(value?.data, e.nativeEvent);\n },\n [props.onChange, _options]\n );\n\n const classNames = useMemo(\n () =>\n cn('ant-radio-customize', className, {\n [styles.invalid]: error,\n isWbTheme: shared.isWbTheme || isWbTheme,\n }),\n [className, error]\n );\n\n const labelClassNames = useMemo(() => cn({ [styles.invalid]: error }), [error]);\n\n return (\n //@ts-ignore\n <AntRadio.Group className={cn('ant-radio-group-customize', position)} {...props} onChange={_onChange} value={value}>\n {_options.map((option, index) => (\n //@ts-ignore\n <AntRadio\n className={cn(classNames, { [styles.disabled]: option.disabled })}\n key={index}\n value={option.value}\n disabled={option.disabled}\n >\n <Text size=\"large\" className={labelClassNames}>\n {option.label}\n </Text>\n </AntRadio>\n ))}\n </AntRadio.Group>\n );\n}\n","import React, { ComponentProps, forwardRef, useCallback } from 'react';\n\nimport generatePicker from 'antd/lib/date-picker/generatePicker';\nimport dateFnsGenerateConfig from 'rc-picker/lib/generate/dateFns';\nimport ClearIcon from '../icon/icons/clear.svg';\nimport DatePickerIcon from '../icon/icons/date-picker.svg';\n\nimport locale from 'antd/lib/date-picker/locale/ru_RU';\nimport { Icon } from '../icon';\nlocale.lang.locale = 'ru';\n\nconst AntDatePicker = generatePicker<Date>(dateFnsGenerateConfig);\n\ntype IRangePickerProps = {\n isFromToday?: boolean;\n onClear?: (e: any) => void;\n} & ComponentProps<typeof AntDatePicker.RangePicker>;\n\nexport const RangePicker = forwardRef(({ onClear, ...props }: IRangePickerProps, ref) => {\n const disabledDate = useCallback(\n (current: Date) => {\n if (props.disabledDate && props.disabledDate(current)) {\n return true;\n }\n\n if (props.isFromToday) {\n const date = new Date();\n date.setHours(0);\n date.setMinutes(0);\n date.setSeconds(0);\n date.setMilliseconds(0);\n return current && current.getTime() < date.getTime();\n }\n\n return false;\n },\n [props.isFromToday, props.disabledDate]\n );\n\n // @ts-ignore\n return (\n // @ts-ignore\n <AntDatePicker.RangePicker\n locale={locale}\n pickerRef={ref as any}\n {...props}\n disabledDate={disabledDate}\n suffixIcon={props.suffixIcon || <Icon icon={DatePickerIcon} />}\n clearIcon={\n <div onClick={onClear}>\n <Icon icon={ClearIcon} />\n </div>\n }\n />\n );\n});\n","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"antd/lib/select\");","var _path;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgArrow(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 25 24\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n fillRule: \"evenodd\",\n clipRule: \"evenodd\",\n d: \"M17.544 9.295a.998.998 0 00-1.41-.001L12.25 13.17 8.365 9.294a.998.998 0 00-1.41 1.411l4.588 4.588a1 1 0 001.414 0l4.587-4.588a.998.998 0 000-1.41z\",\n fill: \"#C4C4D4\"\n })));\n}\nexport default SvgArrow;","import React, { useCallback, useEffect, useState } from 'react';\nimport styles from './select.module.scss';\nimport { PropsWithModal } from '@shared/modal';\nimport cn from 'classnames';\nimport classNames from 'classnames';\n\ninterface IContactsModalData {\n title?: string;\n filter: any;\n items: any[];\n onClick: (item: any, option) => void;\n}\n\nexport const SelectModal = ({ modal, data }: PropsWithModal<{}, IContactsModalData>) => {\n const [currentValue, setCurrentValue] = useState(data.items?.find(({ value }) => value === data.filter));\n useEffect(() => {\n modal.setTitle(data.title || 'Выберите вариант');\n }, []);\n\n const _onClick = useCallback((item) => {\n setCurrentValue(item);\n data.onClick(item.value, item);\n }, []);\n\n return (\n <div className={cn(styles.mobileModal)}>\n {data.items.map((item) => (\n <div\n onClick={() => _onClick(item)}\n className={classNames(styles.option, {\n [styles.option_selected]: currentValue?.label === item?.label,\n })}\n >\n {item.label}\n </div>\n ))}\n </div>\n );\n};\n","import React, { forwardRef, ReactElement, Ref } from 'react';\n\nimport AntSelect from 'antd/lib/select';\nimport { SelectProps } from 'antd/lib/select';\nimport cn from 'classnames';\nimport { useCallback, useEffect, useMemo, useRef, useState } from 'react';\nimport debounce from 'lodash.debounce';\n\nimport SelectArrowIcon from '../icon/icons/select-arrow.svg';\nimport ArrowIcon from './icons/arrow.svg';\n\nimport { Icon } from '@shared/icon';\nimport ClearIcon from '../icon/icons/clear.svg';\n\nimport styles from './select.module.scss';\nimport classNames from 'classnames';\nimport { useModal } from '@shared/modal';\nimport { SelectModal } from './select-modal';\nimport { useShared } from '../../providers/shared.provider';\n\nexport interface ISelectOption<T> {\n label: string;\n value: string | number | null | undefined;\n data?: T;\n}\n\ninterface ISelectOptionGroup<T> {\n label: string;\n options: ISelectOption<T>[];\n}\n\ninterface ISelectGroup<T> {\n label: string;\n options: T[];\n}\n\ntype ISelectProps<T> = Omit<SelectProps, 'options' | 'onChange'> & {\n options?: T[] | T;\n optionsGroup?: ISelectGroup<T>[];\n labels?: { [key: string]: string };\n error?: boolean;\n valueKey?: string;\n labelKey?: string;\n labelPlaceholder?: string;\n onServerSearch?: (val: string) => Promise<T[]>;\n onServerSearchGroup?: (val: string) => Promise<ISelectGroup<T>[]>;\n onRenderOption?: (item: T) => React.ReactNode;\n onChange?: (option: T, options?: T[]) => void;\n debounceTimeout?: number;\n stacked?: boolean;\n popupClassName?: string;\n suffixIcon?: any;\n isMobileModal?: boolean;\n modalTitle?: string;\n isWbTheme?: boolean;\n notFoundContent?: React.ReactNode;\n};\n\nfunction formatItemToOption<T = any>(\n item: any,\n valueKey: string = 'value',\n labelKey: string = 'label',\n labels?: ISelectProps<T>['labels']\n) {\n if (['string', 'number', 'boolean'].includes(typeof item)) {\n return {\n label: labels ? labels[`${item}`] : item,\n value: item,\n data: item,\n } as ISelectOption<T>;\n }\n\n return {\n label: item[labelKey],\n value: item[valueKey],\n data: item,\n } as ISelectOption<T>;\n}\n\nfunction InnerSelect<T>(\n {\n debounceTimeout = 500,\n onServerSearch,\n onServerSearchGroup,\n onRenderOption,\n valueKey = 'value',\n labelKey,\n labelPlaceholder,\n labels,\n popupClassName,\n suffixIcon,\n stacked,\n error,\n isMobileModal = false,\n modalTitle,\n disabled,\n isWbTheme,\n notFoundContent = null,\n ...props\n }: ISelectProps<T>,\n ref\n) {\n const shared = useShared();\n const [fetching, setFetching] = useState(false);\n const [serverOptions, setServerOptions] = useState<ISelectOption<T>[]>(null);\n const [optionsGroup, setOptionsGroup] = useState<ISelectOptionGroup<T>[]>(null);\n const modal = useModal(SelectModal, {\n tabletPopup: true,\n });\n\n const [value, setValue] = useState<ISelectOption<T>>();\n const fetchRef = useRef(0);\n\n const isEqual = (option) =>\n option.key === props.value ||\n option.props.data === props.value ||\n (props.value && (option.key === props.value[valueKey] || option.props.value === props.value[valueKey]));\n\n const options = useMemo(() => {\n let _options = null;\n if (Array.isArray(props.options)) {\n _options = props.options;\n }\n\n if (props.options) {\n _options = Object.values(props.options);\n }\n\n return _options?.map((option) => formatItemToOption(option, valueKey, labelKey, labels)) || null;\n }, [props.options, labels]);\n\n useEffect(() => {\n setOptionsGroup(\n props.optionsGroup?.map((group) => ({\n label: group.label,\n options: group.options.map((option) => formatItemToOption(option, valueKey, labelKey, labels)),\n }))\n );\n }, [props.optionsGroup]);\n\n const debounceFetcher = useMemo(() => {\n const loadOptions = (value: string) => {\n fetchRef.current += 1;\n const fetchId = fetchRef.current;\n setFetching(true);\n\n if (!onServerSearch && !onServerSearchGroup) {\n setFetching(false);\n }\n\n onServerSearch &&\n onServerSearch(value)\n .then((newOptions) => {\n if (fetchId !== fetchRef.current) {\n return;\n }\n\n setServerOptions(newOptions?.map((option) => formatItemToOption(option, valueKey, labelKey)));\n setFetching(false);\n })\n .catch(() => {\n setFetching(false);\n setServerOptions([]);\n });\n\n onServerSearchGroup &&\n onServerSearchGroup(value)\n .then((newOptions) => {\n if (fetchId !== fetchRef.current) {\n return;\n }\n\n setOptionsGroup(\n newOptions?.map((group) => ({\n label: group.label,\n options: group.options.map((option) => formatItemToOption(option, valueKey, labelKey, labels)),\n }))\n );\n setFetching(false);\n })\n .catch(() => {\n setFetching(false);\n setOptionsGroup([]);\n });\n };\n\n return debounce(loadOptions, debounceTimeout);\n }, [onServerSearch, onServerSearchGroup, debounceTimeout]);\n\n const _onRenderOptions = useCallback(\n (option: ISelectOption<T>, index: number) => {\n if (onRenderOption) {\n return (\n <AntSelect.Option\n option={option}\n data={option.data}\n key={`${option.value}${index}`}\n label={option.label}\n value={option.value}\n >\n {onRenderOption(option.data)}\n </AntSelect.Option>\n );\n }\n\n return (\n <AntSelect.Option\n option={option}\n data={option.data}\n key={option.value}\n label={option.label}\n value={option.value}\n >\n <div className={classNames({ [styles.hasLabel]: labelPlaceholder })}>\n {!!labelPlaceholder && <label>{labelPlaceholder}</label>}\n <div className={styles.optionText}>{option.label}</div>\n </div>\n </AntSelect.Option>\n );\n },\n [onRenderOption, labelPlaceholder]\n );\n\n const _onRenderGroup = useCallback((group: ISelectOptionGroup<T>) => {\n return <AntSelect.OptGroup label={group.label}>{group.options.map(_onRenderOptions)}</AntSelect.OptGroup>;\n }, []);\n\n const onDropdownVisibleChange = useCallback(\n (open: boolean) => {\n if (!open) {\n setServerOptions(null);\n return;\n }\n },\n [value]\n );\n\n const _options: any[] = useMemo(\n () => (serverOptions || options || []).map(_onRenderOptions),\n [onServerSearch, options, serverOptions]\n );\n\n const _optionsGroup: any[] = useMemo(() => optionsGroup?.map(_onRenderGroup) || null, [optionsGroup]);\n\n const onChange = useCallback(\n (value: any, _option: any) => {\n setValue(value);\n props.onChange &&\n props.onChange(\n _option?.data,\n (serverOptions || options)?.map((i) => i.data)\n );\n modal?.current.close();\n },\n [props.onChange, _options, serverOptions, options, modal?.current]\n );\n\n useEffect(() => {\n let res = props.value && _options?.find(isEqual);\n\n if (_optionsGroup?.length) {\n for (const group of _optionsGroup) {\n res = group.props.children.find(isEqual);\n if (res) break;\n }\n }\n\n setValue(res?.props.value);\n }, [props.value, _options, _optionsGroup]);\n\n const _onClick = useCallback(\n (e) => {\n if (disabled) return;\n\n if (isMobileModal)\n modal?.current.open({\n title: modalTitle,\n filter: value,\n items: options,\n onClick: onChange,\n });\n props?.onClick?.(e);\n },\n [isMobileModal, modal?.current, value, options, onChange, disabled]\n );\n\n return (\n <AntSelect\n {...props}\n ref={ref}\n value={value}\n options={undefined}\n onSearch={onServerSearch || onServerSearchGroup ? debounceFetcher : undefined}\n popupClassName={classNames(popupClassName, {\n isMobileModal: isMobileModal,\n })}\n onDropdownVisibleChange={onDropdownVisibleChange}\n notFoundContent={notFoundContent}\n loading={fetching || props.loading}\n onChange={onChange}\n placeholder={props.placeholder || labelPlaceholder}\n clearIcon={<Icon icon={ClearIcon} />}\n className={cn('ant-select-customize-input', props.className, styles.select, {\n 'select-error': error,\n 'select-stacked': stacked,\n 'select-loading': fetching,\n isWbTheme: shared.isWbTheme || isWbTheme,\n [styles.isWbTheme]: shared.isWbTheme || isWbTheme,\n })}\n suffixIcon={suffixIcon ? suffixIcon : <Icon icon={shared.isWbTheme || isWbTheme ? ArrowIcon : SelectArrowIcon} />}\n onClick={_onClick}\n disabled={disabled}\n >\n {_optionsGroup?.length ? _optionsGroup : _options}\n </AntSelect>\n );\n};\n\nexport const Select = forwardRef(InnerSelect) as <T = any>(\n props: ISelectProps<T>,\n ref: Ref<HTMLInputElement>\n) => ReactElement;\n","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"antd/lib/slider\");","import React from 'react';\n\nimport Slider from 'antd/lib/slider';\nimport { SliderRangeProps, SliderSingleProps } from 'antd/lib/slider';\nimport { useEffect, useState } from 'react';\n\ninterface ISelectorRangeProps extends SliderRangeProps {}\n\nexport const SelectorRange = (props: ISelectorRangeProps) => {\n const [value, setValue] = useState<[number, number]>(props.value);\n\n useEffect(() => {\n setValue(props.value);\n }, [props.value]);\n\n //@ts-ignore\n return <Slider {...props} value={value} onChange={setValue} />;\n};\n\ninterface ISelectorProps extends SliderSingleProps {}\n\nexport const Selector = (props: ISelectorProps) => {\n //@ts-ignore\n return <Slider {...props} />;\n};\n","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"react-loading-skeleton\");","import React from 'react';\n\nimport RLSkeleton, { SkeletonProps } from 'react-loading-skeleton';\nimport { useShared } from '../../providers/shared.provider';\nimport classnames from 'classnames';\n\nimport styles from './skeleton.module.scss';\n\nenum ESkeletonVariant {\n default = 'default',\n inverse = 'inverse',\n}\n\ntype ISkeletonProps = SkeletonProps & {\n isWbTheme?: boolean;\n variant?: keyof typeof ESkeletonVariant;\n};\n\nexport const Skeleton = ({ isWbTheme, variant = ESkeletonVariant.default, ...props }: ISkeletonProps) => {\n const shared = useShared();\n\n return (\n <RLSkeleton\n {...props}\n className={classnames(\n {\n [styles.isWbTheme]: isWbTheme || shared.isWbTheme,\n },\n props.className,\n styles[`skeleton__${variant}`]\n )}\n />\n );\n};\n","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"swiper/react\");","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"swiper\");","import React, { useEffect } from 'react';\nimport { Text } from '@shared/text';\nimport { Swiper, SwiperSlide } from 'swiper/react';\nimport ArrowNext from '../icon/icons/arrow-next.svg';\nimport ArrowPrev from '../icon/icons/arrow-prev.svg';\nimport classnames from 'classnames';\nimport SwiperCore, { Navigation, Autoplay, Controller, EffectFade } from 'swiper';\nimport { useCallback, useMemo, useRef, useState } from 'react';\n\nimport styles from './slider.module.scss';\n\nSwiperCore.use([Navigation, Autoplay, Controller, EffectFade]);\n\ninterface ISliderProps {\n items: any[];\n slidesPerView: any;\n showNavigation?: boolean;\n navPosition?: 'inset' | '';\n renderItem: (item: any, index: number) => any;\n viewItem?: (item: any, index: number) => void;\n loop?: boolean;\n asyncReady?: boolean;\n spaceBetween?: number;\n autoplay?: boolean;\n delay?: number;\n freeMode?: boolean;\n showCounter?: boolean;\n centeredSlides?: boolean;\n className?: string;\n classNamePrev?: string;\n classNameNext?: string;\n touchStartPreventDefault?: boolean;\n overflow?: boolean;\n preloadImages?: boolean;\n shortSwipes?: boolean;\n longSwipes?: boolean;\n longSwipesRatio?: number;\n longSwipesMs?: number;\n preventClicks?: boolean;\n preventClicksPropagation?: boolean;\n speed?: number;\n effect?: 'slide' | 'fade' | 'cube' | 'coverflow' | 'flip';\n}\n\nexport const Slider = ({\n items,\n slidesPerView,\n renderItem,\n viewItem = () => {},\n loop,\n asyncReady,\n showNavigation,\n navPosition = '',\n spaceBetween = 24,\n autoplay = false,\n delay = 10000,\n freeMode,\n showCounter,\n centeredSlides,\n className,\n classNamePrev,\n classNameNext,\n touchStartPreventDefault,\n overflow,\n preloadImages,\n shortSwipes = true,\n longSwipes = true,\n longSwipesMs = 300,\n longSwipesRatio = 0.5,\n preventClicks = true,\n preventClicksPropagation = true,\n effect,\n speed = 1000,\n}: ISliderProps) => {\n const navigationPrevRef = useRef(null);\n const navigationNextRef = useRef(null);\n const [index, setIndex] = useState(0);\n const [ready, setReady] = useState(asyncReady);\n\n const classNames = useMemo(\n () =>\n classnames(styles.slider, className, {\n [styles.sliderAutoLoop]: loop && slidesPerView === 'auto',\n [styles.ready]: ready,\n overflow,\n }),\n [loop, slidesPerView, ready, className, overflow]\n );\n\n const onSlideItem = useCallback(\n (indexItem) => {\n const findItem = items.find((_, index) => index === indexItem);\n viewItem(findItem, indexItem);\n },\n [viewItem]\n );\n\n const renderSliderCounter = useMemo(\n () => (\n <div className={styles.sliderCounterContainer}>\n <div className={styles.sliderCounter}>\n <Text size=\"medium\" attention weight=\"semibold\" className={styles.sliderCounter__text}>\n {index} из {items.length}\n </Text>\n </div>\n </div>\n ),\n [index, items.length, styles]\n );\n\n useEffect(() => {\n if (asyncReady) {\n setReady(true);\n }\n }, [asyncReady]);\n\n return (\n <>\n <div className={classnames(styles.sliderContainer, 'slider')}>\n <div\n ref={navigationPrevRef}\n className={classnames(\n styles.buttonSlider,\n styles[`buttonSlider__prev_${navPosition}`],\n styles[`buttonSlider__prev`],\n {\n [styles[`buttonSlider__hidden`]]: !showNavigation || items?.length <= slidesPerView,\n },\n classNamePrev\n )}\n >\n <ArrowPrev />\n </div>\n <div\n ref={navigationNextRef}\n className={classnames(\n styles.buttonSlider,\n styles[`buttonSlider__next_${navPosition}`],\n styles[`buttonSlider__next`],\n {\n [styles[`buttonSlider__hidden`]]: !showNavigation || items?.length <= slidesPerView,\n },\n classNameNext\n )}\n >\n <ArrowNext />\n </div>\n <Swiper\n preventClicks={preventClicks}\n preventClicksPropagation={preventClicksPropagation}\n shortSwipes={shortSwipes}\n longSwipes={longSwipes}\n longSwipesRatio={longSwipesRatio}\n longSwipesMs={longSwipesMs}\n loop={(loop && items?.length > slidesPerView) || (loop && slidesPerView === 'auto')}\n speed={speed}\n fadeEffect={effect === 'fade' ? { crossFade: true } : undefined}\n effect={effect}\n touchStartPreventDefault={touchStartPreventDefault}\n preloadImages={preloadImages}\n loopedSlides={loop && slidesPerView === 'auto' ? items.length : null}\n centeredSlides={centeredSlides}\n freeMode={freeMode}\n onSlideChange={(sw) => {\n setIndex(sw.realIndex + 1);\n onSlideItem(sw.realIndex);\n }}\n autoplay={\n autoplay\n ? {\n delay,\n disableOnInteraction: true,\n }\n : undefined\n }\n navigation={{\n nextEl: navigationNextRef.current,\n prevEl: navigationPrevRef.current,\n }}\n onImagesReady={(swiper) => {\n swiper.slideTo(0, 0);\n setReady(true);\n }}\n onBeforeInit={(swiper) => {\n if (typeof swiper.params.navigation === 'boolean') {\n return;\n }\n\n swiper.params.navigation.prevEl = navigationPrevRef.current;\n swiper.params.navigation.nextEl = navigationNextRef.current;\n }}\n lazy={{\n checkInView: true,\n loadPrevNext: true,\n }}\n slidesPerView={slidesPerView}\n spaceBetween={spaceBetween}\n className={classNames}\n >\n {items?.map((item, index) => {\n let key: any = index;\n if (typeof item === 'string') {\n key = item;\n }\n\n return (\n <SwiperSlide\n key={key}\n className={classnames(styles.swiperSlide, { [styles.swiperSlideAuto]: slidesPerView === 'auto' })}\n >\n {renderItem(item, index)}\n </SwiperSlide>\n );\n })}\n </Swiper>\n {showCounter && items.length > 1 && renderSliderCounter}\n </div>\n </>\n );\n};\n","var _path;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgSpoilerArrow(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 25 24\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M6.817 9.635A.857.857 0 105.7 10.937l6 5.142a.857.857 0 001.116 0l6-5.143A.857.857 0 1017.7 9.636L12.26 14.3 6.817 9.635z\",\n fill: \"#8B8B8B\"\n })));\n}\nexport default SvgSpoilerArrow;","var _path;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgSpoilerArrowActive(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 24 24\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M6.558 16.08a.857.857 0 11-1.116-1.302l6-5.143a.857.857 0 011.116 0l6 5.143a.857.857 0 11-1.116 1.301L12 11.415l-5.442 4.664z\",\n fill: \"#8B8B8B\"\n })));\n}\nexport default SvgSpoilerArrowActive;","var _path;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgShevronOpened(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 24 24\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n fillRule: \"evenodd\",\n clipRule: \"evenodd\",\n d: \"M6.705 14.706c.39.389 1.02.39 1.41 0L12 10.83l3.884 3.876a.998.998 0 001.41-1.411l-4.587-4.588a1 1 0 00-1.414 0l-4.588 4.588a.998.998 0 000 1.41z\",\n fill: \"#C4C4D4\"\n })));\n}\nexport default SvgShevronOpened;","var _path;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgShevronClosed(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 24 24\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n fillRule: \"evenodd\",\n clipRule: \"evenodd\",\n d: \"M6.705 8.706a.998.998 0 011.41 0L12 12.582l3.884-3.876a.998.998 0 011.41 1.411l-4.587 4.588a1 1 0 01-1.414 0l-4.588-4.588a.998.998 0 010-1.41z\",\n fill: \"#C4C4D4\"\n })));\n}\nexport default SvgShevronClosed;","var _path, _path2;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgDisabled(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 16 16\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M8.662 10.214a.667.667 0 10-1.334 0v1.333a.667.667 0 001.334 0v-1.333z\",\n fill: \"#E0E0EB\"\n })), _path2 || (_path2 = /*#__PURE__*/React.createElement(\"path\", {\n fillRule: \"evenodd\",\n clipRule: \"evenodd\",\n d: \"M3.994 5.212v1.34a2.683 2.683 0 00-.093.005 1.348 1.348 0 00-.513.134 1.334 1.334 0 00-.583.583c-.092.181-.121.361-.134.513a6.12 6.12 0 00-.011.471v3.117c0 .537 0 .98.03 1.34.03.375.096.72.26 1.043.256.502.664.91 1.166 1.166.324.165.669.23 1.043.261.361.03.804.03 1.341.03h2.99c.536 0 .98 0 1.34-.03.375-.03.72-.096 1.043-.26.502-.257.91-.665 1.166-1.167.165-.323.23-.668.261-1.042.03-.361.03-.804.03-1.341V8.258c0-.168 0-.332-.012-.47a1.348 1.348 0 00-.134-.514 1.334 1.334 0 00-.583-.583 1.348 1.348 0 00-.513-.134 2.698 2.698 0 00-.092-.006V5.212a4.001 4.001 0 00-8.002 0zm4-2.667a2.667 2.667 0 00-2.667 2.667v1.334h5.335V5.212a2.667 2.667 0 00-2.667-2.667zm3.994 5.342h-.009a5.464 5.464 0 00-.383-.007H4.394c-.198 0-.306 0-.384.006l-.009.001v.01a5.462 5.462 0 00-.007.383v3.067c0 .571 0 .96.025 1.26.024.292.067.442.12.546.128.251.332.455.583.583.104.053.254.096.546.12.3.025.688.025 1.26.025h2.934c.571 0 .96 0 1.26-.025.292-.024.441-.067.546-.12.25-.128.455-.332.582-.583.054-.104.097-.254.12-.546.025-.3.026-.689.026-1.26V8.28c0-.198 0-.306-.007-.384v-.009z\",\n fill: \"#E0E0EB\"\n })));\n}\nexport default SvgDisabled;","import React from 'react';\n\nimport { PropsWithChildren, ReactNode, useCallback, useState } from 'react';\n\nimport { Icon } from '@shared/icon';\n\nimport SpoilerArrowIcon from '../icon/icons/spoiler-arrow.svg';\nimport SpoilerArrowActiveIcon from '../icon/icons/spoiler-arrow-active.svg';\nimport ShevronOpenedIcon from './icons/shevron-opened.svg';\nimport ShevronClosedIcon from './icons/shevron-closed.svg';\n\nimport styles from './spoiler.module.scss';\nimport classNames from 'classnames';\nimport { useShared } from '../../providers/shared.provider';\n\ninterface ISpoilerProps {\n title: string | ReactNode;\n initialValue?: boolean;\n className?: string;\n isWbTheme?: boolean;\n}\n\nexport const Spoiler = (props: PropsWithChildren<ISpoilerProps>) => {\n const [opened, setOpened] = useState(props.initialValue);\n const shared = useShared();\n\n const onChange = useCallback(() => {\n setOpened((prev) => !prev);\n }, []);\n\n return (\n <div className={classNames(styles.spoiler, props.className)}>\n <div className={styles.title} onClick={onChange.bind(null)}>\n {props.title}\n {!props.isWbTheme && !shared.isWbTheme && (\n <Icon\n size=\"large\"\n variant=\"initial\"\n className={styles.arrow}\n icon={opened ? SpoilerArrowActiveIcon : SpoilerArrowIcon}\n />\n )}\n {(props.isWbTheme || shared.isWbTheme) && (\n <Icon\n size=\"large\"\n variant=\"initial\"\n className={styles.arrow}\n icon={opened ? ShevronOpenedIcon : ShevronClosedIcon}\n />\n )}\n </div>\n {opened && props.children}\n </div>\n );\n};\n","import React, {\n ComponentProps,\n InputHTMLAttributes,\n ReactNode,\n useState,\n forwardRef,\n Ref,\n ReactElement,\n useEffect,\n} from 'react';\nimport cn from 'classnames';\nimport { Input, IInputProps } from '@shared/input';\nimport { Select } from '@shared/select';\n\nimport styles from './stacked-input.module.scss';\nimport { useShared } from '../../providers/shared.provider';\n\nexport interface IStackedInputValue<T> {\n value: string;\n key: T;\n}\n\ntype IStackedInputProps<T> = {\n onChange: (val: string) => void;\n onSearch?: (val: string) => void;\n onSelect?: (key: T) => void;\n options: T[];\n option: T;\n className?: string;\n autoFocus?: boolean;\n showClear?: boolean;\n placeholder?: string;\n labelPlaceholder?: string;\n mask?: IInputProps['mask'];\n value?: string;\n isWbTheme?: boolean,\n onRenderOption?: (item: T) => ReactNode;\n} & ComponentProps<typeof Input> &\n Omit<InputHTMLAttributes<HTMLInputElement>, 'size' | 'variant' | 'onChange'>;\n\nconst InnerStackedInput = <T,>({ onSelect, onRenderOption, options, option, isWbTheme, ...props }: IStackedInputProps<T>, ref) => {\n const [key, setKey] = useState<T>(option || options[0]);\n const shared = useShared();\n const [focusedSelect, setFocusedSelect] = useState(false);\n const [focusedInput, setFocusedInput] = useState(false);\n\n const _onSelect = (key: T) => {\n setKey(key);\n onSelect(key);\n };\n\n useEffect(() => {\n setKey(option);\n }, [option]);\n\n return (\n <div\n className={cn(styles.stacked_input, props.className, {\n [styles.focused]: focusedInput || focusedSelect,\n [styles.isWbTheme]: shared.isWbTheme || isWbTheme,\n })}\n >\n <Select\n className={styles.stacked_input__select}\n size=\"large\"\n options={options}\n onChange={_onSelect}\n value={key}\n suffixIcon={null}\n onRenderOption={onRenderOption}\n dropdownMatchSelectWidth={false}\n onFocus={() => setFocusedSelect(true)}\n onBlur={() => setFocusedSelect(false)}\n stacked\n />\n <Input\n {...props}\n ref={ref}\n className={styles.stacked_input__input}\n labelPlaceholder={props.labelPlaceholder}\n mask={props.mask}\n variant={shared.isWbTheme || isWbTheme ? 'filled' : 'outlined'}\n showClear={props.showClear}\n placeholder={props.placeholder}\n onFocus={() => setFocusedInput(true)}\n onBlur={() => setFocusedInput(false)}\n />\n </div>\n );\n};\n\nexport const StackedInput = forwardRef(InnerStackedInput) as <T>(\n props: IStackedInputProps<T>,\n ref: Ref<HTMLInputElement>\n) => ReactElement;\n","import React from 'react';\n\nimport { useCallback, useEffect, useState } from 'react';\n\nimport styles from './switch.module.scss';\nimport classNames from 'classnames';\nimport { Text } from '@shared/text';\nimport DisabledIcon from './icons/disabled.svg';\n\nenum ESwitchSize {\n small = 'small',\n medium = 'medium',\n large = 'large',\n}\n\ntype ISwitchProps = {\n value?: boolean;\n name?: string;\n title?: string;\n className?: string;\n onChange?: (value: boolean) => void;\n disabled?: boolean;\n size?: keyof typeof ESwitchSize;\n};\n\nexport const Switch = ({size = 'medium', ...props }: ISwitchProps) => {\n const [value, setValue] = useState(props.value);\n\n useEffect(() => setValue(!!props.value), [props.value]);\n\n const onChange = useCallback(() => {\n if (props.disabled) return;\n\n setValue(!value);\n props.onChange && props.onChange(!value);\n }, [value, props.onChange, props.disabled]);\n\n return (\n <div\n className={classNames(styles.switch, props.className, {\n [styles.active]: value,\n [styles.disabled]: props.disabled,\n [styles[size]]: size\n })}\n onClick={onChange}\n >\n <div>{props.disabled && <DisabledIcon />}</div>\n <input name={props.name} type=\"checkbox\" checked={value} disabled={props.disabled} />\n {!!props.title && <Text size={size}>{props.title}</Text>}\n </div>\n );\n};\n","import React from 'react';\n\nimport AntdSelect from 'antd/lib/select';\nimport { SelectProps } from 'antd/lib/select';\nimport classNames from 'classnames';\nimport { useCallback, useEffect, useMemo, useState } from 'react';\nimport { Icon } from '@shared/icon';\nimport ClearIcon from '../icon/icons/clear.svg';\n\nimport styles from './tag-box.module.scss';\n\nexport interface ITagBoxOption<T> {\n label: string;\n value: string | number | null | undefined;\n data?: T;\n}\n\nfunction formatItemToOption<T = any>(\n item: any,\n valueKey: string = 'value',\n labelKey: string = 'label',\n labels?: ITagBoxProps<T>['labels']\n) {\n if (['string', 'number', 'boolean'].includes(typeof item)) {\n return {\n label: labels ? labels[`${item}`] : item,\n value: item,\n data: item,\n } as ITagBoxOption<T>;\n }\n\n return {\n label: item[labelKey],\n value: item[valueKey],\n data: item,\n } as ITagBoxOption<T>;\n}\n\ntype ITagBoxProps<T> = Omit<SelectProps, 'options' | 'onChange'> & {\n options?: T[] | T;\n labels?: { [key: string]: string };\n error?: boolean;\n valueKey?: string;\n labelKey?: string;\n labelPlaceholder?: string;\n onChange?: (option: T[], options?: T[]) => void;\n onRenderOption?: (item: T) => React.ReactNode;\n popupClassName?: string;\n notFoundContent?: React.ReactNode;\n};\n\nexport function TagBox<T>({\n labels,\n valueKey,\n labelKey,\n labelPlaceholder,\n onRenderOption,\n popupClassName,\n notFoundContent = null,\n ...props\n}: ITagBoxProps<T>) {\n const [value, setValue] = useState<ITagBoxOption<T>[]>();\n\n const isEqual = (option) =>\n props.value.some(\n (v) =>\n v === option.key ||\n v === option.props?.data ||\n v === option.props.value ||\n v[valueKey] === option.key ||\n v[valueKey] === option.props.value\n );\n\n const options = useMemo(() => {\n let _options = null;\n if (Array.isArray(props.options)) {\n _options = props.options;\n }\n\n if (props.options) {\n _options = Object.values(props.options);\n }\n\n return _options?.map((option) => formatItemToOption(option, valueKey, labelKey, labels)) || [];\n }, [props.options, labels]);\n\n const _onRenderOptions = useCallback(\n (option: ITagBoxOption<T>, index: number) => {\n if (onRenderOption) {\n return (\n //@ts-ignore\n <AntdSelect.Option\n option={option}\n data={option.data}\n key={`${option.value}${index}`}\n label={option.label}\n value={option.value}\n >\n {onRenderOption(option.data)}\n </AntdSelect.Option>\n );\n }\n\n return (\n //@ts-ignore\n <AntdSelect.Option\n option={option}\n data={option.data}\n key={option.value}\n label={option.label}\n value={option.value}\n >\n <div className={classNames({ [styles.hasLabel]: labelPlaceholder })}>\n {!!labelPlaceholder && <label>{labelPlaceholder}</label>}\n <div className={styles.optionText}>{option.label}</div>\n </div>\n </AntdSelect.Option>\n );\n },\n [onRenderOption, labelPlaceholder]\n );\n\n const _options: any[] = useMemo(() => (options || []).map(_onRenderOptions), [options]);\n\n const onChange = useCallback(\n (value: any, _option: any) => {\n setValue(value);\n props.onChange &&\n props.onChange(\n _option?.map((i) => i.data),\n options?.map((i) => i.data)\n );\n },\n [props.onChange, _options, options]\n );\n\n useEffect(() => {\n let res = props.value && _options?.filter(isEqual);\n setValue(res?.map((i) => i.props.value));\n }, [props.value, _options]);\n\n return (\n //@ts-ignore\n <AntdSelect\n {...props}\n mode=\"multiple\"\n value={value}\n options={undefined}\n popupClassName={popupClassName}\n notFoundContent={notFoundContent}\n onChange={onChange}\n maxTagCount=\"responsive\"\n //@ts-ignore\n removeIcon={<Icon size=\"small\" icon={ClearIcon} />}\n menuItemSelectedIcon={null}\n placeholder={props.placeholder || labelPlaceholder}\n className={classNames('ant-tag-box-customize-input', props.className, styles.select, {\n 'select-error': props.error,\n })}\n >\n {_options}\n </AntdSelect>\n );\n}\n","import React, { PropsWithChildren, useMemo, useCallback } from 'react';\nimport classnames from 'classnames';\n\nimport styles from './tag-button.module.scss';\nimport { useShared } from '../../providers/shared.provider';\n\nexport enum ETagButtonSize {\n small = 'small',\n medium = 'medium',\n large = 'large',\n}\n\nexport enum ETagButtonVariant {\n default = 'default',\n primary = 'primary',\n tertiary = 'tertiary',\n secondary = 'secondary',\n tumbler = 'tumbler',\n green = 'green',\n tab = 'tab',\n text = 'text',\n icons = 'icons',\n custom = 'custom',\n}\n\ninterface IButtonProps {\n variant?: keyof typeof ETagButtonVariant;\n size?: keyof typeof ETagButtonSize;\n icon?: any;\n disabled?: boolean;\n selected?: boolean;\n notChangeSelected?: boolean;\n shadow?: boolean;\n onClick: (e?: boolean) => void;\n selectedClassName?: string;\n isWbTheme?: boolean;\n}\n\nexport const TagButton = ({\n variant = ETagButtonVariant.default,\n size = ETagButtonSize.medium,\n disabled,\n selected,\n children,\n onClick,\n selectedClassName,\n isWbTheme,\n}: PropsWithChildren<IButtonProps>) => {\n const shared = useShared();\n\n const classNames = useMemo(\n () =>\n classnames(styles.button, styles[`button__${variant}`], styles[`button__${size}`], {\n [styles.selected]: selected,\n [selectedClassName]: selected,\n [styles.isWbTheme]: shared.isWbTheme || isWbTheme,\n }),\n [variant, size, disabled, selected]\n );\n\n const _onClick = useCallback(() => {\n onClick();\n }, [onClick]);\n\n return (\n <div className={classNames} onClick={_onClick}>\n <span>{children}</span>\n </div>\n );\n};\n","import React from 'react';\n\nimport { useCallback, useEffect, useMemo, useState } from 'react';\nimport { ETagButtonSize, ETagButtonVariant, TagButton } from './tag-button';\n\nimport styles from './tag-button.module.scss';\nimport classNames from 'classnames';\n\ninterface ITagButtonGroupProps<T> {\n variant?: keyof typeof ETagButtonVariant;\n className?: string;\n selectedClassName?: string;\n labels?: { [key: string]: string };\n size?: keyof typeof ETagButtonSize;\n options: T[];\n onChange?: (value: T) => void;\n onRenderLabel?: (value: T, active: boolean) => void;\n value?: T;\n valueKey?: string;\n labelKey?: string;\n}\n\ninterface ITagOption<T> {\n label: string;\n value: string;\n data: T;\n}\n\nfunction formatItemToOption<T = any>(\n item: any,\n valueKey: string = 'value',\n labelKey: string = 'label',\n labels?: ITagButtonGroupProps<T>['labels']\n) {\n if (['string', 'number', 'boolean'].includes(typeof item)) {\n return {\n label: labels ? labels[`${item}`] : item,\n value: item,\n data: item,\n } as ITagOption<T>;\n }\n\n return {\n label: item[labelKey],\n value: item[valueKey],\n data: item,\n } as ITagOption<T>;\n}\n\nexport function TagButtonGroup<T>({\n labelKey = 'label',\n valueKey = 'value',\n labels,\n className,\n selectedClassName,\n ...props\n}: ITagButtonGroupProps<T>) {\n const [value, setValue] = useState<ITagOption<T>>();\n\n const options = useMemo(() => {\n let _options = null;\n if (Array.isArray(props.options)) {\n _options = props.options;\n }\n\n if (props.options) {\n _options = Object.values(props.options);\n }\n\n return _options?.map((option) => formatItemToOption(option, valueKey, labelKey, labels)) || null;\n }, [props.options, labels]);\n\n const onChange = useCallback(\n (val: ITagOption<T>) => {\n const option = options?.find(\n (option) => option.value === val.value || option.data === val.value || option.value === val[valueKey]\n );\n setValue(option);\n props.onChange && props.onChange(option?.data);\n },\n [props.onChange]\n );\n\n useEffect(() => {\n const res =\n props.value &&\n options?.find(\n (option) =>\n option.value === props.value || option.data === props.value || option.value === props.value[valueKey]\n );\n\n setValue(res);\n }, [props.value, options]);\n\n return (\n <div className={classNames(styles.tagButtonGroup, className)}>\n {options.map((item) => (\n <TagButton\n key={item.value}\n variant={props.variant}\n size={props.size}\n selected={value === item}\n onClick={onChange.bind(null, item)}\n selectedClassName={selectedClassName}\n >\n {props.onRenderLabel ? props.onRenderLabel(item.data, value === item) : item.label}\n </TagButton>\n ))}\n </div>\n );\n}\n","import React, { useMemo, ChangeEvent, forwardRef, useRef, TextareaHTMLAttributes, ReactNode } from 'react';\nimport classnames from 'classnames';\nimport Loader from '../icon/icons/input-loader.svg';\nimport Clear from '../icon/icons/clear.svg';\n\nimport styles from './text-area.module.scss';\nimport { useState } from 'react';\nimport { useCallback } from 'react';\nimport { useEffect } from 'react';\nimport { useCombinedRefs } from '@shared/utils/combine-ref';\nimport { useShared } from '../../providers/shared.provider';\n\nconst observe = function (element, event, handler) {\n element.addEventListener(event, handler, false);\n};\n\nconst deobserve = function (element, event, handler) {\n element.removeEventListener(event, handler);\n};\n\nfunction resizeFn(text: HTMLTextAreaElement) {\n const resize = () => {\n text.style.height = 'auto';\n text.style.height = `${2 + text.scrollHeight}px`;\n };\n\n /* 0-timeout to get the already changed text */\n function delayedResize() {\n window.setTimeout(resize, 0);\n }\n\n observe(text, 'change', resize);\n observe(text, 'cut', delayedResize);\n observe(text, 'paste', delayedResize);\n observe(text, 'drop', delayedResize);\n observe(text, 'keydown', delayedResize);\n observe(text, 'input', resize);\n\n // text.select();\n resize();\n\n return () => {\n deobserve(text, 'change', resize);\n deobserve(text, 'cut', delayedResize);\n deobserve(text, 'paste', delayedResize);\n deobserve(text, 'drop', delayedResize);\n deobserve(text, 'keydown', delayedResize);\n deobserve(text, 'input', resize);\n };\n}\n\nexport enum ETextAreaVariant {\n filled = 'filled',\n outlined = 'outlined',\n}\n\nexport enum ETextAreaSize {\n small = 'small',\n medium = 'medium',\n large = 'large',\n}\n\nexport enum ETextAreaBorder {\n circle = 'circle',\n normal = 'normal',\n}\n\ntype ITextAreaProps = {\n invalid?: boolean;\n icon?: any;\n variant?: keyof typeof ETextAreaVariant;\n size?: keyof typeof ETextAreaSize;\n border?: ETextAreaBorder;\n loading?: boolean;\n showClear?: boolean;\n adaptive?: boolean;\n autoResize?: boolean;\n placeholder?: string;\n labelPlaceholder?: string | ReactNode;\n isWbTheme?: boolean;\n onClear?: () => void;\n onSearch?: (e: any) => void;\n onChange?: (value: string, event?: ChangeEvent<HTMLTextAreaElement>) => void;\n} & Omit<TextareaHTMLAttributes<HTMLTextAreaElement>, 'size' | 'variant' | 'onChange'>;\n\nexport const TextArea = forwardRef<HTMLTextAreaElement, ITextAreaProps>(\n (\n {\n onChange,\n onFocus = () => {},\n onBlur = () => {},\n onClear,\n onSearch,\n icon: Icon,\n name,\n required,\n disabled,\n value,\n placeholder,\n labelPlaceholder,\n style,\n loading,\n showClear,\n invalid,\n autoFocus,\n size = ETextAreaSize.medium,\n variant = ETextAreaVariant.outlined,\n border = ETextAreaBorder.normal,\n adaptive,\n autoResize,\n isWbTheme,\n ...props\n }: ITextAreaProps,\n ref\n ) => {\n const shared = useShared();\n\n const [_value, _setValue] = useState(value);\n\n const innerRef = useRef<HTMLTextAreaElement>();\n const combineRef: React.MutableRefObject<HTMLTextAreaElement> = useCombinedRefs(ref, innerRef);\n\n useEffect(() => _setValue(value), [value]);\n\n useEffect(() => {\n if (autoFocus && combineRef.current) {\n combineRef.current.focus();\n }\n }, [autoFocus, combineRef]);\n\n useEffect(() => {\n let unsubscribe;\n\n if (combineRef && combineRef.current) {\n combineRef.current.value = '';\n combineRef.current.value = `${value || ''}`;\n unsubscribe = resizeFn(combineRef.current);\n\n return () => {\n unsubscribe();\n };\n }\n\n return () => {\n unsubscribe && unsubscribe();\n };\n }, [autoResize, combineRef]);\n\n const classNames = useMemo(\n () =>\n classnames(\n styles.textarea,\n styles[`textarea__${variant}`],\n styles[`textarea__${size}`],\n styles[`textarea__border_${border}`],\n {\n [styles[`textarea__${size}_adaptive`]]: adaptive,\n [styles[`textarea__action_${size}`]]: Icon || loading || showClear,\n [styles[`textarea__actions_${size}`]]: (Icon || loading) && showClear,\n [styles.textarea__disabled]: disabled,\n [styles.isWbTheme]: shared.isWbTheme || isWbTheme,\n }\n ),\n [variant, size, border, disabled, loading, showClear, adaptive]\n );\n\n const inputClassNames = useMemo(\n () =>\n classnames(props.className, {\n [styles.invalid]: invalid,\n [styles.empty]: !_value,\n }),\n [invalid, props.className, _value]\n );\n\n const clearClassNames = useMemo(\n () =>\n classnames(styles.clear, styles[`clear__${variant}`], styles[`clear__${size}`], {\n [styles[`clear__action_${size}`]]: Icon || loading,\n [styles.isWbTheme]: shared.isWbTheme || isWbTheme,\n }),\n [variant, size, Icon, loading]\n );\n\n const loaderClassNames = useMemo(\n () =>\n classnames(styles.loader, styles[`loader__${variant}`], styles[`loader__${size}`], {\n [styles.isWbTheme]: shared.isWbTheme || isWbTheme,\n }),\n [variant, size]\n );\n\n const iconClassNames = useMemo(\n () =>\n classnames(styles.icon, styles[`icon__${variant}`], styles[`icon__${size}`], {\n [styles.isWbTheme]: shared.isWbTheme || isWbTheme,\n }),\n [variant, size]\n );\n\n const _onChange = useCallback((e: ChangeEvent<HTMLTextAreaElement>) => {\n _setValue(e.target.value);\n if (onChange) {\n onChange(e.target.value, e);\n }\n }, []);\n\n const _onSearch = useCallback(() => {\n if (onSearch) {\n onSearch(_value);\n }\n }, [onSearch]);\n\n const _onClear = useCallback(() => {\n _setValue(undefined);\n\n if (onClear) {\n onClear();\n }\n }, [onClear]);\n\n const labelClassNames = useMemo(() => classnames(styles.label), []);\n\n return (\n <div className={classNames}>\n {labelPlaceholder && _value && <div className={labelClassNames}>{labelPlaceholder}</div>}\n <textarea\n {...props}\n className={inputClassNames}\n ref={combineRef}\n name={name}\n disabled={disabled}\n placeholder={placeholder}\n value={_value || ''}\n onChange={_onChange}\n onFocus={onFocus}\n onBlur={onBlur}\n required={required}\n style={style}\n />\n {showClear && _value && <Clear className={clearClassNames} onClick={_onClear} />}\n {Icon && !loading && <Icon className={iconClassNames} onClick={_onSearch} />}\n {loading && <Loader className={loaderClassNames} />}\n </div>\n );\n }\n);\n","import classnames from 'classnames';\nimport React, { PropsWithChildren, useMemo, useState } from 'react';\n\nimport styles from './text-spoiler.module.scss';\nimport { ELinkVariant, Link } from '@shared/link';\nimport { ELinkSize } from '@shared/link/link';\n\nexport const TextSpoiler = (props: PropsWithChildren<{}>) => {\n const [isOpen, setOpen] = useState(false);\n\n const classNames = useMemo(\n () =>\n classnames(styles.textSpoiler, {\n [styles.openText]: isOpen,\n }),\n [isOpen],\n );\n\n return (\n <div>\n <div className={classNames}>{props.children}</div>\n <Link bold size={ELinkSize.large} variant={ELinkVariant.action} onClick={() => setOpen(!isOpen)}>\n {isOpen ? 'Свернуть' : 'Читать далее'}\n </Link>\n </div>\n );\n};\n","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"react-dom\");","import { CSSProperties } from 'react';\n\nexport enum TooltipPosition {\n left = 'left',\n top = 'top',\n right = 'right',\n bottom = 'bottom',\n}\n\nexport const isCurrent = (e: Event, element: Element): any => {\n const find = (el: HTMLElement) => {\n if (el === element) {\n return el;\n }\n\n return el?.parentElement && find(el.parentElement);\n };\n\n if (find(e.target as HTMLElement)) {\n return true;\n }\n};\n\nexport const findTargetElement = (element: Element) => {\n let elem = element;\n\n const find = (child: Element) => {\n if (child.getAttribute('data-tooltip-target')) {\n elem = child;\n }\n\n if (child.children.length) {\n return Array.prototype.slice.call(child.children, 0).find(find);\n }\n };\n\n find(element);\n\n return elem;\n};\n\nexport const getScrollTopParent = (element: HTMLElement): HTMLElement | null => {\n if (element?.scrollHeight > element?.clientHeight) {\n return element;\n }\n\n if (element?.parentElement) {\n return getScrollTopParent(element.parentElement);\n }\n\n return null;\n};\n\nexport const recalcArrowStyles = (\n targetElement: Element,\n tooltipProperties: CSSProperties,\n position: TooltipPosition\n): CSSProperties => {\n const { left, width } = targetElement.getBoundingClientRect();\n\n switch (position) {\n case TooltipPosition.top:\n return { left: left - (tooltipProperties.left as number) + width / 2 };\n case TooltipPosition.bottom:\n return { left: left - (tooltipProperties.left as number) + width / 2 };\n case TooltipPosition.left:\n return {};\n case TooltipPosition.right:\n return {};\n }\n};\n\nexport const recalcStyles = (\n targetElement: Element,\n tooltipElement: HTMLDivElement,\n position: TooltipPosition\n): CSSProperties => {\n const { top, left, width, height } = targetElement.getBoundingClientRect();\n const { width: tooltipWidth, height: tooltipHeight } = tooltipElement.getBoundingClientRect();\n\n let leftPosition = 0;\n if ([TooltipPosition.top, TooltipPosition.bottom].includes(position)) {\n leftPosition = left + width / 2 - tooltipWidth / 2;\n if (leftPosition + tooltipElement.offsetWidth > document.body.offsetWidth) {\n leftPosition -= leftPosition + tooltipElement.offsetWidth - document.body.offsetWidth;\n }\n if (leftPosition < 0) {\n leftPosition = 0;\n }\n }\n\n switch (position) {\n case TooltipPosition.top:\n return { top: top - tooltipHeight, left: leftPosition, opacity: 1 };\n case TooltipPosition.bottom:\n return { top: top + height, left: leftPosition, opacity: 1 };\n case TooltipPosition.left:\n return { top: top + height / 2 - tooltipHeight / 2, left: left - tooltipWidth, opacity: 1 };\n case TooltipPosition.right:\n return { top: top + height / 2 - tooltipHeight / 2, left: left + width, opacity: 1 };\n }\n};\n","import { createPortal } from 'react-dom';\nimport classNames from 'classnames';\nimport React, {\n CSSProperties,\n MouseEvent as ReactMouseEvent,\n PropsWithChildren,\n TouchEvent as ReactTouchEvent,\n useCallback,\n useEffect,\n useMemo,\n useRef,\n useState,\n} from 'react';\n\nimport styles from './tooltip.module.scss';\nimport { useMedia, withMedia } from '@shared/media';\nimport {\n TooltipPosition,\n findTargetElement,\n getScrollTopParent,\n isCurrent,\n recalcArrowStyles,\n recalcStyles,\n} from './tooltip.utils';\nimport { useShared } from '../../providers/shared.provider';\n\ntype ITootipProps = {\n title: any;\n className?: string;\n onOpenChange?: (val: boolean) => void;\n placement?: keyof typeof TooltipPosition;\n trigger?: any;\n isWbTheme?: boolean;\n};\n\nexport const Tooltip = withMedia(({ placement = 'top', isWbTheme, ...props }: PropsWithChildren<ITootipProps>) => {\n const shared = useShared();\n const media = useMedia();\n\n const ref = useRef<HTMLDivElement>(null);\n const refTooltip = useRef<HTMLDivElement>(null);\n const refArrow = useRef<HTMLDivElement>(null);\n\n const [opened, setOpened] = useState<boolean>(false);\n const [stylesTooltip, setStylesTooltip] = useState<CSSProperties>();\n const [stylesArrow, setStylesArrow] = useState<CSSProperties>();\n\n const scrollElement = useRef<HTMLElement>(null);\n\n const recalcPosition = useCallback(() => {\n if (!refTooltip.current || !ref.current) return;\n\n const targetElement = findTargetElement(ref.current);\n const res = recalcStyles(targetElement, refTooltip.current, placement as TooltipPosition);\n setStylesTooltip(res);\n setStylesArrow(recalcArrowStyles(targetElement, res, placement as TooltipPosition));\n }, []);\n\n useEffect(() => {\n return () => {\n setOpened(false);\n };\n }, []);\n\n useEffect(() => {\n recalcPosition();\n\n setTimeout(() => {\n recalcPosition();\n });\n }, [props.title]);\n\n const onTouchStart = useCallback((e: ReactTouchEvent) => {\n e.stopPropagation();\n return;\n }, []);\n\n const onClose = useCallback((e?: Event | ReactMouseEvent) => {\n if (e instanceof Event && isCurrent(e, ref.current)) {\n return;\n }\n\n setOpened(false);\n setStylesTooltip(null);\n\n scrollElement.current && scrollElement.current.parentElement?.removeEventListener('scroll', onClose);\n document.removeEventListener('scroll', onClose);\n document.body.removeEventListener('touchstart', onClose);\n document.body.removeEventListener('click', onClose);\n }, []);\n\n const onOpen = useCallback(\n (e: ReactMouseEvent) => {\n e.stopPropagation();\n if (opened) {\n media.mobile && onClose();\n return;\n }\n\n setOpened(true);\n props.onOpenChange && props.onOpenChange(true);\n\n setTimeout(() => {\n recalcPosition();\n\n const element = getScrollTopParent(ref.current);\n if (element) {\n scrollElement.current = element;\n element.parentElement.addEventListener('scroll', onClose);\n document.addEventListener('scroll', onClose);\n document.body.addEventListener('click', onClose);\n document.body.addEventListener('touchstart', onClose);\n }\n }, 10);\n },\n [props.onOpenChange, opened]\n );\n\n const title = useMemo(\n () => (\n <div\n ref={refTooltip}\n style={stylesTooltip}\n className={classNames(styles.tooltip, styles[placement], { [styles.isWbTheme]: shared.isWbTheme || isWbTheme })}\n >\n {props.title}\n <div ref={refArrow} style={stylesArrow} className={styles.arrow}></div>\n </div>\n ),\n [stylesTooltip, stylesArrow, props.title]\n );\n\n return (\n <div\n ref={ref}\n className={classNames(props.className)}\n onMouseOver={!media.mobile ? onOpen : null}\n onClick={media.mobile ? onOpen : null}\n onMouseLeave={!media.mobile ? onClose : null}\n onTouchStart={media.mobile ? onTouchStart : null}\n // onTouch={media.mobile ? onClose : null}\n >\n {props.children}\n {opened && props.title && createPortal(title, document.body)}\n </div>\n );\n\n // return <AntTooltip ref={ref} color=\"#212121\" {...props} overlayClassName=\"ant-tooltip-customize\" />;\n});\n","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"antd/lib/upload\");","var _path;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgRating(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 136 24\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M15.62 7.972L12.567.395a.605.605 0 00-1.135 0L8.38 7.972l-7.815.705c-.544.048-.762.757-.35 1.131l5.928 5.386-1.776 8.013c-.124.555.45.992.917.697L12 19.658l6.716 4.246c.466.297 1.043-.142.919-.697l-1.776-8.013 5.928-5.386c.412-.374.19-1.082-.351-1.131l-7.816-.705zM43.62 7.972L40.567.395a.605.605 0 00-1.135 0L36.38 7.972l-7.815.705c-.544.048-.762.757-.35 1.131l5.928 5.386-1.776 8.013c-.123.555.45.992.917.697L40 19.658l6.716 4.246c.466.297 1.042-.142.919-.697l-1.776-8.013 5.928-5.386c.412-.374.19-1.082-.351-1.131l-7.816-.705zM71.62 7.972L68.567.395a.605.605 0 00-1.135 0L64.38 7.972l-7.815.705c-.544.048-.761.757-.35 1.131l5.928 5.386-1.776 8.013c-.123.555.45.992.917.697L68 19.658l6.716 4.246c.467.297 1.043-.142.919-.697l-1.776-8.013 5.928-5.386c.411-.374.19-1.082-.351-1.131l-7.816-.705zM99.62 7.972L96.567.395a.605.605 0 00-1.135 0L92.38 7.972l-7.815.705c-.544.048-.761.757-.35 1.131l5.928 5.386-1.776 8.013c-.123.555.45.992.917.697L96 19.658l6.716 4.246c.466.297 1.042-.142.919-.697l-1.776-8.013 5.928-5.386c.411-.374.19-1.082-.351-1.131l-7.816-.705zM127.62 7.972L124.567.395A.602.602 0 00124 0a.604.604 0 00-.568.395l-3.053 7.577-7.815.705c-.544.048-.762.757-.35 1.131l5.928 5.386-1.776 8.013c-.124.555.451.992.917.697L124 19.658l6.716 4.246c.466.297 1.042-.142.919-.697l-1.776-8.013 5.928-5.386c.411-.374.19-1.082-.351-1.131l-7.816-.705z\",\n fill: \"#C8C8C8\"\n })));\n}\nexport default SvgRating;","import React from 'react';\n\nimport { Text } from '@shared/text';\nimport AntdUpload from 'antd/lib/upload';\nimport { UploadFile, UploadProps } from 'antd/lib/upload';\nimport { PropsWithChildren, useCallback, useEffect, useMemo, useState } from 'react';\n\nimport styles from './upload.module.scss';\nimport { uuidv4 } from '@shared/utils';\nimport classNames from 'classnames';\n\ntype IUploadProps = UploadProps & {\n onUpload?: (file: File) => Promise<string>;\n onChange?: (link: string[]) => void;\n renderName?: (link: string) => string;\n path?: string;\n value?: string[];\n maxCount?: number;\n showRemove?: boolean;\n hiddenList?: boolean;\n};\n\nexport const Upload = ({\n onUpload,\n onChange,\n renderName,\n showRemove,\n hiddenList,\n maxCount,\n path = '',\n value,\n ...props\n}: PropsWithChildren<IUploadProps>) => {\n const [files, setFiles] = useState<UploadFile[]>([]);\n\n useEffect(() => {\n setFiles(\n value\n ? value?.map((val, index) => ({\n uid: `${index}`,\n name: renderName ? renderName(val) : '',\n status: 'done',\n url: val,\n thumbUrl: val,\n }))\n : []\n );\n }, [value]);\n\n const onRemove = useCallback((item) => {\n let items = [];\n setFiles((prev) => (items = prev.filter((i) => i !== item)));\n onChange(items.map((i) => i.url));\n }, []);\n\n const _onChange = () => {\n setFiles((file) => {\n onChange(file.map((i) => i.url));\n return file;\n });\n };\n\n const onUploadFile = useCallback(\n async (file: File) => {\n if (maxCount && files.length >= maxCount) {\n return '';\n }\n\n const uuid = uuidv4();\n let link = path ? `${path}${file.name}` : URL.createObjectURL(file);\n\n setFiles((prev) =>\n prev.concat({\n uid: uuid,\n name: renderName ? renderName(file.name) : '',\n status: 'uploading',\n url: link,\n thumbUrl: link,\n })\n );\n\n try {\n if (onUpload) {\n link = await onUpload(file);\n }\n\n setFiles((prev) =>\n prev\n .filter((item) => item.uid !== uuid)\n .concat({\n uid: uuid,\n name: renderName ? renderName(file.name) : '',\n status: 'success',\n url: link,\n thumbUrl: link,\n })\n );\n } catch (e) {\n setFiles((prev) => prev.filter((item) => item.uid !== uuid));\n }\n\n return link;\n },\n [files]\n );\n\n const className = useMemo(() => classNames(styles.upload, props.className), [props.className]);\n\n return (\n //@ts-ignore\n <AntdUpload.Dragger\n {...props}\n showUploadList={hiddenList ? false : { showRemoveIcon: showRemove }}\n maxCount={maxCount}\n className={className}\n action={onUploadFile}\n customRequest={() => {}}\n onChange={_onChange}\n fileList={files}\n listType=\"picture\"\n accept=\"image/png, image/jpeg\"\n onRemove={onRemove}\n >\n {props.children || <Text bold>Выберите файл или перетащите сюда</Text>}\n </AntdUpload.Dragger>\n );\n};\n","var _path;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgRatingActive(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 136 24\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M15.62 7.972L12.567.395a.605.605 0 00-1.135 0L8.38 7.972l-7.815.705c-.544.048-.762.757-.35 1.131l5.928 5.386-1.776 8.013c-.124.555.45.992.917.697L12 19.658l6.716 4.246c.466.297 1.043-.142.919-.697l-1.776-8.013 5.928-5.386c.412-.374.19-1.082-.351-1.131l-7.816-.705zM43.62 7.972L40.567.395a.605.605 0 00-1.135 0L36.38 7.972l-7.815.705c-.544.048-.762.757-.35 1.131l5.928 5.386-1.776 8.013c-.123.555.45.992.917.697L40 19.658l6.716 4.246c.466.297 1.042-.142.919-.697l-1.776-8.013 5.928-5.386c.412-.374.19-1.082-.351-1.131l-7.816-.705zM71.62 7.972L68.567.395a.605.605 0 00-1.135 0L64.38 7.972l-7.815.705c-.544.048-.761.757-.35 1.131l5.928 5.386-1.776 8.013c-.123.555.45.992.917.697L68 19.658l6.716 4.246c.467.297 1.043-.142.919-.697l-1.776-8.013 5.928-5.386c.411-.374.19-1.082-.351-1.131l-7.816-.705zM99.62 7.972L96.567.395a.605.605 0 00-1.135 0L92.38 7.972l-7.815.705c-.544.048-.761.757-.35 1.131l5.928 5.386-1.776 8.013c-.123.555.45.992.917.697L96 19.658l6.716 4.246c.466.297 1.042-.142.919-.697l-1.776-8.013 5.928-5.386c.411-.374.19-1.082-.351-1.131l-7.816-.705zM127.62 7.972L124.567.395A.602.602 0 00124 0a.604.604 0 00-.568.395l-3.053 7.577-7.815.705c-.544.048-.762.757-.35 1.131l5.928 5.386-1.776 8.013c-.124.555.451.992.917.697L124 19.658l6.716 4.246c.466.297 1.042-.142.919-.697l-1.776-8.013 5.928-5.386c.411-.374.19-1.082-.351-1.131l-7.816-.705z\",\n fill: \"#FE9542\"\n })));\n}\nexport default SvgRatingActive;","var _path;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgEye(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 14 10\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M7 .429C10.425.429 13.57 3.033 13.57 5c0 1.968-3.146 4.572-6.571 4.572S.428 6.968.428 5C.428 3.033 3.575.43 7 .43zm0 1.143C4.163 1.572 1.57 3.717 1.57 5 1.571 6.284 4.163 8.43 7 8.43S12.428 6.284 12.428 5c0-1.283-2.591-3.428-5.428-3.428zm0 1.142a2.286 2.286 0 110 4.572 2.286 2.286 0 010-4.572zm0 1.143a1.143 1.143 0 100 2.286 1.143 1.143 0 000-2.286z\",\n fill: \"#fff\"\n })));\n}\nexport default SvgEye;","import React, { useCallback, useEffect, useState } from \"react\";\nimport RatingIcon from './../icon/icons/rating.svg';\nimport RatingActiveIcon from './../icon/icons/rating-active.svg';\nimport cn from 'classnames';\n\nimport styles from './rating.module.scss';\n\ninterface IRatingProps {\n value: number;\n onChange?: (val: number) => void;\n readonly?: boolean;\n className?: string;\n}\n\nexport const Rating = (props: IRatingProps) => {\n const [value, setValue] = useState(0);\n\n useEffect(() => {\n setValue(props.value);\n }, [props.value])\n\n const onChange = useCallback((index: number) => {\n setValue(index + 1);\n\n props.onChange && props.onChange(index + 1);\n }, [props.onChange]);\n\n return <div className={cn(styles.rating, props.className)}>\n <RatingIcon />\n {!!props.value && <RatingActiveIcon className={styles.stars} style={{\n WebkitMaskImage: `linear-gradient(to right, #FF00FFFF 0 ${(100 / 5) * value}%, #00FF0011 ${(100 / 5) * value}% 100%)`,\n maskImage: `linear-gradient(to right, #FF00FFFF 0 ${(100 / 5) * value}%, #00FF0011 ${(100 / 5) * value}% 100%)`\n }} />}\n {!props.readonly && <div className={styles.buttons}>\n {[0, 1, 2, 3, 4].map(item => <div onClick={onChange.bind(null, item)} key={item}></div>)}\n </div>}\n </div>\n}\n","import React from 'react';\nimport { Icon, EIconSize } from '../icon';\nimport { formatViews } from '@shared/utils/views-format';\nimport { Text } from '@shared/text';\nimport styles from './views-count.module.scss';\nimport Eye from '../icon/icons/eye.svg';\nimport classNames from 'classnames';\ninterface IViewsCountProps {\n viewsCount: number;\n className?: string;\n size?: keyof typeof EIconSize;\n}\n\nexport const ViewsCount = ({ viewsCount, className, size = 'extraSmall' }: IViewsCountProps) => {\n return (\n <Text className={classNames([styles.viewsCountContainer, `${className}`])} tag=\"span\">\n <Icon size={size} icon={Eye} variant=\"initial\" />\n <span className={styles.viewsCountText}>{formatViews(viewsCount)}</span>\n </Text>\n );\n};\n","var _path, _g;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgSuccess(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 24 24\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }, props), /*#__PURE__*/React.createElement(\"mask\", {\n id: \"success_svg__a\",\n style: {\n maskType: \"alpha\"\n },\n maskUnits: \"userSpaceOnUse\",\n x: 0,\n y: 0,\n width: 24,\n height: 24\n }, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M0 0h24v24H0V0z\",\n fill: \"#D9D9D9\"\n }))), _g || (_g = /*#__PURE__*/React.createElement(\"g\", {\n mask: \"url(#success_svg__a)\"\n }, /*#__PURE__*/React.createElement(\"path\", {\n d: \"M12 1.714c5.68 0 10.286 4.605 10.286 10.286 0 5.68-4.605 10.286-10.286 10.286C6.32 22.286 1.714 17.68 1.714 12 1.714 6.32 6.32 1.714 12 1.714zm0 1.715a8.571 8.571 0 100 17.143 8.571 8.571 0 000-17.143zm3.677 5.391a.863.863 0 011.217 0 .863.863 0 010 1.217l-6.002 5.998a.857.857 0 01-1.212 0l-3-3a.857.857 0 011.212-1.213l2.394 2.395 5.391-5.397z\",\n fill: \"#00B649\"\n }))));\n}\nexport default SvgSuccess;","var _path, _g;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgError(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 24 24\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }, props), /*#__PURE__*/React.createElement(\"mask\", {\n id: \"error_svg__a\",\n style: {\n maskType: \"alpha\"\n },\n maskUnits: \"userSpaceOnUse\",\n x: 0,\n y: 0,\n width: 24,\n height: 24\n }, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n fill: \"#D9D9D9\",\n d: \"M0 0h24v24H0z\"\n }))), _g || (_g = /*#__PURE__*/React.createElement(\"g\", {\n mask: \"url(#error_svg__a)\"\n }, /*#__PURE__*/React.createElement(\"path\", {\n d: \"M12 1.714c5.68 0 10.286 4.605 10.286 10.286 0 5.68-4.605 10.286-10.286 10.286C6.32 22.286 1.714 17.68 1.714 12 1.714 6.32 6.32 1.714 12 1.714zm0 1.715a8.571 8.571 0 100 17.143 8.571 8.571 0 000-17.143zM8.394 8.394a.857.857 0 011.212 0L12 10.787l2.394-2.393a.857.857 0 011.131-.071l.081.071a.857.857 0 010 1.212L13.213 12l2.393 2.394a.857.857 0 01.072 1.131l-.072.081a.857.857 0 01-1.212 0L12 13.213l-2.394 2.393a.857.857 0 01-1.131.072l-.081-.072a.857.857 0 010-1.212L10.787 12 8.394 9.606a.857.857 0 01-.071-1.131l.071-.081z\",\n fill: \"#F96666\"\n }))));\n}\nexport default SvgError;","var _path;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgWarning(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 24 24\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M2.725 21a.973.973 0 01-.85-.5 1.098 1.098 0 01-.137-.488.898.898 0 01.137-.512l9.25-16c.1-.167.23-.292.387-.375.159-.083.321-.125.488-.125.167 0 .33.042.488.125a.983.983 0 01.387.375l9.25 16c.1.167.146.337.137.512a1.098 1.098 0 01-.137.488.973.973 0 01-.85.5H2.725zm1.725-2h15.1L12 6 4.45 19zM12 18c.283 0 .52-.096.713-.288A.968.968 0 0013 17a.968.968 0 00-.287-.712A.968.968 0 0012 16a.968.968 0 00-.713.288A.968.968 0 0011 17c0 .283.096.52.287.712.192.192.43.288.713.288zm0-3c.283 0 .52-.096.713-.287A.968.968 0 0013 14v-3a.968.968 0 00-.287-.713A.968.968 0 0012 10a.968.968 0 00-.713.287A.968.968 0 0011 11v3c0 .283.096.52.287.713.192.191.43.287.713.287z\",\n fill: \"#FE9542\"\n })));\n}\nexport default SvgWarning;","var _path;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgInfo(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 24 24\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M12 1.714c5.68 0 10.286 4.605 10.286 10.286 0 5.68-4.605 10.286-10.286 10.286C6.32 22.286 1.714 17.68 1.714 12 1.714 6.32 6.32 1.714 12 1.714zm0 1.715a8.571 8.571 0 100 17.142A8.571 8.571 0 0012 3.43zm.063 6.857c.204 0 .332.032.443.091.112.06.2.148.26.26.06.111.091.24.091.443v5.269c0 .203-.032.331-.091.443a.624.624 0 01-.26.26c-.111.059-.24.09-.443.09h-.126c-.204 0-.332-.031-.443-.09a.623.623 0 01-.26-.26c-.06-.112-.091-.24-.091-.443v-5.27c0-.203.032-.33.091-.443.06-.111.148-.199.26-.259.111-.06.24-.091.443-.091h.126zM12 6.514a1.2 1.2 0 110 2.4 1.2 1.2 0 010-2.4z\",\n fill: \"#a73afd\"\n })));\n}\nexport default SvgInfo;","import React, { FC } from 'react';\nimport styles from './message.module.scss';\nimport SuccessIcon from '../icon/icons/success.svg';\nimport ErrorIcon from '../icon/icons/error.svg';\nimport WarningIcon from '../icon/icons/warning.svg';\nimport InfoIcon from '../icon/icons/info.svg';\nimport classNames from 'classnames';\nimport { Text } from '@shared/text';\nimport { Icon } from '@shared/icon';\n\nexport type IMessageType = 'success' | 'error' | 'warning' | 'info';\n\nexport interface IMessageProps {\n type: IMessageType;\n title?: string;\n description: string;\n}\n\nconst getIcon = (type: IMessageType) => {\n switch (type) {\n case 'success':\n return SuccessIcon;\n\n case 'error':\n return ErrorIcon;\n\n case 'warning':\n return WarningIcon;\n\n case 'info':\n return InfoIcon;\n }\n};\n\nexport const Message: FC<IMessageProps> = ({ type, title, description }) => {\n return (\n <div className={classNames(styles.container, styles[`container__${type}`])}>\n <Icon variant=\"initial\" icon={getIcon(type)} />\n <div>\n {title && (\n <Text size=\"large\" weight=\"semibold\">\n {title}\n </Text>\n )}\n <Text size=\"large\">{description}</Text>\n </div>\n </div>\n );\n};\n","var _path;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgStepsArrow(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 19 26\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n fillRule: \"evenodd\",\n clipRule: \"evenodd\",\n d: \"M13.94 8.759l4.837 5.617a.986.986 0 010 1.248l-4.836 5.617a.688.688 0 01-1.075 0 .986.986 0 010-1.248l3.54-4.11H.882a.883.883 0 010-1.766h15.522l-3.539-4.11a.986.986 0 010-1.248.688.688 0 011.075 0z\",\n fill: \"#fff\"\n })));\n}\nexport default SvgStepsArrow;","import React from 'react';\nimport styles from './warning-block.module.scss';\nimport WarningIcon from '../icon/icons/warning.svg';\nimport { Icon } from '@shared/icon';\nimport { Text } from '@shared/text';\n\ninterface IWarningBlockProps {\n title?: string;\n description: string;\n}\n\nexport const WarningBlock = ({ title, description }: IWarningBlockProps) => {\n return (\n <div className={styles.warning}>\n <Icon variant=\"initial\" icon={WarningIcon} />\n <div>\n {title && (\n <Text size=\"large\" weight=\"semibold\">\n {title}\n </Text>\n )}\n <Text size=\"large\">{description}</Text>\n </div>\n </div>\n );\n};\n","import { CSSProperties } from 'react';\n\nexport enum TooltipPosition {\n left = 'left',\n top = 'top',\n right = 'right',\n bottom = 'bottom',\n}\n\nexport const isCurrent = (e: Event, element: Element): any => {\n const find = (el: HTMLElement) => {\n if (el === element) {\n return el;\n }\n\n return el?.parentElement && find(el.parentElement);\n };\n\n if (find(e.target as HTMLElement)) {\n return true;\n }\n};\n\nexport const findTargetElement = (element: Element) => {\n let elem = element;\n\n const find = (child: Element) => {\n if (child.getAttribute('data-tooltip-target')) {\n elem = child;\n }\n\n if (child.children.length) {\n return Array.prototype.slice.call(child.children, 0).find(find);\n }\n };\n\n find(element);\n\n return elem;\n};\n\nexport const getScrollTopParent = (element: HTMLElement): HTMLElement | null => {\n if (element.scrollHeight > element.clientHeight) {\n return element;\n }\n\n if (element.parentElement) {\n return getScrollTopParent(element.parentElement);\n }\n\n return null;\n};\n\nexport const recalcArrowStyles = (\n targetElement: Element,\n tooltipProperties: CSSProperties,\n position: TooltipPosition\n): CSSProperties => {\n const { left, width } = targetElement.getBoundingClientRect();\n\n switch (position) {\n case TooltipPosition.top:\n return { left: left - (tooltipProperties.left as number) + width / 2 };\n case TooltipPosition.bottom:\n return { left: left - (tooltipProperties.left as number) + width / 2 };\n case TooltipPosition.left:\n return {};\n case TooltipPosition.right:\n return {};\n }\n};\n\nexport const recalcStyles = (\n targetElement: Element,\n tooltipElement: HTMLDivElement,\n position: TooltipPosition\n): CSSProperties => {\n const { top, left, width, height } = targetElement.getBoundingClientRect();\n const { width: tooltipWidth, height: tooltipHeight } = tooltipElement.getBoundingClientRect();\n\n let leftPosition = 0;\n if ([TooltipPosition.top, TooltipPosition.bottom].includes(position)) {\n leftPosition = left + width / 2 - tooltipWidth / 2;\n if (leftPosition + tooltipElement.offsetWidth > document.body.offsetWidth) {\n leftPosition -= leftPosition + tooltipElement.offsetWidth - document.body.offsetWidth;\n }\n if (leftPosition < 0) {\n leftPosition = 0;\n }\n }\n\n let topPosition = 0;\n if ([TooltipPosition.top, TooltipPosition.bottom].includes(position)) {\n topPosition = document.scrollingElement.scrollTop;\n }\n\n switch (position) {\n case TooltipPosition.top:\n return { top: topPosition + top - tooltipHeight, left: leftPosition, opacity: 1 };\n case TooltipPosition.bottom:\n return { top: topPosition + top + height, left: leftPosition, opacity: 1, transform: 'translateY(0)' };\n case TooltipPosition.left:\n return { top: topPosition + top + height / 2 - tooltipHeight / 2, left: left - tooltipWidth, opacity: 1 };\n case TooltipPosition.right:\n return { top: topPosition + top + height / 2 - tooltipHeight / 2, left: left + width, opacity: 1 };\n }\n};\n","import React from 'react';\n\nimport { Fragment } from 'react';\n\nimport StepsArrowIcon from './steps-arrow.svg';\n\nimport styles from './steps.module.scss';\nimport classNames from 'classnames';\nimport { useShared } from '../../providers/shared.provider';\nimport { Text } from '@shared/text';\nimport { Icon } from '@shared/icon';\n\ninterface IStepsPath {\n title: string;\n path?: string;\n onClick?: () => void;\n isBack?: boolean;\n isCurrent?: boolean;\n type?: 'current' | 'disabled';\n}\n\ninterface IStepsProps {\n paths: IStepsPath[];\n onBack?: (path: string) => void;\n linkComponent?: any;\n}\n\nexport const Steps = (props: IStepsProps) => {\n const shared = useShared();\n\n const LinkComponent = props.linkComponent || shared?.LinkComponent;\n\n return (\n <div className={styles.steps}>\n {props.paths.map((item, index) => (\n <Fragment key={index}>\n {!!index && <Icon size=\"medium\" variant=\"initial\" icon={StepsArrowIcon} />}\n <span className={styles.step} key={index}>\n <span className={classNames(styles.count, styles[item.type], { [styles.current]: item.isCurrent })}>\n {index + 1}\n </span>\n {item.path ? (\n <LinkComponent href={item.path}>\n <Text inverse size=\"large\" weight=\"semibold\" className={classNames(styles.text, styles[item.type])}>\n {item.title}\n </Text>\n </LinkComponent>\n ) : (\n <Text inverse className={classNames(styles.text, styles[item.type])} size=\"large\" weight=\"semibold\">\n {item.title}\n </Text>\n )}\n </span>\n </Fragment>\n ))}\n </div>\n );\n};\n","var _path;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgPopoverClose(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 28 28\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M6.293 6.293a1 1 0 011.414 0L14 12.585l6.293-6.292a1 1 0 011.32-.083l.094.083a1 1 0 010 1.414L15.415 14l6.292 6.293a1 1 0 01.083 1.32l-.083.094a1 1 0 01-1.414 0L14 15.415l-6.293 6.292a1 1 0 01-1.32.083l-.094-.083a1 1 0 010-1.414L12.585 14 6.293 7.707a1 1 0 01-.083-1.32l.083-.094z\",\n fill: \"currentColor\"\n })));\n}\nexport default SvgPopoverClose;","import { createPortal } from 'react-dom';\nimport classNames from 'classnames';\nimport React, {\n CSSProperties,\n MouseEvent as ReactMouseEvent,\n useCallback,\n useEffect,\n useMemo,\n useRef,\n useState,\n forwardRef,\n ReactNode,\n PropsWithChildren,\n} from 'react';\n\nimport styles from './popover-tooltip.module.scss';\nimport {\n TooltipPosition,\n getScrollTopParent,\n isCurrent,\n recalcArrowStyles,\n recalcStyles,\n} from './popover-tooltip.utils';\nimport PopoverClose from './icons/popover-close.svg';\nimport { Icon } from '@shared/icon';\n\nexport type IPopoverTootipRef = {\n open?: (target: HTMLElement) => void;\n close?: () => void;\n};\n\ntype IPopoverTootipProps = {\n content: ReactNode;\n className?: string;\n onOpenChange?: (val: boolean) => void;\n placement?: keyof typeof TooltipPosition;\n trigger?: any;\n closeOutsideClick?: boolean;\n closeOutsideScroll?: boolean;\n showClose?: boolean;\n zIndex?: number;\n};\n\nexport const PopoverTooltip = forwardRef<IPopoverTootipRef, PropsWithChildren<IPopoverTootipProps>>(\n ({ placement = 'bottom', zIndex, ...props }, ref) => {\n const refTarget = useRef<HTMLElement>(null);\n const refTooltip = useRef<HTMLDivElement>(null);\n const refArrow = useRef<HTMLDivElement>(null);\n\n const [opened, setOpened] = useState<boolean>(false);\n const [stylesTooltip, setStylesTooltip] = useState<CSSProperties>();\n const [stylesArrow, setStylesArrow] = useState<CSSProperties>();\n\n const scrollElement = useRef<HTMLElement>(null);\n\n const recalcPosition = useCallback(() => {\n if (!refTooltip.current || !refTarget) return;\n\n const targetElement = refTarget.current;\n const res = recalcStyles(targetElement, refTooltip.current, placement as TooltipPosition);\n setStylesTooltip(res);\n setStylesArrow(recalcArrowStyles(targetElement, res, placement as TooltipPosition));\n }, []);\n\n useEffect(() => {\n if (ref) {\n // @ts-ignore\n ref.current = {\n open: (target) => {\n refTarget.current = target;\n onOpen(target);\n },\n close: onClose,\n };\n }\n\n return () => {\n setOpened(false);\n };\n }, []);\n\n useEffect(() => {\n recalcPosition();\n }, [props.content]);\n\n const onClose = useCallback((e?: Event | ReactMouseEvent) => {\n if (e instanceof Event && isCurrent(e, refTarget.current)) {\n return;\n }\n\n if (refTooltip.current) {\n refTooltip.current.style.transform = '';\n refTooltip.current.style.opacity = '';\n }\n setTimeout(() => {\n setOpened(false);\n setStylesTooltip(null);\n }, 100);\n\n scrollElement.current && scrollElement.current.parentElement?.removeEventListener('scroll', onClose);\n document.removeEventListener('scroll', onClose);\n document.body.removeEventListener('click', onClose);\n window.removeEventListener('resize', recalcPosition);\n }, []);\n\n const onOpen = useCallback(\n (target: HTMLElement) => {\n setOpened(true);\n props.onOpenChange && props.onOpenChange(true);\n\n setTimeout(() => {\n recalcPosition();\n window.addEventListener('resize', recalcPosition);\n\n const element = getScrollTopParent(target);\n if (element) {\n if (props.closeOutsideScroll) {\n scrollElement.current = element;\n element.parentElement.addEventListener('scroll', onClose);\n document.addEventListener('scroll', onClose);\n }\n\n if (props.closeOutsideClick) {\n document.body.addEventListener('click', onClose);\n }\n }\n }, 0);\n },\n [props.onOpenChange, opened]\n );\n\n const content = useMemo(\n () => (\n <div\n ref={refTooltip}\n style={{ ...stylesTooltip, zIndex }}\n className={classNames(styles.tooltip, styles[placement])}\n onClick={(e) => e.stopPropagation()}\n >\n {props.content || props.children}\n <div ref={refArrow} style={stylesArrow} className={styles.arrow}></div>\n {props.showClose && <Icon variant=\"inherit\" className={styles.close} icon={PopoverClose} onClick={onClose} />}\n </div>\n ),\n [stylesTooltip, stylesArrow, props.content, props.children]\n );\n\n return opened && (props.content || props.children) && createPortal(content, document.body.firstElementChild);\n }\n);\n","import React, { ElementType, MouseEvent, PropsWithChildren, PropsWithRef, useMemo, useRef } from 'react';\n\nimport { ComponentProps, forwardRef, MutableRefObject, useCallback, useEffect, useState } from 'react';\nimport { IPopoverTootipRef, PopoverTooltip } from './popover-tooltip';\n\nexport type PropsWithPopover<P, D = any> = P & {\n data: D;\n popover: IPopoverRef<D>;\n};\n\nexport interface IPopoverRef<D = any> {\n open: (e: MouseEvent, data?: D) => void;\n close: () => void;\n}\n\nexport type IPopoverProps<C extends ElementType> = {\n [key in keyof ComponentProps<C>]?: ComponentProps<C>[key];\n} & {\n component?: C;\n showClose?: boolean;\n closeOutsideClick?: boolean;\n closeOutsideScroll?: boolean;\n zIndex?: number;\n};\n\nfunction _Popover<C extends ElementType>(\n props: PropsWithChildren<IPopoverProps<C>>,\n ref?: MutableRefObject<IPopoverRef>\n) {\n const tootipRef = useRef<IPopoverTootipRef>(null);\n\n const [data, setData] = useState<any>();\n\n const handleCancel = useCallback(() => {\n tootipRef.current.close();\n }, []);\n\n const handleOpen = useCallback((e: MouseEvent<HTMLElement>, data = {}) => {\n setData(data);\n tootipRef.current.open(e.currentTarget);\n }, []);\n\n useEffect(() => {\n if (!ref) {\n return;\n }\n\n ref.current = {\n open: handleOpen,\n close: handleCancel,\n };\n }, [ref?.current]);\n\n const content = useMemo(\n // @ts-ignore\n () => !!props.component && <props.component {...props} data={data} popover={ref.current} />,\n [props.component, props, data]\n );\n\n return (\n <PopoverTooltip\n ref={tootipRef}\n placement=\"bottom\"\n showClose={props.showClose}\n closeOutsideClick={props.closeOutsideClick}\n closeOutsideScroll={props.closeOutsideScroll}\n content={content}\n zIndex={props.zIndex}\n >\n {props.children}\n </PopoverTooltip>\n );\n}\n\nexport const Popover = forwardRef(_Popover) as <C extends ElementType>(\n props: PropsWithRef<IPopoverProps<C> & { ref?: MutableRefObject<IPopoverRef> }>\n) => React.JSX.Element;\n","import React, { ElementType } from 'react';\n\nimport { createContext, createRef, PropsWithChildren, RefObject, useContext, useMemo, useState } from 'react';\nimport { IPopoverProps, IPopoverRef, Popover } from './popover';\nimport { uuidv4 } from '@shared/utils';\n\ntype IPopoverContextPrivate = {\n create: (component: any, initialProps: any) => RefObject<IPopoverRef<any>>;\n};\n\ntype IPopoverObj = {\n ref: RefObject<IPopoverRef<any>>;\n id: any;\n component: any;\n initialProps: any;\n};\n\nconst popoverContext = createContext<IPopoverContextPrivate>(null);\n\nexport const PopoverProvider = ({ children }: PropsWithChildren<any>) => {\n const [popovers, setPopovers] = useState<IPopoverObj[]>([]);\n\n const value = useMemo(\n () => ({\n create: (component: any, initialProps: any) => {\n const ref = createRef<IPopoverRef>();\n const id = uuidv4();\n setPopovers((prev) => prev.concat({ ref, id, component, initialProps }));\n\n return ref;\n },\n }),\n []\n );\n\n return (\n <popoverContext.Provider value={value}>\n {children}\n {popovers.map((popover) => (\n <Popover key={popover.id} ref={popover.ref} component={popover.component} {...popover.initialProps} />\n ))}\n </popoverContext.Provider>\n );\n};\n\nexport function usePopover<C extends ElementType>(component: C, initialProps?: IPopoverProps<C>) {\n const data = useContext(popoverContext);\n\n const res = useMemo(() => data.create(component, initialProps || {}), [component]);\n\n if (!data) {\n throw new Error('Не подключен PopoverProvider');\n }\n\n return res;\n}\n","import type { IAdapterFunction } from './service.types';\n\nexport const adapter: IAdapterFunction =\n (mapper: Function) =>\n ([res, err]) =>\n [res && mapper(res), err];\n","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"axios\");","import axios, { AxiosInstance, AxiosRequestConfig, AxiosResponse, AxiosError } from 'axios';\nimport { IResult } from './service.types';\n\ninterface IServiceRequestConfig {\n requestInterceptor?: (req: AxiosRequestConfig<any>) => AxiosRequestConfig<any>;\n}\n\nexport interface IBaseServiceStreamOptions {\n complete?: () => void;\n init?: (destroy: () => void) => void;\n error?: (message: string) => void;\n first?: () => void;\n}\n\nconst _controllers = new Map<string, AbortController>();\nconst _readers = new Map<string, any>();\n\nexport default class BaseService {\n protected axios: AxiosInstance;\n private _params: IServiceRequestConfig & AxiosRequestConfig;\n\n constructor({ ...params }: IServiceRequestConfig & AxiosRequestConfig) {\n this.axios = axios.create(params);\n this._params = params;\n\n this.axios.interceptors.request.use((req) => {\n params.requestInterceptor?.(req);\n\n return req;\n });\n }\n\n public createCancelToken = () => axios.CancelToken.source();\n\n private async _request<IResponse>(callback: () => Promise<AxiosResponse<IResponse>>): Promise<IResult<IResponse>> {\n try {\n const res = await callback();\n\n return [res.data, null];\n } catch (err) {\n if (axios.isCancel(err)) {\n return [null, null];\n }\n\n if (err instanceof AxiosError) {\n return [null, err.response];\n }\n\n return [null, err];\n }\n }\n\n private async _requestRPC<IResponse extends Promise<any>>(\n callback: () => IResponse\n ): Promise<IResult<Awaited<IResponse>>> {\n try {\n const res = await callback();\n\n return [res, null];\n } catch (err) {\n if (axios.isCancel(err)) {\n return [null, null];\n }\n\n if (err instanceof AxiosError) {\n return [null, err.response];\n }\n\n return [null, err];\n }\n }\n\n protected get = async <IResponse = any, IRequest = any>(url: string, options?: AxiosRequestConfig) =>\n this._request(() => this.axios.get<IRequest, AxiosResponse<IResponse>>(url, options));\n\n protected post = async <IResponse = any, IRequest = any>(\n url: string,\n data?: IRequest,\n options?: AxiosRequestConfig\n ) => this._request(() => this.axios.post<IRequest, AxiosResponse<IResponse>>(url, data, options));\n\n protected put = async <IResponse = any, IRequest = any>(url: string, data?: IRequest, options?: AxiosRequestConfig) =>\n this._request(() => this.axios.put<IRequest, AxiosResponse<IResponse>>(url, data, options));\n\n protected patch = async <IResponse = any, IRequest = any>(\n url: string,\n data?: IRequest,\n options?: AxiosRequestConfig\n ) => this._request(() => this.axios.patch<IRequest, AxiosResponse<IResponse>>(url, data, options));\n\n protected remove = async <IResponse = any, IRequest = any>(url: string, options?: AxiosRequestConfig) =>\n this._request(() => this.axios.delete<IRequest, AxiosResponse<IResponse>>(url, options));\n\n protected rpc = <IMethod extends (...args: any) => Promise<any>>(\n method: IMethod,\n ...params: Parameters<IMethod>\n ): Promise<IResult<Awaited<ReturnType<IMethod>>>> => this._requestRPC(() => method(...params));\n\n protected stream = async <IResponse = any, IRequest = any>(\n url: string,\n params: IRequest,\n callback: (res: IResponse, init: boolean) => void,\n options?: IBaseServiceStreamOptions,\n adapter?: (res: IResponse) => IResponse\n ) => {\n try {\n if (_readers.has(url)) {\n _readers.get(url).cancel();\n _readers.delete(url);\n }\n\n if (_controllers.has(url)) {\n _controllers.get(url).abort();\n _controllers.delete(url);\n }\n _controllers.set(url, new AbortController());\n\n const req: any =\n this._params.requestInterceptor?.({\n headers: this._params.headers || {},\n baseURL: this._params.baseURL,\n }) || {};\n\n const res = await fetch(`${req.baseURL || ''}${url}`, {\n method: 'POST',\n signal: _controllers.get(url).signal,\n credentials: this._params.withCredentials ? 'include' : undefined,\n headers: req.headers || {},\n body: JSON.stringify(params),\n });\n\n options.init(() => {\n if (_readers.has(url)) {\n _readers.get(url).cancel();\n _readers.delete(url);\n }\n\n if (_controllers.has(url)) {\n _controllers.get(url).abort();\n _controllers.delete(url);\n }\n });\n\n _readers.set(url, res.body.pipeThrough(new TextDecoderStream()).getReader());\n let bufferJson = '';\n let init = false;\n let isFirst = false;\n while (true) {\n let { value, done } = await _readers.get(url).read();\n\n if (value) {\n if (!isFirst) {\n try {\n isFirst = true;\n options.first && options.first();\n } catch (e) {}\n }\n\n try {\n if (bufferJson) {\n value = bufferJson + value;\n }\n\n const arr = value.split('\\n').filter(Boolean);\n const parsed = JSON.parse(arr[arr.length - 1]);\n\n if (parsed.error) {\n bufferJson = null;\n init = true;\n options.error(parsed.error.message);\n options.complete();\n break;\n }\n\n const data = parsed.result.data;\n bufferJson = null;\n callback(adapter ? adapter(data) : data, init);\n init = true;\n if (data.isFullPack) {\n options.complete();\n break;\n }\n } catch (e) {\n bufferJson = value;\n console.log('JSON parse error', e);\n }\n }\n\n if (done) {\n options.complete();\n break;\n }\n }\n\n if (_readers.has(url)) {\n _readers.get(url).cancel();\n }\n } catch (e) {\n options.complete();\n console.log(e);\n }\n };\n}\n","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"antd/lib/notification\");","var _path;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgWarning(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 24 24\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M2.725 21a.973.973 0 01-.85-.5 1.098 1.098 0 01-.137-.488.898.898 0 01.137-.512l9.25-16c.1-.167.23-.292.387-.375.159-.083.321-.125.488-.125.167 0 .33.042.488.125a.983.983 0 01.387.375l9.25 16c.1.167.146.337.137.512a1.098 1.098 0 01-.137.488.973.973 0 01-.85.5H2.725zm1.725-2h15.1L12 6 4.45 19zM12 18c.283 0 .52-.096.713-.288A.968.968 0 0013 17a.968.968 0 00-.287-.712A.968.968 0 0012 16a.968.968 0 00-.713.288A.968.968 0 0011 17c0 .283.096.52.287.712.192.192.43.288.713.288zm0-3c.283 0 .52-.096.713-.287A.968.968 0 0013 14v-3a.968.968 0 00-.287-.713A.968.968 0 0012 10a.968.968 0 00-.713.287A.968.968 0 0011 11v3c0 .283.096.52.287.713.192.191.43.287.713.287z\",\n fill: \"#FE9542\"\n })));\n}\nexport default SvgWarning;","import notification from 'antd/lib/notification';\nimport type { ArgsProps } from 'antd/lib/notification';\nimport classNames from 'classnames';\n\n/*\nКак юзать?\n\nshowToast({\n message: <div>Комментарий содержит запрещенный контент</div>,\n placement: 'bottomLeft',\n duration: null,\n icon: <Icon size=\"large\" variant=\"warning\" icon={CalendarIcon} />,\n className: classNames('shared-notification', 'kek'),\n});\n*/\n\nexport type IToastParams = ArgsProps;\n\nexport const showToast = (params: IToastParams) => {\n notification.open({ ...params, className: classNames('shared-toast', params.className) });\n};\n","var _path;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgError(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: \"1em\",\n height: \"1em\",\n viewBox: \"0 0 24 24\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M12 1.714c5.68 0 10.286 4.605 10.286 10.286 0 5.68-4.605 10.286-10.286 10.286C6.32 22.286 1.714 17.68 1.714 12 1.714 6.32 6.32 1.714 12 1.714zm0 1.715a8.571 8.571 0 100 17.143 8.571 8.571 0 000-17.143zM8.394 8.394a.857.857 0 011.212 0L12 10.787l2.394-2.393a.857.857 0 011.131-.071l.081.071a.857.857 0 010 1.212L13.213 12l2.393 2.394a.857.857 0 01.072 1.131l-.072.081a.857.857 0 01-1.212 0L12 13.213l-2.394 2.393a.857.857 0 01-1.131.072l-.081-.072a.857.857 0 010-1.212L10.787 12 8.394 9.606a.857.857 0 01-.071-1.131l.071-.081z\",\n fill: \"#F96666\"\n })));\n}\nexport default SvgError;","import React from 'react';\nimport styles from './info-block.module.scss';\nimport WarningIcon from './icons/warning.svg';\nimport ErrorIcon from './icons/error.svg';\nimport classnames from 'classnames';\n\nimport { Icon } from '@shared/icon';\nimport { Text } from '@shared/text';\n\nconst ICONS = {\n default: WarningIcon,\n warning: WarningIcon,\n error: ErrorIcon,\n};\n\nenum EInfoBlockVariant {\n default = 'default',\n warning = 'warning',\n error = 'error',\n}\n\ninterface IInfoBlockProps {\n title?: string;\n description: string;\n variant?: keyof typeof EInfoBlockVariant;\n}\n\nexport const InfoBlock = ({ title, description, variant = EInfoBlockVariant.default }: IInfoBlockProps) => {\n return (\n <div className={classnames(styles.block, styles[`block__${variant}`])}>\n <Icon variant=\"initial\" icon={ICONS[variant]} />\n <div>\n {title && (\n <Text size=\"large\" mobSize=\"medium\" weight=\"semibold\">\n {title}\n </Text>\n )}\n <Text size=\"large\" mobSize=\"medium\">\n {description}\n </Text>\n </div>\n </div>\n );\n};\n","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"date-fns/addMonths\");","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"date-fns/startOfDay\");","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"date-fns/addDays\");","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"date-fns/differenceInCalendarDays\");","var _circle, _path;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgArrowPrev(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 49 48\",\n fill: \"none\",\n width: \"1em\",\n height: \"1em\"\n }, props), _circle || (_circle = /*#__PURE__*/React.createElement(\"circle\", {\n cx: 24.5,\n cy: 24,\n r: 24,\n fill: \"#F6F6F6\"\n })), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n fillRule: \"evenodd\",\n clipRule: \"evenodd\",\n d: \"M28.207 17.293a1 1 0 010 1.414L22.914 24l5.293 5.293a1 1 0 01-1.414 1.414l-6-6a1 1 0 010-1.414l6-6a1 1 0 011.414 0z\",\n fill: \"#000\"\n })));\n}\nexport default SvgArrowPrev;","import React from 'react';\nimport addMonths from 'date-fns/addMonths';\n\nimport styles from './calendar.module.scss';\nimport classNames from 'classnames';\nimport startOfDay from 'date-fns/startOfDay';\nimport { useCallback, useEffect, useMemo, useRef, useState } from 'react';\nimport addDays from 'date-fns/addDays';\nimport differenceInCalendarDays from 'date-fns/differenceInCalendarDays';\nimport { dateFormat, dateWithoutTimezone } from '@shared/utils';\nimport { Heading } from '@shared/heading';\n\nconst RAIL_DIFF_DAYS = [45, 60, 90, 120];\n\nconst current = new Date();\n\nconst months = Array(13)\n .fill(null)\n .map((_, index) => {\n return addMonths(dateWithoutTimezone(new Date(current.getFullYear(), current.getMonth(), 1)), index);\n });\n\nconst daysInMonth = (year, month) => {\n return new Date(year, month, 0).getDate();\n};\n\nconst getDay = (date: Date) => {\n return date.getDay() === 0 ? 6 : date.getDay() - 1;\n};\n\nconst getDays = (date: Date): Date[] => {\n return [\n ...Array(getDay(date)).fill(null),\n ...Array(daysInMonth(date.getFullYear(), date.getMonth() + 1))\n .fill(null)\n .map((_, index) => dateWithoutTimezone(new Date(date.getFullYear(), date.getMonth(), index + 1))),\n ];\n};\n\nconst diffDays = (a: Date, disabledAfter?: number) => {\n return (\n startOfDay(a) < startOfDay(new Date()) ||\n startOfDay(a) >= startOfDay(addDays(new Date(), disabledAfter ? disabledAfter : 365))\n );\n};\n\ninterface ICalendarProps {\n value?: [Date, Date];\n onChange: (val: [Date, Date]) => void;\n isSingleDay?: boolean;\n disableAfter?: number;\n disabledDate?: (date: Date) => boolean;\n rails?: boolean;\n isHotel?: boolean;\n}\n\nexport const Calendar = (props: ICalendarProps) => {\n const ref = useRef<HTMLDivElement>(null);\n const [value, setValue] = useState<[Date, Date]>([null, null]);\n\n useEffect(() => {\n if (\n props.value &&\n (props.value[0]?.getTime() !== value[0]?.getTime() || props.value[1]?.getTime() !== value[1]?.getTime())\n ) {\n setValue(props.value);\n }\n }, [props.value]);\n\n useEffect(() => {\n if (props.value?.[0] && ref.current) {\n const index = months.findIndex((month) => month.getMonth() === props.value[0].getMonth());\n ref.current.children[index * 2].scrollIntoView({ block: 'start' });\n }\n }, [ref.current]);\n\n const onChange = useCallback(\n (day: Date) => {\n setValue((prev) => {\n let val: [Date, Date] = prev;\n\n if (props.isSingleDay) {\n val = [day, null];\n props.onChange(val);\n\n return val;\n }\n\n if (props.isHotel && prev[0] && !prev[1] && day === prev[0]) {\n val = [prev[0], addDays(prev[0], 1)];\n } else if (prev[0] && !prev[1] && day >= prev[0]) {\n val = [prev[0], day];\n } else if (prev[0] && !prev[1] && day < prev[0]) {\n val = [day, prev[0]];\n } else if (prev[0] && prev[1]) {\n val = [day, null];\n } else {\n val = [day, prev[1]];\n }\n\n props.onChange(val);\n return val;\n });\n },\n [props.onChange]\n );\n\n const onHotelChange = useCallback(\n (day: Date) => {\n setValue((prev) => {\n let val: [Date, Date] = prev;\n if (prev[0] && !prev[1] && day === prev[0]) {\n val = [null, null];\n } else if (prev[0] && !prev[1] && day >= prev[0]) {\n val = [prev[0], day];\n } else if (prev[0] && !prev[1] && day < prev[0]) {\n val = [day, prev[0]];\n } else if (prev[0] && prev[1]) {\n val = [day, null];\n } else {\n val = [day, prev[1]];\n }\n\n props.onChange(val);\n return val;\n });\n },\n [props.onChange]\n );\n\n return (\n <div className={styles.calendar} ref={ref}>\n {months.map((month) => (\n <Month\n value={value}\n month={month}\n onChange={props.isHotel ? onHotelChange : onChange}\n disableAfter={props.disableAfter}\n disabledDate={props.disabledDate}\n rails={props.rails}\n isHotel={props.isHotel}\n />\n ))}\n </div>\n );\n};\n\ninterface IMonthProps {\n value: [Date, Date];\n month: Date;\n onChange: (val: Date) => void;\n disableAfter?: number;\n disabledDate?: (date: Date) => boolean;\n rails?: boolean;\n isHotel?: boolean;\n}\n\nexport const Month = (props: IMonthProps) => {\n const days = useMemo(() => getDays(props.month), [props.month?.getTime]);\n const baseDate = new Date();\n\n return (\n <>\n <div className={styles.month}>\n {props.isHotel ? (\n <Heading className={styles.heading} level={4}>\n {props.month.getFullYear() > new Date().getFullYear()\n ? dateFormat(props.month, 'MMMM YYYY', { plural: false })\n : dateFormat(props.month, 'MMMM', { plural: false })}\n </Heading>\n ) : (\n <Heading className={styles.heading} level={4}>\n {dateFormat(props.month, 'MMMM', { plural: false })}\n </Heading>\n )}\n </div>\n <div className={classNames(styles.days, { [styles.days_rails]: props.rails })}>\n {days.map((day) => {\n const diff = differenceInCalendarDays(day, baseDate) + 1;\n\n return (\n <div\n key={day?.getTime()}\n className={classNames(\n {\n [props.isHotel ? styles.startHotel : styles.start]:\n day && props.value[1] && day?.getTime() === props.value[0]?.getTime(),\n [props.isHotel ? styles.endHotel : styles.end]: day && day?.getTime() === props.value[1]?.getTime(),\n [props.isHotel ? styles.rangedHotel : styles.ranged]:\n day?.getTime() > props.value[0]?.getTime() && day?.getTime() < props.value[1]?.getTime(),\n },\n { [props.isHotel && styles.preSelect]: day && day?.getTime() === addDays(props.value[0], 1)?.getTime() }\n )}\n >\n <span\n onClick={() => {\n const isDisabled =\n diffDays(day, props.disableAfter) || (props.disabledDate && props.disabledDate(day));\n if (!isDisabled) {\n props.onChange(day);\n }\n }}\n className={classNames({\n [styles.rail]: props.rails && RAIL_DIFF_DAYS.includes(diff),\n [styles.disabled]:\n diffDays(day, props.disableAfter) || (props.disabledDate && props.disabledDate(day)),\n [props.isHotel ? styles.selectedHotel : styles.selected]:\n day &&\n (day?.getTime() === props.value[0]?.getTime() || day?.getTime() === props.value[1]?.getTime()),\n })}\n >\n {dateFormat(day, 'D', { utc: false })}\n {props.rails && RAIL_DIFF_DAYS.includes(diff) && <div className={styles.badge}></div>}\n {props.rails && RAIL_DIFF_DAYS.includes(diff) && <div className={styles.num}>{diff}</div>}\n </span>\n </div>\n );\n })}\n </div>\n </>\n );\n};\n","var _circle, _path;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgArrowNext(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 49 48\",\n fill: \"none\",\n width: \"1em\",\n height: \"1em\"\n }, props), _circle || (_circle = /*#__PURE__*/React.createElement(\"circle\", {\n cx: 24,\n cy: 24,\n r: 24,\n transform: \"matrix(-1 0 0 1 48.5 0)\",\n fill: \"#F6F6F6\"\n })), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n fillRule: \"evenodd\",\n clipRule: \"evenodd\",\n d: \"M20.793 17.293a1 1 0 000 1.414L26.086 24l-5.293 5.293a1 1 0 001.414 1.414l6-6a1 1 0 000-1.414l-6-6a1 1 0 00-1.414 0z\",\n fill: \"#000\"\n })));\n}\nexport default SvgArrowNext;","import React, { ReactNode, useCallback, useEffect, useMemo, useRef, useState } from 'react';\nimport debounce from 'lodash.debounce';\nimport ArrowPrevIcon from './icons/arrow-prev.svg';\nimport ArrowNextIcon from './icons/arrow-next.svg';\nimport classNames from 'classnames';\n\nimport styles from './slider-easy.module.scss';\n\nexport const scrollIntoViewHorizontally = (container, element) => {\n container.scrollLeft = element.offsetLeft - container.offsetWidth / 2 + element.offsetWidth / 2;\n};\n\ninterface ISliderEasyProps {\n images?: string[];\n items?: any[];\n onRenderItem?: (item: any, index: number, list: any[]) => ReactNode;\n classNameArrowPrev: string;\n classNameArrowNext: string;\n}\n\nexport const SliderEasy = (props: ISliderEasyProps) => {\n const ref = useRef<HTMLDivElement>(null);\n const [current, setCurrent] = useState(0);\n const [currentPosition, setCurrentPosition] = useState(0);\n\n const onNext = useCallback(() => {\n if (current === props.images.length - 1) {\n return;\n }\n setCurrent(current + 1);\n }, [current, props.images]);\n\n const onPrev = useCallback(() => {\n if (current === 0) {\n return;\n }\n\n setCurrent(current - 1);\n }, [current, props.images]);\n\n useEffect(() => {\n if (ref.current.parentElement && ref.current.children[current]) {\n scrollIntoViewHorizontally(ref.current.parentElement, ref.current.children[current]);\n }\n }, [current]);\n\n const dots = useMemo(() => {\n if (props.images.length > 5) {\n return [null, null, null, null, null];\n }\n\n return props.images;\n }, [props.images.length]);\n\n const debounceCalcCurrentPos = useCallback(\n debounce(() => {\n setCurrentPosition(Math.floor(ref.current.parentElement.scrollLeft / ref.current.parentElement.offsetWidth / 5));\n }, 100),\n []\n );\n\n return (\n <div className={styles.container}>\n <div className={styles.scroll} onScroll={debounceCalcCurrentPos}>\n <div ref={ref} className={styles.items}>\n {props.images?.map((image) => (\n <div className={styles.item}>\n <img loading=\"lazy\" className={styles.image} src={encodeURI(image)} />\n </div>\n ))}\n {props.items?.map((...args) => (\n <div>{props.onRenderItem(...args)}</div>\n ))}\n </div>\n </div>\n {current > 0 && (\n <div className={classNames(styles.arrow, styles.arrowPrev, props.classNameArrowPrev)} onClick={onPrev}>\n <ArrowPrevIcon />\n </div>\n )}\n {current < props.images.length - 1 && (\n <div className={classNames(styles.arrow, styles.arrowNext, props.classNameArrowNext)} onClick={onNext}>\n <ArrowNextIcon />\n </div>\n )}\n <div className={styles.pagination}>\n {dots.map((_, index) => (\n <div className={classNames({ [styles.current]: index === currentPosition })} key={index}></div>\n ))}\n </div>\n </div>\n );\n};\n"],"names":["root","factory","exports","module","define","amd","this","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","__webpack_modules__","n","getter","__esModule","d","a","definition","key","o","Object","defineProperty","enumerable","get","obj","prop","prototype","hasOwnProperty","call","r","Symbol","toStringTag","value","require","EIconSize","EIconVariant","_path","IconSvg","active","size","medium","variant","className","onClick","props","classNames","useMemo","_extends","assign","bind","e","arguments","length","t","apply","width","height","viewBox","fill","xmlns","formatItemToOption","item","valueKey","labelKey","labels","includes","label","data","AutoComplete","onServerSearch","icon","debounceTimeout","labelPlaceholder","onRenderOption","onRenderOptionGroup","onServerSearchGroup","popupClassName","optionsGroupFromProps","notFoundContent","useState","fetching","setFetching","serverOptions","setServerOptions","optionsGroup","setOptionsGroup","searchValue","setSearchValue","fetchRef","useRef","options","_options","Array","isArray","values","map","option","useEffect","group","_onRenderOptions","useCallback","_onRenderOptionsGroup","_optionsGroup","onChangeSearch","onChange","_option","localOptions","i","res","find","debounceFetcher","current","fetchId","then","newOptions","onSelect","placeholder","onSearch","val","backfill","suffixIcon","error","stacked","clearIcon","MEDIA_MATCHES","mobile","tablet","desktop","Media","renderDesktop","renderMobile","renderTablet","render","defaultMatches","mounted","setMounted","defaultRender","matches","queries","MediaContext","createContext","MediaProvider","children","Provider","withMedia","Component","useMedia","useContext","Error","fillRule","clipRule","ETextSize","ETextWeight","ETextVariant","sharedContext","SharedProvider","useShared","ELinkVariant","ELinkType","ELinkSize","ELinkWeight","ELinkDecoration","Text","mobSize","bold","weight","normal","addition","success","inverse","attention","warning","style","through","tag","isWbTheme","shared","TextTag","EBreadcrumbsVariant","Link","target","Icon","link","decoration","none","href","type","dashed","rel","iconClassNames","LinkComponent","_path2","_defs","Breadcrumbs","paths","onBack","arrow","media","_onBack","reverse","path","isBack","index","Fragment","slash","title","isCurrent","attributeType","attributeName","from","to","dur","repeatCount","id","x1","y1","x2","y2","gradientUnits","stopColor","offset","stopOpacity","EButtonSize","EButtonVariant","EButtonIconPosition","Button","iconPosition","right","loading","disabled","loaderClassNames","_onClick","UNIQ_COUNT","Checkbox","name","_value","_setValue","_onChange","currentTarget","checked","htmlFor","Counter","setValue","count","max","min","newCount","EInputVariant","EInputSize","EInputBorder","EInputIconPosition","Input","forwardRef","ref","onFocus","onBlur","onClear","onBeforeMask","onPointerUp","required","showClear","outlined","border","iconPositon","adaptive","debounceTime","beginSearch","NaN","mask","maskObj","maskParams","valueTransformer","_loading","_setLoading","_mask","_setMask","innerRef","useImperativeHandle","autoFocus","setTimeout","focus","remove","inputMask","greedy","dispatchEvent","Event","bubbles","inputClassNames","clearClassNames","labelClassNames","_onSearchDebounce","callback","prev","formattedValue","resultValue","_onSearch","_onClear","_onKeyPress","onKeyPress","Boolean","locale","AntDatePicker","DatePicker","format","onRenderInput","_","showToday","inputRender","displayName","Divider","bordered","Dropdown","dropdownRender","originNode","FocusError","useFormikContext","errors","isSubmitting","isValidating","keys","selector","errorElement","formRef","querySelector","scrollIntoView","block","Form","onChangeBlur","form","dirty","isValid","validateForm","FormikProvider","onSubmit","handleSubmit","isRequiredField","validationSchema","schemaDescription","describe","accessor","split","join","field","getIn","fields","tests","some","test","FormControl","component","errorPosition","useField","meta","helpers","ctx","touched","args","setError","setTouched","position","EHeadingLevel","EHeadingWeight","EHeadingVariant","Heading","level","h1","mobLevel","centerText","HeadingTag","appleDetect","navigator","platform","userAgent","document","useCombinedRefs","targetRef","refs","forEach","units","YYYY","year","YY","M","month","MM","MMM","MMMM","MMMMM","D","day","DD","weekday","dd","hh","hour","mm","minute","ss","second","getDate","Date","replaceAll","dateFormat","utc","plural","getTime","userTimezoneOffset","getTimezoneOffset","dateUnits","dateItems","delimeters","filter","stringDate","unit","toLocaleTimeString","toLocaleDateString","slice","toUpperCase","toLocaleString","replace","c","push","dateWithoutTimezone","date","dateWithTimezone","pluralize","plurals","formatViews","num","numStr","toString","parseInt","priceFormat","price","Intl","NumberFormat","currency","minimumFractionDigits","formatToParts","Math","ceil","currencySign","cur","reduce","part","PREPOSITIONS","replacement","str","textSanitize","regex","RegExp","x","decorate","UNITS","timeLeftMinutes","time","timeLeft","floor","wzero","input","String","getTimeLeft","dateLeft","getHours","getMinutes","getSeconds","useTimeLeft","expireDate","onExpired","setTimeLeft","timeout","clearTimeout","uuidv4","token","chars","random","generateToken","LoaderIcon","Loader","absolute","fixed","LoaderLine","Menu","_g","maskType","maskUnits","y","_circle","Modal","footer","sidebar","closable","showClose","maskClosable","footerClassName","open","setOpen","setData","_width","_setWidth","_title","_setTitle","_footer","_setFooter","_footerClassName","_setFooterClassName","_closable","_setClosable","full","_full","_setFull","noPadding","_noPadding","_setNoPadding","gallery","_gallery","_setGallery","tabletPopup","_tabletPopup","_setTabletPopup","footerFixed","_footerFixed","_setFooterFixed","_sidebar","_setSidebar","_showClose","_setShowClose","_maskClosable","_setMaskClosable","grayBackground","_grayBackground","_setGrayBackground","html","firstElementChild","container","body","scrollTop","isOpen","overflowY","transform","overscrollBehavior","offsetHeight","console","log","handleCancel","handleOpen","close","setTitle","setFooter","setClosable","setWidth","setFooterFixed","setFull","setGallery","setSidebar","setShowCloseIcon","setMaskClosable","setTabletPopup","setGrayBackground","setNoPadding","setFooterClassName","destroyOnClose","afterClose","closeIcon","onCancel","maskTransitionName","transitionName","wrapClassName","modal","modalContext","ModalProvider","modals","setModals","create","initialProps","createRef","concat","useModal","cx","cy","Gallery","imageUrls","currentIndex","isImageCounter","setCurrent","onNext","onPrev","handleKeyDown","event","window","addEventListener","removeEventListener","webp","srcSet","thumbWebp","jpeg","thumbJpeg","src","decodeURI","alt","getSliderPictures","Radio","nativeEvent","RangePicker","disabledDate","isFromToday","setHours","setMinutes","setSeconds","setMilliseconds","pickerRef","SelectModal","items","currentValue","setCurrentValue","Select","isMobileModal","modalTitle","isEqual","_onRenderGroup","onDropdownVisibleChange","SelectorRange","Selector","ESkeletonVariant","Skeleton","Navigation","Autoplay","Controller","EffectFade","Slider","slidesPerView","renderItem","viewItem","loop","asyncReady","showNavigation","navPosition","spaceBetween","autoplay","delay","freeMode","showCounter","centeredSlides","classNamePrev","classNameNext","touchStartPreventDefault","overflow","preloadImages","shortSwipes","longSwipes","longSwipesMs","longSwipesRatio","preventClicks","preventClicksPropagation","effect","speed","navigationPrevRef","navigationNextRef","setIndex","ready","setReady","onSlideItem","indexItem","findItem","renderSliderCounter","Swiper","fadeEffect","crossFade","loopedSlides","onSlideChange","sw","realIndex","disableOnInteraction","navigation","nextEl","prevEl","onImagesReady","swiper","slideTo","onBeforeInit","params","lazy","checkInView","loadPrevNext","SwiperSlide","Spoiler","initialValue","opened","setOpened","StackedInput","setKey","focusedSelect","setFocusedSelect","focusedInput","setFocusedInput","dropdownMatchSelectWidth","ESwitchSize","Switch","TagBox","v","mode","maxTagCount","removeIcon","menuItemSelectedIcon","ETagButtonSize","ETagButtonVariant","TagButton","selected","selectedClassName","TagButtonGroup","onRenderLabel","ETextAreaVariant","ETextAreaSize","ETextAreaBorder","observe","element","handler","deobserve","TextArea","invalid","autoResize","combineRef","unsubscribe","text","resize","scrollHeight","delayedResize","resizeFn","TextSpoiler","large","action","TooltipPosition","getScrollTopParent","clientHeight","parentElement","recalcArrowStyles","targetElement","tooltipProperties","getBoundingClientRect","left","top","bottom","recalcStyles","tooltipElement","tooltipWidth","tooltipHeight","leftPosition","offsetWidth","opacity","Tooltip","placement","refTooltip","refArrow","stylesTooltip","setStylesTooltip","stylesArrow","setStylesArrow","scrollElement","recalcPosition","elem","child","getAttribute","onTouchStart","stopPropagation","onClose","el","onOpen","onOpenChange","onMouseOver","onMouseLeave","createPortal","Upload","onUpload","renderName","showRemove","hiddenList","maxCount","files","setFiles","uid","status","url","thumbUrl","onRemove","onUploadFile","file","uuid","URL","createObjectURL","showUploadList","showRemoveIcon","customRequest","fileList","listType","accept","Rating","WebkitMaskImage","maskImage","readonly","ViewsCount","viewsCount","getIcon","Message","description","WarningBlock","Steps","linkComponent","PopoverTooltip","zIndex","refTarget","topPosition","scrollingElement","content","closeOutsideScroll","closeOutsideClick","Popover","tootipRef","popover","popoverContext","PopoverProvider","popovers","setPopovers","usePopover","adapter","mapper","err","_controllers","Map","_readers","createCancelToken","source","_request","axios","post","put","patch","rpc","method","_requestRPC","stream","has","cancel","abort","set","AbortController","req","_params","requestInterceptor","headers","baseURL","fetch","signal","credentials","withCredentials","JSON","stringify","init","pipeThrough","TextDecoderStream","getReader","bufferJson","isFirst","read","done","first","arr","parsed","parse","message","complete","result","isFullPack","interceptors","request","use","AxiosError","response","showToast","EInfoBlockVariant","ICONS","default","InfoBlock","RAIL_DIFF_DAYS","months","getFullYear","getMonth","diffDays","disabledAfter","Calendar","findIndex","isSingleDay","isHotel","onHotelChange","Month","disableAfter","rails","days","getDay","baseDate","diff","SliderEasy","currentPosition","setCurrentPosition","images","scrollLeft","offsetLeft","dots","debounceCalcCurrentPos","onScroll","image","encodeURI","onRenderItem","classNameArrowPrev","classNameArrowNext"],"sourceRoot":""}
|