dt-shared-front 2.2.76 → 2.2.77
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/components/input/input.d.ts +1 -1
- package/dist/components/switch/switch.stories.d.ts +1 -1
- package/dist/components/text-area/text-area.d.ts +1 -1
- 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,2BA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,CAACh2B,EAAMg2B,OAAOx1B,SAEX41B,GAAyB,IAAA5yB,aAC7B,KAAS,WACPuyB,EAAmBxd,KAAKY,MAAMnM,EAAI7I,QAAQonB,cAAc0K,WAAajpB,EAAI7I,QAAQonB,cAAca,YAAc,GAC/G,GAAG,KACH,IAGF,OACE,yBAAKtsB,UAAW,gBACd,yBAAKA,UAAW,YAAeu2B,SAAUD,GACvC,yBAAKppB,IAAKA,EAAKlN,UAAW,YACX,QAAZ,EAAAE,EAAMg2B,cAAM,a,EAAE7yB,KAAI,SAACmzB,GAAU,OAC5B,yBAAKx2B,UAAW,WACd,yBAAKyL,QAAQ,OAAOzL,UAAW,WAAcgjB,IAAKyT,UAAUD,KAFlC,IAKlB,QAAX,EAAAt2B,EAAM6jB,aAAK,a,EAAE1gB,KAAI,W,IAAC,sDAAY,OAC7B,6BAAMnD,EAAMw2B,aAAY,MAAlBx2B,EAAsBuT,GADC,MAKlCpP,EAAU,GACT,yBAAKrE,UAAW,IAAW,WAAc,eAAkBE,EAAMy2B,oBAAqB12B,QAASoiB,GAC7F,kBAAC,GAAa,OAGjBhe,EAAUnE,EAAMg2B,OAAOx1B,OAAS,GAC/B,yBAAKV,UAAW,IAAW,WAAc,eAAkBE,EAAM02B,oBAAqB32B,QAASmiB,GAC7F,kBAAC,GAAa,OAGlB,yBAAKpiB,UAAW,iBACbq2B,EAAKhzB,KAAI,SAACiN,EAAGvG,G,MAAU,OACtB,yBAAK/J,UAAW,KAAU,KAAG,EAAC,cAAiB+J,IAAUisB,EAAe,IAAKz3B,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/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/info-block/icons/error.svg","webpack://dt-shared-front/./src/components/info-block/icons/default.svg","webpack://dt-shared-front/./src/components/info-block/icons/attention.svg","webpack://dt-shared-front/./src/components/info-block/icons/success.svg","webpack://dt-shared-front/./src/components/toast/toast.ts","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\",\"rc-virtual-list-scrollbar\":\"rc-virtual-list-scrollbar\",\"rc-virtual-list-scrollbar-thumb\":\"rc-virtual-list-scrollbar-thumb\",\"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+_1756474893999\",\"hasLabel\":\"shared__auto-complete-module__hasLabel--t+Z8x_1756474893999\",\"disabled\":\"shared__auto-complete-module__disabled--3VMd2_1756474893999\",\"invalid\":\"shared__auto-complete-module__invalid--yHbC5_1756474893999\",\"optionText\":\"shared__auto-complete-module__optionText--saGcQ_1756474893999\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"breadcrumbs\":\"shared__breadcrumbs-module__breadcrumbs--LxNAe_1756474893999\",\"text\":\"shared__breadcrumbs-module__text--x8KXW_1756474893999\",\"breadcrumbsLink\":\"shared__breadcrumbs-module__breadcrumbsLink--eg3Ec_1756474893999\",\"back\":\"shared__breadcrumbs-module__back--vlgPL_1756474893999\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"button\":\"shared__button-module__button--X-qXA_1756474893999\",\"button__smallS\":\"shared__button-module__button__smallS--eulj7_1756474893999\",\"withIcon\":\"shared__button-module__withIcon--J7ifR_1756474893999\",\"button__small\":\"shared__button-module__button__small--kA9VI_1756474893999\",\"isWbTheme\":\"shared__button-module__isWbTheme--cDz40_1756474893999\",\"button__medium\":\"shared__button-module__button__medium--E71L1_1756474893999\",\"button__large\":\"shared__button-module__button__large--PG1dR_1756474893999\",\"button__default\":\"shared__button-module__button__default--mYOHn_1756474893999\",\"button__secondary\":\"shared__button-module__button__secondary--bPOB9_1756474893999\",\"button__tertiary\":\"shared__button-module__button__tertiary--6HFY9_1756474893999\",\"button__outline\":\"shared__button-module__button__outline--EXQ9z_1756474893999\",\"button__icon_left\":\"shared__button-module__button__icon_left--EzgVg_1756474893999\",\"button__icon_right\":\"shared__button-module__button__icon_right--uPFlS_1756474893999\",\"loading\":\"shared__button-module__loading--IZ3gt_1756474893999\",\"icon\":\"shared__button-module__icon--Gso9o_1756474893999\",\"icon__smallS\":\"shared__button-module__icon__smallS--BQwBb_1756474893999\",\"icon__small\":\"shared__button-module__icon__small--SgRrC_1756474893999\",\"icon__medium\":\"shared__button-module__icon__medium--3L-IQ_1756474893999\",\"icon__large\":\"shared__button-module__icon__large--WSggm_1756474893999\",\"icon__default\":\"shared__button-module__icon__default--MzXx8_1756474893999\",\"icon__secondary\":\"shared__button-module__icon__secondary--n0RQn_1756474893999\",\"icon__only\":\"shared__button-module__icon__only--fpWXx_1756474893999\",\"loader\":\"shared__button-module__loader--v14UE_1756474893999\",\"loader__medium\":\"shared__button-module__loader__medium--7pr9v_1756474893999\",\"loader__large\":\"shared__button-module__loader__large--S4tzp_1756474893999\",\"loader__default\":\"shared__button-module__loader__default--5X5UT_1756474893999\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"calendar\":\"shared__calendar-module__calendar--u1HKw_1756474893999\",\"heading\":\"shared__calendar-module__heading--3QhLt_1756474893999\",\"days\":\"shared__calendar-module__days--MGiti_1756474893999\",\"days_rails\":\"shared__calendar-module__days_rails--X2ReV_1756474893999\",\"ranged\":\"shared__calendar-module__ranged--RNFpf_1756474893999\",\"rangedHotel\":\"shared__calendar-module__rangedHotel--mQrdh_1756474893999\",\"preSelect\":\"shared__calendar-module__preSelect--g0wCP_1756474893999\",\"start\":\"shared__calendar-module__start--3C4zV_1756474893999\",\"startHotel\":\"shared__calendar-module__startHotel--BaN7M_1756474893999\",\"selectedHotel\":\"shared__calendar-module__selectedHotel--xrUaI_1756474893999\",\"endHotel\":\"shared__calendar-module__endHotel--7AVuQ_1756474893999\",\"end\":\"shared__calendar-module__end--n1j8b_1756474893999\",\"disabled\":\"shared__calendar-module__disabled--Q-TaX_1756474893999\",\"selected\":\"shared__calendar-module__selected--tyWWw_1756474893999\",\"rail\":\"shared__calendar-module__rail--yrgg6_1756474893999\",\"badge\":\"shared__calendar-module__badge--fProa_1756474893999\",\"num\":\"shared__calendar-module__num--XY7Cp_1756474893999\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"checkbox\":\"shared__checkbox-module__checkbox--jOEle_1756474893999\",\"error\":\"shared__checkbox-module__error--xRaxv_1756474893999\",\"isWbTheme\":\"shared__checkbox-module__isWbTheme--mRLXg_1756474893999\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"counter\":\"shared__counter-module__counter--po6fU_1756474893999\",\"button\":\"shared__counter-module__button--sOvjE_1756474893999\",\"value\":\"shared__counter-module__value--JD2xM_1756474893999\",\"isWbTheme\":\"shared__counter-module__isWbTheme--8v44d_1756474893999\",\"disabled\":\"shared__counter-module__disabled--g0D9K_1756474893999\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"bordered\":\"shared__divider-module__bordered--8qnHN_1756474893999\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"dropdown\":\"shared__dropdown-module__dropdown--fuFze_1756474893999\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"label\":\"shared__form-control-module__label--0QO0D_1756474893999\",\"error\":\"shared__form-control-module__error--FVB3Z_1756474893999\",\"invalid\":\"shared__form-control-module__invalid--LEqRn_1756474893999\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"gallery\":\"shared__gallery-module__gallery--gb0c0_1756474893999\",\"counter\":\"shared__gallery-module__counter--RXshZ_1756474893999\",\"buttonPrev\":\"shared__gallery-module__buttonPrev--X93Ad_1756474893999\",\"buttonNext\":\"shared__gallery-module__buttonNext--e-b6M_1756474893999\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"heading\":\"shared__heading-module__heading--8sR8x_1756474893999\",\"heading__h1\":\"shared__heading-module__heading__h1--R6zxl_1756474893999\",\"isWbTheme\":\"shared__heading-module__isWbTheme--No1pQ_1756474893999\",\"heading__h2\":\"shared__heading-module__heading__h2--R3bM8_1756474893999\",\"heading__h3\":\"shared__heading-module__heading__h3--XTX7i_1756474893999\",\"heading__h4\":\"shared__heading-module__heading__h4--iTCuq_1756474893999\",\"heading__h5\":\"shared__heading-module__heading__h5--WR5IM_1756474893999\",\"heading__h6\":\"shared__heading-module__heading__h6--ZnM+T_1756474893999\",\"heading__mob__h1\":\"shared__heading-module__heading__mob__h1--HTcn+_1756474893999\",\"heading__mob__h2\":\"shared__heading-module__heading__mob__h2--eR6By_1756474893999\",\"heading__mob__h3\":\"shared__heading-module__heading__mob__h3--b9NJ6_1756474893999\",\"heading__mob__h4\":\"shared__heading-module__heading__mob__h4--CroIA_1756474893999\",\"heading__mob__h5\":\"shared__heading-module__heading__mob__h5--Vy2mS_1756474893999\",\"heading__mob__h6\":\"shared__heading-module__heading__mob__h6--6k6vL_1756474893999\",\"heading__weight_bold\":\"shared__heading-module__heading__weight_bold--6Hr8P_1756474893999\",\"heading__weight_medium\":\"shared__heading-module__heading__weight_medium--LAW22_1756474893999\",\"heading__weight_regular\":\"shared__heading-module__heading__weight_regular--vV61+_1756474893999\",\"heading__variant_default\":\"shared__heading-module__heading__variant_default--w64ZQ_1756474893999\",\"heading__variant_addition\":\"shared__heading-module__heading__variant_addition--N5KKv_1756474893999\",\"heading__variant_light\":\"shared__heading-module__heading__variant_light--WmpiP_1756474893999\",\"heading__variant_disabled\":\"shared__heading-module__heading__variant_disabled--M+jqa_1756474893999\",\"heading__variant_attention\":\"shared__heading-module__heading__variant_attention--US60O_1756474893999\",\"heading__variant_error\":\"shared__heading-module__heading__variant_error--ErlNt_1756474893999\",\"heading__variant_success\":\"shared__heading-module__heading__variant_success--LkZsY_1756474893999\",\"heading__variant_warning\":\"shared__heading-module__heading__variant_warning--XEnSb_1756474893999\",\"heading__variant_inverse\":\"shared__heading-module__heading__variant_inverse--Y0-U2_1756474893999\",\"textAddition\":\"shared__heading-module__textAddition--AJUlA_1756474893999\",\"textAttention\":\"shared__heading-module__textAttention--t8+tt_1756474893999\",\"textBold\":\"shared__heading-module__textBold--n8fQX_1756474893999\",\"textInverse\":\"shared__heading-module__textInverse--S-jep_1756474893999\",\"textError\":\"shared__heading-module__textError--Bm1mE_1756474893999\",\"textSuccess\":\"shared__heading-module__textSuccess--Q3GD+_1756474893999\",\"textWarning\":\"shared__heading-module__textWarning--f-7yo_1756474893999\",\"centerText\":\"shared__heading-module__centerText--CM0Hq_1756474893999\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"icon\":\"shared__icon-module__icon--Gnxeg_1756474893999\",\"icon__extraSmall\":\"shared__icon-module__icon__extraSmall--QDZdT_1756474893999\",\"icon__small\":\"shared__icon-module__icon__small--QBFuN_1756474893999\",\"icon__medium\":\"shared__icon-module__icon__medium--X-ly8_1756474893999\",\"icon__large\":\"shared__icon-module__icon__large--DzFuI_1756474893999\",\"icon__mob__small\":\"shared__icon-module__icon__mob__small--WvjzM_1756474893999\",\"icon__mob__medium\":\"shared__icon-module__icon__mob__medium--i8akQ_1756474893999\",\"icon__mob__large\":\"shared__icon-module__icon__mob__large--JfKZp_1756474893999\",\"icon__default\":\"shared__icon-module__icon__default--hQThA_1756474893999\",\"clickable\":\"shared__icon-module__clickable--3yjIa_1756474893999\",\"active\":\"shared__icon-module__active--HQWC5_1756474893999\",\"icon__warning\":\"shared__icon-module__icon__warning--TjqHn_1756474893999\",\"icon__error\":\"shared__icon-module__icon__error--TWoUG_1756474893999\",\"icon__neutral\":\"shared__icon-module__icon__neutral---PsGn_1756474893999\",\"icon__success\":\"shared__icon-module__icon__success--2ASUM_1756474893999\",\"icon__secondary\":\"shared__icon-module__icon__secondary--ws0VX_1756474893999\",\"icon__tertiary\":\"shared__icon-module__icon__tertiary--UWMhd_1756474893999\",\"icon__black\":\"shared__icon-module__icon__black--AVPMK_1756474893999\",\"icon__attention\":\"shared__icon-module__icon__attention--HiOeb_1756474893999\",\"icon__revert\":\"shared__icon-module__icon__revert--O4CPt_1756474893999\",\"icon__inherit\":\"shared__icon-module__icon__inherit--NeIkw_1756474893999\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"block\":\"shared__info-block-module__block--JolgJ_1756474893999\",\"block__warning\":\"shared__info-block-module__block__warning--MQ8Ix_1756474893999\",\"block__attention\":\"shared__info-block-module__block__attention--bLmxz_1756474893999\",\"block__default\":\"shared__info-block-module__block__default--+2keo_1756474893999\",\"block__error\":\"shared__info-block-module__block__error--23Zvv_1756474893999\",\"block__success\":\"shared__info-block-module__block__success--gWsYU_1756474893999\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"input\":\"shared__input-module__input--5GrwX_1756474893999\",\"input__medium\":\"shared__input-module__input__medium--g-8te_1756474893999\",\"label\":\"shared__input-module__label--tNO2a_1756474893999\",\"isWbTheme\":\"shared__input-module__isWbTheme--9TPrj_1756474893999\",\"input__action_medium\":\"shared__input-module__input__action_medium--hkQ1t_1756474893999\",\"input__actions_medium\":\"shared__input-module__input__actions_medium---YV3O_1756474893999\",\"input__action_large\":\"shared__input-module__input__action_large--64pM0_1756474893999\",\"input__actions_large\":\"shared__input-module__input__actions_large--kznb7_1756474893999\",\"input__actions_left\":\"shared__input-module__input__actions_left--mVKC8_1756474893999\",\"input__small\":\"shared__input-module__input__small--PcnoR_1756474893999\",\"input__large\":\"shared__input-module__input__large--p-mBr_1756474893999\",\"input__pure\":\"shared__input-module__input__pure--NNC8N_1756474893999\",\"disabled\":\"shared__input-module__disabled--ABDAb_1756474893999\",\"invalid\":\"shared__input-module__invalid--e--FF_1756474893999\",\"input__outlined\":\"shared__input-module__input__outlined--p-xCA_1756474893999\",\"input__filled\":\"shared__input-module__input__filled---tBbi_1756474893999\",\"clear\":\"shared__input-module__clear--OvXQO_1756474893999\",\"clear__large\":\"shared__input-module__clear__large--sWuYu_1756474893999\",\"clear__medium\":\"shared__input-module__clear__medium--09aiH_1756474893999\",\"clear__small\":\"shared__input-module__clear__small--0oTAe_1756474893999\",\"clear__action_medium\":\"shared__input-module__clear__action_medium--zfylI_1756474893999\",\"clear__action_left\":\"shared__input-module__clear__action_left--IEVa+_1756474893999\",\"clear__action_right\":\"shared__input-module__clear__action_right--10aXM_1756474893999\",\"clear__outlined\":\"shared__input-module__clear__outlined--iICxm_1756474893999\",\"icon\":\"shared__input-module__icon--zr4sW_1756474893999\",\"icon__large\":\"shared__input-module__icon__large--89dxq_1756474893999\",\"icon__small\":\"shared__input-module__icon__small--jC+EB_1756474893999\",\"icon__left\":\"shared__input-module__icon__left--hzu2X_1756474893999\",\"icon__right\":\"shared__input-module__icon__right--+QcVn_1756474893999\",\"icon__medium\":\"shared__input-module__icon__medium--GDtvJ_1756474893999\",\"icon__outlined\":\"shared__input-module__icon__outlined--dZgJq_1756474893999\",\"icon__filled\":\"shared__input-module__icon__filled--Q4N3g_1756474893999\",\"loader\":\"shared__input-module__loader--QYYkV_1756474893999\",\"loader__large\":\"shared__input-module__loader__large--Y9WB3_1756474893999\",\"loader__left\":\"shared__input-module__loader__left--U2pC4_1756474893999\",\"loader__right\":\"shared__input-module__loader__right--d0vTf_1756474893999\",\"loader__medium\":\"shared__input-module__loader__medium--QKgq8_1756474893999\",\"loader__small\":\"shared__input-module__loader__small--wiaoQ_1756474893999\",\"loader__outlined\":\"shared__input-module__loader__outlined--rHN8w_1756474893999\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"link\":\"shared__link-module__link--NcxZW_1756474893999\",\"link__underline\":\"shared__link-module__link__underline--7nVnP_1756474893999\",\"link__dashed\":\"shared__link-module__link__dashed--1tYsI_1756474893999\",\"link__link\":\"shared__link-module__link__link--gUwQW_1756474893999\",\"link__action\":\"shared__link-module__link__action--USwiE_1756474893999\",\"link__href\":\"shared__link-module__link__href--uTZ+A_1756474893999\",\"link__addition\":\"shared__link-module__link__addition--N+nsf_1756474893999\",\"link__attention\":\"shared__link-module__link__attention--P5GDN_1756474893999\",\"link__default\":\"shared__link-module__link__default--SOoTy_1756474893999\",\"link__success\":\"shared__link-module__link__success--oWpqh_1756474893999\",\"link__error\":\"shared__link-module__link__error--SNmQa_1756474893999\",\"link__inverse\":\"shared__link-module__link__inverse--i1RLl_1756474893999\",\"link__small\":\"shared__link-module__link__small--alNG-_1756474893999\",\"link__medium\":\"shared__link-module__link__medium--LJlDF_1756474893999\",\"link__large\":\"shared__link-module__link__large--2gcWq_1756474893999\",\"link__normal\":\"shared__link-module__link__normal--acQvJ_1756474893999\",\"link__semibold\":\"shared__link-module__link__semibold---tOWl_1756474893999\",\"link__bold\":\"shared__link-module__link__bold--QUUtI_1756474893999\",\"icon\":\"shared__link-module__icon--DUvf4_1756474893999\",\"icon__small\":\"shared__link-module__icon__small--Z11Nw_1756474893999\",\"icon__medium\":\"shared__link-module__icon__medium--rSXi1_1756474893999\",\"icon__large\":\"shared__link-module__icon__large--tIKI0_1756474893999\",\"icon__only\":\"shared__link-module__icon__only--nGgQ8_1756474893999\",\"linkBold\":\"shared__link-module__linkBold--E4KSC_1756474893999\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"loaderLine\":\"shared__loader-line-module__loaderLine--EZc2J_1756474893999\",\"bar\":\"shared__loader-line-module__bar--uH4lA_1756474893999\",\"active\":\"shared__loader-line-module__active--0J8lF_1756474893999\",\"loader-animation\":\"shared__loader-line-module__loader-animation--cSq+I_1756474893999\",\"border\":\"shared__loader-line-module__border--OXwgu_1756474893999\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"loader\":\"shared__loader-module__loader--ErOFa_1756474893999\",\"absolute\":\"shared__loader-module__absolute--nggvH_1756474893999\",\"active\":\"shared__loader-module__active--+b4cN_1756474893999\",\"fixed\":\"shared__loader-module__fixed--CUw3s_1756474893999\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"shared__message-module__container--3JHwS_1756474893999\",\"container__success\":\"shared__message-module__container__success--w4A5v_1756474893999\",\"container__error\":\"shared__message-module__container__error--md-mJ_1756474893999\",\"container__warning\":\"shared__message-module__container__warning--BJX+a_1756474893999\",\"container__info\":\"shared__message-module__container__info--6ZJPA_1756474893999\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"footer\":\"shared__modal-module__footer--wpZLV_1756474893999\",\"header\":\"shared__modal-module__header--RWaWy_1756474893999\",\"close\":\"shared__modal-module__close--wqN+L_1756474893999\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"tooltip\":\"shared__popover-tooltip-module__tooltip--Vxc91_1756474893999\",\"arrow\":\"shared__popover-tooltip-module__arrow--6PTMq_1756474893999\",\"left\":\"shared__popover-tooltip-module__left--g7SZQ_1756474893999\",\"right\":\"shared__popover-tooltip-module__right--+rCAJ_1756474893999\",\"top\":\"shared__popover-tooltip-module__top--s5iLQ_1756474893999\",\"bottom\":\"shared__popover-tooltip-module__bottom--PxuD3_1756474893999\",\"close\":\"shared__popover-tooltip-module__close--VDmb9_1756474893999\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"invalid\":\"shared__radio-module__invalid--6ByqJ_1756474893999\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"rating\":\"shared__rating-module__rating--eoGNU_1756474893999\",\"stars\":\"shared__rating-module__stars--dnMg4_1756474893999\",\"buttons\":\"shared__rating-module__buttons--oat0X_1756474893999\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"select\":\"shared__select-module__select--cm-a3_1756474893999\",\"hasLabel\":\"shared__select-module__hasLabel--ZRS9W_1756474893999\",\"disabled\":\"shared__select-module__disabled--gfQp-_1756474893999\",\"invalid\":\"shared__select-module__invalid--rXHCJ_1756474893999\",\"optionText\":\"shared__select-module__optionText--7GphM_1756474893999\",\"isWbTheme\":\"shared__select-module__isWbTheme--esUdx_1756474893999\",\"mobileModal\":\"shared__select-module__mobileModal--SSvHy_1756474893999\",\"option\":\"shared__select-module__option--Ev-7r_1756474893999\",\"option_selected\":\"shared__select-module__option_selected--djYI5_1756474893999\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"skeleton__default\":\"shared__skeleton-module__skeleton__default--akLOr_1756474893999\",\"skeleton__inverse\":\"shared__skeleton-module__skeleton__inverse--MQ3m6_1756474893999\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"shared__slider-easy-module__container--hPL+C_1756474893999\",\"scroll\":\"shared__slider-easy-module__scroll--UyUTh_1756474893999\",\"items\":\"shared__slider-easy-module__items--M1Jtj_1756474893999\",\"item\":\"shared__slider-easy-module__item--UyT7Z_1756474893999\",\"image\":\"shared__slider-easy-module__image--6geu7_1756474893999\",\"arrow\":\"shared__slider-easy-module__arrow--4jJUM_1756474893999\",\"arrowPrev\":\"shared__slider-easy-module__arrowPrev--kmNpn_1756474893999\",\"arrowNext\":\"shared__slider-easy-module__arrowNext--eaFMG_1756474893999\",\"pagination\":\"shared__slider-easy-module__pagination--cL0m+_1756474893999\",\"current\":\"shared__slider-easy-module__current--uB4eg_1756474893999\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"sliderContainer\":\"shared__slider-module__sliderContainer--KGFdN_1756474893999\",\"swiperSlide\":\"shared__slider-module__swiperSlide--es2Vl_1756474893999\",\"swiperSlideAuto\":\"shared__slider-module__swiperSlideAuto--Cwk8-_1756474893999\",\"sliderAutoLoop\":\"shared__slider-module__sliderAutoLoop--0OphC_1756474893999\",\"ready\":\"shared__slider-module__ready--H+y-p_1756474893999\",\"slider\":\"shared__slider-module__slider--UBNwU_1756474893999\",\"swiper-pagination-bullets\":\"shared__slider-module__swiper-pagination-bullets--PckKH_1756474893999\",\"swiperPaginationHidden\":\"shared__slider-module__swiperPaginationHidden--k4CIT_1756474893999\",\"buttonSlider\":\"shared__slider-module__buttonSlider---MRF3_1756474893999\",\"buttonSlider__prev\":\"shared__slider-module__buttonSlider__prev--X4kyB_1756474893999\",\"buttonSlider__prev_inset\":\"shared__slider-module__buttonSlider__prev_inset--3192S_1756474893999\",\"buttonSlider__next\":\"shared__slider-module__buttonSlider__next--JognR_1756474893999\",\"buttonSlider__next_inset\":\"shared__slider-module__buttonSlider__next_inset--HcKU3_1756474893999\",\"buttonSlider__hidden\":\"shared__slider-module__buttonSlider__hidden--BgKX-_1756474893999\",\"sliderCounter\":\"shared__slider-module__sliderCounter--ynG2f_1756474893999\",\"sliderCounter__text\":\"shared__slider-module__sliderCounter__text--kgEVd_1756474893999\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"spoiler\":\"shared__spoiler-module__spoiler--siWfv_1756474893999\",\"title\":\"shared__spoiler-module__title--N0ID7_1756474893999\",\"arrow\":\"shared__spoiler-module__arrow--VISBf_1756474893999\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"stacked_input\":\"shared__stacked-input-module__stacked_input--gd2Dh_1756474893999\",\"stacked_input__select\":\"shared__stacked-input-module__stacked_input__select--ewS4D_1756474893999\",\"stacked_input__input\":\"shared__stacked-input-module__stacked_input__input--t1qul_1756474893999\",\"focused\":\"shared__stacked-input-module__focused--2f0N-_1756474893999\",\"isWbTheme\":\"shared__stacked-input-module__isWbTheme--R7Zas_1756474893999\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"steps\":\"shared__steps-module__steps--EruNr_1756474893999\",\"step\":\"shared__steps-module__step--29DM6_1756474893999\",\"count\":\"shared__steps-module__count--mKmRV_1756474893999\",\"current\":\"shared__steps-module__current--cItLJ_1756474893999\",\"disabled\":\"shared__steps-module__disabled--NuvsU_1756474893999\",\"text\":\"shared__steps-module__text--pPhgx_1756474893999\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"switch\":\"shared__switch-module__switch--EGB08_1756474893999\",\"large\":\"shared__switch-module__large--aLOMA_1756474893999\",\"active\":\"shared__switch-module__active--Mghyc_1756474893999\",\"medium\":\"shared__switch-module__medium--Zpug8_1756474893999\",\"disabled\":\"shared__switch-module__disabled--POdUk_1756474893999\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"select\":\"shared__tag-box-module__select--aZcmW_1756474893999\",\"hasLabel\":\"shared__tag-box-module__hasLabel--OkuEn_1756474893999\",\"disabled\":\"shared__tag-box-module__disabled--8Eb9x_1756474893999\",\"invalid\":\"shared__tag-box-module__invalid--D6cKK_1756474893999\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"button\":\"shared__tag-button-module__button--Qv07L_1756474893999\",\"button__default\":\"shared__tag-button-module__button__default--dpNJZ_1756474893999\",\"button__primary\":\"shared__tag-button-module__button__primary--FtQdO_1756474893999\",\"selected\":\"shared__tag-button-module__selected--hP5R8_1756474893999\",\"disabled\":\"shared__tag-button-module__disabled--njSQe_1756474893999\",\"button__tertiary\":\"shared__tag-button-module__button__tertiary--vmTKI_1756474893999\",\"button__green\":\"shared__tag-button-module__button__green--7uieL_1756474893999\",\"button__secondary\":\"shared__tag-button-module__button__secondary--KiSTI_1756474893999\",\"isWbTheme\":\"shared__tag-button-module__isWbTheme--HnUDc_1756474893999\",\"button__tab\":\"shared__tag-button-module__button__tab--rVLma_1756474893999\",\"button__tumbler\":\"shared__tag-button-module__button__tumbler---2OQ2_1756474893999\",\"button__icons\":\"shared__tag-button-module__button__icons--rLBj8_1756474893999\",\"loading\":\"shared__tag-button-module__loading--emtZM_1756474893999\",\"icon\":\"shared__tag-button-module__icon--LtczE_1756474893999\",\"icon__small\":\"shared__tag-button-module__icon__small--2sXj9_1756474893999\",\"icon__medium\":\"shared__tag-button-module__icon__medium--WMllo_1756474893999\",\"icon__large\":\"shared__tag-button-module__icon__large--GhXfx_1756474893999\",\"icon__default\":\"shared__tag-button-module__icon__default--GYg6a_1756474893999\",\"shadow\":\"shared__tag-button-module__shadow---SujH_1756474893999\",\"tagButtonGroup\":\"shared__tag-button-module__tagButtonGroup--9aBd8_1756474893999\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"textarea\":\"shared__text-area-module__textarea--BYKqV_1756474893999\",\"textarea__small\":\"shared__text-area-module__textarea__small--vpKis_1756474893999\",\"textarea__medium\":\"shared__text-area-module__textarea__medium--YP0qD_1756474893999\",\"isWbTheme\":\"shared__text-area-module__isWbTheme--d24yj_1756474893999\",\"empty\":\"shared__text-area-module__empty--9is7y_1756474893999\",\"label\":\"shared__text-area-module__label--8TUUs_1756474893999\",\"textarea__large\":\"shared__text-area-module__textarea__large--qWZJ2_1756474893999\",\"textarea__large_adaptive\":\"shared__text-area-module__textarea__large_adaptive--UFOvf_1756474893999\",\"textarea__action_medium\":\"shared__text-area-module__textarea__action_medium--xPwcQ_1756474893999\",\"textarea__action_large\":\"shared__text-area-module__textarea__action_large--6pU6m_1756474893999\",\"textarea__actions_medium\":\"shared__text-area-module__textarea__actions_medium--xk3HL_1756474893999\",\"textarea__actions_large\":\"shared__text-area-module__textarea__actions_large--QPCon_1756474893999\",\"textarea__border_circle\":\"shared__text-area-module__textarea__border_circle--QwRke_1756474893999\",\"textarea__outlined\":\"shared__text-area-module__textarea__outlined--ip5t1_1756474893999\",\"invalid\":\"shared__text-area-module__invalid--HHkEP_1756474893999\",\"textarea__filled\":\"shared__text-area-module__textarea__filled--khZXb_1756474893999\",\"clear\":\"shared__text-area-module__clear--cniAi_1756474893999\",\"clear__small\":\"shared__text-area-module__clear__small--kWg6N_1756474893999\",\"clear__medium\":\"shared__text-area-module__clear__medium--pN-Zj_1756474893999\",\"clear__large\":\"shared__text-area-module__clear__large---rhZv_1756474893999\",\"clear__action_small\":\"shared__text-area-module__clear__action_small--y2Mh9_1756474893999\",\"clear__action_medium\":\"shared__text-area-module__clear__action_medium--VB44P_1756474893999\",\"clear__action_large\":\"shared__text-area-module__clear__action_large--gD65G_1756474893999\",\"icon\":\"shared__text-area-module__icon--HqPRa_1756474893999\",\"icon__small\":\"shared__text-area-module__icon__small--yOGgx_1756474893999\",\"icon__medium\":\"shared__text-area-module__icon__medium--Lap9Z_1756474893999\",\"icon__large\":\"shared__text-area-module__icon__large--Bpk53_1756474893999\",\"loader\":\"shared__text-area-module__loader--zfGHC_1756474893999\",\"loader__large\":\"shared__text-area-module__loader__large--h-OCh_1756474893999\",\"loader__filled\":\"shared__text-area-module__loader__filled--zQ1yA_1756474893999\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"textSpoiler\":\"shared__text-spoiler-module__textSpoiler--xJkwo_1756474893999\",\"openText\":\"shared__text-spoiler-module__openText--osI1V_1756474893999\",\"expander\":\"shared__text-spoiler-module__expander--Y2VRc_1756474893999\",\"active\":\"shared__text-spoiler-module__active--+DkdZ_1756474893999\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"text\":\"shared__text-module__text--L3+RG_1756474893999\",\"text__extraSmall\":\"shared__text-module__text__extraSmall--AoUTr_1756474893999\",\"isWbTheme\":\"shared__text-module__isWbTheme--eIbjb_1756474893999\",\"text__small\":\"shared__text-module__text__small--Rl3X5_1756474893999\",\"text__medium\":\"shared__text-module__text__medium--Znrxu_1756474893999\",\"text__large\":\"shared__text-module__text__large--oRnU3_1756474893999\",\"text__action\":\"shared__text-module__text__action--U+zk1_1756474893999\",\"text__paragraph\":\"shared__text-module__text__paragraph--DHPmO_1756474893999\",\"text__body\":\"shared__text-module__text__body--9uLk4_1756474893999\",\"text__description\":\"shared__text-module__text__description--jKU8G_1756474893999\",\"text__caption\":\"shared__text-module__text__caption--pvi2r_1756474893999\",\"text__mob__action\":\"shared__text-module__text__mob__action--4p1b6_1756474893999\",\"text__mob__paragraph\":\"shared__text-module__text__mob__paragraph--q2nC1_1756474893999\",\"text__mob__body\":\"shared__text-module__text__mob__body--ZP16L_1756474893999\",\"text__mob__description\":\"shared__text-module__text__mob__description--ytBnj_1756474893999\",\"text__mob__caption\":\"shared__text-module__text__mob__caption--rdEE8_1756474893999\",\"text__mob__extraSmall\":\"shared__text-module__text__mob__extraSmall--DyVus_1756474893999\",\"text__mob__small\":\"shared__text-module__text__mob__small--Mnbaz_1756474893999\",\"text__mob__medium\":\"shared__text-module__text__mob__medium--5X9R9_1756474893999\",\"text__mob__large\":\"shared__text-module__text__mob__large--x5bkf_1756474893999\",\"text__inherit\":\"shared__text-module__text__inherit--OKjEI_1756474893999\",\"text__normal\":\"shared__text-module__text__normal--EM-eZ_1756474893999\",\"text__semibold\":\"shared__text-module__text__semibold--8iUFE_1756474893999\",\"text__bold\":\"shared__text-module__text__bold--7+C1G_1756474893999\",\"text__variant_default\":\"shared__text-module__text__variant_default---h-3R_1756474893999\",\"text__variant_addition\":\"shared__text-module__text__variant_addition--bTi5B_1756474893999\",\"text__variant_light\":\"shared__text-module__text__variant_light--I0AJ-_1756474893999\",\"text__variant_disabled\":\"shared__text-module__text__variant_disabled--eUSX+_1756474893999\",\"text__variant_attention\":\"shared__text-module__text__variant_attention--rsi1z_1756474893999\",\"text__variant_error\":\"shared__text-module__text__variant_error--nyPhM_1756474893999\",\"text__variant_success\":\"shared__text-module__text__variant_success--gfYHs_1756474893999\",\"text__variant_warning\":\"shared__text-module__text__variant_warning--YIvQX_1756474893999\",\"text__variant_inverse\":\"shared__text-module__text__variant_inverse--78a1H_1756474893999\",\"text__variant_secondary\":\"shared__text-module__text__variant_secondary--yIoR6_1756474893999\",\"text__variant_brand\":\"shared__text-module__text__variant_brand--W2Bxk_1756474893999\",\"text__variant_primary\":\"shared__text-module__text__variant_primary--YeNOl_1756474893999\",\"text__variant_tertiary\":\"shared__text-module__text__variant_tertiary--b8Ale_1756474893999\",\"textAddition\":\"shared__text-module__textAddition--lz-qm_1756474893999\",\"textBold\":\"shared__text-module__textBold--56jgD_1756474893999\",\"textSuccess\":\"shared__text-module__textSuccess--H2yEM_1756474893999\",\"textError\":\"shared__text-module__textError--MvnkN_1756474893999\",\"textAttention\":\"shared__text-module__textAttention--VjWLj_1756474893999\",\"textThrough\":\"shared__text-module__textThrough--is3ha_1756474893999\",\"textInverse\":\"shared__text-module__textInverse--s78Gi_1756474893999\",\"textWarning\":\"shared__text-module__textWarning--S-MeA_1756474893999\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"tooltip\":\"shared__tooltip-module__tooltip--tS2G-_1756474893999\",\"isWbTheme\":\"shared__tooltip-module__isWbTheme--av0Qe_1756474893999\",\"arrow\":\"shared__tooltip-module__arrow--VbQb7_1756474893999\",\"left\":\"shared__tooltip-module__left--2nmo1_1756474893999\",\"right\":\"shared__tooltip-module__right--JgZSX_1756474893999\",\"top\":\"shared__tooltip-module__top--VsESz_1756474893999\",\"bottom\":\"shared__tooltip-module__bottom--2zx9D_1756474893999\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"viewsCountContainer\":\"shared__views-count-module__viewsCountContainer--X2mHB_1756474893999\",\"viewsCountText\":\"shared__views-count-module__viewsCountText--1o5-K_1756474893999\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"warning\":\"shared__warning-block-module__warning--HU7lj_1756474893999\"};","// 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 tertiary = 'tertiary',\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 mobSize?: 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 mobSize,\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__mob__${mobSize}`], 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 const parts = value.replaceAll('_', 'Ё').split('.').reverse();\n\n const [year] = parts;\n\n // fix для особенности преобразований этих годов в формат даты в js\n if (year >= '0000' && year <= '0099') {\n return new Date('Invalid Date');\n }\n\n return new Date(parts.join('/'));\n};\n\nexport const dateFormat = (\n value: any,\n format: string,\n { plural, utc }: IDateFormatOptions = { utc: true, plural: true }\n) => {\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, isFormatMillion: boolean = false) => {\n const priceInKopecks = Math.ceil((+value || 0) / 100);\n\n const price = Intl.NumberFormat('ru-RU', {\n currency: 'RUB',\n style: 'currency',\n minimumFractionDigits: 0,\n }).formatToParts(priceInKopecks);\n\n const currencySign = price.find((cur) => cur.type === 'currency').value;\n\n if (isFormatMillion && priceInKopecks >= 1000000) {\n const millions = priceInKopecks / 1000000;\n const formattedMillions = (Math.floor(millions * 100) / 100).toFixed(2).replace('.', ',');\n\n return `${formattedMillions} млн ${currencySign}`;\n }\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 fillRule: \"evenodd\",\n clipRule: \"evenodd\",\n d: \"M1 12C1 5.925 5.925 1 12 1s11 4.925 11 11-4.925 11-11 11S1 18.075 1 12zm9.5 3.5A1.5 1.5 0 0112 14h.01a1.5 1.5 0 010 3H12a1.5 1.5 0 01-1.5-1.5zm1.5-9a1 1 0 00-1 1v4a1 1 0 102 0v-4a1 1 0 00-1-1z\",\n fill: \"#FF8533\"\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 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 fillRule: \"evenodd\",\n clipRule: \"evenodd\",\n d: \"M12 1c6.075 0 11 4.925 11 11s-4.925 11-11 11S1 18.075 1 12 5.925 1 12 1zm4.707 6.293a1 1 0 00-1.414 0L12 10.586 8.707 7.293a1 1 0 10-1.414 1.414L10.586 12l-3.293 3.293a1 1 0 101.414 1.414L12 13.414l3.293 3.293.076.068a1 1 0 001.406-1.406l-.068-.076L13.414 12l3.293-3.293a1 1 0 000-1.414z\",\n fill: \"#FA2B55\"\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 SvgDefault(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: \"M12 23c6.075 0 11-4.925 11-11S18.075 1 12 1 1 5.925 1 12s4.925 11 11 11zm0-16.5a1.5 1.5 0 000 3h.01a1.5 1.5 0 000-3H12zM11 12a1 1 0 112 0v4a1 1 0 11-2 0v-4z\",\n fill: \"#18181B\"\n })));\n}\nexport default SvgDefault;","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 SvgAttention(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: \"M12 23c6.075 0 11-4.925 11-11S18.075 1 12 1 1 5.925 1 12s4.925 11 11 11zm0-16.5a1.5 1.5 0 000 3h.01a1.5 1.5 0 000-3H12zM11 12a1 1 0 112 0v4a1 1 0 11-2 0v-4z\",\n fill: \"#A73AFD\"\n })));\n}\nexport default SvgAttention;","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 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), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M12 1c6.075 0 11 4.925 11 11s-4.925 11-11 11S1 18.075 1 12 5.925 1 12 1zm4.84 7.532a1 1 0 00-1.408.128L11.2 13.738 9.468 11.66a1 1 0 10-1.536 1.28l1.732 2.079a2 2 0 003.072 0l4.232-5.079a1 1 0 00-.128-1.408z\",\n fill: \"#1DAF66\"\n })));\n}\nexport default SvgSuccess;","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","import React, { PropsWithChildren } from 'react';\nimport styles from './info-block.module.scss';\nimport WarningIcon from './icons/warning.svg';\nimport ErrorIcon from './icons/error.svg';\nimport DefaultIcon from './icons/default.svg';\nimport AttentionIcon from './icons/attention.svg';\nimport SuccessIcon from './icons/success.svg';\n\nimport classnames from 'classnames';\n\nimport { Icon } from '@shared/icon';\nimport { Text } from '@shared/text';\n\nconst ICONS = {\n default: DefaultIcon,\n attention: AttentionIcon,\n warning: WarningIcon,\n error: ErrorIcon,\n success: SuccessIcon\n};\n\nenum EInfoBlockVariant {\n default = 'default',\n attention = 'attention',\n warning = 'warning',\n error = 'error',\n success = 'success'\n}\n\ninterface IInfoBlockProps {\n title?: string;\n description?: string;\n className?: string;\n variant?: keyof typeof EInfoBlockVariant;\n onClick?: () => void;\n}\n\nexport const InfoBlock = ({ title, description, onClick, className, variant = EInfoBlockVariant.default, children }: PropsWithChildren<IInfoBlockProps>) => {\n return (\n <div onClick={onClick} className={classnames(styles.block, className, styles[`block__${variant}`])}>\n <Icon variant=\"initial\" icon={ICONS[variant]} />\n <div>\n {title && (\n <Text size=\"large\" isWbTheme mobSize=\"medium\" weight=\"semibold\">\n {title}\n </Text>\n )}\n {description && <Text isWbTheme size=\"large\" mobSize=\"medium\">\n {description}\n </Text>}\n {children}\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","mobSize","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","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","parts","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","isFormatMillion","priceInKopecks","Math","ceil","price","Intl","NumberFormat","currency","minimumFractionDigits","formatToParts","currencySign","cur","millions","formattedMillions","floor","toFixed","reduce","part","PREPOSITIONS","replacement","str","textSanitize","regex","RegExp","x","decorate","UNITS","timeLeftMinutes","time","timeLeft","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,8BAA8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AA/1B,UAAQ,WACnB,OAAIF,EAAM81B,OAAOt1B,OAAS,EACjB,CAAC,KAAM,KAAM,KAAM,KAAM,MAG3BR,EAAM81B,MACf,GAAG,CAAC91B,EAAM81B,OAAOt1B,SAEX01B,GAAyB,IAAA1yB,aAC7B,KAAS,WACPqyB,EAAmBvd,KAAK0B,MAAMhN,EAAI7I,QAAQknB,cAAc0K,WAAa/oB,EAAI7I,QAAQknB,cAAca,YAAc,GAC/G,GAAG,KACH,IAGF,OACE,yBAAKpsB,UAAW,gBACd,yBAAKA,UAAW,YAAeq2B,SAAUD,GACvC,yBAAKlpB,IAAKA,EAAKlN,UAAW,YACX,QAAZ,EAAAE,EAAM81B,cAAM,a,EAAE3yB,KAAI,SAACizB,GAAU,OAC5B,yBAAKt2B,UAAW,WACd,yBAAKyL,QAAQ,OAAOzL,UAAW,WAAc8iB,IAAKyT,UAAUD,KAFlC,IAKlB,QAAX,EAAAp2B,EAAM2jB,aAAK,a,EAAExgB,KAAI,W,IAAC,sDAAY,OAC7B,6BAAMnD,EAAMs2B,aAAY,MAAlBt2B,EAAsBuT,GADC,MAKlCpP,EAAU,GACT,yBAAKrE,UAAW,IAAW,WAAc,eAAkBE,EAAMu2B,oBAAqBx2B,QAASkiB,GAC7F,kBAAC,GAAa,OAGjB9d,EAAUnE,EAAM81B,OAAOt1B,OAAS,GAC/B,yBAAKV,UAAW,IAAW,WAAc,eAAkBE,EAAMw2B,oBAAqBz2B,QAASiiB,GAC7F,kBAAC,GAAa,OAGlB,yBAAKliB,UAAW,iBACbm2B,EAAK9yB,KAAI,SAACiN,EAAGvG,G,MAAU,OACtB,yBAAK/J,UAAW,KAAU,KAAG,EAAC,cAAiB+J,IAAU+rB,EAAe,IAAKv3B,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/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/info-block/icons/error.svg","webpack://dt-shared-front/./src/components/info-block/icons/default.svg","webpack://dt-shared-front/./src/components/info-block/icons/attention.svg","webpack://dt-shared-front/./src/components/info-block/icons/success.svg","webpack://dt-shared-front/./src/components/toast/toast.ts","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\",\"rc-virtual-list-scrollbar\":\"rc-virtual-list-scrollbar\",\"rc-virtual-list-scrollbar-thumb\":\"rc-virtual-list-scrollbar-thumb\",\"rc-virtual-list-holder\":\"rc-virtual-list-holder\",\"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+_1757082884369\",\"hasLabel\":\"shared__auto-complete-module__hasLabel--t+Z8x_1757082884369\",\"disabled\":\"shared__auto-complete-module__disabled--3VMd2_1757082884369\",\"invalid\":\"shared__auto-complete-module__invalid--yHbC5_1757082884369\",\"optionText\":\"shared__auto-complete-module__optionText--saGcQ_1757082884369\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"breadcrumbs\":\"shared__breadcrumbs-module__breadcrumbs--LxNAe_1757082884369\",\"text\":\"shared__breadcrumbs-module__text--x8KXW_1757082884369\",\"breadcrumbsLink\":\"shared__breadcrumbs-module__breadcrumbsLink--eg3Ec_1757082884369\",\"back\":\"shared__breadcrumbs-module__back--vlgPL_1757082884369\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"button\":\"shared__button-module__button--X-qXA_1757082884369\",\"button__smallS\":\"shared__button-module__button__smallS--eulj7_1757082884369\",\"withIcon\":\"shared__button-module__withIcon--J7ifR_1757082884369\",\"button__small\":\"shared__button-module__button__small--kA9VI_1757082884369\",\"isWbTheme\":\"shared__button-module__isWbTheme--cDz40_1757082884369\",\"button__medium\":\"shared__button-module__button__medium--E71L1_1757082884369\",\"button__large\":\"shared__button-module__button__large--PG1dR_1757082884369\",\"button__default\":\"shared__button-module__button__default--mYOHn_1757082884369\",\"button__secondary\":\"shared__button-module__button__secondary--bPOB9_1757082884369\",\"button__tertiary\":\"shared__button-module__button__tertiary--6HFY9_1757082884369\",\"button__outline\":\"shared__button-module__button__outline--EXQ9z_1757082884369\",\"button__icon_left\":\"shared__button-module__button__icon_left--EzgVg_1757082884369\",\"button__icon_right\":\"shared__button-module__button__icon_right--uPFlS_1757082884369\",\"loading\":\"shared__button-module__loading--IZ3gt_1757082884369\",\"icon\":\"shared__button-module__icon--Gso9o_1757082884369\",\"icon__smallS\":\"shared__button-module__icon__smallS--BQwBb_1757082884369\",\"icon__small\":\"shared__button-module__icon__small--SgRrC_1757082884369\",\"icon__medium\":\"shared__button-module__icon__medium--3L-IQ_1757082884369\",\"icon__large\":\"shared__button-module__icon__large--WSggm_1757082884369\",\"icon__default\":\"shared__button-module__icon__default--MzXx8_1757082884369\",\"icon__secondary\":\"shared__button-module__icon__secondary--n0RQn_1757082884369\",\"icon__only\":\"shared__button-module__icon__only--fpWXx_1757082884369\",\"loader\":\"shared__button-module__loader--v14UE_1757082884369\",\"loader__medium\":\"shared__button-module__loader__medium--7pr9v_1757082884369\",\"loader__large\":\"shared__button-module__loader__large--S4tzp_1757082884369\",\"loader__default\":\"shared__button-module__loader__default--5X5UT_1757082884369\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"calendar\":\"shared__calendar-module__calendar--u1HKw_1757082884369\",\"heading\":\"shared__calendar-module__heading--3QhLt_1757082884369\",\"days\":\"shared__calendar-module__days--MGiti_1757082884369\",\"days_rails\":\"shared__calendar-module__days_rails--X2ReV_1757082884369\",\"ranged\":\"shared__calendar-module__ranged--RNFpf_1757082884369\",\"rangedHotel\":\"shared__calendar-module__rangedHotel--mQrdh_1757082884369\",\"preSelect\":\"shared__calendar-module__preSelect--g0wCP_1757082884369\",\"start\":\"shared__calendar-module__start--3C4zV_1757082884369\",\"startHotel\":\"shared__calendar-module__startHotel--BaN7M_1757082884369\",\"selectedHotel\":\"shared__calendar-module__selectedHotel--xrUaI_1757082884369\",\"endHotel\":\"shared__calendar-module__endHotel--7AVuQ_1757082884369\",\"end\":\"shared__calendar-module__end--n1j8b_1757082884369\",\"disabled\":\"shared__calendar-module__disabled--Q-TaX_1757082884369\",\"selected\":\"shared__calendar-module__selected--tyWWw_1757082884369\",\"rail\":\"shared__calendar-module__rail--yrgg6_1757082884369\",\"badge\":\"shared__calendar-module__badge--fProa_1757082884369\",\"num\":\"shared__calendar-module__num--XY7Cp_1757082884369\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"checkbox\":\"shared__checkbox-module__checkbox--jOEle_1757082884369\",\"error\":\"shared__checkbox-module__error--xRaxv_1757082884369\",\"isWbTheme\":\"shared__checkbox-module__isWbTheme--mRLXg_1757082884369\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"counter\":\"shared__counter-module__counter--po6fU_1757082884369\",\"button\":\"shared__counter-module__button--sOvjE_1757082884369\",\"value\":\"shared__counter-module__value--JD2xM_1757082884369\",\"isWbTheme\":\"shared__counter-module__isWbTheme--8v44d_1757082884369\",\"disabled\":\"shared__counter-module__disabled--g0D9K_1757082884369\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"bordered\":\"shared__divider-module__bordered--8qnHN_1757082884369\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"dropdown\":\"shared__dropdown-module__dropdown--fuFze_1757082884369\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"label\":\"shared__form-control-module__label--0QO0D_1757082884369\",\"error\":\"shared__form-control-module__error--FVB3Z_1757082884369\",\"invalid\":\"shared__form-control-module__invalid--LEqRn_1757082884369\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"gallery\":\"shared__gallery-module__gallery--gb0c0_1757082884369\",\"counter\":\"shared__gallery-module__counter--RXshZ_1757082884369\",\"buttonPrev\":\"shared__gallery-module__buttonPrev--X93Ad_1757082884369\",\"buttonNext\":\"shared__gallery-module__buttonNext--e-b6M_1757082884369\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"heading\":\"shared__heading-module__heading--8sR8x_1757082884369\",\"heading__h1\":\"shared__heading-module__heading__h1--R6zxl_1757082884369\",\"isWbTheme\":\"shared__heading-module__isWbTheme--No1pQ_1757082884369\",\"heading__h2\":\"shared__heading-module__heading__h2--R3bM8_1757082884369\",\"heading__h3\":\"shared__heading-module__heading__h3--XTX7i_1757082884369\",\"heading__h4\":\"shared__heading-module__heading__h4--iTCuq_1757082884369\",\"heading__h5\":\"shared__heading-module__heading__h5--WR5IM_1757082884369\",\"heading__h6\":\"shared__heading-module__heading__h6--ZnM+T_1757082884369\",\"heading__mob__h1\":\"shared__heading-module__heading__mob__h1--HTcn+_1757082884369\",\"heading__mob__h2\":\"shared__heading-module__heading__mob__h2--eR6By_1757082884369\",\"heading__mob__h3\":\"shared__heading-module__heading__mob__h3--b9NJ6_1757082884369\",\"heading__mob__h4\":\"shared__heading-module__heading__mob__h4--CroIA_1757082884369\",\"heading__mob__h5\":\"shared__heading-module__heading__mob__h5--Vy2mS_1757082884369\",\"heading__mob__h6\":\"shared__heading-module__heading__mob__h6--6k6vL_1757082884369\",\"heading__weight_bold\":\"shared__heading-module__heading__weight_bold--6Hr8P_1757082884369\",\"heading__weight_medium\":\"shared__heading-module__heading__weight_medium--LAW22_1757082884369\",\"heading__weight_regular\":\"shared__heading-module__heading__weight_regular--vV61+_1757082884369\",\"heading__variant_default\":\"shared__heading-module__heading__variant_default--w64ZQ_1757082884369\",\"heading__variant_addition\":\"shared__heading-module__heading__variant_addition--N5KKv_1757082884369\",\"heading__variant_light\":\"shared__heading-module__heading__variant_light--WmpiP_1757082884369\",\"heading__variant_disabled\":\"shared__heading-module__heading__variant_disabled--M+jqa_1757082884369\",\"heading__variant_attention\":\"shared__heading-module__heading__variant_attention--US60O_1757082884369\",\"heading__variant_error\":\"shared__heading-module__heading__variant_error--ErlNt_1757082884369\",\"heading__variant_success\":\"shared__heading-module__heading__variant_success--LkZsY_1757082884369\",\"heading__variant_warning\":\"shared__heading-module__heading__variant_warning--XEnSb_1757082884369\",\"heading__variant_inverse\":\"shared__heading-module__heading__variant_inverse--Y0-U2_1757082884369\",\"textAddition\":\"shared__heading-module__textAddition--AJUlA_1757082884369\",\"textAttention\":\"shared__heading-module__textAttention--t8+tt_1757082884369\",\"textBold\":\"shared__heading-module__textBold--n8fQX_1757082884369\",\"textInverse\":\"shared__heading-module__textInverse--S-jep_1757082884369\",\"textError\":\"shared__heading-module__textError--Bm1mE_1757082884369\",\"textSuccess\":\"shared__heading-module__textSuccess--Q3GD+_1757082884369\",\"textWarning\":\"shared__heading-module__textWarning--f-7yo_1757082884369\",\"centerText\":\"shared__heading-module__centerText--CM0Hq_1757082884369\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"icon\":\"shared__icon-module__icon--Gnxeg_1757082884369\",\"icon__extraSmall\":\"shared__icon-module__icon__extraSmall--QDZdT_1757082884369\",\"icon__small\":\"shared__icon-module__icon__small--QBFuN_1757082884369\",\"icon__medium\":\"shared__icon-module__icon__medium--X-ly8_1757082884369\",\"icon__large\":\"shared__icon-module__icon__large--DzFuI_1757082884369\",\"icon__mob__small\":\"shared__icon-module__icon__mob__small--WvjzM_1757082884369\",\"icon__mob__medium\":\"shared__icon-module__icon__mob__medium--i8akQ_1757082884369\",\"icon__mob__large\":\"shared__icon-module__icon__mob__large--JfKZp_1757082884369\",\"icon__default\":\"shared__icon-module__icon__default--hQThA_1757082884369\",\"clickable\":\"shared__icon-module__clickable--3yjIa_1757082884369\",\"active\":\"shared__icon-module__active--HQWC5_1757082884369\",\"icon__warning\":\"shared__icon-module__icon__warning--TjqHn_1757082884369\",\"icon__error\":\"shared__icon-module__icon__error--TWoUG_1757082884369\",\"icon__neutral\":\"shared__icon-module__icon__neutral---PsGn_1757082884369\",\"icon__success\":\"shared__icon-module__icon__success--2ASUM_1757082884369\",\"icon__secondary\":\"shared__icon-module__icon__secondary--ws0VX_1757082884369\",\"icon__tertiary\":\"shared__icon-module__icon__tertiary--UWMhd_1757082884369\",\"icon__black\":\"shared__icon-module__icon__black--AVPMK_1757082884369\",\"icon__attention\":\"shared__icon-module__icon__attention--HiOeb_1757082884369\",\"icon__revert\":\"shared__icon-module__icon__revert--O4CPt_1757082884369\",\"icon__inherit\":\"shared__icon-module__icon__inherit--NeIkw_1757082884369\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"block\":\"shared__info-block-module__block--JolgJ_1757082884369\",\"block__warning\":\"shared__info-block-module__block__warning--MQ8Ix_1757082884369\",\"block__attention\":\"shared__info-block-module__block__attention--bLmxz_1757082884369\",\"block__default\":\"shared__info-block-module__block__default--+2keo_1757082884369\",\"block__error\":\"shared__info-block-module__block__error--23Zvv_1757082884369\",\"block__success\":\"shared__info-block-module__block__success--gWsYU_1757082884369\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"input\":\"shared__input-module__input--5GrwX_1757082884369\",\"input__medium\":\"shared__input-module__input__medium--g-8te_1757082884369\",\"label\":\"shared__input-module__label--tNO2a_1757082884369\",\"isWbTheme\":\"shared__input-module__isWbTheme--9TPrj_1757082884369\",\"input__action_medium\":\"shared__input-module__input__action_medium--hkQ1t_1757082884369\",\"input__actions_medium\":\"shared__input-module__input__actions_medium---YV3O_1757082884369\",\"input__action_large\":\"shared__input-module__input__action_large--64pM0_1757082884369\",\"input__actions_large\":\"shared__input-module__input__actions_large--kznb7_1757082884369\",\"input__actions_left\":\"shared__input-module__input__actions_left--mVKC8_1757082884369\",\"input__small\":\"shared__input-module__input__small--PcnoR_1757082884369\",\"input__large\":\"shared__input-module__input__large--p-mBr_1757082884369\",\"input__pure\":\"shared__input-module__input__pure--NNC8N_1757082884369\",\"disabled\":\"shared__input-module__disabled--ABDAb_1757082884369\",\"invalid\":\"shared__input-module__invalid--e--FF_1757082884369\",\"input__outlined\":\"shared__input-module__input__outlined--p-xCA_1757082884369\",\"input__filled\":\"shared__input-module__input__filled---tBbi_1757082884369\",\"clear\":\"shared__input-module__clear--OvXQO_1757082884369\",\"clear__large\":\"shared__input-module__clear__large--sWuYu_1757082884369\",\"clear__medium\":\"shared__input-module__clear__medium--09aiH_1757082884369\",\"clear__small\":\"shared__input-module__clear__small--0oTAe_1757082884369\",\"clear__action_medium\":\"shared__input-module__clear__action_medium--zfylI_1757082884369\",\"clear__action_left\":\"shared__input-module__clear__action_left--IEVa+_1757082884369\",\"clear__action_right\":\"shared__input-module__clear__action_right--10aXM_1757082884369\",\"clear__outlined\":\"shared__input-module__clear__outlined--iICxm_1757082884369\",\"icon\":\"shared__input-module__icon--zr4sW_1757082884369\",\"icon__large\":\"shared__input-module__icon__large--89dxq_1757082884369\",\"icon__small\":\"shared__input-module__icon__small--jC+EB_1757082884369\",\"icon__left\":\"shared__input-module__icon__left--hzu2X_1757082884369\",\"icon__right\":\"shared__input-module__icon__right--+QcVn_1757082884369\",\"icon__medium\":\"shared__input-module__icon__medium--GDtvJ_1757082884369\",\"icon__outlined\":\"shared__input-module__icon__outlined--dZgJq_1757082884369\",\"icon__filled\":\"shared__input-module__icon__filled--Q4N3g_1757082884369\",\"loader\":\"shared__input-module__loader--QYYkV_1757082884369\",\"loader__large\":\"shared__input-module__loader__large--Y9WB3_1757082884369\",\"loader__left\":\"shared__input-module__loader__left--U2pC4_1757082884369\",\"loader__right\":\"shared__input-module__loader__right--d0vTf_1757082884369\",\"loader__medium\":\"shared__input-module__loader__medium--QKgq8_1757082884369\",\"loader__small\":\"shared__input-module__loader__small--wiaoQ_1757082884369\",\"loader__outlined\":\"shared__input-module__loader__outlined--rHN8w_1757082884369\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"link\":\"shared__link-module__link--NcxZW_1757082884369\",\"link__underline\":\"shared__link-module__link__underline--7nVnP_1757082884369\",\"link__dashed\":\"shared__link-module__link__dashed--1tYsI_1757082884369\",\"link__link\":\"shared__link-module__link__link--gUwQW_1757082884369\",\"link__action\":\"shared__link-module__link__action--USwiE_1757082884369\",\"link__href\":\"shared__link-module__link__href--uTZ+A_1757082884369\",\"link__addition\":\"shared__link-module__link__addition--N+nsf_1757082884369\",\"link__attention\":\"shared__link-module__link__attention--P5GDN_1757082884369\",\"link__default\":\"shared__link-module__link__default--SOoTy_1757082884369\",\"link__success\":\"shared__link-module__link__success--oWpqh_1757082884369\",\"link__error\":\"shared__link-module__link__error--SNmQa_1757082884369\",\"link__inverse\":\"shared__link-module__link__inverse--i1RLl_1757082884369\",\"link__small\":\"shared__link-module__link__small--alNG-_1757082884369\",\"link__medium\":\"shared__link-module__link__medium--LJlDF_1757082884369\",\"link__large\":\"shared__link-module__link__large--2gcWq_1757082884369\",\"link__normal\":\"shared__link-module__link__normal--acQvJ_1757082884369\",\"link__semibold\":\"shared__link-module__link__semibold---tOWl_1757082884369\",\"link__bold\":\"shared__link-module__link__bold--QUUtI_1757082884369\",\"icon\":\"shared__link-module__icon--DUvf4_1757082884369\",\"icon__small\":\"shared__link-module__icon__small--Z11Nw_1757082884369\",\"icon__medium\":\"shared__link-module__icon__medium--rSXi1_1757082884369\",\"icon__large\":\"shared__link-module__icon__large--tIKI0_1757082884369\",\"icon__only\":\"shared__link-module__icon__only--nGgQ8_1757082884369\",\"linkBold\":\"shared__link-module__linkBold--E4KSC_1757082884369\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"loaderLine\":\"shared__loader-line-module__loaderLine--EZc2J_1757082884369\",\"bar\":\"shared__loader-line-module__bar--uH4lA_1757082884369\",\"active\":\"shared__loader-line-module__active--0J8lF_1757082884369\",\"loader-animation\":\"shared__loader-line-module__loader-animation--cSq+I_1757082884369\",\"border\":\"shared__loader-line-module__border--OXwgu_1757082884369\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"loader\":\"shared__loader-module__loader--ErOFa_1757082884369\",\"absolute\":\"shared__loader-module__absolute--nggvH_1757082884369\",\"active\":\"shared__loader-module__active--+b4cN_1757082884369\",\"fixed\":\"shared__loader-module__fixed--CUw3s_1757082884369\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"shared__message-module__container--3JHwS_1757082884369\",\"container__success\":\"shared__message-module__container__success--w4A5v_1757082884369\",\"container__error\":\"shared__message-module__container__error--md-mJ_1757082884369\",\"container__warning\":\"shared__message-module__container__warning--BJX+a_1757082884369\",\"container__info\":\"shared__message-module__container__info--6ZJPA_1757082884369\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"footer\":\"shared__modal-module__footer--wpZLV_1757082884369\",\"header\":\"shared__modal-module__header--RWaWy_1757082884369\",\"close\":\"shared__modal-module__close--wqN+L_1757082884369\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"tooltip\":\"shared__popover-tooltip-module__tooltip--Vxc91_1757082884369\",\"arrow\":\"shared__popover-tooltip-module__arrow--6PTMq_1757082884369\",\"left\":\"shared__popover-tooltip-module__left--g7SZQ_1757082884369\",\"right\":\"shared__popover-tooltip-module__right--+rCAJ_1757082884369\",\"top\":\"shared__popover-tooltip-module__top--s5iLQ_1757082884369\",\"bottom\":\"shared__popover-tooltip-module__bottom--PxuD3_1757082884369\",\"close\":\"shared__popover-tooltip-module__close--VDmb9_1757082884369\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"invalid\":\"shared__radio-module__invalid--6ByqJ_1757082884369\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"rating\":\"shared__rating-module__rating--eoGNU_1757082884369\",\"stars\":\"shared__rating-module__stars--dnMg4_1757082884369\",\"buttons\":\"shared__rating-module__buttons--oat0X_1757082884369\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"select\":\"shared__select-module__select--cm-a3_1757082884369\",\"hasLabel\":\"shared__select-module__hasLabel--ZRS9W_1757082884369\",\"disabled\":\"shared__select-module__disabled--gfQp-_1757082884369\",\"invalid\":\"shared__select-module__invalid--rXHCJ_1757082884369\",\"optionText\":\"shared__select-module__optionText--7GphM_1757082884369\",\"isWbTheme\":\"shared__select-module__isWbTheme--esUdx_1757082884369\",\"mobileModal\":\"shared__select-module__mobileModal--SSvHy_1757082884369\",\"option\":\"shared__select-module__option--Ev-7r_1757082884369\",\"option_selected\":\"shared__select-module__option_selected--djYI5_1757082884369\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"skeleton__default\":\"shared__skeleton-module__skeleton__default--akLOr_1757082884369\",\"skeleton__inverse\":\"shared__skeleton-module__skeleton__inverse--MQ3m6_1757082884369\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"shared__slider-easy-module__container--hPL+C_1757082884369\",\"scroll\":\"shared__slider-easy-module__scroll--UyUTh_1757082884369\",\"items\":\"shared__slider-easy-module__items--M1Jtj_1757082884369\",\"item\":\"shared__slider-easy-module__item--UyT7Z_1757082884369\",\"image\":\"shared__slider-easy-module__image--6geu7_1757082884369\",\"arrow\":\"shared__slider-easy-module__arrow--4jJUM_1757082884369\",\"arrowPrev\":\"shared__slider-easy-module__arrowPrev--kmNpn_1757082884369\",\"arrowNext\":\"shared__slider-easy-module__arrowNext--eaFMG_1757082884369\",\"pagination\":\"shared__slider-easy-module__pagination--cL0m+_1757082884369\",\"current\":\"shared__slider-easy-module__current--uB4eg_1757082884369\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"sliderContainer\":\"shared__slider-module__sliderContainer--KGFdN_1757082884369\",\"swiperSlide\":\"shared__slider-module__swiperSlide--es2Vl_1757082884369\",\"swiperSlideAuto\":\"shared__slider-module__swiperSlideAuto--Cwk8-_1757082884369\",\"sliderAutoLoop\":\"shared__slider-module__sliderAutoLoop--0OphC_1757082884369\",\"ready\":\"shared__slider-module__ready--H+y-p_1757082884369\",\"slider\":\"shared__slider-module__slider--UBNwU_1757082884369\",\"swiper-pagination-bullets\":\"shared__slider-module__swiper-pagination-bullets--PckKH_1757082884369\",\"swiperPaginationHidden\":\"shared__slider-module__swiperPaginationHidden--k4CIT_1757082884369\",\"buttonSlider\":\"shared__slider-module__buttonSlider---MRF3_1757082884369\",\"buttonSlider__prev\":\"shared__slider-module__buttonSlider__prev--X4kyB_1757082884369\",\"buttonSlider__prev_inset\":\"shared__slider-module__buttonSlider__prev_inset--3192S_1757082884369\",\"buttonSlider__next\":\"shared__slider-module__buttonSlider__next--JognR_1757082884369\",\"buttonSlider__next_inset\":\"shared__slider-module__buttonSlider__next_inset--HcKU3_1757082884369\",\"buttonSlider__hidden\":\"shared__slider-module__buttonSlider__hidden--BgKX-_1757082884369\",\"sliderCounter\":\"shared__slider-module__sliderCounter--ynG2f_1757082884369\",\"sliderCounter__text\":\"shared__slider-module__sliderCounter__text--kgEVd_1757082884369\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"spoiler\":\"shared__spoiler-module__spoiler--siWfv_1757082884369\",\"title\":\"shared__spoiler-module__title--N0ID7_1757082884369\",\"arrow\":\"shared__spoiler-module__arrow--VISBf_1757082884369\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"stacked_input\":\"shared__stacked-input-module__stacked_input--gd2Dh_1757082884369\",\"stacked_input__select\":\"shared__stacked-input-module__stacked_input__select--ewS4D_1757082884369\",\"stacked_input__input\":\"shared__stacked-input-module__stacked_input__input--t1qul_1757082884369\",\"focused\":\"shared__stacked-input-module__focused--2f0N-_1757082884369\",\"isWbTheme\":\"shared__stacked-input-module__isWbTheme--R7Zas_1757082884369\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"steps\":\"shared__steps-module__steps--EruNr_1757082884369\",\"step\":\"shared__steps-module__step--29DM6_1757082884369\",\"count\":\"shared__steps-module__count--mKmRV_1757082884369\",\"current\":\"shared__steps-module__current--cItLJ_1757082884369\",\"disabled\":\"shared__steps-module__disabled--NuvsU_1757082884369\",\"text\":\"shared__steps-module__text--pPhgx_1757082884369\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"switch\":\"shared__switch-module__switch--EGB08_1757082884369\",\"large\":\"shared__switch-module__large--aLOMA_1757082884369\",\"active\":\"shared__switch-module__active--Mghyc_1757082884369\",\"medium\":\"shared__switch-module__medium--Zpug8_1757082884369\",\"disabled\":\"shared__switch-module__disabled--POdUk_1757082884369\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"select\":\"shared__tag-box-module__select--aZcmW_1757082884369\",\"hasLabel\":\"shared__tag-box-module__hasLabel--OkuEn_1757082884369\",\"disabled\":\"shared__tag-box-module__disabled--8Eb9x_1757082884369\",\"invalid\":\"shared__tag-box-module__invalid--D6cKK_1757082884369\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"button\":\"shared__tag-button-module__button--Qv07L_1757082884369\",\"button__default\":\"shared__tag-button-module__button__default--dpNJZ_1757082884369\",\"button__primary\":\"shared__tag-button-module__button__primary--FtQdO_1757082884369\",\"selected\":\"shared__tag-button-module__selected--hP5R8_1757082884369\",\"disabled\":\"shared__tag-button-module__disabled--njSQe_1757082884369\",\"button__tertiary\":\"shared__tag-button-module__button__tertiary--vmTKI_1757082884369\",\"button__green\":\"shared__tag-button-module__button__green--7uieL_1757082884369\",\"button__secondary\":\"shared__tag-button-module__button__secondary--KiSTI_1757082884369\",\"isWbTheme\":\"shared__tag-button-module__isWbTheme--HnUDc_1757082884369\",\"button__tab\":\"shared__tag-button-module__button__tab--rVLma_1757082884369\",\"button__tumbler\":\"shared__tag-button-module__button__tumbler---2OQ2_1757082884369\",\"button__icons\":\"shared__tag-button-module__button__icons--rLBj8_1757082884369\",\"loading\":\"shared__tag-button-module__loading--emtZM_1757082884369\",\"icon\":\"shared__tag-button-module__icon--LtczE_1757082884369\",\"icon__small\":\"shared__tag-button-module__icon__small--2sXj9_1757082884369\",\"icon__medium\":\"shared__tag-button-module__icon__medium--WMllo_1757082884369\",\"icon__large\":\"shared__tag-button-module__icon__large--GhXfx_1757082884369\",\"icon__default\":\"shared__tag-button-module__icon__default--GYg6a_1757082884369\",\"shadow\":\"shared__tag-button-module__shadow---SujH_1757082884369\",\"tagButtonGroup\":\"shared__tag-button-module__tagButtonGroup--9aBd8_1757082884369\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"textarea\":\"shared__text-area-module__textarea--BYKqV_1757082884369\",\"textarea__small\":\"shared__text-area-module__textarea__small--vpKis_1757082884369\",\"textarea__medium\":\"shared__text-area-module__textarea__medium--YP0qD_1757082884369\",\"isWbTheme\":\"shared__text-area-module__isWbTheme--d24yj_1757082884369\",\"empty\":\"shared__text-area-module__empty--9is7y_1757082884369\",\"label\":\"shared__text-area-module__label--8TUUs_1757082884369\",\"textarea__large\":\"shared__text-area-module__textarea__large--qWZJ2_1757082884369\",\"textarea__large_adaptive\":\"shared__text-area-module__textarea__large_adaptive--UFOvf_1757082884369\",\"textarea__action_medium\":\"shared__text-area-module__textarea__action_medium--xPwcQ_1757082884369\",\"textarea__action_large\":\"shared__text-area-module__textarea__action_large--6pU6m_1757082884369\",\"textarea__actions_medium\":\"shared__text-area-module__textarea__actions_medium--xk3HL_1757082884369\",\"textarea__actions_large\":\"shared__text-area-module__textarea__actions_large--QPCon_1757082884369\",\"textarea__border_circle\":\"shared__text-area-module__textarea__border_circle--QwRke_1757082884369\",\"textarea__outlined\":\"shared__text-area-module__textarea__outlined--ip5t1_1757082884369\",\"invalid\":\"shared__text-area-module__invalid--HHkEP_1757082884369\",\"textarea__filled\":\"shared__text-area-module__textarea__filled--khZXb_1757082884369\",\"clear\":\"shared__text-area-module__clear--cniAi_1757082884369\",\"clear__small\":\"shared__text-area-module__clear__small--kWg6N_1757082884369\",\"clear__medium\":\"shared__text-area-module__clear__medium--pN-Zj_1757082884369\",\"clear__large\":\"shared__text-area-module__clear__large---rhZv_1757082884369\",\"clear__action_small\":\"shared__text-area-module__clear__action_small--y2Mh9_1757082884369\",\"clear__action_medium\":\"shared__text-area-module__clear__action_medium--VB44P_1757082884369\",\"clear__action_large\":\"shared__text-area-module__clear__action_large--gD65G_1757082884369\",\"icon\":\"shared__text-area-module__icon--HqPRa_1757082884369\",\"icon__small\":\"shared__text-area-module__icon__small--yOGgx_1757082884369\",\"icon__medium\":\"shared__text-area-module__icon__medium--Lap9Z_1757082884369\",\"icon__large\":\"shared__text-area-module__icon__large--Bpk53_1757082884369\",\"loader\":\"shared__text-area-module__loader--zfGHC_1757082884369\",\"loader__large\":\"shared__text-area-module__loader__large--h-OCh_1757082884369\",\"loader__filled\":\"shared__text-area-module__loader__filled--zQ1yA_1757082884369\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"textSpoiler\":\"shared__text-spoiler-module__textSpoiler--xJkwo_1757082884369\",\"openText\":\"shared__text-spoiler-module__openText--osI1V_1757082884369\",\"expander\":\"shared__text-spoiler-module__expander--Y2VRc_1757082884369\",\"active\":\"shared__text-spoiler-module__active--+DkdZ_1757082884369\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"text\":\"shared__text-module__text--L3+RG_1757082884369\",\"text__extraSmall\":\"shared__text-module__text__extraSmall--AoUTr_1757082884369\",\"isWbTheme\":\"shared__text-module__isWbTheme--eIbjb_1757082884369\",\"text__small\":\"shared__text-module__text__small--Rl3X5_1757082884369\",\"text__medium\":\"shared__text-module__text__medium--Znrxu_1757082884369\",\"text__large\":\"shared__text-module__text__large--oRnU3_1757082884369\",\"text__action\":\"shared__text-module__text__action--U+zk1_1757082884369\",\"text__paragraph\":\"shared__text-module__text__paragraph--DHPmO_1757082884369\",\"text__body\":\"shared__text-module__text__body--9uLk4_1757082884369\",\"text__description\":\"shared__text-module__text__description--jKU8G_1757082884369\",\"text__caption\":\"shared__text-module__text__caption--pvi2r_1757082884369\",\"text__mob__action\":\"shared__text-module__text__mob__action--4p1b6_1757082884369\",\"text__mob__paragraph\":\"shared__text-module__text__mob__paragraph--q2nC1_1757082884369\",\"text__mob__body\":\"shared__text-module__text__mob__body--ZP16L_1757082884369\",\"text__mob__description\":\"shared__text-module__text__mob__description--ytBnj_1757082884369\",\"text__mob__caption\":\"shared__text-module__text__mob__caption--rdEE8_1757082884369\",\"text__mob__extraSmall\":\"shared__text-module__text__mob__extraSmall--DyVus_1757082884369\",\"text__mob__small\":\"shared__text-module__text__mob__small--Mnbaz_1757082884369\",\"text__mob__medium\":\"shared__text-module__text__mob__medium--5X9R9_1757082884369\",\"text__mob__large\":\"shared__text-module__text__mob__large--x5bkf_1757082884369\",\"text__inherit\":\"shared__text-module__text__inherit--OKjEI_1757082884369\",\"text__normal\":\"shared__text-module__text__normal--EM-eZ_1757082884369\",\"text__semibold\":\"shared__text-module__text__semibold--8iUFE_1757082884369\",\"text__bold\":\"shared__text-module__text__bold--7+C1G_1757082884369\",\"text__variant_default\":\"shared__text-module__text__variant_default---h-3R_1757082884369\",\"text__variant_addition\":\"shared__text-module__text__variant_addition--bTi5B_1757082884369\",\"text__variant_light\":\"shared__text-module__text__variant_light--I0AJ-_1757082884369\",\"text__variant_disabled\":\"shared__text-module__text__variant_disabled--eUSX+_1757082884369\",\"text__variant_attention\":\"shared__text-module__text__variant_attention--rsi1z_1757082884369\",\"text__variant_error\":\"shared__text-module__text__variant_error--nyPhM_1757082884369\",\"text__variant_success\":\"shared__text-module__text__variant_success--gfYHs_1757082884369\",\"text__variant_warning\":\"shared__text-module__text__variant_warning--YIvQX_1757082884369\",\"text__variant_inverse\":\"shared__text-module__text__variant_inverse--78a1H_1757082884369\",\"text__variant_secondary\":\"shared__text-module__text__variant_secondary--yIoR6_1757082884369\",\"text__variant_brand\":\"shared__text-module__text__variant_brand--W2Bxk_1757082884369\",\"text__variant_primary\":\"shared__text-module__text__variant_primary--YeNOl_1757082884369\",\"text__variant_tertiary\":\"shared__text-module__text__variant_tertiary--b8Ale_1757082884369\",\"textAddition\":\"shared__text-module__textAddition--lz-qm_1757082884369\",\"textBold\":\"shared__text-module__textBold--56jgD_1757082884369\",\"textSuccess\":\"shared__text-module__textSuccess--H2yEM_1757082884369\",\"textError\":\"shared__text-module__textError--MvnkN_1757082884369\",\"textAttention\":\"shared__text-module__textAttention--VjWLj_1757082884369\",\"textThrough\":\"shared__text-module__textThrough--is3ha_1757082884369\",\"textInverse\":\"shared__text-module__textInverse--s78Gi_1757082884369\",\"textWarning\":\"shared__text-module__textWarning--S-MeA_1757082884369\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"tooltip\":\"shared__tooltip-module__tooltip--tS2G-_1757082884369\",\"isWbTheme\":\"shared__tooltip-module__isWbTheme--av0Qe_1757082884369\",\"arrow\":\"shared__tooltip-module__arrow--VbQb7_1757082884369\",\"left\":\"shared__tooltip-module__left--2nmo1_1757082884369\",\"right\":\"shared__tooltip-module__right--JgZSX_1757082884369\",\"top\":\"shared__tooltip-module__top--VsESz_1757082884369\",\"bottom\":\"shared__tooltip-module__bottom--2zx9D_1757082884369\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"viewsCountContainer\":\"shared__views-count-module__viewsCountContainer--X2mHB_1757082884369\",\"viewsCountText\":\"shared__views-count-module__viewsCountText--1o5-K_1757082884369\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"warning\":\"shared__warning-block-module__warning--HU7lj_1757082884369\"};","// 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 tertiary = 'tertiary',\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 mobSize?: 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 mobSize,\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__mob__${mobSize}`], 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, isFormatMillion: boolean = false) => {\n const priceInKopecks = Math.ceil((+value || 0) / 100);\n\n const price = Intl.NumberFormat('ru-RU', {\n currency: 'RUB',\n style: 'currency',\n minimumFractionDigits: 0,\n }).formatToParts(priceInKopecks);\n\n const currencySign = price.find((cur) => cur.type === 'currency').value;\n\n if (isFormatMillion && priceInKopecks >= 1000000) {\n const millions = priceInKopecks / 1000000;\n const formattedMillions = millions.toFixed(2).replace('.', ',');\n\n return `${formattedMillions} млн ${currencySign}`;\n }\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 fillRule: \"evenodd\",\n clipRule: \"evenodd\",\n d: \"M1 12C1 5.925 5.925 1 12 1s11 4.925 11 11-4.925 11-11 11S1 18.075 1 12zm9.5 3.5A1.5 1.5 0 0112 14h.01a1.5 1.5 0 010 3H12a1.5 1.5 0 01-1.5-1.5zm1.5-9a1 1 0 00-1 1v4a1 1 0 102 0v-4a1 1 0 00-1-1z\",\n fill: \"#FF8533\"\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 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 fillRule: \"evenodd\",\n clipRule: \"evenodd\",\n d: \"M12 1c6.075 0 11 4.925 11 11s-4.925 11-11 11S1 18.075 1 12 5.925 1 12 1zm4.707 6.293a1 1 0 00-1.414 0L12 10.586 8.707 7.293a1 1 0 10-1.414 1.414L10.586 12l-3.293 3.293a1 1 0 101.414 1.414L12 13.414l3.293 3.293.076.068a1 1 0 001.406-1.406l-.068-.076L13.414 12l3.293-3.293a1 1 0 000-1.414z\",\n fill: \"#FA2B55\"\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 SvgDefault(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: \"M12 23c6.075 0 11-4.925 11-11S18.075 1 12 1 1 5.925 1 12s4.925 11 11 11zm0-16.5a1.5 1.5 0 000 3h.01a1.5 1.5 0 000-3H12zM11 12a1 1 0 112 0v4a1 1 0 11-2 0v-4z\",\n fill: \"#18181B\"\n })));\n}\nexport default SvgDefault;","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 SvgAttention(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: \"M12 23c6.075 0 11-4.925 11-11S18.075 1 12 1 1 5.925 1 12s4.925 11 11 11zm0-16.5a1.5 1.5 0 000 3h.01a1.5 1.5 0 000-3H12zM11 12a1 1 0 112 0v4a1 1 0 11-2 0v-4z\",\n fill: \"#A73AFD\"\n })));\n}\nexport default SvgAttention;","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 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), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M12 1c6.075 0 11 4.925 11 11s-4.925 11-11 11S1 18.075 1 12 5.925 1 12 1zm4.84 7.532a1 1 0 00-1.408.128L11.2 13.738 9.468 11.66a1 1 0 10-1.536 1.28l1.732 2.079a2 2 0 003.072 0l4.232-5.079a1 1 0 00-.128-1.408z\",\n fill: \"#1DAF66\"\n })));\n}\nexport default SvgSuccess;","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","import React, { PropsWithChildren } from 'react';\nimport styles from './info-block.module.scss';\nimport WarningIcon from './icons/warning.svg';\nimport ErrorIcon from './icons/error.svg';\nimport DefaultIcon from './icons/default.svg';\nimport AttentionIcon from './icons/attention.svg';\nimport SuccessIcon from './icons/success.svg';\n\nimport classnames from 'classnames';\n\nimport { Icon } from '@shared/icon';\nimport { Text } from '@shared/text';\n\nconst ICONS = {\n default: DefaultIcon,\n attention: AttentionIcon,\n warning: WarningIcon,\n error: ErrorIcon,\n success: SuccessIcon\n};\n\nenum EInfoBlockVariant {\n default = 'default',\n attention = 'attention',\n warning = 'warning',\n error = 'error',\n success = 'success'\n}\n\ninterface IInfoBlockProps {\n title?: string;\n description?: string;\n className?: string;\n variant?: keyof typeof EInfoBlockVariant;\n onClick?: () => void;\n}\n\nexport const InfoBlock = ({ title, description, onClick, className, variant = EInfoBlockVariant.default, children }: PropsWithChildren<IInfoBlockProps>) => {\n return (\n <div onClick={onClick} className={classnames(styles.block, className, styles[`block__${variant}`])}>\n <Icon variant=\"initial\" icon={ICONS[variant]} />\n <div>\n {title && (\n <Text size=\"large\" isWbTheme mobSize=\"medium\" weight=\"semibold\">\n {title}\n </Text>\n )}\n {description && <Text isWbTheme size=\"large\" mobSize=\"medium\">\n {description}\n </Text>}\n {children}\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","mobSize","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","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","isFormatMillion","priceInKopecks","Math","ceil","price","Intl","NumberFormat","currency","minimumFractionDigits","formatToParts","currencySign","cur","formattedMillions","toFixed","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":""}
|